@firestitch/list 12.7.2 → 12.8.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 (147) 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 +90 -90
  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 +174 -174
  7. package/app/classes/pagination-controller.d.ts +189 -189
  8. package/app/classes/persistance-controller.d.ts +10 -10
  9. package/app/classes/reorder-controller.d.ts +62 -62
  10. package/app/classes/selection-controller.d.ts +141 -141
  11. package/app/classes/sorting-controller.d.ts +64 -64
  12. package/app/components/body/body.component.d.ts +32 -32
  13. package/app/components/body/row/actions/actions.component.d.ts +34 -35
  14. package/app/components/body/row/cell/cell.component.d.ts +23 -23
  15. package/app/components/body/row/inline-action/inline-action.component.d.ts +16 -16
  16. package/app/components/body/row/menu-action/menu-action.component.d.ts +14 -12
  17. package/app/components/body/row/row.component.d.ts +72 -72
  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 +11 -11
  21. package/app/components/footer/footer.component.d.ts +11 -11
  22. package/app/components/head/head-cell/head-cell.component.d.ts +14 -14
  23. package/app/components/head/head.component.d.ts +43 -43
  24. package/app/components/list/list.component.d.ts +116 -116
  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 +80 -80
  35. package/app/directives/draggable-row/draggable-row.directive.d.ts +21 -21
  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/enums/button-type.enum.d.ts +7 -7
  43. package/app/enums/page-change-type.enum.d.ts +4 -4
  44. package/app/enums/pagination-strategy.enum.d.ts +5 -5
  45. package/app/enums/row-type.enum.d.ts +6 -6
  46. package/app/enums/state.enum.d.ts +9 -9
  47. package/app/fs-list.module.d.ts +57 -56
  48. package/app/fs-list.providers.d.ts +3 -3
  49. package/app/interfaces/cellconfig.interface.d.ts +5 -5
  50. package/app/interfaces/column-config.interface.d.ts +2 -2
  51. package/app/interfaces/draggable-list.interface.d.ts +7 -7
  52. package/app/interfaces/external-params.interface.d.ts +13 -13
  53. package/app/interfaces/index.d.ts +3 -3
  54. package/app/interfaces/listconfig.interface.d.ts +250 -250
  55. package/app/interfaces/pagination.interface.d.ts +13 -13
  56. package/app/models/column-async-attribute.d.ts +5 -5
  57. package/app/models/column-attributes.d.ts +39 -39
  58. package/app/models/column.model.d.ts +59 -59
  59. package/app/models/row/base-row.d.ts +13 -13
  60. package/app/models/row/child-row.d.ts +12 -12
  61. package/app/models/row/group-footer-row.d.ts +10 -10
  62. package/app/models/row/group-row.d.ts +16 -16
  63. package/app/models/row/simple-row.d.ts +5 -5
  64. package/app/models/row-action.model.d.ts +29 -31
  65. package/app/models/row.d.ts +30 -30
  66. package/app/models/styleConfig.model.d.ts +31 -31
  67. package/app/pipes/action-label.d.ts +8 -0
  68. package/app/pipes/index.d.ts +1 -0
  69. package/app/services/group-expand-notifier.service.d.ts +11 -11
  70. package/bundles/firestitch-list.umd.js +6553 -6555
  71. package/bundles/firestitch-list.umd.js.map +1 -1
  72. package/esm2015/app/classes/actions-controller.js +55 -55
  73. package/esm2015/app/classes/columns-controller.js +205 -205
  74. package/esm2015/app/classes/data-controller.js +331 -331
  75. package/esm2015/app/classes/external-params-controller.js +153 -153
  76. package/esm2015/app/classes/index.js +3 -3
  77. package/esm2015/app/classes/list-controller.js +714 -714
  78. package/esm2015/app/classes/pagination-controller.js +460 -460
  79. package/esm2015/app/classes/persistance-controller.js +19 -19
  80. package/esm2015/app/classes/reorder-controller.js +177 -177
  81. package/esm2015/app/classes/selection-controller.js +445 -445
  82. package/esm2015/app/classes/sorting-controller.js +180 -180
  83. package/esm2015/app/components/body/body.component.js +75 -75
  84. package/esm2015/app/components/body/row/actions/actions.component.js +96 -100
  85. package/esm2015/app/components/body/row/cell/cell.component.js +104 -104
  86. package/esm2015/app/components/body/row/inline-action/inline-action.component.js +39 -39
  87. package/esm2015/app/components/body/row/menu-action/menu-action.component.js +36 -32
  88. package/esm2015/app/components/body/row/row.component.js +253 -253
  89. package/esm2015/app/components/customize-cols/customize-cols.component.js +72 -72
  90. package/esm2015/app/components/footer/footer-row/footer-cell/footer-cell.component.js +20 -20
  91. package/esm2015/app/components/footer/footer-row/footer-row.component.js +26 -26
  92. package/esm2015/app/components/footer/footer.component.js +26 -26
  93. package/esm2015/app/components/head/head-cell/head-cell.component.js +33 -33
  94. package/esm2015/app/components/head/head.component.js +90 -90
  95. package/esm2015/app/components/list/list.component.js +375 -375
  96. package/esm2015/app/components/loader/loader.component.js +47 -47
  97. package/esm2015/app/components/manage-saved-filters/manage-saved-filters.component.js +78 -78
  98. package/esm2015/app/components/pagination/pagination.component.js +44 -44
  99. package/esm2015/app/components/saved-filters/saved-filters.component.js +33 -33
  100. package/esm2015/app/components/status/status.component.js +74 -74
  101. package/esm2015/app/directives/cell/cell.directive.js +18 -18
  102. package/esm2015/app/directives/column/column.directive.js +111 -111
  103. package/esm2015/app/directives/content/content.directive.js +12 -12
  104. package/esm2015/app/directives/content-init/content-init.directive.js +21 -21
  105. package/esm2015/app/directives/draggable-list/draggable-list.directive.js +256 -256
  106. package/esm2015/app/directives/draggable-row/draggable-row.directive.js +73 -73
  107. package/esm2015/app/directives/empty-state/empty-state.directive.js +13 -13
  108. package/esm2015/app/directives/footer/footer.directive.js +18 -18
  109. package/esm2015/app/directives/group-expand-trigger/group-expand-trigger.directive.js +26 -26
  110. package/esm2015/app/directives/group-footer/group-footer.directive.js +13 -13
  111. package/esm2015/app/directives/group-header/group-header.directive.js +13 -13
  112. package/esm2015/app/directives/header/header.directive.js +18 -18
  113. package/esm2015/app/enums/button-type.enum.js +9 -9
  114. package/esm2015/app/enums/page-change-type.enum.js +6 -6
  115. package/esm2015/app/enums/pagination-strategy.enum.js +7 -7
  116. package/esm2015/app/enums/row-type.enum.js +7 -7
  117. package/esm2015/app/enums/state.enum.js +11 -11
  118. package/esm2015/app/fs-list.module.js +232 -228
  119. package/esm2015/app/fs-list.providers.js +4 -4
  120. package/esm2015/app/interfaces/cellconfig.interface.js +2 -2
  121. package/esm2015/app/interfaces/column-config.interface.js +1 -1
  122. package/esm2015/app/interfaces/draggable-list.interface.js +2 -2
  123. package/esm2015/app/interfaces/external-params.interface.js +2 -2
  124. package/esm2015/app/interfaces/index.js +4 -4
  125. package/esm2015/app/interfaces/listconfig.interface.js +1 -1
  126. package/esm2015/app/interfaces/pagination.interface.js +2 -2
  127. package/esm2015/app/models/column-async-attribute.js +13 -13
  128. package/esm2015/app/models/column-attributes.js +130 -130
  129. package/esm2015/app/models/column.model.js +166 -166
  130. package/esm2015/app/models/row/base-row.js +23 -23
  131. package/esm2015/app/models/row/child-row.js +28 -28
  132. package/esm2015/app/models/row/group-footer-row.js +20 -20
  133. package/esm2015/app/models/row/group-row.js +44 -44
  134. package/esm2015/app/models/row/simple-row.js +10 -10
  135. package/esm2015/app/models/row-action.model.js +95 -114
  136. package/esm2015/app/models/row.js +80 -80
  137. package/esm2015/app/models/styleConfig.model.js +75 -75
  138. package/esm2015/app/pipes/action-label.js +17 -0
  139. package/esm2015/app/pipes/index.js +2 -0
  140. package/esm2015/app/services/group-expand-notifier.service.js +26 -26
  141. package/esm2015/firestitch-list.js +4 -4
  142. package/esm2015/public_api.js +44 -44
  143. package/fesm2015/firestitch-list.js +5394 -5398
  144. package/fesm2015/firestitch-list.js.map +1 -1
  145. package/firestitch-list.d.ts +5 -5
  146. package/package.json +1 -1
  147. package/public_api.d.ts +38 -38
@@ -1,141 +1,141 @@
1
- import { Observable } from 'rxjs';
2
- import { SelectionDialog } from '@firestitch/selection';
3
- import { FsListSelectionConfig } from '../interfaces';
4
- import { Row } from '../models/row';
5
- export declare enum SelectionChangeType {
6
- AllVisibleSelectionChange = "AllVisibleSelectionChange",
7
- RowSelectionChange = "RowSelectionChange",
8
- SelectedAll = "SelectedAll"
9
- }
10
- export declare class SelectionController {
11
- private _trackBy;
12
- private _selectionDialog;
13
- actions: any[];
14
- selectAll: boolean;
15
- selectionChangedFn: any;
16
- actionSelectedFn: any;
17
- allSelectedFn: any;
18
- cancelledFn: any;
19
- selectedRows: Map<any, any>;
20
- selectedGroups: Map<any, any>;
21
- private _selectionDialogRef;
22
- private _getRows;
23
- private _selectionChange;
24
- private _selectedAllVisible;
25
- private _selectedAll;
26
- private _selectedRecords;
27
- private _visibleRecordsCount;
28
- private _totalRecordsCount;
29
- private _destroy$;
30
- constructor(config: FsListSelectionConfig, _trackBy: string, _selectionDialog: SelectionDialog);
31
- get selectedAll(): boolean;
32
- get selectionChange$(): Observable<{
33
- type: SelectionChangeType;
34
- payload: any;
35
- }>;
36
- setRowsCallback(data: () => any[]): void;
37
- /**
38
- * Trigger when row was selected
39
- * @param row
40
- * @param checked
41
- */
42
- rowSelectionChange(row: Row, checked: boolean): void;
43
- /**
44
- * Do check or uncheck of visible rows
45
- * @param checked
46
- */
47
- selectAllVisibleRows(checked: any): void;
48
- isRowSelected(rowData: any): boolean;
49
- isGroupSelected(row: any): boolean | 'indeterminate';
50
- /**
51
- * Open selection dialog and create reference
52
- */
53
- openDialog(): void;
54
- /**
55
- * Update count of visible elements
56
- * @param count
57
- */
58
- updateVisibleRecordsCount(count: number): void;
59
- /**
60
- * Update count of total available elemenets
61
- * @param count
62
- */
63
- updateTotalRecordsCount(count: number): void;
64
- pageChanged(infinityScrollEnabled: any): void;
65
- /**
66
- * Method will be called from List for remove row if it was selected
67
- *
68
- * BUT methods for update visible and etc. will be called a bit later
69
- * @param row
70
- */
71
- removeRow(row: any): void;
72
- /**
73
- * Intersection of selected and passed rows to remove rows that we dont need more
74
- * @param rows
75
- */
76
- selectedRowsIntersection(rows: any): void;
77
- updateConfig({ actions, actionSelected, allSelected, cancelled, selectionChanged, selectAll }: FsListSelectionConfig): void;
78
- resetActions(): void;
79
- closeSelectionDialog(): void;
80
- destroy(): void;
81
- /**
82
- * Subscribe to selectionRef events
83
- */
84
- private _subscribeToSelection;
85
- /**
86
- * If some action was clicked on selection ref dialog
87
- * @param data
88
- */
89
- private _onActionActions;
90
- /**
91
- * If cancel was clicked on selection ref dialog
92
- */
93
- private _onCancelActions;
94
- /**
95
- * If "Select All" action was clicked on selection ref dialog
96
- * @param flag
97
- */
98
- private _onSelectAllActions;
99
- private _selectionChangedActions;
100
- /**
101
- * Update in Dialog Ref how much rows was selected
102
- */
103
- private _updateSelectionRefSelected;
104
- /**
105
- * Update in Dialog Ref selected all status
106
- *
107
- * Ex.: Was clicked "Select All" in Dialog and after that some checkbox was unchecked
108
- * Dialog Ref must know about it
109
- *
110
- */
111
- private _updateSelectionRefSelectedAll;
112
- /**
113
- * Check if all visible rows was checked and send event to main header checkbox
114
- */
115
- private _updateSelectedVisibleStatus;
116
- /**
117
- * If select all checkbox in header was changed
118
- */
119
- private _visibleRowsSelectionChanged;
120
- /**
121
- * Method constructor for events
122
- * @param type
123
- * @param payload
124
- */
125
- private _selectionChangeEvent;
126
- /**
127
- * Get row identified by trackBy path
128
- *
129
- * @param row
130
- */
131
- private _rowIdentifier;
132
- private _selectRow;
133
- private _deselectRow;
134
- private _selectChildRow;
135
- private _deselectChildRow;
136
- private _setNumberOfSelectedChildrenInGroup;
137
- /**
138
- * Reset selection
139
- */
140
- private _resetSelection;
141
- }
1
+ import { Observable } from 'rxjs';
2
+ import { SelectionDialog } from '@firestitch/selection';
3
+ import { FsListSelectionConfig } from '../interfaces';
4
+ import { Row } from '../models/row';
5
+ export declare enum SelectionChangeType {
6
+ AllVisibleSelectionChange = "AllVisibleSelectionChange",
7
+ RowSelectionChange = "RowSelectionChange",
8
+ SelectedAll = "SelectedAll"
9
+ }
10
+ export declare class SelectionController {
11
+ private _trackBy;
12
+ private _selectionDialog;
13
+ actions: any[];
14
+ selectAll: boolean;
15
+ selectionChangedFn: any;
16
+ actionSelectedFn: any;
17
+ allSelectedFn: any;
18
+ cancelledFn: any;
19
+ selectedRows: Map<any, any>;
20
+ selectedGroups: Map<any, any>;
21
+ private _selectionDialogRef;
22
+ private _getRows;
23
+ private _selectionChange;
24
+ private _selectedAllVisible;
25
+ private _selectedAll;
26
+ private _selectedRecords;
27
+ private _visibleRecordsCount;
28
+ private _totalRecordsCount;
29
+ private _destroy$;
30
+ constructor(config: FsListSelectionConfig, _trackBy: string, _selectionDialog: SelectionDialog);
31
+ get selectedAll(): boolean;
32
+ get selectionChange$(): Observable<{
33
+ type: SelectionChangeType;
34
+ payload: any;
35
+ }>;
36
+ setRowsCallback(data: () => any[]): void;
37
+ /**
38
+ * Trigger when row was selected
39
+ * @param row
40
+ * @param checked
41
+ */
42
+ rowSelectionChange(row: Row, checked: boolean): void;
43
+ /**
44
+ * Do check or uncheck of visible rows
45
+ * @param checked
46
+ */
47
+ selectAllVisibleRows(checked: any): void;
48
+ isRowSelected(rowData: any): boolean;
49
+ isGroupSelected(row: any): boolean | 'indeterminate';
50
+ /**
51
+ * Open selection dialog and create reference
52
+ */
53
+ openDialog(): void;
54
+ /**
55
+ * Update count of visible elements
56
+ * @param count
57
+ */
58
+ updateVisibleRecordsCount(count: number): void;
59
+ /**
60
+ * Update count of total available elemenets
61
+ * @param count
62
+ */
63
+ updateTotalRecordsCount(count: number): void;
64
+ pageChanged(infinityScrollEnabled: any): void;
65
+ /**
66
+ * Method will be called from List for remove row if it was selected
67
+ *
68
+ * BUT methods for update visible and etc. will be called a bit later
69
+ * @param row
70
+ */
71
+ removeRow(row: any): void;
72
+ /**
73
+ * Intersection of selected and passed rows to remove rows that we dont need more
74
+ * @param rows
75
+ */
76
+ selectedRowsIntersection(rows: any): void;
77
+ updateConfig({ actions, actionSelected, allSelected, cancelled, selectionChanged, selectAll }: FsListSelectionConfig): void;
78
+ resetActions(): void;
79
+ closeSelectionDialog(): void;
80
+ destroy(): void;
81
+ /**
82
+ * Subscribe to selectionRef events
83
+ */
84
+ private _subscribeToSelection;
85
+ /**
86
+ * If some action was clicked on selection ref dialog
87
+ * @param data
88
+ */
89
+ private _onActionActions;
90
+ /**
91
+ * If cancel was clicked on selection ref dialog
92
+ */
93
+ private _onCancelActions;
94
+ /**
95
+ * If "Select All" action was clicked on selection ref dialog
96
+ * @param flag
97
+ */
98
+ private _onSelectAllActions;
99
+ private _selectionChangedActions;
100
+ /**
101
+ * Update in Dialog Ref how much rows was selected
102
+ */
103
+ private _updateSelectionRefSelected;
104
+ /**
105
+ * Update in Dialog Ref selected all status
106
+ *
107
+ * Ex.: Was clicked "Select All" in Dialog and after that some checkbox was unchecked
108
+ * Dialog Ref must know about it
109
+ *
110
+ */
111
+ private _updateSelectionRefSelectedAll;
112
+ /**
113
+ * Check if all visible rows was checked and send event to main header checkbox
114
+ */
115
+ private _updateSelectedVisibleStatus;
116
+ /**
117
+ * If select all checkbox in header was changed
118
+ */
119
+ private _visibleRowsSelectionChanged;
120
+ /**
121
+ * Method constructor for events
122
+ * @param type
123
+ * @param payload
124
+ */
125
+ private _selectionChangeEvent;
126
+ /**
127
+ * Get row identified by trackBy path
128
+ *
129
+ * @param row
130
+ */
131
+ private _rowIdentifier;
132
+ private _selectRow;
133
+ private _deselectRow;
134
+ private _selectChildRow;
135
+ private _deselectChildRow;
136
+ private _setNumberOfSelectedChildrenInGroup;
137
+ /**
138
+ * Reset selection
139
+ */
140
+ private _resetSelection;
141
+ }
@@ -1,64 +1,64 @@
1
- import { Observable } from 'rxjs';
2
- import { Column } from '../models/column.model';
3
- import { List } from './list-controller';
4
- import { FsListSortConfig } from '../interfaces';
5
- export interface SortingChangeEvent {
6
- sortBy: string;
7
- sortDirection: string;
8
- }
9
- export declare class SortingController {
10
- config: List;
11
- sortingColumns: Column[];
12
- fakeSortingColumns: Column[];
13
- sortingColumn: Column;
14
- private _initialized;
15
- private _sortingChanged$;
16
- private _onDestroy;
17
- constructor();
18
- get sortingChanged$(): Observable<SortingChangeEvent>;
19
- get initialized$(): Observable<boolean>;
20
- get value(): FsListSortConfig | undefined;
21
- get initialization(): boolean;
22
- get isDefined(): boolean;
23
- private set _initialization(value);
24
- addSortableColumn(column: Column): void;
25
- clearSortableColumns(): void;
26
- /**
27
- * Set Sortable Direction
28
- * @param direction
29
- */
30
- sortDirection(direction: any): void;
31
- /**
32
- * Sort By
33
- * @param column
34
- */
35
- sortBy(column: Column): void;
36
- /**
37
- * Same as sortBy, but need only column name as parameter for sort
38
- * @param name
39
- */
40
- sortByColumnWithName(name: string): void;
41
- /**
42
- * Init fake columns for sorting
43
- * @param columns
44
- */
45
- initFakeColumns(columns: any): void;
46
- /**
47
- * Set initial sorting
48
- * @param sort
49
- */
50
- initialSortBy(sort: FsListSortConfig): void;
51
- /**
52
- * Sort by first of available sorting columns
53
- */
54
- sortByFirstSortbale(): void;
55
- getColumn(name: string): Column;
56
- /**
57
- * Destroy
58
- */
59
- destroy(): void;
60
- private _setSortingColumn;
61
- private _setSortingDirection;
62
- private _notifySortChanged;
63
- private _trySortByDefaultSortableColumn;
64
- }
1
+ import { Observable } from 'rxjs';
2
+ import { Column } from '../models/column.model';
3
+ import { List } from './list-controller';
4
+ import { FsListSortConfig } from '../interfaces';
5
+ export interface SortingChangeEvent {
6
+ sortBy: string;
7
+ sortDirection: string;
8
+ }
9
+ export declare class SortingController {
10
+ config: List;
11
+ sortingColumns: Column[];
12
+ fakeSortingColumns: Column[];
13
+ sortingColumn: Column;
14
+ private _initialized;
15
+ private _sortingChanged$;
16
+ private _onDestroy;
17
+ constructor();
18
+ get sortingChanged$(): Observable<SortingChangeEvent>;
19
+ get initialized$(): Observable<boolean>;
20
+ get value(): FsListSortConfig | undefined;
21
+ get initialization(): boolean;
22
+ get isDefined(): boolean;
23
+ private set _initialization(value);
24
+ addSortableColumn(column: Column): void;
25
+ clearSortableColumns(): void;
26
+ /**
27
+ * Set Sortable Direction
28
+ * @param direction
29
+ */
30
+ sortDirection(direction: any): void;
31
+ /**
32
+ * Sort By
33
+ * @param column
34
+ */
35
+ sortBy(column: Column): void;
36
+ /**
37
+ * Same as sortBy, but need only column name as parameter for sort
38
+ * @param name
39
+ */
40
+ sortByColumnWithName(name: string): void;
41
+ /**
42
+ * Init fake columns for sorting
43
+ * @param columns
44
+ */
45
+ initFakeColumns(columns: any): void;
46
+ /**
47
+ * Set initial sorting
48
+ * @param sort
49
+ */
50
+ initialSortBy(sort: FsListSortConfig): void;
51
+ /**
52
+ * Sort by first of available sorting columns
53
+ */
54
+ sortByFirstSortbale(): void;
55
+ getColumn(name: string): Column;
56
+ /**
57
+ * Destroy
58
+ */
59
+ destroy(): void;
60
+ private _setSortingColumn;
61
+ private _setSortingDirection;
62
+ private _notifySortChanged;
63
+ private _trySortByDefaultSortableColumn;
64
+ }
@@ -1,32 +1,32 @@
1
- import { ChangeDetectorRef, DoCheck, ElementRef, EventEmitter, IterableDiffers, OnDestroy, TemplateRef } from '@angular/core';
2
- import { Column } from '../../models/column.model';
3
- import { ReorderController } from '../../classes/reorder-controller';
4
- import { SelectionController } from '../../classes/selection-controller';
5
- import { Row } from '../../models/row';
6
- import * as i0 from "@angular/core";
7
- export declare class FsBodyComponent implements DoCheck, OnDestroy {
8
- reorderContoller: ReorderController;
9
- private el;
10
- private cdRef;
11
- private differs;
12
- rows: Row[];
13
- columns: Column[];
14
- hasFooter: boolean;
15
- rowActionsRaw: any[];
16
- groupActionsRaw: any[];
17
- rowEvents: {};
18
- rowClass: any;
19
- hasRowActions: boolean;
20
- selection: SelectionController;
21
- restoreMode: boolean;
22
- rowRemoved: EventEmitter<any>;
23
- rowsContainer: any;
24
- headerTemplate: TemplateRef<any>;
25
- private _rowsDiffer;
26
- private _destroy$;
27
- constructor(reorderContoller: ReorderController, el: ElementRef, cdRef: ChangeDetectorRef, differs: IterableDiffers);
28
- ngDoCheck(): void;
29
- ngOnDestroy(): void;
30
- static ɵfac: i0.ɵɵFactoryDeclaration<FsBodyComponent, never>;
31
- static ɵcmp: i0.ɵɵComponentDeclaration<FsBodyComponent, "[fs-list-body]", never, { "rows": "rows"; "columns": "columns"; "hasFooter": "hasFooter"; "rowActionsRaw": "rowActionsRaw"; "groupActionsRaw": "groupActionsRaw"; "rowEvents": "rowEvents"; "rowClass": "rowClass"; "hasRowActions": "hasRowActions"; "selection": "selection"; "restoreMode": "restoreMode"; "rowRemoved": "rowRemoved"; }, {}, ["headerTemplate"], never>;
32
- }
1
+ import { ChangeDetectorRef, DoCheck, ElementRef, EventEmitter, IterableDiffers, OnDestroy, TemplateRef } from '@angular/core';
2
+ import { Column } from '../../models/column.model';
3
+ import { ReorderController } from '../../classes/reorder-controller';
4
+ import { SelectionController } from '../../classes/selection-controller';
5
+ import { Row } from '../../models/row';
6
+ import * as i0 from "@angular/core";
7
+ export declare class FsBodyComponent implements DoCheck, OnDestroy {
8
+ reorderContoller: ReorderController;
9
+ private el;
10
+ private cdRef;
11
+ private differs;
12
+ rows: Row[];
13
+ columns: Column[];
14
+ hasFooter: boolean;
15
+ rowActionsRaw: any[];
16
+ groupActionsRaw: any[];
17
+ rowEvents: {};
18
+ rowClass: any;
19
+ hasRowActions: boolean;
20
+ selection: SelectionController;
21
+ restoreMode: boolean;
22
+ rowRemoved: EventEmitter<any>;
23
+ rowsContainer: any;
24
+ headerTemplate: TemplateRef<any>;
25
+ private _rowsDiffer;
26
+ private _destroy$;
27
+ constructor(reorderContoller: ReorderController, el: ElementRef, cdRef: ChangeDetectorRef, differs: IterableDiffers);
28
+ ngDoCheck(): void;
29
+ ngOnDestroy(): void;
30
+ static ɵfac: i0.ɵɵFactoryDeclaration<FsBodyComponent, never>;
31
+ static ɵcmp: i0.ɵɵComponentDeclaration<FsBodyComponent, "[fs-list-body]", never, { "rows": "rows"; "columns": "columns"; "hasFooter": "hasFooter"; "rowActionsRaw": "rowActionsRaw"; "groupActionsRaw": "groupActionsRaw"; "rowEvents": "rowEvents"; "rowClass": "rowClass"; "hasRowActions": "hasRowActions"; "selection": "selection"; "restoreMode": "restoreMode"; "rowRemoved": "rowRemoved"; }, {}, ["headerTemplate"], never>;
32
+ }
@@ -1,35 +1,34 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { FsPrompt } from '@firestitch/prompt';
3
- import { Row } from '../../../../models/row';
4
- import { RowAction } from '../../../../models/row-action.model';
5
- import * as i0 from "@angular/core";
6
- export declare class FsRowActionsComponent {
7
- private _fsPrompt;
8
- row: Row;
9
- index: number;
10
- restoreMode: boolean;
11
- rowActions: RowAction[];
12
- rowRemoved: EventEmitter<any>;
13
- menuRowActions: RowAction[];
14
- inlineRowActions: RowAction[];
15
- restoreAction: RowAction;
16
- private _destroy$;
17
- constructor(_fsPrompt: FsPrompt);
18
- actionClick(action: RowAction, row: any, event: any, menuRef?: any): void;
19
- /**
20
- * Track By for improve change detection
21
- * @param index
22
- */
23
- trackByFn(index: any): any;
24
- clickOnTrigger(event: any): void;
25
- /**
26
- * Emit that some row must be removed
27
- * @param action
28
- * @param row
29
- * @param event
30
- * @param index
31
- */
32
- private removeAction;
33
- static ɵfac: i0.ɵɵFactoryDeclaration<FsRowActionsComponent, never>;
34
- static ɵcmp: i0.ɵɵComponentDeclaration<FsRowActionsComponent, "fs-list-row-actions", never, { "row": "row"; "index": "index"; "restoreMode": "restoreMode"; "rowActions": "rowActions"; "rowRemoved": "rowRemoved"; "menuRowActions": "menuRowActions"; "inlineRowActions": "inlineRowActions"; "restoreAction": "restoreAction"; }, {}, never, never>;
35
- }
1
+ import { EventEmitter } from '@angular/core';
2
+ import { FsPrompt } from '@firestitch/prompt';
3
+ import { Row } from '../../../../models/row';
4
+ import { RowAction } from '../../../../models/row-action.model';
5
+ import * as i0 from "@angular/core";
6
+ export declare class FsRowActionsComponent {
7
+ private _fsPrompt;
8
+ row: Row;
9
+ index: number;
10
+ restoreMode: boolean;
11
+ rowActions: RowAction[];
12
+ rowRemoved: EventEmitter<any>;
13
+ menuRowActions: RowAction[];
14
+ inlineRowActions: RowAction[];
15
+ restoreAction: RowAction;
16
+ private _destroy$;
17
+ constructor(_fsPrompt: FsPrompt);
18
+ actionClick(action: RowAction, row: any, event: any, menuRef?: any): void;
19
+ /**
20
+ * Track By for improve change detection
21
+ * @param index
22
+ */
23
+ trackByFn(index: any): any;
24
+ /**
25
+ * Emit that some row must be removed
26
+ * @param action
27
+ * @param row
28
+ * @param event
29
+ * @param index
30
+ */
31
+ private removeAction;
32
+ static ɵfac: i0.ɵɵFactoryDeclaration<FsRowActionsComponent, never>;
33
+ static ɵcmp: i0.ɵɵComponentDeclaration<FsRowActionsComponent, "fs-list-row-actions", never, { "row": "row"; "index": "index"; "restoreMode": "restoreMode"; "rowActions": "rowActions"; "rowRemoved": "rowRemoved"; "menuRowActions": "menuRowActions"; "inlineRowActions": "inlineRowActions"; "restoreAction": "restoreAction"; }, {}, never, never>;
34
+ }
@@ -1,23 +1,23 @@
1
- import { OnChanges, OnDestroy, OnInit, SimpleChanges, TemplateRef } from '@angular/core';
2
- import { Column } from '../../../../models/column.model';
3
- import { Row } from '../../../../models/row';
4
- import * as i0 from "@angular/core";
5
- export declare class FsCellComponent implements OnInit, OnChanges, OnDestroy {
6
- isColl: boolean;
7
- role: string;
8
- column: Column;
9
- row: Row;
10
- rowIndex: number;
11
- cellContext: any;
12
- cellTemplate: TemplateRef<any>;
13
- private _destroy$;
14
- constructor();
15
- ngOnInit(): void;
16
- ngOnChanges(changes: SimpleChanges): void;
17
- ngOnDestroy(): void;
18
- private _initCellContext;
19
- private _initCellTemplate;
20
- private _listenGroupOpen;
21
- static ɵfac: i0.ɵɵFactoryDeclaration<FsCellComponent, never>;
22
- static ɵcmp: i0.ɵɵComponentDeclaration<FsCellComponent, "[fs-cell]", never, { "column": "column"; "row": "row"; "rowIndex": "rowIndex"; }, {}, never, never>;
23
- }
1
+ import { OnChanges, OnDestroy, OnInit, SimpleChanges, TemplateRef } from '@angular/core';
2
+ import { Column } from '../../../../models/column.model';
3
+ import { Row } from '../../../../models/row';
4
+ import * as i0 from "@angular/core";
5
+ export declare class FsCellComponent implements OnInit, OnChanges, OnDestroy {
6
+ isColl: boolean;
7
+ role: string;
8
+ column: Column;
9
+ row: Row;
10
+ rowIndex: number;
11
+ cellContext: any;
12
+ cellTemplate: TemplateRef<any>;
13
+ private _destroy$;
14
+ constructor();
15
+ ngOnInit(): void;
16
+ ngOnChanges(changes: SimpleChanges): void;
17
+ ngOnDestroy(): void;
18
+ private _initCellContext;
19
+ private _initCellTemplate;
20
+ private _listenGroupOpen;
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<FsCellComponent, never>;
22
+ static ɵcmp: i0.ɵɵComponentDeclaration<FsCellComponent, "[fs-cell]", never, { "column": "column"; "row": "row"; "rowIndex": "rowIndex"; }, {}, never, never>;
23
+ }
@@ -1,16 +1,16 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { FsPrompt } from '@firestitch/prompt';
3
- import { FsFile } from '@firestitch/file';
4
- import { RowAction } from '../../../../models/row-action.model';
5
- import * as i0 from "@angular/core";
6
- export declare class FsRowInlineActionComponent {
7
- private _fsPrompt;
8
- action: RowAction;
9
- clicked: EventEmitter<any>;
10
- fileSelect: EventEmitter<FsFile | FsFile[]>;
11
- constructor(_fsPrompt: FsPrompt);
12
- actionClick(event: any): void;
13
- fileSelected(event: any): void;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<FsRowInlineActionComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<FsRowInlineActionComponent, "fs-list-row-inline-action", never, { "action": "action"; }, { "clicked": "clicked"; "fileSelect": "fileSelect"; }, never, never>;
16
- }
1
+ import { EventEmitter } from '@angular/core';
2
+ import { FsPrompt } from '@firestitch/prompt';
3
+ import { FsFile } from '@firestitch/file';
4
+ import { RowAction } from '../../../../models/row-action.model';
5
+ import * as i0 from "@angular/core";
6
+ export declare class FsRowInlineActionComponent {
7
+ private _fsPrompt;
8
+ action: RowAction;
9
+ clicked: EventEmitter<any>;
10
+ fileSelect: EventEmitter<FsFile | FsFile[]>;
11
+ constructor(_fsPrompt: FsPrompt);
12
+ actionClick(event: any): void;
13
+ fileSelected(event: any): void;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<FsRowInlineActionComponent, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<FsRowInlineActionComponent, "fs-list-row-inline-action", never, { "action": "action"; }, { "clicked": "clicked"; "fileSelect": "fileSelect"; }, never, never>;
16
+ }
@@ -1,12 +1,14 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { FsListRowActionFile } from '../../../../interfaces/listconfig.interface';
3
- import * as i0 from "@angular/core";
4
- export declare class FsRowMenuActionComponent {
5
- icon: string;
6
- label: string;
7
- file: FsListRowActionFile;
8
- fileSelect: EventEmitter<any>;
9
- fileError: EventEmitter<any>;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<FsRowMenuActionComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<FsRowMenuActionComponent, "fs-list-row-menu-action", never, { "icon": "icon"; "label": "label"; "file": "file"; }, { "fileSelect": "fileSelect"; "fileError": "fileError"; }, never, never>;
12
- }
1
+ import { EventEmitter } from '@angular/core';
2
+ import { Row } from '../../../../models/row';
3
+ import { FsListRowActionFile } from '../../../../interfaces/listconfig.interface';
4
+ import * as i0 from "@angular/core";
5
+ export declare class FsRowMenuActionComponent {
6
+ row: Row;
7
+ icon: string;
8
+ label: string;
9
+ file: FsListRowActionFile;
10
+ fileSelect: EventEmitter<any>;
11
+ fileError: EventEmitter<any>;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<FsRowMenuActionComponent, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<FsRowMenuActionComponent, "fs-list-row-menu-action", never, { "row": "row"; "icon": "icon"; "label": "label"; "file": "file"; }, { "fileSelect": "fileSelect"; "fileError": "fileError"; }, never, never>;
14
+ }