@nova-ui/dashboards 17.0.0 → 19.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/nova-ui-dashboards.mjs +639 -615
- package/fesm2022/nova-ui-dashboards.mjs.map +1 -1
- package/lib/components/timeseries-widget/chart-presets/timeseries-chart.component.d.ts +1 -1
- package/lib/components/timeseries-widget/types.d.ts +6 -6
- package/lib/services/registry-service.d.ts +1 -1
- package/lib/widget-types/kpi/kpi-widget.d.ts +1 -1
- package/lib/widget-types/proportional/proportional-widget.d.ts +1 -1
- package/lib/widget-types/risk-score/risk-score-widget.d.ts +1 -1
- package/lib/widget-types/timeseries/timeseries-widget.d.ts +1 -1
- package/package.json +15 -19
- 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/dashboard.atom.js.map +1 -1
- package/sdk/atoms/spec/test.po.js.map +1 -1
- package/sdk/atoms/spec/timeseries/legend-series.atom.js.map +1 -1
- package/sdk/atoms/spec/virtual-dashboards/drilldown-widget-test/drilldown-widget-test.component.js +1 -0
- package/sdk/atoms/spec/virtual-dashboards/drilldown-widget-test/drilldown-widget-test.component.js.map +1 -1
- package/sdk/atoms/src/lib/common/components/preview-overlay/preview-overlay.component.js +1 -0
- 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 +1 -0
- 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 +4 -1
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- package/sdk/atoms/src/lib/components/kpi-widget/kpi.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/layouts/base-layout.js.map +1 -1
- package/sdk/atoms/src/lib/components/layouts/stack/stack.component.js +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -2
- package/sdk/atoms/src/lib/components/proportional-widget/proportional-widget.component.js.map +1 -1
- 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.map +1 -1
- 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.map +1 -1
- 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.map +1 -1
- 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.map +1 -1
- package/sdk/atoms/src/lib/components/providers/loading-adapter.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/pizzagna-broadcaster.service.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/refresher.js.map +1 -1
- 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 +1 -0
- package/sdk/atoms/src/lib/components/risk-score-tile/risk-score-tile.component.js.map +1 -1
- 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.map +1 -1
- 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 +1 -0
- 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 +1 -0
- package/sdk/atoms/src/lib/components/table-widget/table-widget.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/template-load-error/template-load-error.component.js +1 -0
- 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 +1 -0
- 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/apply-status-endpoints.js +1 -2
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/status-bar-chart/apply-status-endpoints.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/status-bar-chart/status-bar-chart.component.js +1 -0
- 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.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/line-chart.component.js +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-helpers.js +3 -3
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-helpers.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-inspection-menu/timeseries-inspection-menu.component.js +1 -0
- 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.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-widget.component.js +1 -0
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-widget.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/transformer/loess.js +1 -2
- package/sdk/atoms/src/lib/components/timeseries-widget/transformer/loess.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-change-point.js +1 -2
- package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-change-point.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-difference.js +1 -2
- package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-difference.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-floating-average.js +1 -2
- package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-floating-average.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-lin-reg.js +1 -2
- package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-lin-reg.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-loess-standardize.js +1 -2
- package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-loess-standardize.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-loess.js +1 -2
- package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-loess.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-normalize.js +1 -2
- package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-normalize.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-percentile-std.js +1 -2
- package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-percentile-std.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-standardize.js +1 -2
- package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-standardize.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/types.d.ts +6 -6
- package/sdk/atoms/src/lib/components/widget/widget-body/widget-body.component.js +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/configurator/configurator.component.js +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 -1
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/heading/configurator-heading.component.js +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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.component.js +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +2 -2
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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/thresholds-configuration/thresholds-validator.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/timeseries-metadata-configuration/timeseries-metadata-configuration.component.js +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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/proportional/aggregators-configurators/aggregator-configurator/aggregator-configurator.component.js +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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.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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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/timeseries/timeseries-series-collection-configuration/timeseries-series-collection-configuration.component.js +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- package/sdk/atoms/src/lib/configurator/components/wizard/dashwiz/dashwiz.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/wizard/dashwiz-step/dashwiz-step.component.js +1 -0
- 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.map +1 -1
- package/sdk/atoms/src/lib/configurator/functions/has-control-in-error-state.js +1 -2
- package/sdk/atoms/src/lib/configurator/functions/has-control-in-error-state.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/pipe/add-data.pipe.js +4 -1
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/configurator.service.js.map +1 -1
- 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.map +1 -1
- 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.map +1 -1
- 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/timeseries/timeseries-metadata-converter.service.js.map +1 -1
- 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.map +1 -1
- 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.map +1 -1
- 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 +1 -0
- 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 +1 -0
- package/sdk/atoms/src/lib/directives/widget-editor/widget-editor.directive.js.map +1 -1
- package/sdk/atoms/src/lib/functions/get-parent-component-id.js +1 -2
- package/sdk/atoms/src/lib/functions/get-parent-component-id.js.map +1 -1
- package/sdk/atoms/src/lib/functions/map-data-to-formatter-properties.js +1 -2
- package/sdk/atoms/src/lib/functions/map-data-to-formatter-properties.js.map +1 -1
- package/sdk/atoms/src/lib/functions/merge-changes.js +1 -2
- package/sdk/atoms/src/lib/functions/merge-changes.js.map +1 -1
- package/sdk/atoms/src/lib/functions/on-mark-as-touched.js +1 -2
- package/sdk/atoms/src/lib/functions/on-mark-as-touched.js.map +1 -1
- package/sdk/atoms/src/lib/functions/parse-string-with-data.js +1 -2
- package/sdk/atoms/src/lib/functions/parse-string-with-data.js.map +1 -1
- package/sdk/atoms/src/lib/functions/proportional-aggregators/field-mapper.js.map +1 -1
- package/sdk/atoms/src/lib/functions/proportional-aggregators/percentage-aggregator.js.map +1 -1
- package/sdk/atoms/src/lib/functions/proportional-aggregators/sum-aggregator.js.map +1 -1
- package/sdk/atoms/src/lib/functions/round-array-values.js +1 -2
- package/sdk/atoms/src/lib/functions/round-array-values.js.map +1 -1
- package/sdk/atoms/src/lib/functions/timeseries-datetime-formatter.js.map +1 -1
- package/sdk/atoms/src/lib/pizzagna/components/pizzagna/pizzagna.component.js +1 -0
- 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 +1 -0
- package/sdk/atoms/src/lib/pizzagna/directives/component-portal/component-portal.directive.js.map +1 -1
- package/sdk/atoms/src/lib/pizzagna/functions/get-pizzagna-property-path.js +1 -2
- package/sdk/atoms/src/lib/pizzagna/functions/get-pizzagna-property-path.js.map +1 -1
- 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.map +1 -1
- package/sdk/atoms/src/lib/pizzagna/services/pizzagna.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/category-chart-util.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/event-registry.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/provider-registry.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/registry-service.js.map +1 -1
- package/sdk/atoms/src/lib/services/url-interaction.service.js.map +1 -1
- 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.map +1 -1
- package/sdk/atoms/src/lib/services/widget-types.service.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/common/widget/components.js +2 -2
- package/sdk/atoms/src/lib/widget-types/common/widget/components.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/common/widget/providers.js +2 -2
- package/sdk/atoms/src/lib/widget-types/common/widget/providers.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/kpi/kpi-widget.d.ts +1 -1
- package/sdk/atoms/src/lib/widget-types/proportional/proportional-widget.d.ts +1 -1
- package/sdk/atoms/src/lib/widget-types/risk-score/risk-score-widget.d.ts +1 -1
- package/sdk/atoms/src/lib/widget-types/timeseries/timeseries-widget.d.ts +1 -1
- package/sdk/schematics/ng-add/index.js +1 -1
- package/sdk/schematics/ng-add/index.js.map +1 -1
- package/esm2022/lib/common/common.module.mjs +0 -41
- package/esm2022/lib/common/components/preview-overlay/preview-overlay.component.mjs +0 -35
- package/esm2022/lib/common/components/public-api.mjs +0 -22
- package/esm2022/lib/common/components/widget-error/widget-error.component.mjs +0 -54
- package/esm2022/lib/common/constants.mjs +0 -22
- package/esm2022/lib/common/pipes/dashboard-unit-conversion-pipe.mjs +0 -57
- package/esm2022/lib/common/pipes/public-api.mjs +0 -21
- package/esm2022/lib/common/public-api.mjs +0 -24
- package/esm2022/lib/components/dashboard/dashboard.component.mjs +0 -222
- package/esm2022/lib/components/dashboard/default-gridster-config.mjs +0 -78
- package/esm2022/lib/components/dashboard/public-api.mjs +0 -22
- package/esm2022/lib/components/dashboard/types.mjs +0 -21
- package/esm2022/lib/components/embedded-content/embedded-content.component.mjs +0 -95
- package/esm2022/lib/components/kpi-widget/kpi.component.mjs +0 -129
- package/esm2022/lib/components/kpi-widget/public-api.mjs +0 -22
- package/esm2022/lib/components/kpi-widget/types.mjs +0 -25
- package/esm2022/lib/components/layouts/base-layout.mjs +0 -118
- package/esm2022/lib/components/layouts/public-api.mjs +0 -23
- package/esm2022/lib/components/layouts/stack/stack.component.mjs +0 -65
- package/esm2022/lib/components/layouts/tiles/tiles.component.mjs +0 -99
- package/esm2022/lib/components/list-widget/list-elements/list-group-item/list-group-item.component.mjs +0 -62
- package/esm2022/lib/components/list-widget/list-elements/list-leaf-item/list-leaf-item.component.mjs +0 -76
- package/esm2022/lib/components/list-widget/list-elements/list-navigation-bar/list-navigation-bar.component.mjs +0 -60
- package/esm2022/lib/components/list-widget/list-widget.component.mjs +0 -109
- package/esm2022/lib/components/list-widget/public-api.mjs +0 -25
- package/esm2022/lib/components/list-widget/types.mjs +0 -21
- package/esm2022/lib/components/loading/loading.component.mjs +0 -51
- package/esm2022/lib/components/loading/public-api.mjs +0 -21
- package/esm2022/lib/components/proportional-widget/proportional-donut-content/proportional-donut-content.component.mjs +0 -152
- package/esm2022/lib/components/proportional-widget/proportional-widget.component.mjs +0 -333
- package/esm2022/lib/components/proportional-widget/public-api.mjs +0 -23
- package/esm2022/lib/components/proportional-widget/types.mjs +0 -27
- package/esm2022/lib/components/providers/data-source-adapter.mjs +0 -145
- package/esm2022/lib/components/providers/drilldown-data-source-adapter.mjs +0 -114
- package/esm2022/lib/components/providers/event-bus-debugger.mjs +0 -58
- package/esm2022/lib/components/providers/interaction/interaction-handler.mjs +0 -54
- package/esm2022/lib/components/providers/interaction/url-interaction-handler.mjs +0 -69
- package/esm2022/lib/components/providers/kpi-color-prioritizer.mjs +0 -107
- package/esm2022/lib/components/providers/kpi-data-source-adapter.mjs +0 -109
- package/esm2022/lib/components/providers/kpi-scale-sync-broker.mjs +0 -143
- package/esm2022/lib/components/providers/kpi-status-content-fallback-adapter.mjs +0 -104
- package/esm2022/lib/components/providers/loading-adapter.mjs +0 -72
- package/esm2022/lib/components/providers/pizzagna-broadcaster.service.mjs +0 -84
- package/esm2022/lib/components/providers/public-api.mjs +0 -28
- package/esm2022/lib/components/providers/refresher-settings.service.mjs +0 -52
- package/esm2022/lib/components/providers/refresher.mjs +0 -105
- package/esm2022/lib/components/providers/status-content-fallback-adapter.mjs +0 -67
- package/esm2022/lib/components/providers/table-data-source-adapter.mjs +0 -90
- package/esm2022/lib/components/providers/timeseries-data-source-adapter.mjs +0 -72
- package/esm2022/lib/components/providers/types.mjs +0 -22
- package/esm2022/lib/components/public-api.mjs +0 -37
- package/esm2022/lib/components/risk-score-tile/public-api.mjs +0 -22
- package/esm2022/lib/components/risk-score-tile/risk-score-tile.component.mjs +0 -115
- package/esm2022/lib/components/risk-score-tile/types.mjs +0 -25
- package/esm2022/lib/components/table-widget/addons/paginator-feature-addon.service.mjs +0 -116
- package/esm2022/lib/components/table-widget/addons/search-feature-addon.service.mjs +0 -101
- package/esm2022/lib/components/table-widget/addons/virtual-scroll-feature-addon.service.mjs +0 -84
- package/esm2022/lib/components/table-widget/delayed-mouse-presence-detection.directive.mjs +0 -74
- package/esm2022/lib/components/table-widget/public-api.mjs +0 -23
- package/esm2022/lib/components/table-widget/table-widget.component.mjs +0 -612
- package/esm2022/lib/components/table-widget/types.mjs +0 -26
- package/esm2022/lib/components/template-load-error/public-api.mjs +0 -21
- package/esm2022/lib/components/template-load-error/template-load-error.component.mjs +0 -38
- package/esm2022/lib/components/time-frame-selection/public-api.mjs +0 -21
- package/esm2022/lib/components/time-frame-selection/timeframe-selection.component.mjs +0 -127
- package/esm2022/lib/components/timeseries-widget/chart-presets/public-api.mjs +0 -27
- package/esm2022/lib/components/timeseries-widget/chart-presets/status-bar-chart/apply-status-endpoints.mjs +0 -73
- package/esm2022/lib/components/timeseries-widget/chart-presets/status-bar-chart/status-bar-chart.component.mjs +0 -237
- package/esm2022/lib/components/timeseries-widget/chart-presets/timeseries-chart.component.mjs +0 -175
- package/esm2022/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/line-chart.component.mjs +0 -62
- package/esm2022/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-area-chart.component.mjs +0 -68
- package/esm2022/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-bar-chart.component.mjs +0 -84
- package/esm2022/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-percentage-area-chart.component.mjs +0 -62
- package/esm2022/lib/components/timeseries-widget/chart-presets/xy-chart/xy-chart.component.mjs +0 -347
- package/esm2022/lib/components/timeseries-widget/public-api.mjs +0 -27
- package/esm2022/lib/components/timeseries-widget/timeseries-chart-preset.service.mjs +0 -57
- package/esm2022/lib/components/timeseries-widget/timeseries-helpers.mjs +0 -44
- package/esm2022/lib/components/timeseries-widget/timeseries-inspection-menu/timeseries-inspection-menu.component.mjs +0 -150
- package/esm2022/lib/components/timeseries-widget/timeseries-scales.service.mjs +0 -180
- package/esm2022/lib/components/timeseries-widget/timeseries-widget.component.mjs +0 -111
- package/esm2022/lib/components/timeseries-widget/transformer/loess.mjs +0 -220
- package/esm2022/lib/components/timeseries-widget/transformer/public-api.mjs +0 -29
- package/esm2022/lib/components/timeseries-widget/transformer/transformer-change-point.mjs +0 -104
- package/esm2022/lib/components/timeseries-widget/transformer/transformer-difference.mjs +0 -58
- package/esm2022/lib/components/timeseries-widget/transformer/transformer-floating-average.mjs +0 -41
- package/esm2022/lib/components/timeseries-widget/transformer/transformer-lin-reg.mjs +0 -66
- package/esm2022/lib/components/timeseries-widget/transformer/transformer-loess-standardize.mjs +0 -29
- package/esm2022/lib/components/timeseries-widget/transformer/transformer-loess.mjs +0 -38
- package/esm2022/lib/components/timeseries-widget/transformer/transformer-normalize.mjs +0 -47
- package/esm2022/lib/components/timeseries-widget/transformer/transformer-percentile-std.mjs +0 -58
- package/esm2022/lib/components/timeseries-widget/transformer/transformer-standardize.mjs +0 -47
- package/esm2022/lib/components/timeseries-widget/types.mjs +0 -76
- package/esm2022/lib/components/types.mjs +0 -25
- package/esm2022/lib/components/widget/public-api.mjs +0 -26
- package/esm2022/lib/components/widget/types.mjs +0 -21
- package/esm2022/lib/components/widget/widget-body/widget-body.component.mjs +0 -88
- package/esm2022/lib/components/widget/widget-body-content/widget-body-content.component.mjs +0 -75
- package/esm2022/lib/components/widget/widget-header/types.mjs +0 -21
- package/esm2022/lib/components/widget/widget-header/widget-header.component.mjs +0 -202
- package/esm2022/lib/components/widget/widget.component.mjs +0 -65
- package/esm2022/lib/components/widget-search/types.mjs +0 -21
- package/esm2022/lib/components/widget-search/widget-search.component.mjs +0 -111
- package/esm2022/lib/configurator/components/color-picker/HTMLcolors.mjs +0 -163
- package/esm2022/lib/configurator/components/color-picker/color-picker.component.mjs +0 -183
- package/esm2022/lib/configurator/components/color-picker/color.service.mjs +0 -56
- package/esm2022/lib/configurator/components/configurator/configurator.component.mjs +0 -119
- package/esm2022/lib/configurator/components/drop-area/drop-area.component.mjs +0 -30
- package/esm2022/lib/configurator/components/form-stack/form-stack.component.mjs +0 -86
- package/esm2022/lib/configurator/components/formatters/donut-content-percentage-formatter/donut-content-percentage-configuration.component.mjs +0 -43
- package/esm2022/lib/configurator/components/formatters/donut-content-percentage-formatter/donut-content-percentage-formatter.component.mjs +0 -84
- package/esm2022/lib/configurator/components/formatters/donut-content-raw-formatter/donut-content-raw-formatter.component.mjs +0 -89
- package/esm2022/lib/configurator/components/formatters/donut-content-sum-formatter/donut-content-sum-formatter.component.mjs +0 -47
- package/esm2022/lib/configurator/components/formatters/icon-formatter/icon-formatter.component.mjs +0 -85
- package/esm2022/lib/configurator/components/formatters/link-formatter/link-formatter.component.mjs +0 -61
- package/esm2022/lib/configurator/components/formatters/percentage-formatter/percentage-formatter.component.mjs +0 -35
- package/esm2022/lib/configurator/components/formatters/raw-formatter/raw-formatter.component.mjs +0 -44
- package/esm2022/lib/configurator/components/formatters/si-units-formatter/si-units-formatter.component.mjs +0 -120
- package/esm2022/lib/configurator/components/formatters/status-with-icon-formatter/status-with-icon-formatter.component.mjs +0 -105
- package/esm2022/lib/configurator/components/formatters/types.mjs +0 -21
- package/esm2022/lib/configurator/components/formatters/widget-formatter-configurators/donut-formatter-configurator.component.mjs +0 -92
- package/esm2022/lib/configurator/components/heading/configurator-heading.component.mjs +0 -49
- package/esm2022/lib/configurator/components/items-dynamic/items-dynamic.component.mjs +0 -148
- package/esm2022/lib/configurator/components/preview-placeholder/preview-placeholder.component.mjs +0 -31
- package/esm2022/lib/configurator/components/public-api.mjs +0 -46
- package/esm2022/lib/configurator/components/types.mjs +0 -21
- package/esm2022/lib/configurator/components/widget-cloner/widget-cloner.component.mjs +0 -184
- package/esm2022/lib/configurator/components/widget-configurator-section/widget-configurator-section-coordinator.service.mjs +0 -57
- package/esm2022/lib/configurator/components/widget-configurator-section/widget-configurator-section.component.mjs +0 -83
- package/esm2022/lib/configurator/components/widget-editor/widget-editor.component.mjs +0 -146
- package/esm2022/lib/configurator/components/widget-editor-accordion/widget-editor-accordion-header/widget-editor-accordion-header.component.mjs +0 -25
- package/esm2022/lib/configurator/components/widget-editor-accordion/widget-editor-accordion.component.mjs +0 -73
- package/esm2022/lib/configurator/components/widgets/configurator-items/background-color-rules-configuration/background-color-rules-configuration.component.mjs +0 -122
- package/esm2022/lib/configurator/components/widgets/configurator-items/data-source-configuration/data-source-configuration.component.mjs +0 -153
- package/esm2022/lib/configurator/components/widgets/configurator-items/data-source-configuration-v2/data-source-configuration-v2.component.mjs +0 -198
- package/esm2022/lib/configurator/components/widgets/configurator-items/data-source-error/data-source-error.component.mjs +0 -74
- package/esm2022/lib/configurator/components/widgets/configurator-items/data-source-error/public-api.mjs +0 -22
- package/esm2022/lib/configurator/components/widgets/configurator-items/data-source-error/table/table-data-source-error.component.mjs +0 -41
- package/esm2022/lib/configurator/components/widgets/configurator-items/embedded-content-configuration/embedded-content-configuration.component.mjs +0 -133
- package/esm2022/lib/configurator/components/widgets/configurator-items/info-message-configuration/info-message-configuration.component.mjs +0 -44
- package/esm2022/lib/configurator/components/widgets/configurator-items/kpi-description-configuration/kpi-description-configuration.component.mjs +0 -107
- package/esm2022/lib/configurator/components/widgets/configurator-items/public-api.mjs +0 -31
- package/esm2022/lib/configurator/components/widgets/configurator-items/refresher-configuration/public-api.mjs +0 -22
- package/esm2022/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/refresh-rate-configurator.component.mjs +0 -237
- package/esm2022/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/time-units.mjs +0 -44
- package/esm2022/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/types.mjs +0 -21
- package/esm2022/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresher-configuration.component.mjs +0 -170
- package/esm2022/lib/configurator/components/widgets/configurator-items/risk-score-tile-description-configuration/risk-score-tile-description-configuration.component.mjs +0 -106
- package/esm2022/lib/configurator/components/widgets/configurator-items/thresholds-configuration/thresholds-configuration.component.mjs +0 -140
- package/esm2022/lib/configurator/components/widgets/configurator-items/thresholds-configuration/thresholds-validator.mjs +0 -56
- package/esm2022/lib/configurator/components/widgets/configurator-items/timeseries-metadata-configuration/timeseries-metadata-configuration.component.mjs +0 -151
- package/esm2022/lib/configurator/components/widgets/configurator-items/title-and-description-configuration/title-and-description-configuration.component.mjs +0 -91
- package/esm2022/lib/configurator/components/widgets/drilldown/entity-formatting-configuration/entity-formatting-configuration.component.mjs +0 -68
- package/esm2022/lib/configurator/components/widgets/drilldown/grouping-configuration/grouping-configuration.component.mjs +0 -154
- package/esm2022/lib/configurator/components/widgets/drilldown/public-api.mjs +0 -22
- package/esm2022/lib/configurator/components/widgets/kpi/kpi-tiles-configuration/kpi-tiles-configuration.component.mjs +0 -92
- package/esm2022/lib/configurator/components/widgets/kpi/kpi-tiles-configuration/public-api.mjs +0 -21
- package/esm2022/lib/configurator/components/widgets/kpi/public-api.mjs +0 -22
- package/esm2022/lib/configurator/components/widgets/kpi/types.mjs +0 -33
- package/esm2022/lib/configurator/components/widgets/proportional/aggregators-configurators/aggregator-configurator/aggregator-configurator.component.mjs +0 -72
- package/esm2022/lib/configurator/components/widgets/proportional/aggregators-configurators/field-mapper-aggregator-configurator/field-mapper-aggregator-configurator.component.mjs +0 -87
- package/esm2022/lib/configurator/components/widgets/proportional/chart-options-editor/proportional-chart-options-editor.component.mjs +0 -166
- package/esm2022/lib/configurator/components/widgets/proportional/chart-options-editor-v2/proportional-chart-options-editor-v2.component.mjs +0 -108
- package/esm2022/lib/configurator/components/widgets/proportional/donut-content-configuration/donut-content-configuration.component.mjs +0 -167
- package/esm2022/lib/configurator/components/widgets/proportional/public-api.mjs +0 -25
- package/esm2022/lib/configurator/components/widgets/public-api.mjs +0 -27
- package/esm2022/lib/configurator/components/widgets/risk-score/public-api.mjs +0 -22
- package/esm2022/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/public-api.mjs +0 -21
- package/esm2022/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/risk-score-tiles-configuration.component.mjs +0 -92
- package/esm2022/lib/configurator/components/widgets/risk-score/types.mjs +0 -21
- package/esm2022/lib/configurator/components/widgets/table/columns-editor/column-configuration/description-configuration/description-configuration.component.mjs +0 -80
- package/esm2022/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/formatter-configurator.component.mjs +0 -117
- package/esm2022/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/link-configurator/link-configurator.component.mjs +0 -53
- package/esm2022/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/value-selector/value-selector.component.mjs +0 -43
- package/esm2022/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/presentation-configuration.component.mjs +0 -259
- package/esm2022/lib/configurator/components/widgets/table/columns-editor/table-columns-configuration.component.mjs +0 -264
- package/esm2022/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/description-configuration/description-configuration-v2.component.mjs +0 -123
- package/esm2022/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/presentation-configuration/presentation-configuration-v2.component.mjs +0 -309
- package/esm2022/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/table-column-configuration/table-column-configuration.component.mjs +0 -109
- package/esm2022/lib/configurator/components/widgets/table/columns-editor-v2/table-columns-configuration-v2.component.mjs +0 -250
- package/esm2022/lib/configurator/components/widgets/table/filters-editor/table-filters-editor.component.mjs +0 -122
- package/esm2022/lib/configurator/components/widgets/table/public-api.mjs +0 -32
- package/esm2022/lib/configurator/components/widgets/table/scrollType-editor/scroll-type-editor.component.mjs +0 -190
- package/esm2022/lib/configurator/components/widgets/table/scrollType-editor/scroll-type-editor.service.mjs +0 -39
- package/esm2022/lib/configurator/components/widgets/timeseries/public-api.mjs +0 -25
- package/esm2022/lib/configurator/components/widgets/timeseries/timeseries-series-collection-configuration/timeseries-series-collection-configuration.component.mjs +0 -111
- package/esm2022/lib/configurator/components/widgets/timeseries/timeseries-tile-description-configuration/timeseries-tile-description-configuration.component.mjs +0 -68
- package/esm2022/lib/configurator/components/widgets/timeseries/timeseries-tile-indicator-data-configuration/timeseries-tile-indicator-data-configuration.component.mjs +0 -107
- package/esm2022/lib/configurator/components/widgets/timeseries/types.mjs +0 -21
- package/esm2022/lib/configurator/components/wizard/dashwiz/dashwiz-buttons.component.mjs +0 -174
- package/esm2022/lib/configurator/components/wizard/dashwiz/dashwiz.component.mjs +0 -354
- package/esm2022/lib/configurator/components/wizard/dashwiz/dashwiz.service.mjs +0 -33
- package/esm2022/lib/configurator/components/wizard/dashwiz/model.mjs +0 -21
- package/esm2022/lib/configurator/components/wizard/dashwiz/public-api.mjs +0 -23
- package/esm2022/lib/configurator/components/wizard/dashwiz-step/dashwiz-step.component.mjs +0 -131
- package/esm2022/lib/configurator/components/wizard/dashwiz-step/public-api.mjs +0 -21
- package/esm2022/lib/configurator/components/wizard/public-api.mjs +0 -23
- package/esm2022/lib/configurator/components/wizard/types.mjs +0 -21
- package/esm2022/lib/configurator/configurator.module.mjs +0 -443
- package/esm2022/lib/configurator/functions/has-control-in-error-state.mjs +0 -56
- package/esm2022/lib/configurator/functions/public-api.mjs +0 -21
- package/esm2022/lib/configurator/pipe/add-data.pipe.mjs +0 -47
- package/esm2022/lib/configurator/pipe/pizzagna-root.pipe.mjs +0 -45
- package/esm2022/lib/configurator/pipe/public-api.mjs +0 -25
- package/esm2022/lib/configurator/pipe/widget-configurator-section-header.pipe.mjs +0 -38
- package/esm2022/lib/configurator/pipe/widget-editor-accordion-form-state.pipe.mjs +0 -50
- package/esm2022/lib/configurator/pipe/widget-editor-accordion-header-icon.pipe.mjs +0 -48
- package/esm2022/lib/configurator/public-api.mjs +0 -26
- package/esm2022/lib/configurator/services/configurator-data-source-manager.service.mjs +0 -89
- package/esm2022/lib/configurator/services/configurator-heading.service.mjs +0 -33
- package/esm2022/lib/configurator/services/configurator.service.mjs +0 -149
- package/esm2022/lib/configurator/services/converters/base-converter.mjs +0 -71
- package/esm2022/lib/configurator/services/converters/kpi/kpi-section-converter/kpi-section-converter.service.mjs +0 -86
- package/esm2022/lib/configurator/services/converters/kpi/kpi-tiles-converter.service.mjs +0 -107
- package/esm2022/lib/configurator/services/converters/proportional/proportional-widget-chart-options-converter.service.mjs +0 -68
- package/esm2022/lib/configurator/services/converters/public-api.mjs +0 -26
- package/esm2022/lib/configurator/services/converters/shared/generic-array-converter/generic-array-converter.service.mjs +0 -81
- package/esm2022/lib/configurator/services/converters/shared/generic-converter/generic-converter.service.mjs +0 -81
- package/esm2022/lib/configurator/services/converters/shared/title-and-description-converter/title-and-description-converter.service.mjs +0 -64
- package/esm2022/lib/configurator/services/converters/table/table-columns-converter.service.mjs +0 -183
- package/esm2022/lib/configurator/services/converters/table/table-filters-converter.service.mjs +0 -65
- package/esm2022/lib/configurator/services/converters/table/table-scroll-type-converter.service.mjs +0 -68
- package/esm2022/lib/configurator/services/converters/timeseries/timeseries-metadata-converter.service.mjs +0 -85
- package/esm2022/lib/configurator/services/converters/timeseries/timeseries-series-converter.service.mjs +0 -172
- package/esm2022/lib/configurator/services/converters/timeseries/timeseries-tile-indicator-data-converter.service.mjs +0 -75
- package/esm2022/lib/configurator/services/converters/types.mjs +0 -22
- package/esm2022/lib/configurator/services/kpi-widget-color.service.mjs +0 -42
- package/esm2022/lib/configurator/services/preview.service.mjs +0 -40
- package/esm2022/lib/configurator/services/public-api.mjs +0 -29
- package/esm2022/lib/configurator/services/timeframe-serialization.service.mjs +0 -49
- package/esm2022/lib/configurator/services/types.mjs +0 -21
- package/esm2022/lib/configurator/services/widget-cloner.service.mjs +0 -56
- package/esm2022/lib/configurator/services/widget-editor.service.mjs +0 -65
- package/esm2022/lib/configurator/types.mjs +0 -26
- package/esm2022/lib/constants/default-palette.mjs +0 -82
- package/esm2022/lib/constants/public-api.mjs +0 -21
- package/esm2022/lib/constants/si-units-prefixes.mjs +0 -114
- package/esm2022/lib/dashboards.module.mjs +0 -335
- package/esm2022/lib/directives/gridster-item-widget-id/gridster-item-widget-id.directive.mjs +0 -52
- package/esm2022/lib/directives/public-api.mjs +0 -22
- package/esm2022/lib/directives/widget-editor/public-api.mjs +0 -21
- package/esm2022/lib/directives/widget-editor/widget-editor.directive.mjs +0 -104
- package/esm2022/lib/functions/get-parent-component-id.mjs +0 -30
- package/esm2022/lib/functions/map-data-to-formatter-properties.mjs +0 -44
- package/esm2022/lib/functions/merge-changes.mjs +0 -110
- package/esm2022/lib/functions/on-mark-as-touched.mjs +0 -35
- package/esm2022/lib/functions/parse-string-with-data.mjs +0 -44
- package/esm2022/lib/functions/proportional-aggregators/field-mapper.mjs +0 -33
- package/esm2022/lib/functions/proportional-aggregators/percentage-aggregator.mjs +0 -44
- package/esm2022/lib/functions/proportional-aggregators/public-api.mjs +0 -24
- package/esm2022/lib/functions/proportional-aggregators/sum-aggregator.mjs +0 -35
- package/esm2022/lib/functions/proportional-aggregators/types.mjs +0 -21
- package/esm2022/lib/functions/public-api.mjs +0 -24
- package/esm2022/lib/functions/round-array-values.mjs +0 -32
- package/esm2022/lib/functions/timeseries-datetime-formatter.mjs +0 -40
- package/esm2022/lib/pizzagna/components/pizzagna/pizzagna.component.mjs +0 -134
- package/esm2022/lib/pizzagna/components/pizzagna/public-api.mjs +0 -21
- package/esm2022/lib/pizzagna/directives/component-portal/component-portal.directive.mjs +0 -306
- package/esm2022/lib/pizzagna/directives/component-portal/public-api.mjs +0 -21
- package/esm2022/lib/pizzagna/functions/get-pizzagna-property-path.mjs +0 -41
- package/esm2022/lib/pizzagna/functions/public-api.mjs +0 -21
- package/esm2022/lib/pizzagna/pizzagna.module.mjs +0 -39
- package/esm2022/lib/pizzagna/public-api.mjs +0 -26
- package/esm2022/lib/pizzagna/services/component-portal.service.mjs +0 -65
- package/esm2022/lib/pizzagna/services/component-registry.service.mjs +0 -54
- package/esm2022/lib/pizzagna/services/dynamic-component-creator.service.mjs +0 -63
- package/esm2022/lib/pizzagna/services/pizzagna.service.mjs +0 -133
- package/esm2022/lib/pizzagna/services/public-api.mjs +0 -24
- package/esm2022/lib/services/category-chart-util.service.mjs +0 -126
- package/esm2022/lib/services/event-registry.service.mjs +0 -48
- package/esm2022/lib/services/kpi-color-comparators-registry.service.mjs +0 -68
- package/esm2022/lib/services/proportional-content-aggregators-registry.service.mjs +0 -39
- package/esm2022/lib/services/provider-registry.service.mjs +0 -294
- package/esm2022/lib/services/public-api.mjs +0 -31
- package/esm2022/lib/services/registry-service.mjs +0 -83
- package/esm2022/lib/services/table-formatter-registry.service.mjs +0 -98
- package/esm2022/lib/services/types.mjs +0 -81
- package/esm2022/lib/services/unit-test-registry.service.mjs +0 -41
- package/esm2022/lib/services/url-interaction.service.mjs +0 -52
- package/esm2022/lib/services/widget-configuration.service.mjs +0 -35
- package/esm2022/lib/services/widget-removal.service.mjs +0 -60
- package/esm2022/lib/services/widget-to-dashboard-event-proxy.service.mjs +0 -151
- package/esm2022/lib/services/widget-types.service.mjs +0 -88
- package/esm2022/lib/types.mjs +0 -77
- package/esm2022/lib/widget-types/common/configurator/components.mjs +0 -51
- package/esm2022/lib/widget-types/common/configurator/public-api.mjs +0 -21
- package/esm2022/lib/widget-types/common/public-api.mjs +0 -22
- package/esm2022/lib/widget-types/common/widget/components.mjs +0 -133
- package/esm2022/lib/widget-types/common/widget/legend.mjs +0 -26
- package/esm2022/lib/widget-types/common/widget/providers.mjs +0 -44
- package/esm2022/lib/widget-types/common/widget/public-api.mjs +0 -24
- package/esm2022/lib/widget-types/common/widget/types.mjs +0 -29
- package/esm2022/lib/widget-types/drilldown/drilldown-configurator.mjs +0 -148
- package/esm2022/lib/widget-types/drilldown/drilldown-widget.mjs +0 -95
- package/esm2022/lib/widget-types/drilldown/drilldown.mjs +0 -50
- package/esm2022/lib/widget-types/embedded-content/embedded-content-configurator.mjs +0 -110
- package/esm2022/lib/widget-types/embedded-content/embedded-content-widget.mjs +0 -73
- package/esm2022/lib/widget-types/embedded-content/embedded-content.mjs +0 -48
- package/esm2022/lib/widget-types/kpi/kpi-configurator.mjs +0 -271
- package/esm2022/lib/widget-types/kpi/kpi-widget.mjs +0 -105
- package/esm2022/lib/widget-types/kpi/kpi.mjs +0 -61
- package/esm2022/lib/widget-types/preview-placeholder.mjs +0 -59
- package/esm2022/lib/widget-types/proportional/donut-content-configurator-slice.mjs +0 -133
- package/esm2022/lib/widget-types/proportional/proportional-configurator.mjs +0 -281
- package/esm2022/lib/widget-types/proportional/proportional-widget.mjs +0 -91
- package/esm2022/lib/widget-types/proportional/proportional.mjs +0 -54
- package/esm2022/lib/widget-types/public-api.mjs +0 -24
- package/esm2022/lib/widget-types/risk-score/risk-score-configurator.mjs +0 -201
- package/esm2022/lib/widget-types/risk-score/risk-score-widget.mjs +0 -101
- package/esm2022/lib/widget-types/risk-score/risk-score.mjs +0 -56
- package/esm2022/lib/widget-types/table/default-table-formatters.mjs +0 -49
- package/esm2022/lib/widget-types/table/table-configurator.mjs +0 -158
- package/esm2022/lib/widget-types/table/table-widget.mjs +0 -111
- package/esm2022/lib/widget-types/table/table.mjs +0 -39
- package/esm2022/lib/widget-types/timeseries/timeseries-configurator.mjs +0 -183
- package/esm2022/lib/widget-types/timeseries/timeseries-widget.mjs +0 -122
- package/esm2022/lib/widget-types/timeseries/timeseries.mjs +0 -52
- package/esm2022/nova-ui-dashboards.mjs +0 -5
- package/esm2022/public-api.mjs +0 -31
- package/sdk/locale/messages.en.xlf +0 -2764
|
@@ -1,148 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, EventEmitter, Input, Output, ViewEncapsulation, } from "@angular/core";
|
|
2
|
-
import { FormBuilder, Validators } from "@angular/forms";
|
|
3
|
-
// eslint-disable-next-line import/no-deprecated
|
|
4
|
-
import { startWith, takeUntil } from "rxjs/operators";
|
|
5
|
-
import { LoggerService } from "@nova-ui/bits";
|
|
6
|
-
import { BaseLayout } from "../../../components/layouts/base-layout";
|
|
7
|
-
import { PizzagnaService } from "../../../pizzagna/services/pizzagna.service";
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
import * as i1 from "../../../pizzagna/services/pizzagna.service";
|
|
10
|
-
import * as i2 from "@nova-ui/bits";
|
|
11
|
-
import * as i3 from "@angular/forms";
|
|
12
|
-
import * as i4 from "@angular/common";
|
|
13
|
-
import * as i5 from "@angular/cdk/drag-drop";
|
|
14
|
-
import * as i6 from "@angular/cdk/portal";
|
|
15
|
-
import * as i7 from "../../../pizzagna/directives/component-portal/component-portal.directive";
|
|
16
|
-
import * as i8 from "../drop-area/drop-area.component";
|
|
17
|
-
import * as i9 from "../../pipe/add-data.pipe";
|
|
18
|
-
import * as i10 from "../../pipe/widget-configurator-section-header.pipe";
|
|
19
|
-
/** @ignore */
|
|
20
|
-
export class ItemsDynamicComponent extends BaseLayout {
|
|
21
|
-
static { this.lateLoadKey = "ItemsDynamicComponent"; }
|
|
22
|
-
constructor(changeDetector, pizzagnaService, logger, formBuilder) {
|
|
23
|
-
super(changeDetector, pizzagnaService, logger);
|
|
24
|
-
this.formBuilder = formBuilder;
|
|
25
|
-
this.items = [];
|
|
26
|
-
this.moveButtons = true;
|
|
27
|
-
this.formReady = new EventEmitter();
|
|
28
|
-
this.itemsChange = new EventEmitter();
|
|
29
|
-
this.headerMap = new Map();
|
|
30
|
-
}
|
|
31
|
-
getItemForNode(node) {
|
|
32
|
-
return this.items.find((item) => item.id === node.id);
|
|
33
|
-
}
|
|
34
|
-
getNodes() {
|
|
35
|
-
return this.nodes;
|
|
36
|
-
}
|
|
37
|
-
ngOnInit() {
|
|
38
|
-
this.form = this.formBuilder.array([], Validators.required);
|
|
39
|
-
this.formReady.emit(this.form);
|
|
40
|
-
}
|
|
41
|
-
onEvent(componentId, event) {
|
|
42
|
-
// TODO: refactor
|
|
43
|
-
const item = this.items.find((i) => i.id === componentId);
|
|
44
|
-
const index = this.items.findIndex((i) => i.id === componentId);
|
|
45
|
-
if (event.id === "formReady" && item) {
|
|
46
|
-
this.onFormReady(item, event.payload, index);
|
|
47
|
-
}
|
|
48
|
-
if (event.id === "formDestroy") {
|
|
49
|
-
this.onFormDestroy(event.payload);
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
onFormReady(item, form, index) {
|
|
53
|
-
const childForm = this.formBuilder.group({
|
|
54
|
-
id: [item.id],
|
|
55
|
-
componentType: [item.componentType],
|
|
56
|
-
properties: form,
|
|
57
|
-
});
|
|
58
|
-
this.form.setControl(index, childForm);
|
|
59
|
-
setTimeout(() => {
|
|
60
|
-
const label = form.get(`${item.id}/description`)?.get("label");
|
|
61
|
-
label?.valueChanges
|
|
62
|
-
// eslint-disable-next-line import/no-deprecated
|
|
63
|
-
.pipe(startWith(label.value), takeUntil(this.destroyed$))
|
|
64
|
-
.subscribe((value) => {
|
|
65
|
-
this.headerMap.set(item.id, value || "");
|
|
66
|
-
this.changeDetector.markForCheck();
|
|
67
|
-
});
|
|
68
|
-
});
|
|
69
|
-
}
|
|
70
|
-
onFormDestroy(form) {
|
|
71
|
-
// using setTimeout to allow the change detection cycle to finish before updating the form
|
|
72
|
-
setTimeout(() => {
|
|
73
|
-
// remove form
|
|
74
|
-
let i = 0;
|
|
75
|
-
for (; i < this.form.length; i++) {
|
|
76
|
-
if (this.form.at(i).get("properties") === form) {
|
|
77
|
-
break;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
this.form.removeAt(i);
|
|
81
|
-
// triggers form change
|
|
82
|
-
this.form.patchValue(this.form.value, { emitEvent: true });
|
|
83
|
-
});
|
|
84
|
-
}
|
|
85
|
-
trackBy(index, item) {
|
|
86
|
-
return item.id;
|
|
87
|
-
}
|
|
88
|
-
removeItem(item, index) {
|
|
89
|
-
if (!item) {
|
|
90
|
-
throw new Error("Unable to remove undefined item from pizzagna");
|
|
91
|
-
}
|
|
92
|
-
// remove item configuration - this will cause the onFormDestroy to be called for related form after component disappears from the view
|
|
93
|
-
this.itemsChange.emit(this.items.filter((it) => it !== item));
|
|
94
|
-
this.items.splice(index, 1);
|
|
95
|
-
this.nodes.splice(index, 1);
|
|
96
|
-
this.pizzagnaService.removeComponents(item.id);
|
|
97
|
-
}
|
|
98
|
-
moveItem(index, toIndex) {
|
|
99
|
-
const items = [...this.items];
|
|
100
|
-
const item = items.splice(index, 1);
|
|
101
|
-
items.splice(toIndex, 0, ...item);
|
|
102
|
-
const nodes = [...this.nodes];
|
|
103
|
-
const node = nodes.splice(index, 1);
|
|
104
|
-
nodes.splice(toIndex, 0, ...node);
|
|
105
|
-
this.nodes = [...nodes];
|
|
106
|
-
this.moveFormValues(index, toIndex);
|
|
107
|
-
this.itemsChange.emit(items);
|
|
108
|
-
// triggers form change - setTimeout because we need to wait first for items to update
|
|
109
|
-
// console.log(this.form.value);
|
|
110
|
-
setTimeout(() => {
|
|
111
|
-
this.form.setValue(this.form.value, { emitEvent: true });
|
|
112
|
-
});
|
|
113
|
-
}
|
|
114
|
-
drop(event) {
|
|
115
|
-
this.moveItem(event.previousIndex, event.currentIndex);
|
|
116
|
-
}
|
|
117
|
-
cdkDragStarted(event) {
|
|
118
|
-
this.height = event.source.element.nativeElement.offsetHeight;
|
|
119
|
-
}
|
|
120
|
-
moveFormValues(index, toIndex) {
|
|
121
|
-
const oldValue = this.form.at(index);
|
|
122
|
-
this.form.removeAt(index);
|
|
123
|
-
this.form.insert(toIndex, oldValue);
|
|
124
|
-
}
|
|
125
|
-
ngOnDestroy() {
|
|
126
|
-
// Ensures that any base class observables are unsubscribed.
|
|
127
|
-
super.ngOnDestroy();
|
|
128
|
-
}
|
|
129
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ItemsDynamicComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.PizzagnaService }, { token: i2.LoggerService }, { token: i3.FormBuilder }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
130
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: ItemsDynamicComponent, selector: "nui-items-dynamic", inputs: { items: "items", moveButtons: "moveButtons", nodes: "nodes", headerPrefix: "headerPrefix" }, outputs: { formReady: "formReady", itemsChange: "itemsChange" }, usesInheritance: true, ngImport: i0, template: "<div\n class=\"nui-items-dynamic\"\n cdkDropList\n (cdkDropListDropped)=\"drop($event)\"\n [formGroup]=\"form\"\n>\n <div\n cdkDrag\n class=\"nui-items-dynamic__node-item\"\n (cdkDragStarted)=\"cdkDragStarted($event)\"\n *ngFor=\"let node of nodeConfigs; let i = index; trackBy: trackBy\"\n >\n <nui-drop-area\n class=\"nui-items-dynamic__drop-area\"\n *cdkDragPlaceholder\n [style.height.px]=\"height\"\n ></nui-drop-area>\n\n <ng-template #headerText>\n <ng-container *ngIf=\"moveButtons\">\n <div class=\"nui-items-dynamic__drag-handler\" cdkDragHandle>\n <nui-icon icon=\"drag\"></nui-icon>\n </div>\n </ng-container>\n <span\n [title]=\"\n headerMap.get(node.id)\n | nuiWidgetConfiguratorSectionHeader : i : headerPrefix\n \"\n class=\"nui-items-dynamic__header-text\"\n >\n {{\n headerMap.get(node.id)\n | nuiWidgetConfiguratorSectionHeader : i : headerPrefix\n }}\n </span>\n </ng-template>\n\n <ng-template #headerButtons>\n <div class=\"d-flex\">\n <!-- TODO: remove \"kpi\" prefix in v11 - NUI-5833 -->\n <button\n id=\"kpi-widget-remove-btn-{{ i }}\"\n nui-button\n type=\"button\"\n icon=\"delete\"\n displayStyle=\"action\"\n (click)=\"removeItem(getItemForNode(node), i)\"\n ></button>\n </div>\n </ng-template>\n\n <ng-container\n nuiComponentPortal\n #componentPortal=\"nuiComponentPortal\"\n [componentId]=\"node.id\"\n [componentType]=\"node.componentType\"\n [providers]=\"node.providers\"\n [properties]=\"\n node.properties\n | nuiAddData : headerText : 'headerTextTemplate'\n | nuiAddData : headerButtons : 'headerButtonsTemplate'\n \"\n [outputs]=\"['formReady', 'formDestroy']\"\n (output)=\"onEvent(node.id, $event)\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n >\n </ng-template>\n </ng-container>\n </div>\n</div>\n", styles: [".nui-items-dynamic__header-text{white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;-o-text-overflow:ellipsis;text-overflow:ellipsis}.nui-items-dynamic__drag-handler{cursor:move;display:flex}.nui-items-dynamic__node-item{background-color:var(--nui-color-bg-light,#fff);margin:15px}.nui-items-dynamic__node-item .widget-configurator-section{margin:0}.nui-items-dynamic__drop-area{margin:15px}.kpi-indicators-configuration__color-preview{width:16px;height:16px;margin-right:15px;border-radius:3px}.cdk-drag-preview{z-index:2000!important;opacity:.9;box-shadow:0 0 5px 0 var(--nui-shadow-color, rgba(17, 17, 17, .3))}\n"], dependencies: [{ kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i3.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i5.CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "cdkDropListData", "cdkDropListOrientation", "id", "cdkDropListLockAxis", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListAutoScrollDisabled", "cdkDropListAutoScrollStep"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { kind: "directive", type: i5.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "directive", type: i5.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { kind: "directive", type: i5.CdkDragPlaceholder, selector: "ng-template[cdkDragPlaceholder]", inputs: ["data"] }, { kind: "directive", type: i6.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { kind: "directive", type: i7.ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { kind: "component", type: i2.IconComponent, selector: "nui-icon", inputs: ["iconColor", "brushType", "iconHoverColor", "iconSize", "cssClass", "fillContainer", "status", "childStatus", "icon", "counter"] }, { kind: "component", type: i2.ButtonComponent, selector: "[nui-button]", inputs: ["displayStyle", "icon", "iconColor", "iconRight", "isBusy", "isEmpty", "ariaLabel", "isRepeat", "size"] }, { kind: "component", type: i8.DropAreaComponent, selector: "nui-drop-area" }, { kind: "pipe", type: i9.AddDataPipe, name: "nuiAddData" }, { kind: "pipe", type: i10.WidgetConfiguratorSectionHeaderPipe, name: "nuiWidgetConfiguratorSectionHeader" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
131
|
-
}
|
|
132
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ItemsDynamicComponent, decorators: [{
|
|
133
|
-
type: Component,
|
|
134
|
-
args: [{ selector: "nui-items-dynamic", changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<div\n class=\"nui-items-dynamic\"\n cdkDropList\n (cdkDropListDropped)=\"drop($event)\"\n [formGroup]=\"form\"\n>\n <div\n cdkDrag\n class=\"nui-items-dynamic__node-item\"\n (cdkDragStarted)=\"cdkDragStarted($event)\"\n *ngFor=\"let node of nodeConfigs; let i = index; trackBy: trackBy\"\n >\n <nui-drop-area\n class=\"nui-items-dynamic__drop-area\"\n *cdkDragPlaceholder\n [style.height.px]=\"height\"\n ></nui-drop-area>\n\n <ng-template #headerText>\n <ng-container *ngIf=\"moveButtons\">\n <div class=\"nui-items-dynamic__drag-handler\" cdkDragHandle>\n <nui-icon icon=\"drag\"></nui-icon>\n </div>\n </ng-container>\n <span\n [title]=\"\n headerMap.get(node.id)\n | nuiWidgetConfiguratorSectionHeader : i : headerPrefix\n \"\n class=\"nui-items-dynamic__header-text\"\n >\n {{\n headerMap.get(node.id)\n | nuiWidgetConfiguratorSectionHeader : i : headerPrefix\n }}\n </span>\n </ng-template>\n\n <ng-template #headerButtons>\n <div class=\"d-flex\">\n <!-- TODO: remove \"kpi\" prefix in v11 - NUI-5833 -->\n <button\n id=\"kpi-widget-remove-btn-{{ i }}\"\n nui-button\n type=\"button\"\n icon=\"delete\"\n displayStyle=\"action\"\n (click)=\"removeItem(getItemForNode(node), i)\"\n ></button>\n </div>\n </ng-template>\n\n <ng-container\n nuiComponentPortal\n #componentPortal=\"nuiComponentPortal\"\n [componentId]=\"node.id\"\n [componentType]=\"node.componentType\"\n [providers]=\"node.providers\"\n [properties]=\"\n node.properties\n | nuiAddData : headerText : 'headerTextTemplate'\n | nuiAddData : headerButtons : 'headerButtonsTemplate'\n \"\n [outputs]=\"['formReady', 'formDestroy']\"\n (output)=\"onEvent(node.id, $event)\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n >\n </ng-template>\n </ng-container>\n </div>\n</div>\n", styles: [".nui-items-dynamic__header-text{white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;-o-text-overflow:ellipsis;text-overflow:ellipsis}.nui-items-dynamic__drag-handler{cursor:move;display:flex}.nui-items-dynamic__node-item{background-color:var(--nui-color-bg-light,#fff);margin:15px}.nui-items-dynamic__node-item .widget-configurator-section{margin:0}.nui-items-dynamic__drop-area{margin:15px}.kpi-indicators-configuration__color-preview{width:16px;height:16px;margin-right:15px;border-radius:3px}.cdk-drag-preview{z-index:2000!important;opacity:.9;box-shadow:0 0 5px 0 var(--nui-shadow-color, rgba(17, 17, 17, .3))}\n"] }]
|
|
135
|
-
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i1.PizzagnaService }, { type: i2.LoggerService }, { type: i3.FormBuilder }], propDecorators: { items: [{
|
|
136
|
-
type: Input
|
|
137
|
-
}], moveButtons: [{
|
|
138
|
-
type: Input
|
|
139
|
-
}], nodes: [{
|
|
140
|
-
type: Input
|
|
141
|
-
}], headerPrefix: [{
|
|
142
|
-
type: Input
|
|
143
|
-
}], formReady: [{
|
|
144
|
-
type: Output
|
|
145
|
-
}], itemsChange: [{
|
|
146
|
-
type: Output
|
|
147
|
-
}] } });
|
|
148
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaXRlbXMtZHluYW1pYy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGliL2NvbmZpZ3VyYXRvci9jb21wb25lbnRzL2l0ZW1zLWR5bmFtaWMvaXRlbXMtZHluYW1pYy5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGliL2NvbmZpZ3VyYXRvci9jb21wb25lbnRzL2l0ZW1zLWR5bmFtaWMvaXRlbXMtZHluYW1pYy5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFxQkEsT0FBTyxFQUNILHVCQUF1QixFQUN2QixpQkFBaUIsRUFDakIsU0FBUyxFQUNULFlBQVksRUFDWixLQUFLLEVBR0wsTUFBTSxFQUNOLGlCQUFpQixHQUNwQixNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQWEsV0FBVyxFQUFhLFVBQVUsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQy9FLGdEQUFnRDtBQUNoRCxPQUFPLEVBQUUsU0FBUyxFQUFFLFNBQVMsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBRXRELE9B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B2b2lkIHtcbiAgICAgICAgY29uc3QgY2hpbGRGb3JtID0gdGhpcy5mb3JtQnVpbGRlci5ncm91cCh7XG4gICAgICAgICAgICBpZDogW2l0ZW0uaWRdLFxuICAgICAgICAgICAgY29tcG9uZW50VHlwZTogW2l0ZW0uY29tcG9uZW50VHlwZV0sXG4gICAgICAgICAgICBwcm9wZXJ0aWVzOiBmb3JtLFxuICAgICAgICB9KTtcblxuICAgICAgICB0aGlzLmZvcm0uc2V0Q29udHJvbChpbmRleCwgY2hpbGRGb3JtKTtcblxuICAgICAgICBzZXRUaW1lb3V0KCgpID0+IHtcbiAgICAgICAgICAgIGNvbnN0IGxhYmVsID0gZm9ybS5nZXQoYCR7aXRlbS5pZH0vZGVzY3JpcHRpb25gKT8uZ2V0KFwibGFiZWxcIik7XG4gICAgICAgICAgICBsYWJlbD8udmFsdWVDaGFuZ2VzXG4gICAgICAgICAgICAgICAgLy8gZXNsaW50LWRpc2FibGUtbmV4dC1saW5lIGltcG9ydC9uby1kZXByZWNhdGVkXG4gICAgICAgICAgICAgICAgLnBpcGUoc3RhcnRXaXRoKGxhYmVsLnZhbHVlKSwgdGFrZVVudGlsKHRoaXMuZGVzdHJveWVkJCkpXG4gICAgICAgICAgICAgICAgLnN1YnNjcmliZSgodmFsdWU6IHN0cmluZykgPT4ge1xuICAgICAgICAgICAgICAgICAgICB0aGlzLmhlYWRlck1hcC5zZXQoaXRlbS5pZCwgdmFsdWUgfHwgXCJcIik7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMuY2hhbmdlRGV0ZWN0b3IubWFya0ZvckNoZWNrKCk7XG4gICAgICAgICAgICAgICAgfSk7XG4gICAgICAgIH0pO1xuICAgIH1cblxuICAgIHB1YmxpYyBvbkZvcm1EZXN0cm95KGZvcm06IEZvcm1Hcm91cCk6IHZvaWQge1xuICAgICAgICAvLyB1c2luZyBzZXRUaW1lb3V0IHRvIGFsbG93IHRoZSBjaGFuZ2UgZGV0ZWN0aW9uIGN5Y2xlIH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G4iLCI8ZGl2XG4gICAgY2xhc3M9XCJudWktaXRlbXMtZHluYW1pY1wiXG4gICAgY2RrRHJvcExpc3RcbiAgICAoY2RrRHJvcExpc3REcm9wcGVkKT1cImRyb3AoJGV2ZW50KVwiXG4gICAgW2Zvcm1Hcm91cF09XCJmb3JtXCJcbj5cbiAgICA8ZGl2XG4gICAgICAgIGNka0RyYWdcbiAgICAgICAgY2xhc3M9XCJudWktaXRlbXMtZHluYW1pY19fbm9kZS1pdGVtXCJcbiAgICAgICAgKGNka0RyYWdTdGFydGVkKT1cImNka0RyYWdTdGFydGVkKCRldmVudClcIlxuICAgICAgICAqbmdGb3I9XCJsZXQgbm9kZSBvZiBub2RlQ29uZmlnczsgbGV0IGkgPSBpbmRleDsgdHJhY2tCeTogdHJhY2tCeVwiXG4gICAgPlxuICAgICAgICA8bnVpLWRyb3AtYXJlYVxuICAgICAgICAgICAgY2xhc3M9XCJudWktaXRlbXMtZHluYW1pY19fZHJvcC1hcmVhXCJcbiAgICAgICAgICAgICpjZGtEcmFnUGxhY2Vob2xkZXJcbiAgICAgICAgICAgIFtzdHlsZS5oZWlnaHQucHhdPVwiaGVpZ2h0XCJcbiAgICAgICAgPjwvbnVpLWRyb3AtYXJlYT5cblxuICAgICAgICA8bmctdGVtcGxhdGUgI2hlYWRlclRleHQ+XG4gICAgICAgICAgICA8bmctY29udGFpbmVyICpuZ0lmPVwibW92ZUJ1dHRvbnNcIj5cbiAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwibnVpLWl0ZW1zLWR5bmFtaWNfX2RyYWctaGFuZGxlclwiIGNka0RyYWdIYW5kbGU+XG4gICAgICAgICAgICAgICAgICAgIDxudWktaWNvbiBpY29uPVwiZHJhZ1wiPjwvbnVpLWljb24+XG4gICAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICA8L25nLWNvbnRhaW5lcj5cbiAgICAgICAgICAgIDxzcGFuXG4gICAgICAgICAgICAgICAgW3RpdGxlXT1cIlxuICAgICAgICAgICAgICAgICAgICBoZWFkZXJNYXAuZ2V0KG5vZGUuaWQpXG4gICAgICAgICAgICAgICAgICAgICAgICB8IG51aVdpZGdldENvbmZpZ3VyYXRvclNlY3Rpb25IZWFkZXIgOiBpIDogaGVhZGVyUHJlZml4XG4gICAgICAgICAgICAgICAgXCJcbiAgICAgICAgICAgICAgICBjbGFzcz1cIm51aS1pdGVtcy1keW5hbWljX19oZWFkZXItdGV4dFwiXG4gICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAge3tcbiAgICAgICAgICAgICAgICAgICAgaGVhZGVyTWFwLmdldChub2RlLmlkKVxuICAgICAgICAgICAgICAgICAgICAgICAgfCBudWlXaWRnZXRDb25maWd1cmF0b3JTZWN0aW9uSGVhZGVyIDogaSA6IGhlYWRlclByZWZpeFxuICAgICAgICAgICAgICAgIH19XG4gICAgICAgICAgICA8L3NwYW4+XG4gICAgICAgIDwvbmctdGVtcGxhdGU+XG5cbiAgICAgICAgPG5nLXRlbXBsYXRlICNoZWFkZXJCdXR0b25zPlxuICAgICAgICAgICAgPGRpdiBjbGFzcz1cImQtZmxleFwiPlxuICAgICAgICAgICAgICAgIDwhLS0gVE9ETzogcmVtb3ZlIFwia3BpXCIgcHJlZml4IGluIHYxMSAtIE5VSS01ODMzIC0tPlxuICAgICAgICAgICAgICAgIDxidXR0b25cbiAgICAgICAgICAgICAgICAgICAgaWQ9XCJrcGktd2lkZ2V0LXJlbW92ZS1idG4te3sgaSB9fVwiXG4gICAgICAgICAgICAgICAgICAgIG51aS1idXR0b25cbiAgICAgICAgICAgICAgICAgICAgdHlwZT1cImJ1dHRvblwiXG4gICAgICAgICAgICAgICAgICAgIGljb249XCJkZWxldGVcIlxuICAgICAgICAgICAgICAgICAgICBkaXNwbGF5U3R5bGU9XCJhY3Rpb25cIlxuICAgICAgICAgICAgICAgICAgICAoY2xpY2spPVwicmVtb3ZlSXRlbShnZXRJdGVtRm9yTm9kZShub2RlKSwgaSlcIlxuICAgICAgICAgICAgICAgID48L2J1dHRvbj5cbiAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICA8L25nLXRlbXBsYXRlPlxuXG4gICAgICAgIDxuZy1jb250YWluZXJcbiAgICAgICAgICAgIG51aUNvbXBvbmVudFBvcnRhbFxuICAgICAgICAgICAgI2NvbXBvbmVudFBvcnRhbD1cIm51aUNvbXBvbmVudFBvcnRhbFwiXG4gICAgICAgICAgICBbY29tcG9uZW50SWRdPVwibm9kZS5pZFwiXG4gICAgICAgICAgICBbY29tcG9uZW50VHlwZV09XCJub2RlLmNvbXBvbmVudFR5cGVcIlxuICAgICAgICAgICAgW3Byb3ZpZGVyc109XCJub2RlLnByb3ZpZGVyc1wiXG4gICAgICAgICAgICBbcHJvcGVydGllc109XCJcbiAgICAgICAgICAgICAgICBub2RlLnByb3BlcnRpZXNcbiAgICAgICAgICAgICAgICAgICAgfCBudWlBZGREYXRhIDogaGVhZGVyVGV4dCA6ICdoZWFkZXJUZXh0VGVtcGxhdGUnXG4gICAgICAgICAgICAgICAgICAgIHwgbnVpQWRkRGF0YSA6IGhlYWRlckJ1dHRvbnMgOiAnaGVhZGVyQnV0dG9uc1RlbXBsYXRlJ1xuICAgICAgICAgICAgXCJcbiAgICAgICAgICAgIFtvdXRwdXRzXT1cIlsnZm9ybVJlYWR5JywgJ2Zvcm1EZXN0cm95J11cIlxuICAgICAgICAgICAgKG91dHB1dCk9XCJvbkV2ZW50KG5vZGUuaWQsICRldmVudClcIlxuICAgICAgICA+XG4gICAgICAgICAgICA8bmctdGVtcGxhdGVcbiAgICAgICAgICAgICAgICBbY2RrUG9ydGFsT3V0bGV0XT1cImNvbXBvbmVudFBvcnRhbC5wb3J0YWxcIlxuICAgICAgICAgICAgICAgIChhdHRhY2hlZCk9XCJjb21wb25lbnRQb3J0YWwuYXR0YWNoZWQoJGV2ZW50KVwiXG4gICAgICAgICAgICA+XG4gICAgICAgICAgICA8L25nLXRlbXBsYXRlPlxuICAgICAgICA8L25nLWNvbnRhaW5lcj5cbiAgICA8L2Rpdj5cbjwvZGl2PlxuIl19
|
package/esm2022/lib/configurator/components/preview-placeholder/preview-placeholder.component.mjs
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
2
|
-
//
|
|
3
|
-
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4
|
-
// of this software and associated documentation files (the "Software"), to
|
|
5
|
-
// deal in the Software without restriction, including without limitation the
|
|
6
|
-
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
7
|
-
// sell copies of the Software, and to permit persons to whom the Software is
|
|
8
|
-
// furnished to do so, subject to the following conditions:
|
|
9
|
-
//
|
|
10
|
-
// The above copyright notice and this permission notice shall be included in
|
|
11
|
-
// all copies or substantial portions of the Software.
|
|
12
|
-
//
|
|
13
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
14
|
-
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
15
|
-
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
16
|
-
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17
|
-
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
18
|
-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
19
|
-
// THE SOFTWARE.
|
|
20
|
-
import { Component } from "@angular/core";
|
|
21
|
-
import * as i0 from "@angular/core";
|
|
22
|
-
export class PreviewPlaceholderComponent {
|
|
23
|
-
static { this.lateLoadKey = "PreviewPlaceholderComponent"; }
|
|
24
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PreviewPlaceholderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
25
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: PreviewPlaceholderComponent, selector: "nui-preview-placeholder", ngImport: i0, template: "<div><b i18n>This is a preview of your widget</b>.</div>\n<div i18n>\n As you make configuration changes, this area will update to match. To get\n started, select a widget type on the configuration panel.\n</div>\n", styles: [":host{max-width:300px;padding:0 10px;margin:auto}\n"] }); }
|
|
26
|
-
}
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PreviewPlaceholderComponent, decorators: [{
|
|
28
|
-
type: Component,
|
|
29
|
-
args: [{ selector: "nui-preview-placeholder", template: "<div><b i18n>This is a preview of your widget</b>.</div>\n<div i18n>\n As you make configuration changes, this area will update to match. To get\n started, select a widget type on the configuration panel.\n</div>\n", styles: [":host{max-width:300px;padding:0 10px;margin:auto}\n"] }]
|
|
30
|
-
}] });
|
|
31
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJldmlldy1wbGFjZWhvbGRlci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGliL2NvbmZpZ3VyYXRvci9jb21wb25lbnRzL3ByZXZpZXctcGxhY2Vob2xkZXIvcHJldmlldy1wbGFjZWhvbGRlci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGliL2NvbmZpZ3VyYXRvci9jb21wb25lbnRzL3ByZXZpZXctcGxhY2Vob2xkZXIvcHJldmlldy1wbGFjZWhvbGRlci5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSx5REFBeUQ7QUFDekQsRUFBRTtBQUNGLCtFQUErRTtBQUMvRSw0RUFBNEU7QUFDNU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hbmd1bGFyL2NvcmVcIjtcblxuQENvbXBvbmVudCh7XG4gICAgc2VsZWN0b3I6IFwibnVpLXByZXZpZXctcGxhY2Vob2xkZXJcIixcbiAgICB0ZW1wbGF0ZVVybDogXCIuL3ByZXZpZXctcGxhY2Vob2xkZXIuY29tcG9uZW50Lmh0bWxcIixcbiAgICBzdHlsZVVybHM6IFtcIi4vcHJldmlldy1wbGFjZWhvbGRlci5jb21wb25lbnQubGVzc1wiXSxcbn0pXG5leHBvcnQgY2xhc3MgUHJldmlld1BsYWNlaG9sZGVyQ29tcG9uZW50IHtcbiAgICBwdWJsaWMgc3RhdGljIGxhdGVMb2FkS2V5ID0gXCJQcmV2aWV3UGxhY2Vob2xkZXJDb21wb25lbnRcIjtcbn1cbiIsIjxkaXY+PGIgaTE4bj5UaGlzIGlzIGEgcHJldmlldyBvZiB5b3VyIHdpZGdldDwvYj4uPC9kaXY+XG48ZGl2IGkxOG4+XG4gICAgQXMgeW91IG1ha2UgY29uZmlndXJhdGlvbiBjaGFuZ2VzLCB0aGlzIGFyZWEgd2lsbCB1cGRhdGUgdG8gbWF0Y2guIFRvIGdldFxuICAgIHN0YXJ0ZWQsIHNlbGVjdCBhIHdpZGdldCB0eXBlIG9uIHRoZSBjb25maWd1cmF0aW9uIHBhbmVsLlxuPC9kaXY+XG4iXX0=
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
2
|
-
//
|
|
3
|
-
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4
|
-
// of this software and associated documentation files (the "Software"), to
|
|
5
|
-
// deal in the Software without restriction, including without limitation the
|
|
6
|
-
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
7
|
-
// sell copies of the Software, and to permit persons to whom the Software is
|
|
8
|
-
// furnished to do so, subject to the following conditions:
|
|
9
|
-
//
|
|
10
|
-
// The above copyright notice and this permission notice shall be included in
|
|
11
|
-
// all copies or substantial portions of the Software.
|
|
12
|
-
//
|
|
13
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
14
|
-
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
15
|
-
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
16
|
-
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17
|
-
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
18
|
-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
19
|
-
// THE SOFTWARE.
|
|
20
|
-
export * from "./configurator/configurator.component";
|
|
21
|
-
export * from "./widgets/public-api";
|
|
22
|
-
export * from "./wizard/public-api";
|
|
23
|
-
export * from "./types";
|
|
24
|
-
export * from "./form-stack/form-stack.component";
|
|
25
|
-
export * from "./formatters/link-formatter/link-formatter.component";
|
|
26
|
-
export * from "./formatters/status-with-icon-formatter/status-with-icon-formatter.component";
|
|
27
|
-
export * from "./formatters/raw-formatter/raw-formatter.component";
|
|
28
|
-
export * from "./formatters/percentage-formatter/percentage-formatter.component";
|
|
29
|
-
export * from "./formatters/donut-content-percentage-formatter/donut-content-percentage-formatter.component";
|
|
30
|
-
export * from "./formatters/donut-content-percentage-formatter/donut-content-percentage-configuration.component";
|
|
31
|
-
export * from "./formatters/donut-content-sum-formatter/donut-content-sum-formatter.component";
|
|
32
|
-
export * from "./formatters/donut-content-raw-formatter/donut-content-raw-formatter.component";
|
|
33
|
-
export * from "./formatters/widget-formatter-configurators/donut-formatter-configurator.component";
|
|
34
|
-
export * from "./formatters/icon-formatter/icon-formatter.component";
|
|
35
|
-
export * from "./formatters/si-units-formatter/si-units-formatter.component";
|
|
36
|
-
export * from "./heading/configurator-heading.component";
|
|
37
|
-
export * from "./items-dynamic/items-dynamic.component";
|
|
38
|
-
export * from "./preview-placeholder/preview-placeholder.component";
|
|
39
|
-
export * from "./widget-cloner/widget-cloner.component";
|
|
40
|
-
export * from "./widget-configurator-section/widget-configurator-section.component";
|
|
41
|
-
export * from "./widget-editor/widget-editor.component";
|
|
42
|
-
export * from "./widget-editor-accordion/widget-editor-accordion.component";
|
|
43
|
-
export * from "./widget-editor-accordion/widget-editor-accordion-header/widget-editor-accordion-header.component";
|
|
44
|
-
export * from "./color-picker/color-picker.component";
|
|
45
|
-
export * from "./drop-area/drop-area.component";
|
|
46
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9saWIvY29uZmlndXJhdG9yL2NvbXBvbmVudHMvcHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSx5REFBeUQ7QUFDekQsRUFBRTtBQUNGLCtFQUErRTtBQUMvRSw0RUFBNEU7QUFDNUUsOEVBQThFO0FBQzlFLCtFQUErRTtBQUMvRSw4RUFBOEU7QUFDOUUsNERBQTREO0FBQzVELEVBQUU7QUFDRiw2RUFBNkU7QUFDN0UsdURBQXVEO0FBQ3ZELEVBQUU7QUFDRiw2RUFBNkU7QUFDN0UsNEVBQTRFO0FBQzVFLCtFQUErRTtBQUMvRSwwRUFBMEU7QUFDMUUsaUZBQWlGO0FBQ2pGLDZFQUE2RTtBQUM3RSxpQkFBaUI7QUFFakIsY0FBYyx1Q0FBdUMsQ0FBQztBQUN0RCxjQUFjLHNCQUFzQixDQUFDO0FBQ3JDLGNBQWMscUJBQXFCLENBQUM7QUFDcEMsY0FBYyxTQUFTLENBQUM7QUFDeEIsY0FBYyxtQ0FBbUMsQ0FBQztBQUNsRCxjQUFjLHNEQUFzRCxDQUFDO0FBQ3JFLGNBQWMsO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VyYXRvci1zZWN0aW9uLmNvbXBvbmVudFwiO1xuZXhwb3J0ICogZnJvbSBcIi4vd2lkZ2V0LWVkaXRvci93aWRnZXQtZWRpdG9yLmNvbXBvbmVudFwiO1xuZXhwb3J0ICogZnJvbSBcIi4vd2lkZ2V0LWVkaXRvci1hY2NvcmRpb24vd2lkZ2V0LWVkaXRvci1hY2NvcmRpb24uY29tcG9uZW50XCI7XG5leHBvcnQgKiBmcm9tIFwiLi93aWRnZXQtZWRpdG9yLWFjY29yZGlvbi93aWRnZXQtZWRpdG9yLWFjY29yZGlvbi1oZWFkZXIvd2lkZ2V0LWVkaXRvci1hY2NvcmRpb24taGVhZGVyLmNvbXBvbmVudFwiO1xuZXhwb3J0ICogZnJvbSBcIi4vY29sb3ItcGlja2VyL2NvbG9yLXBpY2tlci5jb21wb25lbnRcIjtcbmV4cG9ydCAqIGZyb20gXCIuL2Ryb3AtYXJlYS9kcm9wLWFyZWEuY29tcG9uZW50XCI7XG4iXX0=
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
2
|
-
//
|
|
3
|
-
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4
|
-
// of this software and associated documentation files (the "Software"), to
|
|
5
|
-
// deal in the Software without restriction, including without limitation the
|
|
6
|
-
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
7
|
-
// sell copies of the Software, and to permit persons to whom the Software is
|
|
8
|
-
// furnished to do so, subject to the following conditions:
|
|
9
|
-
//
|
|
10
|
-
// The above copyright notice and this permission notice shall be included in
|
|
11
|
-
// all copies or substantial portions of the Software.
|
|
12
|
-
//
|
|
13
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
14
|
-
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
15
|
-
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
16
|
-
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17
|
-
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
18
|
-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
19
|
-
// THE SOFTWARE.
|
|
20
|
-
export {};
|
|
21
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHlwZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvbGliL2NvbmZpZ3VyYXRvci9jb21wb25lbnRzL3R5cGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLHlEQUF5RDtBQUN6RCxFQUFFO0FBQ0YsK0VBQStFO0FBQy9FLDRFQUE0RTtBQUM1RSw4RUFBOEU7QUFDOUUsK0VBQStFO0FBQy9FLDhFQUE4RTtBQUM5RSw0REFBNEQ7QUFDNUQsRUFBRTtBQUNGLDZFQUE2RTtBQUM3RSx1REFBdUQ7QUFDdkQsRUFBRTtBQUNGLDZFQUE2RTtBQUM3RSw0RUFBNEU7QUFDNUUsK0VBQStFO0FBQy9FLDBFQUEwRTtBQUMxRSxpRkFBaUY7QUFDakYsNkVBQTZFO0FBQzdFLGlCQUFpQiIsInNvdXJjZXNDb250ZW50IjpbIi8vIMKpIDIwMjIgU29sYXJXaW5kcyBXb3JsZHdpZGUsIExMQy4gQWxsIHJpZ2h0cyByZXNlcnZlZC5cbi8vXG4vLyBQZXJtaXNzaW9uIGlzIGhlcmVieSBncmFudGVkLCBmcmVlIG9mIGNoYXJnZSwgdG8gYW55IHBlcnNvbiBvYnRhaW5pbmcgYSBjb3B5XG4vLyAgb2YgdGhpcyBzb2Z0d2FyZSBhbmQgYXNzb2NpYXRlZ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QUlNLCBEQU1BR0VTIE9SIE9USEVSXG4vLyAgTElBQklMSVRZLCBXSEVUSEVSIElOIEFOIEFDVElPTiBPRiBDT05UUkFDVCwgVE9SVCBPUiBPVEhFUldJU0UsIEFSSVNJTkcgRlJPTSxcbi8vICBPVVQgT0YgT1IgSU4gQ09OTkVDVElPTiBXSVRIIFRIRSBTT0ZUV0FSRSBPUiBUSEUgVVNFIE9SIE9USEVSIERFQUxJTkdTIElOXG4vLyAgVEhFIFNPRlRXQVJFLlxuXG5pbXBvcnQgeyBFdmVudEVtaXR0ZXIgfSBmcm9tIFwiQGFuZ3VsYXIvY29yZVwiO1xuaW1wb3J0IHsgQmVoYXZpb3JTdWJqZWN0IH0gZnJvbSBcInJ4anNcIjtcblxuaW1wb3J0IHsgSVdpZGdldCB9IGZyb20gXCIuLi8uLi9jb21wb25lbnRzL3dpZGdldC90eXBlc1wiO1xuXG5leHBvcnQgaW50ZXJmYWNlIElXaWRnZXRUZW1wbGF0ZVNlbGVjdG9yIHtcbiAgICB3aWRnZXRTZWxlY3RlZDogRXZlbnRFbWl0dGVyPElXaWRnZXQ+O1xufVxuXG5leHBvcnQgaW50ZXJmYWNlIElJdGVtQ29uZmlndXJhdGlvbiB7XG4gICAgaWQ6IHN0cmluZztcbiAgICBjb21wb25lbnRUeXBlPzogc3RyaW5nO1xuICAgIGhlYWRlclN1YmplY3Q/OiBCZWhhdmlvclN1YmplY3Q8c3RyaW5nPjtcbiAgICBba2V5OiBzdHJpbmddOiBhbnk7XG59XG4iXX0=
|
|
@@ -1,184 +0,0 @@
|
|
|
1
|
-
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
2
|
-
//
|
|
3
|
-
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4
|
-
// of this software and associated documentation files (the "Software"), to
|
|
5
|
-
// deal in the Software without restriction, including without limitation the
|
|
6
|
-
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
7
|
-
// sell copies of the Software, and to permit persons to whom the Software is
|
|
8
|
-
// furnished to do so, subject to the following conditions:
|
|
9
|
-
//
|
|
10
|
-
// The above copyright notice and this permission notice shall be included in
|
|
11
|
-
// all copies or substantial portions of the Software.
|
|
12
|
-
//
|
|
13
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
14
|
-
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
15
|
-
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
16
|
-
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17
|
-
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
18
|
-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
19
|
-
// THE SOFTWARE.
|
|
20
|
-
import { ScrollDispatcher } from "@angular/cdk/overlay";
|
|
21
|
-
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Input, } from "@angular/core";
|
|
22
|
-
import { FormBuilder } from "@angular/forms";
|
|
23
|
-
import cloneDeep from "lodash/cloneDeep";
|
|
24
|
-
import { BehaviorSubject, Subject } from "rxjs";
|
|
25
|
-
import { takeUntil } from "rxjs/operators";
|
|
26
|
-
import { WidgetTypesService } from "../../../services/widget-types.service";
|
|
27
|
-
import { PizzagnaLayer, } from "../../../types";
|
|
28
|
-
import { PreviewService } from "../../services/preview.service";
|
|
29
|
-
import { ConfiguratorComponent } from "../configurator/configurator.component";
|
|
30
|
-
import * as i0 from "@angular/core";
|
|
31
|
-
import * as i1 from "../configurator/configurator.component";
|
|
32
|
-
import * as i2 from "../../services/preview.service";
|
|
33
|
-
import * as i3 from "@angular/forms";
|
|
34
|
-
import * as i4 from "../../../services/widget-types.service";
|
|
35
|
-
import * as i5 from "@angular/cdk/overlay";
|
|
36
|
-
import * as i6 from "@angular/cdk/portal";
|
|
37
|
-
import * as i7 from "../../../pizzagna/components/pizzagna/pizzagna.component";
|
|
38
|
-
import * as i8 from "../../../pizzagna/directives/component-portal/component-portal.directive";
|
|
39
|
-
import * as i9 from "../wizard/dashwiz/dashwiz.component";
|
|
40
|
-
import * as i10 from "../wizard/dashwiz-step/dashwiz-step.component";
|
|
41
|
-
import * as i11 from "../heading/configurator-heading.component";
|
|
42
|
-
export class WidgetClonerComponent {
|
|
43
|
-
static { this.lateLoadKey = "WidgetClonerComponent"; }
|
|
44
|
-
constructor(changeDetector, configurator, previewService, formBuilder, widgetTypesService, scrollDispatcher) {
|
|
45
|
-
this.changeDetector = changeDetector;
|
|
46
|
-
this.configurator = configurator;
|
|
47
|
-
this.previewService = previewService;
|
|
48
|
-
this.formBuilder = formBuilder;
|
|
49
|
-
this.widgetTypesService = widgetTypesService;
|
|
50
|
-
this.scrollDispatcher = scrollDispatcher;
|
|
51
|
-
this.navigationControl = new BehaviorSubject({
|
|
52
|
-
busyState: { busy: false },
|
|
53
|
-
allowStepChange: true,
|
|
54
|
-
});
|
|
55
|
-
this.busy = false;
|
|
56
|
-
this.scrolled = false;
|
|
57
|
-
this.isFormDisplayed = false;
|
|
58
|
-
this.destroy$ = new Subject();
|
|
59
|
-
this.resetForm$ = new Subject();
|
|
60
|
-
this.resetForm();
|
|
61
|
-
}
|
|
62
|
-
ngOnInit() {
|
|
63
|
-
this.previewService.previewChanged
|
|
64
|
-
.pipe(takeUntil(this.destroy$))
|
|
65
|
-
.subscribe((pizzagna) => {
|
|
66
|
-
this.onPreviewPizzagnaUpdate(pizzagna);
|
|
67
|
-
});
|
|
68
|
-
this.configurator.submitError
|
|
69
|
-
.pipe(takeUntil(this.destroy$))
|
|
70
|
-
.subscribe(() => {
|
|
71
|
-
this.toggleBusy();
|
|
72
|
-
});
|
|
73
|
-
}
|
|
74
|
-
ngAfterViewInit() {
|
|
75
|
-
// trigger dashwiz to update its button configuration
|
|
76
|
-
this.changeDetector.markForCheck();
|
|
77
|
-
// Scroll shadows
|
|
78
|
-
this.scrollDispatcher
|
|
79
|
-
.scrolled()
|
|
80
|
-
.subscribe((event) => {
|
|
81
|
-
const element = event?.getElementRef()?.nativeElement;
|
|
82
|
-
if (element?.classList?.contains("configurator-scrollable")) {
|
|
83
|
-
this.scrolled = !!element?.scrollTop;
|
|
84
|
-
this.changeDetector.detectChanges();
|
|
85
|
-
}
|
|
86
|
-
});
|
|
87
|
-
}
|
|
88
|
-
ngOnDestroy() {
|
|
89
|
-
this.destroy$.next();
|
|
90
|
-
this.destroy$.complete();
|
|
91
|
-
this.resetForm$.complete();
|
|
92
|
-
}
|
|
93
|
-
// --------------------------------------------------------------------------------
|
|
94
|
-
onPreviewPizzagnaUpdate(configLayer) {
|
|
95
|
-
if (!this.isFormDisplayed) {
|
|
96
|
-
return;
|
|
97
|
-
}
|
|
98
|
-
const previewWidget = {
|
|
99
|
-
...this.configurator.previewWidget,
|
|
100
|
-
pizzagna: {
|
|
101
|
-
...this.configurator.previewWidget?.pizzagna,
|
|
102
|
-
[PizzagnaLayer.Configuration]: configLayer,
|
|
103
|
-
},
|
|
104
|
-
};
|
|
105
|
-
// TODO: Make previewWidget to be assignable to IWidget
|
|
106
|
-
// @ts-ignore: Type '{ pizzagna: { configuration: IPizzagnaLayer; }; }' is missing the following properties from type 'IWidget': id, type
|
|
107
|
-
this.configurator.updateWidget(previewWidget);
|
|
108
|
-
}
|
|
109
|
-
canFinish() {
|
|
110
|
-
return (!!this.widgetTemplate?.pizzagna?.configuration &&
|
|
111
|
-
!this.widgetTemplate?.metadata?.needsConfiguration);
|
|
112
|
-
}
|
|
113
|
-
onFinish() {
|
|
114
|
-
if (this.form.invalid) {
|
|
115
|
-
this.form.markAllAsTouched();
|
|
116
|
-
// is used to trigger valueChanges to detect changes in forms
|
|
117
|
-
// as form is invalid and marking as touched doesn't trigger neither statusChanges nor valueChanges
|
|
118
|
-
// and validation messages and styles are not applied in that cases
|
|
119
|
-
this.form.patchValue(this.form.value);
|
|
120
|
-
this.form.updateValueAndValidity({ onlySelf: false });
|
|
121
|
-
return;
|
|
122
|
-
}
|
|
123
|
-
this.toggleBusy();
|
|
124
|
-
this.configurator.formSubmit();
|
|
125
|
-
}
|
|
126
|
-
onCancel() {
|
|
127
|
-
this.configurator.formCancel();
|
|
128
|
-
}
|
|
129
|
-
onStepNavigated(event) {
|
|
130
|
-
this.isFormDisplayed = event.currentStepIndex === 1;
|
|
131
|
-
if (event.currentStepIndex === 0 && event.previousStepIndex === 1) {
|
|
132
|
-
this.formPizzagna = undefined;
|
|
133
|
-
this.resetForm();
|
|
134
|
-
this.onSelect(this.widgetTemplate);
|
|
135
|
-
}
|
|
136
|
-
else if (event.currentStepIndex === 1) {
|
|
137
|
-
this.formPizzagna = this.widgetTypesService.getWidgetType(this.widgetTemplate.type, this.widgetTemplate.version).configurator;
|
|
138
|
-
this.previewService.preview =
|
|
139
|
-
this.widgetTemplate.pizzagna[PizzagnaLayer.Configuration];
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
onSelect(widget) {
|
|
143
|
-
this.widgetTemplate = widget;
|
|
144
|
-
const previewWidget = {
|
|
145
|
-
...widget,
|
|
146
|
-
id: this.configurator.previewWidget?.id || null,
|
|
147
|
-
};
|
|
148
|
-
// clear out the old widget first because we want to recreate the widget from scratch
|
|
149
|
-
this.configurator.updateWidget(null);
|
|
150
|
-
// the new widget is assigned in a setTimeout to apply the change in the next change detection cycle
|
|
151
|
-
setTimeout(() => {
|
|
152
|
-
// @ts-ignore: Type 'null' is not assignable to type 'string' on id property
|
|
153
|
-
this.configurator.updateWidget(cloneDeep(previewWidget));
|
|
154
|
-
this.changeDetector.detectChanges();
|
|
155
|
-
});
|
|
156
|
-
}
|
|
157
|
-
toggleBusy() {
|
|
158
|
-
this.busy = !this.busy;
|
|
159
|
-
this.navigationControl.next({
|
|
160
|
-
busyState: { busy: this.busy },
|
|
161
|
-
allowStepChange: !this.busy,
|
|
162
|
-
});
|
|
163
|
-
}
|
|
164
|
-
resetForm() {
|
|
165
|
-
this.resetForm$.next();
|
|
166
|
-
this.form = this.formBuilder.group({});
|
|
167
|
-
this.form.statusChanges
|
|
168
|
-
.pipe(takeUntil(this.resetForm$), takeUntil(this.destroy$))
|
|
169
|
-
.subscribe(() => {
|
|
170
|
-
this.changeDetector.markForCheck();
|
|
171
|
-
});
|
|
172
|
-
}
|
|
173
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: WidgetClonerComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.ConfiguratorComponent }, { token: i2.PreviewService }, { token: i3.FormBuilder }, { token: i4.WidgetTypesService }, { token: i5.ScrollDispatcher }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
174
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: WidgetClonerComponent, selector: "nui-widget-cloner", inputs: { formPizzagna: "formPizzagna", cloneSelectionComponentType: "cloneSelectionComponentType" }, host: { classAttribute: "d-flex flex-column h-100" }, ngImport: i0, template: "<nui-configurator-heading\n configuratorTitle=\"Creating Widget\"\n i18n-configuratorTitle\n class=\"header\"\n (close)=\"onCancel()\"\n [disableCloseButton]=\"busy\"\n [class.shadow]=\"scrolled\"\n></nui-configurator-heading>\n<nui-dashwiz\n [hideHeader]=\"true\"\n [canProceed]=\"!!widgetTemplate\"\n [canFinish]=\"canFinish()\"\n finishText=\"Create Widget\"\n i18n-finishText\n [navigationControl]=\"navigationControl\"\n (finish)=\"onFinish()\"\n (cancel)=\"onCancel()\"\n (stepNavigated)=\"onStepNavigated($event)\"\n>\n <nui-dashwiz-step [stepTemplate]=\"step1\" nextText=\"Customize\" i18n-nextText>\n </nui-dashwiz-step>\n <nui-dashwiz-step [stepTemplate]=\"step2\"></nui-dashwiz-step>\n</nui-dashwiz>\n\n<ng-template #step1>\n <div class=\"p-4 h-100\">\n <ng-container\n nuiComponentPortal\n [componentType]=\"cloneSelectionComponentType\"\n [outputs]=\"['widgetSelected']\"\n (output)=\"onSelect($event.payload)\"\n #componentPortal=\"nuiComponentPortal\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n </div>\n</ng-template>\n\n<ng-template #step2>\n <div [formGroup]=\"form\">\n <nui-pizzagna\n #formPizzagnaComponent\n [(pizzagna)]=\"formPizzagna\"\n ></nui-pizzagna>\n </div>\n</ng-template>\n", styles: [".header{transition:box-shadow .3s ease-in-out}.header.shadow{box-shadow:0 0 5px 0 var(--nui-shadow-color-stronger, rgba(17, 17, 17, .6))}\n"], dependencies: [{ kind: "directive", type: i3.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i3.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i6.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { kind: "component", type: i7.PizzagnaComponent, selector: "nui-pizzagna", inputs: ["rootNode", "pizzagna", "outputs"], outputs: ["pizzagnaChange", "output"] }, { kind: "directive", type: i8.ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { kind: "component", type: i9.DashwizComponent, selector: "nui-dashwiz", inputs: ["hideHeader", "canProceed", "canFinish", "finishText", "stretchStepLines", "buttonComponentTypes", "navigationControl"], outputs: ["stepNavigated", "cancel", "finish", "next", "back"] }, { kind: "component", type: i10.DashwizStepComponent, selector: "nui-dashwiz-step", inputs: ["stepTemplate", "stepControl", "title", "nextText", "hidden", "disabled", "spinnerSize"], outputs: ["enter", "valid", "exit", "next"] }, { kind: "component", type: i11.ConfiguratorHeadingComponent, selector: "nui-configurator-heading", inputs: ["configuratorTitle", "disableCloseButton"], outputs: ["close"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
175
|
-
}
|
|
176
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: WidgetClonerComponent, decorators: [{
|
|
177
|
-
type: Component,
|
|
178
|
-
args: [{ selector: "nui-widget-cloner", host: { class: "d-flex flex-column h-100" }, changeDetection: ChangeDetectionStrategy.OnPush, template: "<nui-configurator-heading\n configuratorTitle=\"Creating Widget\"\n i18n-configuratorTitle\n class=\"header\"\n (close)=\"onCancel()\"\n [disableCloseButton]=\"busy\"\n [class.shadow]=\"scrolled\"\n></nui-configurator-heading>\n<nui-dashwiz\n [hideHeader]=\"true\"\n [canProceed]=\"!!widgetTemplate\"\n [canFinish]=\"canFinish()\"\n finishText=\"Create Widget\"\n i18n-finishText\n [navigationControl]=\"navigationControl\"\n (finish)=\"onFinish()\"\n (cancel)=\"onCancel()\"\n (stepNavigated)=\"onStepNavigated($event)\"\n>\n <nui-dashwiz-step [stepTemplate]=\"step1\" nextText=\"Customize\" i18n-nextText>\n </nui-dashwiz-step>\n <nui-dashwiz-step [stepTemplate]=\"step2\"></nui-dashwiz-step>\n</nui-dashwiz>\n\n<ng-template #step1>\n <div class=\"p-4 h-100\">\n <ng-container\n nuiComponentPortal\n [componentType]=\"cloneSelectionComponentType\"\n [outputs]=\"['widgetSelected']\"\n (output)=\"onSelect($event.payload)\"\n #componentPortal=\"nuiComponentPortal\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n </div>\n</ng-template>\n\n<ng-template #step2>\n <div [formGroup]=\"form\">\n <nui-pizzagna\n #formPizzagnaComponent\n [(pizzagna)]=\"formPizzagna\"\n ></nui-pizzagna>\n </div>\n</ng-template>\n", styles: [".header{transition:box-shadow .3s ease-in-out}.header.shadow{box-shadow:0 0 5px 0 var(--nui-shadow-color-stronger, rgba(17, 17, 17, .6))}\n"] }]
|
|
179
|
-
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i1.ConfiguratorComponent }, { type: i2.PreviewService }, { type: i3.FormBuilder }, { type: i4.WidgetTypesService }, { type: i5.ScrollDispatcher }], propDecorators: { formPizzagna: [{
|
|
180
|
-
type: Input
|
|
181
|
-
}], cloneSelectionComponentType: [{
|
|
182
|
-
type: Input
|
|
183
|
-
}] } });
|
|
184
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2lkZ2V0LWNsb25lci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGliL2NvbmZpZ3VyYXRvci9jb21wb25lbnRzL3dpZGdldC1jbG9uZXIvd2lkZ2V0LWNsb25lci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGliL2NvbmZpZ3VyYXRvci9jb21wb25lbnRzL3dpZGdldC1jbG9uZXIvd2lkZ2V0LWNsb25lci5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSx5REFBeUQ7QUFDekQsRUFBRTtBQUNGLCtFQUErRTtBQUMvRSw0RUFBNEU7QUFDNUUsOEVBQThFO0FBQzlFLCtFQUErRTtBQUMvRSw4RUFBOEU7QUFDOUUsNERBQTREO0FBQzVELEVBQUU7QUFDRiw2RUFBNkU7QUFDN0UsdURBQXVEO0FBQ3ZELEVBQUU7QUFDRiw2RUFBNkU7QUFDN0UsNEVBQTRFO0FBQzVFLCtFQUErRTtBQUMvRSwwRUFBMEU7QUFDMUUsaUZBQWlGO0FBQ2pGLDZFQUE2RTtBQUM3RSxpQkFBaUI7QUFFakIsT0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9IHtcbiAgICAgICAgICAgIC4uLnRoaXMuY29uZmlndXJhdG9yLnByZXZpZXdXaWRnZXQsXG4gICAgICAgICAgICBwaXp6YWduYToge1xuICAgICAgICAgICAgICAgIC4uLnRoaXMuY29uZmlndXJhdG9yLnByZXZpZXdXaWRnZXQ/LnBpenphZ25hLFxuICAgICAgICAgICAgICAgIFtQaXp6YWduYUxheWVyLkNvbmZpZ3VyYXRpb25dOiBjb25maWdMYXllcixcbiAgICAgICAgICAgIH0sXG4gICAgICAgIH07XG4gICAgICAgIC8vIFRPRE86IE1ha2UgcHJldmlld1dpZGdldCB0byBiZSBhc3NpZ25hYmxlIHRvIElXaWRnZXRcbiAgICAgICAgLy8gQHRzLWlnbm9yZTogVHlwZSAneyBwaXp6YWduYTogeyBjb25maWd1cmF0aW9uOiBJUGl6emFnbmFMYXllcjsgfTsgfScgaXMgbWlzc2luZyB0aGUgZm9sbG93aW5nIHByb3BlcnRpZXMgZnJvbSB0eXBlICdJV2lkZ2V0JzogaWQsIHR5cGVcbiAgICAgICAgdGhpcy5jb25maWd1cmF0b3IudXBkYXRlV2lkZ2V0KHByZXZpZXdXaWRnZXQpO1xuICAgIH1cblxuICAgIHB1YmxpYyBjYW5GaW5pc2goKTogYm9vbGVhbiB7XG4gICAgICAgIHJldHVybiAoXG4gICAgICAgICAgICAhIXRoaXMud2lkZ2V0VGVtcGxhdGU/LnBpenphZ25hPy5jb25maWd1cmF0aW9uICYmXG4gICAgICAgICAgICAhdGhpcy53aWRnZXRUZW1wbGF0ZT8ubWV0YWRhdGE/Lm5lZWRzQ29uZmlndXJhdGlvblxuICAgICAgICApO1xuICAgIH1cblxuICAgIHB1YmxpYyBvbkZpbmlzaCgpOiB2b2lkIHtcbiAgICAgICAgaWYgKHRoaXMuZm9ybS5pbnZhbGlkKSB7XG4gICAgICAgICAgICB0aGlzLmZvcm0ubWFya0FsbEFzVG91Y2hlZCgpO1xuICAgICAgICAgICAgLy8gaXMgdXNlZCB0byB0cmlnZ2V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PlxuPC9udWktZGFzaHdpej5cblxuPG5nLXRlbXBsYXRlICNzdGVwMT5cbiAgICA8ZGl2IGNsYXNzPVwicC00IGgtMTAwXCI+XG4gICAgICAgIDxuZy1jb250YWluZXJcbiAgICAgICAgICAgIG51aUNvbXBvbmVudFBvcnRhbFxuICAgICAgICAgICAgW2NvbXBvbmVudFR5cGVdPVwiY2xvbmVTZWxlY3Rpb25Db21wb25lbnRUeXBlXCJcbiAgICAgICAgICAgIFtvdXRwdXRzXT1cIlsnd2lkZ2V0U2VsZWN0ZWQnXVwiXG4gICAgICAgICAgICAob3V0cHV0KT1cIm9uU2VsZWN0KCRldmVudC5wYXlsb2FkKVwiXG4gICAgICAgICAgICAjY29tcG9uZW50UG9ydGFsPVwibnVpQ29tcG9uZW50UG9ydGFsXCJcbiAgICAgICAgPlxuICAgICAgICAgICAgPG5nLXRlbXBsYXRlXG4gICAgICAgICAgICAgICAgW2Nka1BvcnRhbE91dGxldF09XCJjb21wb25lbnRQb3J0YWwucG9ydGFsXCJcbiAgICAgICAgICAgICAgICAoYXR0YWNoZWQpPVwiY29tcG9uZW50UG9ydGFsLmF0dGFjaGVkKCRldmVudClcIlxuICAgICAgICAgICAgPjwvbmctdGVtcGxhdGU+XG4gICAgICAgIDwvbmctY29udGFpbmVyPlxuICAgIDwvZGl2PlxuPC9uZy10ZW1wbGF0ZT5cblxuPG5nLXRlbXBsYXRlICNzdGVwMj5cbiAgICA8ZGl2IFtmb3JtR3JvdXBdPVwiZm9ybVwiPlxuICAgICAgICA8bnVpLXBpenphZ25hXG4gICAgICAgICAgICAjZm9ybVBpenphZ25hQ29tcG9uZW50XG4gICAgICAgICAgICBbKHBpenphZ25hKV09XCJmb3JtUGl6emFnbmFcIlxuICAgICAgICA+PC9udWktcGl6emFnbmE+XG4gICAgPC9kaXY+XG48L25nLXRlbXBsYXRlPlxuIl19
|