@firestitch/list 12.14.0 → 12.14.2

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 (155) 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 +31 -31
  5. package/app/classes/index.d.ts +2 -2
  6. package/app/classes/list-controller.d.ts +178 -177
  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 +68 -68
  10. package/app/classes/selection-controller.d.ts +146 -146
  11. package/app/classes/sorting-controller.d.ts +64 -64
  12. package/app/components/body/body.component.d.ts +29 -29
  13. package/app/components/body/row/actions/actions.component.d.ts +34 -34
  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 -14
  17. package/app/components/body/row/row.component.d.ts +80 -80
  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 +16 -16
  22. package/app/components/head/head-cell/head-cell.component.d.ts +14 -14
  23. package/app/components/head/head.component.d.ts +47 -47
  24. package/app/components/list/list.component.d.ts +122 -121
  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 +90 -90
  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 +3 -3
  58. package/app/interfaces/listconfig.interface.d.ts +259 -258
  59. package/app/interfaces/pagination.interface.d.ts +13 -13
  60. package/app/models/column-async-attribute.d.ts +5 -5
  61. package/app/models/column-attributes.d.ts +39 -39
  62. package/app/models/column.model.d.ts +59 -59
  63. package/app/models/row/base-row.d.ts +13 -13
  64. package/app/models/row/child-row.d.ts +12 -12
  65. package/app/models/row/group-footer-row.d.ts +10 -10
  66. package/app/models/row/group-row.d.ts +16 -16
  67. package/app/models/row/simple-row.d.ts +5 -5
  68. package/app/models/row-action.model.d.ts +29 -29
  69. package/app/models/row.d.ts +30 -30
  70. package/app/models/styleConfig.model.d.ts +31 -31
  71. package/app/pipes/action-label.d.ts +8 -8
  72. package/app/pipes/index.d.ts +1 -1
  73. package/app/services/group-expand-notifier.service.d.ts +11 -11
  74. package/bundles/firestitch-list.umd.js +6858 -6839
  75. package/bundles/firestitch-list.umd.js.map +1 -1
  76. package/esm2015/app/classes/actions-controller.js +55 -55
  77. package/esm2015/app/classes/columns-controller.js +205 -205
  78. package/esm2015/app/classes/data-controller.js +348 -348
  79. package/esm2015/app/classes/external-params-controller.js +153 -153
  80. package/esm2015/app/classes/index.js +3 -3
  81. package/esm2015/app/classes/list-controller.js +737 -722
  82. package/esm2015/app/classes/pagination-controller.js +460 -460
  83. package/esm2015/app/classes/persistance-controller.js +19 -19
  84. package/esm2015/app/classes/reorder-controller.js +182 -182
  85. package/esm2015/app/classes/selection-controller.js +458 -458
  86. package/esm2015/app/classes/sorting-controller.js +180 -180
  87. package/esm2015/app/components/body/body.component.js +67 -67
  88. package/esm2015/app/components/body/row/actions/actions.component.js +95 -95
  89. package/esm2015/app/components/body/row/cell/cell.component.js +107 -107
  90. package/esm2015/app/components/body/row/inline-action/inline-action.component.js +39 -39
  91. package/esm2015/app/components/body/row/menu-action/menu-action.component.js +35 -35
  92. package/esm2015/app/components/body/row/row.component.js +293 -293
  93. package/esm2015/app/components/customize-cols/customize-cols.component.js +72 -72
  94. package/esm2015/app/components/footer/footer-row/footer-cell/footer-cell.component.js +20 -20
  95. package/esm2015/app/components/footer/footer-row/footer-row.component.js +31 -31
  96. package/esm2015/app/components/footer/footer.component.js +34 -34
  97. package/esm2015/app/components/head/head-cell/head-cell.component.js +33 -33
  98. package/esm2015/app/components/head/head.component.js +104 -104
  99. package/esm2015/app/components/list/list.component.js +386 -382
  100. package/esm2015/app/components/loader/loader.component.js +47 -47
  101. package/esm2015/app/components/manage-saved-filters/manage-saved-filters.component.js +78 -78
  102. package/esm2015/app/components/pagination/pagination.component.js +44 -44
  103. package/esm2015/app/components/saved-filters/saved-filters.component.js +33 -33
  104. package/esm2015/app/components/status/status.component.js +72 -72
  105. package/esm2015/app/directives/cell/cell.directive.js +18 -18
  106. package/esm2015/app/directives/column/column.directive.js +111 -111
  107. package/esm2015/app/directives/content/content.directive.js +12 -12
  108. package/esm2015/app/directives/content-init/content-init.directive.js +21 -21
  109. package/esm2015/app/directives/draggable-list/draggable-list.directive.js +323 -323
  110. package/esm2015/app/directives/draggable-row/draggable-row.directive.js +78 -78
  111. package/esm2015/app/directives/empty-state/empty-state.directive.js +13 -13
  112. package/esm2015/app/directives/footer/footer.directive.js +18 -18
  113. package/esm2015/app/directives/group-expand-trigger/group-expand-trigger.directive.js +26 -26
  114. package/esm2015/app/directives/group-footer/group-footer.directive.js +13 -13
  115. package/esm2015/app/directives/group-header/group-header.directive.js +13 -13
  116. package/esm2015/app/directives/header/header.directive.js +18 -18
  117. package/esm2015/app/directives/heading/heading.directive.js +13 -13
  118. package/esm2015/app/directives/heading-container/heading-container.directive.js +13 -13
  119. package/esm2015/app/directives/index.js +4 -4
  120. package/esm2015/app/directives/subheading/subheading.directive.js +13 -13
  121. package/esm2015/app/enums/button-type.enum.js +9 -9
  122. package/esm2015/app/enums/page-change-type.enum.js +6 -6
  123. package/esm2015/app/enums/pagination-strategy.enum.js +7 -7
  124. package/esm2015/app/enums/row-type.enum.js +7 -7
  125. package/esm2015/app/enums/state.enum.js +11 -11
  126. package/esm2015/app/fs-list.module.js +244 -244
  127. package/esm2015/app/fs-list.providers.js +4 -4
  128. package/esm2015/app/interfaces/cellconfig.interface.js +2 -2
  129. package/esm2015/app/interfaces/column-config.interface.js +1 -1
  130. package/esm2015/app/interfaces/draggable-list.interface.js +2 -2
  131. package/esm2015/app/interfaces/external-params.interface.js +2 -2
  132. package/esm2015/app/interfaces/index.js +4 -4
  133. package/esm2015/app/interfaces/listconfig.interface.js +2 -2
  134. package/esm2015/app/interfaces/pagination.interface.js +2 -2
  135. package/esm2015/app/models/column-async-attribute.js +13 -13
  136. package/esm2015/app/models/column-attributes.js +130 -130
  137. package/esm2015/app/models/column.model.js +166 -166
  138. package/esm2015/app/models/row/base-row.js +23 -23
  139. package/esm2015/app/models/row/child-row.js +28 -28
  140. package/esm2015/app/models/row/group-footer-row.js +20 -20
  141. package/esm2015/app/models/row/group-row.js +44 -44
  142. package/esm2015/app/models/row/simple-row.js +10 -10
  143. package/esm2015/app/models/row-action.model.js +94 -94
  144. package/esm2015/app/models/row.js +80 -80
  145. package/esm2015/app/models/styleConfig.model.js +75 -75
  146. package/esm2015/app/pipes/action-label.js +16 -16
  147. package/esm2015/app/pipes/index.js +1 -1
  148. package/esm2015/app/services/group-expand-notifier.service.js +26 -26
  149. package/esm2015/firestitch-list.js +4 -4
  150. package/esm2015/public_api.js +45 -45
  151. package/fesm2015/firestitch-list.js +5640 -5621
  152. package/fesm2015/firestitch-list.js.map +1 -1
  153. package/firestitch-list.d.ts +5 -5
  154. package/package.json +1 -1
  155. package/public_api.d.ts +39 -39
@@ -1,146 +1,146 @@
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
- private _disabled$;
31
- constructor(config: FsListSelectionConfig, _trackBy: string, _selectionDialog: SelectionDialog);
32
- get disabled(): boolean;
33
- get disabled$(): Observable<boolean>;
34
- get selectedAll(): boolean;
35
- get selectionChange$(): Observable<{
36
- type: SelectionChangeType;
37
- payload: any;
38
- }>;
39
- setRowsCallback(data: () => any[]): void;
40
- /**
41
- * Trigger when row was selected
42
- * @param row
43
- * @param checked
44
- */
45
- rowSelectionChange(row: Row, checked: boolean): void;
46
- /**
47
- * Do check or uncheck of visible rows
48
- * @param checked
49
- */
50
- selectAllVisibleRows(checked: any): void;
51
- isRowSelected(rowData: any): boolean;
52
- isGroupSelected(row: any): boolean | 'indeterminate';
53
- /**
54
- * Open selection dialog and create reference
55
- */
56
- openDialog(): void;
57
- /**
58
- * Update count of visible elements
59
- * @param count
60
- */
61
- updateVisibleRecordsCount(count: number): void;
62
- /**
63
- * Update count of total available elemenets
64
- * @param count
65
- */
66
- updateTotalRecordsCount(count: number): void;
67
- pageChanged(infinityScrollEnabled: any): void;
68
- enableSelection(): void;
69
- disableSelection(): void;
70
- /**
71
- * Method will be called from List for remove row if it was selected
72
- *
73
- * BUT methods for update visible and etc. will be called a bit later
74
- * @param row
75
- */
76
- removeRow(row: any): void;
77
- /**
78
- * Intersection of selected and passed rows to remove rows that we dont need more
79
- * @param rows
80
- */
81
- selectedRowsIntersection(rows: any): void;
82
- updateConfig({ actions, actionSelected, allSelected, cancelled, selectionChanged, selectAll }: FsListSelectionConfig): void;
83
- resetActions(): void;
84
- closeSelectionDialog(): void;
85
- destroy(): void;
86
- /**
87
- * Subscribe to selectionRef events
88
- */
89
- private _subscribeToSelection;
90
- /**
91
- * If some action was clicked on selection ref dialog
92
- * @param data
93
- */
94
- private _onActionActions;
95
- /**
96
- * If cancel was clicked on selection ref dialog
97
- */
98
- private _onCancelActions;
99
- /**
100
- * If "Select All" action was clicked on selection ref dialog
101
- * @param flag
102
- */
103
- private _onSelectAllActions;
104
- private _selectionChangedActions;
105
- /**
106
- * Update in Dialog Ref how much rows was selected
107
- */
108
- private _updateSelectionRefSelected;
109
- /**
110
- * Update in Dialog Ref selected all status
111
- *
112
- * Ex.: Was clicked "Select All" in Dialog and after that some checkbox was unchecked
113
- * Dialog Ref must know about it
114
- *
115
- */
116
- private _updateSelectionRefSelectedAll;
117
- /**
118
- * Check if all visible rows was checked and send event to main header checkbox
119
- */
120
- private _updateSelectedVisibleStatus;
121
- /**
122
- * If select all checkbox in header was changed
123
- */
124
- private _visibleRowsSelectionChanged;
125
- /**
126
- * Method constructor for events
127
- * @param type
128
- * @param payload
129
- */
130
- private _selectionChangeEvent;
131
- /**
132
- * Get row identified by trackBy path
133
- *
134
- * @param row
135
- */
136
- private _rowIdentifier;
137
- private _selectRow;
138
- private _deselectRow;
139
- private _selectChildRow;
140
- private _deselectChildRow;
141
- private _setNumberOfSelectedChildrenInGroup;
142
- /**
143
- * Reset selection
144
- */
145
- private _resetSelection;
146
- }
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
+ private _disabled$;
31
+ constructor(config: FsListSelectionConfig, _trackBy: string, _selectionDialog: SelectionDialog);
32
+ get disabled(): boolean;
33
+ get disabled$(): Observable<boolean>;
34
+ get selectedAll(): boolean;
35
+ get selectionChange$(): Observable<{
36
+ type: SelectionChangeType;
37
+ payload: any;
38
+ }>;
39
+ setRowsCallback(data: () => any[]): void;
40
+ /**
41
+ * Trigger when row was selected
42
+ * @param row
43
+ * @param checked
44
+ */
45
+ rowSelectionChange(row: Row, checked: boolean): void;
46
+ /**
47
+ * Do check or uncheck of visible rows
48
+ * @param checked
49
+ */
50
+ selectAllVisibleRows(checked: any): void;
51
+ isRowSelected(rowData: any): boolean;
52
+ isGroupSelected(row: any): boolean | 'indeterminate';
53
+ /**
54
+ * Open selection dialog and create reference
55
+ */
56
+ openDialog(): void;
57
+ /**
58
+ * Update count of visible elements
59
+ * @param count
60
+ */
61
+ updateVisibleRecordsCount(count: number): void;
62
+ /**
63
+ * Update count of total available elemenets
64
+ * @param count
65
+ */
66
+ updateTotalRecordsCount(count: number): void;
67
+ pageChanged(infinityScrollEnabled: any): void;
68
+ enableSelection(): void;
69
+ disableSelection(): void;
70
+ /**
71
+ * Method will be called from List for remove row if it was selected
72
+ *
73
+ * BUT methods for update visible and etc. will be called a bit later
74
+ * @param row
75
+ */
76
+ removeRow(row: any): void;
77
+ /**
78
+ * Intersection of selected and passed rows to remove rows that we dont need more
79
+ * @param rows
80
+ */
81
+ selectedRowsIntersection(rows: any): void;
82
+ updateConfig({ actions, actionSelected, allSelected, cancelled, selectionChanged, selectAll }: FsListSelectionConfig): void;
83
+ resetActions(): void;
84
+ closeSelectionDialog(): void;
85
+ destroy(): void;
86
+ /**
87
+ * Subscribe to selectionRef events
88
+ */
89
+ private _subscribeToSelection;
90
+ /**
91
+ * If some action was clicked on selection ref dialog
92
+ * @param data
93
+ */
94
+ private _onActionActions;
95
+ /**
96
+ * If cancel was clicked on selection ref dialog
97
+ */
98
+ private _onCancelActions;
99
+ /**
100
+ * If "Select All" action was clicked on selection ref dialog
101
+ * @param flag
102
+ */
103
+ private _onSelectAllActions;
104
+ private _selectionChangedActions;
105
+ /**
106
+ * Update in Dialog Ref how much rows was selected
107
+ */
108
+ private _updateSelectionRefSelected;
109
+ /**
110
+ * Update in Dialog Ref selected all status
111
+ *
112
+ * Ex.: Was clicked "Select All" in Dialog and after that some checkbox was unchecked
113
+ * Dialog Ref must know about it
114
+ *
115
+ */
116
+ private _updateSelectionRefSelectedAll;
117
+ /**
118
+ * Check if all visible rows was checked and send event to main header checkbox
119
+ */
120
+ private _updateSelectedVisibleStatus;
121
+ /**
122
+ * If select all checkbox in header was changed
123
+ */
124
+ private _visibleRowsSelectionChanged;
125
+ /**
126
+ * Method constructor for events
127
+ * @param type
128
+ * @param payload
129
+ */
130
+ private _selectionChangeEvent;
131
+ /**
132
+ * Get row identified by trackBy path
133
+ *
134
+ * @param row
135
+ */
136
+ private _rowIdentifier;
137
+ private _selectRow;
138
+ private _deselectRow;
139
+ private _selectChildRow;
140
+ private _deselectChildRow;
141
+ private _setNumberOfSelectedChildrenInGroup;
142
+ /**
143
+ * Reset selection
144
+ */
145
+ private _resetSelection;
146
+ }
@@ -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,29 +1,29 @@
1
- import { EventEmitter, TemplateRef } from '@angular/core';
2
- import { Column } from '../../models/column.model';
3
- import { ReorderPosition, ReorderStrategy } 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 {
8
- rows: Row[];
9
- columns: Column[];
10
- hasFooter: boolean;
11
- rowActionsRaw: any[];
12
- groupActionsRaw: any[];
13
- rowEvents: {};
14
- rowClass: any;
15
- hasRowActions: boolean;
16
- selection: SelectionController;
17
- restoreMode: boolean;
18
- rowRemoved: EventEmitter<any>;
19
- activeFiltersCount: number;
20
- reorderEnabled: boolean;
21
- reorderPosition: ReorderPosition | null;
22
- reorderStrategy: ReorderStrategy | null;
23
- reorderMultiple: boolean;
24
- rowsContainer: any;
25
- headerTemplate: TemplateRef<any>;
26
- constructor();
27
- static ɵfac: i0.ɵɵFactoryDeclaration<FsBodyComponent, never>;
28
- 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"; "activeFiltersCount": "activeFiltersCount"; "reorderEnabled": "reorderEnabled"; "reorderPosition": "reorderPosition"; "reorderStrategy": "reorderStrategy"; "reorderMultiple": "reorderMultiple"; }, {}, ["headerTemplate"], never>;
29
- }
1
+ import { EventEmitter, TemplateRef } from '@angular/core';
2
+ import { Column } from '../../models/column.model';
3
+ import { ReorderPosition, ReorderStrategy } 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 {
8
+ rows: Row[];
9
+ columns: Column[];
10
+ hasFooter: boolean;
11
+ rowActionsRaw: any[];
12
+ groupActionsRaw: any[];
13
+ rowEvents: {};
14
+ rowClass: any;
15
+ hasRowActions: boolean;
16
+ selection: SelectionController;
17
+ restoreMode: boolean;
18
+ rowRemoved: EventEmitter<any>;
19
+ activeFiltersCount: number;
20
+ reorderEnabled: boolean;
21
+ reorderPosition: ReorderPosition | null;
22
+ reorderStrategy: ReorderStrategy | null;
23
+ reorderMultiple: boolean;
24
+ rowsContainer: any;
25
+ headerTemplate: TemplateRef<any>;
26
+ constructor();
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<FsBodyComponent, never>;
28
+ 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"; "activeFiltersCount": "activeFiltersCount"; "reorderEnabled": "reorderEnabled"; "reorderPosition": "reorderPosition"; "reorderStrategy": "reorderStrategy"; "reorderMultiple": "reorderMultiple"; }, {}, ["headerTemplate"], never>;
29
+ }
@@ -1,34 +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
- /**
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
+ 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,14 +1,14 @@
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
- }
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
+ }