@c8y/ng1-modules 1021.54.10 → 1021.55.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.
@@ -2212,6 +2212,9 @@ msgstr "사용 가능한 알람"
2212
2212
  msgid "Available applications"
2213
2213
  msgstr "사용 가능한 애플리케이션"
2214
2214
 
2215
+ msgid "Available data point templates"
2216
+ msgstr "사용 가능한 데이터 요소 템플릿"
2217
+
2215
2218
  msgid "Available data points"
2216
2219
  msgstr "사용 가능한 데이터 포인트"
2217
2220
 
@@ -10252,15 +10255,15 @@ msgstr "표시할 데이터 커넥터가 없습니다."
10252
10255
  msgid "No data filters defined."
10253
10256
  msgstr "데이터 필터가 정의되지 않았습니다."
10254
10257
 
10258
+ msgid "No data point templates to display."
10259
+ msgstr "표시할 데이터 포인트 템플릿이 없습니다."
10260
+
10255
10261
  msgid "No data points found."
10256
10262
  msgstr "데이터 포인트가 없습니다."
10257
10263
 
10258
10264
  msgid "No data points selected"
10259
10265
  msgstr "선택한 데이터 요소가 없습니다."
10260
10266
 
10261
- msgid "No data points selected."
10262
- msgstr "데이터 포인트를 선택하지 않았습니다."
10263
-
10264
10267
  msgid "No data points to display."
10265
10268
  msgstr "표시할 데이터 포인트가 없습니다."
10266
10269
 
@@ -13655,6 +13658,9 @@ msgstr "선택한 자산"
13655
13658
  msgid "Selected configuration"
13656
13659
  msgstr "선택한 구성"
13657
13660
 
13661
+ msgid "Selected data point templates"
13662
+ msgstr "선택한 데이터 요소 템플릿"
13663
+
13658
13664
  msgid "Selected data points"
13659
13665
  msgstr "선택된 데이터 포인트"
13660
13666
 
@@ -19242,6 +19248,9 @@ msgstr "{{ seconds }} s`새로 고침까지`"
19242
19248
  msgid "{{ secondsLeft }} s / {{ interval }} s"
19243
19249
  msgstr "{{ secondsLeft }}초 / {{ interval }}초"
19244
19250
 
19251
+ msgid "{{ selectedListTitle }}"
19252
+ msgstr "{{ selectedListTitle }}"
19253
+
19245
19254
  msgid "{{ successfulDevicesCount }} devices registered"
19246
19255
  msgstr "디바이스 {{ successfulDevicesCount }}개 등록됨"
19247
19256
 
@@ -2230,6 +2230,9 @@ msgstr "Beschikbare alarmen"
2230
2230
  msgid "Available applications"
2231
2231
  msgstr "Beschikbare applicaties"
2232
2232
 
2233
+ msgid "Available data point templates"
2234
+ msgstr "Beschikbare sjablonen voor gegevenspunten"
2235
+
2233
2236
  msgid "Available data points"
2234
2237
  msgstr "Beschikbare gegevenspunten"
2235
2238
 
@@ -10270,15 +10273,15 @@ msgstr "Er kunnen geen dataconnectoren worden weergegeven."
10270
10273
  msgid "No data filters defined."
10271
10274
  msgstr "Geen gegevensfilters gedefinieerd."
10272
10275
 
10276
+ msgid "No data point templates to display."
10277
+ msgstr "Geen Gegevenspunt-sjablonen om weer te geven."
10278
+
10273
10279
  msgid "No data points found."
10274
10280
  msgstr "Geen gegevenspunt gevonden."
10275
10281
 
10276
10282
  msgid "No data points selected"
10277
10283
  msgstr "Geen Gegevenspunten geselecteerd"
10278
10284
 
10279
- msgid "No data points selected."
10280
- msgstr "Geen gegevenspunten geselecteerd."
10281
-
10282
10285
  msgid "No data points to display."
10283
10286
  msgstr "Er kunnen geen gegevenspunten worden weergegeven."
10284
10287
 
@@ -13673,6 +13676,9 @@ msgstr "Geselecteerde assets"
13673
13676
  msgid "Selected configuration"
13674
13677
  msgstr "Geselecteerde configuratie"
13675
13678
 
13679
+ msgid "Selected data point templates"
13680
+ msgstr "Gegevenspunt-sjablonen selecteren"
13681
+
13676
13682
  msgid "Selected data points"
13677
13683
  msgstr "Geselecteerde gegevenspunten"
13678
13684
 
@@ -19265,6 +19271,9 @@ msgstr "{{ seconds }} s"
19265
19271
  msgid "{{ secondsLeft }} s / {{ interval }} s"
19266
19272
  msgstr "{{ secondsLeft }} s / {{ interval }} s"
19267
19273
 
19274
+ msgid "{{ selectedListTitle }}"
19275
+ msgstr "{{ selectedListTitle }}"
19276
+
19268
19277
  msgid "{{ successfulDevicesCount }} devices registered"
19269
19278
  msgstr "{{ successfulDevicesCount }} apparaten geregistreerd"
19270
19279
 
@@ -2269,6 +2269,9 @@ msgstr "Dostępne alarmy"
2269
2269
  msgid "Available applications"
2270
2270
  msgstr "Dostępne aplikacje"
2271
2271
 
2272
+ msgid "Available data point templates"
2273
+ msgstr "Dostępne szablony punktów danych"
2274
+
2272
2275
  msgid "Available data points"
2273
2276
  msgstr "Dostępne punkty danych"
2274
2277
 
@@ -10318,15 +10321,15 @@ msgstr "Brak łączników danych do wyświetlenia."
10318
10321
  msgid "No data filters defined."
10319
10322
  msgstr "Nie zdefiniowano żadnych filtrów danych."
10320
10323
 
10324
+ msgid "No data point templates to display."
10325
+ msgstr "Brak szablonów punktów danych do wyświetlenia."
10326
+
10321
10327
  msgid "No data points found."
10322
10328
  msgstr "Nie znaleziono punktów danych."
10323
10329
 
10324
10330
  msgid "No data points selected"
10325
10331
  msgstr "Nie wybrano punktów danych"
10326
10332
 
10327
- msgid "No data points selected."
10328
- msgstr "Nie wybrano punktów danych."
10329
-
10330
10333
  msgid "No data points to display."
10331
10334
  msgstr "Brak punktów danych do wyświetlenia."
10332
10335
 
@@ -13721,6 +13724,9 @@ msgstr "Wybrane zasoby"
13721
13724
  msgid "Selected configuration"
13722
13725
  msgstr "Wybrana konfiguracja"
13723
13726
 
13727
+ msgid "Selected data point templates"
13728
+ msgstr "Wybrane Szablony Punktów danych"
13729
+
13724
13730
  msgid "Selected data points"
13725
13731
  msgstr "Wybrane punkty danych"
13726
13732
 
@@ -19322,6 +19328,9 @@ msgstr "{{ seconds }} s"
19322
19328
  msgid "{{ secondsLeft }} s / {{ interval }} s"
19323
19329
  msgstr "{{ secondsLeft }} s / {{ interval }} s"
19324
19330
 
19331
+ msgid "{{ selectedListTitle }}"
19332
+ msgstr "{{ selectedListTitle }}"
19333
+
19325
19334
  msgid "{{ successfulDevicesCount }} devices registered"
19326
19335
  msgstr "Liczba zarejestrowanych urządzeń: {{ successfulDevicesCount }}"
19327
19336
 
@@ -2230,6 +2230,9 @@ msgstr "Alarmes disponíveis"
2230
2230
  msgid "Available applications"
2231
2231
  msgstr "Aplicações disponíveis"
2232
2232
 
2233
+ msgid "Available data point templates"
2234
+ msgstr "Modelos de pontos de dados disponíveis"
2235
+
2233
2236
  msgid "Available data points"
2234
2237
  msgstr "Pontos de dados disponíveis"
2235
2238
 
@@ -10271,15 +10274,15 @@ msgstr "Nenhum conector de dados para exibir."
10271
10274
  msgid "No data filters defined."
10272
10275
  msgstr "Não foram definidos filtros de dados."
10273
10276
 
10277
+ msgid "No data point templates to display."
10278
+ msgstr "Não há modelos de pontos de dados para exibir."
10279
+
10274
10280
  msgid "No data points found."
10275
10281
  msgstr "Nenhum ponto de dados encontrado."
10276
10282
 
10277
10283
  msgid "No data points selected"
10278
10284
  msgstr "Nenhum ponto de dados selecionado"
10279
10285
 
10280
- msgid "No data points selected."
10281
- msgstr "Nenhum ponto de dados selecionado."
10282
-
10283
10286
  msgid "No data points to display."
10284
10287
  msgstr "Nenhum ponto de dados para exibir."
10285
10288
 
@@ -13674,6 +13677,9 @@ msgstr "Ativos selecionados"
13674
13677
  msgid "Selected configuration"
13675
13678
  msgstr "Configuração selecionada"
13676
13679
 
13680
+ msgid "Selected data point templates"
13681
+ msgstr "Modelos de pontos de dados selecionados"
13682
+
13677
13683
  msgid "Selected data points"
13678
13684
  msgstr "Pontos de dados selecionados"
13679
13685
 
@@ -19266,6 +19272,9 @@ msgstr "{{ seconds }} s"
19266
19272
  msgid "{{ secondsLeft }} s / {{ interval }} s"
19267
19273
  msgstr "{{ secondsLeft }} s / {{ interval }} s"
19268
19274
 
19275
+ msgid "{{ selectedListTitle }}"
19276
+ msgstr "{{ selectedListTitle }}"
19277
+
19269
19278
  msgid "{{ successfulDevicesCount }} devices registered"
19270
19279
  msgstr "{{ successfulDevicesCount }} dispositivos registrados"
19271
19280
 
@@ -2213,6 +2213,9 @@ msgstr "可用警报"
2213
2213
  msgid "Available applications"
2214
2214
  msgstr "可用应用程序"
2215
2215
 
2216
+ msgid "Available data point templates"
2217
+ msgstr "可用的数据点模板"
2218
+
2216
2219
  msgid "Available data points"
2217
2220
  msgstr "可用数据点"
2218
2221
 
@@ -10253,15 +10256,15 @@ msgstr "没有可供显示的数据连接器。"
10253
10256
  msgid "No data filters defined."
10254
10257
  msgstr "未定义数据过滤器。"
10255
10258
 
10259
+ msgid "No data point templates to display."
10260
+ msgstr "无数据点模板显示。"
10261
+
10256
10262
  msgid "No data points found."
10257
10263
  msgstr "未找到数据点。"
10258
10264
 
10259
10265
  msgid "No data points selected"
10260
10266
  msgstr "未选择数据点"
10261
10267
 
10262
- msgid "No data points selected."
10263
- msgstr "未选择数据点。"
10264
-
10265
10268
  msgid "No data points to display."
10266
10269
  msgstr "没有可供显示的数据点。"
10267
10270
 
@@ -13656,6 +13659,9 @@ msgstr "已选择资产"
13656
13659
  msgid "Selected configuration"
13657
13660
  msgstr "选定配置"
13658
13661
 
13662
+ msgid "Selected data point templates"
13663
+ msgstr "选定的数据点模板"
13664
+
13659
13665
  msgid "Selected data points"
13660
13666
  msgstr "所选数据点"
13661
13667
 
@@ -19243,6 +19249,9 @@ msgstr "{{ seconds }} 直到刷新"
19243
19249
  msgid "{{ secondsLeft }} s / {{ interval }} s"
19244
19250
  msgstr "{{ secondsLeft }} 秒 / {{ interval }} 秒"
19245
19251
 
19252
+ msgid "{{ selectedListTitle }}"
19253
+ msgstr "{{ selectedListTitle }}"
19254
+
19246
19255
  msgid "{{ successfulDevicesCount }} devices registered"
19247
19256
  msgstr "{{ successfulDevicesCount }} 台设备已注册"
19248
19257
 
@@ -2213,6 +2213,9 @@ msgstr "可用報警"
2213
2213
  msgid "Available applications"
2214
2214
  msgstr "可用应用程序"
2215
2215
 
2216
+ msgid "Available data point templates"
2217
+ msgstr "可用的資料點範本"
2218
+
2216
2219
  msgid "Available data points"
2217
2220
  msgstr "可用数据点"
2218
2221
 
@@ -10253,15 +10256,15 @@ msgstr "没有可供显示的数据连接器。"
10253
10256
  msgid "No data filters defined."
10254
10257
  msgstr "未定义数据过滤器。"
10255
10258
 
10259
+ msgid "No data point templates to display."
10260
+ msgstr "沒有要顯示的資料點範本。"
10261
+
10256
10262
  msgid "No data points found."
10257
10263
  msgstr "未找到数据点。"
10258
10264
 
10259
10265
  msgid "No data points selected"
10260
10266
  msgstr "未選擇資料點"
10261
10267
 
10262
- msgid "No data points selected."
10263
- msgstr "未选择数据点。"
10264
-
10265
10268
  msgid "No data points to display."
10266
10269
  msgstr "没有可供显示的数据点。"
10267
10270
 
@@ -13656,6 +13659,9 @@ msgstr "已选择资产"
13656
13659
  msgid "Selected configuration"
13657
13660
  msgstr "選取的配置"
13658
13661
 
13662
+ msgid "Selected data point templates"
13663
+ msgstr "選取的資料點範本"
13664
+
13659
13665
  msgid "Selected data points"
13660
13666
  msgstr "所选数据点"
13661
13667
 
@@ -19243,6 +19249,9 @@ msgstr "{{ seconds }} s`until refresh`"
19243
19249
  msgid "{{ secondsLeft }} s / {{ interval }} s"
19244
19250
  msgstr "{{ secondsLeft }} 秒 / {{ interval }} 秒"
19245
19251
 
19252
+ msgid "{{ selectedListTitle }}"
19253
+ msgstr "{{ selectedListTitle }}"
19254
+
19246
19255
  msgid "{{ successfulDevicesCount }} devices registered"
19247
19256
  msgstr "{{ successfulDevicesCount }} 台设备已注册"
19248
19257
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@c8y/ng1-modules",
3
- "version": "1021.54.10",
3
+ "version": "1021.55.1",
4
4
  "license": "Apache-2.0",
5
5
  "author": "Cumulocity",
6
6
  "description": "AngularJS modules for Cumulocity IoT applications.",
@@ -1 +1 @@
1
- function _typeof(r){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(r){return typeof r}:function(r){return r&&"function"==typeof Symbol&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r})(r)}function _defineProperty(r,e,t){return(e=_toPropertyKey(e))in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}function _toPropertyKey(r){r=_toPrimitive(r,"string");return"symbol"==_typeof(r)?r:r+""}function _toPrimitive(r,e){if("object"!=_typeof(r)||!r)return r;var t=r[Symbol.toPrimitive];if(void 0===t)return("string"===e?String:Number)(r);t=t.call(r,e||"default");if("object"!=_typeof(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(r,e){var t;if(r)return"string"==typeof r?_arrayLikeToArray(r,e):"Map"===(t="Object"===(t={}.toString.call(r).slice(8,-1))&&r.constructor?r.constructor.name:t)||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,e):void 0}function _arrayLikeToArray(r,e){(null==e||e>r.length)&&(e=r.length);for(var t=0,n=Array(e);t<e;t++)n[t]=r[t];return n}function _iterableToArrayLimit(r,e){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var n,o,i,a,l=[],u=!0,c=!1;try{if(i=(t=t.call(r)).next,0===e){if(Object(t)!==t)return;u=!1}else for(;!(u=(n=i.call(t)).done)&&(l.push(n.value),l.length!==e);u=!0);}catch(r){c=!0,o=r}finally{try{if(!u&&null!=t.return&&(a=t.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}function _arrayWithHoles(r){if(Array.isArray(r))return r}angular.module("c8y.smartRules").directive("smartRuleParamInputKpi",function(){return{require:"^smartRuleParamInput",scope:{rule:"=",param:"="},restrict:"E",templateUrl:":::PLUGIN_PATH:::/views/paramInputKpi.html",link:function(r,e,t,n){r.placeholder=n.placeholder},controller:["$scope","c8yKpi","c8yDataPointSvc",function(i,r,e){function t(){var r=i.param.property;r&&(i.kpiId=i.rule.config[r])}function n(r){var e=i.rule,t=i.param,e=e.config,n=_.find(i.kpis,{id:r}),o=t.mapSelectedKpiToProperties,o=(n&&o&&(n=n.c8y_Kpi,_.assign(e,_defineProperty(_defineProperty(_defineProperty(_defineProperty({},o.fragment,n.fragment),o.series,n.series),o.redRangeMin,_.get(n,"redRangeMin",90)),o.redRangeMax,_.get(n,"redRangeMax",100)))),t.property);o&&(e[o]=r)}_.assign(i,{getKpiLabel:function(r){r=r.c8y_Kpi;return"".concat(r.label," - ").concat(r.series)},openKpiSelector:function(){e.chooseKpiWithUI().then(function(r){r=_slicedToArray(r,1)[0];i.kpiId=r._kpiId,n(i.kpiId)})},onKpiSelectionChange:n}),r.list().then(function(r){i.kpis=r}).then(t)}]}});
1
+ function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _defineProperty(e,r,t){return(r=_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function _toPropertyKey(e){e=_toPrimitive(e,"string");return"symbol"==_typeof(e)?e:e+""}function _toPrimitive(e,r){if("object"!=_typeof(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0===t)return("string"===r?String:Number)(e);t=t.call(e,r||"default");if("object"!=_typeof(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}function _slicedToArray(e,r){return _arrayWithHoles(e)||_iterableToArrayLimit(e,r)||_unsupportedIterableToArray(e,r)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(e,r){var t;if(e)return"string"==typeof e?_arrayLikeToArray(e,r):"Map"===(t="Object"===(t={}.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:t)||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(e,r):void 0}function _arrayLikeToArray(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=Array(r);t<r;t++)n[t]=e[t];return n}function _iterableToArrayLimit(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var n,i,o,a,l=[],u=!0,p=!1;try{if(o=(t=t.call(e)).next,0===r){if(Object(t)!==t)return;u=!1}else for(;!(u=(n=o.call(t)).done)&&(l.push(n.value),l.length!==r);u=!0);}catch(e){p=!0,i=e}finally{try{if(!u&&null!=t.return&&(a=t.return(),Object(a)!==a))return}finally{if(p)throw i}}return l}}function _arrayWithHoles(e){if(Array.isArray(e))return e}angular.module("c8y.smartRules").directive("smartRuleParamInputKpi",function(){return{require:"^smartRuleParamInput",scope:{rule:"=",param:"=",ruleTemplate:"="},restrict:"E",templateUrl:":::PLUGIN_PATH:::/views/paramInputKpi.html",link:function(e,r,t,n){e.placeholder=n.placeholder},controller:["$scope","c8yKpi","c8yDatapointSelectorService",function(o,e,r){function t(){var e=o.param.property;e&&(o.kpiId=o.rule.config[e])}function i(e){var r=o.rule,t=o.param,r=r.config,n=_.find(o.kpis,{id:e}),i=t.mapSelectedKpiToProperties,i=(n&&i&&(n=n.c8y_Kpi,_.assign(r,_defineProperty(_defineProperty(_defineProperty(_defineProperty({},i.fragment,n.fragment),i.series,n.series),i.redRangeMin,_.get(n,"redRangeMin",90)),i.redRangeMax,_.get(n,"redRangeMax",100)))),t.property);i&&(r[i]=e)}_.assign(o,{getKpiLabel:function(e){e=e.c8y_Kpi;return"".concat(e.label," - ").concat(e.series)},openKpiSelector:function(){var n="thresholdSmartRule"===o.ruleTemplate.name;r.selectDataPoints({finishWithFirstSelection:!0,contextAsset:o.rule.c8y_Context?o.rule.c8y_Context.contextData:null,datapointTemplatesOnly:n,itemsEditable:!1}).then(function(e){var r,t,e=_slicedToArray(e,1)[0];n?(o.kpiId=e.__template,i(e.__template)):(e=e,r=o.rule,t=o.param,r=r.config,t=t.mapSelectedKpiToProperties,e&&t&&_.assign(r,_defineProperty(_defineProperty(_defineProperty(_defineProperty({},t.fragment,e.fragment),t.series,e.series),t.redRangeMin,_.get(e,"redRangeMin",90)),t.redRangeMax,_.get(e,"redRangeMax",100))))})},onKpiIdSelectionChange:i}),e.list().then(function(e){o.kpis=e}).then(t)}]}});
@@ -56,7 +56,7 @@
56
56
  <smart-rule-param-input-geofence rule="rule" param="param"></smart-rule-param-input-geofence>
57
57
  </div>
58
58
  <div ng-switch-when="kpi" ng-init="rule.config[param.property] = initialValue">
59
- <smart-rule-param-input-kpi rule="rule" param="param"> </smart-rule-param-input-kpi>
59
+ <smart-rule-param-input-kpi rule="rule" param="param" rule-template="ruleTemplate"> </smart-rule-param-input-kpi>
60
60
  </div>
61
61
  <div ng-switch-when="operation" ng-init="rule.config[param.property] = initialValue">
62
62
  <smart-rule-param-input-operation
@@ -6,7 +6,7 @@
6
6
  class="form-control"
7
7
  ng-options="kpi.id as getKpiLabel(kpi) for kpi in kpis | orderBy:['label','series']"
8
8
  ng-model="kpiId"
9
- ng-change="onKpiSelectionChange(kpiId)"
9
+ ng-change="onKpiIdSelectionChange(kpiId)"
10
10
  ng-required="param.required"
11
11
  >
12
12
  <option
@@ -27,7 +27,7 @@
27
27
  type="button"
28
28
  ng-click="openKpiSelector()"
29
29
  >
30
- <i c8y-icon="search"></i>
30
+ <i c8y-icon="eyedropper"></i>
31
31
  </button>
32
32
  </span>
33
33
  </div>