@nova-ui/dashboards 12.0.17 → 13.0.1-3938

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,493 @@
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 { CdkVirtualScrollViewport } from "@angular/cdk/scrolling";
21
+ import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, HostBinding, Inject, Input, NgZone, Optional, QueryList, ViewChild, ViewChildren, } from "@angular/core";
22
+ import get from "lodash/get";
23
+ import isEqual from "lodash/isEqual";
24
+ import omit from "lodash/omit";
25
+ import { BehaviorSubject, merge, of, Subject } from "rxjs";
26
+ import { filter, map, take, takeUntil, tap } from "rxjs/operators";
27
+ import { DEFAULT_INTERACTIVE_ELEMENTS, EventBus, LoggerService, SorterDirection, TableComponent, TableRowComponent, VirtualViewportManager, } from "@nova-ui/bits";
28
+ import { PizzagnaService } from "../../pizzagna/services/pizzagna.service";
29
+ import { TableFormatterRegistryService } from "../../services/table-formatter-registry.service";
30
+ import { INTERACTION, REFRESH, WIDGET_READY, WIDGET_RESIZE, } from "../../services/types";
31
+ import { WidgetConfigurationService } from "../../services/widget-configuration.service";
32
+ import { DATA_SOURCE, PizzagnaLayer, PIZZAGNA_EVENT_BUS, WellKnownDataSourceFeatures, } from "../../types";
33
+ import { SearchFeatureAddonService } from "./addons/search-feature-addon.service";
34
+ import { VirtualScrollFeatureAddonService } from "./addons/virtual-scroll-feature-addon.service";
35
+ import * as i0 from "@angular/core";
36
+ import * as i1 from "../../services/widget-configuration.service";
37
+ import * as i2 from "../../pizzagna/services/pizzagna.service";
38
+ import * as i3 from "@nova-ui/bits";
39
+ import * as i4 from "./addons/search-feature-addon.service";
40
+ import * as i5 from "./addons/virtual-scroll-feature-addon.service";
41
+ import * as i6 from "../../services/table-formatter-registry.service";
42
+ import * as i7 from "@angular/cdk/scrolling";
43
+ import * as i8 from "@angular/common";
44
+ import * as i9 from "./delayed-mouse-presence-detection.directive";
45
+ import * as i10 from "../../pizzagna/directives/component-portal/component-portal.directive";
46
+ import * as i11 from "@angular/cdk/portal";
47
+ /**
48
+ * @ignore
49
+ */
50
+ export class TableWidgetComponent {
51
+ constructor(eventBus, dataSource, widgetConfigurationService, changeDetector, pizzagnaService, viewportManager, zone, el, logger, searchAddon, virtualScrollAddon, formattersRegistryService) {
52
+ this.eventBus = eventBus;
53
+ this.dataSource = dataSource;
54
+ this.widgetConfigurationService = widgetConfigurationService;
55
+ this.changeDetector = changeDetector;
56
+ this.pizzagnaService = pizzagnaService;
57
+ this.viewportManager = viewportManager;
58
+ this.zone = zone;
59
+ this.el = el;
60
+ this.logger = logger;
61
+ this.searchAddon = searchAddon;
62
+ this.virtualScrollAddon = virtualScrollAddon;
63
+ this.formattersRegistryService = formattersRegistryService;
64
+ // 70 px stands for widget header and margins
65
+ this.indentFromTop = 70;
66
+ this.sortable = true;
67
+ this.delayedMousePresenceDetectionEnabled = true;
68
+ this.tableData = [];
69
+ this.columns = [];
70
+ this.columnsWidthMap = new Map();
71
+ this.hasVirtualScroll = true;
72
+ this.isSearchEnabled = false;
73
+ this.searchTerm$ = new Subject();
74
+ this.onDestroy$ = new Subject();
75
+ this.tableUpdate$ = new Subject();
76
+ this.mousePresent$ = new BehaviorSubject(false);
77
+ this.rowHeight = 24;
78
+ this._scrollBuffer = 0;
79
+ this.totalPages = 0;
80
+ this.lastPageFetched = 0;
81
+ this.sortableSet = {};
82
+ this.defaultColumnAlignment = "left";
83
+ this.idle = false;
84
+ this.isBusy = this.lastPageFetched !== this.totalPages;
85
+ }
86
+ set range(value) {
87
+ this._range = value;
88
+ }
89
+ get range() {
90
+ return this.getTableScrollRange();
91
+ }
92
+ get headerTooltipsEnabled() {
93
+ // Note: If tooltip state is not provided treat is as true;
94
+ return this.configuration.headerTooltipsEnabled ?? true;
95
+ }
96
+ set scrollBuffer(value) {
97
+ if (value > 100 || value < 0) {
98
+ throw new Error("Invalid scroll buffer provided. Required range 1..100");
99
+ }
100
+ this._scrollBuffer = value;
101
+ }
102
+ get interactive() {
103
+ return (this.configuration?.interactive ||
104
+ this.dataSource?.features?.getFeatureConfig(WellKnownDataSourceFeatures.Interactivity)?.enabled);
105
+ }
106
+ ngOnChanges(changes) {
107
+ if (changes.dataFields) {
108
+ if (this.dataFields?.length) {
109
+ this.setSortableSet();
110
+ }
111
+ }
112
+ if (changes.widgetData || changes.configuration || changes.dataFields) {
113
+ this.updateTable();
114
+ // Note: CDK Viewport does not have a proper mechanism to identify the changes and trigger checkViewportSize
115
+ // we have to do it manually. Using optional chaining because vscrollViewport can be unavailable at initialization.
116
+ // Related issue: https://github.com/angular/components/issues/10117
117
+ this.vscrollViewport?.checkViewportSize();
118
+ }
119
+ if (changes.configuration) {
120
+ // Note: We don't have to trigger sorting in case sortable flag is false.
121
+ // Note: Using true as a default sortable value to maintain backward compatibility
122
+ if (this.isSortByUpdated(changes.configuration) &&
123
+ (changes.configuration.currentValue.sortable ?? true)) {
124
+ const sortedColumn = {
125
+ direction: changes.configuration.currentValue
126
+ .sorterConfiguration.descendantSorting
127
+ ? SorterDirection.descending
128
+ : SorterDirection.ascending,
129
+ sortBy: changes.configuration.currentValue
130
+ .sorterConfiguration.sortBy,
131
+ };
132
+ this.onSortOrderChanged(sortedColumn);
133
+ }
134
+ const newHasVirtualScroll = get(changes, "configuration.currentValue.hasVirtualScroll", true);
135
+ if (this.hasVirtualScroll !== newHasVirtualScroll) {
136
+ this.hasVirtualScroll = newHasVirtualScroll;
137
+ this.virtualScrollAddon.initVirtualScroll();
138
+ }
139
+ }
140
+ if (changes.totalItems) {
141
+ this.totalPages = Math.floor((this.totalItems ?? 0) / this.range);
142
+ }
143
+ }
144
+ ngOnInit() {
145
+ if (this.dataSource) {
146
+ // Since the sortFilter is not initialized, we have to retrieve and set the correct filter value from the configuration before registering it
147
+ this.setSortFilter();
148
+ this.registerSorter();
149
+ this.virtualScrollAddon.initWidget(this);
150
+ }
151
+ }
152
+ ngAfterViewInit() {
153
+ if (!this.dataSource) {
154
+ return;
155
+ }
156
+ this.dataSource.busy
157
+ ?.pipe(tap((isBusy) => (this.isBusy = isBusy)), takeUntil(this.onDestroy$))
158
+ .subscribe();
159
+ this.virtualScrollAddon.initVirtualScroll();
160
+ this.searchAddon.initWidget(this);
161
+ const tableHeightChanged$ = this.eventBus
162
+ .getStream(WIDGET_RESIZE)
163
+ .pipe(filter((event) => event.payload.widgetId ===
164
+ this.widgetConfigurationService.getWidget().id), map((event) => event.payload.height));
165
+ // subscribing to widget resize event from dashboard and update virtual scroll viewport size
166
+ tableHeightChanged$
167
+ .pipe(takeUntil(this.onDestroy$))
168
+ .subscribe((height) => {
169
+ this.tableContainerHeight = height - this.indentFromTop;
170
+ this.vscrollViewport?.checkViewportSize();
171
+ this.changeDetector.detectChanges();
172
+ });
173
+ // Note: Secondary stream used to trigger widget ready event when table is properly displayed and we can start
174
+ // loading data for our virtual scroll
175
+ // setTimeout is needed because this.el.nativeElement.getBoundingClientRect().height is 0 when it switches components from
176
+ // fallback component to table widget and it needs to have height
177
+ setTimeout(() => {
178
+ merge(of(this.range * this.rowHeight), tableHeightChanged$, of(this.el.nativeElement.getBoundingClientRect().height))
179
+ .pipe(filter((value) => !!value), take(1), tap((value) => {
180
+ this.tableWidgetHeight = value;
181
+ this.virtualScrollAddon.subscribeToVirtualScroll();
182
+ this.eventBus.getStream(WIDGET_READY).next(undefined);
183
+ }))
184
+ .subscribe();
185
+ });
186
+ }
187
+ ngOnDestroy() {
188
+ this.onDestroy$.next();
189
+ this.onDestroy$.complete();
190
+ this.tableUpdate$.complete();
191
+ this.searchTerm$?.complete();
192
+ // erase the error status when this component gets destroyed to prevent an error status leak when changing data sources
193
+ this.pizzagnaService.setProperty({
194
+ componentId: "bodyContent",
195
+ propertyPath: ["fallbackKey"],
196
+ pizzagnaKey: PizzagnaLayer.Data,
197
+ }, undefined);
198
+ }
199
+ /** Checks if table should be displayed */
200
+ shouldDisplayTable() {
201
+ const columnsCondition = this.columns.length > 0;
202
+ const dataCondition = this.tableData?.length > 0;
203
+ return this.isSearchEnabled ||
204
+ (this.hasVirtualScroll && (this.isBusy || this.idle))
205
+ ? columnsCondition
206
+ : columnsCondition && dataCondition;
207
+ }
208
+ dataTrackBy(index, item) {
209
+ return item ? item.id : index;
210
+ }
211
+ columnTrackBy(index, item) {
212
+ return item.id;
213
+ }
214
+ /**
215
+ * Handles updating of columns.
216
+ * @param configuration
217
+ */
218
+ updateColumns(configuration) {
219
+ this.headers = configuration.columns
220
+ .filter((item) => item.isActive)
221
+ .map((item) => item.id);
222
+ const allColumnsHaveWidthSpecified = configuration.columns.every((column) => Boolean(column.width));
223
+ const columns = configuration.columns.map((column, index, array) => {
224
+ this.columnsWidthMap.set(column.id, column.width);
225
+ if (allColumnsHaveWidthSpecified) {
226
+ const lastColumn = array[array.length - 1];
227
+ this.columnsWidthMap.set(lastColumn.id, undefined);
228
+ }
229
+ return {
230
+ ...column,
231
+ sortable: this.sortableSet[column?.formatter?.properties?.dataFieldIds?.value] ?? true,
232
+ };
233
+ });
234
+ if (columns.length > 0 && allColumnsHaveWidthSpecified) {
235
+ this.logger.warn(`Cannot set width for all columns. Resetting last column width.`);
236
+ }
237
+ if (this.columns.length !== columns.length) {
238
+ this.columns = [...columns];
239
+ }
240
+ else {
241
+ // This Object.assign is important. It helps to track changes in column header names
242
+ this.columns.forEach((c, i) => {
243
+ Object.assign(c, columns[i], {});
244
+ });
245
+ }
246
+ }
247
+ /**
248
+ * Takes tableData from back-end, columns which are provided in table widget config and dataFields and maps them to data-format
249
+ * which is acceptable by table component.
250
+ * Also it can merge multiple data fields into one column. If you provide more than one dataFieldId in your
251
+ * widget config, they will be merged to an object with needed data. This data can be passed to formatter and displayed
252
+ * in one column.
253
+ * @param tableData
254
+ * @param columns
255
+ * @param dataFields
256
+ * @returns any[]
257
+ */
258
+ mapTableData(tableData, columns, dataFields) {
259
+ if (!dataFields || dataFields.length === 0) {
260
+ this.logger.warn("There are no data fields defined, so table data cannot be displayed.");
261
+ return [];
262
+ }
263
+ return tableData.map((record) => {
264
+ const row = columns.reduce((result, column) => {
265
+ const dataFieldIds = column.formatter?.properties?.dataFieldIds;
266
+ if (!dataFieldIds) {
267
+ return result;
268
+ }
269
+ const data = Object.keys(dataFieldIds).reduce((mapping, next) => {
270
+ mapping[next] = record[dataFieldIds[next]];
271
+ return mapping;
272
+ }, {});
273
+ result[column.id] = {
274
+ data,
275
+ ...omit(column.formatter?.properties, "dataFieldIds"),
276
+ };
277
+ return result;
278
+ }, {});
279
+ // we want to include original record for row interaction
280
+ row.__record = record;
281
+ return row;
282
+ });
283
+ }
284
+ /**
285
+ * Handles change of sorting. Gets sorted column from columns array.
286
+ * @param event
287
+ */
288
+ onSortOrderChanged(event) {
289
+ this.sortedColumn = event;
290
+ const columnToSort = this.columns.find((column) => column.id === event.sortBy);
291
+ if (!columnToSort) {
292
+ return;
293
+ }
294
+ const dataFieldIds = columnToSort.formatter?.properties?.dataFieldIds;
295
+ const sortField = dataFieldIds?.value;
296
+ if (!sortField) {
297
+ return;
298
+ }
299
+ const newSortFilter = {
300
+ sortBy: sortField,
301
+ direction: event.direction,
302
+ };
303
+ if (isEqual(newSortFilter, this.sortFilter)) {
304
+ return;
305
+ }
306
+ this.sortFilter = newSortFilter;
307
+ // Note: Since we're relying on the CDK Viewport internal logic to perform data load
308
+ // we have to move to the start of the range for dataSource to take correct range,
309
+ // if we will keep old data user can think (NUI-5333) that data is already reloaded.
310
+ // So we're flushing the old data and waiting for new one to avoid confusion.
311
+ this.flushTableData();
312
+ this.eventBus.getStream(REFRESH).next(undefined);
313
+ }
314
+ onInteraction(row, event) {
315
+ if (!this.interactive) {
316
+ return;
317
+ }
318
+ const ignoredSelectors = this.configuration.interactionIgnoredSelectors ||
319
+ DEFAULT_INTERACTIVE_ELEMENTS;
320
+ // avoid emitting events when an ignored element was clicked
321
+ if (event.target.closest(ignoredSelectors.join(","))) {
322
+ return;
323
+ }
324
+ this.eventBus
325
+ .getStream(INTERACTION)
326
+ .next({ payload: { data: row.__record } });
327
+ }
328
+ onSearchInputChanged(searchTerm) {
329
+ this.searchValue = searchTerm;
330
+ this.searchTerm$.next("");
331
+ }
332
+ getColumnAlignment(column) {
333
+ // Note: In case we have provided formatters by old manner (via config)
334
+ // we don't have to proceed with calculations
335
+ if (!column?.formatter?.componentType ||
336
+ this.formattersRegistryService.isEmpty) {
337
+ return this.defaultColumnAlignment;
338
+ }
339
+ // Note: We don't want to invoke getFormattersMap() on every change detection cycle
340
+ // but only when it was changed
341
+ if (this.formatters?.version !==
342
+ this.formattersRegistryService.stateVersion) {
343
+ this.formatters = {
344
+ // Transforming array into map
345
+ items: this.formattersRegistryService.getItems().reduce((prev, next) => ({
346
+ ...prev,
347
+ [next.componentType]: next,
348
+ }), {}),
349
+ version: this.formattersRegistryService.stateVersion,
350
+ };
351
+ }
352
+ return (this.formatters.items[column.formatter.componentType]?.alignment ||
353
+ this.defaultColumnAlignment);
354
+ }
355
+ setSortFilter() {
356
+ if (this.configuration) {
357
+ const sortBy = this.configuration.sorterConfiguration?.sortBy;
358
+ const columnValue = this.configuration.columns?.find((column) => column.id === sortBy)?.formatter?.properties?.dataFieldIds?.value;
359
+ this.sortFilter = {
360
+ direction: this.configuration.sorterConfiguration
361
+ ?.descendantSorting
362
+ ? SorterDirection.descending
363
+ : SorterDirection.ascending,
364
+ sortBy: columnValue,
365
+ };
366
+ }
367
+ }
368
+ /**
369
+ * Checks if column id has changed or if sorting order has changed
370
+ * @param state
371
+ */
372
+ isSortByUpdated(configuration) {
373
+ const oldSorterConfiguration = configuration.previousValue?.sorterConfiguration;
374
+ const newSorterConfiguration = configuration.currentValue.sorterConfiguration;
375
+ const oldSortById = oldSorterConfiguration?.sortBy;
376
+ const newSortById = newSorterConfiguration?.sortBy;
377
+ if (!newSortById) {
378
+ return Boolean(oldSortById);
379
+ }
380
+ const equalSortingState = oldSortById === newSortById &&
381
+ newSorterConfiguration.descendantSorting ===
382
+ oldSorterConfiguration.descendantSorting;
383
+ return !equalSortingState;
384
+ }
385
+ /**
386
+ * Updates table columns and maps table data.
387
+ */
388
+ updateTable() {
389
+ if (this.widgetData && this.dataFields && this.configuration.columns) {
390
+ this.updateColumns(this.configuration);
391
+ this.idle = false;
392
+ this.tableData = this.mapTableData(this.widgetData, this.configuration.columns, this.dataFields);
393
+ this.tableUpdate$.next();
394
+ this.changeDetector.detectChanges();
395
+ }
396
+ }
397
+ /**
398
+ * Registers sorter filter.
399
+ */
400
+ registerSorter() {
401
+ this.dataSource.registerComponent({
402
+ sorter: {
403
+ componentInstance: {
404
+ getFilters: () => ({
405
+ type: "sorter",
406
+ value: this.sortFilter,
407
+ }),
408
+ },
409
+ },
410
+ });
411
+ }
412
+ setSortableSet() {
413
+ this.sortableSet = {};
414
+ this.dataFields.forEach((dataField) => {
415
+ this.sortableSet[dataField.id] = dataField.sortable ?? true;
416
+ });
417
+ }
418
+ flushTableData() {
419
+ this.idle = true;
420
+ this.tableData = [];
421
+ }
422
+ getTableScrollRange() {
423
+ // Note: To work properly virtual viewport should be scrollable
424
+ // to ensure that container will be scrollable we're adding 50% more items
425
+ // Ex: Viewport height: 100px, itemSize: 20px => 5 (range) in current configuration the viewport
426
+ // will not be scrollable/work properly because all the items fits the screen.
427
+ // We're adding 50% more items and in this case, we're covered even the user provides 0% buffer.
428
+ const internalBuffer = 2;
429
+ const scrollBuffer = (this._scrollBuffer ?? 0) / 100 + 1;
430
+ if (this._range) {
431
+ // Note: In case user provided a range we don't need
432
+ // to add our internal buffer. Totally relying on user calculus
433
+ return Math.floor(this._range * scrollBuffer);
434
+ }
435
+ return Math.floor((this.tableWidgetHeight / this.rowHeight) *
436
+ internalBuffer *
437
+ scrollBuffer);
438
+ }
439
+ }
440
+ TableWidgetComponent.lateLoadKey = "TableWidgetComponent";
441
+ /** @nocollapse */ TableWidgetComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TableWidgetComponent, deps: [{ token: PIZZAGNA_EVENT_BUS }, { token: DATA_SOURCE, optional: true }, { token: i1.WidgetConfigurationService, optional: true }, { token: i0.ChangeDetectorRef }, { token: i2.PizzagnaService }, { token: i3.VirtualViewportManager }, { token: i0.NgZone }, { token: i0.ElementRef }, { token: i3.LoggerService }, { token: i4.SearchFeatureAddonService }, { token: i5.VirtualScrollFeatureAddonService }, { token: i6.TableFormatterRegistryService }], target: i0.ɵɵFactoryTarget.Component });
442
+ /** @nocollapse */ TableWidgetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: TableWidgetComponent, selector: "nui-table-widget", inputs: { widgetData: "widgetData", componentId: "componentId", configuration: "configuration", dataFields: "dataFields", totalItems: "totalItems", indentFromTop: "indentFromTop", sortable: "sortable", delayedMousePresenceDetectionEnabled: "delayedMousePresenceDetectionEnabled", range: "range", elementClass: "elementClass" }, host: { properties: { "class.table-widget-fullwidth": "true", "class": "this.elementClass" } }, providers: [SearchFeatureAddonService, VirtualScrollFeatureAddonService], viewQueries: [{ propertyName: "table", first: true, predicate: ["widgetTable"], descendants: true }, { propertyName: "vscrollViewport", first: true, predicate: CdkVirtualScrollViewport, descendants: true }, { propertyName: "tableRows", predicate: TableRowComponent, descendants: true, read: ElementRef }], usesOnChanges: true, ngImport: i0, template: "<div\n class=\"h-100 d-flex justify-content-center align-items-center\"\n *ngIf=\"!shouldDisplayTable()\"\n>\n <nui-image image=\"no-data-to-show\"></nui-image>\n</div>\n<!-- h-100 gets added only when there's data to show to prevent an extra scrollbar when the table is empty -->\n<!-- Using invisible class instead of *ngIf as an non-virtual-scroll breakable way to hide the content. -->\n<div\n class=\"nui-table-widget d-flex flex-column\"\n [ngClass]=\"shouldDisplayTable() ? 'h-100' : 'invisible'\"\n>\n <div class=\"mr-2 mb-2 flex-row\" *ngIf=\"isSearchEnabled\">\n <nui-search\n class=\"unlimited-width d-flex justify-content-end flex-grow-1\"\n [value]=\"searchValue\"\n (inputChange)=\"onSearchInputChanged($event)\"\n (cancel)=\"onSearchInputChanged($event)\"\n >\n </nui-search>\n </div>\n <div\n class=\"flex-row h-100 nui-table-widget-container\"\n [nuiDelayedMousePresenceDetection]=\"\n delayedMousePresenceDetectionEnabled\n \"\n [delay]=\"configuration.scrollActivationDelayMs\"\n [mousePresentSubject]=\"mousePresent$\"\n >\n <!-- Note: Using inline style to let tableStickyHeader pick the actual height and update it with header height when it is detached -->\n <cdk-virtual-scroll-viewport\n class=\"calc-height\"\n style=\"height: calc(100% - 2px)\"\n tableStickyHeader\n [itemSize]=\"rowHeight\"\n [ngClass]=\"{\n 'virtual-scroll-disabled':\n (mousePresent$ | async) === false &&\n delayedMousePresenceDetectionEnabled\n }\"\n >\n <table\n class=\"nui-table-widget__main\"\n nui-table\n [reorderable]=\"configuration?.reorderable\"\n [sortable]=\"sortable\"\n [totalItems]=\"totalItems\"\n [dataSource]=\"virtualScrollAddon.visibleItems\"\n [sortedColumn]=\"sortedColumn\"\n (sortOrderChanged)=\"onSortOrderChanged($event)\"\n [trackBy]=\"dataTrackBy\"\n #widgetTable\n >\n <ng-container\n nuiColumnDef=\"{{ column.id }}\"\n *ngFor=\"let column of columns; trackBy: columnTrackBy\"\n >\n <th\n nui-header-cell\n [isColumnSortingDisabled]=\"!column.sortable\"\n *nuiHeaderCellDef\n [style.width.px]=\"columnsWidthMap.get(column.id)\"\n [style.max-width.px]=\"columnsWidthMap.get(column.id)\"\n [style.min-width.px]=\"columnsWidthMap.get(column.id)\"\n [title]=\"column.label\"\n [tooltipText]=\"\n headerTooltipsEnabled ? column.label : undefined\n \"\n [alignment]=\"getColumnAlignment(column)\"\n >\n {{ column.label }}\n </th>\n <ng-container>\n <td\n nui-cell\n *nuiCellDef=\"let element\"\n [style.width.px]=\"columnsWidthMap.get(column.id)\"\n [style.max-width.px]=\"\n columnsWidthMap.get(column.id)\n \"\n [style.min-width.px]=\"\n columnsWidthMap.get(column.id)\n \"\n [alignment]=\"getColumnAlignment(column)\"\n >\n <ng-container\n nuiComponentPortal\n componentId=\"formatter\"\n *ngIf=\"element[column.id] && column.formatter\"\n [componentType]=\"\n column.formatter?.componentType\n \"\n [properties]=\"element[column.id]\"\n #componentPortal=\"nuiComponentPortal\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"\n componentPortal.attached($event)\n \"\n ></ng-template>\n </ng-container>\n </td>\n </ng-container>\n </ng-container>\n <tr nui-header-row *nuiHeaderRowDef=\"headers\"></tr>\n <ng-template\n nuiRowDef\n cdkVirtualFor\n let-row\n [nuiRowDefColumns]=\"headers\"\n [cdkVirtualForOf]=\"tableData\"\n [cdkVirtualForTrackBy]=\"dataTrackBy\"\n >\n <tr\n nui-row\n (click)=\"onInteraction(row, $event)\"\n [attr.role]=\"interactive ? 'button' : ''\"\n density=\"tiny\"\n ></tr>\n </ng-template>\n </table>\n </cdk-virtual-scroll-viewport>\n </div>\n</div>\n", styles: [".nui-table-widget{overflow:auto;width:100%}.nui-table-widget .display-contents{display:contents}.nui-table-widget__main{flex:1 1 auto}.nui-table-widget__paginator{margin-top:10px}.nui-table-widget__overflow{overflow-y:auto}.nui-table-widget .nui-table-widget-container .virtual-scroll-disabled.cdk-virtual-scroll-viewport{overflow:hidden!important}:host-context(.mobile) .calc-height{min-height:200px}:host.table-widget-fullwidth{width:calc(100% - 10px)}.invisible{height:0}@-moz-document url-prefix(){.nui-table-widget-container{margin-right:10px}}\n"], components: [{ type: i3.ImageComponent, selector: "nui-image", inputs: ["image", "description", "float", "margin", "isWatermark", "width", "height", "autoFill"] }, { type: i3.SearchComponent, selector: "nui-search", inputs: ["captureFocus", "name", "placeholder", "value"], outputs: ["cancel", "focusChange", "inputChange", "search"] }, { type: i7.CdkVirtualScrollViewport, selector: "cdk-virtual-scroll-viewport", inputs: ["orientation", "appendOnly"], outputs: ["scrolledIndexChange"] }, { type: i3.TableComponent, selector: "nui-table, table[nui-table]", inputs: ["reorderable", "sortable", "resizable", "selectable", "totalItems", "dataSource", "selection", "sortedColumn"], outputs: ["columnsOrderChange", "sortOrderChanged", "selectionChange"], exportAs: ["nuiTable"] }, { type: i3.TableHeaderCellComponent, selector: "nui-header-cell, th[nui-header-cell]", inputs: ["alignment", "tooltipText", "isColumnSortingDisabled"] }, { type: i3.TableHeaderRowComponent, selector: "nui-header-row, tr[nui-header-row]", inputs: ["density"], exportAs: ["nuiHeaderRow"] }, { type: i3.TableRowComponent, selector: "nui-row, tr[nui-row]", inputs: ["density", "rowObject", "clickableRow", "clickableRowConfig"], exportAs: ["nuiRow"] }], directives: [{ type: i8.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i8.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i9.DelayedMousePresenceDetectionDirective, selector: "[nuiDelayedMousePresenceDetection]", inputs: ["nuiDelayedMousePresenceDetection", "mousePresentSubject", "delay"] }, { type: i3.TableStickyHeaderDirective, selector: "cdk-virtual-scroll-viewport[tableStickyHeader]", inputs: ["tableStickyHeader"] }, { type: i7.CdkFixedSizeVirtualScroll, selector: "cdk-virtual-scroll-viewport[itemSize]", inputs: ["itemSize", "minBufferPx", "maxBufferPx"] }, { type: i8.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3.TableColumnDefDirective, selector: "[nuiColumnDef]", inputs: ["nuiColumnDef", "type", "columnWidth"] }, { type: i3.TableHeaderCellDefDirective, selector: "[nuiHeaderCellDef]" }, { type: i3.TableCellDefDirective, selector: "[nuiCellDef]" }, { type: i3.TableCellDirective, selector: "nui-cell, td[nui-cell]", inputs: ["tooltipText", "alignment"] }, { type: i10.ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type: i11.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { type: i3.TableHeaderRowDefDirective, selector: "[nuiHeaderRowDef]", inputs: ["nuiHeaderRowDef", "nuiHeaderRowDefSticky"] }, { type: i3.TableRowDefDirective, selector: "[nuiRowDef]", inputs: ["nuiRowDefColumns", "nuiRowDefWhen"] }, { type: i7.CdkVirtualForOf, selector: "[cdkVirtualFor][cdkVirtualForOf]", inputs: ["cdkVirtualForOf", "cdkVirtualForTrackBy", "cdkVirtualForTemplate", "cdkVirtualForTemplateCacheSize"] }], pipes: { "async": i8.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
443
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TableWidgetComponent, decorators: [{
444
+ type: Component,
445
+ args: [{ selector: "nui-table-widget", changeDetection: ChangeDetectionStrategy.OnPush, providers: [SearchFeatureAddonService, VirtualScrollFeatureAddonService], host: {
446
+ // Note: Moved here from configuration to ensure that consumers will not override it.
447
+ // Used to prevent table overflowing preview container in the edit/configuration mode.
448
+ "[class.table-widget-fullwidth]": "true",
449
+ }, template: "<div\n class=\"h-100 d-flex justify-content-center align-items-center\"\n *ngIf=\"!shouldDisplayTable()\"\n>\n <nui-image image=\"no-data-to-show\"></nui-image>\n</div>\n<!-- h-100 gets added only when there's data to show to prevent an extra scrollbar when the table is empty -->\n<!-- Using invisible class instead of *ngIf as an non-virtual-scroll breakable way to hide the content. -->\n<div\n class=\"nui-table-widget d-flex flex-column\"\n [ngClass]=\"shouldDisplayTable() ? 'h-100' : 'invisible'\"\n>\n <div class=\"mr-2 mb-2 flex-row\" *ngIf=\"isSearchEnabled\">\n <nui-search\n class=\"unlimited-width d-flex justify-content-end flex-grow-1\"\n [value]=\"searchValue\"\n (inputChange)=\"onSearchInputChanged($event)\"\n (cancel)=\"onSearchInputChanged($event)\"\n >\n </nui-search>\n </div>\n <div\n class=\"flex-row h-100 nui-table-widget-container\"\n [nuiDelayedMousePresenceDetection]=\"\n delayedMousePresenceDetectionEnabled\n \"\n [delay]=\"configuration.scrollActivationDelayMs\"\n [mousePresentSubject]=\"mousePresent$\"\n >\n <!-- Note: Using inline style to let tableStickyHeader pick the actual height and update it with header height when it is detached -->\n <cdk-virtual-scroll-viewport\n class=\"calc-height\"\n style=\"height: calc(100% - 2px)\"\n tableStickyHeader\n [itemSize]=\"rowHeight\"\n [ngClass]=\"{\n 'virtual-scroll-disabled':\n (mousePresent$ | async) === false &&\n delayedMousePresenceDetectionEnabled\n }\"\n >\n <table\n class=\"nui-table-widget__main\"\n nui-table\n [reorderable]=\"configuration?.reorderable\"\n [sortable]=\"sortable\"\n [totalItems]=\"totalItems\"\n [dataSource]=\"virtualScrollAddon.visibleItems\"\n [sortedColumn]=\"sortedColumn\"\n (sortOrderChanged)=\"onSortOrderChanged($event)\"\n [trackBy]=\"dataTrackBy\"\n #widgetTable\n >\n <ng-container\n nuiColumnDef=\"{{ column.id }}\"\n *ngFor=\"let column of columns; trackBy: columnTrackBy\"\n >\n <th\n nui-header-cell\n [isColumnSortingDisabled]=\"!column.sortable\"\n *nuiHeaderCellDef\n [style.width.px]=\"columnsWidthMap.get(column.id)\"\n [style.max-width.px]=\"columnsWidthMap.get(column.id)\"\n [style.min-width.px]=\"columnsWidthMap.get(column.id)\"\n [title]=\"column.label\"\n [tooltipText]=\"\n headerTooltipsEnabled ? column.label : undefined\n \"\n [alignment]=\"getColumnAlignment(column)\"\n >\n {{ column.label }}\n </th>\n <ng-container>\n <td\n nui-cell\n *nuiCellDef=\"let element\"\n [style.width.px]=\"columnsWidthMap.get(column.id)\"\n [style.max-width.px]=\"\n columnsWidthMap.get(column.id)\n \"\n [style.min-width.px]=\"\n columnsWidthMap.get(column.id)\n \"\n [alignment]=\"getColumnAlignment(column)\"\n >\n <ng-container\n nuiComponentPortal\n componentId=\"formatter\"\n *ngIf=\"element[column.id] && column.formatter\"\n [componentType]=\"\n column.formatter?.componentType\n \"\n [properties]=\"element[column.id]\"\n #componentPortal=\"nuiComponentPortal\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"\n componentPortal.attached($event)\n \"\n ></ng-template>\n </ng-container>\n </td>\n </ng-container>\n </ng-container>\n <tr nui-header-row *nuiHeaderRowDef=\"headers\"></tr>\n <ng-template\n nuiRowDef\n cdkVirtualFor\n let-row\n [nuiRowDefColumns]=\"headers\"\n [cdkVirtualForOf]=\"tableData\"\n [cdkVirtualForTrackBy]=\"dataTrackBy\"\n >\n <tr\n nui-row\n (click)=\"onInteraction(row, $event)\"\n [attr.role]=\"interactive ? 'button' : ''\"\n density=\"tiny\"\n ></tr>\n </ng-template>\n </table>\n </cdk-virtual-scroll-viewport>\n </div>\n</div>\n", styles: [".nui-table-widget{overflow:auto;width:100%}.nui-table-widget .display-contents{display:contents}.nui-table-widget__main{flex:1 1 auto}.nui-table-widget__paginator{margin-top:10px}.nui-table-widget__overflow{overflow-y:auto}.nui-table-widget .nui-table-widget-container .virtual-scroll-disabled.cdk-virtual-scroll-viewport{overflow:hidden!important}:host-context(.mobile) .calc-height{min-height:200px}:host.table-widget-fullwidth{width:calc(100% - 10px)}.invisible{height:0}@-moz-document url-prefix(){.nui-table-widget-container{margin-right:10px}}\n"] }]
450
+ }], ctorParameters: function () { return [{ type: i3.EventBus, decorators: [{
451
+ type: Inject,
452
+ args: [PIZZAGNA_EVENT_BUS]
453
+ }] }, { type: undefined, decorators: [{
454
+ type: Optional
455
+ }, {
456
+ type: Inject,
457
+ args: [DATA_SOURCE]
458
+ }] }, { type: i1.WidgetConfigurationService, decorators: [{
459
+ type: Optional
460
+ }] }, { type: i0.ChangeDetectorRef }, { type: i2.PizzagnaService }, { type: i3.VirtualViewportManager }, { type: i0.NgZone }, { type: i0.ElementRef }, { type: i3.LoggerService }, { type: i4.SearchFeatureAddonService }, { type: i5.VirtualScrollFeatureAddonService }, { type: i6.TableFormatterRegistryService }]; }, propDecorators: { widgetData: [{
461
+ type: Input
462
+ }], componentId: [{
463
+ type: Input
464
+ }], configuration: [{
465
+ type: Input
466
+ }], dataFields: [{
467
+ type: Input
468
+ }], totalItems: [{
469
+ type: Input
470
+ }], indentFromTop: [{
471
+ type: Input
472
+ }], sortable: [{
473
+ type: Input
474
+ }], delayedMousePresenceDetectionEnabled: [{
475
+ type: Input
476
+ }], range: [{
477
+ type: Input
478
+ }], elementClass: [{
479
+ type: Input
480
+ }, {
481
+ type: HostBinding,
482
+ args: ["class"]
483
+ }], table: [{
484
+ type: ViewChild,
485
+ args: ["widgetTable"]
486
+ }], vscrollViewport: [{
487
+ type: ViewChild,
488
+ args: [CdkVirtualScrollViewport]
489
+ }], tableRows: [{
490
+ type: ViewChildren,
491
+ args: [TableRowComponent, { read: ElementRef }]
492
+ }] } });
493
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFibGUtd2lkZ2V0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9saWIvY29tcG9uZW50cy90YWJsZS13aWRnZXQvdGFibGUtd2lkZ2V0LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3NyYy9saWIvY29tcG9uZW50cy90YWJsZS13aWRnZXQvdGFibGUtd2lkZ2V0LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLHlEQUF5RDtBQUN6RCxFQUFFO0F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ICAgICAgICAvLyBOb3RlOiBVc2luZyB0cnVlIGFzIGEgZGVmYXVsdCBzb3J0YWJsZSB2YWx1ZSB0byBtYWludGFpbiBiYWNrd2FyZCBjb21wYXRpYmlsaXR5XG4gICAgICAgICAgICBpZiAoXG4gICAgICAgICAgICAgICAgdGhpcy5pc1NvcnRCeVVwZGF0ZWQoY2hhbmdlcy5jb25maWd1cmF0aW9uKSAmJlxuICAgICAgICAgICAgICAgIChjaGFuZ2VzLmNvbmZpZ3VyYXRpb24uY3VycmVudFZhbHVlLnNvcnRhYmxlID8/IHRydWUpXG4gICAgICAgICAgICApIHtcbiAgICAgICAgICAgICAgICBjb25zdCBzb3J0ZWRDb2x1bW4gPSB7XG4gICAgICAgICAgICAgICAgICAgIGRpcmVjdGlvbjogY2hhbmdlcy5jb25maWd1cmF0aW9uLmN1cnJlbnRWYWx1ZVxuICAgICAgICAgICAgICAgICAgICAgICAgLnNvcnRlckNvbmZpZ3VyYXRpb24uZGVzY2VuZGFudFNvcnRpbmdcbiAgICAgICAgICAgICAgICAgICAgICAgID8gU29ydGVyRGlyZWN0aW9uLmRlc2NlbmRpbmdcbiAgICAgICAgICAgICAgICAgICAgICAgIDogU29ydGVyRGlyZWN0aW9uLmFzY2VuZGluZyxcbiAgICAgICAgICAgICAgICAgICAgc29ydEJ5OiBjaGFuZ2VzLmNvbmZpZ3VyYXRpb24uY3VycmVudFZhbHVlXG4gICAgICAgICAgICAgICAgICAgICAgICAuc29ydGVyQ29uZmlndXJhdGlvbi5zb3J0QnksXG4gICAgICAgICAgICAgICAgfTtcbiAgICAgICAgICAgICAgICB0aGlzLm9uU29ydE9yZGVyQ2hhbmdlZChzb3J0ZWRDb2x1bW4pO1xuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICBjb25zdCBuZXdIYXNWaXJ0dWFsU2Nyb2xsID0gZ2V0KFxuICAgICAgICAgICAgICAgIGNoYW5nZXMsXG4gICAgICAgICAgICAgICAgXCJjb25maWd1cmF0aW9uLmN1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CB7XG4gICAgICAgIGlmICghdGhpcy5kYXRhU291cmNlKSB7XG4gICAgICAgICAgICByZXR1cm47XG4gICAgICAgIH1cblxuICAgICAgICB0aGlzLmRhdGFTb3VyY2UuYnVzeVxuICAgICAgICAgICAgPy5waXBlKFxuICAgICAgICAgICAgICAgIHRhcCgoaXNCdXN5KSA9PiAodGhpcy5pc0J1c3kgPSBpc0J1c3kpKSxcbiAgICAgICAgICAgICAgICB0YWtlVW50aWwodGhpcy5vbkRlc3Ryb3kkKVxuICAgICAgICAgICAgKVxuICAgICAgICAgICAgLnN1YnNjcmliZSgpO1xuXG4gICAgICAgIHRoaXMudmlydHVhbFNjcm9sbEFkZG9uLmluaXRWaXJ0dWFsU2Nyb2xsKCk7XG4gICAgICAgIHRoaXMuc2VhcmNoQWRkb24uaW5pdFdpZGdldCh0aGlzKTtcbiAgICAgICAgY29uc3QgdGFibGVIZWlnaHRDaGFuZ2VkJDogT2JzZXJ2YWJsZTxudW1iZXI+ID0gdGhpcy5ldmVudEJ1c1xuICAgICAgICAgICAgLmdldFN0cmVhbShXSURHRVRfUkVTSVpFKVxuICAgICAgICAgICAgLnBpcGUoXG4gICAgICAgICAgICAgICAgZmlsdGVyKFxuICAgICAgICAgICAgICAgICAgICAoZXZlbnQpID0+XG4gICAgICAgICAgICAgICAgICAgICAgICBldmVudC5wYXlsb2FkLndpZGdldElkID09PVxuICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy53aWRnZXRDb25maWd1cmF0aW9uU2VydmljZS5nZXRXaWRnZXQoKS5pZFxuICAgICAgICAgICAgICAgICksXG4gICAgICAgICAgICAgICAgbWFwKChldmVudCkgPT4gZXZlbnQucGF5bG9hZC5oZWlnaHQpXG4gICAgICAgICAgICApO1xuXG4gICAgICAgIC8vIHN1YnNjcmliaW5nIHRvIHdpZGdldCByZXNpemUgZXZlbnQgZnJvbSBkYXNoYm9hcmQgYW5kIHVwZGF0ZSB2aXJ0dWFsIHNjcm9sbCB2aWV3cG9ydCBza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2VkJCxcbiAgICAgICAgICAgICAgICBvZih0aGlzLmVsLm5hdGl2ZUVsZW1lbnQuZ2V0Qm91bmRpbmdDbGllbnRSZWN0KCkuaGVpZ2h0KVxuICAgICAgICAgICAgKVxuICAgICAgICAgICAgICAgIC5waXBlKFxuICAgICAgICAgICAgICAgICAgICBmaWx0ZXIoKHZhbHVlKSA9PiAhIXZhbHVlKSxcbiAgICAgICAgICAgICAgICAgICAgdGFrZSgxKSxcbiAgICAgICAgICAgICAgICAgICAgdGFwKCh2YWx1ZSkgPT4ge1xuICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy50YWJsZVdpZGdldEhlaWdodCA9IHZhbHVlO1xuICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy52aXJ0dWFsU2Nyb2xsQWRkb24uc3Vic2NyaWJlVG9WaXJ0dWFsU2Nyb2xsKCk7XG4gICAgICAgICAgICAgICAgICAgICAgICB0aGlzLmV2ZW50QnVzLmdldFN0cmVhbShXSURHRVRfUkVBRFkpLm5leHQodW5kZWZpbmVkKTtcbiAgICAgICAgICAgICAgICAgICAgfSlcbiAgICAgICAgICAgICAgICApXG4gICAgICAgICAgICAgICAgLnN1YnNjcmliZSgpO1xuICAgICAgICB9KTtcbiAgICB9XG5cbiAgICBwdWJsaWMgbmdPbkRlc3Ryb3koKTogdm9pZCB7XG4gICAgICAgIHRoaXMub25EZXN0cm95JC5uZXh0KCk7XG4gICAgICAgIHRoaXMub25EZXN0cm95JC5jb21wbGV0ZSgpO1xuICAgICAgICB0aGlzLnRhYmxlVXBkYXRlJC5jb21wbGV0ZSgpO1xuICAgICAgICB0aGlzLnNlYXJjaFRlcm0kPy5jb21wbGV0ZSgpO1xuXG4gICAgICAgIC8vIGVyYXNlIHRoZSBlcnJvciBzdGF0dXMgd2hlbiB0aGlzIGNvbXBvbmVudCBnZXRzIGRlc3Ryb3llZCB0byBwcmV2ZW50IGFuIGVycm9yIHN0YXR1cyBsZWFrIHdoZW4gY2hhbmdpbmcgZGF0YSBzb3VyY2VzXG4gICAgICAgIHRoaXMucGl6emFnbmFTZXJ2aWNlLnNldFByb3BlcnR5KFxuICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgIGNvbXBvbmVudElkOiBcImJvZHlDb250ZW50XCIsXG4gICAgICAgICAgICAgICAgcHJvcGVydHlQYXRoOiBbXCJmYWxsYmFja0tleVwiXSxcbiAgICAgICAgICAgICAgICBwaXp6YWduYUtleTogUGl6emFnbmFMYXllci5EYXRhLFxuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIHVuZGVmaW5lZFxuICAgICAgICApO1xuICAgIH1cblxuICAgIC8qKiBDaGVja3MgaWYgdGFibGUgc2hvdWxkIGJlIGRpc3BsYXllZCAqL1xuICAgIHB1YmxpYyBzaG91bGREaXNwbGF5VGFibGUoKTogYm9vbGVhbiB7XG4gICAgICAgIGNvbnN0IGNvbHVtbnNDb25kaXRpb24gPSB0aGlzLmNvbHVtbnMubGVuZ3RoID4gMDtcbiAgICAgICAgY29uc3QgZGF0YUNvbmRpdGlvbiA9IHRoaXMudGFibGVEYXRhPy5sZW5ndGggPiAwO1xuXG4gICAgICAgIHJldHVybiB0aGlzLmlzU2VhcmNoRW5hYmxlZCB8fFxuICAgICAgICAgICAgKHRoaXMuaGFzVmlydHVhbFNjcm9sbCAmJiAodGhpcy5pc0J1c3kgfHwgdGhpcy5pZGxlKSlcbiAgICAgICAgICAgID8gY29sdW1uc0NvbmRpdGlvblxuICAgICAgICAgICAgOiBjb2x1bW5zQ29uZGl0aW9uICYmIGRhdGFDb25kaXRpb247XG4gICAgfVxuXG4gICAgcHVibGljIGRhdGFUcmFja0J5KGluZGV4OiBudW1iZXIsIGl0ZW06IGFueSk6IGFueSB7XG4gICAgICAgIHJldHVybiBpdGVtID8gaXRlbS5pZCA6IGluZGV4O1xuICAgIH1cblxuICAgIHB1YmxpYyBjb2x1bW5UcmFja0J5KFxuICAgICAgICBpbmRleDogbnVtYmVyLFxuICAgICAgICBpdGVtOiBJVG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HJldHVybiB7XG4gICAgICAgICAgICAgICAgLi4uY29sdW1uLFxuICAgICAgICAgICAgICAgIHNvcnRhYmxlOlxuICAgICAgICAgICAgICAgICAgICB0aGlzLnNvcnRhYmxlU2V0W1xuICAgICAgICAgICAgICAgICAgICAgICAgY29sdW1uPy5mb3JtYXR0ZXI/LnByb3BlcnRpZXM/LmRhdGFGaWVsZElkcz8udmFsdWVcbiAgICAgICAgICAgICAgICAgICAgXSA/PyB0cnVlLFxuICAgICAgICAgICAgfTtcbiAgICAgICAgfSk7XG5cbiAgICAgICAgaWYgKGNvbHVtbnMubGVuZ3RoID4gMCAmJiBhbGxDb2x1bW5zSGF2ZVdpZHRoU3BlY2lmaWVkKSB7XG4gICAgICAgICAgICB0aGlzLmxvZ2dlci53YXJuKFxuICAgICAgICAgICAgICAgIGBDYW5ub3Qgc2V0IHdpZHRoIGZvciBhbGwgY29sdW1ucy4gUmVzZXR0aW5nIGxhc3QgY29sdW1uIHdpZHRoLmBcbiAgICAgICAgICAgICk7XG4gICAgICAgIH1cblxuICAgICAgICBpZiAodGhpcy5jb2x1bW5zLmxlbmd0aCAhPT0gY29sdW1ucy5sZW5ndGgpIHtcbiAgICAgICAgICAgIHRoaXMuY29sdW1ucyA9IFsuLi5jb2x1bW5zXTtcbiAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgIC8vIFRoaXMgT2JqZWN0LmFzc2lnbiBpcyBpbXBvcnRhbnQuIEl0IGhlbHBzIHRvIHRyYWNrIGNoYW5nZXMgaW4gY29sdW1uIGhlYWRlciBuYW1lc1xuICAgICAgICAgICAgdGhpcy5jb2x1bW5zLmZvckVhY2goKGMsIGkpID0+IHtcbiAgICAgICAgICAgICAgICBPYmplY3QuYXNzaWduKGMsIGNvbHVtbnNbaV0sIHt9KTtcbiAgICAgICAgICAgIH0pO1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgLyoqXG4gICAgICogVGFrZXMgdGFibGVEYXRhIGZyb20gYmFjay1lbmQsIGNvb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XG4gICAgICAgICAgICApO1xuICAgICAgICAgICAgcmV0dXJuIFtdO1xuICAgICAgICB9XG5cbiAgICAgICAgcmV0dXJuIHRhYmxlRGF0YS5tYXAoKHJlY29yZCkgPT4ge1xuICAgICAgICAgICAgY29uc3Qgcm93ID0gY29sdW1ucy5yZWR1Y2UoXG4gICAgICAgICAgICAgICAgKHJlc3VsdDogUmVjb3JkPHN0cmluZywgYW55PiwgY29sdW1uKSA9PiB7XG4gICAgICAgICAgICAgICAgICAgIGNvbnN0IGRhdGFGaWVsZElkcyA9XG4gICAgICAgICAgICAgICAgICAgICAgICBjb2x1bW4uZm9ybWF0dGVyPy5wcm9wZXJ0aWVzPy5kYXRhRmllbGRJZHM7XG4gICAgICAgICAgICAgICAgICAgIGlmICghZGF0YUZpZWxkSWRzKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gcmVzdWx0O1xuICAgICAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICAgICAgY29uc3QgZGF0YSA9IE9iamVjdC5rZXlzKGRhdGFGaWVsZElkcykucmVkdWNlKFxuICAgICAgICAgICAgICAgICAgICAgICAgKG1hcHBpbmc6IFJlY29yZDxzdHJpbmcsIGFueT4sIG5leHQpID0+IHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBtYXBwaW5nW25leHRdID0gcmVjb3JkW2RhdGFGaWVsZElkc1tuZXh0XV07XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIG1hcHBpbmc7XG4gICAgICAgICAgICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgICAgICAgICAgICAge31cbiAgICAgICAgICAgICAgICAgICAgKTtcblxuICAgICAgICAgICAgICAgICAgICByZXN1bHRbY29sdW1uLmlkXSA9IHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGRhdGEsXG4gICAgICAgICAgICAgICAgICAgICAgICAuLi5vbWl0KGNvbHVtbi5mb3JtYXR0ZXI/LnByb3BlcnRpZXMsIFwiZGF0YUZpZWxkSWRzXCIpLFxuICAgICAgICAgICAgICAgICAgICB9O1xuXG4gICAgICAgICAgICAgICAgICAgIHJldHVybiByZXN1bHQ7XG4gICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgICB7fVxuICAgICAgICAgICAgKTtcblxuICAgICAgICAgICAgLy8gd2Ugd2FudCB0byBpbmNsdWRlIG9yaWdpbmFsIHJlY29yZCBmb3Igcm93IGludGVyYWN0aW9uXG4gICAgICAgICAgICByb3cuX19yZWNvcmQgPSByZWNvcmQ7XG5cbiAgICAgICAgICAgIHJldHVybiByb3c7XG4gICAgICAgIH0pO1xuICAgIH1cblxuICAgIC8qKlxuICAgICAqIEhhbmRsZXMgY2hhbmdlIG9mIHNvcnRpbmcuIEdldHMgc29ydGVkIGNvbHVtbiBmcm9tIGNvbHVtbnMgYXJyYXkuXG4gICAgICogQHBhcmFtIGV2ZW50XG4gICAgICovXG4gICAgcHVibGljIG9uU29ydE9yZGVyQ2hhbmdlZChldmVudDogSVNvcnRlZEl0ZW0pOiB2b2lkIHtcbiAgICAgICAgdGhpcy5zb3J0ZWRDb2x1bW4gPSBldmVudDtcbiAgICAgICAgY29uc3QgY29sdW1uVG9Tb3J0ID0gdGhpcy5jb2x1bW5zLmZpbmQoXG4gICAgICAgICAgICAoY29sdW1uKSA9PiBjb2x1bW4uaWQgPT09IGV2ZW50LnNvcnRCeVxuICAgICAgICApO1xuICAgICAgICBpZiAoIWNvbHVtblRvU29ydCkge1xuICAgICAgICAgICAgcmV0dXJuO1xuICAgICAgICB9XG5cbiAgICAgICAgY29uc3QgZGF0YUZpZWxkSWRzID0gY29sdW1uVG9Tb3J0LmZvcm1hdHRlcj8ucHJvcGVydGllcz8uZGF0YUZpZWxkSWRzO1xuICAgICAgICBjb25zdCBzb3J0RmllbGQgPSBkYXRhRmllbGRJZHM/LnZhbHVlO1xuICAgICAgICBpZiAoIXNvcnRGaWVsZCkge1xuICAgICAgICAgICAgcmV0dXJuO1xuICAgICA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ZW5kYW50U29ydGluZztcblxuICAgICAgICByZXR1cm4gIWVxdWFsU29ydGluZ1N0YXRlO1xuICAgIH1cblxuICAgIC8qKlxuICAgICAqIFVwZGF0ZXMgdGFibGUgY29sdW1ucyBhbmQgbWFwcyB0YWJsZSBkYXRhLlxuICAgICAqL1xuICAgIHByaXZhdGUgdXBkYXRlVGFibGUoKSB7XG4gICAgICAgIGlmICh0aGlzLndpZGdldERhdGEgJiYgdGhpcy5kYXRhRmllbGRzICYmIHRoaXMuY29uZmlndXJhdGlvbi5jb2x1bW5zKSB7XG4gICAgICAgICAgICB0aGlzLnVwZGF0ZUNvbHVtbnModGhpcy5jb25maWd1cmF0aW9uKTtcbiAgICAgICAgICAgIHRoaXMuaWRsZSA9IGZhbHNlO1xuICAgICAgICAgICAgdGhpcy50YWJsZURhdGEgPSB0aGlzLm1hcFRhYmxlRGF0YShcbiAgICAgICAgICAgICAgICB0aGlzLndpZGdldERhdGEsXG4gICAgICAgICAgICAgICAgdGhpcy5jb25maWd1cmF0aW9uLmNvbHVtbnMsXG4gICAgICAgICAgICAgICAgdGhpcy5kYXRhRmllbGRzXG4gICAgICAgICAgICApO1xuICAgICAgICAgICAgdGhpcy50YWJsZVVwZGF0ZSQubmV4dCgpO1xuICAgICAgICAgICAgdGhpcy5jaGFuZ2VEZXRlY3Rvci5kZXRlY3RDaGFuZ2VzKCk7XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICAvKipcbiAgICAgKiBSZWdpc3RlcnMgc29ydGVyIGZpbHRlci5cbiAgICAgKi9cbiAgICBwcml2YXRlIHJlZ2lzdGVyU29ydGVyKCkge1xuICAgICAgICB0aGlzLmRhdGFTb3VyY2UucmVnaXN0ZXJDb21wb25lbnQoe1xuICAgICAgICAgICAgc29ydGVyOiB7XG4gICAgICAgICAgICAgICAgY29tcG9uZW50SW5zdGFuY2U6IHtcbiAgICAgICAgICAgICAgICAgICAgZ2V0RmlsdGVyczogKCkgPT5cbiAgICAgICAgICAgICAgICAgICA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zcz1cImZsZXgtcm93IGgtMTAwIG51aS10YWJsZS13aWRnZXQtY29udGFpbmVyXCJcbiAgICAgICAgW251aURlbGF5ZWRNb3VzZVByZXNlbmNlRGV0ZWN0aW9uXT1cIlxuICAgICAgICAgICAgZGVsYXllZE1vdXNlUHJlc2VuY2VEZXRlY3Rpb25FbmFibGVkXG4gICAgICAgIFwiXG4gICAgICAgIFtkZWxheV09XCJjb25maWd1cmF0aW9uLnNjcm9sbEFjdGl2YXRpb25EZWxheU1zXCJcbiAgICAgICAgW21vdXNlUHJlc2VudFN1YmplY3RdPVwibW91c2VQcmVzZW50JFwiXG4gICAgPlxuICAgICAgICA8IS0tIE5vdGU6IFVzaW5nIGlubGluZSBzdHlsZSB0byBsZXQgdGFibGVTdGlja3lIZWFkZXIgcGljayB0aGUgYWN0dWFsIGhlaWdodCBhbmQgdXBkYXRlIGl0IHdpdGggaGVhZGVyIGhlaWdodCB3aGVuIGl0IGlzIGRldGFjaGVkIC0tPlxuICAgICAgICA8Y2RrLXZpcnR1YWwtc2Nyb2xsLXZpZXdwb3J0XG4gICAgICAgICAgICBjbGFzcz1cImNhbGMtaGVpZ2h0XCJcbiAgICAgICAgICAgIHN0eWxlPVwiaGVpZ2h0OiBjYWxjKDEwMCUgLSAycHgpXCJcbiAgICAgICAgICAgIHRhYmxlU3RpY2t5SGVhZGVyXG4gICAgICAgICAgICBbaXRlbVNpemVdPVwicm93SGVpZ2h0XCJcbiAgICAgICAgICAgIFtuZ0NsYXNzXT1cIntcbiAgICAgICAgICAgICAgICAndmlydHVhbC1zY3JvbGwtZGlzYWJsZWQnOlxuICAgICAgICAgICAgICAgICAgICAobW91c2VQcmVzZW50JCB8IGFzeW5jKSA9PT0gZmFsc2UgJiZcbiAgICAgICAgICAgICAgICAgICAgZGVsYXllZE1vdXNlUHJlc2VuY2VEZXRlY3Rpb25FbmFibGVkXG4gICAgICAgICAgICB9XCJcbiAgICAgICAgPlxuICAgICAgICAgICAgPHRhYmxlXG4gICAgICAgICAgICAgICAgY2xhc3M9XCJudWktdGFibGUtd2lkZ2V0X19tYWluXCJcbiAgICAgICAgICAgICAgICBudWktdGFibGVcbiAgICAgICAgICAgICAgICBbcmVvcmRlcmFibGVdPVwiY29uZmlndXJhdGlvbj8ucmVvcmRlcmFibGVcIlxuICAgICAgICAgICAgICAgIFtzb3J0YWJsZV09XCJzb3J0YWJsZVwiXG4gICAgICAgICAgICAgICAgW3RvdGFsSXRlbXNdPVwidG90YWxJdGVtc1wiXG4gICAgICAgICAgICAgICAgW2RhdGFTb3VyY2VdPVwidmlydHVhbFNjcm9sbEFkZG9uLnZpc2libGVJdGVtc1wiXG4gICAgICAgICAgICAgICAgW3NvcnRlZENvbHVtbl09XCJzb3J0ZWRDb2x1bW5cIlxuICAgICAgICAgICAgICAgIChzb3J0T3JkZXJDaGFuZ2VkKT1cIm9uU29ydE9yZGVyQ2hhbmdlZCgkZXZlbnQpXCJcbiAgICAgICAgICAgICAgICBbdHJhY2tCeV09XCJkYXRhVHJhY2tCeVwiXG4gICAgICAgICAgICAgICAgI3dpZGdldFRhYmxlXG4gICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgPG5nLWNvbnRhaW5lclxuICAgICAgICAgICAgICAgICAgICBudWlDb2x1bW5EZWY9XCJ7eyBjb2x1bW4uaWQgfX1cIlxuICAgICAgICAgICAgICAgICAgICAqbmdGb3I9XCJsZXQgY29sdW1uIG9mIGNvbHVtbnM7IHRyYWNrQnk6IGNvbHVtblRyYWNrQnlcIlxuICAgICAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICAgICAgPHRoXG4gICAgICAgICAgICAgICAgICAgICAgICBudWktaGVhZGVyLWNlbGxcbiAgICAgICAgICAgICAgICAgICAgICAgIFtpc0NvbHVtblNvcnRpbmdEaXNhYmxlZF09XCIhY29sdW1uLnNvcnRhYmxlXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICpudWlIZWFkZXJDZWxsRGVmXG4gICAgICAgICAgICAgICAgICAgICAgICBbc3R5bGUud2lkdGgucHhdPVwiY29sdW1uc1dpZHRoTWFwLmdldChjb2x1bW4uaWQpXCJcbiAgICAgICAgICAgICAgICAgICAgICAgIFtzdHlsZS5tYXgtd2lkdGgucHhdPVwiY29sdW1uc1dpZHRoTWFwLmdldChjb2x1bW4uaWQpXCJcbiAgICAgICAgICAgICAgICAgICAgICAgIFtzdHlsZS5taW4td2lkdGgucHhdPVwiY29sdW1uc1dpZHRoTWFwLmdldChjb2x1bW4uaWQpXCJcbiAgICAgICAgICAgICAgICAgICAgICAgIFt0aXRsZV09XCJjb2x1bW4ubGFiZWxcIlxuICAgICAgICAgICAgICAgICAgICAgICAgW3Rvb2x0aXBUZXh0XT1cIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGhlYWRlclRvb2x0aXBzRW5hYmxlZCA/IGNvbHVtbi5sYWJlbCA6IHVuZGVmaW5lZFxuICAgICAgICAgICAgICAgICAgICAgICAgXCJcbiAgICAgICAgICAgICAgICAgICAgICAgIFthbGlnbm1lbnRdPVwiZ2V0Q29sdW1uQWxpZ25tZW50KGNvbHVtbilcIlxuICAgICAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgICAgICB7eyBjb2x1bW4ubGFiZWwgfX1cbiAgICAgICAgICAgICAgICAgICAgPC90aD5cbiAgICAgICAgICAgICAgICAgICAgPG5nLWNvbnRhaW5lcj5cbiAgICAgICAgICAgICAgICAgICAgICAgIDx0ZFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIG51aS1jZWxsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgKm51aUNlbGxEZWY9XCJsZXQgZWxlbWVudFwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgW3N0eWxlLndpZHRoLnB4XT1cImNvbHVtbnNXaWR0aE1hcC5nZXQoY29sdW1uLmlkKVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgW3N0eWxlLm1heC13aWR0aC5weF09XCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY29sdW1uc1dpZHRoTWFwLmdldChjb2x1bW4uaWQpXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBbc3R5bGUubWluLXdpZHRoLnB4XT1cIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb2x1bW5zV2lkdGhNYXAuZ2V0KGNvbHVtbi5pZClcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIFthbGlnbm1lbnRdPVwiZ2V0Q29sdW1uQWxpZ25tZW50KGNvbHVtbilcIlxuICAgICAgICAgICAgICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxuZy1jb250YWluZXJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbnVpQ29tcG9uZW50UG9ydGFsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvbXBvbmVudElkPVwiZm9ybWF0dGVyXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKm5nSWY9XCJlbGVtZW50W2NvbHVtbi5pZF0gJiYgY29sdW1uLmZvcm1hdHRlclwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtjb21wb25lbnRUeXBlXT1cIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY29sdW1uLmZvcm1hdHRlcj8uY29tcG9uZW50VHlwZVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbcHJvcGVydGllc109XCJlbGVtZW50W2NvbHVtbi5pZF1cIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAjY29tcG9uZW50UG9ydGFsPVwibnVpQ29tcG9uZW50UG9ydGFsXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxuZy10ZW1wbGF0ZVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW2Nka1BvcnRhbE91dGxldF09XCJjb21wb25lbnRQb3J0YWwucG9ydGFsXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIChhdHRhY2hlZCk9XCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb21wb25lbnRQb3J0YWwuYXR0YWNoZWQoJGV2ZW50KVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPjwvbmctdGVtcGxhdGU+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9uZy1jb250YWluZXI+XG4gICAgICAgICAgICAgICAgICAgICAgICA8L3RkPlxuICAgICAgICAgICAgICAgICAgICA8L25nLWNvbnRhaW5lcj5cbiAgICAgICAgICAgICAgICA8L25nLWNvbnRhaW5lcj5cbiAgICAgICAgICAgICAgICA8dHIgbnVpLWhlYWRlci1yb3cgKm51aUhlYWRlclJvd0RlZj1cImhlYWRlcnNcIj48L3RyPlxuICAgICAgICAgICAgICAgIDxuZy10ZW1wbGF0ZVxuICAgICAgICAgICAgICAgICAgICBudWlSb3dEZWZcbiAgICAgICAgICAgICAgICAgICAgY2RrVmlydHVhbEZvclxuICAgICAgICAgICAgICAgICAgICBsZXQtcm93XG4gICAgICAgICAgICAgICAgICAgIFtudWlSb3dEZWZDb2x1bW5zXT1cImhlYWRlcnNcIlxuICAgICAgICAgICAgICAgICAgICBbY2RrVmlydHVhbEZvck9mXT1cInRhYmxlRGF0YVwiXG4gICAgICAgICAgICAgICAgICAgIFtjZGtWaXJ0dWFsRm9yVHJhY2tCeV09XCJkYXRhVHJhY2tCeVwiXG4gICAgICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgICAgICA8dHJcbiAgICAgICAgICAgICAgICAgICAgICAgIG51aS1yb3dcbiAgICAgICAgICAgICAgICAgICAgICAgIChjbGljayk9XCJvbkludGVyYWN0aW9uKHJvdywgJGV2ZW50KVwiXG4gICAgICAgICAgICAgICAgICAgICAgICBbYXR0ci5yb2xlXT1cImludGVyYWN0aXZlID8gJ2J1dHRvbicgOiAnJ1wiXG4gICAgICAgICAgICAgICAgICAgICAgICBkZW5zaXR5PVwidGlueVwiXG4gICAgICAgICAgICAgICAgICAgID48L3RyPlxuICAgICAgICAgICAgICAgIDwvbmctdGVtcGxhdGU+XG4gICAgICAgICAgICA8L3RhYmxlPlxuICAgICAgICA8L2Nkay12aXJ0dWFsLXNjcm9sbC12aWV3cG9ydD5cbiAgICA8L2Rpdj5cbjwvZGl2PlxuIl19