@smartsoft001/crud-shell-angular 1.2.90 → 2.69.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 (214) hide show
  1. package/.storybook/addons.js +1 -0
  2. package/.storybook/config.js +5 -0
  3. package/.storybook/tsconfig.json +8 -0
  4. package/.storybook/webpack.config.js +7 -0
  5. package/jest.config.ts +38 -0
  6. package/ng-package.json +7 -0
  7. package/package.json +12 -23
  8. package/project.json +49 -0
  9. package/src/index.ts +13 -0
  10. package/src/lib/+state/crud.facade.ts +82 -0
  11. package/src/lib/+state/crud.feature.methods.ts +258 -0
  12. package/src/lib/+state/crud.feature.store.ts +77 -0
  13. package/src/lib/components/components.module.ts +58 -0
  14. package/src/lib/components/export/export.component.ts +69 -0
  15. package/src/lib/components/filter/base/base.component.ts +175 -0
  16. package/src/lib/components/filter/check/check.component.scss +25 -0
  17. package/src/lib/components/filter/check/check.component.ts +72 -0
  18. package/src/lib/components/filter/date/date.component.html +30 -0
  19. package/src/lib/components/filter/date/date.component.ts +70 -0
  20. package/src/lib/components/filter/date-time/date-time.component.html +62 -0
  21. package/src/lib/components/filter/date-time/date-time.component.ts +56 -0
  22. package/src/lib/components/filter/date-with-edit/date-with-edit.component.html +109 -0
  23. package/src/lib/components/filter/date-with-edit/date-with-edit.component.ts +70 -0
  24. package/src/lib/components/filter/filter.component.html +52 -0
  25. package/src/lib/components/filter/filter.component.ts +34 -0
  26. package/src/lib/components/filter/flag/flag.component.ts +55 -0
  27. package/src/lib/components/filter/index.ts +9 -0
  28. package/src/lib/components/filter/int/int.component.html +74 -0
  29. package/src/lib/components/filter/int/int.component.ts +57 -0
  30. package/src/lib/components/filter/radio/radio.component.ts +74 -0
  31. package/src/lib/components/filter/text/text.component.ts +46 -0
  32. package/src/lib/components/filters/filters.component.scss +150 -0
  33. package/src/lib/components/filters/filters.component.ts +157 -0
  34. package/src/lib/components/filters-config/filters-config.component.ts +69 -0
  35. package/src/lib/components/group/group.component.ts +93 -0
  36. package/src/lib/components/index.ts +7 -0
  37. package/src/lib/components/multiselect/multiselect.component.html +41 -0
  38. package/src/lib/components/multiselect/multiselect.component.scss +125 -0
  39. package/src/lib/components/multiselect/multiselect.component.ts +104 -0
  40. package/src/lib/crud-full.module.ts +51 -0
  41. package/src/lib/crud.config.ts +79 -0
  42. package/src/lib/crud.module.ts +72 -0
  43. package/src/lib/factories/list-pagination/list-pagination.factory.ts +77 -0
  44. package/src/lib/models/index.ts +1 -0
  45. package/src/lib/models/interfaces.ts +34 -0
  46. package/src/lib/pages/index.ts +6 -0
  47. package/src/lib/pages/item/base/base.component.ts +54 -0
  48. package/src/lib/pages/item/item.component.ts +513 -0
  49. package/src/lib/pages/item/standard/standard.component.scss +0 -0
  50. package/src/lib/pages/item/standard/standard.component.ts +50 -0
  51. package/src/lib/pages/list/base/base.component.ts +29 -0
  52. package/src/lib/pages/list/list.component.stories.ts +77 -0
  53. package/src/lib/pages/list/list.component.ts +438 -0
  54. package/src/lib/pages/list/standard/standard.component.ts +42 -0
  55. package/src/lib/pipes/form-options/form-options.pipe.ts +61 -0
  56. package/src/lib/pipes/index.ts +2 -0
  57. package/src/lib/pipes/pipes.module.ts +9 -0
  58. package/src/lib/providers/model-possibilities/model-possibilities.provider.ts +19 -0
  59. package/src/lib/services/crud/crud.service.spec.ts +303 -0
  60. package/src/lib/services/crud/crud.service.ts +178 -0
  61. package/src/lib/services/list-group/list-group.service.spec.ts +87 -0
  62. package/src/lib/services/list-group/list-group.service.ts +65 -0
  63. package/src/lib/services/page/page.service.spec.ts +143 -0
  64. package/src/lib/services/page/page.service.ts +44 -0
  65. package/src/lib/services/search/search.service.spec.ts +134 -0
  66. package/src/lib/services/search/search.service.ts +42 -0
  67. package/test-setup.ts +0 -0
  68. package/tsconfig.json +13 -0
  69. package/tsconfig.lib.json +31 -0
  70. package/tsconfig.lib.prod.json +11 -0
  71. package/tsconfig.spec.json +10 -0
  72. package/tslint.json +10 -0
  73. package/esm2022/index.mjs +0 -18
  74. package/esm2022/lib/+state/crud.actions.mjs +0 -224
  75. package/esm2022/lib/+state/crud.effects.mjs +0 -182
  76. package/esm2022/lib/+state/crud.facade.mjs +0 -91
  77. package/esm2022/lib/+state/crud.reducer.mjs +0 -214
  78. package/esm2022/lib/+state/crud.selectors.mjs +0 -11
  79. package/esm2022/lib/components/components.module.mjs +0 -110
  80. package/esm2022/lib/components/export/export.component.mjs +0 -47
  81. package/esm2022/lib/components/filter/base/base.component.mjs +0 -152
  82. package/esm2022/lib/components/filter/check/check.component.mjs +0 -36
  83. package/esm2022/lib/components/filter/date/date.component.mjs +0 -47
  84. package/esm2022/lib/components/filter/date-time/date-time.component.mjs +0 -43
  85. package/esm2022/lib/components/filter/date-with-edit/date-with-edit.component.mjs +0 -49
  86. package/esm2022/lib/components/filter/filter.component.mjs +0 -30
  87. package/esm2022/lib/components/filter/flag/flag.component.mjs +0 -16
  88. package/esm2022/lib/components/filter/index.mjs +0 -10
  89. package/esm2022/lib/components/filter/int/int.component.mjs +0 -38
  90. package/esm2022/lib/components/filter/radio/radio.component.mjs +0 -16
  91. package/esm2022/lib/components/filter/text/text.component.mjs +0 -16
  92. package/esm2022/lib/components/filters/filters.component.mjs +0 -111
  93. package/esm2022/lib/components/filters-config/filters-config.component.mjs +0 -37
  94. package/esm2022/lib/components/group/group.component.mjs +0 -54
  95. package/esm2022/lib/components/index.mjs +0 -8
  96. package/esm2022/lib/components/multiselect/multiselect.component.mjs +0 -71
  97. package/esm2022/lib/crud-full.module.mjs +0 -103
  98. package/esm2022/lib/crud.config.mjs +0 -17
  99. package/esm2022/lib/crud.module.mjs +0 -106
  100. package/esm2022/lib/factories/list-pagination/list-pagination.factory.mjs +0 -69
  101. package/esm2022/lib/models/index.mjs +0 -2
  102. package/esm2022/lib/models/interfaces.mjs +0 -2
  103. package/esm2022/lib/pages/index.mjs +0 -7
  104. package/esm2022/lib/pages/item/base/base.component.mjs +0 -44
  105. package/esm2022/lib/pages/item/item.component.mjs +0 -395
  106. package/esm2022/lib/pages/item/standard/standard.component.mjs +0 -15
  107. package/esm2022/lib/pages/list/base/base.component.mjs +0 -23
  108. package/esm2022/lib/pages/list/list.component.mjs +0 -355
  109. package/esm2022/lib/pages/list/standard/standard.component.mjs +0 -34
  110. package/esm2022/lib/pipes/form-options/form-options.pipe.mjs +0 -55
  111. package/esm2022/lib/pipes/index.mjs +0 -3
  112. package/esm2022/lib/pipes/pipes.module.mjs +0 -20
  113. package/esm2022/lib/providers/model-possibilities/model-possibilities.provider.mjs +0 -11
  114. package/esm2022/lib/services/crud/crud.service.mjs +0 -138
  115. package/esm2022/lib/services/list-group/list-group.service.mjs +0 -60
  116. package/esm2022/lib/services/page/page.service.mjs +0 -41
  117. package/esm2022/lib/services/search/search.service.mjs +0 -41
  118. package/esm2022/lib/services/socket/socket.service.mjs +0 -17
  119. package/esm2022/smartsoft001-crud-shell-angular.mjs +0 -5
  120. package/fesm2022/smartsoft001-crud-shell-angular.mjs +0 -2810
  121. package/fesm2022/smartsoft001-crud-shell-angular.mjs.map +0 -1
  122. package/index.d.ts +0 -18
  123. package/index.d.ts.map +0 -1
  124. package/lib/+state/crud.actions.d.ts +0 -152
  125. package/lib/+state/crud.actions.d.ts.map +0 -1
  126. package/lib/+state/crud.effects.d.ts +0 -18
  127. package/lib/+state/crud.effects.d.ts.map +0 -1
  128. package/lib/+state/crud.facade.d.ts +0 -44
  129. package/lib/+state/crud.facade.d.ts.map +0 -1
  130. package/lib/+state/crud.reducer.d.ts +0 -43
  131. package/lib/+state/crud.reducer.d.ts.map +0 -1
  132. package/lib/+state/crud.selectors.d.ts +0 -10
  133. package/lib/+state/crud.selectors.d.ts.map +0 -1
  134. package/lib/components/components.module.d.ts +0 -27
  135. package/lib/components/components.module.d.ts.map +0 -1
  136. package/lib/components/export/export.component.d.ts +0 -21
  137. package/lib/components/export/export.component.d.ts.map +0 -1
  138. package/lib/components/filter/base/base.component.d.ts +0 -39
  139. package/lib/components/filter/base/base.component.d.ts.map +0 -1
  140. package/lib/components/filter/check/check.component.d.ts +0 -19
  141. package/lib/components/filter/check/check.component.d.ts.map +0 -1
  142. package/lib/components/filter/date/date.component.d.ts +0 -16
  143. package/lib/components/filter/date/date.component.d.ts.map +0 -1
  144. package/lib/components/filter/date-time/date-time.component.d.ts +0 -15
  145. package/lib/components/filter/date-time/date-time.component.d.ts.map +0 -1
  146. package/lib/components/filter/date-with-edit/date-with-edit.component.d.ts +0 -17
  147. package/lib/components/filter/date-with-edit/date-with-edit.component.d.ts.map +0 -1
  148. package/lib/components/filter/filter.component.d.ts +0 -14
  149. package/lib/components/filter/filter.component.d.ts.map +0 -1
  150. package/lib/components/filter/flag/flag.component.d.ts +0 -8
  151. package/lib/components/filter/flag/flag.component.d.ts.map +0 -1
  152. package/lib/components/filter/index.d.ts +0 -10
  153. package/lib/components/filter/index.d.ts.map +0 -1
  154. package/lib/components/filter/int/int.component.d.ts +0 -15
  155. package/lib/components/filter/int/int.component.d.ts.map +0 -1
  156. package/lib/components/filter/radio/radio.component.d.ts +0 -8
  157. package/lib/components/filter/radio/radio.component.d.ts.map +0 -1
  158. package/lib/components/filter/text/text.component.d.ts +0 -8
  159. package/lib/components/filter/text/text.component.d.ts.map +0 -1
  160. package/lib/components/filters/filters.component.d.ts +0 -83
  161. package/lib/components/filters/filters.component.d.ts.map +0 -1
  162. package/lib/components/filters-config/filters-config.component.d.ts +0 -19
  163. package/lib/components/filters-config/filters-config.component.d.ts.map +0 -1
  164. package/lib/components/group/group.component.d.ts +0 -23
  165. package/lib/components/group/group.component.d.ts.map +0 -1
  166. package/lib/components/index.d.ts +0 -8
  167. package/lib/components/index.d.ts.map +0 -1
  168. package/lib/components/multiselect/multiselect.component.d.ts +0 -28
  169. package/lib/components/multiselect/multiselect.component.d.ts.map +0 -1
  170. package/lib/crud-full.module.d.ts +0 -28
  171. package/lib/crud-full.module.d.ts.map +0 -1
  172. package/lib/crud.config.d.ts +0 -65
  173. package/lib/crud.config.d.ts.map +0 -1
  174. package/lib/crud.module.d.ts +0 -34
  175. package/lib/crud.module.d.ts.map +0 -1
  176. package/lib/factories/list-pagination/list-pagination.factory.d.ts +0 -20
  177. package/lib/factories/list-pagination/list-pagination.factory.d.ts.map +0 -1
  178. package/lib/models/index.d.ts +0 -2
  179. package/lib/models/index.d.ts.map +0 -1
  180. package/lib/models/interfaces.d.ts +0 -30
  181. package/lib/models/interfaces.d.ts.map +0 -1
  182. package/lib/pages/index.d.ts +0 -7
  183. package/lib/pages/index.d.ts.map +0 -1
  184. package/lib/pages/item/base/base.component.d.ts +0 -25
  185. package/lib/pages/item/base/base.component.d.ts.map +0 -1
  186. package/lib/pages/item/item.component.d.ts +0 -70
  187. package/lib/pages/item/item.component.d.ts.map +0 -1
  188. package/lib/pages/item/standard/standard.component.d.ts +0 -8
  189. package/lib/pages/item/standard/standard.component.d.ts.map +0 -1
  190. package/lib/pages/list/base/base.component.d.ts +0 -15
  191. package/lib/pages/list/base/base.component.d.ts.map +0 -1
  192. package/lib/pages/list/list.component.d.ts +0 -54
  193. package/lib/pages/list/list.component.d.ts.map +0 -1
  194. package/lib/pages/list/standard/standard.component.d.ts +0 -14
  195. package/lib/pages/list/standard/standard.component.d.ts.map +0 -1
  196. package/lib/pipes/form-options/form-options.pipe.d.ts +0 -15
  197. package/lib/pipes/form-options/form-options.pipe.d.ts.map +0 -1
  198. package/lib/pipes/index.d.ts +0 -3
  199. package/lib/pipes/index.d.ts.map +0 -1
  200. package/lib/pipes/pipes.module.d.ts +0 -8
  201. package/lib/pipes/pipes.module.d.ts.map +0 -1
  202. package/lib/providers/model-possibilities/model-possibilities.provider.d.ts +0 -18
  203. package/lib/providers/model-possibilities/model-possibilities.provider.d.ts.map +0 -1
  204. package/lib/services/crud/crud.service.d.ts +0 -38
  205. package/lib/services/crud/crud.service.d.ts.map +0 -1
  206. package/lib/services/list-group/list-group.service.d.ts +0 -15
  207. package/lib/services/list-group/list-group.service.d.ts.map +0 -1
  208. package/lib/services/page/page.service.d.ts +0 -12
  209. package/lib/services/page/page.service.d.ts.map +0 -1
  210. package/lib/services/search/search.service.d.ts +0 -16
  211. package/lib/services/search/search.service.d.ts.map +0 -1
  212. package/lib/services/socket/socket.service.d.ts +0 -10
  213. package/lib/services/socket/socket.service.d.ts.map +0 -1
  214. package/smartsoft001-crud-shell-angular.d.ts.map +0 -1
package/index.d.ts DELETED
@@ -1,18 +0,0 @@
1
- export * from "./lib/+state/crud.selectors";
2
- export * from "./lib/components";
3
- export * from "./lib/crud.config";
4
- export * from "./lib/crud.module";
5
- export * from "./lib/crud-full.module";
6
- export * from "./lib/factories/list-pagination/list-pagination.factory";
7
- export * from "./lib/pipes";
8
- export * from "./lib/providers/model-possibilities/model-possibilities.provider";
9
- export * from "./lib/services/crud/crud.service";
10
- export * from "./lib/services/page/page.service";
11
- export * from "./lib/services/search/search.service";
12
- export * from './lib/+state/crud.actions';
13
- export * from './lib/+state/crud.effects';
14
- export * from './lib/+state/crud.facade';
15
- export * from './lib/+state/crud.reducer';
16
- export * from './lib/models';
17
- export * from './lib/pages';
18
- //# sourceMappingURL=index.d.ts.map
package/index.d.ts.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../libs/crud/shell/angular/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yDAAyD,CAAC;AACxE,cAAc,aAAa,CAAC;AAC5B,cAAc,kEAAkE,CAAC;AACjF,cAAc,kCAAkC,CAAC;AACjD,cAAc,kCAAkC,CAAC;AACjD,cAAc,sCAAsC,CAAC;AACrD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC"}
@@ -1,152 +0,0 @@
1
- import { Action } from "@ngrx/store";
2
- import { IEntity } from "@smartsoft001/domain-core";
3
- import { ICrudCreateManyOptions, ICrudFilter } from "../models/interfaces";
4
- export declare const create: <T extends IEntity<string>>(entity: string, item: T) => Action & {
5
- item: T;
6
- };
7
- export declare const createSuccess: <T extends IEntity<string>>(entity: string, item: T) => Action & {
8
- item: T;
9
- };
10
- export declare const createFailure: <T extends IEntity<string>>(entity: string, item: T, error: any) => Action & {
11
- item: T;
12
- error: any;
13
- };
14
- export declare const createMany: <T extends IEntity<string>>(entity: string, data: {
15
- items: T[];
16
- options: ICrudCreateManyOptions;
17
- }) => Action & {
18
- data: {
19
- items: T[];
20
- options: ICrudCreateManyOptions;
21
- };
22
- };
23
- export declare const createManySuccess: <T extends IEntity<string>>(entity: string, data: {
24
- items: T[];
25
- options: ICrudCreateManyOptions;
26
- }) => Action & {
27
- data: {
28
- items: T[];
29
- options: ICrudCreateManyOptions;
30
- };
31
- };
32
- export declare const createManyFailure: <T extends IEntity<string>>(entity: string, data: {
33
- items: T[];
34
- options: ICrudCreateManyOptions;
35
- }, error: any) => Action & {
36
- data: {
37
- items: T[];
38
- options: ICrudCreateManyOptions;
39
- };
40
- error: any;
41
- };
42
- export declare const read: (entity: string, filter?: ICrudFilter) => Action & {
43
- filter: ICrudFilter;
44
- };
45
- export declare const readSuccess: <T extends IEntity<string>, F>(entity: string, filter: F, result: {
46
- data: T[];
47
- totalCount: number;
48
- links: any;
49
- }) => Action & {
50
- result: {
51
- data: T[];
52
- totalCount: number;
53
- links: any;
54
- };
55
- filter: F;
56
- };
57
- export declare const readFailure: <F>(entity: string, filter: F, error: any) => Action & {
58
- filter: F;
59
- error: any;
60
- };
61
- export declare const clear: (entity: string) => Action;
62
- export declare const exportList: (entity: string, filter: ICrudFilter, format: any) => Action & {
63
- filter: ICrudFilter;
64
- format: any;
65
- };
66
- export declare const exportListSuccess: <T extends IEntity<string>, F>(entity: string, filter: F) => Action & {
67
- filter: F;
68
- };
69
- export declare const exportListFailure: <F>(entity: string, filter: F, error: any) => Action & {
70
- filter: F;
71
- error: any;
72
- };
73
- export declare const select: (entity: string, id: string) => Action & {
74
- id: string;
75
- };
76
- export declare const selectSuccess: <T extends IEntity<string>, F>(entity: string, id: string, item: T) => Action & {
77
- id: string;
78
- item: T;
79
- };
80
- export declare const selectFailure: <F>(entity: string, id: string, error: any) => Action & {
81
- id: string;
82
- error: any;
83
- };
84
- export declare const unselect: (entity: string) => Action;
85
- export declare const multiSelect: <T extends IEntity<string>>(entity: string, items: T[]) => Action & {
86
- items: T[];
87
- };
88
- export declare const update: <T extends IEntity<string>>(entity: string, item: T) => Action & {
89
- item: T;
90
- };
91
- export declare const updateSuccess: <T extends IEntity<string>>(entity: string, item: T) => Action & {
92
- item: T;
93
- };
94
- export declare const updateFailure: <T extends IEntity<string>>(entity: string, item: T, error: any) => Action & {
95
- item: T;
96
- error: any;
97
- };
98
- export declare const updatePartial: <T extends IEntity<string>>(entity: string, item: Partial<T> & {
99
- id: string;
100
- }) => Action & {
101
- item: Partial<T> & {
102
- id: string;
103
- };
104
- };
105
- export declare const updatePartialSuccess: <T extends IEntity<string>>(entity: string, item: Partial<T> & {
106
- id: string;
107
- }) => Action & {
108
- item: Partial<T> & {
109
- id: string;
110
- };
111
- };
112
- export declare const updatePartialFailure: <T extends IEntity<string>>(entity: string, item: Partial<T> & {
113
- id: string;
114
- }, error: any) => Action & {
115
- item: Partial<T> & {
116
- id: string;
117
- };
118
- error: any;
119
- };
120
- export declare const updatePartialMany: <T extends IEntity<string>>(entity: string, items: Partial<T> & {
121
- id: string;
122
- }[]) => Action & {
123
- items: Partial<T> & {
124
- id: string;
125
- }[];
126
- };
127
- export declare const updatePartialManySuccess: <T extends IEntity<string>>(entity: string, items: Partial<T> & {
128
- id: string;
129
- }[]) => Action & {
130
- items: Partial<T> & {
131
- id: string;
132
- }[];
133
- };
134
- export declare const updatePartialManyFailure: <T extends IEntity<string>>(entity: string, items: Partial<T> & {
135
- id: string;
136
- }[], error: any) => Action & {
137
- items: Partial<T> & {
138
- id: string;
139
- }[];
140
- error: any;
141
- };
142
- export declare const deleteItem: (entity: string, id: string) => Action & {
143
- id: string;
144
- };
145
- export declare const deleteSuccess: (entity: string, id: string) => Action & {
146
- id: string;
147
- };
148
- export declare const deleteFailure: <F>(entity: string, id: string, error: any) => Action & {
149
- id: string;
150
- error: any;
151
- };
152
- //# sourceMappingURL=crud.actions.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"crud.actions.d.ts","sourceRoot":"","sources":["../../../../../../../libs/crud/shell/angular/src/lib/+state/crud.actions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,sBAAsB,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAM3E,eAAO,MAAM,MAAM,sCACT,MAAM;;CAOf,CAAC;AAEF,eAAO,MAAM,aAAa,sCAChB,MAAM;;CAOf,CAAC;AAEF,eAAO,MAAM,aAAa,sCAChB,MAAM;;;CASf,CAAC;AAKF,eAAO,MAAM,UAAU,sCACb,MAAM;;aACe,sBAAsB;;;;iBACV,sBAAsB;;CAKhE,CAAC;AAEF,eAAO,MAAM,iBAAiB,sCACpB,MAAM;;aACe,sBAAsB;;;;iBACV,sBAAsB;;CAKhE,CAAC;AAEF,eAAO,MAAM,iBAAiB,sCACpB,MAAM;;aACe,sBAAsB;;;;iBAEV,sBAAsB;;;CAMhE,CAAC;AAKF,eAAO,MAAM,IAAI,WACP,MAAM,WACN,WAAW;YACC,WAAW;CAKhC,CAAC;AAEF,eAAO,MAAM,WAAW,yCACd,MAAM;;gBAEmB,MAAM;;;;;oBACM,MAAM;;;;CAMpD,CAAC;AAEF,eAAO,MAAM,WAAW,cACd,MAAM;;;CASf,CAAC;AAKF,eAAO,MAAM,KAAK,WACN,MAAM,KACf,MAIF,CAAC;AAKF,eAAO,MAAM,UAAU,WACb,MAAM,UACN,WAAW;YAEC,WAAW;;CAMhC,CAAC;AAEF,eAAO,MAAM,iBAAiB,yCACpB,MAAM;;CAOf,CAAC;AAEF,eAAO,MAAM,iBAAiB,cACpB,MAAM;;;CASf,CAAC;AAKF,eAAO,MAAM,MAAM,WACT,MAAM,MACV,MAAM;QACM,MAAM;CAKvB,CAAC;AAEF,eAAO,MAAM,aAAa,yCAChB,MAAM,MACV,MAAM;QAEM,MAAM;;CAMvB,CAAC;AAEF,eAAO,MAAM,aAAa,cAChB,MAAM,MACV,MAAM;QAEM,MAAM;;CAMvB,CAAC;AAEF,eAAO,MAAM,QAAQ,WAAoB,MAAM,KAAG,MAIjD,CAAC;AAKF,eAAO,MAAM,WAAW,sCACZ,MAAM;;CAOjB,CAAC;AAKF,eAAO,MAAM,MAAM,sCACT,MAAM;;CAOf,CAAC;AAEF,eAAO,MAAM,aAAa,sCAChB,MAAM;;CAOf,CAAC;AAEF,eAAO,MAAM,aAAa,sCAChB,MAAM;;;CASf,CAAC;AAKF,eAAO,MAAM,aAAa,sCAChB,MAAM;QACW,MAAM;;;YACM,MAAM;;CAK5C,CAAC;AAEF,eAAO,MAAM,oBAAoB,sCACvB,MAAM;QACW,MAAM;;;YACM,MAAM;;CAK5C,CAAC;AAEF,eAAO,MAAM,oBAAoB,sCACvB,MAAM;QACW,MAAM;;;YAEM,MAAM;;;CAM5C,CAAC;AAKF,eAAO,MAAM,iBAAiB,sCAClB,MAAM;QACY,MAAM;;;YACI,MAAM;;CAK7C,CAAC;AAEF,eAAO,MAAM,wBAAwB,sCACzB,MAAM;QACY,MAAM;;;YACI,MAAM;;CAK7C,CAAC;AAEF,eAAO,MAAM,wBAAwB,sCACzB,MAAM;QACY,MAAM;;;YAEI,MAAM;;;CAM7C,CAAC;AAKF,eAAO,MAAM,UAAU,WACb,MAAM,MACV,MAAM;QACM,MAAM;CAKvB,CAAC;AAEF,eAAO,MAAM,aAAa,WAChB,MAAM,MACV,MAAM;QACM,MAAM;CAKvB,CAAC;AAEF,eAAO,MAAM,aAAa,cAChB,MAAM,MACV,MAAM;QAEM,MAAM;;CAMvB,CAAC"}
@@ -1,18 +0,0 @@
1
- import "reflect-metadata";
2
- import { ActionsSubject, State, Store } from "@ngrx/store";
3
- import { CrudService } from "../services/crud/crud.service";
4
- import { IEntity } from "@smartsoft001/domain-core";
5
- import { CrudConfig } from "../crud.config";
6
- import * as i0 from "@angular/core";
7
- export declare class CrudEffects<T extends IEntity<string>> {
8
- private actions$;
9
- private service;
10
- private config;
11
- private store;
12
- private state;
13
- constructor(actions$: ActionsSubject, service: CrudService<T>, config: CrudConfig<T>, store: Store<any>, state: State<any>);
14
- init(): void;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<CrudEffects<any>, never>;
16
- static ɵprov: i0.ɵɵInjectableDeclaration<CrudEffects<any>>;
17
- }
18
- //# sourceMappingURL=crud.effects.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"crud.effects.d.ts","sourceRoot":"","sources":["../../../../../../../libs/crud/shell/angular/src/lib/+state/crud.effects.ts"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,CAAC;AAK1B,OAAO,EAAU,cAAc,EAAU,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAE3E,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AAEpD,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;;AAG5C,qBACa,WAAW,CAAC,CAAC,SAAS,OAAO,CAAC,MAAM,CAAC;IAE9C,OAAO,CAAC,QAAQ;IAChB,OAAO,CAAC,OAAO;IACf,OAAO,CAAC,MAAM;IACd,OAAO,CAAC,KAAK;IACb,OAAO,CAAC,KAAK;gBAJL,QAAQ,EAAE,cAAc,EACxB,OAAO,EAAE,WAAW,CAAC,CAAC,CAAC,EACvB,MAAM,EAAE,UAAU,CAAC,CAAC,CAAC,EACrB,KAAK,EAAE,KAAK,CAAC,GAAG,CAAC,EACjB,KAAK,EAAE,KAAK,CAAC,GAAG,CAAC;IAG3B,IAAI,IAAI,IAAI;yCATD,WAAW;6CAAX,WAAW;CA8UvB"}
@@ -1,44 +0,0 @@
1
- import { Store } from "@ngrx/store";
2
- import { Observable } from "rxjs";
3
- import { IEntity } from "@smartsoft001/domain-core";
4
- import { CrudConfig } from "../crud.config";
5
- import { ICrudCreateManyOptions, ICrudFilter } from "../models/interfaces";
6
- import * as i0 from "@angular/core";
7
- export declare class CrudFacade<T extends IEntity<string>> {
8
- private store;
9
- private config;
10
- selected: T;
11
- multiSelected: Array<T>;
12
- list: Array<T>;
13
- filter: ICrudFilter;
14
- loaded$: Observable<boolean>;
15
- loading$: Observable<boolean>;
16
- selected$: Observable<T>;
17
- multiSelected$: Observable<T[]>;
18
- list$: Observable<T[]>;
19
- filter$: Observable<ICrudFilter>;
20
- totalCount$: Observable<number>;
21
- links$: Observable<any>;
22
- error$: Observable<any>;
23
- constructor(store: Store<any>, config: CrudConfig<T>);
24
- create(item: T): void;
25
- createMany(items: Array<T>, options: ICrudCreateManyOptions): void;
26
- read(filter?: ICrudFilter): void;
27
- clear(): void;
28
- select(id: string): void;
29
- unselect(): void;
30
- multiSelect(items: Array<T>): void;
31
- update(item: T): void;
32
- export(filter?: ICrudFilter, format?: any): void;
33
- updatePartial(item: Partial<T> & {
34
- id: string;
35
- }): void;
36
- updatePartialMany(items: (Partial<T> & {
37
- id: string;
38
- })[]): void;
39
- delete(id: string): void;
40
- private getStore;
41
- static ɵfac: i0.ɵɵFactoryDeclaration<CrudFacade<any>, never>;
42
- static ɵprov: i0.ɵɵInjectableDeclaration<CrudFacade<any>>;
43
- }
44
- //# sourceMappingURL=crud.facade.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"crud.facade.d.ts","sourceRoot":"","sources":["../../../../../../../libs/crud/shell/angular/src/lib/+state/crud.facade.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,KAAK,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAKlC,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AAEpD,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAG5C,OAAO,EAAC,sBAAsB,EAAE,WAAW,EAAC,MAAM,sBAAsB,CAAC;;AAIzE,qBACa,UAAU,CAAC,CAAC,SAAS,OAAO,CAAC,MAAM,CAAC;IAgDnC,OAAO,CAAC,KAAK;IAAc,OAAO,CAAC,MAAM;IA/CrD,QAAQ,EAAE,CAAC,CAAC;IACZ,aAAa,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC;IACxB,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC;IACf,MAAM,EAAE,WAAW,CAAC;IAEpB,OAAO,EAAE,UAAU,CAAC,OAAO,CAAC,CAE1B;IACF,QAAQ,EAAE,UAAU,CAAC,OAAO,CAAC,CAG3B;IACF,SAAS,EAAE,UAAU,CAAC,CAAC,CAAC,CAKtB;IACF,cAAc,EAAE,UAAU,CAAC,CAAC,EAAE,CAAC,CAK7B;IACF,KAAK,EAAE,UAAU,CAAC,CAAC,EAAE,CAAC,CAKpB;IACF,OAAO,EAAE,UAAU,CAAC,WAAW,CAAC,CAK9B;IACF,WAAW,EAAE,UAAU,CAAC,MAAM,CAAC,CAE7B;IACF,MAAM,EAAE,UAAU,CAAC,GAAG,CAAC,CAErB;IAEF,MAAM,EAAE,UAAU,CAAC,GAAG,CAAC,CAErB;gBAEkB,KAAK,EAAE,KAAK,CAAC,GAAG,CAAC,EAAU,MAAM,EAAE,UAAU,CAAC,CAAC,CAAC;IAMpE,MAAM,CAAC,IAAI,EAAE,CAAC,GAAG,IAAI;IAIrB,UAAU,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,sBAAsB,GAAG,IAAI;IAIlE,IAAI,CAAC,MAAM,GAAE,WAAkB,GAAG,IAAI;IActC,KAAK,IAAI,IAAI;IAIb,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI;IAIxB,QAAQ,IAAI,IAAI;IAIhB,WAAW,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,GAAG,IAAI;IAIlC,MAAM,CAAC,IAAI,EAAE,CAAC,GAAG,IAAI;IAIrB,MAAM,CAAC,MAAM,GAAE,WAAkB,EAAE,MAAM,MAAO,GAAG,IAAI;IAIvD,aAAa,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC,GAAG;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI;IAItD,iBAAiB,CAAC,KAAK,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG;QAAC,EAAE,EAAE,MAAM,CAAA;KAAC,CAAC,EAAE;IAItD,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI;IAIxB,OAAO,CAAC,QAAQ;yCAhHL,UAAU;6CAAV,UAAU;CAqHtB"}
@@ -1,43 +0,0 @@
1
- import { IEntity } from "@smartsoft001/domain-core";
2
- import { Action } from "@ngrx/store";
3
- import { ICrudFilter } from "../models/interfaces";
4
- export interface State<T extends IEntity<string>> {
5
- selected?: T;
6
- multiSelected?: Array<T>;
7
- list?: T[];
8
- totalCount?: number;
9
- filter?: ICrudFilter;
10
- links?: any;
11
- loaded: boolean;
12
- error?: string | null;
13
- }
14
- export declare const initialState: State<any>;
15
- export declare function getReducer(entity: any): (state: any, action: Action) => State<any> | {
16
- loaded: boolean;
17
- error: any;
18
- selected?: any;
19
- multiSelected?: any[];
20
- list?: any[];
21
- totalCount?: number;
22
- filter?: ICrudFilter;
23
- links?: any;
24
- } | {
25
- loaded: boolean;
26
- filter: any;
27
- error: any;
28
- totalCount: any;
29
- links: any;
30
- selected?: any;
31
- multiSelected?: any[];
32
- list?: any[];
33
- } | {
34
- loaded: boolean;
35
- list: any[];
36
- totalCount: any;
37
- links: any;
38
- error: any;
39
- selected?: any;
40
- multiSelected?: any[];
41
- filter?: ICrudFilter;
42
- };
43
- //# sourceMappingURL=crud.reducer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"crud.reducer.d.ts","sourceRoot":"","sources":["../../../../../../../libs/crud/shell/angular/src/lib/+state/crud.reducer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAC,MAAM,2BAA2B,CAAC;AAClD,OAAO,EAAC,MAAM,EAAC,MAAM,aAAa,CAAC;AAGnC,OAAO,EAAC,WAAW,EAAC,MAAM,sBAAsB,CAAC;AAEjD,MAAM,WAAW,KAAK,CAAC,CAAC,SAAS,OAAO,CAAC,MAAM,CAAC;IAC5C,QAAQ,CAAC,EAAE,CAAC,CAAC;IACb,aAAa,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC;IACzB,IAAI,CAAC,EAAE,CAAC,EAAE,CAAC;IACX,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB;AAED,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,GAAG,CAEnC,CAAC;AAkPF,wBAAgB,UAAU,CAAC,MAAM,KAAA,wBACN,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGhC"}
@@ -1,10 +0,0 @@
1
- export declare const getCrudState: (entity: any) => import("@ngrx/store").MemoizedSelector<object, any, import("@ngrx/store").DefaultProjectorFn<any>>;
2
- export declare const getCrudSelected: (entity: any) => import("@ngrx/store").MemoizedSelector<object, any, (s1: any) => any>;
3
- export declare const getCrudMultiSelected: (entity: any) => import("@ngrx/store").MemoizedSelector<object, any, (s1: any) => any>;
4
- export declare const getCrudList: (entity: any) => import("@ngrx/store").MemoizedSelector<object, any, (s1: any) => any>;
5
- export declare const getCrudTotalCount: (entity: any) => import("@ngrx/store").MemoizedSelector<object, any, (s1: any) => any>;
6
- export declare const getCrudLinks: (entity: any) => import("@ngrx/store").MemoizedSelector<object, any, (s1: any) => any>;
7
- export declare const getCrudLoaded: (entity: any) => import("@ngrx/store").MemoizedSelector<object, any, (s1: any) => any>;
8
- export declare const getCrudFilter: (entity: any) => import("@ngrx/store").MemoizedSelector<object, any, (s1: any) => any>;
9
- export declare const getCrudError: (entity: any) => import("@ngrx/store").MemoizedSelector<object, any, (s1: any) => any>;
10
- //# sourceMappingURL=crud.selectors.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"crud.selectors.d.ts","sourceRoot":"","sources":["../../../../../../../libs/crud/shell/angular/src/lib/+state/crud.selectors.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY,qHAAkD,CAAC;AAE5E,eAAO,MAAM,eAAe,wFAG3B,CAAC;AAEF,eAAO,MAAM,oBAAoB,wFAGhC,CAAC;AAEF,eAAO,MAAM,WAAW,wFAGvB,CAAC;AAEF,eAAO,MAAM,iBAAiB,wFAG7B,CAAC;AAEF,eAAO,MAAM,YAAY,wFAGxB,CAAC;AAEF,eAAO,MAAM,aAAa,wFAGzB,CAAC;AAEF,eAAO,MAAM,aAAa,wFAGzB,CAAC;AAEF,eAAO,MAAM,YAAY,wFAGxB,CAAC"}
@@ -1,27 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./export/export.component";
3
- import * as i2 from "./filter/filter.component";
4
- import * as i3 from "./filter/text/text.component";
5
- import * as i4 from "./filters-config/filters-config.component";
6
- import * as i5 from "./filter/date/date.component";
7
- import * as i6 from "./filter/date-with-edit/date-with-edit.component";
8
- import * as i7 from "./filter/date-time/date-time.component";
9
- import * as i8 from "./filter/radio/radio.component";
10
- import * as i9 from "./filters/filters.component";
11
- import * as i10 from "./filter/flag/flag.component";
12
- import * as i11 from "./filter/check/check.component";
13
- import * as i12 from "./filter/int/int.component";
14
- import * as i13 from "./multiselect/multiselect.component";
15
- import * as i14 from "./group/group.component";
16
- import * as i15 from "@ngrx/store";
17
- import * as i16 from "@smartsoft001/angular";
18
- import * as i17 from "../pipes/pipes.module";
19
- import * as i18 from "@angular/forms";
20
- import * as i19 from "@angular/common";
21
- import * as i20 from "ng-dynamic-component";
22
- export declare class CrudComponentsModule {
23
- static ɵfac: i0.ɵɵFactoryDeclaration<CrudComponentsModule, never>;
24
- static ɵmod: i0.ɵɵNgModuleDeclaration<CrudComponentsModule, [typeof i1.ExportComponent, typeof i2.FilterComponent, typeof i3.FilterTextComponent, typeof i4.FiltersConfigComponent, typeof i5.FilterDateComponent, typeof i6.FilterDateWithEditComponent, typeof i7.FilterDateTimeComponent, typeof i8.FilterRadioComponent, typeof i9.FiltersComponent, typeof i10.FilterFlagComponent, typeof i11.FilterCheckComponent, typeof i12.FilterIntComponent, typeof i13.MultiselectComponent, typeof i14.GroupComponent], [typeof i15.StoreModule, typeof i16.SharedModule, typeof i17.CrudPipesModule, typeof i18.FormsModule, typeof i19.CommonModule, typeof i20.DynamicIoModule], [typeof i17.CrudPipesModule, typeof i1.ExportComponent, typeof i2.FilterComponent, typeof i3.FilterTextComponent, typeof i4.FiltersConfigComponent, typeof i5.FilterDateComponent, typeof i6.FilterDateWithEditComponent, typeof i7.FilterDateTimeComponent, typeof i8.FilterRadioComponent, typeof i9.FiltersComponent, typeof i10.FilterFlagComponent, typeof i11.FilterCheckComponent, typeof i12.FilterIntComponent, typeof i13.MultiselectComponent, typeof i14.GroupComponent]>;
25
- static ɵinj: i0.ɵɵInjectorDeclaration<CrudComponentsModule>;
26
- }
27
- //# sourceMappingURL=components.module.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"components.module.d.ts","sourceRoot":"","sources":["../../../../../../../libs/crud/shell/angular/src/lib/components/components.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAgDA,qBAoBa,oBAAoB;yCAApB,oBAAoB;0CAApB,oBAAoB;0CAApB,oBAAoB;CAAG"}
@@ -1,21 +0,0 @@
1
- import { ElementRef, OnInit } from '@angular/core';
2
- import { Observable } from "rxjs";
3
- import { BaseComponent, IButtonOptions, PopoverService, StyleService } from "@smartsoft001/angular";
4
- import { IEntity } from "@smartsoft001/domain-core";
5
- import { CrudFacade } from "../../+state/crud.facade";
6
- import * as i0 from "@angular/core";
7
- export declare class ExportComponent<T extends IEntity<string>> extends BaseComponent implements OnInit {
8
- private facade;
9
- private popoverService;
10
- private styleService;
11
- private elementRef;
12
- buttonExportCsvOptions: IButtonOptions;
13
- buttonExportXlsxOptions: IButtonOptions;
14
- loading$: Observable<boolean>;
15
- constructor(facade: CrudFacade<T>, popoverService: PopoverService, styleService: StyleService, elementRef: ElementRef);
16
- ngOnInit(): void;
17
- private initButtonExportOptions;
18
- static ɵfac: i0.ɵɵFactoryDeclaration<ExportComponent<any>, never>;
19
- static ɵcmp: i0.ɵɵComponentDeclaration<ExportComponent<any>, "smart-crud-export", never, {}, {}, never, never, false, never>;
20
- }
21
- //# sourceMappingURL=export.component.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"export.component.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/crud/shell/angular/src/lib/components/export/export.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,UAAU,EAAE,MAAM,EAAC,MAAM,eAAe,CAAC;AAC5D,OAAO,EAAC,UAAU,EAAC,MAAM,MAAM,CAAC;AAEhC,OAAO,EAAC,aAAa,EAAE,cAAc,EAAE,cAAc,EAAE,YAAY,EAAC,MAAM,uBAAuB,CAAC;AAClG,OAAO,EAAC,OAAO,EAAC,MAAM,2BAA2B,CAAC;AAElD,OAAO,EAAC,UAAU,EAAC,MAAM,0BAA0B,CAAC;;AAEpD,qBAKa,eAAe,CAAC,CAAC,SAAS,OAAO,CAAC,MAAM,CAAC,CAAE,SAAQ,aAAc,YAAW,MAAM;IAQzF,OAAO,CAAC,MAAM;IACd,OAAO,CAAC,cAAc;IACtB,OAAO,CAAC,YAAY;IACpB,OAAO,CAAC,UAAU;IATtB,sBAAsB,EAAE,cAAc,CAAuC;IAC7E,uBAAuB,EAAE,cAAc,CAAwC;IAE/E,QAAQ,EAAE,UAAU,CAAC,OAAO,CAAC,CAAwB;gBAGzC,MAAM,EAAE,UAAU,CAAC,CAAC,CAAC,EACrB,cAAc,EAAE,cAAc,EAC9B,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,UAAU;IAKlC,QAAQ,IAAI,IAAI;IAIhB,OAAO,CAAC,uBAAuB;yCApBpB,eAAe;2CAAf,eAAe;CAuC3B"}
@@ -1,39 +0,0 @@
1
- import { OnInit } from "@angular/core";
2
- import { Observable } from "rxjs";
3
- import { IEntity } from "@smartsoft001/domain-core";
4
- import { IModelFilter } from "@smartsoft001/models";
5
- import { ICrudFilter } from "../../../models/interfaces";
6
- import { CrudFacade } from "../../../+state/crud.facade";
7
- import { ICrudModelPossibilitiesProvider } from "../../../providers/model-possibilities/model-possibilities.provider";
8
- import { CrudConfig } from "../../../crud.config";
9
- import { TranslateService } from "@ngx-translate/core";
10
- import * as i0 from "@angular/core";
11
- export declare class BaseComponent<T extends IEntity<string>> implements OnInit {
12
- protected facade: CrudFacade<T>;
13
- private config;
14
- private modelPossibilitiesProvider;
15
- protected translateService: TranslateService;
16
- possibilities$: Observable<{
17
- id: any;
18
- text: string;
19
- }[]>;
20
- item: IModelFilter;
21
- filter: ICrudFilter;
22
- get value(): any;
23
- set value(val: any);
24
- get minValue(): any;
25
- set minValue(val: any);
26
- get maxValue(): any;
27
- set maxValue(val: any);
28
- get lang(): string;
29
- constructor(facade: CrudFacade<T>, config: CrudConfig<T>, modelPossibilitiesProvider: ICrudModelPossibilitiesProvider, translateService: TranslateService);
30
- refresh(val: any, type?: any): void;
31
- clear(): void;
32
- ngOnInit(): void;
33
- private initPossibilities;
34
- private isArrayType;
35
- private refreshForArray;
36
- static ɵfac: i0.ɵɵFactoryDeclaration<BaseComponent<any>, [null, null, { optional: true; }, null]>;
37
- static ɵdir: i0.ɵɵDirectiveDeclaration<BaseComponent<any>, never, never, { "item": { "alias": "item"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; }, {}, never, never, false, never>;
38
- }
39
- //# sourceMappingURL=base.component.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"base.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../libs/crud/shell/angular/src/lib/components/filter/base/base.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAA2B,MAAM,EAAW,MAAM,eAAe,CAAC;AAEzE,OAAO,EAAC,UAAU,EAAC,MAAM,MAAM,CAAC;AAEhC,OAAO,EAAC,OAAO,EAAC,MAAM,2BAA2B,CAAC;AAClD,OAAO,EAAY,YAAY,EAAC,MAAM,sBAAsB,CAAC;AAE7D,OAAO,EAAC,WAAW,EAAC,MAAM,4BAA4B,CAAC;AACvD,OAAO,EAAC,UAAU,EAAC,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAEL,+BAA+B,EAChC,MAAM,qEAAqE,CAAC;AAC7E,OAAO,EAAC,UAAU,EAAC,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAC,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;;AAErD,qBACa,aAAa,CAAC,CAAC,SAAS,OAAO,CAAC,MAAM,CAAC,CAAE,YAAW,MAAM;IAoEnE,SAAS,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC,CAAC;IAC/B,OAAO,CAAC,MAAM;IAGd,OAAO,CAAC,0BAA0B;IAClC,SAAS,CAAC,gBAAgB,EAAE,gBAAgB;IAxE9C,cAAc,EAAE,UAAU,CAAC;QAAE,EAAE,EAAE,GAAG,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC,CAAC;IAE/C,IAAI,EAAE,YAAY,CAAC;IACnB,MAAM,EAAE,WAAW,CAAC;IAE7B,IAAI,KAAK,IAAI,GAAG,CAaf;IAED,IAAI,KAAK,CAAC,GAAG,EAAE,GAAG,EAEjB;IAED,IAAI,QAAQ,IAAI,GAAG,CAalB;IAED,IAAI,QAAQ,CAAC,GAAG,EAAE,GAAG,EAEpB;IAED,IAAI,QAAQ,IAAI,GAAG,CAalB;IAED,IAAI,QAAQ,CAAC,GAAG,EAAE,GAAG,EAEpB;IAED,IAAI,IAAI,IAAI,MAAM,CAEjB;gBAGW,MAAM,EAAE,UAAU,CAAC,CAAC,CAAC,EACvB,MAAM,EAAE,UAAU,CAAC,CAAC,CAAC,EAGrB,0BAA0B,EAAE,+BAA+B,EACzD,gBAAgB,EAAE,gBAAgB;IAI9C,OAAO,CAAC,GAAG,EAAE,GAAG,EAAE,IAAI,MAAO,GAAG,IAAI;IAwCpC,KAAK,IAAI,IAAI;IAQb,QAAQ,IAAI,IAAI;IAIhB,OAAO,CAAC,iBAAiB;IAYzB,OAAO,CAAC,WAAW;IAInB,OAAO,CAAC,eAAe;yCAjJZ,aAAa;2CAAb,aAAa;CA8KzB"}
@@ -1,19 +0,0 @@
1
- import { AfterContentInit } from '@angular/core';
2
- import { Observable } from "rxjs";
3
- import { IEntity } from "@smartsoft001/domain-core";
4
- import { BaseComponent } from "../base/base.component";
5
- import * as i0 from "@angular/core";
6
- export declare class FilterCheckComponent<T extends IEntity<string>> extends BaseComponent<T> implements AfterContentInit {
7
- list$: Observable<{
8
- value: any;
9
- isCheck: boolean;
10
- }[]>;
11
- ngAfterContentInit(): void;
12
- onCheckChange(checked: boolean, entry: {
13
- value: any;
14
- isCheck: boolean;
15
- }): void;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<FilterCheckComponent<any>, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<FilterCheckComponent<any>, "smart-crud-filter-check", never, {}, {}, never, never, false, never>;
18
- }
19
- //# sourceMappingURL=check.component.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"check.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../libs/crud/shell/angular/src/lib/components/filter/check/check.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,gBAAgB,EAAY,MAAM,eAAe,CAAC;AAC1D,OAAO,EAAC,UAAU,EAAC,MAAM,MAAM,CAAC;AAIhC,OAAO,EAAC,OAAO,EAAC,MAAM,2BAA2B,CAAC;AAElD,OAAO,EAAC,aAAa,EAAC,MAAM,wBAAwB,CAAC;;AAErD,qBAKa,oBAAoB,CAAC,CAAC,SAAS,OAAO,CAAC,MAAM,CAAC,CAAE,SAAQ,aAAa,CAAC,CAAC,CAAE,YAAW,gBAAgB;IAC7G,KAAK,EAAE,UAAU,CAAC;QAAE,KAAK,EAAE,GAAG,CAAC;QAAC,OAAO,EAAE,OAAO,CAAA;KAAE,EAAE,CAAC,CAAC;IAEtD,kBAAkB,IAAI,IAAI;IAW1B,aAAa,CAAC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE;QAAE,KAAK,EAAE,GAAG,CAAC;QAAC,OAAO,EAAE,OAAO,CAAA;KAAE;yCAd9D,oBAAoB;2CAApB,oBAAoB;CA0BhC"}
@@ -1,16 +0,0 @@
1
- import { IEntity } from "@smartsoft001/domain-core";
2
- import { BaseComponent } from "../base/base.component";
3
- import * as i0 from "@angular/core";
4
- export declare class FilterDateComponent<T extends IEntity<string>> extends BaseComponent<T> {
5
- id: string;
6
- get allowAdvanced(): boolean;
7
- set customValue(val: any);
8
- get customValue(): any;
9
- set customMinValue(val: any);
10
- get customMinValue(): any;
11
- set customMaxValue(val: any);
12
- get customMaxValue(): any;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<FilterDateComponent<any>, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<FilterDateComponent<any>, "smart-crud-filter-date", never, {}, {}, never, never, false, never>;
15
- }
16
- //# sourceMappingURL=date.component.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"date.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../libs/crud/shell/angular/src/lib/components/filter/date/date.component.ts"],"names":[],"mappings":"AAKA,OAAO,EAAC,OAAO,EAAC,MAAM,2BAA2B,CAAC;AAElD,OAAO,EAAC,aAAa,EAAC,MAAM,wBAAwB,CAAC;;AAErD,qBAKa,mBAAmB,CAAC,CAAC,SAAS,OAAO,CAAC,MAAM,CAAC,CAAE,SAAQ,aAAa,CAAC,CAAC,CAAC;IAClF,EAAE,SAAwB;IAE1B,IAAI,aAAa,IAAI,OAAO,CAE3B;IAED,IAAI,WAAW,CAAC,GAAG,EAKA,GAAG,AALH,EAGlB;IAED,IAAI,WAAW,IAAI,GAAG,CAErB;IAED,IAAI,cAAc,CAAC,GAAG,EAKA,GAAG,AALH,EAGrB;IAED,IAAI,cAAc,IAAI,GAAG,CAExB;IAED,IAAI,cAAc,CAAC,GAAG,EAKA,GAAG,AALH,EAGrB;IAED,IAAI,cAAc,IAAI,GAAG,CAExB;yCAhCU,mBAAmB;2CAAnB,mBAAmB;CAiC/B"}
@@ -1,15 +0,0 @@
1
- import { OnDestroy, OnInit } from '@angular/core';
2
- import { IonDatetime } from "@ionic/angular";
3
- import { IEntity } from "@smartsoft001/domain-core";
4
- import { FilterDateComponent } from "../date/date.component";
5
- import * as i0 from "@angular/core";
6
- export declare class FilterDateTimeComponent<T extends IEntity<string>> extends FilterDateComponent<T> implements OnInit, OnDestroy {
7
- private _subscriptions;
8
- id: string;
9
- dateTimePicker: IonDatetime;
10
- ngOnInit(): void;
11
- ngOnDestroy(): void;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<FilterDateTimeComponent<any>, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<FilterDateTimeComponent<any>, "smart-crud-filter-date-time", never, {}, {}, never, never, false, never>;
14
- }
15
- //# sourceMappingURL=date-time.component.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"date-time.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../libs/crud/shell/angular/src/lib/components/filter/date-time/date-time.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwB,SAAS,EAAE,MAAM,EAAY,MAAM,eAAe,CAAC;AAClF,OAAO,EAAC,WAAW,EAAC,MAAM,gBAAgB,CAAC;AAG3C,OAAO,EAAC,OAAO,EAAC,MAAM,2BAA2B,CAAC;AAGlD,OAAO,EAAC,mBAAmB,EAAC,MAAM,wBAAwB,CAAC;;AAE3D,qBAKa,uBAAuB,CAAC,CAAC,SAAS,OAAO,CAAC,MAAM,CAAC,CAAE,SAAQ,mBAAmB,CAAC,CAAC,CAC7F,YAAW,MAAM,EAAE,SAAS;IAC1B,OAAO,CAAC,cAAc,CAAsB;IAE5C,EAAE,SAAwB;IAEoC,cAAc,EAAE,WAAW,CAAC;IAE1F,QAAQ,IAAI,IAAI;IAYhB,WAAW,IAAI,IAAI;yCApBR,uBAAuB;2CAAvB,uBAAuB;CAyBnC"}
@@ -1,17 +0,0 @@
1
- import { OnDestroy, OnInit } from '@angular/core';
2
- import { IonDatetime } from "@ionic/angular";
3
- import { IEntity } from "@smartsoft001/domain-core";
4
- import { FilterDateComponent } from "../date/date.component";
5
- import * as i0 from "@angular/core";
6
- export declare class FilterDateWithEditComponent<T extends IEntity<string>> extends FilterDateComponent<T> implements OnInit, OnDestroy {
7
- private _subscriptions;
8
- advanced: boolean;
9
- id: string;
10
- dateTimePicker: IonDatetime;
11
- toggleAdvanced(): void;
12
- ngOnInit(): void;
13
- ngOnDestroy(): void;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<FilterDateWithEditComponent<any>, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<FilterDateWithEditComponent<any>, "smart-crud-filter-date-with-edit", never, {}, {}, never, never, false, never>;
16
- }
17
- //# sourceMappingURL=date-with-edit.component.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"date-with-edit.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../libs/crud/shell/angular/src/lib/components/filter/date-with-edit/date-with-edit.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwB,SAAS,EAAE,MAAM,EAAY,MAAM,eAAe,CAAC;AAClF,OAAO,EAAC,WAAW,EAAC,MAAM,gBAAgB,CAAC;AAG3C,OAAO,EAAC,OAAO,EAAC,MAAM,2BAA2B,CAAC;AAGlD,OAAO,EAAC,mBAAmB,EAAC,MAAM,wBAAwB,CAAC;;AAE3D,qBAKa,2BAA2B,CAAC,CAAC,SAAS,OAAO,CAAC,MAAM,CAAC,CAAE,SAAQ,mBAAmB,CAAC,CAAC,CACjG,YAAW,MAAM,EAAE,SAAS;IAC1B,OAAO,CAAC,cAAc,CAAsB;IAE5C,QAAQ,UAAS;IACjB,EAAE,SAAwB;IAEoC,cAAc,EAAE,WAAW,CAAC;IAE1F,cAAc,IAAI,IAAI;IAKtB,QAAQ,IAAI,IAAI;IAYhB,WAAW,IAAI,IAAI;yCA1BR,2BAA2B;2CAA3B,2BAA2B;CA+BvC"}
@@ -1,14 +0,0 @@
1
- import { OnInit } from "@angular/core";
2
- import { IModelFilter } from "@smartsoft001/models";
3
- import { ICrudFilter } from "../../models/interfaces";
4
- import * as i0 from "@angular/core";
5
- export declare class FilterComponent implements OnInit {
6
- FieldType: typeof import("@smartsoft001/models").FieldTypeDef;
7
- item: IModelFilter;
8
- filter: ICrudFilter;
9
- constructor();
10
- ngOnInit(): void;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<FilterComponent, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<FilterComponent, "smart-crud-filter", never, { "item": { "alias": "item"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; }, {}, never, never, false, never>;
13
- }
14
- //# sourceMappingURL=filter.component.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"filter.component.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/crud/shell/angular/src/lib/components/filter/filter.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,MAAM,EAAE,MAAM,eAAe,CAAC;AAEzD,OAAO,EAAY,YAAY,EAAC,MAAM,sBAAsB,CAAC;AAE7D,OAAO,EAAC,WAAW,EAAC,MAAM,yBAAyB,CAAC;;AAEpD,qBAKa,eAAgB,YAAW,MAAM;IAC5C,SAAS,qDAAa;IAEb,IAAI,EAAE,YAAY,CAAC;IACnB,MAAM,EAAE,WAAW,CAAC;;IAI7B,QAAQ,IAAI,IAAI;yCARL,eAAe;2CAAf,eAAe;CAS3B"}
@@ -1,8 +0,0 @@
1
- import { IEntity } from "@smartsoft001/domain-core";
2
- import { BaseComponent } from "../base/base.component";
3
- import * as i0 from "@angular/core";
4
- export declare class FilterFlagComponent<T extends IEntity<string>> extends BaseComponent<T> {
5
- static ɵfac: i0.ɵɵFactoryDeclaration<FilterFlagComponent<any>, never>;
6
- static ɵcmp: i0.ɵɵComponentDeclaration<FilterFlagComponent<any>, "smart-crud-filter-flag", never, {}, {}, never, never, false, never>;
7
- }
8
- //# sourceMappingURL=flag.component.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"flag.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../libs/crud/shell/angular/src/lib/components/filter/flag/flag.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,OAAO,EAAC,MAAM,2BAA2B,CAAC;AAElD,OAAO,EAAC,aAAa,EAAC,MAAM,wBAAwB,CAAC;;AAErD,qBAKa,mBAAmB,CAAC,CAAC,SAAS,OAAO,CAAC,MAAM,CAAC,CAAE,SAAQ,aAAa,CAAC,CAAC,CAAC;yCAAvE,mBAAmB;2CAAnB,mBAAmB;CAE/B"}
@@ -1,10 +0,0 @@
1
- export * from "./filter.component";
2
- export * from "./date/date.component";
3
- export * from "./date-with-edit/date-with-edit.component";
4
- export * from "./date-time/date-time.component";
5
- export * from "./radio/radio.component";
6
- export * from "./text/text.component";
7
- export * from "./flag/flag.component";
8
- export * from "./check/check.component";
9
- export * from "./int/int.component";
10
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/crud/shell/angular/src/lib/components/filter/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,2CAA2C,CAAC;AAC1D,cAAc,iCAAiC,CAAC;AAChD,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC"}
@@ -1,15 +0,0 @@
1
- import { OnDestroy, OnInit } from '@angular/core';
2
- import { IEntity } from "@smartsoft001/domain-core";
3
- import { BaseComponent } from "../base/base.component";
4
- import * as i0 from "@angular/core";
5
- export declare class FilterIntComponent<T extends IEntity<string>> extends BaseComponent<T> implements OnInit, OnDestroy {
6
- private _subscriptions;
7
- advanced: boolean;
8
- get allowAdvanced(): boolean;
9
- ngOnInit(): void;
10
- ngOnDestroy(): void;
11
- toggleAdvanced(): void;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<FilterIntComponent<any>, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<FilterIntComponent<any>, "smart-crud-filter-int", never, {}, {}, never, never, false, never>;
14
- }
15
- //# sourceMappingURL=int.component.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"int.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../libs/crud/shell/angular/src/lib/components/filter/int/int.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,SAAS,EAAE,MAAM,EAAY,MAAM,eAAe,CAAC;AAItE,OAAO,EAAC,OAAO,EAAC,MAAM,2BAA2B,CAAC;AAGlD,OAAO,EAAC,aAAa,EAAC,MAAM,wBAAwB,CAAC;;AAErD,qBAKa,kBAAkB,CAAC,CAAC,SAAS,OAAO,CAAC,MAAM,CAAC,CAAE,SAAQ,aAAa,CAAC,CAAC,CAClF,YAAW,MAAM,EAAE,SAAS;IAC1B,OAAO,CAAC,cAAc,CAAsB;IAE5C,QAAQ,UAAS;IAEjB,IAAI,aAAa,IAAI,OAAO,CAE3B;IAED,QAAQ,IAAI,IAAI;IAIhB,WAAW,IAAI,IAAI;IAMnB,cAAc,IAAI,IAAI;yCApBX,kBAAkB;2CAAlB,kBAAkB;CAwB9B"}
@@ -1,8 +0,0 @@
1
- import { IEntity } from "@smartsoft001/domain-core";
2
- import { BaseComponent } from "../base/base.component";
3
- import * as i0 from "@angular/core";
4
- export declare class FilterRadioComponent<T extends IEntity<string>> extends BaseComponent<T> {
5
- static ɵfac: i0.ɵɵFactoryDeclaration<FilterRadioComponent<any>, never>;
6
- static ɵcmp: i0.ɵɵComponentDeclaration<FilterRadioComponent<any>, "smart-crud-filter-radio", never, {}, {}, never, never, false, never>;
7
- }
8
- //# sourceMappingURL=radio.component.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"radio.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../libs/crud/shell/angular/src/lib/components/filter/radio/radio.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,OAAO,EAAC,MAAM,2BAA2B,CAAC;AAClD,OAAO,EAAC,aAAa,EAAC,MAAM,wBAAwB,CAAC;;AAErD,qBAKa,oBAAoB,CAAC,CAAC,SAAS,OAAO,CAAC,MAAM,CAAC,CAAE,SAAQ,aAAa,CAAC,CAAC,CAAC;yCAAxE,oBAAoB;2CAApB,oBAAoB;CAEhC"}
@@ -1,8 +0,0 @@
1
- import { IEntity } from "@smartsoft001/domain-core";
2
- import { BaseComponent } from "../base/base.component";
3
- import * as i0 from "@angular/core";
4
- export declare class FilterTextComponent<T extends IEntity<string>> extends BaseComponent<T> {
5
- static ɵfac: i0.ɵɵFactoryDeclaration<FilterTextComponent<any>, never>;
6
- static ɵcmp: i0.ɵɵComponentDeclaration<FilterTextComponent<any>, "smart-crud-filter-text", never, {}, {}, never, never, false, never>;
7
- }
8
- //# sourceMappingURL=text.component.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"text.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../libs/crud/shell/angular/src/lib/components/filter/text/text.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,OAAO,EAAC,MAAM,2BAA2B,CAAC;AAElD,OAAO,EAAC,aAAa,EAAC,MAAM,wBAAwB,CAAC;;AAErD,qBAKa,mBAAmB,CAAC,CAAC,SAAS,OAAO,CAAC,MAAM,CAAC,CAAE,SAAQ,aAAa,CAAC,CAAC,CAAC;yCAAvE,mBAAmB;2CAAnB,mBAAmB;CAE/B"}