@nova-ui/dashboards 17.0.0 → 19.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/nova-ui-dashboards.mjs +639 -615
- package/fesm2022/nova-ui-dashboards.mjs.map +1 -1
- package/lib/components/timeseries-widget/chart-presets/timeseries-chart.component.d.ts +1 -1
- package/lib/components/timeseries-widget/types.d.ts +6 -6
- package/lib/services/registry-service.d.ts +1 -1
- package/lib/widget-types/kpi/kpi-widget.d.ts +1 -1
- package/lib/widget-types/proportional/proportional-widget.d.ts +1 -1
- package/lib/widget-types/risk-score/risk-score-widget.d.ts +1 -1
- package/lib/widget-types/timeseries/timeseries-widget.d.ts +1 -1
- package/package.json +15 -19
- package/sdk/atoms/spec/configurator/configurator-section.atom.js.map +1 -1
- package/sdk/atoms/spec/configurator/configurator.atom.js.map +1 -1
- package/sdk/atoms/spec/dashboard.atom.js.map +1 -1
- package/sdk/atoms/spec/test.po.js.map +1 -1
- package/sdk/atoms/spec/timeseries/legend-series.atom.js.map +1 -1
- package/sdk/atoms/spec/virtual-dashboards/drilldown-widget-test/drilldown-widget-test.component.js +1 -0
- package/sdk/atoms/spec/virtual-dashboards/drilldown-widget-test/drilldown-widget-test.component.js.map +1 -1
- package/sdk/atoms/src/lib/common/components/preview-overlay/preview-overlay.component.js +1 -0
- package/sdk/atoms/src/lib/common/components/preview-overlay/preview-overlay.component.js.map +1 -1
- package/sdk/atoms/src/lib/common/components/widget-error/widget-error.component.js +1 -0
- package/sdk/atoms/src/lib/common/components/widget-error/widget-error.component.js.map +1 -1
- package/sdk/atoms/src/lib/common/pipes/dashboard-unit-conversion-pipe.js +4 -1
- package/sdk/atoms/src/lib/common/pipes/dashboard-unit-conversion-pipe.js.map +1 -1
- package/sdk/atoms/src/lib/components/dashboard/dashboard.component.js +1 -0
- 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 +1 -0
- 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 +1 -0
- package/sdk/atoms/src/lib/components/kpi-widget/kpi.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/layouts/base-layout.js.map +1 -1
- package/sdk/atoms/src/lib/components/layouts/stack/stack.component.js +1 -0
- package/sdk/atoms/src/lib/components/layouts/stack/stack.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/layouts/tiles/tiles.component.js +1 -0
- package/sdk/atoms/src/lib/components/layouts/tiles/tiles.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/list-widget/list-elements/list-group-item/list-group-item.component.js +1 -0
- package/sdk/atoms/src/lib/components/list-widget/list-elements/list-group-item/list-group-item.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/list-widget/list-elements/list-leaf-item/list-leaf-item.component.js +1 -0
- 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 +1 -0
- package/sdk/atoms/src/lib/components/list-widget/list-elements/list-navigation-bar/list-navigation-bar.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/list-widget/list-widget.component.js +1 -0
- package/sdk/atoms/src/lib/components/list-widget/list-widget.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/loading/loading.component.js +1 -0
- package/sdk/atoms/src/lib/components/loading/loading.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/proportional-widget/proportional-donut-content/proportional-donut-content.component.js +1 -0
- package/sdk/atoms/src/lib/components/proportional-widget/proportional-donut-content/proportional-donut-content.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/proportional-widget/proportional-widget.component.js +1 -2
- package/sdk/atoms/src/lib/components/proportional-widget/proportional-widget.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/data-source-adapter.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/drilldown-data-source-adapter.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/interaction/interaction-handler.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/interaction/url-interaction-handler.js.map +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.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/kpi-status-content-fallback-adapter.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/loading-adapter.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/pizzagna-broadcaster.service.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/refresher.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/timeseries-data-source-adapter.js.map +1 -1
- package/sdk/atoms/src/lib/components/risk-score-tile/risk-score-tile.component.js +1 -0
- package/sdk/atoms/src/lib/components/risk-score-tile/risk-score-tile.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/table-widget/addons/paginator-feature-addon.service.js.map +1 -1
- package/sdk/atoms/src/lib/components/table-widget/addons/search-feature-addon.service.js.map +1 -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 +1 -0
- 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.js +1 -0
- package/sdk/atoms/src/lib/components/table-widget/table-widget.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/template-load-error/template-load-error.component.js +1 -0
- package/sdk/atoms/src/lib/components/template-load-error/template-load-error.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/time-frame-selection/timeframe-selection.component.js +1 -0
- package/sdk/atoms/src/lib/components/time-frame-selection/timeframe-selection.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/status-bar-chart/apply-status-endpoints.js +1 -2
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/status-bar-chart/apply-status-endpoints.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/status-bar-chart/status-bar-chart.component.js +1 -0
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/status-bar-chart/status-bar-chart.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/timeseries-chart.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/line-chart.component.js +1 -0
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/line-chart.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-area-chart.component.js +1 -0
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-area-chart.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-bar-chart.component.js +1 -0
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-bar-chart.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-percentage-area-chart.component.js +1 -0
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-percentage-area-chart.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/xy-chart.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-helpers.js +3 -3
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-helpers.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-inspection-menu/timeseries-inspection-menu.component.js +1 -0
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-inspection-menu/timeseries-inspection-menu.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-scales.service.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-widget.component.js +1 -0
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-widget.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/transformer/loess.js +1 -2
- package/sdk/atoms/src/lib/components/timeseries-widget/transformer/loess.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-change-point.js +1 -2
- package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-change-point.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-difference.js +1 -2
- package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-difference.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-floating-average.js +1 -2
- package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-floating-average.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-lin-reg.js +1 -2
- package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-lin-reg.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-loess-standardize.js +1 -2
- package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-loess-standardize.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-loess.js +1 -2
- package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-loess.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-normalize.js +1 -2
- package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-normalize.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-percentile-std.js +1 -2
- package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-percentile-std.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-standardize.js +1 -2
- package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-standardize.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/types.d.ts +6 -6
- package/sdk/atoms/src/lib/components/widget/widget-body/widget-body.component.js +1 -0
- package/sdk/atoms/src/lib/components/widget/widget-body/widget-body.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/widget/widget-body-content/widget-body-content.component.js +1 -0
- package/sdk/atoms/src/lib/components/widget/widget-body-content/widget-body-content.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/widget/widget-header/widget-header.component.js +1 -0
- package/sdk/atoms/src/lib/components/widget/widget-header/widget-header.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/widget/widget.component.js +1 -0
- package/sdk/atoms/src/lib/components/widget/widget.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/widget-search/widget-search.component.js +1 -0
- package/sdk/atoms/src/lib/components/widget-search/widget-search.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/color-picker/color-picker.component.js +1 -0
- package/sdk/atoms/src/lib/configurator/components/color-picker/color-picker.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/color-picker/color.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/configurator/configurator.component.js +1 -0
- package/sdk/atoms/src/lib/configurator/components/configurator/configurator.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/drop-area/drop-area.component.js +1 -0
- package/sdk/atoms/src/lib/configurator/components/drop-area/drop-area.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/form-stack/form-stack.component.js +1 -0
- package/sdk/atoms/src/lib/configurator/components/form-stack/form-stack.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/formatters/donut-content-percentage-formatter/donut-content-percentage-configuration.component.js +1 -0
- package/sdk/atoms/src/lib/configurator/components/formatters/donut-content-percentage-formatter/donut-content-percentage-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/formatters/donut-content-percentage-formatter/donut-content-percentage-formatter.component.js +2 -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 +1 -0
- 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 +1 -0
- 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 +1 -0
- package/sdk/atoms/src/lib/configurator/components/formatters/icon-formatter/icon-formatter.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/formatters/link-formatter/link-formatter.component.js +1 -0
- package/sdk/atoms/src/lib/configurator/components/formatters/link-formatter/link-formatter.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/formatters/percentage-formatter/percentage-formatter.component.js +1 -0
- package/sdk/atoms/src/lib/configurator/components/formatters/percentage-formatter/percentage-formatter.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/formatters/raw-formatter/raw-formatter.component.js +1 -0
- package/sdk/atoms/src/lib/configurator/components/formatters/raw-formatter/raw-formatter.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/formatters/si-units-formatter/si-units-formatter.component.js +1 -0
- 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 +1 -0
- package/sdk/atoms/src/lib/configurator/components/formatters/status-with-icon-formatter/status-with-icon-formatter.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/formatters/widget-formatter-configurators/donut-formatter-configurator.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/heading/configurator-heading.component.js +1 -0
- package/sdk/atoms/src/lib/configurator/components/heading/configurator-heading.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/items-dynamic/items-dynamic.component.js +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/preview-placeholder/preview-placeholder.component.js +1 -0
- package/sdk/atoms/src/lib/configurator/components/preview-placeholder/preview-placeholder.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widget-cloner/widget-cloner.component.js +1 -0
- package/sdk/atoms/src/lib/configurator/components/widget-cloner/widget-cloner.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widget-configurator-section/widget-configurator-section.component.js +1 -0
- package/sdk/atoms/src/lib/configurator/components/widget-configurator-section/widget-configurator-section.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widget-editor/widget-editor.component.js +1 -0
- package/sdk/atoms/src/lib/configurator/components/widget-editor/widget-editor.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widget-editor-accordion/widget-editor-accordion-header/widget-editor-accordion-header.component.js +1 -0
- package/sdk/atoms/src/lib/configurator/components/widget-editor-accordion/widget-editor-accordion-header/widget-editor-accordion-header.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widget-editor-accordion/widget-editor-accordion.component.js +1 -0
- package/sdk/atoms/src/lib/configurator/components/widget-editor-accordion/widget-editor-accordion.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/background-color-rules-configuration/background-color-rules-configuration.component.js +1 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/background-color-rules-configuration/background-color-rules-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/data-source-configuration/data-source-configuration.component.js +1 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/data-source-configuration/data-source-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/data-source-configuration-v2/data-source-configuration-v2.component.js +1 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/data-source-configuration-v2/data-source-configuration-v2.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/data-source-error/data-source-error.component.js +1 -0
- 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 +1 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/data-source-error/table/table-data-source-error.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/embedded-content-configuration/embedded-content-configuration.component.js +1 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/embedded-content-configuration/embedded-content-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/info-message-configuration/info-message-configuration.component.js +1 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/info-message-configuration/info-message-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/kpi-description-configuration/kpi-description-configuration.component.js +1 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/kpi-description-configuration/kpi-description-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/refresh-rate-configurator.component.js +1 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/refresh-rate-configurator.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/time-units.js +2 -2
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/time-units.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresher-configuration.component.js +1 -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/risk-score-tile-description-configuration/risk-score-tile-description-configuration.component.js +1 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/risk-score-tile-description-configuration/risk-score-tile-description-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/thresholds-configuration/thresholds-configuration.component.js +1 -0
- 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.js +1 -0
- 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 +1 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/title-and-description-configuration/title-and-description-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/drilldown/entity-formatting-configuration/entity-formatting-configuration.component.js +1 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/drilldown/entity-formatting-configuration/entity-formatting-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/drilldown/grouping-configuration/grouping-configuration.component.js +1 -0
- 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 +1 -0
- 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 +1 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/proportional/aggregators-configurators/aggregator-configurator/aggregator-configurator.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/proportional/aggregators-configurators/field-mapper-aggregator-configurator/field-mapper-aggregator-configurator.component.js +1 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/proportional/aggregators-configurators/field-mapper-aggregator-configurator/field-mapper-aggregator-configurator.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/proportional/chart-options-editor/proportional-chart-options-editor.component.js +1 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/proportional/chart-options-editor/proportional-chart-options-editor.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/proportional/chart-options-editor-v2/proportional-chart-options-editor-v2.component.js +1 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/proportional/chart-options-editor-v2/proportional-chart-options-editor-v2.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/proportional/donut-content-configuration/donut-content-configuration.component.js +1 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/proportional/donut-content-configuration/donut-content-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/risk-score-tiles-configuration.component.js +1 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/risk-score-tiles-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/column-configuration/description-configuration/description-configuration.component.js +1 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/column-configuration/description-configuration/description-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/formatter-configurator.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/link-configurator/link-configurator.component.js +1 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/link-configurator/link-configurator.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/value-selector/value-selector.component.js +1 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/value-selector/value-selector.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/presentation-configuration.component.js +1 -0
- 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.js +1 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/description-configuration/description-configuration-v2.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/presentation-configuration/presentation-configuration-v2.component.js +1 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/presentation-configuration/presentation-configuration-v2.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/table-column-configuration/table-column-configuration.component.js +1 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/table-column-configuration/table-column-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor-v2/table-columns-configuration-v2.component.js +1 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor-v2/table-columns-configuration-v2.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/filters-editor/table-filters-editor.component.js +1 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/table/filters-editor/table-filters-editor.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/scrollType-editor/scroll-type-editor.component.js +1 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/table/scrollType-editor/scroll-type-editor.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/timeseries/timeseries-series-collection-configuration/timeseries-series-collection-configuration.component.js +1 -0
- 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 +1 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/timeseries/timeseries-tile-description-configuration/timeseries-tile-description-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/timeseries/timeseries-tile-indicator-data-configuration/timeseries-tile-indicator-data-configuration.component.js +1 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/timeseries/timeseries-tile-indicator-data-configuration/timeseries-tile-indicator-data-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/wizard/dashwiz/dashwiz-buttons.component.js +1 -0
- package/sdk/atoms/src/lib/configurator/components/wizard/dashwiz/dashwiz-buttons.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/wizard/dashwiz/dashwiz.component.js +1 -0
- 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 +1 -0
- package/sdk/atoms/src/lib/configurator/components/wizard/dashwiz-step/dashwiz-step.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/configurator.module.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/functions/has-control-in-error-state.js +1 -2
- package/sdk/atoms/src/lib/configurator/functions/has-control-in-error-state.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/pipe/add-data.pipe.js +4 -1
- package/sdk/atoms/src/lib/configurator/pipe/add-data.pipe.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/pipe/pizzagna-root.pipe.js +1 -0
- package/sdk/atoms/src/lib/configurator/pipe/pizzagna-root.pipe.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/pipe/widget-configurator-section-header.pipe.js +1 -0
- package/sdk/atoms/src/lib/configurator/pipe/widget-configurator-section-header.pipe.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/pipe/widget-editor-accordion-form-state.pipe.js +1 -0
- package/sdk/atoms/src/lib/configurator/pipe/widget-editor-accordion-form-state.pipe.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/pipe/widget-editor-accordion-header-icon.pipe.js +1 -0
- 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.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/kpi/kpi-section-converter/kpi-section-converter.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/kpi/kpi-tiles-converter.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/shared/generic-array-converter/generic-array-converter.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/shared/generic-converter/generic-converter.service.js.map +1 -1
- 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/timeseries/timeseries-metadata-converter.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/timeseries/timeseries-series-converter.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/timeseries/timeseries-tile-indicator-data-converter.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/widget-cloner.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/widget-editor.service.js.map +1 -1
- package/sdk/atoms/src/lib/dashboards.module.js.map +1 -1
- package/sdk/atoms/src/lib/directives/gridster-item-widget-id/gridster-item-widget-id.directive.js +1 -0
- package/sdk/atoms/src/lib/directives/gridster-item-widget-id/gridster-item-widget-id.directive.js.map +1 -1
- package/sdk/atoms/src/lib/directives/widget-editor/widget-editor.directive.js +1 -0
- package/sdk/atoms/src/lib/directives/widget-editor/widget-editor.directive.js.map +1 -1
- package/sdk/atoms/src/lib/functions/get-parent-component-id.js +1 -2
- package/sdk/atoms/src/lib/functions/get-parent-component-id.js.map +1 -1
- package/sdk/atoms/src/lib/functions/map-data-to-formatter-properties.js +1 -2
- package/sdk/atoms/src/lib/functions/map-data-to-formatter-properties.js.map +1 -1
- package/sdk/atoms/src/lib/functions/merge-changes.js +1 -2
- package/sdk/atoms/src/lib/functions/merge-changes.js.map +1 -1
- package/sdk/atoms/src/lib/functions/on-mark-as-touched.js +1 -2
- package/sdk/atoms/src/lib/functions/on-mark-as-touched.js.map +1 -1
- package/sdk/atoms/src/lib/functions/parse-string-with-data.js +1 -2
- package/sdk/atoms/src/lib/functions/parse-string-with-data.js.map +1 -1
- package/sdk/atoms/src/lib/functions/proportional-aggregators/field-mapper.js.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/functions/round-array-values.js +1 -2
- package/sdk/atoms/src/lib/functions/round-array-values.js.map +1 -1
- package/sdk/atoms/src/lib/functions/timeseries-datetime-formatter.js.map +1 -1
- package/sdk/atoms/src/lib/pizzagna/components/pizzagna/pizzagna.component.js +1 -0
- package/sdk/atoms/src/lib/pizzagna/components/pizzagna/pizzagna.component.js.map +1 -1
- package/sdk/atoms/src/lib/pizzagna/directives/component-portal/component-portal.directive.js +1 -0
- package/sdk/atoms/src/lib/pizzagna/directives/component-portal/component-portal.directive.js.map +1 -1
- package/sdk/atoms/src/lib/pizzagna/functions/get-pizzagna-property-path.js +1 -2
- package/sdk/atoms/src/lib/pizzagna/functions/get-pizzagna-property-path.js.map +1 -1
- package/sdk/atoms/src/lib/pizzagna/services/component-portal.service.js.map +1 -1
- package/sdk/atoms/src/lib/pizzagna/services/component-registry.service.js.map +1 -1
- package/sdk/atoms/src/lib/pizzagna/services/pizzagna.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/category-chart-util.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/event-registry.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/provider-registry.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/registry-service.js.map +1 -1
- package/sdk/atoms/src/lib/services/url-interaction.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/widget-removal.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/widget-to-dashboard-event-proxy.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/widget-types.service.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/common/widget/components.js +2 -2
- package/sdk/atoms/src/lib/widget-types/common/widget/components.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/common/widget/providers.js +2 -2
- package/sdk/atoms/src/lib/widget-types/common/widget/providers.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/kpi/kpi-widget.d.ts +1 -1
- package/sdk/atoms/src/lib/widget-types/proportional/proportional-widget.d.ts +1 -1
- package/sdk/atoms/src/lib/widget-types/risk-score/risk-score-widget.d.ts +1 -1
- package/sdk/atoms/src/lib/widget-types/timeseries/timeseries-widget.d.ts +1 -1
- package/sdk/schematics/ng-add/index.js +1 -1
- package/sdk/schematics/ng-add/index.js.map +1 -1
- package/esm2022/lib/common/common.module.mjs +0 -41
- package/esm2022/lib/common/components/preview-overlay/preview-overlay.component.mjs +0 -35
- package/esm2022/lib/common/components/public-api.mjs +0 -22
- package/esm2022/lib/common/components/widget-error/widget-error.component.mjs +0 -54
- package/esm2022/lib/common/constants.mjs +0 -22
- package/esm2022/lib/common/pipes/dashboard-unit-conversion-pipe.mjs +0 -57
- package/esm2022/lib/common/pipes/public-api.mjs +0 -21
- package/esm2022/lib/common/public-api.mjs +0 -24
- package/esm2022/lib/components/dashboard/dashboard.component.mjs +0 -222
- package/esm2022/lib/components/dashboard/default-gridster-config.mjs +0 -78
- package/esm2022/lib/components/dashboard/public-api.mjs +0 -22
- package/esm2022/lib/components/dashboard/types.mjs +0 -21
- package/esm2022/lib/components/embedded-content/embedded-content.component.mjs +0 -95
- package/esm2022/lib/components/kpi-widget/kpi.component.mjs +0 -129
- package/esm2022/lib/components/kpi-widget/public-api.mjs +0 -22
- package/esm2022/lib/components/kpi-widget/types.mjs +0 -25
- package/esm2022/lib/components/layouts/base-layout.mjs +0 -118
- package/esm2022/lib/components/layouts/public-api.mjs +0 -23
- package/esm2022/lib/components/layouts/stack/stack.component.mjs +0 -65
- package/esm2022/lib/components/layouts/tiles/tiles.component.mjs +0 -99
- package/esm2022/lib/components/list-widget/list-elements/list-group-item/list-group-item.component.mjs +0 -62
- package/esm2022/lib/components/list-widget/list-elements/list-leaf-item/list-leaf-item.component.mjs +0 -76
- package/esm2022/lib/components/list-widget/list-elements/list-navigation-bar/list-navigation-bar.component.mjs +0 -60
- package/esm2022/lib/components/list-widget/list-widget.component.mjs +0 -109
- package/esm2022/lib/components/list-widget/public-api.mjs +0 -25
- package/esm2022/lib/components/list-widget/types.mjs +0 -21
- package/esm2022/lib/components/loading/loading.component.mjs +0 -51
- package/esm2022/lib/components/loading/public-api.mjs +0 -21
- package/esm2022/lib/components/proportional-widget/proportional-donut-content/proportional-donut-content.component.mjs +0 -152
- package/esm2022/lib/components/proportional-widget/proportional-widget.component.mjs +0 -333
- package/esm2022/lib/components/proportional-widget/public-api.mjs +0 -23
- package/esm2022/lib/components/proportional-widget/types.mjs +0 -27
- package/esm2022/lib/components/providers/data-source-adapter.mjs +0 -145
- package/esm2022/lib/components/providers/drilldown-data-source-adapter.mjs +0 -114
- package/esm2022/lib/components/providers/event-bus-debugger.mjs +0 -58
- package/esm2022/lib/components/providers/interaction/interaction-handler.mjs +0 -54
- package/esm2022/lib/components/providers/interaction/url-interaction-handler.mjs +0 -69
- package/esm2022/lib/components/providers/kpi-color-prioritizer.mjs +0 -107
- package/esm2022/lib/components/providers/kpi-data-source-adapter.mjs +0 -109
- package/esm2022/lib/components/providers/kpi-scale-sync-broker.mjs +0 -143
- package/esm2022/lib/components/providers/kpi-status-content-fallback-adapter.mjs +0 -104
- package/esm2022/lib/components/providers/loading-adapter.mjs +0 -72
- package/esm2022/lib/components/providers/pizzagna-broadcaster.service.mjs +0 -84
- package/esm2022/lib/components/providers/public-api.mjs +0 -28
- package/esm2022/lib/components/providers/refresher-settings.service.mjs +0 -52
- package/esm2022/lib/components/providers/refresher.mjs +0 -105
- package/esm2022/lib/components/providers/status-content-fallback-adapter.mjs +0 -67
- package/esm2022/lib/components/providers/table-data-source-adapter.mjs +0 -90
- package/esm2022/lib/components/providers/timeseries-data-source-adapter.mjs +0 -72
- package/esm2022/lib/components/providers/types.mjs +0 -22
- package/esm2022/lib/components/public-api.mjs +0 -37
- package/esm2022/lib/components/risk-score-tile/public-api.mjs +0 -22
- package/esm2022/lib/components/risk-score-tile/risk-score-tile.component.mjs +0 -115
- package/esm2022/lib/components/risk-score-tile/types.mjs +0 -25
- package/esm2022/lib/components/table-widget/addons/paginator-feature-addon.service.mjs +0 -116
- package/esm2022/lib/components/table-widget/addons/search-feature-addon.service.mjs +0 -101
- package/esm2022/lib/components/table-widget/addons/virtual-scroll-feature-addon.service.mjs +0 -84
- package/esm2022/lib/components/table-widget/delayed-mouse-presence-detection.directive.mjs +0 -74
- package/esm2022/lib/components/table-widget/public-api.mjs +0 -23
- package/esm2022/lib/components/table-widget/table-widget.component.mjs +0 -612
- package/esm2022/lib/components/table-widget/types.mjs +0 -26
- package/esm2022/lib/components/template-load-error/public-api.mjs +0 -21
- package/esm2022/lib/components/template-load-error/template-load-error.component.mjs +0 -38
- package/esm2022/lib/components/time-frame-selection/public-api.mjs +0 -21
- package/esm2022/lib/components/time-frame-selection/timeframe-selection.component.mjs +0 -127
- package/esm2022/lib/components/timeseries-widget/chart-presets/public-api.mjs +0 -27
- package/esm2022/lib/components/timeseries-widget/chart-presets/status-bar-chart/apply-status-endpoints.mjs +0 -73
- package/esm2022/lib/components/timeseries-widget/chart-presets/status-bar-chart/status-bar-chart.component.mjs +0 -237
- package/esm2022/lib/components/timeseries-widget/chart-presets/timeseries-chart.component.mjs +0 -175
- package/esm2022/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/line-chart.component.mjs +0 -62
- package/esm2022/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-area-chart.component.mjs +0 -68
- package/esm2022/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-bar-chart.component.mjs +0 -84
- package/esm2022/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-percentage-area-chart.component.mjs +0 -62
- package/esm2022/lib/components/timeseries-widget/chart-presets/xy-chart/xy-chart.component.mjs +0 -347
- package/esm2022/lib/components/timeseries-widget/public-api.mjs +0 -27
- package/esm2022/lib/components/timeseries-widget/timeseries-chart-preset.service.mjs +0 -57
- package/esm2022/lib/components/timeseries-widget/timeseries-helpers.mjs +0 -44
- package/esm2022/lib/components/timeseries-widget/timeseries-inspection-menu/timeseries-inspection-menu.component.mjs +0 -150
- package/esm2022/lib/components/timeseries-widget/timeseries-scales.service.mjs +0 -180
- package/esm2022/lib/components/timeseries-widget/timeseries-widget.component.mjs +0 -111
- package/esm2022/lib/components/timeseries-widget/transformer/loess.mjs +0 -220
- package/esm2022/lib/components/timeseries-widget/transformer/public-api.mjs +0 -29
- package/esm2022/lib/components/timeseries-widget/transformer/transformer-change-point.mjs +0 -104
- package/esm2022/lib/components/timeseries-widget/transformer/transformer-difference.mjs +0 -58
- package/esm2022/lib/components/timeseries-widget/transformer/transformer-floating-average.mjs +0 -41
- package/esm2022/lib/components/timeseries-widget/transformer/transformer-lin-reg.mjs +0 -66
- package/esm2022/lib/components/timeseries-widget/transformer/transformer-loess-standardize.mjs +0 -29
- package/esm2022/lib/components/timeseries-widget/transformer/transformer-loess.mjs +0 -38
- package/esm2022/lib/components/timeseries-widget/transformer/transformer-normalize.mjs +0 -47
- package/esm2022/lib/components/timeseries-widget/transformer/transformer-percentile-std.mjs +0 -58
- package/esm2022/lib/components/timeseries-widget/transformer/transformer-standardize.mjs +0 -47
- package/esm2022/lib/components/timeseries-widget/types.mjs +0 -76
- package/esm2022/lib/components/types.mjs +0 -25
- package/esm2022/lib/components/widget/public-api.mjs +0 -26
- package/esm2022/lib/components/widget/types.mjs +0 -21
- package/esm2022/lib/components/widget/widget-body/widget-body.component.mjs +0 -88
- package/esm2022/lib/components/widget/widget-body-content/widget-body-content.component.mjs +0 -75
- package/esm2022/lib/components/widget/widget-header/types.mjs +0 -21
- package/esm2022/lib/components/widget/widget-header/widget-header.component.mjs +0 -202
- package/esm2022/lib/components/widget/widget.component.mjs +0 -65
- package/esm2022/lib/components/widget-search/types.mjs +0 -21
- package/esm2022/lib/components/widget-search/widget-search.component.mjs +0 -111
- package/esm2022/lib/configurator/components/color-picker/HTMLcolors.mjs +0 -163
- package/esm2022/lib/configurator/components/color-picker/color-picker.component.mjs +0 -183
- package/esm2022/lib/configurator/components/color-picker/color.service.mjs +0 -56
- package/esm2022/lib/configurator/components/configurator/configurator.component.mjs +0 -119
- package/esm2022/lib/configurator/components/drop-area/drop-area.component.mjs +0 -30
- package/esm2022/lib/configurator/components/form-stack/form-stack.component.mjs +0 -86
- package/esm2022/lib/configurator/components/formatters/donut-content-percentage-formatter/donut-content-percentage-configuration.component.mjs +0 -43
- package/esm2022/lib/configurator/components/formatters/donut-content-percentage-formatter/donut-content-percentage-formatter.component.mjs +0 -84
- package/esm2022/lib/configurator/components/formatters/donut-content-raw-formatter/donut-content-raw-formatter.component.mjs +0 -89
- package/esm2022/lib/configurator/components/formatters/donut-content-sum-formatter/donut-content-sum-formatter.component.mjs +0 -47
- package/esm2022/lib/configurator/components/formatters/icon-formatter/icon-formatter.component.mjs +0 -85
- package/esm2022/lib/configurator/components/formatters/link-formatter/link-formatter.component.mjs +0 -61
- package/esm2022/lib/configurator/components/formatters/percentage-formatter/percentage-formatter.component.mjs +0 -35
- package/esm2022/lib/configurator/components/formatters/raw-formatter/raw-formatter.component.mjs +0 -44
- package/esm2022/lib/configurator/components/formatters/si-units-formatter/si-units-formatter.component.mjs +0 -120
- package/esm2022/lib/configurator/components/formatters/status-with-icon-formatter/status-with-icon-formatter.component.mjs +0 -105
- package/esm2022/lib/configurator/components/formatters/types.mjs +0 -21
- package/esm2022/lib/configurator/components/formatters/widget-formatter-configurators/donut-formatter-configurator.component.mjs +0 -92
- package/esm2022/lib/configurator/components/heading/configurator-heading.component.mjs +0 -49
- package/esm2022/lib/configurator/components/items-dynamic/items-dynamic.component.mjs +0 -148
- package/esm2022/lib/configurator/components/preview-placeholder/preview-placeholder.component.mjs +0 -31
- package/esm2022/lib/configurator/components/public-api.mjs +0 -46
- package/esm2022/lib/configurator/components/types.mjs +0 -21
- package/esm2022/lib/configurator/components/widget-cloner/widget-cloner.component.mjs +0 -184
- package/esm2022/lib/configurator/components/widget-configurator-section/widget-configurator-section-coordinator.service.mjs +0 -57
- package/esm2022/lib/configurator/components/widget-configurator-section/widget-configurator-section.component.mjs +0 -83
- package/esm2022/lib/configurator/components/widget-editor/widget-editor.component.mjs +0 -146
- package/esm2022/lib/configurator/components/widget-editor-accordion/widget-editor-accordion-header/widget-editor-accordion-header.component.mjs +0 -25
- package/esm2022/lib/configurator/components/widget-editor-accordion/widget-editor-accordion.component.mjs +0 -73
- package/esm2022/lib/configurator/components/widgets/configurator-items/background-color-rules-configuration/background-color-rules-configuration.component.mjs +0 -122
- package/esm2022/lib/configurator/components/widgets/configurator-items/data-source-configuration/data-source-configuration.component.mjs +0 -153
- package/esm2022/lib/configurator/components/widgets/configurator-items/data-source-configuration-v2/data-source-configuration-v2.component.mjs +0 -198
- package/esm2022/lib/configurator/components/widgets/configurator-items/data-source-error/data-source-error.component.mjs +0 -74
- package/esm2022/lib/configurator/components/widgets/configurator-items/data-source-error/public-api.mjs +0 -22
- package/esm2022/lib/configurator/components/widgets/configurator-items/data-source-error/table/table-data-source-error.component.mjs +0 -41
- package/esm2022/lib/configurator/components/widgets/configurator-items/embedded-content-configuration/embedded-content-configuration.component.mjs +0 -133
- package/esm2022/lib/configurator/components/widgets/configurator-items/info-message-configuration/info-message-configuration.component.mjs +0 -44
- package/esm2022/lib/configurator/components/widgets/configurator-items/kpi-description-configuration/kpi-description-configuration.component.mjs +0 -107
- package/esm2022/lib/configurator/components/widgets/configurator-items/public-api.mjs +0 -31
- package/esm2022/lib/configurator/components/widgets/configurator-items/refresher-configuration/public-api.mjs +0 -22
- package/esm2022/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/refresh-rate-configurator.component.mjs +0 -237
- package/esm2022/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/time-units.mjs +0 -44
- package/esm2022/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/types.mjs +0 -21
- package/esm2022/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresher-configuration.component.mjs +0 -170
- package/esm2022/lib/configurator/components/widgets/configurator-items/risk-score-tile-description-configuration/risk-score-tile-description-configuration.component.mjs +0 -106
- package/esm2022/lib/configurator/components/widgets/configurator-items/thresholds-configuration/thresholds-configuration.component.mjs +0 -140
- package/esm2022/lib/configurator/components/widgets/configurator-items/thresholds-configuration/thresholds-validator.mjs +0 -56
- package/esm2022/lib/configurator/components/widgets/configurator-items/timeseries-metadata-configuration/timeseries-metadata-configuration.component.mjs +0 -151
- package/esm2022/lib/configurator/components/widgets/configurator-items/title-and-description-configuration/title-and-description-configuration.component.mjs +0 -91
- package/esm2022/lib/configurator/components/widgets/drilldown/entity-formatting-configuration/entity-formatting-configuration.component.mjs +0 -68
- package/esm2022/lib/configurator/components/widgets/drilldown/grouping-configuration/grouping-configuration.component.mjs +0 -154
- package/esm2022/lib/configurator/components/widgets/drilldown/public-api.mjs +0 -22
- package/esm2022/lib/configurator/components/widgets/kpi/kpi-tiles-configuration/kpi-tiles-configuration.component.mjs +0 -92
- package/esm2022/lib/configurator/components/widgets/kpi/kpi-tiles-configuration/public-api.mjs +0 -21
- package/esm2022/lib/configurator/components/widgets/kpi/public-api.mjs +0 -22
- package/esm2022/lib/configurator/components/widgets/kpi/types.mjs +0 -33
- package/esm2022/lib/configurator/components/widgets/proportional/aggregators-configurators/aggregator-configurator/aggregator-configurator.component.mjs +0 -72
- package/esm2022/lib/configurator/components/widgets/proportional/aggregators-configurators/field-mapper-aggregator-configurator/field-mapper-aggregator-configurator.component.mjs +0 -87
- package/esm2022/lib/configurator/components/widgets/proportional/chart-options-editor/proportional-chart-options-editor.component.mjs +0 -166
- package/esm2022/lib/configurator/components/widgets/proportional/chart-options-editor-v2/proportional-chart-options-editor-v2.component.mjs +0 -108
- package/esm2022/lib/configurator/components/widgets/proportional/donut-content-configuration/donut-content-configuration.component.mjs +0 -167
- package/esm2022/lib/configurator/components/widgets/proportional/public-api.mjs +0 -25
- package/esm2022/lib/configurator/components/widgets/public-api.mjs +0 -27
- package/esm2022/lib/configurator/components/widgets/risk-score/public-api.mjs +0 -22
- package/esm2022/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/public-api.mjs +0 -21
- package/esm2022/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/risk-score-tiles-configuration.component.mjs +0 -92
- package/esm2022/lib/configurator/components/widgets/risk-score/types.mjs +0 -21
- package/esm2022/lib/configurator/components/widgets/table/columns-editor/column-configuration/description-configuration/description-configuration.component.mjs +0 -80
- package/esm2022/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/formatter-configurator.component.mjs +0 -117
- package/esm2022/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/link-configurator/link-configurator.component.mjs +0 -53
- package/esm2022/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/value-selector/value-selector.component.mjs +0 -43
- package/esm2022/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/presentation-configuration.component.mjs +0 -259
- package/esm2022/lib/configurator/components/widgets/table/columns-editor/table-columns-configuration.component.mjs +0 -264
- package/esm2022/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/description-configuration/description-configuration-v2.component.mjs +0 -123
- package/esm2022/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/presentation-configuration/presentation-configuration-v2.component.mjs +0 -309
- package/esm2022/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/table-column-configuration/table-column-configuration.component.mjs +0 -109
- package/esm2022/lib/configurator/components/widgets/table/columns-editor-v2/table-columns-configuration-v2.component.mjs +0 -250
- package/esm2022/lib/configurator/components/widgets/table/filters-editor/table-filters-editor.component.mjs +0 -122
- package/esm2022/lib/configurator/components/widgets/table/public-api.mjs +0 -32
- package/esm2022/lib/configurator/components/widgets/table/scrollType-editor/scroll-type-editor.component.mjs +0 -190
- package/esm2022/lib/configurator/components/widgets/table/scrollType-editor/scroll-type-editor.service.mjs +0 -39
- package/esm2022/lib/configurator/components/widgets/timeseries/public-api.mjs +0 -25
- package/esm2022/lib/configurator/components/widgets/timeseries/timeseries-series-collection-configuration/timeseries-series-collection-configuration.component.mjs +0 -111
- package/esm2022/lib/configurator/components/widgets/timeseries/timeseries-tile-description-configuration/timeseries-tile-description-configuration.component.mjs +0 -68
- package/esm2022/lib/configurator/components/widgets/timeseries/timeseries-tile-indicator-data-configuration/timeseries-tile-indicator-data-configuration.component.mjs +0 -107
- package/esm2022/lib/configurator/components/widgets/timeseries/types.mjs +0 -21
- package/esm2022/lib/configurator/components/wizard/dashwiz/dashwiz-buttons.component.mjs +0 -174
- package/esm2022/lib/configurator/components/wizard/dashwiz/dashwiz.component.mjs +0 -354
- package/esm2022/lib/configurator/components/wizard/dashwiz/dashwiz.service.mjs +0 -33
- package/esm2022/lib/configurator/components/wizard/dashwiz/model.mjs +0 -21
- package/esm2022/lib/configurator/components/wizard/dashwiz/public-api.mjs +0 -23
- package/esm2022/lib/configurator/components/wizard/dashwiz-step/dashwiz-step.component.mjs +0 -131
- package/esm2022/lib/configurator/components/wizard/dashwiz-step/public-api.mjs +0 -21
- package/esm2022/lib/configurator/components/wizard/public-api.mjs +0 -23
- package/esm2022/lib/configurator/components/wizard/types.mjs +0 -21
- package/esm2022/lib/configurator/configurator.module.mjs +0 -443
- package/esm2022/lib/configurator/functions/has-control-in-error-state.mjs +0 -56
- package/esm2022/lib/configurator/functions/public-api.mjs +0 -21
- package/esm2022/lib/configurator/pipe/add-data.pipe.mjs +0 -47
- package/esm2022/lib/configurator/pipe/pizzagna-root.pipe.mjs +0 -45
- package/esm2022/lib/configurator/pipe/public-api.mjs +0 -25
- package/esm2022/lib/configurator/pipe/widget-configurator-section-header.pipe.mjs +0 -38
- package/esm2022/lib/configurator/pipe/widget-editor-accordion-form-state.pipe.mjs +0 -50
- package/esm2022/lib/configurator/pipe/widget-editor-accordion-header-icon.pipe.mjs +0 -48
- package/esm2022/lib/configurator/public-api.mjs +0 -26
- package/esm2022/lib/configurator/services/configurator-data-source-manager.service.mjs +0 -89
- package/esm2022/lib/configurator/services/configurator-heading.service.mjs +0 -33
- package/esm2022/lib/configurator/services/configurator.service.mjs +0 -149
- package/esm2022/lib/configurator/services/converters/base-converter.mjs +0 -71
- package/esm2022/lib/configurator/services/converters/kpi/kpi-section-converter/kpi-section-converter.service.mjs +0 -86
- package/esm2022/lib/configurator/services/converters/kpi/kpi-tiles-converter.service.mjs +0 -107
- package/esm2022/lib/configurator/services/converters/proportional/proportional-widget-chart-options-converter.service.mjs +0 -68
- package/esm2022/lib/configurator/services/converters/public-api.mjs +0 -26
- package/esm2022/lib/configurator/services/converters/shared/generic-array-converter/generic-array-converter.service.mjs +0 -81
- package/esm2022/lib/configurator/services/converters/shared/generic-converter/generic-converter.service.mjs +0 -81
- package/esm2022/lib/configurator/services/converters/shared/title-and-description-converter/title-and-description-converter.service.mjs +0 -64
- package/esm2022/lib/configurator/services/converters/table/table-columns-converter.service.mjs +0 -183
- package/esm2022/lib/configurator/services/converters/table/table-filters-converter.service.mjs +0 -65
- package/esm2022/lib/configurator/services/converters/table/table-scroll-type-converter.service.mjs +0 -68
- package/esm2022/lib/configurator/services/converters/timeseries/timeseries-metadata-converter.service.mjs +0 -85
- package/esm2022/lib/configurator/services/converters/timeseries/timeseries-series-converter.service.mjs +0 -172
- package/esm2022/lib/configurator/services/converters/timeseries/timeseries-tile-indicator-data-converter.service.mjs +0 -75
- package/esm2022/lib/configurator/services/converters/types.mjs +0 -22
- package/esm2022/lib/configurator/services/kpi-widget-color.service.mjs +0 -42
- package/esm2022/lib/configurator/services/preview.service.mjs +0 -40
- package/esm2022/lib/configurator/services/public-api.mjs +0 -29
- package/esm2022/lib/configurator/services/timeframe-serialization.service.mjs +0 -49
- package/esm2022/lib/configurator/services/types.mjs +0 -21
- package/esm2022/lib/configurator/services/widget-cloner.service.mjs +0 -56
- package/esm2022/lib/configurator/services/widget-editor.service.mjs +0 -65
- package/esm2022/lib/configurator/types.mjs +0 -26
- package/esm2022/lib/constants/default-palette.mjs +0 -82
- package/esm2022/lib/constants/public-api.mjs +0 -21
- package/esm2022/lib/constants/si-units-prefixes.mjs +0 -114
- package/esm2022/lib/dashboards.module.mjs +0 -335
- package/esm2022/lib/directives/gridster-item-widget-id/gridster-item-widget-id.directive.mjs +0 -52
- package/esm2022/lib/directives/public-api.mjs +0 -22
- package/esm2022/lib/directives/widget-editor/public-api.mjs +0 -21
- package/esm2022/lib/directives/widget-editor/widget-editor.directive.mjs +0 -104
- package/esm2022/lib/functions/get-parent-component-id.mjs +0 -30
- package/esm2022/lib/functions/map-data-to-formatter-properties.mjs +0 -44
- package/esm2022/lib/functions/merge-changes.mjs +0 -110
- package/esm2022/lib/functions/on-mark-as-touched.mjs +0 -35
- package/esm2022/lib/functions/parse-string-with-data.mjs +0 -44
- package/esm2022/lib/functions/proportional-aggregators/field-mapper.mjs +0 -33
- package/esm2022/lib/functions/proportional-aggregators/percentage-aggregator.mjs +0 -44
- package/esm2022/lib/functions/proportional-aggregators/public-api.mjs +0 -24
- package/esm2022/lib/functions/proportional-aggregators/sum-aggregator.mjs +0 -35
- package/esm2022/lib/functions/proportional-aggregators/types.mjs +0 -21
- package/esm2022/lib/functions/public-api.mjs +0 -24
- package/esm2022/lib/functions/round-array-values.mjs +0 -32
- package/esm2022/lib/functions/timeseries-datetime-formatter.mjs +0 -40
- package/esm2022/lib/pizzagna/components/pizzagna/pizzagna.component.mjs +0 -134
- package/esm2022/lib/pizzagna/components/pizzagna/public-api.mjs +0 -21
- package/esm2022/lib/pizzagna/directives/component-portal/component-portal.directive.mjs +0 -306
- package/esm2022/lib/pizzagna/directives/component-portal/public-api.mjs +0 -21
- package/esm2022/lib/pizzagna/functions/get-pizzagna-property-path.mjs +0 -41
- package/esm2022/lib/pizzagna/functions/public-api.mjs +0 -21
- package/esm2022/lib/pizzagna/pizzagna.module.mjs +0 -39
- package/esm2022/lib/pizzagna/public-api.mjs +0 -26
- package/esm2022/lib/pizzagna/services/component-portal.service.mjs +0 -65
- package/esm2022/lib/pizzagna/services/component-registry.service.mjs +0 -54
- package/esm2022/lib/pizzagna/services/dynamic-component-creator.service.mjs +0 -63
- package/esm2022/lib/pizzagna/services/pizzagna.service.mjs +0 -133
- package/esm2022/lib/pizzagna/services/public-api.mjs +0 -24
- package/esm2022/lib/services/category-chart-util.service.mjs +0 -126
- package/esm2022/lib/services/event-registry.service.mjs +0 -48
- package/esm2022/lib/services/kpi-color-comparators-registry.service.mjs +0 -68
- package/esm2022/lib/services/proportional-content-aggregators-registry.service.mjs +0 -39
- package/esm2022/lib/services/provider-registry.service.mjs +0 -294
- package/esm2022/lib/services/public-api.mjs +0 -31
- package/esm2022/lib/services/registry-service.mjs +0 -83
- package/esm2022/lib/services/table-formatter-registry.service.mjs +0 -98
- package/esm2022/lib/services/types.mjs +0 -81
- package/esm2022/lib/services/unit-test-registry.service.mjs +0 -41
- package/esm2022/lib/services/url-interaction.service.mjs +0 -52
- package/esm2022/lib/services/widget-configuration.service.mjs +0 -35
- package/esm2022/lib/services/widget-removal.service.mjs +0 -60
- package/esm2022/lib/services/widget-to-dashboard-event-proxy.service.mjs +0 -151
- package/esm2022/lib/services/widget-types.service.mjs +0 -88
- package/esm2022/lib/types.mjs +0 -77
- package/esm2022/lib/widget-types/common/configurator/components.mjs +0 -51
- package/esm2022/lib/widget-types/common/configurator/public-api.mjs +0 -21
- package/esm2022/lib/widget-types/common/public-api.mjs +0 -22
- package/esm2022/lib/widget-types/common/widget/components.mjs +0 -133
- package/esm2022/lib/widget-types/common/widget/legend.mjs +0 -26
- package/esm2022/lib/widget-types/common/widget/providers.mjs +0 -44
- package/esm2022/lib/widget-types/common/widget/public-api.mjs +0 -24
- package/esm2022/lib/widget-types/common/widget/types.mjs +0 -29
- package/esm2022/lib/widget-types/drilldown/drilldown-configurator.mjs +0 -148
- package/esm2022/lib/widget-types/drilldown/drilldown-widget.mjs +0 -95
- package/esm2022/lib/widget-types/drilldown/drilldown.mjs +0 -50
- package/esm2022/lib/widget-types/embedded-content/embedded-content-configurator.mjs +0 -110
- package/esm2022/lib/widget-types/embedded-content/embedded-content-widget.mjs +0 -73
- package/esm2022/lib/widget-types/embedded-content/embedded-content.mjs +0 -48
- package/esm2022/lib/widget-types/kpi/kpi-configurator.mjs +0 -271
- package/esm2022/lib/widget-types/kpi/kpi-widget.mjs +0 -105
- package/esm2022/lib/widget-types/kpi/kpi.mjs +0 -61
- package/esm2022/lib/widget-types/preview-placeholder.mjs +0 -59
- package/esm2022/lib/widget-types/proportional/donut-content-configurator-slice.mjs +0 -133
- package/esm2022/lib/widget-types/proportional/proportional-configurator.mjs +0 -281
- package/esm2022/lib/widget-types/proportional/proportional-widget.mjs +0 -91
- package/esm2022/lib/widget-types/proportional/proportional.mjs +0 -54
- package/esm2022/lib/widget-types/public-api.mjs +0 -24
- package/esm2022/lib/widget-types/risk-score/risk-score-configurator.mjs +0 -201
- package/esm2022/lib/widget-types/risk-score/risk-score-widget.mjs +0 -101
- package/esm2022/lib/widget-types/risk-score/risk-score.mjs +0 -56
- package/esm2022/lib/widget-types/table/default-table-formatters.mjs +0 -49
- package/esm2022/lib/widget-types/table/table-configurator.mjs +0 -158
- package/esm2022/lib/widget-types/table/table-widget.mjs +0 -111
- package/esm2022/lib/widget-types/table/table.mjs +0 -39
- package/esm2022/lib/widget-types/timeseries/timeseries-configurator.mjs +0 -183
- package/esm2022/lib/widget-types/timeseries/timeseries-widget.mjs +0 -122
- package/esm2022/lib/widget-types/timeseries/timeseries.mjs +0 -52
- package/esm2022/nova-ui-dashboards.mjs +0 -5
- package/esm2022/public-api.mjs +0 -31
- package/sdk/locale/messages.en.xlf +0 -2764
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
2
|
-
//
|
|
3
|
-
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4
|
-
// of this software and associated documentation files (the "Software"), to
|
|
5
|
-
// deal in the Software without restriction, including without limitation the
|
|
6
|
-
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
7
|
-
// sell copies of the Software, and to permit persons to whom the Software is
|
|
8
|
-
// furnished to do so, subject to the following conditions:
|
|
9
|
-
//
|
|
10
|
-
// The above copyright notice and this permission notice shall be included in
|
|
11
|
-
// all copies or substantial portions of the Software.
|
|
12
|
-
//
|
|
13
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
14
|
-
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
15
|
-
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
16
|
-
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17
|
-
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
18
|
-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
19
|
-
// THE SOFTWARE.
|
|
20
|
-
import { ChangeDetectorRef, Component, ElementRef, HostBinding, Input, NgZone, ViewChild, } from "@angular/core";
|
|
21
|
-
import { LoggerService } from "@nova-ui/bits";
|
|
22
|
-
import { PizzagnaService } from "../../../pizzagna/services/pizzagna.service";
|
|
23
|
-
import { BaseLayout } from "../base-layout";
|
|
24
|
-
import * as i0 from "@angular/core";
|
|
25
|
-
import * as i1 from "../../../pizzagna/services/pizzagna.service";
|
|
26
|
-
import * as i2 from "@nova-ui/bits";
|
|
27
|
-
import * as i3 from "@angular/common";
|
|
28
|
-
import * as i4 from "@angular/cdk/portal";
|
|
29
|
-
import * as i5 from "../../../pizzagna/directives/component-portal/component-portal.directive";
|
|
30
|
-
export class TilesComponent extends BaseLayout {
|
|
31
|
-
static { this.lateLoadKey = "TilesComponent"; }
|
|
32
|
-
constructor(changeDetector, pizzagnaService, logger, ngZone) {
|
|
33
|
-
super(changeDetector, pizzagnaService, logger);
|
|
34
|
-
this.ngZone = ngZone;
|
|
35
|
-
this.nodes = [];
|
|
36
|
-
this.direction = "column";
|
|
37
|
-
this.prioritizeGridRows = false;
|
|
38
|
-
}
|
|
39
|
-
ngAfterViewInit() {
|
|
40
|
-
this.handleGridFlowOnResize();
|
|
41
|
-
}
|
|
42
|
-
ngOnDestroy() {
|
|
43
|
-
this.tilesResizeObserver?.disconnect();
|
|
44
|
-
// Ensures that any base class observables are unsubscribed.
|
|
45
|
-
super.ngOnDestroy();
|
|
46
|
-
}
|
|
47
|
-
getNodes() {
|
|
48
|
-
return this.nodes;
|
|
49
|
-
}
|
|
50
|
-
handleGridFlowOnResize() {
|
|
51
|
-
this.tilesResizeObserver = new ResizeObserver(() => this.onResize());
|
|
52
|
-
this.ngZone.runOutsideAngular(() => {
|
|
53
|
-
this.tilesResizeObserver.observe(this.gridItemsContainer.nativeElement);
|
|
54
|
-
});
|
|
55
|
-
}
|
|
56
|
-
onResize() {
|
|
57
|
-
if (this.nodes?.length < 2) {
|
|
58
|
-
return;
|
|
59
|
-
}
|
|
60
|
-
const cssAttributes = this.gridItemsContainer.nativeElement.getBoundingClientRect();
|
|
61
|
-
const { height, width } = cssAttributes;
|
|
62
|
-
const h2WRatio = height / width;
|
|
63
|
-
const allowedH2WRatio = getHeightToWidthRatioFor(this.nodes.length);
|
|
64
|
-
const gap = 0.05; // height/width gap used in transitions to avoid widget lagging
|
|
65
|
-
if (h2WRatio - gap > allowedH2WRatio && !this.prioritizeGridRows) {
|
|
66
|
-
this.prioritizeGridRows = true;
|
|
67
|
-
this.changeDetector.detectChanges();
|
|
68
|
-
return;
|
|
69
|
-
}
|
|
70
|
-
if (h2WRatio + gap < allowedH2WRatio && this.prioritizeGridRows) {
|
|
71
|
-
this.prioritizeGridRows = false;
|
|
72
|
-
this.changeDetector.detectChanges();
|
|
73
|
-
return;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TilesComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.PizzagnaService }, { token: i2.LoggerService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
77
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: TilesComponent, selector: "nui-tiles", inputs: { nodes: "nodes", direction: "direction" }, host: { properties: { "class": "this.elementClass" } }, viewQueries: [{ propertyName: "gridItemsContainer", first: true, predicate: ["gridItemsContainer"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<div\n #gridItemsContainer\n class=\"nui-grid-layout\"\n [ngClass]=\"{ 'prioritize-rows': prioritizeGridRows }\"\n>\n <ng-container *ngFor=\"let node of nodeConfigs; trackBy: trackByFn\">\n <ng-container\n nuiComponentPortal\n #componentPortal=\"nuiComponentPortal\"\n [componentId]=\"node.id\"\n [componentType]=\"node.componentType\"\n [properties]=\"node.properties\"\n [providers]=\"node.providers\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n </ng-container>\n <div *ngIf=\"nodeConfigs.length === 0\" class=\"is-empty\">\n <nui-image image=\"no-data-to-show\"></nui-image>\n </div>\n</div>\n", styles: [".nui-grid-layout{display:grid;height:100%;gap:10px;grid-template-columns:repeat(auto-fit,minmax(94.8px,1fr));grid-template-rows:repeat(auto-fit,minmax(15px,1fr));line-height:1.2}.nui-grid-layout.prioritize-rows{grid-auto-flow:column;grid-template-columns:minmax(1px,1fr)}:host-context(.mobile){min-height:160px}.is-empty{display:grid;place-content:center;height:100%}\n"], dependencies: [{ kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.ImageComponent, selector: "nui-image", inputs: ["image", "description", "float", "margin", "isWatermark", "width", "height", "autoFill"] }, { kind: "directive", type: i4.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { kind: "directive", type: i5.ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }] }); }
|
|
78
|
-
}
|
|
79
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TilesComponent, decorators: [{
|
|
80
|
-
type: Component,
|
|
81
|
-
args: [{ selector: "nui-tiles", template: "<div\n #gridItemsContainer\n class=\"nui-grid-layout\"\n [ngClass]=\"{ 'prioritize-rows': prioritizeGridRows }\"\n>\n <ng-container *ngFor=\"let node of nodeConfigs; trackBy: trackByFn\">\n <ng-container\n nuiComponentPortal\n #componentPortal=\"nuiComponentPortal\"\n [componentId]=\"node.id\"\n [componentType]=\"node.componentType\"\n [properties]=\"node.properties\"\n [providers]=\"node.providers\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n </ng-container>\n <div *ngIf=\"nodeConfigs.length === 0\" class=\"is-empty\">\n <nui-image image=\"no-data-to-show\"></nui-image>\n </div>\n</div>\n", styles: [".nui-grid-layout{display:grid;height:100%;gap:10px;grid-template-columns:repeat(auto-fit,minmax(94.8px,1fr));grid-template-rows:repeat(auto-fit,minmax(15px,1fr));line-height:1.2}.nui-grid-layout.prioritize-rows{grid-auto-flow:column;grid-template-columns:minmax(1px,1fr)}:host-context(.mobile){min-height:160px}.is-empty{display:grid;place-content:center;height:100%}\n"] }]
|
|
82
|
-
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i1.PizzagnaService }, { type: i2.LoggerService }, { type: i0.NgZone }], propDecorators: { nodes: [{
|
|
83
|
-
type: Input
|
|
84
|
-
}], direction: [{
|
|
85
|
-
type: Input
|
|
86
|
-
}], elementClass: [{
|
|
87
|
-
type: HostBinding,
|
|
88
|
-
args: ["class"]
|
|
89
|
-
}], gridItemsContainer: [{
|
|
90
|
-
type: ViewChild,
|
|
91
|
-
args: ["gridItemsContainer", { static: true }]
|
|
92
|
-
}] } });
|
|
93
|
-
/**
|
|
94
|
-
* Height to Width container ratio varies per tiles amount.
|
|
95
|
-
* Experimentally was determined valid h/w ratio for 2...8 tiles and
|
|
96
|
-
* This function represents the linear dependency (approximately).
|
|
97
|
-
*/
|
|
98
|
-
const getHeightToWidthRatioFor = (tilesAmount) => 0.25 * tilesAmount + 0.7;
|
|
99
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGlsZXMuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2xpYi9jb21wb25lbnRzL2xheW91dHMvdGlsZXMvdGlsZXMuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2xpYi9jb21wb25lbnRzL2xheW91dHMvdGlsZXMvdGlsZXMuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEseURBQXlEO0FBQ3pELEVBQUU7QUFDRiwrRUFBK0U7QUFDL0UsNEVBQTRFO0FBQzVFLDhFQUE4RTtBQUM5RSwrRUFBK0U7QUFDL0UsOEVBQThFO0FBQzlFLDREQUE0RDtBQUM1RCxFQUFFO0FBQ0YsNkVBQTZFO0FBQzdFLHVEQUF1RDtBQUN2RCxFQUFFO0FBQ0YsNkVBQTZFO0FBQzdFLDRFQUE0RTtBQUM1RSwrRUFBK0U7QUFDL0UsMEVBQTBFO0FBQzFFLGlGQUFpRjtBQUNqRiw2RUFBNkU7QUFDN0UsaUJBQWlCO0FBRWpCLE9BQU8sRUFFSCxpQkFBaUIsRUFDakIsU0FBUyxFQUNULFVBQVUsRUFDVixXQUFXLEVBQ1gsS0FBSyxFQUNMLE1BQU0sRUFFTixTQUFTLEdBQ1osTUFBTSxlQUFlLENBQUM7QUFFdkIsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUU5QyxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sNkNBQTZDLENBQUM7QUFDOUUsT0FBTyxFQUFFLFVBQVUsRUFBRS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ICAgICAgICBbY29tcG9uZW50VHlwZV09XCJub2RlLmNvbXBvbmVudFR5cGVcIlxuICAgICAgICAgICAgW3Byb3BlcnRpZXNdPVwibm9kZS5wcm9wZXJ0aWVzXCJcbiAgICAgICAgICAgIFtwcm92aWRlcnNdPVwibm9kZS5wcm92aWRlcnNcIlxuICAgICAgICA+XG4gICAgICAgICAgICA8bmctdGVtcGxhdGVcbiAgICAgICAgICAgICAgICBbY2RrUG9ydGFsT3V0bGV0XT1cImNvbXBvbmVudFBvcnRhbC5wb3J0YWxcIlxuICAgICAgICAgICAgICAgIChhdHRhY2hlZCk9XCJjb21wb25lbnRQb3J0YWwuYXR0YWNoZWQoJGV2ZW50KVwiXG4gICAgICAgICAgICA+PC9uZy10ZW1wbGF0ZT5cbiAgICAgICAgPC9uZy1jb250YWluZXI+XG4gICAgPC9uZy1jb250YWluZXI+XG4gICAgPGRpdiAqbmdJZj1cIm5vZGVDb25maWdzLmxlbmd0aCA9PT0gMFwiIGNsYXNzPVwiaXMtZW1wdHlcIj5cbiAgICAgICAgPG51aS1pbWFnZSBpbWFnZT1cIm5vLWRhdGEtdG8tc2hvd1wiPjwvbnVpLWltYWdlPlxuICAgIDwvZGl2PlxuPC9kaXY+XG4iXX0=
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
2
|
-
//
|
|
3
|
-
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4
|
-
// of this software and associated documentation files (the "Software"), to
|
|
5
|
-
// deal in the Software without restriction, including without limitation the
|
|
6
|
-
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
7
|
-
// sell copies of the Software, and to permit persons to whom the Software is
|
|
8
|
-
// furnished to do so, subject to the following conditions:
|
|
9
|
-
//
|
|
10
|
-
// The above copyright notice and this permission notice shall be included in
|
|
11
|
-
// all copies or substantial portions of the Software.
|
|
12
|
-
//
|
|
13
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
14
|
-
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
15
|
-
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
16
|
-
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17
|
-
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
18
|
-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
19
|
-
// THE SOFTWARE.
|
|
20
|
-
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, EventEmitter, Input, Output, } from "@angular/core";
|
|
21
|
-
import * as i0 from "@angular/core";
|
|
22
|
-
import * as i1 from "@angular/common";
|
|
23
|
-
import * as i2 from "@nova-ui/bits";
|
|
24
|
-
const MEDIUM_WIDTH = 600;
|
|
25
|
-
const SMALL_WIDTH = 480;
|
|
26
|
-
export class ListGroupItemComponent {
|
|
27
|
-
static { this.lateLoadKey = "ListGroupItemComponent"; }
|
|
28
|
-
set widgetWidth(res) {
|
|
29
|
-
this.isMedium = res <= MEDIUM_WIDTH && res > SMALL_WIDTH;
|
|
30
|
-
this.isSmall = res <= SMALL_WIDTH;
|
|
31
|
-
}
|
|
32
|
-
constructor(changeDetector) {
|
|
33
|
-
this.changeDetector = changeDetector;
|
|
34
|
-
this.navigated = new EventEmitter();
|
|
35
|
-
}
|
|
36
|
-
onButtonClick() {
|
|
37
|
-
if (this.canNavigate) {
|
|
38
|
-
this.navigated.emit(this);
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ListGroupItemComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
42
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: ListGroupItemComponent, selector: "nui-list-group-item", inputs: { id: "id", label: "label", statuses: "statuses", canNavigate: "canNavigate", widgetWidth: "widgetWidth" }, outputs: { navigated: "navigated" }, host: { classAttribute: "w-100" }, ngImport: i0, template: "<div\n class=\"list-group-item\"\n [ngClass]=\"{ 'widget-medium': isMedium, 'widget-small': isSmall }\"\n (click)=\"onButtonClick()\"\n>\n <div class=\"list-group-item__label\" [title]=\"label\">{{ label }}</div>\n <div class=\"list-group-item__statuses\">\n <div class=\"statuses\">\n <div class=\"status-column\" *ngFor=\"let status of statuses\">\n <nui-icon [icon]=\"status.key\" class=\"mr-2\"></nui-icon>\n <span class=\"status-column__label\" [title]=\"status.value\">{{\n status.value\n }}</span>\n </div>\n </div>\n <nui-icon *ngIf=\"canNavigate\" icon=\"caret-right\"></nui-icon>\n </div>\n</div>\n", styles: [".list-group-item{width:100%;display:flex;justify-content:center;align-items:center;flex-wrap:wrap}.list-group-item__label{width:25%;max-width:100%;white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;-o-text-overflow:ellipsis;text-overflow:ellipsis}.list-group-item__statuses{width:75%;display:flex;align-items:center}.list-group-item .status-column{display:flex;width:75px;min-width:75px;max-width:100%;justify-content:flex-start;align-items:center;padding-right:10px}.list-group-item .status-column__label{margin-left:5px;white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;-o-text-overflow:ellipsis;text-overflow:ellipsis}.list-group-item .statuses{display:flex;flex-grow:1;justify-content:flex-end}.widget-medium{justify-content:flex-end}.widget-medium .list-group-item__label,.widget-medium .list-group-item__statuses{width:100%!important}.widget-small{justify-content:flex-end}.widget-small .list-group-item__label,.widget-small .list-group-item__statuses{width:100%!important}.widget-small .statuses{justify-content:space-between}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.IconComponent, selector: "nui-icon", inputs: ["iconColor", "brushType", "iconHoverColor", "iconSize", "cssClass", "fillContainer", "status", "childStatus", "icon", "counter"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
43
|
-
}
|
|
44
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ListGroupItemComponent, decorators: [{
|
|
45
|
-
type: Component,
|
|
46
|
-
args: [{ selector: "nui-list-group-item", changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
47
|
-
class: "w-100",
|
|
48
|
-
}, template: "<div\n class=\"list-group-item\"\n [ngClass]=\"{ 'widget-medium': isMedium, 'widget-small': isSmall }\"\n (click)=\"onButtonClick()\"\n>\n <div class=\"list-group-item__label\" [title]=\"label\">{{ label }}</div>\n <div class=\"list-group-item__statuses\">\n <div class=\"statuses\">\n <div class=\"status-column\" *ngFor=\"let status of statuses\">\n <nui-icon [icon]=\"status.key\" class=\"mr-2\"></nui-icon>\n <span class=\"status-column__label\" [title]=\"status.value\">{{\n status.value\n }}</span>\n </div>\n </div>\n <nui-icon *ngIf=\"canNavigate\" icon=\"caret-right\"></nui-icon>\n </div>\n</div>\n", styles: [".list-group-item{width:100%;display:flex;justify-content:center;align-items:center;flex-wrap:wrap}.list-group-item__label{width:25%;max-width:100%;white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;-o-text-overflow:ellipsis;text-overflow:ellipsis}.list-group-item__statuses{width:75%;display:flex;align-items:center}.list-group-item .status-column{display:flex;width:75px;min-width:75px;max-width:100%;justify-content:flex-start;align-items:center;padding-right:10px}.list-group-item .status-column__label{margin-left:5px;white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;-o-text-overflow:ellipsis;text-overflow:ellipsis}.list-group-item .statuses{display:flex;flex-grow:1;justify-content:flex-end}.widget-medium{justify-content:flex-end}.widget-medium .list-group-item__label,.widget-medium .list-group-item__statuses{width:100%!important}.widget-small{justify-content:flex-end}.widget-small .list-group-item__label,.widget-small .list-group-item__statuses{width:100%!important}.widget-small .statuses{justify-content:space-between}\n"] }]
|
|
49
|
-
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { id: [{
|
|
50
|
-
type: Input
|
|
51
|
-
}], label: [{
|
|
52
|
-
type: Input
|
|
53
|
-
}], statuses: [{
|
|
54
|
-
type: Input
|
|
55
|
-
}], canNavigate: [{
|
|
56
|
-
type: Input
|
|
57
|
-
}], widgetWidth: [{
|
|
58
|
-
type: Input
|
|
59
|
-
}], navigated: [{
|
|
60
|
-
type: Output
|
|
61
|
-
}] } });
|
|
62
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGlzdC1ncm91cC1pdGVtLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9saWIvY29tcG9uZW50cy9saXN0LXdpZGdldC9saXN0LWVsZW1lbnRzL2xpc3QtZ3JvdXAtaXRlbS9saXN0LWdyb3VwLWl0ZW0uY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2xpYi9jb21wb25lbnRzL2xpc3Qtd2lkZ2V0L2xpc3QtZWxlbWVudHMvbGlzdC1ncm91cC1pdGVtL2xpc3QtZ3JvdXAtaXRlbS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSx5REFBeUQ7QUFDekQsRUFBRTtBQUNGLCtFQUErRTtBQUMvRSw0RUFBNEU7QUFDNUUsOEVBQThFO0FBQzlFLCtFQUErRTtBQUMvRSw4R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AgICAgICAgICA8c3BhbiBjbGFzcz1cInN0YXR1cy1jb2x1bW5fX2xhYmVsXCIgW3RpdGxlXT1cInN0YXR1cy52YWx1ZVwiPnt7XG4gICAgICAgICAgICAgICAgICAgIHN0YXR1cy52YWx1ZVxuICAgICAgICAgICAgICAgIH19PC9zcGFuPlxuICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgIDwvZGl2PlxuICAgICAgICA8bnVpLWljb24gKm5nSWY9XCJjYW5OYXZpZ2F0ZVwiIGljb249XCJjYXJldC1yaWdodFwiPjwvbnVpLWljb24+XG4gICAgPC9kaXY+XG48L2Rpdj5cbiJdfQ==
|
package/esm2022/lib/components/list-widget/list-elements/list-leaf-item/list-leaf-item.component.mjs
DELETED
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
2
|
-
//
|
|
3
|
-
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4
|
-
// of this software and associated documentation files (the "Software"), to
|
|
5
|
-
// deal in the Software without restriction, including without limitation the
|
|
6
|
-
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
7
|
-
// sell copies of the Software, and to permit persons to whom the Software is
|
|
8
|
-
// furnished to do so, subject to the following conditions:
|
|
9
|
-
//
|
|
10
|
-
// The above copyright notice and this permission notice shall be included in
|
|
11
|
-
// all copies or substantial portions of the Software.
|
|
12
|
-
//
|
|
13
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
14
|
-
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
15
|
-
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
16
|
-
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17
|
-
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
18
|
-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
19
|
-
// THE SOFTWARE.
|
|
20
|
-
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, EventEmitter, Inject, Input, Output, } from "@angular/core";
|
|
21
|
-
import { Subject } from "rxjs";
|
|
22
|
-
import { takeUntil } from "rxjs/operators";
|
|
23
|
-
import { EventBus } from "@nova-ui/bits";
|
|
24
|
-
import { WIDGET_SEARCH } from "../../../../services/types";
|
|
25
|
-
import { PIZZAGNA_EVENT_BUS } from "../../../../types";
|
|
26
|
-
import * as i0 from "@angular/core";
|
|
27
|
-
import * as i1 from "@angular/common";
|
|
28
|
-
import * as i2 from "@nova-ui/bits";
|
|
29
|
-
export class ListLeafItemComponent {
|
|
30
|
-
static { this.lateLoadKey = "ListLeafItemComponent"; }
|
|
31
|
-
onButtonClick() {
|
|
32
|
-
if (this.canNavigate) {
|
|
33
|
-
this.navigated.emit(this);
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
constructor(changeDetector, eventBus) {
|
|
37
|
-
this.changeDetector = changeDetector;
|
|
38
|
-
this.eventBus = eventBus;
|
|
39
|
-
this.navigated = new EventEmitter();
|
|
40
|
-
this.searchTerm = "";
|
|
41
|
-
this.destroy$ = new Subject();
|
|
42
|
-
}
|
|
43
|
-
ngOnInit() {
|
|
44
|
-
this.eventBus
|
|
45
|
-
.getStream(WIDGET_SEARCH)
|
|
46
|
-
.pipe(takeUntil(this.destroy$))
|
|
47
|
-
.subscribe((event) => {
|
|
48
|
-
this.searchTerm = event.payload ?? "";
|
|
49
|
-
this.changeDetector.markForCheck();
|
|
50
|
-
});
|
|
51
|
-
}
|
|
52
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ListLeafItemComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: PIZZAGNA_EVENT_BUS }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
53
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: ListLeafItemComponent, selector: "nui-list-leaf-item", inputs: { icon: "icon", status: "status", detailedUrl: "detailedUrl", label: "label", canNavigate: "canNavigate", url: "url" }, outputs: { navigated: "navigated" }, host: { classAttribute: "w-100" }, ngImport: i0, template: "<div class=\"nui-list-leaf-item\" (click)=\"onButtonClick()\">\n <div class=\"nui-list-leaf-item__info-container\">\n <div class=\"nui-list-leaf-item__icon-container\">\n <nui-icon\n *ngIf=\"icon; else statusTpl\"\n [icon]=\"icon\"\n [status]=\"status\"\n class=\"mr-1\"\n ></nui-icon>\n </div>\n <div class=\"nui-list-leaf-item__description\">\n <a\n class=\"nui-text-ellipsis\"\n [ngClass]=\"url ? '' : 'not-active'\"\n [attr.target]=\"url ? '_blank' : null\"\n [attr.href]=\"url || null\"\n [innerHTML]=\"label | nuiHighlight : searchTerm\"\n ></a>\n <div\n class=\"nui-text-secondary nui-text-ellipsis\"\n [innerHTML]=\"detailedUrl | nuiHighlight : searchTerm\"\n ></div>\n </div>\n\n <ng-template #statusTpl>{{ status }}</ng-template>\n </div>\n <nui-icon *ngIf=\"canNavigate\" icon=\"caret-right\"></nui-icon>\n</div>\n", styles: [".nui-list-leaf-item{width:100%;display:flex;justify-content:space-between;align-items:center;padding:5px 0}.nui-list-leaf-item__info-container{display:flex;height:40px}.nui-list-leaf-item__icon-container{display:flex;justify-content:center;align-items:center;min-width:30px}.nui-list-leaf-item__description{display:grid;grid-template-rows:1fr 1fr;grid-template-columns:1fr;max-width:100%}a.not-active{text-decoration:none;color:#111}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.IconComponent, selector: "nui-icon", inputs: ["iconColor", "brushType", "iconHoverColor", "iconSize", "cssClass", "fillContainer", "status", "childStatus", "icon", "counter"] }, { kind: "pipe", type: i2.HighlightPipe, name: "nuiHighlight" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
54
|
-
}
|
|
55
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ListLeafItemComponent, decorators: [{
|
|
56
|
-
type: Component,
|
|
57
|
-
args: [{ selector: "nui-list-leaf-item", changeDetection: ChangeDetectionStrategy.OnPush, host: { class: "w-100" }, template: "<div class=\"nui-list-leaf-item\" (click)=\"onButtonClick()\">\n <div class=\"nui-list-leaf-item__info-container\">\n <div class=\"nui-list-leaf-item__icon-container\">\n <nui-icon\n *ngIf=\"icon; else statusTpl\"\n [icon]=\"icon\"\n [status]=\"status\"\n class=\"mr-1\"\n ></nui-icon>\n </div>\n <div class=\"nui-list-leaf-item__description\">\n <a\n class=\"nui-text-ellipsis\"\n [ngClass]=\"url ? '' : 'not-active'\"\n [attr.target]=\"url ? '_blank' : null\"\n [attr.href]=\"url || null\"\n [innerHTML]=\"label | nuiHighlight : searchTerm\"\n ></a>\n <div\n class=\"nui-text-secondary nui-text-ellipsis\"\n [innerHTML]=\"detailedUrl | nuiHighlight : searchTerm\"\n ></div>\n </div>\n\n <ng-template #statusTpl>{{ status }}</ng-template>\n </div>\n <nui-icon *ngIf=\"canNavigate\" icon=\"caret-right\"></nui-icon>\n</div>\n", styles: [".nui-list-leaf-item{width:100%;display:flex;justify-content:space-between;align-items:center;padding:5px 0}.nui-list-leaf-item__info-container{display:flex;height:40px}.nui-list-leaf-item__icon-container{display:flex;justify-content:center;align-items:center;min-width:30px}.nui-list-leaf-item__description{display:grid;grid-template-rows:1fr 1fr;grid-template-columns:1fr;max-width:100%}a.not-active{text-decoration:none;color:#111}\n"] }]
|
|
58
|
-
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i2.EventBus, decorators: [{
|
|
59
|
-
type: Inject,
|
|
60
|
-
args: [PIZZAGNA_EVENT_BUS]
|
|
61
|
-
}] }], propDecorators: { icon: [{
|
|
62
|
-
type: Input
|
|
63
|
-
}], status: [{
|
|
64
|
-
type: Input
|
|
65
|
-
}], detailedUrl: [{
|
|
66
|
-
type: Input
|
|
67
|
-
}], label: [{
|
|
68
|
-
type: Input
|
|
69
|
-
}], canNavigate: [{
|
|
70
|
-
type: Input
|
|
71
|
-
}], url: [{
|
|
72
|
-
type: Input
|
|
73
|
-
}], navigated: [{
|
|
74
|
-
type: Output
|
|
75
|
-
}] } });
|
|
76
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGlzdC1sZWFmLWl0ZW0uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2xpYi9jb21wb25lbnRzL2xpc3Qtd2lkZ2V0L2xpc3QtZWxlbWVudHMvbGlzdC1sZWFmLWl0ZW0vbGlzdC1sZWFmLWl0ZW0uY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2xpYi9jb21wb25lbnRzL2xpc3Qtd2lkZ2V0L2xpc3QtZWxlbWVudHMvbGlzdC1sZWFmLWl0ZW0vbGlzdC1sZWFmLWl0ZW0uY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEseURBQXlEO0FBQ3pELEVBQUU7QUFDRiwrRUFBK0U7QUFDL0UsNEVBQTRFO0FBQzVFLDhFQUE4RTtBQUM5RSwrRUFBK0U7QUFDL0UsOEVBQThFO0FBQzlFLDREQUE0RDtBQUM1RCxFQUFFO0FBQ0YsNkVBQTZFO0FBQzdFLHVEQUF1RDtBQUN2RCxFQUFFO0FBQ0YsNkVBQTZFO0FBQzdFLDRFQUE0RTtBQUM1RSwrRUFBK0U7QUFDL0UsMEV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AgICBASW5qZWN0KFBJWlpBR05BX0VWRU5UX0JVUykgcHVibGljIGV2ZW50QnVzOiBFdmVudEJ1czxJRXZlbnQ+XG4gICAgKSB7fVxuXG4gICAgcHVibGljIG5nT25Jbml0KCk6IHZvaWQge1xuICAgICAgICB0aGlzLmV2ZW50QnVzXG4gICAgICAgICAgICAuZ2V0U3RyZWFtKFdJREdFVF9TRUFSQ0gpXG4gICAgICAgICAgICAucGlwZSh0YWtlVW50aWwodGhpcy5kZXN0cm95JCkpXG4gICAgICAgICAgICAuc3Vic2NyaWJlKChldmVudCkgPT4ge1xuICAgICAgICAgICAgICAgIHRoaXMuc2VhcmNoVGVybSA9IGV2ZW50LnBheWxvYWQgPz8gXCJcIjtcbiAgICAgICAgICAgICAgICB0aGlzLmNoYW5nZURldGVjdG9yLm1hcmtGb3JDaGVjaygpO1xuICAgICAgICAgICAgfSk7XG4gICAgfVxufVxuIiwiPGRpdiBjbGFzcz1cIm51aS1saXN0LWxlYWYtaXRlbVwiIChjbGljayk9XCJvbkJ1dHRvbkNsaWNrKClcIj5cbiAgICA8ZGl2IGNsYXNzPVwibnVpLWxpc3QtbGVhZi1pdGVtX19pbmZvLWNvbnRhaW5lclwiPlxuICAgICAgICA8ZGl2IGNsYXNzPVwibnVpLWxpc3QtbGVhZi1pdGVtX19pY29uLWNvbnRhaW5lclwiPlxuICAgICAgICAgICAgPG51aS1pY29uXG4gICAgICAgICAgICAgICAgKm5nSWY9XCJpY29uOyBlbHNlIHN0YXR1c1RwbFwiXG4gICAgICAgICAgICAgICAgW2ljb25dPVwiaWNvblwiXG4gICAgICAgICAgICAgICAgW3N0YXR1c109XCJzdGF0dXNcIlxuICAgICAgICAgICAgICAgIGNsYXNzPVwibXItMVwiXG4gICAgICAgICAgICA+PC9udWktaWNvbj5cbiAgICAgICAgPC9kaXY+XG4gICAgICAgIDxkaXYgY2xhc3M9XCJudWktbGlzdC1sZWFmLWl0ZW1fX2Rlc2NyaXB0aW9uXCI+XG4gICAgICAgICAgICA8YVxuICAgICAgICAgICAgICAgIGNsYXNzPVwibnVpLXRleHQtZWxsaXBzaXNcIlxuICAgICAgICAgICAgICAgIFtuZ0NsYXNzXT1cInVybCA/ICcnIDogJ25vdC1hY3RpdmUnXCJcbiAgICAgICAgICAgICAgICBbYXR0ci50YXJnZXRdPVwidXJsID8gJ19ibGFuaycgOiBudWxsXCJcbiAgICAgICAgICAgICAgICBbYXR0ci5ocmVmXT1cInVybCB8fCBudWxsXCJcbiAgICAgICAgICAgICAgICBbaW5uZXJIVE1MXT1cImxhYmVsIHwgbnVpSGlnaGxpZ2h0IDogc2VhcmNoVGVybVwiXG4gICAgICAgICAgICA+PC9hPlxuICAgICAgICAgICAgPGRpdlxuICAgICAgICAgICAgICAgIGNsYXNzPVwibnVpLXRleHQtc2Vjb25kYXJ5IG51aS10ZXh0LWVsbGlwc2lzXCJcbiAgICAgICAgICAgICAgICBbaW5uZXJIVE1MXT1cImRldGFpbGVkVXJsIHwgbnVpSGlnaGxpZ2h0IDogc2VhcmNoVGVybVwiXG4gICAgICAgICAgICA+PC9kaXY+XG4gICAgICAgIDwvZGl2PlxuXG4gICAgICAgIDxuZy10ZW1wbGF0ZSAjc3RhdHVzVHBsPnt7IHN0YXR1cyB9fTwvbmctdGVtcGxhdGU+XG4gICAgPC9kaXY+XG4gICAgPG51aS1pY29uICpuZ0lmPVwiY2FuTmF2aWdhdGVcIiBpY29uPVwiY2FyZXQtcmlnaHRcIj48L251aS1pY29uPlxuPC9kaXY+XG4iXX0=
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
2
|
-
//
|
|
3
|
-
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4
|
-
// of this software and associated documentation files (the "Software"), to
|
|
5
|
-
// deal in the Software without restriction, including without limitation the
|
|
6
|
-
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
7
|
-
// sell copies of the Software, and to permit persons to whom the Software is
|
|
8
|
-
// furnished to do so, subject to the following conditions:
|
|
9
|
-
//
|
|
10
|
-
// The above copyright notice and this permission notice shall be included in
|
|
11
|
-
// all copies or substantial portions of the Software.
|
|
12
|
-
//
|
|
13
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
14
|
-
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
15
|
-
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
16
|
-
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17
|
-
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
18
|
-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
19
|
-
// THE SOFTWARE.
|
|
20
|
-
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, EventEmitter, Inject, Input, Output, } from "@angular/core";
|
|
21
|
-
import { EventBus } from "@nova-ui/bits";
|
|
22
|
-
import { DRILLDOWN } from "../../../../services/types";
|
|
23
|
-
import { PIZZAGNA_EVENT_BUS } from "../../../../types";
|
|
24
|
-
import * as i0 from "@angular/core";
|
|
25
|
-
import * as i1 from "@angular/common";
|
|
26
|
-
import * as i2 from "@nova-ui/bits";
|
|
27
|
-
export class ListNavigationBarComponent {
|
|
28
|
-
static { this.lateLoadKey = "ListNavigationBarComponent"; }
|
|
29
|
-
constructor(changeDetector, eventBus) {
|
|
30
|
-
this.changeDetector = changeDetector;
|
|
31
|
-
this.eventBus = eventBus;
|
|
32
|
-
this.navigated = new EventEmitter();
|
|
33
|
-
}
|
|
34
|
-
onBack() {
|
|
35
|
-
if (this.navBarConfig) {
|
|
36
|
-
this.eventBus.getStream(DRILLDOWN).next({
|
|
37
|
-
payload: {
|
|
38
|
-
back: this.navBarConfig?.buttons?.back?.disabled,
|
|
39
|
-
},
|
|
40
|
-
});
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
onHome() {
|
|
44
|
-
this.eventBus.getStream(DRILLDOWN).next({ payload: { reset: true } });
|
|
45
|
-
}
|
|
46
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ListNavigationBarComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: PIZZAGNA_EVENT_BUS }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
47
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: ListNavigationBarComponent, selector: "nui-navigation-bar", inputs: { navBarConfig: "navBarConfig" }, outputs: { navigated: "navigated" }, ngImport: i0, template: "<div class=\"list-nav-bar\" *ngIf=\"navBarConfig && !navBarConfig?.isRoot\">\n <button\n nui-button\n type=\"button\"\n [isRepeat]=\"true\"\n displayStyle=\"action\"\n icon=\"arrow-left\"\n [disabled]=\"!navBarConfig?.buttons?.back?.disabled\"\n (click)=\"onBack()\"\n ></button>\n\n <button\n nui-button\n type=\"button\"\n [isRepeat]=\"true\"\n displayStyle=\"action\"\n icon=\"overview\"\n (click)=\"onHome()\"\n ></button>\n <div class=\"list-nav-bar__label\">{{ navBarConfig?.label }}</div>\n</div>\n", styles: [".list-nav-bar{width:100%;margin:2px 0;padding:0 15px;display:flex;align-items:center}.list-nav-bar__label{padding-left:5px;color:#1119}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.ButtonComponent, selector: "[nui-button]", inputs: ["displayStyle", "icon", "iconColor", "iconRight", "isBusy", "isEmpty", "ariaLabel", "isRepeat", "size"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
48
|
-
}
|
|
49
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ListNavigationBarComponent, decorators: [{
|
|
50
|
-
type: Component,
|
|
51
|
-
args: [{ selector: "nui-navigation-bar", changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"list-nav-bar\" *ngIf=\"navBarConfig && !navBarConfig?.isRoot\">\n <button\n nui-button\n type=\"button\"\n [isRepeat]=\"true\"\n displayStyle=\"action\"\n icon=\"arrow-left\"\n [disabled]=\"!navBarConfig?.buttons?.back?.disabled\"\n (click)=\"onBack()\"\n ></button>\n\n <button\n nui-button\n type=\"button\"\n [isRepeat]=\"true\"\n displayStyle=\"action\"\n icon=\"overview\"\n (click)=\"onHome()\"\n ></button>\n <div class=\"list-nav-bar__label\">{{ navBarConfig?.label }}</div>\n</div>\n", styles: [".list-nav-bar{width:100%;margin:2px 0;padding:0 15px;display:flex;align-items:center}.list-nav-bar__label{padding-left:5px;color:#1119}\n"] }]
|
|
52
|
-
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i2.EventBus, decorators: [{
|
|
53
|
-
type: Inject,
|
|
54
|
-
args: [PIZZAGNA_EVENT_BUS]
|
|
55
|
-
}] }], propDecorators: { navBarConfig: [{
|
|
56
|
-
type: Input
|
|
57
|
-
}], navigated: [{
|
|
58
|
-
type: Output
|
|
59
|
-
}] } });
|
|
60
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGlzdC1uYXZpZ2F0aW9uLWJhci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGliL2NvbXBvbmVudHMvbGlzdC13aWRnZXQvbGlzdC1lbGVtZW50cy9saXN0LW5hdmlnYXRpb24tYmFyL2xpc3QtbmF2aWdhdGlvbi1iYXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2xpYi9j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gPGJ1dHRvblxuICAgICAgICBudWktYnV0dG9uXG4gICAgICAgIHR5cGU9XCJidXR0b25cIlxuICAgICAgICBbaXNSZXBlYXRdPVwidHJ1ZVwiXG4gICAgICAgIGRpc3BsYXlTdHlsZT1cImFjdGlvblwiXG4gICAgICAgIGljb249XCJhcnJvdy1sZWZ0XCJcbiAgICAgICAgW2Rpc2FibGVkXT1cIiFuYXZCYXJDb25maWc/LmJ1dHRvbnM/LmJhY2s/LmRpc2FibGVkXCJcbiAgICAgICAgKGNsaWNrKT1cIm9uQmFjaygpXCJcbiAgICA+PC9idXR0b24+XG5cbiAgICA8YnV0dG9uXG4gICAgICAgIG51aS1idXR0b25cbiAgICAgICAgdHlwZT1cImJ1dHRvblwiXG4gICAgICAgIFtpc1JlcGVhdF09XCJ0cnVlXCJcbiAgICAgICAgZGlzcGxheVN0eWxlPVwiYWN0aW9uXCJcbiAgICAgICAgaWNvbj1cIm92ZXJ2aWV3XCJcbiAgICAgICAgKGNsaWNrKT1cIm9uSG9tZSgpXCJcbiAgICA+PC9idXR0b24+XG4gICAgPGRpdiBjbGFzcz1cImxpc3QtbmF2LWJhcl9fbGFiZWxcIj57eyBuYXZCYXJDb25maWc/LmxhYmVsIH19PC9kaXY+XG48L2Rpdj5cbiJdfQ==
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
2
|
-
//
|
|
3
|
-
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4
|
-
// of this software and associated documentation files (the "Software"), to
|
|
5
|
-
// deal in the Software without restriction, including without limitation the
|
|
6
|
-
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
7
|
-
// sell copies of the Software, and to permit persons to whom the Software is
|
|
8
|
-
// furnished to do so, subject to the following conditions:
|
|
9
|
-
//
|
|
10
|
-
// The above copyright notice and this permission notice shall be included in
|
|
11
|
-
// all copies or substantial portions of the Software.
|
|
12
|
-
//
|
|
13
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
14
|
-
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
15
|
-
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
16
|
-
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17
|
-
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
18
|
-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
19
|
-
// THE SOFTWARE.
|
|
20
|
-
import { ChangeDetectorRef, Component, ElementRef, HostBinding, Inject, Input, NgZone, } from "@angular/core";
|
|
21
|
-
import { Subject } from "rxjs";
|
|
22
|
-
import { takeUntil } from "rxjs/operators";
|
|
23
|
-
import { EventBus, ResizeObserverDirective } from "@nova-ui/bits";
|
|
24
|
-
import { mapDataToFormatterProperties } from "../../functions/map-data-to-formatter-properties";
|
|
25
|
-
import { DRILLDOWN } from "../../services/types";
|
|
26
|
-
import { PIZZAGNA_EVENT_BUS } from "../../types";
|
|
27
|
-
import * as i0 from "@angular/core";
|
|
28
|
-
import * as i1 from "@angular/common";
|
|
29
|
-
import * as i2 from "@nova-ui/bits";
|
|
30
|
-
import * as i3 from "@angular/cdk/portal";
|
|
31
|
-
import * as i4 from "../../pizzagna/directives/component-portal/component-portal.directive";
|
|
32
|
-
const RESIZE_DEBOUNCE_TIME = 10;
|
|
33
|
-
export class ListWidgetComponent {
|
|
34
|
-
static { this.lateLoadKey = "ListWidgetComponent"; }
|
|
35
|
-
constructor(changeDetector, zone, host, eventBus) {
|
|
36
|
-
this.changeDetector = changeDetector;
|
|
37
|
-
this.zone = zone;
|
|
38
|
-
this.host = host;
|
|
39
|
-
this.eventBus = eventBus;
|
|
40
|
-
this.itemFormatterProps = new Map();
|
|
41
|
-
this.destroy$ = new Subject();
|
|
42
|
-
}
|
|
43
|
-
ngOnInit() {
|
|
44
|
-
this.initResizeObserver();
|
|
45
|
-
}
|
|
46
|
-
ngOnChanges(changes) {
|
|
47
|
-
if (changes.data?.currentValue) {
|
|
48
|
-
changes.data.currentValue.forEach((v) => this.itemFormatterProps.set(v, this.calcItemProps(v)));
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
// TODO: think of how to get rid of this logic on listWidget
|
|
52
|
-
// since it's very specific for drilldown and appstack
|
|
53
|
-
onListItemEvent(item) {
|
|
54
|
-
this.eventBus.getStream(DRILLDOWN).next({ payload: item });
|
|
55
|
-
}
|
|
56
|
-
ngOnDestroy() {
|
|
57
|
-
this.destroy$.next();
|
|
58
|
-
this.destroy$.complete();
|
|
59
|
-
this.itemFormatterProps.clear();
|
|
60
|
-
}
|
|
61
|
-
getPropsFor(item) {
|
|
62
|
-
return {
|
|
63
|
-
...this.itemFormatterProps.get(item),
|
|
64
|
-
widgetWidth: this.widgetWidth,
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
|
-
shouldDisplayRepeat() {
|
|
68
|
-
return this.data?.length > 0;
|
|
69
|
-
}
|
|
70
|
-
calcItemProps(item) {
|
|
71
|
-
if (!this.configuration) {
|
|
72
|
-
return item;
|
|
73
|
-
}
|
|
74
|
-
return {
|
|
75
|
-
...mapDataToFormatterProperties(this.configuration, item),
|
|
76
|
-
...this.configuration.itemProperties,
|
|
77
|
-
};
|
|
78
|
-
}
|
|
79
|
-
// think of using eventBus to let widget entities know about it's width. - mb some formatters for widget doesn't care about it's width.
|
|
80
|
-
initResizeObserver() {
|
|
81
|
-
const resizeDirective = new ResizeObserverDirective(this.host, this.zone);
|
|
82
|
-
resizeDirective.debounceTime = RESIZE_DEBOUNCE_TIME;
|
|
83
|
-
resizeDirective.ngAfterViewInit();
|
|
84
|
-
resizeDirective.containerResize
|
|
85
|
-
.pipe(takeUntil(this.destroy$))
|
|
86
|
-
.subscribe(() => {
|
|
87
|
-
this.widgetWidth = this.host.nativeElement.offsetWidth;
|
|
88
|
-
});
|
|
89
|
-
}
|
|
90
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ListWidgetComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i0.ElementRef }, { token: PIZZAGNA_EVENT_BUS }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
91
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: ListWidgetComponent, selector: "nui-list-widget", inputs: { data: "data", configuration: "configuration", elementClass: "elementClass" }, host: { properties: { "class": "this.elementClass" } }, usesOnChanges: true, ngImport: i0, template: "<nui-repeat\n *ngIf=\"shouldDisplayRepeat()\"\n [itemsSource]=\"data\"\n [repeatItemTemplateRef]=\"repeatItemTemplate\"\n>\n</nui-repeat>\n\n<div class=\"empty\" *ngIf=\"!shouldDisplayRepeat()\">\n <nui-image image=\"no-data-to-show\"></nui-image>\n</div>\n\n<ng-template #repeatItemTemplate let-item=\"item\">\n <div class=\"empty\" *ngIf=\"!item\">\n <nui-image image=\"no-data-to-show\"></nui-image>\n </div>\n <ng-container\n nuiComponentPortal\n #componentPortal=\"nuiComponentPortal\"\n [componentId]=\"configuration.componentType\"\n [componentType]=\"configuration.componentType\"\n [properties]=\"getPropsFor(item)\"\n [outputs]=\"['navigated']\"\n (output)=\"onListItemEvent(item)\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n</ng-template>\n", styles: [":host{height:100%;overflow:auto}.empty{height:100%;display:grid;place-content:center}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.ImageComponent, selector: "nui-image", inputs: ["image", "description", "float", "margin", "isWatermark", "width", "height", "autoFill"] }, { kind: "directive", type: i3.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { kind: "directive", type: i4.ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { kind: "component", type: i2.RepeatComponent, selector: "nui-repeat", inputs: ["draggable", "reorderable", "preventRowClick", "repeatItemTemplateRef", "dragHandleTemplateRef", "dragPreviewClass", "dragPreviewTemplateRef", "actionsTemplateRef", "selectionMode", "paddingSize", "virtualScroll", "itemSize", "selection", "itemConfig", "itemsSource", "highlightSelectedItem"], outputs: ["draggableChange", "reorderableChange", "itemsReordered", "selectionChange"] }] }); }
|
|
92
|
-
}
|
|
93
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ListWidgetComponent, decorators: [{
|
|
94
|
-
type: Component,
|
|
95
|
-
args: [{ selector: "nui-list-widget", template: "<nui-repeat\n *ngIf=\"shouldDisplayRepeat()\"\n [itemsSource]=\"data\"\n [repeatItemTemplateRef]=\"repeatItemTemplate\"\n>\n</nui-repeat>\n\n<div class=\"empty\" *ngIf=\"!shouldDisplayRepeat()\">\n <nui-image image=\"no-data-to-show\"></nui-image>\n</div>\n\n<ng-template #repeatItemTemplate let-item=\"item\">\n <div class=\"empty\" *ngIf=\"!item\">\n <nui-image image=\"no-data-to-show\"></nui-image>\n </div>\n <ng-container\n nuiComponentPortal\n #componentPortal=\"nuiComponentPortal\"\n [componentId]=\"configuration.componentType\"\n [componentType]=\"configuration.componentType\"\n [properties]=\"getPropsFor(item)\"\n [outputs]=\"['navigated']\"\n (output)=\"onListItemEvent(item)\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n</ng-template>\n", styles: [":host{height:100%;overflow:auto}.empty{height:100%;display:grid;place-content:center}\n"] }]
|
|
96
|
-
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i0.ElementRef }, { type: i2.EventBus, decorators: [{
|
|
97
|
-
type: Inject,
|
|
98
|
-
args: [PIZZAGNA_EVENT_BUS]
|
|
99
|
-
}] }], propDecorators: { data: [{
|
|
100
|
-
type: Input
|
|
101
|
-
}], configuration: [{
|
|
102
|
-
type: Input
|
|
103
|
-
}], elementClass: [{
|
|
104
|
-
type: Input
|
|
105
|
-
}, {
|
|
106
|
-
type: HostBinding,
|
|
107
|
-
args: ["class"]
|
|
108
|
-
}] } });
|
|
109
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGlzdC13aWRnZXQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL2xpYi9jb21wb25lbnRzL2xpc3Qtd2lkZ2V0L2xpc3Qtd2lkZ2V0LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3NyYy9saWIvY29tcG9uZW50cy9saXN0LXdpZGdldC9saXN0LXdpZGdldC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSx5REFBeUQ7QUFDekQsRUFBRTtBQUNGLCtFQUErRTtBQUMvRSw0RUFBNEU7QUFDNUUsOEVBQThFO0FBQzlFLCtFQUErRTtBQUMvRSw4RUFBOEU7QUFDOUUsNERBQTREO0FBQzVELEVBQUU7QUFDRiw2RUFBNkU7QUFDN0UsdURBQXVEO0FBQ3ZELEVBQUU7QUFDRiw2RUFBNkU7QUFDN0UsNEVBQTRFO0FBQzVFLCtFQUErRTtBQUMvRSwwRUFBMEU7QUFDMUUsaUZBQWlGO0FBQ2pGLDZFQUE2RTtBQUM3RSxpQkFB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W1cIj5cbiAgICA8ZGl2IGNsYXNzPVwiZW1wdHlcIiAqbmdJZj1cIiFpdGVtXCI+XG4gICAgICAgIDxudWktaW1hZ2UgaW1hZ2U9XCJuby1kYXRhLXRvLXNob3dcIj48L251aS1pbWFnZT5cbiAgICA8L2Rpdj5cbiAgICA8bmctY29udGFpbmVyXG4gICAgICAgIG51aUNvbXBvbmVudFBvcnRhbFxuICAgICAgICAjY29tcG9uZW50UG9ydGFsPVwibnVpQ29tcG9uZW50UG9ydGFsXCJcbiAgICAgICAgW2NvbXBvbmVudElkXT1cImNvbmZpZ3VyYXRpb24uY29tcG9uZW50VHlwZVwiXG4gICAgICAgIFtjb21wb25lbnRUeXBlXT1cImNvbmZpZ3VyYXRpb24uY29tcG9uZW50VHlwZVwiXG4gICAgICAgIFtwcm9wZXJ0aWVzXT1cImdldFByb3BzRm9yKGl0ZW0pXCJcbiAgICAgICAgW291dHB1dHNdPVwiWyduYXZpZ2F0ZWQnXVwiXG4gICAgICAgIChvdXRwdXQpPVwib25MaXN0SXRlbUV2ZW50KGl0ZW0pXCJcbiAgICA+XG4gICAgICAgIDxuZy10ZW1wbGF0ZVxuICAgICAgICAgICAgW2Nka1BvcnRhbE91dGxldF09XCJjb21wb25lbnRQb3J0YWwucG9ydGFsXCJcbiAgICAgICAgICAgIChhdHRhY2hlZCk9XCJjb21wb25lbnRQb3J0YWwuYXR0YWNoZWQoJGV2ZW50KVwiXG4gICAgICAgID48L25nLXRlbXBsYXRlPlxuICAgIDwvbmctY29udGFpbmVyPlxuPC9uZy10ZW1wbGF0ZT5cbiJdfQ==
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
2
|
-
//
|
|
3
|
-
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4
|
-
// of this software and associated documentation files (the "Software"), to
|
|
5
|
-
// deal in the Software without restriction, including without limitation the
|
|
6
|
-
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
7
|
-
// sell copies of the Software, and to permit persons to whom the Software is
|
|
8
|
-
// furnished to do so, subject to the following conditions:
|
|
9
|
-
//
|
|
10
|
-
// The above copyright notice and this permission notice shall be included in
|
|
11
|
-
// all copies or substantial portions of the Software.
|
|
12
|
-
//
|
|
13
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
14
|
-
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
15
|
-
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
16
|
-
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17
|
-
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
18
|
-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
19
|
-
// THE SOFTWARE.
|
|
20
|
-
export * from "./types";
|
|
21
|
-
export * from "./list-widget.component";
|
|
22
|
-
export * from "./list-elements/list-leaf-item/list-leaf-item.component";
|
|
23
|
-
export * from "./list-elements/list-group-item/list-group-item.component";
|
|
24
|
-
export * from "./list-elements/list-navigation-bar/list-navigation-bar.component";
|
|
25
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9saWIvY29tcG9uZW50cy9saXN0LXdpZGdldC9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLHlEQUF5RDtBQUN6RCxFQUFFO0FBQ0YsK0VBQStFO0FBQy9FLDRFQUE0RTtBQUM1RSw4RUFBOEU7QUFDOUUsK0VBQStFO0FBQy9FL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Y29tcG9uZW50XCI7XG5leHBvcnQgKiBmcm9tIFwiLi9saXN0LWVsZW1lbnRzL2xpc3QtZ3JvdXAtaXRlbS9saXN0LWdyb3VwLWl0ZW0uY29tcG9uZW50XCI7XG5leHBvcnQgKiBmcm9tIFwiLi9saXN0LWVsZW1lbnRzL2xpc3QtbmF2aWdhdGlvbi1iYXIvbGlzdC1uYXZpZ2F0aW9uLWJhci5jb21wb25lbnRcIjtcbiJdfQ==
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
2
|
-
//
|
|
3
|
-
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4
|
-
// of this software and associated documentation files (the "Software"), to
|
|
5
|
-
// deal in the Software without restriction, including without limitation the
|
|
6
|
-
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
7
|
-
// sell copies of the Software, and to permit persons to whom the Software is
|
|
8
|
-
// furnished to do so, subject to the following conditions:
|
|
9
|
-
//
|
|
10
|
-
// The above copyright notice and this permission notice shall be included in
|
|
11
|
-
// all copies or substantial portions of the Software.
|
|
12
|
-
//
|
|
13
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
14
|
-
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
15
|
-
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
16
|
-
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17
|
-
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
18
|
-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
19
|
-
// THE SOFTWARE.
|
|
20
|
-
export {};
|
|
21
|
-
//# sourceMappingURL=data:application/json;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