@firestitch/list 13.0.2 → 13.0.4
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 +91 -91
- 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 +191 -191
- package/app/classes/pagination-controller.d.ts +198 -196
- package/app/classes/persistance-controller.d.ts +10 -10
- package/app/classes/reorder-controller.d.ts +68 -68
- package/app/classes/selection-controller.d.ts +155 -155
- package/app/classes/sorting-controller.d.ts +65 -65
- 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 +128 -126
- 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 +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/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 +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 +247 -247
- package/app/interfaces/pagination-state.interface.d.ts +9 -0
- 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 +60 -60
- 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/bundles/firestitch-list.umd.js +7222 -0
- package/bundles/firestitch-list.umd.js.map +1 -0
- package/{esm2020/app/classes/actions-controller.mjs → esm2015/app/classes/actions-controller.js} +55 -55
- package/{esm2020/app/classes/columns-controller.mjs → esm2015/app/classes/columns-controller.js} +205 -205
- package/esm2015/app/classes/data-controller.js +365 -0
- package/esm2015/app/classes/external-params-controller.js +147 -0
- package/{esm2020/app/classes/index.mjs → esm2015/app/classes/index.js} +3 -3
- package/esm2015/app/classes/list-controller.js +754 -0
- package/esm2015/app/classes/pagination-controller.js +479 -0
- package/{esm2020/app/classes/persistance-controller.mjs → esm2015/app/classes/persistance-controller.js} +19 -19
- package/esm2015/app/classes/reorder-controller.js +183 -0
- package/esm2015/app/classes/selection-controller.js +468 -0
- package/{esm2020/app/classes/sorting-controller.mjs → esm2015/app/classes/sorting-controller.js} +183 -183
- package/esm2015/app/components/body/body.component.js +69 -0
- package/esm2015/app/components/body/row/actions/actions.component.js +102 -0
- package/esm2015/app/components/body/row/cell/cell.component.js +113 -0
- package/esm2015/app/components/body/row/inline-action/inline-action.component.js +37 -0
- package/esm2015/app/components/body/row/menu-action/menu-action.component.js +50 -0
- package/esm2015/app/components/body/row/row.component.js +330 -0
- package/esm2015/app/components/customize-cols/customize-cols.component.js +72 -0
- package/esm2015/app/components/footer/footer-row/footer-cell/footer-cell.component.js +20 -0
- package/esm2015/app/components/footer/footer-row/footer-row.component.js +33 -0
- package/esm2015/app/components/footer/footer.component.js +36 -0
- package/esm2015/app/components/head/head-cell/head-cell.component.js +34 -0
- package/esm2015/app/components/head/head.component.js +108 -0
- package/esm2015/app/components/list/list.component.js +397 -0
- package/esm2015/app/components/loader/loader.component.js +45 -0
- package/esm2015/app/components/manage-saved-filters/manage-saved-filters.component.js +79 -0
- package/esm2015/app/components/pagination/pagination.component.js +42 -0
- package/esm2015/app/components/saved-filters/saved-filters.component.js +32 -0
- package/esm2015/app/components/status/status.component.js +72 -0
- package/{esm2020/app/directives/cell/cell.directive.mjs → esm2015/app/directives/cell/cell.directive.js} +18 -18
- package/{esm2020/app/directives/column/column.directive.mjs → esm2015/app/directives/column/column.directive.js} +112 -112
- package/{esm2020/app/directives/content/content.directive.mjs → esm2015/app/directives/content/content.directive.js} +13 -13
- package/{esm2020/app/directives/content-init/content-init.directive.mjs → esm2015/app/directives/content-init/content-init.directive.js} +22 -22
- package/esm2015/app/directives/draggable-list/draggable-list.directive.js +330 -0
- package/esm2015/app/directives/draggable-row/draggable-row.directive.js +79 -0
- package/{esm2020/app/directives/empty-state/empty-state.directive.mjs → esm2015/app/directives/empty-state/empty-state.directive.js} +13 -13
- package/{esm2020/app/directives/footer/footer.directive.mjs → esm2015/app/directives/footer/footer.directive.js} +18 -18
- package/{esm2020/app/directives/group-expand-trigger/group-expand-trigger.directive.mjs → esm2015/app/directives/group-expand-trigger/group-expand-trigger.directive.js} +26 -26
- package/{esm2020/app/directives/group-footer/group-footer.directive.mjs → esm2015/app/directives/group-footer/group-footer.directive.js} +14 -14
- package/{esm2020/app/directives/group-header/group-header.directive.mjs → esm2015/app/directives/group-header/group-header.directive.js} +14 -14
- package/{esm2020/app/directives/header/header.directive.mjs → esm2015/app/directives/header/header.directive.js} +18 -18
- package/{esm2020/app/directives/heading/heading.directive.mjs → esm2015/app/directives/heading/heading.directive.js} +13 -13
- package/{esm2020/app/directives/heading-container/heading-container.directive.mjs → esm2015/app/directives/heading-container/heading-container.directive.js} +13 -13
- package/{esm2020/app/directives/index.mjs → esm2015/app/directives/index.js} +4 -4
- package/{esm2020/app/directives/subheading/subheading.directive.mjs → esm2015/app/directives/subheading/subheading.directive.js} +13 -13
- package/{esm2020/app/enums/button-type.enum.mjs → esm2015/app/enums/button-type.enum.js} +9 -9
- package/{esm2020/app/enums/page-change-type.enum.mjs → esm2015/app/enums/page-change-type.enum.js} +6 -6
- package/{esm2020/app/enums/pagination-strategy.enum.mjs → esm2015/app/enums/pagination-strategy.enum.js} +7 -7
- package/{esm2020/app/enums/row-type.enum.mjs → esm2015/app/enums/row-type.enum.js} +7 -7
- package/{esm2020/app/enums/state.enum.mjs → esm2015/app/enums/state.enum.js} +11 -11
- package/{esm2020/app/fs-list.module.mjs → esm2015/app/fs-list.module.js} +246 -246
- package/{esm2020/app/fs-list.providers.mjs → esm2015/app/fs-list.providers.js} +4 -4
- package/{esm2020/app/interfaces/cellconfig.interface.mjs → esm2015/app/interfaces/cellconfig.interface.js} +2 -2
- package/{esm2020/app/interfaces/column-config.interface.mjs → esm2015/app/interfaces/column-config.interface.js} +1 -1
- package/{esm2020/app/interfaces/draggable-list.interface.mjs → esm2015/app/interfaces/draggable-list.interface.js} +2 -2
- package/esm2015/app/interfaces/external-params.interface.js +2 -0
- package/{esm2020/app/interfaces/index.mjs → esm2015/app/interfaces/index.js} +5 -5
- package/{esm2020/app/interfaces/listconfig.interface.mjs → esm2015/app/interfaces/listconfig.interface.js} +1 -1
- package/esm2015/app/interfaces/pagination-state.interface.js +2 -0
- package/esm2015/app/interfaces/pagination.interface.js +2 -0
- package/{esm2020/app/interfaces/sorting-change-event.interface.mjs → esm2015/app/interfaces/sorting-change-event.interface.js} +2 -2
- package/{esm2020/app/models/column-async-attribute.mjs → esm2015/app/models/column-async-attribute.js} +13 -13
- package/{esm2020/app/models/column-attributes.mjs → esm2015/app/models/column-attributes.js} +130 -130
- package/{esm2020/app/models/column.model.mjs → esm2015/app/models/column.model.js} +162 -162
- package/{esm2020/app/models/row/base-row.mjs → esm2015/app/models/row/base-row.js} +23 -23
- package/{esm2020/app/models/row/child-row.mjs → esm2015/app/models/row/child-row.js} +28 -28
- package/{esm2020/app/models/row/group-footer-row.mjs → esm2015/app/models/row/group-footer-row.js} +20 -20
- package/{esm2020/app/models/row/group-row.mjs → esm2015/app/models/row/group-row.js} +44 -44
- package/{esm2020/app/models/row/simple-row.mjs → esm2015/app/models/row/simple-row.js} +10 -10
- package/esm2015/app/models/row-action.model.js +90 -0
- package/{esm2020/app/models/row.mjs → esm2015/app/models/row.js} +88 -88
- package/{esm2020/app/models/styleConfig.model.mjs → esm2015/app/models/styleConfig.model.js} +75 -75
- package/{esm2020/app/pipes/action-label.mjs → esm2015/app/pipes/action-label.js} +17 -17
- package/{esm2020/app/pipes/index.mjs → esm2015/app/pipes/index.js} +1 -1
- package/{esm2020/app/services/group-expand-notifier.service.mjs → esm2015/app/services/group-expand-notifier.service.js} +26 -26
- package/{esm2020/firestitch-list.mjs → esm2015/firestitch-list.js} +4 -4
- package/{esm2020/public_api.mjs → esm2015/public_api.js} +46 -46
- package/fesm2015/{firestitch-list.mjs → firestitch-list.js} +5803 -5711
- package/fesm2015/firestitch-list.js.map +1 -0
- package/firestitch-list.d.ts +5 -5
- package/package.json +7 -20
- package/public_api.d.ts +41 -40
- package/esm2020/app/classes/data-controller.mjs +0 -367
- package/esm2020/app/classes/external-params-controller.mjs +0 -147
- package/esm2020/app/classes/list-controller.mjs +0 -752
- package/esm2020/app/classes/pagination-controller.mjs +0 -467
- package/esm2020/app/classes/reorder-controller.mjs +0 -182
- package/esm2020/app/classes/selection-controller.mjs +0 -468
- package/esm2020/app/components/body/body.component.mjs +0 -64
- package/esm2020/app/components/body/row/actions/actions.component.mjs +0 -97
- package/esm2020/app/components/body/row/cell/cell.component.mjs +0 -107
- package/esm2020/app/components/body/row/inline-action/inline-action.component.mjs +0 -33
- package/esm2020/app/components/body/row/menu-action/menu-action.component.mjs +0 -46
- package/esm2020/app/components/body/row/row.component.mjs +0 -323
- package/esm2020/app/components/customize-cols/customize-cols.component.mjs +0 -68
- package/esm2020/app/components/footer/footer-row/footer-cell/footer-cell.component.mjs +0 -16
- package/esm2020/app/components/footer/footer-row/footer-row.component.mjs +0 -28
- package/esm2020/app/components/footer/footer.component.mjs +0 -31
- package/esm2020/app/components/head/head-cell/head-cell.component.mjs +0 -29
- package/esm2020/app/components/head/head.component.mjs +0 -103
- package/esm2020/app/components/list/list.component.mjs +0 -388
- package/esm2020/app/components/loader/loader.component.mjs +0 -40
- package/esm2020/app/components/manage-saved-filters/manage-saved-filters.component.mjs +0 -76
- package/esm2020/app/components/pagination/pagination.component.mjs +0 -37
- package/esm2020/app/components/saved-filters/saved-filters.component.mjs +0 -29
- package/esm2020/app/components/status/status.component.mjs +0 -66
- package/esm2020/app/directives/draggable-list/draggable-list.directive.mjs +0 -328
- package/esm2020/app/directives/draggable-row/draggable-row.directive.mjs +0 -78
- package/esm2020/app/interfaces/external-params.interface.mjs +0 -2
- package/esm2020/app/interfaces/pagination.interface.mjs +0 -2
- package/esm2020/app/models/row-action.model.mjs +0 -90
- package/fesm2015/firestitch-list.mjs.map +0 -1
- package/fesm2020/firestitch-list.mjs +0 -5846
- package/fesm2020/firestitch-list.mjs.map +0 -1
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { FsMenuComponent } from '@firestitch/menu';
|
|
3
|
-
import { FsListRowActionFile } from '../../../../interfaces/listconfig.interface';
|
|
4
|
-
import { Row } from '../../../../models/row';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class FsRowMenuActionComponent {
|
|
7
|
-
private _menu;
|
|
8
|
-
row: Row;
|
|
9
|
-
icon: string;
|
|
10
|
-
label: string;
|
|
11
|
-
file: FsListRowActionFile;
|
|
12
|
-
fileSelect: EventEmitter<any>;
|
|
13
|
-
fileError: EventEmitter<any>;
|
|
14
|
-
constructor(_menu: FsMenuComponent);
|
|
15
|
-
selectFile(event: any): void;
|
|
16
|
-
errorFile(event: any): void;
|
|
17
|
-
closeMenu(): void;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FsRowMenuActionComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FsRowMenuActionComponent, "fs-list-row-menu-action", never, { "row": "row"; "icon": "icon"; "label": "label"; "file": "file"; }, { "fileSelect": "fileSelect"; "fileError": "fileError"; }, never, never>;
|
|
20
|
-
}
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { FsMenuComponent } from '@firestitch/menu';
|
|
3
|
+
import { FsListRowActionFile } from '../../../../interfaces/listconfig.interface';
|
|
4
|
+
import { Row } from '../../../../models/row';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class FsRowMenuActionComponent {
|
|
7
|
+
private _menu;
|
|
8
|
+
row: Row;
|
|
9
|
+
icon: string;
|
|
10
|
+
label: string;
|
|
11
|
+
file: FsListRowActionFile;
|
|
12
|
+
fileSelect: EventEmitter<any>;
|
|
13
|
+
fileError: EventEmitter<any>;
|
|
14
|
+
constructor(_menu: FsMenuComponent);
|
|
15
|
+
selectFile(event: any): void;
|
|
16
|
+
errorFile(event: any): void;
|
|
17
|
+
closeMenu(): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FsRowMenuActionComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FsRowMenuActionComponent, "fs-list-row-menu-action", never, { "row": "row"; "icon": "icon"; "label": "label"; "file": "file"; }, { "fileSelect": "fileSelect"; "fileError": "fileError"; }, never, never>;
|
|
20
|
+
}
|
|
@@ -1,85 +1,85 @@
|
|
|
1
|
-
import { ChangeDetectorRef, DoCheck, ElementRef, EventEmitter, KeyValueDiffers, OnDestroy, OnInit, Renderer2 } from '@angular/core';
|
|
2
|
-
import { MatCheckboxChange } from '@angular/material/checkbox';
|
|
3
|
-
import { ReorderPosition, ReorderStrategy } from '../../../classes/reorder-controller';
|
|
4
|
-
import { SelectionController } from '../../../classes/selection-controller';
|
|
5
|
-
import { FsListDraggableListDirective } from '../../../directives/draggable-list/draggable-list.directive';
|
|
6
|
-
import { Column } from '../../../models/column.model';
|
|
7
|
-
import { Row } from '../../../models/row';
|
|
8
|
-
import { RowAction } from '../../../models/row-action.model';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
export declare class FsRowComponent implements OnInit, DoCheck, OnDestroy {
|
|
11
|
-
el: ElementRef;
|
|
12
|
-
private _cdRef;
|
|
13
|
-
private _differs;
|
|
14
|
-
private _renderer;
|
|
15
|
-
private _draggableList;
|
|
16
|
-
role: string;
|
|
17
|
-
row: Row;
|
|
18
|
-
rowActionsRaw: any[];
|
|
19
|
-
groupActionsRaw: any[];
|
|
20
|
-
hasRowActions: boolean;
|
|
21
|
-
rowEvents: {};
|
|
22
|
-
rowClass: any;
|
|
23
|
-
restoreMode: boolean;
|
|
24
|
-
rowIndex: number;
|
|
25
|
-
columns: Column[];
|
|
26
|
-
selection: SelectionController;
|
|
27
|
-
rowRemoved: EventEmitter<any>;
|
|
28
|
-
activeFiltersCount: number;
|
|
29
|
-
reorderEnabled: boolean;
|
|
30
|
-
reorderPosition: ReorderPosition | null;
|
|
31
|
-
reorderStrategy: ReorderStrategy | null;
|
|
32
|
-
reorderMultiple: boolean;
|
|
33
|
-
cellRefs: any;
|
|
34
|
-
readonly ReorderPosition: typeof ReorderPosition;
|
|
35
|
-
readonly ReorderStrategy: typeof ReorderStrategy;
|
|
36
|
-
rowActions: RowAction[];
|
|
37
|
-
menuRowActions: RowAction[];
|
|
38
|
-
inlineRowActions: RowAction[];
|
|
39
|
-
restoreAction: RowAction;
|
|
40
|
-
selected: boolean;
|
|
41
|
-
indeterminateSelected: boolean | 'indeterminate';
|
|
42
|
-
private _rowDiffer;
|
|
43
|
-
private _eventListeners;
|
|
44
|
-
private _destroy$;
|
|
45
|
-
constructor(el: ElementRef, _cdRef: ChangeDetectorRef, _differs: KeyValueDiffers, _renderer: Renderer2, _draggableList: FsListDraggableListDirective);
|
|
46
|
-
get isGroupRow(): boolean;
|
|
47
|
-
get isGroupChildRow(): boolean;
|
|
48
|
-
get isGroupFooterRow(): boolean;
|
|
49
|
-
get isDragDisabled(): boolean;
|
|
50
|
-
get isMultipleSelection(): boolean;
|
|
51
|
-
get rowCssClass(): string;
|
|
52
|
-
get dragCellVisible(): boolean;
|
|
53
|
-
get leftDragDropEnabled(): boolean;
|
|
54
|
-
get rightDragDropEnabled(): boolean;
|
|
55
|
-
ngOnInit(): void;
|
|
56
|
-
ngDoCheck(): void;
|
|
57
|
-
updateRowActions(): void;
|
|
58
|
-
ngOnDestroy(): void;
|
|
59
|
-
/**
|
|
60
|
-
* Select row by checkbox
|
|
61
|
-
*
|
|
62
|
-
* @param event
|
|
63
|
-
*/
|
|
64
|
-
selectRow(event: MatCheckboxChange): void;
|
|
65
|
-
/**
|
|
66
|
-
* Track By for improve change detection
|
|
67
|
-
*
|
|
68
|
-
* @param index
|
|
69
|
-
*/
|
|
70
|
-
trackByFn(index: any): any;
|
|
71
|
-
dragStart(event: any): void;
|
|
72
|
-
/**
|
|
73
|
-
* Set event listeners for row
|
|
74
|
-
*/
|
|
75
|
-
private _initRowEvents;
|
|
76
|
-
private _initRowActionsUpdate;
|
|
77
|
-
private _getRowClasses;
|
|
78
|
-
/**
|
|
79
|
-
* Subscribe to selection change events
|
|
80
|
-
*/
|
|
81
|
-
private _initSelection;
|
|
82
|
-
private _filterActionsByCategories;
|
|
83
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FsRowComponent, never>;
|
|
84
|
-
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"; "activeFiltersCount": "activeFiltersCount"; "reorderEnabled": "reorderEnabled"; "reorderPosition": "reorderPosition"; "reorderStrategy": "reorderStrategy"; "reorderMultiple": "reorderMultiple"; }, {}, never, never>;
|
|
85
|
-
}
|
|
1
|
+
import { ChangeDetectorRef, DoCheck, ElementRef, EventEmitter, KeyValueDiffers, OnDestroy, OnInit, Renderer2 } from '@angular/core';
|
|
2
|
+
import { MatCheckboxChange } from '@angular/material/checkbox';
|
|
3
|
+
import { ReorderPosition, ReorderStrategy } from '../../../classes/reorder-controller';
|
|
4
|
+
import { SelectionController } from '../../../classes/selection-controller';
|
|
5
|
+
import { FsListDraggableListDirective } from '../../../directives/draggable-list/draggable-list.directive';
|
|
6
|
+
import { Column } from '../../../models/column.model';
|
|
7
|
+
import { Row } from '../../../models/row';
|
|
8
|
+
import { RowAction } from '../../../models/row-action.model';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class FsRowComponent implements OnInit, DoCheck, OnDestroy {
|
|
11
|
+
el: ElementRef;
|
|
12
|
+
private _cdRef;
|
|
13
|
+
private _differs;
|
|
14
|
+
private _renderer;
|
|
15
|
+
private _draggableList;
|
|
16
|
+
role: string;
|
|
17
|
+
row: Row;
|
|
18
|
+
rowActionsRaw: any[];
|
|
19
|
+
groupActionsRaw: any[];
|
|
20
|
+
hasRowActions: boolean;
|
|
21
|
+
rowEvents: {};
|
|
22
|
+
rowClass: any;
|
|
23
|
+
restoreMode: boolean;
|
|
24
|
+
rowIndex: number;
|
|
25
|
+
columns: Column[];
|
|
26
|
+
selection: SelectionController;
|
|
27
|
+
rowRemoved: EventEmitter<any>;
|
|
28
|
+
activeFiltersCount: number;
|
|
29
|
+
reorderEnabled: boolean;
|
|
30
|
+
reorderPosition: ReorderPosition | null;
|
|
31
|
+
reorderStrategy: ReorderStrategy | null;
|
|
32
|
+
reorderMultiple: boolean;
|
|
33
|
+
cellRefs: any;
|
|
34
|
+
readonly ReorderPosition: typeof ReorderPosition;
|
|
35
|
+
readonly ReorderStrategy: typeof ReorderStrategy;
|
|
36
|
+
rowActions: RowAction[];
|
|
37
|
+
menuRowActions: RowAction[];
|
|
38
|
+
inlineRowActions: RowAction[];
|
|
39
|
+
restoreAction: RowAction;
|
|
40
|
+
selected: boolean;
|
|
41
|
+
indeterminateSelected: boolean | 'indeterminate';
|
|
42
|
+
private _rowDiffer;
|
|
43
|
+
private _eventListeners;
|
|
44
|
+
private _destroy$;
|
|
45
|
+
constructor(el: ElementRef, _cdRef: ChangeDetectorRef, _differs: KeyValueDiffers, _renderer: Renderer2, _draggableList: FsListDraggableListDirective);
|
|
46
|
+
get isGroupRow(): boolean;
|
|
47
|
+
get isGroupChildRow(): boolean;
|
|
48
|
+
get isGroupFooterRow(): boolean;
|
|
49
|
+
get isDragDisabled(): boolean;
|
|
50
|
+
get isMultipleSelection(): boolean;
|
|
51
|
+
get rowCssClass(): string;
|
|
52
|
+
get dragCellVisible(): boolean;
|
|
53
|
+
get leftDragDropEnabled(): boolean;
|
|
54
|
+
get rightDragDropEnabled(): boolean;
|
|
55
|
+
ngOnInit(): void;
|
|
56
|
+
ngDoCheck(): void;
|
|
57
|
+
updateRowActions(): void;
|
|
58
|
+
ngOnDestroy(): void;
|
|
59
|
+
/**
|
|
60
|
+
* Select row by checkbox
|
|
61
|
+
*
|
|
62
|
+
* @param event
|
|
63
|
+
*/
|
|
64
|
+
selectRow(event: MatCheckboxChange): void;
|
|
65
|
+
/**
|
|
66
|
+
* Track By for improve change detection
|
|
67
|
+
*
|
|
68
|
+
* @param index
|
|
69
|
+
*/
|
|
70
|
+
trackByFn(index: any): any;
|
|
71
|
+
dragStart(event: any): void;
|
|
72
|
+
/**
|
|
73
|
+
* Set event listeners for row
|
|
74
|
+
*/
|
|
75
|
+
private _initRowEvents;
|
|
76
|
+
private _initRowActionsUpdate;
|
|
77
|
+
private _getRowClasses;
|
|
78
|
+
/**
|
|
79
|
+
* Subscribe to selection change events
|
|
80
|
+
*/
|
|
81
|
+
private _initSelection;
|
|
82
|
+
private _filterActionsByCategories;
|
|
83
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FsRowComponent, never>;
|
|
84
|
+
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"; "activeFiltersCount": "activeFiltersCount"; "reorderEnabled": "reorderEnabled"; "reorderPosition": "reorderPosition"; "reorderStrategy": "reorderStrategy"; "reorderMultiple": "reorderMultiple"; }, {}, never, never>;
|
|
85
|
+
}
|
|
@@ -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,14 +1,14 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, KeyValueDiffers, Renderer2 } from '@angular/core';
|
|
2
|
-
import { ReorderPosition, ReorderStrategy } from '../../../classes/reorder-controller';
|
|
3
|
-
import { FsRowComponent } from '../../body/row/row.component';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class FsFooterRowComponent extends FsRowComponent {
|
|
6
|
-
hasRowActions: boolean;
|
|
7
|
-
activeFiltersCount: number;
|
|
8
|
-
reorderEnabled: boolean;
|
|
9
|
-
reorderPosition: ReorderPosition | null;
|
|
10
|
-
reorderStrategy: ReorderStrategy | null;
|
|
11
|
-
constructor(el: ElementRef, cdRef: ChangeDetectorRef, differs: KeyValueDiffers, renderer: Renderer2);
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FsFooterRowComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FsFooterRowComponent, "[fs-list-footer-row]", never, { "hasRowActions": "hasRowActions"; "activeFiltersCount": "activeFiltersCount"; "reorderEnabled": "reorderEnabled"; "reorderPosition": "reorderPosition"; "reorderStrategy": "reorderStrategy"; }, {}, never, never>;
|
|
14
|
-
}
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, KeyValueDiffers, Renderer2 } from '@angular/core';
|
|
2
|
+
import { ReorderPosition, ReorderStrategy } from '../../../classes/reorder-controller';
|
|
3
|
+
import { FsRowComponent } from '../../body/row/row.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class FsFooterRowComponent extends FsRowComponent {
|
|
6
|
+
hasRowActions: boolean;
|
|
7
|
+
activeFiltersCount: number;
|
|
8
|
+
reorderEnabled: boolean;
|
|
9
|
+
reorderPosition: ReorderPosition | null;
|
|
10
|
+
reorderStrategy: ReorderStrategy | null;
|
|
11
|
+
constructor(el: ElementRef, cdRef: ChangeDetectorRef, differs: KeyValueDiffers, renderer: Renderer2);
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FsFooterRowComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FsFooterRowComponent, "[fs-list-footer-row]", never, { "hasRowActions": "hasRowActions"; "activeFiltersCount": "activeFiltersCount"; "reorderEnabled": "reorderEnabled"; "reorderPosition": "reorderPosition"; "reorderStrategy": "reorderStrategy"; }, {}, never, never>;
|
|
14
|
+
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { ReorderPosition, ReorderStrategy } from '../../classes/reorder-controller';
|
|
2
|
-
import { SelectionController } from '../../classes/selection-controller';
|
|
3
|
-
import { Column } from '../../models/column.model';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class FsFooterComponent {
|
|
6
|
-
hasRowActions: boolean;
|
|
7
|
-
columns: Column[];
|
|
8
|
-
selection: SelectionController;
|
|
9
|
-
activeFiltersCount: number;
|
|
10
|
-
reorderEnabled: boolean;
|
|
11
|
-
reorderPosition: ReorderPosition | null;
|
|
12
|
-
reorderStrategy: ReorderStrategy | null;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FsFooterComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FsFooterComponent, "[fs-list-footer]", never, { "hasRowActions": "hasRowActions"; "columns": "columns"; "selection": "selection"; "activeFiltersCount": "activeFiltersCount"; "reorderEnabled": "reorderEnabled"; "reorderPosition": "reorderPosition"; "reorderStrategy": "reorderStrategy"; }, {}, never, never>;
|
|
15
|
-
}
|
|
1
|
+
import { ReorderPosition, ReorderStrategy } from '../../classes/reorder-controller';
|
|
2
|
+
import { SelectionController } from '../../classes/selection-controller';
|
|
3
|
+
import { Column } from '../../models/column.model';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class FsFooterComponent {
|
|
6
|
+
hasRowActions: boolean;
|
|
7
|
+
columns: Column[];
|
|
8
|
+
selection: SelectionController;
|
|
9
|
+
activeFiltersCount: number;
|
|
10
|
+
reorderEnabled: boolean;
|
|
11
|
+
reorderPosition: ReorderPosition | null;
|
|
12
|
+
reorderStrategy: ReorderStrategy | null;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FsFooterComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FsFooterComponent, "[fs-list-footer]", never, { "hasRowActions": "hasRowActions"; "columns": "columns"; "selection": "selection"; "activeFiltersCount": "activeFiltersCount"; "reorderEnabled": "reorderEnabled"; "reorderPosition": "reorderPosition"; "reorderStrategy": "reorderStrategy"; }, {}, never, never>;
|
|
15
|
+
}
|
|
@@ -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,49 +1,49 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { MatCheckboxChange } from '@angular/material/checkbox';
|
|
3
|
-
import { ReorderPosition, ReorderStrategy } from '../../classes/reorder-controller';
|
|
4
|
-
import { SelectionController } from '../../classes/selection-controller';
|
|
5
|
-
import { SortingController } from '../../classes/sorting-controller';
|
|
6
|
-
import { Column } from '../../models/column.model';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class FsHeadComponent implements OnInit, OnDestroy {
|
|
9
|
-
private _cdRef;
|
|
10
|
-
sorting: SortingController;
|
|
11
|
-
columns: Column[];
|
|
12
|
-
hasRowActions: boolean;
|
|
13
|
-
selection: SelectionController;
|
|
14
|
-
activeFiltersCount: number;
|
|
15
|
-
reorderEnabled: boolean;
|
|
16
|
-
reorderPosition: ReorderPosition | null;
|
|
17
|
-
reorderStrategy: ReorderStrategy | null;
|
|
18
|
-
rowsContainer: any;
|
|
19
|
-
selectedAll: boolean;
|
|
20
|
-
readonly ReorderStrategyEnum: typeof ReorderStrategy;
|
|
21
|
-
private _destroy$;
|
|
22
|
-
constructor(_cdRef: ChangeDetectorRef);
|
|
23
|
-
get leftDragDropEnabled(): boolean;
|
|
24
|
-
get rightDragDropEnabled(): boolean;
|
|
25
|
-
ngOnInit(): void;
|
|
26
|
-
ngOnDestroy(): void;
|
|
27
|
-
/**
|
|
28
|
-
* Select All Visible Rows
|
|
29
|
-
*
|
|
30
|
-
* @param event
|
|
31
|
-
*/
|
|
32
|
-
selectAll(event: MatCheckboxChange): void;
|
|
33
|
-
/**
|
|
34
|
-
* Track By for improve change detection
|
|
35
|
-
*
|
|
36
|
-
* @param index
|
|
37
|
-
*/
|
|
38
|
-
trackByFn(index: any): any;
|
|
39
|
-
/**
|
|
40
|
-
* Subscribe to sorting change
|
|
41
|
-
*/
|
|
42
|
-
private _initSorting;
|
|
43
|
-
/**
|
|
44
|
-
* Subscribe to selection change
|
|
45
|
-
*/
|
|
46
|
-
private _initSelection;
|
|
47
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FsHeadComponent, never>;
|
|
48
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FsHeadComponent, "[fs-list-head]", never, { "sorting": "sorting"; "columns": "columns"; "hasRowActions": "hasRowActions"; "selection": "selection"; "activeFiltersCount": "activeFiltersCount"; "reorderEnabled": "reorderEnabled"; "reorderPosition": "reorderPosition"; "reorderStrategy": "reorderStrategy"; }, {}, never, never>;
|
|
49
|
-
}
|
|
1
|
+
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { MatCheckboxChange } from '@angular/material/checkbox';
|
|
3
|
+
import { ReorderPosition, ReorderStrategy } from '../../classes/reorder-controller';
|
|
4
|
+
import { SelectionController } from '../../classes/selection-controller';
|
|
5
|
+
import { SortingController } from '../../classes/sorting-controller';
|
|
6
|
+
import { Column } from '../../models/column.model';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class FsHeadComponent implements OnInit, OnDestroy {
|
|
9
|
+
private _cdRef;
|
|
10
|
+
sorting: SortingController;
|
|
11
|
+
columns: Column[];
|
|
12
|
+
hasRowActions: boolean;
|
|
13
|
+
selection: SelectionController;
|
|
14
|
+
activeFiltersCount: number;
|
|
15
|
+
reorderEnabled: boolean;
|
|
16
|
+
reorderPosition: ReorderPosition | null;
|
|
17
|
+
reorderStrategy: ReorderStrategy | null;
|
|
18
|
+
rowsContainer: any;
|
|
19
|
+
selectedAll: boolean;
|
|
20
|
+
readonly ReorderStrategyEnum: typeof ReorderStrategy;
|
|
21
|
+
private _destroy$;
|
|
22
|
+
constructor(_cdRef: ChangeDetectorRef);
|
|
23
|
+
get leftDragDropEnabled(): boolean;
|
|
24
|
+
get rightDragDropEnabled(): boolean;
|
|
25
|
+
ngOnInit(): void;
|
|
26
|
+
ngOnDestroy(): void;
|
|
27
|
+
/**
|
|
28
|
+
* Select All Visible Rows
|
|
29
|
+
*
|
|
30
|
+
* @param event
|
|
31
|
+
*/
|
|
32
|
+
selectAll(event: MatCheckboxChange): void;
|
|
33
|
+
/**
|
|
34
|
+
* Track By for improve change detection
|
|
35
|
+
*
|
|
36
|
+
* @param index
|
|
37
|
+
*/
|
|
38
|
+
trackByFn(index: any): any;
|
|
39
|
+
/**
|
|
40
|
+
* Subscribe to sorting change
|
|
41
|
+
*/
|
|
42
|
+
private _initSorting;
|
|
43
|
+
/**
|
|
44
|
+
* Subscribe to selection change
|
|
45
|
+
*/
|
|
46
|
+
private _initSelection;
|
|
47
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FsHeadComponent, never>;
|
|
48
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FsHeadComponent, "[fs-list-head]", never, { "sorting": "sorting"; "columns": "columns"; "hasRowActions": "hasRowActions"; "selection": "selection"; "activeFiltersCount": "activeFiltersCount"; "reorderEnabled": "reorderEnabled"; "reorderPosition": "reorderPosition"; "reorderStrategy": "reorderStrategy"; }, {}, never, never>;
|
|
49
|
+
}
|