mirror of
https://github.com/nasa/openmct.git
synced 2024-12-21 22:17:49 +00:00
parent
60efdb4ad3
commit
bf1fa0ac4c
@ -26,12 +26,26 @@ define([
|
|||||||
"./src/LogoController",
|
"./src/LogoController",
|
||||||
"./src/AboutController",
|
"./src/AboutController",
|
||||||
"./src/LicenseController",
|
"./src/LicenseController",
|
||||||
|
"text!./res/templates/app-logo.html",
|
||||||
|
"text!./res/templates/about-logo.html",
|
||||||
|
"text!./res/templates/overlay-about.html",
|
||||||
|
"text!./res/templates/license-apache.html",
|
||||||
|
"text!./res/templates/license-mit.html",
|
||||||
|
"text!./res/templates/licenses.html",
|
||||||
|
"text!./res/templates/licenses-export-md.html",
|
||||||
'legacyRegistry'
|
'legacyRegistry'
|
||||||
], function (
|
], function (
|
||||||
aboutDialogTemplate,
|
aboutDialogTemplate,
|
||||||
LogoController,
|
LogoController,
|
||||||
AboutController,
|
AboutController,
|
||||||
LicenseController,
|
LicenseController,
|
||||||
|
appLogoTemplate,
|
||||||
|
aboutLogoTemplate,
|
||||||
|
overlayAboutTemplate,
|
||||||
|
licenseApacheTemplate,
|
||||||
|
licenseMitTemplate,
|
||||||
|
licensesTemplate,
|
||||||
|
licensesExportMdTemplate,
|
||||||
legacyRegistry
|
legacyRegistry
|
||||||
) {
|
) {
|
||||||
"use strict";
|
"use strict";
|
||||||
@ -43,12 +57,12 @@ define([
|
|||||||
{
|
{
|
||||||
"key": "app-logo",
|
"key": "app-logo",
|
||||||
"priority": "optional",
|
"priority": "optional",
|
||||||
"templateUrl": "templates/app-logo.html"
|
"template": appLogoTemplate
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "about-logo",
|
"key": "about-logo",
|
||||||
"priority": "preferred",
|
"priority": "preferred",
|
||||||
"templateUrl": "templates/about-logo.html"
|
"template": aboutLogoTemplate
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "about-dialog",
|
"key": "about-dialog",
|
||||||
@ -56,15 +70,15 @@ define([
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "overlay-about",
|
"key": "overlay-about",
|
||||||
"templateUrl": "templates/overlay-about.html"
|
"template": overlayAboutTemplate
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "license-apache",
|
"key": "license-apache",
|
||||||
"templateUrl": "templates/license-apache.html"
|
"template": licenseApacheTemplate
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "license-mit",
|
"key": "license-mit",
|
||||||
"templateUrl": "templates/license-mit.html"
|
"template": licenseMitTemplate
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"controllers": [
|
"controllers": [
|
||||||
@ -156,11 +170,11 @@ define([
|
|||||||
"routes": [
|
"routes": [
|
||||||
{
|
{
|
||||||
"when": "/licenses",
|
"when": "/licenses",
|
||||||
"templateUrl": "templates/licenses.html"
|
"template": licensesTemplate
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"when": "/licenses-md",
|
"when": "/licenses-md",
|
||||||
"templateUrl": "templates/licenses-export-md.html"
|
"template": licensesExportMdTemplate
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -37,6 +37,16 @@ define([
|
|||||||
"./src/creation/AddActionProvider",
|
"./src/creation/AddActionProvider",
|
||||||
"./src/creation/CreationService",
|
"./src/creation/CreationService",
|
||||||
"./src/windowing/WindowTitler",
|
"./src/windowing/WindowTitler",
|
||||||
|
"text!./res/templates/browse.html",
|
||||||
|
"text!./res/templates/create/locator.html",
|
||||||
|
"text!./res/templates/browse-object.html",
|
||||||
|
"text!./res/templates/create/create-button.html",
|
||||||
|
"text!./res/templates/create/create-menu.html",
|
||||||
|
"text!./res/templates/items/grid-item.html",
|
||||||
|
"text!./res/templates/browse/object-header.html",
|
||||||
|
"text!./res/templates/menu-arrow.html",
|
||||||
|
"text!./res/templates/back-arrow.html",
|
||||||
|
"text!./res/templates/items/items.html",
|
||||||
'legacyRegistry'
|
'legacyRegistry'
|
||||||
], function (
|
], function (
|
||||||
BrowseController,
|
BrowseController,
|
||||||
@ -54,6 +64,16 @@ define([
|
|||||||
AddActionProvider,
|
AddActionProvider,
|
||||||
CreationService,
|
CreationService,
|
||||||
WindowTitler,
|
WindowTitler,
|
||||||
|
browseTemplate,
|
||||||
|
locatorTemplate,
|
||||||
|
browseObjectTemplate,
|
||||||
|
createButtonTemplate,
|
||||||
|
createMenuTemplate,
|
||||||
|
gridItemTemplate,
|
||||||
|
objectHeaderTemplate,
|
||||||
|
menuArrowTemplate,
|
||||||
|
backArrowTemplate,
|
||||||
|
itemsTemplate,
|
||||||
legacyRegistry
|
legacyRegistry
|
||||||
) {
|
) {
|
||||||
"use strict";
|
"use strict";
|
||||||
@ -63,12 +83,12 @@ define([
|
|||||||
"routes": [
|
"routes": [
|
||||||
{
|
{
|
||||||
"when": "/browse/:ids*",
|
"when": "/browse/:ids*",
|
||||||
"templateUrl": "templates/browse.html",
|
"template": browseTemplate,
|
||||||
"reloadOnSearch": false
|
"reloadOnSearch": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"when": "",
|
"when": "",
|
||||||
"templateUrl": "templates/browse.html",
|
"template": browseTemplate,
|
||||||
"reloadOnSearch": false
|
"reloadOnSearch": false
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@ -134,13 +154,13 @@ define([
|
|||||||
"controls": [
|
"controls": [
|
||||||
{
|
{
|
||||||
"key": "locator",
|
"key": "locator",
|
||||||
"templateUrl": "templates/create/locator.html"
|
"template": locatorTemplate
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"representations": [
|
"representations": [
|
||||||
{
|
{
|
||||||
"key": "browse-object",
|
"key": "browse-object",
|
||||||
"templateUrl": "templates/browse-object.html",
|
"template": browseObjectTemplate,
|
||||||
"gestures": [
|
"gestures": [
|
||||||
"drop"
|
"drop"
|
||||||
],
|
],
|
||||||
@ -150,18 +170,18 @@ define([
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "create-button",
|
"key": "create-button",
|
||||||
"templateUrl": "templates/create/create-button.html"
|
"template": createButtonTemplate
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "create-menu",
|
"key": "create-menu",
|
||||||
"templateUrl": "templates/create/create-menu.html",
|
"template": createMenuTemplate,
|
||||||
"uses": [
|
"uses": [
|
||||||
"action"
|
"action"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "grid-item",
|
"key": "grid-item",
|
||||||
"templateUrl": "templates/items/grid-item.html",
|
"template": gridItemTemplate,
|
||||||
"uses": [
|
"uses": [
|
||||||
"type",
|
"type",
|
||||||
"action",
|
"action",
|
||||||
@ -174,14 +194,14 @@ define([
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "object-header",
|
"key": "object-header",
|
||||||
"templateUrl": "templates/browse/object-header.html",
|
"template": objectHeaderTemplate,
|
||||||
"uses": [
|
"uses": [
|
||||||
"type"
|
"type"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "menu-arrow",
|
"key": "menu-arrow",
|
||||||
"templateUrl": "templates/menu-arrow.html",
|
"template": menuArrowTemplate,
|
||||||
"uses": [
|
"uses": [
|
||||||
"action"
|
"action"
|
||||||
],
|
],
|
||||||
@ -194,7 +214,7 @@ define([
|
|||||||
"uses": [
|
"uses": [
|
||||||
"context"
|
"context"
|
||||||
],
|
],
|
||||||
"templateUrl": "templates/back-arrow.html"
|
"template": backArrowTemplate
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"services": [
|
"services": [
|
||||||
@ -250,7 +270,7 @@ define([
|
|||||||
"name": "Items",
|
"name": "Items",
|
||||||
"glyph": "9",
|
"glyph": "9",
|
||||||
"description": "Grid of available items",
|
"description": "Grid of available items",
|
||||||
"templateUrl": "templates/items/items.html",
|
"template": itemsTemplate,
|
||||||
"uses": [
|
"uses": [
|
||||||
"composition"
|
"composition"
|
||||||
],
|
],
|
||||||
|
@ -24,10 +24,24 @@
|
|||||||
define([
|
define([
|
||||||
"./src/DialogService",
|
"./src/DialogService",
|
||||||
"./src/OverlayService",
|
"./src/OverlayService",
|
||||||
|
"text!./res/templates/overlay-dialog.html",
|
||||||
|
"text!./res/templates/overlay-options.html",
|
||||||
|
"text!./res/templates/dialog.html",
|
||||||
|
"text!./res/templates/overlay-blocking-message.html",
|
||||||
|
"text!./res/templates/message.html",
|
||||||
|
"text!./res/templates/overlay-message-list.html",
|
||||||
|
"text!./res/templates/overlay.html",
|
||||||
'legacyRegistry'
|
'legacyRegistry'
|
||||||
], function (
|
], function (
|
||||||
DialogService,
|
DialogService,
|
||||||
OverlayService,
|
OverlayService,
|
||||||
|
overlayDialogTemplate,
|
||||||
|
overlayOptionsTemplate,
|
||||||
|
dialogTemplate,
|
||||||
|
overlayBlockingMessageTemplate,
|
||||||
|
messageTemplate,
|
||||||
|
overlayMessageListTemplate,
|
||||||
|
overlayTemplate,
|
||||||
legacyRegistry
|
legacyRegistry
|
||||||
) {
|
) {
|
||||||
"use strict";
|
"use strict";
|
||||||
@ -57,33 +71,33 @@ define([
|
|||||||
"templates": [
|
"templates": [
|
||||||
{
|
{
|
||||||
"key": "overlay-dialog",
|
"key": "overlay-dialog",
|
||||||
"templateUrl": "templates/overlay-dialog.html"
|
"template": overlayDialogTemplate
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "overlay-options",
|
"key": "overlay-options",
|
||||||
"templateUrl": "templates/overlay-options.html"
|
"template": overlayOptionsTemplate
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "form-dialog",
|
"key": "form-dialog",
|
||||||
"templateUrl": "templates/dialog.html"
|
"template": dialogTemplate
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "overlay-blocking-message",
|
"key": "overlay-blocking-message",
|
||||||
"templateUrl": "templates/overlay-blocking-message.html"
|
"template": overlayBlockingMessageTemplate
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "message",
|
"key": "message",
|
||||||
"templateUrl": "templates/message.html"
|
"template": messageTemplate
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "overlay-message-list",
|
"key": "overlay-message-list",
|
||||||
"templateUrl": "templates/overlay-message-list.html"
|
"template": overlayMessageListTemplate
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"containers": [
|
"containers": [
|
||||||
{
|
{
|
||||||
"key": "overlay",
|
"key": "overlay",
|
||||||
"templateUrl": "templates/overlay.html"
|
"template": overlayTemplate
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -36,6 +36,12 @@ define([
|
|||||||
"./src/policies/EditActionPolicy",
|
"./src/policies/EditActionPolicy",
|
||||||
"./src/representers/EditRepresenter",
|
"./src/representers/EditRepresenter",
|
||||||
"./src/representers/EditToolbarRepresenter",
|
"./src/representers/EditToolbarRepresenter",
|
||||||
|
"text!./res/templates/edit.html",
|
||||||
|
"text!./res/templates/library.html",
|
||||||
|
"text!./res/templates/edit-object.html",
|
||||||
|
"text!./res/templates/edit-action-buttons.html",
|
||||||
|
"text!./res/templates/elements.html",
|
||||||
|
"text!./res/templates/topbar-edit.html",
|
||||||
'legacyRegistry'
|
'legacyRegistry'
|
||||||
], function (
|
], function (
|
||||||
EditController,
|
EditController,
|
||||||
@ -52,6 +58,12 @@ define([
|
|||||||
EditActionPolicy,
|
EditActionPolicy,
|
||||||
EditRepresenter,
|
EditRepresenter,
|
||||||
EditToolbarRepresenter,
|
EditToolbarRepresenter,
|
||||||
|
editTemplate,
|
||||||
|
libraryTemplate,
|
||||||
|
editObjectTemplate,
|
||||||
|
editActionButtonsTemplate,
|
||||||
|
elementsTemplate,
|
||||||
|
topbarEditTemplate,
|
||||||
legacyRegistry
|
legacyRegistry
|
||||||
) {
|
) {
|
||||||
"use strict";
|
"use strict";
|
||||||
@ -61,7 +73,7 @@ define([
|
|||||||
"routes": [
|
"routes": [
|
||||||
{
|
{
|
||||||
"when": "/edit",
|
"when": "/edit",
|
||||||
"templateUrl": "templates/edit.html"
|
"template": editTemplate
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"controllers": [
|
"controllers": [
|
||||||
@ -185,27 +197,27 @@ define([
|
|||||||
"templates": [
|
"templates": [
|
||||||
{
|
{
|
||||||
"key": "edit-library",
|
"key": "edit-library",
|
||||||
"templateUrl": "templates/library.html"
|
"template": libraryTemplate
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"representations": [
|
"representations": [
|
||||||
{
|
{
|
||||||
"key": "edit-object",
|
"key": "edit-object",
|
||||||
"templateUrl": "templates/edit-object.html",
|
"template": editObjectTemplate,
|
||||||
"uses": [
|
"uses": [
|
||||||
"view"
|
"view"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "edit-action-buttons",
|
"key": "edit-action-buttons",
|
||||||
"templateUrl": "templates/edit-action-buttons.html",
|
"template": editActionButtonsTemplate,
|
||||||
"uses": [
|
"uses": [
|
||||||
"action"
|
"action"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "edit-elements",
|
"key": "edit-elements",
|
||||||
"templateUrl": "templates/elements.html",
|
"template": elementsTemplate,
|
||||||
"uses": [
|
"uses": [
|
||||||
"composition"
|
"composition"
|
||||||
],
|
],
|
||||||
@ -215,7 +227,7 @@ define([
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "topbar-edit",
|
"key": "topbar-edit",
|
||||||
"templateUrl": "templates/topbar-edit.html"
|
"template": topbarEditTemplate
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"representers": [
|
"representers": [
|
||||||
|
@ -48,6 +48,25 @@ define([
|
|||||||
"./src/directives/MCTScroll",
|
"./src/directives/MCTScroll",
|
||||||
"./src/directives/MCTSplitPane",
|
"./src/directives/MCTSplitPane",
|
||||||
"./src/directives/MCTSplitter",
|
"./src/directives/MCTSplitter",
|
||||||
|
"text!./res/templates/bottombar.html",
|
||||||
|
"text!./res/templates/controls/action-button.html",
|
||||||
|
"text!./res/templates/controls/input-filter.html",
|
||||||
|
"text!./res/templates/indicator.html",
|
||||||
|
"text!./res/templates/message-banner.html",
|
||||||
|
"text!./res/templates/progress-bar.html",
|
||||||
|
"text!./res/templates/controls/time-controller.html",
|
||||||
|
"text!./res/templates/containers/accordion.html",
|
||||||
|
"text!./res/templates/subtree.html",
|
||||||
|
"text!./res/templates/tree.html",
|
||||||
|
"text!./res/templates/tree-node.html",
|
||||||
|
"text!./res/templates/label.html",
|
||||||
|
"text!./res/templates/controls/action-group.html",
|
||||||
|
"text!./res/templates/menu/context-menu.html",
|
||||||
|
"text!./res/templates/controls/switcher.html",
|
||||||
|
"text!./res/templates/object-inspector.html",
|
||||||
|
"text!./res/templates/controls/selector.html",
|
||||||
|
"text!./res/templates/controls/datetime-picker.html",
|
||||||
|
"text!./res/templates/controls/datetime-field.html",
|
||||||
'legacyRegistry'
|
'legacyRegistry'
|
||||||
], function (
|
], function (
|
||||||
UrlService,
|
UrlService,
|
||||||
@ -76,6 +95,25 @@ define([
|
|||||||
MCTScroll,
|
MCTScroll,
|
||||||
MCTSplitPane,
|
MCTSplitPane,
|
||||||
MCTSplitter,
|
MCTSplitter,
|
||||||
|
bottombarTemplate,
|
||||||
|
actionButtonTemplate,
|
||||||
|
inputFilterTemplate,
|
||||||
|
indicatorTemplate,
|
||||||
|
messageBannerTemplate,
|
||||||
|
progressBarTemplate,
|
||||||
|
timeControllerTemplate,
|
||||||
|
accordionTemplate,
|
||||||
|
subtreeTemplate,
|
||||||
|
treeTemplate,
|
||||||
|
treeNodeTemplate,
|
||||||
|
labelTemplate,
|
||||||
|
actionGroupTemplate,
|
||||||
|
contextMenuTemplate,
|
||||||
|
switcherTemplate,
|
||||||
|
objectInspectorTemplate,
|
||||||
|
selectorTemplate,
|
||||||
|
datetimePickerTemplate,
|
||||||
|
datetimeFieldTemplate,
|
||||||
legacyRegistry
|
legacyRegistry
|
||||||
) {
|
) {
|
||||||
"use strict";
|
"use strict";
|
||||||
@ -138,31 +176,31 @@ define([
|
|||||||
"templates": [
|
"templates": [
|
||||||
{
|
{
|
||||||
"key": "bottombar",
|
"key": "bottombar",
|
||||||
"templateUrl": "templates/bottombar.html"
|
"template": bottombarTemplate
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "action-button",
|
"key": "action-button",
|
||||||
"templateUrl": "templates/controls/action-button.html"
|
"template": actionButtonTemplate
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "input-filter",
|
"key": "input-filter",
|
||||||
"templateUrl": "templates/controls/input-filter.html"
|
"template": inputFilterTemplate
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "indicator",
|
"key": "indicator",
|
||||||
"templateUrl": "templates/indicator.html"
|
"template": indicatorTemplate
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "message-banner",
|
"key": "message-banner",
|
||||||
"templateUrl": "templates/message-banner.html"
|
"template": messageBannerTemplate
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "progress-bar",
|
"key": "progress-bar",
|
||||||
"templateUrl": "templates/progress-bar.html"
|
"template": progressBarTemplate
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "time-controller",
|
"key": "time-controller",
|
||||||
"templateUrl": "templates/controls/time-controller.html"
|
"template": timeControllerTemplate
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"controllers": [
|
"controllers": [
|
||||||
@ -371,7 +409,7 @@ define([
|
|||||||
"containers": [
|
"containers": [
|
||||||
{
|
{
|
||||||
"key": "accordion",
|
"key": "accordion",
|
||||||
"templateUrl": "templates/containers/accordion.html",
|
"template": accordionTemplate,
|
||||||
"attributes": [
|
"attributes": [
|
||||||
"label"
|
"label"
|
||||||
]
|
]
|
||||||
@ -380,7 +418,7 @@ define([
|
|||||||
"representations": [
|
"representations": [
|
||||||
{
|
{
|
||||||
"key": "tree",
|
"key": "tree",
|
||||||
"templateUrl": "templates/subtree.html",
|
"template": subtreeTemplate,
|
||||||
"uses": [
|
"uses": [
|
||||||
"composition"
|
"composition"
|
||||||
],
|
],
|
||||||
@ -389,25 +427,25 @@ define([
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "tree",
|
"key": "tree",
|
||||||
"templateUrl": "templates/tree.html"
|
"template": treeTemplate
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "subtree",
|
"key": "subtree",
|
||||||
"templateUrl": "templates/subtree.html",
|
"template": subtreeTemplate,
|
||||||
"uses": [
|
"uses": [
|
||||||
"composition"
|
"composition"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "tree-node",
|
"key": "tree-node",
|
||||||
"templateUrl": "templates/tree-node.html",
|
"template": treeNodeTemplate,
|
||||||
"uses": [
|
"uses": [
|
||||||
"action"
|
"action"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "label",
|
"key": "label",
|
||||||
"templateUrl": "templates/label.html",
|
"template": labelTemplate,
|
||||||
"uses": [
|
"uses": [
|
||||||
"type",
|
"type",
|
||||||
"location"
|
"location"
|
||||||
@ -420,7 +458,7 @@ define([
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "node",
|
"key": "node",
|
||||||
"templateUrl": "templates/label.html",
|
"template": labelTemplate,
|
||||||
"uses": [
|
"uses": [
|
||||||
"type"
|
"type"
|
||||||
],
|
],
|
||||||
@ -431,42 +469,42 @@ define([
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "action-group",
|
"key": "action-group",
|
||||||
"templateUrl": "templates/controls/action-group.html",
|
"template": actionGroupTemplate,
|
||||||
"uses": [
|
"uses": [
|
||||||
"action"
|
"action"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "context-menu",
|
"key": "context-menu",
|
||||||
"templateUrl": "templates/menu/context-menu.html",
|
"template": contextMenuTemplate,
|
||||||
"uses": [
|
"uses": [
|
||||||
"action"
|
"action"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "switcher",
|
"key": "switcher",
|
||||||
"templateUrl": "templates/controls/switcher.html",
|
"template": switcherTemplate,
|
||||||
"uses": [
|
"uses": [
|
||||||
"view"
|
"view"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "object-inspector",
|
"key": "object-inspector",
|
||||||
"templateUrl": "templates/object-inspector.html"
|
"template": objectInspectorTemplate
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"controls": [
|
"controls": [
|
||||||
{
|
{
|
||||||
"key": "selector",
|
"key": "selector",
|
||||||
"templateUrl": "templates/controls/selector.html"
|
"template": selectorTemplate
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "datetime-picker",
|
"key": "datetime-picker",
|
||||||
"templateUrl": "templates/controls/datetime-picker.html"
|
"template": datetimePickerTemplate
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "datetime-field",
|
"key": "datetime-field",
|
||||||
"templateUrl": "templates/controls/datetime-field.html"
|
"template": datetimeFieldTemplate
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"licenses": [
|
"licenses": [
|
||||||
|
@ -25,11 +25,19 @@ define([
|
|||||||
"./src/gestures/InfoGesture",
|
"./src/gestures/InfoGesture",
|
||||||
"./src/gestures/InfoButtonGesture",
|
"./src/gestures/InfoButtonGesture",
|
||||||
"./src/services/InfoService",
|
"./src/services/InfoService",
|
||||||
|
"text!./res/info-table.html",
|
||||||
|
"text!./res/info-bubble.html",
|
||||||
|
"text!./res/bubble.html",
|
||||||
|
"text!./res/templates/info-button.html",
|
||||||
'legacyRegistry'
|
'legacyRegistry'
|
||||||
], function (
|
], function (
|
||||||
InfoGesture,
|
InfoGesture,
|
||||||
InfoButtonGesture,
|
InfoButtonGesture,
|
||||||
InfoService,
|
InfoService,
|
||||||
|
infoTableTemplate,
|
||||||
|
infoBubbleTemplate,
|
||||||
|
bubbleTemplate,
|
||||||
|
infoButtonTemplate,
|
||||||
legacyRegistry
|
legacyRegistry
|
||||||
) {
|
) {
|
||||||
"use strict";
|
"use strict";
|
||||||
@ -39,17 +47,17 @@ define([
|
|||||||
"templates": [
|
"templates": [
|
||||||
{
|
{
|
||||||
"key": "info-table",
|
"key": "info-table",
|
||||||
"templateUrl": "info-table.html"
|
"template": infoTableTemplate
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "info-bubble",
|
"key": "info-bubble",
|
||||||
"templateUrl": "info-bubble.html"
|
"template": infoBubbleTemplate
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"containers": [
|
"containers": [
|
||||||
{
|
{
|
||||||
"key": "bubble",
|
"key": "bubble",
|
||||||
"templateUrl": "bubble.html",
|
"template": bubbleTemplate,
|
||||||
"attributes": [
|
"attributes": [
|
||||||
"bubbleTitle",
|
"bubbleTitle",
|
||||||
"bubbleLayout"
|
"bubbleLayout"
|
||||||
@ -99,7 +107,7 @@ define([
|
|||||||
"representations": [
|
"representations": [
|
||||||
{
|
{
|
||||||
"key": "info-button",
|
"key": "info-button",
|
||||||
"templateUrl": "templates/info-button.html",
|
"template": infoButtonTemplate,
|
||||||
"gestures": [
|
"gestures": [
|
||||||
"infobutton"
|
"infobutton"
|
||||||
]
|
]
|
||||||
|
@ -25,11 +25,13 @@ define([
|
|||||||
"./src/NotificationIndicatorController",
|
"./src/NotificationIndicatorController",
|
||||||
"./src/NotificationIndicator",
|
"./src/NotificationIndicator",
|
||||||
"./src/NotificationService",
|
"./src/NotificationService",
|
||||||
|
"text!./res/notification-indicator.html",
|
||||||
'legacyRegistry'
|
'legacyRegistry'
|
||||||
], function (
|
], function (
|
||||||
NotificationIndicatorController,
|
NotificationIndicatorController,
|
||||||
NotificationIndicator,
|
NotificationIndicator,
|
||||||
NotificationService,
|
NotificationService,
|
||||||
|
notificationIndicatorTemplate,
|
||||||
legacyRegistry
|
legacyRegistry
|
||||||
) {
|
) {
|
||||||
"use strict";
|
"use strict";
|
||||||
@ -53,7 +55,7 @@ define([
|
|||||||
"templates": [
|
"templates": [
|
||||||
{
|
{
|
||||||
"key": "notificationIndicatorTemplate",
|
"key": "notificationIndicatorTemplate",
|
||||||
"templateUrl": "notification-indicator.html"
|
"template": notificationIndicatorTemplate
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"controllers": [
|
"controllers": [
|
||||||
|
@ -29,6 +29,8 @@ define([
|
|||||||
"./src/controllers/RefreshingController",
|
"./src/controllers/RefreshingController",
|
||||||
"./src/actions/StartTimerAction",
|
"./src/actions/StartTimerAction",
|
||||||
"./src/actions/RestartTimerAction",
|
"./src/actions/RestartTimerAction",
|
||||||
|
"text!./res/templates/clock.html",
|
||||||
|
"text!./res/templates/timer.html",
|
||||||
'legacyRegistry'
|
'legacyRegistry'
|
||||||
], function (
|
], function (
|
||||||
ClockIndicator,
|
ClockIndicator,
|
||||||
@ -38,6 +40,8 @@ define([
|
|||||||
RefreshingController,
|
RefreshingController,
|
||||||
StartTimerAction,
|
StartTimerAction,
|
||||||
RestartTimerAction,
|
RestartTimerAction,
|
||||||
|
clockTemplate,
|
||||||
|
timerTemplate,
|
||||||
legacyRegistry
|
legacyRegistry
|
||||||
) {
|
) {
|
||||||
"use strict";
|
"use strict";
|
||||||
@ -116,13 +120,13 @@ define([
|
|||||||
"key": "clock",
|
"key": "clock",
|
||||||
"type": "clock",
|
"type": "clock",
|
||||||
"editable": false,
|
"editable": false,
|
||||||
"templateUrl": "templates/clock.html"
|
"template": clockTemplate
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "timer",
|
"key": "timer",
|
||||||
"type": "timer",
|
"type": "timer",
|
||||||
"editable": false,
|
"editable": false,
|
||||||
"templateUrl": "templates/timer.html"
|
"template": timerTemplate
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"actions": [
|
"actions": [
|
||||||
|
@ -25,11 +25,13 @@ define([
|
|||||||
"./src/ConductorRepresenter",
|
"./src/ConductorRepresenter",
|
||||||
"./src/ConductorTelemetryDecorator",
|
"./src/ConductorTelemetryDecorator",
|
||||||
"./src/ConductorService",
|
"./src/ConductorService",
|
||||||
|
"text!./res/templates/time-conductor.html",
|
||||||
'legacyRegistry'
|
'legacyRegistry'
|
||||||
], function (
|
], function (
|
||||||
ConductorRepresenter,
|
ConductorRepresenter,
|
||||||
ConductorTelemetryDecorator,
|
ConductorTelemetryDecorator,
|
||||||
ConductorService,
|
ConductorService,
|
||||||
|
timeConductorTemplate,
|
||||||
legacyRegistry
|
legacyRegistry
|
||||||
) {
|
) {
|
||||||
"use strict";
|
"use strict";
|
||||||
@ -70,7 +72,7 @@ define([
|
|||||||
"templates": [
|
"templates": [
|
||||||
{
|
{
|
||||||
"key": "time-conductor",
|
"key": "time-conductor",
|
||||||
"templateUrl": "templates/time-conductor.html"
|
"template": timeConductorTemplate
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"constants": [
|
"constants": [
|
||||||
|
@ -25,11 +25,13 @@ define([
|
|||||||
"./src/EventListController",
|
"./src/EventListController",
|
||||||
"./src/directives/MCTDataTable",
|
"./src/directives/MCTDataTable",
|
||||||
"./src/policies/MessagesViewPolicy",
|
"./src/policies/MessagesViewPolicy",
|
||||||
|
"text!./res/templates/messages.html",
|
||||||
'legacyRegistry'
|
'legacyRegistry'
|
||||||
], function (
|
], function (
|
||||||
EventListController,
|
EventListController,
|
||||||
MCTDataTable,
|
MCTDataTable,
|
||||||
MessagesViewPolicy,
|
MessagesViewPolicy,
|
||||||
|
messagesTemplate,
|
||||||
legacyRegistry
|
legacyRegistry
|
||||||
) {
|
) {
|
||||||
"use strict";
|
"use strict";
|
||||||
@ -44,7 +46,7 @@ define([
|
|||||||
"name": "Messages",
|
"name": "Messages",
|
||||||
"glyph": "5",
|
"glyph": "5",
|
||||||
"description": "Scrolling list of messages.",
|
"description": "Scrolling list of messages.",
|
||||||
"templateUrl": "templates/messages.html",
|
"template": messagesTemplate,
|
||||||
"needs": [
|
"needs": [
|
||||||
"telemetry"
|
"telemetry"
|
||||||
],
|
],
|
||||||
|
@ -25,11 +25,13 @@ define([
|
|||||||
"./src/policies/ImageryViewPolicy",
|
"./src/policies/ImageryViewPolicy",
|
||||||
"./src/controllers/ImageryController",
|
"./src/controllers/ImageryController",
|
||||||
"./src/directives/MCTBackgroundImage",
|
"./src/directives/MCTBackgroundImage",
|
||||||
|
"text!./res/templates/imagery.html",
|
||||||
'legacyRegistry'
|
'legacyRegistry'
|
||||||
], function (
|
], function (
|
||||||
ImageryViewPolicy,
|
ImageryViewPolicy,
|
||||||
ImageryController,
|
ImageryController,
|
||||||
MCTBackgroundImage,
|
MCTBackgroundImage,
|
||||||
|
imageryTemplate,
|
||||||
legacyRegistry
|
legacyRegistry
|
||||||
) {
|
) {
|
||||||
"use strict";
|
"use strict";
|
||||||
@ -42,7 +44,7 @@ define([
|
|||||||
"name": "Imagery",
|
"name": "Imagery",
|
||||||
"key": "imagery",
|
"key": "imagery",
|
||||||
"glyph": "ã",
|
"glyph": "ã",
|
||||||
"templateUrl": "templates/imagery.html",
|
"template": imageryTemplate,
|
||||||
"priority": "preferred",
|
"priority": "preferred",
|
||||||
"needs": [
|
"needs": [
|
||||||
"telemetry"
|
"telemetry"
|
||||||
|
@ -25,11 +25,27 @@ define([
|
|||||||
"./src/LayoutController",
|
"./src/LayoutController",
|
||||||
"./src/FixedController",
|
"./src/FixedController",
|
||||||
"./src/LayoutCompositionPolicy",
|
"./src/LayoutCompositionPolicy",
|
||||||
|
"text!./res/templates/layout.html",
|
||||||
|
"text!./res/templates/fixed.html",
|
||||||
|
"text!./res/templates/frame.html",
|
||||||
|
"text!./res/templates/elements/telemetry.html",
|
||||||
|
"text!./res/templates/elements/box.html",
|
||||||
|
"text!./res/templates/elements/line.html",
|
||||||
|
"text!./res/templates/elements/text.html",
|
||||||
|
"text!./res/templates/elements/image.html",
|
||||||
'legacyRegistry'
|
'legacyRegistry'
|
||||||
], function (
|
], function (
|
||||||
LayoutController,
|
LayoutController,
|
||||||
FixedController,
|
FixedController,
|
||||||
LayoutCompositionPolicy,
|
LayoutCompositionPolicy,
|
||||||
|
layoutTemplate,
|
||||||
|
fixedTemplate,
|
||||||
|
frameTemplate,
|
||||||
|
telemetryTemplate,
|
||||||
|
boxTemplate,
|
||||||
|
lineTemplate,
|
||||||
|
textTemplate,
|
||||||
|
imageTemplate,
|
||||||
legacyRegistry
|
legacyRegistry
|
||||||
) {
|
) {
|
||||||
"use strict";
|
"use strict";
|
||||||
@ -44,7 +60,7 @@ define([
|
|||||||
"name": "Display Layout",
|
"name": "Display Layout",
|
||||||
"glyph": "L",
|
"glyph": "L",
|
||||||
"type": "layout",
|
"type": "layout",
|
||||||
"templateUrl": "templates/layout.html",
|
"template": layoutTemplate,
|
||||||
"editable": true,
|
"editable": true,
|
||||||
"uses": []
|
"uses": []
|
||||||
},
|
},
|
||||||
@ -53,7 +69,7 @@ define([
|
|||||||
"name": "Fixed Position",
|
"name": "Fixed Position",
|
||||||
"glyph": "3",
|
"glyph": "3",
|
||||||
"type": "telemetry.panel",
|
"type": "telemetry.panel",
|
||||||
"templateUrl": "templates/fixed.html",
|
"template": fixedTemplate,
|
||||||
"uses": [
|
"uses": [
|
||||||
"composition"
|
"composition"
|
||||||
],
|
],
|
||||||
@ -191,7 +207,7 @@ define([
|
|||||||
"representations": [
|
"representations": [
|
||||||
{
|
{
|
||||||
"key": "frame",
|
"key": "frame",
|
||||||
"templateUrl": "templates/frame.html"
|
"template": frameTemplate
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"controllers": [
|
"controllers": [
|
||||||
@ -218,23 +234,23 @@ define([
|
|||||||
"templates": [
|
"templates": [
|
||||||
{
|
{
|
||||||
"key": "fixed.telemetry",
|
"key": "fixed.telemetry",
|
||||||
"templateUrl": "templates/elements/telemetry.html"
|
"template": telemetryTemplate
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "fixed.box",
|
"key": "fixed.box",
|
||||||
"templateUrl": "templates/elements/box.html"
|
"template": boxTemplate
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "fixed.line",
|
"key": "fixed.line",
|
||||||
"templateUrl": "templates/elements/line.html"
|
"template": lineTemplate
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "fixed.text",
|
"key": "fixed.text",
|
||||||
"templateUrl": "templates/elements/text.html"
|
"template": textTemplate
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "fixed.image",
|
"key": "fixed.image",
|
||||||
"templateUrl": "templates/elements/image.html"
|
"template": imageTemplate
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"policies": [
|
"policies": [
|
||||||
|
@ -23,9 +23,11 @@
|
|||||||
|
|
||||||
define([
|
define([
|
||||||
"./src/EmbeddedPageController",
|
"./src/EmbeddedPageController",
|
||||||
|
"text!./res/iframe.html",
|
||||||
'legacyRegistry'
|
'legacyRegistry'
|
||||||
], function (
|
], function (
|
||||||
EmbeddedPageController,
|
EmbeddedPageController,
|
||||||
|
iframeTemplate,
|
||||||
legacyRegistry
|
legacyRegistry
|
||||||
) {
|
) {
|
||||||
"use strict";
|
"use strict";
|
||||||
@ -54,7 +56,7 @@ define([
|
|||||||
],
|
],
|
||||||
"views": [
|
"views": [
|
||||||
{
|
{
|
||||||
"templateUrl": "iframe.html",
|
"template": iframeTemplate,
|
||||||
"name": "Page",
|
"name": "Page",
|
||||||
"type": "example.page",
|
"type": "example.page",
|
||||||
"key": "example.page",
|
"key": "example.page",
|
||||||
|
@ -25,11 +25,13 @@ define([
|
|||||||
"./src/MCTChart",
|
"./src/MCTChart",
|
||||||
"./src/PlotController",
|
"./src/PlotController",
|
||||||
"./src/policies/PlotViewPolicy",
|
"./src/policies/PlotViewPolicy",
|
||||||
|
"text!./res/templates/plot.html",
|
||||||
'legacyRegistry'
|
'legacyRegistry'
|
||||||
], function (
|
], function (
|
||||||
MCTChart,
|
MCTChart,
|
||||||
PlotController,
|
PlotController,
|
||||||
PlotViewPolicy,
|
PlotViewPolicy,
|
||||||
|
plotTemplate,
|
||||||
legacyRegistry
|
legacyRegistry
|
||||||
) {
|
) {
|
||||||
"use strict";
|
"use strict";
|
||||||
@ -42,7 +44,7 @@ define([
|
|||||||
"name": "Plot",
|
"name": "Plot",
|
||||||
"key": "plot",
|
"key": "plot",
|
||||||
"glyph": "6",
|
"glyph": "6",
|
||||||
"templateUrl": "templates/plot.html",
|
"template": plotTemplate,
|
||||||
"needs": [
|
"needs": [
|
||||||
"telemetry"
|
"telemetry"
|
||||||
],
|
],
|
||||||
|
@ -25,11 +25,13 @@ define([
|
|||||||
"./src/RTEventListController",
|
"./src/RTEventListController",
|
||||||
"./src/directives/MCTRTDataTable",
|
"./src/directives/MCTRTDataTable",
|
||||||
"./src/policies/RTMessagesViewPolicy",
|
"./src/policies/RTMessagesViewPolicy",
|
||||||
|
"text!./res/templates/rtmessages.html",
|
||||||
'legacyRegistry'
|
'legacyRegistry'
|
||||||
], function (
|
], function (
|
||||||
RTEventListController,
|
RTEventListController,
|
||||||
MCTRTDataTable,
|
MCTRTDataTable,
|
||||||
RTMessagesViewPolicy,
|
RTMessagesViewPolicy,
|
||||||
|
rtmessagesTemplate,
|
||||||
legacyRegistry
|
legacyRegistry
|
||||||
) {
|
) {
|
||||||
"use strict";
|
"use strict";
|
||||||
@ -44,7 +46,7 @@ define([
|
|||||||
"name": "RT Messages",
|
"name": "RT Messages",
|
||||||
"glyph": "5",
|
"glyph": "5",
|
||||||
"description": "Scrolling list of real time messages.",
|
"description": "Scrolling list of real time messages.",
|
||||||
"templateUrl": "templates/rtmessages.html",
|
"template": rtmessagesTemplate,
|
||||||
"needs": [
|
"needs": [
|
||||||
"telemetry"
|
"telemetry"
|
||||||
],
|
],
|
||||||
|
@ -23,9 +23,11 @@
|
|||||||
|
|
||||||
define([
|
define([
|
||||||
"./src/RTScrollingListController",
|
"./src/RTScrollingListController",
|
||||||
|
"text!./res/templates/rtscrolling.html",
|
||||||
'legacyRegistry'
|
'legacyRegistry'
|
||||||
], function (
|
], function (
|
||||||
RTScrollingListController,
|
RTScrollingListController,
|
||||||
|
rtscrollingTemplate,
|
||||||
legacyRegistry
|
legacyRegistry
|
||||||
) {
|
) {
|
||||||
"use strict";
|
"use strict";
|
||||||
@ -40,7 +42,7 @@ define([
|
|||||||
"name": "Scrolling",
|
"name": "Scrolling",
|
||||||
"glyph": "5",
|
"glyph": "5",
|
||||||
"description": "Scrolling list of data values.",
|
"description": "Scrolling list of data values.",
|
||||||
"templateUrl": "templates/rtscrolling.html",
|
"template": rtscrollingTemplate,
|
||||||
"needs": [
|
"needs": [
|
||||||
"telemetry"
|
"telemetry"
|
||||||
],
|
],
|
||||||
|
@ -23,9 +23,11 @@
|
|||||||
|
|
||||||
define([
|
define([
|
||||||
"./src/ScrollingListController",
|
"./src/ScrollingListController",
|
||||||
|
"text!./res/templates/scrolling.html",
|
||||||
'legacyRegistry'
|
'legacyRegistry'
|
||||||
], function (
|
], function (
|
||||||
ScrollingListController,
|
ScrollingListController,
|
||||||
|
scrollingTemplate,
|
||||||
legacyRegistry
|
legacyRegistry
|
||||||
) {
|
) {
|
||||||
"use strict";
|
"use strict";
|
||||||
@ -40,7 +42,7 @@ define([
|
|||||||
"name": "Scrolling",
|
"name": "Scrolling",
|
||||||
"glyph": "5",
|
"glyph": "5",
|
||||||
"description": "Scrolling list of data values.",
|
"description": "Scrolling list of data values.",
|
||||||
"templateUrl": "templates/scrolling.html",
|
"template": scrollingTemplate,
|
||||||
"needs": [
|
"needs": [
|
||||||
"telemetry"
|
"telemetry"
|
||||||
],
|
],
|
||||||
|
@ -23,9 +23,11 @@
|
|||||||
|
|
||||||
define([
|
define([
|
||||||
|
|
||||||
|
"text!./res/markup.html",
|
||||||
'legacyRegistry'
|
'legacyRegistry'
|
||||||
], function (
|
], function (
|
||||||
|
|
||||||
|
markupTemplate,
|
||||||
legacyRegistry
|
legacyRegistry
|
||||||
) {
|
) {
|
||||||
"use strict";
|
"use strict";
|
||||||
@ -45,7 +47,7 @@ define([
|
|||||||
],
|
],
|
||||||
"views": [
|
"views": [
|
||||||
{
|
{
|
||||||
"templateUrl": "markup.html",
|
"template": markupTemplate,
|
||||||
"name": "Static Markup",
|
"name": "Static Markup",
|
||||||
"type": "static.markup",
|
"type": "static.markup",
|
||||||
"key": "static.markup"
|
"key": "static.markup"
|
||||||
|
@ -38,6 +38,16 @@ define([
|
|||||||
"./src/directives/MCTSwimlaneDrop",
|
"./src/directives/MCTSwimlaneDrop",
|
||||||
"./src/directives/MCTSwimlaneDrag",
|
"./src/directives/MCTSwimlaneDrag",
|
||||||
"./src/services/ObjectLoader",
|
"./src/services/ObjectLoader",
|
||||||
|
"text!./res/templates/values.html",
|
||||||
|
"text!./res/templates/timeline.html",
|
||||||
|
"text!./res/templates/activity-gantt.html",
|
||||||
|
"text!./res/templates/tabular-swimlane-cols-tree.html",
|
||||||
|
"text!./res/templates/tabular-swimlane-cols-data.html",
|
||||||
|
"text!./res/templates/resource-graphs.html",
|
||||||
|
"text!./res/templates/resource-graph-labels.html",
|
||||||
|
"text!./res/templates/legend-item.html",
|
||||||
|
"text!./res/templates/ticks.html",
|
||||||
|
"text!./res/templates/controls/datetime.html",
|
||||||
'legacyRegistry'
|
'legacyRegistry'
|
||||||
], function (
|
], function (
|
||||||
TimelineController,
|
TimelineController,
|
||||||
@ -56,6 +66,16 @@ define([
|
|||||||
MCTSwimlaneDrop,
|
MCTSwimlaneDrop,
|
||||||
MCTSwimlaneDrag,
|
MCTSwimlaneDrag,
|
||||||
ObjectLoader,
|
ObjectLoader,
|
||||||
|
valuesTemplate,
|
||||||
|
timelineTemplate,
|
||||||
|
activityGanttTemplate,
|
||||||
|
tabularSwimlaneColsTreeTemplate,
|
||||||
|
tabularSwimlaneColsDataTemplate,
|
||||||
|
resourceGraphsTemplate,
|
||||||
|
resourceGraphLabelsTemplate,
|
||||||
|
legendItemTemplate,
|
||||||
|
ticksTemplate,
|
||||||
|
datetimeTemplate,
|
||||||
legacyRegistry
|
legacyRegistry
|
||||||
) {
|
) {
|
||||||
"use strict";
|
"use strict";
|
||||||
@ -226,7 +246,7 @@ define([
|
|||||||
"key": "values",
|
"key": "values",
|
||||||
"name": "Values",
|
"name": "Values",
|
||||||
"glyph": "A",
|
"glyph": "A",
|
||||||
"templateUrl": "templates/values.html",
|
"template": valuesTemplate,
|
||||||
"type": "mode",
|
"type": "mode",
|
||||||
"uses": [
|
"uses": [
|
||||||
"cost"
|
"cost"
|
||||||
@ -239,7 +259,7 @@ define([
|
|||||||
"glyph": "S",
|
"glyph": "S",
|
||||||
"type": "timeline",
|
"type": "timeline",
|
||||||
"description": "A timeline view of Timelines and Activities.",
|
"description": "A timeline view of Timelines and Activities.",
|
||||||
"templateUrl": "templates/timeline.html",
|
"template": timelineTemplate,
|
||||||
"editable": true,
|
"editable": true,
|
||||||
"toolbar": {
|
"toolbar": {
|
||||||
"sections": [
|
"sections": [
|
||||||
@ -335,7 +355,7 @@ define([
|
|||||||
"representations": [
|
"representations": [
|
||||||
{
|
{
|
||||||
"key": "gantt",
|
"key": "gantt",
|
||||||
"templateUrl": "templates/activity-gantt.html",
|
"template": activityGanttTemplate,
|
||||||
"uses": [
|
"uses": [
|
||||||
"timespan",
|
"timespan",
|
||||||
"type"
|
"type"
|
||||||
@ -346,42 +366,42 @@ define([
|
|||||||
{
|
{
|
||||||
"key": "timeline-tabular-swimlane-cols-tree",
|
"key": "timeline-tabular-swimlane-cols-tree",
|
||||||
"priority": "mandatory",
|
"priority": "mandatory",
|
||||||
"templateUrl": "templates/tabular-swimlane-cols-tree.html"
|
"template": tabularSwimlaneColsTreeTemplate
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "timeline-tabular-swimlane-cols-data",
|
"key": "timeline-tabular-swimlane-cols-data",
|
||||||
"priority": "mandatory",
|
"priority": "mandatory",
|
||||||
"templateUrl": "templates/tabular-swimlane-cols-data.html"
|
"template": tabularSwimlaneColsDataTemplate
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "timeline-resource-graphs",
|
"key": "timeline-resource-graphs",
|
||||||
"priority": "mandatory",
|
"priority": "mandatory",
|
||||||
"templateUrl": "templates/resource-graphs.html"
|
"template": resourceGraphsTemplate
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "timeline-resource-graph-labels",
|
"key": "timeline-resource-graph-labels",
|
||||||
"priority": "mandatory",
|
"priority": "mandatory",
|
||||||
"templateUrl": "templates/resource-graph-labels.html"
|
"template": resourceGraphLabelsTemplate
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "timeline-legend-item",
|
"key": "timeline-legend-item",
|
||||||
"priority": "mandatory",
|
"priority": "mandatory",
|
||||||
"templateUrl": "templates/legend-item.html"
|
"template": legendItemTemplate
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "timeline-ticks",
|
"key": "timeline-ticks",
|
||||||
"priority": "mandatory",
|
"priority": "mandatory",
|
||||||
"templateUrl": "templates/ticks.html"
|
"template": ticksTemplate
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"controls": [
|
"controls": [
|
||||||
{
|
{
|
||||||
"key": "timeline-datetime",
|
"key": "timeline-datetime",
|
||||||
"templateUrl": "templates/controls/datetime.html"
|
"template": datetimeTemplate
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "duration",
|
"key": "duration",
|
||||||
"templateUrl": "templates/controls/datetime.html"
|
"template": datetimeTemplate
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"controllers": [
|
"controllers": [
|
||||||
|
@ -29,6 +29,15 @@ define([
|
|||||||
"./src/controllers/CompositeController",
|
"./src/controllers/CompositeController",
|
||||||
"./src/controllers/ColorController",
|
"./src/controllers/ColorController",
|
||||||
"./src/controllers/DialogButtonController",
|
"./src/controllers/DialogButtonController",
|
||||||
|
"text!./res/templates/controls/checkbox.html",
|
||||||
|
"text!./res/templates/controls/datetime.html",
|
||||||
|
"text!./res/templates/controls/select.html",
|
||||||
|
"text!./res/templates/controls/textfield.html",
|
||||||
|
"text!./res/templates/controls/button.html",
|
||||||
|
"text!./res/templates/controls/color.html",
|
||||||
|
"text!./res/templates/controls/composite.html",
|
||||||
|
"text!./res/templates/controls/menu-button.html",
|
||||||
|
"text!./res/templates/controls/dialog.html",
|
||||||
'legacyRegistry'
|
'legacyRegistry'
|
||||||
], function (
|
], function (
|
||||||
MCTForm,
|
MCTForm,
|
||||||
@ -38,6 +47,15 @@ define([
|
|||||||
CompositeController,
|
CompositeController,
|
||||||
ColorController,
|
ColorController,
|
||||||
DialogButtonController,
|
DialogButtonController,
|
||||||
|
checkboxTemplate,
|
||||||
|
datetimeTemplate,
|
||||||
|
selectTemplate,
|
||||||
|
textfieldTemplate,
|
||||||
|
buttonTemplate,
|
||||||
|
colorTemplate,
|
||||||
|
compositeTemplate,
|
||||||
|
menuButtonTemplate,
|
||||||
|
dialogTemplate,
|
||||||
legacyRegistry
|
legacyRegistry
|
||||||
) {
|
) {
|
||||||
"use strict";
|
"use strict";
|
||||||
@ -66,39 +84,39 @@ define([
|
|||||||
"controls": [
|
"controls": [
|
||||||
{
|
{
|
||||||
"key": "checkbox",
|
"key": "checkbox",
|
||||||
"templateUrl": "templates/controls/checkbox.html"
|
"template": checkboxTemplate
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "datetime",
|
"key": "datetime",
|
||||||
"templateUrl": "templates/controls/datetime.html"
|
"template": datetimeTemplate
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "select",
|
"key": "select",
|
||||||
"templateUrl": "templates/controls/select.html"
|
"template": selectTemplate
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "textfield",
|
"key": "textfield",
|
||||||
"templateUrl": "templates/controls/textfield.html"
|
"template": textfieldTemplate
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "button",
|
"key": "button",
|
||||||
"templateUrl": "templates/controls/button.html"
|
"template": buttonTemplate
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "color",
|
"key": "color",
|
||||||
"templateUrl": "templates/controls/color.html"
|
"template": colorTemplate
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "composite",
|
"key": "composite",
|
||||||
"templateUrl": "templates/controls/composite.html"
|
"template": compositeTemplate
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "menu-button",
|
"key": "menu-button",
|
||||||
"templateUrl": "templates/controls/menu-button.html"
|
"template": menuButtonTemplate
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "dialog-button",
|
"key": "dialog-button",
|
||||||
"templateUrl": "templates/controls/dialog.html"
|
"template": dialogTemplate
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"controllers": [
|
"controllers": [
|
||||||
|
@ -25,11 +25,13 @@ define([
|
|||||||
"./src/QueuingPersistenceCapabilityDecorator",
|
"./src/QueuingPersistenceCapabilityDecorator",
|
||||||
"./src/PersistenceQueue",
|
"./src/PersistenceQueue",
|
||||||
"./src/PersistenceFailureController",
|
"./src/PersistenceFailureController",
|
||||||
|
"text!./res/templates/persistence-failure-dialog.html",
|
||||||
'legacyRegistry'
|
'legacyRegistry'
|
||||||
], function (
|
], function (
|
||||||
QueuingPersistenceCapabilityDecorator,
|
QueuingPersistenceCapabilityDecorator,
|
||||||
PersistenceQueue,
|
PersistenceQueue,
|
||||||
PersistenceFailureController,
|
PersistenceFailureController,
|
||||||
|
persistenceFailureDialogTemplate,
|
||||||
legacyRegistry
|
legacyRegistry
|
||||||
) {
|
) {
|
||||||
"use strict";
|
"use strict";
|
||||||
@ -67,7 +69,7 @@ define([
|
|||||||
"templates": [
|
"templates": [
|
||||||
{
|
{
|
||||||
"key": "persistence-failure-dialog",
|
"key": "persistence-failure-dialog",
|
||||||
"templateUrl": "templates/persistence-failure-dialog.html"
|
"template": persistenceFailureDialogTemplate
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"controllers": [
|
"controllers": [
|
||||||
|
@ -27,6 +27,9 @@ define([
|
|||||||
"./src/controllers/ClickAwayController",
|
"./src/controllers/ClickAwayController",
|
||||||
"./src/services/GenericSearchProvider",
|
"./src/services/GenericSearchProvider",
|
||||||
"./src/services/SearchAggregator",
|
"./src/services/SearchAggregator",
|
||||||
|
"text!./res/templates/search-item.html",
|
||||||
|
"text!./res/templates/search.html",
|
||||||
|
"text!./res/templates/search-menu.html",
|
||||||
'legacyRegistry'
|
'legacyRegistry'
|
||||||
], function (
|
], function (
|
||||||
SearchController,
|
SearchController,
|
||||||
@ -34,6 +37,9 @@ define([
|
|||||||
ClickAwayController,
|
ClickAwayController,
|
||||||
GenericSearchProvider,
|
GenericSearchProvider,
|
||||||
SearchAggregator,
|
SearchAggregator,
|
||||||
|
searchItemTemplate,
|
||||||
|
searchTemplate,
|
||||||
|
searchMenuTemplate,
|
||||||
legacyRegistry
|
legacyRegistry
|
||||||
) {
|
) {
|
||||||
"use strict";
|
"use strict";
|
||||||
@ -80,17 +86,17 @@ define([
|
|||||||
"representations": [
|
"representations": [
|
||||||
{
|
{
|
||||||
"key": "search-item",
|
"key": "search-item",
|
||||||
"templateUrl": "templates/search-item.html"
|
"template": searchItemTemplate
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"templates": [
|
"templates": [
|
||||||
{
|
{
|
||||||
"key": "search",
|
"key": "search",
|
||||||
"templateUrl": "templates/search.html"
|
"template": searchTemplate
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "search-menu",
|
"key": "search-menu",
|
||||||
"templateUrl": "templates/search-menu.html"
|
"template": searchMenuTemplate
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"components": [
|
"components": [
|
||||||
|
Loading…
Reference in New Issue
Block a user