Created
April 26, 2019 18:35
-
-
Save bishopb/d1a22208170ae23458802b0709651b45 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* | |
* App.js | |
* | |
* creates the Logi global variable | |
* starts loading the application's initial client side files | |
* kicks off the Angular bootstrap | |
* | |
* Table of Contents | |
* 1. Create the Logi global variable | |
* 2. Create an object containing paths to each file we need required | |
* 3. Create a list of files to require for initializing the app | |
* 4. Create a Shim object for the initial require (See requirejs documentation on Shims) | |
**/ | |
/** 1. Create the Logi Global Variable **/ | |
var Logi = Logi || {}; | |
// Angular directives will be placed in here | |
Logi.ngModules = {}; | |
// Defer bootstrapping | |
if( window.name.indexOf("NG_DEFER_BOOTSTRAP!") == -1){ | |
window.name = "NG_DEFER_BOOTSTRAP! " + window.name; | |
} | |
// Polyfill CustomEvent for IE | |
(function () { | |
if ( typeof window.CustomEvent === "function" ) return false; //If not IE | |
function CustomEvent ( event, params ) { | |
params = params || { bubbles: false, cancelable: false, detail: undefined }; | |
var evt = document.createEvent( 'CustomEvent' ); | |
evt.initCustomEvent( event, params.bubbles, params.cancelable, params.detail ); | |
return evt; | |
} | |
CustomEvent.prototype = window.Event.prototype; | |
window.CustomEvent = CustomEvent; | |
})(); | |
// Polyfill matches for IE | |
(function () { | |
if (!Element.prototype.matches) { | |
Element.prototype.matches = Element.prototype.msMatchesSelector; | |
} | |
})(); | |
/** 2. Create an object containing paths to each file we need required **/ | |
Logi._paths = { | |
jquery: "bower_components/jquery/dist/jquery.min", | |
jqueryui: "bower_components/jquery-ui/ui/minified/jquery-ui.min", | |
jquery_mousewheel: "bower_components/jquery-mousewheel/jquery.mousewheel.min", | |
jquery_simulate: "bower_components/jquery-simulate/jquery.simulate", | |
touch_punch: "bower_components/jquery-touch-punch/jquery.ui.touch-punch", | |
jquery_resize: "bower_components/jquery-resize/jquery.ba-resize.min", | |
i18next: "bower_components/i18next/i18next.amd.min", | |
angular: "bower_components/angular/angular.min", | |
angular_sanitize: "bower_components/angular-sanitize/angular-sanitize.min", | |
angular_i18next: "bower_components/ng-i18next/dist/ng-i18next.min", | |
angular_uuid: "bower_components/angular-uuid/uuid.min", | |
angular_animate: "bower_components/angular-animate/angular-animate.min", | |
angular_xeditable: "bower_components/angular-xeditable/dist/js/xeditable.min", | |
restangular: "bower_components/restangular/dist/restangular.min", | |
underscore: "bower_components/underscore/underscore-min", | |
promise: "bower_components/promise-polyfill/Promise.min", | |
observe_js: "bower_components/observe-js/src/observe", | |
jsonpath: "lib/jsonpath.min", | |
codemirror: "bower_components/codemirror/lib/codemirror", | |
ui_codemirror: "bower_components/angular-ui-codemirror/ui-codemirror", | |
codemirror_hint: "lib/codemirrorHint", | |
codemirror_show_hint: "bower_components/codemirror/addon/hint/show-hint", | |
codemirror_sql_hint: "bower_components/codemirror/addon/hint/sql-hint", | |
codemirror_sql_mode: "bower_components/codemirror/mode/sql/sql", | |
codemirror_placeholder: "bower_components/codemirror/addon/display/placeholder", | |
moment: "bower_components/moment/min/moment-with-locales.min", | |
ui_validate: "bower_components/angular-ui-validate/dist/validate.min", | |
ui_select: "bower_components/angular-ui-select/select", | |
ui_router: "bower_components/angular-ui-router/angular-ui-router.min", | |
blob: "bower_components/blob/Blob", | |
fileSaver: "bower_components/file-saver/FileSaver.min", | |
appTemplates: 'templates/appTemplates', | |
d3: "bower_components/d3/d3.min", | |
api: "api", | |
highcharts: "bower_components/highcharts/highcharts", | |
highcharts_standalone: "bower_components/highcharts/adapters/standalone-framework", | |
leaflet: "bower_components/leaflet/leaflet", | |
leafletCluster: "bower_components/leaflet/leaflet.markercluster", | |
highmaps: "bower_components/highcharts/modules/map", | |
/* visualization modules */ | |
visualizationMod: "widgets/visualizations/visualizationModule", | |
chartModule: "widgets/visualizations/charts/chartModule", | |
mapModule: "widgets/visualizations/maps/mapModule", | |
/*charts, maps */ | |
visualizationProvider: "widgets/visualizations/visualizationProvider", | |
visualBuilderAPI: "widgets/visualBuilderMod/visualBuilderAPI", | |
visualBuilderManager: "widgets/visualBuilderMod/visualBuilderManager", | |
visualBuilderSupporter : "widgets/visualBuilderMod/visualBuilderSupporter", | |
visualBuilderStateManagement: "widgets/visualBuilderMod/visualBuilderStateManagement", | |
vizUtils : "widgets/visualizations/services/vizUtils", | |
vizSelectionSvc : "widgets/visualizations/services/vizSelectionSvc", | |
vizDrillThroughSvc : "widgets/visualizations/services/vizDrillThroughSvc", | |
vizCtSvc : "widgets/visualizations/services/vizCtSvc", | |
vizStateService : "widgets/visualizations/services/vizStateService", | |
vizDataService : "widgets/visualizations/services/vizDataService", | |
vizZoomDataService : "widgets/visualizations/services/vizZoomDataService", | |
dsZoomPanDenseStrategy: "widgets/visualizations/services/dsZoomPan/dsZoomPanDenseStrategy", | |
denseTransformDataSvc : "widgets/visualizations/services/dsZoomPan/denseTransformDataSvc", | |
vizLocalDataService : "widgets/visualizations/services/vizLocalDataService", | |
vizPlatformDataService : "widgets/visualizations/services/vizPlatformDataService", | |
vizMultiDataViewService : "widgets/visualizations/services/vizMultiDataViewService", | |
visualizationUtil: "widgets/visualizations/visualizationUtil", | |
visualizationAPI: "widgets/visualizations/visualizationAPI", | |
visualizationSelector: "widgets/visualizations/visualizationSelector", | |
visualizationController : "widgets/visualizations/visualizationController", | |
visualizationDirective : "widgets/visualizations/visualizationDirective", | |
chartConfig : "widgets/visualizations/charts/chartConfig", | |
chartErrorMessage : "widgets/visualizations/charts/chartErrorMessage", | |
mapConfig: "widgets/visualizations/maps/mapConfig", | |
platformBrush: "widgets/visualizations/charts/commons/platformBrush", | |
selectionBrush: "widgets/visualizations/charts/commons/selectionBrush", | |
platformTooltip: "widgets/visualizations/charts/commons/platformTooltip", | |
platformTimelineD3: "widgets/visualizations/components/timeline/platformTimelineD3", | |
svgUtil : "widgets/visualizations/charts/logiCharts/d3/svgUtil", | |
svgSymbolSvc : "widgets/visualizations/charts/logiCharts/d3/svgSymbolSvc", | |
chartService : "widgets/visualizations/charts/chartService", | |
chartConfigSvc : "widgets/visualizations/charts/chartConfigSvc", | |
baseAxis : "widgets/visualizations/charts/logiCharts/d3/axes/baseAxis", | |
ordinalAxis : "widgets/visualizations/charts/logiCharts/d3/axes/ordinalAxis", | |
timeAxis : "widgets/visualizations/charts/logiCharts/d3/axes/timeAxis", | |
prettyAxis : "widgets/visualizations/charts/logiCharts/d3/axes/prettyAxis", | |
numericAxis: "widgets/visualizations/charts/logiCharts/d3/axes/numericAxis", | |
linearAxis : "widgets/visualizations/charts/logiCharts/d3/axes/linearAxis", | |
logarithmicAxis : "widgets/visualizations/charts/logiCharts/d3/axes/logarithmicAxis", | |
axisService : "widgets/visualizations/charts/logiCharts/d3/axes/axisService", | |
zoomBarCtrl : "widgets/visualizations/components/zoom-bar/zoomBarCtrl", | |
zoomBarDir : "widgets/visualizations/components/zoom-bar/zoomBarDir", | |
timelineCtrl : "widgets/visualizations/components/timeline/timelineCtrl", | |
timelineDir : "widgets/visualizations/components/timeline/timelineDir", | |
intensityD3Size : "widgets/visualizations/components/intensity-slider/intensityD3Size", | |
intensityD3Color : "widgets/visualizations/components/intensity-slider/intensityD3Color", | |
intensitySliderCtrl : "widgets/visualizations/components/intensity-slider/intensitySliderCtrl", | |
intensitySliderDir : "widgets/visualizations/components/intensity-slider/intensitySliderDir", | |
areaScatter: "widgets/visualizations/charts/logiCharts/d3/area/AreaScatter", | |
interactiveGuideline: "widgets/visualizations/charts/logiCharts/d3/area/InteractiveGuideline", | |
multiArea: "widgets/visualizations/charts/logiCharts/d3/area/MultiArea", | |
multiAreaChart: "widgets/visualizations/charts/logiCharts/d3/area/MultiAreaChart", | |
verticalColorLegend: "widgets/visualizations/charts/commons/verticalColorLegend", | |
logiScatter: "widgets/visualizations/charts/logiCharts/d3/scatter/logiScatter", | |
logiHeatmap: "widgets/visualizations/charts/logiCharts/d3/scatter/logiHeatmap", | |
logiHeatmapChart: "widgets/visualizations/charts/logiCharts/d3/scatter/logiHeatmapChart", | |
logiChartLayout : "widgets/visualizations/charts/logiCharts/d3/logiChartLayout", | |
logiChart : "widgets/visualizations/charts/logiCharts/d3/logiChart", | |
// column profile | |
columnProfileChart: "widgets/visualizations/charts/logiCharts/ng/columnProfile/columnProfileChart", | |
columnProfileController: "widgets/visualizations/charts/logiCharts/ng/columnProfile/columnProfileController", | |
columnProfileDirective: "widgets/visualizations/charts/logiCharts/ng/columnProfile/columnProfileDirective", | |
platformColumnProfileController: "widgets/visualizations/charts/logiCharts/ng/columnProfile/platformColumnProfileController", | |
platformColumnProfileDirective: "widgets/visualizations/charts/logiCharts/ng/columnProfile/platformColumnProfileDirective", | |
//dial gauge chart | |
dialGauge: "widgets/visualizations/charts/logiCharts/d3/gauge/dialGauge", | |
dialGaugeBand: "widgets/visualizations/charts/logiCharts/d3/gauge/dialGaugeBand", | |
dialGaugeChart: "widgets/visualizations/charts/logiCharts/d3/chartType/dialGaugeChart", | |
// arc gauge chart | |
arcGauge: "widgets/visualizations/charts/logiCharts/d3/gauge/arcGauge", | |
arcGaugeBand: "widgets/visualizations/charts/logiCharts/d3/gauge/arcGaugeBand", | |
arcGaugeChart: "widgets/visualizations/charts/logiCharts/d3/chartType/arcGaugeChart", | |
//bullet gauge chart | |
bulletGaugeChart: "widgets/visualizations/charts/logiCharts/d3/chartType/bulletGaugeChart", | |
kpiGaugeChartFactory: "widgets/visualizations/charts/logiCharts/ng/kpiGauge/kpiGaugeChartFactory", | |
kpiGaugeCtrl: "widgets/visualizations/charts/logiCharts/ng/kpiGauge/kpiGaugeCtrl", | |
logiKpiGaugeChart: "widgets/visualizations/charts/logiCharts/ng/kpiGauge/kpiGaugeDir", | |
//calendar chart | |
//table chart | |
tableController: "widgets/visualizations/charts/logiCharts/ng/table/tableController", | |
tableDirective: "widgets/visualizations/charts/logiCharts/ng/table/tableDirective", | |
tableChart: "widgets/visualizations/charts/logiCharts/ng/table/tableChart", | |
//main charts | |
chartSvc: "widgets/visualizations/charts/logiCharts/ng/chart/chartSvc", | |
chartDir: "widgets/visualizations/charts/logiCharts/ng/chart/chartDir", | |
chartCtrl: "widgets/visualizations/charts/logiCharts/ng/chart/chartCtrl", | |
//crosstab table chart | |
crosstabTableController: "widgets/visualizations/charts/logiCharts/ng/table/crosstabTableController", | |
crosstabTableDirective: "widgets/visualizations/charts/logiCharts/ng/table/crosstabTableDirective", | |
crosstabTableChart: "widgets/visualizations/charts/logiCharts/ng/table/crosstabTableChart", | |
//pie chart | |
logiPie: "widgets/visualizations/charts/logiCharts/d3/pie/LogiPie", | |
textInterpolator: "widgets/visualizations/charts/commons/TextInterpolator", | |
logiPieChart: "widgets/visualizations/charts/logiCharts/d3/chartType/LogiPieChart", | |
logiPieChartService: "widgets/visualizations/charts/logiCharts/d3/logiPieChartService", | |
singleYear:"widgets/visualizations/charts/logiCharts/d3/calendar/SingleYear", | |
horizontalColorLegend:"widgets/visualizations/charts/commons/HorizontalColorLegend", | |
calendarYearlyChart:"widgets/visualizations/charts/logiCharts/d3/chartType/CalendarYearlyChart", | |
calendarChartService:"widgets/visualizations/charts/logiCharts/d3/calendarChartService", | |
calendarController:"widgets/visualizations/charts/logiCharts/ng/calendar/calendarController", | |
calendarDirective:"widgets/visualizations/charts/logiCharts/ng/calendar/calendarDirective", | |
calendarChart:"widgets/visualizations/charts/logiCharts/ng/calendar/calendarChart", | |
scrollBar:"widgets/visualizations/charts/commons/ScrollBar", | |
offlineExporterFactory:"widgets/visualizations/charts/commons/offlineExporterFactory", | |
lineChart: "widgets/visualizations/charts/logiCharts/d3/chartType/lineChart", | |
bar: "widgets/visualizations/charts/logiCharts/d3/chartType/bar", | |
baseType: "widgets/visualizations/charts/logiCharts/d3/chartType/baseType", | |
area: "widgets/visualizations/charts/logiCharts/d3/chartType/areaChart", | |
scatterChart: "widgets/visualizations/charts/logiCharts/d3/chartType/scatterChart", | |
baseChart: "widgets/visualizations/charts/logiCharts/d3/baseChart", | |
baseLegend: "widgets/visualizations/charts/logiCharts/d3/legend/baseLegend", | |
svgLegend: "widgets/visualizations/charts/logiCharts/d3/legend/svgLegend", | |
htmlLegend: "widgets/visualizations/charts/logiCharts/d3/legend/htmlLegend", | |
legend: "widgets/visualizations/charts/logiCharts/d3/legend", | |
label: "widgets/visualizations/charts/logiCharts/d3/label", | |
highChartClass: "widgets/visualizations/charts/highCharts/services/cssClass", | |
cssBase: "widgets/visualizations/charts/commons/styling/cssBase", | |
logiChartController: "widgets/visualizations/charts/logiCharts/logiChartController", | |
logiChartDirective: "widgets/visualizations/charts/logiCharts/logiChartDirective", | |
logiChartService: "widgets/visualizations/charts/logiCharts/logiChartService", | |
d3ChartService: "widgets/visualizations/charts/logiCharts/d3/d3ChartService", | |
dialGaugeChartService: "widgets/visualizations/charts/logiCharts/d3/dialGaugeChartService", | |
arcGaugeChartService: "widgets/visualizations/charts/logiCharts/d3/arcGaugeChartService", | |
bulletGaugeChartService: "widgets/visualizations/charts/logiCharts/d3/bulletGaugeChartService", | |
highChartController: "widgets/visualizations/charts/highCharts/highChartController", | |
highChartDirective: "widgets/visualizations/charts/highCharts/highChartDirective", | |
highChartService: "widgets/visualizations/charts/highCharts/highChartService", | |
columnProfileSvc: "widgets/visualizations/charts/highCharts/services/columnProfileSvc", | |
highChartRenderer: "widgets/visualizations/charts/highCharts/highchartRenderer", | |
highChartStateManagement: "widgets/visualizations/charts/highCharts/highChartStateManagement", | |
highChartDataManagement: "widgets/visualizations/charts/highCharts/highChartDataManagement", | |
highmapRenderer: 'widgets/visualizations/maps/geoHighmap/highmapRenderer', | |
leafletRenderer: 'widgets/visualizations/maps/geoMapLeaflet/leafletRenderer', | |
logiMapController: "widgets/visualizations/maps/logiMapController", | |
logiMapDirective: "widgets/visualizations/maps/logiMapDirective", | |
mapService: "widgets/visualizations/maps/mapService", | |
geoMapLeafletController: "widgets/visualizations/maps/geoMapLeaflet/geoMapLeafletController", | |
geoMapLeafletDirective: "widgets/visualizations/maps/geoMapLeaflet/geoMapLeafletDirective", | |
geoMapLeafletService: "widgets/visualizations/maps/geoMapLeaflet/geoMapLeafletService", | |
geoHighmapController: "widgets/visualizations/maps/geoHighmap/geoHighmapController", | |
geoHighmapDirective: "widgets/visualizations/maps/geoHighmap/geoHighmapDirective", | |
geoHighmapService: "widgets/visualizations/maps/geoHighmap/geoHighmapService", | |
"appMod": 'appRoot/appMod/appMod', | |
"appProviderConfig": "appRoot/appMod/appProviderConfig", | |
"appDataProv": "appRoot/appMod/appDataProv", | |
"effectivePermissionsService": "appRoot/appMod/effectivePermissionsService", | |
"appDataFormatProv": "appRoot/appMod/appDataFormatProv", | |
"appConfigProv": "appRoot/appMod/appConfigProv", | |
"appConstants": "appRoot/appMod/appConstants", | |
"appDataTypeSvc": "appRoot/appMod/appDataTypeSvc", | |
"appFilterSvc": "appRoot/appMod/appFilterSvc", | |
"appApiDir": "appRoot/appMod/appApiDir", | |
"appApiCtrl": "appRoot/appMod/appApiCtrl", | |
"DataViewModel": 'appRoot/appMod/models/dataViewProv', | |
"activeDirective": "appRoot/appMod/activeDirectiveSvc", | |
"appWidgetApiFactory": "appRoot/appMod/appWidgetApiFactory", | |
"appChannelManagerSvc": "appRoot/appMod/appChannelManagerSvc", | |
"uisortable": "lib/sortable", | |
"analysisTblMod": "widgets/analysisTblMod/analysisTblMod", | |
"analysisTblDir": "widgets/analysisTblMod/analysisTblDir", | |
"analysisTblCtrl": "widgets/analysisTblMod/analysisTblCtrl", | |
"analysisTblConfig": "widgets/analysisTblMod/analysisTblConfig", | |
"analysisTblTransformSvc": "widgets/analysisTblMod/analysisTblTransformSvc", | |
"analysisTblRenderFactory": "widgets/analysisTblMod/analysisTblRenderFactory", | |
"analysisTblScrollerFactory": "widgets/analysisTblMod/analysisTblScrollerFactory", | |
"analysisTblRawDataManagerFactory": "widgets/analysisTblMod/analysisTblRawDataManagerFactory", | |
"analysisTblAPI": "widgets/analysisTblMod/analysisTblAPI", | |
"crosstabTableMod": "widgets/crosstabTableMod/crosstabTableMod", | |
"crosstabTableDir": "widgets/crosstabTableMod/crosstabTableDir", | |
"crosstabTableCtrl": "widgets/crosstabTableMod/crosstabTableCtrl", | |
"crosstabTableConfig": "widgets/crosstabTableMod/crosstabTableConfig", | |
"crosstabTableAPI": "widgets/crosstabTableMod/crosstabTableAPI", | |
"crosstabTableRenderFactory": "widgets/crosstabTableMod/crosstabTableRenderFactory", | |
"crosstabBuilderMod": "widgets/crosstabBuilderMod/crosstabBuilderMod", | |
"crosstabBuilderDir": "widgets/crosstabBuilderMod/crosstabBuilderDir", | |
"crosstabBuilderCtrl": "widgets/crosstabBuilderMod/crosstabBuilderCtrl", | |
"crosstabBuilderConfig": "widgets/crosstabBuilderMod/crosstabBuilderConfig", | |
"crosstabBuilderAPI": "widgets/crosstabBuilderMod/crosstabBuilderAPI", | |
"filterBuilderMod": "widgets/filterBuilderMod/filterBuilderMod", | |
"filterBuilderDir": "widgets/filterBuilderMod/filterBuilderDir", | |
"filterBuilderCtrl": "widgets/filterBuilderMod/filterBuilderCtrl", | |
"filterBuilderConfig": "widgets/filterBuilderMod/filterBuilderConfig", | |
"filterBuilderAPI": "widgets/filterBuilderMod/filterBuilderAPI", | |
"filterBuilderSvc": "widgets/filterBuilderMod/filterBuilderSvc", | |
"filterPreviewMod": "widgets/filterPreviewMod/filterPreviewMod", | |
"filterPreviewDir": "widgets/filterPreviewMod/filterPreviewDir", | |
"filterPreviewCtrl": "widgets/filterPreviewMod/filterPreviewCtrl", | |
"legendMod": "widgets/visualizations/components/legendMod/legendMod", | |
"legendDir": "widgets/visualizations/components/legendMod/legendDir", | |
"legendCtrl": "widgets/visualizations/components/legendMod/legendCtrl", | |
"legendConfig": "widgets/visualizations/components/legendMod/legendConfig", | |
"legendAPI": "widgets/visualizations/components/legendMod/legendAPI", | |
"legendSymbolDir": "widgets/visualizations/components/legendMod/legendSymbolDir", | |
"arcPopupMenuMod": "widgets/arcPopupMenuMod/arcPopupMenuMod", | |
"arcPopupMenuDir": "widgets/arcPopupMenuMod/arcPopupMenuDir", | |
"arcPopupMenuCtrl": "widgets/arcPopupMenuMod/arcPopupMenuCtrl", | |
"arcPopupMenuConfig": "widgets/arcPopupMenuMod/arcPopupMenuConfig", | |
"arcPopupMenuAPI": "widgets/arcPopupMenuMod/arcPopupMenuAPI", | |
"scrollPaginationDir": "widgets/visualizations/components/scrollPaginationMod/scrollPaginationDir", | |
"scrollPaginationCtrl": "widgets/visualizations/components/scrollPaginationMod/scrollPaginationCtrl", | |
"scrollPaginationConfig": "widgets/visualizations/components/scrollPaginationMod/scrollPaginationConfig", | |
"scrollPaginationService": "widgets/visualizations/components/scrollPaginationMod/scrollPaginationService", | |
"crosstabVisualizationMod": "widgets/visualizations/crosstabVisualizationMod/crosstabVisualizationMod", | |
"crosstabVisualizationDir": "widgets/visualizations/crosstabVisualizationMod/crosstabVisualizationDir", | |
"crosstabVisualizationCtrl": "widgets/visualizations/crosstabVisualizationMod/crosstabVisualizationCtrl", | |
"crosstabVisualizationConfig": "widgets/visualizations/crosstabVisualizationMod/crosstabVisualizationConfig", | |
"crosstabVisualizationAPI": "widgets/visualizations/crosstabVisualizationMod/crosstabVisualizationAPI", | |
"calculatedColumnMod": "widgets/columnControls/calculatedColumnMod/calculatedColumnMod", | |
"calculatedColumnDir": "widgets/columnControls/calculatedColumnMod/calculatedColumnDir", | |
"calculatedColumnCtrl": "widgets/columnControls/calculatedColumnMod/calculatedColumnCtrl", | |
"calculatedColumnConfig": "widgets/columnControls/calculatedColumnMod/calculatedColumnConfig", | |
"calculatedColumnAPI": "widgets/columnControls/calculatedColumnMod/calculatedColumnAPI", | |
"logiFunctionsVal" : "widgets/columnControls/calculatedColumnMod/logiFunctionsVal", | |
"formulaValidatorDir": "widgets/columnControls/calculatedColumnMod/formulaValidatorDir", | |
"formulaParser": "widgets/columnControls/calculatedColumnMod/parser/columnCalculationParser", | |
"binningColumnMod": "widgets/columnControls/binningColumnMod/binningColumnMod", | |
"binningColumnDir": "widgets/columnControls/binningColumnMod/binningColumnDir", | |
"binningColumnCtrl": "widgets/columnControls/binningColumnMod/binningColumnCtrl", | |
"binningColumnConfig": "widgets/columnControls/binningColumnMod/binningColumnConfig", | |
"binningColumnAPI": "widgets/columnControls/binningColumnMod/binningColumnAPI", | |
"filterColumnMod": "widgets/columnControls/filterColumnMod/filterColumnMod", | |
"filterColumnDir": "widgets/columnControls/filterColumnMod/filterColumnDir", | |
"filterColumnCtrl": "widgets/columnControls/filterColumnMod/filterColumnCtrl", | |
"filterColumnConfig": "widgets/columnControls/filterColumnMod/filterColumnConfig", | |
"filterColumnAPI": "widgets/columnControls/filterColumnMod/filterColumnAPI", | |
"vizSettingsColumnMod": "widgets/columnControls/vizSettingsColumnMod/vizSettingsColumnMod", | |
"vizSettingsColumnDir": "widgets/columnControls/vizSettingsColumnMod/vizSettingsColumnDir", | |
"vizSettingsColumnCtrl": "widgets/columnControls/vizSettingsColumnMod/vizSettingsColumnCtrl", | |
"vizSettingsColumnConfig": "widgets/columnControls/vizSettingsColumnMod/vizSettingsColumnConfig", | |
"vizSettingsColumnAPI": "widgets/columnControls/vizSettingsColumnMod/vizSettingsColumnAPI", | |
"inCellColumnMod": "widgets/columnControls/inCellColumnMod/inCellColumnMod", | |
"inCellColumnDir": "widgets/columnControls/inCellColumnMod/inCellColumnDir", | |
"inCellColumnCtrl": "widgets/columnControls/inCellColumnMod/inCellColumnCtrl", | |
"inCellColumnConfig": "widgets/columnControls/inCellColumnMod/inCellColumnConfig", | |
"inCellColumnAPI": "widgets/columnControls/inCellColumnMod/inCellColumnAPI", | |
"colorFilterColumnMod": "widgets/columnControls/colorFilterColumnMod/colorFilterColumnMod", | |
"colorFilterColumnDir": "widgets/columnControls/colorFilterColumnMod/colorFilterColumnDir", | |
"colorFilterColumnCtrl": "widgets/columnControls/colorFilterColumnMod/colorFilterColumnCtrl", | |
"colorFilterColumnConfig": "widgets/columnControls/colorFilterColumnMod/colorFilterColumnConfig", | |
"colorFilterColumnAPI": "widgets/columnControls/colorFilterColumnMod/colorFilterColumnAPI", | |
"marksColumnMod": "widgets/columnControls/marksColumnMod/marksColumnMod", | |
"marksColumnDir": "widgets/columnControls/marksColumnMod/marksColumnDir", | |
"marksColumnCtrl": "widgets/columnControls/marksColumnMod/marksColumnCtrl", | |
"marksColumnConfig": "widgets/columnControls/marksColumnMod/marksColumnConfig", | |
"marksColumnAPI": "widgets/columnControls/marksColumnMod/marksColumnAPI", | |
"dialSettingsMod": "widgets/visualizations/visualizationControls/dialSettingsMod/dialSettingsMod", | |
"dialSettingsDir": "widgets/visualizations/visualizationControls/dialSettingsMod/dialSettingsDir", | |
"dialSettingsCtrl": "widgets/visualizations/visualizationControls/dialSettingsMod/dialSettingsCtrl", | |
"dialSettingsConfig": "widgets/visualizations/visualizationControls/dialSettingsMod/dialSettingsConfig", | |
"dialSettingsAPI": "widgets/visualizations/visualizationControls/dialSettingsMod/dialSettingsAPI", | |
"arcSettingsMod": "widgets/visualizations/visualizationControls/arcSettingsMod/arcSettingsMod", | |
"arcSettingsDir": "widgets/visualizations/visualizationControls/arcSettingsMod/arcSettingsDir", | |
"arcSettingsCtrl": "widgets/visualizations/visualizationControls/arcSettingsMod/arcSettingsCtrl", | |
"arcSettingsConfig": "widgets/visualizations/visualizationControls/arcSettingsMod/arcSettingsConfig", | |
"arcSettingsAPI": "widgets/visualizations/visualizationControls/arcSettingsMod/arcSettingsAPI", | |
"bulletSettingsMod": "widgets/visualizations/visualizationControls/bulletSettingsMod/bulletSettingsMod", | |
"bulletSettingsDir": "widgets/visualizations/visualizationControls/bulletSettingsMod/bulletSettingsDir", | |
"bulletSettingsCtrl": "widgets/visualizations/visualizationControls/bulletSettingsMod/bulletSettingsCtrl", | |
"bulletSettingsConfig": "widgets/visualizations/visualizationControls/bulletSettingsMod/bulletSettingsConfig", | |
"bulletSettingsAPI": "widgets/visualizations/visualizationControls/bulletSettingsMod/bulletSettingsAPI", | |
"kpiSettingsMod": "widgets/visualizations/visualizationControls/kpiSettingsMod/kpiSettingsMod", | |
"kpiSettingsDir": "widgets/visualizations/visualizationControls/kpiSettingsMod/kpiSettingsDir", | |
"kpiSettingsCtrl": "widgets/visualizations/visualizationControls/kpiSettingsMod/kpiSettingsCtrl", | |
"kpiSettingsConfig": "widgets/visualizations/visualizationControls/kpiSettingsMod/kpiSettingsConfig", | |
"kpiSettingsAPI": "widgets/visualizations/visualizationControls/kpiSettingsMod/kpiSettingsAPI", | |
"menuColumnMod": "widgets/columnControls/menuColumnMod/menuColumnMod", | |
"menuColumnDir": "widgets/columnControls/menuColumnMod/menuColumnDir", | |
"menuColumnCtrl": "widgets/columnControls/menuColumnMod/menuColumnCtrl", | |
"menuColumnConfig": "widgets/columnControls/menuColumnMod/menuColumnConfig", | |
"menuColumnAPI": "widgets/columnControls/menuColumnMod/menuColumnAPI", | |
"legendSettingsMod": "widgets/visualizations/visualizationControls/legendSettingsMod/legendSettingsMod", | |
"legendSettingsDir": "widgets/visualizations/visualizationControls/legendSettingsMod/legendSettingsDir", | |
"legendSettingsCtrl": "widgets/visualizations/visualizationControls/legendSettingsMod/legendSettingsCtrl", | |
"legendSettingsConfig": "widgets/visualizations/visualizationControls/legendSettingsMod/legendSettingsConfig", | |
"legendSettingsAPI": "widgets/visualizations/visualizationControls/legendSettingsMod/legendSettingsAPI", | |
"menuVisualizationMod": "widgets/visualizations/visualizationControls/menuVisualizationMod/menuVisualizationMod", | |
"menuVisualizationDir": "widgets/visualizations/visualizationControls/menuVisualizationMod/menuVisualizationDir", | |
"menuVisualizationCtrl": "widgets/visualizations/visualizationControls/menuVisualizationMod/menuVisualizationCtrl", | |
"menuVisualizationConfig": "widgets/visualizations/visualizationControls/menuVisualizationMod/menuVisualizationConfig", | |
"menuVisualizationAPI": "widgets/visualizations/visualizationControls/menuVisualizationMod/menuVisualizationAPI", | |
"drillToMod": "widgets/visualizations/visualizationControls/drillToMod/drillToMod", | |
"drillToDir": "widgets/visualizations/visualizationControls/drillToMod/drillToDir", | |
"drillToCtrl": "widgets/visualizations/visualizationControls/drillToMod/drillToCtrl", | |
"drillToConfig": "widgets/visualizations/visualizationControls/drillToMod/drillToConfig", | |
"drillToAPI": "widgets/visualizations/visualizationControls/drillToMod/drillToAPI", | |
"formatColumnMod": "widgets/columnControls/formatColumnMod/formatColumnMod", | |
"formatColumnDir": "widgets/columnControls/formatColumnMod/formatColumnDir", | |
"formatColumnCtrl": "widgets/columnControls/formatColumnMod/formatColumnCtrl", | |
"formatColumnConfig": "widgets/columnControls/formatColumnMod/formatColumnConfig", | |
"formatColumnAPI": "widgets/columnControls/formatColumnMod/formatColumnAPI", | |
"errorOverlayMod": "widgets/widgetSupport/errorOverlayMod/errorOverlayMod", | |
"errorOverlayDir": "widgets/widgetSupport/errorOverlayMod/errorOverlayDir", | |
"errorOverlayCtrl": "widgets/widgetSupport/errorOverlayMod/errorOverlayCtrl", | |
"errorOverlayConfig": "widgets/widgetSupport/errorOverlayMod/errorOverlayConfig", | |
"errorOverlayAPI": "widgets/widgetSupport/errorOverlayMod/errorOverlayAPI", | |
"loadOverlayMod": "widgets/widgetSupport/loadOverlayMod/loadOverlayMod", | |
"loadOverlayDir": "widgets/widgetSupport/loadOverlayMod/loadOverlayDir", | |
"loadOverlayCtrl": "widgets/widgetSupport/loadOverlayMod/loadOverlayCtrl", | |
"loadOverlayConfig": "widgets/widgetSupport/loadOverlayMod/loadOverlayConfig", | |
"loadOverlayAPI": "widgets/widgetSupport/loadOverlayMod/loadOverlayAPI", | |
"filterListMod": "widgets/filterListMod/filterListMod", | |
"filterListDir": "widgets/filterListMod/filterListDir", | |
"filterListCtrl": "widgets/filterListMod/filterListCtrl", | |
"filterListConfig": "widgets/filterListMod/filterListConfig", | |
"filterListAPI": "widgets/filterListMod/filterListAPI", | |
"pillMod": "widgets/pillMod/pillMod", | |
"pillCtrl": "widgets/pillMod/pillCtrl", | |
"pillDir": "widgets/pillMod/pillDir", | |
"pillConfig": "widgets/pillMod/pillConfig", | |
"pillConfigSvc": "widgets/pillMod/pillConfigSvc", | |
"pillAPI": "widgets/pillMod/pillAPI", | |
"listMenuMod": "widgets/listMenuMod/listMenuMod", | |
"listMenuCtrl": "widgets/listMenuMod/listMenuCtrl", | |
"listMenuDir": "widgets/listMenuMod/listMenuDir", | |
"listMenuConfig": "widgets/listMenuMod/listMenuConfig", | |
"listMenuAPI": "widgets/listMenuMod/listMenuAPI", | |
"helpOverlayMod": "widgets/thinkSpaceMod/helpOverlayMod/helpOverlayMod", | |
"helpOverlayCtrl": "widgets/thinkSpaceMod/helpOverlayMod/helpOverlayCtrl", | |
"helpOverlayDir": "widgets/thinkSpaceMod/helpOverlayMod/helpOverlayDir", | |
"helpOverlayConfig": "widgets/thinkSpaceMod/helpOverlayMod/helpOverlayConfig", | |
"helpOverlayAPI": "widgets/thinkSpaceMod/helpOverlayMod/helpOverlayAPI", | |
"renderZoneMod": "widgets/visualBuilderMod/renderZoneMod/renderZoneMod", | |
"renderZoneCtrl": "widgets/visualBuilderMod/renderZoneMod/renderZoneCtrl", | |
"renderZoneDir": "widgets/visualBuilderMod/renderZoneMod/renderZoneDir", | |
"renderZoneConfig": "widgets/visualBuilderMod/renderZoneMod/renderZoneConfig", | |
"renderZoneSupporter" : "widgets/visualBuilderMod/renderZoneMod/renderZoneSupporter", | |
"operationService" : "widgets/visualBuilderMod/renderZoneMod/operationService", | |
"configGenerationFactory" : "widgets/visualBuilderMod/renderZoneMod/configGenerationFactory", | |
"binningRules" : "widgets/visualBuilderMod/renderZoneMod/binningRules", | |
"authHelperMod": "helpers/authHelper/authHelperMod", | |
"authHelperInterceptorFactory": "helpers/authHelper/authHelperInterceptorFactory", | |
"loginMod": "widgets/loginMod/loginMod", | |
"loginDir": "widgets/loginMod/loginDir", | |
"loginCtl": "widgets/loginMod/loginCtl", | |
"loadingMod": "widgets/widgetSupport/loadingMod/loadingMod", | |
"loadingDir": "widgets/widgetSupport/loadingMod/loadingDir", | |
"loadingCtrl": "widgets/widgetSupport/loadingMod/loadingCtrl", | |
"truncateMod": "helpers/truncateMod/truncateMod", | |
"truncateFilter": "helpers/truncateMod/truncateFilter", | |
"vizRecommendationMod": "helpers/vizRecommendationMod/vizRecommendationMod", | |
"vizRecommendationSvc": "helpers/vizRecommendationMod/vizRecommendationSvc", | |
"recommendationEngineMod": "helpers/recommendationEngine/recommendationEngineMod", | |
"recommendationEngineSvc": "helpers/recommendationEngine/recommendationEngineSvc", | |
"recommendationEngineRules": "helpers/recommendationEngine/recommendationEngineRules", | |
"combinationGroup": "helpers/recommendationEngine/combinationGroup", | |
"combinationGroupLimit": "helpers/recommendationEngine/combinationGroupLimit", | |
"uniqueScore": "helpers/recommendationEngine/uniqueScore", | |
"dsHelperMod": "helpers/dsHelper/dsHelperMod", | |
"dsHelperSvc": "helpers/dsHelper/dsHelperSvc", | |
"logiFontFitMod": "helpers/fontHelper/logiFontFitMod", | |
"logiFontFitConfig": "helpers/fontHelper/logiFontFitConfig", | |
"logiFontFitDir": "helpers/fontHelper/logiFontFitDir", | |
"bestFitVizMod": "widgets/bestFitVizMod/bestFitVizMod", | |
"bestFitVizDir": "widgets/bestFitVizMod/bestFitVizDir", | |
"bestFitVizConfig": "widgets/bestFitVizMod/bestFitVizConfig", | |
"bestFitVizCtrl": "widgets/bestFitVizMod/bestFitVizCtrl", | |
"bestFitVizTransformSvc": "widgets/bestFitVizMod/bestFitVizTransformSvc", | |
"bestFitVizListSvc": "widgets/bestFitVizMod/bestFitVizListSvc", | |
"bestFitVizRuleSvc": "widgets/bestFitVizMod/bestFitVizRuleSvc", | |
"dialogMod": "widgets/dialogMod/dialogMod", | |
"dialogDir": "widgets/dialogMod/dialogDir", | |
"dialogCtrl": "widgets/dialogMod/dialogCtrl", | |
"dialogConfig": "widgets/dialogMod/dialogConfig", | |
"dialogAPI": "widgets/dialogMod/dialogAPI", | |
"overlayMod": "widgets/overlayMod/overlayMod", | |
"overlayConfig": "widgets/overlayMod/overlayConfig", | |
"overlayDir": "widgets/overlayMod/overlayDir", | |
"overlayCtrl": "widgets/overlayMod/overlayCtrl", | |
"connectorMod": "widgets/connectorMod/connectorMod", | |
"connectorDir": "widgets/connectorMod/connectorDir", | |
"connectorUtilSvc": "widgets/connectorMod/connectorUtilSvc", | |
"connectorScopeMod": "widgets/connectorScopeMod/connectorScopeMod", | |
"connectorScopeDir": "widgets/connectorScopeMod/connectorScopeDir", | |
"connectorScopeConfig": "widgets/connectorScopeMod/connectorScopeConfig", | |
"connectorScopeAPI" : "widgets/connectorScopeMod/connectorScopeAPI", | |
"dropScopeMod": "widgets/dropScopeMod/dropScopeMod", | |
"dropScopeDir": "widgets/dropScopeMod/dropScopeDir", | |
"dropScopeConfig": "widgets/dropScopeMod/dropScopeConfig", | |
"dropScopeAPI" : "widgets/dropScopeMod/dropScopeAPI", | |
"dropMod": "widgets/dropMod/dropMod", | |
"dropDir": "widgets/dropMod/dropDir", | |
"dropConfig": "widgets/dropMod/dropConfig", | |
"dropAPI" : "widgets/dropMod/dropAPI", | |
"dropArrowMod": "widgets/dropArrowMod/dropArrowMod", | |
"dropArrowDir": "widgets/dropArrowMod/dropArrowDir", | |
"dropArrowConfig": "widgets/dropArrowMod/dropArrowConfig", | |
"dropArrowAPI" : "widgets/dropArrowMod/dropArrowAPI", | |
"dropZoneColumnMod": "widgets/dropZoneColumnMod/dropZoneColumnMod", | |
"dropZoneColumnDir": "widgets/dropZoneColumnMod/dropZoneColumnDir", | |
"dropZoneColumnConfig": "widgets/dropZoneColumnMod/dropZoneColumnConfig", | |
"dropZoneColumnCtrl": "widgets/dropZoneColumnMod/dropZoneColumnCtrl", | |
"dropZoneColumnAPI" : "widgets/dropZoneColumnMod/dropZoneColumnAPI", | |
"activeHeaderMod": "widgets/activeHeaderMod/activeHeaderMod", | |
"activeHeaderDir": "widgets/activeHeaderMod/activeHeaderDir", | |
"activeHeaderConfig": "widgets/activeHeaderMod/activeHeaderConfig", | |
"activeHeaderCtrl": "widgets/activeHeaderMod/activeHeaderCtrl", | |
"activeHeaderAPI" : "widgets/activeHeaderMod/activeHeaderAPI", | |
"dashboardBuilderMod": "widgets/dashboardBuilderMod/dashboardBuilderMod", | |
"dashboardBuilderDir": "widgets/dashboardBuilderMod/dashboardBuilderDir", | |
"dashboardBuilderConfig": "widgets/dashboardBuilderMod/dashboardBuilderConfig", | |
"dashboardBuilderCtrl": "widgets/dashboardBuilderMod/dashboardBuilderCtrl", | |
"dashboardBuilderService": "widgets/dashboardBuilderMod/dashboardBuilderService", | |
"dashboardBuilderAPI" : "widgets/dashboardBuilderMod/dashboardBuilderAPI", | |
"widgetListCtrl": "widgets/dashboardBuilderMod/widget-list/widgetListCtrl", | |
"widgetListDir": "widgets/dashboardBuilderMod/widget-list/widgetListDir", | |
"widgetListService": "widgets/dashboardBuilderMod/widget-list/widgetListService", | |
"widgetDropzone": "widgets/dashboardBuilderMod/filterParameters/filterParametersDropzoneDir", | |
"filterParametersDir": "widgets/dashboardBuilderMod/filterParameters/filterParametersDir", | |
"filterParametersCtrl": "widgets/dashboardBuilderMod/filterParameters/filterParametersCtrl", | |
"filterParametersService": "widgets/dashboardBuilderMod/filterParameters/filterParametersService", | |
"dashboardPanelMod": "widgets/dashboardPanelMod/dashboardPanelMod", | |
"dashboardPanelDir": "widgets/dashboardPanelMod/dashboardPanelDir", | |
"dashboardPanelConfig": "widgets/dashboardPanelMod/dashboardPanelConfig", | |
"dashboardPanelCtrl": "widgets/dashboardPanelMod/dashboardPanelCtrl", | |
"dashboardPanelAPI" : "widgets/dashboardPanelMod/dashboardPanelAPI", | |
"layoutContainerMod": "widgets/layoutContainerMod/layoutContainerMod", | |
"layoutContainerDir": "widgets/layoutContainerMod/layoutContainerDir", | |
"layoutContainerConfig": "widgets/layoutContainerMod/layoutContainerConfig", | |
"layoutContainerCtrl": "widgets/layoutContainerMod/layoutContainerCtrl", | |
"layoutContainerAPI" : "widgets/layoutContainerMod/layoutContainerAPI", | |
"layoutResizeDir" : "widgets/layoutContainerMod/LayoutResizeDir", | |
"layoutCoordinatesService" : "widgets/layoutContainerMod/layoutCoordinatesService", | |
"layoutComponentsService" : "widgets/layoutContainerMod/layoutComponentsService", | |
"layoutCompilerDir" : "widgets/layoutContainerMod/LayoutCompilerDir", | |
"layoutDraggableDir" : "widgets/layoutContainerMod/layoutDraggableDir", | |
"saveDialogMod": "widgets/dashboardBuilderMod/saveDialogMod/saveDialogMod", | |
"saveDialogDir": "widgets/dashboardBuilderMod/saveDialogMod/saveDialogDir", | |
"saveDialogConfig": "widgets/dashboardBuilderMod/saveDialogMod/saveDialogConfig", | |
"saveDialogCtrl": "widgets/dashboardBuilderMod/saveDialogMod/saveDialogCtrl", | |
"saveDialogAPI" : "widgets/dashboardBuilderMod/saveDialogMod/saveDialogAPI", | |
"editVizMod": "widgets/dashboardBuilderMod/editVizMod/editVizMod", | |
"editVizDir": "widgets/dashboardBuilderMod/editVizMod/editVizDir", | |
"editVizConfig": "widgets/dashboardBuilderMod/editVizMod/editVizConfig", | |
"editVizCtrl": "widgets/dashboardBuilderMod/editVizMod/editVizCtrl", | |
"editVizAPI" : "widgets/dashboardBuilderMod/editVizMod/editVizAPI", | |
"sidebarPanelComponentsMod": "widgets/dashboardBuilderMod/sidebarMod/sidebarPanelComponentsMod/sidebarPanelComponentsMod", | |
"sidebarPanelComponentsDir": "widgets/dashboardBuilderMod/sidebarMod/sidebarPanelComponentsMod/sidebarPanelComponentsDir", | |
"sidebarPanelComponentsConfig": "widgets/dashboardBuilderMod/sidebarMod/sidebarPanelComponentsMod/sidebarPanelComponentsConfig", | |
"sidebarPanelComponentsCtrl": "widgets/dashboardBuilderMod/sidebarMod/sidebarPanelComponentsMod/sidebarPanelComponentsCtrl", | |
"sidebarPanelComponentsAPI" : "widgets/dashboardBuilderMod/sidebarMod/sidebarPanelComponentsMod/sidebarPanelComponentsAPI", | |
"sidebarPanelInfoboardMod": "widgets/dashboardBuilderMod/sidebarMod/sidebarPanelInfoboardMod/sidebarPanelInfoboardMod", | |
"sidebarPanelInfoboardDir": "widgets/dashboardBuilderMod/sidebarMod/sidebarPanelInfoboardMod/sidebarPanelInfoboardDir", | |
"sidebarPanelInfoboardConfig": "widgets/dashboardBuilderMod/sidebarMod/sidebarPanelInfoboardMod/sidebarPanelInfoboardConfig", | |
"sidebarPanelInfoboardCtrl": "widgets/dashboardBuilderMod/sidebarMod/sidebarPanelInfoboardMod/sidebarPanelInfoboardCtrl", | |
"sidebarPanelInfoboardAPI" : "widgets/dashboardBuilderMod/sidebarMod/sidebarPanelInfoboardMod/sidebarPanelInfoboardAPI", | |
"sidebarMod": "widgets/dashboardBuilderMod/sidebarMod/sidebarMod", | |
"sidebarDir": "widgets/dashboardBuilderMod/sidebarMod/sidebarDir", | |
"sidebarConfig": "widgets/dashboardBuilderMod/sidebarMod/sidebarConfig", | |
"sidebarCtrl": "widgets/dashboardBuilderMod/sidebarMod/sidebarCtrl", | |
"sidebarAPI" : "widgets/dashboardBuilderMod/sidebarMod/sidebarAPI", | |
"dropZoneMod": "widgets/visualBuilderMod/dropZoneMod/dropZoneMod", | |
"dropZoneDir": "widgets/visualBuilderMod/dropZoneMod/dropZoneDir", | |
"dropZoneConfig": "widgets/visualBuilderMod/dropZoneMod/dropZoneConfig", | |
"dropZoneCtrl": "widgets/visualBuilderMod/dropZoneMod/dropZoneCtrl", | |
"aggregateRules" : "widgets/visualBuilderMod/dropZoneMod/aggregateRules", | |
"pillSupporter" : "widgets/visualBuilderMod/dropZoneMod/pillSupporter", | |
"datatype" : "widgets/visualBuilderMod/dropZoneMod/datatype", | |
"dropZoneAPI" : "widgets/visualBuilderMod/dropZoneMod/dropZoneAPI", | |
"visualBuilderMod": "widgets/visualBuilderMod/visualBuilderMod", | |
"visualBuilderCtrl": "widgets/visualBuilderMod/visualBuilderCtrl", | |
"visualBuilderConfig": "widgets/visualBuilderMod/visualBuilderConfig", | |
"visualBuilderDir": "widgets/visualBuilderMod/visualBuilderDir", | |
"eventsManagement": "widgets/widgetsManager/eventsManagement", | |
"widgetsUtil" : "widgets/widgetsManager/widgetsUtil", | |
"columnPickerMod": "widgets/columnPickerMod/columnPickerMod", | |
"columnPickerCtrl": "widgets/columnPickerMod/columnPickerCtrl", | |
"columnPickerConfig": "widgets/columnPickerMod/columnPickerConfig", | |
"columnPickerDir": "widgets/columnPickerMod/columnPickerDir", | |
"columnPickerFilter": "widgets/columnPickerMod/columnPickerFilter", | |
"columnPickerTransformSvc": "widgets/columnPickerMod/columnPickerTransformSvc", | |
"columnPickerAPI": "widgets/columnPickerMod/columnPickerAPI", | |
"dvNavigatorMod": "widgets/dvNavigatorMod/dvNavigatorMod", | |
"dvNavigatorCtrl": "widgets/dvNavigatorMod/dvNavigatorCtrl", | |
"dvNavigatorConfig": "widgets/dvNavigatorMod/dvNavigatorConfig", | |
"dvNavigatorDir": "widgets/dvNavigatorMod/dvNavigatorDir", | |
"dvNavigatorSvc": "widgets/dvNavigatorMod/dvNavigatorSvc", | |
"dvNavigatorAPI": "widgets/dvNavigatorMod/dvNavigatorAPI", | |
"listMod": "widgets/listMod/listMod", | |
"listCtrl": "widgets/listMod/listCtrl", | |
"listConfig": "widgets/listMod/listConfig", | |
"listDir": "widgets/listMod/listDir", | |
"listAPI": "widgets/listMod/listAPI", | |
"listSvc": "widgets/listMod/listSvc", | |
"dateFilterMod": "widgets/dateFilterMod/dateFilterMod", | |
"dateFilterCtrl": "widgets/dateFilterMod/dateFilterCtrl", | |
"dateFilterConfig": "widgets/dateFilterMod/dateFilterConfig", | |
"dateFilterDir": "widgets/dateFilterMod/dateFilterDir", | |
"dateFilterAPI": "widgets/dateFilterMod/dateFilterAPI", | |
"iframeWidgetMod": "widgets/iframeWidgetMod/iframeWidgetMod", | |
"iframeWidgetDir": "widgets/iframeWidgetMod/iframeWidgetDir", | |
"iframeWidgetCtrl": "widgets/iframeWidgetMod/iframeWidgetCtrl", | |
"iframeWidgetConfig": "widgets/iframeWidgetMod/iframeWidgetConfig", | |
"iframeWidgetService": "widgets/iframeWidgetMod/iframeWidgetService", | |
"iframeWidgetAPI": "widgets/iframeWidgetMod/iframeWidgetAPI", | |
"uiBootstrap": "bower_components/ui-bootstrap/ui-bootstrap-custom-tpls-1.2.5.min", | |
"uibootstrapDatetimepicker": "bower_components/ui-bootstrap/datetime-picker.min", | |
"tabularLayoutMod": "widgets/tabularLayoutMod/tabularLayoutMod", | |
"scrollableTabs": "widgets/tabularLayoutMod/scrolling-tabs", | |
"inCellGraphicsSvc": "lib/inCellGraphicsSvc", | |
"colorFilterEvalFactory": "lib/colorFilterEvalFactory", | |
"curvedLineFactory": "lib/curvedLineFactory", | |
"blueDotScrollFactory": "lib/blueDotScrollFactory", | |
"scrollbarFactory": "lib/scrollbarFactory", | |
"widgetFactory": "lib/widgetFactory", | |
"dragDropSvc": "lib/dragDropSvc", | |
"thumbnailSvc": "lib/thumbnailSvc", | |
"pdbSvc": "lib/pdbSvc", | |
"loadingSvc": "lib/loadingSvc", | |
"thinkSpaceMod": "widgets/thinkSpaceMod/thinkSpaceMod", | |
"thinkSpaceCtrl": "widgets/thinkSpaceMod/thinkSpaceCtrl", | |
"thinkSpaceDir": "widgets/thinkSpaceMod/thinkSpaceDir", | |
"thinkSpaceConfig": "widgets/thinkSpaceMod/thinkSpaceConfig", | |
"thinkSpaceService": "widgets/thinkSpaceMod/thinkSpaceService", | |
"thinkSpaceAPI": "widgets/thinkSpaceMod/thinkSpaceAPI", | |
"layeredGraphicMod": "widgets/layeredGraphicMod/layeredGraphicMod", | |
"layeredGraphicDir": "widgets/layeredGraphicMod/layeredGraphicDir", | |
"layoutMod": "widgets/layoutMod/layoutMod", | |
"layoutDir": "widgets/layoutMod/layoutDir", | |
"layoutCtrl": "widgets/layoutMod/layoutCtrl", | |
"layoutConfig": "widgets/layoutMod/layoutConfig", | |
"layoutAPI": "widgets/layoutMod/layoutAPI", | |
"layoutRenderFactory": "widgets/layoutMod/layoutRenderFactory", | |
"galleryMod": "widgets/galleryMod/galleryMod", | |
"galleryDir": "widgets/galleryMod/galleryDir", | |
"galleryCtrl": "widgets/galleryMod/galleryCtrl", | |
"galleryConfig": "widgets/galleryMod/galleryConfig", | |
"galleryAPI": "widgets/galleryMod/galleryAPI", | |
"galleryService": "widgets/galleryMod/galleryService", | |
"galleryFilter": "widgets/galleryMod/galleryFilter", | |
"widgetMod": "widgets/widgetMod/widgetMod", | |
"widgetDir": "widgets/widgetMod/widgetDir", | |
"wizardMod": "widgets/wizardMod/wizardMod", | |
"wizardCtrl": "widgets/wizardMod/wizardCtrl", | |
"wizardLinkCtrl": "widgets/wizardMod/link/wizardLinkCtrl", | |
"wizardThinkSpaceCtrl": "widgets/wizardMod/thinkSpace/wizardThinkSpaceCtrl", | |
"wizardDashboardCtrl": "widgets/wizardMod/dashboard/wizardDashboardCtrl", | |
"wizardIframeWidgetCreatorCtrl":"widgets/wizardMod/iframeWidgetCreator/wizardIframeWidgetCreatorCtrl", | |
"wizardConfig": "widgets/wizardMod/wizardConfig", | |
"wizardDir": "widgets/wizardMod/wizardDir", | |
"wizardSvc": "widgets/wizardMod/wizardSvc", | |
"wizardAPI": "widgets/wizardMod/wizardAPI", | |
"wizardRouting": "widgets/wizardMod/wizardRouting", | |
"propertyGridMod": "widgets/propertyGridMod/propertyGridMod", | |
"propertyGridDir": "widgets/propertyGridMod/propertyGridDir", | |
"propertyGridCtrl": "widgets/propertyGridMod/propertyGridCtrl", | |
"propertyGridConfig": "widgets/propertyGridMod/propertyGridConfig", | |
"propertyGridAPI": "widgets/propertyGridMod/propertyGridAPI", | |
"widgetEditorMod": "widgets/widgetEditorMod/widgetEditorMod", | |
"widgetEditorDir": "widgets/widgetEditorMod/widgetEditorDir", | |
"widgetEditorCtrl": "widgets/widgetEditorMod/widgetEditorCtrl", | |
"widgetEditorConfig": "widgets/widgetEditorMod/widgetEditorConfig", | |
"widgetEditorAPI": "widgets/widgetEditorMod/widgetEditorAPI", | |
"widgetEditorSvs": "widgets/widgetEditorMod/widgetEditorSvs", | |
"pipelinesMod": "lib/pipelines/pipelinesMod", | |
"partialFunctions": "lib/pipelines/partialFunctions", | |
"pipelineBuilder": "lib/pipelines/pipelineBuilder", | |
"pipelineParser":"lib/pipelines/pipelineParser", | |
"pipelinePlanner":"lib/pipelines/pipelinePlanner", | |
"pipelineRegistry":"lib/pipelines/pipelineRegistry", | |
"protocolRegistry":"lib/pipelines/protocolRegistry", | |
"domUtils":"lib/pipelines/util/domUtils", | |
"jsonMerge":"lib/pipelines/util/jsonMerge", | |
"jsonPath":"lib/pipelines/util/jsonPath", | |
"murmur":"lib/pipelines/util/murmur", | |
"memoize":"lib/pipelines/util/memoize", | |
"liveJsonQuery":"lib/pipelines/util/liveJsonQuery", | |
"liveDOMQuery":"lib/pipelines/util/liveDOMQuery", | |
"multivalue":"lib/pipelines/util/multivalue", | |
"observers":"lib/pipelines/util/observers", | |
"handlebars":"bower_components/handlebars/handlebars.min", | |
"handlebarsShim":"lib/pipelines/util/handlebarsShim", | |
"data":"lib/pipelines/protocols/data", | |
"http":"lib/pipelines/protocols/http", | |
"local":"lib/pipelines/protocols/local", | |
"session":"lib/pipelines/protocols/session", | |
"url":"lib/pipelines/pipes/url", | |
"defaultPipes":"lib/pipelines/pipes/defaultPipes", | |
"domElement":"lib/pipelines/pipes/domElement", | |
"jsonObject":"lib/pipelines/pipes/jsonObject", | |
"template":"lib/pipelines/pipes/template", | |
"dataviewFilter":"lib/pipelines/pipes/dataviewFilter", | |
"domElementWatcher":"lib/pipelines/util/domElementWatcher", | |
"protocolWatcher":"lib/pipelines/util/protocolWatcher", | |
"formSerializer":"lib/pipelines/util/formSerializer" | |
/* rules start */ | |
,"cssStyleRule": "widgets/widgetEditorMod/rules/cssStyleRule" | |
,"controlButtonRule": "widgets/widgetEditorMod/rules/controlButtonRule" | |
,"controlButtonsRule": "widgets/widgetEditorMod/rules/controlButtonsRule" | |
,"pillContainerRule": "widgets/widgetEditorMod/rules/pillContainerRule" | |
,"columnRule": "widgets/widgetEditorMod/rules/columnRule" | |
,"columnsRule": "widgets/widgetEditorMod/rules/columnsRule" | |
,"visualizationLimitationRule": "widgets/widgetEditorMod/rules/visualizationLimitationRule" | |
,"cssMarginRule": "widgets/widgetEditorMod/rules/cssMarginRule" | |
,"cssTextRule": "widgets/widgetEditorMod/rules/cssTextRule" | |
,"chartTextRule": "widgets/widgetEditorMod/rules/chartTextRule" | |
,"widgetEditorRule": "widgets/widgetEditorMod/rules/widgetEditorRule" | |
,"propertyGridRule": "widgets/widgetEditorMod/rules/propertyGridRule" | |
,"loadOverlayRule": "widgets/widgetEditorMod/rules/loadOverlayRule" | |
,"errorOverlayRule": "widgets/widgetEditorMod/rules/errorOverlayRule" | |
,"renderZoneRule": "widgets/widgetEditorMod/rules/renderZoneRule" | |
,"dropZoneRule": "widgets/widgetEditorMod/rules/dropZoneRule" | |
,"visualizationRule": "widgets/widgetEditorMod/rules/visualizationRule" | |
,"visualBuilderRule": "widgets/widgetEditorMod/rules/visualBuilderRule" | |
,"helpOverlayRule": "widgets/widgetEditorMod/rules/helpOverlayRule" | |
,"thinkSpaceRule": "widgets/widgetEditorMod/rules/thinkSpaceRule" | |
,"pillRule": "widgets/widgetEditorMod/rules/pillRule" | |
,"overlayRule": "widgets/widgetEditorMod/rules/overlayRule" | |
,"listMenuRule": "widgets/widgetEditorMod/rules/listMenuRule" | |
,"layoutRule": "widgets/widgetEditorMod/rules/layoutRule" | |
,"filterBuilderRule": "widgets/widgetEditorMod/rules/filterBuilderRule" | |
,"dvNavigatorRule": "widgets/widgetEditorMod/rules/dvNavigatorRule" | |
,"dropZoneColumnRule": "widgets/widgetEditorMod/rules/dropZoneColumnRule" | |
,"dropScopeRule": "widgets/widgetEditorMod/rules/dropScopeRule" | |
,"dropRule": "widgets/widgetEditorMod/rules/dropRule" | |
,"sidebarRule": "widgets/widgetEditorMod/rules/sidebarRule" | |
,"saveDialogRule": "widgets/widgetEditorMod/rules/saveDialogRule" | |
,"dashboardBuilderRule": "widgets/widgetEditorMod/rules/dashboardBuilderRule" | |
,"crosstabBuilderRule": "widgets/widgetEditorMod/rules/crosstabBuilderRule" | |
,"dropArrowRule": "widgets/widgetEditorMod/rules/dropArrowRule" | |
,"dialogRule": "widgets/widgetEditorMod/rules/dialogRule" | |
,"connectorScopeRule": "widgets/widgetEditorMod/rules/connectorScopeRule" | |
,"columnPickerRule": "widgets/widgetEditorMod/rules/columnPickerRule" | |
,"vizSettingsColumnRule": "widgets/widgetEditorMod/rules/vizSettingsColumnRule" | |
,"menuColumnRule": "widgets/widgetEditorMod/rules/menuColumnRule" | |
,"inCellColumnRule": "widgets/widgetEditorMod/rules/inCellColumnRule" | |
,"filterColumnRule": "widgets/widgetEditorMod/rules/filterColumnRule" | |
,"colorFilterColumnRule": "widgets/widgetEditorMod/rules/colorFilterColumnRule" | |
,"calculatedColumnRule": "widgets/widgetEditorMod/rules/calculatedColumnRule" | |
,"binningColumnRule": "widgets/widgetEditorMod/rules/binningColumnRule" | |
,"bestFitVizRule": "widgets/widgetEditorMod/rules/bestFitVizRule" | |
,"arcPopupMenuRule": "widgets/widgetEditorMod/rules/arcPopupMenuRule" | |
,"analysisTblRule": "widgets/widgetEditorMod/rules/analysisTblRule" | |
,"activeHeaderRule": "widgets/widgetEditorMod/rules/activeHeaderRule" | |
,"loadOverlayRule": "widgets/widgetEditorMod/rules/loadOverlayRule" | |
,"errorOverlayRule": "widgets/widgetEditorMod/rules/errorOverlayRule" | |
,"renderZoneRule": "widgets/widgetEditorMod/rules/renderZoneRule" | |
,"dropZoneRule": "widgets/widgetEditorMod/rules/dropZoneRule" | |
,"visualizationRule": "widgets/widgetEditorMod/rules/visualizationRule" | |
,"visualBuilderRule": "widgets/widgetEditorMod/rules/visualBuilderRule" | |
,"helpOverlayRule": "widgets/widgetEditorMod/rules/helpOverlayRule" | |
,"thinkSpaceRule": "widgets/widgetEditorMod/rules/thinkSpaceRule" | |
,"pillRule": "widgets/widgetEditorMod/rules/pillRule" | |
,"overlayRule": "widgets/widgetEditorMod/rules/overlayRule" | |
,"listMenuRule": "widgets/widgetEditorMod/rules/listMenuRule" | |
,"layoutRule": "widgets/widgetEditorMod/rules/layoutRule" | |
,"filterBuilderRule": "widgets/widgetEditorMod/rules/filterBuilderRule" | |
,"dvNavigatorRule": "widgets/widgetEditorMod/rules/dvNavigatorRule" | |
,"dropZoneColumnRule": "widgets/widgetEditorMod/rules/dropZoneColumnRule" | |
,"dropScopeRule": "widgets/widgetEditorMod/rules/dropScopeRule" | |
,"dropRule": "widgets/widgetEditorMod/rules/dropRule" | |
,"sidebarRule": "widgets/widgetEditorMod/rules/sidebarRule" | |
,"saveDialogRule": "widgets/widgetEditorMod/rules/saveDialogRule" | |
,"dashboardBuilderRule": "widgets/widgetEditorMod/rules/dashboardBuilderRule" | |
,"crosstabBuilderRule": "widgets/widgetEditorMod/rules/crosstabBuilderRule" | |
,"dropArrowRule": "widgets/widgetEditorMod/rules/dropArrowRule" | |
,"dialogRule": "widgets/widgetEditorMod/rules/dialogRule" | |
,"connectorScopeRule": "widgets/widgetEditorMod/rules/connectorScopeRule" | |
,"columnPickerRule": "widgets/widgetEditorMod/rules/columnPickerRule" | |
,"vizSettingsColumnRule": "widgets/widgetEditorMod/rules/vizSettingsColumnRule" | |
,"menuColumnRule": "widgets/widgetEditorMod/rules/menuColumnRule" | |
,"inCellColumnRule": "widgets/widgetEditorMod/rules/inCellColumnRule" | |
,"filterColumnRule": "widgets/widgetEditorMod/rules/filterColumnRule" | |
,"colorFilterColumnRule": "widgets/widgetEditorMod/rules/colorFilterColumnRule" | |
,"calculatedColumnRule": "widgets/widgetEditorMod/rules/calculatedColumnRule" | |
,"binningColumnRule": "widgets/widgetEditorMod/rules/binningColumnRule" | |
,"bestFitVizRule": "widgets/widgetEditorMod/rules/bestFitVizRule" | |
,"arcPopupMenuRule": "widgets/widgetEditorMod/rules/arcPopupMenuRule" | |
,"analysisTblRule": "widgets/widgetEditorMod/rules/analysisTblRule" | |
,"activeHeaderRule": "widgets/widgetEditorMod/rules/activeHeaderRule" | |
,"chartRule": "widgets/widgetEditorMod/rules/chartRule" | |
,"dvNavigatorRule": "widgets/widgetEditorMod/rules/dvNavigatorRule" | |
,"visualizationRule": "widgets/widgetEditorMod/rules/visualizationRule" | |
,"vizSettingsColumnRule": "widgets/widgetEditorMod/rules/vizSettingsColumnRule" | |
,"loadOverlayRule": "widgets/widgetEditorMod/rules/loadOverlayRule" | |
,"errorOverlayRule": "widgets/widgetEditorMod/rules/errorOverlayRule" | |
,"renderZoneRule": "widgets/widgetEditorMod/rules/renderZoneRule" | |
,"dropZoneRule": "widgets/widgetEditorMod/rules/dropZoneRule" | |
,"visualBuilderRule": "widgets/widgetEditorMod/rules/visualBuilderRule" | |
,"helpOverlayRule": "widgets/widgetEditorMod/rules/helpOverlayRule" | |
,"thinkSpaceRule": "widgets/widgetEditorMod/rules/thinkSpaceRule" | |
,"pillRule": "widgets/widgetEditorMod/rules/pillRule" | |
,"overlayRule": "widgets/widgetEditorMod/rules/overlayRule" | |
,"listMenuRule": "widgets/widgetEditorMod/rules/listMenuRule" | |
,"layoutRule": "widgets/widgetEditorMod/rules/layoutRule" | |
,"filterBuilderRule": "widgets/widgetEditorMod/rules/filterBuilderRule" | |
,"dropZoneColumnRule": "widgets/widgetEditorMod/rules/dropZoneColumnRule" | |
,"dropScopeRule": "widgets/widgetEditorMod/rules/dropScopeRule" | |
,"dropRule": "widgets/widgetEditorMod/rules/dropRule" | |
,"sidebarRule": "widgets/widgetEditorMod/rules/sidebarRule" | |
,"saveDialogRule": "widgets/widgetEditorMod/rules/saveDialogRule" | |
,"dashboardBuilderRule": "widgets/widgetEditorMod/rules/dashboardBuilderRule" | |
,"crosstabBuilderRule": "widgets/widgetEditorMod/rules/crosstabBuilderRule" | |
,"dropArrowRule": "widgets/widgetEditorMod/rules/dropArrowRule" | |
,"dialogRule": "widgets/widgetEditorMod/rules/dialogRule" | |
,"connectorScopeRule": "widgets/widgetEditorMod/rules/connectorScopeRule" | |
,"columnPickerRule": "widgets/widgetEditorMod/rules/columnPickerRule" | |
,"menuColumnRule": "widgets/widgetEditorMod/rules/menuColumnRule" | |
,"inCellColumnRule": "widgets/widgetEditorMod/rules/inCellColumnRule" | |
,"filterColumnRule": "widgets/widgetEditorMod/rules/filterColumnRule" | |
,"colorFilterColumnRule": "widgets/widgetEditorMod/rules/colorFilterColumnRule" | |
,"calculatedColumnRule": "widgets/widgetEditorMod/rules/calculatedColumnRule" | |
,"binningColumnRule": "widgets/widgetEditorMod/rules/binningColumnRule" | |
,"bestFitVizRule": "widgets/widgetEditorMod/rules/bestFitVizRule" | |
,"arcPopupMenuRule": "widgets/widgetEditorMod/rules/arcPopupMenuRule" | |
,"analysisTblRule": "widgets/widgetEditorMod/rules/analysisTblRule" | |
,"activeHeaderRule": "widgets/widgetEditorMod/rules/activeHeaderRule" | |
/* rules end */ | |
}; | |
/** 3. Create a list of files to require for initializing the app **/ | |
Logi._fileList = [ | |
'jquery', | |
'api', | |
'd3', | |
'moment', | |
'i18next', | |
'jsonpath', | |
'handlebars', | |
'jqueryui', | |
'jquery_mousewheel', | |
'jquery_simulate', | |
'touch_punch', | |
'jquery_resize', | |
'angular', | |
'angular_animate', | |
'angular_sanitize', | |
'angular_i18next', | |
'angular_xeditable', | |
'uiBootstrap', | |
'uibootstrapDatetimepicker', | |
'angular_uuid', | |
'restangular', | |
'underscore', | |
'promise', | |
'appTemplates', | |
'highcharts_standalone', | |
'highcharts', | |
'observe_js' | |
]; | |
/** 4. Create a Shim object for the initial require (See requirejs documentation on Shims) **/ | |
Logi._shims = { | |
angular: { | |
deps: ["jquery"] | |
}, | |
i18next: { | |
deps: ["jquery"] | |
}, | |
appTemplates: { | |
deps: ["angular"] | |
}, | |
angular_animate: { | |
deps: ["angular"] | |
}, | |
angular_sanitize: { | |
deps: ["angular"] | |
}, | |
angular_i18next: { | |
deps: ["i18next", "angular", 'angular_sanitize'] | |
}, | |
angular_uuid: { | |
deps: ["angular"] | |
}, | |
angular_xeditable: { | |
deps: ["angular"] | |
}, | |
codemirror: { | |
deps: [], | |
exports: 'CodeMirror' | |
}, | |
ui_codemirror: { | |
deps: ["angular"] | |
}, | |
codemirror_hint: { | |
deps: ["angular", "codemirror"] | |
}, | |
codemirror_show_hint: { | |
deps: ["codemirror"] | |
}, | |
codemirror_sql_hint: { | |
deps: ["codemirror"] | |
}, | |
codemirror_sql_mode: { | |
deps: ["codemirror"] | |
}, | |
codemirror_placeholder: { | |
deps: ["codemirror"] | |
}, | |
restangular: { | |
deps: ["angular"] | |
}, | |
jquery_mousewheel: { | |
deps: ["jquery"] | |
}, | |
jquery_simulate: { | |
deps: ["jquery"] | |
}, | |
jqueryui: { | |
deps: ["jquery"] | |
}, | |
jquery_resize: { | |
deps: ["jquery"] | |
}, | |
touch_punch: { | |
deps: ["jqueryui"] | |
}, | |
appMod: { | |
deps: ["angular"] | |
}, | |
appProviderConfig: { | |
deps: ["appMod"] | |
}, | |
appApiDir: { | |
deps: ["appMod"] | |
}, | |
appApiCtrl: { | |
//This needs to change later when getVisualization() is removed from the apiCtrl.js file | |
deps: ["appMod", "activeDirective", "visualBuilderManager"] | |
// deps: ["appMod", "activeDirective"] | |
}, | |
DataViewModel: { | |
deps: ["appMod"] | |
}, | |
appDataProv: { | |
deps: ["DataViewModel"] | |
}, | |
appDataFormatProv: { | |
deps: ['appMod'] | |
}, | |
appConfigProv: { | |
deps: ["appMod"] | |
}, | |
appConstants: { | |
deps: ["appMod"] | |
}, | |
appDataTypeSvc: { | |
deps: ["appMod"] | |
}, | |
appFilterSvc: { | |
deps: ["appMod"] | |
}, | |
effectivePermissionsService : { | |
deps: ["appMod"] | |
}, | |
activeDirective: { | |
deps: ["appMod"] | |
}, | |
widgetFactory : { | |
deps: ["appMod", "pipelinesMod"] | |
}, | |
appWidgetApiFactory: { | |
deps: ["appMod"] | |
}, | |
appChannelManagerSvc: { | |
deps: ["appMod"] | |
}, | |
visualizationAPI: { | |
deps: ["appMod", "visualizationProvider", "highChartStateManagement", "highChartDataManagement"] | |
}, | |
visualBuilderAPI: { | |
deps: ["appMod", "visualBuilderStateManagement"] | |
}, | |
widgetsUtil: { | |
deps: ["appMod"] | |
}, | |
eventsManagement: { | |
deps: ["appMod"] | |
}, | |
visualBuilderManager: { | |
deps: ["appMod", "visualBuilderAPI", "visualBuilderStateManagement"] | |
}, | |
chartModule: { | |
deps: ["angular"] | |
}, | |
mapModule: { | |
deps: ["angular"] | |
}, | |
highcharts: { | |
deps: ["jquery", "highcharts_standalone"], | |
exports: 'highcharts' | |
}, | |
highmaps: { | |
deps: ["highcharts"], | |
exports: 'highmaps' | |
}, | |
d3: { | |
exports: 'd3' | |
}, | |
leafletCluster: { | |
deps: ["leaflet"] | |
}, | |
//TODO - Might need to break out into another shim. | |
visualizationMod: { | |
//deps: ["angular", "chartModule", "mapModule"] | |
deps: ["angular", "d3", "dsHelperMod"] | |
}, | |
"vizUtils": {deps: ["visualizationMod"]}, | |
"vizSelectionSvc": {deps: ["visualizationMod"]}, | |
"vizCtSvc": {deps: ["dsHelperMod", "visualizationMod"]}, | |
visualizationProvider: { | |
deps: ["visualizationMod", "visualizationUtil"] | |
}, | |
"vizDrillThroughSvc" : {deps: ["visualizationMod"]}, | |
"vizStateService": {deps: ["visualizationMod"]}, | |
"vizDataService": {deps: ["visualizationMod"]}, | |
"vizZoomDataService": {deps: ["visualizationMod"]}, | |
"dsZoomPanDenseStrategy": {deps: ["visualizationMod", "dsHelperMod"]}, | |
"denseTransformDataSvc": {deps: ["visualizationMod"]}, | |
"vizLocalDataService": {deps: ["visualizationMod"]}, | |
"vizPlatformDataService": {deps: ["visualizationMod"]}, | |
"vizMultiDataViewService": {deps: ["visualizationMod"]}, | |
"visualizationSelector": {deps: ["visualizationMod"]}, | |
"visualizationDirective": {deps: ["visualizationMod"]}, | |
"visualizationController": {deps: ["visualizationMod"]}, | |
"chartConfig": {deps: ["chartModule"]}, | |
"chartConfigSvc": {deps: ["chartModule"]}, | |
"chartErrorMessage": {deps: ["chartModule"]}, | |
"mapConfig": {deps: ["mapModule"]}, | |
"brushBase": {deps: ["chartModule"]}, | |
"platformBrush": {deps: ["chartModule"]}, | |
"selectionBrush": {deps: ["chartModule"]}, | |
"platformTooltip": {deps: ["chartModule"]}, | |
"chartService": {deps: ["chartModule"]}, | |
"platformTimelineD3": {deps: ["chartModule"]}, | |
"baseChart": {deps: ["chartModule"]}, | |
"columnProfileChart": {deps: ["chartModule"]}, | |
"columnProfileDirective": {deps: ["chartModule"]}, | |
"platformColumnProfileDirective": {deps: ["chartModule"]}, | |
"columnProfileController": {deps: ["chartModule"]}, | |
"platformColumnProfileController": {deps: ["chartModule"]}, | |
"logarithmicAxis": {deps: ["chartModule"]}, | |
"prettyAxis": {deps: ["chartModule"]}, | |
"svgUtil": {deps: ["chartModule"]}, | |
"svgSymbolSvc": {deps: ["chartModule"]}, | |
"singleYear": {deps: ["chartModule"]}, | |
"logiChartLayout": {deps: ["chartModule"]}, | |
"logiChart": {deps: ["chartModule"]}, | |
"dialGuageChart": {deps: ["chartModule"]}, | |
"timeAxis": {deps:["chartModule"]}, | |
"horizontalColorLegend": {deps: ["chartModule"]}, | |
"numericAxis": {deps: ["chartModule"]}, | |
"calendarDirective": {deps: ["chartModule"]}, | |
"calendarChart": {deps: ["chartModule"]}, | |
"scrollBar": {deps: ["chartModule"]}, | |
"offlineExporterFactory": {deps: ["chartModule"]}, | |
"tableChart": {deps: ["chartModule"]}, | |
"tableController": {deps: ["chartModule"]}, | |
"mapService": {deps: ["mapModule"]}, | |
"tableDirective": {deps: ["chartModule"]}, | |
"logiChartController": {deps: ["chartModule"]}, | |
"logiChartDirective": {deps: ["chartModule"]}, | |
"chartSvc": {deps: ["chartModule"]}, | |
"crosstabTableDirective": {deps: ["chartModule"]}, | |
"linearAxis": {deps: ["chartModule"]}, | |
"geoHighmapController": {deps: ["mapModule"]}, | |
"geoHighmapDirective": {deps: ["mapModule"]}, | |
"geoHighmapService": {deps: ["mapModule"]}, | |
"geoMapLeafletDirective": {deps: ["mapModule"]}, | |
"geoMapLeafletService": {deps: ["mapModule"]}, | |
"intensitySliderCtrl": {deps: ["chartModule"]}, | |
"chartCtrl": {deps: ["chartModule"]}, | |
"chartDir": {deps: ["chartModule"]}, | |
"crosstabTableController": {deps: ["chartModule"]}, | |
"crosstabTableChart": {deps: ["chartModule"]}, | |
"textInterpolator": {deps: ["chartModule"]}, | |
"calendarChartService": {deps: ["chartModule"]}, | |
"highChartClass": {deps: ["chartModule"]}, | |
"highChartService": {deps: ["chartModule"]}, | |
"columnProfileSvc": {deps: ["chartModule"]}, | |
"intensityD3Size": {deps: ["chartModule"]}, | |
"intensityD3Color": {deps: ["chartModule"]}, | |
"intensityDSliderDir": {deps: ["chartModule"]}, | |
"highmapRenderer": {deps: ["chartModule"]}, | |
"geoMapLeafletController": {deps: ["mapModule"]}, | |
"timelineDir": {deps: ["chartModule"]}, | |
"zoomBarCtrl": {deps: ["chartModule"]}, | |
"baseAxis": {deps: ["chartModule"]}, | |
"ordinalAxis": {deps: ["chartModule"]}, | |
"verticalColorLegend": {deps: ["chartModule"]}, | |
"zoomBarDir": {deps: ["chartModule"]}, | |
"highChartController": {deps: ["chartModule"]}, | |
"highChartDirective": {deps: ["chartModule"]}, | |
"logiChartService": {deps: ["chartModule"]}, | |
"dialGauge": {deps: ["chartModule"]}, | |
"arcGauge": {deps: ["chartModule"]}, | |
"timelineCtrl": {deps: ["chartModule"]}, | |
"intensitySliderDir": {deps: ["chartModule"]}, | |
"cssBase": {deps: ["chartModule"]}, | |
"leafletRenderer": {deps: ["chartModule"]}, | |
"highChartRenderer": {deps: ["chartModule"]}, | |
"dialGaugeBand": {deps: ["chartModule"]}, | |
"arcGaugeBand": {deps: ["chartModule"]}, | |
"calendarYearlyChart": {deps: ["chartModule"]}, | |
"dialGaugeChart": {deps: ["chartModule"]}, | |
"arcGaugeChart": {deps: ["chartModule"]}, | |
"calendarController": {deps: ["chartModule"]}, | |
"logiPie": {deps: ["chartModule"]}, | |
"logiPieChart": {deps: ["chartModule"]}, | |
"logiPieChartService": {deps: ["chartModule"]}, | |
"bulletGaugeChart" : {deps: ["chartModule"]}, | |
"kpiGaugeChartFactory": {deps: ["chartModule"]}, | |
"logiKpiGaugeChart": {deps: ["chartModule"]}, | |
"kpiGaugeCtrl": {deps: ["chartModule"]}, | |
"areaScatter": {deps: ["chartModule"]}, | |
"interactiveGuideline": {deps: ["chartModule"]}, | |
"multiArea": {deps: ["chartModule"]}, | |
"multiAreaChart": {deps: ["chartModule"]}, | |
"area": {deps: ["chartModule"]}, | |
"logiScatter": {deps: ["chartModule"]}, | |
"logiHeatmap": {deps: ["chartModule"]}, | |
"logiHeatmapChart": {deps: ["chartModule"]}, | |
"lineChart": {deps: ["chartModule"]}, | |
"bar": {deps: ["chartModule"]}, | |
"scatterChart": {deps: ["chartModule"]}, | |
"baseType": {deps: ["chartModule"]}, | |
"legend": {deps: ["chartModule"]}, | |
"baseLegend": {deps: ["chartModule"]}, | |
"svgLegend": {deps: ["chartModule"]}, | |
"htmlLegend": {deps: ["chartModule"]}, | |
"d3ChartService": {deps: ["chartModule"]}, | |
"dialGaugeChartService": {deps: ["chartModule"]}, | |
"arcGaugeChartService": {deps: ["chartModule"]}, | |
"bulletGaugeChartService": {deps: ["chartModule"]}, | |
"axisService": {deps: ["chartModule"]}, | |
"label": {deps: ["chartModule"]}, | |
visualizationBuilder: { | |
deps: ["visualizationMod"] | |
}, | |
visualizationUtil: { | |
deps: ["visualizationMod"] | |
}, | |
highChartStateManagement: { | |
deps: ["visualizationMod", "chartModule"] | |
}, | |
highChartDataManagement: { | |
deps: ["visualizationMod", "chartModule"] | |
}, | |
api: { | |
//deps: ["angular", "visualizationMod"] | |
deps: ["angular"] | |
}, | |
uisortable: { | |
deps: ["jqueryui"] | |
}, | |
layeredGraphicMod: { | |
deps: ["appMod"] | |
}, | |
layeredGraphicDir: { | |
deps: ["layeredGraphicMod"] | |
}, | |
analysisTblMod: { | |
deps: ["appMod", "dsHelperMod"] | |
}, | |
analysisTblAPI: { | |
deps: ["analysisTblMod"] | |
}, | |
"analysisTblDir": {deps: ["analysisTblMod", "analysisTblAPI"]}, | |
"analysisTblCtrl": {deps: ["analysisTblMod"]}, | |
"analysisTblConfig": {deps: ["analysisTblMod"]}, | |
"analysisTblTransformSvc": {deps: ["analysisTblMod"]}, | |
"analysisTblRenderFactory": {deps: ["analysisTblMod","dragDropSvc"]}, | |
"analysisTblScrollerFactory": {deps: ["analysisTblMod"]}, | |
"analysisTblRawDataManagerFactory": {deps: ["analysisTblMod"]}, | |
"crosstabTableMod": {deps: ["appMod"]}, | |
"crosstabTableDir": {deps: ["crosstabTableMod"]}, | |
"crosstabTableCtrl": {deps: ["crosstabTableMod"]}, | |
"crosstabTableConfig": {deps: ["crosstabTableMod"]}, | |
"crosstabTableAPI": {deps: ["crosstabTableMod"]}, | |
"crosstabTableRenderFactory": {deps: ["crosstabTableMod"]}, | |
"crosstabBuilderMod": {deps: ["appMod"]}, | |
"crosstabBuilderDir": {deps: ["crosstabBuilderMod"]}, | |
"crosstabBuilderCtrl": {deps: ["crosstabBuilderMod"]}, | |
"crosstabBuilderConfig": {deps: ["crosstabBuilderMod"]}, | |
"crosstabBuilderAPI": {deps: ["crosstabBuilderMod"]}, | |
"filterBuilderMod": {deps: ["appMod"]}, | |
"filterBuilderDir": {deps: ["filterBuilderMod"]}, | |
"filterBuilderCtrl": {deps: ["filterBuilderMod"]}, | |
"filterBuilderConfig": {deps: ["filterBuilderMod"]}, | |
"filterBuilderAPI": {deps: ["filterBuilderMod"]}, | |
"filterBuilderSvc": {deps: ["filterBuilderMod"]}, | |
"filterPreviewMod": {deps: ["appMod"]}, | |
"filterPreviewDir": {deps: ["filterPreviewMod"]}, | |
"filterPreviewCtrl": {deps: ["filterPreviewMod"]}, | |
"legendMod": {deps: ["chartModule"]}, | |
"legendDir": {deps: ["legendMod"]}, | |
"legendCtrl": {deps: ["legendMod"]}, | |
"legendConfig": {deps: ["legendMod"]}, | |
"legendAPI": {deps: ["legendMod"]}, | |
"legendSymbolDir": {deps: ["legendMod"]}, | |
"arcPopupMenuMod": {deps: ["chartModule"]}, | |
"arcPopupMenuDir": {deps: ["arcPopupMenuMod"]}, | |
"arcPopupMenuCtrl": {deps: ["arcPopupMenuMod"]}, | |
"arcPopupMenuConfig": {deps: ["arcPopupMenuMod"]}, | |
"arcPopupMenuAPI": {deps: ["arcPopupMenuMod"]}, | |
"scrollPaginationDir": {deps: ["legendMod"]}, | |
"scrollPaginationCtrl": {deps: ["legendMod"]}, | |
"scrollPaginationConfig": {deps: ["legendMod"]}, | |
"scrollPaginationService": {deps: ["legendMod"]}, | |
"crosstabVisualizationMod": {deps: ["appMod"]}, | |
"crosstabVisualizationDir": {deps: ["crosstabVisualizationMod"]}, | |
"crosstabVisualizationCtrl": {deps: ["crosstabVisualizationMod"]}, | |
"crosstabVisualizationConfig": {deps: ["crosstabVisualizationMod"]}, | |
"crosstabVisualizationAPI": {deps: ["crosstabVisualizationMod"]}, | |
"uiBootstrap": {deps: ["angular"]}, | |
"uibootstrapDatetimepicker": {deps: ["angular"]}, | |
"ui_validate": {deps: ["angular"]}, | |
"ui_select": {deps: ["angular"]}, | |
"ui_router": {deps: ["angular"]}, | |
tabularLayoutMod: {deps: ["appMod", "uiBootstrap" ]}, | |
"scrollableTabs": {deps:["tabularLayoutMod", "uiBootstrap"]}, | |
calculatedColumnMod: { | |
deps: ["appMod","ui_validate"] | |
}, | |
"calculatedColumnDir": {deps: ["calculatedColumnMod"]}, | |
"calculatedColumnCtrl": {deps: ["calculatedColumnMod"]}, | |
"calculatedColumnConfig": {deps: ["calculatedColumnMod"]}, | |
"calculatedColumnAPI": {deps: ["calculatedColumnMod"]}, | |
"logiFunctionsVal": {deps: ["calculatedColumnMod"]}, | |
"formulaValidatorDir": {deps: ["calculatedColumnMod", "formulaParser"]}, | |
"formulaParser": {deps: ["calculatedColumnMod"]}, | |
binningColumnMod: { | |
deps: ["appMod"] | |
}, | |
"binningColumnDir": {deps: ["binningColumnMod"]}, | |
"binningColumnCtrl": {deps: ["binningColumnMod"]}, | |
"binningColumnConfig": {deps: ["binningColumnMod"]}, | |
"binningColumnAPI": {deps: ["binningColumnMod"]}, | |
filterColumnMod: { | |
deps: ["appMod"] | |
}, | |
"filterColumnDir": {deps: ["filterColumnMod"]}, | |
"filterColumnCtrl": {deps: ["filterColumnMod"]}, | |
"filterColumnConfig": {deps: ["filterColumnMod"]}, | |
"filterColumnAPI": {deps: ["filterColumnMod"]}, | |
"formatColumnMod": { deps: ["appMod"] }, | |
"formatColumnDir": { deps: ["formatColumnMod"]}, | |
"formatColumnCtrl": { deps: ["formatColumnMod"]}, | |
"formatColumnConfig": { deps: ["formatColumnMod"]}, | |
"formatColumnAPI": { deps: ["formatColumnMod"]}, | |
"errorOverlayMod": { deps: ["appMod"] }, | |
"errorOverlayDir": { deps: ["errorOverlayMod"]}, | |
"errorOverlayCtrl": { deps: ["errorOverlayMod"]}, | |
"errorOverlayConfig": { deps: ["errorOverlayMod"]}, | |
"errorOverlayAPI": { deps: ["errorOverlayMod"]}, | |
"loadOverlayMod": { deps: ["appMod"] }, | |
"loadOverlayDir": { deps: ["loadOverlayMod"]}, | |
"loadOverlayCtrl": { deps: ["loadOverlayMod"]}, | |
"loadOverlayConfig": { deps: ["loadOverlayMod"]}, | |
"loadOverlayAPI": { deps: ["loadOverlayMod"]}, | |
vizSettingsColumnMod: { | |
deps: ["appMod"] | |
}, | |
"vizSettingsColumnDir": {deps: ["vizSettingsColumnMod"]}, | |
"vizSettingsColumnCtrl": {deps: ["vizSettingsColumnMod"]}, | |
"vizSettingsColumnConfig": {deps: ["vizSettingsColumnMod"]}, | |
"vizSettingsColumnAPI": {deps: ["vizSettingsColumnMod"]}, | |
inCellColumnMod: { | |
deps: ["appMod"] | |
}, | |
"inCellColumnDir": {deps: ["inCellColumnMod"]}, | |
"inCellColumnCtrl": {deps: ["inCellColumnMod"]}, | |
"inCellColumnConfig": {deps: ["inCellColumnMod"]}, | |
"inCellColumnAPI": {deps: ["inCellColumnMod"]}, | |
colorFilterColumnMod: { | |
deps: ["appMod"] | |
}, | |
"colorFilterColumnDir": {deps: ["colorFilterColumnMod"]}, | |
"colorFilterColumnCtrl": {deps: ["colorFilterColumnMod"]}, | |
"colorFilterColumnConfig": {deps: ["colorFilterColumnMod"]}, | |
"colorFilterColumnAPI": {deps: ["colorFilterColumnMod"]}, | |
marksColumnMod: { | |
deps: ["appMod"] | |
}, | |
"marksColumnDir": {deps: ["marksColumnMod"]}, | |
"marksColumnCtrl": {deps: ["marksColumnMod"]}, | |
"marksColumnConfig": {deps: ["marksColumnMod"]}, | |
"marksColumnAPI": {deps: ["marksColumnMod"]}, | |
dialSettingsMod: { | |
deps: ["appMod"] | |
}, | |
"dialSettingsDir": {deps: ["dialSettingsMod"]}, | |
"dialSettingsCtrl": {deps: ["dialSettingsMod"]}, | |
"dialSettingsConfig": {deps: ["dialSettingsMod"]}, | |
"dialSettingsAPI": {deps: ["dialSettingsMod"]}, | |
arcSettingsMod: { | |
deps: ["appMod"] | |
}, | |
"arcSettingsDir": {deps: ["arcSettingsMod"]}, | |
"arcSettingsCtrl": {deps: ["arcSettingsMod"]}, | |
"arcSettingsConfig": {deps: ["arcSettingsMod"]}, | |
"arcSettingsAPI": {deps: ["arcSettingsMod"]}, | |
bulletSettingsMod: { | |
deps: ["appMod"] | |
}, | |
"bulletSettingsDir": {deps: ["bulletSettingsMod"]}, | |
"bulletSettingsCtrl": {deps: ["bulletSettingsMod"]}, | |
"bulletSettingsConfig": {deps: ["bulletSettingsMod"]}, | |
"bulletSettingsAPI": {deps: ["bulletSettingsMod"]}, | |
kpiSettingsMod: { | |
deps: ["appMod"] | |
}, | |
"kpiSettingsDir": {deps: ["kpiSettingsMod"]}, | |
"kpiSettingsCtrl": {deps: ["kpiSettingsMod"]}, | |
"kpiSettingsConfig": {deps: ["kpiSettingsMod"]}, | |
"kpiSettingsAPI": {deps: ["kpiSettingsMod"]}, | |
menuColumnMod: { | |
deps: ["appMod"] | |
}, | |
"menuColumnDir": {deps: ["menuColumnMod"]}, | |
"menuColumnCtrl": {deps: ["menuColumnMod"]}, | |
"menuColumnConfig": {deps: ["menuColumnMod"]}, | |
"menuColumnAPI": {deps: ["menuColumnMod"]}, | |
legendSettingsMod: { | |
deps: ["appMod"] | |
}, | |
"legendSettingsDir": {deps: ["legendSettingsMod"]}, | |
"legendSettingsCtrl": {deps: ["legendSettingsMod"]}, | |
"legendSettingsConfig": {deps: ["legendSettingsMod"]}, | |
"legendSettingsAPI": {deps: ["legendSettingsMod"]}, | |
menuVisualizationMod: { | |
deps: ["appMod"] | |
}, | |
"menuVisualizationDir": {deps: ["menuVisualizationMod"]}, | |
"menuVisualizationCtrl": {deps: ["menuVisualizationMod"]}, | |
"menuVisualizationConfig": {deps: ["menuVisualizationMod"]}, | |
"menuVisualizationAPI": {deps: ["menuVisualizationMod"]}, | |
drillToMod: { | |
deps: ["appMod"] | |
}, | |
"drillToDir": {deps: ["drillToMod"]}, | |
"drillToCtrl": {deps: ["drillToMod"]}, | |
"drillToConfig": {deps: ["drillToMod"]}, | |
"drillToAPI": {deps: ["drillToMod"]}, | |
filterListMod: { | |
deps: ["appMod"] | |
}, | |
"filterListDir": {deps: ["filterListMod"]}, | |
"filterListCtrl": {deps: ["filterListMod"]}, | |
"filterListConfig": {deps: ["filterListMod"]}, | |
"filterListAPI": {deps: ["filterListMod"]}, | |
"iframeWidgetMod": { | |
"deps": [ | |
"appMod" | |
] | |
}, | |
"iframeWidgetDir": { | |
"deps": [ | |
"iframeWidgetMod" | |
] | |
}, | |
"iframeWidgetCtrl": { | |
"deps": [ | |
"iframeWidgetMod" | |
] | |
}, | |
"iframeWidgetConfig": { | |
"deps": [ | |
"iframeWidgetMod" | |
] | |
}, | |
"iframeWidgetService": { | |
"deps": [ | |
"iframeWidgetMod" | |
] | |
}, | |
"iframeWidgetAPI": { | |
"deps": [ | |
"iframeWidgetMod" | |
] | |
}, | |
pillMod: { | |
deps: ["angular"] | |
}, | |
"pillCtrl": {deps: ["pillMod"]}, | |
"pillDir": {deps: ["pillMod"]}, | |
"pillConfig": {deps:["pillMod"]}, | |
"pillAPI": {deps: ["pillMod"]}, | |
"pillConfigSvc": {deps: ["pillMod"]}, | |
listMenuMod: { | |
deps: ["angular"] | |
}, | |
"listMenuCtrl": {deps: ["listMenuMod"]}, | |
"listMenuDir": {deps: ["listMenuMod"]}, | |
"listMenuConfig": {deps:["listMenuMod"]}, | |
"listMenuAPI": {deps: ["listMenuMod"]}, | |
helpOverlayMod: { | |
deps: ["angular"] | |
}, | |
"helpOverlayCtrl": {deps: ["helpOverlayMod"]}, | |
"helpOverlayDir": {deps: ["helpOverlayMod"]}, | |
"helpOverlayConfig": {deps:["helpOverlayMod"]}, | |
"helpOverlayAPI": {deps: ["helpOverlayMod"]}, | |
renderZoneMod: { | |
deps: ["angular"] | |
}, | |
"renderZoneCtrl": {deps: ["renderZoneMod"]}, | |
"renderZoneDir": {deps: ["renderZoneMod"]}, | |
"renderZoneConfig": {deps: ["renderZoneMod"]}, | |
"renderZoneSupporter": {deps: ["renderZoneMod"]}, | |
"operationService": {deps: ["renderZoneMod"]}, | |
"configGenerationFactory": {deps: ["renderZoneMod"]}, | |
"binningRules": {deps: ["renderZoneMod"]}, | |
"authHelperMod": {deps: ["appMod"]}, | |
"authHelperInterceptorFactory": {deps: ["authHelperMod"]}, | |
"loginMod": {deps: ["appMod"]}, | |
"loginDir": {deps: ["loginMod"]}, | |
"loginCtl": {deps: ["loginMod"]}, | |
"loadingMod": {deps: ["appMod"]}, | |
"loadingDir": {deps: ["loadingMod"]}, | |
"loadingCtrl": {deps: ["loadingMod"]}, | |
"truncateMod": {deps: ["angular"]}, | |
"truncateFilter": {deps: ["truncateMod"]}, | |
"vizRecommendationMod": {deps: ["angular"]}, | |
"vizRecommendationSvc": {deps: ["vizRecommendationMod"]}, | |
"recommendationEngineMod": {deps: ["angular"]}, | |
"recommendationEngineSvc": {deps: ["recommendationEngineMod"]}, | |
"recommendationEngineRules": {deps: ["recommendationEngineMod"]}, | |
"combinationGroup": {deps: ["recommendationEngineMod"]}, | |
"combinationGroupLimit": {deps: ["recommendationEngineMod"]}, | |
"uniqueScore": {deps: ["recommendationEngineMod"]}, | |
"dsHelperMod": {deps: ["angular"]}, | |
"dsHelperSvc": {deps: ["dsHelperMod"]}, | |
"logiFontFitMod": {deps: ["angular", "d3"]}, | |
"logiFontFitDir": {deps: ["logiFontFitMod"]}, | |
"logiFontFitConfig": {deps: ["logiFontFitMod"]}, | |
"bestFitVizMod":{ deps: ["appMod"] }, | |
"bestFitVizDir":{ deps: ["bestFitVizMod"] }, | |
"bestFitVizConfig":{ deps: ["bestFitVizMod"] }, | |
"bestFitVizCtrl":{ deps: ["bestFitVizMod"] }, | |
"bestFitVizTransformSvc":{ deps: ["bestFitVizMod"] }, | |
"bestFitVizListSvc":{ deps: ["bestFitVizMod"] }, | |
"bestFitVizRuleSvc":{ deps: ["bestFitVizMod"] }, | |
"dialogMod": {deps: ["appMod"]}, | |
"dialogDir": {deps: ["dialogMod","dragDropSvc"]}, | |
"dialogCtrl": {deps: ["dialogMod"]}, | |
"dialogConfig": {deps: ["dialogMod"]}, | |
"dialogAPI": {deps: ["dialogMod"]}, | |
"overlayMod": {deps: ["appMod"]}, | |
"overlayConfig": {deps: ["overlayMod"]}, | |
"overlayDir": {deps: ["overlayMod"]}, | |
"overlayCtrl": {deps: ["overlayMod"]}, | |
"connectorMod": {deps: ["angular"]}, | |
"connectorDir": {deps: ["connectorMod", "connectorUtilSvc"]}, | |
"connectorUtilSvc": {deps: ["angular", "connectorMod"]}, | |
"connectorScopeMod": {deps: ["appMod"]}, | |
"connectorScopeDir": {deps: ["connectorScopeMod"]}, | |
"connectorScopeConfig": {deps: ["connectorScopeMod"]}, | |
"connectorScopeAPI" : {deps: ["connectorScopeMod"]}, | |
"dropScopeMod": {deps: ["appMod"]}, | |
"dropScopeDir": {deps: ["dropScopeMod"]}, | |
"dropScopeConfig": {deps: ["dropScopeMod"]}, | |
"dropScopeAPI" : {deps: ["dropScopeMod"]}, | |
"dropMod": {deps: ["appMod"]}, | |
"dropDir": {deps: ["dropMod"]}, | |
"dropConfig": {deps: ["dropMod"]}, | |
"dropAPI" : {deps: ["dropMod"]}, | |
"dropArrowMod": {deps: ["appMod"]}, | |
"dropArrowDir": {deps: ["dropArrowMod"]}, | |
"dropArrowConfig": {deps: ["dropArrowMod"]}, | |
"dropArrowAPI" : {deps: ["dropArrowMod"]}, | |
"dropZoneColumnMod": {deps: ["appMod"]}, | |
"dropZoneColumnDir": {deps: ["dropZoneColumnMod","dragDropSvc"]}, | |
"dropZoneColumnConfig": {deps: ["dropZoneColumnMod"]}, | |
"dropZoneColumnCtrl": {deps: ["dropZoneColumnMod"]}, | |
"dropZoneColumnAPI" : {deps: ["dropZoneColumnMod"]}, | |
"activeHeaderMod": {deps: ["appMod"]}, | |
"activeHeaderDir": {deps: ["activeHeaderMod"]}, | |
"activeHeaderConfig": {deps: ["activeHeaderMod"]}, | |
"activeHeaderCtrl": {deps: ["activeHeaderMod"]}, | |
"activeHeaderAPI" : {deps: ["activeHeaderMod"]}, | |
"dashboardBuilderMod": {deps: ["appMod", "pdbSvc"]}, | |
"dashboardBuilderDir": {deps: ["dashboardBuilderMod"]}, | |
"dashboardBuilderConfig": {deps: ["dashboardBuilderMod"]}, | |
"dashboardBuilderCtrl": {deps: ["dashboardBuilderMod"]}, | |
"dashboardBuilderService": {deps: ["dashboardBuilderMod"]}, | |
"dashboardBuilderAPI" : {deps: ["dashboardBuilderMod"]}, | |
"widgetListDir" : {deps: ["dashboardBuilderMod"]}, | |
"widgetListCtrl" : {deps: ["dashboardBuilderMod"]}, | |
"widgetListService" : {deps: ["dashboardBuilderMod"]}, | |
"widgetDropzone": {deps: ["dashboardBuilderMod"]}, | |
"filterParametersDir": {deps: ["dashboardBuilderMod"]}, | |
"filterParametersCtrl": {deps: ["dashboardBuilderMod"]}, | |
"filterParametersService": {deps: ["dashboardBuilderMod"]}, | |
"dashboardPanelMod": {deps: ["appMod"]}, | |
"dashboardPanelDir": {deps: ["dashboardPanelMod"]}, | |
"dashboardPanelConfig": {deps: ["dashboardPanelMod"]}, | |
"dashboardPanelCtrl": {deps: ["dashboardPanelMod"]}, | |
"dashboardPanelAPI" : {deps: ["dashboardPanelMod"]}, | |
"layoutContainerMod": {deps: ["appMod"]}, | |
"layoutContainerDir": {deps: ["layoutContainerMod"]}, | |
"layoutContainerConfig": {deps: ["layoutContainerMod"]}, | |
"layoutContainerCtrl": {deps: ["layoutContainerMod"]}, | |
"layoutContainerAPI" : {deps: ["layoutContainerMod"]}, | |
"layoutCompilerDir" : {deps: ["layoutContainerMod"]}, | |
"layoutResizeDir" : {deps: ["layoutContainerMod"]}, | |
"layoutCoordinatesService": {deps: ["layoutContainerMod"]}, | |
"layoutComponentsService": {deps: ["layoutContainerMod"]}, | |
"layoutDraggableDir" : {deps: ["layoutContainerMod"]}, | |
"saveDialogMod": {deps: ["appMod"]}, | |
"saveDialogDir": {deps: ["saveDialogMod"]}, | |
"saveDialogConfig": {deps: ["saveDialogMod"]}, | |
"saveDialogCtrl": {deps: ["saveDialogMod"]}, | |
"saveDialogAPI" : {deps: ["saveDialogMod"]}, | |
"editVizMod": {deps: ["appMod"]}, | |
"editVizDir": {deps: ["editVizMod"]}, | |
"editVizConfig": {deps: ["editVizMod"]}, | |
"editVizCtrl": {deps: ["editVizMod"]}, | |
"editVizAPI" : {deps: ["editVizMod"]}, | |
"sidebarMod": {deps: ["appMod"]}, | |
"sidebarDir": {deps: ["sidebarMod"]}, | |
"sidebarConfig": {deps: ["sidebarMod"]}, | |
"sidebarCtrl": {deps: ["sidebarMod"]}, | |
"sidebarAPI" : {deps: ["sidebarMod"]}, | |
"sidebarPanelComponentsMod": {deps: ["appMod"]}, | |
"sidebarPanelComponentsDir": {deps: ["sidebarPanelComponentsMod"]}, | |
"sidebarPanelComponentsConfig": {deps: ["sidebarPanelComponentsMod"]}, | |
"sidebarPanelComponentsCtrl": {deps: ["sidebarPanelComponentsMod"]}, | |
"sidebarPanelComponentsAPI" : {deps: ["sidebarPanelComponentsMod"]}, | |
"sidebarPanelInfoboardMod": {deps: ["appMod"]}, | |
"sidebarPanelInfoboardDir": {deps: ["sidebarPanelInfoboardMod"]}, | |
"sidebarPanelInfoboardConfig": {deps: ["sidebarPanelInfoboardMod"]}, | |
"sidebarPanelInfoboardCtrl": {deps: ["sidebarPanelInfoboardMod"]}, | |
"sidebarPanelInfoboardAPI" : {deps: ["sidebarPanelInfoboardMod"]}, | |
"dropZoneMod": {deps: ["appMod"]}, | |
"dropZoneDir": {deps: ["dropZoneMod","dragDropSvc"]}, | |
"dropZoneConfig": {deps: ["dropZoneMod"]}, | |
"dropZoneCtrl": {deps: ["dropZoneMod"]}, | |
"aggregateRules" : {deps: ["dropZoneMod"]}, | |
"pillSupporter" : {deps: ["dropZoneMod"]}, | |
"datatype" : {deps: ["dropZoneMod"]}, | |
"dropZoneAPI" : {deps: ["dropZoneMod"]}, | |
"visualBuilderMod": {deps: ["appMod"]}, | |
"visualBuilderCtrl": {deps: ["visualBuilderMod"]}, | |
"visualBuilderSupporter": {deps: ["visualBuilderMod"]}, | |
"visualBuilderStateManagement": {deps: ["visualBuilderMod"]}, | |
"visualBuilderDir": {deps: ["visualBuilderMod"]}, | |
"visualBuilderConfig": {deps: ["visualBuilderMod"]}, | |
"columnPickerMod": {deps: ["appMod"]}, | |
"columnPickerCtrl": {deps: ["columnPickerMod"]}, | |
"columnPickerDir": {deps: ["columnPickerMod"]}, | |
"columnPickerConfig": {deps: ["columnPickerMod"]}, | |
"columnPickerFilter": {deps: ["columnPickerMod"]}, | |
"columnPickerTransformSvc": {deps: ["columnPickerMod"]}, | |
columnPickerAPI: { | |
deps: ["columnPickerMod"] | |
}, | |
"dvNavigatorMod": {deps: ["appMod", "ui_select"]}, | |
"dvNavigatorCtrl": {deps: ["dvNavigatorMod"]}, | |
"dvNavigatorDir": {deps: ["dvNavigatorMod"]}, | |
"dvNavigatorConfig": {deps: ["dvNavigatorMod"]}, | |
"dvNavigatorSvc": {deps: ["dvNavigatorMod"]}, | |
"dvNavigatorAPI": {deps: ["dvNavigatorMod"]}, | |
"listMod": {deps: ["appMod", "ui_select"]}, | |
"listCtrl": {deps: ["listMod"]}, | |
"listDir": {deps: ["listMod"]}, | |
"listConfig": {deps: ["listMod"]}, | |
"listAPI": {deps: ["listMod"]}, | |
"listSvc": {deps: ["listMod"]}, | |
"dateFilterMod": {deps: ["appMod"]}, | |
"dateFilterCtrl": {deps: ["dateFilterMod"]}, | |
"dateFilterDir": {deps: ["dateFilterMod"]}, | |
"dateFilterConfig": {deps: ["dateFilterMod"]}, | |
"dateFilterAPI": {deps: ["dateFilterMod"]}, | |
"inCellGraphicsSvc": {deps: ["appMod"]}, | |
"colorFilterEvalFactory": {deps: ["appMod"]}, | |
"curvedLineFactory": {deps: ["appMod"]}, | |
"dragDropSvc": {deps: ["appMod"]}, | |
"blueDotScrollFactory": {deps: ["appMod", "connectorUtilSvc", "dragDropSvc"]}, | |
"scrollbarFactory": {deps: ["appMod"]}, | |
"thumbnailSvc": {deps: ["appMod"]}, | |
"pdbSvc": {deps: ["appMod", "loadingSvc"]}, | |
"loadingSvc": {deps: ["appMod"]}, | |
"thinkSpaceMod": {deps: ["appMod"]}, | |
"thinkSpaceCtrl": {deps: ["thinkSpaceMod"]}, | |
"thinkSpaceDir": {deps: ["thinkSpaceMod"]}, | |
"thinkSpaceConfig": {deps: ["thinkSpaceMod"]}, | |
"thinkSpaceAPI": {deps: ["thinkSpaceMod"]}, | |
"thinkSpaceService": {deps: ["thinkSpaceMod"]}, | |
// PIPES | |
//"pipelinesMod": {deps:["appMod"]}, | |
"domUtils": {deps: ["appMod"]}, | |
"jsonMerge": {deps: ["appMod"]}, | |
"jsonPath": {deps: ["appMod"]}, | |
"murmur": {deps: ["appMod"]}, | |
"memoize": {deps: ["appMod"]}, | |
"pipelinePlanner": {deps: ["appMod"]}, | |
"partialFunctions": {deps: ["appMod"]}, | |
"multivalue": {deps: ["appMod"]}, | |
"handlebarsShim": {deps:["appMod", "handlebars"]}, | |
"observers": {deps: ["appMod", "murmur"]}, | |
"formSerializer" : { deps: ["appMod"] }, | |
"template": {deps: ["appMod", 'jsonPath', "handlebarsShim"]}, | |
"dataviewFilter":{deps: ["appMod","template"]}, | |
"pipelineRegistry": {deps: ["appMod", 'jsonMerge']}, | |
"data":{deps:['jsonMerge']}, | |
"http":{deps:[]}, | |
"local":{deps:['jsonMerge']}, | |
"session":{deps:['jsonMerge']}, | |
"protocolRegistry": {deps: ["data", "local","session","http"]}, | |
"liveJsonQuery": {deps: ["appMod",'observers', 'jsonPath']}, | |
"liveDOMQuery": {deps: ["appMod", 'observers', 'domUtils', 'memoize']}, | |
"domElementWatcher" : {deps:['liveJsonQuery', 'observers', 'jsonPath', 'formSerializer']}, | |
"protocolWatcher" : {deps:['protocolRegistry']}, | |
"domElement": {deps: ["appMod", 'liveDOMQuery', 'multivalue', 'domUtils', 'jsonMerge', 'domElementWatcher', 'memoize']}, | |
"jsonObject": {deps: ["appMod", 'liveJsonQuery', 'jsonPath', 'multivalue']}, | |
"defaultPipes": {deps: ["appMod", 'pipelineRegistry', 'domElement', 'jsonObject', 'template', 'url', 'dataviewFilter']}, | |
"url":{deps:["protocolRegistry","protocolWatcher"]}, | |
"pipelineParser": {deps: ["appMod", 'pipelineRegistry']}, | |
"pipelineBuilder": {deps: ["appMod", 'pipelineParser','partialFunctions', 'defaultPipes', 'pipelinePlanner']}, | |
"pipelinesMod": {deps: ["appMod", "pipelineBuilder"]}, | |
"layoutMod": { | |
"deps": [ | |
"appMod" | |
] | |
}, | |
"layoutDir": { | |
"deps": [ | |
"layoutMod" | |
] | |
}, | |
"layoutCtrl": { | |
"deps": [ | |
"layoutMod" | |
] | |
}, | |
"layoutConfig": { | |
"deps": [ | |
"layoutMod" | |
] | |
}, | |
"layoutAPI": { | |
"deps": [ | |
"layoutMod" | |
] | |
}, | |
"layoutRenderFactory": { | |
"deps": [ | |
"layoutMod" | |
] | |
}, | |
"galleryMod": { | |
"deps": [ | |
"appMod" | |
] | |
}, | |
"galleryDir": { | |
"deps": [ | |
"galleryMod" | |
] | |
}, | |
"galleryCtrl": { | |
"deps": [ | |
"galleryMod" | |
] | |
}, | |
"galleryConfig": { | |
"deps": [ | |
"galleryMod" | |
] | |
}, | |
"galleryAPI": { | |
"deps": [ | |
"galleryMod" | |
] | |
}, | |
"galleryService": { | |
"deps": [ | |
"galleryMod" | |
] | |
}, | |
"galleryFilter": { | |
"deps": [ | |
"galleryMod" | |
] | |
}, | |
"blob":{deps: [""]}, | |
"fileSaver":{deps: [""]}, | |
"widgetMod": {deps: ["appMod"]}, | |
"widgetDir": {deps: ["widgetMod"]}, | |
"wizardMod": {deps: ["appMod", "ui_router", "pdbSvc"]}, | |
"wizardCtrl": {deps: ["wizardMod"]}, | |
"wizardLinkCtrl": {deps: ["wizardMod"]}, | |
"wizardThinkSpaceCtrl": {deps: ["wizardMod"]}, | |
"wizardDashboardCtrl": {deps: ["wizardMod"]}, | |
"wizardIframeWidgetCreatorCtrl": {deps: ["wizardMod"]}, | |
"wizardDir": {deps: ["wizardMod"]}, | |
"wizardConfig": {deps: ["wizardMod"]}, | |
"wizardSvc": {deps: ["wizardMod"]}, | |
"wizardAPI": {deps: ["wizardMod"]}, | |
"wizardRouting": {deps: ["wizardMod"]}, | |
"propertyGridMod": {deps: ["appMod"]}, | |
"propertyGridCtrl": {deps: ["propertyGridMod"]}, | |
"propertyGridDir": {deps: ["propertyGridMod"]}, | |
"propertyGridConfig": {deps: ["propertyGridMod"]}, | |
"propertyGridAPI": {deps: ["propertyGridMod"]}, | |
"widgetEditorMod": {deps: ["appMod"]}, | |
"widgetEditorCtrl": {deps: ["widgetEditorMod"]}, | |
"widgetEditorDir": {deps: ["widgetEditorMod"]}, | |
"widgetEditorConfig": {deps: ["widgetEditorMod"]}, | |
"widgetEditorAPI": {deps: ["widgetEditorMod"]}, | |
"widgetEditorSvs": {deps: ["widgetEditorMod"]} | |
,"cssStyleRule": {deps: ["widgetEditorMod"]} | |
,"controlButtonRule": {deps: ["widgetEditorMod"]} | |
,"controlButtonsRule": {deps: ["widgetEditorMod"]} | |
,"pillContainerRule": {deps: ["widgetEditorMod"]} | |
,"columnRule": {deps: ["widgetEditorMod"]} | |
,"columnsRule": {deps: ["widgetEditorMod"]} | |
,"visualizationLimitationRule": {deps: ["widgetEditorMod"]} | |
,"cssMarginRule": {deps: ["widgetEditorMod"]} | |
,"cssTextRule": {deps: ["widgetEditorMod"]} | |
,"chartTextRule": {deps: ["widgetEditorMod"]} | |
/* rule depth start */ | |
,"loadOverlayRule": {deps: ["widgetEditorMod"]} | |
,"errorOverlayRule": {deps: ["widgetEditorMod"]} | |
,"renderZoneRule": {deps: ["widgetEditorMod"]} | |
,"dropZoneRule": {deps: ["widgetEditorMod"]} | |
,"visualBuilderRule": {deps: ["widgetEditorMod"]} | |
,"helpOverlayRule": {deps: ["widgetEditorMod"]} | |
,"thinkSpaceRule": {deps: ["widgetEditorMod"]} | |
,"pillRule": {deps: ["widgetEditorMod"]} | |
,"overlayRule": {deps: ["widgetEditorMod"]} | |
,"listMenuRule": {deps: ["widgetEditorMod"]} | |
,"layoutRule": {deps: ["widgetEditorMod"]} | |
,"filterBuilderRule": {deps: ["widgetEditorMod"]} | |
,"dropZoneColumnRule": {deps: ["widgetEditorMod"]} | |
,"dropScopeRule": {deps: ["widgetEditorMod"]} | |
,"dropRule": {deps: ["widgetEditorMod"]} | |
,"sidebarRule": {deps: ["widgetEditorMod"]} | |
,"saveDialogRule": {deps: ["widgetEditorMod"]} | |
,"dashboardBuilderRule": {deps: ["widgetEditorMod"]} | |
,"crosstabBuilderRule": {deps: ["widgetEditorMod"]} | |
,"dropArrowRule": {deps: ["widgetEditorMod"]} | |
,"dialogRule": {deps: ["widgetEditorMod"]} | |
,"connectorScopeRule": {deps: ["widgetEditorMod"]} | |
,"columnPickerRule": {deps: ["widgetEditorMod"]} | |
,"menuColumnRule": {deps: ["widgetEditorMod"]} | |
,"inCellColumnRule": {deps: ["widgetEditorMod"]} | |
,"filterColumnRule": {deps: ["widgetEditorMod"]} | |
,"colorFilterColumnRule": {deps: ["widgetEditorMod"]} | |
,"calculatedColumnRule": {deps: ["widgetEditorMod"]} | |
,"binningColumnRule": {deps: ["widgetEditorMod"]} | |
,"bestFitVizRule": {deps: ["widgetEditorMod"]} | |
,"arcPopupMenuRule": {deps: ["widgetEditorMod"]} | |
,"analysisTblRule": {deps: ["widgetEditorMod"]} | |
,"activeHeaderRule": {deps: ["widgetEditorMod"]} | |
,"visualizationRule": {deps: ["widgetEditorMod"]} | |
/* rule depth end */ | |
}; | |
/*logi-exclude is the attribute to specify the libraries that should not be loaded.*/ | |
var seedScript = document.getElementById('logistart'); | |
var urlPrefix = seedScript.getAttribute('logi-url-prefix'); | |
var resourceString = seedScript.getAttribute('logi-resources'); | |
var theme = seedScript.getAttribute('logi-theme') || 'main'; | |
var excludeResources = seedScript.getAttribute('logi-exclude') === null ? '' : seedScript.getAttribute('logi-exclude'); | |
var qaAuto = seedScript.getAttribute('logi-qa-auto'); | |
var enableCORS = seedScript.getAttribute('logi-enable-cors'); | |
if( enableCORS === null ){ | |
enableCORS = true; | |
} | |
if( enableCORS.toLowerCase ){ | |
if( enableCORS.toLowerCase() === "false" ){ | |
enableCORS = false; | |
}else if( enableCORS.toLowerCase() === "true" ){ | |
enableCORS = true; | |
} | |
} | |
/* | |
Web path detection | |
*/ | |
// Important capture groups: | |
// Example url: //localhost:3000/testing/prefix/analysis-components/app/ | |
// Index 1: Origin including scheme and hostname if present (e.g. '//localhost:3000/') | |
// Index 4: The remainder of the url path without the final segment. (e.g. testing/prefix/analysis-components/) | |
// Index 5: The final segment of the path (e.g. app/) | |
// If a dev prefix is set, it will be removed from the value of Index 4. | |
var originExpr = new RegExp('((.*\/\/.+?)?\/)((.*\/)?([^\/]+?\/)$)'); //TODO: Handle ./ style paths | |
var originResult = originExpr.exec( require.toUrl('') ), | |
origin = '', | |
devPrefix = '', | |
appPrefix = '', | |
originTail = ''; | |
if ( urlPrefix !== undefined && urlPrefix !== null ) devPrefix = urlPrefix; | |
if ( originResult !== null ) /*Remote embed CORS*/ { | |
origin = originResult[1]; | |
originTail = originResult[5]; | |
if (originResult[4]) { | |
appPrefix = originResult[4]; | |
// If a prefix was set by the user, remove it from the app-prefix | |
if (devPrefix.length > 0 && originTail.indexOf(devPrefix) >= 0) { | |
appPrefix = appPrefix.slice(appPrefix.indexOf(devPrefix) + devPrefix.length); | |
} | |
} | |
} else /*local express*/ { | |
origin = '/'; | |
originTail = 'app/'; | |
} | |
/* | |
Save library instances. This is for librarys that force onto the window | |
in thier init code. We channel our own instances through logiContext. | |
*/ | |
var devUnderscore = false; | |
//Underscore | |
if ( window._ !== undefined ) devUnderscore = true; | |
if( excludeResources.length > 0 || window.$ !== undefined || window.angular !== undefined || window.Highcharts !== undefined ) { | |
excludeResources = excludeResources.split(','); | |
function cutShims( libName ) { | |
//Cut out jquery shims | |
var killKeys = []; | |
for ( var shimKey in Logi._shims ) { | |
var currShim = Logi._shims[ shimKey ]; | |
if ( shimKey == libName || ( currShim.hasOwnProperty( 'deps' ) && currShim.deps.indexOf( libName ) != -1 ) ) killKeys.push( shimKey ); | |
} | |
for ( var i = 0; i < killKeys.length; i++ ) { | |
delete Logi._shims[ killKeys[ i ] ]; | |
} | |
} | |
//Auto exclude jquery and angular when present | |
if ( window.$ !== undefined ) { | |
excludeResources.push('jquery'); | |
cutShims( 'jquery' ); | |
} | |
if ( window.angular !== undefined ) { | |
excludeResources.push('angular'); | |
cutShims( 'angular' ); | |
} | |
if ( window.Highcharts !== undefined ) { | |
excludeResources.push('highcharts'); | |
cutShims( 'highcharts' ); | |
} | |
//Remove from file list | |
for (i = 0; i < excludeResources.length; i++) { | |
var index = Logi._fileList.indexOf(excludeResources[i].trim()); | |
if (index > -1) { | |
Logi._fileList.splice(index, 1); | |
} | |
} | |
} | |
/** ?. Setup require **/ | |
var logiContext = require.config({ | |
context: 'logi', | |
baseUrl: origin + devPrefix + appPrefix + originTail, | |
waitSeconds: 0, | |
config: { | |
text: { | |
useXhr: true | |
} | |
}, | |
paths: Logi._paths, | |
shim: Logi._shims | |
}); | |
/** ?. Initiate Require **/ | |
logiContext(Logi._fileList, function () { | |
/* | |
$ is not used here | |
We will use angular.element in place of $ this will make it easier to direct | |
jquery calls | |
*/ | |
/* | |
Run noconflicts when supported. logiContext will provide the correct instance for us | |
later. | |
*/ | |
//Restore underscore | |
var temp_; | |
if ( devUnderscore ) temp_ = _.noConflict(); | |
else temp_ = _; | |
// Some viz calculate data from CSS, no need this flag to prevent app startup until CSS loaded | |
var cssLoaded = false; | |
/* | |
Parse arguments, may vary if logi-exclude is used | |
*/ | |
var API, | |
d3, | |
moment, | |
i18next; | |
if ( arguments[0] !== undefined && temp_.has( arguments[0], '_getAPI' ) ) /* Jquery was excluded */ { | |
API = arguments[0]; | |
d3 = arguments[1]; | |
moment = arguments[2]; | |
i18next = arguments[3]; | |
window.jsonpath = arguments[4]; | |
window.handlebars = arguments[5]; | |
} | |
else { | |
API = arguments[1]; | |
d3 = arguments[2]; | |
moment = arguments[3]; | |
i18next = arguments[4]; | |
window.jsonpath = arguments[5]; | |
window.handlebars = arguments[6]; | |
} | |
//Set API | |
Logi.Platform = API; | |
//Add API Directive | |
angular.element('body').prepend('<logi-api></logi-api>'); | |
//Add login directive | |
angular.element('body').prepend('<logi-login></logi-login>'); | |
// Export global d3 | |
if ( window.d3 === undefined ) window.d3 = d3; | |
// Export moment | |
if ( window.moment === undefined ) { | |
moment.locale( i18next.detectLanguage() ); | |
window.moment = moment; | |
} | |
//Export i18next | |
if ( window.i18next === undefined ) { | |
window.i18next = i18next; | |
} | |
/* | |
Make base url accessible | |
*/ | |
Logi.siteOrigin = origin + devPrefix; | |
Logi.appOrigin = Logi.siteOrigin + appPrefix; | |
Logi.origin = origin; | |
Logi.siteTheme = theme; | |
//Get ngLocale | |
logiContext( ['./lang/ngLocale/angular-locale_' + i18next.detectLanguage().toLowerCase() ] ); | |
//QA Automation mode | |
if ( qaAuto !== undefined && qaAuto !== null ) Logi.qaAuto = true; | |
Logi.enableCORS = enableCORS; | |
//Load theme | |
var cssRootString = '<link rel="stylesheet" type="text/css" crossorigin href="'; | |
angular.element('head').append(cssRootString + Logi.appOrigin + 'visualization_services/visualization.css" />'); | |
angular.element.ajax(Logi.appOrigin + "/style?theme=" + theme.trim(), { | |
error: function() { | |
angular.element('head').append(cssRootString + Logi.appOrigin + '/style?theme=main" />'); | |
}, | |
success: function () { | |
angular.element('head').append(cssRootString + Logi.appOrigin + '/style?theme=' + theme.trim() + '" />'); | |
}, | |
complete: function(){ | |
cssLoaded = true; | |
} | |
}); | |
/* | |
Recursively track down subResources | |
*/ | |
//var dependencies = []; | |
//var modules = []; | |
// | |
var dependencies = [ | |
'eventsManagement', | |
'widgetsUtil', | |
'chartModule', | |
'mapModule', | |
'DataViewModel', | |
'appDataProv', | |
'effectivePermissionsService', | |
'appDataFormatProv', | |
'appConfigProv', | |
'appConstants', | |
'appDataTypeSvc', | |
'appFilterSvc', | |
'appChannelManagerSvc', | |
'appProviderConfig', | |
'activeDirective', | |
'appWidgetApiFactory', | |
'visualizationAPI', | |
'appApiDir', | |
'appApiCtrl', | |
'inCellGraphicsSvc', | |
'colorFilterEvalFactory', | |
'curvedLineFactory', | |
'blueDotScrollFactory', | |
'widgetFactory', | |
'thumbnailSvc', | |
'layeredGraphicMod', | |
'layeredGraphicDir', | |
'pipelinesMod']; | |
var modules = ['appMod', 'authHelperMod', 'layeredGraphicMod']; | |
function includeSubResources( currResource, resourceFull, packageFlag ) { | |
if ( temp_.has( currResource, 'subResources' ) ) { | |
temp_.each( currResource.subResources, function( subResourceName ) { | |
//Find subResource and union it's dependencies and modules | |
temp_.each( resourceFull, function( currSubRes ) { | |
if ( subResourceName == currSubRes.name ) { | |
//Recursive call to dig and include nested submodules | |
includeSubResources( currSubRes, resourceFull, packageFlag ); | |
if (!packageFlag) { | |
dependencies = temp_.union( dependencies, currSubRes.dependencies ); | |
} | |
modules = temp_.union( modules, currSubRes.modules ); | |
return; | |
} | |
}); | |
}); | |
} | |
} | |
/* | |
Resources | |
*/ | |
angular.element.get(Logi.appOrigin + 'app/resourcePlatform.json', null, function (resourceFull) { | |
Logi.Platform.configuration = _.findWhere(resourceFull, {name: "config"}).configuration; | |
//Filter resources | |
var requestedResources; | |
if ( resourceString === null ) { | |
requestedResources = ['']; | |
} | |
else { | |
requestedResources = resourceString.split(','); | |
//Trim Resources | |
requestedResources = _.map( requestedResources, function( currResource ) { return currResource.trim(); }); | |
} | |
if ( requestedResources.length === 1 && requestedResources[0].trim() === '' ) { | |
requestedResources = ['logiPlatform']; | |
} | |
var selectedResources = []; | |
//Loop requested | |
temp_.each(requestedResources, function ( currRes ) { | |
//Find requested and add to result | |
temp_.each( resourceFull, function ( mainRes ) { | |
if ( mainRes.name == currRes ) { | |
selectedResources.push(mainRes); | |
return; | |
} | |
}); | |
}); | |
/* | |
Main function to embed content | |
*/ | |
var packageFlag = false; | |
selectedResources.forEach(function (resource) { | |
//Create an array of files that need to be loaded before bootstrapping angular | |
// example return: ['AnalysisTblMod'] | |
if (resource.package != undefined && !packageFlag) { | |
packageFlag = true; | |
dependencies = resource.dependencies; | |
} else if (!packageFlag) { | |
dependencies = temp_.union(dependencies, resource.dependencies); | |
} | |
//Create an array of modules needed for angular bootstrap | |
// example return: ['AnalysisTblMod','ui.sortable'] | |
modules = temp_.union(modules, resource.modules); | |
//Check sub resources | |
includeSubResources( resource, resourceFull, packageFlag ); | |
}); | |
//Load all necessary javascript files and then bootstrap angular | |
logiContext(dependencies, function() { | |
var test = setInterval(function() { | |
if (Logi.ngModules.app !== undefined && cssLoaded) { | |
try{ | |
if( angular.resumeBootstrap ){ | |
angular.resumeBootstrap( modules ); | |
}else{ | |
angular.bootstrap('body', modules); | |
return; | |
} | |
/* Fire logi-ready */ | |
var readyFunc = seedScript.getAttribute('logi-ready'); | |
if ( readyFunc !== undefined ) { | |
if ( window[ readyFunc ] !== undefined && temp_.isFunction( window[ readyFunc ]) ) { | |
window[ readyFunc ](); | |
} else /* Eval for namspaces and the rest */ { | |
try { | |
var fn = eval( readyFunc ); | |
if ( temp_.isFunction( fn ) ) fn(); | |
} catch ( ex ) {} | |
} | |
} | |
var ev = new CustomEvent("logi-ready"); | |
document.body.dispatchEvent(ev); | |
clearInterval(test); | |
}catch(e){ | |
console.error(e); | |
clearInterval(test); | |
} | |
} | |
}, 100); | |
}); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment