@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,139 +0,0 @@
|
|
|
1
|
-
import { CdkVirtualScrollViewport } from "@angular/cdk/scrolling";
|
|
2
|
-
import { AfterViewInit, ChangeDetectorRef, ElementRef, NgZone, OnChanges, OnDestroy, OnInit, QueryList, SimpleChanges } from "@angular/core";
|
|
3
|
-
import { BehaviorSubject, Subject } from "rxjs";
|
|
4
|
-
import { EventBus, IDataField, IDataSource, IEvent, ISelection, ISortedItem, LoggerService, PaginatorComponent, SelectorService, TableAlignmentOptions, TableComponent, VirtualViewportManager } from "@nova-ui/bits";
|
|
5
|
-
import { PizzagnaService } from "../../pizzagna/services/pizzagna.service";
|
|
6
|
-
import { TableFormatterRegistryService } from "../../services/table-formatter-registry.service";
|
|
7
|
-
import { WidgetConfigurationService } from "../../services/widget-configuration.service";
|
|
8
|
-
import { PaginatorFeatureAddonService } from "./addons/paginator-feature-addon.service";
|
|
9
|
-
import { SearchFeatureAddonService } from "./addons/search-feature-addon.service";
|
|
10
|
-
import { VirtualScrollFeatureAddonService } from "./addons/virtual-scroll-feature-addon.service";
|
|
11
|
-
import { ITableWidgetColumnConfig, ITableWidgetConfig, ScrollType } from "./types";
|
|
12
|
-
import * as i0 from "@angular/core";
|
|
13
|
-
/**
|
|
14
|
-
* @ignore
|
|
15
|
-
*/
|
|
16
|
-
export declare class TableWidgetComponent implements AfterViewInit, OnChanges, OnDestroy, OnInit {
|
|
17
|
-
eventBus: EventBus<IEvent>;
|
|
18
|
-
dataSource: IDataSource;
|
|
19
|
-
private widgetConfigurationService;
|
|
20
|
-
changeDetector: ChangeDetectorRef;
|
|
21
|
-
pizzagnaService: PizzagnaService;
|
|
22
|
-
viewportManager: VirtualViewportManager;
|
|
23
|
-
zone: NgZone;
|
|
24
|
-
private el;
|
|
25
|
-
private logger;
|
|
26
|
-
private searchAddon;
|
|
27
|
-
paginatorAddon: PaginatorFeatureAddonService;
|
|
28
|
-
virtualScrollAddon: VirtualScrollFeatureAddonService;
|
|
29
|
-
private formattersRegistryService;
|
|
30
|
-
private selectorService;
|
|
31
|
-
static lateLoadKey: string;
|
|
32
|
-
widgetData: any[];
|
|
33
|
-
componentId: string;
|
|
34
|
-
configuration: ITableWidgetConfig;
|
|
35
|
-
dataFields: IDataField[];
|
|
36
|
-
totalItems: number;
|
|
37
|
-
indentFromTop: number;
|
|
38
|
-
sortable: boolean;
|
|
39
|
-
delayedMousePresenceDetectionEnabled: boolean;
|
|
40
|
-
elementClass: string;
|
|
41
|
-
tableData: any[];
|
|
42
|
-
headers: string[];
|
|
43
|
-
sortedColumn: ISortedItem;
|
|
44
|
-
columns: ITableWidgetColumnConfig[];
|
|
45
|
-
columnsWidthMap: Map<string, number | undefined>;
|
|
46
|
-
scrollType: ScrollType;
|
|
47
|
-
tableContainerHeight: number;
|
|
48
|
-
isSearchEnabled: boolean;
|
|
49
|
-
searchTerm$: Subject<string>;
|
|
50
|
-
searchValue: string;
|
|
51
|
-
onDestroy$: Subject<void>;
|
|
52
|
-
tableUpdate$: Subject<void>;
|
|
53
|
-
mousePresent$: BehaviorSubject<boolean>;
|
|
54
|
-
rowHeight: number;
|
|
55
|
-
selection: ISelection;
|
|
56
|
-
table: TableComponent<any>;
|
|
57
|
-
paginator: PaginatorComponent;
|
|
58
|
-
vscrollViewport?: CdkVirtualScrollViewport;
|
|
59
|
-
tableRows: QueryList<ElementRef>;
|
|
60
|
-
private sortFilter;
|
|
61
|
-
private totalPages;
|
|
62
|
-
private lastPageFetched;
|
|
63
|
-
isBusy: boolean;
|
|
64
|
-
private sortableSet;
|
|
65
|
-
private formatters;
|
|
66
|
-
private tableWidgetHeight;
|
|
67
|
-
private readonly defaultColumnAlignment;
|
|
68
|
-
private idle;
|
|
69
|
-
constructor(eventBus: EventBus<IEvent>, dataSource: IDataSource, widgetConfigurationService: WidgetConfigurationService, changeDetector: ChangeDetectorRef, pizzagnaService: PizzagnaService, viewportManager: VirtualViewportManager, zone: NgZone, el: ElementRef, logger: LoggerService, searchAddon: SearchFeatureAddonService, paginatorAddon: PaginatorFeatureAddonService, virtualScrollAddon: VirtualScrollFeatureAddonService, formattersRegistryService: TableFormatterRegistryService, selectorService: SelectorService);
|
|
70
|
-
get headerTooltipsEnabled(): boolean;
|
|
71
|
-
private _scrollBuffer;
|
|
72
|
-
set scrollBuffer(value: number);
|
|
73
|
-
private _range;
|
|
74
|
-
get range(): number;
|
|
75
|
-
set range(value: number);
|
|
76
|
-
get interactive(): boolean;
|
|
77
|
-
get clickableRow(): boolean;
|
|
78
|
-
get hasVirtualScroll(): boolean;
|
|
79
|
-
get hasPaginator(): boolean;
|
|
80
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
81
|
-
resolveScrollType(changes: SimpleChanges): void;
|
|
82
|
-
ngOnInit(): void;
|
|
83
|
-
ngAfterViewInit(): void;
|
|
84
|
-
ngOnDestroy(): void;
|
|
85
|
-
/** Checks if table should be displayed */
|
|
86
|
-
shouldDisplayTable(): boolean;
|
|
87
|
-
dataTrackBy(): (index: any, item: any) => any;
|
|
88
|
-
columnTrackBy(index: number, item: ITableWidgetColumnConfig): string;
|
|
89
|
-
/**
|
|
90
|
-
* Handles updating of columns.
|
|
91
|
-
* @param configuration
|
|
92
|
-
*/
|
|
93
|
-
updateColumns(configuration: ITableWidgetConfig): void;
|
|
94
|
-
/**
|
|
95
|
-
* Takes widgetData from back-end, columns which are provided in table widget config and dataFields and maps them to data-format
|
|
96
|
-
* which is acceptable by table component.
|
|
97
|
-
* Also it can merge multiple data fields into one column. If you provide more than one dataFieldId in your
|
|
98
|
-
* widget config, they will be merged to an object with needed data. This data can be passed to formatter and displayed
|
|
99
|
-
* in one column.
|
|
100
|
-
* @param widgetData
|
|
101
|
-
* @param columns
|
|
102
|
-
* @param dataFields
|
|
103
|
-
* @returns any[]
|
|
104
|
-
*/
|
|
105
|
-
mapTableData(widgetData: any[], columns: ITableWidgetColumnConfig[], dataFields: IDataField[]): any[];
|
|
106
|
-
/**
|
|
107
|
-
* Handles change of sorting. Gets sorted column from columns array.
|
|
108
|
-
* @param event
|
|
109
|
-
*/
|
|
110
|
-
onSortOrderChanged(event: ISortedItem): void;
|
|
111
|
-
onSelectionChange(event: ISelection): void;
|
|
112
|
-
onInteraction(row: any, event: MouseEvent): void;
|
|
113
|
-
onSearchInputChanged(searchTerm: string): void;
|
|
114
|
-
getColumnAlignment(column: ITableWidgetColumnConfig): TableAlignmentOptions;
|
|
115
|
-
private setSortFilter;
|
|
116
|
-
/**
|
|
117
|
-
* Checks if column id has changed or if sorting order has changed
|
|
118
|
-
* @param configuration
|
|
119
|
-
*/
|
|
120
|
-
private isSortByUpdated;
|
|
121
|
-
/**
|
|
122
|
-
* Updates table columns and maps table data.
|
|
123
|
-
*/
|
|
124
|
-
private updateTable;
|
|
125
|
-
/**
|
|
126
|
-
* Registers sorter filter.
|
|
127
|
-
*/
|
|
128
|
-
private registerSorter;
|
|
129
|
-
private setSortableSet;
|
|
130
|
-
private flushTableData;
|
|
131
|
-
private scrollTypeChanged;
|
|
132
|
-
private getTableScrollRange;
|
|
133
|
-
onPagerAction(page: any): void;
|
|
134
|
-
private initPrefetchAddon;
|
|
135
|
-
private resolveSortBy;
|
|
136
|
-
private resolveSearch;
|
|
137
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TableWidgetComponent, [null, { optional: true; }, { optional: true; }, null, null, null, null, null, null, null, null, null, null, null]>;
|
|
138
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableWidgetComponent, "nui-table-widget", never, { "widgetData": { "alias": "widgetData"; "required": false; }; "componentId": { "alias": "componentId"; "required": false; }; "configuration": { "alias": "configuration"; "required": false; }; "dataFields": { "alias": "dataFields"; "required": false; }; "totalItems": { "alias": "totalItems"; "required": false; }; "indentFromTop": { "alias": "indentFromTop"; "required": false; }; "sortable": { "alias": "sortable"; "required": false; }; "delayedMousePresenceDetectionEnabled": { "alias": "delayedMousePresenceDetectionEnabled"; "required": false; }; "elementClass": { "alias": "elementClass"; "required": false; }; "range": { "alias": "range"; "required": false; }; }, {}, never, never, false, never>;
|
|
139
|
-
}
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
import { ITableSelectionConfigDisabled, ITableSelectionConfigEnabled } from "@nova-ui/bits";
|
|
2
|
-
import { IFormatter } from "../types";
|
|
3
|
-
export interface ITableWidgetColumnConfig {
|
|
4
|
-
id: string;
|
|
5
|
-
label: string;
|
|
6
|
-
/**
|
|
7
|
-
* Possibility to show or hide column without removing it
|
|
8
|
-
*/
|
|
9
|
-
isActive?: boolean;
|
|
10
|
-
/**
|
|
11
|
-
* Formatter configuration
|
|
12
|
-
*/
|
|
13
|
-
formatter?: IFormatter;
|
|
14
|
-
/**
|
|
15
|
-
* Width of the column
|
|
16
|
-
*/
|
|
17
|
-
width?: number;
|
|
18
|
-
/**
|
|
19
|
-
* If column is sortable
|
|
20
|
-
*/
|
|
21
|
-
sortable?: boolean;
|
|
22
|
-
}
|
|
23
|
-
export interface ITableWidgetConfig {
|
|
24
|
-
reorderable?: boolean;
|
|
25
|
-
columns: Array<ITableWidgetColumnConfig>;
|
|
26
|
-
sortable?: boolean;
|
|
27
|
-
sorterConfiguration: ITableWidgetSorterConfig;
|
|
28
|
-
/**
|
|
29
|
-
* Allows to choose row selection behavior of a table.
|
|
30
|
-
* Can be None | Multi | Single | Radio.
|
|
31
|
-
*/
|
|
32
|
-
selectionConfiguration?: TableWidgetSelectionConfig;
|
|
33
|
-
/**
|
|
34
|
-
* @deprecated Use scrollType and set it to "infinite" instead
|
|
35
|
-
*/
|
|
36
|
-
hasVirtualScroll?: boolean;
|
|
37
|
-
scrollType?: ScrollType;
|
|
38
|
-
/**
|
|
39
|
-
* Makes table rows interactive.
|
|
40
|
-
* Disabled if 'selectable' is set to true.
|
|
41
|
-
*/
|
|
42
|
-
interactive?: boolean;
|
|
43
|
-
headerTooltipsEnabled?: boolean;
|
|
44
|
-
scrollActivationDelayMs?: number;
|
|
45
|
-
/**
|
|
46
|
-
* Selectors for target elements to be ignored for row click.
|
|
47
|
-
*
|
|
48
|
-
* Default value ["button", "input[type='button']", "a[href]"]
|
|
49
|
-
*/
|
|
50
|
-
interactionIgnoredSelectors?: string[];
|
|
51
|
-
searchConfiguration?: {
|
|
52
|
-
enabled: boolean;
|
|
53
|
-
searchTerm?: string;
|
|
54
|
-
searchDebounce?: number;
|
|
55
|
-
};
|
|
56
|
-
paginatorConfiguration?: ITableWidgetPaginatorConfig;
|
|
57
|
-
}
|
|
58
|
-
export interface ITableWidgetSorterConfig {
|
|
59
|
-
descendantSorting: boolean;
|
|
60
|
-
sortBy: string;
|
|
61
|
-
}
|
|
62
|
-
export interface ITableWidgetPaginatorConfig {
|
|
63
|
-
pageSizeSet?: number[];
|
|
64
|
-
pageSize?: number;
|
|
65
|
-
}
|
|
66
|
-
export interface IPaginatorState {
|
|
67
|
-
page: number;
|
|
68
|
-
pageSize: number;
|
|
69
|
-
pageSizeSet: number[];
|
|
70
|
-
total: number;
|
|
71
|
-
}
|
|
72
|
-
export declare enum ScrollType {
|
|
73
|
-
virtual = "virtual",
|
|
74
|
-
paginator = "paginator",
|
|
75
|
-
default = "default"
|
|
76
|
-
}
|
|
77
|
-
interface ITableWidgetSelectionConfigEnabled extends ITableSelectionConfigEnabled {
|
|
78
|
-
/**
|
|
79
|
-
* Property name that is unique.
|
|
80
|
-
* Needs to be set in order for selection to work in combination with filtering.
|
|
81
|
-
*
|
|
82
|
-
* Using property that is not unique across table data will result in a selection
|
|
83
|
-
* of all rows with the same column value at once.
|
|
84
|
-
|
|
85
|
-
@default "id"
|
|
86
|
-
*/
|
|
87
|
-
trackByProperty?: string;
|
|
88
|
-
/**
|
|
89
|
-
* If clicking on row should select it.
|
|
90
|
-
* True if selectionMode is set to "single".
|
|
91
|
-
* @default false
|
|
92
|
-
*/
|
|
93
|
-
clickableRow?: boolean;
|
|
94
|
-
/**
|
|
95
|
-
* Controls if the dropdown is needed for selection on other pages
|
|
96
|
-
* Only available for the pagination
|
|
97
|
-
*/
|
|
98
|
-
allPages?: boolean;
|
|
99
|
-
}
|
|
100
|
-
export type TableWidgetSelectionConfig = ITableWidgetSelectionConfigEnabled | ITableSelectionConfigDisabled;
|
|
101
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./template-load-error.component";
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
/** @ignore */
|
|
3
|
-
export declare class TemplateLoadErrorComponent {
|
|
4
|
-
static lateLoadKey: string;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TemplateLoadErrorComponent, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TemplateLoadErrorComponent, "ng-component", never, {}, {}, never, never, false, never>;
|
|
7
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./timeframe-selection.component";
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnChanges, OnInit, SimpleChanges } from "@angular/core";
|
|
2
|
-
import { Moment } from "moment/moment";
|
|
3
|
-
import { EventBus, HistoryStorage, IDataSource, IEvent, ITimeframe, TimeframeService } from "@nova-ui/bits";
|
|
4
|
-
import { TimeframeSerializationService } from "../../configurator/services/timeframe-serialization.service";
|
|
5
|
-
import { PizzagnaService } from "../../pizzagna/services/pizzagna.service";
|
|
6
|
-
import { IHasChangeDetector, ISerializableTimeframe } from "../../types";
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class TimeframeSelectionComponent implements OnChanges, OnInit, IHasChangeDetector {
|
|
9
|
-
private pizzagnaService;
|
|
10
|
-
timeframeService: TimeframeService;
|
|
11
|
-
private tfSerialization;
|
|
12
|
-
history: HistoryStorage<ITimeframe>;
|
|
13
|
-
private dataSource;
|
|
14
|
-
private eventBus;
|
|
15
|
-
changeDetector: ChangeDetectorRef;
|
|
16
|
-
static lateLoadKey: string;
|
|
17
|
-
currentTimeframe: ITimeframe;
|
|
18
|
-
minDateAsMoment: Moment;
|
|
19
|
-
maxDateAsMoment: Moment;
|
|
20
|
-
componentId: string;
|
|
21
|
-
minDate: string;
|
|
22
|
-
maxDate: string;
|
|
23
|
-
timeframe: ISerializableTimeframe;
|
|
24
|
-
elementClass: string;
|
|
25
|
-
constructor(pizzagnaService: PizzagnaService, timeframeService: TimeframeService, tfSerialization: TimeframeSerializationService, history: HistoryStorage<ITimeframe>, dataSource: IDataSource, eventBus: EventBus<IEvent>, changeDetector: ChangeDetectorRef);
|
|
26
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
27
|
-
ngOnInit(): void;
|
|
28
|
-
onTimeframeChange(timeframe: ITimeframe): void;
|
|
29
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TimeframeSelectionComponent, [null, null, null, null, { optional: true; }, null, null]>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TimeframeSelectionComponent, "nui-timeframe-selection", never, { "componentId": { "alias": "componentId"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "timeframe": { "alias": "timeframe"; "required": false; }; }, {}, never, never, false, never>;
|
|
31
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export * from "./xy-chart/xy-chart.component";
|
|
2
|
-
export * from "./xy-chart/chart-types/line-chart.component";
|
|
3
|
-
export * from "./xy-chart/chart-types/stacked-area-chart.component";
|
|
4
|
-
export * from "./xy-chart/chart-types/stacked-bar-chart.component";
|
|
5
|
-
export * from "./xy-chart/chart-types/stacked-percentage-area-chart.component";
|
|
6
|
-
export * from "./status-bar-chart/status-bar-chart.component";
|
|
7
|
-
export * from "./status-bar-chart/apply-status-endpoints";
|
package/lib/components/timeseries-widget/chart-presets/status-bar-chart/apply-status-endpoints.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ITimeframe } from "@nova-ui/bits";
|
|
2
|
-
import { ITimeseriesWidgetData } from "../../types";
|
|
3
|
-
/**
|
|
4
|
-
* Use this function to apply endpoints on status data returned by a data source so that when the status
|
|
5
|
-
* chart is zoomed (filtered), each status visualization is ensured to have valid start and end values
|
|
6
|
-
*
|
|
7
|
-
* @param timeframeFilter The timeframe used for filtering the data
|
|
8
|
-
* @param filteredSeriesData The series data after the filter is applied
|
|
9
|
-
* @param originalSeriesData The superset of series data with no filter applied
|
|
10
|
-
*
|
|
11
|
-
* @returns The filtered data including start and end data points applied to each series
|
|
12
|
-
*/
|
|
13
|
-
export declare function applyStatusEndpoints(timeframeFilter: ITimeframe, filteredSeriesData: ITimeseriesWidgetData[], originalSeriesData: ITimeseriesWidgetData[]): ITimeseriesWidgetData[];
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnInit } from "@angular/core";
|
|
2
|
-
import { EventBus, IconService, IDataSource, IEvent } from "@nova-ui/bits";
|
|
3
|
-
import { IAccessors, IChartAssistSeries, Renderer, SparkChartAssist, StatusAccessors } from "@nova-ui/charts";
|
|
4
|
-
import { TimeseriesScalesService } from "../../timeseries-scales.service";
|
|
5
|
-
import { ITimeseriesWidgetStatusData, TimeseriesChartTypes, TimeseriesWidgetZoomPlugin } from "../../types";
|
|
6
|
-
import { TimeseriesChartComponent } from "../timeseries-chart.component";
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class StatusBarChartComponent extends TimeseriesChartComponent<ITimeseriesWidgetStatusData> implements OnInit {
|
|
9
|
-
private iconService;
|
|
10
|
-
timeseriesScalesService: TimeseriesScalesService;
|
|
11
|
-
changeDetector: ChangeDetectorRef;
|
|
12
|
-
protected eventBus: EventBus<IEvent>;
|
|
13
|
-
static lateLoadKey: string;
|
|
14
|
-
chartAssist: SparkChartAssist;
|
|
15
|
-
collectionId: string;
|
|
16
|
-
protected accessors: StatusAccessors;
|
|
17
|
-
protected renderer: Renderer<IAccessors>;
|
|
18
|
-
private chartUpdate$;
|
|
19
|
-
zoomPlugins: TimeseriesWidgetZoomPlugin[];
|
|
20
|
-
timeseriesChartTypes: typeof TimeseriesChartTypes;
|
|
21
|
-
summaryLegendBcgColor: string;
|
|
22
|
-
summaryLegendColor: string;
|
|
23
|
-
constructor(iconService: IconService, dataSource: IDataSource, timeseriesScalesService: TimeseriesScalesService, changeDetector: ChangeDetectorRef, eventBus: EventBus<IEvent>);
|
|
24
|
-
ngOnInit(): void;
|
|
25
|
-
getDataPointData(series: IChartAssistSeries<IAccessors>, key: string): any;
|
|
26
|
-
protected buildChart(): void;
|
|
27
|
-
protected updateChartData(): void;
|
|
28
|
-
/**
|
|
29
|
-
* Transforms standard timeseries x/y data so that it can be understood by a status chart
|
|
30
|
-
*
|
|
31
|
-
* @param data The data to transform
|
|
32
|
-
* @param isIntervalProgression Whether the data should be treated as continuous or occurring at a regular interval
|
|
33
|
-
*
|
|
34
|
-
* @returns The transformed data
|
|
35
|
-
*/
|
|
36
|
-
protected transformData(data: ITimeseriesWidgetStatusData[], isIntervalProgression: boolean): IStatusData[];
|
|
37
|
-
private setGridConfigFromConfiguration;
|
|
38
|
-
displayDeleteButton(): boolean;
|
|
39
|
-
isStatusChart(): boolean;
|
|
40
|
-
getDescriptionSecondary(series: IChartAssistSeries<IAccessors>, index: number): string;
|
|
41
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<StatusBarChartComponent, [null, { optional: true; }, null, null, null]>;
|
|
42
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StatusBarChartComponent, "nui-status-bar-chart", never, {}, {}, never, never, false, never>;
|
|
43
|
-
}
|
|
44
|
-
interface IStatusData {
|
|
45
|
-
start: Date;
|
|
46
|
-
end: Date;
|
|
47
|
-
thick?: boolean;
|
|
48
|
-
color?: string;
|
|
49
|
-
icon?: string;
|
|
50
|
-
}
|
|
51
|
-
export {};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { OnChanges, OnDestroy, OnInit, SimpleChanges } from "@angular/core";
|
|
2
|
-
import { Subject } from "rxjs";
|
|
3
|
-
import { EventBus, IDataSource, IEvent } from "@nova-ui/bits";
|
|
4
|
-
import { IXYScales } from "@nova-ui/charts";
|
|
5
|
-
import { TimeseriesScalesService } from "../timeseries-scales.service";
|
|
6
|
-
import { ITimeseriesOutput, ITimeseriesWidgetConfig, ITimeseriesWidgetData, ITimeseriesWidgetSeriesData } from "../types";
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare abstract class TimeseriesChartComponent<T = ITimeseriesWidgetSeriesData> implements OnChanges, OnDestroy, OnInit {
|
|
9
|
-
protected eventBus: EventBus<IEvent>;
|
|
10
|
-
timeseriesScalesService: TimeseriesScalesService;
|
|
11
|
-
dataSource: IDataSource;
|
|
12
|
-
widgetData: ITimeseriesOutput<T>;
|
|
13
|
-
configuration: ITimeseriesWidgetConfig;
|
|
14
|
-
protected scales: IXYScales;
|
|
15
|
-
protected destroy$: Subject<void>;
|
|
16
|
-
protected buildChart$: Subject<void>;
|
|
17
|
-
protected resetChart: boolean;
|
|
18
|
-
protected chartBuilt: boolean;
|
|
19
|
-
get seriesInteractive(): boolean;
|
|
20
|
-
protected constructor(eventBus: EventBus<IEvent>, timeseriesScalesService: TimeseriesScalesService, dataSource: IDataSource);
|
|
21
|
-
ngOnInit(): void;
|
|
22
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
23
|
-
ngOnDestroy(): void;
|
|
24
|
-
protected applyPreviousTransformer(previousData: any): void;
|
|
25
|
-
protected transformSeriesData(serie: ITimeseriesWidgetData<T>): void;
|
|
26
|
-
updateYAxisDomain(): void;
|
|
27
|
-
removeMetric(metricId: string): void;
|
|
28
|
-
/** Updates chart data. */
|
|
29
|
-
protected abstract updateChartData(): void;
|
|
30
|
-
protected abstract buildChart(): void;
|
|
31
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TimeseriesChartComponent<any>, never>;
|
|
32
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TimeseriesChartComponent<any>, never, never, { "widgetData": { "alias": "widgetData"; "required": false; }; "configuration": { "alias": "configuration"; "required": false; }; }, {}, never, never, true, never>;
|
|
33
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef } from "@angular/core";
|
|
2
|
-
import { EventBus, IDataSource, IEvent } from "@nova-ui/bits";
|
|
3
|
-
import { ChartAssist, ChartPalette, IAccessors, IValueProvider } from "@nova-ui/charts";
|
|
4
|
-
import { TimeseriesScalesService } from "../../../timeseries-scales.service";
|
|
5
|
-
import { XYChartComponent } from "../xy-chart.component";
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class LineChartComponent extends XYChartComponent {
|
|
8
|
-
static lateLoadKey: string;
|
|
9
|
-
constructor(eventBus: EventBus<IEvent>, dataSource: IDataSource, timeseriesScalesService: TimeseriesScalesService, changeDetector: ChangeDetectorRef);
|
|
10
|
-
protected createAccessors(colorProvider: IValueProvider<string>): IAccessors;
|
|
11
|
-
protected createChartAssist(palette: ChartPalette): ChartAssist;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LineChartComponent, [null, { optional: true; }, null, null]>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LineChartComponent, "nui-line-chart", never, {}, {}, never, never, false, never>;
|
|
14
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef } from "@angular/core";
|
|
2
|
-
import { EventBus, IDataSource, IEvent } from "@nova-ui/bits";
|
|
3
|
-
import { ChartAssist, ChartPalette, IAccessors, IValueProvider } from "@nova-ui/charts";
|
|
4
|
-
import { TimeseriesScalesService } from "../../../timeseries-scales.service";
|
|
5
|
-
import { XYChartComponent } from "../xy-chart.component";
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class StackedAreaChartComponent extends XYChartComponent {
|
|
8
|
-
static lateLoadKey: string;
|
|
9
|
-
constructor(eventBus: EventBus<IEvent>, dataSource: IDataSource, timeseriesScalesService: TimeseriesScalesService, changeDetector: ChangeDetectorRef);
|
|
10
|
-
protected createAccessors(colorProvider: IValueProvider<string>): IAccessors;
|
|
11
|
-
protected createChartAssist(palette: ChartPalette): ChartAssist;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<StackedAreaChartComponent, [null, { optional: true; }, null, null]>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StackedAreaChartComponent, "nui-stacked-area-chart", never, {}, {}, never, never, false, never>;
|
|
14
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef } from "@angular/core";
|
|
2
|
-
import { EventBus, IDataSource, IEvent } from "@nova-ui/bits";
|
|
3
|
-
import { ChartAssist, ChartPalette, IAccessors, IChartAssistSeries, IValueProvider, IXYScales } from "@nova-ui/charts";
|
|
4
|
-
import { TimeseriesScalesService } from "../../../timeseries-scales.service";
|
|
5
|
-
import { XYChartComponent } from "../xy-chart.component";
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class StackedBarChartComponent extends XYChartComponent {
|
|
8
|
-
static lateLoadKey: string;
|
|
9
|
-
constructor(eventBus: EventBus<IEvent>, dataSource: IDataSource, timeseriesScalesService: TimeseriesScalesService, changeDetector: ChangeDetectorRef);
|
|
10
|
-
mapSeriesSet(data: any[], scales: IXYScales): IChartAssistSeries<IAccessors>[];
|
|
11
|
-
protected createAccessors(colorProvider: IValueProvider<string>): IAccessors;
|
|
12
|
-
protected createChartAssist(palette: ChartPalette): ChartAssist;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<StackedBarChartComponent, [null, { optional: true; }, null, null]>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StackedBarChartComponent, "nui-stacked-bar-chart", never, {}, {}, never, never, false, never>;
|
|
15
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef } from "@angular/core";
|
|
2
|
-
import { EventBus, IDataSource, IEvent } from "@nova-ui/bits";
|
|
3
|
-
import { ChartAssist, ChartPalette, IAccessors, IValueProvider } from "@nova-ui/charts";
|
|
4
|
-
import { TimeseriesScalesService } from "../../../timeseries-scales.service";
|
|
5
|
-
import { XYChartComponent } from "../xy-chart.component";
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class StackedPercentageAreaChartComponent extends XYChartComponent {
|
|
8
|
-
static lateLoadKey: string;
|
|
9
|
-
constructor(eventBus: EventBus<IEvent>, dataSource: IDataSource, timeseriesScalesService: TimeseriesScalesService, changeDetector: ChangeDetectorRef);
|
|
10
|
-
protected createAccessors(colorProvider: IValueProvider<string>): IAccessors;
|
|
11
|
-
protected createChartAssist(palette: ChartPalette): ChartAssist;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<StackedPercentageAreaChartComponent, [null, { optional: true; }, null, null]>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StackedPercentageAreaChartComponent, "nui-stacked-percentage-area-chart", never, {}, {}, never, never, false, never>;
|
|
14
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnChanges, OnDestroy } from "@angular/core";
|
|
2
|
-
import { EventBus, IDataSource, IEvent } from "@nova-ui/bits";
|
|
3
|
-
import { ChartAssist, ChartPalette, IAccessors, IChartAssistSeries, IValueProvider, IXYScales, Renderer } from "@nova-ui/charts";
|
|
4
|
-
import { IHasChangeDetector } from "../../../../types";
|
|
5
|
-
import { TimeseriesScalesService } from "../../timeseries-scales.service";
|
|
6
|
-
import { ITimeseriesWidgetSeriesData, TimeseriesChartTypes, TimeseriesTransformer, TimeseriesWidgetZoomPlugin } from "../../types";
|
|
7
|
-
import { TimeseriesChartComponent } from "../timeseries-chart.component";
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
interface ITransformerDescription {
|
|
10
|
-
displayName: string;
|
|
11
|
-
transformer?: (data: ITimeseriesWidgetSeriesData[], hasPercentile?: boolean) => ITimeseriesWidgetSeriesData[];
|
|
12
|
-
}
|
|
13
|
-
export declare abstract class XYChartComponent extends TimeseriesChartComponent implements OnChanges, OnDestroy, IHasChangeDetector {
|
|
14
|
-
protected eventBus: EventBus<IEvent>;
|
|
15
|
-
timeseriesScalesService: TimeseriesScalesService;
|
|
16
|
-
changeDetector: ChangeDetectorRef;
|
|
17
|
-
chartAssist: ChartAssist;
|
|
18
|
-
valueAccessorKey: string;
|
|
19
|
-
collectionId: string;
|
|
20
|
-
zoomPlugins: TimeseriesWidgetZoomPlugin[];
|
|
21
|
-
protected renderer: Renderer<IAccessors>;
|
|
22
|
-
protected accessors: IAccessors;
|
|
23
|
-
timeseriesChartTypes: typeof TimeseriesChartTypes;
|
|
24
|
-
summarySerie: IChartAssistSeries<IAccessors>;
|
|
25
|
-
summaryLegendBcgColor: string;
|
|
26
|
-
summaryLegendColor: string;
|
|
27
|
-
transformers: Map<TimeseriesTransformer, ITransformerDescription>;
|
|
28
|
-
constructor(eventBus: EventBus<IEvent>, dataSource: IDataSource, timeseriesScalesService: TimeseriesScalesService, changeDetector: ChangeDetectorRef);
|
|
29
|
-
protected abstract createAccessors(colorProvider: IValueProvider<string>): IAccessors;
|
|
30
|
-
protected abstract createChartAssist(palette: ChartPalette): ChartAssist;
|
|
31
|
-
mapSeriesSet(data: any[], scales: IXYScales): IChartAssistSeries<IAccessors>[];
|
|
32
|
-
/** Checks if legend should be shown. */
|
|
33
|
-
hasLegend(): boolean;
|
|
34
|
-
/** Checks if legend should be aligned to right. */
|
|
35
|
-
legendShouldBeAlignedRight(): boolean;
|
|
36
|
-
onPrimaryDescClick(event: MouseEvent, legendSeries: IChartAssistSeries<IAccessors>): void;
|
|
37
|
-
/** Updates chart data. */
|
|
38
|
-
protected updateChartData(): void;
|
|
39
|
-
/**
|
|
40
|
-
* Initialize chart
|
|
41
|
-
*/
|
|
42
|
-
protected buildChart(): void;
|
|
43
|
-
/**
|
|
44
|
-
* Subscribe to chart events and emit
|
|
45
|
-
*/
|
|
46
|
-
protected setupInteraction(): void;
|
|
47
|
-
displayLegendMenu(): boolean;
|
|
48
|
-
displayDeleteButton(): boolean;
|
|
49
|
-
transformData(metricId: string, trId: TimeseriesTransformer): void;
|
|
50
|
-
getLegendValue(legendSeries: IChartAssistSeries<IAccessors<any>>, valueAccessorKey: string): string | number | undefined;
|
|
51
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<XYChartComponent, [null, { optional: true; }, null, null]>;
|
|
52
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<XYChartComponent>;
|
|
53
|
-
}
|
|
54
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export * from "./types";
|
|
2
|
-
export * from "./timeseries-widget.component";
|
|
3
|
-
export * from "./timeseries-chart-preset.service";
|
|
4
|
-
export * from "./chart-presets/public-api";
|
|
5
|
-
export * from "./transformer/public-api";
|
|
6
|
-
export * from "./timeseries-inspection-menu/timeseries-inspection-menu.component";
|
|
7
|
-
export * from "./timeseries-helpers";
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { IChartPreset, TimeseriesChartPreset } from "./types";
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class TimeseriesChartPresetService {
|
|
4
|
-
presets: Record<TimeseriesChartPreset, IChartPreset>;
|
|
5
|
-
constructor();
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TimeseriesChartPresetService, never>;
|
|
7
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TimeseriesChartPresetService>;
|
|
8
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { UnitOption } from "@nova-ui/bits";
|
|
2
|
-
import { ITimeseriesWidgetData, TimeseriesChartTypes } from "./types";
|
|
3
|
-
export declare function metricsSeriesMeasurementsMinMax(series: ITimeseriesWidgetData<any>[], axisUnits: UnitOption): {
|
|
4
|
-
min: number;
|
|
5
|
-
max: number;
|
|
6
|
-
};
|
|
7
|
-
export declare function hasTimeseriesWidgetSummaryLegend(type: TimeseriesChartTypes): boolean;
|
|
8
|
-
export declare const SUMMARY_LEGEND_BCG_COLOR = "var(--nui-color-chart-sum)";
|
|
9
|
-
export declare const SUMMARY_LEGEND_COLOR = "var(--nui-color-text-inverse)";
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { ElementRef, OnChanges, OnDestroy, OnInit, SimpleChanges } from "@angular/core";
|
|
2
|
-
import moment from "moment/moment";
|
|
3
|
-
import { EventBus, IEvent, IEventDefinition } from "@nova-ui/bits";
|
|
4
|
-
import { TimeseriesZoomPlugin, TimeseriesZoomPluginsSyncService, ITimeseriesZoomPluginInspectionFrame } from "@nova-ui/charts";
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare const TIMESERIES_INSPECTION_MENU_ZOOM_IN: IEventDefinition<IEvent<ITimeseriesZoomPluginInspectionFrame>>;
|
|
7
|
-
export declare const TIMESERIES_INSPECTION_MENU_ZOOM_OUT: IEventDefinition<IEvent<ITimeseriesZoomPluginInspectionFrame>>;
|
|
8
|
-
export declare const TIMESERIES_INSPECTION_MENU_EXPLORE: IEventDefinition<IEvent<ITimeseriesZoomPluginExploreData>>;
|
|
9
|
-
export declare const TIMESERIES_INSPECTION_MENU_CLOSE: IEventDefinition<IEvent<void>>;
|
|
10
|
-
export declare const TIMESERIES_INSPECTION_MENU_SYNCHRONIZE: IEventDefinition<IEvent<void>>;
|
|
11
|
-
export declare const TIMESERIES_INSPECTION_MENU_CLEAR: IEventDefinition<IEvent<void>>;
|
|
12
|
-
export interface ITimeseriesZoomPluginExploreData {
|
|
13
|
-
ids: string;
|
|
14
|
-
startDate: moment.Moment;
|
|
15
|
-
endDate: moment.Moment;
|
|
16
|
-
openSidePanel: boolean;
|
|
17
|
-
exploringEnabled: boolean;
|
|
18
|
-
}
|
|
19
|
-
export declare class TimeseriesInspectionMenuComponent implements OnInit, OnChanges, OnDestroy {
|
|
20
|
-
element: ElementRef;
|
|
21
|
-
private eventBus;
|
|
22
|
-
private syncService;
|
|
23
|
-
plugin: TimeseriesZoomPlugin;
|
|
24
|
-
exploringEnabled: boolean;
|
|
25
|
-
metricIds?: string;
|
|
26
|
-
collectionId?: string;
|
|
27
|
-
allowed?: boolean;
|
|
28
|
-
private offset;
|
|
29
|
-
private destroy$;
|
|
30
|
-
constructor(element: ElementRef, eventBus: EventBus<IEvent>, syncService: TimeseriesZoomPluginsSyncService);
|
|
31
|
-
ngOnInit(): void;
|
|
32
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
33
|
-
ngOnDestroy(): void;
|
|
34
|
-
clearZoom(): void;
|
|
35
|
-
isZoomInAllowed(): boolean;
|
|
36
|
-
zoomIn(): void;
|
|
37
|
-
zoomOut(): void;
|
|
38
|
-
explore(openSidePanel?: boolean): void;
|
|
39
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TimeseriesInspectionMenuComponent, never>;
|
|
40
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TimeseriesInspectionMenuComponent, "nui-timeseries-inspection-menu", never, { "plugin": { "alias": "plugin"; "required": false; }; "exploringEnabled": { "alias": "exploringEnabled"; "required": false; }; "metricIds": { "alias": "metricIds"; "required": false; }; "collectionId": { "alias": "collectionId"; "required": false; }; "allowed": { "alias": "allowed"; "required": false; }; }, {}, never, never, false, never>;
|
|
41
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { UnitConversionService, UnitOption } from "@nova-ui/bits";
|
|
2
|
-
import { IScale } from "@nova-ui/charts";
|
|
3
|
-
import { ITimeseriesScaleConfig, ITimeseriesWidgetConfig } from "./types";
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/**
|
|
6
|
-
* This service handles scale creation and configuration for the timeseries widget
|
|
7
|
-
*/
|
|
8
|
-
export declare class TimeseriesScalesService {
|
|
9
|
-
private unitConversionService;
|
|
10
|
-
private unitConversionPipe;
|
|
11
|
-
constructor(unitConversionService: UnitConversionService);
|
|
12
|
-
/**
|
|
13
|
-
* Creates a scale based on given configuration
|
|
14
|
-
*
|
|
15
|
-
* @param scaleConfig
|
|
16
|
-
*/
|
|
17
|
-
getScale(scaleConfig: ITimeseriesScaleConfig, units: UnitOption, widgetConfig?: ITimeseriesWidgetConfig): IScale<any>;
|
|
18
|
-
/**
|
|
19
|
-
* Currently only TimeIntervalScale has configuration
|
|
20
|
-
*
|
|
21
|
-
* @param scale
|
|
22
|
-
* @param scaleConfig
|
|
23
|
-
*/
|
|
24
|
-
updateConfiguration(scale: IScale<any>, scaleConfig: ITimeseriesScaleConfig, widgetConfig?: ITimeseriesWidgetConfig): void;
|
|
25
|
-
private getStackedBarScaleDomain;
|
|
26
|
-
private getLineScaleDomain;
|
|
27
|
-
private getStackedAreaScaleDomain;
|
|
28
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TimeseriesScalesService, never>;
|
|
29
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TimeseriesScalesService>;
|
|
30
|
-
}
|