@nova-ui/dashboards 11.13.0-3298 → 12.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/bundles/nova-ui-dashboards.umd.js +10309 -9635
- package/bundles/nova-ui-dashboards.umd.js.map +1 -1
- package/esm2015/lib/common/common.module.js +31 -19
- package/esm2015/lib/common/components/preview-overlay/preview-overlay.component.js +12 -8
- package/esm2015/lib/common/components/widget-error/widget-error.component.js +24 -19
- package/esm2015/lib/common/pipes/dashboard-unit-conversion-pipe.js +9 -8
- package/esm2015/lib/components/dashboard/dashboard.component.js +56 -31
- package/esm2015/lib/components/dashboard/public-api.js +2 -1
- package/esm2015/lib/components/dashboard/types.js +2 -0
- package/esm2015/lib/components/embedded-content/embedded-content.component.js +30 -21
- package/esm2015/lib/components/kpi-widget/kpi.component.js +41 -25
- package/esm2015/lib/components/layouts/base-layout.js +11 -13
- package/esm2015/lib/components/layouts/stack/stack.component.js +25 -19
- package/esm2015/lib/components/layouts/tiles/tiles.component.js +27 -24
- package/esm2015/lib/components/list-widget/list-elements/list-group-item/list-group-item.component.js +30 -24
- package/esm2015/lib/components/list-widget/list-elements/list-leaf-item/list-leaf-item.component.js +33 -24
- package/esm2015/lib/components/list-widget/list-elements/list-navigation-bar/list-navigation-bar.component.js +22 -18
- package/esm2015/lib/components/list-widget/list-widget.component.js +28 -21
- package/esm2015/lib/components/loading/loading.component.js +28 -22
- package/esm2015/lib/components/proportional-widget/proportional-donut-content/proportional-donut-content.component.js +25 -21
- package/esm2015/lib/components/proportional-widget/proportional-widget.component.js +45 -29
- package/esm2015/lib/components/proportional-widget/types.js +1 -1
- package/esm2015/lib/components/providers/data-source-adapter.js +17 -10
- package/esm2015/lib/components/providers/drilldown-data-source-adapter.js +10 -9
- package/esm2015/lib/components/providers/event-bus-debugger.js +11 -8
- package/esm2015/lib/components/providers/interaction/interaction-handler.js +11 -8
- package/esm2015/lib/components/providers/interaction/url-interaction-handler.js +15 -11
- package/esm2015/lib/components/providers/kpi-color-prioritizer.js +14 -10
- package/esm2015/lib/components/providers/kpi-data-source-adapter.js +12 -10
- package/esm2015/lib/components/providers/kpi-scale-sync-broker.js +12 -9
- package/esm2015/lib/components/providers/kpi-status-content-fallback-adapter.js +12 -9
- package/esm2015/lib/components/providers/loading-adapter.js +12 -9
- package/esm2015/lib/components/providers/pizzagna-broadcaster.service.js +8 -8
- package/esm2015/lib/components/providers/refresher-settings.service.js +9 -7
- package/esm2015/lib/components/providers/refresher.js +12 -10
- package/esm2015/lib/components/providers/status-content-fallback-adapter.js +12 -9
- package/esm2015/lib/components/providers/table-data-source-adapter.js +12 -10
- package/esm2015/lib/components/providers/timeseries-data-source-adapter.js +10 -9
- package/esm2015/lib/components/table-widget/addons/search-feature-addon.service.js +7 -4
- package/esm2015/lib/components/table-widget/addons/virtual-scroll-feature-addon.service.js +7 -4
- package/esm2015/lib/components/table-widget/delayed-mouse-presence-detection.directive.js +26 -14
- package/esm2015/lib/components/table-widget/table-widget.component.js +76 -48
- package/esm2015/lib/components/table-widget/types.js +1 -1
- package/esm2015/lib/components/template-load-error/template-load-error.component.js +13 -7
- package/esm2015/lib/components/time-frame-selection/timeframe-selection.component.js +35 -26
- package/esm2015/lib/components/timeseries-widget/chart-presets/status-bar-chart/status-bar-chart.component.js +24 -16
- package/esm2015/lib/components/timeseries-widget/chart-presets/timeseries-chart.component.js +14 -14
- package/esm2015/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/line-chart.component.js +24 -15
- package/esm2015/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-area-chart.component.js +24 -15
- package/esm2015/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-bar-chart.component.js +24 -15
- package/esm2015/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-percentage-area-chart.component.js +24 -15
- package/esm2015/lib/components/timeseries-widget/chart-presets/xy-chart/xy-chart.component.js +18 -12
- package/esm2015/lib/components/timeseries-widget/timeseries-chart-preset.service.js +9 -9
- package/esm2015/lib/components/timeseries-widget/timeseries-scales.service.js +8 -8
- package/esm2015/lib/components/timeseries-widget/timeseries-widget.component.js +25 -17
- package/esm2015/lib/components/timeseries-widget/types.js +1 -1
- package/esm2015/lib/components/types.js +1 -7
- package/esm2015/lib/components/widget/public-api.js +2 -1
- package/esm2015/lib/components/widget/types.js +2 -0
- package/esm2015/lib/components/widget/widget-body/widget-body.component.js +32 -22
- package/esm2015/lib/components/widget/widget-body-content/widget-body-content.component.js +29 -21
- package/esm2015/lib/components/widget/widget-header/widget-header.component.js +70 -39
- package/esm2015/lib/components/widget/widget.component.js +25 -21
- package/esm2015/lib/components/widget-search/widget-search.component.js +28 -19
- package/esm2015/lib/configurator/components/color-picker/color-picker.component.js +51 -34
- package/esm2015/lib/configurator/components/color-picker/color.service.js +7 -4
- package/esm2015/lib/configurator/components/configurator/configurator.component.js +38 -25
- package/esm2015/lib/configurator/components/drop-area/drop-area.component.js +12 -8
- package/esm2015/lib/configurator/components/form-stack/form-stack.component.js +36 -25
- package/esm2015/lib/configurator/components/formatters/donut-content-percentage-formatter/donut-content-percentage-configuration.component.js +15 -14
- package/esm2015/lib/configurator/components/formatters/donut-content-percentage-formatter/donut-content-percentage-formatter.component.js +23 -16
- package/esm2015/lib/configurator/components/formatters/donut-content-raw-formatter/donut-content-raw-formatter.component.js +28 -16
- package/esm2015/lib/configurator/components/formatters/donut-content-sum-formatter/donut-content-sum-formatter.component.js +12 -13
- package/esm2015/lib/configurator/components/formatters/icon-formatter/icon-formatter.component.js +22 -15
- package/esm2015/lib/configurator/components/formatters/link-formatter/link-formatter.component.js +18 -14
- package/esm2015/lib/configurator/components/formatters/percentage-formatter/percentage-formatter.component.js +14 -7
- package/esm2015/lib/configurator/components/formatters/raw-formatter/raw-formatter.component.js +19 -15
- package/esm2015/lib/configurator/components/formatters/si-units-formatter/si-units-formatter.component.js +25 -15
- package/esm2015/lib/configurator/components/formatters/status-with-icon-formatter/status-with-icon-formatter.component.js +35 -14
- package/esm2015/lib/configurator/components/formatters/widget-formatter-configurators/donut-formatter-configurator.component.js +15 -15
- package/esm2015/lib/configurator/components/heading/configurator-heading.component.js +20 -18
- package/esm2015/lib/configurator/components/items-dynamic/items-dynamic.component.js +36 -25
- package/esm2015/lib/configurator/components/preview-placeholder/preview-placeholder.component.js +12 -8
- package/esm2015/lib/configurator/components/types.js +1 -1
- package/esm2015/lib/configurator/components/widget-cloner/widget-cloner.component.js +27 -21
- package/esm2015/lib/configurator/components/widget-configurator-section/widget-configurator-section-coordinator.service.js +7 -4
- package/esm2015/lib/configurator/components/widget-configurator-section/widget-configurator-section.component.js +33 -26
- package/esm2015/lib/configurator/components/widget-editor/widget-editor.component.js +28 -21
- package/esm2015/lib/configurator/components/widget-editor-accordion/widget-editor-accordion.component.js +21 -19
- package/esm2015/lib/configurator/components/widgets/configurator-items/background-color-rules-configuration/background-color-rules-configuration.component.js +29 -20
- package/esm2015/lib/configurator/components/widgets/configurator-items/data-source-configuration/data-source-configuration.component.js +36 -26
- package/esm2015/lib/configurator/components/widgets/configurator-items/data-source-configuration-v2/data-source-configuration-v2.component.js +36 -26
- package/esm2015/lib/configurator/components/widgets/configurator-items/data-source-error/data-source-error.component.js +18 -16
- package/esm2015/lib/configurator/components/widgets/configurator-items/data-source-error/table/table-data-source-error.component.js +14 -12
- package/esm2015/lib/configurator/components/widgets/configurator-items/embedded-content-configuration/embedded-content-configuration.component.js +29 -20
- package/esm2015/lib/configurator/components/widgets/configurator-items/info-message-configuration/info-message-configuration.component.js +22 -18
- package/esm2015/lib/configurator/components/widgets/configurator-items/kpi-description-configuration/kpi-description-configuration.component.js +34 -23
- package/esm2015/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/refresh-rate-configurator.component.js +42 -29
- package/esm2015/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresher-configuration.component.js +37 -26
- package/esm2015/lib/configurator/components/widgets/configurator-items/thresholds-configuration/thresholds-configuration.component.js +29 -23
- package/esm2015/lib/configurator/components/widgets/configurator-items/timeseries-metadata-configuration/timeseries-metadata-configuration.component.js +39 -26
- package/esm2015/lib/configurator/components/widgets/configurator-items/title-and-description-configuration/title-and-description-configuration.component.js +32 -24
- package/esm2015/lib/configurator/components/widgets/drilldown/entity-formatting-configuration/entity-formatting-configuration.component.js +24 -19
- package/esm2015/lib/configurator/components/widgets/drilldown/grouping-configuration/grouping-configuration.component.js +28 -21
- package/esm2015/lib/configurator/components/widgets/kpi/kpi-tiles-configuration/kpi-tiles-configuration.component.js +28 -21
- package/esm2015/lib/configurator/components/widgets/proportional/aggregators-configurators/aggregator-configurator/aggregator-configurator.component.js +24 -20
- package/esm2015/lib/configurator/components/widgets/proportional/aggregators-configurators/field-mapper-aggregator-configurator/field-mapper-aggregator-configurator.component.js +20 -18
- package/esm2015/lib/configurator/components/widgets/proportional/chart-options-editor/proportional-chart-options-editor.component.js +40 -26
- package/esm2015/lib/configurator/components/widgets/proportional/chart-options-editor-v2/proportional-chart-options-editor-v2.component.js +33 -24
- package/esm2015/lib/configurator/components/widgets/proportional/donut-content-configuration/donut-content-configuration.component.js +34 -23
- package/esm2015/lib/configurator/components/widgets/table/columns-editor/column-configuration/description-configuration/description-configuration.component.js +31 -22
- package/esm2015/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/formatter-configurator.component.js +20 -18
- package/esm2015/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/link-configurator/link-configurator.component.js +15 -14
- package/esm2015/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/value-selector/value-selector.component.js +15 -14
- package/esm2015/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/presentation-configuration.component.js +41 -26
- package/esm2015/lib/configurator/components/widgets/table/columns-editor/table-columns-configuration.component.js +32 -24
- package/esm2015/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/description-configuration/description-configuration-v2.component.js +46 -30
- package/esm2015/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/presentation-configuration/presentation-configuration-v2.component.js +62 -37
- package/esm2015/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/table-column-configuration/table-column-configuration.component.js +41 -28
- package/esm2015/lib/configurator/components/widgets/table/columns-editor-v2/table-columns-configuration-v2.component.js +36 -26
- package/esm2015/lib/configurator/components/widgets/table/filters-editor/table-filters-editor.component.js +24 -20
- package/esm2015/lib/configurator/components/widgets/timeseries/timeseries-series-collection-configuration/timeseries-series-collection-configuration.component.js +33 -23
- package/esm2015/lib/configurator/components/widgets/timeseries/timeseries-tile-description-configuration/timeseries-tile-description-configuration.component.js +25 -19
- package/esm2015/lib/configurator/components/widgets/timeseries/timeseries-tile-indicator-data-configuration/timeseries-tile-indicator-data-configuration.component.js +34 -24
- package/esm2015/lib/configurator/components/wizard/dashwiz/dashwiz-buttons.component.js +74 -25
- package/esm2015/lib/configurator/components/wizard/dashwiz/dashwiz.component.js +51 -33
- package/esm2015/lib/configurator/components/wizard/dashwiz/dashwiz.service.js +9 -9
- package/esm2015/lib/configurator/components/wizard/dashwiz/model.js +2 -0
- package/esm2015/lib/configurator/components/wizard/dashwiz/public-api.js +2 -1
- package/esm2015/lib/configurator/components/wizard/dashwiz-step/dashwiz-step.component.js +37 -23
- package/esm2015/lib/configurator/configurator.module.js +252 -57
- package/esm2015/lib/configurator/pipe/add-data.pipe.js +8 -4
- package/esm2015/lib/configurator/pipe/pizzagna-root.pipe.js +12 -11
- package/esm2015/lib/configurator/pipe/widget-configurator-section-header.pipe.js +10 -6
- package/esm2015/lib/configurator/pipe/widget-editor-accordion-form-state.pipe.js +11 -7
- package/esm2015/lib/configurator/pipe/widget-editor-accordion-header-icon.pipe.js +11 -7
- package/esm2015/lib/configurator/services/configurator-data-source-manager.service.js +12 -9
- package/esm2015/lib/configurator/services/configurator-heading.service.js +7 -4
- package/esm2015/lib/configurator/services/configurator.service.js +12 -14
- package/esm2015/lib/configurator/services/converters/base-converter.js +13 -10
- package/esm2015/lib/configurator/services/converters/kpi/kpi-section-converter/kpi-section-converter.service.js +13 -10
- package/esm2015/lib/configurator/services/converters/kpi/kpi-tiles-converter.service.js +13 -10
- package/esm2015/lib/configurator/services/converters/proportional/proportional-widget-chart-options-converter.service.js +14 -11
- package/esm2015/lib/configurator/services/converters/shared/generic-array-converter/generic-array-converter.service.js +13 -10
- package/esm2015/lib/configurator/services/converters/shared/generic-converter/generic-converter.service.js +13 -10
- package/esm2015/lib/configurator/services/converters/shared/title-and-description-converter/title-and-description-converter.service.js +13 -10
- package/esm2015/lib/configurator/services/converters/table/table-columns-converter.service.js +13 -10
- package/esm2015/lib/configurator/services/converters/table/table-filters-converter.service.js +13 -10
- package/esm2015/lib/configurator/services/converters/timeseries/timeseries-metadata-converter.service.js +13 -11
- package/esm2015/lib/configurator/services/converters/timeseries/timeseries-series-converter.service.js +13 -10
- package/esm2015/lib/configurator/services/converters/timeseries/timeseries-tile-indicator-data-converter.service.js +13 -10
- package/esm2015/lib/configurator/services/kpi-widget-color.service.js +7 -4
- package/esm2015/lib/configurator/services/preview.service.js +7 -4
- package/esm2015/lib/configurator/services/timeframe-serialization.service.js +9 -7
- package/esm2015/lib/configurator/services/types.js +1 -1
- package/esm2015/lib/configurator/services/widget-cloner.service.js +9 -9
- package/esm2015/lib/configurator/services/widget-editor.service.js +9 -9
- package/esm2015/lib/constants/default-palette.js +3 -5
- package/esm2015/lib/dashboards.module.js +155 -46
- package/esm2015/lib/directives/gridster-item-widget-id/gridster-item-widget-id.directive.js +17 -13
- package/esm2015/lib/directives/widget-editor/widget-editor.directive.js +21 -16
- package/esm2015/lib/functions/parse-string-with-data.js +0 -2
- package/esm2015/lib/functions/proportional-aggregators/percentage-aggregator.js +1 -1
- package/esm2015/lib/pizzagna/components/pizzagna/pizzagna.component.js +44 -28
- package/esm2015/lib/pizzagna/directives/component-portal/component-portal.directive.js +26 -23
- package/esm2015/lib/pizzagna/pizzagna.module.js +30 -18
- package/esm2015/lib/pizzagna/services/component-portal.service.js +9 -12
- package/esm2015/lib/pizzagna/services/component-registry.service.js +9 -11
- package/esm2015/lib/pizzagna/services/dynamic-component-creator.service.js +7 -4
- package/esm2015/lib/pizzagna/services/pizzagna.service.js +12 -9
- package/esm2015/lib/services/category-chart-util.service.js +7 -4
- package/esm2015/lib/services/event-registry.service.js +9 -7
- package/esm2015/lib/services/kpi-color-comparators-registry.service.js +12 -14
- package/esm2015/lib/services/proportional-content-aggregators-registry.service.js +7 -9
- package/esm2015/lib/services/provider-registry.service.js +7 -9
- package/esm2015/lib/services/registry-service.js +8 -9
- package/esm2015/lib/services/table-formatter-registry.service.js +25 -33
- package/esm2015/lib/services/widget-configuration.service.js +7 -4
- package/esm2015/lib/services/widget-removal.service.js +7 -9
- package/esm2015/lib/services/widget-to-dashboard-event-proxy.service.js +21 -12
- package/esm2015/lib/services/widget-types.service.js +7 -6
- package/esm2015/lib/types.js +1 -1
- package/esm2015/lib/widget-types/common/widget/components.js +1 -1
- package/esm2015/lib/widget-types/common/widget/legend.js +7 -0
- package/esm2015/lib/widget-types/common/widget/public-api.js +2 -1
- package/esm2015/lib/widget-types/drilldown/drilldown.js +1 -1
- package/esm2015/lib/widget-types/embedded-content/embedded-content.js +1 -1
- package/esm2015/lib/widget-types/kpi/kpi.js +1 -1
- package/esm2015/lib/widget-types/preview-placeholder.js +1 -1
- package/esm2015/lib/widget-types/proportional/donut-content-configurator-slice.js +6 -2
- package/esm2015/lib/widget-types/proportional/proportional-configurator.js +2 -2
- package/esm2015/lib/widget-types/proportional/proportional.js +1 -1
- package/esm2015/lib/widget-types/table/default-table-formatters.js +30 -0
- package/esm2015/lib/widget-types/table/table-configurator.js +3 -30
- package/esm2015/lib/widget-types/table/table-widget.js +2 -2
- package/esm2015/lib/widget-types/table/table.js +1 -1
- package/esm2015/lib/widget-types/timeseries/timeseries-configurator.js +2 -2
- package/esm2015/lib/widget-types/timeseries/timeseries.js +1 -1
- package/esm2015/nova-ui-dashboards.js +1 -12
- package/fesm2015/nova-ui-dashboards.js +10395 -9723
- package/fesm2015/nova-ui-dashboards.js.map +1 -1
- package/lib/common/common.module.d.ts +9 -0
- package/lib/common/components/preview-overlay/preview-overlay.component.d.ts +3 -0
- package/lib/common/components/widget-error/widget-error.component.d.ts +5 -1
- package/lib/common/pipes/dashboard-unit-conversion-pipe.d.ts +3 -0
- package/lib/components/dashboard/dashboard.component.d.ts +5 -1
- package/lib/components/dashboard/public-api.d.ts +1 -0
- package/lib/components/dashboard/types.d.ts +17 -0
- package/lib/components/embedded-content/embedded-content.component.d.ts +3 -0
- package/lib/components/kpi-widget/kpi.component.d.ts +3 -0
- package/lib/components/layouts/base-layout.d.ts +3 -0
- package/lib/components/layouts/stack/stack.component.d.ts +3 -0
- package/lib/components/layouts/tiles/tiles.component.d.ts +3 -0
- package/lib/components/list-widget/list-elements/list-group-item/list-group-item.component.d.ts +3 -0
- package/lib/components/list-widget/list-elements/list-leaf-item/list-leaf-item.component.d.ts +3 -0
- package/lib/components/list-widget/list-elements/list-navigation-bar/list-navigation-bar.component.d.ts +3 -0
- package/lib/components/list-widget/list-widget.component.d.ts +3 -0
- package/lib/components/loading/loading.component.d.ts +3 -0
- package/lib/components/proportional-widget/proportional-donut-content/proportional-donut-content.component.d.ts +3 -0
- package/lib/components/proportional-widget/proportional-widget.component.d.ts +3 -0
- package/lib/components/proportional-widget/types.d.ts +2 -2
- package/lib/components/providers/data-source-adapter.d.ts +3 -0
- package/lib/components/providers/event-bus-debugger.d.ts +3 -0
- package/lib/components/providers/interaction/interaction-handler.d.ts +3 -0
- package/lib/components/providers/interaction/url-interaction-handler.d.ts +3 -0
- package/lib/components/providers/kpi-color-prioritizer.d.ts +3 -0
- package/lib/components/providers/kpi-scale-sync-broker.d.ts +3 -0
- package/lib/components/providers/kpi-status-content-fallback-adapter.d.ts +3 -0
- package/lib/components/providers/loading-adapter.d.ts +3 -0
- package/lib/components/providers/pizzagna-broadcaster.service.d.ts +3 -0
- package/lib/components/providers/refresher-settings.service.d.ts +3 -0
- package/lib/components/providers/refresher.d.ts +3 -0
- package/lib/components/providers/status-content-fallback-adapter.d.ts +3 -0
- package/lib/components/table-widget/addons/search-feature-addon.service.d.ts +3 -0
- package/lib/components/table-widget/addons/virtual-scroll-feature-addon.service.d.ts +3 -0
- package/lib/components/table-widget/delayed-mouse-presence-detection.directive.d.ts +3 -0
- package/lib/components/table-widget/table-widget.component.d.ts +3 -0
- package/lib/components/table-widget/types.d.ts +1 -1
- package/lib/components/template-load-error/template-load-error.component.d.ts +3 -0
- package/lib/components/time-frame-selection/timeframe-selection.component.d.ts +3 -0
- package/lib/components/timeseries-widget/chart-presets/status-bar-chart/status-bar-chart.component.d.ts +3 -0
- package/lib/components/timeseries-widget/chart-presets/timeseries-chart.component.d.ts +3 -0
- package/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/line-chart.component.d.ts +3 -0
- package/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-area-chart.component.d.ts +3 -0
- package/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-bar-chart.component.d.ts +3 -0
- package/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-percentage-area-chart.component.d.ts +3 -0
- package/lib/components/timeseries-widget/chart-presets/xy-chart/xy-chart.component.d.ts +3 -0
- package/lib/components/timeseries-widget/timeseries-chart-preset.service.d.ts +3 -0
- package/lib/components/timeseries-widget/timeseries-scales.service.d.ts +3 -0
- package/lib/components/timeseries-widget/timeseries-widget.component.d.ts +3 -0
- package/lib/components/timeseries-widget/types.d.ts +1 -1
- package/lib/components/types.d.ts +0 -5
- package/lib/components/widget/public-api.d.ts +1 -0
- package/lib/components/widget/types.d.ts +37 -0
- package/lib/components/widget/widget-body/widget-body.component.d.ts +3 -0
- package/lib/components/widget/widget-body-content/widget-body-content.component.d.ts +3 -0
- package/lib/components/widget/widget-header/widget-header.component.d.ts +3 -0
- package/lib/components/widget/widget.component.d.ts +5 -1
- package/lib/components/widget-search/widget-search.component.d.ts +3 -0
- package/lib/configurator/components/color-picker/color-picker.component.d.ts +3 -0
- package/lib/configurator/components/color-picker/color.service.d.ts +3 -0
- package/lib/configurator/components/configurator/configurator.component.d.ts +5 -1
- package/lib/configurator/components/drop-area/drop-area.component.d.ts +3 -0
- package/lib/configurator/components/form-stack/form-stack.component.d.ts +3 -0
- package/lib/configurator/components/formatters/donut-content-percentage-formatter/donut-content-percentage-configuration.component.d.ts +3 -0
- package/lib/configurator/components/formatters/donut-content-percentage-formatter/donut-content-percentage-formatter.component.d.ts +3 -0
- package/lib/configurator/components/formatters/donut-content-raw-formatter/donut-content-raw-formatter.component.d.ts +3 -0
- package/lib/configurator/components/formatters/donut-content-sum-formatter/donut-content-sum-formatter.component.d.ts +3 -0
- package/lib/configurator/components/formatters/icon-formatter/icon-formatter.component.d.ts +3 -0
- package/lib/configurator/components/formatters/link-formatter/link-formatter.component.d.ts +3 -0
- package/lib/configurator/components/formatters/percentage-formatter/percentage-formatter.component.d.ts +3 -0
- package/lib/configurator/components/formatters/raw-formatter/raw-formatter.component.d.ts +3 -0
- package/lib/configurator/components/formatters/si-units-formatter/si-units-formatter.component.d.ts +3 -0
- package/lib/configurator/components/formatters/status-with-icon-formatter/status-with-icon-formatter.component.d.ts +3 -0
- package/lib/configurator/components/formatters/widget-formatter-configurators/donut-formatter-configurator.component.d.ts +3 -0
- package/lib/configurator/components/heading/configurator-heading.component.d.ts +3 -0
- package/lib/configurator/components/items-dynamic/items-dynamic.component.d.ts +3 -0
- package/lib/configurator/components/preview-placeholder/preview-placeholder.component.d.ts +3 -0
- package/lib/configurator/components/types.d.ts +1 -1
- package/lib/configurator/components/widget-cloner/widget-cloner.component.d.ts +5 -1
- package/lib/configurator/components/widget-configurator-section/widget-configurator-section-coordinator.service.d.ts +3 -0
- package/lib/configurator/components/widget-configurator-section/widget-configurator-section.component.d.ts +3 -0
- package/lib/configurator/components/widget-editor/widget-editor.component.d.ts +3 -0
- package/lib/configurator/components/widget-editor-accordion/widget-editor-accordion.component.d.ts +3 -0
- package/lib/configurator/components/widgets/configurator-items/background-color-rules-configuration/background-color-rules-configuration.component.d.ts +3 -0
- package/lib/configurator/components/widgets/configurator-items/data-source-configuration/data-source-configuration.component.d.ts +3 -0
- package/lib/configurator/components/widgets/configurator-items/data-source-configuration-v2/data-source-configuration-v2.component.d.ts +3 -0
- package/lib/configurator/components/widgets/configurator-items/data-source-error/data-source-error.component.d.ts +3 -0
- package/lib/configurator/components/widgets/configurator-items/data-source-error/table/table-data-source-error.component.d.ts +3 -0
- package/lib/configurator/components/widgets/configurator-items/embedded-content-configuration/embedded-content-configuration.component.d.ts +3 -0
- package/lib/configurator/components/widgets/configurator-items/info-message-configuration/info-message-configuration.component.d.ts +3 -0
- package/lib/configurator/components/widgets/configurator-items/kpi-description-configuration/kpi-description-configuration.component.d.ts +3 -0
- package/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/refresh-rate-configurator.component.d.ts +3 -0
- package/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresher-configuration.component.d.ts +3 -0
- package/lib/configurator/components/widgets/configurator-items/thresholds-configuration/thresholds-configuration.component.d.ts +3 -0
- package/lib/configurator/components/widgets/configurator-items/timeseries-metadata-configuration/timeseries-metadata-configuration.component.d.ts +4 -1
- package/lib/configurator/components/widgets/configurator-items/title-and-description-configuration/title-and-description-configuration.component.d.ts +3 -0
- package/lib/configurator/components/widgets/drilldown/entity-formatting-configuration/entity-formatting-configuration.component.d.ts +3 -0
- package/lib/configurator/components/widgets/drilldown/grouping-configuration/grouping-configuration.component.d.ts +3 -0
- package/lib/configurator/components/widgets/kpi/kpi-tiles-configuration/kpi-tiles-configuration.component.d.ts +3 -0
- package/lib/configurator/components/widgets/proportional/aggregators-configurators/aggregator-configurator/aggregator-configurator.component.d.ts +3 -0
- package/lib/configurator/components/widgets/proportional/aggregators-configurators/field-mapper-aggregator-configurator/field-mapper-aggregator-configurator.component.d.ts +3 -0
- package/lib/configurator/components/widgets/proportional/chart-options-editor/proportional-chart-options-editor.component.d.ts +5 -1
- package/lib/configurator/components/widgets/proportional/chart-options-editor-v2/proportional-chart-options-editor-v2.component.d.ts +5 -1
- package/lib/configurator/components/widgets/proportional/donut-content-configuration/donut-content-configuration.component.d.ts +3 -0
- package/lib/configurator/components/widgets/table/columns-editor/column-configuration/description-configuration/description-configuration.component.d.ts +3 -0
- package/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/formatter-configurator.component.d.ts +3 -0
- package/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/link-configurator/link-configurator.component.d.ts +3 -0
- package/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/value-selector/value-selector.component.d.ts +3 -0
- package/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/presentation-configuration.component.d.ts +3 -0
- package/lib/configurator/components/widgets/table/columns-editor/table-columns-configuration.component.d.ts +3 -0
- package/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/description-configuration/description-configuration-v2.component.d.ts +3 -0
- package/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/presentation-configuration/presentation-configuration-v2.component.d.ts +3 -0
- package/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/table-column-configuration/table-column-configuration.component.d.ts +3 -0
- package/lib/configurator/components/widgets/table/columns-editor-v2/table-columns-configuration-v2.component.d.ts +3 -0
- package/lib/configurator/components/widgets/table/filters-editor/table-filters-editor.component.d.ts +3 -0
- package/lib/configurator/components/widgets/timeseries/timeseries-series-collection-configuration/timeseries-series-collection-configuration.component.d.ts +3 -0
- package/lib/configurator/components/widgets/timeseries/timeseries-tile-description-configuration/timeseries-tile-description-configuration.component.d.ts +3 -0
- package/lib/configurator/components/widgets/timeseries/timeseries-tile-indicator-data-configuration/timeseries-tile-indicator-data-configuration.component.d.ts +3 -0
- package/lib/configurator/components/wizard/dashwiz/dashwiz-buttons.component.d.ts +3 -0
- package/lib/configurator/components/wizard/dashwiz/dashwiz.component.d.ts +5 -1
- package/lib/configurator/components/wizard/dashwiz/dashwiz.service.d.ts +5 -2
- package/lib/configurator/components/wizard/dashwiz/model.d.ts +81 -0
- package/lib/configurator/components/wizard/dashwiz/public-api.d.ts +1 -0
- package/lib/configurator/components/wizard/dashwiz-step/dashwiz-step.component.d.ts +3 -0
- package/lib/configurator/configurator.module.d.ts +75 -0
- package/lib/configurator/pipe/add-data.pipe.d.ts +3 -0
- package/lib/configurator/pipe/pizzagna-root.pipe.d.ts +4 -1
- package/lib/configurator/pipe/widget-configurator-section-header.pipe.d.ts +3 -0
- package/lib/configurator/pipe/widget-editor-accordion-form-state.pipe.d.ts +3 -0
- package/lib/configurator/pipe/widget-editor-accordion-header-icon.pipe.d.ts +3 -0
- package/lib/configurator/services/configurator-data-source-manager.service.d.ts +3 -0
- package/lib/configurator/services/configurator-heading.service.d.ts +3 -0
- package/lib/configurator/services/configurator.service.d.ts +5 -1
- package/lib/configurator/services/converters/base-converter.d.ts +3 -0
- package/lib/configurator/services/converters/kpi/kpi-section-converter/kpi-section-converter.service.d.ts +3 -0
- package/lib/configurator/services/converters/kpi/kpi-tiles-converter.service.d.ts +3 -0
- package/lib/configurator/services/converters/proportional/proportional-widget-chart-options-converter.service.d.ts +3 -0
- package/lib/configurator/services/converters/shared/generic-array-converter/generic-array-converter.service.d.ts +3 -0
- package/lib/configurator/services/converters/shared/generic-converter/generic-converter.service.d.ts +3 -0
- package/lib/configurator/services/converters/shared/title-and-description-converter/title-and-description-converter.service.d.ts +3 -0
- package/lib/configurator/services/converters/table/table-columns-converter.service.d.ts +3 -0
- package/lib/configurator/services/converters/table/table-filters-converter.service.d.ts +3 -0
- package/lib/configurator/services/converters/timeseries/timeseries-metadata-converter.service.d.ts +3 -0
- package/lib/configurator/services/converters/timeseries/timeseries-series-converter.service.d.ts +3 -0
- package/lib/configurator/services/converters/timeseries/timeseries-tile-indicator-data-converter.service.d.ts +3 -0
- package/lib/configurator/services/kpi-widget-color.service.d.ts +3 -0
- package/lib/configurator/services/preview.service.d.ts +3 -0
- package/lib/configurator/services/timeframe-serialization.service.d.ts +3 -0
- package/lib/configurator/services/types.d.ts +5 -1
- package/lib/configurator/services/widget-cloner.service.d.ts +3 -0
- package/lib/configurator/services/widget-editor.service.d.ts +3 -0
- package/lib/dashboards.module.d.ts +41 -0
- package/lib/directives/gridster-item-widget-id/gridster-item-widget-id.directive.d.ts +3 -0
- package/lib/directives/widget-editor/widget-editor.directive.d.ts +4 -1
- package/lib/pizzagna/components/pizzagna/pizzagna.component.d.ts +3 -0
- package/lib/pizzagna/directives/component-portal/component-portal.directive.d.ts +3 -0
- package/lib/pizzagna/pizzagna.module.d.ts +8 -0
- package/lib/pizzagna/services/component-portal.service.d.ts +3 -0
- package/lib/pizzagna/services/component-registry.service.d.ts +3 -0
- package/lib/pizzagna/services/dynamic-component-creator.service.d.ts +3 -0
- package/lib/pizzagna/services/pizzagna.service.d.ts +3 -0
- package/lib/services/category-chart-util.service.d.ts +3 -0
- package/lib/services/event-registry.service.d.ts +3 -0
- package/lib/services/kpi-color-comparators-registry.service.d.ts +3 -0
- package/lib/services/proportional-content-aggregators-registry.service.d.ts +3 -0
- package/lib/services/provider-registry.service.d.ts +3 -0
- package/lib/services/registry-service.d.ts +3 -0
- package/lib/services/table-formatter-registry.service.d.ts +9 -0
- package/lib/services/widget-configuration.service.d.ts +4 -1
- package/lib/services/widget-removal.service.d.ts +4 -1
- package/lib/services/widget-to-dashboard-event-proxy.service.d.ts +3 -0
- package/lib/services/widget-types.service.d.ts +4 -1
- package/lib/types.d.ts +0 -60
- package/lib/widget-types/common/widget/legend.d.ts +9 -0
- package/lib/widget-types/common/widget/public-api.d.ts +1 -0
- package/lib/widget-types/drilldown/drilldown-configurator.d.ts +1 -1
- package/lib/widget-types/drilldown/drilldown.d.ts +1 -1
- package/lib/widget-types/embedded-content/embedded-content-configurator.d.ts +1 -1
- package/lib/widget-types/embedded-content/embedded-content-widget.d.ts +0 -1
- package/lib/widget-types/embedded-content/embedded-content.d.ts +1 -1
- package/lib/widget-types/kpi/kpi-configurator.d.ts +1 -1
- package/lib/widget-types/kpi/kpi-widget.d.ts +1 -1
- package/lib/widget-types/kpi/kpi.d.ts +1 -1
- package/lib/widget-types/preview-placeholder.d.ts +1 -1
- package/lib/widget-types/proportional/donut-content-configurator-slice.d.ts +1 -1
- package/lib/widget-types/proportional/proportional-configurator.d.ts +2 -1
- package/lib/widget-types/proportional/proportional-widget.d.ts +0 -1
- package/lib/widget-types/proportional/proportional.d.ts +1 -1
- package/lib/widget-types/table/default-table-formatters.d.ts +2 -0
- package/lib/widget-types/table/table-configurator.d.ts +0 -2
- package/lib/widget-types/table/table.d.ts +1 -1
- package/lib/widget-types/timeseries/timeseries-widget.d.ts +1 -1
- package/lib/widget-types/timeseries/timeseries.d.ts +1 -1
- package/nova-ui-dashboards.d.ts +1 -11
- package/package.json +10 -11
- package/sdk/atoms/spec/configurator/configurator-section.atom.js.map +1 -1
- package/sdk/atoms/spec/configurator/configurator.atom.js.map +1 -1
- package/sdk/atoms/spec/dashboard.atom.js.map +1 -1
- package/sdk/atoms/spec/test.po.js.map +1 -1
- package/sdk/atoms/spec/virtual-dashboards/drilldown-widget-test/drilldown-widget-test.component.js.map +1 -1
- package/sdk/atoms/src/lib/common/components/widget-error/widget-error.component.d.ts +2 -1
- 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.map +1 -1
- package/sdk/atoms/src/lib/components/dashboard/dashboard.component.d.ts +2 -1
- package/sdk/atoms/src/lib/components/dashboard/dashboard.component.js +2 -1
- package/sdk/atoms/src/lib/components/dashboard/dashboard.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/dashboard/public-api.d.ts +1 -0
- package/sdk/atoms/src/lib/components/dashboard/public-api.js +1 -0
- package/sdk/atoms/src/lib/components/dashboard/public-api.js.map +1 -1
- package/sdk/atoms/src/lib/components/dashboard/types.d.ts +17 -0
- package/sdk/atoms/src/lib/components/dashboard/types.js +3 -0
- package/sdk/atoms/src/lib/components/dashboard/types.js.map +1 -0
- package/sdk/atoms/src/lib/components/embedded-content/embedded-content.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/kpi-widget/kpi.component.js +4 -2
- package/sdk/atoms/src/lib/components/kpi-widget/kpi.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/layouts/base-layout.js.map +1 -1
- package/sdk/atoms/src/lib/components/layouts/tiles/tiles.component.js +1 -2
- 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-navigation-bar/list-navigation-bar.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/list-widget/list-widget.component.js.map +1 -1
- 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 -13
- package/sdk/atoms/src/lib/components/proportional-widget/proportional-widget.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/proportional-widget/types.d.ts +2 -2
- package/sdk/atoms/src/lib/components/providers/data-source-adapter.js +2 -1
- package/sdk/atoms/src/lib/components/providers/data-source-adapter.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/drilldown-data-source-adapter.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/interaction/interaction-handler.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/interaction/url-interaction-handler.js +1 -1
- package/sdk/atoms/src/lib/components/providers/interaction/url-interaction-handler.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/kpi-color-prioritizer.js +2 -1
- package/sdk/atoms/src/lib/components/providers/kpi-color-prioritizer.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/kpi-data-source-adapter.js +2 -1
- package/sdk/atoms/src/lib/components/providers/kpi-data-source-adapter.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/kpi-scale-sync-broker.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/kpi-status-content-fallback-adapter.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/pizzagna-broadcaster.service.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/refresher.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/status-content-fallback-adapter.js.map +1 -1
- 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.map +1 -1
- package/sdk/atoms/src/lib/components/table-widget/addons/search-feature-addon.service.js.map +1 -1
- package/sdk/atoms/src/lib/components/table-widget/addons/virtual-scroll-feature-addon.service.js.map +1 -1
- package/sdk/atoms/src/lib/components/table-widget/table-widget.component.js +6 -4
- package/sdk/atoms/src/lib/components/table-widget/table-widget.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/table-widget/types.d.ts +1 -1
- package/sdk/atoms/src/lib/components/time-frame-selection/timeframe-selection.component.js +2 -1
- 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/status-bar-chart.component.js +2 -1
- 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 +2 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/timeseries-chart.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/line-chart.component.js +2 -1
- 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 +2 -1
- 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 +2 -1
- 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 +2 -1
- 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 +16 -15
- 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-scales.service.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-widget.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/types.d.ts +1 -1
- package/sdk/atoms/src/lib/components/types.d.ts +0 -5
- package/sdk/atoms/src/lib/components/types.js +1 -7
- package/sdk/atoms/src/lib/components/types.js.map +1 -1
- package/sdk/atoms/src/lib/components/widget/public-api.d.ts +1 -0
- package/sdk/atoms/src/lib/components/widget/public-api.js +1 -0
- package/sdk/atoms/src/lib/components/widget/public-api.js.map +1 -1
- package/sdk/atoms/src/lib/components/widget/types.d.ts +37 -0
- package/sdk/atoms/src/lib/components/widget/types.js +3 -0
- package/sdk/atoms/src/lib/components/widget/types.js.map +1 -0
- package/sdk/atoms/src/lib/components/widget/widget-header/widget-header.component.js +2 -1
- 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.d.ts +2 -1
- package/sdk/atoms/src/lib/components/widget/widget.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/widget-search/widget-search.component.js +2 -1
- 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.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/configurator/configurator.component.d.ts +2 -1
- package/sdk/atoms/src/lib/configurator/components/configurator/configurator.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/formatters/donut-content-percentage-formatter/donut-content-percentage-formatter.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/formatters/icon-formatter/icon-formatter.component.js.map +1 -1
- 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/widget-formatter-configurators/donut-formatter-configurator.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/items-dynamic/items-dynamic.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/types.d.ts +1 -1
- package/sdk/atoms/src/lib/configurator/components/widget-cloner/widget-cloner.component.d.ts +2 -1
- package/sdk/atoms/src/lib/configurator/components/widget-cloner/widget-cloner.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widget-editor/widget-editor.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.map +1 -1
- 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.map +1 -1
- 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/embedded-content-configuration/embedded-content-configuration.component.js.map +1 -1
- 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.map +1 -1
- 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.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/timeseries-metadata-configuration/timeseries-metadata-configuration.component.d.ts +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/timeseries-metadata-configuration/timeseries-metadata-configuration.component.js +6 -6
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/timeseries-metadata-configuration/timeseries-metadata-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/title-and-description-configuration/title-and-description-configuration.component.js +1 -1
- 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/grouping-configuration/grouping-configuration.component.js.map +1 -1
- 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.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/proportional/chart-options-editor/proportional-chart-options-editor.component.d.ts +2 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/proportional/chart-options-editor/proportional-chart-options-editor.component.js +3 -2
- 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.d.ts +2 -1
- 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.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/column-configuration/description-configuration/description-configuration.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/formatter-configurator.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/presentation-configuration.component.js +2 -1
- 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.map +1 -1
- 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 +4 -3
- 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.map +1 -1
- 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.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/timeseries/timeseries-series-collection-configuration/timeseries-series-collection-configuration.component.js +2 -1
- 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/wizard/dashwiz/dashwiz.component.d.ts +2 -1
- 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.d.ts +2 -2
- package/sdk/atoms/src/lib/configurator/components/wizard/dashwiz/model.d.ts +81 -0
- package/sdk/atoms/src/lib/configurator/components/wizard/dashwiz/model.js +3 -0
- package/sdk/atoms/src/lib/configurator/components/wizard/dashwiz/model.js.map +1 -0
- package/sdk/atoms/src/lib/configurator/components/wizard/dashwiz/public-api.d.ts +1 -0
- package/sdk/atoms/src/lib/configurator/components/wizard/dashwiz/public-api.js +1 -0
- package/sdk/atoms/src/lib/configurator/components/wizard/dashwiz/public-api.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/pipe/pizzagna-root.pipe.d.ts +1 -1
- package/sdk/atoms/src/lib/configurator/pipe/pizzagna-root.pipe.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/configurator-data-source-manager.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/configurator.service.d.ts +2 -1
- package/sdk/atoms/src/lib/configurator/services/configurator.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/kpi/kpi-tiles-converter.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/proportional/proportional-widget-chart-options-converter.service.js +5 -5
- 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/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.map +1 -1
- 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-series-converter.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/types.d.ts +5 -1
- package/sdk/atoms/src/lib/configurator/services/widget-editor.service.js.map +1 -1
- package/sdk/atoms/src/lib/directives/gridster-item-widget-id/gridster-item-widget-id.directive.js +2 -1
- 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.d.ts +1 -1
- package/sdk/atoms/src/lib/directives/widget-editor/widget-editor.directive.js +2 -1
- package/sdk/atoms/src/lib/directives/widget-editor/widget-editor.directive.js.map +1 -1
- package/sdk/atoms/src/lib/functions/proportional-aggregators/percentage-aggregator.js.map +1 -1
- package/sdk/atoms/src/lib/pizzagna/services/pizzagna.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/category-chart-util.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/widget-configuration.service.d.ts +1 -1
- package/sdk/atoms/src/lib/services/widget-removal.service.d.ts +1 -1
- package/sdk/atoms/src/lib/services/widget-to-dashboard-event-proxy.service.js +2 -1
- package/sdk/atoms/src/lib/services/widget-to-dashboard-event-proxy.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/widget-types.service.d.ts +1 -1
- package/sdk/atoms/src/lib/services/widget-types.service.js.map +1 -1
- package/sdk/atoms/src/lib/types.d.ts +0 -60
- package/sdk/atoms/src/lib/types.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/common/widget/components.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/common/widget/legend.d.ts +9 -0
- package/sdk/atoms/src/lib/widget-types/common/widget/legend.js +10 -0
- package/sdk/atoms/src/lib/widget-types/common/widget/legend.js.map +1 -0
- package/sdk/atoms/src/lib/widget-types/common/widget/public-api.d.ts +1 -0
- package/sdk/atoms/src/lib/widget-types/common/widget/public-api.js +1 -0
- package/sdk/atoms/src/lib/widget-types/common/widget/public-api.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/drilldown/drilldown-configurator.d.ts +1 -1
- package/sdk/atoms/src/lib/widget-types/drilldown/drilldown.d.ts +1 -1
- package/sdk/atoms/src/lib/widget-types/drilldown/drilldown.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/embedded-content/embedded-content-configurator.d.ts +1 -1
- package/sdk/atoms/src/lib/widget-types/embedded-content/embedded-content-widget.d.ts +0 -1
- package/sdk/atoms/src/lib/widget-types/embedded-content/embedded-content.d.ts +1 -1
- package/sdk/atoms/src/lib/widget-types/embedded-content/embedded-content.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/kpi/kpi-configurator.d.ts +1 -1
- package/sdk/atoms/src/lib/widget-types/kpi/kpi-widget.d.ts +1 -1
- package/sdk/atoms/src/lib/widget-types/kpi/kpi.d.ts +1 -1
- package/sdk/atoms/src/lib/widget-types/kpi/kpi.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/preview-placeholder.d.ts +1 -1
- package/sdk/atoms/src/lib/widget-types/preview-placeholder.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/proportional/donut-content-configurator-slice.d.ts +1 -1
- package/sdk/atoms/src/lib/widget-types/proportional/donut-content-configurator-slice.js +16 -12
- package/sdk/atoms/src/lib/widget-types/proportional/donut-content-configurator-slice.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/proportional/proportional-configurator.d.ts +2 -1
- package/sdk/atoms/src/lib/widget-types/proportional/proportional-configurator.js +19 -19
- package/sdk/atoms/src/lib/widget-types/proportional/proportional-configurator.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/proportional/proportional-widget.d.ts +0 -1
- package/sdk/atoms/src/lib/widget-types/proportional/proportional.d.ts +1 -1
- package/sdk/atoms/src/lib/widget-types/proportional/proportional.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/table/default-table-formatters.d.ts +2 -0
- package/sdk/atoms/src/lib/widget-types/table/default-table-formatters.js +33 -0
- package/sdk/atoms/src/lib/widget-types/table/default-table-formatters.js.map +1 -0
- package/sdk/atoms/src/lib/widget-types/table/table-configurator.d.ts +0 -2
- package/sdk/atoms/src/lib/widget-types/table/table-configurator.js +4 -31
- package/sdk/atoms/src/lib/widget-types/table/table-configurator.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/table/table-widget.js +1 -1
- package/sdk/atoms/src/lib/widget-types/table/table-widget.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/table/table.d.ts +1 -1
- package/sdk/atoms/src/lib/widget-types/table/table.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/timeseries/timeseries-configurator.js +21 -21
- package/sdk/atoms/src/lib/widget-types/timeseries/timeseries-configurator.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/timeseries/timeseries-widget.d.ts +1 -1
- package/sdk/atoms/src/lib/widget-types/timeseries/timeseries.d.ts +1 -1
- package/sdk/atoms/src/lib/widget-types/timeseries/timeseries.js.map +1 -1
- package/sdk/locale/messages.en.xlf +2102 -641
- package/sdk/schematics/ng-add/schema.json +5 -0
- package/bundles/nova-ui-dashboards.umd.min.js +0 -2
- package/bundles/nova-ui-dashboards.umd.min.js.map +0 -1
- package/nova-ui-dashboards.metadata.json +0 -1
|
@@ -3,6 +3,7 @@ import { ChartAssist } from "@nova-ui/charts";
|
|
|
3
3
|
import sumBy from "lodash/sumBy";
|
|
4
4
|
import { Subject } from "rxjs";
|
|
5
5
|
import { takeUntil, tap } from "rxjs/operators";
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
6
7
|
export class DonutContentPercentageFormatterComponent {
|
|
7
8
|
constructor(changeDetector) {
|
|
8
9
|
this.changeDetector = changeDetector;
|
|
@@ -34,24 +35,30 @@ export class DonutContentPercentageFormatterComponent {
|
|
|
34
35
|
}
|
|
35
36
|
}
|
|
36
37
|
DonutContentPercentageFormatterComponent.lateLoadKey = "DonutContentPercentageFormatterComponent";
|
|
37
|
-
DonutContentPercentageFormatterComponent
|
|
38
|
-
|
|
39
|
-
template: `<ng-container>
|
|
38
|
+
/** @nocollapse */ DonutContentPercentageFormatterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DonutContentPercentageFormatterComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
39
|
+
/** @nocollapse */ DonutContentPercentageFormatterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: DonutContentPercentageFormatterComponent, selector: "ng-component", inputs: { data: "data", chartAssist: "chartAssist", properties: "properties" }, usesOnChanges: true, ngImport: i0, template: `<ng-container>
|
|
40
40
|
<div class="nui-text-page">
|
|
41
41
|
<div class="nui-text-page">
|
|
42
42
|
{{ chartContent }}
|
|
43
43
|
</div>
|
|
44
44
|
</div>
|
|
45
|
-
</ng-container
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
}
|
|
57
|
-
|
|
45
|
+
</ng-container>`, isInline: true });
|
|
46
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DonutContentPercentageFormatterComponent, decorators: [{
|
|
47
|
+
type: Component,
|
|
48
|
+
args: [{
|
|
49
|
+
template: `<ng-container>
|
|
50
|
+
<div class="nui-text-page">
|
|
51
|
+
<div class="nui-text-page">
|
|
52
|
+
{{ chartContent }}
|
|
53
|
+
</div>
|
|
54
|
+
</div>
|
|
55
|
+
</ng-container>`,
|
|
56
|
+
}]
|
|
57
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { data: [{
|
|
58
|
+
type: Input
|
|
59
|
+
}], chartAssist: [{
|
|
60
|
+
type: Input
|
|
61
|
+
}], properties: [{
|
|
62
|
+
type: Input
|
|
63
|
+
}] } });
|
|
64
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZG9udXQtY29udGVudC1wZXJjZW50YWdlLWZvcm1hdHRlci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGliL2NvbmZpZ3VyYXRvci9jb21wb25lbnRzL2Zvcm1hdHRlcnMvZG9udXQtY29udGVudC1wZXJjZW50YWdlLWZvcm1hdHRlci9kb251dC1jb250ZW50LXBlcmNlbnRhZ2UtZm9ybWF0dGV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cblxuICAgIHB1YmxpYyBnZXRQcm9wZXJTZXJpZXNEYXRhKCk6IG51bWJlciB7XG4gICAgICAgIHJldHVybiB0aGlzLmVtcGhhc2l6ZWRTZXJpZXNEYXRhID8gdGhpcy5lbXBoYXNpemVkU2VyaWVzRGF0YT8uZGF0YVswXSA6IHRoaXMuY3VycmVudE1ldHJpY0RhdGE7XG4gICAgfVxuXG4gICAgcHVibGljIGdldFByb3BlckNvbnRlbnRWYWx1ZSgpOiB2b2lkIHtcbiAgICAgICAgdGhpcy5jaGFydENvbnRlbnQgPSAodGhpcy5nZXRQcm9wZXJTZXJpZXNEYXRhKCkgLyB0aGlzLnN1bSAqIDEwMCkudG9GaXhlZCgyKSArIFwiJVwiO1xuICAgIH1cbn1cbiJdfQ==
|
|
@@ -3,6 +3,9 @@ import { UnitConversionService } from "@nova-ui/bits";
|
|
|
3
3
|
import sumBy from "lodash/sumBy";
|
|
4
4
|
import { DEFAULT_UNIT_CONVERSION_THRESHOLD } from "../../../../common/constants";
|
|
5
5
|
import { DashboardUnitConversionPipe } from "../../../../common/pipes/dashboard-unit-conversion-pipe";
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
import * as i1 from "@nova-ui/bits";
|
|
8
|
+
import * as i2 from "@angular/common";
|
|
6
9
|
export class DonutContentRawFormatterComponent {
|
|
7
10
|
constructor(changeDetector, unitConversionService) {
|
|
8
11
|
this.changeDetector = changeDetector;
|
|
@@ -15,9 +18,8 @@ export class DonutContentRawFormatterComponent {
|
|
|
15
18
|
}
|
|
16
19
|
}
|
|
17
20
|
DonutContentRawFormatterComponent.lateLoadKey = "DonutContentRawFormatterComponent";
|
|
18
|
-
DonutContentRawFormatterComponent
|
|
19
|
-
|
|
20
|
-
template: `<ng-container>
|
|
21
|
+
/** @nocollapse */ DonutContentRawFormatterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DonutContentRawFormatterComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.UnitConversionService }], target: i0.ɵɵFactoryTarget.Component });
|
|
22
|
+
/** @nocollapse */ DonutContentRawFormatterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: DonutContentRawFormatterComponent, selector: "ng-component", inputs: { data: "data", config: "config" }, usesOnChanges: true, ngImport: i0, template: `<ng-container>
|
|
21
23
|
<nui-icon *ngIf="config?.chartDonutContentIcon"
|
|
22
24
|
[icon]="config?.chartDonutContentIcon"
|
|
23
25
|
iconSize="medium"></nui-icon>
|
|
@@ -28,16 +30,26 @@ DonutContentRawFormatterComponent.decorators = [
|
|
|
28
30
|
<div *ngIf="config?.chartDonutContentLabel" class="nui-text-secondary">
|
|
29
31
|
{{config?.chartDonutContentLabel}}
|
|
30
32
|
</div>
|
|
31
|
-
</ng-container
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
33
|
+
</ng-container>`, isInline: true, components: [{ type: i1.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "number": i2.DecimalPipe } });
|
|
34
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DonutContentRawFormatterComponent, decorators: [{
|
|
35
|
+
type: Component,
|
|
36
|
+
args: [{
|
|
37
|
+
template: `<ng-container>
|
|
38
|
+
<nui-icon *ngIf="config?.chartDonutContentIcon"
|
|
39
|
+
[icon]="config?.chartDonutContentIcon"
|
|
40
|
+
iconSize="medium"></nui-icon>
|
|
41
|
+
<div class="nui-text-page">
|
|
42
|
+
<span *ngIf="sum < conversionThreshold; else convertedValueDisplay">{{sum | number:'1.0-3'}}</span>
|
|
43
|
+
<ng-template #convertedValueDisplay>{{convertedValue}}</ng-template>
|
|
44
|
+
</div>
|
|
45
|
+
<div *ngIf="config?.chartDonutContentLabel" class="nui-text-secondary">
|
|
46
|
+
{{config?.chartDonutContentLabel}}
|
|
47
|
+
</div>
|
|
48
|
+
</ng-container>`,
|
|
49
|
+
}]
|
|
50
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1.UnitConversionService }]; }, propDecorators: { data: [{
|
|
51
|
+
type: Input
|
|
52
|
+
}], config: [{
|
|
53
|
+
type: Input
|
|
54
|
+
}] } });
|
|
55
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZG9udXQtY29udGVudC1yYXctZm9ybWF0dGVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9saWIvY29uZmlndXJhdG9yL2NvbXBvbmVudHMvZm9ybWF0dGVycy9kb251dC1jb250ZW50LXJhdy1mb3JtYXR0ZXIvZG9udXQtY29udGVudC1yYXctZm9ybWF0dGVyLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsU0FBUyxFQUFVLEtBQUssRUFBd0IsTUFBTSxlQUFlLENBQUM7QUFDbEcsT0FBTyxFQUFFLHFCQUFxQixFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3RELE9BQU8sS0FBSyxNQUFNLGNBQWMsQ0FBQztBQUNqQyxPQUFPLEVBQUUsaUNBQWlDLEVBQUUsTUFBTSw4QkFBOEIsQ0FBQztBQUNqRixPQUFPLEVBQUUsMkJBQTJCLEVBQUUsTUFBTSx5REFBeUQsQ0FBQzs7OztBQW9CdEcsTUFBTSxPQUFPLGlDQUFpQztJQVExQyxZQ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gREVGQVVMVF9VTklUX0NPTlZFUlNJT05fVEhSRVNIT0xEIH0gZnJvbSBcIi4uLy4uLy4uLy4uL2NvbW1vbi9jb25zdGFudHNcIjtcbmltcG9ydCB7IERhc2hib2FyZFVuaXRDb252ZXJzaW9uUGlwZSB9IGZyb20gXCIuLi8uLi8uLi8uLi9jb21tb24vcGlwZXMvZGFzaGJvYXJkLXVuaXQtY29udmVyc2lvbi1waXBlXCI7XG5cbmltcG9ydCB7IElQcm9wb3J0aW9uYWxXaWRnZXRDb25maWcgfSBmcm9tIFwiLi4vLi4vLi4vLi4vY29tcG9uZW50cy9wdWJsaWMtYXBpXCI7XG5pbXBvcnQgeyBJRm9ybWF0dGVyRGF0YSB9IGZyb20gXCIuLi90eXBlc1wiO1xuXG5AQ29tcG9uZW50KHtcbiAgICB0ZW1wbGF0ZTogYDxuZy1jb250YWluZXI+XG4gICAgICAgICAgICAgICAgICAgIDxudWktaWNvbiAqbmdJZj1cImNvbmZpZz8uY2hhcnREb251dENvbnRlbnRJY29uXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtpY29uXT1cImNvbmZpZz8uY2hhcnREb251dENvbnRlbnRJY29uXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGljb25TaXplPVwibWVkaXVtXCI+PC9udWktaWNvbj5cbiAgICAgICAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cIm51aS10ZXh0LXBhZ2VcIj5cbiAgICAgICAgICAgICAgICAgICAgICAgIDxzcGFuICpuZ0lmPVwic3VtIDwgY29udmVyc2lvblRocmVzaG9sZDsgZWxzZSBjb252ZXJ0ZWRWYWx1ZURpc3BsYXlcIj57e3N1bSB8IG51bWJlcjonMS4wLTMnfX08L3NwYW4+XG4gICAgICAgICAgICAgICAgICAgICAgICA8bmctdGVtcGxhdGUgI2NvbnZlcnRlZFZhbHVlRGlzcGxheT57e2NvbnZlcnRlZFZhbHVlfX08L25nLXRlbXBsYXRlPlxuICAgICAgICAgICAgIC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ASW5wdXQoKSBjb25maWc6IElQcm9wb3J0aW9uYWxXaWRnZXRDb25maWc7XG5cbiAgICBuZ09uQ2hhbmdlcygpOiB2b2lkIHtcbiAgICAgICAgdGhpcy5zdW0gPSBzdW1CeSh0aGlzLmRhdGEsIHMgPT4gcy5kYXRhWzBdKTtcbiAgICAgICAgdGhpcy5jb252ZXJ0ZWRWYWx1ZSA9IHRoaXMudW5pdENvbnZlcnNpb25QaXBlLnRyYW5zZm9ybSh0aGlzLnN1bSk7XG4gICAgfVxufVxuIl19
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ChangeDetectorRef, Component, Input } from "@angular/core";
|
|
2
2
|
import sumBy from "lodash/sumBy";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export class DonutContentSumFormatterComponent {
|
|
4
5
|
constructor(changeDetector) {
|
|
5
6
|
this.changeDetector = changeDetector;
|
|
@@ -9,16 +10,14 @@ export class DonutContentSumFormatterComponent {
|
|
|
9
10
|
}
|
|
10
11
|
}
|
|
11
12
|
DonutContentSumFormatterComponent.lateLoadKey = "DonutContentSumFormatterComponent";
|
|
12
|
-
DonutContentSumFormatterComponent
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
};
|
|
24
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZG9udXQtY29udGVudC1zdW0tZm9ybWF0dGVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9saWIvY29uZmlndXJhdG9yL2NvbXBvbmVudHMvZm9ybWF0dGVycy9kb251dC1jb250ZW50LXN1bS1mb3JtYXR0ZXIvZG9udXQtY29udGVudC1zdW0tZm9ybWF0dGVyLmNvbXBvbmVudC50cyJd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50cyBPbkNoYW5nZXMge1xuICAgIHN0YXRpYyBsYXRlTG9hZEtleSA9IFwiRG9udXRDb250ZW50U3VtRm9ybWF0dGVyQ29tcG9uZW50XCI7XG5cbiAgICBwdWJsaWMgc3VtOiBudW1iZXI7XG5cbiAgICBjb25zdHJ1Y3RvcihwdWJsaWMgY2hhbmdlRGV0ZWN0b3I6IENoYW5nZURldGVjdG9yUmVmKSB7IH1cblxuICAgIEBJbnB1dCgpIGRhdGE6IElGb3JtYXR0ZXJEYXRhW107XG5cbiAgICBuZ09uQ2hhbmdlcygpIHtcbiAgICAgICAgdGhpcy5zdW0gPSBzdW1CeSh0aGlzLmRhdGEsIHMgPT4gcy5kYXRhWzBdKTtcbiAgICB9XG59XG4iXX0=
|
|
13
|
+
/** @nocollapse */ DonutContentSumFormatterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DonutContentSumFormatterComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
14
|
+
/** @nocollapse */ DonutContentSumFormatterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: DonutContentSumFormatterComponent, selector: "ng-component", inputs: { data: "data" }, usesOnChanges: true, ngImport: i0, template: `<ng-container><div class="nui-text-page">{{ this.sum }}</div></ng-container>`, isInline: true });
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DonutContentSumFormatterComponent, decorators: [{
|
|
16
|
+
type: Component,
|
|
17
|
+
args: [{
|
|
18
|
+
template: `<ng-container><div class="nui-text-page">{{ this.sum }}</div></ng-container>`,
|
|
19
|
+
}]
|
|
20
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { data: [{
|
|
21
|
+
type: Input
|
|
22
|
+
}] } });
|
|
23
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW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2NvcmVcIjtcbmltcG9ydCBzdW1CeSBmcm9tIFwibG9kYXNoL3N1bUJ5XCI7XG5cbmltcG9ydCB7IElGb3JtYXR0ZXJEYXRhIH0gZnJvbSBcIi4uL3R5cGVzXCI7XG5cbkBDb21wb25lbnQoe1xuICAgIHRlbXBsYXRlOiBgPG5nLWNvbnRhaW5lcj48ZGl2IGNsYXNzPVwibnVpLXRleHQtcGFnZVwiPnt7IHRoaXMuc3VtIH19PC9kaXY+PC9uZy1jb250YWluZXI+YCxcbn0pXG5leHBvcnQgY2xhc3MgRG9udXRDb250ZW50U3VtRm9ybWF0dGVyQ29tcG9uZW50IGltcGxlbWVudHMgT25DaGFuZ2VzIHtcbiAgICBzdGF0aWMgbGF0ZUxvYWRLZXkgPSBcIkRvbnV0Q29udGVudFN1bUZvcm1hdHRlckNvbXBvbmVudFwiO1xuXG4gICAgcHVibGljIHN1bTogbnVtYmVyO1xuXG4gICAgY29uc3RydWN0b3IocHVibGljIGNoYW5nZURldGVjdG9yOiBDaGFuZ2VEZXRlY3RvclJlZikgeyB9XG5cbiAgICBASW5wdXQoKSBkYXRhOiBJRm9ybWF0dGVyRGF0YVtdO1xuXG4gICAgbmdPbkNoYW5nZXMoKSB7XG4gICAgICAgIHRoaXMuc3VtID0gc3VtQnkodGhpcy5kYXRhLCBzID0+IHMuZGF0YVswXSk7XG4gICAgfVxufVxuIl19
|
package/esm2015/lib/configurator/components/formatters/icon-formatter/icon-formatter.component.js
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { ChangeDetectorRef, Component, Input, } from "@angular/core";
|
|
2
2
|
import { IconService } from "@nova-ui/bits";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@nova-ui/bits";
|
|
5
|
+
import * as i2 from "@angular/common";
|
|
3
6
|
export class IconFormatterComponent {
|
|
4
7
|
constructor(changeDetector, iconService) {
|
|
5
8
|
this.changeDetector = changeDetector;
|
|
@@ -14,24 +17,28 @@ export class IconFormatterComponent {
|
|
|
14
17
|
}
|
|
15
18
|
}
|
|
16
19
|
IconFormatterComponent.lateLoadKey = "IconFormatterComponent";
|
|
17
|
-
IconFormatterComponent
|
|
18
|
-
|
|
19
|
-
template: `
|
|
20
|
+
/** @nocollapse */ IconFormatterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: IconFormatterComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.IconService }], target: i0.ɵɵFactoryTarget.Component });
|
|
21
|
+
/** @nocollapse */ IconFormatterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: IconFormatterComponent, selector: "ng-component", inputs: { data: "data" }, usesOnChanges: true, ngImport: i0, template: `
|
|
20
22
|
<div *ngIf="isValid" class="d-flex align-items-center justify-content-center">
|
|
21
23
|
<nui-icon *ngIf="iconFound; else iconNotFound" [icon]="data?.value"></nui-icon>
|
|
22
24
|
</div>
|
|
23
25
|
<ng-template #iconNotFound>
|
|
24
26
|
<nui-icon title="Unknown icon" i18n-title iconColor="disabled-gray" icon="help"></nui-icon>
|
|
25
27
|
</ng-template>
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
28
|
+
`, isInline: true, components: [{ type: i1.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: IconFormatterComponent, decorators: [{
|
|
30
|
+
type: Component,
|
|
31
|
+
args: [{
|
|
32
|
+
template: `
|
|
33
|
+
<div *ngIf="isValid" class="d-flex align-items-center justify-content-center">
|
|
34
|
+
<nui-icon *ngIf="iconFound; else iconNotFound" [icon]="data?.value"></nui-icon>
|
|
35
|
+
</div>
|
|
36
|
+
<ng-template #iconNotFound>
|
|
37
|
+
<nui-icon title="Unknown icon" i18n-title iconColor="disabled-gray" icon="help"></nui-icon>
|
|
38
|
+
</ng-template>
|
|
39
|
+
`,
|
|
40
|
+
}]
|
|
41
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1.IconService }]; }, propDecorators: { data: [{
|
|
42
|
+
type: Input
|
|
43
|
+
}] } });
|
|
44
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWNvbi1mb3JtYXR0ZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2xpYi9jb25maWd1cmF0b3IvY29tcG9uZW50cy9mb3JtYXR0ZXJzL2ljb24tZm9ybWF0dGVyL2ljb24tZm9ybWF0dGVyLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0gsaUJBQWlCLEVBQ2pCLFNBQVMsRUFDVCxLQUFLLEdBRVIsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFFLFdBQVcsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7OztBQWU1QyxNQUFNLE9BQU8sc0JBQXNCO0lBRy9CLFlBQW1CLGNBQWlDLEVBQVMsV0FBd0I7UUFBbEUsbUJBQWMsR0FBZCxjQUFjLENBQW1CO1FBQVMsZ0JBQVcsR0FBWCxXQUFXLENBQWE7UUFFOUUsWUFBTyxHQUFZLEtBQUssQ0FBQztRQUN6QixjQUFTLEdBQVksSUFBSSxDQUFDO0lBSHdELENBQUM7SUFNMUYsV0FBVzs7UUFDUCxJQUFJLENBQUMsT0FBTyx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Nvbk5vdEZvdW5kXCIgW2ljb25dPVwiZGF0YT8udmFsdWVcIj48L251aS1pY29uPlxuICAgICAgICA8L2Rpdj5cbiAgICAgICAgPG5nLXRlbXBsYXRlICNpY29uTm90Rm91bmQ+XG4gICAgICAgICAgICA8bnVpLWljb24gdGl0bGU9XCJVbmtub3duIGljb25cIiBpMThuLXRpdGxlIGljb25Db2xvcj1cImRpc2FibGVkLWdyYXlcIiBpY29uPVwiaGVscFwiPjwvbnVpLWljb24+XG4gICAgICAgIDwvbmctdGVtcGxhdGU+XG4gICAgYCxcbn0pXG5leHBvcnQgY2xhc3MgSWNvbkZvcm1hdHRlckNvbXBvbmVudCBpbXBsZW1lbnRzIE9uQ2hhbmdlcywgSUhhc0NoYW5nZURldGVjdG9yIHtcbiAgICBzdGF0aWMgbGF0ZUxvYWRLZXkgPSBcIkljb25Gb3JtYXR0ZXJDb21wb25lbnRcIjtcblxuICAgIGNvbnN0cnVjdG9yKHB1YmxpYyBjaGFuZ2VEZXRlY3RvcjogQ2hhbmdlRGV0ZWN0b3JSZWYsIHB1YmxpYyBpY29uU2VydmljZTogSWNvblNlcnZpY2UpIHsgfVxuXG4gICAgcHVibGljIGlzVmFsaWQ6IGJvb2xlYW4gPSBmYWxzZTtcbiAgICBwdWJsaWMgaWNvbkZvdW5kOiBib29sZWFuID0gdHJ1ZTtcbiAgICBASW5wdXQoKSBwdWJsaWMgZGF0YT86IElGb3JtYXR0ZXJEYXRhO1xuXG4gICAgbmdPbkNoYW5nZXMoKSB7XG4gICAgICAgIHRoaXMuaXNWYWxpZCA9ICEhdGhpcy5kYXRhPy52YWx1ZTtcbiAgICAgICAgdGhpcy5pY29uRm91bmQgPSAhIXRoaXMuaWNvblNlcnZpY2UuZ2V0SWNvbkRhdGEodGhpcy5kYXRhPy52YWx1ZSk7XG4gICAgfVxufVxuIl19
|
package/esm2015/lib/configurator/components/formatters/link-formatter/link-formatter.component.js
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { ChangeDetectorRef, Component, Input } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "@angular/common";
|
|
2
4
|
export class LinkFormatterComponent {
|
|
3
5
|
constructor(changeDetector) {
|
|
4
6
|
this.changeDetector = changeDetector;
|
|
@@ -9,21 +11,23 @@ export class LinkFormatterComponent {
|
|
|
9
11
|
}
|
|
10
12
|
}
|
|
11
13
|
LinkFormatterComponent.lateLoadKey = "LinkFormatterComponent";
|
|
12
|
-
LinkFormatterComponent
|
|
13
|
-
|
|
14
|
-
|
|
14
|
+
/** @nocollapse */ LinkFormatterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: LinkFormatterComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
15
|
+
/** @nocollapse */ LinkFormatterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: LinkFormatterComponent, selector: "ng-component", inputs: { data: "data" }, usesOnChanges: true, ngImport: i0, template: `<div class="link-formatter-container">
|
|
16
|
+
<a *ngIf="isValid" class="nui-text-ellipsis" [href]="data?.link" target="_blank">
|
|
17
|
+
{{data?.value}}
|
|
18
|
+
</a>
|
|
19
|
+
</div>`, isInline: true, styles: [".link-formatter-container {display: grid; grid-template-columns: 1fr;}"], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: LinkFormatterComponent, decorators: [{
|
|
21
|
+
type: Component,
|
|
22
|
+
args: [{
|
|
23
|
+
template: `<div class="link-formatter-container">
|
|
15
24
|
<a *ngIf="isValid" class="nui-text-ellipsis" [href]="data?.link" target="_blank">
|
|
16
25
|
{{data?.value}}
|
|
17
26
|
</a>
|
|
18
27
|
</div>`,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
];
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
];
|
|
26
|
-
LinkFormatterComponent.propDecorators = {
|
|
27
|
-
data: [{ type: Input }]
|
|
28
|
-
};
|
|
29
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGluay1mb3JtYXR0ZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2xpYi9jb25maWd1cmF0b3IvY29tcG9uZW50cy9mb3JtYXR0ZXJzL2xpbmstZm9ybWF0dGVyL2xpbmstZm9ybWF0dGVyLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBNEIsTUFBTSxlQUFlLENBQUM7QUFhOUYsTUFBTSxPQUFPLHNCQUFzQjtJQU8vQixZQUFtQixjQUFpQztRQUFqQyxtQkFBYyxHQUFkLGNBQWMsQ0FBbUI7UUFGN0MsWUFBTyxHQUFHLEtBQUssQ0FBQztJQUd2QixDQUFDO0lBRUQsV0FBVyxDQUFDLE9BQXNCO1FBQzlCLElBQUksQ0FBQyxPQUFPLEdBQUcsT0FBTyxDQUFDLElBQUksQ0FBQyxJQUFJLElBQUksSUFBSSxDQUFDLElBQUksQ0FBQyxLQUFLLElBQUksSUFBSSxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUMsQ0FBQztJQUMzRSxDQUFDOztBQVhNLGtDQUFXLEdBQUcsd0JBQXdCLENBQUM7O1lBVGpELFNBQVMsU0FBQztnQkFDUCxRQUFRLEVBQUU7Ozs7cUJBSU87eUJBQ1Isd0VBQXdFO2FBQ3BGOzs7O1lBWlEsaUJBQWlCOzs7bUJBZ0JyQixLQUFLIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3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GV0ZWN0b3I6IENoYW5nZURldGVjdG9yUmVmKSB7XG4gICAgfVxuXG4gICAgbmdPbkNoYW5nZXMoY2hhbmdlczogU2ltcGxlQ2hhbmdlcykge1xuICAgICAgICB0aGlzLmlzVmFsaWQgPSBCb29sZWFuKHRoaXMuZGF0YSAmJiB0aGlzLmRhdGEudmFsdWUgJiYgdGhpcy5kYXRhLmxpbmspO1xuICAgIH1cbn1cbiJdfQ==
|
|
28
|
+
styles: [`.link-formatter-container {display: grid; grid-template-columns: 1fr;}`],
|
|
29
|
+
}]
|
|
30
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { data: [{
|
|
31
|
+
type: Input
|
|
32
|
+
}] } });
|
|
33
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGluay1mb3JtYXR0ZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2xpYi9jb25maWd1cmF0b3IvY29tcG9uZW50cy9mb3JtYXR0ZXJzL2xpbmstZm9ybWF0dGVyL2xpbmstZm9ybWF0dGVyLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBNEIsTUFBTSxlQUFlLENBQUM7OztBQWE5RixNQUFNLE9BQU8sc0JBQXNCO0lBTy9CLFlBQW1CLGNBQWlDO1FBQWpDLG1CQUFjLEdBQWQsY0FBYyxDQUFtQjtRQUY3QyxZQUFPLEdBQUcsS0FBSyxDQUFDO0lBR3ZCLENBQUM7SUFFRCxXQUFXLENBQUMsT0FBc0I7UUFDOUIsSUFBSSxDQUFDLE9BQU8sR0FBRyxPQUFPLENBQUMsSUFBSSxDQUFDLElBQUksSUFBSSxJQUFJLENBQUMsSUFBSSxDQUFDLEtBQUssSU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JpZC10ZW1wbGF0ZS1jb2x1bW5zOiAxZnI7fWBdLFxufSlcbmV4cG9ydCBjbGFzcyBMaW5rRm9ybWF0dGVyQ29tcG9uZW50IGltcGxlbWVudHMgT25DaGFuZ2VzLCBJSGFzQ2hhbmdlRGV0ZWN0b3Ige1xuICAgIHN0YXRpYyBsYXRlTG9hZEtleSA9IFwiTGlua0Zvcm1hdHRlckNvbXBvbmVudFwiO1xuXG4gICAgQElucHV0KCkgZGF0YTogSUxpbmtGb3JtYXR0ZXJEYXRhO1xuXG4gICAgcHVibGljIGlzVmFsaWQgPSBmYWxzZTtcblxuICAgIGNvbnN0cnVjdG9yKHB1YmxpYyBjaGFuZ2VEZXRlY3RvcjogQ2hhbmdlRGV0ZWN0b3JSZWYpIHtcbiAgICB9XG5cbiAgICBuZ09uQ2hhbmdlcyhjaGFuZ2VzOiBTaW1wbGVDaGFuZ2VzKSB7XG4gICAgICAgIHRoaXMuaXNWYWxpZCA9IEJvb2xlYW4odGhpcy5kYXRhICYmIHRoaXMuZGF0YS52YWx1ZSAmJiB0aGlzLmRhdGEubGluayk7XG4gICAgfVxufVxuIl19
|
|
@@ -1,14 +1,21 @@
|
|
|
1
1
|
import { Component } from "@angular/core";
|
|
2
2
|
import { RawFormatterComponent } from "../raw-formatter/raw-formatter.component";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export class PercentageFormatterComponent extends RawFormatterComponent {
|
|
4
5
|
}
|
|
5
6
|
PercentageFormatterComponent.lateLoadKey = "PercentageFormatterComponent";
|
|
6
|
-
PercentageFormatterComponent
|
|
7
|
-
|
|
8
|
-
template: `
|
|
7
|
+
/** @nocollapse */ PercentageFormatterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: PercentageFormatterComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
8
|
+
/** @nocollapse */ PercentageFormatterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: PercentageFormatterComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
|
|
9
9
|
<ng-container>
|
|
10
10
|
{{data?.value}}%
|
|
11
|
-
</ng-container
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
</ng-container>`, isInline: true });
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: PercentageFormatterComponent, decorators: [{
|
|
13
|
+
type: Component,
|
|
14
|
+
args: [{
|
|
15
|
+
template: `
|
|
16
|
+
<ng-container>
|
|
17
|
+
{{data?.value}}%
|
|
18
|
+
</ng-container>`,
|
|
19
|
+
}]
|
|
20
|
+
}] });
|
|
21
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGVyY2VudGFnZS1mb3JtYXR0ZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2xpYi9jb25maWd1cmF0b3IvY29tcG9uZW50cy9mb3JtYXR0ZXJzL3BlcmNlbnRhZ2UtZm9ybWF0dGVyL3BlcmNlbnRhZ2UtZm9ybWF0dGVyLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRTFDLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLDBDQUEwQyxDQUFDOztBQVFqRixNQUFNLE9BQU8sNEJBQTZCLFNBQVEscUJBQXFCOztBQUM1RCx3Q0FBVyxHQUFHLDhCQUE4QixDQUFDOzRJQUQzQyw0QkFBNEI7Z0lBQTVCLDRCQUE0QiwyRUFMM0I7Ozt3QkFHVTsyRkFFWCw0QkFBNEI7a0JBTnhDLFNBQVM7bUJBQUM7b0JBQ1AsUUFBUSxFQUFFOzs7d0JBR1U7aUJBQ3ZCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50IH0gZnJvbSBcIkBhbmd1bGFyL2NvcmVcIjtcblxuaW1wb3J0IHsgUmF3Rm9ybWF0dGVyQ29tcG9uZW50IH0gZnJvbSBcIi4uL3Jhdy1mb3JtYXR0ZXIvcmF3LWZvcm1hdHRlci5jb21wb25lbnRcIjtcblxuQENvbXBvbmVudCh7XG4gICAgdGVtcGxhdGU6IGBcbiAgICAgICAgPG5nLWNvbnRhaW5lcj5cbiAgICAgICAgICAgIHt7ZGF0YT8udmFsdWV9fSVcbiAgICAgICAgPC9uZy1jb250YWluZXI+YCxcbn0pXG5leHBvcnQgY2xhc3MgUGVyY2VudGFnZUZvcm1hdHRlckNvbXBvbmVudCBleHRlbmRzIFJhd0Zvcm1hdHRlckNvbXBvbmVudCB7XG4gICAgc3RhdGljIGxhdGVMb2FkS2V5ID0gXCJQZXJjZW50YWdlRm9ybWF0dGVyQ29tcG9uZW50XCI7XG59XG4iXX0=
|
package/esm2015/lib/configurator/components/formatters/raw-formatter/raw-formatter.component.js
CHANGED
|
@@ -1,22 +1,26 @@
|
|
|
1
1
|
import { ChangeDetectorRef, Component, HostBinding, Input } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export class RawFormatterComponent {
|
|
3
4
|
constructor(changeDetector) {
|
|
4
5
|
this.changeDetector = changeDetector;
|
|
5
6
|
}
|
|
6
7
|
}
|
|
7
8
|
RawFormatterComponent.lateLoadKey = "RawFormatterComponent";
|
|
8
|
-
RawFormatterComponent
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
];
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
}
|
|
22
|
-
|
|
9
|
+
/** @nocollapse */ RawFormatterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: RawFormatterComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
10
|
+
/** @nocollapse */ RawFormatterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: RawFormatterComponent, selector: "ng-component", inputs: { data: "data", elementClass: "elementClass" }, host: { properties: { "class": "this.elementClass" } }, ngImport: i0, template: `
|
|
11
|
+
<ng-container>{{data?.value}}</ng-container>`, isInline: true });
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: RawFormatterComponent, decorators: [{
|
|
13
|
+
type: Component,
|
|
14
|
+
args: [{
|
|
15
|
+
template: `
|
|
16
|
+
<ng-container>{{data?.value}}</ng-container>`,
|
|
17
|
+
}]
|
|
18
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { data: [{
|
|
19
|
+
type: Input
|
|
20
|
+
}], elementClass: [{
|
|
21
|
+
type: Input
|
|
22
|
+
}, {
|
|
23
|
+
type: HostBinding,
|
|
24
|
+
args: ["class"]
|
|
25
|
+
}] } });
|
|
26
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmF3LWZvcm1hdHRlci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGliL2NvbmZpZ3VyYXRvci9jb21wb25lbnRzL2Zvcm1hdHRlcnMvcmF3LWZvcm1hdHRlci9yYXctZm9ybWF0dGVyLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsU0FBUyxFQUFFLFdBQVcsRUFBRSxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBUWpGLE1BQU0s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|
@@ -2,6 +2,7 @@ import { ChangeDetectorRef, Component, HostBinding, Input } from "@angular/core"
|
|
|
2
2
|
import toNumber from "lodash/toNumber";
|
|
3
3
|
import toString from "lodash/toString";
|
|
4
4
|
import { SI_UNITS_PREFIXES, SI_UNITS_PREFIXES_NEGATIVE } from "../../../../constants/si-units-prefixes";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
5
6
|
export class SiUnitsFormatterComponent {
|
|
6
7
|
constructor(changeDetector) {
|
|
7
8
|
this.changeDetector = changeDetector;
|
|
@@ -55,26 +56,35 @@ export class SiUnitsFormatterComponent {
|
|
|
55
56
|
SiUnitsFormatterComponent.lateLoadKey = "SiUnitsFormatterComponent";
|
|
56
57
|
// e.g. setting "shiftPoint" to "1" makes "1000k" to be displayed instead of "1M"
|
|
57
58
|
SiUnitsFormatterComponent.SHIFT_POINT_DEFAULT = 0;
|
|
58
|
-
SiUnitsFormatterComponent
|
|
59
|
-
|
|
60
|
-
template: `
|
|
59
|
+
/** @nocollapse */ SiUnitsFormatterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: SiUnitsFormatterComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
60
|
+
/** @nocollapse */ SiUnitsFormatterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: SiUnitsFormatterComponent, selector: "ng-component", inputs: { data: "data", elementClass: "elementClass" }, host: { properties: { "class": "this.elementClass" } }, usesOnChanges: true, ngImport: i0, template: `
|
|
61
61
|
<ng-container>
|
|
62
62
|
<div class="d-flex flex-nowrap">
|
|
63
63
|
<span>{{ value }}</span>
|
|
64
64
|
<span> {{ modifier }}</span>
|
|
65
65
|
</div>
|
|
66
66
|
</ng-container>
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
67
|
+
`, isInline: true });
|
|
68
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: SiUnitsFormatterComponent, decorators: [{
|
|
69
|
+
type: Component,
|
|
70
|
+
args: [{
|
|
71
|
+
template: `
|
|
72
|
+
<ng-container>
|
|
73
|
+
<div class="d-flex flex-nowrap">
|
|
74
|
+
<span>{{ value }}</span>
|
|
75
|
+
<span> {{ modifier }}</span>
|
|
76
|
+
</div>
|
|
77
|
+
</ng-container>
|
|
78
|
+
`,
|
|
79
|
+
}]
|
|
80
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { data: [{
|
|
81
|
+
type: Input
|
|
82
|
+
}], elementClass: [{
|
|
83
|
+
type: Input
|
|
84
|
+
}, {
|
|
85
|
+
type: HostBinding,
|
|
86
|
+
args: ["class"]
|
|
87
|
+
}] } });
|
|
78
88
|
function getValueNegativeModifier(value, prevModifier = 1) {
|
|
79
89
|
const val = Math.abs(value);
|
|
80
90
|
if (val >= 1) {
|
|
@@ -85,4 +95,4 @@ function getValueNegativeModifier(value, prevModifier = 1) {
|
|
|
85
95
|
? newModifier
|
|
86
96
|
: getValueNegativeModifier(val, newModifier);
|
|
87
97
|
}
|
|
88
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
98
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2ktdW5pdHMtZm9ybWF0dGVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9saWIvY29uZmlndXJhdG9yL2NvbXBvbmVudHMvZm9ybWF0dGVycy9zaS11bml0cy1mb3JtYXR0ZXIvc2ktdW5pdHMtZm9ybWF0dGVyLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzI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W5jdGlvbiBnZXRWYWx1ZU5lZ2F0aXZlTW9kaWZpZXIodmFsdWU6IG51bWJlciwgcHJldk1vZGlmaWVyOiBudW1iZXIgPSAxKTogbnVtYmVyIHtcbiAgICBjb25zdCB2YWwgPSBNYXRoLmFicyh2YWx1ZSk7XG5cbiAgICBpZiAodmFsID49IDEpIHsgcmV0dXJuIDE7IH1cblxuICAgIGNvbnN0IG5ld01vZGlmaWVyID0gcHJldk1vZGlmaWVyICsgMTtcblxuICAgIHJldHVybiAodmFsICogTWF0aC5wb3coMTAsIG5ld01vZGlmaWVyKSkgPiAxXG4gICAgICAgID8gbmV3TW9kaWZpZXJcbiAgICAgICAgOiBnZXRWYWx1ZU5lZ2F0aXZlTW9kaWZpZXIodmFsLCBuZXdNb2RpZmllcik7XG59XG4iXX0=
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { ChangeDetectorRef, Component, Input, } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "@nova-ui/bits";
|
|
4
|
+
import * as i2 from "@angular/common";
|
|
2
5
|
export class StatusWithIconFormatterComponent {
|
|
3
6
|
constructor(changeDetector) {
|
|
4
7
|
this.changeDetector = changeDetector;
|
|
@@ -12,9 +15,32 @@ export class StatusWithIconFormatterComponent {
|
|
|
12
15
|
}
|
|
13
16
|
}
|
|
14
17
|
StatusWithIconFormatterComponent.lateLoadKey = "StatusWithIconFormatterComponent";
|
|
15
|
-
StatusWithIconFormatterComponent
|
|
16
|
-
|
|
17
|
-
|
|
18
|
+
/** @nocollapse */ StatusWithIconFormatterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: StatusWithIconFormatterComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
19
|
+
/** @nocollapse */ StatusWithIconFormatterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: StatusWithIconFormatterComponent, selector: "ng-component", inputs: { data: "data" }, usesOnChanges: true, ngImport: i0, template: `
|
|
20
|
+
<ng-container *ngIf="isValid">
|
|
21
|
+
<div class="nui-text-label align-items-center status-icon-formatter">
|
|
22
|
+
|
|
23
|
+
<span class="nui-text-ellipsis text-right pl-3">{{ data.data }}</span>
|
|
24
|
+
<nui-icon [icon]="data.icon" class="nui-icon nui-icon-line-height mx-2"></nui-icon>
|
|
25
|
+
<div *ngIf="data?.link; else noLink">
|
|
26
|
+
<a class="nui-text-link-small nui-text-ellipsis link"
|
|
27
|
+
(click)="$event.stopPropagation()"
|
|
28
|
+
[href]="data?.link"
|
|
29
|
+
rel="noopener noreferrer"
|
|
30
|
+
[title]="data.name">
|
|
31
|
+
{{ data.name }}
|
|
32
|
+
</a>
|
|
33
|
+
</div>
|
|
34
|
+
<ng-template #noLink>
|
|
35
|
+
<span class="nui-text-ellipsis" [style.font-size.px]="11">{{data.name}}</span>
|
|
36
|
+
</ng-template>
|
|
37
|
+
</div>
|
|
38
|
+
</ng-container>
|
|
39
|
+
`, isInline: true, styles: [".status-icon-formatter {display: grid; grid-template-columns: 50px auto minmax(114px, 1fr);} "], components: [{ type: i1.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
40
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: StatusWithIconFormatterComponent, decorators: [{
|
|
41
|
+
type: Component,
|
|
42
|
+
args: [{
|
|
43
|
+
template: `
|
|
18
44
|
<ng-container *ngIf="isValid">
|
|
19
45
|
<div class="nui-text-label align-items-center status-icon-formatter">
|
|
20
46
|
|
|
@@ -35,14 +61,9 @@ StatusWithIconFormatterComponent.decorators = [
|
|
|
35
61
|
</div>
|
|
36
62
|
</ng-container>
|
|
37
63
|
`,
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
];
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
];
|
|
45
|
-
StatusWithIconFormatterComponent.propDecorators = {
|
|
46
|
-
data: [{ type: Input }]
|
|
47
|
-
};
|
|
48
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RhdHVzLXdpdGgtaWNvbi1mb3JtYXR0ZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2xpYi9jb25maWd1cmF0b3IvY29tcG9uZW50cy9mb3JtYXR0ZXJzL3N0YXR1cy13aXRoLWljb24tZm9ybWF0dGVyL3N0YXR1cy13aXRoLWljb24tZm9ybWF0dGVyLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0gsaUJBQWlCLEVBQ2pCLFNBQVMsRUFDVCxLQUFLLEdBRVIsTUFBTSxlQUFlLENBQUM7QUE0QnZCLE1BQU0sT0FBTyxnQ0FBZ0M7SUFHekMsWUFBbUIsY0FBaUM7UUFBakMsbUJBQWMsR0FBZCxjQUFjLENBQW1CO1FBRTdDLFlBQU8sR0FBWSxLQUFLLENBQUM7SUFGd0IsQ0FBQztJQUt6RCxXQUFXO1FBQ1AsSUFBSSxDQUFDLE9BQU8sR0FBRyxDQUFDLENBQUMsQ0FBQyxJQUFJLENBQUMsSUFBSTtlQUNwQixJQUFJLENBQUMsSUFBSSxDQUFDLElBQUk7ZUFDZCxJQUFJLENBQUMsSUFBSSxDQUFDLElBQUk7ZUFDZCxJQUFJLENBQUMsSUFBSSxDQUFDLElBQUksQ0FBQyxDQUFDO0lBQzNCLENBQUM7O0FBWk0sNENBQVcsR0FBRyxrQ0FBa0MsQ0FBQzs7WUF6QjNELFNBQVMsU0FBQztnQk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N0b3BQcm9wYWdhdGlvbigpXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBbaHJlZl09XCJkYXRhPy5saW5rXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICByZWw9XCJub29wZW5lciBub3JlZmVycmVyXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBbdGl0bGVdPVwiZGF0YS5uYW1lXCI+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHt7IGRhdGEubmFtZSB9fVxuICAgICAgICAgICAgICAgICAgICAgICAgPC9hPlxuICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgICAgIDxuZy10ZW1wbGF0ZSAjbm9MaW5rPlxuICAgICAgICAgICAgICAgIDxzcGFuIGNsYXNzPVwibnVpLXRleHQtZWxsaXBzaXNcIiBbc3R5bGUuZm9udC1zaXplLnB4XT1cIjExXCI+e3tkYXRhLm5hbWV9fTwvc3Bhbj5cbiAgICAgICAgICAgICAgICA8L25nLXRlbXBsYXRlPlxuICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgIDwvbmctY29udGFpbmVyPlxuICAgIGAsXG4gICAgc3R5bGVzOiBbYC5zdGF0dXMtaWNvbi1mb3JtYXR0ZXIge2Rpc3BsYXk6IGdyaWQ7IGdyaWQtdGVtcGxhdGUtY29sdW1uczogNTBweCBhdXRvICBtaW5tYXgoMTE0cHgsIDFmcik7fSBgXSxcbn0pXG5leHBvcnQgY2xhc3MgU3RhdHVzV2l0aEljb25Gb3JtYXR0ZXJDb21wb25lbnQgaW1wbGVtZW50cyBPbkNoYW5nZXMsIElIYXNDaGFuZ2VEZXRlY3RvciB7XG4gICAgc3RhdGljIGxhdGVMb2FkS2V5ID0gXCJTdGF0dXNXaXRoSWNvbkZvcm1hdHRlckNvbXBvbmVudFwiO1xuXG4gICAgY29uc3RydWN0b3IocHVibGljIGNoYW5nZURldGVjdG9yOiBDaGFuZ2VEZXRlY3RvclJlZikgeyB9XG5cbiAgICBwdWJsaWMgaXNWYWxpZDogYm9vbGVhbiA9IGZhbHNlO1xuICAgIEBJbnB1dCgpIGRhdGE6IHtuYW1lOiBzdHJpbmcsIGljb246IHN0cmluZywgZGF0YTogbnVtYmVyW10sIGxpbms/OiBzdHJpbmd9O1xuXG4gICAgbmdPbkNoYW5nZXMoKSB7XG4gICAgICAgIHRoaXMuaXNWYWxpZCA9ICEhKHRoaXMuZGF0YVxuICAgICAgICAgICAgJiYgdGhpcy5kYXRhLmljb25cbiAgICAgICAgICAgICYmIHRoaXMuZGF0YS5uYW1lXG4gICAgICAgICAgICAmJiB0aGlzLmRhdGEuZGF0YSk7XG4gICAgfVxufVxuIl19
|
|
64
|
+
styles: [`.status-icon-formatter {display: grid; grid-template-columns: 50px auto minmax(114px, 1fr);} `],
|
|
65
|
+
}]
|
|
66
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { data: [{
|
|
67
|
+
type: Input
|
|
68
|
+
}] } });
|
|
69
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RhdHVzLXdpdGgtaWNvbi1mb3JtYXR0ZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2xpYi9jb25maWd1cmF0b3IvY29tcG9uZW50cy9mb3JtYXR0ZXJzL3N0YXR1cy13aXRoLWljb24tZm9ybWF0dGVyL3N0YXR1cy13aXRoLWljb24tZm9ybWF0dGVyLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0gsaUJBQWlCLEVBQ2pCLFNBQVMsRUFDVCxLQUFLLEdBRVIsTUFBTSxlQUFlLENBQUM7Ozs7QUE0QnZCLE1BQU0sT0FBTyxnQ0FBZ0M7SUFHekMsWUFBbUIsY0FBaUM7UUFBakMsbUJBQWMsR0FBZCxjQUFjLENBQW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cbiAgICAgICAgICAgICAgICBcbiAgICAgICAgICAgICAgICA8c3BhbiBjbGFzcz1cIm51aS10ZXh0LWVsbGlwc2lzIHRleHQtcmlnaHQgcGwtM1wiPnt7IGRhdGEuZGF0YSB9fTwvc3Bhbj5cbiAgICAgICAgICAgICAgICA8bnVpLWljb24gW2ljb25dPVwiZGF0YS5pY29uXCIgY2xhc3M9XCJudWktaWNvbiBudWktaWNvbi1saW5lLWhlaWdodCBteC0yXCI+PC9udWktaWNvbj5cbiAgICAgICAgICAgICAgICA8ZGl2ICpuZ0lmPVwiZGF0YT8ubGluazsgZWxzZSBub0xpbmtcIj5cbiAgICAgICAgICAgICAgICAgICAgICAgIDxhIGNsYXNzPVwibnVpLXRleHQtbGluay1zbWFsbCBudWktdGV4dC1lbGxpcHNpcyBsaW5rXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAoY2xpY2spPVwiJGV2ZW50LnN0b3BQcm9wYWdhdGlvbigpXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBbaHJlZl09XCJkYXRhPy5saW5rXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICByZWw9XCJub29wZW5lciBub3JlZmVycmVyXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBbdGl0bGVdPVwiZGF0YS5uYW1lXCI+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHt7IGRhdGEubmFtZSB9fVxuICAgICAgICAgICAgICAgICAgICAgICAgPC9hPlxuICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgICAgIDxuZy10ZW1wbGF0ZSAjbm9MaW5rPlxuICAgICAgICAgICAgICAgIDxzcGFuIGNsYXNzPVwibnVpLXRleHQtZWxsaXBzaXNcIiBbc3R5bGUuZm9udC1zaXplLnB4XT1cIjExXCI+e3tkYXRhLm5hbWV9fTwvc3Bhbj5cbiAgICAgICAgICAgICAgICA8L25nLXRlbXBsYXRlPlxuICAgICAgICAgICAgPC9kaXY+XG4g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