Compare commits
	
		
			3 Commits
		
	
	
		
			release/2.
			...
			open450
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						 | 
					4a0d50c7bd | ||
| 
						 | 
					b8aaba26dd | ||
| 
						 | 
					ba8d926ebb | 
							
								
								
									
										58
									
								
								example/builtins/bundle.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										58
									
								
								example/builtins/bundle.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,58 @@
 | 
			
		||||
/*****************************************************************************
 | 
			
		||||
 * Open MCT Web, Copyright (c) 2014-2015, United States Government
 | 
			
		||||
 * as represented by the Administrator of the National Aeronautics and Space
 | 
			
		||||
 * Administration. All rights reserved.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web is licensed under the Apache License, Version 2.0 (the
 | 
			
		||||
 * "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.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web includes source code licensed under additional open source
 | 
			
		||||
 * 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.
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
/*global define*/
 | 
			
		||||
 | 
			
		||||
define(['legacyRegistry'], function (legacyRegistry) {
 | 
			
		||||
    "use strict";
 | 
			
		||||
    legacyRegistry.register("example/builtins", {
 | 
			
		||||
        "name": "Angular Built-ins Example",
 | 
			
		||||
        "description": "Example showing how to declare extensions with built-in support from Angular.",
 | 
			
		||||
        "sources": "src",
 | 
			
		||||
        "extensions": {
 | 
			
		||||
            "controllers": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "ExampleController",
 | 
			
		||||
                    "implementation": "ExampleController.js",
 | 
			
		||||
                    "depends": [ "$scope", "exampleService" ]
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "directives": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "exampleDirective",
 | 
			
		||||
                    "implementation": "ExampleDirective.js",
 | 
			
		||||
                    "depends": [ "examples[]" ]
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "routes": [
 | 
			
		||||
                {
 | 
			
		||||
                    "templateUrl": "templates/example.html"
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "services": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "exampleService",
 | 
			
		||||
                    "implementation": "ExampleService.js"
 | 
			
		||||
                }
 | 
			
		||||
            ]
 | 
			
		||||
        }
 | 
			
		||||
    });
 | 
			
		||||
});
 | 
			
		||||
@@ -1,32 +0,0 @@
 | 
			
		||||
{
 | 
			
		||||
    "name": "Angular Built-ins Example",
 | 
			
		||||
    "description": "Example showing how to declare extensions with built-in support from Angular.",
 | 
			
		||||
    "sources": "src",
 | 
			
		||||
    "extensions": {
 | 
			
		||||
        "controllers": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "ExampleController",
 | 
			
		||||
                "implementation": "ExampleController.js",
 | 
			
		||||
                "depends": [ "$scope", "exampleService" ]
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "directives": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "exampleDirective",
 | 
			
		||||
                "implementation": "ExampleDirective.js",
 | 
			
		||||
                "depends": [ "examples[]" ]
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "routes": [
 | 
			
		||||
            {
 | 
			
		||||
                "templateUrl": "templates/example.html"
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "services": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "exampleService",
 | 
			
		||||
                "implementation": "ExampleService.js"
 | 
			
		||||
            }
 | 
			
		||||
        ]
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										63
									
								
								example/composite/bundle.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										63
									
								
								example/composite/bundle.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,63 @@
 | 
			
		||||
/*****************************************************************************
 | 
			
		||||
 * Open MCT Web, Copyright (c) 2014-2015, United States Government
 | 
			
		||||
 * as represented by the Administrator of the National Aeronautics and Space
 | 
			
		||||
 * Administration. All rights reserved.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web is licensed under the Apache License, Version 2.0 (the
 | 
			
		||||
 * "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.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web includes source code licensed under additional open source
 | 
			
		||||
 * 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.
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
/*global define*/
 | 
			
		||||
 | 
			
		||||
define(['legacyRegistry'], function (legacyRegistry) {
 | 
			
		||||
    "use strict";
 | 
			
		||||
    legacyRegistry.register("example/composite", {
 | 
			
		||||
        "extensions": {
 | 
			
		||||
            "components": [
 | 
			
		||||
                {
 | 
			
		||||
                    "implementation": "SomeProvider.js",
 | 
			
		||||
                    "provides": "someService",
 | 
			
		||||
                    "type": "provider"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "implementation": "SomeOtherProvider.js",
 | 
			
		||||
                    "provides": "someService",
 | 
			
		||||
                    "type": "provider"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "implementation": "SomeDecorator.js",
 | 
			
		||||
                    "provides": "someService",
 | 
			
		||||
                    "type": "decorator"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "implementation": "SomeOtherDecorator.js",
 | 
			
		||||
                    "provides": "someService",
 | 
			
		||||
                    "type": "decorator"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "implementation": "SomeAggregator.js",
 | 
			
		||||
                    "provides": "someService",
 | 
			
		||||
                    "type": "aggregator"
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "examples": [
 | 
			
		||||
                {
 | 
			
		||||
                    "implementation": "SomeOtherExample.js",
 | 
			
		||||
                    "depends": [ "someService" ]
 | 
			
		||||
                }
 | 
			
		||||
            ]
 | 
			
		||||
        }
 | 
			
		||||
    });
 | 
			
		||||
});
 | 
			
		||||
@@ -1,37 +0,0 @@
 | 
			
		||||
{
 | 
			
		||||
    "extensions": {
 | 
			
		||||
        "components": [
 | 
			
		||||
            {
 | 
			
		||||
                "implementation": "SomeProvider.js",
 | 
			
		||||
                "provides": "someService",
 | 
			
		||||
                "type": "provider"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "implementation": "SomeOtherProvider.js",
 | 
			
		||||
                "provides": "someService",
 | 
			
		||||
                "type": "provider"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "implementation": "SomeDecorator.js",
 | 
			
		||||
                "provides": "someService",
 | 
			
		||||
                "type": "decorator"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "implementation": "SomeOtherDecorator.js",
 | 
			
		||||
                "provides": "someService",
 | 
			
		||||
                "type": "decorator"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "implementation": "SomeAggregator.js",
 | 
			
		||||
                "provides": "someService",
 | 
			
		||||
                "type": "aggregator"
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "examples": [
 | 
			
		||||
            {
 | 
			
		||||
                "implementation": "SomeOtherExample.js",
 | 
			
		||||
                "depends": [ "someService" ]
 | 
			
		||||
            }
 | 
			
		||||
        ]
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										58
									
								
								example/eventGenerator/bundle.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										58
									
								
								example/eventGenerator/bundle.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,58 @@
 | 
			
		||||
/*****************************************************************************
 | 
			
		||||
 * Open MCT Web, Copyright (c) 2014-2015, United States Government
 | 
			
		||||
 * as represented by the Administrator of the National Aeronautics and Space
 | 
			
		||||
 * Administration. All rights reserved.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web is licensed under the Apache License, Version 2.0 (the
 | 
			
		||||
 * "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.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web includes source code licensed under additional open source
 | 
			
		||||
 * 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.
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
/*global define*/
 | 
			
		||||
 | 
			
		||||
define(['legacyRegistry'], function (legacyRegistry) {
 | 
			
		||||
    "use strict";
 | 
			
		||||
    legacyRegistry.register("example/eventGenerator", {
 | 
			
		||||
        "name": "Event Message Generator",
 | 
			
		||||
        "description": "Example of a component that produces event data.",
 | 
			
		||||
        "extensions": {
 | 
			
		||||
            "components": [
 | 
			
		||||
                {
 | 
			
		||||
                    "implementation": "EventTelemetryProvider.js",
 | 
			
		||||
                    "type": "provider",
 | 
			
		||||
                    "provides": "telemetryService",
 | 
			
		||||
                    "depends": [ "$q", "$timeout" ]
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "types": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "eventGenerator",
 | 
			
		||||
                    "name": "Event Message Generator",
 | 
			
		||||
                    "glyph": "f",
 | 
			
		||||
                    "description": "An event message generator",
 | 
			
		||||
                    "features": "creation",
 | 
			
		||||
                    "model": {
 | 
			
		||||
                        "telemetry": {}
 | 
			
		||||
                    },
 | 
			
		||||
                    "telemetry": {
 | 
			
		||||
                        "source": "eventGenerator",
 | 
			
		||||
                        "ranges": [
 | 
			
		||||
                            { "format": "string" }
 | 
			
		||||
                        ]
 | 
			
		||||
                    }
 | 
			
		||||
                }
 | 
			
		||||
            ]
 | 
			
		||||
        }
 | 
			
		||||
    });
 | 
			
		||||
});
 | 
			
		||||
@@ -1,32 +0,0 @@
 | 
			
		||||
{
 | 
			
		||||
    "name": "Event Message Generator",
 | 
			
		||||
    "description": "Example of a component that produces event data.",
 | 
			
		||||
    "extensions": {
 | 
			
		||||
        "components": [
 | 
			
		||||
            {
 | 
			
		||||
                "implementation": "EventTelemetryProvider.js",
 | 
			
		||||
                "type": "provider",
 | 
			
		||||
                "provides": "telemetryService",
 | 
			
		||||
                "depends": [ "$q", "$timeout" ]
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "types": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "eventGenerator",
 | 
			
		||||
                "name": "Event Message Generator",
 | 
			
		||||
                "glyph": "f",
 | 
			
		||||
                "description": "An event message generator",
 | 
			
		||||
                "features": "creation",
 | 
			
		||||
                "model": {
 | 
			
		||||
                    "telemetry": {}
 | 
			
		||||
                },
 | 
			
		||||
                "telemetry": {
 | 
			
		||||
                    "source": "eventGenerator",
 | 
			
		||||
                    "ranges": [
 | 
			
		||||
                        { "format": "string" }
 | 
			
		||||
                    ]
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        ]
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										42
									
								
								example/extensions/bundle.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										42
									
								
								example/extensions/bundle.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,42 @@
 | 
			
		||||
/*****************************************************************************
 | 
			
		||||
 * Open MCT Web, Copyright (c) 2014-2015, United States Government
 | 
			
		||||
 * as represented by the Administrator of the National Aeronautics and Space
 | 
			
		||||
 * Administration. All rights reserved.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web is licensed under the Apache License, Version 2.0 (the
 | 
			
		||||
 * "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.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web includes source code licensed under additional open source
 | 
			
		||||
 * 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.
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
/*global define*/
 | 
			
		||||
 | 
			
		||||
define(['legacyRegistry'], function (legacyRegistry) {
 | 
			
		||||
    "use strict";
 | 
			
		||||
    legacyRegistry.register("example/extensions", {
 | 
			
		||||
        "name": "Custom Extensions Examples",
 | 
			
		||||
        "description": "Example showing how to declare custom extensions.",
 | 
			
		||||
        "sources": "src",
 | 
			
		||||
        "extensions": {
 | 
			
		||||
            "examples": [
 | 
			
		||||
                {
 | 
			
		||||
                    "text": "I came from example/extensions"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "implementation": "SomeExample.js",
 | 
			
		||||
                    "depends": [ "exampleService" ]
 | 
			
		||||
                }
 | 
			
		||||
            ]
 | 
			
		||||
        }
 | 
			
		||||
    });
 | 
			
		||||
});
 | 
			
		||||
@@ -1,16 +0,0 @@
 | 
			
		||||
{
 | 
			
		||||
    "name": "Custom Extensions Examples",
 | 
			
		||||
    "description": "Example showing how to declare custom extensions.",
 | 
			
		||||
    "sources": "src",
 | 
			
		||||
    "extensions": {
 | 
			
		||||
        "examples": [
 | 
			
		||||
            {
 | 
			
		||||
                "text": "I came from example/extensions"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "implementation": "SomeExample.js",
 | 
			
		||||
                "depends": [ "exampleService" ]
 | 
			
		||||
            }
 | 
			
		||||
        ]
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										44
									
								
								example/forms/bundle.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										44
									
								
								example/forms/bundle.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,44 @@
 | 
			
		||||
/*****************************************************************************
 | 
			
		||||
 * Open MCT Web, Copyright (c) 2014-2015, United States Government
 | 
			
		||||
 * as represented by the Administrator of the National Aeronautics and Space
 | 
			
		||||
 * Administration. All rights reserved.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web is licensed under the Apache License, Version 2.0 (the
 | 
			
		||||
 * "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.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web includes source code licensed under additional open source
 | 
			
		||||
 * 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.
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
/*global define*/
 | 
			
		||||
 | 
			
		||||
define(['legacyRegistry'], function (legacyRegistry) {
 | 
			
		||||
    "use strict";
 | 
			
		||||
    legacyRegistry.register("example/forms", {
 | 
			
		||||
        "name": "Declarative Forms example",
 | 
			
		||||
        "sources": "src",
 | 
			
		||||
        "extensions": {
 | 
			
		||||
            "controllers": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "ExampleFormController",
 | 
			
		||||
                    "implementation": "ExampleFormController.js",
 | 
			
		||||
                    "depends": [ "$scope" ]
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "routes": [
 | 
			
		||||
                {
 | 
			
		||||
                    "templateUrl": "templates/exampleForm.html"
 | 
			
		||||
                }
 | 
			
		||||
            ]
 | 
			
		||||
        }
 | 
			
		||||
    });
 | 
			
		||||
});
 | 
			
		||||
@@ -1,18 +0,0 @@
 | 
			
		||||
{
 | 
			
		||||
    "name": "Declarative Forms example",
 | 
			
		||||
    "sources": "src",
 | 
			
		||||
    "extensions": {
 | 
			
		||||
        "controllers": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "ExampleFormController",
 | 
			
		||||
                "implementation": "ExampleFormController.js",
 | 
			
		||||
                "depends": [ "$scope" ]
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "routes": [
 | 
			
		||||
            {
 | 
			
		||||
                "templateUrl": "templates/exampleForm.html"
 | 
			
		||||
            }
 | 
			
		||||
        ]
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										116
									
								
								example/generator/bundle.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										116
									
								
								example/generator/bundle.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,116 @@
 | 
			
		||||
/*****************************************************************************
 | 
			
		||||
 * Open MCT Web, Copyright (c) 2014-2015, United States Government
 | 
			
		||||
 * as represented by the Administrator of the National Aeronautics and Space
 | 
			
		||||
 * Administration. All rights reserved.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web is licensed under the Apache License, Version 2.0 (the
 | 
			
		||||
 * "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.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web includes source code licensed under additional open source
 | 
			
		||||
 * 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.
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
/*global define*/
 | 
			
		||||
 | 
			
		||||
define(['legacyRegistry'], function (legacyRegistry) {
 | 
			
		||||
    "use strict";
 | 
			
		||||
    legacyRegistry.register("example/generator", {
 | 
			
		||||
        "name": "Sine Wave Generator",
 | 
			
		||||
        "description": "Example of a component that produces dataa.",
 | 
			
		||||
        "extensions": {
 | 
			
		||||
            "components": [
 | 
			
		||||
                {
 | 
			
		||||
                    "implementation": "SinewaveTelemetryProvider.js",
 | 
			
		||||
                    "type": "provider",
 | 
			
		||||
                    "provides": "telemetryService",
 | 
			
		||||
                    "depends": [ "$q", "$timeout" ]
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "capabilities": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "limit",
 | 
			
		||||
                    "implementation": "SinewaveLimitCapability.js"
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "formats": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "example.delta",
 | 
			
		||||
                    "implementation": "SinewaveDeltaFormat.js"
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "constants": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "TIME_CONDUCTOR_DOMAINS",
 | 
			
		||||
                    "value": [
 | 
			
		||||
                        { "key": "time", "name": "Time" },
 | 
			
		||||
                        { "key": "yesterday", "name": "Yesterday" },
 | 
			
		||||
                        { "key": "delta", "name": "Delta", "format": "example.delta" }
 | 
			
		||||
                    ],
 | 
			
		||||
                    "priority": -1
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "types": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "generator",
 | 
			
		||||
                    "name": "Sine Wave Generator",
 | 
			
		||||
                    "glyph": "T",
 | 
			
		||||
                    "description": "A sine wave generator",
 | 
			
		||||
                    "features": "creation",
 | 
			
		||||
                    "model": {
 | 
			
		||||
                        "telemetry": {
 | 
			
		||||
                            "period": 10
 | 
			
		||||
                        }
 | 
			
		||||
                    },
 | 
			
		||||
                    "telemetry": {
 | 
			
		||||
                        "source": "generator",
 | 
			
		||||
                        "domains": [
 | 
			
		||||
                            {
 | 
			
		||||
                                "key": "time",
 | 
			
		||||
                                "name": "Time"
 | 
			
		||||
                            },
 | 
			
		||||
                            {
 | 
			
		||||
                                "key": "yesterday",
 | 
			
		||||
                                "name": "Yesterday"
 | 
			
		||||
                            },
 | 
			
		||||
                            {
 | 
			
		||||
                                "key": "delta",
 | 
			
		||||
                                "name": "Delta",
 | 
			
		||||
                                "format": "example.delta"
 | 
			
		||||
                            }
 | 
			
		||||
                        ],
 | 
			
		||||
                        "ranges": [
 | 
			
		||||
                            {
 | 
			
		||||
                                "key": "sin",
 | 
			
		||||
                                "name": "Sine"
 | 
			
		||||
                            },
 | 
			
		||||
                            {
 | 
			
		||||
                                "key": "cos",
 | 
			
		||||
                                "name": "Cosine"
 | 
			
		||||
                            }
 | 
			
		||||
                        ]
 | 
			
		||||
                    },
 | 
			
		||||
                    "properties": [
 | 
			
		||||
                        {
 | 
			
		||||
                            "name": "Period",
 | 
			
		||||
                            "control": "textfield",
 | 
			
		||||
                            "cssclass": "l-small l-numeric",
 | 
			
		||||
                            "key": "period",
 | 
			
		||||
                            "required": true,
 | 
			
		||||
                            "property": [ "telemetry", "period" ],
 | 
			
		||||
                            "pattern": "^\\d*(\\.\\d*)?$"
 | 
			
		||||
                        }
 | 
			
		||||
                    ]
 | 
			
		||||
                }
 | 
			
		||||
            ]
 | 
			
		||||
        }
 | 
			
		||||
    });
 | 
			
		||||
});
 | 
			
		||||
@@ -1,90 +0,0 @@
 | 
			
		||||
{
 | 
			
		||||
    "name": "Sine Wave Generator",
 | 
			
		||||
    "description": "Example of a component that produces dataa.",
 | 
			
		||||
    "extensions": {
 | 
			
		||||
        "components": [
 | 
			
		||||
            {
 | 
			
		||||
                "implementation": "SinewaveTelemetryProvider.js",
 | 
			
		||||
                "type": "provider",
 | 
			
		||||
                "provides": "telemetryService",
 | 
			
		||||
                "depends": [ "$q", "$timeout" ]
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "capabilities": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "limit",
 | 
			
		||||
                "implementation": "SinewaveLimitCapability.js"
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "formats": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "example.delta",
 | 
			
		||||
                "implementation": "SinewaveDeltaFormat.js"
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "constants": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "TIME_CONDUCTOR_DOMAINS",
 | 
			
		||||
                "value": [
 | 
			
		||||
                    { "key": "time", "name": "Time" },
 | 
			
		||||
                    { "key": "yesterday", "name": "Yesterday" },
 | 
			
		||||
                    { "key": "delta", "name": "Delta", "format": "example.delta" }
 | 
			
		||||
                ],
 | 
			
		||||
                "priority": -1
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "types": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "generator",
 | 
			
		||||
                "name": "Sine Wave Generator",
 | 
			
		||||
                "glyph": "T",
 | 
			
		||||
                "description": "A sine wave generator",
 | 
			
		||||
                "features": "creation",
 | 
			
		||||
                "model": {
 | 
			
		||||
                    "telemetry": {
 | 
			
		||||
                        "period": 10
 | 
			
		||||
                    }
 | 
			
		||||
                },
 | 
			
		||||
                "telemetry": {
 | 
			
		||||
                    "source": "generator",
 | 
			
		||||
                    "domains": [
 | 
			
		||||
                        {
 | 
			
		||||
                            "key": "time",
 | 
			
		||||
                            "name": "Time"
 | 
			
		||||
                        },
 | 
			
		||||
                        {
 | 
			
		||||
                            "key": "yesterday",
 | 
			
		||||
                            "name": "Yesterday"
 | 
			
		||||
                        },
 | 
			
		||||
                        {
 | 
			
		||||
                            "key": "delta",
 | 
			
		||||
                            "name": "Delta",
 | 
			
		||||
                            "format": "example.delta"
 | 
			
		||||
                        }
 | 
			
		||||
                    ],
 | 
			
		||||
                    "ranges": [
 | 
			
		||||
                        {
 | 
			
		||||
                            "key": "sin",
 | 
			
		||||
                            "name": "Sine"
 | 
			
		||||
                        },
 | 
			
		||||
                        {
 | 
			
		||||
                            "key": "cos",
 | 
			
		||||
                            "name": "Cosine"
 | 
			
		||||
                        }
 | 
			
		||||
                    ]
 | 
			
		||||
                },
 | 
			
		||||
                "properties": [
 | 
			
		||||
                    {
 | 
			
		||||
                        "name": "Period",
 | 
			
		||||
                        "control": "textfield",
 | 
			
		||||
                        "cssclass": "l-small l-numeric",
 | 
			
		||||
                        "key": "period",
 | 
			
		||||
                        "required": true,
 | 
			
		||||
                        "property": [ "telemetry", "period" ],
 | 
			
		||||
                        "pattern": "^\\d*(\\.\\d*)?$"
 | 
			
		||||
                    }
 | 
			
		||||
                ]
 | 
			
		||||
            }
 | 
			
		||||
        ]
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										38
									
								
								example/identity/bundle.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										38
									
								
								example/identity/bundle.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,38 @@
 | 
			
		||||
/*****************************************************************************
 | 
			
		||||
 * Open MCT Web, Copyright (c) 2014-2015, United States Government
 | 
			
		||||
 * as represented by the Administrator of the National Aeronautics and Space
 | 
			
		||||
 * Administration. All rights reserved.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web is licensed under the Apache License, Version 2.0 (the
 | 
			
		||||
 * "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.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web includes source code licensed under additional open source
 | 
			
		||||
 * 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.
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
/*global define*/
 | 
			
		||||
 | 
			
		||||
define(['legacyRegistry'], function (legacyRegistry) {
 | 
			
		||||
    "use strict";
 | 
			
		||||
    legacyRegistry.register("example/identity", {
 | 
			
		||||
        "extensions": {
 | 
			
		||||
            "components": [
 | 
			
		||||
                {
 | 
			
		||||
                    "implementation": "ExampleIdentityService.js",
 | 
			
		||||
                    "provides": "identityService",
 | 
			
		||||
                    "type": "provider",
 | 
			
		||||
                    "depends": [ "dialogService" ]
 | 
			
		||||
                }
 | 
			
		||||
            ]
 | 
			
		||||
        }
 | 
			
		||||
    });
 | 
			
		||||
});
 | 
			
		||||
@@ -1,12 +0,0 @@
 | 
			
		||||
{
 | 
			
		||||
    "extensions": {
 | 
			
		||||
        "components": [
 | 
			
		||||
            {
 | 
			
		||||
                "implementation": "ExampleIdentityService.js",
 | 
			
		||||
                "provides": "identityService",
 | 
			
		||||
                "type": "provider",
 | 
			
		||||
                "depends": [ "dialogService" ]
 | 
			
		||||
            }
 | 
			
		||||
        ]
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										68
									
								
								example/imagery/bundle.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										68
									
								
								example/imagery/bundle.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,68 @@
 | 
			
		||||
/*****************************************************************************
 | 
			
		||||
 * Open MCT Web, Copyright (c) 2014-2015, United States Government
 | 
			
		||||
 * as represented by the Administrator of the National Aeronautics and Space
 | 
			
		||||
 * Administration. All rights reserved.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web is licensed under the Apache License, Version 2.0 (the
 | 
			
		||||
 * "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.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web includes source code licensed under additional open source
 | 
			
		||||
 * 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.
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
/*global define*/
 | 
			
		||||
 | 
			
		||||
define(['legacyRegistry'], function (legacyRegistry) {
 | 
			
		||||
    "use strict";
 | 
			
		||||
    legacyRegistry.register("example/imagery", {
 | 
			
		||||
        "name": "Imagery",
 | 
			
		||||
        "description": "Example of a component that produces image telemetry.",
 | 
			
		||||
        "extensions": {
 | 
			
		||||
            "components": [
 | 
			
		||||
                {
 | 
			
		||||
                    "implementation": "ImageTelemetryProvider.js",
 | 
			
		||||
                    "type": "provider",
 | 
			
		||||
                    "provides": "telemetryService",
 | 
			
		||||
                    "depends": [ "$q", "$timeout" ]
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "types": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "imagery",
 | 
			
		||||
                    "name": "Example Imagery",
 | 
			
		||||
                    "glyph": "T",
 | 
			
		||||
                    "features": "creation",
 | 
			
		||||
                    "model": {
 | 
			
		||||
                        "telemetry": {}
 | 
			
		||||
                    },
 | 
			
		||||
                    "telemetry": {
 | 
			
		||||
                        "source": "imagery",
 | 
			
		||||
                        "domains": [
 | 
			
		||||
                            {
 | 
			
		||||
                                "name": "Time",
 | 
			
		||||
                                "key": "time",
 | 
			
		||||
                                "format": "timestamp"
 | 
			
		||||
                            }
 | 
			
		||||
                        ],
 | 
			
		||||
                        "ranges": [
 | 
			
		||||
                            {
 | 
			
		||||
                                "name": "Image",
 | 
			
		||||
                                "key": "url",
 | 
			
		||||
                                "format": "imageUrl"
 | 
			
		||||
                            }
 | 
			
		||||
                        ]
 | 
			
		||||
                    }
 | 
			
		||||
                }
 | 
			
		||||
            ]
 | 
			
		||||
        }
 | 
			
		||||
    });
 | 
			
		||||
});
 | 
			
		||||
@@ -1,42 +0,0 @@
 | 
			
		||||
{
 | 
			
		||||
    "name": "Imagery",
 | 
			
		||||
    "description": "Example of a component that produces image telemetry.",
 | 
			
		||||
    "extensions": {
 | 
			
		||||
        "components": [
 | 
			
		||||
            {
 | 
			
		||||
                "implementation": "ImageTelemetryProvider.js",
 | 
			
		||||
                "type": "provider",
 | 
			
		||||
                "provides": "telemetryService",
 | 
			
		||||
                "depends": [ "$q", "$timeout" ]
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "types": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "imagery",
 | 
			
		||||
                "name": "Example Imagery",
 | 
			
		||||
                "glyph": "T",
 | 
			
		||||
                "features": "creation",
 | 
			
		||||
                "model": {
 | 
			
		||||
                    "telemetry": {}
 | 
			
		||||
                },
 | 
			
		||||
                "telemetry": {
 | 
			
		||||
                    "source": "imagery",
 | 
			
		||||
                    "domains": [
 | 
			
		||||
                        {
 | 
			
		||||
                            "name": "Time",
 | 
			
		||||
                            "key": "time",
 | 
			
		||||
                            "format": "timestamp"
 | 
			
		||||
                        }
 | 
			
		||||
                    ],
 | 
			
		||||
                    "ranges": [
 | 
			
		||||
                        {
 | 
			
		||||
                            "name": "Image",
 | 
			
		||||
                            "key": "url",
 | 
			
		||||
                            "format": "imageUrl"
 | 
			
		||||
                        }
 | 
			
		||||
                    ]
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        ]
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										38
									
								
								example/mobile/bundle.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										38
									
								
								example/mobile/bundle.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,38 @@
 | 
			
		||||
/*****************************************************************************
 | 
			
		||||
 * Open MCT Web, Copyright (c) 2014-2015, United States Government
 | 
			
		||||
 * as represented by the Administrator of the National Aeronautics and Space
 | 
			
		||||
 * Administration. All rights reserved.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web is licensed under the Apache License, Version 2.0 (the
 | 
			
		||||
 * "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.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web includes source code licensed under additional open source
 | 
			
		||||
 * 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.
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
/*global define*/
 | 
			
		||||
 | 
			
		||||
define(['legacyRegistry'], function (legacyRegistry) {
 | 
			
		||||
    "use strict";
 | 
			
		||||
    legacyRegistry.register("example/mobile", {
 | 
			
		||||
      "name": "Mobile",
 | 
			
		||||
      "description": "Allows elements with pertinence to mobile usage and development",
 | 
			
		||||
      "extensions": {
 | 
			
		||||
        "stylesheets": [
 | 
			
		||||
          {
 | 
			
		||||
            "stylesheetUrl": "css/mobile-example.css",
 | 
			
		||||
            "priority": "mandatory"
 | 
			
		||||
          }
 | 
			
		||||
        ]
 | 
			
		||||
      }
 | 
			
		||||
    });
 | 
			
		||||
});
 | 
			
		||||
@@ -1,12 +0,0 @@
 | 
			
		||||
{
 | 
			
		||||
  "name": "Mobile",
 | 
			
		||||
  "description": "Allows elements with pertinence to mobile usage and development",
 | 
			
		||||
  "extensions": {
 | 
			
		||||
    "stylesheets": [
 | 
			
		||||
      {
 | 
			
		||||
        "stylesheetUrl": "css/mobile-example.css",
 | 
			
		||||
        "priority": "mandatory"
 | 
			
		||||
      }
 | 
			
		||||
    ]
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										73
									
								
								example/notifications/bundle.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										73
									
								
								example/notifications/bundle.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,73 @@
 | 
			
		||||
/*****************************************************************************
 | 
			
		||||
 * Open MCT Web, Copyright (c) 2014-2015, United States Government
 | 
			
		||||
 * as represented by the Administrator of the National Aeronautics and Space
 | 
			
		||||
 * Administration. All rights reserved.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web is licensed under the Apache License, Version 2.0 (the
 | 
			
		||||
 * "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.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web includes source code licensed under additional open source
 | 
			
		||||
 * 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.
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
/*global define*/
 | 
			
		||||
 | 
			
		||||
define(['legacyRegistry'], function (legacyRegistry) {
 | 
			
		||||
    "use strict";
 | 
			
		||||
    legacyRegistry.register("example/notifications", {
 | 
			
		||||
        "extensions": {
 | 
			
		||||
            "templates": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "dialogLaunchTemplate",
 | 
			
		||||
                    "templateUrl": "dialog-launch.html"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "notificationLaunchTemplate",
 | 
			
		||||
                    "templateUrl": "notification-launch.html"
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "controllers": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "DialogLaunchController",
 | 
			
		||||
                    "implementation": "DialogLaunchController.js",
 | 
			
		||||
                    "depends": [
 | 
			
		||||
                        "$scope",
 | 
			
		||||
                        "$timeout",
 | 
			
		||||
                        "$log",
 | 
			
		||||
                        "dialogService",
 | 
			
		||||
                        "notificationService"
 | 
			
		||||
                    ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "NotificationLaunchController",
 | 
			
		||||
                    "implementation": "NotificationLaunchController.js",
 | 
			
		||||
                    "depends": [
 | 
			
		||||
                        "$scope",
 | 
			
		||||
                        "$timeout",
 | 
			
		||||
                        "$log",
 | 
			
		||||
                        "notificationService"
 | 
			
		||||
                    ]
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "indicators": [
 | 
			
		||||
                {
 | 
			
		||||
                    "implementation": "DialogLaunchIndicator.js",
 | 
			
		||||
                    "priority": "fallback"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "implementation": "NotificationLaunchIndicator.js",
 | 
			
		||||
                    "priority": "fallback"
 | 
			
		||||
                }
 | 
			
		||||
            ]
 | 
			
		||||
        }
 | 
			
		||||
    });
 | 
			
		||||
});
 | 
			
		||||
@@ -1,47 +0,0 @@
 | 
			
		||||
{
 | 
			
		||||
    "extensions": {
 | 
			
		||||
        "templates": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "dialogLaunchTemplate",
 | 
			
		||||
                "templateUrl": "dialog-launch.html"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "notificationLaunchTemplate",
 | 
			
		||||
                "templateUrl": "notification-launch.html"
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "controllers": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "DialogLaunchController",
 | 
			
		||||
                "implementation": "DialogLaunchController.js",
 | 
			
		||||
                "depends": [
 | 
			
		||||
                    "$scope",
 | 
			
		||||
                    "$timeout",
 | 
			
		||||
                    "$log",
 | 
			
		||||
                    "dialogService",
 | 
			
		||||
                    "notificationService"
 | 
			
		||||
                ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "NotificationLaunchController",
 | 
			
		||||
                "implementation": "NotificationLaunchController.js",
 | 
			
		||||
                "depends": [
 | 
			
		||||
                    "$scope",
 | 
			
		||||
                    "$timeout",
 | 
			
		||||
                    "$log",
 | 
			
		||||
                    "notificationService"
 | 
			
		||||
                ]
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "indicators": [
 | 
			
		||||
            {
 | 
			
		||||
                "implementation": "DialogLaunchIndicator.js",
 | 
			
		||||
                "priority": "fallback"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "implementation": "NotificationLaunchIndicator.js",
 | 
			
		||||
                "priority": "fallback"
 | 
			
		||||
            }
 | 
			
		||||
        ]
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										44
									
								
								example/persistence/bundle.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										44
									
								
								example/persistence/bundle.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,44 @@
 | 
			
		||||
/*****************************************************************************
 | 
			
		||||
 * Open MCT Web, Copyright (c) 2014-2015, United States Government
 | 
			
		||||
 * as represented by the Administrator of the National Aeronautics and Space
 | 
			
		||||
 * Administration. All rights reserved.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web is licensed under the Apache License, Version 2.0 (the
 | 
			
		||||
 * "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.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web includes source code licensed under additional open source
 | 
			
		||||
 * 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.
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
/*global define*/
 | 
			
		||||
 | 
			
		||||
define(['legacyRegistry'], function (legacyRegistry) {
 | 
			
		||||
    "use strict";
 | 
			
		||||
    legacyRegistry.register("example/persistence", {
 | 
			
		||||
        "extensions": {
 | 
			
		||||
            "components": [
 | 
			
		||||
                {
 | 
			
		||||
                    "provides": "persistenceService",
 | 
			
		||||
                    "type": "provider",
 | 
			
		||||
                    "implementation": "BrowserPersistenceProvider.js",
 | 
			
		||||
                    "depends": [ "$q", "PERSISTENCE_SPACE" ]
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "constants": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "PERSISTENCE_SPACE",
 | 
			
		||||
                    "value": "mct"
 | 
			
		||||
                }
 | 
			
		||||
            ]
 | 
			
		||||
        }
 | 
			
		||||
    });
 | 
			
		||||
});
 | 
			
		||||
@@ -1,18 +0,0 @@
 | 
			
		||||
{
 | 
			
		||||
    "extensions": {
 | 
			
		||||
        "components": [
 | 
			
		||||
            {
 | 
			
		||||
                "provides": "persistenceService",
 | 
			
		||||
                "type": "provider",
 | 
			
		||||
                "implementation": "BrowserPersistenceProvider.js",
 | 
			
		||||
                "depends": [ "$q", "PERSISTENCE_SPACE" ]
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "constants": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "PERSISTENCE_SPACE",
 | 
			
		||||
                "value": "mct"
 | 
			
		||||
            }
 | 
			
		||||
        ]
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										38
									
								
								example/policy/bundle.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										38
									
								
								example/policy/bundle.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,38 @@
 | 
			
		||||
/*****************************************************************************
 | 
			
		||||
 * Open MCT Web, Copyright (c) 2014-2015, United States Government
 | 
			
		||||
 * as represented by the Administrator of the National Aeronautics and Space
 | 
			
		||||
 * Administration. All rights reserved.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web is licensed under the Apache License, Version 2.0 (the
 | 
			
		||||
 * "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.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web includes source code licensed under additional open source
 | 
			
		||||
 * 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.
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
/*global define*/
 | 
			
		||||
 | 
			
		||||
define(['legacyRegistry'], function (legacyRegistry) {
 | 
			
		||||
    "use strict";
 | 
			
		||||
    legacyRegistry.register("example/policy", {
 | 
			
		||||
        "name": "Example Policy",
 | 
			
		||||
        "description": "Provides an example of using policies to prohibit actions.",
 | 
			
		||||
        "extensions": {
 | 
			
		||||
            "policies": [
 | 
			
		||||
                {
 | 
			
		||||
                    "implementation": "ExamplePolicy.js",
 | 
			
		||||
                    "category": "action"
 | 
			
		||||
                }
 | 
			
		||||
            ]
 | 
			
		||||
        }
 | 
			
		||||
    });
 | 
			
		||||
});
 | 
			
		||||
@@ -1,12 +0,0 @@
 | 
			
		||||
{
 | 
			
		||||
    "name": "Example Policy",
 | 
			
		||||
    "description": "Provides an example of using policies to prohibit actions.",
 | 
			
		||||
    "extensions": {
 | 
			
		||||
        "policies": [
 | 
			
		||||
            {
 | 
			
		||||
                "implementation": "ExamplePolicy.js",
 | 
			
		||||
                "category": "action"
 | 
			
		||||
            }
 | 
			
		||||
        ]
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										40
									
								
								example/profiling/bundle.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										40
									
								
								example/profiling/bundle.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,40 @@
 | 
			
		||||
/*****************************************************************************
 | 
			
		||||
 * Open MCT Web, Copyright (c) 2014-2015, United States Government
 | 
			
		||||
 * as represented by the Administrator of the National Aeronautics and Space
 | 
			
		||||
 * Administration. All rights reserved.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web is licensed under the Apache License, Version 2.0 (the
 | 
			
		||||
 * "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.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web includes source code licensed under additional open source
 | 
			
		||||
 * 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.
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
/*global define*/
 | 
			
		||||
 | 
			
		||||
define(['legacyRegistry'], function (legacyRegistry) {
 | 
			
		||||
    "use strict";
 | 
			
		||||
    legacyRegistry.register("example/profiling", {
 | 
			
		||||
        "extensions": {
 | 
			
		||||
            "indicators": [
 | 
			
		||||
                {
 | 
			
		||||
                    "implementation": "WatchIndicator.js",
 | 
			
		||||
                    "depends": ["$interval", "$rootScope"]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "implementation": "DigestIndicator.js",
 | 
			
		||||
                    "depends": ["$interval", "$rootScope"]
 | 
			
		||||
                }
 | 
			
		||||
            ]
 | 
			
		||||
        }
 | 
			
		||||
    });
 | 
			
		||||
});
 | 
			
		||||
@@ -1,14 +0,0 @@
 | 
			
		||||
{
 | 
			
		||||
    "extensions": {
 | 
			
		||||
        "indicators": [
 | 
			
		||||
            {
 | 
			
		||||
                "implementation": "WatchIndicator.js",
 | 
			
		||||
                "depends": ["$interval", "$rootScope"]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "implementation": "DigestIndicator.js",
 | 
			
		||||
                "depends": ["$interval", "$rootScope"]
 | 
			
		||||
            }
 | 
			
		||||
        ]
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										49
									
								
								example/scratchpad/bundle.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										49
									
								
								example/scratchpad/bundle.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,49 @@
 | 
			
		||||
/*****************************************************************************
 | 
			
		||||
 * Open MCT Web, Copyright (c) 2014-2015, United States Government
 | 
			
		||||
 * as represented by the Administrator of the National Aeronautics and Space
 | 
			
		||||
 * Administration. All rights reserved.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web is licensed under the Apache License, Version 2.0 (the
 | 
			
		||||
 * "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.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web includes source code licensed under additional open source
 | 
			
		||||
 * 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.
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
/*global define*/
 | 
			
		||||
 | 
			
		||||
define(['legacyRegistry'], function (legacyRegistry) {
 | 
			
		||||
    "use strict";
 | 
			
		||||
    legacyRegistry.register("example/scratchpad", {
 | 
			
		||||
        "extensions": {
 | 
			
		||||
            "roots": [
 | 
			
		||||
                {
 | 
			
		||||
                    "id": "scratch:root",
 | 
			
		||||
                    "model": {
 | 
			
		||||
                        "type": "folder",
 | 
			
		||||
                        "composition": [],
 | 
			
		||||
                        "name": "Scratchpad"
 | 
			
		||||
                    },
 | 
			
		||||
                    "priority": "preferred"
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "components": [
 | 
			
		||||
                {
 | 
			
		||||
                    "provides": "persistenceService",
 | 
			
		||||
                    "type": "provider",
 | 
			
		||||
                    "implementation": "ScratchPersistenceProvider.js",
 | 
			
		||||
                    "depends": [ "$q" ]
 | 
			
		||||
                }
 | 
			
		||||
            ]
 | 
			
		||||
        }
 | 
			
		||||
    });
 | 
			
		||||
});
 | 
			
		||||
@@ -1,23 +0,0 @@
 | 
			
		||||
{
 | 
			
		||||
    "extensions": {
 | 
			
		||||
        "roots": [
 | 
			
		||||
            {
 | 
			
		||||
                "id": "scratch:root",
 | 
			
		||||
                "model": {
 | 
			
		||||
                    "type": "folder",
 | 
			
		||||
                    "composition": [],
 | 
			
		||||
                    "name": "Scratchpad"
 | 
			
		||||
                },
 | 
			
		||||
                "priority": "preferred"
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "components": [
 | 
			
		||||
            {
 | 
			
		||||
                "provides": "persistenceService",
 | 
			
		||||
                "type": "provider",
 | 
			
		||||
                "implementation": "ScratchPersistenceProvider.js",
 | 
			
		||||
                "depends": [ "$q" ]
 | 
			
		||||
            }
 | 
			
		||||
        ]
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										54
									
								
								example/taxonomy/bundle.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										54
									
								
								example/taxonomy/bundle.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,54 @@
 | 
			
		||||
/*****************************************************************************
 | 
			
		||||
 * Open MCT Web, Copyright (c) 2014-2015, United States Government
 | 
			
		||||
 * as represented by the Administrator of the National Aeronautics and Space
 | 
			
		||||
 * Administration. All rights reserved.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web is licensed under the Apache License, Version 2.0 (the
 | 
			
		||||
 * "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.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web includes source code licensed under additional open source
 | 
			
		||||
 * 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.
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
/*global define*/
 | 
			
		||||
 | 
			
		||||
define(['legacyRegistry'], function (legacyRegistry) {
 | 
			
		||||
    "use strict";
 | 
			
		||||
    legacyRegistry.register("example/taxonomy", {
 | 
			
		||||
        "name": "Example taxonomy",
 | 
			
		||||
        "description": "Example illustrating the addition of a static top-level hierarchy",
 | 
			
		||||
        "extensions": {
 | 
			
		||||
            "roots": [
 | 
			
		||||
                {
 | 
			
		||||
                    "id": "exampleTaxonomy",
 | 
			
		||||
                    "model": {
 | 
			
		||||
                        "type": "folder",
 | 
			
		||||
                        "name": "Stub Subsystems",
 | 
			
		||||
                        "composition": [
 | 
			
		||||
                            "examplePacket0",
 | 
			
		||||
                            "examplePacket1",
 | 
			
		||||
                            "examplePacket2"
 | 
			
		||||
                        ]
 | 
			
		||||
                    }
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "components": [
 | 
			
		||||
                {
 | 
			
		||||
                    "provides": "modelService",
 | 
			
		||||
                    "type": "provider",
 | 
			
		||||
                    "implementation": "ExampleTaxonomyModelProvider.js",
 | 
			
		||||
                    "depends": [ "$q" ]
 | 
			
		||||
                }
 | 
			
		||||
            ]
 | 
			
		||||
        }
 | 
			
		||||
    });
 | 
			
		||||
});
 | 
			
		||||
@@ -1,29 +0,0 @@
 | 
			
		||||
{
 | 
			
		||||
    "name": "Example taxonomy",
 | 
			
		||||
    "description": "Example illustrating the addition of a static top-level hierarchy",
 | 
			
		||||
    "extensions": {
 | 
			
		||||
        "roots": [
 | 
			
		||||
            {
 | 
			
		||||
                "id": "exampleTaxonomy",
 | 
			
		||||
                "model": {
 | 
			
		||||
                    "type": "folder",
 | 
			
		||||
                    "name": "Stub Subsystems",
 | 
			
		||||
                    "composition": [
 | 
			
		||||
                        "examplePacket0",
 | 
			
		||||
                        "examplePacket1",
 | 
			
		||||
                        "examplePacket2"
 | 
			
		||||
                    ]
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "components": [
 | 
			
		||||
            {
 | 
			
		||||
                "provides": "modelService",
 | 
			
		||||
                "type": "provider",
 | 
			
		||||
                "implementation": "ExampleTaxonomyModelProvider.js",
 | 
			
		||||
                "depends": [ "$q" ]
 | 
			
		||||
            }
 | 
			
		||||
        ]
 | 
			
		||||
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										42
									
								
								example/worker/bundle.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										42
									
								
								example/worker/bundle.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,42 @@
 | 
			
		||||
/*****************************************************************************
 | 
			
		||||
 * Open MCT Web, Copyright (c) 2014-2015, United States Government
 | 
			
		||||
 * as represented by the Administrator of the National Aeronautics and Space
 | 
			
		||||
 * Administration. All rights reserved.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web is licensed under the Apache License, Version 2.0 (the
 | 
			
		||||
 * "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.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web includes source code licensed under additional open source
 | 
			
		||||
 * 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.
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
/*global define*/
 | 
			
		||||
 | 
			
		||||
define(['legacyRegistry'], function (legacyRegistry) {
 | 
			
		||||
    "use strict";
 | 
			
		||||
    legacyRegistry.register("example/worker", {
 | 
			
		||||
        "extensions": {
 | 
			
		||||
            "indicators": [
 | 
			
		||||
                {
 | 
			
		||||
                    "implementation": "FibonacciIndicator.js",
 | 
			
		||||
                    "depends": [ "workerService", "$rootScope" ]
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "workers": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "example.fibonacci",
 | 
			
		||||
                    "scriptUrl": "FibonacciWorker.js"
 | 
			
		||||
                }
 | 
			
		||||
            ]
 | 
			
		||||
        }
 | 
			
		||||
    });
 | 
			
		||||
});
 | 
			
		||||
@@ -1,16 +0,0 @@
 | 
			
		||||
{
 | 
			
		||||
    "extensions": {
 | 
			
		||||
        "indicators": [
 | 
			
		||||
            {
 | 
			
		||||
                "implementation": "FibonacciIndicator.js",
 | 
			
		||||
                "depends": [ "workerService", "$rootScope" ]
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "workers": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "example.fibonacci",
 | 
			
		||||
                "scriptUrl": "FibonacciWorker.js"
 | 
			
		||||
            }
 | 
			
		||||
        ]
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										39
									
								
								main.js
									
									
									
									
									
								
							
							
						
						
									
										39
									
								
								main.js
									
									
									
									
									
								
							@@ -40,7 +40,44 @@ requirejs.config({
 | 
			
		||||
define([
 | 
			
		||||
    './platform/framework/src/Main',
 | 
			
		||||
    'legacyRegistry',
 | 
			
		||||
    './platform/commonUI/browse/bundle'
 | 
			
		||||
 | 
			
		||||
    './platform/framework/bundle',
 | 
			
		||||
    './platform/core/bundle',
 | 
			
		||||
    './platform/representation/bundle',
 | 
			
		||||
    './platform/commonUI/about/bundle',
 | 
			
		||||
    './platform/commonUI/browse/bundle',
 | 
			
		||||
    './platform/commonUI/edit/bundle',
 | 
			
		||||
    './platform/commonUI/dialog/bundle',
 | 
			
		||||
    './platform/commonUI/formats/bundle',
 | 
			
		||||
    './platform/commonUI/general/bundle',
 | 
			
		||||
    './platform/commonUI/inspect/bundle',
 | 
			
		||||
    './platform/commonUI/mobile/bundle',
 | 
			
		||||
    './platform/commonUI/themes/espresso/bundle',
 | 
			
		||||
    './platform/commonUI/notification/bundle',
 | 
			
		||||
    './platform/containment/bundle',
 | 
			
		||||
    './platform/execution/bundle',
 | 
			
		||||
    './platform/telemetry/bundle',
 | 
			
		||||
    './platform/features/clock/bundle',
 | 
			
		||||
    './platform/features/events/bundle',
 | 
			
		||||
    './platform/features/imagery/bundle',
 | 
			
		||||
    './platform/features/layout/bundle',
 | 
			
		||||
    './platform/features/pages/bundle',
 | 
			
		||||
    './platform/features/plot/bundle',
 | 
			
		||||
    './platform/features/scrolling/bundle',
 | 
			
		||||
    './platform/features/timeline/bundle',
 | 
			
		||||
    './platform/forms/bundle',
 | 
			
		||||
    './platform/identity/bundle',
 | 
			
		||||
    './platform/persistence/aggregator/bundle',
 | 
			
		||||
    './platform/persistence/local/bundle',
 | 
			
		||||
    './platform/persistence/queue/bundle',
 | 
			
		||||
    './platform/policy/bundle',
 | 
			
		||||
    './platform/entanglement/bundle',
 | 
			
		||||
    './platform/search/bundle',
 | 
			
		||||
    './platform/status/bundle',
 | 
			
		||||
 | 
			
		||||
    './example/imagery/bundle',
 | 
			
		||||
    './example/eventGenerator/bundle',
 | 
			
		||||
    './example/generator/bundle'
 | 
			
		||||
], function (Main, legacyRegistry) {
 | 
			
		||||
    'use strict';
 | 
			
		||||
    new Main().run(legacyRegistry);
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										148
									
								
								platform/commonUI/about/bundle.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										148
									
								
								platform/commonUI/about/bundle.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,148 @@
 | 
			
		||||
/*****************************************************************************
 | 
			
		||||
 * Open MCT Web, Copyright (c) 2014-2015, United States Government
 | 
			
		||||
 * as represented by the Administrator of the National Aeronautics and Space
 | 
			
		||||
 * Administration. All rights reserved.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web is licensed under the Apache License, Version 2.0 (the
 | 
			
		||||
 * "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.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web includes source code licensed under additional open source
 | 
			
		||||
 * 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.
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
/*global define*/
 | 
			
		||||
 | 
			
		||||
define(['legacyRegistry'], function (legacyRegistry) {
 | 
			
		||||
    "use strict";
 | 
			
		||||
    legacyRegistry.register("platform/commonUI/about", {
 | 
			
		||||
        "name": "About Open MCT Web",
 | 
			
		||||
        "extensions": {
 | 
			
		||||
            "templates": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "app-logo",
 | 
			
		||||
                    "priority": "optional",
 | 
			
		||||
                    "templateUrl": "templates/app-logo.html"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "about-logo",
 | 
			
		||||
                    "priority": "preferred",
 | 
			
		||||
                    "templateUrl": "templates/about-logo.html"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "about-dialog",
 | 
			
		||||
                    "templateUrl": "templates/about-dialog.html"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "overlay-about",
 | 
			
		||||
                    "templateUrl": "templates/overlay-about.html"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                  "key": "license-apache",
 | 
			
		||||
                  "templateUrl": "templates/license-apache.html"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                  "key": "license-mit",
 | 
			
		||||
                  "templateUrl": "templates/license-mit.html"
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "controllers": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "LogoController",
 | 
			
		||||
                    "depends": [ "overlayService" ],
 | 
			
		||||
                    "implementation": "LogoController.js"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "AboutController",
 | 
			
		||||
                    "depends": [ "versions[]", "$window" ],
 | 
			
		||||
                    "implementation": "AboutController.js"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "LicenseController",
 | 
			
		||||
                    "depends": [ "licenses[]" ],
 | 
			
		||||
                    "implementation": "LicenseController.js"
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "licenses": [
 | 
			
		||||
                {
 | 
			
		||||
                    "name": "Json.NET",
 | 
			
		||||
                    "version": "6.0.8",
 | 
			
		||||
                    "author": "Newtonsoft",
 | 
			
		||||
                    "description": "JSON serialization/deserialization",
 | 
			
		||||
                    "website": "http://www.newtonsoft.com/json",
 | 
			
		||||
                    "copyright": "Copyright (c) 2007 James Newton-King",
 | 
			
		||||
                    "license": "license-mit",
 | 
			
		||||
                    "link": "https://github.com/JamesNK/Newtonsoft.Json/blob/master/LICENSE.md"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "name": "Nancy",
 | 
			
		||||
                    "version": "0.23.2",
 | 
			
		||||
                    "author": "Andreas Håkansson, Steven Robbins and contributors",
 | 
			
		||||
                    "description": "Embedded web server",
 | 
			
		||||
                    "website": "http://nancyfx.org/",
 | 
			
		||||
                    "copyright": "Copyright © 2010 Andreas Håkansson, Steven Robbins and contributors",
 | 
			
		||||
                    "license": "license-mit",
 | 
			
		||||
                    "link": "http://www.opensource.org/licenses/mit-license.php"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "name": "Nancy.Hosting.Self",
 | 
			
		||||
                    "version": "0.23.2",
 | 
			
		||||
                    "author": "Andreas Håkansson, Steven Robbins and contributors",
 | 
			
		||||
                    "description": "Embedded web server",
 | 
			
		||||
                    "website": "http://nancyfx.org/",
 | 
			
		||||
                    "copyright": "Copyright © 2010 Andreas Håkansson, Steven Robbins and contributors",
 | 
			
		||||
                    "license": "license-mit",
 | 
			
		||||
                    "link": "http://www.opensource.org/licenses/mit-license.php"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "name": "SuperSocket",
 | 
			
		||||
                    "version": "0.9.0.2",
 | 
			
		||||
                    "author": " Kerry Jiang",
 | 
			
		||||
                    "description": "Supports SuperWebSocket",
 | 
			
		||||
                    "website": "https://supersocket.codeplex.com/",
 | 
			
		||||
                    "copyright": "Copyright 2010-2014 Kerry Jiang (kerry-jiang@hotmail.com)",
 | 
			
		||||
                    "license": "license-apache",
 | 
			
		||||
                    "link": "https://supersocket.codeplex.com/license"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "name": "SuperWebSocket",
 | 
			
		||||
                    "version": "0.9.0.2",
 | 
			
		||||
                    "author": " Kerry Jiang",
 | 
			
		||||
                    "description": "WebSocket implementation for client-server communication",
 | 
			
		||||
                    "website": "https://superwebsocket.codeplex.com/",
 | 
			
		||||
                    "copyright": "Copyright 2010-2014 Kerry Jiang (kerry-jiang@hotmail.com)",
 | 
			
		||||
                    "license": "license-apache",
 | 
			
		||||
                    "link": "https://superwebsocket.codeplex.com/license"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "name": "log4net",
 | 
			
		||||
                    "version": "2.0.3",
 | 
			
		||||
                    "author": "Apache Software Foundation",
 | 
			
		||||
                    "description": "Logging",
 | 
			
		||||
                    "website": "http://logging.apache.org/log4net/",
 | 
			
		||||
                    "copyright": "Copyright © 2004-2015 Apache Software Foundation.",
 | 
			
		||||
                    "license": "license-apache",
 | 
			
		||||
                    "link": "http://logging.apache.org/log4net/license.html"
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "routes": [
 | 
			
		||||
                {
 | 
			
		||||
                    "when": "/licenses",
 | 
			
		||||
                    "templateUrl": "templates/licenses.html"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "when": "/licenses-md",
 | 
			
		||||
                    "templateUrl": "templates/licenses-export-md.html"
 | 
			
		||||
                }
 | 
			
		||||
            ]
 | 
			
		||||
        }
 | 
			
		||||
    });
 | 
			
		||||
});
 | 
			
		||||
@@ -1,122 +0,0 @@
 | 
			
		||||
{
 | 
			
		||||
    "name": "About Open MCT Web",
 | 
			
		||||
    "extensions": {
 | 
			
		||||
        "templates": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "app-logo",
 | 
			
		||||
                "priority": "optional",
 | 
			
		||||
                "templateUrl": "templates/app-logo.html"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "about-logo",
 | 
			
		||||
                "priority": "preferred",
 | 
			
		||||
                "templateUrl": "templates/about-logo.html"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "about-dialog",
 | 
			
		||||
                "templateUrl": "templates/about-dialog.html"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "overlay-about",
 | 
			
		||||
                "templateUrl": "templates/overlay-about.html"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
              "key": "license-apache",
 | 
			
		||||
              "templateUrl": "templates/license-apache.html"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
              "key": "license-mit",
 | 
			
		||||
              "templateUrl": "templates/license-mit.html"
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "controllers": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "LogoController",
 | 
			
		||||
                "depends": [ "overlayService" ],
 | 
			
		||||
                "implementation": "LogoController.js"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "AboutController",
 | 
			
		||||
                "depends": [ "versions[]", "$window" ],
 | 
			
		||||
                "implementation": "AboutController.js"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "LicenseController",
 | 
			
		||||
                "depends": [ "licenses[]" ],
 | 
			
		||||
                "implementation": "LicenseController.js"
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "licenses": [
 | 
			
		||||
            {
 | 
			
		||||
                "name": "Json.NET",
 | 
			
		||||
                "version": "6.0.8",
 | 
			
		||||
                "author": "Newtonsoft",
 | 
			
		||||
                "description": "JSON serialization/deserialization",
 | 
			
		||||
                "website": "http://www.newtonsoft.com/json",
 | 
			
		||||
                "copyright": "Copyright (c) 2007 James Newton-King",
 | 
			
		||||
                "license": "license-mit",
 | 
			
		||||
                "link": "https://github.com/JamesNK/Newtonsoft.Json/blob/master/LICENSE.md"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "name": "Nancy",
 | 
			
		||||
                "version": "0.23.2",
 | 
			
		||||
                "author": "Andreas Håkansson, Steven Robbins and contributors",
 | 
			
		||||
                "description": "Embedded web server",
 | 
			
		||||
                "website": "http://nancyfx.org/",
 | 
			
		||||
                "copyright": "Copyright © 2010 Andreas Håkansson, Steven Robbins and contributors",
 | 
			
		||||
                "license": "license-mit",
 | 
			
		||||
                "link": "http://www.opensource.org/licenses/mit-license.php"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "name": "Nancy.Hosting.Self",
 | 
			
		||||
                "version": "0.23.2",
 | 
			
		||||
                "author": "Andreas Håkansson, Steven Robbins and contributors",
 | 
			
		||||
                "description": "Embedded web server",
 | 
			
		||||
                "website": "http://nancyfx.org/",
 | 
			
		||||
                "copyright": "Copyright © 2010 Andreas Håkansson, Steven Robbins and contributors",
 | 
			
		||||
                "license": "license-mit",
 | 
			
		||||
                "link": "http://www.opensource.org/licenses/mit-license.php"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "name": "SuperSocket",
 | 
			
		||||
                "version": "0.9.0.2",
 | 
			
		||||
                "author": " Kerry Jiang",
 | 
			
		||||
                "description": "Supports SuperWebSocket",
 | 
			
		||||
                "website": "https://supersocket.codeplex.com/",
 | 
			
		||||
                "copyright": "Copyright 2010-2014 Kerry Jiang (kerry-jiang@hotmail.com)",
 | 
			
		||||
                "license": "license-apache",
 | 
			
		||||
                "link": "https://supersocket.codeplex.com/license"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "name": "SuperWebSocket",
 | 
			
		||||
                "version": "0.9.0.2",
 | 
			
		||||
                "author": " Kerry Jiang",
 | 
			
		||||
                "description": "WebSocket implementation for client-server communication",
 | 
			
		||||
                "website": "https://superwebsocket.codeplex.com/",
 | 
			
		||||
                "copyright": "Copyright 2010-2014 Kerry Jiang (kerry-jiang@hotmail.com)",
 | 
			
		||||
                "license": "license-apache",
 | 
			
		||||
                "link": "https://superwebsocket.codeplex.com/license"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "name": "log4net",
 | 
			
		||||
                "version": "2.0.3",
 | 
			
		||||
                "author": "Apache Software Foundation",
 | 
			
		||||
                "description": "Logging",
 | 
			
		||||
                "website": "http://logging.apache.org/log4net/",
 | 
			
		||||
                "copyright": "Copyright © 2004-2015 Apache Software Foundation.",
 | 
			
		||||
                "license": "license-apache",
 | 
			
		||||
                "link": "http://logging.apache.org/log4net/license.html"
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "routes": [
 | 
			
		||||
            {
 | 
			
		||||
                "when": "/licenses",
 | 
			
		||||
                "templateUrl": "templates/licenses.html"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "when": "/licenses-md",
 | 
			
		||||
                "templateUrl": "templates/licenses-export-md.html"
 | 
			
		||||
            }
 | 
			
		||||
        ]
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
@@ -19,11 +19,10 @@
 | 
			
		||||
 * this source code distribution or the Licensing information page available
 | 
			
		||||
 * at runtime from the About dialog for additional information.
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
/*global define,Promise*/
 | 
			
		||||
/*global define*/
 | 
			
		||||
 | 
			
		||||
define(['legacyRegistry'], function (legacyRegistry) {
 | 
			
		||||
    "use strict";
 | 
			
		||||
 | 
			
		||||
    legacyRegistry.register("platform/commonUI/browse", {
 | 
			
		||||
        "extensions": {
 | 
			
		||||
            "routes": [
 | 
			
		||||
@@ -209,4 +208,4 @@ define(['legacyRegistry'], function (legacyRegistry) {
 | 
			
		||||
            ]
 | 
			
		||||
        }
 | 
			
		||||
    });
 | 
			
		||||
});
 | 
			
		||||
});
 | 
			
		||||
 
 | 
			
		||||
@@ -1,185 +0,0 @@
 | 
			
		||||
{
 | 
			
		||||
    "extensions": {
 | 
			
		||||
        "routes": [
 | 
			
		||||
            {
 | 
			
		||||
                "when": "/browse/:ids*",
 | 
			
		||||
                "templateUrl": "templates/browse.html",
 | 
			
		||||
                "reloadOnSearch": false
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "when": "",
 | 
			
		||||
                "templateUrl": "templates/browse.html",
 | 
			
		||||
                "reloadOnSearch": false
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "controllers": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "BrowseController",
 | 
			
		||||
                "implementation": "BrowseController.js",
 | 
			
		||||
                "depends": [
 | 
			
		||||
                    "$scope",
 | 
			
		||||
                    "$route",
 | 
			
		||||
                    "$location",
 | 
			
		||||
                    "objectService",
 | 
			
		||||
                    "navigationService",
 | 
			
		||||
                    "urlService"
 | 
			
		||||
                ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "PaneController",
 | 
			
		||||
                "implementation": "PaneController.js",
 | 
			
		||||
                "priority": "preferred",
 | 
			
		||||
                "depends": [ "$scope", "agentService","$window" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "BrowseObjectController",
 | 
			
		||||
                "implementation": "BrowseObjectController.js",
 | 
			
		||||
                "depends": [ "$scope", "$location", "$route" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "CreateMenuController",
 | 
			
		||||
                "implementation": "creation/CreateMenuController.js",
 | 
			
		||||
                "depends": [ "$scope" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "LocatorController",
 | 
			
		||||
                "implementation": "creation/LocatorController.js",
 | 
			
		||||
                "depends": [ "$scope", "$timeout" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "MenuArrowController",
 | 
			
		||||
                "implementation": "MenuArrowController.js",
 | 
			
		||||
                "depends": [ "$scope" ]
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "controls": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "locator",
 | 
			
		||||
                "templateUrl": "templates/create/locator.html"
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "representations": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "browse-object",
 | 
			
		||||
                "templateUrl": "templates/browse-object.html",
 | 
			
		||||
                "uses": [ "view" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "create-button",
 | 
			
		||||
                "templateUrl": "templates/create/create-button.html"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "create-menu",
 | 
			
		||||
                "templateUrl": "templates/create/create-menu.html",
 | 
			
		||||
                "uses": [ "action" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "grid-item",
 | 
			
		||||
                "templateUrl": "templates/items/grid-item.html",
 | 
			
		||||
                "uses": [ "type", "action", "location" ],
 | 
			
		||||
                "gestures": [ "info", "menu" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "object-header",
 | 
			
		||||
                "templateUrl": "templates/browse/object-header.html",
 | 
			
		||||
                "uses": [ "type" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "menu-arrow",
 | 
			
		||||
                "templateUrl": "templates/menu-arrow.html",
 | 
			
		||||
                "uses": [ "action" ],
 | 
			
		||||
                "gestures": [ "menu" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "back-arrow",
 | 
			
		||||
                "uses": [ "context" ],
 | 
			
		||||
                "templateUrl": "templates/back-arrow.html"
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "services": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "navigationService",
 | 
			
		||||
                "implementation": "navigation/NavigationService.js"
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "policies": [
 | 
			
		||||
            {
 | 
			
		||||
                "implementation": "creation/CreationPolicy.js",
 | 
			
		||||
                "category": "creation"
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "actions": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "navigate",
 | 
			
		||||
                "implementation": "navigation/NavigateAction.js",
 | 
			
		||||
                "depends": [ "navigationService", "$q" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "window",
 | 
			
		||||
                "name": "Open In New Tab",
 | 
			
		||||
                "implementation": "windowing/NewTabAction.js",
 | 
			
		||||
                "description": "Open in a new browser tab",
 | 
			
		||||
                "category": ["view-control", "contextual"],
 | 
			
		||||
                "depends": [ "urlService", "$window" ],
 | 
			
		||||
                "group": "windowing",
 | 
			
		||||
                "glyph": "y",
 | 
			
		||||
                "priority": "preferred"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "fullscreen",
 | 
			
		||||
                "implementation": "windowing/FullscreenAction.js",
 | 
			
		||||
                "category": "view-control",
 | 
			
		||||
                "group": "windowing",
 | 
			
		||||
                "glyph": "z",
 | 
			
		||||
                "priority": "default"
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "views": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "items",
 | 
			
		||||
                "name": "Items",
 | 
			
		||||
                "glyph": "9",
 | 
			
		||||
                "description": "Grid of available items",
 | 
			
		||||
                "templateUrl": "templates/items/items.html",
 | 
			
		||||
                "uses": [ "composition" ],
 | 
			
		||||
                "gestures": [ "drop" ],
 | 
			
		||||
                "type": "folder",
 | 
			
		||||
                "editable": false
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "components": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "CreateActionProvider",
 | 
			
		||||
                "provides": "actionService",
 | 
			
		||||
                "type": "provider",
 | 
			
		||||
                "implementation": "creation/CreateActionProvider.js",
 | 
			
		||||
                "depends": [ "typeService", "dialogService", "creationService", "policyService" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "CreationService",
 | 
			
		||||
                "provides": "creationService",
 | 
			
		||||
                "type": "provider",
 | 
			
		||||
                "implementation": "creation/CreationService.js",
 | 
			
		||||
                "depends": [ "$q", "$log" ]
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "runs": [
 | 
			
		||||
            {
 | 
			
		||||
                "implementation": "windowing/WindowTitler.js",
 | 
			
		||||
                "depends": [ "navigationService", "$rootScope", "$document" ]
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "licenses": [
 | 
			
		||||
            {
 | 
			
		||||
                "name": "screenfull.js",
 | 
			
		||||
                "version": "1.2.0",
 | 
			
		||||
                "description": "Wrapper for cross-browser usage of fullscreen API",
 | 
			
		||||
                "author": "Sindre Sorhus",
 | 
			
		||||
                "website": "https://github.com/sindresorhus/screenfull.js/",
 | 
			
		||||
                "copyright": "Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)",
 | 
			
		||||
                "license": "license-mit",
 | 
			
		||||
                "link": "https://github.com/sindresorhus/screenfull.js/blob/gh-pages/license"
 | 
			
		||||
            }
 | 
			
		||||
        ]
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										74
									
								
								platform/commonUI/dialog/bundle.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										74
									
								
								platform/commonUI/dialog/bundle.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,74 @@
 | 
			
		||||
/*****************************************************************************
 | 
			
		||||
 * Open MCT Web, Copyright (c) 2014-2015, United States Government
 | 
			
		||||
 * as represented by the Administrator of the National Aeronautics and Space
 | 
			
		||||
 * Administration. All rights reserved.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web is licensed under the Apache License, Version 2.0 (the
 | 
			
		||||
 * "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.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web includes source code licensed under additional open source
 | 
			
		||||
 * 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.
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
/*global define*/
 | 
			
		||||
 | 
			
		||||
define(['legacyRegistry'], function (legacyRegistry) {
 | 
			
		||||
    "use strict";
 | 
			
		||||
    legacyRegistry.register("platform/commonUI/dialog", {
 | 
			
		||||
        "extensions": {
 | 
			
		||||
            "services": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "dialogService",
 | 
			
		||||
                    "implementation": "DialogService.js",
 | 
			
		||||
                    "depends": [ "overlayService", "$q", "$log" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "overlayService",
 | 
			
		||||
                    "implementation": "OverlayService.js",
 | 
			
		||||
                    "depends": [ "$document", "$compile", "$rootScope" ]
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "templates": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "overlay-dialog",
 | 
			
		||||
                    "templateUrl": "templates/overlay-dialog.html"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "overlay-options",
 | 
			
		||||
                    "templateUrl": "templates/overlay-options.html"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "form-dialog",
 | 
			
		||||
                    "templateUrl": "templates/dialog.html"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "overlay-blocking-message",
 | 
			
		||||
                    "templateUrl": "templates/overlay-blocking-message.html"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "message",
 | 
			
		||||
                    "templateUrl": "templates/message.html"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "overlay-message-list",
 | 
			
		||||
                    "templateUrl": "templates/overlay-message-list.html"
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "containers": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "overlay",
 | 
			
		||||
                    "templateUrl": "templates/overlay.html"
 | 
			
		||||
                }
 | 
			
		||||
            ]
 | 
			
		||||
        }
 | 
			
		||||
    });
 | 
			
		||||
});
 | 
			
		||||
@@ -1,48 +0,0 @@
 | 
			
		||||
{
 | 
			
		||||
    "extensions": {
 | 
			
		||||
        "services": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "dialogService",
 | 
			
		||||
                "implementation": "DialogService.js",
 | 
			
		||||
                "depends": [ "overlayService", "$q", "$log" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "overlayService",
 | 
			
		||||
                "implementation": "OverlayService.js",
 | 
			
		||||
                "depends": [ "$document", "$compile", "$rootScope" ]
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "templates": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "overlay-dialog",
 | 
			
		||||
                "templateUrl": "templates/overlay-dialog.html"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "overlay-options",
 | 
			
		||||
                "templateUrl": "templates/overlay-options.html"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "form-dialog",
 | 
			
		||||
                "templateUrl": "templates/dialog.html"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "overlay-blocking-message",
 | 
			
		||||
                "templateUrl": "templates/overlay-blocking-message.html"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "message",
 | 
			
		||||
                "templateUrl": "templates/message.html"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "overlay-message-list",
 | 
			
		||||
                "templateUrl": "templates/overlay-message-list.html"
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "containers": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "overlay",
 | 
			
		||||
                "templateUrl": "templates/overlay.html"
 | 
			
		||||
            }
 | 
			
		||||
        ]
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										156
									
								
								platform/commonUI/edit/bundle.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										156
									
								
								platform/commonUI/edit/bundle.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,156 @@
 | 
			
		||||
/*****************************************************************************
 | 
			
		||||
 * Open MCT Web, Copyright (c) 2014-2015, United States Government
 | 
			
		||||
 * as represented by the Administrator of the National Aeronautics and Space
 | 
			
		||||
 * Administration. All rights reserved.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web is licensed under the Apache License, Version 2.0 (the
 | 
			
		||||
 * "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.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web includes source code licensed under additional open source
 | 
			
		||||
 * 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.
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
/*global define*/
 | 
			
		||||
 | 
			
		||||
define(['legacyRegistry'], function (legacyRegistry) {
 | 
			
		||||
    "use strict";
 | 
			
		||||
    legacyRegistry.register("platform/commonUI/edit", {
 | 
			
		||||
        "extensions": {
 | 
			
		||||
            "routes": [
 | 
			
		||||
                {
 | 
			
		||||
                    "when": "/edit",
 | 
			
		||||
                    "templateUrl": "templates/edit.html"
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "controllers": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "EditController",
 | 
			
		||||
                    "implementation": "controllers/EditController.js",
 | 
			
		||||
                    "depends": [ "$scope", "$q", "navigationService" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "EditActionController",
 | 
			
		||||
                    "implementation": "controllers/EditActionController.js",
 | 
			
		||||
                    "depends": [ "$scope" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "EditPanesController",
 | 
			
		||||
                    "implementation": "controllers/EditPanesController.js",
 | 
			
		||||
                    "depends": [ "$scope" ]
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "directives": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "mctBeforeUnload",
 | 
			
		||||
                    "implementation": "directives/MCTBeforeUnload.js",
 | 
			
		||||
                    "depends": [ "$window" ]
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "actions": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "compose",
 | 
			
		||||
                    "implementation": "actions/LinkAction.js"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "edit",
 | 
			
		||||
                    "implementation": "actions/EditAction.js",
 | 
			
		||||
                    "depends": [ "$location", "navigationService", "$log" ],
 | 
			
		||||
                    "description": "Edit this object.",
 | 
			
		||||
                    "category": "view-control",
 | 
			
		||||
                    "glyph": "p"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "properties",
 | 
			
		||||
                    "category": ["contextual", "view-control"],
 | 
			
		||||
                    "implementation": "actions/PropertiesAction.js",
 | 
			
		||||
                    "glyph": "p",
 | 
			
		||||
                    "name": "Edit Properties...",
 | 
			
		||||
                    "description": "Edit properties of this object.",
 | 
			
		||||
                    "depends": [ "dialogService" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "remove",
 | 
			
		||||
                    "category": "contextual",
 | 
			
		||||
                    "implementation": "actions/RemoveAction.js",
 | 
			
		||||
                    "glyph": "Z",
 | 
			
		||||
                    "name": "Remove",
 | 
			
		||||
                    "description": "Remove this object from its containing object.",
 | 
			
		||||
                    "depends": [ "$q", "navigationService" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "save",
 | 
			
		||||
                    "category": "conclude-editing",
 | 
			
		||||
                    "implementation": "actions/SaveAction.js",
 | 
			
		||||
                    "name": "Save",
 | 
			
		||||
                    "description": "Save changes made to these objects.",
 | 
			
		||||
                    "depends": [ "$location", "urlService" ],
 | 
			
		||||
                    "priority": "mandatory"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "cancel",
 | 
			
		||||
                    "category": "conclude-editing",
 | 
			
		||||
                    "implementation": "actions/CancelAction.js",
 | 
			
		||||
                    "name": "Cancel",
 | 
			
		||||
                    "description": "Discard changes made to these objects.",
 | 
			
		||||
                    "depends": [ "$location", "urlService" ]
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "policies": [
 | 
			
		||||
                {
 | 
			
		||||
                    "category": "action",
 | 
			
		||||
                    "implementation": "policies/EditActionPolicy.js"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "category": "view",
 | 
			
		||||
                    "implementation": "policies/EditableViewPolicy.js"
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "templates": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "edit-library",
 | 
			
		||||
                    "templateUrl": "templates/library.html"
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "representations": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "edit-object",
 | 
			
		||||
                    "templateUrl": "templates/edit-object.html",
 | 
			
		||||
                    "uses": [ "view" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "edit-action-buttons",
 | 
			
		||||
                    "templateUrl": "templates/edit-action-buttons.html",
 | 
			
		||||
                    "uses": [ "action" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "edit-elements",
 | 
			
		||||
                    "templateUrl": "templates/elements.html",
 | 
			
		||||
                    "uses": [ "composition" ],
 | 
			
		||||
                    "gestures": [ "drop" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "topbar-edit",
 | 
			
		||||
                    "templateUrl": "templates/topbar-edit.html"
 | 
			
		||||
                }
 | 
			
		||||
            ],     
 | 
			
		||||
            "representers": [
 | 
			
		||||
                {
 | 
			
		||||
                    "implementation": "representers/EditRepresenter.js",
 | 
			
		||||
                    "depends": [ "$q", "$log" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "implementation": "representers/EditToolbarRepresenter.js"
 | 
			
		||||
                }
 | 
			
		||||
            ]
 | 
			
		||||
        }
 | 
			
		||||
    });
 | 
			
		||||
});
 | 
			
		||||
@@ -1,130 +0,0 @@
 | 
			
		||||
{
 | 
			
		||||
    "extensions": {
 | 
			
		||||
        "routes": [
 | 
			
		||||
            {
 | 
			
		||||
                "when": "/edit",
 | 
			
		||||
                "templateUrl": "templates/edit.html"
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "controllers": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "EditController",
 | 
			
		||||
                "implementation": "controllers/EditController.js",
 | 
			
		||||
                "depends": [ "$scope", "$q", "navigationService" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "EditActionController",
 | 
			
		||||
                "implementation": "controllers/EditActionController.js",
 | 
			
		||||
                "depends": [ "$scope" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "EditPanesController",
 | 
			
		||||
                "implementation": "controllers/EditPanesController.js",
 | 
			
		||||
                "depends": [ "$scope" ]
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "directives": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "mctBeforeUnload",
 | 
			
		||||
                "implementation": "directives/MCTBeforeUnload.js",
 | 
			
		||||
                "depends": [ "$window" ]
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "actions": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "compose",
 | 
			
		||||
                "implementation": "actions/LinkAction.js"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "edit",
 | 
			
		||||
                "implementation": "actions/EditAction.js",
 | 
			
		||||
                "depends": [ "$location", "navigationService", "$log" ],
 | 
			
		||||
                "description": "Edit this object.",
 | 
			
		||||
                "category": "view-control",
 | 
			
		||||
                "glyph": "p"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "properties",
 | 
			
		||||
                "category": ["contextual", "view-control"],
 | 
			
		||||
                "implementation": "actions/PropertiesAction.js",
 | 
			
		||||
                "glyph": "p",
 | 
			
		||||
                "name": "Edit Properties...",
 | 
			
		||||
                "description": "Edit properties of this object.",
 | 
			
		||||
                "depends": [ "dialogService" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "remove",
 | 
			
		||||
                "category": "contextual",
 | 
			
		||||
                "implementation": "actions/RemoveAction.js",
 | 
			
		||||
                "glyph": "Z",
 | 
			
		||||
                "name": "Remove",
 | 
			
		||||
                "description": "Remove this object from its containing object.",
 | 
			
		||||
                "depends": [ "$q", "navigationService" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "save",
 | 
			
		||||
                "category": "conclude-editing",
 | 
			
		||||
                "implementation": "actions/SaveAction.js",
 | 
			
		||||
                "name": "Save",
 | 
			
		||||
                "description": "Save changes made to these objects.",
 | 
			
		||||
                "depends": [ "$location", "urlService" ],
 | 
			
		||||
                "priority": "mandatory"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "cancel",
 | 
			
		||||
                "category": "conclude-editing",
 | 
			
		||||
                "implementation": "actions/CancelAction.js",
 | 
			
		||||
                "name": "Cancel",
 | 
			
		||||
                "description": "Discard changes made to these objects.",
 | 
			
		||||
                "depends": [ "$location", "urlService" ]
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "policies": [
 | 
			
		||||
            {
 | 
			
		||||
                "category": "action",
 | 
			
		||||
                "implementation": "policies/EditActionPolicy.js"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "category": "view",
 | 
			
		||||
                "implementation": "policies/EditableViewPolicy.js"
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "templates": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "edit-library",
 | 
			
		||||
                "templateUrl": "templates/library.html"
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "representations": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "edit-object",
 | 
			
		||||
                "templateUrl": "templates/edit-object.html",
 | 
			
		||||
                "uses": [ "view" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "edit-action-buttons",
 | 
			
		||||
                "templateUrl": "templates/edit-action-buttons.html",
 | 
			
		||||
                "uses": [ "action" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "edit-elements",
 | 
			
		||||
                "templateUrl": "templates/elements.html",
 | 
			
		||||
                "uses": [ "composition" ],
 | 
			
		||||
                "gestures": [ "drop" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "topbar-edit",
 | 
			
		||||
                "templateUrl": "templates/topbar-edit.html"
 | 
			
		||||
            }
 | 
			
		||||
        ],     
 | 
			
		||||
        "representers": [
 | 
			
		||||
            {
 | 
			
		||||
                "implementation": "representers/EditRepresenter.js",
 | 
			
		||||
                "depends": [ "$q", "$log" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "implementation": "representers/EditToolbarRepresenter.js"
 | 
			
		||||
            }
 | 
			
		||||
        ]
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										52
									
								
								platform/commonUI/formats/bundle.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										52
									
								
								platform/commonUI/formats/bundle.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,52 @@
 | 
			
		||||
/*****************************************************************************
 | 
			
		||||
 * Open MCT Web, Copyright (c) 2014-2015, United States Government
 | 
			
		||||
 * as represented by the Administrator of the National Aeronautics and Space
 | 
			
		||||
 * Administration. All rights reserved.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web is licensed under the Apache License, Version 2.0 (the
 | 
			
		||||
 * "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.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web includes source code licensed under additional open source
 | 
			
		||||
 * 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.
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
/*global define*/
 | 
			
		||||
 | 
			
		||||
define(['legacyRegistry'], function (legacyRegistry) {
 | 
			
		||||
    "use strict";
 | 
			
		||||
    legacyRegistry.register("platform/commonUI/formats", {
 | 
			
		||||
        "name": "Time services bundle",
 | 
			
		||||
        "description": "Defines interfaces and provides default implementations for handling different time systems.",
 | 
			
		||||
        "extensions": {
 | 
			
		||||
            "components": [
 | 
			
		||||
                {
 | 
			
		||||
                    "provides": "formatService",
 | 
			
		||||
                    "type": "provider",
 | 
			
		||||
                    "implementation": "FormatProvider.js",
 | 
			
		||||
                    "depends": [ "formats[]" ]
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "formats": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "utc",
 | 
			
		||||
                    "implementation": "UTCTimeFormat.js"
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "constants": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "DEFAULT_TIME_FORMAT",
 | 
			
		||||
                    "value": "utc"
 | 
			
		||||
                }
 | 
			
		||||
            ]
 | 
			
		||||
        }
 | 
			
		||||
    });
 | 
			
		||||
});
 | 
			
		||||
@@ -1,26 +0,0 @@
 | 
			
		||||
{
 | 
			
		||||
    "name": "Time services bundle",
 | 
			
		||||
    "description": "Defines interfaces and provides default implementations for handling different time systems.",
 | 
			
		||||
    "extensions": {
 | 
			
		||||
        "components": [
 | 
			
		||||
            {
 | 
			
		||||
                "provides": "formatService",
 | 
			
		||||
                "type": "provider",
 | 
			
		||||
                "implementation": "FormatProvider.js",
 | 
			
		||||
                "depends": [ "formats[]" ]
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "formats": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "utc",
 | 
			
		||||
                "implementation": "UTCTimeFormat.js"
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "constants": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "DEFAULT_TIME_FORMAT",
 | 
			
		||||
                "value": "utc"
 | 
			
		||||
            }
 | 
			
		||||
        ]
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										332
									
								
								platform/commonUI/general/bundle.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										332
									
								
								platform/commonUI/general/bundle.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,332 @@
 | 
			
		||||
/*****************************************************************************
 | 
			
		||||
 * Open MCT Web, Copyright (c) 2014-2015, United States Government
 | 
			
		||||
 * as represented by the Administrator of the National Aeronautics and Space
 | 
			
		||||
 * Administration. All rights reserved.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web is licensed under the Apache License, Version 2.0 (the
 | 
			
		||||
 * "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.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web includes source code licensed under additional open source
 | 
			
		||||
 * 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.
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
/*global define*/
 | 
			
		||||
 | 
			
		||||
define(['legacyRegistry'], function (legacyRegistry) {
 | 
			
		||||
    "use strict";
 | 
			
		||||
    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": "services/UrlService.js",
 | 
			
		||||
                    "depends": [ "$location" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "popupService",
 | 
			
		||||
                    "implementation": "services/PopupService.js",
 | 
			
		||||
                    "depends": [ "$document", "$window" ]
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "runs": [
 | 
			
		||||
                {
 | 
			
		||||
                    "implementation": "StyleSheetLoader.js",
 | 
			
		||||
                    "depends": [ "stylesheets[]", "$document", "THEME" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "implementation": "UnsupportedBrowserWarning.js",
 | 
			
		||||
                    "depends": [ "notificationService", "agentService" ]
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "stylesheets": [
 | 
			
		||||
                {
 | 
			
		||||
                    "stylesheetUrl": "css/normalize.min.css",
 | 
			
		||||
                    "priority": "mandatory"
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "templates": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "bottombar",
 | 
			
		||||
                    "templateUrl": "templates/bottombar.html"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "action-button",
 | 
			
		||||
                    "templateUrl": "templates/controls/action-button.html"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "input-filter",
 | 
			
		||||
                    "templateUrl": "templates/controls/input-filter.html"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "indicator",
 | 
			
		||||
                    "templateUrl": "templates/indicator.html"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "message-banner",
 | 
			
		||||
                    "templateUrl": "templates/message-banner.html"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "progress-bar",
 | 
			
		||||
                    "templateUrl": "templates/progress-bar.html"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                  "key": "time-controller",
 | 
			
		||||
                  "templateUrl": "templates/controls/time-controller.html"
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "controllers": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "TimeRangeController",
 | 
			
		||||
                    "implementation": "controllers/TimeRangeController.js",
 | 
			
		||||
                    "depends": [ "$scope", "formatService", "DEFAULT_TIME_FORMAT", "now" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "DateTimePickerController",
 | 
			
		||||
                    "implementation": "controllers/DateTimePickerController.js",
 | 
			
		||||
                    "depends": [ "$scope", "now" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "DateTimeFieldController",
 | 
			
		||||
                    "implementation": "controllers/DateTimeFieldController.js",
 | 
			
		||||
                    "depends": [ "$scope", "formatService", "DEFAULT_TIME_FORMAT" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "TreeNodeController",
 | 
			
		||||
                    "implementation": "controllers/TreeNodeController.js",
 | 
			
		||||
                    "depends": [ "$scope", "$timeout" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "ActionGroupController",
 | 
			
		||||
                    "implementation": "controllers/ActionGroupController.js",
 | 
			
		||||
                    "depends": [ "$scope" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "ToggleController",
 | 
			
		||||
                    "implementation": "controllers/ToggleController.js"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "ContextMenuController",
 | 
			
		||||
                    "implementation": "controllers/ContextMenuController.js",
 | 
			
		||||
                    "depends": [ "$scope" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "ClickAwayController",
 | 
			
		||||
                    "implementation": "controllers/ClickAwayController.js",
 | 
			
		||||
                    "depends": [ "$scope", "$document" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "ViewSwitcherController",
 | 
			
		||||
                    "implementation": "controllers/ViewSwitcherController.js",
 | 
			
		||||
                    "depends": [ "$scope", "$timeout" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "BottomBarController",
 | 
			
		||||
                    "implementation": "controllers/BottomBarController.js",
 | 
			
		||||
                    "depends": [ "indicators[]" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "GetterSetterController",
 | 
			
		||||
                    "implementation": "controllers/GetterSetterController.js",
 | 
			
		||||
                    "depends": [ "$scope" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "SplitPaneController",
 | 
			
		||||
                    "implementation": "controllers/SplitPaneController.js"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "SelectorController",
 | 
			
		||||
                    "implementation": "controllers/SelectorController.js",
 | 
			
		||||
                    "depends": [ "objectService", "$scope" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "ObjectInspectorController",
 | 
			
		||||
                    "implementation": "controllers/ObjectInspectorController.js",
 | 
			
		||||
                    "depends": [ "$scope", "objectService" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "BannerController",
 | 
			
		||||
                    "implementation": "controllers/BannerController.js",
 | 
			
		||||
                    "depends": ["$scope", "notificationService", "dialogService"]
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "directives": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "mctContainer",
 | 
			
		||||
                    "implementation": "directives/MCTContainer.js",
 | 
			
		||||
                    "depends": [ "containers[]" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "mctDrag",
 | 
			
		||||
                    "implementation": "directives/MCTDrag.js",
 | 
			
		||||
                    "depends": [ "$document" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "mctClickElsewhere",
 | 
			
		||||
                    "implementation": "directives/MCTClickElsewhere.js",
 | 
			
		||||
                    "depends": [ "$document" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "mctResize",
 | 
			
		||||
                    "implementation": "directives/MCTResize.js",
 | 
			
		||||
                    "depends": [ "$timeout" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "mctPopup",
 | 
			
		||||
                    "implementation": "directives/MCTPopup.js",
 | 
			
		||||
                    "depends": [ "$compile", "popupService" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "mctScrollX",
 | 
			
		||||
                    "implementation": "directives/MCTScroll.js",
 | 
			
		||||
                    "depends": [ "$parse", "MCT_SCROLL_X_PROPERTY", "MCT_SCROLL_X_ATTRIBUTE" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "mctScrollY",
 | 
			
		||||
                    "implementation": "directives/MCTScroll.js",
 | 
			
		||||
                    "depends": [ "$parse", "MCT_SCROLL_Y_PROPERTY", "MCT_SCROLL_Y_ATTRIBUTE" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "mctSplitPane",
 | 
			
		||||
                    "implementation": "directives/MCTSplitPane.js",
 | 
			
		||||
                    "depends": [ "$parse", "$log", "$interval" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "mctSplitter",
 | 
			
		||||
                    "implementation": "directives/MCTSplitter.js"
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "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"
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "containers": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "accordion",
 | 
			
		||||
                    "templateUrl": "templates/containers/accordion.html",
 | 
			
		||||
                    "attributes": [ "label" ]
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "representations": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "tree",
 | 
			
		||||
                    "templateUrl": "templates/subtree.html",
 | 
			
		||||
                    "uses": [ "composition" ],
 | 
			
		||||
                    "type": "root",
 | 
			
		||||
                    "priority": "preferred"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "tree",
 | 
			
		||||
                    "templateUrl": "templates/tree.html"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "subtree",
 | 
			
		||||
                    "templateUrl": "templates/subtree.html",
 | 
			
		||||
                    "uses": [ "composition" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "tree-node",
 | 
			
		||||
                    "templateUrl": "templates/tree-node.html",
 | 
			
		||||
                    "uses": [ "action" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "label",
 | 
			
		||||
                    "templateUrl": "templates/label.html",
 | 
			
		||||
                    "uses": [ "type", "location" ],
 | 
			
		||||
                    "gestures": [ "drag", "menu", "info" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "node",
 | 
			
		||||
                    "templateUrl": "templates/label.html",
 | 
			
		||||
                    "uses": [ "type" ],
 | 
			
		||||
                    "gestures": [ "drag", "menu" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "action-group",
 | 
			
		||||
                    "templateUrl": "templates/controls/action-group.html",
 | 
			
		||||
                    "uses": [ "action" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "context-menu",
 | 
			
		||||
                    "templateUrl": "templates/menu/context-menu.html",
 | 
			
		||||
                    "uses": [ "action" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "switcher",
 | 
			
		||||
                    "templateUrl": "templates/controls/switcher.html",
 | 
			
		||||
                    "uses": [ "view" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "object-inspector",
 | 
			
		||||
                    "templateUrl": "templates/object-inspector.html"
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "controls": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "selector",
 | 
			
		||||
                    "templateUrl": "templates/controls/selector.html"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "datetime-picker",
 | 
			
		||||
                    "templateUrl": "templates/controls/datetime-picker.html"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "datetime-field",
 | 
			
		||||
                    "templateUrl": "templates/controls/datetime-field.html"
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "licenses": [
 | 
			
		||||
                {
 | 
			
		||||
                    "name": "Modernizr",
 | 
			
		||||
                    "version": "2.6.2",
 | 
			
		||||
                    "description": "Browser/device capability finding",
 | 
			
		||||
                    "author": "Faruk Ateş",
 | 
			
		||||
                    "website": "http://modernizr.com",
 | 
			
		||||
                    "copyright": "Copyright (c) 2009–2015",
 | 
			
		||||
                    "license": "license-mit",
 | 
			
		||||
                    "link": "http://modernizr.com/license/"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "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"
 | 
			
		||||
                }
 | 
			
		||||
            ]
 | 
			
		||||
        }
 | 
			
		||||
    });
 | 
			
		||||
});
 | 
			
		||||
@@ -1,306 +0,0 @@
 | 
			
		||||
{
 | 
			
		||||
    "name": "General UI elements",
 | 
			
		||||
    "description": "General UI elements, meant to be reused across modes",
 | 
			
		||||
    "resources": "res",
 | 
			
		||||
    "extensions": {
 | 
			
		||||
        "services": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "urlService",
 | 
			
		||||
                "implementation": "services/UrlService.js",
 | 
			
		||||
                "depends": [ "$location" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "popupService",
 | 
			
		||||
                "implementation": "services/PopupService.js",
 | 
			
		||||
                "depends": [ "$document", "$window" ]
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "runs": [
 | 
			
		||||
            {
 | 
			
		||||
                "implementation": "StyleSheetLoader.js",
 | 
			
		||||
                "depends": [ "stylesheets[]", "$document", "THEME" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "implementation": "UnsupportedBrowserWarning.js",
 | 
			
		||||
                "depends": [ "notificationService", "agentService" ]
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "stylesheets": [
 | 
			
		||||
            {
 | 
			
		||||
                "stylesheetUrl": "css/normalize.min.css",
 | 
			
		||||
                "priority": "mandatory"
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "templates": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "bottombar",
 | 
			
		||||
                "templateUrl": "templates/bottombar.html"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "action-button",
 | 
			
		||||
                "templateUrl": "templates/controls/action-button.html"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "input-filter",
 | 
			
		||||
                "templateUrl": "templates/controls/input-filter.html"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "indicator",
 | 
			
		||||
                "templateUrl": "templates/indicator.html"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "message-banner",
 | 
			
		||||
                "templateUrl": "templates/message-banner.html"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "progress-bar",
 | 
			
		||||
                "templateUrl": "templates/progress-bar.html"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
              "key": "time-controller",
 | 
			
		||||
              "templateUrl": "templates/controls/time-controller.html"
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "controllers": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "TimeRangeController",
 | 
			
		||||
                "implementation": "controllers/TimeRangeController.js",
 | 
			
		||||
                "depends": [ "$scope", "formatService", "DEFAULT_TIME_FORMAT", "now" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "DateTimePickerController",
 | 
			
		||||
                "implementation": "controllers/DateTimePickerController.js",
 | 
			
		||||
                "depends": [ "$scope", "now" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "DateTimeFieldController",
 | 
			
		||||
                "implementation": "controllers/DateTimeFieldController.js",
 | 
			
		||||
                "depends": [ "$scope", "formatService", "DEFAULT_TIME_FORMAT" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "TreeNodeController",
 | 
			
		||||
                "implementation": "controllers/TreeNodeController.js",
 | 
			
		||||
                "depends": [ "$scope", "$timeout" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "ActionGroupController",
 | 
			
		||||
                "implementation": "controllers/ActionGroupController.js",
 | 
			
		||||
                "depends": [ "$scope" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "ToggleController",
 | 
			
		||||
                "implementation": "controllers/ToggleController.js"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "ContextMenuController",
 | 
			
		||||
                "implementation": "controllers/ContextMenuController.js",
 | 
			
		||||
                "depends": [ "$scope" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "ClickAwayController",
 | 
			
		||||
                "implementation": "controllers/ClickAwayController.js",
 | 
			
		||||
                "depends": [ "$scope", "$document" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "ViewSwitcherController",
 | 
			
		||||
                "implementation": "controllers/ViewSwitcherController.js",
 | 
			
		||||
                "depends": [ "$scope", "$timeout" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "BottomBarController",
 | 
			
		||||
                "implementation": "controllers/BottomBarController.js",
 | 
			
		||||
                "depends": [ "indicators[]" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "GetterSetterController",
 | 
			
		||||
                "implementation": "controllers/GetterSetterController.js",
 | 
			
		||||
                "depends": [ "$scope" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "SplitPaneController",
 | 
			
		||||
                "implementation": "controllers/SplitPaneController.js"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "SelectorController",
 | 
			
		||||
                "implementation": "controllers/SelectorController.js",
 | 
			
		||||
                "depends": [ "objectService", "$scope" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "ObjectInspectorController",
 | 
			
		||||
                "implementation": "controllers/ObjectInspectorController.js",
 | 
			
		||||
                "depends": [ "$scope", "objectService" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "BannerController",
 | 
			
		||||
                "implementation": "controllers/BannerController.js",
 | 
			
		||||
                "depends": ["$scope", "notificationService", "dialogService"]
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "directives": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "mctContainer",
 | 
			
		||||
                "implementation": "directives/MCTContainer.js",
 | 
			
		||||
                "depends": [ "containers[]" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "mctDrag",
 | 
			
		||||
                "implementation": "directives/MCTDrag.js",
 | 
			
		||||
                "depends": [ "$document" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "mctClickElsewhere",
 | 
			
		||||
                "implementation": "directives/MCTClickElsewhere.js",
 | 
			
		||||
                "depends": [ "$document" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "mctResize",
 | 
			
		||||
                "implementation": "directives/MCTResize.js",
 | 
			
		||||
                "depends": [ "$timeout" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "mctPopup",
 | 
			
		||||
                "implementation": "directives/MCTPopup.js",
 | 
			
		||||
                "depends": [ "$compile", "popupService" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "mctScrollX",
 | 
			
		||||
                "implementation": "directives/MCTScroll.js",
 | 
			
		||||
                "depends": [ "$parse", "MCT_SCROLL_X_PROPERTY", "MCT_SCROLL_X_ATTRIBUTE" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "mctScrollY",
 | 
			
		||||
                "implementation": "directives/MCTScroll.js",
 | 
			
		||||
                "depends": [ "$parse", "MCT_SCROLL_Y_PROPERTY", "MCT_SCROLL_Y_ATTRIBUTE" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "mctSplitPane",
 | 
			
		||||
                "implementation": "directives/MCTSplitPane.js",
 | 
			
		||||
                "depends": [ "$parse", "$log", "$interval" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "mctSplitter",
 | 
			
		||||
                "implementation": "directives/MCTSplitter.js"
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "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"
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "containers": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "accordion",
 | 
			
		||||
                "templateUrl": "templates/containers/accordion.html",
 | 
			
		||||
                "attributes": [ "label" ]
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "representations": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "tree",
 | 
			
		||||
                "templateUrl": "templates/subtree.html",
 | 
			
		||||
                "uses": [ "composition" ],
 | 
			
		||||
                "type": "root",
 | 
			
		||||
                "priority": "preferred"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "tree",
 | 
			
		||||
                "templateUrl": "templates/tree.html"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "subtree",
 | 
			
		||||
                "templateUrl": "templates/subtree.html",
 | 
			
		||||
                "uses": [ "composition" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "tree-node",
 | 
			
		||||
                "templateUrl": "templates/tree-node.html",
 | 
			
		||||
                "uses": [ "action" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "label",
 | 
			
		||||
                "templateUrl": "templates/label.html",
 | 
			
		||||
                "uses": [ "type", "location" ],
 | 
			
		||||
                "gestures": [ "drag", "menu", "info" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "node",
 | 
			
		||||
                "templateUrl": "templates/label.html",
 | 
			
		||||
                "uses": [ "type" ],
 | 
			
		||||
                "gestures": [ "drag", "menu" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "action-group",
 | 
			
		||||
                "templateUrl": "templates/controls/action-group.html",
 | 
			
		||||
                "uses": [ "action" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "context-menu",
 | 
			
		||||
                "templateUrl": "templates/menu/context-menu.html",
 | 
			
		||||
                "uses": [ "action" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "switcher",
 | 
			
		||||
                "templateUrl": "templates/controls/switcher.html",
 | 
			
		||||
                "uses": [ "view" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "object-inspector",
 | 
			
		||||
                "templateUrl": "templates/object-inspector.html"
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "controls": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "selector",
 | 
			
		||||
                "templateUrl": "templates/controls/selector.html"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "datetime-picker",
 | 
			
		||||
                "templateUrl": "templates/controls/datetime-picker.html"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "datetime-field",
 | 
			
		||||
                "templateUrl": "templates/controls/datetime-field.html"
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "licenses": [
 | 
			
		||||
            {
 | 
			
		||||
                "name": "Modernizr",
 | 
			
		||||
                "version": "2.6.2",
 | 
			
		||||
                "description": "Browser/device capability finding",
 | 
			
		||||
                "author": "Faruk Ateş",
 | 
			
		||||
                "website": "http://modernizr.com",
 | 
			
		||||
                "copyright": "Copyright (c) 2009–2015",
 | 
			
		||||
                "license": "license-mit",
 | 
			
		||||
                "link": "http://modernizr.com/license/"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "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"
 | 
			
		||||
            }
 | 
			
		||||
        ]
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										94
									
								
								platform/commonUI/inspect/bundle.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										94
									
								
								platform/commonUI/inspect/bundle.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,94 @@
 | 
			
		||||
/*****************************************************************************
 | 
			
		||||
 * Open MCT Web, Copyright (c) 2014-2015, United States Government
 | 
			
		||||
 * as represented by the Administrator of the National Aeronautics and Space
 | 
			
		||||
 * Administration. All rights reserved.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web is licensed under the Apache License, Version 2.0 (the
 | 
			
		||||
 * "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.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web includes source code licensed under additional open source
 | 
			
		||||
 * 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.
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
/*global define*/
 | 
			
		||||
 | 
			
		||||
define(['legacyRegistry'], function (legacyRegistry) {
 | 
			
		||||
    "use strict";
 | 
			
		||||
    legacyRegistry.register("platform/commonUI/inspect", {
 | 
			
		||||
        "extensions": {
 | 
			
		||||
            "templates": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "info-table",
 | 
			
		||||
                    "templateUrl": "info-table.html"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "info-bubble",
 | 
			
		||||
                    "templateUrl": "info-bubble.html"
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "containers": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "bubble",
 | 
			
		||||
                    "templateUrl": "bubble.html",
 | 
			
		||||
                    "attributes": [ "bubbleTitle", "bubbleLayout" ],
 | 
			
		||||
                    "alias": "bubble"
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "gestures": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "info",
 | 
			
		||||
                    "implementation": "gestures/InfoGesture.js",
 | 
			
		||||
                    "depends": [
 | 
			
		||||
                        "$timeout",
 | 
			
		||||
                        "agentService",
 | 
			
		||||
                        "infoService",
 | 
			
		||||
                        "INFO_HOVER_DELAY"
 | 
			
		||||
                    ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "infobutton",
 | 
			
		||||
                    "implementation": "gestures/InfoButtonGesture.js",
 | 
			
		||||
                    "depends": [
 | 
			
		||||
                        "$document",
 | 
			
		||||
                        "agentService",
 | 
			
		||||
                        "infoService"
 | 
			
		||||
                    ]
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "services": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "infoService",
 | 
			
		||||
                    "implementation": "services/InfoService.js",
 | 
			
		||||
                    "depends": [
 | 
			
		||||
                        "$compile",
 | 
			
		||||
                        "$rootScope",
 | 
			
		||||
                        "popupService",
 | 
			
		||||
                        "agentService"
 | 
			
		||||
                    ]
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "constants": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "INFO_HOVER_DELAY",
 | 
			
		||||
                    "value": 2000
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "representations": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "info-button",
 | 
			
		||||
                    "templateUrl": "templates/info-button.html",
 | 
			
		||||
                    "gestures": [ "infobutton" ]
 | 
			
		||||
                }
 | 
			
		||||
            ]
 | 
			
		||||
        }
 | 
			
		||||
    });
 | 
			
		||||
});
 | 
			
		||||
@@ -1,68 +0,0 @@
 | 
			
		||||
{
 | 
			
		||||
    "extensions": {
 | 
			
		||||
        "templates": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "info-table",
 | 
			
		||||
                "templateUrl": "info-table.html"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "info-bubble",
 | 
			
		||||
                "templateUrl": "info-bubble.html"
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "containers": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "bubble",
 | 
			
		||||
                "templateUrl": "bubble.html",
 | 
			
		||||
                "attributes": [ "bubbleTitle", "bubbleLayout" ],
 | 
			
		||||
                "alias": "bubble"
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "gestures": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "info",
 | 
			
		||||
                "implementation": "gestures/InfoGesture.js",
 | 
			
		||||
                "depends": [
 | 
			
		||||
                    "$timeout",
 | 
			
		||||
                    "agentService",
 | 
			
		||||
                    "infoService",
 | 
			
		||||
                    "INFO_HOVER_DELAY"
 | 
			
		||||
                ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "infobutton",
 | 
			
		||||
                "implementation": "gestures/InfoButtonGesture.js",
 | 
			
		||||
                "depends": [
 | 
			
		||||
                    "$document",
 | 
			
		||||
                    "agentService",
 | 
			
		||||
                    "infoService"
 | 
			
		||||
                ]
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "services": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "infoService",
 | 
			
		||||
                "implementation": "services/InfoService.js",
 | 
			
		||||
                "depends": [
 | 
			
		||||
                    "$compile",
 | 
			
		||||
                    "$rootScope",
 | 
			
		||||
                    "popupService",
 | 
			
		||||
                    "agentService"
 | 
			
		||||
                ]
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "constants": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "INFO_HOVER_DELAY",
 | 
			
		||||
                "value": 2000
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "representations": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "info-button",
 | 
			
		||||
                "templateUrl": "templates/info-button.html",
 | 
			
		||||
                "gestures": [ "infobutton" ]
 | 
			
		||||
            }
 | 
			
		||||
        ]
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										50
									
								
								platform/commonUI/mobile/bundle.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										50
									
								
								platform/commonUI/mobile/bundle.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,50 @@
 | 
			
		||||
/*****************************************************************************
 | 
			
		||||
 * Open MCT Web, Copyright (c) 2014-2015, United States Government
 | 
			
		||||
 * as represented by the Administrator of the National Aeronautics and Space
 | 
			
		||||
 * Administration. All rights reserved.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web is licensed under the Apache License, Version 2.0 (the
 | 
			
		||||
 * "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.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web includes source code licensed under additional open source
 | 
			
		||||
 * 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.
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
/*global define*/
 | 
			
		||||
 | 
			
		||||
define(['legacyRegistry'], function (legacyRegistry) {
 | 
			
		||||
    "use strict";
 | 
			
		||||
    legacyRegistry.register("platform/commonUI/mobile", {
 | 
			
		||||
        "extensions": {
 | 
			
		||||
            "directives": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "mctDevice",
 | 
			
		||||
                    "implementation": "MCTDevice.js",
 | 
			
		||||
                    "depends": [ "agentService" ]
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "services": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "agentService",
 | 
			
		||||
                    "implementation": "AgentService.js",
 | 
			
		||||
                    "depends": [ "$window" ]
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "runs": [
 | 
			
		||||
                {
 | 
			
		||||
                    "implementation": "DeviceClassifier.js",
 | 
			
		||||
                    "depends": [ "agentService", "$document" ]
 | 
			
		||||
                }
 | 
			
		||||
            ]
 | 
			
		||||
        }
 | 
			
		||||
    });
 | 
			
		||||
});
 | 
			
		||||
@@ -1,24 +0,0 @@
 | 
			
		||||
{
 | 
			
		||||
    "extensions": {
 | 
			
		||||
        "directives": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "mctDevice",
 | 
			
		||||
                "implementation": "MCTDevice.js",
 | 
			
		||||
                "depends": [ "agentService" ]
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "services": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "agentService",
 | 
			
		||||
                "implementation": "AgentService.js",
 | 
			
		||||
                "depends": [ "$window" ]
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "runs": [
 | 
			
		||||
            {
 | 
			
		||||
                "implementation": "DeviceClassifier.js",
 | 
			
		||||
                "depends": [ "agentService", "$document" ]
 | 
			
		||||
            }
 | 
			
		||||
        ]
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										71
									
								
								platform/commonUI/notification/bundle.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										71
									
								
								platform/commonUI/notification/bundle.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,71 @@
 | 
			
		||||
/*****************************************************************************
 | 
			
		||||
 * Open MCT Web, Copyright (c) 2014-2015, United States Government
 | 
			
		||||
 * as represented by the Administrator of the National Aeronautics and Space
 | 
			
		||||
 * Administration. All rights reserved.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web is licensed under the Apache License, Version 2.0 (the
 | 
			
		||||
 * "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.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web includes source code licensed under additional open source
 | 
			
		||||
 * 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.
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
/*global define*/
 | 
			
		||||
 | 
			
		||||
define(['legacyRegistry'], function (legacyRegistry) {
 | 
			
		||||
    "use strict";
 | 
			
		||||
    legacyRegistry.register("platform/commonUI/notification", {
 | 
			
		||||
        "extensions": {
 | 
			
		||||
            "constants": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "DEFAULT_AUTO_DISMISS",
 | 
			
		||||
                    "value": 3000
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "FORCE_AUTO_DISMISS",
 | 
			
		||||
                    "value": 1000
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "MINIMIZE_TIMEOUT",
 | 
			
		||||
                    "value": 300
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "templates": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key":"notificationIndicatorTemplate",
 | 
			
		||||
                    "templateUrl": "notification-indicator.html"
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "controllers": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "NotificationIndicatorController",
 | 
			
		||||
                    "implementation": "NotificationIndicatorController.js",
 | 
			
		||||
                    "depends": ["$scope", "notificationService", "dialogService"]
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "indicators": [
 | 
			
		||||
                {
 | 
			
		||||
                    "implementation": "NotificationIndicator.js",
 | 
			
		||||
                    "priority": "fallback"
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "services": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "notificationService",
 | 
			
		||||
                    "implementation": "NotificationService.js",
 | 
			
		||||
                    "depends": [ "$timeout", "DEFAULT_AUTO_DISMISS",
 | 
			
		||||
                        "MINIMIZE_TIMEOUT" ]
 | 
			
		||||
                }
 | 
			
		||||
            ]
 | 
			
		||||
        }
 | 
			
		||||
    });
 | 
			
		||||
});
 | 
			
		||||
@@ -1,45 +0,0 @@
 | 
			
		||||
{
 | 
			
		||||
    "extensions": {
 | 
			
		||||
        "constants": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "DEFAULT_AUTO_DISMISS",
 | 
			
		||||
                "value": 3000
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "FORCE_AUTO_DISMISS",
 | 
			
		||||
                "value": 1000
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "MINIMIZE_TIMEOUT",
 | 
			
		||||
                "value": 300
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "templates": [
 | 
			
		||||
            {
 | 
			
		||||
                "key":"notificationIndicatorTemplate",
 | 
			
		||||
                "templateUrl": "notification-indicator.html"
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "controllers": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "NotificationIndicatorController",
 | 
			
		||||
                "implementation": "NotificationIndicatorController.js",
 | 
			
		||||
                "depends": ["$scope", "notificationService", "dialogService"]
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "indicators": [
 | 
			
		||||
            {
 | 
			
		||||
                "implementation": "NotificationIndicator.js",
 | 
			
		||||
                "priority": "fallback"
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "services": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "notificationService",
 | 
			
		||||
                "implementation": "NotificationService.js",
 | 
			
		||||
                "depends": [ "$timeout", "DEFAULT_AUTO_DISMISS",
 | 
			
		||||
                    "MINIMIZE_TIMEOUT" ]
 | 
			
		||||
            }
 | 
			
		||||
        ]
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										44
									
								
								platform/commonUI/themes/espresso/bundle.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										44
									
								
								platform/commonUI/themes/espresso/bundle.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,44 @@
 | 
			
		||||
/*****************************************************************************
 | 
			
		||||
 * Open MCT Web, Copyright (c) 2014-2015, United States Government
 | 
			
		||||
 * as represented by the Administrator of the National Aeronautics and Space
 | 
			
		||||
 * Administration. All rights reserved.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web is licensed under the Apache License, Version 2.0 (the
 | 
			
		||||
 * "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.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web includes source code licensed under additional open source
 | 
			
		||||
 * 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.
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
/*global define*/
 | 
			
		||||
 | 
			
		||||
define(['legacyRegistry'], function (legacyRegistry) {
 | 
			
		||||
    "use strict";
 | 
			
		||||
    legacyRegistry.register("platform/commonUI/themes/espresso", {
 | 
			
		||||
        "name": "Espresso",
 | 
			
		||||
        "description": "Espresso theme: dark and rich",
 | 
			
		||||
        "extensions": {
 | 
			
		||||
            "stylesheets": [
 | 
			
		||||
                {
 | 
			
		||||
                    "stylesheetUrl": "css/theme-espresso.css",
 | 
			
		||||
                    "priority": 1000
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "constants": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "THEME",
 | 
			
		||||
                    "value": "espresso"
 | 
			
		||||
                }
 | 
			
		||||
            ]
 | 
			
		||||
        }
 | 
			
		||||
    });
 | 
			
		||||
});
 | 
			
		||||
@@ -1,18 +0,0 @@
 | 
			
		||||
{
 | 
			
		||||
    "name": "Espresso",
 | 
			
		||||
    "description": "Espresso theme: dark and rich",
 | 
			
		||||
    "extensions": {
 | 
			
		||||
        "stylesheets": [
 | 
			
		||||
            {
 | 
			
		||||
                "stylesheetUrl": "css/theme-espresso.css",
 | 
			
		||||
                "priority": 1000
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "constants": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "THEME",
 | 
			
		||||
                "value": "espresso"
 | 
			
		||||
            }
 | 
			
		||||
        ]
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										44
									
								
								platform/commonUI/themes/snow/bundle.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										44
									
								
								platform/commonUI/themes/snow/bundle.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,44 @@
 | 
			
		||||
/*****************************************************************************
 | 
			
		||||
 * Open MCT Web, Copyright (c) 2014-2015, United States Government
 | 
			
		||||
 * as represented by the Administrator of the National Aeronautics and Space
 | 
			
		||||
 * Administration. All rights reserved.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web is licensed under the Apache License, Version 2.0 (the
 | 
			
		||||
 * "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.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web includes source code licensed under additional open source
 | 
			
		||||
 * 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.
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
/*global define*/
 | 
			
		||||
 | 
			
		||||
define(['legacyRegistry'], function (legacyRegistry) {
 | 
			
		||||
    "use strict";
 | 
			
		||||
    legacyRegistry.register("platform/commonUI/themes/snow", {
 | 
			
		||||
        "name": "Snow",
 | 
			
		||||
        "description": "Snow theme: light and cool",
 | 
			
		||||
        "extensions": {
 | 
			
		||||
            "stylesheets": [
 | 
			
		||||
                {
 | 
			
		||||
                    "stylesheetUrl": "css/theme-snow.css",
 | 
			
		||||
                    "priority": 1000
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "constants": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "THEME",
 | 
			
		||||
                    "value": "snow"
 | 
			
		||||
                }
 | 
			
		||||
            ]
 | 
			
		||||
        }
 | 
			
		||||
    });
 | 
			
		||||
});
 | 
			
		||||
@@ -1,18 +0,0 @@
 | 
			
		||||
{
 | 
			
		||||
    "name": "Snow",
 | 
			
		||||
    "description": "Snow theme: light and cool",
 | 
			
		||||
    "extensions": {
 | 
			
		||||
        "stylesheets": [
 | 
			
		||||
            {
 | 
			
		||||
                "stylesheetUrl": "css/theme-snow.css",
 | 
			
		||||
                "priority": 1000
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "constants": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "THEME",
 | 
			
		||||
                "value": "snow"
 | 
			
		||||
            }
 | 
			
		||||
        ]
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										54
									
								
								platform/containment/bundle.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										54
									
								
								platform/containment/bundle.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,54 @@
 | 
			
		||||
/*****************************************************************************
 | 
			
		||||
 * Open MCT Web, Copyright (c) 2014-2015, United States Government
 | 
			
		||||
 * as represented by the Administrator of the National Aeronautics and Space
 | 
			
		||||
 * Administration. All rights reserved.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web is licensed under the Apache License, Version 2.0 (the
 | 
			
		||||
 * "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.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web includes source code licensed under additional open source
 | 
			
		||||
 * 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.
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
/*global define*/
 | 
			
		||||
 | 
			
		||||
define(['legacyRegistry'], function (legacyRegistry) {
 | 
			
		||||
    "use strict";
 | 
			
		||||
    legacyRegistry.register("platform/containment", {
 | 
			
		||||
        "extensions": {
 | 
			
		||||
            "policies": [
 | 
			
		||||
                {
 | 
			
		||||
                    "category": "composition",
 | 
			
		||||
                    "implementation": "CompositionPolicy.js",
 | 
			
		||||
                    "depends": [ "$injector" ],
 | 
			
		||||
                    "message": "Objects of this type cannot contain objects of that type."
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "category": "composition",
 | 
			
		||||
                    "implementation": "CompositionMutabilityPolicy.js",
 | 
			
		||||
                    "message": "Objects of this type cannot be modified."
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "category": "composition",
 | 
			
		||||
                    "implementation": "CompositionModelPolicy.js",
 | 
			
		||||
                    "message": "Objects of this type cannot contain other objects."
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "category": "action",
 | 
			
		||||
                    "implementation": "ComposeActionPolicy.js",
 | 
			
		||||
                    "depends": [ "$injector" ],
 | 
			
		||||
                    "message": "Objects of this type cannot contain objects of that type."
 | 
			
		||||
                }
 | 
			
		||||
            ]
 | 
			
		||||
        }
 | 
			
		||||
    });
 | 
			
		||||
});
 | 
			
		||||
@@ -1,28 +0,0 @@
 | 
			
		||||
{
 | 
			
		||||
    "extensions": {
 | 
			
		||||
        "policies": [
 | 
			
		||||
            {
 | 
			
		||||
                "category": "composition",
 | 
			
		||||
                "implementation": "CompositionPolicy.js",
 | 
			
		||||
                "depends": [ "$injector" ],
 | 
			
		||||
                "message": "Objects of this type cannot contain objects of that type."
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "category": "composition",
 | 
			
		||||
                "implementation": "CompositionMutabilityPolicy.js",
 | 
			
		||||
                "message": "Objects of this type cannot be modified."
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "category": "composition",
 | 
			
		||||
                "implementation": "CompositionModelPolicy.js",
 | 
			
		||||
                "message": "Objects of this type cannot contain other objects."
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "category": "action",
 | 
			
		||||
                "implementation": "ComposeActionPolicy.js",
 | 
			
		||||
                "depends": [ "$injector" ],
 | 
			
		||||
                "message": "Objects of this type cannot contain objects of that type."
 | 
			
		||||
            }
 | 
			
		||||
        ]
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										295
									
								
								platform/core/bundle.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										295
									
								
								platform/core/bundle.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,295 @@
 | 
			
		||||
/*****************************************************************************
 | 
			
		||||
 * Open MCT Web, Copyright (c) 2014-2015, United States Government
 | 
			
		||||
 * as represented by the Administrator of the National Aeronautics and Space
 | 
			
		||||
 * Administration. All rights reserved.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web is licensed under the Apache License, Version 2.0 (the
 | 
			
		||||
 * "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.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web includes source code licensed under additional open source
 | 
			
		||||
 * 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.
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
/*global define*/
 | 
			
		||||
 | 
			
		||||
define(['legacyRegistry'], function (legacyRegistry) {
 | 
			
		||||
    "use strict";
 | 
			
		||||
    legacyRegistry.register("platform/core", {
 | 
			
		||||
        "name": "Open MCT Web Core",
 | 
			
		||||
        "description": "Defines core concepts of Open MCT Web.",
 | 
			
		||||
        "sources": "src",
 | 
			
		||||
        "configuration": {
 | 
			
		||||
            "paths": {
 | 
			
		||||
                "uuid": "uuid"
 | 
			
		||||
            }
 | 
			
		||||
        },
 | 
			
		||||
        "extensions": {
 | 
			
		||||
            "versions": [
 | 
			
		||||
                {
 | 
			
		||||
                    "name": "Version",
 | 
			
		||||
                    "value": "${project.version}",
 | 
			
		||||
                    "priority": 999
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "name": "Built",
 | 
			
		||||
                    "value": "${timestamp}",
 | 
			
		||||
                    "description": "The date on which this version of the client was built.",
 | 
			
		||||
                    "priority": 990
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "name": "Revision",
 | 
			
		||||
                    "value": "${buildNumber}",
 | 
			
		||||
                    "description": "A unique revision identifier for the client sources.",
 | 
			
		||||
                    "priority": 995
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "name": "Branch",
 | 
			
		||||
                    "value": "${scmBranch}",
 | 
			
		||||
                    "description": "The date on which this version of the client was built.",
 | 
			
		||||
                    "priority": 994
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "components": [
 | 
			
		||||
                {
 | 
			
		||||
                    "provides": "objectService",
 | 
			
		||||
                    "type": "provider",
 | 
			
		||||
                    "implementation": "objects/DomainObjectProvider.js",
 | 
			
		||||
                    "depends": [ "modelService", "instantiate" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "provides": "capabilityService",
 | 
			
		||||
                    "type": "provider",
 | 
			
		||||
                    "implementation": "capabilities/CoreCapabilityProvider.js",
 | 
			
		||||
                    "depends": [ "capabilities[]", "$log" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "provides": "modelService",
 | 
			
		||||
                    "type": "provider",
 | 
			
		||||
                    "implementation": "models/StaticModelProvider",
 | 
			
		||||
                    "depends": [ "models[]", "$q", "$log" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "provides": "modelService",
 | 
			
		||||
                    "type": "provider",
 | 
			
		||||
                    "implementation": "models/RootModelProvider.js",
 | 
			
		||||
                    "depends": [ "roots[]", "$q", "$log" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "provides": "modelService",
 | 
			
		||||
                    "type": "aggregator",
 | 
			
		||||
                    "implementation": "models/ModelAggregator.js",
 | 
			
		||||
                    "depends": [ "$q" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "provides": "modelService",
 | 
			
		||||
                    "type": "provider",
 | 
			
		||||
                    "implementation": "models/PersistedModelProvider.js",
 | 
			
		||||
                    "depends": [
 | 
			
		||||
                        "persistenceService",
 | 
			
		||||
                        "$q",
 | 
			
		||||
                        "now",
 | 
			
		||||
                        "PERSISTENCE_SPACE"
 | 
			
		||||
                    ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "provides": "modelService",
 | 
			
		||||
                    "type": "decorator",
 | 
			
		||||
                    "implementation": "models/CachingModelDecorator.js"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "provides": "modelService",
 | 
			
		||||
                    "type": "decorator",
 | 
			
		||||
                    "priority": "fallback",
 | 
			
		||||
                    "implementation": "models/MissingModelDecorator.js"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "provides": "typeService",
 | 
			
		||||
                    "type": "provider",
 | 
			
		||||
                    "implementation": "types/TypeProvider.js",
 | 
			
		||||
                    "depends": [ "types[]" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "provides": "actionService",
 | 
			
		||||
                    "type": "provider",
 | 
			
		||||
                    "implementation": "actions/ActionProvider.js",
 | 
			
		||||
                    "depends": [ "actions[]", "$log" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "provides": "actionService",
 | 
			
		||||
                    "type": "aggregator",
 | 
			
		||||
                    "implementation": "actions/ActionAggregator.js"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "provides": "actionService",
 | 
			
		||||
                    "type": "decorator",
 | 
			
		||||
                    "implementation": "actions/LoggingActionDecorator.js",
 | 
			
		||||
                    "depends": [ "$log" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "provides": "viewService",
 | 
			
		||||
                    "type": "provider",
 | 
			
		||||
                    "implementation": "views/ViewProvider.js",
 | 
			
		||||
                    "depends": [ "views[]", "$log" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "provides": "identifierService",
 | 
			
		||||
                    "type": "provider",
 | 
			
		||||
                    "implementation": "identifiers/IdentifierProvider.js",
 | 
			
		||||
                    "depends": [ "PERSISTENCE_SPACE" ]
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "types": [
 | 
			
		||||
                {
 | 
			
		||||
                    "properties": [
 | 
			
		||||
                        {
 | 
			
		||||
                            "control": "textfield",
 | 
			
		||||
                            "name": "Title",
 | 
			
		||||
                            "key": "name",
 | 
			
		||||
                            "property": "name",
 | 
			
		||||
                            "pattern": "\\S+",
 | 
			
		||||
                            "required": true,
 | 
			
		||||
                            "cssclass": "l-med"
 | 
			
		||||
                        }
 | 
			
		||||
                    ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "root",
 | 
			
		||||
                    "name": "Root",
 | 
			
		||||
                    "glyph": "F"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "folder",
 | 
			
		||||
                    "name": "Folder",
 | 
			
		||||
                    "glyph": "F",
 | 
			
		||||
                    "features": "creation",
 | 
			
		||||
                    "description": "Useful for storing and organizing domain objects.",
 | 
			
		||||
                    "model": { "composition": [] }
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "unknown",
 | 
			
		||||
                    "name": "Unknown Type",
 | 
			
		||||
                    "glyph": "\u003f"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "name": "Unknown Type",
 | 
			
		||||
                    "glyph": "\u003f"
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "capabilities": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "composition",
 | 
			
		||||
                    "implementation": "capabilities/CompositionCapability.js",
 | 
			
		||||
                    "depends": [ "$injector", "contextualize" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "relationship",
 | 
			
		||||
                    "implementation": "capabilities/RelationshipCapability.js",
 | 
			
		||||
                    "depends": [ "$injector" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "type",
 | 
			
		||||
                    "implementation": "types/TypeCapability.js",
 | 
			
		||||
                    "depends": [ "typeService" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "action",
 | 
			
		||||
                    "implementation": "actions/ActionCapability.js",
 | 
			
		||||
                    "depends": [ "$q", "actionService" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "view",
 | 
			
		||||
                    "implementation": "views/ViewCapability.js",
 | 
			
		||||
                    "depends": [ "viewService" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "persistence",
 | 
			
		||||
                    "implementation": "capabilities/PersistenceCapability.js",
 | 
			
		||||
                    "depends": [ "persistenceService", "identifierService",
 | 
			
		||||
                        "notificationService", "$q" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "metadata",
 | 
			
		||||
                    "implementation": "capabilities/MetadataCapability.js"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "mutation",
 | 
			
		||||
                    "implementation": "capabilities/MutationCapability.js",
 | 
			
		||||
                    "depends": [ "topic", "now" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "delegation",
 | 
			
		||||
                    "implementation": "capabilities/DelegationCapability.js",
 | 
			
		||||
                    "depends": [ "$q" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "instantiation",
 | 
			
		||||
                    "implementation": "capabilities/InstantiationCapability.js",
 | 
			
		||||
                    "depends": [ "$injector", "identifierService" ]
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "services": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "now",
 | 
			
		||||
                    "implementation": "services/Now.js"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "throttle",
 | 
			
		||||
                    "implementation": "services/Throttle.js",
 | 
			
		||||
                    "depends": [ "$timeout" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "topic",
 | 
			
		||||
                    "implementation": "services/Topic.js",
 | 
			
		||||
                    "depends": [ "$log" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "contextualize",
 | 
			
		||||
                    "implementation": "services/Contextualize.js",
 | 
			
		||||
                    "depends": [ "$log" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "instantiate",
 | 
			
		||||
                    "implementation": "services/Instantiate.js",
 | 
			
		||||
                    "depends": [ "capabilityService" ]
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "roots": [
 | 
			
		||||
                {
 | 
			
		||||
                    "id": "mine",
 | 
			
		||||
                    "model": {
 | 
			
		||||
                        "name": "My Items",
 | 
			
		||||
                        "type": "folder",
 | 
			
		||||
                        "composition": []
 | 
			
		||||
                    }
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "constants": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "PERSISTENCE_SPACE",
 | 
			
		||||
                    "value": "mct"
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "licenses": [
 | 
			
		||||
                {
 | 
			
		||||
                    "name": "Math.uuid.js",
 | 
			
		||||
                    "version": "1.4",
 | 
			
		||||
                    "description": "Unique identifer generation (code adapted.)",
 | 
			
		||||
                    "author": "Robert Kieffer",
 | 
			
		||||
                    "website": "https://github.com/broofa/node-uuid",
 | 
			
		||||
                    "copyright": "Copyright (c) 2010 Robert Kieffer",
 | 
			
		||||
                    "license": "license-mit",
 | 
			
		||||
                    "link": "http://opensource.org/licenses/MIT"
 | 
			
		||||
                }
 | 
			
		||||
            ]
 | 
			
		||||
        }
 | 
			
		||||
    });
 | 
			
		||||
});
 | 
			
		||||
@@ -1,269 +0,0 @@
 | 
			
		||||
{
 | 
			
		||||
    "name": "Open MCT Web Core",
 | 
			
		||||
    "description": "Defines core concepts of Open MCT Web.",
 | 
			
		||||
    "sources": "src",
 | 
			
		||||
    "configuration": {
 | 
			
		||||
        "paths": {
 | 
			
		||||
            "uuid": "uuid"
 | 
			
		||||
        }
 | 
			
		||||
    },
 | 
			
		||||
    "extensions": {
 | 
			
		||||
        "versions": [
 | 
			
		||||
            {
 | 
			
		||||
                "name": "Version",
 | 
			
		||||
                "value": "${project.version}",
 | 
			
		||||
                "priority": 999
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "name": "Built",
 | 
			
		||||
                "value": "${timestamp}",
 | 
			
		||||
                "description": "The date on which this version of the client was built.",
 | 
			
		||||
                "priority": 990
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "name": "Revision",
 | 
			
		||||
                "value": "${buildNumber}",
 | 
			
		||||
                "description": "A unique revision identifier for the client sources.",
 | 
			
		||||
                "priority": 995
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "name": "Branch",
 | 
			
		||||
                "value": "${scmBranch}",
 | 
			
		||||
                "description": "The date on which this version of the client was built.",
 | 
			
		||||
                "priority": 994
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "components": [
 | 
			
		||||
            {
 | 
			
		||||
                "provides": "objectService",
 | 
			
		||||
                "type": "provider",
 | 
			
		||||
                "implementation": "objects/DomainObjectProvider.js",
 | 
			
		||||
                "depends": [ "modelService", "instantiate" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "provides": "capabilityService",
 | 
			
		||||
                "type": "provider",
 | 
			
		||||
                "implementation": "capabilities/CoreCapabilityProvider.js",
 | 
			
		||||
                "depends": [ "capabilities[]", "$log" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "provides": "modelService",
 | 
			
		||||
                "type": "provider",
 | 
			
		||||
                "implementation": "models/StaticModelProvider",
 | 
			
		||||
                "depends": [ "models[]", "$q", "$log" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "provides": "modelService",
 | 
			
		||||
                "type": "provider",
 | 
			
		||||
                "implementation": "models/RootModelProvider.js",
 | 
			
		||||
                "depends": [ "roots[]", "$q", "$log" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "provides": "modelService",
 | 
			
		||||
                "type": "aggregator",
 | 
			
		||||
                "implementation": "models/ModelAggregator.js",
 | 
			
		||||
                "depends": [ "$q" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "provides": "modelService",
 | 
			
		||||
                "type": "provider",
 | 
			
		||||
                "implementation": "models/PersistedModelProvider.js",
 | 
			
		||||
                "depends": [
 | 
			
		||||
                    "persistenceService",
 | 
			
		||||
                    "$q",
 | 
			
		||||
                    "now",
 | 
			
		||||
                    "PERSISTENCE_SPACE"
 | 
			
		||||
                ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "provides": "modelService",
 | 
			
		||||
                "type": "decorator",
 | 
			
		||||
                "implementation": "models/CachingModelDecorator.js"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "provides": "modelService",
 | 
			
		||||
                "type": "decorator",
 | 
			
		||||
                "priority": "fallback",
 | 
			
		||||
                "implementation": "models/MissingModelDecorator.js"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "provides": "typeService",
 | 
			
		||||
                "type": "provider",
 | 
			
		||||
                "implementation": "types/TypeProvider.js",
 | 
			
		||||
                "depends": [ "types[]" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "provides": "actionService",
 | 
			
		||||
                "type": "provider",
 | 
			
		||||
                "implementation": "actions/ActionProvider.js",
 | 
			
		||||
                "depends": [ "actions[]", "$log" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "provides": "actionService",
 | 
			
		||||
                "type": "aggregator",
 | 
			
		||||
                "implementation": "actions/ActionAggregator.js"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "provides": "actionService",
 | 
			
		||||
                "type": "decorator",
 | 
			
		||||
                "implementation": "actions/LoggingActionDecorator.js",
 | 
			
		||||
                "depends": [ "$log" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "provides": "viewService",
 | 
			
		||||
                "type": "provider",
 | 
			
		||||
                "implementation": "views/ViewProvider.js",
 | 
			
		||||
                "depends": [ "views[]", "$log" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "provides": "identifierService",
 | 
			
		||||
                "type": "provider",
 | 
			
		||||
                "implementation": "identifiers/IdentifierProvider.js",
 | 
			
		||||
                "depends": [ "PERSISTENCE_SPACE" ]
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "types": [
 | 
			
		||||
            {
 | 
			
		||||
                "properties": [
 | 
			
		||||
                    {
 | 
			
		||||
                        "control": "textfield",
 | 
			
		||||
                        "name": "Title",
 | 
			
		||||
                        "key": "name",
 | 
			
		||||
                        "property": "name",
 | 
			
		||||
                        "pattern": "\\S+",
 | 
			
		||||
                        "required": true,
 | 
			
		||||
                        "cssclass": "l-med"
 | 
			
		||||
                    }
 | 
			
		||||
                ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "root",
 | 
			
		||||
                "name": "Root",
 | 
			
		||||
                "glyph": "F"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "folder",
 | 
			
		||||
                "name": "Folder",
 | 
			
		||||
                "glyph": "F",
 | 
			
		||||
                "features": "creation",
 | 
			
		||||
                "description": "Useful for storing and organizing domain objects.",
 | 
			
		||||
                "model": { "composition": [] }
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "unknown",
 | 
			
		||||
                "name": "Unknown Type",
 | 
			
		||||
                "glyph": "\u003f"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "name": "Unknown Type",
 | 
			
		||||
                "glyph": "\u003f"
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "capabilities": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "composition",
 | 
			
		||||
                "implementation": "capabilities/CompositionCapability.js",
 | 
			
		||||
                "depends": [ "$injector", "contextualize" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "relationship",
 | 
			
		||||
                "implementation": "capabilities/RelationshipCapability.js",
 | 
			
		||||
                "depends": [ "$injector" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "type",
 | 
			
		||||
                "implementation": "types/TypeCapability.js",
 | 
			
		||||
                "depends": [ "typeService" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "action",
 | 
			
		||||
                "implementation": "actions/ActionCapability.js",
 | 
			
		||||
                "depends": [ "$q", "actionService" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "view",
 | 
			
		||||
                "implementation": "views/ViewCapability.js",
 | 
			
		||||
                "depends": [ "viewService" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "persistence",
 | 
			
		||||
                "implementation": "capabilities/PersistenceCapability.js",
 | 
			
		||||
                "depends": [ "persistenceService", "identifierService",
 | 
			
		||||
                    "notificationService", "$q" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "metadata",
 | 
			
		||||
                "implementation": "capabilities/MetadataCapability.js"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "mutation",
 | 
			
		||||
                "implementation": "capabilities/MutationCapability.js",
 | 
			
		||||
                "depends": [ "topic", "now" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "delegation",
 | 
			
		||||
                "implementation": "capabilities/DelegationCapability.js",
 | 
			
		||||
                "depends": [ "$q" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "instantiation",
 | 
			
		||||
                "implementation": "capabilities/InstantiationCapability.js",
 | 
			
		||||
                "depends": [ "$injector", "identifierService" ]
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "services": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "now",
 | 
			
		||||
                "implementation": "services/Now.js"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "throttle",
 | 
			
		||||
                "implementation": "services/Throttle.js",
 | 
			
		||||
                "depends": [ "$timeout" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "topic",
 | 
			
		||||
                "implementation": "services/Topic.js",
 | 
			
		||||
                "depends": [ "$log" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "contextualize",
 | 
			
		||||
                "implementation": "services/Contextualize.js",
 | 
			
		||||
                "depends": [ "$log" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "instantiate",
 | 
			
		||||
                "implementation": "services/Instantiate.js",
 | 
			
		||||
                "depends": [ "capabilityService" ]
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "roots": [
 | 
			
		||||
            {
 | 
			
		||||
                "id": "mine",
 | 
			
		||||
                "model": {
 | 
			
		||||
                    "name": "My Items",
 | 
			
		||||
                    "type": "folder",
 | 
			
		||||
                    "composition": []
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "constants": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "PERSISTENCE_SPACE",
 | 
			
		||||
                "value": "mct"
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "licenses": [
 | 
			
		||||
            {
 | 
			
		||||
                "name": "Math.uuid.js",
 | 
			
		||||
                "version": "1.4",
 | 
			
		||||
                "description": "Unique identifer generation (code adapted.)",
 | 
			
		||||
                "author": "Robert Kieffer",
 | 
			
		||||
                "website": "https://github.com/broofa/node-uuid",
 | 
			
		||||
                "copyright": "Copyright (c) 2010 Robert Kieffer",
 | 
			
		||||
                "license": "license-mit",
 | 
			
		||||
                "link": "http://opensource.org/licenses/MIT"
 | 
			
		||||
            }
 | 
			
		||||
        ]
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										139
									
								
								platform/entanglement/bundle.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										139
									
								
								platform/entanglement/bundle.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,139 @@
 | 
			
		||||
/*****************************************************************************
 | 
			
		||||
 * Open MCT Web, Copyright (c) 2014-2015, United States Government
 | 
			
		||||
 * as represented by the Administrator of the National Aeronautics and Space
 | 
			
		||||
 * Administration. All rights reserved.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web is licensed under the Apache License, Version 2.0 (the
 | 
			
		||||
 * "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.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web includes source code licensed under additional open source
 | 
			
		||||
 * 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.
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
/*global define*/
 | 
			
		||||
 | 
			
		||||
define(['legacyRegistry'], function (legacyRegistry) {
 | 
			
		||||
    "use strict";
 | 
			
		||||
    legacyRegistry.register("platform/entanglement", {
 | 
			
		||||
        "name": "Entanglement",
 | 
			
		||||
        "description": "Tools to assist you in entangling the world of WARP.",
 | 
			
		||||
        "configuration": {},
 | 
			
		||||
        "extensions": {
 | 
			
		||||
            "actions": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "move",
 | 
			
		||||
                    "name": "Move",
 | 
			
		||||
                    "description": "Move object to another location.",
 | 
			
		||||
                    "glyph": "f",
 | 
			
		||||
                    "category": "contextual",
 | 
			
		||||
                    "implementation": "actions/MoveAction.js",
 | 
			
		||||
                    "depends": ["policyService", "locationService", "moveService"]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "copy",
 | 
			
		||||
                    "name": "Duplicate",
 | 
			
		||||
                    "description": "Duplicate object to another location.",
 | 
			
		||||
                    "glyph": "+",
 | 
			
		||||
                    "category": "contextual",
 | 
			
		||||
                    "implementation": "actions/CopyAction.js",
 | 
			
		||||
                    "depends": ["$log", "policyService", "locationService", "copyService",
 | 
			
		||||
                        "dialogService", "notificationService"]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "link",
 | 
			
		||||
                    "name": "Create Link",
 | 
			
		||||
                    "description": "Create Link to object in another location.",
 | 
			
		||||
                    "glyph": "\u00E8",
 | 
			
		||||
                    "category": "contextual",
 | 
			
		||||
                    "implementation": "actions/LinkAction.js",
 | 
			
		||||
                    "depends": ["policyService", "locationService", "linkService"]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "follow",
 | 
			
		||||
                    "name": "Go To Original",
 | 
			
		||||
                    "description": "Go to the original, un-linked instance of this object.",
 | 
			
		||||
                    "glyph": "\u00F4",
 | 
			
		||||
                    "category": "contextual",
 | 
			
		||||
                    "implementation": "actions/GoToOriginalAction.js"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "locate",
 | 
			
		||||
                    "name": "Set Primary Location",
 | 
			
		||||
                    "description": "Set a domain object's primary location.",
 | 
			
		||||
                    "glyph": "",
 | 
			
		||||
                    "category": "contextual",
 | 
			
		||||
                    "implementation": "actions/SetPrimaryLocationAction.js"
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "components": [
 | 
			
		||||
                {
 | 
			
		||||
                    "type": "decorator",
 | 
			
		||||
                    "provides": "creationService",
 | 
			
		||||
                    "implementation": "services/LocatingCreationDecorator.js"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "type": "decorator",
 | 
			
		||||
                    "provides": "objectService",
 | 
			
		||||
                    "implementation": "services/LocatingObjectDecorator.js",
 | 
			
		||||
                    "depends": ["contextualize", "$q", "$log"]
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "policies": [
 | 
			
		||||
                {
 | 
			
		||||
                    "category": "action",
 | 
			
		||||
                    "implementation": "policies/CrossSpacePolicy.js"
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "capabilities": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "location",
 | 
			
		||||
                    "name": "Location Capability",
 | 
			
		||||
                    "description": "Provides a capability for retrieving the location of an object based upon it's context.",
 | 
			
		||||
                    "implementation": "capabilities/LocationCapability",
 | 
			
		||||
                    "depends": [ "$q", "$injector" ]
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "services": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "moveService",
 | 
			
		||||
                    "name": "Move Service",
 | 
			
		||||
                    "description": "Provides a service for moving objects",
 | 
			
		||||
                    "implementation": "services/MoveService.js",
 | 
			
		||||
                    "depends": ["policyService", "linkService", "$q"]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "linkService",
 | 
			
		||||
                    "name": "Link Service",
 | 
			
		||||
                    "description": "Provides a service for linking objects",
 | 
			
		||||
                    "implementation": "services/LinkService.js",
 | 
			
		||||
                    "depends": ["policyService"]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "copyService",
 | 
			
		||||
                    "name": "Copy Service",
 | 
			
		||||
                    "description": "Provides a service for copying objects",
 | 
			
		||||
                    "implementation": "services/CopyService.js",
 | 
			
		||||
                    "depends": ["$q", "policyService", "now"]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "locationService",
 | 
			
		||||
                    "name": "Location Service",
 | 
			
		||||
                    "description": "Provides a service for prompting a user for locations.",
 | 
			
		||||
                    "implementation": "services/LocationService.js",
 | 
			
		||||
                    "depends": ["dialogService"]
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "licenses": [
 | 
			
		||||
            ]
 | 
			
		||||
        }
 | 
			
		||||
    });
 | 
			
		||||
});
 | 
			
		||||
@@ -1,115 +0,0 @@
 | 
			
		||||
{
 | 
			
		||||
    "name": "Entanglement",
 | 
			
		||||
    "description": "Tools to assist you in entangling the world of WARP.",
 | 
			
		||||
    "configuration": {},
 | 
			
		||||
    "extensions": {
 | 
			
		||||
        "actions": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "move",
 | 
			
		||||
                "name": "Move",
 | 
			
		||||
                "description": "Move object to another location.",
 | 
			
		||||
                "glyph": "f",
 | 
			
		||||
                "category": "contextual",
 | 
			
		||||
                "implementation": "actions/MoveAction.js",
 | 
			
		||||
                "depends": ["policyService", "locationService", "moveService"]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "copy",
 | 
			
		||||
                "name": "Duplicate",
 | 
			
		||||
                "description": "Duplicate object to another location.",
 | 
			
		||||
                "glyph": "+",
 | 
			
		||||
                "category": "contextual",
 | 
			
		||||
                "implementation": "actions/CopyAction.js",
 | 
			
		||||
                "depends": ["$log", "policyService", "locationService", "copyService",
 | 
			
		||||
                    "dialogService", "notificationService"]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "link",
 | 
			
		||||
                "name": "Create Link",
 | 
			
		||||
                "description": "Create Link to object in another location.",
 | 
			
		||||
                "glyph": "\u00E8",
 | 
			
		||||
                "category": "contextual",
 | 
			
		||||
                "implementation": "actions/LinkAction.js",
 | 
			
		||||
                "depends": ["policyService", "locationService", "linkService"]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "follow",
 | 
			
		||||
                "name": "Go To Original",
 | 
			
		||||
                "description": "Go to the original, un-linked instance of this object.",
 | 
			
		||||
                "glyph": "\u00F4",
 | 
			
		||||
                "category": "contextual",
 | 
			
		||||
                "implementation": "actions/GoToOriginalAction.js"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "locate",
 | 
			
		||||
                "name": "Set Primary Location",
 | 
			
		||||
                "description": "Set a domain object's primary location.",
 | 
			
		||||
                "glyph": "",
 | 
			
		||||
                "category": "contextual",
 | 
			
		||||
                "implementation": "actions/SetPrimaryLocationAction.js"
 | 
			
		||||
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "components": [
 | 
			
		||||
            {
 | 
			
		||||
                "type": "decorator",
 | 
			
		||||
                "provides": "creationService",
 | 
			
		||||
                "implementation": "services/LocatingCreationDecorator.js"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "type": "decorator",
 | 
			
		||||
                "provides": "objectService",
 | 
			
		||||
                "implementation": "services/LocatingObjectDecorator.js",
 | 
			
		||||
                "depends": ["contextualize", "$q", "$log"]
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "policies": [
 | 
			
		||||
            {
 | 
			
		||||
                "category": "action",
 | 
			
		||||
                "implementation": "policies/CrossSpacePolicy.js"
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "capabilities": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "location",
 | 
			
		||||
                "name": "Location Capability",
 | 
			
		||||
                "description": "Provides a capability for retrieving the location of an object based upon it's context.",
 | 
			
		||||
                "implementation": "capabilities/LocationCapability",
 | 
			
		||||
                "depends": [ "$q", "$injector" ]
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "services": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "moveService",
 | 
			
		||||
                "name": "Move Service",
 | 
			
		||||
                "description": "Provides a service for moving objects",
 | 
			
		||||
                "implementation": "services/MoveService.js",
 | 
			
		||||
                "depends": ["policyService", "linkService", "$q"]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "linkService",
 | 
			
		||||
                "name": "Link Service",
 | 
			
		||||
                "description": "Provides a service for linking objects",
 | 
			
		||||
                "implementation": "services/LinkService.js",
 | 
			
		||||
                "depends": ["policyService"]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "copyService",
 | 
			
		||||
                "name": "Copy Service",
 | 
			
		||||
                "description": "Provides a service for copying objects",
 | 
			
		||||
                "implementation": "services/CopyService.js",
 | 
			
		||||
                "depends": ["$q", "policyService", "now"]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "locationService",
 | 
			
		||||
                "name": "Location Service",
 | 
			
		||||
                "description": "Provides a service for prompting a user for locations.",
 | 
			
		||||
                "implementation": "services/LocationService.js",
 | 
			
		||||
                "depends": ["dialogService"]
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
        ],
 | 
			
		||||
        "licenses": [
 | 
			
		||||
        ]
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
@@ -23,3 +23,15 @@
 | 
			
		||||
 | 
			
		||||
define(['legacyRegistry'], function (legacyRegistry) {
 | 
			
		||||
    "use strict";
 | 
			
		||||
    legacyRegistry.register("platform/execution", {
 | 
			
		||||
        "extensions": {
 | 
			
		||||
            "services": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "workerService",
 | 
			
		||||
                    "implementation": "WorkerService.js",
 | 
			
		||||
                    "depends": [ "$window", "workers[]" ]
 | 
			
		||||
                }
 | 
			
		||||
            ]
 | 
			
		||||
        }
 | 
			
		||||
    });
 | 
			
		||||
});
 | 
			
		||||
@@ -1,11 +0,0 @@
 | 
			
		||||
{
 | 
			
		||||
    "extensions": {
 | 
			
		||||
        "services": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "workerService",
 | 
			
		||||
                "implementation": "WorkerService.js",
 | 
			
		||||
                "depends": [ "$window", "workers[]" ]
 | 
			
		||||
            }
 | 
			
		||||
        ]
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										203
									
								
								platform/features/clock/bundle.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										203
									
								
								platform/features/clock/bundle.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,203 @@
 | 
			
		||||
/*****************************************************************************
 | 
			
		||||
 * Open MCT Web, Copyright (c) 2014-2015, United States Government
 | 
			
		||||
 * as represented by the Administrator of the National Aeronautics and Space
 | 
			
		||||
 * Administration. All rights reserved.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web is licensed under the Apache License, Version 2.0 (the
 | 
			
		||||
 * "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.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web includes source code licensed under additional open source
 | 
			
		||||
 * 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.
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
/*global define*/
 | 
			
		||||
 | 
			
		||||
define(['legacyRegistry'], function (legacyRegistry) {
 | 
			
		||||
    "use strict";
 | 
			
		||||
    legacyRegistry.register("platform/features/clock", {
 | 
			
		||||
        "name": "Clocks/Timers",
 | 
			
		||||
        "descriptions": "Domain objects for displaying current & relative times.",
 | 
			
		||||
        "configuration": {
 | 
			
		||||
            "paths": {
 | 
			
		||||
                "moment-duration-format": "moment-duration-format"
 | 
			
		||||
            },
 | 
			
		||||
            "shim": {
 | 
			
		||||
                "moment-duration-format": {
 | 
			
		||||
                    "deps": [ "moment" ]
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        },
 | 
			
		||||
        "extensions": {
 | 
			
		||||
            "constants": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "CLOCK_INDICATOR_FORMAT",
 | 
			
		||||
                    "value": "YYYY/MM/DD HH:mm:ss"
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "indicators": [
 | 
			
		||||
                {
 | 
			
		||||
                    "implementation": "indicators/ClockIndicator.js",
 | 
			
		||||
                    "depends": [ "tickerService", "CLOCK_INDICATOR_FORMAT" ],
 | 
			
		||||
                    "priority": "preferred"
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "services": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "tickerService",
 | 
			
		||||
                    "implementation": "services/TickerService.js",
 | 
			
		||||
                    "depends": [ "$timeout", "now" ]
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "controllers": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "ClockController",
 | 
			
		||||
                    "implementation": "controllers/ClockController.js",
 | 
			
		||||
                    "depends": [ "$scope", "tickerService" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "TimerController",
 | 
			
		||||
                    "implementation": "controllers/TimerController.js",
 | 
			
		||||
                    "depends": [ "$scope", "$window", "now" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "RefreshingController",
 | 
			
		||||
                    "implementation": "controllers/RefreshingController.js",
 | 
			
		||||
                    "depends": [ "$scope", "tickerService" ]
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "views": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "clock",
 | 
			
		||||
                    "type": "clock",
 | 
			
		||||
                    "templateUrl": "templates/clock.html"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "timer",
 | 
			
		||||
                    "type": "timer",
 | 
			
		||||
                    "templateUrl": "templates/timer.html"
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "actions": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "timer.start",
 | 
			
		||||
                    "implementation": "actions/StartTimerAction.js",
 | 
			
		||||
                    "depends": ["now"],
 | 
			
		||||
                    "category": "contextual",
 | 
			
		||||
                    "name": "Start",
 | 
			
		||||
                    "glyph": "\u00EF",
 | 
			
		||||
                    "priority": "preferred"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "timer.restart",
 | 
			
		||||
                    "implementation": "actions/RestartTimerAction.js",
 | 
			
		||||
                    "depends": ["now"],
 | 
			
		||||
                    "category": "contextual",
 | 
			
		||||
                    "name": "Restart at 0",
 | 
			
		||||
                    "glyph": "r",
 | 
			
		||||
                    "priority": "preferred"
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "types": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "clock",
 | 
			
		||||
                    "name": "Clock",
 | 
			
		||||
                    "glyph": "C",
 | 
			
		||||
                    "features": [ "creation" ],
 | 
			
		||||
                    "properties": [
 | 
			
		||||
                        {
 | 
			
		||||
                            "key": "clockFormat",
 | 
			
		||||
                            "name": "Display Format",
 | 
			
		||||
                            "control": "composite",
 | 
			
		||||
                            "items": [
 | 
			
		||||
                                {
 | 
			
		||||
                                    "control": "select",
 | 
			
		||||
                                    "options": [
 | 
			
		||||
                                        {
 | 
			
		||||
                                            "value": "YYYY/MM/DD hh:mm:ss",
 | 
			
		||||
                                            "name": "YYYY/MM/DD hh:mm:ss"
 | 
			
		||||
                                        },
 | 
			
		||||
                                        {
 | 
			
		||||
                                            "value": "YYYY/DDD hh:mm:ss",
 | 
			
		||||
                                            "name": "YYYY/DDD hh:mm:ss"
 | 
			
		||||
                                        },
 | 
			
		||||
                                        {
 | 
			
		||||
                                            "value": "hh:mm:ss",
 | 
			
		||||
                                            "name": "hh:mm:ss"
 | 
			
		||||
                                        }
 | 
			
		||||
                                    ]
 | 
			
		||||
                                },
 | 
			
		||||
                                {
 | 
			
		||||
                                    "control": "select",
 | 
			
		||||
                                    "options": [
 | 
			
		||||
                                        {
 | 
			
		||||
                                            "value": "clock12",
 | 
			
		||||
                                            "name": "12hr"
 | 
			
		||||
                                        },
 | 
			
		||||
                                        {
 | 
			
		||||
                                            "value": "clock24",
 | 
			
		||||
                                            "name": "24hr"
 | 
			
		||||
                                        }
 | 
			
		||||
                                    ]
 | 
			
		||||
                                }
 | 
			
		||||
                            ]
 | 
			
		||||
                        }
 | 
			
		||||
                    ],
 | 
			
		||||
                    "model": {
 | 
			
		||||
                        "clockFormat": [ "YYYY/MM/DD hh:mm:ss", "clock12" ]
 | 
			
		||||
                    }
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "timer",
 | 
			
		||||
                    "name": "Timer",
 | 
			
		||||
                    "glyph": "\u00F5",
 | 
			
		||||
                    "features": [ "creation" ],
 | 
			
		||||
                    "properties": [
 | 
			
		||||
                        {
 | 
			
		||||
                            "key": "timestamp",
 | 
			
		||||
                            "control": "datetime",
 | 
			
		||||
                            "name": "Target"
 | 
			
		||||
                        },
 | 
			
		||||
                        {
 | 
			
		||||
                            "key": "timerFormat",
 | 
			
		||||
                            "control": "select",
 | 
			
		||||
                            "options": [
 | 
			
		||||
                                {
 | 
			
		||||
                                    "value": "long",
 | 
			
		||||
                                    "name": "DDD hh:mm:ss"
 | 
			
		||||
                                },
 | 
			
		||||
                                {
 | 
			
		||||
                                    "value": "short",
 | 
			
		||||
                                    "name": "hh:mm:ss"
 | 
			
		||||
                                }
 | 
			
		||||
                            ]
 | 
			
		||||
                        }
 | 
			
		||||
                    ],
 | 
			
		||||
                    "model": {
 | 
			
		||||
                        "timerFormat": "DDD hh:mm:ss"
 | 
			
		||||
                    }
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "licenses": [
 | 
			
		||||
                {
 | 
			
		||||
                    "name": "moment-duration-format",
 | 
			
		||||
                    "version": "1.3.0",
 | 
			
		||||
                    "author": "John Madhavan-Reese",
 | 
			
		||||
                    "description": "Duration parsing/formatting",
 | 
			
		||||
                    "website": "https://github.com/jsmreese/moment-duration-format",
 | 
			
		||||
                    "copyright": "Copyright 2014 John Madhavan-Reese",
 | 
			
		||||
                    "license": "license-mit",
 | 
			
		||||
                    "link": "https://github.com/jsmreese/moment-duration-format/blob/master/LICENSE"
 | 
			
		||||
                }
 | 
			
		||||
            ]
 | 
			
		||||
        }
 | 
			
		||||
    });
 | 
			
		||||
});
 | 
			
		||||
@@ -1,178 +0,0 @@
 | 
			
		||||
{
 | 
			
		||||
    "name": "Clocks/Timers",
 | 
			
		||||
    "descriptions": "Domain objects for displaying current & relative times.",
 | 
			
		||||
    "configuration": {
 | 
			
		||||
        "paths": {
 | 
			
		||||
            "moment-duration-format": "moment-duration-format"
 | 
			
		||||
        },
 | 
			
		||||
        "shim": {
 | 
			
		||||
            "moment-duration-format": {
 | 
			
		||||
                "deps": [ "moment" ]
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    },
 | 
			
		||||
    "extensions": {
 | 
			
		||||
        "constants": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "CLOCK_INDICATOR_FORMAT",
 | 
			
		||||
                "value": "YYYY/MM/DD HH:mm:ss"
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
        ],
 | 
			
		||||
        "indicators": [
 | 
			
		||||
            {
 | 
			
		||||
                "implementation": "indicators/ClockIndicator.js",
 | 
			
		||||
                "depends": [ "tickerService", "CLOCK_INDICATOR_FORMAT" ],
 | 
			
		||||
                "priority": "preferred"
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "services": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "tickerService",
 | 
			
		||||
                "implementation": "services/TickerService.js",
 | 
			
		||||
                "depends": [ "$timeout", "now" ]
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "controllers": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "ClockController",
 | 
			
		||||
                "implementation": "controllers/ClockController.js",
 | 
			
		||||
                "depends": [ "$scope", "tickerService" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "TimerController",
 | 
			
		||||
                "implementation": "controllers/TimerController.js",
 | 
			
		||||
                "depends": [ "$scope", "$window", "now" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "RefreshingController",
 | 
			
		||||
                "implementation": "controllers/RefreshingController.js",
 | 
			
		||||
                "depends": [ "$scope", "tickerService" ]
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "views": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "clock",
 | 
			
		||||
                "type": "clock",
 | 
			
		||||
                "templateUrl": "templates/clock.html"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "timer",
 | 
			
		||||
                "type": "timer",
 | 
			
		||||
                "templateUrl": "templates/timer.html"
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "actions": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "timer.start",
 | 
			
		||||
                "implementation": "actions/StartTimerAction.js",
 | 
			
		||||
                "depends": ["now"],
 | 
			
		||||
                "category": "contextual",
 | 
			
		||||
                "name": "Start",
 | 
			
		||||
                "glyph": "\u00EF",
 | 
			
		||||
                "priority": "preferred"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "timer.restart",
 | 
			
		||||
                "implementation": "actions/RestartTimerAction.js",
 | 
			
		||||
                "depends": ["now"],
 | 
			
		||||
                "category": "contextual",
 | 
			
		||||
                "name": "Restart at 0",
 | 
			
		||||
                "glyph": "r",
 | 
			
		||||
                "priority": "preferred"
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "types": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "clock",
 | 
			
		||||
                "name": "Clock",
 | 
			
		||||
                "glyph": "C",
 | 
			
		||||
                "features": [ "creation" ],
 | 
			
		||||
                "properties": [
 | 
			
		||||
                    {
 | 
			
		||||
                        "key": "clockFormat",
 | 
			
		||||
                        "name": "Display Format",
 | 
			
		||||
                        "control": "composite",
 | 
			
		||||
                        "items": [
 | 
			
		||||
                            {
 | 
			
		||||
                                "control": "select",
 | 
			
		||||
                                "options": [
 | 
			
		||||
                                    {
 | 
			
		||||
                                        "value": "YYYY/MM/DD hh:mm:ss",
 | 
			
		||||
                                        "name": "YYYY/MM/DD hh:mm:ss"
 | 
			
		||||
                                    },
 | 
			
		||||
                                    {
 | 
			
		||||
                                        "value": "YYYY/DDD hh:mm:ss",
 | 
			
		||||
                                        "name": "YYYY/DDD hh:mm:ss"
 | 
			
		||||
                                    },
 | 
			
		||||
                                    {
 | 
			
		||||
                                        "value": "hh:mm:ss",
 | 
			
		||||
                                        "name": "hh:mm:ss"
 | 
			
		||||
                                    }
 | 
			
		||||
                                ]
 | 
			
		||||
                            },
 | 
			
		||||
                            {
 | 
			
		||||
                                "control": "select",
 | 
			
		||||
                                "options": [
 | 
			
		||||
                                    {
 | 
			
		||||
                                        "value": "clock12",
 | 
			
		||||
                                        "name": "12hr"
 | 
			
		||||
                                    },
 | 
			
		||||
                                    {
 | 
			
		||||
                                        "value": "clock24",
 | 
			
		||||
                                        "name": "24hr"
 | 
			
		||||
                                    }
 | 
			
		||||
                                ]
 | 
			
		||||
                            }
 | 
			
		||||
                        ]
 | 
			
		||||
                    }
 | 
			
		||||
                ],
 | 
			
		||||
                "model": {
 | 
			
		||||
                    "clockFormat": [ "YYYY/MM/DD hh:mm:ss", "clock12" ]
 | 
			
		||||
                }
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "timer",
 | 
			
		||||
                "name": "Timer",
 | 
			
		||||
                "glyph": "\u00F5",
 | 
			
		||||
                "features": [ "creation" ],
 | 
			
		||||
                "properties": [
 | 
			
		||||
                    {
 | 
			
		||||
                        "key": "timestamp",
 | 
			
		||||
                        "control": "datetime",
 | 
			
		||||
                        "name": "Target"
 | 
			
		||||
                    },
 | 
			
		||||
                    {
 | 
			
		||||
                        "key": "timerFormat",
 | 
			
		||||
                        "control": "select",
 | 
			
		||||
                        "options": [
 | 
			
		||||
                            {
 | 
			
		||||
                                "value": "long",
 | 
			
		||||
                                "name": "DDD hh:mm:ss"
 | 
			
		||||
                            },
 | 
			
		||||
                            {
 | 
			
		||||
                                "value": "short",
 | 
			
		||||
                                "name": "hh:mm:ss"
 | 
			
		||||
                            }
 | 
			
		||||
                        ]
 | 
			
		||||
                    }
 | 
			
		||||
                ],
 | 
			
		||||
                "model": {
 | 
			
		||||
                    "timerFormat": "DDD hh:mm:ss"
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "licenses": [
 | 
			
		||||
            {
 | 
			
		||||
                "name": "moment-duration-format",
 | 
			
		||||
                "version": "1.3.0",
 | 
			
		||||
                "author": "John Madhavan-Reese",
 | 
			
		||||
                "description": "Duration parsing/formatting",
 | 
			
		||||
                "website": "https://github.com/jsmreese/moment-duration-format",
 | 
			
		||||
                "copyright": "Copyright 2014 John Madhavan-Reese",
 | 
			
		||||
                "license": "license-mit",
 | 
			
		||||
                "link": "https://github.com/jsmreese/moment-duration-format/blob/master/LICENSE"
 | 
			
		||||
            }
 | 
			
		||||
        ]
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										72
									
								
								platform/features/conductor/bundle.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										72
									
								
								platform/features/conductor/bundle.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,72 @@
 | 
			
		||||
/*****************************************************************************
 | 
			
		||||
 * Open MCT Web, Copyright (c) 2014-2015, United States Government
 | 
			
		||||
 * as represented by the Administrator of the National Aeronautics and Space
 | 
			
		||||
 * Administration. All rights reserved.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web is licensed under the Apache License, Version 2.0 (the
 | 
			
		||||
 * "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.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web includes source code licensed under additional open source
 | 
			
		||||
 * 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.
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
/*global define*/
 | 
			
		||||
 | 
			
		||||
define(['legacyRegistry'], function (legacyRegistry) {
 | 
			
		||||
    "use strict";
 | 
			
		||||
    legacyRegistry.register("platform/features/conductor", {
 | 
			
		||||
        "extensions": {
 | 
			
		||||
            "representers": [
 | 
			
		||||
                {
 | 
			
		||||
                    "implementation": "ConductorRepresenter.js",
 | 
			
		||||
                    "depends": [
 | 
			
		||||
                        "throttle",
 | 
			
		||||
                        "conductorService",
 | 
			
		||||
                        "$compile",
 | 
			
		||||
                        "views[]"
 | 
			
		||||
                    ]
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "components": [
 | 
			
		||||
                {
 | 
			
		||||
                    "type": "decorator",
 | 
			
		||||
                    "provides": "telemetryService",
 | 
			
		||||
                    "implementation": "ConductorTelemetryDecorator.js",
 | 
			
		||||
                    "depends": [ "conductorService" ]
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "services": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "conductorService",
 | 
			
		||||
                    "implementation": "ConductorService.js",
 | 
			
		||||
                    "depends": [ "now", "TIME_CONDUCTOR_DOMAINS" ]
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "templates": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "time-conductor",
 | 
			
		||||
                    "templateUrl": "templates/time-conductor.html"
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "constants": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "TIME_CONDUCTOR_DOMAINS",
 | 
			
		||||
                    "value": [
 | 
			
		||||
                        { "key": "time", "name": "UTC", "format": "utc" }
 | 
			
		||||
                    ],
 | 
			
		||||
                    "priority": "fallback",
 | 
			
		||||
                    "comment": "Placeholder; to be replaced by inspection of available domains."
 | 
			
		||||
                }
 | 
			
		||||
            ]
 | 
			
		||||
        }
 | 
			
		||||
    });
 | 
			
		||||
});
 | 
			
		||||
@@ -1,46 +0,0 @@
 | 
			
		||||
{
 | 
			
		||||
    "extensions": {
 | 
			
		||||
        "representers": [
 | 
			
		||||
            {
 | 
			
		||||
                "implementation": "ConductorRepresenter.js",
 | 
			
		||||
                "depends": [
 | 
			
		||||
                    "throttle",
 | 
			
		||||
                    "conductorService",
 | 
			
		||||
                    "$compile",
 | 
			
		||||
                    "views[]"
 | 
			
		||||
                ]
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "components": [
 | 
			
		||||
            {
 | 
			
		||||
                "type": "decorator",
 | 
			
		||||
                "provides": "telemetryService",
 | 
			
		||||
                "implementation": "ConductorTelemetryDecorator.js",
 | 
			
		||||
                "depends": [ "conductorService" ]
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "services": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "conductorService",
 | 
			
		||||
                "implementation": "ConductorService.js",
 | 
			
		||||
                "depends": [ "now", "TIME_CONDUCTOR_DOMAINS" ]
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "templates": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "time-conductor",
 | 
			
		||||
                "templateUrl": "templates/time-conductor.html"
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "constants": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "TIME_CONDUCTOR_DOMAINS",
 | 
			
		||||
                "value": [
 | 
			
		||||
                    { "key": "time", "name": "UTC", "format": "utc" }
 | 
			
		||||
                ],
 | 
			
		||||
                "priority": "fallback",
 | 
			
		||||
                "comment": "Placeholder; to be replaced by inspection of available domains."
 | 
			
		||||
            }
 | 
			
		||||
        ]
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										63
									
								
								platform/features/events/bundle.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										63
									
								
								platform/features/events/bundle.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,63 @@
 | 
			
		||||
/*****************************************************************************
 | 
			
		||||
 * Open MCT Web, Copyright (c) 2014-2015, United States Government
 | 
			
		||||
 * as represented by the Administrator of the National Aeronautics and Space
 | 
			
		||||
 * Administration. All rights reserved.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web is licensed under the Apache License, Version 2.0 (the
 | 
			
		||||
 * "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.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web includes source code licensed under additional open source
 | 
			
		||||
 * 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.
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
/*global define*/
 | 
			
		||||
 | 
			
		||||
define(['legacyRegistry'], function (legacyRegistry) {
 | 
			
		||||
    "use strict";
 | 
			
		||||
    legacyRegistry.register("platform/features/events", {
 | 
			
		||||
        "name": "Event Messages",
 | 
			
		||||
        "description": "List of time-ordered event messages",
 | 
			
		||||
        "extensions": {
 | 
			
		||||
            "views": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "messages",
 | 
			
		||||
                    "name": "Messages",
 | 
			
		||||
                    "glyph": "5",
 | 
			
		||||
                    "description": "Scrolling list of messages.",
 | 
			
		||||
                    "templateUrl": "templates/messages.html",
 | 
			
		||||
                    "needs": [ "telemetry" ],
 | 
			
		||||
                    "delegation": true
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "controllers": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "EventListController",
 | 
			
		||||
                    "implementation": "EventListController.js",
 | 
			
		||||
                    "depends": [ "$scope", "telemetryFormatter" ]
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "directives": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "mctDataTable",
 | 
			
		||||
                    "implementation": "directives/MCTDataTable.js",
 | 
			
		||||
                    "depends": [ "$window" ]
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "policies": [
 | 
			
		||||
                {
 | 
			
		||||
                    "category": "view",
 | 
			
		||||
                    "implementation": "policies/MessagesViewPolicy.js"
 | 
			
		||||
                }
 | 
			
		||||
            ]
 | 
			
		||||
        }
 | 
			
		||||
    });
 | 
			
		||||
});
 | 
			
		||||
@@ -1,37 +0,0 @@
 | 
			
		||||
{
 | 
			
		||||
    "name": "Event Messages",
 | 
			
		||||
    "description": "List of time-ordered event messages",
 | 
			
		||||
    "extensions": {
 | 
			
		||||
        "views": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "messages",
 | 
			
		||||
                "name": "Messages",
 | 
			
		||||
                "glyph": "5",
 | 
			
		||||
                "description": "Scrolling list of messages.",
 | 
			
		||||
                "templateUrl": "templates/messages.html",
 | 
			
		||||
                "needs": [ "telemetry" ],
 | 
			
		||||
                "delegation": true
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "controllers": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "EventListController",
 | 
			
		||||
                "implementation": "EventListController.js",
 | 
			
		||||
                "depends": [ "$scope", "telemetryFormatter" ]
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "directives": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "mctDataTable",
 | 
			
		||||
                "implementation": "directives/MCTDataTable.js",
 | 
			
		||||
                "depends": [ "$window" ]
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "policies": [
 | 
			
		||||
            {
 | 
			
		||||
                "category": "view",
 | 
			
		||||
                "implementation": "policies/MessagesViewPolicy.js"
 | 
			
		||||
            }
 | 
			
		||||
        ]
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										61
									
								
								platform/features/imagery/bundle.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										61
									
								
								platform/features/imagery/bundle.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,61 @@
 | 
			
		||||
/*****************************************************************************
 | 
			
		||||
 * Open MCT Web, Copyright (c) 2014-2015, United States Government
 | 
			
		||||
 * as represented by the Administrator of the National Aeronautics and Space
 | 
			
		||||
 * Administration. All rights reserved.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web is licensed under the Apache License, Version 2.0 (the
 | 
			
		||||
 * "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.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web includes source code licensed under additional open source
 | 
			
		||||
 * 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.
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
/*global define*/
 | 
			
		||||
 | 
			
		||||
define(['legacyRegistry'], function (legacyRegistry) {
 | 
			
		||||
    "use strict";
 | 
			
		||||
    legacyRegistry.register("platform/features/imagery", {
 | 
			
		||||
        "name": "Plot view for telemetry",
 | 
			
		||||
        "extensions": {
 | 
			
		||||
            "views": [
 | 
			
		||||
                {
 | 
			
		||||
                    "name": "Imagery",
 | 
			
		||||
                    "key": "imagery",
 | 
			
		||||
                    "glyph": "\u00E3",
 | 
			
		||||
                    "templateUrl": "templates/imagery.html",
 | 
			
		||||
                    "priority": "preferred",
 | 
			
		||||
                    "needs": [ "telemetry" ]
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "policies": [
 | 
			
		||||
                {
 | 
			
		||||
                    "category": "view",
 | 
			
		||||
                    "implementation": "policies/ImageryViewPolicy.js"
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "controllers": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "ImageryController",
 | 
			
		||||
                    "implementation": "controllers/ImageryController.js",
 | 
			
		||||
                    "depends": [ "$scope", "telemetryHandler" ]
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "directives": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "mctBackgroundImage",
 | 
			
		||||
                    "implementation": "directives/MCTBackgroundImage.js",
 | 
			
		||||
                    "depends": [ "$document" ]
 | 
			
		||||
                }
 | 
			
		||||
            ]
 | 
			
		||||
        }
 | 
			
		||||
    });
 | 
			
		||||
});
 | 
			
		||||
@@ -1,35 +0,0 @@
 | 
			
		||||
{
 | 
			
		||||
    "name": "Plot view for telemetry",
 | 
			
		||||
    "extensions": {
 | 
			
		||||
        "views": [
 | 
			
		||||
            {
 | 
			
		||||
                "name": "Imagery",
 | 
			
		||||
                "key": "imagery",
 | 
			
		||||
                "glyph": "\u00E3",
 | 
			
		||||
                "templateUrl": "templates/imagery.html",
 | 
			
		||||
                "priority": "preferred",
 | 
			
		||||
                "needs": [ "telemetry" ]
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "policies": [
 | 
			
		||||
            {
 | 
			
		||||
                "category": "view",
 | 
			
		||||
                "implementation": "policies/ImageryViewPolicy.js"
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "controllers": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "ImageryController",
 | 
			
		||||
                "implementation": "controllers/ImageryController.js",
 | 
			
		||||
                "depends": [ "$scope", "telemetryHandler" ]
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "directives": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "mctBackgroundImage",
 | 
			
		||||
                "implementation": "directives/MCTBackgroundImage.js",
 | 
			
		||||
                "depends": [ "$document" ]
 | 
			
		||||
            }
 | 
			
		||||
        ]
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										293
									
								
								platform/features/layout/bundle.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										293
									
								
								platform/features/layout/bundle.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,293 @@
 | 
			
		||||
/*****************************************************************************
 | 
			
		||||
 * Open MCT Web, Copyright (c) 2014-2015, United States Government
 | 
			
		||||
 * as represented by the Administrator of the National Aeronautics and Space
 | 
			
		||||
 * Administration. All rights reserved.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web is licensed under the Apache License, Version 2.0 (the
 | 
			
		||||
 * "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.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web includes source code licensed under additional open source
 | 
			
		||||
 * 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.
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
/*global define*/
 | 
			
		||||
 | 
			
		||||
define(['legacyRegistry'], function (legacyRegistry) {
 | 
			
		||||
    "use strict";
 | 
			
		||||
    legacyRegistry.register("platform/features/layout", {
 | 
			
		||||
        "name": "Layout components.",
 | 
			
		||||
        "description": "Plug in adding Layout capabilities.",
 | 
			
		||||
        "extensions": {
 | 
			
		||||
            "views": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "layout",
 | 
			
		||||
                    "name": "Display Layout",
 | 
			
		||||
                    "glyph": "L",
 | 
			
		||||
                    "type": "layout",
 | 
			
		||||
                    "templateUrl": "templates/layout.html",
 | 
			
		||||
                    "uses": [],
 | 
			
		||||
                    "gestures": [ "drop" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "fixed",
 | 
			
		||||
                    "name": "Fixed Position",
 | 
			
		||||
                    "glyph": "3",
 | 
			
		||||
                    "type": "telemetry.panel",
 | 
			
		||||
                    "templateUrl": "templates/fixed.html",
 | 
			
		||||
                    "uses": [ "composition" ],
 | 
			
		||||
                    "gestures": [ "drop" ],
 | 
			
		||||
                    "toolbar": {
 | 
			
		||||
                        "sections": [
 | 
			
		||||
                            {
 | 
			
		||||
                                "items": [
 | 
			
		||||
                                    {
 | 
			
		||||
                                        "method": "add",
 | 
			
		||||
                                        "glyph": "+",
 | 
			
		||||
                                        "control": "menu-button",
 | 
			
		||||
                                        "text": "Add",
 | 
			
		||||
                                        "options": [
 | 
			
		||||
                                            {
 | 
			
		||||
                                                "name": "Box",
 | 
			
		||||
                                                "glyph": "\u00E0",
 | 
			
		||||
                                                "key": "fixed.box"
 | 
			
		||||
                                            },
 | 
			
		||||
                                            {
 | 
			
		||||
                                                "name": "Line",
 | 
			
		||||
                                                "glyph": "\u00E2",
 | 
			
		||||
                                                "key": "fixed.line"
 | 
			
		||||
                                            },
 | 
			
		||||
                                            {
 | 
			
		||||
                                                "name": "Text",
 | 
			
		||||
                                                "glyph": "\u00E4",
 | 
			
		||||
                                                "key": "fixed.text"
 | 
			
		||||
                                            },
 | 
			
		||||
                                            {
 | 
			
		||||
                                                "name": "Image",
 | 
			
		||||
                                                "glyph": "\u00E3",
 | 
			
		||||
                                                "key": "fixed.image"
 | 
			
		||||
                                            }
 | 
			
		||||
                                        ]
 | 
			
		||||
                                    }
 | 
			
		||||
                                ]
 | 
			
		||||
                            },
 | 
			
		||||
                            {
 | 
			
		||||
                                "items": [
 | 
			
		||||
                                    {
 | 
			
		||||
                                        "method": "order",
 | 
			
		||||
                                        "glyph": "\u00E1",
 | 
			
		||||
                                        "control": "menu-button",
 | 
			
		||||
                                        "options": [
 | 
			
		||||
                                            {
 | 
			
		||||
                                                "name": "Move to Top",
 | 
			
		||||
                                                "glyph": "^",
 | 
			
		||||
                                                "key": "top"
 | 
			
		||||
                                            },
 | 
			
		||||
                                            {
 | 
			
		||||
                                                "name": "Move Up",
 | 
			
		||||
                                                "glyph": "^",
 | 
			
		||||
                                                "key": "up"
 | 
			
		||||
                                            },
 | 
			
		||||
                                            {
 | 
			
		||||
                                                "name": "Move Down",
 | 
			
		||||
                                                "glyph": "v",
 | 
			
		||||
                                                "key": "down"
 | 
			
		||||
                                            },
 | 
			
		||||
                                            {
 | 
			
		||||
                                                "name": "Move to Bottom",
 | 
			
		||||
                                                "glyph": "v",
 | 
			
		||||
                                                "key": "bottom"
 | 
			
		||||
                                            }
 | 
			
		||||
                                        ]
 | 
			
		||||
                                    },
 | 
			
		||||
                                    {
 | 
			
		||||
                                        "property": "fill",
 | 
			
		||||
                                        "glyph": "\ue606",
 | 
			
		||||
                                        "control": "color"
 | 
			
		||||
                                    },
 | 
			
		||||
                                    {
 | 
			
		||||
                                        "property": "stroke",
 | 
			
		||||
                                        "glyph": "\u00E2",
 | 
			
		||||
                                        "control": "color"
 | 
			
		||||
                                    },
 | 
			
		||||
                                    {
 | 
			
		||||
                                        "property": "color",
 | 
			
		||||
                                        "glyph": "\u00E4",
 | 
			
		||||
                                        "mandatory": true,
 | 
			
		||||
                                        "control": "color"
 | 
			
		||||
                                    },
 | 
			
		||||
                                    {
 | 
			
		||||
                                        "property": "url",
 | 
			
		||||
                                        "glyph": "\u00E3",
 | 
			
		||||
                                        "control": "dialog-button",
 | 
			
		||||
                                        "title": "Image Properties",
 | 
			
		||||
                                        "dialog": {
 | 
			
		||||
                                            "control": "textfield",
 | 
			
		||||
                                            "name": "Image URL",
 | 
			
		||||
                                            "required": true
 | 
			
		||||
                                        }
 | 
			
		||||
                                    },
 | 
			
		||||
                                    {
 | 
			
		||||
                                        "property": "text",
 | 
			
		||||
                                        "glyph": "G",
 | 
			
		||||
                                        "control": "dialog-button",
 | 
			
		||||
                                        "title": "Text Properties",
 | 
			
		||||
                                        "dialog": {
 | 
			
		||||
                                            "control": "textfield",
 | 
			
		||||
                                            "name": "Text",
 | 
			
		||||
                                            "required": true
 | 
			
		||||
                                        }
 | 
			
		||||
                                    },
 | 
			
		||||
                                    {
 | 
			
		||||
                                        "method": "showTitle",
 | 
			
		||||
                                        "glyph": "\u00E7",
 | 
			
		||||
                                        "control": "button",
 | 
			
		||||
                                        "description": "Show telemetry element title."
 | 
			
		||||
                                    },
 | 
			
		||||
                                    {
 | 
			
		||||
                                        "method": "hideTitle",
 | 
			
		||||
                                        "glyph": "\u00E5",
 | 
			
		||||
                                        "control": "button",
 | 
			
		||||
                                        "description": "Hide telemetry element title."
 | 
			
		||||
                                    }
 | 
			
		||||
                                ]
 | 
			
		||||
                            },
 | 
			
		||||
                            {
 | 
			
		||||
                                "items": [
 | 
			
		||||
                                    {
 | 
			
		||||
                                        "method": "remove",
 | 
			
		||||
                                        "control": "button",
 | 
			
		||||
                                        "glyph": "Z"
 | 
			
		||||
                                    }
 | 
			
		||||
                                ]
 | 
			
		||||
                            }
 | 
			
		||||
                        ]
 | 
			
		||||
                    }
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "representations": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "frame",
 | 
			
		||||
                    "templateUrl": "templates/frame.html"
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "controllers": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "LayoutController",
 | 
			
		||||
                    "implementation": "LayoutController.js",
 | 
			
		||||
                    "depends": [ "$scope" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "FixedController",
 | 
			
		||||
                    "implementation": "FixedController.js",
 | 
			
		||||
                    "depends": [
 | 
			
		||||
                        "$scope",
 | 
			
		||||
                        "$q",
 | 
			
		||||
                        "dialogService",
 | 
			
		||||
                        "telemetryHandler",
 | 
			
		||||
                        "telemetryFormatter",
 | 
			
		||||
                        "throttle"
 | 
			
		||||
                    ]
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "templates": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "fixed.telemetry",
 | 
			
		||||
                    "templateUrl": "templates/elements/telemetry.html"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "fixed.box",
 | 
			
		||||
                    "templateUrl": "templates/elements/box.html"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "fixed.line",
 | 
			
		||||
                    "templateUrl": "templates/elements/line.html"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "fixed.text",
 | 
			
		||||
                    "templateUrl": "templates/elements/text.html"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "fixed.image",
 | 
			
		||||
                    "templateUrl": "templates/elements/image.html"
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "policies": [
 | 
			
		||||
                {
 | 
			
		||||
                    "category": "composition",
 | 
			
		||||
                    "implementation": "LayoutCompositionPolicy.js"
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "types": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "layout",
 | 
			
		||||
                    "name": "Display Layout",
 | 
			
		||||
                    "glyph": "L",
 | 
			
		||||
                    "description": "A layout in which multiple telemetry panels may be displayed.",
 | 
			
		||||
                    "features": "creation",
 | 
			
		||||
                    "model": { "composition": [] },
 | 
			
		||||
                    "properties": [
 | 
			
		||||
                        {
 | 
			
		||||
                            "name": "Layout Grid",
 | 
			
		||||
                            "control": "composite",
 | 
			
		||||
                            "pattern": "^(\\d*[1-9]\\d*)?$",
 | 
			
		||||
                            "items": [
 | 
			
		||||
                                {
 | 
			
		||||
                                    "name": "Horizontal grid (px)",
 | 
			
		||||
                                    "control": "textfield",
 | 
			
		||||
                                    "cssclass": "l-small l-numeric"
 | 
			
		||||
                                },
 | 
			
		||||
                                {
 | 
			
		||||
                                    "name": "Vertical grid (px)",
 | 
			
		||||
                                    "control": "textfield",
 | 
			
		||||
                                    "cssclass": "l-small l-numeric"
 | 
			
		||||
                                }
 | 
			
		||||
                            ],
 | 
			
		||||
                            "key": "layoutGrid",
 | 
			
		||||
                            "conversion": "number[]"
 | 
			
		||||
                        }
 | 
			
		||||
                    ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "telemetry.panel",
 | 
			
		||||
                    "name": "Telemetry Panel",
 | 
			
		||||
                    "glyph": "t",
 | 
			
		||||
                    "description": "A panel for collecting telemetry elements.",
 | 
			
		||||
                    "delegates": [ "telemetry" ],
 | 
			
		||||
                    "features": "creation",
 | 
			
		||||
                    "contains": [ { "has": "telemetry" } ],
 | 
			
		||||
                    "model": { "composition": [] },
 | 
			
		||||
                    "properties": [
 | 
			
		||||
                        {
 | 
			
		||||
                            "name": "Layout Grid",
 | 
			
		||||
                            "control": "composite",
 | 
			
		||||
                            "items": [
 | 
			
		||||
                                {
 | 
			
		||||
                                    "name": "Horizontal grid (px)",
 | 
			
		||||
                                    "control": "textfield",
 | 
			
		||||
                                    "cssclass": "l-small l-numeric"
 | 
			
		||||
                                },
 | 
			
		||||
                                {
 | 
			
		||||
                                    "name": "Vertical grid (px)",
 | 
			
		||||
                                    "control": "textfield",
 | 
			
		||||
                                    "cssclass": "l-small l-numeric"
 | 
			
		||||
                                }
 | 
			
		||||
                            ],
 | 
			
		||||
                            "pattern": "^(\\d*[1-9]\\d*)?$",
 | 
			
		||||
                            "property": "layoutGrid",
 | 
			
		||||
                            "conversion": "number[]"
 | 
			
		||||
                        }
 | 
			
		||||
                    ]
 | 
			
		||||
                }
 | 
			
		||||
            ]
 | 
			
		||||
        }
 | 
			
		||||
    });
 | 
			
		||||
});
 | 
			
		||||
@@ -1,267 +0,0 @@
 | 
			
		||||
{
 | 
			
		||||
    "name": "Layout components.",
 | 
			
		||||
    "description": "Plug in adding Layout capabilities.",
 | 
			
		||||
    "extensions": {
 | 
			
		||||
        "views": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "layout",
 | 
			
		||||
                "name": "Display Layout",
 | 
			
		||||
                "glyph": "L",
 | 
			
		||||
                "type": "layout",
 | 
			
		||||
                "templateUrl": "templates/layout.html",
 | 
			
		||||
                "uses": [],
 | 
			
		||||
                "gestures": [ "drop" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "fixed",
 | 
			
		||||
                "name": "Fixed Position",
 | 
			
		||||
                "glyph": "3",
 | 
			
		||||
                "type": "telemetry.panel",
 | 
			
		||||
                "templateUrl": "templates/fixed.html",
 | 
			
		||||
                "uses": [ "composition" ],
 | 
			
		||||
                "gestures": [ "drop" ],
 | 
			
		||||
                "toolbar": {
 | 
			
		||||
                    "sections": [
 | 
			
		||||
                        {
 | 
			
		||||
                            "items": [
 | 
			
		||||
                                {
 | 
			
		||||
                                    "method": "add",
 | 
			
		||||
                                    "glyph": "+",
 | 
			
		||||
                                    "control": "menu-button",
 | 
			
		||||
                                    "text": "Add",
 | 
			
		||||
                                    "options": [
 | 
			
		||||
                                        {
 | 
			
		||||
                                            "name": "Box",
 | 
			
		||||
                                            "glyph": "\u00E0",
 | 
			
		||||
                                            "key": "fixed.box"
 | 
			
		||||
                                        },
 | 
			
		||||
                                        {
 | 
			
		||||
                                            "name": "Line",
 | 
			
		||||
                                            "glyph": "\u00E2",
 | 
			
		||||
                                            "key": "fixed.line"
 | 
			
		||||
                                        },
 | 
			
		||||
                                        {
 | 
			
		||||
                                            "name": "Text",
 | 
			
		||||
                                            "glyph": "\u00E4",
 | 
			
		||||
                                            "key": "fixed.text"
 | 
			
		||||
                                        },
 | 
			
		||||
                                        {
 | 
			
		||||
                                            "name": "Image",
 | 
			
		||||
                                            "glyph": "\u00E3",
 | 
			
		||||
                                            "key": "fixed.image"
 | 
			
		||||
                                        }
 | 
			
		||||
                                    ]
 | 
			
		||||
                                }
 | 
			
		||||
                            ]
 | 
			
		||||
                        },
 | 
			
		||||
                        {
 | 
			
		||||
                            "items": [
 | 
			
		||||
                                {
 | 
			
		||||
                                    "method": "order",
 | 
			
		||||
                                    "glyph": "\u00E1",
 | 
			
		||||
                                    "control": "menu-button",
 | 
			
		||||
                                    "options": [
 | 
			
		||||
                                        {
 | 
			
		||||
                                            "name": "Move to Top",
 | 
			
		||||
                                            "glyph": "^",
 | 
			
		||||
                                            "key": "top"
 | 
			
		||||
                                        },
 | 
			
		||||
                                        {
 | 
			
		||||
                                            "name": "Move Up",
 | 
			
		||||
                                            "glyph": "^",
 | 
			
		||||
                                            "key": "up"
 | 
			
		||||
                                        },
 | 
			
		||||
                                        {
 | 
			
		||||
                                            "name": "Move Down",
 | 
			
		||||
                                            "glyph": "v",
 | 
			
		||||
                                            "key": "down"
 | 
			
		||||
                                        },
 | 
			
		||||
                                        {
 | 
			
		||||
                                            "name": "Move to Bottom",
 | 
			
		||||
                                            "glyph": "v",
 | 
			
		||||
                                            "key": "bottom"
 | 
			
		||||
                                        }
 | 
			
		||||
                                    ]
 | 
			
		||||
                                },
 | 
			
		||||
                                {
 | 
			
		||||
                                    "property": "fill",
 | 
			
		||||
                                    "glyph": "\ue606",
 | 
			
		||||
                                    "control": "color"
 | 
			
		||||
                                },
 | 
			
		||||
                                {
 | 
			
		||||
                                    "property": "stroke",
 | 
			
		||||
                                    "glyph": "\u00E2",
 | 
			
		||||
                                    "control": "color"
 | 
			
		||||
                                },
 | 
			
		||||
                                {
 | 
			
		||||
                                    "property": "color",
 | 
			
		||||
                                    "glyph": "\u00E4",
 | 
			
		||||
                                    "mandatory": true,
 | 
			
		||||
                                    "control": "color"
 | 
			
		||||
                                },
 | 
			
		||||
                                {
 | 
			
		||||
                                    "property": "url",
 | 
			
		||||
                                    "glyph": "\u00E3",
 | 
			
		||||
                                    "control": "dialog-button",
 | 
			
		||||
                                    "title": "Image Properties",
 | 
			
		||||
                                    "dialog": {
 | 
			
		||||
                                        "control": "textfield",
 | 
			
		||||
                                        "name": "Image URL",
 | 
			
		||||
                                        "required": true
 | 
			
		||||
                                    }
 | 
			
		||||
                                },
 | 
			
		||||
                                {
 | 
			
		||||
                                    "property": "text",
 | 
			
		||||
                                    "glyph": "G",
 | 
			
		||||
                                    "control": "dialog-button",
 | 
			
		||||
                                    "title": "Text Properties",
 | 
			
		||||
                                    "dialog": {
 | 
			
		||||
                                        "control": "textfield",
 | 
			
		||||
                                        "name": "Text",
 | 
			
		||||
                                        "required": true
 | 
			
		||||
                                    }
 | 
			
		||||
                                },
 | 
			
		||||
                                {
 | 
			
		||||
                                    "method": "showTitle",
 | 
			
		||||
                                    "glyph": "\u00E7",
 | 
			
		||||
                                    "control": "button",
 | 
			
		||||
                                    "description": "Show telemetry element title."
 | 
			
		||||
                                },
 | 
			
		||||
                                {
 | 
			
		||||
                                    "method": "hideTitle",
 | 
			
		||||
                                    "glyph": "\u00E5",
 | 
			
		||||
                                    "control": "button",
 | 
			
		||||
                                    "description": "Hide telemetry element title."
 | 
			
		||||
                                }
 | 
			
		||||
                            ]
 | 
			
		||||
                        },
 | 
			
		||||
                        {
 | 
			
		||||
                            "items": [
 | 
			
		||||
                                {
 | 
			
		||||
                                    "method": "remove",
 | 
			
		||||
                                    "control": "button",
 | 
			
		||||
                                    "glyph": "Z"
 | 
			
		||||
                                }
 | 
			
		||||
                            ]
 | 
			
		||||
                        }
 | 
			
		||||
                    ]
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "representations": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "frame",
 | 
			
		||||
                "templateUrl": "templates/frame.html"
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "controllers": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "LayoutController",
 | 
			
		||||
                "implementation": "LayoutController.js",
 | 
			
		||||
                "depends": [ "$scope" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "FixedController",
 | 
			
		||||
                "implementation": "FixedController.js",
 | 
			
		||||
                "depends": [
 | 
			
		||||
                    "$scope",
 | 
			
		||||
                    "$q",
 | 
			
		||||
                    "dialogService",
 | 
			
		||||
                    "telemetryHandler",
 | 
			
		||||
                    "telemetryFormatter",
 | 
			
		||||
                    "throttle"
 | 
			
		||||
                ]
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "templates": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "fixed.telemetry",
 | 
			
		||||
                "templateUrl": "templates/elements/telemetry.html"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "fixed.box",
 | 
			
		||||
                "templateUrl": "templates/elements/box.html"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "fixed.line",
 | 
			
		||||
                "templateUrl": "templates/elements/line.html"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "fixed.text",
 | 
			
		||||
                "templateUrl": "templates/elements/text.html"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "fixed.image",
 | 
			
		||||
                "templateUrl": "templates/elements/image.html"
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "policies": [
 | 
			
		||||
            {
 | 
			
		||||
                "category": "composition",
 | 
			
		||||
                "implementation": "LayoutCompositionPolicy.js"
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "types": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "layout",
 | 
			
		||||
                "name": "Display Layout",
 | 
			
		||||
                "glyph": "L",
 | 
			
		||||
                "description": "A layout in which multiple telemetry panels may be displayed.",
 | 
			
		||||
                "features": "creation",
 | 
			
		||||
                "model": { "composition": [] },
 | 
			
		||||
                "properties": [
 | 
			
		||||
                    {
 | 
			
		||||
                        "name": "Layout Grid",
 | 
			
		||||
                        "control": "composite",
 | 
			
		||||
                        "pattern": "^(\\d*[1-9]\\d*)?$",
 | 
			
		||||
                        "items": [
 | 
			
		||||
                            {
 | 
			
		||||
                                "name": "Horizontal grid (px)",
 | 
			
		||||
                                "control": "textfield",
 | 
			
		||||
                                "cssclass": "l-small l-numeric"
 | 
			
		||||
                            },
 | 
			
		||||
                            {
 | 
			
		||||
                                "name": "Vertical grid (px)",
 | 
			
		||||
                                "control": "textfield",
 | 
			
		||||
                                "cssclass": "l-small l-numeric"
 | 
			
		||||
                            }
 | 
			
		||||
                        ],
 | 
			
		||||
                        "key": "layoutGrid",
 | 
			
		||||
                        "conversion": "number[]"
 | 
			
		||||
                    }
 | 
			
		||||
                ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "telemetry.panel",
 | 
			
		||||
                "name": "Telemetry Panel",
 | 
			
		||||
                "glyph": "t",
 | 
			
		||||
                "description": "A panel for collecting telemetry elements.",
 | 
			
		||||
                "delegates": [ "telemetry" ],
 | 
			
		||||
                "features": "creation",
 | 
			
		||||
                "contains": [ { "has": "telemetry" } ],
 | 
			
		||||
                "model": { "composition": [] },
 | 
			
		||||
                "properties": [
 | 
			
		||||
                    {
 | 
			
		||||
                        "name": "Layout Grid",
 | 
			
		||||
                        "control": "composite",
 | 
			
		||||
                        "items": [
 | 
			
		||||
                            {
 | 
			
		||||
                                "name": "Horizontal grid (px)",
 | 
			
		||||
                                "control": "textfield",
 | 
			
		||||
                                "cssclass": "l-small l-numeric"
 | 
			
		||||
                            },
 | 
			
		||||
                            {
 | 
			
		||||
                                "name": "Vertical grid (px)",
 | 
			
		||||
                                "control": "textfield",
 | 
			
		||||
                                "cssclass": "l-small l-numeric"
 | 
			
		||||
                            }
 | 
			
		||||
                        ],
 | 
			
		||||
                        "pattern": "^(\\d*[1-9]\\d*)?$",
 | 
			
		||||
                        "property": "layoutGrid",
 | 
			
		||||
                        "conversion": "number[]"
 | 
			
		||||
                    }
 | 
			
		||||
                ]
 | 
			
		||||
            }
 | 
			
		||||
        ]
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										63
									
								
								platform/features/pages/bundle.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										63
									
								
								platform/features/pages/bundle.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,63 @@
 | 
			
		||||
/*****************************************************************************
 | 
			
		||||
 * Open MCT Web, Copyright (c) 2014-2015, United States Government
 | 
			
		||||
 * as represented by the Administrator of the National Aeronautics and Space
 | 
			
		||||
 * Administration. All rights reserved.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web is licensed under the Apache License, Version 2.0 (the
 | 
			
		||||
 * "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.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web includes source code licensed under additional open source
 | 
			
		||||
 * 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.
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
/*global define*/
 | 
			
		||||
 | 
			
		||||
define(['legacyRegistry'], function (legacyRegistry) {
 | 
			
		||||
    "use strict";
 | 
			
		||||
    legacyRegistry.register("platform/features/pages", {
 | 
			
		||||
        "extensions": {
 | 
			
		||||
            "types": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "example.page",
 | 
			
		||||
                    "name": "Web Page",
 | 
			
		||||
                    "glyph": "\u00EA",
 | 
			
		||||
                    "description": "A component to display a web page or image with a valid URL. Can be added to a Display Layout.",
 | 
			
		||||
                    "features": [ "creation" ],
 | 
			
		||||
                    "properties": [
 | 
			
		||||
                        {
 | 
			
		||||
                            "key": "url",
 | 
			
		||||
                            "name": "URL",
 | 
			
		||||
                            "control": "textfield",
 | 
			
		||||
                            "pattern": "^(ftp|https?)\\:\\/\\/\\w+(\\.\\w+)*(\\:\\d+)?(\\/\\S*)*$",
 | 
			
		||||
                            "required": true
 | 
			
		||||
                        }
 | 
			
		||||
                    ]
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "views": [
 | 
			
		||||
                {
 | 
			
		||||
                    "templateUrl": "iframe.html",
 | 
			
		||||
                    "name": "Page",
 | 
			
		||||
                    "type": "example.page",
 | 
			
		||||
                    "key": "example.page"
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "controllers": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "EmbeddedPageController",
 | 
			
		||||
                    "implementation": "EmbeddedPageController.js",
 | 
			
		||||
                    "depends": ["$sce"]
 | 
			
		||||
                }
 | 
			
		||||
            ]
 | 
			
		||||
        }
 | 
			
		||||
    });
 | 
			
		||||
});
 | 
			
		||||
@@ -1,37 +0,0 @@
 | 
			
		||||
{
 | 
			
		||||
    "extensions": {
 | 
			
		||||
        "types": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "example.page",
 | 
			
		||||
                "name": "Web Page",
 | 
			
		||||
                "glyph": "\u00EA",
 | 
			
		||||
                "description": "A component to display a web page or image with a valid URL. Can be added to a Display Layout.",
 | 
			
		||||
                "features": [ "creation" ],
 | 
			
		||||
                "properties": [
 | 
			
		||||
                    {
 | 
			
		||||
                        "key": "url",
 | 
			
		||||
                        "name": "URL",
 | 
			
		||||
                        "control": "textfield",
 | 
			
		||||
                        "pattern": "^(ftp|https?)\\:\\/\\/\\w+(\\.\\w+)*(\\:\\d+)?(\\/\\S*)*$",
 | 
			
		||||
                        "required": true
 | 
			
		||||
                    }
 | 
			
		||||
                ]
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "views": [
 | 
			
		||||
            {
 | 
			
		||||
                "templateUrl": "iframe.html",
 | 
			
		||||
                "name": "Page",
 | 
			
		||||
                "type": "example.page",
 | 
			
		||||
                "key": "example.page"
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "controllers": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "EmbeddedPageController",
 | 
			
		||||
                "implementation": "EmbeddedPageController.js",
 | 
			
		||||
                "depends": ["$sce"]
 | 
			
		||||
            }
 | 
			
		||||
        ]
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										76
									
								
								platform/features/plot/bundle.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										76
									
								
								platform/features/plot/bundle.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,76 @@
 | 
			
		||||
/*****************************************************************************
 | 
			
		||||
 * Open MCT Web, Copyright (c) 2014-2015, United States Government
 | 
			
		||||
 * as represented by the Administrator of the National Aeronautics and Space
 | 
			
		||||
 * Administration. All rights reserved.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web is licensed under the Apache License, Version 2.0 (the
 | 
			
		||||
 * "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.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web includes source code licensed under additional open source
 | 
			
		||||
 * 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.
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
/*global define*/
 | 
			
		||||
 | 
			
		||||
define(['legacyRegistry'], function (legacyRegistry) {
 | 
			
		||||
    "use strict";
 | 
			
		||||
    legacyRegistry.register("platform/features/plot", {
 | 
			
		||||
        "name": "Plot view for telemetry",
 | 
			
		||||
        "extensions": {
 | 
			
		||||
            "views": [
 | 
			
		||||
                {
 | 
			
		||||
                    "name": "Plot",
 | 
			
		||||
                    "key": "plot",
 | 
			
		||||
                    "glyph": "6",
 | 
			
		||||
                    "templateUrl": "templates/plot.html",
 | 
			
		||||
                    "needs": [ "telemetry" ],
 | 
			
		||||
                    "priority": "preferred",
 | 
			
		||||
                    "delegation": true
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "directives": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "mctChart",
 | 
			
		||||
                    "implementation": "MCTChart.js",
 | 
			
		||||
                    "depends": [ "$interval", "$log" ]
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "controllers": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "PlotController",
 | 
			
		||||
                    "implementation": "PlotController.js",
 | 
			
		||||
                    "depends": [
 | 
			
		||||
                        "$scope",
 | 
			
		||||
                        "telemetryFormatter",
 | 
			
		||||
                        "telemetryHandler",
 | 
			
		||||
                        "throttle",
 | 
			
		||||
                        "PLOT_FIXED_DURATION"
 | 
			
		||||
                    ]
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "constants": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "PLOT_FIXED_DURATION",
 | 
			
		||||
                    "value": 900000,
 | 
			
		||||
                    "priority": "fallback",
 | 
			
		||||
                    "comment": "Fifteen minutes."
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "policies": [
 | 
			
		||||
                {
 | 
			
		||||
                    "category": "view",
 | 
			
		||||
                    "implementation": "policies/PlotViewPolicy.js"
 | 
			
		||||
                }
 | 
			
		||||
            ]
 | 
			
		||||
        }
 | 
			
		||||
    });
 | 
			
		||||
});
 | 
			
		||||
@@ -1,50 +0,0 @@
 | 
			
		||||
{
 | 
			
		||||
    "name": "Plot view for telemetry",
 | 
			
		||||
    "extensions": {
 | 
			
		||||
        "views": [
 | 
			
		||||
            {
 | 
			
		||||
                "name": "Plot",
 | 
			
		||||
                "key": "plot",
 | 
			
		||||
                "glyph": "6",
 | 
			
		||||
                "templateUrl": "templates/plot.html",
 | 
			
		||||
                "needs": [ "telemetry" ],
 | 
			
		||||
                "priority": "preferred",
 | 
			
		||||
                "delegation": true
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "directives": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "mctChart",
 | 
			
		||||
                "implementation": "MCTChart.js",
 | 
			
		||||
                "depends": [ "$interval", "$log" ]
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "controllers": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "PlotController",
 | 
			
		||||
                "implementation": "PlotController.js",
 | 
			
		||||
                "depends": [
 | 
			
		||||
                    "$scope",
 | 
			
		||||
                    "telemetryFormatter",
 | 
			
		||||
                    "telemetryHandler",
 | 
			
		||||
                    "throttle",
 | 
			
		||||
                    "PLOT_FIXED_DURATION"
 | 
			
		||||
                ]
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "constants": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "PLOT_FIXED_DURATION",
 | 
			
		||||
                "value": 900000,
 | 
			
		||||
                "priority": "fallback",
 | 
			
		||||
                "comment": "Fifteen minutes."
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "policies": [
 | 
			
		||||
            {
 | 
			
		||||
                "category": "view",
 | 
			
		||||
                "implementation": "policies/PlotViewPolicy.js"
 | 
			
		||||
            }
 | 
			
		||||
        ]
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										63
									
								
								platform/features/rtevents/bundle.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										63
									
								
								platform/features/rtevents/bundle.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,63 @@
 | 
			
		||||
/*****************************************************************************
 | 
			
		||||
 * Open MCT Web, Copyright (c) 2014-2015, United States Government
 | 
			
		||||
 * as represented by the Administrator of the National Aeronautics and Space
 | 
			
		||||
 * Administration. All rights reserved.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web is licensed under the Apache License, Version 2.0 (the
 | 
			
		||||
 * "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.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web includes source code licensed under additional open source
 | 
			
		||||
 * 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.
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
/*global define*/
 | 
			
		||||
 | 
			
		||||
define(['legacyRegistry'], function (legacyRegistry) {
 | 
			
		||||
    "use strict";
 | 
			
		||||
    legacyRegistry.register("platform/features/rtevents", {
 | 
			
		||||
        "name": "Event Messages",
 | 
			
		||||
        "description": "List of time-ordered event messages",
 | 
			
		||||
        "extensions": {
 | 
			
		||||
            "views": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "rtmessages",
 | 
			
		||||
                    "name": "RT Messages",
 | 
			
		||||
                    "glyph": "5",
 | 
			
		||||
                    "description": "Scrolling list of real time messages.",
 | 
			
		||||
                    "templateUrl": "templates/rtmessages.html",
 | 
			
		||||
                    "needs": [ "telemetry" ],
 | 
			
		||||
                    "delegation": true
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "controllers": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "RTEventListController",
 | 
			
		||||
                    "implementation": "RTEventListController.js",
 | 
			
		||||
                    "depends": [ "$scope", "telemetryHandler", "telemetryFormatter" ]
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "directives": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "mctRtDataTable",
 | 
			
		||||
                    "implementation": "directives/MCTRTDataTable.js",
 | 
			
		||||
                    "depends": [ "$window" ]
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "policies": [
 | 
			
		||||
                {
 | 
			
		||||
                    "category": "view",
 | 
			
		||||
                    "implementation": "policies/RTMessagesViewPolicy.js"
 | 
			
		||||
                }
 | 
			
		||||
            ]
 | 
			
		||||
        }
 | 
			
		||||
    });
 | 
			
		||||
});
 | 
			
		||||
@@ -1,37 +0,0 @@
 | 
			
		||||
{
 | 
			
		||||
    "name": "Event Messages",
 | 
			
		||||
    "description": "List of time-ordered event messages",
 | 
			
		||||
    "extensions": {
 | 
			
		||||
        "views": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "rtmessages",
 | 
			
		||||
                "name": "RT Messages",
 | 
			
		||||
                "glyph": "5",
 | 
			
		||||
                "description": "Scrolling list of real time messages.",
 | 
			
		||||
                "templateUrl": "templates/rtmessages.html",
 | 
			
		||||
                "needs": [ "telemetry" ],
 | 
			
		||||
                "delegation": true
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "controllers": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "RTEventListController",
 | 
			
		||||
                "implementation": "RTEventListController.js",
 | 
			
		||||
                "depends": [ "$scope", "telemetryHandler", "telemetryFormatter" ]
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "directives": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "mctRtDataTable",
 | 
			
		||||
                "implementation": "directives/MCTRTDataTable.js",
 | 
			
		||||
                "depends": [ "$window" ]
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "policies": [
 | 
			
		||||
            {
 | 
			
		||||
                "category": "view",
 | 
			
		||||
                "implementation": "policies/RTMessagesViewPolicy.js"
 | 
			
		||||
            }
 | 
			
		||||
        ]
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										50
									
								
								platform/features/rtscrolling/bundle.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										50
									
								
								platform/features/rtscrolling/bundle.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,50 @@
 | 
			
		||||
/*****************************************************************************
 | 
			
		||||
 * Open MCT Web, Copyright (c) 2014-2015, United States Government
 | 
			
		||||
 * as represented by the Administrator of the National Aeronautics and Space
 | 
			
		||||
 * Administration. All rights reserved.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web is licensed under the Apache License, Version 2.0 (the
 | 
			
		||||
 * "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.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web includes source code licensed under additional open source
 | 
			
		||||
 * 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.
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
/*global define*/
 | 
			
		||||
 | 
			
		||||
define(['legacyRegistry'], function (legacyRegistry) {
 | 
			
		||||
    "use strict";
 | 
			
		||||
    legacyRegistry.register("platform/features/rtscrolling", {
 | 
			
		||||
        "name": "Scrolling Lists",
 | 
			
		||||
        "description": "Time-ordered list of latest data.",
 | 
			
		||||
        "extensions": {
 | 
			
		||||
            "views": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "scrolling",
 | 
			
		||||
                    "name": "Scrolling",
 | 
			
		||||
                    "glyph": "5",
 | 
			
		||||
                    "description": "Scrolling list of data values.",
 | 
			
		||||
                    "templateUrl": "templates/rtscrolling.html",
 | 
			
		||||
                    "needs": [ "telemetry" ],
 | 
			
		||||
                    "delegation": true
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "controllers": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "RTScrollingListController",
 | 
			
		||||
                    "implementation": "RTScrollingListController.js",
 | 
			
		||||
                    "depends": [ "$scope", "telemetryHandler", "telemetryFormatter" ]
 | 
			
		||||
                }
 | 
			
		||||
            ]
 | 
			
		||||
        }
 | 
			
		||||
    });
 | 
			
		||||
});
 | 
			
		||||
@@ -1,25 +0,0 @@
 | 
			
		||||
{
 | 
			
		||||
    "name": "Scrolling Lists",
 | 
			
		||||
    "description": "Time-ordered list of latest data.",
 | 
			
		||||
    "extensions": {
 | 
			
		||||
        "views": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "scrolling",
 | 
			
		||||
                "name": "Scrolling",
 | 
			
		||||
                "glyph": "5",
 | 
			
		||||
                "description": "Scrolling list of data values.",
 | 
			
		||||
                "templateUrl": "templates/rtscrolling.html",
 | 
			
		||||
                "needs": [ "telemetry" ],
 | 
			
		||||
                "delegation": true
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "controllers": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "RTScrollingListController",
 | 
			
		||||
                "implementation": "RTScrollingListController.js",
 | 
			
		||||
                "depends": [ "$scope", "telemetryHandler", "telemetryFormatter" ]
 | 
			
		||||
            }
 | 
			
		||||
        ]
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										50
									
								
								platform/features/scrolling/bundle.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										50
									
								
								platform/features/scrolling/bundle.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,50 @@
 | 
			
		||||
/*****************************************************************************
 | 
			
		||||
 * Open MCT Web, Copyright (c) 2014-2015, United States Government
 | 
			
		||||
 * as represented by the Administrator of the National Aeronautics and Space
 | 
			
		||||
 * Administration. All rights reserved.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web is licensed under the Apache License, Version 2.0 (the
 | 
			
		||||
 * "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.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web includes source code licensed under additional open source
 | 
			
		||||
 * 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.
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
/*global define*/
 | 
			
		||||
 | 
			
		||||
define(['legacyRegistry'], function (legacyRegistry) {
 | 
			
		||||
    "use strict";
 | 
			
		||||
    legacyRegistry.register("platform/features/scrolling", {
 | 
			
		||||
        "name": "Scrolling Lists",
 | 
			
		||||
        "description": "Time-ordered list of latest data.",
 | 
			
		||||
        "extensions": {
 | 
			
		||||
            "views": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "scrolling",
 | 
			
		||||
                    "name": "Scrolling",
 | 
			
		||||
                    "glyph": "5",
 | 
			
		||||
                    "description": "Scrolling list of data values.",
 | 
			
		||||
                    "templateUrl": "templates/scrolling.html",
 | 
			
		||||
                    "needs": [ "telemetry" ],
 | 
			
		||||
                    "delegation": true
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "controllers": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "ScrollingListController",
 | 
			
		||||
                    "implementation": "ScrollingListController.js",
 | 
			
		||||
                    "depends": [ "$scope", "telemetryFormatter" ]
 | 
			
		||||
                }
 | 
			
		||||
            ]
 | 
			
		||||
        }
 | 
			
		||||
    });
 | 
			
		||||
});
 | 
			
		||||
@@ -1,25 +0,0 @@
 | 
			
		||||
{
 | 
			
		||||
    "name": "Scrolling Lists",
 | 
			
		||||
    "description": "Time-ordered list of latest data.",
 | 
			
		||||
    "extensions": {
 | 
			
		||||
        "views": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "scrolling",
 | 
			
		||||
                "name": "Scrolling",
 | 
			
		||||
                "glyph": "5",
 | 
			
		||||
                "description": "Scrolling list of data values.",
 | 
			
		||||
                "templateUrl": "templates/scrolling.html",
 | 
			
		||||
                "needs": [ "telemetry" ],
 | 
			
		||||
                "delegation": true
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "controllers": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "ScrollingListController",
 | 
			
		||||
                "implementation": "ScrollingListController.js",
 | 
			
		||||
                "depends": [ "$scope", "telemetryFormatter" ]
 | 
			
		||||
            }
 | 
			
		||||
        ]
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										47
									
								
								platform/features/static-markup/bundle.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										47
									
								
								platform/features/static-markup/bundle.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,47 @@
 | 
			
		||||
/*****************************************************************************
 | 
			
		||||
 * Open MCT Web, Copyright (c) 2014-2015, United States Government
 | 
			
		||||
 * as represented by the Administrator of the National Aeronautics and Space
 | 
			
		||||
 * Administration. All rights reserved.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web is licensed under the Apache License, Version 2.0 (the
 | 
			
		||||
 * "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.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web includes source code licensed under additional open source
 | 
			
		||||
 * 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.
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
/*global define*/
 | 
			
		||||
 | 
			
		||||
define(['legacyRegistry'], function (legacyRegistry) {
 | 
			
		||||
    "use strict";
 | 
			
		||||
    legacyRegistry.register("platform/features/static-markup", {
 | 
			
		||||
        "extensions": {
 | 
			
		||||
            "types": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "static.markup",
 | 
			
		||||
                    "name": "Static Markup",
 | 
			
		||||
                    "glyph": "\u0070",
 | 
			
		||||
                    "description": "Static markup sandbox",
 | 
			
		||||
                    "features": [ "creation" ]
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "views": [
 | 
			
		||||
                {
 | 
			
		||||
                    "templateUrl": "markup.html",
 | 
			
		||||
                    "name": "Static Markup",
 | 
			
		||||
                    "type": "static.markup",
 | 
			
		||||
                    "key": "static.markup"
 | 
			
		||||
                }
 | 
			
		||||
            ]
 | 
			
		||||
        }
 | 
			
		||||
    });
 | 
			
		||||
});
 | 
			
		||||
@@ -1,21 +0,0 @@
 | 
			
		||||
{
 | 
			
		||||
    "extensions": {
 | 
			
		||||
        "types": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "static.markup",
 | 
			
		||||
                "name": "Static Markup",
 | 
			
		||||
                "glyph": "\u0070",
 | 
			
		||||
                "description": "Static markup sandbox",
 | 
			
		||||
                "features": [ "creation" ]
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "views": [
 | 
			
		||||
            {
 | 
			
		||||
                "templateUrl": "markup.html",
 | 
			
		||||
                "name": "Static Markup",
 | 
			
		||||
                "type": "static.markup",
 | 
			
		||||
                "key": "static.markup"
 | 
			
		||||
            }
 | 
			
		||||
        ]
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										407
									
								
								platform/features/timeline/bundle.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										407
									
								
								platform/features/timeline/bundle.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,407 @@
 | 
			
		||||
/*****************************************************************************
 | 
			
		||||
 * Open MCT Web, Copyright (c) 2014-2015, United States Government
 | 
			
		||||
 * as represented by the Administrator of the National Aeronautics and Space
 | 
			
		||||
 * Administration. All rights reserved.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web is licensed under the Apache License, Version 2.0 (the
 | 
			
		||||
 * "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.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web includes source code licensed under additional open source
 | 
			
		||||
 * 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.
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
/*global define*/
 | 
			
		||||
 | 
			
		||||
define(['legacyRegistry'], function (legacyRegistry) {
 | 
			
		||||
    "use strict";
 | 
			
		||||
    legacyRegistry.register("platform/features/timeline", {
 | 
			
		||||
        "name": "Timelines",
 | 
			
		||||
        "description": "Resources, templates, CSS, and code for Timelines.",
 | 
			
		||||
        "resources": "res",
 | 
			
		||||
        "extensions": {
 | 
			
		||||
            "constants": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "TIMELINE_MINIMUM_DURATION",
 | 
			
		||||
                    "description": "The minimum duration to display in a timeline view (one hour.)",
 | 
			
		||||
                    "value": 3600000
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "TIMELINE_MAXIMUM_OFFSCREEN",
 | 
			
		||||
                    "description": "Maximum amount, in pixels, of a Gantt bar which may go off screen.",
 | 
			
		||||
                    "value": 1000
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "TIMELINE_ZOOM_CONFIGURATION",
 | 
			
		||||
                    "description": "Describes major tick sizes in milliseconds, and width in pixels.",
 | 
			
		||||
                    "value": {
 | 
			
		||||
                        "levels": [
 | 
			
		||||
                            1000,
 | 
			
		||||
                            2000,
 | 
			
		||||
                            5000,
 | 
			
		||||
                            10000,
 | 
			
		||||
                            20000,
 | 
			
		||||
                            30000,
 | 
			
		||||
                            60000,
 | 
			
		||||
                            120000,
 | 
			
		||||
                            300000,
 | 
			
		||||
                            600000,
 | 
			
		||||
                            1200000,
 | 
			
		||||
                            1800000,
 | 
			
		||||
                            3600000,
 | 
			
		||||
                            7200000,
 | 
			
		||||
                            14400000,
 | 
			
		||||
                            28800000,
 | 
			
		||||
                            43200000,
 | 
			
		||||
                            86400000
 | 
			
		||||
                        ],
 | 
			
		||||
                        "width": 200
 | 
			
		||||
                    }
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "types": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "timeline",
 | 
			
		||||
                    "name": "Timeline",
 | 
			
		||||
                    "glyph": "S",
 | 
			
		||||
                    "description": "A container for arranging Timelines and Activities in time.",
 | 
			
		||||
                    "features": [ "creation" ],
 | 
			
		||||
                    "contains": [ "timeline", "activity" ],
 | 
			
		||||
                    "properties": [
 | 
			
		||||
                        {
 | 
			
		||||
                            "name": "Start date/time",
 | 
			
		||||
                            "control": "timeline-datetime",
 | 
			
		||||
                            "required": true,
 | 
			
		||||
                            "property": [ "start" ],
 | 
			
		||||
                            "options": [ "SET" ]
 | 
			
		||||
                        },
 | 
			
		||||
                        {
 | 
			
		||||
                            "name": "Battery capacity (Watt-hours)",
 | 
			
		||||
                            "control": "textfield",
 | 
			
		||||
                            "required": false,
 | 
			
		||||
                            "conversion": "number",
 | 
			
		||||
                            "property": [ "capacity" ],
 | 
			
		||||
                            "pattern": "^-?\\d+(\\.\\d*)?$"
 | 
			
		||||
                        }
 | 
			
		||||
                    ],
 | 
			
		||||
                    "model": { "composition": [] }
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "activity",
 | 
			
		||||
                    "name": "Activity",
 | 
			
		||||
                    "glyph": "a",
 | 
			
		||||
                    "features": [ "creation" ],
 | 
			
		||||
                    "contains": [ "activity" ],
 | 
			
		||||
                    "description": "An action that takes place in time. You can define a start time and duration. Activities can be nested within other Activities, or within Timelines.",
 | 
			
		||||
                    "properties": [
 | 
			
		||||
                        {
 | 
			
		||||
                            "name": "Start date/time",
 | 
			
		||||
                            "control": "timeline-datetime",
 | 
			
		||||
                            "required": true,
 | 
			
		||||
                            "property": [ "start" ],
 | 
			
		||||
                            "options": [ "SET" ]
 | 
			
		||||
                        },
 | 
			
		||||
                        {
 | 
			
		||||
                            "name": "Duration",
 | 
			
		||||
                            "control": "duration",
 | 
			
		||||
                            "required": true,
 | 
			
		||||
                            "property": [ "duration" ]
 | 
			
		||||
                        }
 | 
			
		||||
                    ],
 | 
			
		||||
                    "model": { "composition": [], "relationships": { "modes": [] } }
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "mode",
 | 
			
		||||
                    "name": "Activity Mode",
 | 
			
		||||
                    "glyph": "A",
 | 
			
		||||
                    "features": [ "creation" ],
 | 
			
		||||
                    "description": "Define resource utilizations over time, then apply to an Activity.",
 | 
			
		||||
                    "model": { "resources": { "comms": 0, "power": 0 } },
 | 
			
		||||
                    "properties": [
 | 
			
		||||
                        {
 | 
			
		||||
                            "name": "Comms (Kbps)",
 | 
			
		||||
                            "control": "textfield",
 | 
			
		||||
                            "conversion": "number",
 | 
			
		||||
                            "pattern": "^-?\\d+(\\.\\d*)?$",
 | 
			
		||||
                            "property": [ "resources", "comms" ]
 | 
			
		||||
                        },
 | 
			
		||||
                        {
 | 
			
		||||
                            "name": "Power (watts)",
 | 
			
		||||
                            "control": "textfield",
 | 
			
		||||
                            "conversion": "number",
 | 
			
		||||
                            "pattern": "^-?\\d+(\\.\\d*)?$",
 | 
			
		||||
                            "property": [ "resources", "power" ]
 | 
			
		||||
                        }
 | 
			
		||||
                    ]
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "views": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "values",
 | 
			
		||||
                    "name": "Values",
 | 
			
		||||
                    "glyph": "A",
 | 
			
		||||
                    "templateUrl": "templates/values.html",
 | 
			
		||||
                    "type": "mode",
 | 
			
		||||
                    "uses": [ "cost" ],
 | 
			
		||||
                    "editable": false
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "timeline",
 | 
			
		||||
                    "name": "Timeline",
 | 
			
		||||
                    "glyph": "S",
 | 
			
		||||
                    "type": "timeline",
 | 
			
		||||
                    "description": "A timeline view of Timelines and Activities.",
 | 
			
		||||
                    "templateUrl": "templates/timeline.html",
 | 
			
		||||
                    "toolbar": {
 | 
			
		||||
                        "sections": [
 | 
			
		||||
                            {
 | 
			
		||||
                                "items": [
 | 
			
		||||
                                    {
 | 
			
		||||
                                        "method": "add",
 | 
			
		||||
                                        "glyph": "+",
 | 
			
		||||
                                        "control": "menu-button",
 | 
			
		||||
                                        "text": "Add",
 | 
			
		||||
                                        "options": [
 | 
			
		||||
                                            {
 | 
			
		||||
                                                "name": "Timeline",
 | 
			
		||||
                                                "glyph": "S",
 | 
			
		||||
                                                "key": "timeline"
 | 
			
		||||
                                            },
 | 
			
		||||
                                            {
 | 
			
		||||
                                                "name": "Activity",
 | 
			
		||||
                                                "glyph": "a",
 | 
			
		||||
                                                "key": "activity"
 | 
			
		||||
                                            }
 | 
			
		||||
                                        ]
 | 
			
		||||
                                    }
 | 
			
		||||
                                ]
 | 
			
		||||
                            },
 | 
			
		||||
                            {
 | 
			
		||||
                                "items": [
 | 
			
		||||
                                    {
 | 
			
		||||
                                        "glyph": "\u00E9",
 | 
			
		||||
                                        "description": "Graph resource utilization",
 | 
			
		||||
                                        "control": "button",
 | 
			
		||||
                                        "method": "toggleGraph"
 | 
			
		||||
                                    },
 | 
			
		||||
                                    {
 | 
			
		||||
                                        "glyph": "A",
 | 
			
		||||
                                        "control": "dialog-button",
 | 
			
		||||
                                        "description": "Apply Activity Modes...",
 | 
			
		||||
                                        "title": "Apply Activity Modes",
 | 
			
		||||
                                        "dialog": {
 | 
			
		||||
                                            "control": "selector",
 | 
			
		||||
                                            "name": "Modes",
 | 
			
		||||
                                            "type": "mode"
 | 
			
		||||
                                        },
 | 
			
		||||
                                        "property": "modes"
 | 
			
		||||
                                    },
 | 
			
		||||
                                    {
 | 
			
		||||
                                        "glyph": "\u00E8",
 | 
			
		||||
                                        "description": "Edit Activity Link",
 | 
			
		||||
                                        "title": "Activity Link",
 | 
			
		||||
                                        "control": "dialog-button",
 | 
			
		||||
                                        "dialog": {
 | 
			
		||||
                                            "control": "textfield",
 | 
			
		||||
                                            "name": "Link",
 | 
			
		||||
                                            "pattern": "^(ftp|https?)\\:\\/\\/\\w+(\\.\\w+)*(\\:\\d+)?(\\/\\S*)*$"
 | 
			
		||||
                                        },
 | 
			
		||||
                                        "property": "link"
 | 
			
		||||
                                    },
 | 
			
		||||
                                    {
 | 
			
		||||
                                        "glyph": "\u0047",
 | 
			
		||||
                                        "description": "Edit Properties...",
 | 
			
		||||
                                        "control": "button",
 | 
			
		||||
                                        "method": "properties"
 | 
			
		||||
                                    }
 | 
			
		||||
                                ]
 | 
			
		||||
                            },
 | 
			
		||||
                            {
 | 
			
		||||
                                "items": [
 | 
			
		||||
                                    {
 | 
			
		||||
                                        "method": "remove",
 | 
			
		||||
                                        "description": "Remove item",
 | 
			
		||||
                                        "control": "button",
 | 
			
		||||
                                        "glyph": "Z"
 | 
			
		||||
                                    }
 | 
			
		||||
                                ]
 | 
			
		||||
                            }
 | 
			
		||||
                        ]
 | 
			
		||||
                    }
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "stylesheets": [
 | 
			
		||||
                {
 | 
			
		||||
                    "stylesheetUrl": "css/timeline.css"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "stylesheetUrl": "css/timeline-espresso.css",
 | 
			
		||||
                    "theme": "espresso"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "stylesheetUrl": "css/timeline-snow.css",
 | 
			
		||||
                    "theme": "snow"
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "representations": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "gantt",
 | 
			
		||||
                    "templateUrl": "templates/activity-gantt.html",
 | 
			
		||||
                    "uses": [ "timespan", "type" ]
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "templates": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "timeline-tabular-swimlane-cols-tree",
 | 
			
		||||
                    "priority": "mandatory",
 | 
			
		||||
                    "templateUrl": "templates/tabular-swimlane-cols-tree.html"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "timeline-tabular-swimlane-cols-data",
 | 
			
		||||
                    "priority": "mandatory",
 | 
			
		||||
                    "templateUrl": "templates/tabular-swimlane-cols-data.html"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "timeline-resource-graphs",
 | 
			
		||||
                    "priority": "mandatory",
 | 
			
		||||
                    "templateUrl": "templates/resource-graphs.html"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "timeline-resource-graph-labels",
 | 
			
		||||
                    "priority": "mandatory",
 | 
			
		||||
                    "templateUrl": "templates/resource-graph-labels.html"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "timeline-legend-item",
 | 
			
		||||
                    "priority": "mandatory",
 | 
			
		||||
                    "templateUrl": "templates/legend-item.html"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "timeline-ticks",
 | 
			
		||||
                    "priority": "mandatory",
 | 
			
		||||
                    "templateUrl": "templates/ticks.html"
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "controls": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "timeline-datetime",
 | 
			
		||||
                    "templateUrl": "templates/controls/datetime.html"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "duration",
 | 
			
		||||
                    "templateUrl": "templates/controls/datetime.html"
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "controllers": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "TimelineController",
 | 
			
		||||
                    "implementation": "controllers/TimelineController.js",
 | 
			
		||||
                    "depends": [ "$scope", "$q", "objectLoader", "TIMELINE_MINIMUM_DURATION" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "TimelineGraphController",
 | 
			
		||||
                    "implementation": "controllers/TimelineGraphController.js",
 | 
			
		||||
                    "depends": [ "$scope", "resources[]" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "TimelineDateTimeController",
 | 
			
		||||
                    "implementation": "controllers/TimelineDateTimeController.js",
 | 
			
		||||
                    "depends": [ "$scope" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "TimelineZoomController",
 | 
			
		||||
                    "implementation": "controllers/TimelineZoomController.js",
 | 
			
		||||
                    "depends": [ "$scope", "TIMELINE_ZOOM_CONFIGURATION" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "TimelineTickController",
 | 
			
		||||
                    "implementation": "controllers/TimelineTickController.js"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "TimelineTableController",
 | 
			
		||||
                    "implementation": "controllers/TimelineTableController.js"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "TimelineGanttController",
 | 
			
		||||
                    "implementation": "controllers/TimelineGanttController.js",
 | 
			
		||||
                    "depends": [ "TIMELINE_MAXIMUM_OFFSCREEN" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "ActivityModeValuesController",
 | 
			
		||||
                    "implementation": "controllers/ActivityModeValuesController.js",
 | 
			
		||||
                    "depends": [ "resources[]" ]
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "capabilities": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "timespan",
 | 
			
		||||
                    "implementation": "capabilities/ActivityTimespanCapability.js",
 | 
			
		||||
                    "depends": [ "$q" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "timespan",
 | 
			
		||||
                    "implementation": "capabilities/TimelineTimespanCapability.js",
 | 
			
		||||
                    "depends": [ "$q" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "utilization",
 | 
			
		||||
                    "implementation": "capabilities/UtilizationCapability.js",
 | 
			
		||||
                    "depends": [ "$q" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "graph",
 | 
			
		||||
                    "implementation": "capabilities/GraphCapability.js",
 | 
			
		||||
                    "depends": [ "$q" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "cost",
 | 
			
		||||
                    "implementation": "capabilities/CostCapability.js"
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "directives": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "mctSwimlaneDrop",
 | 
			
		||||
                    "implementation": "directives/MCTSwimlaneDrop.js",
 | 
			
		||||
                    "depends": [ "dndService" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "mctSwimlaneDrag",
 | 
			
		||||
                    "implementation": "directives/MCTSwimlaneDrag.js",
 | 
			
		||||
                    "depends": [ "dndService" ]
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "services": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "objectLoader",
 | 
			
		||||
                    "implementation": "services/ObjectLoader.js",
 | 
			
		||||
                    "depends": [ "$q" ]
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "resources": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "power",
 | 
			
		||||
                    "name": "Power",
 | 
			
		||||
                    "units": "watts"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "comms",
 | 
			
		||||
                    "name": "Comms",
 | 
			
		||||
                    "units": "Kbps"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "battery",
 | 
			
		||||
                    "name": "Battery State-of-Charge",
 | 
			
		||||
                    "units": "%"
 | 
			
		||||
                }
 | 
			
		||||
            ]
 | 
			
		||||
        }
 | 
			
		||||
    });
 | 
			
		||||
});
 | 
			
		||||
@@ -1,385 +0,0 @@
 | 
			
		||||
{
 | 
			
		||||
    "name": "Timelines",
 | 
			
		||||
    "description": "Resources, templates, CSS, and code for Timelines.",
 | 
			
		||||
    "resources": "res",
 | 
			
		||||
    "extensions": {
 | 
			
		||||
        "constants": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "TIMELINE_MINIMUM_DURATION",
 | 
			
		||||
                "description": "The minimum duration to display in a timeline view (one hour.)",
 | 
			
		||||
                "value": 3600000
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "TIMELINE_MAXIMUM_OFFSCREEN",
 | 
			
		||||
                "description": "Maximum amount, in pixels, of a Gantt bar which may go off screen.",
 | 
			
		||||
                "value": 1000
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "TIMELINE_ZOOM_CONFIGURATION",
 | 
			
		||||
                "description": "Describes major tick sizes in milliseconds, and width in pixels.",
 | 
			
		||||
                "value": {
 | 
			
		||||
                    "levels": [
 | 
			
		||||
                        1000,
 | 
			
		||||
                        2000,
 | 
			
		||||
                        5000,
 | 
			
		||||
 | 
			
		||||
                        10000,
 | 
			
		||||
                        20000,
 | 
			
		||||
                        30000,
 | 
			
		||||
                        60000,
 | 
			
		||||
 | 
			
		||||
                        120000,
 | 
			
		||||
                        300000,
 | 
			
		||||
                        600000,
 | 
			
		||||
 | 
			
		||||
                        1200000,
 | 
			
		||||
                        1800000,
 | 
			
		||||
                        3600000,
 | 
			
		||||
                        7200000,
 | 
			
		||||
 | 
			
		||||
                        14400000,
 | 
			
		||||
                        28800000,
 | 
			
		||||
                        43200000,
 | 
			
		||||
                        86400000
 | 
			
		||||
                    ],
 | 
			
		||||
                    "width": 200
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "types": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "timeline",
 | 
			
		||||
                "name": "Timeline",
 | 
			
		||||
                "glyph": "S",
 | 
			
		||||
                "description": "A container for arranging Timelines and Activities in time.",
 | 
			
		||||
                "features": [ "creation" ],
 | 
			
		||||
                "contains": [ "timeline", "activity" ],
 | 
			
		||||
                "properties": [
 | 
			
		||||
                    {
 | 
			
		||||
                        "name": "Start date/time",
 | 
			
		||||
                        "control": "timeline-datetime",
 | 
			
		||||
                        "required": true,
 | 
			
		||||
                        "property": [ "start" ],
 | 
			
		||||
                        "options": [ "SET" ]
 | 
			
		||||
                    },
 | 
			
		||||
                    {
 | 
			
		||||
                        "name": "Battery capacity (Watt-hours)",
 | 
			
		||||
                        "control": "textfield",
 | 
			
		||||
                        "required": false,
 | 
			
		||||
                        "conversion": "number",
 | 
			
		||||
                        "property": [ "capacity" ],
 | 
			
		||||
                        "pattern": "^-?\\d+(\\.\\d*)?$"
 | 
			
		||||
                    }
 | 
			
		||||
                ],
 | 
			
		||||
                "model": { "composition": [] }
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "activity",
 | 
			
		||||
                "name": "Activity",
 | 
			
		||||
                "glyph": "a",
 | 
			
		||||
                "features": [ "creation" ],
 | 
			
		||||
                "contains": [ "activity" ],
 | 
			
		||||
                "description": "An action that takes place in time. You can define a start time and duration. Activities can be nested within other Activities, or within Timelines.",
 | 
			
		||||
                "properties": [
 | 
			
		||||
                    {
 | 
			
		||||
                        "name": "Start date/time",
 | 
			
		||||
                        "control": "timeline-datetime",
 | 
			
		||||
                        "required": true,
 | 
			
		||||
                        "property": [ "start" ],
 | 
			
		||||
                        "options": [ "SET" ]
 | 
			
		||||
                    },
 | 
			
		||||
                    {
 | 
			
		||||
                        "name": "Duration",
 | 
			
		||||
                        "control": "duration",
 | 
			
		||||
                        "required": true,
 | 
			
		||||
                        "property": [ "duration" ]
 | 
			
		||||
                    }
 | 
			
		||||
                ],
 | 
			
		||||
                "model": { "composition": [], "relationships": { "modes": [] } }
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "mode",
 | 
			
		||||
                "name": "Activity Mode",
 | 
			
		||||
                "glyph": "A",
 | 
			
		||||
                "features": [ "creation" ],
 | 
			
		||||
                "description": "Define resource utilizations over time, then apply to an Activity.",
 | 
			
		||||
                "model": { "resources": { "comms": 0, "power": 0 } },
 | 
			
		||||
                "properties": [
 | 
			
		||||
                    {
 | 
			
		||||
                        "name": "Comms (Kbps)",
 | 
			
		||||
                        "control": "textfield",
 | 
			
		||||
                        "conversion": "number",
 | 
			
		||||
                        "pattern": "^-?\\d+(\\.\\d*)?$",
 | 
			
		||||
                        "property": [ "resources", "comms" ]
 | 
			
		||||
                    },
 | 
			
		||||
                    {
 | 
			
		||||
                        "name": "Power (watts)",
 | 
			
		||||
                        "control": "textfield",
 | 
			
		||||
                        "conversion": "number",
 | 
			
		||||
                        "pattern": "^-?\\d+(\\.\\d*)?$",
 | 
			
		||||
                        "property": [ "resources", "power" ]
 | 
			
		||||
                    }
 | 
			
		||||
                ]
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "views": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "values",
 | 
			
		||||
                "name": "Values",
 | 
			
		||||
                "glyph": "A",
 | 
			
		||||
                "templateUrl": "templates/values.html",
 | 
			
		||||
                "type": "mode",
 | 
			
		||||
                "uses": [ "cost" ],
 | 
			
		||||
                "editable": false
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "timeline",
 | 
			
		||||
                "name": "Timeline",
 | 
			
		||||
                "glyph": "S",
 | 
			
		||||
                "type": "timeline",
 | 
			
		||||
                "description": "A timeline view of Timelines and Activities.",
 | 
			
		||||
                "templateUrl": "templates/timeline.html",
 | 
			
		||||
                "toolbar": {
 | 
			
		||||
                    "sections": [
 | 
			
		||||
                        {
 | 
			
		||||
                            "items": [
 | 
			
		||||
                                {
 | 
			
		||||
                                    "method": "add",
 | 
			
		||||
                                    "glyph": "+",
 | 
			
		||||
                                    "control": "menu-button",
 | 
			
		||||
                                    "text": "Add",
 | 
			
		||||
                                    "options": [
 | 
			
		||||
                                        {
 | 
			
		||||
                                            "name": "Timeline",
 | 
			
		||||
                                            "glyph": "S",
 | 
			
		||||
                                            "key": "timeline"
 | 
			
		||||
                                        },
 | 
			
		||||
                                        {
 | 
			
		||||
                                            "name": "Activity",
 | 
			
		||||
                                            "glyph": "a",
 | 
			
		||||
                                            "key": "activity"
 | 
			
		||||
                                        }
 | 
			
		||||
                                    ]
 | 
			
		||||
                                }
 | 
			
		||||
                            ]
 | 
			
		||||
                        },
 | 
			
		||||
                        {
 | 
			
		||||
                            "items": [
 | 
			
		||||
                                {
 | 
			
		||||
                                    "glyph": "\u00E9",
 | 
			
		||||
                                    "description": "Graph resource utilization",
 | 
			
		||||
                                    "control": "button",
 | 
			
		||||
                                    "method": "toggleGraph"
 | 
			
		||||
                                },
 | 
			
		||||
                                {
 | 
			
		||||
                                    "glyph": "A",
 | 
			
		||||
                                    "control": "dialog-button",
 | 
			
		||||
                                    "description": "Apply Activity Modes...",
 | 
			
		||||
                                    "title": "Apply Activity Modes",
 | 
			
		||||
                                    "dialog": {
 | 
			
		||||
                                        "control": "selector",
 | 
			
		||||
                                        "name": "Modes",
 | 
			
		||||
                                        "type": "mode"
 | 
			
		||||
                                    },
 | 
			
		||||
                                    "property": "modes"
 | 
			
		||||
                                },
 | 
			
		||||
                                {
 | 
			
		||||
                                    "glyph": "\u00E8",
 | 
			
		||||
                                    "description": "Edit Activity Link",
 | 
			
		||||
                                    "title": "Activity Link",
 | 
			
		||||
                                    "control": "dialog-button",
 | 
			
		||||
                                    "dialog": {
 | 
			
		||||
                                        "control": "textfield",
 | 
			
		||||
                                        "name": "Link",
 | 
			
		||||
                                        "pattern": "^(ftp|https?)\\:\\/\\/\\w+(\\.\\w+)*(\\:\\d+)?(\\/\\S*)*$"
 | 
			
		||||
                                    },
 | 
			
		||||
                                    "property": "link"
 | 
			
		||||
                                },
 | 
			
		||||
                                {
 | 
			
		||||
                                    "glyph": "\u0047",
 | 
			
		||||
                                    "description": "Edit Properties...",
 | 
			
		||||
                                    "control": "button",
 | 
			
		||||
                                    "method": "properties"
 | 
			
		||||
                                }
 | 
			
		||||
                            ]
 | 
			
		||||
                        },
 | 
			
		||||
                        {
 | 
			
		||||
                            "items": [
 | 
			
		||||
                                {
 | 
			
		||||
                                    "method": "remove",
 | 
			
		||||
                                    "description": "Remove item",
 | 
			
		||||
                                    "control": "button",
 | 
			
		||||
                                    "glyph": "Z"
 | 
			
		||||
                                }
 | 
			
		||||
                            ]
 | 
			
		||||
                        }
 | 
			
		||||
                    ]
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "stylesheets": [
 | 
			
		||||
            {
 | 
			
		||||
                "stylesheetUrl": "css/timeline.css"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "stylesheetUrl": "css/timeline-espresso.css",
 | 
			
		||||
                "theme": "espresso"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "stylesheetUrl": "css/timeline-snow.css",
 | 
			
		||||
                "theme": "snow"
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "representations": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "gantt",
 | 
			
		||||
                "templateUrl": "templates/activity-gantt.html",
 | 
			
		||||
                "uses": [ "timespan", "type" ]
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "templates": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "timeline-tabular-swimlane-cols-tree",
 | 
			
		||||
                "priority": "mandatory",
 | 
			
		||||
                "templateUrl": "templates/tabular-swimlane-cols-tree.html"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "timeline-tabular-swimlane-cols-data",
 | 
			
		||||
                "priority": "mandatory",
 | 
			
		||||
                "templateUrl": "templates/tabular-swimlane-cols-data.html"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "timeline-resource-graphs",
 | 
			
		||||
                "priority": "mandatory",
 | 
			
		||||
                "templateUrl": "templates/resource-graphs.html"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "timeline-resource-graph-labels",
 | 
			
		||||
                "priority": "mandatory",
 | 
			
		||||
                "templateUrl": "templates/resource-graph-labels.html"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "timeline-legend-item",
 | 
			
		||||
                "priority": "mandatory",
 | 
			
		||||
                "templateUrl": "templates/legend-item.html"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "timeline-ticks",
 | 
			
		||||
                "priority": "mandatory",
 | 
			
		||||
                "templateUrl": "templates/ticks.html"
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "controls": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "timeline-datetime",
 | 
			
		||||
                "templateUrl": "templates/controls/datetime.html"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "duration",
 | 
			
		||||
                "templateUrl": "templates/controls/datetime.html"
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "controllers": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "TimelineController",
 | 
			
		||||
                "implementation": "controllers/TimelineController.js",
 | 
			
		||||
                "depends": [ "$scope", "$q", "objectLoader", "TIMELINE_MINIMUM_DURATION" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "TimelineGraphController",
 | 
			
		||||
                "implementation": "controllers/TimelineGraphController.js",
 | 
			
		||||
                "depends": [ "$scope", "resources[]" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "TimelineDateTimeController",
 | 
			
		||||
                "implementation": "controllers/TimelineDateTimeController.js",
 | 
			
		||||
                "depends": [ "$scope" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "TimelineZoomController",
 | 
			
		||||
                "implementation": "controllers/TimelineZoomController.js",
 | 
			
		||||
                "depends": [ "$scope", "TIMELINE_ZOOM_CONFIGURATION" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "TimelineTickController",
 | 
			
		||||
                "implementation": "controllers/TimelineTickController.js"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "TimelineTableController",
 | 
			
		||||
                "implementation": "controllers/TimelineTableController.js"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "TimelineGanttController",
 | 
			
		||||
                "implementation": "controllers/TimelineGanttController.js",
 | 
			
		||||
                "depends": [ "TIMELINE_MAXIMUM_OFFSCREEN" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "ActivityModeValuesController",
 | 
			
		||||
                "implementation": "controllers/ActivityModeValuesController.js",
 | 
			
		||||
                "depends": [ "resources[]" ]
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "capabilities": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "timespan",
 | 
			
		||||
                "implementation": "capabilities/ActivityTimespanCapability.js",
 | 
			
		||||
                "depends": [ "$q" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "timespan",
 | 
			
		||||
                "implementation": "capabilities/TimelineTimespanCapability.js",
 | 
			
		||||
                "depends": [ "$q" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "utilization",
 | 
			
		||||
                "implementation": "capabilities/UtilizationCapability.js",
 | 
			
		||||
                "depends": [ "$q" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "graph",
 | 
			
		||||
                "implementation": "capabilities/GraphCapability.js",
 | 
			
		||||
                "depends": [ "$q" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "cost",
 | 
			
		||||
                "implementation": "capabilities/CostCapability.js"
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "directives": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "mctSwimlaneDrop",
 | 
			
		||||
                "implementation": "directives/MCTSwimlaneDrop.js",
 | 
			
		||||
                "depends": [ "dndService" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "mctSwimlaneDrag",
 | 
			
		||||
                "implementation": "directives/MCTSwimlaneDrag.js",
 | 
			
		||||
                "depends": [ "dndService" ]
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "services": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "objectLoader",
 | 
			
		||||
                "implementation": "services/ObjectLoader.js",
 | 
			
		||||
                "depends": [ "$q" ]
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "resources": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "power",
 | 
			
		||||
                "name": "Power",
 | 
			
		||||
                "units": "watts"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "comms",
 | 
			
		||||
                "name": "Comms",
 | 
			
		||||
                "units": "Kbps"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "battery",
 | 
			
		||||
                "name": "Battery State-of-Charge",
 | 
			
		||||
                "units": "%"
 | 
			
		||||
            }
 | 
			
		||||
        ]
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										105
									
								
								platform/forms/bundle.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										105
									
								
								platform/forms/bundle.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,105 @@
 | 
			
		||||
/*****************************************************************************
 | 
			
		||||
 * Open MCT Web, Copyright (c) 2014-2015, United States Government
 | 
			
		||||
 * as represented by the Administrator of the National Aeronautics and Space
 | 
			
		||||
 * Administration. All rights reserved.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web is licensed under the Apache License, Version 2.0 (the
 | 
			
		||||
 * "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.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web includes source code licensed under additional open source
 | 
			
		||||
 * 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.
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
/*global define*/
 | 
			
		||||
 | 
			
		||||
define(['legacyRegistry'], function (legacyRegistry) {
 | 
			
		||||
    "use strict";
 | 
			
		||||
    legacyRegistry.register("platform/forms", {
 | 
			
		||||
        "name": "MCT Forms",
 | 
			
		||||
        "description": "Form generator; includes directive and some controls.",
 | 
			
		||||
        "extensions": {
 | 
			
		||||
            "directives": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "mctForm",
 | 
			
		||||
                    "implementation": "MCTForm.js"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "mctToolbar",
 | 
			
		||||
                    "implementation": "MCTToolbar.js"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "mctControl",
 | 
			
		||||
                    "implementation": "MCTControl.js",
 | 
			
		||||
                    "depends": [ "controls[]" ]
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "controls": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "checkbox",
 | 
			
		||||
                    "templateUrl": "templates/controls/checkbox.html"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "datetime",
 | 
			
		||||
                    "templateUrl": "templates/controls/datetime.html"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "select",
 | 
			
		||||
                    "templateUrl": "templates/controls/select.html"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "textfield",
 | 
			
		||||
                    "templateUrl": "templates/controls/textfield.html"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "button",
 | 
			
		||||
                    "templateUrl": "templates/controls/button.html"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "color",
 | 
			
		||||
                    "templateUrl": "templates/controls/color.html"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "composite",
 | 
			
		||||
                    "templateUrl": "templates/controls/composite.html"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "menu-button",
 | 
			
		||||
                    "templateUrl": "templates/controls/menu-button.html"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "dialog-button",
 | 
			
		||||
                    "templateUrl": "templates/controls/dialog.html"
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "controllers": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "DateTimeController",
 | 
			
		||||
                    "implementation": "controllers/DateTimeController.js",
 | 
			
		||||
                    "depends": [ "$scope" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "CompositeController",
 | 
			
		||||
                    "implementation": "controllers/CompositeController.js"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "ColorController",
 | 
			
		||||
                    "implementation": "controllers/ColorController.js"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "DialogButtonController",
 | 
			
		||||
                    "implementation": "controllers/DialogButtonController.js",
 | 
			
		||||
                    "depends": [ "$scope", "dialogService" ]
 | 
			
		||||
                }
 | 
			
		||||
            ]
 | 
			
		||||
        }
 | 
			
		||||
    });
 | 
			
		||||
});
 | 
			
		||||
@@ -1,79 +0,0 @@
 | 
			
		||||
{
 | 
			
		||||
    "name": "MCT Forms",
 | 
			
		||||
    "description": "Form generator; includes directive and some controls.",
 | 
			
		||||
    "extensions": {
 | 
			
		||||
        "directives": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "mctForm",
 | 
			
		||||
                "implementation": "MCTForm.js"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "mctToolbar",
 | 
			
		||||
                "implementation": "MCTToolbar.js"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "mctControl",
 | 
			
		||||
                "implementation": "MCTControl.js",
 | 
			
		||||
                "depends": [ "controls[]" ]
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "controls": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "checkbox",
 | 
			
		||||
                "templateUrl": "templates/controls/checkbox.html"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "datetime",
 | 
			
		||||
                "templateUrl": "templates/controls/datetime.html"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "select",
 | 
			
		||||
                "templateUrl": "templates/controls/select.html"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "textfield",
 | 
			
		||||
                "templateUrl": "templates/controls/textfield.html"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "button",
 | 
			
		||||
                "templateUrl": "templates/controls/button.html"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "color",
 | 
			
		||||
                "templateUrl": "templates/controls/color.html"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "composite",
 | 
			
		||||
                "templateUrl": "templates/controls/composite.html"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "menu-button",
 | 
			
		||||
                "templateUrl": "templates/controls/menu-button.html"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "dialog-button",
 | 
			
		||||
                "templateUrl": "templates/controls/dialog.html"
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "controllers": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "DateTimeController",
 | 
			
		||||
                "implementation": "controllers/DateTimeController.js",
 | 
			
		||||
                "depends": [ "$scope" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "CompositeController",
 | 
			
		||||
                "implementation": "controllers/CompositeController.js"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "ColorController",
 | 
			
		||||
                "implementation": "controllers/ColorController.js"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "DialogButtonController",
 | 
			
		||||
                "implementation": "controllers/DialogButtonController.js",
 | 
			
		||||
                "depends": [ "$scope", "dialogService" ]
 | 
			
		||||
            }
 | 
			
		||||
        ]
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										105
									
								
								platform/framework/bundle.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										105
									
								
								platform/framework/bundle.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,105 @@
 | 
			
		||||
/*****************************************************************************
 | 
			
		||||
 * Open MCT Web, Copyright (c) 2014-2015, United States Government
 | 
			
		||||
 * as represented by the Administrator of the National Aeronautics and Space
 | 
			
		||||
 * Administration. All rights reserved.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web is licensed under the Apache License, Version 2.0 (the
 | 
			
		||||
 * "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.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web includes source code licensed under additional open source
 | 
			
		||||
 * 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.
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
/*global define*/
 | 
			
		||||
 | 
			
		||||
define(['legacyRegistry'], function (legacyRegistry) {
 | 
			
		||||
    "use strict";
 | 
			
		||||
    legacyRegistry.register("platform/framework", {
 | 
			
		||||
        "name": "Open MCT Web Framework Component",
 | 
			
		||||
        "description": "Framework layer for Open MCT Web; interprets bundle definitions and serves as an intermediary between Require and Angular",
 | 
			
		||||
        "libraries": "lib",
 | 
			
		||||
        "configuration": {
 | 
			
		||||
            "paths": {
 | 
			
		||||
                "angular": "angular.min"
 | 
			
		||||
            },
 | 
			
		||||
            "shim": {
 | 
			
		||||
                "angular": {
 | 
			
		||||
                    "exports": "angular"
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        },
 | 
			
		||||
        "extensions": {
 | 
			
		||||
            "licenses": [
 | 
			
		||||
                {
 | 
			
		||||
                    "name": "Blanket.js",
 | 
			
		||||
                    "version": "1.1.5",
 | 
			
		||||
                    "description": "Code coverage measurement and reporting",
 | 
			
		||||
                    "author": "Alex Seville",
 | 
			
		||||
                    "website": "http://blanketjs.org/",
 | 
			
		||||
                    "copyright": "Copyright (c) 2013 Alex Seville",
 | 
			
		||||
                    "license": "license-mit",
 | 
			
		||||
                    "link": "http://opensource.org/licenses/MIT"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "name": "Jasmine",
 | 
			
		||||
                    "version": "1.3.1",
 | 
			
		||||
                    "description": "Unit testing",
 | 
			
		||||
                    "author": "Pivotal Labs",
 | 
			
		||||
                    "website": "http://jasmine.github.io/",
 | 
			
		||||
                    "copyright": "Copyright (c) 2008-2011 Pivotal Labs",
 | 
			
		||||
                    "license": "license-mit",
 | 
			
		||||
                    "link": "http://opensource.org/licenses/MIT"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "name": "RequireJS",
 | 
			
		||||
                    "version": "2.1.9",
 | 
			
		||||
                    "description": "Script loader",
 | 
			
		||||
                    "author": "The Dojo Foundation",
 | 
			
		||||
                    "website": "http://requirejs.org/",
 | 
			
		||||
                    "copyright": "Copyright (c) 2010-2015, The Dojo Foundation",
 | 
			
		||||
                    "license": "license-mit",
 | 
			
		||||
                    "link": "https://github.com/jrburke/requirejs/blob/master/LICENSE"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "name": "AngularJS",
 | 
			
		||||
                    "version": "1.2.26",
 | 
			
		||||
                    "description": "Client-side web application framework",
 | 
			
		||||
                    "author": "Google",
 | 
			
		||||
                    "website": "http://angularjs.org/",
 | 
			
		||||
                    "copyright": "Copyright (c) 2010-2014 Google, Inc. http://angularjs.org",
 | 
			
		||||
                    "license": "license-mit",
 | 
			
		||||
                    "link": "https://github.com/angular/angular.js/blob/v1.2.26/LICENSE"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "name": "Angular-Route",
 | 
			
		||||
                    "version": "1.2.26",
 | 
			
		||||
                    "description": "Client-side view routing",
 | 
			
		||||
                    "author": "Google",
 | 
			
		||||
                    "website": "http://angularjs.org/",
 | 
			
		||||
                    "copyright": "Copyright (c) 2010-2014 Google, Inc. http://angularjs.org",
 | 
			
		||||
                    "license": "license-mit",
 | 
			
		||||
                    "link": "https://github.com/angular/angular.js/blob/v1.2.26/LICENSE"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "name": "ES6-Promise",
 | 
			
		||||
                    "version": "2.0.0",
 | 
			
		||||
                    "description": "Promise polyfill for pre-ECMAScript 6 browsers",
 | 
			
		||||
                    "author": "Yehuda Katz, Tom Dale, Stefan Penner and contributors",
 | 
			
		||||
                    "website": "https://github.com/jakearchibald/es6-promise",
 | 
			
		||||
                    "copyright": "Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors",
 | 
			
		||||
                    "license": "license-mit",
 | 
			
		||||
                    "link": "https://github.com/jakearchibald/es6-promise/blob/master/LICENSE"
 | 
			
		||||
                }
 | 
			
		||||
            ]
 | 
			
		||||
        }
 | 
			
		||||
    });
 | 
			
		||||
});
 | 
			
		||||
@@ -1,81 +0,0 @@
 | 
			
		||||
{
 | 
			
		||||
    "name": "Open MCT Web Framework Component",
 | 
			
		||||
    "description": "Framework layer for Open MCT Web; interprets bundle definitions and serves as an intermediary between Require and Angular",
 | 
			
		||||
    "libraries": "lib",
 | 
			
		||||
    "configuration": {
 | 
			
		||||
        "paths": {
 | 
			
		||||
            "angular": "angular.min"
 | 
			
		||||
        },
 | 
			
		||||
        "shim": {
 | 
			
		||||
            "angular": {
 | 
			
		||||
                "exports": "angular"
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    },
 | 
			
		||||
    "extensions": {
 | 
			
		||||
        "licenses": [
 | 
			
		||||
            {
 | 
			
		||||
                "name": "Blanket.js",
 | 
			
		||||
                "version": "1.1.5",
 | 
			
		||||
                "description": "Code coverage measurement and reporting",
 | 
			
		||||
                "author": "Alex Seville",
 | 
			
		||||
                "website": "http://blanketjs.org/",
 | 
			
		||||
                "copyright": "Copyright (c) 2013 Alex Seville",
 | 
			
		||||
                "license": "license-mit",
 | 
			
		||||
                "link": "http://opensource.org/licenses/MIT"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "name": "Jasmine",
 | 
			
		||||
                "version": "1.3.1",
 | 
			
		||||
                "description": "Unit testing",
 | 
			
		||||
                "author": "Pivotal Labs",
 | 
			
		||||
                "website": "http://jasmine.github.io/",
 | 
			
		||||
                "copyright": "Copyright (c) 2008-2011 Pivotal Labs",
 | 
			
		||||
                "license": "license-mit",
 | 
			
		||||
                "link": "http://opensource.org/licenses/MIT"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "name": "RequireJS",
 | 
			
		||||
                "version": "2.1.9",
 | 
			
		||||
                "description": "Script loader",
 | 
			
		||||
                "author": "The Dojo Foundation",
 | 
			
		||||
                "website": "http://requirejs.org/",
 | 
			
		||||
                "copyright": "Copyright (c) 2010-2015, The Dojo Foundation",
 | 
			
		||||
                "license": "license-mit",
 | 
			
		||||
                "link": "https://github.com/jrburke/requirejs/blob/master/LICENSE"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "name": "AngularJS",
 | 
			
		||||
                "version": "1.2.26",
 | 
			
		||||
                "description": "Client-side web application framework",
 | 
			
		||||
                "author": "Google",
 | 
			
		||||
                "website": "http://angularjs.org/",
 | 
			
		||||
                "copyright": "Copyright (c) 2010-2014 Google, Inc. http://angularjs.org",
 | 
			
		||||
                "license": "license-mit",
 | 
			
		||||
                "link": "https://github.com/angular/angular.js/blob/v1.2.26/LICENSE"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "name": "Angular-Route",
 | 
			
		||||
                "version": "1.2.26",
 | 
			
		||||
                "description": "Client-side view routing",
 | 
			
		||||
                "author": "Google",
 | 
			
		||||
                "website": "http://angularjs.org/",
 | 
			
		||||
                "copyright": "Copyright (c) 2010-2014 Google, Inc. http://angularjs.org",
 | 
			
		||||
                "license": "license-mit",
 | 
			
		||||
                "link": "https://github.com/angular/angular.js/blob/v1.2.26/LICENSE"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "name": "ES6-Promise",
 | 
			
		||||
                "version": "2.0.0",
 | 
			
		||||
                "description": "Promise polyfill for pre-ECMAScript 6 browsers",
 | 
			
		||||
                "author": "Yehuda Katz, Tom Dale, Stefan Penner and contributors",
 | 
			
		||||
                "website": "https://github.com/jakearchibald/es6-promise",
 | 
			
		||||
                "copyright": "Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors",
 | 
			
		||||
                "license": "license-mit",
 | 
			
		||||
                "link": "https://github.com/jakearchibald/es6-promise/blob/master/LICENSE"
 | 
			
		||||
            }
 | 
			
		||||
        ]
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										67
									
								
								platform/identity/bundle.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										67
									
								
								platform/identity/bundle.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,67 @@
 | 
			
		||||
/*****************************************************************************
 | 
			
		||||
 * Open MCT Web, Copyright (c) 2014-2015, United States Government
 | 
			
		||||
 * as represented by the Administrator of the National Aeronautics and Space
 | 
			
		||||
 * Administration. All rights reserved.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web is licensed under the Apache License, Version 2.0 (the
 | 
			
		||||
 * "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.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web includes source code licensed under additional open source
 | 
			
		||||
 * 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.
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
/*global define*/
 | 
			
		||||
 | 
			
		||||
define(['legacyRegistry'], function (legacyRegistry) {
 | 
			
		||||
    "use strict";
 | 
			
		||||
    legacyRegistry.register("platform/identity", {
 | 
			
		||||
        "extensions": {
 | 
			
		||||
            "components": [
 | 
			
		||||
                {
 | 
			
		||||
                    "implementation": "IdentityAggregator.js",
 | 
			
		||||
                    "type": "aggregator",
 | 
			
		||||
                    "provides": "identityService",
 | 
			
		||||
                    "depends": [ "$q" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "implementation": "IdentityProvider.js",
 | 
			
		||||
                    "type": "provider",
 | 
			
		||||
                    "provides": "identityService",
 | 
			
		||||
                    "depends": [ "$q" ],
 | 
			
		||||
                    "priority": "fallback"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "type": "decorator",
 | 
			
		||||
                    "provides": "creationService",
 | 
			
		||||
                    "implementation": "IdentityCreationDecorator.js",
 | 
			
		||||
                    "depends": [ "identityService" ]
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "indicators": [
 | 
			
		||||
                {
 | 
			
		||||
                    "implementation": "IdentityIndicator.js",
 | 
			
		||||
                    "depends": [ "identityService" ]
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "types": [
 | 
			
		||||
                {
 | 
			
		||||
                    "properties": [
 | 
			
		||||
                        {
 | 
			
		||||
                            "key": "creator",
 | 
			
		||||
                            "name": "Creator"
 | 
			
		||||
                        }
 | 
			
		||||
                    ]
 | 
			
		||||
                }
 | 
			
		||||
            ]
 | 
			
		||||
        }
 | 
			
		||||
    });
 | 
			
		||||
});
 | 
			
		||||
@@ -1,41 +0,0 @@
 | 
			
		||||
{
 | 
			
		||||
    "extensions": {
 | 
			
		||||
        "components": [
 | 
			
		||||
            {
 | 
			
		||||
                "implementation": "IdentityAggregator.js",
 | 
			
		||||
                "type": "aggregator",
 | 
			
		||||
                "provides": "identityService",
 | 
			
		||||
                "depends": [ "$q" ]
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "implementation": "IdentityProvider.js",
 | 
			
		||||
                "type": "provider",
 | 
			
		||||
                "provides": "identityService",
 | 
			
		||||
                "depends": [ "$q" ],
 | 
			
		||||
                "priority": "fallback"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "type": "decorator",
 | 
			
		||||
                "provides": "creationService",
 | 
			
		||||
                "implementation": "IdentityCreationDecorator.js",
 | 
			
		||||
                "depends": [ "identityService" ]
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "indicators": [
 | 
			
		||||
            {
 | 
			
		||||
                "implementation": "IdentityIndicator.js",
 | 
			
		||||
                "depends": [ "identityService" ]
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "types": [
 | 
			
		||||
            {
 | 
			
		||||
                "properties": [
 | 
			
		||||
                    {
 | 
			
		||||
                        "key": "creator",
 | 
			
		||||
                        "name": "Creator"
 | 
			
		||||
                    }
 | 
			
		||||
                ]
 | 
			
		||||
            }
 | 
			
		||||
        ]
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										38
									
								
								platform/persistence/aggregator/bundle.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										38
									
								
								platform/persistence/aggregator/bundle.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,38 @@
 | 
			
		||||
/*****************************************************************************
 | 
			
		||||
 * Open MCT Web, Copyright (c) 2014-2015, United States Government
 | 
			
		||||
 * as represented by the Administrator of the National Aeronautics and Space
 | 
			
		||||
 * Administration. All rights reserved.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web is licensed under the Apache License, Version 2.0 (the
 | 
			
		||||
 * "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.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web includes source code licensed under additional open source
 | 
			
		||||
 * 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.
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
/*global define*/
 | 
			
		||||
 | 
			
		||||
define(['legacyRegistry'], function (legacyRegistry) {
 | 
			
		||||
    "use strict";
 | 
			
		||||
    legacyRegistry.register("platform/persistence/aggregator", {
 | 
			
		||||
        "extensions": {
 | 
			
		||||
            "components": [
 | 
			
		||||
                {
 | 
			
		||||
                    "provides": "persistenceService",
 | 
			
		||||
                    "type": "aggregator",
 | 
			
		||||
                    "depends": [ "$q" ],
 | 
			
		||||
                    "implementation": "PersistenceAggregator.js"
 | 
			
		||||
                }
 | 
			
		||||
            ]
 | 
			
		||||
        }
 | 
			
		||||
    });
 | 
			
		||||
});
 | 
			
		||||
@@ -1,12 +0,0 @@
 | 
			
		||||
{
 | 
			
		||||
    "extensions": {
 | 
			
		||||
        "components": [
 | 
			
		||||
            {
 | 
			
		||||
                "provides": "persistenceService",
 | 
			
		||||
                "type": "aggregator",
 | 
			
		||||
                "depends": [ "$q" ],
 | 
			
		||||
                "implementation": "PersistenceAggregator.js"
 | 
			
		||||
            }
 | 
			
		||||
        ]
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										40
									
								
								platform/persistence/cache/bundle.js
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										40
									
								
								platform/persistence/cache/bundle.js
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,40 @@
 | 
			
		||||
/*****************************************************************************
 | 
			
		||||
 * Open MCT Web, Copyright (c) 2014-2015, United States Government
 | 
			
		||||
 * as represented by the Administrator of the National Aeronautics and Space
 | 
			
		||||
 * Administration. All rights reserved.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web is licensed under the Apache License, Version 2.0 (the
 | 
			
		||||
 * "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.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web includes source code licensed under additional open source
 | 
			
		||||
 * 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.
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
/*global define*/
 | 
			
		||||
 | 
			
		||||
define(['legacyRegistry'], function (legacyRegistry) {
 | 
			
		||||
    "use strict";
 | 
			
		||||
    legacyRegistry.register("platform/persistence/cache", {
 | 
			
		||||
        "name": "Persistence cache",
 | 
			
		||||
        "description": "Cache to improve availability of persisted objects.",
 | 
			
		||||
        "extensions": {
 | 
			
		||||
            "components": [
 | 
			
		||||
                {
 | 
			
		||||
                    "provides": "persistenceService",
 | 
			
		||||
                    "type": "decorator",
 | 
			
		||||
                    "implementation": "CachingPersistenceDecorator.js",
 | 
			
		||||
                    "depends": [ "PERSISTENCE_SPACE" ]
 | 
			
		||||
                }
 | 
			
		||||
            ]
 | 
			
		||||
        }
 | 
			
		||||
    });
 | 
			
		||||
});
 | 
			
		||||
							
								
								
									
										14
									
								
								platform/persistence/cache/bundle.json
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										14
									
								
								platform/persistence/cache/bundle.json
									
									
									
									
										vendored
									
									
								
							@@ -1,14 +0,0 @@
 | 
			
		||||
{
 | 
			
		||||
    "name": "Persistence cache",
 | 
			
		||||
    "description": "Cache to improve availability of persisted objects.",
 | 
			
		||||
    "extensions": {
 | 
			
		||||
        "components": [
 | 
			
		||||
            {
 | 
			
		||||
                "provides": "persistenceService",
 | 
			
		||||
                "type": "decorator",
 | 
			
		||||
                "implementation": "CachingPersistenceDecorator.js",
 | 
			
		||||
                "depends": [ "PERSISTENCE_SPACE" ]
 | 
			
		||||
            }
 | 
			
		||||
        ]
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										65
									
								
								platform/persistence/couch/bundle.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										65
									
								
								platform/persistence/couch/bundle.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,65 @@
 | 
			
		||||
/*****************************************************************************
 | 
			
		||||
 * Open MCT Web, Copyright (c) 2014-2015, United States Government
 | 
			
		||||
 * as represented by the Administrator of the National Aeronautics and Space
 | 
			
		||||
 * Administration. All rights reserved.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web is licensed under the Apache License, Version 2.0 (the
 | 
			
		||||
 * "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.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web includes source code licensed under additional open source
 | 
			
		||||
 * 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.
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
/*global define*/
 | 
			
		||||
 | 
			
		||||
define(['legacyRegistry'], function (legacyRegistry) {
 | 
			
		||||
    "use strict";
 | 
			
		||||
    legacyRegistry.register("platform/persistence/couch", {
 | 
			
		||||
        "name": "Couch Persistence",
 | 
			
		||||
        "description": "Adapter to read and write objects using a CouchDB instance.",
 | 
			
		||||
        "extensions": {
 | 
			
		||||
            "components": [
 | 
			
		||||
                {
 | 
			
		||||
                    "provides": "persistenceService",
 | 
			
		||||
                    "type": "provider",
 | 
			
		||||
                    "implementation": "CouchPersistenceProvider.js",
 | 
			
		||||
                    "depends": [ "$http", "$q", "PERSISTENCE_SPACE", "COUCHDB_PATH" ]
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "constants": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "PERSISTENCE_SPACE",
 | 
			
		||||
                    "value": "mct"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "COUCHDB_PATH",
 | 
			
		||||
                    "value": "/couch/openmct"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "COUCHDB_INDICATOR_INTERVAL",
 | 
			
		||||
                    "value": 15000
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "indicators": [
 | 
			
		||||
                {
 | 
			
		||||
                    "implementation": "CouchIndicator.js",
 | 
			
		||||
                    "depends": [
 | 
			
		||||
                        "$http",
 | 
			
		||||
                        "$interval",
 | 
			
		||||
                        "COUCHDB_PATH",
 | 
			
		||||
                        "COUCHDB_INDICATOR_INTERVAL"
 | 
			
		||||
                    ]
 | 
			
		||||
                }
 | 
			
		||||
            ]
 | 
			
		||||
        }
 | 
			
		||||
    });
 | 
			
		||||
});
 | 
			
		||||
@@ -1,39 +0,0 @@
 | 
			
		||||
{
 | 
			
		||||
    "name": "Couch Persistence",
 | 
			
		||||
    "description": "Adapter to read and write objects using a CouchDB instance.",
 | 
			
		||||
    "extensions": {
 | 
			
		||||
        "components": [
 | 
			
		||||
            {
 | 
			
		||||
                "provides": "persistenceService",
 | 
			
		||||
                "type": "provider",
 | 
			
		||||
                "implementation": "CouchPersistenceProvider.js",
 | 
			
		||||
                "depends": [ "$http", "$q", "PERSISTENCE_SPACE", "COUCHDB_PATH" ]
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "constants": [
 | 
			
		||||
            {
 | 
			
		||||
                "key": "PERSISTENCE_SPACE",
 | 
			
		||||
                "value": "mct"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "COUCHDB_PATH",
 | 
			
		||||
                "value": "/couch/openmct"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "key": "COUCHDB_INDICATOR_INTERVAL",
 | 
			
		||||
                "value": 15000
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "indicators": [
 | 
			
		||||
            {
 | 
			
		||||
                "implementation": "CouchIndicator.js",
 | 
			
		||||
                "depends": [
 | 
			
		||||
                    "$http",
 | 
			
		||||
                    "$interval",
 | 
			
		||||
                    "COUCHDB_PATH",
 | 
			
		||||
                    "COUCHDB_INDICATOR_INTERVAL"
 | 
			
		||||
                ]
 | 
			
		||||
            }
 | 
			
		||||
        ]
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										78
									
								
								platform/persistence/elastic/bundle.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										78
									
								
								platform/persistence/elastic/bundle.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,78 @@
 | 
			
		||||
/*****************************************************************************
 | 
			
		||||
 * Open MCT Web, Copyright (c) 2014-2015, United States Government
 | 
			
		||||
 * as represented by the Administrator of the National Aeronautics and Space
 | 
			
		||||
 * Administration. All rights reserved.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web is licensed under the Apache License, Version 2.0 (the
 | 
			
		||||
 * "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.
 | 
			
		||||
 *
 | 
			
		||||
 * Open MCT Web includes source code licensed under additional open source
 | 
			
		||||
 * 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.
 | 
			
		||||
 *****************************************************************************/
 | 
			
		||||
/*global define*/
 | 
			
		||||
 | 
			
		||||
define(['legacyRegistry'], function (legacyRegistry) {
 | 
			
		||||
    "use strict";
 | 
			
		||||
    legacyRegistry.register("platform/persistence/elastic", {
 | 
			
		||||
        "name": "ElasticSearch Persistence",
 | 
			
		||||
        "description": "Adapter to read and write objects using an ElasticSearch instance.",
 | 
			
		||||
        "extensions": {
 | 
			
		||||
            "components": [
 | 
			
		||||
                {
 | 
			
		||||
                    "provides": "persistenceService",
 | 
			
		||||
                    "type": "provider",
 | 
			
		||||
                    "implementation": "ElasticPersistenceProvider.js",
 | 
			
		||||
                    "depends": [ "$http", "$q", "PERSISTENCE_SPACE", "ELASTIC_ROOT", "ELASTIC_PATH" ]
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "provides": "searchService",
 | 
			
		||||
                    "type": "provider",
 | 
			
		||||
                    "implementation": "ElasticSearchProvider.js",
 | 
			
		||||
                    "depends": [ "$http", "ELASTIC_ROOT" ]
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "constants": [
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "PERSISTENCE_SPACE",
 | 
			
		||||
                    "value": "mct"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "ELASTIC_ROOT",
 | 
			
		||||
                    "value": "http://localhost:9200",
 | 
			
		||||
                    "priority": "fallback"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "ELASTIC_PATH",
 | 
			
		||||
                    "value": "mct/domain_object",
 | 
			
		||||
                    "priority": "fallback"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "key": "ELASTIC_INDICATOR_INTERVAL",
 | 
			
		||||
                    "value": 15000,
 | 
			
		||||
                    "priority": "fallback"
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "indicators": [
 | 
			
		||||
                {
 | 
			
		||||
                    "implementation": "ElasticIndicator.js",
 | 
			
		||||
                    "depends": [
 | 
			
		||||
                        "$http",
 | 
			
		||||
                        "$interval",
 | 
			
		||||
                        "ELASTIC_ROOT",
 | 
			
		||||
                        "ELASTIC_INDICATOR_INTERVAL"
 | 
			
		||||
                    ]
 | 
			
		||||
                }
 | 
			
		||||
            ]
 | 
			
		||||
        }
 | 
			
		||||
    });
 | 
			
		||||
});
 | 
			
		||||
Some files were not shown because too many files have changed in this diff Show More
		Reference in New Issue
	
	Block a user