@nova-ui/dashboards 15.0.8 → 15.0.9
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/esm2020/lib/components/kpi-widget/kpi.component.mjs +12 -5
- package/esm2020/lib/components/table-widget/addons/paginator-feature-addon.service.mjs +85 -0
- package/esm2020/lib/components/table-widget/addons/virtual-scroll-feature-addon.service.mjs +5 -2
- package/esm2020/lib/components/table-widget/table-widget.component.mjs +56 -23
- package/esm2020/lib/components/table-widget/types.mjs +7 -2
- package/esm2020/lib/configurator/components/widget-editor-accordion/widget-editor-accordion.component.mjs +7 -3
- package/esm2020/lib/configurator/components/widgets/configurator-items/background-color-rules-configuration/background-color-rules-configuration.component.mjs +1 -1
- package/esm2020/lib/configurator/components/widgets/configurator-items/data-source-configuration/data-source-configuration.component.mjs +1 -1
- package/esm2020/lib/configurator/components/widgets/configurator-items/data-source-configuration-v2/data-source-configuration-v2.component.mjs +1 -1
- package/esm2020/lib/configurator/components/widgets/configurator-items/embedded-content-configuration/embedded-content-configuration.component.mjs +1 -1
- package/esm2020/lib/configurator/components/widgets/configurator-items/kpi-description-configuration/kpi-description-configuration.component.mjs +1 -1
- package/esm2020/lib/configurator/components/widgets/configurator-items/refresher-configuration/refresher-configuration.component.mjs +1 -1
- package/esm2020/lib/configurator/components/widgets/configurator-items/risk-score-tile-description-configuration/risk-score-tile-description-configuration.component.mjs +1 -1
- package/esm2020/lib/configurator/components/widgets/configurator-items/thresholds-configuration/thresholds-configuration.component.mjs +1 -1
- package/esm2020/lib/configurator/components/widgets/configurator-items/timeseries-metadata-configuration/timeseries-metadata-configuration.component.mjs +1 -1
- package/esm2020/lib/configurator/components/widgets/configurator-items/title-and-description-configuration/title-and-description-configuration.component.mjs +1 -1
- package/esm2020/lib/configurator/components/widgets/drilldown/entity-formatting-configuration/entity-formatting-configuration.component.mjs +1 -1
- package/esm2020/lib/configurator/components/widgets/drilldown/grouping-configuration/grouping-configuration.component.mjs +1 -1
- package/esm2020/lib/configurator/components/widgets/proportional/chart-options-editor/proportional-chart-options-editor.component.mjs +1 -1
- package/esm2020/lib/configurator/components/widgets/proportional/chart-options-editor-v2/proportional-chart-options-editor-v2.component.mjs +1 -1
- package/esm2020/lib/configurator/components/widgets/proportional/donut-content-configuration/donut-content-configuration.component.mjs +1 -1
- package/esm2020/lib/configurator/components/widgets/table/columns-editor/column-configuration/description-configuration/description-configuration.component.mjs +1 -1
- package/esm2020/lib/configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/presentation-configuration.component.mjs +2 -2
- package/esm2020/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/description-configuration/description-configuration-v2.component.mjs +1 -1
- package/esm2020/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/presentation-configuration/presentation-configuration-v2.component.mjs +2 -2
- package/esm2020/lib/configurator/components/widgets/table/filters-editor/table-filters-editor.component.mjs +2 -2
- package/esm2020/lib/configurator/components/widgets/table/public-api.mjs +2 -1
- package/esm2020/lib/configurator/components/widgets/table/scrollType-editor/scroll-type-editor.component.mjs +197 -0
- package/esm2020/lib/configurator/components/widgets/table/scrollType-editor/scroll-type-editor.service.mjs +39 -0
- package/esm2020/lib/configurator/components/widgets/timeseries/timeseries-tile-description-configuration/timeseries-tile-description-configuration.component.mjs +1 -1
- package/esm2020/lib/configurator/components/widgets/timeseries/timeseries-tile-indicator-data-configuration/timeseries-tile-indicator-data-configuration.component.mjs +1 -1
- package/esm2020/lib/configurator/configurator.module.mjs +8 -1
- package/esm2020/lib/configurator/services/converters/table/table-filters-converter.service.mjs +3 -5
- package/esm2020/lib/configurator/services/converters/table/table-scroll-type-converter.service.mjs +68 -0
- package/esm2020/lib/dashboards.module.mjs +7 -4
- package/esm2020/lib/services/provider-registry.service.mjs +8 -2
- package/esm2020/lib/services/types.mjs +2 -1
- package/esm2020/lib/widget-types/table/table-configurator.mjs +15 -4
- package/fesm2015/nova-ui-dashboards.mjs +455 -55
- package/fesm2015/nova-ui-dashboards.mjs.map +1 -1
- package/fesm2020/nova-ui-dashboards.mjs +448 -56
- package/fesm2020/nova-ui-dashboards.mjs.map +1 -1
- package/lib/components/kpi-widget/kpi.component.d.ts +1 -1
- package/lib/components/table-widget/addons/paginator-feature-addon.service.d.ts +14 -0
- package/lib/components/table-widget/addons/virtual-scroll-feature-addon.service.d.ts +1 -1
- package/lib/components/table-widget/table-widget.component.d.ts +12 -5
- package/lib/components/table-widget/types.d.ts +21 -1
- package/lib/configurator/components/widget-editor-accordion/widget-editor-accordion.component.d.ts +3 -2
- package/lib/configurator/components/widgets/table/public-api.d.ts +1 -0
- package/lib/configurator/components/widgets/table/scrollType-editor/scroll-type-editor.component.d.ts +50 -0
- package/lib/configurator/components/widgets/table/scrollType-editor/scroll-type-editor.service.d.ts +12 -0
- package/lib/configurator/configurator.module.d.ts +63 -62
- package/lib/configurator/services/converters/table/table-scroll-type-converter.service.d.ts +15 -0
- package/lib/dashboards.module.d.ts +1 -1
- package/lib/services/types.d.ts +1 -0
- package/package.json +3 -3
- package/sdk/atoms/src/lib/components/kpi-widget/kpi.component.d.ts +1 -1
- package/sdk/atoms/src/lib/components/kpi-widget/kpi.component.js +10 -3
- package/sdk/atoms/src/lib/components/kpi-widget/kpi.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/table-widget/addons/paginator-feature-addon.service.d.ts +11 -0
- package/sdk/atoms/src/lib/components/table-widget/addons/paginator-feature-addon.service.js +88 -0
- package/sdk/atoms/src/lib/components/table-widget/addons/paginator-feature-addon.service.js.map +1 -0
- package/sdk/atoms/src/lib/components/table-widget/addons/virtual-scroll-feature-addon.service.d.ts +1 -1
- package/sdk/atoms/src/lib/components/table-widget/addons/virtual-scroll-feature-addon.service.js +4 -1
- package/sdk/atoms/src/lib/components/table-widget/addons/virtual-scroll-feature-addon.service.js.map +1 -1
- package/sdk/atoms/src/lib/components/table-widget/table-widget.component.d.ts +11 -4
- package/sdk/atoms/src/lib/components/table-widget/table-widget.component.js +40 -10
- 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 +21 -1
- package/sdk/atoms/src/lib/components/table-widget/types.js +7 -0
- package/sdk/atoms/src/lib/components/table-widget/types.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widget-editor-accordion/widget-editor-accordion.component.d.ts +2 -1
- package/sdk/atoms/src/lib/configurator/components/widget-editor-accordion/widget-editor-accordion.component.js +6 -0
- package/sdk/atoms/src/lib/configurator/components/widget-editor-accordion/widget-editor-accordion.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/filters-editor/table-filters-editor.component.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/public-api.d.ts +1 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/table/public-api.js +1 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/table/public-api.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/table/scrollType-editor/scroll-type-editor.component.d.ts +47 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/table/scrollType-editor/scroll-type-editor.component.js +208 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/table/scrollType-editor/scroll-type-editor.component.js.map +1 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/table/scrollType-editor/scroll-type-editor.service.d.ts +9 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/table/scrollType-editor/scroll-type-editor.service.js +42 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/table/scrollType-editor/scroll-type-editor.service.js.map +1 -0
- package/sdk/atoms/src/lib/configurator/configurator.module.js +4 -0
- package/sdk/atoms/src/lib/configurator/configurator.module.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/table/table-filters-converter.service.js +2 -4
- package/sdk/atoms/src/lib/configurator/services/converters/table/table-filters-converter.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/services/converters/table/table-scroll-type-converter.service.d.ts +12 -0
- package/sdk/atoms/src/lib/configurator/services/converters/table/table-scroll-type-converter.service.js +69 -0
- package/sdk/atoms/src/lib/configurator/services/converters/table/table-scroll-type-converter.service.js.map +1 -0
- package/sdk/atoms/src/lib/dashboards.module.js +1 -0
- package/sdk/atoms/src/lib/dashboards.module.js.map +1 -1
- package/sdk/atoms/src/lib/services/provider-registry.service.js +6 -0
- package/sdk/atoms/src/lib/services/provider-registry.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/types.d.ts +1 -0
- package/sdk/atoms/src/lib/services/types.js +3 -2
- package/sdk/atoms/src/lib/services/types.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/table/table-configurator.js +13 -2
- package/sdk/atoms/src/lib/widget-types/table/table-configurator.js.map +1 -1
- package/sdk/locale/messages.en.xlf +115 -12
|
@@ -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
|
|
25
|
+
get showEmpty(): boolean;
|
|
26
26
|
/**
|
|
27
27
|
* Iterates over formatters and maps their properties from the data
|
|
28
28
|
*
|
|
@@ -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, 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
|
-
|
|
48
|
+
scrollType: ScrollType;
|
|
47
49
|
tableContainerHeight: number;
|
|
48
50
|
isSearchEnabled: boolean;
|
|
49
51
|
searchTerm$: Subject<string>;
|
|
@@ -65,11 +67,13 @@ 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
|
+
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
75
|
ngOnChanges(changes: SimpleChanges): void;
|
|
76
|
+
resolveScrollType(changes: SimpleChanges): void;
|
|
73
77
|
ngOnInit(): void;
|
|
74
78
|
ngAfterViewInit(): void;
|
|
75
79
|
ngOnDestroy(): void;
|
|
@@ -102,6 +106,8 @@ export declare class TableWidgetComponent implements AfterViewInit, OnChanges, O
|
|
|
102
106
|
onInteraction(row: any, event: MouseEvent): void;
|
|
103
107
|
onSearchInputChanged(searchTerm: string): void;
|
|
104
108
|
getColumnAlignment(column: ITableWidgetColumnConfig): TableAlignmentOptions;
|
|
109
|
+
get hasVirtualScroll(): boolean;
|
|
110
|
+
get hasPaginator(): boolean;
|
|
105
111
|
private setSortFilter;
|
|
106
112
|
/**
|
|
107
113
|
* Checks if column id has changed or if sorting order has changed
|
|
@@ -118,7 +124,8 @@ export declare class TableWidgetComponent implements AfterViewInit, OnChanges, O
|
|
|
118
124
|
private registerSorter;
|
|
119
125
|
private setSortableSet;
|
|
120
126
|
private flushTableData;
|
|
127
|
+
private scrollTypeChanged;
|
|
121
128
|
private getTableScrollRange;
|
|
122
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TableWidgetComponent, [null, { optional: true; }, { optional: true; }, null, null, null, null, null, null, null, null, null]>;
|
|
129
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableWidgetComponent, [null, { optional: true; }, { optional: true; }, null, null, null, null, null, null, null, null, null, null]>;
|
|
123
130
|
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
131
|
}
|
|
@@ -24,7 +24,11 @@ export interface ITableWidgetConfig {
|
|
|
24
24
|
columns: Array<ITableWidgetColumnConfig>;
|
|
25
25
|
sortable?: boolean;
|
|
26
26
|
sorterConfiguration: ITableWidgetSorterConfig;
|
|
27
|
-
|
|
27
|
+
/**
|
|
28
|
+
* @deprecated Use scrollType and set it to "infinite" instead
|
|
29
|
+
*/
|
|
30
|
+
hasVirtualScroll?: boolean;
|
|
31
|
+
scrollType?: ScrollType;
|
|
28
32
|
interactive?: boolean;
|
|
29
33
|
headerTooltipsEnabled?: boolean;
|
|
30
34
|
scrollActivationDelayMs?: number;
|
|
@@ -39,8 +43,24 @@ export interface ITableWidgetConfig {
|
|
|
39
43
|
searchTerm?: string;
|
|
40
44
|
searchDebounce?: number;
|
|
41
45
|
};
|
|
46
|
+
paginatorConfiguration?: ITableWidgetPaginatorConfig;
|
|
42
47
|
}
|
|
43
48
|
export interface ITableWidgetSorterConfig {
|
|
44
49
|
descendantSorting: boolean;
|
|
45
50
|
sortBy: string;
|
|
46
51
|
}
|
|
52
|
+
export interface ITableWidgetPaginatorConfig {
|
|
53
|
+
pageSizeSet?: number[];
|
|
54
|
+
pageSize?: number;
|
|
55
|
+
}
|
|
56
|
+
export interface IPaginatorState {
|
|
57
|
+
page: number;
|
|
58
|
+
pageSize: number;
|
|
59
|
+
pageSizeSet: number[];
|
|
60
|
+
total: number;
|
|
61
|
+
}
|
|
62
|
+
export declare enum ScrollType {
|
|
63
|
+
virtual = "virtual",
|
|
64
|
+
paginator = "paginator",
|
|
65
|
+
default = "default"
|
|
66
|
+
}
|
package/lib/configurator/components/widget-editor-accordion/widget-editor-accordion.component.d.ts
CHANGED
|
@@ -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
|
+
}
|
package/lib/configurator/components/widgets/table/scrollType-editor/scroll-type-editor.service.d.ts
ADDED
|
@@ -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/
|
|
17
|
-
import * as i15 from "./components/widgets/
|
|
18
|
-
import * as i16 from "./components/widgets/
|
|
19
|
-
import * as i17 from "./components/widgets/table/columns-editor
|
|
20
|
-
import * as i18 from "./components/widgets/table/columns-editor-v2/
|
|
21
|
-
import * as i19 from "./components/widgets/
|
|
22
|
-
import * as i20 from "./components/
|
|
23
|
-
import * as i21 from "./components/formatters/donut-content-percentage-formatter/donut-content-percentage-
|
|
24
|
-
import * as i22 from "./components/formatters/donut-content-
|
|
25
|
-
import * as i23 from "./components/formatters/donut-content-
|
|
26
|
-
import * as i24 from "./components/formatters/
|
|
27
|
-
import * as i25 from "./components/formatters/
|
|
28
|
-
import * as i26 from "./components/
|
|
29
|
-
import * as i27 from "./components/widgets/table/columns-editor/column-configuration/presentation-configuration/portals/
|
|
30
|
-
import * as i28 from "./components/
|
|
31
|
-
import * as i29 from "./components/
|
|
32
|
-
import * as i30 from "./components/
|
|
33
|
-
import * as i31 from "./components/formatters/
|
|
34
|
-
import * as i32 from "./components/formatters/
|
|
35
|
-
import * as i33 from "./components/
|
|
36
|
-
import * as i34 from "./components/widgets/configurator-items/
|
|
37
|
-
import * as i35 from "./components/widgets/configurator-items/
|
|
38
|
-
import * as i36 from "./components/widgets/configurator-items/
|
|
39
|
-
import * as i37 from "./components/
|
|
40
|
-
import * as i38 from "./components/widget-
|
|
41
|
-
import * as i39 from "./components/widget-
|
|
42
|
-
import * as i40 from "./components/
|
|
43
|
-
import * as i41 from "./components/widgets/table/columns-editor
|
|
44
|
-
import * as i42 from "./components/widgets/table/columns-editor/column-configuration/
|
|
45
|
-
import * as i43 from "./components/widgets/table/columns-editor
|
|
46
|
-
import * as i44 from "./components/widgets/
|
|
47
|
-
import * as i45 from "./components/widgets/timeseries/timeseries-tile-
|
|
48
|
-
import * as i46 from "./components/widgets/
|
|
49
|
-
import * as i47 from "./components/widgets/configurator-items/
|
|
50
|
-
import * as i48 from "./components/widgets/
|
|
51
|
-
import * as i49 from "./components/widgets/drilldown/
|
|
52
|
-
import * as i50 from "./components/widgets/
|
|
53
|
-
import * as i51 from "./components/widgets/proportional/
|
|
54
|
-
import * as i52 from "./components/widgets/proportional/aggregators-configurators/
|
|
55
|
-
import * as i53 from "./components/
|
|
56
|
-
import * as i54 from "./components/wizard/dashwiz
|
|
57
|
-
import * as i55 from "./components/
|
|
58
|
-
import * as i56 from "./components/widget-editor-accordion/widget-editor-accordion
|
|
59
|
-
import * as i57 from "./components/
|
|
60
|
-
import * as i58 from "./components/
|
|
61
|
-
import * as i59 from "./components/
|
|
62
|
-
import * as i60 from "./components/
|
|
63
|
-
import * as i61 from "./
|
|
64
|
-
import * as i62 from "./pipe/
|
|
65
|
-
import * as i63 from "./pipe/
|
|
66
|
-
import * as i64 from "./pipe/widget-
|
|
67
|
-
import * as i65 from "./pipe/widget-
|
|
68
|
-
import * as i66 from "./
|
|
69
|
-
import * as i67 from "
|
|
70
|
-
import * as i68 from "
|
|
71
|
-
import * as i69 from "
|
|
72
|
-
import * as i70 from "angular
|
|
73
|
-
import * as i71 from "
|
|
74
|
-
import * as i72 from "@angular/cdk/
|
|
75
|
-
import * as i73 from "@
|
|
76
|
-
import * as i74 from "
|
|
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.
|
|
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
|
}
|
package/lib/services/types.d.ts
CHANGED
|
@@ -62,6 +62,7 @@ export declare const NOVA_TIMESERIES_SERIES_CONVERTER = "NOVA_TIMESERIES_SERIES_
|
|
|
62
62
|
export declare const NOVA_DASHBOARD_EVENT_PROXY = "NOVA_DASHBOARD_EVENT_PROXY";
|
|
63
63
|
export declare const NOVA_TABLE_COLUMNS_CONVERTER = "NOVA_TABLE_COLUMNS_CONVERTER";
|
|
64
64
|
export declare const NOVA_TABLE_FILTERS_CONVERTER = "NOVA_TABLE_FILTERS_CONVERTER";
|
|
65
|
+
export declare const NOVA_TABLE_SCROLL_TYPE_CONVERTER = "NOVA_TABLE_SCROLL_TYPE_CONVERTER";
|
|
65
66
|
export declare const NOVA_TABLE_DATASOURCE_ADAPTER = "NOVA_TABLE_DATASOURCE_ADAPTER";
|
|
66
67
|
export declare const NOVA_GENERIC_CONVERTER = "NOVA_GENERIC_CONVERTER";
|
|
67
68
|
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.
|
|
51
|
-
"@nova-ui/charts": "~15.0.
|
|
50
|
+
"@nova-ui/bits": "~15.0.9",
|
|
51
|
+
"@nova-ui/charts": "~15.0.9",
|
|
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.
|
|
64
|
+
"version": "15.0.9",
|
|
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
|
|
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
|
|
74
|
-
var _a;
|
|
75
|
-
|
|
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;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,cAAiC,EACA,UAAuB,EAC5B,QAA0B;QAFtD,mBAAc,GAAd,cAAc,CAAmB;QACA,eAAU,GAAV,UAAU,CAAa;QAC5B,aAAQ,GAAR,QAAQ,CAAkB;QAtB1D,SAAI,GAAG,KAAK,CAAC;QAGb,iBAAY,GAAG,EAAE,CAAC;QAGlB,iBAAY,GAAW,+BAA+B,CAAC;IAiB3D,CAAC;IAEG,aAAa;QAChB,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE;YACnB,OAAO;SACV;QACD,IAAI,CAAC,QAAQ;aACR,SAAS,CAAC,mBAAW,CAAC;aACtB,IAAI,CAAC,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,IAAI,CAAC,UAAU,EAAE,EAAE,CAAC,CAAC;IACtD,CAAC;IAEM,cAAc,CAAC,EAAU;QAC5B,IAAI,IAAI,CAAC,gBAAgB,EAAE;YACvB,OAAO,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC;SACzD;IACL,CAAC;IAEM,WAAW,CAAC,OAAsB;;QACrC,IAAI,OAAO,CAAC,aAAa,EAAE;YACvB,MAAM,uBAAuB,GACzB,OAAO,CAAC,aAAa,CAAC,YAAY,CAAC,UAAU,CAAC;YAElD,IAAI,uBAAuB,EAAE;gBACzB,IAAI,CAAC,oBAAoB,GAAG,IAAI,CAAC,sBAAsB,CACnD,uBAAuB,CAC1B,CAAC;aACL;SACJ;QAED,IAAI,OAAO,CAAC,UAAU,EAAE;YACpB,IAAI,MAAA,IAAI,CAAC,aAAa,0CAAE,UAAU,EAAE;gBAChC,IAAI,CAAC,oBAAoB,GAAG,IAAI,CAAC,sBAAsB,CACnD,IAAI,CAAC,aAAa,CAAC,UAAU,CAChC,CAAC;aACL;SACJ;IACL,CAAC;IAED,IAAW,
|
|
1
|
+
{"version":3,"file":"kpi.component.js","sourceRoot":"","sources":["../../../../../../../src/lib/components/kpi-widget/kpi.component.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IPaginatorState, TableWidgetComponent } from "../public-api";
|
|
2
|
+
export declare class PaginatorFeatureAddonService {
|
|
3
|
+
private widget;
|
|
4
|
+
defaultPaginatorState: IPaginatorState;
|
|
5
|
+
paginatorState: IPaginatorState;
|
|
6
|
+
initPaginator(widget: TableWidgetComponent): void;
|
|
7
|
+
applyFilters(): void;
|
|
8
|
+
private registerPaginator;
|
|
9
|
+
private deregisterPaginator;
|
|
10
|
+
private setPaginatorState;
|
|
11
|
+
}
|