@nova-ui/dashboards 17.0.1 → 20.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 +656 -626
- package/fesm2022/nova-ui-dashboards.mjs.map +1 -1
- package/lib/components/providers/refresher-settings.service.d.ts +5 -2
- package/lib/components/providers/refresher.d.ts +3 -5
- 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-settings.service.d.ts +5 -2
- package/sdk/atoms/src/lib/components/providers/refresher-settings.service.js +7 -5
- package/sdk/atoms/src/lib/components/providers/refresher-settings.service.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/refresher.d.ts +3 -5
- package/sdk/atoms/src/lib/components/providers/refresher.js +10 -8
- 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,57 +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 { Injectable } from "@angular/core";
|
|
21
|
-
import { take } from "rxjs/operators";
|
|
22
|
-
import * as i0 from "@angular/core";
|
|
23
|
-
export class WidgetConfiguratorSectionCoordinatorService {
|
|
24
|
-
constructor() {
|
|
25
|
-
this.accordions = [];
|
|
26
|
-
}
|
|
27
|
-
registerAccordion(accordion) {
|
|
28
|
-
this.accordions.push({
|
|
29
|
-
instance: accordion,
|
|
30
|
-
openSubscription: accordion.openSubject.subscribe(() => {
|
|
31
|
-
this.closeAllAccordions();
|
|
32
|
-
accordion.open = true;
|
|
33
|
-
}),
|
|
34
|
-
destroySubscription: accordion.destroySubject
|
|
35
|
-
.pipe(take(1))
|
|
36
|
-
.subscribe(() => {
|
|
37
|
-
this.removeAccordion(accordion);
|
|
38
|
-
}),
|
|
39
|
-
});
|
|
40
|
-
}
|
|
41
|
-
closeAllAccordions() {
|
|
42
|
-
this.accordions.forEach((state) => {
|
|
43
|
-
state.instance.closeAccordion();
|
|
44
|
-
});
|
|
45
|
-
}
|
|
46
|
-
removeAccordion(instanceToRemove) {
|
|
47
|
-
const stateToRemoveIndex = this.accordions.findIndex((state) => state.instance === instanceToRemove);
|
|
48
|
-
this.accordions[stateToRemoveIndex].openSubscription.unsubscribe();
|
|
49
|
-
this.accordions.splice(stateToRemoveIndex, 1);
|
|
50
|
-
}
|
|
51
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: WidgetConfiguratorSectionCoordinatorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
52
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: WidgetConfiguratorSectionCoordinatorService }); }
|
|
53
|
-
}
|
|
54
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: WidgetConfiguratorSectionCoordinatorService, decorators: [{
|
|
55
|
-
type: Injectable
|
|
56
|
-
}] });
|
|
57
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2lkZ2V0LWNvbmZpZ3VyYXRvci1zZWN0aW9uLWNvb3JkaW5hdG9yLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGliL2NvbmZpZ3VyYXRvci9jb21wb25lbnRzL3dpZGdldC1jb25maWd1cmF0b3Itc2VjdGlvbi93aWRnZXQtY29uZmlndXJhdG9yLXNlY3Rpb24tY29vcmRpbmF0b3Iuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSx5REFBeUQ7QUFDekQsRUFBRTtBQUNGLCtFQUErRTtBQUMvRSw0RUFBNEU7QUFDNUUsOEVBQThFO0FBQzlFLCtFQUErRTtBQUMvRSw4RUFBOEU7QUFDOUUsNERBQTREO0FBQzVELEVBQUU7QUFDRiw2RUFBNkU7QUFDN0UsdURBQXVEO0FBQ3ZELEVBQUU7QUFDRiw2R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4gICAgICAgICAgICBkZXN0cm95U3Vic2NyaXB0aW9uOiBhY2NvcmRpb24uZGVzdHJveVN1YmplY3RcbiAgICAgICAgICAgICAgICAucGlwZSh0YWtlKDEpKVxuICAgICAgICAgICAgICAgIC5zdWJzY3JpYmUoKCkgPT4ge1xuICAgICAgICAgICAgICAgICAgICB0aGlzLnJlbW92ZUFjY29yZGlvbihhY2NvcmRpb24pO1xuICAgICAgICAgICAgICAgIH0pLFxuICAgICAgICB9KTtcbiAgICB9XG5cbiAgICBwcml2YXRlIGNsb3NlQWxsQWNjb3JkaW9ucygpIHtcbiAgICAgICAgdGhpcy5hY2NvcmRpb25zLmZvckVhY2goKHN0YXRlKSA9PiB7XG4gICAgICAgICAgICBzdGF0ZS5pbnN0YW5jZS5jbG9zZUFjY29yZGlvbigpO1xuICAgICAgICB9KTtcbiAgICB9XG5cbiAgICBwcml2YXRlIHJlbW92ZUFjY29yZGlvbihpbnN0YW5jZVRvUmVtb3ZlOiBXaWRnZXRFZGl0b3JBY2NvcmRpb25Db21wb25lbnQpIHtcbiAgICAgICAgY29uc3Qgc3RhdGVUb1JlbW92ZUluZGV4ID0gdGhpcy5hY2NvcmRpb25zLmZpbmRJbmRleChcbiAgICAgICAgICAgIChzdGF0ZSkgPT4gc3RhdGUuaW5zdGFuY2UgPT09IGluc3RhbmNlVG9SZW1vdmVcbiAgICAgICAgKTtcbiAgICAgICAgdGhpcy5hY2NvcmRpb25zW3N0YXRlVG9SZW1vdmVJbmRleF0ub3BlblN1YnNjcmlwdGlvbi51bnN1YnNjcmliZSgpO1xuICAgICAgICB0aGlzLmFjY29yZGlvbnMuc3BsaWNlKHN0YXRlVG9SZW1vdmVJbmRleCwgMSk7XG4gICAgfVxufVxuIl19
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
2
|
-
//
|
|
3
|
-
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4
|
-
// of this software and associated documentation files (the "Software"), to
|
|
5
|
-
// deal in the Software without restriction, including without limitation the
|
|
6
|
-
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
7
|
-
// sell copies of the Software, and to permit persons to whom the Software is
|
|
8
|
-
// furnished to do so, subject to the following conditions:
|
|
9
|
-
//
|
|
10
|
-
// The above copyright notice and this permission notice shall be included in
|
|
11
|
-
// all copies or substantial portions of the Software.
|
|
12
|
-
//
|
|
13
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
14
|
-
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
15
|
-
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
16
|
-
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17
|
-
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
18
|
-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
19
|
-
// THE SOFTWARE.
|
|
20
|
-
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, EventEmitter, Input, Output, TemplateRef, ViewEncapsulation, } from "@angular/core";
|
|
21
|
-
import { FormBuilder } from "@angular/forms";
|
|
22
|
-
import { LoggerService } from "@nova-ui/bits";
|
|
23
|
-
import { BaseLayout } from "../../../components/layouts/base-layout";
|
|
24
|
-
import { PizzagnaService } from "../../../pizzagna/services/pizzagna.service";
|
|
25
|
-
import * as i0 from "@angular/core";
|
|
26
|
-
import * as i1 from "../../../pizzagna/services/pizzagna.service";
|
|
27
|
-
import * as i2 from "@nova-ui/bits";
|
|
28
|
-
import * as i3 from "@angular/forms";
|
|
29
|
-
import * as i4 from "@angular/common";
|
|
30
|
-
import * as i5 from "@angular/cdk/portal";
|
|
31
|
-
import * as i6 from "../../../pizzagna/directives/component-portal/component-portal.directive";
|
|
32
|
-
export class WidgetConfiguratorSectionComponent extends BaseLayout {
|
|
33
|
-
static { this.lateLoadKey = "WidgetConfiguratorSectionComponent"; }
|
|
34
|
-
constructor(changeDetector, pizzagnaService, logger, formBuilder) {
|
|
35
|
-
super(changeDetector, pizzagnaService, logger);
|
|
36
|
-
this.formBuilder = formBuilder;
|
|
37
|
-
this.nodes = [];
|
|
38
|
-
this.headerText = "";
|
|
39
|
-
this.formReady = new EventEmitter();
|
|
40
|
-
this.formDestroy = new EventEmitter();
|
|
41
|
-
}
|
|
42
|
-
getNodes() {
|
|
43
|
-
return this.nodes;
|
|
44
|
-
}
|
|
45
|
-
ngOnInit() {
|
|
46
|
-
this.form = this.formBuilder.group({});
|
|
47
|
-
}
|
|
48
|
-
onEvent(componentId, event) {
|
|
49
|
-
if (event.id === "formReady") {
|
|
50
|
-
this.addFormGroup(componentId, event.payload);
|
|
51
|
-
}
|
|
52
|
-
if (Object.keys(this.form.controls).length === this.getNodes().length) {
|
|
53
|
-
this.formReady.emit(this.form);
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
addFormGroup(name, formGroup) {
|
|
57
|
-
this.form.addControl(name, formGroup);
|
|
58
|
-
}
|
|
59
|
-
ngOnDestroy() {
|
|
60
|
-
this.formDestroy.emit(this.form);
|
|
61
|
-
// Invoke super.ngOnDestroy to ensure that any base class observables are unsubscribed.
|
|
62
|
-
super.ngOnDestroy();
|
|
63
|
-
}
|
|
64
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: WidgetConfiguratorSectionComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.PizzagnaService }, { token: i2.LoggerService }, { token: i3.FormBuilder }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
65
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: WidgetConfiguratorSectionComponent, selector: "nui-widget-configurator-section", inputs: { headerTextTemplate: "headerTextTemplate", headerButtonsTemplate: "headerButtonsTemplate", nodes: "nodes", headerText: "headerText" }, outputs: { formReady: "formReady", formDestroy: "formDestroy" }, host: { classAttribute: "nui-widget-configurator-section" }, usesInheritance: true, ngImport: i0, template: "<div class=\"widget-configurator-section\">\n <div\n class=\"widget-configurator-section__header d-flex justify-content-between align-items-center\"\n >\n <ng-container *ngTemplateOutlet=\"headerTextTemplate\"></ng-container>\n <ng-container *ngTemplateOutlet=\"headerButtonsTemplate\"></ng-container>\n\n <!-- TODO: REMOVE THOSE AFTER ALL WIDGETS ARE USING nui-items-dynamic -->\n <div\n headerText\n *ngIf=\"headerText\"\n class=\"widget-configurator-section__header-text\"\n [title]=\"headerText\"\n >\n {{ headerText }}\n </div>\n <ng-content select=\"[headerText]\"></ng-content>\n <ng-content select=\"[headerButtons]\"></ng-content>\n </div>\n <ng-container *ngFor=\"let node of nodeConfigs; trackBy: trackByFn\">\n <ng-container\n nuiComponentPortal\n #componentPortal=\"nuiComponentPortal\"\n [componentId]=\"node.id\"\n [componentType]=\"node.componentType\"\n [providers]=\"node.providers\"\n [properties]=\"node.properties\"\n [outputs]=\"['formReady']\"\n (output)=\"onEvent(node.id, $event)\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n </ng-container>\n <ng-content></ng-content>\n</div>\n", styles: [".widget-configurator-section{margin:15px;border-radius:3px;border:1px solid;border-color:var(--nui-color-line-default,#d9d9d9)}.widget-configurator-section__header{padding:15px 5px 15px 15px;height:40px;font-size:16px;font-weight:600;background-color:var(--nui-color-bg-table_header,#f0f0f0);color:var(--nui-color-text-secondary,rgba(17, 17, 17, .6))}.widget-configurator-section__header-text{white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;-o-text-overflow:ellipsis;text-overflow:ellipsis}\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: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i5.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { kind: "directive", type: i6.ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
66
|
-
}
|
|
67
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: WidgetConfiguratorSectionComponent, decorators: [{
|
|
68
|
-
type: Component,
|
|
69
|
-
args: [{ selector: "nui-widget-configurator-section", changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { class: "nui-widget-configurator-section" }, template: "<div class=\"widget-configurator-section\">\n <div\n class=\"widget-configurator-section__header d-flex justify-content-between align-items-center\"\n >\n <ng-container *ngTemplateOutlet=\"headerTextTemplate\"></ng-container>\n <ng-container *ngTemplateOutlet=\"headerButtonsTemplate\"></ng-container>\n\n <!-- TODO: REMOVE THOSE AFTER ALL WIDGETS ARE USING nui-items-dynamic -->\n <div\n headerText\n *ngIf=\"headerText\"\n class=\"widget-configurator-section__header-text\"\n [title]=\"headerText\"\n >\n {{ headerText }}\n </div>\n <ng-content select=\"[headerText]\"></ng-content>\n <ng-content select=\"[headerButtons]\"></ng-content>\n </div>\n <ng-container *ngFor=\"let node of nodeConfigs; trackBy: trackByFn\">\n <ng-container\n nuiComponentPortal\n #componentPortal=\"nuiComponentPortal\"\n [componentId]=\"node.id\"\n [componentType]=\"node.componentType\"\n [providers]=\"node.providers\"\n [properties]=\"node.properties\"\n [outputs]=\"['formReady']\"\n (output)=\"onEvent(node.id, $event)\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n </ng-container>\n <ng-content></ng-content>\n</div>\n", styles: [".widget-configurator-section{margin:15px;border-radius:3px;border:1px solid;border-color:var(--nui-color-line-default,#d9d9d9)}.widget-configurator-section__header{padding:15px 5px 15px 15px;height:40px;font-size:16px;font-weight:600;background-color:var(--nui-color-bg-table_header,#f0f0f0);color:var(--nui-color-text-secondary,rgba(17, 17, 17, .6))}.widget-configurator-section__header-text{white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;-o-text-overflow:ellipsis;text-overflow:ellipsis}\n"] }]
|
|
70
|
-
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i1.PizzagnaService }, { type: i2.LoggerService }, { type: i3.FormBuilder }], propDecorators: { headerTextTemplate: [{
|
|
71
|
-
type: Input
|
|
72
|
-
}], headerButtonsTemplate: [{
|
|
73
|
-
type: Input
|
|
74
|
-
}], nodes: [{
|
|
75
|
-
type: Input
|
|
76
|
-
}], headerText: [{
|
|
77
|
-
type: Input
|
|
78
|
-
}], formReady: [{
|
|
79
|
-
type: Output
|
|
80
|
-
}], formDestroy: [{
|
|
81
|
-
type: Output
|
|
82
|
-
}] } });
|
|
83
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2lkZ2V0LWNvbmZpZ3VyYXRvci1zZWN0aW9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9saWIvY29uZmlndXJhdG9yL2NvbXBvbmVudHMvd2lkZ2V0LWNvbmZpZ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ICB7eyBoZWFkZXJUZXh0IH19XG4gICAgICAgIDwvZGl2PlxuICAgICAgICA8bmctY29udGVudCBzZWxlY3Q9XCJbaGVhZGVyVGV4dF1cIj48L25nLWNvbnRlbnQ+XG4gICAgICAgIDxuZy1jb250ZW50IHNlbGVjdD1cIltoZWFkZXJCdXR0b25zXVwiPjwvbmctY29udGVudD5cbiAgICA8L2Rpdj5cbiAgICA8bmctY29udGFpbmVyICpuZ0Zvcj1cImxldCBub2RlIG9mIG5vZGVDb25maWdzOyB0cmFja0J5OiB0cmFja0J5Rm5cIj5cbiAgICAgICAgPG5nLWNvbnRhaW5lclxuICAgICAgICAgICAgbnVpQ29tcG9uZW50UG9ydGFsXG4gICAgICAgICAgICAjY29tcG9uZW50UG9ydGFsPVwibnVpQ29tcG9uZW50UG9ydGFsXCJcbiAgICAgICAgICAgIFtjb21wb25lbnRJZF09XCJub2RlLmlkXCJcbiAgICAgICAgICAgIFtjb21wb25lbnRUeXBlXT1cIm5vZGUuY29tcG9uZW50VHlwZVwiXG4gICAgICAgICAgICBbcHJvdmlkZXJzXT1cIm5vZGUucHJvdmlkZXJzXCJcbiAgICAgICAgICAgIFtwcm9wZXJ0aWVzXT1cIm5vZGUucHJvcGVydGllc1wiXG4gICAgICAgICAgICBbb3V0cHV0c109XCJbJ2Zvcm1SZWFkeSddXCJcbiAgICAgICAgICAgIChvdXRwdXQpPVwib25FdmVudChub2RlLmlkLCAkZXZlbnQpXCJcbiAgICAgICAgPlxuICAgICAgICAgICAgPG5nLXRlbXBsYXRlXG4gICAgICAgICAgICAgICAgW2Nka1BvcnRhbE91dGxldF09XCJjb21wb25lbnRQb3J0YWwucG9ydGFsXCJcbiAgICAgICAgICAgICAgICAoYXR0YWNoZWQpPVwiY29tcG9uZW50UG9ydGFsLmF0dGFjaGVkKCRldmVudClcIlxuICAgICAgICAgICAgPjwvbmctdGVtcGxhdGU+XG4gICAgICAgIDwvbmctY29udGFpbmVyPlxuICAgIDwvbmctY29udGFpbmVyPlxuICAgIDxuZy1jb250ZW50PjwvbmctY29udGVudD5cbjwvZGl2PlxuIl19
|
|
@@ -1,146 +0,0 @@
|
|
|
1
|
-
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
2
|
-
//
|
|
3
|
-
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4
|
-
// of this software and associated documentation files (the "Software"), to
|
|
5
|
-
// deal in the Software without restriction, including without limitation the
|
|
6
|
-
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
7
|
-
// sell copies of the Software, and to permit persons to whom the Software is
|
|
8
|
-
// furnished to do so, subject to the following conditions:
|
|
9
|
-
//
|
|
10
|
-
// The above copyright notice and this permission notice shall be included in
|
|
11
|
-
// all copies or substantial portions of the Software.
|
|
12
|
-
//
|
|
13
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
14
|
-
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
15
|
-
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
16
|
-
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17
|
-
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
18
|
-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
19
|
-
// THE SOFTWARE.
|
|
20
|
-
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Input, ViewChild, } from "@angular/core";
|
|
21
|
-
import { FormBuilder } from "@angular/forms";
|
|
22
|
-
import get from "lodash/get";
|
|
23
|
-
import { BehaviorSubject, Subject } from "rxjs";
|
|
24
|
-
import { takeUntil } from "rxjs/operators";
|
|
25
|
-
import { PizzagnaComponent } from "../../../pizzagna/components/pizzagna/pizzagna.component";
|
|
26
|
-
import { PREVIEW_EVENT } from "../../../services/types";
|
|
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 "@angular/forms";
|
|
32
|
-
import * as i2 from "../../services/preview.service";
|
|
33
|
-
import * as i3 from "../configurator/configurator.component";
|
|
34
|
-
import * as i4 from "@angular/common";
|
|
35
|
-
import * as i5 from "../../../pizzagna/components/pizzagna/pizzagna.component";
|
|
36
|
-
import * as i6 from "../wizard/dashwiz/dashwiz.component";
|
|
37
|
-
import * as i7 from "../wizard/dashwiz-step/dashwiz-step.component";
|
|
38
|
-
import * as i8 from "../heading/configurator-heading.component";
|
|
39
|
-
export class WidgetEditorComponent {
|
|
40
|
-
static { this.lateLoadKey = "WidgetEditorComponent"; }
|
|
41
|
-
static { this.TITLE_PATH = "header.properties.title"; }
|
|
42
|
-
set formPizzagnaComponent(value) {
|
|
43
|
-
value?.eventBus
|
|
44
|
-
?.getStream(PREVIEW_EVENT)
|
|
45
|
-
.pipe(takeUntil(this.destroy$))
|
|
46
|
-
.subscribe((event) => {
|
|
47
|
-
const payload = event.payload;
|
|
48
|
-
if (payload && payload.id) {
|
|
49
|
-
this.configurator?.previewPizzagnaComponent?.eventBus
|
|
50
|
-
?.getStream(payload.id)
|
|
51
|
-
.next(payload.payload);
|
|
52
|
-
}
|
|
53
|
-
});
|
|
54
|
-
this._formPizzagnaComponent = value;
|
|
55
|
-
}
|
|
56
|
-
constructor(changeDetector, formBuilder, previewService, configurator) {
|
|
57
|
-
this.changeDetector = changeDetector;
|
|
58
|
-
this.formBuilder = formBuilder;
|
|
59
|
-
this.previewService = previewService;
|
|
60
|
-
this.configurator = configurator;
|
|
61
|
-
this.navigationControl = new BehaviorSubject({
|
|
62
|
-
busyState: { busy: false },
|
|
63
|
-
allowStepChange: true,
|
|
64
|
-
});
|
|
65
|
-
this.busy = false;
|
|
66
|
-
this.destroy$ = new Subject();
|
|
67
|
-
this.form = this.formBuilder.group({});
|
|
68
|
-
}
|
|
69
|
-
ngOnInit() {
|
|
70
|
-
// TODO: Reconsider this
|
|
71
|
-
// @ts-ignore: We can depend on preview being undefined somewhere
|
|
72
|
-
this.previewService.preview =
|
|
73
|
-
this.configurator.previewWidget?.pizzagna[PizzagnaLayer.Configuration];
|
|
74
|
-
this.previewService.previewChanged
|
|
75
|
-
.pipe(takeUntil(this.destroy$))
|
|
76
|
-
.subscribe((pizzagna) => {
|
|
77
|
-
this.onPreviewPizzagnaUpdate(pizzagna);
|
|
78
|
-
this.changeDetector.detectChanges();
|
|
79
|
-
});
|
|
80
|
-
this.configurator.submitError
|
|
81
|
-
.pipe(takeUntil(this.destroy$))
|
|
82
|
-
.subscribe(() => {
|
|
83
|
-
this.toggleBusy();
|
|
84
|
-
});
|
|
85
|
-
this.changeDetector.detectChanges();
|
|
86
|
-
}
|
|
87
|
-
ngOnDestroy() {
|
|
88
|
-
this.destroy$.next();
|
|
89
|
-
this.destroy$.complete();
|
|
90
|
-
}
|
|
91
|
-
// --------------------------------------------------------------------------------
|
|
92
|
-
onPreviewPizzagnaUpdate(configLayer) {
|
|
93
|
-
const previewWidget = {
|
|
94
|
-
...this.configurator.previewWidget,
|
|
95
|
-
pizzagna: {
|
|
96
|
-
...this.configurator.previewWidget?.pizzagna,
|
|
97
|
-
[PizzagnaLayer.Configuration]: configLayer,
|
|
98
|
-
},
|
|
99
|
-
};
|
|
100
|
-
// TODO: Make previewWidget to be assignable to IWidget
|
|
101
|
-
// @ts-ignore: Type '{ pizzagna: { configuration: IPizzagnaLayer; }; }' is missing the following properties from type 'IWidget': id, type
|
|
102
|
-
this.configurator.updateWidget(previewWidget);
|
|
103
|
-
const widgetTitle = get(configLayer, WidgetEditorComponent.TITLE_PATH, "");
|
|
104
|
-
this.configuratorTitle = $localize `Editing ${widgetTitle}`;
|
|
105
|
-
}
|
|
106
|
-
onFinish() {
|
|
107
|
-
if (this.form.invalid) {
|
|
108
|
-
this.form.markAllAsTouched();
|
|
109
|
-
// is used to trigger valueChanges to detect changes in forms
|
|
110
|
-
// as form is invalid and marking as touched doesn't trigger neither statusChanges nor valueChanges
|
|
111
|
-
// and validation messages and styles are not applied in that cases
|
|
112
|
-
this.form.patchValue(this.form.value);
|
|
113
|
-
this.form.updateValueAndValidity({
|
|
114
|
-
onlySelf: false,
|
|
115
|
-
emitEvent: true,
|
|
116
|
-
});
|
|
117
|
-
return;
|
|
118
|
-
}
|
|
119
|
-
this.toggleBusy();
|
|
120
|
-
this.configurator.formSubmit();
|
|
121
|
-
}
|
|
122
|
-
onCancel() {
|
|
123
|
-
this.configurator.formCancel();
|
|
124
|
-
}
|
|
125
|
-
toggleBusy() {
|
|
126
|
-
this.busy = !this.busy;
|
|
127
|
-
this.navigationControl.next({
|
|
128
|
-
busyState: { busy: this.busy },
|
|
129
|
-
allowStepChange: !this.busy,
|
|
130
|
-
});
|
|
131
|
-
}
|
|
132
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: WidgetEditorComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.FormBuilder }, { token: i2.PreviewService }, { token: i3.ConfiguratorComponent }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
133
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: WidgetEditorComponent, selector: "nui-widget-editor", inputs: { formPizzagna: "formPizzagna", formRoot: "formRoot" }, host: { classAttribute: "d-flex flex-column h-100" }, viewQueries: [{ propertyName: "formPizzagnaComponent", first: true, predicate: ["formPizzagnaComponent"], descendants: true }], ngImport: i0, template: "<nui-configurator-heading\n [configuratorTitle]=\"configuratorTitle\"\n (close)=\"onCancel()\"\n [disableCloseButton]=\"busy\"\n></nui-configurator-heading>\n<nui-dashwiz\n [hideHeader]=\"true\"\n finishText=\"Save Changes\"\n i18n-finishText\n [navigationControl]=\"navigationControl\"\n (finish)=\"onFinish()\"\n (cancel)=\"onCancel()\"\n>\n <nui-dashwiz-step [stepTemplate]=\"step1\"></nui-dashwiz-step>\n</nui-dashwiz>\n\n<ng-template #step1>\n <div [formGroup]=\"form\">\n <nui-pizzagna\n *ngIf=\"formPizzagna\"\n #formPizzagnaComponent\n [rootNode]=\"formRoot\"\n [(pizzagna)]=\"formPizzagna\"\n >\n </nui-pizzagna>\n </div>\n</ng-template>\n", dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: i5.PizzagnaComponent, selector: "nui-pizzagna", inputs: ["rootNode", "pizzagna", "outputs"], outputs: ["pizzagnaChange", "output"] }, { kind: "component", type: i6.DashwizComponent, selector: "nui-dashwiz", inputs: ["hideHeader", "canProceed", "canFinish", "finishText", "stretchStepLines", "buttonComponentTypes", "navigationControl"], outputs: ["stepNavigated", "cancel", "finish", "next", "back"] }, { kind: "component", type: i7.DashwizStepComponent, selector: "nui-dashwiz-step", inputs: ["stepTemplate", "stepControl", "title", "nextText", "hidden", "disabled", "spinnerSize"], outputs: ["enter", "valid", "exit", "next"] }, { kind: "component", type: i8.ConfiguratorHeadingComponent, selector: "nui-configurator-heading", inputs: ["configuratorTitle", "disableCloseButton"], outputs: ["close"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
134
|
-
}
|
|
135
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: WidgetEditorComponent, decorators: [{
|
|
136
|
-
type: Component,
|
|
137
|
-
args: [{ selector: "nui-widget-editor", host: { class: "d-flex flex-column h-100" }, changeDetection: ChangeDetectionStrategy.OnPush, template: "<nui-configurator-heading\n [configuratorTitle]=\"configuratorTitle\"\n (close)=\"onCancel()\"\n [disableCloseButton]=\"busy\"\n></nui-configurator-heading>\n<nui-dashwiz\n [hideHeader]=\"true\"\n finishText=\"Save Changes\"\n i18n-finishText\n [navigationControl]=\"navigationControl\"\n (finish)=\"onFinish()\"\n (cancel)=\"onCancel()\"\n>\n <nui-dashwiz-step [stepTemplate]=\"step1\"></nui-dashwiz-step>\n</nui-dashwiz>\n\n<ng-template #step1>\n <div [formGroup]=\"form\">\n <nui-pizzagna\n *ngIf=\"formPizzagna\"\n #formPizzagnaComponent\n [rootNode]=\"formRoot\"\n [(pizzagna)]=\"formPizzagna\"\n >\n </nui-pizzagna>\n </div>\n</ng-template>\n" }]
|
|
138
|
-
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i1.FormBuilder }, { type: i2.PreviewService }, { type: i3.ConfiguratorComponent }], propDecorators: { formPizzagna: [{
|
|
139
|
-
type: Input
|
|
140
|
-
}], formRoot: [{
|
|
141
|
-
type: Input
|
|
142
|
-
}], formPizzagnaComponent: [{
|
|
143
|
-
type: ViewChild,
|
|
144
|
-
args: ["formPizzagnaComponent", { static: false }]
|
|
145
|
-
}] } });
|
|
146
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2lkZ2V0LWVkaXRvci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGliL2NvbmZpZ3VyYXRvci9jb21wb25lbnRzL3dpZGdldC1lZGl0b3Ivd2lkZ2V0LWVkaXRvci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGliL2NvbmZpZ3VyYXRvci9jb21wb25lbnRzL3dpZGdldC1lZGl0b3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WduYTogSVBpenphZ25hO1xuICAgIEBJbnB1dCgpIGZvcm1Sb290OiBzdHJpbmc7XG5cbiAgICBwcml2YXRlIF9mb3JtUGl6emFnbmFDb21wb25lbnQ6IFBpenphZ25hQ29tcG9uZW50O1xuXG4gICAgQFZpZXdDaGlsZChcImZvcm1QaXp6YWduYUNvbXBvbmVudFwiLCB7IHN0YXRpYzogZmFsc2UgfSlcbiAgICBwdWJsaWMgc2V0IGZvcm1QaXp6YWduYUNvbXBvbmVudCh2YWx1ZTogUGl6emFnbmFDb21wb25lbnQpIHtcbiAgICAgICAgdmFsdWU/LmV2ZW50QnVzXG4gICAgICAgICAgICA/LmdldFN0cmVhbShQUkVWSUVXX0VWRU5UKVxuICAgICAgICAgICAgLnBpcGUodGFrZVVudGlsKHRoaXMuZGVzdHJveSQpKVxuICAgICAgICAgICAgLnN1YnNjcmliZSgoZXZlbnQ6IElFdmVudDxJUHJldmlld0V2ZW50UGF5bG9hZD4pID0+IHtcbiAgICAgICAgICAgICAgICBjb25zdCBwYXlsb2FkID0gZXZlbnQucGF5bG9hZDtcbiAgICAgICAgICAgICAgICBpZiAocGF5bG9hZCAmJiBwYXlsb2FkLmlkKSB7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMuY29uZmlndXJhdG9yPy5wcmV2aWV3UGl6emFnbmFDb21wb25lbnQ/LmV2ZW50QnVzXG4gICAgICAgICAgICAgICAgICAgICAgICA/LmdldFN0cmVhbShwYXlsb2FkLmlkKVxuICAgICAgICAgICAgICAgICAgICAgICAgLm5leHQocGF5bG9hZC5wYXlsb2FkKTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9KTtcbiAgICAgICAgdGhpcy5fZm9ybVBpenphZ25hQ29tcG9uZW50ID0gdmFsdWU7XG4gICAgfVxuXG4gICAgcHVibGljIGZvcm06IEZvcm1Hcm91cDtcbiAgICBwdWJsaWMgbmF2aWdhdGlvbkNvbnRyb2w6IEJlaGF2aW9yU3ViamVjdDxJRGFzaHd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XG4iLCI8bnVpLWNvbmZpZ3VyYXRvci1oZWFkaW5nXG4gICAgW2NvbmZpZ3VyYXRvclRpdGxlXT1cImNvbmZpZ3VyYXRvclRpdGxlXCJcbiAgICAoY2xvc2UpPVwib25DYW5jZWwoKVwiXG4gICAgW2Rpc2FibGVDbG9zZUJ1dHRvbl09XCJidXN5XCJcbj48L251aS1jb25maWd1cmF0b3ItaGVhZGluZz5cbjxudWktZGFzaHdpelxuICAgIFtoaWRlSGVhZGVyXT1cInRydWVcIlxuICAgIGZpbmlzaFRleHQ9XCJTYXZlIENoYW5nZXNcIlxuICAgIGkxOG4tZmluaXNoVGV4dFxuICAgIFtuYXZpZ2F0aW9uQ29udHJvbF09XCJuYXZpZ2F0aW9uQ29udHJvbFwiXG4gICAgKGZpbmlzaCk9XCJvbkZpbmlzaCgpXCJcbiAgICAoY2FuY2VsKT1cIm9uQ2FuY2VsKClcIlxuPlxuICAgIDxudWktZGFzaHdpei1zdGVwIFtzdGVwVGVtcGxhdGVdPVwic3RlcDFcIj48L251aS1kYXNod2l6LXN0ZXA+XG48L251aS1kYXNod2l6PlxuXG48bmctdGVtcGxhdGUgI3N0ZXAxPlxuICAgIDxkaXYgW2Zvcm1Hcm91cF09XCJmb3JtXCI+XG4gICAgICAgIDxudWktcGl6emFnbmFcbiAgICAgICAgICAgICpuZ0lmPVwiZm9ybVBpenphZ25hXCJcbiAgICAgICAgICAgICNmb3JtUGl6emFnbmFDb21wb25lbnRcbiAgICAgICAgICAgIFtyb290Tm9kZV09XCJmb3JtUm9vdFwiXG4gICAgICAgICAgICBbKHBpenphZ25hKV09XCJmb3JtUGl6emFnbmFcIlxuICAgICAgICA+XG4gICAgICAgIDwvbnVpLXBpenphZ25hPlxuICAgIDwvZGl2PlxuPC9uZy10ZW1wbGF0ZT5cbiJdfQ==
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { Component, Input } from "@angular/core";
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@angular/common";
|
|
4
|
-
import * as i2 from "@nova-ui/bits";
|
|
5
|
-
export class WidgetEditorAccordionHeaderComponent {
|
|
6
|
-
constructor() {
|
|
7
|
-
this.subtitle = "";
|
|
8
|
-
this.headerTitle = "";
|
|
9
|
-
}
|
|
10
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: WidgetEditorAccordionHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
11
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: WidgetEditorAccordionHeaderComponent, selector: "nui-widget-editor-accordion-header", inputs: { headerIcon: "headerIcon", iconColor: "iconColor", subtitle: "subtitle", headerTitle: "headerTitle" }, ngImport: i0, template: "<!-- This component can be used instead of specifying a custom template with accordionHeader attribute -->\n<!-- You can use it the same way (without accordionHeader attribute), it will get automatically assigned to the header of the accordion -->\n<div class=\"d-flex align-items-center px-4 py-2\">\n <nui-icon\n class=\"align-self-start pt-2\"\n *ngIf=\"headerIcon\"\n [icon]=\"headerIcon\"\n [iconColor]=\"iconColor\"\n ></nui-icon>\n <div class=\"d-flex flex-column ml-4 pt-1\">\n <span class=\"nui-text-label\" i18n>\n {{ headerTitle }}\n </span>\n <div class=\"nui-text-secondary\" [title]=\"subtitle\">\n {{ subtitle }}\n </div>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.IconComponent, selector: "nui-icon", inputs: ["iconColor", "brushType", "iconHoverColor", "iconSize", "cssClass", "fillContainer", "status", "childStatus", "icon", "counter"] }] }); }
|
|
12
|
-
}
|
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: WidgetEditorAccordionHeaderComponent, decorators: [{
|
|
14
|
-
type: Component,
|
|
15
|
-
args: [{ selector: "nui-widget-editor-accordion-header", template: "<!-- This component can be used instead of specifying a custom template with accordionHeader attribute -->\n<!-- You can use it the same way (without accordionHeader attribute), it will get automatically assigned to the header of the accordion -->\n<div class=\"d-flex align-items-center px-4 py-2\">\n <nui-icon\n class=\"align-self-start pt-2\"\n *ngIf=\"headerIcon\"\n [icon]=\"headerIcon\"\n [iconColor]=\"iconColor\"\n ></nui-icon>\n <div class=\"d-flex flex-column ml-4 pt-1\">\n <span class=\"nui-text-label\" i18n>\n {{ headerTitle }}\n </span>\n <div class=\"nui-text-secondary\" [title]=\"subtitle\">\n {{ subtitle }}\n </div>\n </div>\n</div>\n" }]
|
|
16
|
-
}], propDecorators: { headerIcon: [{
|
|
17
|
-
type: Input
|
|
18
|
-
}], iconColor: [{
|
|
19
|
-
type: Input
|
|
20
|
-
}], subtitle: [{
|
|
21
|
-
type: Input
|
|
22
|
-
}], headerTitle: [{
|
|
23
|
-
type: Input
|
|
24
|
-
}] } });
|
|
25
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2lkZ2V0LWVkaXRvci1hY2NvcmRpb24taGVhZGVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9saWIvY29uZmlndXJhdG9yL2NvbXBvbmVudHMvd2lkZ2V0LWVkaXRvci1hY2NvcmRpb24vd2lkZ2V0LWVkaXRvci1hY2NvcmRpb24taGVhZGVyL3dpZGdldC1lZGl0b3ItYWNjb3JkaW9uLWhlYWRlci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGliL2NvbmZpZ3VyYXRvci9jb21wb25lbnRzL3dpZGdldC1lZGl0b3ItYWNjb3JkaW9uL3dpZGdldC1lZGl0b3ItYWNjb3JkaW9uLWhlYWRlci93aWRnZXQtZWRpdG9yLWFjY29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SolarWinds Worldwide, LLC. All rights reserved.
|
|
2
|
-
//
|
|
3
|
-
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4
|
-
// of this software and associated documentation files (the "Software"), to
|
|
5
|
-
// deal in the Software without restriction, including without limitation the
|
|
6
|
-
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
7
|
-
// sell copies of the Software, and to permit persons to whom the Software is
|
|
8
|
-
// furnished to do so, subject to the following conditions:
|
|
9
|
-
//
|
|
10
|
-
// The above copyright notice and this permission notice shall be included in
|
|
11
|
-
// all copies or substantial portions of the Software.
|
|
12
|
-
//
|
|
13
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
14
|
-
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
15
|
-
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
16
|
-
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17
|
-
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
18
|
-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
19
|
-
// THE SOFTWARE.
|
|
20
|
-
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, EventEmitter, Input, Output, ViewEncapsulation, } from "@angular/core";
|
|
21
|
-
import { Subject } from "rxjs";
|
|
22
|
-
import { AccordionState } from "../../../types";
|
|
23
|
-
import { WidgetConfiguratorSectionCoordinatorService } from "../widget-configurator-section/widget-configurator-section-coordinator.service";
|
|
24
|
-
import * as i0 from "@angular/core";
|
|
25
|
-
import * as i1 from "../widget-configurator-section/widget-configurator-section-coordinator.service";
|
|
26
|
-
import * as i2 from "@angular/common";
|
|
27
|
-
import * as i3 from "@nova-ui/bits";
|
|
28
|
-
/** @ignore */
|
|
29
|
-
export class WidgetEditorAccordionComponent {
|
|
30
|
-
constructor(accordionCoordinator, cd) {
|
|
31
|
-
this.accordionCoordinator = accordionCoordinator;
|
|
32
|
-
this.cd = cd;
|
|
33
|
-
this.showOpenStateIcon = true;
|
|
34
|
-
this.state = AccordionState.DEFAULT;
|
|
35
|
-
this.openToggle = new EventEmitter();
|
|
36
|
-
this.open = false;
|
|
37
|
-
this.openSubject = new Subject();
|
|
38
|
-
this.destroySubject = new Subject();
|
|
39
|
-
}
|
|
40
|
-
ngOnInit() {
|
|
41
|
-
this.accordionCoordinator.registerAccordion(this);
|
|
42
|
-
}
|
|
43
|
-
openChange(isOpened) {
|
|
44
|
-
this.openToggle.emit(isOpened);
|
|
45
|
-
if (isOpened) {
|
|
46
|
-
this.openSubject.next();
|
|
47
|
-
}
|
|
48
|
-
else {
|
|
49
|
-
this.closeAccordion();
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
closeAccordion() {
|
|
53
|
-
this.cd.markForCheck();
|
|
54
|
-
this.open = false;
|
|
55
|
-
}
|
|
56
|
-
ngOnDestroy() {
|
|
57
|
-
this.destroySubject.next();
|
|
58
|
-
this.destroySubject.complete();
|
|
59
|
-
}
|
|
60
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: WidgetEditorAccordionComponent, deps: [{ token: i1.WidgetConfiguratorSectionCoordinatorService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
61
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: { showOpenStateIcon: "showOpenStateIcon", state: "state" }, outputs: { openToggle: "openToggle" }, ngImport: i0, template: "<div class=\"nui-widget-editor-accordion\">\n <nui-expander [open]=\"open\" (openChange)=\"openChange($event)\">\n <div\n nuiExpanderHeader\n class=\"d-flex align-items-start\"\n [class.error-state]=\"state === 'critical'\"\n [class.warning-state]=\"state === 'warning'\"\n >\n <ng-content\n select=\"[accordionHeader], nui-widget-editor-accordion-header\"\n ></ng-content>\n <nui-icon\n *ngIf=\"showOpenStateIcon\"\n class=\"nui-widget-editor-accordion__edit-icon\"\n [icon]=\"open ? 'triangle-down' : 'triangle-left'\"\n ></nui-icon>\n </div>\n <ng-content></ng-content>\n </nui-expander>\n</div>\n", styles: [".nui-widget-editor-accordion nui-form-field:last-child .nui-form-field{margin-bottom:0}.nui-widget-editor-accordion__edit-icon{padding:10px;margin-left:auto;margin-right:5px}.nui-widget-editor-accordion .nui-expander--expanded{padding-bottom:0}.nui-widget-editor-accordion .nui-expander__header-icon{display:none}.nui-widget-editor-accordion .nui-expander__header .error-state{background-color:var(--nui-color-semantic-critical-bg,#fceae6)}.nui-widget-editor-accordion .nui-expander__header .warning-state{background-color:var(--nui-color-semantic-warning-bg,#fff9e6)}.nui-widget-editor-accordion .nui-expander__header [nuiexpanderheader]{border-top:1px solid;border-top-color:var(--nui-color-line-default,#d9d9d9);min-height:50px}.nui-widget-editor-accordion .nui-expander__header [nuiexpanderheader] nui-widget-editor-accordion-header,.nui-widget-editor-accordion .nui-expander__header [nuiexpanderheader] [accordionheader]{overflow:hidden}.nui-widget-editor-accordion .nui-expander__header [nuiexpanderheader] nui-widget-editor-accordion-header>div,.nui-widget-editor-accordion .nui-expander__header [nuiexpanderheader] [accordionheader]>div{overflow-x:hidden}.nui-widget-editor-accordion .nui-expander__header [nuiexpanderheader] nui-widget-editor-accordion-header>div .nui-text-secondary,.nui-widget-editor-accordion .nui-expander__header [nuiexpanderheader] [accordionheader]>div .nui-text-secondary{white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;-o-text-overflow:ellipsis;text-overflow:ellipsis}.nui-widget-editor-accordion .nui-expander__body{margin:0;padding:0;border-left:none}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.IconComponent, selector: "nui-icon", inputs: ["iconColor", "brushType", "iconHoverColor", "iconSize", "cssClass", "fillContainer", "status", "childStatus", "icon", "counter"] }, { kind: "component", type: i3.ExpanderComponent, selector: "nui-expander", inputs: ["disabled", "icon", "header", "hideLeftBorder", "open"], outputs: ["openChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
62
|
-
}
|
|
63
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: WidgetEditorAccordionComponent, decorators: [{
|
|
64
|
-
type: Component,
|
|
65
|
-
args: [{ selector: "nui-widget-editor-accordion", encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"nui-widget-editor-accordion\">\n <nui-expander [open]=\"open\" (openChange)=\"openChange($event)\">\n <div\n nuiExpanderHeader\n class=\"d-flex align-items-start\"\n [class.error-state]=\"state === 'critical'\"\n [class.warning-state]=\"state === 'warning'\"\n >\n <ng-content\n select=\"[accordionHeader], nui-widget-editor-accordion-header\"\n ></ng-content>\n <nui-icon\n *ngIf=\"showOpenStateIcon\"\n class=\"nui-widget-editor-accordion__edit-icon\"\n [icon]=\"open ? 'triangle-down' : 'triangle-left'\"\n ></nui-icon>\n </div>\n <ng-content></ng-content>\n </nui-expander>\n</div>\n", styles: [".nui-widget-editor-accordion nui-form-field:last-child .nui-form-field{margin-bottom:0}.nui-widget-editor-accordion__edit-icon{padding:10px;margin-left:auto;margin-right:5px}.nui-widget-editor-accordion .nui-expander--expanded{padding-bottom:0}.nui-widget-editor-accordion .nui-expander__header-icon{display:none}.nui-widget-editor-accordion .nui-expander__header .error-state{background-color:var(--nui-color-semantic-critical-bg,#fceae6)}.nui-widget-editor-accordion .nui-expander__header .warning-state{background-color:var(--nui-color-semantic-warning-bg,#fff9e6)}.nui-widget-editor-accordion .nui-expander__header [nuiexpanderheader]{border-top:1px solid;border-top-color:var(--nui-color-line-default,#d9d9d9);min-height:50px}.nui-widget-editor-accordion .nui-expander__header [nuiexpanderheader] nui-widget-editor-accordion-header,.nui-widget-editor-accordion .nui-expander__header [nuiexpanderheader] [accordionheader]{overflow:hidden}.nui-widget-editor-accordion .nui-expander__header [nuiexpanderheader] nui-widget-editor-accordion-header>div,.nui-widget-editor-accordion .nui-expander__header [nuiexpanderheader] [accordionheader]>div{overflow-x:hidden}.nui-widget-editor-accordion .nui-expander__header [nuiexpanderheader] nui-widget-editor-accordion-header>div .nui-text-secondary,.nui-widget-editor-accordion .nui-expander__header [nuiexpanderheader] [accordionheader]>div .nui-text-secondary{white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;-o-text-overflow:ellipsis;text-overflow:ellipsis}.nui-widget-editor-accordion .nui-expander__body{margin:0;padding:0;border-left:none}\n"] }]
|
|
66
|
-
}], ctorParameters: () => [{ type: i1.WidgetConfiguratorSectionCoordinatorService }, { type: i0.ChangeDetectorRef }], propDecorators: { showOpenStateIcon: [{
|
|
67
|
-
type: Input
|
|
68
|
-
}], state: [{
|
|
69
|
-
type: Input
|
|
70
|
-
}], openToggle: [{
|
|
71
|
-
type: Output
|
|
72
|
-
}] } });
|
|
73
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2lkZ2V0LWVkaXRvci1hY2NvcmRpb24uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2xpYi9jb25maWd1cmF0b3IvY29tcG9uZW50cy93aWRnZXQtZWRpdG9yLWFjY29yZGlvbi93aWRnZXQtZWRpdG9yLWFjY29yZGlvbi5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGliL2NvbmZpZ3VyYXRvci9jb21wb25lbnRzL3dpZGdldC1lZGl0b3ItYW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