@nova-ui/dashboards 12.0.17 → 13.0.1
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,167 @@
|
|
|
1
|
+
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
2
|
+
//
|
|
3
|
+
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4
|
+
// of this software and associated documentation files (the "Software"), to
|
|
5
|
+
// deal in the Software without restriction, including without limitation the
|
|
6
|
+
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
7
|
+
// sell copies of the Software, and to permit persons to whom the Software is
|
|
8
|
+
// furnished to do so, subject to the following conditions:
|
|
9
|
+
//
|
|
10
|
+
// The above copyright notice and this permission notice shall be included in
|
|
11
|
+
// all copies or substantial portions of the Software.
|
|
12
|
+
//
|
|
13
|
+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
14
|
+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
15
|
+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
16
|
+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17
|
+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
18
|
+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
19
|
+
// THE SOFTWARE.
|
|
20
|
+
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, EventEmitter, Inject, Input, Output, } from "@angular/core";
|
|
21
|
+
import { FormBuilder } from "@angular/forms";
|
|
22
|
+
import { Subject } from "rxjs";
|
|
23
|
+
import { takeUntil } from "rxjs/operators";
|
|
24
|
+
import { EventBus } from "@nova-ui/bits";
|
|
25
|
+
import { ProportionalWidgetChartTypes } from "../../../../../components/proportional-widget/types";
|
|
26
|
+
import { ProportionalContentAggregatorsRegistryService } from "../../../../../services/proportional-content-aggregators-registry.service";
|
|
27
|
+
import { ProportionalDonutContentFormattersRegistryService } from "../../../../../services/table-formatter-registry.service";
|
|
28
|
+
import { PIZZAGNA_EVENT_BUS } from "../../../../../types";
|
|
29
|
+
import { DATA_SOURCE_CREATED } from "../../../../types";
|
|
30
|
+
import * as i0 from "@angular/core";
|
|
31
|
+
import * as i1 from "@angular/forms";
|
|
32
|
+
import * as i2 from "../../../../../services/table-formatter-registry.service";
|
|
33
|
+
import * as i3 from "../../../../../services/proportional-content-aggregators-registry.service";
|
|
34
|
+
import * as i4 from "../../../widget-editor-accordion/widget-editor-accordion.component";
|
|
35
|
+
import * as i5 from "@nova-ui/bits";
|
|
36
|
+
import * as i6 from "@angular/common";
|
|
37
|
+
import * as i7 from "../../../../../pizzagna/directives/component-portal/component-portal.directive";
|
|
38
|
+
import * as i8 from "@angular/cdk/portal";
|
|
39
|
+
import * as i9 from "../../../../pipe/widget-editor-accordion-form-state.pipe";
|
|
40
|
+
import * as i10 from "../../../../pipe/widget-editor-accordion-header-icon.pipe";
|
|
41
|
+
export class DonutContentConfigurationComponent {
|
|
42
|
+
constructor(formBuilder, changeDetector, eventBus, contentFormattersRegistry, aggregatorRegistry) {
|
|
43
|
+
this.formBuilder = formBuilder;
|
|
44
|
+
this.changeDetector = changeDetector;
|
|
45
|
+
this.eventBus = eventBus;
|
|
46
|
+
this.contentFormattersRegistry = contentFormattersRegistry;
|
|
47
|
+
this.aggregatorRegistry = aggregatorRegistry;
|
|
48
|
+
this.formReady = new EventEmitter();
|
|
49
|
+
this.shown = true;
|
|
50
|
+
this.form = this.formBuilder.group({
|
|
51
|
+
formatter: this.formBuilder.group({
|
|
52
|
+
componentType: [undefined],
|
|
53
|
+
properties: [],
|
|
54
|
+
}),
|
|
55
|
+
aggregator: this.formBuilder.group({
|
|
56
|
+
aggregatorType: [undefined],
|
|
57
|
+
properties: [],
|
|
58
|
+
}),
|
|
59
|
+
});
|
|
60
|
+
this.dataFields = [];
|
|
61
|
+
this.destroy$ = new Subject();
|
|
62
|
+
}
|
|
63
|
+
ngOnInit() {
|
|
64
|
+
this.watchFormChanges();
|
|
65
|
+
this.setFromRegistry();
|
|
66
|
+
this.eventBus
|
|
67
|
+
.getStream(DATA_SOURCE_CREATED)
|
|
68
|
+
.pipe(takeUntil(this.destroy$))
|
|
69
|
+
.subscribe((event) => {
|
|
70
|
+
const dataSource = event.payload;
|
|
71
|
+
if (dataSource) {
|
|
72
|
+
dataSource.dataFieldsConfig?.dataFields$
|
|
73
|
+
.pipe(takeUntil(this.destroy$))
|
|
74
|
+
.subscribe((dataFields) => {
|
|
75
|
+
this.dataFields = dataFields;
|
|
76
|
+
this.updateAggregatorConfiguratorProps();
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
});
|
|
80
|
+
this.formReady.emit(this.form);
|
|
81
|
+
}
|
|
82
|
+
ngOnChanges(changes) {
|
|
83
|
+
if (changes.formatter) {
|
|
84
|
+
this.form.get("formatter")?.patchValue({
|
|
85
|
+
...changes.formatter.currentValue,
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
if (changes.aggregator) {
|
|
89
|
+
this.form.get("aggregator")?.patchValue({
|
|
90
|
+
...changes.aggregator.currentValue,
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
if (changes.chartType) {
|
|
94
|
+
const chartType = changes.chartType.currentValue;
|
|
95
|
+
this.shown = chartType === ProportionalWidgetChartTypes.DonutChart;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
ngOnDestroy() {
|
|
99
|
+
this.destroy$.complete();
|
|
100
|
+
}
|
|
101
|
+
onFormReady(formControlName, form) {
|
|
102
|
+
this.form.get(formControlName).setControl("properties", form);
|
|
103
|
+
}
|
|
104
|
+
get subtitleText() {
|
|
105
|
+
return `${this.currentAggregatorDefinition?.label}, ${this.currentFormatterDefinition?.label}`;
|
|
106
|
+
}
|
|
107
|
+
setFromRegistry() {
|
|
108
|
+
this.formatters = this.contentFormattersRegistry.getItems();
|
|
109
|
+
this.aggregators = this.aggregatorRegistry.getItems();
|
|
110
|
+
let formatterToSet = this.formatters.find((formatter) => formatter.componentType === this.formatter?.componentType);
|
|
111
|
+
if (!formatterToSet) {
|
|
112
|
+
formatterToSet = this.formatters[0];
|
|
113
|
+
}
|
|
114
|
+
this.form
|
|
115
|
+
.get("formatter.componentType")
|
|
116
|
+
?.setValue(formatterToSet.componentType);
|
|
117
|
+
let aggregatorToSet = this.aggregators.find((aggregator) => aggregator.aggregatorType === this.aggregator?.aggregatorType);
|
|
118
|
+
if (!aggregatorToSet) {
|
|
119
|
+
aggregatorToSet = this.aggregators[0];
|
|
120
|
+
}
|
|
121
|
+
this.form
|
|
122
|
+
.get("aggregator.aggregatorType")
|
|
123
|
+
?.setValue(aggregatorToSet.aggregatorType);
|
|
124
|
+
}
|
|
125
|
+
watchFormChanges() {
|
|
126
|
+
this.form
|
|
127
|
+
.get("aggregator.aggregatorType")
|
|
128
|
+
?.valueChanges.pipe(takeUntil(this.destroy$))
|
|
129
|
+
.subscribe((aggregatorType) => {
|
|
130
|
+
this.currentAggregatorDefinition = this.aggregators.find((f) => f.aggregatorType === aggregatorType);
|
|
131
|
+
this.updateAggregatorConfiguratorProps();
|
|
132
|
+
});
|
|
133
|
+
this.form
|
|
134
|
+
.get("formatter.componentType")
|
|
135
|
+
?.valueChanges.pipe(takeUntil(this.destroy$))
|
|
136
|
+
.subscribe((componentType) => {
|
|
137
|
+
this.currentFormatterDefinition = this.formatters.find((f) => f.componentType === componentType);
|
|
138
|
+
this.updateAggregatorConfiguratorProps();
|
|
139
|
+
});
|
|
140
|
+
}
|
|
141
|
+
updateAggregatorConfiguratorProps() {
|
|
142
|
+
this.aggregatorConfiguratorProps = {
|
|
143
|
+
...this.currentAggregatorDefinition?.properties,
|
|
144
|
+
...this.aggregator?.properties,
|
|
145
|
+
metrics: this.dataFields,
|
|
146
|
+
};
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
DonutContentConfigurationComponent.lateLoadKey = "DonutContentConfigurationComponent";
|
|
150
|
+
/** @nocollapse */ DonutContentConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DonutContentConfigurationComponent, deps: [{ token: i1.FormBuilder }, { token: i0.ChangeDetectorRef }, { token: PIZZAGNA_EVENT_BUS }, { token: i2.ProportionalDonutContentFormattersRegistryService }, { token: i3.ProportionalContentAggregatorsRegistryService }], target: i0.ɵɵFactoryTarget.Component });
|
|
151
|
+
/** @nocollapse */ DonutContentConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: DonutContentConfigurationComponent, selector: "nui-donut-content-configuration", inputs: { chartType: "chartType", formatter: "formatter", aggregator: "aggregator" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, template: "<ng-container *ngIf=\"shown\" [formGroup]=\"form\">\n <nui-widget-editor-accordion\n [state]=\"form | nuiWidgetEditorAccordionFormState | async\"\n >\n <div accordionHeader class=\"d-flex align-items-center px-4 py-2\">\n <nui-icon\n class=\"align-self-start pt-2\"\n [icon]=\"form | nuiFormHeaderIconPipe: 'customize' | async\"\n ></nui-icon>\n <div class=\"d-flex flex-column ml-4 pt-1\">\n <span class=\"nui-text-label\" i18n\n >Donut Content Configuration</span\n >\n <div class=\"nui-text-secondary\" [title]=\"subtitleText\">\n {{ subtitleText }}\n </div>\n </div>\n </div>\n\n <div class=\"donut-content-configuration__accordion-content\">\n <!-- aggregator -->\n <div class=\"mb-4\" formGroupName=\"aggregator\">\n <nui-form-field\n caption=\"Aggregate\"\n i18n-caption\n [control]=\"form.get('aggregator.aggregatorType')\"\n >\n <nui-select-v2\n placeholder=\"Select Format\"\n i18n-placeholder\n formControlName=\"aggregatorType\"\n >\n <nui-select-v2-option\n *ngFor=\"let aggregator of aggregators\"\n [displayValueContext]=\"aggregator.label\"\n [value]=\"aggregator.aggregatorType\"\n >\n {{ aggregator.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n </nui-form-field>\n </div>\n\n <!-- formatter -->\n <div class=\"mb-4\" formGroupName=\"formatter\">\n <nui-form-field\n caption=\"Format\"\n i18n-caption\n [control]=\"form.get('formatter.componentType')\"\n >\n <nui-select-v2\n placeholder=\"Select Format\"\n i18n-placeholder\n formControlName=\"componentType\"\n >\n <nui-select-v2-option\n *ngFor=\"let formatter of formatters\"\n [displayValueContext]=\"formatter.label\"\n [value]=\"formatter.componentType\"\n >\n {{ formatter.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n </nui-form-field>\n </div>\n\n <!-- aggregator configuration component -->\n <ng-container\n *ngIf=\"currentAggregatorDefinition?.configurationComponent\"\n nuiComponentPortal\n componentId=\"formatterConfigurator\"\n [componentType]=\"\n currentAggregatorDefinition?.configurationComponent\n \"\n [properties]=\"aggregatorConfiguratorProps\"\n [outputs]=\"['formReady']\"\n (output)=\"onFormReady('aggregator', $event.payload)\"\n #componentPortal=\"nuiComponentPortal\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n\n <!-- formatter configuration component -->\n <ng-container\n *ngIf=\"currentFormatterDefinition?.configurationComponent\"\n nuiComponentPortal\n componentId=\"formatterConfigurator\"\n [componentType]=\"\n currentFormatterDefinition?.configurationComponent\n \"\n [properties]=\"formatterConfiguratorProps\"\n [outputs]=\"['formReady']\"\n (output)=\"onFormReady('formatter', $event.payload)\"\n #componentPortal=\"nuiComponentPortal\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n </div>\n </nui-widget-editor-accordion>\n</ng-container>\n", styles: [".donut-content-configuration__accordion-content{padding:15px 15px 15px 46px}\n"], components: [{ type: i4.WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"] }, { type: i5.IconComponent, selector: "nui-icon", inputs: ["iconColor", "brushType", "iconHoverColor", "iconSize", "cssClass", "fillContainer", "status", "childStatus", "icon", "counter"] }, { type: i5.FormFieldComponent, selector: "nui-form-field", inputs: ["control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth", "showOptionalText"] }, { type: i5.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { type: i5.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["value", "index", "displayValueContext", "outfiltered"] }], directives: [{ type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1.FormGroupName, selector: "[formGroupName]", inputs: ["formGroupName"] }, { type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { type: i6.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i7.ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type: i8.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], pipes: { "async": i6.AsyncPipe, "nuiWidgetEditorAccordionFormState": i9.WidgetEditorAccordionFormStatePipe, "nuiFormHeaderIconPipe": i10.FormHeaderIconPipePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
152
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DonutContentConfigurationComponent, decorators: [{
|
|
153
|
+
type: Component,
|
|
154
|
+
args: [{ selector: "nui-donut-content-configuration", changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container *ngIf=\"shown\" [formGroup]=\"form\">\n <nui-widget-editor-accordion\n [state]=\"form | nuiWidgetEditorAccordionFormState | async\"\n >\n <div accordionHeader class=\"d-flex align-items-center px-4 py-2\">\n <nui-icon\n class=\"align-self-start pt-2\"\n [icon]=\"form | nuiFormHeaderIconPipe: 'customize' | async\"\n ></nui-icon>\n <div class=\"d-flex flex-column ml-4 pt-1\">\n <span class=\"nui-text-label\" i18n\n >Donut Content Configuration</span\n >\n <div class=\"nui-text-secondary\" [title]=\"subtitleText\">\n {{ subtitleText }}\n </div>\n </div>\n </div>\n\n <div class=\"donut-content-configuration__accordion-content\">\n <!-- aggregator -->\n <div class=\"mb-4\" formGroupName=\"aggregator\">\n <nui-form-field\n caption=\"Aggregate\"\n i18n-caption\n [control]=\"form.get('aggregator.aggregatorType')\"\n >\n <nui-select-v2\n placeholder=\"Select Format\"\n i18n-placeholder\n formControlName=\"aggregatorType\"\n >\n <nui-select-v2-option\n *ngFor=\"let aggregator of aggregators\"\n [displayValueContext]=\"aggregator.label\"\n [value]=\"aggregator.aggregatorType\"\n >\n {{ aggregator.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n </nui-form-field>\n </div>\n\n <!-- formatter -->\n <div class=\"mb-4\" formGroupName=\"formatter\">\n <nui-form-field\n caption=\"Format\"\n i18n-caption\n [control]=\"form.get('formatter.componentType')\"\n >\n <nui-select-v2\n placeholder=\"Select Format\"\n i18n-placeholder\n formControlName=\"componentType\"\n >\n <nui-select-v2-option\n *ngFor=\"let formatter of formatters\"\n [displayValueContext]=\"formatter.label\"\n [value]=\"formatter.componentType\"\n >\n {{ formatter.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n </nui-form-field>\n </div>\n\n <!-- aggregator configuration component -->\n <ng-container\n *ngIf=\"currentAggregatorDefinition?.configurationComponent\"\n nuiComponentPortal\n componentId=\"formatterConfigurator\"\n [componentType]=\"\n currentAggregatorDefinition?.configurationComponent\n \"\n [properties]=\"aggregatorConfiguratorProps\"\n [outputs]=\"['formReady']\"\n (output)=\"onFormReady('aggregator', $event.payload)\"\n #componentPortal=\"nuiComponentPortal\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n\n <!-- formatter configuration component -->\n <ng-container\n *ngIf=\"currentFormatterDefinition?.configurationComponent\"\n nuiComponentPortal\n componentId=\"formatterConfigurator\"\n [componentType]=\"\n currentFormatterDefinition?.configurationComponent\n \"\n [properties]=\"formatterConfiguratorProps\"\n [outputs]=\"['formReady']\"\n (output)=\"onFormReady('formatter', $event.payload)\"\n #componentPortal=\"nuiComponentPortal\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n </div>\n </nui-widget-editor-accordion>\n</ng-container>\n", styles: [".donut-content-configuration__accordion-content{padding:15px 15px 15px 46px}\n"] }]
|
|
155
|
+
}], ctorParameters: function () { return [{ type: i1.FormBuilder }, { type: i0.ChangeDetectorRef }, { type: i5.EventBus, decorators: [{
|
|
156
|
+
type: Inject,
|
|
157
|
+
args: [PIZZAGNA_EVENT_BUS]
|
|
158
|
+
}] }, { type: i2.ProportionalDonutContentFormattersRegistryService }, { type: i3.ProportionalContentAggregatorsRegistryService }]; }, propDecorators: { chartType: [{
|
|
159
|
+
type: Input
|
|
160
|
+
}], formatter: [{
|
|
161
|
+
type: Input
|
|
162
|
+
}], aggregator: [{
|
|
163
|
+
type: Input
|
|
164
|
+
}], formReady: [{
|
|
165
|
+
type: Output
|
|
166
|
+
}] } });
|
|
167
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZG9udXQtY29udGVudC1jb25maWd1cmF0aW9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9saWIvY29uZmlndXJhdG9yL2NvbXBvbmVudHMvd2lkZ2V0cy9wcm9wb3J0aW9uYWwvZG9udXQtY29udGVudC1jb25maWd1cmF0aW9uL2RvbnV0LWNvbnRlbnQtY29uZmlndXJhdGlvbi5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGliL2NvbmZpZ3VyYXRvci9jb21wb25lbnRzL3dpZGdldHMvcHJvcG9ydGlvbmFsL2RvbnV0LWNvbnRlbnQtY29uZmlndXJhdGlvbi9kb251dC1jb250ZW50LWNvbmZpZ3VyYXRpb24uY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEseURBQXlEO0FBQ3pELEVBQUU7QUFDRiwrRUFBK0U7QUFDL0UsNEVBQTRFO0FBQzVFLDhFQUE4RTtBQUM5RSwrRUFBK0U7QUFDL0UsOEVBQThFO0FBQzlFLDREQUE0RDtBQUM1RCxFQUFFO0FBQ0YsNkVBQTZFO0FBQzdFLHVEQUF1RDtBQUN2RCxFQUFFO0FBQ0YsNkVBQTZFO0FBQzdFLDRFQUE0RTtBQUM1RSwrRUFBK0U7QUFDL0UsMEVBQTBFO0FBQzFFLGlGQUFpRjtBQUNqRiw2RUFBNkU7QUFDN0UsaUJBQWlCO0FBRWpCLE9BQU8sRUFDSCx1QkFBdUIsRUFDdkIsaUJBQWlCLEVBQ2pCLFNBQVMsRUFDVCxZQUFZLEVBQ1osTUFBTSxFQUNO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tYXR0ZXJzUmVnaXN0cnlTZXJ2aWNlLFxuICAgICAgICBwcml2YXRlIGFnZ3JlZ2F0b3JSZWdpc3RyeTogUHJvcG9ydGlvbmFsQ29udGVudEFnZ3JlZ2F0b3JzUmVnaXN0cnlTZXJ2aWNlXG4gICAgKSB7fVxuXG4gICAgcHVibGljIG5nT25Jbml0KCk6IHZvaWQge1xuICAgICAgICB0aGlzLndhdGNoRm9ybUNoYW5nZXMoKTtcbiAgICAgICAgdGhpcy5zZXRGcm9tUmVnaXN0cnkoKTtcblxuICAgICAgICB0aGlzLmV2ZW50QnVzXG4gICAgICAgICAgICAuZ2V0U3RyZWFtKERBVEFfU09VUkNFX0NSRUFURUQpXG4gICAgICAgICAgICAucGlwZSh0YWtlVW50aWwodGhpcy5kZXN0cm95JCkpXG4gICAgICAgICAgICAuc3Vic2NyaWJlKChldmVudDogSUV2ZW50PElEYXRhU291cmNlPikgPT4ge1xuICAgICAgICAgICAgICAgIGNvbnN0IGRhdGFTb3VyY2UgPSBldmVudC5wYXlsb2FkO1xuICAgICAgICAgICAgICAgIGlmIChkYXRhU291cmNlKSB7XG4gICAgICAgICAgICAgICAgICAgIGRhdGFTb3VyY2UuZGF0YUZpZWxkc0NvbmZpZz8uZGF0YUZpZWxkcyRcbiAgICAgICAgICAgICAgICAgICAgICAgIC5waXBlKHRha2VVbnRpbCh0aGlzLmRlc3Ryb3kkKSlcbiAgICAgICAgICAgICAgICAgICAgICAgIC5zdWJzY3JpYmUoKGRhdGFGaWVsZHMpID0+IHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB0aGlzLmRhdGFGaWVsZHMgPSBkYXRhRmllbGRzO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMudXBkYXRlQWdncmVnYXRvckNvbmZpZ3VyYXRvclByb3BzKCk7XG4gICAgICAgICAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9KTtcblxuICAgICAgICB0aGlzLm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JhdG9yUHJvcHMoKTtcbiAgICAgICAgICAgIH0pO1xuXG4gICAgICAgIHRoaXMuZm9ybVxuICAgICAgICAgICAgLmdldChcImZvcm1hdHRlci5jb21wb25lbnRUeXBlXCIpXG4gICAgICAgICAgICA/LnZhbHVlQ2hhbmdlcy5waXBlKHRha2VVbnRpbCh0aGlzLmRlc3Ryb3kkKSlcbiAgICAgICAgICAgIC5zdWJzY3JpYmUoKGNvbXBvbmVudFR5cGU6IHN0cmluZykgPT4ge1xuICAgICAgICAgICAgICAgIHRoaXMuY3VycmVudEZvcm1hdHRlckRlZmluaXRpb24gPSB0aGlzLmZvcm1hdHRlcnMuZmluZChcbiAgICAgICAgICAgICAgICAgICAgKGYpID0+IGYuY29tcG9uZW50VHlwZSA9PT0gY29tcG9uZW50VHlwZVxuICAgICAgICAgICAgICAgICkgYXMgSUZvcm1hdHRlckRlZmluaXRpb247XG4gICAgICAgICAgICAgICAgdGhpcy51cGRhdGVBZ2dyZWdhdG9yQ29uZmlndXJhdG9yUHJvcHMoKTtcbiAgICAgICAgICAgIH0pO1xuICAgIH1cblxuICAgIHByaXZhdGUgdXBkYXRlQWdncmVnYXRvckNvbmZpZ3VyYXRvclByb3BzKCkge1xuICAgICAgICB0aGlzLmFnZ3JlZ2F0b3JDb25maWd1cmF0b3JQcm9wcyA9IHtcbiAgICAgICAgICAgIC4uLnRoaXMuY3VycmVudEFnZ3JlZ2F0b3JEZWZpbml0aW9uPy5wcm9wZXJ0aWVzLFxuICAgICAgICAgICAgLi4udGhpcy5hZ2dyZWdhdG9yPy5wcm9wZXJ0aWVzLFxuICAgICAgICAgICAgbWV0cmljczogdGhpcy5kYXRhRmllbGRzLFxuICAgICAgICB9O1xuICAgIH1cbn1cbiIsIjxuZy1jb250YWluZXIgKm5nSWY9XCJzaG93blwiIFtmb3JtR3JvdXBdPVwiZm9ybVwiPlxuICAgIDxudWktd2lkZ2V0LWVkaXRvci1hY2NvcmRpb25cbiAgICAgICAgW3N0YXRlXT1cImZvcm0gfCBudWlXaWRnZXRFZGl0b3JBY2NvcmRpb25Gb3JtU3RhdGUgfCBhc3luY1wiXG4gICAgPlxuICAgICAgICA8ZGl2IGFjY29yZGlvbkhlYWRlciBjbGFzcz1cImQtZmxleCBhbGlnbi1pdGVtcy1jZW50ZXIgcHgtNCBweS0yXCI+XG4gICAgICAgICAgICA8bnVpLWljb25cbiAgICAgICAgICAgICAgICBjbGFzcz1cImFsaWduLXNlbGYtc3RhcnQgcHQtMlwiXG4gICAgICAgICAgICAgICAgW2ljb25dPVwiZm9ybSB8IG51aUZvcm1IZWFkZXJJY29uUGlwZTogJ2N1c3RvbWl6ZScgfCBhc3luY1wiXG4gICAgICAgICAgICA+PC9udWktaWNvbj5cbiAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJkLWZsZXggZmxleC1jb2x1bW4gbWwtNCBwdC0xXCI+XG4gICAgICAgICAgICAgICAgPHNwYW4gY2xhc3M9XCJudWktdGV4dC1sYWJlbFwiIGkxOG5cbiAgICAgICAgICAgICAgICAgICAgPkRvbnV0IENvbnRlbnQgQ29uZmlndXJhdGlvbjwvc3BhblxuICAgICAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwibnVpLXRleHQtc2Vjb25kYXJ5XCIgW3RpdGxlXT1cInN1YnRpdGxlVGV4dFwiPlxuICAgICAgICAgICAgICAgICAgICB7eyBzdWJ0aXRsZVRleHQgfX1cbiAgICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICA8L2Rpdj5cblxuICAgICAgICA8ZGl2IGNsYXNzPVwiZG9udXQtY29udGVudC1jb25maWd1cmF0aW9uX19hY2NvcmRpb24tY29udGVudFwiPlxuICAgICAgICAgICAgPCEtLSBhZ2dyZWdhdG9yIC0tPlxuICAgICAgICAgICAgPGRpdiBjbGFzcz1cIm1iLTRcIiBmb3JtR3JvdXBOYW1lPVwiYWdncmVnYXRvclwiPlxuICAgICAgICAgICAgICAgIDxudWktZm9ybS1maWVsZFxuICAgICAgICAgICAgICAgICAgICBjYXB0aW9uPVwiQWdncmVnYXRlXCJcbiAgICAgICAgICAgICAgICAgICAgaTE4bi1jYXB0aW9uXG4gICAgICAgICAgICAgICAgICAgIFtjb250cm9sXT1cImZvcm0uZ2V0KCdhZ2dyZWdhdG9yLmFnZ3JlZ2F0b3JUeXBlJylcIlxuICAgICAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICAgICAgPG51aS1zZWxlY3QtdjJcbiAgICAgICAgICAgICAgICAgICAgICAgIHBsYWNlaG9sZGVyPVwiU2VsZWN0IEZvcm1hdFwiXG4gICAgICAgICAgICAgICAgICAgICAgICBpMThuLXBsYWNlaG9sZGVyXG4gICAgICAgICAgICAgICAgICAgICAgICBmb3JtQ29udHJvbE5hbWU9XCJhZ2dyZWdhdG9yVHlwZVwiXG4gICAgICAgICAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICAgICAgICAgIDxudWktc2VsZWN0LXYyLW9wdGlvblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICpuZ0Zvcj1cImxldCBhZ2dyZWdhdG9yIG9mIGFnZ3JlZ2F0b3JzXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBbZGlzcGxheVZhbHVlQ29udGV4dF09XCJhZ2dyZWdhdG9yLmxhYmVsXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBbdmFsdWVdPVwiYWdncmVnYXRvci5hZ2dyZWdhdG9yVHlwZVwiXG4gICAgICAgICAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAge3sgYWdncmVnYXRvci5sYWJlbCB9fVxuICAgICAgICAgICAgICAgICAgICAgICAgPC9udWktc2VsZWN0LXYyLW9wdGlvbj5cbiAgICAgICAgICAgICAgICAgICAgPC9udWktc2VsZWN0LXYyPlxuICAgICAgICAgICAgICAgIDwvbnVpLWZvcm0tZmllbGQ+XG4gICAgICAgICAgICA8L2Rpdj5cblxuICAgICAgICAgICAgPCEtLSBmb3JtYXR0ZXIgLS0+XG4gICAgICAgICAgICA8ZGl2IGNsYXNzPVwibWItNFwiIGZvcm1Hcm91cE5hbWU9XCJmb3JtYXR0ZXJcIj5cbiAgICAgICAgICAgICAgICA8bnVpLWZvcm0tZmllbGRcbiAgICAgICAgICAgICAgICAgICAgY2FwdGlvbj1cIkZvcm1hdFwiXG4gICAgICAgICAgICAgICAgICAgIGkxOG4tY2FwdGlvblxuICAgICAgICAgICAgICAgICAgICBbY29udHJvbF09XCJmb3JtLmdldCgnZm9ybWF0dGVyLmNvbXBvbmVudFR5cGUnKVwiXG4gICAgICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgICAgICA8bnVpLXNlbGVjdC12MlxuICAgICAgICAgICAgICAgICAgICAgICAgcGxhY2Vob2xkZXI9XCJTZWxlY3QgRm9ybWF0XCJcbiAgICAgICAgICAgICAgICAgICAgICAgIGkxOG4tcGxhY2Vob2xkZXJcbiAgICAgICAgICAgICAgICAgICAgICAgIGZvcm1Db250cm9sTmFtZT1cImNvbXBvbmVudFR5cGVcIlxuICAgICAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgICAgICA8bnVpLXNlbGVjdC12Mi1vcHRpb25cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAqbmdGb3I9XCJsZXQgZm9ybWF0dGVyIG9mIGZvcm1hdHRlcnNcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtkaXNwbGF5VmFsdWVDb250ZXh0XT1cImZvcm1hdHRlci5sYWJlbFwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgW3ZhbHVlXT1cImZvcm1hdHRlci5jb21wb25lbnRUeXBlXCJcbiAgICAgICAgICAgICAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB7eyBmb3JtYXR0ZXIubGFiZWwgfX1cbiAgICAgICAgICAgICAgICAgICAgICAgIDwvbnVpLXNlbGVjdC12Mi1vcHRpb24+XG4gICAgICAgICAgICAgICAgICAgIDwvbnVpLXNlbGVjdC12Mj5cbiAgICAgICAgICAgICAgICA8L251aS1mb3JtLWZpZWxkPlxuICAgICAgICAgICAgPC9kaXY+XG5cbiAgICAgICAgICAgIDwhLS0gYWdncmVnYXRvciBjb25maWd1cmF0aW9uIGNvbXBvbmVudCAtLT5cbiAgICAgICAgICAgIDxuZy1jb250YWluZXJcbiAgICAgICAgICAgICAgICAqbmdJZj1cImN1cnJlbnRBZ2dyZWdhdG9yRGVmaW5pdGlvbj8uY29uZmlndXJhdGlvbkNvbXBvbmVudFwiXG4gICAgICAgICAgICAgICAgbnVpQ29tcG9uZW50UG9ydGFsXG4gICAgICAgICAgICAgICAgY29tcG9uZW50SWQ9XCJmb3JtYXR0ZXJDb25maWd1cmF0b3JcIlxuICAgICAgICAgICAgICAgIFtjb21wb25lbnRUeXBlXT1cIlxuICAgICAgICAgICAgICAgICAgICBjdXJyZW50QWdncmVnYXRvckRlZmluaXRpb24/LmNvbmZpZ3VyYXRpb25Db21wb25lbnRcbiAgICAgICAgICAgICAgICBcIlxuICAgICAgICAgICAgICAgIFtwcm9wZXJ0aWVzXT1cImFnZ3JlZ2F0b3JDb25maWd1cmF0b3JQcm9wc1wiXG4gICAgICAgICAgICAgICAgW291dHB1dHNdPVwiWydmb3JtUmVhZHknXVwiXG4gICAgICAgICAgICAgICAgKG91dHB1dCk9XCJvbkZvcm1SZWFkeSgnYWdncmVnYXRvcicsICRldmVudC5wYXlsb2FkKVwiXG4gICAgICAgICAgICAgICAgI2NvbXBvbmVudFBvcnRhbD1cIm51aUNvbXBvbmVudFBvcnRhbFwiXG4gICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgPG5nLXRlbXBsYXRlXG4gICAgICAgICAgICAgICAgICAgIFtjZGtQb3J0YWxPdXRsZXRdPVwiY29tcG9uZW50UG9ydGFsLnBvcnRhbFwiXG4gICAgICAgICAgICAgICAgICAgIChhdHRhY2hlZCk9XCJjb21wb25lbnRQb3J0YWwuYXR0YWNoZWQoJGV2ZW50KVwiXG4gICAgICAgICAgICAgICAgPjwvbmctdGVtcGxhdGU+XG4gICAgICAgICAgICA8L25nLWNvbnRhaW5lcj5cblxuICAgICAgICAgICAgPCEtLSBmb3JtYXR0ZXIgY29uZmlndXJhdGlvbiBjb21wb25lbnQgLS0+XG4gICAgICAgICAgICA8bmctY29udGFpbmVyXG4gICAgICAgICAgICAgICAgKm5nSWY9XCJjdXJyZW50Rm9ybWF0dGVyRGVmaW5pdGlvbj8uY29uZmlndXJhdGlvbkNvbXBvbmVudFwiXG4gICAgICAgICAgICAgICAgbnVpQ29tcG9uZW50UG9ydGFsXG4gICAgICAgICAgICAgICAgY29tcG9uZW50SWQ9XCJmb3JtYXR0ZXJDb25maWd1cmF0b3JcIlxuICAgICAgICAgICAgICAgIFtjb21wb25lbnRUeXBlXT1cIlxuICAgICAgICAgICAgICAgICAgICBjdXJyZW50Rm9ybWF0dGVyRGVmaW5pdGlvbj8uY29uZmlndXJhdGlvbkNvbXBvbmVudFxuICAgICAgICAgICAgICAgIFwiXG4gICAgICAgICAgICAgICAgW3Byb3BlcnRpZXNdPVwiZm9ybWF0dGVyQ29uZmlndXJhdG9yUHJvcHNcIlxuICAgICAgICAgICAgICAgIFtvdXRwdXRzXT1cIlsnZm9ybVJlYWR5J11cIlxuICAgICAgICAgICAgICAgIChvdXRwdXQpPVwib25Gb3JtUmVhZHkoJ2Zvcm1hdHRlcicsICRldmVudC5wYXlsb2FkKVwiXG4gICAgICAgICAgICAgICAgI2NvbXBvbmVudFBvcnRhbD1cIm51aUNvbXBvbmVudFBvcnRhbFwiXG4gICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgPG5nLXRlbXBsYXRlXG4gICAgICAgICAgICAgICAgICAgIFtjZGtQb3J0YWxPdXRsZXRdPVwiY29tcG9uZW50UG9ydGFsLnBvcnRhbFwiXG4gICAgICAgICAgICAgICAgICAgIChhdHRhY2hlZCk9XCJjb21wb25lbnRQb3J0YWwuYXR0YWNoZWQoJGV2ZW50KVwiXG4gICAgICAgICAgICAgICAgPjwvbmctdGVtcGxhdGU+XG4gICAgICAgICAgICA8L25nLWNvbnRhaW5lcj5cbiAgICAgICAgPC9kaXY+XG4gICAgPC9udWktd2lkZ2V0LWVkaXRvci1hY2NvcmRpb24+XG48L25nLWNvbnRhaW5lcj5cbiJdfQ==
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
2
|
+
//
|
|
3
|
+
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4
|
+
// of this software and associated documentation files (the "Software"), to
|
|
5
|
+
// deal in the Software without restriction, including without limitation the
|
|
6
|
+
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
7
|
+
// sell copies of the Software, and to permit persons to whom the Software is
|
|
8
|
+
// furnished to do so, subject to the following conditions:
|
|
9
|
+
//
|
|
10
|
+
// The above copyright notice and this permission notice shall be included in
|
|
11
|
+
// all copies or substantial portions of the Software.
|
|
12
|
+
//
|
|
13
|
+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
14
|
+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
15
|
+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
16
|
+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17
|
+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
18
|
+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
19
|
+
// THE SOFTWARE.
|
|
20
|
+
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, EventEmitter, Input, Output, } from "@angular/core";
|
|
21
|
+
import { FormBuilder, Validators } from "@angular/forms";
|
|
22
|
+
import * as i0 from "@angular/core";
|
|
23
|
+
import * as i1 from "@angular/forms";
|
|
24
|
+
import * as i2 from "../../../../../widget-editor-accordion/widget-editor-accordion.component";
|
|
25
|
+
import * as i3 from "@nova-ui/bits";
|
|
26
|
+
import * as i4 from "@angular/common";
|
|
27
|
+
import * as i5 from "../../../../../../pipe/widget-editor-accordion-form-state.pipe";
|
|
28
|
+
import * as i6 from "../../../../../../pipe/widget-editor-accordion-header-icon.pipe";
|
|
29
|
+
export class DescriptionConfigurationComponent {
|
|
30
|
+
constructor(formBuilder, changeDetector) {
|
|
31
|
+
this.formBuilder = formBuilder;
|
|
32
|
+
this.changeDetector = changeDetector;
|
|
33
|
+
this.formReady = new EventEmitter();
|
|
34
|
+
this.formDestroy = new EventEmitter();
|
|
35
|
+
}
|
|
36
|
+
ngOnInit() {
|
|
37
|
+
this.form = this.formBuilder.group({
|
|
38
|
+
label: [this.label || null, [Validators.required]],
|
|
39
|
+
isActive: this.isActive ?? true,
|
|
40
|
+
width: this.width || undefined,
|
|
41
|
+
});
|
|
42
|
+
this.formReady.emit(this.form);
|
|
43
|
+
}
|
|
44
|
+
ngOnChanges(changes) {
|
|
45
|
+
if (changes.label) {
|
|
46
|
+
this.form?.patchValue({ label: changes.label.currentValue });
|
|
47
|
+
}
|
|
48
|
+
if (changes.isActive) {
|
|
49
|
+
this.form?.patchValue({ isActive: changes.isActive.currentValue });
|
|
50
|
+
}
|
|
51
|
+
if (changes.width) {
|
|
52
|
+
this.form?.patchValue({ width: changes.width.currentValue });
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
stub() { }
|
|
56
|
+
ngOnDestroy() {
|
|
57
|
+
this.formDestroy.emit(this.form);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
DescriptionConfigurationComponent.lateLoadKey = "DescriptionConfigurationComponent";
|
|
61
|
+
/** @nocollapse */ DescriptionConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DescriptionConfigurationComponent, deps: [{ token: i1.FormBuilder }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
62
|
+
/** @nocollapse */ DescriptionConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: DescriptionConfigurationComponent, selector: "nui-table-column-description-configuration", inputs: { label: "label", isActive: "isActive", width: "width", isWidthMessageDisplayed: "isWidthMessageDisplayed" }, outputs: { formReady: "formReady", formDestroy: "formDestroy" }, usesOnChanges: true, ngImport: i0, template: "<ng-container [formGroup]=\"form\">\n <nui-widget-editor-accordion\n [state]=\"form | nuiWidgetEditorAccordionFormState | async\"\n >\n <div accordionHeader class=\"d-flex align-items-center px-4 py-2\">\n <nui-icon\n class=\"align-self-start pt-2\"\n [icon]=\"form | nuiFormHeaderIconPipe: 'widget_list' | async\"\n ></nui-icon>\n <div class=\"d-flex flex-column ml-4 w-100 overflow-hidden pt-1\">\n <span class=\"nui-text-label\" i18n>Description</span>\n <div\n class=\"nui-text-secondary nui-text-ellipsis\"\n [title]=\"form.controls['label'].value\"\n >\n {{ form.controls[\"label\"].value }}\n </div>\n </div>\n </div>\n <div class=\"description-configuration__accordion-content\">\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Label\"\n i18n-caption\n class=\"mb-3\"\n [control]=\"form.controls['label']\"\n >\n <nui-textbox formControlName=\"label\"></nui-textbox>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n\n <nui-form-field [control]=\"form.controls['isActive']\">\n <nui-checkbox formControlName=\"isActive\" i18n\n >Show this column</nui-checkbox\n >\n </nui-form-field>\n\n <ng-container *ngIf=\"form.get('isActive')?.value\">\n <ng-container *ngIf=\"!isWidthMessageDisplayed\">\n <div class=\"mt-4\">\n <nui-form-field\n caption=\"Column width (px)\"\n i18n-caption\n class=\"mb-3\"\n [control]=\"form.controls['width']\"\n >\n <!-- TODO: Remove this valueChange stub after NUI-3442 is finished-->\n <nui-textbox-number\n class=\"description-configuration__accordion-content__width-input\"\n (valueChange)=\"stub()\"\n placeholder=\"Auto width\"\n i18n-placeholder\n formControlName=\"width\"\n ></nui-textbox-number>\n <nui-validation-message\n [show]=\"form.controls['width'].invalid\"\n for=\"min\"\n i18n\n >\n Minimum width of the column is 62px\n </nui-validation-message>\n </nui-form-field>\n </div>\n </ng-container>\n <nui-message\n *ngIf=\"isWidthMessageDisplayed\"\n type=\"info\"\n [allowDismiss]=\"false\"\n i18n\n >\n <b>All columns can not have fixed width.</b>\n </nui-message>\n </ng-container>\n </div>\n </nui-widget-editor-accordion>\n</ng-container>\n", styles: [".description-configuration__accordion-content{padding:15px 15px 15px 46px}\n"], components: [{ type: i2.WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"] }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["iconColor", "brushType", "iconHoverColor", "iconSize", "cssClass", "fillContainer", "status", "childStatus", "icon", "counter"] }, { type: i3.FormFieldComponent, selector: "nui-form-field", inputs: ["control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth", "showOptionalText"] }, { type: i3.TextboxComponent, selector: "nui-textbox", inputs: ["caption", "autocomplete", "info", "customBoxWidth", "disabled", "hint", "name", "placeholder", "readonly", "rows", "type", "value", "isInErrorState", "ariaLabel", "isBusy"], outputs: ["textChange", "blurred"] }, { type: i3.ValidationMessageComponent, selector: "nui-validation-message", inputs: ["show", "for"] }, { type: i3.CheckboxComponent, selector: "nui-checkbox", inputs: ["ariaLabel", "ariaLabelledby", "ariaDescribedby", "name", "title", "value", "hovered", "checked", "required", "hint", "disabled", "indeterminate"], outputs: ["valueChange"] }, { type: i3.TextboxNumberComponent, selector: "nui-textbox-number", inputs: ["value", "customBoxWidth", "disabled", "name", "placeholder", "readonly", "step", "stepPrecision", "isInErrorState", "ariaLabel", "minValue", "maxValue"], outputs: ["blurred", "valueChange"] }, { type: i3.MessageComponent, selector: "nui-message", inputs: ["type", "allowDismiss", "manualControl"], outputs: ["dismiss"] }], directives: [{ type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i4.AsyncPipe, "nuiWidgetEditorAccordionFormState": i5.WidgetEditorAccordionFormStatePipe, "nuiFormHeaderIconPipe": i6.FormHeaderIconPipePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
63
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DescriptionConfigurationComponent, decorators: [{
|
|
64
|
+
type: Component,
|
|
65
|
+
args: [{ selector: "nui-table-column-description-configuration", changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container [formGroup]=\"form\">\n <nui-widget-editor-accordion\n [state]=\"form | nuiWidgetEditorAccordionFormState | async\"\n >\n <div accordionHeader class=\"d-flex align-items-center px-4 py-2\">\n <nui-icon\n class=\"align-self-start pt-2\"\n [icon]=\"form | nuiFormHeaderIconPipe: 'widget_list' | async\"\n ></nui-icon>\n <div class=\"d-flex flex-column ml-4 w-100 overflow-hidden pt-1\">\n <span class=\"nui-text-label\" i18n>Description</span>\n <div\n class=\"nui-text-secondary nui-text-ellipsis\"\n [title]=\"form.controls['label'].value\"\n >\n {{ form.controls[\"label\"].value }}\n </div>\n </div>\n </div>\n <div class=\"description-configuration__accordion-content\">\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Label\"\n i18n-caption\n class=\"mb-3\"\n [control]=\"form.controls['label']\"\n >\n <nui-textbox formControlName=\"label\"></nui-textbox>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n\n <nui-form-field [control]=\"form.controls['isActive']\">\n <nui-checkbox formControlName=\"isActive\" i18n\n >Show this column</nui-checkbox\n >\n </nui-form-field>\n\n <ng-container *ngIf=\"form.get('isActive')?.value\">\n <ng-container *ngIf=\"!isWidthMessageDisplayed\">\n <div class=\"mt-4\">\n <nui-form-field\n caption=\"Column width (px)\"\n i18n-caption\n class=\"mb-3\"\n [control]=\"form.controls['width']\"\n >\n <!-- TODO: Remove this valueChange stub after NUI-3442 is finished-->\n <nui-textbox-number\n class=\"description-configuration__accordion-content__width-input\"\n (valueChange)=\"stub()\"\n placeholder=\"Auto width\"\n i18n-placeholder\n formControlName=\"width\"\n ></nui-textbox-number>\n <nui-validation-message\n [show]=\"form.controls['width'].invalid\"\n for=\"min\"\n i18n\n >\n Minimum width of the column is 62px\n </nui-validation-message>\n </nui-form-field>\n </div>\n </ng-container>\n <nui-message\n *ngIf=\"isWidthMessageDisplayed\"\n type=\"info\"\n [allowDismiss]=\"false\"\n i18n\n >\n <b>All columns can not have fixed width.</b>\n </nui-message>\n </ng-container>\n </div>\n </nui-widget-editor-accordion>\n</ng-container>\n", styles: [".description-configuration__accordion-content{padding:15px 15px 15px 46px}\n"] }]
|
|
66
|
+
}], ctorParameters: function () { return [{ type: i1.FormBuilder }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { label: [{
|
|
67
|
+
type: Input
|
|
68
|
+
}], isActive: [{
|
|
69
|
+
type: Input
|
|
70
|
+
}], width: [{
|
|
71
|
+
type: Input
|
|
72
|
+
}], isWidthMessageDisplayed: [{
|
|
73
|
+
type: Input
|
|
74
|
+
}], formReady: [{
|
|
75
|
+
type: Output
|
|
76
|
+
}], formDestroy: [{
|
|
77
|
+
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3JBY2NvcmRpb25Gb3JtU3RhdGUgfCBhc3luY1wiXG4gICAgPlxuICAgICAgICA8ZGl2IGFjY29yZGlvbkhlYWRlciBjbGFzcz1cImQtZmxleCBhbGlnbi1pdGVtcy1jZW50ZXIgcHgtNCBweS0yXCI+XG4gICAgICAgICAgICA8bnVpLWljb25cbiAgICAgICAgICAgICAgICBjbGFzcz1cImFsaWduLXNlbGYtc3RhcnQgcHQtMlwiXG4gICAgICAgICAgICAgICAgW2ljb25dPVwiZm9ybSB8IG51aUZvcm1IZWFkZXJJY29uUGlwZTogJ3dpZGdldF9saXN0JyB8IGFzeW5jXCJcbiAgICAgICAgICAgID48L251aS1pY29uPlxuICAgICAgICAgICAgPGRpdiBjbGFzcz1cImQtZmxleCBmbGV4LWNvbHVtbiBtbC00IHctMTAwIG92ZXJmbG93LWhpZGRlbiBwdC0xXCI+XG4gICAgICAgICAgICAgICAgPHNwYW4gY2xhc3M9XCJudWktdGV4dC1sYWJlbFwiIGkxOG4+RGVzY3JpcHRpb248L3NwYW4+XG4gICAgICAgICAgICAgICAgPGRpdlxuICAgICAgICAgICAgICAgICAgICBjbGFzcz1cIm51aS10ZXh0LXNlY29uZGFyeSBudWktdGV4dC1lbGxpcHNpc1wiXG4gICAgICAgICAgICAgICAgICAgIFt0aXRsZV09XCJmb3JtLmNvbnRyb2xzWydsYWJlbCddLnZhbHVlXCJcbiAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgIHt7IGZvcm0uY29udHJvbHNbXCJsYWJlbFwiXS52YWx1ZSB9fVxuICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgIDwvZGl2PlxuICAgICAgICA8ZGl2IGNsYXNzPVwiZGVzY3JpcHRpb24tY29uZmlndXJhdGlvbl9fYWNjb3JkaW9uLWNvbnRlbnRcIj5cbiAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJtYi00XCI+XG4gICAgICAgICAgICAgICAgPG51aS1mb3JtLWZpZWxkXG4gICAgICAgICAgICAgICAgICAgIGNhcHRpb249XCJMYWJlbFwiXG4gICAgICAgICAgICAgICAgICAgIGkxOG4tY2FwdGlvblxuICAgICAgICAgICAgICAgICAgICBjbGFzcz1cIm1iLTNcIlxuICAgICAgICAgICAgICAgICAgICBbY29udHJvbF09XCJmb3JtLmNvbnRyb2xzWydsYWJlbCddXCJcbiAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgIDxudWktdGV4dGJveCBmb3JtQ29udHJvbE5hbWU9XCJsYWJlbFwiPjwvbnVpLXRleHRib3g+XG4gICAgICAgICAgICAgICAgICAgIDxudWktdmFsaWRhdGlvbi1tZXNzYWdlIGZvcj1cInJlcXVpcmVkXCIgaTE4bj5cbiAgICAgICAgICAgICAgICAgICAgICAgIFRoaXMgZmllbGQgaXMgcmVxdWlyZWRcbiAgICAgICAgICAgICAgICAgICAgPC9udWktdmFsaWRhdGlvbi1tZXNzYWdlPlxuICAgICAgICAgICAgICAgIDwvbnVpLWZvcm0tZmllbGQ+XG4gICAgICAgICAgICA8L2Rpdj5cblxuICAgICAgICAgICAgPG51aS1mb3JtLWZpZWxkIFtjb250cm9sXT1cImZvcm0uY29udHJvbHNbJ2lzQWN0aXZlJ11cIj5cbiAgICAgICAgICAgICAgICA8bnVpLWNoZWNrYm94IGZvcm1Db250cm9sTmFtZT1cImlzQWN0aXZlXCIgaTE4blxuICAgICAgICAgICAgICAgICAgICA+U2hvdyB0aGlzIGNvbHVtbjwvbnVpLWNoZWNrYm94XG4gICAgICAgICAgICAgICAgPlxuICAgICAgICAgICAgPC9udWktZm9ybS1maWVsZD5cblxuICAgICAgICAgICAgPG5nLWNvbnRhaW5lciAqbmdJZj1cImZvcm0uZ2V0KCdpc0FjdGl2ZScpPy52YWx1ZVwiPlxuICAgICAgICAgICAgICAgIDxuZy1jb250YWluZXIgKm5nSWY9XCIhaXNXaWR0aE1lc3NhZ2VEaXNwbGF5ZWRcIj5cbiAgICAgICAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cIm10LTRcIj5cbiAgICAgICAgICAgICAgICAgICAgICAgIDxudWktZm9ybS1maWVsZFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNhcHRpb249XCJDb2x1bW4gd2lkdGggKHB4KVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgaTE4bi1jYXB0aW9uXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3M9XCJtYi0zXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBbY29udHJvbF09XCJmb3JtLmNvbnRyb2xzWyd3aWR0aCddXCJcbiAgICAgICAgICAgICAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8IS0tIFRPRE86IFJlbW92ZSB0aGlzIHZhbHVlQ2hhbmdlIHN0dWIgYWZ0ZXIgTlVJLTM0NDIgaXMgZmluaXNoZWQtLT5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8bnVpLXRleHRib3gtbnVtYmVyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNsYXNzPVwiZGVzY3JpcHRpb24tY29uZmlndXJhdGlvbl9fYWNjb3JkaW9uLWNvbnRlbnRfX3dpZHRoLWlucHV0XCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKHZhbHVlQ2hhbmdlKT1cInN0dWIoKVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHBsYWNlaG9sZGVyPVwiQXV0byB3aWR0aFwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGkxOG4tcGxhY2Vob2xkZXJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZm9ybUNvbnRyb2xOYW1lPVwid2lkdGhcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgID48L251aS10ZXh0Ym94LW51bWJlcj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8bnVpLXZhbGlkYXRpb24tbWVzc2FnZVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbc2hvd109XCJmb3JtLmNvbnRyb2xzWyd3aWR0aCddLmludmFsaWRcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBmb3I9XCJtaW5cIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpMThuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBNaW5pbXVtIHdpZHRoIG9mIHRoZSBjb2x1bW4gaXMgNjJweFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvbnVpLXZhbGlkYXRpb24tbWVzc2FnZT5cbiAgICAgICAgICAgICAgICAgICAgICAgIDwvbnVpLWZvcm0tZmllbGQ+XG4gICAgICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgICAgIDwvbmctY29udGFpbmVyPlxuICAgICAgICAgICAgICAgIDxudWktbWVzc2FnZVxuICAgICAgICAgICAgICAgICAgICAqbmdJZj1cImlzV2lkdGhNZXNzYWdlRGlzcGxheWVkXCJcbiAgICAgICAgICAgICAgICAgICAgdHlwZT1cImluZm9cIlxuICAgICAgICAgICAgICAgICAgICBbYWxsb3dEaXNtaXNzXT1cImZhbHNlXCJcbiAgICAgICAgICAgICAgICAgICAgaTE4blxuICAgICAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICAgICAgPGI+QWxsIGNvbHVtbnMgY2FuIG5vdCBoYXZlIGZpeGVkIHdpZHRoLjwvYj5cbiAgICAgICAgICAgICAgICA8L251aS1tZXNzYWdlPlxuICAgICAgICAgICAgPC9uZy1jb250YWluZXI+XG4gICAgICAgIDwvZGl2PlxuICAgIDwvbnVpLXdpZGdldC1lZGl0b3ItYWNjb3JkaW9uPlxuPC9uZy1jb250YWluZXI+XG4iXX0=
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
2
|
+
//
|
|
3
|
+
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4
|
+
// of this software and associated documentation files (the "Software"), to
|
|
5
|
+
// deal in the Software without restriction, including without limitation the
|
|
6
|
+
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
7
|
+
// sell copies of the Software, and to permit persons to whom the Software is
|
|
8
|
+
// furnished to do so, subject to the following conditions:
|
|
9
|
+
//
|
|
10
|
+
// The above copyright notice and this permission notice shall be included in
|
|
11
|
+
// all copies or substantial portions of the Software.
|
|
12
|
+
//
|
|
13
|
+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
14
|
+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
15
|
+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
16
|
+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17
|
+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
18
|
+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
19
|
+
// THE SOFTWARE.
|
|
20
|
+
import { ChangeDetectorRef, EventEmitter, Injectable, Input, Output, } from "@angular/core";
|
|
21
|
+
import { FormBuilder, Validators } from "@angular/forms";
|
|
22
|
+
import { LoggerService } from "@nova-ui/bits";
|
|
23
|
+
import { ConfiguratorHeadingService } from "../../../../../../../services/configurator-heading.service";
|
|
24
|
+
import * as i0 from "@angular/core";
|
|
25
|
+
import * as i1 from "../../../../../../../services/configurator-heading.service";
|
|
26
|
+
import * as i2 from "@angular/forms";
|
|
27
|
+
import * as i3 from "@nova-ui/bits";
|
|
28
|
+
export class FormatterConfiguratorComponent {
|
|
29
|
+
constructor(changeDetector, configuratorHeading, formBuilder, logger) {
|
|
30
|
+
this.changeDetector = changeDetector;
|
|
31
|
+
this.configuratorHeading = configuratorHeading;
|
|
32
|
+
this.formBuilder = formBuilder;
|
|
33
|
+
this.logger = logger;
|
|
34
|
+
this.formReady = new EventEmitter();
|
|
35
|
+
this.dropdownItems = {};
|
|
36
|
+
}
|
|
37
|
+
ngOnChanges(changes) {
|
|
38
|
+
if (changes.formatterDefinition) {
|
|
39
|
+
this.mapDropdownItems();
|
|
40
|
+
this.initForm();
|
|
41
|
+
}
|
|
42
|
+
if (changes.dataFields) {
|
|
43
|
+
this.mapDropdownItems();
|
|
44
|
+
}
|
|
45
|
+
if (changes.formatter) {
|
|
46
|
+
this.updateForm();
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* This method pregenerates lists of dropdown items for all required formatter columns mappings based on their type
|
|
51
|
+
*/
|
|
52
|
+
mapDropdownItems() {
|
|
53
|
+
if (!this.dataFields) {
|
|
54
|
+
this.logger.error("There are no dataFields defined for formatter:", this.formatterDefinition);
|
|
55
|
+
return;
|
|
56
|
+
}
|
|
57
|
+
this.dropdownItems = Object.keys(this.formatterDefinition.dataTypes).reduce((result, next) => {
|
|
58
|
+
const allowedDataTypes = this.formatterDefinition.dataTypes[next];
|
|
59
|
+
result[next] = allowedDataTypes
|
|
60
|
+
? this.dataFields.filter((df) =>
|
|
61
|
+
// dataTypes could be a string or an array of strings, so we're checking that here
|
|
62
|
+
typeof allowedDataTypes === "string"
|
|
63
|
+
? df.dataType === allowedDataTypes
|
|
64
|
+
: allowedDataTypes.includes(df.dataType))
|
|
65
|
+
: // if no data types are defined then just include all the fields
|
|
66
|
+
this.dataFields;
|
|
67
|
+
return result;
|
|
68
|
+
}, {});
|
|
69
|
+
}
|
|
70
|
+
get dataFieldIds() {
|
|
71
|
+
return this.form.get("dataFieldIds");
|
|
72
|
+
}
|
|
73
|
+
initForm() {
|
|
74
|
+
// initialize the formArray with selected values or null
|
|
75
|
+
const dataFieldsDefinition = this.formatterDefinition.dataTypes || {};
|
|
76
|
+
const dataFieldForm = Object.keys(dataFieldsDefinition).reduce((result, next) => {
|
|
77
|
+
result[next] = [
|
|
78
|
+
this.formatter?.properties?.dataFieldIds?.[next] ?? null,
|
|
79
|
+
Validators.required,
|
|
80
|
+
];
|
|
81
|
+
return result;
|
|
82
|
+
}, {});
|
|
83
|
+
this.form = this.formBuilder.group({
|
|
84
|
+
dataFieldIds: this.formBuilder.group(dataFieldForm),
|
|
85
|
+
});
|
|
86
|
+
this.addCustomFormControls(this.form);
|
|
87
|
+
this.formReady.emit(this.form);
|
|
88
|
+
}
|
|
89
|
+
updateForm() {
|
|
90
|
+
this.form.patchValue(this.formatter.properties ?? {}, {
|
|
91
|
+
onlySelf: false,
|
|
92
|
+
emitEvent: false,
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* Add your custom form controls here
|
|
97
|
+
*
|
|
98
|
+
* @param form
|
|
99
|
+
*/
|
|
100
|
+
addCustomFormControls(form) { }
|
|
101
|
+
}
|
|
102
|
+
/** @nocollapse */ FormatterConfiguratorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormatterConfiguratorComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.ConfiguratorHeadingService }, { token: i2.FormBuilder }, { token: i3.LoggerService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
103
|
+
/** @nocollapse */ FormatterConfiguratorComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormatterConfiguratorComponent });
|
|
104
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormatterConfiguratorComponent, decorators: [{
|
|
105
|
+
type: Injectable
|
|
106
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1.ConfiguratorHeadingService }, { type: i2.FormBuilder }, { type: i3.LoggerService }]; }, propDecorators: { formatter: [{
|
|
107
|
+
type: Input
|
|
108
|
+
}], formatterDefinition: [{
|
|
109
|
+
type: Input
|
|
110
|
+
}], dataFields: [{
|
|
111
|
+
type: Input
|
|
112
|
+
}], formArrayName: [{
|
|
113
|
+
type: Input
|
|
114
|
+
}], formReady: [{
|
|
115
|
+
type: Output
|
|
116
|
+
}] } });
|
|
117
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybWF0dGVyLWNvbmZpZ3VyYXRvci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGliL2NvbmZpZ3VyYXRvci9jb21wb25lbnRzL3dpZGdldHMvdGFibGUvY29sdW1ucy1lZGl0b3IvY29sdW1uLWNvbmZpZ3VyYXRpb24vcHJlc2VudGF0aW9uLWNvbmZpZ3VyYXRpb24vcG9ydGFscy9mb3JtYXR0ZXItY29uZmlndXJhdG9yLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSx5REFBeUQ7QUFDekQsRUFBRTtBQUNGLCtFQUErRTtBQUMvRSw0RUFBNEU7QUFDNUUsOEVBQThFO0FBQzlFLCtFQUErRTtBQUMvRSw4RUFBOEU7QUFDOUUsNERBQTREO0FBQzVELEVBQUU7QUFDRiw2RUFBNkU7QUFDN0UsdURBQXVEO0FBQ3ZELEVBQUU7QUFDRiw2RUFBNkU7QUFDN0UsNEVBQTRFO0FBQzVFLCtFQUErRTtBQUMvRSwwRUFBMEU7QUFDMUUsaUZBQWlGO0FBQ2pGLDZFQUE2RTtBQUM3RSxpQkFBaUI7QUFFakIsT0FBTyxFQUNILGlCQUFpQixFQUNqQixZQUFZLEVBQ1osVUFBVSxFQUNWLEtBQUssRUFFTCxNQUFNLEdBRVQsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUF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AgICAgICAgICAgXCJUaGVyZSBhcmUgbm8gZGF0YUZpZWxkcyBkZWZpbmVkIGZvciBmb3JtYXR0ZXI6XCIsXG4gICAgICAgICAgICAgICAgdGhpcy5mb3JtYXR0ZXJEZWZpbml0aW9uXG4gICAgICAgICAgICApO1xuICAgICAgICAgICAgcmV0dXJuO1xuICAgICAgICB9XG5cbiAgICAgICAgdGhpcy5kcm9wZG93bkl0ZW1zID0gT2JqZWN0LmtleXMoXG4gICAgICAgICAgICB0aGlzLmZvcm1hdHRlckRlZmluaXRpb24uZGF0YVR5cGVzXG4gICAgICAgICkucmVkdWNlKChyZXN1bHQsIG5leHQpID0+IHtcbiAgICAgICAgICAgIGNvbnN0IGFsbG93ZWREYXRhVHlwZXMgPSB0aGlzLmZvcm1hdHRlckRlZmluaXRpb24uZGF0YVR5cGVzW25leHRdO1xuXG4gICAgICAgICAgICByZXN1bHRbbmV4dF0gPSBhbGxvd2VkRGF0YVR5cGVzXG4gICAgICAgICAgICAgICAgPyB0aGlzLmRhdGFGaWVsZHMuZmlsdGVyKChkZikgPT5cbiAgICAgICAgICAgICAgICAgICAgICAvLyBkYXRhVHlwZXMgY291bGQgYmUgYSBzdHJpbmcgb3IgYW4gYXJyYXkgb2Ygc3RyaW5ncywgc28gd2UncmUgY2hlY2tpbmcgdGhhdCBoZXJlXG4gICAgICAgICAgICAgICAgICAgICAgdHlwZW9mIGFsbG93ZWREYXRhVHlwZXMgPT09IFwic3RyaW5nXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgPyBkZi5kYXRhVHlwZSA9PT0gYWxsb3dlZERhdGFUeXBlc1xuICAgICAgICAgICAgICAgICAgICAgICAgICA6IChhbGxvd2VkRGF0YVR5cGVzIGFzIHN0cmluZ1tdKS5pbmNsdWRlcyhkZi5kYXRhVHlwZSlcbiAgICAgICAgICAgICAgICAgIClcbiAgICAgICAgICAgICAgICA6IC8vIGlmIG5vIGRhdGEgdHlwZXMgYXJlIGRlZmluZWQgdGhlbiBqdXN0IGluY2x1ZGUgYWxsIHRoZSBmaWVsZHNcbiAgICAgICAgICAgICAgICAgIHRoaXMuZGF0YUZpZWxkcztcblxuICAgICAgICAgICAgcmV0dXJuIHJlc3VsdDtcbiAgICAgICAgfSwge30gYXMgUmVjb3JkPHN0cmluZywgSURhdGFGaWVsZFtdPik7XG4gICAgfVxuXG4gICAgZ2V0IGRhdGFGaWVsZElkcygpOiBGb3JtR3JvdXAge1xuICAgICAgICByZXR1cm4gdGhpcy5mb3JtLmdldChcImRhdGFGaWVsZElkc1wiKSBhcyBGb3JtR3JvdXA7XG4gICAgfVxuXG4gICAgcHVibGljIGluaXRGb3JtKCk6IHZvaWQge1xuICAgICAgICAvLyBpbml0aWFsaXplIHRoZSBmb3JtQXJyYXkgd2l0aCBzZWxlY3RlZCB2YWx1ZXMgb3IgbnVsbFxuICAgICAgICBjb25zdCBkYXRhRmllbGRzRGVmaW5pdGlvbiA9IHRoaXMuZm9ybWF0dGVyRGVmaW5pdGlvbi5kYXRhVHlwZXMgfHwge307XG4gICAgICAgIGNvbnN0IGRhdGFGaWVsZEZvcm0gPSBPYmplY3Qua2V5cyhkYXRhRmllbGRzRGVmaW5pdGlvbikucmVkdWNlKFxuICAgICAgICAgICAgKHJlc3VsdCwgbmV4dCkgPT4ge1xuICAgICAgICAgICAgICAgIHJlc3VsdFtuZXh0XSA9IFtcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5mb3JtYXR0ZXI/LnByb3BlcnRpZXM/LmRhdGFGaWVsZElkcz8uW25leHRdID8/IG51bGwsXG4gICAgICAgICAgICAgICAgICAgIFZhbGlkYXRvcnMucmVxdWlyZWQsXG4gICAgICAgICAgICAgICAgXTtcbiAgICAgICAgICAgICAgICByZXR1cm4gcmVzdWx0O1xuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIHt9IGFzIFJlY29yZDxzdHJpbmcsIGFueT5cbiAgICAgICAgKTtcblxuICAgICAgICB0aGlzLmZvcm0gPSB0aGlzLmZvcm1CdWlsZGVyLmdyb3VwKHtcbiAgICAgICAgICAgIGRhdGFGaWVsZElkczogdGhpcy5mb3JtQnVpbGRlci5ncm91cChkYXRhRmllbGRGb3JtKSxcbiAgICAgICAgfSk7XG5cbiAgICAgICAgdGhpcy5hZGRDdXN0b21Gb3JtQ29udHJvbHModGhpcy5mb3JtKTtcblxuICAgICAgICB0aGlzLmZvcm1SZWFkeS5lbWl0KHRoaXMuZm9ybSk7XG4gICAgfVxuXG4gICAgcHJvdGVjdGVkIHVwZGF0ZUZvcm0oKTogdm9pZCB7XG4gICAgICAgIHRoaXMuZm9ybS5wYXRjaFZhbHVlKHRoaXMuZm9ybWF0dGVyLnByb3BlcnRpZXMgPz8ge30sIHtcbiAgICAgICAgICAgIG9ubHlTZWxmOiBmYWxzZSxcbiAgICAgICAgICAgIGVtaXRFdmVudDogZmFsc2UsXG4gICAgICAgIH0pO1xuICAgIH1cblxuICAgIC8qKlxuICAgICAqIEFkZCB5b3VyIGN1c3RvbSBmb3JtIGNvbnRyb2xzIGhlcmVcbiAgICAgKlxuICAgICAqIEBwYXJhbSBmb3JtXG4gICAgICovXG4gICAgcHJvdGVjdGVkIGFkZEN1c3RvbUZvcm1Db250cm9scyhmb3JtOiBGb3JtR3JvdXApOiB2b2lkIHt9XG59XG4iXX0=
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
2
|
+
//
|
|
3
|
+
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4
|
+
// of this software and associated documentation files (the "Software"), to
|
|
5
|
+
// deal in the Software without restriction, including without limitation the
|
|
6
|
+
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
7
|
+
// sell copies of the Software, and to permit persons to whom the Software is
|
|
8
|
+
// furnished to do so, subject to the following conditions:
|
|
9
|
+
//
|
|
10
|
+
// The above copyright notice and this permission notice shall be included in
|
|
11
|
+
// all copies or substantial portions of the Software.
|
|
12
|
+
//
|
|
13
|
+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
14
|
+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
15
|
+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
16
|
+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17
|
+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
18
|
+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
19
|
+
// THE SOFTWARE.
|
|
20
|
+
import { ChangeDetectorRef, Component } from "@angular/core";
|
|
21
|
+
import { FormBuilder, Validators } from "@angular/forms";
|
|
22
|
+
import { LoggerService } from "@nova-ui/bits";
|
|
23
|
+
import { ConfiguratorHeadingService } from "../../../../../../../../services/configurator-heading.service";
|
|
24
|
+
import { FormatterConfiguratorComponent } from "../formatter-configurator.component";
|
|
25
|
+
import * as i0 from "@angular/core";
|
|
26
|
+
import * as i1 from "../../../../../../../../services/configurator-heading.service";
|
|
27
|
+
import * as i2 from "@angular/forms";
|
|
28
|
+
import * as i3 from "@nova-ui/bits";
|
|
29
|
+
import * as i4 from "@angular/common";
|
|
30
|
+
export class LinkConfiguratorComponent extends FormatterConfiguratorComponent {
|
|
31
|
+
constructor(changeDetector, configuratorHeading, formBuilder, logger) {
|
|
32
|
+
super(changeDetector, configuratorHeading, formBuilder, logger);
|
|
33
|
+
}
|
|
34
|
+
initForm() {
|
|
35
|
+
const dataFieldForm = {
|
|
36
|
+
link: [null, Validators.required],
|
|
37
|
+
value: [null, Validators.required],
|
|
38
|
+
};
|
|
39
|
+
this.form = this.formBuilder.group({
|
|
40
|
+
dataFieldIds: this.formBuilder.group(dataFieldForm),
|
|
41
|
+
targetSelf: [false],
|
|
42
|
+
});
|
|
43
|
+
this.formReady.emit(this.form);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
LinkConfiguratorComponent.lateLoadKey = "LinkConfiguratorComponent";
|
|
47
|
+
/** @nocollapse */ LinkConfiguratorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LinkConfiguratorComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.ConfiguratorHeadingService }, { token: i2.FormBuilder }, { token: i3.LoggerService }], target: i0.ɵɵFactoryTarget.Component });
|
|
48
|
+
/** @nocollapse */ LinkConfiguratorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: LinkConfiguratorComponent, selector: "nui-link-configurator", usesInheritance: true, ngImport: i0, template: "<div [formGroup]=\"form\">\n <div formGroupName=\"dataFieldIds\">\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Label\"\n i18n-caption=\"\n label field caption| the entity field to be selected for the\n html label property\n \"\n class=\"mb-3\"\n [control]=\"dataFieldIds.controls['value']\"\n >\n <nui-select-v2 formControlName=\"value\">\n <nui-select-v2-option\n *ngFor=\"let itemValue of dropdownItems.value\"\n [value]=\"itemValue.id\"\n >\n {{ itemValue.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n <div>\n <nui-form-field\n caption=\"URL\"\n i18n-caption=\"\n url field caption| the entity field to be selected for the\n url html property\n \"\n class=\"mb-3\"\n [control]=\"dataFieldIds.controls['link']\"\n >\n <nui-select-v2 formControlName=\"link\">\n <nui-select-v2-option\n *ngFor=\"let itemLink of dropdownItems.link\"\n [value]=\"itemLink.id\"\n >\n {{ itemLink.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n </div>\n <div>\n <nui-form-field\n caption=\"Open in the same window\"\n i18n-caption=\"\n form field caption|switch configuring whether formatted link\n should open in new window/tab\n \"\n class=\"mb-3\"\n [control]=\"form.controls.targetSelf\"\n >\n <nui-switch id=\"nui-switch-target\" formControlName=\"targetSelf\">\n </nui-switch>\n </nui-form-field>\n </div>\n</div>\n", components: [{ type: i3.FormFieldComponent, selector: "nui-form-field", inputs: ["control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth", "showOptionalText"] }, { type: i3.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { type: i3.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["value", "index", "displayValueContext", "outfiltered"] }, { type: i3.ValidationMessageComponent, selector: "nui-validation-message", inputs: ["show", "for"] }, { type: i3.SwitchComponent, selector: "nui-switch", inputs: ["value", "disabled", "ariaLabel"], outputs: ["valueChange"] }], directives: [{ type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i2.FormGroupName, selector: "[formGroupName]", inputs: ["formGroupName"] }, { type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
49
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LinkConfiguratorComponent, decorators: [{
|
|
50
|
+
type: Component,
|
|
51
|
+
args: [{ selector: "nui-link-configurator", template: "<div [formGroup]=\"form\">\n <div formGroupName=\"dataFieldIds\">\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Label\"\n i18n-caption=\"\n label field caption| the entity field to be selected for the\n html label property\n \"\n class=\"mb-3\"\n [control]=\"dataFieldIds.controls['value']\"\n >\n <nui-select-v2 formControlName=\"value\">\n <nui-select-v2-option\n *ngFor=\"let itemValue of dropdownItems.value\"\n [value]=\"itemValue.id\"\n >\n {{ itemValue.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n <div>\n <nui-form-field\n caption=\"URL\"\n i18n-caption=\"\n url field caption| the entity field to be selected for the\n url html property\n \"\n class=\"mb-3\"\n [control]=\"dataFieldIds.controls['link']\"\n >\n <nui-select-v2 formControlName=\"link\">\n <nui-select-v2-option\n *ngFor=\"let itemLink of dropdownItems.link\"\n [value]=\"itemLink.id\"\n >\n {{ itemLink.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n </div>\n <div>\n <nui-form-field\n caption=\"Open in the same window\"\n i18n-caption=\"\n form field caption|switch configuring whether formatted link\n should open in new window/tab\n \"\n class=\"mb-3\"\n [control]=\"form.controls.targetSelf\"\n >\n <nui-switch id=\"nui-switch-target\" formControlName=\"targetSelf\">\n </nui-switch>\n </nui-form-field>\n </div>\n</div>\n" }]
|
|
52
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1.ConfiguratorHeadingService }, { type: i2.FormBuilder }, { type: i3.LoggerService }]; } });
|
|
53
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGluay1jb25maWd1cmF0b3IuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2xpYi9jb25maWd1cmF0b3IvY29tcG9uZW50cy93aWRnZXRzL3RhYmxlL2NvbHVtbnMtZWRpdG9yL2NvbHVtbi1jb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mdldFNlbGY6IFtmYWxzZV0sXG4gICAgICAgIH0pO1xuXG4gICAgICAgIHRoaXMuZm9ybVJlYWR5LmVtaXQodGhpcy5mb3JtKTtcbiAgICB9XG59XG4iLCI8ZGl2IFtmb3JtR3JvdXBdPVwiZm9ybVwiPlxuICAgIDxkaXYgZm9ybUdyb3VwTmFtZT1cImRhdGFGaWVsZElkc1wiPlxuICAgICAgICA8ZGl2IGNsYXNzPVwibWItNFwiPlxuICAgICAgICAgICAgPG51aS1mb3JtLWZpZWxkXG4gICAgICAgICAgICAgICAgY2FwdGlvbj1cIkxhYmVsXCJcbiAgICAgICAgICAgICAgICBpMThuLWNhcHRpb249XCJcbiAgICAgICAgICAgICAgICAgICAgbGFiZWwgZmllbGQgY2FwdGlvbnwgdGhlIGVudGl0eSBmaWVsZCB0byBiZSBzZWxlY3RlZCBmb3IgdGhlXG4gICAgICAgICAgICAgICAgICAgIGh0bWwgbGFiZWwgcHJvcGVydHlcbiAgICAgICAgICAgICAgICBcIlxuICAgICAgICAgICAgICAgIGNsYXNzPVwibWItM1wiXG4gICAgICAgICAgICAgICAgW2NvbnRyb2xdPVwiZGF0YUZpZWxkSWRzLmNvbnRyb2xzWyd2YWx1ZSddXCJcbiAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICA8bnVpLXNlbGVjdC12MiBmb3JtQ29udHJvbE5hbWU9XCJ2YWx1ZVwiPlxuICAgICAgICAgICAgICAgICAgICA8bnVpLXNlbGVjdC12Mi1vcHRpb25cbiAgICAgICAgICAgICAgICAgICAgICAgICpuZ0Zvcj1cImxldCBpdGVtVmFsdWUgb2YgZHJvcGRvd25JdGVtcy52YWx1ZVwiXG4gICAgICAgICAgICAgICAgICAgICAgICBbdmFsdWVdPVwiaXRlbVZhbHVlLmlkXCJcbiAgICAgICAgICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgICAgICAgICAge3sgaXRlbVZhbHVlLmxhYmVsIH19XG4gICAgICAgICAgICAgICAgICAgIDwvbnVpLXNlbGVjdC12Mi1vcHRpb24+XG4gICAgICAgICAgICAgICAgPC9udWktc2VsZWN0LXYyPlxuICAgICAgICAgICAgICAgIDxudWktdmFsaWRhdGlvbi1tZXNzYWdlIGZvcj1cInJlcXVpcmVkXCIgaTE4bj5cbiAgICAgICAgICAgICAgICAgICAgVGhpcyBmaWVsZCBpcyByZXF1aXJlZFxuICAgICAgICAgICAgICAgIDwvbnVpLXZhbGlkYXRpb24tbWVzc2FnZT5cbiAgICAgICAgICAgIDwvbnVpLWZvcm0tZmllbGQ+XG4gICAgICAgIDwvZGl2PlxuICAgICAgICA8ZGl2PlxuICAgICAgICAgICAgPG51aS1mb3JtLWZpZWxkXG4gICAgICAgICAgICAgICAgY2FwdGlvbj1cIlVSTFwiXG4gICAgICAgICAgICAgICAgaTE4bi1jYXB0aW9uPVwiXG4gICAgICAgICAgICAgICAgICAgIHVybCBmaWVsZCBjYXB0aW9ufCB0aGUgZW50aXR5IGZpZWxkIHRvIGJlIHNlbGVjdGVkIGZvciB0aGVcbiAgICAgICAgICAgICAgICAgICAgdXJsIGh0bWwgcHJvcGVydHlcbiAgICAgICAgICAgICAgICBcIlxuICAgICAgICAgICAgICAgIGNsYXNzPVwibWItM1wiXG4gICAgICAgICAgICAgICAgW2NvbnRyb2xdPVwiZGF0YUZpZWxkSWRzLmNvbnRyb2xzWydsaW5rJ11cIlxuICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgIDxudWktc2VsZWN0LXYyIGZvcm1Db250cm9sTmFtZT1cImxpbmtcIj5cbiAgICAgICAgICAgICAgICAgICAgPG51aS1zZWxlY3QtdjItb3B0aW9uXG4gICAgICAgICAgICAgICAgICAgICAgICAqbmdGb3I9XCJsZXQgaXRlbUxpbmsgb2YgZHJvcGRvd25JdGVtcy5saW5rXCJcbiAgICAgICAgICAgICAgICAgICAgICAgIFt2YWx1ZV09XCJpdGVtTGluay5pZFwiXG4gICAgICAgICAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICAgICAgICAgIHt7IGl0ZW1MaW5rLmxhYmVsIH19XG4gICAgICAgICAgICAgICAgICAgIDwvbnVpLXNlbGVjdC12Mi1vcHRpb24+XG4gICAgICAgICAgICAgICAgPC9udWktc2VsZWN0LXYyPlxuICAgICAgICAgICAgICAgIDxudWktdmFsaWRhdGlvbi1tZXNzYWdlIGZvcj1cInJlcXVpcmVkXCIgaTE4bj5cbiAgICAgICAgICAgICAgICAgICAgVGhpcyBmaWVsZCBpcyByZXF1aXJlZFxuICAgICAgICAgICAgICAgIDwvbnVpLXZhbGlkYXRpb24tbWVzc2FnZT5cbiAgICAgICAgICAgIDwvbnVpLWZvcm0tZmllbGQ+XG4gICAgICAgIDwvZGl2PlxuICAgIDwvZGl2PlxuICAgIDxkaXY+XG4gICAgICAgIDxudWktZm9ybS1maWVsZFxuICAgICAgICAgICAgY2FwdGlvbj1cIk9wZW4gaW4gdGhlIHNhbWUgd2luZG93XCJcbiAgICAgICAgICAgIGkxOG4tY2FwdGlvbj1cIlxuICAgICAgICAgICAgICAgIGZvcm0gZmllbGQgY2FwdGlvbnxzd2l0Y2ggY29uZmlndXJpbmcgd2hldGhlciBmb3JtYXR0ZWQgbGlua1xuICAgICAgICAgICAgICAgIHNob3VsZCBvcGVuIGluIG5ldyB3aW5kb3cvdGFiXG4gICAgICAgICAgICBcIlxuICAgICAgICAgICAgY2xhc3M9XCJtYi0zXCJcbiAgICAgICAgICAgIFtjb250cm9sXT1cImZvcm0uY29udHJvbHMudGFyZ2V0U2VsZlwiXG4gICAgICAgID5cbiAgICAgICAgICAgIDxudWktc3dpdGNoIGlkPVwibnVpLXN3aXRjaC10YXJnZXRcIiBmb3JtQ29udHJvbE5hbWU9XCJ0YXJnZXRTZWxmXCI+XG4gICAgICAgICAgICA8L251aS1zd2l0Y2g+XG4gICAgICAgIDwvbnVpLWZvcm0tZmllbGQ+XG4gICAgPC9kaXY+XG48L2Rpdj5cbiJdfQ==
|