@firestitch/list 14.0.1 → 15.0.0
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/app/classes/actions-controller.d.ts +20 -20
- package/app/classes/columns-controller.d.ts +71 -71
- package/app/classes/data-controller.d.ts +88 -88
- package/app/classes/external-params-controller.d.ts +32 -32
- package/app/classes/index.d.ts +2 -2
- package/app/classes/list-controller.d.ts +188 -188
- package/app/classes/pagination-controller.d.ts +197 -197
- package/app/classes/persistance-controller.d.ts +10 -10
- package/app/classes/reorder-controller.d.ts +67 -67
- package/app/classes/selection-controller.d.ts +155 -155
- package/app/classes/sorting-controller.d.ts +70 -70
- package/app/components/body/body.component.d.ts +28 -28
- package/app/components/body/row/actions/actions.component.d.ts +36 -36
- package/app/components/body/row/cell/cell.component.d.ts +22 -22
- package/app/components/body/row/inline-action/inline-action.component.d.ts +13 -13
- package/app/components/body/row/menu-action/menu-action.component.d.ts +20 -20
- package/app/components/body/row/row.component.d.ts +85 -85
- package/app/components/customize-cols/customize-cols.component.d.ts +17 -17
- package/app/components/footer/footer-row/footer-cell/footer-cell.component.d.ts +7 -7
- package/app/components/footer/footer-row/footer-row.component.d.ts +14 -14
- package/app/components/footer/footer.component.d.ts +15 -15
- package/app/components/head/head-cell/head-cell.component.d.ts +14 -14
- package/app/components/head/head.component.d.ts +49 -49
- package/app/components/list/list.component.d.ts +127 -127
- package/app/components/loader/loader.component.d.ts +14 -14
- package/app/components/manage-saved-filters/manage-saved-filters.component.d.ts +13 -13
- package/app/components/pagination/pagination.component.d.ts +14 -14
- package/app/components/saved-filters/saved-filters.component.d.ts +15 -15
- package/app/components/status/status.component.d.ts +20 -20
- package/app/directives/cell/cell.directive.d.ts +8 -8
- package/app/directives/column/column.directive.d.ts +37 -37
- package/app/directives/content/content.directive.d.ts +5 -5
- package/app/directives/content-init/content-init.directive.d.ts +9 -9
- package/app/directives/draggable-list/draggable-list.directive.d.ts +95 -95
- package/app/directives/draggable-row/draggable-row.directive.d.ts +23 -23
- package/app/directives/empty-state/empty-state.directive.d.ts +5 -5
- package/app/directives/footer/footer.directive.d.ts +8 -8
- package/app/directives/group-expand-trigger/group-expand-trigger.directive.d.ts +10 -10
- package/app/directives/group-footer/group-footer.directive.d.ts +6 -6
- package/app/directives/group-header/group-header.directive.d.ts +6 -6
- package/app/directives/header/header.directive.d.ts +8 -8
- package/app/directives/heading/heading.directive.d.ts +5 -5
- package/app/directives/heading-container/heading-container.directive.d.ts +5 -5
- package/app/directives/index.d.ts +3 -3
- package/app/directives/subheading/subheading.directive.d.ts +5 -5
- package/app/enums/action-type.enum.d.ts +7 -7
- package/app/enums/page-change-type.enum.d.ts +4 -4
- package/app/enums/pagination-strategy.enum.d.ts +5 -5
- package/app/enums/row-type.enum.d.ts +6 -6
- package/app/enums/state.enum.d.ts +9 -9
- package/app/fs-list.module.d.ts +60 -60
- package/app/fs-list.providers.d.ts +3 -3
- package/app/interfaces/cellconfig.interface.d.ts +5 -5
- package/app/interfaces/column-config.interface.d.ts +2 -2
- package/app/interfaces/draggable-list.interface.d.ts +7 -7
- package/app/interfaces/external-params.interface.d.ts +13 -13
- package/app/interfaces/index.d.ts +4 -4
- package/app/interfaces/listconfig.interface.d.ts +245 -245
- package/app/interfaces/pagination-state.interface.d.ts +9 -9
- package/app/interfaces/pagination.interface.d.ts +13 -13
- package/app/interfaces/sorting-change-event.interface.d.ts +4 -4
- package/app/models/column-async-attribute.d.ts +5 -5
- package/app/models/column-attributes.d.ts +39 -39
- package/app/models/column.model.d.ts +61 -61
- package/app/models/row/base-row.d.ts +13 -13
- package/app/models/row/child-row.d.ts +12 -12
- package/app/models/row/group-footer-row.d.ts +10 -10
- package/app/models/row/group-row.d.ts +16 -16
- package/app/models/row/simple-row.d.ts +5 -5
- package/app/models/row-action.model.d.ts +29 -29
- package/app/models/row.d.ts +34 -34
- package/app/models/styleConfig.model.d.ts +31 -31
- package/app/pipes/action-label.d.ts +8 -8
- package/app/pipes/index.d.ts +1 -1
- package/app/services/group-expand-notifier.service.d.ts +11 -11
- package/esm2020/app/classes/actions-controller.mjs +55 -55
- package/esm2020/app/classes/columns-controller.mjs +205 -205
- package/esm2020/app/classes/data-controller.mjs +344 -344
- package/esm2020/app/classes/external-params-controller.mjs +146 -146
- package/esm2020/app/classes/index.mjs +3 -3
- package/esm2020/app/classes/list-controller.mjs +673 -673
- package/esm2020/app/classes/pagination-controller.mjs +490 -490
- package/esm2020/app/classes/persistance-controller.mjs +19 -19
- package/esm2020/app/classes/reorder-controller.mjs +182 -182
- package/esm2020/app/classes/selection-controller.mjs +465 -465
- package/esm2020/app/classes/sorting-controller.mjs +201 -201
- package/esm2020/app/components/body/body.component.mjs +64 -64
- package/esm2020/app/components/body/row/actions/actions.component.mjs +97 -97
- package/esm2020/app/components/body/row/cell/cell.component.mjs +107 -107
- package/esm2020/app/components/body/row/inline-action/inline-action.component.mjs +33 -33
- package/esm2020/app/components/body/row/menu-action/menu-action.component.mjs +46 -46
- package/esm2020/app/components/body/row/row.component.mjs +322 -322
- package/esm2020/app/components/customize-cols/customize-cols.component.mjs +68 -68
- package/esm2020/app/components/footer/footer-row/footer-cell/footer-cell.component.mjs +16 -16
- package/esm2020/app/components/footer/footer-row/footer-row.component.mjs +28 -28
- package/esm2020/app/components/footer/footer.component.mjs +31 -31
- package/esm2020/app/components/head/head-cell/head-cell.component.mjs +29 -29
- package/esm2020/app/components/head/head.component.mjs +103 -103
- package/esm2020/app/components/list/list.component.mjs +385 -385
- package/esm2020/app/components/loader/loader.component.mjs +40 -40
- package/esm2020/app/components/manage-saved-filters/manage-saved-filters.component.mjs +76 -76
- package/esm2020/app/components/pagination/pagination.component.mjs +37 -37
- package/esm2020/app/components/saved-filters/saved-filters.component.mjs +29 -29
- package/esm2020/app/components/status/status.component.mjs +64 -64
- package/esm2020/app/directives/cell/cell.directive.mjs +18 -18
- package/esm2020/app/directives/column/column.directive.mjs +121 -121
- package/esm2020/app/directives/content/content.directive.mjs +13 -13
- package/esm2020/app/directives/content-init/content-init.directive.mjs +22 -22
- package/esm2020/app/directives/draggable-list/draggable-list.directive.mjs +330 -330
- package/esm2020/app/directives/draggable-row/draggable-row.directive.mjs +78 -78
- package/esm2020/app/directives/empty-state/empty-state.directive.mjs +13 -13
- package/esm2020/app/directives/footer/footer.directive.mjs +18 -18
- package/esm2020/app/directives/group-expand-trigger/group-expand-trigger.directive.mjs +26 -26
- package/esm2020/app/directives/group-footer/group-footer.directive.mjs +14 -14
- package/esm2020/app/directives/group-header/group-header.directive.mjs +14 -14
- package/esm2020/app/directives/header/header.directive.mjs +18 -18
- package/esm2020/app/directives/heading/heading.directive.mjs +13 -13
- package/esm2020/app/directives/heading-container/heading-container.directive.mjs +13 -13
- package/esm2020/app/directives/index.mjs +4 -4
- package/esm2020/app/directives/subheading/subheading.directive.mjs +13 -13
- package/esm2020/app/enums/action-type.enum.mjs +8 -8
- package/esm2020/app/enums/page-change-type.enum.mjs +6 -6
- package/esm2020/app/enums/pagination-strategy.enum.mjs +7 -7
- package/esm2020/app/enums/row-type.enum.mjs +7 -7
- package/esm2020/app/enums/state.enum.mjs +11 -11
- package/esm2020/app/fs-list.module.mjs +244 -244
- package/esm2020/app/fs-list.providers.mjs +4 -4
- package/esm2020/app/interfaces/cellconfig.interface.mjs +2 -2
- package/esm2020/app/interfaces/column-config.interface.mjs +1 -1
- package/esm2020/app/interfaces/draggable-list.interface.mjs +2 -2
- package/esm2020/app/interfaces/external-params.interface.mjs +2 -2
- package/esm2020/app/interfaces/index.mjs +5 -5
- package/esm2020/app/interfaces/listconfig.interface.mjs +1 -1
- package/esm2020/app/interfaces/pagination-state.interface.mjs +1 -1
- package/esm2020/app/interfaces/pagination.interface.mjs +2 -2
- package/esm2020/app/interfaces/sorting-change-event.interface.mjs +2 -2
- package/esm2020/app/models/column-async-attribute.mjs +13 -13
- package/esm2020/app/models/column-attributes.mjs +131 -131
- package/esm2020/app/models/column.model.mjs +163 -163
- package/esm2020/app/models/row/base-row.mjs +23 -23
- package/esm2020/app/models/row/child-row.mjs +28 -28
- package/esm2020/app/models/row/group-footer-row.mjs +20 -20
- package/esm2020/app/models/row/group-row.mjs +44 -44
- package/esm2020/app/models/row/simple-row.mjs +10 -10
- package/esm2020/app/models/row-action.model.mjs +89 -89
- package/esm2020/app/models/row.mjs +88 -88
- package/esm2020/app/models/styleConfig.model.mjs +75 -75
- package/esm2020/app/pipes/action-label.mjs +17 -17
- package/esm2020/app/pipes/index.mjs +1 -1
- package/esm2020/app/services/group-expand-notifier.service.mjs +26 -26
- package/esm2020/firestitch-list.mjs +4 -4
- package/esm2020/public_api.mjs +45 -45
- package/fesm2015/firestitch-list.mjs +5627 -5626
- package/fesm2015/firestitch-list.mjs.map +1 -1
- package/fesm2020/firestitch-list.mjs +5620 -5619
- package/fesm2020/firestitch-list.mjs.map +1 -1
- package/index.d.ts +5 -5
- package/package.json +1 -1
- package/public_api.d.ts +41 -41
|
@@ -1,127 +1,127 @@
|
|
|
1
|
-
import { Location } from '@angular/common';
|
|
2
|
-
import { AfterContentInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit, QueryList, TemplateRef } from '@angular/core';
|
|
3
|
-
import { ActivatedRoute, Router } from '@angular/router';
|
|
4
|
-
import { MatDialog, MatDialogRef } from '@angular/material/dialog';
|
|
5
|
-
import { DrawerRef } from '@firestitch/drawer';
|
|
6
|
-
import { FilterComponent } from '@firestitch/filter';
|
|
7
|
-
import { SelectionDialog } from '@firestitch/selection';
|
|
8
|
-
import { Observable } from 'rxjs';
|
|
9
|
-
import { List } from '../../classes/list-controller';
|
|
10
|
-
import { PersistanceController } from '../../classes/persistance-controller';
|
|
11
|
-
import { ReorderController } from '../../classes/reorder-controller';
|
|
12
|
-
import { FsListColumnDirective } from '../../directives/column/column.directive';
|
|
13
|
-
import { FsListAbstractRow, FsListAction, FsListConfig, FsListSelectionConfig, FsListTrackByFn, FsListTrackByTargetRowFn } from '../../interfaces';
|
|
14
|
-
import { IPaginationState } from '../../interfaces/pagination-state.interface';
|
|
15
|
-
import { GroupExpandNotifierService } from '../../services/group-expand-notifier.service';
|
|
16
|
-
import { FsBodyComponent } from '../body/body.component';
|
|
17
|
-
import * as i0 from "@angular/core";
|
|
18
|
-
export declare class FsListComponent implements OnInit, OnDestroy, AfterContentInit {
|
|
19
|
-
reorderController: ReorderController;
|
|
20
|
-
private _defaultOptions;
|
|
21
|
-
private _dialogRef;
|
|
22
|
-
private _drawerRef;
|
|
23
|
-
private _el;
|
|
24
|
-
private _selectionDialog;
|
|
25
|
-
private _dialog;
|
|
26
|
-
private _cdRef;
|
|
27
|
-
private _groupExpandNotifier;
|
|
28
|
-
private _router;
|
|
29
|
-
private _route;
|
|
30
|
-
private _persistance;
|
|
31
|
-
private _location;
|
|
32
|
-
classFsList: boolean;
|
|
33
|
-
rowHoverHighlight: boolean;
|
|
34
|
-
set config(config: FsListConfig);
|
|
35
|
-
loaderLines: number;
|
|
36
|
-
filtersReady: EventEmitter<void>;
|
|
37
|
-
headingTemplate: TemplateRef<any>;
|
|
38
|
-
headingContainerTemplate: TemplateRef<any>;
|
|
39
|
-
subheadingTemplate: TemplateRef<any>;
|
|
40
|
-
body: FsBodyComponent;
|
|
41
|
-
list: List;
|
|
42
|
-
keywordVisible: boolean;
|
|
43
|
-
rowRemoved: EventEmitter<any>;
|
|
44
|
-
firstLoad: boolean;
|
|
45
|
-
private _listColumnDirectives;
|
|
46
|
-
private _filterRef;
|
|
47
|
-
private _filterParamsReady;
|
|
48
|
-
private _inDialog;
|
|
49
|
-
private _destroy;
|
|
50
|
-
set filterReference(component: any);
|
|
51
|
-
/**
|
|
52
|
-
* Set columns to config
|
|
53
|
-
* Create Column Model instances
|
|
54
|
-
*/
|
|
55
|
-
set columnTemplates(listColumnDirectives: QueryList<FsListColumnDirective>);
|
|
56
|
-
private set _emptyStateTemplate(value);
|
|
57
|
-
constructor(reorderController: ReorderController, _defaultOptions: FsListConfig, _dialogRef: MatDialogRef<any>, _drawerRef: DrawerRef<any>, _el: ElementRef, _selectionDialog: SelectionDialog, _dialog: MatDialog, _cdRef: ChangeDetectorRef, _groupExpandNotifier: GroupExpandNotifierService, _router: Router, _route: ActivatedRoute, _persistance: PersistanceController, _location: Location);
|
|
58
|
-
/**
|
|
59
|
-
* Return reference for filter
|
|
60
|
-
*/
|
|
61
|
-
get filterRef(): FilterComponent;
|
|
62
|
-
set groupEnabled(value: boolean);
|
|
63
|
-
get groupEnabled(): boolean;
|
|
64
|
-
get hasFilterKeyword(): boolean;
|
|
65
|
-
get hasStatus(): boolean;
|
|
66
|
-
get paginatorVisible(): boolean;
|
|
67
|
-
get filtersQuery(): Record<string, unknown>;
|
|
68
|
-
get pagingState(): IPaginationState;
|
|
69
|
-
ngAfterContentInit(): void;
|
|
70
|
-
ngOnInit(): void;
|
|
71
|
-
ngOnDestroy(): void;
|
|
72
|
-
nextPage(): void;
|
|
73
|
-
prevPage(): void;
|
|
74
|
-
firstPage(): void;
|
|
75
|
-
lastPage(): void;
|
|
76
|
-
reload(): Observable<any>;
|
|
77
|
-
getData(trackBy?: FsListTrackByFn): any[];
|
|
78
|
-
hasData(trackBy: FsListTrackByFn): boolean;
|
|
79
|
-
updateData(rows: FsListAbstractRow | FsListAbstractRow[], trackBy?: FsListTrackByTargetRowFn): boolean;
|
|
80
|
-
replaceRow(row: FsListAbstractRow, trackBy?: FsListTrackByTargetRowFn): boolean;
|
|
81
|
-
updateSelectionConfig(config: FsListSelectionConfig): void;
|
|
82
|
-
resetSelectionActions(): void;
|
|
83
|
-
enableSelection(): void;
|
|
84
|
-
disableSelection(): void;
|
|
85
|
-
removeData(data: FsListAbstractRow | FsListAbstractRow[] | FsListTrackByTargetRowFn): boolean;
|
|
86
|
-
setHeading(heading: string): void;
|
|
87
|
-
setSubheading(subheading: string): void;
|
|
88
|
-
reorderStart(): void;
|
|
89
|
-
reorderFinish(): void;
|
|
90
|
-
setActions(actions: FsListAction[]): void;
|
|
91
|
-
filterReady(): void;
|
|
92
|
-
/**
|
|
93
|
-
* Update visibility for specific column
|
|
94
|
-
*/
|
|
95
|
-
columnVisibility(name: string, show: boolean): void;
|
|
96
|
-
/**
|
|
97
|
-
* Update visibility for list of specific columns
|
|
98
|
-
*/
|
|
99
|
-
columnsVisibility(columns: {
|
|
100
|
-
name: string;
|
|
101
|
-
show: boolean;
|
|
102
|
-
}[]): void;
|
|
103
|
-
private _emitFiltersReadyEvent;
|
|
104
|
-
/**
|
|
105
|
-
* Initialize config for list
|
|
106
|
-
*
|
|
107
|
-
* @param config
|
|
108
|
-
*/
|
|
109
|
-
private _initWithConfig;
|
|
110
|
-
/**
|
|
111
|
-
* Find action with customize flag and re-declare click function for CustomizeColsDialog
|
|
112
|
-
*
|
|
113
|
-
* @param actions
|
|
114
|
-
*/
|
|
115
|
-
private _updateCustomizeAction;
|
|
116
|
-
/**
|
|
117
|
-
* Update sorting in filter
|
|
118
|
-
*/
|
|
119
|
-
private _listenSortingChange;
|
|
120
|
-
private _subscribeToRemoveRow;
|
|
121
|
-
private _subscribeToGroupExpandStatusChange;
|
|
122
|
-
private _waitFirstLoad;
|
|
123
|
-
private _configMergeCustomizer;
|
|
124
|
-
private _restorePersistance;
|
|
125
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FsListComponent, [null, { optional: true; }, { optional: true; }, { optional: true; }, null, null, null, null, null, null, null, null, null]>;
|
|
126
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FsListComponent, "fs-list", never, { "config": "config"; "loaderLines": "loaderLines"; }, { "filtersReady": "filtersReady"; }, ["headingTemplate", "headingContainerTemplate", "subheadingTemplate", "_emptyStateTemplate", "columnTemplates"], ["[fs-list-content]"], false>;
|
|
127
|
-
}
|
|
1
|
+
import { Location } from '@angular/common';
|
|
2
|
+
import { AfterContentInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit, QueryList, TemplateRef } from '@angular/core';
|
|
3
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
4
|
+
import { MatDialog, MatDialogRef } from '@angular/material/dialog';
|
|
5
|
+
import { DrawerRef } from '@firestitch/drawer';
|
|
6
|
+
import { FilterComponent } from '@firestitch/filter';
|
|
7
|
+
import { SelectionDialog } from '@firestitch/selection';
|
|
8
|
+
import { Observable } from 'rxjs';
|
|
9
|
+
import { List } from '../../classes/list-controller';
|
|
10
|
+
import { PersistanceController } from '../../classes/persistance-controller';
|
|
11
|
+
import { ReorderController } from '../../classes/reorder-controller';
|
|
12
|
+
import { FsListColumnDirective } from '../../directives/column/column.directive';
|
|
13
|
+
import { FsListAbstractRow, FsListAction, FsListConfig, FsListSelectionConfig, FsListTrackByFn, FsListTrackByTargetRowFn } from '../../interfaces';
|
|
14
|
+
import { IPaginationState } from '../../interfaces/pagination-state.interface';
|
|
15
|
+
import { GroupExpandNotifierService } from '../../services/group-expand-notifier.service';
|
|
16
|
+
import { FsBodyComponent } from '../body/body.component';
|
|
17
|
+
import * as i0 from "@angular/core";
|
|
18
|
+
export declare class FsListComponent implements OnInit, OnDestroy, AfterContentInit {
|
|
19
|
+
reorderController: ReorderController;
|
|
20
|
+
private _defaultOptions;
|
|
21
|
+
private _dialogRef;
|
|
22
|
+
private _drawerRef;
|
|
23
|
+
private _el;
|
|
24
|
+
private _selectionDialog;
|
|
25
|
+
private _dialog;
|
|
26
|
+
private _cdRef;
|
|
27
|
+
private _groupExpandNotifier;
|
|
28
|
+
private _router;
|
|
29
|
+
private _route;
|
|
30
|
+
private _persistance;
|
|
31
|
+
private _location;
|
|
32
|
+
classFsList: boolean;
|
|
33
|
+
rowHoverHighlight: boolean;
|
|
34
|
+
set config(config: FsListConfig);
|
|
35
|
+
loaderLines: number;
|
|
36
|
+
filtersReady: EventEmitter<void>;
|
|
37
|
+
headingTemplate: TemplateRef<any>;
|
|
38
|
+
headingContainerTemplate: TemplateRef<any>;
|
|
39
|
+
subheadingTemplate: TemplateRef<any>;
|
|
40
|
+
body: FsBodyComponent;
|
|
41
|
+
list: List;
|
|
42
|
+
keywordVisible: boolean;
|
|
43
|
+
rowRemoved: EventEmitter<any>;
|
|
44
|
+
firstLoad: boolean;
|
|
45
|
+
private _listColumnDirectives;
|
|
46
|
+
private _filterRef;
|
|
47
|
+
private _filterParamsReady;
|
|
48
|
+
private _inDialog;
|
|
49
|
+
private _destroy;
|
|
50
|
+
set filterReference(component: any);
|
|
51
|
+
/**
|
|
52
|
+
* Set columns to config
|
|
53
|
+
* Create Column Model instances
|
|
54
|
+
*/
|
|
55
|
+
set columnTemplates(listColumnDirectives: QueryList<FsListColumnDirective>);
|
|
56
|
+
private set _emptyStateTemplate(value);
|
|
57
|
+
constructor(reorderController: ReorderController, _defaultOptions: FsListConfig, _dialogRef: MatDialogRef<any>, _drawerRef: DrawerRef<any>, _el: ElementRef, _selectionDialog: SelectionDialog, _dialog: MatDialog, _cdRef: ChangeDetectorRef, _groupExpandNotifier: GroupExpandNotifierService, _router: Router, _route: ActivatedRoute, _persistance: PersistanceController, _location: Location);
|
|
58
|
+
/**
|
|
59
|
+
* Return reference for filter
|
|
60
|
+
*/
|
|
61
|
+
get filterRef(): FilterComponent;
|
|
62
|
+
set groupEnabled(value: boolean);
|
|
63
|
+
get groupEnabled(): boolean;
|
|
64
|
+
get hasFilterKeyword(): boolean;
|
|
65
|
+
get hasStatus(): boolean;
|
|
66
|
+
get paginatorVisible(): boolean;
|
|
67
|
+
get filtersQuery(): Record<string, unknown>;
|
|
68
|
+
get pagingState(): IPaginationState;
|
|
69
|
+
ngAfterContentInit(): void;
|
|
70
|
+
ngOnInit(): void;
|
|
71
|
+
ngOnDestroy(): void;
|
|
72
|
+
nextPage(): void;
|
|
73
|
+
prevPage(): void;
|
|
74
|
+
firstPage(): void;
|
|
75
|
+
lastPage(): void;
|
|
76
|
+
reload(): Observable<any>;
|
|
77
|
+
getData(trackBy?: FsListTrackByFn): any[];
|
|
78
|
+
hasData(trackBy: FsListTrackByFn): boolean;
|
|
79
|
+
updateData(rows: FsListAbstractRow | FsListAbstractRow[], trackBy?: FsListTrackByTargetRowFn): boolean;
|
|
80
|
+
replaceRow(row: FsListAbstractRow, trackBy?: FsListTrackByTargetRowFn): boolean;
|
|
81
|
+
updateSelectionConfig(config: FsListSelectionConfig): void;
|
|
82
|
+
resetSelectionActions(): void;
|
|
83
|
+
enableSelection(): void;
|
|
84
|
+
disableSelection(): void;
|
|
85
|
+
removeData(data: FsListAbstractRow | FsListAbstractRow[] | FsListTrackByTargetRowFn): boolean;
|
|
86
|
+
setHeading(heading: string): void;
|
|
87
|
+
setSubheading(subheading: string): void;
|
|
88
|
+
reorderStart(): void;
|
|
89
|
+
reorderFinish(): void;
|
|
90
|
+
setActions(actions: FsListAction[]): void;
|
|
91
|
+
filterReady(): void;
|
|
92
|
+
/**
|
|
93
|
+
* Update visibility for specific column
|
|
94
|
+
*/
|
|
95
|
+
columnVisibility(name: string, show: boolean): void;
|
|
96
|
+
/**
|
|
97
|
+
* Update visibility for list of specific columns
|
|
98
|
+
*/
|
|
99
|
+
columnsVisibility(columns: {
|
|
100
|
+
name: string;
|
|
101
|
+
show: boolean;
|
|
102
|
+
}[]): void;
|
|
103
|
+
private _emitFiltersReadyEvent;
|
|
104
|
+
/**
|
|
105
|
+
* Initialize config for list
|
|
106
|
+
*
|
|
107
|
+
* @param config
|
|
108
|
+
*/
|
|
109
|
+
private _initWithConfig;
|
|
110
|
+
/**
|
|
111
|
+
* Find action with customize flag and re-declare click function for CustomizeColsDialog
|
|
112
|
+
*
|
|
113
|
+
* @param actions
|
|
114
|
+
*/
|
|
115
|
+
private _updateCustomizeAction;
|
|
116
|
+
/**
|
|
117
|
+
* Update sorting in filter
|
|
118
|
+
*/
|
|
119
|
+
private _listenSortingChange;
|
|
120
|
+
private _subscribeToRemoveRow;
|
|
121
|
+
private _subscribeToGroupExpandStatusChange;
|
|
122
|
+
private _waitFirstLoad;
|
|
123
|
+
private _configMergeCustomizer;
|
|
124
|
+
private _restorePersistance;
|
|
125
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FsListComponent, [null, { optional: true; }, { optional: true; }, { optional: true; }, null, null, null, null, null, null, null, null, null]>;
|
|
126
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FsListComponent, "fs-list", never, { "config": "config"; "loaderLines": "loaderLines"; }, { "filtersReady": "filtersReady"; }, ["headingTemplate", "headingContainerTemplate", "subheadingTemplate", "_emptyStateTemplate", "columnTemplates"], ["[fs-list-content]"], false, never>;
|
|
127
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class FsListLoaderComponent implements OnInit, OnChanges {
|
|
4
|
-
placeholderWidths: any[][];
|
|
5
|
-
widths: any[];
|
|
6
|
-
columns: any;
|
|
7
|
-
loaderLines: number;
|
|
8
|
-
cols: any[];
|
|
9
|
-
rows: any[];
|
|
10
|
-
ngOnInit(): void;
|
|
11
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FsListLoaderComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FsListLoaderComponent, "fs-list-loader", never, { "columns": "columns"; "loaderLines": "loaderLines"; }, {}, never, never, false>;
|
|
14
|
-
}
|
|
1
|
+
import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class FsListLoaderComponent implements OnInit, OnChanges {
|
|
4
|
+
placeholderWidths: any[][];
|
|
5
|
+
widths: any[];
|
|
6
|
+
columns: any;
|
|
7
|
+
loaderLines: number;
|
|
8
|
+
cols: any[];
|
|
9
|
+
rows: any[];
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FsListLoaderComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FsListLoaderComponent, "fs-list-loader", never, { "columns": "columns"; "loaderLines": "loaderLines"; }, {}, never, never, false, never>;
|
|
14
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { ExternalParamsController } from '@firestitch/filter';
|
|
2
|
-
import { FsListConfig } from '../../interfaces/listconfig.interface';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class FsListManageSavedFiltersComponent {
|
|
5
|
-
private _externalParams;
|
|
6
|
-
config: FsListConfig;
|
|
7
|
-
private _reorderReady;
|
|
8
|
-
constructor(_externalParams: ExternalParamsController);
|
|
9
|
-
private get savedFiltersController();
|
|
10
|
-
private _initList;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FsListManageSavedFiltersComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FsListManageSavedFiltersComponent, "ng-component", never, {}, {}, never, never, false>;
|
|
13
|
-
}
|
|
1
|
+
import { ExternalParamsController } from '@firestitch/filter';
|
|
2
|
+
import { FsListConfig } from '../../interfaces/listconfig.interface';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class FsListManageSavedFiltersComponent {
|
|
5
|
+
private _externalParams;
|
|
6
|
+
config: FsListConfig;
|
|
7
|
+
private _reorderReady;
|
|
8
|
+
constructor(_externalParams: ExternalParamsController);
|
|
9
|
+
private get savedFiltersController();
|
|
10
|
+
private _initList;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FsListManageSavedFiltersComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FsListManageSavedFiltersComponent, "ng-component", never, {}, {}, never, never, false, never>;
|
|
13
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { PaginationController } from '../../classes/pagination-controller';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class FsPaginationComponent implements OnInit, OnDestroy {
|
|
5
|
-
private _cdRef;
|
|
6
|
-
pagination: PaginationController;
|
|
7
|
-
rows: any;
|
|
8
|
-
private _destroy$;
|
|
9
|
-
constructor(_cdRef: ChangeDetectorRef);
|
|
10
|
-
ngOnInit(): void;
|
|
11
|
-
ngOnDestroy(): void;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FsPaginationComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FsPaginationComponent, "fs-list-pagination", never, { "pagination": "pagination"; "rows": "rows"; }, {}, never, never, false>;
|
|
14
|
-
}
|
|
1
|
+
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { PaginationController } from '../../classes/pagination-controller';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class FsPaginationComponent implements OnInit, OnDestroy {
|
|
5
|
+
private _cdRef;
|
|
6
|
+
pagination: PaginationController;
|
|
7
|
+
rows: any;
|
|
8
|
+
private _destroy$;
|
|
9
|
+
constructor(_cdRef: ChangeDetectorRef);
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
ngOnDestroy(): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FsPaginationComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FsPaginationComponent, "fs-list-pagination", never, { "pagination": "pagination"; "rows": "rows"; }, {}, never, never, false, never>;
|
|
14
|
+
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { MatDialog } from '@angular/material/dialog';
|
|
3
|
-
import { ExternalParamsController } from '@firestitch/filter';
|
|
4
|
-
import { Observable } from 'rxjs';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class FsListSavedFiltersComponent {
|
|
7
|
-
private _dialog;
|
|
8
|
-
private _externalParams;
|
|
9
|
-
private _vcRef;
|
|
10
|
-
constructor(_dialog: MatDialog, _externalParams: ExternalParamsController, _vcRef: ViewContainerRef);
|
|
11
|
-
get savedFiltersEnabled$(): Observable<boolean>;
|
|
12
|
-
showManageDialog(): void;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FsListSavedFiltersComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FsListSavedFiltersComponent, "fs-list-saved-filters", never, {}, {}, never, never, false>;
|
|
15
|
-
}
|
|
1
|
+
import { ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { MatDialog } from '@angular/material/dialog';
|
|
3
|
+
import { ExternalParamsController } from '@firestitch/filter';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class FsListSavedFiltersComponent {
|
|
7
|
+
private _dialog;
|
|
8
|
+
private _externalParams;
|
|
9
|
+
private _vcRef;
|
|
10
|
+
constructor(_dialog: MatDialog, _externalParams: ExternalParamsController, _vcRef: ViewContainerRef);
|
|
11
|
+
get savedFiltersEnabled$(): Observable<boolean>;
|
|
12
|
+
showManageDialog(): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FsListSavedFiltersComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FsListSavedFiltersComponent, "fs-list-saved-filters", never, {}, {}, never, never, false, never>;
|
|
15
|
+
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { PaginationController } from '../../classes/pagination-controller';
|
|
3
|
-
import { SortingController } from '../../classes/sorting-controller';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class FsStatusComponent implements OnInit, OnDestroy {
|
|
6
|
-
private _cdRef;
|
|
7
|
-
paging: PaginationController;
|
|
8
|
-
sorting: SortingController;
|
|
9
|
-
rows: any;
|
|
10
|
-
firstLoad: boolean;
|
|
11
|
-
private _destroy$;
|
|
12
|
-
constructor(_cdRef: ChangeDetectorRef);
|
|
13
|
-
ngOnInit(): void;
|
|
14
|
-
ngOnDestroy(): void;
|
|
15
|
-
toggleDirection(): void;
|
|
16
|
-
setSortableColumn(column: any): void;
|
|
17
|
-
setLimit(limit: any): void;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FsStatusComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FsStatusComponent, "fs-list-status", never, { "paging": "paging"; "sorting": "sorting"; "rows": "rows"; "firstLoad": "firstLoad"; }, {}, never, never, false>;
|
|
20
|
-
}
|
|
1
|
+
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { PaginationController } from '../../classes/pagination-controller';
|
|
3
|
+
import { SortingController } from '../../classes/sorting-controller';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class FsStatusComponent implements OnInit, OnDestroy {
|
|
6
|
+
private _cdRef;
|
|
7
|
+
paging: PaginationController;
|
|
8
|
+
sorting: SortingController;
|
|
9
|
+
rows: any;
|
|
10
|
+
firstLoad: boolean;
|
|
11
|
+
private _destroy$;
|
|
12
|
+
constructor(_cdRef: ChangeDetectorRef);
|
|
13
|
+
ngOnInit(): void;
|
|
14
|
+
ngOnDestroy(): void;
|
|
15
|
+
toggleDirection(): void;
|
|
16
|
+
setSortableColumn(column: any): void;
|
|
17
|
+
setLimit(limit: any): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FsStatusComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FsStatusComponent, "fs-list-status", never, { "paging": "paging"; "sorting": "sorting"; "rows": "rows"; "firstLoad": "firstLoad"; }, {}, never, never, false, never>;
|
|
20
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class FsListCellDirective {
|
|
3
|
-
colspan: any;
|
|
4
|
-
align: string;
|
|
5
|
-
className: string | string[];
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FsListCellDirective, never>;
|
|
7
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FsListCellDirective, "[fs-list-cell]", never, { "colspan": "colspan"; "align": "align"; "className": "class"; }, {}, never, never, false>;
|
|
8
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class FsListCellDirective {
|
|
3
|
+
colspan: any;
|
|
4
|
+
align: string;
|
|
5
|
+
className: string | string[];
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FsListCellDirective, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FsListCellDirective, "[fs-list-cell]", never, { "colspan": "colspan"; "align": "align"; "className": "class"; }, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
import { QueryList, TemplateRef } from '@angular/core';
|
|
2
|
-
import { CellConfig } from '../../interfaces';
|
|
3
|
-
import { ColumnAttributes } from '../../models/column-attributes';
|
|
4
|
-
import { FsListGroupExpandTriggerDirective } from '../group-expand-trigger/group-expand-trigger.directive';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class FsListColumnDirective {
|
|
7
|
-
headerTemplate: TemplateRef<any>;
|
|
8
|
-
headerConfigs: CellConfig;
|
|
9
|
-
groupHeaderTemplate: TemplateRef<any>;
|
|
10
|
-
groupHeaderConfigs: CellConfig;
|
|
11
|
-
groupFooterTemplate: TemplateRef<any>;
|
|
12
|
-
groupFooterConfigs: CellConfig;
|
|
13
|
-
expandTrigger: QueryList<FsListGroupExpandTriggerDirective>;
|
|
14
|
-
cellTemplate: TemplateRef<any>;
|
|
15
|
-
cellConfigs: CellConfig;
|
|
16
|
-
footerTemplate: TemplateRef<any>;
|
|
17
|
-
footerConfigs: CellConfig;
|
|
18
|
-
private readonly _columnAttributes;
|
|
19
|
-
constructor();
|
|
20
|
-
get attributes(): ColumnAttributes;
|
|
21
|
-
set visible(value: boolean);
|
|
22
|
-
set title(value: string);
|
|
23
|
-
set name(value: string);
|
|
24
|
-
set customize(value: boolean);
|
|
25
|
-
set sortable(value: boolean);
|
|
26
|
-
set sortableDefault(value: boolean);
|
|
27
|
-
set sortableDirection(value: 'asc' | 'desc');
|
|
28
|
-
/**
|
|
29
|
-
* @deprecated
|
|
30
|
-
*/
|
|
31
|
-
set direction(value: 'asc' | 'desc');
|
|
32
|
-
set align(value: string);
|
|
33
|
-
set width(value: string);
|
|
34
|
-
set className(value: string | string[]);
|
|
35
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FsListColumnDirective, never>;
|
|
36
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FsListColumnDirective, "fs-list-column", never, { "visible": "show"; "title": "title"; "name": "name"; "customize": "customize"; "sortable": "sortable"; "sortableDefault": "sortableDefault"; "sortableDirection": "sortableDirection"; "direction": "direction"; "align": "align"; "width": "width"; "className": "class"; }, {}, ["headerTemplate", "headerConfigs", "groupHeaderTemplate", "groupHeaderConfigs", "groupFooterTemplate", "groupFooterConfigs", "cellTemplate", "cellConfigs", "footerTemplate", "footerConfigs", "expandTrigger"], never, false>;
|
|
37
|
-
}
|
|
1
|
+
import { QueryList, TemplateRef } from '@angular/core';
|
|
2
|
+
import { CellConfig } from '../../interfaces';
|
|
3
|
+
import { ColumnAttributes } from '../../models/column-attributes';
|
|
4
|
+
import { FsListGroupExpandTriggerDirective } from '../group-expand-trigger/group-expand-trigger.directive';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class FsListColumnDirective {
|
|
7
|
+
headerTemplate: TemplateRef<any>;
|
|
8
|
+
headerConfigs: CellConfig;
|
|
9
|
+
groupHeaderTemplate: TemplateRef<any>;
|
|
10
|
+
groupHeaderConfigs: CellConfig;
|
|
11
|
+
groupFooterTemplate: TemplateRef<any>;
|
|
12
|
+
groupFooterConfigs: CellConfig;
|
|
13
|
+
expandTrigger: QueryList<FsListGroupExpandTriggerDirective>;
|
|
14
|
+
cellTemplate: TemplateRef<any>;
|
|
15
|
+
cellConfigs: CellConfig;
|
|
16
|
+
footerTemplate: TemplateRef<any>;
|
|
17
|
+
footerConfigs: CellConfig;
|
|
18
|
+
private readonly _columnAttributes;
|
|
19
|
+
constructor();
|
|
20
|
+
get attributes(): ColumnAttributes;
|
|
21
|
+
set visible(value: boolean);
|
|
22
|
+
set title(value: string);
|
|
23
|
+
set name(value: string);
|
|
24
|
+
set customize(value: boolean);
|
|
25
|
+
set sortable(value: boolean);
|
|
26
|
+
set sortableDefault(value: boolean);
|
|
27
|
+
set sortableDirection(value: 'asc' | 'desc');
|
|
28
|
+
/**
|
|
29
|
+
* @deprecated
|
|
30
|
+
*/
|
|
31
|
+
set direction(value: 'asc' | 'desc');
|
|
32
|
+
set align(value: string);
|
|
33
|
+
set width(value: string);
|
|
34
|
+
set className(value: string | string[]);
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FsListColumnDirective, never>;
|
|
36
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FsListColumnDirective, "fs-list-column", never, { "visible": "show"; "title": "title"; "name": "name"; "customize": "customize"; "sortable": "sortable"; "sortableDefault": "sortableDefault"; "sortableDirection": "sortableDirection"; "direction": "direction"; "align": "align"; "width": "width"; "className": "class"; }, {}, ["headerTemplate", "headerConfigs", "groupHeaderTemplate", "groupHeaderConfigs", "groupFooterTemplate", "groupFooterConfigs", "cellTemplate", "cellConfigs", "footerTemplate", "footerConfigs", "expandTrigger"], never, false, never>;
|
|
37
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class FsListContentDirective {
|
|
3
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FsListContentDirective, never>;
|
|
4
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FsListContentDirective, "[fs-list-content]", never, {}, {}, never, never, false>;
|
|
5
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class FsListContentDirective {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FsListContentDirective, never>;
|
|
4
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FsListContentDirective, "[fs-list-content]", never, {}, {}, never, never, false, never>;
|
|
5
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { AfterViewInit } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class FsListContentInitDirective implements AfterViewInit {
|
|
4
|
-
contentInitCallback: Function;
|
|
5
|
-
constructor();
|
|
6
|
-
ngAfterViewInit(): void;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FsListContentInitDirective, never>;
|
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FsListContentInitDirective, "[fsListContentInit]", never, { "contentInitCallback": "fsListContentInit"; }, {}, never, never, false>;
|
|
9
|
-
}
|
|
1
|
+
import { AfterViewInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class FsListContentInitDirective implements AfterViewInit {
|
|
4
|
+
contentInitCallback: Function;
|
|
5
|
+
constructor();
|
|
6
|
+
ngAfterViewInit(): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FsListContentInitDirective, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FsListContentInitDirective, "[fsListContentInit]", never, { "contentInitCallback": "fsListContentInit"; }, {}, never, never, false, never>;
|
|
9
|
+
}
|