@c8y/ngx-components 1020.33.1 → 1020.39.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (140) hide show
  1. package/auth-configuration/sso-configuration/sso-configuration.model.d.ts +2 -0
  2. package/auth-configuration/sso-configuration/sso-configuration.model.d.ts.map +1 -1
  3. package/auth-configuration/sso-configuration/sso-configuration.service.d.ts.map +1 -1
  4. package/auth-configuration/sso-configuration/template-parts/access-mapping/access-mapping.component.d.ts +5 -0
  5. package/auth-configuration/sso-configuration/template-parts/access-mapping/access-mapping.component.d.ts.map +1 -1
  6. package/auth-configuration/sso-configuration/template-parts/user-data-mapping.component.d.ts +7 -0
  7. package/auth-configuration/sso-configuration/template-parts/user-data-mapping.component.d.ts.map +1 -1
  8. package/auth-configuration/sso-configuration/templates/aad-configuration-mapper.d.ts.map +1 -1
  9. package/auth-configuration/sso-configuration/templates/aad.model.d.ts +1 -0
  10. package/auth-configuration/sso-configuration/templates/aad.model.d.ts.map +1 -1
  11. package/auth-configuration/sso-configuration/templates/custom-configuration-mapper.d.ts.map +1 -1
  12. package/auth-configuration/sso-configuration/templates/custom.model.d.ts +1 -0
  13. package/auth-configuration/sso-configuration/templates/custom.model.d.ts.map +1 -1
  14. package/auth-configuration/sso-configuration/templates/key-cloak-configuration-mapper.d.ts.map +1 -1
  15. package/auth-configuration/sso-configuration/templates/key-cloak.model.d.ts +1 -0
  16. package/auth-configuration/sso-configuration/templates/key-cloak.model.d.ts.map +1 -1
  17. package/context-dashboard/context-dashboard.component.d.ts +4 -0
  18. package/context-dashboard/context-dashboard.component.d.ts.map +1 -1
  19. package/context-dashboard/context-dashboard.model.d.ts +2 -32
  20. package/context-dashboard/context-dashboard.model.d.ts.map +1 -1
  21. package/context-dashboard/dashboard-detail.component.d.ts +2 -0
  22. package/context-dashboard/dashboard-detail.component.d.ts.map +1 -1
  23. package/core/dynamic-component/dynamic-component.model.d.ts +135 -1
  24. package/core/dynamic-component/dynamic-component.model.d.ts.map +1 -1
  25. package/core/dynamic-forms/typeahead/typeahead.type.component.d.ts.map +1 -1
  26. package/core/product-experience/gainsight.service.d.ts +1 -0
  27. package/core/product-experience/gainsight.service.d.ts.map +1 -1
  28. package/core/select/typeahead.component.d.ts.map +1 -1
  29. package/esm2022/auth-configuration/sso-configuration/sso-configuration.model.mjs +1 -1
  30. package/esm2022/auth-configuration/sso-configuration/sso-configuration.service.mjs +5 -3
  31. package/esm2022/auth-configuration/sso-configuration/template-parts/access-mapping/access-mapping.component.mjs +25 -11
  32. package/esm2022/auth-configuration/sso-configuration/template-parts/user-data-mapping.component.mjs +18 -8
  33. package/esm2022/auth-configuration/sso-configuration/templates/aad-configuration-mapper.mjs +5 -3
  34. package/esm2022/auth-configuration/sso-configuration/templates/aad-template.component.mjs +3 -3
  35. package/esm2022/auth-configuration/sso-configuration/templates/aad.model.mjs +1 -1
  36. package/esm2022/auth-configuration/sso-configuration/templates/custom-configuration-mapper.mjs +5 -3
  37. package/esm2022/auth-configuration/sso-configuration/templates/custom-template.component.mjs +3 -3
  38. package/esm2022/auth-configuration/sso-configuration/templates/custom.model.mjs +1 -1
  39. package/esm2022/auth-configuration/sso-configuration/templates/key-cloak-configuration-mapper.mjs +5 -3
  40. package/esm2022/auth-configuration/sso-configuration/templates/key-cloak-template.component.mjs +3 -3
  41. package/esm2022/auth-configuration/sso-configuration/templates/key-cloak.model.mjs +1 -1
  42. package/esm2022/context-dashboard/context-dashboard.component.mjs +85 -23
  43. package/esm2022/context-dashboard/context-dashboard.model.mjs +1 -1
  44. package/esm2022/context-dashboard/dashboard-detail.component.mjs +42 -11
  45. package/esm2022/core/dynamic-component/dynamic-component.model.mjs +28 -1
  46. package/esm2022/core/dynamic-forms/typeahead/typeahead.type.component.mjs +2 -3
  47. package/esm2022/core/product-experience/gainsight.service.mjs +15 -1
  48. package/esm2022/core/select/typeahead.component.mjs +9 -4
  49. package/esm2022/repository/firmware/list/add-firmware-patch-modal.component.mjs +3 -3
  50. package/esm2022/trusted-certificates/list/trusted-certificate-list.component.mjs +2 -2
  51. package/esm2022/widgets/cockpit/index.mjs +1 -1
  52. package/esm2022/widgets/definitions/alarms/alarm-list/index.mjs +3 -3
  53. package/esm2022/widgets/definitions/alarms/all-critical-alarms/index.mjs +3 -3
  54. package/esm2022/widgets/definitions/alarms/recent-alarms/index.mjs +3 -3
  55. package/esm2022/widgets/definitions/applications/index.mjs +3 -3
  56. package/esm2022/widgets/definitions/cockpit-legacy-welcome/index.mjs +3 -3
  57. package/esm2022/widgets/definitions/cockpit-welcome/index.mjs +3 -3
  58. package/esm2022/widgets/definitions/device-control-message/index.mjs +3 -3
  59. package/esm2022/widgets/definitions/device-management-welcome/index.mjs +1 -1
  60. package/esm2022/widgets/definitions/help-and-service/index.mjs +3 -3
  61. package/esm2022/widgets/definitions/image/index.mjs +3 -3
  62. package/esm2022/widgets/definitions/info-gauge/index.mjs +3 -3
  63. package/esm2022/widgets/definitions/kpi/index.mjs +3 -3
  64. package/esm2022/widgets/definitions/map/index.mjs +3 -3
  65. package/esm2022/widgets/definitions/markdown/index.mjs +3 -3
  66. package/esm2022/widgets/definitions/three-d-rotation/index.mjs +3 -3
  67. package/esm2022/widgets/device-management/index.mjs +1 -1
  68. package/esm2022/widgets/widgets.module.mjs +3 -3
  69. package/fesm2022/c8y-ngx-components-auth-configuration.mjs +118 -86
  70. package/fesm2022/c8y-ngx-components-auth-configuration.mjs.map +1 -1
  71. package/fesm2022/c8y-ngx-components-context-dashboard.mjs +123 -31
  72. package/fesm2022/c8y-ngx-components-context-dashboard.mjs.map +1 -1
  73. package/fesm2022/c8y-ngx-components-repository-firmware.mjs +2 -2
  74. package/fesm2022/c8y-ngx-components-repository-firmware.mjs.map +1 -1
  75. package/fesm2022/c8y-ngx-components-trusted-certificates.mjs +1 -1
  76. package/fesm2022/c8y-ngx-components-trusted-certificates.mjs.map +1 -1
  77. package/fesm2022/c8y-ngx-components-widgets-cockpit.mjs.map +1 -1
  78. package/fesm2022/c8y-ngx-components-widgets-definitions-alarms-alarm-list.mjs +2 -2
  79. package/fesm2022/c8y-ngx-components-widgets-definitions-alarms-alarm-list.mjs.map +1 -1
  80. package/fesm2022/c8y-ngx-components-widgets-definitions-alarms-all-critical-alarms.mjs +2 -2
  81. package/fesm2022/c8y-ngx-components-widgets-definitions-alarms-all-critical-alarms.mjs.map +1 -1
  82. package/fesm2022/c8y-ngx-components-widgets-definitions-alarms-recent-alarms.mjs +2 -2
  83. package/fesm2022/c8y-ngx-components-widgets-definitions-alarms-recent-alarms.mjs.map +1 -1
  84. package/fesm2022/c8y-ngx-components-widgets-definitions-applications.mjs +2 -2
  85. package/fesm2022/c8y-ngx-components-widgets-definitions-applications.mjs.map +1 -1
  86. package/fesm2022/c8y-ngx-components-widgets-definitions-cockpit-legacy-welcome.mjs +2 -2
  87. package/fesm2022/c8y-ngx-components-widgets-definitions-cockpit-legacy-welcome.mjs.map +1 -1
  88. package/fesm2022/c8y-ngx-components-widgets-definitions-cockpit-welcome.mjs +2 -2
  89. package/fesm2022/c8y-ngx-components-widgets-definitions-cockpit-welcome.mjs.map +1 -1
  90. package/fesm2022/c8y-ngx-components-widgets-definitions-device-control-message.mjs +2 -2
  91. package/fesm2022/c8y-ngx-components-widgets-definitions-device-control-message.mjs.map +1 -1
  92. package/fesm2022/c8y-ngx-components-widgets-definitions-device-management-welcome.mjs.map +1 -1
  93. package/fesm2022/c8y-ngx-components-widgets-definitions-help-and-service.mjs +2 -2
  94. package/fesm2022/c8y-ngx-components-widgets-definitions-help-and-service.mjs.map +1 -1
  95. package/fesm2022/c8y-ngx-components-widgets-definitions-image.mjs +2 -2
  96. package/fesm2022/c8y-ngx-components-widgets-definitions-image.mjs.map +1 -1
  97. package/fesm2022/c8y-ngx-components-widgets-definitions-info-gauge.mjs +2 -2
  98. package/fesm2022/c8y-ngx-components-widgets-definitions-info-gauge.mjs.map +1 -1
  99. package/fesm2022/c8y-ngx-components-widgets-definitions-kpi.mjs +2 -2
  100. package/fesm2022/c8y-ngx-components-widgets-definitions-kpi.mjs.map +1 -1
  101. package/fesm2022/c8y-ngx-components-widgets-definitions-map.mjs +2 -2
  102. package/fesm2022/c8y-ngx-components-widgets-definitions-map.mjs.map +1 -1
  103. package/fesm2022/c8y-ngx-components-widgets-definitions-markdown.mjs +2 -2
  104. package/fesm2022/c8y-ngx-components-widgets-definitions-markdown.mjs.map +1 -1
  105. package/fesm2022/c8y-ngx-components-widgets-definitions-three-d-rotation.mjs +2 -2
  106. package/fesm2022/c8y-ngx-components-widgets-definitions-three-d-rotation.mjs.map +1 -1
  107. package/fesm2022/c8y-ngx-components-widgets-device-management.mjs.map +1 -1
  108. package/fesm2022/c8y-ngx-components-widgets.mjs +2 -2
  109. package/fesm2022/c8y-ngx-components-widgets.mjs.map +1 -1
  110. package/fesm2022/c8y-ngx-components.mjs +49 -4
  111. package/fesm2022/c8y-ngx-components.mjs.map +1 -1
  112. package/locales/de.po +46 -12
  113. package/locales/en.po +7 -7
  114. package/locales/es.po +40 -12
  115. package/locales/fr.po +40 -12
  116. package/locales/ja_JP.po +43 -12
  117. package/locales/locales.pot +35 -14
  118. package/locales/nl.po +40 -12
  119. package/locales/pl.po +40 -12
  120. package/locales/pt_BR.po +40 -12
  121. package/package.json +1 -1
  122. package/widgets/cockpit/index.d.ts.map +1 -1
  123. package/widgets/definitions/alarms/alarm-list/index.d.ts.map +1 -1
  124. package/widgets/definitions/alarms/all-critical-alarms/index.d.ts.map +1 -1
  125. package/widgets/definitions/alarms/recent-alarms/index.d.ts.map +1 -1
  126. package/widgets/definitions/applications/index.d.ts.map +1 -1
  127. package/widgets/definitions/cockpit-legacy-welcome/index.d.ts.map +1 -1
  128. package/widgets/definitions/cockpit-welcome/index.d.ts.map +1 -1
  129. package/widgets/definitions/device-control-message/index.d.ts.map +1 -1
  130. package/widgets/definitions/device-management-welcome/index.d.ts.map +1 -1
  131. package/widgets/definitions/help-and-service/index.d.ts.map +1 -1
  132. package/widgets/definitions/image/index.d.ts.map +1 -1
  133. package/widgets/definitions/info-gauge/index.d.ts.map +1 -1
  134. package/widgets/definitions/kpi/index.d.ts.map +1 -1
  135. package/widgets/definitions/map/index.d.ts.map +1 -1
  136. package/widgets/definitions/markdown/index.d.ts.map +1 -1
  137. package/widgets/definitions/three-d-rotation/index.d.ts.map +1 -1
  138. package/widgets/device-management/index.d.ts.map +1 -1
  139. package/widgets/widgets.module.d.ts +2 -2
  140. package/widgets/widgets.module.d.ts.map +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"c8y-ngx-components-widgets-definitions-alarms-all-critical-alarms.mjs","sources":["../../widgets/definitions/alarms/all-critical-alarms/index.ts","../../widgets/definitions/alarms/all-critical-alarms/c8y-ngx-components-widgets-definitions-alarms-all-critical-alarms.ts"],"sourcesContent":["import type { DynamicComponentDefinition } from '@c8y/ngx-components';\nimport { gettext, hookComponent } from '@c8y/ngx-components';\nimport type { ContextWidgetConfig } from '@c8y/ngx-components/context-dashboard';\nimport { defaultWidgetIds } from '@c8y/ngx-components/widgets/definitions';\n\nexport const criticalAlarmsWidgetDefinition = {\n id: defaultWidgetIds.ALL_CRITICAL_ALARMS,\n label: gettext('All critical alarms'),\n description: gettext(`Display all critical alarms from all devices`),\n loadComponent: () =>\n import('@c8y/ngx-components/widgets/implementations/alarms').then(\n m => m.AlarmListWidgetComponent\n ),\n loadConfigComponent: () =>\n import('@c8y/ngx-components/widgets/implementations/alarms').then(\n m => m.AlarmListWidgetConfigComponent\n ),\n data: {\n settings: {\n criticalAlarmsWidget: true,\n noNewWidgets: true,\n widgetDefaults: {\n _width: 4,\n _height: 4\n },\n ng1: {\n options: {\n noDeviceTarget: false,\n groupsSelectable: true,\n deviceTargetNotRequired: true\n }\n }\n }\n } as ContextWidgetConfig\n} satisfies DynamicComponentDefinition;\n\nexport const criticalAlarmsWidgetProviders = [hookComponent(criticalAlarmsWidgetDefinition)];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAKa,MAAA,8BAA8B,GAAG;IAC5C,EAAE,EAAE,gBAAgB,CAAC,mBAAmB;AACxC,IAAA,KAAK,EAAE,OAAO,CAAC,qBAAqB,CAAC;AACrC,IAAA,WAAW,EAAE,OAAO,CAAC,CAAA,4CAAA,CAA8C,CAAC;AACpE,IAAA,aAAa,EAAE,MACb,OAAO,oDAAoD,CAAC,CAAC,IAAI,CAC/D,CAAC,IAAI,CAAC,CAAC,wBAAwB,CAChC;AACH,IAAA,mBAAmB,EAAE,MACnB,OAAO,oDAAoD,CAAC,CAAC,IAAI,CAC/D,CAAC,IAAI,CAAC,CAAC,8BAA8B,CACtC;AACH,IAAA,IAAI,EAAE;AACJ,QAAA,QAAQ,EAAE;AACR,YAAA,oBAAoB,EAAE,IAAI;AAC1B,YAAA,YAAY,EAAE,IAAI;AAClB,YAAA,cAAc,EAAE;AACd,gBAAA,MAAM,EAAE,CAAC;AACT,gBAAA,OAAO,EAAE,CAAC;AACX,aAAA;AACD,YAAA,GAAG,EAAE;AACH,gBAAA,OAAO,EAAE;AACP,oBAAA,cAAc,EAAE,KAAK;AACrB,oBAAA,gBAAgB,EAAE,IAAI;AACtB,oBAAA,uBAAuB,EAAE,IAAI;AAC9B,iBAAA;AACF,aAAA;AACF,SAAA;AACqB,KAAA;EACa;AAE1B,MAAA,6BAA6B,GAAG,CAAC,aAAa,CAAC,8BAA8B,CAAC;;ACpC3F;;AAEG;;;;"}
1
+ {"version":3,"file":"c8y-ngx-components-widgets-definitions-alarms-all-critical-alarms.mjs","sources":["../../widgets/definitions/alarms/all-critical-alarms/index.ts","../../widgets/definitions/alarms/all-critical-alarms/c8y-ngx-components-widgets-definitions-alarms-all-critical-alarms.ts"],"sourcesContent":["import type { DynamicWidgetDefinition } from '@c8y/ngx-components';\nimport { gettext, hookWidget } from '@c8y/ngx-components';\nimport type { ContextWidgetConfig } from '@c8y/ngx-components/context-dashboard';\nimport { defaultWidgetIds } from '@c8y/ngx-components/widgets/definitions';\n\nexport const criticalAlarmsWidgetDefinition = {\n id: defaultWidgetIds.ALL_CRITICAL_ALARMS,\n label: gettext('All critical alarms'),\n description: gettext(`Display all critical alarms from all devices`),\n loadComponent: () =>\n import('@c8y/ngx-components/widgets/implementations/alarms').then(\n m => m.AlarmListWidgetComponent\n ),\n loadConfigComponent: () =>\n import('@c8y/ngx-components/widgets/implementations/alarms').then(\n m => m.AlarmListWidgetConfigComponent\n ),\n data: {\n settings: {\n criticalAlarmsWidget: true,\n noNewWidgets: true,\n widgetDefaults: {\n _width: 4,\n _height: 4\n },\n ng1: {\n options: {\n noDeviceTarget: false,\n groupsSelectable: true,\n deviceTargetNotRequired: true\n }\n }\n }\n } as ContextWidgetConfig\n} satisfies DynamicWidgetDefinition;\n\nexport const criticalAlarmsWidgetProviders = [hookWidget(criticalAlarmsWidgetDefinition)];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAKa,MAAA,8BAA8B,GAAG;IAC5C,EAAE,EAAE,gBAAgB,CAAC,mBAAmB;AACxC,IAAA,KAAK,EAAE,OAAO,CAAC,qBAAqB,CAAC;AACrC,IAAA,WAAW,EAAE,OAAO,CAAC,CAAA,4CAAA,CAA8C,CAAC;AACpE,IAAA,aAAa,EAAE,MACb,OAAO,oDAAoD,CAAC,CAAC,IAAI,CAC/D,CAAC,IAAI,CAAC,CAAC,wBAAwB,CAChC;AACH,IAAA,mBAAmB,EAAE,MACnB,OAAO,oDAAoD,CAAC,CAAC,IAAI,CAC/D,CAAC,IAAI,CAAC,CAAC,8BAA8B,CACtC;AACH,IAAA,IAAI,EAAE;AACJ,QAAA,QAAQ,EAAE;AACR,YAAA,oBAAoB,EAAE,IAAI;AAC1B,YAAA,YAAY,EAAE,IAAI;AAClB,YAAA,cAAc,EAAE;AACd,gBAAA,MAAM,EAAE,CAAC;AACT,gBAAA,OAAO,EAAE,CAAC;AACX,aAAA;AACD,YAAA,GAAG,EAAE;AACH,gBAAA,OAAO,EAAE;AACP,oBAAA,cAAc,EAAE,KAAK;AACrB,oBAAA,gBAAgB,EAAE,IAAI;AACtB,oBAAA,uBAAuB,EAAE,IAAI;AAC9B,iBAAA;AACF,aAAA;AACF,SAAA;AACqB,KAAA;EACU;AAEvB,MAAA,6BAA6B,GAAG,CAAC,UAAU,CAAC,8BAA8B,CAAC;;ACpCxF;;AAEG;;;;"}
@@ -1,4 +1,4 @@
1
- import { gettext, hookComponent } from '@c8y/ngx-components';
1
+ import { gettext, hookWidget } from '@c8y/ngx-components';
2
2
  import { defaultWidgetIds } from '@c8y/ngx-components/widgets/definitions';
3
3
 
4
4
  const recentAlarmsDefinition = {
@@ -25,7 +25,7 @@ const recentAlarmsDefinition = {
25
25
  }
26
26
  }
27
27
  };
28
- const recentAlarmsWidgetProviders = [hookComponent(recentAlarmsDefinition)];
28
+ const recentAlarmsWidgetProviders = [hookWidget(recentAlarmsDefinition)];
29
29
 
30
30
  /**
31
31
  * Generated bundle index. Do not edit.
@@ -1 +1 @@
1
- {"version":3,"file":"c8y-ngx-components-widgets-definitions-alarms-recent-alarms.mjs","sources":["../../widgets/definitions/alarms/recent-alarms/index.ts","../../widgets/definitions/alarms/recent-alarms/c8y-ngx-components-widgets-definitions-alarms-recent-alarms.ts"],"sourcesContent":["import type { DynamicComponentDefinition } from '@c8y/ngx-components';\nimport { gettext, hookComponent } from '@c8y/ngx-components';\nimport type { ContextWidgetConfig } from '@c8y/ngx-components/context-dashboard';\nimport { defaultWidgetIds } from '@c8y/ngx-components/widgets/definitions';\n\nexport const recentAlarmsDefinition = {\n id: defaultWidgetIds.RECENT_ALARMS,\n label: gettext('Recent alarms'),\n description: gettext('Log of recent alarms from all devices with any severity and status'),\n loadComponent: () =>\n import('@c8y/ngx-components/widgets/implementations/alarms').then(\n m => m.AlarmListWidgetComponent\n ),\n loadConfigComponent: () =>\n import('@c8y/ngx-components/widgets/implementations/alarms').then(\n m => m.AlarmListWidgetConfigComponent\n ),\n data: {\n settings: {\n recentAlarmsWidget: true,\n noNewWidgets: true,\n widgetDefaults: {\n _width: 4,\n _height: 4\n },\n ng1: {\n options: {\n noDeviceTarget: false,\n groupsSelectable: true,\n deviceTargetNotRequired: true\n }\n }\n }\n } as ContextWidgetConfig\n} satisfies DynamicComponentDefinition;\n\nexport const recentAlarmsWidgetProviders = [hookComponent(recentAlarmsDefinition)];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAKa,MAAA,sBAAsB,GAAG;IACpC,EAAE,EAAE,gBAAgB,CAAC,aAAa;AAClC,IAAA,KAAK,EAAE,OAAO,CAAC,eAAe,CAAC;AAC/B,IAAA,WAAW,EAAE,OAAO,CAAC,oEAAoE,CAAC;AAC1F,IAAA,aAAa,EAAE,MACb,OAAO,oDAAoD,CAAC,CAAC,IAAI,CAC/D,CAAC,IAAI,CAAC,CAAC,wBAAwB,CAChC;AACH,IAAA,mBAAmB,EAAE,MACnB,OAAO,oDAAoD,CAAC,CAAC,IAAI,CAC/D,CAAC,IAAI,CAAC,CAAC,8BAA8B,CACtC;AACH,IAAA,IAAI,EAAE;AACJ,QAAA,QAAQ,EAAE;AACR,YAAA,kBAAkB,EAAE,IAAI;AACxB,YAAA,YAAY,EAAE,IAAI;AAClB,YAAA,cAAc,EAAE;AACd,gBAAA,MAAM,EAAE,CAAC;AACT,gBAAA,OAAO,EAAE,CAAC;AACX,aAAA;AACD,YAAA,GAAG,EAAE;AACH,gBAAA,OAAO,EAAE;AACP,oBAAA,cAAc,EAAE,KAAK;AACrB,oBAAA,gBAAgB,EAAE,IAAI;AACtB,oBAAA,uBAAuB,EAAE,IAAI;AAC9B,iBAAA;AACF,aAAA;AACF,SAAA;AACqB,KAAA;EACa;AAE1B,MAAA,2BAA2B,GAAG,CAAC,aAAa,CAAC,sBAAsB,CAAC;;ACpCjF;;AAEG;;;;"}
1
+ {"version":3,"file":"c8y-ngx-components-widgets-definitions-alarms-recent-alarms.mjs","sources":["../../widgets/definitions/alarms/recent-alarms/index.ts","../../widgets/definitions/alarms/recent-alarms/c8y-ngx-components-widgets-definitions-alarms-recent-alarms.ts"],"sourcesContent":["import type { DynamicWidgetDefinition } from '@c8y/ngx-components';\nimport { gettext, hookWidget } from '@c8y/ngx-components';\nimport type { ContextWidgetConfig } from '@c8y/ngx-components/context-dashboard';\nimport { defaultWidgetIds } from '@c8y/ngx-components/widgets/definitions';\n\nexport const recentAlarmsDefinition = {\n id: defaultWidgetIds.RECENT_ALARMS,\n label: gettext('Recent alarms'),\n description: gettext('Log of recent alarms from all devices with any severity and status'),\n loadComponent: () =>\n import('@c8y/ngx-components/widgets/implementations/alarms').then(\n m => m.AlarmListWidgetComponent\n ),\n loadConfigComponent: () =>\n import('@c8y/ngx-components/widgets/implementations/alarms').then(\n m => m.AlarmListWidgetConfigComponent\n ),\n data: {\n settings: {\n recentAlarmsWidget: true,\n noNewWidgets: true,\n widgetDefaults: {\n _width: 4,\n _height: 4\n },\n ng1: {\n options: {\n noDeviceTarget: false,\n groupsSelectable: true,\n deviceTargetNotRequired: true\n }\n }\n }\n } as ContextWidgetConfig\n} satisfies DynamicWidgetDefinition;\n\nexport const recentAlarmsWidgetProviders = [hookWidget(recentAlarmsDefinition)];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAKa,MAAA,sBAAsB,GAAG;IACpC,EAAE,EAAE,gBAAgB,CAAC,aAAa;AAClC,IAAA,KAAK,EAAE,OAAO,CAAC,eAAe,CAAC;AAC/B,IAAA,WAAW,EAAE,OAAO,CAAC,oEAAoE,CAAC;AAC1F,IAAA,aAAa,EAAE,MACb,OAAO,oDAAoD,CAAC,CAAC,IAAI,CAC/D,CAAC,IAAI,CAAC,CAAC,wBAAwB,CAChC;AACH,IAAA,mBAAmB,EAAE,MACnB,OAAO,oDAAoD,CAAC,CAAC,IAAI,CAC/D,CAAC,IAAI,CAAC,CAAC,8BAA8B,CACtC;AACH,IAAA,IAAI,EAAE;AACJ,QAAA,QAAQ,EAAE;AACR,YAAA,kBAAkB,EAAE,IAAI;AACxB,YAAA,YAAY,EAAE,IAAI;AAClB,YAAA,cAAc,EAAE;AACd,gBAAA,MAAM,EAAE,CAAC;AACT,gBAAA,OAAO,EAAE,CAAC;AACX,aAAA;AACD,YAAA,GAAG,EAAE;AACH,gBAAA,OAAO,EAAE;AACP,oBAAA,cAAc,EAAE,KAAK;AACrB,oBAAA,gBAAgB,EAAE,IAAI;AACtB,oBAAA,uBAAuB,EAAE,IAAI;AAC9B,iBAAA;AACF,aAAA;AACF,SAAA;AACqB,KAAA;EACU;AAEvB,MAAA,2BAA2B,GAAG,CAAC,UAAU,CAAC,sBAAsB,CAAC;;ACpC9E;;AAEG;;;;"}
@@ -1,4 +1,4 @@
1
- import { gettext, AppSwitcherInlineComponent, hookComponent } from '@c8y/ngx-components';
1
+ import { gettext, AppSwitcherInlineComponent, hookWidget } from '@c8y/ngx-components';
2
2
  import { defaultWidgetIds } from '@c8y/ngx-components/widgets/definitions';
3
3
 
4
4
  const applicationsWidgetDefinition = {
@@ -19,7 +19,7 @@ const applicationsWidgetDefinition = {
19
19
  }
20
20
  }
21
21
  };
22
- const applicationsWidgetProviders = [hookComponent(applicationsWidgetDefinition)];
22
+ const applicationsWidgetProviders = [hookWidget(applicationsWidgetDefinition)];
23
23
 
24
24
  /**
25
25
  * Generated bundle index. Do not edit.
@@ -1 +1 @@
1
- {"version":3,"file":"c8y-ngx-components-widgets-definitions-applications.mjs","sources":["../../widgets/definitions/applications/index.ts","../../widgets/definitions/applications/c8y-ngx-components-widgets-definitions-applications.ts"],"sourcesContent":["import type { ContextWidgetConfig } from '@c8y/ngx-components/context-dashboard';\nimport {\n DynamicComponentDefinition,\n AppSwitcherInlineComponent,\n gettext,\n hookComponent\n} from '@c8y/ngx-components';\nimport { defaultWidgetIds } from '@c8y/ngx-components/widgets/definitions';\n\nexport const applicationsWidgetDefinition = {\n id: defaultWidgetIds.APPLICATIONS,\n label: gettext('Applications'),\n description: gettext('Displays the list of links to available applications.'),\n component: AppSwitcherInlineComponent,\n previewImage: 'c8y-style-assets/applications-widget-pr.png',\n data: {\n settings: {\n noNewWidgets: false,\n ng1: {\n options: {\n noDeviceTarget: true,\n groupsSelectable: false\n }\n }\n }\n } as ContextWidgetConfig\n} satisfies DynamicComponentDefinition;\n\nexport const applicationsWidgetProviders = [hookComponent(applicationsWidgetDefinition)];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AASa,MAAA,4BAA4B,GAAG;IAC1C,EAAE,EAAE,gBAAgB,CAAC,YAAY;AACjC,IAAA,KAAK,EAAE,OAAO,CAAC,cAAc,CAAC;AAC9B,IAAA,WAAW,EAAE,OAAO,CAAC,uDAAuD,CAAC;AAC7E,IAAA,SAAS,EAAE,0BAA0B;AACrC,IAAA,YAAY,EAAE,6CAA6C;AAC3D,IAAA,IAAI,EAAE;AACJ,QAAA,QAAQ,EAAE;AACR,YAAA,YAAY,EAAE,KAAK;AACnB,YAAA,GAAG,EAAE;AACH,gBAAA,OAAO,EAAE;AACP,oBAAA,cAAc,EAAE,IAAI;AACpB,oBAAA,gBAAgB,EAAE,KAAK;AACxB,iBAAA;AACF,aAAA;AACF,SAAA;AACqB,KAAA;EACa;AAE1B,MAAA,2BAA2B,GAAG,CAAC,aAAa,CAAC,4BAA4B,CAAC;;AC5BvF;;AAEG;;;;"}
1
+ {"version":3,"file":"c8y-ngx-components-widgets-definitions-applications.mjs","sources":["../../widgets/definitions/applications/index.ts","../../widgets/definitions/applications/c8y-ngx-components-widgets-definitions-applications.ts"],"sourcesContent":["import type { ContextWidgetConfig } from '@c8y/ngx-components/context-dashboard';\nimport {\n DynamicWidgetDefinition,\n AppSwitcherInlineComponent,\n gettext,\n hookWidget\n} from '@c8y/ngx-components';\nimport { defaultWidgetIds } from '@c8y/ngx-components/widgets/definitions';\n\nexport const applicationsWidgetDefinition = {\n id: defaultWidgetIds.APPLICATIONS,\n label: gettext('Applications'),\n description: gettext('Displays the list of links to available applications.'),\n component: AppSwitcherInlineComponent,\n previewImage: 'c8y-style-assets/applications-widget-pr.png',\n data: {\n settings: {\n noNewWidgets: false,\n ng1: {\n options: {\n noDeviceTarget: true,\n groupsSelectable: false\n }\n }\n }\n } as ContextWidgetConfig\n} satisfies DynamicWidgetDefinition;\n\nexport const applicationsWidgetProviders = [hookWidget(applicationsWidgetDefinition)];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AASa,MAAA,4BAA4B,GAAG;IAC1C,EAAE,EAAE,gBAAgB,CAAC,YAAY;AACjC,IAAA,KAAK,EAAE,OAAO,CAAC,cAAc,CAAC;AAC9B,IAAA,WAAW,EAAE,OAAO,CAAC,uDAAuD,CAAC;AAC7E,IAAA,SAAS,EAAE,0BAA0B;AACrC,IAAA,YAAY,EAAE,6CAA6C;AAC3D,IAAA,IAAI,EAAE;AACJ,QAAA,QAAQ,EAAE;AACR,YAAA,YAAY,EAAE,KAAK;AACnB,YAAA,GAAG,EAAE;AACH,gBAAA,OAAO,EAAE;AACP,oBAAA,cAAc,EAAE,IAAI;AACpB,oBAAA,gBAAgB,EAAE,KAAK;AACxB,iBAAA;AACF,aAAA;AACF,SAAA;AACqB,KAAA;EACU;AAEvB,MAAA,2BAA2B,GAAG,CAAC,UAAU,CAAC,4BAA4B,CAAC;;AC5BpF;;AAEG;;;;"}
@@ -1,4 +1,4 @@
1
- import { gettext, hookComponent } from '@c8y/ngx-components';
1
+ import { gettext, hookWidget } from '@c8y/ngx-components';
2
2
  import { defaultWidgetIds } from '@c8y/ngx-components/widgets/definitions';
3
3
 
4
4
  const legacyCockpitWelcomeWidgetDefinition = {
@@ -19,7 +19,7 @@ const legacyCockpitWelcomeWidgetDefinition = {
19
19
  }
20
20
  };
21
21
  const legacyCockpitWelcomeWidgetProviders = [
22
- hookComponent(legacyCockpitWelcomeWidgetDefinition)
22
+ hookWidget(legacyCockpitWelcomeWidgetDefinition)
23
23
  ];
24
24
 
25
25
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"c8y-ngx-components-widgets-definitions-cockpit-legacy-welcome.mjs","sources":["../../widgets/definitions/cockpit-legacy-welcome/index.ts","../../widgets/definitions/cockpit-legacy-welcome/c8y-ngx-components-widgets-definitions-cockpit-legacy-welcome.ts"],"sourcesContent":["import type { ContextWidgetConfig } from '@c8y/ngx-components/context-dashboard';\nimport type { DynamicComponentDefinition } from '@c8y/ngx-components';\nimport { gettext, hookComponent } from '@c8y/ngx-components';\nimport { defaultWidgetIds } from '@c8y/ngx-components/widgets/definitions';\n\nexport const legacyCockpitWelcomeWidgetDefinition = {\n id: defaultWidgetIds.LEGACY_COCKPIT_WELCOME,\n label: gettext('Welcome to Cockpit'),\n description: gettext('Displays a welcome message for Cockpit'),\n loadComponent: () =>\n import('@c8y/ngx-components/widgets/implementations/cockpit-legacy-welcome').then(\n m => m.CockpitLegacyWelcomeWidgetComponent\n ),\n data: {\n settings: {\n noNewWidgets: true,\n ng1: {\n options: {\n noDeviceTarget: true,\n groupsSelectable: false\n }\n }\n }\n } as ContextWidgetConfig\n} satisfies DynamicComponentDefinition;\n\nexport const legacyCockpitWelcomeWidgetProviders = [\n hookComponent(legacyCockpitWelcomeWidgetDefinition)\n];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAKa,MAAA,oCAAoC,GAAG;IAClD,EAAE,EAAE,gBAAgB,CAAC,sBAAsB;AAC3C,IAAA,KAAK,EAAE,OAAO,CAAC,oBAAoB,CAAC;AACpC,IAAA,WAAW,EAAE,OAAO,CAAC,wCAAwC,CAAC;AAC9D,IAAA,aAAa,EAAE,MACb,OAAO,oEAAoE,CAAC,CAAC,IAAI,CAC/E,CAAC,IAAI,CAAC,CAAC,mCAAmC,CAC3C;AACH,IAAA,IAAI,EAAE;AACJ,QAAA,QAAQ,EAAE;AACR,YAAA,YAAY,EAAE,IAAI;AAClB,YAAA,GAAG,EAAE;AACH,gBAAA,OAAO,EAAE;AACP,oBAAA,cAAc,EAAE,IAAI;AACpB,oBAAA,gBAAgB,EAAE,KAAK;AACxB,iBAAA;AACF,aAAA;AACF,SAAA;AACqB,KAAA;EACa;AAE1B,MAAA,mCAAmC,GAAG;IACjD,aAAa,CAAC,oCAAoC,CAAC;;;AC3BrD;;AAEG;;;;"}
1
+ {"version":3,"file":"c8y-ngx-components-widgets-definitions-cockpit-legacy-welcome.mjs","sources":["../../widgets/definitions/cockpit-legacy-welcome/index.ts","../../widgets/definitions/cockpit-legacy-welcome/c8y-ngx-components-widgets-definitions-cockpit-legacy-welcome.ts"],"sourcesContent":["import type { ContextWidgetConfig } from '@c8y/ngx-components/context-dashboard';\nimport type { DynamicWidgetDefinition } from '@c8y/ngx-components';\nimport { gettext, hookWidget } from '@c8y/ngx-components';\nimport { defaultWidgetIds } from '@c8y/ngx-components/widgets/definitions';\n\nexport const legacyCockpitWelcomeWidgetDefinition = {\n id: defaultWidgetIds.LEGACY_COCKPIT_WELCOME,\n label: gettext('Welcome to Cockpit'),\n description: gettext('Displays a welcome message for Cockpit'),\n loadComponent: () =>\n import('@c8y/ngx-components/widgets/implementations/cockpit-legacy-welcome').then(\n m => m.CockpitLegacyWelcomeWidgetComponent\n ),\n data: {\n settings: {\n noNewWidgets: true,\n ng1: {\n options: {\n noDeviceTarget: true,\n groupsSelectable: false\n }\n }\n }\n } as ContextWidgetConfig\n} satisfies DynamicWidgetDefinition;\n\nexport const legacyCockpitWelcomeWidgetProviders = [\n hookWidget(legacyCockpitWelcomeWidgetDefinition)\n];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAKa,MAAA,oCAAoC,GAAG;IAClD,EAAE,EAAE,gBAAgB,CAAC,sBAAsB;AAC3C,IAAA,KAAK,EAAE,OAAO,CAAC,oBAAoB,CAAC;AACpC,IAAA,WAAW,EAAE,OAAO,CAAC,wCAAwC,CAAC;AAC9D,IAAA,aAAa,EAAE,MACb,OAAO,oEAAoE,CAAC,CAAC,IAAI,CAC/E,CAAC,IAAI,CAAC,CAAC,mCAAmC,CAC3C;AACH,IAAA,IAAI,EAAE;AACJ,QAAA,QAAQ,EAAE;AACR,YAAA,YAAY,EAAE,IAAI;AAClB,YAAA,GAAG,EAAE;AACH,gBAAA,OAAO,EAAE;AACP,oBAAA,cAAc,EAAE,IAAI;AACpB,oBAAA,gBAAgB,EAAE,KAAK;AACxB,iBAAA;AACF,aAAA;AACF,SAAA;AACqB,KAAA;EACU;AAEvB,MAAA,mCAAmC,GAAG;IACjD,UAAU,CAAC,oCAAoC,CAAC;;;AC3BlD;;AAEG;;;;"}
@@ -1,4 +1,4 @@
1
- import { gettext, hookComponent } from '@c8y/ngx-components';
1
+ import { gettext, hookWidget } from '@c8y/ngx-components';
2
2
  import { defaultWidgetIds } from '@c8y/ngx-components/widgets/definitions';
3
3
 
4
4
  const cockpitWelcomeWidgetDefinition = {
@@ -23,7 +23,7 @@ const cockpitWelcomeWidgetDefinition = {
23
23
  }
24
24
  }
25
25
  };
26
- const cockpitWelcomeWidgetProviders = [hookComponent(cockpitWelcomeWidgetDefinition)];
26
+ const cockpitWelcomeWidgetProviders = [hookWidget(cockpitWelcomeWidgetDefinition)];
27
27
 
28
28
  /**
29
29
  * Generated bundle index. Do not edit.
@@ -1 +1 @@
1
- {"version":3,"file":"c8y-ngx-components-widgets-definitions-cockpit-welcome.mjs","sources":["../../widgets/definitions/cockpit-welcome/index.ts","../../widgets/definitions/cockpit-welcome/c8y-ngx-components-widgets-definitions-cockpit-welcome.ts"],"sourcesContent":["import type { ContextWidgetConfig } from '@c8y/ngx-components/context-dashboard';\nimport type { DynamicComponentDefinition } from '@c8y/ngx-components';\nimport { gettext, hookComponent } from '@c8y/ngx-components';\nimport { defaultWidgetIds } from '@c8y/ngx-components/widgets/definitions';\n\nexport const cockpitWelcomeWidgetDefinition = {\n id: defaultWidgetIds.COCKPIT_WELCOME,\n label: gettext('Welcome to Cockpit'),\n description: gettext('Displays a welcome message for Cockpit'),\n loadComponent: () =>\n import('@c8y/ngx-components/widgets/implementations/cockpit-welcome').then(\n m => m.WelcomeToCockpitComponent\n ),\n previewImage: 'c8y-style-assets/welcome-widget-pr.png',\n data: {\n settings: {\n noNewWidgets: false,\n widgetDefaults: {\n _width: 24,\n _height: 6\n },\n ng1: {\n options: {\n noDeviceTarget: true,\n groupsSelectable: false\n }\n }\n }\n } as ContextWidgetConfig\n} satisfies DynamicComponentDefinition;\n\nexport const cockpitWelcomeWidgetProviders = [hookComponent(cockpitWelcomeWidgetDefinition)];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAKa,MAAA,8BAA8B,GAAG;IAC5C,EAAE,EAAE,gBAAgB,CAAC,eAAe;AACpC,IAAA,KAAK,EAAE,OAAO,CAAC,oBAAoB,CAAC;AACpC,IAAA,WAAW,EAAE,OAAO,CAAC,wCAAwC,CAAC;AAC9D,IAAA,aAAa,EAAE,MACb,OAAO,6DAA6D,CAAC,CAAC,IAAI,CACxE,CAAC,IAAI,CAAC,CAAC,yBAAyB,CACjC;AACH,IAAA,YAAY,EAAE,wCAAwC;AACtD,IAAA,IAAI,EAAE;AACJ,QAAA,QAAQ,EAAE;AACR,YAAA,YAAY,EAAE,KAAK;AACnB,YAAA,cAAc,EAAE;AACd,gBAAA,MAAM,EAAE,EAAE;AACV,gBAAA,OAAO,EAAE,CAAC;AACX,aAAA;AACD,YAAA,GAAG,EAAE;AACH,gBAAA,OAAO,EAAE;AACP,oBAAA,cAAc,EAAE,IAAI;AACpB,oBAAA,gBAAgB,EAAE,KAAK;AACxB,iBAAA;AACF,aAAA;AACF,SAAA;AACqB,KAAA;EACa;AAE1B,MAAA,6BAA6B,GAAG,CAAC,aAAa,CAAC,8BAA8B,CAAC;;AC/B3F;;AAEG;;;;"}
1
+ {"version":3,"file":"c8y-ngx-components-widgets-definitions-cockpit-welcome.mjs","sources":["../../widgets/definitions/cockpit-welcome/index.ts","../../widgets/definitions/cockpit-welcome/c8y-ngx-components-widgets-definitions-cockpit-welcome.ts"],"sourcesContent":["import type { ContextWidgetConfig } from '@c8y/ngx-components/context-dashboard';\nimport type { DynamicWidgetDefinition } from '@c8y/ngx-components';\nimport { gettext, hookWidget } from '@c8y/ngx-components';\nimport { defaultWidgetIds } from '@c8y/ngx-components/widgets/definitions';\n\nexport const cockpitWelcomeWidgetDefinition = {\n id: defaultWidgetIds.COCKPIT_WELCOME,\n label: gettext('Welcome to Cockpit'),\n description: gettext('Displays a welcome message for Cockpit'),\n loadComponent: () =>\n import('@c8y/ngx-components/widgets/implementations/cockpit-welcome').then(\n m => m.WelcomeToCockpitComponent\n ),\n previewImage: 'c8y-style-assets/welcome-widget-pr.png',\n data: {\n settings: {\n noNewWidgets: false,\n widgetDefaults: {\n _width: 24,\n _height: 6\n },\n ng1: {\n options: {\n noDeviceTarget: true,\n groupsSelectable: false\n }\n }\n }\n } as ContextWidgetConfig\n} satisfies DynamicWidgetDefinition;\n\nexport const cockpitWelcomeWidgetProviders = [hookWidget(cockpitWelcomeWidgetDefinition)];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAKa,MAAA,8BAA8B,GAAG;IAC5C,EAAE,EAAE,gBAAgB,CAAC,eAAe;AACpC,IAAA,KAAK,EAAE,OAAO,CAAC,oBAAoB,CAAC;AACpC,IAAA,WAAW,EAAE,OAAO,CAAC,wCAAwC,CAAC;AAC9D,IAAA,aAAa,EAAE,MACb,OAAO,6DAA6D,CAAC,CAAC,IAAI,CACxE,CAAC,IAAI,CAAC,CAAC,yBAAyB,CACjC;AACH,IAAA,YAAY,EAAE,wCAAwC;AACtD,IAAA,IAAI,EAAE;AACJ,QAAA,QAAQ,EAAE;AACR,YAAA,YAAY,EAAE,KAAK;AACnB,YAAA,cAAc,EAAE;AACd,gBAAA,MAAM,EAAE,EAAE;AACV,gBAAA,OAAO,EAAE,CAAC;AACX,aAAA;AACD,YAAA,GAAG,EAAE;AACH,gBAAA,OAAO,EAAE;AACP,oBAAA,cAAc,EAAE,IAAI;AACpB,oBAAA,gBAAgB,EAAE,KAAK;AACxB,iBAAA;AACF,aAAA;AACF,SAAA;AACqB,KAAA;EACU;AAEvB,MAAA,6BAA6B,GAAG,CAAC,UAAU,CAAC,8BAA8B,CAAC;;AC/BxF;;AAEG;;;;"}
@@ -1,4 +1,4 @@
1
- import { gettext, DynamicManagedObjectResolver, DynamicComponentErrorStrategy, hookComponent } from '@c8y/ngx-components';
1
+ import { gettext, DynamicManagedObjectResolver, DynamicComponentErrorStrategy, hookWidget } from '@c8y/ngx-components';
2
2
  import { defaultWidgetIds } from '@c8y/ngx-components/widgets/definitions';
3
3
 
4
4
  const deviceControlMessageWidgetDefinition = {
@@ -27,7 +27,7 @@ const deviceControlMessageWidgetDefinition = {
27
27
  }
28
28
  };
29
29
  const deviceControlMessageWidgetProviders = [
30
- hookComponent(deviceControlMessageWidgetDefinition)
30
+ hookWidget(deviceControlMessageWidgetDefinition)
31
31
  ];
32
32
 
33
33
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"c8y-ngx-components-widgets-definitions-device-control-message.mjs","sources":["../../widgets/definitions/device-control-message/index.ts","../../widgets/definitions/device-control-message/c8y-ngx-components-widgets-definitions-device-control-message.ts"],"sourcesContent":["import type { ContextWidgetConfig } from '@c8y/ngx-components/context-dashboard';\nimport type { DynamicComponentDefinition } from '@c8y/ngx-components';\nimport {\n DynamicComponentErrorStrategy,\n DynamicManagedObjectResolver,\n gettext,\n hookComponent\n} from '@c8y/ngx-components';\nimport { defaultWidgetIds } from '@c8y/ngx-components/widgets/definitions';\n\nexport const deviceControlMessageWidgetDefinition = {\n id: defaultWidgetIds.DEVICE_CONTROL_MESSAGE_WIDGET,\n label: gettext('Message sending'),\n description: gettext(`Remotely send a message to a device`),\n loadComponent: () =>\n import('@c8y/ngx-components/widgets/implementations/device-control-message').then(\n m => m.DeviceControlMessageWidgetViewComponent\n ),\n resolve: {\n device: DynamicManagedObjectResolver\n },\n previewImage: 'c8y-style-assets/device-control-message-widget.png',\n errorStrategy: DynamicComponentErrorStrategy.OVERLAY_ERROR,\n data: {\n settings: {\n noNewWidgets: false,\n widgetDefaults: {\n _width: 8,\n _height: 4\n },\n ng1: {\n options: {\n groupsSelectable: false\n }\n }\n }\n } as ContextWidgetConfig\n} satisfies DynamicComponentDefinition;\n\nexport const deviceControlMessageWidgetProviders = [\n hookComponent(deviceControlMessageWidgetDefinition)\n];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAUa,MAAA,oCAAoC,GAAG;IAClD,EAAE,EAAE,gBAAgB,CAAC,6BAA6B;AAClD,IAAA,KAAK,EAAE,OAAO,CAAC,iBAAiB,CAAC;AACjC,IAAA,WAAW,EAAE,OAAO,CAAC,CAAA,mCAAA,CAAqC,CAAC;AAC3D,IAAA,aAAa,EAAE,MACb,OAAO,oEAAoE,CAAC,CAAC,IAAI,CAC/E,CAAC,IAAI,CAAC,CAAC,uCAAuC,CAC/C;AACH,IAAA,OAAO,EAAE;AACP,QAAA,MAAM,EAAE,4BAA4B;AACrC,KAAA;AACD,IAAA,YAAY,EAAE,oDAAoD;IAClE,aAAa,EAAE,6BAA6B,CAAC,aAAa;AAC1D,IAAA,IAAI,EAAE;AACJ,QAAA,QAAQ,EAAE;AACR,YAAA,YAAY,EAAE,KAAK;AACnB,YAAA,cAAc,EAAE;AACd,gBAAA,MAAM,EAAE,CAAC;AACT,gBAAA,OAAO,EAAE,CAAC;AACX,aAAA;AACD,YAAA,GAAG,EAAE;AACH,gBAAA,OAAO,EAAE;AACP,oBAAA,gBAAgB,EAAE,KAAK;AACxB,iBAAA;AACF,aAAA;AACF,SAAA;AACqB,KAAA;EACa;AAE1B,MAAA,mCAAmC,GAAG;IACjD,aAAa,CAAC,oCAAoC,CAAC;;;ACxCrD;;AAEG;;;;"}
1
+ {"version":3,"file":"c8y-ngx-components-widgets-definitions-device-control-message.mjs","sources":["../../widgets/definitions/device-control-message/index.ts","../../widgets/definitions/device-control-message/c8y-ngx-components-widgets-definitions-device-control-message.ts"],"sourcesContent":["import type { ContextWidgetConfig } from '@c8y/ngx-components/context-dashboard';\nimport type { DynamicWidgetDefinition } from '@c8y/ngx-components';\nimport {\n DynamicComponentErrorStrategy,\n DynamicManagedObjectResolver,\n gettext,\n hookWidget\n} from '@c8y/ngx-components';\nimport { defaultWidgetIds } from '@c8y/ngx-components/widgets/definitions';\n\nexport const deviceControlMessageWidgetDefinition = {\n id: defaultWidgetIds.DEVICE_CONTROL_MESSAGE_WIDGET,\n label: gettext('Message sending'),\n description: gettext(`Remotely send a message to a device`),\n loadComponent: () =>\n import('@c8y/ngx-components/widgets/implementations/device-control-message').then(\n m => m.DeviceControlMessageWidgetViewComponent\n ),\n resolve: {\n device: DynamicManagedObjectResolver\n },\n previewImage: 'c8y-style-assets/device-control-message-widget.png',\n errorStrategy: DynamicComponentErrorStrategy.OVERLAY_ERROR,\n data: {\n settings: {\n noNewWidgets: false,\n widgetDefaults: {\n _width: 8,\n _height: 4\n },\n ng1: {\n options: {\n groupsSelectable: false\n }\n }\n }\n } as ContextWidgetConfig\n} satisfies DynamicWidgetDefinition;\n\nexport const deviceControlMessageWidgetProviders = [\n hookWidget(deviceControlMessageWidgetDefinition)\n];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAUa,MAAA,oCAAoC,GAAG;IAClD,EAAE,EAAE,gBAAgB,CAAC,6BAA6B;AAClD,IAAA,KAAK,EAAE,OAAO,CAAC,iBAAiB,CAAC;AACjC,IAAA,WAAW,EAAE,OAAO,CAAC,CAAA,mCAAA,CAAqC,CAAC;AAC3D,IAAA,aAAa,EAAE,MACb,OAAO,oEAAoE,CAAC,CAAC,IAAI,CAC/E,CAAC,IAAI,CAAC,CAAC,uCAAuC,CAC/C;AACH,IAAA,OAAO,EAAE;AACP,QAAA,MAAM,EAAE,4BAA4B;AACrC,KAAA;AACD,IAAA,YAAY,EAAE,oDAAoD;IAClE,aAAa,EAAE,6BAA6B,CAAC,aAAa;AAC1D,IAAA,IAAI,EAAE;AACJ,QAAA,QAAQ,EAAE;AACR,YAAA,YAAY,EAAE,KAAK;AACnB,YAAA,cAAc,EAAE;AACd,gBAAA,MAAM,EAAE,CAAC;AACT,gBAAA,OAAO,EAAE,CAAC;AACX,aAAA;AACD,YAAA,GAAG,EAAE;AACH,gBAAA,OAAO,EAAE;AACP,oBAAA,gBAAgB,EAAE,KAAK;AACxB,iBAAA;AACF,aAAA;AACF,SAAA;AACqB,KAAA;EACU;AAEvB,MAAA,mCAAmC,GAAG;IACjD,UAAU,CAAC,oCAAoC,CAAC;;;ACxClD;;AAEG;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"c8y-ngx-components-widgets-definitions-device-management-welcome.mjs","sources":["../../widgets/definitions/device-management-welcome/index.ts","../../widgets/definitions/device-management-welcome/c8y-ngx-components-widgets-definitions-device-management-welcome.ts"],"sourcesContent":["import type { DynamicComponentDefinition } from '@c8y/ngx-components';\nimport { gettext } from '@c8y/ngx-components';\nimport type { ContextWidgetConfig } from '@c8y/ngx-components/context-dashboard';\nimport { defaultWidgetIds } from '@c8y/ngx-components/widgets/definitions';\n\nexport const deviceManagementWelcomeWidgetDefinition = {\n id: defaultWidgetIds.DEVICE_MANAGEMENT_WELCOME,\n label: gettext('Quick links'),\n description: gettext('Displays quick links for Device Management'),\n loadComponent: () =>\n import('@c8y/ngx-components/widgets/implementations/device-management-welcome').then(\n m => m.WelcomeToDeviceManagementComponent\n ),\n previewImage: 'c8y-style-assets/dm-welcome-widget-pr.png',\n data: {\n settings: {\n noNewWidgets: false,\n widgetDefaults: {\n _width: 12,\n _height: 4\n },\n ng1: {\n options: {\n noDeviceTarget: true,\n groupsSelectable: false\n }\n }\n }\n } as ContextWidgetConfig\n} satisfies DynamicComponentDefinition;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAKa,MAAA,uCAAuC,GAAG;IACrD,EAAE,EAAE,gBAAgB,CAAC,yBAAyB;AAC9C,IAAA,KAAK,EAAE,OAAO,CAAC,aAAa,CAAC;AAC7B,IAAA,WAAW,EAAE,OAAO,CAAC,4CAA4C,CAAC;AAClE,IAAA,aAAa,EAAE,MACb,OAAO,uEAAuE,CAAC,CAAC,IAAI,CAClF,CAAC,IAAI,CAAC,CAAC,kCAAkC,CAC1C;AACH,IAAA,YAAY,EAAE,2CAA2C;AACzD,IAAA,IAAI,EAAE;AACJ,QAAA,QAAQ,EAAE;AACR,YAAA,YAAY,EAAE,KAAK;AACnB,YAAA,cAAc,EAAE;AACd,gBAAA,MAAM,EAAE,EAAE;AACV,gBAAA,OAAO,EAAE,CAAC;AACX,aAAA;AACD,YAAA,GAAG,EAAE;AACH,gBAAA,OAAO,EAAE;AACP,oBAAA,cAAc,EAAE,IAAI;AACpB,oBAAA,gBAAgB,EAAE,KAAK;AACxB,iBAAA;AACF,aAAA;AACF,SAAA;AACqB,KAAA;;;AC5B1B;;AAEG;;;;"}
1
+ {"version":3,"file":"c8y-ngx-components-widgets-definitions-device-management-welcome.mjs","sources":["../../widgets/definitions/device-management-welcome/index.ts","../../widgets/definitions/device-management-welcome/c8y-ngx-components-widgets-definitions-device-management-welcome.ts"],"sourcesContent":["import type { ContextWidgetConfig } from '@c8y/ngx-components/context-dashboard';\nimport type { DynamicWidgetDefinition } from '@c8y/ngx-components';\nimport { gettext } from '@c8y/ngx-components';\nimport { defaultWidgetIds } from '@c8y/ngx-components/widgets/definitions';\n\nexport const deviceManagementWelcomeWidgetDefinition = {\n id: defaultWidgetIds.DEVICE_MANAGEMENT_WELCOME,\n label: gettext('Quick links'),\n description: gettext('Displays quick links for Device Management'),\n loadComponent: () =>\n import('@c8y/ngx-components/widgets/implementations/device-management-welcome').then(\n m => m.WelcomeToDeviceManagementComponent\n ),\n previewImage: 'c8y-style-assets/dm-welcome-widget-pr.png',\n data: {\n settings: {\n noNewWidgets: false,\n widgetDefaults: {\n _width: 12,\n _height: 4\n },\n ng1: {\n options: {\n noDeviceTarget: true,\n groupsSelectable: false\n }\n }\n }\n } as ContextWidgetConfig\n} satisfies DynamicWidgetDefinition;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAKa,MAAA,uCAAuC,GAAG;IACrD,EAAE,EAAE,gBAAgB,CAAC,yBAAyB;AAC9C,IAAA,KAAK,EAAE,OAAO,CAAC,aAAa,CAAC;AAC7B,IAAA,WAAW,EAAE,OAAO,CAAC,4CAA4C,CAAC;AAClE,IAAA,aAAa,EAAE,MACb,OAAO,uEAAuE,CAAC,CAAC,IAAI,CAClF,CAAC,IAAI,CAAC,CAAC,kCAAkC,CAC1C;AACH,IAAA,YAAY,EAAE,2CAA2C;AACzD,IAAA,IAAI,EAAE;AACJ,QAAA,QAAQ,EAAE;AACR,YAAA,YAAY,EAAE,KAAK;AACnB,YAAA,cAAc,EAAE;AACd,gBAAA,MAAM,EAAE,EAAE;AACV,gBAAA,OAAO,EAAE,CAAC;AACX,aAAA;AACD,YAAA,GAAG,EAAE;AACH,gBAAA,OAAO,EAAE;AACP,oBAAA,cAAc,EAAE,IAAI;AACpB,oBAAA,gBAAgB,EAAE,KAAK;AACxB,iBAAA;AACF,aAAA;AACF,SAAA;AACqB,KAAA;;;AC5B1B;;AAEG;;;;"}
@@ -1,4 +1,4 @@
1
- import { gettext, hookComponent } from '@c8y/ngx-components';
1
+ import { gettext, hookWidget } from '@c8y/ngx-components';
2
2
  import { defaultWidgetIds } from '@c8y/ngx-components/widgets/definitions';
3
3
 
4
4
  const helpAndServiceWidgetDefinition = {
@@ -23,7 +23,7 @@ const helpAndServiceWidgetDefinition = {
23
23
  }
24
24
  }
25
25
  };
26
- const helpAndServiceWidgetProviders = [hookComponent(helpAndServiceWidgetDefinition)];
26
+ const helpAndServiceWidgetProviders = [hookWidget(helpAndServiceWidgetDefinition)];
27
27
 
28
28
  /**
29
29
  * Generated bundle index. Do not edit.
@@ -1 +1 @@
1
- {"version":3,"file":"c8y-ngx-components-widgets-definitions-help-and-service.mjs","sources":["../../widgets/definitions/help-and-service/index.ts","../../widgets/definitions/help-and-service/c8y-ngx-components-widgets-definitions-help-and-service.ts"],"sourcesContent":["import type { ContextWidgetConfig } from '@c8y/ngx-components/context-dashboard';\nimport type { DynamicComponentDefinition } from '@c8y/ngx-components';\nimport { gettext, hookComponent } from '@c8y/ngx-components';\nimport { defaultWidgetIds } from '@c8y/ngx-components/widgets/definitions';\n\nexport const helpAndServiceWidgetDefinition = {\n id: defaultWidgetIds.HELP_AND_SERVICE,\n label: gettext('Help and service'),\n description: gettext(`Displays links to help and service resources.`),\n loadComponent: () =>\n import('@c8y/ngx-components/widgets/implementations/help-and-service-widget').then(\n m => m.HelpAndServiceViewComponent\n ),\n previewImage: 'c8y-style-assets/help-and-service-widget-pr.png',\n data: {\n settings: {\n noNewWidgets: false,\n widgetDefaults: {\n _width: 8,\n _height: 4\n },\n ng1: {\n options: {\n noDeviceTarget: true,\n groupsSelectable: false\n }\n }\n }\n } as ContextWidgetConfig\n} satisfies DynamicComponentDefinition;\n\nexport const helpAndServiceWidgetProviders = [hookComponent(helpAndServiceWidgetDefinition)];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAKa,MAAA,8BAA8B,GAAG;IAC5C,EAAE,EAAE,gBAAgB,CAAC,gBAAgB;AACrC,IAAA,KAAK,EAAE,OAAO,CAAC,kBAAkB,CAAC;AAClC,IAAA,WAAW,EAAE,OAAO,CAAC,CAAA,6CAAA,CAA+C,CAAC;AACrE,IAAA,aAAa,EAAE,MACb,OAAO,qEAAqE,CAAC,CAAC,IAAI,CAChF,CAAC,IAAI,CAAC,CAAC,2BAA2B,CACnC;AACH,IAAA,YAAY,EAAE,iDAAiD;AAC/D,IAAA,IAAI,EAAE;AACJ,QAAA,QAAQ,EAAE;AACR,YAAA,YAAY,EAAE,KAAK;AACnB,YAAA,cAAc,EAAE;AACd,gBAAA,MAAM,EAAE,CAAC;AACT,gBAAA,OAAO,EAAE,CAAC;AACX,aAAA;AACD,YAAA,GAAG,EAAE;AACH,gBAAA,OAAO,EAAE;AACP,oBAAA,cAAc,EAAE,IAAI;AACpB,oBAAA,gBAAgB,EAAE,KAAK;AACxB,iBAAA;AACF,aAAA;AACF,SAAA;AACqB,KAAA;EACa;AAE1B,MAAA,6BAA6B,GAAG,CAAC,aAAa,CAAC,8BAA8B,CAAC;;AC/B3F;;AAEG;;;;"}
1
+ {"version":3,"file":"c8y-ngx-components-widgets-definitions-help-and-service.mjs","sources":["../../widgets/definitions/help-and-service/index.ts","../../widgets/definitions/help-and-service/c8y-ngx-components-widgets-definitions-help-and-service.ts"],"sourcesContent":["import type { ContextWidgetConfig } from '@c8y/ngx-components/context-dashboard';\nimport type { DynamicWidgetDefinition } from '@c8y/ngx-components';\nimport { gettext, hookWidget } from '@c8y/ngx-components';\nimport { defaultWidgetIds } from '@c8y/ngx-components/widgets/definitions';\n\nexport const helpAndServiceWidgetDefinition = {\n id: defaultWidgetIds.HELP_AND_SERVICE,\n label: gettext('Help and service'),\n description: gettext(`Displays links to help and service resources.`),\n loadComponent: () =>\n import('@c8y/ngx-components/widgets/implementations/help-and-service-widget').then(\n m => m.HelpAndServiceViewComponent\n ),\n previewImage: 'c8y-style-assets/help-and-service-widget-pr.png',\n data: {\n settings: {\n noNewWidgets: false,\n widgetDefaults: {\n _width: 8,\n _height: 4\n },\n ng1: {\n options: {\n noDeviceTarget: true,\n groupsSelectable: false\n }\n }\n }\n } as ContextWidgetConfig\n} satisfies DynamicWidgetDefinition;\n\nexport const helpAndServiceWidgetProviders = [hookWidget(helpAndServiceWidgetDefinition)];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAKa,MAAA,8BAA8B,GAAG;IAC5C,EAAE,EAAE,gBAAgB,CAAC,gBAAgB;AACrC,IAAA,KAAK,EAAE,OAAO,CAAC,kBAAkB,CAAC;AAClC,IAAA,WAAW,EAAE,OAAO,CAAC,CAAA,6CAAA,CAA+C,CAAC;AACrE,IAAA,aAAa,EAAE,MACb,OAAO,qEAAqE,CAAC,CAAC,IAAI,CAChF,CAAC,IAAI,CAAC,CAAC,2BAA2B,CACnC;AACH,IAAA,YAAY,EAAE,iDAAiD;AAC/D,IAAA,IAAI,EAAE;AACJ,QAAA,QAAQ,EAAE;AACR,YAAA,YAAY,EAAE,KAAK;AACnB,YAAA,cAAc,EAAE;AACd,gBAAA,MAAM,EAAE,CAAC;AACT,gBAAA,OAAO,EAAE,CAAC;AACX,aAAA;AACD,YAAA,GAAG,EAAE;AACH,gBAAA,OAAO,EAAE;AACP,oBAAA,cAAc,EAAE,IAAI;AACpB,oBAAA,gBAAgB,EAAE,KAAK;AACxB,iBAAA;AACF,aAAA;AACF,SAAA;AACqB,KAAA;EACU;AAEvB,MAAA,6BAA6B,GAAG,CAAC,UAAU,CAAC,8BAA8B,CAAC;;AC/BxF;;AAEG;;;;"}
@@ -1,4 +1,4 @@
1
- import { gettext, hookComponent } from '@c8y/ngx-components';
1
+ import { gettext, hookWidget } from '@c8y/ngx-components';
2
2
  import { defaultWidgetIds } from '@c8y/ngx-components/widgets/definitions';
3
3
 
4
4
  const imageWidgetDefinition = {
@@ -24,7 +24,7 @@ const imageWidgetDefinition = {
24
24
  }
25
25
  }
26
26
  };
27
- const imageWidgetProviders = [hookComponent(imageWidgetDefinition)];
27
+ const imageWidgetProviders = [hookWidget(imageWidgetDefinition)];
28
28
 
29
29
  /**
30
30
  * Generated bundle index. Do not edit.
@@ -1 +1 @@
1
- {"version":3,"file":"c8y-ngx-components-widgets-definitions-image.mjs","sources":["../../widgets/definitions/image/index.ts","../../widgets/definitions/image/c8y-ngx-components-widgets-definitions-image.ts"],"sourcesContent":["import type { ContextWidgetConfig } from '@c8y/ngx-components/context-dashboard';\nimport type { DynamicComponentDefinition } from '@c8y/ngx-components';\nimport { gettext, hookComponent } from '@c8y/ngx-components';\nimport { defaultWidgetIds } from '@c8y/ngx-components/widgets/definitions';\n\nexport const imageWidgetDefinition = {\n id: defaultWidgetIds.IMAGE,\n label: gettext('Image'),\n description: gettext(`Display a single image selected from the user's file system.`),\n loadComponent: () =>\n import('@c8y/ngx-components/widgets/implementations/image').then(\n m => m.ImageWidgetViewComponent\n ),\n loadConfigComponent: () =>\n import('@c8y/ngx-components/widgets/implementations/image').then(\n m => m.ImageWidgetConfigComponent\n ),\n previewImage: 'c8y-style-assets/image-widget.png',\n data: {\n settings: {\n noNewWidgets: false,\n widgetDefaults: {\n _width: 8,\n _height: 4\n },\n ng1: {\n options: {\n noDeviceTarget: true,\n groupsSelectable: false\n }\n }\n }\n } as ContextWidgetConfig\n} satisfies DynamicComponentDefinition;\n\nexport const imageWidgetProviders = [hookComponent(imageWidgetDefinition)];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAKa,MAAA,qBAAqB,GAAG;IACnC,EAAE,EAAE,gBAAgB,CAAC,KAAK;AAC1B,IAAA,KAAK,EAAE,OAAO,CAAC,OAAO,CAAC;AACvB,IAAA,WAAW,EAAE,OAAO,CAAC,CAAA,4DAAA,CAA8D,CAAC;AACpF,IAAA,aAAa,EAAE,MACb,OAAO,mDAAmD,CAAC,CAAC,IAAI,CAC9D,CAAC,IAAI,CAAC,CAAC,wBAAwB,CAChC;AACH,IAAA,mBAAmB,EAAE,MACnB,OAAO,mDAAmD,CAAC,CAAC,IAAI,CAC9D,CAAC,IAAI,CAAC,CAAC,0BAA0B,CAClC;AACH,IAAA,YAAY,EAAE,mCAAmC;AACjD,IAAA,IAAI,EAAE;AACJ,QAAA,QAAQ,EAAE;AACR,YAAA,YAAY,EAAE,KAAK;AACnB,YAAA,cAAc,EAAE;AACd,gBAAA,MAAM,EAAE,CAAC;AACT,gBAAA,OAAO,EAAE,CAAC;AACX,aAAA;AACD,YAAA,GAAG,EAAE;AACH,gBAAA,OAAO,EAAE;AACP,oBAAA,cAAc,EAAE,IAAI;AACpB,oBAAA,gBAAgB,EAAE,KAAK;AACxB,iBAAA;AACF,aAAA;AACF,SAAA;AACqB,KAAA;EACa;AAE1B,MAAA,oBAAoB,GAAG,CAAC,aAAa,CAAC,qBAAqB,CAAC;;ACnCzE;;AAEG;;;;"}
1
+ {"version":3,"file":"c8y-ngx-components-widgets-definitions-image.mjs","sources":["../../widgets/definitions/image/index.ts","../../widgets/definitions/image/c8y-ngx-components-widgets-definitions-image.ts"],"sourcesContent":["import type { ContextWidgetConfig } from '@c8y/ngx-components/context-dashboard';\nimport type { DynamicWidgetDefinition } from '@c8y/ngx-components';\nimport { gettext, hookWidget } from '@c8y/ngx-components';\nimport { defaultWidgetIds } from '@c8y/ngx-components/widgets/definitions';\n\nexport const imageWidgetDefinition = {\n id: defaultWidgetIds.IMAGE,\n label: gettext('Image'),\n description: gettext(`Display a single image selected from the user's file system.`),\n loadComponent: () =>\n import('@c8y/ngx-components/widgets/implementations/image').then(\n m => m.ImageWidgetViewComponent\n ),\n loadConfigComponent: () =>\n import('@c8y/ngx-components/widgets/implementations/image').then(\n m => m.ImageWidgetConfigComponent\n ),\n previewImage: 'c8y-style-assets/image-widget.png',\n data: {\n settings: {\n noNewWidgets: false,\n widgetDefaults: {\n _width: 8,\n _height: 4\n },\n ng1: {\n options: {\n noDeviceTarget: true,\n groupsSelectable: false\n }\n }\n }\n } as ContextWidgetConfig\n} satisfies DynamicWidgetDefinition;\n\nexport const imageWidgetProviders = [hookWidget(imageWidgetDefinition)];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAKa,MAAA,qBAAqB,GAAG;IACnC,EAAE,EAAE,gBAAgB,CAAC,KAAK;AAC1B,IAAA,KAAK,EAAE,OAAO,CAAC,OAAO,CAAC;AACvB,IAAA,WAAW,EAAE,OAAO,CAAC,CAAA,4DAAA,CAA8D,CAAC;AACpF,IAAA,aAAa,EAAE,MACb,OAAO,mDAAmD,CAAC,CAAC,IAAI,CAC9D,CAAC,IAAI,CAAC,CAAC,wBAAwB,CAChC;AACH,IAAA,mBAAmB,EAAE,MACnB,OAAO,mDAAmD,CAAC,CAAC,IAAI,CAC9D,CAAC,IAAI,CAAC,CAAC,0BAA0B,CAClC;AACH,IAAA,YAAY,EAAE,mCAAmC;AACjD,IAAA,IAAI,EAAE;AACJ,QAAA,QAAQ,EAAE;AACR,YAAA,YAAY,EAAE,KAAK;AACnB,YAAA,cAAc,EAAE;AACd,gBAAA,MAAM,EAAE,CAAC;AACT,gBAAA,OAAO,EAAE,CAAC;AACX,aAAA;AACD,YAAA,GAAG,EAAE;AACH,gBAAA,OAAO,EAAE;AACP,oBAAA,cAAc,EAAE,IAAI;AACpB,oBAAA,gBAAgB,EAAE,KAAK;AACxB,iBAAA;AACF,aAAA;AACF,SAAA;AACqB,KAAA;EACU;AAEvB,MAAA,oBAAoB,GAAG,CAAC,UAAU,CAAC,qBAAqB,CAAC;;ACnCtE;;AAEG;;;;"}
@@ -1,4 +1,4 @@
1
- import { gettext, DynamicDatapointsResolver, hookComponent } from '@c8y/ngx-components';
1
+ import { gettext, DynamicDatapointsResolver, hookWidget } from '@c8y/ngx-components';
2
2
  import { defaultWidgetIds } from '@c8y/ngx-components/widgets/definitions';
3
3
 
4
4
  const infoGaugeWidgetDefinition = {
@@ -28,7 +28,7 @@ const infoGaugeWidgetDefinition = {
28
28
  }
29
29
  }
30
30
  };
31
- const infoGaugeWidgetProviders = [hookComponent(infoGaugeWidgetDefinition)];
31
+ const infoGaugeWidgetProviders = [hookWidget(infoGaugeWidgetDefinition)];
32
32
 
33
33
  /**
34
34
  * Generated bundle index. Do not edit.
@@ -1 +1 @@
1
- {"version":3,"file":"c8y-ngx-components-widgets-definitions-info-gauge.mjs","sources":["../../widgets/definitions/info-gauge/index.ts","../../widgets/definitions/info-gauge/c8y-ngx-components-widgets-definitions-info-gauge.ts"],"sourcesContent":["import type { ContextWidgetConfig } from '@c8y/ngx-components/context-dashboard';\nimport type { DynamicComponentDefinition } from '@c8y/ngx-components';\nimport { DynamicDatapointsResolver, gettext, hookComponent } from '@c8y/ngx-components';\nimport { defaultWidgetIds } from '@c8y/ngx-components/widgets/definitions';\n\nexport const infoGaugeWidgetDefinition = {\n id: defaultWidgetIds.INFO_GAUGE,\n label: gettext('Info gauge'),\n description: gettext('Radial gauge and multiple label and value pairs for data points'),\n loadComponent: () =>\n import('@c8y/ngx-components/widgets/implementations/info-gauge').then(\n m => m.InfoGaugeWidgetViewComponent\n ),\n loadConfigComponent: () =>\n import('@c8y/ngx-components/widgets/implementations/info-gauge').then(\n m => m.InfoGaugeWidgetConfigComponent\n ),\n previewImage: 'c8y-style-assets/info-gauge-widget-pr.png',\n resolve: {\n datapointsLabels: DynamicDatapointsResolver,\n datapointsGauge: DynamicDatapointsResolver\n },\n data: {\n settings: {\n noNewWidgets: false,\n widgetDefaults: {\n _width: 4,\n _height: 2\n },\n ng1: {\n options: {\n noDeviceTarget: true,\n groupsSelectable: false\n }\n }\n }\n } as ContextWidgetConfig\n} satisfies DynamicComponentDefinition;\n\nexport const infoGaugeWidgetProviders = [hookComponent(infoGaugeWidgetDefinition)];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAKa,MAAA,yBAAyB,GAAG;IACvC,EAAE,EAAE,gBAAgB,CAAC,UAAU;AAC/B,IAAA,KAAK,EAAE,OAAO,CAAC,YAAY,CAAC;AAC5B,IAAA,WAAW,EAAE,OAAO,CAAC,iEAAiE,CAAC;AACvF,IAAA,aAAa,EAAE,MACb,OAAO,wDAAwD,CAAC,CAAC,IAAI,CACnE,CAAC,IAAI,CAAC,CAAC,4BAA4B,CACpC;AACH,IAAA,mBAAmB,EAAE,MACnB,OAAO,wDAAwD,CAAC,CAAC,IAAI,CACnE,CAAC,IAAI,CAAC,CAAC,8BAA8B,CACtC;AACH,IAAA,YAAY,EAAE,2CAA2C;AACzD,IAAA,OAAO,EAAE;AACP,QAAA,gBAAgB,EAAE,yBAAyB;AAC3C,QAAA,eAAe,EAAE,yBAAyB;AAC3C,KAAA;AACD,IAAA,IAAI,EAAE;AACJ,QAAA,QAAQ,EAAE;AACR,YAAA,YAAY,EAAE,KAAK;AACnB,YAAA,cAAc,EAAE;AACd,gBAAA,MAAM,EAAE,CAAC;AACT,gBAAA,OAAO,EAAE,CAAC;AACX,aAAA;AACD,YAAA,GAAG,EAAE;AACH,gBAAA,OAAO,EAAE;AACP,oBAAA,cAAc,EAAE,IAAI;AACpB,oBAAA,gBAAgB,EAAE,KAAK;AACxB,iBAAA;AACF,aAAA;AACF,SAAA;AACqB,KAAA;EACa;AAE1B,MAAA,wBAAwB,GAAG,CAAC,aAAa,CAAC,yBAAyB,CAAC;;ACvCjF;;AAEG;;;;"}
1
+ {"version":3,"file":"c8y-ngx-components-widgets-definitions-info-gauge.mjs","sources":["../../widgets/definitions/info-gauge/index.ts","../../widgets/definitions/info-gauge/c8y-ngx-components-widgets-definitions-info-gauge.ts"],"sourcesContent":["import type { ContextWidgetConfig } from '@c8y/ngx-components/context-dashboard';\nimport type { DynamicWidgetDefinition } from '@c8y/ngx-components';\nimport { DynamicDatapointsResolver, gettext, hookWidget } from '@c8y/ngx-components';\nimport { defaultWidgetIds } from '@c8y/ngx-components/widgets/definitions';\n\nexport const infoGaugeWidgetDefinition = {\n id: defaultWidgetIds.INFO_GAUGE,\n label: gettext('Info gauge'),\n description: gettext('Radial gauge and multiple label and value pairs for data points'),\n loadComponent: () =>\n import('@c8y/ngx-components/widgets/implementations/info-gauge').then(\n m => m.InfoGaugeWidgetViewComponent\n ),\n loadConfigComponent: () =>\n import('@c8y/ngx-components/widgets/implementations/info-gauge').then(\n m => m.InfoGaugeWidgetConfigComponent\n ),\n previewImage: 'c8y-style-assets/info-gauge-widget-pr.png',\n resolve: {\n datapointsLabels: DynamicDatapointsResolver,\n datapointsGauge: DynamicDatapointsResolver\n },\n data: {\n settings: {\n noNewWidgets: false,\n widgetDefaults: {\n _width: 4,\n _height: 2\n },\n ng1: {\n options: {\n noDeviceTarget: true,\n groupsSelectable: false\n }\n }\n }\n } as ContextWidgetConfig\n} satisfies DynamicWidgetDefinition;\n\nexport const infoGaugeWidgetProviders = [hookWidget(infoGaugeWidgetDefinition)];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAKa,MAAA,yBAAyB,GAAG;IACvC,EAAE,EAAE,gBAAgB,CAAC,UAAU;AAC/B,IAAA,KAAK,EAAE,OAAO,CAAC,YAAY,CAAC;AAC5B,IAAA,WAAW,EAAE,OAAO,CAAC,iEAAiE,CAAC;AACvF,IAAA,aAAa,EAAE,MACb,OAAO,wDAAwD,CAAC,CAAC,IAAI,CACnE,CAAC,IAAI,CAAC,CAAC,4BAA4B,CACpC;AACH,IAAA,mBAAmB,EAAE,MACnB,OAAO,wDAAwD,CAAC,CAAC,IAAI,CACnE,CAAC,IAAI,CAAC,CAAC,8BAA8B,CACtC;AACH,IAAA,YAAY,EAAE,2CAA2C;AACzD,IAAA,OAAO,EAAE;AACP,QAAA,gBAAgB,EAAE,yBAAyB;AAC3C,QAAA,eAAe,EAAE,yBAAyB;AAC3C,KAAA;AACD,IAAA,IAAI,EAAE;AACJ,QAAA,QAAQ,EAAE;AACR,YAAA,YAAY,EAAE,KAAK;AACnB,YAAA,cAAc,EAAE;AACd,gBAAA,MAAM,EAAE,CAAC;AACT,gBAAA,OAAO,EAAE,CAAC;AACX,aAAA;AACD,YAAA,GAAG,EAAE;AACH,gBAAA,OAAO,EAAE;AACP,oBAAA,cAAc,EAAE,IAAI;AACpB,oBAAA,gBAAgB,EAAE,KAAK;AACxB,iBAAA;AACF,aAAA;AACF,SAAA;AACqB,KAAA;EACU;AAEvB,MAAA,wBAAwB,GAAG,CAAC,UAAU,CAAC,yBAAyB,CAAC;;ACvC9E;;AAEG;;;;"}
@@ -1,4 +1,4 @@
1
- import { gettext, DynamicDatapointsResolver, hookComponent } from '@c8y/ngx-components';
1
+ import { gettext, DynamicDatapointsResolver, hookWidget } from '@c8y/ngx-components';
2
2
  import { defaultWidgetIds } from '@c8y/ngx-components/widgets/definitions';
3
3
 
4
4
  const kpiWidgetDefinition = {
@@ -27,7 +27,7 @@ const kpiWidgetDefinition = {
27
27
  }
28
28
  }
29
29
  };
30
- const kpiWidgetProviders = [hookComponent(kpiWidgetDefinition)];
30
+ const kpiWidgetProviders = [hookWidget(kpiWidgetDefinition)];
31
31
 
32
32
  /**
33
33
  * Generated bundle index. Do not edit.
@@ -1 +1 @@
1
- {"version":3,"file":"c8y-ngx-components-widgets-definitions-kpi.mjs","sources":["../../widgets/definitions/kpi/index.ts","../../widgets/definitions/kpi/c8y-ngx-components-widgets-definitions-kpi.ts"],"sourcesContent":["import type { ContextWidgetConfig } from '@c8y/ngx-components/context-dashboard';\nimport type { DynamicComponentDefinition } from '@c8y/ngx-components';\nimport { DynamicDatapointsResolver, gettext, hookComponent } from '@c8y/ngx-components';\nimport { defaultWidgetIds } from '@c8y/ngx-components/widgets/definitions';\n\nexport const kpiWidgetDefinition = {\n id: defaultWidgetIds.KPI,\n label: gettext('KPI'),\n description: gettext('Displays the last measurement value of a device.'),\n loadComponent: () =>\n import('@c8y/ngx-components/widgets/implementations/kpi').then(m => m.KpiWidgetViewComponent),\n loadConfigComponent: () =>\n import('@c8y/ngx-components/widgets/implementations/kpi').then(m => m.KpiWidgetConfigComponent),\n previewImage: 'c8y-style-assets/kpi-widget.png',\n resolve: {\n datapoints: DynamicDatapointsResolver\n },\n data: {\n settings: {\n noNewWidgets: false,\n widgetDefaults: {\n _width: 4,\n _height: 2\n },\n ng1: {\n options: {\n noDeviceTarget: true,\n groupsSelectable: false\n }\n }\n }\n } as ContextWidgetConfig\n} satisfies DynamicComponentDefinition;\n\nexport const kpiWidgetProviders = [hookComponent(kpiWidgetDefinition)];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAKa,MAAA,mBAAmB,GAAG;IACjC,EAAE,EAAE,gBAAgB,CAAC,GAAG;AACxB,IAAA,KAAK,EAAE,OAAO,CAAC,KAAK,CAAC;AACrB,IAAA,WAAW,EAAE,OAAO,CAAC,kDAAkD,CAAC;AACxE,IAAA,aAAa,EAAE,MACb,OAAO,iDAAiD,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,CAAC,sBAAsB,CAAC;AAC/F,IAAA,mBAAmB,EAAE,MACnB,OAAO,iDAAiD,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,CAAC,wBAAwB,CAAC;AACjG,IAAA,YAAY,EAAE,iCAAiC;AAC/C,IAAA,OAAO,EAAE;AACP,QAAA,UAAU,EAAE,yBAAyB;AACtC,KAAA;AACD,IAAA,IAAI,EAAE;AACJ,QAAA,QAAQ,EAAE;AACR,YAAA,YAAY,EAAE,KAAK;AACnB,YAAA,cAAc,EAAE;AACd,gBAAA,MAAM,EAAE,CAAC;AACT,gBAAA,OAAO,EAAE,CAAC;AACX,aAAA;AACD,YAAA,GAAG,EAAE;AACH,gBAAA,OAAO,EAAE;AACP,oBAAA,cAAc,EAAE,IAAI;AACpB,oBAAA,gBAAgB,EAAE,KAAK;AACxB,iBAAA;AACF,aAAA;AACF,SAAA;AACqB,KAAA;EACa;AAE1B,MAAA,kBAAkB,GAAG,CAAC,aAAa,CAAC,mBAAmB,CAAC;;AClCrE;;AAEG;;;;"}
1
+ {"version":3,"file":"c8y-ngx-components-widgets-definitions-kpi.mjs","sources":["../../widgets/definitions/kpi/index.ts","../../widgets/definitions/kpi/c8y-ngx-components-widgets-definitions-kpi.ts"],"sourcesContent":["import type { ContextWidgetConfig } from '@c8y/ngx-components/context-dashboard';\nimport type { DynamicWidgetDefinition } from '@c8y/ngx-components';\nimport { DynamicDatapointsResolver, gettext, hookWidget } from '@c8y/ngx-components';\nimport { defaultWidgetIds } from '@c8y/ngx-components/widgets/definitions';\n\nexport const kpiWidgetDefinition = {\n id: defaultWidgetIds.KPI,\n label: gettext('KPI'),\n description: gettext('Displays the last measurement value of a device.'),\n loadComponent: () =>\n import('@c8y/ngx-components/widgets/implementations/kpi').then(m => m.KpiWidgetViewComponent),\n loadConfigComponent: () =>\n import('@c8y/ngx-components/widgets/implementations/kpi').then(m => m.KpiWidgetConfigComponent),\n previewImage: 'c8y-style-assets/kpi-widget.png',\n resolve: {\n datapoints: DynamicDatapointsResolver\n },\n data: {\n settings: {\n noNewWidgets: false,\n widgetDefaults: {\n _width: 4,\n _height: 2\n },\n ng1: {\n options: {\n noDeviceTarget: true,\n groupsSelectable: false\n }\n }\n }\n } as ContextWidgetConfig\n} satisfies DynamicWidgetDefinition;\n\nexport const kpiWidgetProviders = [hookWidget(kpiWidgetDefinition)];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAKa,MAAA,mBAAmB,GAAG;IACjC,EAAE,EAAE,gBAAgB,CAAC,GAAG;AACxB,IAAA,KAAK,EAAE,OAAO,CAAC,KAAK,CAAC;AACrB,IAAA,WAAW,EAAE,OAAO,CAAC,kDAAkD,CAAC;AACxE,IAAA,aAAa,EAAE,MACb,OAAO,iDAAiD,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,CAAC,sBAAsB,CAAC;AAC/F,IAAA,mBAAmB,EAAE,MACnB,OAAO,iDAAiD,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,CAAC,wBAAwB,CAAC;AACjG,IAAA,YAAY,EAAE,iCAAiC;AAC/C,IAAA,OAAO,EAAE;AACP,QAAA,UAAU,EAAE,yBAAyB;AACtC,KAAA;AACD,IAAA,IAAI,EAAE;AACJ,QAAA,QAAQ,EAAE;AACR,YAAA,YAAY,EAAE,KAAK;AACnB,YAAA,cAAc,EAAE;AACd,gBAAA,MAAM,EAAE,CAAC;AACT,gBAAA,OAAO,EAAE,CAAC;AACX,aAAA;AACD,YAAA,GAAG,EAAE;AACH,gBAAA,OAAO,EAAE;AACP,oBAAA,cAAc,EAAE,IAAI;AACpB,oBAAA,gBAAgB,EAAE,KAAK;AACxB,iBAAA;AACF,aAAA;AACF,SAAA;AACqB,KAAA;EACU;AAEvB,MAAA,kBAAkB,GAAG,CAAC,UAAU,CAAC,mBAAmB,CAAC;;AClClE;;AAEG;;;;"}
@@ -1,4 +1,4 @@
1
- import { gettext, DynamicManagedObjectResolver, hookComponent } from '@c8y/ngx-components';
1
+ import { gettext, DynamicManagedObjectResolver, hookWidget } from '@c8y/ngx-components';
2
2
  import { defaultWidgetIds } from '@c8y/ngx-components/widgets/definitions';
3
3
 
4
4
  const mapWidgetDefinition = {
@@ -35,7 +35,7 @@ const mapWidgetDefinition = {
35
35
  }
36
36
  }
37
37
  };
38
- const mapWidgetProviders = [hookComponent(mapWidgetDefinition)];
38
+ const mapWidgetProviders = [hookWidget(mapWidgetDefinition)];
39
39
 
40
40
  /**
41
41
  * Generated bundle index. Do not edit.
@@ -1 +1 @@
1
- {"version":3,"file":"c8y-ngx-components-widgets-definitions-map.mjs","sources":["../../widgets/definitions/map/index.ts","../../widgets/definitions/map/c8y-ngx-components-widgets-definitions-map.ts"],"sourcesContent":["import type { ContextWidgetConfig } from '@c8y/ngx-components/context-dashboard';\nimport type { DynamicComponentDefinition } from '@c8y/ngx-components';\nimport { DynamicManagedObjectResolver, gettext, hookComponent } from '@c8y/ngx-components';\nimport { defaultWidgetIds } from '@c8y/ngx-components/widgets/definitions';\n\nexport const mapWidgetDefinition = {\n id: defaultWidgetIds.MAP,\n label: gettext('Map'),\n description: gettext('Shows the position of a device or all devices in a group.'),\n loadComponent: () =>\n import('@c8y/ngx-components/widgets/implementations/map').then(m => m.MapWidgetComponent),\n loadConfigComponent: () =>\n import('@c8y/ngx-components/widgets/implementations/map').then(m => m.MapWidgetConfigComponent),\n /*providers: [\n\n ],*/\n resolve: {\n device: DynamicManagedObjectResolver\n },\n previewImage: 'c8y-style-assets/map-widget-pr.png',\n data: {\n settings: {\n noNewWidgets: false,\n widgetDefaults: {\n _width: 8,\n _height: 4\n },\n ng1: {\n options: {\n noDeviceTarget: false,\n groupsSelectable: true,\n deviceTargetNotRequired: true\n }\n }\n },\n displaySettings: {\n globalTimeContext: false,\n globalRealtimeContext: true\n }\n } as ContextWidgetConfig\n} satisfies DynamicComponentDefinition;\n\nexport const mapWidgetProviders = [hookComponent(mapWidgetDefinition)];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAKa,MAAA,mBAAmB,GAAG;IACjC,EAAE,EAAE,gBAAgB,CAAC,GAAG;AACxB,IAAA,KAAK,EAAE,OAAO,CAAC,KAAK,CAAC;AACrB,IAAA,WAAW,EAAE,OAAO,CAAC,2DAA2D,CAAC;AACjF,IAAA,aAAa,EAAE,MACb,OAAO,iDAAiD,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,CAAC,kBAAkB,CAAC;AAC3F,IAAA,mBAAmB,EAAE,MACnB,OAAO,iDAAiD,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,CAAC,wBAAwB,CAAC;AACjG;;AAEI;AACJ,IAAA,OAAO,EAAE;AACP,QAAA,MAAM,EAAE,4BAA4B;AACrC,KAAA;AACD,IAAA,YAAY,EAAE,oCAAoC;AAClD,IAAA,IAAI,EAAE;AACJ,QAAA,QAAQ,EAAE;AACR,YAAA,YAAY,EAAE,KAAK;AACnB,YAAA,cAAc,EAAE;AACd,gBAAA,MAAM,EAAE,CAAC;AACT,gBAAA,OAAO,EAAE,CAAC;AACX,aAAA;AACD,YAAA,GAAG,EAAE;AACH,gBAAA,OAAO,EAAE;AACP,oBAAA,cAAc,EAAE,KAAK;AACrB,oBAAA,gBAAgB,EAAE,IAAI;AACtB,oBAAA,uBAAuB,EAAE,IAAI;AAC9B,iBAAA;AACF,aAAA;AACF,SAAA;AACD,QAAA,eAAe,EAAE;AACf,YAAA,iBAAiB,EAAE,KAAK;AACxB,YAAA,qBAAqB,EAAE,IAAI;AAC5B,SAAA;AACqB,KAAA;EACa;AAE1B,MAAA,kBAAkB,GAAG,CAAC,aAAa,CAAC,mBAAmB,CAAC;;AC1CrE;;AAEG;;;;"}
1
+ {"version":3,"file":"c8y-ngx-components-widgets-definitions-map.mjs","sources":["../../widgets/definitions/map/index.ts","../../widgets/definitions/map/c8y-ngx-components-widgets-definitions-map.ts"],"sourcesContent":["import type { ContextWidgetConfig } from '@c8y/ngx-components/context-dashboard';\nimport type { DynamicWidgetDefinition } from '@c8y/ngx-components';\nimport { DynamicManagedObjectResolver, gettext, hookWidget } from '@c8y/ngx-components';\nimport { defaultWidgetIds } from '@c8y/ngx-components/widgets/definitions';\n\nexport const mapWidgetDefinition = {\n id: defaultWidgetIds.MAP,\n label: gettext('Map'),\n description: gettext('Shows the position of a device or all devices in a group.'),\n loadComponent: () =>\n import('@c8y/ngx-components/widgets/implementations/map').then(m => m.MapWidgetComponent),\n loadConfigComponent: () =>\n import('@c8y/ngx-components/widgets/implementations/map').then(m => m.MapWidgetConfigComponent),\n /*providers: [\n\n ],*/\n resolve: {\n device: DynamicManagedObjectResolver\n },\n previewImage: 'c8y-style-assets/map-widget-pr.png',\n data: {\n settings: {\n noNewWidgets: false,\n widgetDefaults: {\n _width: 8,\n _height: 4\n },\n ng1: {\n options: {\n noDeviceTarget: false,\n groupsSelectable: true,\n deviceTargetNotRequired: true\n }\n }\n },\n displaySettings: {\n globalTimeContext: false,\n globalRealtimeContext: true\n }\n } as ContextWidgetConfig\n} satisfies DynamicWidgetDefinition;\n\nexport const mapWidgetProviders = [hookWidget(mapWidgetDefinition)];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAKa,MAAA,mBAAmB,GAAG;IACjC,EAAE,EAAE,gBAAgB,CAAC,GAAG;AACxB,IAAA,KAAK,EAAE,OAAO,CAAC,KAAK,CAAC;AACrB,IAAA,WAAW,EAAE,OAAO,CAAC,2DAA2D,CAAC;AACjF,IAAA,aAAa,EAAE,MACb,OAAO,iDAAiD,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,CAAC,kBAAkB,CAAC;AAC3F,IAAA,mBAAmB,EAAE,MACnB,OAAO,iDAAiD,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,CAAC,wBAAwB,CAAC;AACjG;;AAEI;AACJ,IAAA,OAAO,EAAE;AACP,QAAA,MAAM,EAAE,4BAA4B;AACrC,KAAA;AACD,IAAA,YAAY,EAAE,oCAAoC;AAClD,IAAA,IAAI,EAAE;AACJ,QAAA,QAAQ,EAAE;AACR,YAAA,YAAY,EAAE,KAAK;AACnB,YAAA,cAAc,EAAE;AACd,gBAAA,MAAM,EAAE,CAAC;AACT,gBAAA,OAAO,EAAE,CAAC;AACX,aAAA;AACD,YAAA,GAAG,EAAE;AACH,gBAAA,OAAO,EAAE;AACP,oBAAA,cAAc,EAAE,KAAK;AACrB,oBAAA,gBAAgB,EAAE,IAAI;AACtB,oBAAA,uBAAuB,EAAE,IAAI;AAC9B,iBAAA;AACF,aAAA;AACF,SAAA;AACD,QAAA,eAAe,EAAE;AACf,YAAA,iBAAiB,EAAE,KAAK;AACxB,YAAA,qBAAqB,EAAE,IAAI;AAC5B,SAAA;AACqB,KAAA;EACU;AAEvB,MAAA,kBAAkB,GAAG,CAAC,UAAU,CAAC,mBAAmB,CAAC;;AC1ClE;;AAEG;;;;"}
@@ -1,4 +1,4 @@
1
- import { gettext, hookComponent } from '@c8y/ngx-components';
1
+ import { gettext, hookWidget } from '@c8y/ngx-components';
2
2
  import { defaultWidgetIds } from '@c8y/ngx-components/widgets/definitions';
3
3
 
4
4
  const markdownWidgetDefinition = {
@@ -24,7 +24,7 @@ const markdownWidgetDefinition = {
24
24
  }
25
25
  }
26
26
  };
27
- const markdownWidgetProviders = [hookComponent(markdownWidgetDefinition)];
27
+ const markdownWidgetProviders = [hookWidget(markdownWidgetDefinition)];
28
28
 
29
29
  /**
30
30
  * Generated bundle index. Do not edit.
@@ -1 +1 @@
1
- {"version":3,"file":"c8y-ngx-components-widgets-definitions-markdown.mjs","sources":["../../widgets/definitions/markdown/index.ts","../../widgets/definitions/markdown/c8y-ngx-components-widgets-definitions-markdown.ts"],"sourcesContent":["import type { ContextWidgetConfig } from '@c8y/ngx-components/context-dashboard';\nimport type { DynamicComponentDefinition } from '@c8y/ngx-components';\nimport { gettext, hookComponent } from '@c8y/ngx-components';\nimport { defaultWidgetIds } from '@c8y/ngx-components/widgets/definitions';\n\nexport const markdownWidgetDefinition = {\n id: defaultWidgetIds.MARKDOWN,\n label: gettext('Markdown widget'),\n description: gettext(\n 'Display content provided as Markdown. You can either upload a file, or provide a file path.'\n ),\n loadComponent: () =>\n import('@c8y/ngx-components/widgets/implementations/markdown').then(\n m => m.MarkdownWidgetViewComponent\n ),\n loadConfigComponent: () =>\n import('@c8y/ngx-components/widgets/implementations/markdown').then(\n m => m.MarkdownWidgetConfigComponent\n ),\n previewImage: 'c8y-style-assets/markdown-widget.png',\n data: {\n settings: {\n noNewWidgets: false,\n widgetDefaults: {\n _width: 8,\n _height: 4\n },\n ng1: {\n options: {\n noDeviceTarget: true,\n groupsSelectable: false\n }\n }\n }\n } as ContextWidgetConfig\n} satisfies DynamicComponentDefinition;\n\nexport const markdownWidgetProviders = [hookComponent(markdownWidgetDefinition)];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAKa,MAAA,wBAAwB,GAAG;IACtC,EAAE,EAAE,gBAAgB,CAAC,QAAQ;AAC7B,IAAA,KAAK,EAAE,OAAO,CAAC,iBAAiB,CAAC;AACjC,IAAA,WAAW,EAAE,OAAO,CAClB,6FAA6F,CAC9F;AACD,IAAA,aAAa,EAAE,MACb,OAAO,sDAAsD,CAAC,CAAC,IAAI,CACjE,CAAC,IAAI,CAAC,CAAC,2BAA2B,CACnC;AACH,IAAA,mBAAmB,EAAE,MACnB,OAAO,sDAAsD,CAAC,CAAC,IAAI,CACjE,CAAC,IAAI,CAAC,CAAC,6BAA6B,CACrC;AACH,IAAA,YAAY,EAAE,sCAAsC;AACpD,IAAA,IAAI,EAAE;AACJ,QAAA,QAAQ,EAAE;AACR,YAAA,YAAY,EAAE,KAAK;AACnB,YAAA,cAAc,EAAE;AACd,gBAAA,MAAM,EAAE,CAAC;AACT,gBAAA,OAAO,EAAE,CAAC;AACX,aAAA;AACD,YAAA,GAAG,EAAE;AACH,gBAAA,OAAO,EAAE;AACP,oBAAA,cAAc,EAAE,IAAI;AACpB,oBAAA,gBAAgB,EAAE,KAAK;AACxB,iBAAA;AACF,aAAA;AACF,SAAA;AACqB,KAAA;EACa;AAE1B,MAAA,uBAAuB,GAAG,CAAC,aAAa,CAAC,wBAAwB,CAAC;;ACrC/E;;AAEG;;;;"}
1
+ {"version":3,"file":"c8y-ngx-components-widgets-definitions-markdown.mjs","sources":["../../widgets/definitions/markdown/index.ts","../../widgets/definitions/markdown/c8y-ngx-components-widgets-definitions-markdown.ts"],"sourcesContent":["import type { ContextWidgetConfig } from '@c8y/ngx-components/context-dashboard';\nimport type { DynamicWidgetDefinition } from '@c8y/ngx-components';\nimport { gettext, hookWidget } from '@c8y/ngx-components';\nimport { defaultWidgetIds } from '@c8y/ngx-components/widgets/definitions';\n\nexport const markdownWidgetDefinition = {\n id: defaultWidgetIds.MARKDOWN,\n label: gettext('Markdown widget'),\n description: gettext(\n 'Display content provided as Markdown. You can either upload a file, or provide a file path.'\n ),\n loadComponent: () =>\n import('@c8y/ngx-components/widgets/implementations/markdown').then(\n m => m.MarkdownWidgetViewComponent\n ),\n loadConfigComponent: () =>\n import('@c8y/ngx-components/widgets/implementations/markdown').then(\n m => m.MarkdownWidgetConfigComponent\n ),\n previewImage: 'c8y-style-assets/markdown-widget.png',\n data: {\n settings: {\n noNewWidgets: false,\n widgetDefaults: {\n _width: 8,\n _height: 4\n },\n ng1: {\n options: {\n noDeviceTarget: true,\n groupsSelectable: false\n }\n }\n }\n } as ContextWidgetConfig\n} satisfies DynamicWidgetDefinition;\n\nexport const markdownWidgetProviders = [hookWidget(markdownWidgetDefinition)];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAKa,MAAA,wBAAwB,GAAG;IACtC,EAAE,EAAE,gBAAgB,CAAC,QAAQ;AAC7B,IAAA,KAAK,EAAE,OAAO,CAAC,iBAAiB,CAAC;AACjC,IAAA,WAAW,EAAE,OAAO,CAClB,6FAA6F,CAC9F;AACD,IAAA,aAAa,EAAE,MACb,OAAO,sDAAsD,CAAC,CAAC,IAAI,CACjE,CAAC,IAAI,CAAC,CAAC,2BAA2B,CACnC;AACH,IAAA,mBAAmB,EAAE,MACnB,OAAO,sDAAsD,CAAC,CAAC,IAAI,CACjE,CAAC,IAAI,CAAC,CAAC,6BAA6B,CACrC;AACH,IAAA,YAAY,EAAE,sCAAsC;AACpD,IAAA,IAAI,EAAE;AACJ,QAAA,QAAQ,EAAE;AACR,YAAA,YAAY,EAAE,KAAK;AACnB,YAAA,cAAc,EAAE;AACd,gBAAA,MAAM,EAAE,CAAC;AACT,gBAAA,OAAO,EAAE,CAAC;AACX,aAAA;AACD,YAAA,GAAG,EAAE;AACH,gBAAA,OAAO,EAAE;AACP,oBAAA,cAAc,EAAE,IAAI;AACpB,oBAAA,gBAAgB,EAAE,KAAK;AACxB,iBAAA;AACF,aAAA;AACF,SAAA;AACqB,KAAA;EACU;AAEvB,MAAA,uBAAuB,GAAG,CAAC,UAAU,CAAC,wBAAwB,CAAC;;ACrC5E;;AAEG;;;;"}
@@ -1,4 +1,4 @@
1
- import { gettext, hookComponent } from '@c8y/ngx-components';
1
+ import { gettext, hookWidget } from '@c8y/ngx-components';
2
2
  import { defaultWidgetIds } from '@c8y/ngx-components/widgets/definitions';
3
3
 
4
4
  const threeDRotationWidgetDefinition = {
@@ -24,7 +24,7 @@ const threeDRotationWidgetDefinition = {
24
24
  }
25
25
  }
26
26
  };
27
- const threeDRotationWidgetProviders = [hookComponent(threeDRotationWidgetDefinition)];
27
+ const threeDRotationWidgetProviders = [hookWidget(threeDRotationWidgetDefinition)];
28
28
 
29
29
  /**
30
30
  * Generated bundle index. Do not edit.
@@ -1 +1 @@
1
- {"version":3,"file":"c8y-ngx-components-widgets-definitions-three-d-rotation.mjs","sources":["../../widgets/definitions/three-d-rotation/index.ts","../../widgets/definitions/three-d-rotation/c8y-ngx-components-widgets-definitions-three-d-rotation.ts"],"sourcesContent":["import type { ContextWidgetConfig } from '@c8y/ngx-components/context-dashboard';\nimport type { DynamicComponentDefinition } from '@c8y/ngx-components';\nimport { gettext, hookComponent } from '@c8y/ngx-components';\nimport { defaultWidgetIds } from '@c8y/ngx-components/widgets/definitions';\n\nexport const threeDRotationWidgetDefinition = {\n id: defaultWidgetIds.THREE_D_ROTATION,\n label: gettext('Rotation widget'),\n description: gettext('Displays current device orientation'),\n loadComponent: () =>\n import('@c8y/ngx-components/widgets/implementations/three-d-rotation').then(\n m => m.ThreeDRotationWidgetViewComponent\n ),\n loadConfigComponent: () =>\n import('@c8y/ngx-components/widgets/implementations/three-d-rotation').then(\n m => m.ThreeDRotationWidgetConfigComponent\n ),\n previewImage: 'c8y-style-assets/rotation-widget-pr.png',\n data: {\n settings: {\n noNewWidgets: false,\n widgetDefaults: {\n _width: 8,\n _height: 4\n },\n ng1: {\n options: {\n noDeviceTarget: false,\n groupsSelectable: false\n }\n }\n }\n } as ContextWidgetConfig\n} satisfies DynamicComponentDefinition;\n\nexport const threeDRotationWidgetProviders = [hookComponent(threeDRotationWidgetDefinition)];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAKa,MAAA,8BAA8B,GAAG;IAC5C,EAAE,EAAE,gBAAgB,CAAC,gBAAgB;AACrC,IAAA,KAAK,EAAE,OAAO,CAAC,iBAAiB,CAAC;AACjC,IAAA,WAAW,EAAE,OAAO,CAAC,qCAAqC,CAAC;AAC3D,IAAA,aAAa,EAAE,MACb,OAAO,8DAA8D,CAAC,CAAC,IAAI,CACzE,CAAC,IAAI,CAAC,CAAC,iCAAiC,CACzC;AACH,IAAA,mBAAmB,EAAE,MACnB,OAAO,8DAA8D,CAAC,CAAC,IAAI,CACzE,CAAC,IAAI,CAAC,CAAC,mCAAmC,CAC3C;AACH,IAAA,YAAY,EAAE,yCAAyC;AACvD,IAAA,IAAI,EAAE;AACJ,QAAA,QAAQ,EAAE;AACR,YAAA,YAAY,EAAE,KAAK;AACnB,YAAA,cAAc,EAAE;AACd,gBAAA,MAAM,EAAE,CAAC;AACT,gBAAA,OAAO,EAAE,CAAC;AACX,aAAA;AACD,YAAA,GAAG,EAAE;AACH,gBAAA,OAAO,EAAE;AACP,oBAAA,cAAc,EAAE,KAAK;AACrB,oBAAA,gBAAgB,EAAE,KAAK;AACxB,iBAAA;AACF,aAAA;AACF,SAAA;AACqB,KAAA;EACa;AAE1B,MAAA,6BAA6B,GAAG,CAAC,aAAa,CAAC,8BAA8B,CAAC;;ACnC3F;;AAEG;;;;"}
1
+ {"version":3,"file":"c8y-ngx-components-widgets-definitions-three-d-rotation.mjs","sources":["../../widgets/definitions/three-d-rotation/index.ts","../../widgets/definitions/three-d-rotation/c8y-ngx-components-widgets-definitions-three-d-rotation.ts"],"sourcesContent":["import type { ContextWidgetConfig } from '@c8y/ngx-components/context-dashboard';\nimport type { DynamicWidgetDefinition } from '@c8y/ngx-components';\nimport { gettext, hookWidget } from '@c8y/ngx-components';\nimport { defaultWidgetIds } from '@c8y/ngx-components/widgets/definitions';\n\nexport const threeDRotationWidgetDefinition = {\n id: defaultWidgetIds.THREE_D_ROTATION,\n label: gettext('Rotation widget'),\n description: gettext('Displays current device orientation'),\n loadComponent: () =>\n import('@c8y/ngx-components/widgets/implementations/three-d-rotation').then(\n m => m.ThreeDRotationWidgetViewComponent\n ),\n loadConfigComponent: () =>\n import('@c8y/ngx-components/widgets/implementations/three-d-rotation').then(\n m => m.ThreeDRotationWidgetConfigComponent\n ),\n previewImage: 'c8y-style-assets/rotation-widget-pr.png',\n data: {\n settings: {\n noNewWidgets: false,\n widgetDefaults: {\n _width: 8,\n _height: 4\n },\n ng1: {\n options: {\n noDeviceTarget: false,\n groupsSelectable: false\n }\n }\n }\n } as ContextWidgetConfig\n} satisfies DynamicWidgetDefinition;\n\nexport const threeDRotationWidgetProviders = [hookWidget(threeDRotationWidgetDefinition)];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAKa,MAAA,8BAA8B,GAAG;IAC5C,EAAE,EAAE,gBAAgB,CAAC,gBAAgB;AACrC,IAAA,KAAK,EAAE,OAAO,CAAC,iBAAiB,CAAC;AACjC,IAAA,WAAW,EAAE,OAAO,CAAC,qCAAqC,CAAC;AAC3D,IAAA,aAAa,EAAE,MACb,OAAO,8DAA8D,CAAC,CAAC,IAAI,CACzE,CAAC,IAAI,CAAC,CAAC,iCAAiC,CACzC;AACH,IAAA,mBAAmB,EAAE,MACnB,OAAO,8DAA8D,CAAC,CAAC,IAAI,CACzE,CAAC,IAAI,CAAC,CAAC,mCAAmC,CAC3C;AACH,IAAA,YAAY,EAAE,yCAAyC;AACvD,IAAA,IAAI,EAAE;AACJ,QAAA,QAAQ,EAAE;AACR,YAAA,YAAY,EAAE,KAAK;AACnB,YAAA,cAAc,EAAE;AACd,gBAAA,MAAM,EAAE,CAAC;AACT,gBAAA,OAAO,EAAE,CAAC;AACX,aAAA;AACD,YAAA,GAAG,EAAE;AACH,gBAAA,OAAO,EAAE;AACP,oBAAA,cAAc,EAAE,KAAK;AACrB,oBAAA,gBAAgB,EAAE,KAAK;AACxB,iBAAA;AACF,aAAA;AACF,SAAA;AACqB,KAAA;EACU;AAEvB,MAAA,6BAA6B,GAAG,CAAC,UAAU,CAAC,8BAA8B,CAAC;;ACnCxF;;AAEG;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"c8y-ngx-components-widgets-device-management.mjs","sources":["../../widgets/device-management/index.ts","../../widgets/device-management/c8y-ngx-components-widgets-device-management.ts"],"sourcesContent":["import { ModuleWithProviders } from '@angular/core';\nimport type { DynamicComponentDefinition } from '@c8y/ngx-components';\nimport { WidgetsModule } from '@c8y/ngx-components/widgets';\nimport { deviceManagementWelcomeWidgetDefinition } from '@c8y/ngx-components/widgets/definitions/device-management-welcome';\n\nexport const deviceManagementDefaultWidgets = [\n deviceManagementWelcomeWidgetDefinition\n] satisfies DynamicComponentDefinition[];\n\n/**\n * Widgets module to be imported in your app module. The exclude list allows to exclude certain widgets.\n * Calls `WidgetsModule.config` under the hood with the `deviceManagementDefaultWidgets`.\n * ***\n * NOTE:\n * The excluded widgets will still be part of your bundle.\n * But as they are lazy loaded should not increase loading duration.\n * ***\n * @param excludeList allows to exclude specific widgets by their id.\n * @returns An empty module with some providers.\n */\nexport function deviceManagementWidgets(\n excludeList?: Array<(typeof deviceManagementDefaultWidgets)[number]['id']>\n): ModuleWithProviders<WidgetsModule> {\n return WidgetsModule.config({ widgets: deviceManagementDefaultWidgets, excludeList });\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAKa,MAAA,8BAA8B,GAAG;IAC5C,uCAAuC;EACA;AAEzC;;;;;;;;;;AAUG;AACG,SAAU,uBAAuB,CACrC,WAA0E,EAAA;AAE1E,IAAA,OAAO,aAAa,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,8BAA8B,EAAE,WAAW,EAAE,CAAC,CAAC;AACxF;;ACxBA;;AAEG;;;;"}
1
+ {"version":3,"file":"c8y-ngx-components-widgets-device-management.mjs","sources":["../../widgets/device-management/index.ts","../../widgets/device-management/c8y-ngx-components-widgets-device-management.ts"],"sourcesContent":["import { ModuleWithProviders } from '@angular/core';\nimport type { DynamicWidgetDefinition } from '@c8y/ngx-components';\nimport { WidgetsModule } from '@c8y/ngx-components/widgets';\nimport { deviceManagementWelcomeWidgetDefinition } from '@c8y/ngx-components/widgets/definitions/device-management-welcome';\n\nexport const deviceManagementDefaultWidgets = [\n deviceManagementWelcomeWidgetDefinition\n] satisfies DynamicWidgetDefinition[];\n\n/**\n * Widgets module to be imported in your app module. The exclude list allows to exclude certain widgets.\n * Calls `WidgetsModule.config` under the hood with the `deviceManagementDefaultWidgets`.\n * ***\n * NOTE:\n * The excluded widgets will still be part of your bundle.\n * But as they are lazy loaded should not increase loading duration.\n * ***\n * @param excludeList allows to exclude specific widgets by their id.\n * @returns An empty module with some providers.\n */\nexport function deviceManagementWidgets(\n excludeList?: Array<(typeof deviceManagementDefaultWidgets)[number]['id']>\n): ModuleWithProviders<WidgetsModule> {\n return WidgetsModule.config({ widgets: deviceManagementDefaultWidgets, excludeList });\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAKa,MAAA,8BAA8B,GAAG;IAC5C,uCAAuC;EACH;AAEtC;;;;;;;;;;AAUG;AACG,SAAU,uBAAuB,CACrC,WAA0E,EAAA;AAE1E,IAAA,OAAO,aAAa,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,8BAA8B,EAAE,WAAW,EAAE,CAAC,CAAC;AACxF;;ACxBA;;AAEG;;;;"}
@@ -1,6 +1,6 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { NgModule } from '@angular/core';
3
- import { hookComponent } from '@c8y/ngx-components';
3
+ import { hookWidget } from '@c8y/ngx-components';
4
4
 
5
5
  /**
6
6
  * Module with providers for the given widgets.
@@ -16,7 +16,7 @@ class WidgetsModule {
16
16
  }
17
17
  static providers(config) {
18
18
  const filteredWidgets = this.excludeById(config.widgets, config.excludeList || []);
19
- return [hookComponent(filteredWidgets)];
19
+ return [hookWidget(filteredWidgets)];
20
20
  }
21
21
  static excludeById(widgetDefinitions, excludeList) {
22
22
  return widgetDefinitions.filter(widgetDefinition => !excludeList.includes(widgetDefinition.id));
@@ -1 +1 @@
1
- {"version":3,"file":"c8y-ngx-components-widgets.mjs","sources":["../../widgets/widgets.module.ts","../../widgets/c8y-ngx-components-widgets.ts"],"sourcesContent":["import { ModuleWithProviders, NgModule, Provider } from '@angular/core';\nimport { DynamicComponentDefinition, hookComponent } from '@c8y/ngx-components';\n\n/**\n * Module with providers for the given widgets.\n * Does not include any widgets by default.\n * Import this modules by using the `WidgetsModule.config` method.\n */\n@NgModule()\nexport class WidgetsModule {\n static config<T extends DynamicComponentDefinition>(config: {\n widgets: T[];\n excludeList?: T['id'][];\n }): ModuleWithProviders<WidgetsModule> {\n return {\n ngModule: WidgetsModule,\n providers: this.providers(config)\n };\n }\n\n static providers<T extends DynamicComponentDefinition>(config: {\n widgets: T[];\n excludeList?: T['id'][];\n }): Provider[] {\n const filteredWidgets = this.excludeById(config.widgets, config.excludeList || []);\n return [hookComponent(filteredWidgets)];\n }\n\n private static excludeById<T extends DynamicComponentDefinition>(\n widgetDefinitions: T[],\n excludeList: T['id'][]\n ): DynamicComponentDefinition[] {\n return widgetDefinitions.filter(widgetDefinition => !excludeList.includes(widgetDefinition.id));\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAGA;;;;AAIG;MAEU,aAAa,CAAA;IACxB,OAAO,MAAM,CAAuC,MAGnD,EAAA;QACC,OAAO;AACL,YAAA,QAAQ,EAAE,aAAa;AACvB,YAAA,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC;SAClC,CAAC;KACH;IAED,OAAO,SAAS,CAAuC,MAGtD,EAAA;AACC,QAAA,MAAM,eAAe,GAAG,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,OAAO,EAAE,MAAM,CAAC,WAAW,IAAI,EAAE,CAAC,CAAC;AACnF,QAAA,OAAO,CAAC,aAAa,CAAC,eAAe,CAAC,CAAC,CAAC;KACzC;AAEO,IAAA,OAAO,WAAW,CACxB,iBAAsB,EACtB,WAAsB,EAAA;AAEtB,QAAA,OAAO,iBAAiB,CAAC,MAAM,CAAC,gBAAgB,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,gBAAgB,CAAC,EAAE,CAAC,CAAC,CAAC;KACjG;8GAxBU,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;+GAAb,aAAa,EAAA,CAAA,CAAA,EAAA;+GAAb,aAAa,EAAA,CAAA,CAAA,EAAA;;2FAAb,aAAa,EAAA,UAAA,EAAA,CAAA;kBADzB,QAAQ;;;ACRT;;AAEG;;;;"}
1
+ {"version":3,"file":"c8y-ngx-components-widgets.mjs","sources":["../../widgets/widgets.module.ts","../../widgets/c8y-ngx-components-widgets.ts"],"sourcesContent":["import { ModuleWithProviders, NgModule, Provider } from '@angular/core';\nimport {\n DynamicComponentDefinition,\n DynamicWidgetDefinition,\n hookWidget\n} from '@c8y/ngx-components';\n\n/**\n * Module with providers for the given widgets.\n * Does not include any widgets by default.\n * Import this modules by using the `WidgetsModule.config` method.\n */\n@NgModule()\nexport class WidgetsModule {\n static config<T extends DynamicComponentDefinition>(config: {\n widgets: T[];\n excludeList?: T['id'][];\n }): ModuleWithProviders<WidgetsModule> {\n return {\n ngModule: WidgetsModule,\n providers: this.providers(config)\n };\n }\n\n static providers<T extends DynamicWidgetDefinition>(config: {\n widgets: T[];\n excludeList?: T['id'][];\n }): Provider[] {\n const filteredWidgets = this.excludeById(config.widgets, config.excludeList || []);\n return [hookWidget(filteredWidgets)];\n }\n\n private static excludeById<T extends DynamicWidgetDefinition>(\n widgetDefinitions: T[],\n excludeList: T['id'][]\n ): DynamicWidgetDefinition[] {\n return widgetDefinitions.filter(widgetDefinition => !excludeList.includes(widgetDefinition.id));\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAOA;;;;AAIG;MAEU,aAAa,CAAA;IACxB,OAAO,MAAM,CAAuC,MAGnD,EAAA;QACC,OAAO;AACL,YAAA,QAAQ,EAAE,aAAa;AACvB,YAAA,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC;SAClC,CAAC;KACH;IAED,OAAO,SAAS,CAAoC,MAGnD,EAAA;AACC,QAAA,MAAM,eAAe,GAAG,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,OAAO,EAAE,MAAM,CAAC,WAAW,IAAI,EAAE,CAAC,CAAC;AACnF,QAAA,OAAO,CAAC,UAAU,CAAC,eAAe,CAAC,CAAC,CAAC;KACtC;AAEO,IAAA,OAAO,WAAW,CACxB,iBAAsB,EACtB,WAAsB,EAAA;AAEtB,QAAA,OAAO,iBAAiB,CAAC,MAAM,CAAC,gBAAgB,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,gBAAgB,CAAC,EAAE,CAAC,CAAC,CAAC;KACjG;8GAxBU,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;+GAAb,aAAa,EAAA,CAAA,CAAA,EAAA;+GAAb,aAAa,EAAA,CAAA,CAAA,EAAA;;2FAAb,aAAa,EAAA,UAAA,EAAA,CAAA;kBADzB,QAAQ;;;ACZT;;AAEG;;;;"}
@@ -9378,6 +9378,20 @@ class GainsightService {
9378
9378
  this.cookieBannerService.isConfigCookiePreferencesDefined() &&
9379
9379
  !!this.cookieBannerService.getUserCookiePreferences());
9380
9380
  }
9381
+ async hashGroupName(groupName) {
9382
+ if (!groupName) {
9383
+ return;
9384
+ }
9385
+ // Convert the group name to an ArrayBuffer
9386
+ const encoder = new TextEncoder();
9387
+ const data = encoder.encode(groupName);
9388
+ // Use the SHA-256 algorithm to hash the data
9389
+ const hashBuffer = await crypto.subtle.digest('SHA-256', data);
9390
+ // Convert the hash to a hexadecimal string
9391
+ const hashArray = Array.from(new Uint8Array(hashBuffer));
9392
+ const hashedName = hashArray.map(byte => byte.toString(16).padStart(2, '0')).join('');
9393
+ return hashedName;
9394
+ }
9381
9395
  /**
9382
9396
  * Sets the global context for Gainsight with the current application name.
9383
9397
  * The global context can be utilized by Gainsight for various purposes, such as segmenting users.
@@ -18629,10 +18643,15 @@ class TypeaheadComponent {
18629
18643
  this.destroyed$ = new Subject();
18630
18644
  }
18631
18645
  writeValue(value) {
18632
- this.selected = value;
18633
18646
  if (value && this.searchControl) {
18634
18647
  this.searchControl.nativeElement.value = get(value, this.displayProperty, '');
18635
18648
  }
18649
+ if (typeof this.onChange === 'function' &&
18650
+ !isEqual(value, this.selected) &&
18651
+ this.selected != null) {
18652
+ this.onChange(value);
18653
+ }
18654
+ this.selected = value;
18636
18655
  }
18637
18656
  registerOnChange(fn) {
18638
18657
  this.onChange = fn;
@@ -18728,7 +18747,7 @@ class TypeaheadComponent {
18728
18747
  if (!this.allowFreeEntries &&
18729
18748
  this.selected &&
18730
18749
  this.selected.id === null &&
18731
- _ctrl.value[this.displayProperty]) {
18750
+ get(_ctrl.value, this.displayProperty)) {
18732
18751
  return { notExisting: true };
18733
18752
  }
18734
18753
  return null;
@@ -24707,7 +24726,6 @@ class TypeaheadTypeComponent extends FieldType {
24707
24726
  ? this.valueProps
24708
24727
  : [...this.valueProps, this.labelProp];
24709
24728
  this.formControl.setValue(pick(opt, pickList));
24710
- this.selected = { [this.labelProp]: opt[this.labelProp] };
24711
24729
  }
24712
24730
  else {
24713
24731
  this.formControl.setValue(opt);
@@ -25341,6 +25359,33 @@ const HOOK_COMPONENTS = new InjectionToken('HOOK_COMPONENTS');
25341
25359
  function hookComponent(components, options) {
25342
25360
  return hookGeneric(components, HOOK_COMPONENTS, options);
25343
25361
  }
25362
+ /**
25363
+ * Hook to add dynamic widget components to the UI.
25364
+ *
25365
+ * You can either provide a single `DynamicWidgetDefinition` as parameter:
25366
+ * ```typescript
25367
+ * hookWidget(...)
25368
+ * ```
25369
+ *
25370
+ * Or an array to directly register multiple:
25371
+ * ```typescript
25372
+ * hookWidget([...])
25373
+ * ```
25374
+ *
25375
+ * * Or you provide a Service that implements `ExtensionFactory<DynamicWidgetDefinition>`
25376
+ * ```typescript
25377
+ * export class MyDynamicWidgetDefinitionFactory implements ExtensionFactory<DynamicWidgetDefinition> {...}
25378
+ * ...
25379
+ * hookWidget(MyDynamicWidgetDefinitionFactory)
25380
+ * ```
25381
+ * A widget specific alternative to `hookComponent`..
25382
+ * @param components The `DynamicWidgetDefinition`'s or `ExtensionFactory` to be provided.
25383
+ * @param options Options to configure the hook.
25384
+ * @returns An `Provider` to be provided in your module.
25385
+ */
25386
+ function hookWidget(components, options) {
25387
+ return hookComponent(components, options);
25388
+ }
25344
25389
  function isLazyDynamicComponents(componentDefinition) {
25345
25390
  return !!componentDefinition?.loadComponent;
25346
25391
  }
@@ -33401,5 +33446,5 @@ function colorValidator(allowedModes) {
33401
33446
  * Generated bundle index. Do not edit.
33402
33447
  */
33403
33448
 
33404
- export { ACTIONS_STEPPER, AGGREGATIONS, AGGREGATION_ICONS, AGGREGATION_LIMITS, AGGREGATION_TEXTS, ARRAY_VALIDATION_PREFIX, ASSET_PATH, AbstractConfigurationStrategy, ActionBarComponent, ActionBarItemComponent, ActionBarModule, ActionBarService, ActionComponent, ActionControlsExtensionService, ActionModule, ActionOutletComponent, ActionService, AlarmRealtimeService, AlarmWithChildrenRealtimeService, AlertComponent, AlertDetailsComponent, AlertModule, AlertOutletBase, AlertOutletComponent, AlertService, AlertTextComponent, AppIconComponent, AppStateService, AppSwitcherComponent, AppSwitcherInlineComponent, AppSwitcherService, ApplicationModule, ApplicationPluginStatus, AssetLinkPipe, AssetTypesRealtimeService, AssetTypesService, AuditLogComponent, AuditLogModule, AuthenticationModule, BackendVersionFactory, BaseColumn, BaseFilteringFormRendererComponent, BooleanFilterMapper, BootstrapComponent, BootstrapModule, BottomDrawerComponent, BottomDrawerRef, BottomDrawerService, BreadcrumbComponent, BreadcrumbItemComponent, BreadcrumbModule, BreadcrumbOutletComponent, BreadcrumbService, BytesPipe, C8yComponentOutlet, C8yJSONSchema, C8yStepper, C8yStepperButtons, C8yStepperIcon, C8yStepperProgress, C8yTranslateDirective, C8yTranslateModule, C8yTranslatePipe, C8yValidators, CUSTOM, CachedLocaleDictionaryService, CellRendererComponent, CellRendererContext, CellRendererDefDirective, ChangePasswordComponent, ClipboardModule, ClipboardService, ColorInputComponent, ColorService, ColumnDirective, CommonModule, ConditionalTabsOutletComponent, ConfigureCustomColumnComponent, ConfirmModalComponent, ContextRouteComponent, ContextRouteGuard, ContextRouteService, CookieBannerComponent, CoreModule, CoreSearchModule, CountdownIntervalComponent, CountdownIntervalModule, CredentialsComponent, CurrentPasswordModalComponent, CustomColumn, DATA_GRID_CONFIGURATION_CONTEXT, DATA_GRID_CONFIGURATION_CONTEXT_PROVIDER, DATA_GRID_CONFIGURATION_STRATEGY, DRAWER_ANIMATION_TIME, DashboardChildActionComponent, DashboardChildChange, DashboardChildComponent, DashboardChildTitleComponent, DashboardComponent, DashboardModule, DataGridComponent, DataGridModule, DataGridService, DatapointLibraryValidationErrors, DateContextQueryParamNames, DateFilterMapper, DatePickerComponent, DatePickerModule, DatePipe, DateTimePickerComponent, DateTimePickerModule, DefaultValidationDirective, DeviceBootstrapRealtimeService, DeviceService, DeviceStatusComponent, DeviceStatusModule, DismissAlertStrategy, DocsModule, DocsService, DrawerModule, DrawerOutletComponent, DrawerService, DropAreaComponent, DropAreaModule, DropdownDirectionDirective, DynamicBulkDetailsResolver, DynamicBulkIIdentifiedResolver, DynamicComponentAlert, DynamicComponentAlertAggregator, DynamicComponentComponent, DynamicComponentErrorStrategy, DynamicComponentModule, DynamicComponentService, DynamicDatapointsResolver, DynamicFormsModule, DynamicManagedObjectResolver, DynamicResolverService, ES_MAX_TIME_MILLISECONDS, EmailsValidatorDirective, EmptyComponent, EmptyStateComponent, EmptyStateContextDirective, EventRealtimeService, ExpandableRowDirective, ExtensionPointForPlugins, ExtensionPointWithoutStateForPlugins, ExtractArrayValidationErrorsPipe, FilePickerComponent, FilePickerFormControlComponent, FilePickerFormControlModule, FilePickerModule, FilesService, FilterInputComponent, FilterMapperFactory, FilterMapperModule, FilterMapperPipe, FilterMapperService, FilterNonArrayValidationErrorsPipe, FilteringActionType, FilteringFormRendererComponent, FilteringFormRendererContext, FilteringFormRendererDefDirective, ForOfDirective, FormGroupComponent, FormsModule, GENERIC_FILE_TYPE, GainsightService, GenericFileIconPipe, GeoService, GetGroupIconPipe, GlobalConfigService, GridDataSource, GroupFragment, GroupService, GroupedFilterChips, GuideDocsComponent, GuideHrefDirective, HOOK_ACTION, HOOK_ACTION_BAR, HOOK_BREADCRUMB, HOOK_COMPONENTS, HOOK_DOCS, HOOK_DYNAMIC_PROVIDER_CONFIG, HOOK_NAVIGATOR_NODES, HOOK_OPTIONS, HOOK_PATTERN_MESSAGES, HOOK_ROUTE, HOOK_SEARCH, HOOK_STEPPER, HOOK_TABS, HOOK_VERSION, HOOK_WIZARD, HeaderBarComponent, HeaderCellRendererDefDirective, HeaderModule, HeaderService, HelpComponent, HelpModule, HighlightComponent, HookProviderTypes, HumanizeAppNamePipe, HumanizePipe, HumanizeValidationMessagePipe, I18nModule, INTERVALS, INTERVAL_OPTIONS, INTERVAL_TITLES, IconDirective, IfAllowedDirective, InjectionType, InputGroupListComponent, InputGroupListContainerDirective, InventorySearchService, IpRangeInputListComponent, JsonValidationPrettifierDirective, LANGUAGES, LAST_DAY, LAST_HOUR, LAST_MINUTE, LAST_MONTH, LAST_WEEK, LOCALE_PATH, LegacyGridConfigMapperService, LegendFieldWrapper, ListDisplaySwitchComponent, ListDisplaySwitchModule, ListGroupComponent, ListGroupModule, ListItemActionComponent, ListItemBodyComponent, ListItemCheckboxComponent, ListItemCollapseComponent, ListItemComponent, ListItemDragHandleComponent, ListItemFooterComponent, ListItemIconComponent, ListItemRadioComponent, ListItemTimelineComponent, LoadMoreComponent, LoadingComponent, LoginComponent, LoginModule, LoginService, LoginViews, MAX_PAGE_SIZE, MESSAGES_CORE_I18N, ManagedObjectRealtimeService, ManagedObjectType, MapFunctionPipe, MarkdownToHtmlPipe, MaxValidationDirective, MeasurementRealtimeService, MessageDirective, MessagesComponent, MinValidationDirective, MissingTranslationCustomHandler, MoNamePipe, ModalComponent, ModalModule, ModalSelectionMode, ModalService, NEEDED_ROLE_FOR_SETUP, NEW_DASHBOARD_QUERY_PARAM, NULL_VALUE_PLACEHOLDER, NUMBER_FORMAT_REGEXP, NameTransformPipe, NavigatorBottomModule, NavigatorIconComponent, NavigatorModule, NavigatorNode, NavigatorNodeComponent, NavigatorNodeRoot, NavigatorOutletComponent, NavigatorService, NavigatorTopModule, NewPasswordComponent, NumberPipe, OperationBulkRealtimeService, OperationRealtimeService, OperationResultComponent, OptionsService, OutletDirective, PRODUCT_EXPERIENCE_EVENT_SOURCE, PX_ACTIONS, PX_EVENT_NAME, PackageType, PasswordCheckListComponent, PasswordConfirm, PasswordConfirmModalComponent, PasswordInputComponent, PasswordService, PasswordStrengthCheckerService, PasswordStrengthComponent, PasswordStrengthValidatorDirective, PatternMessagesService, Permissions, PhoneValidationDirective, PlatformDetailsService, PluginsExportScopes, PluginsModule, PluginsResolveService, PluginsService, PopoverConfirmComponent, ProductExperienceDirective, ProductExperienceModule, ProgressBarComponent, PropertiesListComponent, PropertiesListModule, PropertyValueTransformService, ProvidePhoneNumberComponent, ProviderConfigurationComponent, ProviderConfigurationModule, ProviderConfigurationNodeFactory, ProviderConfigurationRouteFactory, ProviderConfigurationService, ProviderDefinitionsService, PushStatus, PushStatusLabels, QuickLinkComponent, QuickLinkModule, RESOLVING_COMPONENT_WAIT_TIME, RadioFilterMapper, RangeComponent, RangeDirective, RangeDisplayComponent, RangeDisplayModule, RealtimeButtonComponent, RealtimeMessage, RealtimeModule, RealtimeService, RealtimeSubjectService, RecoverPasswordComponent, RelativeTimePipe, RequiredInputPlaceholderDirective, RouterModule, RouterService, RouterTabsResolver, SETUP_FINISHED_STEP_ID, SearchComponent, SearchFilters, SearchInputComponent, SearchOutletComponent, SearchResultEmptyComponent, SearchService, SelectComponent, SelectFilterMapper, SelectModalComponent, SelectModalFilterPipe, SelectModalModule, SelectModule, SendStatus, SendStatusLabels, ServiceRegistry, SetupCompletedComponent, SetupComponent, SetupModule, SetupService, SetupState, SetupStepperFactory, ShortenUserNamePipe, ShouldShowMoPipe, ShowIfFilterPipe, SimpleJsonPathValidatorDirective, SkipLinkDirective, SmsChallengeComponent, StandalonePluginInjector, StateService, Status, StepperModule, StepperOutletComponent, StepperService, Steppers, StrengthValidatorService, StringFilterMapper, StringifyObjectPipe, TabComponent, TabsModule, TabsOutletComponent, TabsService, TabsetAriaDirective, TenantUiService, TextAreaRowHeightDirective, TextareaAutoresizeDirective, ThemeSwitcherService, TimeIntervalComponent, TimePickerComponent, TimePickerModule, TimeSpanInMs, TitleComponent, TitleOutletComponent, TotpAuthComponent, TotpChallengeComponent, TotpSetupComponent, TranslateCustomLoader, TranslateParserCustom, TranslateService, TypeaheadComponent, TypeaheadFilterMapper, UiSettingsComponent, UiSettingsModule, UniqueInCollectionByPathValidationDirective, UserEditComponent, UserEditModalComponent, UserEngagementsService, UserMenuItemComponent, UserMenuOutletComponent, UserMenuService, UserModule, UserNameInitialsPipe, UserPreferencesConfigurationStrategy, UserPreferencesService, UserPreferencesStorageInventory, UserPreferencesStorageLocal, UserTotpRevokeComponent, UserTotpSetupComponent, VERSION_MODULE_CONFIG, ValidationPattern, VersionListComponent, VersionModule, VersionService, ViewContext, ViewContextServices, VirtualScrollWindowDirective, VirtualScrollWindowStrategy, VirtualScrollerWrapperComponent, VisibleControlsPipe, WebSDKVersionFactory, WidgetTimeContextActionBarPriority, WidgetTimeContextComponent, WidgetsDashboardComponent, WizardBodyComponent, WizardComponent, WizardFooterComponent, WizardHeaderComponent, WizardModalService, WizardModule, WizardOutletComponent, WizardService, ZipService, _virtualScrollWindowStrategyFactory, alertOnError, allEntriesAreEqual, asyncValidateArrayElements, colorValidator, deviceAvailabilityIconMap, extraRoutes, fromFactories, fromTrigger, fromTriggerOnce, getActivatedRoute, getAngularLocalesLanguageString, getBasicInputArrayFormFieldConfig, getInjectedHooks, hookAction, hookActionBar, hookBreadcrumb, hookComponent, hookDataGridActionControls, hookDocs, hookDrawer, hookDynamicProviderConfig, hookFilterMapper, hookGeneric, hookNavigator, hookOptions, hookPatternMessages, hookRoute, hookSearch, hookService, hookStepper, hookTab, hookVersion, hookWizard, initializeServices, internalApps, isEagerDynamicComponents, isExtensionFactory, isLazyDynamicComponents, isPromise, languagesFactory, loadLocale, localeId, localePathFactory, memoize, minColumnGridTrackSize, operationStatusClasses, operationStatusIcons, ratiosByColumnTypes, removeDuplicatesIds, resolveInjectedFactories, retryWithDelay, simpleJsonPathValidator, sortByPriority, stateToFactory, statusAlert, statusClasses, statusIcons, throttle, toObservable, toObservableOfArrays, tooltips, translateLoaderFactory, trimTranslationKey, uniqueInCollectionByPathValidator, validateArrayElements, wrapperLegendFieldConfig };
33449
+ export { ACTIONS_STEPPER, AGGREGATIONS, AGGREGATION_ICONS, AGGREGATION_LIMITS, AGGREGATION_TEXTS, ARRAY_VALIDATION_PREFIX, ASSET_PATH, AbstractConfigurationStrategy, ActionBarComponent, ActionBarItemComponent, ActionBarModule, ActionBarService, ActionComponent, ActionControlsExtensionService, ActionModule, ActionOutletComponent, ActionService, AlarmRealtimeService, AlarmWithChildrenRealtimeService, AlertComponent, AlertDetailsComponent, AlertModule, AlertOutletBase, AlertOutletComponent, AlertService, AlertTextComponent, AppIconComponent, AppStateService, AppSwitcherComponent, AppSwitcherInlineComponent, AppSwitcherService, ApplicationModule, ApplicationPluginStatus, AssetLinkPipe, AssetTypesRealtimeService, AssetTypesService, AuditLogComponent, AuditLogModule, AuthenticationModule, BackendVersionFactory, BaseColumn, BaseFilteringFormRendererComponent, BooleanFilterMapper, BootstrapComponent, BootstrapModule, BottomDrawerComponent, BottomDrawerRef, BottomDrawerService, BreadcrumbComponent, BreadcrumbItemComponent, BreadcrumbModule, BreadcrumbOutletComponent, BreadcrumbService, BytesPipe, C8yComponentOutlet, C8yJSONSchema, C8yStepper, C8yStepperButtons, C8yStepperIcon, C8yStepperProgress, C8yTranslateDirective, C8yTranslateModule, C8yTranslatePipe, C8yValidators, CUSTOM, CachedLocaleDictionaryService, CellRendererComponent, CellRendererContext, CellRendererDefDirective, ChangePasswordComponent, ClipboardModule, ClipboardService, ColorInputComponent, ColorService, ColumnDirective, CommonModule, ConditionalTabsOutletComponent, ConfigureCustomColumnComponent, ConfirmModalComponent, ContextRouteComponent, ContextRouteGuard, ContextRouteService, CookieBannerComponent, CoreModule, CoreSearchModule, CountdownIntervalComponent, CountdownIntervalModule, CredentialsComponent, CurrentPasswordModalComponent, CustomColumn, DATA_GRID_CONFIGURATION_CONTEXT, DATA_GRID_CONFIGURATION_CONTEXT_PROVIDER, DATA_GRID_CONFIGURATION_STRATEGY, DRAWER_ANIMATION_TIME, DashboardChildActionComponent, DashboardChildChange, DashboardChildComponent, DashboardChildTitleComponent, DashboardComponent, DashboardModule, DataGridComponent, DataGridModule, DataGridService, DatapointLibraryValidationErrors, DateContextQueryParamNames, DateFilterMapper, DatePickerComponent, DatePickerModule, DatePipe, DateTimePickerComponent, DateTimePickerModule, DefaultValidationDirective, DeviceBootstrapRealtimeService, DeviceService, DeviceStatusComponent, DeviceStatusModule, DismissAlertStrategy, DocsModule, DocsService, DrawerModule, DrawerOutletComponent, DrawerService, DropAreaComponent, DropAreaModule, DropdownDirectionDirective, DynamicBulkDetailsResolver, DynamicBulkIIdentifiedResolver, DynamicComponentAlert, DynamicComponentAlertAggregator, DynamicComponentComponent, DynamicComponentErrorStrategy, DynamicComponentModule, DynamicComponentService, DynamicDatapointsResolver, DynamicFormsModule, DynamicManagedObjectResolver, DynamicResolverService, ES_MAX_TIME_MILLISECONDS, EmailsValidatorDirective, EmptyComponent, EmptyStateComponent, EmptyStateContextDirective, EventRealtimeService, ExpandableRowDirective, ExtensionPointForPlugins, ExtensionPointWithoutStateForPlugins, ExtractArrayValidationErrorsPipe, FilePickerComponent, FilePickerFormControlComponent, FilePickerFormControlModule, FilePickerModule, FilesService, FilterInputComponent, FilterMapperFactory, FilterMapperModule, FilterMapperPipe, FilterMapperService, FilterNonArrayValidationErrorsPipe, FilteringActionType, FilteringFormRendererComponent, FilteringFormRendererContext, FilteringFormRendererDefDirective, ForOfDirective, FormGroupComponent, FormsModule, GENERIC_FILE_TYPE, GainsightService, GenericFileIconPipe, GeoService, GetGroupIconPipe, GlobalConfigService, GridDataSource, GroupFragment, GroupService, GroupedFilterChips, GuideDocsComponent, GuideHrefDirective, HOOK_ACTION, HOOK_ACTION_BAR, HOOK_BREADCRUMB, HOOK_COMPONENTS, HOOK_DOCS, HOOK_DYNAMIC_PROVIDER_CONFIG, HOOK_NAVIGATOR_NODES, HOOK_OPTIONS, HOOK_PATTERN_MESSAGES, HOOK_ROUTE, HOOK_SEARCH, HOOK_STEPPER, HOOK_TABS, HOOK_VERSION, HOOK_WIZARD, HeaderBarComponent, HeaderCellRendererDefDirective, HeaderModule, HeaderService, HelpComponent, HelpModule, HighlightComponent, HookProviderTypes, HumanizeAppNamePipe, HumanizePipe, HumanizeValidationMessagePipe, I18nModule, INTERVALS, INTERVAL_OPTIONS, INTERVAL_TITLES, IconDirective, IfAllowedDirective, InjectionType, InputGroupListComponent, InputGroupListContainerDirective, InventorySearchService, IpRangeInputListComponent, JsonValidationPrettifierDirective, LANGUAGES, LAST_DAY, LAST_HOUR, LAST_MINUTE, LAST_MONTH, LAST_WEEK, LOCALE_PATH, LegacyGridConfigMapperService, LegendFieldWrapper, ListDisplaySwitchComponent, ListDisplaySwitchModule, ListGroupComponent, ListGroupModule, ListItemActionComponent, ListItemBodyComponent, ListItemCheckboxComponent, ListItemCollapseComponent, ListItemComponent, ListItemDragHandleComponent, ListItemFooterComponent, ListItemIconComponent, ListItemRadioComponent, ListItemTimelineComponent, LoadMoreComponent, LoadingComponent, LoginComponent, LoginModule, LoginService, LoginViews, MAX_PAGE_SIZE, MESSAGES_CORE_I18N, ManagedObjectRealtimeService, ManagedObjectType, MapFunctionPipe, MarkdownToHtmlPipe, MaxValidationDirective, MeasurementRealtimeService, MessageDirective, MessagesComponent, MinValidationDirective, MissingTranslationCustomHandler, MoNamePipe, ModalComponent, ModalModule, ModalSelectionMode, ModalService, NEEDED_ROLE_FOR_SETUP, NEW_DASHBOARD_QUERY_PARAM, NULL_VALUE_PLACEHOLDER, NUMBER_FORMAT_REGEXP, NameTransformPipe, NavigatorBottomModule, NavigatorIconComponent, NavigatorModule, NavigatorNode, NavigatorNodeComponent, NavigatorNodeRoot, NavigatorOutletComponent, NavigatorService, NavigatorTopModule, NewPasswordComponent, NumberPipe, OperationBulkRealtimeService, OperationRealtimeService, OperationResultComponent, OptionsService, OutletDirective, PRODUCT_EXPERIENCE_EVENT_SOURCE, PX_ACTIONS, PX_EVENT_NAME, PackageType, PasswordCheckListComponent, PasswordConfirm, PasswordConfirmModalComponent, PasswordInputComponent, PasswordService, PasswordStrengthCheckerService, PasswordStrengthComponent, PasswordStrengthValidatorDirective, PatternMessagesService, Permissions, PhoneValidationDirective, PlatformDetailsService, PluginsExportScopes, PluginsModule, PluginsResolveService, PluginsService, PopoverConfirmComponent, ProductExperienceDirective, ProductExperienceModule, ProgressBarComponent, PropertiesListComponent, PropertiesListModule, PropertyValueTransformService, ProvidePhoneNumberComponent, ProviderConfigurationComponent, ProviderConfigurationModule, ProviderConfigurationNodeFactory, ProviderConfigurationRouteFactory, ProviderConfigurationService, ProviderDefinitionsService, PushStatus, PushStatusLabels, QuickLinkComponent, QuickLinkModule, RESOLVING_COMPONENT_WAIT_TIME, RadioFilterMapper, RangeComponent, RangeDirective, RangeDisplayComponent, RangeDisplayModule, RealtimeButtonComponent, RealtimeMessage, RealtimeModule, RealtimeService, RealtimeSubjectService, RecoverPasswordComponent, RelativeTimePipe, RequiredInputPlaceholderDirective, RouterModule, RouterService, RouterTabsResolver, SETUP_FINISHED_STEP_ID, SearchComponent, SearchFilters, SearchInputComponent, SearchOutletComponent, SearchResultEmptyComponent, SearchService, SelectComponent, SelectFilterMapper, SelectModalComponent, SelectModalFilterPipe, SelectModalModule, SelectModule, SendStatus, SendStatusLabels, ServiceRegistry, SetupCompletedComponent, SetupComponent, SetupModule, SetupService, SetupState, SetupStepperFactory, ShortenUserNamePipe, ShouldShowMoPipe, ShowIfFilterPipe, SimpleJsonPathValidatorDirective, SkipLinkDirective, SmsChallengeComponent, StandalonePluginInjector, StateService, Status, StepperModule, StepperOutletComponent, StepperService, Steppers, StrengthValidatorService, StringFilterMapper, StringifyObjectPipe, TabComponent, TabsModule, TabsOutletComponent, TabsService, TabsetAriaDirective, TenantUiService, TextAreaRowHeightDirective, TextareaAutoresizeDirective, ThemeSwitcherService, TimeIntervalComponent, TimePickerComponent, TimePickerModule, TimeSpanInMs, TitleComponent, TitleOutletComponent, TotpAuthComponent, TotpChallengeComponent, TotpSetupComponent, TranslateCustomLoader, TranslateParserCustom, TranslateService, TypeaheadComponent, TypeaheadFilterMapper, UiSettingsComponent, UiSettingsModule, UniqueInCollectionByPathValidationDirective, UserEditComponent, UserEditModalComponent, UserEngagementsService, UserMenuItemComponent, UserMenuOutletComponent, UserMenuService, UserModule, UserNameInitialsPipe, UserPreferencesConfigurationStrategy, UserPreferencesService, UserPreferencesStorageInventory, UserPreferencesStorageLocal, UserTotpRevokeComponent, UserTotpSetupComponent, VERSION_MODULE_CONFIG, ValidationPattern, VersionListComponent, VersionModule, VersionService, ViewContext, ViewContextServices, VirtualScrollWindowDirective, VirtualScrollWindowStrategy, VirtualScrollerWrapperComponent, VisibleControlsPipe, WebSDKVersionFactory, WidgetTimeContextActionBarPriority, WidgetTimeContextComponent, WidgetsDashboardComponent, WizardBodyComponent, WizardComponent, WizardFooterComponent, WizardHeaderComponent, WizardModalService, WizardModule, WizardOutletComponent, WizardService, ZipService, _virtualScrollWindowStrategyFactory, alertOnError, allEntriesAreEqual, asyncValidateArrayElements, colorValidator, deviceAvailabilityIconMap, extraRoutes, fromFactories, fromTrigger, fromTriggerOnce, getActivatedRoute, getAngularLocalesLanguageString, getBasicInputArrayFormFieldConfig, getInjectedHooks, hookAction, hookActionBar, hookBreadcrumb, hookComponent, hookDataGridActionControls, hookDocs, hookDrawer, hookDynamicProviderConfig, hookFilterMapper, hookGeneric, hookNavigator, hookOptions, hookPatternMessages, hookRoute, hookSearch, hookService, hookStepper, hookTab, hookVersion, hookWidget, hookWizard, initializeServices, internalApps, isEagerDynamicComponents, isExtensionFactory, isLazyDynamicComponents, isPromise, languagesFactory, loadLocale, localeId, localePathFactory, memoize, minColumnGridTrackSize, operationStatusClasses, operationStatusIcons, ratiosByColumnTypes, removeDuplicatesIds, resolveInjectedFactories, retryWithDelay, simpleJsonPathValidator, sortByPriority, stateToFactory, statusAlert, statusClasses, statusIcons, throttle, toObservable, toObservableOfArrays, tooltips, translateLoaderFactory, trimTranslationKey, uniqueInCollectionByPathValidator, validateArrayElements, wrapperLegendFieldConfig };
33405
33450
  //# sourceMappingURL=c8y-ngx-components.mjs.map