@smartsoft001/crud-shell-angular 1.2.91 → 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
@@ -1 +0,0 @@
1
- {"version":3,"file":"list.component.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/crud/shell/angular/src/lib/pages/list/list.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EAEC,wBAAwB,EAAE,UAAU,EACtD,QAAQ,EAAE,WAAW,EAAE,SAAS,EAChC,MAAM,EAAE,SAAS,EAAE,WAAW,EAE9B,gBAAgB,EACjB,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAC,UAAU,EAAU,MAAM,MAAM,CAAC;AAGzC,OAAO,EAEL,sBAAsB,EAAE,uBAAuB,EAC/C,eAAe,EAEf,YAAY,EACZ,YAAY,EAEZ,WAAW,EAAE,YAAY,EAC1B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AAQpD,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAItD,OAAO,EAAE,yBAAyB,EAAE,MAAM,yDAAyD,CAAC;AACpG,OAAO,EAAC,WAAW,EAAC,MAAM,kCAAkC,CAAC;AAC7D,OAAO,EAAC,yBAAyB,EAAC,MAAM,uBAAuB,CAAC;AAChE,OAAO,EAAC,iBAAiB,EAAC,MAAM,sCAAsC,CAAC;;;AAGvE,qBAea,aAAa,CAAC,CAAC,SAAS,OAAO,CAAC,MAAM,CAAC,CAChD,SAAQ,kB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AC,GAAG,CAAC,EAC3B,wBAAwB,EAAE,wBAAwB;IAS5D,iBAAiB,IAAI,IAAI;IAInB,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC;IAqL/B,OAAO,CAAC,aAAa;YAMP,KAAK;IAWnB,OAAO,CAAC,aAAa;IAqFrB,OAAO,CAAC,gBAAgB;yCAjVb,aAAa;2CAAb,aAAa;CAsWzB"}
@@ -1,14 +0,0 @@
1
- import { IEntity } from "@smartsoft001/domain-core";
2
- import { CrudListPageBaseComponent } from "../base/base.component";
3
- import { CrudFacade } from "../../../+state/crud.facade";
4
- import { CrudFullConfig } from "../../../crud.config";
5
- import * as i0 from "@angular/core";
6
- export declare class ListStandardComponent<T extends IEntity<string>> extends CrudListPageBaseComponent<T> {
7
- private readonly facade;
8
- readonly config: CrudFullConfig<T>;
9
- isSearch$: import("rxjs").Observable<boolean>;
10
- constructor(facade: CrudFacade<T>, config: CrudFullConfig<T>);
11
- static ɵfac: i0.ɵɵFactoryDeclaration<ListStandardComponent<any>, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<ListStandardComponent<any>, "smart-crud-list-standard-page", never, {}, {}, never, never, false, never>;
13
- }
14
- //# sourceMappingURL=standard.component.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"standard.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../libs/crud/shell/angular/src/lib/pages/list/standard/standard.component.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,OAAO,EAAC,MAAM,2BAA2B,CAAC;AAElD,OAAO,EAAC,yBAAyB,EAAC,MAAM,wBAAwB,CAAC;AAEjE,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AACzD,OAAO,EAAC,cAAc,EAAC,MAAM,sBAAsB,CAAC;;AAEpD,qBAQa,qBAAqB,CAAC,CAAC,SAAS,OAAO,CAAC,MAAM,CAAC,CAAE,SAAQ,yBAAyB,CAAC,CAAC,CAAC;IAQ1F,OAAO,CAAC,QAAQ,CAAC,MAAM;aACP,MAAM,EAAE,cAAc,CAAC,CAAC,CAAC;IAR7C,SAAS,qCAIP;gBAGmB,MAAM,EAAE,UAAU,CAAC,CAAC,CAAC,EACtB,MAAM,EAAE,cAAc,CAAC,CAAC,CAAC;yCATpC,qBAAqB;2CAArB,qBAAqB;CAajC"}
@@ -1,15 +0,0 @@
1
- import { PipeTransform, Type } from "@angular/core";
2
- import { IEntity } from "@smartsoft001/domain-core";
3
- import { IFormOptions, InputBaseComponent } from "@smartsoft001/angular";
4
- import { ICrudModelPossibilitiesProvider } from "../../providers/model-possibilities/model-possibilities.provider";
5
- import * as i0 from "@angular/core";
6
- export declare class FormOptionsPipe<T extends IEntity<string>> implements PipeTransform {
7
- private modelPossibilitiesProvider;
8
- constructor(modelPossibilitiesProvider: ICrudModelPossibilitiesProvider);
9
- transform(item: T, mode: string, type: any, uniqueProvider?: (values: Record<keyof T, any>) => Promise<boolean>, inputComponents?: {
10
- [key: string]: Type<InputBaseComponent<any>>;
11
- }): IFormOptions<T>;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<FormOptionsPipe<any>, [{ optional: true; }]>;
13
- static ɵpipe: i0.ɵɵPipeDeclaration<FormOptionsPipe<any>, "smartFormOptions", false>;
14
- }
15
- //# sourceMappingURL=form-options.pipe.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"form-options.pipe.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/crud/shell/angular/src/lib/pipes/form-options/form-options.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAyB,aAAa,EAAE,IAAI,EAAC,MAAM,eAAe,CAAC;AAE1E,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAC,YAAY,EAAE,kBAAkB,EAAC,MAAM,uBAAuB,CAAC;AAEvE,OAAO,EAEL,+BAA+B,EAChC,MAAM,kEAAkE,CAAC;;AAE1E,qBAGa,eAAe,CAAC,CAAC,SAAS,OAAO,CAAC,MAAM,CAAC,CACpD,YAAW,aAAa;IAItB,OAAO,CAAC,0BAA0B;gBAA1B,0BAA0B,EAAE,+BAA+B;IAGrE,SAAS,CACP,IAAI,EAAE,CAAC,EACP,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,GAAG,EACT,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,GAAG,CAAC,KAAK,OAAO,CAAC,OAAO,CAAC,EACnE,eAAe,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC,kBAAkB,CAAC,GAAG,CAAC,CAAC,CAAA;KAAE,GACjE,YAAY,CAAC,CAAC,CAAC;yCAdP,eAAe;uCAAf,eAAe;CAiD3B"}
@@ -1,3 +0,0 @@
1
- export * from "./pipes.module";
2
- export * from "./form-options/form-options.pipe";
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../libs/crud/shell/angular/src/lib/pipes/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kCAAkC,CAAC"}
@@ -1,8 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./form-options/form-options.pipe";
3
- export declare class CrudPipesModule {
4
- static ɵfac: i0.ɵɵFactoryDeclaration<CrudPipesModule, never>;
5
- static ɵmod: i0.ɵɵNgModuleDeclaration<CrudPipesModule, [typeof i1.FormOptionsPipe], never, [typeof i1.FormOptionsPipe]>;
6
- static ɵinj: i0.ɵɵInjectorDeclaration<CrudPipesModule>;
7
- }
8
- //# sourceMappingURL=pipes.module.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pipes.module.d.ts","sourceRoot":"","sources":["../../../../../../../libs/crud/shell/angular/src/lib/pipes/pipes.module.ts"],"names":[],"mappings":";;AAIA,qBAQa,eAAe;yCAAf,eAAe;0CAAf,eAAe;0CAAf,eAAe;CAE3B"}
@@ -1,18 +0,0 @@
1
- import { InjectionToken } from "@angular/core";
2
- import { Observable } from "rxjs";
3
- /**
4
- * @deprecated - please, use IModelPossibilitiesProvider from @smartsoft001/angular
5
- */
6
- export declare abstract class ICrudModelPossibilitiesProvider {
7
- abstract get<T>(type: any): {
8
- [key: string]: Observable<{
9
- id: any;
10
- text: string;
11
- }[]>;
12
- };
13
- }
14
- /**
15
- * @deprecated - please, use MODEL_POSSIBILITIES_PROVIDER from @smartsoft001/angular
16
- */
17
- export declare const CRUD_MODEL_POSSIBILITIES_PROVIDER: InjectionToken<ICrudModelPossibilitiesProvider>;
18
- //# sourceMappingURL=model-possibilities.provider.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"model-possibilities.provider.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/crud/shell/angular/src/lib/providers/model-possibilities/model-possibilities.provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAC,UAAU,EAAC,MAAM,MAAM,CAAC;AAEhC;;GAEG;AACH,8BAAsB,+BAA+B;IACnD,QAAQ,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,GAAG,GAAG;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,CAAC;YAAE,EAAE,EAAE,GAAG,CAAC;YAAC,IAAI,EAAE,MAAM,CAAA;SAAE,EAAE,CAAC,CAAA;KAAE;CACvF;AAED;;GAEG;AACH,eAAO,MAAM,iCAAiC,iDAER,CAAC"}
@@ -1,38 +0,0 @@
1
- import { Observable } from "rxjs";
2
- import { HttpClient } from "@angular/common/http";
3
- import { IEntity } from "@smartsoft001/domain-core";
4
- import { CrudConfig } from "../../crud.config";
5
- import { ICrudCreateManyOptions, ICrudFilter } from "../../models/interfaces";
6
- import { SocketService } from "../socket/socket.service";
7
- import * as i0 from "@angular/core";
8
- export declare class CrudService<T extends IEntity<string>> {
9
- protected config: CrudConfig<T>;
10
- protected http: HttpClient;
11
- protected socket: SocketService<T>;
12
- protected _formatMap: {
13
- csv: string;
14
- xlsx: string;
15
- };
16
- constructor(config: CrudConfig<T>, http: HttpClient, socket: SocketService<T>);
17
- create(item: T): Observable<string>;
18
- createMany(items: Array<T>, options: ICrudCreateManyOptions): Observable<void>;
19
- getById(id: string): Observable<T>;
20
- getList(filter?: ICrudFilter): Observable<{
21
- data: T[];
22
- totalCount: number;
23
- links: any;
24
- }>;
25
- exportList(filter: ICrudFilter, format: any): Observable<void>;
26
- update(item: T): Observable<void>;
27
- updatePartial(item: Partial<T> & {
28
- id: string;
29
- }): Observable<void>;
30
- updatePartialMany(items: (Partial<T> & {
31
- id: string;
32
- })[]): Observable<any>;
33
- delete(id: string): Observable<void>;
34
- protected getQuery(filter: ICrudFilter): string;
35
- static ɵfac: i0.ɵɵFactoryDeclaration<CrudService<any>, [null, null, { optional: true; }]>;
36
- static ɵprov: i0.ɵɵInjectableDeclaration<CrudService<any>>;
37
- }
38
- //# sourceMappingURL=crud.service.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"crud.service.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/crud/shell/angular/src/lib/services/crud/crud.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAW,UAAU,EAAC,MAAM,MAAM,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAGlD,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AAEpD,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,sBAAsB,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC9E,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;;AAEzD,qBACa,WAAW,CAAC,CAAC,SAAS,OAAO,CAAC,MAAM,CAAC;IAO9C,SAAS,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC,CAAC;IAC/B,SAAS,CAAC,IAAI,EAAE,UAAU;IACd,SAAS,CAAC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ICrudListGroup } from "../../models/interfaces";
3
- import { CrudFacade } from "../../+state/crud.facade";
4
- import * as i0 from "@angular/core";
5
- export declare class CrudListGroupService<T extends IEntity<string>> {
6
- private facade;
7
- private _destroyed;
8
- constructor(facade: CrudFacade<T>);
9
- change(val: any, item: ICrudListGroup, groups: Array<ICrudListGroup>, force: boolean): void;
10
- destroy(groups: Array<ICrudListGroup>): void;
11
- private refresh;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<CrudListGroupService<any>, never>;
13
- static ɵprov: i0.ɵɵInjectableDeclaration<CrudListGroupService<any>>;
14
- }
15
- //# sourceMappingURL=list-group.service.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"list-group.service.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/crud/shell/angular/src/lib/services/list-group/list-group.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAC,MAAM,2BAA2B,CAAC;AAIlD,OAAO,EAAC,cAAc,EAAC,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;;AAEtD,qBACa,oBAAoB,CAAC,CAAC,SAAS,OAAO,CAAC,MAAM,CAAC;IAG3C,OAAO,CAAC,MAAM;IAF1B,OAAO,CAAC,UAAU,CAA6B;gBAE3B,MAAM,EAAE,UAAU,CAAC,CAAC,CAAC;IAGzC,MAAM,CAAC,GAAG,KAAA,EAAE,IAAI,EAAE,cAAc,EAAE,MAAM,EAAE,KAAK,CAAC,cAAc,CAAC,EAAE,KAAK,EAAE,OAAO,GAAG,IAAI;IAyBtF,OAAO,CAAC,MAAM,EAAE,KAAK,CAAC,cAAc,CAAC,GAAG,IAAI;IAU5C,OAAO,CAAC,OAAO;yCAzCN,oBAAoB;6CAApB,oBAAoB;CAoDhC"}
@@ -1,12 +0,0 @@
1
- import { AuthService } from "@smartsoft001/angular";
2
- import { CrudFullConfig } from "../../crud.config";
3
- import * as i0 from "@angular/core";
4
- export declare class PageService<T> {
5
- private authService;
6
- private config;
7
- constructor(authService: AuthService, config: CrudFullConfig<T>);
8
- checkPermissions(): void;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<PageService<any>, never>;
10
- static ɵprov: i0.ɵɵInjectableDeclaration<PageService<any>>;
11
- }
12
- //# sourceMappingURL=page.service.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"page.service.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/crud/shell/angular/src/lib/services/page/page.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,WAAW,EAAC,MAAM,uBAAuB,CAAC;AAGlD,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;;AAEnD,qBACa,WAAW,CAAC,CAAC;IAElB,OAAO,CAAC,WAAW;IACnB,OAAO,CAAC,MAAM;gBADN,WAAW,EAAE,WAAW,EACxB,MAAM,EAAE,cAAc,CAAC,CAAC,CAAC;IAGrC,gBAAgB,IAAI,IAAI;yCANf,WAAW;6CAAX,WAAW;CAqCvB"}
@@ -1,16 +0,0 @@
1
- import { Observable } from "rxjs";
2
- import { ICrudFilter } from "../../models/interfaces";
3
- import * as i0 from "@angular/core";
4
- export declare class CrudSearchService {
5
- private _filterSource;
6
- private _enabledSource;
7
- get filter(): Partial<ICrudFilter>;
8
- get enabled(): boolean;
9
- enabled$: Observable<boolean>;
10
- filter$: Observable<Partial<ICrudFilter>>;
11
- setFilter(val: Partial<ICrudFilter>): void;
12
- setEnabled(val: boolean): void;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<CrudSearchService, never>;
14
- static ɵprov: i0.ɵɵInjectableDeclaration<CrudSearchService>;
15
- }
16
- //# sourceMappingURL=search.service.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"search.service.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/crud/shell/angular/src/lib/services/search/search.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAkB,UAAU,EAAgB,MAAM,MAAM,CAAC;AAGhE,OAAO,EAAC,WAAW,EAAC,MAAM,yBAAyB,CAAC;;AAEpD,qBAGa,iBAAiB;IAC1B,OAAO,CAAC,aAAa,CAAmD;IACxE,OAAO,CAAC,cAAc,CAAuC;IAE7D,IAAI,MAAM,IAAI,OAAO,CAAC,WAAW,CAAC,CAGjC;IAED,IAAI,OAAO,IAAI,OAAO,CAErB;IAED,QAAQ,sBAAsC;IAE9C,OAAO,EAAE,UAAU,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAOvC;IAEF,SAAS,CAAC,GAAG,EAAE,OAAO,CAAC,WAAW,CAAC,GAAG,IAAI;IAI1C,UAAU,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;yCA5BrB,iBAAiB;6CAAjB,iBAAiB;CA+B7B"}
@@ -1,10 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class SocketService<T> {
3
- static ɵfac: i0.ɵɵFactoryDeclaration<SocketService<any>, never>;
4
- static ɵprov: i0.ɵɵInjectableDeclaration<SocketService<any>>;
5
- }
6
- export declare class NotSocketService<T> {
7
- static ɵfac: i0.ɵɵFactoryDeclaration<NotSocketService<any>, never>;
8
- static ɵprov: i0.ɵɵInjectableDeclaration<NotSocketService<any>>;
9
- }
10
- //# sourceMappingURL=socket.service.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"socket.service.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/crud/shell/angular/src/lib/services/socket/socket.service.ts"],"names":[],"mappings":";AAIA,qBACa,aAAa,CAAC,CAAC;yCAAf,aAAa;6CAAb,aAAa;CAWzB;AAED,qBACa,gBAAgB,CAAC,CAAC;yCAAlB,gBAAgB;6CAAhB,gBAAgB;CAAO"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"smartsoft001-crud-shell-angular.d.ts","sourceRoot":"","sources":["../../../../../libs/crud/shell/angular/src/smartsoft001-crud-shell-angular.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAEH,cAAc,SAAS,CAAC"}