@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,32 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnInit, OnChanges, SimpleChanges } from "@angular/core";
|
|
2
|
-
import { TimeseriesZoomPluginsSyncService } from "@nova-ui/charts";
|
|
3
|
-
import { TimeseriesChartPresetService } from "./timeseries-chart-preset.service";
|
|
4
|
-
import { IChartPreset, ITimeseriesOutput, ITimeseriesWidgetConfig, TimeseriesWidgetProjectType, TimeseriesWidgetZoomPlugin } from "./types";
|
|
5
|
-
import { IHasChangeDetector } from "../../types";
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/** @ignore */
|
|
8
|
-
export declare class TimeseriesWidgetComponent implements OnInit, OnChanges, IHasChangeDetector {
|
|
9
|
-
timeseriesChartPresetService: TimeseriesChartPresetService;
|
|
10
|
-
changeDetector: ChangeDetectorRef;
|
|
11
|
-
zoomPluginsSyncService: TimeseriesZoomPluginsSyncService;
|
|
12
|
-
static lateLoadKey: string;
|
|
13
|
-
widgetData?: ITimeseriesOutput;
|
|
14
|
-
configuration?: ITimeseriesWidgetConfig;
|
|
15
|
-
collectionId?: string;
|
|
16
|
-
elementClass: string;
|
|
17
|
-
chartPreset: IChartPreset;
|
|
18
|
-
zoomPlugins: TimeseriesWidgetZoomPlugin[];
|
|
19
|
-
allowPopover: boolean;
|
|
20
|
-
timeseriesWidgetProjectType: typeof TimeseriesWidgetProjectType;
|
|
21
|
-
constructor(timeseriesChartPresetService: TimeseriesChartPresetService, changeDetector: ChangeDetectorRef, zoomPluginsSyncService: TimeseriesZoomPluginsSyncService);
|
|
22
|
-
ngOnInit(): void;
|
|
23
|
-
private getTimeseriesZoomPlugin;
|
|
24
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
25
|
-
/** Checks if chart should be shown. */
|
|
26
|
-
shouldShowChart(): boolean;
|
|
27
|
-
toggleLeave(): void;
|
|
28
|
-
toggleEnter(): void;
|
|
29
|
-
isExploringEnabled(): boolean;
|
|
30
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TimeseriesWidgetComponent, never>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TimeseriesWidgetComponent, "nui-timeseries-widget", never, { "widgetData": { "alias": "widgetData"; "required": false; }; "configuration": { "alias": "configuration"; "required": false; }; "collectionId": { "alias": "collectionId"; "required": false; }; "elementClass": { "alias": "elementClass"; "required": false; }; }, {}, never, never, false, never>;
|
|
32
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export * from "./transformer-difference";
|
|
2
|
-
export * from "./transformer-change-point";
|
|
3
|
-
export * from "./transformer-floating-average";
|
|
4
|
-
export * from "./transformer-loess";
|
|
5
|
-
export * from "./transformer-normalize";
|
|
6
|
-
export * from "./transformer-lin-reg";
|
|
7
|
-
export * from "./transformer-loess-standardize";
|
|
8
|
-
export * from "./transformer-percentile-std";
|
|
9
|
-
export * from "./transformer-standardize";
|
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
import { ITimeFramePresetDictionary, UnitOption } from "@nova-ui/bits";
|
|
2
|
-
import { TimeseriesZoomPlugin, ZoomPlugin } from "@nova-ui/charts";
|
|
3
|
-
import { IProperties } from "../../types";
|
|
4
|
-
import { LegendPlacement } from "../../widget-types/common/widget/legend";
|
|
5
|
-
export interface ITimeseriesWidgetConfig {
|
|
6
|
-
interaction: null | "series" | "dataPoints";
|
|
7
|
-
displayedSeries: ITimeseriesWidgetSeries[];
|
|
8
|
-
legendPlacement: LegendPlacement;
|
|
9
|
-
leftAxisLabel?: string;
|
|
10
|
-
timeFramePickerPresets?: ITimeFramePresetDictionary;
|
|
11
|
-
enableZoom: boolean;
|
|
12
|
-
chartColors?: string[];
|
|
13
|
-
preset: TimeseriesChartPreset;
|
|
14
|
-
scales: ITimeseriesScalesConfig;
|
|
15
|
-
units: UnitOption;
|
|
16
|
-
collectionId?: string;
|
|
17
|
-
leftYAxisUnits?: UnitOption;
|
|
18
|
-
rightYAxisUnits?: UnitOption;
|
|
19
|
-
gridConfig?: {
|
|
20
|
-
[key: string]: any;
|
|
21
|
-
};
|
|
22
|
-
hasAdjacentChart?: boolean;
|
|
23
|
-
groupUniqueId?: string;
|
|
24
|
-
allowLegendMenu?: boolean;
|
|
25
|
-
metricIds?: string;
|
|
26
|
-
realTimeIds?: string[];
|
|
27
|
-
type?: number;
|
|
28
|
-
projectType?: TimeseriesWidgetProjectType;
|
|
29
|
-
}
|
|
30
|
-
export interface ITimeseriesWidgetSeries {
|
|
31
|
-
id: string;
|
|
32
|
-
label: string;
|
|
33
|
-
selectedSeriesId: string;
|
|
34
|
-
}
|
|
35
|
-
export interface ITimeseriesWidgetData<T = ITimeseriesWidgetSeriesData> {
|
|
36
|
-
id: string;
|
|
37
|
-
name: string;
|
|
38
|
-
description: string;
|
|
39
|
-
data: T[];
|
|
40
|
-
rawData?: T[];
|
|
41
|
-
transformer?: (data: T[], hasPercentile?: boolean) => T[];
|
|
42
|
-
link?: string;
|
|
43
|
-
secondaryLink?: string;
|
|
44
|
-
metricUnits?: UnitOption;
|
|
45
|
-
}
|
|
46
|
-
export interface ITimeseriesWidgetSeriesData {
|
|
47
|
-
x: any;
|
|
48
|
-
y: any;
|
|
49
|
-
[key: string]: any;
|
|
50
|
-
}
|
|
51
|
-
export interface ITimeseriesWidgetStatusData extends ITimeseriesWidgetSeriesData {
|
|
52
|
-
thick?: boolean;
|
|
53
|
-
color?: string;
|
|
54
|
-
icon?: string;
|
|
55
|
-
}
|
|
56
|
-
export interface ITimeseriesOutput<T = ITimeseriesWidgetSeriesData> {
|
|
57
|
-
series: ITimeseriesWidgetData<T>[];
|
|
58
|
-
summarySerie?: ITimeseriesWidgetData<T>;
|
|
59
|
-
}
|
|
60
|
-
export declare enum TimeseriesInteractionType {
|
|
61
|
-
DataPoints = "dataPoints",
|
|
62
|
-
Series = "series",
|
|
63
|
-
Values = "values"
|
|
64
|
-
}
|
|
65
|
-
/** Configuration for a chart preset */
|
|
66
|
-
export interface IChartPreset {
|
|
67
|
-
componentType: string;
|
|
68
|
-
}
|
|
69
|
-
/**
|
|
70
|
-
* Configuration of scales for a x/y chart
|
|
71
|
-
*/
|
|
72
|
-
export interface ITimeseriesScalesConfig {
|
|
73
|
-
x: ITimeseriesScaleConfig;
|
|
74
|
-
y: ITimeseriesScaleConfig;
|
|
75
|
-
yRight?: ITimeseriesScaleConfig;
|
|
76
|
-
}
|
|
77
|
-
/**
|
|
78
|
-
* Configuration of a scale for timeseries widget
|
|
79
|
-
*/
|
|
80
|
-
export interface ITimeseriesScaleConfig {
|
|
81
|
-
/** Type of the scale */
|
|
82
|
-
type: TimeseriesScaleType;
|
|
83
|
-
/** Additional properties of the scale */
|
|
84
|
-
properties?: IProperties;
|
|
85
|
-
}
|
|
86
|
-
/**
|
|
87
|
-
* List of supported scale types for the timeseries widget
|
|
88
|
-
*/
|
|
89
|
-
export declare enum TimeseriesScaleType {
|
|
90
|
-
/** Continous time scale */
|
|
91
|
-
Time = "time",
|
|
92
|
-
/** Time interval scale */
|
|
93
|
-
TimeInterval = "timeInterval",
|
|
94
|
-
/** Numeric linear scale */
|
|
95
|
-
Linear = "linear"
|
|
96
|
-
}
|
|
97
|
-
/** Enumeration of chart presets supported by the timeseries widget */
|
|
98
|
-
export declare enum TimeseriesChartPreset {
|
|
99
|
-
Line = "line",
|
|
100
|
-
StackedArea = "stackedArea",
|
|
101
|
-
StackedPercentageArea = "stackedPercentageArea",
|
|
102
|
-
StackedBar = "stackedBar",
|
|
103
|
-
StatusBar = "statusBar"
|
|
104
|
-
}
|
|
105
|
-
/** Enumeration of timeseries chart types recieved from the backend */
|
|
106
|
-
export declare enum TimeseriesChartTypes {
|
|
107
|
-
line = 1,// Line
|
|
108
|
-
counter = 2,// StackedBar
|
|
109
|
-
event = 3,// StackedBar
|
|
110
|
-
alert = 4,// StackedArea
|
|
111
|
-
status = 5,// StackedArea
|
|
112
|
-
multi = 6,// StatusBar
|
|
113
|
-
dpaWaitTime = 7
|
|
114
|
-
}
|
|
115
|
-
export declare enum TimeseriesTransformer {
|
|
116
|
-
None = "none",
|
|
117
|
-
Normalize = "normalize",
|
|
118
|
-
ChangePoint = "changePoint",
|
|
119
|
-
Difference = "difference",
|
|
120
|
-
Linear = "linear",
|
|
121
|
-
PercentileStd = "percentileStd",
|
|
122
|
-
Smoothing = "smoothing",
|
|
123
|
-
LoessStandardize = "loessStandardize",
|
|
124
|
-
Standardize = "standardize",
|
|
125
|
-
FloatingAverage = "floatingAverage"
|
|
126
|
-
}
|
|
127
|
-
export declare enum TimeseriesWidgetProjectType {
|
|
128
|
-
ModernDashboard = 0,
|
|
129
|
-
PerfstackApp = 1
|
|
130
|
-
}
|
|
131
|
-
export type TimeseriesWidgetZoomPlugin = TimeseriesZoomPlugin | ZoomPlugin;
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { IDataField, TableAlignmentOptions } from "@nova-ui/bits";
|
|
2
|
-
import { IFormatterData } from "../configurator/components/formatters/types";
|
|
3
|
-
import { IProperties } from "../types";
|
|
4
|
-
export interface IFormatterProperties extends IProperties {
|
|
5
|
-
dataFieldIds?: IFormatterData;
|
|
6
|
-
}
|
|
7
|
-
export interface IFormatter {
|
|
8
|
-
componentType: string;
|
|
9
|
-
properties: IFormatterProperties;
|
|
10
|
-
}
|
|
11
|
-
export interface IFormatterConfigurator {
|
|
12
|
-
formatter?: IFormatter;
|
|
13
|
-
formatterDefinition: IFormatterDefinition;
|
|
14
|
-
dataFields: IDataField[];
|
|
15
|
-
}
|
|
16
|
-
export interface IFormatterDefinitionProperties {
|
|
17
|
-
/** CSS class to be applied to the formatter host element */
|
|
18
|
-
elementClass?: string;
|
|
19
|
-
}
|
|
20
|
-
export interface IFormatterDefinition {
|
|
21
|
-
componentType: string;
|
|
22
|
-
label: string;
|
|
23
|
-
/**
|
|
24
|
-
* The formatter's compatible data types.
|
|
25
|
-
*/
|
|
26
|
-
dataTypes: Record<string, string | string[]>;
|
|
27
|
-
/**
|
|
28
|
-
* Component used to configure values for formatter.
|
|
29
|
-
*/
|
|
30
|
-
configurationComponent?: string;
|
|
31
|
-
properties?: IFormatterDefinitionProperties;
|
|
32
|
-
}
|
|
33
|
-
export interface ITableFormatterDefinition extends IFormatterDefinition {
|
|
34
|
-
alignment?: TableAlignmentOptions;
|
|
35
|
-
}
|
|
36
|
-
export interface IInfoMessage {
|
|
37
|
-
componentType: string;
|
|
38
|
-
properties: IInfoMessageProperties;
|
|
39
|
-
}
|
|
40
|
-
export interface IInfoMessageProperties {
|
|
41
|
-
generalText: string;
|
|
42
|
-
emphasizeText?: string;
|
|
43
|
-
link?: ILinkDefinition;
|
|
44
|
-
allowDismiss?: boolean;
|
|
45
|
-
}
|
|
46
|
-
export interface ILinkDefinition {
|
|
47
|
-
href: string;
|
|
48
|
-
target: string;
|
|
49
|
-
text: string;
|
|
50
|
-
}
|
|
51
|
-
export declare enum EmbeddedContentMode {
|
|
52
|
-
URL = 0,
|
|
53
|
-
HTML = 1
|
|
54
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export * from "./widget.component";
|
|
2
|
-
export * from "./widget-header/widget-header.component";
|
|
3
|
-
export * from "./widget-body/widget-body.component";
|
|
4
|
-
export * from "./widget-body-content/widget-body-content.component";
|
|
5
|
-
export * from "./widget-header/types";
|
|
6
|
-
export * from "./types";
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { IPizzagna } from "../../types";
|
|
2
|
-
export interface IWidgets {
|
|
3
|
-
[key: string]: IWidget;
|
|
4
|
-
}
|
|
5
|
-
export interface IWidget {
|
|
6
|
-
id: string;
|
|
7
|
-
type: string;
|
|
8
|
-
version?: number;
|
|
9
|
-
pizzagna: IPizzagna;
|
|
10
|
-
metadata?: IWidgetMetadata;
|
|
11
|
-
uniqueKey?: string;
|
|
12
|
-
}
|
|
13
|
-
export interface IWidgetMetadata extends Record<string, any> {
|
|
14
|
-
/**
|
|
15
|
-
* Set this to true to communicate to the widget cloner that the widget requires
|
|
16
|
-
* further configuration before it can be placed on the dashboard.
|
|
17
|
-
*/
|
|
18
|
-
needsConfiguration?: boolean;
|
|
19
|
-
}
|
|
20
|
-
export interface IWidgetTypeDefinition {
|
|
21
|
-
configurator?: IPizzagna;
|
|
22
|
-
widget: IPizzagna;
|
|
23
|
-
/**
|
|
24
|
-
* Paths to various important values in pizzagnas - this should be coupled with respective pizzagnas in v10 - NUI-5829
|
|
25
|
-
*/
|
|
26
|
-
paths?: {
|
|
27
|
-
widget?: Record<string, string>;
|
|
28
|
-
configurator?: Record<string, string>;
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* The properties for widget error display
|
|
33
|
-
*/
|
|
34
|
-
export interface IWidgetErrorDisplayProperties {
|
|
35
|
-
image: string;
|
|
36
|
-
title: string;
|
|
37
|
-
description: string;
|
|
38
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnDestroy, OnInit } from "@angular/core";
|
|
2
|
-
import { EventBus, IEvent, LoggerService } from "@nova-ui/bits";
|
|
3
|
-
import { PizzagnaService } from "../../../pizzagna/services/pizzagna.service";
|
|
4
|
-
import { BaseLayout } from "../../layouts/base-layout";
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class WidgetBodyComponent extends BaseLayout implements OnInit, OnDestroy {
|
|
7
|
-
private eventBus;
|
|
8
|
-
static lateLoadKey: string;
|
|
9
|
-
/**
|
|
10
|
-
* The component's id
|
|
11
|
-
*/
|
|
12
|
-
componentId: string;
|
|
13
|
-
/**
|
|
14
|
-
* Keeps track of whether the dashboard is in edit mode
|
|
15
|
-
*/
|
|
16
|
-
editMode: boolean;
|
|
17
|
-
/**
|
|
18
|
-
* Pizzagna key for the widget body content
|
|
19
|
-
*/
|
|
20
|
-
content: string;
|
|
21
|
-
/**
|
|
22
|
-
* Optional class for styling
|
|
23
|
-
*/
|
|
24
|
-
elementClass: string;
|
|
25
|
-
classNames: string;
|
|
26
|
-
readonly defaultClasses = "d-flex h-100 w-100";
|
|
27
|
-
constructor(eventBus: EventBus<IEvent>, changeDetector: ChangeDetectorRef, pizzagnaService: PizzagnaService, logger: LoggerService);
|
|
28
|
-
ngOnInit(): void;
|
|
29
|
-
ngOnDestroy(): void;
|
|
30
|
-
getNodes: () => string[];
|
|
31
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetBodyComponent, never>;
|
|
32
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetBodyComponent, "nui-widget-body", never, { "componentId": { "alias": "componentId"; "required": false; }; "editMode": { "alias": "editMode"; "required": false; }; "content": { "alias": "content"; "required": false; }; "elementClass": { "alias": "elementClass"; "required": false; }; }, {}, never, never, false, never>;
|
|
33
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnChanges, OnDestroy, OnInit } from "@angular/core";
|
|
2
|
-
import { LoggerService } from "@nova-ui/bits";
|
|
3
|
-
import { PizzagnaService } from "../../../pizzagna/services/pizzagna.service";
|
|
4
|
-
import { BaseLayout } from "../../layouts/base-layout";
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class WidgetBodyContentComponent extends BaseLayout implements OnChanges, OnInit, OnDestroy {
|
|
7
|
-
static lateLoadKey: string;
|
|
8
|
-
/**
|
|
9
|
-
* The component's id
|
|
10
|
-
*/
|
|
11
|
-
componentId: string;
|
|
12
|
-
/**
|
|
13
|
-
* The pizzagna node to use for the primary content
|
|
14
|
-
*/
|
|
15
|
-
primaryContent: string;
|
|
16
|
-
/**
|
|
17
|
-
* When this property is populated, the component displays the associated
|
|
18
|
-
* fallback content in place of the primary content
|
|
19
|
-
*/
|
|
20
|
-
fallbackKey: string;
|
|
21
|
-
/**
|
|
22
|
-
* Map of content keys to pizzagna nodes
|
|
23
|
-
*/
|
|
24
|
-
fallbackMap: Record<string, string>;
|
|
25
|
-
/**
|
|
26
|
-
* Optional class for styling
|
|
27
|
-
*/
|
|
28
|
-
elementClass: string;
|
|
29
|
-
classNames: string;
|
|
30
|
-
readonly defaultClasses = "w-100";
|
|
31
|
-
constructor(changeDetector: ChangeDetectorRef, pizzagnaService: PizzagnaService, logger: LoggerService);
|
|
32
|
-
ngOnInit(): void;
|
|
33
|
-
ngOnDestroy(): void;
|
|
34
|
-
getNodes(): string[];
|
|
35
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetBodyContentComponent, never>;
|
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetBodyContentComponent, "nui-widget-body-content", never, { "componentId": { "alias": "componentId"; "required": false; }; "primaryContent": { "alias": "primaryContent"; "required": false; }; "fallbackKey": { "alias": "fallbackKey"; "required": false; }; "fallbackMap": { "alias": "fallbackMap"; "required": false; }; "elementClass": { "alias": "elementClass"; "required": false; }; }, {}, never, never, false, never>;
|
|
37
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The interface for a dynamic link provider for widget header.
|
|
3
|
-
*/
|
|
4
|
-
export interface IHeaderLinkProvider {
|
|
5
|
-
/**
|
|
6
|
-
* Generates a link url based on a user configured URL
|
|
7
|
-
*
|
|
8
|
-
* @param template a user configured URL
|
|
9
|
-
*/
|
|
10
|
-
getLink(template: string): string;
|
|
11
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ChangeDetectorRef, ElementRef, OnDestroy, OnInit } from "@angular/core";
|
|
2
|
-
import { EventBus, IEvent } from "@nova-ui/bits";
|
|
3
|
-
import { IHeaderLinkProvider } from "./types";
|
|
4
|
-
import { PizzagnaService } from "../../../pizzagna/services/pizzagna.service";
|
|
5
|
-
import { WidgetToDashboardEventProxyService } from "../../../services/widget-to-dashboard-event-proxy.service";
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class WidgetHeaderComponent implements OnInit, OnDestroy, AfterViewInit {
|
|
8
|
-
private eventBus;
|
|
9
|
-
pizzagnaService: PizzagnaService;
|
|
10
|
-
changeDetector: ChangeDetectorRef;
|
|
11
|
-
private eventProxy;
|
|
12
|
-
private linkProvider;
|
|
13
|
-
static lateLoadKey: string;
|
|
14
|
-
componentId: string;
|
|
15
|
-
editMode: boolean;
|
|
16
|
-
/**
|
|
17
|
-
* Boolean which shows or hides the edit button
|
|
18
|
-
*/
|
|
19
|
-
editable: boolean;
|
|
20
|
-
/**
|
|
21
|
-
* Boolean which shows or hides the remove widget button
|
|
22
|
-
*/
|
|
23
|
-
removable: boolean;
|
|
24
|
-
/**
|
|
25
|
-
* Boolean which adds ability to collapse widget header
|
|
26
|
-
*/
|
|
27
|
-
collapsible: boolean;
|
|
28
|
-
reloadable: boolean;
|
|
29
|
-
title: string;
|
|
30
|
-
subtitle: string;
|
|
31
|
-
hideMenu: boolean;
|
|
32
|
-
url: string;
|
|
33
|
-
/**
|
|
34
|
-
* Boolean which tells what state the widget header is in if collapsible
|
|
35
|
-
*/
|
|
36
|
-
collapsed: boolean;
|
|
37
|
-
get hostClass(): boolean;
|
|
38
|
-
widgetHeaderCustomElement: ElementRef;
|
|
39
|
-
withCustomElement: boolean;
|
|
40
|
-
private onDestroy$;
|
|
41
|
-
get state(): "expanded" | "collapsed";
|
|
42
|
-
linkTooltip: string;
|
|
43
|
-
constructor(eventBus: EventBus<IEvent>, pizzagnaService: PizzagnaService, changeDetector: ChangeDetectorRef, eventProxy: WidgetToDashboardEventProxyService, linkProvider: IHeaderLinkProvider);
|
|
44
|
-
ngOnInit(): void;
|
|
45
|
-
ngAfterViewInit(): void;
|
|
46
|
-
ngOnDestroy(): void;
|
|
47
|
-
removeWidget(): void;
|
|
48
|
-
toggleCollapsed(): void;
|
|
49
|
-
onEditWidget(): void;
|
|
50
|
-
onReloadData(): void;
|
|
51
|
-
prepareLink($event: MouseEvent): boolean;
|
|
52
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetHeaderComponent, [null, null, null, { optional: true; }, { optional: true; }]>;
|
|
53
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetHeaderComponent, "nui-widget-header", never, { "componentId": { "alias": "componentId"; "required": false; }; "editMode": { "alias": "editMode"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "removable": { "alias": "removable"; "required": false; }; "collapsible": { "alias": "collapsible"; "required": false; }; "reloadable": { "alias": "reloadable"; "required": false; }; "title": { "alias": "title"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "hideMenu": { "alias": "hideMenu"; "required": false; }; "url": { "alias": "url"; "required": false; }; "collapsed": { "alias": "collapsed"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
54
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnChanges, SimpleChanges } from "@angular/core";
|
|
2
|
-
import { IWidget } from "./types";
|
|
3
|
-
import { WidgetConfigurationService } from "../../services/widget-configuration.service";
|
|
4
|
-
import { WidgetTypesService } from "../../services/widget-types.service";
|
|
5
|
-
import { IPizzagna } from "../../types";
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class WidgetComponent implements OnChanges {
|
|
8
|
-
private widgetConfigurationService;
|
|
9
|
-
private widgetTypesService;
|
|
10
|
-
widget: IWidget;
|
|
11
|
-
widgetChange: EventEmitter<IWidget>;
|
|
12
|
-
rootNode: string;
|
|
13
|
-
constructor(widgetConfigurationService: WidgetConfigurationService, widgetTypesService: WidgetTypesService);
|
|
14
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
15
|
-
onPizzagnaChange(pizzagna: IPizzagna): void;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetComponent, "nui-widget", never, { "widget": { "alias": "widget"; "required": false; }; }, { "widgetChange": "widgetChange"; }, never, never, false, never>;
|
|
18
|
-
}
|
|
@@ -1,27 +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 { IWidgetSearchConfiguration } from "./types";
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class WidgetSearchComponent implements OnInit, OnDestroy, OnChanges {
|
|
7
|
-
private dataSource;
|
|
8
|
-
eventBus: EventBus<IEvent>;
|
|
9
|
-
static lateLoadKey: string;
|
|
10
|
-
static defaultSearchDebounce: number;
|
|
11
|
-
configuration: IWidgetSearchConfiguration;
|
|
12
|
-
searchValue: string;
|
|
13
|
-
enabled: boolean;
|
|
14
|
-
searchTerm$: Subject<string>;
|
|
15
|
-
readonly destroy$: Subject<void>;
|
|
16
|
-
private searchTermSubscription;
|
|
17
|
-
constructor(dataSource: IDataSource, eventBus: EventBus<IEvent>);
|
|
18
|
-
ngOnInit(): void;
|
|
19
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
20
|
-
onSearchInputChanged(searchTerm: string): void;
|
|
21
|
-
onSearch(searchTerm: string): void;
|
|
22
|
-
ngOnDestroy(): void;
|
|
23
|
-
private registerFilters;
|
|
24
|
-
private handleSearchTermSubscription;
|
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetSearchComponent, [{ optional: true; }, null]>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetSearchComponent, "nui-widget-search", never, { "configuration": { "alias": "configuration"; "required": false; }; "searchValue": { "alias": "searchValue"; "required": false; }; }, {}, never, never, false, never>;
|
|
27
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const HTML_COLORS: Map<string, string>;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { Overlay, OverlayConfig } from "@angular/cdk/overlay";
|
|
2
|
-
import { AfterViewInit, ChangeDetectorRef, OnChanges, OnDestroy, SimpleChanges } from "@angular/core";
|
|
3
|
-
import { ControlValueAccessor } from "@angular/forms";
|
|
4
|
-
import { IOptionValueObject, NuiFormFieldControl, OverlayUtilitiesService, SelectV2Component } from "@nova-ui/bits";
|
|
5
|
-
import { ColorService } from "./color.service";
|
|
6
|
-
import { IPaletteColor } from "../../../types";
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class ColorPickerComponent implements NuiFormFieldControl, ControlValueAccessor, OnChanges, AfterViewInit, OnDestroy {
|
|
9
|
-
protected changeDetection: ChangeDetectorRef;
|
|
10
|
-
private colorService;
|
|
11
|
-
private cdkOverlay;
|
|
12
|
-
colors: string[];
|
|
13
|
-
colorPalette: IPaletteColor[];
|
|
14
|
-
cols: number | undefined;
|
|
15
|
-
select: SelectV2Component;
|
|
16
|
-
overlayConfig: OverlayConfig;
|
|
17
|
-
value: string | IOptionValueObject;
|
|
18
|
-
defaultColor: string;
|
|
19
|
-
maxWidth: string;
|
|
20
|
-
palette: Partial<IPaletteColor[]>;
|
|
21
|
-
isBlackTick: boolean;
|
|
22
|
-
isInErrorState: boolean;
|
|
23
|
-
ariaLabel?: string | undefined;
|
|
24
|
-
protected overlayUtilities: OverlayUtilitiesService;
|
|
25
|
-
private selectResizeObserver;
|
|
26
|
-
private destroy$;
|
|
27
|
-
constructor(changeDetection: ChangeDetectorRef, colorService: ColorService, cdkOverlay: Overlay);
|
|
28
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
29
|
-
ngAfterViewInit(): void;
|
|
30
|
-
ngOnDestroy(): void;
|
|
31
|
-
onChange(value: any): void;
|
|
32
|
-
_onTouched(): void;
|
|
33
|
-
writeValue(value: string | IOptionValueObject): void;
|
|
34
|
-
registerOnChange(fn: () => void): void;
|
|
35
|
-
registerOnTouched(fn: () => void): void;
|
|
36
|
-
setStyles: (color: string) => Record<string, any>;
|
|
37
|
-
determineBlackTick(color: string): boolean;
|
|
38
|
-
private initOverlayUtilities;
|
|
39
|
-
private getContrastOnBgColor;
|
|
40
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ColorPickerComponent, never>;
|
|
41
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ColorPickerComponent, "nui-color-picker", never, { "colors": { "alias": "colors"; "required": false; }; "colorPalette": { "alias": "colorPalette"; "required": false; }; "cols": { "alias": "cols"; "required": false; }; }, {}, never, never, false, never>;
|
|
42
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class ColorService {
|
|
3
|
-
RGBToHexRGBToHex(rgbColor: string): string;
|
|
4
|
-
isHEX(hexColor: string): boolean;
|
|
5
|
-
colorKeywordsToHex(color: string): string;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ColorService, never>;
|
|
7
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ColorService>;
|
|
8
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { Portal } from "@angular/cdk/portal";
|
|
2
|
-
import { ChangeDetectorRef, ComponentRef, EventEmitter, OnDestroy, OnInit } from "@angular/core";
|
|
3
|
-
import { Subject } from "rxjs";
|
|
4
|
-
import { IWidget } from "../../../components/widget/types";
|
|
5
|
-
import { PizzagnaComponent } from "../../../pizzagna/components/pizzagna/pizzagna.component";
|
|
6
|
-
import { WidgetTypesService } from "../../../services/widget-types.service";
|
|
7
|
-
import { IPizzagna } from "../../../types";
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
/** @ignore */
|
|
10
|
-
export declare class ConfiguratorComponent implements OnInit, OnDestroy {
|
|
11
|
-
widgetTypesService: WidgetTypesService;
|
|
12
|
-
changeDetector: ChangeDetectorRef;
|
|
13
|
-
static lateLoadKey: string;
|
|
14
|
-
formPortal: Portal<any>;
|
|
15
|
-
previewWidget: IWidget | null;
|
|
16
|
-
result: EventEmitter<IWidget | null>;
|
|
17
|
-
formPortalAttached: EventEmitter<ComponentRef<any>>;
|
|
18
|
-
previewPizzagnaComponent: PizzagnaComponent;
|
|
19
|
-
submitError: Subject<void>;
|
|
20
|
-
private readonly destroy$;
|
|
21
|
-
constructor(widgetTypesService: WidgetTypesService, changeDetector: ChangeDetectorRef);
|
|
22
|
-
ngOnInit(): void;
|
|
23
|
-
ngOnDestroy(): void;
|
|
24
|
-
getPreview(): PizzagnaComponent;
|
|
25
|
-
handleSubmitError(): void;
|
|
26
|
-
onFormPortalAttached(componentRef: ComponentRef<any>): void;
|
|
27
|
-
updateWidget(previewWidget: IWidget | null): void;
|
|
28
|
-
formCancel(): void;
|
|
29
|
-
formSubmit(): void;
|
|
30
|
-
onPizzagnaChange(pizzagna: IPizzagna): void;
|
|
31
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorComponent, never>;
|
|
32
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ConfiguratorComponent, "nui-configurator", never, { "formPortal": { "alias": "formPortal"; "required": false; }; "previewWidget": { "alias": "previewWidget"; "required": false; }; }, { "result": "result"; "formPortalAttached": "formPortalAttached"; }, never, never, false, never>;
|
|
33
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnChanges, OnInit, SimpleChanges } from "@angular/core";
|
|
2
|
-
import { FormGroup, FormGroupDirective } from "@angular/forms";
|
|
3
|
-
import { EventBus, IEvent, LoggerService } from "@nova-ui/bits";
|
|
4
|
-
import { BaseLayout } from "../../../components/layouts/base-layout";
|
|
5
|
-
import { PizzagnaService } from "../../../pizzagna/services/pizzagna.service";
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* This component registers multiple nested form groups in a parent form
|
|
9
|
-
*/
|
|
10
|
-
export declare class FormStackComponent extends BaseLayout implements OnInit, OnChanges {
|
|
11
|
-
formDirective: FormGroupDirective;
|
|
12
|
-
private eventBus;
|
|
13
|
-
static lateLoadKey: string;
|
|
14
|
-
nodes: [];
|
|
15
|
-
elementClass: string;
|
|
16
|
-
form: FormGroup;
|
|
17
|
-
constructor(changeDetector: ChangeDetectorRef, pizzagnaService: PizzagnaService, logger: LoggerService, formDirective: FormGroupDirective, eventBus: EventBus<IEvent>);
|
|
18
|
-
ngOnInit(): void;
|
|
19
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
20
|
-
onEvent(componentId: string, event: IEvent): void;
|
|
21
|
-
addFormGroup(name: string, formGroup: FormGroup): void;
|
|
22
|
-
getNodes(): string[];
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormStackComponent, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormStackComponent, "nui-form-stack", never, { "nodes": { "alias": "nodes"; "required": false; }; }, {}, never, never, false, never>;
|
|
25
|
-
}
|