@nova-ui/dashboards 12.0.17 → 13.0.1-3938
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/common/common.module.mjs +41 -0
- package/esm2020/lib/common/components/preview-overlay/preview-overlay.component.mjs +35 -0
- package/{esm2015/lib/common/components/public-api.js → esm2020/lib/common/components/public-api.mjs} +0 -0
- package/esm2020/lib/common/components/widget-error/widget-error.component.mjs +54 -0
- package/{esm2015/lib/common/constants.js → esm2020/lib/common/constants.mjs} +0 -0
- package/esm2020/lib/common/pipes/dashboard-unit-conversion-pipe.mjs +57 -0
- package/{esm2015/lib/common/pipes/public-api.js → esm2020/lib/common/pipes/public-api.mjs} +0 -0
- package/{esm2015/lib/common/public-api.js → esm2020/lib/common/public-api.mjs} +0 -0
- package/esm2020/lib/components/dashboard/dashboard.component.mjs +222 -0
- package/{esm2015/lib/components/dashboard/default-gridster-config.js → esm2020/lib/components/dashboard/default-gridster-config.mjs} +0 -0
- package/{esm2015/lib/components/dashboard/public-api.js → esm2020/lib/components/dashboard/public-api.mjs} +0 -0
- package/{esm2015/lib/components/dashboard/types.js → esm2020/lib/components/dashboard/types.mjs} +0 -0
- package/esm2020/lib/components/embedded-content/embedded-content.component.mjs +95 -0
- package/esm2020/lib/components/kpi-widget/kpi.component.mjs +119 -0
- package/{esm2015/lib/components/kpi-widget/public-api.js → esm2020/lib/components/kpi-widget/public-api.mjs} +0 -0
- package/{esm2015/lib/components/kpi-widget/types.js → esm2020/lib/components/kpi-widget/types.mjs} +0 -0
- package/esm2020/lib/components/layouts/base-layout.mjs +118 -0
- package/{esm2015/lib/components/layouts/public-api.js → esm2020/lib/components/layouts/public-api.mjs} +0 -0
- package/esm2020/lib/components/layouts/stack/stack.component.mjs +65 -0
- package/esm2020/lib/components/layouts/tiles/tiles.component.mjs +99 -0
- package/esm2020/lib/components/list-widget/list-elements/list-group-item/list-group-item.component.mjs +62 -0
- package/esm2020/lib/components/list-widget/list-elements/list-leaf-item/list-leaf-item.component.mjs +76 -0
- package/esm2020/lib/components/list-widget/list-elements/list-navigation-bar/list-navigation-bar.component.mjs +60 -0
- package/esm2020/lib/components/list-widget/list-widget.component.mjs +105 -0
- package/{esm2015/lib/components/list-widget/public-api.js → esm2020/lib/components/list-widget/public-api.mjs} +0 -0
- package/{esm2015/lib/components/list-widget/types.js → esm2020/lib/components/list-widget/types.mjs} +0 -0
- package/esm2020/lib/components/loading/loading.component.mjs +51 -0
- package/{esm2015/lib/components/loading/public-api.js → esm2020/lib/components/loading/public-api.mjs} +0 -0
- package/esm2020/lib/components/proportional-widget/proportional-donut-content/proportional-donut-content.component.mjs +152 -0
- package/esm2020/lib/components/proportional-widget/proportional-widget.component.mjs +328 -0
- package/{esm2015/lib/components/proportional-widget/public-api.js → esm2020/lib/components/proportional-widget/public-api.mjs} +0 -0
- package/{esm2015/lib/components/proportional-widget/types.js → esm2020/lib/components/proportional-widget/types.mjs} +0 -0
- package/esm2020/lib/components/providers/data-source-adapter.mjs +145 -0
- package/esm2020/lib/components/providers/drilldown-data-source-adapter.mjs +114 -0
- package/{esm2015/lib/components/providers/event-bus-debugger.js → esm2020/lib/components/providers/event-bus-debugger.mjs} +4 -4
- package/esm2020/lib/components/providers/interaction/interaction-handler.mjs +56 -0
- package/esm2020/lib/components/providers/interaction/url-interaction-handler.mjs +69 -0
- package/esm2020/lib/components/providers/kpi-color-prioritizer.mjs +107 -0
- package/esm2020/lib/components/providers/kpi-data-source-adapter.mjs +109 -0
- package/esm2020/lib/components/providers/kpi-scale-sync-broker.mjs +143 -0
- package/esm2020/lib/components/providers/kpi-status-content-fallback-adapter.mjs +104 -0
- package/esm2020/lib/components/providers/loading-adapter.mjs +72 -0
- package/esm2020/lib/components/providers/pizzagna-broadcaster.service.mjs +84 -0
- package/{esm2015/lib/components/providers/public-api.js → esm2020/lib/components/providers/public-api.mjs} +0 -0
- package/{esm2015/lib/components/providers/refresher-settings.service.js → esm2020/lib/components/providers/refresher-settings.service.mjs} +4 -4
- package/esm2020/lib/components/providers/refresher.mjs +105 -0
- package/esm2020/lib/components/providers/status-content-fallback-adapter.mjs +67 -0
- package/esm2020/lib/components/providers/table-data-source-adapter.mjs +83 -0
- package/esm2020/lib/components/providers/timeseries-data-source-adapter.mjs +72 -0
- package/{esm2015/lib/components/providers/types.js → esm2020/lib/components/providers/types.mjs} +0 -0
- package/{esm2015/lib/components/public-api.js → esm2020/lib/components/public-api.mjs} +0 -0
- package/esm2020/lib/components/table-widget/addons/search-feature-addon.service.mjs +101 -0
- package/esm2020/lib/components/table-widget/addons/virtual-scroll-feature-addon.service.mjs +79 -0
- package/{esm2015/lib/components/table-widget/delayed-mouse-presence-detection.directive.js → esm2020/lib/components/table-widget/delayed-mouse-presence-detection.directive.mjs} +4 -4
- package/{esm2015/lib/components/table-widget/public-api.js → esm2020/lib/components/table-widget/public-api.mjs} +0 -0
- package/esm2020/lib/components/table-widget/table-widget.component.mjs +493 -0
- package/{esm2015/lib/components/table-widget/types.js → esm2020/lib/components/table-widget/types.mjs} +0 -0
- package/{esm2015/lib/components/template-load-error/template-load-error.component.js → esm2020/lib/components/template-load-error/template-load-error.component.mjs} +4 -4
- package/{esm2015/lib/components/time-frame-selection/public-api.js → esm2020/lib/components/time-frame-selection/public-api.mjs} +0 -0
- package/esm2020/lib/components/time-frame-selection/timeframe-selection.component.mjs +129 -0
- package/{esm2015/lib/components/timeseries-widget/chart-presets/public-api.js → esm2020/lib/components/timeseries-widget/chart-presets/public-api.mjs} +0 -0
- package/esm2020/lib/components/timeseries-widget/chart-presets/status-bar-chart/apply-status-endpoints.mjs +73 -0
- package/esm2020/lib/components/timeseries-widget/chart-presets/status-bar-chart/status-bar-chart.component.mjs +152 -0
- package/esm2020/lib/components/timeseries-widget/chart-presets/timeseries-chart.component.mjs +110 -0
- package/esm2020/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/line-chart.component.mjs +62 -0
- package/esm2020/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-area-chart.component.mjs +62 -0
- package/esm2020/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-bar-chart.component.mjs +79 -0
- package/esm2020/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-percentage-area-chart.component.mjs +62 -0
- package/esm2020/lib/components/timeseries-widget/chart-presets/xy-chart/xy-chart.component.mjs +160 -0
- package/{esm2015/lib/components/timeseries-widget/public-api.js → esm2020/lib/components/timeseries-widget/public-api.mjs} +0 -0
- package/{esm2015/lib/components/timeseries-widget/timeseries-chart-preset.service.js → esm2020/lib/components/timeseries-widget/timeseries-chart-preset.service.mjs} +4 -4
- package/esm2020/lib/components/timeseries-widget/timeseries-scales.service.mjs +85 -0
- package/esm2020/lib/components/timeseries-widget/timeseries-widget.component.mjs +69 -0
- package/{esm2015/lib/components/timeseries-widget/types.js → esm2020/lib/components/timeseries-widget/types.mjs} +0 -0
- package/{esm2015/lib/components/types.js → esm2020/lib/components/types.mjs} +0 -0
- package/{esm2015/lib/components/widget/public-api.js → esm2020/lib/components/widget/public-api.mjs} +0 -0
- package/{esm2015/lib/components/widget/types.js → esm2020/lib/components/widget/types.mjs} +0 -0
- package/esm2020/lib/components/widget/widget-body/widget-body.component.mjs +88 -0
- package/esm2020/lib/components/widget/widget-body-content/widget-body-content.component.mjs +75 -0
- package/{esm2015/lib/components/widget/widget-header/types.js → esm2020/lib/components/widget/widget-header/types.mjs} +0 -0
- package/esm2020/lib/components/widget/widget-header/widget-header.component.mjs +202 -0
- package/esm2020/lib/components/widget/widget.component.mjs +65 -0
- package/{esm2015/lib/components/widget-search/types.js → esm2020/lib/components/widget-search/types.mjs} +0 -0
- package/esm2020/lib/components/widget-search/widget-search.component.mjs +111 -0
- package/{esm2015/lib/configurator/components/color-picker/HTMLcolors.js → esm2020/lib/configurator/components/color-picker/HTMLcolors.mjs} +0 -0
- package/esm2020/lib/configurator/components/color-picker/color-picker.component.mjs +183 -0
- package/{esm2015/lib/configurator/components/color-picker/color.service.js → esm2020/lib/configurator/components/color-picker/color.service.mjs} +4 -4
- package/esm2020/lib/configurator/components/configurator/configurator.component.mjs +116 -0
- package/esm2020/lib/configurator/components/drop-area/drop-area.component.mjs +30 -0
- package/esm2020/lib/configurator/components/form-stack/form-stack.component.mjs +86 -0
- package/esm2020/lib/configurator/components/formatters/donut-content-percentage-formatter/donut-content-percentage-configuration.component.mjs +43 -0
- package/esm2020/lib/configurator/components/formatters/donut-content-percentage-formatter/donut-content-percentage-formatter.component.mjs +84 -0
- package/{esm2015/lib/configurator/components/formatters/donut-content-raw-formatter/donut-content-raw-formatter.component.js → esm2020/lib/configurator/components/formatters/donut-content-raw-formatter/donut-content-raw-formatter.component.mjs} +5 -5
- package/{esm2015/lib/configurator/components/formatters/donut-content-sum-formatter/donut-content-sum-formatter.component.js → esm2020/lib/configurator/components/formatters/donut-content-sum-formatter/donut-content-sum-formatter.component.mjs} +4 -4
- package/esm2020/lib/configurator/components/formatters/icon-formatter/icon-formatter.component.mjs +84 -0
- package/{esm2015/lib/configurator/components/formatters/link-formatter/link-formatter.component.js → esm2020/lib/configurator/components/formatters/link-formatter/link-formatter.component.mjs} +5 -5
- package/{esm2015/lib/configurator/components/formatters/percentage-formatter/percentage-formatter.component.js → esm2020/lib/configurator/components/formatters/percentage-formatter/percentage-formatter.component.mjs} +4 -4
- package/{esm2015/lib/configurator/components/formatters/raw-formatter/raw-formatter.component.js → esm2020/lib/configurator/components/formatters/raw-formatter/raw-formatter.component.mjs} +4 -4
- package/esm2020/lib/configurator/components/formatters/si-units-formatter/si-units-formatter.component.mjs +119 -0
- package/{esm2015/lib/configurator/components/formatters/status-with-icon-formatter/status-with-icon-formatter.component.js → esm2020/lib/configurator/components/formatters/status-with-icon-formatter/status-with-icon-formatter.component.mjs} +5 -5
- package/{esm2015/lib/configurator/components/formatters/types.js → esm2020/lib/configurator/components/formatters/types.mjs} +0 -0
- package/esm2020/lib/configurator/components/formatters/widget-formatter-configurators/donut-formatter-configurator.component.mjs +92 -0
- package/esm2020/lib/configurator/components/heading/configurator-heading.component.mjs +49 -0
- package/esm2020/lib/configurator/components/items-dynamic/items-dynamic.component.mjs +146 -0
- package/{esm2015/lib/common/components/preview-overlay/preview-overlay.component.js → esm2020/lib/configurator/components/preview-placeholder/preview-placeholder.component.mjs} +7 -15
- package/{esm2015/lib/configurator/components/public-api.js → esm2020/lib/configurator/components/public-api.mjs} +0 -0
- package/{esm2015/lib/configurator/components/types.js → esm2020/lib/configurator/components/types.mjs} +0 -0
- package/esm2020/lib/configurator/components/widget-cloner/widget-cloner.component.mjs +169 -0
- package/{esm2015/lib/configurator/components/widget-configurator-section/widget-configurator-section-coordinator.service.js → esm2020/lib/configurator/components/widget-configurator-section/widget-configurator-section-coordinator.service.mjs} +4 -4
- package/esm2020/lib/configurator/components/widget-configurator-section/widget-configurator-section.component.mjs +83 -0
- package/esm2020/lib/configurator/components/widget-editor/widget-editor.component.mjs +147 -0
- package/esm2020/lib/configurator/components/widget-editor-accordion/widget-editor-accordion.component.mjs +69 -0
- package/esm2020/lib/configurator/components/widgets/configurator-items/background-color-rules-configuration/background-color-rules-configuration.component.mjs +121 -0
- package/esm2020/lib/configurator/components/widgets/configurator-items/data-source-configuration/data-source-configuration.component.mjs +152 -0
- package/esm2020/lib/configurator/components/widgets/configurator-items/data-source-configuration-v2/data-source-configuration-v2.component.mjs +197 -0
- package/esm2020/lib/configurator/components/widgets/configurator-items/data-source-error/data-source-error.component.mjs +74 -0
- package/{esm2015/lib/configurator/components/widgets/configurator-items/data-source-error/public-api.js → esm2020/lib/configurator/components/widgets/configurator-items/data-source-error/public-api.mjs} +0 -0
- package/esm2020/lib/configurator/components/widgets/configurator-items/data-source-error/table/table-data-source-error.component.mjs +41 -0
- package/esm2020/lib/configurator/components/widgets/configurator-items/embedded-content-configuration/embedded-content-configuration.component.mjs +133 -0
- package/esm2020/lib/configurator/components/widgets/configurator-items/info-message-configuration/info-message-configuration.component.mjs +44 -0
- package/esm2020/lib/configurator/components/widgets/configurator-items/kpi-description-configuration/kpi-description-configuration.component.mjs +101 -0
- package/{esm2015/lib/configurator/components/widgets/configurator-items/public-api.js → esm2020/lib/configurator/components/widgets/configurator-items/public-api.mjs} +0 -0
- package/{esm2015/lib/configurator/components/widgets/configurator-items/refresher-configuration/public-api.js → esm2020/lib/configurator/components/widgets/configurator-items/refresher-configuration/public-api.mjs} +0 -0
- package/{esm2015/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/refresh-rate-configurator.component.js → esm2020/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/refresh-rate-configurator.component.mjs} +8 -14
- package/{esm2015/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/time-units.js → esm2020/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/time-units.mjs} +0 -0
- package/{esm2015/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/types.js → esm2020/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/types.mjs} +0 -0
- package/esm2020/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresher-configuration.component.mjs +168 -0
- package/esm2020/lib/configurator/components/widgets/configurator-items/thresholds-configuration/thresholds-configuration.component.mjs +139 -0
- package/esm2020/lib/configurator/components/widgets/configurator-items/thresholds-configuration/thresholds-validator.mjs +56 -0
- package/esm2020/lib/configurator/components/widgets/configurator-items/timeseries-metadata-configuration/timeseries-metadata-configuration.component.mjs +150 -0
- package/esm2020/lib/configurator/components/widgets/configurator-items/title-and-description-configuration/title-and-description-configuration.component.mjs +90 -0
- package/esm2020/lib/configurator/components/widgets/drilldown/entity-formatting-configuration/entity-formatting-configuration.component.mjs +74 -0
- package/esm2020/lib/configurator/components/widgets/drilldown/grouping-configuration/grouping-configuration.component.mjs +159 -0
- package/{esm2015/lib/configurator/components/widgets/drilldown/public-api.js → esm2020/lib/configurator/components/widgets/drilldown/public-api.mjs} +0 -0
- package/esm2020/lib/configurator/components/widgets/kpi/kpi-tiles-configuration/kpi-tiles-configuration.component.mjs +92 -0
- package/{esm2015/lib/configurator/components/widgets/kpi/kpi-tiles-configuration/public-api.js → esm2020/lib/configurator/components/widgets/kpi/kpi-tiles-configuration/public-api.mjs} +0 -0
- package/{esm2015/lib/configurator/components/widgets/kpi/public-api.js → esm2020/lib/configurator/components/widgets/kpi/public-api.mjs} +0 -0
- package/{esm2015/lib/configurator/components/widgets/kpi/types.js → esm2020/lib/configurator/components/widgets/kpi/types.mjs} +0 -0
- package/esm2020/lib/configurator/components/widgets/proportional/aggregators-configurators/aggregator-configurator/aggregator-configurator.component.mjs +72 -0
- package/esm2020/lib/configurator/components/widgets/proportional/aggregators-configurators/field-mapper-aggregator-configurator/field-mapper-aggregator-configurator.component.mjs +87 -0
- package/esm2020/lib/configurator/components/widgets/proportional/chart-options-editor/proportional-chart-options-editor.component.mjs +165 -0
- package/esm2020/lib/configurator/components/widgets/proportional/chart-options-editor-v2/proportional-chart-options-editor-v2.component.mjs +107 -0
- package/esm2020/lib/configurator/components/widgets/proportional/donut-content-configuration/donut-content-configuration.component.mjs +167 -0
- package/{esm2015/lib/configurator/components/widgets/proportional/public-api.js → esm2020/lib/configurator/components/widgets/proportional/public-api.mjs} +0 -0
- package/{esm2015/lib/configurator/components/widgets/public-api.js → esm2020/lib/configurator/components/widgets/public-api.mjs} +0 -0
- package/esm2020/lib/configurator/components/widgets/table/columns-editor/column-configuration/description-configuration/description-configuration.component.mjs +79 -0
- package/esm2020/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/formatter-configurator.component.mjs +117 -0
- package/esm2020/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/link-configurator/link-configurator.component.mjs +53 -0
- package/esm2020/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/value-selector/value-selector.component.mjs +43 -0
- package/esm2020/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/presentation-configuration.component.mjs +258 -0
- package/esm2020/lib/configurator/components/widgets/table/columns-editor/table-columns-configuration.component.mjs +263 -0
- package/esm2020/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/description-configuration/description-configuration-v2.component.mjs +122 -0
- package/esm2020/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/presentation-configuration/presentation-configuration-v2.component.mjs +308 -0
- package/esm2020/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/table-column-configuration/table-column-configuration.component.mjs +109 -0
- package/esm2020/lib/configurator/components/widgets/table/columns-editor-v2/table-columns-configuration-v2.component.mjs +250 -0
- package/esm2020/lib/configurator/components/widgets/table/filters-editor/table-filters-editor.component.mjs +121 -0
- package/{esm2015/lib/configurator/components/widgets/table/public-api.js → esm2020/lib/configurator/components/widgets/table/public-api.mjs} +0 -0
- package/{esm2015/lib/configurator/components/widgets/timeseries/public-api.js → esm2020/lib/configurator/components/widgets/timeseries/public-api.mjs} +0 -0
- package/esm2020/lib/configurator/components/widgets/timeseries/timeseries-series-collection-configuration/timeseries-series-collection-configuration.component.mjs +111 -0
- package/esm2020/lib/configurator/components/widgets/timeseries/timeseries-tile-description-configuration/timeseries-tile-description-configuration.component.mjs +67 -0
- package/esm2020/lib/configurator/components/widgets/timeseries/timeseries-tile-indicator-data-configuration/timeseries-tile-indicator-data-configuration.component.mjs +106 -0
- package/{esm2015/lib/configurator/components/widgets/timeseries/types.js → esm2020/lib/configurator/components/widgets/timeseries/types.mjs} +0 -0
- package/{esm2015/lib/configurator/components/wizard/dashwiz/dashwiz-buttons.component.js → esm2020/lib/configurator/components/wizard/dashwiz/dashwiz-buttons.component.mjs} +5 -5
- package/esm2020/lib/configurator/components/wizard/dashwiz/dashwiz.component.mjs +344 -0
- package/{esm2015/lib/configurator/components/wizard/dashwiz/dashwiz.service.js → esm2020/lib/configurator/components/wizard/dashwiz/dashwiz.service.mjs} +4 -4
- package/{esm2015/lib/configurator/components/wizard/dashwiz/model.js → esm2020/lib/configurator/components/wizard/dashwiz/model.mjs} +0 -0
- package/{esm2015/lib/configurator/components/wizard/dashwiz/public-api.js → esm2020/lib/configurator/components/wizard/dashwiz/public-api.mjs} +0 -0
- package/esm2020/lib/configurator/components/wizard/dashwiz-step/dashwiz-step.component.mjs +131 -0
- package/{esm2015/lib/configurator/components/wizard/dashwiz-step/public-api.js → esm2020/lib/configurator/components/wizard/dashwiz-step/public-api.mjs} +0 -0
- package/{esm2015/lib/configurator/components/wizard/public-api.js → esm2020/lib/configurator/components/wizard/public-api.mjs} +0 -0
- package/{esm2015/lib/configurator/components/wizard/types.js → esm2020/lib/configurator/components/wizard/types.mjs} +0 -0
- package/{esm2015/lib/configurator/configurator.module.js → esm2020/lib/configurator/configurator.module.mjs} +5 -6
- package/{esm2015/lib/configurator/functions/has-control-in-error-state.js → esm2020/lib/configurator/functions/has-control-in-error-state.mjs} +0 -0
- package/{esm2015/lib/configurator/functions/public-api.js → esm2020/lib/configurator/functions/public-api.mjs} +0 -0
- package/{esm2015/lib/configurator/pipe/add-data.pipe.js → esm2020/lib/configurator/pipe/add-data.pipe.mjs} +4 -4
- package/esm2020/lib/configurator/pipe/pizzagna-root.pipe.mjs +45 -0
- package/{esm2015/lib/configurator/pipe/public-api.js → esm2020/lib/configurator/pipe/public-api.mjs} +0 -0
- package/{esm2015/lib/configurator/pipe/widget-configurator-section-header.pipe.js → esm2020/lib/configurator/pipe/widget-configurator-section-header.pipe.mjs} +4 -4
- package/{esm2015/lib/configurator/pipe/widget-editor-accordion-form-state.pipe.js → esm2020/lib/configurator/pipe/widget-editor-accordion-form-state.pipe.mjs} +4 -4
- package/{esm2015/lib/configurator/pipe/widget-editor-accordion-header-icon.pipe.js → esm2020/lib/configurator/pipe/widget-editor-accordion-header-icon.pipe.mjs} +4 -4
- package/{esm2015/lib/configurator/public-api.js → esm2020/lib/configurator/public-api.mjs} +0 -0
- package/esm2020/lib/configurator/services/configurator-data-source-manager.service.mjs +89 -0
- package/{esm2015/lib/configurator/services/configurator-heading.service.js → esm2020/lib/configurator/services/configurator-heading.service.mjs} +4 -4
- package/esm2020/lib/configurator/services/configurator.service.mjs +142 -0
- package/{esm2015/lib/configurator/services/converters/base-converter.js → esm2020/lib/configurator/services/converters/base-converter.mjs} +4 -4
- package/{esm2015/lib/configurator/services/converters/kpi/kpi-section-converter/kpi-section-converter.service.js → esm2020/lib/configurator/services/converters/kpi/kpi-section-converter/kpi-section-converter.service.mjs} +5 -5
- package/esm2020/lib/configurator/services/converters/kpi/kpi-tiles-converter.service.mjs +107 -0
- package/esm2020/lib/configurator/services/converters/proportional/proportional-widget-chart-options-converter.service.mjs +68 -0
- package/{esm2015/lib/configurator/services/converters/public-api.js → esm2020/lib/configurator/services/converters/public-api.mjs} +0 -0
- package/esm2020/lib/configurator/services/converters/shared/generic-array-converter/generic-array-converter.service.mjs +81 -0
- package/{esm2015/lib/configurator/services/converters/shared/generic-converter/generic-converter.service.js → esm2020/lib/configurator/services/converters/shared/generic-converter/generic-converter.service.mjs} +5 -5
- package/esm2020/lib/configurator/services/converters/shared/title-and-description-converter/title-and-description-converter.service.mjs +64 -0
- package/esm2020/lib/configurator/services/converters/table/table-columns-converter.service.mjs +180 -0
- package/esm2020/lib/configurator/services/converters/table/table-filters-converter.service.mjs +67 -0
- package/{esm2015/lib/configurator/services/converters/timeseries/timeseries-metadata-converter.service.js → esm2020/lib/configurator/services/converters/timeseries/timeseries-metadata-converter.service.mjs} +4 -4
- package/esm2020/lib/configurator/services/converters/timeseries/timeseries-series-converter.service.mjs +170 -0
- package/{esm2015/lib/configurator/services/converters/timeseries/timeseries-tile-indicator-data-converter.service.js → esm2020/lib/configurator/services/converters/timeseries/timeseries-tile-indicator-data-converter.service.mjs} +8 -5
- package/{esm2015/lib/configurator/services/converters/types.js → esm2020/lib/configurator/services/converters/types.mjs} +0 -0
- package/{esm2015/lib/configurator/services/kpi-widget-color.service.js → esm2020/lib/configurator/services/kpi-widget-color.service.mjs} +4 -4
- package/{esm2015/lib/configurator/services/preview.service.js → esm2020/lib/configurator/services/preview.service.mjs} +4 -4
- package/{esm2015/lib/configurator/services/public-api.js → esm2020/lib/configurator/services/public-api.mjs} +0 -0
- package/{esm2015/lib/configurator/services/timeframe-serialization.service.js → esm2020/lib/configurator/services/timeframe-serialization.service.mjs} +4 -4
- package/{esm2015/lib/configurator/services/types.js → esm2020/lib/configurator/services/types.mjs} +0 -0
- package/{esm2015/lib/configurator/services/widget-cloner.service.js → esm2020/lib/configurator/services/widget-cloner.service.mjs} +4 -4
- package/esm2020/lib/configurator/services/widget-editor.service.mjs +61 -0
- package/{esm2015/lib/configurator/types.js → esm2020/lib/configurator/types.mjs} +0 -0
- package/{esm2015/lib/constants/default-palette.js → esm2020/lib/constants/default-palette.mjs} +0 -0
- package/{esm2015/lib/constants/public-api.js → esm2020/lib/constants/public-api.mjs} +0 -0
- package/{esm2015/lib/constants/si-units-prefixes.js → esm2020/lib/constants/si-units-prefixes.mjs} +0 -0
- package/{esm2015/lib/dashboards.module.js → esm2020/lib/dashboards.module.mjs} +5 -6
- package/{esm2015/lib/directives/gridster-item-widget-id/gridster-item-widget-id.directive.js → esm2020/lib/directives/gridster-item-widget-id/gridster-item-widget-id.directive.mjs} +4 -4
- package/{esm2015/lib/directives/public-api.js → esm2020/lib/directives/public-api.mjs} +0 -0
- package/{esm2015/lib/directives/widget-editor/public-api.js → esm2020/lib/directives/widget-editor/public-api.mjs} +0 -0
- package/{esm2015/lib/directives/widget-editor/widget-editor.directive.js → esm2020/lib/directives/widget-editor/widget-editor.directive.mjs} +4 -4
- package/esm2020/lib/functions/get-parent-component-id.mjs +30 -0
- package/{esm2015/lib/functions/map-data-to-formatter-properties.js → esm2020/lib/functions/map-data-to-formatter-properties.mjs} +0 -0
- package/{esm2015/lib/functions/merge-changes.js → esm2020/lib/functions/merge-changes.mjs} +0 -0
- package/{esm2015/lib/functions/on-mark-as-touched.js → esm2020/lib/functions/on-mark-as-touched.mjs} +0 -0
- package/{esm2015/lib/functions/parse-string-with-data.js → esm2020/lib/functions/parse-string-with-data.mjs} +0 -0
- package/esm2020/lib/functions/proportional-aggregators/field-mapper.mjs +33 -0
- package/esm2020/lib/functions/proportional-aggregators/percentage-aggregator.mjs +44 -0
- package/{esm2015/lib/functions/proportional-aggregators/public-api.js → esm2020/lib/functions/proportional-aggregators/public-api.mjs} +0 -0
- package/{esm2015/lib/functions/proportional-aggregators/sum-aggregator.js → esm2020/lib/functions/proportional-aggregators/sum-aggregator.mjs} +0 -0
- package/{esm2015/lib/functions/proportional-aggregators/types.js → esm2020/lib/functions/proportional-aggregators/types.mjs} +0 -0
- package/{esm2015/lib/functions/public-api.js → esm2020/lib/functions/public-api.mjs} +0 -0
- package/{esm2015/lib/pizzagna/components/pizzagna/pizzagna.component.js → esm2020/lib/pizzagna/components/pizzagna/pizzagna.component.mjs} +6 -10
- package/{esm2015/lib/pizzagna/components/pizzagna/public-api.js → esm2020/lib/pizzagna/components/pizzagna/public-api.mjs} +0 -0
- package/esm2020/lib/pizzagna/directives/component-portal/component-portal.directive.mjs +306 -0
- package/{esm2015/lib/pizzagna/directives/component-portal/public-api.js → esm2020/lib/pizzagna/directives/component-portal/public-api.mjs} +0 -0
- package/{esm2015/lib/pizzagna/functions/get-pizzagna-property-path.js → esm2020/lib/pizzagna/functions/get-pizzagna-property-path.mjs} +0 -0
- package/{esm2015/lib/pizzagna/functions/public-api.js → esm2020/lib/pizzagna/functions/public-api.mjs} +0 -0
- package/{esm2015/lib/pizzagna/pizzagna.module.js → esm2020/lib/pizzagna/pizzagna.module.mjs} +5 -5
- package/{esm2015/lib/pizzagna/public-api.js → esm2020/lib/pizzagna/public-api.mjs} +0 -0
- package/{esm2015/lib/pizzagna/services/component-portal.service.js → esm2020/lib/pizzagna/services/component-portal.service.mjs} +4 -4
- package/{esm2015/lib/pizzagna/services/component-registry.service.js → esm2020/lib/pizzagna/services/component-registry.service.mjs} +4 -4
- package/esm2020/lib/pizzagna/services/dynamic-component-creator.service.mjs +63 -0
- package/esm2020/lib/pizzagna/services/pizzagna.service.mjs +133 -0
- package/{esm2015/lib/pizzagna/services/public-api.js → esm2020/lib/pizzagna/services/public-api.mjs} +0 -0
- package/esm2020/lib/services/category-chart-util.service.mjs +126 -0
- package/{esm2015/lib/services/event-registry.service.js → esm2020/lib/services/event-registry.service.mjs} +4 -4
- package/esm2020/lib/services/kpi-color-comparators-registry.service.mjs +68 -0
- package/{esm2015/lib/services/proportional-content-aggregators-registry.service.js → esm2020/lib/services/proportional-content-aggregators-registry.service.mjs} +4 -4
- package/{esm2015/lib/services/provider-registry.service.js → esm2020/lib/services/provider-registry.service.mjs} +4 -4
- package/{esm2015/lib/services/public-api.js → esm2020/lib/services/public-api.mjs} +0 -0
- package/esm2020/lib/services/registry-service.mjs +83 -0
- package/{esm2015/lib/services/table-formatter-registry.service.js → esm2020/lib/services/table-formatter-registry.service.mjs} +13 -13
- package/{esm2015/lib/services/types.js → esm2020/lib/services/types.mjs} +0 -0
- package/esm2020/lib/services/url-interaction.service.mjs +52 -0
- package/{esm2015/lib/services/widget-configuration.service.js → esm2020/lib/services/widget-configuration.service.mjs} +4 -4
- package/{esm2015/lib/services/widget-removal.service.js → esm2020/lib/services/widget-removal.service.mjs} +4 -4
- package/esm2020/lib/services/widget-to-dashboard-event-proxy.service.mjs +152 -0
- package/esm2020/lib/services/widget-types.service.mjs +88 -0
- package/{esm2015/lib/types.js → esm2020/lib/types.mjs} +0 -0
- package/{esm2015/lib/widget-types/common/configurator/components.js → esm2020/lib/widget-types/common/configurator/components.mjs} +0 -0
- package/{esm2015/lib/widget-types/common/configurator/public-api.js → esm2020/lib/widget-types/common/configurator/public-api.mjs} +0 -0
- package/{esm2015/lib/widget-types/common/public-api.js → esm2020/lib/widget-types/common/public-api.mjs} +0 -0
- package/esm2020/lib/widget-types/common/widget/components.mjs +133 -0
- package/{esm2015/lib/widget-types/common/widget/legend.js → esm2020/lib/widget-types/common/widget/legend.mjs} +0 -0
- package/{esm2015/lib/widget-types/common/widget/providers.js → esm2020/lib/widget-types/common/widget/providers.mjs} +0 -0
- package/{esm2015/lib/widget-types/common/widget/public-api.js → esm2020/lib/widget-types/common/widget/public-api.mjs} +0 -0
- package/{esm2015/lib/widget-types/common/widget/types.js → esm2020/lib/widget-types/common/widget/types.mjs} +0 -0
- package/{esm2015/lib/widget-types/drilldown/drilldown-configurator.js → esm2020/lib/widget-types/drilldown/drilldown-configurator.mjs} +0 -0
- package/esm2020/lib/widget-types/drilldown/drilldown-widget.mjs +95 -0
- package/{esm2015/lib/widget-types/drilldown/drilldown.js → esm2020/lib/widget-types/drilldown/drilldown.mjs} +0 -0
- package/{esm2015/lib/widget-types/embedded-content/embedded-content-configurator.js → esm2020/lib/widget-types/embedded-content/embedded-content-configurator.mjs} +0 -0
- package/esm2020/lib/widget-types/embedded-content/embedded-content-widget.mjs +73 -0
- package/{esm2015/lib/widget-types/embedded-content/embedded-content.js → esm2020/lib/widget-types/embedded-content/embedded-content.mjs} +0 -0
- package/{esm2015/lib/widget-types/kpi/kpi-configurator.js → esm2020/lib/widget-types/kpi/kpi-configurator.mjs} +0 -0
- package/esm2020/lib/widget-types/kpi/kpi-widget.mjs +105 -0
- package/{esm2015/lib/widget-types/kpi/kpi.js → esm2020/lib/widget-types/kpi/kpi.mjs} +0 -0
- package/{esm2015/lib/widget-types/preview-placeholder.js → esm2020/lib/widget-types/preview-placeholder.mjs} +0 -0
- package/{esm2015/lib/widget-types/proportional/donut-content-configurator-slice.js → esm2020/lib/widget-types/proportional/donut-content-configurator-slice.mjs} +0 -0
- package/{esm2015/lib/widget-types/proportional/proportional-configurator.js → esm2020/lib/widget-types/proportional/proportional-configurator.mjs} +0 -0
- package/esm2020/lib/widget-types/proportional/proportional-widget.mjs +91 -0
- package/{esm2015/lib/widget-types/proportional/proportional.js → esm2020/lib/widget-types/proportional/proportional.mjs} +0 -0
- package/{esm2015/lib/widget-types/public-api.js → esm2020/lib/widget-types/public-api.mjs} +0 -0
- package/{esm2015/lib/widget-types/table/default-table-formatters.js → esm2020/lib/widget-types/table/default-table-formatters.mjs} +0 -0
- package/{esm2015/lib/widget-types/table/table-configurator.js → esm2020/lib/widget-types/table/table-configurator.mjs} +0 -0
- package/esm2020/lib/widget-types/table/table-widget.mjs +111 -0
- package/{esm2015/lib/widget-types/table/table.js → esm2020/lib/widget-types/table/table.mjs} +0 -0
- package/{esm2015/lib/widget-types/timeseries/timeseries-configurator.js → esm2020/lib/widget-types/timeseries/timeseries-configurator.mjs} +0 -0
- package/esm2020/lib/widget-types/timeseries/timeseries-widget.mjs +122 -0
- package/{esm2015/lib/widget-types/timeseries/timeseries.js → esm2020/lib/widget-types/timeseries/timeseries.mjs} +0 -0
- package/{esm2015/nova-ui-dashboards.js → esm2020/nova-ui-dashboards.mjs} +0 -0
- package/{esm2015/public-api.js → esm2020/public-api.mjs} +0 -0
- package/fesm2015/{nova-ui-dashboards.js → nova-ui-dashboards.mjs} +1195 -1463
- package/fesm2015/nova-ui-dashboards.mjs.map +1 -0
- package/fesm2020/nova-ui-dashboards.mjs +16252 -0
- package/fesm2020/nova-ui-dashboards.mjs.map +1 -0
- package/lib/components/list-widget/list-elements/list-leaf-item/list-leaf-item.component.d.ts +1 -1
- package/lib/components/providers/data-source-adapter.d.ts +1 -1
- package/lib/components/providers/kpi-color-prioritizer.d.ts +1 -1
- package/lib/components/providers/refresher.d.ts +1 -1
- package/lib/components/providers/status-content-fallback-adapter.d.ts +1 -1
- package/lib/components/widget-search/widget-search.component.d.ts +1 -1
- package/lib/configurator/components/configurator/configurator.component.d.ts +1 -1
- package/lib/configurator/services/converters/base-converter.d.ts +1 -1
- package/package.json +36 -17
- package/sdk/atoms/spec/test.po.js +1 -1
- package/sdk/atoms/spec/test.po.js.map +1 -1
- package/sdk/atoms/spec/virtual-dashboards/drilldown-widget-test/drilldown-widget-test.component.js +10 -10
- package/sdk/atoms/spec/virtual-dashboards/drilldown-widget-test/drilldown-widget-test.component.js.map +1 -1
- package/sdk/atoms/spec/virtual-dashboards/drilldown-widget-test/drilldown-widget-test.component.spec.js +1 -1
- package/sdk/atoms/spec/virtual-dashboards/drilldown-widget-test/drilldown-widget-test.component.spec.js.map +1 -1
- package/sdk/atoms/src/lib/common/common.module.js +1 -2
- package/sdk/atoms/src/lib/common/common.module.js.map +1 -1
- package/sdk/atoms/src/lib/common/components/preview-overlay/preview-overlay.component.js +1 -1
- package/sdk/atoms/src/lib/common/components/preview-overlay/preview-overlay.component.js.map +1 -1
- package/sdk/atoms/src/lib/common/components/widget-error/widget-error.component.js +6 -6
- 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 +1 -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 +17 -17
- 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 +8 -8
- package/sdk/atoms/src/lib/components/embedded-content/embedded-content.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/kpi-widget/kpi.component.js +12 -12
- package/sdk/atoms/src/lib/components/kpi-widget/kpi.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/layouts/base-layout.js +3 -3
- package/sdk/atoms/src/lib/components/layouts/base-layout.js.map +1 -1
- package/sdk/atoms/src/lib/components/layouts/stack/stack.component.js +5 -5
- 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 +5 -5
- 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 +7 -7
- package/sdk/atoms/src/lib/components/list-widget/list-elements/list-group-item/list-group-item.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/list-widget/list-elements/list-leaf-item/list-leaf-item.component.d.ts +1 -1
- package/sdk/atoms/src/lib/components/list-widget/list-elements/list-leaf-item/list-leaf-item.component.js +10 -10
- 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 +4 -4
- package/sdk/atoms/src/lib/components/list-widget/list-elements/list-navigation-bar/list-navigation-bar.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/list-widget/list-widget.component.js +8 -8
- package/sdk/atoms/src/lib/components/list-widget/list-widget.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/loading/loading.component.js +6 -6
- 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 +6 -6
- 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 +15 -15
- package/sdk/atoms/src/lib/components/proportional-widget/proportional-widget.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/data-source-adapter.d.ts +1 -1
- package/sdk/atoms/src/lib/components/providers/data-source-adapter.js +11 -11
- package/sdk/atoms/src/lib/components/providers/data-source-adapter.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/drilldown-data-source-adapter.js +3 -3
- package/sdk/atoms/src/lib/components/providers/drilldown-data-source-adapter.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/event-bus-debugger.js +4 -4
- package/sdk/atoms/src/lib/components/providers/event-bus-debugger.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/interaction/interaction-handler.js +2 -2
- package/sdk/atoms/src/lib/components/providers/interaction/interaction-handler.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/interaction/url-interaction-handler.js +3 -3
- package/sdk/atoms/src/lib/components/providers/interaction/url-interaction-handler.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/kpi-color-prioritizer.d.ts +1 -1
- package/sdk/atoms/src/lib/components/providers/kpi-color-prioritizer.js +4 -4
- 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 +5 -5
- 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 +4 -4
- 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 +5 -5
- package/sdk/atoms/src/lib/components/providers/kpi-status-content-fallback-adapter.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/loading-adapter.js +4 -4
- package/sdk/atoms/src/lib/components/providers/loading-adapter.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/pizzagna-broadcaster.service.js +6 -6
- package/sdk/atoms/src/lib/components/providers/pizzagna-broadcaster.service.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/refresher-settings.service.js +1 -1
- package/sdk/atoms/src/lib/components/providers/refresher-settings.service.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/refresher.d.ts +1 -1
- package/sdk/atoms/src/lib/components/providers/refresher.js +4 -4
- package/sdk/atoms/src/lib/components/providers/refresher.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/status-content-fallback-adapter.d.ts +1 -1
- package/sdk/atoms/src/lib/components/providers/status-content-fallback-adapter.js +3 -3
- package/sdk/atoms/src/lib/components/providers/status-content-fallback-adapter.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/table-data-source-adapter.js +7 -7
- package/sdk/atoms/src/lib/components/providers/table-data-source-adapter.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/timeseries-data-source-adapter.js +3 -3
- package/sdk/atoms/src/lib/components/providers/timeseries-data-source-adapter.js.map +1 -1
- package/sdk/atoms/src/lib/components/table-widget/addons/search-feature-addon.service.js +5 -5
- package/sdk/atoms/src/lib/components/table-widget/addons/search-feature-addon.service.js.map +1 -1
- package/sdk/atoms/src/lib/components/table-widget/addons/virtual-scroll-feature-addon.service.js +12 -10
- package/sdk/atoms/src/lib/components/table-widget/addons/virtual-scroll-feature-addon.service.js.map +1 -1
- package/sdk/atoms/src/lib/components/table-widget/delayed-mouse-presence-detection.directive.js +7 -7
- 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 +31 -31
- 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 -1
- 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 +12 -12
- 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 +6 -6
- 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 +7 -7
- 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 +4 -4
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/timeseries-chart.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/line-chart.component.js +4 -4
- 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 +6 -6
- 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 +6 -6
- 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 +6 -6
- 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 +8 -8
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/xy-chart.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-chart-preset.service.js +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-chart-preset.service.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-scales.service.js +3 -3
- 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 +6 -6
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-widget.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/widget/widget-body/widget-body.component.js +8 -8
- 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 +7 -7
- 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 +27 -27
- 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 +3 -3
- package/sdk/atoms/src/lib/components/widget/widget.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/widget-search/widget-search.component.d.ts +1 -1
- package/sdk/atoms/src/lib/components/widget-search/widget-search.component.js +8 -8
- 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 +12 -12
- package/sdk/atoms/src/lib/configurator/components/color-picker/color-picker.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/color-picker/color.service.js +2 -2
- package/sdk/atoms/src/lib/configurator/components/color-picker/color.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/configurator/configurator.component.d.ts +1 -1
- package/sdk/atoms/src/lib/configurator/components/configurator/configurator.component.js +6 -6
- 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 -1
- package/sdk/atoms/src/lib/configurator/components/drop-area/drop-area.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/form-stack/form-stack.component.js +4 -4
- 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 -1
- package/sdk/atoms/src/lib/configurator/components/formatters/donut-content-percentage-formatter/donut-content-percentage-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/formatters/donut-content-percentage-formatter/donut-content-percentage-formatter.component.js +6 -6
- package/sdk/atoms/src/lib/configurator/components/formatters/donut-content-percentage-formatter/donut-content-percentage-formatter.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/formatters/donut-content-raw-formatter/donut-content-raw-formatter.component.js +4 -4
- 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 +3 -3
- 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 +2 -2
- 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 +3 -3
- 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 -1
- package/sdk/atoms/src/lib/configurator/components/formatters/percentage-formatter/percentage-formatter.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/formatters/raw-formatter/raw-formatter.component.js +4 -4
- 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 +6 -6
- 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 +2 -2
- package/sdk/atoms/src/lib/configurator/components/formatters/status-with-icon-formatter/status-with-icon-formatter.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/formatters/widget-formatter-configurators/donut-formatter-configurator.component.js +4 -4
- 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 +4 -4
- 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 +8 -8
- 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 -1
- 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 +7 -7
- package/sdk/atoms/src/lib/configurator/components/widget-cloner/widget-cloner.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widget-configurator-section/widget-configurator-section-coordinator.service.js +2 -2
- package/sdk/atoms/src/lib/configurator/components/widget-configurator-section/widget-configurator-section-coordinator.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widget-configurator-section/widget-configurator-section.component.js +7 -7
- 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 +8 -8
- package/sdk/atoms/src/lib/configurator/components/widget-editor/widget-editor.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widget-editor-accordion/widget-editor-accordion.component.js +3 -3
- 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 +6 -6
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/background-color-rules-configuration/background-color-rules-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/data-source-configuration/data-source-configuration.component.js +8 -8
- 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 +9 -9
- 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 +6 -6
- 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 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/data-source-error/table/table-data-source-error.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/embedded-content-configuration/embedded-content-configuration.component.js +8 -8
- 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 +5 -5
- 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 +14 -14
- 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 +12 -12
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/refresh-rate-configurator.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresher-configuration.component.js +12 -12
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresher-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/thresholds-configuration/thresholds-configuration.component.js +9 -9
- 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 +3 -3
- 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 +11 -11
- 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 +7 -7
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/title-and-description-configuration/title-and-description-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/drilldown/entity-formatting-configuration/entity-formatting-configuration.component.js +4 -4
- 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 +10 -10
- 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 +8 -8
- 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 +5 -5
- package/sdk/atoms/src/lib/configurator/components/widgets/proportional/aggregators-configurators/aggregator-configurator/aggregator-configurator.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/proportional/aggregators-configurators/field-mapper-aggregator-configurator/field-mapper-aggregator-configurator.component.js +5 -5
- package/sdk/atoms/src/lib/configurator/components/widgets/proportional/aggregators-configurators/field-mapper-aggregator-configurator/field-mapper-aggregator-configurator.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/proportional/chart-options-editor/proportional-chart-options-editor.component.js +9 -9
- 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 +8 -8
- package/sdk/atoms/src/lib/configurator/components/widgets/proportional/chart-options-editor-v2/proportional-chart-options-editor-v2.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/proportional/donut-content-configuration/donut-content-configuration.component.js +10 -10
- package/sdk/atoms/src/lib/configurator/components/widgets/proportional/donut-content-configuration/donut-content-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/column-configuration/description-configuration/description-configuration.component.js +7 -7
- 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 +6 -6
- 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 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/link-configurator/link-configurator.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/value-selector/value-selector.component.js +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/value-selector/value-selector.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/presentation-configuration.component.js +13 -13
- 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 +19 -19
- 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 +7 -7
- 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 +15 -15
- 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 +7 -7
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/table-column-configuration/table-column-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor-v2/table-columns-configuration-v2.component.js +12 -12
- 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 +7 -7
- package/sdk/atoms/src/lib/configurator/components/widgets/table/filters-editor/table-filters-editor.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/timeseries/timeseries-series-collection-configuration/timeseries-series-collection-configuration.component.js +10 -10
- package/sdk/atoms/src/lib/configurator/components/widgets/timeseries/timeseries-series-collection-configuration/timeseries-series-collection-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/timeseries/timeseries-tile-description-configuration/timeseries-tile-description-configuration.component.js +4 -4
- 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 +7 -7
- 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 +12 -12
- 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 +24 -24
- package/sdk/atoms/src/lib/configurator/components/wizard/dashwiz/dashwiz.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/wizard/dashwiz/dashwiz.service.js +1 -1
- package/sdk/atoms/src/lib/configurator/components/wizard/dashwiz/dashwiz.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/wizard/dashwiz-step/dashwiz-step.component.js +12 -12
- 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 +1 -2
- package/sdk/atoms/src/lib/configurator/configurator.module.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/pipe/add-data.pipe.js +3 -3
- 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 -1
- package/sdk/atoms/src/lib/configurator/pipe/pizzagna-root.pipe.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/pipe/widget-configurator-section-header.pipe.js +1 -1
- package/sdk/atoms/src/lib/configurator/pipe/widget-configurator-section-header.pipe.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/pipe/widget-editor-accordion-form-state.pipe.js +3 -3
- 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 +2 -2
- package/sdk/atoms/src/lib/configurator/pipe/widget-editor-accordion-header-icon.pipe.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/configurator-data-source-manager.service.js +5 -5
- package/sdk/atoms/src/lib/configurator/services/configurator-data-source-manager.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/configurator-heading.service.js +1 -1
- package/sdk/atoms/src/lib/configurator/services/configurator-heading.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/configurator.service.js +11 -11
- package/sdk/atoms/src/lib/configurator/services/configurator.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/base-converter.d.ts +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/base-converter.js +2 -2
- package/sdk/atoms/src/lib/configurator/services/converters/base-converter.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/kpi/kpi-section-converter/kpi-section-converter.service.js +8 -8
- package/sdk/atoms/src/lib/configurator/services/converters/kpi/kpi-section-converter/kpi-section-converter.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/kpi/kpi-tiles-converter.service.js +9 -9
- package/sdk/atoms/src/lib/configurator/services/converters/kpi/kpi-tiles-converter.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/proportional/proportional-widget-chart-options-converter.service.js +9 -9
- package/sdk/atoms/src/lib/configurator/services/converters/proportional/proportional-widget-chart-options-converter.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/shared/generic-array-converter/generic-array-converter.service.js +9 -9
- 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 +8 -8
- package/sdk/atoms/src/lib/configurator/services/converters/shared/generic-converter/generic-converter.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/shared/title-and-description-converter/title-and-description-converter.service.js +9 -9
- package/sdk/atoms/src/lib/configurator/services/converters/shared/title-and-description-converter/title-and-description-converter.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/table/table-columns-converter.service.js +14 -14
- package/sdk/atoms/src/lib/configurator/services/converters/table/table-columns-converter.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/table/table-filters-converter.service.js +6 -6
- package/sdk/atoms/src/lib/configurator/services/converters/table/table-filters-converter.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/timeseries/timeseries-metadata-converter.service.js +15 -15
- 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 +26 -26
- 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 +7 -7
- package/sdk/atoms/src/lib/configurator/services/converters/timeseries/timeseries-tile-indicator-data-converter.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/kpi-widget-color.service.js +1 -1
- package/sdk/atoms/src/lib/configurator/services/kpi-widget-color.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/preview.service.js +1 -1
- package/sdk/atoms/src/lib/configurator/services/preview.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/timeframe-serialization.service.js +3 -3
- package/sdk/atoms/src/lib/configurator/services/timeframe-serialization.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/widget-cloner.service.js +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 +2 -2
- package/sdk/atoms/src/lib/configurator/services/widget-editor.service.js.map +1 -1
- package/sdk/atoms/src/lib/constants/default-palette.js +1 -1
- package/sdk/atoms/src/lib/constants/default-palette.js.map +1 -1
- package/sdk/atoms/src/lib/dashboards.module.js +1 -2
- 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 +4 -4
- 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 +9 -9
- package/sdk/atoms/src/lib/directives/widget-editor/widget-editor.directive.js.map +1 -1
- package/sdk/atoms/src/lib/functions/merge-changes.js +3 -3
- package/sdk/atoms/src/lib/functions/merge-changes.js.map +1 -1
- package/sdk/atoms/src/lib/functions/proportional-aggregators/field-mapper.js +1 -1
- package/sdk/atoms/src/lib/functions/proportional-aggregators/field-mapper.js.map +1 -1
- package/sdk/atoms/src/lib/functions/proportional-aggregators/percentage-aggregator.js +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 +1 -1
- package/sdk/atoms/src/lib/functions/proportional-aggregators/sum-aggregator.js.map +1 -1
- package/sdk/atoms/src/lib/pizzagna/components/pizzagna/pizzagna.component.js +9 -9
- 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 +13 -13
- package/sdk/atoms/src/lib/pizzagna/directives/component-portal/component-portal.directive.js.map +1 -1
- package/sdk/atoms/src/lib/pizzagna/pizzagna.module.js +1 -1
- package/sdk/atoms/src/lib/pizzagna/pizzagna.module.js.map +1 -1
- package/sdk/atoms/src/lib/pizzagna/services/component-portal.service.js +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 +1 -1
- package/sdk/atoms/src/lib/pizzagna/services/component-registry.service.js.map +1 -1
- package/sdk/atoms/src/lib/pizzagna/services/dynamic-component-creator.service.js +4 -4
- package/sdk/atoms/src/lib/pizzagna/services/dynamic-component-creator.service.js.map +1 -1
- package/sdk/atoms/src/lib/pizzagna/services/pizzagna.service.js +6 -6
- package/sdk/atoms/src/lib/pizzagna/services/pizzagna.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/category-chart-util.service.js +6 -6
- package/sdk/atoms/src/lib/services/category-chart-util.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/event-registry.service.js +1 -1
- package/sdk/atoms/src/lib/services/event-registry.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/kpi-color-comparators-registry.service.js +1 -1
- package/sdk/atoms/src/lib/services/kpi-color-comparators-registry.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/proportional-content-aggregators-registry.service.js +1 -1
- package/sdk/atoms/src/lib/services/proportional-content-aggregators-registry.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/provider-registry.service.js +1 -1
- package/sdk/atoms/src/lib/services/provider-registry.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/registry-service.js +3 -3
- package/sdk/atoms/src/lib/services/registry-service.js.map +1 -1
- package/sdk/atoms/src/lib/services/table-formatter-registry.service.js +4 -4
- package/sdk/atoms/src/lib/services/table-formatter-registry.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/unit-test-registry.service.js +1 -1
- package/sdk/atoms/src/lib/services/unit-test-registry.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/url-interaction.service.js +1 -1
- package/sdk/atoms/src/lib/services/url-interaction.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/widget-configuration.service.js +1 -1
- package/sdk/atoms/src/lib/services/widget-configuration.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/widget-removal.service.js +4 -4
- 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 +8 -8
- 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 +3 -3
- package/sdk/atoms/src/lib/services/widget-types.service.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/drilldown/drilldown-widget.js +2 -2
- package/sdk/atoms/src/lib/widget-types/drilldown/drilldown-widget.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/embedded-content/embedded-content-widget.js +2 -2
- package/sdk/atoms/src/lib/widget-types/embedded-content/embedded-content-widget.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/kpi/kpi-widget.js +3 -3
- package/sdk/atoms/src/lib/widget-types/kpi/kpi-widget.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/proportional/proportional-widget.js +3 -3
- package/sdk/atoms/src/lib/widget-types/proportional/proportional-widget.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/table/table-widget.js +3 -3
- package/sdk/atoms/src/lib/widget-types/table/table-widget.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/timeseries/timeseries-widget.js +3 -3
- package/sdk/atoms/src/lib/widget-types/timeseries/timeseries-widget.js.map +1 -1
- package/sdk/locale/messages.en.xlf +176 -172
- package/sdk/schematics/ng-add/index.d.ts +2 -0
- package/sdk/schematics/ng-add/index.js +27 -16
- package/sdk/schematics/ng-add/index.js.map +1 -0
- package/sdk/schematics/ng-add/index.spec.d.ts +1 -0
- package/sdk/schematics/ng-add/index.spec.js +134 -0
- package/sdk/schematics/ng-add/index.spec.js.map +1 -0
- package/sdk/schematics/ng-add/schema.json +4 -4
- package/bundles/nova-ui-dashboards.umd.js +0 -17845
- package/bundles/nova-ui-dashboards.umd.js.map +0 -1
- package/esm2015/lib/common/common.module.js +0 -42
- package/esm2015/lib/common/components/widget-error/widget-error.component.js +0 -58
- package/esm2015/lib/common/pipes/dashboard-unit-conversion-pipe.js +0 -57
- package/esm2015/lib/components/dashboard/dashboard.component.js +0 -232
- package/esm2015/lib/components/embedded-content/embedded-content.component.js +0 -96
- package/esm2015/lib/components/kpi-widget/kpi.component.js +0 -128
- package/esm2015/lib/components/layouts/base-layout.js +0 -118
- package/esm2015/lib/components/layouts/stack/stack.component.js +0 -68
- package/esm2015/lib/components/layouts/tiles/tiles.component.js +0 -105
- package/esm2015/lib/components/list-widget/list-elements/list-group-item/list-group-item.component.js +0 -68
- package/esm2015/lib/components/list-widget/list-elements/list-leaf-item/list-leaf-item.component.js +0 -82
- package/esm2015/lib/components/list-widget/list-elements/list-navigation-bar/list-navigation-bar.component.js +0 -66
- package/esm2015/lib/components/list-widget/list-widget.component.js +0 -105
- package/esm2015/lib/components/loading/loading.component.js +0 -56
- package/esm2015/lib/components/proportional-widget/proportional-donut-content/proportional-donut-content.component.js +0 -152
- package/esm2015/lib/components/proportional-widget/proportional-widget.component.js +0 -340
- package/esm2015/lib/components/providers/data-source-adapter.js +0 -146
- package/esm2015/lib/components/providers/drilldown-data-source-adapter.js +0 -115
- package/esm2015/lib/components/providers/interaction/interaction-handler.js +0 -57
- package/esm2015/lib/components/providers/interaction/url-interaction-handler.js +0 -70
- package/esm2015/lib/components/providers/kpi-color-prioritizer.js +0 -110
- package/esm2015/lib/components/providers/kpi-data-source-adapter.js +0 -104
- package/esm2015/lib/components/providers/kpi-scale-sync-broker.js +0 -138
- package/esm2015/lib/components/providers/kpi-status-content-fallback-adapter.js +0 -106
- package/esm2015/lib/components/providers/loading-adapter.js +0 -72
- package/esm2015/lib/components/providers/pizzagna-broadcaster.service.js +0 -84
- package/esm2015/lib/components/providers/refresher.js +0 -106
- package/esm2015/lib/components/providers/status-content-fallback-adapter.js +0 -68
- package/esm2015/lib/components/providers/table-data-source-adapter.js +0 -84
- package/esm2015/lib/components/providers/timeseries-data-source-adapter.js +0 -72
- package/esm2015/lib/components/table-widget/addons/search-feature-addon.service.js +0 -104
- package/esm2015/lib/components/table-widget/addons/virtual-scroll-feature-addon.service.js +0 -81
- package/esm2015/lib/components/table-widget/table-widget.component.js +0 -503
- package/esm2015/lib/components/time-frame-selection/timeframe-selection.component.js +0 -134
- package/esm2015/lib/components/timeseries-widget/chart-presets/status-bar-chart/apply-status-endpoints.js +0 -67
- package/esm2015/lib/components/timeseries-widget/chart-presets/status-bar-chart/status-bar-chart.component.js +0 -149
- package/esm2015/lib/components/timeseries-widget/chart-presets/timeseries-chart.component.js +0 -112
- package/esm2015/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/line-chart.component.js +0 -66
- package/esm2015/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-area-chart.component.js +0 -66
- package/esm2015/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-bar-chart.component.js +0 -83
- package/esm2015/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-percentage-area-chart.component.js +0 -66
- package/esm2015/lib/components/timeseries-widget/chart-presets/xy-chart/xy-chart.component.js +0 -156
- package/esm2015/lib/components/timeseries-widget/timeseries-scales.service.js +0 -86
- package/esm2015/lib/components/timeseries-widget/timeseries-widget.component.js +0 -74
- package/esm2015/lib/components/widget/widget-body/widget-body.component.js +0 -92
- package/esm2015/lib/components/widget/widget-body-content/widget-body-content.component.js +0 -78
- package/esm2015/lib/components/widget/widget-header/widget-header.component.js +0 -207
- package/esm2015/lib/components/widget/widget.component.js +0 -69
- package/esm2015/lib/components/widget-search/widget-search.component.js +0 -121
- package/esm2015/lib/configurator/components/color-picker/color-picker.component.js +0 -191
- package/esm2015/lib/configurator/components/configurator/configurator.component.js +0 -122
- package/esm2015/lib/configurator/components/drop-area/drop-area.component.js +0 -34
- package/esm2015/lib/configurator/components/form-stack/form-stack.component.js +0 -90
- package/esm2015/lib/configurator/components/formatters/donut-content-percentage-formatter/donut-content-percentage-configuration.component.js +0 -46
- package/esm2015/lib/configurator/components/formatters/donut-content-percentage-formatter/donut-content-percentage-formatter.component.js +0 -86
- package/esm2015/lib/configurator/components/formatters/icon-formatter/icon-formatter.component.js +0 -85
- package/esm2015/lib/configurator/components/formatters/si-units-formatter/si-units-formatter.component.js +0 -120
- package/esm2015/lib/configurator/components/formatters/widget-formatter-configurators/donut-formatter-configurator.component.js +0 -95
- package/esm2015/lib/configurator/components/heading/configurator-heading.component.js +0 -53
- package/esm2015/lib/configurator/components/items-dynamic/items-dynamic.component.js +0 -151
- package/esm2015/lib/configurator/components/preview-placeholder/preview-placeholder.component.js +0 -35
- package/esm2015/lib/configurator/components/widget-cloner/widget-cloner.component.js +0 -168
- package/esm2015/lib/configurator/components/widget-configurator-section/widget-configurator-section.component.js +0 -90
- package/esm2015/lib/configurator/components/widget-editor/widget-editor.component.js +0 -143
- package/esm2015/lib/configurator/components/widget-editor-accordion/widget-editor-accordion.component.js +0 -75
- package/esm2015/lib/configurator/components/widgets/configurator-items/background-color-rules-configuration/background-color-rules-configuration.component.js +0 -132
- package/esm2015/lib/configurator/components/widgets/configurator-items/data-source-configuration/data-source-configuration.component.js +0 -158
- package/esm2015/lib/configurator/components/widgets/configurator-items/data-source-configuration-v2/data-source-configuration-v2.component.js +0 -207
- package/esm2015/lib/configurator/components/widgets/configurator-items/data-source-error/data-source-error.component.js +0 -75
- package/esm2015/lib/configurator/components/widgets/configurator-items/data-source-error/table/table-data-source-error.component.js +0 -45
- package/esm2015/lib/configurator/components/widgets/configurator-items/embedded-content-configuration/embedded-content-configuration.component.js +0 -137
- package/esm2015/lib/configurator/components/widgets/configurator-items/info-message-configuration/info-message-configuration.component.js +0 -48
- package/esm2015/lib/configurator/components/widgets/configurator-items/kpi-description-configuration/kpi-description-configuration.component.js +0 -107
- package/esm2015/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresher-configuration.component.js +0 -174
- package/esm2015/lib/configurator/components/widgets/configurator-items/thresholds-configuration/thresholds-configuration.component.js +0 -146
- package/esm2015/lib/configurator/components/widgets/configurator-items/thresholds-configuration/thresholds-validator.js +0 -56
- package/esm2015/lib/configurator/components/widgets/configurator-items/timeseries-metadata-configuration/timeseries-metadata-configuration.component.js +0 -151
- package/esm2015/lib/configurator/components/widgets/configurator-items/title-and-description-configuration/title-and-description-configuration.component.js +0 -96
- package/esm2015/lib/configurator/components/widgets/drilldown/entity-formatting-configuration/entity-formatting-configuration.component.js +0 -78
- package/esm2015/lib/configurator/components/widgets/drilldown/grouping-configuration/grouping-configuration.component.js +0 -165
- package/esm2015/lib/configurator/components/widgets/kpi/kpi-tiles-configuration/kpi-tiles-configuration.component.js +0 -96
- package/esm2015/lib/configurator/components/widgets/proportional/aggregators-configurators/aggregator-configurator/aggregator-configurator.component.js +0 -76
- package/esm2015/lib/configurator/components/widgets/proportional/aggregators-configurators/field-mapper-aggregator-configurator/field-mapper-aggregator-configurator.component.js +0 -90
- package/esm2015/lib/configurator/components/widgets/proportional/chart-options-editor/proportional-chart-options-editor.component.js +0 -171
- package/esm2015/lib/configurator/components/widgets/proportional/chart-options-editor-v2/proportional-chart-options-editor-v2.component.js +0 -113
- package/esm2015/lib/configurator/components/widgets/proportional/donut-content-configuration/donut-content-configuration.component.js +0 -162
- package/esm2015/lib/configurator/components/widgets/table/columns-editor/column-configuration/description-configuration/description-configuration.component.js +0 -86
- package/esm2015/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/formatter-configurator.component.js +0 -119
- package/esm2015/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/link-configurator/link-configurator.component.js +0 -56
- package/esm2015/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/value-selector/value-selector.component.js +0 -46
- package/esm2015/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/presentation-configuration.component.js +0 -270
- package/esm2015/lib/configurator/components/widgets/table/columns-editor/table-columns-configuration.component.js +0 -270
- package/esm2015/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/description-configuration/description-configuration-v2.component.js +0 -129
- package/esm2015/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/presentation-configuration/presentation-configuration-v2.component.js +0 -323
- package/esm2015/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/table-column-configuration/table-column-configuration.component.js +0 -110
- package/esm2015/lib/configurator/components/widgets/table/columns-editor-v2/table-columns-configuration-v2.component.js +0 -262
- package/esm2015/lib/configurator/components/widgets/table/filters-editor/table-filters-editor.component.js +0 -125
- package/esm2015/lib/configurator/components/widgets/timeseries/timeseries-series-collection-configuration/timeseries-series-collection-configuration.component.js +0 -115
- package/esm2015/lib/configurator/components/widgets/timeseries/timeseries-tile-description-configuration/timeseries-tile-description-configuration.component.js +0 -72
- package/esm2015/lib/configurator/components/widgets/timeseries/timeseries-tile-indicator-data-configuration/timeseries-tile-indicator-data-configuration.component.js +0 -113
- package/esm2015/lib/configurator/components/wizard/dashwiz/dashwiz.component.js +0 -351
- package/esm2015/lib/configurator/components/wizard/dashwiz-step/dashwiz-step.component.js +0 -135
- package/esm2015/lib/configurator/pipe/pizzagna-root.pipe.js +0 -46
- package/esm2015/lib/configurator/services/configurator-data-source-manager.service.js +0 -90
- package/esm2015/lib/configurator/services/configurator.service.js +0 -137
- package/esm2015/lib/configurator/services/converters/kpi/kpi-tiles-converter.service.js +0 -108
- package/esm2015/lib/configurator/services/converters/proportional/proportional-widget-chart-options-converter.service.js +0 -68
- package/esm2015/lib/configurator/services/converters/shared/generic-array-converter/generic-array-converter.service.js +0 -81
- package/esm2015/lib/configurator/services/converters/shared/title-and-description-converter/title-and-description-converter.service.js +0 -65
- package/esm2015/lib/configurator/services/converters/table/table-columns-converter.service.js +0 -182
- package/esm2015/lib/configurator/services/converters/table/table-filters-converter.service.js +0 -68
- package/esm2015/lib/configurator/services/converters/timeseries/timeseries-series-converter.service.js +0 -168
- package/esm2015/lib/configurator/services/widget-editor.service.js +0 -62
- package/esm2015/lib/functions/get-parent-component-id.js +0 -30
- package/esm2015/lib/functions/proportional-aggregators/field-mapper.js +0 -33
- package/esm2015/lib/functions/proportional-aggregators/percentage-aggregator.js +0 -45
- package/esm2015/lib/pizzagna/directives/component-portal/component-portal.directive.js +0 -297
- package/esm2015/lib/pizzagna/services/dynamic-component-creator.service.js +0 -60
- package/esm2015/lib/pizzagna/services/pizzagna.service.js +0 -134
- package/esm2015/lib/services/category-chart-util.service.js +0 -123
- package/esm2015/lib/services/kpi-color-comparators-registry.service.js +0 -65
- package/esm2015/lib/services/registry-service.js +0 -83
- package/esm2015/lib/services/url-interaction.service.js +0 -53
- package/esm2015/lib/services/widget-to-dashboard-event-proxy.service.js +0 -152
- package/esm2015/lib/services/widget-types.service.js +0 -86
- package/esm2015/lib/widget-types/common/widget/components.js +0 -130
- package/esm2015/lib/widget-types/drilldown/drilldown-widget.js +0 -80
- package/esm2015/lib/widget-types/embedded-content/embedded-content-widget.js +0 -64
- package/esm2015/lib/widget-types/kpi/kpi-widget.js +0 -90
- package/esm2015/lib/widget-types/proportional/proportional-widget.js +0 -81
- package/esm2015/lib/widget-types/table/table-widget.js +0 -101
- package/esm2015/lib/widget-types/timeseries/timeseries-widget.js +0 -111
- package/fesm2015/nova-ui-dashboards.js.map +0 -1
|
@@ -0,0 +1,111 @@
|
|
|
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, Component, Inject, Input, Optional, } from "@angular/core";
|
|
21
|
+
import { Subject } from "rxjs";
|
|
22
|
+
import { debounceTime, takeUntil } from "rxjs/operators";
|
|
23
|
+
import { EventBus } from "@nova-ui/bits";
|
|
24
|
+
import { REFRESH, WIDGET_SEARCH } from "../../services/types";
|
|
25
|
+
import { DATA_SOURCE, PIZZAGNA_EVENT_BUS } from "../../types";
|
|
26
|
+
import * as i0 from "@angular/core";
|
|
27
|
+
import * as i1 from "@nova-ui/bits";
|
|
28
|
+
import * as i2 from "@angular/common";
|
|
29
|
+
export class WidgetSearchComponent {
|
|
30
|
+
constructor(dataSource, eventBus) {
|
|
31
|
+
this.dataSource = dataSource;
|
|
32
|
+
this.eventBus = eventBus;
|
|
33
|
+
this.enabled = false;
|
|
34
|
+
this.searchTerm$ = new Subject();
|
|
35
|
+
this.onDestroy$ = new Subject();
|
|
36
|
+
}
|
|
37
|
+
ngOnInit() {
|
|
38
|
+
if (this.dataSource.features?.getSupportedFeatures()?.search?.enabled) {
|
|
39
|
+
this.enabled = true;
|
|
40
|
+
}
|
|
41
|
+
this.registerFilters();
|
|
42
|
+
this.handleSearchTermSubscription(this.configuration?.searchOnKeyUp);
|
|
43
|
+
}
|
|
44
|
+
ngOnChanges(changes) {
|
|
45
|
+
if (changes.configuration) {
|
|
46
|
+
const searchCfg = changes.configuration.currentValue;
|
|
47
|
+
this.handleSearchTermSubscription(searchCfg.searchOnKeyUp);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
onSearchInputChanged(searchTerm) {
|
|
51
|
+
if (this.configuration?.searchOnKeyUp?.enabled) {
|
|
52
|
+
this.searchValue = searchTerm;
|
|
53
|
+
this.searchTerm$.next(searchTerm);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
onSearch(searchTerm) {
|
|
57
|
+
this.searchValue = searchTerm;
|
|
58
|
+
this.searchTerm$.next(searchTerm);
|
|
59
|
+
}
|
|
60
|
+
ngOnDestroy() {
|
|
61
|
+
this.eventBus.getStream(WIDGET_SEARCH).next({
|
|
62
|
+
payload: "",
|
|
63
|
+
});
|
|
64
|
+
this.onDestroy$.next();
|
|
65
|
+
this.onDestroy$.complete();
|
|
66
|
+
}
|
|
67
|
+
registerFilters() {
|
|
68
|
+
this.dataSource?.registerComponent({
|
|
69
|
+
search: {
|
|
70
|
+
componentInstance: {
|
|
71
|
+
getFilters: () => ({
|
|
72
|
+
value: this.searchValue,
|
|
73
|
+
}),
|
|
74
|
+
},
|
|
75
|
+
},
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
handleSearchTermSubscription(searchOnKeyUpCfg) {
|
|
79
|
+
this.searchTermSubscription?.unsubscribe();
|
|
80
|
+
this.searchTermSubscription = this.searchTerm$
|
|
81
|
+
.pipe(takeUntil(this.onDestroy$), debounceTime(searchOnKeyUpCfg?.debounceTime ||
|
|
82
|
+
WidgetSearchComponent.defaultSearchDebounce))
|
|
83
|
+
.subscribe((searchTerm) => {
|
|
84
|
+
this.eventBus.getStream(REFRESH).next(undefined);
|
|
85
|
+
this.eventBus.getStream(WIDGET_SEARCH).next({
|
|
86
|
+
payload: searchTerm,
|
|
87
|
+
});
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
WidgetSearchComponent.lateLoadKey = "WidgetSearchComponent";
|
|
92
|
+
WidgetSearchComponent.defaultSearchDebounce = 500;
|
|
93
|
+
/** @nocollapse */ WidgetSearchComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WidgetSearchComponent, deps: [{ token: DATA_SOURCE, optional: true }, { token: PIZZAGNA_EVENT_BUS }], target: i0.ɵɵFactoryTarget.Component });
|
|
94
|
+
/** @nocollapse */ WidgetSearchComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: WidgetSearchComponent, selector: "nui-widget-search", inputs: { configuration: "configuration", searchValue: "searchValue" }, host: { properties: { "class.default": "enabled", "class.invisible": "!enabled" } }, usesOnChanges: true, ngImport: i0, template: "<nui-search\n class=\"unlimited-width\"\n *ngIf=\"enabled\"\n [value]=\"searchValue\"\n (inputChange)=\"onSearchInputChanged($event)\"\n (cancel)=\"onSearch($event)\"\n (search)=\"onSearch($event)\"\n></nui-search>\n", styles: [":host.default{padding:5px 10px}:host.invisible{height:0}\n"], components: [{ type: i1.SearchComponent, selector: "nui-search", inputs: ["captureFocus", "name", "placeholder", "value"], outputs: ["cancel", "focusChange", "inputChange", "search"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
95
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WidgetSearchComponent, decorators: [{
|
|
96
|
+
type: Component,
|
|
97
|
+
args: [{ selector: "nui-widget-search", changeDetection: ChangeDetectionStrategy.OnPush, host: { "[class.default]": "enabled", "[class.invisible]": "!enabled" }, template: "<nui-search\n class=\"unlimited-width\"\n *ngIf=\"enabled\"\n [value]=\"searchValue\"\n (inputChange)=\"onSearchInputChanged($event)\"\n (cancel)=\"onSearch($event)\"\n (search)=\"onSearch($event)\"\n></nui-search>\n", styles: [":host.default{padding:5px 10px}:host.invisible{height:0}\n"] }]
|
|
98
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
99
|
+
type: Optional
|
|
100
|
+
}, {
|
|
101
|
+
type: Inject,
|
|
102
|
+
args: [DATA_SOURCE]
|
|
103
|
+
}] }, { type: i1.EventBus, decorators: [{
|
|
104
|
+
type: Inject,
|
|
105
|
+
args: [PIZZAGNA_EVENT_BUS]
|
|
106
|
+
}] }]; }, propDecorators: { configuration: [{
|
|
107
|
+
type: Input
|
|
108
|
+
}], searchValue: [{
|
|
109
|
+
type: Input
|
|
110
|
+
}] } });
|
|
111
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2lkZ2V0LXNlYXJjaC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijo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25TZWFyY2goc2VhcmNoVGVybTogc3RyaW5nKSB7XG4gICAgICAgIHRoaXMuc2VhcmNoVmFsdWUgPSBzZWFyY2hUZXJtO1xuICAgICAgICB0aGlzLnNlYXJjaFRlcm0kLm5leHQoc2VhcmNoVGVybSk7XG4gICAgfVxuXG4gICAgcHVibGljIG5nT25EZXN0cm95KCkge1xuICAgICAgICB0aGlzLmV2ZW50QnVzLmdldFN0cmVhbShXSURHRVRfU0VBUkNIKS5uZXh0KHtcbiAgICAgICAgICAgIHBheWxvYWQ6IFwiXCIsXG4gICAgICAgIH0pO1xuICAgICAgICB0aGlzLm9uRGVzdHJveSQubmV4dCgpO1xuICAgICAgICB0aGlzLm9uRGVzdHJveSQuY29tcGxldGUoKTtcbiAgICB9XG5cbiAgICBwcml2YXRlIHJlZ2lzdGVyRmlsdGVycygpIHtcbiAgICAgICAgdGhpcy5kYXRhU291cmNlPy5yZWdpc3RlckNvbXBvbmVudCh7XG4gICAgICAgICAgICBzZWFyY2g6IHtcbiAgICAgICAgICAgICAgICBjb21wb25lbnRJbnN0YW5jZToge1xuICAgICAgICAgICAgICAgICAgICBnZXRGaWx0ZXJzOiAoKSA9PiAoe1xuICAgICAgICAgICAgICAgICAgICAgICAgdmFsdWU6IHRoaXMuc2VhcmNoVmFsdWUsXG4gICAgICAgICAgICAgICAgICAgIH0pLFxuICAgICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICB9LFxuICAgICAgICB9KTtcbiAgICB9XG5cbiAgICBwcml2YXRlIGhhbmRsZVNlYXJjaFRlcm1TdWJzY3JpcHRpb24oXG4gICAgICAgIHNlYXJjaE9uS2V5VXBDZmc6IElTZWFyY2hPbktleVVwIHwgdW5kZWZpbmVkXG4gICAgKSB7XG4gICAgICAgIHRoaXMuc2VhcmNoVGVybVN1YnNjcmlwdGlvbj8udW5zdWJzY3JpYmUoKTtcbiAgICAgICAgdGhpcy5zZWFyY2hUZXJtU3Vic2NyaXB0aW9uID0gdGhpcy5zZWFyY2hUZXJtJFxuICAgICAgICAgICAgLnBpcGUoXG4gICAgICAgICAgICAgICAgdGFrZVVudGlsKHRoaXMub25EZXN0cm95JCksXG4gICAgICAgICAgICAgICAgZGVib3VuY2VUaW1lKFxuICAgICAgICAgICAgICAgICAgICBzZWFyY2hPbktleVVwQ2ZnPy5kZWJvdW5jZVRpbWUgfHxcbiAgICAgICAgICAgICAgICAgICAgICAgIFdpZGdldFNlYXJjaENvbXBvbmVudC5kZWZhdWx0U2VhcmNoRGVib3VuY2VcbiAgICAgICAgICAgICAgICApXG4gICAgICAgICAgICApXG4gICAgICAgICAgICAuc3Vic2NyaWJlKChzZWFyY2hUZXJtKSA9PiB7XG4gICAgICAgICAgICAgICAgdGhpcy5ldmVudEJ1cy5nZXRTdHJlYW0oUkVGUkVTSCkubmV4dCh1bmRlZmluZWQpO1xuICAgICAgICAgICAgICAgIHRoaXMuZXZlbnRCdXMuZ2V0U3RyZWFtKFdJREdFVF9TRUFSQ0gpLm5leHQoe1xuICAgICAgICAgICAgICAgICAgICBwYXlsb2FkOiBzZWFyY2hUZXJtLFxuICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgfSk7XG4gICAgfVxufVxuIiwiPG51aS1zZWFyY2hcbiAgICBjbGFzcz1cInVubGltaXRlZC13aWR0aFwiXG4gICAgKm5nSWY9XCJlbmFibGVkXCJcbiAgICBbdmFsdWVdPVwic2VhcmNoVmFsdWVcIlxuICAgIChpbnB1dENoYW5nZSk9XCJvblNlYXJjaElucHV0Q2hhbmdlZCgkZXZlbnQpXCJcbiAgICAoY2FuY2VsKT1cIm9uU2VhcmNoKCRldmVudClcIlxuICAgIChzZWFyY2gpPVwib25TZWFyY2goJGV2ZW50KVwiXG4+PC9udWktc2VhcmNoPlxuIl19
|
|
File without changes
|
|
@@ -0,0 +1,183 @@
|
|
|
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 { Overlay } from "@angular/cdk/overlay";
|
|
21
|
+
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, forwardRef, Input, ViewChild, } from "@angular/core";
|
|
22
|
+
import { NG_VALUE_ACCESSOR } from "@angular/forms";
|
|
23
|
+
import { Subject } from "rxjs";
|
|
24
|
+
import { takeUntil, tap } from "rxjs/operators";
|
|
25
|
+
import { getOverlayPositions, NuiFormFieldControl, OverlayUtilitiesService, SelectV2Component, } from "@nova-ui/bits";
|
|
26
|
+
import { getColorValueByName } from "@nova-ui/charts";
|
|
27
|
+
import { ColorService } from "./color.service";
|
|
28
|
+
import * as i0 from "@angular/core";
|
|
29
|
+
import * as i1 from "./color.service";
|
|
30
|
+
import * as i2 from "@angular/cdk/overlay";
|
|
31
|
+
import * as i3 from "@nova-ui/bits";
|
|
32
|
+
import * as i4 from "@angular/common";
|
|
33
|
+
// Left and right paddings of .color-picker-container element
|
|
34
|
+
const CONTAINER_SIDE_PADDINGS_PX = 20;
|
|
35
|
+
// Width of the .box element
|
|
36
|
+
const BOX_WIDTH_PX = 30;
|
|
37
|
+
export class ColorPickerComponent {
|
|
38
|
+
constructor(changeDetection, colorService, cdkOverlay) {
|
|
39
|
+
this.changeDetection = changeDetection;
|
|
40
|
+
this.colorService = colorService;
|
|
41
|
+
this.cdkOverlay = cdkOverlay;
|
|
42
|
+
this.defaultColor = "var(--nui-color-bg-secondary)";
|
|
43
|
+
this.overlayUtilities = new OverlayUtilitiesService();
|
|
44
|
+
this.destroy$ = new Subject();
|
|
45
|
+
this.setStyles = (color) => ({
|
|
46
|
+
"background-color": color || this.defaultColor,
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
ngOnChanges(changes) {
|
|
50
|
+
if (changes.colors) {
|
|
51
|
+
this.colors = changes.colors.currentValue;
|
|
52
|
+
}
|
|
53
|
+
if (changes.colorPalette) {
|
|
54
|
+
this.colorPalette = changes.colorPalette.currentValue;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
ngAfterViewInit() {
|
|
58
|
+
if (this.value) {
|
|
59
|
+
this.select?.writeValue(this.value);
|
|
60
|
+
this.isBlackTick = this.determineBlackTick(this.value.toString());
|
|
61
|
+
}
|
|
62
|
+
this.palette =
|
|
63
|
+
this.colorPalette || this.colors.map((color) => ({ color }));
|
|
64
|
+
this.initOverlayUtilities();
|
|
65
|
+
this.select.valueSelected
|
|
66
|
+
.pipe(tap((value) => this.writeValue(value)), tap((value) => this.onChange(value)), takeUntil(this.destroy$))
|
|
67
|
+
.subscribe((value) => {
|
|
68
|
+
if (value) {
|
|
69
|
+
this.isBlackTick = this.determineBlackTick(value.toString());
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
const positions = getOverlayPositions();
|
|
73
|
+
const positionStrategy = this.cdkOverlay
|
|
74
|
+
.position()
|
|
75
|
+
.flexibleConnectedTo(this.select.elRef.nativeElement)
|
|
76
|
+
.withPush(false)
|
|
77
|
+
.withViewportMargin(0)
|
|
78
|
+
.withPositions([
|
|
79
|
+
positions["bottom-right"],
|
|
80
|
+
positions["bottom-left"],
|
|
81
|
+
positions["top-right"],
|
|
82
|
+
positions["top-left"],
|
|
83
|
+
]);
|
|
84
|
+
this.overlayConfig = {
|
|
85
|
+
maxWidth: this.cols
|
|
86
|
+
? this.cols * BOX_WIDTH_PX + CONTAINER_SIDE_PADDINGS_PX + "px"
|
|
87
|
+
: "260px",
|
|
88
|
+
positionStrategy,
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
ngOnDestroy() {
|
|
92
|
+
this.destroy$.next();
|
|
93
|
+
this.destroy$.complete();
|
|
94
|
+
}
|
|
95
|
+
onChange(value) { }
|
|
96
|
+
_onTouched() { }
|
|
97
|
+
writeValue(value) {
|
|
98
|
+
this.value = value;
|
|
99
|
+
this.select?.writeValue(value);
|
|
100
|
+
}
|
|
101
|
+
registerOnChange(fn) {
|
|
102
|
+
this.onChange = fn;
|
|
103
|
+
}
|
|
104
|
+
registerOnTouched(fn) {
|
|
105
|
+
this._onTouched = fn;
|
|
106
|
+
}
|
|
107
|
+
determineBlackTick(color) {
|
|
108
|
+
let hexColorValue = "#fff";
|
|
109
|
+
if (this.colorService.isHEX(color)) {
|
|
110
|
+
hexColorValue = color;
|
|
111
|
+
}
|
|
112
|
+
else {
|
|
113
|
+
hexColorValue =
|
|
114
|
+
getColorValueByName(color) ||
|
|
115
|
+
this.colorService.RGBToHexRGBToHex(color) ||
|
|
116
|
+
this.colorService.colorKeywordsToHex(color);
|
|
117
|
+
}
|
|
118
|
+
return this.getContrastOnBgColor(hexColorValue) === "#fff";
|
|
119
|
+
}
|
|
120
|
+
initOverlayUtilities() {
|
|
121
|
+
const dropdown = this.select.dropdown;
|
|
122
|
+
const config = { updateSize: false };
|
|
123
|
+
this.selectResizeObserver = this.overlayUtilities
|
|
124
|
+
.setPopupComponent(this.select.dropdown)
|
|
125
|
+
.getResizeObserver(config);
|
|
126
|
+
dropdown.show$.pipe(takeUntil(this.destroy$)).subscribe(() => {
|
|
127
|
+
this.overlayUtilities.syncWidth();
|
|
128
|
+
this.selectResizeObserver.observe(this.select.elRef.nativeElement);
|
|
129
|
+
});
|
|
130
|
+
dropdown.hide$.pipe(takeUntil(this.destroy$)).subscribe(() => {
|
|
131
|
+
this.selectResizeObserver.unobserve(this.select.elRef.nativeElement);
|
|
132
|
+
});
|
|
133
|
+
}
|
|
134
|
+
// convert hex code to rgb and compare the contrast of pure black and pure white on bgColor
|
|
135
|
+
getContrastOnBgColor(bgColor) {
|
|
136
|
+
if (!bgColor) {
|
|
137
|
+
return "";
|
|
138
|
+
}
|
|
139
|
+
return parseInt(bgColor.replace("#", ""), 16) > 0xffffff / 2
|
|
140
|
+
? "#fff"
|
|
141
|
+
: "#000";
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
/** @nocollapse */ ColorPickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColorPickerComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.ColorService }, { token: i2.Overlay }], target: i0.ɵɵFactoryTarget.Component });
|
|
145
|
+
/** @nocollapse */ ColorPickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ColorPickerComponent, selector: "nui-color-picker", inputs: { colors: "colors", colorPalette: "colorPalette", cols: "cols" }, providers: [
|
|
146
|
+
{
|
|
147
|
+
provide: NuiFormFieldControl,
|
|
148
|
+
useExisting: forwardRef((() => ColorPickerComponent)),
|
|
149
|
+
multi: true,
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
provide: NG_VALUE_ACCESSOR,
|
|
153
|
+
useExisting: forwardRef((() => ColorPickerComponent)),
|
|
154
|
+
multi: true,
|
|
155
|
+
},
|
|
156
|
+
ColorService,
|
|
157
|
+
], viewQueries: [{ propertyName: "select", first: true, predicate: i0.forwardRef(function () { return SelectV2Component; }), descendants: true }], usesOnChanges: true, ngImport: i0, template: "<nui-select-v2\n class=\"color-picker-select\"\n [overlayConfig]=\"overlayConfig\"\n [syncWidth]=\"false\"\n [displayValueTemplate]=\"colorSelectTemplate\"\n>\n <div class=\"color-picker-container\">\n <div class=\"d-inline-flex flex-wrap box\" *ngFor=\"let item of palette\">\n <nui-select-v2-option\n [value]=\"item?.color\"\n [displayValueContext]=\"item\"\n class=\"w-100 h-100 reset-box-sizes\"\n #option\n >\n <div\n class=\"color-picker-option\"\n [attr.title]=\"item?.label\"\n [class.color-picker-option--selected]=\"option?.selected\"\n >\n <div\n class=\"color-picker-option__color-box\"\n [ngStyle]=\"setStyles(item?.color)\"\n >\n <div\n class=\"color-picker-option__glyph\"\n [class.black-tick]=\"\n isBlackTick || item?.color === defaultColor\n \"\n *ngIf=\"option?.selected\"\n ></div>\n </div>\n </div>\n </nui-select-v2-option>\n </div>\n </div>\n</nui-select-v2>\n\n<ng-template #colorSelectTemplate let-item let-open=\"open\">\n <div class=\"color-picker-input\">\n <div class=\"color-picker-input__box\" [attr.title]=\"item?.label\">\n <div\n class=\"color-picker-input__color-box\"\n [ngStyle]=\"setStyles(item?.color)\"\n ></div>\n </div>\n <div class=\"color-picker-input__toggle\">\n <nui-icon\n [style.transform]=\"open ? 'rotate(180deg)' : ''\"\n icon=\"caret-down\"\n ></nui-icon>\n </div>\n </div>\n</ng-template>\n", styles: [".box{width:30px;height:30px}.color-picker-container{padding:5px 10px}.color-picker-select{width:-moz-fit-content;width:fit-content;min-width:unset;cursor:pointer}.color-picker-input{display:flex}.color-picker-input__box{display:flex;align-items:center;flex-grow:1}.color-picker-input__color-box{width:16px;height:16px;border-radius:3px;border:1px solid;border-color:var(--nui-color-line-default,#d9d9d9);width:17px;height:17px;flex-grow:1;margin:0 10px}.color-picker-input__toggle{display:flex;justify-content:center;align-items:center;border-left:1px solid;border-left-color:var(--nui-color-line-default,#d9d9d9);width:30px;height:30px}.color-picker-option{display:flex;justify-content:center;align-items:center;height:100%}.color-picker-option__color-box{width:16px;height:16px;border-radius:3px;border:1px solid;border-color:var(--nui-color-line-default,#d9d9d9);padding:1px 0 0 1px}.color-picker-option--selected{background-color:var(--nui-color-selected,rgba(0, 196, 210, .1))}.color-picker-option--selected:focus{outline:none}.color-picker-option__glyph{width:100%;height:100%;background-size:12px;background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMjAgMjAiIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMjAgMjA7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHN0eWxlIHR5cGU9InRleHQvY3NzIj4KCS54dWktY2hlY2tib3gtZ2x5cGh7ZmlsbDpub25lO3N0cm9rZTojRkZGRkZGO3N0cm9rZS13aWR0aDozO3N0cm9rZS1taXRlcmxpbWl0OjEwO3N0cm9rZS1saW5lY2FwOnJvdW5kO30KPC9zdHlsZT4KPHBvbHlsaW5lIGNsYXNzPSJ4dWktY2hlY2tib3gtZ2x5cGgiIHBvaW50cz0iMTcsNCA4LDE1IDMsOSAiLz4KPC9zdmc+);background-repeat:no-repeat}.color-picker-option__glyph.black-tick{filter:invert(1) grayscale(1) contrast(100)}\n"], components: [{ type: i3.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { type: i3.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["value", "index", "displayValueContext", "outfiltered"] }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["iconColor", "brushType", "iconHoverColor", "iconSize", "cssClass", "fillContainer", "status", "childStatus", "icon", "counter"] }], directives: [{ type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
158
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColorPickerComponent, decorators: [{
|
|
159
|
+
type: Component,
|
|
160
|
+
args: [{ selector: "nui-color-picker", changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
161
|
+
{
|
|
162
|
+
provide: NuiFormFieldControl,
|
|
163
|
+
useExisting: forwardRef((() => ColorPickerComponent)),
|
|
164
|
+
multi: true,
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
provide: NG_VALUE_ACCESSOR,
|
|
168
|
+
useExisting: forwardRef((() => ColorPickerComponent)),
|
|
169
|
+
multi: true,
|
|
170
|
+
},
|
|
171
|
+
ColorService,
|
|
172
|
+
], template: "<nui-select-v2\n class=\"color-picker-select\"\n [overlayConfig]=\"overlayConfig\"\n [syncWidth]=\"false\"\n [displayValueTemplate]=\"colorSelectTemplate\"\n>\n <div class=\"color-picker-container\">\n <div class=\"d-inline-flex flex-wrap box\" *ngFor=\"let item of palette\">\n <nui-select-v2-option\n [value]=\"item?.color\"\n [displayValueContext]=\"item\"\n class=\"w-100 h-100 reset-box-sizes\"\n #option\n >\n <div\n class=\"color-picker-option\"\n [attr.title]=\"item?.label\"\n [class.color-picker-option--selected]=\"option?.selected\"\n >\n <div\n class=\"color-picker-option__color-box\"\n [ngStyle]=\"setStyles(item?.color)\"\n >\n <div\n class=\"color-picker-option__glyph\"\n [class.black-tick]=\"\n isBlackTick || item?.color === defaultColor\n \"\n *ngIf=\"option?.selected\"\n ></div>\n </div>\n </div>\n </nui-select-v2-option>\n </div>\n </div>\n</nui-select-v2>\n\n<ng-template #colorSelectTemplate let-item let-open=\"open\">\n <div class=\"color-picker-input\">\n <div class=\"color-picker-input__box\" [attr.title]=\"item?.label\">\n <div\n class=\"color-picker-input__color-box\"\n [ngStyle]=\"setStyles(item?.color)\"\n ></div>\n </div>\n <div class=\"color-picker-input__toggle\">\n <nui-icon\n [style.transform]=\"open ? 'rotate(180deg)' : ''\"\n icon=\"caret-down\"\n ></nui-icon>\n </div>\n </div>\n</ng-template>\n", styles: [".box{width:30px;height:30px}.color-picker-container{padding:5px 10px}.color-picker-select{width:-moz-fit-content;width:fit-content;min-width:unset;cursor:pointer}.color-picker-input{display:flex}.color-picker-input__box{display:flex;align-items:center;flex-grow:1}.color-picker-input__color-box{width:16px;height:16px;border-radius:3px;border:1px solid;border-color:var(--nui-color-line-default,#d9d9d9);width:17px;height:17px;flex-grow:1;margin:0 10px}.color-picker-input__toggle{display:flex;justify-content:center;align-items:center;border-left:1px solid;border-left-color:var(--nui-color-line-default,#d9d9d9);width:30px;height:30px}.color-picker-option{display:flex;justify-content:center;align-items:center;height:100%}.color-picker-option__color-box{width:16px;height:16px;border-radius:3px;border:1px solid;border-color:var(--nui-color-line-default,#d9d9d9);padding:1px 0 0 1px}.color-picker-option--selected{background-color:var(--nui-color-selected,rgba(0, 196, 210, .1))}.color-picker-option--selected:focus{outline:none}.color-picker-option__glyph{width:100%;height:100%;background-size:12px;background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMjAgMjAiIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMjAgMjA7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHN0eWxlIHR5cGU9InRleHQvY3NzIj4KCS54dWktY2hlY2tib3gtZ2x5cGh7ZmlsbDpub25lO3N0cm9rZTojRkZGRkZGO3N0cm9rZS13aWR0aDozO3N0cm9rZS1taXRlcmxpbWl0OjEwO3N0cm9rZS1saW5lY2FwOnJvdW5kO30KPC9zdHlsZT4KPHBvbHlsaW5lIGNsYXNzPSJ4dWktY2hlY2tib3gtZ2x5cGgiIHBvaW50cz0iMTcsNCA4LDE1IDMsOSAiLz4KPC9zdmc+);background-repeat:no-repeat}.color-picker-option__glyph.black-tick{filter:invert(1) grayscale(1) contrast(100)}\n"] }]
|
|
173
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1.ColorService }, { type: i2.Overlay }]; }, propDecorators: { colors: [{
|
|
174
|
+
type: Input
|
|
175
|
+
}], colorPalette: [{
|
|
176
|
+
type: Input
|
|
177
|
+
}], cols: [{
|
|
178
|
+
type: Input
|
|
179
|
+
}], select: [{
|
|
180
|
+
type: ViewChild,
|
|
181
|
+
args: [forwardRef(() => SelectV2Component)]
|
|
182
|
+
}] } });
|
|
183
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29sb3ItcGlja2VyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9saWIvY29uZmlndXJhdG9yL2NvbXBvbmVudHMvY29sb3ItcGlja2VyL2NvbG9yLXBpY2tlci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uL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N0LnZhbHVlU2VsZWN0ZWRcbiAgICAgICAgICAgIC5waXBlKFxuICAgICAgICAgICAgICAgIHRhcCgodmFsdWUpID0+IHRoaXMud3JpdGVWYWx1ZSh2YWx1ZSBhcyBhbnkpKSxcbiAgICAgICAgICAgICAgICB0YXAoKHZhbHVlKSA9PiB0aGlzLm9uQ2hhbmdlKHZhbHVlKSksXG4gICAgICAgICAgICAgICAgdGFrZVVudGlsKHRoaXMuZGVzdHJveSQpXG4gICAgICAgICAgICApXG4gICAgICAgICAgICAuc3Vic2NyaWJlKCh2YWx1ZSkgPT4ge1xuICAgICAgICAgICAgICAgIGlmICh2YWx1ZSkge1xuICAgICAgICAgICAgICAgICAgICB0aGlzLmlzQmxhY2tUaWNrID0gdGhpcy5kZXRlcm1pbmVCbGFja1RpY2soXG4gICAgICAgICAgICAgICAgICAgICAgICB2YWx1ZS50b1N0cmluZygpXG4gICAgICAgICAgICAgICAgICAgICk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfSk7XG5cbiAgICAgICAgY29uc3QgcG9zaXRpb25zID0gZ2V0T3ZlcmxheVBvc2l0aW9ucygpO1xuXG4gICAgICAgIGNvbnN0IHBvc2l0aW9uU3RyYXRlZ3kgPSB0aGlzLmNka092ZXJsYXlcbiAgICAgICAgICAgIC5wb3NpdGlvbigpXG4gICAgICAgICAgICAuZmxleGlibGVDb25uZWN0ZWRUbyh0aGlzLnNlbGVjdC5lbFJlZi5uYXRpdmVFbGVtZW50KVxuICAgICAgICAgICAgLndpdGhQdXNoKGZhbHNlKVxuICAgICAgICAgICAgLndpdGhWaWV3cG9ydE1hcmdpbigwKVxuICAgICAgICAgICAgLndpdGhQb3NpdGlvbnMoW1xuICAgICAgICAgICAgICAgIHBvc2l0aW9uc1tcImJvdHRvbS1yaWdodFwiXSxcbiAgICAgICAgICAgICAgICBwb3NpdGlvbnNbXCJib3R0b20tbGVmdFwiXSxcbiAgICAgICAgICAgICAgICBwb3NpdGlvbnNbXCJ0b3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Db25maWddPVwib3ZlcmxheUNvbmZpZ1wiXG4gICAgW3N5bmNXaWR0aF09XCJmYWxzZVwiXG4gICAgW2Rpc3BsYXlWYWx1ZVRlbXBsYXRlXT1cImNvbG9yU2VsZWN0VGVtcGxhdGVcIlxuPlxuICAgIDxkaXYgY2xhc3M9XCJjb2xvci1waWNrZXItY29udGFpbmVyXCI+XG4gICAgICAgIDxkaXYgY2xhc3M9XCJkLWlubGluZS1mbGV4IGZsZXgtd3JhcCBib3hcIiAqbmdGb3I9XCJsZXQgaXRlbSBvZiBwYWxldHRlXCI+XG4gICAgICAgICAgICA8bnVpLXNlbGVjdC12Mi1vcHRpb25cbiAgICAgICAgICAgICAgICBbdmFsdWVdPVwiaXRlbT8uY29sb3JcIlxuICAgICAgICAgICAgICAgIFtkaXNwbGF5VmFsdWVDb250ZXh0XT1cIml0ZW1cIlxuICAgICAgICAgICAgICAgIGNsYXNzPVwidy0xMDAgaC0xMDAgcmVzZXQtYm94LXNpemVzXCJcbiAgICAgICAgICAgICAgICAjb3B0aW9uXG4gICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgPGRpdlxuICAgICAgICAgICAgICAgICAgICBjbGFzcz1cImNvbG9yLXBpY2tlci1vcHRpb25cIlxuICAgICAgICAgICAgICAgICAgICBbYXR0ci50aXRsZV09XCJpdGVtPy5sYWJlbFwiXG4gICAgICAgICAgICAgICAgICAgIFtjbGFzcy5jb2xvci1waWNrZXItb3B0aW9uLS1zZWxlY3RlZF09XCJvcHRpb24/LnNlbGVjdGVkXCJcbiAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgIDxkaXZcbiAgICAgICAgICAgICAgICAgICAgICAgIGNsYXNzPVwiY29sb3ItcGlja2VyLW9wdGlvbl9fY29sb3ItYm94XCJcbiAgICAgICAgICAgICAgICAgICAgICAgIFtuZ1N0eWxlXT1cInNldFN0eWxlcyhpdGVtPy5jb2xvcilcIlxuICAgICAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgICAgICA8ZGl2XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3M9XCJjb2xvci1waWNrZXItb3B0aW9uX19nbHlwaFwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgW2NsYXNzLmJsYWNrLXRpY2tdPVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlzQmxhY2tUaWNrIHx8IGl0ZW0/LmNvbG9yID09PSBkZWZhdWx0Q29sb3JcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICpuZ0lmPVwib3B0aW9uPy5zZWxlY3RlZFwiXG4gICAgICAgICAgICAgICAgICAgICAgICA+PC9kaXY+XG4gICAgICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgPC9udWktc2VsZWN0LXYyLW9wdGlvbj5cbiAgICAgICAgPC9kaXY+XG4gICAgPC9kaXY+XG48L251aS1zZWxlY3QtdjI+XG5cbjxuZy10ZW1wbGF0ZSAjY29sb3JTZWxlY3RUZW1wbGF0ZSBsZXQtaXRlbSBsZXQtb3Blbj1cIm9wZW5cIj5cbiAgICA8ZGl2IGNsYXNzPVwiY29sb3ItcGlja2VyLWlucHV0XCI+XG4gICAgICAgIDxkaXYgY2xhc3M9XCJjb2xvci1waWNrZXItaW5wdXRfX2JveFwiIFthdHRyLnRpdGxlXT1cIml0ZW0/LmxhYmVsXCI+XG4gICAgICAgICAgICA8ZGl2XG4gICAgICAgICAgICAgICAgY2xhc3M9XCJjb2xvci1waWNrZXItaW5wdXRfX2NvbG9yLWJveFwiXG4gICAgICAgICAgICAgICAgW25nU3R5bGVdPVwic2V0U3R5bGVzKGl0ZW0/LmNvbG9yKVwiXG4gICAgICAgICAgICA+PC9kaXY+XG4gICAgICAgIDwvZGl2PlxuICAgICAgICA8ZGl2IGNsYXNzPVwiY29sb3ItcGlja2VyLWlucHV0X190b2dnbGVcIj5cbiAgICAgICAgICAgIDxudWktaWNvblxuICAgICAgICAgICAgICAgIFtzdHlsZS50cmFuc2Zvcm1dPVwib3BlbiA/ICdyb3RhdGUoMTgwZGVnKScgOiAnJ1wiXG4gICAgICAgICAgICAgICAgaWNvbj1cImNhcmV0LWRvd25cIlxuICAgICAgICAgICAgPjwvbnVpLWljb24+XG4gICAgICAgIDwvZGl2PlxuICAgIDwvZGl2PlxuPC9uZy10ZW1wbGF0ZT5cbiJdfQ==
|
|
@@ -48,9 +48,9 @@ export class ColorService {
|
|
|
48
48
|
return !isNil(hexOfColor) ? hexOfColor : "";
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
|
-
/** @nocollapse */ ColorService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
52
|
-
/** @nocollapse */ ColorService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
53
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
51
|
+
/** @nocollapse */ ColorService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
52
|
+
/** @nocollapse */ ColorService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColorService });
|
|
53
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColorService, decorators: [{
|
|
54
54
|
type: Injectable
|
|
55
55
|
}] });
|
|
56
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
56
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29sb3Iuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9saWIvY29uZmlndXJhdG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YihyLGcsYilcIiBpbnRvIFtyLGcsYl1cbiAgICAgICAgY29uc3QgcmdiUGFydHMgPSByZ2JDb2xvci5zdWJzdHIoNCkuc3BsaXQoXCIpXCIpWzBdLnNwbGl0KHNlcCk7XG5cbiAgICAgICAgbGV0IHIgPSAoK3JnYlBhcnRzWzBdKS50b1N0cmluZygxNiksXG4gICAgICAgICAgICBnID0gKCtyZ2JQYXJ0c1sxXSkudG9TdHJpbmcoMTYpLFxuICAgICAgICAgICAgYiA9ICgrcmdiUGFydHNbMl0pLnRvU3RyaW5nKDE2KTtcblxuICAgICAgICBpZiAoci5sZW5ndGggPT09IDEpIHtcbiAgICAgICAgICAgIHIgPSBcIjBcIiArIHI7XG4gICAgICAgIH1cbiAgICAgICAgaWYgKGcubGVuZ3RoID09PSAxKSB7XG4gICAgICAgICAgICBnID0gXCIwXCIgKyBnO1xuICAgICAgICB9XG4gICAgICAgIGlmIChiLmxlbmd0aCA9PT0gMSkge1xuICAgICAgICAgICAgYiA9IFwiMFwiICsgYjtcbiAgICAgICAgfVxuXG4gICAgICAgIHJldHVybiBcIiNcIiArIHIgKyBnICsgYjtcbiAgICB9XG5cbiAgICBwdWJsaWMgaXNIRVgoaGV4Q29sb3I6IHN0cmluZyk6IGJvb2xlYW4ge1xuICAgICAgICByZXR1cm4gKFxuICAgICAgICAgICAgL14jWzAtOUEtRl17Nn0kL2kudGVzdChoZXhDb2xvcikgfHxcbiAgICAgICAgICAgIC9eIyhbMC05QS1GXXszfSl7MSwyfSQvaS50ZXN0KGhleENvbG9yKVxuICAgICAgICApO1xuICAgIH1cblxuICAgIHB1YmxpYyBjb2xvcktleXdvcmRzVG9IZXgoY29sb3I6IHN0cmluZyk6IHN0cmluZyB7XG4gICAgICAgIGNvbnN0IGhleE9mQ29sb3IgPSBIVE1MX0NPTE9SUy5nZXQoY29sb3IpO1xuXG4gICAgICAgIHJldHVybiAhaXNOaWwoaGV4T2ZDb2xvcikgPyBoZXhPZkNvbG9yIDogXCJcIjtcbiAgICB9XG59XG4iXX0=
|
|
@@ -0,0 +1,116 @@
|
|
|
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 { Portal } from "@angular/cdk/portal";
|
|
21
|
+
import { ChangeDetectorRef, Component, EventEmitter, Input, Output, ViewChild, } from "@angular/core";
|
|
22
|
+
import { Subject } from "rxjs";
|
|
23
|
+
import { OVERLAY_CONTAINER } from "@nova-ui/bits";
|
|
24
|
+
import { PizzagnaComponent } from "../../../pizzagna/components/pizzagna/pizzagna.component";
|
|
25
|
+
import { WidgetTypesService } from "../../../services/widget-types.service";
|
|
26
|
+
import { PreviewService } from "../../services/preview.service";
|
|
27
|
+
import * as i0 from "@angular/core";
|
|
28
|
+
import * as i1 from "../../../services/widget-types.service";
|
|
29
|
+
import * as i2 from "@nova-ui/bits";
|
|
30
|
+
import * as i3 from "../../../common/components/preview-overlay/preview-overlay.component";
|
|
31
|
+
import * as i4 from "../../../pizzagna/components/pizzagna/pizzagna.component";
|
|
32
|
+
import * as i5 from "@angular/common";
|
|
33
|
+
import * as i6 from "@angular/cdk/portal";
|
|
34
|
+
import * as i7 from "../../pipe/pizzagna-root.pipe";
|
|
35
|
+
/** @ignore */
|
|
36
|
+
export class ConfiguratorComponent {
|
|
37
|
+
constructor(widgetTypesService, changeDetector) {
|
|
38
|
+
this.widgetTypesService = widgetTypesService;
|
|
39
|
+
this.changeDetector = changeDetector;
|
|
40
|
+
// eslint-disable-next-line @angular-eslint/no-output-native
|
|
41
|
+
this.result = new EventEmitter();
|
|
42
|
+
this.formPortalAttached = new EventEmitter();
|
|
43
|
+
this.submitError = new Subject();
|
|
44
|
+
this.destroy$ = new Subject();
|
|
45
|
+
}
|
|
46
|
+
// ----- LIFECYCLE -----
|
|
47
|
+
ngOnInit() {
|
|
48
|
+
if (!this.previewWidget) {
|
|
49
|
+
this.previewWidget = {
|
|
50
|
+
// TODO: Replace null with an string or change the IWidget prop definition
|
|
51
|
+
// @ts-ignore: Type 'null' is not assignable to type 'string'.
|
|
52
|
+
id: null,
|
|
53
|
+
type: "previewPlaceholder",
|
|
54
|
+
pizzagna: this.widgetTypesService.getWidgetType("previewPlaceholder")
|
|
55
|
+
.widget,
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
ngOnDestroy() {
|
|
60
|
+
this.destroy$.next();
|
|
61
|
+
this.destroy$.complete();
|
|
62
|
+
}
|
|
63
|
+
// -----
|
|
64
|
+
handleSubmitError() {
|
|
65
|
+
this.submitError.next();
|
|
66
|
+
}
|
|
67
|
+
onFormPortalAttached(componentRef) {
|
|
68
|
+
this.formPortalAttached.emit(componentRef);
|
|
69
|
+
}
|
|
70
|
+
updateWidget(previewWidget) {
|
|
71
|
+
this.previewWidget = previewWidget;
|
|
72
|
+
this.changeDetector.markForCheck();
|
|
73
|
+
}
|
|
74
|
+
formCancel() {
|
|
75
|
+
this.result.next(null);
|
|
76
|
+
}
|
|
77
|
+
formSubmit() {
|
|
78
|
+
this.result.next(this.previewWidget);
|
|
79
|
+
}
|
|
80
|
+
onPizzagnaChange(pizzagna) {
|
|
81
|
+
if (this.previewWidget) {
|
|
82
|
+
this.previewWidget.pizzagna = pizzagna;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
ConfiguratorComponent.lateLoadKey = "ConfiguratorComponent";
|
|
87
|
+
/** @nocollapse */ ConfiguratorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ConfiguratorComponent, deps: [{ token: i1.WidgetTypesService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
88
|
+
/** @nocollapse */ ConfiguratorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ConfiguratorComponent, selector: "nui-configurator", inputs: { formPortal: "formPortal", previewWidget: "previewWidget" }, outputs: { result: "result", formPortalAttached: "formPortalAttached" }, host: { classAttribute: "nui-configurator" }, providers: [
|
|
89
|
+
PreviewService,
|
|
90
|
+
{
|
|
91
|
+
provide: OVERLAY_CONTAINER,
|
|
92
|
+
useValue: ".nui-dashwiz-step--active .configurator-scrollable",
|
|
93
|
+
},
|
|
94
|
+
], viewQueries: [{ propertyName: "previewPizzagnaComponent", first: true, predicate: ["previewPizzagnaComponent"], descendants: true, static: true }], ngImport: i0, template: "<div class=\"nui-configurator__backdrop\"></div>\n<div class=\"nui-configurator__content\">\n <nui-panel\n orientation=\"right\"\n paneSize=\"30vw\"\n paneMinSize=\"20vw\"\n paneMaxSize=\"80vw\"\n isResizable=\"true\"\n class=\"h-100\"\n [headerPadding]=\"false\"\n [sidePaneBodyPadding]=\"false\"\n >\n <div\n class=\"nui-configurator__preview d-flex align-items-center justify-content-center\"\n >\n <div class=\"nui-configurator__preview-area\">\n <nui-preview-overlay></nui-preview-overlay>\n <nui-pizzagna\n *ngIf=\"previewWidget?.pizzagna\"\n #previewPizzagnaComponent\n class=\"flex-grow-1 w-100\"\n [rootNode]=\"previewWidget | nuiPizzagnaRoot: 'widget'\"\n [pizzagna]=\"previewWidget?.pizzagna\"\n (pizzagnaChange)=\"onPizzagnaChange($event)\"\n >\n </nui-pizzagna>\n </div>\n </div>\n <div nuiPanelEmbeddedBody class=\"nui-configurator__body\">\n <ng-container\n [cdkPortalOutlet]=\"formPortal\"\n (attached)=\"onFormPortalAttached($event)\"\n ></ng-container>\n </div>\n </nui-panel>\n</div>\n", styles: [".nui-configurator__backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:var(--nui-color-overlay-modal,rgba(17, 17, 17, .5));opacity:.5;filter:alpha(opacity=50)}.nui-configurator__content{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040}.nui-configurator__heading{width:100%;display:flex;justify-content:space-between;align-items:center;padding:15px;border-bottom:1px solid #d9d9d9}.nui-configurator__body{overflow-anchor:none;height:100vh}.nui-configurator__preview{height:100vh}.nui-configurator__preview-area{display:flex;width:80%;position:relative;background-color:var(--nui-color-bg-content_popover,#fff);border:1px solid;border-color:var(--nui-color-line-default,#d9d9d9);margin:auto;min-height:40vh;max-height:80vh;overflow:hidden}\n"], components: [{ type: i2.PanelComponent, selector: "nui-panel", inputs: ["panelMode", "heading", "isCollapsed", "displacePrimaryContent", "isHidden", "orientation", "isResizable", "headerPadding", "sidePaneBodyPadding", "darkBorder", "paneSize", "panelBackgroundColor", "paneCollapsedSize", "paneMinSize", "paneMaxSize"], outputs: ["collapsed", "hidden"] }, { type: i3.PreviewOverlayComponent, selector: "nui-preview-overlay" }, { type: i4.PizzagnaComponent, selector: "nui-pizzagna", inputs: ["rootNode", "pizzagna", "outputs"], outputs: ["pizzagnaChange", "output"] }], directives: [{ type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], pipes: { "nuiPizzagnaRoot": i7.PizzagnaRootPipe } });
|
|
95
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ConfiguratorComponent, decorators: [{
|
|
96
|
+
type: Component,
|
|
97
|
+
args: [{ selector: "nui-configurator", providers: [
|
|
98
|
+
PreviewService,
|
|
99
|
+
{
|
|
100
|
+
provide: OVERLAY_CONTAINER,
|
|
101
|
+
useValue: ".nui-dashwiz-step--active .configurator-scrollable",
|
|
102
|
+
},
|
|
103
|
+
], host: { class: "nui-configurator" }, template: "<div class=\"nui-configurator__backdrop\"></div>\n<div class=\"nui-configurator__content\">\n <nui-panel\n orientation=\"right\"\n paneSize=\"30vw\"\n paneMinSize=\"20vw\"\n paneMaxSize=\"80vw\"\n isResizable=\"true\"\n class=\"h-100\"\n [headerPadding]=\"false\"\n [sidePaneBodyPadding]=\"false\"\n >\n <div\n class=\"nui-configurator__preview d-flex align-items-center justify-content-center\"\n >\n <div class=\"nui-configurator__preview-area\">\n <nui-preview-overlay></nui-preview-overlay>\n <nui-pizzagna\n *ngIf=\"previewWidget?.pizzagna\"\n #previewPizzagnaComponent\n class=\"flex-grow-1 w-100\"\n [rootNode]=\"previewWidget | nuiPizzagnaRoot: 'widget'\"\n [pizzagna]=\"previewWidget?.pizzagna\"\n (pizzagnaChange)=\"onPizzagnaChange($event)\"\n >\n </nui-pizzagna>\n </div>\n </div>\n <div nuiPanelEmbeddedBody class=\"nui-configurator__body\">\n <ng-container\n [cdkPortalOutlet]=\"formPortal\"\n (attached)=\"onFormPortalAttached($event)\"\n ></ng-container>\n </div>\n </nui-panel>\n</div>\n", styles: [".nui-configurator__backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:var(--nui-color-overlay-modal,rgba(17, 17, 17, .5));opacity:.5;filter:alpha(opacity=50)}.nui-configurator__content{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040}.nui-configurator__heading{width:100%;display:flex;justify-content:space-between;align-items:center;padding:15px;border-bottom:1px solid #d9d9d9}.nui-configurator__body{overflow-anchor:none;height:100vh}.nui-configurator__preview{height:100vh}.nui-configurator__preview-area{display:flex;width:80%;position:relative;background-color:var(--nui-color-bg-content_popover,#fff);border:1px solid;border-color:var(--nui-color-line-default,#d9d9d9);margin:auto;min-height:40vh;max-height:80vh;overflow:hidden}\n"] }]
|
|
104
|
+
}], ctorParameters: function () { return [{ type: i1.WidgetTypesService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { formPortal: [{
|
|
105
|
+
type: Input
|
|
106
|
+
}], previewWidget: [{
|
|
107
|
+
type: Input
|
|
108
|
+
}], result: [{
|
|
109
|
+
type: Output
|
|
110
|
+
}], formPortalAttached: [{
|
|
111
|
+
type: Output
|
|
112
|
+
}], previewPizzagnaComponent: [{
|
|
113
|
+
type: ViewChild,
|
|
114
|
+
args: ["previewPizzagnaComponent", { static: true }]
|
|
115
|
+
}] } });
|
|
116
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlndXJhdG9yLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9saWIvY29uZmlndXJhdG9yL2NvbXBvbmVudHMvY29uZmlndXJhdG9yL2NvbmZpZ3VyYXRvci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGliL2NvbmZpZ3VyYXRvci9jb21wb25lbnRzL2NvbmZpZ3VyYXRvci9jb25maWd1cmF0b3IuY29tcG9uZW50Lmh0bW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pZXctb3ZlcmxheT48L251aS1wcmV2aWV3LW92ZXJsYXk+XG4gICAgICAgICAgICAgICAgPG51aS1waXp6YWduYVxuICAgICAgICAgICAgICAgICAgICAqbmdJZj1cInByZXZpZXdXaWRnZXQ/LnBpenphZ25hXCJcbiAgICAgICAgICAgICAgICAgICAgI3ByZXZpZXdQaXp6YWduYUNvbXBvbmVudFxuICAgICAgICAgICAgICAgICAgICBjbGFzcz1cImZsZXgtZ3Jvdy0xIHctMTAwXCJcbiAgICAgICAgICAgICAgICAgICAgW3Jvb3ROb2RlXT1cInByZXZpZXdXaWRnZXQgfCBudWlQaXp6YWduYVJvb3Q6ICd3aWRnZXQnXCJcbiAgICAgICAgICAgICAgICAgICAgW3BpenphZ25hXT1cInByZXZpZXdXaWRnZXQ/LnBpenphZ25hXCJcbiAgICAgICAgICAgICAgICAgICAgKHBpenphZ25hQ2hhbmdlKT1cIm9uUGl6emFnbmFDaGFuZ2UoJGV2ZW50KVwiXG4gICAgICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgIDwvbnVpLXBpenphZ25hPlxuICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgIDwvZGl2PlxuICAgICAgICA8ZGl2IG51aVBhbmVsRW1iZWRkZWRCb2R5IGNsYXNzPVwibnVpLWNvbmZpZ3VyYXRvcl9fYm9keVwiPlxuICAgICAgICAgICAgPG5nLWNvbnRhaW5lclxuICAgICAgICAgICAgICAgIFtjZGtQb3J0YWxPdXRsZXRdPVwiZm9ybVBvcnRhbFwiXG4gICAgICAgICAgICAgICAgKGF0dGFjaGVkKT1cIm9uRm9ybVBvcnRhbEF0dGFjaGVkKCRldmVudClcIlxuICAgICAgICAgICAgPjwvbmctY29udGFpbmVyPlxuICAgICAgICA8L2Rpdj5cbiAgICA8L251aS1wYW5lbD5cbjwvZGl2PlxuIl19
|
|
@@ -0,0 +1,30 @@
|
|
|
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 { Component } from "@angular/core";
|
|
21
|
+
import * as i0 from "@angular/core";
|
|
22
|
+
export class DropAreaComponent {
|
|
23
|
+
}
|
|
24
|
+
/** @nocollapse */ DropAreaComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropAreaComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
25
|
+
/** @nocollapse */ DropAreaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: DropAreaComponent, selector: "nui-drop-area", ngImport: i0, template: ``, isInline: true, styles: [":host{display:flex;align-items:center;justify-content:center;border:3px solid;border-color:var(--nui-color-selected-contrast,#00c4d2);background-color:var(--nui-color-busy-default,rgba(0, 196, 210, .2))}\n"] });
|
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropAreaComponent, decorators: [{
|
|
27
|
+
type: Component,
|
|
28
|
+
args: [{ selector: "nui-drop-area", template: ``, styles: [":host{display:flex;align-items:center;justify-content:center;border:3px solid;border-color:var(--nui-color-selected-contrast,#00c4d2);background-color:var(--nui-color-busy-default,rgba(0, 196, 210, .2))}\n"] }]
|
|
29
|
+
}] });
|
|
30
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJvcC1hcmVhLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9saWIvY29uZmlndXJhdG9yL2NvbXBvbmVudHMvZHJvcC1hcmVhL2Ryb3AtYXJlYS5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEseURBQXlEO0FBQ3pELEVBQUU7QUFDRiwrRUFBK0U7QUFDL0UsNEVBQTRFO0FBQzVFLDhFQUE4RTtBQUM5RSwrRUFBK0U7QUFDL0UsOEVBQThFO0FBQzlFLDREQUE0RDtBQUM1RCxFQUFFO0FBQ0YsNkVBQTZFO0FBQzdFLHVEQUF1RDtBQUN2RCxFQUFFO0FBQ0YsNkVBQTZFO0FBQzdFLDRFQUE0RTtBQUM1RSwrRUFBK0U7QUFDL0UsMEVBQTBFO0FBQzFFLGlGQUFpRjtBQUNqRiw2RUFBNkU7QUFDN0UsaUJBQWlCO0FBRWpCLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBTzFDLE1BQU0sT0FBTyxpQkFBaUI7O2tJQUFqQixpQkFBaUI7c0hBQWpCLGlCQUFpQixxREFIaEIsRUFBRTs0RkFHSCxpQkFBa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