@nova-ui/dashboards 16.0.8 → 19.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/nova-ui-dashboards.mjs +2736 -2610
- package/fesm2022/nova-ui-dashboards.mjs.map +1 -1
- package/lib/components/dashboard/dashboard.component.d.ts +1 -1
- package/lib/components/kpi-widget/kpi.component.d.ts +1 -1
- package/lib/components/kpi-widget/types.d.ts +4 -5
- package/lib/components/list-widget/list-widget.component.d.ts +1 -1
- package/lib/components/providers/data-source-adapter.d.ts +1 -1
- package/lib/components/providers/drilldown-data-source-adapter.d.ts +2 -2
- package/lib/components/providers/interaction/url-interaction-handler.d.ts +1 -1
- package/lib/components/providers/kpi-color-prioritizer.d.ts +1 -1
- package/lib/components/providers/kpi-data-source-adapter.d.ts +1 -1
- package/lib/components/providers/kpi-scale-sync-broker.d.ts +1 -1
- package/lib/components/providers/kpi-status-content-fallback-adapter.d.ts +2 -2
- package/lib/components/providers/refresher.d.ts +1 -1
- package/lib/components/providers/status-content-fallback-adapter.d.ts +1 -1
- package/lib/components/providers/table-data-source-adapter.d.ts +1 -1
- package/lib/components/providers/timeseries-data-source-adapter.d.ts +1 -1
- package/lib/components/public-api.d.ts +1 -1
- package/lib/components/risk-score-tile/risk-score-tile.component.d.ts +1 -1
- package/lib/components/risk-score-tile/types.d.ts +3 -5
- package/lib/components/table-widget/table-widget.component.d.ts +3 -1
- package/lib/components/table-widget/types.d.ts +1 -1
- package/lib/components/template-load-error/public-api.d.ts +1 -0
- package/lib/components/timeseries-widget/chart-presets/timeseries-chart.component.d.ts +1 -1
- package/lib/components/timeseries-widget/timeseries-widget.component.d.ts +1 -1
- package/lib/components/timeseries-widget/types.d.ts +6 -6
- package/lib/components/widget/widget-header/widget-header.component.d.ts +1 -1
- package/lib/components/widget/widget.component.d.ts +1 -1
- package/lib/configurator/components/color-picker/color-picker.component.d.ts +2 -2
- package/lib/configurator/components/widget-cloner/widget-cloner.component.d.ts +6 -3
- package/lib/configurator/components/widget-editor/widget-editor.component.d.ts +1 -1
- package/lib/configurator/components/widgets/table/scrollType-editor/scroll-type-editor.component.d.ts +1 -1
- package/lib/configurator/components/wizard/dashwiz/dashwiz.component.d.ts +4 -1
- package/lib/configurator/pipe/add-data.pipe.d.ts +1 -1
- package/lib/configurator/services/configurator.service.d.ts +1 -1
- package/lib/configurator/services/converters/public-api.d.ts +1 -0
- package/lib/configurator/services/converters/shared/title-and-description-converter/title-and-description-converter.service.d.ts +1 -1
- package/lib/configurator/services/widget-editor.service.d.ts +2 -1
- package/lib/functions/proportional-aggregators/types.d.ts +1 -2
- package/lib/pizzagna/services/component-portal.service.d.ts +1 -1
- package/lib/pizzagna/services/pizzagna.service.d.ts +1 -1
- package/lib/services/proportional-content-aggregators-registry.service.d.ts +1 -1
- package/lib/services/public-api.d.ts +1 -0
- package/lib/services/registry-service.d.ts +2 -2
- package/lib/services/table-formatter-registry.service.d.ts +1 -1
- package/lib/services/types.d.ts +1 -2
- package/lib/services/unit-test-registry.service.d.ts +10 -0
- package/lib/types.d.ts +5 -10
- package/lib/widget-types/common/widget/components.d.ts +1 -1
- package/lib/widget-types/kpi/kpi-widget.d.ts +1 -1
- package/lib/widget-types/proportional/proportional-widget.d.ts +1 -1
- package/lib/widget-types/risk-score/risk-score-widget.d.ts +1 -1
- package/lib/widget-types/timeseries/timeseries-widget.d.ts +1 -1
- package/package.json +15 -19
- package/sdk/atoms/spec/configurator/accordion.atom.js +4 -5
- package/sdk/atoms/spec/configurator/accordion.atom.js.map +1 -1
- package/sdk/atoms/spec/configurator/configurator-section.atom.js +13 -14
- package/sdk/atoms/spec/configurator/configurator-section.atom.js.map +1 -1
- package/sdk/atoms/spec/configurator/configurator.atom.js +19 -24
- package/sdk/atoms/spec/configurator/configurator.atom.js.map +1 -1
- package/sdk/atoms/spec/configurator/dashboard-wizard.atom.js +5 -6
- package/sdk/atoms/spec/configurator/dashboard-wizard.atom.js.map +1 -1
- package/sdk/atoms/spec/dashboard.atom.js +14 -15
- package/sdk/atoms/spec/dashboard.atom.js.map +1 -1
- package/sdk/atoms/spec/drilldown.atom.js +3 -6
- package/sdk/atoms/spec/drilldown.atom.js.map +1 -1
- package/sdk/atoms/spec/proportional-widget.atom.js +1 -1
- package/sdk/atoms/spec/proportional-widget.atom.js.map +1 -1
- package/sdk/atoms/spec/test.po.js +22 -42
- package/sdk/atoms/spec/test.po.js.map +1 -1
- package/sdk/atoms/spec/timeseries/legend-series.atom.js +30 -39
- package/sdk/atoms/spec/timeseries/legend-series.atom.js.map +1 -1
- package/sdk/atoms/spec/timeseries/timeseries.atom.js +10 -15
- package/sdk/atoms/spec/timeseries/timeseries.atom.js.map +1 -1
- package/sdk/atoms/spec/virtual-dashboards/drilldown-widget-test/drilldown-widget-test.component.js +31 -33
- package/sdk/atoms/spec/virtual-dashboards/drilldown-widget-test/drilldown-widget-test.component.js.map +1 -1
- package/sdk/atoms/spec/virtual-dashboards/drilldown-widget-test/drilldown-widget-test.component.spec.js +24 -25
- package/sdk/atoms/spec/virtual-dashboards/drilldown-widget-test/drilldown-widget-test.component.spec.js.map +1 -1
- package/sdk/atoms/spec/widget-header.atom.js +3 -6
- package/sdk/atoms/spec/widget-header.atom.js.map +1 -1
- package/sdk/atoms/spec/widget.atom.js +1 -1
- package/sdk/atoms/spec/widget.atom.js.map +1 -1
- package/sdk/atoms/src/lib/common/common.module.js +2 -1
- package/sdk/atoms/src/lib/common/common.module.js.map +1 -1
- package/sdk/atoms/src/lib/common/components/preview-overlay/preview-overlay.component.js +4 -2
- package/sdk/atoms/src/lib/common/components/preview-overlay/preview-overlay.component.js.map +1 -1
- package/sdk/atoms/src/lib/common/components/widget-error/widget-error.component.js +4 -2
- package/sdk/atoms/src/lib/common/components/widget-error/widget-error.component.js.map +1 -1
- package/sdk/atoms/src/lib/common/pipes/dashboard-unit-conversion-pipe.js +7 -3
- package/sdk/atoms/src/lib/common/pipes/dashboard-unit-conversion-pipe.js.map +1 -1
- package/sdk/atoms/src/lib/components/dashboard/dashboard.component.d.ts +1 -1
- package/sdk/atoms/src/lib/components/dashboard/dashboard.component.js +14 -16
- package/sdk/atoms/src/lib/components/dashboard/dashboard.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/embedded-content/embedded-content.component.js +5 -4
- package/sdk/atoms/src/lib/components/embedded-content/embedded-content.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/kpi-widget/kpi.component.d.ts +1 -1
- package/sdk/atoms/src/lib/components/kpi-widget/kpi.component.js +13 -15
- package/sdk/atoms/src/lib/components/kpi-widget/kpi.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/kpi-widget/types.d.ts +4 -5
- package/sdk/atoms/src/lib/components/layouts/base-layout.js +3 -2
- package/sdk/atoms/src/lib/components/layouts/base-layout.js.map +1 -1
- package/sdk/atoms/src/lib/components/layouts/stack/stack.component.js +4 -2
- package/sdk/atoms/src/lib/components/layouts/stack/stack.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/layouts/tiles/tiles.component.js +6 -6
- package/sdk/atoms/src/lib/components/layouts/tiles/tiles.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/list-widget/list-elements/list-group-item/list-group-item.component.js +4 -2
- package/sdk/atoms/src/lib/components/list-widget/list-elements/list-group-item/list-group-item.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/list-widget/list-elements/list-leaf-item/list-leaf-item.component.js +5 -4
- package/sdk/atoms/src/lib/components/list-widget/list-elements/list-leaf-item/list-leaf-item.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/list-widget/list-elements/list-navigation-bar/list-navigation-bar.component.js +5 -4
- package/sdk/atoms/src/lib/components/list-widget/list-elements/list-navigation-bar/list-navigation-bar.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/list-widget/list-widget.component.d.ts +1 -1
- package/sdk/atoms/src/lib/components/list-widget/list-widget.component.js +14 -8
- package/sdk/atoms/src/lib/components/list-widget/list-widget.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/loading/loading.component.js +4 -2
- package/sdk/atoms/src/lib/components/loading/loading.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/proportional-widget/proportional-donut-content/proportional-donut-content.component.js +25 -18
- package/sdk/atoms/src/lib/components/proportional-widget/proportional-donut-content/proportional-donut-content.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/proportional-widget/proportional-widget.component.js +29 -33
- package/sdk/atoms/src/lib/components/proportional-widget/proportional-widget.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/data-source-adapter.d.ts +1 -1
- package/sdk/atoms/src/lib/components/providers/data-source-adapter.js +7 -7
- package/sdk/atoms/src/lib/components/providers/data-source-adapter.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/drilldown-data-source-adapter.d.ts +2 -2
- package/sdk/atoms/src/lib/components/providers/drilldown-data-source-adapter.js +4 -4
- package/sdk/atoms/src/lib/components/providers/drilldown-data-source-adapter.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/event-bus-debugger.js +2 -1
- package/sdk/atoms/src/lib/components/providers/event-bus-debugger.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/interaction/interaction-handler.js +5 -5
- package/sdk/atoms/src/lib/components/providers/interaction/interaction-handler.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/interaction/url-interaction-handler.d.ts +1 -1
- package/sdk/atoms/src/lib/components/providers/interaction/url-interaction-handler.js +4 -4
- package/sdk/atoms/src/lib/components/providers/interaction/url-interaction-handler.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/kpi-color-prioritizer.d.ts +1 -1
- package/sdk/atoms/src/lib/components/providers/kpi-color-prioritizer.js +8 -10
- package/sdk/atoms/src/lib/components/providers/kpi-color-prioritizer.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/kpi-data-source-adapter.d.ts +1 -1
- package/sdk/atoms/src/lib/components/providers/kpi-data-source-adapter.js +13 -7
- package/sdk/atoms/src/lib/components/providers/kpi-data-source-adapter.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/kpi-scale-sync-broker.d.ts +1 -1
- package/sdk/atoms/src/lib/components/providers/kpi-scale-sync-broker.js +14 -8
- package/sdk/atoms/src/lib/components/providers/kpi-scale-sync-broker.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/kpi-status-content-fallback-adapter.d.ts +2 -2
- package/sdk/atoms/src/lib/components/providers/kpi-status-content-fallback-adapter.js +6 -7
- package/sdk/atoms/src/lib/components/providers/kpi-status-content-fallback-adapter.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/loading-adapter.js +4 -3
- package/sdk/atoms/src/lib/components/providers/loading-adapter.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/pizzagna-broadcaster.service.js +4 -3
- package/sdk/atoms/src/lib/components/providers/pizzagna-broadcaster.service.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/refresher-settings.service.js +2 -1
- package/sdk/atoms/src/lib/components/providers/refresher-settings.service.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/refresher.d.ts +1 -1
- package/sdk/atoms/src/lib/components/providers/refresher.js +12 -12
- package/sdk/atoms/src/lib/components/providers/refresher.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/status-content-fallback-adapter.d.ts +1 -1
- package/sdk/atoms/src/lib/components/providers/status-content-fallback-adapter.js +4 -4
- package/sdk/atoms/src/lib/components/providers/status-content-fallback-adapter.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/table-data-source-adapter.d.ts +1 -1
- package/sdk/atoms/src/lib/components/providers/table-data-source-adapter.js +6 -6
- package/sdk/atoms/src/lib/components/providers/table-data-source-adapter.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/timeseries-data-source-adapter.d.ts +1 -1
- package/sdk/atoms/src/lib/components/providers/timeseries-data-source-adapter.js +15 -14
- package/sdk/atoms/src/lib/components/providers/timeseries-data-source-adapter.js.map +1 -1
- package/sdk/atoms/src/lib/components/public-api.d.ts +1 -1
- package/sdk/atoms/src/lib/components/public-api.js +1 -1
- package/sdk/atoms/src/lib/components/public-api.js.map +1 -1
- package/sdk/atoms/src/lib/components/risk-score-tile/risk-score-tile.component.d.ts +1 -1
- package/sdk/atoms/src/lib/components/risk-score-tile/risk-score-tile.component.js +9 -10
- package/sdk/atoms/src/lib/components/risk-score-tile/risk-score-tile.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/risk-score-tile/types.d.ts +3 -5
- package/sdk/atoms/src/lib/components/table-widget/addons/paginator-feature-addon.service.js +16 -14
- package/sdk/atoms/src/lib/components/table-widget/addons/paginator-feature-addon.service.js.map +1 -1
- package/sdk/atoms/src/lib/components/table-widget/addons/search-feature-addon.service.js +10 -12
- package/sdk/atoms/src/lib/components/table-widget/addons/search-feature-addon.service.js.map +1 -1
- package/sdk/atoms/src/lib/components/table-widget/addons/virtual-scroll-feature-addon.service.js +7 -10
- package/sdk/atoms/src/lib/components/table-widget/addons/virtual-scroll-feature-addon.service.js.map +1 -1
- package/sdk/atoms/src/lib/components/table-widget/delayed-mouse-presence-detection.directive.js +3 -1
- package/sdk/atoms/src/lib/components/table-widget/delayed-mouse-presence-detection.directive.js.map +1 -1
- package/sdk/atoms/src/lib/components/table-widget/table-widget.component.d.ts +3 -1
- package/sdk/atoms/src/lib/components/table-widget/table-widget.component.js +82 -74
- package/sdk/atoms/src/lib/components/table-widget/table-widget.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/table-widget/types.d.ts +1 -1
- package/sdk/atoms/src/lib/components/table-widget/types.js.map +1 -1
- package/sdk/atoms/src/lib/components/template-load-error/public-api.d.ts +1 -0
- package/sdk/atoms/src/lib/components/template-load-error/public-api.js +24 -0
- package/sdk/atoms/src/lib/components/template-load-error/public-api.js.map +1 -0
- package/sdk/atoms/src/lib/components/template-load-error/template-load-error.component.js +4 -2
- package/sdk/atoms/src/lib/components/template-load-error/template-load-error.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/time-frame-selection/timeframe-selection.component.js +4 -2
- package/sdk/atoms/src/lib/components/time-frame-selection/timeframe-selection.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/status-bar-chart/apply-status-endpoints.js +9 -4
- 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 +35 -27
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/status-bar-chart/status-bar-chart.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/timeseries-chart.component.js +23 -24
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/timeseries-chart.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/line-chart.component.js +4 -2
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/line-chart.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-area-chart.component.js +5 -4
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-area-chart.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-bar-chart.component.js +5 -4
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-bar-chart.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-percentage-area-chart.component.js +4 -2
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-percentage-area-chart.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/xy-chart.component.js +31 -22
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/xy-chart.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-chart-preset.service.js +2 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-chart-preset.service.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-helpers.js +5 -5
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-helpers.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-inspection-menu/timeseries-inspection-menu.component.js +10 -11
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-inspection-menu/timeseries-inspection-menu.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-scales.service.js +13 -16
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-scales.service.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-widget.component.d.ts +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-widget.component.js +14 -16
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-widget.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/transformer/loess.js +1 -2
- package/sdk/atoms/src/lib/components/timeseries-widget/transformer/loess.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-change-point.js +5 -7
- package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-change-point.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-difference.js +1 -2
- package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-difference.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-floating-average.js +1 -2
- package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-floating-average.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-lin-reg.js +1 -2
- package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-lin-reg.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-loess-standardize.js +1 -2
- package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-loess-standardize.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-loess.js +1 -2
- package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-loess.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-normalize.js +1 -2
- package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-normalize.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-percentile-std.js +3 -6
- package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-percentile-std.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-standardize.js +3 -5
- package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-standardize.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/types.d.ts +6 -6
- package/sdk/atoms/src/lib/components/widget/widget-body/widget-body.component.js +4 -2
- package/sdk/atoms/src/lib/components/widget/widget-body/widget-body.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/widget/widget-body-content/widget-body-content.component.js +4 -2
- package/sdk/atoms/src/lib/components/widget/widget-body-content/widget-body-content.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/widget/widget-header/widget-header.component.d.ts +1 -1
- package/sdk/atoms/src/lib/components/widget/widget-header/widget-header.component.js +4 -2
- package/sdk/atoms/src/lib/components/widget/widget-header/widget-header.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/widget/widget.component.d.ts +1 -1
- package/sdk/atoms/src/lib/components/widget/widget.component.js +8 -4
- package/sdk/atoms/src/lib/components/widget/widget.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/widget-search/widget-search.component.js +12 -13
- package/sdk/atoms/src/lib/components/widget-search/widget-search.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/color-picker/color-picker.component.d.ts +2 -2
- package/sdk/atoms/src/lib/configurator/components/color-picker/color-picker.component.js +8 -9
- package/sdk/atoms/src/lib/configurator/components/color-picker/color-picker.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/color-picker/color.service.js +2 -1
- package/sdk/atoms/src/lib/configurator/components/color-picker/color.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/configurator/configurator.component.js +4 -2
- package/sdk/atoms/src/lib/configurator/components/configurator/configurator.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/drop-area/drop-area.component.js +3 -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 +4 -2
- package/sdk/atoms/src/lib/configurator/components/form-stack/form-stack.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/formatters/donut-content-percentage-formatter/donut-content-percentage-configuration.component.js +4 -2
- package/sdk/atoms/src/lib/configurator/components/formatters/donut-content-percentage-formatter/donut-content-percentage-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/formatters/donut-content-percentage-formatter/donut-content-percentage-formatter.component.js +7 -7
- 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 +4 -2
- package/sdk/atoms/src/lib/configurator/components/formatters/donut-content-raw-formatter/donut-content-raw-formatter.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/formatters/donut-content-sum-formatter/donut-content-sum-formatter.component.js +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 +6 -5
- package/sdk/atoms/src/lib/configurator/components/formatters/icon-formatter/icon-formatter.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/formatters/link-formatter/link-formatter.component.js +4 -2
- package/sdk/atoms/src/lib/configurator/components/formatters/link-formatter/link-formatter.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/formatters/percentage-formatter/percentage-formatter.component.js +4 -2
- package/sdk/atoms/src/lib/configurator/components/formatters/percentage-formatter/percentage-formatter.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/formatters/raw-formatter/raw-formatter.component.js +4 -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 +9 -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 +4 -2
- package/sdk/atoms/src/lib/configurator/components/formatters/status-with-icon-formatter/status-with-icon-formatter.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/formatters/widget-formatter-configurators/donut-formatter-configurator.component.js +7 -9
- package/sdk/atoms/src/lib/configurator/components/formatters/widget-formatter-configurators/donut-formatter-configurator.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/heading/configurator-heading.component.js +3 -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 +9 -5
- package/sdk/atoms/src/lib/configurator/components/items-dynamic/items-dynamic.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/preview-placeholder/preview-placeholder.component.js +4 -2
- package/sdk/atoms/src/lib/configurator/components/preview-placeholder/preview-placeholder.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widget-cloner/widget-cloner.component.d.ts +6 -3
- package/sdk/atoms/src/lib/configurator/components/widget-cloner/widget-cloner.component.js +37 -13
- package/sdk/atoms/src/lib/configurator/components/widget-cloner/widget-cloner.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widget-configurator-section/widget-configurator-section-coordinator.service.js +2 -1
- package/sdk/atoms/src/lib/configurator/components/widget-configurator-section/widget-configurator-section-coordinator.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widget-configurator-section/widget-configurator-section.component.js +4 -2
- package/sdk/atoms/src/lib/configurator/components/widget-configurator-section/widget-configurator-section.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widget-editor/widget-editor.component.d.ts +1 -1
- package/sdk/atoms/src/lib/configurator/components/widget-editor/widget-editor.component.js +21 -11
- package/sdk/atoms/src/lib/configurator/components/widget-editor/widget-editor.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widget-editor-accordion/widget-editor-accordion-header/widget-editor-accordion-header.component.js +3 -1
- package/sdk/atoms/src/lib/configurator/components/widget-editor-accordion/widget-editor-accordion-header/widget-editor-accordion-header.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widget-editor-accordion/widget-editor-accordion.component.js +3 -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 +16 -20
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/background-color-rules-configuration/background-color-rules-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/data-source-configuration/data-source-configuration.component.js +6 -5
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/data-source-configuration/data-source-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/data-source-configuration-v2/data-source-configuration-v2.component.js +25 -28
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/data-source-configuration-v2/data-source-configuration-v2.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/data-source-error/data-source-error.component.js +12 -7
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/data-source-error/data-source-error.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/data-source-error/table/table-data-source-error.component.js +4 -2
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/data-source-error/table/table-data-source-error.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/embedded-content-configuration/embedded-content-configuration.component.js +24 -21
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/embedded-content-configuration/embedded-content-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/info-message-configuration/info-message-configuration.component.js +4 -2
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/info-message-configuration/info-message-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/kpi-description-configuration/kpi-description-configuration.component.js +12 -11
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/kpi-description-configuration/kpi-description-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/refresh-rate-configurator.component.js +7 -7
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/refresh-rate-configurator.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/time-units.js +2 -2
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/time-units.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresher-configuration.component.js +15 -15
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresher-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/risk-score-tile-description-configuration/risk-score-tile-description-configuration.component.js +10 -9
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/risk-score-tile-description-configuration/risk-score-tile-description-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/thresholds-configuration/thresholds-configuration.component.js +7 -7
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/thresholds-configuration/thresholds-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/thresholds-configuration/thresholds-validator.js +2 -2
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/thresholds-configuration/thresholds-validator.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/timeseries-metadata-configuration/timeseries-metadata-configuration.component.js +20 -15
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/timeseries-metadata-configuration/timeseries-metadata-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/title-and-description-configuration/title-and-description-configuration.component.js +9 -8
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/title-and-description-configuration/title-and-description-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/drilldown/entity-formatting-configuration/entity-formatting-configuration.component.js +4 -2
- package/sdk/atoms/src/lib/configurator/components/widgets/drilldown/entity-formatting-configuration/entity-formatting-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/drilldown/grouping-configuration/grouping-configuration.component.js +9 -8
- package/sdk/atoms/src/lib/configurator/components/widgets/drilldown/grouping-configuration/grouping-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/kpi/kpi-tiles-configuration/kpi-tiles-configuration.component.js +4 -2
- package/sdk/atoms/src/lib/configurator/components/widgets/kpi/kpi-tiles-configuration/kpi-tiles-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/proportional/aggregators-configurators/aggregator-configurator/aggregator-configurator.component.js +7 -5
- package/sdk/atoms/src/lib/configurator/components/widgets/proportional/aggregators-configurators/aggregator-configurator/aggregator-configurator.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/proportional/aggregators-configurators/field-mapper-aggregator-configurator/field-mapper-aggregator-configurator.component.js +10 -7
- package/sdk/atoms/src/lib/configurator/components/widgets/proportional/aggregators-configurators/field-mapper-aggregator-configurator/field-mapper-aggregator-configurator.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/proportional/chart-options-editor/proportional-chart-options-editor.component.js +18 -17
- package/sdk/atoms/src/lib/configurator/components/widgets/proportional/chart-options-editor/proportional-chart-options-editor.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/proportional/chart-options-editor-v2/proportional-chart-options-editor-v2.component.js +9 -8
- package/sdk/atoms/src/lib/configurator/components/widgets/proportional/chart-options-editor-v2/proportional-chart-options-editor-v2.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/proportional/donut-content-configuration/donut-content-configuration.component.js +35 -23
- package/sdk/atoms/src/lib/configurator/components/widgets/proportional/donut-content-configuration/donut-content-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/risk-score-tiles-configuration.component.js +4 -2
- package/sdk/atoms/src/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/risk-score-tiles-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/column-configuration/description-configuration/description-configuration.component.js +8 -8
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/column-configuration/description-configuration/description-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/formatter-configurator.component.js +4 -5
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/formatter-configurator.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/link-configurator/link-configurator.component.js +4 -2
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/link-configurator/link-configurator.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/value-selector/value-selector.component.js +4 -2
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/value-selector/value-selector.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/presentation-configuration.component.js +22 -26
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/presentation-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/table-columns-configuration.component.js +28 -29
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/table-columns-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/description-configuration/description-configuration-v2.component.js +8 -8
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/description-configuration/description-configuration-v2.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/presentation-configuration/presentation-configuration-v2.component.js +30 -37
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/presentation-configuration/presentation-configuration-v2.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/table-column-configuration/table-column-configuration.component.js +13 -9
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/table-column-configuration/table-column-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor-v2/table-columns-configuration-v2.component.js +15 -19
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor-v2/table-columns-configuration-v2.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/filters-editor/table-filters-editor.component.js +25 -22
- package/sdk/atoms/src/lib/configurator/components/widgets/table/filters-editor/table-filters-editor.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/scrollType-editor/scroll-type-editor.component.d.ts +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/scrollType-editor/scroll-type-editor.component.js +32 -31
- package/sdk/atoms/src/lib/configurator/components/widgets/table/scrollType-editor/scroll-type-editor.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/scrollType-editor/scroll-type-editor.service.js +3 -3
- package/sdk/atoms/src/lib/configurator/components/widgets/table/scrollType-editor/scroll-type-editor.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/timeseries/timeseries-series-collection-configuration/timeseries-series-collection-configuration.component.js +4 -2
- package/sdk/atoms/src/lib/configurator/components/widgets/timeseries/timeseries-series-collection-configuration/timeseries-series-collection-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/timeseries/timeseries-tile-description-configuration/timeseries-tile-description-configuration.component.js +4 -2
- package/sdk/atoms/src/lib/configurator/components/widgets/timeseries/timeseries-tile-description-configuration/timeseries-tile-description-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/timeseries/timeseries-tile-indicator-data-configuration/timeseries-tile-indicator-data-configuration.component.js +4 -2
- package/sdk/atoms/src/lib/configurator/components/widgets/timeseries/timeseries-tile-indicator-data-configuration/timeseries-tile-indicator-data-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/wizard/dashwiz/dashwiz-buttons.component.js +4 -2
- package/sdk/atoms/src/lib/configurator/components/wizard/dashwiz/dashwiz-buttons.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/wizard/dashwiz/dashwiz.component.d.ts +4 -1
- package/sdk/atoms/src/lib/configurator/components/wizard/dashwiz/dashwiz.component.js +19 -8
- package/sdk/atoms/src/lib/configurator/components/wizard/dashwiz/dashwiz.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/wizard/dashwiz/dashwiz.service.js +2 -1
- package/sdk/atoms/src/lib/configurator/components/wizard/dashwiz/dashwiz.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/wizard/dashwiz-step/dashwiz-step.component.js +3 -1
- package/sdk/atoms/src/lib/configurator/components/wizard/dashwiz-step/dashwiz-step.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/configurator.module.js +12 -11
- package/sdk/atoms/src/lib/configurator/configurator.module.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/functions/has-control-in-error-state.js +1 -2
- package/sdk/atoms/src/lib/configurator/functions/has-control-in-error-state.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/pipe/add-data.pipe.d.ts +1 -1
- package/sdk/atoms/src/lib/configurator/pipe/add-data.pipe.js +6 -2
- package/sdk/atoms/src/lib/configurator/pipe/add-data.pipe.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/pipe/pizzagna-root.pipe.js +5 -4
- package/sdk/atoms/src/lib/configurator/pipe/pizzagna-root.pipe.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/pipe/widget-configurator-section-header.pipe.js +3 -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 -1
- package/sdk/atoms/src/lib/configurator/pipe/widget-editor-accordion-form-state.pipe.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/pipe/widget-editor-accordion-header-icon.pipe.js +5 -2
- package/sdk/atoms/src/lib/configurator/pipe/widget-editor-accordion-header-icon.pipe.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/configurator-data-source-manager.service.js +8 -8
- package/sdk/atoms/src/lib/configurator/services/configurator-data-source-manager.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/configurator-heading.service.js +2 -1
- package/sdk/atoms/src/lib/configurator/services/configurator-heading.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/configurator.service.d.ts +1 -1
- package/sdk/atoms/src/lib/configurator/services/configurator.service.js +15 -6
- package/sdk/atoms/src/lib/configurator/services/configurator.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/base-converter.js +2 -1
- package/sdk/atoms/src/lib/configurator/services/converters/base-converter.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/kpi/kpi-section-converter/kpi-section-converter.service.js +3 -2
- package/sdk/atoms/src/lib/configurator/services/converters/kpi/kpi-section-converter/kpi-section-converter.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/kpi/kpi-tiles-converter.service.js +9 -9
- package/sdk/atoms/src/lib/configurator/services/converters/kpi/kpi-tiles-converter.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/proportional/proportional-widget-chart-options-converter.service.js +9 -8
- package/sdk/atoms/src/lib/configurator/services/converters/proportional/proportional-widget-chart-options-converter.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/public-api.d.ts +1 -0
- package/sdk/atoms/src/lib/configurator/services/converters/public-api.js +1 -0
- package/sdk/atoms/src/lib/configurator/services/converters/public-api.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/shared/generic-array-converter/generic-array-converter.service.js +4 -3
- package/sdk/atoms/src/lib/configurator/services/converters/shared/generic-array-converter/generic-array-converter.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/shared/generic-converter/generic-converter.service.js +3 -2
- package/sdk/atoms/src/lib/configurator/services/converters/shared/generic-converter/generic-converter.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/shared/title-and-description-converter/title-and-description-converter.service.d.ts +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/shared/title-and-description-converter/title-and-description-converter.service.js +10 -9
- package/sdk/atoms/src/lib/configurator/services/converters/shared/title-and-description-converter/title-and-description-converter.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/table/table-columns-converter.service.js +22 -23
- package/sdk/atoms/src/lib/configurator/services/converters/table/table-columns-converter.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/table/table-filters-converter.service.js +5 -5
- package/sdk/atoms/src/lib/configurator/services/converters/table/table-filters-converter.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/table/table-scroll-type-converter.service.js +6 -6
- package/sdk/atoms/src/lib/configurator/services/converters/table/table-scroll-type-converter.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/timeseries/timeseries-metadata-converter.service.js +2 -1
- package/sdk/atoms/src/lib/configurator/services/converters/timeseries/timeseries-metadata-converter.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/timeseries/timeseries-series-converter.service.js +9 -6
- package/sdk/atoms/src/lib/configurator/services/converters/timeseries/timeseries-series-converter.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/timeseries/timeseries-tile-indicator-data-converter.service.js +6 -2
- package/sdk/atoms/src/lib/configurator/services/converters/timeseries/timeseries-tile-indicator-data-converter.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/kpi-widget-color.service.js +2 -1
- package/sdk/atoms/src/lib/configurator/services/kpi-widget-color.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/preview.service.js +2 -1
- package/sdk/atoms/src/lib/configurator/services/preview.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/timeframe-serialization.service.js +2 -1
- package/sdk/atoms/src/lib/configurator/services/timeframe-serialization.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/widget-cloner.service.js +3 -1
- package/sdk/atoms/src/lib/configurator/services/widget-cloner.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/widget-editor.service.d.ts +2 -1
- package/sdk/atoms/src/lib/configurator/services/widget-editor.service.js +8 -4
- package/sdk/atoms/src/lib/configurator/services/widget-editor.service.js.map +1 -1
- package/sdk/atoms/src/lib/dashboards.module.js +4 -3
- package/sdk/atoms/src/lib/dashboards.module.js.map +1 -1
- package/sdk/atoms/src/lib/directives/gridster-item-widget-id/gridster-item-widget-id.directive.js +3 -1
- package/sdk/atoms/src/lib/directives/gridster-item-widget-id/gridster-item-widget-id.directive.js.map +1 -1
- package/sdk/atoms/src/lib/directives/widget-editor/widget-editor.directive.js +3 -1
- package/sdk/atoms/src/lib/directives/widget-editor/widget-editor.directive.js.map +1 -1
- package/sdk/atoms/src/lib/functions/get-parent-component-id.js +2 -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 +1 -2
- package/sdk/atoms/src/lib/functions/map-data-to-formatter-properties.js.map +1 -1
- package/sdk/atoms/src/lib/functions/merge-changes.js +1 -2
- package/sdk/atoms/src/lib/functions/merge-changes.js.map +1 -1
- package/sdk/atoms/src/lib/functions/on-mark-as-touched.js +1 -2
- package/sdk/atoms/src/lib/functions/on-mark-as-touched.js.map +1 -1
- package/sdk/atoms/src/lib/functions/parse-string-with-data.js +1 -2
- package/sdk/atoms/src/lib/functions/parse-string-with-data.js.map +1 -1
- package/sdk/atoms/src/lib/functions/proportional-aggregators/field-mapper.js +4 -4
- package/sdk/atoms/src/lib/functions/proportional-aggregators/field-mapper.js.map +1 -1
- package/sdk/atoms/src/lib/functions/proportional-aggregators/percentage-aggregator.js +1 -2
- package/sdk/atoms/src/lib/functions/proportional-aggregators/percentage-aggregator.js.map +1 -1
- package/sdk/atoms/src/lib/functions/proportional-aggregators/sum-aggregator.js.map +1 -1
- package/sdk/atoms/src/lib/functions/proportional-aggregators/types.d.ts +1 -2
- package/sdk/atoms/src/lib/functions/round-array-values.js +2 -4
- package/sdk/atoms/src/lib/functions/round-array-values.js.map +1 -1
- package/sdk/atoms/src/lib/functions/timeseries-datetime-formatter.js.map +1 -1
- package/sdk/atoms/src/lib/pizzagna/components/pizzagna/pizzagna.component.js +3 -1
- package/sdk/atoms/src/lib/pizzagna/components/pizzagna/pizzagna.component.js.map +1 -1
- package/sdk/atoms/src/lib/pizzagna/directives/component-portal/component-portal.directive.js +16 -6
- package/sdk/atoms/src/lib/pizzagna/directives/component-portal/component-portal.directive.js.map +1 -1
- package/sdk/atoms/src/lib/pizzagna/functions/get-pizzagna-property-path.js +1 -2
- package/sdk/atoms/src/lib/pizzagna/functions/get-pizzagna-property-path.js.map +1 -1
- package/sdk/atoms/src/lib/pizzagna/pizzagna.module.js +2 -1
- package/sdk/atoms/src/lib/pizzagna/pizzagna.module.js.map +1 -1
- package/sdk/atoms/src/lib/pizzagna/services/component-portal.service.d.ts +1 -1
- package/sdk/atoms/src/lib/pizzagna/services/component-portal.service.js +3 -2
- package/sdk/atoms/src/lib/pizzagna/services/component-portal.service.js.map +1 -1
- package/sdk/atoms/src/lib/pizzagna/services/component-registry.service.js +2 -1
- package/sdk/atoms/src/lib/pizzagna/services/component-registry.service.js.map +1 -1
- package/sdk/atoms/src/lib/pizzagna/services/dynamic-component-creator.service.js +8 -4
- package/sdk/atoms/src/lib/pizzagna/services/dynamic-component-creator.service.js.map +1 -1
- package/sdk/atoms/src/lib/pizzagna/services/pizzagna.service.d.ts +1 -1
- package/sdk/atoms/src/lib/pizzagna/services/pizzagna.service.js +5 -5
- package/sdk/atoms/src/lib/pizzagna/services/pizzagna.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/category-chart-util.service.js +9 -5
- package/sdk/atoms/src/lib/services/category-chart-util.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/event-registry.service.js +2 -1
- package/sdk/atoms/src/lib/services/event-registry.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/kpi-color-comparators-registry.service.js +7 -3
- package/sdk/atoms/src/lib/services/kpi-color-comparators-registry.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/proportional-content-aggregators-registry.service.d.ts +1 -1
- package/sdk/atoms/src/lib/services/proportional-content-aggregators-registry.service.js +2 -1
- package/sdk/atoms/src/lib/services/proportional-content-aggregators-registry.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/provider-registry.service.js +2 -1
- package/sdk/atoms/src/lib/services/provider-registry.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/public-api.d.ts +1 -0
- package/sdk/atoms/src/lib/services/public-api.js +1 -0
- package/sdk/atoms/src/lib/services/public-api.js.map +1 -1
- package/sdk/atoms/src/lib/services/registry-service.d.ts +1 -1
- package/sdk/atoms/src/lib/services/registry-service.js +3 -2
- package/sdk/atoms/src/lib/services/registry-service.js.map +1 -1
- package/sdk/atoms/src/lib/services/table-formatter-registry.service.d.ts +1 -1
- package/sdk/atoms/src/lib/services/table-formatter-registry.service.js +10 -5
- package/sdk/atoms/src/lib/services/table-formatter-registry.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/types.d.ts +1 -2
- package/sdk/atoms/src/lib/services/types.js.map +1 -1
- package/sdk/atoms/src/lib/services/unit-test-registry.service.js +3 -2
- package/sdk/atoms/src/lib/services/unit-test-registry.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/url-interaction.service.js +3 -3
- package/sdk/atoms/src/lib/services/url-interaction.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/widget-configuration.service.js +2 -1
- package/sdk/atoms/src/lib/services/widget-configuration.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/widget-removal.service.js +2 -1
- package/sdk/atoms/src/lib/services/widget-removal.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/widget-to-dashboard-event-proxy.service.js +3 -2
- package/sdk/atoms/src/lib/services/widget-to-dashboard-event-proxy.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/widget-types.service.js +7 -4
- package/sdk/atoms/src/lib/services/widget-types.service.js.map +1 -1
- package/sdk/atoms/src/lib/types.d.ts +5 -10
- package/sdk/atoms/src/lib/types.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/common/widget/components.d.ts +1 -1
- package/sdk/atoms/src/lib/widget-types/common/widget/components.js +24 -21
- package/sdk/atoms/src/lib/widget-types/common/widget/components.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/common/widget/providers.js +2 -2
- package/sdk/atoms/src/lib/widget-types/common/widget/providers.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/drilldown/drilldown-widget.js +24 -9
- package/sdk/atoms/src/lib/widget-types/drilldown/drilldown-widget.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/drilldown/drilldown.js +2 -2
- package/sdk/atoms/src/lib/widget-types/drilldown/drilldown.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/embedded-content/embedded-content-widget.js +15 -6
- package/sdk/atoms/src/lib/widget-types/embedded-content/embedded-content-widget.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/embedded-content/embedded-content.js +2 -2
- package/sdk/atoms/src/lib/widget-types/embedded-content/embedded-content.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/kpi/kpi-widget.d.ts +1 -1
- package/sdk/atoms/src/lib/widget-types/kpi/kpi-widget.js +21 -6
- package/sdk/atoms/src/lib/widget-types/kpi/kpi-widget.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/kpi/kpi.js +2 -2
- package/sdk/atoms/src/lib/widget-types/kpi/kpi.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/proportional/proportional-widget.d.ts +1 -1
- package/sdk/atoms/src/lib/widget-types/proportional/proportional-widget.js +16 -6
- package/sdk/atoms/src/lib/widget-types/proportional/proportional-widget.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/proportional/proportional.js +2 -2
- package/sdk/atoms/src/lib/widget-types/proportional/proportional.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/risk-score/risk-score-widget.d.ts +1 -1
- package/sdk/atoms/src/lib/widget-types/risk-score/risk-score-widget.js +21 -6
- package/sdk/atoms/src/lib/widget-types/risk-score/risk-score-widget.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/risk-score/risk-score.js +2 -2
- package/sdk/atoms/src/lib/widget-types/risk-score/risk-score.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/table/table-configurator.js +2 -2
- package/sdk/atoms/src/lib/widget-types/table/table-configurator.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/table/table-widget.js +16 -6
- package/sdk/atoms/src/lib/widget-types/table/table-widget.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/table/table.js +2 -2
- package/sdk/atoms/src/lib/widget-types/table/table.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/timeseries/timeseries-widget.d.ts +1 -1
- package/sdk/atoms/src/lib/widget-types/timeseries/timeseries-widget.js +19 -8
- package/sdk/atoms/src/lib/widget-types/timeseries/timeseries-widget.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/timeseries/timeseries.js +2 -2
- package/sdk/atoms/src/lib/widget-types/timeseries/timeseries.js.map +1 -1
- package/sdk/schematics/ng-add/index.js +3 -2
- package/sdk/schematics/ng-add/index.js.map +1 -1
- package/sdk/schematics/ng-add/index.spec.js +25 -30
- package/sdk/schematics/ng-add/index.spec.js.map +1 -1
- package/esm2022/lib/common/common.module.mjs +0 -41
- package/esm2022/lib/common/components/preview-overlay/preview-overlay.component.mjs +0 -35
- package/esm2022/lib/common/components/public-api.mjs +0 -22
- package/esm2022/lib/common/components/widget-error/widget-error.component.mjs +0 -54
- package/esm2022/lib/common/constants.mjs +0 -22
- package/esm2022/lib/common/pipes/dashboard-unit-conversion-pipe.mjs +0 -57
- package/esm2022/lib/common/pipes/public-api.mjs +0 -21
- package/esm2022/lib/common/public-api.mjs +0 -24
- package/esm2022/lib/components/dashboard/dashboard.component.mjs +0 -222
- package/esm2022/lib/components/dashboard/default-gridster-config.mjs +0 -78
- package/esm2022/lib/components/dashboard/public-api.mjs +0 -22
- package/esm2022/lib/components/dashboard/types.mjs +0 -21
- package/esm2022/lib/components/embedded-content/embedded-content.component.mjs +0 -95
- package/esm2022/lib/components/kpi-widget/kpi.component.mjs +0 -129
- package/esm2022/lib/components/kpi-widget/public-api.mjs +0 -22
- package/esm2022/lib/components/kpi-widget/types.mjs +0 -25
- package/esm2022/lib/components/layouts/base-layout.mjs +0 -118
- package/esm2022/lib/components/layouts/public-api.mjs +0 -23
- package/esm2022/lib/components/layouts/stack/stack.component.mjs +0 -65
- package/esm2022/lib/components/layouts/tiles/tiles.component.mjs +0 -99
- package/esm2022/lib/components/list-widget/list-elements/list-group-item/list-group-item.component.mjs +0 -62
- package/esm2022/lib/components/list-widget/list-elements/list-leaf-item/list-leaf-item.component.mjs +0 -76
- package/esm2022/lib/components/list-widget/list-elements/list-navigation-bar/list-navigation-bar.component.mjs +0 -60
- package/esm2022/lib/components/list-widget/list-widget.component.mjs +0 -109
- package/esm2022/lib/components/list-widget/public-api.mjs +0 -25
- package/esm2022/lib/components/list-widget/types.mjs +0 -21
- package/esm2022/lib/components/loading/loading.component.mjs +0 -51
- package/esm2022/lib/components/loading/public-api.mjs +0 -21
- package/esm2022/lib/components/proportional-widget/proportional-donut-content/proportional-donut-content.component.mjs +0 -152
- package/esm2022/lib/components/proportional-widget/proportional-widget.component.mjs +0 -333
- package/esm2022/lib/components/proportional-widget/public-api.mjs +0 -23
- package/esm2022/lib/components/proportional-widget/types.mjs +0 -27
- package/esm2022/lib/components/providers/data-source-adapter.mjs +0 -145
- package/esm2022/lib/components/providers/drilldown-data-source-adapter.mjs +0 -113
- package/esm2022/lib/components/providers/event-bus-debugger.mjs +0 -58
- package/esm2022/lib/components/providers/interaction/interaction-handler.mjs +0 -54
- package/esm2022/lib/components/providers/interaction/url-interaction-handler.mjs +0 -69
- package/esm2022/lib/components/providers/kpi-color-prioritizer.mjs +0 -107
- package/esm2022/lib/components/providers/kpi-data-source-adapter.mjs +0 -108
- package/esm2022/lib/components/providers/kpi-scale-sync-broker.mjs +0 -143
- package/esm2022/lib/components/providers/kpi-status-content-fallback-adapter.mjs +0 -104
- package/esm2022/lib/components/providers/loading-adapter.mjs +0 -72
- package/esm2022/lib/components/providers/pizzagna-broadcaster.service.mjs +0 -84
- package/esm2022/lib/components/providers/public-api.mjs +0 -28
- package/esm2022/lib/components/providers/refresher-settings.service.mjs +0 -52
- package/esm2022/lib/components/providers/refresher.mjs +0 -105
- package/esm2022/lib/components/providers/status-content-fallback-adapter.mjs +0 -67
- package/esm2022/lib/components/providers/table-data-source-adapter.mjs +0 -89
- package/esm2022/lib/components/providers/timeseries-data-source-adapter.mjs +0 -71
- package/esm2022/lib/components/providers/types.mjs +0 -22
- package/esm2022/lib/components/public-api.mjs +0 -37
- package/esm2022/lib/components/risk-score-tile/public-api.mjs +0 -22
- package/esm2022/lib/components/risk-score-tile/risk-score-tile.component.mjs +0 -115
- package/esm2022/lib/components/risk-score-tile/types.mjs +0 -25
- package/esm2022/lib/components/table-widget/addons/paginator-feature-addon.service.mjs +0 -116
- package/esm2022/lib/components/table-widget/addons/search-feature-addon.service.mjs +0 -101
- package/esm2022/lib/components/table-widget/addons/virtual-scroll-feature-addon.service.mjs +0 -84
- package/esm2022/lib/components/table-widget/delayed-mouse-presence-detection.directive.mjs +0 -74
- package/esm2022/lib/components/table-widget/public-api.mjs +0 -23
- package/esm2022/lib/components/table-widget/table-widget.component.mjs +0 -599
- package/esm2022/lib/components/table-widget/types.mjs +0 -26
- package/esm2022/lib/components/template-load-error/template-load-error.component.mjs +0 -38
- package/esm2022/lib/components/time-frame-selection/public-api.mjs +0 -21
- package/esm2022/lib/components/time-frame-selection/timeframe-selection.component.mjs +0 -127
- package/esm2022/lib/components/timeseries-widget/chart-presets/public-api.mjs +0 -27
- package/esm2022/lib/components/timeseries-widget/chart-presets/status-bar-chart/apply-status-endpoints.mjs +0 -73
- package/esm2022/lib/components/timeseries-widget/chart-presets/status-bar-chart/status-bar-chart.component.mjs +0 -237
- package/esm2022/lib/components/timeseries-widget/chart-presets/timeseries-chart.component.mjs +0 -175
- package/esm2022/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/line-chart.component.mjs +0 -62
- package/esm2022/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-area-chart.component.mjs +0 -68
- package/esm2022/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-bar-chart.component.mjs +0 -84
- package/esm2022/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-percentage-area-chart.component.mjs +0 -62
- package/esm2022/lib/components/timeseries-widget/chart-presets/xy-chart/xy-chart.component.mjs +0 -347
- package/esm2022/lib/components/timeseries-widget/public-api.mjs +0 -27
- package/esm2022/lib/components/timeseries-widget/timeseries-chart-preset.service.mjs +0 -57
- package/esm2022/lib/components/timeseries-widget/timeseries-helpers.mjs +0 -44
- package/esm2022/lib/components/timeseries-widget/timeseries-inspection-menu/timeseries-inspection-menu.component.mjs +0 -150
- package/esm2022/lib/components/timeseries-widget/timeseries-scales.service.mjs +0 -180
- package/esm2022/lib/components/timeseries-widget/timeseries-widget.component.mjs +0 -111
- package/esm2022/lib/components/timeseries-widget/transformer/loess.mjs +0 -220
- package/esm2022/lib/components/timeseries-widget/transformer/public-api.mjs +0 -29
- package/esm2022/lib/components/timeseries-widget/transformer/transformer-change-point.mjs +0 -104
- package/esm2022/lib/components/timeseries-widget/transformer/transformer-difference.mjs +0 -58
- package/esm2022/lib/components/timeseries-widget/transformer/transformer-floating-average.mjs +0 -41
- package/esm2022/lib/components/timeseries-widget/transformer/transformer-lin-reg.mjs +0 -66
- package/esm2022/lib/components/timeseries-widget/transformer/transformer-loess-standardize.mjs +0 -29
- package/esm2022/lib/components/timeseries-widget/transformer/transformer-loess.mjs +0 -38
- package/esm2022/lib/components/timeseries-widget/transformer/transformer-normalize.mjs +0 -47
- package/esm2022/lib/components/timeseries-widget/transformer/transformer-percentile-std.mjs +0 -58
- package/esm2022/lib/components/timeseries-widget/transformer/transformer-standardize.mjs +0 -47
- package/esm2022/lib/components/timeseries-widget/types.mjs +0 -76
- package/esm2022/lib/components/types.mjs +0 -25
- package/esm2022/lib/components/widget/public-api.mjs +0 -26
- package/esm2022/lib/components/widget/types.mjs +0 -21
- package/esm2022/lib/components/widget/widget-body/widget-body.component.mjs +0 -88
- package/esm2022/lib/components/widget/widget-body-content/widget-body-content.component.mjs +0 -75
- package/esm2022/lib/components/widget/widget-header/types.mjs +0 -21
- package/esm2022/lib/components/widget/widget-header/widget-header.component.mjs +0 -202
- package/esm2022/lib/components/widget/widget.component.mjs +0 -65
- package/esm2022/lib/components/widget-search/types.mjs +0 -21
- package/esm2022/lib/components/widget-search/widget-search.component.mjs +0 -111
- package/esm2022/lib/configurator/components/color-picker/HTMLcolors.mjs +0 -163
- package/esm2022/lib/configurator/components/color-picker/color-picker.component.mjs +0 -183
- package/esm2022/lib/configurator/components/color-picker/color.service.mjs +0 -56
- package/esm2022/lib/configurator/components/configurator/configurator.component.mjs +0 -119
- package/esm2022/lib/configurator/components/drop-area/drop-area.component.mjs +0 -30
- package/esm2022/lib/configurator/components/form-stack/form-stack.component.mjs +0 -86
- package/esm2022/lib/configurator/components/formatters/donut-content-percentage-formatter/donut-content-percentage-configuration.component.mjs +0 -43
- package/esm2022/lib/configurator/components/formatters/donut-content-percentage-formatter/donut-content-percentage-formatter.component.mjs +0 -84
- package/esm2022/lib/configurator/components/formatters/donut-content-raw-formatter/donut-content-raw-formatter.component.mjs +0 -89
- package/esm2022/lib/configurator/components/formatters/donut-content-sum-formatter/donut-content-sum-formatter.component.mjs +0 -47
- package/esm2022/lib/configurator/components/formatters/icon-formatter/icon-formatter.component.mjs +0 -85
- package/esm2022/lib/configurator/components/formatters/link-formatter/link-formatter.component.mjs +0 -61
- package/esm2022/lib/configurator/components/formatters/percentage-formatter/percentage-formatter.component.mjs +0 -35
- package/esm2022/lib/configurator/components/formatters/raw-formatter/raw-formatter.component.mjs +0 -44
- package/esm2022/lib/configurator/components/formatters/si-units-formatter/si-units-formatter.component.mjs +0 -120
- package/esm2022/lib/configurator/components/formatters/status-with-icon-formatter/status-with-icon-formatter.component.mjs +0 -105
- package/esm2022/lib/configurator/components/formatters/types.mjs +0 -21
- package/esm2022/lib/configurator/components/formatters/widget-formatter-configurators/donut-formatter-configurator.component.mjs +0 -92
- package/esm2022/lib/configurator/components/heading/configurator-heading.component.mjs +0 -49
- package/esm2022/lib/configurator/components/items-dynamic/items-dynamic.component.mjs +0 -148
- package/esm2022/lib/configurator/components/preview-placeholder/preview-placeholder.component.mjs +0 -31
- package/esm2022/lib/configurator/components/public-api.mjs +0 -46
- package/esm2022/lib/configurator/components/types.mjs +0 -21
- package/esm2022/lib/configurator/components/widget-cloner/widget-cloner.component.mjs +0 -169
- package/esm2022/lib/configurator/components/widget-configurator-section/widget-configurator-section-coordinator.service.mjs +0 -57
- package/esm2022/lib/configurator/components/widget-configurator-section/widget-configurator-section.component.mjs +0 -83
- package/esm2022/lib/configurator/components/widget-editor/widget-editor.component.mjs +0 -146
- package/esm2022/lib/configurator/components/widget-editor-accordion/widget-editor-accordion-header/widget-editor-accordion-header.component.mjs +0 -25
- package/esm2022/lib/configurator/components/widget-editor-accordion/widget-editor-accordion.component.mjs +0 -73
- package/esm2022/lib/configurator/components/widgets/configurator-items/background-color-rules-configuration/background-color-rules-configuration.component.mjs +0 -122
- package/esm2022/lib/configurator/components/widgets/configurator-items/data-source-configuration/data-source-configuration.component.mjs +0 -153
- package/esm2022/lib/configurator/components/widgets/configurator-items/data-source-configuration-v2/data-source-configuration-v2.component.mjs +0 -198
- package/esm2022/lib/configurator/components/widgets/configurator-items/data-source-error/data-source-error.component.mjs +0 -74
- package/esm2022/lib/configurator/components/widgets/configurator-items/data-source-error/public-api.mjs +0 -22
- package/esm2022/lib/configurator/components/widgets/configurator-items/data-source-error/table/table-data-source-error.component.mjs +0 -41
- package/esm2022/lib/configurator/components/widgets/configurator-items/embedded-content-configuration/embedded-content-configuration.component.mjs +0 -133
- package/esm2022/lib/configurator/components/widgets/configurator-items/info-message-configuration/info-message-configuration.component.mjs +0 -44
- package/esm2022/lib/configurator/components/widgets/configurator-items/kpi-description-configuration/kpi-description-configuration.component.mjs +0 -107
- package/esm2022/lib/configurator/components/widgets/configurator-items/public-api.mjs +0 -31
- package/esm2022/lib/configurator/components/widgets/configurator-items/refresher-configuration/public-api.mjs +0 -22
- package/esm2022/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/refresh-rate-configurator.component.mjs +0 -237
- package/esm2022/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/time-units.mjs +0 -44
- package/esm2022/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/types.mjs +0 -21
- package/esm2022/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresher-configuration.component.mjs +0 -170
- package/esm2022/lib/configurator/components/widgets/configurator-items/risk-score-tile-description-configuration/risk-score-tile-description-configuration.component.mjs +0 -106
- package/esm2022/lib/configurator/components/widgets/configurator-items/thresholds-configuration/thresholds-configuration.component.mjs +0 -140
- package/esm2022/lib/configurator/components/widgets/configurator-items/thresholds-configuration/thresholds-validator.mjs +0 -56
- package/esm2022/lib/configurator/components/widgets/configurator-items/timeseries-metadata-configuration/timeseries-metadata-configuration.component.mjs +0 -151
- package/esm2022/lib/configurator/components/widgets/configurator-items/title-and-description-configuration/title-and-description-configuration.component.mjs +0 -91
- package/esm2022/lib/configurator/components/widgets/drilldown/entity-formatting-configuration/entity-formatting-configuration.component.mjs +0 -68
- package/esm2022/lib/configurator/components/widgets/drilldown/grouping-configuration/grouping-configuration.component.mjs +0 -154
- package/esm2022/lib/configurator/components/widgets/drilldown/public-api.mjs +0 -22
- package/esm2022/lib/configurator/components/widgets/kpi/kpi-tiles-configuration/kpi-tiles-configuration.component.mjs +0 -92
- package/esm2022/lib/configurator/components/widgets/kpi/kpi-tiles-configuration/public-api.mjs +0 -21
- package/esm2022/lib/configurator/components/widgets/kpi/public-api.mjs +0 -22
- package/esm2022/lib/configurator/components/widgets/kpi/types.mjs +0 -33
- package/esm2022/lib/configurator/components/widgets/proportional/aggregators-configurators/aggregator-configurator/aggregator-configurator.component.mjs +0 -72
- package/esm2022/lib/configurator/components/widgets/proportional/aggregators-configurators/field-mapper-aggregator-configurator/field-mapper-aggregator-configurator.component.mjs +0 -87
- package/esm2022/lib/configurator/components/widgets/proportional/chart-options-editor/proportional-chart-options-editor.component.mjs +0 -166
- package/esm2022/lib/configurator/components/widgets/proportional/chart-options-editor-v2/proportional-chart-options-editor-v2.component.mjs +0 -108
- package/esm2022/lib/configurator/components/widgets/proportional/donut-content-configuration/donut-content-configuration.component.mjs +0 -167
- package/esm2022/lib/configurator/components/widgets/proportional/public-api.mjs +0 -25
- package/esm2022/lib/configurator/components/widgets/public-api.mjs +0 -27
- package/esm2022/lib/configurator/components/widgets/risk-score/public-api.mjs +0 -22
- package/esm2022/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/public-api.mjs +0 -21
- package/esm2022/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/risk-score-tiles-configuration.component.mjs +0 -92
- package/esm2022/lib/configurator/components/widgets/risk-score/types.mjs +0 -21
- package/esm2022/lib/configurator/components/widgets/table/columns-editor/column-configuration/description-configuration/description-configuration.component.mjs +0 -80
- package/esm2022/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/formatter-configurator.component.mjs +0 -117
- package/esm2022/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/link-configurator/link-configurator.component.mjs +0 -53
- package/esm2022/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/value-selector/value-selector.component.mjs +0 -43
- package/esm2022/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/presentation-configuration.component.mjs +0 -259
- package/esm2022/lib/configurator/components/widgets/table/columns-editor/table-columns-configuration.component.mjs +0 -264
- package/esm2022/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/description-configuration/description-configuration-v2.component.mjs +0 -123
- package/esm2022/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/presentation-configuration/presentation-configuration-v2.component.mjs +0 -309
- package/esm2022/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/table-column-configuration/table-column-configuration.component.mjs +0 -109
- package/esm2022/lib/configurator/components/widgets/table/columns-editor-v2/table-columns-configuration-v2.component.mjs +0 -250
- package/esm2022/lib/configurator/components/widgets/table/filters-editor/table-filters-editor.component.mjs +0 -122
- package/esm2022/lib/configurator/components/widgets/table/public-api.mjs +0 -32
- package/esm2022/lib/configurator/components/widgets/table/scrollType-editor/scroll-type-editor.component.mjs +0 -190
- package/esm2022/lib/configurator/components/widgets/table/scrollType-editor/scroll-type-editor.service.mjs +0 -39
- package/esm2022/lib/configurator/components/widgets/timeseries/public-api.mjs +0 -25
- package/esm2022/lib/configurator/components/widgets/timeseries/timeseries-series-collection-configuration/timeseries-series-collection-configuration.component.mjs +0 -111
- package/esm2022/lib/configurator/components/widgets/timeseries/timeseries-tile-description-configuration/timeseries-tile-description-configuration.component.mjs +0 -68
- package/esm2022/lib/configurator/components/widgets/timeseries/timeseries-tile-indicator-data-configuration/timeseries-tile-indicator-data-configuration.component.mjs +0 -107
- package/esm2022/lib/configurator/components/widgets/timeseries/types.mjs +0 -21
- package/esm2022/lib/configurator/components/wizard/dashwiz/dashwiz-buttons.component.mjs +0 -174
- package/esm2022/lib/configurator/components/wizard/dashwiz/dashwiz.component.mjs +0 -344
- package/esm2022/lib/configurator/components/wizard/dashwiz/dashwiz.service.mjs +0 -33
- package/esm2022/lib/configurator/components/wizard/dashwiz/model.mjs +0 -21
- package/esm2022/lib/configurator/components/wizard/dashwiz/public-api.mjs +0 -23
- package/esm2022/lib/configurator/components/wizard/dashwiz-step/dashwiz-step.component.mjs +0 -131
- package/esm2022/lib/configurator/components/wizard/dashwiz-step/public-api.mjs +0 -21
- package/esm2022/lib/configurator/components/wizard/public-api.mjs +0 -23
- package/esm2022/lib/configurator/components/wizard/types.mjs +0 -21
- package/esm2022/lib/configurator/configurator.module.mjs +0 -443
- package/esm2022/lib/configurator/functions/has-control-in-error-state.mjs +0 -56
- package/esm2022/lib/configurator/functions/public-api.mjs +0 -21
- package/esm2022/lib/configurator/pipe/add-data.pipe.mjs +0 -47
- package/esm2022/lib/configurator/pipe/pizzagna-root.pipe.mjs +0 -45
- package/esm2022/lib/configurator/pipe/public-api.mjs +0 -25
- package/esm2022/lib/configurator/pipe/widget-configurator-section-header.pipe.mjs +0 -38
- package/esm2022/lib/configurator/pipe/widget-editor-accordion-form-state.pipe.mjs +0 -50
- package/esm2022/lib/configurator/pipe/widget-editor-accordion-header-icon.pipe.mjs +0 -48
- package/esm2022/lib/configurator/public-api.mjs +0 -26
- package/esm2022/lib/configurator/services/configurator-data-source-manager.service.mjs +0 -89
- package/esm2022/lib/configurator/services/configurator-heading.service.mjs +0 -33
- package/esm2022/lib/configurator/services/configurator.service.mjs +0 -146
- package/esm2022/lib/configurator/services/converters/base-converter.mjs +0 -71
- package/esm2022/lib/configurator/services/converters/kpi/kpi-section-converter/kpi-section-converter.service.mjs +0 -86
- package/esm2022/lib/configurator/services/converters/kpi/kpi-tiles-converter.service.mjs +0 -107
- package/esm2022/lib/configurator/services/converters/proportional/proportional-widget-chart-options-converter.service.mjs +0 -68
- package/esm2022/lib/configurator/services/converters/public-api.mjs +0 -25
- package/esm2022/lib/configurator/services/converters/shared/generic-array-converter/generic-array-converter.service.mjs +0 -81
- package/esm2022/lib/configurator/services/converters/shared/generic-converter/generic-converter.service.mjs +0 -81
- package/esm2022/lib/configurator/services/converters/shared/title-and-description-converter/title-and-description-converter.service.mjs +0 -64
- package/esm2022/lib/configurator/services/converters/table/table-columns-converter.service.mjs +0 -183
- package/esm2022/lib/configurator/services/converters/table/table-filters-converter.service.mjs +0 -65
- package/esm2022/lib/configurator/services/converters/table/table-scroll-type-converter.service.mjs +0 -68
- package/esm2022/lib/configurator/services/converters/timeseries/timeseries-metadata-converter.service.mjs +0 -85
- package/esm2022/lib/configurator/services/converters/timeseries/timeseries-series-converter.service.mjs +0 -172
- package/esm2022/lib/configurator/services/converters/timeseries/timeseries-tile-indicator-data-converter.service.mjs +0 -75
- package/esm2022/lib/configurator/services/converters/types.mjs +0 -22
- package/esm2022/lib/configurator/services/kpi-widget-color.service.mjs +0 -42
- package/esm2022/lib/configurator/services/preview.service.mjs +0 -40
- package/esm2022/lib/configurator/services/public-api.mjs +0 -29
- package/esm2022/lib/configurator/services/timeframe-serialization.service.mjs +0 -49
- package/esm2022/lib/configurator/services/types.mjs +0 -21
- package/esm2022/lib/configurator/services/widget-cloner.service.mjs +0 -55
- package/esm2022/lib/configurator/services/widget-editor.service.mjs +0 -61
- package/esm2022/lib/configurator/types.mjs +0 -26
- package/esm2022/lib/constants/default-palette.mjs +0 -82
- package/esm2022/lib/constants/public-api.mjs +0 -21
- package/esm2022/lib/constants/si-units-prefixes.mjs +0 -114
- package/esm2022/lib/dashboards.module.mjs +0 -335
- package/esm2022/lib/directives/gridster-item-widget-id/gridster-item-widget-id.directive.mjs +0 -52
- package/esm2022/lib/directives/public-api.mjs +0 -22
- package/esm2022/lib/directives/widget-editor/public-api.mjs +0 -21
- package/esm2022/lib/directives/widget-editor/widget-editor.directive.mjs +0 -104
- package/esm2022/lib/functions/get-parent-component-id.mjs +0 -30
- package/esm2022/lib/functions/map-data-to-formatter-properties.mjs +0 -44
- package/esm2022/lib/functions/merge-changes.mjs +0 -110
- package/esm2022/lib/functions/on-mark-as-touched.mjs +0 -35
- package/esm2022/lib/functions/parse-string-with-data.mjs +0 -44
- package/esm2022/lib/functions/proportional-aggregators/field-mapper.mjs +0 -33
- package/esm2022/lib/functions/proportional-aggregators/percentage-aggregator.mjs +0 -44
- package/esm2022/lib/functions/proportional-aggregators/public-api.mjs +0 -24
- package/esm2022/lib/functions/proportional-aggregators/sum-aggregator.mjs +0 -35
- package/esm2022/lib/functions/proportional-aggregators/types.mjs +0 -21
- package/esm2022/lib/functions/public-api.mjs +0 -24
- package/esm2022/lib/functions/round-array-values.mjs +0 -32
- package/esm2022/lib/functions/timeseries-datetime-formatter.mjs +0 -40
- package/esm2022/lib/pizzagna/components/pizzagna/pizzagna.component.mjs +0 -134
- package/esm2022/lib/pizzagna/components/pizzagna/public-api.mjs +0 -21
- package/esm2022/lib/pizzagna/directives/component-portal/component-portal.directive.mjs +0 -306
- package/esm2022/lib/pizzagna/directives/component-portal/public-api.mjs +0 -21
- package/esm2022/lib/pizzagna/functions/get-pizzagna-property-path.mjs +0 -41
- package/esm2022/lib/pizzagna/functions/public-api.mjs +0 -21
- package/esm2022/lib/pizzagna/pizzagna.module.mjs +0 -39
- package/esm2022/lib/pizzagna/public-api.mjs +0 -26
- package/esm2022/lib/pizzagna/services/component-portal.service.mjs +0 -65
- package/esm2022/lib/pizzagna/services/component-registry.service.mjs +0 -54
- package/esm2022/lib/pizzagna/services/dynamic-component-creator.service.mjs +0 -63
- package/esm2022/lib/pizzagna/services/pizzagna.service.mjs +0 -133
- package/esm2022/lib/pizzagna/services/public-api.mjs +0 -24
- package/esm2022/lib/services/category-chart-util.service.mjs +0 -126
- package/esm2022/lib/services/event-registry.service.mjs +0 -48
- package/esm2022/lib/services/kpi-color-comparators-registry.service.mjs +0 -68
- package/esm2022/lib/services/proportional-content-aggregators-registry.service.mjs +0 -39
- package/esm2022/lib/services/provider-registry.service.mjs +0 -294
- package/esm2022/lib/services/public-api.mjs +0 -30
- package/esm2022/lib/services/registry-service.mjs +0 -83
- package/esm2022/lib/services/table-formatter-registry.service.mjs +0 -98
- package/esm2022/lib/services/types.mjs +0 -81
- package/esm2022/lib/services/url-interaction.service.mjs +0 -52
- package/esm2022/lib/services/widget-configuration.service.mjs +0 -35
- package/esm2022/lib/services/widget-removal.service.mjs +0 -60
- package/esm2022/lib/services/widget-to-dashboard-event-proxy.service.mjs +0 -151
- package/esm2022/lib/services/widget-types.service.mjs +0 -88
- package/esm2022/lib/types.mjs +0 -77
- package/esm2022/lib/widget-types/common/configurator/components.mjs +0 -51
- package/esm2022/lib/widget-types/common/configurator/public-api.mjs +0 -21
- package/esm2022/lib/widget-types/common/public-api.mjs +0 -22
- package/esm2022/lib/widget-types/common/widget/components.mjs +0 -133
- package/esm2022/lib/widget-types/common/widget/legend.mjs +0 -26
- package/esm2022/lib/widget-types/common/widget/providers.mjs +0 -44
- package/esm2022/lib/widget-types/common/widget/public-api.mjs +0 -24
- package/esm2022/lib/widget-types/common/widget/types.mjs +0 -29
- package/esm2022/lib/widget-types/drilldown/drilldown-configurator.mjs +0 -148
- package/esm2022/lib/widget-types/drilldown/drilldown-widget.mjs +0 -95
- package/esm2022/lib/widget-types/drilldown/drilldown.mjs +0 -50
- package/esm2022/lib/widget-types/embedded-content/embedded-content-configurator.mjs +0 -110
- package/esm2022/lib/widget-types/embedded-content/embedded-content-widget.mjs +0 -73
- package/esm2022/lib/widget-types/embedded-content/embedded-content.mjs +0 -48
- package/esm2022/lib/widget-types/kpi/kpi-configurator.mjs +0 -271
- package/esm2022/lib/widget-types/kpi/kpi-widget.mjs +0 -105
- package/esm2022/lib/widget-types/kpi/kpi.mjs +0 -61
- package/esm2022/lib/widget-types/preview-placeholder.mjs +0 -59
- package/esm2022/lib/widget-types/proportional/donut-content-configurator-slice.mjs +0 -133
- package/esm2022/lib/widget-types/proportional/proportional-configurator.mjs +0 -281
- package/esm2022/lib/widget-types/proportional/proportional-widget.mjs +0 -91
- package/esm2022/lib/widget-types/proportional/proportional.mjs +0 -54
- package/esm2022/lib/widget-types/public-api.mjs +0 -24
- package/esm2022/lib/widget-types/risk-score/risk-score-configurator.mjs +0 -201
- package/esm2022/lib/widget-types/risk-score/risk-score-widget.mjs +0 -101
- package/esm2022/lib/widget-types/risk-score/risk-score.mjs +0 -56
- package/esm2022/lib/widget-types/table/default-table-formatters.mjs +0 -49
- package/esm2022/lib/widget-types/table/table-configurator.mjs +0 -158
- package/esm2022/lib/widget-types/table/table-widget.mjs +0 -111
- package/esm2022/lib/widget-types/table/table.mjs +0 -39
- package/esm2022/lib/widget-types/timeseries/timeseries-configurator.mjs +0 -183
- package/esm2022/lib/widget-types/timeseries/timeseries-widget.mjs +0 -122
- package/esm2022/lib/widget-types/timeseries/timeseries.mjs +0 -52
- package/esm2022/nova-ui-dashboards.mjs +0 -5
- package/esm2022/public-api.mjs +0 -31
- package/sdk/locale/messages.en.xlf +0 -2764
|
@@ -26,7 +26,7 @@ const isNil_1 = tslib_1.__importDefault(require("lodash/isNil"));
|
|
|
26
26
|
const operators_1 = require("rxjs/operators");
|
|
27
27
|
const types_1 = require("../../../services/types");
|
|
28
28
|
const types_2 = require("../../../types");
|
|
29
|
-
let SearchFeatureAddonService =
|
|
29
|
+
let SearchFeatureAddonService = class SearchFeatureAddonService {
|
|
30
30
|
constructor() {
|
|
31
31
|
this.searchDebounceTime = 500;
|
|
32
32
|
}
|
|
@@ -35,9 +35,8 @@ let SearchFeatureAddonService = exports.SearchFeatureAddonService = class Search
|
|
|
35
35
|
this.initSearch();
|
|
36
36
|
}
|
|
37
37
|
initSearch() {
|
|
38
|
-
var _a, _b;
|
|
39
38
|
this.defineSearch();
|
|
40
|
-
const dsFeaturesChange =
|
|
39
|
+
const dsFeaturesChange = this.widget.dataSource?.features?.featuresChanged;
|
|
41
40
|
if (dsFeaturesChange) {
|
|
42
41
|
dsFeaturesChange
|
|
43
42
|
.pipe((0, operators_1.takeUntil)(this.widget.onDestroy$))
|
|
@@ -61,22 +60,20 @@ let SearchFeatureAddonService = exports.SearchFeatureAddonService = class Search
|
|
|
61
60
|
}
|
|
62
61
|
}
|
|
63
62
|
deregisterSearch() {
|
|
64
|
-
var _a, _b;
|
|
65
63
|
if (this.widget.dataSource) {
|
|
66
|
-
|
|
64
|
+
this.widget.dataSource.deregisterComponent?.("search");
|
|
67
65
|
}
|
|
68
66
|
}
|
|
69
67
|
defineSearch() {
|
|
70
|
-
|
|
71
|
-
const
|
|
72
|
-
|
|
73
|
-
this.widget.isSearchEnabled = !!((searchConfiguration === null || searchConfiguration === void 0 ? void 0 : searchConfiguration.enabled) && (searchDsConfig === null || searchDsConfig === void 0 ? void 0 : searchDsConfig.enabled));
|
|
68
|
+
const searchConfiguration = this.widget.configuration?.searchConfiguration;
|
|
69
|
+
const searchDsConfig = this.widget.dataSource.features?.getFeatureConfig("search");
|
|
70
|
+
this.widget.isSearchEnabled = !!(searchConfiguration?.enabled && searchDsConfig?.enabled);
|
|
74
71
|
if (this.widget.isSearchEnabled) {
|
|
75
|
-
this.widget.searchValue =
|
|
72
|
+
this.widget.searchValue = searchConfiguration?.searchTerm || "";
|
|
76
73
|
this.registerSearch();
|
|
77
|
-
this.searchDebounceTime = !(0, isNil_1.default)(searchConfiguration
|
|
74
|
+
this.searchDebounceTime = !(0, isNil_1.default)(searchConfiguration?.searchDebounce)
|
|
78
75
|
? // Note: asserting value to prevent compilation error on unable to infer correct type
|
|
79
|
-
searchConfiguration
|
|
76
|
+
searchConfiguration?.searchDebounce
|
|
80
77
|
: this.searchDebounceTime;
|
|
81
78
|
this.watchSearchTerm();
|
|
82
79
|
}
|
|
@@ -99,6 +96,7 @@ let SearchFeatureAddonService = exports.SearchFeatureAddonService = class Search
|
|
|
99
96
|
});
|
|
100
97
|
}
|
|
101
98
|
};
|
|
99
|
+
exports.SearchFeatureAddonService = SearchFeatureAddonService;
|
|
102
100
|
exports.SearchFeatureAddonService = SearchFeatureAddonService = tslib_1.__decorate([
|
|
103
101
|
(0, core_1.Injectable)()
|
|
104
102
|
], SearchFeatureAddonService);
|
package/sdk/atoms/src/lib/components/table-widget/addons/search-feature-addon.service.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-feature-addon.service.js","sourceRoot":"","sources":["../../../../../../../../src/lib/components/table-widget/addons/search-feature-addon.service.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,EAAE;AACF,+EAA+E;AAC/E,4EAA4E;AAC5E,8EAA8E;AAC9E,+EAA+E;AAC/E,8EAA8E;AAC9E,4DAA4D;AAC5D,EAAE;AACF,6EAA6E;AAC7E,uDAAuD;AACvD,EAAE;AACF,6EAA6E;AAC7E,4EAA4E;AAC5E,+EAA+E;AAC/E,0EAA0E;AAC1E,iFAAiF;AACjF,6EAA6E;AAC7E,iBAAiB;;;;AAEjB,wCAA2C;AAC3C,iEAAiC;AACjC,8CAAyD;AAIzD,mDAAkD;AAClD,0CAA+C;AAIxC,IAAM,yBAAyB,
|
|
1
|
+
{"version":3,"file":"search-feature-addon.service.js","sourceRoot":"","sources":["../../../../../../../../src/lib/components/table-widget/addons/search-feature-addon.service.ts"],"names":[],"mappings":"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"}
|
package/sdk/atoms/src/lib/components/table-widget/addons/virtual-scroll-feature-addon.service.js
CHANGED
|
@@ -27,7 +27,7 @@ const rxjs_1 = require("rxjs");
|
|
|
27
27
|
const operators_1 = require("rxjs/operators");
|
|
28
28
|
const bits_1 = require("@nova-ui/bits");
|
|
29
29
|
const types_1 = require("../../../services/types");
|
|
30
|
-
let VirtualScrollFeatureAddonService =
|
|
30
|
+
let VirtualScrollFeatureAddonService = class VirtualScrollFeatureAddonService {
|
|
31
31
|
constructor() {
|
|
32
32
|
this.visibleItems = [];
|
|
33
33
|
}
|
|
@@ -55,9 +55,8 @@ let VirtualScrollFeatureAddonService = exports.VirtualScrollFeatureAddonService
|
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
deregisterVirtualScroll() {
|
|
58
|
-
var _a, _b;
|
|
59
58
|
if (this.widget.dataSource) {
|
|
60
|
-
|
|
59
|
+
this.widget.dataSource.deregisterComponent?.((0, bits_1.nameof)("virtualScroll"));
|
|
61
60
|
}
|
|
62
61
|
}
|
|
63
62
|
/**
|
|
@@ -70,9 +69,9 @@ let VirtualScrollFeatureAddonService = exports.VirtualScrollFeatureAddonService
|
|
|
70
69
|
// Note: Using this additional stream to pass the visible range to
|
|
71
70
|
// the table and trigger change detection on range change and table data update.
|
|
72
71
|
// eslint-disable-next-line import/no-deprecated
|
|
73
|
-
(0, rxjs_1.merge)(this.widget.vscrollViewport.renderedRangeStream, this.widget.tableUpdate$.pipe((0, operators_1.map)(() =>
|
|
72
|
+
(0, rxjs_1.merge)(this.widget.vscrollViewport.renderedRangeStream, this.widget.tableUpdate$.pipe((0, operators_1.map)(() => this.widget.vscrollViewport?.getRenderedRange())))
|
|
74
73
|
.pipe((0, operators_1.tap)((range) => {
|
|
75
|
-
this.visibleItems = this.widget.tableData.slice(range
|
|
74
|
+
this.visibleItems = this.widget.tableData.slice(range?.start, range?.end);
|
|
76
75
|
// Since we're using onPush strategy we should trigger CD manually to ensure that visible items are updated properly
|
|
77
76
|
this.widget.changeDetector.detectChanges();
|
|
78
77
|
}), (0, operators_1.takeUntil)(this.widget.onDestroy$))
|
|
@@ -85,11 +84,8 @@ let VirtualScrollFeatureAddonService = exports.VirtualScrollFeatureAddonService
|
|
|
85
84
|
})
|
|
86
85
|
.pipe(
|
|
87
86
|
// Note: A special check to keep our server-client-side sorting in place
|
|
88
|
-
(0, operators_1.filter)((range) =>
|
|
89
|
-
|
|
90
|
-
return range.end >=
|
|
91
|
-
((_b = (_a = this.widget.vscrollViewport) === null || _a === void 0 ? void 0 : _a.getDataLength()) !== null && _b !== void 0 ? _b : 0);
|
|
92
|
-
}), (0, operators_1.tap)((range) => this.widget.zone.run(() => {
|
|
87
|
+
(0, operators_1.filter)((range) => range.end >=
|
|
88
|
+
(this.widget.vscrollViewport?.getDataLength() ?? 0)), (0, operators_1.tap)((range) => this.widget.zone.run(() => {
|
|
93
89
|
// TODO: Remove "page" in V10. Compute page on datasource level. - NUI-5830
|
|
94
90
|
// @ts-ignore: Provide a proper interface to DS
|
|
95
91
|
this.widget.dataSource.page =
|
|
@@ -102,6 +98,7 @@ let VirtualScrollFeatureAddonService = exports.VirtualScrollFeatureAddonService
|
|
|
102
98
|
.subscribe();
|
|
103
99
|
}
|
|
104
100
|
};
|
|
101
|
+
exports.VirtualScrollFeatureAddonService = VirtualScrollFeatureAddonService;
|
|
105
102
|
exports.VirtualScrollFeatureAddonService = VirtualScrollFeatureAddonService = tslib_1.__decorate([
|
|
106
103
|
(0, core_1.Injectable)()
|
|
107
104
|
], VirtualScrollFeatureAddonService);
|
package/sdk/atoms/src/lib/components/table-widget/addons/virtual-scroll-feature-addon.service.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"virtual-scroll-feature-addon.service.js","sourceRoot":"","sources":["../../../../../../../../src/lib/components/table-widget/addons/virtual-scroll-feature-addon.service.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,EAAE;AACF,+EAA+E;AAC/E,4EAA4E;AAC5E,8EAA8E;AAC9E,+EAA+E;AAC/E,8EAA8E;AAC9E,4DAA4D;AAC5D,EAAE;AACF,6EAA6E;AAC7E,uDAAuD;AACvD,EAAE;AACF,6EAA6E;AAC7E,4EAA4E;AAC5E,+EAA+E;AAC/E,0EAA0E;AAC1E,iFAAiF;AACjF,6EAA6E;AAC7E,iBAAiB;;;;AAGjB,wCAA2C;AAC3C,gDAAgD;AAChD,+BAA6B;AAC7B,8CAA6D;AAE7D,wCAAqD;AAErD,mDAA2D;AAIpD,IAAM,gCAAgC,
|
|
1
|
+
{"version":3,"file":"virtual-scroll-feature-addon.service.js","sourceRoot":"","sources":["../../../../../../../../src/lib/components/table-widget/addons/virtual-scroll-feature-addon.service.ts"],"names":[],"mappings":"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"}
|
package/sdk/atoms/src/lib/components/table-widget/delayed-mouse-presence-detection.directive.js
CHANGED
|
@@ -23,7 +23,7 @@ exports.DelayedMousePresenceDetectionDirective = void 0;
|
|
|
23
23
|
const tslib_1 = require("tslib");
|
|
24
24
|
const core_1 = require("@angular/core");
|
|
25
25
|
const rxjs_1 = require("rxjs");
|
|
26
|
-
let DelayedMousePresenceDetectionDirective =
|
|
26
|
+
let DelayedMousePresenceDetectionDirective = class DelayedMousePresenceDetectionDirective {
|
|
27
27
|
constructor() {
|
|
28
28
|
this.enabled = true;
|
|
29
29
|
this.delay = 500;
|
|
@@ -50,6 +50,7 @@ let DelayedMousePresenceDetectionDirective = exports.DelayedMousePresenceDetecti
|
|
|
50
50
|
this.mousePresentSubject.next(false);
|
|
51
51
|
}
|
|
52
52
|
};
|
|
53
|
+
exports.DelayedMousePresenceDetectionDirective = DelayedMousePresenceDetectionDirective;
|
|
53
54
|
tslib_1.__decorate([
|
|
54
55
|
(0, core_1.Input)("nuiDelayedMousePresenceDetection"),
|
|
55
56
|
tslib_1.__metadata("design:type", Boolean)
|
|
@@ -83,6 +84,7 @@ tslib_1.__decorate([
|
|
|
83
84
|
exports.DelayedMousePresenceDetectionDirective = DelayedMousePresenceDetectionDirective = tslib_1.__decorate([
|
|
84
85
|
(0, core_1.Directive)({
|
|
85
86
|
selector: "[nuiDelayedMousePresenceDetection]",
|
|
87
|
+
standalone: false,
|
|
86
88
|
})
|
|
87
89
|
], DelayedMousePresenceDetectionDirective);
|
|
88
90
|
//# sourceMappingURL=delayed-mouse-presence-detection.directive.js.map
|
package/sdk/atoms/src/lib/components/table-widget/delayed-mouse-presence-detection.directive.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delayed-mouse-presence-detection.directive.js","sourceRoot":"","sources":["../../../../../../../src/lib/components/table-widget/delayed-mouse-presence-detection.directive.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,EAAE;AACF,+EAA+E;AAC/E,4EAA4E;AAC5E,8EAA8E;AAC9E,+EAA+E;AAC/E,8EAA8E;AAC9E,4DAA4D;AAC5D,EAAE;AACF,6EAA6E;AAC7E,uDAAuD;AACvD,EAAE;AACF,6EAA6E;AAC7E,4EAA4E;AAC5E,+EAA+E;AAC/E,0EAA0E;AAC1E,iFAAiF;AACjF,6EAA6E;AAC7E,iBAAiB;;;;AAEjB,wCAA+D;AAC/D,+BAA+B;
|
|
1
|
+
{"version":3,"file":"delayed-mouse-presence-detection.directive.js","sourceRoot":"","sources":["../../../../../../../src/lib/components/table-widget/delayed-mouse-presence-detection.directive.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,EAAE;AACF,+EAA+E;AAC/E,4EAA4E;AAC5E,8EAA8E;AAC9E,+EAA+E;AAC/E,8EAA8E;AAC9E,4DAA4D;AAC5D,EAAE;AACF,6EAA6E;AAC7E,uDAAuD;AACvD,EAAE;AACF,6EAA6E;AAC7E,4EAA4E;AAC5E,+EAA+E;AAC/E,0EAA0E;AAC1E,iFAAiF;AACjF,6EAA6E;AAC7E,iBAAiB;;;;AAEjB,wCAA+D;AAC/D,+BAA+B;AAMxB,IAAM,sCAAsC,GAA5C,MAAM,sCAAsC;IAA5C;QAC+C,YAAO,GAAY,IAAI,CAAC;QAEjE,UAAK,GAAW,GAAG,CAAC;IA4BjC,CAAC;IAxB+B,gBAAgB;QACxC,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC;YAChB,OAAO;QACX,CAAC;QACD,IAAI,CAAC,OAAO,GAAG,UAAU,CAAC,GAAG,EAAE;YAC3B,IAAI,CAAC,mBAAmB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACxC,CAAC,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;IACnB,CAAC;IAEsB,WAAW;QAC9B,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC;YAChB,OAAO;QACX,CAAC;QACD,IAAI,CAAC,mBAAmB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACxC,CAAC;IAE2B,gBAAgB;QACxC,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC;YAChB,OAAO;QACX,CAAC;QACD,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAE3B,IAAI,CAAC,mBAAmB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IACzC,CAAC;CACJ,CAAA;AA/BY,wFAAsC;AACG;IAAjD,IAAA,YAAK,EAAC,kCAAkC,CAAC;;uEAAgC;AACjE;IAAR,IAAA,YAAK,GAAE;sCAAsB,cAAO;mFAAU;AACtC;IAAR,IAAA,YAAK,GAAE;;qEAAqB;AAID;IAA3B,IAAA,mBAAY,EAAC,YAAY,CAAC;;;;8EAO1B;AAEsB;IAAtB,IAAA,mBAAY,EAAC,OAAO,CAAC;;;;yEAKrB;AAE2B;IAA3B,IAAA,mBAAY,EAAC,YAAY,CAAC;;;;8EAO1B;iDA9BQ,sCAAsC;IAJlD,IAAA,gBAAS,EAAC;QACP,QAAQ,EAAE,oCAAoC;QAC9C,UAAU,EAAE,KAAK;KACpB,CAAC;GACW,sCAAsC,CA+BlD"}
|
|
@@ -114,7 +114,7 @@ export declare class TableWidgetComponent implements AfterViewInit, OnChanges, O
|
|
|
114
114
|
private setSortFilter;
|
|
115
115
|
/**
|
|
116
116
|
* Checks if column id has changed or if sorting order has changed
|
|
117
|
-
* @param
|
|
117
|
+
* @param configuration
|
|
118
118
|
*/
|
|
119
119
|
private isSortByUpdated;
|
|
120
120
|
/**
|
|
@@ -131,4 +131,6 @@ export declare class TableWidgetComponent implements AfterViewInit, OnChanges, O
|
|
|
131
131
|
private getTableScrollRange;
|
|
132
132
|
onPagerAction(page: any): void;
|
|
133
133
|
private initPrefetchAddon;
|
|
134
|
+
private resolveSortBy;
|
|
135
|
+
private resolveSearch;
|
|
134
136
|
}
|
|
@@ -43,7 +43,8 @@ const types_3 = require("./types");
|
|
|
43
43
|
/**
|
|
44
44
|
* @ignore
|
|
45
45
|
*/
|
|
46
|
-
let TableWidgetComponent =
|
|
46
|
+
let TableWidgetComponent = class TableWidgetComponent {
|
|
47
|
+
static { this.lateLoadKey = "TableWidgetComponent"; }
|
|
47
48
|
constructor(eventBus, dataSource, widgetConfigurationService, changeDetector, pizzagnaService, viewportManager, zone, el, logger, searchAddon, paginatorAddon, virtualScrollAddon, formattersRegistryService, selectorService) {
|
|
48
49
|
this.eventBus = eventBus;
|
|
49
50
|
this.dataSource = dataSource;
|
|
@@ -87,9 +88,8 @@ let TableWidgetComponent = exports.TableWidgetComponent = class TableWidgetCompo
|
|
|
87
88
|
this._scrollBuffer = 0;
|
|
88
89
|
}
|
|
89
90
|
get headerTooltipsEnabled() {
|
|
90
|
-
var _a;
|
|
91
91
|
// Note: If tooltip state is not provided treat is as true;
|
|
92
|
-
return
|
|
92
|
+
return this.configuration.headerTooltipsEnabled ?? true;
|
|
93
93
|
}
|
|
94
94
|
set scrollBuffer(value) {
|
|
95
95
|
if (value > 100 || value < 0) {
|
|
@@ -104,13 +104,13 @@ let TableWidgetComponent = exports.TableWidgetComponent = class TableWidgetCompo
|
|
|
104
104
|
this._range = value;
|
|
105
105
|
}
|
|
106
106
|
get interactive() {
|
|
107
|
-
|
|
108
|
-
|
|
107
|
+
return (this.configuration?.interactive ??
|
|
108
|
+
this.dataSource?.features?.getFeatureConfig(types_2.WellKnownDataSourceFeatures.Interactivity)?.enabled ??
|
|
109
|
+
false);
|
|
109
110
|
}
|
|
110
111
|
get clickableRow() {
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
return (!!(configuration === null || configuration === void 0 ? void 0 : configuration.enabled) &&
|
|
112
|
+
const configuration = this.configuration?.selectionConfiguration;
|
|
113
|
+
return (!!configuration?.enabled &&
|
|
114
114
|
(configuration.clickableRow ||
|
|
115
115
|
configuration.selectionMode === bits_1.TableSelectionMode.Single));
|
|
116
116
|
}
|
|
@@ -121,9 +121,8 @@ let TableWidgetComponent = exports.TableWidgetComponent = class TableWidgetCompo
|
|
|
121
121
|
return this.scrollType === types_3.ScrollType.paginator;
|
|
122
122
|
}
|
|
123
123
|
ngOnChanges(changes) {
|
|
124
|
-
var _a, _b, _c, _d;
|
|
125
124
|
if (changes.dataFields) {
|
|
126
|
-
if (
|
|
125
|
+
if (this.dataFields?.length) {
|
|
127
126
|
this.setSortableSet();
|
|
128
127
|
}
|
|
129
128
|
}
|
|
@@ -132,27 +131,15 @@ let TableWidgetComponent = exports.TableWidgetComponent = class TableWidgetCompo
|
|
|
132
131
|
// Note: CDK Viewport does not have a proper mechanism to identify the changes and trigger checkViewportSize
|
|
133
132
|
// we have to do it manually. Using optional chaining because vscrollViewport can be unavailable at initialization.
|
|
134
133
|
// Related issue: https://github.com/angular/components/issues/10117
|
|
135
|
-
|
|
134
|
+
this.vscrollViewport?.checkViewportSize();
|
|
136
135
|
}
|
|
137
136
|
if (changes.configuration) {
|
|
138
|
-
|
|
139
|
-
// Note: Using true as a default sortable value to maintain backward compatibility
|
|
140
|
-
if (this.isSortByUpdated(changes.configuration) &&
|
|
141
|
-
((_c = changes.configuration.currentValue.sortable) !== null && _c !== void 0 ? _c : true)) {
|
|
142
|
-
const sortedColumn = {
|
|
143
|
-
direction: changes.configuration.currentValue
|
|
144
|
-
.sorterConfiguration.descendantSorting
|
|
145
|
-
? bits_1.SorterDirection.descending
|
|
146
|
-
: bits_1.SorterDirection.ascending,
|
|
147
|
-
sortBy: changes.configuration.currentValue
|
|
148
|
-
.sorterConfiguration.sortBy,
|
|
149
|
-
};
|
|
150
|
-
this.onSortOrderChanged(sortedColumn);
|
|
151
|
-
}
|
|
137
|
+
this.resolveSortBy(changes);
|
|
152
138
|
this.resolveScrollType(changes);
|
|
139
|
+
this.resolveSearch(changes);
|
|
153
140
|
}
|
|
154
141
|
if (changes.totalItems) {
|
|
155
|
-
this.totalPages = Math.floor((
|
|
142
|
+
this.totalPages = Math.floor((this.totalItems ?? 0) / this.range);
|
|
156
143
|
}
|
|
157
144
|
}
|
|
158
145
|
resolveScrollType(changes) {
|
|
@@ -173,31 +160,28 @@ let TableWidgetComponent = exports.TableWidgetComponent = class TableWidgetCompo
|
|
|
173
160
|
}
|
|
174
161
|
}
|
|
175
162
|
ngAfterViewInit() {
|
|
176
|
-
var _a;
|
|
177
163
|
if (!this.dataSource) {
|
|
178
164
|
return;
|
|
179
165
|
}
|
|
180
|
-
|
|
166
|
+
this.dataSource.busy
|
|
167
|
+
?.pipe(
|
|
181
168
|
// eslint-disable-next-line import/no-deprecated
|
|
182
|
-
(0, operators_1.tap)((isBusy) => (this.isBusy = isBusy)), (0, operators_1.takeUntil)(this.onDestroy$))
|
|
169
|
+
(0, operators_1.tap)((isBusy) => (this.isBusy = isBusy)), (0, operators_1.takeUntil)(this.onDestroy$))
|
|
170
|
+
.subscribe();
|
|
183
171
|
this.initPrefetchAddon();
|
|
184
172
|
this.searchAddon.initWidget(this);
|
|
185
173
|
const tableHeightChanged$ = this.eventBus
|
|
186
174
|
.getStream(types_1.WIDGET_RESIZE)
|
|
187
|
-
.pipe((0, operators_1.filter)((event) =>
|
|
188
|
-
|
|
189
|
-
return ((_b = (_a = event.payload) === null || _a === void 0 ? void 0 : _a.widgetId) === null || _b === void 0 ? void 0 : _b.toString()) ===
|
|
190
|
-
this.widgetConfigurationService.getWidget().id;
|
|
191
|
-
}),
|
|
175
|
+
.pipe((0, operators_1.filter)((event) => event.payload?.widgetId?.toString() ===
|
|
176
|
+
this.widgetConfigurationService.getWidget().id),
|
|
192
177
|
// eslint-disable-next-line import/no-deprecated
|
|
193
|
-
(0, operators_1.map)((event) =>
|
|
178
|
+
(0, operators_1.map)((event) => event.payload?.height ?? 0));
|
|
194
179
|
// subscribing to widget resize event from dashboard and update virtual scroll viewport size
|
|
195
180
|
tableHeightChanged$
|
|
196
181
|
.pipe((0, operators_1.takeUntil)(this.onDestroy$))
|
|
197
182
|
.subscribe((height) => {
|
|
198
|
-
var _a;
|
|
199
183
|
this.tableContainerHeight = height - this.indentFromTop;
|
|
200
|
-
|
|
184
|
+
this.vscrollViewport?.checkViewportSize();
|
|
201
185
|
this.changeDetector.detectChanges();
|
|
202
186
|
});
|
|
203
187
|
// Note: Secondary stream used to trigger widget ready event when table is properly displayed and we can start
|
|
@@ -231,11 +215,10 @@ let TableWidgetComponent = exports.TableWidgetComponent = class TableWidgetCompo
|
|
|
231
215
|
});
|
|
232
216
|
}
|
|
233
217
|
ngOnDestroy() {
|
|
234
|
-
var _a;
|
|
235
218
|
this.onDestroy$.next();
|
|
236
219
|
this.onDestroy$.complete();
|
|
237
220
|
this.tableUpdate$.complete();
|
|
238
|
-
|
|
221
|
+
this.searchTerm$?.complete();
|
|
239
222
|
// erase the error status when this component gets destroyed to prevent an error status leak when changing data sources
|
|
240
223
|
this.pizzagnaService.setProperty({
|
|
241
224
|
componentId: "bodyContent",
|
|
@@ -245,18 +228,16 @@ let TableWidgetComponent = exports.TableWidgetComponent = class TableWidgetCompo
|
|
|
245
228
|
}
|
|
246
229
|
/** Checks if table should be displayed */
|
|
247
230
|
shouldDisplayTable() {
|
|
248
|
-
var _a;
|
|
249
231
|
const columnsCondition = this.columns.length > 0;
|
|
250
|
-
const dataCondition =
|
|
232
|
+
const dataCondition = this.tableData?.length > 0;
|
|
251
233
|
return this.isSearchEnabled ||
|
|
252
234
|
(this.hasVirtualScroll && (this.isBusy || this.idle))
|
|
253
235
|
? columnsCondition
|
|
254
236
|
: columnsCondition && dataCondition;
|
|
255
237
|
}
|
|
256
238
|
dataTrackBy() {
|
|
257
|
-
|
|
258
|
-
const
|
|
259
|
-
const trackByProperty = ((configuration === null || configuration === void 0 ? void 0 : configuration.enabled) && configuration.trackByProperty) || "id";
|
|
239
|
+
const configuration = this?.configuration?.selectionConfiguration;
|
|
240
|
+
const trackByProperty = (configuration?.enabled && configuration.trackByProperty) || "id";
|
|
260
241
|
// we are returning a function here because the scope of "this" changes once it's passed
|
|
261
242
|
// to the table component and are therefore unable to access the configuration in its body
|
|
262
243
|
return (index, item) => {
|
|
@@ -280,13 +261,15 @@ let TableWidgetComponent = exports.TableWidgetComponent = class TableWidgetCompo
|
|
|
280
261
|
.map((item) => item.id);
|
|
281
262
|
const allColumnsHaveWidthSpecified = configuration.columns.every((column) => Boolean(column.width));
|
|
282
263
|
const columns = configuration.columns.map((column, index, array) => {
|
|
283
|
-
var _a, _b, _c, _d;
|
|
284
264
|
this.columnsWidthMap.set(column.id, column.width);
|
|
285
265
|
if (allColumnsHaveWidthSpecified) {
|
|
286
266
|
const lastColumn = array[array.length - 1];
|
|
287
267
|
this.columnsWidthMap.set(lastColumn.id, undefined);
|
|
288
268
|
}
|
|
289
|
-
return
|
|
269
|
+
return {
|
|
270
|
+
...column,
|
|
271
|
+
sortable: this.sortableSet[column?.formatter?.properties?.dataFieldIds?.value] ?? true,
|
|
272
|
+
};
|
|
290
273
|
});
|
|
291
274
|
if (columns.length > 0 && allColumnsHaveWidthSpecified) {
|
|
292
275
|
this.logger.warn(`Cannot set width for all columns. Resetting last column width.`);
|
|
@@ -319,8 +302,7 @@ let TableWidgetComponent = exports.TableWidgetComponent = class TableWidgetCompo
|
|
|
319
302
|
}
|
|
320
303
|
return widgetData.map((record) => {
|
|
321
304
|
const row = columns.reduce((result, column) => {
|
|
322
|
-
|
|
323
|
-
const dataFieldIds = (_b = (_a = column.formatter) === null || _a === void 0 ? void 0 : _a.properties) === null || _b === void 0 ? void 0 : _b.dataFieldIds;
|
|
305
|
+
const dataFieldIds = column.formatter?.properties?.dataFieldIds;
|
|
324
306
|
if (!dataFieldIds) {
|
|
325
307
|
return result;
|
|
326
308
|
}
|
|
@@ -328,7 +310,10 @@ let TableWidgetComponent = exports.TableWidgetComponent = class TableWidgetCompo
|
|
|
328
310
|
mapping[next] = record[dataFieldIds[next]];
|
|
329
311
|
return mapping;
|
|
330
312
|
}, {});
|
|
331
|
-
result[column.id] =
|
|
313
|
+
result[column.id] = {
|
|
314
|
+
data,
|
|
315
|
+
...(0, omit_1.default)(column.formatter?.properties, "dataFieldIds"),
|
|
316
|
+
};
|
|
332
317
|
return result;
|
|
333
318
|
}, {});
|
|
334
319
|
// we want to include original record for row interaction
|
|
@@ -341,14 +326,13 @@ let TableWidgetComponent = exports.TableWidgetComponent = class TableWidgetCompo
|
|
|
341
326
|
* @param event
|
|
342
327
|
*/
|
|
343
328
|
onSortOrderChanged(event) {
|
|
344
|
-
var _a, _b;
|
|
345
329
|
this.sortedColumn = event;
|
|
346
330
|
const columnToSort = this.columns.find((column) => column.id === event.sortBy);
|
|
347
331
|
if (!columnToSort) {
|
|
348
332
|
return;
|
|
349
333
|
}
|
|
350
|
-
const dataFieldIds =
|
|
351
|
-
const sortField = dataFieldIds
|
|
334
|
+
const dataFieldIds = columnToSort.formatter?.properties?.dataFieldIds;
|
|
335
|
+
const sortField = dataFieldIds?.value;
|
|
352
336
|
if (!sortField) {
|
|
353
337
|
return;
|
|
354
338
|
}
|
|
@@ -376,9 +360,8 @@ let TableWidgetComponent = exports.TableWidgetComponent = class TableWidgetCompo
|
|
|
376
360
|
this.eventBus.getStream(types_1.SELECTION).next({ payload: this.selection });
|
|
377
361
|
}
|
|
378
362
|
onInteraction(row, event) {
|
|
379
|
-
var _a;
|
|
380
363
|
if (!this.interactive ||
|
|
381
|
-
|
|
364
|
+
this.configuration.selectionConfiguration?.enabled) {
|
|
382
365
|
// allowing interactive and selection at the same time would trigger both
|
|
383
366
|
// events when clicking on a row (not checkbox/radio)
|
|
384
367
|
return;
|
|
@@ -403,33 +386,35 @@ let TableWidgetComponent = exports.TableWidgetComponent = class TableWidgetCompo
|
|
|
403
386
|
};
|
|
404
387
|
}
|
|
405
388
|
getColumnAlignment(column) {
|
|
406
|
-
var _a, _b, _c;
|
|
407
389
|
// Note: In case we have provided formatters by old manner (via config)
|
|
408
390
|
// we don't have to proceed with calculations
|
|
409
|
-
if (!
|
|
391
|
+
if (!column?.formatter?.componentType ||
|
|
410
392
|
this.formattersRegistryService.isEmpty) {
|
|
411
393
|
return this.defaultColumnAlignment;
|
|
412
394
|
}
|
|
413
395
|
// Note: We don't want to invoke getFormattersMap() on every change detection cycle
|
|
414
396
|
// but only when it was changed
|
|
415
|
-
if (
|
|
397
|
+
if (this.formatters?.version !==
|
|
416
398
|
this.formattersRegistryService.stateVersion) {
|
|
417
399
|
this.formatters = {
|
|
418
400
|
// Transforming array into map
|
|
419
|
-
items: this.formattersRegistryService.getItems().reduce((prev, next) => (
|
|
401
|
+
items: this.formattersRegistryService.getItems().reduce((prev, next) => ({
|
|
402
|
+
...prev,
|
|
403
|
+
[next.componentType]: next,
|
|
404
|
+
}), {}),
|
|
420
405
|
version: this.formattersRegistryService.stateVersion,
|
|
421
406
|
};
|
|
422
407
|
}
|
|
423
|
-
return (
|
|
408
|
+
return (this.formatters.items[column.formatter.componentType]?.alignment ||
|
|
424
409
|
this.defaultColumnAlignment);
|
|
425
410
|
}
|
|
426
411
|
setSortFilter() {
|
|
427
|
-
var _a, _b, _c, _d, _e, _f, _g;
|
|
428
412
|
if (this.configuration) {
|
|
429
|
-
const sortBy =
|
|
430
|
-
const columnValue =
|
|
413
|
+
const sortBy = this.configuration.sorterConfiguration?.sortBy;
|
|
414
|
+
const columnValue = this.configuration.columns?.find((column) => column.id === sortBy)?.formatter?.properties?.dataFieldIds?.value;
|
|
431
415
|
this.sortFilter = {
|
|
432
|
-
direction:
|
|
416
|
+
direction: this.configuration.sorterConfiguration
|
|
417
|
+
?.descendantSorting
|
|
433
418
|
? bits_1.SorterDirection.descending
|
|
434
419
|
: bits_1.SorterDirection.ascending,
|
|
435
420
|
sortBy: columnValue,
|
|
@@ -438,14 +423,13 @@ let TableWidgetComponent = exports.TableWidgetComponent = class TableWidgetCompo
|
|
|
438
423
|
}
|
|
439
424
|
/**
|
|
440
425
|
* Checks if column id has changed or if sorting order has changed
|
|
441
|
-
* @param
|
|
426
|
+
* @param configuration
|
|
442
427
|
*/
|
|
443
428
|
isSortByUpdated(configuration) {
|
|
444
|
-
|
|
445
|
-
const oldSorterConfiguration = (_a = configuration.previousValue) === null || _a === void 0 ? void 0 : _a.sorterConfiguration;
|
|
429
|
+
const oldSorterConfiguration = configuration.previousValue?.sorterConfiguration;
|
|
446
430
|
const newSorterConfiguration = configuration.currentValue.sorterConfiguration;
|
|
447
|
-
const oldSortById = oldSorterConfiguration
|
|
448
|
-
const newSortById = newSorterConfiguration
|
|
431
|
+
const oldSortById = oldSorterConfiguration?.sortBy;
|
|
432
|
+
const newSortById = newSorterConfiguration?.sortBy;
|
|
449
433
|
if (!newSortById) {
|
|
450
434
|
return Boolean(oldSortById);
|
|
451
435
|
}
|
|
@@ -484,8 +468,7 @@ let TableWidgetComponent = exports.TableWidgetComponent = class TableWidgetCompo
|
|
|
484
468
|
setSortableSet() {
|
|
485
469
|
this.sortableSet = {};
|
|
486
470
|
this.dataFields.forEach((dataField) => {
|
|
487
|
-
|
|
488
|
-
this.sortableSet[dataField.id] = (_a = dataField.sortable) !== null && _a !== void 0 ? _a : true;
|
|
471
|
+
this.sortableSet[dataField.id] = dataField.sortable ?? true;
|
|
489
472
|
});
|
|
490
473
|
}
|
|
491
474
|
flushTableData() {
|
|
@@ -498,14 +481,13 @@ let TableWidgetComponent = exports.TableWidgetComponent = class TableWidgetCompo
|
|
|
498
481
|
configurationChange.currentValue.scrollType);
|
|
499
482
|
}
|
|
500
483
|
getTableScrollRange() {
|
|
501
|
-
var _a;
|
|
502
484
|
// Note: To work properly virtual viewport should be scrollable
|
|
503
485
|
// to ensure that container will be scrollable we're adding 50% more items
|
|
504
486
|
// Ex: Viewport height: 100px, itemSize: 20px => 5 (range) in current configuration the viewport
|
|
505
487
|
// will not be scrollable/work properly because all the items fits the screen.
|
|
506
488
|
// We're adding 50% more items and in this case, we're covered even the user provides 0% buffer.
|
|
507
489
|
const internalBuffer = 2;
|
|
508
|
-
const scrollBuffer = (
|
|
490
|
+
const scrollBuffer = (this._scrollBuffer ?? 0) / 100 + 1;
|
|
509
491
|
if (this._range) {
|
|
510
492
|
// Note: In case user provided a range we don't need
|
|
511
493
|
// to add our internal buffer. Totally relying on user calculus
|
|
@@ -516,7 +498,9 @@ let TableWidgetComponent = exports.TableWidgetComponent = class TableWidgetCompo
|
|
|
516
498
|
scrollBuffer);
|
|
517
499
|
}
|
|
518
500
|
onPagerAction(page) {
|
|
519
|
-
this.eventBus
|
|
501
|
+
this.eventBus
|
|
502
|
+
.getStream(types_1.SET_NEXT_PAGE)
|
|
503
|
+
.next({ payload: page, id: this.componentId });
|
|
520
504
|
}
|
|
521
505
|
initPrefetchAddon() {
|
|
522
506
|
if (this.hasVirtualScroll) {
|
|
@@ -529,8 +513,31 @@ let TableWidgetComponent = exports.TableWidgetComponent = class TableWidgetCompo
|
|
|
529
513
|
this.virtualScrollAddon.initVirtualScroll(this);
|
|
530
514
|
}
|
|
531
515
|
}
|
|
516
|
+
resolveSortBy(changes) {
|
|
517
|
+
// Note: We don't have to trigger sorting in case sortable flag is false.
|
|
518
|
+
// Note: Using true as a default sortable value to maintain backward compatibility
|
|
519
|
+
if (this.isSortByUpdated(changes.configuration) &&
|
|
520
|
+
(changes.configuration.currentValue.sortable ?? true)) {
|
|
521
|
+
const sortedColumn = {
|
|
522
|
+
direction: changes.configuration.currentValue
|
|
523
|
+
.sorterConfiguration.descendantSorting
|
|
524
|
+
? bits_1.SorterDirection.descending
|
|
525
|
+
: bits_1.SorterDirection.ascending,
|
|
526
|
+
sortBy: changes.configuration.currentValue.sorterConfiguration
|
|
527
|
+
.sortBy,
|
|
528
|
+
};
|
|
529
|
+
this.onSortOrderChanged(sortedColumn);
|
|
530
|
+
}
|
|
531
|
+
}
|
|
532
|
+
resolveSearch(changes) {
|
|
533
|
+
if (!(0, isEqual_1.default)(changes.configuration.currentValue
|
|
534
|
+
?.searchConfiguration, changes.configuration.previousValue
|
|
535
|
+
?.searchConfiguration)) {
|
|
536
|
+
this.searchAddon.initWidget(this);
|
|
537
|
+
}
|
|
538
|
+
}
|
|
532
539
|
};
|
|
533
|
-
TableWidgetComponent
|
|
540
|
+
exports.TableWidgetComponent = TableWidgetComponent;
|
|
534
541
|
tslib_1.__decorate([
|
|
535
542
|
(0, core_1.Input)(),
|
|
536
543
|
tslib_1.__metadata("design:type", Array)
|
|
@@ -605,6 +612,7 @@ exports.TableWidgetComponent = TableWidgetComponent = tslib_1.__decorate([
|
|
|
605
612
|
// Used to prevent table overflowing preview container in the edit/configuration mode.
|
|
606
613
|
"[class.table-widget-fullwidth]": "true",
|
|
607
614
|
},
|
|
615
|
+
standalone: false,
|
|
608
616
|
}),
|
|
609
617
|
tslib_1.__param(0, (0, core_1.Inject)(types_2.PIZZAGNA_EVENT_BUS)),
|
|
610
618
|
tslib_1.__param(1, (0, core_1.Optional)()),
|