@nova-ui/dashboards 20.0.0 → 20.0.3
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/fesm2022/nova-ui-dashboards.mjs +598 -959
- package/fesm2022/nova-ui-dashboards.mjs.map +1 -1
- package/index.d.ts +4692 -3
- package/package.json +12 -4
- package/sdk/atoms/src/lib/components/providers/kpi-scale-sync-broker.d.ts +1 -0
- package/sdk/atoms/src/lib/components/providers/kpi-scale-sync-broker.js +31 -14
- package/sdk/atoms/src/lib/components/providers/kpi-scale-sync-broker.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/refresher-settings.service.d.ts +2 -5
- package/sdk/atoms/src/lib/components/providers/refresher-settings.service.js +5 -7
- package/sdk/atoms/src/lib/components/providers/refresher-settings.service.js.map +1 -1
- package/sdk/atoms/src/lib/components/providers/refresher.d.ts +5 -3
- package/sdk/atoms/src/lib/components/providers/refresher.js +8 -10
- package/sdk/atoms/src/lib/components/providers/refresher.js.map +1 -1
- package/sdk/atoms/src/lib/components/table-widget/table-widget.component.d.ts +3 -0
- package/sdk/atoms/src/lib/components/table-widget/table-widget.component.js +10 -0
- 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 -0
- package/sdk/atoms/src/lib/components/table-widget/types.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/public-api.d.ts +0 -1
- package/sdk/atoms/src/lib/configurator/components/public-api.js +0 -1
- package/sdk/atoms/src/lib/configurator/components/public-api.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/configurator.module.js +1 -2
- package/sdk/atoms/src/lib/configurator/configurator.module.js.map +1 -1
- package/sdk/atoms/src/lib/dashboards.module.js +1 -0
- package/sdk/atoms/src/lib/dashboards.module.js.map +1 -1
- package/sdk/schematics/ng-add/index.spec.js +2 -2
- package/sdk/schematics/ng-add/index.spec.js.map +1 -1
- package/lib/common/common.module.d.ts +0 -11
- package/lib/common/components/preview-overlay/preview-overlay.component.d.ts +0 -6
- package/lib/common/components/public-api.d.ts +0 -2
- package/lib/common/components/widget-error/widget-error.component.d.ts +0 -21
- package/lib/common/constants.d.ts +0 -2
- package/lib/common/pipes/dashboard-unit-conversion-pipe.d.ts +0 -21
- package/lib/common/pipes/public-api.d.ts +0 -1
- package/lib/common/public-api.d.ts +0 -4
- package/lib/components/dashboard/dashboard.component.d.ts +0 -40
- package/lib/components/dashboard/default-gridster-config.d.ts +0 -2
- package/lib/components/dashboard/public-api.d.ts +0 -2
- package/lib/components/dashboard/types.d.ts +0 -17
- package/lib/components/embedded-content/embedded-content.component.d.ts +0 -23
- package/lib/components/kpi-widget/kpi.component.d.ts +0 -34
- package/lib/components/kpi-widget/public-api.d.ts +0 -2
- package/lib/components/kpi-widget/types.d.ts +0 -25
- package/lib/components/layouts/base-layout.d.ts +0 -28
- package/lib/components/layouts/public-api.d.ts +0 -3
- package/lib/components/layouts/stack/stack.component.d.ts +0 -19
- package/lib/components/layouts/tiles/tiles.component.d.ts +0 -23
- package/lib/components/list-widget/list-elements/list-group-item/list-group-item.component.d.ts +0 -21
- package/lib/components/list-widget/list-elements/list-leaf-item/list-leaf-item.component.d.ts +0 -24
- package/lib/components/list-widget/list-elements/list-navigation-bar/list-navigation-bar.component.d.ts +0 -16
- package/lib/components/list-widget/list-widget.component.d.ts +0 -29
- package/lib/components/list-widget/public-api.d.ts +0 -5
- package/lib/components/list-widget/types.d.ts +0 -19
- package/lib/components/loading/loading.component.d.ts +0 -11
- package/lib/components/loading/public-api.d.ts +0 -1
- package/lib/components/proportional-widget/proportional-donut-content/proportional-donut-content.component.d.ts +0 -45
- package/lib/components/proportional-widget/proportional-widget.component.d.ts +0 -77
- package/lib/components/proportional-widget/public-api.d.ts +0 -3
- package/lib/components/proportional-widget/types.d.ts +0 -61
- package/lib/components/providers/data-source-adapter.d.ts +0 -29
- package/lib/components/providers/drilldown-data-source-adapter.d.ts +0 -21
- package/lib/components/providers/event-bus-debugger.d.ts +0 -14
- package/lib/components/providers/interaction/interaction-handler.d.ts +0 -20
- package/lib/components/providers/interaction/url-interaction-handler.d.ts +0 -19
- package/lib/components/providers/kpi-color-prioritizer.d.ts +0 -33
- package/lib/components/providers/kpi-data-source-adapter.d.ts +0 -21
- package/lib/components/providers/kpi-scale-sync-broker.d.ts +0 -38
- package/lib/components/providers/kpi-status-content-fallback-adapter.d.ts +0 -29
- package/lib/components/providers/loading-adapter.d.ts +0 -17
- package/lib/components/providers/pizzagna-broadcaster.service.d.ts +0 -23
- package/lib/components/providers/public-api.d.ts +0 -8
- package/lib/components/providers/refresher-settings.service.d.ts +0 -20
- package/lib/components/providers/refresher.d.ts +0 -34
- package/lib/components/providers/status-content-fallback-adapter.d.ts +0 -19
- package/lib/components/providers/table-data-source-adapter.d.ts +0 -14
- package/lib/components/providers/timeseries-data-source-adapter.d.ts +0 -15
- package/lib/components/providers/types.d.ts +0 -57
- package/lib/components/public-api.d.ts +0 -17
- package/lib/components/risk-score-tile/public-api.d.ts +0 -2
- package/lib/components/risk-score-tile/risk-score-tile.component.d.ts +0 -32
- package/lib/components/risk-score-tile/types.d.ts +0 -26
- package/lib/components/table-widget/addons/paginator-feature-addon.service.d.ts +0 -16
- package/lib/components/table-widget/addons/search-feature-addon.service.d.ts +0 -14
- package/lib/components/table-widget/addons/virtual-scroll-feature-addon.service.d.ts +0 -16
- package/lib/components/table-widget/delayed-mouse-presence-detection.directive.d.ts +0 -13
- package/lib/components/table-widget/public-api.d.ts +0 -3
- package/lib/components/table-widget/table-widget.component.d.ts +0 -139
- package/lib/components/table-widget/types.d.ts +0 -101
- package/lib/components/template-load-error/public-api.d.ts +0 -1
- package/lib/components/template-load-error/template-load-error.component.d.ts +0 -7
- package/lib/components/time-frame-selection/public-api.d.ts +0 -1
- package/lib/components/time-frame-selection/timeframe-selection.component.d.ts +0 -31
- package/lib/components/timeseries-widget/chart-presets/public-api.d.ts +0 -7
- package/lib/components/timeseries-widget/chart-presets/status-bar-chart/apply-status-endpoints.d.ts +0 -13
- package/lib/components/timeseries-widget/chart-presets/status-bar-chart/status-bar-chart.component.d.ts +0 -51
- package/lib/components/timeseries-widget/chart-presets/timeseries-chart.component.d.ts +0 -33
- package/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/line-chart.component.d.ts +0 -14
- package/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-area-chart.component.d.ts +0 -14
- package/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-bar-chart.component.d.ts +0 -15
- package/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-percentage-area-chart.component.d.ts +0 -14
- package/lib/components/timeseries-widget/chart-presets/xy-chart/xy-chart.component.d.ts +0 -54
- package/lib/components/timeseries-widget/public-api.d.ts +0 -7
- package/lib/components/timeseries-widget/timeseries-chart-preset.service.d.ts +0 -8
- package/lib/components/timeseries-widget/timeseries-helpers.d.ts +0 -9
- package/lib/components/timeseries-widget/timeseries-inspection-menu/timeseries-inspection-menu.component.d.ts +0 -41
- package/lib/components/timeseries-widget/timeseries-scales.service.d.ts +0 -30
- package/lib/components/timeseries-widget/timeseries-widget.component.d.ts +0 -32
- package/lib/components/timeseries-widget/transformer/loess.d.ts +0 -6
- package/lib/components/timeseries-widget/transformer/public-api.d.ts +0 -9
- package/lib/components/timeseries-widget/transformer/transformer-change-point.d.ts +0 -2
- package/lib/components/timeseries-widget/transformer/transformer-difference.d.ts +0 -2
- package/lib/components/timeseries-widget/transformer/transformer-floating-average.d.ts +0 -2
- package/lib/components/timeseries-widget/transformer/transformer-lin-reg.d.ts +0 -2
- package/lib/components/timeseries-widget/transformer/transformer-loess-standardize.d.ts +0 -2
- package/lib/components/timeseries-widget/transformer/transformer-loess.d.ts +0 -2
- package/lib/components/timeseries-widget/transformer/transformer-normalize.d.ts +0 -2
- package/lib/components/timeseries-widget/transformer/transformer-percentile-std.d.ts +0 -2
- package/lib/components/timeseries-widget/transformer/transformer-standardize.d.ts +0 -2
- package/lib/components/timeseries-widget/types.d.ts +0 -131
- package/lib/components/types.d.ts +0 -54
- package/lib/components/widget/public-api.d.ts +0 -6
- package/lib/components/widget/types.d.ts +0 -38
- package/lib/components/widget/widget-body/widget-body.component.d.ts +0 -33
- package/lib/components/widget/widget-body-content/widget-body-content.component.d.ts +0 -37
- package/lib/components/widget/widget-header/types.d.ts +0 -11
- package/lib/components/widget/widget-header/widget-header.component.d.ts +0 -54
- package/lib/components/widget/widget.component.d.ts +0 -18
- package/lib/components/widget-search/types.d.ts +0 -7
- package/lib/components/widget-search/widget-search.component.d.ts +0 -27
- package/lib/configurator/components/color-picker/HTMLcolors.d.ts +0 -1
- package/lib/configurator/components/color-picker/color-picker.component.d.ts +0 -42
- package/lib/configurator/components/color-picker/color.service.d.ts +0 -8
- package/lib/configurator/components/configurator/configurator.component.d.ts +0 -33
- package/lib/configurator/components/drop-area/drop-area.component.d.ts +0 -5
- package/lib/configurator/components/form-stack/form-stack.component.d.ts +0 -25
- package/lib/configurator/components/formatters/donut-content-percentage-formatter/donut-content-percentage-configuration.component.d.ts +0 -13
- package/lib/configurator/components/formatters/donut-content-percentage-formatter/donut-content-percentage-formatter.component.d.ts +0 -23
- package/lib/configurator/components/formatters/donut-content-raw-formatter/donut-content-raw-formatter.component.d.ts +0 -19
- package/lib/configurator/components/formatters/donut-content-sum-formatter/donut-content-sum-formatter.component.d.ts +0 -13
- package/lib/configurator/components/formatters/icon-formatter/icon-formatter.component.d.ts +0 -17
- package/lib/configurator/components/formatters/link-formatter/link-formatter.component.d.ts +0 -15
- package/lib/configurator/components/formatters/percentage-formatter/percentage-formatter.component.d.ts +0 -7
- package/lib/configurator/components/formatters/raw-formatter/raw-formatter.component.d.ts +0 -12
- package/lib/configurator/components/formatters/si-units-formatter/si-units-formatter.component.d.ts +0 -20
- package/lib/configurator/components/formatters/status-with-icon-formatter/status-with-icon-formatter.component.d.ts +0 -18
- package/lib/configurator/components/formatters/types.d.ts +0 -7
- package/lib/configurator/components/formatters/widget-formatter-configurators/donut-formatter-configurator.component.d.ts +0 -31
- package/lib/configurator/components/heading/configurator-heading.component.d.ts +0 -14
- package/lib/configurator/components/items-dynamic/items-dynamic.component.d.ts +0 -39
- package/lib/configurator/components/preview-placeholder/preview-placeholder.component.d.ts +0 -6
- package/lib/configurator/components/public-api.d.ts +0 -26
- package/lib/configurator/components/types.d.ts +0 -12
- package/lib/configurator/components/widget-cloner/widget-cloner.component.d.ts +0 -44
- package/lib/configurator/components/widget-configurator-section/widget-configurator-section-coordinator.service.d.ts +0 -10
- package/lib/configurator/components/widget-configurator-section/widget-configurator-section.component.d.ts +0 -26
- package/lib/configurator/components/widget-editor/widget-editor.component.d.ts +0 -35
- package/lib/configurator/components/widget-editor-accordion/widget-editor-accordion-header/widget-editor-accordion-header.component.d.ts +0 -9
- package/lib/configurator/components/widget-editor-accordion/widget-editor-accordion.component.d.ts +0 -23
- package/lib/configurator/components/widgets/configurator-items/background-color-rules-configuration/background-color-rules-configuration.component.d.ts +0 -35
- package/lib/configurator/components/widgets/configurator-items/data-source-configuration/data-source-configuration.component.d.ts +0 -51
- package/lib/configurator/components/widgets/configurator-items/data-source-configuration-v2/data-source-configuration-v2.component.d.ts +0 -51
- package/lib/configurator/components/widgets/configurator-items/data-source-error/data-source-error.component.d.ts +0 -22
- package/lib/configurator/components/widgets/configurator-items/data-source-error/public-api.d.ts +0 -2
- package/lib/configurator/components/widgets/configurator-items/data-source-error/table/table-data-source-error.component.d.ts +0 -11
- package/lib/configurator/components/widgets/configurator-items/embedded-content-configuration/embedded-content-configuration.component.d.ts +0 -31
- package/lib/configurator/components/widgets/configurator-items/info-message-configuration/info-message-configuration.component.d.ts +0 -15
- package/lib/configurator/components/widgets/configurator-items/kpi-description-configuration/kpi-description-configuration.component.d.ts +0 -28
- package/lib/configurator/components/widgets/configurator-items/public-api.d.ts +0 -11
- package/lib/configurator/components/widgets/configurator-items/refresher-configuration/public-api.d.ts +0 -2
- package/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/refresh-rate-configurator.component.d.ts +0 -47
- package/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/time-units.d.ts +0 -21
- package/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/types.d.ts +0 -5
- package/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresher-configuration.component.d.ts +0 -33
- package/lib/configurator/components/widgets/configurator-items/risk-score-tile-description-configuration/risk-score-tile-description-configuration.component.d.ts +0 -26
- package/lib/configurator/components/widgets/configurator-items/thresholds-configuration/thresholds-configuration.component.d.ts +0 -38
- package/lib/configurator/components/widgets/configurator-items/thresholds-configuration/thresholds-validator.d.ts +0 -2
- package/lib/configurator/components/widgets/configurator-items/timeseries-metadata-configuration/timeseries-metadata-configuration.component.d.ts +0 -40
- package/lib/configurator/components/widgets/configurator-items/title-and-description-configuration/title-and-description-configuration.component.d.ts +0 -24
- package/lib/configurator/components/widgets/drilldown/entity-formatting-configuration/entity-formatting-configuration.component.d.ts +0 -20
- package/lib/configurator/components/widgets/drilldown/grouping-configuration/grouping-configuration.component.d.ts +0 -33
- package/lib/configurator/components/widgets/drilldown/public-api.d.ts +0 -2
- package/lib/configurator/components/widgets/kpi/kpi-tiles-configuration/kpi-tiles-configuration.component.d.ts +0 -32
- package/lib/configurator/components/widgets/kpi/kpi-tiles-configuration/public-api.d.ts +0 -1
- package/lib/configurator/components/widgets/kpi/public-api.d.ts +0 -2
- package/lib/configurator/components/widgets/kpi/types.d.ts +0 -32
- package/lib/configurator/components/widgets/proportional/aggregators-configurators/aggregator-configurator/aggregator-configurator.component.d.ts +0 -27
- package/lib/configurator/components/widgets/proportional/aggregators-configurators/field-mapper-aggregator-configurator/field-mapper-aggregator-configurator.component.d.ts +0 -19
- package/lib/configurator/components/widgets/proportional/chart-options-editor/proportional-chart-options-editor.component.d.ts +0 -52
- package/lib/configurator/components/widgets/proportional/chart-options-editor-v2/proportional-chart-options-editor-v2.component.d.ts +0 -34
- package/lib/configurator/components/widgets/proportional/donut-content-configuration/donut-content-configuration.component.d.ts +0 -53
- package/lib/configurator/components/widgets/proportional/public-api.d.ts +0 -5
- package/lib/configurator/components/widgets/public-api.d.ts +0 -7
- package/lib/configurator/components/widgets/risk-score/public-api.d.ts +0 -2
- package/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/public-api.d.ts +0 -1
- package/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/risk-score-tiles-configuration.component.d.ts +0 -32
- package/lib/configurator/components/widgets/risk-score/types.d.ts +0 -7
- package/lib/configurator/components/widgets/table/columns-editor/column-configuration/description-configuration/description-configuration.component.d.ts +0 -23
- package/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/formatter-configurator.component.d.ts +0 -37
- package/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/link-configurator/link-configurator.component.d.ts +0 -14
- package/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/value-selector/value-selector.component.d.ts +0 -13
- package/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/presentation-configuration.component.d.ts +0 -66
- package/lib/configurator/components/widgets/table/columns-editor/table-columns-configuration.component.d.ts +0 -46
- package/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/description-configuration/description-configuration-v2.component.d.ts +0 -27
- package/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/presentation-configuration/presentation-configuration-v2.component.d.ts +0 -75
- package/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/table-column-configuration/table-column-configuration.component.d.ts +0 -25
- package/lib/configurator/components/widgets/table/columns-editor-v2/table-columns-configuration-v2.component.d.ts +0 -71
- package/lib/configurator/components/widgets/table/filters-editor/table-filters-editor.component.d.ts +0 -27
- package/lib/configurator/components/widgets/table/public-api.d.ts +0 -12
- package/lib/configurator/components/widgets/table/scrollType-editor/scroll-type-editor.component.d.ts +0 -48
- package/lib/configurator/components/widgets/table/scrollType-editor/scroll-type-editor.service.d.ts +0 -12
- package/lib/configurator/components/widgets/timeseries/public-api.d.ts +0 -5
- package/lib/configurator/components/widgets/timeseries/timeseries-series-collection-configuration/timeseries-series-collection-configuration.component.d.ts +0 -34
- package/lib/configurator/components/widgets/timeseries/timeseries-tile-description-configuration/timeseries-tile-description-configuration.component.d.ts +0 -19
- package/lib/configurator/components/widgets/timeseries/timeseries-tile-indicator-data-configuration/timeseries-tile-indicator-data-configuration.component.d.ts +0 -32
- package/lib/configurator/components/widgets/timeseries/types.d.ts +0 -4
- package/lib/configurator/components/wizard/dashwiz/dashwiz-buttons.component.d.ts +0 -25
- package/lib/configurator/components/wizard/dashwiz/dashwiz.component.d.ts +0 -111
- package/lib/configurator/components/wizard/dashwiz/dashwiz.service.d.ts +0 -8
- package/lib/configurator/components/wizard/dashwiz/model.d.ts +0 -81
- package/lib/configurator/components/wizard/dashwiz/public-api.d.ts +0 -3
- package/lib/configurator/components/wizard/dashwiz-step/dashwiz-step.component.d.ts +0 -79
- package/lib/configurator/components/wizard/dashwiz-step/public-api.d.ts +0 -1
- package/lib/configurator/components/wizard/public-api.d.ts +0 -3
- package/lib/configurator/components/wizard/types.d.ts +0 -40
- package/lib/configurator/configurator.module.d.ts +0 -83
- package/lib/configurator/functions/has-control-in-error-state.d.ts +0 -11
- package/lib/configurator/functions/public-api.d.ts +0 -1
- package/lib/configurator/pipe/add-data.pipe.d.ts +0 -7
- package/lib/configurator/pipe/pizzagna-root.pipe.d.ts +0 -11
- package/lib/configurator/pipe/public-api.d.ts +0 -5
- package/lib/configurator/pipe/widget-configurator-section-header.pipe.d.ts +0 -8
- package/lib/configurator/pipe/widget-editor-accordion-form-state.pipe.d.ts +0 -10
- package/lib/configurator/pipe/widget-editor-accordion-header-icon.pipe.d.ts +0 -10
- package/lib/configurator/public-api.d.ts +0 -6
- package/lib/configurator/services/configurator-data-source-manager.service.d.ts +0 -21
- package/lib/configurator/services/configurator-heading.service.d.ts +0 -7
- package/lib/configurator/services/configurator.service.d.ts +0 -29
- package/lib/configurator/services/converters/base-converter.d.ts +0 -28
- package/lib/configurator/services/converters/kpi/kpi-section-converter/kpi-section-converter.service.d.ts +0 -19
- package/lib/configurator/services/converters/kpi/kpi-tiles-converter.service.d.ts +0 -18
- package/lib/configurator/services/converters/proportional/proportional-widget-chart-options-converter.service.d.ts +0 -16
- package/lib/configurator/services/converters/public-api.d.ts +0 -6
- package/lib/configurator/services/converters/shared/generic-array-converter/generic-array-converter.service.d.ts +0 -19
- package/lib/configurator/services/converters/shared/generic-converter/generic-converter.service.d.ts +0 -18
- package/lib/configurator/services/converters/shared/title-and-description-converter/title-and-description-converter.service.d.ts +0 -16
- package/lib/configurator/services/converters/table/table-columns-converter.service.d.ts +0 -31
- package/lib/configurator/services/converters/table/table-filters-converter.service.d.ts +0 -15
- package/lib/configurator/services/converters/table/table-scroll-type-converter.service.d.ts +0 -15
- package/lib/configurator/services/converters/timeseries/timeseries-metadata-converter.service.d.ts +0 -16
- package/lib/configurator/services/converters/timeseries/timeseries-series-converter.service.d.ts +0 -23
- package/lib/configurator/services/converters/timeseries/timeseries-tile-indicator-data-converter.service.d.ts +0 -15
- package/lib/configurator/services/converters/types.d.ts +0 -19
- package/lib/configurator/services/kpi-widget-color.service.d.ts +0 -11
- package/lib/configurator/services/preview.service.d.ts +0 -11
- package/lib/configurator/services/public-api.d.ts +0 -9
- package/lib/configurator/services/timeframe-serialization.service.d.ts +0 -9
- package/lib/configurator/services/types.d.ts +0 -29
- package/lib/configurator/services/widget-cloner.service.d.ts +0 -14
- package/lib/configurator/services/widget-editor.service.d.ts +0 -14
- package/lib/configurator/types.d.ts +0 -6
- package/lib/constants/default-palette.d.ts +0 -8
- package/lib/constants/public-api.d.ts +0 -1
- package/lib/constants/si-units-prefixes.d.ts +0 -7
- package/lib/dashboards.module.d.ts +0 -50
- package/lib/directives/gridster-item-widget-id/gridster-item-widget-id.directive.d.ts +0 -15
- package/lib/directives/public-api.d.ts +0 -2
- package/lib/directives/widget-editor/public-api.d.ts +0 -1
- package/lib/directives/widget-editor/widget-editor.directive.d.ts +0 -20
- package/lib/functions/get-parent-component-id.d.ts +0 -7
- package/lib/functions/map-data-to-formatter-properties.d.ts +0 -15
- package/lib/functions/merge-changes.d.ts +0 -13
- package/lib/functions/on-mark-as-touched.d.ts +0 -8
- package/lib/functions/parse-string-with-data.d.ts +0 -5
- package/lib/functions/proportional-aggregators/field-mapper.d.ts +0 -5
- package/lib/functions/proportional-aggregators/percentage-aggregator.d.ts +0 -11
- package/lib/functions/proportional-aggregators/public-api.d.ts +0 -4
- package/lib/functions/proportional-aggregators/sum-aggregator.d.ts +0 -5
- package/lib/functions/proportional-aggregators/types.d.ts +0 -25
- package/lib/functions/public-api.d.ts +0 -4
- package/lib/functions/round-array-values.d.ts +0 -1
- package/lib/functions/timeseries-datetime-formatter.d.ts +0 -4
- package/lib/pizzagna/components/pizzagna/pizzagna.component.d.ts +0 -34
- package/lib/pizzagna/components/pizzagna/public-api.d.ts +0 -1
- package/lib/pizzagna/directives/component-portal/component-portal.directive.d.ts +0 -47
- package/lib/pizzagna/directives/component-portal/public-api.d.ts +0 -1
- package/lib/pizzagna/functions/get-pizzagna-property-path.d.ts +0 -7
- package/lib/pizzagna/functions/public-api.d.ts +0 -1
- package/lib/pizzagna/pizzagna.module.d.ts +0 -10
- package/lib/pizzagna/public-api.d.ts +0 -6
- package/lib/pizzagna/services/component-portal.service.d.ts +0 -16
- package/lib/pizzagna/services/component-registry.service.d.ts +0 -16
- package/lib/pizzagna/services/dynamic-component-creator.service.d.ts +0 -10
- package/lib/pizzagna/services/pizzagna.service.d.ts +0 -27
- package/lib/pizzagna/services/public-api.d.ts +0 -4
- package/lib/services/category-chart-util.service.d.ts +0 -29
- package/lib/services/event-registry.service.d.ts +0 -9
- package/lib/services/kpi-color-comparators-registry.service.d.ts +0 -12
- package/lib/services/proportional-content-aggregators-registry.service.d.ts +0 -10
- package/lib/services/provider-registry.service.d.ts +0 -14
- package/lib/services/public-api.d.ts +0 -11
- package/lib/services/registry-service.d.ts +0 -27
- package/lib/services/table-formatter-registry.service.d.ts +0 -40
- package/lib/services/types.d.ts +0 -88
- package/lib/services/unit-test-registry.service.d.ts +0 -10
- package/lib/services/url-interaction.service.d.ts +0 -10
- package/lib/services/widget-configuration.service.d.ts +0 -9
- package/lib/services/widget-removal.service.d.ts +0 -15
- package/lib/services/widget-to-dashboard-event-proxy.service.d.ts +0 -53
- package/lib/services/widget-types.service.d.ts +0 -19
- package/lib/types.d.ts +0 -128
- package/lib/widget-types/common/configurator/components.d.ts +0 -5
- package/lib/widget-types/common/configurator/public-api.d.ts +0 -1
- package/lib/widget-types/common/public-api.d.ts +0 -2
- package/lib/widget-types/common/widget/components.d.ts +0 -37
- package/lib/widget-types/common/widget/legend.d.ts +0 -9
- package/lib/widget-types/common/widget/providers.d.ts +0 -14
- package/lib/widget-types/common/widget/public-api.d.ts +0 -4
- package/lib/widget-types/common/widget/types.d.ts +0 -8
- package/lib/widget-types/drilldown/drilldown-configurator.d.ts +0 -76
- package/lib/widget-types/drilldown/drilldown-widget.d.ts +0 -2
- package/lib/widget-types/drilldown/drilldown.d.ts +0 -5
- package/lib/widget-types/embedded-content/embedded-content-configurator.d.ts +0 -47
- package/lib/widget-types/embedded-content/embedded-content-widget.d.ts +0 -32
- package/lib/widget-types/embedded-content/embedded-content.d.ts +0 -5
- package/lib/widget-types/kpi/kpi-configurator.d.ts +0 -131
- package/lib/widget-types/kpi/kpi-widget.d.ts +0 -56
- package/lib/widget-types/kpi/kpi.d.ts +0 -5
- package/lib/widget-types/preview-placeholder.d.ts +0 -2
- package/lib/widget-types/proportional/donut-content-configurator-slice.d.ts +0 -58
- package/lib/widget-types/proportional/proportional-configurator.d.ts +0 -95
- package/lib/widget-types/proportional/proportional-widget.d.ts +0 -54
- package/lib/widget-types/proportional/proportional.d.ts +0 -5
- package/lib/widget-types/public-api.d.ts +0 -4
- package/lib/widget-types/risk-score/risk-score-configurator.d.ts +0 -97
- package/lib/widget-types/risk-score/risk-score-widget.d.ts +0 -55
- package/lib/widget-types/risk-score/risk-score.d.ts +0 -5
- package/lib/widget-types/table/default-table-formatters.d.ts +0 -2
- package/lib/widget-types/table/table-configurator.d.ts +0 -2
- package/lib/widget-types/table/table-widget.d.ts +0 -2
- package/lib/widget-types/table/table.d.ts +0 -2
- package/lib/widget-types/timeseries/timeseries-configurator.d.ts +0 -2
- package/lib/widget-types/timeseries/timeseries-widget.d.ts +0 -62
- package/lib/widget-types/timeseries/timeseries.d.ts +0 -5
- package/public-api.d.ts +0 -11
- package/sdk/atoms/src/lib/configurator/components/color-picker/HTMLcolors.d.ts +0 -1
- package/sdk/atoms/src/lib/configurator/components/color-picker/HTMLcolors.js +0 -166
- package/sdk/atoms/src/lib/configurator/components/color-picker/HTMLcolors.js.map +0 -1
- package/sdk/atoms/src/lib/configurator/components/color-picker/color-picker.component.d.ts +0 -39
- package/sdk/atoms/src/lib/configurator/components/color-picker/color-picker.component.js +0 -185
- package/sdk/atoms/src/lib/configurator/components/color-picker/color-picker.component.js.map +0 -1
- package/sdk/atoms/src/lib/configurator/components/color-picker/color.service.d.ts +0 -5
- package/sdk/atoms/src/lib/configurator/components/color-picker/color.service.js +0 -58
- package/sdk/atoms/src/lib/configurator/components/color-picker/color.service.js.map +0 -1
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { ComponentRegistryService } from "./pizzagna/services/component-registry.service";
|
|
2
|
-
import { EventRegistryService } from "./services/event-registry.service";
|
|
3
|
-
import { KpiFormattersRegistryService, RiskScoreFormattersRegistryService } from "./services/table-formatter-registry.service";
|
|
4
|
-
import { WidgetTypesService } from "./services/widget-types.service";
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "./components/dashboard/dashboard.component";
|
|
7
|
-
import * as i2 from "./components/embedded-content/embedded-content.component";
|
|
8
|
-
import * as i3 from "./directives/gridster-item-widget-id/gridster-item-widget-id.directive";
|
|
9
|
-
import * as i4 from "./components/kpi-widget/kpi.component";
|
|
10
|
-
import * as i5 from "./components/risk-score-tile/risk-score-tile.component";
|
|
11
|
-
import * as i6 from "./components/timeseries-widget/chart-presets/xy-chart/chart-types/line-chart.component";
|
|
12
|
-
import * as i7 from "./components/loading/loading.component";
|
|
13
|
-
import * as i8 from "./components/proportional-widget/proportional-widget.component";
|
|
14
|
-
import * as i9 from "./components/layouts/stack/stack.component";
|
|
15
|
-
import * as i10 from "./components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-area-chart.component";
|
|
16
|
-
import * as i11 from "./components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-bar-chart.component";
|
|
17
|
-
import * as i12 from "./components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-percentage-area-chart.component";
|
|
18
|
-
import * as i13 from "./components/timeseries-widget/chart-presets/status-bar-chart/status-bar-chart.component";
|
|
19
|
-
import * as i14 from "./components/table-widget/table-widget.component";
|
|
20
|
-
import * as i15 from "./components/table-widget/delayed-mouse-presence-detection.directive";
|
|
21
|
-
import * as i16 from "./components/template-load-error/template-load-error.component";
|
|
22
|
-
import * as i17 from "./components/layouts/tiles/tiles.component";
|
|
23
|
-
import * as i18 from "./components/time-frame-selection/timeframe-selection.component";
|
|
24
|
-
import * as i19 from "./components/timeseries-widget/timeseries-widget.component";
|
|
25
|
-
import * as i20 from "./components/widget/widget-body/widget-body.component";
|
|
26
|
-
import * as i21 from "./components/widget/widget-body-content/widget-body-content.component";
|
|
27
|
-
import * as i22 from "./components/widget/widget.component";
|
|
28
|
-
import * as i23 from "./directives/widget-editor/widget-editor.directive";
|
|
29
|
-
import * as i24 from "./components/widget/widget-header/widget-header.component";
|
|
30
|
-
import * as i25 from "./components/list-widget/list-widget.component";
|
|
31
|
-
import * as i26 from "./components/list-widget/list-elements/list-leaf-item/list-leaf-item.component";
|
|
32
|
-
import * as i27 from "./components/list-widget/list-elements/list-group-item/list-group-item.component";
|
|
33
|
-
import * as i28 from "./components/list-widget/list-elements/list-navigation-bar/list-navigation-bar.component";
|
|
34
|
-
import * as i29 from "./components/widget-search/widget-search.component";
|
|
35
|
-
import * as i30 from "./components/proportional-widget/proportional-donut-content/proportional-donut-content.component";
|
|
36
|
-
import * as i31 from "./components/timeseries-widget/timeseries-inspection-menu/timeseries-inspection-menu.component";
|
|
37
|
-
import * as i32 from "./common/common.module";
|
|
38
|
-
import * as i33 from "angular-gridster2";
|
|
39
|
-
import * as i34 from "@nova-ui/bits";
|
|
40
|
-
import * as i35 from "@nova-ui/charts";
|
|
41
|
-
import * as i36 from "./configurator/configurator.module";
|
|
42
|
-
import * as i37 from "./pizzagna/pizzagna.module";
|
|
43
|
-
import * as i38 from "@angular/cdk/scrolling";
|
|
44
|
-
import * as i39 from "@angular/forms";
|
|
45
|
-
export declare class NuiDashboardsModule {
|
|
46
|
-
constructor(widgetTypesService: WidgetTypesService, componentRegistry: ComponentRegistryService, eventRegistry: EventRegistryService, kpiFormattersRegistry: KpiFormattersRegistryService, riskScoreFormattersRegistry: RiskScoreFormattersRegistryService);
|
|
47
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NuiDashboardsModule, never>;
|
|
48
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NuiDashboardsModule, [typeof i1.DashboardComponent, typeof i2.EmbeddedContentComponent, typeof i3.GridsterItemWidgetIdDirective, typeof i4.KpiComponent, typeof i5.RiskScoreTileComponent, typeof i6.LineChartComponent, typeof i7.LoadingComponent, typeof i8.ProportionalWidgetComponent, typeof i9.StackComponent, typeof i10.StackedAreaChartComponent, typeof i11.StackedBarChartComponent, typeof i12.StackedPercentageAreaChartComponent, typeof i13.StatusBarChartComponent, typeof i14.TableWidgetComponent, typeof i15.DelayedMousePresenceDetectionDirective, typeof i16.TemplateLoadErrorComponent, typeof i17.TilesComponent, typeof i18.TimeframeSelectionComponent, typeof i19.TimeseriesWidgetComponent, typeof i20.WidgetBodyComponent, typeof i21.WidgetBodyContentComponent, typeof i22.WidgetComponent, typeof i23.WidgetEditorDirective, typeof i24.WidgetHeaderComponent, typeof i25.ListWidgetComponent, typeof i26.ListLeafItemComponent, typeof i27.ListGroupItemComponent, typeof i28.ListNavigationBarComponent, typeof i29.WidgetSearchComponent, typeof i30.ProportionalDonutContentComponent, typeof i31.TimeseriesInspectionMenuComponent], [typeof i32.NuiDashboardsCommonModule, typeof i33.GridsterModule, typeof i34.NuiBusyModule, typeof i34.NuiButtonModule, typeof i35.NuiChartsModule, typeof i36.NuiDashboardConfiguratorModule, typeof i34.NuiIconModule, typeof i34.NuiImageModule, typeof i34.NuiMenuModule, typeof i37.NuiPizzagnaModule, typeof i34.NuiPopupModule, typeof i34.NuiProgressModule, typeof i34.NuiTableModule, typeof i34.NuiTimeFrameBarModule, typeof i38.ScrollingModule, typeof i34.NuiTimeFramePickerModule, typeof i39.ReactiveFormsModule, typeof i34.NuiSpinnerModule, typeof i34.NuiTooltipModule, typeof i34.NuiSearchModule, typeof i34.NuiCommonModule, typeof i34.NuiRepeatModule, typeof i34.NuiRiskScoreModule, typeof i34.NuiSelectModule, typeof i34.NuiPopoverModule, typeof i34.NuiPaginatorModule], [typeof i1.DashboardComponent, typeof i2.EmbeddedContentComponent, typeof i3.GridsterItemWidgetIdDirective, typeof i4.KpiComponent, typeof i5.RiskScoreTileComponent, typeof i6.LineChartComponent, typeof i7.LoadingComponent, typeof i8.ProportionalWidgetComponent, typeof i9.StackComponent, typeof i10.StackedAreaChartComponent, typeof i11.StackedBarChartComponent, typeof i12.StackedPercentageAreaChartComponent, typeof i13.StatusBarChartComponent, typeof i14.TableWidgetComponent, typeof i15.DelayedMousePresenceDetectionDirective, typeof i16.TemplateLoadErrorComponent, typeof i17.TilesComponent, typeof i18.TimeframeSelectionComponent, typeof i19.TimeseriesWidgetComponent, typeof i20.WidgetBodyComponent, typeof i21.WidgetBodyContentComponent, typeof i22.WidgetComponent, typeof i23.WidgetEditorDirective, typeof i24.WidgetHeaderComponent, typeof i25.ListWidgetComponent, typeof i26.ListLeafItemComponent, typeof i27.ListGroupItemComponent, typeof i28.ListNavigationBarComponent, typeof i29.WidgetSearchComponent, typeof i30.ProportionalDonutContentComponent, typeof i31.TimeseriesInspectionMenuComponent]>;
|
|
49
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<NuiDashboardsModule>;
|
|
50
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { OnChanges, SimpleChanges } from "@angular/core";
|
|
2
|
-
import { GridsterItemComponent } from "angular-gridster2";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* This directive assigns a "widgetId" property to host gridster item. We need it there because moving and resizing the widget with gridster only contains
|
|
6
|
-
* gridster position data and gridster component payload, so we need to identify which widget that event belongs to.
|
|
7
|
-
*/
|
|
8
|
-
export declare class GridsterItemWidgetIdDirective implements OnChanges {
|
|
9
|
-
private gridsterItem;
|
|
10
|
-
nuiGridsterItemWidgetId: string;
|
|
11
|
-
constructor(gridsterItem: GridsterItemComponent);
|
|
12
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GridsterItemWidgetIdDirective, [{ host: true; self: true; }]>;
|
|
14
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<GridsterItemWidgetIdDirective, "[nuiGridsterItemWidgetId]", never, { "nuiGridsterItemWidgetId": { "alias": "nuiGridsterItemWidgetId"; "required": false; }; }, {}, never, never, false, never>;
|
|
15
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./widget-editor.directive";
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { OnDestroy, OnInit } from "@angular/core";
|
|
2
|
-
import { DashboardComponent } from "../../components/dashboard/dashboard.component";
|
|
3
|
-
import { IDashboardPersistenceHandler } from "../../components/dashboard/types";
|
|
4
|
-
import { WidgetEditorService } from "../../configurator/services/widget-editor.service";
|
|
5
|
-
import { WidgetRemovalService } from "../../services/widget-removal.service";
|
|
6
|
-
import { WidgetTypesService } from "../../services/widget-types.service";
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class WidgetEditorDirective implements OnInit, OnDestroy {
|
|
9
|
-
private dashboardComponent;
|
|
10
|
-
private widgetEditorService;
|
|
11
|
-
private widgetRemovalService;
|
|
12
|
-
private widgetTypesService;
|
|
13
|
-
dashboardPersistenceHandler: IDashboardPersistenceHandler;
|
|
14
|
-
private readonly destroy$;
|
|
15
|
-
constructor(dashboardComponent: DashboardComponent, widgetEditorService: WidgetEditorService, widgetRemovalService: WidgetRemovalService, widgetTypesService: WidgetTypesService);
|
|
16
|
-
ngOnInit(): void;
|
|
17
|
-
ngOnDestroy(): void;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetEditorDirective, [{ host: true; self: true; }, null, null, null]>;
|
|
19
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<WidgetEditorDirective, "[nuiWidgetEditor]", never, { "dashboardPersistenceHandler": { "alias": "nuiWidgetEditor"; "required": false; }; }, {}, never, never, false, never>;
|
|
20
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { IFormatter } from "../components/types";
|
|
2
|
-
import { IFormatterData } from "../configurator/components/formatters/types";
|
|
3
|
-
/**
|
|
4
|
-
*
|
|
5
|
-
* Takes formatter "dataFieldIds" from "properties" and maps the data to the formatter input.
|
|
6
|
-
* Might be used for nuiComponentPortal directive for formatter "properties"
|
|
7
|
-
*
|
|
8
|
-
* @param formatter
|
|
9
|
-
* @param data
|
|
10
|
-
*/
|
|
11
|
-
export declare function mapDataToFormatterProperties<T extends {
|
|
12
|
-
[key: string]: any;
|
|
13
|
-
}>(formatter: IFormatter, data: T): {
|
|
14
|
-
data: IFormatterData;
|
|
15
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export interface IValueChange {
|
|
2
|
-
previousValue: any;
|
|
3
|
-
currentValue: any;
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
* This function takes a source object with a prioritized list of changes. Goes through and detects the changes on every one of these structures and builds
|
|
7
|
-
* a new object that respects immutability and updates object references only where necessary. This is used to merge lasagna overlays into a component state
|
|
8
|
-
* that maintains its immutability and high performance of change detection.
|
|
9
|
-
*
|
|
10
|
-
* @param result
|
|
11
|
-
* @param changes
|
|
12
|
-
*/
|
|
13
|
-
export declare function mergeChanges<T>(result: T, ...changes: IValueChange[]): T;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AbstractControl } from "@angular/forms";
|
|
2
|
-
/**
|
|
3
|
-
* This is the only way to be notified of the parent form control being "touched"
|
|
4
|
-
* We replace the parent formControl method with our own implementation that also calls the original function
|
|
5
|
-
* @param formControl
|
|
6
|
-
* @param callback Run this callback when the `formControl.markAsTouched` is run
|
|
7
|
-
*/
|
|
8
|
-
export declare function onMarkAsTouched(formControl: AbstractControl, callback: Function): void;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { IProportionalAggregatorFn, IProportionalDonutContentAggregatorProperties } from "./types";
|
|
2
|
-
export interface IFieldMapperAggregatorProperties extends IProportionalDonutContentAggregatorProperties {
|
|
3
|
-
chartSeriesDataFieldId?: string;
|
|
4
|
-
}
|
|
5
|
-
export declare const fieldMapper: IProportionalAggregatorFn;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { IProportionalAggregatorFn, IProportionalDonutContentAggregatorProperties } from "./types";
|
|
2
|
-
export interface IPercentageAggregatorProperties extends IProportionalDonutContentAggregatorProperties {
|
|
3
|
-
/** if "true" it'll be 58 not 0.58 */
|
|
4
|
-
base100?: boolean;
|
|
5
|
-
}
|
|
6
|
-
/**
|
|
7
|
-
* Aggregator for the Proportional Widget with Donut chart type.
|
|
8
|
-
*
|
|
9
|
-
* Receives all the metrics from the donut and gets the active metric percentage.
|
|
10
|
-
*/
|
|
11
|
-
export declare const percentageAggregator: IProportionalAggregatorFn;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { IChartSeries } from "@nova-ui/charts";
|
|
2
|
-
export interface IProportionalDonutContentAggregatorProperties {
|
|
3
|
-
/** Metric Id, case sensitive. */
|
|
4
|
-
activeMetricId?: string;
|
|
5
|
-
[key: string]: any;
|
|
6
|
-
}
|
|
7
|
-
export interface IProportionalDonutContentAggregator {
|
|
8
|
-
aggregatorType: string;
|
|
9
|
-
properties?: IProportionalDonutContentAggregatorProperties;
|
|
10
|
-
}
|
|
11
|
-
interface IAggregatorChartData extends Pick<IChartSeries<any>, "id" | "data"> {
|
|
12
|
-
[key: string]: any;
|
|
13
|
-
}
|
|
14
|
-
export type IProportionalAggregatorOrigin = Array<IAggregatorChartData>;
|
|
15
|
-
export type IProportionalAggregatorFn = ((origin: IProportionalAggregatorOrigin, properties?: IProportionalDonutContentAggregatorProperties) => string) & {
|
|
16
|
-
aggregatorType: string;
|
|
17
|
-
};
|
|
18
|
-
export interface IProportionalDonutContentAggregatorDefinition {
|
|
19
|
-
aggregatorType: string;
|
|
20
|
-
label: string;
|
|
21
|
-
fn: IProportionalAggregatorFn;
|
|
22
|
-
properties?: IProportionalDonutContentAggregatorProperties;
|
|
23
|
-
configurationComponent?: string;
|
|
24
|
-
}
|
|
25
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function roundToOptimalDecimals(arr: number[], optimalDecimals?: Map<number, number>): number[];
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnChanges, SimpleChanges } from "@angular/core";
|
|
2
|
-
import { EventBus, IEvent, LoggerService } from "@nova-ui/bits";
|
|
3
|
-
import { IComponentConfiguration, IPizzagna } from "../../../types";
|
|
4
|
-
import { PizzagnaService } from "../../services/pizzagna.service";
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class PizzagnaComponent implements OnChanges {
|
|
7
|
-
pizzagnaService: PizzagnaService;
|
|
8
|
-
logger: LoggerService;
|
|
9
|
-
eventBus: EventBus<IEvent>;
|
|
10
|
-
rootNode: string;
|
|
11
|
-
get pizzagna(): IPizzagna;
|
|
12
|
-
set pizzagna(value: IPizzagna);
|
|
13
|
-
private _pizzagna;
|
|
14
|
-
private _pizzagnaBuffer;
|
|
15
|
-
outputs: string[];
|
|
16
|
-
pizzagnaChange: EventEmitter<IPizzagna>;
|
|
17
|
-
output: EventEmitter<IEvent<any>>;
|
|
18
|
-
pizza: Record<string, IComponentConfiguration>;
|
|
19
|
-
constructor(pizzagnaService: PizzagnaService, logger: LoggerService, eventBus: EventBus<IEvent>);
|
|
20
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
21
|
-
onOutput(event: IEvent): void;
|
|
22
|
-
/**
|
|
23
|
-
* This takes all the pizzagna layers and merges them into one component pizza
|
|
24
|
-
*
|
|
25
|
-
* @param pizza
|
|
26
|
-
* @param previousPizzagna
|
|
27
|
-
* @param currentPizzagna
|
|
28
|
-
*/
|
|
29
|
-
private mergePizzagnaIntoPizza;
|
|
30
|
-
private getLayerChanges;
|
|
31
|
-
private getLayerSafe;
|
|
32
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PizzagnaComponent, never>;
|
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PizzagnaComponent, "nui-pizzagna", never, { "rootNode": { "alias": "rootNode"; "required": false; }; "pizzagna": { "alias": "pizzagna"; "required": false; }; "outputs": { "alias": "outputs"; "required": false; }; }, { "pizzagnaChange": "pizzagnaChange"; "output": "output"; }, never, never, false, never>;
|
|
34
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./pizzagna.component";
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { Portal } from "@angular/cdk/portal";
|
|
2
|
-
import { AfterViewInit, ComponentRef, EventEmitter, Injector, OnChanges, OnDestroy, OnInit, Renderer2, SimpleChanges } from "@angular/core";
|
|
3
|
-
import { IEvent, LoggerService } from "@nova-ui/bits";
|
|
4
|
-
import { ProviderRegistryService } from "../../../services/provider-registry.service";
|
|
5
|
-
import { IProviderConfiguration } from "../../../types";
|
|
6
|
-
import { ComponentPortalService } from "../../services/component-portal.service";
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class ComponentPortalDirective implements OnInit, AfterViewInit, OnDestroy, OnChanges {
|
|
9
|
-
private injector;
|
|
10
|
-
private logger;
|
|
11
|
-
private portalService;
|
|
12
|
-
private renderer;
|
|
13
|
-
private providerRegistry;
|
|
14
|
-
componentId: string;
|
|
15
|
-
componentType: string | Function;
|
|
16
|
-
properties: Record<string, any>;
|
|
17
|
-
providers: Record<string, IProviderConfiguration>;
|
|
18
|
-
outputs: string[];
|
|
19
|
-
output: EventEmitter<IEvent<any>>;
|
|
20
|
-
portal: Portal<any>;
|
|
21
|
-
private component;
|
|
22
|
-
private propertiesChanges;
|
|
23
|
-
private providerInstances;
|
|
24
|
-
private readonly destroy$;
|
|
25
|
-
private changesSubscription?;
|
|
26
|
-
private listenerUnsubscriber?;
|
|
27
|
-
constructor(injector: Injector, logger: LoggerService, portalService: ComponentPortalService, renderer: Renderer2, providerRegistry: ProviderRegistryService);
|
|
28
|
-
ngOnInit(): void;
|
|
29
|
-
ngAfterViewInit(): void;
|
|
30
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
31
|
-
ngOnDestroy(): void;
|
|
32
|
-
attached(componentRef: ComponentRef<any>): void;
|
|
33
|
-
private recreatePortal;
|
|
34
|
-
private updateProviders;
|
|
35
|
-
private updateProviderConfigurations;
|
|
36
|
-
private subscribeToOutputs;
|
|
37
|
-
private checkForProviderChanges;
|
|
38
|
-
private destroyProviders;
|
|
39
|
-
/**
|
|
40
|
-
* There was a change in component properties, so we need to handle that here
|
|
41
|
-
*
|
|
42
|
-
* @param change a change of the `properties` input
|
|
43
|
-
*/
|
|
44
|
-
private applyPropertiesChange;
|
|
45
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ComponentPortalDirective, never>;
|
|
46
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ComponentPortalDirective, "[nuiComponentPortal]", ["nuiComponentPortal"], { "componentId": { "alias": "componentId"; "required": false; }; "componentType": { "alias": "componentType"; "required": false; }; "properties": { "alias": "properties"; "required": false; }; "providers": { "alias": "providers"; "required": false; }; "outputs": { "alias": "outputs"; "required": false; }; }, { "output": "output"; }, never, never, false, never>;
|
|
47
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./component-portal.directive";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./get-pizzagna-property-path";
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./components/pizzagna/pizzagna.component";
|
|
3
|
-
import * as i2 from "./directives/component-portal/component-portal.directive";
|
|
4
|
-
import * as i3 from "@angular/cdk/portal";
|
|
5
|
-
import * as i4 from "../common/common.module";
|
|
6
|
-
export declare class NuiPizzagnaModule {
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NuiPizzagnaModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NuiPizzagnaModule, [typeof i1.PizzagnaComponent, typeof i2.ComponentPortalDirective], [typeof i3.PortalModule, typeof i4.NuiDashboardsCommonModule], [typeof i3.PortalModule, typeof i1.PizzagnaComponent, typeof i2.ComponentPortalDirective]>;
|
|
9
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<NuiPizzagnaModule>;
|
|
10
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export * from "./services/public-api";
|
|
2
|
-
export * from "./components/pizzagna/public-api";
|
|
3
|
-
export * from "./directives/component-portal/public-api";
|
|
4
|
-
export * from "./functions/public-api";
|
|
5
|
-
export * from "./services/public-api";
|
|
6
|
-
export * from "./pizzagna.module";
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { ComponentPortal } from "@angular/cdk/portal";
|
|
2
|
-
import { Injector } from "@angular/core";
|
|
3
|
-
import { LoggerService } from "@nova-ui/bits";
|
|
4
|
-
import { ComponentRegistryService } from "./component-registry.service";
|
|
5
|
-
import { IPortalEnvironment } from "../../types";
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/** @ignore */
|
|
8
|
-
export declare class ComponentPortalService {
|
|
9
|
-
private componentRegistry;
|
|
10
|
-
private logger;
|
|
11
|
-
constructor(componentRegistry: ComponentRegistryService, logger: LoggerService);
|
|
12
|
-
createComponentPortal(componentType: string | Function, injector: Injector | null): ComponentPortal<any>;
|
|
13
|
-
createInjector(environment: IPortalEnvironment): Injector;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ComponentPortalService, never>;
|
|
15
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ComponentPortalService>;
|
|
16
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Type } from "@angular/core";
|
|
2
|
-
import { LoggerService } from "@nova-ui/bits";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export interface IComponentWithLateLoadKey extends Type<any> {
|
|
5
|
-
lateLoadKey: string;
|
|
6
|
-
}
|
|
7
|
-
export declare class ComponentRegistryService {
|
|
8
|
-
private logger;
|
|
9
|
-
private components;
|
|
10
|
-
constructor(logger: LoggerService);
|
|
11
|
-
registerByLateLoadKey(component: IComponentWithLateLoadKey): void;
|
|
12
|
-
registerComponentType(key: string, component: any): void;
|
|
13
|
-
getComponentType(key: string): any;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ComponentRegistryService, never>;
|
|
15
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ComponentRegistryService>;
|
|
16
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { IPizzagna } from "../../types";
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class DynamicComponentCreator {
|
|
4
|
-
getPizzagnaUpdatedWithComponents(pizzagna: IPizzagna, parentPath: string, componentIds: string[]): IPizzagna;
|
|
5
|
-
private getPizzagnaWithChildren;
|
|
6
|
-
private updateChildPizzagna;
|
|
7
|
-
private getPizzagnaWithNodesSet;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicComponentCreator, never>;
|
|
9
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<DynamicComponentCreator>;
|
|
10
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { ReplaySubject } from "rxjs";
|
|
2
|
-
import { EventBus, IEvent } from "@nova-ui/bits";
|
|
3
|
-
import { DynamicComponentCreator } from "./dynamic-component-creator.service";
|
|
4
|
-
import { IComponentConfiguration, IPizza, IPizzagna } from "../../types";
|
|
5
|
-
import { IPizzagnaProperty } from "../functions/get-pizzagna-property-path";
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* This service allows pizzagna sub-components to read data of other components and initiate changes of property values
|
|
9
|
-
*/
|
|
10
|
-
export declare class PizzagnaService {
|
|
11
|
-
private eventBus;
|
|
12
|
-
private dynamicComponentCreator;
|
|
13
|
-
constructor(eventBus: EventBus<IEvent>, dynamicComponentCreator: DynamicComponentCreator);
|
|
14
|
-
pizzagna: IPizzagna;
|
|
15
|
-
pizzaChanged: ReplaySubject<IPizza>;
|
|
16
|
-
private components;
|
|
17
|
-
updatePizzagna(pizzagna: IPizzagna): void;
|
|
18
|
-
updateComponents(components: IPizza): void;
|
|
19
|
-
getComponent(refId: string): IComponentConfiguration;
|
|
20
|
-
setProperty(property: IPizzagnaProperty | string, value: any): void;
|
|
21
|
-
createComponentsFromTemplateWithProperties(parentPath: string, components: any): void;
|
|
22
|
-
createComponentsFromTemplate(parentPath: string, componentIds: string[]): void;
|
|
23
|
-
removeComponents(ids: string | string[]): void;
|
|
24
|
-
private removeComponent;
|
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PizzagnaService, never>;
|
|
26
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<PizzagnaService>;
|
|
27
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { ChartAssist, IAccessors, IChartAssistSeries, IChartMarker, IDataSeries, IGrid, IRadialAccessors, IValueProvider, Renderer, Scales } from "@nova-ui/charts";
|
|
2
|
-
import { ProportionalWidgetChartTypes } from "../components/proportional-widget/types";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
type PreprocessorType<T extends IAccessors> = (this: ChartAssist, series: IChartAssistSeries<T>[]) => IChartAssistSeries<T>[];
|
|
5
|
-
export interface IChartAttributes<T extends IAccessors = IAccessors> {
|
|
6
|
-
grid: IGrid;
|
|
7
|
-
accessors: IAccessors;
|
|
8
|
-
renderer: Renderer<IAccessors>;
|
|
9
|
-
scales: Scales;
|
|
10
|
-
preprocessor?: PreprocessorType<T>;
|
|
11
|
-
}
|
|
12
|
-
export declare class CategoryChartUtilService {
|
|
13
|
-
/**
|
|
14
|
-
* Combines each of IDataSeries with accessors, renderer and scales provided
|
|
15
|
-
*
|
|
16
|
-
* @param data
|
|
17
|
-
* @param accessors
|
|
18
|
-
* @param renderer
|
|
19
|
-
* @param scales
|
|
20
|
-
*
|
|
21
|
-
* @returns resulting set of IChartAssistSeries
|
|
22
|
-
*/
|
|
23
|
-
static buildChartSeries(data: IDataSeries<IAccessors>[], accessors: IAccessors, renderer: Renderer<IAccessors>, scales: Scales): IChartAssistSeries<IAccessors>[];
|
|
24
|
-
static getChartAttributes(chartType: ProportionalWidgetChartTypes, colors?: IValueProvider<string>, markers?: IValueProvider<IChartMarker>): IChartAttributes | IChartAttributes<IRadialAccessors>;
|
|
25
|
-
private static getChartTools;
|
|
26
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CategoryChartUtilService, never>;
|
|
27
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<CategoryChartUtilService>;
|
|
28
|
-
}
|
|
29
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { IEventDefinition } from "@nova-ui/bits";
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class EventRegistryService {
|
|
4
|
-
private events;
|
|
5
|
-
registerEvent(eventDefinition: IEventDefinition): void;
|
|
6
|
-
getEvent(id: string): IEventDefinition;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EventRegistryService, never>;
|
|
8
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<EventRegistryService>;
|
|
9
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { IComparatorsDict } from "../types";
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare const DEFAULT_COMPARATORS: IComparatorsDict;
|
|
4
|
-
export declare class KpiColorComparatorsRegistryService {
|
|
5
|
-
protected comparators: IComparatorsDict;
|
|
6
|
-
constructor();
|
|
7
|
-
registerComparators(comparators: IComparatorsDict): void;
|
|
8
|
-
clearComparators(): void;
|
|
9
|
-
getComparators(): IComparatorsDict;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KpiColorComparatorsRegistryService, never>;
|
|
11
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<KpiColorComparatorsRegistryService>;
|
|
12
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { LoggerService } from "@nova-ui/bits";
|
|
2
|
-
import { RegistryService } from "./registry-service";
|
|
3
|
-
import { IProportionalDonutContentAggregatorDefinition } from "../functions/proportional-aggregators/types";
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class ProportionalContentAggregatorsRegistryService extends RegistryService<IProportionalDonutContentAggregatorDefinition> {
|
|
6
|
-
constructor(logger: LoggerService);
|
|
7
|
-
getItemKey(item: IProportionalDonutContentAggregatorDefinition): string;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ProportionalContentAggregatorsRegistryService, never>;
|
|
9
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ProportionalContentAggregatorsRegistryService>;
|
|
10
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Injector, StaticProvider } from "@angular/core";
|
|
2
|
-
import { LoggerService } from "@nova-ui/bits";
|
|
3
|
-
import { IStaticProviders } from "./types";
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class ProviderRegistryService {
|
|
6
|
-
private logger;
|
|
7
|
-
staticProviders: IStaticProviders;
|
|
8
|
-
constructor(logger: LoggerService);
|
|
9
|
-
setProviders(providers: IStaticProviders): void;
|
|
10
|
-
getProvider(providerId: string): StaticProvider;
|
|
11
|
-
getProviderInstance(provider: StaticProvider, parentInjector: Injector): any;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ProviderRegistryService, never>;
|
|
13
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ProviderRegistryService>;
|
|
14
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export * from "./types";
|
|
2
|
-
export * from "./provider-registry.service";
|
|
3
|
-
export * from "./unit-test-registry.service";
|
|
4
|
-
export * from "./widget-configuration.service";
|
|
5
|
-
export * from "./widget-to-dashboard-event-proxy.service";
|
|
6
|
-
export * from "./widget-types.service";
|
|
7
|
-
export * from "./event-registry.service";
|
|
8
|
-
export * from "./table-formatter-registry.service";
|
|
9
|
-
export * from "./kpi-color-comparators-registry.service";
|
|
10
|
-
export * from "./proportional-content-aggregators-registry.service";
|
|
11
|
-
export * from "./url-interaction.service";
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { OnDestroy } from "@angular/core";
|
|
2
|
-
import { BehaviorSubject, Observable } from "rxjs";
|
|
3
|
-
import { LoggerService } from "@nova-ui/bits";
|
|
4
|
-
import { IRegistryAddOptions } from "./types";
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
type IRegistryMap<T> = Record<string, T>;
|
|
7
|
-
export declare abstract class RegistryService<T = object> implements OnDestroy {
|
|
8
|
-
private logger;
|
|
9
|
-
private className?;
|
|
10
|
-
protected state$: BehaviorSubject<IRegistryMap<T>>;
|
|
11
|
-
stateChanged$: Observable<T[]>;
|
|
12
|
-
private _stateVersion;
|
|
13
|
-
get stateVersion(): string;
|
|
14
|
-
private _isEmpty;
|
|
15
|
-
get isEmpty(): boolean;
|
|
16
|
-
protected constructor(logger: LoggerService, className?: string | undefined);
|
|
17
|
-
addItems(items: T[], options?: IRegistryAddOptions): void;
|
|
18
|
-
getItem(id: string): T | undefined;
|
|
19
|
-
getItems(): T[];
|
|
20
|
-
reset(): void;
|
|
21
|
-
ngOnDestroy(): void;
|
|
22
|
-
protected abstract getItemKey(item: T): string;
|
|
23
|
-
private updateStateFlags;
|
|
24
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RegistryService<any>, never>;
|
|
25
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<RegistryService<any>, never, never, {}, {}, never, never, true, never>;
|
|
26
|
-
}
|
|
27
|
-
export {};
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { Observable } from "rxjs";
|
|
2
|
-
import { LoggerService } from "@nova-ui/bits";
|
|
3
|
-
import { RegistryService } from "./registry-service";
|
|
4
|
-
import { IAddFormattersOptions } from "./types";
|
|
5
|
-
import { IFormatterDefinition, ITableFormatterDefinition } from "../components/types";
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare abstract class FormatterRegistryService<TFormatter extends IFormatterDefinition = IFormatterDefinition> extends RegistryService<TFormatter> {
|
|
8
|
-
/** @deprecated use 'stateChanged$' instead - NUI-5852 */
|
|
9
|
-
formattersStateChanged$: Observable<TFormatter[]>;
|
|
10
|
-
/** @deprecated use 'addItems' instead - NUI-5852 */
|
|
11
|
-
addFormatters(formatters: TFormatter[], options?: IAddFormattersOptions): void;
|
|
12
|
-
/** @deprecated use 'getItems' instead - NUI-5852 */
|
|
13
|
-
getFormatters(): TFormatter[];
|
|
14
|
-
protected getItemKey(item: TFormatter): string;
|
|
15
|
-
}
|
|
16
|
-
export declare class TableFormatterRegistryService extends FormatterRegistryService<ITableFormatterDefinition> {
|
|
17
|
-
constructor(logger: LoggerService);
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TableFormatterRegistryService, never>;
|
|
19
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TableFormatterRegistryService>;
|
|
20
|
-
}
|
|
21
|
-
export declare class KpiFormattersRegistryService extends FormatterRegistryService<IFormatterDefinition> {
|
|
22
|
-
constructor(logger: LoggerService);
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KpiFormattersRegistryService, never>;
|
|
24
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<KpiFormattersRegistryService>;
|
|
25
|
-
}
|
|
26
|
-
export declare class RiskScoreFormattersRegistryService extends FormatterRegistryService<IFormatterDefinition> {
|
|
27
|
-
constructor(logger: LoggerService);
|
|
28
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RiskScoreFormattersRegistryService, never>;
|
|
29
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<RiskScoreFormattersRegistryService>;
|
|
30
|
-
}
|
|
31
|
-
export declare class ProportionalDonutContentFormattersRegistryService extends FormatterRegistryService<IFormatterDefinition> {
|
|
32
|
-
constructor(logger: LoggerService);
|
|
33
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ProportionalDonutContentFormattersRegistryService, never>;
|
|
34
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ProportionalDonutContentFormattersRegistryService>;
|
|
35
|
-
}
|
|
36
|
-
export declare class ProportionalLegendFormattersRegistryService extends FormatterRegistryService<IFormatterDefinition> {
|
|
37
|
-
constructor(logger: LoggerService);
|
|
38
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ProportionalLegendFormattersRegistryService, never>;
|
|
39
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ProportionalLegendFormattersRegistryService>;
|
|
40
|
-
}
|