@c8y/ng1-modules 1021.70.1 → 1021.71.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1 +1 @@
|
|
|
1
|
-
angular.module("c8y.cockpit.dataPointExplorerUI",["c8y.cockpit.dataPointExplorer"]).config(["c8yViewsProvider","c8yNavigatorProvider","dataPointExplorerTemplateBasePath","gettext",function(r,e,a
|
|
1
|
+
(()=>{function n(e){return e.getFeatureStatePromise("ui.datapoint-explorer.v2").then(function(e){return!e})}n.$inject=["c8yFeatureCacheService"],angular.module("c8y.cockpit.dataPointExplorerUI",["c8y.cockpit.dataPointExplorer"]).config(["c8yViewsProvider","c8yNavigatorProvider","dataPointExplorerTemplateBasePath","gettext",function(r,e,t,a){var o={name:a("Data explorer"),icon:"c8y-data-explorer",path:"datapointexplorer",priority:50,featureId:"dataExplorer",showIf:n},i={icon:"c8y-data-explorer",name:a("Data explorer"),templateUrl:"".concat(t,"explorer.html"),controller:"c8yDataPointExplorerCtrl",featureId:"dataExplorer",showIf:n};e.addNavigation(o),_.forEach(["/datapointexplorer","/device/:deviceId","/group/:groupId"],function(e){r.when(e,_.cloneDeep(i))})}])})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
angular.module("c8y.cockpit.dataPointExplorer",["c8y.deviceSelector"]).constant("dataPointExplorerTemplateBasePath",":::PLUGIN_PATH:::/views/").config(["c8yComponentsProvider","gettext",function(t,e){t.add({name:"Data points graph",nameDisplay:e("Data points graph"),description:e("A graph display of a collection of data points"),templateUrl:":::PLUGIN_PATH:::/views/widget.html",configTemplateUrl:":::PLUGIN_PATH:::/views/widgetConfig.html",previewImage:":::PLUGIN_PATH:::/img/data-points-graph-widget-pr.png",options:{noDeviceTarget:!0,minCol:4,datapointAttributes:["datapoints"]},displaySettings:{globalTimeContext:!0,globalRealtimeContext:!0,globalAggregationContext:!0}})}]);
|
|
1
|
+
(()=>{function a(t){return t.getFeatureStatePromise("ui.datapoint-graph.v2").then(function(t){return!t})}a.$inject=["c8yFeatureCacheService"],angular.module("c8y.cockpit.dataPointExplorer",["c8y.deviceSelector"]).constant("dataPointExplorerTemplateBasePath",":::PLUGIN_PATH:::/views/").config(["c8yComponentsProvider","gettext",function(t,e){t.add({name:"Data points graph",nameDisplay:e("Data points graph"),description:e("A graph display of a collection of data points"),templateUrl:":::PLUGIN_PATH:::/views/widget.html",configTemplateUrl:":::PLUGIN_PATH:::/views/widgetConfig.html",previewImage:":::PLUGIN_PATH:::/img/data-points-graph-widget-pr.png",options:{noDeviceTarget:!0,minCol:4,datapointAttributes:["datapoints"]},displaySettings:{globalTimeContext:!0,globalRealtimeContext:!0,globalAggregationContext:!0},showIf:a})}])})();
|