Update component locations

This commit is contained in:
Pete Richards 2018-12-13 09:45:50 -08:00
parent 270684c5fd
commit 850fa28bf6
9 changed files with 16 additions and 16 deletions

View File

@ -1,4 +1,4 @@
import ProgressComponent from '../../ui/components/layout/ProgressBar.vue'; import ProgressComponent from '../../ui/components/ProgressBar.vue';
import Overlay from './Overlay'; import Overlay from './Overlay';
import Vue from 'vue'; import Vue from 'vue';

View File

@ -149,8 +149,8 @@
</style> </style>
<script> <script>
import contextMenuGesture from '../../../ui/components/mixins/context-menu-gesture'; import contextMenuGesture from '../../../ui/mixins/context-menu-gesture';
import objectLink from '../../../ui/components/mixins/object-link'; import objectLink from '../../../ui/mixins/object-link';
export default { export default {
mixins: [contextMenuGesture, objectLink], mixins: [contextMenuGesture, objectLink],

View File

@ -54,8 +54,8 @@
<script> <script>
import moment from 'moment'; import moment from 'moment';
import contextMenuGesture from '../../../ui/components/mixins/context-menu-gesture'; import contextMenuGesture from '../../../ui/mixins/context-menu-gesture';
import objectLink from '../../../ui/components/mixins/object-link'; import objectLink from '../../../ui/mixins/object-link';
export default { export default {
mixins: [contextMenuGesture, objectLink], mixins: [contextMenuGesture, objectLink],

View File

@ -27,7 +27,7 @@ define([
'../../res/templates/notebook.html', '../../res/templates/notebook.html',
'../../res/templates/entry.html', '../../res/templates/entry.html',
'../../res/templates/embed.html', '../../res/templates/embed.html',
'../../../../ui/components/controls/search.vue' '../../../../ui/components/search.vue'
], ],
function ( function (
Vue, Vue,

View File

@ -62,7 +62,7 @@
</style> </style>
<script> <script>
import ContextMenuDropDown from '../../ui/components/controls/contextMenuDropDown.vue'; import ContextMenuDropDown from '../../ui/components/contextMenuDropDown.vue';
export default { export default {
components: { components: {
@ -73,7 +73,7 @@
'objectPath' 'objectPath'
], ],
data() { data() {
let domainObject = this.objectPath[0]; let domainObject = this.objectPath[0];
let type = this.openmct.types.get(domainObject.type); let type = this.openmct.types.get(domainObject.type);
return { return {

View File

@ -15,14 +15,14 @@
v-for="(tab,index) in tabsList" v-for="(tab,index) in tabsList"
:key="index" :key="index"
:class="[ :class="[
{'is-current': tab=== currentTab}, {'is-current': tab=== currentTab},
tab.type.definition.cssClass tab.type.definition.cssClass
]" ]"
@click="showTab(tab)"> @click="showTab(tab)">
<span class="c-button__label">{{tab.model.name}}</span> <span class="c-button__label">{{tab.model.name}}</span>
</button> </button>
</div> </div>
<div class="c-tabs-view__object-holder" <div class="c-tabs-view__object-holder"
v-for="(object, index) in tabsList" v-for="(object, index) in tabsList"
:key="index" :key="index"
:class="{'invisible': object !== currentTab}"> :class="{'invisible': object !== currentTab}">
@ -86,7 +86,7 @@
</style> </style>
<script> <script>
import ObjectView from '../../../ui/components/layout/ObjectView.vue'; import ObjectView from '../../../ui/components/ObjectView.vue';
var unknownObjectType = { var unknownObjectType = {
definition: { definition: {

View File

@ -35,7 +35,7 @@
<table class="c-table__headers c-telemetry-table__headers"> <table class="c-table__headers c-telemetry-table__headers">
<thead> <thead>
<tr> <tr>
<table-column-header <table-column-header
v-for="(title, key, headerIndex) in headers" v-for="(title, key, headerIndex) in headers"
:key="key" :key="key"
:headerKey="key" :headerKey="key"
@ -219,7 +219,7 @@
<script> <script>
import TelemetryTableRow from './table-row.vue'; import TelemetryTableRow from './table-row.vue';
import search from '../../../ui/components/controls/search.vue'; import search from '../../../ui/components/search.vue';
import TableColumnHeader from './table-column-header.vue'; import TableColumnHeader from './table-column-header.vue';
import _ from 'lodash'; import _ from 'lodash';
@ -462,7 +462,7 @@ export default {
}, },
updateConfiguration(configuration) { updateConfiguration(configuration) {
this.isAutosizeEnabled = configuration.autosize; this.isAutosizeEnabled = configuration.autosize;
this.updateHeaders(); this.updateHeaders();
this.$nextTick().then(this.calculateColumnWidths); this.$nextTick().then(this.calculateColumnWidths);
}, },
@ -539,7 +539,7 @@ export default {
this.filterChanged = _.debounce(this.filterChanged, 500); this.filterChanged = _.debounce(this.filterChanged, 500);
}, },
mounted() { mounted() {
this.table.on('object-added', this.addObject); this.table.on('object-added', this.addObject);
this.table.on('object-removed', this.removeObject); this.table.on('object-removed', this.removeObject);
this.table.on('outstanding-requests', this.outstandingRequests); this.table.on('outstanding-requests', this.outstandingRequests);

View File

@ -104,7 +104,7 @@
</style> </style>
<script> <script>
import ProgressBar from '../ProgressBar.vue'; import ProgressBar from '../../components/ProgressBar.vue';
let activeNotification = undefined; let activeNotification = undefined;
let dialogService = undefined; let dialogService = undefined;
let maximizedDialog = undefined; let maximizedDialog = undefined;