@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
@@ -0,0 +1,110 @@
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 { Directive, Input, } from "@angular/core";
21
+ import { Subject } from "rxjs";
22
+ import { takeUntil } from "rxjs/operators";
23
+ import { WellKnownDataSourceFeatures } from "../../../types";
24
+ import { TimeseriesScalesService } from "../timeseries-scales.service";
25
+ import * as i0 from "@angular/core";
26
+ import * as i1 from "../timeseries-scales.service";
27
+ // eslint-disable-next-line @angular-eslint/directive-class-suffix
28
+ export class TimeseriesChartComponent {
29
+ constructor(timeseriesScalesService, dataSource) {
30
+ this.timeseriesScalesService = timeseriesScalesService;
31
+ this.dataSource = dataSource;
32
+ this.widgetData = {};
33
+ this.configuration = {};
34
+ this.scales = {};
35
+ this.destroy$ = new Subject();
36
+ this.buildChart$ = new Subject();
37
+ this.resetChart = false;
38
+ this.chartBuilt = false;
39
+ this.buildChart$.pipe(takeUntil(this.destroy$)).subscribe(() => {
40
+ this.chartBuilt = true;
41
+ });
42
+ }
43
+ get seriesInteractive() {
44
+ return (this.configuration?.interaction === "series" ||
45
+ this.dataSource?.features?.getFeatureConfig(WellKnownDataSourceFeatures.Interactivity)?.enabled ||
46
+ false);
47
+ }
48
+ ngOnChanges(changes) {
49
+ let shouldUpdateChart = false;
50
+ let shouldRebuildChart = false;
51
+ if (changes.configuration) {
52
+ const configurationCurrent = changes.configuration.currentValue;
53
+ const configurationPrevious = changes.configuration.previousValue;
54
+ if (configurationCurrent?.preset !== configurationPrevious?.preset) {
55
+ shouldRebuildChart = true;
56
+ }
57
+ if (configurationCurrent?.scales !== configurationPrevious?.scales) {
58
+ for (const scaleKey of Object.keys(configurationCurrent?.scales)) {
59
+ const scaleConfigCurrent = configurationCurrent?.scales?.[scaleKey];
60
+ const scaleConfigPrevious = configurationPrevious?.scales?.[scaleKey];
61
+ if (scaleConfigCurrent?.type !==
62
+ scaleConfigPrevious?.type ||
63
+ !this.scales[scaleKey]) {
64
+ this.scales[scaleKey] =
65
+ this.timeseriesScalesService.getScale(scaleConfigCurrent, configurationCurrent.units);
66
+ shouldUpdateChart = true;
67
+ }
68
+ else if (scaleConfigCurrent?.properties !==
69
+ scaleConfigPrevious?.properties) {
70
+ this.timeseriesScalesService.updateConfiguration(this.scales[scaleKey], scaleConfigCurrent);
71
+ shouldUpdateChart = true;
72
+ }
73
+ }
74
+ }
75
+ }
76
+ if (shouldRebuildChart || !this.chartBuilt) {
77
+ this.buildChart();
78
+ }
79
+ if (changes.widgetData && !changes.widgetData.isFirstChange()) {
80
+ if (this.widgetData?.series?.length === 0) {
81
+ this.resetChart = true;
82
+ }
83
+ if (this.widgetData && this.widgetData.series) {
84
+ if (this.resetChart && this.widgetData?.series?.length > 0) {
85
+ this.resetChart = false;
86
+ this.buildChart();
87
+ }
88
+ shouldUpdateChart = true;
89
+ }
90
+ }
91
+ if (shouldUpdateChart) {
92
+ this.updateChartData();
93
+ }
94
+ }
95
+ ngOnDestroy() {
96
+ this.destroy$.next();
97
+ this.destroy$.complete();
98
+ this.buildChart$.complete();
99
+ }
100
+ }
101
+ /** @nocollapse */ TimeseriesChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimeseriesChartComponent, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
102
+ /** @nocollapse */ TimeseriesChartComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: TimeseriesChartComponent, inputs: { widgetData: "widgetData", configuration: "configuration" }, usesOnChanges: true, ngImport: i0 });
103
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimeseriesChartComponent, decorators: [{
104
+ type: Directive
105
+ }], ctorParameters: function () { return [{ type: i1.TimeseriesScalesService }, { type: undefined }]; }, propDecorators: { widgetData: [{
106
+ type: Input
107
+ }], configuration: [{
108
+ type: Input
109
+ }] } });
110
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGltZXNlcmllcy1jaGFydC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGliL2NvbXBvbmVudHMvdGltZXNlcmllcy13aWRnZXQvY2hhcnQtcHJlc2V0cy90aW1lc2VyaWVzLWNoYXJ0LmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSx5REFBeUQ7QUFDekQsRUFBRTtBQUNGLCtFQUErRTtBQUMvRSw0RUFBNEU7QUFDNUUsOEVBQThFO0FBQzlFLCtFQUErRTtBQUMvRSw4RUFBOEU7QUFDOUUsNERBQTREO0FBQzVELEVBQUU7QUFDRiw2RUFBNkU7QUFDN0UsdURBQXVEO0FBQ3ZELEVBQUU7QUFDRiw2RUFBNkU7QUFDN0UsNEVBQTRFO0FBQzVFLCtFQUErRTtBQUMvRSwwRUFBMEU7QUFDMUUsaUZBQWlGO0FBQ2pGLDZFQUE2RTtBQUM3RSxpQkFBaUI7QUFFakIsT0FBTyxFQUNILFNBQVMsRUFDVCxLQUFLLEdBSVIsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFFLE9BQU8sRUFBRSxNQUFNLE1BQU0sQ0FBQztBQUMvQix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5waXBlKHRha2VVbnRpbCh0aGlzLmRlc3Ryb3kkKSkuc3Vic2NyaWJlKCgpID0+IHtcbiAgICAgICAgICAgIHRoaXMuY2hhcnRCdWlsdCA9IHRydWU7XG4gICAgICAgIH0pO1xuICAgIH1cblxuICAgIHB1YmxpYyBuZ09uQ2hhbmdlcyhjaGFuZ2VzOiBTaW1wbGVDaGFuZ2VzKTogdm9pZCB7XG4gICAgICAgIGxldCBzaG91bGRVcGRhdGVDaGFydCA9IGZhbHNlO1xuICAgICAgICBsZXQgc2hvdWxkUmVidWlsZENoYXJ0ID0gZmFsc2U7XG5cbiAgICAgICAgaWYgKGNoYW5nZXMuY29uZmlndXJhdGlvbikge1xuICAgICAgICAgICAgY29uc3QgY29uZmlndXJhdGlvbkN1cnJlbnQ6IElUaW1lc2VyaWVzV2lkZ2V0Q29uZmlnID1cbiAgICAgICAgICAgICAgICBjaGFuZ2VzLmNvbmZpZ3VyYXRpb24uY3VycmVudFZhbHVlO1xuICAgICAgICAgICAgY29uc3QgY29uZmlndXJhdGlvblByZXZpb3VzOiBJVGltZXNlcmllc1dpZGdldENvbmZpZyA9XG4gICAgICAgICAgICAgICAgY2hhbmdlcy5jb25maWd1cmF0aW9uLnByZXZpb3VzVmFsdWU7XG5cbiAgICAgICAgICAgIGlmIChcbiAgICAgICAgICAgICAgICBjb25maWd1cmF0aW9uQ3VycmVudD8ucHJlc2V0ICE9PSBjb25maWd1cmF0aW9uUHJldmlvdXM/LnByZXNldFxuICAgICAgICAgICAgKSB7XG4gICAgICAgICAgICAgICAgc2hvdWxkUmVidWlsZENoYXJ0ID0gdHJ1ZTtcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgaWYgKFxuICAgICAgICAgICAgICAgIGNvbmZpZ3VyYXRpb25DdXJyZW50Py5zY2FsZXMgIT09IGNvbmZpZ3VyYXRpb25QcmV2aW91cz8uc2NhbGVzXG4gICAgICAgICAgICApIHtcbiAgICAgICAgICAgICAgICBmb3IgKGNvbnN0IHNjYWxlS2V5IG9mIE9iamVjdC5rZXlzKFxuICAgICAgICAgICAgICAgICAgICBjb25maWd1cmF0aW9uQ3VycmVudD8uc2NhbGVzXG4gICAgICAgICAgICAgICAgKSBhcyBBcnJheTxrZXlvZiBJVGltZXNlcmllc1NjYWxlc0NvbmZpZz4pIHtcbiAgICAgICAgICAgICAgICAgICAgY29uc3Qgc2NhbGVDb25maWdDdXJyZW50ID1cbiAgICAgICAgICAgICAgICAgICAgICAgIGNvbmZpZ3VyYXRpb25DdXJyZW50Py5zY2FsZXM/LltzY2FsZUtleV07XG4gICAgICAgICAgICAgICAgICAgIGNvbnN0IHNjYWxlQ29uZmlnUHJldmlvdXMgPVxuICAgICAgICAgICAgICAgICAgICAgICAgY29uZmlndXJhdGlvblByZXZpb3VzPy5zY2FsZXM/LltzY2FsZUtleV07XG5cbiAgICAgICAgICAgICAgICAgICAgaWYgKFxuICAgICAgICAgICAgICAgICAgICAgICAgc2NhbGVDb25maWdDdXJyZW50Py50eXBlICE9PVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHNjYWxlQ29uZmlnUHJldmlvdXM/LnR5cGUgfHxcbiAgICAgICAgICAgICAgICAgICAgICAgICF0aGlzLnNjYWxlc1tzY2FsZUtleV1cbiAgICAgICAgICAgICAgICAgICAgKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICB0aGlzLnNjYWxlc1tzY2FsZUtleV0gPVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMudGltZXNlcmllc1NjYWxlc1NlcnZpY2UuZ2V0U2NhbGUoXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHNjYWxlQ29uZmlnQ3VycmVudCxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY29uZmlndXJhdGlvbkN1cnJlbnQudW5pdHNcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICApO1xuICAgICAgICAgICAgICAgICAgICAgICAgc2hvdWxkVXBkYXRlQ2hhcnQgPSB0cnVlO1xuICAgICAgICAgICAgICAgICAgICB9IGVsc2UgaWYgKFxuICAgICAgICAgICAgICAgICAgICAgICAgc2NhbGVDb25maWdDdXJyZW50Py5wcm9wZXJ0aWVzICE9PVxuICAgICAgICAgICAgICAgICAgICAgICAgc2NhbGVDb25maWdQcmV2aW91cz8ucHJvcGVydGllc1xuICAgICAgICAgICAgICAgICAgICApIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMudGltZXNlcmllc1NjYWxlc1NlcnZpY2UudXBkYXRlQ29uZmlndXJhdGlvbihcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB0aGlzLnNjYWxlc1tzY2FsZUtleV0sXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgc2NhbGVDb25maWdDdXJyZW50XG4gICAgICAgICAgICAgICAgICAgICAgICApO1xuICAgICAgICAgICAgICAgICAgICAgICAgc2hvdWxkVXBkYXRlQ2hhcnQgPSB0cnVlO1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgaWYgKHNob3VsZFJlYnVpbGRDaGFydCB8fCAhdGhpcy5jaGFydEJ1aWx0KSB7XG4gICAgICAgICAgICB0aGlzLmJ1aWxkQ2hhcnQoKTtcbiAgICAgICAgfVxuXG4gICAgICAgIGlmIChjaGFuZ2VzLndpZGdldERhdGEgJiYgIWNoYW5nZXMud2lkZ2V0RGF0YS5pc0ZpcnN0Q2hhbmdlKCkpIHtcbiAgICAgICAgICAgIGlmICh0aGlzLndpZGdldERhdGE/LnNlcmllcz8ubGVuZ3RoID09PSAwKSB7XG4gICAgICAgICAgICAgICAgdGhpcy5yZXNldENoYXJ0ID0gdHJ1ZTtcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgaWYgKHRoaXMud2lkZ2V0RGF0YSAmJiB0aGlzLndpZGdldERhdGEuc2VyaWVzKSB7XG4gICAgICAgICAgICAgICAgaWYgKHRoaXMucmVzZXRDaGFydCAmJiB0aGlzLndpZGdldERhdGE/LnNlcmllcz8ubGVuZ3RoID4gMCkge1xuICAgICAgICAgICAgICAgICAgICB0aGlzLnJlc2V0Q2hhcnQgPSBmYWxzZTtcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5idWlsZENoYXJ0KCk7XG4gICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgc2hvdWxkVXBkYXRlQ2hhcnQgPSB0cnVlO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgaWYgKHNob3VsZFVwZGF0ZUNoYXJ0KSB7XG4gICAgICAgICAgICB0aGlzLnVwZGF0ZUNoYXJ0RGF0YSgpO1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgcHVibGljIG5nT25EZXN0cm95KCk6IHZvaWQge1xuICAgICAgICB0aGlzLmRlc3Ryb3kkLm5leHQoKTtcbiAgICAgICAgdGhpcy5kZXN0cm95JC5jb21wbGV0ZSgpO1xuICAgICAgICB0aGlzLmJ1aWxkQ2hhcnQkLmNvbXBsZXRlKCk7XG4gICAgfVxuXG4gICAgLyoqIFVwZGF0ZXMgY2hhcnQgZGF0YS4gKi9cbiAgICBwcm90ZWN0ZWQgYWJzdHJhY3QgdXBkYXRlQ2hhcnREYXRhKCk6IHZvaWQ7XG5cbiAgICBwcm90ZWN0ZWQgYWJzdHJhY3QgYnVpbGRDaGFydCgpOiB2b2lkO1xufVxuIl19
@@ -0,0 +1,62 @@
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, Inject, Optional } from "@angular/core";
21
+ import { EventBus } from "@nova-ui/bits";
22
+ import { Chart, ChartAssist, LineAccessors, LineRenderer, XYGrid, XYGridConfig, } from "@nova-ui/charts";
23
+ import { DATA_SOURCE, PIZZAGNA_EVENT_BUS } from "../../../../../types";
24
+ import { TimeseriesScalesService } from "../../../timeseries-scales.service";
25
+ import { XYChartComponent } from "../xy-chart.component";
26
+ import * as i0 from "@angular/core";
27
+ import * as i1 from "../../../timeseries-scales.service";
28
+ import * as i2 from "@nova-ui/charts";
29
+ import * as i3 from "@angular/common";
30
+ import * as i4 from "@nova-ui/bits";
31
+ export class LineChartComponent extends XYChartComponent {
32
+ constructor(eventBus, dataSource, timeseriesScalesService, changeDetector) {
33
+ super(eventBus, dataSource, timeseriesScalesService, changeDetector);
34
+ this.renderer = new LineRenderer();
35
+ }
36
+ createAccessors(colorProvider) {
37
+ return new LineAccessors(colorProvider);
38
+ }
39
+ createChartAssist(palette) {
40
+ const gridConfig = new XYGridConfig();
41
+ gridConfig.axis.left.fit = true;
42
+ const chart = new Chart(new XYGrid(gridConfig));
43
+ // @ts-ignore: Avoiding strict mode errors, keeping old flow
44
+ return new ChartAssist(chart, null, palette);
45
+ }
46
+ }
47
+ LineChartComponent.lateLoadKey = "LineChartComponent";
48
+ /** @nocollapse */ LineChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LineChartComponent, deps: [{ token: PIZZAGNA_EVENT_BUS }, { token: DATA_SOURCE, optional: true }, { token: i1.TimeseriesScalesService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
49
+ /** @nocollapse */ LineChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: LineChartComponent, selector: "nui-line-chart", usesInheritance: true, ngImport: i0, template: "<div class=\"nui-chart-layout h-100 px-3 py-3\">\n <div class=\"axis-label-left nui-text-small\">\n <strong>{{ configuration.leftAxisLabel }}</strong>\n </div>\n <div class=\"chart\">\n <nui-chart\n [nuiChartCollectionId]=\"collectionId\"\n class=\"w-100\"\n [chart]=\"chartAssist.chart\"\n ></nui-chart>\n </div>\n <div\n class=\"d-flex\"\n *ngIf=\"hasLegend()\"\n [ngClass]=\"[\n legendShouldBeAlignedRight() ? 'legend scrollable' : 'legend-bottom'\n ]\"\n >\n <nui-legend\n class=\"m-auto\"\n [active]=\"chartAssist.isLegendActive\"\n [interactive]=\"true\"\n [orientation]=\"\n legendShouldBeAlignedRight() ? 'vertical' : 'horizontal'\n \"\n >\n <nui-legend-series\n class=\"xy-chart__legend-series\"\n [ngClass]=\"\n 'xy-chart__legend-series--state-' +\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n *ngFor=\"\n let legendSeries of chartAssist.legendSeriesSet;\n trackBy: chartAssist.seriesTrackByFn\n \"\n [isSelected]=\"!chartAssist.isSeriesHidden(legendSeries.id)\"\n (isSelectedChange)=\"\n chartAssist.toggleSeries(legendSeries.id, $event)\n \"\n (mouseenter)=\"chartAssist.emphasizeSeries(legendSeries.id)\"\n (mouseleave)=\"chartAssist.resetVisibleSeries()\"\n [seriesRenderState]=\"\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n >\n <nui-rich-legend-tile\n [value]=\"\n chartAssist.getHighlightedValue(\n legendSeries,\n 'y',\n 'tick',\n valueAccessorKey\n )\n \"\n [backgroundColor]=\"\n chartAssist.palette.standardColors.get(legendSeries.id)\n \"\n [color]=\"\n chartAssist.palette.textColors.get(legendSeries.id)\n \"\n >\n <nui-chart-marker\n rightEdge\n [marker]=\"chartAssist.markers.get(legendSeries.id)\"\n [color]=\"\n chartAssist.palette.standardColors.get(\n legendSeries.id\n )\n \"\n >\n </nui-chart-marker>\n </nui-rich-legend-tile>\n <div\n description\n class=\"description-container d-flex flex-column nui-text-small justify-content-center\"\n >\n <div\n *ngIf=\"!legendSeries.link\"\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n (click)=\"onPrimaryDescClick($event, legendSeries)\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </div>\n <a\n class=\"description description-primary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"legendSeries.link\"\n [href]=\"legendSeries.link\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </a>\n <div\n class=\"description description-secondary\"\n *ngIf=\"!legendSeries.secondaryLink\"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </div>\n <a\n class=\"description description-secondary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"legendSeries.secondaryLink\"\n [href]=\"legendSeries.secondaryLink\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </a>\n </div>\n </nui-legend-series>\n </nui-legend>\n </div>\n</div>\n", styles: [".xy-chart__legend-series .link.description-primary,.xy-chart__legend-series .link.description-secondary{color:var(--nui-color-text-link,#0079aa)}.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-primary,.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-secondary{color:var(--nui-color-text-default,#111)}\n"], components: [{ type: i2.ChartComponent, selector: "nui-chart", inputs: ["chart"] }, { type: i2.LegendComponent, selector: "nui-legend", inputs: ["active", "interactive", "orientation", "seriesColor", "seriesIcon", "seriesUnitLabel"] }, { type: i2.LegendSeriesComponent, selector: "nui-legend-series", inputs: ["active", "interactive", "isSelected", "descriptionPrimary", "descriptionSecondary", "icon", "color", "seriesRenderState"], outputs: ["isSelectedChange"] }, { type: i2.RichLegendTileComponent, selector: "nui-rich-legend-tile", inputs: ["unitLabel", "value", "backgroundColor", "color"] }, { type: i2.ChartMarkerComponent, selector: "nui-chart-marker", inputs: ["marker", "drawLine", "color", "maxSize"] }], directives: [{ type: i2.ChartCollectionIdDirective, selector: "[nuiChartCollectionId]", inputs: ["nuiChartCollectionId"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
50
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LineChartComponent, decorators: [{
51
+ type: Component,
52
+ args: [{ selector: "nui-line-chart", template: "<div class=\"nui-chart-layout h-100 px-3 py-3\">\n <div class=\"axis-label-left nui-text-small\">\n <strong>{{ configuration.leftAxisLabel }}</strong>\n </div>\n <div class=\"chart\">\n <nui-chart\n [nuiChartCollectionId]=\"collectionId\"\n class=\"w-100\"\n [chart]=\"chartAssist.chart\"\n ></nui-chart>\n </div>\n <div\n class=\"d-flex\"\n *ngIf=\"hasLegend()\"\n [ngClass]=\"[\n legendShouldBeAlignedRight() ? 'legend scrollable' : 'legend-bottom'\n ]\"\n >\n <nui-legend\n class=\"m-auto\"\n [active]=\"chartAssist.isLegendActive\"\n [interactive]=\"true\"\n [orientation]=\"\n legendShouldBeAlignedRight() ? 'vertical' : 'horizontal'\n \"\n >\n <nui-legend-series\n class=\"xy-chart__legend-series\"\n [ngClass]=\"\n 'xy-chart__legend-series--state-' +\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n *ngFor=\"\n let legendSeries of chartAssist.legendSeriesSet;\n trackBy: chartAssist.seriesTrackByFn\n \"\n [isSelected]=\"!chartAssist.isSeriesHidden(legendSeries.id)\"\n (isSelectedChange)=\"\n chartAssist.toggleSeries(legendSeries.id, $event)\n \"\n (mouseenter)=\"chartAssist.emphasizeSeries(legendSeries.id)\"\n (mouseleave)=\"chartAssist.resetVisibleSeries()\"\n [seriesRenderState]=\"\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n >\n <nui-rich-legend-tile\n [value]=\"\n chartAssist.getHighlightedValue(\n legendSeries,\n 'y',\n 'tick',\n valueAccessorKey\n )\n \"\n [backgroundColor]=\"\n chartAssist.palette.standardColors.get(legendSeries.id)\n \"\n [color]=\"\n chartAssist.palette.textColors.get(legendSeries.id)\n \"\n >\n <nui-chart-marker\n rightEdge\n [marker]=\"chartAssist.markers.get(legendSeries.id)\"\n [color]=\"\n chartAssist.palette.standardColors.get(\n legendSeries.id\n )\n \"\n >\n </nui-chart-marker>\n </nui-rich-legend-tile>\n <div\n description\n class=\"description-container d-flex flex-column nui-text-small justify-content-center\"\n >\n <div\n *ngIf=\"!legendSeries.link\"\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n (click)=\"onPrimaryDescClick($event, legendSeries)\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </div>\n <a\n class=\"description description-primary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"legendSeries.link\"\n [href]=\"legendSeries.link\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </a>\n <div\n class=\"description description-secondary\"\n *ngIf=\"!legendSeries.secondaryLink\"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </div>\n <a\n class=\"description description-secondary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"legendSeries.secondaryLink\"\n [href]=\"legendSeries.secondaryLink\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </a>\n </div>\n </nui-legend-series>\n </nui-legend>\n </div>\n</div>\n", styles: [".xy-chart__legend-series .link.description-primary,.xy-chart__legend-series .link.description-secondary{color:var(--nui-color-text-link,#0079aa)}.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-primary,.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-secondary{color:var(--nui-color-text-default,#111)}\n"] }]
53
+ }], ctorParameters: function () { return [{ type: i4.EventBus, decorators: [{
54
+ type: Inject,
55
+ args: [PIZZAGNA_EVENT_BUS]
56
+ }] }, { type: undefined, decorators: [{
57
+ type: Optional
58
+ }, {
59
+ type: Inject,
60
+ args: [DATA_SOURCE]
61
+ }] }, { type: i1.TimeseriesScalesService }, { type: i0.ChangeDetectorRef }]; } });
62
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGluZS1jaGFydC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGliL2NvbXBvbmVudHMvdGltZXNlcmllcy13aWRnZXQvY2hhcnQtcHJlc2V0cy94eS1jaGFydC9jaGFydC10eXBlcy9saW5lLWNoYXJ0LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9saWIvY29tcG9uZW50cy90aW1lc2VyaWVzLXdpZGdldC9jaGFydC1wcmVzZXRzL3h5L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ICAgICAgICAgICAgICAgIFtpc1NlbGVjdGVkXT1cIiFjaGFydEFzc2lzdC5pc1Nlcmllc0hpZGRlbihsZWdlbmRTZXJpZXMuaWQpXCJcbiAgICAgICAgICAgICAgICAoaXNTZWxlY3RlZENoYW5nZSk9XCJcbiAgICAgICAgICAgICAgICAgICAgY2hhcnRBc3Npc3QudG9nZ2xlU2VyaWVzKGxlZ2VuZFNlcmllcy5pZCwgJGV2ZW50KVxuICAgICAgICAgICAgICAgIFwiXG4gICAgICAgICAgICAgICAgKG1vdXNlZW50ZXIpPVwiY2hhcnRBc3Npc3QuZW1waGFzaXplU2VyaWVzKGxlZ2VuZFNlcmllcy5pZClcIlxuICAgICAgICAgICAgICAgIChtb3VzZWxlYXZlKT1cImNoYXJ0QXNzaXN0LnJlc2V0VmlzaWJsZVNlcmllcygpXCJcbiAgICAgICAgICAgICAgICBbc2VyaWVzUmVuZGVyU3RhdGVdPVwiXG4gICAgICAgICAgICAgICAgICAgIGNoYXJ0QXNzaXN0LnJlbmRlclN0YXRlc0luZGV4W2xlZ2VuZFNlcmllcy5pZF0/LnN0YXRlXG4gICAgICAgICAgICAgICAgXCJcbiAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICA8bnVpLXJpY2gtbGVnZW5kLXRpbGVcbiAgICAgICAgICAgICAgICAgICAgW3ZhbHVlXT1cIlxuICAgICAgICAgICAgICAgICAgICAgICAgY2hhcnRBc3Npc3QuZ2V0SGlnaGxpZ2h0ZWRWYWx1ZShcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZWdlbmRTZXJpZXMsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgJ3knLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICd0aWNrJyxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB2YWx1ZUFjY2Vzc29yS2V5XG4gICAgICAgICAgICAgICAgICAgICAgICApXG4gICAgICAgICAgICAgICAgICAgIFwiXG4gICAgICAgICAgICAgICAgICAgIFtiYWNrZ3JvdW5kQ29sb3JdPVwiXG4gICAgICAgICAgICAgICAgICAgICAgICBjaGFydEFzc2lzdC5wYWxldHRlLnN0YW5kYXJkQ29sb3JzLmdldChsZWdlbmRTZXJpZXMuaWQpXG4gICAgICAgICAgICAgICAgICAgIFwiXG4gICAgICAgICAgICAgICAgICAgIFtjb2xvcl09XCJcbiAgICAgICAgICAgICAgICAgICAgICAgIGNoYXJ0QXNzaXN0LnBhbGV0dGUudGV4dENvbG9ycy5nZXQobGVnZW5kU2VyaWVzLmlkKVxuICAgICAgICAgICAgICAgICAgICBcIlxuICAgICAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICAgICAgPG51aS1jaGFydC1tYXJrZXJcbiAgICAgICAgICAgICAgICAgICAgICAgIHJpZ2h0RWRnZVxuICAgICAgICAgICAgICAgICAgICAgICAgW21hcmtlcl09XCJjaGFydEFzc2lzdC5tYXJrZXJzLmdldChsZWdlbmRTZXJpZXMuaWQpXCJcbiAgICAgICAgICAgICAgICAgICAgICAgIFtjb2xvcl09XCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBjaGFydEFzc2lzdC5wYWxldHRlLnN0YW5kYXJkQ29sb3JzLmdldChcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbGVnZW5kU2VyaWVzLmlkXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgKVxuICAgICAgICAgICAgICAgICAgICAgICAgXCJcbiAgICAgICAgICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgICAgICA8L251aS1jaGFydC1tYXJrZXI+XG4gICAgICAgICAgICAgICAgPC9udWktcmljaC1sZWdlbmQtdGlsZT5cbiAgICAgICAgICAgICAgICA8ZGl2XG4gICAgICAgICAgICAgICAgICAgIGRlc2NyaXB0aW9uXG4gICAgICAgICAgICAgICAgICAgIGNsYXNzPVwiZGVzY3JpcHRpb24tY29udGFpbmVyIGQtZmxleCBmbGV4LWNvbHVtbiBudWktdGV4dC1zbWFsbCBqdXN0aWZ5LWNvbnRlbnQtY2VudGVyXCJcbiAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgIDxkaXZcbiAgICAgICAgICAgICAgICAgICAgICAgICpuZ0lmPVwiIWxlZ2VuZFNlcmllcy5saW5rXCJcbiAgICAgICAgICAgICAgICAgICAgICAgIGNsYXNzPVwiZGVzY3JpcHRpb24gZGVzY3JpcHRpb24tcHJpbWFyeVwiXG4gICAgICAgICAgICAgICAgICAgICAgICBbbmdDbGFzc109XCJ7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgJ251aS10ZXh0LWxpbmstc21hbGwgbGluayc6IHNlcmllc0ludGVyYWN0aXZlXG4gICAgICAgICAgICAgICAgICAgICAgICB9XCJcbiAgICAgICAgICAgICAgICAgICAgICAgIChjbGljayk9XCJvblByaW1hcnlEZXNjQ2xpY2soJGV2ZW50LCBsZWdlbmRTZXJpZXMpXCJcbiAgICAgICAgICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgICAgICAgICAge3sgbGVnZW5kU2VyaWVzLmxlZ2VuZERlc2NyaXB0aW9uUHJpbWFyeSB9fVxuICAgICAgICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgICAgICAgICAgPGFcbiAgICAgICAgICAgICAgICAgICAgICAgIGNsYXNzPVwiZGVzY3JpcHRpb24gZGVzY3JpcHRpb24tcHJpbWFyeSBudWktdGV4dC1saW5rLXNtYWxsIGxpbmtcIlxuICAgICAgICAgICAgICAgICAgICAgICAgKGNsaWNrKT1cIiRldmVudC5zdG9wUHJvcGFnYXRpb24oKVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAqbmdJZj1cImxlZ2VuZFNlcmllcy5saW5rXCJcbiAgICAgICAgICAgICAgICAgICAgICAgIFtocmVmXT1cImxlZ2VuZFNlcmllcy5saW5rXCJcbiAgICAgICAgICAgICAgICAgICAgICAgIHJlbD1cIm5vb3BlbmVyIG5vcmVmZXJyZXJcIlxuICAgICAgICAgICAgICAgICAgICAgICAgW3RpdGxlXT1cImxlZ2VuZFNlcmllcy5sZWdlbmREZXNjcmlwdGlvblByaW1hcnlcIlxuICAgICAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgICAgICB7eyBsZWdlbmRTZXJpZXMubGVnZW5kRGVzY3JpcHRpb25QcmltYXJ5IH19XG4gICAgICAgICAgICAgICAgICAgIDwvYT5cbiAgICAgICAgICAgICAgICAgICAgPGRpdlxuICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3M9XCJkZXNjcmlwdGlvbiBkZXNjcmlwdGlvbi1zZWNvbmRhcnlcIlxuICAgICAgICAgICAgICAgICAgICAgICAgKm5nSWY9XCIhbGVnZW5kU2VyaWVzLnNlY29uZGFyeUxpbmtcIlxuICAgICAgICAgICAgICAgICAgICAgICAgW3RpdGxlXT1cImxlZ2VuZFNlcmllcy5sZWdlbmREZXNjcmlwdGlvblNlY29uZGFyeVwiXG4gICAgICAgICAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICAgICAgICAgIHt7IGxlZ2VuZFNlcmllcy5sZWdlbmREZXNjcmlwdGlvblNlY29uZGFyeSB9fVxuICAgICAgICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgICAgICAgICAgPGFcbiAgICAgICAgICAgICAgICAgICAgICAgIGNsYXNzPVwiZGVzY3JpcHRpb24gZGVzY3JpcHRpb24tc2Vjb25kYXJ5IG51aS10ZXh0LWxpbmstc21hbGwgbGlua1wiXG4gICAgICAgICAgICAgICAgICAgICAgICAoY2xpY2spPVwiJGV2ZW50LnN0b3BQcm9wYWdhdGlvbigpXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICpuZ0lmPVwibGVnZW5kU2VyaWVzLnNlY29uZGFyeUxpbmtcIlxuICAgICAgICAgICAgICAgICAgICAgICAgW2hyZWZdPVwibGVnZW5kU2VyaWVzLnNlY29uZGFyeUxpbmtcIlxuICAgICAgICAgICAgICAgICAgICAgICAgcmVsPVwibm9vcGVuZXIgbm9yZWZlcnJlclwiXG4gICAgICAgICAgICAgICAgICAgICAgICBbdGl0bGVdPVwibGVnZW5kU2VyaWVzLmxlZ2VuZERlc2NyaXB0aW9uU2Vjb25kYXJ5XCJcbiAgICAgICAgICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgICAgICAgICAge3sgbGVnZW5kU2VyaWVzLmxlZ2VuZERlc2NyaXB0aW9uU2Vjb25kYXJ5IH19XG4gICAgICAgICAgICAgICAgICAgIDwvYT5cbiAgICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgIDwvbnVpLWxlZ2VuZC1zZXJpZXM+XG4gICAgICAgIDwvbnVpLWxlZ2VuZD5cbiAgICA8L2Rpdj5cbjwvZGl2PlxuIl19
@@ -0,0 +1,62 @@
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, Inject, Optional } from "@angular/core";
21
+ import { EventBus } from "@nova-ui/bits";
22
+ import { areaGrid, AreaRenderer, Chart, ChartAssist, stackedArea, stackedAreaAccessors, } from "@nova-ui/charts";
23
+ import { DATA_SOURCE, PIZZAGNA_EVENT_BUS } from "../../../../../types";
24
+ import { TimeseriesScalesService } from "../../../timeseries-scales.service";
25
+ import { XYChartComponent } from "../xy-chart.component";
26
+ import * as i0 from "@angular/core";
27
+ import * as i1 from "../../../timeseries-scales.service";
28
+ import * as i2 from "@nova-ui/charts";
29
+ import * as i3 from "@angular/common";
30
+ import * as i4 from "@nova-ui/bits";
31
+ export class StackedAreaChartComponent extends XYChartComponent {
32
+ constructor(eventBus, dataSource, timeseriesScalesService, changeDetector) {
33
+ super(eventBus, dataSource, timeseriesScalesService, changeDetector);
34
+ this.renderer = new AreaRenderer();
35
+ this.valueAccessorKey = "y1";
36
+ }
37
+ createAccessors(colorProvider) {
38
+ return stackedAreaAccessors(colorProvider);
39
+ }
40
+ createChartAssist(palette) {
41
+ const grid = areaGrid();
42
+ grid.config().axis.left.fit = true;
43
+ const chart = new Chart(grid);
44
+ return new ChartAssist(chart, stackedArea, palette);
45
+ }
46
+ }
47
+ StackedAreaChartComponent.lateLoadKey = "StackedAreaChartComponent";
48
+ /** @nocollapse */ StackedAreaChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: StackedAreaChartComponent, deps: [{ token: PIZZAGNA_EVENT_BUS }, { token: DATA_SOURCE, optional: true }, { token: i1.TimeseriesScalesService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
49
+ /** @nocollapse */ StackedAreaChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: StackedAreaChartComponent, selector: "nui-stacked-area-chart", usesInheritance: true, ngImport: i0, template: "<div class=\"nui-chart-layout h-100 px-3 py-3\">\n <div class=\"axis-label-left nui-text-small\">\n <strong>{{ configuration.leftAxisLabel }}</strong>\n </div>\n <div class=\"chart\">\n <nui-chart\n [nuiChartCollectionId]=\"collectionId\"\n class=\"w-100\"\n [chart]=\"chartAssist.chart\"\n ></nui-chart>\n </div>\n <div\n class=\"d-flex\"\n *ngIf=\"hasLegend()\"\n [ngClass]=\"[\n legendShouldBeAlignedRight() ? 'legend scrollable' : 'legend-bottom'\n ]\"\n >\n <nui-legend\n class=\"m-auto\"\n [active]=\"chartAssist.isLegendActive\"\n [interactive]=\"true\"\n [orientation]=\"\n legendShouldBeAlignedRight() ? 'vertical' : 'horizontal'\n \"\n >\n <nui-legend-series\n class=\"xy-chart__legend-series\"\n [ngClass]=\"\n 'xy-chart__legend-series--state-' +\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n *ngFor=\"\n let legendSeries of chartAssist.legendSeriesSet;\n trackBy: chartAssist.seriesTrackByFn\n \"\n [isSelected]=\"!chartAssist.isSeriesHidden(legendSeries.id)\"\n (isSelectedChange)=\"\n chartAssist.toggleSeries(legendSeries.id, $event)\n \"\n (mouseenter)=\"chartAssist.emphasizeSeries(legendSeries.id)\"\n (mouseleave)=\"chartAssist.resetVisibleSeries()\"\n [seriesRenderState]=\"\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n >\n <nui-rich-legend-tile\n [value]=\"\n chartAssist.getHighlightedValue(\n legendSeries,\n 'y',\n 'tick',\n valueAccessorKey\n )\n \"\n [backgroundColor]=\"\n chartAssist.palette.standardColors.get(legendSeries.id)\n \"\n [color]=\"\n chartAssist.palette.textColors.get(legendSeries.id)\n \"\n >\n <nui-chart-marker\n rightEdge\n [marker]=\"chartAssist.markers.get(legendSeries.id)\"\n [color]=\"\n chartAssist.palette.standardColors.get(\n legendSeries.id\n )\n \"\n >\n </nui-chart-marker>\n </nui-rich-legend-tile>\n <div\n description\n class=\"description-container d-flex flex-column nui-text-small justify-content-center\"\n >\n <div\n *ngIf=\"!legendSeries.link\"\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n (click)=\"onPrimaryDescClick($event, legendSeries)\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </div>\n <a\n class=\"description description-primary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"legendSeries.link\"\n [href]=\"legendSeries.link\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </a>\n <div\n class=\"description description-secondary\"\n *ngIf=\"!legendSeries.secondaryLink\"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </div>\n <a\n class=\"description description-secondary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"legendSeries.secondaryLink\"\n [href]=\"legendSeries.secondaryLink\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </a>\n </div>\n </nui-legend-series>\n </nui-legend>\n </div>\n</div>\n", styles: [".xy-chart__legend-series .link.description-primary,.xy-chart__legend-series .link.description-secondary{color:var(--nui-color-text-link,#0079aa)}.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-primary,.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-secondary{color:var(--nui-color-text-default,#111)}\n"], components: [{ type: i2.ChartComponent, selector: "nui-chart", inputs: ["chart"] }, { type: i2.LegendComponent, selector: "nui-legend", inputs: ["active", "interactive", "orientation", "seriesColor", "seriesIcon", "seriesUnitLabel"] }, { type: i2.LegendSeriesComponent, selector: "nui-legend-series", inputs: ["active", "interactive", "isSelected", "descriptionPrimary", "descriptionSecondary", "icon", "color", "seriesRenderState"], outputs: ["isSelectedChange"] }, { type: i2.RichLegendTileComponent, selector: "nui-rich-legend-tile", inputs: ["unitLabel", "value", "backgroundColor", "color"] }, { type: i2.ChartMarkerComponent, selector: "nui-chart-marker", inputs: ["marker", "drawLine", "color", "maxSize"] }], directives: [{ type: i2.ChartCollectionIdDirective, selector: "[nuiChartCollectionId]", inputs: ["nuiChartCollectionId"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
50
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: StackedAreaChartComponent, decorators: [{
51
+ type: Component,
52
+ args: [{ selector: "nui-stacked-area-chart", template: "<div class=\"nui-chart-layout h-100 px-3 py-3\">\n <div class=\"axis-label-left nui-text-small\">\n <strong>{{ configuration.leftAxisLabel }}</strong>\n </div>\n <div class=\"chart\">\n <nui-chart\n [nuiChartCollectionId]=\"collectionId\"\n class=\"w-100\"\n [chart]=\"chartAssist.chart\"\n ></nui-chart>\n </div>\n <div\n class=\"d-flex\"\n *ngIf=\"hasLegend()\"\n [ngClass]=\"[\n legendShouldBeAlignedRight() ? 'legend scrollable' : 'legend-bottom'\n ]\"\n >\n <nui-legend\n class=\"m-auto\"\n [active]=\"chartAssist.isLegendActive\"\n [interactive]=\"true\"\n [orientation]=\"\n legendShouldBeAlignedRight() ? 'vertical' : 'horizontal'\n \"\n >\n <nui-legend-series\n class=\"xy-chart__legend-series\"\n [ngClass]=\"\n 'xy-chart__legend-series--state-' +\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n *ngFor=\"\n let legendSeries of chartAssist.legendSeriesSet;\n trackBy: chartAssist.seriesTrackByFn\n \"\n [isSelected]=\"!chartAssist.isSeriesHidden(legendSeries.id)\"\n (isSelectedChange)=\"\n chartAssist.toggleSeries(legendSeries.id, $event)\n \"\n (mouseenter)=\"chartAssist.emphasizeSeries(legendSeries.id)\"\n (mouseleave)=\"chartAssist.resetVisibleSeries()\"\n [seriesRenderState]=\"\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n >\n <nui-rich-legend-tile\n [value]=\"\n chartAssist.getHighlightedValue(\n legendSeries,\n 'y',\n 'tick',\n valueAccessorKey\n )\n \"\n [backgroundColor]=\"\n chartAssist.palette.standardColors.get(legendSeries.id)\n \"\n [color]=\"\n chartAssist.palette.textColors.get(legendSeries.id)\n \"\n >\n <nui-chart-marker\n rightEdge\n [marker]=\"chartAssist.markers.get(legendSeries.id)\"\n [color]=\"\n chartAssist.palette.standardColors.get(\n legendSeries.id\n )\n \"\n >\n </nui-chart-marker>\n </nui-rich-legend-tile>\n <div\n description\n class=\"description-container d-flex flex-column nui-text-small justify-content-center\"\n >\n <div\n *ngIf=\"!legendSeries.link\"\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n (click)=\"onPrimaryDescClick($event, legendSeries)\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </div>\n <a\n class=\"description description-primary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"legendSeries.link\"\n [href]=\"legendSeries.link\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </a>\n <div\n class=\"description description-secondary\"\n *ngIf=\"!legendSeries.secondaryLink\"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </div>\n <a\n class=\"description description-secondary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"legendSeries.secondaryLink\"\n [href]=\"legendSeries.secondaryLink\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </a>\n </div>\n </nui-legend-series>\n </nui-legend>\n </div>\n</div>\n", styles: [".xy-chart__legend-series .link.description-primary,.xy-chart__legend-series .link.description-secondary{color:var(--nui-color-text-link,#0079aa)}.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-primary,.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-secondary{color:var(--nui-color-text-default,#111)}\n"] }]
53
+ }], ctorParameters: function () { return [{ type: i4.EventBus, decorators: [{
54
+ type: Inject,
55
+ args: [PIZZAGNA_EVENT_BUS]
56
+ }] }, { type: undefined, decorators: [{
57
+ type: Optional
58
+ }, {
59
+ type: Inject,
60
+ args: [DATA_SOURCE]
61
+ }] }, { type: i1.TimeseriesScalesService }, { type: i0.ChangeDetectorRef }]; } });
62
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RhY2tlZC1hcmVhLWNoYXJ0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9saWIvY29tcG9uZW50cy90aW1lc2VyaWVzLXdpZGdldC9jaGFydC1wcmVzZXRzL3h5LWNoYXJ0L2NoYXJ0LXR5cGVzL3N0YWNrZWQtYXJlYS1jaGFydC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGliL2NvbXBvbmVudHMvdGltZXNlcmllcy13aWRnZXQvY2hhcnQtcHJlc2V0cy94eS1jaGFydC94eS1jaGFydC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSx5REFBeUQ7QUFDekQsRUFBRTtBQUNGLCtFQUErRTtBQUMvRSw0RUFBNEU7QUFDNUUsOEVBQThFO0FBQzlFLCtFQUErRTtBQUMvRSw4RUFBOEU7QUFDOUUsNERBQTREO0FBQzVELEVBQUU7QUFDRiw2RUFBNkU7QUFDN0UsdURBQXVEO0FBQ3ZELEVBQUU7QUFDRiw2RUFBNkU7QUFDN0UsNEVBQTRFO0FBQzVFLCtFQUErRTtBQU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CJcbiAgICAgICAgICAgIFtvcmllbnRhdGlvbl09XCJcbiAgICAgICAgICAgICAgICBsZWdlbmRTaG91bGRCZUFsaWduZWRSaWdodCgpID8gJ3ZlcnRpY2FsJyA6ICdob3Jpem9udGFsJ1xuICAgICAgICAgICAgXCJcbiAgICAgICAgPlxuICAgICAgICAgICAgPG51aS1sZWdlbmQtc2VyaWVzXG4gICAgICAgICAgICAgICAgY2xhc3M9XCJ4eS1jaGFydF9fbGVnZW5kLXNlcmllc1wiXG4gICAgICAgICAgICAgICAgW25nQ2xhc3NdPVwiXG4gICAgICAgICAgICAgICAgICAgICd4eS1jaGFydF9fbGVnZW5kLXNlcmllcy0tc3RhdGUtJyArXG4gICAgICAgICAgICAgICAgICAgIGNoYXJ0QXNzaXN0LnJlbmRlclN0YXRlc0luZGV4W2xlZ2VuZFNlcmllcy5pZF0/LnN0YXRlXG4gICAgICAgICAgICAgICAgXCJcbiAgICAgICAgICAgICAgICAqbmdGb3I9XCJcbiAgICAgICAgICAgICAgICAgICAgbGV0IGxlZ2VuZFNlcmllcyBvZiBjaGFydEFzc2lzdC5sZWdlbmRTZXJpZXNTZXQ7XG4gICAgICAgICAgICAgICAgICAgIHRyYWNrQnk6IGNoYXJ0QXNzaXN0LnNlcmllc1RyYWNrQnlGblxuICAgICAgICAgICAgICAgIFwiXG4gICAgICAgICAgICAgICAgW2lzU2VsZWN0ZWRdPVwiIWNoYXJ0QXNzaXN0LmlzU2VyaWVzSGlkZGVuKGxlZ2VuZFNlcmllcy5pZClcIlxuICAgICAgICAgICAgICAgIChpc1NlbGVjdGVkQ2hhbmdlKT1cIlxuICAgICAgICAgICAgICAgICAgICBjaGFydEFzc2lzdC50b2dnbGVTZXJpZXMobGVnZW5kU2VyaWVzLmlkLCAkZXZlbnQpXG4gICAgICAgICAgICAgICAgXCJcbiAgICAgICAgICAgICAgICAobW91c2VlbnRlcik9XCJjaGFydEFzc2lzdC5lbXBoYXNpemVTZXJpZXMobGVnZW5kU2VyaWVzLmlkKVwiXG4gICAgICAgICAgICAgICAgKG1vdXNlbGVhdmUpPVwiY2hhcnRBc3Npc3QucmVzZXRWaXNpYmxlU2VyaWVzKClcIlxuICAgICAgICAgICAgICAgIFtzZXJpZXNSZW5kZXJTdGF0ZV09XCJcbiAgICAgICAgICAgICAgICAgICAgY2hhcnRBc3Npc3QucmVuZGVyU3RhdGVzSW5kZXhbbGVnZW5kU2VyaWVzLmlkXT8uc3RhdGVcbiAgICAgICAgICAgICAgICBcIlxuICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgIDxudWktcmljaC1sZWdlbmQtdGlsZVxuICAgICAgICAgICAgICAgICAgICBbdmFsdWVdPVwiXG4gICAgICAgICAgICAgICAgICAgICAgICBjaGFydEFzc2lzdC5nZXRIaWdobGlnaHRlZFZhbHVlKFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxlZ2VuZFNlcmllcyxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAneScsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgJ3RpY2snLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHZhbHVlQWNjZXNzb3JLZXlcbiAgICAgICAgICAgICAgICAgICAgICAgIClcbiAgICAgICAgICAgICAgICAgICAgXCJcbiAgICAgICAgICAgICAgICAgICAgW2JhY2tncm91bmRDb2xvcl09XCJcbiAgICAgICAgICAgICAgICAgICAgICAgIGNoYXJ0QXNzaXN0LnBhbGV0dGUuc3RhbmRhcmRDb2xvcnMuZ2V0KGxlZ2VuZFNlcmllcy5pZClcbiAgICAgICAgICAgICAgICAgICAgXCJcbiAgICAgICAgICAgICAgICAgICAgW2NvbG9yXT1cIlxuICAgICAgICAgICAgICAgICAgICAgICAgY2hhcnRBc3Npc3QucGFsZXR0ZS50ZXh0Q29sb3JzLmdldChsZWdlbmRTZXJpZXMuaWQpXG4gICAgICAgICAgICAgICAgICAgIFwiXG4gICAgICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgICAgICA8bnVpLWNoYXJ0LW1hcmtlclxuICAgICAgICAgICAgICAgICAgICAgICAgcmlnaHRFZGdlXG4gICAgICAgICAgICAgICAgICAgICAgICBbbWFya2VyXT1cImNoYXJ0QXNzaXN0Lm1hcmtlcnMuZ2V0KGxlZ2VuZFNlcmllcy5pZClcIlxuICAgICAgICAgICAgICAgICAgICAgICAgW2NvbG9yXT1cIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNoYXJ0QXNzaXN0LnBhbGV0dGUuc3RhbmRhcmRDb2xvcnMuZ2V0KFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZWdlbmRTZXJpZXMuaWRcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICApXG4gICAgICAgICAgICAgICAgICAgICAgICBcIlxuICAgICAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgIDwvbnVpLWNoYXJ0LW1hcmtlcj5cbiAgICAgICAgICAgICAgICA8L251aS1yaWNoLWxlZ2VuZC10aWxlPlxuICAgICAgICAgICAgICAgIDxkaXZcbiAgICAgICAgICAgICAgICAgICAgZGVzY3JpcHRpb25cbiAgICAgICAgICAgICAgICAgICAgY2xhc3M9XCJkZXNjcmlwdGlvbi1jb250YWluZXIgZC1mbGV4IGZsZXgtY29sdW1uIG51aS10ZXh0LXNtYWxsIGp1c3RpZnktY29udGVudC1jZW50ZXJcIlxuICAgICAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICAgICAgPGRpdlxuICAgICAgICAgICAgICAgICAgICAgICAgKm5nSWY9XCIhbGVnZW5kU2VyaWVzLmxpbmtcIlxuICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3M9XCJkZXNjcmlwdGlvbiBkZXNjcmlwdGlvbi1wcmltYXJ5XCJcbiAgICAgICAgICAgICAgICAgICAgICAgIFtuZ0NsYXNzXT1cIntcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAnbnVpLXRleHQtbGluay1zbWFsbCBsaW5rJzogc2VyaWVzSW50ZXJhY3RpdmVcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cIlxuICAgICAgICAgICAgICAgICAgICAgICAgKGNsaWNrKT1cIm9uUHJpbWFyeURlc2NDbGljaygkZXZlbnQsIGxlZ2VuZFNlcmllcylcIlxuICAgICAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgICAgICB7eyBsZWdlbmRTZXJpZXMubGVnZW5kRGVzY3JpcHRpb25QcmltYXJ5IH19XG4gICAgICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgICAgICAgICA8YVxuICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3M9XCJkZXNjcmlwdGlvbiBkZXNjcmlwdGlvbi1wcmltYXJ5IG51aS10ZXh0LWxpbmstc21hbGwgbGlua1wiXG4gICAgICAgICAgICAgICAgICAgICAgICAoY2xpY2spPVwiJGV2ZW50LnN0b3BQcm9wYWdhdGlvbigpXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICpuZ0lmPVwibGVnZW5kU2VyaWVzLmxpbmtcIlxuICAgICAgICAgICAgICAgICAgICAgICAgW2hyZWZdPVwibGVnZW5kU2VyaWVzLmxpbmtcIlxuICAgICAgICAgICAgICAgICAgICAgICAgcmVsPVwibm9vcGVuZXIgbm9yZWZlcnJlclwiXG4gICAgICAgICAgICAgICAgICAgICAgICBbdGl0bGVdPVwibGVnZW5kU2VyaWVzLmxlZ2VuZERlc2NyaXB0aW9uUHJpbWFyeVwiXG4gICAgICAgICAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICAgICAgICAgIHt7IGxlZ2VuZFNlcmllcy5sZWdlbmREZXNjcmlwdGlvblByaW1hcnkgfX1cbiAgICAgICAgICAgICAgICAgICAgPC9hPlxuICAgICAgICAgICAgICAgICAgICA8ZGl2XG4gICAgICAgICAgICAgICAgICAgICAgICBjbGFzcz1cImRlc2NyaXB0aW9uIGRlc2NyaXB0aW9uLXNlY29uZGFyeVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAqbmdJZj1cIiFsZWdlbmRTZXJpZXMuc2Vjb25kYXJ5TGlua1wiXG4gICAgICAgICAgICAgICAgICAgICAgICBbdGl0bGVdPVwibGVnZW5kU2VyaWVzLmxlZ2VuZERlc2NyaXB0aW9uU2Vjb25kYXJ5XCJcbiAgICAgICAgICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgICAgICAgICAge3sgbGVnZW5kU2VyaWVzLmxlZ2VuZERlc2NyaXB0aW9uU2Vjb25kYXJ5IH19XG4gICAgICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgICAgICAgICA8YVxuICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3M9XCJkZXNjcmlwdGlvbiBkZXNjcmlwdGlvbi1zZWNvbmRhcnkgbnVpLXRleHQtbGluay1zbWFsbCBsaW5rXCJcbiAgICAgICAgICAgICAgICAgICAgICAgIChjbGljayk9XCIkZXZlbnQuc3RvcFByb3BhZ2F0aW9uKClcIlxuICAgICAgICAgICAgICAgICAgICAgICAgKm5nSWY9XCJsZWdlbmRTZXJpZXMuc2Vjb25kYXJ5TGlua1wiXG4gICAgICAgICAgICAgICAgICAgICAgICBbaHJlZl09XCJsZWdlbmRTZXJpZXMuc2Vjb25kYXJ5TGlua1wiXG4gICAgICAgICAgICAgICAgICAgICAgICByZWw9XCJub29wZW5lciBub3JlZmVycmVyXCJcbiAgICAgICAgICAgICAgICAgICAgICAgIFt0aXRsZV09XCJsZWdlbmRTZXJpZXMubGVnZW5kRGVzY3JpcHRpb25TZWNvbmRhcnlcIlxuICAgICAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgICAgICB7eyBsZWdlbmRTZXJpZXMubGVnZW5kRGVzY3JpcHRpb25TZWNvbmRhcnkgfX1cbiAgICAgICAgICAgICAgICAgICAgPC9hPlxuICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgPC9udWktbGVnZW5kLXNlcmllcz5cbiAgICAgICAgPC9udWktbGVnZW5kPlxuICAgIDwvZGl2PlxuPC9kaXY+XG4iXX0=
@@ -0,0 +1,79 @@
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, Inject, Optional } from "@angular/core";
21
+ import { EventBus } from "@nova-ui/bits";
22
+ import { barAccessors, barGrid, BarHighlightStrategy, BarRenderer, Chart, ChartAssist, InteractionLabelPlugin, stack, TimeIntervalScale, } from "@nova-ui/charts";
23
+ import { DATA_SOURCE, PIZZAGNA_EVENT_BUS } from "../../../../../types";
24
+ import { TimeseriesScalesService } from "../../../timeseries-scales.service";
25
+ import { XYChartComponent } from "../xy-chart.component";
26
+ import * as i0 from "@angular/core";
27
+ import * as i1 from "../../../timeseries-scales.service";
28
+ import * as i2 from "@nova-ui/charts";
29
+ import * as i3 from "@angular/common";
30
+ import * as i4 from "@nova-ui/bits";
31
+ export class StackedBarChartComponent extends XYChartComponent {
32
+ constructor(eventBus, dataSource, timeseriesScalesService, changeDetector) {
33
+ super(eventBus, dataSource, timeseriesScalesService, changeDetector);
34
+ this.valueAccessorKey = "value";
35
+ // disable pointer events on bars to ensure the zoom drag target is the mouse interactive area rather than the bars
36
+ this.renderer = new BarRenderer({
37
+ highlightStrategy: new BarHighlightStrategy("x"),
38
+ pointerEvents: false,
39
+ });
40
+ }
41
+ mapSeriesSet(data, scales) {
42
+ if (scales.x instanceof TimeIntervalScale) {
43
+ // @ts-ignore
44
+ this.accessors.data.thickness = undefined; // allow the renderer to calculate thickness
45
+ }
46
+ else {
47
+ // @ts-ignore
48
+ this.accessors.data.thickness = () => 5; // arbitrary constant value
49
+ }
50
+ return super.mapSeriesSet(data, scales);
51
+ }
52
+ createAccessors(colorProvider) {
53
+ const accessors = barAccessors({ horizontal: false }, colorProvider);
54
+ accessors.data.category = (d) => d.x;
55
+ accessors.data.value = (d) => d.y;
56
+ return accessors;
57
+ }
58
+ createChartAssist(palette) {
59
+ const chart = new Chart(barGrid());
60
+ chart.addPlugin(new InteractionLabelPlugin());
61
+ return new ChartAssist(chart, stack, palette);
62
+ }
63
+ }
64
+ StackedBarChartComponent.lateLoadKey = "StackedBarChartComponent";
65
+ /** @nocollapse */ StackedBarChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: StackedBarChartComponent, deps: [{ token: PIZZAGNA_EVENT_BUS }, { token: DATA_SOURCE, optional: true }, { token: i1.TimeseriesScalesService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
66
+ /** @nocollapse */ StackedBarChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: StackedBarChartComponent, selector: "nui-stacked-bar-chart", usesInheritance: true, ngImport: i0, template: "<div class=\"nui-chart-layout h-100 px-3 py-3\">\n <div class=\"axis-label-left nui-text-small\">\n <strong>{{ configuration.leftAxisLabel }}</strong>\n </div>\n <div class=\"chart\">\n <nui-chart\n [nuiChartCollectionId]=\"collectionId\"\n class=\"w-100\"\n [chart]=\"chartAssist.chart\"\n ></nui-chart>\n </div>\n <div\n class=\"d-flex\"\n *ngIf=\"hasLegend()\"\n [ngClass]=\"[\n legendShouldBeAlignedRight() ? 'legend scrollable' : 'legend-bottom'\n ]\"\n >\n <nui-legend\n class=\"m-auto\"\n [active]=\"chartAssist.isLegendActive\"\n [interactive]=\"true\"\n [orientation]=\"\n legendShouldBeAlignedRight() ? 'vertical' : 'horizontal'\n \"\n >\n <nui-legend-series\n class=\"xy-chart__legend-series\"\n [ngClass]=\"\n 'xy-chart__legend-series--state-' +\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n *ngFor=\"\n let legendSeries of chartAssist.legendSeriesSet;\n trackBy: chartAssist.seriesTrackByFn\n \"\n [isSelected]=\"!chartAssist.isSeriesHidden(legendSeries.id)\"\n (isSelectedChange)=\"\n chartAssist.toggleSeries(legendSeries.id, $event)\n \"\n (mouseenter)=\"chartAssist.emphasizeSeries(legendSeries.id)\"\n (mouseleave)=\"chartAssist.resetVisibleSeries()\"\n [seriesRenderState]=\"\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n >\n <nui-rich-legend-tile\n [value]=\"\n chartAssist.getHighlightedValue(\n legendSeries,\n 'y',\n 'tick',\n valueAccessorKey\n )\n \"\n [backgroundColor]=\"\n chartAssist.palette.standardColors.get(legendSeries.id)\n \"\n [color]=\"\n chartAssist.palette.textColors.get(legendSeries.id)\n \"\n >\n <nui-chart-marker\n rightEdge\n [marker]=\"chartAssist.markers.get(legendSeries.id)\"\n [color]=\"\n chartAssist.palette.standardColors.get(\n legendSeries.id\n )\n \"\n >\n </nui-chart-marker>\n </nui-rich-legend-tile>\n <div\n description\n class=\"description-container d-flex flex-column nui-text-small justify-content-center\"\n >\n <div\n *ngIf=\"!legendSeries.link\"\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n (click)=\"onPrimaryDescClick($event, legendSeries)\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </div>\n <a\n class=\"description description-primary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"legendSeries.link\"\n [href]=\"legendSeries.link\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </a>\n <div\n class=\"description description-secondary\"\n *ngIf=\"!legendSeries.secondaryLink\"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </div>\n <a\n class=\"description description-secondary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"legendSeries.secondaryLink\"\n [href]=\"legendSeries.secondaryLink\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </a>\n </div>\n </nui-legend-series>\n </nui-legend>\n </div>\n</div>\n", styles: [".xy-chart__legend-series .link.description-primary,.xy-chart__legend-series .link.description-secondary{color:var(--nui-color-text-link,#0079aa)}.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-primary,.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-secondary{color:var(--nui-color-text-default,#111)}\n"], components: [{ type: i2.ChartComponent, selector: "nui-chart", inputs: ["chart"] }, { type: i2.LegendComponent, selector: "nui-legend", inputs: ["active", "interactive", "orientation", "seriesColor", "seriesIcon", "seriesUnitLabel"] }, { type: i2.LegendSeriesComponent, selector: "nui-legend-series", inputs: ["active", "interactive", "isSelected", "descriptionPrimary", "descriptionSecondary", "icon", "color", "seriesRenderState"], outputs: ["isSelectedChange"] }, { type: i2.RichLegendTileComponent, selector: "nui-rich-legend-tile", inputs: ["unitLabel", "value", "backgroundColor", "color"] }, { type: i2.ChartMarkerComponent, selector: "nui-chart-marker", inputs: ["marker", "drawLine", "color", "maxSize"] }], directives: [{ type: i2.ChartCollectionIdDirective, selector: "[nuiChartCollectionId]", inputs: ["nuiChartCollectionId"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
67
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: StackedBarChartComponent, decorators: [{
68
+ type: Component,
69
+ args: [{ selector: "nui-stacked-bar-chart", template: "<div class=\"nui-chart-layout h-100 px-3 py-3\">\n <div class=\"axis-label-left nui-text-small\">\n <strong>{{ configuration.leftAxisLabel }}</strong>\n </div>\n <div class=\"chart\">\n <nui-chart\n [nuiChartCollectionId]=\"collectionId\"\n class=\"w-100\"\n [chart]=\"chartAssist.chart\"\n ></nui-chart>\n </div>\n <div\n class=\"d-flex\"\n *ngIf=\"hasLegend()\"\n [ngClass]=\"[\n legendShouldBeAlignedRight() ? 'legend scrollable' : 'legend-bottom'\n ]\"\n >\n <nui-legend\n class=\"m-auto\"\n [active]=\"chartAssist.isLegendActive\"\n [interactive]=\"true\"\n [orientation]=\"\n legendShouldBeAlignedRight() ? 'vertical' : 'horizontal'\n \"\n >\n <nui-legend-series\n class=\"xy-chart__legend-series\"\n [ngClass]=\"\n 'xy-chart__legend-series--state-' +\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n *ngFor=\"\n let legendSeries of chartAssist.legendSeriesSet;\n trackBy: chartAssist.seriesTrackByFn\n \"\n [isSelected]=\"!chartAssist.isSeriesHidden(legendSeries.id)\"\n (isSelectedChange)=\"\n chartAssist.toggleSeries(legendSeries.id, $event)\n \"\n (mouseenter)=\"chartAssist.emphasizeSeries(legendSeries.id)\"\n (mouseleave)=\"chartAssist.resetVisibleSeries()\"\n [seriesRenderState]=\"\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n >\n <nui-rich-legend-tile\n [value]=\"\n chartAssist.getHighlightedValue(\n legendSeries,\n 'y',\n 'tick',\n valueAccessorKey\n )\n \"\n [backgroundColor]=\"\n chartAssist.palette.standardColors.get(legendSeries.id)\n \"\n [color]=\"\n chartAssist.palette.textColors.get(legendSeries.id)\n \"\n >\n <nui-chart-marker\n rightEdge\n [marker]=\"chartAssist.markers.get(legendSeries.id)\"\n [color]=\"\n chartAssist.palette.standardColors.get(\n legendSeries.id\n )\n \"\n >\n </nui-chart-marker>\n </nui-rich-legend-tile>\n <div\n description\n class=\"description-container d-flex flex-column nui-text-small justify-content-center\"\n >\n <div\n *ngIf=\"!legendSeries.link\"\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n (click)=\"onPrimaryDescClick($event, legendSeries)\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </div>\n <a\n class=\"description description-primary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"legendSeries.link\"\n [href]=\"legendSeries.link\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </a>\n <div\n class=\"description description-secondary\"\n *ngIf=\"!legendSeries.secondaryLink\"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </div>\n <a\n class=\"description description-secondary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"legendSeries.secondaryLink\"\n [href]=\"legendSeries.secondaryLink\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </a>\n </div>\n </nui-legend-series>\n </nui-legend>\n </div>\n</div>\n", styles: [".xy-chart__legend-series .link.description-primary,.xy-chart__legend-series .link.description-secondary{color:var(--nui-color-text-link,#0079aa)}.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-primary,.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-secondary{color:var(--nui-color-text-default,#111)}\n"] }]
70
+ }], ctorParameters: function () { return [{ type: i4.EventBus, decorators: [{
71
+ type: Inject,
72
+ args: [PIZZAGNA_EVENT_BUS]
73
+ }] }, { type: undefined, decorators: [{
74
+ type: Optional
75
+ }, {
76
+ type: Inject,
77
+ args: [DATA_SOURCE]
78
+ }] }, { type: i1.TimeseriesScalesService }, { type: i0.ChangeDetectorRef }]; } });
79
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RhY2tlZC1iYXItY2hhcnQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2xpYi9jb21wb25lbnRzL3RpbWVzZXJpZXMtd2lkZ2V0L2NoYXJ0LXByZXNldHMveHktY2hhcnQvY2hhcnQtdHlwZXMvc3RhY2tlZC1iYXItY2hhcnQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2xpYi9jb21wb25lbnRzL3RpbWVzZXJpZXMtd2lkZ2V0L2NoYXJ0LXByZXNldHMveHktY2hhcnQveHktY2hhcnQuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEseURBQXlEO0FBQ3pELEVBQUU7QUFDRiwrRUFBK0U7QUFDL0UsNEVBQTRFO0FBQzVFLDhFQUE4RTtBQUM5RSwrRUFBK0U7QUFDL0UsOEVBQThFO0FBQzlFLDREQUE0RDtBQUM1RCxFQUFFO0FBQ0YsNkVBQTZFO0FBQzdFLHVEQUF1RDtBQUN2RCxFQUFFO0FBQ0YsNkVBQTZFO0FBQzdFLDRFQUE0RTtBQUM1RSwrRUFBK0U7QUFD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AgICAgICAgICAgICAgICBsZWdlbmRTaG91bGRCZUFsaWduZWRSaWdodCgpID8gJ3ZlcnRpY2FsJyA6ICdob3Jpem9udGFsJ1xuICAgICAgICAgICAgXCJcbiAgICAgICAgPlxuICAgICAgICAgICAgPG51aS1sZWdlbmQtc2VyaWVzXG4gICAgICAgICAgICAgICAgY2xhc3M9XCJ4eS1jaGFydF9fbGVnZW5kLXNlcmllc1wiXG4gICAgICAgICAgICAgICAgW25nQ2xhc3NdPVwiXG4gICAgICAgICAgICAgICAgICAgICd4eS1jaGFydF9fbGVnZW5kLXNlcmllcy0tc3RhdGUtJyArXG4gICAgICAgICAgICAgICAgICAgIGNoYXJ0QXNzaXN0LnJlbmRlclN0YXRlc0luZGV4W2xlZ2VuZFNlcmllcy5pZF0/LnN0YXRlXG4gICAgICAgICAgICAgICAgXCJcbiAgICAgICAgICAgICAgICAqbmdGb3I9XCJcbiAgICAgICAgICAgICAgICAgICAgbGV0IGxlZ2VuZFNlcmllcyBvZiBjaGFydEFzc2lzdC5sZWdlbmRTZXJpZXNTZXQ7XG4gICAgICAgICAgICAgICAgICAgIHRyYWNrQnk6IGNoYXJ0QXNzaXN0LnNlcmllc1RyYWNrQnlGblxuICAgICAgICAgICAgICAgIFwiXG4gICAgICAgICAgICAgICAgW2lzU2VsZWN0ZWRdPVwiIWNoYXJ0QXNzaXN0LmlzU2VyaWVzSGlkZGVuKGxlZ2VuZFNlcmllcy5pZClcIlxuICAgICAgICAgICAgICAgIChpc1NlbGVjdGVkQ2hhbmdlKT1cIlxuICAgICAgICAgICAgICAgICAgICBjaGFydEFzc2lzdC50b2dnbGVTZXJpZXMobGVnZW5kU2VyaWVzLmlkLCAkZXZlbnQpXG4gICAgICAgICAgICAgICAgXCJcbiAgICAgICAgICAgICAgICAobW91c2VlbnRlcik9XCJjaGFydEFzc2lzdC5lbXBoYXNpemVTZXJpZXMobGVnZW5kU2VyaWVzLmlkKVwiXG4gICAgICAgICAgICAgICAgKG1vdXNlbGVhdmUpPVwiY2hhcnRBc3Npc3QucmVzZXRWaXNpYmxlU2VyaWVzKClcIlxuICAgICAgICAgICAgICAgIFtzZXJpZXNSZW5kZXJTdGF0ZV09XCJcbiAgICAgICAgICAgICAgICAgICAgY2hhcnRBc3Npc3QucmVuZGVyU3RhdGVzSW5kZXhbbGVnZW5kU2VyaWVzLmlkXT8uc3RhdGVcbiAgICAgICAgICAgICAgICBcIlxuICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgIDxudWktcmljaC1sZWdlbmQtdGlsZVxuICAgICAgICAgICAgICAgICAgICBbdmFsdWVdPVwiXG4gICAgICAgICAgICAgICAgICAgICAgICBjaGFydEFzc2lzdC5nZXRIaWdobGlnaHRlZFZhbHVlKFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxlZ2VuZFNlcmllcyxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAneScsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgJ3RpY2snLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHZhbHVlQWNjZXNzb3JLZXlcbiAgICAgICAgICAgICAgICAgICAgICAgIClcbiAgICAgICAgICAgICAgICAgICAgXCJcbiAgICAgICAgICAgICAgICAgICAgW2JhY2tncm91bmRDb2xvcl09XCJcbiAgICAgICAgICAgICAgICAgICAgICAgIGNoYXJ0QXNzaXN0LnBhbGV0dGUuc3RhbmRhcmRDb2xvcnMuZ2V0KGxlZ2VuZFNlcmllcy5pZClcbiAgICAgICAgICAgICAgICAgICAgXCJcbiAgICAgICAgICAgICAgICAgICAgW2NvbG9yXT1cIlxuICAgICAgICAgICAgICAgICAgICAgICAgY2hhcnRBc3Npc3QucGFsZXR0ZS50ZXh0Q29sb3JzLmdldChsZWdlbmRTZXJpZXMuaWQpXG4gICAgICAgICAgICAgICAgICAgIFwiXG4gICAgICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgICAgICA8bnVpLWNoYXJ0LW1hcmtlclxuICAgICAgICAgICAgICAgICAgICAgICAgcmlnaHRFZGdlXG4gICAgICAgICAgICAgICAgICAgICAgICBbbWFya2VyXT1cImNoYXJ0QXNzaXN0Lm1hcmtlcnMuZ2V0KGxlZ2VuZFNlcmllcy5pZClcIlxuICAgICAgICAgICAgICAgICAgICAgICAgW2NvbG9yXT1cIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNoYXJ0QXNzaXN0LnBhbGV0dGUuc3RhbmRhcmRDb2xvcnMuZ2V0KFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZWdlbmRTZXJpZXMuaWRcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICApXG4gICAgICAgICAgICAgICAgICAgICAgICBcIlxuICAgICAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgIDwvbnVpLWNoYXJ0LW1hcmtlcj5cbiAgICAgICAgICAgICAgICA8L251aS1yaWNoLWxlZ2VuZC10aWxlPlxuICAgICAgICAgICAgICAgIDxkaXZcbiAgICAgICAgICAgICAgICAgICAgZGVzY3JpcHRpb25cbiAgICAgICAgICAgICAgICAgICAgY2xhc3M9XCJkZXNjcmlwdGlvbi1jb250YWluZXIgZC1mbGV4IGZsZXgtY29sdW1uIG51aS10ZXh0LXNtYWxsIGp1c3RpZnktY29udGVudC1jZW50ZXJcIlxuICAgICAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICAgICAgPGRpdlxuICAgICAgICAgICAgICAgICAgICAgICAgKm5nSWY9XCIhbGVnZW5kU2VyaWVzLmxpbmtcIlxuICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3M9XCJkZXNjcmlwdGlvbiBkZXNjcmlwdGlvbi1wcmltYXJ5XCJcbiAgICAgICAgICAgICAgICAgICAgICAgIFtuZ0NsYXNzXT1cIntcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAnbnVpLXRleHQtbGluay1zbWFsbCBsaW5rJzogc2VyaWVzSW50ZXJhY3RpdmVcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cIlxuICAgICAgICAgICAgICAgICAgICAgICAgKGNsaWNrKT1cIm9uUHJpbWFyeURlc2NDbGljaygkZXZlbnQsIGxlZ2VuZFNlcmllcylcIlxuICAgICAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgICAgICB7eyBsZWdlbmRTZXJpZXMubGVnZW5kRGVzY3JpcHRpb25QcmltYXJ5IH19XG4gICAgICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgICAgICAgICA8YVxuICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3M9XCJkZXNjcmlwdGlvbiBkZXNjcmlwdGlvbi1wcmltYXJ5IG51aS10ZXh0LWxpbmstc21hbGwgbGlua1wiXG4gICAgICAgICAgICAgICAgICAgICAgICAoY2xpY2spPVwiJGV2ZW50LnN0b3BQcm9wYWdhdGlvbigpXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICpuZ0lmPVwibGVnZW5kU2VyaWVzLmxpbmtcIlxuICAgICAgICAgICAgICAgICAgICAgICAgW2hyZWZdPVwibGVnZW5kU2VyaWVzLmxpbmtcIlxuICAgICAgICAgICAgICAgICAgICAgICAgcmVsPVwibm9vcGVuZXIgbm9yZWZlcnJlclwiXG4gICAgICAgICAgICAgICAgICAgICAgICBbdGl0bGVdPVwibGVnZW5kU2VyaWVzLmxlZ2VuZERlc2NyaXB0aW9uUHJpbWFyeVwiXG4gICAgICAgICAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICAgICAgICAgIHt7IGxlZ2VuZFNlcmllcy5sZWdlbmREZXNjcmlwdGlvblByaW1hcnkgfX1cbiAgICAgICAgICAgICAgICAgICAgPC9hPlxuICAgICAgICAgICAgICAgICAgICA8ZGl2XG4gICAgICAgICAgICAgICAgICAgICAgICBjbGFzcz1cImRlc2NyaXB0aW9uIGRlc2NyaXB0aW9uLXNlY29uZGFyeVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAqbmdJZj1cIiFsZWdlbmRTZXJpZXMuc2Vjb25kYXJ5TGlua1wiXG4gICAgICAgICAgICAgICAgICAgICAgICBbdGl0bGVdPVwibGVnZW5kU2VyaWVzLmxlZ2VuZERlc2NyaXB0aW9uU2Vjb25kYXJ5XCJcbiAgICAgICAgICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgICAgICAgICAge3sgbGVnZW5kU2VyaWVzLmxlZ2VuZERlc2NyaXB0aW9uU2Vjb25kYXJ5IH19XG4gICAgICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgICAgICAgICA8YVxuICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3M9XCJkZXNjcmlwdGlvbiBkZXNjcmlwdGlvbi1zZWNvbmRhcnkgbnVpLXRleHQtbGluay1zbWFsbCBsaW5rXCJcbiAgICAgICAgICAgICAgICAgICAgICAgIChjbGljayk9XCIkZXZlbnQuc3RvcFByb3BhZ2F0aW9uKClcIlxuICAgICAgICAgICAgICAgICAgICAgICAgKm5nSWY9XCJsZWdlbmRTZXJpZXMuc2Vjb25kYXJ5TGlua1wiXG4gICAgICAgICAgICAgICAgICAgICAgICBbaHJlZl09XCJsZWdlbmRTZXJpZXMuc2Vjb25kYXJ5TGlua1wiXG4gICAgICAgICAgICAgICAgICAgICAgICByZWw9XCJub29wZW5lciBub3JlZmVycmVyXCJcbiAgICAgICAgICAgICAgICAgICAgICAgIFt0aXRsZV09XCJsZWdlbmRTZXJpZXMubGVnZW5kRGVzY3JpcHRpb25TZWNvbmRhcnlcIlxuICAgICAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgICAgICB7eyBsZWdlbmRTZXJpZXMubGVnZW5kRGVzY3JpcHRpb25TZWNvbmRhcnkgfX1cbiAgICAgICAgICAgICAgICAgICAgPC9hPlxuICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgPC9udWktbGVnZW5kLXNlcmllcz5cbiAgICAgICAgPC9udWktbGVnZW5kPlxuICAgIDwvZGl2PlxuPC9kaXY+XG4iXX0=