@ng-atomic/common 0.0.0-PLACEHOLDER

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 (264) hide show
  1. package/directives/ios-safari-scroll-buggyfill/index.d.ts +2 -0
  2. package/directives/ios-safari-scroll-buggyfill/ios-safari-scroll-buggyfill.directive.d.ts +8 -0
  3. package/directives/ios-safari-scroll-buggyfill/ios-safari-scroll-buggyfill.module.d.ts +8 -0
  4. package/esm2020/directives/ios-safari-scroll-buggyfill/index.mjs +3 -0
  5. package/esm2020/directives/ios-safari-scroll-buggyfill/ios-safari-scroll-buggyfill.directive.mjs +24 -0
  6. package/esm2020/directives/ios-safari-scroll-buggyfill/ios-safari-scroll-buggyfill.module.mjs +24 -0
  7. package/esm2020/directives/ios-safari-scroll-buggyfill/ng-atomic-common-directives-ios-safari-scroll-buggyfill.mjs +5 -0
  8. package/esm2020/index.mjs +2 -0
  9. package/esm2020/models/action-item.mjs +2 -0
  10. package/esm2020/models/action.mjs +2 -0
  11. package/esm2020/models/index.mjs +2 -0
  12. package/esm2020/models/menu-item.mjs +2 -0
  13. package/esm2020/models/ng-atomic-common-models.mjs +5 -0
  14. package/esm2020/models/public_api.mjs +4 -0
  15. package/esm2020/ng-atomic-common.mjs +5 -0
  16. package/esm2020/pipes/data-accessor/data-accessor.pipe.mjs +30 -0
  17. package/esm2020/pipes/data-accessor/index.mjs +2 -0
  18. package/esm2020/pipes/data-accessor/ng-atomic-common-pipes-data-accessor.mjs +5 -0
  19. package/esm2020/pipes/domain/domain.module.mjs +24 -0
  20. package/esm2020/pipes/domain/domain.pipe.mjs +27 -0
  21. package/esm2020/pipes/domain/index.mjs +3 -0
  22. package/esm2020/pipes/domain/ng-atomic-common-pipes-domain.mjs +5 -0
  23. package/esm2020/pipes/pagination/index.mjs +4 -0
  24. package/esm2020/pipes/pagination/ng-atomic-common-pipes-pagination.mjs +5 -0
  25. package/esm2020/pipes/pagination/pagination.module.mjs +24 -0
  26. package/esm2020/pipes/pagination/pagination.pipe.mjs +28 -0
  27. package/esm2020/pipes/pagination/pagination.transformer.mjs +5 -0
  28. package/esm2020/pipes/smart-exp/index.mjs +3 -0
  29. package/esm2020/pipes/smart-exp/ng-atomic-common-pipes-smart-exp.mjs +5 -0
  30. package/esm2020/pipes/smart-exp/smart-exp.module.mjs +16 -0
  31. package/esm2020/pipes/smart-exp/smart-exp.pipe.mjs +27 -0
  32. package/esm2020/pipes/smart-field/index.mjs +3 -0
  33. package/esm2020/pipes/smart-field/ng-atomic-common-pipes-smart-field.mjs +5 -0
  34. package/esm2020/pipes/smart-field/smart-field.module.mjs +24 -0
  35. package/esm2020/pipes/smart-field/smart-field.pipe.mjs +31 -0
  36. package/esm2020/pipes/smart-sort-by/index.mjs +4 -0
  37. package/esm2020/pipes/smart-sort-by/ng-atomic-common-pipes-smart-sort-by.mjs +5 -0
  38. package/esm2020/pipes/smart-sort-by/smart-sort-by.module.mjs +24 -0
  39. package/esm2020/pipes/smart-sort-by/smart-sort-by.pipe.mjs +28 -0
  40. package/esm2020/pipes/smart-sort-by/smart-sort-by.transformer.mjs +5 -0
  41. package/esm2020/pipes/yen/index.mjs +3 -0
  42. package/esm2020/pipes/yen/ng-atomic-common-pipes-yen.mjs +5 -0
  43. package/esm2020/pipes/yen/yen.module.mjs +24 -0
  44. package/esm2020/pipes/yen/yen.pipe.mjs +17 -0
  45. package/esm2020/services/chips-manager/chips.manager.mjs +29 -0
  46. package/esm2020/services/chips-manager/index.mjs +2 -0
  47. package/esm2020/services/chips-manager/ng-atomic-common-services-chips-manager.mjs +5 -0
  48. package/esm2020/services/form/form.service.mjs +38 -0
  49. package/esm2020/services/form/index.mjs +2 -0
  50. package/esm2020/services/form/ng-atomic-common-services-form.mjs +5 -0
  51. package/esm2020/services/loading/index.mjs +2 -0
  52. package/esm2020/services/loading/loading.service.mjs +39 -0
  53. package/esm2020/services/loading/ng-atomic-common-services-loading.mjs +5 -0
  54. package/esm2020/services/query-resolver/index.mjs +2 -0
  55. package/esm2020/services/query-resolver/ng-atomic-common-services-query-resolver.mjs +5 -0
  56. package/esm2020/services/query-resolver/query-resolver.service.mjs +26 -0
  57. package/esm2020/services/snack-bar/index.mjs +3 -0
  58. package/esm2020/services/snack-bar/ng-atomic-common-services-snack-bar.mjs +5 -0
  59. package/esm2020/services/snack-bar/snack-bar.module.mjs +22 -0
  60. package/esm2020/services/snack-bar/snack-bar.service.mjs +23 -0
  61. package/esm2020/stores/entities/entities.store.mjs +21 -0
  62. package/esm2020/stores/entities/index.mjs +2 -0
  63. package/esm2020/stores/entities/ng-atomic-common-stores-entities.mjs +5 -0
  64. package/esm2020/stores/entity/entity.store.mjs +34 -0
  65. package/esm2020/stores/entity/index.mjs +2 -0
  66. package/esm2020/stores/entity/ng-atomic-common-stores-entity.mjs +5 -0
  67. package/esm2020/stores/pagination/index.mjs +2 -0
  68. package/esm2020/stores/pagination/ng-atomic-common-stores-pagination.mjs +5 -0
  69. package/esm2020/stores/pagination/pagination.store.mjs +23 -0
  70. package/esm2020/stores/query/index.mjs +2 -0
  71. package/esm2020/stores/query/ng-atomic-common-stores-query.mjs +5 -0
  72. package/esm2020/stores/query/query.store.mjs +31 -0
  73. package/esm2020/stores/selection/index.mjs +2 -0
  74. package/esm2020/stores/selection/ng-atomic-common-stores-selection.mjs +5 -0
  75. package/esm2020/stores/selection/selection.store.mjs +29 -0
  76. package/esm2020/stores/sort/index.mjs +2 -0
  77. package/esm2020/stores/sort/ng-atomic-common-stores-sort.mjs +5 -0
  78. package/esm2020/stores/sort/sort.store.mjs +28 -0
  79. package/esm2020/utils/comma/comma.mjs +4 -0
  80. package/esm2020/utils/comma/index.mjs +2 -0
  81. package/esm2020/utils/compare-by-id/compare-by-id.mjs +2 -0
  82. package/esm2020/utils/compare-by-id/index.mjs +2 -0
  83. package/esm2020/utils/date-utils/date-utils.mjs +13 -0
  84. package/esm2020/utils/date-utils/index.mjs +2 -0
  85. package/esm2020/utils/index.mjs +9 -0
  86. package/esm2020/utils/mat-dayjs-date/dayjs-date.adapter.mjs +191 -0
  87. package/esm2020/utils/mat-dayjs-date/dayjs-date.formats.mjs +15 -0
  88. package/esm2020/utils/mat-dayjs-date/dayjs-date.module.mjs +41 -0
  89. package/esm2020/utils/mat-dayjs-date/dayjs-jp-providers.mjs +20 -0
  90. package/esm2020/utils/mat-dayjs-date/index.mjs +5 -0
  91. package/esm2020/utils/ng-atomic-common-utils.mjs +5 -0
  92. package/esm2020/utils/page/index.mjs +2 -0
  93. package/esm2020/utils/page/ng-atomic-common-utils-page.mjs +5 -0
  94. package/esm2020/utils/page/page.mjs +20 -0
  95. package/esm2020/utils/query/index.mjs +2 -0
  96. package/esm2020/utils/query/query.resolver.mjs +97 -0
  97. package/esm2020/utils/smart-exp-transformer/index.mjs +2 -0
  98. package/esm2020/utils/smart-exp-transformer/smart-exp-transformer.mjs +18 -0
  99. package/esm2020/utils/to-object/index.mjs +2 -0
  100. package/esm2020/utils/to-object/to-object.mjs +10 -0
  101. package/fesm2015/ng-atomic-common-directives-ios-safari-scroll-buggyfill.mjs +52 -0
  102. package/fesm2015/ng-atomic-common-directives-ios-safari-scroll-buggyfill.mjs.map +1 -0
  103. package/fesm2015/ng-atomic-common-models.mjs +4 -0
  104. package/fesm2015/ng-atomic-common-models.mjs.map +1 -0
  105. package/fesm2015/ng-atomic-common-pipes-data-accessor.mjs +40 -0
  106. package/fesm2015/ng-atomic-common-pipes-data-accessor.mjs.map +1 -0
  107. package/fesm2015/ng-atomic-common-pipes-domain.mjs +59 -0
  108. package/fesm2015/ng-atomic-common-pipes-domain.mjs.map +1 -0
  109. package/fesm2015/ng-atomic-common-pipes-pagination.mjs +63 -0
  110. package/fesm2015/ng-atomic-common-pipes-pagination.mjs.map +1 -0
  111. package/fesm2015/ng-atomic-common-pipes-smart-exp.mjs +50 -0
  112. package/fesm2015/ng-atomic-common-pipes-smart-exp.mjs.map +1 -0
  113. package/fesm2015/ng-atomic-common-pipes-smart-field.mjs +63 -0
  114. package/fesm2015/ng-atomic-common-pipes-smart-field.mjs.map +1 -0
  115. package/fesm2015/ng-atomic-common-pipes-smart-sort-by.mjs +63 -0
  116. package/fesm2015/ng-atomic-common-pipes-smart-sort-by.mjs.map +1 -0
  117. package/fesm2015/ng-atomic-common-pipes-yen.mjs +45 -0
  118. package/fesm2015/ng-atomic-common-pipes-yen.mjs.map +1 -0
  119. package/fesm2015/ng-atomic-common-services-chips-manager.mjs +36 -0
  120. package/fesm2015/ng-atomic-common-services-chips-manager.mjs.map +1 -0
  121. package/fesm2015/ng-atomic-common-services-form.mjs +42 -0
  122. package/fesm2015/ng-atomic-common-services-form.mjs.map +1 -0
  123. package/fesm2015/ng-atomic-common-services-loading.mjs +46 -0
  124. package/fesm2015/ng-atomic-common-services-loading.mjs.map +1 -0
  125. package/fesm2015/ng-atomic-common-services-query-resolver.mjs +36 -0
  126. package/fesm2015/ng-atomic-common-services-query-resolver.mjs.map +1 -0
  127. package/fesm2015/ng-atomic-common-services-snack-bar.mjs +49 -0
  128. package/fesm2015/ng-atomic-common-services-snack-bar.mjs.map +1 -0
  129. package/fesm2015/ng-atomic-common-stores-entities.mjs +28 -0
  130. package/fesm2015/ng-atomic-common-stores-entities.mjs.map +1 -0
  131. package/fesm2015/ng-atomic-common-stores-entity.mjs +42 -0
  132. package/fesm2015/ng-atomic-common-stores-entity.mjs.map +1 -0
  133. package/fesm2015/ng-atomic-common-stores-pagination.mjs +30 -0
  134. package/fesm2015/ng-atomic-common-stores-pagination.mjs.map +1 -0
  135. package/fesm2015/ng-atomic-common-stores-query.mjs +40 -0
  136. package/fesm2015/ng-atomic-common-stores-query.mjs.map +1 -0
  137. package/fesm2015/ng-atomic-common-stores-selection.mjs +36 -0
  138. package/fesm2015/ng-atomic-common-stores-selection.mjs.map +1 -0
  139. package/fesm2015/ng-atomic-common-stores-sort.mjs +35 -0
  140. package/fesm2015/ng-atomic-common-stores-sort.mjs.map +1 -0
  141. package/fesm2015/ng-atomic-common-utils-page.mjs +21 -0
  142. package/fesm2015/ng-atomic-common-utils-page.mjs.map +1 -0
  143. package/fesm2015/ng-atomic-common-utils.mjs +409 -0
  144. package/fesm2015/ng-atomic-common-utils.mjs.map +1 -0
  145. package/fesm2015/ng-atomic-common.mjs +4 -0
  146. package/fesm2015/ng-atomic-common.mjs.map +1 -0
  147. package/fesm2020/ng-atomic-common-directives-ios-safari-scroll-buggyfill.mjs +52 -0
  148. package/fesm2020/ng-atomic-common-directives-ios-safari-scroll-buggyfill.mjs.map +1 -0
  149. package/fesm2020/ng-atomic-common-models.mjs +4 -0
  150. package/fesm2020/ng-atomic-common-models.mjs.map +1 -0
  151. package/fesm2020/ng-atomic-common-pipes-data-accessor.mjs +37 -0
  152. package/fesm2020/ng-atomic-common-pipes-data-accessor.mjs.map +1 -0
  153. package/fesm2020/ng-atomic-common-pipes-domain.mjs +55 -0
  154. package/fesm2020/ng-atomic-common-pipes-domain.mjs.map +1 -0
  155. package/fesm2020/ng-atomic-common-pipes-pagination.mjs +60 -0
  156. package/fesm2020/ng-atomic-common-pipes-pagination.mjs.map +1 -0
  157. package/fesm2020/ng-atomic-common-pipes-smart-exp.mjs +47 -0
  158. package/fesm2020/ng-atomic-common-pipes-smart-exp.mjs.map +1 -0
  159. package/fesm2020/ng-atomic-common-pipes-smart-field.mjs +59 -0
  160. package/fesm2020/ng-atomic-common-pipes-smart-field.mjs.map +1 -0
  161. package/fesm2020/ng-atomic-common-pipes-smart-sort-by.mjs +60 -0
  162. package/fesm2020/ng-atomic-common-pipes-smart-sort-by.mjs.map +1 -0
  163. package/fesm2020/ng-atomic-common-pipes-yen.mjs +45 -0
  164. package/fesm2020/ng-atomic-common-pipes-yen.mjs.map +1 -0
  165. package/fesm2020/ng-atomic-common-services-chips-manager.mjs +36 -0
  166. package/fesm2020/ng-atomic-common-services-chips-manager.mjs.map +1 -0
  167. package/fesm2020/ng-atomic-common-services-form.mjs +45 -0
  168. package/fesm2020/ng-atomic-common-services-form.mjs.map +1 -0
  169. package/fesm2020/ng-atomic-common-services-loading.mjs +46 -0
  170. package/fesm2020/ng-atomic-common-services-loading.mjs.map +1 -0
  171. package/fesm2020/ng-atomic-common-services-query-resolver.mjs +33 -0
  172. package/fesm2020/ng-atomic-common-services-query-resolver.mjs.map +1 -0
  173. package/fesm2020/ng-atomic-common-services-snack-bar.mjs +49 -0
  174. package/fesm2020/ng-atomic-common-services-snack-bar.mjs.map +1 -0
  175. package/fesm2020/ng-atomic-common-stores-entities.mjs +28 -0
  176. package/fesm2020/ng-atomic-common-stores-entities.mjs.map +1 -0
  177. package/fesm2020/ng-atomic-common-stores-entity.mjs +41 -0
  178. package/fesm2020/ng-atomic-common-stores-entity.mjs.map +1 -0
  179. package/fesm2020/ng-atomic-common-stores-pagination.mjs +30 -0
  180. package/fesm2020/ng-atomic-common-stores-pagination.mjs.map +1 -0
  181. package/fesm2020/ng-atomic-common-stores-query.mjs +37 -0
  182. package/fesm2020/ng-atomic-common-stores-query.mjs.map +1 -0
  183. package/fesm2020/ng-atomic-common-stores-selection.mjs +36 -0
  184. package/fesm2020/ng-atomic-common-stores-selection.mjs.map +1 -0
  185. package/fesm2020/ng-atomic-common-stores-sort.mjs +35 -0
  186. package/fesm2020/ng-atomic-common-stores-sort.mjs.map +1 -0
  187. package/fesm2020/ng-atomic-common-utils-page.mjs +26 -0
  188. package/fesm2020/ng-atomic-common-utils-page.mjs.map +1 -0
  189. package/fesm2020/ng-atomic-common-utils.mjs +406 -0
  190. package/fesm2020/ng-atomic-common-utils.mjs.map +1 -0
  191. package/fesm2020/ng-atomic-common.mjs +4 -0
  192. package/fesm2020/ng-atomic-common.mjs.map +1 -0
  193. package/index.d.ts +1 -0
  194. package/models/action-item.d.ts +6 -0
  195. package/models/action.d.ts +8 -0
  196. package/models/index.d.ts +1 -0
  197. package/models/menu-item.d.ts +4 -0
  198. package/models/public_api.d.ts +3 -0
  199. package/package.json +210 -0
  200. package/pipes/data-accessor/data-accessor.pipe.d.ts +12 -0
  201. package/pipes/data-accessor/index.d.ts +1 -0
  202. package/pipes/domain/domain.module.d.ts +8 -0
  203. package/pipes/domain/domain.pipe.d.ts +11 -0
  204. package/pipes/domain/index.d.ts +2 -0
  205. package/pipes/pagination/index.d.ts +3 -0
  206. package/pipes/pagination/pagination.module.d.ts +8 -0
  207. package/pipes/pagination/pagination.pipe.d.ts +16 -0
  208. package/pipes/pagination/pagination.transformer.d.ts +9 -0
  209. package/pipes/smart-exp/index.d.ts +2 -0
  210. package/pipes/smart-exp/smart-exp.module.d.ts +7 -0
  211. package/pipes/smart-exp/smart-exp.pipe.d.ts +10 -0
  212. package/pipes/smart-field/index.d.ts +2 -0
  213. package/pipes/smart-field/smart-field.module.d.ts +8 -0
  214. package/pipes/smart-field/smart-field.pipe.d.ts +31 -0
  215. package/pipes/smart-sort-by/index.d.ts +3 -0
  216. package/pipes/smart-sort-by/smart-sort-by.module.d.ts +8 -0
  217. package/pipes/smart-sort-by/smart-sort-by.pipe.d.ts +11 -0
  218. package/pipes/smart-sort-by/smart-sort-by.transformer.d.ts +2 -0
  219. package/pipes/yen/index.d.ts +2 -0
  220. package/pipes/yen/yen.module.d.ts +8 -0
  221. package/pipes/yen/yen.pipe.d.ts +7 -0
  222. package/services/chips-manager/chips.manager.d.ts +11 -0
  223. package/services/chips-manager/index.d.ts +1 -0
  224. package/services/form/form.service.d.ts +7 -0
  225. package/services/form/index.d.ts +1 -0
  226. package/services/loading/index.d.ts +1 -0
  227. package/services/loading/loading.service.d.ts +16 -0
  228. package/services/query-resolver/index.d.ts +1 -0
  229. package/services/query-resolver/query-resolver.service.d.ts +9 -0
  230. package/services/snack-bar/index.d.ts +2 -0
  231. package/services/snack-bar/snack-bar.module.d.ts +8 -0
  232. package/services/snack-bar/snack-bar.service.d.ts +9 -0
  233. package/stores/entities/entities.store.d.ts +17 -0
  234. package/stores/entities/index.d.ts +1 -0
  235. package/stores/entity/entity.store.d.ts +26 -0
  236. package/stores/entity/index.d.ts +1 -0
  237. package/stores/pagination/index.d.ts +1 -0
  238. package/stores/pagination/pagination.store.d.ts +19 -0
  239. package/stores/query/index.d.ts +1 -0
  240. package/stores/query/query.store.d.ts +17 -0
  241. package/stores/selection/index.d.ts +1 -0
  242. package/stores/selection/selection.store.d.ts +23 -0
  243. package/stores/sort/index.d.ts +1 -0
  244. package/stores/sort/sort.store.d.ts +21 -0
  245. package/utils/comma/comma.d.ts +3 -0
  246. package/utils/comma/index.d.ts +1 -0
  247. package/utils/compare-by-id/compare-by-id.d.ts +4 -0
  248. package/utils/compare-by-id/index.d.ts +1 -0
  249. package/utils/date-utils/date-utils.d.ts +10 -0
  250. package/utils/date-utils/index.d.ts +1 -0
  251. package/utils/index.d.ts +7 -0
  252. package/utils/mat-dayjs-date/dayjs-date.adapter.d.ts +60 -0
  253. package/utils/mat-dayjs-date/dayjs-date.formats.d.ts +5 -0
  254. package/utils/mat-dayjs-date/dayjs-date.module.d.ts +11 -0
  255. package/utils/mat-dayjs-date/dayjs-jp-providers.d.ts +10 -0
  256. package/utils/mat-dayjs-date/index.d.ts +4 -0
  257. package/utils/page/index.d.ts +1 -0
  258. package/utils/page/page.d.ts +11 -0
  259. package/utils/query/index.d.ts +1 -0
  260. package/utils/query/query.resolver.d.ts +2 -0
  261. package/utils/smart-exp-transformer/index.d.ts +1 -0
  262. package/utils/smart-exp-transformer/smart-exp-transformer.d.ts +6 -0
  263. package/utils/to-object/index.d.ts +1 -0
  264. package/utils/to-object/to-object.d.ts +1 -0
package/package.json ADDED
@@ -0,0 +1,210 @@
1
+ {
2
+ "name": "@ng-atomic/common",
3
+ "version": "0.0.0-PLACEHOLDER",
4
+ "license": "MIT",
5
+ "module": "fesm2015/ng-atomic-common.mjs",
6
+ "es2020": "fesm2020/ng-atomic-common.mjs",
7
+ "esm2020": "esm2020/ng-atomic-common.mjs",
8
+ "fesm2020": "fesm2020/ng-atomic-common.mjs",
9
+ "fesm2015": "fesm2015/ng-atomic-common.mjs",
10
+ "typings": "index.d.ts",
11
+ "exports": {
12
+ "./package.json": {
13
+ "default": "./package.json"
14
+ },
15
+ ".": {
16
+ "types": "./index.d.ts",
17
+ "esm2020": "./esm2020/ng-atomic-common.mjs",
18
+ "es2020": "./fesm2020/ng-atomic-common.mjs",
19
+ "es2015": "./fesm2015/ng-atomic-common.mjs",
20
+ "node": "./fesm2015/ng-atomic-common.mjs",
21
+ "default": "./fesm2020/ng-atomic-common.mjs"
22
+ },
23
+ "./directives/ios-safari-scroll-buggyfill": {
24
+ "types": "./directives/ios-safari-scroll-buggyfill/index.d.ts",
25
+ "esm2020": "./esm2020/directives/ios-safari-scroll-buggyfill/ng-atomic-common-directives-ios-safari-scroll-buggyfill.mjs",
26
+ "es2020": "./fesm2020/ng-atomic-common-directives-ios-safari-scroll-buggyfill.mjs",
27
+ "es2015": "./fesm2015/ng-atomic-common-directives-ios-safari-scroll-buggyfill.mjs",
28
+ "node": "./fesm2015/ng-atomic-common-directives-ios-safari-scroll-buggyfill.mjs",
29
+ "default": "./fesm2020/ng-atomic-common-directives-ios-safari-scroll-buggyfill.mjs"
30
+ },
31
+ "./models": {
32
+ "types": "./models/index.d.ts",
33
+ "esm2020": "./esm2020/models/ng-atomic-common-models.mjs",
34
+ "es2020": "./fesm2020/ng-atomic-common-models.mjs",
35
+ "es2015": "./fesm2015/ng-atomic-common-models.mjs",
36
+ "node": "./fesm2015/ng-atomic-common-models.mjs",
37
+ "default": "./fesm2020/ng-atomic-common-models.mjs"
38
+ },
39
+ "./pipes/data-accessor": {
40
+ "types": "./pipes/data-accessor/index.d.ts",
41
+ "esm2020": "./esm2020/pipes/data-accessor/ng-atomic-common-pipes-data-accessor.mjs",
42
+ "es2020": "./fesm2020/ng-atomic-common-pipes-data-accessor.mjs",
43
+ "es2015": "./fesm2015/ng-atomic-common-pipes-data-accessor.mjs",
44
+ "node": "./fesm2015/ng-atomic-common-pipes-data-accessor.mjs",
45
+ "default": "./fesm2020/ng-atomic-common-pipes-data-accessor.mjs"
46
+ },
47
+ "./pipes/domain": {
48
+ "types": "./pipes/domain/index.d.ts",
49
+ "esm2020": "./esm2020/pipes/domain/ng-atomic-common-pipes-domain.mjs",
50
+ "es2020": "./fesm2020/ng-atomic-common-pipes-domain.mjs",
51
+ "es2015": "./fesm2015/ng-atomic-common-pipes-domain.mjs",
52
+ "node": "./fesm2015/ng-atomic-common-pipes-domain.mjs",
53
+ "default": "./fesm2020/ng-atomic-common-pipes-domain.mjs"
54
+ },
55
+ "./pipes/pagination": {
56
+ "types": "./pipes/pagination/index.d.ts",
57
+ "esm2020": "./esm2020/pipes/pagination/ng-atomic-common-pipes-pagination.mjs",
58
+ "es2020": "./fesm2020/ng-atomic-common-pipes-pagination.mjs",
59
+ "es2015": "./fesm2015/ng-atomic-common-pipes-pagination.mjs",
60
+ "node": "./fesm2015/ng-atomic-common-pipes-pagination.mjs",
61
+ "default": "./fesm2020/ng-atomic-common-pipes-pagination.mjs"
62
+ },
63
+ "./pipes/smart-exp": {
64
+ "types": "./pipes/smart-exp/index.d.ts",
65
+ "esm2020": "./esm2020/pipes/smart-exp/ng-atomic-common-pipes-smart-exp.mjs",
66
+ "es2020": "./fesm2020/ng-atomic-common-pipes-smart-exp.mjs",
67
+ "es2015": "./fesm2015/ng-atomic-common-pipes-smart-exp.mjs",
68
+ "node": "./fesm2015/ng-atomic-common-pipes-smart-exp.mjs",
69
+ "default": "./fesm2020/ng-atomic-common-pipes-smart-exp.mjs"
70
+ },
71
+ "./pipes/smart-field": {
72
+ "types": "./pipes/smart-field/index.d.ts",
73
+ "esm2020": "./esm2020/pipes/smart-field/ng-atomic-common-pipes-smart-field.mjs",
74
+ "es2020": "./fesm2020/ng-atomic-common-pipes-smart-field.mjs",
75
+ "es2015": "./fesm2015/ng-atomic-common-pipes-smart-field.mjs",
76
+ "node": "./fesm2015/ng-atomic-common-pipes-smart-field.mjs",
77
+ "default": "./fesm2020/ng-atomic-common-pipes-smart-field.mjs"
78
+ },
79
+ "./pipes/smart-sort-by": {
80
+ "types": "./pipes/smart-sort-by/index.d.ts",
81
+ "esm2020": "./esm2020/pipes/smart-sort-by/ng-atomic-common-pipes-smart-sort-by.mjs",
82
+ "es2020": "./fesm2020/ng-atomic-common-pipes-smart-sort-by.mjs",
83
+ "es2015": "./fesm2015/ng-atomic-common-pipes-smart-sort-by.mjs",
84
+ "node": "./fesm2015/ng-atomic-common-pipes-smart-sort-by.mjs",
85
+ "default": "./fesm2020/ng-atomic-common-pipes-smart-sort-by.mjs"
86
+ },
87
+ "./pipes/yen": {
88
+ "types": "./pipes/yen/index.d.ts",
89
+ "esm2020": "./esm2020/pipes/yen/ng-atomic-common-pipes-yen.mjs",
90
+ "es2020": "./fesm2020/ng-atomic-common-pipes-yen.mjs",
91
+ "es2015": "./fesm2015/ng-atomic-common-pipes-yen.mjs",
92
+ "node": "./fesm2015/ng-atomic-common-pipes-yen.mjs",
93
+ "default": "./fesm2020/ng-atomic-common-pipes-yen.mjs"
94
+ },
95
+ "./services/chips-manager": {
96
+ "types": "./services/chips-manager/index.d.ts",
97
+ "esm2020": "./esm2020/services/chips-manager/ng-atomic-common-services-chips-manager.mjs",
98
+ "es2020": "./fesm2020/ng-atomic-common-services-chips-manager.mjs",
99
+ "es2015": "./fesm2015/ng-atomic-common-services-chips-manager.mjs",
100
+ "node": "./fesm2015/ng-atomic-common-services-chips-manager.mjs",
101
+ "default": "./fesm2020/ng-atomic-common-services-chips-manager.mjs"
102
+ },
103
+ "./services/form": {
104
+ "types": "./services/form/index.d.ts",
105
+ "esm2020": "./esm2020/services/form/ng-atomic-common-services-form.mjs",
106
+ "es2020": "./fesm2020/ng-atomic-common-services-form.mjs",
107
+ "es2015": "./fesm2015/ng-atomic-common-services-form.mjs",
108
+ "node": "./fesm2015/ng-atomic-common-services-form.mjs",
109
+ "default": "./fesm2020/ng-atomic-common-services-form.mjs"
110
+ },
111
+ "./services/loading": {
112
+ "types": "./services/loading/index.d.ts",
113
+ "esm2020": "./esm2020/services/loading/ng-atomic-common-services-loading.mjs",
114
+ "es2020": "./fesm2020/ng-atomic-common-services-loading.mjs",
115
+ "es2015": "./fesm2015/ng-atomic-common-services-loading.mjs",
116
+ "node": "./fesm2015/ng-atomic-common-services-loading.mjs",
117
+ "default": "./fesm2020/ng-atomic-common-services-loading.mjs"
118
+ },
119
+ "./services/query-resolver": {
120
+ "types": "./services/query-resolver/index.d.ts",
121
+ "esm2020": "./esm2020/services/query-resolver/ng-atomic-common-services-query-resolver.mjs",
122
+ "es2020": "./fesm2020/ng-atomic-common-services-query-resolver.mjs",
123
+ "es2015": "./fesm2015/ng-atomic-common-services-query-resolver.mjs",
124
+ "node": "./fesm2015/ng-atomic-common-services-query-resolver.mjs",
125
+ "default": "./fesm2020/ng-atomic-common-services-query-resolver.mjs"
126
+ },
127
+ "./services/snack-bar": {
128
+ "types": "./services/snack-bar/index.d.ts",
129
+ "esm2020": "./esm2020/services/snack-bar/ng-atomic-common-services-snack-bar.mjs",
130
+ "es2020": "./fesm2020/ng-atomic-common-services-snack-bar.mjs",
131
+ "es2015": "./fesm2015/ng-atomic-common-services-snack-bar.mjs",
132
+ "node": "./fesm2015/ng-atomic-common-services-snack-bar.mjs",
133
+ "default": "./fesm2020/ng-atomic-common-services-snack-bar.mjs"
134
+ },
135
+ "./stores/entities": {
136
+ "types": "./stores/entities/index.d.ts",
137
+ "esm2020": "./esm2020/stores/entities/ng-atomic-common-stores-entities.mjs",
138
+ "es2020": "./fesm2020/ng-atomic-common-stores-entities.mjs",
139
+ "es2015": "./fesm2015/ng-atomic-common-stores-entities.mjs",
140
+ "node": "./fesm2015/ng-atomic-common-stores-entities.mjs",
141
+ "default": "./fesm2020/ng-atomic-common-stores-entities.mjs"
142
+ },
143
+ "./stores/entity": {
144
+ "types": "./stores/entity/index.d.ts",
145
+ "esm2020": "./esm2020/stores/entity/ng-atomic-common-stores-entity.mjs",
146
+ "es2020": "./fesm2020/ng-atomic-common-stores-entity.mjs",
147
+ "es2015": "./fesm2015/ng-atomic-common-stores-entity.mjs",
148
+ "node": "./fesm2015/ng-atomic-common-stores-entity.mjs",
149
+ "default": "./fesm2020/ng-atomic-common-stores-entity.mjs"
150
+ },
151
+ "./stores/pagination": {
152
+ "types": "./stores/pagination/index.d.ts",
153
+ "esm2020": "./esm2020/stores/pagination/ng-atomic-common-stores-pagination.mjs",
154
+ "es2020": "./fesm2020/ng-atomic-common-stores-pagination.mjs",
155
+ "es2015": "./fesm2015/ng-atomic-common-stores-pagination.mjs",
156
+ "node": "./fesm2015/ng-atomic-common-stores-pagination.mjs",
157
+ "default": "./fesm2020/ng-atomic-common-stores-pagination.mjs"
158
+ },
159
+ "./stores/query": {
160
+ "types": "./stores/query/index.d.ts",
161
+ "esm2020": "./esm2020/stores/query/ng-atomic-common-stores-query.mjs",
162
+ "es2020": "./fesm2020/ng-atomic-common-stores-query.mjs",
163
+ "es2015": "./fesm2015/ng-atomic-common-stores-query.mjs",
164
+ "node": "./fesm2015/ng-atomic-common-stores-query.mjs",
165
+ "default": "./fesm2020/ng-atomic-common-stores-query.mjs"
166
+ },
167
+ "./stores/selection": {
168
+ "types": "./stores/selection/index.d.ts",
169
+ "esm2020": "./esm2020/stores/selection/ng-atomic-common-stores-selection.mjs",
170
+ "es2020": "./fesm2020/ng-atomic-common-stores-selection.mjs",
171
+ "es2015": "./fesm2015/ng-atomic-common-stores-selection.mjs",
172
+ "node": "./fesm2015/ng-atomic-common-stores-selection.mjs",
173
+ "default": "./fesm2020/ng-atomic-common-stores-selection.mjs"
174
+ },
175
+ "./stores/sort": {
176
+ "types": "./stores/sort/index.d.ts",
177
+ "esm2020": "./esm2020/stores/sort/ng-atomic-common-stores-sort.mjs",
178
+ "es2020": "./fesm2020/ng-atomic-common-stores-sort.mjs",
179
+ "es2015": "./fesm2015/ng-atomic-common-stores-sort.mjs",
180
+ "node": "./fesm2015/ng-atomic-common-stores-sort.mjs",
181
+ "default": "./fesm2020/ng-atomic-common-stores-sort.mjs"
182
+ },
183
+ "./utils": {
184
+ "types": "./utils/index.d.ts",
185
+ "esm2020": "./esm2020/utils/ng-atomic-common-utils.mjs",
186
+ "es2020": "./fesm2020/ng-atomic-common-utils.mjs",
187
+ "es2015": "./fesm2015/ng-atomic-common-utils.mjs",
188
+ "node": "./fesm2015/ng-atomic-common-utils.mjs",
189
+ "default": "./fesm2020/ng-atomic-common-utils.mjs"
190
+ },
191
+ "./utils/page": {
192
+ "types": "./utils/page/index.d.ts",
193
+ "esm2020": "./esm2020/utils/page/ng-atomic-common-utils-page.mjs",
194
+ "es2020": "./fesm2020/ng-atomic-common-utils-page.mjs",
195
+ "es2015": "./fesm2015/ng-atomic-common-utils-page.mjs",
196
+ "node": "./fesm2015/ng-atomic-common-utils-page.mjs",
197
+ "default": "./fesm2020/ng-atomic-common-utils-page.mjs"
198
+ }
199
+ },
200
+ "sideEffects": false,
201
+ "dependencies": {
202
+ "tslib": "^2.3.0"
203
+ },
204
+ "peerDependencies": {
205
+ "@angular/core": "14.2.9",
206
+ "@angular/common": "14.2.9",
207
+ "rxjs": "7.5.0",
208
+ "@angular/material": "^14.2.0"
209
+ }
210
+ }
@@ -0,0 +1,12 @@
1
+ import { InjectionToken } from "@angular/core";
2
+ import * as i0 from "@angular/core";
3
+ export declare type DataAccessor<T> = (obj: T, key: string) => string;
4
+ export declare const DATA_ACCESSOR: InjectionToken<DataAccessor<any>>;
5
+ export declare const defaultDataAccessor: DataAccessor<any>;
6
+ export declare class DataAccessorPipe<T> {
7
+ protected dataAccessor: DataAccessor<T>;
8
+ constructor(dataAccessor: DataAccessor<T>);
9
+ transform(data: T, key: string): string;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<DataAccessorPipe<any>, [{ optional: true; }]>;
11
+ static ɵpipe: i0.ɵɵPipeDeclaration<DataAccessorPipe<any>, "dataAccessor", true>;
12
+ }
@@ -0,0 +1 @@
1
+ export * from './data-accessor.pipe';
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./domain.pipe";
3
+ import * as i2 from "@angular/common";
4
+ export declare class DomainModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<DomainModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DomainModule, [typeof i1.DomainPipe], [typeof i2.CommonModule], [typeof i1.DomainPipe]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<DomainModule>;
8
+ }
@@ -0,0 +1,11 @@
1
+ import { InjectionToken } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare type DomainLangMap = Record<string, string>;
4
+ export declare const DOMAIN_LANG_MAP: InjectionToken<DomainLangMap>;
5
+ export declare class DomainPipe {
6
+ private map;
7
+ constructor(map: DomainLangMap);
8
+ transform(input: string): string;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<DomainPipe, [{ optional: true; }]>;
10
+ static ɵpipe: i0.ɵɵPipeDeclaration<DomainPipe, "D", false>;
11
+ }
@@ -0,0 +1,2 @@
1
+ export { DomainModule } from './domain.module';
2
+ export { DomainPipe, DomainLangMap, DOMAIN_LANG_MAP } from './domain.pipe';
@@ -0,0 +1,3 @@
1
+ export * from './pagination.module';
2
+ export * from './pagination.pipe';
3
+ export * from './pagination.transformer';
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./pagination.pipe";
3
+ import * as i2 from "@angular/common";
4
+ export declare class PaginationModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<PaginationModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PaginationModule, [typeof i1.PaginationPipe], [typeof i2.CommonModule], [typeof i1.PaginationPipe]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<PaginationModule>;
8
+ }
@@ -0,0 +1,16 @@
1
+ import { InjectionToken, PipeTransform } from '@angular/core';
2
+ import { PaginationTransformer } from './pagination.transformer';
3
+ import * as i0 from "@angular/core";
4
+ export declare const PAGINATION_TRANSFORMER: InjectionToken<unknown>;
5
+ export declare class PaginationPipe<E> implements PipeTransform {
6
+ private transformer;
7
+ constructor(transformer: PaginationTransformer<E>);
8
+ transform(items: E[], { sortKey, sortOrder, start, end }: {
9
+ sortKey: string;
10
+ sortOrder: 'asc' | 'desc';
11
+ start: number;
12
+ end: number;
13
+ }): E[];
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<PaginationPipe<any>, [{ optional: true; }]>;
15
+ static ɵpipe: i0.ɵɵPipeDeclaration<PaginationPipe<any>, "pagination", false>;
16
+ }
@@ -0,0 +1,9 @@
1
+ interface Page {
2
+ start: number;
3
+ end: number;
4
+ key: string;
5
+ order: 'asc' | 'desc';
6
+ }
7
+ export declare type PaginationTransformer<E> = (items: E[], page: Page) => E[];
8
+ export declare function paginationTransformer<E>(items: E[], page: Page): E[];
9
+ export {};
@@ -0,0 +1,2 @@
1
+ export * from './smart-exp.pipe';
2
+ export { SmartExpModule } from './smart-exp.module';
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./smart-exp.pipe";
3
+ export declare class SmartExpModule {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<SmartExpModule, never>;
5
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SmartExpModule, [typeof i1.SmartExpPipe], never, [typeof i1.SmartExpPipe]>;
6
+ static ɵinj: i0.ɵɵInjectorDeclaration<SmartExpModule>;
7
+ }
@@ -0,0 +1,10 @@
1
+ import { SmartExpTransformer } from '@ng-atomic/common/utils';
2
+ import dayjs from 'dayjs';
3
+ import * as i0 from "@angular/core";
4
+ export declare class SmartExpPipe {
5
+ private transformer;
6
+ constructor(transformer: SmartExpTransformer);
7
+ transform(input: string | number | dayjs.Dayjs | any, key?: string): string;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<SmartExpPipe, [{ optional: true; }]>;
9
+ static ɵpipe: i0.ɵɵPipeDeclaration<SmartExpPipe, "smartExp", false>;
10
+ }
@@ -0,0 +1,2 @@
1
+ export * from './smart-field.pipe';
2
+ export * from './smart-field.module';
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./smart-field.pipe";
3
+ import * as i2 from "@angular/common";
4
+ export declare class SmartFieldModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<SmartFieldModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SmartFieldModule, [typeof i1.SmartFieldPipe], [typeof i2.CommonModule], [typeof i1.SmartFieldPipe]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<SmartFieldModule>;
8
+ }
@@ -0,0 +1,31 @@
1
+ import { InjectionToken, PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ interface Option<T> {
4
+ name: string;
5
+ value: T;
6
+ }
7
+ interface InputField {
8
+ type: 'input';
9
+ }
10
+ interface DateInputField {
11
+ type: 'date';
12
+ }
13
+ interface SelectField<T> {
14
+ type: 'select';
15
+ options: Option<T>[];
16
+ }
17
+ interface MultiSelectField<T> {
18
+ type: 'multi-select';
19
+ options: Option<T>[];
20
+ }
21
+ declare type FormField<V> = InputField | DateInputField | SelectField<V> | MultiSelectField<V>;
22
+ export declare type FormFieldMap = Record<string, FormField<any>>;
23
+ export declare const FORM_FIELD_MAP: InjectionToken<FormFieldMap>;
24
+ export declare class SmartFieldPipe implements PipeTransform {
25
+ private map;
26
+ constructor(map: Record<string, FormField<any>>);
27
+ transform(key: string): FormField<any>;
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<SmartFieldPipe, [{ optional: true; }]>;
29
+ static ɵpipe: i0.ɵɵPipeDeclaration<SmartFieldPipe, "smartField", false>;
30
+ }
31
+ export {};
@@ -0,0 +1,3 @@
1
+ export * from './smart-sort-by.module';
2
+ export * from './smart-sort-by.pipe';
3
+ export * from './smart-sort-by.transformer';
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./smart-sort-by.pipe";
3
+ import * as i2 from "@angular/common";
4
+ export declare class SmartSortByModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<SmartSortByModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SmartSortByModule, [typeof i1.SmartSortByPipe], [typeof i2.CommonModule], [typeof i1.SmartSortByPipe]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<SmartSortByModule>;
8
+ }
@@ -0,0 +1,11 @@
1
+ import { InjectionToken, PipeTransform } from '@angular/core';
2
+ import { SmartSortByTransformer } from './smart-sort-by.transformer';
3
+ import * as i0 from "@angular/core";
4
+ export declare const SMART_SORT_BY_TRANSFORMER: InjectionToken<unknown>;
5
+ export declare class SmartSortByPipe implements PipeTransform {
6
+ private transformer?;
7
+ constructor(transformer?: SmartSortByTransformer);
8
+ transform<T>(items: T[], key: string, order?: 'asc' | 'desc'): T[];
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<SmartSortByPipe, [{ optional: true; }]>;
10
+ static ɵpipe: i0.ɵɵPipeDeclaration<SmartSortByPipe, "smartSortBy", false>;
11
+ }
@@ -0,0 +1,2 @@
1
+ export declare type SmartSortByTransformer = <T>(items: T[], key: string, order: 'asc' | 'desc') => T[];
2
+ export declare const smartSortByTransformer: SmartSortByTransformer;
@@ -0,0 +1,2 @@
1
+ export * from './yen.pipe';
2
+ export * from './yen.module';
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./yen.pipe";
3
+ import * as i2 from "@angular/common";
4
+ export declare class YenModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<YenModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<YenModule, [typeof i1.YenPipe], [typeof i2.CommonModule], [typeof i1.YenPipe]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<YenModule>;
8
+ }
@@ -0,0 +1,7 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class YenPipe implements PipeTransform {
4
+ transform(value: number, _unit?: string): string;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<YenPipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<YenPipe, "yen", false>;
7
+ }
@@ -0,0 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class ChipsManager {
3
+ private _chips;
4
+ setValue(value: string): void;
5
+ getValue(): string;
6
+ remove(value: string): void;
7
+ add(chip: string): void;
8
+ get chips(): string[];
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<ChipsManager, never>;
10
+ static ɵprov: i0.ɵɵInjectableDeclaration<ChipsManager>;
11
+ }
@@ -0,0 +1 @@
1
+ export * from './chips.manager';
@@ -0,0 +1,7 @@
1
+ export declare class BaseFormService {
2
+ static fromQueryParams<T>(obj: T): object;
3
+ static toQueryParams<T>(obj: object): T;
4
+ static dayjsKeys(object: object): string[];
5
+ static toValue(object: object): object;
6
+ static fromValue(value: object): object;
7
+ }
@@ -0,0 +1 @@
1
+ export * from './form.service';
@@ -0,0 +1 @@
1
+ export * from './loading.service';
@@ -0,0 +1,16 @@
1
+ import * as i0 from "@angular/core";
2
+ declare type LoadingMap = Record<string, boolean>;
3
+ export declare class LoadingService {
4
+ private loadingEntries$;
5
+ loadingMap: LoadingMap;
6
+ loadingMap$: import("rxjs").Observable<LoadingMap>;
7
+ isLoading$: import("rxjs").Observable<boolean>;
8
+ constructor();
9
+ setKey(key: string): void;
10
+ removeKey(key: string): void;
11
+ start(callback: (done: any) => void, key?: string): void;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<LoadingService, never>;
13
+ static ɵprov: i0.ɵɵInjectableDeclaration<LoadingService>;
14
+ }
15
+ export declare function randomStr(n?: number): string;
16
+ export {};
@@ -0,0 +1 @@
1
+ export * from './query-resolver.service';
@@ -0,0 +1,9 @@
1
+ import { SmartExpTransformer } from '@ng-atomic/common/utils';
2
+ import * as i0 from "@angular/core";
3
+ export declare class QueryResolverService {
4
+ private transformer?;
5
+ constructor(transformer?: SmartExpTransformer);
6
+ resolve<T>(items: T[], queryString: string, dlm?: Record<string, string>): T[];
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<QueryResolverService, [{ optional: true; }]>;
8
+ static ɵprov: i0.ɵɵInjectableDeclaration<QueryResolverService>;
9
+ }
@@ -0,0 +1,2 @@
1
+ export * from './snack-bar.service';
2
+ export * from './snack-bar.module';
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/common";
3
+ import * as i2 from "@angular/material/snack-bar";
4
+ export declare class SnackBarModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<SnackBarModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SnackBarModule, never, [typeof i1.CommonModule, typeof i2.MatSnackBarModule], never>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<SnackBarModule>;
8
+ }
@@ -0,0 +1,9 @@
1
+ import { MatSnackBar } from '@angular/material/snack-bar';
2
+ import * as i0 from "@angular/core";
3
+ export declare class SnackBarService {
4
+ private snackBar;
5
+ constructor(snackBar: MatSnackBar);
6
+ openSnackBar(message: string, action?: string): void;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<SnackBarService, never>;
8
+ static ɵprov: i0.ɵɵInjectableDeclaration<SnackBarService>;
9
+ }
@@ -0,0 +1,17 @@
1
+ import { ComponentStore } from '@ngrx/component-store';
2
+ import { Observable, ReplaySubject } from 'rxjs';
3
+ export interface EntitiesState<E> {
4
+ entities: E[];
5
+ }
6
+ export declare const distinctUntilChangedArray: <T>() => import("rxjs").MonoTypeOperatorFunction<T>;
7
+ export declare abstract class EntitiesStore<S extends EntitiesState<E>, E extends {
8
+ id: string;
9
+ }> extends ComponentStore<S> {
10
+ protected readonly refresh$: ReplaySubject<void>;
11
+ get entities(): E[];
12
+ entities$: Observable<E[]>;
13
+ constructor(initialState: S);
14
+ setEntities: (observableOrValue: E[] | Observable<E[]>) => import("rxjs").Subscription;
15
+ abstract getEntities: ReturnType<typeof this.effect>;
16
+ refresh(): void;
17
+ }
@@ -0,0 +1 @@
1
+ export * from './entities.store';
@@ -0,0 +1,26 @@
1
+ import { ComponentStore } from '@ngrx/component-store';
2
+ import { Observable } from 'rxjs';
3
+ export declare type Mode = 'create' | 'update';
4
+ export interface EntityState<Entity> {
5
+ mode: Mode;
6
+ entityId: string;
7
+ entity: Entity;
8
+ }
9
+ export declare const tryCatch: (promise: Promise<any>) => Promise<unknown>;
10
+ export declare abstract class EntityStore<S extends EntityState<Entity>, Entity> extends ComponentStore<S> {
11
+ get entity(): Entity;
12
+ mode$: Observable<Mode>;
13
+ entityId$: Observable<string>;
14
+ entity$: Observable<Entity>;
15
+ setMode: (observableOrValue: Mode | Observable<Mode>) => import("rxjs").Subscription;
16
+ setEntityId: (observableOrValue: string | Observable<string>) => import("rxjs").Subscription;
17
+ setEntity: Entity extends void ? () => void : (observableOrValue: Entity | Observable<Entity>) => import("rxjs").Subscription;
18
+ constructor(initialState?: S);
19
+ getEntityIdAndMode: (observableOrValue: string | Observable<string>) => import("rxjs").Subscription;
20
+ getEntity: (observableOrValue: string | Observable<string>) => import("rxjs").Subscription;
21
+ createEntity(value: Partial<Entity>): Promise<unknown>;
22
+ updateEntity(value: Partial<Entity>): Promise<void>;
23
+ abstract _getEntity(idOrParams: string): Observable<Entity>;
24
+ abstract _createEntity(entity: Entity): Promise<Entity>;
25
+ abstract _updateEntity(entity: Entity): Promise<void>;
26
+ }
@@ -0,0 +1 @@
1
+ export * from './entity.store';
@@ -0,0 +1 @@
1
+ export * from './pagination.store';
@@ -0,0 +1,19 @@
1
+ import { ComponentStore } from "@ngrx/component-store";
2
+ import { Page } from '@ng-atomic/common/utils/page';
3
+ import { Observable } from "rxjs";
4
+ import * as i0 from "@angular/core";
5
+ export interface State {
6
+ page: Page;
7
+ }
8
+ export declare class PaginationStore extends ComponentStore<State> {
9
+ constructor();
10
+ get page(): Page;
11
+ get start(): number;
12
+ get end(): number;
13
+ page$: Observable<Page>;
14
+ setPage: (observableOrValue: Page | Observable<Page>) => import("rxjs").Subscription;
15
+ patch: (observableOrValue: Partial<Page> | Observable<Partial<Page>>) => import("rxjs").Subscription;
16
+ getPageLength: (observableOrValue: any[] | Observable<any[]>) => import("rxjs").Subscription;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<PaginationStore, never>;
18
+ static ɵprov: i0.ɵɵInjectableDeclaration<PaginationStore>;
19
+ }
@@ -0,0 +1 @@
1
+ export * from './query.store';
@@ -0,0 +1,17 @@
1
+ import { QueryResolverService } from "@ng-atomic/common/services/query-resolver";
2
+ import { ComponentStore } from "@ngrx/component-store";
3
+ import * as i0 from "@angular/core";
4
+ export interface QueryState {
5
+ query: string;
6
+ }
7
+ export declare class QueryStore<E = any> extends ComponentStore<QueryState> {
8
+ protected queryResolver: QueryResolverService;
9
+ protected langMap: Record<string, string>;
10
+ constructor(queryResolver: QueryResolverService, langMap: Record<string, string>);
11
+ get query(): string;
12
+ query$: import("rxjs").Observable<string>;
13
+ setQuery: (observableOrValue: string | import("rxjs").Observable<string>) => import("rxjs").Subscription;
14
+ resolve(entities: E[]): E[];
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<QueryStore<any>, [null, { optional: true; }]>;
16
+ static ɵprov: i0.ɵɵInjectableDeclaration<QueryStore<any>>;
17
+ }
@@ -0,0 +1 @@
1
+ export * from './selection.store';