@c8y/ng1-modules 1023.71.1 → 1023.76.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.
Files changed (32) hide show
  1. package/core/locales/de.po +120 -3
  2. package/core/locales/es.po +120 -3
  3. package/core/locales/fr.po +120 -3
  4. package/core/locales/ja_JP.po +120 -3
  5. package/core/locales/ko.po +120 -3
  6. package/core/locales/nl.po +120 -3
  7. package/core/locales/pl.po +120 -3
  8. package/core/locales/pt_BR.po +120 -3
  9. package/core/locales/zh_CN.po +120 -3
  10. package/core/locales/zh_TW.po +120 -3
  11. package/core/ui/views/eventList.html +1 -0
  12. package/eventsBinary/cumulocity.json +1 -7
  13. package/package.json +2 -1
  14. package/tenantPolicies/tenantOptions/tenantOptionsRow.component.js +1 -1
  15. package/tenantPolicies/tenantOptions/tenantOptionsRow.html +2 -6
  16. package/devicemanagement-eventList/controllers/eventList.js +0 -1
  17. package/devicemanagement-eventList/cumulocity.json +0 -18
  18. package/devicemanagement-eventList/index.js +0 -1
  19. package/devicemanagement-eventList/views/index.html +0 -10
  20. package/eventList/cumulocity.json +0 -18
  21. package/eventList/eventList.controller.js +0 -1
  22. package/eventList/eventListConfig.controller.js +0 -1
  23. package/eventList/img/events-list-widget-pr.png +0 -0
  24. package/eventList/index.js +0 -1
  25. package/eventList/views/eventList.html +0 -20
  26. package/eventList/views/eventListConfig.html +0 -8
  27. package/eventsBinary/components/eventBinaryActions/eventBinaryActions.html +0 -21
  28. package/eventsBinary/components/eventBinaryActions/eventBinaryActions.js +0 -1
  29. package/eventsBinary/components/eventBinaryIcon/eventBinaryIcon.js +0 -1
  30. package/eventsBinary/components/eventBinaryPreview/eventBinaryPreview.html +0 -3
  31. package/eventsBinary/components/eventBinaryPreview/eventBinaryPreview.js +0 -1
  32. package/eventsBinary/styles/style.css +0 -4
@@ -1109,6 +1109,9 @@ msgstr "添加固件"
1109
1109
  msgid "Add firmware patch"
1110
1110
  msgstr "添加固件补丁"
1111
1111
 
1112
+ msgid "Add first asset property mapping."
1113
+ msgstr "添加第一個资产属性映射。"
1114
+
1112
1115
  msgid "Add fragment"
1113
1116
  msgstr "添加片段"
1114
1117
 
@@ -1160,6 +1163,9 @@ msgstr "添加地图"
1160
1163
  msgid "Add mapping"
1161
1164
  msgstr "添加映射"
1162
1165
 
1166
+ msgid "Add mappings"
1167
+ msgstr "添加映射"
1168
+
1163
1169
  msgid "Add message"
1164
1170
  msgstr "添加消息"
1165
1171
 
@@ -1716,6 +1722,9 @@ msgstr "全部设备、资产及群组"
1716
1722
  msgid "All direct and indirect sub-users of the deleted user will be deleted."
1717
1723
  msgstr "已删除用户的所有直接和间接子用户都将被删除。"
1718
1724
 
1725
+ msgid "All event types"
1726
+ msgstr "全部活動類型"
1727
+
1719
1728
  msgid "All filtered"
1720
1729
  msgstr "全部已过滤"
1721
1730
 
@@ -2245,6 +2254,9 @@ msgstr "分配 fieldbus 属性"
2245
2254
  msgid "Assign inventory roles to device groups"
2246
2255
  msgstr "将库存角色分配到设备组"
2247
2256
 
2257
+ msgid "Assign property"
2258
+ msgstr "分配属性"
2259
+
2248
2260
  msgid "Assign the device to a group below."
2249
2261
  msgstr "将设备分配到下面的组。"
2250
2262
 
@@ -2305,6 +2317,9 @@ msgstr "最多可选择并启用 {{ maxActive }} 个数据点。"
2305
2317
  msgid "Attachment"
2306
2318
  msgstr "附件"
2307
2319
 
2320
+ msgid "Attachment preview"
2321
+ msgstr "附件预览"
2322
+
2308
2323
  msgid "Attribute"
2309
2324
  msgstr "属性"
2310
2325
 
@@ -3027,6 +3042,9 @@ msgstr "取消重新載入"
3027
3042
  msgid "Canceled"
3028
3043
  msgstr "已取消"
3029
3044
 
3045
+ msgid "Cancelled"
3046
+ msgstr "已取消"
3047
+
3030
3048
  msgid "Cannot activate a certificate which is either expired or not yet valid."
3031
3049
  msgstr "无法激活已过期或尚未生效的证书。"
3032
3050
 
@@ -3396,6 +3414,9 @@ msgstr "类 0 ping"
3396
3414
  msgid "Clean up orphaned plugins"
3397
3415
  msgstr "清理孤立外掛程式"
3398
3416
 
3417
+ msgid "Clear"
3418
+ msgstr "清除"
3419
+
3399
3420
  msgid "Clear All Logfiles"
3400
3421
  msgstr "清除所有日志文件"
3401
3422
 
@@ -3656,6 +3677,9 @@ msgstr "操作中心警报"
3656
3677
  msgid "Cockpit configuration saved."
3657
3678
  msgstr "已保存 Cockpit 配置。"
3658
3679
 
3680
+ msgid "Cockpit events"
3681
+ msgstr "操作中心事件"
3682
+
3659
3683
  msgid "Code"
3660
3684
  msgstr "代碼"
3661
3685
 
@@ -4260,6 +4284,9 @@ msgstr "从另一个用户复制库存角色"
4260
4284
  msgid "Copy inventory roles from user"
4261
4285
  msgstr "从用户中复制库存角色"
4262
4286
 
4287
+ msgid "Copy mapping to clipboard"
4288
+ msgstr "复制映射到剪贴簿"
4289
+
4263
4290
  msgid "Copy not possible: Some widgets reference data from another group or device. To copy this dashboard, make sure all widgets use data from the current device only."
4264
4291
  msgstr "無法複製:某些 Widget 引用來自其他群組或裝置的資料。若要複製此儀表板,請確定所有 Widget 僅使用目前裝置的資料。"
4265
4292
 
@@ -4878,6 +4905,9 @@ msgstr "自定义域激活"
4878
4905
  msgid "Custom domain name"
4879
4906
  msgstr "自定义域名"
4880
4907
 
4908
+ msgid "Custom event type"
4909
+ msgstr "自定义事件类型"
4910
+
4881
4911
  msgid "Custom home dashboard"
4882
4912
  msgstr "自定义主仪表板"
4883
4913
 
@@ -6145,6 +6175,9 @@ msgstr "在导航器菜单中显示指向“报表”列表的链接。"
6145
6175
  msgid "Display a link to the global alarms list in the navigator menu."
6146
6176
  msgstr "在导航菜单中显示指向“全局警报”列表的链接。"
6147
6177
 
6178
+ msgid "Display a link to the global events list in the navigator menu."
6179
+ msgstr "在导航器中显示通往全球事件列表的链接。"
6180
+
6148
6181
  msgid "Display a list of predefined commands"
6149
6182
  msgstr "显示预定义命令的列表"
6150
6183
 
@@ -6214,6 +6247,9 @@ msgstr "顯示所選擇數據點的圖形"
6214
6247
  msgid "Displays a list of alarms filtered by object, severity, status and date"
6215
6248
  msgstr "顯示按物件、嚴重性、狀態和日期篩選的警報的清單"
6216
6249
 
6250
+ msgid "Displays a list of events filtered by object, type and date"
6251
+ msgstr "顯示根據物件、類型和日期篩選出的事件列表"
6252
+
6217
6253
  msgid "Displays a table of assets with configurable columns and filters."
6218
6254
  msgstr "显示资产表,具备可自订的栏位与筛选条件。"
6219
6255
 
@@ -6246,9 +6282,6 @@ msgstr "\n"
6246
6282
  msgid "Displays the last measurement value of a device."
6247
6283
  msgstr "顯示設備的最後測量值。"
6248
6284
 
6249
- msgid "Displays the list of events for selected device."
6250
- msgstr "显示选定设备的事件列表。"
6251
-
6252
6285
  msgid "Displays the list of links to available applications."
6253
6286
  msgstr "显示可用应用程序链接列表。"
6254
6287
 
@@ -6943,6 +6976,9 @@ msgstr "事件计数 3 个月"
6943
6976
  msgid "Event count today"
6944
6977
  msgstr "今天的事件计数"
6945
6978
 
6979
+ msgid "Event features for Cockpit application."
6980
+ msgstr "操作中心应用程序的事件功能。"
6981
+
6946
6982
  msgid "Event fragment"
6947
6983
  msgstr "事件片段"
6948
6984
 
@@ -6970,6 +7006,9 @@ msgstr "事件時間"
6970
7006
  msgid "Event type"
6971
7007
  msgstr "事件类型"
6972
7008
 
7009
+ msgid "Event types"
7010
+ msgstr "事件類型"
7011
+
6973
7012
  msgid "Events"
6974
7013
  msgstr "事件"
6975
7014
 
@@ -6985,6 +7024,9 @@ msgstr "已创建事件"
6985
7024
  msgid "Events for given application, provided in realtime"
6986
7025
  msgstr "给定应用程序的事件,实时提供"
6987
7026
 
7027
+ msgid "Events list"
7028
+ msgstr "事件列表"
7029
+
6988
7030
  msgid "Events selector"
6989
7031
  msgstr "事件選擇器"
6990
7032
 
@@ -7479,6 +7521,9 @@ msgstr "按日期范围过滤"
7479
7521
  msgid "Filter by date…"
7480
7522
  msgstr "按日期篩選…"
7481
7523
 
7524
+ msgid "Filter by event types"
7525
+ msgstr "依事件類型篩選"
7526
+
7482
7527
  msgid "Filter by global roles"
7483
7528
  msgstr "按全局角色过滤"
7484
7529
 
@@ -8632,6 +8677,9 @@ msgstr "全域"
8632
8677
  msgid "Global Alarms view"
8633
8678
  msgstr "“全局警报”视图"
8634
8679
 
8680
+ msgid "Global Events view"
8681
+ msgstr "「全球事件」檢視"
8682
+
8635
8683
  msgid "Global Manager"
8636
8684
  msgstr "全局管理器"
8637
8685
 
@@ -9234,6 +9282,9 @@ msgstr "输入寄存器"
9234
9282
  msgid "Insert code provided by source tenant."
9235
9283
  msgstr "插入源租户提供的代码。"
9236
9284
 
9285
+ msgid "Insert property"
9286
+ msgstr "插入属性"
9287
+
9237
9288
  msgid "Insert security code"
9238
9289
  msgstr "插入安全代码"
9239
9290
 
@@ -9604,6 +9655,9 @@ msgstr "LWM2M 短服务器 ID"
9604
9655
  msgid "Label"
9605
9656
  msgstr "标签"
9606
9657
 
9658
+ msgid "Label already used. Use a different one."
9659
+ msgstr "此標籤已使用過。請使用其他標籤。"
9660
+
9607
9661
  msgid "Label for active`switch`"
9608
9662
  msgstr "活动项的标签"
9609
9663
 
@@ -10760,6 +10814,9 @@ msgstr "数量"
10760
10814
  msgid "Name"
10761
10815
  msgstr "名稱"
10762
10816
 
10817
+ msgid "Name already used. Use a different one."
10818
+ msgstr "此名稱已被使用。請使用其他名稱。"
10819
+
10763
10820
  msgid "Name and email"
10764
10821
  msgstr "名稱和电子邮件"
10765
10822
 
@@ -11063,6 +11120,9 @@ msgstr "没有可供显示的应用程序。"
11063
11120
  msgid "No apps selected for branding"
11064
11121
  msgstr "未為品牌選取應用程式"
11065
11122
 
11123
+ msgid "No asset property mappings"
11124
+ msgstr "沒有資產屬性映射"
11125
+
11066
11126
  msgid "No asset selected"
11067
11127
  msgstr "未选择资产"
11068
11128
 
@@ -11272,6 +11332,12 @@ msgstr "未發現錯誤"
11272
11332
  msgid "No escalation steps defined."
11273
11333
  msgstr "未定义升级步骤。"
11274
11334
 
11335
+ msgid "No event selected"
11336
+ msgstr "未选择任何事件"
11337
+
11338
+ msgid "No events found"
11339
+ msgstr "未找到任何事件"
11340
+
11275
11341
  msgid "No events selected."
11276
11342
  msgstr "未選擇事件。"
11277
11343
 
@@ -12336,6 +12402,9 @@ msgstr "您可以選擇添加自訂事件。"
12336
12402
  msgid "Optionally, you can add a custom alarm."
12337
12403
  msgstr "您可選擇性地添加自訂鬧鐘。"
12338
12404
 
12405
+ msgid "Optionally, you can add a custom event type."
12406
+ msgstr "若需,您可以添加自定义事件类型。"
12407
+
12339
12408
  msgid "Options"
12340
12409
  msgstr "选项"
12341
12410
 
@@ -12938,6 +13007,9 @@ msgstr "预览文件"
12938
13007
  msgid "Preview not available"
12939
13008
  msgstr "预览不可用"
12940
13009
 
13010
+ msgid "Preview unavailable."
13011
+ msgstr "无法预览。"
13012
+
12941
13013
  msgid "Preview`of exported file`"
12942
13014
  msgstr "匯出檔案預覽"
12943
13015
 
@@ -13412,6 +13484,9 @@ msgstr "近期警报小组件"
13412
13484
  msgid "Recent data"
13413
13485
  msgstr "最近的数据"
13414
13486
 
13487
+ msgid "Recent events are displayed below, but older ones may not be shown."
13488
+ msgstr "以下显示的是近期事件,但较早的事件可能不会显示。"
13489
+
13415
13490
  msgid "Recent events are displayed below. Past events might not be shown."
13416
13491
  msgstr "下麵顯示了最近的事件。可能不會顯示過去的事件。"
13417
13492
 
@@ -13655,6 +13730,9 @@ msgstr "删除"
13655
13730
  msgid "Remove"
13656
13731
  msgstr "删除"
13657
13732
 
13733
+ msgid "Remove all mappings"
13734
+ msgstr "移除全部映射"
13735
+
13658
13736
  msgid "Remove condition"
13659
13737
  msgstr "移除條件"
13660
13738
 
@@ -13679,6 +13757,9 @@ msgstr "從选择的属性中移除"
13679
13757
  msgid "Remove icon and use default icon"
13680
13758
  msgstr "刪除圖示並使用預設圖示"
13681
13759
 
13760
+ msgid "Remove mapping"
13761
+ msgstr "移除映射"
13762
+
13682
13763
  msgid "Remove permission"
13683
13764
  msgstr "删除权限"
13684
13765
 
@@ -13718,6 +13799,9 @@ msgstr "已删除子设备 \"{{name}}\"(ID:{{id}})。"
13718
13799
  msgid "Removed widgets: {{ widgetList }}."
13719
13800
  msgstr "已刪除小組件:{{ widgetList }}。"
13720
13801
 
13802
+ msgid "Renamed asset property and updated references in HTML code."
13803
+ msgstr "已重新命名资产属性,並更新 HTML 程式碼中的引用。"
13804
+
13721
13805
  msgid "Render the first column (excluding computed and alarm types) as a link to the asset details."
13722
13806
  msgstr "將第一欄(不包含計算值與警報類型)呈現為资产详细信息的链接。"
13723
13807
 
@@ -14279,6 +14363,9 @@ msgstr "保存到存储库"
14279
14363
  msgid "Save with the following name"
14280
14364
  msgstr "使用以下名称保存"
14281
14365
 
14366
+ msgid "Saved"
14367
+ msgstr "已保存"
14368
+
14282
14369
  msgid "Saved to library."
14283
14370
  msgstr "保存到库。"
14284
14371
 
@@ -14501,6 +14588,9 @@ msgstr "从列表中选择具有数据点的资产。"
14501
14588
  msgid "Select an asset with events from the list."
14502
14589
  msgstr "從清單中選擇具有事件的資產。"
14503
14590
 
14591
+ msgid "Select an event from the list to view its details."
14592
+ msgstr "请从列表中选择一项事件,以查看其详细信息。"
14593
+
14504
14594
  msgid "Select an instruction."
14505
14595
  msgstr "选择说明。"
14506
14596
 
@@ -15727,6 +15817,12 @@ msgstr "顯示相同的属性"
15727
15817
  msgid "Show error message"
15728
15818
  msgstr "顯示错误消息"
15729
15819
 
15820
+ msgid "Show events"
15821
+ msgstr "显示事件"
15822
+
15823
+ msgid "Show events from child devices"
15824
+ msgstr "显示子设备的事件"
15825
+
15730
15826
  msgid "Show icon"
15731
15827
  msgstr "顯示图标"
15732
15828
 
@@ -16766,6 +16862,9 @@ msgstr "租戶憑證授權機構"
16766
16862
  msgid "Tenant certificate authority (CA) created for tenant \"{{ tenantId }}\""
16767
16863
  msgstr "為租戶「{{ tenantId }}」创建的租户憑證授權機構 (CA)"
16768
16864
 
16865
+ msgid "Tenant certificate authority (CA) re-signed certificate for device: \"{{ deviceId }}\"."
16866
+ msgstr "租户凭证授权机构 (CA) 为设备「{{ deviceId }} 」重新签发了证书。"
16867
+
16769
16868
  msgid "Tenant certificate authority (CA) renewal for tenant \"{{ tenantId }}\" failed"
16770
16869
  msgstr "租戶憑證授權機構 (CA) 為租戶「{{ tenantId }}」的更新失败"
16771
16870
 
@@ -17154,6 +17253,9 @@ msgstr "此儀錶板的佈局和配置由模型類型 \n"
17154
17253
  msgid "The list below may not be complete."
17155
17254
  msgstr "下麵的清單可能不完整。"
17156
17255
 
17256
+ msgid "The list may be incomplete"
17257
+ msgstr "此列表可能尚不完整"
17258
+
17157
17259
  msgid "The list was updated, click to refresh."
17158
17260
  msgstr "清單已更新,按一下以刷新。"
17159
17261
 
@@ -17270,6 +17372,9 @@ msgstr "所选资产没有子项。"
17270
17372
  msgid "The selected device does not have coil status and register properties."
17271
17373
  msgstr "选定设备没有线圈状态和寄存器属性。"
17272
17374
 
17375
+ msgid "The selected event is not currently in the list, change your filter."
17376
+ msgstr "您选择的事件当前不在列表中,请更改篩选条件。"
17377
+
17273
17378
  msgid "The selected file is not of a supported type. Supported file types are: {{ accept }}."
17274
17379
  msgstr "所選檔案的類型不受支援。支持的檔案類型包括:{{ accept }}。"
17275
17380
 
@@ -17395,6 +17500,9 @@ msgstr "沒有定義任何儀表板。"
17395
17500
  msgid "There are no device credentials"
17396
17501
  msgstr "没有设备凭据"
17397
17502
 
17503
+ msgid "There are no events to filter. You can still add a custom event type."
17504
+ msgstr "沒有可供篩選的事件。您仍可添加自定义事件类型。"
17505
+
17398
17506
  msgid "There are no reports defined."
17399
17507
  msgstr "未定義報表。"
17400
17508
 
@@ -17700,6 +17808,12 @@ msgstr "建立警報的時間。顯示的時間對應伺服器的時間。裝置
17700
17808
  msgid "Time in which the alarm was last updated. The time shown corresponds to the server's time. Device time can be different from server time."
17701
17809
  msgstr "警報最後更新的時間。顯示的時間對應伺服器的時間。裝置時間可能與伺服器時間不同。"
17702
17810
 
17811
+ msgid "Time in which the event was created on the device. Device time can be different from server time."
17812
+ msgstr "事件在设备上创建的时间。设备时间可能与伺服器时间不同。"
17813
+
17814
+ msgid "Time in which the event was created on the server. The time shown corresponds to the server's time."
17815
+ msgstr "該事件在伺服器上创建的時間。显示的时间以伺服器时间为准。"
17816
+
17703
17817
  msgid "Time interval"
17704
17818
  msgstr "时间间隔"
17705
17819
 
@@ -21034,6 +21148,9 @@ msgstr "{{ count }} 個月前"
21034
21148
  msgid "{{ count }} patches"
21035
21149
  msgstr "{{ count }} 个补丁"
21036
21150
 
21151
+ msgid "{{ count }} selected"
21152
+ msgstr "{{ count }} 已选择"
21153
+
21037
21154
  msgid "{{ count }} selected items."
21038
21155
  msgstr "{{ count }} 個選定項。"
21039
21156
 
@@ -1,3 +1,4 @@
1
+ <!-- @deprecated Use 'EventsListComponent' from '@c8y/ngx-components/events' instead. -->
1
2
  <c8y-ui-action-bar-set ng-if="!$parent.child.templateUrl && !hideHeaderActions">
2
3
  <li
3
4
  class="navbar-form"
@@ -4,15 +4,9 @@
4
4
  "c8y.eventsBinary"
5
5
  ],
6
6
  "category": "",
7
- "description": "Component which displays binary attached to event if available",
8
- "css": [
9
- "styles/style.css"
10
- ],
7
+ "description": "Component which displays binary attached to event if available",
11
8
  "js": [
12
9
  "eventsBinary.module.js",
13
- "components/eventBinaryPreview/eventBinaryPreview.js",
14
- "components/eventBinaryActions/eventBinaryActions.js",
15
- "components/eventBinaryIcon/eventBinaryIcon.js",
16
10
  "services/eventsBinary.service.js"
17
11
  ]
18
12
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@c8y/ng1-modules",
3
- "version": "1023.71.1",
3
+ "version": "1023.76.0",
4
4
  "license": "Apache-2.0",
5
5
  "author": "Cumulocity",
6
6
  "description": "AngularJS modules for Cumulocity IoT applications.",
@@ -53,6 +53,7 @@
53
53
  "fs-extra": "^11.3.0",
54
54
  "jest-junit": "16.0.0",
55
55
  "npm-packlist": "10.0.1",
56
+ "rimraf": "2.6.2",
56
57
  "uglify-js": "3.19.3"
57
58
  },
58
59
  "peerDependencies": {
@@ -1 +1 @@
1
- (()=>{function n(n){var t=this;_.assign(t,{$onInit:function(){n.isTopTenant().then(function(n){t.canDisableEdit=n})},$onChanges:function(){_.get(t.option,"isNew")&&(delete t.option.isNew,t.isOpen=!0)}})}n.$inject=["c8yTenantPolicies"],angular.module("c8y.tenantPolicies").component("c8yTenantOptionsRow",{templateUrl:":::PLUGIN_PATH:::/tenantOptions/tenantOptionsRow.html",controller:n,controllerAs:"vm",bindings:{option:"<",onRemove:"&"}})})();
1
+ angular.module("c8y.tenantPolicies").component("c8yTenantOptionsRow",{templateUrl:":::PLUGIN_PATH:::/tenantOptions/tenantOptionsRow.html",controller:function(){var n=this;_.assign(n,{$onChanges:function(){_.get(n.option,"isNew")&&(delete n.option.isNew,n.isOpen=!0)}})},controllerAs:"vm",bindings:{option:"<",onRemove:"&"}});
@@ -74,10 +74,7 @@
74
74
  <c8y-edit-tenant-option option="vm.option"></c8y-edit-tenant-option>
75
75
 
76
76
  <div class="form-horizontal">
77
- <div
78
- class="form-group"
79
- ng-show="vm.canDisableEdit"
80
- >
77
+ <div class="form-group">
81
78
  <div class="col-sm-12">
82
79
  <label
83
80
  class="c8y-checkbox"
@@ -85,8 +82,7 @@
85
82
  >
86
83
  <input
87
84
  type="checkbox"
88
- ng-checked="vm.option.editable"
89
- ng-click="vm.option.editable=!vm.option.editable"
85
+ ng-model="vm.option.editable"
90
86
  />
91
87
  <span></span>
92
88
  <span translate>Allow subtenants to edit this tenant option</span>
@@ -1 +0,0 @@
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 r,o=Object.keys(t);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(t),e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),o.push.apply(o,r)),o}function _objectSpread(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ownKeys(Object(r),!0).forEach(function(e){_defineProperty(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ownKeys(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function _defineProperty(e,t,r){return(t=_toPropertyKey(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,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 r=e[Symbol.toPrimitive];if(void 0===r)return("string"===t?String:Number)(e);r=r.call(e,t||"default");if("object"!=_typeof(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}(()=>{function e(e){e=_objectSpread(_objectSpread({},e),{},{pageSize:50});_.assign(this,{filters:e})}e.$inject=["$routeParams"],angular.module("c8y.parts.eventList").controller("eventListCtrl",e)})();
@@ -1,18 +0,0 @@
1
- {
2
- "name": "Event list",
3
- "ngModules": [
4
- "c8y.parts.eventList"
5
- ],
6
- "category": "Device",
7
- "icon": "bell",
8
- "color": "#F2DF0F",
9
- "description": "Displays a list of events triggered.",
10
- "js": [
11
- "index.js",
12
- "controllers/eventList.js"
13
- ],
14
- "folderName": "eventList",
15
- "appsInclude": [
16
- "devicemanagement"
17
- ]
18
- }
@@ -1 +0,0 @@
1
- (()=>{function e(e,n,i){var t="online1";e.addNavigation({parent:{name:i("Overviews"),icon:"c8y-overviews"},name:i("Events"),priority:1300,icon:t,path:"events"}),n.when("/events",{icon:t,name:i("Events"),templateUrl:":::PLUGIN_PATH:::/views/index.html"}),n.when("/device/:deviceId",{icon:t,name:i("Events"),templateUrl:":::PLUGIN_PATH:::/views/index.html"}),n.when("/service/:deviceId",{icon:t,name:i("Events"),templateUrl:":::PLUGIN_PATH:::/views/index.html"})}e.$inject=["c8yNavigatorProvider","c8yViewsProvider","gettext"],angular.module("c8y.parts.eventList",[]).config(e)})();
@@ -1,10 +0,0 @@
1
- <div ng-controller="eventListCtrl as vm">
2
- <c8y-help
3
- src="/docs/device-management-application/monitoring-and-controlling-devices/#troubleshooting-devices"
4
- ></c8y-help>
5
- <c8y-event-list
6
- show-page-titles="true"
7
- filters="vm.filters"
8
- initial-realtime-state="true"
9
- />
10
- </div>
@@ -1,18 +0,0 @@
1
- {
2
- "name": "Event list component",
3
- "ngModules": [
4
- "c8y.eventList"
5
- ],
6
- "category": "",
7
- "icon": "rss",
8
- "color": "#F03F0F",
9
- "description": "A configurable component that display list of events depending on the type or device target",
10
- "js": [
11
- "index.js",
12
- "eventList.controller.js",
13
- "eventListConfig.controller.js"
14
- ],
15
- "copy": [
16
- "img/*"
17
- ]
18
- }
@@ -1 +0,0 @@
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()})}]);
@@ -1 +0,0 @@
1
- (()=>{function t(t){!!t.config.displaySettings&&"true"!==t.config.widgetInstanceGlobalTimeContext||(t.config.widgetInstanceGlobalTimeContext=!0)}t.$inject=["$scope"],angular.module("c8y.eventList").controller("EventListConfigCtrl",["$scope",t])})();
@@ -1 +0,0 @@
1
- (()=>{function e(e,t){e.add({name:"Event list",nameDisplay:t("Event list"),description:t("Displays the list of events for selected device."),templateUrl:":::PLUGIN_PATH:::/views/eventList.html",configTemplateUrl:":::PLUGIN_PATH:::/views/eventListConfig.html",previewImage:":::PLUGIN_PATH:::/img/events-list-widget-pr.png",options:{groupsSelectable:!0},displaySettings:{globalTimeContext:!0,globalRealtimeContext:!0}})}e.$inject=["c8yComponentsProvider","gettext"],angular.module("c8y.eventList",[]).config(e)})();
@@ -1,20 +0,0 @@
1
- <div ng-controller="EventListCtrl as eventList">
2
- <c8y-global-context-widget-wrapper
3
- ng-style="{ 'z-index': 11 }"
4
- [display-mode]="'inline'"
5
- (global-context-change)="onGlobalContextChange($event)"
6
- [widget-controls]="widgetControls"
7
- [config]="child.config"
8
- [is-loading]="isLoading"
9
- [dashboard-child-for-legacy]="dashboardChild"
10
- ></c8y-global-context-widget-wrapper>
11
- <c8y-event-list
12
- ng-if="eventList.options && eventList.options.dateFrom && eventList.options.dateTo"
13
- filters="eventList.options"
14
- initial-realtime-state="child.config.realtime"
15
- realtime="child.config.realtime"
16
- hide-widget-actions="true"
17
- time-range-unit="true"
18
- on-loading-state-change="onLoadingStateChange(refreshLoading)"
19
- ></c8y-event-list>
20
- </div>
@@ -1,8 +0,0 @@
1
- <div ng-controller="EventListConfigCtrl as ctrl">
2
- <fieldset class="c8y-fieldset">
3
- <legend>{{ 'Type' | translate }}</legend>
4
- <div class="form-group form-group-sm m-b-16">
5
- <input type="text" class="form-control" ng-model="config.options.type" />
6
- </div>
7
- </fieldset>
8
- </div>
@@ -1,21 +0,0 @@
1
- <div class="col col-12">
2
- <div ng-if="vm.checkControlAvailable('download')" class="form-group">
3
- <button
4
- title="{{ 'Download' | translate }}"
5
- class="btn btn-primary btn-xs"
6
- ng-click="vm.download()"
7
- >
8
- <i c8y-icon="download"></i><span translate>Download</span>
9
- </button>
10
- </div>
11
- <div ng-if="vm.checkControlAvailable('upload')" class="form-group">
12
- <input type="file" c8y-on-change="vm.onNewImageSelected(event)" />
13
- <button
14
- title="{{ 'Upload' | translate }}"
15
- class="btn btn-primary btn-xs"
16
- ng-click="vm.upload()"
17
- >
18
- <i c8y-icon="upload"></i><span translate>Upload</span>
19
- </button>
20
- </div>
21
- </div>
@@ -1 +0,0 @@
1
- (()=>{function n(o){var e,t,l=this,a={DOWNLOAD:"download",UPLOAD:"upload"};function i(n,e){(t=_.map(l.availableControls?l.availableControls.split(","):[],_.trim)).length||(l.enableDownload&&t.push(a.DOWNLOAD),l.enableUpload&&t.push(a.UPLOAD)),o.canDownload(e)?_.pull(t,a.UPLOAD):_.pull(t,a.DOWNLOAD)}_.assign(l,{$onInit:function(){l.show=o.doesContainBinary(l.event),i(0,l.event)},$onChanges:function(n){n.event&&i(0,n.event.currentValue)},download:function(){o.downloadAndSaveAs(l.event)},onNewImageSelected:function(n){e=n.target.files[0]},upload:function(){o.upload(e,l.event)},checkControlAvailable:function(n){return _.isEmpty(_.get(l.event,"c8y_IsIncompleteBinary"))&&_.includes(t,n)}})}n.$inject=["eventsBinaryService"],angular.module("c8y.eventsBinary").component("c8yEventBinaryActions",{templateUrl:":::PLUGIN_PATH:::/components/eventBinaryActions/eventBinaryActions.html",bindings:{event:"<",availableControls:"@",enableDownload:"<?",enableUpload:"<?"},controller:n,controllerAs:"vm"})})();
@@ -1 +0,0 @@
1
- (()=>{function n(i,e){var c=this;function o(n){return i.doesContainBinary(n)?e.icon(n.c8y_IsBinary):""}_.assign(c,{$onInit:function(){c.icon=o(c.event)},$onChanges:function(n){c.icon=o(n.event.currentValue)}})}n.$inject=["eventsBinaryService","c8yBinary"],angular.module("c8y.eventsBinary").component("c8yEventBinaryIcon",{template:'<i c8y-icon="{{vm.icon}}" ng-if="vm.icon"></i>',bindings:{event:"<"},controller:n,controllerAs:"vm"})})();
@@ -1,3 +0,0 @@
1
- <div class="col col-12" ng-if="vm.dataUri">
2
- <img ng-src="{{vm.dataUri}}" class="max-width-100"></img>
3
- </div>
@@ -1 +0,0 @@
1
- (()=>{function n(n,e){var t=this;_.assign(t,{$onInit:function(){n.doesContainBinary(t.event)&&n.downloadAsDataUri(t.event).then(function(n){e.isImage(t.event.c8y_IsBinary)&&(t.dataUri=n)})}})}n.$inject=["eventsBinaryService","c8yBinary"],angular.module("c8y.eventsBinary").component("c8yEventBinaryPreview",{templateUrl:":::PLUGIN_PATH:::/components/eventBinaryPreview/eventBinaryPreview.html",bindings:{event:"<"},controller:n,controllerAs:"vm"})})();
@@ -1,4 +0,0 @@
1
- .events-binary-no-padding {
2
- padding-left: 0px;
3
- padding-right: 0px;
4
- }