@nova-ui/dashboards 16.0.8 → 17.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/common/common.module.mjs +4 -4
- package/esm2022/lib/common/components/preview-overlay/preview-overlay.component.mjs +3 -3
- package/esm2022/lib/common/components/widget-error/widget-error.component.mjs +5 -5
- package/esm2022/lib/common/pipes/dashboard-unit-conversion-pipe.mjs +4 -4
- package/esm2022/lib/components/dashboard/dashboard.component.mjs +7 -7
- package/esm2022/lib/components/embedded-content/embedded-content.component.mjs +6 -6
- package/esm2022/lib/components/kpi-widget/kpi.component.mjs +7 -7
- package/esm2022/lib/components/kpi-widget/types.mjs +1 -1
- package/esm2022/lib/components/layouts/base-layout.mjs +5 -5
- package/esm2022/lib/components/layouts/stack/stack.component.mjs +5 -5
- package/esm2022/lib/components/layouts/tiles/tiles.component.mjs +5 -5
- package/esm2022/lib/components/list-widget/list-elements/list-group-item/list-group-item.component.mjs +6 -6
- package/esm2022/lib/components/list-widget/list-elements/list-leaf-item/list-leaf-item.component.mjs +6 -6
- package/esm2022/lib/components/list-widget/list-elements/list-navigation-bar/list-navigation-bar.component.mjs +6 -6
- package/esm2022/lib/components/list-widget/list-widget.component.mjs +6 -6
- package/esm2022/lib/components/loading/loading.component.mjs +5 -5
- package/esm2022/lib/components/proportional-widget/proportional-donut-content/proportional-donut-content.component.mjs +5 -5
- package/esm2022/lib/components/proportional-widget/proportional-widget.component.mjs +6 -6
- package/esm2022/lib/components/providers/data-source-adapter.mjs +6 -6
- package/esm2022/lib/components/providers/drilldown-data-source-adapter.mjs +4 -3
- package/esm2022/lib/components/providers/event-bus-debugger.mjs +5 -5
- package/esm2022/lib/components/providers/interaction/interaction-handler.mjs +5 -5
- package/esm2022/lib/components/providers/interaction/url-interaction-handler.mjs +7 -7
- package/esm2022/lib/components/providers/kpi-color-prioritizer.mjs +6 -6
- package/esm2022/lib/components/providers/kpi-data-source-adapter.mjs +4 -3
- package/esm2022/lib/components/providers/kpi-scale-sync-broker.mjs +6 -6
- package/esm2022/lib/components/providers/kpi-status-content-fallback-adapter.mjs +7 -7
- package/esm2022/lib/components/providers/loading-adapter.mjs +6 -6
- package/esm2022/lib/components/providers/pizzagna-broadcaster.service.mjs +5 -5
- package/esm2022/lib/components/providers/refresher-settings.service.mjs +3 -3
- package/esm2022/lib/components/providers/refresher.mjs +8 -8
- package/esm2022/lib/components/providers/status-content-fallback-adapter.mjs +6 -6
- package/esm2022/lib/components/providers/table-data-source-adapter.mjs +4 -3
- package/esm2022/lib/components/providers/timeseries-data-source-adapter.mjs +4 -3
- package/esm2022/lib/components/public-api.mjs +2 -2
- package/esm2022/lib/components/risk-score-tile/risk-score-tile.component.mjs +7 -7
- package/esm2022/lib/components/risk-score-tile/types.mjs +1 -1
- package/esm2022/lib/components/table-widget/addons/paginator-feature-addon.service.mjs +6 -6
- package/esm2022/lib/components/table-widget/addons/search-feature-addon.service.mjs +3 -3
- package/esm2022/lib/components/table-widget/addons/virtual-scroll-feature-addon.service.mjs +3 -3
- package/esm2022/lib/components/table-widget/delayed-mouse-presence-detection.directive.mjs +3 -3
- package/esm2022/lib/components/table-widget/table-widget.component.mjs +35 -22
- package/esm2022/lib/components/table-widget/types.mjs +1 -1
- package/esm2022/lib/components/template-load-error/public-api.mjs +21 -0
- package/esm2022/lib/components/template-load-error/template-load-error.component.mjs +3 -3
- package/esm2022/lib/components/time-frame-selection/timeframe-selection.component.mjs +6 -6
- package/esm2022/lib/components/timeseries-widget/chart-presets/status-bar-chart/status-bar-chart.component.mjs +5 -5
- package/esm2022/lib/components/timeseries-widget/chart-presets/timeseries-chart.component.mjs +6 -6
- package/esm2022/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/line-chart.component.mjs +5 -5
- package/esm2022/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-area-chart.component.mjs +5 -5
- package/esm2022/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-bar-chart.component.mjs +5 -5
- package/esm2022/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-percentage-area-chart.component.mjs +5 -5
- package/esm2022/lib/components/timeseries-widget/chart-presets/xy-chart/xy-chart.component.mjs +5 -5
- package/esm2022/lib/components/timeseries-widget/timeseries-chart-preset.service.mjs +4 -4
- package/esm2022/lib/components/timeseries-widget/timeseries-inspection-menu/timeseries-inspection-menu.component.mjs +6 -6
- package/esm2022/lib/components/timeseries-widget/timeseries-scales.service.mjs +6 -6
- package/esm2022/lib/components/timeseries-widget/timeseries-widget.component.mjs +5 -5
- package/esm2022/lib/components/widget/widget-body/widget-body.component.mjs +6 -6
- package/esm2022/lib/components/widget/widget-body-content/widget-body-content.component.mjs +5 -5
- package/esm2022/lib/components/widget/widget-header/widget-header.component.mjs +7 -7
- package/esm2022/lib/components/widget/widget.component.mjs +5 -5
- package/esm2022/lib/components/widget-search/widget-search.component.mjs +6 -6
- package/esm2022/lib/configurator/components/color-picker/color-picker.component.mjs +6 -6
- package/esm2022/lib/configurator/components/color-picker/color.service.mjs +3 -3
- package/esm2022/lib/configurator/components/configurator/configurator.component.mjs +5 -5
- package/esm2022/lib/configurator/components/drop-area/drop-area.component.mjs +3 -3
- package/esm2022/lib/configurator/components/form-stack/form-stack.component.mjs +6 -6
- package/esm2022/lib/configurator/components/formatters/donut-content-percentage-formatter/donut-content-percentage-configuration.component.mjs +4 -4
- package/esm2022/lib/configurator/components/formatters/donut-content-percentage-formatter/donut-content-percentage-formatter.component.mjs +5 -5
- package/esm2022/lib/configurator/components/formatters/donut-content-raw-formatter/donut-content-raw-formatter.component.mjs +5 -5
- package/esm2022/lib/configurator/components/formatters/donut-content-sum-formatter/donut-content-sum-formatter.component.mjs +5 -5
- package/esm2022/lib/configurator/components/formatters/icon-formatter/icon-formatter.component.mjs +5 -5
- package/esm2022/lib/configurator/components/formatters/link-formatter/link-formatter.component.mjs +5 -5
- package/esm2022/lib/configurator/components/formatters/percentage-formatter/percentage-formatter.component.mjs +3 -3
- package/esm2022/lib/configurator/components/formatters/raw-formatter/raw-formatter.component.mjs +5 -5
- package/esm2022/lib/configurator/components/formatters/si-units-formatter/si-units-formatter.component.mjs +5 -5
- package/esm2022/lib/configurator/components/formatters/status-with-icon-formatter/status-with-icon-formatter.component.mjs +5 -5
- package/esm2022/lib/configurator/components/formatters/widget-formatter-configurators/donut-formatter-configurator.component.mjs +5 -5
- package/esm2022/lib/configurator/components/heading/configurator-heading.component.mjs +5 -5
- package/esm2022/lib/configurator/components/items-dynamic/items-dynamic.component.mjs +6 -6
- package/esm2022/lib/configurator/components/preview-placeholder/preview-placeholder.component.mjs +3 -3
- package/esm2022/lib/configurator/components/widget-cloner/widget-cloner.component.mjs +30 -15
- package/esm2022/lib/configurator/components/widget-configurator-section/widget-configurator-section-coordinator.service.mjs +3 -3
- package/esm2022/lib/configurator/components/widget-configurator-section/widget-configurator-section.component.mjs +6 -6
- package/esm2022/lib/configurator/components/widget-editor/widget-editor.component.mjs +5 -5
- package/esm2022/lib/configurator/components/widget-editor-accordion/widget-editor-accordion-header/widget-editor-accordion-header.component.mjs +3 -3
- package/esm2022/lib/configurator/components/widget-editor-accordion/widget-editor-accordion.component.mjs +6 -6
- package/esm2022/lib/configurator/components/widgets/configurator-items/background-color-rules-configuration/background-color-rules-configuration.component.mjs +5 -5
- package/esm2022/lib/configurator/components/widgets/configurator-items/data-source-configuration/data-source-configuration.component.mjs +6 -6
- package/esm2022/lib/configurator/components/widgets/configurator-items/data-source-configuration-v2/data-source-configuration-v2.component.mjs +6 -6
- package/esm2022/lib/configurator/components/widgets/configurator-items/data-source-error/data-source-error.component.mjs +5 -5
- package/esm2022/lib/configurator/components/widgets/configurator-items/data-source-error/table/table-data-source-error.component.mjs +4 -4
- package/esm2022/lib/configurator/components/widgets/configurator-items/embedded-content-configuration/embedded-content-configuration.component.mjs +5 -5
- package/esm2022/lib/configurator/components/widgets/configurator-items/info-message-configuration/info-message-configuration.component.mjs +5 -5
- package/esm2022/lib/configurator/components/widgets/configurator-items/kpi-description-configuration/kpi-description-configuration.component.mjs +5 -5
- package/esm2022/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/refresh-rate-configurator.component.mjs +5 -5
- package/esm2022/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresher-configuration.component.mjs +6 -6
- package/esm2022/lib/configurator/components/widgets/configurator-items/risk-score-tile-description-configuration/risk-score-tile-description-configuration.component.mjs +5 -5
- package/esm2022/lib/configurator/components/widgets/configurator-items/thresholds-configuration/thresholds-configuration.component.mjs +5 -5
- package/esm2022/lib/configurator/components/widgets/configurator-items/timeseries-metadata-configuration/timeseries-metadata-configuration.component.mjs +6 -6
- package/esm2022/lib/configurator/components/widgets/configurator-items/title-and-description-configuration/title-and-description-configuration.component.mjs +5 -5
- package/esm2022/lib/configurator/components/widgets/drilldown/entity-formatting-configuration/entity-formatting-configuration.component.mjs +5 -5
- package/esm2022/lib/configurator/components/widgets/drilldown/grouping-configuration/grouping-configuration.component.mjs +6 -6
- package/esm2022/lib/configurator/components/widgets/kpi/kpi-tiles-configuration/kpi-tiles-configuration.component.mjs +6 -6
- package/esm2022/lib/configurator/components/widgets/proportional/aggregators-configurators/aggregator-configurator/aggregator-configurator.component.mjs +5 -5
- package/esm2022/lib/configurator/components/widgets/proportional/aggregators-configurators/field-mapper-aggregator-configurator/field-mapper-aggregator-configurator.component.mjs +6 -6
- package/esm2022/lib/configurator/components/widgets/proportional/chart-options-editor/proportional-chart-options-editor.component.mjs +5 -5
- package/esm2022/lib/configurator/components/widgets/proportional/chart-options-editor-v2/proportional-chart-options-editor-v2.component.mjs +5 -5
- package/esm2022/lib/configurator/components/widgets/proportional/donut-content-configuration/donut-content-configuration.component.mjs +6 -6
- package/esm2022/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/risk-score-tiles-configuration.component.mjs +6 -6
- package/esm2022/lib/configurator/components/widgets/table/columns-editor/column-configuration/description-configuration/description-configuration.component.mjs +5 -5
- package/esm2022/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/formatter-configurator.component.mjs +5 -5
- package/esm2022/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/link-configurator/link-configurator.component.mjs +4 -4
- package/esm2022/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/value-selector/value-selector.component.mjs +4 -4
- package/esm2022/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/presentation-configuration.component.mjs +6 -6
- package/esm2022/lib/configurator/components/widgets/table/columns-editor/table-columns-configuration.component.mjs +6 -6
- package/esm2022/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/description-configuration/description-configuration-v2.component.mjs +5 -5
- package/esm2022/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/presentation-configuration/presentation-configuration-v2.component.mjs +6 -6
- package/esm2022/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/table-column-configuration/table-column-configuration.component.mjs +5 -5
- package/esm2022/lib/configurator/components/widgets/table/columns-editor-v2/table-columns-configuration-v2.component.mjs +7 -7
- package/esm2022/lib/configurator/components/widgets/table/filters-editor/table-filters-editor.component.mjs +6 -6
- package/esm2022/lib/configurator/components/widgets/table/scrollType-editor/scroll-type-editor.component.mjs +7 -7
- package/esm2022/lib/configurator/components/widgets/table/scrollType-editor/scroll-type-editor.service.mjs +4 -4
- package/esm2022/lib/configurator/components/widgets/timeseries/timeseries-series-collection-configuration/timeseries-series-collection-configuration.component.mjs +6 -6
- package/esm2022/lib/configurator/components/widgets/timeseries/timeseries-tile-description-configuration/timeseries-tile-description-configuration.component.mjs +5 -5
- package/esm2022/lib/configurator/components/widgets/timeseries/timeseries-tile-indicator-data-configuration/timeseries-tile-indicator-data-configuration.component.mjs +5 -5
- package/esm2022/lib/configurator/components/wizard/dashwiz/dashwiz-buttons.component.mjs +5 -5
- package/esm2022/lib/configurator/components/wizard/dashwiz/dashwiz.component.mjs +20 -10
- package/esm2022/lib/configurator/components/wizard/dashwiz/dashwiz.service.mjs +4 -4
- package/esm2022/lib/configurator/components/wizard/dashwiz-step/dashwiz-step.component.mjs +6 -6
- package/esm2022/lib/configurator/configurator.module.mjs +16 -16
- package/esm2022/lib/configurator/pipe/add-data.pipe.mjs +4 -4
- package/esm2022/lib/configurator/pipe/pizzagna-root.pipe.mjs +4 -4
- package/esm2022/lib/configurator/pipe/widget-configurator-section-header.pipe.mjs +3 -3
- package/esm2022/lib/configurator/pipe/widget-editor-accordion-form-state.pipe.mjs +3 -3
- package/esm2022/lib/configurator/pipe/widget-editor-accordion-header-icon.pipe.mjs +3 -3
- package/esm2022/lib/configurator/services/configurator-data-source-manager.service.mjs +5 -5
- package/esm2022/lib/configurator/services/configurator-heading.service.mjs +3 -3
- package/esm2022/lib/configurator/services/configurator.service.mjs +11 -8
- package/esm2022/lib/configurator/services/converters/base-converter.mjs +5 -5
- package/esm2022/lib/configurator/services/converters/kpi/kpi-section-converter/kpi-section-converter.service.mjs +5 -5
- package/esm2022/lib/configurator/services/converters/kpi/kpi-tiles-converter.service.mjs +5 -5
- package/esm2022/lib/configurator/services/converters/proportional/proportional-widget-chart-options-converter.service.mjs +5 -5
- package/esm2022/lib/configurator/services/converters/public-api.mjs +2 -1
- package/esm2022/lib/configurator/services/converters/shared/generic-array-converter/generic-array-converter.service.mjs +5 -5
- package/esm2022/lib/configurator/services/converters/shared/generic-converter/generic-converter.service.mjs +5 -5
- package/esm2022/lib/configurator/services/converters/shared/title-and-description-converter/title-and-description-converter.service.mjs +5 -5
- package/esm2022/lib/configurator/services/converters/table/table-columns-converter.service.mjs +5 -5
- package/esm2022/lib/configurator/services/converters/table/table-filters-converter.service.mjs +5 -5
- package/esm2022/lib/configurator/services/converters/table/table-scroll-type-converter.service.mjs +5 -5
- package/esm2022/lib/configurator/services/converters/timeseries/timeseries-metadata-converter.service.mjs +5 -5
- package/esm2022/lib/configurator/services/converters/timeseries/timeseries-series-converter.service.mjs +5 -5
- package/esm2022/lib/configurator/services/converters/timeseries/timeseries-tile-indicator-data-converter.service.mjs +5 -5
- package/esm2022/lib/configurator/services/kpi-widget-color.service.mjs +3 -3
- package/esm2022/lib/configurator/services/preview.service.mjs +3 -3
- package/esm2022/lib/configurator/services/timeframe-serialization.service.mjs +3 -3
- package/esm2022/lib/configurator/services/types.mjs +1 -1
- package/esm2022/lib/configurator/services/widget-cloner.service.mjs +6 -5
- package/esm2022/lib/configurator/services/widget-editor.service.mjs +10 -6
- package/esm2022/lib/dashboards.module.mjs +8 -8
- package/esm2022/lib/directives/gridster-item-widget-id/gridster-item-widget-id.directive.mjs +6 -6
- package/esm2022/lib/directives/widget-editor/widget-editor.directive.mjs +6 -6
- package/esm2022/lib/functions/proportional-aggregators/types.mjs +1 -1
- package/esm2022/lib/pizzagna/components/pizzagna/pizzagna.component.mjs +6 -6
- package/esm2022/lib/pizzagna/directives/component-portal/component-portal.directive.mjs +5 -5
- package/esm2022/lib/pizzagna/pizzagna.module.mjs +4 -4
- package/esm2022/lib/pizzagna/services/component-portal.service.mjs +6 -6
- package/esm2022/lib/pizzagna/services/component-registry.service.mjs +4 -4
- package/esm2022/lib/pizzagna/services/dynamic-component-creator.service.mjs +3 -3
- package/esm2022/lib/pizzagna/services/pizzagna.service.mjs +7 -7
- package/esm2022/lib/services/category-chart-util.service.mjs +3 -3
- package/esm2022/lib/services/event-registry.service.mjs +3 -3
- package/esm2022/lib/services/kpi-color-comparators-registry.service.mjs +4 -4
- package/esm2022/lib/services/proportional-content-aggregators-registry.service.mjs +5 -5
- package/esm2022/lib/services/provider-registry.service.mjs +5 -5
- package/esm2022/lib/services/public-api.mjs +2 -1
- package/esm2022/lib/services/registry-service.mjs +5 -5
- package/esm2022/lib/services/table-formatter-registry.service.mjs +21 -21
- package/esm2022/lib/services/types.mjs +1 -1
- package/esm2022/lib/services/unit-test-registry.service.mjs +41 -0
- package/esm2022/lib/services/url-interaction.service.mjs +4 -4
- package/esm2022/lib/services/widget-configuration.service.mjs +3 -3
- package/esm2022/lib/services/widget-removal.service.mjs +4 -4
- package/esm2022/lib/services/widget-to-dashboard-event-proxy.service.mjs +5 -5
- package/esm2022/lib/services/widget-types.service.mjs +4 -4
- package/esm2022/lib/types.mjs +1 -1
- package/esm2022/lib/widget-types/common/widget/components.mjs +3 -3
- package/esm2022/lib/widget-types/drilldown/drilldown.mjs +3 -3
- package/esm2022/lib/widget-types/embedded-content/embedded-content.mjs +3 -3
- package/esm2022/lib/widget-types/kpi/kpi.mjs +3 -3
- package/esm2022/lib/widget-types/proportional/proportional.mjs +3 -3
- package/esm2022/lib/widget-types/risk-score/risk-score.mjs +3 -3
- package/esm2022/lib/widget-types/table/table-configurator.mjs +3 -3
- package/esm2022/lib/widget-types/table/table.mjs +3 -3
- package/esm2022/lib/widget-types/timeseries/timeseries.mjs +3 -3
- package/fesm2022/nova-ui-dashboards.mjs +2634 -2532
- package/fesm2022/nova-ui-dashboards.mjs.map +1 -1
- package/lib/components/dashboard/dashboard.component.d.ts +1 -1
- package/lib/components/kpi-widget/kpi.component.d.ts +1 -1
- package/lib/components/kpi-widget/types.d.ts +4 -5
- package/lib/components/list-widget/list-widget.component.d.ts +1 -1
- package/lib/components/providers/data-source-adapter.d.ts +1 -1
- package/lib/components/providers/drilldown-data-source-adapter.d.ts +2 -2
- package/lib/components/providers/interaction/url-interaction-handler.d.ts +1 -1
- package/lib/components/providers/kpi-color-prioritizer.d.ts +1 -1
- package/lib/components/providers/kpi-data-source-adapter.d.ts +1 -1
- package/lib/components/providers/kpi-scale-sync-broker.d.ts +1 -1
- package/lib/components/providers/kpi-status-content-fallback-adapter.d.ts +2 -2
- package/lib/components/providers/refresher.d.ts +1 -1
- package/lib/components/providers/status-content-fallback-adapter.d.ts +1 -1
- package/lib/components/providers/table-data-source-adapter.d.ts +1 -1
- package/lib/components/providers/timeseries-data-source-adapter.d.ts +1 -1
- package/lib/components/public-api.d.ts +1 -1
- package/lib/components/risk-score-tile/risk-score-tile.component.d.ts +1 -1
- package/lib/components/risk-score-tile/types.d.ts +3 -5
- package/lib/components/table-widget/table-widget.component.d.ts +3 -1
- package/lib/components/table-widget/types.d.ts +1 -1
- package/lib/components/template-load-error/public-api.d.ts +1 -0
- package/lib/components/timeseries-widget/timeseries-widget.component.d.ts +1 -1
- package/lib/components/widget/widget-header/widget-header.component.d.ts +1 -1
- package/lib/components/widget/widget.component.d.ts +1 -1
- package/lib/configurator/components/color-picker/color-picker.component.d.ts +2 -2
- package/lib/configurator/components/widget-cloner/widget-cloner.component.d.ts +6 -3
- package/lib/configurator/components/widget-editor/widget-editor.component.d.ts +1 -1
- package/lib/configurator/components/widgets/table/scrollType-editor/scroll-type-editor.component.d.ts +1 -1
- package/lib/configurator/components/wizard/dashwiz/dashwiz.component.d.ts +4 -1
- package/lib/configurator/pipe/add-data.pipe.d.ts +1 -1
- package/lib/configurator/services/configurator.service.d.ts +1 -1
- package/lib/configurator/services/converters/public-api.d.ts +1 -0
- package/lib/configurator/services/converters/shared/title-and-description-converter/title-and-description-converter.service.d.ts +1 -1
- package/lib/configurator/services/widget-editor.service.d.ts +2 -1
- package/lib/functions/proportional-aggregators/types.d.ts +1 -2
- package/lib/pizzagna/services/component-portal.service.d.ts +1 -1
- package/lib/pizzagna/services/pizzagna.service.d.ts +1 -1
- package/lib/services/proportional-content-aggregators-registry.service.d.ts +1 -1
- package/lib/services/public-api.d.ts +1 -0
- package/lib/services/registry-service.d.ts +1 -1
- package/lib/services/table-formatter-registry.service.d.ts +1 -1
- package/lib/services/types.d.ts +1 -2
- package/lib/services/unit-test-registry.service.d.ts +10 -0
- package/lib/types.d.ts +5 -10
- package/lib/widget-types/common/widget/components.d.ts +1 -1
- package/package.json +3 -3
- package/sdk/atoms/spec/configurator/accordion.atom.js +4 -5
- package/sdk/atoms/spec/configurator/accordion.atom.js.map +1 -1
- package/sdk/atoms/spec/configurator/configurator-section.atom.js +13 -14
- package/sdk/atoms/spec/configurator/configurator-section.atom.js.map +1 -1
- package/sdk/atoms/spec/configurator/configurator.atom.js +19 -24
- package/sdk/atoms/spec/configurator/configurator.atom.js.map +1 -1
- package/sdk/atoms/spec/configurator/dashboard-wizard.atom.js +5 -6
- package/sdk/atoms/spec/configurator/dashboard-wizard.atom.js.map +1 -1
- package/sdk/atoms/spec/dashboard.atom.js +14 -15
- package/sdk/atoms/spec/dashboard.atom.js.map +1 -1
- package/sdk/atoms/spec/drilldown.atom.js +3 -6
- package/sdk/atoms/spec/drilldown.atom.js.map +1 -1
- package/sdk/atoms/spec/proportional-widget.atom.js +1 -1
- package/sdk/atoms/spec/proportional-widget.atom.js.map +1 -1
- package/sdk/atoms/spec/test.po.js +22 -42
- package/sdk/atoms/spec/test.po.js.map +1 -1
- package/sdk/atoms/spec/timeseries/legend-series.atom.js +30 -39
- package/sdk/atoms/spec/timeseries/legend-series.atom.js.map +1 -1
- package/sdk/atoms/spec/timeseries/timeseries.atom.js +10 -15
- package/sdk/atoms/spec/timeseries/timeseries.atom.js.map +1 -1
- package/sdk/atoms/spec/virtual-dashboards/drilldown-widget-test/drilldown-widget-test.component.js +30 -33
- package/sdk/atoms/spec/virtual-dashboards/drilldown-widget-test/drilldown-widget-test.component.js.map +1 -1
- package/sdk/atoms/spec/virtual-dashboards/drilldown-widget-test/drilldown-widget-test.component.spec.js +24 -25
- package/sdk/atoms/spec/virtual-dashboards/drilldown-widget-test/drilldown-widget-test.component.spec.js.map +1 -1
- package/sdk/atoms/spec/widget-header.atom.js +3 -6
- package/sdk/atoms/spec/widget-header.atom.js.map +1 -1
- package/sdk/atoms/spec/widget.atom.js +1 -1
- package/sdk/atoms/spec/widget.atom.js.map +1 -1
- package/sdk/atoms/src/lib/common/common.module.js +2 -1
- package/sdk/atoms/src/lib/common/common.module.js.map +1 -1
- package/sdk/atoms/src/lib/common/components/preview-overlay/preview-overlay.component.js +3 -2
- 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 +3 -2
- 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 +3 -2
- package/sdk/atoms/src/lib/common/pipes/dashboard-unit-conversion-pipe.js.map +1 -1
- package/sdk/atoms/src/lib/components/dashboard/dashboard.component.d.ts +1 -1
- package/sdk/atoms/src/lib/components/dashboard/dashboard.component.js +13 -16
- 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 +4 -4
- 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.d.ts +1 -1
- package/sdk/atoms/src/lib/components/kpi-widget/kpi.component.js +12 -15
- package/sdk/atoms/src/lib/components/kpi-widget/kpi.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/kpi-widget/types.d.ts +4 -5
- package/sdk/atoms/src/lib/components/layouts/base-layout.js +3 -2
- package/sdk/atoms/src/lib/components/layouts/base-layout.js.map +1 -1
- package/sdk/atoms/src/lib/components/layouts/stack/stack.component.js +3 -2
- 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 +5 -6
- 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 +3 -2
- 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 +4 -4
- 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 +4 -4
- 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.d.ts +1 -1
- package/sdk/atoms/src/lib/components/list-widget/list-widget.component.js +13 -8
- 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 +3 -2
- 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 +24 -18
- 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 +28 -31
- 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.d.ts +1 -1
- package/sdk/atoms/src/lib/components/providers/data-source-adapter.js +7 -7
- 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.d.ts +2 -2
- package/sdk/atoms/src/lib/components/providers/drilldown-data-source-adapter.js +4 -4
- package/sdk/atoms/src/lib/components/providers/drilldown-data-source-adapter.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/event-bus-debugger.js +2 -1
- package/sdk/atoms/src/lib/components/providers/event-bus-debugger.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/interaction/interaction-handler.js +5 -5
- 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.d.ts +1 -1
- package/sdk/atoms/src/lib/components/providers/interaction/url-interaction-handler.js +4 -4
- 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.d.ts +1 -1
- package/sdk/atoms/src/lib/components/providers/kpi-color-prioritizer.js +8 -10
- 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.d.ts +1 -1
- package/sdk/atoms/src/lib/components/providers/kpi-data-source-adapter.js +13 -7
- 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.d.ts +1 -1
- package/sdk/atoms/src/lib/components/providers/kpi-scale-sync-broker.js +14 -8
- 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.d.ts +2 -2
- package/sdk/atoms/src/lib/components/providers/kpi-status-content-fallback-adapter.js +6 -7
- 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 +4 -3
- package/sdk/atoms/src/lib/components/providers/loading-adapter.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/pizzagna-broadcaster.service.js +4 -3
- package/sdk/atoms/src/lib/components/providers/pizzagna-broadcaster.service.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/refresher-settings.service.js +2 -1
- package/sdk/atoms/src/lib/components/providers/refresher-settings.service.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/refresher.d.ts +1 -1
- package/sdk/atoms/src/lib/components/providers/refresher.js +12 -12
- package/sdk/atoms/src/lib/components/providers/refresher.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/status-content-fallback-adapter.d.ts +1 -1
- package/sdk/atoms/src/lib/components/providers/status-content-fallback-adapter.js +4 -4
- package/sdk/atoms/src/lib/components/providers/status-content-fallback-adapter.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/table-data-source-adapter.d.ts +1 -1
- package/sdk/atoms/src/lib/components/providers/table-data-source-adapter.js +6 -6
- package/sdk/atoms/src/lib/components/providers/table-data-source-adapter.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/timeseries-data-source-adapter.d.ts +1 -1
- package/sdk/atoms/src/lib/components/providers/timeseries-data-source-adapter.js +15 -14
- package/sdk/atoms/src/lib/components/providers/timeseries-data-source-adapter.js.map +1 -1
- package/sdk/atoms/src/lib/components/public-api.d.ts +1 -1
- package/sdk/atoms/src/lib/components/public-api.js +1 -1
- package/sdk/atoms/src/lib/components/public-api.js.map +1 -1
- package/sdk/atoms/src/lib/components/risk-score-tile/risk-score-tile.component.d.ts +1 -1
- package/sdk/atoms/src/lib/components/risk-score-tile/risk-score-tile.component.js +8 -10
- package/sdk/atoms/src/lib/components/risk-score-tile/risk-score-tile.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/risk-score-tile/types.d.ts +3 -5
- package/sdk/atoms/src/lib/components/table-widget/addons/paginator-feature-addon.service.js +16 -14
- 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 +10 -12
- 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 +7 -10
- package/sdk/atoms/src/lib/components/table-widget/addons/virtual-scroll-feature-addon.service.js.map +1 -1
- package/sdk/atoms/src/lib/components/table-widget/delayed-mouse-presence-detection.directive.js +2 -1
- 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.d.ts +3 -1
- package/sdk/atoms/src/lib/components/table-widget/table-widget.component.js +81 -74
- package/sdk/atoms/src/lib/components/table-widget/table-widget.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/table-widget/types.d.ts +1 -1
- package/sdk/atoms/src/lib/components/table-widget/types.js.map +1 -1
- package/sdk/atoms/src/lib/components/template-load-error/public-api.d.ts +1 -0
- package/sdk/atoms/src/lib/components/template-load-error/public-api.js +24 -0
- package/sdk/atoms/src/lib/components/template-load-error/public-api.js.map +1 -0
- package/sdk/atoms/src/lib/components/template-load-error/template-load-error.component.js +3 -2
- 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 +3 -2
- 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 +8 -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 +34 -27
- 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 +23 -24
- 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 +3 -2
- 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 +4 -4
- 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 +4 -4
- 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 +3 -2
- 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 +31 -22
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/xy-chart.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-chart-preset.service.js +2 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-chart-preset.service.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-helpers.js +2 -2
- 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 +9 -11
- 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 +13 -16
- 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.d.ts +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-widget.component.js +13 -16
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-widget.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-change-point.js +4 -5
- 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-percentile-std.js +2 -4
- 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 +2 -3
- package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-standardize.js.map +1 -1
- package/sdk/atoms/src/lib/components/widget/widget-body/widget-body.component.js +3 -2
- 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 +3 -2
- 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.d.ts +1 -1
- package/sdk/atoms/src/lib/components/widget/widget-header/widget-header.component.js +3 -2
- 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.d.ts +1 -1
- package/sdk/atoms/src/lib/components/widget/widget.component.js +7 -4
- 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 +11 -13
- 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.d.ts +2 -2
- package/sdk/atoms/src/lib/configurator/components/color-picker/color-picker.component.js +7 -9
- package/sdk/atoms/src/lib/configurator/components/color-picker/color-picker.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/color-picker/color.service.js +2 -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 +3 -2
- package/sdk/atoms/src/lib/configurator/components/configurator/configurator.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/drop-area/drop-area.component.js +2 -1
- 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 +3 -2
- 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 +3 -2
- 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 +5 -6
- 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 +3 -2
- 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 +3 -2
- 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 +5 -5
- 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 +3 -2
- 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 +3 -2
- 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 +3 -2
- 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 +8 -7
- 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 +3 -2
- 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 +7 -9
- package/sdk/atoms/src/lib/configurator/components/formatters/widget-formatter-configurators/donut-formatter-configurator.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/heading/configurator-heading.component.js +2 -1
- 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 +8 -5
- 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 +3 -2
- 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.d.ts +6 -3
- package/sdk/atoms/src/lib/configurator/components/widget-cloner/widget-cloner.component.js +36 -13
- package/sdk/atoms/src/lib/configurator/components/widget-cloner/widget-cloner.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widget-configurator-section/widget-configurator-section-coordinator.service.js +2 -1
- package/sdk/atoms/src/lib/configurator/components/widget-configurator-section/widget-configurator-section-coordinator.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widget-configurator-section/widget-configurator-section.component.js +3 -2
- 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.d.ts +1 -1
- package/sdk/atoms/src/lib/configurator/components/widget-editor/widget-editor.component.js +20 -11
- package/sdk/atoms/src/lib/configurator/components/widget-editor/widget-editor.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widget-editor-accordion/widget-editor-accordion-header/widget-editor-accordion-header.component.js +2 -1
- package/sdk/atoms/src/lib/configurator/components/widget-editor-accordion/widget-editor-accordion-header/widget-editor-accordion-header.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widget-editor-accordion/widget-editor-accordion.component.js +2 -1
- 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 +15 -20
- 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 +5 -5
- 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 +24 -28
- 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 +11 -7
- 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 +3 -2
- 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 +23 -21
- 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 +3 -2
- 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 +11 -11
- 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 +6 -7
- 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/refresher-configuration.component.js +14 -15
- 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 +9 -9
- 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 +6 -7
- 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 +2 -2
- 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 +19 -15
- 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 +8 -8
- 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 +3 -2
- 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 +8 -8
- 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 +3 -2
- 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 +6 -5
- 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 +9 -7
- 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 +17 -17
- 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 +8 -8
- 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 +34 -23
- 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 +3 -2
- 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 +7 -8
- 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 +4 -5
- 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 +3 -2
- 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 +3 -2
- 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 +21 -26
- 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 +27 -29
- 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 +7 -8
- 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 +29 -37
- 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 +12 -9
- 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 +14 -19
- 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 +24 -22
- 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.d.ts +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/scrollType-editor/scroll-type-editor.component.js +31 -31
- package/sdk/atoms/src/lib/configurator/components/widgets/table/scrollType-editor/scroll-type-editor.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/scrollType-editor/scroll-type-editor.service.js +3 -3
- package/sdk/atoms/src/lib/configurator/components/widgets/table/scrollType-editor/scroll-type-editor.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/timeseries/timeseries-series-collection-configuration/timeseries-series-collection-configuration.component.js +3 -2
- 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 +3 -2
- 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 +3 -2
- 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 +3 -2
- 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.d.ts +4 -1
- package/sdk/atoms/src/lib/configurator/components/wizard/dashwiz/dashwiz.component.js +18 -8
- package/sdk/atoms/src/lib/configurator/components/wizard/dashwiz/dashwiz.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/wizard/dashwiz/dashwiz.service.js +2 -1
- package/sdk/atoms/src/lib/configurator/components/wizard/dashwiz/dashwiz.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/wizard/dashwiz-step/dashwiz-step.component.js +2 -1
- 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 +12 -11
- package/sdk/atoms/src/lib/configurator/configurator.module.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/pipe/add-data.pipe.d.ts +1 -1
- package/sdk/atoms/src/lib/configurator/pipe/add-data.pipe.js +2 -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 +4 -4
- package/sdk/atoms/src/lib/configurator/pipe/pizzagna-root.pipe.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/pipe/widget-configurator-section-header.pipe.js +2 -1
- package/sdk/atoms/src/lib/configurator/pipe/widget-configurator-section-header.pipe.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/pipe/widget-editor-accordion-form-state.pipe.js +2 -1
- 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 +4 -2
- 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 +8 -8
- package/sdk/atoms/src/lib/configurator/services/configurator-data-source-manager.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/configurator-heading.service.js +2 -1
- package/sdk/atoms/src/lib/configurator/services/configurator-heading.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/configurator.service.d.ts +1 -1
- package/sdk/atoms/src/lib/configurator/services/configurator.service.js +15 -6
- package/sdk/atoms/src/lib/configurator/services/configurator.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/base-converter.js +2 -1
- package/sdk/atoms/src/lib/configurator/services/converters/base-converter.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/kpi/kpi-section-converter/kpi-section-converter.service.js +3 -2
- 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 +9 -9
- package/sdk/atoms/src/lib/configurator/services/converters/kpi/kpi-tiles-converter.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/proportional/proportional-widget-chart-options-converter.service.js +9 -8
- package/sdk/atoms/src/lib/configurator/services/converters/proportional/proportional-widget-chart-options-converter.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/public-api.d.ts +1 -0
- package/sdk/atoms/src/lib/configurator/services/converters/public-api.js +1 -0
- package/sdk/atoms/src/lib/configurator/services/converters/public-api.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/shared/generic-array-converter/generic-array-converter.service.js +4 -3
- package/sdk/atoms/src/lib/configurator/services/converters/shared/generic-array-converter/generic-array-converter.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/shared/generic-converter/generic-converter.service.js +3 -2
- package/sdk/atoms/src/lib/configurator/services/converters/shared/generic-converter/generic-converter.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/shared/title-and-description-converter/title-and-description-converter.service.d.ts +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/shared/title-and-description-converter/title-and-description-converter.service.js +10 -9
- package/sdk/atoms/src/lib/configurator/services/converters/shared/title-and-description-converter/title-and-description-converter.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/table/table-columns-converter.service.js +22 -23
- package/sdk/atoms/src/lib/configurator/services/converters/table/table-columns-converter.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/table/table-filters-converter.service.js +5 -5
- package/sdk/atoms/src/lib/configurator/services/converters/table/table-filters-converter.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/table/table-scroll-type-converter.service.js +6 -6
- package/sdk/atoms/src/lib/configurator/services/converters/table/table-scroll-type-converter.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/timeseries/timeseries-metadata-converter.service.js +2 -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 +9 -6
- 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 +6 -2
- package/sdk/atoms/src/lib/configurator/services/converters/timeseries/timeseries-tile-indicator-data-converter.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/kpi-widget-color.service.js +2 -1
- package/sdk/atoms/src/lib/configurator/services/kpi-widget-color.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/preview.service.js +2 -1
- package/sdk/atoms/src/lib/configurator/services/preview.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/timeframe-serialization.service.js +2 -1
- package/sdk/atoms/src/lib/configurator/services/timeframe-serialization.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/widget-cloner.service.js +3 -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.d.ts +2 -1
- package/sdk/atoms/src/lib/configurator/services/widget-editor.service.js +8 -4
- package/sdk/atoms/src/lib/configurator/services/widget-editor.service.js.map +1 -1
- package/sdk/atoms/src/lib/dashboards.module.js +4 -3
- package/sdk/atoms/src/lib/dashboards.module.js.map +1 -1
- package/sdk/atoms/src/lib/directives/gridster-item-widget-id/gridster-item-widget-id.directive.js +2 -1
- package/sdk/atoms/src/lib/directives/gridster-item-widget-id/gridster-item-widget-id.directive.js.map +1 -1
- package/sdk/atoms/src/lib/directives/widget-editor/widget-editor.directive.js +2 -1
- 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 -1
- package/sdk/atoms/src/lib/functions/get-parent-component-id.js.map +1 -1
- package/sdk/atoms/src/lib/functions/proportional-aggregators/field-mapper.js +4 -4
- 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 +1 -2
- package/sdk/atoms/src/lib/functions/proportional-aggregators/percentage-aggregator.js.map +1 -1
- package/sdk/atoms/src/lib/functions/proportional-aggregators/types.d.ts +1 -2
- 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/pizzagna/components/pizzagna/pizzagna.component.js +2 -1
- 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 +15 -6
- package/sdk/atoms/src/lib/pizzagna/directives/component-portal/component-portal.directive.js.map +1 -1
- package/sdk/atoms/src/lib/pizzagna/pizzagna.module.js +2 -1
- package/sdk/atoms/src/lib/pizzagna/pizzagna.module.js.map +1 -1
- package/sdk/atoms/src/lib/pizzagna/services/component-portal.service.d.ts +1 -1
- package/sdk/atoms/src/lib/pizzagna/services/component-portal.service.js +3 -2
- package/sdk/atoms/src/lib/pizzagna/services/component-portal.service.js.map +1 -1
- package/sdk/atoms/src/lib/pizzagna/services/component-registry.service.js +2 -1
- package/sdk/atoms/src/lib/pizzagna/services/component-registry.service.js.map +1 -1
- package/sdk/atoms/src/lib/pizzagna/services/dynamic-component-creator.service.js +8 -4
- package/sdk/atoms/src/lib/pizzagna/services/dynamic-component-creator.service.js.map +1 -1
- package/sdk/atoms/src/lib/pizzagna/services/pizzagna.service.d.ts +1 -1
- package/sdk/atoms/src/lib/pizzagna/services/pizzagna.service.js +5 -5
- package/sdk/atoms/src/lib/pizzagna/services/pizzagna.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/category-chart-util.service.js +9 -5
- package/sdk/atoms/src/lib/services/category-chart-util.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/event-registry.service.js +2 -1
- package/sdk/atoms/src/lib/services/event-registry.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/kpi-color-comparators-registry.service.js +7 -3
- package/sdk/atoms/src/lib/services/kpi-color-comparators-registry.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/proportional-content-aggregators-registry.service.d.ts +1 -1
- package/sdk/atoms/src/lib/services/proportional-content-aggregators-registry.service.js +2 -1
- package/sdk/atoms/src/lib/services/proportional-content-aggregators-registry.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/provider-registry.service.js +2 -1
- package/sdk/atoms/src/lib/services/provider-registry.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/public-api.d.ts +1 -0
- package/sdk/atoms/src/lib/services/public-api.js +1 -0
- package/sdk/atoms/src/lib/services/public-api.js.map +1 -1
- package/sdk/atoms/src/lib/services/registry-service.d.ts +1 -1
- package/sdk/atoms/src/lib/services/registry-service.js +3 -2
- package/sdk/atoms/src/lib/services/registry-service.js.map +1 -1
- package/sdk/atoms/src/lib/services/table-formatter-registry.service.d.ts +1 -1
- package/sdk/atoms/src/lib/services/table-formatter-registry.service.js +10 -5
- package/sdk/atoms/src/lib/services/table-formatter-registry.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/types.d.ts +1 -2
- package/sdk/atoms/src/lib/services/types.js.map +1 -1
- package/sdk/atoms/src/lib/services/unit-test-registry.service.js +3 -2
- package/sdk/atoms/src/lib/services/unit-test-registry.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/url-interaction.service.js +3 -3
- package/sdk/atoms/src/lib/services/url-interaction.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/widget-configuration.service.js +2 -1
- package/sdk/atoms/src/lib/services/widget-configuration.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/widget-removal.service.js +2 -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 +3 -2
- 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 +7 -4
- package/sdk/atoms/src/lib/services/widget-types.service.js.map +1 -1
- package/sdk/atoms/src/lib/types.d.ts +5 -10
- package/sdk/atoms/src/lib/types.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/common/widget/components.d.ts +1 -1
- package/sdk/atoms/src/lib/widget-types/common/widget/components.js +22 -19
- package/sdk/atoms/src/lib/widget-types/common/widget/components.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/drilldown/drilldown-widget.js +24 -9
- package/sdk/atoms/src/lib/widget-types/drilldown/drilldown-widget.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/drilldown/drilldown.js +2 -2
- package/sdk/atoms/src/lib/widget-types/drilldown/drilldown.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/embedded-content/embedded-content-widget.js +15 -6
- package/sdk/atoms/src/lib/widget-types/embedded-content/embedded-content-widget.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/embedded-content/embedded-content.js +2 -2
- package/sdk/atoms/src/lib/widget-types/embedded-content/embedded-content.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/kpi/kpi-widget.js +21 -6
- package/sdk/atoms/src/lib/widget-types/kpi/kpi-widget.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/kpi/kpi.js +2 -2
- package/sdk/atoms/src/lib/widget-types/kpi/kpi.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/proportional/proportional-widget.js +16 -6
- package/sdk/atoms/src/lib/widget-types/proportional/proportional-widget.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/proportional/proportional.js +2 -2
- package/sdk/atoms/src/lib/widget-types/proportional/proportional.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/risk-score/risk-score-widget.js +21 -6
- package/sdk/atoms/src/lib/widget-types/risk-score/risk-score-widget.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/risk-score/risk-score.js +2 -2
- package/sdk/atoms/src/lib/widget-types/risk-score/risk-score.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/table/table-configurator.js +2 -2
- package/sdk/atoms/src/lib/widget-types/table/table-configurator.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/table/table-widget.js +16 -6
- package/sdk/atoms/src/lib/widget-types/table/table-widget.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/table/table.js +2 -2
- package/sdk/atoms/src/lib/widget-types/table/table.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/timeseries/timeseries-widget.js +19 -8
- package/sdk/atoms/src/lib/widget-types/timeseries/timeseries-widget.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/timeseries/timeseries.js +2 -2
- package/sdk/atoms/src/lib/widget-types/timeseries/timeseries.js.map +1 -1
- package/sdk/locale/messages.en.xlf +22 -22
- package/sdk/schematics/ng-add/index.js +2 -1
- package/sdk/schematics/ng-add/index.js.map +1 -1
- package/sdk/schematics/ng-add/index.spec.js +25 -30
- package/sdk/schematics/ng-add/index.spec.js.map +1 -1
|
@@ -29,7 +29,8 @@ const operators_1 = require("rxjs/operators");
|
|
|
29
29
|
const table_formatter_registry_service_1 = require("../../../../../../../services/table-formatter-registry.service");
|
|
30
30
|
const types_1 = require("../../../../../../../types");
|
|
31
31
|
const configurator_heading_service_1 = require("../../../../../../services/configurator-heading.service");
|
|
32
|
-
let PresentationConfigurationComponent =
|
|
32
|
+
let PresentationConfigurationComponent = class PresentationConfigurationComponent {
|
|
33
|
+
static { this.lateLoadKey = "PresentationConfigurationComponent"; }
|
|
33
34
|
set formatters(formatters) {
|
|
34
35
|
// Note: As discussed we will ignore the config formatters if
|
|
35
36
|
// the user already provided formatters via registry
|
|
@@ -70,7 +71,6 @@ let PresentationConfigurationComponent = exports.PresentationConfigurationCompon
|
|
|
70
71
|
this.subscribeToFormattersRegistry();
|
|
71
72
|
}
|
|
72
73
|
ngOnInit() {
|
|
73
|
-
var _a;
|
|
74
74
|
this.formatterForm = this.formBuilder.group({
|
|
75
75
|
componentType: [
|
|
76
76
|
(this.formatter && this.formatter.componentType) ||
|
|
@@ -83,8 +83,10 @@ let PresentationConfigurationComponent = exports.PresentationConfigurationCompon
|
|
|
83
83
|
this.form = this.formBuilder.group({
|
|
84
84
|
[this.formatterFormGroupName]: this.formatterForm,
|
|
85
85
|
});
|
|
86
|
-
|
|
87
|
-
.get("componentType")
|
|
86
|
+
this.formatterForm
|
|
87
|
+
.get("componentType")
|
|
88
|
+
?.valueChanges.pipe((0, operators_1.takeUntil)(this.onDestroy$))
|
|
89
|
+
.subscribe(() => this.createFormatterConfigurator());
|
|
88
90
|
this.createFormatterConfigurator();
|
|
89
91
|
this.formReady.emit(this.form);
|
|
90
92
|
this.formatterForm.valueChanges
|
|
@@ -96,7 +98,6 @@ let PresentationConfigurationComponent = exports.PresentationConfigurationCompon
|
|
|
96
98
|
}
|
|
97
99
|
ngAfterViewInit() { }
|
|
98
100
|
ngOnChanges(changes) {
|
|
99
|
-
var _a;
|
|
100
101
|
if (changes.dataFieldIds) {
|
|
101
102
|
const { currentValue, previousValue } = changes.dataFieldIds;
|
|
102
103
|
if (currentValue && currentValue !== previousValue) {
|
|
@@ -109,7 +110,7 @@ let PresentationConfigurationComponent = exports.PresentationConfigurationCompon
|
|
|
109
110
|
}
|
|
110
111
|
}
|
|
111
112
|
if (changes.formatter) {
|
|
112
|
-
|
|
113
|
+
this.form?.patchValue({
|
|
113
114
|
[this.formatterFormGroupName]: changes.formatter.currentValue,
|
|
114
115
|
}, { emitEvent: false });
|
|
115
116
|
this.updateSubtitle();
|
|
@@ -121,21 +122,19 @@ let PresentationConfigurationComponent = exports.PresentationConfigurationCompon
|
|
|
121
122
|
}
|
|
122
123
|
}
|
|
123
124
|
getSelectedFormatterDefinition() {
|
|
124
|
-
var _a, _b;
|
|
125
125
|
if (this._providedFormatters.length > 0) {
|
|
126
|
-
const formatterId =
|
|
127
|
-
return (
|
|
126
|
+
const formatterId = this.formatterForm.get("componentType")?.value;
|
|
127
|
+
return (this._providedFormatters.find((formatter) => formatter.componentType === formatterId) ?? null);
|
|
128
128
|
}
|
|
129
129
|
return null;
|
|
130
130
|
}
|
|
131
131
|
getSelectedDataField() {
|
|
132
|
-
var _a, _b;
|
|
133
132
|
const propertiesControl = this.formatterForm.controls["properties"];
|
|
134
133
|
if (propertiesControl &&
|
|
135
134
|
this.dataFields &&
|
|
136
135
|
this.dataFields.length > 0) {
|
|
137
|
-
const dataFieldId =
|
|
138
|
-
return (
|
|
136
|
+
const dataFieldId = propertiesControl.get("dataFieldIds")?.value.value;
|
|
137
|
+
return (this.dataFields.find((dataField) => dataField.id === dataFieldId) ?? null);
|
|
139
138
|
}
|
|
140
139
|
return null;
|
|
141
140
|
}
|
|
@@ -143,10 +142,9 @@ let PresentationConfigurationComponent = exports.PresentationConfigurationCompon
|
|
|
143
142
|
this.form.get(this.formatterFormGroupName).setControl("properties", form);
|
|
144
143
|
}
|
|
145
144
|
updateSubtitle() {
|
|
146
|
-
|
|
147
|
-
this.subtitleText = `${(_a = this.getSelectedFormatterDefinition()) === null || _a === void 0 ? void 0 : _a.label}`;
|
|
145
|
+
this.subtitleText = `${this.getSelectedFormatterDefinition()?.label}`;
|
|
148
146
|
if (this.getSelectedDataField()) {
|
|
149
|
-
this.subtitleText = this.subtitleText.concat(`, ${
|
|
147
|
+
this.subtitleText = this.subtitleText.concat(`, ${this.getSelectedDataField()?.label}`);
|
|
150
148
|
}
|
|
151
149
|
}
|
|
152
150
|
/**
|
|
@@ -154,25 +152,22 @@ let PresentationConfigurationComponent = exports.PresentationConfigurationCompon
|
|
|
154
152
|
* @returns ComponentPortal
|
|
155
153
|
*/
|
|
156
154
|
createFormatterConfigurator() {
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
var _a;
|
|
160
|
-
return formatter.componentType ===
|
|
161
|
-
((_a = this.formatterForm.get("componentType")) === null || _a === void 0 ? void 0 : _a.value);
|
|
162
|
-
});
|
|
155
|
+
const formatterDefinition = this._providedFormatters.find((formatter) => formatter.componentType ===
|
|
156
|
+
this.formatterForm.get("componentType")?.value);
|
|
163
157
|
// if configurationComponent property is present in formatters configuration, use it to render portal,
|
|
164
158
|
// otherwise, use default ValueSelectorComponent
|
|
165
159
|
if (formatterDefinition) {
|
|
166
160
|
this.formatterConfigurator =
|
|
167
|
-
|
|
161
|
+
formatterDefinition.configurationComponent ??
|
|
162
|
+
"ValueSelectorComponent";
|
|
168
163
|
}
|
|
169
164
|
else {
|
|
170
165
|
this.formatterConfigurator = null;
|
|
171
166
|
}
|
|
172
167
|
// if the currently selected component doesn't match the original value from the input then we reset the form values
|
|
173
|
-
if (
|
|
174
|
-
|
|
175
|
-
|
|
168
|
+
if (formatterDefinition?.componentType !==
|
|
169
|
+
this.formatter?.componentType &&
|
|
170
|
+
this.formatter?.properties?.dataFieldIds) {
|
|
176
171
|
this.formatter.properties.dataFieldIds = { value: null };
|
|
177
172
|
}
|
|
178
173
|
this.formatterConfiguratorProps = {
|
|
@@ -226,7 +221,7 @@ let PresentationConfigurationComponent = exports.PresentationConfigurationCompon
|
|
|
226
221
|
this.onDestroy$.complete();
|
|
227
222
|
}
|
|
228
223
|
};
|
|
229
|
-
PresentationConfigurationComponent
|
|
224
|
+
exports.PresentationConfigurationComponent = PresentationConfigurationComponent;
|
|
230
225
|
tslib_1.__decorate([
|
|
231
226
|
(0, core_1.Input)(),
|
|
232
227
|
tslib_1.__metadata("design:type", Object)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"presentation-configuration.component.js","sourceRoot":"","sources":["../../../../../../../../../../../../src/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/presentation-configuration.component.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,EAAE;AACF,+EAA+E;AAC/E,4EAA4E;AAC5E,8EAA8E;AAC9E,+EAA+E;AAC/E,8EAA8E;AAC9E,4DAA4D;AAC5D,EAAE;AACF,6EAA6E;AAC7E,uDAAuD;AACvD,EAAE;AACF,6EAA6E;AAC7E,4EAA4E;AAC5E,+EAA+E;AAC/E,0EAA0E;AAC1E,iFAAiF;AACjF,6EAA6E;AAC7E,iBAAiB;;;;AAEjB,wCAcuB;AACvB,0CAMwB;AACxB,2EAA2C;AAC3C,+BAA+B;AAC/B,8CAAgD;AAShD,qHAGwE;AACxE,sDAGoC;AACpC,0GAAqG;AAW9F,IAAM,kCAAkC,
|
|
1
|
+
{"version":3,"file":"presentation-configuration.component.js","sourceRoot":"","sources":["../../../../../../../../../../../../src/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/presentation-configuration.component.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,EAAE;AACF,+EAA+E;AAC/E,4EAA4E;AAC5E,8EAA8E;AAC9E,+EAA+E;AAC/E,8EAA8E;AAC9E,4DAA4D;AAC5D,EAAE;AACF,6EAA6E;AAC7E,uDAAuD;AACvD,EAAE;AACF,6EAA6E;AAC7E,4EAA4E;AAC5E,+EAA+E;AAC/E,0EAA0E;AAC1E,iFAAiF;AACjF,6EAA6E;AAC7E,iBAAiB;;;;AAEjB,wCAcuB;AACvB,0CAMwB;AACxB,2EAA2C;AAC3C,+BAA+B;AAC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6CAvCzB,kCAAkC;IAT9C,IAAA,gBAAS,EAAC;QACP,QAAQ,EAAE,6CAA6C;QACvD,WAAW,EAAE,6CAA6C;QAC1D,SAAS,EAAE,CAAC,6CAA6C,CAAC;QAC1D,aAAa,EAAE;YACX,EAAE,OAAO,EAAE,wBAAgB,EAAE,WAAW,EAAE,0BAAkB,EAAE;SACjE;QACD,eAAe,EAAE,8BAAuB,CAAC,MAAM;KAClD,CAAC;IAuDO,mBAAA,IAAA,eAAQ,GAAE,CAAA;IACV,mBAAA,IAAA,aAAM,EAAC,2BAAmB,CAAC,CAAA;6CAJP,mBAAW;QACT,wBAAiB;QACZ,yDAA0B;QAGpB,2DAAwB;QAKlB,gEAA6B;GA7DhE,kCAAkC,CAmR9C"}
|
|
@@ -33,7 +33,8 @@ const pizzagna_service_1 = require("../../../../../pizzagna/services/pizzagna.se
|
|
|
33
33
|
const types_1 = require("../../../../../services/types");
|
|
34
34
|
const types_2 = require("../../../../../types");
|
|
35
35
|
const types_3 = require("../../../../types");
|
|
36
|
-
let TableColumnsConfigurationComponent =
|
|
36
|
+
let TableColumnsConfigurationComponent = class TableColumnsConfigurationComponent {
|
|
37
|
+
static { this.lateLoadKey = "TableColumnsConfigurationComponent"; }
|
|
37
38
|
constructor(formBuilder, changeDetector, dialogService, pizzagnaService, eventBus) {
|
|
38
39
|
this.formBuilder = formBuilder;
|
|
39
40
|
this.changeDetector = changeDetector;
|
|
@@ -56,7 +57,6 @@ let TableColumnsConfigurationComponent = exports.TableColumnsConfigurationCompon
|
|
|
56
57
|
this.dataSource = event.payload;
|
|
57
58
|
});
|
|
58
59
|
this.eventBus.subscribeUntil(types_3.DATA_SOURCE_OUTPUT, this.onDestroy$, (event) => {
|
|
59
|
-
var _a;
|
|
60
60
|
// Because typing is lenient for the data source output, the event may or may not contain an IDataSourceOutput
|
|
61
61
|
// with a result property; the payload may actually be the result itself, so both possibilities are accommodated.
|
|
62
62
|
const { dataFields } = (0, isUndefined_1.default)(event.payload.result)
|
|
@@ -65,8 +65,8 @@ let TableColumnsConfigurationComponent = exports.TableColumnsConfigurationCompon
|
|
|
65
65
|
if (dataFields) {
|
|
66
66
|
let formPizzagna = this.pizzagnaService.pizzagna;
|
|
67
67
|
formPizzagna = (0, bits_1.immutableSet)(formPizzagna, `${types_2.PizzagnaLayer.Data}.columns.properties.dataFields`, dataFields);
|
|
68
|
-
const columnsTemplate =
|
|
69
|
-
.columns.properties
|
|
68
|
+
const columnsTemplate = this.pizzagnaService.pizzagna[types_2.PizzagnaLayer.Structure]
|
|
69
|
+
.columns.properties?.template;
|
|
70
70
|
const presentationIndex = columnsTemplate.findIndex((val) => val.id === "presentation");
|
|
71
71
|
// eslint-disable-next-line max-len
|
|
72
72
|
const presentationPizzagnaPath = `${types_2.PizzagnaLayer.Structure}.columns.properties.template[${presentationIndex}].properties.dataFields`;
|
|
@@ -86,13 +86,12 @@ let TableColumnsConfigurationComponent = exports.TableColumnsConfigurationCompon
|
|
|
86
86
|
}
|
|
87
87
|
ngOnInit() { }
|
|
88
88
|
ngOnChanges(changes) {
|
|
89
|
-
var _a, _b, _c;
|
|
90
89
|
if (changes.dataFields && changes.dataFields.currentValue) {
|
|
91
90
|
// hackfix for NUI-5712
|
|
92
91
|
this.lastValidDataFields = changes.dataFields.currentValue;
|
|
93
|
-
const disableColumnGeneration =
|
|
92
|
+
const disableColumnGeneration = this.dataSource?.features?.getFeatureConfig(types_2.WellKnownDataSourceFeatures.DisableTableColumnGeneration)?.enabled;
|
|
94
93
|
const columns = this.mergeColumns(changes.dataFields.currentValue, this.columns);
|
|
95
|
-
if (
|
|
94
|
+
if (columns?.length || disableColumnGeneration) {
|
|
96
95
|
// if disableColumnGeneration is enabled and there are no columns to be kept,
|
|
97
96
|
// we have to clear the form by updating the column input via the `onItemsChange` method
|
|
98
97
|
this.onItemsChange(columns);
|
|
@@ -109,23 +108,26 @@ let TableColumnsConfigurationComponent = exports.TableColumnsConfigurationCompon
|
|
|
109
108
|
const components = this.columns.map((c) => ({
|
|
110
109
|
id: c.id,
|
|
111
110
|
children: {
|
|
112
|
-
[`${c.id}/description`]:
|
|
113
|
-
|
|
111
|
+
[`${c.id}/description`]: {
|
|
112
|
+
...c,
|
|
113
|
+
},
|
|
114
|
+
[`${c.id}/presentation`]: {
|
|
115
|
+
...c,
|
|
116
|
+
},
|
|
114
117
|
},
|
|
115
118
|
}));
|
|
116
119
|
this.pizzagnaService.createComponentsFromTemplateWithProperties("columns", components);
|
|
117
120
|
// wait for column components to be created from template
|
|
118
121
|
setTimeout(() => {
|
|
119
|
-
var _a, _b, _c;
|
|
120
122
|
// triggering the form update to update the preview - without this it was not updating the last added column as form field changes through
|
|
121
123
|
// pizzagna don't generate valueChange events
|
|
122
|
-
|
|
123
|
-
.get("columns")
|
|
124
|
+
this.form
|
|
125
|
+
.get("columns")
|
|
126
|
+
?.setValue([...(this.form.get("columns")?.value ?? [])]);
|
|
124
127
|
});
|
|
125
128
|
}
|
|
126
129
|
}
|
|
127
130
|
onFormReady(form) {
|
|
128
|
-
var _a;
|
|
129
131
|
this.form = this.formBuilder.group({
|
|
130
132
|
columns: form,
|
|
131
133
|
// this form field serves as a source of truth for anybody interesting in reading/modifying the columns value
|
|
@@ -136,24 +138,22 @@ let TableColumnsConfigurationComponent = exports.TableColumnsConfigurationCompon
|
|
|
136
138
|
this.emptyColumns$ = this.form.valueChanges.pipe((0, operators_1.map)((result) => result.columns.length === 0));
|
|
137
139
|
this.formReady.emit(this.form);
|
|
138
140
|
// we listen for changes of the `columns` and transform it into ITableWidgetColumnConfig[]
|
|
139
|
-
|
|
140
|
-
var _a;
|
|
141
|
+
this.form.get("columns")?.valueChanges.subscribe((value) => {
|
|
141
142
|
const newColumns = value.map((c /* form representing one column */) => {
|
|
142
|
-
var _a, _b;
|
|
143
143
|
let result = {
|
|
144
144
|
id: c.id,
|
|
145
145
|
};
|
|
146
146
|
for (const key of Object.keys(c.properties)) {
|
|
147
|
-
result =
|
|
147
|
+
result = {
|
|
148
|
+
...result,
|
|
149
|
+
...c.properties[key] /* merge properties from each child form */,
|
|
150
|
+
};
|
|
148
151
|
}
|
|
149
|
-
result.sortable =
|
|
150
|
-
|
|
151
|
-
return df.id ===
|
|
152
|
-
((_c = (_b = (_a = result.formatter) === null || _a === void 0 ? void 0 : _a.properties) === null || _b === void 0 ? void 0 : _b.dataFieldIds) === null || _c === void 0 ? void 0 : _c.value);
|
|
153
|
-
})) === null || _b === void 0 ? void 0 : _b.sortable;
|
|
152
|
+
result.sortable = this.lastValidDataFields?.find((df) => df.id ===
|
|
153
|
+
result.formatter?.properties?.dataFieldIds?.value)?.sortable;
|
|
154
154
|
return result;
|
|
155
155
|
});
|
|
156
|
-
|
|
156
|
+
this.form.get("columnsOutput")?.setValue(newColumns);
|
|
157
157
|
});
|
|
158
158
|
}
|
|
159
159
|
onItemsChange(columns) {
|
|
@@ -179,8 +179,7 @@ let TableColumnsConfigurationComponent = exports.TableColumnsConfigurationCompon
|
|
|
179
179
|
]);
|
|
180
180
|
}
|
|
181
181
|
onResetColumns() {
|
|
182
|
-
|
|
183
|
-
this.resetColumns(!!((_a = this.columns) === null || _a === void 0 ? void 0 : _a.length));
|
|
182
|
+
this.resetColumns(!!this.columns?.length);
|
|
184
183
|
}
|
|
185
184
|
resetColumns(confirmation) {
|
|
186
185
|
const reset = () => {
|
|
@@ -228,11 +227,10 @@ let TableColumnsConfigurationComponent = exports.TableColumnsConfigurationCompon
|
|
|
228
227
|
mergeColumns(currentDatafields, columns) {
|
|
229
228
|
const currentDatafieldIds = currentDatafields.map((datafield) => datafield.id);
|
|
230
229
|
return columns.filter((column) => {
|
|
231
|
-
|
|
232
|
-
if (!((_b = (_a = column.formatter) === null || _a === void 0 ? void 0 : _a.properties) === null || _b === void 0 ? void 0 : _b.dataFieldIds)) {
|
|
230
|
+
if (!column.formatter?.properties?.dataFieldIds) {
|
|
233
231
|
return false;
|
|
234
232
|
}
|
|
235
|
-
return (0, values_1.default)(
|
|
233
|
+
return (0, values_1.default)(column.formatter?.properties?.dataFieldIds).some((datafield) => currentDatafieldIds.includes(datafield));
|
|
236
234
|
});
|
|
237
235
|
}
|
|
238
236
|
ngOnDestroy() {
|
|
@@ -240,7 +238,7 @@ let TableColumnsConfigurationComponent = exports.TableColumnsConfigurationCompon
|
|
|
240
238
|
this.onDestroy$.complete();
|
|
241
239
|
}
|
|
242
240
|
};
|
|
243
|
-
TableColumnsConfigurationComponent
|
|
241
|
+
exports.TableColumnsConfigurationComponent = TableColumnsConfigurationComponent;
|
|
244
242
|
tslib_1.__decorate([
|
|
245
243
|
(0, core_1.Input)(),
|
|
246
244
|
tslib_1.__metadata("design:type", Array)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-columns-configuration.component.js","sourceRoot":"","sources":["../../../../../../../../../../src/lib/configurator/components/widgets/table/columns-editor/table-columns-configuration.component.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,EAAE;AACF,+EAA+E;AAC/E,4EAA4E;AAC5E,8EAA8E;AAC9E,+EAA+E;AAC/E,8EAA8E;AAC9E,4DAA4D;AAC5D,EAAE;AACF,6EAA6E;AAC7E,uDAAuD;AACvD,EAAE;AACF,6EAA6E;AAC7E,4EAA4E;AAC5E,+EAA+E;AAC/E,0EAA0E;AAC1E,iFAAiF;AACjF,6EAA6E;AAC7E,iBAAiB;;;;AAEjB,wCAYuB;AACvB,0CAKwB;AACxB,6DAA6B;AAC7B,6EAA6C;AAC7C,mEAAmC;AACnC,+BAA2C;AAC3C,8CAAqC;AAErC,wCAQuB;AAMvB,wFAAoF;AACpF,yDAGuC;AACvC,gDAM8B;AAC9B,6CAA4E;AAOrE,IAAM,kCAAkC,
|
|
1
|
+
{"version":3,"file":"table-columns-configuration.component.js","sourceRoot":"","sources":["../../../../../../../../../../src/lib/configurator/components/widgets/table/columns-editor/table-columns-configuration.component.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,EAAE;AACF,+EAA+E;AAC/E,4EAA4E;AAC5E,8EAA8E;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AC;QACP,QAAQ,EAAE,iCAAiC;QAC3C,WAAW,EAAE,8CAA8C;QAC3D,eAAe,EAAE,8BAAuB,CAAC,MAAM;KAClD,CAAC;IAgCO,mBAAA,IAAA,aAAM,EAAC,0BAAkB,CAAC,CAAA;6CAJN,mBAAW;QACR,wBAAiB;QAClB,oBAAa;QACX,kCAAe;QACM,eAAQ;GA/BjD,kCAAkC,CAqT9C"}
|
|
@@ -18,7 +18,6 @@
|
|
|
18
18
|
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
19
19
|
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
20
20
|
// THE SOFTWARE.
|
|
21
|
-
var DescriptionConfigurationV2Component_1;
|
|
22
21
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23
22
|
exports.DescriptionConfigurationV2Component = void 0;
|
|
24
23
|
const tslib_1 = require("tslib");
|
|
@@ -27,7 +26,8 @@ const forms_1 = require("@angular/forms");
|
|
|
27
26
|
const rxjs_1 = require("rxjs");
|
|
28
27
|
const operators_1 = require("rxjs/operators");
|
|
29
28
|
const on_mark_as_touched_1 = require("../../../../../../../functions/on-mark-as-touched");
|
|
30
|
-
let DescriptionConfigurationV2Component =
|
|
29
|
+
let DescriptionConfigurationV2Component = class DescriptionConfigurationV2Component {
|
|
30
|
+
static { this.lateLoadKey = "DescriptionConfigurationV2Component"; }
|
|
31
31
|
constructor(formBuilder, changeDetector) {
|
|
32
32
|
this.formBuilder = formBuilder;
|
|
33
33
|
this.changeDetector = changeDetector;
|
|
@@ -41,8 +41,7 @@ let DescriptionConfigurationV2Component = exports.DescriptionConfigurationV2Comp
|
|
|
41
41
|
this.form.valueChanges
|
|
42
42
|
.pipe((0, operators_1.takeUntil)(this.destroy$))
|
|
43
43
|
.subscribe((value) => {
|
|
44
|
-
|
|
45
|
-
(_a = this.changeFn) === null || _a === void 0 ? void 0 : _a.call(this, value);
|
|
44
|
+
this.changeFn?.(value);
|
|
46
45
|
});
|
|
47
46
|
}
|
|
48
47
|
registerOnChange(fn) {
|
|
@@ -85,7 +84,7 @@ let DescriptionConfigurationV2Component = exports.DescriptionConfigurationV2Comp
|
|
|
85
84
|
return this.isWidthMessageDisplayed && typeof width !== "number";
|
|
86
85
|
}
|
|
87
86
|
};
|
|
88
|
-
DescriptionConfigurationV2Component
|
|
87
|
+
exports.DescriptionConfigurationV2Component = DescriptionConfigurationV2Component;
|
|
89
88
|
tslib_1.__decorate([
|
|
90
89
|
(0, core_1.Input)(),
|
|
91
90
|
tslib_1.__metadata("design:type", forms_1.AbstractControl)
|
|
@@ -94,7 +93,7 @@ tslib_1.__decorate([
|
|
|
94
93
|
(0, core_1.Input)(),
|
|
95
94
|
tslib_1.__metadata("design:type", Object)
|
|
96
95
|
], DescriptionConfigurationV2Component.prototype, "isWidthMessageDisplayed", void 0);
|
|
97
|
-
exports.DescriptionConfigurationV2Component = DescriptionConfigurationV2Component =
|
|
96
|
+
exports.DescriptionConfigurationV2Component = DescriptionConfigurationV2Component = tslib_1.__decorate([
|
|
98
97
|
(0, core_1.Component)({
|
|
99
98
|
selector: "nui-description-configuration-v2",
|
|
100
99
|
templateUrl: "./description-configuration-v2.component.html",
|
|
@@ -103,12 +102,12 @@ exports.DescriptionConfigurationV2Component = DescriptionConfigurationV2Componen
|
|
|
103
102
|
providers: [
|
|
104
103
|
{
|
|
105
104
|
provide: forms_1.NG_VALUE_ACCESSOR,
|
|
106
|
-
useExisting: (0, core_1.forwardRef)(() =>
|
|
105
|
+
useExisting: (0, core_1.forwardRef)(() => DescriptionConfigurationV2Component),
|
|
107
106
|
multi: true,
|
|
108
107
|
},
|
|
109
108
|
{
|
|
110
109
|
provide: forms_1.NG_VALIDATORS,
|
|
111
|
-
useExisting: (0, core_1.forwardRef)(() =>
|
|
110
|
+
useExisting: (0, core_1.forwardRef)(() => DescriptionConfigurationV2Component),
|
|
112
111
|
multi: true,
|
|
113
112
|
},
|
|
114
113
|
],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"description-configuration-v2.component.js","sourceRoot":"","sources":["../../../../../../../../../../../../src/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/description-configuration/description-configuration-v2.component.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,EAAE;AACF,+EAA+E;AAC/E,4EAA4E;AAC5E,8EAA8E;AAC9E,+EAA+E;AAC/E,8EAA8E;AAC9E,4DAA4D;AAC5D,EAAE;AACF,6EAA6E;AAC7E,uDAAuD;AACvD,EAAE;AACF,6EAA6E;AAC7E,4EAA4E;AAC5E,+EAA+E;AAC/E,0EAA0E;AAC1E,iFAAiF;AACjF,6EAA6E;AAC7E,iBAAiB
|
|
1
|
+
{"version":3,"file":"description-configuration-v2.component.js","sourceRoot":"","sources":["../../../../../../../../../../../../src/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/description-configuration/description-configuration-v2.component.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,EAAE;AACF,+EAA+E;AAC/E,4EAA4E;AAC5E,8EAA8E;AAC9E,+EAA+E;AAC/E,8EAA8E;AAC9E,4DAA4D;AAC5D,EAAE;AACF,6EAA6E;AAC7E,uDAAuD;AACvD,EAAE;AACF,6EAA6E;AAC7E,4EAA4E;AAC5E,+EAA+E;AAC/E,0EAA0E;AAC1E,iFAAiF;AACjF,6EAA6E;AAC7E,iBAAiB;;;;AAEjB,wCAQuB;AACvB,0CAUwB;AACxB,+BAA+B;AAC/B,8CAA2C;AAG3C,0FAAoF;AAqB7E,IAAM,mCAAmC,GAAzC,MAAM,mCAAmC;aAGrC,gBAAW,GAAG,qCAAqC,AAAxC,CAAyC;IAU3D,YACY,WAAwB,EACzB,cAAiC;QADhC,gBAAW,GAAX,WAAW,CAAa;QACzB,mBAAc,GAAd,cAAc,CAAmB;QATnC,4BAAuB,GAAG,KAAK,CAAC;QAKxB,aAAQ,GAAG,IAAI,cAAO,EAAQ,CAAC;QAM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T OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
20
20
|
// THE SOFTWARE.
|
|
21
|
-
var PresentationConfigurationV2Component_1;
|
|
22
21
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23
22
|
exports.PresentationConfigurationV2Component = void 0;
|
|
24
23
|
const tslib_1 = require("tslib");
|
|
@@ -34,7 +33,8 @@ const types_1 = require("../../../../../../../types");
|
|
|
34
33
|
const default_table_formatters_1 = require("../../../../../../../widget-types/table/default-table-formatters");
|
|
35
34
|
const configurator_heading_service_1 = require("../../../../../../services/configurator-heading.service");
|
|
36
35
|
const types_2 = require("../../../../../../types");
|
|
37
|
-
let PresentationConfigurationV2Component =
|
|
36
|
+
let PresentationConfigurationV2Component = class PresentationConfigurationV2Component {
|
|
37
|
+
static { this.lateLoadKey = "PresentationConfigurationV2Component"; }
|
|
38
38
|
set formatters(formatters) {
|
|
39
39
|
// Note: As discussed we will ignore the config formatters if
|
|
40
40
|
// the user already provided formatters via registry
|
|
@@ -54,8 +54,7 @@ let PresentationConfigurationV2Component = exports.PresentationConfigurationV2Co
|
|
|
54
54
|
return this._dataFields;
|
|
55
55
|
}
|
|
56
56
|
get formatter() {
|
|
57
|
-
|
|
58
|
-
return (_a = this.form) === null || _a === void 0 ? void 0 : _a.value;
|
|
57
|
+
return this.form?.value;
|
|
59
58
|
}
|
|
60
59
|
constructor(formBuilder, changeDetector, configuratorHeading, eventBus, formattersRegistryCommon,
|
|
61
60
|
// used as a fallback, remove in vNext
|
|
@@ -63,7 +62,6 @@ let PresentationConfigurationV2Component = exports.PresentationConfigurationV2Co
|
|
|
63
62
|
* @deprecated will be removed in the scope of NUI-5839
|
|
64
63
|
*/
|
|
65
64
|
tableFormattersRegistryService) {
|
|
66
|
-
var _a, _b, _c;
|
|
67
65
|
this.formBuilder = formBuilder;
|
|
68
66
|
this.changeDetector = changeDetector;
|
|
69
67
|
this.configuratorHeading = configuratorHeading;
|
|
@@ -77,11 +75,13 @@ let PresentationConfigurationV2Component = exports.PresentationConfigurationV2Co
|
|
|
77
75
|
this.propertiesFormReady = new rxjs_1.Subject();
|
|
78
76
|
this.subscribeToFormattersRegistry();
|
|
79
77
|
this.form = this.formBuilder.group({
|
|
80
|
-
componentType: this.formBuilder.control(
|
|
81
|
-
properties: this.formBuilder.control({}, () =>
|
|
78
|
+
componentType: this.formBuilder.control(this.providedFormatters?.[0]?.componentType, forms_1.Validators.required),
|
|
79
|
+
properties: this.formBuilder.control({}, () => this.propertiesForm?.invalid ? { properties: true } : null),
|
|
82
80
|
});
|
|
83
|
-
|
|
84
|
-
.get("componentType")
|
|
81
|
+
this.form
|
|
82
|
+
.get("componentType")
|
|
83
|
+
?.valueChanges.pipe((0, operators_1.takeUntil)(this.onDestroy$))
|
|
84
|
+
.subscribe(() => this.createFormatterConfigurator());
|
|
85
85
|
this.form.valueChanges
|
|
86
86
|
.pipe((0, operators_1.takeUntil)(this.onDestroy$))
|
|
87
87
|
.subscribe(() => {
|
|
@@ -127,21 +127,19 @@ let PresentationConfigurationV2Component = exports.PresentationConfigurationV2Co
|
|
|
127
127
|
: { error: "error" };
|
|
128
128
|
}
|
|
129
129
|
getSelectedFormatterDefinition() {
|
|
130
|
-
var _a, _b;
|
|
131
130
|
if (this.providedFormatters.length > 0) {
|
|
132
|
-
const formatterId =
|
|
133
|
-
return (
|
|
131
|
+
const formatterId = this.form.get("componentType")?.value;
|
|
132
|
+
return (this.providedFormatters.find((formatter) => formatter.componentType === formatterId) ?? null);
|
|
134
133
|
}
|
|
135
134
|
return null;
|
|
136
135
|
}
|
|
137
136
|
getSelectedDataField() {
|
|
138
|
-
var _a, _b;
|
|
139
137
|
const propertiesControl = this.form.controls["properties"];
|
|
140
138
|
if (propertiesControl &&
|
|
141
139
|
this.dataFields &&
|
|
142
140
|
this.dataFields.length > 0) {
|
|
143
|
-
const dataFieldId =
|
|
144
|
-
return (
|
|
141
|
+
const dataFieldId = propertiesControl.value.dataFieldIds?.value;
|
|
142
|
+
return (this.dataFields.find((dataField) => dataField.id === dataFieldId) ?? null);
|
|
145
143
|
}
|
|
146
144
|
return null;
|
|
147
145
|
}
|
|
@@ -175,14 +173,12 @@ let PresentationConfigurationV2Component = exports.PresentationConfigurationV2Co
|
|
|
175
173
|
this.propertiesForm.patchValue(this.formatter.properties);
|
|
176
174
|
}
|
|
177
175
|
onValueChange() {
|
|
178
|
-
|
|
179
|
-
(_a = this.changeFn) === null || _a === void 0 ? void 0 : _a.call(this, this.form.value);
|
|
176
|
+
this.changeFn?.(this.form.value);
|
|
180
177
|
}
|
|
181
178
|
updateSubtitle() {
|
|
182
|
-
|
|
183
|
-
this.subtitleText = `${(_a = this.getSelectedFormatterDefinition()) === null || _a === void 0 ? void 0 : _a.label}`;
|
|
179
|
+
this.subtitleText = `${this.getSelectedFormatterDefinition()?.label}`;
|
|
184
180
|
if (this.getSelectedDataField()) {
|
|
185
|
-
this.subtitleText = this.subtitleText.concat(`, ${
|
|
181
|
+
this.subtitleText = this.subtitleText.concat(`, ${this.getSelectedDataField()?.label}`);
|
|
186
182
|
}
|
|
187
183
|
}
|
|
188
184
|
/**
|
|
@@ -190,25 +186,22 @@ let PresentationConfigurationV2Component = exports.PresentationConfigurationV2Co
|
|
|
190
186
|
* @returns ComponentPortal
|
|
191
187
|
*/
|
|
192
188
|
createFormatterConfigurator() {
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
var _a;
|
|
196
|
-
return formatter.componentType ===
|
|
197
|
-
((_a = this.form.get("componentType")) === null || _a === void 0 ? void 0 : _a.value);
|
|
198
|
-
});
|
|
189
|
+
const formatterDefinition = this.providedFormatters.find((formatter) => formatter.componentType ===
|
|
190
|
+
this.form.get("componentType")?.value);
|
|
199
191
|
// if configurationComponent property is present in formatters configuration, use it to render portal,
|
|
200
192
|
// otherwise, use default ValueSelectorComponent
|
|
201
193
|
if (formatterDefinition) {
|
|
202
194
|
this.formatterConfigurator =
|
|
203
|
-
|
|
195
|
+
formatterDefinition.configurationComponent ??
|
|
196
|
+
"ValueSelectorComponent";
|
|
204
197
|
}
|
|
205
198
|
else {
|
|
206
199
|
this.formatterConfigurator = null;
|
|
207
200
|
}
|
|
208
201
|
// if the currently selected component doesn't match the original value from the input then we reset the form values
|
|
209
|
-
if (
|
|
210
|
-
|
|
211
|
-
|
|
202
|
+
if (formatterDefinition?.componentType !==
|
|
203
|
+
this.formatter?.componentType &&
|
|
204
|
+
this.formatter?.properties?.dataFieldIds) {
|
|
212
205
|
this.formatter.properties.dataFieldIds = { value: null };
|
|
213
206
|
}
|
|
214
207
|
this.formatterConfiguratorProps = {
|
|
@@ -218,8 +211,7 @@ let PresentationConfigurationV2Component = exports.PresentationConfigurationV2Co
|
|
|
218
211
|
};
|
|
219
212
|
}
|
|
220
213
|
updateAvailableFormatters() {
|
|
221
|
-
|
|
222
|
-
if (!((_a = this._dataFields) === null || _a === void 0 ? void 0 : _a.length) || !this.providedFormatters.length) {
|
|
214
|
+
if (!this._dataFields?.length || !this.providedFormatters.length) {
|
|
223
215
|
return;
|
|
224
216
|
}
|
|
225
217
|
// allow by default RawFormatter which has null as dataType
|
|
@@ -247,7 +239,7 @@ let PresentationConfigurationV2Component = exports.PresentationConfigurationV2Co
|
|
|
247
239
|
handleFormattersUpdate(formatters) {
|
|
248
240
|
if (formatters !== this.providedFormatters) {
|
|
249
241
|
this.providedFormatters =
|
|
250
|
-
|
|
242
|
+
formatters?.length > 0 ? formatters : default_table_formatters_1.DEFAULT_TABLE_FORMATTERS;
|
|
251
243
|
this.updateAvailableFormatters();
|
|
252
244
|
}
|
|
253
245
|
}
|
|
@@ -260,7 +252,7 @@ let PresentationConfigurationV2Component = exports.PresentationConfigurationV2Co
|
|
|
260
252
|
return (this.formattersRegistryCommon || this.tableFormattersRegistryService);
|
|
261
253
|
}
|
|
262
254
|
};
|
|
263
|
-
PresentationConfigurationV2Component
|
|
255
|
+
exports.PresentationConfigurationV2Component = PresentationConfigurationV2Component;
|
|
264
256
|
tslib_1.__decorate([
|
|
265
257
|
(0, core_1.Input)(),
|
|
266
258
|
tslib_1.__metadata("design:type", Array),
|
|
@@ -274,7 +266,7 @@ tslib_1.__decorate([
|
|
|
274
266
|
(0, core_1.Input)(),
|
|
275
267
|
tslib_1.__metadata("design:type", forms_1.AbstractControl)
|
|
276
268
|
], PresentationConfigurationV2Component.prototype, "formControl", void 0);
|
|
277
|
-
exports.PresentationConfigurationV2Component = PresentationConfigurationV2Component =
|
|
269
|
+
exports.PresentationConfigurationV2Component = PresentationConfigurationV2Component = tslib_1.__decorate([
|
|
278
270
|
(0, core_1.Component)({
|
|
279
271
|
selector: "nui-presentation-configuration-v2",
|
|
280
272
|
templateUrl: "./presentation-configuration-v2.component.html",
|
|
@@ -286,12 +278,12 @@ exports.PresentationConfigurationV2Component = PresentationConfigurationV2Compon
|
|
|
286
278
|
providers: [
|
|
287
279
|
{
|
|
288
280
|
provide: forms_1.NG_VALUE_ACCESSOR,
|
|
289
|
-
useExisting: (0, core_1.forwardRef)(() =>
|
|
281
|
+
useExisting: (0, core_1.forwardRef)(() => PresentationConfigurationV2Component),
|
|
290
282
|
multi: true,
|
|
291
283
|
},
|
|
292
284
|
{
|
|
293
285
|
provide: forms_1.NG_VALIDATORS,
|
|
294
|
-
useExisting: (0, core_1.forwardRef)(() =>
|
|
286
|
+
useExisting: (0, core_1.forwardRef)(() => PresentationConfigurationV2Component),
|
|
295
287
|
multi: true,
|
|
296
288
|
},
|
|
297
289
|
],
|