@firestitch/list 12.3.4 → 12.4.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 +90 -90
- package/app/classes/external-params-controller.d.ts +31 -31
- package/app/classes/index.d.ts +2 -2
- package/app/classes/list-controller.d.ts +174 -174
- package/app/classes/pagination-controller.d.ts +189 -189
- package/app/classes/persistance-controller.d.ts +10 -10
- package/app/classes/reorder-controller.d.ts +62 -61
- package/app/classes/selection-controller.d.ts +141 -141
- package/app/classes/sorting-controller.d.ts +64 -64
- package/app/components/body/body.component.d.ts +32 -32
- package/app/components/body/row/actions/actions.component.d.ts +35 -35
- package/app/components/body/row/cell/cell.component.d.ts +23 -23
- package/app/components/body/row/inline-action/inline-action.component.d.ts +16 -16
- package/app/components/body/row/menu-action/menu-action.component.d.ts +12 -12
- package/app/components/body/row/row.component.d.ts +72 -72
- 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 +11 -11
- package/app/components/footer/footer.component.d.ts +11 -11
- package/app/components/head/head-cell/head-cell.component.d.ts +14 -14
- package/app/components/head/head.component.d.ts +43 -43
- package/app/components/list/list.component.d.ts +114 -113
- 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 +21 -21
- package/app/directives/cell/cell.directive.d.ts +8 -8
- package/app/directives/column/column.directive.d.ts +33 -33
- 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 +80 -80
- package/app/directives/draggable-row/draggable-row.directive.d.ts +21 -21
- 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/enums/button-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 +57 -57
- 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 +3 -3
- package/app/interfaces/listconfig.interface.d.ts +250 -250
- package/app/interfaces/pagination.interface.d.ts +13 -13
- 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 +59 -59
- 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 +15 -15
- package/app/models/row/simple-row.d.ts +5 -5
- package/app/models/row-action.model.d.ts +31 -31
- package/app/models/row.d.ts +30 -30
- package/app/models/styleConfig.model.d.ts +31 -31
- package/app/services/group-expand-notifier.service.d.ts +11 -11
- package/bundles/firestitch-list.umd.js +6545 -6528
- package/bundles/firestitch-list.umd.js.map +1 -1
- package/esm2015/app/classes/actions-controller.js +55 -55
- package/esm2015/app/classes/columns-controller.js +205 -205
- package/esm2015/app/classes/data-controller.js +333 -333
- package/esm2015/app/classes/external-params-controller.js +153 -153
- package/esm2015/app/classes/index.js +3 -3
- package/esm2015/app/classes/list-controller.js +714 -714
- package/esm2015/app/classes/pagination-controller.js +460 -460
- package/esm2015/app/classes/persistance-controller.js +19 -19
- package/esm2015/app/classes/reorder-controller.js +173 -170
- package/esm2015/app/classes/selection-controller.js +445 -445
- package/esm2015/app/classes/sorting-controller.js +180 -180
- package/esm2015/app/components/body/body.component.js +76 -76
- package/esm2015/app/components/body/row/actions/actions.component.js +100 -100
- package/esm2015/app/components/body/row/cell/cell.component.js +92 -92
- package/esm2015/app/components/body/row/inline-action/inline-action.component.js +40 -40
- package/esm2015/app/components/body/row/menu-action/menu-action.component.js +31 -31
- package/esm2015/app/components/body/row/row.component.js +254 -254
- package/esm2015/app/components/customize-cols/customize-cols.component.js +72 -72
- package/esm2015/app/components/footer/footer-row/footer-cell/footer-cell.component.js +20 -20
- package/esm2015/app/components/footer/footer-row/footer-row.component.js +27 -27
- package/esm2015/app/components/footer/footer.component.js +26 -26
- package/esm2015/app/components/head/head-cell/head-cell.component.js +33 -33
- package/esm2015/app/components/head/head.component.js +91 -91
- package/esm2015/app/components/list/list.component.js +370 -364
- package/esm2015/app/components/loader/loader.component.js +47 -47
- package/esm2015/app/components/manage-saved-filters/manage-saved-filters.component.js +79 -79
- package/esm2015/app/components/pagination/pagination.component.js +45 -45
- package/esm2015/app/components/saved-filters/saved-filters.component.js +33 -33
- package/esm2015/app/components/status/status.component.js +74 -74
- package/esm2015/app/directives/cell/cell.directive.js +18 -18
- package/esm2015/app/directives/column/column.directive.js +111 -111
- package/esm2015/app/directives/content/content.directive.js +12 -12
- package/esm2015/app/directives/content-init/content-init.directive.js +21 -21
- package/esm2015/app/directives/draggable-list/draggable-list.directive.js +256 -256
- package/esm2015/app/directives/draggable-row/draggable-row.directive.js +73 -73
- package/esm2015/app/directives/empty-state/empty-state.directive.js +13 -13
- package/esm2015/app/directives/footer/footer.directive.js +18 -18
- package/esm2015/app/directives/group-expand-trigger/group-expand-trigger.directive.js +26 -26
- package/esm2015/app/directives/group-footer/group-footer.directive.js +13 -13
- package/esm2015/app/directives/group-header/group-header.directive.js +13 -13
- package/esm2015/app/directives/header/header.directive.js +18 -18
- package/esm2015/app/enums/button-type.enum.js +9 -9
- package/esm2015/app/enums/page-change-type.enum.js +6 -6
- package/esm2015/app/enums/pagination-strategy.enum.js +7 -7
- package/esm2015/app/enums/row-type.enum.js +7 -7
- package/esm2015/app/enums/state.enum.js +11 -11
- package/esm2015/app/fs-list.module.js +231 -231
- package/esm2015/app/fs-list.providers.js +4 -4
- package/esm2015/app/interfaces/cellconfig.interface.js +2 -2
- package/esm2015/app/interfaces/column-config.interface.js +1 -1
- package/esm2015/app/interfaces/draggable-list.interface.js +2 -2
- package/esm2015/app/interfaces/external-params.interface.js +2 -2
- package/esm2015/app/interfaces/index.js +4 -4
- package/esm2015/app/interfaces/listconfig.interface.js +1 -1
- package/esm2015/app/interfaces/pagination.interface.js +2 -2
- package/esm2015/app/models/column-async-attribute.js +13 -13
- package/esm2015/app/models/column-attributes.js +130 -130
- package/esm2015/app/models/column.model.js +166 -166
- package/esm2015/app/models/row/base-row.js +23 -23
- package/esm2015/app/models/row/child-row.js +28 -28
- package/esm2015/app/models/row/group-footer-row.js +20 -20
- package/esm2015/app/models/row/group-row.js +40 -40
- package/esm2015/app/models/row/simple-row.js +10 -10
- package/esm2015/app/models/row-action.model.js +108 -108
- package/esm2015/app/models/row.js +80 -80
- package/esm2015/app/models/styleConfig.model.js +75 -75
- package/esm2015/app/services/group-expand-notifier.service.js +26 -26
- package/esm2015/firestitch-list.js +4 -4
- package/esm2015/public_api.js +44 -44
- package/fesm2015/firestitch-list.js +5381 -5372
- package/fesm2015/firestitch-list.js.map +1 -1
- package/firestitch-list.d.ts +5 -5
- package/package.json +1 -1
- package/public_api.d.ts +38 -38
|
@@ -1,72 +1,72 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, EventEmitter, KeyValueDiffers, Renderer2, DoCheck, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { MatCheckboxChange } from '@angular/material/checkbox';
|
|
3
|
-
import { Column } from '../../../models/column.model';
|
|
4
|
-
import { ReorderController, ReorderPosition, ReorderStrategy } from '../../../classes/reorder-controller';
|
|
5
|
-
import { SelectionController } from '../../../classes/selection-controller';
|
|
6
|
-
import { RowAction } from '../../../models/row-action.model';
|
|
7
|
-
import { Row } from '../../../models/row';
|
|
8
|
-
import { FsListDraggableListDirective } from '../../../directives/draggable-list/draggable-list.directive';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
export declare class FsRowComponent implements OnInit, DoCheck, OnDestroy {
|
|
11
|
-
el: ElementRef;
|
|
12
|
-
reorderController: ReorderController;
|
|
13
|
-
private _cdRef;
|
|
14
|
-
private _differs;
|
|
15
|
-
private _renderer;
|
|
16
|
-
private _draggableList;
|
|
17
|
-
role: string;
|
|
18
|
-
row: Row;
|
|
19
|
-
rowActionsRaw: any[];
|
|
20
|
-
groupActionsRaw: any[];
|
|
21
|
-
hasRowActions: boolean;
|
|
22
|
-
rowEvents: {};
|
|
23
|
-
rowClass: any;
|
|
24
|
-
restoreMode: boolean;
|
|
25
|
-
rowIndex: number;
|
|
26
|
-
columns: Column[];
|
|
27
|
-
selection: SelectionController;
|
|
28
|
-
rowRemoved: EventEmitter<any>;
|
|
29
|
-
cellRefs: any;
|
|
30
|
-
readonly ReorderPosition: typeof ReorderPosition;
|
|
31
|
-
readonly ReorderStrategy: typeof ReorderStrategy;
|
|
32
|
-
rowActions: RowAction[];
|
|
33
|
-
menuRowActions: RowAction[];
|
|
34
|
-
inlineRowActions: RowAction[];
|
|
35
|
-
restoreAction: RowAction;
|
|
36
|
-
selected: boolean;
|
|
37
|
-
indeterminateSelected: boolean | 'indeterminate';
|
|
38
|
-
private _rowDiffer;
|
|
39
|
-
private _eventListeners;
|
|
40
|
-
private _destroy$;
|
|
41
|
-
constructor(el: ElementRef, reorderController: ReorderController, _cdRef: ChangeDetectorRef, _differs: KeyValueDiffers, _renderer: Renderer2, _draggableList: FsListDraggableListDirective);
|
|
42
|
-
get isGroupRow(): boolean;
|
|
43
|
-
get isChildRow(): boolean;
|
|
44
|
-
get isGroupFooterRow(): boolean;
|
|
45
|
-
get rowCssClass(): string;
|
|
46
|
-
get dragCellVisible(): boolean;
|
|
47
|
-
ngOnInit(): void;
|
|
48
|
-
ngDoCheck(): void;
|
|
49
|
-
ngOnDestroy(): void;
|
|
50
|
-
/**
|
|
51
|
-
* Select row by checkbox
|
|
52
|
-
* @param event
|
|
53
|
-
*/
|
|
54
|
-
selectRow(event: MatCheckboxChange): void;
|
|
55
|
-
/**
|
|
56
|
-
* Track By for improve change detection
|
|
57
|
-
* @param index
|
|
58
|
-
*/
|
|
59
|
-
trackByFn(index: any): any;
|
|
60
|
-
dragStart(event: any): void;
|
|
61
|
-
/**
|
|
62
|
-
* Set event listeners for row
|
|
63
|
-
*/
|
|
64
|
-
private initRowEvents;
|
|
65
|
-
/**
|
|
66
|
-
* Subscribe to selection change events
|
|
67
|
-
*/
|
|
68
|
-
private initSelection;
|
|
69
|
-
private filterActionsByCategories;
|
|
70
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FsRowComponent, never>;
|
|
71
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FsRowComponent, "[fs-list-row]", never, { "row": "row"; "rowActionsRaw": "rowActionsRaw"; "groupActionsRaw": "groupActionsRaw"; "hasRowActions": "hasRowActions"; "rowEvents": "rowEvents"; "rowClass": "rowClass"; "restoreMode": "restoreMode"; "rowIndex": "rowIndex"; "columns": "columns"; "selection": "selection"; "rowRemoved": "rowRemoved"; }, {}, never, never>;
|
|
72
|
-
}
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, EventEmitter, KeyValueDiffers, Renderer2, DoCheck, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { MatCheckboxChange } from '@angular/material/checkbox';
|
|
3
|
+
import { Column } from '../../../models/column.model';
|
|
4
|
+
import { ReorderController, ReorderPosition, ReorderStrategy } from '../../../classes/reorder-controller';
|
|
5
|
+
import { SelectionController } from '../../../classes/selection-controller';
|
|
6
|
+
import { RowAction } from '../../../models/row-action.model';
|
|
7
|
+
import { Row } from '../../../models/row';
|
|
8
|
+
import { FsListDraggableListDirective } from '../../../directives/draggable-list/draggable-list.directive';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class FsRowComponent implements OnInit, DoCheck, OnDestroy {
|
|
11
|
+
el: ElementRef;
|
|
12
|
+
reorderController: ReorderController;
|
|
13
|
+
private _cdRef;
|
|
14
|
+
private _differs;
|
|
15
|
+
private _renderer;
|
|
16
|
+
private _draggableList;
|
|
17
|
+
role: string;
|
|
18
|
+
row: Row;
|
|
19
|
+
rowActionsRaw: any[];
|
|
20
|
+
groupActionsRaw: any[];
|
|
21
|
+
hasRowActions: boolean;
|
|
22
|
+
rowEvents: {};
|
|
23
|
+
rowClass: any;
|
|
24
|
+
restoreMode: boolean;
|
|
25
|
+
rowIndex: number;
|
|
26
|
+
columns: Column[];
|
|
27
|
+
selection: SelectionController;
|
|
28
|
+
rowRemoved: EventEmitter<any>;
|
|
29
|
+
cellRefs: any;
|
|
30
|
+
readonly ReorderPosition: typeof ReorderPosition;
|
|
31
|
+
readonly ReorderStrategy: typeof ReorderStrategy;
|
|
32
|
+
rowActions: RowAction[];
|
|
33
|
+
menuRowActions: RowAction[];
|
|
34
|
+
inlineRowActions: RowAction[];
|
|
35
|
+
restoreAction: RowAction;
|
|
36
|
+
selected: boolean;
|
|
37
|
+
indeterminateSelected: boolean | 'indeterminate';
|
|
38
|
+
private _rowDiffer;
|
|
39
|
+
private _eventListeners;
|
|
40
|
+
private _destroy$;
|
|
41
|
+
constructor(el: ElementRef, reorderController: ReorderController, _cdRef: ChangeDetectorRef, _differs: KeyValueDiffers, _renderer: Renderer2, _draggableList: FsListDraggableListDirective);
|
|
42
|
+
get isGroupRow(): boolean;
|
|
43
|
+
get isChildRow(): boolean;
|
|
44
|
+
get isGroupFooterRow(): boolean;
|
|
45
|
+
get rowCssClass(): string;
|
|
46
|
+
get dragCellVisible(): boolean;
|
|
47
|
+
ngOnInit(): void;
|
|
48
|
+
ngDoCheck(): void;
|
|
49
|
+
ngOnDestroy(): void;
|
|
50
|
+
/**
|
|
51
|
+
* Select row by checkbox
|
|
52
|
+
* @param event
|
|
53
|
+
*/
|
|
54
|
+
selectRow(event: MatCheckboxChange): void;
|
|
55
|
+
/**
|
|
56
|
+
* Track By for improve change detection
|
|
57
|
+
* @param index
|
|
58
|
+
*/
|
|
59
|
+
trackByFn(index: any): any;
|
|
60
|
+
dragStart(event: any): void;
|
|
61
|
+
/**
|
|
62
|
+
* Set event listeners for row
|
|
63
|
+
*/
|
|
64
|
+
private initRowEvents;
|
|
65
|
+
/**
|
|
66
|
+
* Subscribe to selection change events
|
|
67
|
+
*/
|
|
68
|
+
private initSelection;
|
|
69
|
+
private filterActionsByCategories;
|
|
70
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FsRowComponent, never>;
|
|
71
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FsRowComponent, "[fs-list-row]", never, { "row": "row"; "rowActionsRaw": "rowActionsRaw"; "groupActionsRaw": "groupActionsRaw"; "hasRowActions": "hasRowActions"; "rowEvents": "rowEvents"; "rowClass": "rowClass"; "restoreMode": "restoreMode"; "rowIndex": "rowIndex"; "columns": "columns"; "selection": "selection"; "rowRemoved": "rowRemoved"; }, {}, never, never>;
|
|
72
|
+
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { OnDestroy } from '@angular/core';
|
|
2
|
-
import { MatDialogRef } from '@angular/material/dialog';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class CustomizeColsDialogComponent implements OnDestroy {
|
|
5
|
-
private _dialog;
|
|
6
|
-
columns: any[];
|
|
7
|
-
saveDisabled: boolean;
|
|
8
|
-
private _changeFn;
|
|
9
|
-
private _destroy$;
|
|
10
|
-
constructor(data: any, _dialog: MatDialogRef<any>);
|
|
11
|
-
ngOnDestroy(): void;
|
|
12
|
-
visibilityChange(event: any, column: any): void;
|
|
13
|
-
save(): void;
|
|
14
|
-
cancel(): void;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CustomizeColsDialogComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CustomizeColsDialogComponent, "ng-component", never, {}, {}, never, never>;
|
|
17
|
-
}
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
2
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class CustomizeColsDialogComponent implements OnDestroy {
|
|
5
|
+
private _dialog;
|
|
6
|
+
columns: any[];
|
|
7
|
+
saveDisabled: boolean;
|
|
8
|
+
private _changeFn;
|
|
9
|
+
private _destroy$;
|
|
10
|
+
constructor(data: any, _dialog: MatDialogRef<any>);
|
|
11
|
+
ngOnDestroy(): void;
|
|
12
|
+
visibilityChange(event: any, column: any): void;
|
|
13
|
+
save(): void;
|
|
14
|
+
cancel(): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomizeColsDialogComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CustomizeColsDialogComponent, "ng-component", never, {}, {}, never, never>;
|
|
17
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { FsCellComponent } from '../../../body/row/cell/cell.component';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class FsFooterCellComponent extends FsCellComponent {
|
|
4
|
-
constructor();
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FsFooterCellComponent, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FsFooterCellComponent, "[fs-list-footer-cell]", never, {}, {}, never, never>;
|
|
7
|
-
}
|
|
1
|
+
import { FsCellComponent } from '../../../body/row/cell/cell.component';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class FsFooterCellComponent extends FsCellComponent {
|
|
4
|
+
constructor();
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FsFooterCellComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FsFooterCellComponent, "[fs-list-footer-cell]", never, {}, {}, never, never>;
|
|
7
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, KeyValueDiffers, Renderer2 } from '@angular/core';
|
|
2
|
-
import { FsRowComponent } from '../../body/row/row.component';
|
|
3
|
-
import { ReorderController, ReorderPosition } from '../../../classes/reorder-controller';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class FsFooterRowComponent extends FsRowComponent {
|
|
6
|
-
hasRowActions: boolean;
|
|
7
|
-
readonly ReorderPosition: typeof ReorderPosition;
|
|
8
|
-
constructor(el: ElementRef, reorderController: ReorderController, cdRef: ChangeDetectorRef, differs: KeyValueDiffers, renderer: Renderer2);
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FsFooterRowComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FsFooterRowComponent, "[fs-list-footer-row]", never, { "hasRowActions": "hasRowActions"; }, {}, never, never>;
|
|
11
|
-
}
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, KeyValueDiffers, Renderer2 } from '@angular/core';
|
|
2
|
+
import { FsRowComponent } from '../../body/row/row.component';
|
|
3
|
+
import { ReorderController, ReorderPosition } from '../../../classes/reorder-controller';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class FsFooterRowComponent extends FsRowComponent {
|
|
6
|
+
hasRowActions: boolean;
|
|
7
|
+
readonly ReorderPosition: typeof ReorderPosition;
|
|
8
|
+
constructor(el: ElementRef, reorderController: ReorderController, cdRef: ChangeDetectorRef, differs: KeyValueDiffers, renderer: Renderer2);
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FsFooterRowComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FsFooterRowComponent, "[fs-list-footer-row]", never, { "hasRowActions": "hasRowActions"; }, {}, never, never>;
|
|
11
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Column } from '../../models/column.model';
|
|
2
|
-
import { SelectionController } from '../../classes/selection-controller';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class FsFooterComponent {
|
|
5
|
-
hasRowActions: boolean;
|
|
6
|
-
columns: Column[];
|
|
7
|
-
selection: SelectionController;
|
|
8
|
-
constructor();
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FsFooterComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FsFooterComponent, "[fs-list-footer]", never, { "hasRowActions": "hasRowActions"; "columns": "columns"; "selection": "selection"; }, {}, never, never>;
|
|
11
|
-
}
|
|
1
|
+
import { Column } from '../../models/column.model';
|
|
2
|
+
import { SelectionController } from '../../classes/selection-controller';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class FsFooterComponent {
|
|
5
|
+
hasRowActions: boolean;
|
|
6
|
+
columns: Column[];
|
|
7
|
+
selection: SelectionController;
|
|
8
|
+
constructor();
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FsFooterComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FsFooterComponent, "[fs-list-footer]", never, { "hasRowActions": "hasRowActions"; "columns": "columns"; "selection": "selection"; }, {}, never, never>;
|
|
11
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { ChangeDetectorRef, DoCheck, KeyValueDiffers } from '@angular/core';
|
|
2
|
-
import { FsCellComponent } from '../../body/row/cell/cell.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class FsHeadCellComponent extends FsCellComponent implements DoCheck {
|
|
5
|
-
private cdRef;
|
|
6
|
-
private differs;
|
|
7
|
-
cellContext: any;
|
|
8
|
-
private _columnDiffer;
|
|
9
|
-
constructor(cdRef: ChangeDetectorRef, differs: KeyValueDiffers);
|
|
10
|
-
ngDoCheck(): void;
|
|
11
|
-
initCellContext(): void;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FsHeadCellComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FsHeadCellComponent, "[fs-head-cell]", never, {}, {}, never, never>;
|
|
14
|
-
}
|
|
1
|
+
import { ChangeDetectorRef, DoCheck, KeyValueDiffers } from '@angular/core';
|
|
2
|
+
import { FsCellComponent } from '../../body/row/cell/cell.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class FsHeadCellComponent extends FsCellComponent implements DoCheck {
|
|
5
|
+
private cdRef;
|
|
6
|
+
private differs;
|
|
7
|
+
cellContext: any;
|
|
8
|
+
private _columnDiffer;
|
|
9
|
+
constructor(cdRef: ChangeDetectorRef, differs: KeyValueDiffers);
|
|
10
|
+
ngDoCheck(): void;
|
|
11
|
+
initCellContext(): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FsHeadCellComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FsHeadCellComponent, "[fs-head-cell]", never, {}, {}, never, never>;
|
|
14
|
+
}
|
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnInit, OnDestroy } from '@angular/core';
|
|
2
|
-
import { MatCheckboxChange } from '@angular/material/checkbox';
|
|
3
|
-
import { Column } from '../../models/column.model';
|
|
4
|
-
import { SortingController } from '../../classes/sorting-controller';
|
|
5
|
-
import { ReorderController, ReorderPosition, ReorderStrategy } from '../../classes/reorder-controller';
|
|
6
|
-
import { SelectionController } from '../../classes/selection-controller';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class FsHeadComponent implements OnInit, OnDestroy {
|
|
9
|
-
reorderController: ReorderController;
|
|
10
|
-
private cdRef;
|
|
11
|
-
sorting: SortingController;
|
|
12
|
-
columns: Column[];
|
|
13
|
-
hasRowActions: boolean;
|
|
14
|
-
selection: SelectionController;
|
|
15
|
-
rowsContainer: any;
|
|
16
|
-
selectedAll: boolean;
|
|
17
|
-
readonly ReorderPosition: typeof ReorderPosition;
|
|
18
|
-
readonly ReorderStrategy: typeof ReorderStrategy;
|
|
19
|
-
private _destroy$;
|
|
20
|
-
constructor(reorderController: ReorderController, cdRef: ChangeDetectorRef);
|
|
21
|
-
ngOnInit(): void;
|
|
22
|
-
ngOnDestroy(): void;
|
|
23
|
-
/**
|
|
24
|
-
* Select All Visible Rows
|
|
25
|
-
* @param event
|
|
26
|
-
*/
|
|
27
|
-
selectAll(event: MatCheckboxChange): void;
|
|
28
|
-
/**
|
|
29
|
-
* Track By for improve change detection
|
|
30
|
-
* @param index
|
|
31
|
-
*/
|
|
32
|
-
trackByFn(index: any): any;
|
|
33
|
-
/**
|
|
34
|
-
* Subscribe to sorting change
|
|
35
|
-
*/
|
|
36
|
-
private initSorting;
|
|
37
|
-
/**
|
|
38
|
-
* Subscribe to selection change
|
|
39
|
-
*/
|
|
40
|
-
private initSelection;
|
|
41
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FsHeadComponent, never>;
|
|
42
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FsHeadComponent, "[fs-list-head]", never, { "sorting": "sorting"; "columns": "columns"; "hasRowActions": "hasRowActions"; "selection": "selection"; }, {}, never, never>;
|
|
43
|
-
}
|
|
1
|
+
import { ChangeDetectorRef, OnInit, OnDestroy } from '@angular/core';
|
|
2
|
+
import { MatCheckboxChange } from '@angular/material/checkbox';
|
|
3
|
+
import { Column } from '../../models/column.model';
|
|
4
|
+
import { SortingController } from '../../classes/sorting-controller';
|
|
5
|
+
import { ReorderController, ReorderPosition, ReorderStrategy } from '../../classes/reorder-controller';
|
|
6
|
+
import { SelectionController } from '../../classes/selection-controller';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class FsHeadComponent implements OnInit, OnDestroy {
|
|
9
|
+
reorderController: ReorderController;
|
|
10
|
+
private cdRef;
|
|
11
|
+
sorting: SortingController;
|
|
12
|
+
columns: Column[];
|
|
13
|
+
hasRowActions: boolean;
|
|
14
|
+
selection: SelectionController;
|
|
15
|
+
rowsContainer: any;
|
|
16
|
+
selectedAll: boolean;
|
|
17
|
+
readonly ReorderPosition: typeof ReorderPosition;
|
|
18
|
+
readonly ReorderStrategy: typeof ReorderStrategy;
|
|
19
|
+
private _destroy$;
|
|
20
|
+
constructor(reorderController: ReorderController, cdRef: ChangeDetectorRef);
|
|
21
|
+
ngOnInit(): void;
|
|
22
|
+
ngOnDestroy(): void;
|
|
23
|
+
/**
|
|
24
|
+
* Select All Visible Rows
|
|
25
|
+
* @param event
|
|
26
|
+
*/
|
|
27
|
+
selectAll(event: MatCheckboxChange): void;
|
|
28
|
+
/**
|
|
29
|
+
* Track By for improve change detection
|
|
30
|
+
* @param index
|
|
31
|
+
*/
|
|
32
|
+
trackByFn(index: any): any;
|
|
33
|
+
/**
|
|
34
|
+
* Subscribe to sorting change
|
|
35
|
+
*/
|
|
36
|
+
private initSorting;
|
|
37
|
+
/**
|
|
38
|
+
* Subscribe to selection change
|
|
39
|
+
*/
|
|
40
|
+
private initSelection;
|
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FsHeadComponent, never>;
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FsHeadComponent, "[fs-list-head]", never, { "sorting": "sorting"; "columns": "columns"; "hasRowActions": "hasRowActions"; "selection": "selection"; }, {}, never, never>;
|
|
43
|
+
}
|
|
@@ -1,113 +1,114 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { ActivatedRoute, Router } from '@angular/router';
|
|
3
|
-
import { Location } from '@angular/common';
|
|
4
|
-
import { MatDialog, MatDialogRef } from '@angular/material/dialog';
|
|
5
|
-
import { FsScrollService } from '@firestitch/scroll';
|
|
6
|
-
import { FilterComponent } from '@firestitch/filter';
|
|
7
|
-
import { SelectionDialog } from '@firestitch/selection';
|
|
8
|
-
import { DrawerRef } from '@firestitch/drawer';
|
|
9
|
-
import { List } from '../../classes/list-controller';
|
|
10
|
-
import { ReorderController } from '../../classes/reorder-controller';
|
|
11
|
-
import { FsListAbstractRow, FsListAction, FsListConfig, FsListSelectionConfig, FsListTrackByFn, FsListTrackByTargetRowFn } from '../../interfaces';
|
|
12
|
-
import { GroupExpandNotifierService } from '../../services/group-expand-notifier.service';
|
|
13
|
-
import { PersistanceController } from '../../classes/persistance-controller';
|
|
14
|
-
import * as i0 from "@angular/core";
|
|
15
|
-
export declare class FsListComponent implements OnInit, OnDestroy {
|
|
16
|
-
reorderController: ReorderController;
|
|
17
|
-
private
|
|
18
|
-
private
|
|
19
|
-
private
|
|
20
|
-
private
|
|
21
|
-
private
|
|
22
|
-
private
|
|
23
|
-
private
|
|
24
|
-
private
|
|
25
|
-
private
|
|
26
|
-
private
|
|
27
|
-
private
|
|
28
|
-
private
|
|
29
|
-
private
|
|
30
|
-
classFsList: boolean;
|
|
31
|
-
set config(config: FsListConfig);
|
|
32
|
-
loaderLines: number;
|
|
33
|
-
filtersReady: EventEmitter<void>;
|
|
34
|
-
list: List;
|
|
35
|
-
private listColumnDirectives;
|
|
36
|
-
rowRemoved: EventEmitter<any>;
|
|
37
|
-
firstLoad: boolean;
|
|
38
|
-
private _filterRef;
|
|
39
|
-
private _filterParamsReady;
|
|
40
|
-
private _inDialog;
|
|
41
|
-
private _destroy;
|
|
42
|
-
private set filterReference(value);
|
|
43
|
-
/**
|
|
44
|
-
* Set columns to config
|
|
45
|
-
* Create Column Model instances
|
|
46
|
-
*
|
|
47
|
-
*/
|
|
48
|
-
private set columnTemplates(value);
|
|
49
|
-
private set _emptyStateTemplate(value);
|
|
50
|
-
constructor(reorderController: ReorderController,
|
|
51
|
-
/**
|
|
52
|
-
* Return reference for filter
|
|
53
|
-
*/
|
|
54
|
-
get filterRef(): FilterComponent;
|
|
55
|
-
get groupEnabled(): boolean;
|
|
56
|
-
get
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
*
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
*
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
private
|
|
106
|
-
private
|
|
107
|
-
private
|
|
108
|
-
private
|
|
109
|
-
private
|
|
110
|
-
private
|
|
111
|
-
|
|
112
|
-
static
|
|
113
|
-
}
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
3
|
+
import { Location } from '@angular/common';
|
|
4
|
+
import { MatDialog, MatDialogRef } from '@angular/material/dialog';
|
|
5
|
+
import { FsScrollService } from '@firestitch/scroll';
|
|
6
|
+
import { FilterComponent } from '@firestitch/filter';
|
|
7
|
+
import { SelectionDialog } from '@firestitch/selection';
|
|
8
|
+
import { DrawerRef } from '@firestitch/drawer';
|
|
9
|
+
import { List } from '../../classes/list-controller';
|
|
10
|
+
import { ReorderController } from '../../classes/reorder-controller';
|
|
11
|
+
import { FsListAbstractRow, FsListAction, FsListConfig, FsListSelectionConfig, FsListTrackByFn, FsListTrackByTargetRowFn } from '../../interfaces';
|
|
12
|
+
import { GroupExpandNotifierService } from '../../services/group-expand-notifier.service';
|
|
13
|
+
import { PersistanceController } from '../../classes/persistance-controller';
|
|
14
|
+
import * as i0 from "@angular/core";
|
|
15
|
+
export declare class FsListComponent implements OnInit, OnDestroy {
|
|
16
|
+
reorderController: ReorderController;
|
|
17
|
+
private _defaultOptions;
|
|
18
|
+
private fsScroll;
|
|
19
|
+
private _dialogRef;
|
|
20
|
+
private _drawerRef;
|
|
21
|
+
private _el;
|
|
22
|
+
private selectionDialog;
|
|
23
|
+
private dialog;
|
|
24
|
+
private cdRef;
|
|
25
|
+
private _groupExpandNotifier;
|
|
26
|
+
private _router;
|
|
27
|
+
private _route;
|
|
28
|
+
private _persistance;
|
|
29
|
+
private _location;
|
|
30
|
+
classFsList: boolean;
|
|
31
|
+
set config(config: FsListConfig);
|
|
32
|
+
loaderLines: number;
|
|
33
|
+
filtersReady: EventEmitter<void>;
|
|
34
|
+
list: List;
|
|
35
|
+
private listColumnDirectives;
|
|
36
|
+
rowRemoved: EventEmitter<any>;
|
|
37
|
+
firstLoad: boolean;
|
|
38
|
+
private _filterRef;
|
|
39
|
+
private _filterParamsReady;
|
|
40
|
+
private _inDialog;
|
|
41
|
+
private _destroy;
|
|
42
|
+
private set filterReference(value);
|
|
43
|
+
/**
|
|
44
|
+
* Set columns to config
|
|
45
|
+
* Create Column Model instances
|
|
46
|
+
*
|
|
47
|
+
*/
|
|
48
|
+
private set columnTemplates(value);
|
|
49
|
+
private set _emptyStateTemplate(value);
|
|
50
|
+
constructor(reorderController: ReorderController, _defaultOptions: any, fsScroll: FsScrollService, _dialogRef: MatDialogRef<any>, _drawerRef: DrawerRef<any>, _el: ElementRef, selectionDialog: SelectionDialog, dialog: MatDialog, cdRef: ChangeDetectorRef, _groupExpandNotifier: GroupExpandNotifierService, _router: Router, _route: ActivatedRoute, _persistance: PersistanceController, _location: Location);
|
|
51
|
+
/**
|
|
52
|
+
* Return reference for filter
|
|
53
|
+
*/
|
|
54
|
+
get filterRef(): FilterComponent;
|
|
55
|
+
get groupEnabled(): boolean;
|
|
56
|
+
get hasStatus(): boolean;
|
|
57
|
+
get paginatorVisible(): boolean;
|
|
58
|
+
set groupEnabled(value: boolean);
|
|
59
|
+
get filtersQuery(): Record<string, unknown>;
|
|
60
|
+
ngOnInit(): void;
|
|
61
|
+
ngOnDestroy(): void;
|
|
62
|
+
nextPage(): void;
|
|
63
|
+
prevPage(): void;
|
|
64
|
+
firstPage(): void;
|
|
65
|
+
lastPage(): void;
|
|
66
|
+
reload(): void;
|
|
67
|
+
getData(trackBy?: FsListTrackByFn): any[];
|
|
68
|
+
hasData(trackBy: FsListTrackByFn): boolean;
|
|
69
|
+
updateData(rows: FsListAbstractRow | FsListAbstractRow[], trackBy?: FsListTrackByTargetRowFn): boolean;
|
|
70
|
+
replaceRow(row: FsListAbstractRow, trackBy?: FsListTrackByTargetRowFn): boolean;
|
|
71
|
+
updateSelectionConfig(config: FsListSelectionConfig): void;
|
|
72
|
+
resetSelectionActions(): void;
|
|
73
|
+
removeData(data: FsListAbstractRow | FsListAbstractRow[] | FsListTrackByTargetRowFn): boolean;
|
|
74
|
+
setHeading(heading: string): void;
|
|
75
|
+
setSubheading(subheading: string): void;
|
|
76
|
+
reorderStart(): void;
|
|
77
|
+
reorderFinish(): void;
|
|
78
|
+
setActions(actions: FsListAction[]): void;
|
|
79
|
+
filterReady(): void;
|
|
80
|
+
/**
|
|
81
|
+
* Update visibility for specific column
|
|
82
|
+
*/
|
|
83
|
+
columnVisibility(name: string, show: boolean): void;
|
|
84
|
+
/**
|
|
85
|
+
* Update visibility for list of specific columns
|
|
86
|
+
*/
|
|
87
|
+
columnsVisibility(columns: {
|
|
88
|
+
name: string;
|
|
89
|
+
show: boolean;
|
|
90
|
+
}[]): void;
|
|
91
|
+
private _emitFiltersReadyEvent;
|
|
92
|
+
/**
|
|
93
|
+
* Initialize config for list
|
|
94
|
+
* @param config
|
|
95
|
+
*/
|
|
96
|
+
private _initWithConfig;
|
|
97
|
+
/**
|
|
98
|
+
* Find action with customize flag and re-declare click function for CustomizeColsDialog
|
|
99
|
+
* @param actions
|
|
100
|
+
*/
|
|
101
|
+
private _updateCustomizeAction;
|
|
102
|
+
/**
|
|
103
|
+
* Update sorting in filter
|
|
104
|
+
*/
|
|
105
|
+
private _listenSortingChange;
|
|
106
|
+
private _subscribeToRemoveRow;
|
|
107
|
+
private _subscribeToGroupExpandStatusChange;
|
|
108
|
+
private _waitFirstLoad;
|
|
109
|
+
private _listenFiltersQueryChange;
|
|
110
|
+
private _configMergeCustomizer;
|
|
111
|
+
private _restorePersistance;
|
|
112
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FsListComponent, [null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, null, null, null, null, null, null, null, null, null]>;
|
|
113
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FsListComponent, "fs-list", never, { "config": "config"; "loaderLines": "loaderLines"; }, { "filtersReady": "filtersReady"; }, ["_emptyStateTemplate", "columnTemplates"], ["[fs-list-content]"]>;
|
|
114
|
+
}
|
|
@@ -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>;
|
|
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>;
|
|
14
|
+
}
|