@c8y/ng1-modules 1023.15.0 → 1023.17.0
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.
- package/core/locales/de.po +44 -30
- package/core/locales/es.po +42 -30
- package/core/locales/fr.po +43 -31
- package/core/locales/ja_JP.po +39 -29
- package/core/locales/ko.po +42 -30
- package/core/locales/nl.po +43 -31
- package/core/locales/pl.po +46 -34
- package/core/locales/pt_BR.po +42 -30
- package/core/locales/zh_CN.po +40 -30
- package/core/locales/zh_TW.po +44 -30
- package/eventList/eventList.controller.js +1 -1
- package/package.json +1 -1
package/core/locales/zh_CN.po
CHANGED
|
@@ -2964,6 +2964,9 @@ msgstr "证书密码"
|
|
|
2964
2964
|
msgid "Certificate saved."
|
|
2965
2965
|
msgstr "证书已保存。"
|
|
2966
2966
|
|
|
2967
|
+
msgid "Certificate serial number: \"{{ serialNumber }}\""
|
|
2968
|
+
msgstr "证书序列号:\"{{ serialNumber }}\""
|
|
2969
|
+
|
|
2967
2970
|
msgid "Certificate serial number: \"{{ serialNumber }}\".\n"
|
|
2968
2971
|
"Expiration date: {{ expirationDate | absoluteDate }}."
|
|
2969
2972
|
msgstr "证书序列号:\"{{ serialNumber }}\"。\n"
|
|
@@ -5353,6 +5356,9 @@ msgstr "细节切换"
|
|
|
5353
5356
|
msgid "Details"
|
|
5354
5357
|
msgstr "详细信息"
|
|
5355
5358
|
|
|
5359
|
+
msgid "Details panel"
|
|
5360
|
+
msgstr "详细信息面板"
|
|
5361
|
+
|
|
5356
5362
|
msgid "Developer mode"
|
|
5357
5363
|
msgstr "开发者模式"
|
|
5358
5364
|
|
|
@@ -6632,18 +6638,12 @@ msgstr "全部展开"
|
|
|
6632
6638
|
msgid "Expand all groups"
|
|
6633
6639
|
msgstr "展开所有组"
|
|
6634
6640
|
|
|
6635
|
-
msgid "Expand breadcrumbs"
|
|
6636
|
-
msgstr "展开痕迹"
|
|
6637
|
-
|
|
6638
6641
|
msgid "Expand node"
|
|
6639
6642
|
msgstr "展开节点"
|
|
6640
6643
|
|
|
6641
6644
|
msgid "Expand/collapse"
|
|
6642
6645
|
msgstr "展开/折叠"
|
|
6643
6646
|
|
|
6644
|
-
msgid "Expand/collapse all breadcrumbs"
|
|
6645
|
-
msgstr "展开/折叠所有痕迹"
|
|
6646
|
-
|
|
6647
6647
|
msgid "Expected 1 endpointId argument"
|
|
6648
6648
|
msgstr "需要 1 个 endpointId 自变量"
|
|
6649
6649
|
|
|
@@ -7190,6 +7190,16 @@ msgid "Find out more about each option in the\n"
|
|
|
7190
7190
|
msgstr "在\n"
|
|
7191
7191
|
" <a ng-href=\"{{ ::helpLink }}\" target=\"_blank\" rel=\"noopener noreferrer\">用户文档</a>中详细了解每个选项。"
|
|
7192
7192
|
|
|
7193
|
+
msgid "Find out more in the\n"
|
|
7194
|
+
" <a c8y-guide-href=\"/docs/cockpit/working-with-dashboards\">user documentation</a>\n"
|
|
7195
|
+
" ."
|
|
7196
|
+
msgstr "了解更多信息,请参阅<a c8y-guide-href=\"/docs/cockpit/working-with-dashboards\">用户文档</a>:\n\n"
|
|
7197
|
+
|
|
7198
|
+
msgid "Find out more in the\n"
|
|
7199
|
+
" <a c8y-guide-href=\"{{ docsUrl }}\">user documentation</a>\n"
|
|
7200
|
+
" ."
|
|
7201
|
+
msgstr "了解更多信息,请参阅<a c8y-guide-href=\"{{ docsUrl }}\">用户文档</a>:\n\n"
|
|
7202
|
+
|
|
7193
7203
|
msgid "Find out more in the\n"
|
|
7194
7204
|
" <a c8y-guide-href=\"/docs/cockpit/widgets-collection/#kpi\">user documentation</a>\n"
|
|
7195
7205
|
" ."
|
|
@@ -7249,13 +7259,6 @@ msgstr "了解更多信息,请参阅\n"
|
|
|
7249
7259
|
" <a c8y-guide-href=\"/docs/cockpit/widgets-collection/#info-gauge\">用户文档</a>\n"
|
|
7250
7260
|
"。"
|
|
7251
7261
|
|
|
7252
|
-
msgid "Find out more in the\n"
|
|
7253
|
-
" <a c8y-guide-href=\"/docs/cockpit/working-with-dashboards\">user documentation</a>\n"
|
|
7254
|
-
" ."
|
|
7255
|
-
msgstr "在\n"
|
|
7256
|
-
" <a c8y-guide-href=\"/docs/cockpit/working-with-dashboards\">用户文档</a>\n"
|
|
7257
|
-
"中详细了解。"
|
|
7258
|
-
|
|
7259
7262
|
msgid "Find out more in the\n"
|
|
7260
7263
|
" <a c8y-guide-href=\"/docs/device-management-application/managing-device-data/#managing-configurations\">\n"
|
|
7261
7264
|
" user documentation\n"
|
|
@@ -7267,17 +7270,6 @@ msgstr "在\n"
|
|
|
7267
7270
|
" </a>\n"
|
|
7268
7271
|
"中详细了解。"
|
|
7269
7272
|
|
|
7270
|
-
msgid "Find out more in the\n"
|
|
7271
|
-
" <a c8y-guide-href=\"/docs/device-management-application/monitoring-and-controlling-devices/#working-with-alarms\">\n"
|
|
7272
|
-
" user documentation\n"
|
|
7273
|
-
" </a>\n"
|
|
7274
|
-
" ."
|
|
7275
|
-
msgstr "在\n"
|
|
7276
|
-
" <a c8y-guide-href=\"/docs/device-management-application/monitoring-and-controlling-devices/#working-with-alarms\">\n"
|
|
7277
|
-
" 用户文档\n"
|
|
7278
|
-
" </a>\n"
|
|
7279
|
-
"中详细了解。"
|
|
7280
|
-
|
|
7281
7273
|
msgid "Find out more in the\n"
|
|
7282
7274
|
" <a c8y-guide-href=\"/docs/cockpit/widgets-collection/#data-point-graph\">\n"
|
|
7283
7275
|
" user documentation\n"
|
|
@@ -10814,6 +10806,9 @@ msgstr "没有网络连接。无法访问微服务。"
|
|
|
10814
10806
|
msgid "No inventory roles mapping rules defined."
|
|
10815
10807
|
msgstr "未定义任何库存角色映射规则。"
|
|
10816
10808
|
|
|
10809
|
+
msgid "No item selected"
|
|
10810
|
+
msgstr "未选择任何项目"
|
|
10811
|
+
|
|
10817
10812
|
msgid "No items"
|
|
10818
10813
|
msgstr "无项"
|
|
10819
10814
|
|
|
@@ -13851,6 +13846,9 @@ msgstr "从列表中选择具有事件的资产。"
|
|
|
13851
13846
|
msgid "Select an instruction."
|
|
13852
13847
|
msgstr "选择说明。"
|
|
13853
13848
|
|
|
13849
|
+
msgid "Select an item from the list to view details"
|
|
13850
|
+
msgstr "从列表中选择一项查看详情"
|
|
13851
|
+
|
|
13854
13852
|
msgid "Select and confirm widget assets mapping"
|
|
13855
13853
|
msgstr "选择并确认小组件资产映射"
|
|
13856
13854
|
|
|
@@ -14972,8 +14970,8 @@ msgstr "显示子设备发出的警报"
|
|
|
14972
14970
|
msgid "Show all"
|
|
14973
14971
|
msgstr "全部显示"
|
|
14974
14972
|
|
|
14975
|
-
msgid "Show all
|
|
14976
|
-
msgstr "
|
|
14973
|
+
msgid "Show all paths"
|
|
14974
|
+
msgstr "显示所有路径"
|
|
14977
14975
|
|
|
14978
14976
|
msgid "Show archived packages"
|
|
14979
14977
|
msgstr "显示存档软件包"
|
|
@@ -15468,6 +15466,15 @@ msgid "Specifying auto-apply constraints allows you to limit the scope where the
|
|
|
15468
15466
|
msgstr "指定自动应用约束允许您限制\n"
|
|
15469
15467
|
"设备协议的应用范围,例如通过指定一组可能的服务器或节点 ID。"
|
|
15470
15468
|
|
|
15469
|
+
msgid "Split view information sections"
|
|
15470
|
+
msgstr "分屏视图信息区域"
|
|
15471
|
+
|
|
15472
|
+
msgid "Split view interface"
|
|
15473
|
+
msgstr "分屏视图界面"
|
|
15474
|
+
|
|
15475
|
+
msgid "Split view list"
|
|
15476
|
+
msgstr "分屏视图列表"
|
|
15477
|
+
|
|
15471
15478
|
msgid "Start"
|
|
15472
15479
|
msgstr "开始"
|
|
15473
15480
|
|
|
@@ -16005,6 +16012,9 @@ msgstr "为租户\"{{ tenantId }}\"创建的租户证书颁发机构(CA)"
|
|
|
16005
16012
|
msgid "Tenant certificate authority (CA) renewal for tenant \"{{ tenantId }}\" failed"
|
|
16006
16013
|
msgstr "租户证书颁发机构 (CA) 续期失败,租户为 \"{{ tenantId }}\""
|
|
16007
16014
|
|
|
16015
|
+
msgid "Tenant certificate authority (CA) signed certificate for device: \"{{ deviceId }}\"."
|
|
16016
|
+
msgstr "租户证书颁发机构(CA)为设备签发的证书:\"{{ deviceId }}\"。"
|
|
16017
|
+
|
|
16008
16018
|
msgid "Tenant certificate authority (CA) was renewed for tenant \"{{ tenantId }}\""
|
|
16009
16019
|
msgstr "租户证书颁发机构 (CA) 已为租户 \"{{ tenantId }}\" 完成续期。"
|
|
16010
16020
|
|
|
@@ -16833,10 +16843,10 @@ msgid "This widget is in sync with the dashboard time range."
|
|
|
16833
16843
|
msgstr "此小组件与仪表板时间范围同步。"
|
|
16834
16844
|
|
|
16835
16845
|
msgid "This widget is used within a dashboard template, so the asset selector is unavailable. The\n"
|
|
16836
|
-
"
|
|
16837
|
-
"
|
|
16838
|
-
msgstr "
|
|
16839
|
-
"
|
|
16846
|
+
" widget automatically inherits the asset from the context in which the dashboard is\n"
|
|
16847
|
+
" displayed."
|
|
16848
|
+
msgstr "此小部件用于仪表板模板中,因此无法使用资源选择器。\n"
|
|
16849
|
+
" 小部件会自动从仪表板显示的上下文中继承资源。\n"
|
|
16840
16850
|
|
|
16841
16851
|
msgid "This will apply to data coming from specified device"
|
|
16842
16852
|
msgstr "这将应用于从指定设备接收的数据"
|
package/core/locales/zh_TW.po
CHANGED
|
@@ -2964,6 +2964,9 @@ msgstr "证书密码"
|
|
|
2964
2964
|
msgid "Certificate saved."
|
|
2965
2965
|
msgstr "证书已保存。"
|
|
2966
2966
|
|
|
2967
|
+
msgid "Certificate serial number: \"{{ serialNumber }}\""
|
|
2968
|
+
msgstr "證書序號:{{ serialNumber }}"
|
|
2969
|
+
|
|
2967
2970
|
msgid "Certificate serial number: \"{{ serialNumber }}\".\n"
|
|
2968
2971
|
"Expiration date: {{ expirationDate | absoluteDate }}."
|
|
2969
2972
|
msgstr "证书序号:{{ serialNumber }}。\n"
|
|
@@ -5353,6 +5356,9 @@ msgstr "詳細資訊切換"
|
|
|
5353
5356
|
msgid "Details"
|
|
5354
5357
|
msgstr "詳細資訊"
|
|
5355
5358
|
|
|
5359
|
+
msgid "Details panel"
|
|
5360
|
+
msgstr "詳細資訊面板"
|
|
5361
|
+
|
|
5356
5362
|
msgid "Developer mode"
|
|
5357
5363
|
msgstr "開發者模式"
|
|
5358
5364
|
|
|
@@ -6632,18 +6638,12 @@ msgstr "全部展開"
|
|
|
6632
6638
|
msgid "Expand all groups"
|
|
6633
6639
|
msgstr "展开所有组"
|
|
6634
6640
|
|
|
6635
|
-
msgid "Expand breadcrumbs"
|
|
6636
|
-
msgstr "展開導航控件"
|
|
6637
|
-
|
|
6638
6641
|
msgid "Expand node"
|
|
6639
6642
|
msgstr "展開節點"
|
|
6640
6643
|
|
|
6641
6644
|
msgid "Expand/collapse"
|
|
6642
6645
|
msgstr "展开/折叠"
|
|
6643
6646
|
|
|
6644
|
-
msgid "Expand/collapse all breadcrumbs"
|
|
6645
|
-
msgstr "展開/折疊所有導航控件"
|
|
6646
|
-
|
|
6647
6647
|
msgid "Expected 1 endpointId argument"
|
|
6648
6648
|
msgstr "需要 1 个 endpointId 自变量"
|
|
6649
6649
|
|
|
@@ -7190,6 +7190,20 @@ msgid "Find out more about each option in the\n"
|
|
|
7190
7190
|
msgstr "在\n"
|
|
7191
7191
|
" <a ng-href=\"{{ ::helpLink }}\" target=\"_blank\" rel=\"noopener noreferrer\">用戶文檔</a>中詳細瞭解每個選項。"
|
|
7192
7192
|
|
|
7193
|
+
msgid "Find out more in the\n"
|
|
7194
|
+
" <a c8y-guide-href=\"/docs/cockpit/working-with-dashboards\">user documentation</a>\n"
|
|
7195
|
+
" ."
|
|
7196
|
+
msgstr "更多資訊請參閱\n"
|
|
7197
|
+
" <a c8y-guide-href=\"/docs/cockpit/working-with-dashboards\"> 使用者文件</a>\n"
|
|
7198
|
+
" 。"
|
|
7199
|
+
|
|
7200
|
+
msgid "Find out more in the\n"
|
|
7201
|
+
" <a c8y-guide-href=\"{{ docsUrl }}\">user documentation</a>\n"
|
|
7202
|
+
" ."
|
|
7203
|
+
msgstr "更多資訊請參閱\n"
|
|
7204
|
+
" <a c8y-guide-href=\"{{ docsUrl }}\"> 使用者文件</a>\n"
|
|
7205
|
+
" 。"
|
|
7206
|
+
|
|
7193
7207
|
msgid "Find out more in the\n"
|
|
7194
7208
|
" <a c8y-guide-href=\"/docs/cockpit/widgets-collection/#kpi\">user documentation</a>\n"
|
|
7195
7209
|
" ."
|
|
@@ -7247,13 +7261,6 @@ msgid "Find out more in the\n"
|
|
|
7247
7261
|
" ."
|
|
7248
7262
|
msgstr "欲了解更多資訊,請參閱<a c8y-guide-href=\"/docs/cockpit/widgets-collection/#info-gauge\">使用者文件</a>:\n\n"
|
|
7249
7263
|
|
|
7250
|
-
msgid "Find out more in the\n"
|
|
7251
|
-
" <a c8y-guide-href=\"/docs/cockpit/working-with-dashboards\">user documentation</a>\n"
|
|
7252
|
-
" ."
|
|
7253
|
-
msgstr "在\n"
|
|
7254
|
-
" <a c8y-guide-href=\"/docs/cockpit/working-with-dashboards\">用戶文檔</a>\n"
|
|
7255
|
-
"中詳細瞭解。"
|
|
7256
|
-
|
|
7257
7264
|
msgid "Find out more in the\n"
|
|
7258
7265
|
" <a c8y-guide-href=\"/docs/device-management-application/managing-device-data/#managing-configurations\">\n"
|
|
7259
7266
|
" user documentation\n"
|
|
@@ -7265,17 +7272,6 @@ msgstr "在\n"
|
|
|
7265
7272
|
" </a>\n"
|
|
7266
7273
|
"中詳細瞭解。"
|
|
7267
7274
|
|
|
7268
|
-
msgid "Find out more in the\n"
|
|
7269
|
-
" <a c8y-guide-href=\"/docs/device-management-application/monitoring-and-controlling-devices/#working-with-alarms\">\n"
|
|
7270
|
-
" user documentation\n"
|
|
7271
|
-
" </a>\n"
|
|
7272
|
-
" ."
|
|
7273
|
-
msgstr "在\n"
|
|
7274
|
-
" <a c8y-guide-href=\"/docs/device-management-application/monitoring-and-controlling-devices/#working-with-alarms\">\n"
|
|
7275
|
-
" 用戶文檔\n"
|
|
7276
|
-
" </a>\n"
|
|
7277
|
-
"中詳細瞭解。"
|
|
7278
|
-
|
|
7279
7275
|
msgid "Find out more in the\n"
|
|
7280
7276
|
" <a c8y-guide-href=\"/docs/cockpit/widgets-collection/#data-point-graph\">\n"
|
|
7281
7277
|
" user documentation\n"
|
|
@@ -10814,6 +10810,9 @@ msgstr "没有网络连接。无法访问微服务。"
|
|
|
10814
10810
|
msgid "No inventory roles mapping rules defined."
|
|
10815
10811
|
msgstr "未定義任何庫存角色映射規則。"
|
|
10816
10812
|
|
|
10813
|
+
msgid "No item selected"
|
|
10814
|
+
msgstr "未選取任何項目"
|
|
10815
|
+
|
|
10817
10816
|
msgid "No items"
|
|
10818
10817
|
msgstr "无项"
|
|
10819
10818
|
|
|
@@ -13851,6 +13850,9 @@ msgstr "從清單中選擇具有事件的資產。"
|
|
|
13851
13850
|
msgid "Select an instruction."
|
|
13852
13851
|
msgstr "选择说明。"
|
|
13853
13852
|
|
|
13853
|
+
msgid "Select an item from the list to view details"
|
|
13854
|
+
msgstr "從清單中選取一項項目以檢視詳細資訊"
|
|
13855
|
+
|
|
13854
13856
|
msgid "Select and confirm widget assets mapping"
|
|
13855
13857
|
msgstr "選擇並確認小組件資產映射"
|
|
13856
13858
|
|
|
@@ -14972,8 +14974,8 @@ msgstr "顯示來自子設備的報警"
|
|
|
14972
14974
|
msgid "Show all"
|
|
14973
14975
|
msgstr "全部顯示"
|
|
14974
14976
|
|
|
14975
|
-
msgid "Show all
|
|
14976
|
-
msgstr "
|
|
14977
|
+
msgid "Show all paths"
|
|
14978
|
+
msgstr "顯示所有路徑"
|
|
14977
14979
|
|
|
14978
14980
|
msgid "Show archived packages"
|
|
14979
14981
|
msgstr "顯示已存檔的套件"
|
|
@@ -15468,6 +15470,15 @@ msgid "Specifying auto-apply constraints allows you to limit the scope where the
|
|
|
15468
15470
|
msgstr "指定自動應用約束允許您限制\n"
|
|
15469
15471
|
"設備協定的應用範圍,例如,通過指定一組可能的伺服器或節點 ID。"
|
|
15470
15472
|
|
|
15473
|
+
msgid "Split view information sections"
|
|
15474
|
+
msgstr "分割檢視資訊區段"
|
|
15475
|
+
|
|
15476
|
+
msgid "Split view interface"
|
|
15477
|
+
msgstr "分屏視圖介面"
|
|
15478
|
+
|
|
15479
|
+
msgid "Split view list"
|
|
15480
|
+
msgstr "分屏檢視清單"
|
|
15481
|
+
|
|
15471
15482
|
msgid "Start"
|
|
15472
15483
|
msgstr "開始"
|
|
15473
15484
|
|
|
@@ -16005,6 +16016,9 @@ msgstr "為租戶「{{ tenantId }}」创建的租户憑證授權機構 (CA)"
|
|
|
16005
16016
|
msgid "Tenant certificate authority (CA) renewal for tenant \"{{ tenantId }}\" failed"
|
|
16006
16017
|
msgstr "租戶憑證授權機構 (CA) 為租戶「{{ tenantId }}」的更新失败"
|
|
16007
16018
|
|
|
16019
|
+
msgid "Tenant certificate authority (CA) signed certificate for device: \"{{ deviceId }}\"."
|
|
16020
|
+
msgstr "租戶憑證授權機構 (CA) 簽署的裝置憑證:「{{ deviceId }}」。"
|
|
16021
|
+
|
|
16008
16022
|
msgid "Tenant certificate authority (CA) was renewed for tenant \"{{ tenantId }}\""
|
|
16009
16023
|
msgstr "租戶憑證授權機構 (CA) 已為租戶「{{ tenantId }}」完成更新。"
|
|
16010
16024
|
|
|
@@ -16833,10 +16847,10 @@ msgid "This widget is in sync with the dashboard time range."
|
|
|
16833
16847
|
msgstr "此小組件與儀錶板時間範圍同步。"
|
|
16834
16848
|
|
|
16835
16849
|
msgid "This widget is used within a dashboard template, so the asset selector is unavailable. The\n"
|
|
16836
|
-
"
|
|
16837
|
-
"
|
|
16838
|
-
msgstr "
|
|
16839
|
-
"
|
|
16850
|
+
" widget automatically inherits the asset from the context in which the dashboard is\n"
|
|
16851
|
+
" displayed."
|
|
16852
|
+
msgstr "此小工具用於儀表板範本中,因此資產選擇器不可用。\n"
|
|
16853
|
+
" 小工具會自動從儀表板顯示的上下文中繼承資產。\n"
|
|
16840
16854
|
|
|
16841
16855
|
msgid "This will apply to data coming from specified device"
|
|
16842
16856
|
msgstr "这将应用于从指定设备接收的数据"
|
|
@@ -1 +1 @@
|
|
|
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 ownKeys(t,e){var o,
|
|
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 ownKeys(t,e){var o,i=Object.keys(t);return Object.getOwnPropertySymbols&&(o=Object.getOwnPropertySymbols(t),e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,o)),i}function _objectSpread(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?ownKeys(Object(o),!0).forEach(function(e){_defineProperty(t,e,o[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):ownKeys(Object(o)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))})}return t}function _defineProperty(e,t,o){return(t=_toPropertyKey(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function _toPropertyKey(e){e=_toPrimitive(e,"string");return"symbol"==_typeof(e)?e:e+""}function _toPrimitive(e,t){if("object"!=_typeof(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0===o)return("string"===t?String:Number)(e);o=o.call(e,t||"default");if("object"!=_typeof(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}angular.module("c8y.eventList").controller("EventListCtrl",["$scope","c8yWidgetConfigMigrationService",function(s,t){var a=this,c=null,f=null,l=!0,d=!1,h=null,g=_.debounce(function(){h&&(a.options=h,h=null)},100);function u(e){var t;return e&&(e=e instanceof Date?e:new Date(e),(t=e)instanceof Date)&&"Invalid Date"!==t.toString()&&0<t.getTime()?e:null}s.isLoading=!1,s.initialized=!1,s.widgetControls={supports:["dateTimeContext","isAutoRefreshEnabled","displayMode","refreshInterval","refreshOption"],configSettings:{dashboard:{live:{},history:{}},config:{live:{showAutoRefresh:!0,showTimeContext:!0},history:{showTimeContext:!0,showAggregation:!1}},view_and_config:{live:{showAutoRefresh:!0,showRefreshInterval:!1,showTimeContext:!0},history:{showTimeContext:!0,showAggregation:!1}}},settings:{dashboard:{live:{showAutoRefresh:!0,showTimeContext:!0,showRefreshInterval:!0},history:{showTimeContext:!0,showAggregation:!1}},config:{live:{showAutoRefresh:!0},history:{showTimeContext:!0,showAggregation:!1}},view_and_config:{live:{showAutoRefresh:!0,showRefreshInterval:!0,showTimeContext:!0},history:{showTimeContext:!0,showAggregation:!1}}},defaultLinks:{dashboard:{live:{dateTimeContext:!0,isAutoRefreshEnabled:!0},history:{dateTimeContext:!0}},config:{},view_and_config:{}},stateHandlers:{}},s.onGlobalContextChange=function(e){var t,o,i=e.context.dateTimeContext,n=e.diff.dateTimeContext,r="live"===(r=e.context).refreshOption&&r.isAutoRefreshEnabled&&5e3===r.refreshInterval;(s.child.config.realtime=r)!==d&&(r&&(l=!0),d=r),i&&i.dateFrom&&i.dateTo&&(t=u(i.dateFrom),i=u(i.dateTo),t)&&i&&(s.child.config.date=[t,i],t=t.toISOString(),i=i.toISOString(),o=t!==c||i!==f,n=n&&Boolean(n.interval),o=o,n=n,(r=r)&&l?(l=!1,1):n&&o||!(r||!o))&&(c=n=t,f=r=i,h=_objectSpread(_objectSpread(_objectSpread({},a.options||{}),s.child.config.options||{}),{},{dateFrom:n,dateTo:r,source:s.child.config.device&&s.child.config.device.id}),g(),s.initialized=!0),Object.assign(s.child.config,e.context)},s.dashboardChild=s.dashboardChildForLegacy,s.onLoadingStateChange=function(e){s.isLoading=e},(()=>{var e;s.child&&s.child.config&&(e=t.migrateWidgetConfig(s.child.config),Object.assign(s.child.config,e))})(),s.$on("$destroy",function(){g.cancel()})}]);
|