openmct/example/styleguide/bundle.js

95 lines
2.9 KiB
JavaScript
Raw Normal View History

define([
"./src/ExampleStyleGuideModelProvider",
2017-01-30 21:46:24 +00:00
"./src/MCTExample",
'legacyRegistry'
], function (
ExampleStyleGuideModelProvider,
2017-01-30 21:46:24 +00:00
MCTExample,
legacyRegistry
) {
legacyRegistry.register("example/styleguide", {
"name": "Open MCT Style Guide",
"description": "Examples and documentation illustrating UI styles in use in Open MCT.",
"extensions":
{
"types": [
{
"key": "styleguide.intro",
"name": "Introduction",
"cssclass": "icon-page",
"description": "Introduction and overview to the style guide."
},
{
"key": "styleguide.controls",
"name": "Controls",
"cssclass": "icon-page",
"description": "Open MCT Controls"
}
],
"views": [
{
"key": "styleguide.intro",
"type": "styleguide.intro",
"cssclass": "icon-page",
"name": "Introduction",
"templateUrl": "templates/intro.html",
"editable": false
},
{
"key": "styleguide.controls",
"type": "styleguide.controls",
"cssclass": "icon-page",
"name": "Controls",
"templateUrl": "templates/controls.html",
"editable": false
}
],
"roots": [
{
"id": "styleguide:folder"
}
],
"models": [
{
"id": "styleguide:folder",
"priority" : "preferred",
"model": {
"type": "folder",
"name": "Style Guide",
"composition": [
"intro",
"controls"
]
}
}
],
2017-01-30 21:46:24 +00:00
"directives": [
{
"key": "mctExample",
"implementation": MCTExample
}
],
"components": [
{
"provides": "modelService",
"type": "provider",
"implementation": ExampleStyleGuideModelProvider,
"depends": [
"$q"
]
}
],
"stylesheets": [
{
"stylesheetUrl": "css/style-guide-espresso.css",
"theme": "espresso"
},
{
"stylesheetUrl": "css/time-conductor-snow.css",
"theme": "snow"
}
]
}
});
2017-01-30 21:46:24 +00:00
});