@c8y/ngx-components 1021.52.0 → 1021.54.4

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 (259) hide show
  1. package/alarm-event-selector/alarm-event-attributes-form/alarm-event-attributes-form.component.d.ts +10 -2
  2. package/alarm-event-selector/alarm-event-attributes-form/alarm-event-attributes-form.component.d.ts.map +1 -1
  3. package/alarm-event-selector/alarm-event-attributes-form/alarm-event-attributes-form.model.d.ts +11 -0
  4. package/alarm-event-selector/alarm-event-attributes-form/alarm-event-attributes-form.model.d.ts.map +1 -0
  5. package/alarm-event-selector/alarm-event-selection-list/alarm-event-selection-list.component.d.ts +10 -4
  6. package/alarm-event-selector/alarm-event-selection-list/alarm-event-selection-list.component.d.ts.map +1 -1
  7. package/alarm-event-selector/alarm-event-selector-list-item/alarm-event-selector-list-item.component.d.ts +3 -1
  8. package/alarm-event-selector/alarm-event-selector-list-item/alarm-event-selector-list-item.component.d.ts.map +1 -1
  9. package/alarm-event-selector/alarm-event-selector.model.d.ts +7 -0
  10. package/alarm-event-selector/alarm-event-selector.model.d.ts.map +1 -1
  11. package/core/application/app-icon.component.d.ts.map +1 -1
  12. package/core/dashboard/dashboard-child-action.component.d.ts +1 -1
  13. package/core/dashboard/dashboard-child-action.component.d.ts.map +1 -1
  14. package/core/dashboard/dashboard.module.d.ts +29 -29
  15. package/core/dashboard/index.d.ts +3 -0
  16. package/core/dashboard/index.d.ts.map +1 -1
  17. package/core/dashboard/widgets-dashboard.component.d.ts +1 -1
  18. package/core/dashboard/widgets-dashboard.component.d.ts.map +1 -1
  19. package/core/dashboard/wiget-time-context/aggregation-picker/aggregation-picker.component.d.ts +1 -1
  20. package/core/dashboard/wiget-time-context/aggregation-picker/aggregation-picker.component.d.ts.map +1 -1
  21. package/core/dashboard/wiget-time-context/realtime-control/realtime-control.component.d.ts +1 -1
  22. package/core/dashboard/wiget-time-context/realtime-control/realtime-control.component.d.ts.map +1 -1
  23. package/core/dashboard/wiget-time-context/widget-time-context-date-range.service.d.ts +10 -0
  24. package/core/dashboard/wiget-time-context/widget-time-context-date-range.service.d.ts.map +1 -0
  25. package/core/dashboard/wiget-time-context/widget-time-context.component.d.ts +7 -4
  26. package/core/dashboard/wiget-time-context/widget-time-context.component.d.ts.map +1 -1
  27. package/core/dashboard/wiget-time-context/widget-time-context.model.d.ts +0 -1
  28. package/core/dashboard/wiget-time-context/widget-time-context.model.d.ts.map +1 -1
  29. package/core/date-picker/date-picker.component.d.ts +1 -1
  30. package/core/date-picker/date-picker.component.d.ts.map +1 -1
  31. package/core/date-picker/date-picker.module.d.ts +9 -9
  32. package/core/date-time-picker/close-date-picker.directive.d.ts +1 -1
  33. package/core/date-time-picker/close-date-picker.directive.d.ts.map +1 -1
  34. package/core/date-time-picker/date-time-picker.component.d.ts +6 -3
  35. package/core/date-time-picker/date-time-picker.component.d.ts.map +1 -1
  36. package/core/date-time-picker/date-time-picker.module.d.ts +11 -11
  37. package/core/date-time-picker/date-time-picker.module.d.ts.map +1 -1
  38. package/core/forms/forms.module.d.ts +18 -18
  39. package/core/forms/required-input-placeholder.directive.d.ts +1 -1
  40. package/core/forms/required-input-placeholder.directive.d.ts.map +1 -1
  41. package/core/router/router.service.d.ts.map +1 -1
  42. package/core/user/user-menu.service.d.ts +36 -11
  43. package/core/user/user-menu.service.d.ts.map +1 -1
  44. package/datapoint-explorer/c8y-ngx-components-datapoint-explorer.d.ts.map +1 -0
  45. package/datapoint-explorer/datapoint-explorer.module.d.ts +7 -0
  46. package/datapoint-explorer/datapoint-explorer.module.d.ts.map +1 -0
  47. package/datapoint-explorer/index.d.ts +2 -0
  48. package/datapoint-explorer/index.d.ts.map +1 -0
  49. package/datapoint-explorer/view/c8y-ngx-components-datapoint-explorer-view.d.ts.map +1 -0
  50. package/datapoint-explorer/view/configuration/naming-dictionary.d.ts +3 -0
  51. package/datapoint-explorer/view/configuration/naming-dictionary.d.ts.map +1 -0
  52. package/datapoint-explorer/view/configuration/workspace-configuration.component.d.ts +38 -0
  53. package/datapoint-explorer/view/configuration/workspace-configuration.component.d.ts.map +1 -0
  54. package/datapoint-explorer/view/configuration/workspace-configuration.model.d.ts +7 -0
  55. package/datapoint-explorer/view/configuration/workspace-configuration.model.d.ts.map +1 -0
  56. package/datapoint-explorer/view/configuration/workspace-configuration.service.d.ts +15 -0
  57. package/datapoint-explorer/view/configuration/workspace-configuration.service.d.ts.map +1 -0
  58. package/datapoint-explorer/view/create-new-report-modal/create-new-report-modal.component.d.ts +25 -0
  59. package/datapoint-explorer/view/create-new-report-modal/create-new-report-modal.component.d.ts.map +1 -0
  60. package/datapoint-explorer/view/datapoint-explorer.component.d.ts +67 -0
  61. package/datapoint-explorer/view/datapoint-explorer.component.d.ts.map +1 -0
  62. package/datapoint-explorer/view/datapoint-explorer.service.d.ts +9 -0
  63. package/datapoint-explorer/view/datapoint-explorer.service.d.ts.map +1 -0
  64. package/datapoint-explorer/view/index.d.ts +2 -0
  65. package/datapoint-explorer/view/index.d.ts.map +1 -0
  66. package/datapoint-explorer/view/send-as-widget-to-report-modal/send-as-widget-to-report-modal.component.d.ts +23 -0
  67. package/datapoint-explorer/view/send-as-widget-to-report-modal/send-as-widget-to-report-modal.component.d.ts.map +1 -0
  68. package/echart/c8y-ngx-components-echart.d.ts.map +1 -0
  69. package/echart/chart-alerts/chart-alerts.component.d.ts +8 -0
  70. package/echart/chart-alerts/chart-alerts.component.d.ts.map +1 -0
  71. package/echart/charts.component.d.ts +63 -0
  72. package/echart/charts.component.d.ts.map +1 -0
  73. package/echart/index.d.ts +5 -0
  74. package/echart/index.d.ts.map +1 -0
  75. package/echart/models/c8y-ngx-components-echart-models.d.ts.map +1 -0
  76. package/echart/models/chart.model.d.ts +37 -0
  77. package/echart/models/chart.model.d.ts.map +1 -0
  78. package/echart/models/datapoints-graph-widget.model.d.ts +126 -0
  79. package/echart/models/datapoints-graph-widget.model.d.ts.map +1 -0
  80. package/echart/models/index.d.ts +4 -0
  81. package/echart/models/index.d.ts.map +1 -0
  82. package/echart/models/svg-icons.model.d.ts +22 -0
  83. package/echart/models/svg-icons.model.d.ts.map +1 -0
  84. package/echart/services/chart-alarms.service.d.ts +17 -0
  85. package/echart/services/chart-alarms.service.d.ts.map +1 -0
  86. package/echart/services/chart-events.service.d.ts +17 -0
  87. package/echart/services/chart-events.service.d.ts.map +1 -0
  88. package/echart/services/chart-realtime.service.d.ts +35 -0
  89. package/echart/services/chart-realtime.service.d.ts.map +1 -0
  90. package/echart/services/chart-types.service.d.ts +15 -0
  91. package/echart/services/chart-types.service.d.ts.map +1 -0
  92. package/echart/services/custom-measurements.service.d.ts +12 -0
  93. package/echart/services/custom-measurements.service.d.ts.map +1 -0
  94. package/echart/services/echarts-options.service.d.ts +143 -0
  95. package/echart/services/echarts-options.service.d.ts.map +1 -0
  96. package/echart/services/y-axis.service.d.ts +17 -0
  97. package/echart/services/y-axis.service.d.ts.map +1 -0
  98. package/esm2022/alarm-event-selector/alarm-event-attributes-form/alarm-event-attributes-form.component.mjs +37 -12
  99. package/esm2022/alarm-event-selector/alarm-event-attributes-form/alarm-event-attributes-form.model.mjs +2 -0
  100. package/esm2022/alarm-event-selector/alarm-event-selection-list/alarm-event-selection-list.component.mjs +39 -12
  101. package/esm2022/alarm-event-selector/alarm-event-selector-list-item/alarm-event-selector-list-item.component.mjs +6 -4
  102. package/esm2022/alarm-event-selector/alarm-event-selector.component.mjs +1 -1
  103. package/esm2022/alarm-event-selector/alarm-event-selector.model.mjs +1 -1
  104. package/esm2022/alarm-event-selector/custom-alarm-event-form/custom-alarm-event-form.component.mjs +1 -1
  105. package/esm2022/alarms/alarms-filter.component.mjs +3 -3
  106. package/esm2022/core/application/app-icon.component.mjs +4 -4
  107. package/esm2022/core/dashboard/dashboard-child-action.component.mjs +3 -3
  108. package/esm2022/core/dashboard/dashboard.module.mjs +17 -14
  109. package/esm2022/core/dashboard/index.mjs +4 -1
  110. package/esm2022/core/dashboard/widgets-dashboard.component.mjs +9 -9
  111. package/esm2022/core/dashboard/wiget-time-context/aggregation-picker/aggregation-picker.component.mjs +11 -9
  112. package/esm2022/core/dashboard/wiget-time-context/realtime-control/realtime-control.component.mjs +8 -7
  113. package/esm2022/core/dashboard/wiget-time-context/widget-time-context-date-range.service.mjs +23 -0
  114. package/esm2022/core/dashboard/wiget-time-context/widget-time-context.component.mjs +70 -26
  115. package/esm2022/core/dashboard/wiget-time-context/widget-time-context.model.mjs +1 -1
  116. package/esm2022/core/date-picker/date-picker.component.mjs +29 -14
  117. package/esm2022/core/date-picker/date-picker.module.mjs +9 -7
  118. package/esm2022/core/date-time-picker/close-date-picker.directive.mjs +4 -3
  119. package/esm2022/core/date-time-picker/date-time-picker.component.mjs +57 -29
  120. package/esm2022/core/date-time-picker/date-time-picker.module.mjs +11 -7
  121. package/esm2022/core/forms/forms.module.mjs +3 -3
  122. package/esm2022/core/forms/ip-range-input-list.component.mjs +5 -5
  123. package/esm2022/core/forms/required-input-placeholder.directive.mjs +4 -3
  124. package/esm2022/core/router/router.service.mjs +1 -1
  125. package/esm2022/core/time-interval/time-interval.component.mjs +3 -3
  126. package/esm2022/core/user/user-menu.service.mjs +57 -17
  127. package/esm2022/datapoint-explorer/c8y-ngx-components-datapoint-explorer.mjs +5 -0
  128. package/esm2022/datapoint-explorer/datapoint-explorer.module.mjs +65 -0
  129. package/esm2022/datapoint-explorer/index.mjs +2 -0
  130. package/esm2022/datapoint-explorer/view/c8y-ngx-components-datapoint-explorer-view.mjs +5 -0
  131. package/esm2022/datapoint-explorer/view/configuration/naming-dictionary.mjs +65 -0
  132. package/esm2022/datapoint-explorer/view/configuration/workspace-configuration.component.mjs +169 -0
  133. package/esm2022/datapoint-explorer/view/configuration/workspace-configuration.model.mjs +2 -0
  134. package/esm2022/datapoint-explorer/view/configuration/workspace-configuration.service.mjs +40 -0
  135. package/esm2022/datapoint-explorer/view/create-new-report-modal/create-new-report-modal.component.mjs +64 -0
  136. package/esm2022/datapoint-explorer/view/datapoint-explorer.component.mjs +279 -0
  137. package/esm2022/datapoint-explorer/view/datapoint-explorer.service.mjs +23 -0
  138. package/esm2022/datapoint-explorer/view/index.mjs +2 -0
  139. package/esm2022/datapoint-explorer/view/send-as-widget-to-report-modal/send-as-widget-to-report-modal.component.mjs +48 -0
  140. package/esm2022/datapoint-selector/datapoint-attributes-form/datapoint-attributes-form.component.mjs +3 -3
  141. package/esm2022/datapoint-selector/datapoint-selector-list-item/datapoint-selector-list-item.component.mjs +3 -3
  142. package/esm2022/datapoints-export-selector/datapoints-export-selector-modal/datapoints-export-selector-file-exporter/datapoints-exports-selector-file-types/datapoints-exports-selector-file-types.component.mjs +3 -3
  143. package/esm2022/datapoints-export-selector/datapoints-export-selector.component.mjs +3 -3
  144. package/esm2022/device-list/add-smart-group.component.mjs +3 -3
  145. package/esm2022/echart/c8y-ngx-components-echart.mjs +5 -0
  146. package/esm2022/echart/chart-alerts/chart-alerts.component.mjs +16 -0
  147. package/esm2022/echart/charts.component.mjs +560 -0
  148. package/esm2022/echart/index.mjs +5 -0
  149. package/esm2022/echart/models/c8y-ngx-components-echart-models.mjs +5 -0
  150. package/esm2022/echart/models/chart.model.mjs +2 -0
  151. package/esm2022/echart/models/datapoints-graph-widget.model.mjs +17 -0
  152. package/esm2022/echart/models/index.mjs +4 -0
  153. package/esm2022/echart/models/svg-icons.model.mjs +22 -0
  154. package/esm2022/echart/services/chart-alarms.service.mjs +58 -0
  155. package/esm2022/echart/services/chart-events.service.mjs +44 -0
  156. package/esm2022/echart/services/chart-realtime.service.mjs +193 -0
  157. package/esm2022/echart/services/chart-types.service.mjs +102 -0
  158. package/esm2022/echart/services/custom-measurements.service.mjs +52 -0
  159. package/esm2022/echart/services/echarts-options.service.mjs +857 -0
  160. package/esm2022/echart/services/y-axis.service.mjs +150 -0
  161. package/esm2022/interval-picker/interval-picker.component.mjs +3 -3
  162. package/esm2022/interval-picker/interval-picker.model.mjs +1 -1
  163. package/esm2022/map/map.component.mjs +4 -1
  164. package/esm2022/report-dashboard/index.mjs +2 -1
  165. package/esm2022/time-context/c8y-ngx-components-time-context.mjs +5 -0
  166. package/esm2022/time-context/index.mjs +2 -0
  167. package/esm2022/time-context/time-context.component.mjs +217 -0
  168. package/esm2022/time-context/time-context.service.mjs +83 -0
  169. package/esm2022/tracking/tracking.component.mjs +5 -6
  170. package/esm2022/tracking/tracking.service.mjs +7 -3
  171. package/esm2022/translation-editor/lazy/translation-editor/translation-editor.component.mjs +6 -5
  172. package/esm2022/widgets/cockpit-exports/index.mjs +8 -1
  173. package/esm2022/widgets/definitions/datapoints-graph/c8y-ngx-components-widgets-definitions-datapoints-graph.mjs +5 -0
  174. package/esm2022/widgets/definitions/datapoints-graph/index.mjs +31 -0
  175. package/esm2022/widgets/definitions/index.mjs +3 -2
  176. package/esm2022/widgets/implementations/datapoints-graph/c8y-ngx-components-widgets-implementations-datapoints-graph.mjs +5 -0
  177. package/esm2022/widgets/implementations/datapoints-graph/datapoints-graph-config/datapoints-graph-widget-config.component.mjs +239 -0
  178. package/esm2022/widgets/implementations/datapoints-graph/datapoints-graph-view/datapoints-graph-widget-view.component.mjs +241 -0
  179. package/esm2022/widgets/implementations/datapoints-graph/index.mjs +3 -0
  180. package/fesm2022/c8y-ngx-components-alarm-event-selector.mjs +80 -28
  181. package/fesm2022/c8y-ngx-components-alarm-event-selector.mjs.map +1 -1
  182. package/fesm2022/c8y-ngx-components-alarms.mjs +2 -2
  183. package/fesm2022/c8y-ngx-components-alarms.mjs.map +1 -1
  184. package/fesm2022/c8y-ngx-components-datapoint-explorer-view.mjs +658 -0
  185. package/fesm2022/c8y-ngx-components-datapoint-explorer-view.mjs.map +1 -0
  186. package/fesm2022/c8y-ngx-components-datapoint-explorer.mjs +72 -0
  187. package/fesm2022/c8y-ngx-components-datapoint-explorer.mjs.map +1 -0
  188. package/fesm2022/c8y-ngx-components-datapoint-selector.mjs +4 -4
  189. package/fesm2022/c8y-ngx-components-datapoint-selector.mjs.map +1 -1
  190. package/fesm2022/c8y-ngx-components-datapoints-export-selector.mjs +4 -4
  191. package/fesm2022/c8y-ngx-components-datapoints-export-selector.mjs.map +1 -1
  192. package/fesm2022/c8y-ngx-components-device-list.mjs +2 -2
  193. package/fesm2022/c8y-ngx-components-device-list.mjs.map +1 -1
  194. package/fesm2022/c8y-ngx-components-echart-models.mjs +46 -0
  195. package/fesm2022/c8y-ngx-components-echart-models.mjs.map +1 -0
  196. package/fesm2022/c8y-ngx-components-echart.mjs +2023 -0
  197. package/fesm2022/c8y-ngx-components-echart.mjs.map +1 -0
  198. package/fesm2022/c8y-ngx-components-interval-picker.mjs +2 -2
  199. package/fesm2022/c8y-ngx-components-interval-picker.mjs.map +1 -1
  200. package/fesm2022/c8y-ngx-components-map.mjs +3 -0
  201. package/fesm2022/c8y-ngx-components-map.mjs.map +1 -1
  202. package/fesm2022/c8y-ngx-components-report-dashboard.mjs +1 -1
  203. package/fesm2022/c8y-ngx-components-time-context.mjs +300 -0
  204. package/fesm2022/c8y-ngx-components-time-context.mjs.map +1 -0
  205. package/fesm2022/c8y-ngx-components-tracking.mjs +10 -7
  206. package/fesm2022/c8y-ngx-components-tracking.mjs.map +1 -1
  207. package/fesm2022/c8y-ngx-components-translation-editor-lazy.mjs +5 -4
  208. package/fesm2022/c8y-ngx-components-translation-editor-lazy.mjs.map +1 -1
  209. package/fesm2022/c8y-ngx-components-widgets-cockpit-exports.mjs +7 -0
  210. package/fesm2022/c8y-ngx-components-widgets-cockpit-exports.mjs.map +1 -1
  211. package/fesm2022/c8y-ngx-components-widgets-definitions-datapoints-graph.mjs +38 -0
  212. package/fesm2022/c8y-ngx-components-widgets-definitions-datapoints-graph.mjs.map +1 -0
  213. package/fesm2022/c8y-ngx-components-widgets-definitions.mjs +2 -1
  214. package/fesm2022/c8y-ngx-components-widgets-definitions.mjs.map +1 -1
  215. package/fesm2022/c8y-ngx-components-widgets-implementations-datapoints-graph.mjs +467 -0
  216. package/fesm2022/c8y-ngx-components-widgets-implementations-datapoints-graph.mjs.map +1 -0
  217. package/fesm2022/c8y-ngx-components.mjs +433 -281
  218. package/fesm2022/c8y-ngx-components.mjs.map +1 -1
  219. package/interval-picker/interval-picker.component.d.ts.map +1 -1
  220. package/interval-picker/interval-picker.model.d.ts.map +1 -1
  221. package/locales/de.po +206 -279
  222. package/locales/es.po +206 -279
  223. package/locales/fr.po +206 -279
  224. package/locales/ja_JP.po +196 -279
  225. package/locales/ko.po +455 -444
  226. package/locales/locales.pot +200 -0
  227. package/locales/nl.po +206 -279
  228. package/locales/pl.po +206 -279
  229. package/locales/pt_BR.po +206 -279
  230. package/locales/zh_CN.po +450 -443
  231. package/locales/zh_TW.po +452 -445
  232. package/map/map.component.d.ts.map +1 -1
  233. package/package.json +1 -1
  234. package/report-dashboard/index.d.ts +1 -0
  235. package/report-dashboard/index.d.ts.map +1 -1
  236. package/time-context/c8y-ngx-components-time-context.d.ts.map +1 -0
  237. package/time-context/index.d.ts +2 -0
  238. package/time-context/index.d.ts.map +1 -0
  239. package/time-context/time-context.component.d.ts +61 -0
  240. package/time-context/time-context.component.d.ts.map +1 -0
  241. package/time-context/time-context.service.d.ts +25 -0
  242. package/time-context/time-context.service.d.ts.map +1 -0
  243. package/tracking/tracking.component.d.ts.map +1 -1
  244. package/tracking/tracking.service.d.ts.map +1 -1
  245. package/translation-editor/lazy/translation-editor/translation-editor.component.d.ts.map +1 -1
  246. package/widgets/cockpit-exports/index.d.ts +6 -0
  247. package/widgets/cockpit-exports/index.d.ts.map +1 -1
  248. package/widgets/definitions/datapoints-graph/c8y-ngx-components-widgets-definitions-datapoints-graph.d.ts.map +1 -0
  249. package/widgets/definitions/datapoints-graph/index.d.ts +16 -0
  250. package/widgets/definitions/datapoints-graph/index.d.ts.map +1 -0
  251. package/widgets/definitions/index.d.ts +1 -0
  252. package/widgets/definitions/index.d.ts.map +1 -1
  253. package/widgets/implementations/datapoints-graph/c8y-ngx-components-widgets-implementations-datapoints-graph.d.ts.map +1 -0
  254. package/widgets/implementations/datapoints-graph/datapoints-graph-config/datapoints-graph-widget-config.component.d.ts +43 -0
  255. package/widgets/implementations/datapoints-graph/datapoints-graph-config/datapoints-graph-widget-config.component.d.ts.map +1 -0
  256. package/widgets/implementations/datapoints-graph/datapoints-graph-view/datapoints-graph-widget-view.component.d.ts +54 -0
  257. package/widgets/implementations/datapoints-graph/datapoints-graph-view/datapoints-graph-widget-view.component.d.ts.map +1 -0
  258. package/widgets/implementations/datapoints-graph/index.d.ts +3 -0
  259. package/widgets/implementations/datapoints-graph/index.d.ts.map +1 -0
@@ -2,6 +2,9 @@ import { OnInit } from '@angular/core';
2
2
  import { AbstractControl, ControlValueAccessor, FormBuilder, FormGroup, ValidationErrors, Validator } from '@angular/forms';
3
3
  import { AlarmEventAttributesFormService } from './alarm-event-attributes-form.service';
4
4
  import { AlarmOrEvent, OmitSelectorProperties, TimelineType } from '../alarm-event-selector.model';
5
+ import { IIdentified } from '@c8y/client';
6
+ import { KPIDetails } from '@c8y/ngx-components/datapoint-selector';
7
+ import { AlarmEventAttributeForm } from './alarm-event-attributes-form.model';
5
8
  import * as i0 from "@angular/core";
6
9
  export declare class AlarmEventAttributesFormComponent implements ControlValueAccessor, Validator, OnInit {
7
10
  private formBuilder;
@@ -9,7 +12,9 @@ export declare class AlarmEventAttributesFormComponent implements ControlValueAc
9
12
  timelineType: TimelineType;
10
13
  omitProperties: OmitSelectorProperties;
11
14
  selectedItems: AlarmOrEvent[];
12
- formGroup: FormGroup;
15
+ target: IIdentified;
16
+ datapoints: KPIDetails[];
17
+ formGroup: FormGroup<AlarmEventAttributeForm>;
13
18
  constructor(formBuilder: FormBuilder, alarmEventAttributesFormService: AlarmEventAttributesFormService);
14
19
  ngOnInit(): void;
15
20
  validate(_control: AbstractControl): ValidationErrors;
@@ -17,7 +22,10 @@ export declare class AlarmEventAttributesFormComponent implements ControlValueAc
17
22
  registerOnChange(fn: any): void;
18
23
  registerOnTouched(fn: any): void;
19
24
  setDisabledState(isDisabled: boolean): void;
25
+ changeDatapointSelection(event: Event): void;
26
+ trackByFn(_index: number, item: KPIDetails): string;
27
+ private filterKpis;
20
28
  static ɵfac: i0.ɵɵFactoryDeclaration<AlarmEventAttributesFormComponent, never>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<AlarmEventAttributesFormComponent, "c8y-alarm-event-attributes-form", never, { "timelineType": { "alias": "timelineType"; "required": false; }; "omitProperties": { "alias": "omitProperties"; "required": false; }; "selectedItems": { "alias": "selectedItems"; "required": false; }; }, {}, never, never, false, never>;
29
+ static ɵcmp: i0.ɵɵComponentDeclaration<AlarmEventAttributesFormComponent, "c8y-alarm-event-attributes-form", never, { "timelineType": { "alias": "timelineType"; "required": false; }; "omitProperties": { "alias": "omitProperties"; "required": false; }; "selectedItems": { "alias": "selectedItems"; "required": false; }; "target": { "alias": "target"; "required": false; }; "datapoints": { "alias": "datapoints"; "required": false; }; }, {}, never, never, false, never>;
22
30
  }
23
31
  //# sourceMappingURL=alarm-event-attributes-form.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"alarm-event-attributes-form.component.d.ts","sourceRoot":"","sources":["../../../alarm-event-selector/alarm-event-attributes-form/alarm-event-attributes-form.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgC,MAAM,EAAE,MAAM,eAAe,CAAC;AACrE,OAAO,EACL,eAAe,EACf,oBAAoB,EACpB,WAAW,EAEX,SAAS,EAGT,gBAAgB,EAChB,SAAS,EAEV,MAAM,gBAAgB,CAAC;AAExB,OAAO,EAAE,+BAA+B,EAAE,MAAM,uCAAuC,CAAC;AACxF,OAAO,EAAE,YAAY,EAAE,sBAAsB,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;;AAEnG,qBAgBa,iCAAkC,YAAW,oBAAoB,EAAE,SAAS,EAAE,MAAM;IAO7F,OAAO,CAAC,WAAW;IACnB,OAAO,CAAC,+BAA+B;IAPhC,YAAY,EAAE,YAAY,CAAC;IAC3B,cAAc,EAAE,sBAAsB,CAAM;IAC5C,aAAa,EAAE,YAAY,EAAE,CAAM;IAC5C,SAAS,EAAE,SAAS,CAAC;gBAGX,WAAW,EAAE,WAAW,EACxB,+BAA+B,EAAE,+BAA+B;IAG1E,QAAQ;IAmBR,QAAQ,CAAC,QAAQ,EAAE,eAAe,GAAG,gBAAgB;IAIrD,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,IAAI;IAI1B,gBAAgB,CAAC,EAAE,EAAE,GAAG,GAAG,IAAI;IAI/B,iBAAiB,CAAC,EAAE,EAAE,GAAG,GAAG,IAAI;IAIhC,gBAAgB,CAAC,UAAU,EAAE,OAAO,GAAG,IAAI;yCA9ChC,iCAAiC;2CAAjC,iCAAiC;CAiD7C"}
1
+ {"version":3,"file":"alarm-event-attributes-form.component.d.ts","sourceRoot":"","sources":["../../../alarm-event-selector/alarm-event-attributes-form/alarm-event-attributes-form.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgC,MAAM,EAAE,MAAM,eAAe,CAAC;AACrE,OAAO,EACL,eAAe,EACf,oBAAoB,EACpB,WAAW,EAEX,SAAS,EAGT,gBAAgB,EAChB,SAAS,EAEV,MAAM,gBAAgB,CAAC;AAExB,OAAO,EAAE,+BAA+B,EAAE,MAAM,uCAAuC,CAAC;AACxF,OAAO,EACL,YAAY,EACZ,sBAAsB,EAEtB,YAAY,EACb,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,wCAAwC,CAAC;AACpE,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;;AAE9E,qBAgBa,iCAAkC,YAAW,oBAAoB,EAAE,SAAS,EAAE,MAAM;IAS7F,OAAO,CAAC,WAAW;IACnB,OAAO,CAAC,+BAA+B;IAThC,YAAY,EAAE,YAAY,CAAC;IAC3B,cAAc,EAAE,sBAAsB,CAAM;IAC5C,aAAa,EAAE,YAAY,EAAE,CAAM;IACnC,MAAM,EAAE,WAAW,CAAC;IACpB,UAAU,EAAE,UAAU,EAAE,CAAM;IACvC,SAAS,EAAE,SAAS,CAAC,uBAAuB,CAAC,CAAC;gBAGpC,WAAW,EAAE,WAAW,EACxB,+BAA+B,EAAE,+BAA+B;IAG1E,QAAQ;IAoBR,QAAQ,CAAC,QAAQ,EAAE,eAAe,GAAG,gBAAgB;IAIrD,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,IAAI;IAI1B,gBAAgB,CAAC,EAAE,EAAE,GAAG,GAAG,IAAI;IAI/B,iBAAiB,CAAC,EAAE,EAAE,GAAG,GAAG,IAAI;IAIhC,gBAAgB,CAAC,UAAU,EAAE,OAAO,GAAG,IAAI;IAI3C,wBAAwB,CAAC,KAAK,EAAE,KAAK;IAarC,SAAS,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU;IAI1C,OAAO,CAAC,UAAU;yCAtEP,iCAAiC;2CAAjC,iCAAiC;CA2E7C"}
@@ -0,0 +1,11 @@
1
+ import { FormControl, FormGroup } from '@angular/forms';
2
+ import { SelectedDatapoint, TimelineType } from '../alarm-event-selector.model';
3
+ export interface AlarmEventAttributeForm {
4
+ filters: FormGroup<{
5
+ type: FormControl<string>;
6
+ }>;
7
+ timelineType: FormControl<TimelineType>;
8
+ selectedDatapoint: FormControl<null | SelectedDatapoint>;
9
+ label?: FormControl<string>;
10
+ }
11
+ //# sourceMappingURL=alarm-event-attributes-form.model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"alarm-event-attributes-form.model.d.ts","sourceRoot":"","sources":["../../../alarm-event-selector/alarm-event-attributes-form/alarm-event-attributes-form.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAEhF,MAAM,WAAW,uBAAuB;IACtC,OAAO,EAAE,SAAS,CAAC;QACjB,IAAI,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;KAC3B,CAAC,CAAC;IACH,YAAY,EAAE,WAAW,CAAC,YAAY,CAAC,CAAC;IACxC,iBAAiB,EAAE,WAAW,CAAC,IAAI,GAAG,iBAAiB,CAAC,CAAC;IACzD,KAAK,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;CAC7B"}
@@ -1,17 +1,20 @@
1
1
  import { CdkDragDrop } from '@angular/cdk/drag-drop';
2
2
  import { OnDestroy, OnInit } from '@angular/core';
3
3
  import { AbstractControl, ControlValueAccessor, FormArray, FormBuilder, ValidationErrors, Validator } from '@angular/forms';
4
- import { EmptyStateComponent } from '@c8y/ngx-components';
4
+ import { ContextRouteService, EmptyStateComponent } from '@c8y/ngx-components';
5
5
  import { WidgetConfigComponent } from '@c8y/ngx-components/context-dashboard';
6
6
  import { AlarmEventSelectorModalOptions } from '../alarm-event-selector-modal/alarm-event-selector-modal.model';
7
7
  import { AlarmEventSelectorModalService } from '../alarm-event-selector-modal/alarm-event-selector-modal.service';
8
8
  import { AlarmOrEvent, OmitSelectorProperties, TimelineType, TimelineTypeTexts } from '../alarm-event-selector.model';
9
9
  import { AlarmEventSelectorService } from '../alarm-event-selector.service';
10
+ import { ActivatedRoute } from '@angular/router';
10
11
  import * as i0 from "@angular/core";
11
12
  export declare class AlarmEventSelectionListComponent implements ControlValueAccessor, Validator, OnInit, OnDestroy {
12
13
  private alarmEventModalService;
13
14
  private alarmEventSelectService;
14
15
  private formBuilder;
16
+ private activatedRoute;
17
+ private contextRouteService;
15
18
  private widgetComponent;
16
19
  timelineType: TimelineType;
17
20
  canRemove: boolean;
@@ -23,6 +26,7 @@ export declare class AlarmEventSelectionListComponent implements ControlValueAcc
23
26
  inline: boolean;
24
27
  activeToggleAsSwitch: boolean;
25
28
  omitProperties: OmitSelectorProperties;
29
+ datapoints: any[];
26
30
  emptyState: EmptyStateComponent;
27
31
  /**
28
32
  * The configuration for the alarms-events selector modal.
@@ -30,8 +34,9 @@ export declare class AlarmEventSelectionListComponent implements ControlValueAcc
30
34
  config: Partial<AlarmEventSelectorModalOptions>;
31
35
  formArray: FormArray;
32
36
  timelineTypeTexts: TimelineTypeTexts;
37
+ contextSourceId: number | string | null;
33
38
  private destroy$;
34
- constructor(alarmEventModalService: AlarmEventSelectorModalService, alarmEventSelectService: AlarmEventSelectorService, formBuilder: FormBuilder, widgetComponent: WidgetConfigComponent);
39
+ constructor(alarmEventModalService: AlarmEventSelectorModalService, alarmEventSelectService: AlarmEventSelectorService, formBuilder: FormBuilder, activatedRoute: ActivatedRoute, contextRouteService: ContextRouteService, widgetComponent: WidgetConfigComponent);
35
40
  ngOnInit(): void;
36
41
  ngOnDestroy(): void;
37
42
  registerOnTouched(fn: any): void;
@@ -42,7 +47,8 @@ export declare class AlarmEventSelectionListComponent implements ControlValueAcc
42
47
  onItemRemoved(index: number): void;
43
48
  drop(event: CdkDragDrop<AlarmOrEvent[]>): void;
44
49
  private transformValue;
45
- static ɵfac: i0.ɵɵFactoryDeclaration<AlarmEventSelectionListComponent, [null, null, null, { optional: true; }]>;
46
- static ɵcmp: i0.ɵɵComponentDeclaration<AlarmEventSelectionListComponent, "c8y-alarm-event-selection-list", never, { "timelineType": { "alias": "timelineType"; "required": false; }; "canRemove": { "alias": "canRemove"; "required": false; }; "canEdit": { "alias": "canEdit"; "required": false; }; "canDragAndDrop": { "alias": "canDragAndDrop"; "required": false; }; "title": { "alias": "title"; "required": false; }; "addButtonLabel": { "alias": "addButtonLabel"; "required": false; }; "hideSource": { "alias": "hideSource"; "required": false; }; "inline": { "alias": "inline"; "required": false; }; "activeToggleAsSwitch": { "alias": "activeToggleAsSwitch"; "required": false; }; "omitProperties": { "alias": "omitProperties"; "required": false; }; "config": { "alias": "config"; "required": false; }; }, {}, ["emptyState"], ["c8y-ui-empty-state"], false, never>;
50
+ private initializeContextSourceId;
51
+ static ɵfac: i0.ɵɵFactoryDeclaration<AlarmEventSelectionListComponent, [null, null, null, { optional: true; }, { optional: true; }, { optional: true; }]>;
52
+ static ɵcmp: i0.ɵɵComponentDeclaration<AlarmEventSelectionListComponent, "c8y-alarm-event-selection-list", never, { "timelineType": { "alias": "timelineType"; "required": false; }; "canRemove": { "alias": "canRemove"; "required": false; }; "canEdit": { "alias": "canEdit"; "required": false; }; "canDragAndDrop": { "alias": "canDragAndDrop"; "required": false; }; "title": { "alias": "title"; "required": false; }; "addButtonLabel": { "alias": "addButtonLabel"; "required": false; }; "hideSource": { "alias": "hideSource"; "required": false; }; "inline": { "alias": "inline"; "required": false; }; "activeToggleAsSwitch": { "alias": "activeToggleAsSwitch"; "required": false; }; "omitProperties": { "alias": "omitProperties"; "required": false; }; "datapoints": { "alias": "datapoints"; "required": false; }; "config": { "alias": "config"; "required": false; }; }, {}, ["emptyState"], ["c8y-ui-empty-state"], false, never>;
47
53
  }
48
54
  //# sourceMappingURL=alarm-event-selection-list.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"alarm-event-selection-list.component.d.ts","sourceRoot":"","sources":["../../../alarm-event-selector/alarm-event-selection-list/alarm-event-selection-list.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAmB,MAAM,wBAAwB,CAAC;AACtE,OAAO,EAKL,SAAS,EACT,MAAM,EAEP,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,eAAe,EACf,oBAAoB,EACpB,SAAS,EACT,WAAW,EAGX,gBAAgB,EAChB,SAAS,EACV,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,EAAE,qBAAqB,EAAE,MAAM,uCAAuC,CAAC;AAE9E,OAAO,EAAE,8BAA8B,EAAE,MAAM,gEAAgE,CAAC;AAChH,OAAO,EAAE,8BAA8B,EAAE,MAAM,kEAAkE,CAAC;AAClH,OAAO,EACL,YAAY,EACZ,sBAAsB,EACtB,YAAY,EACZ,iBAAiB,EAClB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,yBAAyB,E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ts","sourceRoot":"","sources":["../../../alarm-event-selector/alarm-event-selection-list/alarm-event-selection-list.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAmB,MAAM,wBAAwB,CAAC;AACtE,OAAO,EAKL,SAAS,EACT,MAAM,EAEP,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,eAAe,EACf,oBAAoB,EACpB,SAAS,EACT,WAAW,EAGX,gBAAgB,EAChB,SAAS,EACV,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,mBAAmB,EAAE,mBAAmB,EAAe,MAAM,qBAAqB,CAAC;AAC5F,OAAO,EAAE,qBAAqB,EAAE,MAAM,uCAAuC,CAAC;AAE9E,OAAO,EAAE,8BAA8B,EAAE,MAAM,gEAAgE,CAAC;AAChH,OAAO,EAAE,8BAA8B,EAAE,MAAM,kEAAkE,CAAC;AAClH,OAAO,EACL,YAAY,EACZ,sBAAsB,EACtB,YAAY,EACZ,iBAAiB,EAClB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,yBAAyB,EAAE,MAAM,iCAAiC,CAAC;AAE5E,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;;AAEjD,qBAgBa,gCACX,YAAW,oBAAoB,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS;IA2B3D,OAAO,CAAC,sBAAsB;IAC9B,OAAO,CAAC,uBAAuB;IAC/B,OAAO,CAAC,WAAW;IACP,OAAO,CAAC,cAAc;IACtB,OAAO,CAAC,mBAAmB;IAC3B,OAAO,CAAC,eAAe;IA9B5B,YAAY,EAAE,YAAY,CAAW;IACrC,SAAS,UAAQ;IACjB,OAAO,UAAQ;IACf,cAAc,UAAQ;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,UAAS;IACnB,MAAM,UAAS;IACf,oBAAoB,UAAQ;IAC5B,cAAc,EAAE,sBAAsB,CAAkC;IACxE,UAAU,QAAM;IACU,UAAU,EAAE,mBAAmB,CAAC;IAEnE;;OAEG;IACM,MAAM,EAAE,OAAO,CAAC,8BAA8B,CAAC,CAAM;IAE9D,SAAS,EAAE,SAAS,CAAC;IACrB,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,eAAe,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;IAExC,OAAO,CAAC,QAAQ,CAAuB;gBAG7B,sBAAsB,EAAE,8BAA8B,EACtD,uBAAuB,EAAE,yBAAyB,EAClD,WAAW,EAAE,WAAW,EACZ,cAAc,EAAE,cAAc,EAC9B,mBAAmB,EAAE,mBAAmB,EACxC,eAAe,EAAE,qBAAqB;IAK5D,QAAQ,IAAI,IAAI;IAYhB,WAAW,IAAI,IAAI;IAKnB,iBAAiB,CAAC,EAAE,EAAE,GAAG,GAAG,IAAI;IAIhC,QAAQ,CAAC,QAAQ,EAAE,eAAe,GAAG,gBAAgB;IAIrD,UAAU,CAAC,GAAG,EAAE,YAAY,EAAE,GAAG,IAAI;IAWrC,gBAAgB,CAAC,EAAE,EAAE,GAAG,GAAG,IAAI;IAU/B,GAAG;IA6BH,aAAa,CAAC,KAAK,EAAE,MAAM;IAI3B,IAAI,CAAC,KAAK,EAAE,WAAW,CAAC,YAAY,EAAE,CAAC;IAMvC,OAAO,CAAC,cAAc;IAOtB,OAAO,CAAC,yBAAyB;yCAlItB,gCAAgC;2CAAhC,gCAAgC;CA4I5C"}
@@ -2,10 +2,12 @@ import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
2
  import { AbstractControl, ControlValueAccessor, FormBuilder, FormGroup, ValidationErrors, Validator } from '@angular/forms';
3
3
  import { AlarmOrEvent, OmitSelectorProperties, TimelineType } from '../alarm-event-selector.model';
4
4
  import { Observable } from 'rxjs';
5
+ import { KPIDetails } from '@c8y/ngx-components/datapoint-selector';
5
6
  import * as i0 from "@angular/core";
6
7
  export declare class AlarmEventSelectorListItemComponent implements OnInit, ControlValueAccessor, Validator, OnDestroy {
7
8
  private formBuilder;
8
9
  timelineType: TimelineType;
10
+ datapoints: KPIDetails[] | undefined;
9
11
  highlightText: string;
10
12
  showAddRemoveButton: boolean;
11
13
  isSelected: boolean;
@@ -34,6 +36,6 @@ export declare class AlarmEventSelectorListItemComponent implements OnInit, Cont
34
36
  remove(): void;
35
37
  private transformFormValue;
36
38
  static ɵfac: i0.ɵɵFactoryDeclaration<AlarmEventSelectorListItemComponent, never>;
37
- static ɵcmp: i0.ɵɵComponentDeclaration<AlarmEventSelectorListItemComponent, "c8y-alarm-event-selector-list-item", never, { "timelineType": { "alias": "timelineType"; "required": false; }; "highlightText": { "alias": "highlightText"; "required": false; }; "showAddRemoveButton": { "alias": "showAddRemoveButton"; "required": false; }; "isSelected": { "alias": "isSelected"; "required": false; }; "optionToRemove": { "alias": "optionToRemove"; "required": false; }; "showActiveToggle": { "alias": "showActiveToggle"; "required": false; }; "allowItemEdit": { "alias": "allowItemEdit"; "required": false; }; "hideSource": { "alias": "hideSource"; "required": false; }; "displayAsSwitch": { "alias": "displayAsSwitch"; "required": false; }; "omitProperties": { "alias": "omitProperties"; "required": false; }; }, { "added": "added"; "removed": "removed"; }, never, ["c8y-li-drag-handle"], false, never>;
39
+ static ɵcmp: i0.ɵɵComponentDeclaration<AlarmEventSelectorListItemComponent, "c8y-alarm-event-selector-list-item", never, { "timelineType": { "alias": "timelineType"; "required": false; }; "datapoints": { "alias": "datapoints"; "required": false; }; "highlightText": { "alias": "highlightText"; "required": false; }; "showAddRemoveButton": { "alias": "showAddRemoveButton"; "required": false; }; "isSelected": { "alias": "isSelected"; "required": false; }; "optionToRemove": { "alias": "optionToRemove"; "required": false; }; "showActiveToggle": { "alias": "showActiveToggle"; "required": false; }; "allowItemEdit": { "alias": "allowItemEdit"; "required": false; }; "hideSource": { "alias": "hideSource"; "required": false; }; "displayAsSwitch": { "alias": "displayAsSwitch"; "required": false; }; "omitProperties": { "alias": "omitProperties"; "required": false; }; }, { "added": "added"; "removed": "removed"; }, never, ["c8y-li-drag-handle"], false, never>;
38
40
  }
39
41
  //# sourceMappingURL=alarm-event-selector-list-item.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"alarm-event-selector-list-item.component.d.ts","sourceRoot":"","sources":["../../../alarm-event-selector/alarm-event-selector-list-item/alarm-event-selector-list-item.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,YAAY,EAGZ,SAAS,EACT,MAAM,EAEP,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,eAAe,EACf,oBAAoB,EACpB,WAAW,EACX,SAAS,EAGT,gBAAgB,EAChB,SAAS,EACV,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,YAAY,EAAE,sBAAsB,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAEnG,OAAO,EAAE,UAAU,EAAW,MAAM,MAAM,CAAC;;AAG3C,qBAgBa,mCACX,YAAW,MAAM,EAAE,oBAAoB,EAAE,SAAS,EAAE,SAAS;IAqBjD,OAAO,CAAC,WAAW;IAnBtB,YAAY,EAAE,YAAY,CAAC;IAC3B,aAAa,EAAE,MAAM,CAAC;IACtB,mBAAmB,UAAQ;IAC3B,UAAU,UAAS;IACnB,cAAc,UAAS;IACvB,gBAAgB,UAAS;IACzB,aAAa,UAAS;IACtB,UAAU,UAAS;IACnB,eAAe,UAAS;IACxB,cAAc,EAAE,sBAAsB,CAAM;IAErD,gBAAgB,EAAE,MAAM,CAAC;IACf,KAAK,6BAAoC;IACzC,OAAO,6BAAoC;IAErD,SAAS,EAAE,SAAS,CAAC;IACrB,MAAM,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;IAC5B,OAAO,CAAC,QAAQ,CAAuB;gBAEnB,WAAW,EAAE,WAAW;IAa5C,QAAQ;IAIR,WAAW;IAKX,YAAY;IAIZ,QAAQ,CAAC,QAAQ,EAAE,eAAe,GAAG,gBAAgB;IAIrD,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,IAAI;IAI1B,gBAAgB,CAAC,EAAE,EAAE,GAAG,GAAG,IAAI;IAS/B,iBAAiB,CAAC,EAAE,EAAE,GAAG,GAAG,IAAI;IAIhC,gBAAgB,CAAC,UAAU,EAAE,OAAO,GAAG,IAAI;IAI3C,eAAe;IASf,MAAM;IAIN,OAAO,CAAC,kBAAkB;yCAtFf,mCAAmC;2CAAnC,mCAAmC;CA2F/C"}
1
+ {"version":3,"file":"alarm-event-selector-list-item.component.d.ts","sourceRoot":"","sources":["../../../alarm-event-selector/alarm-event-selector-list-item/alarm-event-selector-list-item.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,YAAY,EAGZ,SAAS,EACT,MAAM,EAEP,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,eAAe,EACf,oBAAoB,EACpB,WAAW,EACX,SAAS,EAGT,gBAAgB,EAChB,SAAS,EACV,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,YAAY,EAAE,sBAAsB,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAEnG,OAAO,EAAE,UAAU,EAAW,MAAM,MAAM,CAAC;AAE3C,OAAO,EAAE,UAAU,EAAE,MAAM,wCAAwC,CAAC;;AACpE,qBAgBa,mCACX,YAAW,MAAM,EAAE,oBAAoB,EAAE,SAAS,EAAE,SAAS;IAsBjD,OAAO,CAAC,WAAW;IApBtB,YAAY,EAAE,YAAY,CAAC;IAC3B,UAAU,EAAE,UAAU,EAAE,GAAG,SAAS,CAAC;IACrC,aAAa,EAAE,MAAM,CAAC;IACtB,mBAAmB,UAAQ;IAC3B,UAAU,UAAS;IACnB,cAAc,UAAS;IACvB,gBAAgB,UAAS;IACzB,aAAa,UAAS;IACtB,UAAU,UAAS;IACnB,eAAe,UAAS;IACxB,cAAc,EAAE,sBAAsB,CAAM;IAErD,gBAAgB,EAAE,MAAM,CAAC;IACf,KAAK,6BAAoC;IACzC,OAAO,6BAAoC;IAErD,SAAS,EAAE,SAAS,CAAC;IACrB,MAAM,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;IAC5B,OAAO,CAAC,QAAQ,CAAuB;gBAEnB,WAAW,EAAE,WAAW;IAa5C,QAAQ;IAIR,WAAW;IAKX,YAAY;IAIZ,QAAQ,CAAC,QAAQ,EAAE,eAAe,GAAG,gBAAgB;IAIrD,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,IAAI;IAI1B,gBAAgB,CAAC,EAAE,EAAE,GAAG,GAAG,IAAI;IAS/B,iBAAiB,CAAC,EAAE,EAAE,GAAG,GAAG,IAAI;IAIhC,gBAAgB,CAAC,UAAU,EAAE,OAAO,GAAG,IAAI;IAI3C,eAAe;IASf,MAAM;IAIN,OAAO,CAAC,kBAAkB;yCAvFf,mCAAmC;2CAAnC,mCAAmC;CA4F/C"}
@@ -15,12 +15,19 @@ export type AlarmDetails = AlarmOrEventBase & {
15
15
  filters: {
16
16
  type: string;
17
17
  };
18
+ selectedDatapoint?: SelectedDatapoint;
18
19
  };
19
20
  export type EventDetails = AlarmOrEventBase & {
20
21
  timelineType: 'EVENT';
21
22
  filters: {
22
23
  type: string;
23
24
  };
25
+ selectedDatapoint?: SelectedDatapoint;
26
+ };
27
+ export type SelectedDatapoint = {
28
+ target?: string;
29
+ series?: string;
30
+ fragment?: string;
24
31
  };
25
32
  export type AlarmOrEvent = AlarmDetails | EventDetails;
26
33
  export type TimelineTypeTexts = {
@@ -1 +1 @@
1
- {"version":3,"file":"alarm-event-selector.model.d.ts","sourceRoot":"","sources":["../../alarm-event-selector/alarm-event-selector.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAG1C,MAAM,MAAM,YAAY,GAAG,OAAO,GAAG,OAAO,CAAC;AAE7C,KAAK,gBAAgB,GAAG;IACtB,YAAY,EAAE,YAAY,CAAC;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE;QACP,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;IACF,QAAQ,EAAE,WAAW,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG,gBAAgB,GAAG;IAC5C,YAAY,EAAE,OAAO,CAAC;IACtB,OAAO,EAAE;QACP,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG,gBAAgB,GAAG;IAC5C,YAAY,EAAE,OAAO,CAAC;IACtB,OAAO,EAAE;QACP,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG,YAAY,GAAG,YAAY,CAAC;AAEvD,MAAM,MAAM,iBAAiB,GAAG;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,MAAM,CAAC;IACxB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,cAAc,EAAE,MAAM,CAAC;IACvB,wBAAwB,EAAE,MAAM,CAAC;IACjC,aAAa,EAAE,MAAM,CAAC;IACtB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,kCAAkC,EAAE,MAAM,CAAC;IAC3C,sBAAsB,EAAE,MAAM,CAAC;IAC/B,kBAAkB,EAAE,MAAM,CAAC;IAC3B,oBAAoB,EAAE,MAAM,CAAC;IAC7B,uBAAuB,EAAE,MAAM,CAAC;IAChC,sBAAsB,EAAE,MAAM,CAAC;IAC/B,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,iBAoBzB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,iBAoBzB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG;IACnC,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,CAAC"}
1
+ {"version":3,"file":"alarm-event-selector.model.d.ts","sourceRoot":"","sources":["../../alarm-event-selector/alarm-event-selector.model.ts"],"names":[],"mappings":"AAAA,OA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OAAO,CAAC,4BAA4B;yCAzHzB,gBAAgB;2CAAhB,gBAAgB;CAqI5B"}
@@ -2,6 +2,6 @@ import * as i0 from "@angular/core";
2
2
  export declare class DashboardChildActionComponent {
3
3
  template: any;
4
4
  static ɵfac: i0.ɵɵFactoryDeclaration<DashboardChildActionComponent, never>;
5
- static ɵcmp: i0.ɵɵComponentDeclaration<DashboardChildActionComponent, "c8y-dashboard-child-action", never, {}, {}, never, ["*"], false, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<DashboardChildActionComponent, "c8y-dashboard-child-action", never, {}, {}, never, ["*"], true, never>;
6
6
  }
7
7
  //# sourceMappingURL=dashboard-child-action.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"dashboard-child-action.component.d.ts","sourceRoot":"","sources":["../../../core/dashboard/dashboard-child-action.component.ts"],"names":[],"mappings":";AAEA,qBAIa,6BAA6B;IACE,QAAQ,EAAE,GAAG,CAAC;yCAD7C,6BAA6B;2CAA7B,6BAA6B;CAEzC"}
1
+ {"version":3,"file":"dashboard-child-action.component.d.ts","sourceRoot":"","sources":["../../../core/dashboard/dashboard-child-action.component.ts"],"names":[],"mappings":";AAEA,qBAKa,6BAA6B;IACE,QAAQ,EAAE,GAAG,CAAC;yCAD7C,6BAA6B;2CAA7B,6BAA6B;CAEzC"}
@@ -2,37 +2,37 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "./dashboard-child.component";
3
3
  import * as i2 from "./dashboard.component";
4
4
  import * as i3 from "./dashboard-child-title.component";
5
- import * as i4 from "./dashboard-child-action.component";
6
- import * as i5 from "./widgets-dashboard.component";
7
- import * as i6 from "./wiget-time-context/widget-time-context.component";
8
- import * as i7 from "./wiget-time-context/realtime-control/realtime-control.component";
9
- import * as i8 from "./wiget-time-context/aggregation-picker/aggregation-picker.component";
10
- import * as i9 from "./widget-auto-refresh-context/widget-auto-refresh-context.component";
11
- import * as i10 from "./widget-auto-refresh-context/widget-auto-refresh-context-icon-bar.component";
12
- import * as i11 from "./widget-auto-refresh-context/auto-refresh-control.component";
13
- import * as i12 from "./widget-auto-refresh-context/auto-refresh-select-control.component";
14
- import * as i13 from "./wiget-time-context/widget-time-context-icon-bar/widget-time-context-icon-bar.component";
15
- import * as i14 from "../common/common.module";
16
- import * as i15 from "../action-bar/action-bar.module";
17
- import * as i16 from "../dynamic-component/dynamic-component.module";
18
- import * as i17 from "@angular/cdk/drag-drop";
19
- import * as i18 from "ngx-bootstrap/dropdown";
20
- import * as i19 from "ngx-bootstrap/tooltip";
21
- import * as i20 from "../header/header.module";
22
- import * as i21 from "../docs/docs.module";
23
- import * as i22 from "../breadcrumb/breadcrumb.module";
24
- import * as i23 from "../forms/forms.module";
25
- import * as i24 from "ngx-bootstrap/datepicker";
26
- import * as i25 from "../dynamic-forms/dynamic-forms.module";
27
- import * as i26 from "../help/help.module";
28
- import * as i27 from "../date-time-picker/date-time-picker.module";
29
- import * as i28 from "../countdown-interval/countdown-interval.module";
30
- import * as i29 from "@ngx-translate/core";
31
- import * as i30 from "@c8y/ngx-components/interval-picker";
32
- import * as i31 from "ngx-bootstrap/popover";
5
+ import * as i4 from "./widgets-dashboard.component";
6
+ import * as i5 from "./widget-auto-refresh-context/widget-auto-refresh-context.component";
7
+ import * as i6 from "./widget-auto-refresh-context/widget-auto-refresh-context-icon-bar.component";
8
+ import * as i7 from "./widget-auto-refresh-context/auto-refresh-control.component";
9
+ import * as i8 from "./widget-auto-refresh-context/auto-refresh-select-control.component";
10
+ import * as i9 from "./wiget-time-context/widget-time-context-icon-bar/widget-time-context-icon-bar.component";
11
+ import * as i10 from "../common/common.module";
12
+ import * as i11 from "../action-bar/action-bar.module";
13
+ import * as i12 from "../dynamic-component/dynamic-component.module";
14
+ import * as i13 from "@angular/cdk/drag-drop";
15
+ import * as i14 from "ngx-bootstrap/dropdown";
16
+ import * as i15 from "ngx-bootstrap/tooltip";
17
+ import * as i16 from "../header/header.module";
18
+ import * as i17 from "../docs/docs.module";
19
+ import * as i18 from "../breadcrumb/breadcrumb.module";
20
+ import * as i19 from "../forms/forms.module";
21
+ import * as i20 from "ngx-bootstrap/datepicker";
22
+ import * as i21 from "../dynamic-forms/dynamic-forms.module";
23
+ import * as i22 from "../help/help.module";
24
+ import * as i23 from "../date-time-picker/date-time-picker.module";
25
+ import * as i24 from "../countdown-interval/countdown-interval.module";
26
+ import * as i25 from "@ngx-translate/core";
27
+ import * as i26 from "@c8y/ngx-components/interval-picker";
28
+ import * as i27 from "ngx-bootstrap/popover";
29
+ import * as i28 from "./wiget-time-context/aggregation-picker/aggregation-picker.component";
30
+ import * as i29 from "./wiget-time-context/realtime-control/realtime-control.component";
31
+ import * as i30 from "./wiget-time-context/widget-time-context.component";
32
+ import * as i31 from "./dashboard-child-action.component";
33
33
  export declare class DashboardModule {
34
34
  static ɵfac: i0.ɵɵFactoryDeclaration<DashboardModule, never>;
35
- static ɵmod: i0.ɵɵNgModuleDeclaration<DashboardModule, [typeof i1.DashboardChildComponent, typeof i2.DashboardComponent, typeof i3.DashboardChildTitleComponent, typeof i4.DashboardChildActionComponent, typeof i5.WidgetsDashboardComponent, typeof i6.WidgetTimeContextComponent, typeof i7.RealtimeControlComponent, typeof i8.AggregationPickerComponent, typeof i9.WidgetAutoRefreshContextComponent, typeof i10.WidgetAutoRefreshContextIconBarComponent, typeof i11.AutoRefreshControlComponent, typeof i12.AutoRefreshSelectControlComponent, typeof i13.WidgetTimeContextIconBar], [typeof i14.CommonModule, typeof i15.ActionBarModule, typeof i16.DynamicComponentModule, typeof i17.DragDropModule, typeof i18.BsDropdownModule, typeof i19.TooltipModule, typeof i20.HeaderModule, typeof i21.DocsModule, typeof i22.BreadcrumbModule, typeof i23.FormsModule, typeof i24.BsDatepickerModule, typeof i25.DynamicFormsModule, typeof i26.HelpModule, typeof i27.DateTimePickerModule, typeof i28.CountdownIntervalModule, typeof i29.TranslateModule, typeof i30.IntervalPickerComponent, typeof i31.PopoverModule], [typeof i2.DashboardComponent, typeof i1.DashboardChildComponent, typeof i3.DashboardChildTitleComponent, typeof i4.DashboardChildActionComponent, typeof i5.WidgetsDashboardComponent, typeof i6.WidgetTimeContextComponent]>;
35
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DashboardModule, [typeof i1.DashboardChildComponent, typeof i2.DashboardComponent, typeof i3.DashboardChildTitleComponent, typeof i4.WidgetsDashboardComponent, typeof i5.WidgetAutoRefreshContextComponent, typeof i6.WidgetAutoRefreshContextIconBarComponent, typeof i7.AutoRefreshControlComponent, typeof i8.AutoRefreshSelectControlComponent, typeof i9.WidgetTimeContextIconBar], [typeof i10.CommonModule, typeof i11.ActionBarModule, typeof i12.DynamicComponentModule, typeof i13.DragDropModule, typeof i14.BsDropdownModule, typeof i15.TooltipModule, typeof i16.HeaderModule, typeof i17.DocsModule, typeof i18.BreadcrumbModule, typeof i19.FormsModule, typeof i20.BsDatepickerModule, typeof i21.DynamicFormsModule, typeof i22.HelpModule, typeof i23.DateTimePickerModule, typeof i24.CountdownIntervalModule, typeof i25.TranslateModule, typeof i26.IntervalPickerComponent, typeof i27.PopoverModule, typeof i28.AggregationPickerComponent, typeof i29.RealtimeControlComponent, typeof i30.WidgetTimeContextComponent, typeof i31.DashboardChildActionComponent], [typeof i2.DashboardComponent, typeof i1.DashboardChildComponent, typeof i3.DashboardChildTitleComponent, typeof i31.DashboardChildActionComponent, typeof i4.WidgetsDashboardComponent, typeof i30.WidgetTimeContextComponent]>;
36
36
  static ɵinj: i0.ɵɵInjectorDeclaration<DashboardModule>;
37
37
  }
38
38
  //# sourceMappingURL=dashboard.module.d.ts.map
@@ -9,7 +9,10 @@ export * from './dashboard-child-change';
9
9
  export * from './dashboard-child-title.component';
10
10
  export * from './wiget-time-context/widget-time-context.component';
11
11
  export * from './wiget-time-context/widget-time-context.model';
12
+ export * from './wiget-time-context/widget-time-context-date-range.service';
12
13
  export * from './widget-auto-refresh-context/widget-auto-refresh-context.model';
13
14
  export * from './widget-auto-refresh-context/widget-global-auto-refresh.service';
14
15
  export * from './widget-auto-refresh-context/global-refresh-loading.operator';
16
+ export * from './wiget-time-context/aggregation-picker/aggregation-picker.component';
17
+ export * from './wiget-time-context/realtime-control/realtime-control.component';
15
18
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../core/dashboard/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,oCAAoC,CAAC;AACnD,cAAc,0BAA0B,CAAC;AACzC,cAAc,mCAAmC,CAAC;AAClD,cAAc,oDAAoD,CAAC;AACnE,cAAc,gDAAgD,CAAC;AAC/D,cAAc,iEAAiE,CAAC;AAChF,cAAc,kEAAkE,CAAC;AACjF,cAAc,+DAA+D,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../core/dashboard/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,oCAAoC,CAAC;AACnD,cAAc,0BAA0B,CAAC;AACzC,cAAc,mCAAmC,CAAC;AAClD,cAAc,oDAAoD,CAAC;AACnE,cAAc,gDAAgD,CAAC;AAC/D,cAAc,6DAA6D,CAAC;AAC5E,cAAc,iEAAiE,CAAC;AAChF,cAAc,kEAAkE,CAAC;AACjF,cAAc,+DAA+D,CAAC;AAC9E,cAAc,sEAAsE,CAAC;AACrF,cAAc,kEAAkE,CAAC"}
@@ -61,7 +61,7 @@ export declare class WidgetsDashboardComponent {
61
61
  private isLoading$;
62
62
  private isExecutingResolvers$;
63
63
  constructor(dynamic: DynamicComponentService, translateService: TranslateService, route: ActivatedRoute, modal: ModalService, widgetGlobalAutoRefresh: WidgetGlobalAutoRefreshService);
64
- ngOnChanges({ isCopyDisabled }: SimpleChanges): void;
64
+ ngOnChanges(changes: SimpleChanges): void;
65
65
  canDeactivate(omitConfirm?: boolean): Promise<boolean>;
66
66
  toggleFullscreen(hasWidget?: boolean): void;
67
67
  fullScreen(): boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"widgets-dashboard.component.d.ts","sourceRoot":"","sources":["../../../core/dashboard/widgets-dashboard.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAiB,aAAa,EAAE,MAAM,eAAe,CAAC;AACtF,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAChE,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EACL,eAAe,EACf,iBAAiB,EACjB,MAAM,EACN,YAAY,EACZ,uBAAuB,EAGxB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,uBAAuB,EAAE,MAAM,gDAAgD,CAAC;AACzF,OAAO,EAAE,eAAe,EAAmC,UAAU,EAAE,MAAM,MAAM,CAAC;AAIpF,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AACtE,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAEvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAExC,OAAO,EAAE,8BAA8B,EAAE,MAAM,+BAA+B,CAAC;;AAE/E,qBAWa,yBAAyB;IAmHlC,OAAO,CAAC,OAAO;IACf,OAAO,CAAC,gBAAgB;IACxB,OAAO,CAAC,KAAK;IACb,OAAO,CAAC,KAAK;IACb,OAAO,CAAC,uBAAuB;IAtHjC,IACI,OAAO,CAAC,K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BAAgB,EAAE,gBAAgB,EAClC,KAAK,EAAE,cAAc,EACrB,KAAK,EAAE,YAAY,EACnB,uBAAuB,EAAE,8BAA8B;IAqBjE,WAAW,CAAC,OAAO,EAAE,aAAa;IAM5B,aAAa,CAAC,WAAW,UAAQ,GAAG,OAAO,CAAC,OAAO,CAAC;IAY1D,gBAAgB,CAAC,SAAS,UAAQ;IA+BlC,UAAU;IAUV,wBAAwB,CAAC,KAAK,EAAE,uBAAuB;IAkBvD,mBAAmB,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAIpE,kBAAkB,CAAC,IAAI,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM;IAItC,mBAAmB;IAMzB,aAAa;IAUb,cAAc;IAKd,OAAO,CAAC,yBAAyB;YAyBnB,cAAc;YAiBd,yBAAyB;yCAhS5B,yBAAyB;2CAAzB,yBAAyB;CAuTrC"}
@@ -21,6 +21,6 @@ export declare class AggregationPickerComponent implements ControlValueAccessor
21
21
  markAsTouched(): void;
22
22
  setDisabledState(disabled: boolean): void;
23
23
  static ɵfac: i0.ɵɵFactoryDeclaration<AggregationPickerComponent, never>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<AggregationPickerComponent, "c8y-aggregation-picker", never, { "disabledAggregations": { "alias": "disabledAggregations"; "required": false; }; }, {}, never, never, false, never>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<AggregationPickerComponent, "c8y-aggregation-picker", never, { "disabledAggregations": { "alias": "disabledAggregations"; "required": false; }; }, {}, never, never, true, never>;
25
25
  }
26
26
  //# sourceMappingURL=aggregation-picker.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"aggregation-picker.component.d.ts","sourceRoot":"","sources":["../../../../../core/dashboard/wiget-time-context/aggregation-picker/aggregation-picker.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAqB,MAAM,gBAAgB,CAAC;AAMzE,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;;AAE9C,qBAWa,0BAA2B,YAAW,oBAAoB;IACrE;;;OAGG;IACM,oBAAoB,EAAE,OAAO,CAAC,MAAM,CAAC,eAAe,EAAE,OAAO,CAAC,CAAC,CAAM;IAE9E,QAAQ,CAAC,YAAY,iEAAgB;IACrC,QAAQ,CAAC,iBAAiB,gDAAqB;IAC/C,QAAQ,CAAC,iBAAiB,6DAAqB;IAE/C,KAAK,EAAE,eAAe,CAAC;IACvB,OAAO,UAAS;IAChB,QAAQ,UAAS;IAGjB,QAAQ,mBAAW;IAEnB,SAAS,aAAY;IAErB,UAAU,CAAC,KAAK,EAAE,eAAe,GAAG,IAAI;IAIxC,gBAAgB,CAAC,EAAE,EAAE,GAAG,GAAG,IAAI;IAI/B,iBAAiB,CAAC,SAAS,EAAE,GAAG,GAAG,IAAI;IAIvC,aAAa;IAOb,gBAAgB,CAAC,QAAQ,EAAE,OAAO;yCAvCvB,0BAA0B;2CAA1B,0BAA0B;CA0CtC"}
1
+ {"version":3,"file":"aggregation-picker.component.d.ts","sourceRoot":"","sources":["../../../../../core/dashboard/wiget-time-context/aggregation-picker/aggregation-picker.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAqB,MAAM,gBAAgB,CAAC;AAMzE,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;;AAO9C,qBAaa,0BAA2B,YAAW,oBAAoB;IACrE;;;OAGG;IACM,oBAAoB,EAAE,OAAO,CAAC,MAAM,CAAC,eAAe,EAAE,OAAO,CAAC,CAAC,CAAM;IAE9E,QAAQ,CAAC,YAAY,iEAAgB;IACrC,QAAQ,CAAC,iBAAiB,gDAAqB;IAC/C,QAAQ,CAAC,iBAAiB,6DAAqB;IAE/C,KAAK,EAAE,eAAe,CAAC;IACvB,OAAO,UAAS;IAChB,QAAQ,UAAS;IAGjB,QAAQ,mBAAW;IAEnB,SAAS,aAAY;IAErB,UAAU,CAAC,KAAK,EAAE,eAAe,GAAG,IAAI;IAIxC,gBAAgB,CAAC,EAAE,EAAE,GAAG,GAAG,IAAI;IAI/B,iBAAiB,CAAC,SAAS,EAAE,GAAG,GAAG,IAAI;IAIvC,aAAa;IAOb,gBAAgB,CAAC,QAAQ,EAAE,OAAO;yCAvCvB,0BAA0B;2CAA1B,0BAA0B;CA0CtC"}
@@ -14,6 +14,6 @@ export declare class RealtimeControlComponent implements ControlValueAccessor {
14
14
  markAsTouched(): void;
15
15
  setDisabledState(disabled: boolean): void;
16
16
  static ɵfac: i0.ɵɵFactoryDeclaration<RealtimeControlComponent, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<RealtimeControlComponent, "c8y-realtime-control", never, {}, {}, never, never, false, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<RealtimeControlComponent, "c8y-realtime-control", never, {}, {}, never, never, true, never>;
18
18
  }
19
19
  //# sourceMappingURL=realtime-control.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"realtime-control.component.d.ts","sourceRoot":"","sources":["../../../../../core/dashboard/wiget-time-context/realtime-control/realtime-control.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAqB,MAAM,gBAAgB,CAAC;;AAGzE,qBAWa,wBAAyB,YAAW,oBAAoB;IACnE,QAAQ,CAAC,oBAAoB,qBAA+B;IAC5D,QAAQ,CAAC,mBAAmB,oBAA8B;IAE1D,KAAK,EAAE,OAAO,CAAC;IACf,OAAO,UAAS;IAChB,QAAQ,UAAS;IAGjB,QAAQ,mBAAW;IAEnB,SAAS,aAAY;IAErB,UAAU,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI;IAIhC,gBAAgB,CAAC,EAAE,EAAE,GAAG,GAAG,IAAI;IAI/B,iBAAiB,CAAC,SAAS,EAAE,GAAG,GAAG,IAAI;IAIvC,aAAa,IAAI,IAAI;IAOrB,gBAAgB,CAAC,QAAQ,EAAE,OAAO,GAAG,IAAI;yCAhC9B,wBAAwB;2CAAxB,wBAAwB;CAmCpC"}
1
+ {"version":3,"file":"realtime-control.component.d.ts","sourceRoot":"","sources":["../../../../../core/dashboard/wiget-time-context/realtime-control/realtime-control.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAqB,MAAM,gBAAgB,CAAC;;AAMzE,qBAaa,wBAAyB,YAAW,oBAAoB;IACnE,QAAQ,CAAC,oBAAoB,qBAA+B;IAC5D,QAAQ,CAAC,mBAAmB,oBAA8B;IAE1D,KAAK,EAAE,OAAO,CAAC;IACf,OAAO,UAAS;IAChB,QAAQ,UAAS;IAGjB,QAAQ,mBAAW;IAEnB,SAAS,aAAY;IAErB,UAAU,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI;IAIhC,gBAAgB,CAAC,EAAE,EAAE,GAAG,GAAG,IAAI;IAI/B,iBAAiB,CAAC,SAAS,EAAE,GAAG,GAAG,IAAI;IAIvC,aAAa,IAAI,IAAI;IAOrB,gBAAgB,CAAC,QAAQ,EAAE,OAAO,GAAG,IAAI;yCAhC9B,wBAAwB;2CAAxB,wBAAwB;CAmCpC"}
@@ -0,0 +1,10 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class WidgetTimeContextDateRangeService {
3
+ timeContextChange: import("@angular/core").WritableSignal<any>;
4
+ initialTimeRange: import("@angular/core").WritableSignal<any>;
5
+ emitPropertyUpdate(data: any): void;
6
+ updateInitialTimeRange(data: any): void;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<WidgetTimeContextDateRangeService, never>;
8
+ static ɵprov: i0.ɵɵInjectableDeclaration<WidgetTimeContextDateRangeService>;
9
+ }
10
+ //# sourceMappingURL=widget-time-context-date-range.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"widget-time-context-date-range.service.d.ts","sourceRoot":"","sources":["../../../../core/dashboard/wiget-time-context/widget-time-context-date-range.service.ts"],"names":[],"mappings":";AAEA,qBAGa,iCAAiC;IAC5C,iBAAiB,8CAAqB;IACtC,gBAAgB,8CAAqB;IAErC,kBAAkB,CAAC,IAAI,EAAE,GAAG;IAI5B,sBAAsB,CAAC,IAAI,EAAE,GAAG;yCARrB,iCAAiC;6CAAjC,iCAAiC;CAW7C"}
@@ -10,8 +10,9 @@ import { DashboardChildComponent } from '../dashboard-child.component';
10
10
  import { WidgetsDashboardEventService } from '../widgets-dashboard-event.service';
11
11
  import { WidgetTimeContextHelperService } from './widget-time-context-helper.service';
12
12
  import { WidgetTimeContextQueryService } from './widget-time-context-query.service';
13
- import { WidgetDisplaySettings, WidgetTimeContextChange } from './widget-time-context.model';
13
+ import { WidgetDisplaySettings } from './widget-time-context.model';
14
14
  import { Interval } from '@c8y/ngx-components/interval-picker';
15
+ import { WidgetTimeContextDateRangeService } from './widget-time-context-date-range.service';
15
16
  import * as i0 from "@angular/core";
16
17
  export declare class WidgetTimeContextComponent implements OnInit, OnDestroy, AfterViewInit {
17
18
  private widgetEventService;
@@ -22,6 +23,7 @@ export declare class WidgetTimeContextComponent implements OnInit, OnDestroy, Af
22
23
  private router;
23
24
  private actionBarService;
24
25
  private aggregationService;
26
+ private widgetTimeContextDateRangeService;
25
27
  readonly INTERVAL_TITLES: Record<"custom" | "hours" | "minutes" | "days" | "weeks" | "months", string>;
26
28
  readonly DATE_FORMAT = "short";
27
29
  /**
@@ -33,7 +35,7 @@ export declare class WidgetTimeContextComponent implements OnInit, OnDestroy, Af
33
35
  /**
34
36
  * Emits each change as an array of dates [from, to].
35
37
  */
36
- dateContextChange: EventEmitter<WidgetTimeContextChange>;
38
+ dateContextChange: EventEmitter<any>;
37
39
  /**
38
40
  * @ignore
39
41
  */
@@ -48,6 +50,7 @@ export declare class WidgetTimeContextComponent implements OnInit, OnDestroy, Af
48
50
  form: ReturnType<WidgetTimeContextComponent['createForm']>;
49
51
  actionBarInGroupPriority: number;
50
52
  disabledAggregations: Partial<Record<aggregationType, boolean>>;
53
+ sliderChange: boolean;
51
54
  readonly DEFAULT_INTERVAL: Interval['id'];
52
55
  readonly ACTION_BAR_PRIORITY = 7;
53
56
  readonly ACTION_BAR_GROUP_ID = "timecontext";
@@ -59,7 +62,7 @@ export declare class WidgetTimeContextComponent implements OnInit, OnDestroy, Af
59
62
  /**
60
63
  * @ignore only DI.
61
64
  */
62
- constructor(widgetEventService: WidgetsDashboardEventService, dashboardChild: DashboardChildComponent, formBuilder: FormBuilder, queryService: WidgetTimeContextQueryService, helperService: WidgetTimeContextHelperService, router: Router, actionBarService: ActionBarService, aggregationService: AggregationService);
65
+ constructor(widgetEventService: WidgetsDashboardEventService, dashboardChild: DashboardChildComponent, formBuilder: FormBuilder, queryService: WidgetTimeContextQueryService, helperService: WidgetTimeContextHelperService, router: Router, actionBarService: ActionBarService, aggregationService: AggregationService, widgetTimeContextDateRangeService: WidgetTimeContextDateRangeService);
63
66
  /**
64
67
  * @ignore Subscribing to the global context.
65
68
  */
@@ -105,6 +108,6 @@ export declare class WidgetTimeContextComponent implements OnInit, OnDestroy, Af
105
108
  private onRealtimeValueChange;
106
109
  private calculateAggregation;
107
110
  static ɵfac: i0.ɵɵFactoryDeclaration<WidgetTimeContextComponent, never>;
108
- static ɵcmp: i0.ɵɵComponentDeclaration<WidgetTimeContextComponent, "c8y-widget-time-context", never, { "canDecouple": { "alias": "canDecouple"; "required": false; }; "displaySettings": { "alias": "displaySettings"; "required": false; }; "hidden": { "alias": "hidden"; "required": false; }; }, { "dateContextChange": "dateContextChange"; }, never, never, false, never>;
111
+ static ɵcmp: i0.ɵɵComponentDeclaration<WidgetTimeContextComponent, "c8y-widget-time-context", never, { "canDecouple": { "alias": "canDecouple"; "required": false; }; "displaySettings": { "alias": "displaySettings"; "required": false; }; "hidden": { "alias": "hidden"; "required": false; }; }, { "dateContextChange": "dateContextChange"; }, never, never, true, never>;
109
112
  }
110
113
  //# sourceMappingURL=widget-time-context.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"widget-time-context.component.d.ts","sourceRoot":"","sources":["../../../../core/dashboard/wiget-time-context/widget-time-context.component.ts"],"names":[],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;qEAEiE;IACjE,OAAO,CAAC,MAAM;IAcd,OAAO,CAAC,wBAAwB;IAqBhC,OAAO,CAAC,gBAAgB;IAsBxB,OAAO,CAAC,4BAA4B;IAMpC,OAAO,CAAC,iBAAiB;IAkCzB,OAAO,CAAC,4BAA4B;IAwCpC,OAAO,CAAC,wBAAwB;IAchC,OAAO,CAAC,uBAAuB;IAc/B,OAAO,CAAC,iBAAiB;IASzB,OAAO,CAAC,aAAa;IAuBrB,OAAO,CAAC,YAAY;IAOpB,OAAO,CAAC,qBAAqB;IAuB7B,OAAO,CAAC,oBAAoB;yCA/bjB,0BAA0B;2CAA1B,0BAA0B;CAudtC"}
1
+ {"version":3,"file":"widget-time-context.component.d.ts","sourceRoot":"","sources":["../../../../core/dashboard/wiget-time-context/widget-time-context.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EAGb,YAAY,EAEZ,SAAS,EACT,MAAM,EAGP,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,WAAW,EAAoC,MAAM,gBAAgB,CAAC;AAC/E,OAAO,EAAiD,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACxF,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,EAAE,mBAAmB,EAAoB,MAAM,wBAAwB,CAAC;AAG/E,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAE3E,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAEvE,OAAO,EAAE,4BAA4B,EAAE,MAAM,oCAAoC,CAAC;AAClF,OAAO,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAC;AACtF,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EAEL,qBAAqB,EAEtB,MAAM,6BAA6B,CAAC;A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AO,CAAC,oBAAoB,CAAe;IAE3C;;OAEG;gBAEO,kBAAkB,EAAE,4BAA4B,EAChD,cAAc,EAAE,uBAAuB,EACvC,WAAW,EAAE,WAAW,EACxB,YAAY,EAAE,6BAA6B,EAC3C,aAAa,EAAE,8BAA8B,EAC7C,MAAM,EAAE,MAAM,EACd,gBAAgB,EAAE,gBAAgB,EAClC,kBAAkB,EAAE,kBAAkB,EACtC,iCAAiC,EAAE,iCAAiC;IAmB9E;;OAEG;IACH,QAAQ,IAAI,IAAI;IA+BhB;;OAEG;IACH,eAAe,IAAI,IAAI;IAMvB;;OAEG;IACH,gBAAgB,IAAI,IAAI;IAoBxB;;OAEG;IACH,oBAAoB,IAAI,IAAI;IAY5B;;OAEG;IACH,KAAK,IAAI,IAAI;IAKb;;OAEG;IACH,WAAW,IAAI,IAAI;IAOnB,OAAO,CAAC,yBAAyB;IAuBjC,OAAO,CAAC,yBAAyB;IAYjC,OAAO,CAAC,4BAA4B;IAoBpC,OAAO,CAAC,UAAU;IAYlB;;qEAEiE;IACjE,OAAO,CAAC,MAAM;IAcd,OAAO,CAAC,wBAAwB;IAuBhC,OAAO,CAAC,gBAAgB;IAsBxB,OAAO,CAAC,4BAA4B;IAMpC,OAAO,CAAC,iBAAiB;IAkCzB,OAAO,CAAC,4BAA4B;IAwCpC,OAAO,CAAC,wBAAwB;IAchC,OAAO,CAAC,uBAAuB;IAc/B,OAAO,CAAC,iBAAiB;IASzB,OAAO,CAAC,aAAa;IAuBrB,OAAO,CAAC,YAAY;IAOpB,OAAO,CAAC,qBAAqB;IAuB7B,OAAO,CAAC,oBAAoB;yCAvdjB,0BAA0B;2CAA1B,0BAA0B;CA+etC"}
@@ -43,7 +43,6 @@ export type WidgetTimeContextState = {
43
43
  realtime: boolean;
44
44
  aggregation: aggregationType;
45
45
  };
46
- export type WidgetTimeContextChange = Omit<WidgetTimeContextState, 'interval'>;
47
46
  export declare enum DateContextQueryParamNames {
48
47
  DATE_CONTEXT_FROM = "dateContextFrom",
49
48
  DATE_CONTEXT_TO = "dateContextTo",
@@ -1 +1 @@
1
- {"version":3,"file":"widget-time-context.model.d.ts","sourceRoot":"","sources":["../../../../core/dashboard/wiget-time-context/widget-time-context.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAE9C,MAAM,MAAM,qBAAqB,GAAG;IAClC;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B;;;OAGG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC;;;OAGG;IACH,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC;;;;OAIG;IACH,wBAAwB,CAAC,EAAE,OAAO,CAAC;CACpC,CAAC;AAEF,MAAM,WAAW,6BAA6B;IAC5C;;;OAGG;IACH,+BAA+B,CAAC,EAAE,OAAO,CAAC;IAC1C;;;OAGG;IACH,4BAA4B,CAAC,EAAE,OAAO,CAAC;CACxC;AAED,MAAM,MAAM,sBAAsB,GAAG;IACnC,IAAI,EAAE,eAAe,CAAC;IACtB,QAAQ,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAC;IACzB,QAAQ,EAAE,OAAO,CAAC;IAClB,WAAW,EAAE,eAAe,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,IAAI,CAAC,sBAAsB,EAAE,UAAU,CAAC,CAAC;AAE/E,oBAAY,0BAA0B;IACpC,iBAAiB,oBAAoB;IACrC,eAAe,kBAAkB;IACjC,qBAAqB,wBAAwB;IAC7C,qBAAqB,wBAAwB;IAC7C,wBAAwB,2BAA2B;CACpD;AAED,KAAK,4BAA4B,GAAG;IAClC,CAAC,0BAA0B,CAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IACvD,CAAC,0BAA0B,CAAC,eAAe,CAAC,EAAE,MAAM,CAAC;IACrD,CAAC,0BAA0B,CAAC,qBAAqB,CAAC,CAAC,EAAE,KAAK,CAAC;CAC5D,CAAC;AAEF,KAAK,8BAA8B,GAAG;IACpC,CAAC,0BAA0B,CAAC,iBAAiB,CAAC,CAAC,EAAE,KAAK,CAAC;IACvD,CAAC,0BAA0B,CAAC,eAAe,CAAC,CAAC,EAAE,KAAK,CAAC;IACrD,CAAC,0BAA0B,CAAC,qBAAqB,CAAC,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAC;CACpE,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,2BAA2B,GAAG;IACxC,CAAC,0BAA0B,CAAC,iBAAiB,CAAC,CAAC,EAAE,MAAM,CAAC;IACxD,CAAC,0BAA0B,CAAC,eAAe,CAAC,CAAC,EAAE,MAAM,CAAC;IACtD,CAAC,0BAA0B,CAAC,qBAAqB,CAAC,CAAC,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAC;IACpE,CAAC,0BAA0B,CAAC,qBAAqB,CAAC,CAAC,EAAE,OAAO,CAAC;IAC7D,CAAC,0BAA0B,CAAC,wBAAwB,CAAC,CAAC,EAAE,eAAe,CAAC;CACzE,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,4BAA4B,GAAG,CACvC,4BAA4B,GAC5B,8BAA8B,CACjC,GAAG;IACF,CAAC,0BAA0B,CAAC,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAC5D,CAAC,0BAA0B,CAAC,wBAAwB,CAAC,EAAE,eAAe,CAAC;CACxE,CAAC;AAEF,oBAAY,kCAAkC;IAC5C,IAAI,IAAI;IACR,GAAG,IAAI;IACP,MAAM,IAAI;IACV,IAAI,IAAI;CACT"}
1
+ {"version":3,"file":"widget-time-context.model.d.ts","sourceRoot":"","sources":["../../../../core/dashboard/wiget-time-context/widget-time-context.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAC/D,OAAO,EAAE,eA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AC,IAAI,CAAC,CAAC;CACpE,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,2BAA2B,GAAG;IACxC,CAAC,0BAA0B,CAAC,iBAAiB,CAAC,CAAC,EAAE,MAAM,CAAC;IACxD,CAAC,0BAA0B,CAAC,eAAe,CAAC,CAAC,EAAE,MAAM,CAAC;IACtD,CAAC,0BAA0B,CAAC,qBAAqB,CAAC,CAAC,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAC;IACpE,CAAC,0BAA0B,CAAC,qBAAqB,CAAC,CAAC,EAAE,OAAO,CAAC;IAC7D,CAAC,0BAA0B,CAAC,wBAAwB,CAAC,CAAC,EAAE,eAAe,CAAC;CACzE,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,4BAA4B,GAAG,CACvC,4BAA4B,GAC5B,8BAA8B,CACjC,GAAG;IACF,CAAC,0BAA0B,CAAC,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAC5D,CAAC,0BAA0B,CAAC,wBAAwB,CAAC,EAAE,eAAe,CAAC;CACxE,CAAC;AAEF,oBAAY,kCAAkC;IAC5C,IAAI,IAAI;IACR,GAAG,IAAI;IACP,MAAM,IAAI;IACV,IAAI,IAAI;CACT"}
@@ -12,6 +12,6 @@ export declare class DatePickerComponent implements OnInit {
12
12
  filter(): void;
13
13
  clearFilter(): void;
14
14
  static ɵfac: i0.ɵɵFactoryDeclaration<DatePickerComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<DatePickerComponent, "c8y-date-picker", never, { "placeholder": { "alias": "placeholder"; "required": false; }; }, { "onDateSelected": "onDateSelected"; }, never, never, false, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<DatePickerComponent, "c8y-date-picker", never, { "placeholder": { "alias": "placeholder"; "required": false; }; }, { "onDateSelected": "onDateSelected"; }, never, never, true, never>;
16
16
  }
17
17
  //# sourceMappingURL=date-picker.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"date-picker.component.d.ts","sourceRoot":"","sources":["../../../core/date-picker/date-picker.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAE,MAAM,EAAiB,MAAM,eAAe,CAAC;AAC/E,OAAO,EAAe,SAAS,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;;AAGlD,qBAIa,mBAAoB,YAAW,MAAM;IACtC,cAAc,EAAE,YAAY,CAAC,WAAW,CAAC,CAAsB;IAEzE,WAAW,oBAA8B;IAEzC,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,SAAS,CAAC;IAExB,QAAQ;IAOR,MAAM;IAMN,WAAW;yCAtBA,mBAAmB;2CAAnB,mBAAmB;CA+B/B"}
1
+ {"version":3,"file":"date-picker.component.d.ts","sourceRoot":"","sources":["../../../core/date-picker/date-picker.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAE,MAAM,EAAiB,MAAM,eAAe,CAAC;AAC/E,OAAO,EAAe,SAAS,EAAoC,MAAM,gBAAgB,CAAC;AAC1F,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;;AAYlD,qBAmBa,mBAAoB,YAAW,MAAM;IACtC,cAAc,EAAE,YAAY,CAAC,WAAW,CAAC,CAAsB;IAEzE,WAAW,oBAA8B;IAEzC,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,SAAS,CAAC;IAExB,QAAQ;IAOR,MAAM;IAMN,WAAW;yCAtBA,mBAAmB;2CAAnB,mBAAmB;CA+B/B"}
@@ -1,19 +1,19 @@
1
1
  import * as i0 from "@angular/core";
2
- import * as i1 from "./date-picker.component";
3
- import * as i2 from "../forms/forms.module";
4
- import * as i3 from "@angular/common";
5
- import * as i4 from "@angular/forms";
6
- import * as i5 from "@angular/cdk/a11y";
7
- import * as i6 from "ngx-bootstrap/dropdown";
8
- import * as i7 from "ngx-bootstrap/datepicker";
9
- import * as i8 from "../common/common.module";
2
+ import * as i1 from "../forms/forms.module";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/forms";
5
+ import * as i4 from "@angular/cdk/a11y";
6
+ import * as i5 from "ngx-bootstrap/dropdown";
7
+ import * as i6 from "ngx-bootstrap/datepicker";
8
+ import * as i7 from "../common/common.module";
9
+ import * as i8 from "./date-picker.component";
10
10
  /**
11
11
  * The angular module definition for a date picker - it allows you to pick either one date or a range of two.
12
12
  * @exports DatePickerComponent
13
13
  */
14
14
  export declare class DatePickerModule {
15
15
  static ɵfac: i0.ɵɵFactoryDeclaration<DatePickerModule, never>;
16
- static ɵmod: i0.ɵɵNgModuleDeclaration<DatePickerModule, [typeof i1.DatePickerComponent], [typeof i2.FormsModule, typeof i3.CommonModule, typeof i4.FormsModule, typeof i5.A11yModule, typeof i4.ReactiveFormsModule, typeof i6.BsDropdownModule, typeof i7.BsDatepickerModule, typeof i8.CommonModule], [typeof i1.DatePickerComponent]>;
16
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DatePickerModule, never, [typeof i1.FormsModule, typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.A11yModule, typeof i3.ReactiveFormsModule, typeof i5.BsDropdownModule, typeof i6.BsDatepickerModule, typeof i7.CommonModule, typeof i8.DatePickerComponent], [typeof i8.DatePickerComponent]>;
17
17
  static ɵinj: i0.ɵɵInjectorDeclaration<DatePickerModule>;
18
18
  }
19
19
  //# sourceMappingURL=date-picker.module.d.ts.map
@@ -10,6 +10,6 @@ export declare class CloseDatePickerDirective {
10
10
  ngOnInit(): void;
11
11
  ngOnDestroy(): void;
12
12
  static ɵfac: i0.ɵɵFactoryDeclaration<CloseDatePickerDirective, never>;
13
- static ɵdir: i0.ɵɵDirectiveDeclaration<CloseDatePickerDirective, "[closeDatepicker]", never, { "closeDatepicker": { "alias": "closeDatepicker"; "required": false; }; }, {}, never, never, false, never>;
13
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CloseDatePickerDirective, "[closeDatepicker]", never, { "closeDatepicker": { "alias": "closeDatepicker"; "required": false; }; }, {}, never, never, true, never>;
14
14
  }
15
15
  //# sourceMappingURL=close-date-picker.directive.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"close-date-picker.directive.d.ts","sourceRoot":"","sources":["../../../core/date-time-picker/close-date-picker.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAS,MAAM,eAAe,CAAC;AAC7D,OAAO,EAAE,OAAO,EAAoB,MAAM,MAAM,CAAC;AAEjD,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;;AAEjE,qBAGa,wBAAwB;IAMvB,OAAO,CAAC,EAAE;IALtB,SAAS,CAAC,QAAQ,EAAE,OAAO,CAAC,IAAI,CAAC,CAAiB;IAGlD,eAAe,EAAE,qBAAqB,CAAC;gBAEnB,EAAE,EAAE,UAAU;IAElC,QAAQ;IAcR,WAAW,IAAI,IAAI;yCAtBR,wBAAwB;2CAAxB,wBAAwB;CA0BpC"}
1
+ {"version":3,"file":"close-date-picker.directive.d.ts","sourceRoot":"","sources":["../../../core/date-time-picker/close-date-picker.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAS,MAAM,eAAe,CAAC;AAC7D,OAAO,EAAE,OAAO,EAAoB,MAAM,MAAM,CAAC;AAEjD,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;;AAEjE,qBAIa,wBAAwB;IAMvB,OAAO,CAAC,EAAE;IALtB,SAAS,CAAC,QAAQ,EAAE,OAAO,CAAC,IAAI,CAAC,CAAiB;IAGlD,eAAe,EAAE,qBAAqB,CAAC;gBAEnB,EAAE,EAAE,UAAU;IAElC,QAAQ;IAcR,WAAW,IAAI,IAAI;yCAtBR,wBAAwB;2CAAxB,wBAAwB;CA0BpC"}
@@ -1,5 +1,5 @@
1
- import { OnDestroy, ChangeDetectorRef, EventEmitter } from '@angular/core';
2
- import { ControlValueAccessor, FormGroup, Validator, AbstractControl, ValidationErrors } from '@angular/forms';
1
+ import { ChangeDetectorRef, EventEmitter, OnDestroy } from '@angular/core';
2
+ import { AbstractControl, ControlValueAccessor, FormGroup, ValidationErrors, Validator } from '@angular/forms';
3
3
  import { BsDatepickerDirective } from 'ngx-bootstrap/datepicker';
4
4
  import { PickedDates } from '../date-picker';
5
5
  import * as i0 from "@angular/core";
@@ -39,6 +39,7 @@ export declare class DateTimePickerComponent implements ControlValueAccessor, Va
39
39
  defaultPlaceholder: "Select a date…";
40
40
  datepicker: BsDatepickerDirective;
41
41
  private previousValue;
42
+ private previousTimePickerValues;
42
43
  private destroy$;
43
44
  constructor(cd: ChangeDetectorRef);
44
45
  onChange: (value: string) => void;
@@ -63,8 +64,10 @@ export declare class DateTimePickerComponent implements ControlValueAccessor, Va
63
64
  * @private
64
65
  */
65
66
  private setDatetime;
67
+ private verifyDate;
68
+ private isInputCleared;
66
69
  static ɵfac: i0.ɵɵFactoryDeclaration<DateTimePickerComponent, never>;
67
- static ɵcmp: i0.ɵɵComponentDeclaration<DateTimePickerComponent, "c8y-date-time-picker", never, { "_minDate": { "alias": "minDate"; "required": false; }; "_maxDate": { "alias": "maxDate"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "dateInputFormat": { "alias": "dateInputFormat"; "required": false; }; "adaptivePosition": { "alias": "adaptivePosition"; "required": false; }; "size": { "alias": "size"; "required": false; }; "dateType": { "alias": "dateType"; "required": false; }; "config": { "alias": "config"; "required": false; }; }, { "onDateSelected": "onDateSelected"; }, never, never, false, never>;
70
+ static ɵcmp: i0.ɵɵComponentDeclaration<DateTimePickerComponent, "c8y-date-time-picker", never, { "_minDate": { "alias": "minDate"; "required": false; }; "_maxDate": { "alias": "maxDate"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "dateInputFormat": { "alias": "dateInputFormat"; "required": false; }; "adaptivePosition": { "alias": "adaptivePosition"; "required": false; }; "size": { "alias": "size"; "required": false; }; "dateType": { "alias": "dateType"; "required": false; }; "config": { "alias": "config"; "required": false; }; }, { "onDateSelected": "onDateSelected"; }, never, never, true, never>;
68
71
  }
69
72
  export {};
70
73
  //# sourceMappingURL=date-time-picker.component.d.ts.map