@nova-ui/dashboards 12.0.17 → 13.0.1-3938
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/common/common.module.mjs +41 -0
- package/esm2020/lib/common/components/preview-overlay/preview-overlay.component.mjs +35 -0
- package/{esm2015/lib/common/components/public-api.js → esm2020/lib/common/components/public-api.mjs} +0 -0
- package/esm2020/lib/common/components/widget-error/widget-error.component.mjs +54 -0
- package/{esm2015/lib/common/constants.js → esm2020/lib/common/constants.mjs} +0 -0
- package/esm2020/lib/common/pipes/dashboard-unit-conversion-pipe.mjs +57 -0
- package/{esm2015/lib/common/pipes/public-api.js → esm2020/lib/common/pipes/public-api.mjs} +0 -0
- package/{esm2015/lib/common/public-api.js → esm2020/lib/common/public-api.mjs} +0 -0
- package/esm2020/lib/components/dashboard/dashboard.component.mjs +222 -0
- package/{esm2015/lib/components/dashboard/default-gridster-config.js → esm2020/lib/components/dashboard/default-gridster-config.mjs} +0 -0
- package/{esm2015/lib/components/dashboard/public-api.js → esm2020/lib/components/dashboard/public-api.mjs} +0 -0
- package/{esm2015/lib/components/dashboard/types.js → esm2020/lib/components/dashboard/types.mjs} +0 -0
- package/esm2020/lib/components/embedded-content/embedded-content.component.mjs +95 -0
- package/esm2020/lib/components/kpi-widget/kpi.component.mjs +119 -0
- package/{esm2015/lib/components/kpi-widget/public-api.js → esm2020/lib/components/kpi-widget/public-api.mjs} +0 -0
- package/{esm2015/lib/components/kpi-widget/types.js → esm2020/lib/components/kpi-widget/types.mjs} +0 -0
- package/esm2020/lib/components/layouts/base-layout.mjs +118 -0
- package/{esm2015/lib/components/layouts/public-api.js → esm2020/lib/components/layouts/public-api.mjs} +0 -0
- package/esm2020/lib/components/layouts/stack/stack.component.mjs +65 -0
- package/esm2020/lib/components/layouts/tiles/tiles.component.mjs +99 -0
- package/esm2020/lib/components/list-widget/list-elements/list-group-item/list-group-item.component.mjs +62 -0
- package/esm2020/lib/components/list-widget/list-elements/list-leaf-item/list-leaf-item.component.mjs +76 -0
- package/esm2020/lib/components/list-widget/list-elements/list-navigation-bar/list-navigation-bar.component.mjs +60 -0
- package/esm2020/lib/components/list-widget/list-widget.component.mjs +105 -0
- package/{esm2015/lib/components/list-widget/public-api.js → esm2020/lib/components/list-widget/public-api.mjs} +0 -0
- package/{esm2015/lib/components/list-widget/types.js → esm2020/lib/components/list-widget/types.mjs} +0 -0
- package/esm2020/lib/components/loading/loading.component.mjs +51 -0
- package/{esm2015/lib/components/loading/public-api.js → esm2020/lib/components/loading/public-api.mjs} +0 -0
- package/esm2020/lib/components/proportional-widget/proportional-donut-content/proportional-donut-content.component.mjs +152 -0
- package/esm2020/lib/components/proportional-widget/proportional-widget.component.mjs +328 -0
- package/{esm2015/lib/components/proportional-widget/public-api.js → esm2020/lib/components/proportional-widget/public-api.mjs} +0 -0
- package/{esm2015/lib/components/proportional-widget/types.js → esm2020/lib/components/proportional-widget/types.mjs} +0 -0
- package/esm2020/lib/components/providers/data-source-adapter.mjs +145 -0
- package/esm2020/lib/components/providers/drilldown-data-source-adapter.mjs +114 -0
- package/{esm2015/lib/components/providers/event-bus-debugger.js → esm2020/lib/components/providers/event-bus-debugger.mjs} +4 -4
- package/esm2020/lib/components/providers/interaction/interaction-handler.mjs +56 -0
- package/esm2020/lib/components/providers/interaction/url-interaction-handler.mjs +69 -0
- package/esm2020/lib/components/providers/kpi-color-prioritizer.mjs +107 -0
- package/esm2020/lib/components/providers/kpi-data-source-adapter.mjs +109 -0
- package/esm2020/lib/components/providers/kpi-scale-sync-broker.mjs +143 -0
- package/esm2020/lib/components/providers/kpi-status-content-fallback-adapter.mjs +104 -0
- package/esm2020/lib/components/providers/loading-adapter.mjs +72 -0
- package/esm2020/lib/components/providers/pizzagna-broadcaster.service.mjs +84 -0
- package/{esm2015/lib/components/providers/public-api.js → esm2020/lib/components/providers/public-api.mjs} +0 -0
- package/{esm2015/lib/components/providers/refresher-settings.service.js → esm2020/lib/components/providers/refresher-settings.service.mjs} +4 -4
- package/esm2020/lib/components/providers/refresher.mjs +105 -0
- package/esm2020/lib/components/providers/status-content-fallback-adapter.mjs +67 -0
- package/esm2020/lib/components/providers/table-data-source-adapter.mjs +83 -0
- package/esm2020/lib/components/providers/timeseries-data-source-adapter.mjs +72 -0
- package/{esm2015/lib/components/providers/types.js → esm2020/lib/components/providers/types.mjs} +0 -0
- package/{esm2015/lib/components/public-api.js → esm2020/lib/components/public-api.mjs} +0 -0
- package/esm2020/lib/components/table-widget/addons/search-feature-addon.service.mjs +101 -0
- package/esm2020/lib/components/table-widget/addons/virtual-scroll-feature-addon.service.mjs +79 -0
- package/{esm2015/lib/components/table-widget/delayed-mouse-presence-detection.directive.js → esm2020/lib/components/table-widget/delayed-mouse-presence-detection.directive.mjs} +4 -4
- package/{esm2015/lib/components/table-widget/public-api.js → esm2020/lib/components/table-widget/public-api.mjs} +0 -0
- package/esm2020/lib/components/table-widget/table-widget.component.mjs +493 -0
- package/{esm2015/lib/components/table-widget/types.js → esm2020/lib/components/table-widget/types.mjs} +0 -0
- package/{esm2015/lib/components/template-load-error/template-load-error.component.js → esm2020/lib/components/template-load-error/template-load-error.component.mjs} +4 -4
- package/{esm2015/lib/components/time-frame-selection/public-api.js → esm2020/lib/components/time-frame-selection/public-api.mjs} +0 -0
- package/esm2020/lib/components/time-frame-selection/timeframe-selection.component.mjs +129 -0
- package/{esm2015/lib/components/timeseries-widget/chart-presets/public-api.js → esm2020/lib/components/timeseries-widget/chart-presets/public-api.mjs} +0 -0
- package/esm2020/lib/components/timeseries-widget/chart-presets/status-bar-chart/apply-status-endpoints.mjs +73 -0
- package/esm2020/lib/components/timeseries-widget/chart-presets/status-bar-chart/status-bar-chart.component.mjs +152 -0
- package/esm2020/lib/components/timeseries-widget/chart-presets/timeseries-chart.component.mjs +110 -0
- package/esm2020/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/line-chart.component.mjs +62 -0
- package/esm2020/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-area-chart.component.mjs +62 -0
- package/esm2020/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-bar-chart.component.mjs +79 -0
- package/esm2020/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-percentage-area-chart.component.mjs +62 -0
- package/esm2020/lib/components/timeseries-widget/chart-presets/xy-chart/xy-chart.component.mjs +160 -0
- package/{esm2015/lib/components/timeseries-widget/public-api.js → esm2020/lib/components/timeseries-widget/public-api.mjs} +0 -0
- package/{esm2015/lib/components/timeseries-widget/timeseries-chart-preset.service.js → esm2020/lib/components/timeseries-widget/timeseries-chart-preset.service.mjs} +4 -4
- package/esm2020/lib/components/timeseries-widget/timeseries-scales.service.mjs +85 -0
- package/esm2020/lib/components/timeseries-widget/timeseries-widget.component.mjs +69 -0
- package/{esm2015/lib/components/timeseries-widget/types.js → esm2020/lib/components/timeseries-widget/types.mjs} +0 -0
- package/{esm2015/lib/components/types.js → esm2020/lib/components/types.mjs} +0 -0
- package/{esm2015/lib/components/widget/public-api.js → esm2020/lib/components/widget/public-api.mjs} +0 -0
- package/{esm2015/lib/components/widget/types.js → esm2020/lib/components/widget/types.mjs} +0 -0
- package/esm2020/lib/components/widget/widget-body/widget-body.component.mjs +88 -0
- package/esm2020/lib/components/widget/widget-body-content/widget-body-content.component.mjs +75 -0
- package/{esm2015/lib/components/widget/widget-header/types.js → esm2020/lib/components/widget/widget-header/types.mjs} +0 -0
- package/esm2020/lib/components/widget/widget-header/widget-header.component.mjs +202 -0
- package/esm2020/lib/components/widget/widget.component.mjs +65 -0
- package/{esm2015/lib/components/widget-search/types.js → esm2020/lib/components/widget-search/types.mjs} +0 -0
- package/esm2020/lib/components/widget-search/widget-search.component.mjs +111 -0
- package/{esm2015/lib/configurator/components/color-picker/HTMLcolors.js → esm2020/lib/configurator/components/color-picker/HTMLcolors.mjs} +0 -0
- package/esm2020/lib/configurator/components/color-picker/color-picker.component.mjs +183 -0
- package/{esm2015/lib/configurator/components/color-picker/color.service.js → esm2020/lib/configurator/components/color-picker/color.service.mjs} +4 -4
- package/esm2020/lib/configurator/components/configurator/configurator.component.mjs +116 -0
- package/esm2020/lib/configurator/components/drop-area/drop-area.component.mjs +30 -0
- package/esm2020/lib/configurator/components/form-stack/form-stack.component.mjs +86 -0
- package/esm2020/lib/configurator/components/formatters/donut-content-percentage-formatter/donut-content-percentage-configuration.component.mjs +43 -0
- package/esm2020/lib/configurator/components/formatters/donut-content-percentage-formatter/donut-content-percentage-formatter.component.mjs +84 -0
- package/{esm2015/lib/configurator/components/formatters/donut-content-raw-formatter/donut-content-raw-formatter.component.js → esm2020/lib/configurator/components/formatters/donut-content-raw-formatter/donut-content-raw-formatter.component.mjs} +5 -5
- package/{esm2015/lib/configurator/components/formatters/donut-content-sum-formatter/donut-content-sum-formatter.component.js → esm2020/lib/configurator/components/formatters/donut-content-sum-formatter/donut-content-sum-formatter.component.mjs} +4 -4
- package/esm2020/lib/configurator/components/formatters/icon-formatter/icon-formatter.component.mjs +84 -0
- package/{esm2015/lib/configurator/components/formatters/link-formatter/link-formatter.component.js → esm2020/lib/configurator/components/formatters/link-formatter/link-formatter.component.mjs} +5 -5
- package/{esm2015/lib/configurator/components/formatters/percentage-formatter/percentage-formatter.component.js → esm2020/lib/configurator/components/formatters/percentage-formatter/percentage-formatter.component.mjs} +4 -4
- package/{esm2015/lib/configurator/components/formatters/raw-formatter/raw-formatter.component.js → esm2020/lib/configurator/components/formatters/raw-formatter/raw-formatter.component.mjs} +4 -4
- package/esm2020/lib/configurator/components/formatters/si-units-formatter/si-units-formatter.component.mjs +119 -0
- package/{esm2015/lib/configurator/components/formatters/status-with-icon-formatter/status-with-icon-formatter.component.js → esm2020/lib/configurator/components/formatters/status-with-icon-formatter/status-with-icon-formatter.component.mjs} +5 -5
- package/{esm2015/lib/configurator/components/formatters/types.js → esm2020/lib/configurator/components/formatters/types.mjs} +0 -0
- package/esm2020/lib/configurator/components/formatters/widget-formatter-configurators/donut-formatter-configurator.component.mjs +92 -0
- package/esm2020/lib/configurator/components/heading/configurator-heading.component.mjs +49 -0
- package/esm2020/lib/configurator/components/items-dynamic/items-dynamic.component.mjs +146 -0
- package/{esm2015/lib/common/components/preview-overlay/preview-overlay.component.js → esm2020/lib/configurator/components/preview-placeholder/preview-placeholder.component.mjs} +7 -15
- package/{esm2015/lib/configurator/components/public-api.js → esm2020/lib/configurator/components/public-api.mjs} +0 -0
- package/{esm2015/lib/configurator/components/types.js → esm2020/lib/configurator/components/types.mjs} +0 -0
- package/esm2020/lib/configurator/components/widget-cloner/widget-cloner.component.mjs +169 -0
- package/{esm2015/lib/configurator/components/widget-configurator-section/widget-configurator-section-coordinator.service.js → esm2020/lib/configurator/components/widget-configurator-section/widget-configurator-section-coordinator.service.mjs} +4 -4
- package/esm2020/lib/configurator/components/widget-configurator-section/widget-configurator-section.component.mjs +83 -0
- package/esm2020/lib/configurator/components/widget-editor/widget-editor.component.mjs +147 -0
- package/esm2020/lib/configurator/components/widget-editor-accordion/widget-editor-accordion.component.mjs +69 -0
- package/esm2020/lib/configurator/components/widgets/configurator-items/background-color-rules-configuration/background-color-rules-configuration.component.mjs +121 -0
- package/esm2020/lib/configurator/components/widgets/configurator-items/data-source-configuration/data-source-configuration.component.mjs +152 -0
- package/esm2020/lib/configurator/components/widgets/configurator-items/data-source-configuration-v2/data-source-configuration-v2.component.mjs +197 -0
- package/esm2020/lib/configurator/components/widgets/configurator-items/data-source-error/data-source-error.component.mjs +74 -0
- package/{esm2015/lib/configurator/components/widgets/configurator-items/data-source-error/public-api.js → esm2020/lib/configurator/components/widgets/configurator-items/data-source-error/public-api.mjs} +0 -0
- package/esm2020/lib/configurator/components/widgets/configurator-items/data-source-error/table/table-data-source-error.component.mjs +41 -0
- package/esm2020/lib/configurator/components/widgets/configurator-items/embedded-content-configuration/embedded-content-configuration.component.mjs +133 -0
- package/esm2020/lib/configurator/components/widgets/configurator-items/info-message-configuration/info-message-configuration.component.mjs +44 -0
- package/esm2020/lib/configurator/components/widgets/configurator-items/kpi-description-configuration/kpi-description-configuration.component.mjs +101 -0
- package/{esm2015/lib/configurator/components/widgets/configurator-items/public-api.js → esm2020/lib/configurator/components/widgets/configurator-items/public-api.mjs} +0 -0
- package/{esm2015/lib/configurator/components/widgets/configurator-items/refresher-configuration/public-api.js → esm2020/lib/configurator/components/widgets/configurator-items/refresher-configuration/public-api.mjs} +0 -0
- package/{esm2015/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/refresh-rate-configurator.component.js → esm2020/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/refresh-rate-configurator.component.mjs} +8 -14
- package/{esm2015/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/time-units.js → esm2020/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/time-units.mjs} +0 -0
- package/{esm2015/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/types.js → esm2020/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/types.mjs} +0 -0
- package/esm2020/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresher-configuration.component.mjs +168 -0
- package/esm2020/lib/configurator/components/widgets/configurator-items/thresholds-configuration/thresholds-configuration.component.mjs +139 -0
- package/esm2020/lib/configurator/components/widgets/configurator-items/thresholds-configuration/thresholds-validator.mjs +56 -0
- package/esm2020/lib/configurator/components/widgets/configurator-items/timeseries-metadata-configuration/timeseries-metadata-configuration.component.mjs +150 -0
- package/esm2020/lib/configurator/components/widgets/configurator-items/title-and-description-configuration/title-and-description-configuration.component.mjs +90 -0
- package/esm2020/lib/configurator/components/widgets/drilldown/entity-formatting-configuration/entity-formatting-configuration.component.mjs +74 -0
- package/esm2020/lib/configurator/components/widgets/drilldown/grouping-configuration/grouping-configuration.component.mjs +159 -0
- package/{esm2015/lib/configurator/components/widgets/drilldown/public-api.js → esm2020/lib/configurator/components/widgets/drilldown/public-api.mjs} +0 -0
- package/esm2020/lib/configurator/components/widgets/kpi/kpi-tiles-configuration/kpi-tiles-configuration.component.mjs +92 -0
- package/{esm2015/lib/configurator/components/widgets/kpi/kpi-tiles-configuration/public-api.js → esm2020/lib/configurator/components/widgets/kpi/kpi-tiles-configuration/public-api.mjs} +0 -0
- package/{esm2015/lib/configurator/components/widgets/kpi/public-api.js → esm2020/lib/configurator/components/widgets/kpi/public-api.mjs} +0 -0
- package/{esm2015/lib/configurator/components/widgets/kpi/types.js → esm2020/lib/configurator/components/widgets/kpi/types.mjs} +0 -0
- package/esm2020/lib/configurator/components/widgets/proportional/aggregators-configurators/aggregator-configurator/aggregator-configurator.component.mjs +72 -0
- package/esm2020/lib/configurator/components/widgets/proportional/aggregators-configurators/field-mapper-aggregator-configurator/field-mapper-aggregator-configurator.component.mjs +87 -0
- package/esm2020/lib/configurator/components/widgets/proportional/chart-options-editor/proportional-chart-options-editor.component.mjs +165 -0
- package/esm2020/lib/configurator/components/widgets/proportional/chart-options-editor-v2/proportional-chart-options-editor-v2.component.mjs +107 -0
- package/esm2020/lib/configurator/components/widgets/proportional/donut-content-configuration/donut-content-configuration.component.mjs +167 -0
- package/{esm2015/lib/configurator/components/widgets/proportional/public-api.js → esm2020/lib/configurator/components/widgets/proportional/public-api.mjs} +0 -0
- package/{esm2015/lib/configurator/components/widgets/public-api.js → esm2020/lib/configurator/components/widgets/public-api.mjs} +0 -0
- package/esm2020/lib/configurator/components/widgets/table/columns-editor/column-configuration/description-configuration/description-configuration.component.mjs +79 -0
- package/esm2020/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/formatter-configurator.component.mjs +117 -0
- package/esm2020/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/link-configurator/link-configurator.component.mjs +53 -0
- package/esm2020/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/value-selector/value-selector.component.mjs +43 -0
- package/esm2020/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/presentation-configuration.component.mjs +258 -0
- package/esm2020/lib/configurator/components/widgets/table/columns-editor/table-columns-configuration.component.mjs +263 -0
- package/esm2020/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/description-configuration/description-configuration-v2.component.mjs +122 -0
- package/esm2020/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/presentation-configuration/presentation-configuration-v2.component.mjs +308 -0
- package/esm2020/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/table-column-configuration/table-column-configuration.component.mjs +109 -0
- package/esm2020/lib/configurator/components/widgets/table/columns-editor-v2/table-columns-configuration-v2.component.mjs +250 -0
- package/esm2020/lib/configurator/components/widgets/table/filters-editor/table-filters-editor.component.mjs +121 -0
- package/{esm2015/lib/configurator/components/widgets/table/public-api.js → esm2020/lib/configurator/components/widgets/table/public-api.mjs} +0 -0
- package/{esm2015/lib/configurator/components/widgets/timeseries/public-api.js → esm2020/lib/configurator/components/widgets/timeseries/public-api.mjs} +0 -0
- package/esm2020/lib/configurator/components/widgets/timeseries/timeseries-series-collection-configuration/timeseries-series-collection-configuration.component.mjs +111 -0
- package/esm2020/lib/configurator/components/widgets/timeseries/timeseries-tile-description-configuration/timeseries-tile-description-configuration.component.mjs +67 -0
- package/esm2020/lib/configurator/components/widgets/timeseries/timeseries-tile-indicator-data-configuration/timeseries-tile-indicator-data-configuration.component.mjs +106 -0
- package/{esm2015/lib/configurator/components/widgets/timeseries/types.js → esm2020/lib/configurator/components/widgets/timeseries/types.mjs} +0 -0
- package/{esm2015/lib/configurator/components/wizard/dashwiz/dashwiz-buttons.component.js → esm2020/lib/configurator/components/wizard/dashwiz/dashwiz-buttons.component.mjs} +5 -5
- package/esm2020/lib/configurator/components/wizard/dashwiz/dashwiz.component.mjs +344 -0
- package/{esm2015/lib/configurator/components/wizard/dashwiz/dashwiz.service.js → esm2020/lib/configurator/components/wizard/dashwiz/dashwiz.service.mjs} +4 -4
- package/{esm2015/lib/configurator/components/wizard/dashwiz/model.js → esm2020/lib/configurator/components/wizard/dashwiz/model.mjs} +0 -0
- package/{esm2015/lib/configurator/components/wizard/dashwiz/public-api.js → esm2020/lib/configurator/components/wizard/dashwiz/public-api.mjs} +0 -0
- package/esm2020/lib/configurator/components/wizard/dashwiz-step/dashwiz-step.component.mjs +131 -0
- package/{esm2015/lib/configurator/components/wizard/dashwiz-step/public-api.js → esm2020/lib/configurator/components/wizard/dashwiz-step/public-api.mjs} +0 -0
- package/{esm2015/lib/configurator/components/wizard/public-api.js → esm2020/lib/configurator/components/wizard/public-api.mjs} +0 -0
- package/{esm2015/lib/configurator/components/wizard/types.js → esm2020/lib/configurator/components/wizard/types.mjs} +0 -0
- package/{esm2015/lib/configurator/configurator.module.js → esm2020/lib/configurator/configurator.module.mjs} +5 -6
- package/{esm2015/lib/configurator/functions/has-control-in-error-state.js → esm2020/lib/configurator/functions/has-control-in-error-state.mjs} +0 -0
- package/{esm2015/lib/configurator/functions/public-api.js → esm2020/lib/configurator/functions/public-api.mjs} +0 -0
- package/{esm2015/lib/configurator/pipe/add-data.pipe.js → esm2020/lib/configurator/pipe/add-data.pipe.mjs} +4 -4
- package/esm2020/lib/configurator/pipe/pizzagna-root.pipe.mjs +45 -0
- package/{esm2015/lib/configurator/pipe/public-api.js → esm2020/lib/configurator/pipe/public-api.mjs} +0 -0
- package/{esm2015/lib/configurator/pipe/widget-configurator-section-header.pipe.js → esm2020/lib/configurator/pipe/widget-configurator-section-header.pipe.mjs} +4 -4
- package/{esm2015/lib/configurator/pipe/widget-editor-accordion-form-state.pipe.js → esm2020/lib/configurator/pipe/widget-editor-accordion-form-state.pipe.mjs} +4 -4
- package/{esm2015/lib/configurator/pipe/widget-editor-accordion-header-icon.pipe.js → esm2020/lib/configurator/pipe/widget-editor-accordion-header-icon.pipe.mjs} +4 -4
- package/{esm2015/lib/configurator/public-api.js → esm2020/lib/configurator/public-api.mjs} +0 -0
- package/esm2020/lib/configurator/services/configurator-data-source-manager.service.mjs +89 -0
- package/{esm2015/lib/configurator/services/configurator-heading.service.js → esm2020/lib/configurator/services/configurator-heading.service.mjs} +4 -4
- package/esm2020/lib/configurator/services/configurator.service.mjs +142 -0
- package/{esm2015/lib/configurator/services/converters/base-converter.js → esm2020/lib/configurator/services/converters/base-converter.mjs} +4 -4
- package/{esm2015/lib/configurator/services/converters/kpi/kpi-section-converter/kpi-section-converter.service.js → esm2020/lib/configurator/services/converters/kpi/kpi-section-converter/kpi-section-converter.service.mjs} +5 -5
- package/esm2020/lib/configurator/services/converters/kpi/kpi-tiles-converter.service.mjs +107 -0
- package/esm2020/lib/configurator/services/converters/proportional/proportional-widget-chart-options-converter.service.mjs +68 -0
- package/{esm2015/lib/configurator/services/converters/public-api.js → esm2020/lib/configurator/services/converters/public-api.mjs} +0 -0
- package/esm2020/lib/configurator/services/converters/shared/generic-array-converter/generic-array-converter.service.mjs +81 -0
- package/{esm2015/lib/configurator/services/converters/shared/generic-converter/generic-converter.service.js → esm2020/lib/configurator/services/converters/shared/generic-converter/generic-converter.service.mjs} +5 -5
- package/esm2020/lib/configurator/services/converters/shared/title-and-description-converter/title-and-description-converter.service.mjs +64 -0
- package/esm2020/lib/configurator/services/converters/table/table-columns-converter.service.mjs +180 -0
- package/esm2020/lib/configurator/services/converters/table/table-filters-converter.service.mjs +67 -0
- package/{esm2015/lib/configurator/services/converters/timeseries/timeseries-metadata-converter.service.js → esm2020/lib/configurator/services/converters/timeseries/timeseries-metadata-converter.service.mjs} +4 -4
- package/esm2020/lib/configurator/services/converters/timeseries/timeseries-series-converter.service.mjs +170 -0
- package/{esm2015/lib/configurator/services/converters/timeseries/timeseries-tile-indicator-data-converter.service.js → esm2020/lib/configurator/services/converters/timeseries/timeseries-tile-indicator-data-converter.service.mjs} +8 -5
- package/{esm2015/lib/configurator/services/converters/types.js → esm2020/lib/configurator/services/converters/types.mjs} +0 -0
- package/{esm2015/lib/configurator/services/kpi-widget-color.service.js → esm2020/lib/configurator/services/kpi-widget-color.service.mjs} +4 -4
- package/{esm2015/lib/configurator/services/preview.service.js → esm2020/lib/configurator/services/preview.service.mjs} +4 -4
- package/{esm2015/lib/configurator/services/public-api.js → esm2020/lib/configurator/services/public-api.mjs} +0 -0
- package/{esm2015/lib/configurator/services/timeframe-serialization.service.js → esm2020/lib/configurator/services/timeframe-serialization.service.mjs} +4 -4
- package/{esm2015/lib/configurator/services/types.js → esm2020/lib/configurator/services/types.mjs} +0 -0
- package/{esm2015/lib/configurator/services/widget-cloner.service.js → esm2020/lib/configurator/services/widget-cloner.service.mjs} +4 -4
- package/esm2020/lib/configurator/services/widget-editor.service.mjs +61 -0
- package/{esm2015/lib/configurator/types.js → esm2020/lib/configurator/types.mjs} +0 -0
- package/{esm2015/lib/constants/default-palette.js → esm2020/lib/constants/default-palette.mjs} +0 -0
- package/{esm2015/lib/constants/public-api.js → esm2020/lib/constants/public-api.mjs} +0 -0
- package/{esm2015/lib/constants/si-units-prefixes.js → esm2020/lib/constants/si-units-prefixes.mjs} +0 -0
- package/{esm2015/lib/dashboards.module.js → esm2020/lib/dashboards.module.mjs} +5 -6
- package/{esm2015/lib/directives/gridster-item-widget-id/gridster-item-widget-id.directive.js → esm2020/lib/directives/gridster-item-widget-id/gridster-item-widget-id.directive.mjs} +4 -4
- package/{esm2015/lib/directives/public-api.js → esm2020/lib/directives/public-api.mjs} +0 -0
- package/{esm2015/lib/directives/widget-editor/public-api.js → esm2020/lib/directives/widget-editor/public-api.mjs} +0 -0
- package/{esm2015/lib/directives/widget-editor/widget-editor.directive.js → esm2020/lib/directives/widget-editor/widget-editor.directive.mjs} +4 -4
- package/esm2020/lib/functions/get-parent-component-id.mjs +30 -0
- package/{esm2015/lib/functions/map-data-to-formatter-properties.js → esm2020/lib/functions/map-data-to-formatter-properties.mjs} +0 -0
- package/{esm2015/lib/functions/merge-changes.js → esm2020/lib/functions/merge-changes.mjs} +0 -0
- package/{esm2015/lib/functions/on-mark-as-touched.js → esm2020/lib/functions/on-mark-as-touched.mjs} +0 -0
- package/{esm2015/lib/functions/parse-string-with-data.js → esm2020/lib/functions/parse-string-with-data.mjs} +0 -0
- package/esm2020/lib/functions/proportional-aggregators/field-mapper.mjs +33 -0
- package/esm2020/lib/functions/proportional-aggregators/percentage-aggregator.mjs +44 -0
- package/{esm2015/lib/functions/proportional-aggregators/public-api.js → esm2020/lib/functions/proportional-aggregators/public-api.mjs} +0 -0
- package/{esm2015/lib/functions/proportional-aggregators/sum-aggregator.js → esm2020/lib/functions/proportional-aggregators/sum-aggregator.mjs} +0 -0
- package/{esm2015/lib/functions/proportional-aggregators/types.js → esm2020/lib/functions/proportional-aggregators/types.mjs} +0 -0
- package/{esm2015/lib/functions/public-api.js → esm2020/lib/functions/public-api.mjs} +0 -0
- package/{esm2015/lib/pizzagna/components/pizzagna/pizzagna.component.js → esm2020/lib/pizzagna/components/pizzagna/pizzagna.component.mjs} +6 -10
- package/{esm2015/lib/pizzagna/components/pizzagna/public-api.js → esm2020/lib/pizzagna/components/pizzagna/public-api.mjs} +0 -0
- package/esm2020/lib/pizzagna/directives/component-portal/component-portal.directive.mjs +306 -0
- package/{esm2015/lib/pizzagna/directives/component-portal/public-api.js → esm2020/lib/pizzagna/directives/component-portal/public-api.mjs} +0 -0
- package/{esm2015/lib/pizzagna/functions/get-pizzagna-property-path.js → esm2020/lib/pizzagna/functions/get-pizzagna-property-path.mjs} +0 -0
- package/{esm2015/lib/pizzagna/functions/public-api.js → esm2020/lib/pizzagna/functions/public-api.mjs} +0 -0
- package/{esm2015/lib/pizzagna/pizzagna.module.js → esm2020/lib/pizzagna/pizzagna.module.mjs} +5 -5
- package/{esm2015/lib/pizzagna/public-api.js → esm2020/lib/pizzagna/public-api.mjs} +0 -0
- package/{esm2015/lib/pizzagna/services/component-portal.service.js → esm2020/lib/pizzagna/services/component-portal.service.mjs} +4 -4
- package/{esm2015/lib/pizzagna/services/component-registry.service.js → esm2020/lib/pizzagna/services/component-registry.service.mjs} +4 -4
- package/esm2020/lib/pizzagna/services/dynamic-component-creator.service.mjs +63 -0
- package/esm2020/lib/pizzagna/services/pizzagna.service.mjs +133 -0
- package/{esm2015/lib/pizzagna/services/public-api.js → esm2020/lib/pizzagna/services/public-api.mjs} +0 -0
- package/esm2020/lib/services/category-chart-util.service.mjs +126 -0
- package/{esm2015/lib/services/event-registry.service.js → esm2020/lib/services/event-registry.service.mjs} +4 -4
- package/esm2020/lib/services/kpi-color-comparators-registry.service.mjs +68 -0
- package/{esm2015/lib/services/proportional-content-aggregators-registry.service.js → esm2020/lib/services/proportional-content-aggregators-registry.service.mjs} +4 -4
- package/{esm2015/lib/services/provider-registry.service.js → esm2020/lib/services/provider-registry.service.mjs} +4 -4
- package/{esm2015/lib/services/public-api.js → esm2020/lib/services/public-api.mjs} +0 -0
- package/esm2020/lib/services/registry-service.mjs +83 -0
- package/{esm2015/lib/services/table-formatter-registry.service.js → esm2020/lib/services/table-formatter-registry.service.mjs} +13 -13
- package/{esm2015/lib/services/types.js → esm2020/lib/services/types.mjs} +0 -0
- package/esm2020/lib/services/url-interaction.service.mjs +52 -0
- package/{esm2015/lib/services/widget-configuration.service.js → esm2020/lib/services/widget-configuration.service.mjs} +4 -4
- package/{esm2015/lib/services/widget-removal.service.js → esm2020/lib/services/widget-removal.service.mjs} +4 -4
- package/esm2020/lib/services/widget-to-dashboard-event-proxy.service.mjs +152 -0
- package/esm2020/lib/services/widget-types.service.mjs +88 -0
- package/{esm2015/lib/types.js → esm2020/lib/types.mjs} +0 -0
- package/{esm2015/lib/widget-types/common/configurator/components.js → esm2020/lib/widget-types/common/configurator/components.mjs} +0 -0
- package/{esm2015/lib/widget-types/common/configurator/public-api.js → esm2020/lib/widget-types/common/configurator/public-api.mjs} +0 -0
- package/{esm2015/lib/widget-types/common/public-api.js → esm2020/lib/widget-types/common/public-api.mjs} +0 -0
- package/esm2020/lib/widget-types/common/widget/components.mjs +133 -0
- package/{esm2015/lib/widget-types/common/widget/legend.js → esm2020/lib/widget-types/common/widget/legend.mjs} +0 -0
- package/{esm2015/lib/widget-types/common/widget/providers.js → esm2020/lib/widget-types/common/widget/providers.mjs} +0 -0
- package/{esm2015/lib/widget-types/common/widget/public-api.js → esm2020/lib/widget-types/common/widget/public-api.mjs} +0 -0
- package/{esm2015/lib/widget-types/common/widget/types.js → esm2020/lib/widget-types/common/widget/types.mjs} +0 -0
- package/{esm2015/lib/widget-types/drilldown/drilldown-configurator.js → esm2020/lib/widget-types/drilldown/drilldown-configurator.mjs} +0 -0
- package/esm2020/lib/widget-types/drilldown/drilldown-widget.mjs +95 -0
- package/{esm2015/lib/widget-types/drilldown/drilldown.js → esm2020/lib/widget-types/drilldown/drilldown.mjs} +0 -0
- package/{esm2015/lib/widget-types/embedded-content/embedded-content-configurator.js → esm2020/lib/widget-types/embedded-content/embedded-content-configurator.mjs} +0 -0
- package/esm2020/lib/widget-types/embedded-content/embedded-content-widget.mjs +73 -0
- package/{esm2015/lib/widget-types/embedded-content/embedded-content.js → esm2020/lib/widget-types/embedded-content/embedded-content.mjs} +0 -0
- package/{esm2015/lib/widget-types/kpi/kpi-configurator.js → esm2020/lib/widget-types/kpi/kpi-configurator.mjs} +0 -0
- package/esm2020/lib/widget-types/kpi/kpi-widget.mjs +105 -0
- package/{esm2015/lib/widget-types/kpi/kpi.js → esm2020/lib/widget-types/kpi/kpi.mjs} +0 -0
- package/{esm2015/lib/widget-types/preview-placeholder.js → esm2020/lib/widget-types/preview-placeholder.mjs} +0 -0
- package/{esm2015/lib/widget-types/proportional/donut-content-configurator-slice.js → esm2020/lib/widget-types/proportional/donut-content-configurator-slice.mjs} +0 -0
- package/{esm2015/lib/widget-types/proportional/proportional-configurator.js → esm2020/lib/widget-types/proportional/proportional-configurator.mjs} +0 -0
- package/esm2020/lib/widget-types/proportional/proportional-widget.mjs +91 -0
- package/{esm2015/lib/widget-types/proportional/proportional.js → esm2020/lib/widget-types/proportional/proportional.mjs} +0 -0
- package/{esm2015/lib/widget-types/public-api.js → esm2020/lib/widget-types/public-api.mjs} +0 -0
- package/{esm2015/lib/widget-types/table/default-table-formatters.js → esm2020/lib/widget-types/table/default-table-formatters.mjs} +0 -0
- package/{esm2015/lib/widget-types/table/table-configurator.js → esm2020/lib/widget-types/table/table-configurator.mjs} +0 -0
- package/esm2020/lib/widget-types/table/table-widget.mjs +111 -0
- package/{esm2015/lib/widget-types/table/table.js → esm2020/lib/widget-types/table/table.mjs} +0 -0
- package/{esm2015/lib/widget-types/timeseries/timeseries-configurator.js → esm2020/lib/widget-types/timeseries/timeseries-configurator.mjs} +0 -0
- package/esm2020/lib/widget-types/timeseries/timeseries-widget.mjs +122 -0
- package/{esm2015/lib/widget-types/timeseries/timeseries.js → esm2020/lib/widget-types/timeseries/timeseries.mjs} +0 -0
- package/{esm2015/nova-ui-dashboards.js → esm2020/nova-ui-dashboards.mjs} +0 -0
- package/{esm2015/public-api.js → esm2020/public-api.mjs} +0 -0
- package/fesm2015/{nova-ui-dashboards.js → nova-ui-dashboards.mjs} +1195 -1463
- package/fesm2015/nova-ui-dashboards.mjs.map +1 -0
- package/fesm2020/nova-ui-dashboards.mjs +16252 -0
- package/fesm2020/nova-ui-dashboards.mjs.map +1 -0
- package/lib/components/list-widget/list-elements/list-leaf-item/list-leaf-item.component.d.ts +1 -1
- package/lib/components/providers/data-source-adapter.d.ts +1 -1
- package/lib/components/providers/kpi-color-prioritizer.d.ts +1 -1
- package/lib/components/providers/refresher.d.ts +1 -1
- package/lib/components/providers/status-content-fallback-adapter.d.ts +1 -1
- package/lib/components/widget-search/widget-search.component.d.ts +1 -1
- package/lib/configurator/components/configurator/configurator.component.d.ts +1 -1
- package/lib/configurator/services/converters/base-converter.d.ts +1 -1
- package/package.json +36 -17
- package/sdk/atoms/spec/test.po.js +1 -1
- package/sdk/atoms/spec/test.po.js.map +1 -1
- package/sdk/atoms/spec/virtual-dashboards/drilldown-widget-test/drilldown-widget-test.component.js +10 -10
- package/sdk/atoms/spec/virtual-dashboards/drilldown-widget-test/drilldown-widget-test.component.js.map +1 -1
- package/sdk/atoms/spec/virtual-dashboards/drilldown-widget-test/drilldown-widget-test.component.spec.js +1 -1
- package/sdk/atoms/spec/virtual-dashboards/drilldown-widget-test/drilldown-widget-test.component.spec.js.map +1 -1
- package/sdk/atoms/src/lib/common/common.module.js +1 -2
- package/sdk/atoms/src/lib/common/common.module.js.map +1 -1
- package/sdk/atoms/src/lib/common/components/preview-overlay/preview-overlay.component.js +1 -1
- package/sdk/atoms/src/lib/common/components/preview-overlay/preview-overlay.component.js.map +1 -1
- package/sdk/atoms/src/lib/common/components/widget-error/widget-error.component.js +6 -6
- package/sdk/atoms/src/lib/common/components/widget-error/widget-error.component.js.map +1 -1
- package/sdk/atoms/src/lib/common/pipes/dashboard-unit-conversion-pipe.js +1 -1
- package/sdk/atoms/src/lib/common/pipes/dashboard-unit-conversion-pipe.js.map +1 -1
- package/sdk/atoms/src/lib/components/dashboard/dashboard.component.js +17 -17
- package/sdk/atoms/src/lib/components/dashboard/dashboard.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/embedded-content/embedded-content.component.js +8 -8
- package/sdk/atoms/src/lib/components/embedded-content/embedded-content.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/kpi-widget/kpi.component.js +12 -12
- package/sdk/atoms/src/lib/components/kpi-widget/kpi.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/layouts/base-layout.js +3 -3
- package/sdk/atoms/src/lib/components/layouts/base-layout.js.map +1 -1
- package/sdk/atoms/src/lib/components/layouts/stack/stack.component.js +5 -5
- package/sdk/atoms/src/lib/components/layouts/stack/stack.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/layouts/tiles/tiles.component.js +5 -5
- package/sdk/atoms/src/lib/components/layouts/tiles/tiles.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/list-widget/list-elements/list-group-item/list-group-item.component.js +7 -7
- package/sdk/atoms/src/lib/components/list-widget/list-elements/list-group-item/list-group-item.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/list-widget/list-elements/list-leaf-item/list-leaf-item.component.d.ts +1 -1
- package/sdk/atoms/src/lib/components/list-widget/list-elements/list-leaf-item/list-leaf-item.component.js +10 -10
- package/sdk/atoms/src/lib/components/list-widget/list-elements/list-leaf-item/list-leaf-item.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/list-widget/list-elements/list-navigation-bar/list-navigation-bar.component.js +4 -4
- package/sdk/atoms/src/lib/components/list-widget/list-elements/list-navigation-bar/list-navigation-bar.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/list-widget/list-widget.component.js +8 -8
- package/sdk/atoms/src/lib/components/list-widget/list-widget.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/loading/loading.component.js +6 -6
- package/sdk/atoms/src/lib/components/loading/loading.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/proportional-widget/proportional-donut-content/proportional-donut-content.component.js +6 -6
- package/sdk/atoms/src/lib/components/proportional-widget/proportional-donut-content/proportional-donut-content.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/proportional-widget/proportional-widget.component.js +15 -15
- package/sdk/atoms/src/lib/components/proportional-widget/proportional-widget.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/data-source-adapter.d.ts +1 -1
- package/sdk/atoms/src/lib/components/providers/data-source-adapter.js +11 -11
- package/sdk/atoms/src/lib/components/providers/data-source-adapter.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/drilldown-data-source-adapter.js +3 -3
- package/sdk/atoms/src/lib/components/providers/drilldown-data-source-adapter.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/event-bus-debugger.js +4 -4
- package/sdk/atoms/src/lib/components/providers/event-bus-debugger.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/interaction/interaction-handler.js +2 -2
- package/sdk/atoms/src/lib/components/providers/interaction/interaction-handler.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/interaction/url-interaction-handler.js +3 -3
- package/sdk/atoms/src/lib/components/providers/interaction/url-interaction-handler.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/kpi-color-prioritizer.d.ts +1 -1
- package/sdk/atoms/src/lib/components/providers/kpi-color-prioritizer.js +4 -4
- package/sdk/atoms/src/lib/components/providers/kpi-color-prioritizer.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/kpi-data-source-adapter.js +5 -5
- package/sdk/atoms/src/lib/components/providers/kpi-data-source-adapter.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/kpi-scale-sync-broker.js +4 -4
- package/sdk/atoms/src/lib/components/providers/kpi-scale-sync-broker.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/kpi-status-content-fallback-adapter.js +5 -5
- package/sdk/atoms/src/lib/components/providers/kpi-status-content-fallback-adapter.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/loading-adapter.js +4 -4
- package/sdk/atoms/src/lib/components/providers/loading-adapter.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/pizzagna-broadcaster.service.js +6 -6
- package/sdk/atoms/src/lib/components/providers/pizzagna-broadcaster.service.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/refresher-settings.service.js +1 -1
- package/sdk/atoms/src/lib/components/providers/refresher-settings.service.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/refresher.d.ts +1 -1
- package/sdk/atoms/src/lib/components/providers/refresher.js +4 -4
- package/sdk/atoms/src/lib/components/providers/refresher.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/status-content-fallback-adapter.d.ts +1 -1
- package/sdk/atoms/src/lib/components/providers/status-content-fallback-adapter.js +3 -3
- package/sdk/atoms/src/lib/components/providers/status-content-fallback-adapter.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/table-data-source-adapter.js +7 -7
- package/sdk/atoms/src/lib/components/providers/table-data-source-adapter.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/timeseries-data-source-adapter.js +3 -3
- package/sdk/atoms/src/lib/components/providers/timeseries-data-source-adapter.js.map +1 -1
- package/sdk/atoms/src/lib/components/table-widget/addons/search-feature-addon.service.js +5 -5
- package/sdk/atoms/src/lib/components/table-widget/addons/search-feature-addon.service.js.map +1 -1
- package/sdk/atoms/src/lib/components/table-widget/addons/virtual-scroll-feature-addon.service.js +12 -10
- package/sdk/atoms/src/lib/components/table-widget/addons/virtual-scroll-feature-addon.service.js.map +1 -1
- package/sdk/atoms/src/lib/components/table-widget/delayed-mouse-presence-detection.directive.js +7 -7
- package/sdk/atoms/src/lib/components/table-widget/delayed-mouse-presence-detection.directive.js.map +1 -1
- package/sdk/atoms/src/lib/components/table-widget/table-widget.component.js +31 -31
- package/sdk/atoms/src/lib/components/table-widget/table-widget.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/template-load-error/template-load-error.component.js +1 -1
- package/sdk/atoms/src/lib/components/template-load-error/template-load-error.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/time-frame-selection/timeframe-selection.component.js +12 -12
- package/sdk/atoms/src/lib/components/time-frame-selection/timeframe-selection.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/status-bar-chart/apply-status-endpoints.js +6 -6
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/status-bar-chart/apply-status-endpoints.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/status-bar-chart/status-bar-chart.component.js +7 -7
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/status-bar-chart/status-bar-chart.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/timeseries-chart.component.js +4 -4
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/timeseries-chart.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/line-chart.component.js +4 -4
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/line-chart.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-area-chart.component.js +6 -6
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-area-chart.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-bar-chart.component.js +6 -6
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-bar-chart.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-percentage-area-chart.component.js +6 -6
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-percentage-area-chart.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/xy-chart.component.js +8 -8
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/xy-chart.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-chart-preset.service.js +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-chart-preset.service.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-scales.service.js +3 -3
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-scales.service.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-widget.component.js +6 -6
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-widget.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/widget/widget-body/widget-body.component.js +8 -8
- package/sdk/atoms/src/lib/components/widget/widget-body/widget-body.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/widget/widget-body-content/widget-body-content.component.js +7 -7
- package/sdk/atoms/src/lib/components/widget/widget-body-content/widget-body-content.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/widget/widget-header/widget-header.component.js +27 -27
- package/sdk/atoms/src/lib/components/widget/widget-header/widget-header.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/widget/widget.component.js +3 -3
- package/sdk/atoms/src/lib/components/widget/widget.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/widget-search/widget-search.component.d.ts +1 -1
- package/sdk/atoms/src/lib/components/widget-search/widget-search.component.js +8 -8
- package/sdk/atoms/src/lib/components/widget-search/widget-search.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/color-picker/color-picker.component.js +12 -12
- package/sdk/atoms/src/lib/configurator/components/color-picker/color-picker.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/color-picker/color.service.js +2 -2
- package/sdk/atoms/src/lib/configurator/components/color-picker/color.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/configurator/configurator.component.d.ts +1 -1
- package/sdk/atoms/src/lib/configurator/components/configurator/configurator.component.js +6 -6
- package/sdk/atoms/src/lib/configurator/components/configurator/configurator.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/drop-area/drop-area.component.js +1 -1
- package/sdk/atoms/src/lib/configurator/components/drop-area/drop-area.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/form-stack/form-stack.component.js +4 -4
- package/sdk/atoms/src/lib/configurator/components/form-stack/form-stack.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/formatters/donut-content-percentage-formatter/donut-content-percentage-configuration.component.js +1 -1
- package/sdk/atoms/src/lib/configurator/components/formatters/donut-content-percentage-formatter/donut-content-percentage-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/formatters/donut-content-percentage-formatter/donut-content-percentage-formatter.component.js +6 -6
- package/sdk/atoms/src/lib/configurator/components/formatters/donut-content-percentage-formatter/donut-content-percentage-formatter.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/formatters/donut-content-raw-formatter/donut-content-raw-formatter.component.js +4 -4
- package/sdk/atoms/src/lib/configurator/components/formatters/donut-content-raw-formatter/donut-content-raw-formatter.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/formatters/donut-content-sum-formatter/donut-content-sum-formatter.component.js +3 -3
- package/sdk/atoms/src/lib/configurator/components/formatters/donut-content-sum-formatter/donut-content-sum-formatter.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/formatters/icon-formatter/icon-formatter.component.js +2 -2
- package/sdk/atoms/src/lib/configurator/components/formatters/icon-formatter/icon-formatter.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/formatters/link-formatter/link-formatter.component.js +3 -3
- package/sdk/atoms/src/lib/configurator/components/formatters/link-formatter/link-formatter.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/formatters/percentage-formatter/percentage-formatter.component.js +1 -1
- package/sdk/atoms/src/lib/configurator/components/formatters/percentage-formatter/percentage-formatter.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/formatters/raw-formatter/raw-formatter.component.js +4 -4
- package/sdk/atoms/src/lib/configurator/components/formatters/raw-formatter/raw-formatter.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/formatters/si-units-formatter/si-units-formatter.component.js +6 -6
- package/sdk/atoms/src/lib/configurator/components/formatters/si-units-formatter/si-units-formatter.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/formatters/status-with-icon-formatter/status-with-icon-formatter.component.js +2 -2
- package/sdk/atoms/src/lib/configurator/components/formatters/status-with-icon-formatter/status-with-icon-formatter.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/formatters/widget-formatter-configurators/donut-formatter-configurator.component.js +4 -4
- package/sdk/atoms/src/lib/configurator/components/formatters/widget-formatter-configurators/donut-formatter-configurator.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/heading/configurator-heading.component.js +4 -4
- package/sdk/atoms/src/lib/configurator/components/heading/configurator-heading.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/items-dynamic/items-dynamic.component.js +8 -8
- package/sdk/atoms/src/lib/configurator/components/items-dynamic/items-dynamic.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/preview-placeholder/preview-placeholder.component.js +1 -1
- package/sdk/atoms/src/lib/configurator/components/preview-placeholder/preview-placeholder.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widget-cloner/widget-cloner.component.js +7 -7
- package/sdk/atoms/src/lib/configurator/components/widget-cloner/widget-cloner.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widget-configurator-section/widget-configurator-section-coordinator.service.js +2 -2
- package/sdk/atoms/src/lib/configurator/components/widget-configurator-section/widget-configurator-section-coordinator.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widget-configurator-section/widget-configurator-section.component.js +7 -7
- package/sdk/atoms/src/lib/configurator/components/widget-configurator-section/widget-configurator-section.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widget-editor/widget-editor.component.js +8 -8
- package/sdk/atoms/src/lib/configurator/components/widget-editor/widget-editor.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widget-editor-accordion/widget-editor-accordion.component.js +3 -3
- package/sdk/atoms/src/lib/configurator/components/widget-editor-accordion/widget-editor-accordion.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/background-color-rules-configuration/background-color-rules-configuration.component.js +6 -6
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/background-color-rules-configuration/background-color-rules-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/data-source-configuration/data-source-configuration.component.js +8 -8
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/data-source-configuration/data-source-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/data-source-configuration-v2/data-source-configuration-v2.component.js +9 -9
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/data-source-configuration-v2/data-source-configuration-v2.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/data-source-error/data-source-error.component.js +6 -6
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/data-source-error/data-source-error.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/data-source-error/table/table-data-source-error.component.js +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/data-source-error/table/table-data-source-error.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/embedded-content-configuration/embedded-content-configuration.component.js +8 -8
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/embedded-content-configuration/embedded-content-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/info-message-configuration/info-message-configuration.component.js +5 -5
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/info-message-configuration/info-message-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/kpi-description-configuration/kpi-description-configuration.component.js +14 -14
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/kpi-description-configuration/kpi-description-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/refresh-rate-configurator.component.js +12 -12
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/refresh-rate-configurator.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresher-configuration.component.js +12 -12
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresher-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/thresholds-configuration/thresholds-configuration.component.js +9 -9
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/thresholds-configuration/thresholds-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/thresholds-configuration/thresholds-validator.js +3 -3
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/thresholds-configuration/thresholds-validator.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/timeseries-metadata-configuration/timeseries-metadata-configuration.component.js +11 -11
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/timeseries-metadata-configuration/timeseries-metadata-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/title-and-description-configuration/title-and-description-configuration.component.js +7 -7
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/title-and-description-configuration/title-and-description-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/drilldown/entity-formatting-configuration/entity-formatting-configuration.component.js +4 -4
- package/sdk/atoms/src/lib/configurator/components/widgets/drilldown/entity-formatting-configuration/entity-formatting-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/drilldown/grouping-configuration/grouping-configuration.component.js +10 -10
- package/sdk/atoms/src/lib/configurator/components/widgets/drilldown/grouping-configuration/grouping-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/kpi/kpi-tiles-configuration/kpi-tiles-configuration.component.js +8 -8
- package/sdk/atoms/src/lib/configurator/components/widgets/kpi/kpi-tiles-configuration/kpi-tiles-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/proportional/aggregators-configurators/aggregator-configurator/aggregator-configurator.component.js +5 -5
- package/sdk/atoms/src/lib/configurator/components/widgets/proportional/aggregators-configurators/aggregator-configurator/aggregator-configurator.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/proportional/aggregators-configurators/field-mapper-aggregator-configurator/field-mapper-aggregator-configurator.component.js +5 -5
- package/sdk/atoms/src/lib/configurator/components/widgets/proportional/aggregators-configurators/field-mapper-aggregator-configurator/field-mapper-aggregator-configurator.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/proportional/chart-options-editor/proportional-chart-options-editor.component.js +9 -9
- package/sdk/atoms/src/lib/configurator/components/widgets/proportional/chart-options-editor/proportional-chart-options-editor.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/proportional/chart-options-editor-v2/proportional-chart-options-editor-v2.component.js +8 -8
- package/sdk/atoms/src/lib/configurator/components/widgets/proportional/chart-options-editor-v2/proportional-chart-options-editor-v2.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/proportional/donut-content-configuration/donut-content-configuration.component.js +10 -10
- package/sdk/atoms/src/lib/configurator/components/widgets/proportional/donut-content-configuration/donut-content-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/column-configuration/description-configuration/description-configuration.component.js +7 -7
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/column-configuration/description-configuration/description-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/formatter-configurator.component.js +6 -6
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/formatter-configurator.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/link-configurator/link-configurator.component.js +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/link-configurator/link-configurator.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/value-selector/value-selector.component.js +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/value-selector/value-selector.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/presentation-configuration.component.js +13 -13
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/presentation-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/table-columns-configuration.component.js +19 -19
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/table-columns-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/description-configuration/description-configuration-v2.component.js +7 -7
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/description-configuration/description-configuration-v2.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/presentation-configuration/presentation-configuration-v2.component.js +15 -15
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/presentation-configuration/presentation-configuration-v2.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/table-column-configuration/table-column-configuration.component.js +7 -7
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/table-column-configuration/table-column-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor-v2/table-columns-configuration-v2.component.js +12 -12
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor-v2/table-columns-configuration-v2.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/filters-editor/table-filters-editor.component.js +7 -7
- package/sdk/atoms/src/lib/configurator/components/widgets/table/filters-editor/table-filters-editor.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/timeseries/timeseries-series-collection-configuration/timeseries-series-collection-configuration.component.js +10 -10
- package/sdk/atoms/src/lib/configurator/components/widgets/timeseries/timeseries-series-collection-configuration/timeseries-series-collection-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/timeseries/timeseries-tile-description-configuration/timeseries-tile-description-configuration.component.js +4 -4
- package/sdk/atoms/src/lib/configurator/components/widgets/timeseries/timeseries-tile-description-configuration/timeseries-tile-description-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/timeseries/timeseries-tile-indicator-data-configuration/timeseries-tile-indicator-data-configuration.component.js +7 -7
- package/sdk/atoms/src/lib/configurator/components/widgets/timeseries/timeseries-tile-indicator-data-configuration/timeseries-tile-indicator-data-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/wizard/dashwiz/dashwiz-buttons.component.js +12 -12
- package/sdk/atoms/src/lib/configurator/components/wizard/dashwiz/dashwiz-buttons.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/wizard/dashwiz/dashwiz.component.js +24 -24
- package/sdk/atoms/src/lib/configurator/components/wizard/dashwiz/dashwiz.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/wizard/dashwiz/dashwiz.service.js +1 -1
- package/sdk/atoms/src/lib/configurator/components/wizard/dashwiz/dashwiz.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/wizard/dashwiz-step/dashwiz-step.component.js +12 -12
- package/sdk/atoms/src/lib/configurator/components/wizard/dashwiz-step/dashwiz-step.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/configurator.module.js +1 -2
- package/sdk/atoms/src/lib/configurator/configurator.module.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/pipe/add-data.pipe.js +3 -3
- package/sdk/atoms/src/lib/configurator/pipe/add-data.pipe.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/pipe/pizzagna-root.pipe.js +1 -1
- package/sdk/atoms/src/lib/configurator/pipe/pizzagna-root.pipe.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/pipe/widget-configurator-section-header.pipe.js +1 -1
- package/sdk/atoms/src/lib/configurator/pipe/widget-configurator-section-header.pipe.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/pipe/widget-editor-accordion-form-state.pipe.js +3 -3
- package/sdk/atoms/src/lib/configurator/pipe/widget-editor-accordion-form-state.pipe.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/pipe/widget-editor-accordion-header-icon.pipe.js +2 -2
- package/sdk/atoms/src/lib/configurator/pipe/widget-editor-accordion-header-icon.pipe.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/configurator-data-source-manager.service.js +5 -5
- package/sdk/atoms/src/lib/configurator/services/configurator-data-source-manager.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/configurator-heading.service.js +1 -1
- package/sdk/atoms/src/lib/configurator/services/configurator-heading.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/configurator.service.js +11 -11
- package/sdk/atoms/src/lib/configurator/services/configurator.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/base-converter.d.ts +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/base-converter.js +2 -2
- package/sdk/atoms/src/lib/configurator/services/converters/base-converter.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/kpi/kpi-section-converter/kpi-section-converter.service.js +8 -8
- package/sdk/atoms/src/lib/configurator/services/converters/kpi/kpi-section-converter/kpi-section-converter.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/kpi/kpi-tiles-converter.service.js +9 -9
- package/sdk/atoms/src/lib/configurator/services/converters/kpi/kpi-tiles-converter.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/proportional/proportional-widget-chart-options-converter.service.js +9 -9
- package/sdk/atoms/src/lib/configurator/services/converters/proportional/proportional-widget-chart-options-converter.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/shared/generic-array-converter/generic-array-converter.service.js +9 -9
- package/sdk/atoms/src/lib/configurator/services/converters/shared/generic-array-converter/generic-array-converter.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/shared/generic-converter/generic-converter.service.js +8 -8
- package/sdk/atoms/src/lib/configurator/services/converters/shared/generic-converter/generic-converter.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/shared/title-and-description-converter/title-and-description-converter.service.js +9 -9
- package/sdk/atoms/src/lib/configurator/services/converters/shared/title-and-description-converter/title-and-description-converter.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/table/table-columns-converter.service.js +14 -14
- package/sdk/atoms/src/lib/configurator/services/converters/table/table-columns-converter.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/table/table-filters-converter.service.js +6 -6
- package/sdk/atoms/src/lib/configurator/services/converters/table/table-filters-converter.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/timeseries/timeseries-metadata-converter.service.js +15 -15
- package/sdk/atoms/src/lib/configurator/services/converters/timeseries/timeseries-metadata-converter.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/timeseries/timeseries-series-converter.service.js +26 -26
- package/sdk/atoms/src/lib/configurator/services/converters/timeseries/timeseries-series-converter.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/timeseries/timeseries-tile-indicator-data-converter.service.js +7 -7
- package/sdk/atoms/src/lib/configurator/services/converters/timeseries/timeseries-tile-indicator-data-converter.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/kpi-widget-color.service.js +1 -1
- package/sdk/atoms/src/lib/configurator/services/kpi-widget-color.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/preview.service.js +1 -1
- package/sdk/atoms/src/lib/configurator/services/preview.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/timeframe-serialization.service.js +3 -3
- package/sdk/atoms/src/lib/configurator/services/timeframe-serialization.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/widget-cloner.service.js +1 -1
- package/sdk/atoms/src/lib/configurator/services/widget-cloner.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/widget-editor.service.js +2 -2
- package/sdk/atoms/src/lib/configurator/services/widget-editor.service.js.map +1 -1
- package/sdk/atoms/src/lib/constants/default-palette.js +1 -1
- package/sdk/atoms/src/lib/constants/default-palette.js.map +1 -1
- package/sdk/atoms/src/lib/dashboards.module.js +1 -2
- package/sdk/atoms/src/lib/dashboards.module.js.map +1 -1
- package/sdk/atoms/src/lib/directives/gridster-item-widget-id/gridster-item-widget-id.directive.js +4 -4
- package/sdk/atoms/src/lib/directives/gridster-item-widget-id/gridster-item-widget-id.directive.js.map +1 -1
- package/sdk/atoms/src/lib/directives/widget-editor/widget-editor.directive.js +9 -9
- package/sdk/atoms/src/lib/directives/widget-editor/widget-editor.directive.js.map +1 -1
- package/sdk/atoms/src/lib/functions/merge-changes.js +3 -3
- package/sdk/atoms/src/lib/functions/merge-changes.js.map +1 -1
- package/sdk/atoms/src/lib/functions/proportional-aggregators/field-mapper.js +1 -1
- package/sdk/atoms/src/lib/functions/proportional-aggregators/field-mapper.js.map +1 -1
- package/sdk/atoms/src/lib/functions/proportional-aggregators/percentage-aggregator.js +1 -1
- package/sdk/atoms/src/lib/functions/proportional-aggregators/percentage-aggregator.js.map +1 -1
- package/sdk/atoms/src/lib/functions/proportional-aggregators/sum-aggregator.js +1 -1
- package/sdk/atoms/src/lib/functions/proportional-aggregators/sum-aggregator.js.map +1 -1
- package/sdk/atoms/src/lib/pizzagna/components/pizzagna/pizzagna.component.js +9 -9
- package/sdk/atoms/src/lib/pizzagna/components/pizzagna/pizzagna.component.js.map +1 -1
- package/sdk/atoms/src/lib/pizzagna/directives/component-portal/component-portal.directive.js +13 -13
- package/sdk/atoms/src/lib/pizzagna/directives/component-portal/component-portal.directive.js.map +1 -1
- package/sdk/atoms/src/lib/pizzagna/pizzagna.module.js +1 -1
- package/sdk/atoms/src/lib/pizzagna/pizzagna.module.js.map +1 -1
- package/sdk/atoms/src/lib/pizzagna/services/component-portal.service.js +1 -1
- package/sdk/atoms/src/lib/pizzagna/services/component-portal.service.js.map +1 -1
- package/sdk/atoms/src/lib/pizzagna/services/component-registry.service.js +1 -1
- package/sdk/atoms/src/lib/pizzagna/services/component-registry.service.js.map +1 -1
- package/sdk/atoms/src/lib/pizzagna/services/dynamic-component-creator.service.js +4 -4
- package/sdk/atoms/src/lib/pizzagna/services/dynamic-component-creator.service.js.map +1 -1
- package/sdk/atoms/src/lib/pizzagna/services/pizzagna.service.js +6 -6
- package/sdk/atoms/src/lib/pizzagna/services/pizzagna.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/category-chart-util.service.js +6 -6
- package/sdk/atoms/src/lib/services/category-chart-util.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/event-registry.service.js +1 -1
- package/sdk/atoms/src/lib/services/event-registry.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/kpi-color-comparators-registry.service.js +1 -1
- package/sdk/atoms/src/lib/services/kpi-color-comparators-registry.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/proportional-content-aggregators-registry.service.js +1 -1
- package/sdk/atoms/src/lib/services/proportional-content-aggregators-registry.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/provider-registry.service.js +1 -1
- package/sdk/atoms/src/lib/services/provider-registry.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/registry-service.js +3 -3
- package/sdk/atoms/src/lib/services/registry-service.js.map +1 -1
- package/sdk/atoms/src/lib/services/table-formatter-registry.service.js +4 -4
- package/sdk/atoms/src/lib/services/table-formatter-registry.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/unit-test-registry.service.js +1 -1
- package/sdk/atoms/src/lib/services/unit-test-registry.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/url-interaction.service.js +1 -1
- package/sdk/atoms/src/lib/services/url-interaction.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/widget-configuration.service.js +1 -1
- package/sdk/atoms/src/lib/services/widget-configuration.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/widget-removal.service.js +4 -4
- package/sdk/atoms/src/lib/services/widget-removal.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/widget-to-dashboard-event-proxy.service.js +8 -8
- package/sdk/atoms/src/lib/services/widget-to-dashboard-event-proxy.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/widget-types.service.js +3 -3
- package/sdk/atoms/src/lib/services/widget-types.service.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/drilldown/drilldown-widget.js +2 -2
- package/sdk/atoms/src/lib/widget-types/drilldown/drilldown-widget.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/embedded-content/embedded-content-widget.js +2 -2
- package/sdk/atoms/src/lib/widget-types/embedded-content/embedded-content-widget.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/kpi/kpi-widget.js +3 -3
- package/sdk/atoms/src/lib/widget-types/kpi/kpi-widget.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/proportional/proportional-widget.js +3 -3
- package/sdk/atoms/src/lib/widget-types/proportional/proportional-widget.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/table/table-widget.js +3 -3
- package/sdk/atoms/src/lib/widget-types/table/table-widget.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/timeseries/timeseries-widget.js +3 -3
- package/sdk/atoms/src/lib/widget-types/timeseries/timeseries-widget.js.map +1 -1
- package/sdk/locale/messages.en.xlf +176 -172
- package/sdk/schematics/ng-add/index.d.ts +2 -0
- package/sdk/schematics/ng-add/index.js +27 -16
- package/sdk/schematics/ng-add/index.js.map +1 -0
- package/sdk/schematics/ng-add/index.spec.d.ts +1 -0
- package/sdk/schematics/ng-add/index.spec.js +134 -0
- package/sdk/schematics/ng-add/index.spec.js.map +1 -0
- package/sdk/schematics/ng-add/schema.json +4 -4
- package/bundles/nova-ui-dashboards.umd.js +0 -17845
- package/bundles/nova-ui-dashboards.umd.js.map +0 -1
- package/esm2015/lib/common/common.module.js +0 -42
- package/esm2015/lib/common/components/widget-error/widget-error.component.js +0 -58
- package/esm2015/lib/common/pipes/dashboard-unit-conversion-pipe.js +0 -57
- package/esm2015/lib/components/dashboard/dashboard.component.js +0 -232
- package/esm2015/lib/components/embedded-content/embedded-content.component.js +0 -96
- package/esm2015/lib/components/kpi-widget/kpi.component.js +0 -128
- package/esm2015/lib/components/layouts/base-layout.js +0 -118
- package/esm2015/lib/components/layouts/stack/stack.component.js +0 -68
- package/esm2015/lib/components/layouts/tiles/tiles.component.js +0 -105
- package/esm2015/lib/components/list-widget/list-elements/list-group-item/list-group-item.component.js +0 -68
- package/esm2015/lib/components/list-widget/list-elements/list-leaf-item/list-leaf-item.component.js +0 -82
- package/esm2015/lib/components/list-widget/list-elements/list-navigation-bar/list-navigation-bar.component.js +0 -66
- package/esm2015/lib/components/list-widget/list-widget.component.js +0 -105
- package/esm2015/lib/components/loading/loading.component.js +0 -56
- package/esm2015/lib/components/proportional-widget/proportional-donut-content/proportional-donut-content.component.js +0 -152
- package/esm2015/lib/components/proportional-widget/proportional-widget.component.js +0 -340
- package/esm2015/lib/components/providers/data-source-adapter.js +0 -146
- package/esm2015/lib/components/providers/drilldown-data-source-adapter.js +0 -115
- package/esm2015/lib/components/providers/interaction/interaction-handler.js +0 -57
- package/esm2015/lib/components/providers/interaction/url-interaction-handler.js +0 -70
- package/esm2015/lib/components/providers/kpi-color-prioritizer.js +0 -110
- package/esm2015/lib/components/providers/kpi-data-source-adapter.js +0 -104
- package/esm2015/lib/components/providers/kpi-scale-sync-broker.js +0 -138
- package/esm2015/lib/components/providers/kpi-status-content-fallback-adapter.js +0 -106
- package/esm2015/lib/components/providers/loading-adapter.js +0 -72
- package/esm2015/lib/components/providers/pizzagna-broadcaster.service.js +0 -84
- package/esm2015/lib/components/providers/refresher.js +0 -106
- package/esm2015/lib/components/providers/status-content-fallback-adapter.js +0 -68
- package/esm2015/lib/components/providers/table-data-source-adapter.js +0 -84
- package/esm2015/lib/components/providers/timeseries-data-source-adapter.js +0 -72
- package/esm2015/lib/components/table-widget/addons/search-feature-addon.service.js +0 -104
- package/esm2015/lib/components/table-widget/addons/virtual-scroll-feature-addon.service.js +0 -81
- package/esm2015/lib/components/table-widget/table-widget.component.js +0 -503
- package/esm2015/lib/components/time-frame-selection/timeframe-selection.component.js +0 -134
- package/esm2015/lib/components/timeseries-widget/chart-presets/status-bar-chart/apply-status-endpoints.js +0 -67
- package/esm2015/lib/components/timeseries-widget/chart-presets/status-bar-chart/status-bar-chart.component.js +0 -149
- package/esm2015/lib/components/timeseries-widget/chart-presets/timeseries-chart.component.js +0 -112
- package/esm2015/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/line-chart.component.js +0 -66
- package/esm2015/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-area-chart.component.js +0 -66
- package/esm2015/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-bar-chart.component.js +0 -83
- package/esm2015/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-percentage-area-chart.component.js +0 -66
- package/esm2015/lib/components/timeseries-widget/chart-presets/xy-chart/xy-chart.component.js +0 -156
- package/esm2015/lib/components/timeseries-widget/timeseries-scales.service.js +0 -86
- package/esm2015/lib/components/timeseries-widget/timeseries-widget.component.js +0 -74
- package/esm2015/lib/components/widget/widget-body/widget-body.component.js +0 -92
- package/esm2015/lib/components/widget/widget-body-content/widget-body-content.component.js +0 -78
- package/esm2015/lib/components/widget/widget-header/widget-header.component.js +0 -207
- package/esm2015/lib/components/widget/widget.component.js +0 -69
- package/esm2015/lib/components/widget-search/widget-search.component.js +0 -121
- package/esm2015/lib/configurator/components/color-picker/color-picker.component.js +0 -191
- package/esm2015/lib/configurator/components/configurator/configurator.component.js +0 -122
- package/esm2015/lib/configurator/components/drop-area/drop-area.component.js +0 -34
- package/esm2015/lib/configurator/components/form-stack/form-stack.component.js +0 -90
- package/esm2015/lib/configurator/components/formatters/donut-content-percentage-formatter/donut-content-percentage-configuration.component.js +0 -46
- package/esm2015/lib/configurator/components/formatters/donut-content-percentage-formatter/donut-content-percentage-formatter.component.js +0 -86
- package/esm2015/lib/configurator/components/formatters/icon-formatter/icon-formatter.component.js +0 -85
- package/esm2015/lib/configurator/components/formatters/si-units-formatter/si-units-formatter.component.js +0 -120
- package/esm2015/lib/configurator/components/formatters/widget-formatter-configurators/donut-formatter-configurator.component.js +0 -95
- package/esm2015/lib/configurator/components/heading/configurator-heading.component.js +0 -53
- package/esm2015/lib/configurator/components/items-dynamic/items-dynamic.component.js +0 -151
- package/esm2015/lib/configurator/components/preview-placeholder/preview-placeholder.component.js +0 -35
- package/esm2015/lib/configurator/components/widget-cloner/widget-cloner.component.js +0 -168
- package/esm2015/lib/configurator/components/widget-configurator-section/widget-configurator-section.component.js +0 -90
- package/esm2015/lib/configurator/components/widget-editor/widget-editor.component.js +0 -143
- package/esm2015/lib/configurator/components/widget-editor-accordion/widget-editor-accordion.component.js +0 -75
- package/esm2015/lib/configurator/components/widgets/configurator-items/background-color-rules-configuration/background-color-rules-configuration.component.js +0 -132
- package/esm2015/lib/configurator/components/widgets/configurator-items/data-source-configuration/data-source-configuration.component.js +0 -158
- package/esm2015/lib/configurator/components/widgets/configurator-items/data-source-configuration-v2/data-source-configuration-v2.component.js +0 -207
- package/esm2015/lib/configurator/components/widgets/configurator-items/data-source-error/data-source-error.component.js +0 -75
- package/esm2015/lib/configurator/components/widgets/configurator-items/data-source-error/table/table-data-source-error.component.js +0 -45
- package/esm2015/lib/configurator/components/widgets/configurator-items/embedded-content-configuration/embedded-content-configuration.component.js +0 -137
- package/esm2015/lib/configurator/components/widgets/configurator-items/info-message-configuration/info-message-configuration.component.js +0 -48
- package/esm2015/lib/configurator/components/widgets/configurator-items/kpi-description-configuration/kpi-description-configuration.component.js +0 -107
- package/esm2015/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresher-configuration.component.js +0 -174
- package/esm2015/lib/configurator/components/widgets/configurator-items/thresholds-configuration/thresholds-configuration.component.js +0 -146
- package/esm2015/lib/configurator/components/widgets/configurator-items/thresholds-configuration/thresholds-validator.js +0 -56
- package/esm2015/lib/configurator/components/widgets/configurator-items/timeseries-metadata-configuration/timeseries-metadata-configuration.component.js +0 -151
- package/esm2015/lib/configurator/components/widgets/configurator-items/title-and-description-configuration/title-and-description-configuration.component.js +0 -96
- package/esm2015/lib/configurator/components/widgets/drilldown/entity-formatting-configuration/entity-formatting-configuration.component.js +0 -78
- package/esm2015/lib/configurator/components/widgets/drilldown/grouping-configuration/grouping-configuration.component.js +0 -165
- package/esm2015/lib/configurator/components/widgets/kpi/kpi-tiles-configuration/kpi-tiles-configuration.component.js +0 -96
- package/esm2015/lib/configurator/components/widgets/proportional/aggregators-configurators/aggregator-configurator/aggregator-configurator.component.js +0 -76
- package/esm2015/lib/configurator/components/widgets/proportional/aggregators-configurators/field-mapper-aggregator-configurator/field-mapper-aggregator-configurator.component.js +0 -90
- package/esm2015/lib/configurator/components/widgets/proportional/chart-options-editor/proportional-chart-options-editor.component.js +0 -171
- package/esm2015/lib/configurator/components/widgets/proportional/chart-options-editor-v2/proportional-chart-options-editor-v2.component.js +0 -113
- package/esm2015/lib/configurator/components/widgets/proportional/donut-content-configuration/donut-content-configuration.component.js +0 -162
- package/esm2015/lib/configurator/components/widgets/table/columns-editor/column-configuration/description-configuration/description-configuration.component.js +0 -86
- package/esm2015/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/formatter-configurator.component.js +0 -119
- package/esm2015/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/link-configurator/link-configurator.component.js +0 -56
- package/esm2015/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/value-selector/value-selector.component.js +0 -46
- package/esm2015/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/presentation-configuration.component.js +0 -270
- package/esm2015/lib/configurator/components/widgets/table/columns-editor/table-columns-configuration.component.js +0 -270
- package/esm2015/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/description-configuration/description-configuration-v2.component.js +0 -129
- package/esm2015/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/presentation-configuration/presentation-configuration-v2.component.js +0 -323
- package/esm2015/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/table-column-configuration/table-column-configuration.component.js +0 -110
- package/esm2015/lib/configurator/components/widgets/table/columns-editor-v2/table-columns-configuration-v2.component.js +0 -262
- package/esm2015/lib/configurator/components/widgets/table/filters-editor/table-filters-editor.component.js +0 -125
- package/esm2015/lib/configurator/components/widgets/timeseries/timeseries-series-collection-configuration/timeseries-series-collection-configuration.component.js +0 -115
- package/esm2015/lib/configurator/components/widgets/timeseries/timeseries-tile-description-configuration/timeseries-tile-description-configuration.component.js +0 -72
- package/esm2015/lib/configurator/components/widgets/timeseries/timeseries-tile-indicator-data-configuration/timeseries-tile-indicator-data-configuration.component.js +0 -113
- package/esm2015/lib/configurator/components/wizard/dashwiz/dashwiz.component.js +0 -351
- package/esm2015/lib/configurator/components/wizard/dashwiz-step/dashwiz-step.component.js +0 -135
- package/esm2015/lib/configurator/pipe/pizzagna-root.pipe.js +0 -46
- package/esm2015/lib/configurator/services/configurator-data-source-manager.service.js +0 -90
- package/esm2015/lib/configurator/services/configurator.service.js +0 -137
- package/esm2015/lib/configurator/services/converters/kpi/kpi-tiles-converter.service.js +0 -108
- package/esm2015/lib/configurator/services/converters/proportional/proportional-widget-chart-options-converter.service.js +0 -68
- package/esm2015/lib/configurator/services/converters/shared/generic-array-converter/generic-array-converter.service.js +0 -81
- package/esm2015/lib/configurator/services/converters/shared/title-and-description-converter/title-and-description-converter.service.js +0 -65
- package/esm2015/lib/configurator/services/converters/table/table-columns-converter.service.js +0 -182
- package/esm2015/lib/configurator/services/converters/table/table-filters-converter.service.js +0 -68
- package/esm2015/lib/configurator/services/converters/timeseries/timeseries-series-converter.service.js +0 -168
- package/esm2015/lib/configurator/services/widget-editor.service.js +0 -62
- package/esm2015/lib/functions/get-parent-component-id.js +0 -30
- package/esm2015/lib/functions/proportional-aggregators/field-mapper.js +0 -33
- package/esm2015/lib/functions/proportional-aggregators/percentage-aggregator.js +0 -45
- package/esm2015/lib/pizzagna/directives/component-portal/component-portal.directive.js +0 -297
- package/esm2015/lib/pizzagna/services/dynamic-component-creator.service.js +0 -60
- package/esm2015/lib/pizzagna/services/pizzagna.service.js +0 -134
- package/esm2015/lib/services/category-chart-util.service.js +0 -123
- package/esm2015/lib/services/kpi-color-comparators-registry.service.js +0 -65
- package/esm2015/lib/services/registry-service.js +0 -83
- package/esm2015/lib/services/url-interaction.service.js +0 -53
- package/esm2015/lib/services/widget-to-dashboard-event-proxy.service.js +0 -152
- package/esm2015/lib/services/widget-types.service.js +0 -86
- package/esm2015/lib/widget-types/common/widget/components.js +0 -130
- package/esm2015/lib/widget-types/drilldown/drilldown-widget.js +0 -80
- package/esm2015/lib/widget-types/embedded-content/embedded-content-widget.js +0 -64
- package/esm2015/lib/widget-types/kpi/kpi-widget.js +0 -90
- package/esm2015/lib/widget-types/proportional/proportional-widget.js +0 -81
- package/esm2015/lib/widget-types/table/table-widget.js +0 -101
- package/esm2015/lib/widget-types/timeseries/timeseries-widget.js +0 -111
- package/fesm2015/nova-ui-dashboards.js.map +0 -1
|
@@ -0,0 +1,197 @@
|
|
|
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, Injector, Input, Output, } from "@angular/core";
|
|
21
|
+
import { FormBuilder, Validators } from "@angular/forms";
|
|
22
|
+
import isEqual from "lodash/isEqual";
|
|
23
|
+
import { Subject } from "rxjs/internal/Subject";
|
|
24
|
+
import { take } from "rxjs/operators";
|
|
25
|
+
import { EventBus, LoggerService } from "@nova-ui/bits";
|
|
26
|
+
import { ProviderRegistryService } from "../../../../../services/provider-registry.service";
|
|
27
|
+
import { PIZZAGNA_EVENT_BUS, } from "../../../../../types";
|
|
28
|
+
import { ConfiguratorHeadingService } from "../../../../services/configurator-heading.service";
|
|
29
|
+
import { DATA_SOURCE_CHANGE, DATA_SOURCE_CREATED, DATA_SOURCE_OUTPUT, } from "../../../../types";
|
|
30
|
+
import { DataSourceErrorComponent } from "../data-source-error/data-source-error.component";
|
|
31
|
+
import * as i0 from "@angular/core";
|
|
32
|
+
import * as i1 from "../../../../services/configurator-heading.service";
|
|
33
|
+
import * as i2 from "@angular/forms";
|
|
34
|
+
import * as i3 from "../../../../../services/provider-registry.service";
|
|
35
|
+
import * as i4 from "@nova-ui/bits";
|
|
36
|
+
import * as i5 from "../../../widget-editor-accordion/widget-editor-accordion.component";
|
|
37
|
+
import * as i6 from "@angular/common";
|
|
38
|
+
import * as i7 from "../../../../../pizzagna/directives/component-portal/component-portal.directive";
|
|
39
|
+
import * as i8 from "@angular/cdk/portal";
|
|
40
|
+
import * as i9 from "../../../../pipe/widget-editor-accordion-form-state.pipe";
|
|
41
|
+
import * as i10 from "../../../../pipe/widget-editor-accordion-header-icon.pipe";
|
|
42
|
+
/**
|
|
43
|
+
* This is a basic implementation of a data source configuration component. In the real world scenario, this component will most likely be replaced by a
|
|
44
|
+
* custom one, but still can be used as a template for developing a custom specific solution.
|
|
45
|
+
*/
|
|
46
|
+
export class DataSourceConfigurationV2Component {
|
|
47
|
+
constructor(changeDetector, configuratorHeading, formBuilder, providerRegistryService, eventBus, injector, logger) {
|
|
48
|
+
this.changeDetector = changeDetector;
|
|
49
|
+
this.configuratorHeading = configuratorHeading;
|
|
50
|
+
this.formBuilder = formBuilder;
|
|
51
|
+
this.providerRegistryService = providerRegistryService;
|
|
52
|
+
this.eventBus = eventBus;
|
|
53
|
+
this.injector = injector;
|
|
54
|
+
this.logger = logger;
|
|
55
|
+
/**
|
|
56
|
+
* This component shows a dropdown with options for selecting a data source, this input represents these options.
|
|
57
|
+
*/
|
|
58
|
+
this.dataSourceProviders = [];
|
|
59
|
+
this.errorComponent = DataSourceErrorComponent.lateLoadKey;
|
|
60
|
+
this.formReady = new EventEmitter();
|
|
61
|
+
this.hasDataSourceError = false;
|
|
62
|
+
// used by the Broadcaster
|
|
63
|
+
this.dataFieldIds = new Subject();
|
|
64
|
+
}
|
|
65
|
+
ngOnInit() {
|
|
66
|
+
this.form = this.formBuilder.group({
|
|
67
|
+
// Widget properties, form inputs and form values need to be in sync to work with generic converter
|
|
68
|
+
// which is why we have providerId and properties as a form group even if we don't explicitly use it in the file.
|
|
69
|
+
providerId: [this.providerId || "", [Validators.required]],
|
|
70
|
+
properties: [this.properties || {}],
|
|
71
|
+
dataSource: [null, [Validators.required]],
|
|
72
|
+
});
|
|
73
|
+
this.form.setValidators([
|
|
74
|
+
() => (this.hasDataSourceError ? { dataSourceError: true } : null),
|
|
75
|
+
]);
|
|
76
|
+
this.form
|
|
77
|
+
.get("dataSource")
|
|
78
|
+
?.valueChanges.subscribe((selectedDataSource) => {
|
|
79
|
+
this.form
|
|
80
|
+
.get("providerId")
|
|
81
|
+
?.setValue(selectedDataSource?.providerId);
|
|
82
|
+
if (selectedDataSource?.properties) {
|
|
83
|
+
this.form
|
|
84
|
+
.get("properties")
|
|
85
|
+
?.setValue(selectedDataSource?.properties);
|
|
86
|
+
}
|
|
87
|
+
});
|
|
88
|
+
this.formReady.emit(this.form);
|
|
89
|
+
}
|
|
90
|
+
ngOnChanges(changes) {
|
|
91
|
+
if ((changes.providerId && !changes.providerId.isFirstChange()) ||
|
|
92
|
+
(changes.properties && !changes.properties.isFirstChange())) {
|
|
93
|
+
const previousProvider = changes.providerId?.previousValue;
|
|
94
|
+
const previousProperties = changes.properties?.previousValue;
|
|
95
|
+
if (previousProvider !== this.providerId ||
|
|
96
|
+
previousProperties !== this.properties) {
|
|
97
|
+
const dataSource = this.dataSourceProviders.find((provider) => provider.providerId === this.providerId &&
|
|
98
|
+
isEqual(provider.properties ?? {}, this.properties ?? {}));
|
|
99
|
+
if (!dataSource) {
|
|
100
|
+
this.form?.get("providerId")?.setValue(this.providerId);
|
|
101
|
+
this.form?.get("properties")?.setValue(this.properties);
|
|
102
|
+
this.invokeDataSource({
|
|
103
|
+
properties: this.properties,
|
|
104
|
+
providerId: this.providerId,
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
else {
|
|
108
|
+
this.form?.get("dataSource")?.setValue(dataSource);
|
|
109
|
+
this.invokeDataSource(dataSource);
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
if (changes.dataSourceProviders &&
|
|
114
|
+
!changes.dataSourceProviders.isFirstChange() &&
|
|
115
|
+
this.dataSourceProviders.length === 1) {
|
|
116
|
+
const dataSource = this.dataSourceProviders[0];
|
|
117
|
+
this.form.get("dataSource")?.setValue(dataSource);
|
|
118
|
+
this.invokeDataSource(dataSource);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
ngAfterViewInit() {
|
|
122
|
+
if (this.dataSourceProviders && this.dataSourceProviders.length === 1) {
|
|
123
|
+
const dataSource = this.dataSourceProviders[0];
|
|
124
|
+
this.form.get("dataSource")?.setValue(dataSource);
|
|
125
|
+
this.invokeDataSource(dataSource);
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
onDataSourceSelected(selectedDataSource) {
|
|
129
|
+
this.eventBus.next(DATA_SOURCE_CHANGE, {});
|
|
130
|
+
this.invokeDataSource(selectedDataSource);
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* The data source is invoked here to notify the rest of the form about changes in the data source output.
|
|
134
|
+
* DATA_SOURCE_OUTPUT event is emitted through the event bus carrying the data source result as the payload.
|
|
135
|
+
* This might not be necessary in every situation. If the important information is already stored in the
|
|
136
|
+
* data source properties, this step can be omitted.
|
|
137
|
+
*
|
|
138
|
+
* @param data
|
|
139
|
+
*/
|
|
140
|
+
invokeDataSource(data) {
|
|
141
|
+
if (!data.providerId) {
|
|
142
|
+
return;
|
|
143
|
+
}
|
|
144
|
+
const provider = this.providerRegistryService.getProvider(data.providerId);
|
|
145
|
+
if (provider) {
|
|
146
|
+
this.dataSource = this.providerRegistryService.getProviderInstance(provider, this.injector);
|
|
147
|
+
this.eventBus.next(DATA_SOURCE_CREATED, {
|
|
148
|
+
payload: this.dataSource,
|
|
149
|
+
});
|
|
150
|
+
this.dataSource.outputsSubject
|
|
151
|
+
.pipe(take(1))
|
|
152
|
+
.subscribe((result) => {
|
|
153
|
+
this.eventBus.next(DATA_SOURCE_OUTPUT, { payload: result });
|
|
154
|
+
this.dataFieldIds.next(Object.keys(result.result || result));
|
|
155
|
+
});
|
|
156
|
+
const configurableDataSource = this
|
|
157
|
+
.dataSource;
|
|
158
|
+
if (configurableDataSource?.updateConfiguration) {
|
|
159
|
+
configurableDataSource.updateConfiguration(data.properties ?? {});
|
|
160
|
+
}
|
|
161
|
+
// This setTimeout is because the output of the data source might come faster than the data-source-error-component is initiated
|
|
162
|
+
setTimeout(() => {
|
|
163
|
+
this.dataSource.applyFilters();
|
|
164
|
+
});
|
|
165
|
+
}
|
|
166
|
+
else {
|
|
167
|
+
this.logger.warn("No provider found for id:", data.providerId);
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
onErrorState(isError) {
|
|
171
|
+
this.hasDataSourceError = isError;
|
|
172
|
+
this.form.markAsTouched({ onlySelf: true });
|
|
173
|
+
this.form.updateValueAndValidity({ emitEvent: false });
|
|
174
|
+
this.changeDetector.detectChanges();
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
DataSourceConfigurationV2Component.lateLoadKey = "DataSourceConfigurationV2Component";
|
|
178
|
+
/** @nocollapse */ DataSourceConfigurationV2Component.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DataSourceConfigurationV2Component, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.ConfiguratorHeadingService }, { token: i2.FormBuilder }, { token: i3.ProviderRegistryService }, { token: PIZZAGNA_EVENT_BUS }, { token: i0.Injector }, { token: i4.LoggerService }], target: i0.ɵɵFactoryTarget.Component });
|
|
179
|
+
/** @nocollapse */ DataSourceConfigurationV2Component.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: DataSourceConfigurationV2Component, selector: "nui-data-source-configuration", inputs: { dataSourceProviders: "dataSourceProviders", properties: "properties", providerId: "providerId", errorComponent: "errorComponent" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, template: "<nui-widget-editor-accordion\n [formGroup]=\"form\"\n [state]=\"form | nuiWidgetEditorAccordionFormState | async\"\n>\n <div accordionHeader class=\"d-flex align-items-center pl-4 py-2\">\n <nui-icon\n class=\"align-self-start pt-2\"\n [icon]=\"form | nuiFormHeaderIconPipe: 'database' | async\"\n ></nui-icon>\n <div class=\"d-flex flex-column ml-4 pt1\">\n <span class=\"nui-text-label\" i18n>Data Source</span>\n <div\n class=\"nui-text-secondary\"\n [title]=\"form.get('dataSource')?.value?.label\"\n >\n {{ form.get(\"dataSource\")?.value?.label }}\n </div>\n </div>\n </div>\n <div class=\"datasource-configuration__accordion-content\">\n <nui-form-field [control]=\"form.get('dataSource')\">\n <nui-select-v2\n placeholder=\"Select data source\"\n i18n-placeholder\n [title]=\"form.get('dataSource')?.value?.label\"\n [popupViewportMargin]=\"configuratorHeading.height$ | async\"\n formControlName=\"dataSource\"\n (valueSelected)=\"onDataSourceSelected($event)\"\n class=\"datasource-configuration__accordion-content__datasource-input\"\n >\n <nui-select-v2-option\n *ngFor=\"let dataSourceProvider of dataSourceProviders\"\n [title]=\"dataSourceProvider?.label\"\n [value]=\"dataSourceProvider\"\n >\n {{ dataSourceProvider.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n </nui-form-field>\n <ng-container\n nuiComponentPortal\n [componentId]=\"errorComponent\"\n [componentType]=\"errorComponent\"\n [outputs]=\"['errorState']\"\n [properties]=\"{ dataSource: dataSource }\"\n (output)=\"onErrorState($event.payload)\"\n #componentPortal=\"nuiComponentPortal\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n >\n </ng-template>\n </ng-container>\n </div>\n</nui-widget-editor-accordion>\n", styles: [".datasource-configuration__accordion-content{padding:15px 15px 15px 46px}\n"], components: [{ type: i5.WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"] }, { type: i4.IconComponent, selector: "nui-icon", inputs: ["iconColor", "brushType", "iconHoverColor", "iconSize", "cssClass", "fillContainer", "status", "childStatus", "icon", "counter"] }, { type: i4.FormFieldComponent, selector: "nui-form-field", inputs: ["control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth", "showOptionalText"] }, { type: i4.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { type: i4.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["value", "index", "displayValueContext", "outfiltered"] }], 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.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2.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 });
|
|
180
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DataSourceConfigurationV2Component, decorators: [{
|
|
181
|
+
type: Component,
|
|
182
|
+
args: [{ selector: "nui-data-source-configuration", changeDetection: ChangeDetectionStrategy.OnPush, template: "<nui-widget-editor-accordion\n [formGroup]=\"form\"\n [state]=\"form | nuiWidgetEditorAccordionFormState | async\"\n>\n <div accordionHeader class=\"d-flex align-items-center pl-4 py-2\">\n <nui-icon\n class=\"align-self-start pt-2\"\n [icon]=\"form | nuiFormHeaderIconPipe: 'database' | async\"\n ></nui-icon>\n <div class=\"d-flex flex-column ml-4 pt1\">\n <span class=\"nui-text-label\" i18n>Data Source</span>\n <div\n class=\"nui-text-secondary\"\n [title]=\"form.get('dataSource')?.value?.label\"\n >\n {{ form.get(\"dataSource\")?.value?.label }}\n </div>\n </div>\n </div>\n <div class=\"datasource-configuration__accordion-content\">\n <nui-form-field [control]=\"form.get('dataSource')\">\n <nui-select-v2\n placeholder=\"Select data source\"\n i18n-placeholder\n [title]=\"form.get('dataSource')?.value?.label\"\n [popupViewportMargin]=\"configuratorHeading.height$ | async\"\n formControlName=\"dataSource\"\n (valueSelected)=\"onDataSourceSelected($event)\"\n class=\"datasource-configuration__accordion-content__datasource-input\"\n >\n <nui-select-v2-option\n *ngFor=\"let dataSourceProvider of dataSourceProviders\"\n [title]=\"dataSourceProvider?.label\"\n [value]=\"dataSourceProvider\"\n >\n {{ dataSourceProvider.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n </nui-form-field>\n <ng-container\n nuiComponentPortal\n [componentId]=\"errorComponent\"\n [componentType]=\"errorComponent\"\n [outputs]=\"['errorState']\"\n [properties]=\"{ dataSource: dataSource }\"\n (output)=\"onErrorState($event.payload)\"\n #componentPortal=\"nuiComponentPortal\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n >\n </ng-template>\n </ng-container>\n </div>\n</nui-widget-editor-accordion>\n", styles: [".datasource-configuration__accordion-content{padding:15px 15px 15px 46px}\n"] }]
|
|
183
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1.ConfiguratorHeadingService }, { type: i2.FormBuilder }, { type: i3.ProviderRegistryService }, { type: i4.EventBus, decorators: [{
|
|
184
|
+
type: Inject,
|
|
185
|
+
args: [PIZZAGNA_EVENT_BUS]
|
|
186
|
+
}] }, { type: i0.Injector }, { type: i4.LoggerService }]; }, propDecorators: { dataSourceProviders: [{
|
|
187
|
+
type: Input
|
|
188
|
+
}], properties: [{
|
|
189
|
+
type: Input
|
|
190
|
+
}], providerId: [{
|
|
191
|
+
type: Input
|
|
192
|
+
}], errorComponent: [{
|
|
193
|
+
type: Input
|
|
194
|
+
}], formReady: [{
|
|
195
|
+
type: Output
|
|
196
|
+
}] } });
|
|
197
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YS1zb3VyY2UtY29uZmlndXJhdGlvbi12Mi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGliL2NvbmZpZ3VyYXRvci9jb21wb25lbnRzL3dpZGdldHMvY29uZmlndXJhdG9yLWl0ZW1zL2RhdGEtc291cmNlLWNvbmZpZ3VyYXRpb24tdjIvZGF0YS1zb3VyY2UtY29uZmlndXJhdGlvbi12Mi5jb21wb25lbnQudH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FxuICAgICAgICAgICAgcHJvcGVydGllczogW3RoaXMucHJvcGVydGllcyB8fCB7fV0sXG4gICAgICAgICAgICBkYXRhU291cmNlOiBbbnVsbCwgW1ZhbGlkYXRvcnMucmVxdWlyZWRdXSxcbiAgICAgICAgfSk7XG4gICAgICAgIHRoaXMuZm9ybS5zZXRWYWxpZGF0b3JzKFtcbiAgICAgICAgICAgICgpID0+ICh0aGlzLmhhc0RhdGFTb3VyY2VFcnJvciA/IHsgZGF0YVNvdXJjZUVycm9yOiB0cnVlIH0gOiBudWxsKSxcbiAgICAgICAgXSk7XG5cbiAgICAgICAgdGhpcy5mb3JtXG4gICAgICAgICAgICAuZ2V0KFwiZGF0YVNvdXJjZVwiKVxuICAgICAgICAgICAgPy52YWx1ZUNoYW5nZXMuc3Vic2NyaWJlKChzZWxlY3RlZERhdGFTb3VyY2UpID0+IHtcbiAgICAgICAgICAgICAgICB0aGlzLmZvcm1cbiAgICAgICAgICAgICAgICAgICAgLmdldChcInByb3ZpZGVySWRcIilcbiAgICAgICAgICAgICAgICAgICAgPy5zZXRWYWx1ZShzZWxlY3RlZERhdGFTb3VyY2U/LnByb3ZpZGVySWQpO1xuICAgICAgICAgICAgICAgIGlmIChzZWxlY3RlZERhdGFTb3VyY2U/LnByb3BlcnRpZXMpIHtcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5mb3JtXG4gICAgICAgICAgICAgICAgICAgICAgICAuZ2V0KFwicHJvcGVydGllc1wiKVxuICAgICAgICAgICAgICAgICAgICAgICAgPy5zZXRWYWx1ZShzZWxlY3RlZERhdGFTb3VyY2U/LnByb3BlcnRpZXMpO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH0pO1xuXG4gICAgICAgIHRoaXMuZm9ybVJlYWR5LmVtaXQodGhpcy5mb3JtKTtcbiAgICB9XG5cbiAgICBwdWJsaWMgbmdPbkNoYW5nZXMoY2hhbmdlczogU2ltcGxlQ2hhbmdlcyk6IHZvaWQge1xuICAgICAgICBpZiAoXG4gICAgICAgICAgICAoY2hhbmdlcy5wcm92aWRlcklkICYmICFjaGFuZ2VzLnByb3ZpZGVySWQuaXNGaXJzdENoYW5nZSgpKSB8fFxuICAgICAgICAgICAgKGNoYW5nZXMucHJvcGVydGllcyAmJiAhY2hhbmdlcy5wcm9wZXJ0aWVzLmlzRmlyc3RDaGFuZ2UoKSlcbiAgICAgICAgKSB7XG4gICAgICAgICAgICBjb25zdCBwcmV2aW91c1Byb3ZpZGVyOiBzdHJpbmcgPSBjaGFuZ2VzLnByb3ZpZGVySWQ/LnByZXZpb3VzVmFsdWU7XG4gICAgICAgICAgICBjb25zdCBwcmV2aW91c1Byb3BlcnRpZXM6IElQcm9wZXJ0aWVzID1cbiAgICAgICAgICAgICAgICBjaGFuZ2VzLnByb3BlcnRpZXM/LnByZXZpb3VzVmFsdWU7XG4gICAgICAgICAgICBpZiAoXG4gICAgICAgICAgICAgICAgcHJldmlvdXNQcm92aWRlciAhPT0gdGhpcy5wcm92aWRlcklkIHx8XG4gICAgICAgICAgICAgICAgcHJldmlvdXNQcm9wZXJ0aWVzICE9PSB0aGlzLnByb3BlcnRpZXNcbiAgICAgICAgICAgICkge1xuICAgICAgICAgICAgICAgIGNvbnN0IGRhdGFTb3VyY2UgPSB0aGlzLmRhdGFTb3VyY2VQcm92aWRlcnMuZmluZChcbiAgICAgICAgICAgICAgICAgICAgKHByb3ZpZGVyKSA9PlxuICAgICAgICAgICAgICAgICAgICAgICAgcHJvdmlkZXIucHJvdmlkZXJJZCA9PT0gdGhpcy5wcm92aWRlcklkICYmXG4gICAgICAgICAgICAgICAgICAgICAgICBpc0VxdWFsKFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHByb3ZpZGVyLnByb3BlcnRpZXMgPz8ge30sXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy5wcm9wZXJ0aWVzID8/IHt9XG4gICAgICAgICAgICAgICAgICAgICAgICApXG4gICAgICAgICAgICAgICAgKTtcbiAgICAgICAgICAgICAgICBpZiAoIWRhdGFTb3VyY2UpIHtcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5mb3JtPy5nZXQoXCJwcm92aWRlcklkXCIpPy5zZXRWYWx1ZSh0aGlzLnByb3ZpZGVySWQpO1xuICAgICAgICAgICAgICAgICAgICB0aGlzLmZvcm0/LmdldChcInByb3BlcnRpZXNcIik/LnNldFZhbHVlKHRoaXMucHJvcGVydGllcyk7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMuaW52b2tlRGF0YVNvdXJjZSh7XG4gICAgICAgICAgICAgICAgICAgICAgICBwcm9wZXJ0aWVzOiB0aGlzLnByb3BlcnRpZXMsXG4gICAgICAgICAgICAgICAgICAgICAgICBwcm92aWRlcklkOiB0aGlzLnByb3ZpZGVySWQsXG4gICAgICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMuZm9ybT8uZ2V0KFwiZGF0YVNvdXJjZVwiKT8uc2V0VmFsdWUoZGF0YVNvdXJjZSk7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMuaW52b2tlRGF0YVNvdXJjZShkYXRhU291cmNlKTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgICAgaWYgKFxuICAgICAgICAgICAgY2hhbmdlcy5kYXRhU291cmNlUHJvdmlkZXJzICYmXG4gICAgICAgICAgICAhY2hhbmdlcy5kYXRhU291cmNlUHJvdmlkZXJzLmlzRmlyc3RDaGFuZ2UoKSAmJlxuICAgICAgICAgICAgdGhpcy5kYXRhU291cmNlUHJvdmlkZXJzLmxlbmd0aCA9PT0gMVxuICAgICAgICApIHtcbiAgICAgICAgICAgIGNvbnN0IGRhdGFTb3VyY2UgPSB0aGlzLmRhdGFTb3VyY2VQcm92aWRlcnNbMF07XG4gICAgICAgICAgICB0aGlzLmZvcm0uZ2V0KFwiZGF0YVNvdXJjZVwiKT8uc2V0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Bzb3VyY2UgcmVzdWx0IGFzIHRoZSBwYXlsb2FkLlxuICAgICAqIFRoaXMgbWlnaHQgbm90IGJlIG5lY2Vzc2FyeSBpbiBldmVyeSBzaXR1YXRpb24uIElmIHRoZSBpbXBvcnRhbnQgaW5mb3JtYXRpb24gaXMgYWxyZWFkeSBzdG9yZWQgaW4gdGhlXG4gICAgICogZGF0YSBzb3VyY2UgcHJvcGVydGllcywgdGhpcyBzdGVwIGNhbiBiZSBvbWl0dGVkLlxuICAgICAqXG4gICAgICogQHBhcmFtIGRhdGFcbiAgICAgKi9cbiAgICBwdWJsaWMgaW52b2tlRGF0YVNvdXJjZShkYXRhOiBJUHJvdmlkZXJDb25maWd1cmF0aW9uKSB7XG4gICAgICAgIGlmICghZGF0YS5wcm92aWRlcklkKSB7XG4gICAgICAgICAgICByZXR1cm47XG4gICAgICAgIH1cbiAgICAgICAgY29uc3QgcHJvdmlkZXIgPSB0aGlzLnByb3ZpZGVyUmVnaXN0cnlTZXJ2aWNlLmdldFByb3ZpZGVyKFxuICAgICAgICAgICAgZGF0YS5wcm92aWRlcklkXG4gICAgICAgICk7XG4gICAgICAgIGlmIChwcm92aWRlcikge1xuICAgICAgICAgICAgdGhpcy5kYXRhU291cmNlID0gdGhpcy5wcm92aWRlclJlZ2lzdHJ5U2VydmljZS5nZXRQcm92aWRlckluc3RhbmNlKFxuICAgICAgICAgICAgICAgIHByb3ZpZGVyLFxuICAgICAgICAgICAgICAgIHRoaXMuaW5qZWN0b3JcbiAgICAgICAgICAgICk7XG5cbiAgICAgICAgICAgIHRoaXMuZXZlbnRCdXMubmV4dChEQVRBX1NPVVJDRV9DUkVBVEVELCB7XG4gICAgICAgICAgICAgICAgcGF5bG9hZDogdGhpcy5kYXRhU291cmNlLFxuICAgICAgICAgICAgfSk7XG5cbiAgICAgICAgICAgIHRoaXMuZGF0YVNvdXJjZS5vdXRwdXRzU3ViamVjdFxuICAgICAgICAgICAgICAgIC5waXBlKHRha2UoMSkpXG4gICAgICAgICAgICAgICAgLnN1YnNjcmliZSgocmVzdWx0OiBhbnkpID0+IHtcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5ldmVudEJ1cy5uZXh0KERBVEFfU09VUkNFX09VVFBVVCwgeyBwYXlsb2FkOiByZXN1bHQgfSk7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMuZGF0YUZpZWxkSWRzLm5leHQoXG4gICAgICAgICAgICAgICAgICAgICAgICBPYmplY3Qua2V5cyhyZXN1bHQucmVzdWx0IHx8IHJlc3VsdClcbiAgICAgICAgICAgICAgICAgICAgKTtcbiAgICAgICAgICAgICAgICB9KTtcblxuICAgICAgICAgICAgY29uc3QgY29uZmlndXJhYmxlRGF0YVNvdXJjZSA9IHRoaXNcbiAgICAgICAgICAgICAgICAuZGF0YVNvdXJjZSBhcyB1bmtub3duIGFzIElDb25maWd1cmFibGU7XG4gICAgICAgICAgICBpZiAoY29uZmlndXJhYmxlRGF0YVNvdXJjZT8udXBkYXRlQ29uZmlndXJhdGlvbikge1xuICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZURhdGFTb3VyY2UudXBkYXRlQ29uZmlndXJhdGlvbihcbiAgICAgICAgICAgICAgICAgICAgZGF0YS5wcm9wZXJ0aWVzID8/IHt9XG4gICAgICAgICAgICAgICAgKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIC8vIFRoaXMgc2V0VGltZW91dCBpcyBiZWNhdXNlIHRoZSBvdXRwdXQgb2YgdGhlIGRhdGEgc291cmNlIG1pZ2h0IGNvbWUgZmFzdGVyIHRoYW4gdGhlIGRhdGEtc291cmNlLWVycm9yLWNvbXBvbmVudCBpcyBpbml0aWF0ZWRcbiAgICAgICAgICAgIHNldFRpbWVvdXQoKCkgPT4ge1xuICAgICAgICAgICAgICAgIHRoaXMuZGF0YVNvdXJjZS5hcHBseUZpbHRlcnMoKTtcbiAgICAgICAgICAgIH0pO1xuICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgdGhpcy5s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wdXRcIlxuICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgIDxudWktc2VsZWN0LXYyLW9wdGlvblxuICAgICAgICAgICAgICAgICAgICAqbmdGb3I9XCJsZXQgZGF0YVNvdXJjZVByb3ZpZGVyIG9mIGRhdGFTb3VyY2VQcm92aWRlcnNcIlxuICAgICAgICAgICAgICAgICAgICBbdGl0bGVdPVwiZGF0YVNvdXJjZVByb3ZpZGVyPy5sYWJlbFwiXG4gICAgICAgICAgICAgICAgICAgIFt2YWx1ZV09XCJkYXRhU291cmNlUHJvdmlkZXJcIlxuICAgICAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICAgICAge3sgZGF0YVNvdXJjZVByb3ZpZGVyLmxhYmVsIH19XG4gICAgICAgICAgICAgICAgPC9udWktc2VsZWN0LXYyLW9wdGlvbj5cbiAgICAgICAgICAgIDwvbnVpLXNlbGVjdC12Mj5cbiAgICAgICAgPC9udWktZm9ybS1maWVsZD5cbiAgICAgICAgPG5nLWNvbnRhaW5lclxuICAgICAgICAgICAgbnVpQ29tcG9uZW50UG9ydGFsXG4gICAgICAgICAgICBbY29tcG9uZW50SWRdPVwiZXJyb3JDb21wb25lbnRcIlxuICAgICAgICAgICAgW2NvbXBvbmVudFR5cGVdPVwiZXJyb3JDb21wb25lbnRcIlxuICAgICAgICAgICAgW291dHB1dHNdPVwiWydlcnJvclN0YXRlJ11cIlxuICAgICAgICAgICAgW3Byb3BlcnRpZXNdPVwieyBkYXRhU291cmNlOiBkYXRhU291cmNlIH1cIlxuICAgICAgICAgICAgKG91dHB1dCk9XCJvbkVycm9yU3RhdGUoJGV2ZW50LnBheWxvYWQpXCJcbiAgICAgICAgICAgICNjb21wb25lbnRQb3J0YWw9XCJudWlDb21wb25lbnRQb3J0YWxcIlxuICAgICAgICA+XG4gICAgICAgICAgICA8bmctdGVtcGxhdGVcbiAgICAgICAgICAgICAgICBbY2RrUG9ydGFsT3V0bGV0XT1cImNvbXBvbmVudFBvcnRhbC5wb3J0YWxcIlxuICAgICAgICAgICAgICAgIChhdHRhY2hlZCk9XCJjb21wb25lbnRQb3J0YWwuYXR0YWNoZWQoJGV2ZW50KVwiXG4gICAgICAgICAgICA+XG4gICAgICAgICAgICA8L25nLXRlbXBsYXRlPlxuICAgICAgICA8L25nLWNvbnRhaW5lcj5cbiAgICA8L2Rpdj5cbjwvbnVpLXdpZGdldC1lZGl0b3ItYWNjb3JkaW9uPlxuIl19
|
|
@@ -0,0 +1,74 @@
|
|
|
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 isUndefined from "lodash/isUndefined";
|
|
22
|
+
import { Subject } from "rxjs";
|
|
23
|
+
import { takeUntil } from "rxjs/operators";
|
|
24
|
+
import * as i0 from "@angular/core";
|
|
25
|
+
import * as i1 from "@nova-ui/bits";
|
|
26
|
+
import * as i2 from "@angular/common";
|
|
27
|
+
export class DataSourceErrorComponent {
|
|
28
|
+
constructor(changeDetector) {
|
|
29
|
+
this.changeDetector = changeDetector;
|
|
30
|
+
this.errorState = new EventEmitter();
|
|
31
|
+
this.onDestroy$ = new Subject();
|
|
32
|
+
this.dataSourceClear$ = new Subject();
|
|
33
|
+
}
|
|
34
|
+
ngOnChanges(changes) {
|
|
35
|
+
if (changes.dataSource) {
|
|
36
|
+
this.onDataSourceChanged();
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
onDataSourceChanged() {
|
|
40
|
+
this.dataSourceClear$.next();
|
|
41
|
+
this.dataSource?.busy
|
|
42
|
+
?.pipe(takeUntil(this.dataSourceClear$))
|
|
43
|
+
.subscribe((isBusy) => {
|
|
44
|
+
this.busy = isBusy;
|
|
45
|
+
this.changeDetector.markForCheck();
|
|
46
|
+
});
|
|
47
|
+
this.dataSource?.outputsSubject
|
|
48
|
+
.pipe(takeUntil(this.dataSourceClear$))
|
|
49
|
+
.subscribe((value) => {
|
|
50
|
+
this.data = isUndefined(value?.result) ? value : value?.result;
|
|
51
|
+
this.dataSourceError = value?.error;
|
|
52
|
+
this.errorState.emit(!!this.dataSourceError);
|
|
53
|
+
this.changeDetector.markForCheck();
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
ngOnDestroy() {
|
|
57
|
+
this.onDestroy$.next();
|
|
58
|
+
this.onDestroy$.complete();
|
|
59
|
+
this.dataSourceClear$.next();
|
|
60
|
+
this.dataSourceClear$.complete();
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
DataSourceErrorComponent.lateLoadKey = "DataSourceErrorComponent";
|
|
64
|
+
/** @nocollapse */ DataSourceErrorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DataSourceErrorComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
65
|
+
/** @nocollapse */ DataSourceErrorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: DataSourceErrorComponent, selector: "nui-data-source-error", inputs: { dataSource: "dataSource" }, outputs: { errorState: "errorState" }, usesOnChanges: true, ngImport: i0, template: "<div>\n <nui-message\n class=\"mt-4 d-block\"\n *ngIf=\"!dataSource\"\n type=\"info\"\n [allowDismiss]=\"false\"\n >\n <b i18n>Select a data source</b>\n </nui-message>\n <nui-message\n class=\"mt-4 d-block\"\n *ngIf=\"dataSourceError\"\n type=\"critical\"\n [allowDismiss]=\"false\"\n >\n <b i18n>Something went wrong with the data source: </b>\n {{ dataSourceError.message || dataSourceError.type }}\n </nui-message>\n</div>\n", components: [{ type: i1.MessageComponent, selector: "nui-message", inputs: ["type", "allowDismiss", "manualControl"], outputs: ["dismiss"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
66
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DataSourceErrorComponent, decorators: [{
|
|
67
|
+
type: Component,
|
|
68
|
+
args: [{ selector: "nui-data-source-error", changeDetection: ChangeDetectionStrategy.OnPush, template: "<div>\n <nui-message\n class=\"mt-4 d-block\"\n *ngIf=\"!dataSource\"\n type=\"info\"\n [allowDismiss]=\"false\"\n >\n <b i18n>Select a data source</b>\n </nui-message>\n <nui-message\n class=\"mt-4 d-block\"\n *ngIf=\"dataSourceError\"\n type=\"critical\"\n [allowDismiss]=\"false\"\n >\n <b i18n>Something went wrong with the data source: </b>\n {{ dataSourceError.message || dataSourceError.type }}\n </nui-message>\n</div>\n" }]
|
|
69
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { dataSource: [{
|
|
70
|
+
type: Input
|
|
71
|
+
}], errorState: [{
|
|
72
|
+
type: Output
|
|
73
|
+
}] } });
|
|
74
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YS1zb3VyY2UtZXJyb3IuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2xpYi9jb25maWd1cmF0b3IvY29tcG9uZW50cy93aWRnZXRzL2NvbmZpZ3VyYXRvci1pdGVtcy9kYXRhLXNvdXJjZS1lcnJvci9kYXRhLXNvdXJjZS1lcnJvci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGliL2NvbmZpZ3VyYXRvci9jb21wb25lbnRzL3dpZGdldHMvY29uZmlndXJhdG9yLWl0ZW1zL2RhdGEtc291cmNlLWVycm9yL2RhdGEtc291cmNlLWVycm9yLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLHlEQUF5RDtBQUN6RCxFQUFFO0FBQ0YsK0VBQStFO0FBQy9FLDRFQUE0RTtBQUM1RSw4RUFBOEU7QUFDOUUsK0VBQStFO0FBQy9FLDhFQUE4RTtBQUM5RSw0REFBNEQ7QUFDNUQsRUFBRTtBQUNGLDZFQUE2RTtBQUM3RSx1REFBdUQ7QUFDdkQsRUFBRTtBQUNGLDZFQUE2RTtBQUM3RSw0RUFBNEU7QUFDNUUsK0VBQStFO0FBQy9FLDBFQUEwRTtBQUMxRSxpRkFBaUY7QUFDakYsNkVBQTZFO0FBQzdFLGlCQUFpQjtBQUVqQixPQUFPLEVBQ0gsdUJBQXVCLEVBQ3ZCLGlCQUFpQixFQUNqQixTQUFTLE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dHJveSQubmV4dCgpO1xuICAgICAgICB0aGlzLm9uRGVzdHJveSQuY29tcGxldGUoKTtcbiAgICAgICAgdGhpcy5kYXRhU291cmNlQ2xlYXIkLm5leHQoKTtcbiAgICAgICAgdGhpcy5kYXRhU291cmNlQ2xlYXIkLmNvbXBsZXRlKCk7XG4gICAgfVxufVxuIiwiPGRpdj5cbiAgICA8bnVpLW1lc3NhZ2VcbiAgICAgICAgY2xhc3M9XCJtdC00IGQtYmxvY2tcIlxuICAgICAgICAqbmdJZj1cIiFkYXRhU291cmNlXCJcbiAgICAgICAgdHlwZT1cImluZm9cIlxuICAgICAgICBbYWxsb3dEaXNtaXNzXT1cImZhbHNlXCJcbiAgICA+XG4gICAgICAgIDxiIGkxOG4+U2VsZWN0IGEgZGF0YSBzb3VyY2U8L2I+XG4gICAgPC9udWktbWVzc2FnZT5cbiAgICA8bnVpLW1lc3NhZ2VcbiAgICAgICAgY2xhc3M9XCJtdC00IGQtYmxvY2tcIlxuICAgICAgICAqbmdJZj1cImRhdGFTb3VyY2VFcnJvclwiXG4gICAgICAgIHR5cGU9XCJjcml0aWNhbFwiXG4gICAgICAgIFthbGxvd0Rpc21pc3NdPVwiZmFsc2VcIlxuICAgID5cbiAgICAgICAgPGIgaTE4bj5Tb21ldGhpbmcgd2VudCB3cm9uZyB3aXRoIHRoZSBkYXRhIHNvdXJjZTogPC9iPlxuICAgICAgICB7eyBkYXRhU291cmNlRXJyb3IubWVzc2FnZSB8fCBkYXRhU291cmNlRXJyb3IudHlwZSB9fVxuICAgIDwvbnVpLW1lc3NhZ2U+XG48L2Rpdj5cbiJdfQ==
|
|
File without changes
|
|
@@ -0,0 +1,41 @@
|
|
|
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, } from "@angular/core";
|
|
21
|
+
import { DataSourceErrorComponent } from "../data-source-error.component";
|
|
22
|
+
import * as i0 from "@angular/core";
|
|
23
|
+
import * as i1 from "@nova-ui/bits";
|
|
24
|
+
import * as i2 from "@angular/common";
|
|
25
|
+
export class TableDataSourceErrorComponent extends DataSourceErrorComponent {
|
|
26
|
+
constructor(changeDetector) {
|
|
27
|
+
super(changeDetector);
|
|
28
|
+
this.changeDetector = changeDetector;
|
|
29
|
+
}
|
|
30
|
+
ngOnDestroy() {
|
|
31
|
+
super.ngOnDestroy();
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
TableDataSourceErrorComponent.lateLoadKey = "TableDataSourceErrorComponent";
|
|
35
|
+
/** @nocollapse */ TableDataSourceErrorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TableDataSourceErrorComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
36
|
+
/** @nocollapse */ TableDataSourceErrorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: TableDataSourceErrorComponent, selector: "nui-table-data-source-error", usesInheritance: true, ngImport: i0, template: "<div>\n <nui-message\n *ngIf=\"\n dataSource && !data?.dataFields.length && !dataSourceError && !busy\n \"\n class=\"mt-4 d-block\"\n type=\"info\"\n [allowDismiss]=\"false\"\n >\n <b i18n>Data source needs to be configured</b>\n </nui-message>\n <nui-message\n class=\"mt-4 d-block\"\n *ngIf=\"!dataSource\"\n type=\"info\"\n [allowDismiss]=\"false\"\n >\n <b i18n>Select a data source</b>\n </nui-message>\n <nui-message\n class=\"mt-4 d-block\"\n *ngIf=\"dataSourceError\"\n type=\"critical\"\n [allowDismiss]=\"false\"\n >\n <b i18n>Something went wrong with the data source: </b>\n {{ dataSourceError.message || dataSourceError.type }}\n </nui-message>\n</div>\n", components: [{ type: i1.MessageComponent, selector: "nui-message", inputs: ["type", "allowDismiss", "manualControl"], outputs: ["dismiss"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
37
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TableDataSourceErrorComponent, decorators: [{
|
|
38
|
+
type: Component,
|
|
39
|
+
args: [{ selector: "nui-table-data-source-error", changeDetection: ChangeDetectionStrategy.OnPush, template: "<div>\n <nui-message\n *ngIf=\"\n dataSource && !data?.dataFields.length && !dataSourceError && !busy\n \"\n class=\"mt-4 d-block\"\n type=\"info\"\n [allowDismiss]=\"false\"\n >\n <b i18n>Data source needs to be configured</b>\n </nui-message>\n <nui-message\n class=\"mt-4 d-block\"\n *ngIf=\"!dataSource\"\n type=\"info\"\n [allowDismiss]=\"false\"\n >\n <b i18n>Select a data source</b>\n </nui-message>\n <nui-message\n class=\"mt-4 d-block\"\n *ngIf=\"dataSourceError\"\n type=\"critical\"\n [allowDismiss]=\"false\"\n >\n <b i18n>Something went wrong with the data source: </b>\n {{ dataSourceError.message || dataSourceError.type }}\n </nui-message>\n</div>\n" }]
|
|
40
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; } });
|
|
41
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFibGUtZGF0YS1zb3VyY2UtZXJyb3IuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2xpYi9jb25maWd1cmF0b3IvY29tcG9uZW50cy93aWRnZXRzL2NvbmZpZ3VyYXRvci1pdGVtcy9kYXRhLXNvdXJjZS1lcnJvci90YWJsZS90YWJsZS1kYXRhLXNvdXJjZS1lcnJvci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGliL2NvbmZpZ3VyYXRvci9jb21wb25lbnRzL3dpZGdldHMvY29uZmlndXJhdG9yLWl0ZW1zL2RhdGEtc291cmNlLWVycm9yL3RhYmxlL3RhYmxlLWRhdGEtc291cmNlLWVycm9yLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLHlEQUF5RDtBQUN6RCxFQUFFO0FBQ0YsK0VBQStFO0FBQy9FLDRFQUE0RTtBQUM1RSw4RUFBOEU7QUFDOUUsK0VBQStFO0FBQy9FLDhFQUE4RTtBQUM5RSw0REFBNEQ7QUFDNUQsRUFBRTtBQUNGLDZFQUE2RTtBQUM3RSx1REFBdUQ7QUFDdkQsRUFBRTtBQUNGLDZFQUE2RTtBQUM3RSw0RUFBNEU7QUFDNUU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gICAgIHt7IGRhdGFTb3VyY2VFcnJvci5tZXNzYWdlIHx8IGRhdGFTb3VyY2VFcnJvci50eXBlIH19XG4gICAgPC9udWktbWVzc2FnZT5cbjwvZGl2PlxuIl19
|
|
@@ -0,0 +1,133 @@
|
|
|
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 } from "@angular/forms";
|
|
22
|
+
import { Subject } from "rxjs";
|
|
23
|
+
import { takeUntil } from "rxjs/operators";
|
|
24
|
+
import { EmbeddedContentMode, } from "../../../../../components/types";
|
|
25
|
+
import * as i0 from "@angular/core";
|
|
26
|
+
import * as i1 from "@angular/forms";
|
|
27
|
+
import * as i2 from "../../../widget-editor-accordion/widget-editor-accordion.component";
|
|
28
|
+
import * as i3 from "@nova-ui/bits";
|
|
29
|
+
import * as i4 from "../../../../../pizzagna/directives/component-portal/component-portal.directive";
|
|
30
|
+
import * as i5 from "@angular/cdk/portal";
|
|
31
|
+
import * as i6 from "@angular/common";
|
|
32
|
+
import * as i7 from "../../../../pipe/widget-editor-accordion-form-state.pipe";
|
|
33
|
+
import * as i8 from "../../../../pipe/widget-editor-accordion-header-icon.pipe";
|
|
34
|
+
export class EmbeddedContentConfigurationComponent {
|
|
35
|
+
constructor(changeDetector, formBuilder) {
|
|
36
|
+
this.changeDetector = changeDetector;
|
|
37
|
+
this.formBuilder = formBuilder;
|
|
38
|
+
this.mode = EmbeddedContentMode.URL;
|
|
39
|
+
this.formReady = new EventEmitter();
|
|
40
|
+
this.destroyed$ = new Subject();
|
|
41
|
+
this.form = this.formBuilder.group({
|
|
42
|
+
mode: [this.mode],
|
|
43
|
+
urlCustomContent: [""],
|
|
44
|
+
htmlCustomContent: [""],
|
|
45
|
+
customEmbeddedContent: [""],
|
|
46
|
+
});
|
|
47
|
+
this.modes = [
|
|
48
|
+
{
|
|
49
|
+
value: EmbeddedContentMode.URL,
|
|
50
|
+
displayValue: $localize `Show the contents of a specific URL`,
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
value: EmbeddedContentMode.HTML,
|
|
54
|
+
displayValue: $localize `Show the exact HTML I supply below`,
|
|
55
|
+
},
|
|
56
|
+
];
|
|
57
|
+
}
|
|
58
|
+
get urlCustomContent() {
|
|
59
|
+
return this.form.get("urlCustomContent");
|
|
60
|
+
}
|
|
61
|
+
get htmlCustomContent() {
|
|
62
|
+
return this.form.get("htmlCustomContent");
|
|
63
|
+
}
|
|
64
|
+
get modeValue() {
|
|
65
|
+
return this.form.get("mode");
|
|
66
|
+
}
|
|
67
|
+
get customEmbeddedContentValue() {
|
|
68
|
+
return this.form.get("customEmbeddedContent");
|
|
69
|
+
}
|
|
70
|
+
ngOnInit() {
|
|
71
|
+
this.initializeForm();
|
|
72
|
+
this.formReady.emit(this.form);
|
|
73
|
+
}
|
|
74
|
+
ngOnChanges(changes) {
|
|
75
|
+
if (changes.customEmbeddedContent) {
|
|
76
|
+
if (this.mode === EmbeddedContentMode.URL) {
|
|
77
|
+
this.urlCustomContent?.setValue(this.customEmbeddedContent);
|
|
78
|
+
}
|
|
79
|
+
else if (this.mode === EmbeddedContentMode.HTML) {
|
|
80
|
+
this.htmlCustomContent?.setValue(this.customEmbeddedContent);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
if (changes.mode) {
|
|
84
|
+
this.modeValue?.setValue(changes.mode.currentValue);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
ngOnDestroy() {
|
|
88
|
+
this.destroyed$.next();
|
|
89
|
+
this.destroyed$.complete();
|
|
90
|
+
}
|
|
91
|
+
initializeForm() {
|
|
92
|
+
this.modeValue?.valueChanges
|
|
93
|
+
.pipe(takeUntil(this.destroyed$))
|
|
94
|
+
.subscribe((value) => {
|
|
95
|
+
if (value === EmbeddedContentMode.URL) {
|
|
96
|
+
this.customEmbeddedContentValue?.setValue(this.form.get("urlCustomContent")?.value);
|
|
97
|
+
this.htmlCustomContent?.disable();
|
|
98
|
+
this.urlCustomContent?.enable();
|
|
99
|
+
}
|
|
100
|
+
else if (value === EmbeddedContentMode.HTML) {
|
|
101
|
+
this.customEmbeddedContentValue?.setValue(this.form.get("htmlCustomContent")?.value);
|
|
102
|
+
this.urlCustomContent?.disable();
|
|
103
|
+
this.htmlCustomContent?.enable();
|
|
104
|
+
}
|
|
105
|
+
});
|
|
106
|
+
this.urlCustomContent?.valueChanges
|
|
107
|
+
.pipe(takeUntil(this.destroyed$))
|
|
108
|
+
.subscribe((value) => {
|
|
109
|
+
this.customEmbeddedContentValue?.setValue(value);
|
|
110
|
+
});
|
|
111
|
+
this.htmlCustomContent?.valueChanges
|
|
112
|
+
.pipe(takeUntil(this.destroyed$))
|
|
113
|
+
.subscribe((value) => {
|
|
114
|
+
this.customEmbeddedContentValue?.setValue(value);
|
|
115
|
+
});
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
EmbeddedContentConfigurationComponent.lateLoadKey = "EmbeddedContentConfigurationComponent";
|
|
119
|
+
/** @nocollapse */ EmbeddedContentConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EmbeddedContentConfigurationComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.FormBuilder }], target: i0.ɵɵFactoryTarget.Component });
|
|
120
|
+
/** @nocollapse */ EmbeddedContentConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: EmbeddedContentConfigurationComponent, selector: "nui-embedded-content-configuration", inputs: { mode: "mode", messageComponent: "messageComponent", customEmbeddedContent: "customEmbeddedContent" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, template: "<nui-widget-editor-accordion\n [formGroup]=\"form\"\n [state]=\"form | nuiWidgetEditorAccordionFormState | async\"\n>\n <div accordionHeader class=\"d-flex align-items-center pl-4 py-2\">\n <nui-icon\n class=\"align-self-start pt-2\"\n [icon]=\"form | nuiFormHeaderIconPipe: 'tag' | async\"\n ></nui-icon>\n <div class=\"d-flex flex-column ml-4 pt1\">\n <span class=\"nui-text-label\" i18n>Embedded Content</span>\n <div class=\"nui-text-secondary\">\n Show the specific HTML I supply\n </div>\n </div>\n </div>\n <div class=\"embedded-configurator-section__accordion-content\">\n <ng-container\n nuiComponentPortal\n #componentPortal=\"nuiComponentPortal\"\n [componentType]=\"messageComponent.componentType\"\n [properties]=\"messageComponent.properties\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n <nui-form-field\n [control]=\"form.get('mode')\"\n caption=\"What do you want to show in the widget?\"\n i18n-caption\n >\n <nui-radio-group\n formControlName=\"mode\"\n [(value)]=\"mode\"\n name=\"mode\"\n required\n >\n <nui-radio [value]=\"modes[0].value\">\n {{ modes[0].displayValue }}\n </nui-radio>\n <nui-form-field [control]=\"form.get('urlCustomContent')\">\n <nui-textbox formControlName=\"urlCustomContent\">\n </nui-textbox>\n </nui-form-field>\n <nui-radio [value]=\"modes[1].value\">\n {{ modes[1].displayValue }}\n </nui-radio>\n <nui-form-field [control]=\"form.get('htmlCustomContent')\">\n <nui-textbox\n class=\"textarea-scrollable\"\n formControlName=\"htmlCustomContent\"\n rows=\"7\"\n >\n </nui-textbox>\n </nui-form-field>\n </nui-radio-group>\n </nui-form-field>\n </div>\n</nui-widget-editor-accordion>\n", styles: [".embedded-configurator-section__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.RadioGroupComponent, selector: "nui-radio-group", inputs: ["ariaLabel", "name", "value", "disabled"], outputs: ["valueChange"] }, { type: i3.RadioComponent, selector: "nui-radio", inputs: ["value", "hovered", "checked", "hint", "disabled", "ariaLabel"], outputs: ["valueChange"] }, { 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"] }], 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: i4.ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type: i5.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { type: i1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }], pipes: { "async": i6.AsyncPipe, "nuiWidgetEditorAccordionFormState": i7.WidgetEditorAccordionFormStatePipe, "nuiFormHeaderIconPipe": i8.FormHeaderIconPipePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
121
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EmbeddedContentConfigurationComponent, decorators: [{
|
|
122
|
+
type: Component,
|
|
123
|
+
args: [{ selector: "nui-embedded-content-configuration", changeDetection: ChangeDetectionStrategy.OnPush, template: "<nui-widget-editor-accordion\n [formGroup]=\"form\"\n [state]=\"form | nuiWidgetEditorAccordionFormState | async\"\n>\n <div accordionHeader class=\"d-flex align-items-center pl-4 py-2\">\n <nui-icon\n class=\"align-self-start pt-2\"\n [icon]=\"form | nuiFormHeaderIconPipe: 'tag' | async\"\n ></nui-icon>\n <div class=\"d-flex flex-column ml-4 pt1\">\n <span class=\"nui-text-label\" i18n>Embedded Content</span>\n <div class=\"nui-text-secondary\">\n Show the specific HTML I supply\n </div>\n </div>\n </div>\n <div class=\"embedded-configurator-section__accordion-content\">\n <ng-container\n nuiComponentPortal\n #componentPortal=\"nuiComponentPortal\"\n [componentType]=\"messageComponent.componentType\"\n [properties]=\"messageComponent.properties\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n <nui-form-field\n [control]=\"form.get('mode')\"\n caption=\"What do you want to show in the widget?\"\n i18n-caption\n >\n <nui-radio-group\n formControlName=\"mode\"\n [(value)]=\"mode\"\n name=\"mode\"\n required\n >\n <nui-radio [value]=\"modes[0].value\">\n {{ modes[0].displayValue }}\n </nui-radio>\n <nui-form-field [control]=\"form.get('urlCustomContent')\">\n <nui-textbox formControlName=\"urlCustomContent\">\n </nui-textbox>\n </nui-form-field>\n <nui-radio [value]=\"modes[1].value\">\n {{ modes[1].displayValue }}\n </nui-radio>\n <nui-form-field [control]=\"form.get('htmlCustomContent')\">\n <nui-textbox\n class=\"textarea-scrollable\"\n formControlName=\"htmlCustomContent\"\n rows=\"7\"\n >\n </nui-textbox>\n </nui-form-field>\n </nui-radio-group>\n </nui-form-field>\n </div>\n</nui-widget-editor-accordion>\n", styles: [".embedded-configurator-section__accordion-content{padding:15px 15px 15px 46px}\n"] }]
|
|
124
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1.FormBuilder }]; }, propDecorators: { mode: [{
|
|
125
|
+
type: Input
|
|
126
|
+
}], messageComponent: [{
|
|
127
|
+
type: Input
|
|
128
|
+
}], customEmbeddedContent: [{
|
|
129
|
+
type: Input
|
|
130
|
+
}], formReady: [{
|
|
131
|
+
type: Output
|
|
132
|
+
}] } });
|
|
133
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW1iZWRkZWQtY29udGVudC1jb25maWd1cmF0aW9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4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cyA9IFtcbiAgICAgICAge1xuICAgICAgICAgICAgdmFsdWU6IEVtYmVkZGVkQ29udGVudE1vZGUuVVJMLFxuICAgICAgICAgICAgZGlzcGxheVZhbHVlOiAkbG9jYWxpemVgU2hvdyB0aGUgY29udGVudHMgb2YgYSBzcGVjaWZpYyBVUkxgLFxuICAgICAgICB9LFxuICAgICAgICB7XG4gICAgICAgICAgICB2YWx1ZTogRW1iZWRkZWRDb250ZW50TW9kZS5IVE1MLFxuICAgICAgICAgICAgZGlzcGxheVZhbHVlOiAkbG9jYWxpemVgU2hvdyB0aGUgZXhhY3QgSFRNTCBJIHN1cHBseSBiZWxvd2AsXG4gICAgICAgIH0sXG4gICAgXTtcblxuICAgIGdldCB1cmxDdXN0b21Db250ZW50KCkge1xuICAgICAgICByZXR1cm4gdGhpcy5mb3JtLmdldChcInVybEN1c3RvbUNvbnRlbnRcIik7XG4gICAgfVxuXG4gICAgZ2V0IGh0bWxDdXN0b21Db250ZW50KCkge1xuICAgICAgICByZXR1cm4gdGhpcy5mb3JtLmdldChcImh0bWxDdXN0b21Db250ZW50XCIpO1xuICAgIH1cblxuICAgIGdldCBtb2RlVmFsdWUoKSB7XG4gICAgICAgIHJldHVybiB0aGlzLmZvcm0uZ2V0KFwibW9kZVwiKTtcbiAgICB9XG5cbiAgICBnZXQgY3VzdG9tRW1iZWRkZWRDb250ZW50VmFsdWUoKSB7XG4gICAgICAgIHJldHVybiB0aGlzLmZvcm0uZ2V0KFwiY3VzdG9tRW1iZWRkZWRDb250ZW50XCIpO1xuICAgIH1cblxuICAgIGNvbnN0cnVjdG9yKFxuICAgICAgICBwdWJsaWMgY2hhbmdlRGV0ZWN0b3I6IENoYW5nZURldGVjdG9yUmVmLFxuICAgICAgICBwcml2YXRlIGZvcm1CdWlsZGVyOiBGb3JtQnVpbGRlclxuICAgICkge31cblxuICAgIHB1YmxpYyBuZ09uSW5pdCgpOiB2b2lkIHtcbiAgICAgICAgdGhpcy5pbml0aWFsaXplRm9ybSg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1ZSkgPT4ge1xuICAgICAgICAgICAgICAgIGlmICh2YWx1ZSA9PT0gRW1iZWRkZWRDb250ZW50TW9kZS5VUkwpIHtcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5jdXN0b21FbWJlZGRlZENvbnRlbnRWYWx1ZT8uc2V0VmFsdWUoXG4gICAgICAgICAgICAgICAgICAgICAgICB0aGlzLmZvcm0uZ2V0KFwidXJsQ3VzdG9tQ29udGVudFwiKT8udmFsdWVcbiAgICAgICAgICAgICAgICAgICAgKTtcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5odG1sQ3VzdG9tQ29udGVudD8uZGlzYWJsZSgpO1xuICAgICAgICAgICAgICAgICAgICB0aGlzLnVybEN1c3RvbUNvbnRlbnQ/LmVuYWJsZSgpO1xuICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAodmFsdWUgPT09IEVtYmVkZGVkQ29udGVudE1vZGUuSFRNTCkge1xuICAgICAgICAgICAgICAgICAgICB0aGlzLmN1c3RvbUVtYmVkZGVkQ29udGVudFZhbHVlPy5zZXRWYWx1ZShcbiAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMuZm9ybS5nZXQoXCJodG1sQ3VzdG9tQ29udGVudFwiKT8udmFsdWVcbiAgICAgICAgICAgICAgICAgICAgKTtcbiAgICAgICAgICAgICAgICAgICAgdGhpcy51cmxDdXN0b21Db250ZW50Py5kaXNhYmxlKCk7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMuaHRtbEN1c3RvbUNvbnRlbnQ/LmVuYWJsZSgpO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH0pO1xuXG4gICAgICAgIHRoaXMudXJsQ3VzdG9tQ29udGVudD8udmFsdWVDaGFuZ2VzXG4gICAgICAgICAgICAucGlwZSh0YWtlVW50aWwodGhpcy5kZXN0cm95ZWQkKSlcbiAgICAgICAgICAgIC5zdWJzY3JpYmUoKHZhbHVlKSA9PiB7XG4gICAgICAgICAgICAgICAgdGhpcy5jdXN0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SBzcGVjaWZpYyBIVE1MIEkgc3VwcGx5XG4gICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgPC9kaXY+XG4gICAgPC9kaXY+XG4gICAgPGRpdiBjbGFzcz1cImVtYmVkZGVkLWNvbmZpZ3VyYXRvci1zZWN0aW9uX19hY2NvcmRpb24tY29udGVudFwiPlxuICAgICAgICA8bmctY29udGFpbmVyXG4gICAgICAgICAgICBudWlDb21wb25lbnRQb3J0YWxcbiAgICAgICAgICAgICNjb21wb25lbnRQb3J0YWw9XCJudWlDb21wb25lbnRQb3J0YWxcIlxuICAgICAgICAgICAgW2NvbXBvbmVudFR5cGVdPVwibWVzc2FnZUNvbXBvbmVudC5jb21wb25lbnRUeXBlXCJcbiAgICAgICAgICAgIFtwcm9wZXJ0aWVzXT1cIm1lc3NhZ2VDb21wb25lbnQucHJvcGVydGllc1wiXG4gICAgICAgID5cbiAgICAgICAgICAgIDxuZy10ZW1wbGF0ZVxuICAgICAgICAgICAgICAgIFtjZGtQb3J0YWxPdXRsZXRdPVwiY29tcG9uZW50UG9ydGFsLnBvcnRhbFwiXG4gICAgICAgICAgICAgICAgKGF0dGFjaGVkKT1cImNvbXBvbmVudFBvcnRhbC5hdHRhY2hlZCgkZXZlbnQpXCJcbiAgICAgICAgICAgID48L25nLXRlbXBsYXRlPlxuICAgICAgICA8L25nLWNvbnRhaW5lcj5cbiAgICAgICAgPG51aS1mb3JtLWZpZWxkXG4gICAgICAgICAgICBbY29udHJvbF09XCJmb3JtLmdldCgnbW9kZScpXCJcbiAgICAgICAgICAgIGNhcHRpb249XCJXaGF0IGRvIHlvdSB3YW50IHRvIHNob3cgaW4gdGhlIHdpZGdldD9cIlxuICAgICAgICAgICAgaTE4bi1jYXB0aW9uXG4gICAgICAgID5cbiAgICAgICAgICAgIDxudWktcmFkaW8tZ3JvdXBcbiAgICAgICAgICAgICAgICBmb3JtQ29udHJvbE5hbWU9XCJtb2RlXCJcbiAgICAgICAgICAgICAgICBbKHZhbHVlKV09XCJtb2RlXCJcbiAgICAgICAgICAgICAgICBuYW1lPVwibW9kZVwiXG4gICAgICAgICAgICAgICAgcmVxdWlyZWRcbiAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICA8bnVpLXJhZGlvIFt2YWx1ZV09XCJtb2Rlc1swXS52YWx1ZVwiPlxuICAgICAgICAgICAgICAgICAgICB7eyBtb2Rlc1swXS5kaXNwbGF5VmFsdWUgfX1cbiAgICAgICAgICAgICAgICA8L251aS1yYWRpbz5cbiAgICAgICAgICAgICAgICA8bnVpLWZvcm0tZmllbGQgW2NvbnRyb2xdPVwiZm9ybS5nZXQoJ3VybEN1c3RvbUNvbnRlbnQnKVwiPlxuICAgICAgICAgICAgICAgICAgICA8bnVpLXRleHRib3ggZm9ybUNvbnRyb2xOYW1lPVwidXJsQ3VzdG9tQ29udGVudFwiPlxuICAgICAgICAgICAgICAgICAgICA8L251aS10ZXh0Ym94PlxuICAgICAgICAgICAgICAgIDwvbnVpLWZvcm0tZmllbGQ+XG4gICAgICAgICAgICAgICAgPG51aS1yYWRpbyBbdmFsdWVdPVwibW9kZXNbMV0udmFsdWVcIj5cbiAgICAgICAgICAgICAgICAgICAge3sgbW9kZXNbMV0uZGlzcGxheVZhbHVlIH19XG4gICAgICAgICAgICAgICAgPC9udWktcmFkaW8+XG4gICAgICAgICAgICAgICAgPG51aS1mb3JtLWZpZWxkIFtjb250cm9sXT1cImZvcm0uZ2V0KCdodG1sQ3VzdG9tQ29udGVudCcpXCI+XG4gICAgICAgICAgICAgICAgICAgIDxudWktdGV4dGJveFxuICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3M9XCJ0ZXh0YXJlYS1zY3JvbGxhYmxlXCJcbiAgICAgICAgICAgICAgICAgICAgICAgIGZvcm1Db250cm9sTmFtZT1cImh0bWxDdXN0b21Db250ZW50XCJcbiAgICAgICAgICAgICAgICAgICAgICAgIHJvd3M9XCI3XCJcbiAgICAgICAgICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgICAgICA8L251aS10ZXh0Ym94PlxuICAgICAgICAgICAgICAgIDwvbnVpLWZvcm0tZmllbGQ+XG4gICAgICAgICAgICA8L251aS1yYWRpby1ncm91cD5cbiAgICAgICAgPC9udWktZm9ybS1maWVsZD5cbiAgICA8L2Rpdj5cbjwvbnVpLXdpZGdldC1lZGl0b3ItYWNjb3JkaW9uPlxuIl19
|