@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,21 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnInit } from "@angular/core";
|
|
2
|
-
import { IWidgetErrorDisplayProperties } from "../../../components/widget/types";
|
|
3
|
-
import { IHasChangeDetector } from "../../../types";
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class WidgetErrorComponent implements OnInit, IHasChangeDetector, IWidgetErrorDisplayProperties {
|
|
6
|
-
changeDetector: ChangeDetectorRef;
|
|
7
|
-
static lateLoadKey: string;
|
|
8
|
-
readonly defaultClasses = "d-flex flex-column justify-content-center w-100 p-3";
|
|
9
|
-
image: string;
|
|
10
|
-
title: string;
|
|
11
|
-
description: string;
|
|
12
|
-
/**
|
|
13
|
-
* Optional class for styling
|
|
14
|
-
*/
|
|
15
|
-
elementClass: string;
|
|
16
|
-
classNames: string;
|
|
17
|
-
constructor(changeDetector: ChangeDetectorRef);
|
|
18
|
-
ngOnInit(): void;
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetErrorComponent, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetErrorComponent, "nui-widget-error", never, { "image": { "alias": "image"; "required": false; }; "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; "elementClass": { "alias": "elementClass"; "required": false; }; }, {}, never, never, false, never>;
|
|
21
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from "@angular/core";
|
|
2
|
-
import { UnitConversionService, UnitOption } from "@nova-ui/bits";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* Pipe for transforming large values to their abbreviated counterparts.
|
|
6
|
-
* Conversions are applied for values 10000 or greater
|
|
7
|
-
*/
|
|
8
|
-
export declare class DashboardUnitConversionPipe implements PipeTransform {
|
|
9
|
-
private unitConversionService;
|
|
10
|
-
constructor(unitConversionService: UnitConversionService);
|
|
11
|
-
/**
|
|
12
|
-
* Transforms a large number value to its abbreviated counterpart
|
|
13
|
-
*
|
|
14
|
-
* @param value The value to convert
|
|
15
|
-
*
|
|
16
|
-
* @returns The string representation of the converted value
|
|
17
|
-
*/
|
|
18
|
-
transform: (value: string | number | undefined, units?: UnitOption, defaultThreshold?: number) => string;
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DashboardUnitConversionPipe, never>;
|
|
20
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<DashboardUnitConversionPipe, "nuiDashboardUnitConversion", false>;
|
|
21
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./dashboard-unit-conversion-pipe";
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { KeyValue } from "@angular/common";
|
|
2
|
-
import { AfterViewInit, EventEmitter, OnChanges, QueryList, SimpleChanges } from "@angular/core";
|
|
3
|
-
import { GridsterComponent, GridsterConfig, GridsterItemComponent } from "angular-gridster2";
|
|
4
|
-
import { EventBus } from "@nova-ui/bits";
|
|
5
|
-
import { IDashboard, IDashboardBelowFoldLazyLoadingConfig } from "./types";
|
|
6
|
-
import { IWidgetEvent } from "../../services/widget-to-dashboard-event-proxy.service";
|
|
7
|
-
import { IWidget } from "../widget/types";
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class DashboardComponent implements OnChanges, AfterViewInit {
|
|
10
|
-
readonly eventBus: EventBus<IWidgetEvent>;
|
|
11
|
-
gridsterConfig: GridsterConfig;
|
|
12
|
-
get dashboard(): IDashboard;
|
|
13
|
-
set dashboard(value: IDashboard);
|
|
14
|
-
private _dashboard;
|
|
15
|
-
dashboardBuffer: IDashboard | null;
|
|
16
|
-
editMode: boolean;
|
|
17
|
-
belowFoldLazyLoadingConfig: IDashboardBelowFoldLazyLoadingConfig;
|
|
18
|
-
gridsterConfigChange: EventEmitter<GridsterConfig>;
|
|
19
|
-
dashboardChange: EventEmitter<IDashboard>;
|
|
20
|
-
get hostClass(): boolean;
|
|
21
|
-
gridster: GridsterComponent;
|
|
22
|
-
gridsterItems: QueryList<GridsterItemComponent>;
|
|
23
|
-
gridsterItemsVisibilityMap: Record<string, boolean>;
|
|
24
|
-
constructor(eventBus: EventBus<IWidgetEvent>);
|
|
25
|
-
ngAfterViewInit(): void;
|
|
26
|
-
onGridsterScroll(): void;
|
|
27
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
28
|
-
orderWidgets: (a: KeyValue<string, IWidget>, b: KeyValue<string, IWidget>) => number;
|
|
29
|
-
trackByFn: (index: number, item: KeyValue<string, IWidget>) => string;
|
|
30
|
-
onWidgetChange(widget: IWidget): void;
|
|
31
|
-
updateWidget(widget: IWidget): void;
|
|
32
|
-
removeWidget(widgetId: string, removePosition?: boolean): void;
|
|
33
|
-
shouldWidgetRender(key: string): boolean;
|
|
34
|
-
private updateWidgetPosition;
|
|
35
|
-
private emitWidgetResize;
|
|
36
|
-
private hookEvent;
|
|
37
|
-
private calculateWidgetsVisibility;
|
|
38
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DashboardComponent, never>;
|
|
39
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DashboardComponent, "nui-dashboard", never, { "gridsterConfig": { "alias": "gridsterConfig"; "required": false; }; "dashboard": { "alias": "dashboard"; "required": false; }; "editMode": { "alias": "editMode"; "required": false; }; "belowFoldLazyLoadingConfig": { "alias": "belowFoldLazyLoadingConfig"; "required": false; }; }, { "gridsterConfigChange": "gridsterConfigChange"; "dashboardChange": "dashboardChange"; }, never, never, false, never>;
|
|
40
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { GridsterItem } from "angular-gridster2";
|
|
2
|
-
import { WidgetUpdateOperation, WidgetRemovalOperation } from "../../configurator/services/types";
|
|
3
|
-
import { IWidgets } from "../widget/types";
|
|
4
|
-
export interface IDashboard {
|
|
5
|
-
widgets: IWidgets;
|
|
6
|
-
positions: Record<string, GridsterItem>;
|
|
7
|
-
}
|
|
8
|
-
export interface IDashboardBelowFoldLazyLoadingConfig {
|
|
9
|
-
enabled: boolean;
|
|
10
|
-
configuration?: {
|
|
11
|
-
reloadWidgetsOnScroll: boolean;
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
export interface IDashboardPersistenceHandler {
|
|
15
|
-
trySubmit?: WidgetUpdateOperation;
|
|
16
|
-
tryRemove?: WidgetRemovalOperation;
|
|
17
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, OnChanges, OnInit, SimpleChanges } from "@angular/core";
|
|
2
|
-
import { DomSanitizer } from "@angular/platform-browser";
|
|
3
|
-
import { IHasChangeDetector } from "../../types";
|
|
4
|
-
import { EmbeddedContentMode } from "../types";
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class EmbeddedContentComponent implements IHasChangeDetector, OnInit, OnChanges {
|
|
7
|
-
changeDetector: ChangeDetectorRef;
|
|
8
|
-
private document;
|
|
9
|
-
private domSanitizer;
|
|
10
|
-
static lateLoadKey: string;
|
|
11
|
-
mode: EmbeddedContentMode;
|
|
12
|
-
customEmbeddedContent: string;
|
|
13
|
-
sanitized: boolean;
|
|
14
|
-
elementClass: string;
|
|
15
|
-
anchor: ElementRef;
|
|
16
|
-
constructor(changeDetector: ChangeDetectorRef, document: Document, domSanitizer: DomSanitizer);
|
|
17
|
-
ngOnInit(): void;
|
|
18
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
19
|
-
private validateAndApplyEmbeddedContent;
|
|
20
|
-
private sanitizeContext;
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EmbeddedContentComponent, never>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EmbeddedContentComponent, "nui-embedded-content", never, { "mode": { "alias": "mode"; "required": false; }; "customEmbeddedContent": { "alias": "customEmbeddedContent"; "required": false; }; "sanitized": { "alias": "sanitized"; "required": false; }; "elementClass": { "alias": "elementClass"; "required": false; }; }, {}, never, never, false, never>;
|
|
23
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnChanges, SimpleChanges } from "@angular/core";
|
|
2
|
-
import { EventBus, IDataSource, IEvent } from "@nova-ui/bits";
|
|
3
|
-
import { IKpiConfiguration, IKpiData, IKpiFormatterProperties } from "./types";
|
|
4
|
-
import { IHasChangeDetector } from "../../types";
|
|
5
|
-
import { IBroker } from "../providers/types";
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class KpiComponent implements IHasChangeDetector, OnChanges {
|
|
8
|
-
changeDetector: ChangeDetectorRef;
|
|
9
|
-
dataSource: IDataSource;
|
|
10
|
-
eventBus: EventBus<IEvent>;
|
|
11
|
-
static lateLoadKey: string;
|
|
12
|
-
widgetData: IKpiData;
|
|
13
|
-
backgroundColor: string;
|
|
14
|
-
syncValuesBroker: IBroker[];
|
|
15
|
-
configuration: IKpiConfiguration;
|
|
16
|
-
busy: boolean;
|
|
17
|
-
elementClass: string;
|
|
18
|
-
formattersProperties: IKpiFormatterProperties;
|
|
19
|
-
defaultColor: string;
|
|
20
|
-
get interactive(): boolean;
|
|
21
|
-
constructor(changeDetector: ChangeDetectorRef, dataSource: IDataSource, eventBus: EventBus<IEvent>);
|
|
22
|
-
onInteraction(): void;
|
|
23
|
-
getScaleBroker(id: string): IBroker | undefined;
|
|
24
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
25
|
-
get showEmpty(): boolean;
|
|
26
|
-
/**
|
|
27
|
-
* Iterates over formatters and maps their properties from the data
|
|
28
|
-
*
|
|
29
|
-
* @param formattersConfiguration
|
|
30
|
-
*/
|
|
31
|
-
private getFormatterProperties;
|
|
32
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KpiComponent, [null, { optional: true; }, null]>;
|
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KpiComponent, "nui-kpi", never, { "widgetData": { "alias": "widgetData"; "required": false; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "syncValuesBroker": { "alias": "syncValuesBroker"; "required": false; }; "configuration": { "alias": "configuration"; "required": false; }; "busy": { "alias": "busy"; "required": false; }; }, {}, never, never, false, never>;
|
|
34
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { IFormatter } from "../types";
|
|
2
|
-
export declare enum KpiFormatterTypes {
|
|
3
|
-
Value = "Value"
|
|
4
|
-
}
|
|
5
|
-
export interface IKpiData {
|
|
6
|
-
id?: string;
|
|
7
|
-
value?: any;
|
|
8
|
-
units?: string;
|
|
9
|
-
label?: string;
|
|
10
|
-
backgroundColor?: string;
|
|
11
|
-
textColor?: string;
|
|
12
|
-
fontSize?: string;
|
|
13
|
-
numberFormat?: string;
|
|
14
|
-
link?: string;
|
|
15
|
-
margin?: number;
|
|
16
|
-
[key: string]: any;
|
|
17
|
-
}
|
|
18
|
-
export interface IKpiConfiguration {
|
|
19
|
-
interactive?: boolean;
|
|
20
|
-
formatters?: IKpiFormattersConfiguration;
|
|
21
|
-
}
|
|
22
|
-
export type IKpiFormattersConfiguration = Partial<Record<KpiFormatterTypes | string, {
|
|
23
|
-
formatter: IFormatter;
|
|
24
|
-
}>>;
|
|
25
|
-
export type IKpiFormatterProperties = Partial<Record<KpiFormatterTypes | string, any>>;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, DoCheck, OnChanges, OnDestroy, SimpleChanges } from "@angular/core";
|
|
2
|
-
import { Subject } from "rxjs";
|
|
3
|
-
import { LoggerService } from "@nova-ui/bits";
|
|
4
|
-
import { PizzagnaService } from "../../pizzagna/services/pizzagna.service";
|
|
5
|
-
import { IComponentConfiguration, IHasChangeDetector } from "../../types";
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare abstract class BaseLayout implements IHasChangeDetector, OnChanges, DoCheck, OnDestroy {
|
|
8
|
-
changeDetector: ChangeDetectorRef;
|
|
9
|
-
protected pizzagnaService: PizzagnaService;
|
|
10
|
-
protected logger: LoggerService;
|
|
11
|
-
nodeComponentsConfigs: IComponentConfiguration[];
|
|
12
|
-
nodeConfigs: IComponentConfiguration[];
|
|
13
|
-
protected destroyed$: Subject<void>;
|
|
14
|
-
template: Partial<IComponentConfiguration>;
|
|
15
|
-
constructor(changeDetector: ChangeDetectorRef, pizzagnaService: PizzagnaService, logger: LoggerService);
|
|
16
|
-
abstract getNodes(): string[];
|
|
17
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
18
|
-
ngDoCheck(): void;
|
|
19
|
-
ngOnDestroy(): void;
|
|
20
|
-
trackByFn(index: number, node: IComponentConfiguration): string;
|
|
21
|
-
private checkNodeConfigs;
|
|
22
|
-
private updateNodeComponentConfigs;
|
|
23
|
-
private updateNodeConfigs;
|
|
24
|
-
private getNodeComponentsConfigs;
|
|
25
|
-
private getTemplateChangeForNodes;
|
|
26
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaseLayout, never>;
|
|
27
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<BaseLayout>;
|
|
28
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnDestroy, OnInit } from "@angular/core";
|
|
2
|
-
import { LoggerService } from "@nova-ui/bits";
|
|
3
|
-
import { PizzagnaService } from "../../../pizzagna/services/pizzagna.service";
|
|
4
|
-
import { BaseLayout } from "../base-layout";
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class StackComponent extends BaseLayout implements OnInit, OnDestroy {
|
|
7
|
-
static lateLoadKey: string;
|
|
8
|
-
nodes: string[];
|
|
9
|
-
direction: string;
|
|
10
|
-
elementClass: string;
|
|
11
|
-
classNames: string;
|
|
12
|
-
readonly defaultClassNames = "h-100 w-100 d-flex";
|
|
13
|
-
constructor(changeDetector: ChangeDetectorRef, pizzagnaService: PizzagnaService, logger: LoggerService);
|
|
14
|
-
ngOnInit(): void;
|
|
15
|
-
ngOnDestroy(): void;
|
|
16
|
-
getNodes(): string[];
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<StackComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StackComponent, "nui-stack", never, { "nodes": { "alias": "nodes"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; "elementClass": { "alias": "elementClass"; "required": false; }; }, {}, never, never, false, never>;
|
|
19
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ChangeDetectorRef, NgZone, OnDestroy } from "@angular/core";
|
|
2
|
-
import { LoggerService } from "@nova-ui/bits";
|
|
3
|
-
import { PizzagnaService } from "../../../pizzagna/services/pizzagna.service";
|
|
4
|
-
import { BaseLayout } from "../base-layout";
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class TilesComponent extends BaseLayout implements OnDestroy, AfterViewInit {
|
|
7
|
-
private ngZone;
|
|
8
|
-
static lateLoadKey: string;
|
|
9
|
-
nodes: string[];
|
|
10
|
-
direction: string;
|
|
11
|
-
elementClass: string;
|
|
12
|
-
prioritizeGridRows: boolean;
|
|
13
|
-
private gridItemsContainer;
|
|
14
|
-
private tilesResizeObserver;
|
|
15
|
-
constructor(changeDetector: ChangeDetectorRef, pizzagnaService: PizzagnaService, logger: LoggerService, ngZone: NgZone);
|
|
16
|
-
ngAfterViewInit(): void;
|
|
17
|
-
ngOnDestroy(): void;
|
|
18
|
-
getNodes(): string[];
|
|
19
|
-
private handleGridFlowOnResize;
|
|
20
|
-
private onResize;
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TilesComponent, never>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TilesComponent, "nui-tiles", never, { "nodes": { "alias": "nodes"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; }, {}, never, never, false, never>;
|
|
23
|
-
}
|
package/lib/components/list-widget/list-elements/list-group-item/list-group-item.component.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, EventEmitter } from "@angular/core";
|
|
2
|
-
import { IHasChangeDetector } from "../../../../types";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ListGroupItemComponent implements IHasChangeDetector {
|
|
5
|
-
changeDetector: ChangeDetectorRef;
|
|
6
|
-
static lateLoadKey: string;
|
|
7
|
-
id: string;
|
|
8
|
-
label: string;
|
|
9
|
-
statuses: Array<{
|
|
10
|
-
[key: string]: any;
|
|
11
|
-
}>;
|
|
12
|
-
canNavigate: boolean;
|
|
13
|
-
set widgetWidth(res: number);
|
|
14
|
-
navigated: EventEmitter<ListGroupItemComponent>;
|
|
15
|
-
isMedium: boolean;
|
|
16
|
-
isSmall: boolean;
|
|
17
|
-
constructor(changeDetector: ChangeDetectorRef);
|
|
18
|
-
onButtonClick(): void;
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ListGroupItemComponent, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ListGroupItemComponent, "nui-list-group-item", never, { "id": { "alias": "id"; "required": false; }; "label": { "alias": "label"; "required": false; }; "statuses": { "alias": "statuses"; "required": false; }; "canNavigate": { "alias": "canNavigate"; "required": false; }; "widgetWidth": { "alias": "widgetWidth"; "required": false; }; }, { "navigated": "navigated"; }, never, never, false, never>;
|
|
21
|
-
}
|
package/lib/components/list-widget/list-elements/list-leaf-item/list-leaf-item.component.d.ts
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, EventEmitter, OnInit } from "@angular/core";
|
|
2
|
-
import { Subject } from "rxjs";
|
|
3
|
-
import { EventBus, IEvent } from "@nova-ui/bits";
|
|
4
|
-
import { IHasChangeDetector } from "../../../../types";
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class ListLeafItemComponent implements IHasChangeDetector, OnInit {
|
|
7
|
-
changeDetector: ChangeDetectorRef;
|
|
8
|
-
eventBus: EventBus<IEvent>;
|
|
9
|
-
static lateLoadKey: string;
|
|
10
|
-
icon: string;
|
|
11
|
-
status: string;
|
|
12
|
-
detailedUrl: string;
|
|
13
|
-
label: string;
|
|
14
|
-
canNavigate: boolean;
|
|
15
|
-
url: string;
|
|
16
|
-
navigated: EventEmitter<ListLeafItemComponent>;
|
|
17
|
-
searchTerm: string;
|
|
18
|
-
protected readonly destroy$: Subject<void>;
|
|
19
|
-
onButtonClick(): void;
|
|
20
|
-
constructor(changeDetector: ChangeDetectorRef, eventBus: EventBus<IEvent>);
|
|
21
|
-
ngOnInit(): void;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ListLeafItemComponent, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ListLeafItemComponent, "nui-list-leaf-item", never, { "icon": { "alias": "icon"; "required": false; }; "status": { "alias": "status"; "required": false; }; "detailedUrl": { "alias": "detailedUrl"; "required": false; }; "label": { "alias": "label"; "required": false; }; "canNavigate": { "alias": "canNavigate"; "required": false; }; "url": { "alias": "url"; "required": false; }; }, { "navigated": "navigated"; }, never, never, false, never>;
|
|
24
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, EventEmitter } from "@angular/core";
|
|
2
|
-
import { EventBus, IEvent } from "@nova-ui/bits";
|
|
3
|
-
import { INavigationBarConfig } from "../../types";
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class ListNavigationBarComponent {
|
|
6
|
-
changeDetector: ChangeDetectorRef;
|
|
7
|
-
private eventBus;
|
|
8
|
-
static lateLoadKey: string;
|
|
9
|
-
navBarConfig: INavigationBarConfig;
|
|
10
|
-
navigated: EventEmitter<any>;
|
|
11
|
-
constructor(changeDetector: ChangeDetectorRef, eventBus: EventBus<IEvent>);
|
|
12
|
-
onBack(): void;
|
|
13
|
-
onHome(): void;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ListNavigationBarComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ListNavigationBarComponent, "nui-navigation-bar", never, { "navBarConfig": { "alias": "navBarConfig"; "required": false; }; }, { "navigated": "navigated"; }, never, never, false, never>;
|
|
16
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, NgZone, OnChanges, OnDestroy, OnInit, SimpleChanges } from "@angular/core";
|
|
2
|
-
import { EventBus, IEvent } from "@nova-ui/bits";
|
|
3
|
-
import { IListWidgetConfiguration } from "./types";
|
|
4
|
-
import { IHasChangeDetector } from "../../types";
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class ListWidgetComponent implements OnDestroy, OnInit, IHasChangeDetector, OnChanges {
|
|
7
|
-
changeDetector: ChangeDetectorRef;
|
|
8
|
-
private zone;
|
|
9
|
-
private host;
|
|
10
|
-
private eventBus;
|
|
11
|
-
static lateLoadKey: string;
|
|
12
|
-
data: any[];
|
|
13
|
-
configuration: IListWidgetConfiguration;
|
|
14
|
-
elementClass: string;
|
|
15
|
-
private itemFormatterProps;
|
|
16
|
-
private readonly destroy$;
|
|
17
|
-
private widgetWidth;
|
|
18
|
-
constructor(changeDetector: ChangeDetectorRef, zone: NgZone, host: ElementRef, eventBus: EventBus<IEvent>);
|
|
19
|
-
ngOnInit(): void;
|
|
20
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
21
|
-
onListItemEvent(item: any): void;
|
|
22
|
-
ngOnDestroy(): void;
|
|
23
|
-
getPropsFor(item: any): any;
|
|
24
|
-
shouldDisplayRepeat(): boolean;
|
|
25
|
-
private calcItemProps;
|
|
26
|
-
private initResizeObserver;
|
|
27
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ListWidgetComponent, never>;
|
|
28
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ListWidgetComponent, "nui-list-widget", never, { "data": { "alias": "data"; "required": false; }; "configuration": { "alias": "configuration"; "required": false; }; "elementClass": { "alias": "elementClass"; "required": false; }; }, {}, never, never, false, never>;
|
|
29
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export * from "./types";
|
|
2
|
-
export * from "./list-widget.component";
|
|
3
|
-
export * from "./list-elements/list-leaf-item/list-leaf-item.component";
|
|
4
|
-
export * from "./list-elements/list-group-item/list-group-item.component";
|
|
5
|
-
export * from "./list-elements/list-navigation-bar/list-navigation-bar.component";
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { IProperties } from "../../types";
|
|
2
|
-
import { IFormatter } from "../types";
|
|
3
|
-
export interface IListWidgetConfiguration extends IFormatter {
|
|
4
|
-
properties: Record<string, any>;
|
|
5
|
-
itemProperties?: IProperties;
|
|
6
|
-
}
|
|
7
|
-
export interface INavigationBarButtons {
|
|
8
|
-
back?: {
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
};
|
|
11
|
-
home?: {
|
|
12
|
-
disabled?: boolean;
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
export interface INavigationBarConfig {
|
|
16
|
-
buttons?: INavigationBarButtons;
|
|
17
|
-
label?: string;
|
|
18
|
-
isRoot?: boolean;
|
|
19
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef } from "@angular/core";
|
|
2
|
-
import { IHasChangeDetector } from "../../types";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class LoadingComponent implements IHasChangeDetector {
|
|
5
|
-
changeDetector: ChangeDetectorRef;
|
|
6
|
-
static lateLoadKey: string;
|
|
7
|
-
active: boolean;
|
|
8
|
-
constructor(changeDetector: ChangeDetectorRef);
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LoadingComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LoadingComponent, "nui-loading", never, { "active": { "alias": "active"; "required": false; }; }, {}, never, never, false, never>;
|
|
11
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./loading.component";
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnChanges, OnDestroy, SimpleChanges } from "@angular/core";
|
|
2
|
-
import { LoggerService } from "@nova-ui/bits";
|
|
3
|
-
import { IAccessors, IChartAssistSeries } from "@nova-ui/charts";
|
|
4
|
-
import { ProportionalContentAggregatorsRegistryService } from "../../../services/proportional-content-aggregators-registry.service";
|
|
5
|
-
import { ProportionalDonutContentFormattersRegistryService } from "../../../services/public-api";
|
|
6
|
-
import { IHasChangeDetector } from "../../../types";
|
|
7
|
-
import { IFormatter, IFormatterProperties } from "../../types";
|
|
8
|
-
import { IDonutContentConfig } from "../types";
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
export declare class ProportionalDonutContentComponent implements OnChanges, OnDestroy, IHasChangeDetector {
|
|
11
|
-
private aggregatorRegistry;
|
|
12
|
-
private formatterRegistry;
|
|
13
|
-
changeDetector: ChangeDetectorRef;
|
|
14
|
-
private logger;
|
|
15
|
-
static lateLoadKey: string;
|
|
16
|
-
widgetData: IChartAssistSeries<IAccessors>[];
|
|
17
|
-
donutConfig: IDonutContentConfig;
|
|
18
|
-
private chartAssist;
|
|
19
|
-
aggregatedValue: string;
|
|
20
|
-
contentFormatter: IFormatter;
|
|
21
|
-
contentFormatterProperties: IFormatterProperties | undefined;
|
|
22
|
-
private contentFormatterDefinition;
|
|
23
|
-
private contentAggregatorDefinition;
|
|
24
|
-
/** Hovered series Id */
|
|
25
|
-
private emphasizedSeriesId;
|
|
26
|
-
private destroy$;
|
|
27
|
-
private chartAssistSubscription;
|
|
28
|
-
constructor(aggregatorRegistry: ProportionalContentAggregatorsRegistryService, formatterRegistry: ProportionalDonutContentFormattersRegistryService, changeDetector: ChangeDetectorRef, logger: LoggerService);
|
|
29
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
30
|
-
ngOnDestroy(): void;
|
|
31
|
-
/**
|
|
32
|
-
* Iterates over formatters and maps their properties from the data
|
|
33
|
-
*
|
|
34
|
-
* @param formattersConfiguration
|
|
35
|
-
*/
|
|
36
|
-
private getFormatterProperties;
|
|
37
|
-
private updateAggregatorDefinition;
|
|
38
|
-
private updateFormatterDefinition;
|
|
39
|
-
private updateAggregatedValue;
|
|
40
|
-
private updateFormatterProperties;
|
|
41
|
-
private getAggregatorProperties;
|
|
42
|
-
private subscribeToChartAssist;
|
|
43
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ProportionalDonutContentComponent, never>;
|
|
44
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ProportionalDonutContentComponent, "nui-proportional-donut-content", never, { "widgetData": { "alias": "widgetData"; "required": false; }; "donutConfig": { "alias": "donutConfig"; "required": false; }; "chartAssist": { "alias": "chartAssist"; "required": false; }; }, {}, never, never, false, never>;
|
|
45
|
-
}
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ChangeDetectorRef, KeyValueDiffers, NgZone, OnChanges, OnDestroy, SimpleChanges } from "@angular/core";
|
|
2
|
-
import { EventBus, IDataSource, IEvent, LoggerService, UnitConversionService } from "@nova-ui/bits";
|
|
3
|
-
import { ChartAssist, ChartDonutContentPlugin, IAccessors } from "@nova-ui/charts";
|
|
4
|
-
import { IHasChangeDetector } from "../../types";
|
|
5
|
-
import { IFormatter } from "../types";
|
|
6
|
-
import { IProportionalWidgetData, IProportionalWidgetConfig } from "./types";
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/** @ignore */
|
|
9
|
-
export declare class ProportionalWidgetComponent implements AfterViewInit, OnChanges, IHasChangeDetector, OnDestroy {
|
|
10
|
-
changeDetector: ChangeDetectorRef;
|
|
11
|
-
private ngZone;
|
|
12
|
-
private kvDiffers;
|
|
13
|
-
private eventBus;
|
|
14
|
-
private dataSource;
|
|
15
|
-
private logger;
|
|
16
|
-
static lateLoadKey: string;
|
|
17
|
-
private static NO_SWITCH_LAYOUT_INTERVAL_SIZE;
|
|
18
|
-
private static MAX_ROW_LAYOUT_SIZE;
|
|
19
|
-
private static TICK_LABEL_MAX_WIDTH;
|
|
20
|
-
widgetData: IProportionalWidgetData[];
|
|
21
|
-
configuration: IProportionalWidgetConfig;
|
|
22
|
-
elementClass: string;
|
|
23
|
-
seriesToIconMap: {
|
|
24
|
-
[seriesId: string]: string;
|
|
25
|
-
};
|
|
26
|
-
chartAssist: ChartAssist;
|
|
27
|
-
accessors: IAccessors;
|
|
28
|
-
donutContentPlugin: ChartDonutContentPlugin | null;
|
|
29
|
-
legendUnitLabel: string;
|
|
30
|
-
legendFormatter: IFormatter | undefined;
|
|
31
|
-
contentFormatter: IFormatter | undefined;
|
|
32
|
-
chartFormatterComponentType: string | undefined;
|
|
33
|
-
contentFormatterProperties: any;
|
|
34
|
-
prioritizedGridRows: {
|
|
35
|
-
right: boolean;
|
|
36
|
-
bottom: boolean;
|
|
37
|
-
};
|
|
38
|
-
private differ;
|
|
39
|
-
private renderer;
|
|
40
|
-
private scales;
|
|
41
|
-
private chartPalette;
|
|
42
|
-
private proportionalWidgetResizeObserver;
|
|
43
|
-
private unitConversionPipe;
|
|
44
|
-
private gridContainer;
|
|
45
|
-
private chartTypeSubscription$;
|
|
46
|
-
get interactive(): boolean;
|
|
47
|
-
constructor(changeDetector: ChangeDetectorRef, ngZone: NgZone, kvDiffers: KeyValueDiffers, eventBus: EventBus<IEvent>, dataSource: IDataSource, logger: LoggerService, unitConversionService: UnitConversionService);
|
|
48
|
-
computeLegendTileValue(legendSeries: unknown): string | undefined;
|
|
49
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
50
|
-
ngAfterViewInit(): void;
|
|
51
|
-
ngOnDestroy(): void;
|
|
52
|
-
getContentFormatterProperties(): void;
|
|
53
|
-
/** Checks if chart is donut. */
|
|
54
|
-
isDonutChart(): boolean;
|
|
55
|
-
/** Checks if chart is radial. */
|
|
56
|
-
isRadialChart(): boolean;
|
|
57
|
-
/** Checks if legend should be shown. */
|
|
58
|
-
hasLegend(): boolean;
|
|
59
|
-
/** Checks if legend should be aligned to right. */
|
|
60
|
-
legendShouldBeAlignedRight(): boolean;
|
|
61
|
-
onInteraction(data: any): void;
|
|
62
|
-
/** Configures the chart options */
|
|
63
|
-
private buildChart;
|
|
64
|
-
private handleGridFlowOnResize;
|
|
65
|
-
private applyTickLabelMaxWidths;
|
|
66
|
-
private onResize;
|
|
67
|
-
private isContainerInNoSwitchLayoutInterval;
|
|
68
|
-
private containerHasRowLayoutWidth;
|
|
69
|
-
/** Builds the chart */
|
|
70
|
-
private updateChart;
|
|
71
|
-
private updateChartColors;
|
|
72
|
-
private getDataDriverColorProvider;
|
|
73
|
-
private getConfigurationColorProvider;
|
|
74
|
-
get isEmpty(): boolean;
|
|
75
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ProportionalWidgetComponent, never>;
|
|
76
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ProportionalWidgetComponent, "nui-proportional-widget", never, { "widgetData": { "alias": "widgetData"; "required": false; }; "configuration": { "alias": "configuration"; "required": false; }; "elementClass": { "alias": "elementClass"; "required": false; }; "seriesToIconMap": { "alias": "seriesToIconMap"; "required": false; }; }, {}, never, never, false, never>;
|
|
77
|
-
}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { BehaviorSubject } from "rxjs";
|
|
2
|
-
import { IDataField, IDataFieldsConfig } from "@nova-ui/bits";
|
|
3
|
-
import { IAllAround, IAccessors, IChartAssistSeries } from "@nova-ui/charts";
|
|
4
|
-
import { IProportionalDonutContentAggregator } from "../../functions/proportional-aggregators/types";
|
|
5
|
-
import { ILegendPlacementOption, LegendPlacement } from "../../widget-types/common/widget/legend";
|
|
6
|
-
import { IFormatter, IFormatterDefinition } from "../types";
|
|
7
|
-
export declare enum ProportionalWidgetChartTypes {
|
|
8
|
-
DonutChart = "DonutChart",
|
|
9
|
-
PieChart = "PieChart",
|
|
10
|
-
VerticalBarChart = "VerticalBarChart",
|
|
11
|
-
HorizontalBarChart = "HorizontalBarChart"
|
|
12
|
-
}
|
|
13
|
-
export interface IProportionalWidgetChartTypeConfiguration {
|
|
14
|
-
id: ProportionalWidgetChartTypes;
|
|
15
|
-
label: string;
|
|
16
|
-
}
|
|
17
|
-
export interface ITickLabelConfig {
|
|
18
|
-
maxWidth: Partial<IAllAround<number>>;
|
|
19
|
-
}
|
|
20
|
-
export interface IProportionalWidgetChartOptions {
|
|
21
|
-
type: ProportionalWidgetChartTypes;
|
|
22
|
-
contentFormatter?: IFormatter;
|
|
23
|
-
legendPlacement?: LegendPlacement;
|
|
24
|
-
legendFormatter?: IFormatter;
|
|
25
|
-
chartFormatterComponentType?: string;
|
|
26
|
-
donutContentConfig?: IDonutContentConfig;
|
|
27
|
-
horizontalBarTickLabelConfig?: ITickLabelConfig;
|
|
28
|
-
}
|
|
29
|
-
export interface IProportionalWidgetConfig {
|
|
30
|
-
chartDonutContentLabel?: string;
|
|
31
|
-
chartDonutContentIcon?: string;
|
|
32
|
-
chartOptions: IProportionalWidgetChartOptions;
|
|
33
|
-
/** Chart and legend will emit an INTERACTION event on click if this property is enabled */
|
|
34
|
-
interactive?: boolean;
|
|
35
|
-
chartColors?: string[] | {
|
|
36
|
-
[key: string]: string;
|
|
37
|
-
};
|
|
38
|
-
/** set "true" if you want for widget configuration to override colors that come built-in data */
|
|
39
|
-
prioritizeWidgetColors?: boolean;
|
|
40
|
-
}
|
|
41
|
-
export interface ILegendFormat {
|
|
42
|
-
displayValue: string;
|
|
43
|
-
formatKey: string;
|
|
44
|
-
}
|
|
45
|
-
export interface IProportionalWidgetChartEditorOptions {
|
|
46
|
-
chartTypes: ProportionalWidgetChartTypes[];
|
|
47
|
-
legendPlacementOptions: ILegendPlacementOption[];
|
|
48
|
-
legendFormats: Array<ILegendFormat>;
|
|
49
|
-
legendFormatters: IFormatterDefinition[];
|
|
50
|
-
contentFormatters?: IFormatterDefinition[];
|
|
51
|
-
}
|
|
52
|
-
export interface IDonutContentConfig {
|
|
53
|
-
formatter: IFormatter;
|
|
54
|
-
aggregator: IProportionalDonutContentAggregator;
|
|
55
|
-
}
|
|
56
|
-
export interface IProportionalDataFieldsConfig extends IDataFieldsConfig {
|
|
57
|
-
chartSeriesDataFields$: BehaviorSubject<IDataField[]>;
|
|
58
|
-
}
|
|
59
|
-
export interface IProportionalWidgetData extends IChartAssistSeries<IAccessors> {
|
|
60
|
-
link?: string;
|
|
61
|
-
}
|