@c8y/ngx-components 1022.13.0 → 1022.21.3

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 (430) hide show
  1. package/alarms/alarms.helper.d.ts.map +1 -1
  2. package/auth-configuration/sso-configuration/templates/template.component.d.ts +1 -1
  3. package/core/asset-property/asset-property.model.d.ts +0 -6
  4. package/core/asset-property/asset-property.model.d.ts.map +1 -1
  5. package/core/authentication/authentication.module.d.ts.map +1 -1
  6. package/core/authentication/new-password.component.d.ts +3 -2
  7. package/core/authentication/new-password.component.d.ts.map +1 -1
  8. package/core/dashboard/widget-auto-refresh-context/auto-refresh-control.component.d.ts.map +1 -1
  9. package/core/drop-area/drop-area.component.d.ts +2 -0
  10. package/core/drop-area/drop-area.component.d.ts.map +1 -1
  11. package/core/dynamic-forms/file/file.type.component.d.ts.map +1 -1
  12. package/core/modal/modal.module.d.ts.map +1 -1
  13. package/core/modal/modal.service.d.ts +1 -0
  14. package/core/modal/modal.service.d.ts.map +1 -1
  15. package/core/plugins/plugins.module.d.ts.map +1 -1
  16. package/core/plugins/plugins.service.d.ts +1 -2
  17. package/core/plugins/plugins.service.d.ts.map +1 -1
  18. package/core/select/select.component.d.ts.map +1 -1
  19. package/core/user/user-edit-modal.component.d.ts +1 -0
  20. package/core/user/user-edit-modal.component.d.ts.map +1 -1
  21. package/core/user/user-edit.component.d.ts +4 -1
  22. package/core/user/user-edit.component.d.ts.map +1 -1
  23. package/datapoint-explorer/datapoint-explorer.module.d.ts +2 -0
  24. package/datapoint-explorer/datapoint-explorer.module.d.ts.map +1 -1
  25. package/datapoint-explorer/devicemanagement/c8y-ngx-components-datapoint-explorer-devicemanagement.d.ts.map +1 -0
  26. package/datapoint-explorer/devicemanagement/index.d.ts +2 -0
  27. package/datapoint-explorer/devicemanagement/index.d.ts.map +1 -0
  28. package/datapoint-explorer/view/datapoint-explorer.component.d.ts +6 -3
  29. package/datapoint-explorer/view/datapoint-explorer.component.d.ts.map +1 -1
  30. package/datapoint-explorer/view/datapoint-explorer.model.d.ts +8 -0
  31. package/datapoint-explorer/view/datapoint-explorer.model.d.ts.map +1 -0
  32. package/datapoint-explorer/view/index.d.ts +1 -0
  33. package/datapoint-explorer/view/index.d.ts.map +1 -1
  34. package/device-list/devices.breadcrumb-factory.d.ts +1 -0
  35. package/device-list/devices.breadcrumb-factory.d.ts.map +1 -1
  36. package/device-profile/add-device-profile.component.d.ts +1 -1
  37. package/device-profile/add-device-profile.component.d.ts.map +1 -1
  38. package/device-profile/device-profile-list.component.d.ts +1 -1
  39. package/device-profile/device-profile-list.component.d.ts.map +1 -1
  40. package/device-profile/device-profile.component.d.ts +1 -1
  41. package/device-profile/device-profile.component.d.ts.map +1 -1
  42. package/device-profile/device-profile.module.d.ts +17 -17
  43. package/device-profile/device-profile.module.d.ts.map +1 -1
  44. package/device-profile/device-tab-profile/device-profile-item-list.component.d.ts +1 -1
  45. package/device-profile/device-tab-profile/device-profile-item-list.component.d.ts.map +1 -1
  46. package/device-profile/device-tab-profile/device-tab-profile-detail.component.d.ts +1 -1
  47. package/device-profile/device-tab-profile/device-tab-profile-detail.component.d.ts.map +1 -1
  48. package/device-profile/device-tab-profile/device-tab-profile.component.d.ts +1 -1
  49. package/device-profile/device-tab-profile/device-tab-profile.component.d.ts.map +1 -1
  50. package/device-profile/select-configuration-modal.component.d.ts +1 -1
  51. package/device-profile/select-configuration-modal.component.d.ts.map +1 -1
  52. package/device-provisioned-certificates/device-tab-provisioned-certificates.component.d.ts +4 -2
  53. package/device-provisioned-certificates/device-tab-provisioned-certificates.component.d.ts.map +1 -1
  54. package/device-shell/command-templates/command-templates.component.d.ts +1 -1
  55. package/device-shell/command-templates/command-templates.component.d.ts.map +1 -1
  56. package/device-shell/command-templates/command-templates.directive.d.ts +1 -1
  57. package/device-shell/command-templates/command-templates.directive.d.ts.map +1 -1
  58. package/device-shell/command-templates/command-templates.module.d.ts +1 -1
  59. package/device-shell/shell/shell.component.d.ts +1 -1
  60. package/device-shell/shell/shell.component.d.ts.map +1 -1
  61. package/device-shell/shell/shell.module.d.ts +7 -7
  62. package/diagnostics/diagnostics.component.d.ts +1 -1
  63. package/diagnostics/diagnostics.component.d.ts.map +1 -1
  64. package/diagnostics/diagnostics.module.d.ts +8 -8
  65. package/diagnostics/diagnostics.module.d.ts.map +1 -1
  66. package/echart/services/chart-realtime.service.d.ts +2 -0
  67. package/echart/services/chart-realtime.service.d.ts.map +1 -1
  68. package/echart/services/echarts-options.service.d.ts +4 -4
  69. package/echart/services/echarts-options.service.d.ts.map +1 -1
  70. package/events/c8y-ngx-components-events.d.ts.map +1 -0
  71. package/events/events-timeline/c8y-ngx-components-events-events-timeline.d.ts.map +1 -0
  72. package/events/events-timeline/events-timeline.component.d.ts +19 -0
  73. package/events/events-timeline/events-timeline.component.d.ts.map +1 -0
  74. package/events/events-timeline/index.d.ts +2 -0
  75. package/events/events-timeline/index.d.ts.map +1 -0
  76. package/events/events.model.d.ts +6 -0
  77. package/events/events.model.d.ts.map +1 -0
  78. package/events/events.service.d.ts +10 -0
  79. package/events/events.service.d.ts.map +1 -0
  80. package/events/index.d.ts +3 -0
  81. package/events/index.d.ts.map +1 -0
  82. package/fesm2022/c8y-ngx-components-alarms.mjs +2 -1
  83. package/fesm2022/c8y-ngx-components-alarms.mjs.map +1 -1
  84. package/fesm2022/c8y-ngx-components-auth-configuration.mjs +2 -2
  85. package/fesm2022/c8y-ngx-components-auth-configuration.mjs.map +1 -1
  86. package/fesm2022/c8y-ngx-components-datapoint-explorer-devicemanagement.mjs +38 -0
  87. package/fesm2022/c8y-ngx-components-datapoint-explorer-devicemanagement.mjs.map +1 -0
  88. package/fesm2022/c8y-ngx-components-datapoint-explorer-view.mjs +143 -142
  89. package/fesm2022/c8y-ngx-components-datapoint-explorer-view.mjs.map +1 -1
  90. package/fesm2022/c8y-ngx-components-datapoint-explorer.mjs +1 -1
  91. package/fesm2022/c8y-ngx-components-datapoint-explorer.mjs.map +1 -1
  92. package/fesm2022/c8y-ngx-components-device-list.mjs +10 -3
  93. package/fesm2022/c8y-ngx-components-device-list.mjs.map +1 -1
  94. package/fesm2022/c8y-ngx-components-device-profile.mjs +126 -49
  95. package/fesm2022/c8y-ngx-components-device-profile.mjs.map +1 -1
  96. package/fesm2022/c8y-ngx-components-device-provisioned-certificates.mjs +44 -12
  97. package/fesm2022/c8y-ngx-components-device-provisioned-certificates.mjs.map +1 -1
  98. package/fesm2022/c8y-ngx-components-device-shell.mjs +31 -22
  99. package/fesm2022/c8y-ngx-components-device-shell.mjs.map +1 -1
  100. package/fesm2022/c8y-ngx-components-diagnostics.mjs +36 -19
  101. package/fesm2022/c8y-ngx-components-diagnostics.mjs.map +1 -1
  102. package/fesm2022/c8y-ngx-components-echart.mjs +53 -17
  103. package/fesm2022/c8y-ngx-components-echart.mjs.map +1 -1
  104. package/fesm2022/c8y-ngx-components-events-events-timeline.mjs +45 -0
  105. package/fesm2022/c8y-ngx-components-events-events-timeline.mjs.map +1 -0
  106. package/fesm2022/c8y-ngx-components-events.mjs +44 -0
  107. package/fesm2022/c8y-ngx-components-events.mjs.map +1 -0
  108. package/fesm2022/c8y-ngx-components-operations-bulk-operation-from-single.mjs +8 -14
  109. package/fesm2022/c8y-ngx-components-operations-bulk-operation-from-single.mjs.map +1 -1
  110. package/fesm2022/c8y-ngx-components-operations-bulk-operation-list-item.mjs +49 -49
  111. package/fesm2022/c8y-ngx-components-operations-bulk-operation-list-item.mjs.map +1 -1
  112. package/fesm2022/c8y-ngx-components-operations-bulk-operation-scheduler.mjs +27 -14
  113. package/fesm2022/c8y-ngx-components-operations-bulk-operation-scheduler.mjs.map +1 -1
  114. package/fesm2022/c8y-ngx-components-operations-bulk-operation-stepper.mjs +27 -33
  115. package/fesm2022/c8y-ngx-components-operations-bulk-operation-stepper.mjs.map +1 -1
  116. package/fesm2022/c8y-ngx-components-operations-bulk-operations-list.mjs +51 -39
  117. package/fesm2022/c8y-ngx-components-operations-bulk-operations-list.mjs.map +1 -1
  118. package/fesm2022/c8y-ngx-components-operations-bulk-operations-stepper-container.mjs +10 -8
  119. package/fesm2022/c8y-ngx-components-operations-bulk-operations-stepper-container.mjs.map +1 -1
  120. package/fesm2022/c8y-ngx-components-operations-create-bulk-operation-details.mjs +16 -11
  121. package/fesm2022/c8y-ngx-components-operations-create-bulk-operation-details.mjs.map +1 -1
  122. package/fesm2022/c8y-ngx-components-operations-device-selector.mjs +8 -11
  123. package/fesm2022/c8y-ngx-components-operations-device-selector.mjs.map +1 -1
  124. package/fesm2022/c8y-ngx-components-operations-operation-details.mjs +25 -21
  125. package/fesm2022/c8y-ngx-components-operations-operation-details.mjs.map +1 -1
  126. package/fesm2022/c8y-ngx-components-operations-operation-summary.mjs +7 -9
  127. package/fesm2022/c8y-ngx-components-operations-operation-summary.mjs.map +1 -1
  128. package/fesm2022/c8y-ngx-components-operations-operations-list-item-details.mjs +31 -31
  129. package/fesm2022/c8y-ngx-components-operations-operations-list-item-details.mjs.map +1 -1
  130. package/fesm2022/c8y-ngx-components-operations-operations-list.mjs +3 -3
  131. package/fesm2022/c8y-ngx-components-operations-operations-list.mjs.map +1 -1
  132. package/fesm2022/c8y-ngx-components-operations-operations-timeline.mjs +33 -13
  133. package/fesm2022/c8y-ngx-components-operations-operations-timeline.mjs.map +1 -1
  134. package/fesm2022/c8y-ngx-components-operations-status-filter.mjs +19 -13
  135. package/fesm2022/c8y-ngx-components-operations-status-filter.mjs.map +1 -1
  136. package/fesm2022/c8y-ngx-components-operations-stepper-bulk-type-configuration.mjs +40 -36
  137. package/fesm2022/c8y-ngx-components-operations-stepper-bulk-type-configuration.mjs.map +1 -1
  138. package/fesm2022/c8y-ngx-components-operations-stepper-bulk-type-device-profile.mjs +60 -41
  139. package/fesm2022/c8y-ngx-components-operations-stepper-bulk-type-device-profile.mjs.map +1 -1
  140. package/fesm2022/c8y-ngx-components-operations-stepper-bulk-type-firmware.mjs +122 -109
  141. package/fesm2022/c8y-ngx-components-operations-stepper-bulk-type-firmware.mjs.map +1 -1
  142. package/fesm2022/c8y-ngx-components-operations-stepper-bulk-type-software.mjs +66 -41
  143. package/fesm2022/c8y-ngx-components-operations-stepper-bulk-type-software.mjs.map +1 -1
  144. package/fesm2022/c8y-ngx-components-operations-stepper-frames.mjs +11 -16
  145. package/fesm2022/c8y-ngx-components-operations-stepper-frames.mjs.map +1 -1
  146. package/fesm2022/c8y-ngx-components-protocol-opcua.mjs +212 -83
  147. package/fesm2022/c8y-ngx-components-protocol-opcua.mjs.map +1 -1
  148. package/fesm2022/c8y-ngx-components-repository-configuration.mjs +113 -54
  149. package/fesm2022/c8y-ngx-components-repository-configuration.mjs.map +1 -1
  150. package/fesm2022/c8y-ngx-components-repository-firmware.mjs +130 -62
  151. package/fesm2022/c8y-ngx-components-repository-firmware.mjs.map +1 -1
  152. package/fesm2022/c8y-ngx-components-repository-shared.mjs +37 -28
  153. package/fesm2022/c8y-ngx-components-repository-shared.mjs.map +1 -1
  154. package/fesm2022/c8y-ngx-components-repository-software.mjs +156 -83
  155. package/fesm2022/c8y-ngx-components-repository-software.mjs.map +1 -1
  156. package/fesm2022/c8y-ngx-components-services.mjs +32 -19
  157. package/fesm2022/c8y-ngx-components-services.mjs.map +1 -1
  158. package/fesm2022/c8y-ngx-components-time-context.mjs +12 -5
  159. package/fesm2022/c8y-ngx-components-time-context.mjs.map +1 -1
  160. package/fesm2022/c8y-ngx-components-trusted-certificates.mjs +68 -31
  161. package/fesm2022/c8y-ngx-components-trusted-certificates.mjs.map +1 -1
  162. package/fesm2022/c8y-ngx-components-upgrade-upgraded-services.mjs +16 -3
  163. package/fesm2022/c8y-ngx-components-upgrade-upgraded-services.mjs.map +1 -1
  164. package/fesm2022/c8y-ngx-components-upgrade.mjs +1 -14
  165. package/fesm2022/c8y-ngx-components-upgrade.mjs.map +1 -1
  166. package/fesm2022/c8y-ngx-components-user-roles.mjs +8 -3
  167. package/fesm2022/c8y-ngx-components-user-roles.mjs.map +1 -1
  168. package/fesm2022/c8y-ngx-components-widgets-implementations-datapoints-graph.mjs +4 -4
  169. package/fesm2022/c8y-ngx-components-widgets-implementations-datapoints-graph.mjs.map +1 -1
  170. package/fesm2022/c8y-ngx-components.mjs +1219 -1190
  171. package/fesm2022/c8y-ngx-components.mjs.map +1 -1
  172. package/locales/de.po +53 -35
  173. package/locales/es.po +26 -5
  174. package/locales/fr.po +51 -30
  175. package/locales/ja_JP.po +90 -67
  176. package/locales/ko.po +26 -5
  177. package/locales/locales.pot +22 -13
  178. package/locales/nl.po +26 -5
  179. package/locales/pl.po +26 -5
  180. package/locales/pt_BR.po +26 -5
  181. package/locales/zh_CN.po +27 -6
  182. package/locales/zh_TW.po +26 -5
  183. package/operations/bulk-operation-from-single/bulk-operation-from-single.component.d.ts +1 -1
  184. package/operations/bulk-operation-from-single/bulk-operation-from-single.component.d.ts.map +1 -1
  185. package/operations/bulk-operation-from-single/bulk-operation-from-single.module.d.ts +3 -5
  186. package/operations/bulk-operation-from-single/bulk-operation-from-single.module.d.ts.map +1 -1
  187. package/operations/bulk-operation-list-item/bulk-operation-list-item.component.d.ts +1 -1
  188. package/operations/bulk-operation-list-item/bulk-operation-list-item.component.d.ts.map +1 -1
  189. package/operations/bulk-operation-list-item/bulk-operation-list-item.module.d.ts +1 -7
  190. package/operations/bulk-operation-list-item/bulk-operation-list-item.module.d.ts.map +1 -1
  191. package/operations/bulk-operation-list-item/bulk-operation-wrapper.component.d.ts +1 -1
  192. package/operations/bulk-operation-list-item/bulk-operation-wrapper.component.d.ts.map +1 -1
  193. package/operations/bulk-operation-list-item/modal-body-host.directive.d.ts +1 -1
  194. package/operations/bulk-operation-list-item/modal-body-host.directive.d.ts.map +1 -1
  195. package/operations/bulk-operation-list-item/modals/bulk-operations-reschedule-modal.component.d.ts +1 -1
  196. package/operations/bulk-operation-list-item/modals/bulk-operations-reschedule-modal.component.d.ts.map +1 -1
  197. package/operations/bulk-operation-scheduler/bulk-operation-scheduler.module.d.ts +6 -6
  198. package/operations/bulk-operation-scheduler/operation-scheduler.component.d.ts +1 -1
  199. package/operations/bulk-operation-scheduler/operation-scheduler.component.d.ts.map +1 -1
  200. package/operations/bulk-operation-stepper/base-stepper.component.d.ts +1 -1
  201. package/operations/bulk-operation-stepper/bulk-operation-stepper.component.d.ts +1 -1
  202. package/operations/bulk-operation-stepper/bulk-operation-stepper.component.d.ts.map +1 -1
  203. package/operations/bulk-operation-stepper/bulk-operation-stepper.module.d.ts +1 -5
  204. package/operations/bulk-operation-stepper/bulk-operation-stepper.module.d.ts.map +1 -1
  205. package/operations/bulk-operation-stepper/custom-step.directive.d.ts +1 -1
  206. package/operations/bulk-operation-stepper/custom-step.directive.d.ts.map +1 -1
  207. package/operations/bulk-operations-list/bulk-operations-list.component.d.ts +1 -1
  208. package/operations/bulk-operations-list/bulk-operations-list.component.d.ts.map +1 -1
  209. package/operations/bulk-operations-list/bulk-operations-list.module.d.ts +4 -10
  210. package/operations/bulk-operations-list/bulk-operations-list.module.d.ts.map +1 -1
  211. package/operations/bulk-operations-list/modals/bulk-operations-modal.component.d.ts +1 -1
  212. package/operations/bulk-operations-list/modals/bulk-operations-modal.component.d.ts.map +1 -1
  213. package/operations/bulk-operations-stepper-container/bulk-operations-stepper-container.component.d.ts +1 -1
  214. package/operations/bulk-operations-stepper-container/bulk-operations-stepper-container.component.d.ts.map +1 -1
  215. package/operations/bulk-operations-stepper-container/bulk-operations-stepper-container.module.d.ts +3 -4
  216. package/operations/bulk-operations-stepper-container/bulk-operations-stepper-container.module.d.ts.map +1 -1
  217. package/operations/create-bulk-operation-details/create-bulk-operation-details.component.d.ts +1 -1
  218. package/operations/create-bulk-operation-details/create-bulk-operation-details.component.d.ts.map +1 -1
  219. package/operations/create-bulk-operation-details/create-bulk-operation-details.module.d.ts +1 -4
  220. package/operations/create-bulk-operation-details/create-bulk-operation-details.module.d.ts.map +1 -1
  221. package/operations/device-selector/device-selector.component.d.ts +1 -1
  222. package/operations/device-selector/device-selector.component.d.ts.map +1 -1
  223. package/operations/device-selector/device-selector.module.d.ts +1 -3
  224. package/operations/device-selector/device-selector.module.d.ts.map +1 -1
  225. package/operations/operation-details/operation-details-modal.component.d.ts +1 -1
  226. package/operations/operation-details/operation-details-modal.component.d.ts.map +1 -1
  227. package/operations/operation-details/operation-details.component.d.ts +1 -1
  228. package/operations/operation-details/operation-details.component.d.ts.map +1 -1
  229. package/operations/operation-details/operation-details.module.d.ts +1 -7
  230. package/operations/operation-details/operation-details.module.d.ts.map +1 -1
  231. package/operations/operation-details/operation-details.service.d.ts.map +1 -1
  232. package/operations/operation-summary/operation-summary.component.d.ts +1 -1
  233. package/operations/operation-summary/operation-summary.component.d.ts.map +1 -1
  234. package/operations/operation-summary/operation-summary.module.d.ts +1 -2
  235. package/operations/operation-summary/operation-summary.module.d.ts.map +1 -1
  236. package/operations/operations-list/operations-list-item.component.d.ts.map +1 -1
  237. package/operations/operations-list/operations-list.component.d.ts.map +1 -1
  238. package/operations/operations-list/operations-list.service.d.ts +1 -1
  239. package/operations/operations-list/operations-list.service.d.ts.map +1 -1
  240. package/operations/operations-list-item-details/operation-details-tabs.component.d.ts +1 -1
  241. package/operations/operations-list-item-details/operation-details-tabs.component.d.ts.map +1 -1
  242. package/operations/operations-list-item-details/operation-details.component.d.ts +1 -1
  243. package/operations/operations-list-item-details/operation-details.component.d.ts.map +1 -1
  244. package/operations/operations-list-item-details/operations-list-item-details.module.d.ts +1 -6
  245. package/operations/operations-list-item-details/operations-list-item-details.module.d.ts.map +1 -1
  246. package/operations/operations-timeline/operations-timeline.component.d.ts +5 -5
  247. package/operations/operations-timeline/operations-timeline.component.d.ts.map +1 -1
  248. package/operations/operations-timeline/operations-timeline.module.d.ts +4 -6
  249. package/operations/operations-timeline/operations-timeline.module.d.ts.map +1 -1
  250. package/operations/status-filter/status-filter.component.d.ts +1 -1
  251. package/operations/status-filter/status-filter.component.d.ts.map +1 -1
  252. package/operations/status-filter/status-filter.module.d.ts +1 -4
  253. package/operations/status-filter/status-filter.module.d.ts.map +1 -1
  254. package/operations/stepper-bulk-type-configuration/stepper-bulk-type-configuration.component.d.ts +1 -1
  255. package/operations/stepper-bulk-type-configuration/stepper-bulk-type-configuration.component.d.ts.map +1 -1
  256. package/operations/stepper-bulk-type-configuration/stepper-bulk-type-configuration.module.d.ts +1 -6
  257. package/operations/stepper-bulk-type-configuration/stepper-bulk-type-configuration.module.d.ts.map +1 -1
  258. package/operations/stepper-bulk-type-device-profile/confirm-device-profile-selection-step.component.d.ts +1 -1
  259. package/operations/stepper-bulk-type-device-profile/confirm-device-profile-selection-step.component.d.ts.map +1 -1
  260. package/operations/stepper-bulk-type-device-profile/select-device-profile-step.component.d.ts +1 -1
  261. package/operations/stepper-bulk-type-device-profile/select-device-profile-step.component.d.ts.map +1 -1
  262. package/operations/stepper-bulk-type-device-profile/stepper-bulk-type-device-profile.component.d.ts +1 -1
  263. package/operations/stepper-bulk-type-device-profile/stepper-bulk-type-device-profile.component.d.ts.map +1 -1
  264. package/operations/stepper-bulk-type-device-profile/stepper-bulk-type-device-profile.module.d.ts +1 -6
  265. package/operations/stepper-bulk-type-device-profile/stepper-bulk-type-device-profile.module.d.ts.map +1 -1
  266. package/operations/stepper-bulk-type-firmware/select-firmware.component.d.ts +1 -1
  267. package/operations/stepper-bulk-type-firmware/select-firmware.component.d.ts.map +1 -1
  268. package/operations/stepper-bulk-type-firmware/stepper-bulk-type-firmware.component.d.ts +1 -1
  269. package/operations/stepper-bulk-type-firmware/stepper-bulk-type-firmware.component.d.ts.map +1 -1
  270. package/operations/stepper-bulk-type-firmware/stepper-bulk-type-firmware.module.d.ts +1 -6
  271. package/operations/stepper-bulk-type-firmware/stepper-bulk-type-firmware.module.d.ts.map +1 -1
  272. package/operations/stepper-bulk-type-firmware/version-or-patch.component.d.ts +1 -1
  273. package/operations/stepper-bulk-type-firmware/version-or-patch.component.d.ts.map +1 -1
  274. package/operations/stepper-bulk-type-software/confirm-software-selection-step.component.d.ts +1 -1
  275. package/operations/stepper-bulk-type-software/confirm-software-selection-step.component.d.ts.map +1 -1
  276. package/operations/stepper-bulk-type-software/select-software-step.component.d.ts +1 -1
  277. package/operations/stepper-bulk-type-software/select-software-step.component.d.ts.map +1 -1
  278. package/operations/stepper-bulk-type-software/stepper-bulk-type-software.component.d.ts +1 -1
  279. package/operations/stepper-bulk-type-software/stepper-bulk-type-software.component.d.ts.map +1 -1
  280. package/operations/stepper-bulk-type-software/stepper-bulk-type-software.module.d.ts +1 -6
  281. package/operations/stepper-bulk-type-software/stepper-bulk-type-software.module.d.ts.map +1 -1
  282. package/operations/stepper-frames/preview-block.directive.d.ts +1 -1
  283. package/operations/stepper-frames/preview-block.directive.d.ts.map +1 -1
  284. package/operations/stepper-frames/preview-selection-frame.component.d.ts +1 -1
  285. package/operations/stepper-frames/preview-selection-frame.component.d.ts.map +1 -1
  286. package/operations/stepper-frames/select-step-frame.component.d.ts +1 -1
  287. package/operations/stepper-frames/select-step-frame.component.d.ts.map +1 -1
  288. package/operations/stepper-frames/stepper-frames.modules.d.ts +1 -2
  289. package/operations/stepper-frames/stepper-frames.modules.d.ts.map +1 -1
  290. package/package.json +1 -1
  291. package/protocol-opcua/opcua-address-space-detail.component.d.ts +1 -1
  292. package/protocol-opcua/opcua-address-space-detail.component.d.ts.map +1 -1
  293. package/protocol-opcua/opcua-address-space-tree.component.d.ts +1 -1
  294. package/protocol-opcua/opcua-address-space-tree.component.d.ts.map +1 -1
  295. package/protocol-opcua/opcua-address-space.component.d.ts +1 -1
  296. package/protocol-opcua/opcua-address-space.component.d.ts.map +1 -1
  297. package/protocol-opcua/opcua-auto-apply-settings.component.d.ts +1 -1
  298. package/protocol-opcua/opcua-auto-apply-settings.component.d.ts.map +1 -1
  299. package/protocol-opcua/opcua-device-protocol-browse-path-validation.directive.d.ts +1 -1
  300. package/protocol-opcua/opcua-device-protocol-browse-path-validation.directive.d.ts.map +1 -1
  301. package/protocol-opcua/opcua-device-protocol-data-reporting.component.d.ts +1 -1
  302. package/protocol-opcua/opcua-device-protocol-data-reporting.component.d.ts.map +1 -1
  303. package/protocol-opcua/opcua-device-protocol-description.component.d.ts +1 -1
  304. package/protocol-opcua/opcua-device-protocol-description.component.d.ts.map +1 -1
  305. package/protocol-opcua/opcua-device-protocol-detail.component.d.ts +1 -1
  306. package/protocol-opcua/opcua-device-protocol-detail.component.d.ts.map +1 -1
  307. package/protocol-opcua/opcua-device-protocol-mapping.component.d.ts +1 -1
  308. package/protocol-opcua/opcua-device-protocol-mapping.component.d.ts.map +1 -1
  309. package/protocol-opcua/opcua-device-protocol-object-mapping-status-icon.component.d.ts +1 -1
  310. package/protocol-opcua/opcua-device-protocol-object-mapping-status-icon.component.d.ts.map +1 -1
  311. package/protocol-opcua/opcua-protocol.module.d.ts +26 -26
  312. package/protocol-opcua/opcua-protocol.module.d.ts.map +1 -1
  313. package/protocol-opcua/opcua-server-config.component.d.ts +1 -1
  314. package/protocol-opcua/opcua-server-config.component.d.ts.map +1 -1
  315. package/protocol-opcua/opcua-server-list.component.d.ts +1 -1
  316. package/protocol-opcua/opcua-server-list.component.d.ts.map +1 -1
  317. package/protocol-opcua/opcua-servers.component.d.ts +1 -1
  318. package/protocol-opcua/opcua-servers.component.d.ts.map +1 -1
  319. package/repository/configuration/device-tab/configuration-filter.pipe.d.ts +1 -1
  320. package/repository/configuration/device-tab/configuration-filter.pipe.d.ts.map +1 -1
  321. package/repository/configuration/device-tab/configuration-preview.component.d.ts +1 -1
  322. package/repository/configuration/device-tab/configuration-preview.component.d.ts.map +1 -1
  323. package/repository/configuration/device-tab/configuration-repository-device-tab.module.d.ts +11 -13
  324. package/repository/configuration/device-tab/configuration-repository-device-tab.module.d.ts.map +1 -1
  325. package/repository/configuration/device-tab/device-configuration-list.component.d.ts +1 -1
  326. package/repository/configuration/device-tab/device-configuration-list.component.d.ts.map +1 -1
  327. package/repository/configuration/device-tab/device-configuration.component.d.ts +1 -1
  328. package/repository/configuration/device-tab/device-configuration.component.d.ts.map +1 -1
  329. package/repository/configuration/device-tab/save-to-repository.component.d.ts +1 -1
  330. package/repository/configuration/device-tab/save-to-repository.component.d.ts.map +1 -1
  331. package/repository/configuration/device-tab/source-code-preview.component.d.ts +1 -1
  332. package/repository/configuration/device-tab/source-code-preview.component.d.ts.map +1 -1
  333. package/repository/configuration/device-tab/text-based-configuration.component.d.ts +1 -1
  334. package/repository/configuration/device-tab/text-based-configuration.component.d.ts.map +1 -1
  335. package/repository/configuration/list/configuration-detail.component.d.ts +1 -1
  336. package/repository/configuration/list/configuration-detail.component.d.ts.map +1 -1
  337. package/repository/configuration/list/configuration-list.component.d.ts +1 -1
  338. package/repository/configuration/list/configuration-list.component.d.ts.map +1 -1
  339. package/repository/configuration/list/configuration-repository-list.module.d.ts +4 -7
  340. package/repository/configuration/list/configuration-repository-list.module.d.ts.map +1 -1
  341. package/repository/firmware/device-tab/firmware-device-tab.component.d.ts +1 -1
  342. package/repository/firmware/device-tab/firmware-device-tab.component.d.ts.map +1 -1
  343. package/repository/firmware/device-tab/firmware-repository-device-tab.module.d.ts +4 -6
  344. package/repository/firmware/device-tab/firmware-repository-device-tab.module.d.ts.map +1 -1
  345. package/repository/firmware/list/add-firmware-modal.component.d.ts +1 -1
  346. package/repository/firmware/list/add-firmware-modal.component.d.ts.map +1 -1
  347. package/repository/firmware/list/add-firmware-patch-modal.component.d.ts +1 -1
  348. package/repository/firmware/list/add-firmware-patch-modal.component.d.ts.map +1 -1
  349. package/repository/firmware/list/firmware-details.component.d.ts +1 -1
  350. package/repository/firmware/list/firmware-details.component.d.ts.map +1 -1
  351. package/repository/firmware/list/firmware-list.component.d.ts +1 -1
  352. package/repository/firmware/list/firmware-list.component.d.ts.map +1 -1
  353. package/repository/firmware/list/firmware-repository-list.module.d.ts +6 -11
  354. package/repository/firmware/list/firmware-repository-list.module.d.ts.map +1 -1
  355. package/repository/shared/file-download/file-download.component.d.ts +1 -1
  356. package/repository/shared/file-download/file-download.component.d.ts.map +1 -1
  357. package/repository/shared/select-modal/repository-select-modal.component.d.ts +1 -1
  358. package/repository/shared/select-modal/repository-select-modal.component.d.ts.map +1 -1
  359. package/repository/shared/shared-repository.module.d.ts +1 -4
  360. package/repository/shared/shared-repository.module.d.ts.map +1 -1
  361. package/repository/shared/software-type/software-type.component.d.ts +1 -1
  362. package/repository/shared/software-type/software-type.component.d.ts.map +1 -1
  363. package/repository/software/device-tab/device-software-changes.component.d.ts +1 -1
  364. package/repository/software/device-tab/device-software-changes.component.d.ts.map +1 -1
  365. package/repository/software/device-tab/device-software-list.component.d.ts +1 -1
  366. package/repository/software/device-tab/device-software-list.component.d.ts.map +1 -1
  367. package/repository/software/device-tab/installed-software.component.d.ts +1 -1
  368. package/repository/software/device-tab/installed-software.component.d.ts.map +1 -1
  369. package/repository/software/device-tab/software-device-tab.component.d.ts +1 -1
  370. package/repository/software/device-tab/software-device-tab.component.d.ts.map +1 -1
  371. package/repository/software/device-tab/software-repository-device-tab.module.d.ts +7 -11
  372. package/repository/software/device-tab/software-repository-device-tab.module.d.ts.map +1 -1
  373. package/repository/software/list/add-software-modal.component.d.ts +1 -1
  374. package/repository/software/list/add-software-modal.component.d.ts.map +1 -1
  375. package/repository/software/list/software-details.component.d.ts +1 -1
  376. package/repository/software/list/software-details.component.d.ts.map +1 -1
  377. package/repository/software/list/software-list.component.d.ts +1 -1
  378. package/repository/software/list/software-list.component.d.ts.map +1 -1
  379. package/repository/software/list/software-repository-list.module.d.ts +5 -11
  380. package/repository/software/list/software-repository-list.module.d.ts.map +1 -1
  381. package/services/services-device-tab/columns/last-updated-date.cell-renderer.component.d.ts +1 -1
  382. package/services/services-device-tab/columns/last-updated-date.cell-renderer.component.d.ts.map +1 -1
  383. package/services/services-device-tab/columns/name.cell-renderer.component.d.ts +1 -1
  384. package/services/services-device-tab/columns/name.cell-renderer.component.d.ts.map +1 -1
  385. package/services/services-device-tab/columns/status.cell-renderer.component.d.ts +1 -1
  386. package/services/services-device-tab/columns/status.cell-renderer.component.d.ts.map +1 -1
  387. package/services/services-device-tab/services-device-tab.component.d.ts +1 -1
  388. package/services/services-device-tab/services-device-tab.component.d.ts.map +1 -1
  389. package/services/services-device-tab/services-device-tab.module.d.ts +1 -4
  390. package/services/services-device-tab/services-device-tab.module.d.ts.map +1 -1
  391. package/time-context/index.d.ts +1 -0
  392. package/time-context/index.d.ts.map +1 -1
  393. package/time-context/time-context.component.d.ts +6 -3
  394. package/time-context/time-context.component.d.ts.map +1 -1
  395. package/time-context/time-context.model.d.ts +10 -0
  396. package/time-context/time-context.model.d.ts.map +1 -0
  397. package/time-context/time-context.service.d.ts +2 -6
  398. package/time-context/time-context.service.d.ts.map +1 -1
  399. package/trusted-certificates/crl/crl-settings.component.d.ts +5 -1
  400. package/trusted-certificates/crl/crl-settings.component.d.ts.map +1 -1
  401. package/trusted-certificates/factories/tabs.factory.d.ts +3 -2
  402. package/trusted-certificates/factories/tabs.factory.d.ts.map +1 -1
  403. package/trusted-certificates/factories/trusted-certificates-navigation.factory.d.ts +2 -0
  404. package/trusted-certificates/factories/trusted-certificates-navigation.factory.d.ts.map +1 -1
  405. package/trusted-certificates/list/trusted-certificate-list.component.d.ts +5 -1
  406. package/trusted-certificates/list/trusted-certificate-list.component.d.ts.map +1 -1
  407. package/trusted-certificates/trusted-certificates.guard.d.ts +11 -0
  408. package/trusted-certificates/trusted-certificates.guard.d.ts.map +1 -0
  409. package/upgrade/index.d.ts +0 -1
  410. package/upgrade/index.d.ts.map +1 -1
  411. package/upgrade/upgrade.module.d.ts.map +1 -1
  412. package/upgrade/upgraded-services/index.d.ts +1 -0
  413. package/upgrade/upgraded-services/index.d.ts.map +1 -1
  414. package/upgrade/upgraded-services/smart-rules.service.d.ts.map +1 -0
  415. package/upgrade/upgraded-services/upgraded-services.module.d.ts.map +1 -1
  416. package/user-roles/inventory-role-selector/inventory-role-selector.component.d.ts +2 -1
  417. package/user-roles/inventory-role-selector/inventory-role-selector.component.d.ts.map +1 -1
  418. package/user-roles/roles-asset-tree/roles-asset-tree.component.d.ts +2 -1
  419. package/user-roles/roles-asset-tree/roles-asset-tree.component.d.ts.map +1 -1
  420. package/device-parameters/c8y-ngx-components-device-parameters.d.ts.map +0 -1
  421. package/device-parameters/device-parameters-list.component.d.ts +0 -22
  422. package/device-parameters/device-parameters-list.component.d.ts.map +0 -1
  423. package/device-parameters/device-parameters-tab.guard.d.ts +0 -11
  424. package/device-parameters/device-parameters-tab.guard.d.ts.map +0 -1
  425. package/device-parameters/index.d.ts +0 -2
  426. package/device-parameters/index.d.ts.map +0 -1
  427. package/fesm2022/c8y-ngx-components-device-parameters.mjs +0 -118
  428. package/fesm2022/c8y-ngx-components-device-parameters.mjs.map +0 -1
  429. package/upgrade/smart-rules.service.d.ts.map +0 -1
  430. /package/upgrade/{smart-rules.service.d.ts → upgraded-services/smart-rules.service.d.ts} +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"file":"c8y-ngx-components-device-parameters.d.ts","sourceRoot":"","sources":["../../device-parameters/c8y-ngx-components-device-parameters.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAEH,cAAc,SAAS,CAAC"}
@@ -1,22 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { Column, Pagination, DeviceParameter } from '@c8y/ngx-components';
3
- import * as i0 from "@angular/core";
4
- export declare class DeviceParametersListComponent implements OnInit {
5
- private readonly route;
6
- private readonly assetPropertyService;
7
- private readonly device;
8
- rows: DeviceParameter[];
9
- pagination: Pagination;
10
- columns: Column[];
11
- ngOnInit(): Promise<void>;
12
- loadData(): Promise<{
13
- data: any[];
14
- res: any;
15
- size: number;
16
- filteredSize: number;
17
- }>;
18
- private getParameterKeys;
19
- static ɵfac: i0.ɵɵFactoryDeclaration<DeviceParametersListComponent, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<DeviceParametersListComponent, "c8y-device-parameters-list", never, {}, {}, never, never, true, never>;
21
- }
22
- //# sourceMappingURL=device-parameters-list.component.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"device-parameters-list.component.d.ts","sourceRoot":"","sources":["../../device-parameters/device-parameters-list.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,MAAM,EAAE,MAAM,eAAe,CAAC;AAE1D,OAAO,EACL,MAAM,EAEN,UAAU,EAKV,eAAe,EAEhB,MAAM,qBAAqB,CAAC;;AAK7B,qBAMa,6BAA8B,YAAW,MAAM;IAC1D,OAAO,CAAC,QAAQ,CAAC,KAAK,CAA0B;IAChD,OAAO,CAAC,QAAQ,CAAC,oBAAoB,CAAsD;IAC3F,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAiE;IAExF,IAAI,EAAE,eAAe,EAAE,CAAM;IAC7B,UAAU,EAAE,UAAU,CAAoC;IAC1D,OAAO,EAAE,MAAM,EAAE,CAKf;IAEI,QAAQ;IAIR,QAAQ;;aAMG,GAAG;;;;IAsBpB,OAAO,CAAC,gBAAgB;yCA9Cb,6BAA6B;2CAA7B,6BAA6B;CAkEzC"}
@@ -1,11 +0,0 @@
1
- import { CanActivate } from '@angular/router';
2
- import { ApplicationService } from '@c8y/client';
3
- import * as i0 from "@angular/core";
4
- export declare class DeviceParametersTabGuard implements CanActivate {
5
- private applicationService;
6
- constructor(applicationService: ApplicationService);
7
- canActivate(): Promise<boolean>;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<DeviceParametersTabGuard, never>;
9
- static ɵprov: i0.ɵɵInjectableDeclaration<DeviceParametersTabGuard>;
10
- }
11
- //# sourceMappingURL=device-parameters-tab.guard.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"device-parameters-tab.guard.d.ts","sourceRoot":"","sources":["../../device-parameters/device-parameters-tab.guard.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;;AAKjD,qBACa,wBAAyB,YAAW,WAAW;IAC9C,OAAO,CAAC,kBAAkB;gBAAlB,kBAAkB,EAAE,kBAAkB;IAEpD,WAAW,IAAI,OAAO,CAAC,OAAO,CAAC;yCAH1B,wBAAwB;6CAAxB,wBAAwB;CAgBpC"}
@@ -1,2 +0,0 @@
1
- export declare const deviceParametersFeatureProvider: (import("@angular/core").ValueProvider | import("@angular/core").ExistingProvider | import("@angular/core").ClassProvider)[];
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../device-parameters/index.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,+BAA+B,8HAAuC,CAAC"}
@@ -1,118 +0,0 @@
1
- import { AssetPropertyService, gettext, C8yTranslatePipe, EmptyStateComponent, DataGridComponent, IconDirective, ViewContext, hookRoute } from '@c8y/ngx-components';
2
- import * as i0 from '@angular/core';
3
- import { inject, Component, Injectable } from '@angular/core';
4
- import { CommonModule } from '@angular/common';
5
- import { ActivatedRoute } from '@angular/router';
6
- import { difference } from 'lodash-es';
7
- import * as i1 from '@c8y/client';
8
-
9
- class DeviceParametersListComponent {
10
- constructor() {
11
- this.route = inject(ActivatedRoute);
12
- this.assetPropertyService = inject(AssetPropertyService);
13
- this.device = this.route.snapshot.parent?.data?.contextData;
14
- this.rows = [];
15
- this.pagination = { currentPage: 1, pageSize: 25 };
16
- this.columns = [
17
- { name: 'Title', path: 'title', header: gettext('Title') },
18
- { name: 'Key', path: 'key', header: gettext('Key') },
19
- { name: 'Value', path: 'value', header: gettext('Value') },
20
- { name: 'Type', path: 'type', header: gettext('Type') }
21
- ];
22
- }
23
- async ngOnInit() {
24
- await this.loadData();
25
- }
26
- async loadData() {
27
- const paramKeys = this.getParameterKeys(this.device);
28
- if (!paramKeys.length) {
29
- return {
30
- data: [],
31
- res: {},
32
- size: 0,
33
- filteredSize: 0
34
- };
35
- }
36
- const result = await this.assetPropertyService.list({ identifiers: paramKeys });
37
- const definitions = result.data || [];
38
- this.rows = paramKeys.map(key => {
39
- const def = definitions.find(d => d.identifier === key);
40
- const value = this.device[key];
41
- return {
42
- title: def?.jsonSchema?.title || '',
43
- key,
44
- value: typeof value === 'object' ? JSON.stringify(value) : value,
45
- type: def?.jsonSchema?.type || typeof value
46
- };
47
- });
48
- }
49
- getParameterKeys(device) {
50
- const excluded = [
51
- 'id',
52
- 'self',
53
- 'owner',
54
- 'name',
55
- 'type',
56
- 'lastUpdated',
57
- 'creationTime',
58
- 'childDevices',
59
- 'childAssets',
60
- 'childAdditions',
61
- 'deviceParents',
62
- 'assetParents',
63
- 'additionParents',
64
- 'c8y_IsDevice',
65
- 'com_cumulocity_model_Agent'
66
- ];
67
- return difference(Object.keys(device), excluded);
68
- }
69
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: DeviceParametersListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
70
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: DeviceParametersListComponent, isStandalone: true, selector: "c8y-device-parameters-list", ngImport: i0, template: "<div class=\"content-fullpage\">\n <c8y-data-grid\n [title]=\"'Parameters' | translate\"\n [columns]=\"columns\"\n [rows]=\"rows\"\n [pagination]=\"pagination\"\n (onReload)=\"loadData()\"\n >\n <c8y-ui-empty-state\n icon=\"search\"\n [title]=\"'No parameters to display.' | translate\"\n [subtitle]=\"'Parameters used in the device will be displayed here' | translate\"\n horizontal\n ></c8y-ui-empty-state>\n </c8y-data-grid>\n</div>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: C8yTranslatePipe, name: "translate" }, { kind: "component", type: EmptyStateComponent, selector: "c8y-ui-empty-state", inputs: ["icon", "title", "subtitle", "horizontal"] }, { kind: "component", type: DataGridComponent, selector: "c8y-data-grid", inputs: ["title", "loadMoreItemsLabel", "loadingItemsLabel", "showSearch", "refresh", "columns", "rows", "pagination", "childNodePagination", "infiniteScroll", "serverSideDataCallback", "selectable", "singleSelection", "selectionPrimaryKey", "displayOptions", "actionControls", "bulkActionControls", "headerActionControls", "searchText", "configureColumnsEnabled", "showCounterWarning", "activeClassName", "expandableRows", "treeGrid", "hideReload", "childNodesProperty", "parentNodeLabelProperty"], outputs: ["rowMouseOver", "rowMouseLeave", "rowClick", "onConfigChange", "onBeforeFilter", "onBeforeSearch", "onFilter", "itemsSelect", "onReload", "onAddCustomColumn", "onRemoveCustomColumn", "onColumnFilterReset", "onSort", "onPageSizeChange", "onColumnReordered", "onColumnVisibilityChange"] }] }); }
71
- }
72
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: DeviceParametersListComponent, decorators: [{
73
- type: Component,
74
- args: [{ standalone: true, selector: 'c8y-device-parameters-list', imports: [CommonModule, IconDirective, C8yTranslatePipe, EmptyStateComponent, DataGridComponent], template: "<div class=\"content-fullpage\">\n <c8y-data-grid\n [title]=\"'Parameters' | translate\"\n [columns]=\"columns\"\n [rows]=\"rows\"\n [pagination]=\"pagination\"\n (onReload)=\"loadData()\"\n >\n <c8y-ui-empty-state\n icon=\"search\"\n [title]=\"'No parameters to display.' | translate\"\n [subtitle]=\"'Parameters used in the device will be displayed here' | translate\"\n horizontal\n ></c8y-ui-empty-state>\n </c8y-data-grid>\n</div>\n" }]
75
- }] });
76
-
77
- const DEVICE_PARAMETERS_MICROSERVICE = 'device-parameters';
78
- const DTM_MICROSERVICE = 'dtm';
79
- class DeviceParametersTabGuard {
80
- constructor(applicationService) {
81
- this.applicationService = applicationService;
82
- }
83
- async canActivate() {
84
- const deviceParametersAvailable = await this.applicationService
85
- .isAvailable(DEVICE_PARAMETERS_MICROSERVICE)
86
- .then(({ data }) => data)
87
- .catch(() => false);
88
- const dtmAvailable = await this.applicationService
89
- .isAvailable(DTM_MICROSERVICE)
90
- .then(({ data }) => data)
91
- .catch(() => false);
92
- return deviceParametersAvailable && dtmAvailable;
93
- }
94
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: DeviceParametersTabGuard, deps: [{ token: i1.ApplicationService }], target: i0.ɵɵFactoryTarget.Injectable }); }
95
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: DeviceParametersTabGuard, providedIn: 'root' }); }
96
- }
97
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: DeviceParametersTabGuard, decorators: [{
98
- type: Injectable,
99
- args: [{ providedIn: 'root' }]
100
- }], ctorParameters: () => [{ type: i1.ApplicationService }] });
101
-
102
- const DEVICE_PARAMETERS_ROUTE = {
103
- path: 'parameters',
104
- context: ViewContext.Device,
105
- component: DeviceParametersListComponent,
106
- label: gettext('Parameters'),
107
- icon: 'sliders',
108
- priority: 650,
109
- canActivate: [DeviceParametersTabGuard]
110
- };
111
- const deviceParametersFeatureProvider = [hookRoute(DEVICE_PARAMETERS_ROUTE)];
112
-
113
- /**
114
- * Generated bundle index. Do not edit.
115
- */
116
-
117
- export { deviceParametersFeatureProvider };
118
- //# sourceMappingURL=c8y-ngx-components-device-parameters.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"c8y-ngx-components-device-parameters.mjs","sources":["../../device-parameters/device-parameters-list.component.ts","../../device-parameters/device-parameters-list.component.html","../../device-parameters/device-parameters-tab.guard.ts","../../device-parameters/index.ts","../../device-parameters/c8y-ngx-components-device-parameters.ts"],"sourcesContent":["import { Component, inject, OnInit } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport {\n Column,\n DataGridComponent,\n Pagination,\n AssetPropertyService,\n C8yTranslatePipe,\n EmptyStateComponent,\n IconDirective,\n DeviceParameter,\n gettext\n} from '@c8y/ngx-components';\nimport { ActivatedRoute } from '@angular/router';\nimport { IManagedObject } from '@c8y/client';\nimport { difference } from 'lodash-es';\n\n@Component({\n standalone: true,\n selector: 'c8y-device-parameters-list',\n imports: [CommonModule, IconDirective, C8yTranslatePipe, EmptyStateComponent, DataGridComponent],\n templateUrl: 'device-parameters-list.component.html'\n})\nexport class DeviceParametersListComponent implements OnInit {\n private readonly route = inject(ActivatedRoute);\n private readonly assetPropertyService: AssetPropertyService = inject(AssetPropertyService);\n private readonly device: IManagedObject = this.route.snapshot.parent?.data?.contextData;\n\n rows: DeviceParameter[] = [];\n pagination: Pagination = { currentPage: 1, pageSize: 25 };\n columns: Column[] = [\n { name: 'Title', path: 'title', header: gettext('Title') },\n { name: 'Key', path: 'key', header: gettext('Key') },\n { name: 'Value', path: 'value', header: gettext('Value') },\n { name: 'Type', path: 'type', header: gettext('Type') }\n ];\n\n async ngOnInit() {\n await this.loadData();\n }\n\n async loadData() {\n const paramKeys = this.getParameterKeys(this.device);\n\n if (!paramKeys.length) {\n return {\n data: [],\n res: {} as any,\n size: 0,\n filteredSize: 0\n };\n }\n\n const result = await this.assetPropertyService.list({ identifiers: paramKeys });\n const definitions = result.data || [];\n\n this.rows = paramKeys.map(key => {\n const def = definitions.find(d => d.identifier === key);\n const value = this.device[key];\n\n return {\n title: def?.jsonSchema?.title || '',\n key,\n value: typeof value === 'object' ? JSON.stringify(value) : value,\n type: def?.jsonSchema?.type || typeof value\n };\n });\n }\n\n private getParameterKeys(device: IManagedObject): string[] {\n const excluded = [\n 'id',\n 'self',\n 'owner',\n 'name',\n 'type',\n 'lastUpdated',\n 'creationTime',\n 'childDevices',\n 'childAssets',\n 'childAdditions',\n 'deviceParents',\n 'assetParents',\n 'additionParents',\n 'c8y_IsDevice',\n 'com_cumulocity_model_Agent'\n ];\n return difference(Object.keys(device), excluded);\n }\n}\n","<div class=\"content-fullpage\">\n <c8y-data-grid\n [title]=\"'Parameters' | translate\"\n [columns]=\"columns\"\n [rows]=\"rows\"\n [pagination]=\"pagination\"\n (onReload)=\"loadData()\"\n >\n <c8y-ui-empty-state\n icon=\"search\"\n [title]=\"'No parameters to display.' | translate\"\n [subtitle]=\"'Parameters used in the device will be displayed here' | translate\"\n horizontal\n ></c8y-ui-empty-state>\n </c8y-data-grid>\n</div>\n","import { Injectable } from '@angular/core';\nimport { CanActivate } from '@angular/router';\nimport { ApplicationService } from '@c8y/client';\n\nconst DEVICE_PARAMETERS_MICROSERVICE = 'device-parameters';\nconst DTM_MICROSERVICE = 'dtm';\n\n@Injectable({ providedIn: 'root' })\nexport class DeviceParametersTabGuard implements CanActivate {\n constructor(private applicationService: ApplicationService) {}\n\n async canActivate(): Promise<boolean> {\n const deviceParametersAvailable = await this.applicationService\n .isAvailable(DEVICE_PARAMETERS_MICROSERVICE)\n .then(({ data }) => data)\n .catch(() => false);\n\n const dtmAvailable = await this.applicationService\n .isAvailable(DTM_MICROSERVICE)\n .then(({ data }) => data)\n .catch(() => false);\n\n return deviceParametersAvailable && dtmAvailable;\n }\n}\n","import { hookRoute, Route, ViewContext, gettext } from '@c8y/ngx-components';\nimport { DeviceParametersListComponent } from './device-parameters-list.component';\nimport { DeviceParametersTabGuard } from './device-parameters-tab.guard';\n\nconst DEVICE_PARAMETERS_ROUTE: Route = {\n path: 'parameters',\n context: ViewContext.Device,\n component: DeviceParametersListComponent,\n label: gettext('Parameters'),\n icon: 'sliders',\n priority: 650,\n canActivate: [DeviceParametersTabGuard]\n};\n\nexport const deviceParametersFeatureProvider = [hookRoute(DEVICE_PARAMETERS_ROUTE)];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;MAuBa,6BAA6B,CAAA;AAN1C,IAAA,WAAA,GAAA;AAOmB,QAAA,IAAA,CAAA,KAAK,GAAG,MAAM,CAAC,cAAc,CAAC;AAC9B,QAAA,IAAA,CAAA,oBAAoB,GAAyB,MAAM,CAAC,oBAAoB,CAAC;AACzE,QAAA,IAAA,CAAA,MAAM,GAAmB,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,MAAM,EAAE,IAAI,EAAE,WAAW;QAEvF,IAAI,CAAA,IAAA,GAAsB,EAAE;QAC5B,IAAU,CAAA,UAAA,GAAe,EAAE,WAAW,EAAE,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE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