@nova-ui/dashboards 17.0.1 → 20.0.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 (654) hide show
  1. package/fesm2022/nova-ui-dashboards.mjs +656 -626
  2. package/fesm2022/nova-ui-dashboards.mjs.map +1 -1
  3. package/lib/components/providers/refresher-settings.service.d.ts +5 -2
  4. package/lib/components/providers/refresher.d.ts +3 -5
  5. package/lib/components/timeseries-widget/chart-presets/timeseries-chart.component.d.ts +1 -1
  6. package/lib/components/timeseries-widget/types.d.ts +6 -6
  7. package/lib/services/registry-service.d.ts +1 -1
  8. package/lib/widget-types/kpi/kpi-widget.d.ts +1 -1
  9. package/lib/widget-types/proportional/proportional-widget.d.ts +1 -1
  10. package/lib/widget-types/risk-score/risk-score-widget.d.ts +1 -1
  11. package/lib/widget-types/timeseries/timeseries-widget.d.ts +1 -1
  12. package/package.json +15 -19
  13. package/sdk/atoms/spec/configurator/configurator-section.atom.js.map +1 -1
  14. package/sdk/atoms/spec/configurator/configurator.atom.js.map +1 -1
  15. package/sdk/atoms/spec/dashboard.atom.js.map +1 -1
  16. package/sdk/atoms/spec/test.po.js.map +1 -1
  17. package/sdk/atoms/spec/timeseries/legend-series.atom.js.map +1 -1
  18. package/sdk/atoms/spec/virtual-dashboards/drilldown-widget-test/drilldown-widget-test.component.js +1 -0
  19. package/sdk/atoms/spec/virtual-dashboards/drilldown-widget-test/drilldown-widget-test.component.js.map +1 -1
  20. package/sdk/atoms/src/lib/common/components/preview-overlay/preview-overlay.component.js +1 -0
  21. package/sdk/atoms/src/lib/common/components/preview-overlay/preview-overlay.component.js.map +1 -1
  22. package/sdk/atoms/src/lib/common/components/widget-error/widget-error.component.js +1 -0
  23. package/sdk/atoms/src/lib/common/components/widget-error/widget-error.component.js.map +1 -1
  24. package/sdk/atoms/src/lib/common/pipes/dashboard-unit-conversion-pipe.js +4 -1
  25. package/sdk/atoms/src/lib/common/pipes/dashboard-unit-conversion-pipe.js.map +1 -1
  26. package/sdk/atoms/src/lib/components/dashboard/dashboard.component.js +1 -0
  27. package/sdk/atoms/src/lib/components/dashboard/dashboard.component.js.map +1 -1
  28. package/sdk/atoms/src/lib/components/embedded-content/embedded-content.component.js +1 -0
  29. package/sdk/atoms/src/lib/components/embedded-content/embedded-content.component.js.map +1 -1
  30. package/sdk/atoms/src/lib/components/kpi-widget/kpi.component.js +1 -0
  31. package/sdk/atoms/src/lib/components/kpi-widget/kpi.component.js.map +1 -1
  32. package/sdk/atoms/src/lib/components/layouts/base-layout.js.map +1 -1
  33. package/sdk/atoms/src/lib/components/layouts/stack/stack.component.js +1 -0
  34. package/sdk/atoms/src/lib/components/layouts/stack/stack.component.js.map +1 -1
  35. package/sdk/atoms/src/lib/components/layouts/tiles/tiles.component.js +1 -0
  36. package/sdk/atoms/src/lib/components/layouts/tiles/tiles.component.js.map +1 -1
  37. package/sdk/atoms/src/lib/components/list-widget/list-elements/list-group-item/list-group-item.component.js +1 -0
  38. package/sdk/atoms/src/lib/components/list-widget/list-elements/list-group-item/list-group-item.component.js.map +1 -1
  39. package/sdk/atoms/src/lib/components/list-widget/list-elements/list-leaf-item/list-leaf-item.component.js +1 -0
  40. package/sdk/atoms/src/lib/components/list-widget/list-elements/list-leaf-item/list-leaf-item.component.js.map +1 -1
  41. package/sdk/atoms/src/lib/components/list-widget/list-elements/list-navigation-bar/list-navigation-bar.component.js +1 -0
  42. package/sdk/atoms/src/lib/components/list-widget/list-elements/list-navigation-bar/list-navigation-bar.component.js.map +1 -1
  43. package/sdk/atoms/src/lib/components/list-widget/list-widget.component.js +1 -0
  44. package/sdk/atoms/src/lib/components/list-widget/list-widget.component.js.map +1 -1
  45. package/sdk/atoms/src/lib/components/loading/loading.component.js +1 -0
  46. package/sdk/atoms/src/lib/components/loading/loading.component.js.map +1 -1
  47. package/sdk/atoms/src/lib/components/proportional-widget/proportional-donut-content/proportional-donut-content.component.js +1 -0
  48. package/sdk/atoms/src/lib/components/proportional-widget/proportional-donut-content/proportional-donut-content.component.js.map +1 -1
  49. package/sdk/atoms/src/lib/components/proportional-widget/proportional-widget.component.js +1 -2
  50. package/sdk/atoms/src/lib/components/proportional-widget/proportional-widget.component.js.map +1 -1
  51. package/sdk/atoms/src/lib/components/providers/data-source-adapter.js.map +1 -1
  52. package/sdk/atoms/src/lib/components/providers/drilldown-data-source-adapter.js.map +1 -1
  53. package/sdk/atoms/src/lib/components/providers/interaction/interaction-handler.js.map +1 -1
  54. package/sdk/atoms/src/lib/components/providers/interaction/url-interaction-handler.js.map +1 -1
  55. package/sdk/atoms/src/lib/components/providers/kpi-color-prioritizer.js.map +1 -1
  56. package/sdk/atoms/src/lib/components/providers/kpi-data-source-adapter.js.map +1 -1
  57. package/sdk/atoms/src/lib/components/providers/kpi-scale-sync-broker.js.map +1 -1
  58. package/sdk/atoms/src/lib/components/providers/kpi-status-content-fallback-adapter.js.map +1 -1
  59. package/sdk/atoms/src/lib/components/providers/loading-adapter.js.map +1 -1
  60. package/sdk/atoms/src/lib/components/providers/pizzagna-broadcaster.service.js.map +1 -1
  61. package/sdk/atoms/src/lib/components/providers/refresher-settings.service.d.ts +5 -2
  62. package/sdk/atoms/src/lib/components/providers/refresher-settings.service.js +7 -5
  63. package/sdk/atoms/src/lib/components/providers/refresher-settings.service.js.map +1 -1
  64. package/sdk/atoms/src/lib/components/providers/refresher.d.ts +3 -5
  65. package/sdk/atoms/src/lib/components/providers/refresher.js +10 -8
  66. package/sdk/atoms/src/lib/components/providers/refresher.js.map +1 -1
  67. package/sdk/atoms/src/lib/components/providers/timeseries-data-source-adapter.js.map +1 -1
  68. package/sdk/atoms/src/lib/components/risk-score-tile/risk-score-tile.component.js +1 -0
  69. package/sdk/atoms/src/lib/components/risk-score-tile/risk-score-tile.component.js.map +1 -1
  70. package/sdk/atoms/src/lib/components/table-widget/addons/paginator-feature-addon.service.js.map +1 -1
  71. package/sdk/atoms/src/lib/components/table-widget/addons/search-feature-addon.service.js.map +1 -1
  72. package/sdk/atoms/src/lib/components/table-widget/addons/virtual-scroll-feature-addon.service.js.map +1 -1
  73. package/sdk/atoms/src/lib/components/table-widget/delayed-mouse-presence-detection.directive.js +1 -0
  74. package/sdk/atoms/src/lib/components/table-widget/delayed-mouse-presence-detection.directive.js.map +1 -1
  75. package/sdk/atoms/src/lib/components/table-widget/table-widget.component.js +1 -0
  76. package/sdk/atoms/src/lib/components/table-widget/table-widget.component.js.map +1 -1
  77. package/sdk/atoms/src/lib/components/template-load-error/template-load-error.component.js +1 -0
  78. package/sdk/atoms/src/lib/components/template-load-error/template-load-error.component.js.map +1 -1
  79. package/sdk/atoms/src/lib/components/time-frame-selection/timeframe-selection.component.js +1 -0
  80. package/sdk/atoms/src/lib/components/time-frame-selection/timeframe-selection.component.js.map +1 -1
  81. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/status-bar-chart/apply-status-endpoints.js +1 -2
  82. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/status-bar-chart/apply-status-endpoints.js.map +1 -1
  83. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/status-bar-chart/status-bar-chart.component.js +1 -0
  84. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/status-bar-chart/status-bar-chart.component.js.map +1 -1
  85. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/timeseries-chart.component.js.map +1 -1
  86. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/line-chart.component.js +1 -0
  87. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/line-chart.component.js.map +1 -1
  88. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-area-chart.component.js +1 -0
  89. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-area-chart.component.js.map +1 -1
  90. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-bar-chart.component.js +1 -0
  91. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-bar-chart.component.js.map +1 -1
  92. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-percentage-area-chart.component.js +1 -0
  93. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-percentage-area-chart.component.js.map +1 -1
  94. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/xy-chart.component.js.map +1 -1
  95. package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-helpers.js +3 -3
  96. package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-helpers.js.map +1 -1
  97. package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-inspection-menu/timeseries-inspection-menu.component.js +1 -0
  98. package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-inspection-menu/timeseries-inspection-menu.component.js.map +1 -1
  99. package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-scales.service.js.map +1 -1
  100. package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-widget.component.js +1 -0
  101. package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-widget.component.js.map +1 -1
  102. package/sdk/atoms/src/lib/components/timeseries-widget/transformer/loess.js +1 -2
  103. package/sdk/atoms/src/lib/components/timeseries-widget/transformer/loess.js.map +1 -1
  104. package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-change-point.js +1 -2
  105. package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-change-point.js.map +1 -1
  106. package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-difference.js +1 -2
  107. package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-difference.js.map +1 -1
  108. package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-floating-average.js +1 -2
  109. package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-floating-average.js.map +1 -1
  110. package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-lin-reg.js +1 -2
  111. package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-lin-reg.js.map +1 -1
  112. package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-loess-standardize.js +1 -2
  113. package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-loess-standardize.js.map +1 -1
  114. package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-loess.js +1 -2
  115. package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-loess.js.map +1 -1
  116. package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-normalize.js +1 -2
  117. package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-normalize.js.map +1 -1
  118. package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-percentile-std.js +1 -2
  119. package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-percentile-std.js.map +1 -1
  120. package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-standardize.js +1 -2
  121. package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-standardize.js.map +1 -1
  122. package/sdk/atoms/src/lib/components/timeseries-widget/types.d.ts +6 -6
  123. package/sdk/atoms/src/lib/components/widget/widget-body/widget-body.component.js +1 -0
  124. package/sdk/atoms/src/lib/components/widget/widget-body/widget-body.component.js.map +1 -1
  125. package/sdk/atoms/src/lib/components/widget/widget-body-content/widget-body-content.component.js +1 -0
  126. package/sdk/atoms/src/lib/components/widget/widget-body-content/widget-body-content.component.js.map +1 -1
  127. package/sdk/atoms/src/lib/components/widget/widget-header/widget-header.component.js +1 -0
  128. package/sdk/atoms/src/lib/components/widget/widget-header/widget-header.component.js.map +1 -1
  129. package/sdk/atoms/src/lib/components/widget/widget.component.js +1 -0
  130. package/sdk/atoms/src/lib/components/widget/widget.component.js.map +1 -1
  131. package/sdk/atoms/src/lib/components/widget-search/widget-search.component.js +1 -0
  132. package/sdk/atoms/src/lib/components/widget-search/widget-search.component.js.map +1 -1
  133. package/sdk/atoms/src/lib/configurator/components/color-picker/color-picker.component.js +1 -0
  134. package/sdk/atoms/src/lib/configurator/components/color-picker/color-picker.component.js.map +1 -1
  135. package/sdk/atoms/src/lib/configurator/components/color-picker/color.service.js.map +1 -1
  136. package/sdk/atoms/src/lib/configurator/components/configurator/configurator.component.js +1 -0
  137. package/sdk/atoms/src/lib/configurator/components/configurator/configurator.component.js.map +1 -1
  138. package/sdk/atoms/src/lib/configurator/components/drop-area/drop-area.component.js +1 -0
  139. package/sdk/atoms/src/lib/configurator/components/drop-area/drop-area.component.js.map +1 -1
  140. package/sdk/atoms/src/lib/configurator/components/form-stack/form-stack.component.js +1 -0
  141. package/sdk/atoms/src/lib/configurator/components/form-stack/form-stack.component.js.map +1 -1
  142. package/sdk/atoms/src/lib/configurator/components/formatters/donut-content-percentage-formatter/donut-content-percentage-configuration.component.js +1 -0
  143. package/sdk/atoms/src/lib/configurator/components/formatters/donut-content-percentage-formatter/donut-content-percentage-configuration.component.js.map +1 -1
  144. package/sdk/atoms/src/lib/configurator/components/formatters/donut-content-percentage-formatter/donut-content-percentage-formatter.component.js +2 -1
  145. package/sdk/atoms/src/lib/configurator/components/formatters/donut-content-percentage-formatter/donut-content-percentage-formatter.component.js.map +1 -1
  146. package/sdk/atoms/src/lib/configurator/components/formatters/donut-content-raw-formatter/donut-content-raw-formatter.component.js +1 -0
  147. package/sdk/atoms/src/lib/configurator/components/formatters/donut-content-raw-formatter/donut-content-raw-formatter.component.js.map +1 -1
  148. package/sdk/atoms/src/lib/configurator/components/formatters/donut-content-sum-formatter/donut-content-sum-formatter.component.js +1 -0
  149. package/sdk/atoms/src/lib/configurator/components/formatters/donut-content-sum-formatter/donut-content-sum-formatter.component.js.map +1 -1
  150. package/sdk/atoms/src/lib/configurator/components/formatters/icon-formatter/icon-formatter.component.js +1 -0
  151. package/sdk/atoms/src/lib/configurator/components/formatters/icon-formatter/icon-formatter.component.js.map +1 -1
  152. package/sdk/atoms/src/lib/configurator/components/formatters/link-formatter/link-formatter.component.js +1 -0
  153. package/sdk/atoms/src/lib/configurator/components/formatters/link-formatter/link-formatter.component.js.map +1 -1
  154. package/sdk/atoms/src/lib/configurator/components/formatters/percentage-formatter/percentage-formatter.component.js +1 -0
  155. package/sdk/atoms/src/lib/configurator/components/formatters/percentage-formatter/percentage-formatter.component.js.map +1 -1
  156. package/sdk/atoms/src/lib/configurator/components/formatters/raw-formatter/raw-formatter.component.js +1 -0
  157. package/sdk/atoms/src/lib/configurator/components/formatters/raw-formatter/raw-formatter.component.js.map +1 -1
  158. package/sdk/atoms/src/lib/configurator/components/formatters/si-units-formatter/si-units-formatter.component.js +1 -0
  159. package/sdk/atoms/src/lib/configurator/components/formatters/si-units-formatter/si-units-formatter.component.js.map +1 -1
  160. package/sdk/atoms/src/lib/configurator/components/formatters/status-with-icon-formatter/status-with-icon-formatter.component.js +1 -0
  161. package/sdk/atoms/src/lib/configurator/components/formatters/status-with-icon-formatter/status-with-icon-formatter.component.js.map +1 -1
  162. package/sdk/atoms/src/lib/configurator/components/formatters/widget-formatter-configurators/donut-formatter-configurator.component.js.map +1 -1
  163. package/sdk/atoms/src/lib/configurator/components/heading/configurator-heading.component.js +1 -0
  164. package/sdk/atoms/src/lib/configurator/components/heading/configurator-heading.component.js.map +1 -1
  165. package/sdk/atoms/src/lib/configurator/components/items-dynamic/items-dynamic.component.js +1 -0
  166. package/sdk/atoms/src/lib/configurator/components/items-dynamic/items-dynamic.component.js.map +1 -1
  167. package/sdk/atoms/src/lib/configurator/components/preview-placeholder/preview-placeholder.component.js +1 -0
  168. package/sdk/atoms/src/lib/configurator/components/preview-placeholder/preview-placeholder.component.js.map +1 -1
  169. package/sdk/atoms/src/lib/configurator/components/widget-cloner/widget-cloner.component.js +1 -0
  170. package/sdk/atoms/src/lib/configurator/components/widget-cloner/widget-cloner.component.js.map +1 -1
  171. package/sdk/atoms/src/lib/configurator/components/widget-configurator-section/widget-configurator-section.component.js +1 -0
  172. package/sdk/atoms/src/lib/configurator/components/widget-configurator-section/widget-configurator-section.component.js.map +1 -1
  173. package/sdk/atoms/src/lib/configurator/components/widget-editor/widget-editor.component.js +1 -0
  174. package/sdk/atoms/src/lib/configurator/components/widget-editor/widget-editor.component.js.map +1 -1
  175. package/sdk/atoms/src/lib/configurator/components/widget-editor-accordion/widget-editor-accordion-header/widget-editor-accordion-header.component.js +1 -0
  176. package/sdk/atoms/src/lib/configurator/components/widget-editor-accordion/widget-editor-accordion-header/widget-editor-accordion-header.component.js.map +1 -1
  177. package/sdk/atoms/src/lib/configurator/components/widget-editor-accordion/widget-editor-accordion.component.js +1 -0
  178. package/sdk/atoms/src/lib/configurator/components/widget-editor-accordion/widget-editor-accordion.component.js.map +1 -1
  179. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/background-color-rules-configuration/background-color-rules-configuration.component.js +1 -0
  180. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/background-color-rules-configuration/background-color-rules-configuration.component.js.map +1 -1
  181. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/data-source-configuration/data-source-configuration.component.js +1 -0
  182. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/data-source-configuration/data-source-configuration.component.js.map +1 -1
  183. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/data-source-configuration-v2/data-source-configuration-v2.component.js +1 -0
  184. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/data-source-configuration-v2/data-source-configuration-v2.component.js.map +1 -1
  185. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/data-source-error/data-source-error.component.js +1 -0
  186. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/data-source-error/data-source-error.component.js.map +1 -1
  187. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/data-source-error/table/table-data-source-error.component.js +1 -0
  188. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/data-source-error/table/table-data-source-error.component.js.map +1 -1
  189. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/embedded-content-configuration/embedded-content-configuration.component.js +1 -0
  190. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/embedded-content-configuration/embedded-content-configuration.component.js.map +1 -1
  191. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/info-message-configuration/info-message-configuration.component.js +1 -0
  192. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/info-message-configuration/info-message-configuration.component.js.map +1 -1
  193. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/kpi-description-configuration/kpi-description-configuration.component.js +1 -0
  194. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/kpi-description-configuration/kpi-description-configuration.component.js.map +1 -1
  195. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/refresh-rate-configurator.component.js +1 -0
  196. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/refresh-rate-configurator.component.js.map +1 -1
  197. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/time-units.js +2 -2
  198. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/time-units.js.map +1 -1
  199. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresher-configuration.component.js +1 -0
  200. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresher-configuration.component.js.map +1 -1
  201. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/risk-score-tile-description-configuration/risk-score-tile-description-configuration.component.js +1 -0
  202. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/risk-score-tile-description-configuration/risk-score-tile-description-configuration.component.js.map +1 -1
  203. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/thresholds-configuration/thresholds-configuration.component.js +1 -0
  204. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/thresholds-configuration/thresholds-configuration.component.js.map +1 -1
  205. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/thresholds-configuration/thresholds-validator.js.map +1 -1
  206. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/timeseries-metadata-configuration/timeseries-metadata-configuration.component.js +1 -0
  207. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/timeseries-metadata-configuration/timeseries-metadata-configuration.component.js.map +1 -1
  208. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/title-and-description-configuration/title-and-description-configuration.component.js +1 -0
  209. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/title-and-description-configuration/title-and-description-configuration.component.js.map +1 -1
  210. package/sdk/atoms/src/lib/configurator/components/widgets/drilldown/entity-formatting-configuration/entity-formatting-configuration.component.js +1 -0
  211. package/sdk/atoms/src/lib/configurator/components/widgets/drilldown/entity-formatting-configuration/entity-formatting-configuration.component.js.map +1 -1
  212. package/sdk/atoms/src/lib/configurator/components/widgets/drilldown/grouping-configuration/grouping-configuration.component.js +1 -0
  213. package/sdk/atoms/src/lib/configurator/components/widgets/drilldown/grouping-configuration/grouping-configuration.component.js.map +1 -1
  214. package/sdk/atoms/src/lib/configurator/components/widgets/kpi/kpi-tiles-configuration/kpi-tiles-configuration.component.js +1 -0
  215. package/sdk/atoms/src/lib/configurator/components/widgets/kpi/kpi-tiles-configuration/kpi-tiles-configuration.component.js.map +1 -1
  216. package/sdk/atoms/src/lib/configurator/components/widgets/proportional/aggregators-configurators/aggregator-configurator/aggregator-configurator.component.js +1 -0
  217. package/sdk/atoms/src/lib/configurator/components/widgets/proportional/aggregators-configurators/aggregator-configurator/aggregator-configurator.component.js.map +1 -1
  218. package/sdk/atoms/src/lib/configurator/components/widgets/proportional/aggregators-configurators/field-mapper-aggregator-configurator/field-mapper-aggregator-configurator.component.js +1 -0
  219. package/sdk/atoms/src/lib/configurator/components/widgets/proportional/aggregators-configurators/field-mapper-aggregator-configurator/field-mapper-aggregator-configurator.component.js.map +1 -1
  220. package/sdk/atoms/src/lib/configurator/components/widgets/proportional/chart-options-editor/proportional-chart-options-editor.component.js +1 -0
  221. package/sdk/atoms/src/lib/configurator/components/widgets/proportional/chart-options-editor/proportional-chart-options-editor.component.js.map +1 -1
  222. package/sdk/atoms/src/lib/configurator/components/widgets/proportional/chart-options-editor-v2/proportional-chart-options-editor-v2.component.js +1 -0
  223. package/sdk/atoms/src/lib/configurator/components/widgets/proportional/chart-options-editor-v2/proportional-chart-options-editor-v2.component.js.map +1 -1
  224. package/sdk/atoms/src/lib/configurator/components/widgets/proportional/donut-content-configuration/donut-content-configuration.component.js +1 -0
  225. package/sdk/atoms/src/lib/configurator/components/widgets/proportional/donut-content-configuration/donut-content-configuration.component.js.map +1 -1
  226. package/sdk/atoms/src/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/risk-score-tiles-configuration.component.js +1 -0
  227. package/sdk/atoms/src/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/risk-score-tiles-configuration.component.js.map +1 -1
  228. package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/column-configuration/description-configuration/description-configuration.component.js +1 -0
  229. package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/column-configuration/description-configuration/description-configuration.component.js.map +1 -1
  230. package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/formatter-configurator.component.js.map +1 -1
  231. package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/link-configurator/link-configurator.component.js +1 -0
  232. package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/link-configurator/link-configurator.component.js.map +1 -1
  233. package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/value-selector/value-selector.component.js +1 -0
  234. package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/value-selector/value-selector.component.js.map +1 -1
  235. package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/presentation-configuration.component.js +1 -0
  236. package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/presentation-configuration.component.js.map +1 -1
  237. package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/table-columns-configuration.component.js +1 -0
  238. package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/table-columns-configuration.component.js.map +1 -1
  239. package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/description-configuration/description-configuration-v2.component.js +1 -0
  240. package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/description-configuration/description-configuration-v2.component.js.map +1 -1
  241. package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/presentation-configuration/presentation-configuration-v2.component.js +1 -0
  242. package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/presentation-configuration/presentation-configuration-v2.component.js.map +1 -1
  243. package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/table-column-configuration/table-column-configuration.component.js +1 -0
  244. package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/table-column-configuration/table-column-configuration.component.js.map +1 -1
  245. package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor-v2/table-columns-configuration-v2.component.js +1 -0
  246. package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor-v2/table-columns-configuration-v2.component.js.map +1 -1
  247. package/sdk/atoms/src/lib/configurator/components/widgets/table/filters-editor/table-filters-editor.component.js +1 -0
  248. package/sdk/atoms/src/lib/configurator/components/widgets/table/filters-editor/table-filters-editor.component.js.map +1 -1
  249. package/sdk/atoms/src/lib/configurator/components/widgets/table/scrollType-editor/scroll-type-editor.component.js +1 -0
  250. package/sdk/atoms/src/lib/configurator/components/widgets/table/scrollType-editor/scroll-type-editor.component.js.map +1 -1
  251. package/sdk/atoms/src/lib/configurator/components/widgets/timeseries/timeseries-series-collection-configuration/timeseries-series-collection-configuration.component.js +1 -0
  252. package/sdk/atoms/src/lib/configurator/components/widgets/timeseries/timeseries-series-collection-configuration/timeseries-series-collection-configuration.component.js.map +1 -1
  253. package/sdk/atoms/src/lib/configurator/components/widgets/timeseries/timeseries-tile-description-configuration/timeseries-tile-description-configuration.component.js +1 -0
  254. package/sdk/atoms/src/lib/configurator/components/widgets/timeseries/timeseries-tile-description-configuration/timeseries-tile-description-configuration.component.js.map +1 -1
  255. package/sdk/atoms/src/lib/configurator/components/widgets/timeseries/timeseries-tile-indicator-data-configuration/timeseries-tile-indicator-data-configuration.component.js +1 -0
  256. package/sdk/atoms/src/lib/configurator/components/widgets/timeseries/timeseries-tile-indicator-data-configuration/timeseries-tile-indicator-data-configuration.component.js.map +1 -1
  257. package/sdk/atoms/src/lib/configurator/components/wizard/dashwiz/dashwiz-buttons.component.js +1 -0
  258. package/sdk/atoms/src/lib/configurator/components/wizard/dashwiz/dashwiz-buttons.component.js.map +1 -1
  259. package/sdk/atoms/src/lib/configurator/components/wizard/dashwiz/dashwiz.component.js +1 -0
  260. package/sdk/atoms/src/lib/configurator/components/wizard/dashwiz/dashwiz.component.js.map +1 -1
  261. package/sdk/atoms/src/lib/configurator/components/wizard/dashwiz-step/dashwiz-step.component.js +1 -0
  262. package/sdk/atoms/src/lib/configurator/components/wizard/dashwiz-step/dashwiz-step.component.js.map +1 -1
  263. package/sdk/atoms/src/lib/configurator/configurator.module.js.map +1 -1
  264. package/sdk/atoms/src/lib/configurator/functions/has-control-in-error-state.js +1 -2
  265. package/sdk/atoms/src/lib/configurator/functions/has-control-in-error-state.js.map +1 -1
  266. package/sdk/atoms/src/lib/configurator/pipe/add-data.pipe.js +4 -1
  267. package/sdk/atoms/src/lib/configurator/pipe/add-data.pipe.js.map +1 -1
  268. package/sdk/atoms/src/lib/configurator/pipe/pizzagna-root.pipe.js +1 -0
  269. package/sdk/atoms/src/lib/configurator/pipe/pizzagna-root.pipe.js.map +1 -1
  270. package/sdk/atoms/src/lib/configurator/pipe/widget-configurator-section-header.pipe.js +1 -0
  271. package/sdk/atoms/src/lib/configurator/pipe/widget-configurator-section-header.pipe.js.map +1 -1
  272. package/sdk/atoms/src/lib/configurator/pipe/widget-editor-accordion-form-state.pipe.js +1 -0
  273. package/sdk/atoms/src/lib/configurator/pipe/widget-editor-accordion-form-state.pipe.js.map +1 -1
  274. package/sdk/atoms/src/lib/configurator/pipe/widget-editor-accordion-header-icon.pipe.js +1 -0
  275. package/sdk/atoms/src/lib/configurator/pipe/widget-editor-accordion-header-icon.pipe.js.map +1 -1
  276. package/sdk/atoms/src/lib/configurator/services/configurator-data-source-manager.service.js.map +1 -1
  277. package/sdk/atoms/src/lib/configurator/services/configurator.service.js.map +1 -1
  278. package/sdk/atoms/src/lib/configurator/services/converters/kpi/kpi-section-converter/kpi-section-converter.service.js.map +1 -1
  279. package/sdk/atoms/src/lib/configurator/services/converters/kpi/kpi-tiles-converter.service.js.map +1 -1
  280. package/sdk/atoms/src/lib/configurator/services/converters/shared/generic-array-converter/generic-array-converter.service.js.map +1 -1
  281. package/sdk/atoms/src/lib/configurator/services/converters/shared/generic-converter/generic-converter.service.js.map +1 -1
  282. package/sdk/atoms/src/lib/configurator/services/converters/table/table-columns-converter.service.js.map +1 -1
  283. package/sdk/atoms/src/lib/configurator/services/converters/timeseries/timeseries-metadata-converter.service.js.map +1 -1
  284. package/sdk/atoms/src/lib/configurator/services/converters/timeseries/timeseries-series-converter.service.js.map +1 -1
  285. package/sdk/atoms/src/lib/configurator/services/converters/timeseries/timeseries-tile-indicator-data-converter.service.js.map +1 -1
  286. package/sdk/atoms/src/lib/configurator/services/widget-cloner.service.js.map +1 -1
  287. package/sdk/atoms/src/lib/configurator/services/widget-editor.service.js.map +1 -1
  288. package/sdk/atoms/src/lib/dashboards.module.js.map +1 -1
  289. package/sdk/atoms/src/lib/directives/gridster-item-widget-id/gridster-item-widget-id.directive.js +1 -0
  290. package/sdk/atoms/src/lib/directives/gridster-item-widget-id/gridster-item-widget-id.directive.js.map +1 -1
  291. package/sdk/atoms/src/lib/directives/widget-editor/widget-editor.directive.js +1 -0
  292. package/sdk/atoms/src/lib/directives/widget-editor/widget-editor.directive.js.map +1 -1
  293. package/sdk/atoms/src/lib/functions/get-parent-component-id.js +1 -2
  294. package/sdk/atoms/src/lib/functions/get-parent-component-id.js.map +1 -1
  295. package/sdk/atoms/src/lib/functions/map-data-to-formatter-properties.js +1 -2
  296. package/sdk/atoms/src/lib/functions/map-data-to-formatter-properties.js.map +1 -1
  297. package/sdk/atoms/src/lib/functions/merge-changes.js +1 -2
  298. package/sdk/atoms/src/lib/functions/merge-changes.js.map +1 -1
  299. package/sdk/atoms/src/lib/functions/on-mark-as-touched.js +1 -2
  300. package/sdk/atoms/src/lib/functions/on-mark-as-touched.js.map +1 -1
  301. package/sdk/atoms/src/lib/functions/parse-string-with-data.js +1 -2
  302. package/sdk/atoms/src/lib/functions/parse-string-with-data.js.map +1 -1
  303. package/sdk/atoms/src/lib/functions/proportional-aggregators/field-mapper.js.map +1 -1
  304. package/sdk/atoms/src/lib/functions/proportional-aggregators/percentage-aggregator.js.map +1 -1
  305. package/sdk/atoms/src/lib/functions/proportional-aggregators/sum-aggregator.js.map +1 -1
  306. package/sdk/atoms/src/lib/functions/round-array-values.js +1 -2
  307. package/sdk/atoms/src/lib/functions/round-array-values.js.map +1 -1
  308. package/sdk/atoms/src/lib/functions/timeseries-datetime-formatter.js.map +1 -1
  309. package/sdk/atoms/src/lib/pizzagna/components/pizzagna/pizzagna.component.js +1 -0
  310. package/sdk/atoms/src/lib/pizzagna/components/pizzagna/pizzagna.component.js.map +1 -1
  311. package/sdk/atoms/src/lib/pizzagna/directives/component-portal/component-portal.directive.js +1 -0
  312. package/sdk/atoms/src/lib/pizzagna/directives/component-portal/component-portal.directive.js.map +1 -1
  313. package/sdk/atoms/src/lib/pizzagna/functions/get-pizzagna-property-path.js +1 -2
  314. package/sdk/atoms/src/lib/pizzagna/functions/get-pizzagna-property-path.js.map +1 -1
  315. package/sdk/atoms/src/lib/pizzagna/services/component-portal.service.js.map +1 -1
  316. package/sdk/atoms/src/lib/pizzagna/services/component-registry.service.js.map +1 -1
  317. package/sdk/atoms/src/lib/pizzagna/services/pizzagna.service.js.map +1 -1
  318. package/sdk/atoms/src/lib/services/category-chart-util.service.js.map +1 -1
  319. package/sdk/atoms/src/lib/services/event-registry.service.js.map +1 -1
  320. package/sdk/atoms/src/lib/services/provider-registry.service.js.map +1 -1
  321. package/sdk/atoms/src/lib/services/registry-service.js.map +1 -1
  322. package/sdk/atoms/src/lib/services/url-interaction.service.js.map +1 -1
  323. package/sdk/atoms/src/lib/services/widget-removal.service.js.map +1 -1
  324. package/sdk/atoms/src/lib/services/widget-to-dashboard-event-proxy.service.js.map +1 -1
  325. package/sdk/atoms/src/lib/services/widget-types.service.js.map +1 -1
  326. package/sdk/atoms/src/lib/widget-types/common/widget/components.js +2 -2
  327. package/sdk/atoms/src/lib/widget-types/common/widget/components.js.map +1 -1
  328. package/sdk/atoms/src/lib/widget-types/common/widget/providers.js +2 -2
  329. package/sdk/atoms/src/lib/widget-types/common/widget/providers.js.map +1 -1
  330. package/sdk/atoms/src/lib/widget-types/kpi/kpi-widget.d.ts +1 -1
  331. package/sdk/atoms/src/lib/widget-types/proportional/proportional-widget.d.ts +1 -1
  332. package/sdk/atoms/src/lib/widget-types/risk-score/risk-score-widget.d.ts +1 -1
  333. package/sdk/atoms/src/lib/widget-types/timeseries/timeseries-widget.d.ts +1 -1
  334. package/sdk/schematics/ng-add/index.js +1 -1
  335. package/sdk/schematics/ng-add/index.js.map +1 -1
  336. package/esm2022/lib/common/common.module.mjs +0 -41
  337. package/esm2022/lib/common/components/preview-overlay/preview-overlay.component.mjs +0 -35
  338. package/esm2022/lib/common/components/public-api.mjs +0 -22
  339. package/esm2022/lib/common/components/widget-error/widget-error.component.mjs +0 -54
  340. package/esm2022/lib/common/constants.mjs +0 -22
  341. package/esm2022/lib/common/pipes/dashboard-unit-conversion-pipe.mjs +0 -57
  342. package/esm2022/lib/common/pipes/public-api.mjs +0 -21
  343. package/esm2022/lib/common/public-api.mjs +0 -24
  344. package/esm2022/lib/components/dashboard/dashboard.component.mjs +0 -222
  345. package/esm2022/lib/components/dashboard/default-gridster-config.mjs +0 -78
  346. package/esm2022/lib/components/dashboard/public-api.mjs +0 -22
  347. package/esm2022/lib/components/dashboard/types.mjs +0 -21
  348. package/esm2022/lib/components/embedded-content/embedded-content.component.mjs +0 -95
  349. package/esm2022/lib/components/kpi-widget/kpi.component.mjs +0 -129
  350. package/esm2022/lib/components/kpi-widget/public-api.mjs +0 -22
  351. package/esm2022/lib/components/kpi-widget/types.mjs +0 -25
  352. package/esm2022/lib/components/layouts/base-layout.mjs +0 -118
  353. package/esm2022/lib/components/layouts/public-api.mjs +0 -23
  354. package/esm2022/lib/components/layouts/stack/stack.component.mjs +0 -65
  355. package/esm2022/lib/components/layouts/tiles/tiles.component.mjs +0 -99
  356. package/esm2022/lib/components/list-widget/list-elements/list-group-item/list-group-item.component.mjs +0 -62
  357. package/esm2022/lib/components/list-widget/list-elements/list-leaf-item/list-leaf-item.component.mjs +0 -76
  358. package/esm2022/lib/components/list-widget/list-elements/list-navigation-bar/list-navigation-bar.component.mjs +0 -60
  359. package/esm2022/lib/components/list-widget/list-widget.component.mjs +0 -109
  360. package/esm2022/lib/components/list-widget/public-api.mjs +0 -25
  361. package/esm2022/lib/components/list-widget/types.mjs +0 -21
  362. package/esm2022/lib/components/loading/loading.component.mjs +0 -51
  363. package/esm2022/lib/components/loading/public-api.mjs +0 -21
  364. package/esm2022/lib/components/proportional-widget/proportional-donut-content/proportional-donut-content.component.mjs +0 -152
  365. package/esm2022/lib/components/proportional-widget/proportional-widget.component.mjs +0 -333
  366. package/esm2022/lib/components/proportional-widget/public-api.mjs +0 -23
  367. package/esm2022/lib/components/proportional-widget/types.mjs +0 -27
  368. package/esm2022/lib/components/providers/data-source-adapter.mjs +0 -145
  369. package/esm2022/lib/components/providers/drilldown-data-source-adapter.mjs +0 -114
  370. package/esm2022/lib/components/providers/event-bus-debugger.mjs +0 -58
  371. package/esm2022/lib/components/providers/interaction/interaction-handler.mjs +0 -54
  372. package/esm2022/lib/components/providers/interaction/url-interaction-handler.mjs +0 -69
  373. package/esm2022/lib/components/providers/kpi-color-prioritizer.mjs +0 -107
  374. package/esm2022/lib/components/providers/kpi-data-source-adapter.mjs +0 -109
  375. package/esm2022/lib/components/providers/kpi-scale-sync-broker.mjs +0 -143
  376. package/esm2022/lib/components/providers/kpi-status-content-fallback-adapter.mjs +0 -104
  377. package/esm2022/lib/components/providers/loading-adapter.mjs +0 -72
  378. package/esm2022/lib/components/providers/pizzagna-broadcaster.service.mjs +0 -84
  379. package/esm2022/lib/components/providers/public-api.mjs +0 -28
  380. package/esm2022/lib/components/providers/refresher-settings.service.mjs +0 -52
  381. package/esm2022/lib/components/providers/refresher.mjs +0 -105
  382. package/esm2022/lib/components/providers/status-content-fallback-adapter.mjs +0 -67
  383. package/esm2022/lib/components/providers/table-data-source-adapter.mjs +0 -90
  384. package/esm2022/lib/components/providers/timeseries-data-source-adapter.mjs +0 -72
  385. package/esm2022/lib/components/providers/types.mjs +0 -22
  386. package/esm2022/lib/components/public-api.mjs +0 -37
  387. package/esm2022/lib/components/risk-score-tile/public-api.mjs +0 -22
  388. package/esm2022/lib/components/risk-score-tile/risk-score-tile.component.mjs +0 -115
  389. package/esm2022/lib/components/risk-score-tile/types.mjs +0 -25
  390. package/esm2022/lib/components/table-widget/addons/paginator-feature-addon.service.mjs +0 -116
  391. package/esm2022/lib/components/table-widget/addons/search-feature-addon.service.mjs +0 -101
  392. package/esm2022/lib/components/table-widget/addons/virtual-scroll-feature-addon.service.mjs +0 -84
  393. package/esm2022/lib/components/table-widget/delayed-mouse-presence-detection.directive.mjs +0 -74
  394. package/esm2022/lib/components/table-widget/public-api.mjs +0 -23
  395. package/esm2022/lib/components/table-widget/table-widget.component.mjs +0 -612
  396. package/esm2022/lib/components/table-widget/types.mjs +0 -26
  397. package/esm2022/lib/components/template-load-error/public-api.mjs +0 -21
  398. package/esm2022/lib/components/template-load-error/template-load-error.component.mjs +0 -38
  399. package/esm2022/lib/components/time-frame-selection/public-api.mjs +0 -21
  400. package/esm2022/lib/components/time-frame-selection/timeframe-selection.component.mjs +0 -127
  401. package/esm2022/lib/components/timeseries-widget/chart-presets/public-api.mjs +0 -27
  402. package/esm2022/lib/components/timeseries-widget/chart-presets/status-bar-chart/apply-status-endpoints.mjs +0 -73
  403. package/esm2022/lib/components/timeseries-widget/chart-presets/status-bar-chart/status-bar-chart.component.mjs +0 -237
  404. package/esm2022/lib/components/timeseries-widget/chart-presets/timeseries-chart.component.mjs +0 -175
  405. package/esm2022/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/line-chart.component.mjs +0 -62
  406. package/esm2022/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-area-chart.component.mjs +0 -68
  407. package/esm2022/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-bar-chart.component.mjs +0 -84
  408. package/esm2022/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-percentage-area-chart.component.mjs +0 -62
  409. package/esm2022/lib/components/timeseries-widget/chart-presets/xy-chart/xy-chart.component.mjs +0 -347
  410. package/esm2022/lib/components/timeseries-widget/public-api.mjs +0 -27
  411. package/esm2022/lib/components/timeseries-widget/timeseries-chart-preset.service.mjs +0 -57
  412. package/esm2022/lib/components/timeseries-widget/timeseries-helpers.mjs +0 -44
  413. package/esm2022/lib/components/timeseries-widget/timeseries-inspection-menu/timeseries-inspection-menu.component.mjs +0 -150
  414. package/esm2022/lib/components/timeseries-widget/timeseries-scales.service.mjs +0 -180
  415. package/esm2022/lib/components/timeseries-widget/timeseries-widget.component.mjs +0 -111
  416. package/esm2022/lib/components/timeseries-widget/transformer/loess.mjs +0 -220
  417. package/esm2022/lib/components/timeseries-widget/transformer/public-api.mjs +0 -29
  418. package/esm2022/lib/components/timeseries-widget/transformer/transformer-change-point.mjs +0 -104
  419. package/esm2022/lib/components/timeseries-widget/transformer/transformer-difference.mjs +0 -58
  420. package/esm2022/lib/components/timeseries-widget/transformer/transformer-floating-average.mjs +0 -41
  421. package/esm2022/lib/components/timeseries-widget/transformer/transformer-lin-reg.mjs +0 -66
  422. package/esm2022/lib/components/timeseries-widget/transformer/transformer-loess-standardize.mjs +0 -29
  423. package/esm2022/lib/components/timeseries-widget/transformer/transformer-loess.mjs +0 -38
  424. package/esm2022/lib/components/timeseries-widget/transformer/transformer-normalize.mjs +0 -47
  425. package/esm2022/lib/components/timeseries-widget/transformer/transformer-percentile-std.mjs +0 -58
  426. package/esm2022/lib/components/timeseries-widget/transformer/transformer-standardize.mjs +0 -47
  427. package/esm2022/lib/components/timeseries-widget/types.mjs +0 -76
  428. package/esm2022/lib/components/types.mjs +0 -25
  429. package/esm2022/lib/components/widget/public-api.mjs +0 -26
  430. package/esm2022/lib/components/widget/types.mjs +0 -21
  431. package/esm2022/lib/components/widget/widget-body/widget-body.component.mjs +0 -88
  432. package/esm2022/lib/components/widget/widget-body-content/widget-body-content.component.mjs +0 -75
  433. package/esm2022/lib/components/widget/widget-header/types.mjs +0 -21
  434. package/esm2022/lib/components/widget/widget-header/widget-header.component.mjs +0 -202
  435. package/esm2022/lib/components/widget/widget.component.mjs +0 -65
  436. package/esm2022/lib/components/widget-search/types.mjs +0 -21
  437. package/esm2022/lib/components/widget-search/widget-search.component.mjs +0 -111
  438. package/esm2022/lib/configurator/components/color-picker/HTMLcolors.mjs +0 -163
  439. package/esm2022/lib/configurator/components/color-picker/color-picker.component.mjs +0 -183
  440. package/esm2022/lib/configurator/components/color-picker/color.service.mjs +0 -56
  441. package/esm2022/lib/configurator/components/configurator/configurator.component.mjs +0 -119
  442. package/esm2022/lib/configurator/components/drop-area/drop-area.component.mjs +0 -30
  443. package/esm2022/lib/configurator/components/form-stack/form-stack.component.mjs +0 -86
  444. package/esm2022/lib/configurator/components/formatters/donut-content-percentage-formatter/donut-content-percentage-configuration.component.mjs +0 -43
  445. package/esm2022/lib/configurator/components/formatters/donut-content-percentage-formatter/donut-content-percentage-formatter.component.mjs +0 -84
  446. package/esm2022/lib/configurator/components/formatters/donut-content-raw-formatter/donut-content-raw-formatter.component.mjs +0 -89
  447. package/esm2022/lib/configurator/components/formatters/donut-content-sum-formatter/donut-content-sum-formatter.component.mjs +0 -47
  448. package/esm2022/lib/configurator/components/formatters/icon-formatter/icon-formatter.component.mjs +0 -85
  449. package/esm2022/lib/configurator/components/formatters/link-formatter/link-formatter.component.mjs +0 -61
  450. package/esm2022/lib/configurator/components/formatters/percentage-formatter/percentage-formatter.component.mjs +0 -35
  451. package/esm2022/lib/configurator/components/formatters/raw-formatter/raw-formatter.component.mjs +0 -44
  452. package/esm2022/lib/configurator/components/formatters/si-units-formatter/si-units-formatter.component.mjs +0 -120
  453. package/esm2022/lib/configurator/components/formatters/status-with-icon-formatter/status-with-icon-formatter.component.mjs +0 -105
  454. package/esm2022/lib/configurator/components/formatters/types.mjs +0 -21
  455. package/esm2022/lib/configurator/components/formatters/widget-formatter-configurators/donut-formatter-configurator.component.mjs +0 -92
  456. package/esm2022/lib/configurator/components/heading/configurator-heading.component.mjs +0 -49
  457. package/esm2022/lib/configurator/components/items-dynamic/items-dynamic.component.mjs +0 -148
  458. package/esm2022/lib/configurator/components/preview-placeholder/preview-placeholder.component.mjs +0 -31
  459. package/esm2022/lib/configurator/components/public-api.mjs +0 -46
  460. package/esm2022/lib/configurator/components/types.mjs +0 -21
  461. package/esm2022/lib/configurator/components/widget-cloner/widget-cloner.component.mjs +0 -184
  462. package/esm2022/lib/configurator/components/widget-configurator-section/widget-configurator-section-coordinator.service.mjs +0 -57
  463. package/esm2022/lib/configurator/components/widget-configurator-section/widget-configurator-section.component.mjs +0 -83
  464. package/esm2022/lib/configurator/components/widget-editor/widget-editor.component.mjs +0 -146
  465. package/esm2022/lib/configurator/components/widget-editor-accordion/widget-editor-accordion-header/widget-editor-accordion-header.component.mjs +0 -25
  466. package/esm2022/lib/configurator/components/widget-editor-accordion/widget-editor-accordion.component.mjs +0 -73
  467. package/esm2022/lib/configurator/components/widgets/configurator-items/background-color-rules-configuration/background-color-rules-configuration.component.mjs +0 -122
  468. package/esm2022/lib/configurator/components/widgets/configurator-items/data-source-configuration/data-source-configuration.component.mjs +0 -153
  469. package/esm2022/lib/configurator/components/widgets/configurator-items/data-source-configuration-v2/data-source-configuration-v2.component.mjs +0 -198
  470. package/esm2022/lib/configurator/components/widgets/configurator-items/data-source-error/data-source-error.component.mjs +0 -74
  471. package/esm2022/lib/configurator/components/widgets/configurator-items/data-source-error/public-api.mjs +0 -22
  472. package/esm2022/lib/configurator/components/widgets/configurator-items/data-source-error/table/table-data-source-error.component.mjs +0 -41
  473. package/esm2022/lib/configurator/components/widgets/configurator-items/embedded-content-configuration/embedded-content-configuration.component.mjs +0 -133
  474. package/esm2022/lib/configurator/components/widgets/configurator-items/info-message-configuration/info-message-configuration.component.mjs +0 -44
  475. package/esm2022/lib/configurator/components/widgets/configurator-items/kpi-description-configuration/kpi-description-configuration.component.mjs +0 -107
  476. package/esm2022/lib/configurator/components/widgets/configurator-items/public-api.mjs +0 -31
  477. package/esm2022/lib/configurator/components/widgets/configurator-items/refresher-configuration/public-api.mjs +0 -22
  478. package/esm2022/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/refresh-rate-configurator.component.mjs +0 -237
  479. package/esm2022/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/time-units.mjs +0 -44
  480. package/esm2022/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/types.mjs +0 -21
  481. package/esm2022/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresher-configuration.component.mjs +0 -170
  482. package/esm2022/lib/configurator/components/widgets/configurator-items/risk-score-tile-description-configuration/risk-score-tile-description-configuration.component.mjs +0 -106
  483. package/esm2022/lib/configurator/components/widgets/configurator-items/thresholds-configuration/thresholds-configuration.component.mjs +0 -140
  484. package/esm2022/lib/configurator/components/widgets/configurator-items/thresholds-configuration/thresholds-validator.mjs +0 -56
  485. package/esm2022/lib/configurator/components/widgets/configurator-items/timeseries-metadata-configuration/timeseries-metadata-configuration.component.mjs +0 -151
  486. package/esm2022/lib/configurator/components/widgets/configurator-items/title-and-description-configuration/title-and-description-configuration.component.mjs +0 -91
  487. package/esm2022/lib/configurator/components/widgets/drilldown/entity-formatting-configuration/entity-formatting-configuration.component.mjs +0 -68
  488. package/esm2022/lib/configurator/components/widgets/drilldown/grouping-configuration/grouping-configuration.component.mjs +0 -154
  489. package/esm2022/lib/configurator/components/widgets/drilldown/public-api.mjs +0 -22
  490. package/esm2022/lib/configurator/components/widgets/kpi/kpi-tiles-configuration/kpi-tiles-configuration.component.mjs +0 -92
  491. package/esm2022/lib/configurator/components/widgets/kpi/kpi-tiles-configuration/public-api.mjs +0 -21
  492. package/esm2022/lib/configurator/components/widgets/kpi/public-api.mjs +0 -22
  493. package/esm2022/lib/configurator/components/widgets/kpi/types.mjs +0 -33
  494. package/esm2022/lib/configurator/components/widgets/proportional/aggregators-configurators/aggregator-configurator/aggregator-configurator.component.mjs +0 -72
  495. package/esm2022/lib/configurator/components/widgets/proportional/aggregators-configurators/field-mapper-aggregator-configurator/field-mapper-aggregator-configurator.component.mjs +0 -87
  496. package/esm2022/lib/configurator/components/widgets/proportional/chart-options-editor/proportional-chart-options-editor.component.mjs +0 -166
  497. package/esm2022/lib/configurator/components/widgets/proportional/chart-options-editor-v2/proportional-chart-options-editor-v2.component.mjs +0 -108
  498. package/esm2022/lib/configurator/components/widgets/proportional/donut-content-configuration/donut-content-configuration.component.mjs +0 -167
  499. package/esm2022/lib/configurator/components/widgets/proportional/public-api.mjs +0 -25
  500. package/esm2022/lib/configurator/components/widgets/public-api.mjs +0 -27
  501. package/esm2022/lib/configurator/components/widgets/risk-score/public-api.mjs +0 -22
  502. package/esm2022/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/public-api.mjs +0 -21
  503. package/esm2022/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/risk-score-tiles-configuration.component.mjs +0 -92
  504. package/esm2022/lib/configurator/components/widgets/risk-score/types.mjs +0 -21
  505. package/esm2022/lib/configurator/components/widgets/table/columns-editor/column-configuration/description-configuration/description-configuration.component.mjs +0 -80
  506. package/esm2022/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/formatter-configurator.component.mjs +0 -117
  507. package/esm2022/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/link-configurator/link-configurator.component.mjs +0 -53
  508. package/esm2022/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/value-selector/value-selector.component.mjs +0 -43
  509. package/esm2022/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/presentation-configuration.component.mjs +0 -259
  510. package/esm2022/lib/configurator/components/widgets/table/columns-editor/table-columns-configuration.component.mjs +0 -264
  511. package/esm2022/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/description-configuration/description-configuration-v2.component.mjs +0 -123
  512. package/esm2022/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/presentation-configuration/presentation-configuration-v2.component.mjs +0 -309
  513. package/esm2022/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/table-column-configuration/table-column-configuration.component.mjs +0 -109
  514. package/esm2022/lib/configurator/components/widgets/table/columns-editor-v2/table-columns-configuration-v2.component.mjs +0 -250
  515. package/esm2022/lib/configurator/components/widgets/table/filters-editor/table-filters-editor.component.mjs +0 -122
  516. package/esm2022/lib/configurator/components/widgets/table/public-api.mjs +0 -32
  517. package/esm2022/lib/configurator/components/widgets/table/scrollType-editor/scroll-type-editor.component.mjs +0 -190
  518. package/esm2022/lib/configurator/components/widgets/table/scrollType-editor/scroll-type-editor.service.mjs +0 -39
  519. package/esm2022/lib/configurator/components/widgets/timeseries/public-api.mjs +0 -25
  520. package/esm2022/lib/configurator/components/widgets/timeseries/timeseries-series-collection-configuration/timeseries-series-collection-configuration.component.mjs +0 -111
  521. package/esm2022/lib/configurator/components/widgets/timeseries/timeseries-tile-description-configuration/timeseries-tile-description-configuration.component.mjs +0 -68
  522. package/esm2022/lib/configurator/components/widgets/timeseries/timeseries-tile-indicator-data-configuration/timeseries-tile-indicator-data-configuration.component.mjs +0 -107
  523. package/esm2022/lib/configurator/components/widgets/timeseries/types.mjs +0 -21
  524. package/esm2022/lib/configurator/components/wizard/dashwiz/dashwiz-buttons.component.mjs +0 -174
  525. package/esm2022/lib/configurator/components/wizard/dashwiz/dashwiz.component.mjs +0 -354
  526. package/esm2022/lib/configurator/components/wizard/dashwiz/dashwiz.service.mjs +0 -33
  527. package/esm2022/lib/configurator/components/wizard/dashwiz/model.mjs +0 -21
  528. package/esm2022/lib/configurator/components/wizard/dashwiz/public-api.mjs +0 -23
  529. package/esm2022/lib/configurator/components/wizard/dashwiz-step/dashwiz-step.component.mjs +0 -131
  530. package/esm2022/lib/configurator/components/wizard/dashwiz-step/public-api.mjs +0 -21
  531. package/esm2022/lib/configurator/components/wizard/public-api.mjs +0 -23
  532. package/esm2022/lib/configurator/components/wizard/types.mjs +0 -21
  533. package/esm2022/lib/configurator/configurator.module.mjs +0 -443
  534. package/esm2022/lib/configurator/functions/has-control-in-error-state.mjs +0 -56
  535. package/esm2022/lib/configurator/functions/public-api.mjs +0 -21
  536. package/esm2022/lib/configurator/pipe/add-data.pipe.mjs +0 -47
  537. package/esm2022/lib/configurator/pipe/pizzagna-root.pipe.mjs +0 -45
  538. package/esm2022/lib/configurator/pipe/public-api.mjs +0 -25
  539. package/esm2022/lib/configurator/pipe/widget-configurator-section-header.pipe.mjs +0 -38
  540. package/esm2022/lib/configurator/pipe/widget-editor-accordion-form-state.pipe.mjs +0 -50
  541. package/esm2022/lib/configurator/pipe/widget-editor-accordion-header-icon.pipe.mjs +0 -48
  542. package/esm2022/lib/configurator/public-api.mjs +0 -26
  543. package/esm2022/lib/configurator/services/configurator-data-source-manager.service.mjs +0 -89
  544. package/esm2022/lib/configurator/services/configurator-heading.service.mjs +0 -33
  545. package/esm2022/lib/configurator/services/configurator.service.mjs +0 -149
  546. package/esm2022/lib/configurator/services/converters/base-converter.mjs +0 -71
  547. package/esm2022/lib/configurator/services/converters/kpi/kpi-section-converter/kpi-section-converter.service.mjs +0 -86
  548. package/esm2022/lib/configurator/services/converters/kpi/kpi-tiles-converter.service.mjs +0 -107
  549. package/esm2022/lib/configurator/services/converters/proportional/proportional-widget-chart-options-converter.service.mjs +0 -68
  550. package/esm2022/lib/configurator/services/converters/public-api.mjs +0 -26
  551. package/esm2022/lib/configurator/services/converters/shared/generic-array-converter/generic-array-converter.service.mjs +0 -81
  552. package/esm2022/lib/configurator/services/converters/shared/generic-converter/generic-converter.service.mjs +0 -81
  553. package/esm2022/lib/configurator/services/converters/shared/title-and-description-converter/title-and-description-converter.service.mjs +0 -64
  554. package/esm2022/lib/configurator/services/converters/table/table-columns-converter.service.mjs +0 -183
  555. package/esm2022/lib/configurator/services/converters/table/table-filters-converter.service.mjs +0 -65
  556. package/esm2022/lib/configurator/services/converters/table/table-scroll-type-converter.service.mjs +0 -68
  557. package/esm2022/lib/configurator/services/converters/timeseries/timeseries-metadata-converter.service.mjs +0 -85
  558. package/esm2022/lib/configurator/services/converters/timeseries/timeseries-series-converter.service.mjs +0 -172
  559. package/esm2022/lib/configurator/services/converters/timeseries/timeseries-tile-indicator-data-converter.service.mjs +0 -75
  560. package/esm2022/lib/configurator/services/converters/types.mjs +0 -22
  561. package/esm2022/lib/configurator/services/kpi-widget-color.service.mjs +0 -42
  562. package/esm2022/lib/configurator/services/preview.service.mjs +0 -40
  563. package/esm2022/lib/configurator/services/public-api.mjs +0 -29
  564. package/esm2022/lib/configurator/services/timeframe-serialization.service.mjs +0 -49
  565. package/esm2022/lib/configurator/services/types.mjs +0 -21
  566. package/esm2022/lib/configurator/services/widget-cloner.service.mjs +0 -56
  567. package/esm2022/lib/configurator/services/widget-editor.service.mjs +0 -65
  568. package/esm2022/lib/configurator/types.mjs +0 -26
  569. package/esm2022/lib/constants/default-palette.mjs +0 -82
  570. package/esm2022/lib/constants/public-api.mjs +0 -21
  571. package/esm2022/lib/constants/si-units-prefixes.mjs +0 -114
  572. package/esm2022/lib/dashboards.module.mjs +0 -335
  573. package/esm2022/lib/directives/gridster-item-widget-id/gridster-item-widget-id.directive.mjs +0 -52
  574. package/esm2022/lib/directives/public-api.mjs +0 -22
  575. package/esm2022/lib/directives/widget-editor/public-api.mjs +0 -21
  576. package/esm2022/lib/directives/widget-editor/widget-editor.directive.mjs +0 -104
  577. package/esm2022/lib/functions/get-parent-component-id.mjs +0 -30
  578. package/esm2022/lib/functions/map-data-to-formatter-properties.mjs +0 -44
  579. package/esm2022/lib/functions/merge-changes.mjs +0 -110
  580. package/esm2022/lib/functions/on-mark-as-touched.mjs +0 -35
  581. package/esm2022/lib/functions/parse-string-with-data.mjs +0 -44
  582. package/esm2022/lib/functions/proportional-aggregators/field-mapper.mjs +0 -33
  583. package/esm2022/lib/functions/proportional-aggregators/percentage-aggregator.mjs +0 -44
  584. package/esm2022/lib/functions/proportional-aggregators/public-api.mjs +0 -24
  585. package/esm2022/lib/functions/proportional-aggregators/sum-aggregator.mjs +0 -35
  586. package/esm2022/lib/functions/proportional-aggregators/types.mjs +0 -21
  587. package/esm2022/lib/functions/public-api.mjs +0 -24
  588. package/esm2022/lib/functions/round-array-values.mjs +0 -32
  589. package/esm2022/lib/functions/timeseries-datetime-formatter.mjs +0 -40
  590. package/esm2022/lib/pizzagna/components/pizzagna/pizzagna.component.mjs +0 -134
  591. package/esm2022/lib/pizzagna/components/pizzagna/public-api.mjs +0 -21
  592. package/esm2022/lib/pizzagna/directives/component-portal/component-portal.directive.mjs +0 -306
  593. package/esm2022/lib/pizzagna/directives/component-portal/public-api.mjs +0 -21
  594. package/esm2022/lib/pizzagna/functions/get-pizzagna-property-path.mjs +0 -41
  595. package/esm2022/lib/pizzagna/functions/public-api.mjs +0 -21
  596. package/esm2022/lib/pizzagna/pizzagna.module.mjs +0 -39
  597. package/esm2022/lib/pizzagna/public-api.mjs +0 -26
  598. package/esm2022/lib/pizzagna/services/component-portal.service.mjs +0 -65
  599. package/esm2022/lib/pizzagna/services/component-registry.service.mjs +0 -54
  600. package/esm2022/lib/pizzagna/services/dynamic-component-creator.service.mjs +0 -63
  601. package/esm2022/lib/pizzagna/services/pizzagna.service.mjs +0 -133
  602. package/esm2022/lib/pizzagna/services/public-api.mjs +0 -24
  603. package/esm2022/lib/services/category-chart-util.service.mjs +0 -126
  604. package/esm2022/lib/services/event-registry.service.mjs +0 -48
  605. package/esm2022/lib/services/kpi-color-comparators-registry.service.mjs +0 -68
  606. package/esm2022/lib/services/proportional-content-aggregators-registry.service.mjs +0 -39
  607. package/esm2022/lib/services/provider-registry.service.mjs +0 -294
  608. package/esm2022/lib/services/public-api.mjs +0 -31
  609. package/esm2022/lib/services/registry-service.mjs +0 -83
  610. package/esm2022/lib/services/table-formatter-registry.service.mjs +0 -98
  611. package/esm2022/lib/services/types.mjs +0 -81
  612. package/esm2022/lib/services/unit-test-registry.service.mjs +0 -41
  613. package/esm2022/lib/services/url-interaction.service.mjs +0 -52
  614. package/esm2022/lib/services/widget-configuration.service.mjs +0 -35
  615. package/esm2022/lib/services/widget-removal.service.mjs +0 -60
  616. package/esm2022/lib/services/widget-to-dashboard-event-proxy.service.mjs +0 -151
  617. package/esm2022/lib/services/widget-types.service.mjs +0 -88
  618. package/esm2022/lib/types.mjs +0 -77
  619. package/esm2022/lib/widget-types/common/configurator/components.mjs +0 -51
  620. package/esm2022/lib/widget-types/common/configurator/public-api.mjs +0 -21
  621. package/esm2022/lib/widget-types/common/public-api.mjs +0 -22
  622. package/esm2022/lib/widget-types/common/widget/components.mjs +0 -133
  623. package/esm2022/lib/widget-types/common/widget/legend.mjs +0 -26
  624. package/esm2022/lib/widget-types/common/widget/providers.mjs +0 -44
  625. package/esm2022/lib/widget-types/common/widget/public-api.mjs +0 -24
  626. package/esm2022/lib/widget-types/common/widget/types.mjs +0 -29
  627. package/esm2022/lib/widget-types/drilldown/drilldown-configurator.mjs +0 -148
  628. package/esm2022/lib/widget-types/drilldown/drilldown-widget.mjs +0 -95
  629. package/esm2022/lib/widget-types/drilldown/drilldown.mjs +0 -50
  630. package/esm2022/lib/widget-types/embedded-content/embedded-content-configurator.mjs +0 -110
  631. package/esm2022/lib/widget-types/embedded-content/embedded-content-widget.mjs +0 -73
  632. package/esm2022/lib/widget-types/embedded-content/embedded-content.mjs +0 -48
  633. package/esm2022/lib/widget-types/kpi/kpi-configurator.mjs +0 -271
  634. package/esm2022/lib/widget-types/kpi/kpi-widget.mjs +0 -105
  635. package/esm2022/lib/widget-types/kpi/kpi.mjs +0 -61
  636. package/esm2022/lib/widget-types/preview-placeholder.mjs +0 -59
  637. package/esm2022/lib/widget-types/proportional/donut-content-configurator-slice.mjs +0 -133
  638. package/esm2022/lib/widget-types/proportional/proportional-configurator.mjs +0 -281
  639. package/esm2022/lib/widget-types/proportional/proportional-widget.mjs +0 -91
  640. package/esm2022/lib/widget-types/proportional/proportional.mjs +0 -54
  641. package/esm2022/lib/widget-types/public-api.mjs +0 -24
  642. package/esm2022/lib/widget-types/risk-score/risk-score-configurator.mjs +0 -201
  643. package/esm2022/lib/widget-types/risk-score/risk-score-widget.mjs +0 -101
  644. package/esm2022/lib/widget-types/risk-score/risk-score.mjs +0 -56
  645. package/esm2022/lib/widget-types/table/default-table-formatters.mjs +0 -49
  646. package/esm2022/lib/widget-types/table/table-configurator.mjs +0 -158
  647. package/esm2022/lib/widget-types/table/table-widget.mjs +0 -111
  648. package/esm2022/lib/widget-types/table/table.mjs +0 -39
  649. package/esm2022/lib/widget-types/timeseries/timeseries-configurator.mjs +0 -183
  650. package/esm2022/lib/widget-types/timeseries/timeseries-widget.mjs +0 -122
  651. package/esm2022/lib/widget-types/timeseries/timeseries.mjs +0 -52
  652. package/esm2022/nova-ui-dashboards.mjs +0 -5
  653. package/esm2022/public-api.mjs +0 -31
  654. package/sdk/locale/messages.en.xlf +0 -2764
@@ -1,80 +0,0 @@
1
- // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
2
- //
3
- // Permission is hereby granted, free of charge, to any person obtaining a copy
4
- // of this software and associated documentation files (the "Software"), to
5
- // deal in the Software without restriction, including without limitation the
6
- // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
7
- // sell copies of the Software, and to permit persons to whom the Software is
8
- // furnished to do so, subject to the following conditions:
9
- //
10
- // The above copyright notice and this permission notice shall be included in
11
- // all copies or substantial portions of the Software.
12
- //
13
- // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
- // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
- // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
- // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
- // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
- // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19
- // THE SOFTWARE.
20
- import { ChangeDetectionStrategy, ChangeDetectorRef, Component, EventEmitter, Input, Output, } from "@angular/core";
21
- import { FormBuilder, Validators } from "@angular/forms";
22
- import * as i0 from "@angular/core";
23
- import * as i1 from "@angular/forms";
24
- import * as i2 from "@angular/common";
25
- import * as i3 from "@nova-ui/bits";
26
- import * as i4 from "../../../../../widget-editor-accordion/widget-editor-accordion.component";
27
- import * as i5 from "../../../../../widget-editor-accordion/widget-editor-accordion-header/widget-editor-accordion-header.component";
28
- import * as i6 from "../../../../../../pipe/widget-editor-accordion-form-state.pipe";
29
- import * as i7 from "../../../../../../pipe/widget-editor-accordion-header-icon.pipe";
30
- export class DescriptionConfigurationComponent {
31
- static { this.lateLoadKey = "DescriptionConfigurationComponent"; }
32
- constructor(formBuilder, changeDetector) {
33
- this.formBuilder = formBuilder;
34
- this.changeDetector = changeDetector;
35
- this.formReady = new EventEmitter();
36
- this.formDestroy = new EventEmitter();
37
- }
38
- ngOnInit() {
39
- this.form = this.formBuilder.group({
40
- label: [this.label || null, [Validators.required]],
41
- isActive: this.isActive ?? true,
42
- width: this.width || undefined,
43
- });
44
- this.formReady.emit(this.form);
45
- }
46
- ngOnChanges(changes) {
47
- if (changes.label) {
48
- this.form?.patchValue({ label: changes.label.currentValue });
49
- }
50
- if (changes.isActive) {
51
- this.form?.patchValue({ isActive: changes.isActive.currentValue });
52
- }
53
- if (changes.width) {
54
- this.form?.patchValue({ width: changes.width.currentValue });
55
- }
56
- }
57
- stub() { }
58
- ngOnDestroy() {
59
- this.formDestroy.emit(this.form);
60
- }
61
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DescriptionConfigurationComponent, deps: [{ token: i1.FormBuilder }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
62
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: DescriptionConfigurationComponent, selector: "nui-table-column-description-configuration", inputs: { label: "label", isActive: "isActive", width: "width", isWidthMessageDisplayed: "isWidthMessageDisplayed" }, outputs: { formReady: "formReady", formDestroy: "formDestroy" }, usesOnChanges: true, ngImport: i0, template: "<ng-container [formGroup]=\"form\">\n <nui-widget-editor-accordion\n [state]=\"form | nuiWidgetEditorAccordionFormState | async\"\n >\n <nui-widget-editor-accordion-header\n [headerIcon]=\"form | nuiFormHeaderIconPipe : 'widget_list' | async\"\n [subtitle]=\"form.controls['label'].value\"\n headerTitle=\"Description\"\n />\n <div class=\"description-configuration__accordion-content\">\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Label\"\n i18n-caption\n class=\"mb-3\"\n [control]=\"form.controls['label']\"\n >\n <nui-textbox formControlName=\"label\"></nui-textbox>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n\n <nui-form-field [control]=\"form.controls['isActive']\">\n <nui-checkbox formControlName=\"isActive\" i18n\n >Show this column</nui-checkbox\n >\n </nui-form-field>\n\n <ng-container *ngIf=\"form.get('isActive')?.value\">\n <ng-container *ngIf=\"!isWidthMessageDisplayed\">\n <div class=\"mt-4\">\n <nui-form-field\n caption=\"Column width (px)\"\n i18n-caption\n class=\"mb-3\"\n [control]=\"form.controls['width']\"\n >\n <!-- TODO: Remove this valueChange stub after NUI-3442 is finished-->\n <nui-textbox-number\n class=\"description-configuration__accordion-content__width-input\"\n (valueChange)=\"stub()\"\n placeholder=\"Auto width\"\n i18n-placeholder\n formControlName=\"width\"\n ></nui-textbox-number>\n <nui-validation-message\n [show]=\"form.controls['width'].invalid\"\n for=\"min\"\n i18n\n >\n Minimum width of the column is 62px\n </nui-validation-message>\n </nui-form-field>\n </div>\n </ng-container>\n <nui-message\n *ngIf=\"isWidthMessageDisplayed\"\n type=\"info\"\n [allowDismiss]=\"false\"\n i18n\n >\n <b>All columns can not have fixed width.</b>\n </nui-message>\n </ng-container>\n </div>\n </nui-widget-editor-accordion>\n</ng-container>\n", styles: [".description-configuration__accordion-content{padding:15px 15px 15px 46px}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i3.TextboxComponent, selector: "nui-textbox", inputs: ["caption", "autocomplete", "info", "customBoxWidth", "disabled", "hint", "name", "placeholder", "readonly", "rows", "type", "value", "isInErrorState", "ariaLabel", "isBusy"], outputs: ["textChange", "blurred"] }, { kind: "component", type: i3.TextboxNumberComponent, selector: "nui-textbox-number", inputs: ["value", "customBoxWidth", "disabled", "name", "placeholder", "readonly", "step", "stepPrecision", "isInErrorState", "ariaLabel", "minValue", "maxValue"], outputs: ["blurred", "valueChange"] }, { kind: "component", type: i3.FormFieldComponent, selector: "nui-form-field", inputs: ["control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth", "showOptionalText"] }, { kind: "component", type: i3.CheckboxComponent, selector: "nui-checkbox", inputs: ["ariaLabel", "ariaLabelledby", "ariaDescribedby", "name", "title", "value", "hovered", "checked", "required", "hint", "disabled", "indeterminate"], outputs: ["valueChange"] }, { kind: "component", type: i3.ValidationMessageComponent, selector: "nui-validation-message", inputs: ["show", "for"] }, { kind: "component", type: i3.MessageComponent, selector: "nui-message", inputs: ["type", "allowDismiss", "manualControl"], outputs: ["dismiss"] }, { kind: "component", type: i4.WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"], outputs: ["openToggle"] }, { kind: "component", type: i5.WidgetEditorAccordionHeaderComponent, selector: "nui-widget-editor-accordion-header", inputs: ["headerIcon", "iconColor", "subtitle", "headerTitle"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }, { kind: "pipe", type: i6.WidgetEditorAccordionFormStatePipe, name: "nuiWidgetEditorAccordionFormState" }, { kind: "pipe", type: i7.FormHeaderIconPipePipe, name: "nuiFormHeaderIconPipe" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
63
- }
64
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DescriptionConfigurationComponent, decorators: [{
65
- type: Component,
66
- args: [{ selector: "nui-table-column-description-configuration", changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container [formGroup]=\"form\">\n <nui-widget-editor-accordion\n [state]=\"form | nuiWidgetEditorAccordionFormState | async\"\n >\n <nui-widget-editor-accordion-header\n [headerIcon]=\"form | nuiFormHeaderIconPipe : 'widget_list' | async\"\n [subtitle]=\"form.controls['label'].value\"\n headerTitle=\"Description\"\n />\n <div class=\"description-configuration__accordion-content\">\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Label\"\n i18n-caption\n class=\"mb-3\"\n [control]=\"form.controls['label']\"\n >\n <nui-textbox formControlName=\"label\"></nui-textbox>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n\n <nui-form-field [control]=\"form.controls['isActive']\">\n <nui-checkbox formControlName=\"isActive\" i18n\n >Show this column</nui-checkbox\n >\n </nui-form-field>\n\n <ng-container *ngIf=\"form.get('isActive')?.value\">\n <ng-container *ngIf=\"!isWidthMessageDisplayed\">\n <div class=\"mt-4\">\n <nui-form-field\n caption=\"Column width (px)\"\n i18n-caption\n class=\"mb-3\"\n [control]=\"form.controls['width']\"\n >\n <!-- TODO: Remove this valueChange stub after NUI-3442 is finished-->\n <nui-textbox-number\n class=\"description-configuration__accordion-content__width-input\"\n (valueChange)=\"stub()\"\n placeholder=\"Auto width\"\n i18n-placeholder\n formControlName=\"width\"\n ></nui-textbox-number>\n <nui-validation-message\n [show]=\"form.controls['width'].invalid\"\n for=\"min\"\n i18n\n >\n Minimum width of the column is 62px\n </nui-validation-message>\n </nui-form-field>\n </div>\n </ng-container>\n <nui-message\n *ngIf=\"isWidthMessageDisplayed\"\n type=\"info\"\n [allowDismiss]=\"false\"\n i18n\n >\n <b>All columns can not have fixed width.</b>\n </nui-message>\n </ng-container>\n </div>\n </nui-widget-editor-accordion>\n</ng-container>\n", styles: [".description-configuration__accordion-content{padding:15px 15px 15px 46px}\n"] }]
67
- }], ctorParameters: () => [{ type: i1.FormBuilder }, { type: i0.ChangeDetectorRef }], propDecorators: { label: [{
68
- type: Input
69
- }], isActive: [{
70
- type: Input
71
- }], width: [{
72
- type: Input
73
- }], isWidthMessageDisplayed: [{
74
- type: Input
75
- }], formReady: [{
76
- type: Output
77
- }], formDestroy: [{
78
- type: Output
79
- }] } });
80
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVzY3JpcHRpb24tY29uZmlndXJhdGlvbi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGliL2NvbmZpZ3VyYXRvci9jb21wb25lbnRzL3dpZGdldHMvdGFibGUvY29sdW1ucy1lZGl0b3IvY29sdW1uLWNvbmZpZ3VyYXRpb24vZGVzY3JpcHRpb24tY29uZmlndXJhdGlvbi9kZXNjcmlwdGlvbi1jb25maWd1cmF0aW9uLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9saWIvY29uZmlndXJhdG9yL2NvbXBvbmVudHMvd2lkZ2V0cy90YWJsZS9jb2x1bW5zLWVkaXRvci9jb2x1bW4tY29uZmlndXJhdGlvbi9kZXNjcmlwdGlvbi1jb25maWd1cmF0aW9uL2Rlc2NyaXB0aW9uLWNvbmZpZ3VyYXRpb24uY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEseURBQXlEO0FBQ3pELEVBQUU7QUFDRiwrRUFBK0U7QUFDL0UsNEVBQTRFO0FBQzVFLDhFQUE4RTtBQUM5RSwrRUFBK0U7QUFDL0UsOEVBQThFO0FBQzlFLDREQUE0RDtBQUM1RCxFQUFFO0FBQ0YsNkVBQTZFO0FBQzdFLHVEQUF1RDtBQUN2RCxFQUFFO0FBQ0YsNkVBQTZFO0FBQzdFLDRFQUE0RTtBQUM1RSwrRUFBK0U7QUFDL0UsMEVBQTBFO0FBQzFFLGlGQUFpRjtBQUNqRiw2RUFBNkU7QUFDN0UsaUJBQ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29udGFpbmVyIFtmb3JtR3JvdXBdPVwiZm9ybVwiPlxuICAgIDxudWktd2lkZ2V0LWVkaXRvci1hY2NvcmRpb25cbiAgICAgICAgW3N0YXRlXT1cImZvcm0gfCBudWlXaWRnZXRFZGl0b3JBY2NvcmRpb25Gb3JtU3RhdGUgfCBhc3luY1wiXG4gICAgPlxuICAgICAgICA8bnVpLXdpZGdldC1lZGl0b3ItYWNjb3JkaW9uLWhlYWRlclxuICAgICAgICAgICAgW2hlYWRlckljb25dPVwiZm9ybSB8IG51aUZvcm1IZWFkZXJJY29uUGlwZSA6ICd3aWRnZXRfbGlzdCcgfCBhc3luY1wiXG4gICAgICAgICAgICBbc3VidGl0bGVdPVwiZm9ybS5jb250cm9sc1snbGFiZWwnXS52YWx1ZVwiXG4gICAgICAgICAgICBoZWFkZXJUaXRsZT1cIkRlc2NyaXB0aW9uXCJcbiAgICAgICAgLz5cbiAgICAgICAgPGRpdiBjbGFzcz1cImRlc2NyaXB0aW9uLWNvbmZpZ3VyYXRpb25fX2FjY29yZGlvbi1jb250ZW50XCI+XG4gICAgICAgICAgICA8ZGl2IGNsYXNzPVwibWItNFwiPlxuICAgICAgICAgICAgICAgIDxudWktZm9ybS1maWVsZFxuICAgICAgICAgICAgICAgICAgICBjYXB0aW9uPVwiTGFiZWxcIlxuICAgICAgICAgICAgICAgICAgICBpMThuLWNhcHRpb25cbiAgICAgICAgICAgICAgICAgICAgY2xhc3M9XCJtYi0zXCJcbiAgICAgICAgICAgICAgICAgICAgW2NvbnRyb2xdPVwiZm9ybS5jb250cm9sc1snbGFiZWwnXVwiXG4gICAgICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgICAgICA8bnVpLXRleHRib3ggZm9ybUNvbnRyb2xOYW1lPVwibGFiZWxcIj48L251aS10ZXh0Ym94PlxuICAgICAgICAgICAgICAgICAgICA8bnVpLXZhbGlkYXRpb24tbWVzc2FnZSBmb3I9XCJyZXF1aXJlZFwiIGkxOG4+XG4gICAgICAgICAgICAgICAgICAgICAgICBUaGlzIGZpZWxkIGlzIHJlcXVpcmVkXG4gICAgICAgICAgICAgICAgICAgIDwvbnVpLXZhbGlkYXRpb24tbWVzc2FnZT5cbiAgICAgICAgICAgICAgICA8L251aS1mb3JtLWZpZWxkPlxuICAgICAgICAgICAgPC9kaXY+XG5cbiAgICAgICAgICAgIDxudWktZm9ybS1maWVsZCBbY29udHJvbF09XCJmb3JtLmNvbnRyb2xzWydpc0FjdGl2ZSddXCI+XG4gICAgICAgICAgICAgICAgPG51aS1jaGVja2JveCBmb3JtQ29udHJvbE5hbWU9XCJpc0FjdGl2ZVwiIGkxOG5cbiAgICAgICAgICAgICAgICAgICAgPlNob3cgdGhpcyBjb2x1bW48L251aS1jaGVja2JveFxuICAgICAgICAgICAgICAgID5cbiAgICAgICAgICAgIDwvbnVpLWZvcm0tZmllbGQ+XG5cbiAgICAgICAgICAgIDxuZy1jb250YWluZXIgKm5nSWY9XCJmb3JtLmdldCgnaXNBY3RpdmUnKT8udmFsdWVcIj5cbiAgICAgICAgICAgICAgICA8bmctY29udGFpbmVyICpuZ0lmPVwiIWlzV2lkdGhNZXNzYWdlRGlzcGxheWVkXCI+XG4gICAgICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJtdC00XCI+XG4gICAgICAgICAgICAgICAgICAgICAgICA8bnVpLWZvcm0tZmllbGRcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBjYXB0aW9uPVwiQ29sdW1uIHdpZHRoIChweClcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGkxOG4tY2FwdGlvblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNsYXNzPVwibWItM1wiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgW2NvbnRyb2xdPVwiZm9ybS5jb250cm9sc1snd2lkdGgnXVwiXG4gICAgICAgICAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPCEtLSBUT0RPOiBSZW1vdmUgdGhpcyB2YWx1ZUNoYW5nZSBzdHViIGFmdGVyIE5VSS0zNDQyIGlzIGZpbmlzaGVkLS0+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPG51aS10ZXh0Ym94LW51bWJlclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjbGFzcz1cImRlc2NyaXB0aW9uLWNvbmZpZ3VyYXRpb25fX2FjY29yZGlvbi1jb250ZW50X193aWR0aC1pbnB1dFwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICh2YWx1ZUNoYW5nZSk9XCJzdHViKClcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBwbGFjZWhvbGRlcj1cIkF1dG8gd2lkdGhcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpMThuLXBsYWNlaG9sZGVyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGZvcm1Db250cm9sTmFtZT1cIndpZHRoXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA+PC9udWktdGV4dGJveC1udW1iZXI+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPG51aS12YWxpZGF0aW9uLW1lc3NhZ2VcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW3Nob3ddPVwiZm9ybS5jb250cm9sc1snd2lkdGgnXS5pbnZhbGlkXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZm9yPVwibWluXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaTE4blxuICAgICAgICAgICAgICAgICAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgTWluaW11bSB3aWR0aCBvZiB0aGUgY29sdW1uIGlzIDYycHhcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L251aS12YWxpZGF0aW9uLW1lc3NhZ2U+XG4gICAgICAgICAgICAgICAgICAgICAgICA8L251aS1mb3JtLWZpZWxkPlxuICAgICAgICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgICAgICA8L25nLWNvbnRhaW5lcj5cbiAgICAgICAgICAgICAgICA8bnVpLW1lc3NhZ2VcbiAgICAgICAgICAgICAgICAgICAgKm5nSWY9XCJpc1dpZHRoTWVzc2FnZURpc3BsYXllZFwiXG4gICAgICAgICAgICAgICAgICAgIHR5cGU9XCJpbmZvXCJcbiAgICAgICAgICAgICAgICAgICAgW2FsbG93RGlzbWlzc109XCJmYWxzZVwiXG4gICAgICAgICAgICAgICAgICAgIGkxOG5cbiAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgIDxiPkFsbCBjb2x1bW5zIGNhbiBub3QgaGF2ZSBmaXhlZCB3aWR0aC48L2I+XG4gICAgICAgICAgICAgICAgPC9udWktbWVzc2FnZT5cbiAgICAgICAgICAgIDwvbmctY29udGFpbmVyPlxuICAgICAgICA8L2Rpdj5cbiAgICA8L251aS13aWRnZXQtZWRpdG9yLWFjY29yZGlvbj5cbjwvbmctY29udGFpbmVyPlxuIl19
@@ -1,117 +0,0 @@
1
- // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
2
- //
3
- // Permission is hereby granted, free of charge, to any person obtaining a copy
4
- // of this software and associated documentation files (the "Software"), to
5
- // deal in the Software without restriction, including without limitation the
6
- // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
7
- // sell copies of the Software, and to permit persons to whom the Software is
8
- // furnished to do so, subject to the following conditions:
9
- //
10
- // The above copyright notice and this permission notice shall be included in
11
- // all copies or substantial portions of the Software.
12
- //
13
- // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
- // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
- // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
- // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
- // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
- // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19
- // THE SOFTWARE.
20
- import { ChangeDetectorRef, EventEmitter, Injectable, Input, Output, } from "@angular/core";
21
- import { FormBuilder, Validators } from "@angular/forms";
22
- import { LoggerService } from "@nova-ui/bits";
23
- import { ConfiguratorHeadingService } from "../../../../../../../services/configurator-heading.service";
24
- import * as i0 from "@angular/core";
25
- import * as i1 from "../../../../../../../services/configurator-heading.service";
26
- import * as i2 from "@angular/forms";
27
- import * as i3 from "@nova-ui/bits";
28
- export class FormatterConfiguratorComponent {
29
- constructor(changeDetector, configuratorHeading, formBuilder, logger) {
30
- this.changeDetector = changeDetector;
31
- this.configuratorHeading = configuratorHeading;
32
- this.formBuilder = formBuilder;
33
- this.logger = logger;
34
- this.formReady = new EventEmitter();
35
- this.dropdownItems = {};
36
- }
37
- ngOnChanges(changes) {
38
- if (changes.formatterDefinition) {
39
- this.mapDropdownItems();
40
- this.initForm();
41
- }
42
- if (changes.dataFields) {
43
- this.mapDropdownItems();
44
- }
45
- if (changes.formatter) {
46
- this.updateForm();
47
- }
48
- }
49
- /**
50
- * This method pregenerates lists of dropdown items for all required formatter columns mappings based on their type
51
- */
52
- mapDropdownItems() {
53
- if (!this.dataFields) {
54
- this.logger.error("There are no dataFields defined for formatter:", this.formatterDefinition);
55
- return;
56
- }
57
- this.dropdownItems = Object.keys(this.formatterDefinition.dataTypes).reduce((result, next) => {
58
- const allowedDataTypes = this.formatterDefinition.dataTypes[next];
59
- result[next] = allowedDataTypes
60
- ? this.dataFields.filter((df) =>
61
- // dataTypes could be a string or an array of strings, so we're checking that here
62
- typeof allowedDataTypes === "string"
63
- ? df.dataType === allowedDataTypes
64
- : allowedDataTypes.includes(df.dataType))
65
- : // if no data types are defined then just include all the fields
66
- this.dataFields;
67
- return result;
68
- }, {});
69
- }
70
- get dataFieldIds() {
71
- return this.form.get("dataFieldIds");
72
- }
73
- initForm() {
74
- // initialize the formArray with selected values or null
75
- const dataFieldsDefinition = this.formatterDefinition.dataTypes || {};
76
- const dataFieldForm = Object.keys(dataFieldsDefinition).reduce((result, next) => {
77
- result[next] = [
78
- this.formatter?.properties?.dataFieldIds?.[next] ?? null,
79
- Validators.required,
80
- ];
81
- return result;
82
- }, {});
83
- this.form = this.formBuilder.group({
84
- dataFieldIds: this.formBuilder.group(dataFieldForm),
85
- });
86
- this.addCustomFormControls(this.form);
87
- this.formReady.emit(this.form);
88
- }
89
- updateForm() {
90
- this.form.patchValue(this.formatter.properties ?? {}, {
91
- onlySelf: false,
92
- emitEvent: false,
93
- });
94
- }
95
- /**
96
- * Add your custom form controls here
97
- *
98
- * @param form
99
- */
100
- addCustomFormControls(form) { }
101
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormatterConfiguratorComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.ConfiguratorHeadingService }, { token: i2.FormBuilder }, { token: i3.LoggerService }], target: i0.ɵɵFactoryTarget.Injectable }); }
102
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormatterConfiguratorComponent }); }
103
- }
104
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormatterConfiguratorComponent, decorators: [{
105
- type: Injectable
106
- }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i1.ConfiguratorHeadingService }, { type: i2.FormBuilder }, { type: i3.LoggerService }], propDecorators: { formatter: [{
107
- type: Input
108
- }], formatterDefinition: [{
109
- type: Input
110
- }], dataFields: [{
111
- type: Input
112
- }], formArrayName: [{
113
- type: Input
114
- }], formReady: [{
115
- type: Output
116
- }] } });
117
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoi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T2JqZWN0LmtleXMoXG4gICAgICAgICAgICB0aGlzLmZvcm1hdHRlckRlZmluaXRpb24uZGF0YVR5cGVzXG4gICAgICAgICkucmVkdWNlKChyZXN1bHQsIG5leHQpID0+IHtcbiAgICAgICAgICAgIGNvbnN0IGFsbG93ZWREYXRhVHlwZXMgPSB0aGlzLmZvcm1hdHRlckRlZmluaXRpb24uZGF0YVR5cGVzW25leHRdO1xuXG4gICAgICAgICAgICByZXN1bHRbbmV4dF0gPSBhbGxvd2VkRGF0YVR5cGVzXG4gICAgICAgICAgICAgICAgPyB0aGlzLmRhdGFGaWVsZHMuZmlsdGVyKChkZikgPT5cbiAgICAgICAgICAgICAgICAgICAgICAvLyBkYXRhVHlwZXMgY291bGQgYmUgYSBzdHJpbmcgb3IgYW4gYXJyYXkgb2Ygc3RyaW5ncywgc28gd2UncmUgY2hlY2tpbmcgdGhhdCBoZXJlXG4gICAgICAgICAgICAgICAgICAgICAgdHlwZW9mIGFsbG93ZWREYXRhVHlwZXMgPT09IFwic3RyaW5nXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgPyBkZi5kYXRhVHlwZSA9PT0gYWxsb3dlZERhdGFUeXBlc1xuICAgICAgICAgICAgICAgICAgICAgICAgICA6IChhbGxvd2VkRGF0YVR5cGVzIGFzIHN0cmluZ1tdKS5pbmNsdWRlcyhkZi5kYXRhVHlwZSlcbiAgICAgICAgICAgICAgICAgIClcbiAgICAgICAgICAgICAgICA6IC8vIGlmIG5vIGRhdGEgdHlwZXMgYXJlIGRlZmluZWQgdGhlbiBqdXN0IGluY2x1ZGUgYWxsIHRoZSBmaWVsZHNcbiAgICAgICAgICAgICAgICAgIHRoaXMuZGF0YUZpZWxkcztcblxuICAgICAgICAgICAgcmV0dXJuIHJlc3VsdDtcbiAgICAgICAgfSwge30gYXMgUmVjb3JkPHN0cmluZywgSURhdGFGaWVsZFtdPik7XG4gICAgfVxuXG4gICAgZ2V0IGRhdGFGaWVsZElkcygpOiBGb3JtR3JvdXAge1xuICAgICAgICByZXR1cm4gdGhpcy5mb3JtLmdldChcImRhdGFGaWVsZElkc1wiKSBhcyBGb3JtR3JvdXA7XG4gICAgfVxuXG4gICAgcHVibGljIGluaXRGb3JtKCk6IHZvaWQge1xuICAgICAgICAvLyBpbml0aWFsaXplIHRoZSBmb3JtQXJyYXkgd2l0aCBzZWxlY3RlZCB2YWx1ZXMgb3IgbnVsbFxuICAgICAgICBjb25zdCBkYXRhRmllbGRzRGVmaW5pdGlvbiA9IHRoaXMuZm9ybWF0dGVyRGVmaW5pdGlvbi5kYXRhVHlwZXMgfHwge307XG4gICAgICAgIGNvbnN0IGRhdGFGaWVsZEZvcm0gPSBPYmplY3Qua2V5cyhkYXRhRmllbGRzRGVmaW5pdGlvbikucmVkdWNlKFxuICAgICAgICAgICAgKHJlc3VsdCwgbmV4dCkgPT4ge1xuICAgICAgICAgICAgICAgIHJlc3VsdFtuZXh0XSA9IFtcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5mb3JtYXR0ZXI/LnByb3BlcnRpZXM/LmRhdGFGaWVsZElkcz8uW25leHRdID8/IG51bGwsXG4gICAgICAgICAgICAgICAgICAgIFZhbGlkYXRvcnMucmVxdWlyZWQsXG4gICAgICAgICAgICAgICAgXTtcbiAgICAgICAgICAgICAgICByZXR1cm4gcmVzdWx0O1xuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIHt9IGFzIFJlY29yZDxzdHJpbmcsIGFueT5cbiAgICAgICAgKTtcblxuICAgICAgICB0aGlzLmZvcm0gPSB0aGlzLmZvcm1CdWlsZGVyLmdyb3VwKHtcbiAgICAgICAgICAgIGRhdGFGaWVsZElkczogdGhpcy5mb3JtQnVpbGRlci5ncm91cChkYXRhRmllbGRGb3JtKSxcbiAgICAgICAgfSk7XG5cbiAgICAgICAgdGhpcy5hZGRDdXN0b21Gb3JtQ29udHJvbHModGhpcy5mb3JtKTtcblxuICAgICAgICB0aGlzLmZvcm1SZWFkeS5lbWl0KHRoaXMuZm9ybSk7XG4gICAgfVxuXG4gICAgcHJvdGVjdGVkIHVwZGF0ZUZvcm0oKTogdm9pZCB7XG4gICAgICAgIHRoaXMuZm9ybS5wYXRjaFZhbHVlKHRoaXMuZm9ybWF0dGVyLnByb3BlcnRpZXMgPz8ge30sIHtcbiAgICAgICAgICAgIG9ubHlTZWxmOiBmYWxzZSxcbiAgICAgICAgICAgIGVtaXRFdmVudDogZmFsc2UsXG4gICAgICAgIH0pO1xuICAgIH1cblxuICAgIC8qKlxuICAgICAqIEFkZCB5b3VyIGN1c3RvbSBmb3JtIGNvbnRyb2xzIGhlcmVcbiAgICAgKlxuICAgICAqIEBwYXJhbSBmb3JtXG4gICAgICovXG4gICAgcHJvdGVjdGVkIGFkZEN1c3RvbUZvcm1Db250cm9scyhmb3JtOiBGb3JtR3JvdXApOiB2b2lkIHt9XG59XG4iXX0=
@@ -1,53 +0,0 @@
1
- // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
2
- //
3
- // Permission is hereby granted, free of charge, to any person obtaining a copy
4
- // of this software and associated documentation files (the "Software"), to
5
- // deal in the Software without restriction, including without limitation the
6
- // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
7
- // sell copies of the Software, and to permit persons to whom the Software is
8
- // furnished to do so, subject to the following conditions:
9
- //
10
- // The above copyright notice and this permission notice shall be included in
11
- // all copies or substantial portions of the Software.
12
- //
13
- // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
- // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
- // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
- // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
- // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
- // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19
- // THE SOFTWARE.
20
- import { ChangeDetectorRef, Component } from "@angular/core";
21
- import { FormBuilder, Validators } from "@angular/forms";
22
- import { LoggerService } from "@nova-ui/bits";
23
- import { ConfiguratorHeadingService } from "../../../../../../../../services/configurator-heading.service";
24
- import { FormatterConfiguratorComponent } from "../formatter-configurator.component";
25
- import * as i0 from "@angular/core";
26
- import * as i1 from "../../../../../../../../services/configurator-heading.service";
27
- import * as i2 from "@angular/forms";
28
- import * as i3 from "@nova-ui/bits";
29
- import * as i4 from "@angular/common";
30
- export class LinkConfiguratorComponent extends FormatterConfiguratorComponent {
31
- static { this.lateLoadKey = "LinkConfiguratorComponent"; }
32
- constructor(changeDetector, configuratorHeading, formBuilder, logger) {
33
- super(changeDetector, configuratorHeading, formBuilder, logger);
34
- }
35
- initForm() {
36
- const dataFieldForm = {
37
- link: [null, Validators.required],
38
- value: [null, Validators.required],
39
- };
40
- this.form = this.formBuilder.group({
41
- dataFieldIds: this.formBuilder.group(dataFieldForm),
42
- targetSelf: [false],
43
- });
44
- this.formReady.emit(this.form);
45
- }
46
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: LinkConfiguratorComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.ConfiguratorHeadingService }, { token: i2.FormBuilder }, { token: i3.LoggerService }], target: i0.ɵɵFactoryTarget.Component }); }
47
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: LinkConfiguratorComponent, selector: "nui-link-configurator", usesInheritance: true, ngImport: i0, template: "<div [formGroup]=\"form\">\n <div formGroupName=\"dataFieldIds\">\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Label\"\n i18n-caption=\"\n label field caption| the entity field to be selected for the\n html label property\n \"\n class=\"mb-3\"\n [control]=\"dataFieldIds.controls['value']\"\n >\n <nui-select-v2 formControlName=\"value\">\n <nui-select-v2-option\n *ngFor=\"let itemValue of dropdownItems.value\"\n [value]=\"itemValue.id\"\n >\n {{ itemValue.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n <div>\n <nui-form-field\n caption=\"URL\"\n i18n-caption=\"\n url field caption| the entity field to be selected for the\n url html property\n \"\n class=\"mb-3\"\n [control]=\"dataFieldIds.controls['link']\"\n >\n <nui-select-v2 formControlName=\"link\">\n <nui-select-v2-option\n *ngFor=\"let itemLink of dropdownItems.link\"\n [value]=\"itemLink.id\"\n >\n {{ itemLink.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n </div>\n <div>\n <nui-form-field\n caption=\"Open in the same window\"\n i18n-caption=\"\n form field caption|switch configuring whether formatted link\n should open in new window/tab\n \"\n class=\"mb-3\"\n [control]=\"form.controls.targetSelf\"\n >\n <nui-switch id=\"nui-switch-target\" formControlName=\"targetSelf\">\n </nui-switch>\n </nui-form-field>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i2.FormGroupName, selector: "[formGroupName]", inputs: ["formGroupName"] }, { kind: "component", type: i3.FormFieldComponent, selector: "nui-form-field", inputs: ["control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth", "showOptionalText"] }, { kind: "component", type: i3.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { kind: "component", type: i3.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["value", "index", "displayValueContext", "outfiltered"] }, { kind: "component", type: i3.ValidationMessageComponent, selector: "nui-validation-message", inputs: ["show", "for"] }, { kind: "component", type: i3.SwitchComponent, selector: "nui-switch", inputs: ["value", "disabled", "ariaLabel"], outputs: ["valueChange"] }] }); }
48
- }
49
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: LinkConfiguratorComponent, decorators: [{
50
- type: Component,
51
- args: [{ selector: "nui-link-configurator", template: "<div [formGroup]=\"form\">\n <div formGroupName=\"dataFieldIds\">\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Label\"\n i18n-caption=\"\n label field caption| the entity field to be selected for the\n html label property\n \"\n class=\"mb-3\"\n [control]=\"dataFieldIds.controls['value']\"\n >\n <nui-select-v2 formControlName=\"value\">\n <nui-select-v2-option\n *ngFor=\"let itemValue of dropdownItems.value\"\n [value]=\"itemValue.id\"\n >\n {{ itemValue.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n <div>\n <nui-form-field\n caption=\"URL\"\n i18n-caption=\"\n url field caption| the entity field to be selected for the\n url html property\n \"\n class=\"mb-3\"\n [control]=\"dataFieldIds.controls['link']\"\n >\n <nui-select-v2 formControlName=\"link\">\n <nui-select-v2-option\n *ngFor=\"let itemLink of dropdownItems.link\"\n [value]=\"itemLink.id\"\n >\n {{ itemLink.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n </div>\n <div>\n <nui-form-field\n caption=\"Open in the same window\"\n i18n-caption=\"\n form field caption|switch configuring whether formatted link\n should open in new window/tab\n \"\n class=\"mb-3\"\n [control]=\"form.controls.targetSelf\"\n >\n <nui-switch id=\"nui-switch-target\" formControlName=\"targetSelf\">\n </nui-switch>\n </nui-form-field>\n </div>\n</div>\n" }]
52
- }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i1.ConfiguratorHeadingService }, { type: i2.FormBuilder }, { type: i3.LoggerService }] });
53
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGluay1jb25maWd1cmF0b3IuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2xpYi9jb25maWd1cmF0b3IvY29tcG9uZW50cy93aWRnZXRzL3RhYmxlL2NvbHVtbnMtZWRpdG9yL2NvbHVtbi1jb25maWd1cmF0aW9uL3ByZXNlbnRhdGlvbi1jb25maWd1cmF0aW9uL3BvcnRhbHMvbGluay1jb25maWd1cmF0b3IvbGluay1jb25maWd1cmF0b3IuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2xpYi9jb25maWd1cmF0b3IvY29tcG9uZW50cy93aWRnZXRzL3RhYmxlL2NvbHVtbnMtZWRpdG9yL2NvbHVtbi1jb25maWd1cmF0aW9uL3ByZXNlbnRhdGlvbi1jb25maWd1cmF0aW9uL3BvcnRhbHMvbGluay1jb25maWd1cmF0b3IvbGluay1jb25maWd1cmF0b3IuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEseURBQXlEO0FBQ3pELEVBQUU7QUFDRiwrRUFBK0U7QUFDL0UsNEVBQTRFO0FBQzVFLDhFQUE4RTtBQUM5RSwrRUFBK0U7QUFDL0UsOEVBQThFO0FBQzlFLDREQUE0RDtBQUM1RCxFQUFFO0FBQ0YsN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LTNcIlxuICAgICAgICAgICAgICAgIFtjb250cm9sXT1cImRhdGFGaWVsZElkcy5jb250cm9sc1sndmFsdWUnXVwiXG4gICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgPG51aS1zZWxlY3QtdjIgZm9ybUNvbnRyb2xOYW1lPVwidmFsdWVcIj5cbiAgICAgICAgICAgICAgICAgICAgPG51aS1zZWxlY3QtdjItb3B0aW9uXG4gICAgICAgICAgICAgICAgICAgICAgICAqbmdGb3I9XCJsZXQgaXRlbVZhbHVlIG9mIGRyb3Bkb3duSXRlbXMudmFsdWVcIlxuICAgICAgICAgICAgICAgICAgICAgICAgW3ZhbHVlXT1cIml0ZW1WYWx1ZS5pZFwiXG4gICAgICAgICAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICAgICAgICAgIHt7IGl0ZW1WYWx1ZS5sYWJlbCB9fVxuICAgICAgICAgICAgICAgICAgICA8L251aS1zZWxlY3QtdjItb3B0aW9uPlxuICAgICAgICAgICAgICAgIDwvbnVpLXNlbGVjdC12Mj5cbiAgICAgICAgICAgICAgICA8bnVpLXZhbGlkYXRpb24tbWVzc2FnZSBmb3I9XCJyZXF1aXJlZFwiIGkxOG4+XG4gICAgICAgICAgICAgICAgICAgIFRoaXMgZmllbGQgaXMgcmVxdWlyZWRcbiAgICAgICAgICAgICAgICA8L251aS12YWxpZGF0aW9uLW1lc3NhZ2U+XG4gICAgICAgICAgICA8L251aS1mb3JtLWZpZWxkPlxuICAgICAgICA8L2Rpdj5cbiAgICAgICAgPGRpdj5cbiAgICAgICAgICAgIDxudWktZm9ybS1maWVsZFxuICAgICAgICAgICAgICAgIGNhcHRpb249XCJVUkxcIlxuICAgICAgICAgICAgICAgIGkxOG4tY2FwdGlvbj1cIlxuICAgICAgICAgICAgICAgICAgICB1cmwgZmllbGQgY2FwdGlvbnwgdGhlIGVudGl0eSBmaWVsZCB0byBiZSBzZWxlY3RlZCBmb3IgdGhlXG4gICAgICAgICAgICAgICAgICAgIHVybCBodG1sIHByb3BlcnR5XG4gICAgICAgICAgICAgICAgXCJcbiAgICAgICAgICAgICAgICBjbGFzcz1cIm1iLTNcIlxuICAgICAgICAgICAgICAgIFtjb250cm9sXT1cImRhdGFGaWVsZElkcy5jb250cm9sc1snbGluayddXCJcbiAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICA8bnVpLXNlbGVjdC12MiBmb3JtQ29udHJvbE5hbWU9XCJsaW5rXCI+XG4gICAgICAgICAgICAgICAgICAgIDxudWktc2VsZWN0LXYyLW9wdGlvblxuICAgICAgICAgICAgICAgICAgICAgICAgKm5nRm9yPVwibGV0IGl0ZW1MaW5rIG9mIGRyb3Bkb3duSXRlbXMubGlua1wiXG4gICAgICAgICAgICAgICAgICAgICAgICBbdmFsdWVdPVwiaXRlbUxpbmsuaWRcIlxuICAgICAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgICAgICB7eyBpdGVtTGluay5sYWJlbCB9fVxuICAgICAgICAgICAgICAgICAgICA8L251aS1zZWxlY3QtdjItb3B0aW9uPlxuICAgICAgICAgICAgICAgIDwvbnVpLXNlbGVjdC12Mj5cbiAgICAgICAgICAgICAgICA8bnVpLXZhbGlkYXRpb24tbWVzc2FnZSBmb3I9XCJyZXF1aXJlZFwiIGkxOG4+XG4gICAgICAgICAgICAgICAgICAgIFRoaXMgZmllbGQgaXMgcmVxdWlyZWRcbiAgICAgICAgICAgICAgICA8L251aS12YWxpZGF0aW9uLW1lc3NhZ2U+XG4gICAgICAgICAgICA8L251aS1mb3JtLWZpZWxkPlxuICAgICAgICA8L2Rpdj5cbiAgICA8L2Rpdj5cbiAgICA8ZGl2PlxuICAgICAgICA8bnVpLWZvcm0tZmllbGRcbiAgICAgICAgICAgIGNhcHRpb249XCJPcGVuIGluIHRoZSBzYW1lIHdpbmRvd1wiXG4gICAgICAgICAgICBpMThuLWNhcHRpb249XCJcbiAgICAgICAgICAgICAgICBmb3JtIGZpZWxkIGNhcHRpb258c3dpdGNoIGNvbmZpZ3VyaW5nIHdoZXRoZXIgZm9ybWF0dGVkIGxpbmtcbiAgICAgICAgICAgICAgICBzaG91bGQgb3BlbiBpbiBuZXcgd2luZG93L3RhYlxuICAgICAgICAgICAgXCJcbiAgICAgICAgICAgIGNsYXNzPVwibWItM1wiXG4gICAgICAgICAgICBbY29udHJvbF09XCJmb3JtLmNvbnRyb2xzLnRhcmdldFNlbGZcIlxuICAgICAgICA+XG4gICAgICAgICAgICA8bnVpLXN3aXRjaCBpZD1cIm51aS1zd2l0Y2gtdGFyZ2V0XCIgZm9ybUNvbnRyb2xOYW1lPVwidGFyZ2V0U2VsZlwiPlxuICAgICAgICAgICAgPC9udWktc3dpdGNoPlxuICAgICAgICA8L251aS1mb3JtLWZpZWxkPlxuICAgIDwvZGl2PlxuPC9kaXY+XG4iXX0=
@@ -1,43 +0,0 @@
1
- // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
2
- //
3
- // Permission is hereby granted, free of charge, to any person obtaining a copy
4
- // of this software and associated documentation files (the "Software"), to
5
- // deal in the Software without restriction, including without limitation the
6
- // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
7
- // sell copies of the Software, and to permit persons to whom the Software is
8
- // furnished to do so, subject to the following conditions:
9
- //
10
- // The above copyright notice and this permission notice shall be included in
11
- // all copies or substantial portions of the Software.
12
- //
13
- // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
- // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
- // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
- // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
- // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
- // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19
- // THE SOFTWARE.
20
- import { ChangeDetectorRef, Component } from "@angular/core";
21
- import { FormBuilder } from "@angular/forms";
22
- import { LoggerService } from "@nova-ui/bits";
23
- import { ConfiguratorHeadingService } from "../../../../../../../../services/configurator-heading.service";
24
- import { FormatterConfiguratorComponent } from "../formatter-configurator.component";
25
- import * as i0 from "@angular/core";
26
- import * as i1 from "../../../../../../../../services/configurator-heading.service";
27
- import * as i2 from "@angular/forms";
28
- import * as i3 from "@nova-ui/bits";
29
- import * as i4 from "@angular/common";
30
- /** @ignore */
31
- export class ValueSelectorComponent extends FormatterConfiguratorComponent {
32
- static { this.lateLoadKey = "ValueSelectorComponent"; }
33
- constructor(changeDetector, configuratorHeading, formBuilder, logger) {
34
- super(changeDetector, configuratorHeading, formBuilder, logger);
35
- }
36
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ValueSelectorComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.ConfiguratorHeadingService }, { token: i2.FormBuilder }, { token: i3.LoggerService }], target: i0.ɵɵFactoryTarget.Component }); }
37
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: ValueSelectorComponent, selector: "nui-value-selector", usesInheritance: true, ngImport: i0, template: "<div *ngIf=\"form\" [formGroup]=\"form\">\n <div formGroupName=\"dataFieldIds\">\n <nui-form-field\n caption=\"Value\"\n i18n-caption\n class=\"mb-3\"\n [control]=\"dataFieldIds.controls['value']\"\n >\n <nui-select-v2\n formControlName=\"value\"\n [popupViewportMargin]=\"configuratorHeading.height$ | async\"\n placeholder=\"Select Value\"\n i18n-placeholder\n >\n <nui-select-v2-option\n *ngFor=\"let itemValue of dropdownItems.value\"\n [displayValueContext]=\"itemValue.label\"\n [value]=\"itemValue.id\"\n >\n {{ itemValue.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i2.FormGroupName, selector: "[formGroupName]", inputs: ["formGroupName"] }, { kind: "component", type: i3.FormFieldComponent, selector: "nui-form-field", inputs: ["control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth", "showOptionalText"] }, { kind: "component", type: i3.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { kind: "component", type: i3.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["value", "index", "displayValueContext", "outfiltered"] }, { kind: "component", type: i3.ValidationMessageComponent, selector: "nui-validation-message", inputs: ["show", "for"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }] }); }
38
- }
39
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ValueSelectorComponent, decorators: [{
40
- type: Component,
41
- args: [{ selector: "nui-value-selector", template: "<div *ngIf=\"form\" [formGroup]=\"form\">\n <div formGroupName=\"dataFieldIds\">\n <nui-form-field\n caption=\"Value\"\n i18n-caption\n class=\"mb-3\"\n [control]=\"dataFieldIds.controls['value']\"\n >\n <nui-select-v2\n formControlName=\"value\"\n [popupViewportMargin]=\"configuratorHeading.height$ | async\"\n placeholder=\"Select Value\"\n i18n-placeholder\n >\n <nui-select-v2-option\n *ngFor=\"let itemValue of dropdownItems.value\"\n [displayValueContext]=\"itemValue.label\"\n [value]=\"itemValue.id\"\n >\n {{ itemValue.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n</div>\n" }]
42
- }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i1.ConfiguratorHeadingService }, { type: i2.FormBuilder }, { type: i3.LoggerService }] });
43
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFsdWUtc2VsZWN0b3IuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2xpYi9jb25maWd1cmF0b3IvY29tcG9uZW50cy93aWRnZXRzL3RhYmxlL2NvbHVtbnMtZWRpdG9yL2NvbHVtbi1jb25maWd1cmF0aW9uL3ByZXNlbnRhdGlvbi1jb25maWd1cmF0aW9uL3BvcnRhbHMvdmFsdWUtc2VsZWN0b3IvdmFsdWUtc2VsZWN0b3IuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2xpYi9jb25maWd1cmF0b3IvY29tcG9uZW50cy93aWRnZXRzL3RhYmxlL2NvbHVtbnMtZWRpdG9yL2NvbHVtbi1jb25maWd1cmF0aW9uL3ByZXNlbnRhdGlvbi1jb25maWd1cmF0aW9uL3BvcnRhbHMvdmFsdWUtc2VsZWN0b3IvdmFsdWUtc2VsZWN0b3IuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEseURBQXlEO0FBQ3pELEVBQUU7QUFDRiwrRUFBK0U7QUFDL0UsNEVBQTRFO0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3VyYXRvckhlYWRpbmcuaGVpZ2h0JCB8IGFzeW5jXCJcbiAgICAgICAgICAgICAgICBwbGFjZWhvbGRlcj1cIlNlbGVjdCBWYWx1ZVwiXG4gICAgICAgICAgICAgICAgaTE4bi1wbGFjZWhvbGRlclxuICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgIDxudWktc2VsZWN0LXYyLW9wdGlvblxuICAgICAgICAgICAgICAgICAgICAqbmdGb3I9XCJsZXQgaXRlbVZhbHVlIG9mIGRyb3Bkb3duSXRlbXMudmFsdWVcIlxuICAgICAgICAgICAgICAgICAgICBbZGlzcGxheVZhbHVlQ29udGV4dF09XCJpdGVtVmFsdWUubGFiZWxcIlxuICAgICAgICAgICAgICAgICAgICBbdmFsdWVdPVwiaXRlbVZhbHVlLmlkXCJcbiAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgIHt7IGl0ZW1WYWx1ZS5sYWJlbCB9fVxuICAgICAgICAgICAgICAgIDwvbnVpLXNlbGVjdC12Mi1vcHRpb24+XG4gICAgICAgICAgICA8L251aS1zZWxlY3QtdjI+XG4gICAgICAgICAgICA8bnVpLXZhbGlkYXRpb24tbWVzc2FnZSBmb3I9XCJyZXF1aXJlZFwiIGkxOG4+XG4gICAgICAgICAgICAgICAgVGhpcyBmaWVsZCBpcyByZXF1aXJlZFxuICAgICAgICAgICAgPC9udWktdmFsaWRhdGlvbi1tZXNzYWdlPlxuICAgICAgICA8L251aS1mb3JtLWZpZWxkPlxuICAgIDwvZGl2PlxuPC9kaXY+XG4iXX0=