@nova-ui/dashboards 12.0.17 → 13.0.1

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 (813) hide show
  1. package/esm2020/lib/common/common.module.mjs +41 -0
  2. package/esm2020/lib/common/components/preview-overlay/preview-overlay.component.mjs +35 -0
  3. package/{esm2015/lib/common/components/public-api.js → esm2020/lib/common/components/public-api.mjs} +0 -0
  4. package/esm2020/lib/common/components/widget-error/widget-error.component.mjs +54 -0
  5. package/{esm2015/lib/common/constants.js → esm2020/lib/common/constants.mjs} +0 -0
  6. package/esm2020/lib/common/pipes/dashboard-unit-conversion-pipe.mjs +57 -0
  7. package/{esm2015/lib/common/pipes/public-api.js → esm2020/lib/common/pipes/public-api.mjs} +0 -0
  8. package/{esm2015/lib/common/public-api.js → esm2020/lib/common/public-api.mjs} +0 -0
  9. package/esm2020/lib/components/dashboard/dashboard.component.mjs +222 -0
  10. package/{esm2015/lib/components/dashboard/default-gridster-config.js → esm2020/lib/components/dashboard/default-gridster-config.mjs} +0 -0
  11. package/{esm2015/lib/components/dashboard/public-api.js → esm2020/lib/components/dashboard/public-api.mjs} +0 -0
  12. package/{esm2015/lib/components/dashboard/types.js → esm2020/lib/components/dashboard/types.mjs} +0 -0
  13. package/esm2020/lib/components/embedded-content/embedded-content.component.mjs +95 -0
  14. package/esm2020/lib/components/kpi-widget/kpi.component.mjs +119 -0
  15. package/{esm2015/lib/components/kpi-widget/public-api.js → esm2020/lib/components/kpi-widget/public-api.mjs} +0 -0
  16. package/{esm2015/lib/components/kpi-widget/types.js → esm2020/lib/components/kpi-widget/types.mjs} +0 -0
  17. package/esm2020/lib/components/layouts/base-layout.mjs +118 -0
  18. package/{esm2015/lib/components/layouts/public-api.js → esm2020/lib/components/layouts/public-api.mjs} +0 -0
  19. package/esm2020/lib/components/layouts/stack/stack.component.mjs +65 -0
  20. package/esm2020/lib/components/layouts/tiles/tiles.component.mjs +99 -0
  21. package/esm2020/lib/components/list-widget/list-elements/list-group-item/list-group-item.component.mjs +62 -0
  22. package/esm2020/lib/components/list-widget/list-elements/list-leaf-item/list-leaf-item.component.mjs +76 -0
  23. package/esm2020/lib/components/list-widget/list-elements/list-navigation-bar/list-navigation-bar.component.mjs +60 -0
  24. package/esm2020/lib/components/list-widget/list-widget.component.mjs +105 -0
  25. package/{esm2015/lib/components/list-widget/public-api.js → esm2020/lib/components/list-widget/public-api.mjs} +0 -0
  26. package/{esm2015/lib/components/list-widget/types.js → esm2020/lib/components/list-widget/types.mjs} +0 -0
  27. package/esm2020/lib/components/loading/loading.component.mjs +51 -0
  28. package/{esm2015/lib/components/loading/public-api.js → esm2020/lib/components/loading/public-api.mjs} +0 -0
  29. package/esm2020/lib/components/proportional-widget/proportional-donut-content/proportional-donut-content.component.mjs +152 -0
  30. package/esm2020/lib/components/proportional-widget/proportional-widget.component.mjs +328 -0
  31. package/{esm2015/lib/components/proportional-widget/public-api.js → esm2020/lib/components/proportional-widget/public-api.mjs} +0 -0
  32. package/{esm2015/lib/components/proportional-widget/types.js → esm2020/lib/components/proportional-widget/types.mjs} +0 -0
  33. package/esm2020/lib/components/providers/data-source-adapter.mjs +145 -0
  34. package/esm2020/lib/components/providers/drilldown-data-source-adapter.mjs +114 -0
  35. package/{esm2015/lib/components/providers/event-bus-debugger.js → esm2020/lib/components/providers/event-bus-debugger.mjs} +4 -4
  36. package/esm2020/lib/components/providers/interaction/interaction-handler.mjs +56 -0
  37. package/esm2020/lib/components/providers/interaction/url-interaction-handler.mjs +69 -0
  38. package/esm2020/lib/components/providers/kpi-color-prioritizer.mjs +107 -0
  39. package/esm2020/lib/components/providers/kpi-data-source-adapter.mjs +109 -0
  40. package/esm2020/lib/components/providers/kpi-scale-sync-broker.mjs +143 -0
  41. package/esm2020/lib/components/providers/kpi-status-content-fallback-adapter.mjs +104 -0
  42. package/esm2020/lib/components/providers/loading-adapter.mjs +72 -0
  43. package/esm2020/lib/components/providers/pizzagna-broadcaster.service.mjs +84 -0
  44. package/{esm2015/lib/components/providers/public-api.js → esm2020/lib/components/providers/public-api.mjs} +0 -0
  45. package/{esm2015/lib/components/providers/refresher-settings.service.js → esm2020/lib/components/providers/refresher-settings.service.mjs} +4 -4
  46. package/esm2020/lib/components/providers/refresher.mjs +105 -0
  47. package/esm2020/lib/components/providers/status-content-fallback-adapter.mjs +67 -0
  48. package/esm2020/lib/components/providers/table-data-source-adapter.mjs +83 -0
  49. package/esm2020/lib/components/providers/timeseries-data-source-adapter.mjs +72 -0
  50. package/{esm2015/lib/components/providers/types.js → esm2020/lib/components/providers/types.mjs} +0 -0
  51. package/{esm2015/lib/components/public-api.js → esm2020/lib/components/public-api.mjs} +0 -0
  52. package/esm2020/lib/components/table-widget/addons/search-feature-addon.service.mjs +101 -0
  53. package/esm2020/lib/components/table-widget/addons/virtual-scroll-feature-addon.service.mjs +79 -0
  54. package/{esm2015/lib/components/table-widget/delayed-mouse-presence-detection.directive.js → esm2020/lib/components/table-widget/delayed-mouse-presence-detection.directive.mjs} +4 -4
  55. package/{esm2015/lib/components/table-widget/public-api.js → esm2020/lib/components/table-widget/public-api.mjs} +0 -0
  56. package/esm2020/lib/components/table-widget/table-widget.component.mjs +493 -0
  57. package/{esm2015/lib/components/table-widget/types.js → esm2020/lib/components/table-widget/types.mjs} +0 -0
  58. package/{esm2015/lib/components/template-load-error/template-load-error.component.js → esm2020/lib/components/template-load-error/template-load-error.component.mjs} +4 -4
  59. package/{esm2015/lib/components/time-frame-selection/public-api.js → esm2020/lib/components/time-frame-selection/public-api.mjs} +0 -0
  60. package/esm2020/lib/components/time-frame-selection/timeframe-selection.component.mjs +129 -0
  61. package/{esm2015/lib/components/timeseries-widget/chart-presets/public-api.js → esm2020/lib/components/timeseries-widget/chart-presets/public-api.mjs} +0 -0
  62. package/esm2020/lib/components/timeseries-widget/chart-presets/status-bar-chart/apply-status-endpoints.mjs +73 -0
  63. package/esm2020/lib/components/timeseries-widget/chart-presets/status-bar-chart/status-bar-chart.component.mjs +152 -0
  64. package/esm2020/lib/components/timeseries-widget/chart-presets/timeseries-chart.component.mjs +110 -0
  65. package/esm2020/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/line-chart.component.mjs +62 -0
  66. package/esm2020/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-area-chart.component.mjs +62 -0
  67. package/esm2020/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-bar-chart.component.mjs +79 -0
  68. package/esm2020/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-percentage-area-chart.component.mjs +62 -0
  69. package/esm2020/lib/components/timeseries-widget/chart-presets/xy-chart/xy-chart.component.mjs +160 -0
  70. package/{esm2015/lib/components/timeseries-widget/public-api.js → esm2020/lib/components/timeseries-widget/public-api.mjs} +0 -0
  71. package/{esm2015/lib/components/timeseries-widget/timeseries-chart-preset.service.js → esm2020/lib/components/timeseries-widget/timeseries-chart-preset.service.mjs} +4 -4
  72. package/esm2020/lib/components/timeseries-widget/timeseries-scales.service.mjs +85 -0
  73. package/esm2020/lib/components/timeseries-widget/timeseries-widget.component.mjs +69 -0
  74. package/{esm2015/lib/components/timeseries-widget/types.js → esm2020/lib/components/timeseries-widget/types.mjs} +0 -0
  75. package/{esm2015/lib/components/types.js → esm2020/lib/components/types.mjs} +0 -0
  76. package/{esm2015/lib/components/widget/public-api.js → esm2020/lib/components/widget/public-api.mjs} +0 -0
  77. package/{esm2015/lib/components/widget/types.js → esm2020/lib/components/widget/types.mjs} +0 -0
  78. package/esm2020/lib/components/widget/widget-body/widget-body.component.mjs +88 -0
  79. package/esm2020/lib/components/widget/widget-body-content/widget-body-content.component.mjs +75 -0
  80. package/{esm2015/lib/components/widget/widget-header/types.js → esm2020/lib/components/widget/widget-header/types.mjs} +0 -0
  81. package/esm2020/lib/components/widget/widget-header/widget-header.component.mjs +202 -0
  82. package/esm2020/lib/components/widget/widget.component.mjs +65 -0
  83. package/{esm2015/lib/components/widget-search/types.js → esm2020/lib/components/widget-search/types.mjs} +0 -0
  84. package/esm2020/lib/components/widget-search/widget-search.component.mjs +111 -0
  85. package/{esm2015/lib/configurator/components/color-picker/HTMLcolors.js → esm2020/lib/configurator/components/color-picker/HTMLcolors.mjs} +0 -0
  86. package/esm2020/lib/configurator/components/color-picker/color-picker.component.mjs +183 -0
  87. package/{esm2015/lib/configurator/components/color-picker/color.service.js → esm2020/lib/configurator/components/color-picker/color.service.mjs} +4 -4
  88. package/esm2020/lib/configurator/components/configurator/configurator.component.mjs +116 -0
  89. package/esm2020/lib/configurator/components/drop-area/drop-area.component.mjs +30 -0
  90. package/esm2020/lib/configurator/components/form-stack/form-stack.component.mjs +86 -0
  91. package/esm2020/lib/configurator/components/formatters/donut-content-percentage-formatter/donut-content-percentage-configuration.component.mjs +43 -0
  92. package/esm2020/lib/configurator/components/formatters/donut-content-percentage-formatter/donut-content-percentage-formatter.component.mjs +84 -0
  93. package/{esm2015/lib/configurator/components/formatters/donut-content-raw-formatter/donut-content-raw-formatter.component.js → esm2020/lib/configurator/components/formatters/donut-content-raw-formatter/donut-content-raw-formatter.component.mjs} +5 -5
  94. package/{esm2015/lib/configurator/components/formatters/donut-content-sum-formatter/donut-content-sum-formatter.component.js → esm2020/lib/configurator/components/formatters/donut-content-sum-formatter/donut-content-sum-formatter.component.mjs} +4 -4
  95. package/esm2020/lib/configurator/components/formatters/icon-formatter/icon-formatter.component.mjs +84 -0
  96. package/{esm2015/lib/configurator/components/formatters/link-formatter/link-formatter.component.js → esm2020/lib/configurator/components/formatters/link-formatter/link-formatter.component.mjs} +5 -5
  97. package/{esm2015/lib/configurator/components/formatters/percentage-formatter/percentage-formatter.component.js → esm2020/lib/configurator/components/formatters/percentage-formatter/percentage-formatter.component.mjs} +4 -4
  98. package/{esm2015/lib/configurator/components/formatters/raw-formatter/raw-formatter.component.js → esm2020/lib/configurator/components/formatters/raw-formatter/raw-formatter.component.mjs} +4 -4
  99. package/esm2020/lib/configurator/components/formatters/si-units-formatter/si-units-formatter.component.mjs +119 -0
  100. package/{esm2015/lib/configurator/components/formatters/status-with-icon-formatter/status-with-icon-formatter.component.js → esm2020/lib/configurator/components/formatters/status-with-icon-formatter/status-with-icon-formatter.component.mjs} +5 -5
  101. package/{esm2015/lib/configurator/components/formatters/types.js → esm2020/lib/configurator/components/formatters/types.mjs} +0 -0
  102. package/esm2020/lib/configurator/components/formatters/widget-formatter-configurators/donut-formatter-configurator.component.mjs +92 -0
  103. package/esm2020/lib/configurator/components/heading/configurator-heading.component.mjs +49 -0
  104. package/esm2020/lib/configurator/components/items-dynamic/items-dynamic.component.mjs +146 -0
  105. package/{esm2015/lib/common/components/preview-overlay/preview-overlay.component.js → esm2020/lib/configurator/components/preview-placeholder/preview-placeholder.component.mjs} +7 -15
  106. package/{esm2015/lib/configurator/components/public-api.js → esm2020/lib/configurator/components/public-api.mjs} +0 -0
  107. package/{esm2015/lib/configurator/components/types.js → esm2020/lib/configurator/components/types.mjs} +0 -0
  108. package/esm2020/lib/configurator/components/widget-cloner/widget-cloner.component.mjs +169 -0
  109. package/{esm2015/lib/configurator/components/widget-configurator-section/widget-configurator-section-coordinator.service.js → esm2020/lib/configurator/components/widget-configurator-section/widget-configurator-section-coordinator.service.mjs} +4 -4
  110. package/esm2020/lib/configurator/components/widget-configurator-section/widget-configurator-section.component.mjs +83 -0
  111. package/esm2020/lib/configurator/components/widget-editor/widget-editor.component.mjs +147 -0
  112. package/esm2020/lib/configurator/components/widget-editor-accordion/widget-editor-accordion.component.mjs +69 -0
  113. package/esm2020/lib/configurator/components/widgets/configurator-items/background-color-rules-configuration/background-color-rules-configuration.component.mjs +121 -0
  114. package/esm2020/lib/configurator/components/widgets/configurator-items/data-source-configuration/data-source-configuration.component.mjs +152 -0
  115. package/esm2020/lib/configurator/components/widgets/configurator-items/data-source-configuration-v2/data-source-configuration-v2.component.mjs +197 -0
  116. package/esm2020/lib/configurator/components/widgets/configurator-items/data-source-error/data-source-error.component.mjs +74 -0
  117. package/{esm2015/lib/configurator/components/widgets/configurator-items/data-source-error/public-api.js → esm2020/lib/configurator/components/widgets/configurator-items/data-source-error/public-api.mjs} +0 -0
  118. package/esm2020/lib/configurator/components/widgets/configurator-items/data-source-error/table/table-data-source-error.component.mjs +41 -0
  119. package/esm2020/lib/configurator/components/widgets/configurator-items/embedded-content-configuration/embedded-content-configuration.component.mjs +133 -0
  120. package/esm2020/lib/configurator/components/widgets/configurator-items/info-message-configuration/info-message-configuration.component.mjs +44 -0
  121. package/esm2020/lib/configurator/components/widgets/configurator-items/kpi-description-configuration/kpi-description-configuration.component.mjs +101 -0
  122. package/{esm2015/lib/configurator/components/widgets/configurator-items/public-api.js → esm2020/lib/configurator/components/widgets/configurator-items/public-api.mjs} +0 -0
  123. package/{esm2015/lib/configurator/components/widgets/configurator-items/refresher-configuration/public-api.js → esm2020/lib/configurator/components/widgets/configurator-items/refresher-configuration/public-api.mjs} +0 -0
  124. package/{esm2015/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/refresh-rate-configurator.component.js → esm2020/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/refresh-rate-configurator.component.mjs} +8 -14
  125. package/{esm2015/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/time-units.js → esm2020/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/time-units.mjs} +0 -0
  126. package/{esm2015/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/types.js → esm2020/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/types.mjs} +0 -0
  127. package/esm2020/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresher-configuration.component.mjs +168 -0
  128. package/esm2020/lib/configurator/components/widgets/configurator-items/thresholds-configuration/thresholds-configuration.component.mjs +139 -0
  129. package/esm2020/lib/configurator/components/widgets/configurator-items/thresholds-configuration/thresholds-validator.mjs +56 -0
  130. package/esm2020/lib/configurator/components/widgets/configurator-items/timeseries-metadata-configuration/timeseries-metadata-configuration.component.mjs +150 -0
  131. package/esm2020/lib/configurator/components/widgets/configurator-items/title-and-description-configuration/title-and-description-configuration.component.mjs +90 -0
  132. package/esm2020/lib/configurator/components/widgets/drilldown/entity-formatting-configuration/entity-formatting-configuration.component.mjs +74 -0
  133. package/esm2020/lib/configurator/components/widgets/drilldown/grouping-configuration/grouping-configuration.component.mjs +159 -0
  134. package/{esm2015/lib/configurator/components/widgets/drilldown/public-api.js → esm2020/lib/configurator/components/widgets/drilldown/public-api.mjs} +0 -0
  135. package/esm2020/lib/configurator/components/widgets/kpi/kpi-tiles-configuration/kpi-tiles-configuration.component.mjs +92 -0
  136. package/{esm2015/lib/configurator/components/widgets/kpi/kpi-tiles-configuration/public-api.js → esm2020/lib/configurator/components/widgets/kpi/kpi-tiles-configuration/public-api.mjs} +0 -0
  137. package/{esm2015/lib/configurator/components/widgets/kpi/public-api.js → esm2020/lib/configurator/components/widgets/kpi/public-api.mjs} +0 -0
  138. package/{esm2015/lib/configurator/components/widgets/kpi/types.js → esm2020/lib/configurator/components/widgets/kpi/types.mjs} +0 -0
  139. package/esm2020/lib/configurator/components/widgets/proportional/aggregators-configurators/aggregator-configurator/aggregator-configurator.component.mjs +72 -0
  140. package/esm2020/lib/configurator/components/widgets/proportional/aggregators-configurators/field-mapper-aggregator-configurator/field-mapper-aggregator-configurator.component.mjs +87 -0
  141. package/esm2020/lib/configurator/components/widgets/proportional/chart-options-editor/proportional-chart-options-editor.component.mjs +165 -0
  142. package/esm2020/lib/configurator/components/widgets/proportional/chart-options-editor-v2/proportional-chart-options-editor-v2.component.mjs +107 -0
  143. package/esm2020/lib/configurator/components/widgets/proportional/donut-content-configuration/donut-content-configuration.component.mjs +167 -0
  144. package/{esm2015/lib/configurator/components/widgets/proportional/public-api.js → esm2020/lib/configurator/components/widgets/proportional/public-api.mjs} +0 -0
  145. package/{esm2015/lib/configurator/components/widgets/public-api.js → esm2020/lib/configurator/components/widgets/public-api.mjs} +0 -0
  146. package/esm2020/lib/configurator/components/widgets/table/columns-editor/column-configuration/description-configuration/description-configuration.component.mjs +79 -0
  147. package/esm2020/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/formatter-configurator.component.mjs +117 -0
  148. package/esm2020/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/link-configurator/link-configurator.component.mjs +53 -0
  149. package/esm2020/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/value-selector/value-selector.component.mjs +43 -0
  150. package/esm2020/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/presentation-configuration.component.mjs +258 -0
  151. package/esm2020/lib/configurator/components/widgets/table/columns-editor/table-columns-configuration.component.mjs +263 -0
  152. package/esm2020/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/description-configuration/description-configuration-v2.component.mjs +122 -0
  153. package/esm2020/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/presentation-configuration/presentation-configuration-v2.component.mjs +308 -0
  154. package/esm2020/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/table-column-configuration/table-column-configuration.component.mjs +109 -0
  155. package/esm2020/lib/configurator/components/widgets/table/columns-editor-v2/table-columns-configuration-v2.component.mjs +250 -0
  156. package/esm2020/lib/configurator/components/widgets/table/filters-editor/table-filters-editor.component.mjs +121 -0
  157. package/{esm2015/lib/configurator/components/widgets/table/public-api.js → esm2020/lib/configurator/components/widgets/table/public-api.mjs} +0 -0
  158. package/{esm2015/lib/configurator/components/widgets/timeseries/public-api.js → esm2020/lib/configurator/components/widgets/timeseries/public-api.mjs} +0 -0
  159. package/esm2020/lib/configurator/components/widgets/timeseries/timeseries-series-collection-configuration/timeseries-series-collection-configuration.component.mjs +111 -0
  160. package/esm2020/lib/configurator/components/widgets/timeseries/timeseries-tile-description-configuration/timeseries-tile-description-configuration.component.mjs +67 -0
  161. package/esm2020/lib/configurator/components/widgets/timeseries/timeseries-tile-indicator-data-configuration/timeseries-tile-indicator-data-configuration.component.mjs +106 -0
  162. package/{esm2015/lib/configurator/components/widgets/timeseries/types.js → esm2020/lib/configurator/components/widgets/timeseries/types.mjs} +0 -0
  163. package/{esm2015/lib/configurator/components/wizard/dashwiz/dashwiz-buttons.component.js → esm2020/lib/configurator/components/wizard/dashwiz/dashwiz-buttons.component.mjs} +5 -5
  164. package/esm2020/lib/configurator/components/wizard/dashwiz/dashwiz.component.mjs +344 -0
  165. package/{esm2015/lib/configurator/components/wizard/dashwiz/dashwiz.service.js → esm2020/lib/configurator/components/wizard/dashwiz/dashwiz.service.mjs} +4 -4
  166. package/{esm2015/lib/configurator/components/wizard/dashwiz/model.js → esm2020/lib/configurator/components/wizard/dashwiz/model.mjs} +0 -0
  167. package/{esm2015/lib/configurator/components/wizard/dashwiz/public-api.js → esm2020/lib/configurator/components/wizard/dashwiz/public-api.mjs} +0 -0
  168. package/esm2020/lib/configurator/components/wizard/dashwiz-step/dashwiz-step.component.mjs +131 -0
  169. package/{esm2015/lib/configurator/components/wizard/dashwiz-step/public-api.js → esm2020/lib/configurator/components/wizard/dashwiz-step/public-api.mjs} +0 -0
  170. package/{esm2015/lib/configurator/components/wizard/public-api.js → esm2020/lib/configurator/components/wizard/public-api.mjs} +0 -0
  171. package/{esm2015/lib/configurator/components/wizard/types.js → esm2020/lib/configurator/components/wizard/types.mjs} +0 -0
  172. package/{esm2015/lib/configurator/configurator.module.js → esm2020/lib/configurator/configurator.module.mjs} +5 -6
  173. package/{esm2015/lib/configurator/functions/has-control-in-error-state.js → esm2020/lib/configurator/functions/has-control-in-error-state.mjs} +0 -0
  174. package/{esm2015/lib/configurator/functions/public-api.js → esm2020/lib/configurator/functions/public-api.mjs} +0 -0
  175. package/{esm2015/lib/configurator/pipe/add-data.pipe.js → esm2020/lib/configurator/pipe/add-data.pipe.mjs} +4 -4
  176. package/esm2020/lib/configurator/pipe/pizzagna-root.pipe.mjs +45 -0
  177. package/{esm2015/lib/configurator/pipe/public-api.js → esm2020/lib/configurator/pipe/public-api.mjs} +0 -0
  178. package/{esm2015/lib/configurator/pipe/widget-configurator-section-header.pipe.js → esm2020/lib/configurator/pipe/widget-configurator-section-header.pipe.mjs} +4 -4
  179. package/{esm2015/lib/configurator/pipe/widget-editor-accordion-form-state.pipe.js → esm2020/lib/configurator/pipe/widget-editor-accordion-form-state.pipe.mjs} +4 -4
  180. package/{esm2015/lib/configurator/pipe/widget-editor-accordion-header-icon.pipe.js → esm2020/lib/configurator/pipe/widget-editor-accordion-header-icon.pipe.mjs} +4 -4
  181. package/{esm2015/lib/configurator/public-api.js → esm2020/lib/configurator/public-api.mjs} +0 -0
  182. package/esm2020/lib/configurator/services/configurator-data-source-manager.service.mjs +89 -0
  183. package/{esm2015/lib/configurator/services/configurator-heading.service.js → esm2020/lib/configurator/services/configurator-heading.service.mjs} +4 -4
  184. package/esm2020/lib/configurator/services/configurator.service.mjs +142 -0
  185. package/{esm2015/lib/configurator/services/converters/base-converter.js → esm2020/lib/configurator/services/converters/base-converter.mjs} +4 -4
  186. package/{esm2015/lib/configurator/services/converters/kpi/kpi-section-converter/kpi-section-converter.service.js → esm2020/lib/configurator/services/converters/kpi/kpi-section-converter/kpi-section-converter.service.mjs} +5 -5
  187. package/esm2020/lib/configurator/services/converters/kpi/kpi-tiles-converter.service.mjs +107 -0
  188. package/esm2020/lib/configurator/services/converters/proportional/proportional-widget-chart-options-converter.service.mjs +68 -0
  189. package/{esm2015/lib/configurator/services/converters/public-api.js → esm2020/lib/configurator/services/converters/public-api.mjs} +0 -0
  190. package/esm2020/lib/configurator/services/converters/shared/generic-array-converter/generic-array-converter.service.mjs +81 -0
  191. package/{esm2015/lib/configurator/services/converters/shared/generic-converter/generic-converter.service.js → esm2020/lib/configurator/services/converters/shared/generic-converter/generic-converter.service.mjs} +5 -5
  192. package/esm2020/lib/configurator/services/converters/shared/title-and-description-converter/title-and-description-converter.service.mjs +64 -0
  193. package/esm2020/lib/configurator/services/converters/table/table-columns-converter.service.mjs +180 -0
  194. package/esm2020/lib/configurator/services/converters/table/table-filters-converter.service.mjs +67 -0
  195. package/{esm2015/lib/configurator/services/converters/timeseries/timeseries-metadata-converter.service.js → esm2020/lib/configurator/services/converters/timeseries/timeseries-metadata-converter.service.mjs} +4 -4
  196. package/esm2020/lib/configurator/services/converters/timeseries/timeseries-series-converter.service.mjs +170 -0
  197. package/{esm2015/lib/configurator/services/converters/timeseries/timeseries-tile-indicator-data-converter.service.js → esm2020/lib/configurator/services/converters/timeseries/timeseries-tile-indicator-data-converter.service.mjs} +8 -5
  198. package/{esm2015/lib/configurator/services/converters/types.js → esm2020/lib/configurator/services/converters/types.mjs} +0 -0
  199. package/{esm2015/lib/configurator/services/kpi-widget-color.service.js → esm2020/lib/configurator/services/kpi-widget-color.service.mjs} +4 -4
  200. package/{esm2015/lib/configurator/services/preview.service.js → esm2020/lib/configurator/services/preview.service.mjs} +4 -4
  201. package/{esm2015/lib/configurator/services/public-api.js → esm2020/lib/configurator/services/public-api.mjs} +0 -0
  202. package/{esm2015/lib/configurator/services/timeframe-serialization.service.js → esm2020/lib/configurator/services/timeframe-serialization.service.mjs} +4 -4
  203. package/{esm2015/lib/configurator/services/types.js → esm2020/lib/configurator/services/types.mjs} +0 -0
  204. package/{esm2015/lib/configurator/services/widget-cloner.service.js → esm2020/lib/configurator/services/widget-cloner.service.mjs} +4 -4
  205. package/esm2020/lib/configurator/services/widget-editor.service.mjs +61 -0
  206. package/{esm2015/lib/configurator/types.js → esm2020/lib/configurator/types.mjs} +0 -0
  207. package/{esm2015/lib/constants/default-palette.js → esm2020/lib/constants/default-palette.mjs} +0 -0
  208. package/{esm2015/lib/constants/public-api.js → esm2020/lib/constants/public-api.mjs} +0 -0
  209. package/{esm2015/lib/constants/si-units-prefixes.js → esm2020/lib/constants/si-units-prefixes.mjs} +0 -0
  210. package/{esm2015/lib/dashboards.module.js → esm2020/lib/dashboards.module.mjs} +5 -6
  211. package/{esm2015/lib/directives/gridster-item-widget-id/gridster-item-widget-id.directive.js → esm2020/lib/directives/gridster-item-widget-id/gridster-item-widget-id.directive.mjs} +4 -4
  212. package/{esm2015/lib/directives/public-api.js → esm2020/lib/directives/public-api.mjs} +0 -0
  213. package/{esm2015/lib/directives/widget-editor/public-api.js → esm2020/lib/directives/widget-editor/public-api.mjs} +0 -0
  214. package/{esm2015/lib/directives/widget-editor/widget-editor.directive.js → esm2020/lib/directives/widget-editor/widget-editor.directive.mjs} +4 -4
  215. package/esm2020/lib/functions/get-parent-component-id.mjs +30 -0
  216. package/{esm2015/lib/functions/map-data-to-formatter-properties.js → esm2020/lib/functions/map-data-to-formatter-properties.mjs} +0 -0
  217. package/{esm2015/lib/functions/merge-changes.js → esm2020/lib/functions/merge-changes.mjs} +0 -0
  218. package/{esm2015/lib/functions/on-mark-as-touched.js → esm2020/lib/functions/on-mark-as-touched.mjs} +0 -0
  219. package/{esm2015/lib/functions/parse-string-with-data.js → esm2020/lib/functions/parse-string-with-data.mjs} +0 -0
  220. package/esm2020/lib/functions/proportional-aggregators/field-mapper.mjs +33 -0
  221. package/esm2020/lib/functions/proportional-aggregators/percentage-aggregator.mjs +44 -0
  222. package/{esm2015/lib/functions/proportional-aggregators/public-api.js → esm2020/lib/functions/proportional-aggregators/public-api.mjs} +0 -0
  223. package/{esm2015/lib/functions/proportional-aggregators/sum-aggregator.js → esm2020/lib/functions/proportional-aggregators/sum-aggregator.mjs} +0 -0
  224. package/{esm2015/lib/functions/proportional-aggregators/types.js → esm2020/lib/functions/proportional-aggregators/types.mjs} +0 -0
  225. package/{esm2015/lib/functions/public-api.js → esm2020/lib/functions/public-api.mjs} +0 -0
  226. package/{esm2015/lib/pizzagna/components/pizzagna/pizzagna.component.js → esm2020/lib/pizzagna/components/pizzagna/pizzagna.component.mjs} +6 -10
  227. package/{esm2015/lib/pizzagna/components/pizzagna/public-api.js → esm2020/lib/pizzagna/components/pizzagna/public-api.mjs} +0 -0
  228. package/esm2020/lib/pizzagna/directives/component-portal/component-portal.directive.mjs +306 -0
  229. package/{esm2015/lib/pizzagna/directives/component-portal/public-api.js → esm2020/lib/pizzagna/directives/component-portal/public-api.mjs} +0 -0
  230. package/{esm2015/lib/pizzagna/functions/get-pizzagna-property-path.js → esm2020/lib/pizzagna/functions/get-pizzagna-property-path.mjs} +0 -0
  231. package/{esm2015/lib/pizzagna/functions/public-api.js → esm2020/lib/pizzagna/functions/public-api.mjs} +0 -0
  232. package/{esm2015/lib/pizzagna/pizzagna.module.js → esm2020/lib/pizzagna/pizzagna.module.mjs} +5 -5
  233. package/{esm2015/lib/pizzagna/public-api.js → esm2020/lib/pizzagna/public-api.mjs} +0 -0
  234. package/{esm2015/lib/pizzagna/services/component-portal.service.js → esm2020/lib/pizzagna/services/component-portal.service.mjs} +4 -4
  235. package/{esm2015/lib/pizzagna/services/component-registry.service.js → esm2020/lib/pizzagna/services/component-registry.service.mjs} +4 -4
  236. package/esm2020/lib/pizzagna/services/dynamic-component-creator.service.mjs +63 -0
  237. package/esm2020/lib/pizzagna/services/pizzagna.service.mjs +133 -0
  238. package/{esm2015/lib/pizzagna/services/public-api.js → esm2020/lib/pizzagna/services/public-api.mjs} +0 -0
  239. package/esm2020/lib/services/category-chart-util.service.mjs +126 -0
  240. package/{esm2015/lib/services/event-registry.service.js → esm2020/lib/services/event-registry.service.mjs} +4 -4
  241. package/esm2020/lib/services/kpi-color-comparators-registry.service.mjs +68 -0
  242. package/{esm2015/lib/services/proportional-content-aggregators-registry.service.js → esm2020/lib/services/proportional-content-aggregators-registry.service.mjs} +4 -4
  243. package/{esm2015/lib/services/provider-registry.service.js → esm2020/lib/services/provider-registry.service.mjs} +4 -4
  244. package/{esm2015/lib/services/public-api.js → esm2020/lib/services/public-api.mjs} +0 -0
  245. package/esm2020/lib/services/registry-service.mjs +83 -0
  246. package/{esm2015/lib/services/table-formatter-registry.service.js → esm2020/lib/services/table-formatter-registry.service.mjs} +13 -13
  247. package/{esm2015/lib/services/types.js → esm2020/lib/services/types.mjs} +0 -0
  248. package/esm2020/lib/services/url-interaction.service.mjs +52 -0
  249. package/{esm2015/lib/services/widget-configuration.service.js → esm2020/lib/services/widget-configuration.service.mjs} +4 -4
  250. package/{esm2015/lib/services/widget-removal.service.js → esm2020/lib/services/widget-removal.service.mjs} +4 -4
  251. package/esm2020/lib/services/widget-to-dashboard-event-proxy.service.mjs +152 -0
  252. package/esm2020/lib/services/widget-types.service.mjs +88 -0
  253. package/{esm2015/lib/types.js → esm2020/lib/types.mjs} +0 -0
  254. package/{esm2015/lib/widget-types/common/configurator/components.js → esm2020/lib/widget-types/common/configurator/components.mjs} +0 -0
  255. package/{esm2015/lib/widget-types/common/configurator/public-api.js → esm2020/lib/widget-types/common/configurator/public-api.mjs} +0 -0
  256. package/{esm2015/lib/widget-types/common/public-api.js → esm2020/lib/widget-types/common/public-api.mjs} +0 -0
  257. package/esm2020/lib/widget-types/common/widget/components.mjs +133 -0
  258. package/{esm2015/lib/widget-types/common/widget/legend.js → esm2020/lib/widget-types/common/widget/legend.mjs} +0 -0
  259. package/{esm2015/lib/widget-types/common/widget/providers.js → esm2020/lib/widget-types/common/widget/providers.mjs} +0 -0
  260. package/{esm2015/lib/widget-types/common/widget/public-api.js → esm2020/lib/widget-types/common/widget/public-api.mjs} +0 -0
  261. package/{esm2015/lib/widget-types/common/widget/types.js → esm2020/lib/widget-types/common/widget/types.mjs} +0 -0
  262. package/{esm2015/lib/widget-types/drilldown/drilldown-configurator.js → esm2020/lib/widget-types/drilldown/drilldown-configurator.mjs} +0 -0
  263. package/esm2020/lib/widget-types/drilldown/drilldown-widget.mjs +95 -0
  264. package/{esm2015/lib/widget-types/drilldown/drilldown.js → esm2020/lib/widget-types/drilldown/drilldown.mjs} +0 -0
  265. package/{esm2015/lib/widget-types/embedded-content/embedded-content-configurator.js → esm2020/lib/widget-types/embedded-content/embedded-content-configurator.mjs} +0 -0
  266. package/esm2020/lib/widget-types/embedded-content/embedded-content-widget.mjs +73 -0
  267. package/{esm2015/lib/widget-types/embedded-content/embedded-content.js → esm2020/lib/widget-types/embedded-content/embedded-content.mjs} +0 -0
  268. package/{esm2015/lib/widget-types/kpi/kpi-configurator.js → esm2020/lib/widget-types/kpi/kpi-configurator.mjs} +0 -0
  269. package/esm2020/lib/widget-types/kpi/kpi-widget.mjs +105 -0
  270. package/{esm2015/lib/widget-types/kpi/kpi.js → esm2020/lib/widget-types/kpi/kpi.mjs} +0 -0
  271. package/{esm2015/lib/widget-types/preview-placeholder.js → esm2020/lib/widget-types/preview-placeholder.mjs} +0 -0
  272. package/{esm2015/lib/widget-types/proportional/donut-content-configurator-slice.js → esm2020/lib/widget-types/proportional/donut-content-configurator-slice.mjs} +0 -0
  273. package/{esm2015/lib/widget-types/proportional/proportional-configurator.js → esm2020/lib/widget-types/proportional/proportional-configurator.mjs} +0 -0
  274. package/esm2020/lib/widget-types/proportional/proportional-widget.mjs +91 -0
  275. package/{esm2015/lib/widget-types/proportional/proportional.js → esm2020/lib/widget-types/proportional/proportional.mjs} +0 -0
  276. package/{esm2015/lib/widget-types/public-api.js → esm2020/lib/widget-types/public-api.mjs} +0 -0
  277. package/{esm2015/lib/widget-types/table/default-table-formatters.js → esm2020/lib/widget-types/table/default-table-formatters.mjs} +0 -0
  278. package/{esm2015/lib/widget-types/table/table-configurator.js → esm2020/lib/widget-types/table/table-configurator.mjs} +0 -0
  279. package/esm2020/lib/widget-types/table/table-widget.mjs +111 -0
  280. package/{esm2015/lib/widget-types/table/table.js → esm2020/lib/widget-types/table/table.mjs} +0 -0
  281. package/{esm2015/lib/widget-types/timeseries/timeseries-configurator.js → esm2020/lib/widget-types/timeseries/timeseries-configurator.mjs} +0 -0
  282. package/esm2020/lib/widget-types/timeseries/timeseries-widget.mjs +122 -0
  283. package/{esm2015/lib/widget-types/timeseries/timeseries.js → esm2020/lib/widget-types/timeseries/timeseries.mjs} +0 -0
  284. package/{esm2015/nova-ui-dashboards.js → esm2020/nova-ui-dashboards.mjs} +0 -0
  285. package/{esm2015/public-api.js → esm2020/public-api.mjs} +0 -0
  286. package/fesm2015/{nova-ui-dashboards.js → nova-ui-dashboards.mjs} +1195 -1463
  287. package/fesm2015/nova-ui-dashboards.mjs.map +1 -0
  288. package/fesm2020/nova-ui-dashboards.mjs +16252 -0
  289. package/fesm2020/nova-ui-dashboards.mjs.map +1 -0
  290. package/lib/components/list-widget/list-elements/list-leaf-item/list-leaf-item.component.d.ts +1 -1
  291. package/lib/components/providers/data-source-adapter.d.ts +1 -1
  292. package/lib/components/providers/kpi-color-prioritizer.d.ts +1 -1
  293. package/lib/components/providers/refresher.d.ts +1 -1
  294. package/lib/components/providers/status-content-fallback-adapter.d.ts +1 -1
  295. package/lib/components/widget-search/widget-search.component.d.ts +1 -1
  296. package/lib/configurator/components/configurator/configurator.component.d.ts +1 -1
  297. package/lib/configurator/services/converters/base-converter.d.ts +1 -1
  298. package/package.json +36 -17
  299. package/sdk/atoms/spec/test.po.js +1 -1
  300. package/sdk/atoms/spec/test.po.js.map +1 -1
  301. package/sdk/atoms/spec/virtual-dashboards/drilldown-widget-test/drilldown-widget-test.component.js +10 -10
  302. package/sdk/atoms/spec/virtual-dashboards/drilldown-widget-test/drilldown-widget-test.component.js.map +1 -1
  303. package/sdk/atoms/spec/virtual-dashboards/drilldown-widget-test/drilldown-widget-test.component.spec.js +1 -1
  304. package/sdk/atoms/spec/virtual-dashboards/drilldown-widget-test/drilldown-widget-test.component.spec.js.map +1 -1
  305. package/sdk/atoms/src/lib/common/common.module.js +1 -2
  306. package/sdk/atoms/src/lib/common/common.module.js.map +1 -1
  307. package/sdk/atoms/src/lib/common/components/preview-overlay/preview-overlay.component.js +1 -1
  308. package/sdk/atoms/src/lib/common/components/preview-overlay/preview-overlay.component.js.map +1 -1
  309. package/sdk/atoms/src/lib/common/components/widget-error/widget-error.component.js +6 -6
  310. package/sdk/atoms/src/lib/common/components/widget-error/widget-error.component.js.map +1 -1
  311. package/sdk/atoms/src/lib/common/pipes/dashboard-unit-conversion-pipe.js +1 -1
  312. package/sdk/atoms/src/lib/common/pipes/dashboard-unit-conversion-pipe.js.map +1 -1
  313. package/sdk/atoms/src/lib/components/dashboard/dashboard.component.js +17 -17
  314. package/sdk/atoms/src/lib/components/dashboard/dashboard.component.js.map +1 -1
  315. package/sdk/atoms/src/lib/components/embedded-content/embedded-content.component.js +8 -8
  316. package/sdk/atoms/src/lib/components/embedded-content/embedded-content.component.js.map +1 -1
  317. package/sdk/atoms/src/lib/components/kpi-widget/kpi.component.js +12 -12
  318. package/sdk/atoms/src/lib/components/kpi-widget/kpi.component.js.map +1 -1
  319. package/sdk/atoms/src/lib/components/layouts/base-layout.js +3 -3
  320. package/sdk/atoms/src/lib/components/layouts/base-layout.js.map +1 -1
  321. package/sdk/atoms/src/lib/components/layouts/stack/stack.component.js +5 -5
  322. package/sdk/atoms/src/lib/components/layouts/stack/stack.component.js.map +1 -1
  323. package/sdk/atoms/src/lib/components/layouts/tiles/tiles.component.js +5 -5
  324. package/sdk/atoms/src/lib/components/layouts/tiles/tiles.component.js.map +1 -1
  325. package/sdk/atoms/src/lib/components/list-widget/list-elements/list-group-item/list-group-item.component.js +7 -7
  326. package/sdk/atoms/src/lib/components/list-widget/list-elements/list-group-item/list-group-item.component.js.map +1 -1
  327. package/sdk/atoms/src/lib/components/list-widget/list-elements/list-leaf-item/list-leaf-item.component.d.ts +1 -1
  328. package/sdk/atoms/src/lib/components/list-widget/list-elements/list-leaf-item/list-leaf-item.component.js +10 -10
  329. package/sdk/atoms/src/lib/components/list-widget/list-elements/list-leaf-item/list-leaf-item.component.js.map +1 -1
  330. package/sdk/atoms/src/lib/components/list-widget/list-elements/list-navigation-bar/list-navigation-bar.component.js +4 -4
  331. package/sdk/atoms/src/lib/components/list-widget/list-elements/list-navigation-bar/list-navigation-bar.component.js.map +1 -1
  332. package/sdk/atoms/src/lib/components/list-widget/list-widget.component.js +8 -8
  333. package/sdk/atoms/src/lib/components/list-widget/list-widget.component.js.map +1 -1
  334. package/sdk/atoms/src/lib/components/loading/loading.component.js +6 -6
  335. package/sdk/atoms/src/lib/components/loading/loading.component.js.map +1 -1
  336. package/sdk/atoms/src/lib/components/proportional-widget/proportional-donut-content/proportional-donut-content.component.js +6 -6
  337. package/sdk/atoms/src/lib/components/proportional-widget/proportional-donut-content/proportional-donut-content.component.js.map +1 -1
  338. package/sdk/atoms/src/lib/components/proportional-widget/proportional-widget.component.js +15 -15
  339. package/sdk/atoms/src/lib/components/proportional-widget/proportional-widget.component.js.map +1 -1
  340. package/sdk/atoms/src/lib/components/providers/data-source-adapter.d.ts +1 -1
  341. package/sdk/atoms/src/lib/components/providers/data-source-adapter.js +11 -11
  342. package/sdk/atoms/src/lib/components/providers/data-source-adapter.js.map +1 -1
  343. package/sdk/atoms/src/lib/components/providers/drilldown-data-source-adapter.js +3 -3
  344. package/sdk/atoms/src/lib/components/providers/drilldown-data-source-adapter.js.map +1 -1
  345. package/sdk/atoms/src/lib/components/providers/event-bus-debugger.js +4 -4
  346. package/sdk/atoms/src/lib/components/providers/event-bus-debugger.js.map +1 -1
  347. package/sdk/atoms/src/lib/components/providers/interaction/interaction-handler.js +2 -2
  348. package/sdk/atoms/src/lib/components/providers/interaction/interaction-handler.js.map +1 -1
  349. package/sdk/atoms/src/lib/components/providers/interaction/url-interaction-handler.js +3 -3
  350. package/sdk/atoms/src/lib/components/providers/interaction/url-interaction-handler.js.map +1 -1
  351. package/sdk/atoms/src/lib/components/providers/kpi-color-prioritizer.d.ts +1 -1
  352. package/sdk/atoms/src/lib/components/providers/kpi-color-prioritizer.js +4 -4
  353. package/sdk/atoms/src/lib/components/providers/kpi-color-prioritizer.js.map +1 -1
  354. package/sdk/atoms/src/lib/components/providers/kpi-data-source-adapter.js +5 -5
  355. package/sdk/atoms/src/lib/components/providers/kpi-data-source-adapter.js.map +1 -1
  356. package/sdk/atoms/src/lib/components/providers/kpi-scale-sync-broker.js +4 -4
  357. package/sdk/atoms/src/lib/components/providers/kpi-scale-sync-broker.js.map +1 -1
  358. package/sdk/atoms/src/lib/components/providers/kpi-status-content-fallback-adapter.js +5 -5
  359. package/sdk/atoms/src/lib/components/providers/kpi-status-content-fallback-adapter.js.map +1 -1
  360. package/sdk/atoms/src/lib/components/providers/loading-adapter.js +4 -4
  361. package/sdk/atoms/src/lib/components/providers/loading-adapter.js.map +1 -1
  362. package/sdk/atoms/src/lib/components/providers/pizzagna-broadcaster.service.js +6 -6
  363. package/sdk/atoms/src/lib/components/providers/pizzagna-broadcaster.service.js.map +1 -1
  364. package/sdk/atoms/src/lib/components/providers/refresher-settings.service.js +1 -1
  365. package/sdk/atoms/src/lib/components/providers/refresher-settings.service.js.map +1 -1
  366. package/sdk/atoms/src/lib/components/providers/refresher.d.ts +1 -1
  367. package/sdk/atoms/src/lib/components/providers/refresher.js +4 -4
  368. package/sdk/atoms/src/lib/components/providers/refresher.js.map +1 -1
  369. package/sdk/atoms/src/lib/components/providers/status-content-fallback-adapter.d.ts +1 -1
  370. package/sdk/atoms/src/lib/components/providers/status-content-fallback-adapter.js +3 -3
  371. package/sdk/atoms/src/lib/components/providers/status-content-fallback-adapter.js.map +1 -1
  372. package/sdk/atoms/src/lib/components/providers/table-data-source-adapter.js +7 -7
  373. package/sdk/atoms/src/lib/components/providers/table-data-source-adapter.js.map +1 -1
  374. package/sdk/atoms/src/lib/components/providers/timeseries-data-source-adapter.js +3 -3
  375. package/sdk/atoms/src/lib/components/providers/timeseries-data-source-adapter.js.map +1 -1
  376. package/sdk/atoms/src/lib/components/table-widget/addons/search-feature-addon.service.js +5 -5
  377. package/sdk/atoms/src/lib/components/table-widget/addons/search-feature-addon.service.js.map +1 -1
  378. package/sdk/atoms/src/lib/components/table-widget/addons/virtual-scroll-feature-addon.service.js +12 -10
  379. package/sdk/atoms/src/lib/components/table-widget/addons/virtual-scroll-feature-addon.service.js.map +1 -1
  380. package/sdk/atoms/src/lib/components/table-widget/delayed-mouse-presence-detection.directive.js +7 -7
  381. package/sdk/atoms/src/lib/components/table-widget/delayed-mouse-presence-detection.directive.js.map +1 -1
  382. package/sdk/atoms/src/lib/components/table-widget/table-widget.component.js +31 -31
  383. package/sdk/atoms/src/lib/components/table-widget/table-widget.component.js.map +1 -1
  384. package/sdk/atoms/src/lib/components/template-load-error/template-load-error.component.js +1 -1
  385. package/sdk/atoms/src/lib/components/template-load-error/template-load-error.component.js.map +1 -1
  386. package/sdk/atoms/src/lib/components/time-frame-selection/timeframe-selection.component.js +12 -12
  387. package/sdk/atoms/src/lib/components/time-frame-selection/timeframe-selection.component.js.map +1 -1
  388. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/status-bar-chart/apply-status-endpoints.js +6 -6
  389. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/status-bar-chart/apply-status-endpoints.js.map +1 -1
  390. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/status-bar-chart/status-bar-chart.component.js +7 -7
  391. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/status-bar-chart/status-bar-chart.component.js.map +1 -1
  392. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/timeseries-chart.component.js +4 -4
  393. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/timeseries-chart.component.js.map +1 -1
  394. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/line-chart.component.js +4 -4
  395. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/line-chart.component.js.map +1 -1
  396. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-area-chart.component.js +6 -6
  397. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-area-chart.component.js.map +1 -1
  398. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-bar-chart.component.js +6 -6
  399. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-bar-chart.component.js.map +1 -1
  400. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-percentage-area-chart.component.js +6 -6
  401. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-percentage-area-chart.component.js.map +1 -1
  402. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/xy-chart.component.js +8 -8
  403. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/xy-chart.component.js.map +1 -1
  404. package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-chart-preset.service.js +1 -1
  405. package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-chart-preset.service.js.map +1 -1
  406. package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-scales.service.js +3 -3
  407. package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-scales.service.js.map +1 -1
  408. package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-widget.component.js +6 -6
  409. package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-widget.component.js.map +1 -1
  410. package/sdk/atoms/src/lib/components/widget/widget-body/widget-body.component.js +8 -8
  411. package/sdk/atoms/src/lib/components/widget/widget-body/widget-body.component.js.map +1 -1
  412. package/sdk/atoms/src/lib/components/widget/widget-body-content/widget-body-content.component.js +7 -7
  413. package/sdk/atoms/src/lib/components/widget/widget-body-content/widget-body-content.component.js.map +1 -1
  414. package/sdk/atoms/src/lib/components/widget/widget-header/widget-header.component.js +27 -27
  415. package/sdk/atoms/src/lib/components/widget/widget-header/widget-header.component.js.map +1 -1
  416. package/sdk/atoms/src/lib/components/widget/widget.component.js +3 -3
  417. package/sdk/atoms/src/lib/components/widget/widget.component.js.map +1 -1
  418. package/sdk/atoms/src/lib/components/widget-search/widget-search.component.d.ts +1 -1
  419. package/sdk/atoms/src/lib/components/widget-search/widget-search.component.js +8 -8
  420. package/sdk/atoms/src/lib/components/widget-search/widget-search.component.js.map +1 -1
  421. package/sdk/atoms/src/lib/configurator/components/color-picker/color-picker.component.js +12 -12
  422. package/sdk/atoms/src/lib/configurator/components/color-picker/color-picker.component.js.map +1 -1
  423. package/sdk/atoms/src/lib/configurator/components/color-picker/color.service.js +2 -2
  424. package/sdk/atoms/src/lib/configurator/components/color-picker/color.service.js.map +1 -1
  425. package/sdk/atoms/src/lib/configurator/components/configurator/configurator.component.d.ts +1 -1
  426. package/sdk/atoms/src/lib/configurator/components/configurator/configurator.component.js +6 -6
  427. package/sdk/atoms/src/lib/configurator/components/configurator/configurator.component.js.map +1 -1
  428. package/sdk/atoms/src/lib/configurator/components/drop-area/drop-area.component.js +1 -1
  429. package/sdk/atoms/src/lib/configurator/components/drop-area/drop-area.component.js.map +1 -1
  430. package/sdk/atoms/src/lib/configurator/components/form-stack/form-stack.component.js +4 -4
  431. package/sdk/atoms/src/lib/configurator/components/form-stack/form-stack.component.js.map +1 -1
  432. package/sdk/atoms/src/lib/configurator/components/formatters/donut-content-percentage-formatter/donut-content-percentage-configuration.component.js +1 -1
  433. package/sdk/atoms/src/lib/configurator/components/formatters/donut-content-percentage-formatter/donut-content-percentage-configuration.component.js.map +1 -1
  434. package/sdk/atoms/src/lib/configurator/components/formatters/donut-content-percentage-formatter/donut-content-percentage-formatter.component.js +6 -6
  435. package/sdk/atoms/src/lib/configurator/components/formatters/donut-content-percentage-formatter/donut-content-percentage-formatter.component.js.map +1 -1
  436. package/sdk/atoms/src/lib/configurator/components/formatters/donut-content-raw-formatter/donut-content-raw-formatter.component.js +4 -4
  437. package/sdk/atoms/src/lib/configurator/components/formatters/donut-content-raw-formatter/donut-content-raw-formatter.component.js.map +1 -1
  438. package/sdk/atoms/src/lib/configurator/components/formatters/donut-content-sum-formatter/donut-content-sum-formatter.component.js +3 -3
  439. package/sdk/atoms/src/lib/configurator/components/formatters/donut-content-sum-formatter/donut-content-sum-formatter.component.js.map +1 -1
  440. package/sdk/atoms/src/lib/configurator/components/formatters/icon-formatter/icon-formatter.component.js +2 -2
  441. package/sdk/atoms/src/lib/configurator/components/formatters/icon-formatter/icon-formatter.component.js.map +1 -1
  442. package/sdk/atoms/src/lib/configurator/components/formatters/link-formatter/link-formatter.component.js +3 -3
  443. package/sdk/atoms/src/lib/configurator/components/formatters/link-formatter/link-formatter.component.js.map +1 -1
  444. package/sdk/atoms/src/lib/configurator/components/formatters/percentage-formatter/percentage-formatter.component.js +1 -1
  445. package/sdk/atoms/src/lib/configurator/components/formatters/percentage-formatter/percentage-formatter.component.js.map +1 -1
  446. package/sdk/atoms/src/lib/configurator/components/formatters/raw-formatter/raw-formatter.component.js +4 -4
  447. package/sdk/atoms/src/lib/configurator/components/formatters/raw-formatter/raw-formatter.component.js.map +1 -1
  448. package/sdk/atoms/src/lib/configurator/components/formatters/si-units-formatter/si-units-formatter.component.js +6 -6
  449. package/sdk/atoms/src/lib/configurator/components/formatters/si-units-formatter/si-units-formatter.component.js.map +1 -1
  450. package/sdk/atoms/src/lib/configurator/components/formatters/status-with-icon-formatter/status-with-icon-formatter.component.js +2 -2
  451. package/sdk/atoms/src/lib/configurator/components/formatters/status-with-icon-formatter/status-with-icon-formatter.component.js.map +1 -1
  452. package/sdk/atoms/src/lib/configurator/components/formatters/widget-formatter-configurators/donut-formatter-configurator.component.js +4 -4
  453. package/sdk/atoms/src/lib/configurator/components/formatters/widget-formatter-configurators/donut-formatter-configurator.component.js.map +1 -1
  454. package/sdk/atoms/src/lib/configurator/components/heading/configurator-heading.component.js +4 -4
  455. package/sdk/atoms/src/lib/configurator/components/heading/configurator-heading.component.js.map +1 -1
  456. package/sdk/atoms/src/lib/configurator/components/items-dynamic/items-dynamic.component.js +8 -8
  457. package/sdk/atoms/src/lib/configurator/components/items-dynamic/items-dynamic.component.js.map +1 -1
  458. package/sdk/atoms/src/lib/configurator/components/preview-placeholder/preview-placeholder.component.js +1 -1
  459. package/sdk/atoms/src/lib/configurator/components/preview-placeholder/preview-placeholder.component.js.map +1 -1
  460. package/sdk/atoms/src/lib/configurator/components/widget-cloner/widget-cloner.component.js +7 -7
  461. package/sdk/atoms/src/lib/configurator/components/widget-cloner/widget-cloner.component.js.map +1 -1
  462. package/sdk/atoms/src/lib/configurator/components/widget-configurator-section/widget-configurator-section-coordinator.service.js +2 -2
  463. package/sdk/atoms/src/lib/configurator/components/widget-configurator-section/widget-configurator-section-coordinator.service.js.map +1 -1
  464. package/sdk/atoms/src/lib/configurator/components/widget-configurator-section/widget-configurator-section.component.js +7 -7
  465. package/sdk/atoms/src/lib/configurator/components/widget-configurator-section/widget-configurator-section.component.js.map +1 -1
  466. package/sdk/atoms/src/lib/configurator/components/widget-editor/widget-editor.component.js +8 -8
  467. package/sdk/atoms/src/lib/configurator/components/widget-editor/widget-editor.component.js.map +1 -1
  468. package/sdk/atoms/src/lib/configurator/components/widget-editor-accordion/widget-editor-accordion.component.js +3 -3
  469. package/sdk/atoms/src/lib/configurator/components/widget-editor-accordion/widget-editor-accordion.component.js.map +1 -1
  470. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/background-color-rules-configuration/background-color-rules-configuration.component.js +6 -6
  471. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/background-color-rules-configuration/background-color-rules-configuration.component.js.map +1 -1
  472. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/data-source-configuration/data-source-configuration.component.js +8 -8
  473. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/data-source-configuration/data-source-configuration.component.js.map +1 -1
  474. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/data-source-configuration-v2/data-source-configuration-v2.component.js +9 -9
  475. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/data-source-configuration-v2/data-source-configuration-v2.component.js.map +1 -1
  476. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/data-source-error/data-source-error.component.js +6 -6
  477. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/data-source-error/data-source-error.component.js.map +1 -1
  478. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/data-source-error/table/table-data-source-error.component.js +1 -1
  479. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/data-source-error/table/table-data-source-error.component.js.map +1 -1
  480. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/embedded-content-configuration/embedded-content-configuration.component.js +8 -8
  481. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/embedded-content-configuration/embedded-content-configuration.component.js.map +1 -1
  482. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/info-message-configuration/info-message-configuration.component.js +5 -5
  483. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/info-message-configuration/info-message-configuration.component.js.map +1 -1
  484. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/kpi-description-configuration/kpi-description-configuration.component.js +14 -14
  485. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/kpi-description-configuration/kpi-description-configuration.component.js.map +1 -1
  486. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/refresh-rate-configurator.component.js +12 -12
  487. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/refresh-rate-configurator.component.js.map +1 -1
  488. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresher-configuration.component.js +12 -12
  489. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresher-configuration.component.js.map +1 -1
  490. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/thresholds-configuration/thresholds-configuration.component.js +9 -9
  491. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/thresholds-configuration/thresholds-configuration.component.js.map +1 -1
  492. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/thresholds-configuration/thresholds-validator.js +3 -3
  493. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/thresholds-configuration/thresholds-validator.js.map +1 -1
  494. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/timeseries-metadata-configuration/timeseries-metadata-configuration.component.js +11 -11
  495. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/timeseries-metadata-configuration/timeseries-metadata-configuration.component.js.map +1 -1
  496. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/title-and-description-configuration/title-and-description-configuration.component.js +7 -7
  497. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/title-and-description-configuration/title-and-description-configuration.component.js.map +1 -1
  498. package/sdk/atoms/src/lib/configurator/components/widgets/drilldown/entity-formatting-configuration/entity-formatting-configuration.component.js +4 -4
  499. package/sdk/atoms/src/lib/configurator/components/widgets/drilldown/entity-formatting-configuration/entity-formatting-configuration.component.js.map +1 -1
  500. package/sdk/atoms/src/lib/configurator/components/widgets/drilldown/grouping-configuration/grouping-configuration.component.js +10 -10
  501. package/sdk/atoms/src/lib/configurator/components/widgets/drilldown/grouping-configuration/grouping-configuration.component.js.map +1 -1
  502. package/sdk/atoms/src/lib/configurator/components/widgets/kpi/kpi-tiles-configuration/kpi-tiles-configuration.component.js +8 -8
  503. package/sdk/atoms/src/lib/configurator/components/widgets/kpi/kpi-tiles-configuration/kpi-tiles-configuration.component.js.map +1 -1
  504. package/sdk/atoms/src/lib/configurator/components/widgets/proportional/aggregators-configurators/aggregator-configurator/aggregator-configurator.component.js +5 -5
  505. package/sdk/atoms/src/lib/configurator/components/widgets/proportional/aggregators-configurators/aggregator-configurator/aggregator-configurator.component.js.map +1 -1
  506. package/sdk/atoms/src/lib/configurator/components/widgets/proportional/aggregators-configurators/field-mapper-aggregator-configurator/field-mapper-aggregator-configurator.component.js +5 -5
  507. package/sdk/atoms/src/lib/configurator/components/widgets/proportional/aggregators-configurators/field-mapper-aggregator-configurator/field-mapper-aggregator-configurator.component.js.map +1 -1
  508. package/sdk/atoms/src/lib/configurator/components/widgets/proportional/chart-options-editor/proportional-chart-options-editor.component.js +9 -9
  509. package/sdk/atoms/src/lib/configurator/components/widgets/proportional/chart-options-editor/proportional-chart-options-editor.component.js.map +1 -1
  510. package/sdk/atoms/src/lib/configurator/components/widgets/proportional/chart-options-editor-v2/proportional-chart-options-editor-v2.component.js +8 -8
  511. package/sdk/atoms/src/lib/configurator/components/widgets/proportional/chart-options-editor-v2/proportional-chart-options-editor-v2.component.js.map +1 -1
  512. package/sdk/atoms/src/lib/configurator/components/widgets/proportional/donut-content-configuration/donut-content-configuration.component.js +10 -10
  513. package/sdk/atoms/src/lib/configurator/components/widgets/proportional/donut-content-configuration/donut-content-configuration.component.js.map +1 -1
  514. package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/column-configuration/description-configuration/description-configuration.component.js +7 -7
  515. package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/column-configuration/description-configuration/description-configuration.component.js.map +1 -1
  516. package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/formatter-configurator.component.js +6 -6
  517. package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/formatter-configurator.component.js.map +1 -1
  518. package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/link-configurator/link-configurator.component.js +1 -1
  519. 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
  520. package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/value-selector/value-selector.component.js +1 -1
  521. 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
  522. package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/presentation-configuration.component.js +13 -13
  523. package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/presentation-configuration.component.js.map +1 -1
  524. package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/table-columns-configuration.component.js +19 -19
  525. package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/table-columns-configuration.component.js.map +1 -1
  526. package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/description-configuration/description-configuration-v2.component.js +7 -7
  527. package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/description-configuration/description-configuration-v2.component.js.map +1 -1
  528. package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/presentation-configuration/presentation-configuration-v2.component.js +15 -15
  529. package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/presentation-configuration/presentation-configuration-v2.component.js.map +1 -1
  530. package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/table-column-configuration/table-column-configuration.component.js +7 -7
  531. 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
  532. package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor-v2/table-columns-configuration-v2.component.js +12 -12
  533. package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor-v2/table-columns-configuration-v2.component.js.map +1 -1
  534. package/sdk/atoms/src/lib/configurator/components/widgets/table/filters-editor/table-filters-editor.component.js +7 -7
  535. package/sdk/atoms/src/lib/configurator/components/widgets/table/filters-editor/table-filters-editor.component.js.map +1 -1
  536. package/sdk/atoms/src/lib/configurator/components/widgets/timeseries/timeseries-series-collection-configuration/timeseries-series-collection-configuration.component.js +10 -10
  537. package/sdk/atoms/src/lib/configurator/components/widgets/timeseries/timeseries-series-collection-configuration/timeseries-series-collection-configuration.component.js.map +1 -1
  538. package/sdk/atoms/src/lib/configurator/components/widgets/timeseries/timeseries-tile-description-configuration/timeseries-tile-description-configuration.component.js +4 -4
  539. package/sdk/atoms/src/lib/configurator/components/widgets/timeseries/timeseries-tile-description-configuration/timeseries-tile-description-configuration.component.js.map +1 -1
  540. package/sdk/atoms/src/lib/configurator/components/widgets/timeseries/timeseries-tile-indicator-data-configuration/timeseries-tile-indicator-data-configuration.component.js +7 -7
  541. package/sdk/atoms/src/lib/configurator/components/widgets/timeseries/timeseries-tile-indicator-data-configuration/timeseries-tile-indicator-data-configuration.component.js.map +1 -1
  542. package/sdk/atoms/src/lib/configurator/components/wizard/dashwiz/dashwiz-buttons.component.js +12 -12
  543. package/sdk/atoms/src/lib/configurator/components/wizard/dashwiz/dashwiz-buttons.component.js.map +1 -1
  544. package/sdk/atoms/src/lib/configurator/components/wizard/dashwiz/dashwiz.component.js +24 -24
  545. package/sdk/atoms/src/lib/configurator/components/wizard/dashwiz/dashwiz.component.js.map +1 -1
  546. package/sdk/atoms/src/lib/configurator/components/wizard/dashwiz/dashwiz.service.js +1 -1
  547. package/sdk/atoms/src/lib/configurator/components/wizard/dashwiz/dashwiz.service.js.map +1 -1
  548. package/sdk/atoms/src/lib/configurator/components/wizard/dashwiz-step/dashwiz-step.component.js +12 -12
  549. package/sdk/atoms/src/lib/configurator/components/wizard/dashwiz-step/dashwiz-step.component.js.map +1 -1
  550. package/sdk/atoms/src/lib/configurator/configurator.module.js +1 -2
  551. package/sdk/atoms/src/lib/configurator/configurator.module.js.map +1 -1
  552. package/sdk/atoms/src/lib/configurator/pipe/add-data.pipe.js +3 -3
  553. package/sdk/atoms/src/lib/configurator/pipe/add-data.pipe.js.map +1 -1
  554. package/sdk/atoms/src/lib/configurator/pipe/pizzagna-root.pipe.js +1 -1
  555. package/sdk/atoms/src/lib/configurator/pipe/pizzagna-root.pipe.js.map +1 -1
  556. package/sdk/atoms/src/lib/configurator/pipe/widget-configurator-section-header.pipe.js +1 -1
  557. package/sdk/atoms/src/lib/configurator/pipe/widget-configurator-section-header.pipe.js.map +1 -1
  558. package/sdk/atoms/src/lib/configurator/pipe/widget-editor-accordion-form-state.pipe.js +3 -3
  559. package/sdk/atoms/src/lib/configurator/pipe/widget-editor-accordion-form-state.pipe.js.map +1 -1
  560. package/sdk/atoms/src/lib/configurator/pipe/widget-editor-accordion-header-icon.pipe.js +2 -2
  561. package/sdk/atoms/src/lib/configurator/pipe/widget-editor-accordion-header-icon.pipe.js.map +1 -1
  562. package/sdk/atoms/src/lib/configurator/services/configurator-data-source-manager.service.js +5 -5
  563. package/sdk/atoms/src/lib/configurator/services/configurator-data-source-manager.service.js.map +1 -1
  564. package/sdk/atoms/src/lib/configurator/services/configurator-heading.service.js +1 -1
  565. package/sdk/atoms/src/lib/configurator/services/configurator-heading.service.js.map +1 -1
  566. package/sdk/atoms/src/lib/configurator/services/configurator.service.js +11 -11
  567. package/sdk/atoms/src/lib/configurator/services/configurator.service.js.map +1 -1
  568. package/sdk/atoms/src/lib/configurator/services/converters/base-converter.d.ts +1 -1
  569. package/sdk/atoms/src/lib/configurator/services/converters/base-converter.js +2 -2
  570. package/sdk/atoms/src/lib/configurator/services/converters/base-converter.js.map +1 -1
  571. package/sdk/atoms/src/lib/configurator/services/converters/kpi/kpi-section-converter/kpi-section-converter.service.js +8 -8
  572. package/sdk/atoms/src/lib/configurator/services/converters/kpi/kpi-section-converter/kpi-section-converter.service.js.map +1 -1
  573. package/sdk/atoms/src/lib/configurator/services/converters/kpi/kpi-tiles-converter.service.js +9 -9
  574. package/sdk/atoms/src/lib/configurator/services/converters/kpi/kpi-tiles-converter.service.js.map +1 -1
  575. package/sdk/atoms/src/lib/configurator/services/converters/proportional/proportional-widget-chart-options-converter.service.js +9 -9
  576. package/sdk/atoms/src/lib/configurator/services/converters/proportional/proportional-widget-chart-options-converter.service.js.map +1 -1
  577. package/sdk/atoms/src/lib/configurator/services/converters/shared/generic-array-converter/generic-array-converter.service.js +9 -9
  578. package/sdk/atoms/src/lib/configurator/services/converters/shared/generic-array-converter/generic-array-converter.service.js.map +1 -1
  579. package/sdk/atoms/src/lib/configurator/services/converters/shared/generic-converter/generic-converter.service.js +8 -8
  580. package/sdk/atoms/src/lib/configurator/services/converters/shared/generic-converter/generic-converter.service.js.map +1 -1
  581. package/sdk/atoms/src/lib/configurator/services/converters/shared/title-and-description-converter/title-and-description-converter.service.js +9 -9
  582. package/sdk/atoms/src/lib/configurator/services/converters/shared/title-and-description-converter/title-and-description-converter.service.js.map +1 -1
  583. package/sdk/atoms/src/lib/configurator/services/converters/table/table-columns-converter.service.js +14 -14
  584. package/sdk/atoms/src/lib/configurator/services/converters/table/table-columns-converter.service.js.map +1 -1
  585. package/sdk/atoms/src/lib/configurator/services/converters/table/table-filters-converter.service.js +6 -6
  586. package/sdk/atoms/src/lib/configurator/services/converters/table/table-filters-converter.service.js.map +1 -1
  587. package/sdk/atoms/src/lib/configurator/services/converters/timeseries/timeseries-metadata-converter.service.js +15 -15
  588. package/sdk/atoms/src/lib/configurator/services/converters/timeseries/timeseries-metadata-converter.service.js.map +1 -1
  589. package/sdk/atoms/src/lib/configurator/services/converters/timeseries/timeseries-series-converter.service.js +26 -26
  590. package/sdk/atoms/src/lib/configurator/services/converters/timeseries/timeseries-series-converter.service.js.map +1 -1
  591. package/sdk/atoms/src/lib/configurator/services/converters/timeseries/timeseries-tile-indicator-data-converter.service.js +7 -7
  592. package/sdk/atoms/src/lib/configurator/services/converters/timeseries/timeseries-tile-indicator-data-converter.service.js.map +1 -1
  593. package/sdk/atoms/src/lib/configurator/services/kpi-widget-color.service.js +1 -1
  594. package/sdk/atoms/src/lib/configurator/services/kpi-widget-color.service.js.map +1 -1
  595. package/sdk/atoms/src/lib/configurator/services/preview.service.js +1 -1
  596. package/sdk/atoms/src/lib/configurator/services/preview.service.js.map +1 -1
  597. package/sdk/atoms/src/lib/configurator/services/timeframe-serialization.service.js +3 -3
  598. package/sdk/atoms/src/lib/configurator/services/timeframe-serialization.service.js.map +1 -1
  599. package/sdk/atoms/src/lib/configurator/services/widget-cloner.service.js +1 -1
  600. package/sdk/atoms/src/lib/configurator/services/widget-cloner.service.js.map +1 -1
  601. package/sdk/atoms/src/lib/configurator/services/widget-editor.service.js +2 -2
  602. package/sdk/atoms/src/lib/configurator/services/widget-editor.service.js.map +1 -1
  603. package/sdk/atoms/src/lib/constants/default-palette.js +1 -1
  604. package/sdk/atoms/src/lib/constants/default-palette.js.map +1 -1
  605. package/sdk/atoms/src/lib/dashboards.module.js +1 -2
  606. package/sdk/atoms/src/lib/dashboards.module.js.map +1 -1
  607. package/sdk/atoms/src/lib/directives/gridster-item-widget-id/gridster-item-widget-id.directive.js +4 -4
  608. package/sdk/atoms/src/lib/directives/gridster-item-widget-id/gridster-item-widget-id.directive.js.map +1 -1
  609. package/sdk/atoms/src/lib/directives/widget-editor/widget-editor.directive.js +9 -9
  610. package/sdk/atoms/src/lib/directives/widget-editor/widget-editor.directive.js.map +1 -1
  611. package/sdk/atoms/src/lib/functions/merge-changes.js +3 -3
  612. package/sdk/atoms/src/lib/functions/merge-changes.js.map +1 -1
  613. package/sdk/atoms/src/lib/functions/proportional-aggregators/field-mapper.js +1 -1
  614. package/sdk/atoms/src/lib/functions/proportional-aggregators/field-mapper.js.map +1 -1
  615. package/sdk/atoms/src/lib/functions/proportional-aggregators/percentage-aggregator.js +1 -1
  616. package/sdk/atoms/src/lib/functions/proportional-aggregators/percentage-aggregator.js.map +1 -1
  617. package/sdk/atoms/src/lib/functions/proportional-aggregators/sum-aggregator.js +1 -1
  618. package/sdk/atoms/src/lib/functions/proportional-aggregators/sum-aggregator.js.map +1 -1
  619. package/sdk/atoms/src/lib/pizzagna/components/pizzagna/pizzagna.component.js +9 -9
  620. package/sdk/atoms/src/lib/pizzagna/components/pizzagna/pizzagna.component.js.map +1 -1
  621. package/sdk/atoms/src/lib/pizzagna/directives/component-portal/component-portal.directive.js +13 -13
  622. package/sdk/atoms/src/lib/pizzagna/directives/component-portal/component-portal.directive.js.map +1 -1
  623. package/sdk/atoms/src/lib/pizzagna/pizzagna.module.js +1 -1
  624. package/sdk/atoms/src/lib/pizzagna/pizzagna.module.js.map +1 -1
  625. package/sdk/atoms/src/lib/pizzagna/services/component-portal.service.js +1 -1
  626. package/sdk/atoms/src/lib/pizzagna/services/component-portal.service.js.map +1 -1
  627. package/sdk/atoms/src/lib/pizzagna/services/component-registry.service.js +1 -1
  628. package/sdk/atoms/src/lib/pizzagna/services/component-registry.service.js.map +1 -1
  629. package/sdk/atoms/src/lib/pizzagna/services/dynamic-component-creator.service.js +4 -4
  630. package/sdk/atoms/src/lib/pizzagna/services/dynamic-component-creator.service.js.map +1 -1
  631. package/sdk/atoms/src/lib/pizzagna/services/pizzagna.service.js +6 -6
  632. package/sdk/atoms/src/lib/pizzagna/services/pizzagna.service.js.map +1 -1
  633. package/sdk/atoms/src/lib/services/category-chart-util.service.js +6 -6
  634. package/sdk/atoms/src/lib/services/category-chart-util.service.js.map +1 -1
  635. package/sdk/atoms/src/lib/services/event-registry.service.js +1 -1
  636. package/sdk/atoms/src/lib/services/event-registry.service.js.map +1 -1
  637. package/sdk/atoms/src/lib/services/kpi-color-comparators-registry.service.js +1 -1
  638. package/sdk/atoms/src/lib/services/kpi-color-comparators-registry.service.js.map +1 -1
  639. package/sdk/atoms/src/lib/services/proportional-content-aggregators-registry.service.js +1 -1
  640. package/sdk/atoms/src/lib/services/proportional-content-aggregators-registry.service.js.map +1 -1
  641. package/sdk/atoms/src/lib/services/provider-registry.service.js +1 -1
  642. package/sdk/atoms/src/lib/services/provider-registry.service.js.map +1 -1
  643. package/sdk/atoms/src/lib/services/registry-service.js +3 -3
  644. package/sdk/atoms/src/lib/services/registry-service.js.map +1 -1
  645. package/sdk/atoms/src/lib/services/table-formatter-registry.service.js +4 -4
  646. package/sdk/atoms/src/lib/services/table-formatter-registry.service.js.map +1 -1
  647. package/sdk/atoms/src/lib/services/unit-test-registry.service.js +1 -1
  648. package/sdk/atoms/src/lib/services/unit-test-registry.service.js.map +1 -1
  649. package/sdk/atoms/src/lib/services/url-interaction.service.js +1 -1
  650. package/sdk/atoms/src/lib/services/url-interaction.service.js.map +1 -1
  651. package/sdk/atoms/src/lib/services/widget-configuration.service.js +1 -1
  652. package/sdk/atoms/src/lib/services/widget-configuration.service.js.map +1 -1
  653. package/sdk/atoms/src/lib/services/widget-removal.service.js +4 -4
  654. package/sdk/atoms/src/lib/services/widget-removal.service.js.map +1 -1
  655. package/sdk/atoms/src/lib/services/widget-to-dashboard-event-proxy.service.js +8 -8
  656. package/sdk/atoms/src/lib/services/widget-to-dashboard-event-proxy.service.js.map +1 -1
  657. package/sdk/atoms/src/lib/services/widget-types.service.js +3 -3
  658. package/sdk/atoms/src/lib/services/widget-types.service.js.map +1 -1
  659. package/sdk/atoms/src/lib/widget-types/drilldown/drilldown-widget.js +2 -2
  660. package/sdk/atoms/src/lib/widget-types/drilldown/drilldown-widget.js.map +1 -1
  661. package/sdk/atoms/src/lib/widget-types/embedded-content/embedded-content-widget.js +2 -2
  662. package/sdk/atoms/src/lib/widget-types/embedded-content/embedded-content-widget.js.map +1 -1
  663. package/sdk/atoms/src/lib/widget-types/kpi/kpi-widget.js +3 -3
  664. package/sdk/atoms/src/lib/widget-types/kpi/kpi-widget.js.map +1 -1
  665. package/sdk/atoms/src/lib/widget-types/proportional/proportional-widget.js +3 -3
  666. package/sdk/atoms/src/lib/widget-types/proportional/proportional-widget.js.map +1 -1
  667. package/sdk/atoms/src/lib/widget-types/table/table-widget.js +3 -3
  668. package/sdk/atoms/src/lib/widget-types/table/table-widget.js.map +1 -1
  669. package/sdk/atoms/src/lib/widget-types/timeseries/timeseries-widget.js +3 -3
  670. package/sdk/atoms/src/lib/widget-types/timeseries/timeseries-widget.js.map +1 -1
  671. package/sdk/locale/messages.en.xlf +176 -172
  672. package/sdk/schematics/ng-add/index.d.ts +2 -0
  673. package/sdk/schematics/ng-add/index.js +27 -16
  674. package/sdk/schematics/ng-add/index.js.map +1 -0
  675. package/sdk/schematics/ng-add/index.spec.d.ts +1 -0
  676. package/sdk/schematics/ng-add/index.spec.js +134 -0
  677. package/sdk/schematics/ng-add/index.spec.js.map +1 -0
  678. package/sdk/schematics/ng-add/schema.json +4 -4
  679. package/bundles/nova-ui-dashboards.umd.js +0 -17845
  680. package/bundles/nova-ui-dashboards.umd.js.map +0 -1
  681. package/esm2015/lib/common/common.module.js +0 -42
  682. package/esm2015/lib/common/components/widget-error/widget-error.component.js +0 -58
  683. package/esm2015/lib/common/pipes/dashboard-unit-conversion-pipe.js +0 -57
  684. package/esm2015/lib/components/dashboard/dashboard.component.js +0 -232
  685. package/esm2015/lib/components/embedded-content/embedded-content.component.js +0 -96
  686. package/esm2015/lib/components/kpi-widget/kpi.component.js +0 -128
  687. package/esm2015/lib/components/layouts/base-layout.js +0 -118
  688. package/esm2015/lib/components/layouts/stack/stack.component.js +0 -68
  689. package/esm2015/lib/components/layouts/tiles/tiles.component.js +0 -105
  690. package/esm2015/lib/components/list-widget/list-elements/list-group-item/list-group-item.component.js +0 -68
  691. package/esm2015/lib/components/list-widget/list-elements/list-leaf-item/list-leaf-item.component.js +0 -82
  692. package/esm2015/lib/components/list-widget/list-elements/list-navigation-bar/list-navigation-bar.component.js +0 -66
  693. package/esm2015/lib/components/list-widget/list-widget.component.js +0 -105
  694. package/esm2015/lib/components/loading/loading.component.js +0 -56
  695. package/esm2015/lib/components/proportional-widget/proportional-donut-content/proportional-donut-content.component.js +0 -152
  696. package/esm2015/lib/components/proportional-widget/proportional-widget.component.js +0 -340
  697. package/esm2015/lib/components/providers/data-source-adapter.js +0 -146
  698. package/esm2015/lib/components/providers/drilldown-data-source-adapter.js +0 -115
  699. package/esm2015/lib/components/providers/interaction/interaction-handler.js +0 -57
  700. package/esm2015/lib/components/providers/interaction/url-interaction-handler.js +0 -70
  701. package/esm2015/lib/components/providers/kpi-color-prioritizer.js +0 -110
  702. package/esm2015/lib/components/providers/kpi-data-source-adapter.js +0 -104
  703. package/esm2015/lib/components/providers/kpi-scale-sync-broker.js +0 -138
  704. package/esm2015/lib/components/providers/kpi-status-content-fallback-adapter.js +0 -106
  705. package/esm2015/lib/components/providers/loading-adapter.js +0 -72
  706. package/esm2015/lib/components/providers/pizzagna-broadcaster.service.js +0 -84
  707. package/esm2015/lib/components/providers/refresher.js +0 -106
  708. package/esm2015/lib/components/providers/status-content-fallback-adapter.js +0 -68
  709. package/esm2015/lib/components/providers/table-data-source-adapter.js +0 -84
  710. package/esm2015/lib/components/providers/timeseries-data-source-adapter.js +0 -72
  711. package/esm2015/lib/components/table-widget/addons/search-feature-addon.service.js +0 -104
  712. package/esm2015/lib/components/table-widget/addons/virtual-scroll-feature-addon.service.js +0 -81
  713. package/esm2015/lib/components/table-widget/table-widget.component.js +0 -503
  714. package/esm2015/lib/components/time-frame-selection/timeframe-selection.component.js +0 -134
  715. package/esm2015/lib/components/timeseries-widget/chart-presets/status-bar-chart/apply-status-endpoints.js +0 -67
  716. package/esm2015/lib/components/timeseries-widget/chart-presets/status-bar-chart/status-bar-chart.component.js +0 -149
  717. package/esm2015/lib/components/timeseries-widget/chart-presets/timeseries-chart.component.js +0 -112
  718. package/esm2015/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/line-chart.component.js +0 -66
  719. package/esm2015/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-area-chart.component.js +0 -66
  720. package/esm2015/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-bar-chart.component.js +0 -83
  721. package/esm2015/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-percentage-area-chart.component.js +0 -66
  722. package/esm2015/lib/components/timeseries-widget/chart-presets/xy-chart/xy-chart.component.js +0 -156
  723. package/esm2015/lib/components/timeseries-widget/timeseries-scales.service.js +0 -86
  724. package/esm2015/lib/components/timeseries-widget/timeseries-widget.component.js +0 -74
  725. package/esm2015/lib/components/widget/widget-body/widget-body.component.js +0 -92
  726. package/esm2015/lib/components/widget/widget-body-content/widget-body-content.component.js +0 -78
  727. package/esm2015/lib/components/widget/widget-header/widget-header.component.js +0 -207
  728. package/esm2015/lib/components/widget/widget.component.js +0 -69
  729. package/esm2015/lib/components/widget-search/widget-search.component.js +0 -121
  730. package/esm2015/lib/configurator/components/color-picker/color-picker.component.js +0 -191
  731. package/esm2015/lib/configurator/components/configurator/configurator.component.js +0 -122
  732. package/esm2015/lib/configurator/components/drop-area/drop-area.component.js +0 -34
  733. package/esm2015/lib/configurator/components/form-stack/form-stack.component.js +0 -90
  734. package/esm2015/lib/configurator/components/formatters/donut-content-percentage-formatter/donut-content-percentage-configuration.component.js +0 -46
  735. package/esm2015/lib/configurator/components/formatters/donut-content-percentage-formatter/donut-content-percentage-formatter.component.js +0 -86
  736. package/esm2015/lib/configurator/components/formatters/icon-formatter/icon-formatter.component.js +0 -85
  737. package/esm2015/lib/configurator/components/formatters/si-units-formatter/si-units-formatter.component.js +0 -120
  738. package/esm2015/lib/configurator/components/formatters/widget-formatter-configurators/donut-formatter-configurator.component.js +0 -95
  739. package/esm2015/lib/configurator/components/heading/configurator-heading.component.js +0 -53
  740. package/esm2015/lib/configurator/components/items-dynamic/items-dynamic.component.js +0 -151
  741. package/esm2015/lib/configurator/components/preview-placeholder/preview-placeholder.component.js +0 -35
  742. package/esm2015/lib/configurator/components/widget-cloner/widget-cloner.component.js +0 -168
  743. package/esm2015/lib/configurator/components/widget-configurator-section/widget-configurator-section.component.js +0 -90
  744. package/esm2015/lib/configurator/components/widget-editor/widget-editor.component.js +0 -143
  745. package/esm2015/lib/configurator/components/widget-editor-accordion/widget-editor-accordion.component.js +0 -75
  746. package/esm2015/lib/configurator/components/widgets/configurator-items/background-color-rules-configuration/background-color-rules-configuration.component.js +0 -132
  747. package/esm2015/lib/configurator/components/widgets/configurator-items/data-source-configuration/data-source-configuration.component.js +0 -158
  748. package/esm2015/lib/configurator/components/widgets/configurator-items/data-source-configuration-v2/data-source-configuration-v2.component.js +0 -207
  749. package/esm2015/lib/configurator/components/widgets/configurator-items/data-source-error/data-source-error.component.js +0 -75
  750. package/esm2015/lib/configurator/components/widgets/configurator-items/data-source-error/table/table-data-source-error.component.js +0 -45
  751. package/esm2015/lib/configurator/components/widgets/configurator-items/embedded-content-configuration/embedded-content-configuration.component.js +0 -137
  752. package/esm2015/lib/configurator/components/widgets/configurator-items/info-message-configuration/info-message-configuration.component.js +0 -48
  753. package/esm2015/lib/configurator/components/widgets/configurator-items/kpi-description-configuration/kpi-description-configuration.component.js +0 -107
  754. package/esm2015/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresher-configuration.component.js +0 -174
  755. package/esm2015/lib/configurator/components/widgets/configurator-items/thresholds-configuration/thresholds-configuration.component.js +0 -146
  756. package/esm2015/lib/configurator/components/widgets/configurator-items/thresholds-configuration/thresholds-validator.js +0 -56
  757. package/esm2015/lib/configurator/components/widgets/configurator-items/timeseries-metadata-configuration/timeseries-metadata-configuration.component.js +0 -151
  758. package/esm2015/lib/configurator/components/widgets/configurator-items/title-and-description-configuration/title-and-description-configuration.component.js +0 -96
  759. package/esm2015/lib/configurator/components/widgets/drilldown/entity-formatting-configuration/entity-formatting-configuration.component.js +0 -78
  760. package/esm2015/lib/configurator/components/widgets/drilldown/grouping-configuration/grouping-configuration.component.js +0 -165
  761. package/esm2015/lib/configurator/components/widgets/kpi/kpi-tiles-configuration/kpi-tiles-configuration.component.js +0 -96
  762. package/esm2015/lib/configurator/components/widgets/proportional/aggregators-configurators/aggregator-configurator/aggregator-configurator.component.js +0 -76
  763. package/esm2015/lib/configurator/components/widgets/proportional/aggregators-configurators/field-mapper-aggregator-configurator/field-mapper-aggregator-configurator.component.js +0 -90
  764. package/esm2015/lib/configurator/components/widgets/proportional/chart-options-editor/proportional-chart-options-editor.component.js +0 -171
  765. package/esm2015/lib/configurator/components/widgets/proportional/chart-options-editor-v2/proportional-chart-options-editor-v2.component.js +0 -113
  766. package/esm2015/lib/configurator/components/widgets/proportional/donut-content-configuration/donut-content-configuration.component.js +0 -162
  767. package/esm2015/lib/configurator/components/widgets/table/columns-editor/column-configuration/description-configuration/description-configuration.component.js +0 -86
  768. package/esm2015/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/formatter-configurator.component.js +0 -119
  769. package/esm2015/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/link-configurator/link-configurator.component.js +0 -56
  770. package/esm2015/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/value-selector/value-selector.component.js +0 -46
  771. package/esm2015/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/presentation-configuration.component.js +0 -270
  772. package/esm2015/lib/configurator/components/widgets/table/columns-editor/table-columns-configuration.component.js +0 -270
  773. package/esm2015/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/description-configuration/description-configuration-v2.component.js +0 -129
  774. package/esm2015/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/presentation-configuration/presentation-configuration-v2.component.js +0 -323
  775. package/esm2015/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/table-column-configuration/table-column-configuration.component.js +0 -110
  776. package/esm2015/lib/configurator/components/widgets/table/columns-editor-v2/table-columns-configuration-v2.component.js +0 -262
  777. package/esm2015/lib/configurator/components/widgets/table/filters-editor/table-filters-editor.component.js +0 -125
  778. package/esm2015/lib/configurator/components/widgets/timeseries/timeseries-series-collection-configuration/timeseries-series-collection-configuration.component.js +0 -115
  779. package/esm2015/lib/configurator/components/widgets/timeseries/timeseries-tile-description-configuration/timeseries-tile-description-configuration.component.js +0 -72
  780. package/esm2015/lib/configurator/components/widgets/timeseries/timeseries-tile-indicator-data-configuration/timeseries-tile-indicator-data-configuration.component.js +0 -113
  781. package/esm2015/lib/configurator/components/wizard/dashwiz/dashwiz.component.js +0 -351
  782. package/esm2015/lib/configurator/components/wizard/dashwiz-step/dashwiz-step.component.js +0 -135
  783. package/esm2015/lib/configurator/pipe/pizzagna-root.pipe.js +0 -46
  784. package/esm2015/lib/configurator/services/configurator-data-source-manager.service.js +0 -90
  785. package/esm2015/lib/configurator/services/configurator.service.js +0 -137
  786. package/esm2015/lib/configurator/services/converters/kpi/kpi-tiles-converter.service.js +0 -108
  787. package/esm2015/lib/configurator/services/converters/proportional/proportional-widget-chart-options-converter.service.js +0 -68
  788. package/esm2015/lib/configurator/services/converters/shared/generic-array-converter/generic-array-converter.service.js +0 -81
  789. package/esm2015/lib/configurator/services/converters/shared/title-and-description-converter/title-and-description-converter.service.js +0 -65
  790. package/esm2015/lib/configurator/services/converters/table/table-columns-converter.service.js +0 -182
  791. package/esm2015/lib/configurator/services/converters/table/table-filters-converter.service.js +0 -68
  792. package/esm2015/lib/configurator/services/converters/timeseries/timeseries-series-converter.service.js +0 -168
  793. package/esm2015/lib/configurator/services/widget-editor.service.js +0 -62
  794. package/esm2015/lib/functions/get-parent-component-id.js +0 -30
  795. package/esm2015/lib/functions/proportional-aggregators/field-mapper.js +0 -33
  796. package/esm2015/lib/functions/proportional-aggregators/percentage-aggregator.js +0 -45
  797. package/esm2015/lib/pizzagna/directives/component-portal/component-portal.directive.js +0 -297
  798. package/esm2015/lib/pizzagna/services/dynamic-component-creator.service.js +0 -60
  799. package/esm2015/lib/pizzagna/services/pizzagna.service.js +0 -134
  800. package/esm2015/lib/services/category-chart-util.service.js +0 -123
  801. package/esm2015/lib/services/kpi-color-comparators-registry.service.js +0 -65
  802. package/esm2015/lib/services/registry-service.js +0 -83
  803. package/esm2015/lib/services/url-interaction.service.js +0 -53
  804. package/esm2015/lib/services/widget-to-dashboard-event-proxy.service.js +0 -152
  805. package/esm2015/lib/services/widget-types.service.js +0 -86
  806. package/esm2015/lib/widget-types/common/widget/components.js +0 -130
  807. package/esm2015/lib/widget-types/drilldown/drilldown-widget.js +0 -80
  808. package/esm2015/lib/widget-types/embedded-content/embedded-content-widget.js +0 -64
  809. package/esm2015/lib/widget-types/kpi/kpi-widget.js +0 -90
  810. package/esm2015/lib/widget-types/proportional/proportional-widget.js +0 -81
  811. package/esm2015/lib/widget-types/table/table-widget.js +0 -101
  812. package/esm2015/lib/widget-types/timeseries/timeseries-widget.js +0 -111
  813. package/fesm2015/nova-ui-dashboards.js.map +0 -1
@@ -1,162 +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, Inject, Input, Output, } from "@angular/core";
21
- import { FormBuilder } from "@angular/forms";
22
- import { Subject } from "rxjs";
23
- import { takeUntil } from "rxjs/operators";
24
- import { EventBus } from "@nova-ui/bits";
25
- import { ProportionalWidgetChartTypes } from "../../../../../components/proportional-widget/types";
26
- import { ProportionalContentAggregatorsRegistryService } from "../../../../../services/proportional-content-aggregators-registry.service";
27
- import { ProportionalDonutContentFormattersRegistryService } from "../../../../../services/table-formatter-registry.service";
28
- import { PIZZAGNA_EVENT_BUS } from "../../../../../types";
29
- import { DATA_SOURCE_CREATED } from "../../../../types";
30
- import * as i0 from "@angular/core";
31
- import * as i1 from "@angular/forms";
32
- import * as i2 from "../../../../../services/table-formatter-registry.service";
33
- import * as i3 from "../../../../../services/proportional-content-aggregators-registry.service";
34
- import * as i4 from "../../../widget-editor-accordion/widget-editor-accordion.component";
35
- import * as i5 from "@nova-ui/bits";
36
- import * as i6 from "@angular/common";
37
- import * as i7 from "../../../../../pizzagna/directives/component-portal/component-portal.directive";
38
- import * as i8 from "@angular/cdk/portal";
39
- import * as i9 from "../../../../pipe/widget-editor-accordion-form-state.pipe";
40
- import * as i10 from "../../../../pipe/widget-editor-accordion-header-icon.pipe";
41
- export class DonutContentConfigurationComponent {
42
- constructor(formBuilder, changeDetector, eventBus, contentFormattersRegistry, aggregatorRegistry) {
43
- this.formBuilder = formBuilder;
44
- this.changeDetector = changeDetector;
45
- this.eventBus = eventBus;
46
- this.contentFormattersRegistry = contentFormattersRegistry;
47
- this.aggregatorRegistry = aggregatorRegistry;
48
- this.formReady = new EventEmitter();
49
- this.shown = true;
50
- this.form = this.formBuilder.group({
51
- formatter: this.formBuilder.group({
52
- componentType: [undefined],
53
- properties: [],
54
- }),
55
- aggregator: this.formBuilder.group({
56
- aggregatorType: [undefined],
57
- properties: [],
58
- }),
59
- });
60
- this.dataFields = [];
61
- this.destroy$ = new Subject();
62
- }
63
- ngOnInit() {
64
- this.watchFormChanges();
65
- this.setFromRegistry();
66
- this.eventBus
67
- .getStream(DATA_SOURCE_CREATED)
68
- .pipe(takeUntil(this.destroy$))
69
- .subscribe((event) => {
70
- var _a;
71
- const dataSource = event.payload;
72
- if (dataSource) {
73
- (_a = dataSource.dataFieldsConfig) === null || _a === void 0 ? void 0 : _a.dataFields$.pipe(takeUntil(this.destroy$)).subscribe((dataFields) => {
74
- this.dataFields = dataFields;
75
- this.updateAggregatorConfiguratorProps();
76
- });
77
- }
78
- });
79
- this.formReady.emit(this.form);
80
- }
81
- ngOnChanges(changes) {
82
- var _a, _b;
83
- if (changes.formatter) {
84
- (_a = this.form.get("formatter")) === null || _a === void 0 ? void 0 : _a.patchValue(Object.assign({}, changes.formatter.currentValue));
85
- }
86
- if (changes.aggregator) {
87
- (_b = this.form.get("aggregator")) === null || _b === void 0 ? void 0 : _b.patchValue(Object.assign({}, changes.aggregator.currentValue));
88
- }
89
- if (changes.chartType) {
90
- const chartType = changes.chartType.currentValue;
91
- this.shown = chartType === ProportionalWidgetChartTypes.DonutChart;
92
- }
93
- }
94
- ngOnDestroy() {
95
- this.destroy$.complete();
96
- }
97
- onFormReady(formControlName, form) {
98
- this.form.get(formControlName).setControl("properties", form);
99
- }
100
- get subtitleText() {
101
- var _a, _b;
102
- return `${(_a = this.currentAggregatorDefinition) === null || _a === void 0 ? void 0 : _a.label}, ${(_b = this.currentFormatterDefinition) === null || _b === void 0 ? void 0 : _b.label}`;
103
- }
104
- setFromRegistry() {
105
- var _a, _b;
106
- this.formatters = this.contentFormattersRegistry.getItems();
107
- this.aggregators = this.aggregatorRegistry.getItems();
108
- let formatterToSet = this.formatters.find((formatter) => { var _a; return formatter.componentType === ((_a = this.formatter) === null || _a === void 0 ? void 0 : _a.componentType); });
109
- if (!formatterToSet) {
110
- formatterToSet = this.formatters[0];
111
- }
112
- (_a = this.form
113
- .get("formatter.componentType")) === null || _a === void 0 ? void 0 : _a.setValue(formatterToSet.componentType);
114
- let aggregatorToSet = this.aggregators.find((aggregator) => { var _a; return aggregator.aggregatorType === ((_a = this.aggregator) === null || _a === void 0 ? void 0 : _a.aggregatorType); });
115
- if (!aggregatorToSet) {
116
- aggregatorToSet = this.aggregators[0];
117
- }
118
- (_b = this.form
119
- .get("aggregator.aggregatorType")) === null || _b === void 0 ? void 0 : _b.setValue(aggregatorToSet.aggregatorType);
120
- }
121
- watchFormChanges() {
122
- var _a, _b;
123
- (_a = this.form
124
- .get("aggregator.aggregatorType")) === null || _a === void 0 ? void 0 : _a.valueChanges.pipe(takeUntil(this.destroy$)).subscribe((aggregatorType) => {
125
- this.currentAggregatorDefinition = this.aggregators.find((f) => f.aggregatorType === aggregatorType);
126
- this.updateAggregatorConfiguratorProps();
127
- });
128
- (_b = this.form
129
- .get("formatter.componentType")) === null || _b === void 0 ? void 0 : _b.valueChanges.pipe(takeUntil(this.destroy$)).subscribe((componentType) => {
130
- this.currentFormatterDefinition = this.formatters.find((f) => f.componentType === componentType);
131
- this.updateAggregatorConfiguratorProps();
132
- });
133
- }
134
- updateAggregatorConfiguratorProps() {
135
- var _a, _b;
136
- this.aggregatorConfiguratorProps = Object.assign(Object.assign(Object.assign({}, (_a = this.currentAggregatorDefinition) === null || _a === void 0 ? void 0 : _a.properties), (_b = this.aggregator) === null || _b === void 0 ? void 0 : _b.properties), { metrics: this.dataFields });
137
- }
138
- }
139
- DonutContentConfigurationComponent.lateLoadKey = "DonutContentConfigurationComponent";
140
- /** @nocollapse */ DonutContentConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DonutContentConfigurationComponent, deps: [{ token: i1.FormBuilder }, { token: i0.ChangeDetectorRef }, { token: PIZZAGNA_EVENT_BUS }, { token: i2.ProportionalDonutContentFormattersRegistryService }, { token: i3.ProportionalContentAggregatorsRegistryService }], target: i0.ɵɵFactoryTarget.Component });
141
- /** @nocollapse */ DonutContentConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: DonutContentConfigurationComponent, selector: "nui-donut-content-configuration", inputs: { chartType: "chartType", formatter: "formatter", aggregator: "aggregator" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, template: "<ng-container *ngIf=\"shown\" [formGroup]=\"form\">\n <nui-widget-editor-accordion\n [state]=\"form | nuiWidgetEditorAccordionFormState | async\"\n >\n <div accordionHeader class=\"d-flex align-items-center px-4 py-2\">\n <nui-icon\n class=\"align-self-start pt-2\"\n [icon]=\"form | nuiFormHeaderIconPipe: 'customize' | async\"\n ></nui-icon>\n <div class=\"d-flex flex-column ml-4 pt-1\">\n <span class=\"nui-text-label\" i18n\n >Donut Content Configuration</span\n >\n <div class=\"nui-text-secondary\" [title]=\"subtitleText\">\n {{ subtitleText }}\n </div>\n </div>\n </div>\n\n <div class=\"donut-content-configuration__accordion-content\">\n <!-- aggregator -->\n <div class=\"mb-4\" formGroupName=\"aggregator\">\n <nui-form-field\n caption=\"Aggregate\"\n i18n-caption\n [control]=\"form.get('aggregator.aggregatorType')\"\n >\n <nui-select-v2\n placeholder=\"Select Format\"\n i18n-placeholder\n formControlName=\"aggregatorType\"\n >\n <nui-select-v2-option\n *ngFor=\"let aggregator of aggregators\"\n [displayValueContext]=\"aggregator.label\"\n [value]=\"aggregator.aggregatorType\"\n >\n {{ aggregator.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n </nui-form-field>\n </div>\n\n <!-- formatter -->\n <div class=\"mb-4\" formGroupName=\"formatter\">\n <nui-form-field\n caption=\"Format\"\n i18n-caption\n [control]=\"form.get('formatter.componentType')\"\n >\n <nui-select-v2\n placeholder=\"Select Format\"\n i18n-placeholder\n formControlName=\"componentType\"\n >\n <nui-select-v2-option\n *ngFor=\"let formatter of formatters\"\n [displayValueContext]=\"formatter.label\"\n [value]=\"formatter.componentType\"\n >\n {{ formatter.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n </nui-form-field>\n </div>\n\n <!-- aggregator configuration component -->\n <ng-container\n *ngIf=\"currentAggregatorDefinition?.configurationComponent\"\n nuiComponentPortal\n componentId=\"formatterConfigurator\"\n [componentType]=\"\n currentAggregatorDefinition?.configurationComponent\n \"\n [properties]=\"aggregatorConfiguratorProps\"\n [outputs]=\"['formReady']\"\n (output)=\"onFormReady('aggregator', $event.payload)\"\n #componentPortal=\"nuiComponentPortal\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n\n <!-- formatter configuration component -->\n <ng-container\n *ngIf=\"currentFormatterDefinition?.configurationComponent\"\n nuiComponentPortal\n componentId=\"formatterConfigurator\"\n [componentType]=\"\n currentFormatterDefinition?.configurationComponent\n \"\n [properties]=\"formatterConfiguratorProps\"\n [outputs]=\"['formReady']\"\n (output)=\"onFormReady('formatter', $event.payload)\"\n #componentPortal=\"nuiComponentPortal\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n </div>\n </nui-widget-editor-accordion>\n</ng-container>\n", styles: [".donut-content-configuration__accordion-content{padding:15px 15px 15px 46px}\n"], components: [{ type: i4.WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"] }, { type: i5.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i5.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i5.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { type: i5.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["outfiltered", "value", "index", "displayValueContext"] }], directives: [{ type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1.FormGroupName, selector: "[formGroupName]", inputs: ["formGroupName"] }, { type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i6.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i7.ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type: i8.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], pipes: { "async": i6.AsyncPipe, "nuiWidgetEditorAccordionFormState": i9.WidgetEditorAccordionFormStatePipe, "nuiFormHeaderIconPipe": i10.FormHeaderIconPipePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
142
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DonutContentConfigurationComponent, decorators: [{
143
- type: Component,
144
- args: [{
145
- selector: "nui-donut-content-configuration",
146
- templateUrl: "./donut-content-configuration.component.html",
147
- styleUrls: ["./donut-content-configuration.component.less"],
148
- changeDetection: ChangeDetectionStrategy.OnPush,
149
- }]
150
- }], ctorParameters: function () { return [{ type: i1.FormBuilder }, { type: i0.ChangeDetectorRef }, { type: i5.EventBus, decorators: [{
151
- type: Inject,
152
- args: [PIZZAGNA_EVENT_BUS]
153
- }] }, { type: i2.ProportionalDonutContentFormattersRegistryService }, { type: i3.ProportionalContentAggregatorsRegistryService }]; }, propDecorators: { chartType: [{
154
- type: Input
155
- }], formatter: [{
156
- type: Input
157
- }], aggregator: [{
158
- type: Input
159
- }], formReady: [{
160
- type: Output
161
- }] } });
162
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZG9udXQtY29udGVudC1jb25maWd1cmF0aW9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9saWIvY29uZmlndXJhdG9yL2NvbXBvbmVudHMvd2lkZ2V0cy9wcm9wb3J0aW9uYWwvZG9udXQtY29udGVudC1jb25maWd1cmF0aW9uL2RvbnV0LWNvbnRlbnQtY29uZmlndXJhdGlvbi5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGliL2NvbmZpZ3VyYXRvci9jb21wb25lbnRzL3dpZGdldHMvcHJvcG9ydGlvbmFsL2RvbnV0LWNvbnRlbnQtY29uZmlndXJhdGlvbi9kb251dC1jb250ZW50LWNvbmZpZ3VyYXRpb24uY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEseURBQXlEO0FBQ3pELEVBQUU7QUFDRiwr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ZXZlbnQ6IElFdmVudDxJRGF0YVNvdXJjZT4pID0+IHtcbiAgICAgICAgICAgICAgICBjb25zdCBkYXRhU291cmNlID0gZXZlbnQucGF5bG9hZDtcbiAgICAgICAgICAgICAgICBpZiAoZGF0YVNvdXJjZSkge1xuICAgICAgICAgICAgICAgICAgICBkYXRhU291cmNlLmRhdGFGaWVsZHNDb25maWc/LmRhdGFGaWVsZHMkXG4gICAgICAgICAgICAgICAgICAgICAgICAucGlwZSh0YWtlVW50aWwodGhpcy5kZXN0cm95JCkpXG4gICAgICAgICAgICAgICAgICAgICAgICAuc3Vic2NyaWJlKChkYXRhRmllbGRzKSA9PiB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy5kYXRhRmllbGRzID0gZGF0YUZpZWxkcztcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB0aGlzLnVwZGF0ZUFnZ3JlZ2F0b3JDb25maWd1cmF0b3JQcm9wcygpO1xuICAgICAgICAgICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfSk7XG5cbiAgICAgICAgdGhpcy5mb3JtUmVhZHkuZW1pdCh0aGlzLmZvcm0pO1xuICAgIH1cblxuICAgIHB1YmxpYyBuZ09uQ2hhbmdlcyhjaGFuZ2VzOiBTaW1wbGVDaGFuZ2VzKSB7XG4gICAgICAgIGlmIChjaGFuZ2VzLmZvcm1hdHRlcikge1xuICAgICAgICAgICAgdGhpcy5mb3JtLmdldChcImZvcm1hdHRlclwiKT8ucGF0Y2hWYWx1ZSh7XG4gICAgICAgICAgICAgICAgLi4uY2hhbmdlcy5mb3JtYXR0ZXIuY3VycmVudFZhbHVlLFxuICAgICAgICAgICAgfSk7XG4gICAgICAgIH1cblxuICAgICAgICBpZiAoY2hhbmdlcy5hZ2dyZWdhdG9yKSB7XG4gICAgICAgICAgICB0aGlzLmZvcm0uZ2V0KFwiYWdncmVnYXRvclwiKT8ucGF0Y2hWYWx1ZSh7XG4gICAg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IH1cblxuICAgIHByaXZhdGUgd2F0Y2hGb3JtQ2hhbmdlcygpIHtcbiAgICAgICAgdGhpcy5mb3JtXG4gICAgICAgICAgICAuZ2V0KFwiYWdncmVnYXRvci5hZ2dyZWdhdG9yVHlwZVwiKVxuICAgICAgICAgICAgPy52YWx1ZUNoYW5nZXMucGlwZSh0YWtlVW50aWwodGhpcy5kZXN0cm95JCkpXG4gICAgICAgICAgICAuc3Vic2NyaWJlKChhZ2dyZWdhdG9yVHlwZTogc3RyaW5nKSA9PiB7XG4gICAgICAgICAgICAgICAgdGhpcy5jdXJyZW50QWdncmVnYXRvckRlZmluaXRpb24gPSB0aGlzLmFnZ3JlZ2F0b3JzLmZpbmQoXG4gICAgICAgICAgICAgICAgICAgIChmKSA9PiBmLmFnZ3JlZ2F0b3JUeXBlID09PSBhZ2dyZWdhdG9yVHlwZVxuICAgICAgICAgICAgICAgICkgYXMgSVByb3BvcnRpb25hbERvbnV0Q29udGVudEFnZ3JlZ2F0b3JEZWZpbml0aW9uO1xuICAgICAgICAgICAgICAgIHRoaXMudXBkYXRlQWdncmVnYXRvckNvbmZpZ3VyYXRvclByb3BzKCk7XG4gICAgICAgICAgICB9KTtcblxuICAgICAgICB0aGlzLmZvcm1cbiAgICAgICAgICAgIC5nZXQoXCJmb3JtYXR0ZXIuY29tcG9uZW50VHlwZVwiKVxuICAgICAgICAgICAgPy52YWx1ZUNoYW5nZXMucGlwZSh0YWtlVW50aWwodGhpcy5kZXN0cm95JCkpXG4gICAgICAgICAgICAuc3Vic2NyaWJlKChjb21wb25lbnRUeXBlOiBzdHJpbmcpID0+IHtcbiAgICAgICAgICAgICAgICB0aGlzLmN1cnJlbnRGb3JtYXR0ZXJEZWZpbml0aW9uID0gdGhpcy5mb3JtYXR0ZXJzLmZpbmQoXG4gICAgICAgICAgICAgICAgICAgIChmKSA9PiBmLmNvbXBvbmVudFR5cGUgPT09IGNvbXBvbmVudFR5cGVcbiAgICAgICAgICAgICAgICApIGFzIElGb3Jt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sLTQgcHQtMVwiPlxuICAgICAgICAgICAgICAgIDxzcGFuIGNsYXNzPVwibnVpLXRleHQtbGFiZWxcIiBpMThuXG4gICAgICAgICAgICAgICAgICAgID5Eb251dCBDb250ZW50IENvbmZpZ3VyYXRpb248L3NwYW5cbiAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cIm51aS10ZXh0LXNlY29uZGFyeVwiIFt0aXRsZV09XCJzdWJ0aXRsZVRleHRcIj5cbiAgICAgICAgICAgICAgICAgICAge3sgc3VidGl0bGVUZXh0IH19XG4gICAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgPC9kaXY+XG5cbiAgICAgICAgPGRpdiBjbGFzcz1cImRvbnV0LWNvbnRlbnQtY29uZmlndXJhdGlvbl9fYWNjb3JkaW9uLWNvbnRlbnRcIj5cbiAgICAgICAgICAgIDwhLS0gYWdncmVnYXRvciAtLT5cbiAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJtYi00XCIgZm9ybUdyb3VwTmFtZT1cImFnZ3JlZ2F0b3JcIj5cbiAgICAgICAgICAgICAgICA8bnVpLWZvcm0tZmllbGRcbiAgICAgICAgICAgICAgICAgICAgY2FwdGlvbj1cIkFnZ3JlZ2F0ZVwiXG4gICAgICAgICAgICAgICAgICAgIGkxOG4tY2FwdGlvblxuICAgICAgICAgICAgICAgICAgICBbY29udHJvbF09XCJmb3JtLmdldCgnYWdncmVnYXRvci5hZ2dyZWdhdG9yVHlwZScpXCJcbiAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgIDxudWktc2VsZWN0LXYyXG4gICAgICAgICAgICAgICAgICAgICAgICBwbGFjZWhvbGRlcj1cIlNlbGVjdCBGb3JtYXRcIlxuICAgICAgICAgICAgICAgICAgICAgICAgaTE4bi1wbGFjZWhvbGRlclxuICAgICAgICAgICAgICAgICAgICAgICAgZm9ybUNvbnRyb2xOYW1lPVwiYWdncmVnYXRvclR5cGVcIlxuICAgICAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgICAgICA8bnVpLXNlbGVjdC12Mi1vcHRpb25cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAqbmdGb3I9XCJsZXQgYWdncmVnYXRvciBvZiBhZ2dyZWdhdG9yc1wiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgW2Rpc3BsYXlWYWx1ZUNvbnRleHRdPVwiYWdncmVnYXRvci5sYWJlbFwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgW3ZhbHVlXT1cImFnZ3JlZ2F0b3IuYWdncmVnYXRvclR5cGVcIlxuICAgICAgICAgICAgICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHt7IGFnZ3JlZ2F0b3IubGFiZWwgfX1cbiAgICAgICAgICAgICAgICAgICAgICAgIDwvbnVpLXNlbGVjdC12Mi1vcHRpb24+XG4gICAgICAgICAgICAgICAgICAgIDwvbnVpLXNlbGVjdC12Mj5cbiAgICAgICAgICAgICAgICA8L251aS1mb3JtLWZpZWxkPlxuICAgICAgICAgICAgPC9kaXY+XG5cbiAgICAgICAgICAgIDwhLS0gZm9ybWF0dGVyIC0tPlxuICAgICAgICAgICAgPGRpdiBjbGFzcz1cIm1iLTRcIiBmb3JtR3JvdXBOYW1lPVwiZm9ybWF0dGVyXCI+XG4gICAgICAgICAgICAgICAgPG51aS1mb3JtLWZpZWxkXG4gICAgICAgICAgICAgICAgICAgIGNhcHRpb249XCJGb3JtYXRcIlxuICAgICAgICAgICAgICAgICAgICBpMThuLWNhcHRpb25cbiAgICAgICAgICAgICAgICAgICAgW2NvbnRyb2xdPVwiZm9ybS5nZXQoJ2Zvcm1hdHRlci5jb21wb25lbnRUeXBlJylcIlxuICAgICAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICAgICAgPG51aS1zZWxlY3QtdjJcbiAgICAgICAgICAgICAgICAgICAgICAgIHBsYWNlaG9sZGVyPVwiU2VsZWN0IEZvcm1hdFwiXG4gICAgICAgICAgICAgICAgICAgICAgICBpMThuLXBsYWNlaG9sZGVyXG4gICAgICAgICAgICAgICAgICAgICAgICBmb3JtQ29udHJvbE5hbWU9XCJjb21wb25lbnRUeXBlXCJcbiAgICAgICAgICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgICAgICAgICAgPG51aS1zZWxlY3QtdjItb3B0aW9uXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgKm5nRm9yPVwibGV0IGZvcm1hdHRlciBvZiBmb3JtYXR0ZXJzXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBbZGlzcGxheVZhbHVlQ29udGV4dF09XCJmb3JtYXR0ZXIubGFiZWxcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIFt2YWx1ZV09XCJmb3JtYXR0ZXIuY29tcG9uZW50VHlwZVwiXG4gICAgICAgICAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAge3sgZm9ybWF0dGVyLmxhYmVsIH19XG4gICAgICAgICAgICAgICAgICAgICAgICA8L251aS1zZWxlY3QtdjItb3B0aW9uPlxuICAgICAgICAgICAgICAgICAgICA8L251aS1zZWxlY3QtdjI+XG4gICAgICAgICAgICAgICAgPC9udWktZm9ybS1maWVsZD5cbiAgICAgICAgICAgIDwvZGl2PlxuXG4gICAgICAgICAgICA8IS0tIGFnZ3JlZ2F0b3IgY29uZmlndXJhdGlvbiBjb21wb25lbnQgLS0+XG4gICAgICAgICAgICA8bmctY29udGFpbmVyXG4gICAgICAgICAgICAgICAgKm5nSWY9XCJjdXJyZW50QWdncmVnYXRvckRlZmluaXRpb24/LmNvbmZpZ3VyYXRpb25Db21wb25lbnRcIlxuICAgICAgICAgICAgICAgIG51aUNvbXBvbmVudFBvcnRhbFxuICAgICAgICAgICAgICAgIGNvbXBvbmVudElkPVwiZm9ybWF0dGVyQ29uZmlndXJhdG9yXCJcbiAgICAgICAgICAgICAgICBbY29tcG9uZW50VHlwZV09XCJcbiAgICAgICAgICAgICAgICAgICAgY3VycmVudEFnZ3JlZ2F0b3JEZWZpbml0aW9uPy5jb25maWd1cmF0aW9uQ29tcG9uZW50XG4gICAgICAgICAgICAgICAgXCJcbiAgICAgICAgICAgICAgICBbcHJvcGVydGllc109XCJhZ2dyZWdhdG9yQ29uZmlndXJhdG9yUHJvcHNcIlxuICAgICAgICAgICAgICAgIFtvdXRwdXRzXT1cIlsnZm9ybVJlYWR5J11cIlxuICAgICAgICAgICAgICAgIChvdXRwdXQpPVwib25Gb3JtUmVhZHkoJ2FnZ3JlZ2F0b3InLCAkZXZlbnQucGF5bG9hZClcIlxuICAgICAgICAgICAgICAgICNjb21wb25lbnRQb3J0YWw9XCJudWlDb21wb25lbnRQb3J0YWxcIlxuICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgIDxuZy10ZW1wbGF0ZVxuICAgICAgICAgICAgICAgICAgICBbY2RrUG9ydGFsT3V0bGV0XT1cImNvbXBvbmVudFBvcnRhbC5wb3J0YWxcIlxuICAgICAgICAgICAgICAgICAgICAoYXR0YWNoZWQpPVwiY29tcG9uZW50UG9ydGFsLmF0dGFjaGVkKCRldmVudClcIlxuICAgICAgICAgICAgICAgID48L25nLXRlbXBsYXRlPlxuICAgICAgICAgICAgPC9uZy1jb250YWluZXI+XG5cbiAgICAgICAgICAgIDwhLS0gZm9ybWF0dGVyIGNvbmZpZ3VyYXRpb24gY29tcG9uZW50IC0tPlxuICAgICAgICAgICAgPG5nLWNvbnRhaW5lclxuICAgICAgICAgICAgICAgICpuZ0lmPVwiY3VycmVudEZvcm1hdHRlckRlZmluaXRpb24/LmNvbmZpZ3VyYXRpb25Db21wb25lbnRcIlxuICAgICAgICAgICAgICAgIG51aUNvbXBvbmVudFBvcnRhbFxuICAgICAgICAgICAgICAgIGNvbXBvbmVudElkPVwiZm9ybWF0dGVyQ29uZmlndXJhdG9yXCJcbiAgICAgICAgICAgICAgICBbY29tcG9uZW50VHlwZV09XCJcbiAgICAgICAgICAgICAgICAgICAgY3VycmVudEZvcm1hdHRlckRlZmluaXRpb24/LmNvbmZpZ3VyYXRpb25Db21wb25lbnRcbiAgICAgICAgICAgICAgICBcIlxuICAgICAgICAgICAgICAgIFtwcm9wZXJ0aWVzXT1cImZvcm1hdHRlckNvbmZpZ3VyYXRvclByb3BzXCJcbiAgICAgICAgICAgICAgICBbb3V0cHV0c109XCJbJ2Zvcm1SZWFkeSddXCJcbiAgICAgICAgICAgICAgICAob3V0cHV0KT1cIm9uRm9ybVJlYWR5KCdmb3JtYXR0ZXInLCAkZXZlbnQucGF5bG9hZClcIlxuICAgICAgICAgICAgICAgICNjb21wb25lbnRQb3J0YWw9XCJudWlDb21wb25lbnRQb3J0YWxcIlxuICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgIDxuZy10ZW1wbGF0ZVxuICAgICAgICAgICAgICAgICAgICBbY2RrUG9ydGFsT3V0bGV0XT1cImNvbXBvbmVudFBvcnRhbC5wb3J0YWxcIlxuICAgICAgICAgICAgICAgICAgICAoYXR0YWNoZWQpPVwiY29tcG9uZW50UG9ydGFsLmF0dGFjaGVkKCRldmVudClcIlxuICAgICAgICAgICAgICAgID48L25nLXRlbXBsYXRlPlxuICAgICAgICAgICAgPC9uZy1jb250YWluZXI+XG4gICAgICAgIDwvZGl2PlxuICAgIDwvbnVpLXdpZGdldC1lZGl0b3ItYWNjb3JkaW9uPlxuPC9uZy1jb250YWluZXI+XG4iXX0=
@@ -1,86 +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 "../../../../../widget-editor-accordion/widget-editor-accordion.component";
25
- import * as i3 from "@nova-ui/bits";
26
- import * as i4 from "@angular/common";
27
- import * as i5 from "../../../../../../pipe/widget-editor-accordion-form-state.pipe";
28
- import * as i6 from "../../../../../../pipe/widget-editor-accordion-header-icon.pipe";
29
- export class DescriptionConfigurationComponent {
30
- constructor(formBuilder, changeDetector) {
31
- this.formBuilder = formBuilder;
32
- this.changeDetector = changeDetector;
33
- this.formReady = new EventEmitter();
34
- this.formDestroy = new EventEmitter();
35
- }
36
- ngOnInit() {
37
- var _a;
38
- this.form = this.formBuilder.group({
39
- label: [this.label || null, [Validators.required]],
40
- isActive: (_a = this.isActive) !== null && _a !== void 0 ? _a : true,
41
- width: this.width || undefined,
42
- });
43
- this.formReady.emit(this.form);
44
- }
45
- ngOnChanges(changes) {
46
- var _a, _b, _c;
47
- if (changes.label) {
48
- (_a = this.form) === null || _a === void 0 ? void 0 : _a.patchValue({ label: changes.label.currentValue });
49
- }
50
- if (changes.isActive) {
51
- (_b = this.form) === null || _b === void 0 ? void 0 : _b.patchValue({ isActive: changes.isActive.currentValue });
52
- }
53
- if (changes.width) {
54
- (_c = this.form) === null || _c === void 0 ? void 0 : _c.patchValue({ width: changes.width.currentValue });
55
- }
56
- }
57
- stub() { }
58
- ngOnDestroy() {
59
- this.formDestroy.emit(this.form);
60
- }
61
- }
62
- DescriptionConfigurationComponent.lateLoadKey = "DescriptionConfigurationComponent";
63
- /** @nocollapse */ DescriptionConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DescriptionConfigurationComponent, deps: [{ token: i1.FormBuilder }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
64
- /** @nocollapse */ DescriptionConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", 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 <div accordionHeader class=\"d-flex align-items-center px-4 py-2\">\n <nui-icon\n class=\"align-self-start pt-2\"\n [icon]=\"form | nuiFormHeaderIconPipe: 'widget_list' | async\"\n ></nui-icon>\n <div class=\"d-flex flex-column ml-4 w-100 overflow-hidden pt-1\">\n <span class=\"nui-text-label\" i18n>Description</span>\n <div\n class=\"nui-text-secondary nui-text-ellipsis\"\n [title]=\"form.controls['label'].value\"\n >\n {{ form.controls[\"label\"].value }}\n </div>\n </div>\n </div>\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"], components: [{ type: i2.WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"] }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i3.TextboxComponent, selector: "nui-textbox", inputs: ["autocomplete", "disabled", "hint", "placeholder", "readonly", "rows", "type", "isInErrorState", "ariaLabel", "value", "caption", "info", "customBoxWidth", "name", "isBusy"], outputs: ["textChange", "blurred"] }, { type: i3.ValidationMessageComponent, selector: "nui-validation-message", inputs: ["show", "for"] }, { type: i3.CheckboxComponent, selector: "nui-checkbox", inputs: ["ariaLabelledby", "title", "ariaLabel", "checked", "disabled", "hovered", "indeterminate", "ariaDescribedby", "name", "value", "required", "hint"], outputs: ["valueChange"] }, { type: i3.TextboxNumberComponent, selector: "nui-textbox-number", inputs: ["value", "disabled", "placeholder", "readonly", "step", "stepPrecision", "isInErrorState", "ariaLabel", "customBoxWidth", "name", "minValue", "maxValue"], outputs: ["blurred", "valueChange"] }, { type: i3.MessageComponent, selector: "nui-message", inputs: ["allowDismiss", "type", "manualControl"], outputs: ["dismiss"] }], directives: [{ type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i4.AsyncPipe, "nuiWidgetEditorAccordionFormState": i5.WidgetEditorAccordionFormStatePipe, "nuiFormHeaderIconPipe": i6.FormHeaderIconPipePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
65
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DescriptionConfigurationComponent, decorators: [{
66
- type: Component,
67
- args: [{
68
- selector: "nui-table-column-description-configuration",
69
- templateUrl: "./description-configuration.component.html",
70
- styleUrls: ["./description-configuration.component.less"],
71
- changeDetection: ChangeDetectionStrategy.OnPush,
72
- }]
73
- }], ctorParameters: function () { return [{ type: i1.FormBuilder }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { label: [{
74
- type: Input
75
- }], isActive: [{
76
- type: Input
77
- }], width: [{
78
- type: Input
79
- }], isWidthMessageDisplayed: [{
80
- type: Input
81
- }], formReady: [{
82
- type: Output
83
- }], formDestroy: [{
84
- type: Output
85
- }] } });
86
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVzY3JpcHRpb24tY29uZmlndXJhdGlvbi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGliL2NvbmZpZ3VyYXRvci9jb21wb25lbnRzL3dpZGdldHMvdGFibGUvY29sdW1ucy1lZGl0b3IvY29sdW1uLWNvbmZpZ3VyYXRpb24vZGVzY3JpcHRpb24tY29uZmlndXJhdGlvbi9kZXNjcmlwdGlvbi1jb25maWd1cmF0aW9uLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9saWIvY29uZmlndXJhdG9yL2NvbXBvbmVudHMvd2lkZ2V0cy90YWJsZS9jb2x1bW5zLWVkaXRvci9jb2x1bW4tY29uZmlndXJhdGlvbi9kZXNjcmlwdGlvbi1jb25maWd1cmF0aW9uL2Rlc2NyaXB0aW9uLWNvbmZpZ3VyYXRpb24uY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEseURBQXlEO0FBQ3pELEVBQUU7QUFDRiwrRUFBK0U7QUFDL0UsNEVBQTRFO0FBQzVFLDhFQUE4RTtBQUM5RSwrRUFBK0U7QUFDL0UsOEVBQThFO0FBQzlFLDREQUE0RDtBQUM1RCxFQUFFO0FBQ0YsNkVBQTZFO0FBQzdFLHVEQUF1RDtBQUN2RCxFQUFFO0FBQ0YsNkVBQTZFO0FBQzdFLDRFQUE0RTtBQUM1RSwrRUFBK0U7QUFDL0UsMEVBQTBFO0FBQzFFLGlGQUFpRjtBQUNqRiw2RUFBNkU7QUFDN0UsaUJBQWlCO0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ge3sgZm9ybS5jb250cm9sc1tcImxhYmVsXCJdLnZhbHVlIH19XG4gICAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgPC9kaXY+XG4gICAgICAgIDxkaXYgY2xhc3M9XCJkZXNjcmlwdGlvbi1jb25maWd1cmF0aW9uX19hY2NvcmRpb24tY29udGVudFwiPlxuICAgICAgICAgICAgPGRpdiBjbGFzcz1cIm1iLTRcIj5cbiAgICAgICAgICAgICAgICA8bnVpLWZvcm0tZmllbGRcbiAgICAgICAgICAgICAgICAgICAgY2FwdGlvbj1cIkxhYmVsXCJcbiAgICAgICAgICAgICAgICAgICAgaTE4bi1jYXB0aW9uXG4gICAgICAgICAgICAgICAgICAgIGNsYXNzPVwibWItM1wiXG4gICAgICAgICAgICAgICAgICAgIFtjb250cm9sXT1cImZvcm0uY29udHJvbHNbJ2xhYmVsJ11cIlxuICAgICAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICAgICAgPG51aS10ZXh0Ym94IGZvcm1Db250cm9sTmFtZT1cImxhYmVsXCI+PC9udWktdGV4dGJveD5cbiAgICAgICAgICAgICAgICAgICAgPG51aS12YWxpZGF0aW9uLW1lc3NhZ2UgZm9yPVwicmVxdWlyZWRcIiBpMThuPlxuICAgICAgICAgICAgICAgICAgICAgICAgVGhpcyBmaWVsZCBpcyByZXF1aXJlZFxuICAgICAgICAgICAgICAgICAgICA8L251aS12YWxpZGF0aW9uLW1lc3NhZ2U+XG4gICAgICAgICAgICAgICAgPC9udWktZm9ybS1maWVsZD5cbiAgICAgICAgICAgIDwvZGl2PlxuXG4gICAgICAgICAgICA8bnVpLWZvcm0tZmllbGQgW2NvbnRyb2xdPVwiZm9ybS5jb250cm9sc1snaXNBY3RpdmUnXVwiPlxuICAgICAgICAgICAgICAgIDxudWktY2hlY2tib3ggZm9ybUNvbnRyb2xOYW1lPVwiaXNBY3RpdmVcIiBpMThuXG4gICAgICAgICAgICAgICAgICAgID5TaG93IHRoaXMgY29sdW1uPC9udWktY2hlY2tib3hcbiAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICA8L251aS1mb3JtLWZpZWxkPlxuXG4gICAgICAgICAgICA8bmctY29udGFpbmVyICpuZ0lmPVwiZm9ybS5nZXQoJ2lzQWN0aXZlJyk/LnZhbHVlXCI+XG4gICAgICAgICAgICAgICAgPG5nLWNvbnRhaW5lciAqbmdJZj1cIiFpc1dpZHRoTWVzc2FnZURpc3BsYXllZFwiPlxuICAgICAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwibXQtNFwiPlxuICAgICAgICAgICAgICAgICAgICAgICAgPG51aS1mb3JtLWZpZWxkXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgY2FwdGlvbj1cIkNvbHVtbiB3aWR0aCAocHgpXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBpMThuLWNhcHRpb25cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBjbGFzcz1cIm1iLTNcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtjb250cm9sXT1cImZvcm0uY29udHJvbHNbJ3dpZHRoJ11cIlxuICAgICAgICAgICAgICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwhLS0gVE9ETzogUmVtb3ZlIHRoaXMgdmFsdWVDaGFuZ2Ugc3R1YiBhZnRlciBOVUktMzQ0MiBpcyBmaW5pc2hlZC0tPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxudWktdGV4dGJveC1udW1iZXJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3M9XCJkZXNjcmlwdGlvbi1jb25maWd1cmF0aW9uX19hY2NvcmRpb24tY29udGVudF9fd2lkdGgtaW5wdXRcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAodmFsdWVDaGFuZ2UpPVwic3R1YigpXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcGxhY2Vob2xkZXI9XCJBdXRvIHdpZHRoXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaTE4bi1wbGFjZWhvbGRlclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBmb3JtQ29udHJvbE5hbWU9XCJ3aWR0aFwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPjwvbnVpLXRleHRib3gtbnVtYmVyPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxudWktdmFsaWRhdGlvbi1tZXNzYWdlXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtzaG93XT1cImZvcm0uY29udHJvbHNbJ3dpZHRoJ10uaW52YWxpZFwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGZvcj1cIm1pblwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGkxOG5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIE1pbmltdW0gd2lkdGggb2YgdGhlIGNvbHVtbiBpcyA2MnB4XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9udWktdmFsaWRhdGlvbi1tZXNzYWdlPlxuICAgICAgICAgICAgICAgICAgICAgICAgPC9udWktZm9ybS1maWVsZD5cbiAgICAgICAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICAgICAgPC9uZy1jb250YWluZXI+XG4gICAgICAgICAgICAgICAgPG51aS1tZXNzYWdlXG4gICAgICAgICAgICAgICAgICAgICpuZ0lmPVwiaXNXaWR0aE1lc3NhZ2VEaXNwbGF5ZWRcIlxuICAgICAgICAgICAgICAgICAgICB0eXBlPVwiaW5mb1wiXG4gICAgICAgICAgICAgICAgICAgIFthbGxvd0Rpc21pc3NdPVwiZmFsc2VcIlxuICAgICAgICAgICAgICAgICAgICBpMThuXG4gICAgICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgICAgICA8Yj5BbGwgY29sdW1ucyBjYW4gbm90IGhhdmUgZml4ZWQgd2lkdGguPC9iPlxuICAgICAgICAgICAgICAgIDwvbnVpLW1lc3NhZ2U+XG4gICAgICAgICAgICA8L25nLWNvbnRhaW5lcj5cbiAgICAgICAgPC9kaXY+XG4gICAgPC9udWktd2lkZ2V0LWVkaXRvci1hY2NvcmRpb24+XG48L25nLWNvbnRhaW5lcj5cbiJdfQ==
@@ -1,119 +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
- var _a, _b, _c, _d;
78
- result[next] = [
79
- (_d = (_c = (_b = (_a = this.formatter) === null || _a === void 0 ? void 0 : _a.properties) === null || _b === void 0 ? void 0 : _b.dataFieldIds) === null || _c === void 0 ? void 0 : _c[next]) !== null && _d !== void 0 ? _d : null,
80
- Validators.required,
81
- ];
82
- return result;
83
- }, {});
84
- this.form = this.formBuilder.group({
85
- dataFieldIds: this.formBuilder.group(dataFieldForm),
86
- });
87
- this.addCustomFormControls(this.form);
88
- this.formReady.emit(this.form);
89
- }
90
- updateForm() {
91
- var _a;
92
- this.form.patchValue((_a = this.formatter.properties) !== null && _a !== void 0 ? _a : {}, {
93
- onlySelf: false,
94
- emitEvent: false,
95
- });
96
- }
97
- /**
98
- * Add your custom form controls here
99
- *
100
- * @param form
101
- */
102
- addCustomFormControls(form) { }
103
- }
104
- /** @nocollapse */ FormatterConfiguratorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: FormatterConfiguratorComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.ConfiguratorHeadingService }, { token: i2.FormBuilder }, { token: i3.LoggerService }], target: i0.ɵɵFactoryTarget.Injectable });
105
- /** @nocollapse */ FormatterConfiguratorComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: FormatterConfiguratorComponent });
106
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: FormatterConfiguratorComponent, decorators: [{
107
- type: Injectable
108
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1.ConfiguratorHeadingService }, { type: i2.FormBuilder }, { type: i3.LoggerService }]; }, propDecorators: { formatter: [{
109
- type: Input
110
- }], formatterDefinition: [{
111
- type: Input
112
- }], dataFields: [{
113
- type: Input
114
- }], formArrayName: [{
115
- type: Input
116
- }], formReady: [{
117
- type: Output
118
- }] } });
119
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybWF0dGVyLWNvbmZpZ3VyYXRvci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGliL2NvbmZpZ3VyYXRvci9jb21wb25lbnRzL3dpZGdldHMvdGFibGUvY29sdW1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zLmZvcm1hdHRlckRlZmluaXRpb24uZGF0YVR5cGVzW25leHRdO1xuXG4gICAgICAgICAgICByZXN1bHRbbmV4dF0gPSBhbGxvd2VkRGF0YVR5cGVzXG4gICAgICAgICAgICAgICAgPyB0aGlzLmRhdGFGaWVsZHMuZmlsdGVyKChkZikgPT5cbiAgICAgICAgICAgICAgICAgICAgICAvLyBkYXRhVHlwZXMgY291bGQgYmUgYSBzdHJpbmcgb3IgYW4gYXJyYXkgb2Ygc3RyaW5ncywgc28gd2UncmUgY2hlY2tpbmcgdGhhdCBoZXJlXG4gICAgICAgICAgICAgICAgICAgICAgdHlwZW9mIGFsbG93ZWREYXRhVHlwZXMgPT09IFwic3RyaW5nXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgPyBkZi5kYXRhVHlwZSA9PT0gYWxsb3dlZERhdGFUeXBlc1xuICAgICAgICAgICAgICAgICAgICAgICAgICA6IChhbGxvd2VkRGF0YVR5cGVzIGFzIHN0cmluZ1tdKS5pbmNsdWRlcyhkZi5kYXRhVHlwZSlcbiAgICAgICAgICAgICAgICAgIClcbiAgICAgICAgICAgICAgICA6IC8vIGlmIG5vIGRhdGEgdHlwZXMgYXJlIGRlZmluZWQgdGhlbiBqdXN0IGluY2x1ZGUgYWxsIHRoZSBmaWVsZHNcbiAgICAgICAgICAgICAgICAgIHRoaXMuZGF0YUZpZWxkcztcblxuICAgICAgICAgICAgcmV0dXJuIHJlc3VsdDtcbiAgICAgICAgfSwge30gYXMgUmVjb3JkPHN0cmluZywgSURhdGFGaWVsZFtdPik7XG4gICAgfVxuXG4gICAgZ2V0IGRhdGFGaWVsZElkcygpOiBGb3JtR3JvdXAge1xuICAgICAgICByZXR1cm4gdGhpcy5mb3JtLmdldChcImRhdGFGaWVsZElkc1wiKSBhcyBGb3JtR3JvdXA7XG4gICAgfVxuXG4gICAgcHVibGljIGluaXRGb3JtKCk6IHZvaWQge1xuICAgICAgICAvLyBpbml0aWFsaXplIHRoZSBmb3JtQXJyYX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xmOiBmYWxzZSxcbiAgICAgICAgICAgIGVtaXRFdmVudDogZmFsc2UsXG4gICAgICAgIH0pO1xuICAgIH1cblxuICAgIC8qKlxuICAgICAqIEFkZCB5b3VyIGN1c3RvbSBmb3JtIGNvbnRyb2xzIGhlcmVcbiAgICAgKlxuICAgICAqIEBwYXJhbSBmb3JtXG4gICAgICovXG4gICAgcHJvdGVjdGVkIGFkZEN1c3RvbUZvcm1Db250cm9scyhmb3JtOiBGb3JtR3JvdXApOiB2b2lkIHt9XG59XG4iXX0=
@@ -1,56 +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
- constructor(changeDetector, configuratorHeading, formBuilder, logger) {
32
- super(changeDetector, configuratorHeading, formBuilder, logger);
33
- }
34
- initForm() {
35
- const dataFieldForm = {
36
- link: [null, Validators.required],
37
- value: [null, Validators.required],
38
- };
39
- this.form = this.formBuilder.group({
40
- dataFieldIds: this.formBuilder.group(dataFieldForm),
41
- targetSelf: [false],
42
- });
43
- this.formReady.emit(this.form);
44
- }
45
- }
46
- LinkConfiguratorComponent.lateLoadKey = "LinkConfiguratorComponent";
47
- /** @nocollapse */ LinkConfiguratorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: LinkConfiguratorComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.ConfiguratorHeadingService }, { token: i2.FormBuilder }, { token: i3.LoggerService }], target: i0.ɵɵFactoryTarget.Component });
48
- /** @nocollapse */ LinkConfiguratorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", 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", components: [{ type: i3.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i3.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { type: i3.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["outfiltered", "value", "index", "displayValueContext"] }, { type: i3.ValidationMessageComponent, selector: "nui-validation-message", inputs: ["show", "for"] }, { type: i3.SwitchComponent, selector: "nui-switch", inputs: ["ariaLabel", "value", "disabled"], outputs: ["valueChange"] }], directives: [{ type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i2.FormGroupName, selector: "[formGroupName]", inputs: ["formGroupName"] }, { type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
49
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: LinkConfiguratorComponent, decorators: [{
50
- type: Component,
51
- args: [{
52
- selector: "nui-link-configurator",
53
- templateUrl: "./link-configurator.component.html",
54
- }]
55
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1.ConfiguratorHeadingService }, { type: i2.FormBuilder }, { type: i3.LoggerService }]; } });
56
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGluay1jb25maWd1cmF0b3IuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2xpYi9jb25maWd1cmF0b3IvY29tcG9uZW50cy93aWRnZXRzL3RhYmxlL2NvbHVtbnMtZWRpdG9yL2NvbHVtbi1jb25maWd1cmF0aW9uL3ByZXNlbnRhdGlvbi1jb25maWd1cmF0aW9uL3BvcnRhbHMvbGluay1jb25maWd1cmF0b3IvbGluay1jb25maWd1cmF0b3IuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2xpYi9jb25maWd1cmF0b3IvY29tcG9uZW50cy93aWRnZXRzL3RhYmxlL2NvbHVtbnMtZWRpdG9yL2NvbHVtbi1jb25maWd1cmF0aW9uL3ByZXNlbnRhdGlvbi1jb25maWd1cmF0aW9uL3BvcnRhbHMvbGluay1jb25maWd1cmF0b3IvbGluay1jb25maWd1cmF0b3IuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEseURBQXlEO0FBQ3pELEVBQUU7QUFDRiwrRUFBK0U7QUFDL0UsNEVBQTRFO0FBQzVFLDhFQU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0aW9ufCB0aGUgZW50aXR5IGZpZWxkIHRvIGJlIHNlbGVjdGVkIGZvciB0aGVcbiAgICAgICAgICAgICAgICAgICAgaHRtbCBsYWJlbCBwcm9wZXJ0eVxuICAgICAgICAgICAgICAgIFwiXG4gICAgICAgICAgICAgICAgY2xhc3M9XCJtYi0zXCJcbiAgICAgICAgICAgICAgICBbY29udHJvbF09XCJkYXRhRmllbGRJZHMuY29udHJvbHNbJ3ZhbHVlJ11cIlxuICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgIDxudWktc2VsZWN0LXYyIGZvcm1Db250cm9sTmFtZT1cInZhbHVlXCI+XG4gICAgICAgICAgICAgICAgICAgIDxudWktc2VsZWN0LXYyLW9wdGlvblxuICAgICAgICAgICAgICAgICAgICAgICAgKm5nRm9yPVwibGV0IGl0ZW1WYWx1ZSBvZiBkcm9wZG93bkl0ZW1zLnZhbHVlXCJcbiAgICAgICAgICAgICAgICAgICAgICAgIFt2YWx1ZV09XCJpdGVtVmFsdWUuaWRcIlxuICAgICAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgICAgICB7eyBpdGVtVmFsdWUubGFiZWwgfX1cbiAgICAgICAgICAgICAgICAgICAgPC9udWktc2VsZWN0LXYyLW9wdGlvbj5cbiAgICAgICAgICAgICAgICA8L251aS1zZWxlY3QtdjI+XG4gICAgICAgICAgICAgICAgPG51aS12YWxpZGF0aW9uLW1lc3NhZ2UgZm9yPVwicmVxdWlyZWRcIiBpMThuPlxuICAgICAgICAgICAgICAgICAgICBUaGlzIGZpZWxkIGlzIHJlcXVpcmVkXG4gICAgICAgICAgICAgICAgPC9udWktdmFsaWRhdGlvbi1tZXNzYWdlPlxuICAgICAgICAgICAgPC9udWktZm9ybS1maWVsZD5cbiAgICAgICAgPC9kaXY+XG4gICAgICAgIDxkaXY+XG4gICAgICAgICAgICA8bnVpLWZvcm0tZmllbGRcbiAgICAgICAgICAgICAgICBjYXB0aW9uPVwiVVJMXCJcbiAgICAgICAgICAgICAgICBpMThuLWNhcHRpb249XCJcbiAgICAgICAgICAgICAgICAgICAgdXJsIGZpZWxkIGNhcHRpb258IHRoZSBlbnRpdHkgZmllbGQgdG8gYmUgc2VsZWN0ZWQgZm9yIHRoZVxuICAgICAgICAgICAgICAgICAgICB1cmwgaHRtbCBwcm9wZXJ0eVxuICAgICAgICAgICAgICAgIFwiXG4gICAgICAgICAgICAgICAgY2xhc3M9XCJtYi0zXCJcbiAgICAgICAgICAgICAgICBbY29udHJvbF09XCJkYXRhRmllbGRJZHMuY29udHJvbHNbJ2xpbmsnXVwiXG4gICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgPG51aS1zZWxlY3QtdjIgZm9ybUNvbnRyb2xOYW1lPVwibGlua1wiPlxuICAgICAgICAgICAgICAgICAgICA8bnVpLXNlbGVjdC12Mi1vcHRpb25cbiAgICAgICAgICAgICAgICAgICAgICAgICpuZ0Zvcj1cImxldCBpdGVtTGluayBvZiBkcm9wZG93bkl0ZW1zLmxpbmtcIlxuICAgICAgICAgICAgICAgICAgICAgICAgW3ZhbHVlXT1cIml0ZW1MaW5rLmlkXCJcbiAgICAgICAgICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgICAgICAgICAge3sgaXRlbUxpbmsubGFiZWwgfX1cbiAgICAgICAgICAgICAgICAgICAgPC9udWktc2VsZWN0LXYyLW9wdGlvbj5cbiAgICAgICAgICAgICAgICA8L251aS1zZWxlY3QtdjI+XG4gICAgICAgICAgICAgICAgPG51aS12YWxpZGF0aW9uLW1lc3NhZ2UgZm9yPVwicmVxdWlyZWRcIiBpMThuPlxuICAgICAgICAgICAgICAgICAgICBUaGlzIGZpZWxkIGlzIHJlcXVpcmVkXG4gICAgICAgICAgICAgICAgPC9udWktdmFsaWRhdGlvbi1tZXNzYWdlPlxuICAgICAgICAgICAgPC9udWktZm9ybS1maWVsZD5cbiAgICAgICAgPC9kaXY+XG4gICAgPC9kaXY+XG4gICAgPGRpdj5cbiAgICAgICAgPG51aS1mb3JtLWZpZWxkXG4gICAgICAgICAgICBjYXB0aW9uPVwiT3BlbiBpbiB0aGUgc2FtZSB3aW5kb3dcIlxuICAgICAgICAgICAgaTE4bi1jYXB0aW9uPVwiXG4gICAgICAgICAgICAgICAgZm9ybSBmaWVsZCBjYXB0aW9ufHN3aXRjaCBjb25maWd1cmluZyB3aGV0aGVyIGZvcm1hdHRlZCBsaW5rXG4gICAgICAgICAgICAgICAgc2hvdWxkIG9wZW4gaW4gbmV3IHdpbmRvdy90YWJcbiAgICAgICAgICAgIFwiXG4gICAgICAgICAgICBjbGFzcz1cIm1iLTNcIlxuICAgICAgICAgICAgW2NvbnRyb2xdPVwiZm9ybS5jb250cm9scy50YXJnZXRTZWxmXCJcbiAgICAgICAgPlxuICAgICAgICAgICAgPG51aS1zd2l0Y2ggaWQ9XCJudWktc3dpdGNoLXRhcmdldFwiIGZvcm1Db250cm9sTmFtZT1cInRhcmdldFNlbGZcIj5cbiAgICAgICAgICAgIDwvbnVpLXN3aXRjaD5cbiAgICAgICAgPC9udWktZm9ybS1maWVsZD5cbiAgICA8L2Rpdj5cbjwvZGl2PlxuIl19