@firestitch/list 9.9.7 → 9.9.11

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.
Files changed (193) hide show
  1. package/app/classes/actions-controller.d.ts +20 -20
  2. package/app/classes/columns-controller.d.ts +65 -65
  3. package/app/classes/data-controller.d.ts +89 -89
  4. package/app/classes/external-params-controller.d.ts +31 -31
  5. package/app/classes/index.d.ts +2 -2
  6. package/app/classes/list-controller.d.ts +166 -166
  7. package/app/classes/pagination-controller.d.ts +185 -185
  8. package/app/classes/persistance-controller.d.ts +7 -7
  9. package/app/classes/reorder-controller.d.ts +56 -56
  10. package/app/classes/selection-controller.d.ts +141 -141
  11. package/app/classes/sorting-controller.d.ts +64 -63
  12. package/app/components/body/body.component.d.ts +29 -29
  13. package/app/components/body/row/actions/actions.component.d.ts +32 -32
  14. package/app/components/body/row/cell/cell.component.d.ts +20 -20
  15. package/app/components/body/row/inline-action/inline-action.component.d.ts +10 -10
  16. package/app/components/body/row/row.component.d.ts +66 -66
  17. package/app/components/customize-cols/customize-cols.component.d.ts +14 -14
  18. package/app/components/footer/footer-row/footer-cell/footer-cell.component.d.ts +4 -4
  19. package/app/components/footer/footer-row/footer-row.component.d.ts +8 -8
  20. package/app/components/footer/footer.component.d.ts +8 -8
  21. package/app/components/head/head-cell/head-cell.component.d.ts +11 -11
  22. package/app/components/head/head.component.d.ts +40 -40
  23. package/app/components/list/list.component.d.ts +108 -108
  24. package/app/components/loader/loader.component.d.ts +11 -11
  25. package/app/components/manage-saved-filters/manage-saved-filters.component.d.ts +10 -10
  26. package/app/components/pagination/pagination.component.d.ts +11 -11
  27. package/app/components/saved-filters/saved-filters.component.d.ts +12 -12
  28. package/app/components/status/status.component.d.ts +18 -18
  29. package/app/directives/cell/cell.directive.d.ts +5 -5
  30. package/app/directives/column/column.directive.d.ts +24 -23
  31. package/app/directives/draggable-list/draggable-list.directive.d.ts +77 -77
  32. package/app/directives/draggable-row/draggable-row.directive.d.ts +18 -18
  33. package/app/directives/empty-state/empty-state.directive.d.ts +2 -2
  34. package/app/directives/footer/footer.directive.d.ts +5 -5
  35. package/app/directives/group-cell/group-cell.directive.d.ts +3 -3
  36. package/app/directives/group-expand-trigger/group-expand-trigger.directive.d.ts +7 -7
  37. package/app/directives/header/header.directive.d.ts +5 -5
  38. package/app/enums/button-type.enum.d.ts +7 -7
  39. package/app/enums/page-change-type.enum.d.ts +4 -4
  40. package/app/enums/pagination-strategy.enum.d.ts +5 -5
  41. package/app/enums/row-type.enum.d.ts +5 -5
  42. package/app/enums/state.enum.d.ts +9 -9
  43. package/app/fs-list.module.d.ts +6 -6
  44. package/app/fs-list.providers.d.ts +3 -3
  45. package/app/interfaces/cellconfig.interface.d.ts +5 -5
  46. package/app/interfaces/draggable-list.interface.d.ts +7 -7
  47. package/app/interfaces/external-params.interface.d.ts +13 -13
  48. package/app/interfaces/index.d.ts +3 -3
  49. package/app/interfaces/listconfig.interface.d.ts +220 -220
  50. package/app/interfaces/pagination.interface.d.ts +13 -13
  51. package/app/models/column.model.d.ts +48 -46
  52. package/app/models/row/base-row.d.ts +13 -13
  53. package/app/models/row/child-row.d.ts +12 -12
  54. package/app/models/row/group-row.d.ts +14 -14
  55. package/app/models/row/simple-row.d.ts +5 -5
  56. package/app/models/row-action.model.d.ts +29 -29
  57. package/app/models/row.d.ts +28 -28
  58. package/app/models/styleConfig.model.d.ts +31 -31
  59. package/app/services/group-expand-notifier.service.d.ts +8 -8
  60. package/bundles/firestitch-list.umd.js +5814 -5784
  61. package/bundles/firestitch-list.umd.js.map +1 -1
  62. package/bundles/firestitch-list.umd.min.js +1 -1
  63. package/bundles/firestitch-list.umd.min.js.map +1 -1
  64. package/esm2015/app/classes/actions-controller.js +55 -55
  65. package/esm2015/app/classes/columns-controller.js +185 -185
  66. package/esm2015/app/classes/data-controller.js +317 -311
  67. package/esm2015/app/classes/external-params-controller.js +155 -155
  68. package/esm2015/app/classes/index.js +3 -3
  69. package/esm2015/app/classes/list-controller.js +730 -730
  70. package/esm2015/app/classes/pagination-controller.js +461 -461
  71. package/esm2015/app/classes/persistance-controller.js +22 -22
  72. package/esm2015/app/classes/reorder-controller.js +161 -161
  73. package/esm2015/app/classes/selection-controller.js +444 -444
  74. package/esm2015/app/classes/sorting-controller.js +181 -172
  75. package/esm2015/app/components/body/body.component.js +103 -103
  76. package/esm2015/app/components/body/row/actions/actions.component.js +110 -110
  77. package/esm2015/app/components/body/row/cell/cell.component.js +93 -93
  78. package/esm2015/app/components/body/row/inline-action/inline-action.component.js +34 -34
  79. package/esm2015/app/components/body/row/row.component.js +267 -267
  80. package/esm2015/app/components/customize-cols/customize-cols.component.js +67 -67
  81. package/esm2015/app/components/footer/footer-row/footer-cell/footer-cell.component.js +18 -18
  82. package/esm2015/app/components/footer/footer-row/footer-row.component.js +35 -35
  83. package/esm2015/app/components/footer/footer.component.js +30 -30
  84. package/esm2015/app/components/head/head-cell/head-cell.component.js +35 -35
  85. package/esm2015/app/components/head/head.component.js +99 -99
  86. package/esm2015/app/components/list/list.component.js +357 -357
  87. package/esm2015/app/components/loader/loader.component.js +46 -46
  88. package/esm2015/app/components/manage-saved-filters/manage-saved-filters.component.js +75 -75
  89. package/esm2015/app/components/pagination/pagination.component.js +44 -44
  90. package/esm2015/app/components/saved-filters/saved-filters.component.js +36 -36
  91. package/esm2015/app/components/status/status.component.js +77 -77
  92. package/esm2015/app/directives/cell/cell.directive.js +21 -21
  93. package/esm2015/app/directives/column/column.directive.js +97 -93
  94. package/esm2015/app/directives/draggable-list/draggable-list.directive.js +264 -264
  95. package/esm2015/app/directives/draggable-row/draggable-row.directive.js +81 -81
  96. package/esm2015/app/directives/empty-state/empty-state.directive.js +11 -11
  97. package/esm2015/app/directives/footer/footer.directive.js +21 -21
  98. package/esm2015/app/directives/group-cell/group-cell.directive.js +12 -12
  99. package/esm2015/app/directives/group-expand-trigger/group-expand-trigger.directive.js +32 -32
  100. package/esm2015/app/directives/header/header.directive.js +21 -21
  101. package/esm2015/app/enums/button-type.enum.js +9 -9
  102. package/esm2015/app/enums/page-change-type.enum.js +6 -6
  103. package/esm2015/app/enums/pagination-strategy.enum.js +7 -7
  104. package/esm2015/app/enums/row-type.enum.js +7 -7
  105. package/esm2015/app/enums/state.enum.js +11 -11
  106. package/esm2015/app/fs-list.module.js +140 -140
  107. package/esm2015/app/fs-list.providers.js +4 -4
  108. package/esm2015/app/interfaces/cellconfig.interface.js +1 -1
  109. package/esm2015/app/interfaces/draggable-list.interface.js +1 -1
  110. package/esm2015/app/interfaces/external-params.interface.js +1 -1
  111. package/esm2015/app/interfaces/index.js +1 -1
  112. package/esm2015/app/interfaces/listconfig.interface.js +1 -1
  113. package/esm2015/app/interfaces/pagination.interface.js +1 -1
  114. package/esm2015/app/models/column.model.js +185 -175
  115. package/esm2015/app/models/row/base-row.js +23 -23
  116. package/esm2015/app/models/row/child-row.js +28 -28
  117. package/esm2015/app/models/row/group-row.js +41 -41
  118. package/esm2015/app/models/row/simple-row.js +10 -10
  119. package/esm2015/app/models/row-action.model.js +115 -115
  120. package/esm2015/app/models/row.js +77 -77
  121. package/esm2015/app/models/styleConfig.model.js +86 -86
  122. package/esm2015/app/services/group-expand-notifier.service.js +25 -25
  123. package/esm2015/firestitch-list.js +17 -17
  124. package/esm2015/public_api.js +40 -40
  125. package/esm5/app/classes/actions-controller.js +71 -71
  126. package/esm5/app/classes/columns-controller.js +236 -236
  127. package/esm5/app/classes/data-controller.js +373 -365
  128. package/esm5/app/classes/external-params-controller.js +185 -185
  129. package/esm5/app/classes/index.js +3 -3
  130. package/esm5/app/classes/list-controller.js +749 -749
  131. package/esm5/app/classes/pagination-controller.js +568 -568
  132. package/esm5/app/classes/persistance-controller.js +25 -25
  133. package/esm5/app/classes/reorder-controller.js +195 -195
  134. package/esm5/app/classes/selection-controller.js +465 -465
  135. package/esm5/app/classes/sorting-controller.js +204 -195
  136. package/esm5/app/components/body/body.component.js +104 -104
  137. package/esm5/app/components/body/row/actions/actions.component.js +113 -113
  138. package/esm5/app/components/body/row/cell/cell.component.js +95 -95
  139. package/esm5/app/components/body/row/inline-action/inline-action.component.js +35 -35
  140. package/esm5/app/components/body/row/row.component.js +295 -295
  141. package/esm5/app/components/customize-cols/customize-cols.component.js +69 -69
  142. package/esm5/app/components/footer/footer-row/footer-cell/footer-cell.component.js +20 -20
  143. package/esm5/app/components/footer/footer-row/footer-row.component.js +38 -38
  144. package/esm5/app/components/footer/footer.component.js +31 -31
  145. package/esm5/app/components/head/head-cell/head-cell.component.js +38 -38
  146. package/esm5/app/components/head/head.component.js +106 -106
  147. package/esm5/app/components/list/list.component.js +391 -391
  148. package/esm5/app/components/loader/loader.component.js +47 -47
  149. package/esm5/app/components/manage-saved-filters/manage-saved-filters.component.js +81 -81
  150. package/esm5/app/components/pagination/pagination.component.js +46 -46
  151. package/esm5/app/components/saved-filters/saved-filters.component.js +41 -41
  152. package/esm5/app/components/status/status.component.js +79 -79
  153. package/esm5/app/directives/cell/cell.directive.js +24 -24
  154. package/esm5/app/directives/column/column.directive.js +98 -94
  155. package/esm5/app/directives/draggable-list/draggable-list.directive.js +281 -281
  156. package/esm5/app/directives/draggable-row/draggable-row.directive.js +83 -83
  157. package/esm5/app/directives/empty-state/empty-state.directive.js +14 -14
  158. package/esm5/app/directives/footer/footer.directive.js +24 -24
  159. package/esm5/app/directives/group-cell/group-cell.directive.js +17 -17
  160. package/esm5/app/directives/group-expand-trigger/group-expand-trigger.directive.js +33 -33
  161. package/esm5/app/directives/header/header.directive.js +24 -24
  162. package/esm5/app/enums/button-type.enum.js +9 -9
  163. package/esm5/app/enums/page-change-type.enum.js +6 -6
  164. package/esm5/app/enums/pagination-strategy.enum.js +7 -7
  165. package/esm5/app/enums/row-type.enum.js +7 -7
  166. package/esm5/app/enums/state.enum.js +11 -11
  167. package/esm5/app/fs-list.module.js +145 -145
  168. package/esm5/app/fs-list.providers.js +4 -4
  169. package/esm5/app/interfaces/cellconfig.interface.js +1 -1
  170. package/esm5/app/interfaces/draggable-list.interface.js +1 -1
  171. package/esm5/app/interfaces/external-params.interface.js +1 -1
  172. package/esm5/app/interfaces/index.js +1 -1
  173. package/esm5/app/interfaces/listconfig.interface.js +1 -1
  174. package/esm5/app/interfaces/pagination.interface.js +1 -1
  175. package/esm5/app/models/column.model.js +204 -194
  176. package/esm5/app/models/row/base-row.js +35 -35
  177. package/esm5/app/models/row/child-row.js +43 -43
  178. package/esm5/app/models/row/group-row.js +61 -61
  179. package/esm5/app/models/row/simple-row.js +15 -15
  180. package/esm5/app/models/row-action.model.js +126 -126
  181. package/esm5/app/models/row.js +126 -126
  182. package/esm5/app/models/styleConfig.model.js +91 -91
  183. package/esm5/app/services/group-expand-notifier.service.js +30 -30
  184. package/esm5/firestitch-list.js +17 -17
  185. package/esm5/public_api.js +40 -40
  186. package/fesm2015/firestitch-list.js +5174 -5146
  187. package/fesm2015/firestitch-list.js.map +1 -1
  188. package/fesm5/firestitch-list.js +5799 -5769
  189. package/fesm5/firestitch-list.js.map +1 -1
  190. package/firestitch-list.d.ts +18 -18
  191. package/firestitch-list.metadata.json +1 -1
  192. package/package.json +1 -1
  193. package/public_api.d.ts +33 -33
@@ -1,66 +1,66 @@
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
- export declare class FsRowComponent implements OnInit, DoCheck, OnDestroy {
10
- el: ElementRef;
11
- reorderController: ReorderController;
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
- cellRefs: any;
29
- readonly ReorderPosition: typeof ReorderPosition;
30
- readonly ReorderStrategy: typeof ReorderStrategy;
31
- rowActions: RowAction[];
32
- menuRowActions: RowAction[];
33
- inlineRowActions: RowAction[];
34
- restoreAction: RowAction;
35
- selected: boolean;
36
- indeterminateSelected: boolean | 'indeterminate';
37
- private _rowDiffer;
38
- private _eventListeners;
39
- private _destroy$;
40
- constructor(el: ElementRef, reorderController: ReorderController, _cdRef: ChangeDetectorRef, _differs: KeyValueDiffers, _renderer: Renderer2, _draggableList: FsListDraggableListDirective);
41
- get rowCssClass(): string;
42
- get dragCellVisible(): boolean;
43
- ngOnInit(): void;
44
- ngDoCheck(): void;
45
- ngOnDestroy(): void;
46
- /**
47
- * Select row by checkbox
48
- * @param event
49
- */
50
- selectRow(event: MatCheckboxChange): void;
51
- /**
52
- * Track By for improve change detection
53
- * @param index
54
- */
55
- trackByFn(index: any): any;
56
- dragStart(event: any): void;
57
- /**
58
- * Set event listeners for row
59
- */
60
- private initRowEvents;
61
- /**
62
- * Subscribe to selection change events
63
- */
64
- private initSelection;
65
- private filterActionsByCategories;
66
- }
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
+ export declare class FsRowComponent implements OnInit, DoCheck, OnDestroy {
10
+ el: ElementRef;
11
+ reorderController: ReorderController;
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
+ cellRefs: any;
29
+ readonly ReorderPosition: typeof ReorderPosition;
30
+ readonly ReorderStrategy: typeof ReorderStrategy;
31
+ rowActions: RowAction[];
32
+ menuRowActions: RowAction[];
33
+ inlineRowActions: RowAction[];
34
+ restoreAction: RowAction;
35
+ selected: boolean;
36
+ indeterminateSelected: boolean | 'indeterminate';
37
+ private _rowDiffer;
38
+ private _eventListeners;
39
+ private _destroy$;
40
+ constructor(el: ElementRef, reorderController: ReorderController, _cdRef: ChangeDetectorRef, _differs: KeyValueDiffers, _renderer: Renderer2, _draggableList: FsListDraggableListDirective);
41
+ get rowCssClass(): string;
42
+ get dragCellVisible(): boolean;
43
+ ngOnInit(): void;
44
+ ngDoCheck(): void;
45
+ ngOnDestroy(): void;
46
+ /**
47
+ * Select row by checkbox
48
+ * @param event
49
+ */
50
+ selectRow(event: MatCheckboxChange): void;
51
+ /**
52
+ * Track By for improve change detection
53
+ * @param index
54
+ */
55
+ trackByFn(index: any): any;
56
+ dragStart(event: any): void;
57
+ /**
58
+ * Set event listeners for row
59
+ */
60
+ private initRowEvents;
61
+ /**
62
+ * Subscribe to selection change events
63
+ */
64
+ private initSelection;
65
+ private filterActionsByCategories;
66
+ }
@@ -1,14 +1,14 @@
1
- import { OnDestroy } from '@angular/core';
2
- import { MatDialogRef } from '@angular/material/dialog';
3
- export declare class CustomizeColsDialogComponent implements OnDestroy {
4
- private _dialog;
5
- columns: any[];
6
- saveDisabled: boolean;
7
- private _changeFn;
8
- private _destroy$;
9
- constructor(data: any, _dialog: MatDialogRef<any>);
10
- ngOnDestroy(): void;
11
- visibilityChange(event: any, column: any): void;
12
- save(): void;
13
- cancel(): void;
14
- }
1
+ import { OnDestroy } from '@angular/core';
2
+ import { MatDialogRef } from '@angular/material/dialog';
3
+ export declare class CustomizeColsDialogComponent implements OnDestroy {
4
+ private _dialog;
5
+ columns: any[];
6
+ saveDisabled: boolean;
7
+ private _changeFn;
8
+ private _destroy$;
9
+ constructor(data: any, _dialog: MatDialogRef<any>);
10
+ ngOnDestroy(): void;
11
+ visibilityChange(event: any, column: any): void;
12
+ save(): void;
13
+ cancel(): void;
14
+ }
@@ -1,4 +1,4 @@
1
- import { FsCellComponent } from '../../../body/row/cell/cell.component';
2
- export declare class FsFooterCellComponent extends FsCellComponent {
3
- constructor();
4
- }
1
+ import { FsCellComponent } from '../../../body/row/cell/cell.component';
2
+ export declare class FsFooterCellComponent extends FsCellComponent {
3
+ constructor();
4
+ }
@@ -1,8 +1,8 @@
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
- export declare class FsFooterRowComponent extends FsRowComponent {
5
- hasRowActions: boolean;
6
- readonly ReorderPosition: typeof ReorderPosition;
7
- constructor(el: ElementRef, reorderController: ReorderController, cdRef: ChangeDetectorRef, differs: KeyValueDiffers, renderer: Renderer2);
8
- }
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
+ export declare class FsFooterRowComponent extends FsRowComponent {
5
+ hasRowActions: boolean;
6
+ readonly ReorderPosition: typeof ReorderPosition;
7
+ constructor(el: ElementRef, reorderController: ReorderController, cdRef: ChangeDetectorRef, differs: KeyValueDiffers, renderer: Renderer2);
8
+ }
@@ -1,8 +1,8 @@
1
- import { Column } from '../../models/column.model';
2
- import { SelectionController } from '../../classes/selection-controller';
3
- export declare class FsFooterComponent {
4
- hasRowActions: boolean;
5
- columns: Column[];
6
- selection: SelectionController;
7
- constructor();
8
- }
1
+ import { Column } from '../../models/column.model';
2
+ import { SelectionController } from '../../classes/selection-controller';
3
+ export declare class FsFooterComponent {
4
+ hasRowActions: boolean;
5
+ columns: Column[];
6
+ selection: SelectionController;
7
+ constructor();
8
+ }
@@ -1,11 +1,11 @@
1
- import { ChangeDetectorRef, DoCheck, KeyValueDiffers } from '@angular/core';
2
- import { FsCellComponent } from '../../body/row/cell/cell.component';
3
- export declare class FsHeadCellComponent extends FsCellComponent implements DoCheck {
4
- private cdRef;
5
- private differs;
6
- cellContext: any;
7
- private _columnDiffer;
8
- constructor(cdRef: ChangeDetectorRef, differs: KeyValueDiffers);
9
- ngDoCheck(): void;
10
- initCellContext(): void;
11
- }
1
+ import { ChangeDetectorRef, DoCheck, KeyValueDiffers } from '@angular/core';
2
+ import { FsCellComponent } from '../../body/row/cell/cell.component';
3
+ export declare class FsHeadCellComponent extends FsCellComponent implements DoCheck {
4
+ private cdRef;
5
+ private differs;
6
+ cellContext: any;
7
+ private _columnDiffer;
8
+ constructor(cdRef: ChangeDetectorRef, differs: KeyValueDiffers);
9
+ ngDoCheck(): void;
10
+ initCellContext(): void;
11
+ }
@@ -1,40 +1,40 @@
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
- export declare class FsHeadComponent implements OnInit, OnDestroy {
8
- reorderController: ReorderController;
9
- private cdRef;
10
- sorting: SortingController;
11
- columns: Column[];
12
- hasRowActions: boolean;
13
- selection: SelectionController;
14
- rowsContainer: any;
15
- selectedAll: boolean;
16
- readonly ReorderPosition: typeof ReorderPosition;
17
- readonly ReorderStrategy: typeof ReorderStrategy;
18
- private _destroy$;
19
- constructor(reorderController: ReorderController, cdRef: ChangeDetectorRef);
20
- ngOnInit(): void;
21
- ngOnDestroy(): void;
22
- /**
23
- * Select All Visible Rows
24
- * @param event
25
- */
26
- selectAll(event: MatCheckboxChange): void;
27
- /**
28
- * Track By for improve change detection
29
- * @param index
30
- */
31
- trackByFn(index: any): any;
32
- /**
33
- * Subscribe to sorting change
34
- */
35
- private initSorting;
36
- /**
37
- * Subscribe to selection change
38
- */
39
- private initSelection;
40
- }
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
+ export declare class FsHeadComponent implements OnInit, OnDestroy {
8
+ reorderController: ReorderController;
9
+ private cdRef;
10
+ sorting: SortingController;
11
+ columns: Column[];
12
+ hasRowActions: boolean;
13
+ selection: SelectionController;
14
+ rowsContainer: any;
15
+ selectedAll: boolean;
16
+ readonly ReorderPosition: typeof ReorderPosition;
17
+ readonly ReorderStrategy: typeof ReorderStrategy;
18
+ private _destroy$;
19
+ constructor(reorderController: ReorderController, cdRef: ChangeDetectorRef);
20
+ ngOnInit(): void;
21
+ ngOnDestroy(): void;
22
+ /**
23
+ * Select All Visible Rows
24
+ * @param event
25
+ */
26
+ selectAll(event: MatCheckboxChange): void;
27
+ /**
28
+ * Track By for improve change detection
29
+ * @param index
30
+ */
31
+ trackByFn(index: any): any;
32
+ /**
33
+ * Subscribe to sorting change
34
+ */
35
+ private initSorting;
36
+ /**
37
+ * Subscribe to selection change
38
+ */
39
+ private initSelection;
40
+ }
@@ -1,108 +1,108 @@
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
- export declare class FsListComponent implements OnInit, OnDestroy {
15
- reorderController: ReorderController;
16
- private _el;
17
- private _defaultOptions;
18
- private fsScroll;
19
- private selectionDialog;
20
- private dialog;
21
- private cdRef;
22
- private _groupExpandNotifier;
23
- private _router;
24
- private _route;
25
- private _persistance;
26
- private _location;
27
- private _dialogRef;
28
- private _drawerRef;
29
- classFsList: boolean;
30
- set config(config: FsListConfig);
31
- loaderLines: number;
32
- filtersReady: EventEmitter<void>;
33
- list: List;
34
- private listColumnDirectives;
35
- rowRemoved: EventEmitter<any>;
36
- firstLoad: boolean;
37
- private _filterRef;
38
- private _filterParamsReady;
39
- private _inDialog;
40
- private _destroy;
41
- private set filterReference(value);
42
- /**
43
- * Set columns to config
44
- * Create Column Model instances
45
- *
46
- */
47
- private set columnTemplates(value);
48
- private set _emptyStateTemplate(value);
49
- constructor(reorderController: ReorderController, _el: ElementRef, _defaultOptions: any, fsScroll: FsScrollService, selectionDialog: SelectionDialog, dialog: MatDialog, cdRef: ChangeDetectorRef, _groupExpandNotifier: GroupExpandNotifierService, _router: Router, _route: ActivatedRoute, _persistance: PersistanceController, _location: Location, _dialogRef: MatDialogRef<any>, _drawerRef: DrawerRef<any>);
50
- /**
51
- * Return reference for filter
52
- */
53
- get filterRef(): FilterComponent;
54
- get groupEnabled(): boolean;
55
- get paginatorVisible(): boolean;
56
- set groupEnabled(value: boolean);
57
- ngOnInit(): void;
58
- ngOnDestroy(): void;
59
- nextPage(): void;
60
- prevPage(): void;
61
- firstPage(): void;
62
- lastPage(): void;
63
- reload(): void;
64
- getData(trackBy?: FsListTrackByFn): any[];
65
- hasData(trackBy: FsListTrackByFn): boolean;
66
- updateData(rows: FsListAbstractRow | FsListAbstractRow[], trackBy?: FsListTrackByTargetRowFn): boolean;
67
- replaceRow(row: FsListAbstractRow, trackBy?: FsListTrackByTargetRowFn): boolean;
68
- updateSelectionConfig(config: FsListSelectionConfig): void;
69
- resetSelectionActions(): void;
70
- removeData(data: FsListAbstractRow | FsListAbstractRow[] | FsListTrackByTargetRowFn): boolean;
71
- setHeading(heading: string): void;
72
- setSubheading(subheading: string): void;
73
- reorderStart(): void;
74
- reorderFinish(): void;
75
- setActions(actions: FsListAction[]): void;
76
- filterReady(): void;
77
- /**
78
- * Update visibility for specific column
79
- */
80
- columnVisibility(name: string, show: boolean): void;
81
- /**
82
- * Update visibility for list of specific columns
83
- */
84
- columnsVisibility(columns: {
85
- name: string;
86
- show: boolean;
87
- }[]): void;
88
- private _emitFiltersReadyEvent;
89
- /**
90
- * Initialize config for list
91
- * @param config
92
- */
93
- private _initWithConfig;
94
- /**
95
- * Find action with customize flag and re-declare click function for CustomizeColsDialog
96
- * @param actions
97
- */
98
- private _updateCustomizeAction;
99
- /**
100
- * Update sorting in filter
101
- */
102
- private _listenSortingChange;
103
- private _subscribeToRemoveRow;
104
- private _subscribeToGroupExpandStatusChange;
105
- private _waitFirstLoad;
106
- private _configMergeCustomizer;
107
- private _restorePersistance;
108
- }
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
+ export declare class FsListComponent implements OnInit, OnDestroy {
15
+ reorderController: ReorderController;
16
+ private _el;
17
+ private _defaultOptions;
18
+ private fsScroll;
19
+ private selectionDialog;
20
+ private dialog;
21
+ private cdRef;
22
+ private _groupExpandNotifier;
23
+ private _router;
24
+ private _route;
25
+ private _persistance;
26
+ private _location;
27
+ private _dialogRef;
28
+ private _drawerRef;
29
+ classFsList: boolean;
30
+ set config(config: FsListConfig);
31
+ loaderLines: number;
32
+ filtersReady: EventEmitter<void>;
33
+ list: List;
34
+ private listColumnDirectives;
35
+ rowRemoved: EventEmitter<any>;
36
+ firstLoad: boolean;
37
+ private _filterRef;
38
+ private _filterParamsReady;
39
+ private _inDialog;
40
+ private _destroy;
41
+ private set filterReference(value);
42
+ /**
43
+ * Set columns to config
44
+ * Create Column Model instances
45
+ *
46
+ */
47
+ private set columnTemplates(value);
48
+ private set _emptyStateTemplate(value);
49
+ constructor(reorderController: ReorderController, _el: ElementRef, _defaultOptions: any, fsScroll: FsScrollService, selectionDialog: SelectionDialog, dialog: MatDialog, cdRef: ChangeDetectorRef, _groupExpandNotifier: GroupExpandNotifierService, _router: Router, _route: ActivatedRoute, _persistance: PersistanceController, _location: Location, _dialogRef: MatDialogRef<any>, _drawerRef: DrawerRef<any>);
50
+ /**
51
+ * Return reference for filter
52
+ */
53
+ get filterRef(): FilterComponent;
54
+ get groupEnabled(): boolean;
55
+ get paginatorVisible(): boolean;
56
+ set groupEnabled(value: boolean);
57
+ ngOnInit(): void;
58
+ ngOnDestroy(): void;
59
+ nextPage(): void;
60
+ prevPage(): void;
61
+ firstPage(): void;
62
+ lastPage(): void;
63
+ reload(): void;
64
+ getData(trackBy?: FsListTrackByFn): any[];
65
+ hasData(trackBy: FsListTrackByFn): boolean;
66
+ updateData(rows: FsListAbstractRow | FsListAbstractRow[], trackBy?: FsListTrackByTargetRowFn): boolean;
67
+ replaceRow(row: FsListAbstractRow, trackBy?: FsListTrackByTargetRowFn): boolean;
68
+ updateSelectionConfig(config: FsListSelectionConfig): void;
69
+ resetSelectionActions(): void;
70
+ removeData(data: FsListAbstractRow | FsListAbstractRow[] | FsListTrackByTargetRowFn): boolean;
71
+ setHeading(heading: string): void;
72
+ setSubheading(subheading: string): void;
73
+ reorderStart(): void;
74
+ reorderFinish(): void;
75
+ setActions(actions: FsListAction[]): void;
76
+ filterReady(): void;
77
+ /**
78
+ * Update visibility for specific column
79
+ */
80
+ columnVisibility(name: string, show: boolean): void;
81
+ /**
82
+ * Update visibility for list of specific columns
83
+ */
84
+ columnsVisibility(columns: {
85
+ name: string;
86
+ show: boolean;
87
+ }[]): void;
88
+ private _emitFiltersReadyEvent;
89
+ /**
90
+ * Initialize config for list
91
+ * @param config
92
+ */
93
+ private _initWithConfig;
94
+ /**
95
+ * Find action with customize flag and re-declare click function for CustomizeColsDialog
96
+ * @param actions
97
+ */
98
+ private _updateCustomizeAction;
99
+ /**
100
+ * Update sorting in filter
101
+ */
102
+ private _listenSortingChange;
103
+ private _subscribeToRemoveRow;
104
+ private _subscribeToGroupExpandStatusChange;
105
+ private _waitFirstLoad;
106
+ private _configMergeCustomizer;
107
+ private _restorePersistance;
108
+ }
@@ -1,11 +1,11 @@
1
- import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
- export declare class FsListLoaderComponent implements OnInit, OnChanges {
3
- placeholderWidths: any[][];
4
- widths: any[];
5
- columns: any;
6
- loaderLines: number;
7
- cols: any[];
8
- rows: any[];
9
- ngOnInit(): void;
10
- ngOnChanges(changes: SimpleChanges): void;
11
- }
1
+ import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
+ export declare class FsListLoaderComponent implements OnInit, OnChanges {
3
+ placeholderWidths: any[][];
4
+ widths: any[];
5
+ columns: any;
6
+ loaderLines: number;
7
+ cols: any[];
8
+ rows: any[];
9
+ ngOnInit(): void;
10
+ ngOnChanges(changes: SimpleChanges): void;
11
+ }
@@ -1,10 +1,10 @@
1
- import { ExternalParamsController } from '@firestitch/filter';
2
- import { FsListConfig } from '../../interfaces/listconfig.interface';
3
- export declare class FsListManageSavedFiltersComponent {
4
- private _externalParams;
5
- config: FsListConfig;
6
- private _reorderReady;
7
- constructor(_externalParams: ExternalParamsController);
8
- private get savedFiltersController();
9
- private _initList;
10
- }
1
+ import { ExternalParamsController } from '@firestitch/filter';
2
+ import { FsListConfig } from '../../interfaces/listconfig.interface';
3
+ export declare class FsListManageSavedFiltersComponent {
4
+ private _externalParams;
5
+ config: FsListConfig;
6
+ private _reorderReady;
7
+ constructor(_externalParams: ExternalParamsController);
8
+ private get savedFiltersController();
9
+ private _initList;
10
+ }
@@ -1,11 +1,11 @@
1
- import { ChangeDetectorRef, OnInit, OnDestroy } from '@angular/core';
2
- import { PaginationController } from '../../classes/pagination-controller';
3
- export declare class FsPaginationComponent implements OnInit, OnDestroy {
4
- private cdRef;
5
- pagination: PaginationController;
6
- rows: any;
7
- private _destroy$;
8
- constructor(cdRef: ChangeDetectorRef);
9
- ngOnInit(): void;
10
- ngOnDestroy(): void;
11
- }
1
+ import { ChangeDetectorRef, OnInit, OnDestroy } from '@angular/core';
2
+ import { PaginationController } from '../../classes/pagination-controller';
3
+ export declare class FsPaginationComponent implements OnInit, OnDestroy {
4
+ private cdRef;
5
+ pagination: PaginationController;
6
+ rows: any;
7
+ private _destroy$;
8
+ constructor(cdRef: ChangeDetectorRef);
9
+ ngOnInit(): void;
10
+ ngOnDestroy(): void;
11
+ }
@@ -1,12 +1,12 @@
1
- import { ViewContainerRef } from '@angular/core';
2
- import { ExternalParamsController } from '@firestitch/filter';
3
- import { Observable } from 'rxjs';
4
- import { MatDialog } from '@angular/material/dialog';
5
- export declare class FsListSavedFiltersComponent {
6
- private _dialog;
7
- private _externalParams;
8
- private _vcRef;
9
- constructor(_dialog: MatDialog, _externalParams: ExternalParamsController, _vcRef: ViewContainerRef);
10
- get savedFiltersEnabled$(): Observable<boolean>;
11
- showManageDialog(): void;
12
- }
1
+ import { ViewContainerRef } from '@angular/core';
2
+ import { ExternalParamsController } from '@firestitch/filter';
3
+ import { Observable } from 'rxjs';
4
+ import { MatDialog } from '@angular/material/dialog';
5
+ export declare class FsListSavedFiltersComponent {
6
+ private _dialog;
7
+ private _externalParams;
8
+ private _vcRef;
9
+ constructor(_dialog: MatDialog, _externalParams: ExternalParamsController, _vcRef: ViewContainerRef);
10
+ get savedFiltersEnabled$(): Observable<boolean>;
11
+ showManageDialog(): void;
12
+ }