[Import/Export] Adds Import and Export functionality

Added context actions for importing and exporting JSON representations of domain objects. Added FileInputService for triggering file picker and retrieving uploaded data. Also added a File Input form control for integration with MCTForms.
This commit is contained in:
Preston Crowe
2017-07-11 14:45:26 -07:00
parent 586901aee7
commit 3674808a13
14 changed files with 1323 additions and 2 deletions

View File

@@ -26,14 +26,16 @@ define([
'../../example/generator/plugin',
'../../platform/features/autoflow/plugin',
'./timeConductor/plugin',
'../../example/imagery/plugin'
'../../example/imagery/plugin',
'../../platform/import-export/bundle'
], function (
_,
UTCTimeSystem,
GeneratorPlugin,
AutoflowPlugin,
TimeConductorPlugin,
ExampleImagery
ExampleImagery,
ImportExport
) {
var bundleMap = {
CouchDB: 'platform/persistence/couch',
@@ -54,6 +56,8 @@ define([
plugins.UTCTimeSystem = UTCTimeSystem;
plugins.ImportExport = ImportExport;
/**
* A tabular view showing the latest values of multiple telemetry points at
* once. Formatted so that labels and values are aligned.