@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,29 +0,0 @@
|
|
|
1
|
-
import { OnDestroy } from "@angular/core";
|
|
2
|
-
import { Subject } from "rxjs";
|
|
3
|
-
import { EventBus, IDataSource, IEvent, IFilteringOutputs } from "@nova-ui/bits";
|
|
4
|
-
import { IDataSourceOutput } from "./types";
|
|
5
|
-
import { PizzagnaService } from "../../pizzagna/services/pizzagna.service";
|
|
6
|
-
import { IConfigurable, IProperties } from "../../types";
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class DataSourceAdapter<T extends IFilteringOutputs = IFilteringOutputs> implements IConfigurable, OnDestroy {
|
|
9
|
-
eventBus: EventBus<IEvent>;
|
|
10
|
-
dataSource: IDataSource<T>;
|
|
11
|
-
protected pizzagnaService: PizzagnaService;
|
|
12
|
-
protected componentId: string;
|
|
13
|
-
protected lastValue: T;
|
|
14
|
-
protected readonly destroy$: Subject<void>;
|
|
15
|
-
protected dataSourceConfiguration: Record<string, any>;
|
|
16
|
-
private propertyPath;
|
|
17
|
-
constructor(eventBus: EventBus<IEvent>, dataSource: IDataSource<T>, pizzagnaService: PizzagnaService);
|
|
18
|
-
protected setupRefreshListener(): void;
|
|
19
|
-
protected handleRefresh(): void;
|
|
20
|
-
protected handleDataSourceUpdate(value: T | IDataSourceOutput<T>): void;
|
|
21
|
-
ngOnDestroy(): void;
|
|
22
|
-
updateConfiguration(properties: IProperties): void;
|
|
23
|
-
protected updateAdapterProperties(properties: IProperties): void;
|
|
24
|
-
protected updateDataSourceProperties(properties: IProperties): void;
|
|
25
|
-
protected updateOutput(value: T | undefined): void;
|
|
26
|
-
protected processOutput(value: T | undefined): T | undefined;
|
|
27
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DataSourceAdapter<any>, [null, { optional: true; }, null]>;
|
|
28
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<DataSourceAdapter<any>>;
|
|
29
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { EventBus, IDataSourceDrilldown, IEvent, IFilteringOutputs } from "@nova-ui/bits";
|
|
2
|
-
import { DataSourceAdapter } from "./data-source-adapter";
|
|
3
|
-
import { IDrilldownComponentConfiguration, IDrilldownComponentsConfiguration } from "./types";
|
|
4
|
-
import { PizzagnaService } from "../../pizzagna/services/pizzagna.service";
|
|
5
|
-
import { IProperties } from "../../types";
|
|
6
|
-
export declare class DrilldownDataSourceAdapter extends DataSourceAdapter {
|
|
7
|
-
dataSource: IDataSourceDrilldown;
|
|
8
|
-
protected dataPath: string;
|
|
9
|
-
protected navigationBarId: string;
|
|
10
|
-
protected drillstate: string[];
|
|
11
|
-
protected groupBy: string[];
|
|
12
|
-
protected componentsConfig: IDrilldownComponentsConfiguration;
|
|
13
|
-
constructor(eventBus: EventBus<IEvent>, dataSource: IDataSourceDrilldown, pizzagnaService: PizzagnaService);
|
|
14
|
-
protected updateAdapterProperties(properties: IProperties): void;
|
|
15
|
-
protected updateOutput(output: IFilteringOutputs | undefined): void;
|
|
16
|
-
protected getWidgetInput(data: any, group: boolean): Record<string, any> & {
|
|
17
|
-
configuration: IDrilldownComponentConfiguration;
|
|
18
|
-
};
|
|
19
|
-
protected onDrilldown(event: IEvent): void;
|
|
20
|
-
private registerFilters;
|
|
21
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { OnDestroy } from "@angular/core";
|
|
2
|
-
import { EventBus, IEvent } from "@nova-ui/bits";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* A provider that helps with debugging events on the pizzagna event bus. Include it anywhere in the widget to activate it.
|
|
6
|
-
*/
|
|
7
|
-
export declare class EventBusDebugger implements OnDestroy {
|
|
8
|
-
private eventBus;
|
|
9
|
-
private readonly destroy$;
|
|
10
|
-
constructor(eventBus: EventBus<IEvent>);
|
|
11
|
-
ngOnDestroy(): void;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EventBusDebugger, never>;
|
|
13
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<EventBusDebugger>;
|
|
14
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { EventBus, IEvent } from "@nova-ui/bits";
|
|
2
|
-
import { IConfigurable, IProperties } from "../../../types";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export interface IInteractionPayload<T> {
|
|
5
|
-
interactionType?: string;
|
|
6
|
-
data: T;
|
|
7
|
-
}
|
|
8
|
-
export interface IInteractionHandlerProperties extends IProperties {
|
|
9
|
-
interactionType?: string;
|
|
10
|
-
}
|
|
11
|
-
export declare abstract class InteractionHandler<T extends IInteractionHandlerProperties, P> implements IConfigurable {
|
|
12
|
-
protected readonly eventBus: EventBus<IEvent>;
|
|
13
|
-
protected properties: T;
|
|
14
|
-
constructor(eventBus: EventBus<IEvent>);
|
|
15
|
-
updateConfiguration(properties: T): void;
|
|
16
|
-
protected initializeSubscriptions(): void;
|
|
17
|
-
protected abstract handleInteraction(interaction: IInteractionPayload<P>): void;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InteractionHandler<any, any>, never>;
|
|
19
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<InteractionHandler<any, any>>;
|
|
20
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { EventBus, IEvent, LoggerService } from "@nova-ui/bits";
|
|
2
|
-
import { IInteractionHandlerProperties, IInteractionPayload, InteractionHandler } from "./interaction-handler";
|
|
3
|
-
import { UrlInteractionService } from "../../../services/url-interaction.service";
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export interface IUrlInteractionHandlerProperties extends IInteractionHandlerProperties {
|
|
6
|
-
url: string;
|
|
7
|
-
newWindow?: boolean;
|
|
8
|
-
}
|
|
9
|
-
export declare class WindowObject extends Window {
|
|
10
|
-
}
|
|
11
|
-
export declare class UrlInteractionHandler extends InteractionHandler<IUrlInteractionHandlerProperties, any> {
|
|
12
|
-
private window;
|
|
13
|
-
private logger;
|
|
14
|
-
private urlInteractionService;
|
|
15
|
-
constructor(eventBus: EventBus<IEvent>, window: WindowObject, logger: LoggerService, urlInteractionService: UrlInteractionService);
|
|
16
|
-
protected handleInteraction(interaction: IInteractionPayload<any>): void;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UrlInteractionHandler, never>;
|
|
18
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<UrlInteractionHandler>;
|
|
19
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { OnDestroy } from "@angular/core";
|
|
2
|
-
import { Subject } from "rxjs";
|
|
3
|
-
import { IDataSource } from "@nova-ui/bits";
|
|
4
|
-
import { IKpiColorRules } from "./types";
|
|
5
|
-
import { PizzagnaService } from "../../pizzagna/services/pizzagna.service";
|
|
6
|
-
import { KpiColorComparatorsRegistryService } from "../../services/kpi-color-comparators-registry.service";
|
|
7
|
-
import { IComparatorsDict, IConfigurable } from "../../types";
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class KpiColorPrioritizer implements IConfigurable, OnDestroy {
|
|
10
|
-
dataSource: IDataSource;
|
|
11
|
-
protected pizzagnaService: PizzagnaService;
|
|
12
|
-
protected readonly destroy$: Subject<void>;
|
|
13
|
-
protected componentId: string;
|
|
14
|
-
protected propertyPath: string;
|
|
15
|
-
protected rules: IKpiColorRules[] | undefined;
|
|
16
|
-
protected comparators: IComparatorsDict;
|
|
17
|
-
private dsSubscription$;
|
|
18
|
-
private latestValueFromDS;
|
|
19
|
-
constructor(dataSource: IDataSource, pizzagnaService: PizzagnaService, comparatorsRegistry: KpiColorComparatorsRegistryService);
|
|
20
|
-
ngOnDestroy(): void;
|
|
21
|
-
updateConfiguration(properties: any): void;
|
|
22
|
-
setComponent(component: any, componentId: string): void;
|
|
23
|
-
private subscribeToDataChanges;
|
|
24
|
-
private checkColorConditions;
|
|
25
|
-
/**
|
|
26
|
-
* Sets the color to pizzagna
|
|
27
|
-
*
|
|
28
|
-
* @param color - Color to set
|
|
29
|
-
*/
|
|
30
|
-
private setColor;
|
|
31
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KpiColorPrioritizer, [{ optional: true; }, null, null]>;
|
|
32
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<KpiColorPrioritizer>;
|
|
33
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { DecimalPipe } from "@angular/common";
|
|
2
|
-
import { EventBus, IDataSource, IEvent } from "@nova-ui/bits";
|
|
3
|
-
import { DataSourceAdapter } from "./data-source-adapter";
|
|
4
|
-
import { IKpiThresholdsConfig } from "../../configurator/components/widgets/kpi/types";
|
|
5
|
-
import { PizzagnaService } from "../../pizzagna/services/pizzagna.service";
|
|
6
|
-
import { IKpiData } from "../kpi-widget/types";
|
|
7
|
-
export interface IKpiDataSourceAdapterConfiguration {
|
|
8
|
-
thresholds: IKpiThresholdsConfig;
|
|
9
|
-
}
|
|
10
|
-
export declare class KpiDataSourceAdapter extends DataSourceAdapter<IKpiData> {
|
|
11
|
-
private numberPipe;
|
|
12
|
-
private thresholds;
|
|
13
|
-
constructor(eventBus: EventBus<IEvent>, dataSource: IDataSource, pizzagnaService: PizzagnaService, numberPipe: DecimalPipe);
|
|
14
|
-
updateConfiguration(properties: IKpiDataSourceAdapterConfiguration): void;
|
|
15
|
-
protected processOutput(data: IKpiData): IKpiData;
|
|
16
|
-
setComponent(component: any, componentId: string): void;
|
|
17
|
-
private getThresholdColor;
|
|
18
|
-
private getThresholdChecks;
|
|
19
|
-
private processThresholds;
|
|
20
|
-
private processNumberFormat;
|
|
21
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { EventBus, IEvent } from "@nova-ui/bits";
|
|
2
|
-
import { IBroker, IBrokerUserConfig, IBrokerValue } from "./types";
|
|
3
|
-
import { PizzagnaService } from "../../pizzagna/services/pizzagna.service";
|
|
4
|
-
import { IConfigurable, IProperties } from "../../types";
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class KpiScaleSyncBroker implements IConfigurable {
|
|
7
|
-
private eventBus;
|
|
8
|
-
private pizzagnaService;
|
|
9
|
-
protected properties: IProperties;
|
|
10
|
-
protected componentId: string;
|
|
11
|
-
private valuesObject;
|
|
12
|
-
private brokers;
|
|
13
|
-
private builder;
|
|
14
|
-
private destroySubscriptions$;
|
|
15
|
-
private tileNodes;
|
|
16
|
-
constructor(eventBus: EventBus<IEvent>, pizzagnaService: PizzagnaService);
|
|
17
|
-
updateConfiguration(properties: IProperties): void;
|
|
18
|
-
configure(): KpiScaleSyncBrokerBuilder;
|
|
19
|
-
getBrokers(): readonly IBroker[];
|
|
20
|
-
subscribeToBrokers(): void;
|
|
21
|
-
setComponent(component: any, componentId: string): void;
|
|
22
|
-
destroy(): void;
|
|
23
|
-
private processAndEmitSyncedValue;
|
|
24
|
-
private configureValueModel;
|
|
25
|
-
private createPropertiesAndSubscribeToBrokers;
|
|
26
|
-
private getMin;
|
|
27
|
-
private getMax;
|
|
28
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KpiScaleSyncBroker, never>;
|
|
29
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<KpiScaleSyncBroker>;
|
|
30
|
-
}
|
|
31
|
-
declare class KpiScaleSyncBrokerBuilder {
|
|
32
|
-
private brokers;
|
|
33
|
-
readonly valuesObject: Record<string, Array<Partial<IBrokerValue>>>;
|
|
34
|
-
constructor(brokers: IBroker[]);
|
|
35
|
-
addBroker(broker: IBrokerUserConfig): KpiScaleSyncBrokerBuilder;
|
|
36
|
-
private getDefaultBrokerObject;
|
|
37
|
-
}
|
|
38
|
-
export {};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { OnDestroy } from "@angular/core";
|
|
2
|
-
import { EventBus, IEvent } from "@nova-ui/bits";
|
|
3
|
-
import { StatusContentFallbackAdapter } from "./status-content-fallback-adapter";
|
|
4
|
-
import { IComponentIdPayload, IDataSourceOutputPayload } from "./types";
|
|
5
|
-
import { PizzagnaService } from "../../pizzagna/services/pizzagna.service";
|
|
6
|
-
import { IConfigurable, IHasComponent, IProperties } from "../../types";
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export interface IKpiFallbackAdapterProperties extends IProperties {
|
|
9
|
-
multipleErrorFallbackKey: string;
|
|
10
|
-
}
|
|
11
|
-
export declare class KpiStatusContentFallbackAdapter extends StatusContentFallbackAdapter implements OnDestroy, IHasComponent, IConfigurable {
|
|
12
|
-
/**
|
|
13
|
-
* Fallback node key to use if multiple tile data sources report different errors
|
|
14
|
-
*/
|
|
15
|
-
multipleErrorFallbackKey: string;
|
|
16
|
-
/**
|
|
17
|
-
* Map of kpi tile component id's to their corresponding error
|
|
18
|
-
*/
|
|
19
|
-
private errorMap;
|
|
20
|
-
constructor(eventBus: EventBus<IEvent>, pizzagnaService: PizzagnaService);
|
|
21
|
-
updateConfiguration(properties: IKpiFallbackAdapterProperties): void;
|
|
22
|
-
protected handleDataSourceOutput(event: IEvent<any | IDataSourceOutputPayload<any>>): void;
|
|
23
|
-
protected handleDataSourceDestroyed(event: IEvent<IComponentIdPayload>): void;
|
|
24
|
-
private setFallbackKeyProperty;
|
|
25
|
-
private getFallbackKey;
|
|
26
|
-
private updateErrorMap;
|
|
27
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KpiStatusContentFallbackAdapter, never>;
|
|
28
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<KpiStatusContentFallbackAdapter>;
|
|
29
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { OnDestroy } from "@angular/core";
|
|
2
|
-
import { EventBus, IEvent } from "@nova-ui/bits";
|
|
3
|
-
import { PizzagnaService } from "../../pizzagna/services/pizzagna.service";
|
|
4
|
-
import { IHasComponent } from "../../types";
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class LoadingAdapter implements OnDestroy, IHasComponent {
|
|
7
|
-
private eventBus;
|
|
8
|
-
private pizzagnaService;
|
|
9
|
-
private loadingMap;
|
|
10
|
-
private readonly destroy$;
|
|
11
|
-
private componentId;
|
|
12
|
-
constructor(eventBus: EventBus<IEvent>, pizzagnaService: PizzagnaService);
|
|
13
|
-
ngOnDestroy(): void;
|
|
14
|
-
setComponent(component: any, componentId: string): void;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LoadingAdapter, never>;
|
|
16
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<LoadingAdapter>;
|
|
17
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { OnDestroy } from "@angular/core";
|
|
2
|
-
import { PizzagnaService } from "../../pizzagna/services/pizzagna.service";
|
|
3
|
-
import { IConfigurable, IProperties } from "../../types";
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class PizzagnaBroadcasterService implements IConfigurable, OnDestroy {
|
|
6
|
-
private pizzagnaService;
|
|
7
|
-
private component;
|
|
8
|
-
private configs;
|
|
9
|
-
private readonly defaultTrackOn;
|
|
10
|
-
private subscriptions;
|
|
11
|
-
private componentId;
|
|
12
|
-
private parentComponentId;
|
|
13
|
-
constructor(pizzagnaService: PizzagnaService);
|
|
14
|
-
setComponent(component: any, componentId: string): void;
|
|
15
|
-
updateConfiguration(properties: IProperties): void;
|
|
16
|
-
private initChangeSubscriptions;
|
|
17
|
-
private getObservableFor;
|
|
18
|
-
private getPizzagnaObservableFor;
|
|
19
|
-
private getComponentObservableFor;
|
|
20
|
-
ngOnDestroy(): void;
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PizzagnaBroadcasterService, never>;
|
|
22
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<PizzagnaBroadcasterService>;
|
|
23
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export * from "./refresher";
|
|
2
|
-
export * from "./refresher-settings.service";
|
|
3
|
-
export * from "./data-source-adapter";
|
|
4
|
-
export * from "./timeseries-data-source-adapter";
|
|
5
|
-
export * from "./table-data-source-adapter";
|
|
6
|
-
export * from "./interaction/interaction-handler";
|
|
7
|
-
export * from "./interaction/url-interaction-handler";
|
|
8
|
-
export * from "./types";
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { BehaviorSubject } from "rxjs";
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* This provider allows a system wide definition of widget refresh rates.
|
|
5
|
-
*/
|
|
6
|
-
export declare class RefresherSettingsService {
|
|
7
|
-
/**
|
|
8
|
-
* This is a system wide definition for disabling all refreshers.
|
|
9
|
-
*/
|
|
10
|
-
readonly disabled$: BehaviorSubject<boolean>;
|
|
11
|
-
readonly refreshRateSeconds$: BehaviorSubject<number>;
|
|
12
|
-
/**
|
|
13
|
-
* This is a system wide definition of refresh rate. Widgets have to be configured to use
|
|
14
|
-
* the system settings to leverage this value.
|
|
15
|
-
*/
|
|
16
|
-
get refreshRateSeconds(): number;
|
|
17
|
-
set refreshRateSeconds(value: number);
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RefresherSettingsService, never>;
|
|
19
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<RefresherSettingsService>;
|
|
20
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { NgZone, OnDestroy } from "@angular/core";
|
|
2
|
-
import { EventBus, EventDefinition } from "@nova-ui/bits";
|
|
3
|
-
import { RefresherSettingsService } from "./refresher-settings.service";
|
|
4
|
-
import { IWidgetEvent } from "../../services/widget-to-dashboard-event-proxy.service";
|
|
5
|
-
import { IConfigurable, IProperties } from "../../types";
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export interface IRefresherProperties extends IProperties {
|
|
8
|
-
interval?: number;
|
|
9
|
-
enabled?: boolean;
|
|
10
|
-
overrideDefaultSettings?: boolean;
|
|
11
|
-
eventDef?: EventDefinition<any>;
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* This provider emits the REFRESH event every X milliseconds
|
|
15
|
-
*/
|
|
16
|
-
export declare class Refresher implements OnDestroy, IConfigurable {
|
|
17
|
-
protected readonly eventBus: EventBus<IWidgetEvent>;
|
|
18
|
-
protected readonly ngZone: NgZone;
|
|
19
|
-
protected readonly refresherSettings: RefresherSettingsService;
|
|
20
|
-
private intervalRef?;
|
|
21
|
-
protected enabled: boolean;
|
|
22
|
-
protected overrideDefaultSettings: boolean;
|
|
23
|
-
protected interval: number;
|
|
24
|
-
protected eventDef: EventDefinition<unknown>;
|
|
25
|
-
constructor(eventBus: EventBus<IWidgetEvent>, ngZone: NgZone, refresherSettings: RefresherSettingsService);
|
|
26
|
-
updateConfiguration(properties: IRefresherProperties): void;
|
|
27
|
-
ngOnDestroy(): void;
|
|
28
|
-
private initializeInterval;
|
|
29
|
-
protected performAction(): void;
|
|
30
|
-
private getInterval;
|
|
31
|
-
private clearInterval;
|
|
32
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<Refresher, never>;
|
|
33
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<Refresher>;
|
|
34
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { OnDestroy } from "@angular/core";
|
|
2
|
-
import { Subject } from "rxjs";
|
|
3
|
-
import { EventBus, IEvent } from "@nova-ui/bits";
|
|
4
|
-
import { IDataSourceOutputPayload } from "./types";
|
|
5
|
-
import { PizzagnaService } from "../../pizzagna/services/pizzagna.service";
|
|
6
|
-
import { IHasComponent } from "../../types";
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class StatusContentFallbackAdapter implements OnDestroy, IHasComponent {
|
|
9
|
-
protected eventBus: EventBus<IEvent>;
|
|
10
|
-
protected pizzagnaService: PizzagnaService;
|
|
11
|
-
protected readonly destroy$: Subject<void>;
|
|
12
|
-
protected componentId: string;
|
|
13
|
-
constructor(eventBus: EventBus<IEvent>, pizzagnaService: PizzagnaService);
|
|
14
|
-
ngOnDestroy(): void;
|
|
15
|
-
setComponent(component: any, componentId: string): void;
|
|
16
|
-
protected handleDataSourceOutput(event: IEvent<any | IDataSourceOutputPayload<any>>): void;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<StatusContentFallbackAdapter, never>;
|
|
18
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<StatusContentFallbackAdapter>;
|
|
19
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { EventBus, IDataSource, IEvent, IFilteringOutputs, VirtualViewportManager } from "@nova-ui/bits";
|
|
2
|
-
import { DataSourceAdapter } from "./data-source-adapter";
|
|
3
|
-
import { PizzagnaService } from "../../pizzagna/services/pizzagna.service";
|
|
4
|
-
import { IProperties } from "../../types";
|
|
5
|
-
export declare class TableDataSourceAdapter<T extends IFilteringOutputs> extends DataSourceAdapter<T> {
|
|
6
|
-
protected virtualViewport: VirtualViewportManager;
|
|
7
|
-
private dataPath;
|
|
8
|
-
private dataFieldsPath;
|
|
9
|
-
private totalItemsPath;
|
|
10
|
-
constructor(eventBus: EventBus<IEvent>, dataSource: IDataSource, pizzagnaService: PizzagnaService, virtualViewport: VirtualViewportManager);
|
|
11
|
-
protected setupRefreshListener(): void;
|
|
12
|
-
protected updateAdapterProperties(properties: IProperties): void;
|
|
13
|
-
protected updateOutput(output: IFilteringOutputs | undefined): void;
|
|
14
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { EventBus, IDataSource, IEvent, IFilteringOutputs } from "@nova-ui/bits";
|
|
2
|
-
import { DataSourceAdapter } from "./data-source-adapter";
|
|
3
|
-
import { ITimeseriesDataSourceAdapterConfiguration } from "./types";
|
|
4
|
-
import { PizzagnaService } from "../../pizzagna/services/pizzagna.service";
|
|
5
|
-
export declare class TimeseriesDataSourceAdapter extends DataSourceAdapter {
|
|
6
|
-
private seriesIndex;
|
|
7
|
-
constructor(eventBus: EventBus<IEvent>, dataSource: IDataSource, pizzagnaService: PizzagnaService);
|
|
8
|
-
updateConfiguration(properties: ITimeseriesDataSourceAdapterConfiguration): void;
|
|
9
|
-
protected processOutput(value: IFilteringOutputs): IFilteringOutputs;
|
|
10
|
-
/**
|
|
11
|
-
* Builds the series set by mapping the series selected in the configurator to the data received from the data source.
|
|
12
|
-
* @param data
|
|
13
|
-
*/
|
|
14
|
-
private buildSeriesSet;
|
|
15
|
-
}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { BehaviorSubject } from "rxjs";
|
|
2
|
-
import { ComparatorTypes, IProperties } from "../../types";
|
|
3
|
-
import { ITimeseriesWidgetSeries } from "../timeseries-widget/types";
|
|
4
|
-
import { IFormatter } from "../types";
|
|
5
|
-
/** Default refresh interval in seconds */
|
|
6
|
-
export declare const DEFAULT_REFRESH_INTERVAL = 300;
|
|
7
|
-
export interface ITimeseriesDataSourceAdapterConfiguration extends IProperties {
|
|
8
|
-
series: ITimeseriesWidgetSeries[];
|
|
9
|
-
}
|
|
10
|
-
export interface IDataSourceOutput<T> {
|
|
11
|
-
result: T;
|
|
12
|
-
error?: IDataSourceError;
|
|
13
|
-
}
|
|
14
|
-
export interface IComponentIdPayload {
|
|
15
|
-
componentId: string;
|
|
16
|
-
}
|
|
17
|
-
export interface IDataSourceOutputPayload<T> extends IDataSourceOutput<T>, IComponentIdPayload {
|
|
18
|
-
}
|
|
19
|
-
export interface IDataSourceBusyPayload extends IComponentIdPayload {
|
|
20
|
-
busy: boolean;
|
|
21
|
-
}
|
|
22
|
-
export interface IDataSourceError {
|
|
23
|
-
type: string | number;
|
|
24
|
-
message?: string;
|
|
25
|
-
}
|
|
26
|
-
export type BroadcasterTrackOnType = "component" | "pizzagna";
|
|
27
|
-
export interface IBroadcasterConfig {
|
|
28
|
-
trackOn?: BroadcasterTrackOnType;
|
|
29
|
-
key: string;
|
|
30
|
-
paths: string[];
|
|
31
|
-
}
|
|
32
|
-
export interface IKpiColorRules {
|
|
33
|
-
comparisonType: ComparatorTypes;
|
|
34
|
-
value: any;
|
|
35
|
-
color: any;
|
|
36
|
-
}
|
|
37
|
-
export interface IDrilldownComponentConfiguration extends IFormatter {
|
|
38
|
-
properties: Record<string, any>;
|
|
39
|
-
itemProperties?: IProperties;
|
|
40
|
-
}
|
|
41
|
-
export interface IDrilldownComponentsConfiguration {
|
|
42
|
-
group: IDrilldownComponentConfiguration;
|
|
43
|
-
leaf: IDrilldownComponentConfiguration;
|
|
44
|
-
}
|
|
45
|
-
export interface IBrokerValue {
|
|
46
|
-
id: string;
|
|
47
|
-
targetID: string;
|
|
48
|
-
targetValue: number;
|
|
49
|
-
}
|
|
50
|
-
export interface IBrokerUserConfig {
|
|
51
|
-
id: string;
|
|
52
|
-
type?: "min" | "max";
|
|
53
|
-
}
|
|
54
|
-
export interface IBroker extends IBrokerUserConfig {
|
|
55
|
-
in$: BehaviorSubject<IBrokerValue>;
|
|
56
|
-
out$: BehaviorSubject<IBrokerValue>;
|
|
57
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export * from "./dashboard/public-api";
|
|
2
|
-
export * from "./widget/public-api";
|
|
3
|
-
export * from "./layouts/public-api";
|
|
4
|
-
export * from "./template-load-error/public-api";
|
|
5
|
-
export * from "./proportional-widget/public-api";
|
|
6
|
-
export * from "./kpi-widget/public-api";
|
|
7
|
-
export * from "./risk-score-tile/public-api";
|
|
8
|
-
export * from "./timeseries-widget/public-api";
|
|
9
|
-
export * from "./table-widget/public-api";
|
|
10
|
-
export * from "./providers/public-api";
|
|
11
|
-
export * from "./types";
|
|
12
|
-
export * from "./time-frame-selection/public-api";
|
|
13
|
-
export * from "./loading/public-api";
|
|
14
|
-
export * from "./embedded-content/embedded-content.component";
|
|
15
|
-
export * from "./list-widget/public-api";
|
|
16
|
-
export * from "./widget-search/widget-search.component";
|
|
17
|
-
export * from "./widget-search/types";
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnChanges, SimpleChanges } from "@angular/core";
|
|
2
|
-
import { EventBus, IDataSource, IEvent } from "@nova-ui/bits";
|
|
3
|
-
import { IRiskScoreConfiguration, IRiskScoreData, IRiskScoreFormatterProperties } from "./types";
|
|
4
|
-
import { IHasChangeDetector } from "../../types";
|
|
5
|
-
import { IBroker } from "../providers/types";
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class RiskScoreTileComponent implements IHasChangeDetector, OnChanges {
|
|
8
|
-
changeDetector: ChangeDetectorRef;
|
|
9
|
-
dataSource: IDataSource;
|
|
10
|
-
eventBus: EventBus<IEvent>;
|
|
11
|
-
static lateLoadKey: string;
|
|
12
|
-
widgetData: IRiskScoreData;
|
|
13
|
-
syncValuesBroker: IBroker[];
|
|
14
|
-
configuration: IRiskScoreConfiguration;
|
|
15
|
-
busy: boolean;
|
|
16
|
-
elementClass: string;
|
|
17
|
-
formattersProperties: IRiskScoreFormatterProperties;
|
|
18
|
-
defaultColor: string;
|
|
19
|
-
get interactive(): boolean;
|
|
20
|
-
constructor(changeDetector: ChangeDetectorRef, dataSource: IDataSource, eventBus: EventBus<IEvent>);
|
|
21
|
-
onInteraction(): void;
|
|
22
|
-
getScaleBroker(id: string): IBroker | undefined;
|
|
23
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
24
|
-
/**
|
|
25
|
-
* Iterates over formatters and maps their properties from the data
|
|
26
|
-
*
|
|
27
|
-
* @param formattersConfiguration
|
|
28
|
-
*/
|
|
29
|
-
private getFormatterProperties;
|
|
30
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RiskScoreTileComponent, [null, { optional: true; }, null]>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RiskScoreTileComponent, "nui-risk-score-tile", never, { "widgetData": { "alias": "widgetData"; "required": false; }; "syncValuesBroker": { "alias": "syncValuesBroker"; "required": false; }; "configuration": { "alias": "configuration"; "required": false; }; "busy": { "alias": "busy"; "required": false; }; }, {}, never, never, false, never>;
|
|
32
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { IFormatter } from "../types";
|
|
2
|
-
export declare enum RiskScoreFormatterTypes {
|
|
3
|
-
Value = "Value"
|
|
4
|
-
}
|
|
5
|
-
export interface IRiskScoreData {
|
|
6
|
-
id?: string;
|
|
7
|
-
value?: number;
|
|
8
|
-
minValue?: number;
|
|
9
|
-
maxValue?: number;
|
|
10
|
-
label?: string;
|
|
11
|
-
description?: string;
|
|
12
|
-
backgroundColor?: string;
|
|
13
|
-
textColor?: string;
|
|
14
|
-
fontSize?: string;
|
|
15
|
-
numberFormat?: string;
|
|
16
|
-
link?: string;
|
|
17
|
-
[key: string]: any;
|
|
18
|
-
}
|
|
19
|
-
export interface IRiskScoreConfiguration {
|
|
20
|
-
interactive?: boolean;
|
|
21
|
-
formatters?: IRiskScoreFormattersConfiguration;
|
|
22
|
-
}
|
|
23
|
-
export type IRiskScoreFormattersConfiguration = Partial<Record<RiskScoreFormatterTypes | string, {
|
|
24
|
-
formatter: IFormatter;
|
|
25
|
-
}>>;
|
|
26
|
-
export type IRiskScoreFormatterProperties = Partial<Record<RiskScoreFormatterTypes | string, any>>;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { IPaginatorState, TableWidgetComponent } from "../public-api";
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class PaginatorFeatureAddonService {
|
|
4
|
-
defaultPaginatorState: IPaginatorState;
|
|
5
|
-
paginatorState: IPaginatorState;
|
|
6
|
-
private widget;
|
|
7
|
-
initPaginator(widget: TableWidgetComponent): void;
|
|
8
|
-
applyFilters(): void;
|
|
9
|
-
private registerPaginator;
|
|
10
|
-
private deregisterPaginator;
|
|
11
|
-
private setPaginatorState;
|
|
12
|
-
private updatePaginatorState;
|
|
13
|
-
private listenPaginatorChanges;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PaginatorFeatureAddonService, never>;
|
|
15
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<PaginatorFeatureAddonService>;
|
|
16
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { TableWidgetComponent } from "../public-api";
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class SearchFeatureAddonService {
|
|
4
|
-
private widget;
|
|
5
|
-
private searchDebounceTime;
|
|
6
|
-
initWidget(widget: TableWidgetComponent): void;
|
|
7
|
-
private initSearch;
|
|
8
|
-
private registerSearch;
|
|
9
|
-
private deregisterSearch;
|
|
10
|
-
private defineSearch;
|
|
11
|
-
private watchSearchTerm;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SearchFeatureAddonService, never>;
|
|
13
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SearchFeatureAddonService>;
|
|
14
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { TableWidgetComponent } from "../public-api";
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class VirtualScrollFeatureAddonService {
|
|
4
|
-
private widget;
|
|
5
|
-
visibleItems: unknown[];
|
|
6
|
-
initWidget(widget: TableWidgetComponent): void;
|
|
7
|
-
initVirtualScroll(widget: TableWidgetComponent): void;
|
|
8
|
-
private registerVirtualScroll;
|
|
9
|
-
private deregisterVirtualScroll;
|
|
10
|
-
/**
|
|
11
|
-
* Subscribe to virtual scroll rendered items and fetches next items
|
|
12
|
-
*/
|
|
13
|
-
subscribeToVirtualScroll(): void;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<VirtualScrollFeatureAddonService, never>;
|
|
15
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<VirtualScrollFeatureAddonService>;
|
|
16
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Subject } from "rxjs";
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class DelayedMousePresenceDetectionDirective {
|
|
4
|
-
enabled: boolean;
|
|
5
|
-
mousePresentSubject: Subject<boolean>;
|
|
6
|
-
delay: number;
|
|
7
|
-
private timeout;
|
|
8
|
-
onHostMouseenter(): void;
|
|
9
|
-
onHostClick(): void;
|
|
10
|
-
onHostMouseleave(): void;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DelayedMousePresenceDetectionDirective, never>;
|
|
12
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DelayedMousePresenceDetectionDirective, "[nuiDelayedMousePresenceDetection]", never, { "enabled": { "alias": "nuiDelayedMousePresenceDetection"; "required": false; }; "mousePresentSubject": { "alias": "mousePresentSubject"; "required": false; }; "delay": { "alias": "delay"; "required": false; }; }, {}, never, never, false, never>;
|
|
13
|
-
}
|