@nova-ui/dashboards 12.0.17-3916 → 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,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 { CommonModule } from "@angular/common";
|
|
21
|
+
import { NgModule } from "@angular/core";
|
|
22
|
+
import { NuiImageModule } from "@nova-ui/bits";
|
|
23
|
+
import { PreviewOverlayComponent } from "./components/preview-overlay/preview-overlay.component";
|
|
24
|
+
import { WidgetErrorComponent } from "./components/widget-error/widget-error.component";
|
|
25
|
+
import { DashboardUnitConversionPipe } from "./pipes/dashboard-unit-conversion-pipe";
|
|
26
|
+
import * as i0 from "@angular/core";
|
|
27
|
+
const commonComponents = [PreviewOverlayComponent, WidgetErrorComponent];
|
|
28
|
+
export class NuiDashboardsCommonModule {
|
|
29
|
+
}
|
|
30
|
+
/** @nocollapse */ NuiDashboardsCommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NuiDashboardsCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
31
|
+
/** @nocollapse */ NuiDashboardsCommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NuiDashboardsCommonModule, declarations: [DashboardUnitConversionPipe, PreviewOverlayComponent, WidgetErrorComponent], imports: [CommonModule, NuiImageModule], exports: [CommonModule, DashboardUnitConversionPipe, PreviewOverlayComponent, WidgetErrorComponent] });
|
|
32
|
+
/** @nocollapse */ NuiDashboardsCommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NuiDashboardsCommonModule, imports: [[CommonModule, NuiImageModule], CommonModule] });
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NuiDashboardsCommonModule, decorators: [{
|
|
34
|
+
type: NgModule,
|
|
35
|
+
args: [{
|
|
36
|
+
imports: [CommonModule, NuiImageModule],
|
|
37
|
+
declarations: [DashboardUnitConversionPipe, ...commonComponents],
|
|
38
|
+
exports: [CommonModule, DashboardUnitConversionPipe, ...commonComponents],
|
|
39
|
+
}]
|
|
40
|
+
}] });
|
|
41
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJma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pbXBvcnQgeyBOdWlJbWFnZU1vZHVsZSB9IGZyb20gXCJAbm92YS11aS9iaXRzXCI7XG5cbmltcG9ydCB7IFByZXZpZXdPdmVybGF5Q29tcG9uZW50IH0gZnJvbSBcIi4vY29tcG9uZW50cy9wcmV2aWV3LW92ZXJsYXkvcHJldmlldy1vdmVybGF5LmNvbXBvbmVudFwiO1xuaW1wb3J0IHsgV2lkZ2V0RXJyb3JDb21wb25lbnQgfSBmcm9tIFwiLi9jb21wb25lbnRzL3dpZGdldC1lcnJvci93aWRnZXQtZXJyb3IuY29tcG9uZW50XCI7XG5pbXBvcnQgeyBEYXNoYm9hcmRVbml0Q29udmVyc2lvblBpcGUgfSBmcm9tIFwiLi9waXBlcy9kYXNoYm9hcmQtdW5pdC1jb252ZXJzaW9uLXBpcGVcIjtcblxuY29uc3QgY29tbW9uQ29tcG9uZW50cyA9IFtQcmV2aWV3T3ZlcmxheUNvbXBvbmVudCwgV2lkZ2V0RXJyb3JDb21wb25lbnRdO1xuXG5ATmdNb2R1bGUoe1xuICAgIGltcG9ydHM6IFtDb21tb25Nb2R1bGUsIE51aUltYWdlTW9kdWxlXSxcbiAgICBkZWNsYXJhdGlvbnM6IFtEYXNoYm9hcmRVbml0Q29udmVyc2lvblBpcGUsIC4uLmNvbW1vbkNvbXBvbmVudHNdLFxuICAgIGV4cG9ydHM6IFtDb21tb25Nb2R1bGUsIERhc2hib2FyZFVuaXRDb252ZXJzaW9uUGlwZSwgLi4uY29tbW9uQ29tcG9uZW50c10sXG59KVxuZXhwb3J0IGNsYXNzIE51aURhc2hib2FyZHNDb21tb25Nb2R1bGUge31cbiJdfQ==
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
2
|
+
//
|
|
3
|
+
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4
|
+
// of this software and associated documentation files (the "Software"), to
|
|
5
|
+
// deal in the Software without restriction, including without limitation the
|
|
6
|
+
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
7
|
+
// sell copies of the Software, and to permit persons to whom the Software is
|
|
8
|
+
// furnished to do so, subject to the following conditions:
|
|
9
|
+
//
|
|
10
|
+
// The above copyright notice and this permission notice shall be included in
|
|
11
|
+
// all copies or substantial portions of the Software.
|
|
12
|
+
//
|
|
13
|
+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
14
|
+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
15
|
+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
16
|
+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17
|
+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
18
|
+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
19
|
+
// THE SOFTWARE.
|
|
20
|
+
import { Component } from "@angular/core";
|
|
21
|
+
import * as i0 from "@angular/core";
|
|
22
|
+
export class PreviewOverlayComponent {
|
|
23
|
+
}
|
|
24
|
+
PreviewOverlayComponent.lateLoadKey = "PreviewOverlayComponent";
|
|
25
|
+
/** @nocollapse */ PreviewOverlayComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PreviewOverlayComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
26
|
+
/** @nocollapse */ PreviewOverlayComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PreviewOverlayComponent, selector: "nui-preview-overlay", ngImport: i0, template: `<div class="nui-text-label content" i18n>
|
|
27
|
+
This is a non-interactive widget preview
|
|
28
|
+
</div>`, isInline: true, styles: [":host{opacity:0;transition-property:opacity;transition-duration:.5s;position:absolute;z-index:1060;background-color:var(--nui-color-bg-content_popover,#fff);height:100%;width:100%}:host:hover{opacity:.96}:host .content{padding:10px;display:flex;justify-content:center;align-items:center;position:absolute;top:0;right:2px;bottom:2px;left:2px;cursor:not-allowed}\n"] });
|
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PreviewOverlayComponent, decorators: [{
|
|
30
|
+
type: Component,
|
|
31
|
+
args: [{ selector: "nui-preview-overlay", template: `<div class="nui-text-label content" i18n>
|
|
32
|
+
This is a non-interactive widget preview
|
|
33
|
+
</div>`, styles: [":host{opacity:0;transition-property:opacity;transition-duration:.5s;position:absolute;z-index:1060;background-color:var(--nui-color-bg-content_popover,#fff);height:100%;width:100%}:host:hover{opacity:.96}:host .content{padding:10px;display:flex;justify-content:center;align-items:center;position:absolute;top:0;right:2px;bottom:2px;left:2px;cursor:not-allowed}\n"] }]
|
|
34
|
+
}] });
|
|
35
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJldmlldy1vdmVybGF5LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9saWIvY29tbW9uL2NvbXBvbmVudHMvcHJldmlldy1vdmVybGF5L3ByZXZpZXctb3ZlcmxheS5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEseURBQXlEO0FBQ3pELEVBQUU7QUFDRiwrRUFBK0U7QUFDL0UsNEVBQTRFO0FBQzVFLDhFQUE4RTtBQUM5RSwrRUFBK0U7QUFDL0UsOEVBQThFO0FBQzlFLDREQUE0RDtBQUM1RCxFQUFFO0FBQ0YsNkVBQTZFO0FBQzdFLHVEQUF1RDtBQUN2RCxFQUFFO0FBQ0YsNkVBQTZFO0FBQzdFLDRFQUE0RTtBQUM1RSwrRUFBK0U7QUFD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gVGhpcyBpcyBhIG5vbi1pbnRlcmFjdGl2ZSB3aWRnZXQgcHJldmlld1xuICAgIDwvZGl2PmAsXG4gICAgc3R5bGVVcmxzOiBbXCIuL3ByZXZpZXctb3ZlcmxheS5jb21wb25lbnQubGVzc1wiXSxcbn0pXG5leHBvcnQgY2xhc3MgUHJldmlld092ZXJsYXlDb21wb25lbnQge1xuICAgIHN0YXRpYyBsYXRlTG9hZEtleSA9IFwiUHJldmlld092ZXJsYXlDb21wb25lbnRcIjtcbn1cbiJdfQ==
|
package/{esm2015/lib/common/components/public-api.js → esm2020/lib/common/components/public-api.mjs}
RENAMED
|
File without changes
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
2
|
+
//
|
|
3
|
+
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4
|
+
// of this software and associated documentation files (the "Software"), to
|
|
5
|
+
// deal in the Software without restriction, including without limitation the
|
|
6
|
+
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
7
|
+
// sell copies of the Software, and to permit persons to whom the Software is
|
|
8
|
+
// furnished to do so, subject to the following conditions:
|
|
9
|
+
//
|
|
10
|
+
// The above copyright notice and this permission notice shall be included in
|
|
11
|
+
// all copies or substantial portions of the Software.
|
|
12
|
+
//
|
|
13
|
+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
14
|
+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
15
|
+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
16
|
+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17
|
+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
18
|
+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
19
|
+
// THE SOFTWARE.
|
|
20
|
+
import { ChangeDetectorRef, Component, HostBinding, Input, } from "@angular/core";
|
|
21
|
+
import * as i0 from "@angular/core";
|
|
22
|
+
import * as i1 from "@nova-ui/bits";
|
|
23
|
+
export class WidgetErrorComponent {
|
|
24
|
+
constructor(changeDetector) {
|
|
25
|
+
this.changeDetector = changeDetector;
|
|
26
|
+
this.defaultClasses = "d-flex flex-column justify-content-center w-100 p-3";
|
|
27
|
+
/**
|
|
28
|
+
* Optional class for styling
|
|
29
|
+
*/
|
|
30
|
+
this.elementClass = "";
|
|
31
|
+
}
|
|
32
|
+
ngOnInit() {
|
|
33
|
+
this.classNames = `${this.defaultClasses} ${this.elementClass}`;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
WidgetErrorComponent.lateLoadKey = "WidgetErrorComponent";
|
|
37
|
+
/** @nocollapse */ WidgetErrorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WidgetErrorComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
38
|
+
/** @nocollapse */ WidgetErrorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: WidgetErrorComponent, selector: "nui-widget-error", inputs: { image: "image", title: "title", description: "description", elementClass: "elementClass" }, host: { properties: { "class": "this.classNames" } }, ngImport: i0, template: "<nui-image [image]=\"image\"></nui-image>\n<div class=\"widget-error__title\">\n <strong>{{ title }}</strong>\n</div>\n<div class=\"d-flex justify-content-center text-center\">{{ description }}</div>\n", styles: [".widget-error__title{display:flex;justify-content:center;text-align:center;margin-top:20px;margin-bottom:10px}\n"], components: [{ type: i1.ImageComponent, selector: "nui-image", inputs: ["image", "description", "float", "margin", "isWatermark", "width", "height", "autoFill"] }] });
|
|
39
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WidgetErrorComponent, decorators: [{
|
|
40
|
+
type: Component,
|
|
41
|
+
args: [{ selector: "nui-widget-error", template: "<nui-image [image]=\"image\"></nui-image>\n<div class=\"widget-error__title\">\n <strong>{{ title }}</strong>\n</div>\n<div class=\"d-flex justify-content-center text-center\">{{ description }}</div>\n", styles: [".widget-error__title{display:flex;justify-content:center;text-align:center;margin-top:20px;margin-bottom:10px}\n"] }]
|
|
42
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { image: [{
|
|
43
|
+
type: Input
|
|
44
|
+
}], title: [{
|
|
45
|
+
type: Input
|
|
46
|
+
}], description: [{
|
|
47
|
+
type: Input
|
|
48
|
+
}], elementClass: [{
|
|
49
|
+
type: Input
|
|
50
|
+
}], classNames: [{
|
|
51
|
+
type: HostBinding,
|
|
52
|
+
args: ["class"]
|
|
53
|
+
}] } });
|
|
54
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2lkZ2V0LWVycm9yLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9saWIvY29tbW9uL2NvbXBvbmVudHMvd2lkZ2V0LWVycm9yL3dpZGdldC1lcnJvci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGliL2NvbW1vbi9jb21wb25lbnRzL3dpZGdldC1lcnJvci93aWRnZXQtZXJyb3IuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEseURBQXlEO0FBQ3pELEVBQUU7QUFDRiwrRUFBK0U7QUFDL0UsNEVBQTRFO0FBQzVFLDhFQUE4RTtBQUM5RSwrRUFBK0U7QUFDL0UsOEVBQThFO0FBQzlFLDREQUE0RDtBQUM1RCxFQUFFO0FBQ0YsNkVBQTZFO0FBQzdFLHVEQ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without changes
|
|
@@ -0,0 +1,57 @@
|
|
|
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 { Pipe } from "@angular/core";
|
|
21
|
+
import { UnitBase, UnitConversionService } from "@nova-ui/bits";
|
|
22
|
+
import { DEFAULT_UNIT_CONVERSION_THRESHOLD } from "../constants";
|
|
23
|
+
import * as i0 from "@angular/core";
|
|
24
|
+
import * as i1 from "@nova-ui/bits";
|
|
25
|
+
/**
|
|
26
|
+
* Pipe for transforming large values to their abbreviated counterparts.
|
|
27
|
+
* Conversions are applied for values 10000 or greater
|
|
28
|
+
*/
|
|
29
|
+
export class DashboardUnitConversionPipe {
|
|
30
|
+
constructor(unitConversionService) {
|
|
31
|
+
this.unitConversionService = unitConversionService;
|
|
32
|
+
/**
|
|
33
|
+
* Transforms a large number value to its abbreviated counterpart
|
|
34
|
+
*
|
|
35
|
+
* @param value The value to convert
|
|
36
|
+
*
|
|
37
|
+
* @returns The string representation of the converted value
|
|
38
|
+
*/
|
|
39
|
+
this.transform = (value, units = "generic", defaultThreshold = DEFAULT_UNIT_CONVERSION_THRESHOLD) => {
|
|
40
|
+
const valueAsNumber = typeof value === "string" ? parseFloat(value) : value;
|
|
41
|
+
if (valueAsNumber === undefined ||
|
|
42
|
+
isNaN(valueAsNumber) ||
|
|
43
|
+
valueAsNumber < defaultThreshold) {
|
|
44
|
+
return value?.toString() || "";
|
|
45
|
+
}
|
|
46
|
+
const conversion = this.unitConversionService.convert(valueAsNumber, units === "bytes" ? UnitBase.Bytes : UnitBase.Standard, 1);
|
|
47
|
+
return this.unitConversionService.getFullDisplay(conversion, units);
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
/** @nocollapse */ DashboardUnitConversionPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DashboardUnitConversionPipe, deps: [{ token: i1.UnitConversionService }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
52
|
+
/** @nocollapse */ DashboardUnitConversionPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DashboardUnitConversionPipe, name: "nuiDashboardUnitConversion" });
|
|
53
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DashboardUnitConversionPipe, decorators: [{
|
|
54
|
+
type: Pipe,
|
|
55
|
+
args: [{ name: "nuiDashboardUnitConversion" }]
|
|
56
|
+
}], ctorParameters: function () { return [{ type: i1.UnitConversionService }]; } });
|
|
57
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2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WxsRGlzcGxheShjb252ZXJzaW9uLCB1bml0cyk7XG4gICAgfTtcbn1cbiJdfQ==
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
import { Component, EventEmitter, HostBinding, Inject, Input, Output, QueryList, ViewChild, ViewChildren, ViewEncapsulation, } from "@angular/core";
|
|
2
|
+
import { GridsterComponent, GridsterItemComponent, } from "angular-gridster2";
|
|
3
|
+
import _defaultsDeep from "lodash/defaultsDeep";
|
|
4
|
+
import { EventBus, immutableSet } from "@nova-ui/bits";
|
|
5
|
+
import { DASHBOARD_EDIT_MODE, WIDGET_POSITION_CHANGE, WIDGET_RESIZE, } from "../../services/types";
|
|
6
|
+
import { DASHBOARD_EVENT_BUS } from "../../types";
|
|
7
|
+
import { DEFAULT_GRIDSTER_CONFIG } from "./default-gridster-config";
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
import * as i1 from "angular-gridster2";
|
|
10
|
+
import * as i2 from "../widget/widget.component";
|
|
11
|
+
import * as i3 from "../loading/loading.component";
|
|
12
|
+
import * as i4 from "@angular/common";
|
|
13
|
+
import * as i5 from "../../directives/gridster-item-widget-id/gridster-item-widget-id.directive";
|
|
14
|
+
import * as i6 from "@nova-ui/bits";
|
|
15
|
+
export class DashboardComponent {
|
|
16
|
+
constructor(eventBus) {
|
|
17
|
+
this.eventBus = eventBus;
|
|
18
|
+
this.editMode = false;
|
|
19
|
+
this.gridsterConfigChange = new EventEmitter();
|
|
20
|
+
this.dashboardChange = new EventEmitter();
|
|
21
|
+
this.gridsterItemsVisibilityMap = {};
|
|
22
|
+
this.orderWidgets = (a, b) => {
|
|
23
|
+
const nextWidget = this.dashboard.positions[a.key];
|
|
24
|
+
const currentWidget = this.dashboard.positions[b.key];
|
|
25
|
+
return nextWidget.y - currentWidget.y || nextWidget.x - currentWidget.x;
|
|
26
|
+
};
|
|
27
|
+
this.trackByFn = (index, item) => item.key;
|
|
28
|
+
this.updateWidgetPosition = (item, itemComponent) => {
|
|
29
|
+
const widgetId = itemComponent.widgetId;
|
|
30
|
+
const dashboard = immutableSet(this.dashboard, "positions." + widgetId, item);
|
|
31
|
+
this.dashboardChange.emit(dashboard);
|
|
32
|
+
this.eventBus.getStream(WIDGET_POSITION_CHANGE).next({
|
|
33
|
+
widgetId: widgetId,
|
|
34
|
+
payload: item,
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
this.emitWidgetResize = (item, itemComponent) => {
|
|
38
|
+
const widgetId = itemComponent.widgetId;
|
|
39
|
+
this.eventBus.getStream(WIDGET_RESIZE).next({
|
|
40
|
+
widgetId: widgetId,
|
|
41
|
+
payload: {
|
|
42
|
+
widgetId: widgetId,
|
|
43
|
+
height: itemComponent.height,
|
|
44
|
+
width: itemComponent.width,
|
|
45
|
+
},
|
|
46
|
+
});
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
get dashboard() {
|
|
50
|
+
return this.dashboardBuffer || this._dashboard;
|
|
51
|
+
}
|
|
52
|
+
set dashboard(value) {
|
|
53
|
+
this._dashboard = value;
|
|
54
|
+
this.dashboardBuffer = null;
|
|
55
|
+
}
|
|
56
|
+
get hostClass() {
|
|
57
|
+
return true;
|
|
58
|
+
}
|
|
59
|
+
ngAfterViewInit() {
|
|
60
|
+
// need to wait till DOM is rendered because of "getBoundingClientRect" under the hood
|
|
61
|
+
setTimeout(() => this.calculateWidgetsVisibility());
|
|
62
|
+
}
|
|
63
|
+
onGridsterScroll() {
|
|
64
|
+
this.calculateWidgetsVisibility();
|
|
65
|
+
}
|
|
66
|
+
ngOnChanges(changes) {
|
|
67
|
+
if (changes.gridsterConfig) {
|
|
68
|
+
if (changes.gridsterConfig.isFirstChange()) {
|
|
69
|
+
const gridsterConfig = _defaultsDeep(this.gridsterConfig || {}, DEFAULT_GRIDSTER_CONFIG);
|
|
70
|
+
this.hookEvent(gridsterConfig, "itemChangeCallback", this.updateWidgetPosition);
|
|
71
|
+
this.hookEvent(gridsterConfig, "itemResizeCallback", this.emitWidgetResize);
|
|
72
|
+
this.gridsterConfigChange.emit(gridsterConfig);
|
|
73
|
+
}
|
|
74
|
+
if (this.gridsterConfig?.api) {
|
|
75
|
+
this.gridsterConfig.api.optionsChanged?.();
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
if (changes.editMode) {
|
|
79
|
+
if (!this.gridsterConfig.resizable) {
|
|
80
|
+
throw new Error(`Gridster's resizable prop is undefined`);
|
|
81
|
+
}
|
|
82
|
+
this.gridsterConfig.resizable.enabled = this.editMode;
|
|
83
|
+
if (!this.gridsterConfig.draggable) {
|
|
84
|
+
throw new Error(`Gridster's draggable prop is undefined`);
|
|
85
|
+
}
|
|
86
|
+
this.gridsterConfig.draggable.enabled = this.editMode;
|
|
87
|
+
this.gridsterConfigChange.emit(Object.assign({}, this.gridsterConfig));
|
|
88
|
+
this.eventBus
|
|
89
|
+
.getStream(DASHBOARD_EDIT_MODE)
|
|
90
|
+
.next({ payload: this.editMode });
|
|
91
|
+
}
|
|
92
|
+
// TODO: position doesn't update on external change of position
|
|
93
|
+
// if (!changes.dashboard.isFirstChange() &&
|
|
94
|
+
// changes.dashboard.currentValue.positions !== changes.dashboard.previousValue.positions) {
|
|
95
|
+
// if (this.gridsterConfig.api) {
|
|
96
|
+
// this.gridsterConfig.api.optionsChanged();
|
|
97
|
+
// }
|
|
98
|
+
// }
|
|
99
|
+
}
|
|
100
|
+
onWidgetChange(widget) {
|
|
101
|
+
// this could happen when changes are being made on a widget that is being removed
|
|
102
|
+
if (!this.dashboard.widgets[widget.id]) {
|
|
103
|
+
return;
|
|
104
|
+
}
|
|
105
|
+
this.updateWidget(widget);
|
|
106
|
+
}
|
|
107
|
+
updateWidget(widget) {
|
|
108
|
+
let dashboard = this.dashboard;
|
|
109
|
+
if (!this.dashboard.positions[widget.id] && this.gridsterConfig?.api) {
|
|
110
|
+
const gridsterItem = this.gridsterConfig.api.getFirstPossiblePosition?.({
|
|
111
|
+
x: 0,
|
|
112
|
+
y: 0,
|
|
113
|
+
rows: this.gridsterConfig?.defaultItemRows,
|
|
114
|
+
cols: this.gridsterConfig?.defaultItemCols,
|
|
115
|
+
});
|
|
116
|
+
dashboard = immutableSet(dashboard, `positions.${widget.id}`, gridsterItem);
|
|
117
|
+
}
|
|
118
|
+
dashboard = immutableSet(dashboard, `widgets.${widget.id}`, widget);
|
|
119
|
+
this.dashboardBuffer = dashboard;
|
|
120
|
+
this.dashboardChange.emit(dashboard);
|
|
121
|
+
}
|
|
122
|
+
removeWidget(widgetId, removePosition = true) {
|
|
123
|
+
let dashboard = this.dashboard;
|
|
124
|
+
if (!dashboard.widgets[widgetId]) {
|
|
125
|
+
return;
|
|
126
|
+
}
|
|
127
|
+
const widgetsClone = Object.assign({}, dashboard.widgets);
|
|
128
|
+
delete widgetsClone[widgetId];
|
|
129
|
+
dashboard = immutableSet(dashboard, "widgets", widgetsClone);
|
|
130
|
+
if (removePosition) {
|
|
131
|
+
const positionsClone = Object.assign({}, dashboard.positions);
|
|
132
|
+
delete positionsClone[widgetId];
|
|
133
|
+
dashboard = immutableSet(dashboard, "positions", positionsClone);
|
|
134
|
+
}
|
|
135
|
+
this.dashboardChange.emit(dashboard);
|
|
136
|
+
}
|
|
137
|
+
shouldWidgetRender(key) {
|
|
138
|
+
return this.belowFoldLazyLoadingConfig?.enabled
|
|
139
|
+
? this.gridsterItemsVisibilityMap[key]
|
|
140
|
+
: true;
|
|
141
|
+
}
|
|
142
|
+
hookEvent(options, eventName, invoke) {
|
|
143
|
+
const prevEvent = options[eventName];
|
|
144
|
+
options[eventName] = (item, itemComponent) => {
|
|
145
|
+
invoke(item, itemComponent);
|
|
146
|
+
if (prevEvent) {
|
|
147
|
+
prevEvent(item, itemComponent);
|
|
148
|
+
}
|
|
149
|
+
};
|
|
150
|
+
}
|
|
151
|
+
calculateWidgetsVisibility() {
|
|
152
|
+
if (!this.belowFoldLazyLoadingConfig?.enabled) {
|
|
153
|
+
return;
|
|
154
|
+
}
|
|
155
|
+
const gridsterRect = this.gridster.el.getBoundingClientRect();
|
|
156
|
+
this.gridsterItemsVisibilityMap = this.gridsterItems.reduce((acc, next) => {
|
|
157
|
+
const { el } = next;
|
|
158
|
+
const idx = next.widgetId;
|
|
159
|
+
// if widget is already loaded don't hide it
|
|
160
|
+
if (!this.belowFoldLazyLoadingConfig.configuration
|
|
161
|
+
?.reloadWidgetsOnScroll) {
|
|
162
|
+
const prevVisibility = acc[idx];
|
|
163
|
+
if (prevVisibility) {
|
|
164
|
+
return acc;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
const rect = el.getBoundingClientRect();
|
|
168
|
+
const getHeightVisibility = () => (rect.top > gridsterRect.top &&
|
|
169
|
+
rect.top < gridsterRect.bottom) ||
|
|
170
|
+
(rect.bottom > gridsterRect.top &&
|
|
171
|
+
rect.bottom < gridsterRect.bottom);
|
|
172
|
+
const getWidthVisibility = () => (rect.left > gridsterRect.left &&
|
|
173
|
+
rect.left < gridsterRect.right) ||
|
|
174
|
+
(rect.right > gridsterRect.left &&
|
|
175
|
+
rect.right < gridsterRect.right);
|
|
176
|
+
const isVisible = getHeightVisibility() && getWidthVisibility();
|
|
177
|
+
acc[idx] = isVisible;
|
|
178
|
+
return acc;
|
|
179
|
+
}, this.gridsterItemsVisibilityMap);
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
/** @nocollapse */ DashboardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DashboardComponent, deps: [{ token: DASHBOARD_EVENT_BUS }], target: i0.ɵɵFactoryTarget.Component });
|
|
183
|
+
/** @nocollapse */ DashboardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: DashboardComponent, selector: "nui-dashboard", inputs: { gridsterConfig: "gridsterConfig", dashboard: "dashboard", editMode: "editMode", belowFoldLazyLoadingConfig: "belowFoldLazyLoadingConfig" }, outputs: { gridsterConfigChange: "gridsterConfigChange", dashboardChange: "dashboardChange" }, host: { properties: { "class.nui-dashboard": "this.hostClass" } }, providers: [
|
|
184
|
+
{
|
|
185
|
+
provide: DASHBOARD_EVENT_BUS,
|
|
186
|
+
useClass: EventBus,
|
|
187
|
+
},
|
|
188
|
+
], viewQueries: [{ propertyName: "gridster", first: true, predicate: GridsterComponent, descendants: true }, { propertyName: "gridsterItems", predicate: GridsterItemComponent, descendants: true }], usesOnChanges: true, ngImport: i0, template: "<gridster\n class=\"nui-dashboard__gridster\"\n [options]=\"gridsterConfig\"\n (scroll)=\"onGridsterScroll()\"\n>\n <gridster-item\n *ngFor=\"\n let widget of dashboard.widgets | keyvalue: orderWidgets;\n trackBy: trackByFn\n \"\n [item]=\"dashboard.positions[widget.key]\"\n class=\"nui-dashboard__gridster-item\"\n [nuiGridsterItemWidgetId]=\"widget.key\"\n >\n <nui-widget\n *ngIf=\"shouldWidgetRender(widget.key); else emptyWidgetTpl\"\n [widget]=\"widget.value\"\n (widgetChange)=\"onWidgetChange($event)\"\n [attr.widget-id]=\"widget.key\"\n [attr.widget-type]=\"widget.value.type\"\n class=\"w-100 h-100 d-block\"\n >\n </nui-widget>\n </gridster-item>\n</gridster>\n\n<ng-template #emptyWidgetTpl>\n <div class=\"w-100 h-100 d-block\">\n <nui-loading [active]=\"true\"></nui-loading>\n </div>\n</ng-template>\n", styles: [".nui-dashboard__gridster{background-color:var(--nui-color-bg-workspace,#f0f0f0)}.nui-dashboard__gridster .gridster-preview{border-width:4px;border-style:solid;border-color:var(--nui-color-selected-contrast,#00c4d2);background-color:var(--nui-color-selected,rgba(0, 196, 210, .1))}.nui-dashboard__gridster .gridster-preview:before{background-color:var(--nui-color-selected-contrast,#00c4d2);border-radius:50%;content:\"\";display:block;height:40px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:40px;z-index:1}.nui-dashboard__gridster .gridster-preview:after{color:var(--nui-color-icon-light,#fff);content:\"+\";display:block;font-size:19px;font-weight:700;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);z-index:2}.nui-dashboard__gridster-item{box-shadow:0 0 5px #999;box-shadow:0 0 var(--nui-space-xs, 5px) var(--nui-color-line-dark, #999999);background-color:var(--nui-color-bg-light,#fff)}.nui-dashboard__gridster-item:hover .gridster-item-resizable-handler{border-bottom-color:#00c4d2;border-bottom-color:var(--nui-color-selected-contrast,#00c4d2);margin:0;z-index:2000}.nui-dashboard__gridster-item:hover .gridster-item-resizable-handler.handle-se{border-bottom-color:var(--nui-color-selected-contrast,#00c4d2);right:2px;bottom:2px}.mobile .nui-dashboard__gridster-item.nui-dashboard__gridster-item{height:auto!important}\n"], components: [{ type: i1.GridsterComponent, selector: "gridster", inputs: ["options"] }, { type: i1.GridsterItemComponent, selector: "gridster-item", inputs: ["item"], outputs: ["itemInit", "itemChange", "itemResize"] }, { type: i2.WidgetComponent, selector: "nui-widget", inputs: ["widget"], outputs: ["widgetChange"] }, { type: i3.LoadingComponent, selector: "nui-loading", inputs: ["active"] }], directives: [{ type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i5.GridsterItemWidgetIdDirective, selector: "[nuiGridsterItemWidgetId]", inputs: ["nuiGridsterItemWidgetId"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "keyvalue": i4.KeyValuePipe }, encapsulation: i0.ViewEncapsulation.None });
|
|
189
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DashboardComponent, decorators: [{
|
|
190
|
+
type: Component,
|
|
191
|
+
args: [{ selector: "nui-dashboard", encapsulation: ViewEncapsulation.None, providers: [
|
|
192
|
+
{
|
|
193
|
+
provide: DASHBOARD_EVENT_BUS,
|
|
194
|
+
useClass: EventBus,
|
|
195
|
+
},
|
|
196
|
+
], template: "<gridster\n class=\"nui-dashboard__gridster\"\n [options]=\"gridsterConfig\"\n (scroll)=\"onGridsterScroll()\"\n>\n <gridster-item\n *ngFor=\"\n let widget of dashboard.widgets | keyvalue: orderWidgets;\n trackBy: trackByFn\n \"\n [item]=\"dashboard.positions[widget.key]\"\n class=\"nui-dashboard__gridster-item\"\n [nuiGridsterItemWidgetId]=\"widget.key\"\n >\n <nui-widget\n *ngIf=\"shouldWidgetRender(widget.key); else emptyWidgetTpl\"\n [widget]=\"widget.value\"\n (widgetChange)=\"onWidgetChange($event)\"\n [attr.widget-id]=\"widget.key\"\n [attr.widget-type]=\"widget.value.type\"\n class=\"w-100 h-100 d-block\"\n >\n </nui-widget>\n </gridster-item>\n</gridster>\n\n<ng-template #emptyWidgetTpl>\n <div class=\"w-100 h-100 d-block\">\n <nui-loading [active]=\"true\"></nui-loading>\n </div>\n</ng-template>\n", styles: [".nui-dashboard__gridster{background-color:var(--nui-color-bg-workspace,#f0f0f0)}.nui-dashboard__gridster .gridster-preview{border-width:4px;border-style:solid;border-color:var(--nui-color-selected-contrast,#00c4d2);background-color:var(--nui-color-selected,rgba(0, 196, 210, .1))}.nui-dashboard__gridster .gridster-preview:before{background-color:var(--nui-color-selected-contrast,#00c4d2);border-radius:50%;content:\"\";display:block;height:40px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:40px;z-index:1}.nui-dashboard__gridster .gridster-preview:after{color:var(--nui-color-icon-light,#fff);content:\"+\";display:block;font-size:19px;font-weight:700;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);z-index:2}.nui-dashboard__gridster-item{box-shadow:0 0 5px #999;box-shadow:0 0 var(--nui-space-xs, 5px) var(--nui-color-line-dark, #999999);background-color:var(--nui-color-bg-light,#fff)}.nui-dashboard__gridster-item:hover .gridster-item-resizable-handler{border-bottom-color:#00c4d2;border-bottom-color:var(--nui-color-selected-contrast,#00c4d2);margin:0;z-index:2000}.nui-dashboard__gridster-item:hover .gridster-item-resizable-handler.handle-se{border-bottom-color:var(--nui-color-selected-contrast,#00c4d2);right:2px;bottom:2px}.mobile .nui-dashboard__gridster-item.nui-dashboard__gridster-item{height:auto!important}\n"] }]
|
|
197
|
+
}], ctorParameters: function () { return [{ type: i6.EventBus, decorators: [{
|
|
198
|
+
type: Inject,
|
|
199
|
+
args: [DASHBOARD_EVENT_BUS]
|
|
200
|
+
}] }]; }, propDecorators: { gridsterConfig: [{
|
|
201
|
+
type: Input
|
|
202
|
+
}], dashboard: [{
|
|
203
|
+
type: Input
|
|
204
|
+
}], editMode: [{
|
|
205
|
+
type: Input
|
|
206
|
+
}], belowFoldLazyLoadingConfig: [{
|
|
207
|
+
type: Input
|
|
208
|
+
}], gridsterConfigChange: [{
|
|
209
|
+
type: Output
|
|
210
|
+
}], dashboardChange: [{
|
|
211
|
+
type: Output
|
|
212
|
+
}], hostClass: [{
|
|
213
|
+
type: HostBinding,
|
|
214
|
+
args: ["class.nui-dashboard"]
|
|
215
|
+
}], gridster: [{
|
|
216
|
+
type: ViewChild,
|
|
217
|
+
args: [GridsterComponent]
|
|
218
|
+
}], gridsterItems: [{
|
|
219
|
+
type: ViewChildren,
|
|
220
|
+
args: [GridsterItemComponent]
|
|
221
|
+
}] } });
|
|
222
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGFzaGJvYXJkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9saWIvY29tcG9uZW50cy9kYXNoYm9hcmQvZGFzaGJvYXJkLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3NyYy9saWIvY29tcG9uZW50cy9kYXNoYm9hcmQvZGFzaGJvYXJkLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXFCQSxPQUFPLEVBRUgsU0FBUyxFQUNULFlBQVksRUFDWixXQUFXLEVBQ1gsTUFBTSxFQUNOLEtBQUssRUFFTCxNQUFNLEVBQ04sU0FBUyxFQUVULFNBQVMsRU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ZHN0ZXJDb25maWcgPSBfZGVmYXVsdHNEZWVwKFxuICAgICAgICAgICAgICAgICAgICB0aGlzLmdyaWRzdGVyQ29uZmlnIHx8IHt9LFxuICAgICAgICAgICAgICAgICAgICBERUZBVUxUX0dSSURTVEVSX0NPTkZJR1xuICAgICAgICAgICAgICAgICk7XG5cbiAgICAgICAgICAgICAgICB0aGlzLmhvb2tFdmVudChcbiAgICAgICAgICAgICAgICAgICAgZ3JpZHN0ZXJDb25maWcsXG4gICAgICAgICAgICAgICAgICAgIFwiaXRlbUNoYW5nZUNhbGxiYWNrXCIsXG4gICAgICAgICAgICAgICAgICAgIHRoaXMudXBkYXRlV2lkZ2V0UG9zaXRpb25cbiAgICAgICAgICAgICAgICApO1xuICAgICAgICAgICAgICAgIHRoaXMuaG9va0V2ZW50KFxuICAgICAgICAgICAgICAgICAgICBncmlkc3RlckNvbmZpZyxcbiAgICAgICAgICAgICAgICAgICAgXCJpdGVtUmVzaXplQ2FsbGJhY2tcIixcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5lbWl0V2lkZ2V0UmVzaXplXG4gICAgICAgICAgICAgICAgKTtcblxuICAgICAgICAgICAgICAgIHRoaXMuZ3JpZHN0ZXJDb25maWdDaGFuZ2UuZW1pdChncmlkc3RlckNvbmZpZyk7XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIGlmICh0aGlzLmdyaWRzdGVyQ29uZmlnPy5hcGkpIHtcbiAgICAgICAgICAgICAgICB0aGlzLmdyaWRzdGVyQ29uZmlnLmFwaS5vcHRpb25zQ2hhbmdlZD8uKCk7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cblxuICAgICAgICBpZiAoY2hhbmdlcy5lZGl0TW9kZSkge1xuICAgICAgICAgICAgaWYgKCF0aGlzLmdyaWRzdGVyQ29uZmlnLnJlc2l6YWJsZSkge1xuICAgICAgICAgICAgICAgIHRocm93IG5ldyBFcnJvcihgR3JpZHN0ZXIncyByZXNpemFibGUgcHJvcCBpcyB1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UX1JFU0laRSkubmV4dCh7XG4gICAgICAgICAgICB3aWRnZXRJZDogd2lkZ2V0SWQsXG4gICAgICAgICAgICBwYXlsb2FkOiB7XG4gICAgICAgICAgICAgICAgd2lkZ2V0SWQ6IHdpZGdldElkLFxuICAgICAgICAgICAgICAgIGhlaWdodDogaXRlbUNvbXBvbmVudC5oZWlnaHQsXG4gICAgICAgICAgICAgICAgd2lkdGg6IGl0ZW1Db21wb25lbnQud2lkdGgsXG4gICAgICAgICAgICB9LFxuICAgICAgICB9KTtcbiAgICB9O1xuXG4gICAgcHJpdmF0ZSBob29rRXZlbnQoXG4gICAgICAgIG9wdGlvbnM6IEdyaWRzdGVyQ29uZmlnLFxuICAgICAgICBldmVudE5hbWU6IHN0cmluZyxcbiAgICAgICAgaW52b2tlOiAoXG4gICAgICAgICAgICBpdGVtOiBHcmlkc3Rlckl0ZW0sXG4gICAgICAgICAgICBpdGVtQ29tcG9uZW50OiBHcmlkc3Rlckl0ZW1Db21wb25lbnRJbnRlcmZhY2VcbiAgICAgICAgKSA9PiB2b2lkXG4gICAgKSB7XG4gICAgICAgIGNvbnN0IHByZXZFdmVudCA9IG9wdGlvbnNbZXZlbnROYW1lXTtcbiAgICAgICAgb3B0aW9uc1tldmVudE5hbWVdID0gKFxuICAgICAgICAgICAgaXRlbTogR3JpZHN0ZXJJdGVtLFxuICAgICAgICAgICAgaXRlbUNvbXBvbmVudDogR3JpZHN0ZXJJdGVtQ29tcG9uZW50SW50ZXJmYWNlXG4gICAgICAgICkgPT4ge1xuICAgICAgICAgICAgaW52b2tlKGl0ZW0sIGl0ZW1Db21wb25lbnQpO1xuXG4gICAgICAgICAgICBpZiAocHJldkV2ZW50KSB7XG4gICAgICAgICAgICAgICAgcHJldkV2ZW50KGl0ZW0sIGl0ZW1Db21wb25lbnQpO1xuICAgICAgICAgICAgfVxuICAgICAgICB9O1xuICAgIH1cblxuICAgIHByaXZhdGUgY2FsY3VsYXRlV2lkZ2V0c1Zpc2liaWxpdHkoKTogdm9pZCB7XG4gICAgICAgIGlmICghdGhpcy5iZWxvd0ZvbGRMYXp5TG9hZGluZ0NvbmZpZz8uZW5hYmxlZCkge1xuICAgICAgICAgICAgcmV0dXJuO1xuICAgICAgICB9XG5cbiAgICAgICAgY29uc3QgZ3JpZHN0ZXJSZWN0OiBDbGllbnRSZWN0ID1cbiAgICAgICAgICAgIHRoaXMuZ3JpZHN0ZXIuZWwuZ2V0Qm91bmRpbmdDbGllbnRSZWN0KCk7XG5cbiAgICAgICAgdGhpcy5ncmlkc3Rlckl0ZW1zVmlzaWJpbGl0eU1hcCA9IHRoaXMuZ3JpZHN0ZXJJdGVtcy5yZWR1Y2UoXG4gICAgICAgICAgICAoYWNjOiBSZWNvcmQ8c3RyaW5nLCBib29sZWFuPiwgbmV4dCkgPT4ge1xuICAgICAgICAgICAgICAgIGNvbnN0IHsgZWwgfSA9IG5leHQ7XG4gICAgICAgICAgICAgICAgY29uc3QgaWR4OiBzdHJpbmcgPSAobmV4dCBhcyBhbnkpLndpZGdldElkO1xuXG4gICAgICAgICAgICAgICAgLy8gaWYgd2lkZ2V0IGlzIGFscmVhZHkgbG9hZGVkIGRvbid0IGhpZGUgaXRcbiAgICAgICAgICAgICAgICBpZiAoXG4gICAgICAgICAgICAgICAgICAgICF0aGlzLmJlbG93Rm9sZExhenlMb2FkaW5nQ29uZmlnLmNvbmZpZ3VyYXRpb25cbiAgICAgICAgICAgICAgICAgICAgICAgID8ucmVsb2FkV2lkZ2V0c09uU2Nyb2xsXG4gICAgICAgICAgICAgICAgKSB7XG4gICAgICAgICAgICAgICAgICAgIGNvbnN0IHByZXZWaXNpYmlsaXR5ID0gYWNjW2lkeF07XG4gICAgICAgICAgICAgICAgICAgIGlmIChwcmV2VmlzaWJpbGl0eSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGFjYztcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgIGNvbnN0IHJlY3Q6IENsaWVudFJlY3QgPSBlbC5nZXRCb3VuZGluZ0NsaWVudFJlY3QoKTtcblxuICAgICAgICAgICAgICAgIGNvbnN0IGdldEhlaWdodFZpc2liaWxpdHkgPSAoKSA9PlxuICAgICAgICAgICAgICAgICAgICAocmVjdC50b3AgPiBncmlkc3RlclJlY3QudG9wICYmXG4gICAgICAgICAgICAgICAgICAgICAgICByZWN0LnRvcCA8IGdyaWRzdGVyUmVjdC5ib3R0b20pIHx8XG4gICAgICAgICAgICAgICAgICAgIChyZWN0LmJvdHRvbSA+IGdyaWRzdGVyUmVjdC50b3AgJiZcbiAgICAgICAgICAgICAgICAgICAgICAgIHJlY3QuYm90dG9tIDwgZ3JpZHN0ZXJSZWN0LmJvdHRvbSk7XG5cbiAgICAgICAgICAgICAgICBjb25zdCBnZXRXaWR0aFZpc2liaWxpdHkgPSAoKSA9PlxuICAgICAgICAgICAgICAgICAgICAocmVjdC5sZWZ0ID4gZ3JpZHN0ZXJSZWN0LmxlZnQgJiZcbiAgICAgICAgICAgICAgICAgICAgICAgIHJlY3QubGVmdCA8IGdyaWRzdGVyUmVjdC5yaWdodCkgfHxcbiAgICAgICAgICAgICAgICAgICAgKHJlY3QucmlnaHQgPiBncmlkc3RlclJlY3QubGVmdCAmJlxuICAgICAgICAgICAgICAgICAgICAgICAgcmVjdC5yaWdodCA8IGdyaWRzdGVyUmVjdC5yaWdodCk7XG5cbiAgICAgICAgICAgICAgICBjb25zdCBpc1Zpc2libGUgPSBnZXRIZWlnaHRWaXNpYmlsaXR5KCkgJiYgZ2V0V2lkdGhWaXNpYmlsaXR5KCk7XG5cbiAgICAgICAgICAgICAgICBhY2NbaWR4XSA9IGlzVmlzaWJsZTtcblxuICAgICAgICAgICAgICAgIHJldHVybiBhY2M7XG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgdGhpcy5ncmlkc3Rlckl0ZW1zVmlzaWJpbGl0eU1hcFxuICAgICAgICApO1xuICAgIH1cbn1cbiIsIjx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yPlxuXG48bmctdGVtcGxhdGUgI2VtcHR5V2lkZ2V0VHBsPlxuICAgIDxkaXYgY2xhc3M9XCJ3LTEwMCBoLTEwMCBkLWJsb2NrXCI+XG4gICAgICAgIDxudWktbG9hZGluZyBbYWN0aXZlXT1cInRydWVcIj48L251aS1sb2FkaW5nPlxuICAgIDwvZGl2PlxuPC9uZy10ZW1wbGF0ZT5cbiJdfQ==
|
|
File without changes
|
|
File without changes
|
package/{esm2015/lib/components/dashboard/types.js → esm2020/lib/components/dashboard/types.mjs}
RENAMED
|
File without changes
|