@nova-ui/dashboards 15.0.8 → 15.0.10

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.
Files changed (106) hide show
  1. package/esm2020/lib/components/kpi-widget/kpi.component.mjs +12 -5
  2. package/esm2020/lib/components/proportional-widget/proportional-widget.component.mjs +8 -3
  3. package/esm2020/lib/components/table-widget/addons/paginator-feature-addon.service.mjs +85 -0
  4. package/esm2020/lib/components/table-widget/addons/virtual-scroll-feature-addon.service.mjs +5 -2
  5. package/esm2020/lib/components/table-widget/table-widget.component.mjs +77 -28
  6. package/esm2020/lib/components/table-widget/types.mjs +7 -2
  7. package/esm2020/lib/configurator/components/widget-editor-accordion/widget-editor-accordion.component.mjs +7 -3
  8. package/esm2020/lib/configurator/components/widgets/configurator-items/background-color-rules-configuration/background-color-rules-configuration.component.mjs +1 -1
  9. package/esm2020/lib/configurator/components/widgets/configurator-items/data-source-configuration/data-source-configuration.component.mjs +1 -1
  10. package/esm2020/lib/configurator/components/widgets/configurator-items/data-source-configuration-v2/data-source-configuration-v2.component.mjs +1 -1
  11. package/esm2020/lib/configurator/components/widgets/configurator-items/embedded-content-configuration/embedded-content-configuration.component.mjs +1 -1
  12. package/esm2020/lib/configurator/components/widgets/configurator-items/kpi-description-configuration/kpi-description-configuration.component.mjs +1 -1
  13. package/esm2020/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresher-configuration.component.mjs +1 -1
  14. package/esm2020/lib/configurator/components/widgets/configurator-items/risk-score-tile-description-configuration/risk-score-tile-description-configuration.component.mjs +1 -1
  15. package/esm2020/lib/configurator/components/widgets/configurator-items/thresholds-configuration/thresholds-configuration.component.mjs +1 -1
  16. package/esm2020/lib/configurator/components/widgets/configurator-items/timeseries-metadata-configuration/timeseries-metadata-configuration.component.mjs +1 -1
  17. package/esm2020/lib/configurator/components/widgets/configurator-items/title-and-description-configuration/title-and-description-configuration.component.mjs +1 -1
  18. package/esm2020/lib/configurator/components/widgets/drilldown/entity-formatting-configuration/entity-formatting-configuration.component.mjs +1 -1
  19. package/esm2020/lib/configurator/components/widgets/drilldown/grouping-configuration/grouping-configuration.component.mjs +1 -1
  20. package/esm2020/lib/configurator/components/widgets/proportional/chart-options-editor/proportional-chart-options-editor.component.mjs +1 -1
  21. package/esm2020/lib/configurator/components/widgets/proportional/chart-options-editor-v2/proportional-chart-options-editor-v2.component.mjs +1 -1
  22. package/esm2020/lib/configurator/components/widgets/proportional/donut-content-configuration/donut-content-configuration.component.mjs +1 -1
  23. package/esm2020/lib/configurator/components/widgets/table/columns-editor/column-configuration/description-configuration/description-configuration.component.mjs +1 -1
  24. package/esm2020/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/presentation-configuration.component.mjs +2 -2
  25. package/esm2020/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/description-configuration/description-configuration-v2.component.mjs +1 -1
  26. package/esm2020/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/presentation-configuration/presentation-configuration-v2.component.mjs +2 -2
  27. package/esm2020/lib/configurator/components/widgets/table/filters-editor/table-filters-editor.component.mjs +2 -2
  28. package/esm2020/lib/configurator/components/widgets/table/public-api.mjs +2 -1
  29. package/esm2020/lib/configurator/components/widgets/table/scrollType-editor/scroll-type-editor.component.mjs +197 -0
  30. package/esm2020/lib/configurator/components/widgets/table/scrollType-editor/scroll-type-editor.service.mjs +39 -0
  31. package/esm2020/lib/configurator/components/widgets/timeseries/timeseries-tile-description-configuration/timeseries-tile-description-configuration.component.mjs +1 -1
  32. package/esm2020/lib/configurator/components/widgets/timeseries/timeseries-tile-indicator-data-configuration/timeseries-tile-indicator-data-configuration.component.mjs +1 -1
  33. package/esm2020/lib/configurator/configurator.module.mjs +8 -1
  34. package/esm2020/lib/configurator/services/converters/table/table-filters-converter.service.mjs +3 -5
  35. package/esm2020/lib/configurator/services/converters/table/table-scroll-type-converter.service.mjs +68 -0
  36. package/esm2020/lib/dashboards.module.mjs +7 -4
  37. package/esm2020/lib/services/provider-registry.service.mjs +8 -2
  38. package/esm2020/lib/services/types.mjs +4 -2
  39. package/esm2020/lib/widget-types/table/table-configurator.mjs +15 -4
  40. package/fesm2015/nova-ui-dashboards.mjs +485 -60
  41. package/fesm2015/nova-ui-dashboards.mjs.map +1 -1
  42. package/fesm2020/nova-ui-dashboards.mjs +475 -61
  43. package/fesm2020/nova-ui-dashboards.mjs.map +1 -1
  44. package/lib/components/kpi-widget/kpi.component.d.ts +1 -1
  45. package/lib/components/proportional-widget/proportional-widget.component.d.ts +1 -0
  46. package/lib/components/table-widget/addons/paginator-feature-addon.service.d.ts +14 -0
  47. package/lib/components/table-widget/addons/virtual-scroll-feature-addon.service.d.ts +1 -1
  48. package/lib/components/table-widget/table-widget.component.d.ts +15 -6
  49. package/lib/components/table-widget/types.d.ts +51 -1
  50. package/lib/configurator/components/widget-editor-accordion/widget-editor-accordion.component.d.ts +3 -2
  51. package/lib/configurator/components/widgets/table/public-api.d.ts +1 -0
  52. package/lib/configurator/components/widgets/table/scrollType-editor/scroll-type-editor.component.d.ts +50 -0
  53. package/lib/configurator/components/widgets/table/scrollType-editor/scroll-type-editor.service.d.ts +12 -0
  54. package/lib/configurator/configurator.module.d.ts +63 -62
  55. package/lib/configurator/services/converters/table/table-scroll-type-converter.service.d.ts +15 -0
  56. package/lib/dashboards.module.d.ts +1 -1
  57. package/lib/services/types.d.ts +3 -1
  58. package/package.json +3 -3
  59. package/sdk/atoms/src/lib/components/kpi-widget/kpi.component.d.ts +1 -1
  60. package/sdk/atoms/src/lib/components/kpi-widget/kpi.component.js +10 -3
  61. package/sdk/atoms/src/lib/components/kpi-widget/kpi.component.js.map +1 -1
  62. package/sdk/atoms/src/lib/components/proportional-widget/proportional-widget.component.d.ts +1 -0
  63. package/sdk/atoms/src/lib/components/proportional-widget/proportional-widget.component.js +5 -0
  64. package/sdk/atoms/src/lib/components/proportional-widget/proportional-widget.component.js.map +1 -1
  65. package/sdk/atoms/src/lib/components/table-widget/addons/paginator-feature-addon.service.d.ts +11 -0
  66. package/sdk/atoms/src/lib/components/table-widget/addons/paginator-feature-addon.service.js +88 -0
  67. package/sdk/atoms/src/lib/components/table-widget/addons/paginator-feature-addon.service.js.map +1 -0
  68. package/sdk/atoms/src/lib/components/table-widget/addons/virtual-scroll-feature-addon.service.d.ts +1 -1
  69. package/sdk/atoms/src/lib/components/table-widget/addons/virtual-scroll-feature-addon.service.js +4 -1
  70. package/sdk/atoms/src/lib/components/table-widget/addons/virtual-scroll-feature-addon.service.js.map +1 -1
  71. package/sdk/atoms/src/lib/components/table-widget/table-widget.component.d.ts +14 -5
  72. package/sdk/atoms/src/lib/components/table-widget/table-widget.component.js +62 -13
  73. package/sdk/atoms/src/lib/components/table-widget/table-widget.component.js.map +1 -1
  74. package/sdk/atoms/src/lib/components/table-widget/types.d.ts +51 -1
  75. package/sdk/atoms/src/lib/components/table-widget/types.js +7 -0
  76. package/sdk/atoms/src/lib/components/table-widget/types.js.map +1 -1
  77. package/sdk/atoms/src/lib/configurator/components/widget-editor-accordion/widget-editor-accordion.component.d.ts +2 -1
  78. package/sdk/atoms/src/lib/configurator/components/widget-editor-accordion/widget-editor-accordion.component.js +6 -0
  79. package/sdk/atoms/src/lib/configurator/components/widget-editor-accordion/widget-editor-accordion.component.js.map +1 -1
  80. package/sdk/atoms/src/lib/configurator/components/widgets/table/filters-editor/table-filters-editor.component.js.map +1 -1
  81. package/sdk/atoms/src/lib/configurator/components/widgets/table/public-api.d.ts +1 -0
  82. package/sdk/atoms/src/lib/configurator/components/widgets/table/public-api.js +1 -0
  83. package/sdk/atoms/src/lib/configurator/components/widgets/table/public-api.js.map +1 -1
  84. package/sdk/atoms/src/lib/configurator/components/widgets/table/scrollType-editor/scroll-type-editor.component.d.ts +47 -0
  85. package/sdk/atoms/src/lib/configurator/components/widgets/table/scrollType-editor/scroll-type-editor.component.js +208 -0
  86. package/sdk/atoms/src/lib/configurator/components/widgets/table/scrollType-editor/scroll-type-editor.component.js.map +1 -0
  87. package/sdk/atoms/src/lib/configurator/components/widgets/table/scrollType-editor/scroll-type-editor.service.d.ts +9 -0
  88. package/sdk/atoms/src/lib/configurator/components/widgets/table/scrollType-editor/scroll-type-editor.service.js +42 -0
  89. package/sdk/atoms/src/lib/configurator/components/widgets/table/scrollType-editor/scroll-type-editor.service.js.map +1 -0
  90. package/sdk/atoms/src/lib/configurator/configurator.module.js +4 -0
  91. package/sdk/atoms/src/lib/configurator/configurator.module.js.map +1 -1
  92. package/sdk/atoms/src/lib/configurator/services/converters/table/table-filters-converter.service.js +2 -4
  93. package/sdk/atoms/src/lib/configurator/services/converters/table/table-filters-converter.service.js.map +1 -1
  94. package/sdk/atoms/src/lib/configurator/services/converters/table/table-scroll-type-converter.service.d.ts +12 -0
  95. package/sdk/atoms/src/lib/configurator/services/converters/table/table-scroll-type-converter.service.js +69 -0
  96. package/sdk/atoms/src/lib/configurator/services/converters/table/table-scroll-type-converter.service.js.map +1 -0
  97. package/sdk/atoms/src/lib/dashboards.module.js +1 -0
  98. package/sdk/atoms/src/lib/dashboards.module.js.map +1 -1
  99. package/sdk/atoms/src/lib/services/provider-registry.service.js +6 -0
  100. package/sdk/atoms/src/lib/services/provider-registry.service.js.map +1 -1
  101. package/sdk/atoms/src/lib/services/types.d.ts +3 -1
  102. package/sdk/atoms/src/lib/services/types.js +4 -2
  103. package/sdk/atoms/src/lib/services/types.js.map +1 -1
  104. package/sdk/atoms/src/lib/widget-types/table/table-configurator.js +13 -2
  105. package/sdk/atoms/src/lib/widget-types/table/table-configurator.js.map +1 -1
  106. package/sdk/locale/messages.en.xlf +127 -24
@@ -22,7 +22,7 @@ export declare class KpiComponent implements IHasChangeDetector, OnChanges {
22
22
  onInteraction(): void;
23
23
  getScaleBroker(id: string): IBroker | undefined;
24
24
  ngOnChanges(changes: SimpleChanges): void;
25
- get isEmpty(): boolean;
25
+ get showEmpty(): boolean;
26
26
  /**
27
27
  * Iterates over formatters and maps their properties from the data
28
28
  *
@@ -71,6 +71,7 @@ export declare class ProportionalWidgetComponent implements AfterViewInit, OnCha
71
71
  private updateChartColors;
72
72
  private getDataDriverColorProvider;
73
73
  private getConfigurationColorProvider;
74
+ get isEmpty(): boolean;
74
75
  static ɵfac: i0.ɵɵFactoryDeclaration<ProportionalWidgetComponent, never>;
75
76
  static ɵcmp: i0.ɵɵComponentDeclaration<ProportionalWidgetComponent, "nui-proportional-widget", never, { "widgetData": "widgetData"; "configuration": "configuration"; "elementClass": "elementClass"; "seriesToIconMap": "seriesToIconMap"; }, {}, never, never, false, never>;
76
77
  }
@@ -0,0 +1,14 @@
1
+ import { IPaginatorState, TableWidgetComponent } from "../public-api";
2
+ import * as i0 from "@angular/core";
3
+ export declare class PaginatorFeatureAddonService {
4
+ private widget;
5
+ defaultPaginatorState: IPaginatorState;
6
+ paginatorState: IPaginatorState;
7
+ initPaginator(widget: TableWidgetComponent): void;
8
+ applyFilters(): void;
9
+ private registerPaginator;
10
+ private deregisterPaginator;
11
+ private setPaginatorState;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<PaginatorFeatureAddonService, never>;
13
+ static ɵprov: i0.ɵɵInjectableDeclaration<PaginatorFeatureAddonService>;
14
+ }
@@ -4,7 +4,7 @@ export declare class VirtualScrollFeatureAddonService {
4
4
  private widget;
5
5
  visibleItems: unknown[];
6
6
  initWidget(widget: TableWidgetComponent): void;
7
- initVirtualScroll(): void;
7
+ initVirtualScroll(widget: TableWidgetComponent): void;
8
8
  private registerVirtualScroll;
9
9
  private deregisterVirtualScroll;
10
10
  /**
@@ -1,13 +1,14 @@
1
1
  import { CdkVirtualScrollViewport } from "@angular/cdk/scrolling";
2
2
  import { AfterViewInit, ChangeDetectorRef, ElementRef, NgZone, OnChanges, OnDestroy, OnInit, QueryList, SimpleChanges } from "@angular/core";
3
3
  import { BehaviorSubject, Subject } from "rxjs";
4
- import { EventBus, IDataField, IDataSource, IEvent, ISortedItem, LoggerService, TableAlignmentOptions, TableComponent, VirtualViewportManager } from "@nova-ui/bits";
4
+ import { EventBus, IDataField, IDataSource, IEvent, ISelection, ISortedItem, LoggerService, PaginatorComponent, TableAlignmentOptions, TableComponent, VirtualViewportManager } from "@nova-ui/bits";
5
5
  import { PizzagnaService } from "../../pizzagna/services/pizzagna.service";
6
6
  import { TableFormatterRegistryService } from "../../services/table-formatter-registry.service";
7
7
  import { WidgetConfigurationService } from "../../services/widget-configuration.service";
8
8
  import { SearchFeatureAddonService } from "./addons/search-feature-addon.service";
9
9
  import { VirtualScrollFeatureAddonService } from "./addons/virtual-scroll-feature-addon.service";
10
- import { ITableWidgetColumnConfig, ITableWidgetConfig } from "./types";
10
+ import { ITableWidgetColumnConfig, ITableWidgetConfig, ScrollType } from "./types";
11
+ import { PaginatorFeatureAddonService } from "./addons/paginator-feature-addon.service";
11
12
  import * as i0 from "@angular/core";
12
13
  /**
13
14
  * @ignore
@@ -23,6 +24,7 @@ export declare class TableWidgetComponent implements AfterViewInit, OnChanges, O
23
24
  private el;
24
25
  private logger;
25
26
  private searchAddon;
27
+ paginatorAddon: PaginatorFeatureAddonService;
26
28
  virtualScrollAddon: VirtualScrollFeatureAddonService;
27
29
  private formattersRegistryService;
28
30
  static lateLoadKey: string;
@@ -43,7 +45,7 @@ export declare class TableWidgetComponent implements AfterViewInit, OnChanges, O
43
45
  sortedColumn: ISortedItem;
44
46
  columns: ITableWidgetColumnConfig[];
45
47
  columnsWidthMap: Map<string, number | undefined>;
46
- hasVirtualScroll: boolean;
48
+ scrollType: ScrollType;
47
49
  tableContainerHeight: number;
48
50
  isSearchEnabled: boolean;
49
51
  searchTerm$: Subject<string>;
@@ -65,17 +67,20 @@ export declare class TableWidgetComponent implements AfterViewInit, OnChanges, O
65
67
  private idle;
66
68
  isBusy: boolean;
67
69
  table: TableComponent<any>;
70
+ paginator: PaginatorComponent;
68
71
  vscrollViewport?: CdkVirtualScrollViewport;
69
72
  tableRows: QueryList<ElementRef>;
70
73
  get interactive(): boolean;
71
- constructor(eventBus: EventBus<IEvent>, dataSource: IDataSource, widgetConfigurationService: WidgetConfigurationService, changeDetector: ChangeDetectorRef, pizzagnaService: PizzagnaService, viewportManager: VirtualViewportManager, zone: NgZone, el: ElementRef, logger: LoggerService, searchAddon: SearchFeatureAddonService, virtualScrollAddon: VirtualScrollFeatureAddonService, formattersRegistryService: TableFormatterRegistryService);
74
+ get clickableRow(): boolean;
75
+ constructor(eventBus: EventBus<IEvent>, dataSource: IDataSource, widgetConfigurationService: WidgetConfigurationService, changeDetector: ChangeDetectorRef, pizzagnaService: PizzagnaService, viewportManager: VirtualViewportManager, zone: NgZone, el: ElementRef, logger: LoggerService, searchAddon: SearchFeatureAddonService, paginatorAddon: PaginatorFeatureAddonService, virtualScrollAddon: VirtualScrollFeatureAddonService, formattersRegistryService: TableFormatterRegistryService);
72
76
  ngOnChanges(changes: SimpleChanges): void;
77
+ resolveScrollType(changes: SimpleChanges): void;
73
78
  ngOnInit(): void;
74
79
  ngAfterViewInit(): void;
75
80
  ngOnDestroy(): void;
76
81
  /** Checks if table should be displayed */
77
82
  shouldDisplayTable(): boolean;
78
- dataTrackBy(index: number, item: any): any;
83
+ dataTrackBy(): (index: any, item: any) => any;
79
84
  columnTrackBy(index: number, item: ITableWidgetColumnConfig): string;
80
85
  /**
81
86
  * Handles updating of columns.
@@ -99,9 +104,12 @@ export declare class TableWidgetComponent implements AfterViewInit, OnChanges, O
99
104
  * @param event
100
105
  */
101
106
  onSortOrderChanged(event: ISortedItem): void;
107
+ onSelectionChange(event: ISelection): void;
102
108
  onInteraction(row: any, event: MouseEvent): void;
103
109
  onSearchInputChanged(searchTerm: string): void;
104
110
  getColumnAlignment(column: ITableWidgetColumnConfig): TableAlignmentOptions;
111
+ get hasVirtualScroll(): boolean;
112
+ get hasPaginator(): boolean;
105
113
  private setSortFilter;
106
114
  /**
107
115
  * Checks if column id has changed or if sorting order has changed
@@ -118,7 +126,8 @@ export declare class TableWidgetComponent implements AfterViewInit, OnChanges, O
118
126
  private registerSorter;
119
127
  private setSortableSet;
120
128
  private flushTableData;
129
+ private scrollTypeChanged;
121
130
  private getTableScrollRange;
122
- static ɵfac: i0.ɵɵFactoryDeclaration<TableWidgetComponent, [null, { optional: true; }, { optional: true; }, null, null, null, null, null, null, null, null, null]>;
131
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableWidgetComponent, [null, { optional: true; }, { optional: true; }, null, null, null, null, null, null, null, null, null, null]>;
123
132
  static ɵcmp: i0.ɵɵComponentDeclaration<TableWidgetComponent, "nui-table-widget", never, { "widgetData": "widgetData"; "componentId": "componentId"; "configuration": "configuration"; "dataFields": "dataFields"; "totalItems": "totalItems"; "indentFromTop": "indentFromTop"; "sortable": "sortable"; "delayedMousePresenceDetectionEnabled": "delayedMousePresenceDetectionEnabled"; "range": "range"; "elementClass": "elementClass"; }, {}, never, never, false, never>;
124
133
  }
@@ -1,4 +1,5 @@
1
1
  import { IFormatter } from "../types";
2
+ import { ITableSelectionConfigDisabled, ITableSelectionConfigEnabled } from "@nova-ui/bits";
2
3
  export interface ITableWidgetColumnConfig {
3
4
  id: string;
4
5
  label: string;
@@ -24,7 +25,20 @@ export interface ITableWidgetConfig {
24
25
  columns: Array<ITableWidgetColumnConfig>;
25
26
  sortable?: boolean;
26
27
  sorterConfiguration: ITableWidgetSorterConfig;
27
- hasVirtualScroll: boolean;
28
+ /**
29
+ * Allows to choose row selection behavior of a table.
30
+ * Can be None | Multi | Single | Radio.
31
+ */
32
+ selectionConfiguration?: TableWidgetSelectionConfig;
33
+ /**
34
+ * @deprecated Use scrollType and set it to "infinite" instead
35
+ */
36
+ hasVirtualScroll?: boolean;
37
+ scrollType?: ScrollType;
38
+ /**
39
+ * Makes table rows interactive.
40
+ * Disabled if 'selectable' is set to true.
41
+ */
28
42
  interactive?: boolean;
29
43
  headerTooltipsEnabled?: boolean;
30
44
  scrollActivationDelayMs?: number;
@@ -39,8 +53,44 @@ export interface ITableWidgetConfig {
39
53
  searchTerm?: string;
40
54
  searchDebounce?: number;
41
55
  };
56
+ paginatorConfiguration?: ITableWidgetPaginatorConfig;
42
57
  }
43
58
  export interface ITableWidgetSorterConfig {
44
59
  descendantSorting: boolean;
45
60
  sortBy: string;
46
61
  }
62
+ export interface ITableWidgetPaginatorConfig {
63
+ pageSizeSet?: number[];
64
+ pageSize?: number;
65
+ }
66
+ export interface IPaginatorState {
67
+ page: number;
68
+ pageSize: number;
69
+ pageSizeSet: number[];
70
+ total: number;
71
+ }
72
+ export declare enum ScrollType {
73
+ virtual = "virtual",
74
+ paginator = "paginator",
75
+ default = "default"
76
+ }
77
+ interface ITableWidgetSelectionConfigEnabled extends ITableSelectionConfigEnabled {
78
+ /**
79
+ * Property name that is unique.
80
+ * Needs to be set in order for selection to work in combination with filtering.
81
+ *
82
+ * Using property that is not unique across table data will result in a selection
83
+ * of all rows with the same column value at once.
84
+
85
+ @default "id"
86
+ */
87
+ trackByProperty?: string;
88
+ /**
89
+ * If clicking on row should select it.
90
+ * True if selectionMode is set to "single".
91
+ * @default false
92
+ */
93
+ clickableRow?: boolean;
94
+ }
95
+ export type TableWidgetSelectionConfig = ITableWidgetSelectionConfigEnabled | ITableSelectionConfigDisabled;
96
+ export {};
@@ -1,4 +1,4 @@
1
- import { ChangeDetectorRef, OnDestroy, OnInit } from "@angular/core";
1
+ import { ChangeDetectorRef, EventEmitter, OnDestroy, OnInit } from "@angular/core";
2
2
  import { Subject } from "rxjs";
3
3
  import { AccordionState } from "../../../types";
4
4
  import { WidgetConfiguratorSectionCoordinatorService } from "../widget-configurator-section/widget-configurator-section-coordinator.service";
@@ -9,6 +9,7 @@ export declare class WidgetEditorAccordionComponent implements OnInit, OnDestroy
9
9
  cd: ChangeDetectorRef;
10
10
  showOpenStateIcon: boolean;
11
11
  state: AccordionState;
12
+ openToggle: EventEmitter<boolean>;
12
13
  open: boolean;
13
14
  openSubject: Subject<void>;
14
15
  destroySubject: Subject<void>;
@@ -18,5 +19,5 @@ export declare class WidgetEditorAccordionComponent implements OnInit, OnDestroy
18
19
  closeAccordion(): void;
19
20
  ngOnDestroy(): void;
20
21
  static ɵfac: i0.ɵɵFactoryDeclaration<WidgetEditorAccordionComponent, never>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<WidgetEditorAccordionComponent, "nui-widget-editor-accordion", never, { "showOpenStateIcon": "showOpenStateIcon"; "state": "state"; }, {}, never, ["[accordionHeader], nui-widget-editor-accordion-header", "*"], false, never>;
22
+ static ɵcmp: i0.ɵɵComponentDeclaration<WidgetEditorAccordionComponent, "nui-widget-editor-accordion", never, { "showOpenStateIcon": "showOpenStateIcon"; "state": "state"; }, { "openToggle": "openToggle"; }, never, ["[accordionHeader], nui-widget-editor-accordion-header", "*"], false, never>;
22
23
  }
@@ -1,4 +1,5 @@
1
1
  export * from "./filters-editor/table-filters-editor.component";
2
+ export * from "./scrollType-editor/scroll-type-editor.component";
2
3
  export * from "./columns-editor/table-columns-configuration.component";
3
4
  export * from "./columns-editor/column-configuration/presentation-configuration/portals/formatter-configurator.component";
4
5
  export * from "./columns-editor/column-configuration/presentation-configuration/portals/link-configurator/link-configurator.component";
@@ -0,0 +1,50 @@
1
+ import { ChangeDetectorRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from "@angular/core";
2
+ import { AbstractControl, FormBuilder, FormGroup } from "@angular/forms";
3
+ import { ITableWidgetPaginatorConfig, ScrollType } from "../../../../../components/table-widget/types";
4
+ import { IHasChangeDetector, IHasForm } from "../../../../../types";
5
+ import { ConfiguratorHeadingService } from "../../../../services/configurator-heading.service";
6
+ import { ScrollTypeEditorService } from "./scroll-type-editor.service";
7
+ import * as i0 from "@angular/core";
8
+ export interface IPageSizeSetMenuOption {
9
+ value: number;
10
+ checked: boolean;
11
+ }
12
+ export declare class TableScrollTypeEditorComponent implements OnInit, OnChanges, OnDestroy, IHasForm, IHasChangeDetector {
13
+ private formBuilder;
14
+ configuratorHeading: ConfiguratorHeadingService;
15
+ changeDetector: ChangeDetectorRef;
16
+ scrollTypeEditorService: ScrollTypeEditorService;
17
+ static lateLoadKey: string;
18
+ paginatorConfiguration: ITableWidgetPaginatorConfig;
19
+ hasVirtualScroll: boolean;
20
+ scrollType: ScrollType;
21
+ formReady: EventEmitter<FormGroup<any>>;
22
+ form: FormGroup;
23
+ private onDestroy$;
24
+ private pageSizeSetAll;
25
+ pageSizeSetOptions: IPageSizeSetMenuOption[];
26
+ pageSizeOptions: number[];
27
+ subtitle: string;
28
+ isExpanderOpen: boolean;
29
+ displayPageSizeSetErrorMessage: boolean;
30
+ displayPageSizeErrorMessage: boolean;
31
+ scrollTypeFormControl?: AbstractControl | null;
32
+ pageSizeSetFormControl?: AbstractControl | null;
33
+ pageSizeFormControl?: AbstractControl | null;
34
+ constructor(formBuilder: FormBuilder, configuratorHeading: ConfiguratorHeadingService, changeDetector: ChangeDetectorRef, scrollTypeEditorService: ScrollTypeEditorService);
35
+ ngOnChanges(changes: SimpleChanges): void;
36
+ ngOnInit(): void;
37
+ onPageSizeSetChange(item: IPageSizeSetMenuOption): void;
38
+ get hasPaginator(): boolean;
39
+ accordionToggle(isOpened: boolean): void;
40
+ changeExpanderState(isOpen: boolean): void;
41
+ private updateSubtitle;
42
+ private updateValidators;
43
+ private emitUpdatedSelectedOptions;
44
+ private updateDefaultPageSizeOptions;
45
+ private updatePaginatorSelectOptions;
46
+ private clearPageSizeSetOptions;
47
+ ngOnDestroy(): void;
48
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableScrollTypeEditorComponent, never>;
49
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableScrollTypeEditorComponent, "nui-scroll-type-editor-component", never, { "paginatorConfiguration": "paginatorConfiguration"; "hasVirtualScroll": "hasVirtualScroll"; "scrollType": "scrollType"; }, { "formReady": "formReady"; }, never, never, false, never>;
50
+ }
@@ -0,0 +1,12 @@
1
+ import { ScrollType } from "./../../../../../components/table-widget/types";
2
+ import * as i0 from "@angular/core";
3
+ export declare class ScrollTypeEditorService {
4
+ loadStrategies: {
5
+ id: ScrollType;
6
+ title: string;
7
+ }[];
8
+ setAccordionSubtitleValues(hasVirtualScroll: boolean, scrollType: ScrollType): string;
9
+ getScrollTypeTitle(scrollType: ScrollType): string;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScrollTypeEditorService, never>;
11
+ static ɵprov: i0.ɵɵInjectableDeclaration<ScrollTypeEditorService>;
12
+ }
@@ -13,70 +13,71 @@ import * as i10 from "./components/widgets/configurator-items/info-message-confi
13
13
  import * as i11 from "./components/widgets/proportional/chart-options-editor/proportional-chart-options-editor.component";
14
14
  import * as i12 from "./components/widgets/proportional/chart-options-editor-v2/proportional-chart-options-editor-v2.component";
15
15
  import * as i13 from "./components/widgets/table/filters-editor/table-filters-editor.component";
16
- import * as i14 from "./components/widgets/configurator-items/timeseries-metadata-configuration/timeseries-metadata-configuration.component";
17
- import * as i15 from "./components/widgets/timeseries/timeseries-series-collection-configuration/timeseries-series-collection-configuration.component";
18
- import * as i16 from "./components/widgets/table/columns-editor/table-columns-configuration.component";
19
- import * as i17 from "./components/widgets/table/columns-editor-v2/table-columns-configuration-v2.component";
20
- import * as i18 from "./components/widgets/table/columns-editor-v2/column-configuration/table-column-configuration/table-column-configuration.component";
21
- import * as i19 from "./components/widgets/configurator-items/data-source-error/table/table-data-source-error.component";
22
- import * as i20 from "./components/formatters/donut-content-percentage-formatter/donut-content-percentage-formatter.component";
23
- import * as i21 from "./components/formatters/donut-content-percentage-formatter/donut-content-percentage-configuration.component";
24
- import * as i22 from "./components/formatters/donut-content-sum-formatter/donut-content-sum-formatter.component";
25
- import * as i23 from "./components/formatters/donut-content-raw-formatter/donut-content-raw-formatter.component";
26
- import * as i24 from "./components/formatters/icon-formatter/icon-formatter.component";
27
- import * as i25 from "./components/formatters/si-units-formatter/si-units-formatter.component";
28
- import * as i26 from "./components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/link-configurator/link-configurator.component";
29
- import * as i27 from "./components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/value-selector/value-selector.component";
30
- import * as i28 from "./components/formatters/link-formatter/link-formatter.component";
31
- import * as i29 from "./components/preview-placeholder/preview-placeholder.component";
32
- import * as i30 from "./components/formatters/status-with-icon-formatter/status-with-icon-formatter.component";
33
- import * as i31 from "./components/formatters/raw-formatter/raw-formatter.component";
34
- import * as i32 from "./components/formatters/percentage-formatter/percentage-formatter.component";
35
- import * as i33 from "./components/widgets/configurator-items/kpi-description-configuration/kpi-description-configuration.component";
36
- import * as i34 from "./components/widgets/configurator-items/risk-score-tile-description-configuration/risk-score-tile-description-configuration.component";
37
- import * as i35 from "./components/widgets/configurator-items/thresholds-configuration/thresholds-configuration.component";
38
- import * as i36 from "./components/widgets/configurator-items/title-and-description-configuration/title-and-description-configuration.component";
39
- import * as i37 from "./components/widget-configurator-section/widget-configurator-section.component";
40
- import * as i38 from "./components/widget-editor/widget-editor.component";
41
- import * as i39 from "./components/widget-cloner/widget-cloner.component";
42
- import * as i40 from "./components/widgets/table/columns-editor/column-configuration/description-configuration/description-configuration.component";
43
- import * as i41 from "./components/widgets/table/columns-editor-v2/column-configuration/description-configuration/description-configuration-v2.component";
44
- import * as i42 from "./components/widgets/table/columns-editor/column-configuration/presentation-configuration/presentation-configuration.component";
45
- import * as i43 from "./components/widgets/table/columns-editor-v2/column-configuration/presentation-configuration/presentation-configuration-v2.component";
46
- import * as i44 from "./components/widgets/timeseries/timeseries-tile-description-configuration/timeseries-tile-description-configuration.component";
47
- import * as i45 from "./components/widgets/timeseries/timeseries-tile-indicator-data-configuration/timeseries-tile-indicator-data-configuration.component";
48
- import * as i46 from "./components/widgets/configurator-items/refresher-configuration/refresher-configuration.component";
49
- import * as i47 from "./components/widgets/configurator-items/background-color-rules-configuration/background-color-rules-configuration.component";
50
- import * as i48 from "./components/widgets/drilldown/grouping-configuration/grouping-configuration.component";
51
- import * as i49 from "./components/widgets/drilldown/entity-formatting-configuration/entity-formatting-configuration.component";
52
- import * as i50 from "./components/widgets/proportional/donut-content-configuration/donut-content-configuration.component";
53
- import * as i51 from "./components/widgets/proportional/aggregators-configurators/aggregator-configurator/aggregator-configurator.component";
54
- import * as i52 from "./components/widgets/proportional/aggregators-configurators/field-mapper-aggregator-configurator/field-mapper-aggregator-configurator.component";
55
- import * as i53 from "./components/wizard/dashwiz/dashwiz.component";
56
- import * as i54 from "./components/wizard/dashwiz-step/dashwiz-step.component";
57
- import * as i55 from "./components/widget-editor-accordion/widget-editor-accordion.component";
58
- import * as i56 from "./components/widget-editor-accordion/widget-editor-accordion-header/widget-editor-accordion-header.component";
59
- import * as i57 from "./components/items-dynamic/items-dynamic.component";
60
- import * as i58 from "./components/color-picker/color-picker.component";
61
- import * as i59 from "./components/heading/configurator-heading.component";
62
- import * as i60 from "./components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/refresh-rate-configurator.component";
63
- import * as i61 from "./pipe/add-data.pipe";
64
- import * as i62 from "./pipe/pizzagna-root.pipe";
65
- import * as i63 from "./pipe/widget-editor-accordion-form-state.pipe";
66
- import * as i64 from "./pipe/widget-configurator-section-header.pipe";
67
- import * as i65 from "./pipe/widget-editor-accordion-header-icon.pipe";
68
- import * as i66 from "./components/drop-area/drop-area.component";
69
- import * as i67 from "@angular/cdk/scrolling";
70
- import * as i68 from "../common/common.module";
71
- import * as i69 from "@angular/forms";
72
- import * as i70 from "angular-gridster2";
73
- import * as i71 from "@angular/cdk/drag-drop";
74
- import * as i72 from "@angular/cdk/portal";
75
- import * as i73 from "@nova-ui/bits";
76
- import * as i74 from "../pizzagna/pizzagna.module";
16
+ import * as i14 from "./components/widgets/table/scrollType-editor/scroll-type-editor.component";
17
+ import * as i15 from "./components/widgets/configurator-items/timeseries-metadata-configuration/timeseries-metadata-configuration.component";
18
+ import * as i16 from "./components/widgets/timeseries/timeseries-series-collection-configuration/timeseries-series-collection-configuration.component";
19
+ import * as i17 from "./components/widgets/table/columns-editor/table-columns-configuration.component";
20
+ import * as i18 from "./components/widgets/table/columns-editor-v2/table-columns-configuration-v2.component";
21
+ import * as i19 from "./components/widgets/table/columns-editor-v2/column-configuration/table-column-configuration/table-column-configuration.component";
22
+ import * as i20 from "./components/widgets/configurator-items/data-source-error/table/table-data-source-error.component";
23
+ import * as i21 from "./components/formatters/donut-content-percentage-formatter/donut-content-percentage-formatter.component";
24
+ import * as i22 from "./components/formatters/donut-content-percentage-formatter/donut-content-percentage-configuration.component";
25
+ import * as i23 from "./components/formatters/donut-content-sum-formatter/donut-content-sum-formatter.component";
26
+ import * as i24 from "./components/formatters/donut-content-raw-formatter/donut-content-raw-formatter.component";
27
+ import * as i25 from "./components/formatters/icon-formatter/icon-formatter.component";
28
+ import * as i26 from "./components/formatters/si-units-formatter/si-units-formatter.component";
29
+ import * as i27 from "./components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/link-configurator/link-configurator.component";
30
+ import * as i28 from "./components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/value-selector/value-selector.component";
31
+ import * as i29 from "./components/formatters/link-formatter/link-formatter.component";
32
+ import * as i30 from "./components/preview-placeholder/preview-placeholder.component";
33
+ import * as i31 from "./components/formatters/status-with-icon-formatter/status-with-icon-formatter.component";
34
+ import * as i32 from "./components/formatters/raw-formatter/raw-formatter.component";
35
+ import * as i33 from "./components/formatters/percentage-formatter/percentage-formatter.component";
36
+ import * as i34 from "./components/widgets/configurator-items/kpi-description-configuration/kpi-description-configuration.component";
37
+ import * as i35 from "./components/widgets/configurator-items/risk-score-tile-description-configuration/risk-score-tile-description-configuration.component";
38
+ import * as i36 from "./components/widgets/configurator-items/thresholds-configuration/thresholds-configuration.component";
39
+ import * as i37 from "./components/widgets/configurator-items/title-and-description-configuration/title-and-description-configuration.component";
40
+ import * as i38 from "./components/widget-configurator-section/widget-configurator-section.component";
41
+ import * as i39 from "./components/widget-editor/widget-editor.component";
42
+ import * as i40 from "./components/widget-cloner/widget-cloner.component";
43
+ import * as i41 from "./components/widgets/table/columns-editor/column-configuration/description-configuration/description-configuration.component";
44
+ import * as i42 from "./components/widgets/table/columns-editor-v2/column-configuration/description-configuration/description-configuration-v2.component";
45
+ import * as i43 from "./components/widgets/table/columns-editor/column-configuration/presentation-configuration/presentation-configuration.component";
46
+ import * as i44 from "./components/widgets/table/columns-editor-v2/column-configuration/presentation-configuration/presentation-configuration-v2.component";
47
+ import * as i45 from "./components/widgets/timeseries/timeseries-tile-description-configuration/timeseries-tile-description-configuration.component";
48
+ import * as i46 from "./components/widgets/timeseries/timeseries-tile-indicator-data-configuration/timeseries-tile-indicator-data-configuration.component";
49
+ import * as i47 from "./components/widgets/configurator-items/refresher-configuration/refresher-configuration.component";
50
+ import * as i48 from "./components/widgets/configurator-items/background-color-rules-configuration/background-color-rules-configuration.component";
51
+ import * as i49 from "./components/widgets/drilldown/grouping-configuration/grouping-configuration.component";
52
+ import * as i50 from "./components/widgets/drilldown/entity-formatting-configuration/entity-formatting-configuration.component";
53
+ import * as i51 from "./components/widgets/proportional/donut-content-configuration/donut-content-configuration.component";
54
+ import * as i52 from "./components/widgets/proportional/aggregators-configurators/aggregator-configurator/aggregator-configurator.component";
55
+ import * as i53 from "./components/widgets/proportional/aggregators-configurators/field-mapper-aggregator-configurator/field-mapper-aggregator-configurator.component";
56
+ import * as i54 from "./components/wizard/dashwiz/dashwiz.component";
57
+ import * as i55 from "./components/wizard/dashwiz-step/dashwiz-step.component";
58
+ import * as i56 from "./components/widget-editor-accordion/widget-editor-accordion.component";
59
+ import * as i57 from "./components/widget-editor-accordion/widget-editor-accordion-header/widget-editor-accordion-header.component";
60
+ import * as i58 from "./components/items-dynamic/items-dynamic.component";
61
+ import * as i59 from "./components/color-picker/color-picker.component";
62
+ import * as i60 from "./components/heading/configurator-heading.component";
63
+ import * as i61 from "./components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/refresh-rate-configurator.component";
64
+ import * as i62 from "./pipe/add-data.pipe";
65
+ import * as i63 from "./pipe/pizzagna-root.pipe";
66
+ import * as i64 from "./pipe/widget-editor-accordion-form-state.pipe";
67
+ import * as i65 from "./pipe/widget-configurator-section-header.pipe";
68
+ import * as i66 from "./pipe/widget-editor-accordion-header-icon.pipe";
69
+ import * as i67 from "./components/drop-area/drop-area.component";
70
+ import * as i68 from "@angular/cdk/scrolling";
71
+ import * as i69 from "../common/common.module";
72
+ import * as i70 from "@angular/forms";
73
+ import * as i71 from "angular-gridster2";
74
+ import * as i72 from "@angular/cdk/drag-drop";
75
+ import * as i73 from "@angular/cdk/portal";
76
+ import * as i74 from "@nova-ui/bits";
77
+ import * as i75 from "../pizzagna/pizzagna.module";
77
78
  export declare class NuiDashboardConfiguratorModule {
78
79
  constructor(componentRegistry: ComponentRegistryService);
79
80
  static ɵfac: i0.ɵɵFactoryDeclaration<NuiDashboardConfiguratorModule, never>;
80
- static ɵmod: i0.ɵɵNgModuleDeclaration<NuiDashboardConfiguratorModule, [typeof i1.ConfiguratorComponent, typeof i2.FormStackComponent, typeof i3.DashwizButtonsComponent, typeof i4.DataSourceConfigurationComponent, typeof i5.DataSourceConfigurationV2Component, typeof i6.DataSourceErrorComponent, typeof i7.KpiTilesConfigurationComponent, typeof i8.RiskScoreTilesConfigurationComponent, typeof i9.EmbeddedContentConfigurationComponent, typeof i10.InfoMessageConfigurationComponent, typeof i11.ProportionalChartOptionsEditorComponent, typeof i12.ProportionalChartOptionsEditorV2Component, typeof i13.TableFiltersEditorComponent, typeof i14.TimeseriesMetadataConfigurationComponent, typeof i15.TimeseriesSeriesCollectionConfigurationComponent, typeof i16.TableColumnsConfigurationComponent, typeof i17.TableColumnsConfigurationV2Component, typeof i18.TableColumnConfigurationComponent, typeof i19.TableDataSourceErrorComponent, typeof i20.DonutContentPercentageFormatterComponent, typeof i21.DonutContentPercentageConfigurationComponent, typeof i22.DonutContentSumFormatterComponent, typeof i23.DonutContentRawFormatterComponent, typeof i24.IconFormatterComponent, typeof i25.SiUnitsFormatterComponent, typeof i26.LinkConfiguratorComponent, typeof i27.ValueSelectorComponent, typeof i28.LinkFormatterComponent, typeof i29.PreviewPlaceholderComponent, typeof i30.StatusWithIconFormatterComponent, typeof i31.RawFormatterComponent, typeof i32.PercentageFormatterComponent, typeof i33.KpiDescriptionConfigurationComponent, typeof i34.RiskScoreTileDescriptionConfigurationComponent, typeof i35.ThresholdsConfigurationComponent, typeof i36.TitleAndDescriptionConfigurationComponent, typeof i37.WidgetConfiguratorSectionComponent, typeof i38.WidgetEditorComponent, typeof i39.WidgetClonerComponent, typeof i40.DescriptionConfigurationComponent, typeof i41.DescriptionConfigurationV2Component, typeof i42.PresentationConfigurationComponent, typeof i43.PresentationConfigurationV2Component, typeof i44.TimeseriesTileDescriptionConfigurationComponent, typeof i45.TimeseriesTileIndicatorDataConfigurationComponent, typeof i46.RefresherConfigurationComponent, typeof i47.BackgroundColorRulesConfigurationComponent, typeof i48.GroupingConfigurationComponent, typeof i49.EntityFormattingConfigurationComponent, typeof i50.DonutContentConfigurationComponent, typeof i51.AggregatorMetricSelectorConfigurationComponent, typeof i52.FieldMapperAggregatorConfiguratorComponent, typeof i53.DashwizComponent, typeof i54.DashwizStepComponent, typeof i55.WidgetEditorAccordionComponent, typeof i56.WidgetEditorAccordionHeaderComponent, typeof i57.ItemsDynamicComponent, typeof i58.ColorPickerComponent, typeof i59.ConfiguratorHeadingComponent, typeof i60.RefreshRateConfiguratorComponent, typeof i61.AddDataPipe, typeof i62.PizzagnaRootPipe, typeof i63.WidgetEditorAccordionFormStatePipe, typeof i64.WidgetConfiguratorSectionHeaderPipe, typeof i65.FormHeaderIconPipePipe, typeof i66.DropAreaComponent], [typeof i67.ScrollingModule, typeof i68.NuiDashboardsCommonModule, typeof i69.ReactiveFormsModule, typeof i70.GridsterModule, typeof i71.DragDropModule, typeof i72.PortalModule, typeof i73.NuiBusyModule, typeof i74.NuiPizzagnaModule, typeof i73.NuiIconModule, typeof i73.NuiMenuModule, typeof i73.NuiPopupModule, typeof i73.NuiDialogModule, typeof i73.NuiSpinnerModule, typeof i73.NuiTextboxModule, typeof i73.NuiFormFieldModule, typeof i73.NuiButtonModule, typeof i73.NuiOverlayAdditionsModule, typeof i73.NuiSelectV2Module, typeof i73.NuiRadioModule, typeof i73.NuiCheckboxModule, typeof i73.NuiValidationMessageModule, typeof i73.NuiExpanderModule, typeof i73.NuiPanelModule, typeof i73.NuiDividerModule, typeof i73.NuiSwitchModule, typeof i73.NuiMessageModule, typeof i73.NuiWizardModule, typeof i73.NuiSorterModule, typeof i73.NuiSearchModule, typeof i73.NuiRepeatModule, typeof i73.NuiImageModule], [typeof i1.ConfiguratorComponent, typeof i2.FormStackComponent, typeof i3.DashwizButtonsComponent, typeof i4.DataSourceConfigurationComponent, typeof i5.DataSourceConfigurationV2Component, typeof i6.DataSourceErrorComponent, typeof i7.KpiTilesConfigurationComponent, typeof i8.RiskScoreTilesConfigurationComponent, typeof i9.EmbeddedContentConfigurationComponent, typeof i10.InfoMessageConfigurationComponent, typeof i11.ProportionalChartOptionsEditorComponent, typeof i12.ProportionalChartOptionsEditorV2Component, typeof i13.TableFiltersEditorComponent, typeof i14.TimeseriesMetadataConfigurationComponent, typeof i15.TimeseriesSeriesCollectionConfigurationComponent, typeof i16.TableColumnsConfigurationComponent, typeof i17.TableColumnsConfigurationV2Component, typeof i18.TableColumnConfigurationComponent, typeof i19.TableDataSourceErrorComponent, typeof i20.DonutContentPercentageFormatterComponent, typeof i21.DonutContentPercentageConfigurationComponent, typeof i22.DonutContentSumFormatterComponent, typeof i23.DonutContentRawFormatterComponent, typeof i24.IconFormatterComponent, typeof i25.SiUnitsFormatterComponent, typeof i26.LinkConfiguratorComponent, typeof i27.ValueSelectorComponent, typeof i28.LinkFormatterComponent, typeof i29.PreviewPlaceholderComponent, typeof i30.StatusWithIconFormatterComponent, typeof i31.RawFormatterComponent, typeof i32.PercentageFormatterComponent, typeof i33.KpiDescriptionConfigurationComponent, typeof i34.RiskScoreTileDescriptionConfigurationComponent, typeof i35.ThresholdsConfigurationComponent, typeof i36.TitleAndDescriptionConfigurationComponent, typeof i37.WidgetConfiguratorSectionComponent, typeof i38.WidgetEditorComponent, typeof i39.WidgetClonerComponent, typeof i40.DescriptionConfigurationComponent, typeof i41.DescriptionConfigurationV2Component, typeof i42.PresentationConfigurationComponent, typeof i43.PresentationConfigurationV2Component, typeof i44.TimeseriesTileDescriptionConfigurationComponent, typeof i45.TimeseriesTileIndicatorDataConfigurationComponent, typeof i46.RefresherConfigurationComponent, typeof i47.BackgroundColorRulesConfigurationComponent, typeof i48.GroupingConfigurationComponent, typeof i49.EntityFormattingConfigurationComponent, typeof i50.DonutContentConfigurationComponent, typeof i51.AggregatorMetricSelectorConfigurationComponent, typeof i52.FieldMapperAggregatorConfiguratorComponent, typeof i53.DashwizComponent, typeof i54.DashwizStepComponent, typeof i55.WidgetEditorAccordionComponent, typeof i56.WidgetEditorAccordionHeaderComponent, typeof i57.ItemsDynamicComponent, typeof i58.ColorPickerComponent, typeof i59.ConfiguratorHeadingComponent, typeof i60.RefreshRateConfiguratorComponent, typeof i61.AddDataPipe, typeof i62.PizzagnaRootPipe, typeof i63.WidgetEditorAccordionFormStatePipe, typeof i64.WidgetConfiguratorSectionHeaderPipe, typeof i65.FormHeaderIconPipePipe, typeof i66.DropAreaComponent]>;
81
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NuiDashboardConfiguratorModule, [typeof i1.ConfiguratorComponent, typeof i2.FormStackComponent, typeof i3.DashwizButtonsComponent, typeof i4.DataSourceConfigurationComponent, typeof i5.DataSourceConfigurationV2Component, typeof i6.DataSourceErrorComponent, typeof i7.KpiTilesConfigurationComponent, typeof i8.RiskScoreTilesConfigurationComponent, typeof i9.EmbeddedContentConfigurationComponent, typeof i10.InfoMessageConfigurationComponent, typeof i11.ProportionalChartOptionsEditorComponent, typeof i12.ProportionalChartOptionsEditorV2Component, typeof i13.TableFiltersEditorComponent, typeof i14.TableScrollTypeEditorComponent, typeof i15.TimeseriesMetadataConfigurationComponent, typeof i16.TimeseriesSeriesCollectionConfigurationComponent, typeof i17.TableColumnsConfigurationComponent, typeof i18.TableColumnsConfigurationV2Component, typeof i19.TableColumnConfigurationComponent, typeof i20.TableDataSourceErrorComponent, typeof i21.DonutContentPercentageFormatterComponent, typeof i22.DonutContentPercentageConfigurationComponent, typeof i23.DonutContentSumFormatterComponent, typeof i24.DonutContentRawFormatterComponent, typeof i25.IconFormatterComponent, typeof i26.SiUnitsFormatterComponent, typeof i27.LinkConfiguratorComponent, typeof i28.ValueSelectorComponent, typeof i29.LinkFormatterComponent, typeof i30.PreviewPlaceholderComponent, typeof i31.StatusWithIconFormatterComponent, typeof i32.RawFormatterComponent, typeof i33.PercentageFormatterComponent, typeof i34.KpiDescriptionConfigurationComponent, typeof i35.RiskScoreTileDescriptionConfigurationComponent, typeof i36.ThresholdsConfigurationComponent, typeof i37.TitleAndDescriptionConfigurationComponent, typeof i38.WidgetConfiguratorSectionComponent, typeof i39.WidgetEditorComponent, typeof i40.WidgetClonerComponent, typeof i41.DescriptionConfigurationComponent, typeof i42.DescriptionConfigurationV2Component, typeof i43.PresentationConfigurationComponent, typeof i44.PresentationConfigurationV2Component, typeof i45.TimeseriesTileDescriptionConfigurationComponent, typeof i46.TimeseriesTileIndicatorDataConfigurationComponent, typeof i47.RefresherConfigurationComponent, typeof i48.BackgroundColorRulesConfigurationComponent, typeof i49.GroupingConfigurationComponent, typeof i50.EntityFormattingConfigurationComponent, typeof i51.DonutContentConfigurationComponent, typeof i52.AggregatorMetricSelectorConfigurationComponent, typeof i53.FieldMapperAggregatorConfiguratorComponent, typeof i54.DashwizComponent, typeof i55.DashwizStepComponent, typeof i56.WidgetEditorAccordionComponent, typeof i57.WidgetEditorAccordionHeaderComponent, typeof i58.ItemsDynamicComponent, typeof i59.ColorPickerComponent, typeof i60.ConfiguratorHeadingComponent, typeof i61.RefreshRateConfiguratorComponent, typeof i62.AddDataPipe, typeof i63.PizzagnaRootPipe, typeof i64.WidgetEditorAccordionFormStatePipe, typeof i65.WidgetConfiguratorSectionHeaderPipe, typeof i66.FormHeaderIconPipePipe, typeof i67.DropAreaComponent], [typeof i68.ScrollingModule, typeof i69.NuiDashboardsCommonModule, typeof i70.ReactiveFormsModule, typeof i71.GridsterModule, typeof i72.DragDropModule, typeof i73.PortalModule, typeof i74.NuiBusyModule, typeof i75.NuiPizzagnaModule, typeof i74.NuiIconModule, typeof i74.NuiMenuModule, typeof i74.NuiPopupModule, typeof i74.NuiDialogModule, typeof i74.NuiSpinnerModule, typeof i74.NuiTextboxModule, typeof i74.NuiFormFieldModule, typeof i74.NuiButtonModule, typeof i74.NuiOverlayAdditionsModule, typeof i74.NuiSelectV2Module, typeof i74.NuiRadioModule, typeof i74.NuiCheckboxModule, typeof i74.NuiValidationMessageModule, typeof i74.NuiExpanderModule, typeof i74.NuiPanelModule, typeof i74.NuiDividerModule, typeof i74.NuiSwitchModule, typeof i74.NuiMessageModule, typeof i74.NuiWizardModule, typeof i74.NuiSorterModule, typeof i74.NuiSearchModule, typeof i74.NuiRepeatModule, typeof i74.NuiImageModule], [typeof i1.ConfiguratorComponent, typeof i2.FormStackComponent, typeof i3.DashwizButtonsComponent, typeof i4.DataSourceConfigurationComponent, typeof i5.DataSourceConfigurationV2Component, typeof i6.DataSourceErrorComponent, typeof i7.KpiTilesConfigurationComponent, typeof i8.RiskScoreTilesConfigurationComponent, typeof i9.EmbeddedContentConfigurationComponent, typeof i10.InfoMessageConfigurationComponent, typeof i11.ProportionalChartOptionsEditorComponent, typeof i12.ProportionalChartOptionsEditorV2Component, typeof i13.TableFiltersEditorComponent, typeof i14.TableScrollTypeEditorComponent, typeof i15.TimeseriesMetadataConfigurationComponent, typeof i16.TimeseriesSeriesCollectionConfigurationComponent, typeof i17.TableColumnsConfigurationComponent, typeof i18.TableColumnsConfigurationV2Component, typeof i19.TableColumnConfigurationComponent, typeof i20.TableDataSourceErrorComponent, typeof i21.DonutContentPercentageFormatterComponent, typeof i22.DonutContentPercentageConfigurationComponent, typeof i23.DonutContentSumFormatterComponent, typeof i24.DonutContentRawFormatterComponent, typeof i25.IconFormatterComponent, typeof i26.SiUnitsFormatterComponent, typeof i27.LinkConfiguratorComponent, typeof i28.ValueSelectorComponent, typeof i29.LinkFormatterComponent, typeof i30.PreviewPlaceholderComponent, typeof i31.StatusWithIconFormatterComponent, typeof i32.RawFormatterComponent, typeof i33.PercentageFormatterComponent, typeof i34.KpiDescriptionConfigurationComponent, typeof i35.RiskScoreTileDescriptionConfigurationComponent, typeof i36.ThresholdsConfigurationComponent, typeof i37.TitleAndDescriptionConfigurationComponent, typeof i38.WidgetConfiguratorSectionComponent, typeof i39.WidgetEditorComponent, typeof i40.WidgetClonerComponent, typeof i41.DescriptionConfigurationComponent, typeof i42.DescriptionConfigurationV2Component, typeof i43.PresentationConfigurationComponent, typeof i44.PresentationConfigurationV2Component, typeof i45.TimeseriesTileDescriptionConfigurationComponent, typeof i46.TimeseriesTileIndicatorDataConfigurationComponent, typeof i47.RefresherConfigurationComponent, typeof i48.BackgroundColorRulesConfigurationComponent, typeof i49.GroupingConfigurationComponent, typeof i50.EntityFormattingConfigurationComponent, typeof i51.DonutContentConfigurationComponent, typeof i52.AggregatorMetricSelectorConfigurationComponent, typeof i53.FieldMapperAggregatorConfiguratorComponent, typeof i54.DashwizComponent, typeof i55.DashwizStepComponent, typeof i56.WidgetEditorAccordionComponent, typeof i57.WidgetEditorAccordionHeaderComponent, typeof i58.ItemsDynamicComponent, typeof i59.ColorPickerComponent, typeof i60.ConfiguratorHeadingComponent, typeof i61.RefreshRateConfiguratorComponent, typeof i62.AddDataPipe, typeof i63.PizzagnaRootPipe, typeof i64.WidgetEditorAccordionFormStatePipe, typeof i65.WidgetConfiguratorSectionHeaderPipe, typeof i66.FormHeaderIconPipePipe, typeof i67.DropAreaComponent]>;
81
82
  static ɵinj: i0.ɵɵInjectorDeclaration<NuiDashboardConfiguratorModule>;
82
83
  }
@@ -0,0 +1,15 @@
1
+ import { AfterViewInit } from "@angular/core";
2
+ import { FormGroup } from "@angular/forms";
3
+ import { EventBus, IEvent } from "@nova-ui/bits";
4
+ import { PizzagnaService } from "../../../../pizzagna/services/pizzagna.service";
5
+ import { PreviewService } from "../../preview.service";
6
+ import { BaseConverter } from "../base-converter";
7
+ import * as i0 from "@angular/core";
8
+ export declare class TableScrollTypeConverterService extends BaseConverter implements AfterViewInit {
9
+ constructor(eventBus: EventBus<IEvent>, previewService: PreviewService, pizzagnaService: PizzagnaService);
10
+ ngAfterViewInit(): void;
11
+ buildForm(): void;
12
+ toPreview(form: FormGroup): void;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableScrollTypeConverterService, never>;
14
+ static ɵprov: i0.ɵɵInjectableDeclaration<TableScrollTypeConverterService>;
15
+ }
@@ -45,6 +45,6 @@ import * as i39 from "@angular/forms";
45
45
  export declare class NuiDashboardsModule {
46
46
  constructor(widgetTypesService: WidgetTypesService, componentRegistry: ComponentRegistryService, eventRegistry: EventRegistryService, kpiFormattersRegistry: KpiFormattersRegistryService, riskScoreFormattersRegistry: RiskScoreFormattersRegistryService);
47
47
  static ɵfac: i0.ɵɵFactoryDeclaration<NuiDashboardsModule, never>;
48
- static ɵmod: i0.ɵɵNgModuleDeclaration<NuiDashboardsModule, [typeof i1.DashboardComponent, typeof i2.EmbeddedContentComponent, typeof i3.GridsterItemWidgetIdDirective, typeof i4.KpiComponent, typeof i5.RiskScoreTileComponent, typeof i6.LineChartComponent, typeof i7.LoadingComponent, typeof i8.ProportionalWidgetComponent, typeof i9.StackComponent, typeof i10.StackedAreaChartComponent, typeof i11.StackedBarChartComponent, typeof i12.StackedPercentageAreaChartComponent, typeof i13.StatusBarChartComponent, typeof i14.TableWidgetComponent, typeof i15.DelayedMousePresenceDetectionDirective, typeof i16.TemplateLoadErrorComponent, typeof i17.TilesComponent, typeof i18.TimeframeSelectionComponent, typeof i19.TimeseriesWidgetComponent, typeof i20.WidgetBodyComponent, typeof i21.WidgetBodyContentComponent, typeof i22.WidgetComponent, typeof i23.WidgetEditorDirective, typeof i24.WidgetHeaderComponent, typeof i25.ListWidgetComponent, typeof i26.ListLeafItemComponent, typeof i27.ListGroupItemComponent, typeof i28.ListNavigationBarComponent, typeof i29.WidgetSearchComponent, typeof i30.ProportionalDonutContentComponent, typeof i31.TimeseriesInspectionMenuComponent], [typeof i32.NuiDashboardsCommonModule, typeof i33.GridsterModule, typeof i34.NuiBusyModule, typeof i34.NuiButtonModule, typeof i35.NuiChartsModule, typeof i36.NuiDashboardConfiguratorModule, typeof i34.NuiIconModule, typeof i34.NuiImageModule, typeof i34.NuiMenuModule, typeof i37.NuiPizzagnaModule, typeof i34.NuiPopupModule, typeof i34.NuiProgressModule, typeof i34.NuiTableModule, typeof i34.NuiTimeFrameBarModule, typeof i38.ScrollingModule, typeof i34.NuiTimeFramePickerModule, typeof i39.ReactiveFormsModule, typeof i34.NuiSpinnerModule, typeof i34.NuiTooltipModule, typeof i34.NuiSearchModule, typeof i34.NuiCommonModule, typeof i34.NuiRepeatModule, typeof i34.NuiRiskScoreModule, typeof i34.NuiSelectModule, typeof i34.NuiPopoverModule], [typeof i1.DashboardComponent, typeof i2.EmbeddedContentComponent, typeof i3.GridsterItemWidgetIdDirective, typeof i4.KpiComponent, typeof i5.RiskScoreTileComponent, typeof i6.LineChartComponent, typeof i7.LoadingComponent, typeof i8.ProportionalWidgetComponent, typeof i9.StackComponent, typeof i10.StackedAreaChartComponent, typeof i11.StackedBarChartComponent, typeof i12.StackedPercentageAreaChartComponent, typeof i13.StatusBarChartComponent, typeof i14.TableWidgetComponent, typeof i15.DelayedMousePresenceDetectionDirective, typeof i16.TemplateLoadErrorComponent, typeof i17.TilesComponent, typeof i18.TimeframeSelectionComponent, typeof i19.TimeseriesWidgetComponent, typeof i20.WidgetBodyComponent, typeof i21.WidgetBodyContentComponent, typeof i22.WidgetComponent, typeof i23.WidgetEditorDirective, typeof i24.WidgetHeaderComponent, typeof i25.ListWidgetComponent, typeof i26.ListLeafItemComponent, typeof i27.ListGroupItemComponent, typeof i28.ListNavigationBarComponent, typeof i29.WidgetSearchComponent, typeof i30.ProportionalDonutContentComponent, typeof i31.TimeseriesInspectionMenuComponent]>;
48
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NuiDashboardsModule, [typeof i1.DashboardComponent, typeof i2.EmbeddedContentComponent, typeof i3.GridsterItemWidgetIdDirective, typeof i4.KpiComponent, typeof i5.RiskScoreTileComponent, typeof i6.LineChartComponent, typeof i7.LoadingComponent, typeof i8.ProportionalWidgetComponent, typeof i9.StackComponent, typeof i10.StackedAreaChartComponent, typeof i11.StackedBarChartComponent, typeof i12.StackedPercentageAreaChartComponent, typeof i13.StatusBarChartComponent, typeof i14.TableWidgetComponent, typeof i15.DelayedMousePresenceDetectionDirective, typeof i16.TemplateLoadErrorComponent, typeof i17.TilesComponent, typeof i18.TimeframeSelectionComponent, typeof i19.TimeseriesWidgetComponent, typeof i20.WidgetBodyComponent, typeof i21.WidgetBodyContentComponent, typeof i22.WidgetComponent, typeof i23.WidgetEditorDirective, typeof i24.WidgetHeaderComponent, typeof i25.ListWidgetComponent, typeof i26.ListLeafItemComponent, typeof i27.ListGroupItemComponent, typeof i28.ListNavigationBarComponent, typeof i29.WidgetSearchComponent, typeof i30.ProportionalDonutContentComponent, typeof i31.TimeseriesInspectionMenuComponent], [typeof i32.NuiDashboardsCommonModule, typeof i33.GridsterModule, typeof i34.NuiBusyModule, typeof i34.NuiButtonModule, typeof i35.NuiChartsModule, typeof i36.NuiDashboardConfiguratorModule, typeof i34.NuiIconModule, typeof i34.NuiImageModule, typeof i34.NuiMenuModule, typeof i37.NuiPizzagnaModule, typeof i34.NuiPopupModule, typeof i34.NuiProgressModule, typeof i34.NuiTableModule, typeof i34.NuiTimeFrameBarModule, typeof i38.ScrollingModule, typeof i34.NuiTimeFramePickerModule, typeof i39.ReactiveFormsModule, typeof i34.NuiSpinnerModule, typeof i34.NuiTooltipModule, typeof i34.NuiSearchModule, typeof i34.NuiCommonModule, typeof i34.NuiRepeatModule, typeof i34.NuiRiskScoreModule, typeof i34.NuiSelectModule, typeof i34.NuiPopoverModule, typeof i34.NuiPaginatorModule], [typeof i1.DashboardComponent, typeof i2.EmbeddedContentComponent, typeof i3.GridsterItemWidgetIdDirective, typeof i4.KpiComponent, typeof i5.RiskScoreTileComponent, typeof i6.LineChartComponent, typeof i7.LoadingComponent, typeof i8.ProportionalWidgetComponent, typeof i9.StackComponent, typeof i10.StackedAreaChartComponent, typeof i11.StackedBarChartComponent, typeof i12.StackedPercentageAreaChartComponent, typeof i13.StatusBarChartComponent, typeof i14.TableWidgetComponent, typeof i15.DelayedMousePresenceDetectionDirective, typeof i16.TemplateLoadErrorComponent, typeof i17.TilesComponent, typeof i18.TimeframeSelectionComponent, typeof i19.TimeseriesWidgetComponent, typeof i20.WidgetBodyComponent, typeof i21.WidgetBodyContentComponent, typeof i22.WidgetComponent, typeof i23.WidgetEditorDirective, typeof i24.WidgetHeaderComponent, typeof i25.ListWidgetComponent, typeof i26.ListLeafItemComponent, typeof i27.ListGroupItemComponent, typeof i28.ListNavigationBarComponent, typeof i29.WidgetSearchComponent, typeof i30.ProportionalDonutContentComponent, typeof i31.TimeseriesInspectionMenuComponent]>;
49
49
  static ɵinj: i0.ɵɵInjectorDeclaration<NuiDashboardsModule>;
50
50
  }
@@ -1,5 +1,5 @@
1
1
  import { StaticProvider } from "@angular/core";
2
- import { EventDefinition, IEvent, IEventDefinition } from "@nova-ui/bits";
2
+ import { EventDefinition, IEvent, IEventDefinition, ISelection } from "@nova-ui/bits";
3
3
  import { IInteractionPayload } from "../components/providers/interaction/interaction-handler";
4
4
  import { IDataSourceBusyPayload } from "../components/providers/types";
5
5
  import { ISerializableTimeframe } from "../types";
@@ -46,6 +46,7 @@ export declare const PREVIEW_EVENT: EventDefinition<IPreviewEventPayload>;
46
46
  export declare const DATA_SOURCE_BUSY: EventDefinition<IDataSourceBusyPayload>;
47
47
  export declare const DASHBOARD_EDIT_MODE: EventDefinition<boolean>;
48
48
  export declare const INTERACTION: EventDefinition<IInteractionPayload<any>>;
49
+ export declare const SELECTION: EventDefinition<ISelection>;
49
50
  export declare const DATA_SOURCE_INVOKED: EventDefinition<void>;
50
51
  export declare const DRILLDOWN: EventDefinition<unknown>;
51
52
  export declare const NOVA_DATASOURCE_INTERVAL_REFRESHER = "NOVA_DATASOURCE_INTERVAL_REFRESHER";
@@ -62,6 +63,7 @@ export declare const NOVA_TIMESERIES_SERIES_CONVERTER = "NOVA_TIMESERIES_SERIES_
62
63
  export declare const NOVA_DASHBOARD_EVENT_PROXY = "NOVA_DASHBOARD_EVENT_PROXY";
63
64
  export declare const NOVA_TABLE_COLUMNS_CONVERTER = "NOVA_TABLE_COLUMNS_CONVERTER";
64
65
  export declare const NOVA_TABLE_FILTERS_CONVERTER = "NOVA_TABLE_FILTERS_CONVERTER";
66
+ export declare const NOVA_TABLE_SCROLL_TYPE_CONVERTER = "NOVA_TABLE_SCROLL_TYPE_CONVERTER";
65
67
  export declare const NOVA_TABLE_DATASOURCE_ADAPTER = "NOVA_TABLE_DATASOURCE_ADAPTER";
66
68
  export declare const NOVA_GENERIC_CONVERTER = "NOVA_GENERIC_CONVERTER";
67
69
  export declare const NOVA_GENERIC_ARRAY_CONVERTER = "NOVA_GENERIC_ARRAY_CONVERTER";
package/package.json CHANGED
@@ -47,8 +47,8 @@
47
47
  "license": "Apache-2.0",
48
48
  "name": "@nova-ui/dashboards",
49
49
  "peerDependencies": {
50
- "@nova-ui/bits": "~15.0.8",
51
- "@nova-ui/charts": "~15.0.8",
50
+ "@nova-ui/bits": "~15.0.10",
51
+ "@nova-ui/charts": "~15.0.10",
52
52
  "angular-gridster2": "^15.0.0",
53
53
  "d3": "^5.9.2",
54
54
  "d3-selection-multi": "^1.0.1"
@@ -61,7 +61,7 @@
61
61
  "moment": "^2.29.4"
62
62
  },
63
63
  "schematics": "./sdk/schematics/collection.json",
64
- "version": "15.0.8",
64
+ "version": "15.0.10",
65
65
  "module": "fesm2015/nova-ui-dashboards.mjs",
66
66
  "es2020": "fesm2020/nova-ui-dashboards.mjs",
67
67
  "esm2020": "esm2020/nova-ui-dashboards.mjs",
@@ -21,7 +21,7 @@ export declare class KpiComponent implements IHasChangeDetector, OnChanges {
21
21
  onInteraction(): void;
22
22
  getScaleBroker(id: string): IBroker | undefined;
23
23
  ngOnChanges(changes: SimpleChanges): void;
24
- get isEmpty(): boolean;
24
+ get showEmpty(): boolean;
25
25
  /**
26
26
  * Iterates over formatters and maps their properties from the data
27
27
  *
@@ -70,9 +70,16 @@ let KpiComponent = class KpiComponent {
70
70
  }
71
71
  }
72
72
  }
73
- get isEmpty() {
74
- var _a;
75
- return !((_a = this.widgetData) === null || _a === void 0 ? void 0 : _a.value);
73
+ get showEmpty() {
74
+ var _a, _b, _c, _d, _e;
75
+ if (typeof ((_a = this.widgetData) === null || _a === void 0 ? void 0 : _a.value) === "boolean") {
76
+ return false;
77
+ }
78
+ if (Array.isArray((_b = this.widgetData) === null || _b === void 0 ? void 0 : _b.value) &&
79
+ ((_c = this.widgetData) === null || _c === void 0 ? void 0 : _c.value.length) === 0) {
80
+ return true;
81
+ }
82
+ return !((_d = this.widgetData) === null || _d === void 0 ? void 0 : _d.value) && ((_e = this.widgetData) === null || _e === void 0 ? void 0 : _e.value) !== 0;
76
83
  }
77
84
  /**
78
85
  * Iterates over formatters and maps their properties from the data
@@ -1 +1 @@
1
- {"version":3,"file":"kpi.component.js","sourceRoot":"","sources":["../../../../../../../src/lib/components/kpi-widget/kpi.component.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,EAAE;AACF,+EAA+E;AAC/E,4EAA4E;AAC5E,8EAA8E;AAC9E,+EAA+E;AAC/E,8EAA8E;AAC9E,4DAA4D;AAC5D,EAAE;AACF,6EAA6E;AAC7E,uDAAuD;AACvD,EAAE;AACF,6EAA6E;AAC7E,4EAA4E;AAC5E,+EAA+E;AAC/E,0EAA0E;AAC1E,iFAAiF;AACjF,6EAA6E;AAC7E,iBAAiB;;;;AAEjB,wCAWuB;AACvB,iEAAkC;AAElC,wCAA8D;AAE9D,uGAAgG;AAChG,gDAAmD;AACnD,uCAKqB;AAgBd,IAAM,YAAY,GAAlB,MAAM,YAAY;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AQ,EAAE,SAAS;QACnB,WAAW,EAAE,sBAAsB;QACnC,SAAS,EAAE,CAAC,sBAAsB,CAAC;QACnC,aAAa,EAAE,wBAAiB,CAAC,QAAQ;QACzC,eAAe,EAAE,8BAAuB,CAAC,MAAM;KAClD,CAAC;IAsCO,mBAAA,IAAA,eAAQ,GAAE,CAAA;IAAE,mBAAA,IAAA,aAAM,EAAC,mBAAW,CAAC,CAAA;IAC/B,mBAAA,IAAA,aAAM,EAAC,0BAAkB,CAAC,CAAA;6CAFJ,wBAAiB,UAEK,eAAQ;GAtChD,YAAY,CA6GxB;AA7GY,oCAAY"}
1
+ {"version":3,"file":"kpi.component.js","sourceRoot":"","sources":["../../../../../../../src/lib/components/kpi-widget/kpi.component.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,EAAE;AACF,+EAA+E;AAC/E,4EAA4E;AAC5E,8EAA8E;AAC9E,+EAA+E;AAC/E,8EAA8E;AAC9E,4DAA4D;AAC5D,EAAE;AACF,6EAA6E;AAC7E,uDAAuD;AACvD,EAAE;AACF,6EAA6E;AAC7E,4EAA4E;AAC5E,+EAA+E;AAC/E,0EAA0E;AAC1E,iFAAiF;AACjF,6EAA6E;AAC7E,iBAAiB;;;;AAEjB,wCAWuB;AACvB,iEAAkC;AAElC,wCAA8D;AAE9D,uGAAgG;AAChG,gDAAmD;AACnD,uCAKqB;AAgBd,IAAM,YAAY,GAAlB,MAAM,YAAY;IAwBrB,IAAW,WAAW;;QAClB,OAAO,CACH,CAAC,CAAC,CAAA,MAAA,IAAI,CAAC,aAAa,0CAAE,WAAW;aAC7B,MAAA,MAAA,MAAA,IAAI,CAAC,UAAU,0CAAE,QAAQ,0CAAE,gBAAgB,CACvC,mCAA2B,CAAC,aAAa,CAC5C,0CAAE,OAAO,CAAA,CAAC;YACX,CAAC,IAAA,eAAM,EAAC,MAAA,IAAI,CAAC,UAAU,0CAAE,KAAK,CAAC,CAAC;YACpC,KAAK,CACR,CAAC;IACN,CAAC;IAED,YACW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