2016-01-15 01:08:19 +00:00
|
|
|
/*****************************************************************************
|
2018-05-14 22:46:17 +00:00
|
|
|
* Open MCT, Copyright (c) 2014-2018, United States Government
|
2016-01-15 01:08:19 +00:00
|
|
|
* as represented by the Administrator of the National Aeronautics and Space
|
|
|
|
* Administration. All rights reserved.
|
|
|
|
*
|
2016-07-12 23:21:58 +00:00
|
|
|
* Open MCT is licensed under the Apache License, Version 2.0 (the
|
2016-01-15 01:08:19 +00:00
|
|
|
* "License"); you may not use this file except in compliance with the License.
|
|
|
|
* You may obtain a copy of the License at
|
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0.
|
|
|
|
*
|
|
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
|
|
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
|
|
* License for the specific language governing permissions and limitations
|
|
|
|
* under the License.
|
|
|
|
*
|
2016-07-12 23:21:58 +00:00
|
|
|
* Open MCT includes source code licensed under additional open source
|
2016-01-15 01:08:19 +00:00
|
|
|
* licenses. See the Open Source Licenses file (LICENSES.md) included with
|
|
|
|
* this source code distribution or the Licensing information page available
|
|
|
|
* at runtime from the About dialog for additional information.
|
|
|
|
*****************************************************************************/
|
|
|
|
|
|
|
|
define([
|
|
|
|
"./src/services/UrlService",
|
|
|
|
"./src/services/PopupService",
|
2016-02-23 00:39:20 +00:00
|
|
|
"./src/SplashScreenManager",
|
2016-01-15 01:08:19 +00:00
|
|
|
"./src/StyleSheetLoader",
|
|
|
|
"./src/controllers/TimeRangeController",
|
|
|
|
"./src/controllers/DateTimePickerController",
|
|
|
|
"./src/controllers/DateTimeFieldController",
|
|
|
|
"./src/controllers/TreeNodeController",
|
|
|
|
"./src/controllers/ActionGroupController",
|
|
|
|
"./src/controllers/ToggleController",
|
|
|
|
"./src/controllers/ClickAwayController",
|
|
|
|
"./src/controllers/ViewSwitcherController",
|
|
|
|
"./src/controllers/GetterSetterController",
|
|
|
|
"./src/controllers/SelectorController",
|
|
|
|
"./src/controllers/ObjectInspectorController",
|
|
|
|
"./src/controllers/BannerController",
|
|
|
|
"./src/directives/MCTContainer",
|
|
|
|
"./src/directives/MCTDrag",
|
2017-12-07 21:04:46 +00:00
|
|
|
"./src/directives/MCTSelectable",
|
2016-01-15 01:08:19 +00:00
|
|
|
"./src/directives/MCTClickElsewhere",
|
|
|
|
"./src/directives/MCTResize",
|
|
|
|
"./src/directives/MCTPopup",
|
|
|
|
"./src/directives/MCTScroll",
|
|
|
|
"./src/directives/MCTSplitPane",
|
|
|
|
"./src/directives/MCTSplitter",
|
2016-03-11 22:23:08 +00:00
|
|
|
"./src/directives/MCTTree",
|
2018-07-16 22:21:38 +00:00
|
|
|
"./src/directives/MCTIndicators",
|
2016-09-30 17:37:31 +00:00
|
|
|
"./src/filters/ReverseFilter",
|
2018-08-07 21:47:50 +00:00
|
|
|
"./res/templates/bottombar.html",
|
|
|
|
"./res/templates/controls/action-button.html",
|
|
|
|
"./res/templates/controls/input-filter.html",
|
|
|
|
"./res/templates/angular-indicator.html",
|
|
|
|
"./res/templates/message-banner.html",
|
|
|
|
"./res/templates/progress-bar.html",
|
|
|
|
"./res/templates/controls/time-controller.html",
|
|
|
|
"./res/templates/containers/accordion.html",
|
|
|
|
"./res/templates/subtree.html",
|
|
|
|
"./res/templates/tree.html",
|
|
|
|
"./res/templates/tree-node.html",
|
|
|
|
"./res/templates/label.html",
|
|
|
|
"./res/templates/controls/action-group.html",
|
|
|
|
"./res/templates/controls/switcher.html",
|
|
|
|
"./res/templates/object-inspector.html",
|
|
|
|
"./res/templates/controls/selector.html",
|
|
|
|
"./res/templates/controls/datetime-picker.html",
|
|
|
|
"./res/templates/controls/datetime-field.html",
|
2016-01-15 01:08:19 +00:00
|
|
|
'legacyRegistry'
|
|
|
|
], function (
|
|
|
|
UrlService,
|
|
|
|
PopupService,
|
2016-02-23 00:39:20 +00:00
|
|
|
SplashScreenManager,
|
2016-01-15 01:08:19 +00:00
|
|
|
StyleSheetLoader,
|
|
|
|
TimeRangeController,
|
|
|
|
DateTimePickerController,
|
|
|
|
DateTimeFieldController,
|
|
|
|
TreeNodeController,
|
|
|
|
ActionGroupController,
|
|
|
|
ToggleController,
|
|
|
|
ClickAwayController,
|
|
|
|
ViewSwitcherController,
|
|
|
|
GetterSetterController,
|
|
|
|
SelectorController,
|
|
|
|
ObjectInspectorController,
|
|
|
|
BannerController,
|
|
|
|
MCTContainer,
|
|
|
|
MCTDrag,
|
2017-12-07 21:04:46 +00:00
|
|
|
MCTSelectable,
|
2016-01-15 01:08:19 +00:00
|
|
|
MCTClickElsewhere,
|
|
|
|
MCTResize,
|
|
|
|
MCTPopup,
|
|
|
|
MCTScroll,
|
|
|
|
MCTSplitPane,
|
|
|
|
MCTSplitter,
|
2016-03-11 22:23:08 +00:00
|
|
|
MCTTree,
|
2018-07-16 22:21:38 +00:00
|
|
|
MCTIndicators,
|
2016-09-30 17:25:22 +00:00
|
|
|
ReverseFilter,
|
2016-02-26 21:07:50 +00:00
|
|
|
bottombarTemplate,
|
|
|
|
actionButtonTemplate,
|
|
|
|
inputFilterTemplate,
|
|
|
|
indicatorTemplate,
|
|
|
|
messageBannerTemplate,
|
|
|
|
progressBarTemplate,
|
|
|
|
timeControllerTemplate,
|
|
|
|
accordionTemplate,
|
|
|
|
subtreeTemplate,
|
|
|
|
treeTemplate,
|
|
|
|
treeNodeTemplate,
|
|
|
|
labelTemplate,
|
|
|
|
actionGroupTemplate,
|
|
|
|
switcherTemplate,
|
|
|
|
objectInspectorTemplate,
|
|
|
|
selectorTemplate,
|
|
|
|
datetimePickerTemplate,
|
|
|
|
datetimeFieldTemplate,
|
2016-01-15 01:08:19 +00:00
|
|
|
legacyRegistry
|
|
|
|
) {
|
|
|
|
|
|
|
|
legacyRegistry.register("platform/commonUI/general", {
|
|
|
|
"name": "General UI elements",
|
|
|
|
"description": "General UI elements, meant to be reused across modes",
|
|
|
|
"resources": "res",
|
|
|
|
"extensions": {
|
|
|
|
"services": [
|
|
|
|
{
|
|
|
|
"key": "urlService",
|
|
|
|
"implementation": UrlService,
|
|
|
|
"depends": [
|
|
|
|
"$location"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "popupService",
|
|
|
|
"implementation": PopupService,
|
|
|
|
"depends": [
|
|
|
|
"$document",
|
|
|
|
"$window"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"runs": [
|
|
|
|
{
|
|
|
|
"implementation": StyleSheetLoader,
|
|
|
|
"depends": [
|
|
|
|
"stylesheets[]",
|
|
|
|
"$document",
|
2016-09-30 17:25:22 +00:00
|
|
|
"THEME",
|
|
|
|
"ASSETS_PATH"
|
2016-01-15 01:08:19 +00:00
|
|
|
]
|
|
|
|
},
|
2016-02-23 00:39:20 +00:00
|
|
|
{
|
|
|
|
"implementation": SplashScreenManager,
|
|
|
|
"depends": [
|
|
|
|
"$document"
|
|
|
|
]
|
2016-01-15 01:08:19 +00:00
|
|
|
}
|
|
|
|
],
|
2016-01-27 20:53:46 +00:00
|
|
|
"filters": [
|
|
|
|
{
|
2016-09-30 17:25:22 +00:00
|
|
|
"implementation": ReverseFilter,
|
2016-01-27 20:53:46 +00:00
|
|
|
"key": "reverse"
|
|
|
|
}
|
|
|
|
],
|
2016-01-15 01:08:19 +00:00
|
|
|
"templates": [
|
|
|
|
{
|
|
|
|
"key": "bottombar",
|
2016-02-26 21:07:50 +00:00
|
|
|
"template": bottombarTemplate
|
2016-01-15 01:08:19 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "action-button",
|
2016-02-26 21:07:50 +00:00
|
|
|
"template": actionButtonTemplate
|
2016-01-15 01:08:19 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "input-filter",
|
2016-02-26 21:07:50 +00:00
|
|
|
"template": inputFilterTemplate
|
2016-01-15 01:08:19 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "indicator",
|
2016-02-26 21:07:50 +00:00
|
|
|
"template": indicatorTemplate
|
2016-01-15 01:08:19 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "message-banner",
|
2016-02-26 21:07:50 +00:00
|
|
|
"template": messageBannerTemplate
|
2016-01-15 01:08:19 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "progress-bar",
|
2016-02-26 21:07:50 +00:00
|
|
|
"template": progressBarTemplate
|
2016-01-15 01:08:19 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "time-controller",
|
2016-02-26 21:07:50 +00:00
|
|
|
"template": timeControllerTemplate
|
2016-01-15 01:08:19 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"controllers": [
|
|
|
|
{
|
|
|
|
"key": "TimeRangeController",
|
|
|
|
"implementation": TimeRangeController,
|
|
|
|
"depends": [
|
|
|
|
"$scope",
|
2016-06-25 04:30:03 +00:00
|
|
|
"$timeout",
|
2016-01-15 01:08:19 +00:00
|
|
|
"formatService",
|
|
|
|
"DEFAULT_TIME_FORMAT",
|
|
|
|
"now"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "DateTimePickerController",
|
|
|
|
"implementation": DateTimePickerController,
|
|
|
|
"depends": [
|
|
|
|
"$scope",
|
|
|
|
"now"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "DateTimeFieldController",
|
|
|
|
"implementation": DateTimeFieldController,
|
|
|
|
"depends": [
|
|
|
|
"$scope",
|
|
|
|
"formatService",
|
|
|
|
"DEFAULT_TIME_FORMAT"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "TreeNodeController",
|
|
|
|
"implementation": TreeNodeController,
|
|
|
|
"depends": [
|
|
|
|
"$scope",
|
|
|
|
"$timeout",
|
|
|
|
"navigationService"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "ActionGroupController",
|
|
|
|
"implementation": ActionGroupController,
|
|
|
|
"depends": [
|
|
|
|
"$scope"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "ToggleController",
|
|
|
|
"implementation": ToggleController
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "ClickAwayController",
|
|
|
|
"implementation": ClickAwayController,
|
|
|
|
"depends": [
|
2016-05-06 01:25:37 +00:00
|
|
|
"$document",
|
2016-08-05 23:30:20 +00:00
|
|
|
"$timeout"
|
2016-01-15 01:08:19 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "ViewSwitcherController",
|
|
|
|
"implementation": ViewSwitcherController,
|
|
|
|
"depends": [
|
|
|
|
"$scope",
|
|
|
|
"$timeout"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "GetterSetterController",
|
|
|
|
"implementation": GetterSetterController,
|
|
|
|
"depends": [
|
|
|
|
"$scope"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "SelectorController",
|
|
|
|
"implementation": SelectorController,
|
|
|
|
"depends": [
|
|
|
|
"objectService",
|
|
|
|
"$scope"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "ObjectInspectorController",
|
|
|
|
"implementation": ObjectInspectorController,
|
|
|
|
"depends": [
|
|
|
|
"$scope",
|
|
|
|
"objectService"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "BannerController",
|
|
|
|
"implementation": BannerController,
|
|
|
|
"depends": [
|
|
|
|
"$scope",
|
|
|
|
"notificationService",
|
|
|
|
"dialogService"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"directives": [
|
|
|
|
{
|
|
|
|
"key": "mctContainer",
|
|
|
|
"implementation": MCTContainer,
|
|
|
|
"depends": [
|
|
|
|
"containers[]"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "mctDrag",
|
|
|
|
"implementation": MCTDrag,
|
|
|
|
"depends": [
|
2018-05-25 18:19:27 +00:00
|
|
|
"$document",
|
|
|
|
"agentService"
|
2016-01-15 01:08:19 +00:00
|
|
|
]
|
|
|
|
},
|
2017-12-07 21:04:46 +00:00
|
|
|
{
|
|
|
|
"key": "mctSelectable",
|
|
|
|
"implementation": MCTSelectable,
|
|
|
|
"depends": [
|
|
|
|
"openmct"
|
|
|
|
]
|
|
|
|
},
|
2016-01-15 01:08:19 +00:00
|
|
|
{
|
|
|
|
"key": "mctClickElsewhere",
|
|
|
|
"implementation": MCTClickElsewhere,
|
|
|
|
"depends": [
|
|
|
|
"$document"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "mctResize",
|
|
|
|
"implementation": MCTResize,
|
|
|
|
"depends": [
|
|
|
|
"$timeout"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "mctPopup",
|
|
|
|
"implementation": MCTPopup,
|
|
|
|
"depends": [
|
|
|
|
"$compile",
|
|
|
|
"popupService"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "mctScrollX",
|
|
|
|
"implementation": MCTScroll,
|
|
|
|
"depends": [
|
|
|
|
"$parse",
|
|
|
|
"MCT_SCROLL_X_PROPERTY",
|
|
|
|
"MCT_SCROLL_X_ATTRIBUTE"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "mctScrollY",
|
|
|
|
"implementation": MCTScroll,
|
|
|
|
"depends": [
|
|
|
|
"$parse",
|
|
|
|
"MCT_SCROLL_Y_PROPERTY",
|
|
|
|
"MCT_SCROLL_Y_ATTRIBUTE"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "mctSplitPane",
|
|
|
|
"implementation": MCTSplitPane,
|
|
|
|
"depends": [
|
|
|
|
"$parse",
|
|
|
|
"$log",
|
2017-08-02 18:12:09 +00:00
|
|
|
"$interval",
|
|
|
|
"$window"
|
2016-01-15 01:08:19 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "mctSplitter",
|
|
|
|
"implementation": MCTSplitter
|
2016-03-11 22:23:08 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "mctTree",
|
2016-03-12 01:26:00 +00:00
|
|
|
"implementation": MCTTree,
|
2018-06-29 18:57:45 +00:00
|
|
|
"depends": ['gestureService', 'openmct']
|
Notebook integration deep (#1947)
* NASA - OPEN MCT NOTEBOOK UI PROTOTYPE CHALLENGE
https://www.topcoder.com/challenge-details/30059614/
Initial submission
* Code updates:
-Topcoder final fixes
-NASA review fixes
* drag and drop style fix, new entry focus, delete display fix
* NASA reported issues fixed:
objects saved in notebook, delete entry dialog, style files, and new entry from drag objects fixed.
* Annotation toolbar UI style fixes, added annotation functionality on new entry dialog
* painterro .map file issue fixed.
* NASA review fixes:
css files adjusted
notebook children tree removed
embed's title links to live object
* CouchDB documentation added
* CouchDB documentation added
Screenshots added.
* CouchDB setup documentation added
* Test case functional and cosmetic issues fixed.
* Test cases functional and cosmetic issues fixed.
* updated file saver library
* Code issues fixes:
NotificationLaunchIndicator deleted.
Inappropriate modifications to domain object models fixed.
Implemented $destroy listener on entryDnd directive.
Naming conventions fixed.
Unnecessary changes made to platform handled.
Painterro dependency handled
gulp verify fix.
* names and package fixes
* filenames fix
* [Notebook] Relocate to platform/features/notebook
* [Notebook] Remove obsolete README
* [Notebook] Restore original index.html
* [Notebook] Expose via openmct.plugins
* [Notebook] Remove demo entries
* [Notebook] Run gulp fixstyle
* [Notebook] Use dot notation instead of brackets
...for checkstyle
* [Notebook] Remove extra comma
* [Notebook] Run gulp fixstyle
* [Notebook] Use dot notation instead of brackets
...for checkstyle
* [Notebook] Fix lint issues
* [Notebook] Fix lint issues
* [Notebook] Fix lint issues
* [Notebook] Fix lint issues
* [Notebook] Fix lint issues
* [Notebook] Fix lint issues
* [Notebook] Fix lint issues
* [Notebook] Fix lint issues
* [Notebook] Fix lint issues
* [Notebook] Run gulp fixstyle
* [Notebook] Include painterro for tests
* [Notebook] Fix require config for painterro
* [Merge] WIP markup and styling
Fixes #1896
- Very much WIP, currently having issues with
hovering and jiggling
* [Merge] WIP markup and styling
Fixes #1896
- Very much WIP, attempting to convert
textarea to contenteditable;
* [Merge] JS debugging
Fixes #1896
- Very much WIP!
* [Merge] JS debugging
Fixes #1896
- Really, really WIP
- DnD doesn't work properly, and drag to
existing entry no longer works.
* [Front-end] Notebook thematic styling; test console
Fixes #1896
- Added thematic styles and config;
- Really, really, really WIP!!
- DnD doesn't work properly, and drag to
existing entry no longer works.
* [Merge] Cleanups in JS
Fixes #1896
- Removed and commented out logging statements
* [Merge] WIP SCSS and markup polishing
Fixes #1896
- Significant style and markup changes;
- Styles, layout, etc. relating to embed elements;
- Fixes in both notebook.html and embedControl.html;
- Class name normalization;
* [Merge] WIP Mods related to MCTModalNotebook.js
Fixes #1896
Fixes #1906
* fix drag and drop, delete entries
* [Front-end] Refined styling of entry embeds
Fixes #1896
* [Merge] Generalized hover hide/show of local controls
Fixes #1896
* [Merge] Generalized labeled icon-* elements
Fixes #1896
* [Frontend] CSS normalizing, apply general styles in markup
Fixes #1896
- Notebook class names more individualized;
- Apply .labeled and .has-local-controls general classes;
- Apply .s-input-inline to contenteditable div;
- Look and feel cleanups for drag area and entry elements;
* added modifiedOn time for entries that are changed, and fixed issue regarding inner text being filled when new entry button clicked
* [Frontend] CSS sanding and cleanups
Fixes #1896
- Removing unused classes;
- Finessed margin and padding;
* [Frontend] Mobile styling
Fixes #1896
- Mod .has-local-controls to not apply when in touch context
* [Frontend] WIP Mobile styling
Fixes #1896
- phone portrait entry layout optimization
* fix expand in layout, which was causing snapshot at expand
* [Frontend] Fixes to search control
Fixes #1896
- Search control now more robust, added
.search-filter-by-type class selector;
* [Frontend] Fix custom Selects
Fixes #1896
- Custom Selects now much more
solid, handle width compression better;
* remove duplicate code from MCTModalNotebook and roll changes into MCTTriggerModal
* [Frontend] WIP Mobile styling
Fixes #1896
- Fixed general approach to portrait orientation in
mobile/_layout.scss to use media query;
- Fixed portrait layout in _notebook_base.scss
to use media query;
* prevent multiple new notebook entry divs from being created on open overlay, instead create on initialization
* [Frontend] WIP Snapshot styling
Fixes #1896
- Better class names;
- Moved buttons in frame layout;
* remove frame layout duplicate and use frame.html
* fix issue of preserving line breaks when text is received from a persisted source
* add comments, clean out some code, and fix broken tests
* fix export image after merging with master
* include painterro in karma config
* Inlined templates for notebook
* disable view policy - to allow layouts to function - needs more investigation
* fix layout display overload, remove viewpolicy and notebookLayout.html. Fix delete error - issues found when deploying for testathon
* fix (not being able to focus on content editable div to add text, while in layout)
- when in layout, the first child of the outermost div is the only one that registers a click, this was causing an issue of not being able to edit notebook entries. My fix includes finding the first child of the div that registers the click and forcing a focus event.
* fix focus one new entry issue, cleanup of code related to finding elements, and write more reusable code
* abstract findElementById for reusability and improve performance from O^2 to O
* user findElementById in entrydnd
* change snapshot library to dom-to-image
* [Frontend] WIP Snapshot styling
Fixes #1896
Fixes #1947
- Significant markup changes to template in ViewSnaphot.js
- WIP!!! Keeping own topic branch for now
* [Frontend] WIP Snapshot styling
Fixes #1896
Fixes #1947
- Significant markup changes to ViewSnaphot.js;
- Change in imagery.scss to move non-layout styling
to appropriate class;
* Removed snapshot from version number to close sprint eagle
* Updated version number for Enterprise release
* Lock filesaver version (#1956)
Lock filesaver version as there have been a large number of broken
builds from what should be non-breaking version increases.
Fixes currently broken build.
* [Frontend] Snapshot styling
Fixes #1896
Fixes #1947
- Final tweaks after rebase from
notebook-integration-deep-styling
* fixes issue of overlay not closing when context menu item in clicked when viewing snapshot
* [Frontend] Painterro styling
Fixes #1896
Fixes #1947
- WIP
- Painterro styling overrides and config
- Removed commented code
* [Frontend] Painterro styling
Fixes #1896
Fixes #1947
- WIP
- Painterro styling overrides and config
* fixes issue of overlay not closing when context menu item in clicked when viewing snapshot
* specify require paths for new library
* [Frontend] Local controls CSS added for hide/show of trash can icons
Fixes #1896
Fixes #1947
- Also updated frame.scss to use same transition timing
* proper shimming
* dragging objects to notebook now only creates a link, clicking on snapshot from object view takes a snapshot of the current view, without re-rendering
* [Frontend] Local controls CSS added for hide/show of trash can icons
Fixes #1896
Fixes #1947
- Also updated frame.scss to use same transition timing
* select correct div for snapshot
* [Frontend] Adding background color to snapshot
Fixes #1896
Fixes #1947
* remove snapshot class after async image render
* [Frontend] Adding background color to snapshot
Fixes #1896
Fixes #1947
* remove snapshot button from frames in layout
* remove snapshot from frame view, add it only to overlay, change mctSnapShot to accomodate taking snaps of overlay/object view
* add preview action, working, need styling for notebook action on preview
* fix checkstyle
* change glyph for preview, use similar tempalte to frame.html
* dont allow preview action on objects getting edited currently
* changes to browseController and NavigationService to block navigation and show preview of object when trying to navigate to object in tree in edit mode
* [Frontend] Painterro styling and config
Fixes #1896
Fixes #1947
- Changes mainly related to toolbar styling and labels
* [Frontend] Notebook/Preview related sanding and polishing
Fixes #1947
- Changed description for notebook-new-entry
* [Frontend] Notebook/Preview related sanding and polishing
Fixes #1947
- Added new global "hide-in-t-main-view" class;
- Apply new class to Preview action to suppress
display of that button in main view of navigated object;
* code cleanup
* [Frontend] Notebook/Preview related sanding and polishing
Fixes #1947
- Classes for Notebook Entry button spacing;
* abstract overlay into a service/api - to reduce code duplication
catch error produced by painterro because of async div creation by dialog service
* fix broken mcttriggermodal tests
* fix checkstyle and lint
* add functionality of being able to add buttons to the browse bar element of overlay when instantiating the overlay service
* Reduce frequency of template recompilation in mct-include
* Use updated painterro library. Fixes #1981
* add save flag and call done in both cases (clicking on cancel or ok)
* fixes #1951
persist modified empty entry on blur
* Bump Node Version
* fix checkstyle
* fixes issue where annotating snapshot that is already saved in notebook does not work
* fix painterro button styling issue
move jquery logic inside timeout block, because buttons are asynchronously created
* remove description required when saving snapshot to notebook
* remove create snapshot action from embeds, and add preview action to embeds
* fixes edge case for issue #1981
Add a reject callback in the edgecase that user presses the x icon or esc key to cancel annotation, which was leading to the drag drop issue
* Add default sort options on creation menu of Notebook
* fix auto focus on new entry when in oldest first order, both in layout and regular view
* [Frontend] Notebook mobile mods
- Hide entry area when mobile;
- Disallow entry edit or delete in mobile;
* fixes issue 2041 (#2049)
* fixes issue 2041
allows user to select caret position in notebook entries while in layout
* [Frontend] Restore class, refine selector
Fixes #2041
Fixes #2049
- Restored .s-input-inline to editable field;
- Refined pointer-events: none to properly target .title-label only;
* remove unused files/code and smoke test
* remove , add pre-wrap to css and use inner text
* make reviewer requested changes 'in progress still'
* make reviewer requested changes 'continued'
* replace html2canvas with dom-to-image
- add in progress dialog to export image service
- add error dialog to export image service
* Search UI refactored to use flex
Fixes #1947
- Fixes broken search inputs in main search and Notebook;
- Significant rewrite to search SCSS and markup;
* Fixes for Notebook custom selects; polishes to search
Fixes #1947
- Better flex styles for custom selects;
- Refinements to search styling;
- Much better mobile responsive layout for search and controls
in portrait layout;
* fix preview action for embeds, which was showing current domain object vs selected domain object
* Fixed hidden search dropdown menu
Fixes #1947
* Revert whitespace change
Revert change to whitespace in index.html. #1947.
* [Export] Use html2canvas
Use html2canvas instead of dom-to-image. Fixes issues with text
exports. html2canvas is better supported and under active
development and is a better choice for this library. Cleaned up
export code, ensure that images are properly saved as the correct
types.
related to feedback on #1947
* Don't show brackets when timestamp is not specified (#331)
2018-06-29 00:13:34 +00:00
|
|
|
},
|
2018-07-16 22:21:38 +00:00
|
|
|
{
|
|
|
|
"key": "mctIndicators",
|
|
|
|
"implementation": MCTIndicators,
|
|
|
|
"depends": ['openmct']
|
2016-01-15 01:08:19 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"constants": [
|
|
|
|
{
|
|
|
|
"key": "MCT_SCROLL_X_PROPERTY",
|
|
|
|
"value": "scrollLeft"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "MCT_SCROLL_X_ATTRIBUTE",
|
|
|
|
"value": "mctScrollX"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "MCT_SCROLL_Y_PROPERTY",
|
|
|
|
"value": "scrollTop"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "MCT_SCROLL_Y_ATTRIBUTE",
|
|
|
|
"value": "mctScrollY"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "THEME",
|
|
|
|
"value": "unspecified",
|
|
|
|
"priority": "fallback"
|
2016-09-30 17:25:22 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "ASSETS_PATH",
|
|
|
|
"value": ".",
|
|
|
|
"priority": "fallback"
|
2016-01-15 01:08:19 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"containers": [
|
|
|
|
{
|
|
|
|
"key": "accordion",
|
2016-02-26 21:07:50 +00:00
|
|
|
"template": accordionTemplate,
|
2016-01-15 01:08:19 +00:00
|
|
|
"attributes": [
|
|
|
|
"label"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"representations": [
|
|
|
|
{
|
|
|
|
"key": "tree",
|
2016-02-26 21:07:50 +00:00
|
|
|
"template": subtreeTemplate,
|
2016-01-15 01:08:19 +00:00
|
|
|
"uses": [
|
|
|
|
"composition"
|
|
|
|
],
|
|
|
|
"type": "root",
|
|
|
|
"priority": "preferred"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "tree",
|
2016-02-26 21:07:50 +00:00
|
|
|
"template": treeTemplate
|
2016-01-15 01:08:19 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "subtree",
|
2016-02-26 21:07:50 +00:00
|
|
|
"template": subtreeTemplate,
|
2016-01-15 01:08:19 +00:00
|
|
|
"uses": [
|
|
|
|
"composition"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "tree-node",
|
2016-02-26 21:07:50 +00:00
|
|
|
"template": treeNodeTemplate,
|
2016-01-15 01:08:19 +00:00
|
|
|
"uses": [
|
|
|
|
"action"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "label",
|
2016-02-26 21:07:50 +00:00
|
|
|
"template": labelTemplate,
|
2016-01-15 01:08:19 +00:00
|
|
|
"uses": [
|
|
|
|
"type",
|
|
|
|
"location"
|
|
|
|
],
|
|
|
|
"gestures": [
|
|
|
|
"drag",
|
|
|
|
"menu",
|
|
|
|
"info"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "node",
|
2016-02-26 21:07:50 +00:00
|
|
|
"template": labelTemplate,
|
2016-01-15 01:08:19 +00:00
|
|
|
"uses": [
|
|
|
|
"type"
|
|
|
|
],
|
|
|
|
"gestures": [
|
|
|
|
"drag",
|
|
|
|
"menu"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "action-group",
|
2016-02-26 21:07:50 +00:00
|
|
|
"template": actionGroupTemplate,
|
2016-01-15 01:08:19 +00:00
|
|
|
"uses": [
|
|
|
|
"action"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "switcher",
|
2016-02-26 21:07:50 +00:00
|
|
|
"template": switcherTemplate,
|
2016-01-15 01:08:19 +00:00
|
|
|
"uses": [
|
|
|
|
"view"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "object-inspector",
|
2016-02-26 21:07:50 +00:00
|
|
|
"template": objectInspectorTemplate
|
2016-01-15 01:08:19 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"controls": [
|
|
|
|
{
|
|
|
|
"key": "selector",
|
2016-02-26 21:07:50 +00:00
|
|
|
"template": selectorTemplate
|
2016-01-15 01:08:19 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "datetime-picker",
|
2016-02-26 21:07:50 +00:00
|
|
|
"template": datetimePickerTemplate
|
2016-01-15 01:08:19 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "datetime-field",
|
2016-02-26 21:07:50 +00:00
|
|
|
"template": datetimeFieldTemplate
|
2016-01-15 01:08:19 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"licenses": [
|
|
|
|
{
|
|
|
|
"name": "Normalize.css",
|
|
|
|
"version": "1.1.2",
|
|
|
|
"description": "Browser style normalization",
|
|
|
|
"author": "Nicolas Gallagher, Jonathan Neal",
|
|
|
|
"website": "http://necolas.github.io/normalize.css/",
|
|
|
|
"copyright": "Copyright (c) Nicolas Gallagher and Jonathan Neal",
|
|
|
|
"license": "license-mit",
|
|
|
|
"link": "https://github.com/necolas/normalize.css/blob/v1.1.2/LICENSE.md"
|
2016-03-11 20:38:40 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Zepto",
|
|
|
|
"version": "1.1.6",
|
|
|
|
"description": "DOM manipulation",
|
|
|
|
"author": "Thomas Fuchs",
|
|
|
|
"website": "http://zeptojs.com/",
|
|
|
|
"copyright": "Copyright (c) 2010-2016 Thomas Fuchs",
|
|
|
|
"license": "license-mit",
|
|
|
|
"link": "https://github.com/madrobby/zepto/blob/master/MIT-LICENSE"
|
2016-01-15 01:08:19 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|