@firestitch/list 13.0.1 → 13.0.3

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