@nova-ui/dashboards 13.0.1 → 13.0.2-3950
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/esm2020/lib/common/components/widget-error/widget-error.component.mjs +1 -1
- package/esm2020/lib/components/dashboard/dashboard.component.mjs +5 -5
- package/esm2020/lib/components/embedded-content/embedded-content.component.mjs +1 -1
- package/esm2020/lib/components/kpi-widget/kpi.component.mjs +1 -1
- package/esm2020/lib/components/layouts/base-layout.mjs +1 -1
- package/esm2020/lib/components/layouts/stack/stack.component.mjs +1 -1
- package/esm2020/lib/components/layouts/tiles/tiles.component.mjs +1 -1
- package/esm2020/lib/components/list-widget/list-elements/list-group-item/list-group-item.component.mjs +1 -1
- package/esm2020/lib/components/list-widget/list-elements/list-leaf-item/list-leaf-item.component.mjs +2 -2
- package/esm2020/lib/components/list-widget/list-elements/list-navigation-bar/list-navigation-bar.component.mjs +1 -1
- package/esm2020/lib/components/list-widget/list-widget.component.mjs +1 -1
- package/esm2020/lib/components/proportional-widget/proportional-donut-content/proportional-donut-content.component.mjs +1 -1
- package/esm2020/lib/components/providers/data-source-adapter.mjs +4 -4
- package/esm2020/lib/components/providers/drilldown-data-source-adapter.mjs +4 -4
- package/esm2020/lib/components/providers/event-bus-debugger.mjs +1 -1
- package/esm2020/lib/components/providers/interaction/interaction-handler.mjs +2 -4
- package/esm2020/lib/components/providers/interaction/url-interaction-handler.mjs +3 -3
- package/esm2020/lib/components/providers/kpi-color-prioritizer.mjs +1 -1
- package/esm2020/lib/components/providers/kpi-data-source-adapter.mjs +1 -1
- package/esm2020/lib/components/providers/kpi-scale-sync-broker.mjs +1 -1
- package/esm2020/lib/components/providers/kpi-status-content-fallback-adapter.mjs +1 -1
- package/esm2020/lib/components/providers/loading-adapter.mjs +1 -1
- package/esm2020/lib/components/providers/pizzagna-broadcaster.service.mjs +1 -1
- package/esm2020/lib/components/providers/refresher-settings.service.mjs +1 -1
- package/esm2020/lib/components/providers/refresher.mjs +2 -2
- package/esm2020/lib/components/providers/status-content-fallback-adapter.mjs +1 -1
- package/esm2020/lib/components/providers/table-data-source-adapter.mjs +10 -3
- package/esm2020/lib/components/providers/timeseries-data-source-adapter.mjs +1 -1
- package/esm2020/lib/components/table-widget/addons/search-feature-addon.service.mjs +2 -2
- package/esm2020/lib/components/table-widget/addons/virtual-scroll-feature-addon.service.mjs +4 -2
- package/esm2020/lib/components/table-widget/delayed-mouse-presence-detection.directive.mjs +1 -2
- package/esm2020/lib/components/table-widget/table-widget.component.mjs +19 -9
- package/esm2020/lib/components/time-frame-selection/timeframe-selection.component.mjs +3 -5
- package/esm2020/lib/components/timeseries-widget/chart-presets/status-bar-chart/status-bar-chart.component.mjs +6 -3
- package/esm2020/lib/components/timeseries-widget/chart-presets/xy-chart/xy-chart.component.mjs +6 -2
- package/esm2020/lib/components/widget/widget-body/widget-body.component.mjs +1 -1
- package/esm2020/lib/components/widget/widget-body-content/widget-body-content.component.mjs +1 -1
- package/esm2020/lib/components/widget/widget-header/widget-header.component.mjs +4 -4
- package/esm2020/lib/components/widget/widget.component.mjs +1 -1
- package/esm2020/lib/components/widget-search/widget-search.component.mjs +6 -6
- package/esm2020/lib/configurator/components/color-picker/color-picker.component.mjs +1 -1
- package/esm2020/lib/configurator/components/configurator/configurator.component.mjs +1 -1
- package/esm2020/lib/configurator/components/form-stack/form-stack.component.mjs +1 -1
- package/esm2020/lib/configurator/components/formatters/donut-content-percentage-formatter/donut-content-percentage-formatter.component.mjs +1 -1
- package/esm2020/lib/configurator/components/formatters/donut-content-raw-formatter/donut-content-raw-formatter.component.mjs +2 -2
- package/esm2020/lib/configurator/components/formatters/donut-content-sum-formatter/donut-content-sum-formatter.component.mjs +1 -1
- package/esm2020/lib/configurator/components/formatters/icon-formatter/icon-formatter.component.mjs +1 -1
- package/esm2020/lib/configurator/components/formatters/si-units-formatter/si-units-formatter.component.mjs +1 -1
- package/esm2020/lib/configurator/components/formatters/status-with-icon-formatter/status-with-icon-formatter.component.mjs +1 -1
- package/esm2020/lib/configurator/components/formatters/widget-formatter-configurators/donut-formatter-configurator.component.mjs +1 -1
- package/esm2020/lib/configurator/components/heading/configurator-heading.component.mjs +1 -1
- package/esm2020/lib/configurator/components/items-dynamic/items-dynamic.component.mjs +3 -1
- package/esm2020/lib/configurator/components/widget-cloner/widget-cloner.component.mjs +1 -1
- package/esm2020/lib/configurator/components/widget-configurator-section/widget-configurator-section-coordinator.service.mjs +1 -1
- package/esm2020/lib/configurator/components/widget-configurator-section/widget-configurator-section.component.mjs +1 -1
- package/esm2020/lib/configurator/components/widget-editor/widget-editor.component.mjs +6 -7
- package/esm2020/lib/configurator/components/widget-editor-accordion/widget-editor-accordion.component.mjs +1 -1
- package/esm2020/lib/configurator/components/widgets/configurator-items/background-color-rules-configuration/background-color-rules-configuration.component.mjs +1 -1
- package/esm2020/lib/configurator/components/widgets/configurator-items/data-source-configuration/data-source-configuration.component.mjs +1 -1
- package/esm2020/lib/configurator/components/widgets/configurator-items/data-source-configuration-v2/data-source-configuration-v2.component.mjs +1 -1
- package/esm2020/lib/configurator/components/widgets/configurator-items/data-source-error/data-source-error.component.mjs +1 -1
- package/esm2020/lib/configurator/components/widgets/configurator-items/data-source-error/table/table-data-source-error.component.mjs +1 -1
- package/esm2020/lib/configurator/components/widgets/configurator-items/embedded-content-configuration/embedded-content-configuration.component.mjs +7 -7
- package/esm2020/lib/configurator/components/widgets/configurator-items/kpi-description-configuration/kpi-description-configuration.component.mjs +8 -2
- package/esm2020/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/refresh-rate-configurator.component.mjs +11 -17
- package/esm2020/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/time-units.mjs +1 -1
- package/esm2020/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresher-configuration.component.mjs +3 -1
- package/esm2020/lib/configurator/components/widgets/configurator-items/thresholds-configuration/thresholds-configuration.component.mjs +5 -5
- package/esm2020/lib/configurator/components/widgets/configurator-items/thresholds-configuration/thresholds-validator.mjs +1 -1
- package/esm2020/lib/configurator/components/widgets/configurator-items/timeseries-metadata-configuration/timeseries-metadata-configuration.component.mjs +1 -1
- package/esm2020/lib/configurator/components/widgets/configurator-items/title-and-description-configuration/title-and-description-configuration.component.mjs +1 -1
- package/esm2020/lib/configurator/components/widgets/drilldown/entity-formatting-configuration/entity-formatting-configuration.component.mjs +1 -1
- package/esm2020/lib/configurator/components/widgets/drilldown/grouping-configuration/grouping-configuration.component.mjs +1 -1
- package/esm2020/lib/configurator/components/widgets/kpi/kpi-tiles-configuration/kpi-tiles-configuration.component.mjs +1 -1
- package/esm2020/lib/configurator/components/widgets/proportional/aggregators-configurators/aggregator-configurator/aggregator-configurator.component.mjs +1 -1
- package/esm2020/lib/configurator/components/widgets/proportional/aggregators-configurators/field-mapper-aggregator-configurator/field-mapper-aggregator-configurator.component.mjs +1 -1
- package/esm2020/lib/configurator/components/widgets/proportional/chart-options-editor/proportional-chart-options-editor.component.mjs +1 -1
- package/esm2020/lib/configurator/components/widgets/proportional/chart-options-editor-v2/proportional-chart-options-editor-v2.component.mjs +1 -1
- package/esm2020/lib/configurator/components/widgets/proportional/donut-content-configuration/donut-content-configuration.component.mjs +1 -1
- package/esm2020/lib/configurator/components/widgets/table/columns-editor/column-configuration/description-configuration/description-configuration.component.mjs +1 -1
- package/esm2020/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/formatter-configurator.component.mjs +1 -1
- package/esm2020/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/presentation-configuration.component.mjs +1 -1
- package/esm2020/lib/configurator/components/widgets/table/columns-editor/table-columns-configuration.component.mjs +2 -1
- package/esm2020/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/description-configuration/description-configuration-v2.component.mjs +1 -1
- package/esm2020/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/presentation-configuration/presentation-configuration-v2.component.mjs +1 -1
- package/esm2020/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/table-column-configuration/table-column-configuration.component.mjs +5 -5
- package/esm2020/lib/configurator/components/widgets/table/columns-editor-v2/table-columns-configuration-v2.component.mjs +1 -1
- package/esm2020/lib/configurator/components/widgets/table/filters-editor/table-filters-editor.component.mjs +1 -1
- package/esm2020/lib/configurator/components/widgets/timeseries/timeseries-series-collection-configuration/timeseries-series-collection-configuration.component.mjs +1 -1
- package/esm2020/lib/configurator/components/widgets/timeseries/timeseries-tile-description-configuration/timeseries-tile-description-configuration.component.mjs +1 -1
- package/esm2020/lib/configurator/components/widgets/timeseries/timeseries-tile-indicator-data-configuration/timeseries-tile-indicator-data-configuration.component.mjs +1 -1
- package/esm2020/lib/configurator/components/wizard/dashwiz/dashwiz-buttons.component.mjs +1 -1
- package/esm2020/lib/configurator/components/wizard/dashwiz/dashwiz.component.mjs +1 -1
- package/esm2020/lib/configurator/components/wizard/dashwiz-step/dashwiz-step.component.mjs +1 -1
- package/esm2020/lib/configurator/pipe/pizzagna-root.pipe.mjs +1 -1
- package/esm2020/lib/configurator/pipe/widget-editor-accordion-form-state.pipe.mjs +7 -2
- package/esm2020/lib/configurator/pipe/widget-editor-accordion-header-icon.pipe.mjs +7 -2
- package/esm2020/lib/configurator/services/configurator-data-source-manager.service.mjs +1 -1
- package/esm2020/lib/configurator/services/configurator.service.mjs +5 -2
- package/esm2020/lib/configurator/services/converters/base-converter.mjs +1 -1
- package/esm2020/lib/configurator/services/converters/kpi/kpi-section-converter/kpi-section-converter.service.mjs +1 -1
- package/esm2020/lib/configurator/services/converters/kpi/kpi-tiles-converter.service.mjs +1 -1
- package/esm2020/lib/configurator/services/converters/proportional/proportional-widget-chart-options-converter.service.mjs +1 -1
- package/esm2020/lib/configurator/services/converters/shared/generic-array-converter/generic-array-converter.service.mjs +1 -1
- package/esm2020/lib/configurator/services/converters/shared/generic-converter/generic-converter.service.mjs +1 -1
- package/esm2020/lib/configurator/services/converters/shared/title-and-description-converter/title-and-description-converter.service.mjs +1 -1
- package/esm2020/lib/configurator/services/converters/table/table-columns-converter.service.mjs +5 -2
- package/esm2020/lib/configurator/services/converters/table/table-filters-converter.service.mjs +1 -1
- package/esm2020/lib/configurator/services/converters/timeseries/timeseries-metadata-converter.service.mjs +1 -1
- package/esm2020/lib/configurator/services/converters/timeseries/timeseries-series-converter.service.mjs +3 -1
- package/esm2020/lib/configurator/services/converters/timeseries/timeseries-tile-indicator-data-converter.service.mjs +1 -1
- package/esm2020/lib/configurator/services/kpi-widget-color.service.mjs +1 -1
- package/esm2020/lib/configurator/services/timeframe-serialization.service.mjs +1 -1
- package/esm2020/lib/configurator/services/types.mjs +1 -1
- package/esm2020/lib/configurator/types.mjs +1 -1
- package/esm2020/lib/directives/widget-editor/widget-editor.directive.mjs +11 -3
- package/esm2020/lib/functions/on-mark-as-touched.mjs +1 -1
- package/esm2020/lib/functions/proportional-aggregators/field-mapper.mjs +1 -1
- package/esm2020/lib/functions/proportional-aggregators/percentage-aggregator.mjs +1 -1
- package/esm2020/lib/functions/proportional-aggregators/sum-aggregator.mjs +1 -1
- package/esm2020/lib/pizzagna/components/pizzagna/pizzagna.component.mjs +1 -1
- package/esm2020/lib/pizzagna/directives/component-portal/component-portal.directive.mjs +1 -1
- package/esm2020/lib/pizzagna/functions/get-pizzagna-property-path.mjs +1 -1
- package/esm2020/lib/pizzagna/services/component-registry.service.mjs +1 -1
- package/esm2020/lib/pizzagna/services/dynamic-component-creator.service.mjs +1 -1
- package/esm2020/lib/pizzagna/services/pizzagna.service.mjs +1 -1
- package/esm2020/lib/services/event-registry.service.mjs +1 -1
- package/esm2020/lib/services/proportional-content-aggregators-registry.service.mjs +1 -1
- package/esm2020/lib/services/types.mjs +1 -1
- package/esm2020/lib/services/widget-configuration.service.mjs +1 -1
- package/esm2020/lib/services/widget-removal.service.mjs +1 -1
- package/esm2020/lib/services/widget-to-dashboard-event-proxy.service.mjs +1 -1
- package/esm2020/lib/types.mjs +1 -1
- package/fesm2015/nova-ui-dashboards.mjs +114 -81
- package/fesm2015/nova-ui-dashboards.mjs.map +1 -1
- package/fesm2020/nova-ui-dashboards.mjs +114 -84
- package/fesm2020/nova-ui-dashboards.mjs.map +1 -1
- package/lib/components/list-widget/list-elements/list-leaf-item/list-leaf-item.component.d.ts +1 -1
- 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 +3 -4
- package/lib/components/providers/event-bus-debugger.d.ts +1 -1
- 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-scale-sync-broker.d.ts +2 -2
- package/lib/components/providers/loading-adapter.d.ts +1 -1
- package/lib/components/providers/refresher.d.ts +2 -2
- package/lib/components/providers/status-content-fallback-adapter.d.ts +1 -1
- package/lib/components/table-widget/table-widget.component.d.ts +1 -1
- package/lib/components/time-frame-selection/timeframe-selection.component.d.ts +1 -2
- package/lib/components/widget-search/widget-search.component.d.ts +1 -1
- package/lib/configurator/components/color-picker/color-picker.component.d.ts +3 -4
- package/lib/configurator/components/configurator/configurator.component.d.ts +1 -1
- package/lib/configurator/components/formatters/donut-content-percentage-formatter/donut-content-percentage-formatter.component.d.ts +1 -1
- package/lib/configurator/components/widget-cloner/widget-cloner.component.d.ts +1 -1
- package/lib/configurator/components/widget-editor/widget-editor.component.d.ts +1 -1
- package/lib/configurator/components/widgets/configurator-items/background-color-rules-configuration/background-color-rules-configuration.component.d.ts +1 -1
- package/lib/configurator/components/widgets/configurator-items/embedded-content-configuration/embedded-content-configuration.component.d.ts +6 -6
- package/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/refresh-rate-configurator.component.d.ts +1 -1
- package/lib/configurator/components/widgets/configurator-items/thresholds-configuration/thresholds-configuration.component.d.ts +1 -1
- package/lib/configurator/components/widgets/configurator-items/timeseries-metadata-configuration/timeseries-metadata-configuration.component.d.ts +1 -1
- package/lib/configurator/components/widgets/drilldown/grouping-configuration/grouping-configuration.component.d.ts +1 -1
- package/lib/configurator/components/widgets/proportional/aggregators-configurators/field-mapper-aggregator-configurator/field-mapper-aggregator-configurator.component.d.ts +1 -1
- package/lib/configurator/components/widgets/proportional/chart-options-editor-v2/proportional-chart-options-editor-v2.component.d.ts +1 -1
- package/lib/configurator/components/widgets/proportional/donut-content-configuration/donut-content-configuration.component.d.ts +1 -1
- package/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/presentation-configuration.component.d.ts +1 -1
- package/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/description-configuration/description-configuration-v2.component.d.ts +3 -3
- package/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/presentation-configuration/presentation-configuration-v2.component.d.ts +1 -1
- package/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/table-column-configuration/table-column-configuration.component.d.ts +3 -3
- package/lib/configurator/components/widgets/table/columns-editor-v2/table-columns-configuration-v2.component.d.ts +2 -2
- package/lib/configurator/components/widgets/timeseries/timeseries-series-collection-configuration/timeseries-series-collection-configuration.component.d.ts +1 -1
- package/lib/configurator/components/widgets/timeseries/timeseries-tile-indicator-data-configuration/timeseries-tile-indicator-data-configuration.component.d.ts +1 -1
- package/lib/configurator/components/wizard/dashwiz/dashwiz.component.d.ts +1 -1
- package/lib/configurator/services/converters/base-converter.d.ts +1 -1
- package/lib/configurator/services/timeframe-serialization.service.d.ts +1 -1
- package/lib/configurator/services/types.d.ts +0 -6
- package/lib/configurator/types.d.ts +2 -1
- package/lib/directives/widget-editor/widget-editor.directive.d.ts +1 -1
- package/lib/pizzagna/directives/component-portal/component-portal.directive.d.ts +1 -1
- package/lib/services/event-registry.service.d.ts +1 -1
- package/lib/services/types.d.ts +23 -15
- package/lib/services/widget-to-dashboard-event-proxy.service.d.ts +1 -1
- package/lib/types.d.ts +14 -8
- package/package.json +3 -3
- package/sdk/atoms/spec/configurator/accordion.atom.js.map +1 -1
- package/sdk/atoms/spec/virtual-dashboards/drilldown-widget-test/drilldown-widget-test.component.js +9 -2
- package/sdk/atoms/spec/virtual-dashboards/drilldown-widget-test/drilldown-widget-test.component.js.map +1 -1
- package/sdk/atoms/src/lib/common/components/widget-error/widget-error.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/dashboard/dashboard.component.js +5 -5
- 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.map +1 -1
- package/sdk/atoms/src/lib/components/kpi-widget/kpi.component.js.map +1 -1
- 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.d.ts +1 -1
- package/sdk/atoms/src/lib/components/list-widget/list-elements/list-leaf-item/list-leaf-item.component.js +2 -1
- 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.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.map +1 -1
- 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/providers/data-source-adapter.d.ts +1 -1
- package/sdk/atoms/src/lib/components/providers/data-source-adapter.js +3 -3
- 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 +3 -4
- package/sdk/atoms/src/lib/components/providers/drilldown-data-source-adapter.js +3 -3
- 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.d.ts +1 -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 +1 -3
- 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 +1 -1
- package/sdk/atoms/src/lib/components/providers/interaction/url-interaction-handler.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/kpi-color-prioritizer.d.ts +1 -1
- package/sdk/atoms/src/lib/components/providers/kpi-color-prioritizer.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/kpi-data-source-adapter.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/kpi-scale-sync-broker.d.ts +2 -2
- 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.d.ts +1 -1
- package/sdk/atoms/src/lib/components/providers/loading-adapter.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/refresher.d.ts +2 -2
- package/sdk/atoms/src/lib/components/providers/refresher.js +1 -1
- 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.map +1 -1
- package/sdk/atoms/src/lib/components/providers/table-data-source-adapter.js +6 -1
- package/sdk/atoms/src/lib/components/providers/table-data-source-adapter.js.map +1 -1
- package/sdk/atoms/src/lib/components/table-widget/addons/search-feature-addon.service.js +1 -1
- package/sdk/atoms/src/lib/components/table-widget/addons/search-feature-addon.service.js.map +1 -1
- package/sdk/atoms/src/lib/components/table-widget/addons/virtual-scroll-feature-addon.service.js +3 -1
- package/sdk/atoms/src/lib/components/table-widget/addons/virtual-scroll-feature-addon.service.js.map +1 -1
- package/sdk/atoms/src/lib/components/table-widget/delayed-mouse-presence-detection.directive.js +0 -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 +1 -1
- package/sdk/atoms/src/lib/components/table-widget/table-widget.component.js +20 -9
- package/sdk/atoms/src/lib/components/table-widget/table-widget.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/time-frame-selection/timeframe-selection.component.d.ts +1 -2
- package/sdk/atoms/src/lib/components/time-frame-selection/timeframe-selection.component.js +2 -4
- 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/status-bar-chart.component.js +5 -2
- 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/xy-chart/xy-chart.component.js +5 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/xy-chart.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/widget/widget-header/widget-header.component.js +4 -4
- package/sdk/atoms/src/lib/components/widget/widget-header/widget-header.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/widget-search/widget-search.component.d.ts +1 -1
- package/sdk/atoms/src/lib/components/widget-search/widget-search.component.js +5 -5
- 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 +3 -4
- package/sdk/atoms/src/lib/configurator/components/color-picker/color-picker.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/configurator/configurator.component.d.ts +1 -1
- package/sdk/atoms/src/lib/configurator/components/configurator/configurator.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/formatters/donut-content-percentage-formatter/donut-content-percentage-formatter.component.d.ts +1 -1
- package/sdk/atoms/src/lib/configurator/components/formatters/donut-content-percentage-formatter/donut-content-percentage-formatter.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/formatters/donut-content-raw-formatter/donut-content-raw-formatter.component.js.map +1 -1
- 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.map +1 -1
- 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.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/items-dynamic/items-dynamic.component.js +1 -0
- package/sdk/atoms/src/lib/configurator/components/items-dynamic/items-dynamic.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widget-cloner/widget-cloner.component.d.ts +1 -1
- package/sdk/atoms/src/lib/configurator/components/widget-cloner/widget-cloner.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 +3 -2
- package/sdk/atoms/src/lib/configurator/components/widget-editor/widget-editor.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widget-editor-accordion/widget-editor-accordion.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/background-color-rules-configuration/background-color-rules-configuration.component.d.ts +1 -1
- 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-error/data-source-error.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/data-source-error/table/table-data-source-error.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/embedded-content-configuration/embedded-content-configuration.component.d.ts +6 -6
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/embedded-content-configuration/embedded-content-configuration.component.js +6 -6
- 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/kpi-description-configuration/kpi-description-configuration.component.js +7 -1
- 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.d.ts +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/refresh-rate-configurator.component.js +10 -16
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/refresh-rate-configurator.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/time-units.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresher-configuration.component.js +2 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresher-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/thresholds-configuration/thresholds-configuration.component.d.ts +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/thresholds-configuration/thresholds-configuration.component.js +4 -4
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/thresholds-configuration/thresholds-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/thresholds-configuration/thresholds-validator.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/timeseries-metadata-configuration/timeseries-metadata-configuration.component.d.ts +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/timeseries-metadata-configuration/timeseries-metadata-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/title-and-description-configuration/title-and-description-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/drilldown/grouping-configuration/grouping-configuration.component.d.ts +1 -1
- 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.map +1 -1
- 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.d.ts +1 -1
- 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-v2/proportional-chart-options-editor-v2.component.d.ts +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/proportional/chart-options-editor-v2/proportional-chart-options-editor-v2.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/proportional/donut-content-configuration/donut-content-configuration.component.d.ts +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/proportional/donut-content-configuration/donut-content-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/column-configuration/description-configuration/description-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/presentation-configuration.component.d.ts +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/presentation-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/table-columns-configuration.component.js +1 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/table-columns-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/description-configuration/description-configuration-v2.component.d.ts +3 -3
- 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.d.ts +1 -1
- 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.d.ts +3 -3
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/table-column-configuration/table-column-configuration.component.js +4 -4
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/table-column-configuration/table-column-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor-v2/table-columns-configuration-v2.component.d.ts +2 -2
- package/sdk/atoms/src/lib/configurator/components/widgets/table/filters-editor/table-filters-editor.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/timeseries/timeseries-series-collection-configuration/timeseries-series-collection-configuration.component.d.ts +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/timeseries/timeseries-series-collection-configuration/timeseries-series-collection-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/timeseries/timeseries-tile-description-configuration/timeseries-tile-description-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/timeseries/timeseries-tile-indicator-data-configuration/timeseries-tile-indicator-data-configuration.component.d.ts +1 -1
- 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.component.d.ts +1 -1
- package/sdk/atoms/src/lib/configurator/components/wizard/dashwiz/dashwiz.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/wizard/dashwiz-step/dashwiz-step.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/pipe/widget-editor-accordion-form-state.pipe.js +6 -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 +6 -1
- package/sdk/atoms/src/lib/configurator/pipe/widget-editor-accordion-header-icon.pipe.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/configurator-data-source-manager.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/configurator.service.js +4 -1
- package/sdk/atoms/src/lib/configurator/services/configurator.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/base-converter.d.ts +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/base-converter.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/kpi/kpi-tiles-converter.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/proportional/proportional-widget-chart-options-converter.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/shared/title-and-description-converter/title-and-description-converter.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/table/table-columns-converter.service.js +1 -0
- 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.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/timeseries/timeseries-metadata-converter.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/timeseries/timeseries-series-converter.service.js +2 -0
- package/sdk/atoms/src/lib/configurator/services/converters/timeseries/timeseries-series-converter.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/timeframe-serialization.service.d.ts +1 -1
- package/sdk/atoms/src/lib/configurator/services/types.d.ts +0 -6
- package/sdk/atoms/src/lib/configurator/types.d.ts +2 -1
- package/sdk/atoms/src/lib/configurator/types.js.map +1 -1
- package/sdk/atoms/src/lib/directives/widget-editor/widget-editor.directive.d.ts +1 -1
- package/sdk/atoms/src/lib/directives/widget-editor/widget-editor.directive.js +10 -2
- package/sdk/atoms/src/lib/directives/widget-editor/widget-editor.directive.js.map +1 -1
- package/sdk/atoms/src/lib/functions/proportional-aggregators/field-mapper.js.map +1 -1
- package/sdk/atoms/src/lib/functions/proportional-aggregators/percentage-aggregator.js.map +1 -1
- package/sdk/atoms/src/lib/functions/proportional-aggregators/sum-aggregator.js.map +1 -1
- package/sdk/atoms/src/lib/pizzagna/directives/component-portal/component-portal.directive.d.ts +1 -1
- package/sdk/atoms/src/lib/pizzagna/directives/component-portal/component-portal.directive.js.map +1 -1
- package/sdk/atoms/src/lib/services/event-registry.service.d.ts +1 -1
- package/sdk/atoms/src/lib/services/types.d.ts +23 -15
- package/sdk/atoms/src/lib/services/types.js.map +1 -1
- package/sdk/atoms/src/lib/services/widget-to-dashboard-event-proxy.service.d.ts +1 -1
- package/sdk/atoms/src/lib/services/widget-to-dashboard-event-proxy.service.js.map +1 -1
- package/sdk/atoms/src/lib/types.d.ts +14 -8
- package/sdk/atoms/src/lib/types.js.map +1 -1
- package/sdk/locale/messages.en.xlf +34 -34
- package/sdk/schematics/ng-add/index.spec.js +7 -15
- package/sdk/schematics/ng-add/index.spec.js.map +1 -1
|
@@ -725,7 +725,7 @@ class DataSourceAdapter {
|
|
|
725
725
|
.subscribe(() => this.handleRefresh());
|
|
726
726
|
}
|
|
727
727
|
handleRefresh() {
|
|
728
|
-
this.eventBus.getStream(DATA_SOURCE_INVOKED).next(
|
|
728
|
+
this.eventBus.getStream(DATA_SOURCE_INVOKED).next({});
|
|
729
729
|
this.dataSource.applyFilters();
|
|
730
730
|
}
|
|
731
731
|
handleDataSourceUpdate(value) {
|
|
@@ -770,7 +770,7 @@ class DataSourceAdapter {
|
|
|
770
770
|
if (configurableDataSource?.updateConfiguration) {
|
|
771
771
|
configurableDataSource.updateConfiguration(properties.dataSource?.properties);
|
|
772
772
|
}
|
|
773
|
-
this.eventBus.getStream(REFRESH).next(
|
|
773
|
+
this.eventBus.getStream(REFRESH).next({});
|
|
774
774
|
}
|
|
775
775
|
// check if this is the first call of updateConfiguration and there is no dataSource configuration present in the incoming properties
|
|
776
776
|
// This results in two initial invocations of the data source, and we should eventually remove it. But, currently,
|
|
@@ -778,7 +778,7 @@ class DataSourceAdapter {
|
|
|
778
778
|
if (typeof this.dataSourceConfiguration === "undefined" &&
|
|
779
779
|
typeof dataSourceConfiguration === "undefined") {
|
|
780
780
|
// using a setTimeout here to give configurable data sources time to receive their configurations before they're invoked
|
|
781
|
-
setTimeout(() => this.eventBus.getStream(REFRESH).next(
|
|
781
|
+
setTimeout(() => this.eventBus.getStream(REFRESH).next({}));
|
|
782
782
|
}
|
|
783
783
|
}
|
|
784
784
|
updateOutput(value) {
|
|
@@ -855,16 +855,16 @@ let DrilldownDataSourceAdapter = class DrilldownDataSourceAdapter extends DataSo
|
|
|
855
855
|
const { payload } = event;
|
|
856
856
|
if (payload.reset) {
|
|
857
857
|
this.drillstate = [];
|
|
858
|
-
this.eventBus.next(REFRESH);
|
|
858
|
+
this.eventBus.next(REFRESH, {});
|
|
859
859
|
return;
|
|
860
860
|
}
|
|
861
861
|
if (payload.back) {
|
|
862
862
|
this.drillstate.length = this.drillstate.length - 1;
|
|
863
|
-
this.eventBus.next(REFRESH);
|
|
863
|
+
this.eventBus.next(REFRESH, {});
|
|
864
864
|
return;
|
|
865
865
|
}
|
|
866
866
|
this.drillstate.push(payload.id);
|
|
867
|
-
this.eventBus.next(REFRESH);
|
|
867
|
+
this.eventBus.next(REFRESH, {});
|
|
868
868
|
}
|
|
869
869
|
registerFilters() {
|
|
870
870
|
this.dataSource.registerComponent({
|
|
@@ -966,9 +966,7 @@ class InteractionHandler {
|
|
|
966
966
|
this.properties = properties;
|
|
967
967
|
}
|
|
968
968
|
initializeSubscriptions() {
|
|
969
|
-
this.eventBus
|
|
970
|
-
.getStream(INTERACTION)
|
|
971
|
-
.subscribe((event) => {
|
|
969
|
+
this.eventBus.getStream(INTERACTION).subscribe((event) => {
|
|
972
970
|
if (!this.properties?.interactionType ||
|
|
973
971
|
this.properties?.interactionType ===
|
|
974
972
|
event.payload?.interactionType) {
|
|
@@ -1781,7 +1779,7 @@ class Refresher {
|
|
|
1781
1779
|
});
|
|
1782
1780
|
}
|
|
1783
1781
|
performAction() {
|
|
1784
|
-
this.eventBus.getStream(this.eventDef).next(
|
|
1782
|
+
this.eventBus.getStream(this.eventDef).next({});
|
|
1785
1783
|
}
|
|
1786
1784
|
getInterval() {
|
|
1787
1785
|
return this.overrideDefaultSettings
|
|
@@ -1816,7 +1814,11 @@ let TableDataSourceAdapter = class TableDataSourceAdapter extends DataSourceAdap
|
|
|
1816
1814
|
// they are executed simultaneously but we don't know how things will change in the future
|
|
1817
1815
|
const refresh$ = zip(this.eventBus.getStream(WIDGET_READY), this.eventBus.getStream(REFRESH)).pipe(
|
|
1818
1816
|
// Note: Using startWith() to re-trigger the REFRESH stream that was triggered at least on time before WIDGET_READY
|
|
1819
|
-
|
|
1817
|
+
// eslint-disable-next-line import/no-deprecated
|
|
1818
|
+
switchMap(() =>
|
|
1819
|
+
// eslint-disable-next-line import/no-deprecated
|
|
1820
|
+
this.eventBus.getStream(REFRESH).pipe(startWith(undefined))), tap(() => this.virtualViewport.reset({ emitFirstPage: false })), map(() => { }));
|
|
1821
|
+
// eslint-disable-next-line import/no-deprecated
|
|
1820
1822
|
merge(refresh$, this.eventBus.getStream(SCROLL_NEXT_PAGE))
|
|
1821
1823
|
.pipe(
|
|
1822
1824
|
// Note: While SCROLL_NEXT_PAGE is triggered on TableWidget initialization aka WIDGET_READY
|
|
@@ -2425,6 +2427,7 @@ class TableColumnsConverterService extends BaseConverter {
|
|
|
2425
2427
|
.get("columnsOutput")
|
|
2426
2428
|
?.valueChanges.pipe(
|
|
2427
2429
|
// trigger subscription after tableColumnsFormArray is filled with values
|
|
2430
|
+
// eslint-disable-next-line import/no-deprecated
|
|
2428
2431
|
startWith(this.component.form.get("columnsOutput").value), filter((columns) => columns.length > 0), tap(() => this.handleWidthValidation()), map((columns) => this.filterColumnsWithoutSpecifiedWidth(columns)), map((activeColumnsWithoutWidth) => this.handleColumnsWithoutSpecifiedWidth(activeColumnsWithoutWidth)), distinctUntilKeyChanged("id"), pluck("id"), takeUntil(this.destroy$))
|
|
2429
2432
|
.subscribe((columnId) => this.setWidthMessages(columnId));
|
|
2430
2433
|
}
|
|
@@ -2728,6 +2731,7 @@ class TimeseriesSeriesConverterService extends BaseConverter {
|
|
|
2728
2731
|
this.updateFormPizzagna(updatedPizzagna);
|
|
2729
2732
|
}
|
|
2730
2733
|
subscribeToAvailableDataFieldsChange() {
|
|
2734
|
+
// eslint-disable-next-line import/no-deprecated
|
|
2731
2735
|
combineLatest([this.dataSourceSeries$, this.selectedSeriesIds$])
|
|
2732
2736
|
.pipe(takeUntil(this.destroy$), map(([dsSeries, usedSeriesIds]) => dsSeries.filter((ds) => !usedSeriesIds.find((id) => id === ds.id))), distinctUntilChanged(isEqual))
|
|
2733
2737
|
.subscribe(this.updateAvailableSeries.bind(this));
|
|
@@ -3876,20 +3880,20 @@ class DashboardComponent {
|
|
|
3876
3880
|
};
|
|
3877
3881
|
this.trackByFn = (index, item) => item.key;
|
|
3878
3882
|
this.updateWidgetPosition = (item, itemComponent) => {
|
|
3879
|
-
const widgetId = itemComponent.widgetId;
|
|
3883
|
+
const widgetId = String(itemComponent.widgetId);
|
|
3880
3884
|
const dashboard = immutableSet(this.dashboard, "positions." + widgetId, item);
|
|
3881
3885
|
this.dashboardChange.emit(dashboard);
|
|
3882
3886
|
this.eventBus.getStream(WIDGET_POSITION_CHANGE).next({
|
|
3883
|
-
widgetId
|
|
3887
|
+
widgetId,
|
|
3884
3888
|
payload: item,
|
|
3885
3889
|
});
|
|
3886
3890
|
};
|
|
3887
3891
|
this.emitWidgetResize = (item, itemComponent) => {
|
|
3888
3892
|
const widgetId = itemComponent.widgetId;
|
|
3889
3893
|
this.eventBus.getStream(WIDGET_RESIZE).next({
|
|
3890
|
-
widgetId
|
|
3894
|
+
widgetId,
|
|
3891
3895
|
payload: {
|
|
3892
|
-
widgetId
|
|
3896
|
+
widgetId,
|
|
3893
3897
|
height: itemComponent.height,
|
|
3894
3898
|
width: itemComponent.width,
|
|
3895
3899
|
},
|
|
@@ -4559,7 +4563,7 @@ class ListLeafItemComponent {
|
|
|
4559
4563
|
.getStream(WIDGET_SEARCH)
|
|
4560
4564
|
.pipe(takeUntil(this.destroy$))
|
|
4561
4565
|
.subscribe((event) => {
|
|
4562
|
-
this.searchTerm = event.payload;
|
|
4566
|
+
this.searchTerm = event.payload ?? "";
|
|
4563
4567
|
this.changeDetector.markForCheck();
|
|
4564
4568
|
});
|
|
4565
4569
|
}
|
|
@@ -5262,7 +5266,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
5262
5266
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
5263
5267
|
class DelayedMousePresenceDetectionDirective {
|
|
5264
5268
|
constructor() {
|
|
5265
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
5266
5269
|
this.enabled = true;
|
|
5267
5270
|
this.delay = 500;
|
|
5268
5271
|
}
|
|
@@ -5380,7 +5383,7 @@ class SearchFeatureAddonService {
|
|
|
5380
5383
|
"configuration.searchConfiguration.searchTerm",
|
|
5381
5384
|
],
|
|
5382
5385
|
}, this.widget.searchValue);
|
|
5383
|
-
this.widget.eventBus.getStream(REFRESH).next(
|
|
5386
|
+
this.widget.eventBus.getStream(REFRESH).next({});
|
|
5384
5387
|
});
|
|
5385
5388
|
}
|
|
5386
5389
|
}
|
|
@@ -5428,6 +5431,7 @@ class VirtualScrollFeatureAddonService {
|
|
|
5428
5431
|
}
|
|
5429
5432
|
// Note: Using this additional stream to pass the visible range to
|
|
5430
5433
|
// the table and trigger change detection on range change and table data update.
|
|
5434
|
+
// eslint-disable-next-line import/no-deprecated
|
|
5431
5435
|
merge(this.widget.vscrollViewport.renderedRangeStream, this.widget.tableUpdate$.pipe(map(() => this.widget.vscrollViewport?.getRenderedRange())))
|
|
5432
5436
|
.pipe(tap((range) => {
|
|
5433
5437
|
this.visibleItems = this.widget.tableData.slice(range?.start, range?.end);
|
|
@@ -5451,7 +5455,7 @@ class VirtualScrollFeatureAddonService {
|
|
|
5451
5455
|
range.end / (range.end - range.start);
|
|
5452
5456
|
this.widget.eventBus
|
|
5453
5457
|
.getStream(SCROLL_NEXT_PAGE)
|
|
5454
|
-
.next(
|
|
5458
|
+
.next({});
|
|
5455
5459
|
this.widget.changeDetector.detectChanges();
|
|
5456
5460
|
})), takeUntil(this.widget.onDestroy$))
|
|
5457
5461
|
.subscribe();
|
|
@@ -5520,8 +5524,9 @@ class TableWidgetComponent {
|
|
|
5520
5524
|
this._scrollBuffer = value;
|
|
5521
5525
|
}
|
|
5522
5526
|
get interactive() {
|
|
5523
|
-
return (this.configuration?.interactive
|
|
5524
|
-
this.dataSource?.features?.getFeatureConfig(WellKnownDataSourceFeatures.Interactivity)?.enabled
|
|
5527
|
+
return (this.configuration?.interactive ??
|
|
5528
|
+
this.dataSource?.features?.getFeatureConfig(WellKnownDataSourceFeatures.Interactivity)?.enabled ??
|
|
5529
|
+
false);
|
|
5525
5530
|
}
|
|
5526
5531
|
ngOnChanges(changes) {
|
|
5527
5532
|
if (changes.dataFields) {
|
|
@@ -5574,14 +5579,18 @@ class TableWidgetComponent {
|
|
|
5574
5579
|
return;
|
|
5575
5580
|
}
|
|
5576
5581
|
this.dataSource.busy
|
|
5577
|
-
?.pipe(
|
|
5582
|
+
?.pipe(
|
|
5583
|
+
// eslint-disable-next-line import/no-deprecated
|
|
5584
|
+
tap((isBusy) => (this.isBusy = isBusy)), takeUntil(this.onDestroy$))
|
|
5578
5585
|
.subscribe();
|
|
5579
5586
|
this.virtualScrollAddon.initVirtualScroll();
|
|
5580
5587
|
this.searchAddon.initWidget(this);
|
|
5581
5588
|
const tableHeightChanged$ = this.eventBus
|
|
5582
5589
|
.getStream(WIDGET_RESIZE)
|
|
5583
|
-
.pipe(filter((event) => event.payload
|
|
5584
|
-
this.widgetConfigurationService.getWidget().id),
|
|
5590
|
+
.pipe(filter((event) => event.payload?.widgetId?.toString() ===
|
|
5591
|
+
this.widgetConfigurationService.getWidget().id),
|
|
5592
|
+
// eslint-disable-next-line import/no-deprecated
|
|
5593
|
+
map((event) => event.payload?.height ?? 0));
|
|
5585
5594
|
// subscribing to widget resize event from dashboard and update virtual scroll viewport size
|
|
5586
5595
|
tableHeightChanged$
|
|
5587
5596
|
.pipe(takeUntil(this.onDestroy$))
|
|
@@ -5595,11 +5604,14 @@ class TableWidgetComponent {
|
|
|
5595
5604
|
// setTimeout is needed because this.el.nativeElement.getBoundingClientRect().height is 0 when it switches components from
|
|
5596
5605
|
// fallback component to table widget and it needs to have height
|
|
5597
5606
|
setTimeout(() => {
|
|
5607
|
+
// eslint-disable-next-line import/no-deprecated
|
|
5598
5608
|
merge(of(this.range * this.rowHeight), tableHeightChanged$, of(this.el.nativeElement.getBoundingClientRect().height))
|
|
5599
|
-
.pipe(filter((value) => !!value), take(1),
|
|
5609
|
+
.pipe(filter((value) => !!value), take(1),
|
|
5610
|
+
// eslint-disable-next-line import/no-deprecated
|
|
5611
|
+
tap((value) => {
|
|
5600
5612
|
this.tableWidgetHeight = value;
|
|
5601
5613
|
this.virtualScrollAddon.subscribeToVirtualScroll();
|
|
5602
|
-
this.eventBus.getStream(WIDGET_READY).next(
|
|
5614
|
+
this.eventBus.getStream(WIDGET_READY).next({});
|
|
5603
5615
|
}))
|
|
5604
5616
|
.subscribe();
|
|
5605
5617
|
});
|
|
@@ -5729,7 +5741,7 @@ class TableWidgetComponent {
|
|
|
5729
5741
|
// if we will keep old data user can think (NUI-5333) that data is already reloaded.
|
|
5730
5742
|
// So we're flushing the old data and waiting for new one to avoid confusion.
|
|
5731
5743
|
this.flushTableData();
|
|
5732
|
-
this.eventBus.getStream(REFRESH).next(
|
|
5744
|
+
this.eventBus.getStream(REFRESH).next({});
|
|
5733
5745
|
}
|
|
5734
5746
|
onInteraction(row, event) {
|
|
5735
5747
|
if (!this.interactive) {
|
|
@@ -5963,7 +5975,7 @@ class TimeframeSelectionComponent {
|
|
|
5963
5975
|
}
|
|
5964
5976
|
this.currentTimeframe = timeframe;
|
|
5965
5977
|
if (!changes.timeframe.isFirstChange()) {
|
|
5966
|
-
this.eventBus.getStream(REFRESH).next(
|
|
5978
|
+
this.eventBus.getStream(REFRESH).next({});
|
|
5967
5979
|
}
|
|
5968
5980
|
}
|
|
5969
5981
|
if (changes.minDate) {
|
|
@@ -5975,9 +5987,7 @@ class TimeframeSelectionComponent {
|
|
|
5975
5987
|
}
|
|
5976
5988
|
ngOnInit() {
|
|
5977
5989
|
this.history.restart(this.currentTimeframe);
|
|
5978
|
-
this.eventBus
|
|
5979
|
-
.getStream(SET_TIMEFRAME)
|
|
5980
|
-
.subscribe((event) => {
|
|
5990
|
+
this.eventBus.getStream(SET_TIMEFRAME).subscribe((event) => {
|
|
5981
5991
|
if (!event.payload) {
|
|
5982
5992
|
throw new Error("Unable to set timeframe. Event payload is undefined");
|
|
5983
5993
|
}
|
|
@@ -6295,7 +6305,9 @@ class StatusBarChartComponent extends TimeseriesChartComponent {
|
|
|
6295
6305
|
this.chartAssist.sparks[0].chart
|
|
6296
6306
|
?.getEventBus()
|
|
6297
6307
|
.getStream(SET_DOMAIN_EVENT)
|
|
6298
|
-
.pipe(takeUntil(
|
|
6308
|
+
.pipe(takeUntil(
|
|
6309
|
+
// eslint-disable-next-line import/no-deprecated
|
|
6310
|
+
merge(this.chartUpdate$, this.chartAssist.sparks[0].chart?.eventBus.getStream(DESTROY_EVENT), this.buildChart$)))
|
|
6299
6311
|
.subscribe((event) => {
|
|
6300
6312
|
const payload = event.data;
|
|
6301
6313
|
const newDomain = payload[Object.keys(payload)[0]];
|
|
@@ -6303,7 +6315,7 @@ class StatusBarChartComponent extends TimeseriesChartComponent {
|
|
|
6303
6315
|
payload: {
|
|
6304
6316
|
startDatetime: newDomain[0],
|
|
6305
6317
|
endDatetime: newDomain[1],
|
|
6306
|
-
selectedPresetId:
|
|
6318
|
+
selectedPresetId: undefined,
|
|
6307
6319
|
},
|
|
6308
6320
|
});
|
|
6309
6321
|
});
|
|
@@ -6412,6 +6424,7 @@ class XYChartComponent extends TimeseriesChartComponent {
|
|
|
6412
6424
|
chart
|
|
6413
6425
|
.getEventBus()
|
|
6414
6426
|
.getStream(SET_DOMAIN_EVENT)
|
|
6427
|
+
// eslint-disable-next-line import/no-deprecated
|
|
6415
6428
|
.pipe(takeUntil(merge(this.destroy$, this.buildChart$)))
|
|
6416
6429
|
.subscribe((event) => {
|
|
6417
6430
|
const payload = event.data;
|
|
@@ -6420,7 +6433,7 @@ class XYChartComponent extends TimeseriesChartComponent {
|
|
|
6420
6433
|
payload: {
|
|
6421
6434
|
startDatetime: newDomain[0],
|
|
6422
6435
|
endDatetime: newDomain[1],
|
|
6423
|
-
selectedPresetId:
|
|
6436
|
+
selectedPresetId: undefined,
|
|
6424
6437
|
},
|
|
6425
6438
|
});
|
|
6426
6439
|
});
|
|
@@ -6434,6 +6447,7 @@ class XYChartComponent extends TimeseriesChartComponent {
|
|
|
6434
6447
|
this.chartAssist.chart
|
|
6435
6448
|
.getEventBus()
|
|
6436
6449
|
.getStream(INTERACTION_DATA_POINTS_EVENT)
|
|
6450
|
+
// eslint-disable-next-line import/no-deprecated
|
|
6437
6451
|
.pipe(takeUntil(merge(this.destroy$, this.buildChart$)))
|
|
6438
6452
|
.subscribe((values) => {
|
|
6439
6453
|
const payload = values.data;
|
|
@@ -6450,6 +6464,7 @@ class XYChartComponent extends TimeseriesChartComponent {
|
|
|
6450
6464
|
this.chartAssist.chart
|
|
6451
6465
|
.getEventBus()
|
|
6452
6466
|
.getStream(INTERACTION_VALUES_EVENT)
|
|
6467
|
+
// eslint-disable-next-line import/no-deprecated
|
|
6453
6468
|
.pipe(takeUntil(merge(this.destroy$, this.buildChart$)))
|
|
6454
6469
|
.subscribe((values) => {
|
|
6455
6470
|
const payload = values.data;
|
|
@@ -6707,7 +6722,7 @@ class WidgetSearchComponent {
|
|
|
6707
6722
|
this.eventBus = eventBus;
|
|
6708
6723
|
this.enabled = false;
|
|
6709
6724
|
this.searchTerm$ = new Subject();
|
|
6710
|
-
this.
|
|
6725
|
+
this.destroy$ = new Subject();
|
|
6711
6726
|
}
|
|
6712
6727
|
ngOnInit() {
|
|
6713
6728
|
if (this.dataSource.features?.getSupportedFeatures()?.search?.enabled) {
|
|
@@ -6736,8 +6751,8 @@ class WidgetSearchComponent {
|
|
|
6736
6751
|
this.eventBus.getStream(WIDGET_SEARCH).next({
|
|
6737
6752
|
payload: "",
|
|
6738
6753
|
});
|
|
6739
|
-
this.
|
|
6740
|
-
this.
|
|
6754
|
+
this.destroy$.next();
|
|
6755
|
+
this.destroy$.complete();
|
|
6741
6756
|
}
|
|
6742
6757
|
registerFilters() {
|
|
6743
6758
|
this.dataSource?.registerComponent({
|
|
@@ -6753,10 +6768,10 @@ class WidgetSearchComponent {
|
|
|
6753
6768
|
handleSearchTermSubscription(searchOnKeyUpCfg) {
|
|
6754
6769
|
this.searchTermSubscription?.unsubscribe();
|
|
6755
6770
|
this.searchTermSubscription = this.searchTerm$
|
|
6756
|
-
.pipe(takeUntil(this.
|
|
6771
|
+
.pipe(takeUntil(this.destroy$), debounceTime(searchOnKeyUpCfg?.debounceTime ||
|
|
6757
6772
|
WidgetSearchComponent.defaultSearchDebounce))
|
|
6758
6773
|
.subscribe((searchTerm) => {
|
|
6759
|
-
this.eventBus.getStream(REFRESH).next(
|
|
6774
|
+
this.eventBus.getStream(REFRESH).next({});
|
|
6760
6775
|
this.eventBus.getStream(WIDGET_SEARCH).next({
|
|
6761
6776
|
payload: searchTerm,
|
|
6762
6777
|
});
|
|
@@ -6994,7 +7009,7 @@ class WidgetHeaderComponent {
|
|
|
6994
7009
|
this.onDestroy$.complete();
|
|
6995
7010
|
}
|
|
6996
7011
|
removeWidget() {
|
|
6997
|
-
this.eventBus.getStream(WIDGET_REMOVE).next(
|
|
7012
|
+
this.eventBus.getStream(WIDGET_REMOVE).next({});
|
|
6998
7013
|
}
|
|
6999
7014
|
toggleCollapsed() {
|
|
7000
7015
|
this.pizzagnaService.setProperty({
|
|
@@ -7004,13 +7019,13 @@ class WidgetHeaderComponent {
|
|
|
7004
7019
|
}, !this.collapsed);
|
|
7005
7020
|
}
|
|
7006
7021
|
onEditWidget() {
|
|
7007
|
-
this.eventBus.getStream(WIDGET_EDIT).next(
|
|
7022
|
+
this.eventBus.getStream(WIDGET_EDIT).next({});
|
|
7008
7023
|
}
|
|
7009
7024
|
onReloadData() {
|
|
7010
7025
|
if (!this.reloadable) {
|
|
7011
7026
|
throw new Error("The widget is not reloadable, so it can't be reloaded manually.");
|
|
7012
7027
|
}
|
|
7013
|
-
this.eventBus.getStream(REFRESH).next(
|
|
7028
|
+
this.eventBus.getStream(REFRESH).next({});
|
|
7014
7029
|
}
|
|
7015
7030
|
prepareLink($event) {
|
|
7016
7031
|
const target = $event.target;
|
|
@@ -8433,6 +8448,7 @@ class ItemsDynamicComponent extends BaseLayout {
|
|
|
8433
8448
|
setTimeout(() => {
|
|
8434
8449
|
const label = form.get(`${item.id}/description`)?.get("label");
|
|
8435
8450
|
label?.valueChanges
|
|
8451
|
+
// eslint-disable-next-line import/no-deprecated
|
|
8436
8452
|
.pipe(startWith(label.value), takeUntil(this.destroyed$))
|
|
8437
8453
|
.subscribe((value) => {
|
|
8438
8454
|
this.headerMap.set(item.id, value || "");
|
|
@@ -9385,12 +9401,11 @@ class WidgetEditorComponent {
|
|
|
9385
9401
|
.pipe(takeUntil(this.destroy$))
|
|
9386
9402
|
.subscribe((event) => {
|
|
9387
9403
|
const payload = event.payload;
|
|
9388
|
-
|
|
9389
|
-
|
|
9390
|
-
|
|
9391
|
-
|
|
9392
|
-
|
|
9393
|
-
.next(payload.payload);
|
|
9404
|
+
if (payload && payload.id) {
|
|
9405
|
+
this.configurator?.previewPizzagnaComponent?.eventBus
|
|
9406
|
+
?.getStream(payload.id)
|
|
9407
|
+
.next(payload.payload);
|
|
9408
|
+
}
|
|
9394
9409
|
});
|
|
9395
9410
|
this._formPizzagnaComponent = value;
|
|
9396
9411
|
}
|
|
@@ -9577,7 +9592,10 @@ class WidgetEditorAccordionFormStatePipe {
|
|
|
9577
9592
|
if (!form) {
|
|
9578
9593
|
throw new Error("Provided form is undefined");
|
|
9579
9594
|
}
|
|
9580
|
-
|
|
9595
|
+
// eslint-disable-next-line import/no-deprecated
|
|
9596
|
+
return combineLatest([form.statusChanges, form.valueChanges]).pipe(
|
|
9597
|
+
// eslint-disable-next-line import/no-deprecated
|
|
9598
|
+
startWith(null), map(() => hasControlInErrorState(form)
|
|
9581
9599
|
? AccordionState.CRITICAL
|
|
9582
9600
|
: AccordionState.DEFAULT), distinct());
|
|
9583
9601
|
}
|
|
@@ -9598,7 +9616,10 @@ class FormHeaderIconPipePipe {
|
|
|
9598
9616
|
if (!form) {
|
|
9599
9617
|
throw new Error("Provided form is undefined");
|
|
9600
9618
|
}
|
|
9601
|
-
|
|
9619
|
+
// eslint-disable-next-line import/no-deprecated
|
|
9620
|
+
return combineLatest([form.statusChanges, form.valueChanges]).pipe(
|
|
9621
|
+
// eslint-disable-next-line import/no-deprecated
|
|
9622
|
+
startWith(null), map(() => (hasControlInErrorState(form) ? errorIcon : defaultIcon)));
|
|
9602
9623
|
}
|
|
9603
9624
|
}
|
|
9604
9625
|
FormHeaderIconPipePipe.ERROR_ICON_DEFAULT = "status_critical";
|
|
@@ -10059,7 +10080,7 @@ class EmbeddedContentConfigurationComponent {
|
|
|
10059
10080
|
this.formBuilder = formBuilder;
|
|
10060
10081
|
this.mode = EmbeddedContentMode.URL;
|
|
10061
10082
|
this.formReady = new EventEmitter();
|
|
10062
|
-
this.
|
|
10083
|
+
this.destroy$ = new Subject();
|
|
10063
10084
|
this.form = this.formBuilder.group({
|
|
10064
10085
|
mode: [this.mode],
|
|
10065
10086
|
urlCustomContent: [""],
|
|
@@ -10107,12 +10128,12 @@ class EmbeddedContentConfigurationComponent {
|
|
|
10107
10128
|
}
|
|
10108
10129
|
}
|
|
10109
10130
|
ngOnDestroy() {
|
|
10110
|
-
this.
|
|
10111
|
-
this.
|
|
10131
|
+
this.destroy$.next();
|
|
10132
|
+
this.destroy$.complete();
|
|
10112
10133
|
}
|
|
10113
10134
|
initializeForm() {
|
|
10114
10135
|
this.modeValue?.valueChanges
|
|
10115
|
-
.pipe(takeUntil(this.
|
|
10136
|
+
.pipe(takeUntil(this.destroy$))
|
|
10116
10137
|
.subscribe((value) => {
|
|
10117
10138
|
if (value === EmbeddedContentMode.URL) {
|
|
10118
10139
|
this.customEmbeddedContentValue?.setValue(this.form.get("urlCustomContent")?.value);
|
|
@@ -10126,12 +10147,12 @@ class EmbeddedContentConfigurationComponent {
|
|
|
10126
10147
|
}
|
|
10127
10148
|
});
|
|
10128
10149
|
this.urlCustomContent?.valueChanges
|
|
10129
|
-
.pipe(takeUntil(this.
|
|
10150
|
+
.pipe(takeUntil(this.destroy$))
|
|
10130
10151
|
.subscribe((value) => {
|
|
10131
10152
|
this.customEmbeddedContentValue?.setValue(value);
|
|
10132
10153
|
});
|
|
10133
10154
|
this.htmlCustomContent?.valueChanges
|
|
10134
|
-
.pipe(takeUntil(this.
|
|
10155
|
+
.pipe(takeUntil(this.destroy$))
|
|
10135
10156
|
.subscribe((value) => {
|
|
10136
10157
|
this.customEmbeddedContentValue?.setValue(value);
|
|
10137
10158
|
});
|
|
@@ -10200,9 +10221,13 @@ class KpiDescriptionConfigurationComponent {
|
|
|
10200
10221
|
this.form.addControl("units", this.formBuilder.control(this.units));
|
|
10201
10222
|
}
|
|
10202
10223
|
const label = this.form.get("label");
|
|
10224
|
+
// eslint-disable-next-line import/no-deprecated
|
|
10203
10225
|
const labelValue = label?.valueChanges.pipe(startWith(label.value));
|
|
10204
10226
|
const backgroundColor = this.form.get("backgroundColor");
|
|
10205
|
-
const backgroundColorValue = backgroundColor?.valueChanges.pipe(
|
|
10227
|
+
const backgroundColorValue = backgroundColor?.valueChanges.pipe(
|
|
10228
|
+
// eslint-disable-next-line import/no-deprecated
|
|
10229
|
+
startWith(backgroundColor?.value));
|
|
10230
|
+
// eslint-disable-next-line import/no-deprecated
|
|
10206
10231
|
this.subtitle$ = combineLatest([
|
|
10207
10232
|
labelValue?.pipe(map((t) => t || $localize `no label`)),
|
|
10208
10233
|
backgroundColorValue?.pipe(map((t) => chartPaletteColorMap[t] || $localize `Default Color`)),
|
|
@@ -10302,7 +10327,7 @@ class RefreshRateConfiguratorComponent {
|
|
|
10302
10327
|
this.displayedUnitItems = [];
|
|
10303
10328
|
this.currentUnit = null;
|
|
10304
10329
|
this.valueChangeFix = noop; // TODO this can be removed after NUI-3442 is fixed
|
|
10305
|
-
this.destroy
|
|
10330
|
+
this.destroy$ = new Subject();
|
|
10306
10331
|
}
|
|
10307
10332
|
ngOnInit() {
|
|
10308
10333
|
this.generateUnitItems();
|
|
@@ -10310,8 +10335,8 @@ class RefreshRateConfiguratorComponent {
|
|
|
10310
10335
|
this.createForm();
|
|
10311
10336
|
}
|
|
10312
10337
|
ngOnDestroy() {
|
|
10313
|
-
this.destroy
|
|
10314
|
-
this.destroy
|
|
10338
|
+
this.destroy$.next();
|
|
10339
|
+
this.destroy$.complete();
|
|
10315
10340
|
}
|
|
10316
10341
|
getNumberMin() {
|
|
10317
10342
|
if (!this.unitControl.value || this.minSeconds == null) {
|
|
@@ -10386,7 +10411,7 @@ class RefreshRateConfiguratorComponent {
|
|
|
10386
10411
|
if (this.unitControl.value) {
|
|
10387
10412
|
this.currentUnit = this.unitControl.value.id;
|
|
10388
10413
|
}
|
|
10389
|
-
this.form.valueChanges.pipe(takeUntil(this.destroy
|
|
10414
|
+
this.form.valueChanges.pipe(takeUntil(this.destroy$)).subscribe(() => {
|
|
10390
10415
|
this.updateError();
|
|
10391
10416
|
this.emitValueChange();
|
|
10392
10417
|
});
|
|
@@ -10443,25 +10468,19 @@ class RefreshRateConfiguratorComponent {
|
|
|
10443
10468
|
}
|
|
10444
10469
|
getLocalizedNumberValidationMessage(params) {
|
|
10445
10470
|
const { min, max, whole } = params;
|
|
10446
|
-
|
|
10447
|
-
|
|
10448
|
-
|
|
10449
|
-
}
|
|
10450
|
-
else {
|
|
10451
|
-
numberTypeText = $localize `a number`;
|
|
10452
|
-
}
|
|
10471
|
+
const numberTypeText = whole
|
|
10472
|
+
? $localize `a whole number`
|
|
10473
|
+
: $localize `a number`;
|
|
10453
10474
|
if (min != null && max != null) {
|
|
10454
10475
|
if (min === max) {
|
|
10455
10476
|
return $localize `Must be ${numberTypeText} equal to ${min}`;
|
|
10456
10477
|
}
|
|
10457
|
-
|
|
10458
|
-
return $localize `Must be ${numberTypeText} between ${min} and ${max}`;
|
|
10459
|
-
}
|
|
10478
|
+
return $localize `Must be ${numberTypeText} between ${min} and ${max}`;
|
|
10460
10479
|
}
|
|
10461
|
-
|
|
10480
|
+
if (min == null && max != null) {
|
|
10462
10481
|
return $localize `Must be ${numberTypeText} not larger than ${max}`;
|
|
10463
10482
|
}
|
|
10464
|
-
|
|
10483
|
+
if (min != null && max == null) {
|
|
10465
10484
|
return $localize `Must be ${numberTypeText} not smaller than ${min}`;
|
|
10466
10485
|
}
|
|
10467
10486
|
return $localize `Must be ${numberTypeText}`;
|
|
@@ -10539,6 +10558,7 @@ class RefresherConfigurationComponent {
|
|
|
10539
10558
|
this.form.markAllAsTouched();
|
|
10540
10559
|
this.cd.detectChanges();
|
|
10541
10560
|
});
|
|
10561
|
+
// eslint-disable-next-line import/no-deprecated
|
|
10542
10562
|
combineLatest([
|
|
10543
10563
|
this.form.controls["enabled"].valueChanges,
|
|
10544
10564
|
this.form.controls["overrideDefaultSettings"].valueChanges,
|
|
@@ -10692,7 +10712,7 @@ class ThresholdsConfigurationComponent {
|
|
|
10692
10712
|
displayValue: $localize `Set custom thresholds for this widget`,
|
|
10693
10713
|
},
|
|
10694
10714
|
];
|
|
10695
|
-
this.
|
|
10715
|
+
this.destroy$ = new Subject();
|
|
10696
10716
|
}
|
|
10697
10717
|
ngOnInit() {
|
|
10698
10718
|
this.validateRadioButtonsGroupValue();
|
|
@@ -10712,7 +10732,7 @@ class ThresholdsConfigurationComponent {
|
|
|
10712
10732
|
});
|
|
10713
10733
|
this.handleWarningThreshold(this.warningThresholdValue);
|
|
10714
10734
|
this.form.statusChanges
|
|
10715
|
-
.pipe(takeUntil(this.
|
|
10735
|
+
.pipe(takeUntil(this.destroy$))
|
|
10716
10736
|
.subscribe((change) => {
|
|
10717
10737
|
this.form.markAllAsTouched();
|
|
10718
10738
|
this.cd.detectChanges();
|
|
@@ -10749,8 +10769,8 @@ class ThresholdsConfigurationComponent {
|
|
|
10749
10769
|
: $localize `No thresholds`;
|
|
10750
10770
|
}
|
|
10751
10771
|
ngOnDestroy() {
|
|
10752
|
-
this.
|
|
10753
|
-
this.
|
|
10772
|
+
this.destroy$.next();
|
|
10773
|
+
this.destroy$.complete();
|
|
10754
10774
|
}
|
|
10755
10775
|
validateRadioButtonsGroupValue() {
|
|
10756
10776
|
this.radioButtonGroupValue = this.showThresholds;
|
|
@@ -12056,14 +12076,14 @@ class TableColumnConfigurationComponent {
|
|
|
12056
12076
|
constructor(formBuilder, changeDetector) {
|
|
12057
12077
|
this.formBuilder = formBuilder;
|
|
12058
12078
|
this.changeDetector = changeDetector;
|
|
12059
|
-
this.
|
|
12079
|
+
this.destroy$ = new Subject();
|
|
12060
12080
|
this.isWidthMessageDisplayed = false;
|
|
12061
12081
|
this.form = this.formBuilder.group({
|
|
12062
12082
|
description: this.formBuilder.control({}),
|
|
12063
12083
|
presentation: this.formBuilder.control({}),
|
|
12064
12084
|
});
|
|
12065
12085
|
this.form.valueChanges
|
|
12066
|
-
.pipe(takeUntil(this.
|
|
12086
|
+
.pipe(takeUntil(this.destroy$))
|
|
12067
12087
|
.subscribe((value) => {
|
|
12068
12088
|
const newValue = {
|
|
12069
12089
|
id: this.input?.id,
|
|
@@ -12095,8 +12115,8 @@ class TableColumnConfigurationComponent {
|
|
|
12095
12115
|
this.changeDetector.markForCheck();
|
|
12096
12116
|
}
|
|
12097
12117
|
ngOnDestroy() {
|
|
12098
|
-
this.
|
|
12099
|
-
this.
|
|
12118
|
+
this.destroy$.next();
|
|
12119
|
+
this.destroy$.complete();
|
|
12100
12120
|
}
|
|
12101
12121
|
}
|
|
12102
12122
|
TableColumnConfigurationComponent.lateLoadKey = "TableColumnConfigurationComponent";
|
|
@@ -12798,6 +12818,7 @@ class TableColumnsConfigurationComponent {
|
|
|
12798
12818
|
const columnsTemplate = this.pizzagnaService.pizzagna[PizzagnaLayer.Structure]
|
|
12799
12819
|
.columns.properties?.template;
|
|
12800
12820
|
const presentationIndex = columnsTemplate.findIndex((val) => val.id === "presentation");
|
|
12821
|
+
// eslint-disable-next-line max-len
|
|
12801
12822
|
const presentationPizzagnaPath = `${PizzagnaLayer.Structure}.columns.properties.template[${presentationIndex}].properties.dataFields`;
|
|
12802
12823
|
formPizzagna = immutableSet(formPizzagna, presentationPizzagnaPath, dataFields);
|
|
12803
12824
|
const columns = get(this.pizzagnaService.pizzagna, `${PizzagnaLayer.Data}.columns.properties.columns`);
|
|
@@ -13286,7 +13307,9 @@ class ConfiguratorService {
|
|
|
13286
13307
|
this.router = router;
|
|
13287
13308
|
this.close$ = new Subject();
|
|
13288
13309
|
this.handleSubmit = (confSource, trySubmit) => (source) => source.pipe(this.trySubmit(trySubmit, confSource), this.updateDashboard(confSource.dashboardComponent));
|
|
13289
|
-
this.trySubmit = (trySubmit, confSource) => (source) => source.pipe(
|
|
13310
|
+
this.trySubmit = (trySubmit, confSource) => (source) => source.pipe(
|
|
13311
|
+
// eslint-disable-next-line import/no-deprecated
|
|
13312
|
+
switchMap((widget) => {
|
|
13290
13313
|
if (widget && isFunction(trySubmit)) {
|
|
13291
13314
|
return trySubmit(widget, confSource).pipe(catchError((err) => {
|
|
13292
13315
|
this.logger.error(err);
|
|
@@ -13844,7 +13867,9 @@ class WidgetEditorDirective {
|
|
|
13844
13867
|
ngOnInit() {
|
|
13845
13868
|
this.dashboardComponent.eventBus
|
|
13846
13869
|
.getStream(WIDGET_EDIT)
|
|
13847
|
-
.pipe(
|
|
13870
|
+
.pipe(
|
|
13871
|
+
// eslint-disable-next-line import/no-deprecated
|
|
13872
|
+
switchMap((event) => {
|
|
13848
13873
|
const widget = this.dashboardComponent.dashboard.widgets[event.widgetId];
|
|
13849
13874
|
const widgetType = this.widgetTypesService.getWidgetType(widget.type, widget.version);
|
|
13850
13875
|
// TODO: Ensure that widgetType is defined;
|
|
@@ -13863,7 +13888,12 @@ class WidgetEditorDirective {
|
|
|
13863
13888
|
.subscribe();
|
|
13864
13889
|
this.dashboardComponent.eventBus
|
|
13865
13890
|
.getStream(WIDGET_REMOVE)
|
|
13866
|
-
.pipe(
|
|
13891
|
+
.pipe(
|
|
13892
|
+
// eslint-disable-next-line import/no-deprecated
|
|
13893
|
+
switchMap((event) => {
|
|
13894
|
+
if (!event.widgetId) {
|
|
13895
|
+
throw new Error(`event has to have widgetId`);
|
|
13896
|
+
}
|
|
13867
13897
|
const widgetId = event.widgetId;
|
|
13868
13898
|
const tryRemove = this.dashboardPersistenceHandler &&
|
|
13869
13899
|
this.dashboardPersistenceHandler.tryRemove;
|