@nova-ui/dashboards 13.0.1-3938 → 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
|
@@ -812,7 +812,7 @@ class DataSourceAdapter {
|
|
|
812
812
|
.subscribe(() => this.handleRefresh());
|
|
813
813
|
}
|
|
814
814
|
handleRefresh() {
|
|
815
|
-
this.eventBus.getStream(DATA_SOURCE_INVOKED).next(
|
|
815
|
+
this.eventBus.getStream(DATA_SOURCE_INVOKED).next({});
|
|
816
816
|
this.dataSource.applyFilters();
|
|
817
817
|
}
|
|
818
818
|
handleDataSourceUpdate(value) {
|
|
@@ -858,7 +858,7 @@ class DataSourceAdapter {
|
|
|
858
858
|
if (configurableDataSource === null || configurableDataSource === void 0 ? void 0 : configurableDataSource.updateConfiguration) {
|
|
859
859
|
configurableDataSource.updateConfiguration((_b = properties.dataSource) === null || _b === void 0 ? void 0 : _b.properties);
|
|
860
860
|
}
|
|
861
|
-
this.eventBus.getStream(REFRESH).next(
|
|
861
|
+
this.eventBus.getStream(REFRESH).next({});
|
|
862
862
|
}
|
|
863
863
|
// check if this is the first call of updateConfiguration and there is no dataSource configuration present in the incoming properties
|
|
864
864
|
// This results in two initial invocations of the data source, and we should eventually remove it. But, currently,
|
|
@@ -866,7 +866,7 @@ class DataSourceAdapter {
|
|
|
866
866
|
if (typeof this.dataSourceConfiguration === "undefined" &&
|
|
867
867
|
typeof dataSourceConfiguration === "undefined") {
|
|
868
868
|
// using a setTimeout here to give configurable data sources time to receive their configurations before they're invoked
|
|
869
|
-
setTimeout(() => this.eventBus.getStream(REFRESH).next(
|
|
869
|
+
setTimeout(() => this.eventBus.getStream(REFRESH).next({}));
|
|
870
870
|
}
|
|
871
871
|
}
|
|
872
872
|
updateOutput(value) {
|
|
@@ -946,16 +946,16 @@ let DrilldownDataSourceAdapter = class DrilldownDataSourceAdapter extends DataSo
|
|
|
946
946
|
const { payload } = event;
|
|
947
947
|
if (payload.reset) {
|
|
948
948
|
this.drillstate = [];
|
|
949
|
-
this.eventBus.next(REFRESH);
|
|
949
|
+
this.eventBus.next(REFRESH, {});
|
|
950
950
|
return;
|
|
951
951
|
}
|
|
952
952
|
if (payload.back) {
|
|
953
953
|
this.drillstate.length = this.drillstate.length - 1;
|
|
954
|
-
this.eventBus.next(REFRESH);
|
|
954
|
+
this.eventBus.next(REFRESH, {});
|
|
955
955
|
return;
|
|
956
956
|
}
|
|
957
957
|
this.drillstate.push(payload.id);
|
|
958
|
-
this.eventBus.next(REFRESH);
|
|
958
|
+
this.eventBus.next(REFRESH, {});
|
|
959
959
|
}
|
|
960
960
|
registerFilters() {
|
|
961
961
|
this.dataSource.registerComponent({
|
|
@@ -1029,9 +1029,7 @@ class InteractionHandler {
|
|
|
1029
1029
|
this.properties = properties;
|
|
1030
1030
|
}
|
|
1031
1031
|
initializeSubscriptions() {
|
|
1032
|
-
this.eventBus
|
|
1033
|
-
.getStream(INTERACTION)
|
|
1034
|
-
.subscribe((event) => {
|
|
1032
|
+
this.eventBus.getStream(INTERACTION).subscribe((event) => {
|
|
1035
1033
|
var _a, _b, _c;
|
|
1036
1034
|
if (!((_a = this.properties) === null || _a === void 0 ? void 0 : _a.interactionType) ||
|
|
1037
1035
|
((_b = this.properties) === null || _b === void 0 ? void 0 : _b.interactionType) ===
|
|
@@ -1885,7 +1883,7 @@ class Refresher {
|
|
|
1885
1883
|
});
|
|
1886
1884
|
}
|
|
1887
1885
|
performAction() {
|
|
1888
|
-
this.eventBus.getStream(this.eventDef).next(
|
|
1886
|
+
this.eventBus.getStream(this.eventDef).next({});
|
|
1889
1887
|
}
|
|
1890
1888
|
getInterval() {
|
|
1891
1889
|
return this.overrideDefaultSettings
|
|
@@ -1922,7 +1920,11 @@ let TableDataSourceAdapter = class TableDataSourceAdapter extends DataSourceAdap
|
|
|
1922
1920
|
// they are executed simultaneously but we don't know how things will change in the future
|
|
1923
1921
|
const refresh$ = zip(this.eventBus.getStream(WIDGET_READY), this.eventBus.getStream(REFRESH)).pipe(
|
|
1924
1922
|
// Note: Using startWith() to re-trigger the REFRESH stream that was triggered at least on time before WIDGET_READY
|
|
1925
|
-
|
|
1923
|
+
// eslint-disable-next-line import/no-deprecated
|
|
1924
|
+
switchMap(() =>
|
|
1925
|
+
// eslint-disable-next-line import/no-deprecated
|
|
1926
|
+
this.eventBus.getStream(REFRESH).pipe(startWith(undefined))), tap(() => this.virtualViewport.reset({ emitFirstPage: false })), map(() => { }));
|
|
1927
|
+
// eslint-disable-next-line import/no-deprecated
|
|
1926
1928
|
merge(refresh$, this.eventBus.getStream(SCROLL_NEXT_PAGE))
|
|
1927
1929
|
.pipe(
|
|
1928
1930
|
// Note: While SCROLL_NEXT_PAGE is triggered on TableWidget initialization aka WIDGET_READY
|
|
@@ -2552,6 +2554,7 @@ class TableColumnsConverterService extends BaseConverter {
|
|
|
2552
2554
|
(_a = this.component.form
|
|
2553
2555
|
.get("columnsOutput")) === null || _a === void 0 ? void 0 : _a.valueChanges.pipe(
|
|
2554
2556
|
// trigger subscription after tableColumnsFormArray is filled with values
|
|
2557
|
+
// eslint-disable-next-line import/no-deprecated
|
|
2555
2558
|
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$)).subscribe((columnId) => this.setWidthMessages(columnId));
|
|
2556
2559
|
}
|
|
2557
2560
|
/**
|
|
@@ -2861,6 +2864,7 @@ class TimeseriesSeriesConverterService extends BaseConverter {
|
|
|
2861
2864
|
this.updateFormPizzagna(updatedPizzagna);
|
|
2862
2865
|
}
|
|
2863
2866
|
subscribeToAvailableDataFieldsChange() {
|
|
2867
|
+
// eslint-disable-next-line import/no-deprecated
|
|
2864
2868
|
combineLatest([this.dataSourceSeries$, this.selectedSeriesIds$])
|
|
2865
2869
|
.pipe(takeUntil(this.destroy$), map(([dsSeries, usedSeriesIds]) => dsSeries.filter((ds) => !usedSeriesIds.find((id) => id === ds.id))), distinctUntilChanged(isEqual))
|
|
2866
2870
|
.subscribe(this.updateAvailableSeries.bind(this));
|
|
@@ -3916,20 +3920,20 @@ class DashboardComponent {
|
|
|
3916
3920
|
};
|
|
3917
3921
|
this.trackByFn = (index, item) => item.key;
|
|
3918
3922
|
this.updateWidgetPosition = (item, itemComponent) => {
|
|
3919
|
-
const widgetId = itemComponent.widgetId;
|
|
3923
|
+
const widgetId = String(itemComponent.widgetId);
|
|
3920
3924
|
const dashboard = immutableSet(this.dashboard, "positions." + widgetId, item);
|
|
3921
3925
|
this.dashboardChange.emit(dashboard);
|
|
3922
3926
|
this.eventBus.getStream(WIDGET_POSITION_CHANGE).next({
|
|
3923
|
-
widgetId
|
|
3927
|
+
widgetId,
|
|
3924
3928
|
payload: item,
|
|
3925
3929
|
});
|
|
3926
3930
|
};
|
|
3927
3931
|
this.emitWidgetResize = (item, itemComponent) => {
|
|
3928
3932
|
const widgetId = itemComponent.widgetId;
|
|
3929
3933
|
this.eventBus.getStream(WIDGET_RESIZE).next({
|
|
3930
|
-
widgetId
|
|
3934
|
+
widgetId,
|
|
3931
3935
|
payload: {
|
|
3932
|
-
widgetId
|
|
3936
|
+
widgetId,
|
|
3933
3937
|
height: itemComponent.height,
|
|
3934
3938
|
width: itemComponent.width,
|
|
3935
3939
|
},
|
|
@@ -4615,7 +4619,8 @@ class ListLeafItemComponent {
|
|
|
4615
4619
|
.getStream(WIDGET_SEARCH)
|
|
4616
4620
|
.pipe(takeUntil(this.destroy$))
|
|
4617
4621
|
.subscribe((event) => {
|
|
4618
|
-
|
|
4622
|
+
var _a;
|
|
4623
|
+
this.searchTerm = (_a = event.payload) !== null && _a !== void 0 ? _a : "";
|
|
4619
4624
|
this.changeDetector.markForCheck();
|
|
4620
4625
|
});
|
|
4621
4626
|
}
|
|
@@ -5319,7 +5324,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
5319
5324
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
5320
5325
|
class DelayedMousePresenceDetectionDirective {
|
|
5321
5326
|
constructor() {
|
|
5322
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
5323
5327
|
this.enabled = true;
|
|
5324
5328
|
this.delay = 500;
|
|
5325
5329
|
}
|
|
@@ -5440,7 +5444,7 @@ class SearchFeatureAddonService {
|
|
|
5440
5444
|
"configuration.searchConfiguration.searchTerm",
|
|
5441
5445
|
],
|
|
5442
5446
|
}, this.widget.searchValue);
|
|
5443
|
-
this.widget.eventBus.getStream(REFRESH).next(
|
|
5447
|
+
this.widget.eventBus.getStream(REFRESH).next({});
|
|
5444
5448
|
});
|
|
5445
5449
|
}
|
|
5446
5450
|
}
|
|
@@ -5489,6 +5493,7 @@ class VirtualScrollFeatureAddonService {
|
|
|
5489
5493
|
}
|
|
5490
5494
|
// Note: Using this additional stream to pass the visible range to
|
|
5491
5495
|
// the table and trigger change detection on range change and table data update.
|
|
5496
|
+
// eslint-disable-next-line import/no-deprecated
|
|
5492
5497
|
merge(this.widget.vscrollViewport.renderedRangeStream, this.widget.tableUpdate$.pipe(map(() => { var _a; return (_a = this.widget.vscrollViewport) === null || _a === void 0 ? void 0 : _a.getRenderedRange(); })))
|
|
5493
5498
|
.pipe(tap((range) => {
|
|
5494
5499
|
this.visibleItems = this.widget.tableData.slice(range === null || range === void 0 ? void 0 : range.start, range === null || range === void 0 ? void 0 : range.end);
|
|
@@ -5515,7 +5520,7 @@ class VirtualScrollFeatureAddonService {
|
|
|
5515
5520
|
range.end / (range.end - range.start);
|
|
5516
5521
|
this.widget.eventBus
|
|
5517
5522
|
.getStream(SCROLL_NEXT_PAGE)
|
|
5518
|
-
.next(
|
|
5523
|
+
.next({});
|
|
5519
5524
|
this.widget.changeDetector.detectChanges();
|
|
5520
5525
|
})), takeUntil(this.widget.onDestroy$))
|
|
5521
5526
|
.subscribe();
|
|
@@ -5585,9 +5590,8 @@ class TableWidgetComponent {
|
|
|
5585
5590
|
this._scrollBuffer = value;
|
|
5586
5591
|
}
|
|
5587
5592
|
get interactive() {
|
|
5588
|
-
var _a, _b, _c, _d;
|
|
5589
|
-
return (((_a = this.configuration) === null || _a === void 0 ? void 0 : _a.interactive) ||
|
|
5590
|
-
((_d = (_c = (_b = this.dataSource) === null || _b === void 0 ? void 0 : _b.features) === null || _c === void 0 ? void 0 : _c.getFeatureConfig(WellKnownDataSourceFeatures.Interactivity)) === null || _d === void 0 ? void 0 : _d.enabled));
|
|
5593
|
+
var _a, _b, _c, _d, _e, _f;
|
|
5594
|
+
return ((_f = (_b = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.interactive) !== null && _b !== void 0 ? _b : (_e = (_d = (_c = this.dataSource) === null || _c === void 0 ? void 0 : _c.features) === null || _d === void 0 ? void 0 : _d.getFeatureConfig(WellKnownDataSourceFeatures.Interactivity)) === null || _e === void 0 ? void 0 : _e.enabled) !== null && _f !== void 0 ? _f : false);
|
|
5591
5595
|
}
|
|
5592
5596
|
ngOnChanges(changes) {
|
|
5593
5597
|
var _a, _b, _c, _d;
|
|
@@ -5641,13 +5645,20 @@ class TableWidgetComponent {
|
|
|
5641
5645
|
if (!this.dataSource) {
|
|
5642
5646
|
return;
|
|
5643
5647
|
}
|
|
5644
|
-
(_a = this.dataSource.busy) === null || _a === void 0 ? void 0 : _a.pipe(
|
|
5648
|
+
(_a = this.dataSource.busy) === null || _a === void 0 ? void 0 : _a.pipe(
|
|
5649
|
+
// eslint-disable-next-line import/no-deprecated
|
|
5650
|
+
tap((isBusy) => (this.isBusy = isBusy)), takeUntil(this.onDestroy$)).subscribe();
|
|
5645
5651
|
this.virtualScrollAddon.initVirtualScroll();
|
|
5646
5652
|
this.searchAddon.initWidget(this);
|
|
5647
5653
|
const tableHeightChanged$ = this.eventBus
|
|
5648
5654
|
.getStream(WIDGET_RESIZE)
|
|
5649
|
-
.pipe(filter((event) =>
|
|
5650
|
-
|
|
5655
|
+
.pipe(filter((event) => {
|
|
5656
|
+
var _a, _b;
|
|
5657
|
+
return ((_b = (_a = event.payload) === null || _a === void 0 ? void 0 : _a.widgetId) === null || _b === void 0 ? void 0 : _b.toString()) ===
|
|
5658
|
+
this.widgetConfigurationService.getWidget().id;
|
|
5659
|
+
}),
|
|
5660
|
+
// eslint-disable-next-line import/no-deprecated
|
|
5661
|
+
map((event) => { var _a, _b; return (_b = (_a = event.payload) === null || _a === void 0 ? void 0 : _a.height) !== null && _b !== void 0 ? _b : 0; }));
|
|
5651
5662
|
// subscribing to widget resize event from dashboard and update virtual scroll viewport size
|
|
5652
5663
|
tableHeightChanged$
|
|
5653
5664
|
.pipe(takeUntil(this.onDestroy$))
|
|
@@ -5662,11 +5673,14 @@ class TableWidgetComponent {
|
|
|
5662
5673
|
// setTimeout is needed because this.el.nativeElement.getBoundingClientRect().height is 0 when it switches components from
|
|
5663
5674
|
// fallback component to table widget and it needs to have height
|
|
5664
5675
|
setTimeout(() => {
|
|
5676
|
+
// eslint-disable-next-line import/no-deprecated
|
|
5665
5677
|
merge(of(this.range * this.rowHeight), tableHeightChanged$, of(this.el.nativeElement.getBoundingClientRect().height))
|
|
5666
|
-
.pipe(filter((value) => !!value), take(1),
|
|
5678
|
+
.pipe(filter((value) => !!value), take(1),
|
|
5679
|
+
// eslint-disable-next-line import/no-deprecated
|
|
5680
|
+
tap((value) => {
|
|
5667
5681
|
this.tableWidgetHeight = value;
|
|
5668
5682
|
this.virtualScrollAddon.subscribeToVirtualScroll();
|
|
5669
|
-
this.eventBus.getStream(WIDGET_READY).next(
|
|
5683
|
+
this.eventBus.getStream(WIDGET_READY).next({});
|
|
5670
5684
|
}))
|
|
5671
5685
|
.subscribe();
|
|
5672
5686
|
});
|
|
@@ -5795,7 +5809,7 @@ class TableWidgetComponent {
|
|
|
5795
5809
|
// if we will keep old data user can think (NUI-5333) that data is already reloaded.
|
|
5796
5810
|
// So we're flushing the old data and waiting for new one to avoid confusion.
|
|
5797
5811
|
this.flushTableData();
|
|
5798
|
-
this.eventBus.getStream(REFRESH).next(
|
|
5812
|
+
this.eventBus.getStream(REFRESH).next({});
|
|
5799
5813
|
}
|
|
5800
5814
|
onInteraction(row, event) {
|
|
5801
5815
|
if (!this.interactive) {
|
|
@@ -6032,7 +6046,7 @@ class TimeframeSelectionComponent {
|
|
|
6032
6046
|
}
|
|
6033
6047
|
this.currentTimeframe = timeframe;
|
|
6034
6048
|
if (!changes.timeframe.isFirstChange()) {
|
|
6035
|
-
this.eventBus.getStream(REFRESH).next(
|
|
6049
|
+
this.eventBus.getStream(REFRESH).next({});
|
|
6036
6050
|
}
|
|
6037
6051
|
}
|
|
6038
6052
|
if (changes.minDate) {
|
|
@@ -6044,9 +6058,7 @@ class TimeframeSelectionComponent {
|
|
|
6044
6058
|
}
|
|
6045
6059
|
ngOnInit() {
|
|
6046
6060
|
this.history.restart(this.currentTimeframe);
|
|
6047
|
-
this.eventBus
|
|
6048
|
-
.getStream(SET_TIMEFRAME)
|
|
6049
|
-
.subscribe((event) => {
|
|
6061
|
+
this.eventBus.getStream(SET_TIMEFRAME).subscribe((event) => {
|
|
6050
6062
|
if (!event.payload) {
|
|
6051
6063
|
throw new Error("Unable to set timeframe. Event payload is undefined");
|
|
6052
6064
|
}
|
|
@@ -6363,14 +6375,16 @@ class StatusBarChartComponent extends TimeseriesChartComponent {
|
|
|
6363
6375
|
}
|
|
6364
6376
|
});
|
|
6365
6377
|
// only need to subscribe to one chart's SET_DOMAIN_EVENT
|
|
6366
|
-
(_a = this.chartAssist.sparks[0].chart) === null || _a === void 0 ? void 0 : _a.getEventBus().getStream(SET_DOMAIN_EVENT).pipe(takeUntil(
|
|
6378
|
+
(_a = this.chartAssist.sparks[0].chart) === null || _a === void 0 ? void 0 : _a.getEventBus().getStream(SET_DOMAIN_EVENT).pipe(takeUntil(
|
|
6379
|
+
// eslint-disable-next-line import/no-deprecated
|
|
6380
|
+
merge(this.chartUpdate$, (_b = this.chartAssist.sparks[0].chart) === null || _b === void 0 ? void 0 : _b.eventBus.getStream(DESTROY_EVENT), this.buildChart$))).subscribe((event) => {
|
|
6367
6381
|
const payload = event.data;
|
|
6368
6382
|
const newDomain = payload[Object.keys(payload)[0]];
|
|
6369
6383
|
this.eventBus.getStream(SET_TIMEFRAME).next({
|
|
6370
6384
|
payload: {
|
|
6371
6385
|
startDatetime: newDomain[0],
|
|
6372
6386
|
endDatetime: newDomain[1],
|
|
6373
|
-
selectedPresetId:
|
|
6387
|
+
selectedPresetId: undefined,
|
|
6374
6388
|
},
|
|
6375
6389
|
});
|
|
6376
6390
|
});
|
|
@@ -6477,6 +6491,7 @@ class XYChartComponent extends TimeseriesChartComponent {
|
|
|
6477
6491
|
chart
|
|
6478
6492
|
.getEventBus()
|
|
6479
6493
|
.getStream(SET_DOMAIN_EVENT)
|
|
6494
|
+
// eslint-disable-next-line import/no-deprecated
|
|
6480
6495
|
.pipe(takeUntil(merge(this.destroy$, this.buildChart$)))
|
|
6481
6496
|
.subscribe((event) => {
|
|
6482
6497
|
const payload = event.data;
|
|
@@ -6485,7 +6500,7 @@ class XYChartComponent extends TimeseriesChartComponent {
|
|
|
6485
6500
|
payload: {
|
|
6486
6501
|
startDatetime: newDomain[0],
|
|
6487
6502
|
endDatetime: newDomain[1],
|
|
6488
|
-
selectedPresetId:
|
|
6503
|
+
selectedPresetId: undefined,
|
|
6489
6504
|
},
|
|
6490
6505
|
});
|
|
6491
6506
|
});
|
|
@@ -6499,6 +6514,7 @@ class XYChartComponent extends TimeseriesChartComponent {
|
|
|
6499
6514
|
this.chartAssist.chart
|
|
6500
6515
|
.getEventBus()
|
|
6501
6516
|
.getStream(INTERACTION_DATA_POINTS_EVENT)
|
|
6517
|
+
// eslint-disable-next-line import/no-deprecated
|
|
6502
6518
|
.pipe(takeUntil(merge(this.destroy$, this.buildChart$)))
|
|
6503
6519
|
.subscribe((values) => {
|
|
6504
6520
|
const payload = values.data;
|
|
@@ -6515,6 +6531,7 @@ class XYChartComponent extends TimeseriesChartComponent {
|
|
|
6515
6531
|
this.chartAssist.chart
|
|
6516
6532
|
.getEventBus()
|
|
6517
6533
|
.getStream(INTERACTION_VALUES_EVENT)
|
|
6534
|
+
// eslint-disable-next-line import/no-deprecated
|
|
6518
6535
|
.pipe(takeUntil(merge(this.destroy$, this.buildChart$)))
|
|
6519
6536
|
.subscribe((values) => {
|
|
6520
6537
|
const payload = values.data;
|
|
@@ -6784,7 +6801,7 @@ class WidgetSearchComponent {
|
|
|
6784
6801
|
this.eventBus = eventBus;
|
|
6785
6802
|
this.enabled = false;
|
|
6786
6803
|
this.searchTerm$ = new Subject();
|
|
6787
|
-
this.
|
|
6804
|
+
this.destroy$ = new Subject();
|
|
6788
6805
|
}
|
|
6789
6806
|
ngOnInit() {
|
|
6790
6807
|
var _a, _b, _c, _d;
|
|
@@ -6815,8 +6832,8 @@ class WidgetSearchComponent {
|
|
|
6815
6832
|
this.eventBus.getStream(WIDGET_SEARCH).next({
|
|
6816
6833
|
payload: "",
|
|
6817
6834
|
});
|
|
6818
|
-
this.
|
|
6819
|
-
this.
|
|
6835
|
+
this.destroy$.next();
|
|
6836
|
+
this.destroy$.complete();
|
|
6820
6837
|
}
|
|
6821
6838
|
registerFilters() {
|
|
6822
6839
|
var _a;
|
|
@@ -6834,10 +6851,10 @@ class WidgetSearchComponent {
|
|
|
6834
6851
|
var _a;
|
|
6835
6852
|
(_a = this.searchTermSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
6836
6853
|
this.searchTermSubscription = this.searchTerm$
|
|
6837
|
-
.pipe(takeUntil(this.
|
|
6854
|
+
.pipe(takeUntil(this.destroy$), debounceTime((searchOnKeyUpCfg === null || searchOnKeyUpCfg === void 0 ? void 0 : searchOnKeyUpCfg.debounceTime) ||
|
|
6838
6855
|
WidgetSearchComponent.defaultSearchDebounce))
|
|
6839
6856
|
.subscribe((searchTerm) => {
|
|
6840
|
-
this.eventBus.getStream(REFRESH).next(
|
|
6857
|
+
this.eventBus.getStream(REFRESH).next({});
|
|
6841
6858
|
this.eventBus.getStream(WIDGET_SEARCH).next({
|
|
6842
6859
|
payload: searchTerm,
|
|
6843
6860
|
});
|
|
@@ -7079,7 +7096,7 @@ class WidgetHeaderComponent {
|
|
|
7079
7096
|
this.onDestroy$.complete();
|
|
7080
7097
|
}
|
|
7081
7098
|
removeWidget() {
|
|
7082
|
-
this.eventBus.getStream(WIDGET_REMOVE).next(
|
|
7099
|
+
this.eventBus.getStream(WIDGET_REMOVE).next({});
|
|
7083
7100
|
}
|
|
7084
7101
|
toggleCollapsed() {
|
|
7085
7102
|
this.pizzagnaService.setProperty({
|
|
@@ -7089,13 +7106,13 @@ class WidgetHeaderComponent {
|
|
|
7089
7106
|
}, !this.collapsed);
|
|
7090
7107
|
}
|
|
7091
7108
|
onEditWidget() {
|
|
7092
|
-
this.eventBus.getStream(WIDGET_EDIT).next(
|
|
7109
|
+
this.eventBus.getStream(WIDGET_EDIT).next({});
|
|
7093
7110
|
}
|
|
7094
7111
|
onReloadData() {
|
|
7095
7112
|
if (!this.reloadable) {
|
|
7096
7113
|
throw new Error("The widget is not reloadable, so it can't be reloaded manually.");
|
|
7097
7114
|
}
|
|
7098
|
-
this.eventBus.getStream(REFRESH).next(
|
|
7115
|
+
this.eventBus.getStream(REFRESH).next({});
|
|
7099
7116
|
}
|
|
7100
7117
|
prepareLink($event) {
|
|
7101
7118
|
const target = $event.target;
|
|
@@ -9476,8 +9493,9 @@ class WidgetEditorComponent {
|
|
|
9476
9493
|
(_a = value === null || value === void 0 ? void 0 : value.eventBus) === null || _a === void 0 ? void 0 : _a.getStream(PREVIEW_EVENT).pipe(takeUntil(this.destroy$)).subscribe((event) => {
|
|
9477
9494
|
var _a, _b, _c;
|
|
9478
9495
|
const payload = event.payload;
|
|
9479
|
-
|
|
9480
|
-
|
|
9496
|
+
if (payload && payload.id) {
|
|
9497
|
+
(_c = (_b = (_a = this.configurator) === null || _a === void 0 ? void 0 : _a.previewPizzagnaComponent) === null || _b === void 0 ? void 0 : _b.eventBus) === null || _c === void 0 ? void 0 : _c.getStream(payload.id).next(payload.payload);
|
|
9498
|
+
}
|
|
9481
9499
|
});
|
|
9482
9500
|
this._formPizzagnaComponent = value;
|
|
9483
9501
|
}
|
|
@@ -9660,7 +9678,10 @@ class WidgetEditorAccordionFormStatePipe {
|
|
|
9660
9678
|
if (!form) {
|
|
9661
9679
|
throw new Error("Provided form is undefined");
|
|
9662
9680
|
}
|
|
9663
|
-
|
|
9681
|
+
// eslint-disable-next-line import/no-deprecated
|
|
9682
|
+
return combineLatest([form.statusChanges, form.valueChanges]).pipe(
|
|
9683
|
+
// eslint-disable-next-line import/no-deprecated
|
|
9684
|
+
startWith(null), map(() => hasControlInErrorState(form)
|
|
9664
9685
|
? AccordionState.CRITICAL
|
|
9665
9686
|
: AccordionState.DEFAULT), distinct());
|
|
9666
9687
|
}
|
|
@@ -9681,7 +9702,10 @@ class FormHeaderIconPipePipe {
|
|
|
9681
9702
|
if (!form) {
|
|
9682
9703
|
throw new Error("Provided form is undefined");
|
|
9683
9704
|
}
|
|
9684
|
-
|
|
9705
|
+
// eslint-disable-next-line import/no-deprecated
|
|
9706
|
+
return combineLatest([form.statusChanges, form.valueChanges]).pipe(
|
|
9707
|
+
// eslint-disable-next-line import/no-deprecated
|
|
9708
|
+
startWith(null), map(() => (hasControlInErrorState(form) ? errorIcon : defaultIcon)));
|
|
9685
9709
|
}
|
|
9686
9710
|
}
|
|
9687
9711
|
FormHeaderIconPipePipe.ERROR_ICON_DEFAULT = "status_critical";
|
|
@@ -10153,7 +10177,7 @@ class EmbeddedContentConfigurationComponent {
|
|
|
10153
10177
|
this.formBuilder = formBuilder;
|
|
10154
10178
|
this.mode = EmbeddedContentMode.URL;
|
|
10155
10179
|
this.formReady = new EventEmitter();
|
|
10156
|
-
this.
|
|
10180
|
+
this.destroy$ = new Subject();
|
|
10157
10181
|
this.form = this.formBuilder.group({
|
|
10158
10182
|
mode: [this.mode],
|
|
10159
10183
|
urlCustomContent: [""],
|
|
@@ -10202,12 +10226,12 @@ class EmbeddedContentConfigurationComponent {
|
|
|
10202
10226
|
}
|
|
10203
10227
|
}
|
|
10204
10228
|
ngOnDestroy() {
|
|
10205
|
-
this.
|
|
10206
|
-
this.
|
|
10229
|
+
this.destroy$.next();
|
|
10230
|
+
this.destroy$.complete();
|
|
10207
10231
|
}
|
|
10208
10232
|
initializeForm() {
|
|
10209
10233
|
var _a, _b, _c;
|
|
10210
|
-
(_a = this.modeValue) === null || _a === void 0 ? void 0 : _a.valueChanges.pipe(takeUntil(this.
|
|
10234
|
+
(_a = this.modeValue) === null || _a === void 0 ? void 0 : _a.valueChanges.pipe(takeUntil(this.destroy$)).subscribe((value) => {
|
|
10211
10235
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
10212
10236
|
if (value === EmbeddedContentMode.URL) {
|
|
10213
10237
|
(_a = this.customEmbeddedContentValue) === null || _a === void 0 ? void 0 : _a.setValue((_b = this.form.get("urlCustomContent")) === null || _b === void 0 ? void 0 : _b.value);
|
|
@@ -10220,11 +10244,11 @@ class EmbeddedContentConfigurationComponent {
|
|
|
10220
10244
|
(_h = this.htmlCustomContent) === null || _h === void 0 ? void 0 : _h.enable();
|
|
10221
10245
|
}
|
|
10222
10246
|
});
|
|
10223
|
-
(_b = this.urlCustomContent) === null || _b === void 0 ? void 0 : _b.valueChanges.pipe(takeUntil(this.
|
|
10247
|
+
(_b = this.urlCustomContent) === null || _b === void 0 ? void 0 : _b.valueChanges.pipe(takeUntil(this.destroy$)).subscribe((value) => {
|
|
10224
10248
|
var _a;
|
|
10225
10249
|
(_a = this.customEmbeddedContentValue) === null || _a === void 0 ? void 0 : _a.setValue(value);
|
|
10226
10250
|
});
|
|
10227
|
-
(_c = this.htmlCustomContent) === null || _c === void 0 ? void 0 : _c.valueChanges.pipe(takeUntil(this.
|
|
10251
|
+
(_c = this.htmlCustomContent) === null || _c === void 0 ? void 0 : _c.valueChanges.pipe(takeUntil(this.destroy$)).subscribe((value) => {
|
|
10228
10252
|
var _a;
|
|
10229
10253
|
(_a = this.customEmbeddedContentValue) === null || _a === void 0 ? void 0 : _a.setValue(value);
|
|
10230
10254
|
});
|
|
@@ -10293,9 +10317,13 @@ class KpiDescriptionConfigurationComponent {
|
|
|
10293
10317
|
this.form.addControl("units", this.formBuilder.control(this.units));
|
|
10294
10318
|
}
|
|
10295
10319
|
const label = this.form.get("label");
|
|
10320
|
+
// eslint-disable-next-line import/no-deprecated
|
|
10296
10321
|
const labelValue = label === null || label === void 0 ? void 0 : label.valueChanges.pipe(startWith(label.value));
|
|
10297
10322
|
const backgroundColor = this.form.get("backgroundColor");
|
|
10298
|
-
const backgroundColorValue = backgroundColor === null || backgroundColor === void 0 ? void 0 : backgroundColor.valueChanges.pipe(
|
|
10323
|
+
const backgroundColorValue = backgroundColor === null || backgroundColor === void 0 ? void 0 : backgroundColor.valueChanges.pipe(
|
|
10324
|
+
// eslint-disable-next-line import/no-deprecated
|
|
10325
|
+
startWith(backgroundColor === null || backgroundColor === void 0 ? void 0 : backgroundColor.value));
|
|
10326
|
+
// eslint-disable-next-line import/no-deprecated
|
|
10299
10327
|
this.subtitle$ = combineLatest([
|
|
10300
10328
|
labelValue === null || labelValue === void 0 ? void 0 : labelValue.pipe(map((t) => t || $localize `no label`)),
|
|
10301
10329
|
backgroundColorValue === null || backgroundColorValue === void 0 ? void 0 : backgroundColorValue.pipe(map((t) => chartPaletteColorMap[t] || $localize `Default Color`)),
|
|
@@ -10396,7 +10424,7 @@ class RefreshRateConfiguratorComponent {
|
|
|
10396
10424
|
this.displayedUnitItems = [];
|
|
10397
10425
|
this.currentUnit = null;
|
|
10398
10426
|
this.valueChangeFix = noop; // TODO this can be removed after NUI-3442 is fixed
|
|
10399
|
-
this.destroy
|
|
10427
|
+
this.destroy$ = new Subject();
|
|
10400
10428
|
}
|
|
10401
10429
|
ngOnInit() {
|
|
10402
10430
|
this.generateUnitItems();
|
|
@@ -10404,8 +10432,8 @@ class RefreshRateConfiguratorComponent {
|
|
|
10404
10432
|
this.createForm();
|
|
10405
10433
|
}
|
|
10406
10434
|
ngOnDestroy() {
|
|
10407
|
-
this.destroy
|
|
10408
|
-
this.destroy
|
|
10435
|
+
this.destroy$.next();
|
|
10436
|
+
this.destroy$.complete();
|
|
10409
10437
|
}
|
|
10410
10438
|
getNumberMin() {
|
|
10411
10439
|
if (!this.unitControl.value || this.minSeconds == null) {
|
|
@@ -10480,7 +10508,7 @@ class RefreshRateConfiguratorComponent {
|
|
|
10480
10508
|
if (this.unitControl.value) {
|
|
10481
10509
|
this.currentUnit = this.unitControl.value.id;
|
|
10482
10510
|
}
|
|
10483
|
-
this.form.valueChanges.pipe(takeUntil(this.destroy
|
|
10511
|
+
this.form.valueChanges.pipe(takeUntil(this.destroy$)).subscribe(() => {
|
|
10484
10512
|
this.updateError();
|
|
10485
10513
|
this.emitValueChange();
|
|
10486
10514
|
});
|
|
@@ -10537,25 +10565,19 @@ class RefreshRateConfiguratorComponent {
|
|
|
10537
10565
|
}
|
|
10538
10566
|
getLocalizedNumberValidationMessage(params) {
|
|
10539
10567
|
const { min, max, whole } = params;
|
|
10540
|
-
|
|
10541
|
-
|
|
10542
|
-
|
|
10543
|
-
}
|
|
10544
|
-
else {
|
|
10545
|
-
numberTypeText = $localize `a number`;
|
|
10546
|
-
}
|
|
10568
|
+
const numberTypeText = whole
|
|
10569
|
+
? $localize `a whole number`
|
|
10570
|
+
: $localize `a number`;
|
|
10547
10571
|
if (min != null && max != null) {
|
|
10548
10572
|
if (min === max) {
|
|
10549
10573
|
return $localize `Must be ${numberTypeText} equal to ${min}`;
|
|
10550
10574
|
}
|
|
10551
|
-
|
|
10552
|
-
return $localize `Must be ${numberTypeText} between ${min} and ${max}`;
|
|
10553
|
-
}
|
|
10575
|
+
return $localize `Must be ${numberTypeText} between ${min} and ${max}`;
|
|
10554
10576
|
}
|
|
10555
|
-
|
|
10577
|
+
if (min == null && max != null) {
|
|
10556
10578
|
return $localize `Must be ${numberTypeText} not larger than ${max}`;
|
|
10557
10579
|
}
|
|
10558
|
-
|
|
10580
|
+
if (min != null && max == null) {
|
|
10559
10581
|
return $localize `Must be ${numberTypeText} not smaller than ${min}`;
|
|
10560
10582
|
}
|
|
10561
10583
|
return $localize `Must be ${numberTypeText}`;
|
|
@@ -10636,6 +10658,7 @@ class RefresherConfigurationComponent {
|
|
|
10636
10658
|
this.form.markAllAsTouched();
|
|
10637
10659
|
this.cd.detectChanges();
|
|
10638
10660
|
});
|
|
10661
|
+
// eslint-disable-next-line import/no-deprecated
|
|
10639
10662
|
combineLatest([
|
|
10640
10663
|
this.form.controls["enabled"].valueChanges,
|
|
10641
10664
|
this.form.controls["overrideDefaultSettings"].valueChanges,
|
|
@@ -10789,7 +10812,7 @@ class ThresholdsConfigurationComponent {
|
|
|
10789
10812
|
displayValue: $localize `Set custom thresholds for this widget`,
|
|
10790
10813
|
},
|
|
10791
10814
|
];
|
|
10792
|
-
this.
|
|
10815
|
+
this.destroy$ = new Subject();
|
|
10793
10816
|
}
|
|
10794
10817
|
ngOnInit() {
|
|
10795
10818
|
this.validateRadioButtonsGroupValue();
|
|
@@ -10809,7 +10832,7 @@ class ThresholdsConfigurationComponent {
|
|
|
10809
10832
|
});
|
|
10810
10833
|
this.handleWarningThreshold(this.warningThresholdValue);
|
|
10811
10834
|
this.form.statusChanges
|
|
10812
|
-
.pipe(takeUntil(this.
|
|
10835
|
+
.pipe(takeUntil(this.destroy$))
|
|
10813
10836
|
.subscribe((change) => {
|
|
10814
10837
|
this.form.markAllAsTouched();
|
|
10815
10838
|
this.cd.detectChanges();
|
|
@@ -10847,8 +10870,8 @@ class ThresholdsConfigurationComponent {
|
|
|
10847
10870
|
: $localize `No thresholds`;
|
|
10848
10871
|
}
|
|
10849
10872
|
ngOnDestroy() {
|
|
10850
|
-
this.
|
|
10851
|
-
this.
|
|
10873
|
+
this.destroy$.next();
|
|
10874
|
+
this.destroy$.complete();
|
|
10852
10875
|
}
|
|
10853
10876
|
validateRadioButtonsGroupValue() {
|
|
10854
10877
|
this.radioButtonGroupValue = this.showThresholds;
|
|
@@ -12166,14 +12189,14 @@ class TableColumnConfigurationComponent {
|
|
|
12166
12189
|
constructor(formBuilder, changeDetector) {
|
|
12167
12190
|
this.formBuilder = formBuilder;
|
|
12168
12191
|
this.changeDetector = changeDetector;
|
|
12169
|
-
this.
|
|
12192
|
+
this.destroy$ = new Subject();
|
|
12170
12193
|
this.isWidthMessageDisplayed = false;
|
|
12171
12194
|
this.form = this.formBuilder.group({
|
|
12172
12195
|
description: this.formBuilder.control({}),
|
|
12173
12196
|
presentation: this.formBuilder.control({}),
|
|
12174
12197
|
});
|
|
12175
12198
|
this.form.valueChanges
|
|
12176
|
-
.pipe(takeUntil(this.
|
|
12199
|
+
.pipe(takeUntil(this.destroy$))
|
|
12177
12200
|
.subscribe((value) => {
|
|
12178
12201
|
var _a;
|
|
12179
12202
|
const newValue = Object.assign(Object.assign({ id: (_a = this.input) === null || _a === void 0 ? void 0 : _a.id }, value.description), { formatter: value.presentation });
|
|
@@ -12202,8 +12225,8 @@ class TableColumnConfigurationComponent {
|
|
|
12202
12225
|
this.changeDetector.markForCheck();
|
|
12203
12226
|
}
|
|
12204
12227
|
ngOnDestroy() {
|
|
12205
|
-
this.
|
|
12206
|
-
this.
|
|
12228
|
+
this.destroy$.next();
|
|
12229
|
+
this.destroy$.complete();
|
|
12207
12230
|
}
|
|
12208
12231
|
}
|
|
12209
12232
|
TableColumnConfigurationComponent.lateLoadKey = "TableColumnConfigurationComponent";
|
|
@@ -12926,6 +12949,7 @@ class TableColumnsConfigurationComponent {
|
|
|
12926
12949
|
const columnsTemplate = (_a = this.pizzagnaService.pizzagna[PizzagnaLayer.Structure]
|
|
12927
12950
|
.columns.properties) === null || _a === void 0 ? void 0 : _a.template;
|
|
12928
12951
|
const presentationIndex = columnsTemplate.findIndex((val) => val.id === "presentation");
|
|
12952
|
+
// eslint-disable-next-line max-len
|
|
12929
12953
|
const presentationPizzagnaPath = `${PizzagnaLayer.Structure}.columns.properties.template[${presentationIndex}].properties.dataFields`;
|
|
12930
12954
|
formPizzagna = immutableSet(formPizzagna, presentationPizzagnaPath, dataFields);
|
|
12931
12955
|
const columns = get(this.pizzagnaService.pizzagna, `${PizzagnaLayer.Data}.columns.properties.columns`);
|
|
@@ -13419,7 +13443,9 @@ class ConfiguratorService {
|
|
|
13419
13443
|
this.router = router;
|
|
13420
13444
|
this.close$ = new Subject();
|
|
13421
13445
|
this.handleSubmit = (confSource, trySubmit) => (source) => source.pipe(this.trySubmit(trySubmit, confSource), this.updateDashboard(confSource.dashboardComponent));
|
|
13422
|
-
this.trySubmit = (trySubmit, confSource) => (source) => source.pipe(
|
|
13446
|
+
this.trySubmit = (trySubmit, confSource) => (source) => source.pipe(
|
|
13447
|
+
// eslint-disable-next-line import/no-deprecated
|
|
13448
|
+
switchMap((widget) => {
|
|
13423
13449
|
if (widget && isFunction(trySubmit)) {
|
|
13424
13450
|
return trySubmit(widget, confSource).pipe(catchError((err) => {
|
|
13425
13451
|
this.logger.error(err);
|
|
@@ -13973,7 +13999,9 @@ class WidgetEditorDirective {
|
|
|
13973
13999
|
ngOnInit() {
|
|
13974
14000
|
this.dashboardComponent.eventBus
|
|
13975
14001
|
.getStream(WIDGET_EDIT)
|
|
13976
|
-
.pipe(
|
|
14002
|
+
.pipe(
|
|
14003
|
+
// eslint-disable-next-line import/no-deprecated
|
|
14004
|
+
switchMap((event) => {
|
|
13977
14005
|
const widget = this.dashboardComponent.dashboard.widgets[event.widgetId];
|
|
13978
14006
|
const widgetType = this.widgetTypesService.getWidgetType(widget.type, widget.version);
|
|
13979
14007
|
// TODO: Ensure that widgetType is defined;
|
|
@@ -13992,7 +14020,12 @@ class WidgetEditorDirective {
|
|
|
13992
14020
|
.subscribe();
|
|
13993
14021
|
this.dashboardComponent.eventBus
|
|
13994
14022
|
.getStream(WIDGET_REMOVE)
|
|
13995
|
-
.pipe(
|
|
14023
|
+
.pipe(
|
|
14024
|
+
// eslint-disable-next-line import/no-deprecated
|
|
14025
|
+
switchMap((event) => {
|
|
14026
|
+
if (!event.widgetId) {
|
|
14027
|
+
throw new Error(`event has to have widgetId`);
|
|
14028
|
+
}
|
|
13996
14029
|
const widgetId = event.widgetId;
|
|
13997
14030
|
const tryRemove = this.dashboardPersistenceHandler &&
|
|
13998
14031
|
this.dashboardPersistenceHandler.tryRemove;
|