@nova-ui/dashboards 15.0.11 → 16.0.0-5723
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.
- package/{esm2020 → esm2022}/lib/common/common.module.mjs +5 -5
- package/{esm2020 → esm2022}/lib/common/components/preview-overlay/preview-overlay.component.mjs +7 -7
- package/esm2022/lib/common/components/widget-error/widget-error.component.mjs +54 -0
- package/{esm2020 → esm2022}/lib/common/pipes/dashboard-unit-conversion-pipe.mjs +4 -4
- package/esm2022/lib/components/dashboard/dashboard.component.mjs +222 -0
- package/esm2022/lib/components/embedded-content/embedded-content.component.mjs +95 -0
- package/esm2022/lib/components/kpi-widget/kpi.component.mjs +129 -0
- package/{esm2020 → esm2022}/lib/components/layouts/base-layout.mjs +4 -4
- package/esm2022/lib/components/layouts/stack/stack.component.mjs +65 -0
- package/esm2022/lib/components/layouts/tiles/tiles.component.mjs +99 -0
- package/esm2022/lib/components/list-widget/list-elements/list-group-item/list-group-item.component.mjs +62 -0
- package/esm2022/lib/components/list-widget/list-elements/list-leaf-item/list-leaf-item.component.mjs +76 -0
- package/esm2022/lib/components/list-widget/list-elements/list-navigation-bar/list-navigation-bar.component.mjs +60 -0
- package/esm2022/lib/components/list-widget/list-widget.component.mjs +109 -0
- package/esm2022/lib/components/loading/loading.component.mjs +51 -0
- package/esm2022/lib/components/proportional-widget/proportional-donut-content/proportional-donut-content.component.mjs +152 -0
- package/esm2022/lib/components/proportional-widget/proportional-widget.component.mjs +333 -0
- package/{esm2020 → esm2022}/lib/components/providers/data-source-adapter.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/providers/drilldown-data-source-adapter.mjs +2 -3
- package/{esm2020 → esm2022}/lib/components/providers/event-bus-debugger.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/providers/interaction/interaction-handler.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/providers/interaction/url-interaction-handler.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/providers/kpi-color-prioritizer.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/providers/kpi-data-source-adapter.mjs +2 -3
- package/{esm2020 → esm2022}/lib/components/providers/kpi-scale-sync-broker.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/providers/kpi-status-content-fallback-adapter.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/providers/loading-adapter.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/providers/pizzagna-broadcaster.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/providers/refresher-settings.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/providers/refresher.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/providers/status-content-fallback-adapter.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/providers/table-data-source-adapter.mjs +2 -3
- package/{esm2020 → esm2022}/lib/components/providers/timeseries-data-source-adapter.mjs +2 -3
- package/esm2022/lib/components/risk-score-tile/risk-score-tile.component.mjs +115 -0
- package/{esm2020 → esm2022}/lib/components/table-widget/addons/paginator-feature-addon.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/table-widget/addons/search-feature-addon.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/table-widget/addons/virtual-scroll-feature-addon.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/table-widget/delayed-mouse-presence-detection.directive.mjs +4 -4
- package/esm2022/lib/components/table-widget/table-widget.component.mjs +552 -0
- package/esm2022/lib/components/template-load-error/template-load-error.component.mjs +38 -0
- package/esm2022/lib/components/time-frame-selection/timeframe-selection.component.mjs +127 -0
- package/esm2022/lib/components/timeseries-widget/chart-presets/status-bar-chart/status-bar-chart.component.mjs +237 -0
- package/{esm2020 → esm2022}/lib/components/timeseries-widget/chart-presets/timeseries-chart.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/line-chart.component.mjs +6 -6
- package/esm2022/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-area-chart.component.mjs +68 -0
- package/esm2022/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-bar-chart.component.mjs +84 -0
- package/esm2022/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-percentage-area-chart.component.mjs +62 -0
- package/{esm2020 → esm2022}/lib/components/timeseries-widget/chart-presets/xy-chart/xy-chart.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/timeseries-widget/timeseries-chart-preset.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/timeseries-widget/timeseries-inspection-menu/timeseries-inspection-menu.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/timeseries-widget/timeseries-scales.service.mjs +4 -4
- package/esm2022/lib/components/timeseries-widget/timeseries-widget.component.mjs +111 -0
- package/esm2022/lib/components/widget/widget-body/widget-body.component.mjs +88 -0
- package/esm2022/lib/components/widget/widget-body-content/widget-body-content.component.mjs +75 -0
- package/esm2022/lib/components/widget/widget-header/widget-header.component.mjs +202 -0
- package/{esm2020 → esm2022}/lib/components/widget/widget.component.mjs +4 -4
- package/esm2022/lib/components/widget-search/widget-search.component.mjs +111 -0
- package/esm2022/lib/configurator/components/color-picker/color-picker.component.mjs +183 -0
- package/{esm2020 → esm2022}/lib/configurator/components/color-picker/color.service.mjs +4 -4
- package/esm2022/lib/configurator/components/configurator/configurator.component.mjs +116 -0
- package/{esm2020 → esm2022}/lib/configurator/components/drop-area/drop-area.component.mjs +4 -4
- package/esm2022/lib/configurator/components/form-stack/form-stack.component.mjs +86 -0
- package/esm2022/lib/configurator/components/formatters/donut-content-percentage-formatter/donut-content-percentage-configuration.component.mjs +43 -0
- package/esm2022/lib/configurator/components/formatters/donut-content-percentage-formatter/donut-content-percentage-formatter.component.mjs +84 -0
- package/esm2022/lib/configurator/components/formatters/donut-content-raw-formatter/donut-content-raw-formatter.component.mjs +88 -0
- package/esm2022/lib/configurator/components/formatters/donut-content-sum-formatter/donut-content-sum-formatter.component.mjs +46 -0
- package/esm2022/lib/configurator/components/formatters/icon-formatter/icon-formatter.component.mjs +84 -0
- package/esm2022/lib/configurator/components/formatters/link-formatter/link-formatter.component.mjs +61 -0
- package/esm2022/lib/configurator/components/formatters/percentage-formatter/percentage-formatter.component.mjs +34 -0
- package/esm2022/lib/configurator/components/formatters/raw-formatter/raw-formatter.component.mjs +43 -0
- package/esm2022/lib/configurator/components/formatters/si-units-formatter/si-units-formatter.component.mjs +119 -0
- package/esm2022/lib/configurator/components/formatters/status-with-icon-formatter/status-with-icon-formatter.component.mjs +105 -0
- package/{esm2020 → esm2022}/lib/configurator/components/formatters/widget-formatter-configurators/donut-formatter-configurator.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/configurator/components/heading/configurator-heading.component.mjs +4 -4
- package/esm2022/lib/configurator/components/items-dynamic/items-dynamic.component.mjs +148 -0
- package/esm2022/lib/configurator/components/preview-placeholder/preview-placeholder.component.mjs +31 -0
- package/esm2022/lib/configurator/components/widget-cloner/widget-cloner.component.mjs +169 -0
- package/{esm2020 → esm2022}/lib/configurator/components/widget-configurator-section/widget-configurator-section-coordinator.service.mjs +4 -4
- package/esm2022/lib/configurator/components/widget-configurator-section/widget-configurator-section.component.mjs +83 -0
- package/esm2022/lib/configurator/components/widget-editor/widget-editor.component.mjs +146 -0
- package/{esm2020 → esm2022}/lib/configurator/components/widget-editor-accordion/widget-editor-accordion-header/widget-editor-accordion-header.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/configurator/components/widget-editor-accordion/widget-editor-accordion.component.mjs +4 -4
- package/esm2022/lib/configurator/components/widgets/configurator-items/background-color-rules-configuration/background-color-rules-configuration.component.mjs +122 -0
- package/esm2022/lib/configurator/components/widgets/configurator-items/data-source-configuration/data-source-configuration.component.mjs +153 -0
- package/esm2022/lib/configurator/components/widgets/configurator-items/data-source-configuration-v2/data-source-configuration-v2.component.mjs +198 -0
- package/esm2022/lib/configurator/components/widgets/configurator-items/data-source-error/data-source-error.component.mjs +74 -0
- package/esm2022/lib/configurator/components/widgets/configurator-items/data-source-error/table/table-data-source-error.component.mjs +41 -0
- package/esm2022/lib/configurator/components/widgets/configurator-items/embedded-content-configuration/embedded-content-configuration.component.mjs +133 -0
- package/esm2022/lib/configurator/components/widgets/configurator-items/info-message-configuration/info-message-configuration.component.mjs +44 -0
- package/esm2022/lib/configurator/components/widgets/configurator-items/kpi-description-configuration/kpi-description-configuration.component.mjs +107 -0
- package/{esm2020 → esm2022}/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/refresh-rate-configurator.component.mjs +15 -15
- package/esm2022/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresher-configuration.component.mjs +170 -0
- package/esm2022/lib/configurator/components/widgets/configurator-items/risk-score-tile-description-configuration/risk-score-tile-description-configuration.component.mjs +106 -0
- package/esm2022/lib/configurator/components/widgets/configurator-items/thresholds-configuration/thresholds-configuration.component.mjs +140 -0
- package/esm2022/lib/configurator/components/widgets/configurator-items/timeseries-metadata-configuration/timeseries-metadata-configuration.component.mjs +151 -0
- package/esm2022/lib/configurator/components/widgets/configurator-items/title-and-description-configuration/title-and-description-configuration.component.mjs +91 -0
- package/esm2022/lib/configurator/components/widgets/drilldown/entity-formatting-configuration/entity-formatting-configuration.component.mjs +68 -0
- package/esm2022/lib/configurator/components/widgets/drilldown/grouping-configuration/grouping-configuration.component.mjs +154 -0
- package/esm2022/lib/configurator/components/widgets/kpi/kpi-tiles-configuration/kpi-tiles-configuration.component.mjs +92 -0
- package/esm2022/lib/configurator/components/widgets/proportional/aggregators-configurators/aggregator-configurator/aggregator-configurator.component.mjs +72 -0
- package/esm2022/lib/configurator/components/widgets/proportional/aggregators-configurators/field-mapper-aggregator-configurator/field-mapper-aggregator-configurator.component.mjs +87 -0
- package/esm2022/lib/configurator/components/widgets/proportional/chart-options-editor/proportional-chart-options-editor.component.mjs +166 -0
- package/esm2022/lib/configurator/components/widgets/proportional/chart-options-editor-v2/proportional-chart-options-editor-v2.component.mjs +108 -0
- package/esm2022/lib/configurator/components/widgets/proportional/donut-content-configuration/donut-content-configuration.component.mjs +167 -0
- package/esm2022/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/risk-score-tiles-configuration.component.mjs +92 -0
- package/esm2022/lib/configurator/components/widgets/table/columns-editor/column-configuration/description-configuration/description-configuration.component.mjs +80 -0
- package/{esm2020 → esm2022}/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/formatter-configurator.component.mjs +4 -4
- package/esm2022/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/link-configurator/link-configurator.component.mjs +53 -0
- package/esm2022/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/value-selector/value-selector.component.mjs +43 -0
- package/esm2022/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/presentation-configuration.component.mjs +259 -0
- package/esm2022/lib/configurator/components/widgets/table/columns-editor/table-columns-configuration.component.mjs +264 -0
- package/esm2022/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/description-configuration/description-configuration-v2.component.mjs +123 -0
- package/esm2022/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/presentation-configuration/presentation-configuration-v2.component.mjs +309 -0
- package/esm2022/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/table-column-configuration/table-column-configuration.component.mjs +109 -0
- package/esm2022/lib/configurator/components/widgets/table/columns-editor-v2/table-columns-configuration-v2.component.mjs +250 -0
- package/esm2022/lib/configurator/components/widgets/table/filters-editor/table-filters-editor.component.mjs +122 -0
- package/esm2022/lib/configurator/components/widgets/table/scrollType-editor/scroll-type-editor.component.mjs +197 -0
- package/{esm2020 → esm2022}/lib/configurator/components/widgets/table/scrollType-editor/scroll-type-editor.service.mjs +4 -4
- package/esm2022/lib/configurator/components/widgets/timeseries/timeseries-series-collection-configuration/timeseries-series-collection-configuration.component.mjs +111 -0
- package/esm2022/lib/configurator/components/widgets/timeseries/timeseries-tile-description-configuration/timeseries-tile-description-configuration.component.mjs +68 -0
- package/esm2022/lib/configurator/components/widgets/timeseries/timeseries-tile-indicator-data-configuration/timeseries-tile-indicator-data-configuration.component.mjs +107 -0
- package/esm2022/lib/configurator/components/wizard/dashwiz/dashwiz-buttons.component.mjs +174 -0
- package/esm2022/lib/configurator/components/wizard/dashwiz/dashwiz.component.mjs +344 -0
- package/{esm2020 → esm2022}/lib/configurator/components/wizard/dashwiz/dashwiz.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/configurator/components/wizard/dashwiz-step/dashwiz-step.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/configurator/configurator.module.mjs +205 -205
- package/{esm2020 → esm2022}/lib/configurator/pipe/add-data.pipe.mjs +4 -4
- package/{esm2020 → esm2022}/lib/configurator/pipe/pizzagna-root.pipe.mjs +4 -4
- package/{esm2020 → esm2022}/lib/configurator/pipe/widget-configurator-section-header.pipe.mjs +4 -4
- package/{esm2020 → esm2022}/lib/configurator/pipe/widget-editor-accordion-form-state.pipe.mjs +4 -4
- package/esm2022/lib/configurator/pipe/widget-editor-accordion-header-icon.pipe.mjs +48 -0
- package/{esm2020 → esm2022}/lib/configurator/services/configurator-data-source-manager.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/configurator/services/configurator-heading.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/configurator/services/configurator.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/configurator/services/converters/base-converter.mjs +4 -4
- package/{esm2020 → esm2022}/lib/configurator/services/converters/kpi/kpi-section-converter/kpi-section-converter.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/configurator/services/converters/kpi/kpi-tiles-converter.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/configurator/services/converters/proportional/proportional-widget-chart-options-converter.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/configurator/services/converters/shared/generic-array-converter/generic-array-converter.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/configurator/services/converters/shared/generic-converter/generic-converter.service.mjs +4 -4
- package/esm2022/lib/configurator/services/converters/shared/title-and-description-converter/title-and-description-converter.service.mjs +64 -0
- package/{esm2020 → esm2022}/lib/configurator/services/converters/table/table-columns-converter.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/configurator/services/converters/table/table-filters-converter.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/configurator/services/converters/table/table-scroll-type-converter.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/configurator/services/converters/timeseries/timeseries-metadata-converter.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/configurator/services/converters/timeseries/timeseries-series-converter.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/configurator/services/converters/timeseries/timeseries-tile-indicator-data-converter.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/configurator/services/kpi-widget-color.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/configurator/services/preview.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/configurator/services/timeframe-serialization.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/configurator/services/widget-cloner.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/configurator/services/widget-editor.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/dashboards.module.mjs +120 -120
- package/{esm2020 → esm2022}/lib/directives/gridster-item-widget-id/gridster-item-widget-id.directive.mjs +4 -4
- package/{esm2020 → esm2022}/lib/directives/widget-editor/widget-editor.directive.mjs +4 -4
- package/esm2022/lib/pizzagna/components/pizzagna/pizzagna.component.mjs +134 -0
- package/{esm2020 → esm2022}/lib/pizzagna/directives/component-portal/component-portal.directive.mjs +4 -4
- package/{esm2020 → esm2022}/lib/pizzagna/pizzagna.module.mjs +5 -5
- package/{esm2020 → esm2022}/lib/pizzagna/services/component-portal.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/pizzagna/services/component-registry.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/pizzagna/services/dynamic-component-creator.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/pizzagna/services/pizzagna.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/services/category-chart-util.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/services/event-registry.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/services/kpi-color-comparators-registry.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/services/proportional-content-aggregators-registry.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/services/provider-registry.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/services/registry-service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/services/table-formatter-registry.service.mjs +16 -16
- package/{esm2020 → esm2022}/lib/services/url-interaction.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/services/widget-configuration.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/services/widget-removal.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/services/widget-to-dashboard-event-proxy.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/services/widget-types.service.mjs +4 -4
- package/{fesm2020 → fesm2022}/nova-ui-dashboards.mjs +6399 -1264
- package/{fesm2020 → fesm2022}/nova-ui-dashboards.mjs.map +1 -1
- package/lib/common/components/widget-error/widget-error.component.d.ts +1 -1
- package/lib/components/dashboard/dashboard.component.d.ts +1 -1
- package/lib/components/embedded-content/embedded-content.component.d.ts +1 -1
- package/lib/components/kpi-widget/kpi.component.d.ts +1 -1
- package/lib/components/layouts/stack/stack.component.d.ts +1 -1
- package/lib/components/layouts/tiles/tiles.component.d.ts +1 -1
- package/lib/components/list-widget/list-elements/list-group-item/list-group-item.component.d.ts +1 -1
- package/lib/components/list-widget/list-elements/list-leaf-item/list-leaf-item.component.d.ts +1 -1
- package/lib/components/list-widget/list-elements/list-navigation-bar/list-navigation-bar.component.d.ts +1 -1
- package/lib/components/list-widget/list-widget.component.d.ts +1 -1
- package/lib/components/loading/loading.component.d.ts +1 -1
- package/lib/components/proportional-widget/proportional-donut-content/proportional-donut-content.component.d.ts +1 -1
- package/lib/components/proportional-widget/proportional-widget.component.d.ts +1 -1
- package/lib/components/risk-score-tile/risk-score-tile.component.d.ts +1 -1
- package/lib/components/table-widget/delayed-mouse-presence-detection.directive.d.ts +1 -1
- package/lib/components/table-widget/table-widget.component.d.ts +1 -1
- package/lib/components/time-frame-selection/timeframe-selection.component.d.ts +1 -1
- package/lib/components/timeseries-widget/chart-presets/timeseries-chart.component.d.ts +1 -1
- package/lib/components/timeseries-widget/timeseries-inspection-menu/timeseries-inspection-menu.component.d.ts +1 -1
- package/lib/components/timeseries-widget/timeseries-widget.component.d.ts +1 -1
- package/lib/components/widget/widget-body/widget-body.component.d.ts +1 -1
- package/lib/components/widget/widget-body-content/widget-body-content.component.d.ts +1 -1
- package/lib/components/widget/widget-header/widget-header.component.d.ts +1 -1
- package/lib/components/widget/widget.component.d.ts +1 -1
- package/lib/components/widget-search/widget-search.component.d.ts +1 -1
- package/lib/configurator/components/color-picker/color-picker.component.d.ts +1 -1
- package/lib/configurator/components/configurator/configurator.component.d.ts +1 -1
- package/lib/configurator/components/form-stack/form-stack.component.d.ts +1 -1
- package/lib/configurator/components/formatters/donut-content-percentage-formatter/donut-content-percentage-formatter.component.d.ts +1 -1
- package/lib/configurator/components/formatters/donut-content-raw-formatter/donut-content-raw-formatter.component.d.ts +1 -1
- package/lib/configurator/components/formatters/donut-content-sum-formatter/donut-content-sum-formatter.component.d.ts +1 -1
- package/lib/configurator/components/formatters/icon-formatter/icon-formatter.component.d.ts +1 -1
- package/lib/configurator/components/formatters/link-formatter/link-formatter.component.d.ts +1 -1
- package/lib/configurator/components/formatters/raw-formatter/raw-formatter.component.d.ts +1 -1
- package/lib/configurator/components/formatters/si-units-formatter/si-units-formatter.component.d.ts +1 -1
- package/lib/configurator/components/formatters/status-with-icon-formatter/status-with-icon-formatter.component.d.ts +1 -1
- package/lib/configurator/components/heading/configurator-heading.component.d.ts +1 -1
- package/lib/configurator/components/items-dynamic/items-dynamic.component.d.ts +1 -1
- package/lib/configurator/components/widget-cloner/widget-cloner.component.d.ts +1 -1
- package/lib/configurator/components/widget-configurator-section/widget-configurator-section.component.d.ts +1 -1
- package/lib/configurator/components/widget-editor/widget-editor.component.d.ts +1 -1
- package/lib/configurator/components/widget-editor-accordion/widget-editor-accordion-header/widget-editor-accordion-header.component.d.ts +1 -1
- package/lib/configurator/components/widget-editor-accordion/widget-editor-accordion.component.d.ts +1 -1
- package/lib/configurator/components/widgets/configurator-items/background-color-rules-configuration/background-color-rules-configuration.component.d.ts +1 -1
- package/lib/configurator/components/widgets/configurator-items/data-source-configuration/data-source-configuration.component.d.ts +1 -1
- package/lib/configurator/components/widgets/configurator-items/data-source-configuration-v2/data-source-configuration-v2.component.d.ts +1 -1
- package/lib/configurator/components/widgets/configurator-items/data-source-error/data-source-error.component.d.ts +1 -1
- package/lib/configurator/components/widgets/configurator-items/embedded-content-configuration/embedded-content-configuration.component.d.ts +1 -1
- package/lib/configurator/components/widgets/configurator-items/info-message-configuration/info-message-configuration.component.d.ts +1 -1
- package/lib/configurator/components/widgets/configurator-items/kpi-description-configuration/kpi-description-configuration.component.d.ts +1 -1
- package/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/refresh-rate-configurator.component.d.ts +1 -1
- package/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresher-configuration.component.d.ts +1 -1
- package/lib/configurator/components/widgets/configurator-items/risk-score-tile-description-configuration/risk-score-tile-description-configuration.component.d.ts +1 -1
- package/lib/configurator/components/widgets/configurator-items/thresholds-configuration/thresholds-configuration.component.d.ts +1 -1
- package/lib/configurator/components/widgets/configurator-items/timeseries-metadata-configuration/timeseries-metadata-configuration.component.d.ts +1 -1
- package/lib/configurator/components/widgets/configurator-items/title-and-description-configuration/title-and-description-configuration.component.d.ts +1 -1
- package/lib/configurator/components/widgets/drilldown/entity-formatting-configuration/entity-formatting-configuration.component.d.ts +1 -1
- package/lib/configurator/components/widgets/drilldown/grouping-configuration/grouping-configuration.component.d.ts +1 -1
- package/lib/configurator/components/widgets/kpi/kpi-tiles-configuration/kpi-tiles-configuration.component.d.ts +1 -1
- package/lib/configurator/components/widgets/proportional/aggregators-configurators/aggregator-configurator/aggregator-configurator.component.d.ts +1 -1
- package/lib/configurator/components/widgets/proportional/aggregators-configurators/field-mapper-aggregator-configurator/field-mapper-aggregator-configurator.component.d.ts +1 -1
- package/lib/configurator/components/widgets/proportional/chart-options-editor/proportional-chart-options-editor.component.d.ts +1 -1
- package/lib/configurator/components/widgets/proportional/chart-options-editor-v2/proportional-chart-options-editor-v2.component.d.ts +1 -1
- package/lib/configurator/components/widgets/proportional/donut-content-configuration/donut-content-configuration.component.d.ts +1 -1
- package/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/risk-score-tiles-configuration.component.d.ts +1 -1
- package/lib/configurator/components/widgets/table/columns-editor/column-configuration/description-configuration/description-configuration.component.d.ts +1 -1
- package/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/presentation-configuration.component.d.ts +1 -1
- package/lib/configurator/components/widgets/table/columns-editor/table-columns-configuration.component.d.ts +1 -1
- package/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/description-configuration/description-configuration-v2.component.d.ts +1 -1
- package/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/presentation-configuration/presentation-configuration-v2.component.d.ts +1 -1
- package/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/table-column-configuration/table-column-configuration.component.d.ts +1 -1
- package/lib/configurator/components/widgets/table/columns-editor-v2/table-columns-configuration-v2.component.d.ts +1 -1
- package/lib/configurator/components/widgets/table/filters-editor/table-filters-editor.component.d.ts +1 -1
- package/lib/configurator/components/widgets/table/scrollType-editor/scroll-type-editor.component.d.ts +1 -1
- package/lib/configurator/components/widgets/timeseries/timeseries-series-collection-configuration/timeseries-series-collection-configuration.component.d.ts +1 -1
- package/lib/configurator/components/widgets/timeseries/timeseries-tile-description-configuration/timeseries-tile-description-configuration.component.d.ts +1 -1
- package/lib/configurator/components/widgets/timeseries/timeseries-tile-indicator-data-configuration/timeseries-tile-indicator-data-configuration.component.d.ts +1 -1
- package/lib/configurator/components/wizard/dashwiz/dashwiz-buttons.component.d.ts +1 -1
- package/lib/configurator/components/wizard/dashwiz/dashwiz.component.d.ts +1 -1
- package/lib/configurator/components/wizard/dashwiz-step/dashwiz-step.component.d.ts +1 -1
- package/lib/directives/gridster-item-widget-id/gridster-item-widget-id.directive.d.ts +1 -1
- package/lib/directives/widget-editor/widget-editor.directive.d.ts +1 -1
- package/lib/pizzagna/components/pizzagna/pizzagna.component.d.ts +1 -1
- package/lib/pizzagna/directives/component-portal/component-portal.directive.d.ts +1 -1
- package/package.json +7 -13
- package/sdk/atoms/spec/configurator/accordion.atom.js.map +1 -1
- package/sdk/atoms/spec/configurator/configurator-section.atom.js.map +1 -1
- package/sdk/atoms/spec/configurator/configurator.atom.js.map +1 -1
- package/sdk/atoms/spec/configurator/dashboard-wizard.atom.js.map +1 -1
- package/sdk/atoms/spec/dashboard.atom.js.map +1 -1
- package/sdk/atoms/spec/timeseries/legend-series.atom.js.map +1 -1
- package/sdk/atoms/spec/timeseries/timeseries.atom.js.map +1 -1
- package/sdk/atoms/spec/virtual-dashboards/drilldown-widget-test/drilldown-widget-test.component.js +4 -6
- package/sdk/atoms/spec/virtual-dashboards/drilldown-widget-test/drilldown-widget-test.component.js.map +1 -1
- package/sdk/atoms/spec/widget-header.atom.js.map +1 -1
- package/sdk/atoms/spec/widget.atom.js.map +1 -1
- package/sdk/atoms/src/lib/common/common.module.js +2 -3
- package/sdk/atoms/src/lib/common/common.module.js.map +1 -1
- package/sdk/atoms/src/lib/common/components/preview-overlay/preview-overlay.component.js +2 -3
- package/sdk/atoms/src/lib/common/components/preview-overlay/preview-overlay.component.js.map +1 -1
- package/sdk/atoms/src/lib/common/components/widget-error/widget-error.component.js +2 -3
- package/sdk/atoms/src/lib/common/components/widget-error/widget-error.component.js.map +1 -1
- package/sdk/atoms/src/lib/common/pipes/dashboard-unit-conversion-pipe.js +2 -3
- package/sdk/atoms/src/lib/common/pipes/dashboard-unit-conversion-pipe.js.map +1 -1
- package/sdk/atoms/src/lib/components/dashboard/dashboard.component.js +2 -3
- package/sdk/atoms/src/lib/components/dashboard/dashboard.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/embedded-content/embedded-content.component.js +2 -3
- package/sdk/atoms/src/lib/components/embedded-content/embedded-content.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/kpi-widget/kpi.component.js +2 -3
- package/sdk/atoms/src/lib/components/kpi-widget/kpi.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/kpi-widget/types.js +1 -1
- package/sdk/atoms/src/lib/components/kpi-widget/types.js.map +1 -1
- package/sdk/atoms/src/lib/components/layouts/base-layout.js +2 -3
- package/sdk/atoms/src/lib/components/layouts/base-layout.js.map +1 -1
- package/sdk/atoms/src/lib/components/layouts/stack/stack.component.js +2 -3
- package/sdk/atoms/src/lib/components/layouts/stack/stack.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/layouts/tiles/tiles.component.js +2 -3
- package/sdk/atoms/src/lib/components/layouts/tiles/tiles.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/list-widget/list-elements/list-group-item/list-group-item.component.js +2 -3
- package/sdk/atoms/src/lib/components/list-widget/list-elements/list-group-item/list-group-item.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/list-widget/list-elements/list-leaf-item/list-leaf-item.component.js +2 -3
- package/sdk/atoms/src/lib/components/list-widget/list-elements/list-leaf-item/list-leaf-item.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/list-widget/list-elements/list-navigation-bar/list-navigation-bar.component.js +2 -3
- package/sdk/atoms/src/lib/components/list-widget/list-elements/list-navigation-bar/list-navigation-bar.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/list-widget/list-widget.component.js +2 -3
- package/sdk/atoms/src/lib/components/list-widget/list-widget.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/loading/loading.component.js +2 -3
- package/sdk/atoms/src/lib/components/loading/loading.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/proportional-widget/proportional-donut-content/proportional-donut-content.component.js +2 -3
- package/sdk/atoms/src/lib/components/proportional-widget/proportional-donut-content/proportional-donut-content.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/proportional-widget/proportional-widget.component.js +2 -3
- package/sdk/atoms/src/lib/components/proportional-widget/proportional-widget.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/proportional-widget/types.js +1 -1
- package/sdk/atoms/src/lib/components/proportional-widget/types.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/data-source-adapter.js +2 -3
- package/sdk/atoms/src/lib/components/providers/data-source-adapter.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/drilldown-data-source-adapter.js +2 -3
- package/sdk/atoms/src/lib/components/providers/drilldown-data-source-adapter.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/event-bus-debugger.js +2 -3
- package/sdk/atoms/src/lib/components/providers/event-bus-debugger.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/interaction/interaction-handler.js +2 -3
- package/sdk/atoms/src/lib/components/providers/interaction/interaction-handler.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/interaction/url-interaction-handler.js +2 -3
- package/sdk/atoms/src/lib/components/providers/interaction/url-interaction-handler.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/kpi-color-prioritizer.js +2 -3
- package/sdk/atoms/src/lib/components/providers/kpi-color-prioritizer.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/kpi-data-source-adapter.js +2 -3
- package/sdk/atoms/src/lib/components/providers/kpi-data-source-adapter.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/kpi-scale-sync-broker.js +2 -3
- package/sdk/atoms/src/lib/components/providers/kpi-scale-sync-broker.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/kpi-status-content-fallback-adapter.js +2 -3
- package/sdk/atoms/src/lib/components/providers/kpi-status-content-fallback-adapter.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/loading-adapter.js +2 -3
- package/sdk/atoms/src/lib/components/providers/loading-adapter.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/pizzagna-broadcaster.service.js +2 -3
- package/sdk/atoms/src/lib/components/providers/pizzagna-broadcaster.service.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/refresher-settings.service.js +2 -3
- package/sdk/atoms/src/lib/components/providers/refresher-settings.service.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/refresher.js +2 -3
- package/sdk/atoms/src/lib/components/providers/refresher.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/status-content-fallback-adapter.js +2 -3
- package/sdk/atoms/src/lib/components/providers/status-content-fallback-adapter.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/table-data-source-adapter.js +2 -3
- package/sdk/atoms/src/lib/components/providers/table-data-source-adapter.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/timeseries-data-source-adapter.js +2 -3
- package/sdk/atoms/src/lib/components/providers/timeseries-data-source-adapter.js.map +1 -1
- package/sdk/atoms/src/lib/components/risk-score-tile/risk-score-tile.component.js +2 -3
- package/sdk/atoms/src/lib/components/risk-score-tile/risk-score-tile.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/risk-score-tile/types.js +1 -1
- package/sdk/atoms/src/lib/components/risk-score-tile/types.js.map +1 -1
- package/sdk/atoms/src/lib/components/table-widget/addons/paginator-feature-addon.service.js +2 -3
- package/sdk/atoms/src/lib/components/table-widget/addons/paginator-feature-addon.service.js.map +1 -1
- package/sdk/atoms/src/lib/components/table-widget/addons/search-feature-addon.service.js +2 -3
- package/sdk/atoms/src/lib/components/table-widget/addons/search-feature-addon.service.js.map +1 -1
- package/sdk/atoms/src/lib/components/table-widget/addons/virtual-scroll-feature-addon.service.js +2 -3
- package/sdk/atoms/src/lib/components/table-widget/addons/virtual-scroll-feature-addon.service.js.map +1 -1
- package/sdk/atoms/src/lib/components/table-widget/delayed-mouse-presence-detection.directive.js +2 -3
- package/sdk/atoms/src/lib/components/table-widget/delayed-mouse-presence-detection.directive.js.map +1 -1
- package/sdk/atoms/src/lib/components/table-widget/table-widget.component.js +2 -3
- package/sdk/atoms/src/lib/components/table-widget/table-widget.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/table-widget/types.js +1 -1
- package/sdk/atoms/src/lib/components/table-widget/types.js.map +1 -1
- package/sdk/atoms/src/lib/components/template-load-error/template-load-error.component.js +2 -3
- package/sdk/atoms/src/lib/components/template-load-error/template-load-error.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/time-frame-selection/timeframe-selection.component.js +2 -3
- package/sdk/atoms/src/lib/components/time-frame-selection/timeframe-selection.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/status-bar-chart/status-bar-chart.component.js +2 -3
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/status-bar-chart/status-bar-chart.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/timeseries-chart.component.js +2 -3
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/timeseries-chart.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/line-chart.component.js +2 -3
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/line-chart.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-area-chart.component.js +2 -3
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-area-chart.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-bar-chart.component.js +2 -3
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-bar-chart.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-percentage-area-chart.component.js +2 -3
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-percentage-area-chart.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/xy-chart.component.js +2 -3
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/xy-chart.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-chart-preset.service.js +2 -3
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-chart-preset.service.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-inspection-menu/timeseries-inspection-menu.component.js +2 -3
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-inspection-menu/timeseries-inspection-menu.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-scales.service.js +2 -3
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-scales.service.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-widget.component.js +2 -3
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-widget.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/types.js +6 -6
- package/sdk/atoms/src/lib/components/timeseries-widget/types.js.map +1 -1
- package/sdk/atoms/src/lib/components/types.js +1 -1
- package/sdk/atoms/src/lib/components/types.js.map +1 -1
- package/sdk/atoms/src/lib/components/widget/widget-body/widget-body.component.js +2 -3
- package/sdk/atoms/src/lib/components/widget/widget-body/widget-body.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/widget/widget-body-content/widget-body-content.component.js +2 -3
- package/sdk/atoms/src/lib/components/widget/widget-body-content/widget-body-content.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/widget/widget-header/widget-header.component.js +2 -3
- package/sdk/atoms/src/lib/components/widget/widget-header/widget-header.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/widget/widget.component.js +2 -3
- package/sdk/atoms/src/lib/components/widget/widget.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/widget-search/widget-search.component.js +2 -3
- package/sdk/atoms/src/lib/components/widget-search/widget-search.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/color-picker/color-picker.component.js +2 -3
- package/sdk/atoms/src/lib/configurator/components/color-picker/color-picker.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/color-picker/color.service.js +2 -3
- package/sdk/atoms/src/lib/configurator/components/color-picker/color.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/configurator/configurator.component.js +2 -3
- package/sdk/atoms/src/lib/configurator/components/configurator/configurator.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/drop-area/drop-area.component.js +2 -3
- package/sdk/atoms/src/lib/configurator/components/drop-area/drop-area.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/form-stack/form-stack.component.js +2 -3
- package/sdk/atoms/src/lib/configurator/components/form-stack/form-stack.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/formatters/donut-content-percentage-formatter/donut-content-percentage-configuration.component.js +2 -3
- package/sdk/atoms/src/lib/configurator/components/formatters/donut-content-percentage-formatter/donut-content-percentage-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/formatters/donut-content-percentage-formatter/donut-content-percentage-formatter.component.js +2 -3
- package/sdk/atoms/src/lib/configurator/components/formatters/donut-content-percentage-formatter/donut-content-percentage-formatter.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/formatters/donut-content-raw-formatter/donut-content-raw-formatter.component.js +2 -3
- package/sdk/atoms/src/lib/configurator/components/formatters/donut-content-raw-formatter/donut-content-raw-formatter.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/formatters/donut-content-sum-formatter/donut-content-sum-formatter.component.js +2 -3
- package/sdk/atoms/src/lib/configurator/components/formatters/donut-content-sum-formatter/donut-content-sum-formatter.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/formatters/icon-formatter/icon-formatter.component.js +2 -3
- package/sdk/atoms/src/lib/configurator/components/formatters/icon-formatter/icon-formatter.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/formatters/link-formatter/link-formatter.component.js +2 -3
- package/sdk/atoms/src/lib/configurator/components/formatters/link-formatter/link-formatter.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/formatters/percentage-formatter/percentage-formatter.component.js +2 -3
- package/sdk/atoms/src/lib/configurator/components/formatters/percentage-formatter/percentage-formatter.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/formatters/raw-formatter/raw-formatter.component.js +2 -3
- package/sdk/atoms/src/lib/configurator/components/formatters/raw-formatter/raw-formatter.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/formatters/si-units-formatter/si-units-formatter.component.js +2 -3
- package/sdk/atoms/src/lib/configurator/components/formatters/si-units-formatter/si-units-formatter.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/formatters/status-with-icon-formatter/status-with-icon-formatter.component.js +2 -3
- package/sdk/atoms/src/lib/configurator/components/formatters/status-with-icon-formatter/status-with-icon-formatter.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/formatters/widget-formatter-configurators/donut-formatter-configurator.component.js +2 -3
- package/sdk/atoms/src/lib/configurator/components/formatters/widget-formatter-configurators/donut-formatter-configurator.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/heading/configurator-heading.component.js +2 -3
- package/sdk/atoms/src/lib/configurator/components/heading/configurator-heading.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/items-dynamic/items-dynamic.component.js +2 -3
- package/sdk/atoms/src/lib/configurator/components/items-dynamic/items-dynamic.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/preview-placeholder/preview-placeholder.component.js +2 -3
- package/sdk/atoms/src/lib/configurator/components/preview-placeholder/preview-placeholder.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widget-cloner/widget-cloner.component.js +2 -3
- package/sdk/atoms/src/lib/configurator/components/widget-cloner/widget-cloner.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widget-configurator-section/widget-configurator-section-coordinator.service.js +2 -3
- package/sdk/atoms/src/lib/configurator/components/widget-configurator-section/widget-configurator-section-coordinator.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widget-configurator-section/widget-configurator-section.component.js +2 -3
- package/sdk/atoms/src/lib/configurator/components/widget-configurator-section/widget-configurator-section.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widget-editor/widget-editor.component.js +2 -3
- package/sdk/atoms/src/lib/configurator/components/widget-editor/widget-editor.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widget-editor-accordion/widget-editor-accordion-header/widget-editor-accordion-header.component.js +2 -3
- package/sdk/atoms/src/lib/configurator/components/widget-editor-accordion/widget-editor-accordion-header/widget-editor-accordion-header.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widget-editor-accordion/widget-editor-accordion.component.js +2 -3
- package/sdk/atoms/src/lib/configurator/components/widget-editor-accordion/widget-editor-accordion.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/background-color-rules-configuration/background-color-rules-configuration.component.js +2 -3
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/background-color-rules-configuration/background-color-rules-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/data-source-configuration/data-source-configuration.component.js +2 -3
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/data-source-configuration/data-source-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/data-source-configuration-v2/data-source-configuration-v2.component.js +2 -3
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/data-source-configuration-v2/data-source-configuration-v2.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/data-source-error/data-source-error.component.js +2 -3
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/data-source-error/data-source-error.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/data-source-error/table/table-data-source-error.component.js +2 -3
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/data-source-error/table/table-data-source-error.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/embedded-content-configuration/embedded-content-configuration.component.js +2 -3
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/embedded-content-configuration/embedded-content-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/info-message-configuration/info-message-configuration.component.js +2 -3
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/info-message-configuration/info-message-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/kpi-description-configuration/kpi-description-configuration.component.js +2 -3
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/kpi-description-configuration/kpi-description-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/refresh-rate-configurator.component.js +2 -3
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/refresh-rate-configurator.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/time-units.js +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/time-units.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresher-configuration.component.js +2 -3
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresher-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/risk-score-tile-description-configuration/risk-score-tile-description-configuration.component.js +2 -3
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/risk-score-tile-description-configuration/risk-score-tile-description-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/thresholds-configuration/thresholds-configuration.component.js +2 -3
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/thresholds-configuration/thresholds-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/timeseries-metadata-configuration/timeseries-metadata-configuration.component.js +2 -3
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/timeseries-metadata-configuration/timeseries-metadata-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/title-and-description-configuration/title-and-description-configuration.component.js +2 -3
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/title-and-description-configuration/title-and-description-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/drilldown/entity-formatting-configuration/entity-formatting-configuration.component.js +2 -3
- package/sdk/atoms/src/lib/configurator/components/widgets/drilldown/entity-formatting-configuration/entity-formatting-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/drilldown/grouping-configuration/grouping-configuration.component.js +2 -3
- package/sdk/atoms/src/lib/configurator/components/widgets/drilldown/grouping-configuration/grouping-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/kpi/kpi-tiles-configuration/kpi-tiles-configuration.component.js +2 -3
- package/sdk/atoms/src/lib/configurator/components/widgets/kpi/kpi-tiles-configuration/kpi-tiles-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/kpi/types.js +2 -2
- package/sdk/atoms/src/lib/configurator/components/widgets/kpi/types.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/proportional/aggregators-configurators/aggregator-configurator/aggregator-configurator.component.js +2 -3
- package/sdk/atoms/src/lib/configurator/components/widgets/proportional/aggregators-configurators/aggregator-configurator/aggregator-configurator.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/proportional/aggregators-configurators/field-mapper-aggregator-configurator/field-mapper-aggregator-configurator.component.js +2 -3
- package/sdk/atoms/src/lib/configurator/components/widgets/proportional/aggregators-configurators/field-mapper-aggregator-configurator/field-mapper-aggregator-configurator.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/proportional/chart-options-editor/proportional-chart-options-editor.component.js +2 -3
- package/sdk/atoms/src/lib/configurator/components/widgets/proportional/chart-options-editor/proportional-chart-options-editor.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/proportional/chart-options-editor-v2/proportional-chart-options-editor-v2.component.js +2 -3
- package/sdk/atoms/src/lib/configurator/components/widgets/proportional/chart-options-editor-v2/proportional-chart-options-editor-v2.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/proportional/donut-content-configuration/donut-content-configuration.component.js +2 -3
- package/sdk/atoms/src/lib/configurator/components/widgets/proportional/donut-content-configuration/donut-content-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/risk-score-tiles-configuration.component.js +2 -3
- package/sdk/atoms/src/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/risk-score-tiles-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/column-configuration/description-configuration/description-configuration.component.js +2 -3
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/column-configuration/description-configuration/description-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/formatter-configurator.component.js +2 -3
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/formatter-configurator.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/link-configurator/link-configurator.component.js +2 -3
- 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
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/value-selector/value-selector.component.js +2 -3
- 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
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/presentation-configuration.component.js +2 -3
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/presentation-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/table-columns-configuration.component.js +2 -3
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/table-columns-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/description-configuration/description-configuration-v2.component.js +2 -3
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/description-configuration/description-configuration-v2.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/presentation-configuration/presentation-configuration-v2.component.js +2 -3
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/presentation-configuration/presentation-configuration-v2.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/table-column-configuration/table-column-configuration.component.js +2 -3
- 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
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor-v2/table-columns-configuration-v2.component.js +2 -3
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor-v2/table-columns-configuration-v2.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/filters-editor/table-filters-editor.component.js +2 -3
- package/sdk/atoms/src/lib/configurator/components/widgets/table/filters-editor/table-filters-editor.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/scrollType-editor/scroll-type-editor.component.js +2 -3
- package/sdk/atoms/src/lib/configurator/components/widgets/table/scrollType-editor/scroll-type-editor.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/scrollType-editor/scroll-type-editor.service.js +2 -3
- package/sdk/atoms/src/lib/configurator/components/widgets/table/scrollType-editor/scroll-type-editor.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/timeseries/timeseries-series-collection-configuration/timeseries-series-collection-configuration.component.js +2 -3
- package/sdk/atoms/src/lib/configurator/components/widgets/timeseries/timeseries-series-collection-configuration/timeseries-series-collection-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/timeseries/timeseries-tile-description-configuration/timeseries-tile-description-configuration.component.js +2 -3
- package/sdk/atoms/src/lib/configurator/components/widgets/timeseries/timeseries-tile-description-configuration/timeseries-tile-description-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/timeseries/timeseries-tile-indicator-data-configuration/timeseries-tile-indicator-data-configuration.component.js +2 -3
- package/sdk/atoms/src/lib/configurator/components/widgets/timeseries/timeseries-tile-indicator-data-configuration/timeseries-tile-indicator-data-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/wizard/dashwiz/dashwiz-buttons.component.js +2 -3
- package/sdk/atoms/src/lib/configurator/components/wizard/dashwiz/dashwiz-buttons.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/wizard/dashwiz/dashwiz.component.js +2 -3
- package/sdk/atoms/src/lib/configurator/components/wizard/dashwiz/dashwiz.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/wizard/dashwiz/dashwiz.service.js +2 -3
- package/sdk/atoms/src/lib/configurator/components/wizard/dashwiz/dashwiz.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/wizard/dashwiz-step/dashwiz-step.component.js +2 -3
- package/sdk/atoms/src/lib/configurator/components/wizard/dashwiz-step/dashwiz-step.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/configurator.module.js +2 -3
- package/sdk/atoms/src/lib/configurator/configurator.module.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/pipe/add-data.pipe.js +2 -3
- package/sdk/atoms/src/lib/configurator/pipe/add-data.pipe.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/pipe/pizzagna-root.pipe.js +2 -3
- package/sdk/atoms/src/lib/configurator/pipe/pizzagna-root.pipe.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/pipe/widget-configurator-section-header.pipe.js +2 -3
- package/sdk/atoms/src/lib/configurator/pipe/widget-configurator-section-header.pipe.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/pipe/widget-editor-accordion-form-state.pipe.js +2 -3
- package/sdk/atoms/src/lib/configurator/pipe/widget-editor-accordion-form-state.pipe.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/pipe/widget-editor-accordion-header-icon.pipe.js +2 -3
- package/sdk/atoms/src/lib/configurator/pipe/widget-editor-accordion-header-icon.pipe.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/configurator-data-source-manager.service.js +2 -3
- package/sdk/atoms/src/lib/configurator/services/configurator-data-source-manager.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/configurator-heading.service.js +2 -3
- package/sdk/atoms/src/lib/configurator/services/configurator-heading.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/configurator.service.js +2 -3
- package/sdk/atoms/src/lib/configurator/services/configurator.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/base-converter.js +2 -3
- package/sdk/atoms/src/lib/configurator/services/converters/base-converter.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/kpi/kpi-section-converter/kpi-section-converter.service.js +2 -3
- package/sdk/atoms/src/lib/configurator/services/converters/kpi/kpi-section-converter/kpi-section-converter.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/kpi/kpi-tiles-converter.service.js +2 -3
- package/sdk/atoms/src/lib/configurator/services/converters/kpi/kpi-tiles-converter.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/proportional/proportional-widget-chart-options-converter.service.js +2 -3
- package/sdk/atoms/src/lib/configurator/services/converters/proportional/proportional-widget-chart-options-converter.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/shared/generic-array-converter/generic-array-converter.service.js +2 -3
- package/sdk/atoms/src/lib/configurator/services/converters/shared/generic-array-converter/generic-array-converter.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/shared/generic-converter/generic-converter.service.js +2 -3
- package/sdk/atoms/src/lib/configurator/services/converters/shared/generic-converter/generic-converter.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/shared/title-and-description-converter/title-and-description-converter.service.js +2 -3
- package/sdk/atoms/src/lib/configurator/services/converters/shared/title-and-description-converter/title-and-description-converter.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/table/table-columns-converter.service.js +2 -3
- package/sdk/atoms/src/lib/configurator/services/converters/table/table-columns-converter.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/table/table-filters-converter.service.js +2 -3
- package/sdk/atoms/src/lib/configurator/services/converters/table/table-filters-converter.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/table/table-scroll-type-converter.service.js +2 -3
- package/sdk/atoms/src/lib/configurator/services/converters/table/table-scroll-type-converter.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/timeseries/timeseries-metadata-converter.service.js +2 -3
- package/sdk/atoms/src/lib/configurator/services/converters/timeseries/timeseries-metadata-converter.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/timeseries/timeseries-series-converter.service.js +2 -3
- package/sdk/atoms/src/lib/configurator/services/converters/timeseries/timeseries-series-converter.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/timeseries/timeseries-tile-indicator-data-converter.service.js +2 -3
- package/sdk/atoms/src/lib/configurator/services/converters/timeseries/timeseries-tile-indicator-data-converter.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/kpi-widget-color.service.js +2 -3
- package/sdk/atoms/src/lib/configurator/services/kpi-widget-color.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/preview.service.js +2 -3
- package/sdk/atoms/src/lib/configurator/services/preview.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/timeframe-serialization.service.js +2 -3
- package/sdk/atoms/src/lib/configurator/services/timeframe-serialization.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/widget-cloner.service.js +2 -3
- package/sdk/atoms/src/lib/configurator/services/widget-cloner.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/widget-editor.service.js +2 -3
- package/sdk/atoms/src/lib/configurator/services/widget-editor.service.js.map +1 -1
- package/sdk/atoms/src/lib/dashboards.module.js +2 -3
- package/sdk/atoms/src/lib/dashboards.module.js.map +1 -1
- package/sdk/atoms/src/lib/directives/gridster-item-widget-id/gridster-item-widget-id.directive.js +2 -3
- package/sdk/atoms/src/lib/directives/gridster-item-widget-id/gridster-item-widget-id.directive.js.map +1 -1
- package/sdk/atoms/src/lib/directives/widget-editor/widget-editor.directive.js +2 -3
- package/sdk/atoms/src/lib/directives/widget-editor/widget-editor.directive.js.map +1 -1
- package/sdk/atoms/src/lib/pizzagna/components/pizzagna/pizzagna.component.js +2 -3
- package/sdk/atoms/src/lib/pizzagna/components/pizzagna/pizzagna.component.js.map +1 -1
- package/sdk/atoms/src/lib/pizzagna/directives/component-portal/component-portal.directive.js +2 -3
- package/sdk/atoms/src/lib/pizzagna/directives/component-portal/component-portal.directive.js.map +1 -1
- package/sdk/atoms/src/lib/pizzagna/pizzagna.module.js +2 -3
- package/sdk/atoms/src/lib/pizzagna/pizzagna.module.js.map +1 -1
- package/sdk/atoms/src/lib/pizzagna/services/component-portal.service.js +2 -3
- package/sdk/atoms/src/lib/pizzagna/services/component-portal.service.js.map +1 -1
- package/sdk/atoms/src/lib/pizzagna/services/component-registry.service.js +2 -3
- package/sdk/atoms/src/lib/pizzagna/services/component-registry.service.js.map +1 -1
- package/sdk/atoms/src/lib/pizzagna/services/dynamic-component-creator.service.js +2 -3
- package/sdk/atoms/src/lib/pizzagna/services/dynamic-component-creator.service.js.map +1 -1
- package/sdk/atoms/src/lib/pizzagna/services/pizzagna.service.js +2 -3
- package/sdk/atoms/src/lib/pizzagna/services/pizzagna.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/category-chart-util.service.js +2 -3
- package/sdk/atoms/src/lib/services/category-chart-util.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/event-registry.service.js +2 -3
- package/sdk/atoms/src/lib/services/event-registry.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/kpi-color-comparators-registry.service.js +2 -3
- package/sdk/atoms/src/lib/services/kpi-color-comparators-registry.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/proportional-content-aggregators-registry.service.js +2 -3
- package/sdk/atoms/src/lib/services/proportional-content-aggregators-registry.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/provider-registry.service.js +2 -3
- package/sdk/atoms/src/lib/services/provider-registry.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/registry-service.js +2 -3
- package/sdk/atoms/src/lib/services/registry-service.js.map +1 -1
- package/sdk/atoms/src/lib/services/table-formatter-registry.service.js +10 -15
- package/sdk/atoms/src/lib/services/table-formatter-registry.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/unit-test-registry.service.js +2 -3
- package/sdk/atoms/src/lib/services/unit-test-registry.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/url-interaction.service.js +2 -3
- package/sdk/atoms/src/lib/services/url-interaction.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/widget-configuration.service.js +2 -3
- package/sdk/atoms/src/lib/services/widget-configuration.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/widget-removal.service.js +2 -3
- package/sdk/atoms/src/lib/services/widget-removal.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/widget-to-dashboard-event-proxy.service.js +2 -3
- package/sdk/atoms/src/lib/services/widget-to-dashboard-event-proxy.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/widget-types.service.js +2 -3
- package/sdk/atoms/src/lib/services/widget-types.service.js.map +1 -1
- package/sdk/atoms/src/lib/types.js +6 -6
- package/sdk/atoms/src/lib/types.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/common/widget/legend.js +1 -1
- package/sdk/atoms/src/lib/widget-types/common/widget/legend.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/common/widget/types.js +1 -1
- package/sdk/atoms/src/lib/widget-types/common/widget/types.js.map +1 -1
- package/sdk/locale/messages.en.xlf +90 -310
- package/sdk/schematics/ng-add/index.spec.js +8 -15
- package/sdk/schematics/ng-add/index.spec.js.map +1 -1
- package/esm2020/lib/common/components/widget-error/widget-error.component.mjs +0 -54
- package/esm2020/lib/components/dashboard/dashboard.component.mjs +0 -222
- package/esm2020/lib/components/embedded-content/embedded-content.component.mjs +0 -95
- package/esm2020/lib/components/kpi-widget/kpi.component.mjs +0 -129
- package/esm2020/lib/components/layouts/stack/stack.component.mjs +0 -65
- package/esm2020/lib/components/layouts/tiles/tiles.component.mjs +0 -99
- package/esm2020/lib/components/list-widget/list-elements/list-group-item/list-group-item.component.mjs +0 -62
- package/esm2020/lib/components/list-widget/list-elements/list-leaf-item/list-leaf-item.component.mjs +0 -76
- package/esm2020/lib/components/list-widget/list-elements/list-navigation-bar/list-navigation-bar.component.mjs +0 -60
- package/esm2020/lib/components/list-widget/list-widget.component.mjs +0 -109
- package/esm2020/lib/components/loading/loading.component.mjs +0 -51
- package/esm2020/lib/components/proportional-widget/proportional-donut-content/proportional-donut-content.component.mjs +0 -152
- package/esm2020/lib/components/proportional-widget/proportional-widget.component.mjs +0 -333
- package/esm2020/lib/components/risk-score-tile/risk-score-tile.component.mjs +0 -115
- package/esm2020/lib/components/table-widget/table-widget.component.mjs +0 -552
- package/esm2020/lib/components/template-load-error/template-load-error.component.mjs +0 -38
- package/esm2020/lib/components/time-frame-selection/timeframe-selection.component.mjs +0 -127
- package/esm2020/lib/components/timeseries-widget/chart-presets/status-bar-chart/status-bar-chart.component.mjs +0 -237
- package/esm2020/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-area-chart.component.mjs +0 -68
- package/esm2020/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-bar-chart.component.mjs +0 -84
- package/esm2020/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-percentage-area-chart.component.mjs +0 -62
- package/esm2020/lib/components/timeseries-widget/timeseries-widget.component.mjs +0 -111
- package/esm2020/lib/components/widget/widget-body/widget-body.component.mjs +0 -88
- package/esm2020/lib/components/widget/widget-body-content/widget-body-content.component.mjs +0 -75
- package/esm2020/lib/components/widget/widget-header/widget-header.component.mjs +0 -202
- package/esm2020/lib/components/widget-search/widget-search.component.mjs +0 -111
- package/esm2020/lib/configurator/components/color-picker/color-picker.component.mjs +0 -183
- package/esm2020/lib/configurator/components/configurator/configurator.component.mjs +0 -116
- package/esm2020/lib/configurator/components/form-stack/form-stack.component.mjs +0 -86
- package/esm2020/lib/configurator/components/formatters/donut-content-percentage-formatter/donut-content-percentage-configuration.component.mjs +0 -43
- package/esm2020/lib/configurator/components/formatters/donut-content-percentage-formatter/donut-content-percentage-formatter.component.mjs +0 -84
- package/esm2020/lib/configurator/components/formatters/donut-content-raw-formatter/donut-content-raw-formatter.component.mjs +0 -88
- package/esm2020/lib/configurator/components/formatters/donut-content-sum-formatter/donut-content-sum-formatter.component.mjs +0 -46
- package/esm2020/lib/configurator/components/formatters/icon-formatter/icon-formatter.component.mjs +0 -84
- package/esm2020/lib/configurator/components/formatters/link-formatter/link-formatter.component.mjs +0 -61
- package/esm2020/lib/configurator/components/formatters/percentage-formatter/percentage-formatter.component.mjs +0 -34
- package/esm2020/lib/configurator/components/formatters/raw-formatter/raw-formatter.component.mjs +0 -43
- package/esm2020/lib/configurator/components/formatters/si-units-formatter/si-units-formatter.component.mjs +0 -119
- package/esm2020/lib/configurator/components/formatters/status-with-icon-formatter/status-with-icon-formatter.component.mjs +0 -105
- package/esm2020/lib/configurator/components/items-dynamic/items-dynamic.component.mjs +0 -148
- package/esm2020/lib/configurator/components/preview-placeholder/preview-placeholder.component.mjs +0 -31
- package/esm2020/lib/configurator/components/widget-cloner/widget-cloner.component.mjs +0 -169
- package/esm2020/lib/configurator/components/widget-configurator-section/widget-configurator-section.component.mjs +0 -83
- package/esm2020/lib/configurator/components/widget-editor/widget-editor.component.mjs +0 -146
- package/esm2020/lib/configurator/components/widgets/configurator-items/background-color-rules-configuration/background-color-rules-configuration.component.mjs +0 -122
- package/esm2020/lib/configurator/components/widgets/configurator-items/data-source-configuration/data-source-configuration.component.mjs +0 -153
- package/esm2020/lib/configurator/components/widgets/configurator-items/data-source-configuration-v2/data-source-configuration-v2.component.mjs +0 -198
- package/esm2020/lib/configurator/components/widgets/configurator-items/data-source-error/data-source-error.component.mjs +0 -74
- package/esm2020/lib/configurator/components/widgets/configurator-items/data-source-error/table/table-data-source-error.component.mjs +0 -41
- package/esm2020/lib/configurator/components/widgets/configurator-items/embedded-content-configuration/embedded-content-configuration.component.mjs +0 -133
- package/esm2020/lib/configurator/components/widgets/configurator-items/info-message-configuration/info-message-configuration.component.mjs +0 -44
- package/esm2020/lib/configurator/components/widgets/configurator-items/kpi-description-configuration/kpi-description-configuration.component.mjs +0 -107
- package/esm2020/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresher-configuration.component.mjs +0 -170
- package/esm2020/lib/configurator/components/widgets/configurator-items/risk-score-tile-description-configuration/risk-score-tile-description-configuration.component.mjs +0 -106
- package/esm2020/lib/configurator/components/widgets/configurator-items/thresholds-configuration/thresholds-configuration.component.mjs +0 -140
- package/esm2020/lib/configurator/components/widgets/configurator-items/timeseries-metadata-configuration/timeseries-metadata-configuration.component.mjs +0 -151
- package/esm2020/lib/configurator/components/widgets/configurator-items/title-and-description-configuration/title-and-description-configuration.component.mjs +0 -91
- package/esm2020/lib/configurator/components/widgets/drilldown/entity-formatting-configuration/entity-formatting-configuration.component.mjs +0 -68
- package/esm2020/lib/configurator/components/widgets/drilldown/grouping-configuration/grouping-configuration.component.mjs +0 -154
- package/esm2020/lib/configurator/components/widgets/kpi/kpi-tiles-configuration/kpi-tiles-configuration.component.mjs +0 -92
- package/esm2020/lib/configurator/components/widgets/proportional/aggregators-configurators/aggregator-configurator/aggregator-configurator.component.mjs +0 -72
- package/esm2020/lib/configurator/components/widgets/proportional/aggregators-configurators/field-mapper-aggregator-configurator/field-mapper-aggregator-configurator.component.mjs +0 -87
- package/esm2020/lib/configurator/components/widgets/proportional/chart-options-editor/proportional-chart-options-editor.component.mjs +0 -166
- package/esm2020/lib/configurator/components/widgets/proportional/chart-options-editor-v2/proportional-chart-options-editor-v2.component.mjs +0 -108
- package/esm2020/lib/configurator/components/widgets/proportional/donut-content-configuration/donut-content-configuration.component.mjs +0 -167
- package/esm2020/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/risk-score-tiles-configuration.component.mjs +0 -92
- package/esm2020/lib/configurator/components/widgets/table/columns-editor/column-configuration/description-configuration/description-configuration.component.mjs +0 -80
- package/esm2020/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/link-configurator/link-configurator.component.mjs +0 -53
- package/esm2020/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/value-selector/value-selector.component.mjs +0 -43
- package/esm2020/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/presentation-configuration.component.mjs +0 -259
- package/esm2020/lib/configurator/components/widgets/table/columns-editor/table-columns-configuration.component.mjs +0 -264
- package/esm2020/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/description-configuration/description-configuration-v2.component.mjs +0 -123
- package/esm2020/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/presentation-configuration/presentation-configuration-v2.component.mjs +0 -309
- package/esm2020/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/table-column-configuration/table-column-configuration.component.mjs +0 -109
- package/esm2020/lib/configurator/components/widgets/table/columns-editor-v2/table-columns-configuration-v2.component.mjs +0 -250
- package/esm2020/lib/configurator/components/widgets/table/filters-editor/table-filters-editor.component.mjs +0 -122
- package/esm2020/lib/configurator/components/widgets/table/scrollType-editor/scroll-type-editor.component.mjs +0 -197
- package/esm2020/lib/configurator/components/widgets/timeseries/timeseries-series-collection-configuration/timeseries-series-collection-configuration.component.mjs +0 -111
- package/esm2020/lib/configurator/components/widgets/timeseries/timeseries-tile-description-configuration/timeseries-tile-description-configuration.component.mjs +0 -68
- package/esm2020/lib/configurator/components/widgets/timeseries/timeseries-tile-indicator-data-configuration/timeseries-tile-indicator-data-configuration.component.mjs +0 -107
- package/esm2020/lib/configurator/components/wizard/dashwiz/dashwiz-buttons.component.mjs +0 -174
- package/esm2020/lib/configurator/components/wizard/dashwiz/dashwiz.component.mjs +0 -344
- package/esm2020/lib/configurator/pipe/widget-editor-accordion-header-icon.pipe.mjs +0 -48
- package/esm2020/lib/configurator/services/converters/shared/title-and-description-converter/title-and-description-converter.service.mjs +0 -64
- package/esm2020/lib/pizzagna/components/pizzagna/pizzagna.component.mjs +0 -134
- package/fesm2015/nova-ui-dashboards.mjs +0 -18549
- package/fesm2015/nova-ui-dashboards.mjs.map +0 -1
- /package/{esm2020 → esm2022}/lib/common/components/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/common/constants.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/common/pipes/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/common/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/dashboard/default-gridster-config.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/dashboard/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/dashboard/types.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/kpi-widget/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/kpi-widget/types.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/layouts/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/list-widget/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/list-widget/types.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/loading/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/proportional-widget/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/proportional-widget/types.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/providers/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/providers/types.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/risk-score-tile/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/risk-score-tile/types.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/table-widget/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/table-widget/types.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/time-frame-selection/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/timeseries-widget/chart-presets/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/timeseries-widget/chart-presets/status-bar-chart/apply-status-endpoints.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/timeseries-widget/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/timeseries-widget/timeseries-helpers.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/timeseries-widget/transformer/loess.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/timeseries-widget/transformer/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/timeseries-widget/transformer/transformer-change-point.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/timeseries-widget/transformer/transformer-difference.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/timeseries-widget/transformer/transformer-floating-average.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/timeseries-widget/transformer/transformer-lin-reg.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/timeseries-widget/transformer/transformer-loess-standardize.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/timeseries-widget/transformer/transformer-loess.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/timeseries-widget/transformer/transformer-normalize.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/timeseries-widget/transformer/transformer-percentile-std.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/timeseries-widget/transformer/transformer-standardize.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/timeseries-widget/types.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/types.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/widget/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/widget/types.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/widget/widget-header/types.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/widget-search/types.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/configurator/components/color-picker/HTMLcolors.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/configurator/components/formatters/types.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/configurator/components/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/configurator/components/types.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/configurator/components/widgets/configurator-items/data-source-error/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/configurator/components/widgets/configurator-items/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/configurator/components/widgets/configurator-items/refresher-configuration/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/time-units.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/types.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/configurator/components/widgets/configurator-items/thresholds-configuration/thresholds-validator.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/configurator/components/widgets/drilldown/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/configurator/components/widgets/kpi/kpi-tiles-configuration/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/configurator/components/widgets/kpi/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/configurator/components/widgets/kpi/types.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/configurator/components/widgets/proportional/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/configurator/components/widgets/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/configurator/components/widgets/risk-score/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/configurator/components/widgets/risk-score/types.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/configurator/components/widgets/table/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/configurator/components/widgets/timeseries/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/configurator/components/widgets/timeseries/types.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/configurator/components/wizard/dashwiz/model.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/configurator/components/wizard/dashwiz/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/configurator/components/wizard/dashwiz-step/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/configurator/components/wizard/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/configurator/components/wizard/types.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/configurator/functions/has-control-in-error-state.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/configurator/functions/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/configurator/pipe/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/configurator/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/configurator/services/converters/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/configurator/services/converters/types.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/configurator/services/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/configurator/services/types.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/configurator/types.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/constants/default-palette.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/constants/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/constants/si-units-prefixes.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/directives/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/directives/widget-editor/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/functions/get-parent-component-id.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/functions/map-data-to-formatter-properties.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/functions/merge-changes.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/functions/on-mark-as-touched.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/functions/parse-string-with-data.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/functions/proportional-aggregators/field-mapper.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/functions/proportional-aggregators/percentage-aggregator.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/functions/proportional-aggregators/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/functions/proportional-aggregators/sum-aggregator.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/functions/proportional-aggregators/types.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/functions/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/functions/round-array-values.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/functions/timeseries-datetime-formatter.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/pizzagna/components/pizzagna/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/pizzagna/directives/component-portal/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/pizzagna/functions/get-pizzagna-property-path.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/pizzagna/functions/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/pizzagna/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/pizzagna/services/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/services/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/services/types.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/types.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/widget-types/common/configurator/components.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/widget-types/common/configurator/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/widget-types/common/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/widget-types/common/widget/components.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/widget-types/common/widget/legend.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/widget-types/common/widget/providers.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/widget-types/common/widget/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/widget-types/common/widget/types.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/widget-types/drilldown/drilldown-configurator.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/widget-types/drilldown/drilldown-widget.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/widget-types/drilldown/drilldown.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/widget-types/embedded-content/embedded-content-configurator.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/widget-types/embedded-content/embedded-content-widget.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/widget-types/embedded-content/embedded-content.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/widget-types/kpi/kpi-configurator.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/widget-types/kpi/kpi-widget.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/widget-types/kpi/kpi.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/widget-types/preview-placeholder.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/widget-types/proportional/donut-content-configurator-slice.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/widget-types/proportional/proportional-configurator.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/widget-types/proportional/proportional-widget.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/widget-types/proportional/proportional.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/widget-types/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/widget-types/risk-score/risk-score-configurator.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/widget-types/risk-score/risk-score-widget.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/widget-types/risk-score/risk-score.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/widget-types/table/default-table-formatters.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/widget-types/table/table-configurator.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/widget-types/table/table-widget.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/widget-types/table/table.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/widget-types/timeseries/timeseries-configurator.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/widget-types/timeseries/timeseries-widget.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/widget-types/timeseries/timeseries.mjs +0 -0
- /package/{esm2020 → esm2022}/nova-ui-dashboards.mjs +0 -0
- /package/{esm2020 → esm2022}/public-api.mjs +0 -0
package/esm2022/lib/components/list-widget/list-elements/list-leaf-item/list-leaf-item.component.mjs
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
2
|
+
//
|
|
3
|
+
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4
|
+
// of this software and associated documentation files (the "Software"), to
|
|
5
|
+
// deal in the Software without restriction, including without limitation the
|
|
6
|
+
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
7
|
+
// sell copies of the Software, and to permit persons to whom the Software is
|
|
8
|
+
// furnished to do so, subject to the following conditions:
|
|
9
|
+
//
|
|
10
|
+
// The above copyright notice and this permission notice shall be included in
|
|
11
|
+
// all copies or substantial portions of the Software.
|
|
12
|
+
//
|
|
13
|
+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
14
|
+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
15
|
+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
16
|
+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17
|
+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
18
|
+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
19
|
+
// THE SOFTWARE.
|
|
20
|
+
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, EventEmitter, Inject, Input, Output, } from "@angular/core";
|
|
21
|
+
import { Subject } from "rxjs";
|
|
22
|
+
import { takeUntil } from "rxjs/operators";
|
|
23
|
+
import { EventBus } from "@nova-ui/bits";
|
|
24
|
+
import { WIDGET_SEARCH } from "../../../../services/types";
|
|
25
|
+
import { PIZZAGNA_EVENT_BUS } from "../../../../types";
|
|
26
|
+
import * as i0 from "@angular/core";
|
|
27
|
+
import * as i1 from "@angular/common";
|
|
28
|
+
import * as i2 from "@nova-ui/bits";
|
|
29
|
+
export class ListLeafItemComponent {
|
|
30
|
+
static { this.lateLoadKey = "ListLeafItemComponent"; }
|
|
31
|
+
onButtonClick() {
|
|
32
|
+
if (this.canNavigate) {
|
|
33
|
+
this.navigated.emit(this);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
constructor(changeDetector, eventBus) {
|
|
37
|
+
this.changeDetector = changeDetector;
|
|
38
|
+
this.eventBus = eventBus;
|
|
39
|
+
this.navigated = new EventEmitter();
|
|
40
|
+
this.searchTerm = "";
|
|
41
|
+
this.destroy$ = new Subject();
|
|
42
|
+
}
|
|
43
|
+
ngOnInit() {
|
|
44
|
+
this.eventBus
|
|
45
|
+
.getStream(WIDGET_SEARCH)
|
|
46
|
+
.pipe(takeUntil(this.destroy$))
|
|
47
|
+
.subscribe((event) => {
|
|
48
|
+
this.searchTerm = event.payload ?? "";
|
|
49
|
+
this.changeDetector.markForCheck();
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ListLeafItemComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: PIZZAGNA_EVENT_BUS }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
53
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ListLeafItemComponent, selector: "nui-list-leaf-item", inputs: { icon: "icon", status: "status", detailedUrl: "detailedUrl", label: "label", canNavigate: "canNavigate", url: "url" }, outputs: { navigated: "navigated" }, host: { classAttribute: "w-100" }, ngImport: i0, template: "<div class=\"nui-list-leaf-item\" (click)=\"onButtonClick()\">\n <div class=\"nui-list-leaf-item__info-container\">\n <div class=\"nui-list-leaf-item__icon-container\">\n <nui-icon\n *ngIf=\"icon; else statusTpl\"\n [icon]=\"icon\"\n [status]=\"status\"\n class=\"mr-1\"\n ></nui-icon>\n </div>\n <div class=\"nui-list-leaf-item__description\">\n <a\n class=\"nui-text-ellipsis\"\n [ngClass]=\"url ? '' : 'not-active'\"\n [attr.target]=\"url ? '_blank' : null\"\n [attr.href]=\"url || null\"\n [innerHTML]=\"label | nuiHighlight : searchTerm\"\n ></a>\n <div\n class=\"nui-text-secondary nui-text-ellipsis\"\n [innerHTML]=\"detailedUrl | nuiHighlight : searchTerm\"\n ></div>\n </div>\n\n <ng-template #statusTpl>{{ status }}</ng-template>\n </div>\n <nui-icon *ngIf=\"canNavigate\" icon=\"caret-right\"></nui-icon>\n</div>\n", styles: [".nui-list-leaf-item{width:100%;display:flex;justify-content:space-between;align-items:center;padding:5px 0}.nui-list-leaf-item__info-container{display:flex;height:40px}.nui-list-leaf-item__icon-container{display:flex;justify-content:center;align-items:center;min-width:30px}.nui-list-leaf-item__description{display:grid;grid-template-rows:1fr 1fr;grid-template-columns:1fr;max-width:100%}a.not-active{text-decoration:none;color:#111}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.IconComponent, selector: "nui-icon", inputs: ["iconColor", "brushType", "iconHoverColor", "iconSize", "cssClass", "fillContainer", "status", "childStatus", "icon", "counter"] }, { kind: "pipe", type: i2.HighlightPipe, name: "nuiHighlight" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
54
|
+
}
|
|
55
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ListLeafItemComponent, decorators: [{
|
|
56
|
+
type: Component,
|
|
57
|
+
args: [{ selector: "nui-list-leaf-item", changeDetection: ChangeDetectionStrategy.OnPush, host: { class: "w-100" }, template: "<div class=\"nui-list-leaf-item\" (click)=\"onButtonClick()\">\n <div class=\"nui-list-leaf-item__info-container\">\n <div class=\"nui-list-leaf-item__icon-container\">\n <nui-icon\n *ngIf=\"icon; else statusTpl\"\n [icon]=\"icon\"\n [status]=\"status\"\n class=\"mr-1\"\n ></nui-icon>\n </div>\n <div class=\"nui-list-leaf-item__description\">\n <a\n class=\"nui-text-ellipsis\"\n [ngClass]=\"url ? '' : 'not-active'\"\n [attr.target]=\"url ? '_blank' : null\"\n [attr.href]=\"url || null\"\n [innerHTML]=\"label | nuiHighlight : searchTerm\"\n ></a>\n <div\n class=\"nui-text-secondary nui-text-ellipsis\"\n [innerHTML]=\"detailedUrl | nuiHighlight : searchTerm\"\n ></div>\n </div>\n\n <ng-template #statusTpl>{{ status }}</ng-template>\n </div>\n <nui-icon *ngIf=\"canNavigate\" icon=\"caret-right\"></nui-icon>\n</div>\n", styles: [".nui-list-leaf-item{width:100%;display:flex;justify-content:space-between;align-items:center;padding:5px 0}.nui-list-leaf-item__info-container{display:flex;height:40px}.nui-list-leaf-item__icon-container{display:flex;justify-content:center;align-items:center;min-width:30px}.nui-list-leaf-item__description{display:grid;grid-template-rows:1fr 1fr;grid-template-columns:1fr;max-width:100%}a.not-active{text-decoration:none;color:#111}\n"] }]
|
|
58
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i2.EventBus, decorators: [{
|
|
59
|
+
type: Inject,
|
|
60
|
+
args: [PIZZAGNA_EVENT_BUS]
|
|
61
|
+
}] }]; }, propDecorators: { icon: [{
|
|
62
|
+
type: Input
|
|
63
|
+
}], status: [{
|
|
64
|
+
type: Input
|
|
65
|
+
}], detailedUrl: [{
|
|
66
|
+
type: Input
|
|
67
|
+
}], label: [{
|
|
68
|
+
type: Input
|
|
69
|
+
}], canNavigate: [{
|
|
70
|
+
type: Input
|
|
71
|
+
}], url: [{
|
|
72
|
+
type: Input
|
|
73
|
+
}], navigated: [{
|
|
74
|
+
type: Output
|
|
75
|
+
}] } });
|
|
76
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGlzdC1sZWFmLWl0ZW0uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2xpYi9jb21wb25lbnRzL2xpc3Qtd2lkZ2V0L2xpc3QtZWxlbWVudHMvbGlzdC1sZWFmLWl0ZW0vbGlzdC1sZWFmLWl0ZW0uY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2xpYi9jb21wb25lbnRzL2x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XNzPVwibnVpLWxpc3QtbGVhZi1pdGVtX19pY29uLWNvbnRhaW5lclwiPlxuICAgICAgICAgICAgPG51aS1pY29uXG4gICAgICAgICAgICAgICAgKm5nSWY9XCJpY29uOyBlbHNlIHN0YXR1c1RwbFwiXG4gICAgICAgICAgICAgICAgW2ljb25dPVwiaWNvblwiXG4gICAgICAgICAgICAgICAgW3N0YXR1c109XCJzdGF0dXNcIlxuICAgICAgICAgICAgICAgIGNsYXNzPVwibXItMVwiXG4gICAgICAgICAgICA+PC9udWktaWNvbj5cbiAgICAgICAgPC9kaXY+XG4gICAgICAgIDxkaXYgY2xhc3M9XCJudWktbGlzdC1sZWFmLWl0ZW1fX2Rlc2NyaXB0aW9uXCI+XG4gICAgICAgICAgICA8YVxuICAgICAgICAgICAgICAgIGNsYXNzPVwibnVpLXRleHQtZWxsaXBzaXNcIlxuICAgICAgICAgICAgICAgIFtuZ0NsYXNzXT1cInVybCA/ICcnIDogJ25vdC1hY3RpdmUnXCJcbiAgICAgICAgICAgICAgICBbYXR0ci50YXJnZXRdPVwidXJsID8gJ19ibGFuaycgOiBudWxsXCJcbiAgICAgICAgICAgICAgICBbYXR0ci5ocmVmXT1cInVybCB8fCBudWxsXCJcbiAgICAgICAgICAgICAgICBbaW5uZXJIVE1MXT1cImxhYmVsIHwgbnVpSGlnaGxpZ2h0IDogc2VhcmNoVGVybVwiXG4gICAgICAgICAgICA+PC9hPlxuICAgICAgICAgICAgPGRpdlxuICAgICAgICAgICAgICAgIGNsYXNzPVwibnVpLXRleHQtc2Vjb25kYXJ5IG51aS10ZXh0LWVsbGlwc2lzXCJcbiAgICAgICAgICAgICAgICBbaW5uZXJIVE1MXT1cImRldGFpbGVkVXJsIHwgbnVpSGlnaGxpZ2h0IDogc2VhcmNoVGVybVwiXG4gICAgICAgICAgICA+PC9kaXY+XG4gICAgICAgIDwvZGl2PlxuXG4gICAgICAgIDxuZy10ZW1wbGF0ZSAjc3RhdHVzVHBsPnt7IHN0YXR1cyB9fTwvbmctdGVtcGxhdGU+XG4gICAgPC9kaXY+XG4gICAgPG51aS1pY29uICpuZ0lmPVwiY2FuTmF2aWdhdGVcIiBpY29uPVwiY2FyZXQtcmlnaHRcIj48L251aS1pY29uPlxuPC9kaXY+XG4iXX0=
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
2
|
+
//
|
|
3
|
+
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4
|
+
// of this software and associated documentation files (the "Software"), to
|
|
5
|
+
// deal in the Software without restriction, including without limitation the
|
|
6
|
+
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
7
|
+
// sell copies of the Software, and to permit persons to whom the Software is
|
|
8
|
+
// furnished to do so, subject to the following conditions:
|
|
9
|
+
//
|
|
10
|
+
// The above copyright notice and this permission notice shall be included in
|
|
11
|
+
// all copies or substantial portions of the Software.
|
|
12
|
+
//
|
|
13
|
+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
14
|
+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
15
|
+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
16
|
+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17
|
+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
18
|
+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
19
|
+
// THE SOFTWARE.
|
|
20
|
+
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, EventEmitter, Inject, Input, Output, } from "@angular/core";
|
|
21
|
+
import { EventBus } from "@nova-ui/bits";
|
|
22
|
+
import { DRILLDOWN } from "../../../../services/types";
|
|
23
|
+
import { PIZZAGNA_EVENT_BUS } from "../../../../types";
|
|
24
|
+
import * as i0 from "@angular/core";
|
|
25
|
+
import * as i1 from "@angular/common";
|
|
26
|
+
import * as i2 from "@nova-ui/bits";
|
|
27
|
+
export class ListNavigationBarComponent {
|
|
28
|
+
static { this.lateLoadKey = "ListNavigationBarComponent"; }
|
|
29
|
+
constructor(changeDetector, eventBus) {
|
|
30
|
+
this.changeDetector = changeDetector;
|
|
31
|
+
this.eventBus = eventBus;
|
|
32
|
+
this.navigated = new EventEmitter();
|
|
33
|
+
}
|
|
34
|
+
onBack() {
|
|
35
|
+
if (this.navBarConfig) {
|
|
36
|
+
this.eventBus.getStream(DRILLDOWN).next({
|
|
37
|
+
payload: {
|
|
38
|
+
back: this.navBarConfig?.buttons?.back?.disabled,
|
|
39
|
+
},
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
onHome() {
|
|
44
|
+
this.eventBus.getStream(DRILLDOWN).next({ payload: { reset: true } });
|
|
45
|
+
}
|
|
46
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ListNavigationBarComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: PIZZAGNA_EVENT_BUS }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
47
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ListNavigationBarComponent, selector: "nui-navigation-bar", inputs: { navBarConfig: "navBarConfig" }, outputs: { navigated: "navigated" }, ngImport: i0, template: "<div class=\"list-nav-bar\" *ngIf=\"navBarConfig && !navBarConfig?.isRoot\">\n <button\n nui-button\n type=\"button\"\n [isRepeat]=\"true\"\n displayStyle=\"action\"\n icon=\"arrow-left\"\n [disabled]=\"!navBarConfig?.buttons?.back?.disabled\"\n (click)=\"onBack()\"\n ></button>\n\n <button\n nui-button\n type=\"button\"\n [isRepeat]=\"true\"\n displayStyle=\"action\"\n icon=\"overview\"\n (click)=\"onHome()\"\n ></button>\n <div class=\"list-nav-bar__label\">{{ navBarConfig?.label }}</div>\n</div>\n", styles: [".list-nav-bar{width:100%;margin:2px 0;padding:0 15px;display:flex;align-items:center}.list-nav-bar__label{padding-left:5px;color:#1119}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.ButtonComponent, selector: "[nui-button]", inputs: ["displayStyle", "icon", "iconColor", "iconRight", "isBusy", "isEmpty", "ariaLabel", "isRepeat", "size"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
48
|
+
}
|
|
49
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ListNavigationBarComponent, decorators: [{
|
|
50
|
+
type: Component,
|
|
51
|
+
args: [{ selector: "nui-navigation-bar", changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"list-nav-bar\" *ngIf=\"navBarConfig && !navBarConfig?.isRoot\">\n <button\n nui-button\n type=\"button\"\n [isRepeat]=\"true\"\n displayStyle=\"action\"\n icon=\"arrow-left\"\n [disabled]=\"!navBarConfig?.buttons?.back?.disabled\"\n (click)=\"onBack()\"\n ></button>\n\n <button\n nui-button\n type=\"button\"\n [isRepeat]=\"true\"\n displayStyle=\"action\"\n icon=\"overview\"\n (click)=\"onHome()\"\n ></button>\n <div class=\"list-nav-bar__label\">{{ navBarConfig?.label }}</div>\n</div>\n", styles: [".list-nav-bar{width:100%;margin:2px 0;padding:0 15px;display:flex;align-items:center}.list-nav-bar__label{padding-left:5px;color:#1119}\n"] }]
|
|
52
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i2.EventBus, decorators: [{
|
|
53
|
+
type: Inject,
|
|
54
|
+
args: [PIZZAGNA_EVENT_BUS]
|
|
55
|
+
}] }]; }, propDecorators: { navBarConfig: [{
|
|
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XG48L2Rpdj5cbiJdfQ==
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
2
|
+
//
|
|
3
|
+
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4
|
+
// of this software and associated documentation files (the "Software"), to
|
|
5
|
+
// deal in the Software without restriction, including without limitation the
|
|
6
|
+
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
7
|
+
// sell copies of the Software, and to permit persons to whom the Software is
|
|
8
|
+
// furnished to do so, subject to the following conditions:
|
|
9
|
+
//
|
|
10
|
+
// The above copyright notice and this permission notice shall be included in
|
|
11
|
+
// all copies or substantial portions of the Software.
|
|
12
|
+
//
|
|
13
|
+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
14
|
+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
15
|
+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
16
|
+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17
|
+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
18
|
+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
19
|
+
// THE SOFTWARE.
|
|
20
|
+
import { ChangeDetectorRef, Component, ElementRef, HostBinding, Inject, Input, NgZone, } from "@angular/core";
|
|
21
|
+
import { Subject } from "rxjs";
|
|
22
|
+
import { takeUntil } from "rxjs/operators";
|
|
23
|
+
import { EventBus, ResizeObserverDirective } from "@nova-ui/bits";
|
|
24
|
+
import { mapDataToFormatterProperties } from "../../functions/map-data-to-formatter-properties";
|
|
25
|
+
import { DRILLDOWN } from "../../services/types";
|
|
26
|
+
import { PIZZAGNA_EVENT_BUS } from "../../types";
|
|
27
|
+
import * as i0 from "@angular/core";
|
|
28
|
+
import * as i1 from "@angular/common";
|
|
29
|
+
import * as i2 from "@nova-ui/bits";
|
|
30
|
+
import * as i3 from "@angular/cdk/portal";
|
|
31
|
+
import * as i4 from "../../pizzagna/directives/component-portal/component-portal.directive";
|
|
32
|
+
const RESIZE_DEBOUNCE_TIME = 10;
|
|
33
|
+
export class ListWidgetComponent {
|
|
34
|
+
static { this.lateLoadKey = "ListWidgetComponent"; }
|
|
35
|
+
constructor(changeDetector, zone, host, eventBus) {
|
|
36
|
+
this.changeDetector = changeDetector;
|
|
37
|
+
this.zone = zone;
|
|
38
|
+
this.host = host;
|
|
39
|
+
this.eventBus = eventBus;
|
|
40
|
+
this.itemFormatterProps = new Map();
|
|
41
|
+
this.destroy$ = new Subject();
|
|
42
|
+
}
|
|
43
|
+
ngOnInit() {
|
|
44
|
+
this.initResizeObserver();
|
|
45
|
+
}
|
|
46
|
+
ngOnChanges(changes) {
|
|
47
|
+
if (changes.data?.currentValue) {
|
|
48
|
+
changes.data.currentValue.forEach((v) => this.itemFormatterProps.set(v, this.calcItemProps(v)));
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
// TODO: think of how to get rid of this logic on listWidget
|
|
52
|
+
// since it's very specific for drilldown and appstack
|
|
53
|
+
onListItemEvent(item) {
|
|
54
|
+
this.eventBus.getStream(DRILLDOWN).next({ payload: item });
|
|
55
|
+
}
|
|
56
|
+
ngOnDestroy() {
|
|
57
|
+
this.destroy$.next();
|
|
58
|
+
this.destroy$.complete();
|
|
59
|
+
this.itemFormatterProps.clear();
|
|
60
|
+
}
|
|
61
|
+
getPropsFor(item) {
|
|
62
|
+
return {
|
|
63
|
+
...this.itemFormatterProps.get(item),
|
|
64
|
+
widgetWidth: this.widgetWidth,
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
shouldDisplayRepeat() {
|
|
68
|
+
return this.data?.length > 0;
|
|
69
|
+
}
|
|
70
|
+
calcItemProps(item) {
|
|
71
|
+
if (!this.configuration) {
|
|
72
|
+
return item;
|
|
73
|
+
}
|
|
74
|
+
return {
|
|
75
|
+
...mapDataToFormatterProperties(this.configuration, item),
|
|
76
|
+
...this.configuration.itemProperties,
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
// think of using eventBus to let widget entities know about it's width. - mb some formatters for widget doesn't care about it's width.
|
|
80
|
+
initResizeObserver() {
|
|
81
|
+
const resizeDirective = new ResizeObserverDirective(this.host, this.zone);
|
|
82
|
+
resizeDirective.debounceTime = RESIZE_DEBOUNCE_TIME;
|
|
83
|
+
resizeDirective.ngAfterViewInit();
|
|
84
|
+
resizeDirective.containerResize
|
|
85
|
+
.pipe(takeUntil(this.destroy$))
|
|
86
|
+
.subscribe(() => {
|
|
87
|
+
this.widgetWidth = this.host.nativeElement.offsetWidth;
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ListWidgetComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i0.ElementRef }, { token: PIZZAGNA_EVENT_BUS }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
91
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ListWidgetComponent, selector: "nui-list-widget", inputs: { data: "data", configuration: "configuration", elementClass: "elementClass" }, host: { properties: { "class": "this.elementClass" } }, usesOnChanges: true, ngImport: i0, template: "<nui-repeat\n *ngIf=\"shouldDisplayRepeat()\"\n [itemsSource]=\"data\"\n [repeatItemTemplateRef]=\"repeatItemTemplate\"\n>\n</nui-repeat>\n\n<div class=\"empty\" *ngIf=\"!shouldDisplayRepeat()\">\n <nui-image image=\"no-data-to-show\"></nui-image>\n</div>\n\n<ng-template #repeatItemTemplate let-item=\"item\">\n <div class=\"empty\" *ngIf=\"!item\">\n <nui-image image=\"no-data-to-show\"></nui-image>\n </div>\n <ng-container\n nuiComponentPortal\n #componentPortal=\"nuiComponentPortal\"\n [componentId]=\"configuration.componentType\"\n [componentType]=\"configuration.componentType\"\n [properties]=\"getPropsFor(item)\"\n [outputs]=\"['navigated']\"\n (output)=\"onListItemEvent(item)\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n</ng-template>\n", styles: [":host{height:100%;overflow:auto}.empty{height:100%;display:grid;place-content:center}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.ImageComponent, selector: "nui-image", inputs: ["image", "description", "float", "margin", "isWatermark", "width", "height", "autoFill"] }, { kind: "directive", type: i3.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { kind: "directive", type: i4.ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { kind: "component", type: i2.RepeatComponent, selector: "nui-repeat", inputs: ["draggable", "reorderable", "preventRowClick", "repeatItemTemplateRef", "dragHandleTemplateRef", "dragPreviewClass", "dragPreviewTemplateRef", "actionsTemplateRef", "selectionMode", "paddingSize", "virtualScroll", "itemSize", "selection", "itemConfig", "itemsSource", "highlightSelectedItem"], outputs: ["draggableChange", "reorderableChange", "itemsReordered", "selectionChange"] }] }); }
|
|
92
|
+
}
|
|
93
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ListWidgetComponent, decorators: [{
|
|
94
|
+
type: Component,
|
|
95
|
+
args: [{ selector: "nui-list-widget", template: "<nui-repeat\n *ngIf=\"shouldDisplayRepeat()\"\n [itemsSource]=\"data\"\n [repeatItemTemplateRef]=\"repeatItemTemplate\"\n>\n</nui-repeat>\n\n<div class=\"empty\" *ngIf=\"!shouldDisplayRepeat()\">\n <nui-image image=\"no-data-to-show\"></nui-image>\n</div>\n\n<ng-template #repeatItemTemplate let-item=\"item\">\n <div class=\"empty\" *ngIf=\"!item\">\n <nui-image image=\"no-data-to-show\"></nui-image>\n </div>\n <ng-container\n nuiComponentPortal\n #componentPortal=\"nuiComponentPortal\"\n [componentId]=\"configuration.componentType\"\n [componentType]=\"configuration.componentType\"\n [properties]=\"getPropsFor(item)\"\n [outputs]=\"['navigated']\"\n (output)=\"onListItemEvent(item)\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n</ng-template>\n", styles: [":host{height:100%;overflow:auto}.empty{height:100%;display:grid;place-content:center}\n"] }]
|
|
96
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i0.ElementRef }, { type: i2.EventBus, decorators: [{
|
|
97
|
+
type: Inject,
|
|
98
|
+
args: [PIZZAGNA_EVENT_BUS]
|
|
99
|
+
}] }]; }, propDecorators: { data: [{
|
|
100
|
+
type: Input
|
|
101
|
+
}], configuration: [{
|
|
102
|
+
type: Input
|
|
103
|
+
}], elementClass: [{
|
|
104
|
+
type: Input
|
|
105
|
+
}, {
|
|
106
|
+
type: HostBinding,
|
|
107
|
+
args: ["class"]
|
|
108
|
+
}] } });
|
|
109
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGlzdC13aWRnZXQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL2xpYi9jb21wb25lbnRzL2xpc3Qtd2lkZ2V0L2xpc3Qtd2lkZ2V0LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3NyYy9saWIvY29tcG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F09XCJjb21wb25lbnRQb3J0YWwucG9ydGFsXCJcbiAgICAgICAgICAgIChhdHRhY2hlZCk9XCJjb21wb25lbnRQb3J0YWwuYXR0YWNoZWQoJGV2ZW50KVwiXG4gICAgICAgID48L25nLXRlbXBsYXRlPlxuICAgIDwvbmctY29udGFpbmVyPlxuPC9uZy10ZW1wbGF0ZT5cbiJdfQ==
|
|
@@ -0,0 +1,51 @@
|
|
|
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 { animate, state, style, transition, trigger, } from "@angular/animations";
|
|
21
|
+
import { ChangeDetectorRef, Component, Input } from "@angular/core";
|
|
22
|
+
import * as i0 from "@angular/core";
|
|
23
|
+
import * as i1 from "@nova-ui/bits";
|
|
24
|
+
export class LoadingComponent {
|
|
25
|
+
static { this.lateLoadKey = "LoadingComponent"; }
|
|
26
|
+
constructor(changeDetector) {
|
|
27
|
+
this.changeDetector = changeDetector;
|
|
28
|
+
this.active = false;
|
|
29
|
+
}
|
|
30
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LoadingComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
31
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: LoadingComponent, selector: "nui-loading", inputs: { active: "active" }, ngImport: i0, template: "<nui-progress\n [@animate]=\"active\"\n (@animate.start)=\"$event.element.style.display = 'block'\"\n (@animate.done)=\"\n $event.element.style.display = $event.toState ? 'block' : 'none'\n \"\n [show]=\"true\"\n compactMode=\"true\"\n>\n</nui-progress>\n", styles: [":host{height:5px;flex-shrink:0}\n"], dependencies: [{ kind: "component", type: i1.ProgressComponent, selector: "nui-progress", inputs: ["show", "showProgress", "message", "showNumber", "percent", "allowCancel", "cancelText", "helpText", "stacked", "compactMode", "ariaLabel", "helpTemplateRef"], outputs: ["cancel"] }], animations: [
|
|
32
|
+
trigger("animate", [
|
|
33
|
+
state("true", style({ opacity: 1 })),
|
|
34
|
+
state("false", style({ opacity: 0 })),
|
|
35
|
+
transition("false <=> true", animate(500)),
|
|
36
|
+
]),
|
|
37
|
+
] }); }
|
|
38
|
+
}
|
|
39
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LoadingComponent, decorators: [{
|
|
40
|
+
type: Component,
|
|
41
|
+
args: [{ selector: "nui-loading", animations: [
|
|
42
|
+
trigger("animate", [
|
|
43
|
+
state("true", style({ opacity: 1 })),
|
|
44
|
+
state("false", style({ opacity: 0 })),
|
|
45
|
+
transition("false <=> true", animate(500)),
|
|
46
|
+
]),
|
|
47
|
+
], template: "<nui-progress\n [@animate]=\"active\"\n (@animate.start)=\"$event.element.style.display = 'block'\"\n (@animate.done)=\"\n $event.element.style.display = $event.toState ? 'block' : 'none'\n \"\n [show]=\"true\"\n compactMode=\"true\"\n>\n</nui-progress>\n", styles: [":host{height:5px;flex-shrink:0}\n"] }]
|
|
48
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { active: [{
|
|
49
|
+
type: Input
|
|
50
|
+
}] } });
|
|
51
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9hZGluZy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvbGliL2NvbXBvbmVudHMvbG9hZGluZy9sb2FkaW5nLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3NyYy9saWIvY29tcG9uZW50cy9sb2FkaW5nL2xvYWRpbmcuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEseURBQXlEO0FBQ3pELEVBQUU7QUFDRiwrRUFBK0U7QUFDL0UsNEVBQTRFO0FBQzVFLDhFQUE4RTtBQUM5RSwrRUFBK0U7QUFDL0UsOEVBQThFO0FBQzlFLDREQUE0RDtBQUM1RCxFQUFFO0FBQ0YsNkVBQTZFO0FBQzdFLHVEQUF1RDtBQUN2RCxFQUFFO0FBQ0YsNkVBQTZFO0FBQzdFLDRFQUE0RTtBQUM1RSwrRUFBK0U7QUFDL0UsMEVBQTBFO0FBQzFFLGlGQUFpRjtBQUNqRiw2RUFBNkU7QUFDN0UsaUJBQWlCO0FBRWpCLE9BQU8sRUFDSCxPQUFPLEVBQ1AsS0FBSyxFQUNMLEtBQUssRUFDTCxVQUFVLEVBQ1YsT0FBTyxHQU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2
|
+
//
|
|
3
|
+
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4
|
+
// of this software and associated documentation files (the "Software"), to
|
|
5
|
+
// deal in the Software without restriction, including without limitation the
|
|
6
|
+
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
7
|
+
// sell copies of the Software, and to permit persons to whom the Software is
|
|
8
|
+
// furnished to do so, subject to the following conditions:
|
|
9
|
+
//
|
|
10
|
+
// The above copyright notice and this permission notice shall be included in
|
|
11
|
+
// all copies or substantial portions of the Software.
|
|
12
|
+
//
|
|
13
|
+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
14
|
+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
15
|
+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
16
|
+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17
|
+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
18
|
+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
19
|
+
// THE SOFTWARE.
|
|
20
|
+
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Input, } from "@angular/core";
|
|
21
|
+
import { Subject } from "rxjs";
|
|
22
|
+
import { takeUntil } from "rxjs/operators";
|
|
23
|
+
import { LoggerService } from "@nova-ui/bits";
|
|
24
|
+
import { ChartAssist, } from "@nova-ui/charts";
|
|
25
|
+
import { mapDataToFormatterProperties } from "../../../functions/map-data-to-formatter-properties";
|
|
26
|
+
import { ProportionalContentAggregatorsRegistryService } from "../../../services/proportional-content-aggregators-registry.service";
|
|
27
|
+
import { ProportionalDonutContentFormattersRegistryService } from "../../../services/public-api";
|
|
28
|
+
import * as i0 from "@angular/core";
|
|
29
|
+
import * as i1 from "../../../services/proportional-content-aggregators-registry.service";
|
|
30
|
+
import * as i2 from "../../../services/public-api";
|
|
31
|
+
import * as i3 from "@nova-ui/bits";
|
|
32
|
+
import * as i4 from "@angular/common";
|
|
33
|
+
import * as i5 from "@angular/cdk/portal";
|
|
34
|
+
import * as i6 from "../../../pizzagna/directives/component-portal/component-portal.directive";
|
|
35
|
+
export class ProportionalDonutContentComponent {
|
|
36
|
+
static { this.lateLoadKey = "ProportionalDonutContentComponent"; }
|
|
37
|
+
constructor(aggregatorRegistry, formatterRegistry, changeDetector, logger) {
|
|
38
|
+
this.aggregatorRegistry = aggregatorRegistry;
|
|
39
|
+
this.formatterRegistry = formatterRegistry;
|
|
40
|
+
this.changeDetector = changeDetector;
|
|
41
|
+
this.logger = logger;
|
|
42
|
+
this.destroy$ = new Subject();
|
|
43
|
+
}
|
|
44
|
+
ngOnChanges(changes) {
|
|
45
|
+
if (changes.donutConfig) {
|
|
46
|
+
const donutConfig = changes.donutConfig.currentValue;
|
|
47
|
+
const { formatter, aggregator } = donutConfig;
|
|
48
|
+
if (aggregator?.aggregatorType) {
|
|
49
|
+
this.updateAggregatorDefinition(aggregator);
|
|
50
|
+
this.updateAggregatedValue();
|
|
51
|
+
}
|
|
52
|
+
if (formatter?.componentType) {
|
|
53
|
+
this.contentFormatter = formatter;
|
|
54
|
+
this.updateFormatterDefinition(formatter);
|
|
55
|
+
this.updateFormatterProperties();
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
if (changes.widgetData) {
|
|
59
|
+
this.updateAggregatedValue();
|
|
60
|
+
this.updateFormatterProperties();
|
|
61
|
+
}
|
|
62
|
+
if (changes.chartAssist) {
|
|
63
|
+
this.subscribeToChartAssist();
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
ngOnDestroy() {
|
|
67
|
+
this.destroy$.next();
|
|
68
|
+
this.destroy$.complete();
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Iterates over formatters and maps their properties from the data
|
|
72
|
+
*
|
|
73
|
+
* @param formattersConfiguration
|
|
74
|
+
*/
|
|
75
|
+
getFormatterProperties(formatter) {
|
|
76
|
+
if (!formatter) {
|
|
77
|
+
return undefined;
|
|
78
|
+
}
|
|
79
|
+
return {
|
|
80
|
+
...this.contentFormatterDefinition?.properties,
|
|
81
|
+
data: mapDataToFormatterProperties(formatter, {
|
|
82
|
+
// add "aggregatedValue" as "value" so that formatter processes it by default
|
|
83
|
+
value: this.aggregatedValue,
|
|
84
|
+
}),
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
updateAggregatorDefinition(aggregatorConfig) {
|
|
88
|
+
const fromRegistry = this.aggregatorRegistry.getItem(aggregatorConfig.aggregatorType);
|
|
89
|
+
if (fromRegistry) {
|
|
90
|
+
this.contentAggregatorDefinition = fromRegistry;
|
|
91
|
+
}
|
|
92
|
+
else {
|
|
93
|
+
this.logger.warn(`No aggregator with key ${aggregatorConfig.aggregatorType} found in registry.`);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
updateFormatterDefinition(formatterConfig) {
|
|
97
|
+
const fromRegistry = this.formatterRegistry.getItem(formatterConfig.componentType);
|
|
98
|
+
if (fromRegistry) {
|
|
99
|
+
this.contentFormatterDefinition = fromRegistry;
|
|
100
|
+
}
|
|
101
|
+
else {
|
|
102
|
+
this.logger.warn(`No aggregator with key ${formatterConfig.componentType} found in registry.`);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
updateAggregatedValue() {
|
|
106
|
+
if (!this.widgetData || !this.contentAggregatorDefinition) {
|
|
107
|
+
this.logger.warn(`Can't aggregate value. Aggregator key: ${this.contentAggregatorDefinition?.aggregatorType}. Data: ${this.widgetData}`);
|
|
108
|
+
return;
|
|
109
|
+
}
|
|
110
|
+
const properties = this.getAggregatorProperties();
|
|
111
|
+
this.aggregatedValue = this.contentAggregatorDefinition
|
|
112
|
+
.fn(this.widgetData, {
|
|
113
|
+
...properties,
|
|
114
|
+
// prioritize emphasizedSeriesId if series is hovered on the chart
|
|
115
|
+
activeMetricId: this.emphasizedSeriesId || properties.activeMetricId,
|
|
116
|
+
})
|
|
117
|
+
.toString();
|
|
118
|
+
}
|
|
119
|
+
updateFormatterProperties() {
|
|
120
|
+
this.contentFormatterProperties = this.getFormatterProperties(this.contentFormatter);
|
|
121
|
+
}
|
|
122
|
+
getAggregatorProperties() {
|
|
123
|
+
return {
|
|
124
|
+
...this.contentAggregatorDefinition?.properties,
|
|
125
|
+
...this.donutConfig?.aggregator?.properties,
|
|
126
|
+
};
|
|
127
|
+
}
|
|
128
|
+
subscribeToChartAssist() {
|
|
129
|
+
this.chartAssistSubscription?.unsubscribe();
|
|
130
|
+
this.chartAssistSubscription = this.chartAssist?.chartAssistSubject
|
|
131
|
+
?.pipe(takeUntil(this.destroy$))
|
|
132
|
+
.subscribe((data) => {
|
|
133
|
+
this.emphasizedSeriesId = data.payload?.seriesId;
|
|
134
|
+
this.updateAggregatedValue();
|
|
135
|
+
this.updateFormatterProperties();
|
|
136
|
+
this.changeDetector.detectChanges();
|
|
137
|
+
});
|
|
138
|
+
}
|
|
139
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ProportionalDonutContentComponent, deps: [{ token: i1.ProportionalContentAggregatorsRegistryService }, { token: i2.ProportionalDonutContentFormattersRegistryService }, { token: i0.ChangeDetectorRef }, { token: i3.LoggerService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
140
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ProportionalDonutContentComponent, selector: "nui-proportional-donut-content", inputs: { widgetData: "widgetData", donutConfig: "donutConfig", chartAssist: "chartAssist" }, usesOnChanges: true, ngImport: i0, template: "<ng-container\n *ngIf=\"contentFormatter?.componentType\"\n nuiComponentPortal\n [componentType]=\"contentFormatter?.componentType\"\n [properties]=\"contentFormatterProperties\"\n #componentPortal=\"nuiComponentPortal\"\n>\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n</ng-container>\n", styles: [""], dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i5.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { kind: "directive", type: i6.ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
141
|
+
}
|
|
142
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ProportionalDonutContentComponent, decorators: [{
|
|
143
|
+
type: Component,
|
|
144
|
+
args: [{ selector: "nui-proportional-donut-content", changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container\n *ngIf=\"contentFormatter?.componentType\"\n nuiComponentPortal\n [componentType]=\"contentFormatter?.componentType\"\n [properties]=\"contentFormatterProperties\"\n #componentPortal=\"nuiComponentPortal\"\n>\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n</ng-container>\n" }]
|
|
145
|
+
}], ctorParameters: function () { return [{ type: i1.ProportionalContentAggregatorsRegistryService }, { type: i2.ProportionalDonutContentFormattersRegistryService }, { type: i0.ChangeDetectorRef }, { type: i3.LoggerService }]; }, propDecorators: { widgetData: [{
|
|
146
|
+
type: Input
|
|
147
|
+
}], donutConfig: [{
|
|
148
|
+
type: Input
|
|
149
|
+
}], chartAssist: [{
|
|
150
|
+
type: Input
|
|
151
|
+
}] } });
|
|
152
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJz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XG5cbiAgICAgICAgICAgIGNvbnN0IHsgZm9ybWF0dGVyLCBhZ2dyZWdhdG9yIH0gPSBkb251dENvbmZpZztcbiAgICAgICAgICAgIGlmIChhZ2dyZWdhdG9yPy5hZ2dyZWdhdG9yVHlwZSkge1xuICAgICAgICAgICAgICAgIHRoaXMudXBkYXRlQWdncmVnYXRvckRlZmluaXRpb24oYWdncmVnYXRvcik7XG4gICAgICAgICAgICAgICAgdGhpcy51cGRhdGVBZ2dyZWdhdGVkVmFsdWUoKTtcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgaWYgKGZvcm1hdHRlcj8uY29tcG9uZW50VHlwZSkge1xuICAgICAgICAgICAgICAgIHRoaXMuY29udGVudEZvcm1hdHRlciA9IGZvcm1hdHRlcjtcbiAgICAgICAgICAgICAgICB0aGlzLnVwZGF0ZUZvcm1hdHRlckRlZmluaXRpb24oZm9ybWF0dGVyKTtcbiAgICAgICAgICAgICAgICB0aGlzLnVwZGF0ZUZvcm1hdHRlclByb3BlcnRpZXMoKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgIGlmIChjaGFuZ2VzLndpZGdldERhdGEpIHtcbiAgICAgICAgICAgIHRoaXMudXBkYXRlQWdncmVnYXRlZFZhbHVlKCk7XG4gICAgICAgICAgICB0aGlzLnVwZGF0ZUZvcm1hdHRlclByb3BlcnRpZXMoKTtcbiAgICAgICAgfVxuXG4gICAgICAgIGlmIChjaGFuZ2VzLmNoYXJ0QXNzaXN0KSB7XG4gICAgICAgICAgICB0aGlzLnN1YnNjcmliZVRvQ2hhcnRBc3Npc3QoKTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIHB1YmxpYyBuZ09uRGVzdHJveSgpOiB2b2lkIHtcbiAgICAgICAgdGhpcy5kZXN0cm95JC5uZXh0KCk7XG4gICAgICAgIHRoaXMuZGVzdHJveSQuY29tcGxldGUoKTtcbiAgICB9XG5cbiAgICAvKipcbiAgICAgKiBJdGVyYXRlcyBv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