@nova-ui/dashboards 12.0.14-3732 → 12.0.14-3739
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/README.md +46 -29
- package/bundles/nova-ui-dashboards.umd.js +1282 -773
- package/bundles/nova-ui-dashboards.umd.js.map +1 -1
- package/esm2015/lib/common/common.module.js +7 -27
- package/esm2015/lib/common/components/preview-overlay/preview-overlay.component.js +7 -3
- package/esm2015/lib/common/components/widget-error/widget-error.component.js +2 -2
- package/esm2015/lib/common/pipes/dashboard-unit-conversion-pipe.js +5 -3
- package/esm2015/lib/components/dashboard/dashboard.component.js +21 -11
- package/esm2015/lib/components/dashboard/default-gridster-config.js +2 -2
- package/esm2015/lib/components/dashboard/types.js +1 -1
- package/esm2015/lib/components/embedded-content/embedded-content.component.js +10 -4
- package/esm2015/lib/components/kpi-widget/kpi.component.js +15 -9
- package/esm2015/lib/components/kpi-widget/types.js +1 -1
- package/esm2015/lib/components/layouts/base-layout.js +24 -14
- package/esm2015/lib/components/layouts/stack/stack.component.js +3 -3
- package/esm2015/lib/components/layouts/tiles/tiles.component.js +4 -4
- package/esm2015/lib/components/list-widget/list-elements/list-group-item/list-group-item.component.js +2 -2
- package/esm2015/lib/components/list-widget/list-elements/list-leaf-item/list-leaf-item.component.js +7 -5
- package/esm2015/lib/components/list-widget/list-elements/list-navigation-bar/list-navigation-bar.component.js +8 -4
- package/esm2015/lib/components/list-widget/list-widget.component.js +7 -5
- package/esm2015/lib/components/list-widget/types.js +1 -1
- package/esm2015/lib/components/loading/loading.component.js +3 -3
- package/esm2015/lib/components/proportional-widget/proportional-donut-content/proportional-donut-content.component.js +10 -8
- package/esm2015/lib/components/proportional-widget/proportional-widget.component.js +58 -31
- package/esm2015/lib/components/proportional-widget/types.js +1 -1
- package/esm2015/lib/components/providers/data-source-adapter.js +20 -11
- package/esm2015/lib/components/providers/drilldown-data-source-adapter.js +5 -4
- package/esm2015/lib/components/providers/event-bus-debugger.js +4 -3
- package/esm2015/lib/components/providers/interaction/interaction-handler.js +7 -3
- package/esm2015/lib/components/providers/interaction/url-interaction-handler.js +6 -4
- package/esm2015/lib/components/providers/kpi-color-prioritizer.js +3 -2
- package/esm2015/lib/components/providers/kpi-data-source-adapter.js +18 -8
- package/esm2015/lib/components/providers/kpi-scale-sync-broker.js +20 -10
- package/esm2015/lib/components/providers/kpi-status-content-fallback-adapter.js +13 -7
- package/esm2015/lib/components/providers/loading-adapter.js +4 -3
- package/esm2015/lib/components/providers/pizzagna-broadcaster.service.js +2 -3
- package/esm2015/lib/components/providers/refresher-settings.service.js +1 -1
- package/esm2015/lib/components/providers/refresher.js +12 -6
- package/esm2015/lib/components/providers/status-content-fallback-adapter.js +9 -5
- package/esm2015/lib/components/providers/table-data-source-adapter.js +8 -6
- package/esm2015/lib/components/providers/timeseries-data-source-adapter.js +4 -4
- package/esm2015/lib/components/providers/types.js +1 -1
- package/esm2015/lib/components/table-widget/addons/search-feature-addon.service.js +11 -6
- package/esm2015/lib/components/table-widget/addons/virtual-scroll-feature-addon.service.js +23 -10
- package/esm2015/lib/components/table-widget/table-widget.component.js +57 -36
- package/esm2015/lib/components/time-frame-selection/timeframe-selection.component.js +12 -9
- package/esm2015/lib/components/timeseries-widget/chart-presets/status-bar-chart/apply-status-endpoints.js +11 -8
- package/esm2015/lib/components/timeseries-widget/chart-presets/status-bar-chart/status-bar-chart.component.js +23 -16
- package/esm2015/lib/components/timeseries-widget/chart-presets/timeseries-chart.component.js +12 -7
- package/esm2015/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/line-chart.component.js +3 -3
- package/esm2015/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-area-chart.component.js +2 -2
- package/esm2015/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-bar-chart.component.js +6 -3
- package/esm2015/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-percentage-area-chart.component.js +2 -2
- package/esm2015/lib/components/timeseries-widget/chart-presets/xy-chart/xy-chart.component.js +19 -11
- package/esm2015/lib/components/timeseries-widget/timeseries-chart-preset.service.js +16 -6
- package/esm2015/lib/components/timeseries-widget/timeseries-scales.service.js +5 -4
- package/esm2015/lib/components/timeseries-widget/timeseries-widget.component.js +6 -5
- package/esm2015/lib/components/timeseries-widget/types.js +1 -1
- package/esm2015/lib/components/types.js +1 -1
- package/esm2015/lib/components/widget/types.js +1 -1
- package/esm2015/lib/components/widget/widget-body/widget-body.component.js +7 -6
- package/esm2015/lib/components/widget/widget-body-content/widget-body-content.component.js +5 -4
- package/esm2015/lib/components/widget/widget-header/widget-header.component.js +13 -10
- package/esm2015/lib/components/widget/widget.component.js +8 -10
- package/esm2015/lib/components/widget-search/widget-search.component.js +6 -5
- package/esm2015/lib/configurator/components/color-picker/color-picker.component.js +22 -11
- package/esm2015/lib/configurator/components/color-picker/color.service.js +3 -2
- package/esm2015/lib/configurator/components/configurator/configurator.component.js +14 -7
- package/esm2015/lib/configurator/components/drop-area/drop-area.component.js +1 -1
- package/esm2015/lib/configurator/components/form-stack/form-stack.component.js +6 -6
- package/esm2015/lib/configurator/components/formatters/donut-content-percentage-formatter/donut-content-percentage-configuration.component.js +2 -2
- package/esm2015/lib/configurator/components/formatters/donut-content-percentage-formatter/donut-content-percentage-formatter.component.js +25 -22
- package/esm2015/lib/configurator/components/formatters/donut-content-raw-formatter/donut-content-raw-formatter.component.js +40 -26
- package/esm2015/lib/configurator/components/formatters/donut-content-sum-formatter/donut-content-sum-formatter.component.js +8 -4
- package/esm2015/lib/configurator/components/formatters/icon-formatter/icon-formatter.component.js +30 -8
- package/esm2015/lib/configurator/components/formatters/link-formatter/link-formatter.component.js +28 -11
- package/esm2015/lib/configurator/components/formatters/percentage-formatter/percentage-formatter.component.js +3 -9
- package/esm2015/lib/configurator/components/formatters/raw-formatter/raw-formatter.component.js +4 -6
- package/esm2015/lib/configurator/components/formatters/si-units-formatter/si-units-formatter.component.js +13 -10
- package/esm2015/lib/configurator/components/formatters/status-with-icon-formatter/status-with-icon-formatter.component.js +59 -32
- package/esm2015/lib/configurator/components/formatters/widget-formatter-configurators/donut-formatter-configurator.component.js +5 -6
- package/esm2015/lib/configurator/components/heading/configurator-heading.component.js +3 -3
- package/esm2015/lib/configurator/components/items-dynamic/items-dynamic.component.js +8 -8
- package/esm2015/lib/configurator/components/preview-placeholder/preview-placeholder.component.js +2 -2
- package/esm2015/lib/configurator/components/widget-cloner/widget-cloner.component.js +15 -8
- package/esm2015/lib/configurator/components/widget-configurator-section/widget-configurator-section-coordinator.service.js +6 -4
- package/esm2015/lib/configurator/components/widget-configurator-section/widget-configurator-section.component.js +2 -2
- package/esm2015/lib/configurator/components/widget-editor/widget-editor.component.js +14 -8
- package/esm2015/lib/configurator/components/widget-editor-accordion/widget-editor-accordion.component.js +3 -3
- package/esm2015/lib/configurator/components/widgets/configurator-items/background-color-rules-configuration/background-color-rules-configuration.component.js +17 -9
- package/esm2015/lib/configurator/components/widgets/configurator-items/data-source-configuration/data-source-configuration.component.js +12 -8
- package/esm2015/lib/configurator/components/widgets/configurator-items/data-source-configuration-v2/data-source-configuration-v2.component.js +28 -14
- package/esm2015/lib/configurator/components/widgets/configurator-items/data-source-error/data-source-error.component.js +4 -4
- package/esm2015/lib/configurator/components/widgets/configurator-items/data-source-error/table/table-data-source-error.component.js +2 -2
- package/esm2015/lib/configurator/components/widgets/configurator-items/embedded-content-configuration/embedded-content-configuration.component.js +4 -4
- package/esm2015/lib/configurator/components/widgets/configurator-items/info-message-configuration/info-message-configuration.component.js +3 -3
- package/esm2015/lib/configurator/components/widgets/configurator-items/kpi-description-configuration/kpi-description-configuration.component.js +14 -10
- package/esm2015/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/refresh-rate-configurator.component.js +8 -12
- package/esm2015/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/time-units.js +1 -1
- package/esm2015/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresher-configuration.component.js +26 -10
- package/esm2015/lib/configurator/components/widgets/configurator-items/thresholds-configuration/thresholds-configuration.component.js +18 -8
- package/esm2015/lib/configurator/components/widgets/configurator-items/thresholds-configuration/thresholds-validator.js +2 -2
- package/esm2015/lib/configurator/components/widgets/configurator-items/timeseries-metadata-configuration/timeseries-metadata-configuration.component.js +32 -16
- package/esm2015/lib/configurator/components/widgets/configurator-items/title-and-description-configuration/title-and-description-configuration.component.js +3 -3
- package/esm2015/lib/configurator/components/widgets/drilldown/entity-formatting-configuration/entity-formatting-configuration.component.js +10 -8
- package/esm2015/lib/configurator/components/widgets/drilldown/grouping-configuration/grouping-configuration.component.js +20 -15
- package/esm2015/lib/configurator/components/widgets/kpi/kpi-tiles-configuration/kpi-tiles-configuration.component.js +14 -12
- package/esm2015/lib/configurator/components/widgets/proportional/aggregators-configurators/aggregator-configurator/aggregator-configurator.component.js +6 -5
- package/esm2015/lib/configurator/components/widgets/proportional/aggregators-configurators/field-mapper-aggregator-configurator/field-mapper-aggregator-configurator.component.js +13 -9
- package/esm2015/lib/configurator/components/widgets/proportional/chart-options-editor/proportional-chart-options-editor.component.js +33 -19
- package/esm2015/lib/configurator/components/widgets/proportional/chart-options-editor-v2/proportional-chart-options-editor-v2.component.js +7 -6
- package/esm2015/lib/configurator/components/widgets/proportional/donut-content-configuration/donut-content-configuration.component.js +15 -12
- package/esm2015/lib/configurator/components/widgets/table/columns-editor/column-configuration/description-configuration/description-configuration.component.js +3 -3
- package/esm2015/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/formatter-configurator.component.js +14 -12
- package/esm2015/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/link-configurator/link-configurator.component.js +2 -2
- package/esm2015/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/value-selector/value-selector.component.js +2 -2
- package/esm2015/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/presentation-configuration.component.js +47 -23
- package/esm2015/lib/configurator/components/widgets/table/columns-editor/table-columns-configuration.component.js +38 -25
- package/esm2015/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/description-configuration/description-configuration-v2.component.js +5 -6
- package/esm2015/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/presentation-configuration/presentation-configuration-v2.component.js +47 -27
- package/esm2015/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/table-column-configuration/table-column-configuration.component.js +10 -10
- package/esm2015/lib/configurator/components/widgets/table/columns-editor-v2/table-columns-configuration-v2.component.js +19 -15
- package/esm2015/lib/configurator/components/widgets/table/filters-editor/table-filters-editor.component.js +16 -11
- package/esm2015/lib/configurator/components/widgets/timeseries/public-api.js +1 -1
- package/esm2015/lib/configurator/components/widgets/timeseries/timeseries-series-collection-configuration/timeseries-series-collection-configuration.component.js +7 -7
- package/esm2015/lib/configurator/components/widgets/timeseries/timeseries-tile-description-configuration/timeseries-tile-description-configuration.component.js +3 -3
- package/esm2015/lib/configurator/components/widgets/timeseries/timeseries-tile-indicator-data-configuration/timeseries-tile-indicator-data-configuration.component.js +9 -7
- package/esm2015/lib/configurator/components/wizard/dashwiz/dashwiz-buttons.component.js +76 -60
- package/esm2015/lib/configurator/components/wizard/dashwiz/dashwiz.component.js +21 -12
- package/esm2015/lib/configurator/components/wizard/dashwiz/dashwiz.service.js +1 -1
- package/esm2015/lib/configurator/components/wizard/dashwiz/model.js +1 -1
- package/esm2015/lib/configurator/components/wizard/dashwiz-step/dashwiz-step.component.js +2 -2
- package/esm2015/lib/configurator/components/wizard/types.js +1 -1
- package/esm2015/lib/configurator/configurator.module.js +7 -9
- package/esm2015/lib/configurator/functions/has-control-in-error-state.js +2 -2
- package/esm2015/lib/configurator/pipe/add-data.pipe.js +1 -1
- package/esm2015/lib/configurator/pipe/pizzagna-root.pipe.js +1 -1
- package/esm2015/lib/configurator/pipe/widget-configurator-section-header.pipe.js +1 -1
- package/esm2015/lib/configurator/pipe/widget-editor-accordion-form-state.pipe.js +4 -3
- package/esm2015/lib/configurator/pipe/widget-editor-accordion-header-icon.pipe.js +2 -3
- package/esm2015/lib/configurator/services/configurator-data-source-manager.service.js +6 -4
- package/esm2015/lib/configurator/services/configurator-heading.service.js +1 -1
- package/esm2015/lib/configurator/services/configurator.service.js +16 -9
- package/esm2015/lib/configurator/services/converters/base-converter.js +6 -4
- package/esm2015/lib/configurator/services/converters/kpi/kpi-section-converter/kpi-section-converter.service.js +3 -3
- package/esm2015/lib/configurator/services/converters/kpi/kpi-tiles-converter.service.js +8 -8
- package/esm2015/lib/configurator/services/converters/proportional/proportional-widget-chart-options-converter.service.js +4 -4
- package/esm2015/lib/configurator/services/converters/shared/generic-array-converter/generic-array-converter.service.js +5 -5
- package/esm2015/lib/configurator/services/converters/shared/generic-converter/generic-converter.service.js +3 -3
- package/esm2015/lib/configurator/services/converters/shared/title-and-description-converter/title-and-description-converter.service.js +3 -5
- package/esm2015/lib/configurator/services/converters/table/table-columns-converter.service.js +22 -12
- package/esm2015/lib/configurator/services/converters/table/table-filters-converter.service.js +3 -3
- package/esm2015/lib/configurator/services/converters/timeseries/timeseries-metadata-converter.service.js +7 -7
- package/esm2015/lib/configurator/services/converters/timeseries/timeseries-series-converter.service.js +15 -12
- package/esm2015/lib/configurator/services/converters/timeseries/timeseries-tile-indicator-data-converter.service.js +6 -6
- package/esm2015/lib/configurator/services/converters/types.js +1 -1
- package/esm2015/lib/configurator/services/kpi-widget-color.service.js +1 -1
- package/esm2015/lib/configurator/services/preview.service.js +1 -1
- package/esm2015/lib/configurator/services/timeframe-serialization.service.js +1 -1
- package/esm2015/lib/configurator/services/types.js +1 -1
- package/esm2015/lib/configurator/services/widget-cloner.service.js +3 -2
- package/esm2015/lib/configurator/services/widget-editor.service.js +1 -1
- package/esm2015/lib/configurator/types.js +2 -2
- package/esm2015/lib/constants/default-palette.js +10 -5
- package/esm2015/lib/dashboards.module.js +3 -3
- package/esm2015/lib/directives/gridster-item-widget-id/gridster-item-widget-id.directive.js +2 -2
- package/esm2015/lib/directives/widget-editor/widget-editor.directive.js +15 -7
- package/esm2015/lib/functions/get-parent-component-id.js +2 -4
- package/esm2015/lib/functions/map-data-to-formatter-properties.js +1 -1
- package/esm2015/lib/functions/merge-changes.js +20 -9
- package/esm2015/lib/functions/on-mark-as-touched.js +1 -1
- package/esm2015/lib/functions/parse-string-with-data.js +1 -1
- package/esm2015/lib/functions/proportional-aggregators/field-mapper.js +2 -2
- package/esm2015/lib/functions/proportional-aggregators/percentage-aggregator.js +4 -6
- package/esm2015/lib/functions/proportional-aggregators/sum-aggregator.js +3 -3
- package/esm2015/lib/functions/proportional-aggregators/types.js +1 -1
- package/esm2015/lib/pizzagna/components/pizzagna/pizzagna.component.js +17 -9
- package/esm2015/lib/pizzagna/directives/component-portal/component-portal.directive.js +26 -13
- package/esm2015/lib/pizzagna/pizzagna.module.js +6 -23
- package/esm2015/lib/pizzagna/services/component-portal.service.js +6 -2
- package/esm2015/lib/pizzagna/services/component-registry.service.js +5 -2
- package/esm2015/lib/pizzagna/services/dynamic-component-creator.service.js +4 -4
- package/esm2015/lib/pizzagna/services/pizzagna.service.js +33 -15
- package/esm2015/lib/services/category-chart-util.service.js +14 -7
- package/esm2015/lib/services/event-registry.service.js +5 -2
- package/esm2015/lib/services/kpi-color-comparators-registry.service.js +1 -1
- package/esm2015/lib/services/proportional-content-aggregators-registry.service.js +1 -1
- package/esm2015/lib/services/provider-registry.service.js +54 -13
- package/esm2015/lib/services/registry-service.js +6 -4
- package/esm2015/lib/services/table-formatter-registry.service.js +1 -1
- package/esm2015/lib/services/types.js +2 -2
- package/esm2015/lib/services/url-interaction.service.js +1 -1
- package/esm2015/lib/services/widget-removal.service.js +3 -3
- package/esm2015/lib/services/widget-to-dashboard-event-proxy.service.js +14 -8
- package/esm2015/lib/services/widget-types.service.js +16 -6
- package/esm2015/lib/types.js +2 -2
- package/esm2015/lib/widget-types/common/configurator/components.js +7 -3
- package/esm2015/lib/widget-types/common/widget/components.js +3 -3
- package/esm2015/lib/widget-types/common/widget/legend.js +1 -1
- package/esm2015/lib/widget-types/common/widget/providers.js +2 -2
- package/esm2015/lib/widget-types/drilldown/drilldown-configurator.js +4 -7
- package/esm2015/lib/widget-types/drilldown/drilldown-widget.js +4 -12
- package/esm2015/lib/widget-types/drilldown/drilldown.js +6 -6
- package/esm2015/lib/widget-types/embedded-content/embedded-content-configurator.js +4 -7
- package/esm2015/lib/widget-types/embedded-content/embedded-content-widget.js +3 -7
- package/esm2015/lib/widget-types/embedded-content/embedded-content.js +6 -6
- package/esm2015/lib/widget-types/kpi/kpi-configurator.js +18 -11
- package/esm2015/lib/widget-types/kpi/kpi-widget.js +12 -16
- package/esm2015/lib/widget-types/kpi/kpi.js +6 -6
- package/esm2015/lib/widget-types/preview-placeholder.js +4 -7
- package/esm2015/lib/widget-types/proportional/donut-content-configurator-slice.js +11 -5
- package/esm2015/lib/widget-types/proportional/proportional-configurator.js +20 -13
- package/esm2015/lib/widget-types/proportional/proportional-widget.js +4 -8
- package/esm2015/lib/widget-types/proportional/proportional.js +6 -6
- package/esm2015/lib/widget-types/public-api.js +1 -1
- package/esm2015/lib/widget-types/table/default-table-formatters.js +1 -1
- package/esm2015/lib/widget-types/table/table-configurator.js +2 -2
- package/esm2015/lib/widget-types/table/table-widget.js +4 -8
- package/esm2015/lib/widget-types/table/table.js +4 -4
- package/esm2015/lib/widget-types/timeseries/timeseries-configurator.js +6 -13
- package/esm2015/lib/widget-types/timeseries/timeseries-widget.js +9 -14
- package/esm2015/lib/widget-types/timeseries/timeseries.js +6 -6
- package/fesm2015/nova-ui-dashboards.js +1644 -1022
- package/fesm2015/nova-ui-dashboards.js.map +1 -1
- package/lib/common/components/widget-error/widget-error.component.d.ts +1 -1
- package/lib/components/dashboard/dashboard.component.d.ts +1 -1
- package/lib/components/dashboard/types.d.ts +1 -1
- package/lib/components/layouts/base-layout.d.ts +1 -1
- package/lib/components/list-widget/list-elements/list-leaf-item/list-leaf-item.component.d.ts +1 -1
- package/lib/components/proportional-widget/types.d.ts +2 -2
- package/lib/components/providers/data-source-adapter.d.ts +1 -1
- package/lib/components/providers/kpi-color-prioritizer.d.ts +1 -1
- package/lib/components/providers/refresher.d.ts +1 -1
- package/lib/components/providers/status-content-fallback-adapter.d.ts +1 -1
- package/lib/components/table-widget/table-widget.component.d.ts +2 -2
- package/lib/components/time-frame-selection/timeframe-selection.component.d.ts +1 -1
- package/lib/components/timeseries-widget/chart-presets/timeseries-chart.component.d.ts +1 -1
- package/lib/components/widget-search/widget-search.component.d.ts +1 -1
- package/lib/configurator/components/configurator/configurator.component.d.ts +1 -1
- package/lib/configurator/components/widget-cloner/widget-cloner.component.d.ts +1 -1
- package/lib/configurator/components/widgets/configurator-items/data-source-configuration/data-source-configuration.component.d.ts +1 -1
- package/lib/configurator/components/widgets/configurator-items/data-source-configuration-v2/data-source-configuration-v2.component.d.ts +1 -1
- package/lib/configurator/components/widgets/configurator-items/data-source-error/data-source-error.component.d.ts +1 -1
- package/lib/configurator/components/widgets/configurator-items/timeseries-metadata-configuration/timeseries-metadata-configuration.component.d.ts +1 -1
- package/lib/configurator/components/widgets/kpi/kpi-tiles-configuration/kpi-tiles-configuration.component.d.ts +1 -1
- package/lib/configurator/components/widgets/proportional/chart-options-editor/proportional-chart-options-editor.component.d.ts +1 -1
- package/lib/configurator/components/widgets/proportional/chart-options-editor-v2/proportional-chart-options-editor-v2.component.d.ts +1 -1
- package/lib/configurator/components/widgets/table/columns-editor/table-columns-configuration.component.d.ts +1 -1
- package/lib/configurator/components/widgets/table/columns-editor-v2/table-columns-configuration-v2.component.d.ts +1 -1
- package/lib/configurator/components/widgets/timeseries/timeseries-series-collection-configuration/timeseries-series-collection-configuration.component.d.ts +1 -1
- package/lib/configurator/components/wizard/dashwiz/dashwiz.component.d.ts +1 -1
- package/lib/configurator/components/wizard/dashwiz/model.d.ts +1 -1
- package/lib/configurator/pipe/pizzagna-root.pipe.d.ts +1 -1
- package/lib/configurator/services/configurator-data-source-manager.service.d.ts +3 -3
- package/lib/configurator/services/configurator.service.d.ts +2 -2
- package/lib/configurator/services/converters/base-converter.d.ts +1 -1
- package/lib/configurator/services/types.d.ts +2 -2
- package/lib/directives/widget-editor/widget-editor.directive.d.ts +1 -1
- package/lib/pizzagna/services/pizzagna.service.d.ts +1 -1
- package/lib/services/registry-service.d.ts +1 -1
- package/lib/services/table-formatter-registry.service.d.ts +1 -1
- package/lib/services/widget-removal.service.d.ts +1 -1
- package/lib/widget-types/proportional/proportional-configurator.d.ts +1 -1
- package/package.json +1 -1
- package/sdk/atoms/spec/configurator/accordion.atom.js +1 -1
- package/sdk/atoms/spec/configurator/accordion.atom.js.map +1 -1
- package/sdk/atoms/spec/configurator/configurator-section.atom.js +1 -1
- package/sdk/atoms/spec/configurator/configurator-section.atom.js.map +1 -1
- package/sdk/atoms/spec/configurator/configurator.atom.d.ts +1 -1
- package/sdk/atoms/spec/configurator/configurator.atom.js +3 -2
- package/sdk/atoms/spec/configurator/configurator.atom.js.map +1 -1
- package/sdk/atoms/spec/configurator/dashboard-wizard.atom.d.ts +1 -1
- package/sdk/atoms/spec/configurator/dashboard-wizard.atom.js +1 -1
- package/sdk/atoms/spec/configurator/dashboard-wizard.atom.js.map +1 -1
- package/sdk/atoms/spec/dashboard.atom.js +3 -2
- package/sdk/atoms/spec/dashboard.atom.js.map +1 -1
- package/sdk/atoms/spec/drilldown.atom.d.ts +1 -1
- package/sdk/atoms/spec/drilldown.atom.js +1 -1
- package/sdk/atoms/spec/drilldown.atom.js.map +1 -1
- package/sdk/atoms/spec/proportional-widget.atom.d.ts +1 -1
- package/sdk/atoms/spec/proportional-widget.atom.js +6 -2
- package/sdk/atoms/spec/proportional-widget.atom.js.map +1 -1
- package/sdk/atoms/spec/test.po.js +1 -1
- package/sdk/atoms/spec/test.po.js.map +1 -1
- package/sdk/atoms/spec/virtual-dashboards/drilldown-widget-test/data-mock.js +2620 -2620
- package/sdk/atoms/spec/virtual-dashboards/drilldown-widget-test/data-mock.js.map +1 -1
- package/sdk/atoms/spec/virtual-dashboards/drilldown-widget-test/drilldown-widget-test.component.d.ts +2 -2
- package/sdk/atoms/spec/virtual-dashboards/drilldown-widget-test/drilldown-widget-test.component.js +24 -20
- 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 +28 -14
- 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 +1 -1
- package/sdk/atoms/spec/widget-header.atom.js.map +1 -1
- package/sdk/atoms/src/lib/common/common.module.js +4 -17
- 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 -1
- 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.d.ts +1 -1
- package/sdk/atoms/src/lib/common/components/widget-error/widget-error.component.js.map +1 -1
- package/sdk/atoms/src/lib/common/pipes/dashboard-unit-conversion-pipe.js +4 -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 +17 -7
- package/sdk/atoms/src/lib/components/dashboard/dashboard.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/dashboard/default-gridster-config.js.map +1 -1
- package/sdk/atoms/src/lib/components/dashboard/types.d.ts +1 -1
- package/sdk/atoms/src/lib/components/embedded-content/embedded-content.component.js +9 -3
- package/sdk/atoms/src/lib/components/embedded-content/embedded-content.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/kpi-widget/kpi.component.js +12 -6
- package/sdk/atoms/src/lib/components/kpi-widget/kpi.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/layouts/base-layout.d.ts +1 -1
- package/sdk/atoms/src/lib/components/layouts/base-layout.js +22 -12
- package/sdk/atoms/src/lib/components/layouts/base-layout.js.map +1 -1
- package/sdk/atoms/src/lib/components/layouts/stack/stack.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/layouts/tiles/tiles.component.js +1 -1
- 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-leaf-item/list-leaf-item.component.d.ts +1 -1
- package/sdk/atoms/src/lib/components/list-widget/list-elements/list-leaf-item/list-leaf-item.component.js +4 -2
- 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 +5 -1
- package/sdk/atoms/src/lib/components/list-widget/list-elements/list-navigation-bar/list-navigation-bar.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/list-widget/list-widget.component.js +4 -2
- 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.map +1 -1
- package/sdk/atoms/src/lib/components/proportional-widget/proportional-donut-content/proportional-donut-content.component.js +7 -5
- 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 +54 -27
- package/sdk/atoms/src/lib/components/proportional-widget/proportional-widget.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/proportional-widget/types.d.ts +2 -2
- package/sdk/atoms/src/lib/components/proportional-widget/types.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 +16 -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.js +3 -2
- 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 +3 -2
- 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 +6 -2
- package/sdk/atoms/src/lib/components/providers/interaction/interaction-handler.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/interaction/url-interaction-handler.js +4 -2
- 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 +2 -1
- package/sdk/atoms/src/lib/components/providers/kpi-color-prioritizer.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/kpi-data-source-adapter.js +16 -6
- package/sdk/atoms/src/lib/components/providers/kpi-data-source-adapter.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/kpi-scale-sync-broker.js +18 -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.js +11 -5
- 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 +3 -2
- package/sdk/atoms/src/lib/components/providers/loading-adapter.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/pizzagna-broadcaster.service.js +1 -2
- 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.map +1 -1
- package/sdk/atoms/src/lib/components/providers/refresher.d.ts +1 -1
- package/sdk/atoms/src/lib/components/providers/refresher.js +11 -5
- 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 +8 -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.js +5 -3
- package/sdk/atoms/src/lib/components/providers/table-data-source-adapter.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/timeseries-data-source-adapter.js +3 -3
- package/sdk/atoms/src/lib/components/providers/timeseries-data-source-adapter.js.map +1 -1
- package/sdk/atoms/src/lib/components/table-widget/addons/search-feature-addon.service.js +10 -5
- 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 +22 -9
- 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/table-widget.component.d.ts +2 -2
- package/sdk/atoms/src/lib/components/table-widget/table-widget.component.js +53 -32
- package/sdk/atoms/src/lib/components/table-widget/table-widget.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/time-frame-selection/timeframe-selection.component.d.ts +1 -1
- package/sdk/atoms/src/lib/components/time-frame-selection/timeframe-selection.component.js +8 -5
- 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 +10 -7
- 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 +20 -13
- 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.d.ts +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/timeseries-chart.component.js +10 -5
- 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.map +1 -1
- 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 -1
- 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.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/xy-chart.component.js +16 -8
- 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 +15 -5
- 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-scales.service.js +3 -2
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-scales.service.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-widget.component.js +2 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-widget.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/types.js.map +1 -1
- package/sdk/atoms/src/lib/components/types.js.map +1 -1
- package/sdk/atoms/src/lib/components/widget/widget-body/widget-body.component.js +4 -3
- package/sdk/atoms/src/lib/components/widget/widget-body/widget-body.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/widget/widget-body-content/widget-body-content.component.js +2 -1
- package/sdk/atoms/src/lib/components/widget/widget-body-content/widget-body-content.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/widget/widget-header/widget-header.component.js +7 -4
- package/sdk/atoms/src/lib/components/widget/widget-header/widget-header.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/widget/widget.component.js +5 -5
- package/sdk/atoms/src/lib/components/widget/widget.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/widget-search/widget-search.component.d.ts +1 -1
- package/sdk/atoms/src/lib/components/widget-search/widget-search.component.js +3 -2
- package/sdk/atoms/src/lib/components/widget-search/widget-search.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/color-picker/color-picker.component.js +20 -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.d.ts +1 -1
- package/sdk/atoms/src/lib/configurator/components/configurator/configurator.component.js +9 -4
- 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.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/form-stack/form-stack.component.js +1 -1
- 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 +4 -1
- 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 +17 -14
- 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 +20 -13
- 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 +4 -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 +16 -4
- 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 +17 -5
- package/sdk/atoms/src/lib/configurator/components/formatters/link-formatter/link-formatter.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/formatters/percentage-formatter/percentage-formatter.component.js +1 -4
- package/sdk/atoms/src/lib/configurator/components/formatters/percentage-formatter/percentage-formatter.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/formatters/raw-formatter/raw-formatter.component.js +1 -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 +10 -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 +34 -17
- package/sdk/atoms/src/lib/configurator/components/formatters/status-with-icon-formatter/status-with-icon-formatter.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/formatters/widget-formatter-configurators/donut-formatter-configurator.component.js +2 -3
- package/sdk/atoms/src/lib/configurator/components/formatters/widget-formatter-configurators/donut-formatter-configurator.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/heading/configurator-heading.component.js +2 -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 +5 -5
- package/sdk/atoms/src/lib/configurator/components/items-dynamic/items-dynamic.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widget-cloner/widget-cloner.component.d.ts +1 -1
- package/sdk/atoms/src/lib/configurator/components/widget-cloner/widget-cloner.component.js +11 -4
- 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 +5 -3
- package/sdk/atoms/src/lib/configurator/components/widget-configurator-section/widget-configurator-section-coordinator.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widget-configurator-section/widget-configurator-section.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widget-editor/widget-editor.component.js +10 -4
- 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.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 +14 -6
- 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.d.ts +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/data-source-configuration/data-source-configuration.component.js +9 -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.d.ts +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/data-source-configuration-v2/data-source-configuration-v2.component.js +26 -12
- 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.d.ts +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/data-source-error/data-source-error.component.js +2 -2
- 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.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/embedded-content-configuration/embedded-content-configuration.component.js +2 -1
- 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.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/kpi-description-configuration/kpi-description-configuration.component.js +12 -7
- 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 +7 -12
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/refresh-rate-configurator.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/time-units.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresher-configuration.component.js +23 -7
- 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/thresholds-configuration/thresholds-configuration.component.js +15 -5
- 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 +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/thresholds-configuration/thresholds-validator.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/timeseries-metadata-configuration/timeseries-metadata-configuration.component.d.ts +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/timeseries-metadata-configuration/timeseries-metadata-configuration.component.js +28 -12
- 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.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/drilldown/entity-formatting-configuration/entity-formatting-configuration.component.js +9 -6
- 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 +16 -11
- 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.d.ts +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/kpi/kpi-tiles-configuration/kpi-tiles-configuration.component.js +9 -7
- 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 +3 -2
- 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 -5
- 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.d.ts +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/proportional/chart-options-editor/proportional-chart-options-editor.component.js +29 -15
- 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.d.ts +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/proportional/chart-options-editor-v2/proportional-chart-options-editor-v2.component.js +2 -1
- 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 +13 -10
- 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/table/columns-editor/column-configuration/description-configuration/description-configuration.component.js +2 -1
- 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 +12 -10
- 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.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.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/presentation-configuration.component.js +40 -18
- 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.d.ts +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/table-columns-configuration.component.js +33 -20
- 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 +4 -4
- 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 +41 -23
- 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 +8 -7
- 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.d.ts +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor-v2/table-columns-configuration-v2.component.js +15 -11
- 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 +13 -8
- 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/timeseries/timeseries-series-collection-configuration/timeseries-series-collection-configuration.component.d.ts +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/timeseries/timeseries-series-collection-configuration/timeseries-series-collection-configuration.component.js +3 -3
- package/sdk/atoms/src/lib/configurator/components/widgets/timeseries/timeseries-series-collection-configuration/timeseries-series-collection-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/timeseries/timeseries-tile-description-configuration/timeseries-tile-description-configuration.component.js +2 -1
- 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 +5 -3
- package/sdk/atoms/src/lib/configurator/components/widgets/timeseries/timeseries-tile-indicator-data-configuration/timeseries-tile-indicator-data-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/wizard/dashwiz/dashwiz-buttons.component.js +37 -29
- 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 +1 -1
- package/sdk/atoms/src/lib/configurator/components/wizard/dashwiz/dashwiz.component.js +19 -10
- 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.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/wizard/dashwiz/model.d.ts +1 -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 +5 -7
- package/sdk/atoms/src/lib/configurator/configurator.module.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/functions/has-control-in-error-state.js +1 -1
- package/sdk/atoms/src/lib/configurator/functions/has-control-in-error-state.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/pipe/add-data.pipe.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/pipe/pizzagna-root.pipe.d.ts +1 -1
- 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.map +1 -1
- package/sdk/atoms/src/lib/configurator/pipe/widget-editor-accordion-form-state.pipe.js +3 -2
- package/sdk/atoms/src/lib/configurator/pipe/widget-editor-accordion-form-state.pipe.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/pipe/widget-editor-accordion-header-icon.pipe.js +1 -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.d.ts +3 -3
- package/sdk/atoms/src/lib/configurator/services/configurator-data-source-manager.service.js +5 -3
- package/sdk/atoms/src/lib/configurator/services/configurator-data-source-manager.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/configurator-heading.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/configurator.service.d.ts +2 -2
- package/sdk/atoms/src/lib/configurator/services/configurator.service.js +15 -8
- package/sdk/atoms/src/lib/configurator/services/configurator.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/base-converter.d.ts +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/base-converter.js +4 -2
- package/sdk/atoms/src/lib/configurator/services/converters/base-converter.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/kpi/kpi-section-converter/kpi-section-converter.service.js +2 -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 +10 -10
- 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 +3 -3
- package/sdk/atoms/src/lib/configurator/services/converters/proportional/proportional-widget-chart-options-converter.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/shared/generic-array-converter/generic-array-converter.service.js +4 -4
- package/sdk/atoms/src/lib/configurator/services/converters/shared/generic-array-converter/generic-array-converter.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/shared/generic-converter/generic-converter.service.js +2 -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.js +2 -4
- 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 +19 -9
- package/sdk/atoms/src/lib/configurator/services/converters/table/table-columns-converter.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/table/table-filters-converter.service.js +2 -2
- 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/timeseries/timeseries-metadata-converter.service.js +6 -6
- 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 +13 -10
- 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 +4 -4
- 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/converters/types.js.map +1 -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.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/timeframe-serialization.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/types.d.ts +2 -2
- package/sdk/atoms/src/lib/configurator/services/widget-cloner.service.js +2 -1
- package/sdk/atoms/src/lib/configurator/services/widget-cloner.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/widget-editor.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/types.js +1 -1
- package/sdk/atoms/src/lib/configurator/types.js.map +1 -1
- package/sdk/atoms/src/lib/constants/default-palette.js +9 -4
- package/sdk/atoms/src/lib/constants/default-palette.js.map +1 -1
- package/sdk/atoms/src/lib/dashboards.module.js +1 -1
- package/sdk/atoms/src/lib/dashboards.module.js.map +1 -1
- package/sdk/atoms/src/lib/directives/gridster-item-widget-id/gridster-item-widget-id.directive.js.map +1 -1
- package/sdk/atoms/src/lib/directives/widget-editor/widget-editor.directive.d.ts +1 -1
- package/sdk/atoms/src/lib/directives/widget-editor/widget-editor.directive.js +14 -6
- 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 -3
- package/sdk/atoms/src/lib/functions/get-parent-component-id.js.map +1 -1
- package/sdk/atoms/src/lib/functions/map-data-to-formatter-properties.js.map +1 -1
- package/sdk/atoms/src/lib/functions/merge-changes.js +19 -8
- package/sdk/atoms/src/lib/functions/merge-changes.js.map +1 -1
- package/sdk/atoms/src/lib/functions/on-mark-as-touched.js.map +1 -1
- package/sdk/atoms/src/lib/functions/parse-string-with-data.js.map +1 -1
- package/sdk/atoms/src/lib/functions/proportional-aggregators/field-mapper.js +1 -1
- package/sdk/atoms/src/lib/functions/proportional-aggregators/field-mapper.js.map +1 -1
- package/sdk/atoms/src/lib/functions/proportional-aggregators/percentage-aggregator.js +3 -5
- package/sdk/atoms/src/lib/functions/proportional-aggregators/percentage-aggregator.js.map +1 -1
- package/sdk/atoms/src/lib/functions/proportional-aggregators/sum-aggregator.js +2 -2
- package/sdk/atoms/src/lib/functions/proportional-aggregators/sum-aggregator.js.map +1 -1
- package/sdk/atoms/src/lib/pizzagna/components/pizzagna/pizzagna.component.js +12 -4
- 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 +25 -12
- 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 +3 -13
- package/sdk/atoms/src/lib/pizzagna/pizzagna.module.js.map +1 -1
- package/sdk/atoms/src/lib/pizzagna/services/component-portal.service.js +5 -1
- package/sdk/atoms/src/lib/pizzagna/services/component-portal.service.js.map +1 -1
- package/sdk/atoms/src/lib/pizzagna/services/component-registry.service.js +4 -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 +3 -3
- package/sdk/atoms/src/lib/pizzagna/services/dynamic-component-creator.service.js.map +1 -1
- package/sdk/atoms/src/lib/pizzagna/services/pizzagna.service.d.ts +1 -1
- package/sdk/atoms/src/lib/pizzagna/services/pizzagna.service.js +30 -12
- package/sdk/atoms/src/lib/pizzagna/services/pizzagna.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/category-chart-util.service.js +13 -6
- package/sdk/atoms/src/lib/services/category-chart-util.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/event-registry.service.js +4 -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.map +1 -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 +50 -9
- package/sdk/atoms/src/lib/services/provider-registry.service.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 +5 -3
- 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.map +1 -1
- package/sdk/atoms/src/lib/services/types.js +1 -1
- package/sdk/atoms/src/lib/services/types.js.map +1 -1
- package/sdk/atoms/src/lib/services/unit-test-registry.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/url-interaction.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/widget-removal.service.d.ts +1 -1
- package/sdk/atoms/src/lib/services/widget-removal.service.js +2 -2
- 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 +12 -6
- 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 +15 -5
- package/sdk/atoms/src/lib/services/widget-types.service.js.map +1 -1
- package/sdk/atoms/src/lib/types.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/common/configurator/components.js +5 -1
- package/sdk/atoms/src/lib/widget-types/common/configurator/components.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/common/widget/components.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/common/widget/legend.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/common/widget/providers.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/drilldown/drilldown-configurator.js +1 -4
- package/sdk/atoms/src/lib/widget-types/drilldown/drilldown-configurator.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/drilldown/drilldown-widget.js +2 -10
- package/sdk/atoms/src/lib/widget-types/drilldown/drilldown-widget.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/drilldown/drilldown.js +5 -5
- package/sdk/atoms/src/lib/widget-types/drilldown/drilldown.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/embedded-content/embedded-content-configurator.js +1 -4
- package/sdk/atoms/src/lib/widget-types/embedded-content/embedded-content-configurator.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/embedded-content/embedded-content-widget.js +1 -5
- 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 +5 -5
- package/sdk/atoms/src/lib/widget-types/embedded-content/embedded-content.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/kpi/kpi-configurator.js +16 -9
- package/sdk/atoms/src/lib/widget-types/kpi/kpi-configurator.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/kpi/kpi-widget.js +9 -13
- package/sdk/atoms/src/lib/widget-types/kpi/kpi-widget.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/kpi/kpi.js +5 -5
- package/sdk/atoms/src/lib/widget-types/kpi/kpi.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/preview-placeholder.js +3 -6
- package/sdk/atoms/src/lib/widget-types/preview-placeholder.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/proportional/donut-content-configurator-slice.js +9 -3
- package/sdk/atoms/src/lib/widget-types/proportional/donut-content-configurator-slice.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/proportional/proportional-configurator.d.ts +1 -1
- package/sdk/atoms/src/lib/widget-types/proportional/proportional-configurator.js +18 -11
- package/sdk/atoms/src/lib/widget-types/proportional/proportional-configurator.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/proportional/proportional-widget.js +1 -5
- package/sdk/atoms/src/lib/widget-types/proportional/proportional-widget.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/proportional/proportional.js +5 -5
- package/sdk/atoms/src/lib/widget-types/proportional/proportional.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/public-api.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/table/default-table-formatters.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/table/table-configurator.js +1 -1
- 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 +2 -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 +3 -3
- package/sdk/atoms/src/lib/widget-types/table/table.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/timeseries/timeseries-configurator.js +4 -11
- package/sdk/atoms/src/lib/widget-types/timeseries/timeseries-configurator.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/timeseries/timeseries-widget.js +4 -9
- package/sdk/atoms/src/lib/widget-types/timeseries/timeseries-widget.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/timeseries/timeseries.js +5 -5
- package/sdk/atoms/src/lib/widget-types/timeseries/timeseries.js.map +1 -1
- package/sdk/locale/messages.en.xlf +415 -403
|
@@ -38,13 +38,13 @@ let FormatterConfiguratorComponent = class FormatterConfiguratorComponent {
|
|
|
38
38
|
this.dropdownItems = Object.keys(this.formatterDefinition.dataTypes).reduce((result, next) => {
|
|
39
39
|
const allowedDataTypes = this.formatterDefinition.dataTypes[next];
|
|
40
40
|
result[next] = allowedDataTypes
|
|
41
|
-
? this.dataFields.filter(df =>
|
|
41
|
+
? this.dataFields.filter((df) =>
|
|
42
42
|
// dataTypes could be a string or an array of strings, so we're checking that here
|
|
43
|
-
typeof allowedDataTypes === "string"
|
|
44
|
-
df.dataType === allowedDataTypes
|
|
45
|
-
allowedDataTypes.includes(df.dataType))
|
|
46
|
-
// if no data types are defined then just include all the fields
|
|
47
|
-
|
|
43
|
+
typeof allowedDataTypes === "string"
|
|
44
|
+
? df.dataType === allowedDataTypes
|
|
45
|
+
: allowedDataTypes.includes(df.dataType))
|
|
46
|
+
: // if no data types are defined then just include all the fields
|
|
47
|
+
this.dataFields;
|
|
48
48
|
return result;
|
|
49
49
|
}, {});
|
|
50
50
|
}
|
|
@@ -63,22 +63,24 @@ let FormatterConfiguratorComponent = class FormatterConfiguratorComponent {
|
|
|
63
63
|
return result;
|
|
64
64
|
}, {});
|
|
65
65
|
this.form = this.formBuilder.group({
|
|
66
|
-
|
|
66
|
+
dataFieldIds: this.formBuilder.group(dataFieldForm),
|
|
67
67
|
});
|
|
68
68
|
this.addCustomFormControls(this.form);
|
|
69
69
|
this.formReady.emit(this.form);
|
|
70
70
|
}
|
|
71
71
|
updateForm() {
|
|
72
72
|
var _a;
|
|
73
|
-
this.form.patchValue((_a = this.formatter.properties) !== null && _a !== void 0 ? _a : {}, {
|
|
73
|
+
this.form.patchValue((_a = this.formatter.properties) !== null && _a !== void 0 ? _a : {}, {
|
|
74
|
+
onlySelf: false,
|
|
75
|
+
emitEvent: false,
|
|
76
|
+
});
|
|
74
77
|
}
|
|
75
78
|
/**
|
|
76
79
|
* Add your custom form controls here
|
|
77
80
|
*
|
|
78
81
|
* @param form
|
|
79
82
|
*/
|
|
80
|
-
addCustomFormControls(form) {
|
|
81
|
-
}
|
|
83
|
+
addCustomFormControls(form) { }
|
|
82
84
|
};
|
|
83
85
|
tslib_1.__decorate([
|
|
84
86
|
core_1.Input(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"formatter-configurator.component.js","sourceRoot":"","sources":["../../../../../../../../../../../../../src/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/formatter-configurator.component.ts"],"names":[],"mappings":";;;;AAAA,
|
|
1
|
+
{"version":3,"file":"formatter-configurator.component.js","sourceRoot":"","sources":["../../../../../../../../../../../../../src/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/formatter-configurator.component.ts"],"names":[],"mappings":";;;;AAAA,wCAQuB;AACvB,0CAAoE;AAEpE,wCAA0D;AAQ1D,6GAAwG;AAGxG,IAAsB,8BAA8B,GAApD,MAAsB,8BAA8B;IAahD,YACW,cAAiC,EACjC,mBAA+C,EAC5C,WAAwB,EAC3B,MAAqB;QAHrB,mBAAc,GAAd,cAAc,CAAmB;QACjC,wBAAmB,GAAnB,mBAAmB,CAA4B;QAC5C,gBAAW,GAAX,WAAW,CAAa;QAC3B,WAAM,GAAN,MAAM,CAAe;QATtB,cAAS,GAAG,IAAI,mBAAY,EAAa,CAAC;QAG7C,kBAAa,GAAiC,EAAE,CAAC;IAOrD,CAAC;IAEG,WAAW,CAAC,OAAsB;QACrC,IAAI,OAAO,CAAC,mBAAmB,EAAE;YAC7B,IAAI,CAAC,gBAAgB,EAAE,CAAC;YACxB,IAAI,CAAC,QAAQ,EAAE,CAAC;SACnB;QACD,IAAI,OAAO,CAAC,U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ceRoot":"","sources":["../../../../../../../../../../../../../../src/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/link-configurator/link-configurator.component.ts"],"names":[],"mappings":";;;;AAAA,wCAA6D;AAC7D,0CAAyD;AAEzD,wCAA8C;AAG9C,gHAA2G;
|
|
1
|
+
{"version":3,"file":"link-configurator.component.js","sourceRoot":"","sources":["../../../../../../../../../../../../../../src/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/link-configurator/link-configurator.component.ts"],"names":[],"mappings":";;;;AAAA,wCAA6D;AAC7D,0CAAyD;AAEzD,wCAA8C;AAG9C,gHAA2G;AAC3G,0FAAqF;AAMrF,IAAa,yBAAyB,GAAtC,MAAa,yBACT,SAAQ,iEAA8B;IAKtC,YACI,cAAiC,EACjC,mBAA+C,EAC/C,WAAwB,EACxB,MAAqB;QAErB,KAAK,CAAC,cAAc,EAAE,mBAAmB,EAAE,WAAW,EAAE,MAAM,CAAC,CAAC;IACpE,CAAC;IAEM,QAAQ;QACX,MAAM,aAAa,GAAwB;YACvC,IAAI,EAAE,CAAC,IAAI,EAAE,kBAAU,CAAC,QAAQ,CAAC;YACjC,KAAK,EAAE,CAAC,IAAI,EAAE,kBAAU,CAAC,QAAQ,CAAC;SACrC,CAAC;QAEF,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC;YAC/B,YAAY,EAAE,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,aAAa,CAAC;YACnD,UAAU,EAAE,CAAC,KAAK,CAAC;SACtB,CAAC,CAAC;QAEH,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACnC,CAAC;CACJ,CAAA;AAxBiB,qCAAW,GAAG,2BAA2B,CAAC;AAJ/C,yBAAyB;IAJrC,gBAAS,CAAC;QACP,QAAQ,EAAE,uBAAuB;QACjC,WAAW,EAAE,oCAAoC;KACpD,CAAC;6CAQsB,wBAAiB;QACZ,yDAA0B;QAClC,mBAAW;QAChB,oBAAa;GAVhB,yBAAyB,CA4BrC;AA5BY,8DAAyB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"value-selector.component.js","sourceRoot":"","sources":["../../../../../../../../../../../../../../src/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/value-selector/value-selector.component.ts"],"names":[],"mappings":";;;;AAAA,wCAA6D;AAC7D,0CAA6C;
|
|
1
|
+
{"version":3,"file":"value-selector.component.js","sourceRoot":"","sources":["../../../../../../../../../../../../../../src/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/value-selector/value-selector.component.ts"],"names":[],"mappings":";;;;AAAA,wCAA6D;AAC7D,0CAA6C;AAE7C,wCAA8C;AAE9C,gHAA2G;AAC3G,0FAAqF;AAErF,cAAc;AAKd,IAAa,sBAAsB,GAAnC,MAAa,sBAAuB,SAAQ,iEAA8B;IAGtE,YACI,cAAiC,EACjC,mBAA+C,EAC/C,WAAwB,EACxB,MAAqB;QAErB,KAAK,CAAC,cAAc,EAAE,mBAAmB,EAAE,WAAW,EAAE,MAAM,CAAC,CAAC;IACpE,CAAC;CACJ,CAAA;AAVU,kCAAW,GAAG,wBAAwB,CAAC;AADrC,sBAAsB;IAJlC,gBAAS,CAAC;QACP,QAAQ,EAAE,oBAAoB;QAC9B,WAAW,EAAE,iCAAiC;KACjD,CAAC;6CAKsB,wBAAiB;QACZ,yDAA0B;QAClC,mBAAW;QAChB,oBAAa;GAPhB,sBAAsB,CAWlC;AAXY,wDAAsB"}
|
|
@@ -53,13 +53,19 @@ let PresentationConfigurationComponent = class PresentationConfigurationComponen
|
|
|
53
53
|
ngOnInit() {
|
|
54
54
|
var _a;
|
|
55
55
|
this.formatterForm = this.formBuilder.group({
|
|
56
|
-
|
|
57
|
-
|
|
56
|
+
componentType: [
|
|
57
|
+
(this.formatter && this.formatter.componentType) ||
|
|
58
|
+
(this._providedFormatters &&
|
|
59
|
+
this._providedFormatters.length > 0 &&
|
|
60
|
+
this._providedFormatters[0].componentType),
|
|
61
|
+
[forms_1.Validators.required],
|
|
62
|
+
],
|
|
58
63
|
});
|
|
59
64
|
this.form = this.formBuilder.group({
|
|
60
65
|
[this.formatterFormGroupName]: this.formatterForm,
|
|
61
66
|
});
|
|
62
|
-
(_a = this.formatterForm
|
|
67
|
+
(_a = this.formatterForm
|
|
68
|
+
.get("componentType")) === null || _a === void 0 ? void 0 : _a.valueChanges.pipe(operators_1.takeUntil(this.onDestroy$)).subscribe(() => this.createFormatterConfigurator());
|
|
63
69
|
this.createFormatterConfigurator();
|
|
64
70
|
this.formReady.emit(this.form);
|
|
65
71
|
this.formatterForm.valueChanges
|
|
@@ -69,8 +75,7 @@ let PresentationConfigurationComponent = class PresentationConfigurationComponen
|
|
|
69
75
|
this.changeDetector.detectChanges();
|
|
70
76
|
});
|
|
71
77
|
}
|
|
72
|
-
ngAfterViewInit() {
|
|
73
|
-
}
|
|
78
|
+
ngAfterViewInit() { }
|
|
74
79
|
ngOnChanges(changes) {
|
|
75
80
|
var _a;
|
|
76
81
|
if (changes.dataFieldIds) {
|
|
@@ -85,10 +90,14 @@ let PresentationConfigurationComponent = class PresentationConfigurationComponen
|
|
|
85
90
|
}
|
|
86
91
|
}
|
|
87
92
|
if (changes.formatter) {
|
|
88
|
-
(_a = this.form) === null || _a === void 0 ? void 0 : _a.patchValue({
|
|
93
|
+
(_a = this.form) === null || _a === void 0 ? void 0 : _a.patchValue({
|
|
94
|
+
[this.formatterFormGroupName]: changes.formatter.currentValue,
|
|
95
|
+
}, { emitEvent: false });
|
|
89
96
|
this.updateSubtitle();
|
|
90
97
|
}
|
|
91
|
-
if (changes.dataFields &&
|
|
98
|
+
if (changes.dataFields &&
|
|
99
|
+
changes.dataFields.previousValue.length === 0 &&
|
|
100
|
+
this.formatterForm) {
|
|
92
101
|
this.updateSubtitle();
|
|
93
102
|
}
|
|
94
103
|
}
|
|
@@ -96,16 +105,18 @@ let PresentationConfigurationComponent = class PresentationConfigurationComponen
|
|
|
96
105
|
var _a, _b;
|
|
97
106
|
if (this._providedFormatters.length > 0) {
|
|
98
107
|
const formatterId = (_a = this.formatterForm.get("componentType")) === null || _a === void 0 ? void 0 : _a.value;
|
|
99
|
-
return (_b = this._providedFormatters.find(formatter => formatter.componentType === formatterId)) !== null && _b !== void 0 ? _b : null;
|
|
108
|
+
return ((_b = this._providedFormatters.find((formatter) => formatter.componentType === formatterId)) !== null && _b !== void 0 ? _b : null);
|
|
100
109
|
}
|
|
101
110
|
return null;
|
|
102
111
|
}
|
|
103
112
|
getSelectedDataField() {
|
|
104
113
|
var _a, _b;
|
|
105
114
|
const propertiesControl = this.formatterForm.controls["properties"];
|
|
106
|
-
if (propertiesControl &&
|
|
115
|
+
if (propertiesControl &&
|
|
116
|
+
this.dataFields &&
|
|
117
|
+
this.dataFields.length > 0) {
|
|
107
118
|
const dataFieldId = (_a = propertiesControl.get("dataFieldIds")) === null || _a === void 0 ? void 0 : _a.value.value;
|
|
108
|
-
return (_b = this.dataFields.find(dataField => dataField.id === dataFieldId)) !== null && _b !== void 0 ? _b : null;
|
|
119
|
+
return ((_b = this.dataFields.find((dataField) => dataField.id === dataFieldId)) !== null && _b !== void 0 ? _b : null);
|
|
109
120
|
}
|
|
110
121
|
return null;
|
|
111
122
|
}
|
|
@@ -125,17 +136,24 @@ let PresentationConfigurationComponent = class PresentationConfigurationComponen
|
|
|
125
136
|
*/
|
|
126
137
|
createFormatterConfigurator() {
|
|
127
138
|
var _a, _b, _c, _d;
|
|
128
|
-
const formatterDefinition = this._providedFormatters.find(formatter => {
|
|
139
|
+
const formatterDefinition = this._providedFormatters.find((formatter) => {
|
|
140
|
+
var _a;
|
|
141
|
+
return formatter.componentType ===
|
|
142
|
+
((_a = this.formatterForm.get("componentType")) === null || _a === void 0 ? void 0 : _a.value);
|
|
143
|
+
});
|
|
129
144
|
// if configurationComponent property is present in formatters configuration, use it to render portal,
|
|
130
145
|
// otherwise, use default ValueSelectorComponent
|
|
131
146
|
if (formatterDefinition) {
|
|
132
|
-
this.formatterConfigurator =
|
|
147
|
+
this.formatterConfigurator =
|
|
148
|
+
(_a = formatterDefinition.configurationComponent) !== null && _a !== void 0 ? _a : "ValueSelectorComponent";
|
|
133
149
|
}
|
|
134
150
|
else {
|
|
135
151
|
this.formatterConfigurator = null;
|
|
136
152
|
}
|
|
137
153
|
// if the currently selected component doesn't match the original value from the input then we reset the form values
|
|
138
|
-
if ((formatterDefinition === null || formatterDefinition === void 0 ? void 0 : formatterDefinition.componentType) !==
|
|
154
|
+
if ((formatterDefinition === null || formatterDefinition === void 0 ? void 0 : formatterDefinition.componentType) !==
|
|
155
|
+
((_b = this.formatter) === null || _b === void 0 ? void 0 : _b.componentType) &&
|
|
156
|
+
((_d = (_c = this.formatter) === null || _c === void 0 ? void 0 : _c.properties) === null || _d === void 0 ? void 0 : _d.dataFieldIds)) {
|
|
139
157
|
this.formatter.properties.dataFieldIds = { value: null };
|
|
140
158
|
}
|
|
141
159
|
this.formatterConfiguratorProps = {
|
|
@@ -151,13 +169,13 @@ let PresentationConfigurationComponent = class PresentationConfigurationComponen
|
|
|
151
169
|
}
|
|
152
170
|
// allow by default RawFormatter which has null as dataType
|
|
153
171
|
const sourceDataTypes = { null: true };
|
|
154
|
-
this._dataFields.forEach(f => sourceDataTypes[f.dataType] = true);
|
|
172
|
+
this._dataFields.forEach((f) => (sourceDataTypes[f.dataType] = true));
|
|
155
173
|
this._formatters = this._providedFormatters.filter((f) => {
|
|
156
174
|
// cast to array in case we have a single value
|
|
157
175
|
const formatterDataTypes = f.dataTypes.value instanceof Array
|
|
158
176
|
? f.dataTypes.value
|
|
159
177
|
: [f.dataTypes.value];
|
|
160
|
-
return formatterDataTypes.some(v => sourceDataTypes[v]);
|
|
178
|
+
return formatterDataTypes.some((v) => sourceDataTypes[v]);
|
|
161
179
|
});
|
|
162
180
|
if (this.formatterForm) {
|
|
163
181
|
this.createFormatterConfigurator();
|
|
@@ -165,7 +183,9 @@ let PresentationConfigurationComponent = class PresentationConfigurationComponen
|
|
|
165
183
|
}
|
|
166
184
|
subscribeToFormattersRegistry() {
|
|
167
185
|
this.handleFormattersUpdate(this.formattersRegistry.getItems());
|
|
168
|
-
this.formattersRegistry.stateChanged
|
|
186
|
+
this.formattersRegistry.stateChanged$
|
|
187
|
+
.pipe(operators_1.tap(this.handleFormattersUpdate.bind(this)), operators_1.takeUntil(this.onDestroy$))
|
|
188
|
+
.subscribe();
|
|
169
189
|
}
|
|
170
190
|
handleFormattersUpdate(formatters) {
|
|
171
191
|
if (formatters !== this._providedFormatters) {
|
|
@@ -179,7 +199,7 @@ let PresentationConfigurationComponent = class PresentationConfigurationComponen
|
|
|
179
199
|
* nothing should go wrong, but in case "FORMATTERS_REGISTRY" is lost, get table registry
|
|
180
200
|
*/
|
|
181
201
|
get formattersRegistry() {
|
|
182
|
-
return this.formattersRegistryCommon || this.tableFormattersRegistryService;
|
|
202
|
+
return (this.formattersRegistryCommon || this.tableFormattersRegistryService);
|
|
183
203
|
}
|
|
184
204
|
ngOnDestroy() {
|
|
185
205
|
this.formDestroy.emit(this.form);
|
|
@@ -219,7 +239,9 @@ PresentationConfigurationComponent = tslib_1.__decorate([
|
|
|
219
239
|
selector: "nui-table-column-presentation-configuration",
|
|
220
240
|
templateUrl: "./presentation-configuration.component.html",
|
|
221
241
|
styleUrls: ["./presentation-configuration.component.less"],
|
|
222
|
-
viewProviders: [
|
|
242
|
+
viewProviders: [
|
|
243
|
+
{ provide: forms_1.ControlContainer, useExisting: forms_1.FormGroupDirective },
|
|
244
|
+
],
|
|
223
245
|
changeDetection: core_1.ChangeDetectionStrategy.OnPush,
|
|
224
246
|
}),
|
|
225
247
|
tslib_1.__param(3, core_1.Optional()),
|
|
@@ -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,wCAcuB;AACvB,
|
|
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,wCAcuB;AACvB,0CAMwB;AACxB,2EAA2C;AAC3C,+BAA+B;AAC/B,8CAAgD;AAShD,qHAGwE;AACxE,sDAGoC;AACpC,0GAAqG;AAWrG,IAAa,kCAAkC,GAA/C,MAAa,kCAAkC;IAkD3C,YACY,WAAwB,EACzB,cAAiC,EACjC,mBAA+C,EAG9C,wBAAkD;IAC1D,sCAAsC;IACtC;;OAEG;IACK,8BAA6D;QAV7D,gBAAW,GAAX,WAAW,CAAa;QACzB,mBAAc,GAAd,cAAc,CAAmB;QACjC,wBAAmB,GAAnB,mBAAmB,CAA4B;QAG9C,6BAAwB,GAAxB,wBAAwB,CAA0B;QAKlD,mCAA8B,GAA9B,8BAA8B,CAA+B;QAxDjE,wBAAmB,GAAgC,EAAE,CAAC;QACtD,gBAAW,GAAgC,EAAE,CAAC;QAmB9C,gBAAW,GAAsB,EAAE,CAAC;QAWlC,cAAS,GACf,IAAI,mBAAY,EAAa,CAAC;QACxB,gBAAW,GACjB,IAAI,mBAAY,EAAa,CAAC;QAG3B,kBAAa,GAAc,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;QAI7C,2BAAsB,GAAG,WAAW,CAAC;QAE7C,eAAU,GAAkB,IAAI,cAAO,EAAE,CAAC;QAe9C,IAAI,CAAC,6BAA6B,EAAE,CAAC;IACzC,CAAC;IAtDD,IAAW,UAAU,CAAC,UAAuC;QACzD,6DAA6D;QAC7D,oDAAoD;QACpD,IAAI,CAAC,IAAI,CAAC,8BAA8B,CAAC,OAAO,EAAE;YAC9C,OAAO;SACV;QACD,IAAI,CAAC,sBAAsB,CAAC,UAAU,CAAC,CAAC;IAC5C,CAA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AC;IAC/B,CAAC;CACJ,CAAA;AAhRU,8CAAW,GAAG,oCAAoC,CAAC;AAIjD;IAAR,YAAK,EAAE;;qEAAuB;AAG/B;IADC,YAAK,EAAE;sCAC0B,KAAK;6CAAL,KAAK;oEAOtC;AAMQ;IAAR,YAAK,EAAE;;wEAA+B;AAIvC;IADC,YAAK,EAAE;sCAC0B,KAAK;6CAAL,KAAK;oEAGtC;AAMS;IAAT,aAAM,EAAE;sCAAY,mBAAY;qEACC;AACxB;IAAT,aAAM,EAAE;sCAAc,mBAAY;uEACD;AAvCzB,kCAAkC;IAT9C,gBAAS,CAAC;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,eAAQ,EAAE,CAAA;IACV,mBAAA,aAAM,CAAC,2BAAmB,CAAC,CAAA;6CAJP,mBAAW;QACT,wBAAiB;QACZ,yDAA0B;QAGpB,2DAAwB;QAKlB,gEAA6B;GA7DhE,kCAAkC,CAmR9C;AAnRY,gFAAkC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ChangeDetectorRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from "@angular/core";
|
|
2
2
|
import { AbstractControl, FormBuilder, FormGroup } from "@angular/forms";
|
|
3
|
-
import { DialogService, EventBus, IDataField, IDataSource, IEvent } from "@nova-ui/bits";
|
|
4
3
|
import { Observable } from "rxjs";
|
|
4
|
+
import { DialogService, EventBus, IDataField, IDataSource, IEvent } from "@nova-ui/bits";
|
|
5
5
|
import { ITableWidgetColumnConfig } from "../../../../../components/table-widget/types";
|
|
6
6
|
import { IFormatterDefinition } from "../../../../../components/types";
|
|
7
7
|
import { PizzagnaService } from "../../../../../pizzagna/services/pizzagna.service";
|
|
@@ -4,12 +4,12 @@ exports.TableColumnsConfigurationComponent = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const core_1 = require("@angular/core");
|
|
6
6
|
const forms_1 = require("@angular/forms");
|
|
7
|
-
const bits_1 = require("@nova-ui/bits");
|
|
8
7
|
const get_1 = tslib_1.__importDefault(require("lodash/get"));
|
|
9
8
|
const isUndefined_1 = tslib_1.__importDefault(require("lodash/isUndefined"));
|
|
10
9
|
const values_1 = tslib_1.__importDefault(require("lodash/values"));
|
|
11
10
|
const rxjs_1 = require("rxjs");
|
|
12
11
|
const operators_1 = require("rxjs/operators");
|
|
12
|
+
const bits_1 = require("@nova-ui/bits");
|
|
13
13
|
const pizzagna_service_1 = require("../../../../../pizzagna/services/pizzagna.service");
|
|
14
14
|
const types_1 = require("../../../../../services/types");
|
|
15
15
|
const types_2 = require("../../../../../types");
|
|
@@ -40,11 +40,14 @@ let TableColumnsConfigurationComponent = class TableColumnsConfigurationComponen
|
|
|
40
40
|
var _a;
|
|
41
41
|
// Because typing is lenient for the data source output, the event may or may not contain an IDataSourceOutput
|
|
42
42
|
// with a result property; the payload may actually be the result itself, so both possibilities are accommodated.
|
|
43
|
-
const { dataFields } = isUndefined_1.default(event.payload.result)
|
|
43
|
+
const { dataFields } = isUndefined_1.default(event.payload.result)
|
|
44
|
+
? event.payload
|
|
45
|
+
: event.payload.result || {};
|
|
44
46
|
if (dataFields) {
|
|
45
47
|
let formPizzagna = this.pizzagnaService.pizzagna;
|
|
46
48
|
formPizzagna = bits_1.immutableSet(formPizzagna, `${types_2.PizzagnaLayer.Data}.columns.properties.dataFields`, dataFields);
|
|
47
|
-
const columnsTemplate = (_a = this.pizzagnaService.pizzagna[types_2.PizzagnaLayer.Structure]
|
|
49
|
+
const columnsTemplate = (_a = this.pizzagnaService.pizzagna[types_2.PizzagnaLayer.Structure]
|
|
50
|
+
.columns.properties) === null || _a === void 0 ? void 0 : _a.template;
|
|
48
51
|
const presentationIndex = columnsTemplate.findIndex((val) => val.id === "presentation");
|
|
49
52
|
const presentationPizzagnaPath = `${types_2.PizzagnaLayer.Structure}.columns.properties.template[${presentationIndex}].properties.dataFields`;
|
|
50
53
|
formPizzagna = bits_1.immutableSet(formPizzagna, presentationPizzagnaPath, dataFields);
|
|
@@ -52,13 +55,16 @@ let TableColumnsConfigurationComponent = class TableColumnsConfigurationComponen
|
|
|
52
55
|
const columnIds = columns.map((c) => c.id);
|
|
53
56
|
formPizzagna = columnIds.reduce((res, id) => bits_1.immutableSet(res, `${types_2.PizzagnaLayer.Data}.${id}/presentation.properties.dataFields`, dataFields), formPizzagna);
|
|
54
57
|
this.pizzagnaService.updatePizzagna(formPizzagna);
|
|
55
|
-
this.eventBus.getStream(types_1.SET_PROPERTY_VALUE)
|
|
56
|
-
|
|
58
|
+
this.eventBus.getStream(types_1.SET_PROPERTY_VALUE).next({
|
|
59
|
+
payload: {
|
|
60
|
+
path: "",
|
|
61
|
+
value: formPizzagna,
|
|
62
|
+
},
|
|
63
|
+
});
|
|
57
64
|
}
|
|
58
65
|
});
|
|
59
66
|
}
|
|
60
|
-
ngOnInit() {
|
|
61
|
-
}
|
|
67
|
+
ngOnInit() { }
|
|
62
68
|
ngOnChanges(changes) {
|
|
63
69
|
var _a, _b, _c;
|
|
64
70
|
if (changes.dataFields && changes.dataFields.currentValue) {
|
|
@@ -80,7 +86,7 @@ let TableColumnsConfigurationComponent = class TableColumnsConfigurationComponen
|
|
|
80
86
|
setTimeout(() => this.changeDetector.markForCheck());
|
|
81
87
|
}
|
|
82
88
|
if (changes.columns) {
|
|
83
|
-
const components = this.columns.map(c => ({
|
|
89
|
+
const components = this.columns.map((c) => ({
|
|
84
90
|
id: c.id,
|
|
85
91
|
children: {
|
|
86
92
|
[`${c.id}/description`]: Object.assign({}, c),
|
|
@@ -93,7 +99,8 @@ let TableColumnsConfigurationComponent = class TableColumnsConfigurationComponen
|
|
|
93
99
|
var _a, _b;
|
|
94
100
|
// triggering the form update to update the preview - without this it was not updating the last added column as form field changes through
|
|
95
101
|
// pizzagna don't generate valueChange events
|
|
96
|
-
(_a = this.form
|
|
102
|
+
(_a = this.form
|
|
103
|
+
.get("columns")) === null || _a === void 0 ? void 0 : _a.setValue([...(_b = this.form.get("columns")) === null || _b === void 0 ? void 0 : _b.value]);
|
|
97
104
|
});
|
|
98
105
|
}
|
|
99
106
|
}
|
|
@@ -106,7 +113,7 @@ let TableColumnsConfigurationComponent = class TableColumnsConfigurationComponen
|
|
|
106
113
|
// together in the form. Converters subscribe to this form field to listen for column changes. The value is transformed in this method down below.
|
|
107
114
|
columnsOutput: {},
|
|
108
115
|
});
|
|
109
|
-
this.emptyColumns$ = this.form.valueChanges.pipe(operators_1.map(result => result.columns.length === 0));
|
|
116
|
+
this.emptyColumns$ = this.form.valueChanges.pipe(operators_1.map((result) => result.columns.length === 0));
|
|
110
117
|
this.formReady.emit(this.form);
|
|
111
118
|
// we listen for changes of the `columns` and transform it into ITableWidgetColumnConfig[]
|
|
112
119
|
(_a = this.form.get("columns")) === null || _a === void 0 ? void 0 : _a.valueChanges.subscribe((value) => {
|
|
@@ -117,9 +124,13 @@ let TableColumnsConfigurationComponent = class TableColumnsConfigurationComponen
|
|
|
117
124
|
id: c.id,
|
|
118
125
|
};
|
|
119
126
|
for (const key of Object.keys(c.properties)) {
|
|
120
|
-
result = Object.assign(Object.assign({}, result), c.properties[key]);
|
|
127
|
+
result = Object.assign(Object.assign({}, result), c.properties[key] /* merge properties from each child form */);
|
|
121
128
|
}
|
|
122
|
-
result.sortable = (_b = (_a = this.lastValidDataFields) === null || _a === void 0 ? void 0 : _a.find(df => {
|
|
129
|
+
result.sortable = (_b = (_a = this.lastValidDataFields) === null || _a === void 0 ? void 0 : _a.find((df) => {
|
|
130
|
+
var _a, _b, _c;
|
|
131
|
+
return df.id ===
|
|
132
|
+
((_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);
|
|
133
|
+
})) === null || _b === void 0 ? void 0 : _b.sortable;
|
|
123
134
|
return result;
|
|
124
135
|
});
|
|
125
136
|
(_a = this.form.get("columnsOutput")) === null || _a === void 0 ? void 0 : _a.setValue(newColumns);
|
|
@@ -127,7 +138,7 @@ let TableColumnsConfigurationComponent = class TableColumnsConfigurationComponen
|
|
|
127
138
|
}
|
|
128
139
|
onItemsChange(columns) {
|
|
129
140
|
const parentPath = "columns";
|
|
130
|
-
const componentIds = columns.map(tile => tile.id);
|
|
141
|
+
const componentIds = columns.map((tile) => tile.id);
|
|
131
142
|
this.pizzagnaService.createComponentsFromTemplate(parentPath, componentIds);
|
|
132
143
|
const property = {
|
|
133
144
|
componentId: this.componentId,
|
|
@@ -138,11 +149,14 @@ let TableColumnsConfigurationComponent = class TableColumnsConfigurationComponen
|
|
|
138
149
|
}
|
|
139
150
|
addColumn() {
|
|
140
151
|
// @ts-ignore: Types of property 'formatter' are incompatible.
|
|
141
|
-
this.onItemsChange([
|
|
152
|
+
this.onItemsChange([
|
|
153
|
+
...this.columns,
|
|
154
|
+
{
|
|
142
155
|
id: bits_1.uuid("column"),
|
|
143
156
|
label: "",
|
|
144
157
|
formatter: undefined,
|
|
145
|
-
}
|
|
158
|
+
},
|
|
159
|
+
]);
|
|
146
160
|
}
|
|
147
161
|
onResetColumns() {
|
|
148
162
|
var _a;
|
|
@@ -150,7 +164,7 @@ let TableColumnsConfigurationComponent = class TableColumnsConfigurationComponen
|
|
|
150
164
|
}
|
|
151
165
|
resetColumns(confirmation) {
|
|
152
166
|
const reset = () => {
|
|
153
|
-
const columns = this.lastValidDataFields.map(df => ({
|
|
167
|
+
const columns = this.lastValidDataFields.map((df) => ({
|
|
154
168
|
id: bits_1.uuid("column"),
|
|
155
169
|
formatter: {
|
|
156
170
|
componentType: "RawFormatterComponent",
|
|
@@ -173,8 +187,7 @@ let TableColumnsConfigurationComponent = class TableColumnsConfigurationComponen
|
|
|
173
187
|
message: $localize `Resetting the columns will revert them to their default configurations. Do you wish to proceed?`,
|
|
174
188
|
confirmText: $localize `Reset Columns`,
|
|
175
189
|
});
|
|
176
|
-
dialog.result
|
|
177
|
-
.then((result) => {
|
|
190
|
+
dialog.result.then((result) => {
|
|
178
191
|
if (result) {
|
|
179
192
|
reset();
|
|
180
193
|
}
|
|
@@ -193,8 +206,8 @@ let TableColumnsConfigurationComponent = class TableColumnsConfigurationComponen
|
|
|
193
206
|
* @param columns
|
|
194
207
|
*/
|
|
195
208
|
mergeColumns(currentDatafields, columns) {
|
|
196
|
-
const currentDatafieldIds = currentDatafields.map(datafield => datafield.id);
|
|
197
|
-
return columns.filter(column => {
|
|
209
|
+
const currentDatafieldIds = currentDatafields.map((datafield) => datafield.id);
|
|
210
|
+
return columns.filter((column) => {
|
|
198
211
|
var _a, _b, _c, _d;
|
|
199
212
|
if (!((_b = (_a = column.formatter) === null || _a === void 0 ? void 0 : _a.properties) === null || _b === void 0 ? void 0 : _b.dataFieldIds)) {
|
|
200
213
|
return false;
|
|
@@ -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,wCAYuB;AACvB,
|
|
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,wCAYuB;AACvB,0CAKwB;AACxB,6DAA6B;AAC7B,6EAA6C;AAC7C,mEAAmC;AACnC,+BAA2C;AAC3C,8CAAqC;AAErC,wCAQuB;AAMvB,wFAAoF;AACpF,yDAGuC;AACvC,gDAM8B;AAC9B,6CAA4E;AAO5E,IAAa,kCAAkC,GAA/C,MAAa,kCAAkC;IA0B3C,YACY,WAAwB,EACxB,cAAiC,EACjC,aA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,IAAI,CAAC,CAAA,MAAA,MAAA,MAAM,CAAC,SAAS,0CAAE,UAAU,0CAAE,YAAY,CAAA,EAAE;gBAC7C,OAAO,KAAK,CAAC;aAChB;YACD,OAAO,gBAAM,CAAC,MAAA,MAAA,MAAM,CAAC,SAAS,0CAAE,UAAU,0CAAE,YAAY,CAAC,CAAC,IAAI,CAC1D,CAAC,SAAiB,EAAE,EAAE,CAAC,mBAAmB,CAAC,QAAQ,CAAC,SAAS,CAAC,CACjE,CAAC;QACN,CAAC,CAAC,CAAC;IACP,CAAC;IAED,WAAW;QACP,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,CAAC;QACvB,IAAI,CAAC,UAAU,CAAC,QAAQ,EAAE,CAAC;IAC/B,CAAC;CACJ,CAAA;AAjTU,8CAAW,GAAG,oCAAoC,CAAC;AAEjD;IAAR,YAAK,EAAE;;mEAA0C;AACzC;IAAR,YAAK,EAAE;sCAAa,KAAK;sEAA4B;AAC7C;IAAR,YAAK,EAAE;;uEAAqB;AACpB;IAAR,YAAK,EAAE;sCAAa,KAAK;sEAAkB;AACnC;IAAR,YAAK,EAAE;;iEAAiB;AAEf;IAAT,aAAM,EAAE;;qEAA2C;AAX3C,kCAAkC;IAL9C,gBAAS,CAAC;QACP,QAAQ,EAAE,iCAAiC;QAC3C,WAAW,EAAE,8CAA8C;QAC3D,eAAe,EAAE,8BAAuB,CAAC,MAAM;KAClD,CAAC;IAgCO,mBAAA,aAAM,CAAC,0BAAkB,CAAC,CAAA;6CAJN,mBAAW;QACR,wBAAiB;QAClB,oBAAa;QACX,kCAAe;QACM,eAAQ;GA/BjD,kCAAkC,CAoT9C;AApTY,gFAAkC"}
|
|
@@ -29,8 +29,7 @@ let DescriptionConfigurationV2Component = DescriptionConfigurationV2Component_1
|
|
|
29
29
|
registerOnChange(fn) {
|
|
30
30
|
this.changeFn = fn;
|
|
31
31
|
}
|
|
32
|
-
registerOnTouched(fn) {
|
|
33
|
-
}
|
|
32
|
+
registerOnTouched(fn) { }
|
|
34
33
|
setDisabledState(isDisabled) {
|
|
35
34
|
if (isDisabled) {
|
|
36
35
|
this.form.disable();
|
|
@@ -40,7 +39,7 @@ let DescriptionConfigurationV2Component = DescriptionConfigurationV2Component_1
|
|
|
40
39
|
}
|
|
41
40
|
}
|
|
42
41
|
validate(c) {
|
|
43
|
-
return this.form.valid ? null : {
|
|
42
|
+
return this.form.valid ? null : { nestedForm: true };
|
|
44
43
|
}
|
|
45
44
|
writeValue(obj) {
|
|
46
45
|
this.form.patchValue({
|
|
@@ -95,7 +94,8 @@ DescriptionConfigurationV2Component = DescriptionConfigurationV2Component_1 = ts
|
|
|
95
94
|
},
|
|
96
95
|
],
|
|
97
96
|
}),
|
|
98
|
-
tslib_1.__metadata("design:paramtypes", [forms_1.FormBuilder,
|
|
97
|
+
tslib_1.__metadata("design:paramtypes", [forms_1.FormBuilder,
|
|
98
|
+
core_1.ChangeDetectorRef])
|
|
99
99
|
], DescriptionConfigurationV2Component);
|
|
100
100
|
exports.DescriptionConfigurationV2Component = DescriptionConfigurationV2Component;
|
|
101
101
|
//# sourceMappingURL=description-configuration-v2.component.js.map
|
|
@@ -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,
|
|
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,wCAOuB;AACvB,0CAUwB;AACxB,+BAA+B;AAC/B,8CAA2C;AAG3C,0FAAoF;AAqBpF,IAAa,mCAAmC,2CAAhD,MAAa,mCAAmC;IAa5C,YACY,WAAwB,EACzB,cAAiC;QADhC,gBAAW,GAAX,WAAW,CAAa;QACzB,mBAAc,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