@firestitch/list 9.9.9 → 9.10.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 +65 -65
- package/app/classes/data-controller.d.ts +89 -89
- 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 +166 -166
- package/app/classes/pagination-controller.d.ts +185 -185
- package/app/classes/persistance-controller.d.ts +7 -7
- package/app/classes/reorder-controller.d.ts +56 -56
- package/app/classes/selection-controller.d.ts +141 -141
- package/app/classes/sorting-controller.d.ts +64 -63
- package/app/components/body/body.component.d.ts +29 -29
- package/app/components/body/row/actions/actions.component.d.ts +32 -32
- package/app/components/body/row/cell/cell.component.d.ts +20 -20
- package/app/components/body/row/inline-action/inline-action.component.d.ts +10 -10
- package/app/components/body/row/row.component.d.ts +66 -66
- package/app/components/customize-cols/customize-cols.component.d.ts +14 -14
- package/app/components/footer/footer-row/footer-cell/footer-cell.component.d.ts +7 -4
- package/app/components/footer/footer-row/footer-row.component.d.ts +10 -8
- package/app/components/footer/footer.component.d.ts +10 -8
- package/app/components/head/head-cell/head-cell.component.d.ts +11 -11
- package/app/components/head/head.component.d.ts +40 -40
- package/app/components/list/list.component.d.ts +108 -108
- package/app/components/loader/loader.component.d.ts +11 -11
- package/app/components/manage-saved-filters/manage-saved-filters.component.d.ts +10 -10
- package/app/components/pagination/pagination.component.d.ts +11 -11
- package/app/components/saved-filters/saved-filters.component.d.ts +12 -12
- package/app/components/status/status.component.d.ts +18 -18
- package/app/directives/cell/cell.directive.d.ts +5 -5
- package/app/directives/column/column.directive.d.ts +24 -23
- package/app/directives/draggable-list/draggable-list.directive.d.ts +77 -77
- package/app/directives/draggable-row/draggable-row.directive.d.ts +18 -18
- package/app/directives/empty-state/empty-state.directive.d.ts +2 -2
- package/app/directives/footer/footer.directive.d.ts +5 -5
- package/app/directives/group-cell/group-cell.directive.d.ts +3 -3
- package/app/directives/group-expand-trigger/group-expand-trigger.directive.d.ts +7 -7
- package/app/directives/header/header.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 +5 -5
- package/app/enums/state.enum.d.ts +9 -9
- package/app/fs-list.module.d.ts +6 -6
- package/app/fs-list.providers.d.ts +3 -3
- package/app/interfaces/cellconfig.interface.d.ts +5 -5
- 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 +220 -220
- package/app/interfaces/pagination.interface.d.ts +13 -13
- package/app/models/column.model.d.ts +48 -46
- 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-row.d.ts +14 -14
- 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 +28 -28
- package/app/models/styleConfig.model.d.ts +31 -31
- package/app/services/group-expand-notifier.service.d.ts +8 -8
- package/bundles/firestitch-list.umd.js +5832 -5783
- package/bundles/firestitch-list.umd.js.map +1 -1
- package/bundles/firestitch-list.umd.min.js +1 -1
- package/bundles/firestitch-list.umd.min.js.map +1 -1
- package/esm2015/app/classes/actions-controller.js +55 -55
- package/esm2015/app/classes/columns-controller.js +185 -185
- package/esm2015/app/classes/data-controller.js +318 -311
- package/esm2015/app/classes/external-params-controller.js +155 -155
- package/esm2015/app/classes/index.js +3 -3
- package/esm2015/app/classes/list-controller.js +730 -730
- package/esm2015/app/classes/pagination-controller.js +461 -461
- package/esm2015/app/classes/persistance-controller.js +22 -22
- package/esm2015/app/classes/reorder-controller.js +161 -161
- package/esm2015/app/classes/selection-controller.js +444 -444
- package/esm2015/app/classes/sorting-controller.js +177 -167
- package/esm2015/app/components/body/body.component.js +103 -103
- package/esm2015/app/components/body/row/actions/actions.component.js +110 -110
- package/esm2015/app/components/body/row/cell/cell.component.js +93 -93
- package/esm2015/app/components/body/row/inline-action/inline-action.component.js +34 -34
- package/esm2015/app/components/body/row/row.component.js +267 -267
- package/esm2015/app/components/customize-cols/customize-cols.component.js +67 -67
- package/esm2015/app/components/footer/footer-row/footer-cell/footer-cell.component.js +27 -18
- package/esm2015/app/components/footer/footer-row/footer-row.component.js +39 -35
- package/esm2015/app/components/footer/footer.component.js +34 -30
- package/esm2015/app/components/head/head-cell/head-cell.component.js +35 -35
- package/esm2015/app/components/head/head.component.js +99 -99
- package/esm2015/app/components/list/list.component.js +357 -357
- package/esm2015/app/components/loader/loader.component.js +46 -46
- package/esm2015/app/components/manage-saved-filters/manage-saved-filters.component.js +75 -75
- package/esm2015/app/components/pagination/pagination.component.js +44 -44
- package/esm2015/app/components/saved-filters/saved-filters.component.js +36 -36
- package/esm2015/app/components/status/status.component.js +77 -77
- package/esm2015/app/directives/cell/cell.directive.js +21 -21
- package/esm2015/app/directives/column/column.directive.js +97 -93
- package/esm2015/app/directives/draggable-list/draggable-list.directive.js +264 -264
- package/esm2015/app/directives/draggable-row/draggable-row.directive.js +81 -81
- package/esm2015/app/directives/empty-state/empty-state.directive.js +11 -11
- package/esm2015/app/directives/footer/footer.directive.js +21 -21
- package/esm2015/app/directives/group-cell/group-cell.directive.js +12 -12
- package/esm2015/app/directives/group-expand-trigger/group-expand-trigger.directive.js +32 -32
- package/esm2015/app/directives/header/header.directive.js +21 -21
- 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 +140 -140
- package/esm2015/app/fs-list.providers.js +4 -4
- package/esm2015/app/interfaces/cellconfig.interface.js +1 -1
- package/esm2015/app/interfaces/draggable-list.interface.js +1 -1
- package/esm2015/app/interfaces/external-params.interface.js +1 -1
- package/esm2015/app/interfaces/index.js +1 -1
- package/esm2015/app/interfaces/listconfig.interface.js +1 -1
- package/esm2015/app/interfaces/pagination.interface.js +1 -1
- package/esm2015/app/models/column.model.js +185 -175
- 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-row.js +41 -41
- package/esm2015/app/models/row/simple-row.js +10 -10
- package/esm2015/app/models/row-action.model.js +115 -115
- package/esm2015/app/models/row.js +77 -77
- package/esm2015/app/models/styleConfig.model.js +86 -86
- package/esm2015/app/services/group-expand-notifier.service.js +25 -25
- package/esm2015/firestitch-list.js +17 -17
- package/esm2015/public_api.js +40 -40
- package/esm5/app/classes/actions-controller.js +71 -71
- package/esm5/app/classes/columns-controller.js +236 -236
- package/esm5/app/classes/data-controller.js +374 -365
- package/esm5/app/classes/external-params-controller.js +185 -185
- package/esm5/app/classes/index.js +3 -3
- package/esm5/app/classes/list-controller.js +749 -749
- package/esm5/app/classes/pagination-controller.js +568 -568
- package/esm5/app/classes/persistance-controller.js +25 -25
- package/esm5/app/classes/reorder-controller.js +195 -195
- package/esm5/app/classes/selection-controller.js +465 -465
- package/esm5/app/classes/sorting-controller.js +204 -194
- package/esm5/app/components/body/body.component.js +104 -104
- package/esm5/app/components/body/row/actions/actions.component.js +113 -113
- package/esm5/app/components/body/row/cell/cell.component.js +95 -95
- package/esm5/app/components/body/row/inline-action/inline-action.component.js +35 -35
- package/esm5/app/components/body/row/row.component.js +295 -295
- package/esm5/app/components/customize-cols/customize-cols.component.js +69 -69
- package/esm5/app/components/footer/footer-row/footer-cell/footer-cell.component.js +29 -20
- package/esm5/app/components/footer/footer-row/footer-row.component.js +42 -38
- package/esm5/app/components/footer/footer.component.js +35 -31
- package/esm5/app/components/head/head-cell/head-cell.component.js +38 -38
- package/esm5/app/components/head/head.component.js +106 -106
- package/esm5/app/components/list/list.component.js +391 -391
- package/esm5/app/components/loader/loader.component.js +47 -47
- package/esm5/app/components/manage-saved-filters/manage-saved-filters.component.js +81 -81
- package/esm5/app/components/pagination/pagination.component.js +46 -46
- package/esm5/app/components/saved-filters/saved-filters.component.js +41 -41
- package/esm5/app/components/status/status.component.js +79 -79
- package/esm5/app/directives/cell/cell.directive.js +24 -24
- package/esm5/app/directives/column/column.directive.js +98 -94
- package/esm5/app/directives/draggable-list/draggable-list.directive.js +281 -281
- package/esm5/app/directives/draggable-row/draggable-row.directive.js +83 -83
- package/esm5/app/directives/empty-state/empty-state.directive.js +14 -14
- package/esm5/app/directives/footer/footer.directive.js +24 -24
- package/esm5/app/directives/group-cell/group-cell.directive.js +17 -17
- package/esm5/app/directives/group-expand-trigger/group-expand-trigger.directive.js +33 -33
- package/esm5/app/directives/header/header.directive.js +24 -24
- package/esm5/app/enums/button-type.enum.js +9 -9
- package/esm5/app/enums/page-change-type.enum.js +6 -6
- package/esm5/app/enums/pagination-strategy.enum.js +7 -7
- package/esm5/app/enums/row-type.enum.js +7 -7
- package/esm5/app/enums/state.enum.js +11 -11
- package/esm5/app/fs-list.module.js +145 -145
- package/esm5/app/fs-list.providers.js +4 -4
- package/esm5/app/interfaces/cellconfig.interface.js +1 -1
- package/esm5/app/interfaces/draggable-list.interface.js +1 -1
- package/esm5/app/interfaces/external-params.interface.js +1 -1
- package/esm5/app/interfaces/index.js +1 -1
- package/esm5/app/interfaces/listconfig.interface.js +1 -1
- package/esm5/app/interfaces/pagination.interface.js +1 -1
- package/esm5/app/models/column.model.js +204 -194
- package/esm5/app/models/row/base-row.js +35 -35
- package/esm5/app/models/row/child-row.js +43 -43
- package/esm5/app/models/row/group-row.js +61 -61
- package/esm5/app/models/row/simple-row.js +15 -15
- package/esm5/app/models/row-action.model.js +126 -126
- package/esm5/app/models/row.js +126 -126
- package/esm5/app/models/styleConfig.model.js +91 -91
- package/esm5/app/services/group-expand-notifier.service.js +30 -30
- package/esm5/firestitch-list.js +17 -17
- package/esm5/public_api.js +40 -40
- package/fesm2015/firestitch-list.js +5188 -5141
- package/fesm2015/firestitch-list.js.map +1 -1
- package/fesm5/firestitch-list.js +5817 -5768
- package/fesm5/firestitch-list.js.map +1 -1
- package/firestitch-list.d.ts +18 -18
- package/firestitch-list.metadata.json +1 -1
- package/package.json +1 -1
- package/public_api.d.ts +33 -33
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { SortingController } from '../../classes/sorting-controller';
|
|
3
|
-
import { PaginationController } from '../../classes/pagination-controller';
|
|
4
|
-
export declare class FsStatusComponent implements OnInit, OnDestroy {
|
|
5
|
-
private _cdRef;
|
|
6
|
-
paging: PaginationController;
|
|
7
|
-
sorting: SortingController;
|
|
8
|
-
rows: any;
|
|
9
|
-
scrollable: 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
|
-
}
|
|
1
|
+
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { SortingController } from '../../classes/sorting-controller';
|
|
3
|
+
import { PaginationController } from '../../classes/pagination-controller';
|
|
4
|
+
export declare class FsStatusComponent implements OnInit, OnDestroy {
|
|
5
|
+
private _cdRef;
|
|
6
|
+
paging: PaginationController;
|
|
7
|
+
sorting: SortingController;
|
|
8
|
+
rows: any;
|
|
9
|
+
scrollable: 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
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare class FsListCellDirective {
|
|
2
|
-
colspan: any;
|
|
3
|
-
align: string;
|
|
4
|
-
className: string | string[];
|
|
5
|
-
}
|
|
1
|
+
export declare class FsListCellDirective {
|
|
2
|
+
colspan: any;
|
|
3
|
+
align: string;
|
|
4
|
+
className: string | string[];
|
|
5
|
+
}
|
|
@@ -1,23 +1,24 @@
|
|
|
1
|
-
import { QueryList, TemplateRef } from '@angular/core';
|
|
2
|
-
import { CellConfig } from '../../interfaces';
|
|
3
|
-
import { FsListGroupExpandTriggerDirective } from '../group-expand-trigger/group-expand-trigger.directive';
|
|
4
|
-
export declare class FsListColumnDirective {
|
|
5
|
-
title: string;
|
|
6
|
-
name: string;
|
|
7
|
-
show: boolean;
|
|
8
|
-
customize: boolean;
|
|
9
|
-
sortable: boolean;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
1
|
+
import { QueryList, TemplateRef } from '@angular/core';
|
|
2
|
+
import { CellConfig } from '../../interfaces';
|
|
3
|
+
import { FsListGroupExpandTriggerDirective } from '../group-expand-trigger/group-expand-trigger.directive';
|
|
4
|
+
export declare class FsListColumnDirective {
|
|
5
|
+
title: string;
|
|
6
|
+
name: string;
|
|
7
|
+
show: boolean;
|
|
8
|
+
customize: boolean;
|
|
9
|
+
sortable: boolean;
|
|
10
|
+
sortableDefault: boolean;
|
|
11
|
+
direction: 'asc' | 'desc';
|
|
12
|
+
align: string;
|
|
13
|
+
width: string;
|
|
14
|
+
className: string | string[];
|
|
15
|
+
headerTemplate: TemplateRef<any>;
|
|
16
|
+
headerConfigs: CellConfig;
|
|
17
|
+
groupCellTemplate: TemplateRef<any>;
|
|
18
|
+
groupCellConfigs: CellConfig;
|
|
19
|
+
expandTrigger: QueryList<FsListGroupExpandTriggerDirective>;
|
|
20
|
+
cellTemplate: TemplateRef<any>;
|
|
21
|
+
cellConfigs: CellConfig;
|
|
22
|
+
footerTemplate: TemplateRef<any>;
|
|
23
|
+
footerConfigs: CellConfig;
|
|
24
|
+
}
|
|
@@ -1,77 +1,77 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, NgZone } from '@angular/core';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { ReorderController } from '../../classes/reorder-controller';
|
|
4
|
-
import { Row } from '../../models/row';
|
|
5
|
-
export declare class FsListDraggableListDirective {
|
|
6
|
-
private _cdRef;
|
|
7
|
-
private _zone;
|
|
8
|
-
private _containerElement;
|
|
9
|
-
private _reorderController;
|
|
10
|
-
private _draggableElement;
|
|
11
|
-
private _draggableElementPreview;
|
|
12
|
-
private _draggableElementHeight;
|
|
13
|
-
private _draggableElementIndex;
|
|
14
|
-
private _dragToHandler;
|
|
15
|
-
private _dragEndHandler;
|
|
16
|
-
private _windowTouchMoveHandler;
|
|
17
|
-
private _dragInProgress;
|
|
18
|
-
private _childRowElements;
|
|
19
|
-
private _dragStart$;
|
|
20
|
-
private _dragEnd$;
|
|
21
|
-
private _rows;
|
|
22
|
-
private _destroy$;
|
|
23
|
-
constructor(_cdRef: ChangeDetectorRef, _zone: NgZone, _containerElement: ElementRef, _reorderController: ReorderController);
|
|
24
|
-
get dragStart$(): Observable<void>;
|
|
25
|
-
get dragEnd$(): Observable<void>;
|
|
26
|
-
get draggableItem(): Row;
|
|
27
|
-
/**
|
|
28
|
-
* Prepare draggable elements and add events
|
|
29
|
-
* @param draggableElement
|
|
30
|
-
*/
|
|
31
|
-
dragStart(draggableElement: HTMLElement): void;
|
|
32
|
-
/**
|
|
33
|
-
* Move draggable elements and swap items
|
|
34
|
-
* @param event
|
|
35
|
-
*/
|
|
36
|
-
dragTo(event: any): void;
|
|
37
|
-
/**
|
|
38
|
-
* Remove events and classes after drag finish
|
|
39
|
-
*/
|
|
40
|
-
dragEnd(): void;
|
|
41
|
-
/**
|
|
42
|
-
* looking row elements and save their dims
|
|
43
|
-
*/
|
|
44
|
-
private prepareElements;
|
|
45
|
-
/**
|
|
46
|
-
* Store child rows
|
|
47
|
-
*/
|
|
48
|
-
private lookupChildElements;
|
|
49
|
-
/**
|
|
50
|
-
* Calc child rows sizes/offsets
|
|
51
|
-
*/
|
|
52
|
-
private calcElementsDimensions;
|
|
53
|
-
/**
|
|
54
|
-
* Init draggable element
|
|
55
|
-
*/
|
|
56
|
-
private initDraggableElement;
|
|
57
|
-
/**
|
|
58
|
-
* Looking by stored row elemens for overlapped row
|
|
59
|
-
* @param event
|
|
60
|
-
*/
|
|
61
|
-
private lookupElementUnder;
|
|
62
|
-
/**
|
|
63
|
-
* Swap rows
|
|
64
|
-
* @param index
|
|
65
|
-
*/
|
|
66
|
-
private swapWithIndex;
|
|
67
|
-
/**
|
|
68
|
-
* Update cell width for draggable elem
|
|
69
|
-
*/
|
|
70
|
-
private updateDraggableDims;
|
|
71
|
-
private _waitUntilIsNotDone;
|
|
72
|
-
/**
|
|
73
|
-
* Fix background when mobile
|
|
74
|
-
* @param e
|
|
75
|
-
*/
|
|
76
|
-
private touchFix;
|
|
77
|
-
}
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, NgZone } from '@angular/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { ReorderController } from '../../classes/reorder-controller';
|
|
4
|
+
import { Row } from '../../models/row';
|
|
5
|
+
export declare class FsListDraggableListDirective {
|
|
6
|
+
private _cdRef;
|
|
7
|
+
private _zone;
|
|
8
|
+
private _containerElement;
|
|
9
|
+
private _reorderController;
|
|
10
|
+
private _draggableElement;
|
|
11
|
+
private _draggableElementPreview;
|
|
12
|
+
private _draggableElementHeight;
|
|
13
|
+
private _draggableElementIndex;
|
|
14
|
+
private _dragToHandler;
|
|
15
|
+
private _dragEndHandler;
|
|
16
|
+
private _windowTouchMoveHandler;
|
|
17
|
+
private _dragInProgress;
|
|
18
|
+
private _childRowElements;
|
|
19
|
+
private _dragStart$;
|
|
20
|
+
private _dragEnd$;
|
|
21
|
+
private _rows;
|
|
22
|
+
private _destroy$;
|
|
23
|
+
constructor(_cdRef: ChangeDetectorRef, _zone: NgZone, _containerElement: ElementRef, _reorderController: ReorderController);
|
|
24
|
+
get dragStart$(): Observable<void>;
|
|
25
|
+
get dragEnd$(): Observable<void>;
|
|
26
|
+
get draggableItem(): Row;
|
|
27
|
+
/**
|
|
28
|
+
* Prepare draggable elements and add events
|
|
29
|
+
* @param draggableElement
|
|
30
|
+
*/
|
|
31
|
+
dragStart(draggableElement: HTMLElement): void;
|
|
32
|
+
/**
|
|
33
|
+
* Move draggable elements and swap items
|
|
34
|
+
* @param event
|
|
35
|
+
*/
|
|
36
|
+
dragTo(event: any): void;
|
|
37
|
+
/**
|
|
38
|
+
* Remove events and classes after drag finish
|
|
39
|
+
*/
|
|
40
|
+
dragEnd(): void;
|
|
41
|
+
/**
|
|
42
|
+
* looking row elements and save their dims
|
|
43
|
+
*/
|
|
44
|
+
private prepareElements;
|
|
45
|
+
/**
|
|
46
|
+
* Store child rows
|
|
47
|
+
*/
|
|
48
|
+
private lookupChildElements;
|
|
49
|
+
/**
|
|
50
|
+
* Calc child rows sizes/offsets
|
|
51
|
+
*/
|
|
52
|
+
private calcElementsDimensions;
|
|
53
|
+
/**
|
|
54
|
+
* Init draggable element
|
|
55
|
+
*/
|
|
56
|
+
private initDraggableElement;
|
|
57
|
+
/**
|
|
58
|
+
* Looking by stored row elemens for overlapped row
|
|
59
|
+
* @param event
|
|
60
|
+
*/
|
|
61
|
+
private lookupElementUnder;
|
|
62
|
+
/**
|
|
63
|
+
* Swap rows
|
|
64
|
+
* @param index
|
|
65
|
+
*/
|
|
66
|
+
private swapWithIndex;
|
|
67
|
+
/**
|
|
68
|
+
* Update cell width for draggable elem
|
|
69
|
+
*/
|
|
70
|
+
private updateDraggableDims;
|
|
71
|
+
private _waitUntilIsNotDone;
|
|
72
|
+
/**
|
|
73
|
+
* Fix background when mobile
|
|
74
|
+
* @param e
|
|
75
|
+
*/
|
|
76
|
+
private touchFix;
|
|
77
|
+
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { ElementRef, OnDestroy, OnInit, Renderer2 } from '@angular/core';
|
|
2
|
-
import { ReorderController } from '../../classes/reorder-controller';
|
|
3
|
-
import { Row } from '../../models/row';
|
|
4
|
-
import { FsListDraggableListDirective } from '../draggable-list/draggable-list.directive';
|
|
5
|
-
export declare class FsListDraggableRowDirective implements OnInit, OnDestroy {
|
|
6
|
-
private _el;
|
|
7
|
-
private _renderer;
|
|
8
|
-
private _reorderController;
|
|
9
|
-
private _draggableList;
|
|
10
|
-
row: Row;
|
|
11
|
-
private _destroy$;
|
|
12
|
-
constructor(_el: ElementRef, _renderer: Renderer2, _reorderController: ReorderController, _draggableList: FsListDraggableListDirective);
|
|
13
|
-
ngOnInit(): void;
|
|
14
|
-
ngOnDestroy(): void;
|
|
15
|
-
private _listenDragEvents;
|
|
16
|
-
private _markReadyToSwapRows;
|
|
17
|
-
private _unmarkRows;
|
|
18
|
-
}
|
|
1
|
+
import { ElementRef, OnDestroy, OnInit, Renderer2 } from '@angular/core';
|
|
2
|
+
import { ReorderController } from '../../classes/reorder-controller';
|
|
3
|
+
import { Row } from '../../models/row';
|
|
4
|
+
import { FsListDraggableListDirective } from '../draggable-list/draggable-list.directive';
|
|
5
|
+
export declare class FsListDraggableRowDirective implements OnInit, OnDestroy {
|
|
6
|
+
private _el;
|
|
7
|
+
private _renderer;
|
|
8
|
+
private _reorderController;
|
|
9
|
+
private _draggableList;
|
|
10
|
+
row: Row;
|
|
11
|
+
private _destroy$;
|
|
12
|
+
constructor(_el: ElementRef, _renderer: Renderer2, _reorderController: ReorderController, _draggableList: FsListDraggableListDirective);
|
|
13
|
+
ngOnInit(): void;
|
|
14
|
+
ngOnDestroy(): void;
|
|
15
|
+
private _listenDragEvents;
|
|
16
|
+
private _markReadyToSwapRows;
|
|
17
|
+
private _unmarkRows;
|
|
18
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare class FsListEmptyStateDirective {
|
|
2
|
-
}
|
|
1
|
+
export declare class FsListEmptyStateDirective {
|
|
2
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare class FsListFooterDirective {
|
|
2
|
-
colspan: any;
|
|
3
|
-
align: string;
|
|
4
|
-
className: string | string[];
|
|
5
|
-
}
|
|
1
|
+
export declare class FsListFooterDirective {
|
|
2
|
+
colspan: any;
|
|
3
|
+
align: string;
|
|
4
|
+
className: string | string[];
|
|
5
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { FsListCellDirective } from '../cell/cell.directive';
|
|
2
|
-
export declare class FsListGroupCellDirective extends FsListCellDirective {
|
|
3
|
-
}
|
|
1
|
+
import { FsListCellDirective } from '../cell/cell.directive';
|
|
2
|
+
export declare class FsListGroupCellDirective extends FsListCellDirective {
|
|
3
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { GroupExpandNotifierService } from '../../services/group-expand-notifier.service';
|
|
2
|
-
export declare class FsListGroupExpandTriggerDirective {
|
|
3
|
-
private _expandNotifier;
|
|
4
|
-
click(event: any): void;
|
|
5
|
-
row: any;
|
|
6
|
-
constructor(_expandNotifier: GroupExpandNotifierService);
|
|
7
|
-
}
|
|
1
|
+
import { GroupExpandNotifierService } from '../../services/group-expand-notifier.service';
|
|
2
|
+
export declare class FsListGroupExpandTriggerDirective {
|
|
3
|
+
private _expandNotifier;
|
|
4
|
+
click(event: any): void;
|
|
5
|
+
row: any;
|
|
6
|
+
constructor(_expandNotifier: GroupExpandNotifierService);
|
|
7
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare class FsListHeaderDirective {
|
|
2
|
-
colspan: any;
|
|
3
|
-
align: string;
|
|
4
|
-
className: string | string[];
|
|
5
|
-
}
|
|
1
|
+
export declare class FsListHeaderDirective {
|
|
2
|
+
colspan: any;
|
|
3
|
+
align: string;
|
|
4
|
+
className: string | string[];
|
|
5
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export declare enum ActionType {
|
|
2
|
-
Basic = "basic",
|
|
3
|
-
Raised = "raised",
|
|
4
|
-
Icon = "icon",
|
|
5
|
-
Fab = "fab",
|
|
6
|
-
MiniFab = "mini-fab"
|
|
7
|
-
}
|
|
1
|
+
export declare enum ActionType {
|
|
2
|
+
Basic = "basic",
|
|
3
|
+
Raised = "raised",
|
|
4
|
+
Icon = "icon",
|
|
5
|
+
Fab = "fab",
|
|
6
|
+
MiniFab = "mini-fab"
|
|
7
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare enum PageChangeType {
|
|
2
|
-
Default = 0,
|
|
3
|
-
LimitChanged = 1
|
|
4
|
-
}
|
|
1
|
+
export declare enum PageChangeType {
|
|
2
|
+
Default = 0,
|
|
3
|
+
LimitChanged = 1
|
|
4
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare enum PaginationStrategy {
|
|
2
|
-
Page = "page",
|
|
3
|
-
Offset = "offset",
|
|
4
|
-
None = "none"
|
|
5
|
-
}
|
|
1
|
+
export declare enum PaginationStrategy {
|
|
2
|
+
Page = "page",
|
|
3
|
+
Offset = "offset",
|
|
4
|
+
None = "none"
|
|
5
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare enum RowType {
|
|
2
|
-
Simple = 0,
|
|
3
|
-
Group = 1,
|
|
4
|
-
Child = 2
|
|
5
|
-
}
|
|
1
|
+
export declare enum RowType {
|
|
2
|
+
Simple = 0,
|
|
3
|
+
Group = 1,
|
|
4
|
+
Child = 2
|
|
5
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export declare enum FsListState {
|
|
2
|
-
Idle = 0,
|
|
3
|
-
Load = 1,
|
|
4
|
-
Reload = 2,
|
|
5
|
-
Filter = 3,
|
|
6
|
-
Sort = 4,
|
|
7
|
-
PageChange = 5,
|
|
8
|
-
LoadMore = 6
|
|
9
|
-
}
|
|
1
|
+
export declare enum FsListState {
|
|
2
|
+
Idle = 0,
|
|
3
|
+
Load = 1,
|
|
4
|
+
Reload = 2,
|
|
5
|
+
Filter = 3,
|
|
6
|
+
Sort = 4,
|
|
7
|
+
PageChange = 5,
|
|
8
|
+
LoadMore = 6
|
|
9
|
+
}
|
package/app/fs-list.module.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
-
import { FsListConfig } from './interfaces';
|
|
3
|
-
export declare class FsListModule {
|
|
4
|
-
static forRoot(config?: FsListConfig): ModuleWithProviders<FsListModule>;
|
|
5
|
-
}
|
|
6
|
-
export declare function FsListConfigFactory(config: FsListConfig): any;
|
|
1
|
+
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
+
import { FsListConfig } from './interfaces';
|
|
3
|
+
export declare class FsListModule {
|
|
4
|
+
static forRoot(config?: FsListConfig): ModuleWithProviders<FsListModule>;
|
|
5
|
+
}
|
|
6
|
+
export declare function FsListConfigFactory(config: FsListConfig): any;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
export declare const FS_LIST_DEFAULT_CONFIG: InjectionToken<any[]>;
|
|
3
|
-
export declare const FS_LIST_CONFIG: InjectionToken<any[]>;
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
export declare const FS_LIST_DEFAULT_CONFIG: InjectionToken<any[]>;
|
|
3
|
+
export declare const FS_LIST_CONFIG: InjectionToken<any[]>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export interface CellConfig {
|
|
2
|
-
colspan?: string;
|
|
3
|
-
align?: string;
|
|
4
|
-
styleClass?: string | string[];
|
|
5
|
-
}
|
|
1
|
+
export interface CellConfig {
|
|
2
|
+
colspan?: string;
|
|
3
|
+
align?: string;
|
|
4
|
+
styleClass?: string | string[];
|
|
5
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export interface FsListDragChildRowElement {
|
|
2
|
-
target: HTMLElement;
|
|
3
|
-
active: boolean;
|
|
4
|
-
center: number;
|
|
5
|
-
height: number;
|
|
6
|
-
index: number;
|
|
7
|
-
}
|
|
1
|
+
export interface FsListDragChildRowElement {
|
|
2
|
+
target: HTMLElement;
|
|
3
|
+
active: boolean;
|
|
4
|
+
center: number;
|
|
5
|
+
height: number;
|
|
6
|
+
index: number;
|
|
7
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { SortingDirection } from '../models/column.model';
|
|
2
|
-
export declare type ExternalParams = IExternalPaginationParams & IExternalSortingParams;
|
|
3
|
-
export declare type ExternalQueryPagination = Record<keyof IExternalPaginationParams, string>;
|
|
4
|
-
export declare type ExternalQuerySorting = IExternalSortingParams;
|
|
5
|
-
interface IExternalPaginationParams {
|
|
6
|
-
page: number;
|
|
7
|
-
limit: number;
|
|
8
|
-
}
|
|
9
|
-
interface IExternalSortingParams {
|
|
10
|
-
sortName: string;
|
|
11
|
-
sortDirection: SortingDirection;
|
|
12
|
-
}
|
|
13
|
-
export {};
|
|
1
|
+
import { SortingDirection } from '../models/column.model';
|
|
2
|
+
export declare type ExternalParams = IExternalPaginationParams & IExternalSortingParams;
|
|
3
|
+
export declare type ExternalQueryPagination = Record<keyof IExternalPaginationParams, string>;
|
|
4
|
+
export declare type ExternalQuerySorting = IExternalSortingParams;
|
|
5
|
+
interface IExternalPaginationParams {
|
|
6
|
+
page: number;
|
|
7
|
+
limit: number;
|
|
8
|
+
}
|
|
9
|
+
interface IExternalSortingParams {
|
|
10
|
+
sortName: string;
|
|
11
|
+
sortDirection: SortingDirection;
|
|
12
|
+
}
|
|
13
|
+
export {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './cellconfig.interface';
|
|
2
|
-
export * from './listconfig.interface';
|
|
3
|
-
export * from './pagination.interface';
|
|
1
|
+
export * from './cellconfig.interface';
|
|
2
|
+
export * from './listconfig.interface';
|
|
3
|
+
export * from './pagination.interface';
|