@firestitch/list 14.0.2 → 16.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 (210) 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 -88
  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 -188
  7. package/app/classes/pagination-controller.d.ts +197 -197
  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 +8 -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 -127
  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 -20
  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 -245
  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/esm2022/app/classes/actions-controller.mjs +57 -0
  77. package/esm2022/app/classes/columns-controller.mjs +211 -0
  78. package/esm2022/app/classes/data-controller.mjs +348 -0
  79. package/esm2022/app/classes/external-params-controller.mjs +153 -0
  80. package/{esm2020 → esm2022}/app/classes/index.mjs +3 -3
  81. package/esm2022/app/classes/list-controller.mjs +712 -0
  82. package/esm2022/app/classes/pagination-controller.mjs +491 -0
  83. package/esm2022/app/classes/persistance-controller.mjs +19 -0
  84. package/esm2022/app/classes/reorder-controller.mjs +191 -0
  85. package/esm2022/app/classes/selection-controller.mjs +473 -0
  86. package/esm2022/app/classes/sorting-controller.mjs +207 -0
  87. package/esm2022/app/components/body/body.component.mjs +73 -0
  88. package/esm2022/app/components/body/row/actions/actions.component.mjs +102 -0
  89. package/esm2022/app/components/body/row/cell/cell.component.mjs +109 -0
  90. package/esm2022/app/components/body/row/inline-action/inline-action.component.mjs +32 -0
  91. package/esm2022/app/components/body/row/menu-action/menu-action.component.mjs +51 -0
  92. package/esm2022/app/components/body/row/row.component.mjs +341 -0
  93. package/esm2022/app/components/customize-cols/customize-cols.component.mjs +70 -0
  94. package/esm2022/app/components/footer/footer-row/footer-cell/footer-cell.component.mjs +16 -0
  95. package/esm2022/app/components/footer/footer-row/footer-row.component.mjs +17 -0
  96. package/esm2022/app/components/footer/footer.component.mjs +35 -0
  97. package/esm2022/app/components/head/head-cell/head-cell.component.mjs +32 -0
  98. package/esm2022/app/components/head/head.component.mjs +113 -0
  99. package/esm2022/app/components/list/list.component.mjs +406 -0
  100. package/esm2022/app/components/loader/loader.component.mjs +40 -0
  101. package/esm2022/app/components/manage-saved-filters/manage-saved-filters.component.mjs +78 -0
  102. package/esm2022/app/components/pagination/pagination.component.mjs +40 -0
  103. package/esm2022/app/components/saved-filters/saved-filters.component.mjs +32 -0
  104. package/esm2022/app/components/status/status.component.mjs +69 -0
  105. package/esm2022/app/directives/cell/cell.directive.mjs +21 -0
  106. package/esm2022/app/directives/column/column.directive.mjs +137 -0
  107. package/{esm2020 → esm2022}/app/directives/content/content.directive.mjs +13 -13
  108. package/esm2022/app/directives/content-init/content-init.directive.mjs +23 -0
  109. package/esm2022/app/directives/draggable-list/draggable-list.directive.mjs +344 -0
  110. package/esm2022/app/directives/draggable-row/draggable-row.directive.mjs +83 -0
  111. package/esm2022/app/directives/empty-state/empty-state.directive.mjs +13 -0
  112. package/esm2022/app/directives/footer/footer.directive.mjs +21 -0
  113. package/esm2022/app/directives/group-expand-trigger/group-expand-trigger.directive.mjs +28 -0
  114. package/{esm2020 → esm2022}/app/directives/group-footer/group-footer.directive.mjs +14 -14
  115. package/{esm2020 → esm2022}/app/directives/group-header/group-header.directive.mjs +14 -14
  116. package/esm2022/app/directives/header/header.directive.mjs +21 -0
  117. package/esm2022/app/directives/heading/heading.directive.mjs +13 -0
  118. package/{esm2020 → esm2022}/app/directives/heading-container/heading-container.directive.mjs +13 -13
  119. package/{esm2020 → esm2022}/app/directives/index.mjs +4 -4
  120. package/esm2022/app/directives/subheading/subheading.directive.mjs +13 -0
  121. package/{esm2020 → esm2022}/app/enums/action-type.enum.mjs +8 -8
  122. package/{esm2020 → esm2022}/app/enums/page-change-type.enum.mjs +6 -6
  123. package/{esm2020 → esm2022}/app/enums/pagination-strategy.enum.mjs +7 -7
  124. package/{esm2020 → esm2022}/app/enums/row-type.enum.mjs +7 -7
  125. package/{esm2020 → esm2022}/app/enums/state.enum.mjs +11 -11
  126. package/{esm2020 → esm2022}/app/fs-list.module.mjs +244 -244
  127. package/{esm2020 → esm2022}/app/fs-list.providers.mjs +4 -4
  128. package/{esm2020 → esm2022}/app/interfaces/cellconfig.interface.mjs +2 -2
  129. package/{esm2020 → esm2022}/app/interfaces/column-config.interface.mjs +1 -1
  130. package/{esm2020 → esm2022}/app/interfaces/draggable-list.interface.mjs +2 -2
  131. package/esm2022/app/interfaces/external-params.interface.mjs +2 -0
  132. package/{esm2020 → esm2022}/app/interfaces/index.mjs +5 -5
  133. package/{esm2020 → esm2022}/app/interfaces/listconfig.interface.mjs +1 -1
  134. package/{esm2020 → esm2022}/app/interfaces/pagination-state.interface.mjs +1 -1
  135. package/esm2022/app/interfaces/pagination.interface.mjs +2 -0
  136. package/{esm2020 → esm2022}/app/interfaces/sorting-change-event.interface.mjs +2 -2
  137. package/{esm2020 → esm2022}/app/models/column-async-attribute.mjs +13 -13
  138. package/esm2022/app/models/column-attributes.mjs +139 -0
  139. package/esm2022/app/models/column.model.mjs +173 -0
  140. package/esm2022/app/models/row/base-row.mjs +25 -0
  141. package/esm2022/app/models/row/child-row.mjs +29 -0
  142. package/esm2022/app/models/row/group-footer-row.mjs +22 -0
  143. package/{esm2020 → esm2022}/app/models/row/group-row.mjs +45 -45
  144. package/{esm2020 → esm2022}/app/models/row/simple-row.mjs +10 -10
  145. package/esm2022/app/models/row-action.model.mjs +102 -0
  146. package/esm2022/app/models/row.mjs +90 -0
  147. package/esm2022/app/models/styleConfig.model.mjs +78 -0
  148. package/{esm2020 → esm2022}/app/pipes/action-label.mjs +17 -17
  149. package/{esm2020 → esm2022}/app/pipes/index.mjs +1 -1
  150. package/esm2022/app/services/group-expand-notifier.service.mjs +24 -0
  151. package/{esm2020 → esm2022}/firestitch-list.mjs +4 -4
  152. package/{esm2020 → esm2022}/public_api.mjs +45 -45
  153. package/{fesm2020 → fesm2022}/firestitch-list.mjs +5854 -5620
  154. package/fesm2022/firestitch-list.mjs.map +1 -0
  155. package/index.d.ts +5 -5
  156. package/package.json +5 -11
  157. package/public_api.d.ts +41 -41
  158. package/esm2020/app/classes/actions-controller.mjs +0 -55
  159. package/esm2020/app/classes/columns-controller.mjs +0 -206
  160. package/esm2020/app/classes/data-controller.mjs +0 -345
  161. package/esm2020/app/classes/external-params-controller.mjs +0 -147
  162. package/esm2020/app/classes/list-controller.mjs +0 -674
  163. package/esm2020/app/classes/pagination-controller.mjs +0 -491
  164. package/esm2020/app/classes/persistance-controller.mjs +0 -19
  165. package/esm2020/app/classes/reorder-controller.mjs +0 -182
  166. package/esm2020/app/classes/selection-controller.mjs +0 -466
  167. package/esm2020/app/classes/sorting-controller.mjs +0 -206
  168. package/esm2020/app/components/body/body.component.mjs +0 -64
  169. package/esm2020/app/components/body/row/actions/actions.component.mjs +0 -97
  170. package/esm2020/app/components/body/row/cell/cell.component.mjs +0 -107
  171. package/esm2020/app/components/body/row/inline-action/inline-action.component.mjs +0 -33
  172. package/esm2020/app/components/body/row/menu-action/menu-action.component.mjs +0 -46
  173. package/esm2020/app/components/body/row/row.component.mjs +0 -322
  174. package/esm2020/app/components/customize-cols/customize-cols.component.mjs +0 -68
  175. package/esm2020/app/components/footer/footer-row/footer-cell/footer-cell.component.mjs +0 -16
  176. package/esm2020/app/components/footer/footer-row/footer-row.component.mjs +0 -28
  177. package/esm2020/app/components/footer/footer.component.mjs +0 -31
  178. package/esm2020/app/components/head/head-cell/head-cell.component.mjs +0 -29
  179. package/esm2020/app/components/head/head.component.mjs +0 -103
  180. package/esm2020/app/components/list/list.component.mjs +0 -385
  181. package/esm2020/app/components/loader/loader.component.mjs +0 -40
  182. package/esm2020/app/components/manage-saved-filters/manage-saved-filters.component.mjs +0 -76
  183. package/esm2020/app/components/pagination/pagination.component.mjs +0 -37
  184. package/esm2020/app/components/saved-filters/saved-filters.component.mjs +0 -29
  185. package/esm2020/app/components/status/status.component.mjs +0 -64
  186. package/esm2020/app/directives/cell/cell.directive.mjs +0 -18
  187. package/esm2020/app/directives/column/column.directive.mjs +0 -121
  188. package/esm2020/app/directives/content-init/content-init.directive.mjs +0 -22
  189. package/esm2020/app/directives/draggable-list/draggable-list.directive.mjs +0 -330
  190. package/esm2020/app/directives/draggable-row/draggable-row.directive.mjs +0 -78
  191. package/esm2020/app/directives/empty-state/empty-state.directive.mjs +0 -13
  192. package/esm2020/app/directives/footer/footer.directive.mjs +0 -18
  193. package/esm2020/app/directives/group-expand-trigger/group-expand-trigger.directive.mjs +0 -26
  194. package/esm2020/app/directives/header/header.directive.mjs +0 -18
  195. package/esm2020/app/directives/heading/heading.directive.mjs +0 -13
  196. package/esm2020/app/directives/subheading/subheading.directive.mjs +0 -13
  197. package/esm2020/app/interfaces/external-params.interface.mjs +0 -2
  198. package/esm2020/app/interfaces/pagination.interface.mjs +0 -2
  199. package/esm2020/app/models/column-attributes.mjs +0 -132
  200. package/esm2020/app/models/column.model.mjs +0 -164
  201. package/esm2020/app/models/row/base-row.mjs +0 -23
  202. package/esm2020/app/models/row/child-row.mjs +0 -28
  203. package/esm2020/app/models/row/group-footer-row.mjs +0 -21
  204. package/esm2020/app/models/row-action.model.mjs +0 -90
  205. package/esm2020/app/models/row.mjs +0 -89
  206. package/esm2020/app/models/styleConfig.model.mjs +0 -76
  207. package/esm2020/app/services/group-expand-notifier.service.mjs +0 -26
  208. package/fesm2015/firestitch-list.mjs +0 -5801
  209. package/fesm2015/firestitch-list.mjs.map +0 -1
  210. package/fesm2020/firestitch-list.mjs.map +0 -1
@@ -1,76 +0,0 @@
1
- import { isString } from 'lodash-es';
2
- export class StyleConfig {
3
- constructor(config = {}) {
4
- this.className = []; // Can't be used in tempaltes!
5
- this.classesArray = []; // Can be used in tempaltes
6
- this.classesString = '';
7
- this._init(config);
8
- }
9
- /**
10
- * Create static array of styles for using in templates
11
- */
12
- updateClasesArray() {
13
- this.classesArray = [].concat(this.className, this.align);
14
- this.classesString = [].concat(this.className, this.align).join(' ');
15
- }
16
- /**
17
- * Prioritized merge for align options
18
- * @param prior1
19
- * @param prior2
20
- */
21
- mergeAlignByPriority(prior1, prior2) {
22
- let targetValue = this.align;
23
- if (targetValue === void 0) {
24
- if (prior1 && prior1.align !== void 0) {
25
- targetValue = prior1.align;
26
- }
27
- else if (prior2 && prior2.align !== void 0) {
28
- targetValue = prior2.align;
29
- }
30
- else {
31
- targetValue = 'left';
32
- }
33
- }
34
- this.align = targetValue;
35
- }
36
- /**
37
- * Prioritized merge for class options
38
- * @param prior1
39
- * @param prior2
40
- */
41
- mergeClassByPriority(prior1, prior2) {
42
- let targetValue = [];
43
- if (Array.isArray(this.className)) {
44
- targetValue = targetValue.concat(this.className);
45
- }
46
- else if (isString(this.className)) {
47
- targetValue.push(this.className);
48
- }
49
- if (prior1 && prior1.className !== void 0) {
50
- this.mergeAnythingIntoArray(targetValue, prior1.className);
51
- }
52
- else if (prior2 && prior2.className !== void 0) {
53
- this.mergeAnythingIntoArray(targetValue, prior2.className);
54
- }
55
- this.className = targetValue;
56
- }
57
- _init(config) {
58
- this.colspan = config.colspan;
59
- this.align = config.align;
60
- this.className = config.className;
61
- }
62
- /**
63
- * Merge params into array
64
- * @param to
65
- * @param from
66
- */
67
- mergeAnythingIntoArray(to, from) {
68
- if (isString(from)) {
69
- to.push(from);
70
- }
71
- else if (Array.isArray(from)) {
72
- to.push(...from);
73
- }
74
- }
75
- }
76
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3R5bGVDb25maWcubW9kZWwuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvYXBwL21vZGVscy9zdHlsZUNvbmZpZy5tb2RlbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sV0FBVyxDQUFDO0FBRXJDLE1BQU0sT0FBTyxXQUFXO0lBUXRCLFlBQVksTUFBTSxHQUFHLEVBQUU7UUFMaEIsY0FBUyxHQUFzQixFQUFFLENBQUMsQ0FBQyw4QkFBOEI7UUFFakUsaUJBQVksR0FBRyxFQUFFLENBQUMsQ0FBQywyQkFBMkI7UUFDOUMsa0JBQWEs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+0,0 @@
1
- import { Injectable } from '@angular/core';
2
- import { Subject } from 'rxjs';
3
- import { takeUntil } from 'rxjs/operators';
4
- import * as i0 from "@angular/core";
5
- export class GroupExpandNotifierService {
6
- constructor() {
7
- this._expandStatusChanged$ = new Subject();
8
- this._destroy$ = new Subject();
9
- }
10
- get expandStatusChange$() {
11
- return this._expandStatusChanged$.pipe(takeUntil(this._destroy$));
12
- }
13
- toggleExpandStatus(rowData) {
14
- this._expandStatusChanged$.next(rowData);
15
- }
16
- ngOnDestroy() {
17
- this._destroy$.next();
18
- this._destroy$.complete();
19
- }
20
- }
21
- GroupExpandNotifierService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GroupExpandNotifierService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
22
- GroupExpandNotifierService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GroupExpandNotifierService });
23
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GroupExpandNotifierService, decorators: [{
24
- type: Injectable
25
- }] });
26
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3JvdXAtZXhwYW5kLW5vdGlmaWVyLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvYXBwL3NlcnZpY2VzL2dyb3VwLWV4cGFuZC1ub3RpZmllci5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQWEsTUFBTSxlQUFlLENBQUM7QUFDdEQsT0FBTyxFQUFFLE9BQU8sRUFBRSxNQUFNLE1BQU0sQ0FBQztBQUMvQixPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7O0FBSTNDLE1BQU0sT0FBTyww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