@firestitch/list 13.2.3 → 14.0.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.
Files changed (159) 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 +88 -90
  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 +188 -194
  7. package/app/classes/pagination-controller.d.ts +197 -199
  8. package/app/classes/persistance-controller.d.ts +10 -10
  9. package/app/classes/reorder-controller.d.ts +67 -67
  10. package/app/classes/selection-controller.d.ts +155 -155
  11. package/app/classes/sorting-controller.d.ts +70 -70
  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 +127 -128
  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 +20 -21
  30. package/app/directives/cell/cell.directive.d.ts +8 -8
  31. package/app/directives/column/column.directive.d.ts +37 -37
  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/action-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 +245 -252
  59. package/app/interfaces/pagination-state.interface.d.ts +9 -9
  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 +61 -61
  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/esm2020/app/classes/actions-controller.mjs +55 -55
  77. package/esm2020/app/classes/columns-controller.mjs +205 -205
  78. package/esm2020/app/classes/data-controller.mjs +345 -363
  79. package/esm2020/app/classes/external-params-controller.mjs +147 -147
  80. package/esm2020/app/classes/index.mjs +3 -3
  81. package/esm2020/app/classes/list-controller.mjs +674 -745
  82. package/esm2020/app/classes/pagination-controller.mjs +491 -496
  83. package/esm2020/app/classes/persistance-controller.mjs +19 -19
  84. package/esm2020/app/classes/reorder-controller.mjs +181 -181
  85. package/esm2020/app/classes/selection-controller.mjs +466 -468
  86. package/esm2020/app/classes/sorting-controller.mjs +201 -201
  87. package/esm2020/app/components/body/body.component.mjs +63 -63
  88. package/esm2020/app/components/body/row/actions/actions.component.mjs +96 -96
  89. package/esm2020/app/components/body/row/cell/cell.component.mjs +107 -107
  90. package/esm2020/app/components/body/row/inline-action/inline-action.component.mjs +32 -32
  91. package/esm2020/app/components/body/row/menu-action/menu-action.component.mjs +45 -45
  92. package/esm2020/app/components/body/row/row.component.mjs +321 -321
  93. package/esm2020/app/components/customize-cols/customize-cols.component.mjs +68 -68
  94. package/esm2020/app/components/footer/footer-row/footer-cell/footer-cell.component.mjs +16 -16
  95. package/esm2020/app/components/footer/footer-row/footer-row.component.mjs +27 -27
  96. package/esm2020/app/components/footer/footer.component.mjs +30 -30
  97. package/esm2020/app/components/head/head-cell/head-cell.component.mjs +29 -29
  98. package/esm2020/app/components/head/head.component.mjs +102 -102
  99. package/esm2020/app/components/list/list.component.mjs +385 -392
  100. package/esm2020/app/components/loader/loader.component.mjs +40 -40
  101. package/esm2020/app/components/manage-saved-filters/manage-saved-filters.component.mjs +76 -76
  102. package/esm2020/app/components/pagination/pagination.component.mjs +37 -37
  103. package/esm2020/app/components/saved-filters/saved-filters.component.mjs +29 -29
  104. package/esm2020/app/components/status/status.component.mjs +64 -66
  105. package/esm2020/app/directives/cell/cell.directive.mjs +18 -18
  106. package/esm2020/app/directives/column/column.directive.mjs +120 -120
  107. package/esm2020/app/directives/content/content.directive.mjs +12 -12
  108. package/esm2020/app/directives/content-init/content-init.directive.mjs +21 -21
  109. package/esm2020/app/directives/draggable-list/draggable-list.directive.mjs +327 -327
  110. package/esm2020/app/directives/draggable-row/draggable-row.directive.mjs +77 -77
  111. package/esm2020/app/directives/empty-state/empty-state.directive.mjs +13 -13
  112. package/esm2020/app/directives/footer/footer.directive.mjs +18 -18
  113. package/esm2020/app/directives/group-expand-trigger/group-expand-trigger.directive.mjs +26 -26
  114. package/esm2020/app/directives/group-footer/group-footer.directive.mjs +13 -13
  115. package/esm2020/app/directives/group-header/group-header.directive.mjs +13 -13
  116. package/esm2020/app/directives/header/header.directive.mjs +18 -18
  117. package/esm2020/app/directives/heading/heading.directive.mjs +13 -13
  118. package/esm2020/app/directives/heading-container/heading-container.directive.mjs +13 -13
  119. package/esm2020/app/directives/index.mjs +4 -4
  120. package/esm2020/app/directives/subheading/subheading.directive.mjs +13 -13
  121. package/esm2020/app/enums/action-type.enum.mjs +8 -8
  122. package/esm2020/app/enums/page-change-type.enum.mjs +6 -6
  123. package/esm2020/app/enums/pagination-strategy.enum.mjs +7 -7
  124. package/esm2020/app/enums/row-type.enum.mjs +7 -7
  125. package/esm2020/app/enums/state.enum.mjs +11 -11
  126. package/esm2020/app/fs-list.module.mjs +244 -246
  127. package/esm2020/app/fs-list.providers.mjs +4 -4
  128. package/esm2020/app/interfaces/cellconfig.interface.mjs +2 -2
  129. package/esm2020/app/interfaces/column-config.interface.mjs +1 -1
  130. package/esm2020/app/interfaces/draggable-list.interface.mjs +2 -2
  131. package/esm2020/app/interfaces/external-params.interface.mjs +2 -2
  132. package/esm2020/app/interfaces/index.mjs +5 -5
  133. package/esm2020/app/interfaces/listconfig.interface.mjs +2 -2
  134. package/esm2020/app/interfaces/pagination-state.interface.mjs +1 -1
  135. package/esm2020/app/interfaces/pagination.interface.mjs +2 -2
  136. package/esm2020/app/interfaces/sorting-change-event.interface.mjs +2 -2
  137. package/esm2020/app/models/column-async-attribute.mjs +13 -13
  138. package/esm2020/app/models/column-attributes.mjs +131 -131
  139. package/esm2020/app/models/column.model.mjs +163 -163
  140. package/esm2020/app/models/row/base-row.mjs +23 -23
  141. package/esm2020/app/models/row/child-row.mjs +28 -28
  142. package/esm2020/app/models/row/group-footer-row.mjs +20 -20
  143. package/esm2020/app/models/row/group-row.mjs +44 -44
  144. package/esm2020/app/models/row/simple-row.mjs +10 -10
  145. package/esm2020/app/models/row-action.model.mjs +89 -89
  146. package/esm2020/app/models/row.mjs +88 -88
  147. package/esm2020/app/models/styleConfig.model.mjs +75 -75
  148. package/esm2020/app/pipes/action-label.mjs +16 -16
  149. package/esm2020/app/pipes/index.mjs +1 -1
  150. package/esm2020/app/services/group-expand-notifier.service.mjs +26 -26
  151. package/esm2020/firestitch-list.mjs +4 -4
  152. package/esm2020/public_api.mjs +46 -46
  153. package/fesm2015/firestitch-list.mjs +5643 -5749
  154. package/fesm2015/firestitch-list.mjs.map +1 -1
  155. package/fesm2020/firestitch-list.mjs +5636 -5742
  156. package/fesm2020/firestitch-list.mjs.map +1 -1
  157. package/{firestitch-list.d.ts → index.d.ts} +5 -5
  158. package/package.json +3 -3
  159. package/public_api.d.ts +41 -41
@@ -1,128 +1,127 @@
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 { IPaginationState } from '../../interfaces/pagination-state.interface';
15
- import { GroupExpandNotifierService } from '../../services/group-expand-notifier.service';
16
- import { FsBodyComponent } from '../body/body.component';
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
- rowHoverHighlight: 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
- body: FsBodyComponent;
42
- list: List;
43
- keywordVisible: boolean;
44
- rowRemoved: EventEmitter<any>;
45
- firstLoad: boolean;
46
- private _listColumnDirectives;
47
- private _filterRef;
48
- private _filterParamsReady;
49
- private _inDialog;
50
- private _destroy;
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
- get pagingState(): IPaginationState;
70
- ngAfterContentInit(): void;
71
- ngOnInit(): void;
72
- ngOnDestroy(): void;
73
- nextPage(): void;
74
- prevPage(): void;
75
- firstPage(): void;
76
- lastPage(): void;
77
- reload(): void;
78
- getData(trackBy?: FsListTrackByFn): any[];
79
- hasData(trackBy: FsListTrackByFn): boolean;
80
- updateData(rows: FsListAbstractRow | FsListAbstractRow[], trackBy?: FsListTrackByTargetRowFn): boolean;
81
- replaceRow(row: FsListAbstractRow, trackBy?: FsListTrackByTargetRowFn): boolean;
82
- updateSelectionConfig(config: FsListSelectionConfig): void;
83
- resetSelectionActions(): void;
84
- enableSelection(): void;
85
- disableSelection(): void;
86
- removeData(data: FsListAbstractRow | FsListAbstractRow[] | FsListTrackByTargetRowFn): boolean;
87
- setHeading(heading: string): void;
88
- setSubheading(subheading: string): void;
89
- reorderStart(): void;
90
- reorderFinish(): void;
91
- setActions(actions: FsListAction[]): void;
92
- filterReady(): void;
93
- /**
94
- * Update visibility for specific column
95
- */
96
- columnVisibility(name: string, show: boolean): void;
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
+ 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 { SelectionDialog } from '@firestitch/selection';
8
+ import { Observable } from 'rxjs';
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 { IPaginationState } from '../../interfaces/pagination-state.interface';
15
+ import { GroupExpandNotifierService } from '../../services/group-expand-notifier.service';
16
+ import { FsBodyComponent } from '../body/body.component';
17
+ import * as i0 from "@angular/core";
18
+ export declare class FsListComponent implements OnInit, OnDestroy, AfterContentInit {
19
+ reorderController: ReorderController;
20
+ private _defaultOptions;
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
+ rowHoverHighlight: 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
+ body: FsBodyComponent;
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
+ 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, _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
+ get pagingState(): IPaginationState;
69
+ ngAfterContentInit(): void;
70
+ ngOnInit(): void;
71
+ ngOnDestroy(): void;
72
+ nextPage(): void;
73
+ prevPage(): void;
74
+ firstPage(): void;
75
+ lastPage(): void;
76
+ reload(): Observable<any>;
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
+ /**
97
+ * Update visibility for list of specific columns
98
+ */
99
+ columnsVisibility(columns: {
100
+ name: string;
101
+ show: boolean;
102
+ }[]): void;
103
+ private _emitFiltersReadyEvent;
104
+ /**
105
+ * Initialize config for list
106
+ *
107
+ * @param config
108
+ */
109
+ private _initWithConfig;
110
+ /**
111
+ * Find action with customize flag and re-declare click function for CustomizeColsDialog
112
+ *
113
+ * @param actions
114
+ */
115
+ private _updateCustomizeAction;
116
+ /**
117
+ * Update sorting in filter
118
+ */
119
+ private _listenSortingChange;
120
+ private _subscribeToRemoveRow;
121
+ private _subscribeToGroupExpandStatusChange;
122
+ private _waitFirstLoad;
123
+ private _configMergeCustomizer;
124
+ private _restorePersistance;
125
+ static ɵfac: i0.ɵɵFactoryDeclaration<FsListComponent, [null, { optional: true; }, { optional: true; }, { optional: true; }, null, null, null, null, null, null, null, null, null]>;
126
+ static ɵcmp: i0.ɵɵComponentDeclaration<FsListComponent, "fs-list", never, { "config": "config"; "loaderLines": "loaderLines"; }, { "filtersReady": "filtersReady"; }, ["headingTemplate", "headingContainerTemplate", "subheadingTemplate", "_emptyStateTemplate", "columnTemplates"], ["[fs-list-content]"], false>;
127
+ }
@@ -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, false>;
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, false>;
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, false>;
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, false>;
15
+ }
@@ -1,21 +1,20 @@
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
+ 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
+ static ɵfac: i0.ɵɵFactoryDeclaration<FsStatusComponent, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<FsStatusComponent, "fs-list-status", never, { "paging": "paging"; "sorting": "sorting"; "rows": "rows"; "firstLoad": "firstLoad"; }, {}, never, never, false>;
20
+ }
@@ -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, never, false>;
8
+ }
@@ -1,37 +1,37 @@
1
- import { QueryList, TemplateRef } from '@angular/core';
2
- import { CellConfig } from '../../interfaces';
3
- import { ColumnAttributes } from '../../models/column-attributes';
4
- import { FsListGroupExpandTriggerDirective } from '../group-expand-trigger/group-expand-trigger.directive';
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 sortableDirection(value: 'asc' | 'desc');
28
- /**
29
- * @deprecated
30
- */
31
- set direction(value: 'asc' | 'desc');
32
- set align(value: string);
33
- set width(value: string);
34
- set className(value: string | string[]);
35
- static ɵfac: i0.ɵɵFactoryDeclaration<FsListColumnDirective, never>;
36
- static ɵdir: i0.ɵɵDirectiveDeclaration<FsListColumnDirective, "fs-list-column", never, { "visible": "show"; "title": "title"; "name": "name"; "customize": "customize"; "sortable": "sortable"; "sortableDefault": "sortableDefault"; "sortableDirection": "sortableDirection"; "direction": "direction"; "align": "align"; "width": "width"; "className": "class"; }, {}, ["headerTemplate", "headerConfigs", "groupHeaderTemplate", "groupHeaderConfigs", "groupFooterTemplate", "groupFooterConfigs", "cellTemplate", "cellConfigs", "footerTemplate", "footerConfigs", "expandTrigger"]>;
37
- }
1
+ import { QueryList, TemplateRef } from '@angular/core';
2
+ import { CellConfig } from '../../interfaces';
3
+ import { ColumnAttributes } from '../../models/column-attributes';
4
+ import { FsListGroupExpandTriggerDirective } from '../group-expand-trigger/group-expand-trigger.directive';
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 sortableDirection(value: 'asc' | 'desc');
28
+ /**
29
+ * @deprecated
30
+ */
31
+ set direction(value: 'asc' | 'desc');
32
+ set align(value: string);
33
+ set width(value: string);
34
+ set className(value: string | string[]);
35
+ static ɵfac: i0.ɵɵFactoryDeclaration<FsListColumnDirective, never>;
36
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FsListColumnDirective, "fs-list-column", never, { "visible": "show"; "title": "title"; "name": "name"; "customize": "customize"; "sortable": "sortable"; "sortableDefault": "sortableDefault"; "sortableDirection": "sortableDirection"; "direction": "direction"; "align": "align"; "width": "width"; "className": "class"; }, {}, ["headerTemplate", "headerConfigs", "groupHeaderTemplate", "groupHeaderConfigs", "groupFooterTemplate", "groupFooterConfigs", "cellTemplate", "cellConfigs", "footerTemplate", "footerConfigs", "expandTrigger"], never, false>;
37
+ }
@@ -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, never, false>;
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, never, false>;
9
+ }