@ng-atomic/common 18.11.0 → 18.13.0-preview-v19e.1

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 (412) hide show
  1. package/directives/molecules/column/column.molecule.d.ts +67 -0
  2. package/directives/molecules/column/index.d.ts +1 -0
  3. package/directives/resize-column/index.d.ts +1 -0
  4. package/directives/resize-column/resize-column.directive.d.ts +21 -0
  5. package/directives/resize-column/resize-handle.component.d.ts +5 -0
  6. package/fesm2022/ng-atomic-common-directives-fallback-src.mjs +3 -3
  7. package/fesm2022/ng-atomic-common-directives-fallback-src.mjs.map +1 -1
  8. package/fesm2022/ng-atomic-common-directives-ios-safari-scroll-buggyfill.mjs +9 -8
  9. package/fesm2022/ng-atomic-common-directives-ios-safari-scroll-buggyfill.mjs.map +1 -1
  10. package/fesm2022/ng-atomic-common-directives-molecules-column.mjs +125 -0
  11. package/fesm2022/ng-atomic-common-directives-molecules-column.mjs.map +1 -0
  12. package/fesm2022/ng-atomic-common-directives-resize-column.mjs +79 -0
  13. package/fesm2022/ng-atomic-common-directives-resize-column.mjs.map +1 -0
  14. package/fesm2022/ng-atomic-common-interceptors-authorization.mjs +3 -4
  15. package/fesm2022/ng-atomic-common-interceptors-authorization.mjs.map +1 -1
  16. package/fesm2022/ng-atomic-common-interceptors-throttle.mjs +6 -6
  17. package/fesm2022/ng-atomic-common-interceptors-throttle.mjs.map +1 -1
  18. package/fesm2022/ng-atomic-common-interceptors-token.mjs +3 -3
  19. package/fesm2022/ng-atomic-common-interceptors-token.mjs.map +1 -1
  20. package/fesm2022/ng-atomic-common-interceptors.mjs +4 -4
  21. package/fesm2022/ng-atomic-common-interceptors.mjs.map +1 -1
  22. package/fesm2022/ng-atomic-common-pipes-actions.mjs +3 -3
  23. package/fesm2022/ng-atomic-common-pipes-actions.mjs.map +1 -1
  24. package/fesm2022/ng-atomic-common-pipes-auto-columns.mjs +3 -3
  25. package/fesm2022/ng-atomic-common-pipes-auto-columns.mjs.map +1 -1
  26. package/fesm2022/ng-atomic-common-pipes-columns.mjs +5 -4
  27. package/fesm2022/ng-atomic-common-pipes-columns.mjs.map +1 -1
  28. package/fesm2022/ng-atomic-common-pipes-data-accessor.mjs +3 -3
  29. package/fesm2022/ng-atomic-common-pipes-data-accessor.mjs.map +1 -1
  30. package/fesm2022/ng-atomic-common-pipes-domain.mjs +13 -27
  31. package/fesm2022/ng-atomic-common-pipes-domain.mjs.map +1 -1
  32. package/fesm2022/ng-atomic-common-pipes-error.mjs +3 -4
  33. package/fesm2022/ng-atomic-common-pipes-error.mjs.map +1 -1
  34. package/fesm2022/ng-atomic-common-pipes-expression.mjs +25 -0
  35. package/fesm2022/ng-atomic-common-pipes-expression.mjs.map +1 -0
  36. package/fesm2022/ng-atomic-common-pipes-grouped-by.mjs +3 -3
  37. package/fesm2022/ng-atomic-common-pipes-grouped-by.mjs.map +1 -1
  38. package/fesm2022/ng-atomic-common-pipes-index-length.mjs +3 -3
  39. package/fesm2022/ng-atomic-common-pipes-index-length.mjs.map +1 -1
  40. package/fesm2022/ng-atomic-common-pipes-index.mjs +3 -3
  41. package/fesm2022/ng-atomic-common-pipes-index.mjs.map +1 -1
  42. package/fesm2022/ng-atomic-common-pipes-keys.mjs +3 -3
  43. package/fesm2022/ng-atomic-common-pipes-keys.mjs.map +1 -1
  44. package/fesm2022/ng-atomic-common-pipes-map.mjs +3 -3
  45. package/fesm2022/ng-atomic-common-pipes-map.mjs.map +1 -1
  46. package/fesm2022/ng-atomic-common-pipes-page.mjs +3 -3
  47. package/fesm2022/ng-atomic-common-pipes-page.mjs.map +1 -1
  48. package/fesm2022/ng-atomic-common-pipes-pagination.mjs +4 -4
  49. package/fesm2022/ng-atomic-common-pipes-pagination.mjs.map +1 -1
  50. package/fesm2022/ng-atomic-common-pipes-query.mjs +4 -4
  51. package/fesm2022/ng-atomic-common-pipes-query.mjs.map +1 -1
  52. package/fesm2022/ng-atomic-common-pipes-resolve-columns.mjs +3 -3
  53. package/fesm2022/ng-atomic-common-pipes-resolve-columns.mjs.map +1 -1
  54. package/fesm2022/ng-atomic-common-pipes-secret.mjs +3 -3
  55. package/fesm2022/ng-atomic-common-pipes-secret.mjs.map +1 -1
  56. package/fesm2022/ng-atomic-common-pipes-select-id.mjs +3 -3
  57. package/fesm2022/ng-atomic-common-pipes-select-id.mjs.map +1 -1
  58. package/fesm2022/ng-atomic-common-pipes-signal.mjs +3 -3
  59. package/fesm2022/ng-atomic-common-pipes-signal.mjs.map +1 -1
  60. package/fesm2022/ng-atomic-common-pipes-smart-field.mjs +18 -7
  61. package/fesm2022/ng-atomic-common-pipes-smart-field.mjs.map +1 -1
  62. package/fesm2022/ng-atomic-common-pipes-sort-by.mjs +3 -3
  63. package/fesm2022/ng-atomic-common-pipes-sort-by.mjs.map +1 -1
  64. package/fesm2022/ng-atomic-common-pipes-sort.mjs +3 -3
  65. package/fesm2022/ng-atomic-common-pipes-sort.mjs.map +1 -1
  66. package/fesm2022/ng-atomic-common-pipes-style.mjs +48 -0
  67. package/fesm2022/ng-atomic-common-pipes-style.mjs.map +1 -0
  68. package/fesm2022/ng-atomic-common-pipes-yen.mjs +3 -3
  69. package/fesm2022/ng-atomic-common-pipes-yen.mjs.map +1 -1
  70. package/fesm2022/ng-atomic-common-services-app.mjs +6 -6
  71. package/fesm2022/ng-atomic-common-services-app.mjs.map +1 -1
  72. package/fesm2022/ng-atomic-common-services-auth.mjs +3 -3
  73. package/fesm2022/ng-atomic-common-services-auth.mjs.map +1 -1
  74. package/fesm2022/ng-atomic-common-services-breakpoint.mjs +3 -3
  75. package/fesm2022/ng-atomic-common-services-breakpoint.mjs.map +1 -1
  76. package/fesm2022/ng-atomic-common-services-chips-manager.mjs +3 -3
  77. package/fesm2022/ng-atomic-common-services-chips-manager.mjs.map +1 -1
  78. package/fesm2022/ng-atomic-common-services-csv.mjs +3 -3
  79. package/fesm2022/ng-atomic-common-services-csv.mjs.map +1 -1
  80. package/fesm2022/ng-atomic-common-services-fab.mjs +3 -3
  81. package/fesm2022/ng-atomic-common-services-fab.mjs.map +1 -1
  82. package/fesm2022/ng-atomic-common-services-form-_index.mjs +3 -3
  83. package/fesm2022/ng-atomic-common-services-form-_index.mjs.map +1 -1
  84. package/fesm2022/ng-atomic-common-services-form-columns.mjs +30 -23
  85. package/fesm2022/ng-atomic-common-services-form-columns.mjs.map +1 -1
  86. package/fesm2022/ng-atomic-common-services-form-json-schema.mjs +77 -59
  87. package/fesm2022/ng-atomic-common-services-form-json-schema.mjs.map +1 -1
  88. package/fesm2022/ng-atomic-common-services-form-pagination.mjs +6 -6
  89. package/fesm2022/ng-atomic-common-services-form-pagination.mjs.map +1 -1
  90. package/fesm2022/ng-atomic-common-services-form-sort.mjs +3 -3
  91. package/fesm2022/ng-atomic-common-services-form-sort.mjs.map +1 -1
  92. package/fesm2022/ng-atomic-common-services-form.mjs.map +1 -1
  93. package/fesm2022/ng-atomic-common-services-initializer.mjs +3 -3
  94. package/fesm2022/ng-atomic-common-services-initializer.mjs.map +1 -1
  95. package/fesm2022/ng-atomic-common-services-language.mjs +46 -0
  96. package/fesm2022/ng-atomic-common-services-language.mjs.map +1 -0
  97. package/fesm2022/ng-atomic-common-services-loading.mjs +7 -7
  98. package/fesm2022/ng-atomic-common-services-loading.mjs.map +1 -1
  99. package/fesm2022/ng-atomic-common-services-navigation-history.mjs +3 -3
  100. package/fesm2022/ng-atomic-common-services-navigation-history.mjs.map +1 -1
  101. package/fesm2022/ng-atomic-common-services-query-resolver.mjs +9 -9
  102. package/fesm2022/ng-atomic-common-services-query-resolver.mjs.map +1 -1
  103. package/fesm2022/ng-atomic-common-services-root-property.mjs +14 -15
  104. package/fesm2022/ng-atomic-common-services-root-property.mjs.map +1 -1
  105. package/fesm2022/ng-atomic-common-services-router.mjs +3 -3
  106. package/fesm2022/ng-atomic-common-services-router.mjs.map +1 -1
  107. package/fesm2022/ng-atomic-common-services-secret.mjs +3 -3
  108. package/fesm2022/ng-atomic-common-services-secret.mjs.map +1 -1
  109. package/fesm2022/ng-atomic-common-services-sheets-actions.mjs +4 -4
  110. package/fesm2022/ng-atomic-common-services-sheets-actions.mjs.map +1 -1
  111. package/fesm2022/ng-atomic-common-services-sheets.mjs +7 -7
  112. package/fesm2022/ng-atomic-common-services-sheets.mjs.map +1 -1
  113. package/fesm2022/ng-atomic-common-services-side-app.mjs +6 -6
  114. package/fesm2022/ng-atomic-common-services-side-app.mjs.map +1 -1
  115. package/fesm2022/ng-atomic-common-services-side-nav-mode.mjs +3 -3
  116. package/fesm2022/ng-atomic-common-services-side-nav-mode.mjs.map +1 -1
  117. package/fesm2022/ng-atomic-common-services-snack-bar.mjs +35 -17
  118. package/fesm2022/ng-atomic-common-services-snack-bar.mjs.map +1 -1
  119. package/fesm2022/ng-atomic-common-services-spreadsheet.mjs +758 -0
  120. package/fesm2022/ng-atomic-common-services-spreadsheet.mjs.map +1 -0
  121. package/fesm2022/ng-atomic-common-services-ui.mjs +18 -11
  122. package/fesm2022/ng-atomic-common-services-ui.mjs.map +1 -1
  123. package/fesm2022/ng-atomic-common-stores-entities.mjs +9 -9
  124. package/fesm2022/ng-atomic-common-stores-entities.mjs.map +1 -1
  125. package/fesm2022/ng-atomic-common-stores-entity.mjs.map +1 -1
  126. package/fesm2022/ng-atomic-common-stores-pagination.mjs +3 -3
  127. package/fesm2022/ng-atomic-common-stores-pagination.mjs.map +1 -1
  128. package/fesm2022/ng-atomic-common-stores-query.mjs +4 -4
  129. package/fesm2022/ng-atomic-common-stores-query.mjs.map +1 -1
  130. package/fesm2022/ng-atomic-common-stores-selection.mjs +3 -3
  131. package/fesm2022/ng-atomic-common-stores-selection.mjs.map +1 -1
  132. package/fesm2022/ng-atomic-common-stores-sort.mjs +3 -3
  133. package/fesm2022/ng-atomic-common-stores-sort.mjs.map +1 -1
  134. package/fesm2022/ng-atomic-common-utils.mjs +41 -22
  135. package/fesm2022/ng-atomic-common-utils.mjs.map +1 -1
  136. package/fesm2022/ng-atomic-common.mjs +11 -11
  137. package/fesm2022/ng-atomic-common.mjs.map +1 -1
  138. package/models/index.d.ts +2 -1
  139. package/package.json +51 -146
  140. package/pipes/actions/actions.pipe.d.ts +2 -1
  141. package/pipes/columns/columns.pipe.d.ts +1 -0
  142. package/pipes/data-accessor/data-accessor.pipe.d.ts +1 -1
  143. package/pipes/domain/domain.pipe.d.ts +3 -5
  144. package/pipes/expression/expression.pipe.d.ts +9 -0
  145. package/pipes/expression/index.d.ts +1 -0
  146. package/pipes/index/index.pipe.d.ts +1 -1
  147. package/pipes/index-length/index-length.pipe.d.ts +1 -1
  148. package/pipes/smart-field/smart-field.pipe.d.ts +2 -2
  149. package/pipes/style/index.d.ts +1 -0
  150. package/pipes/style/style.pipe.d.ts +18 -0
  151. package/services/form/_index/index.service.d.ts +4 -4
  152. package/services/form/columns/columns.service.d.ts +5 -2
  153. package/services/form/json-schema/json-schema.service.d.ts +9 -1
  154. package/services/form/pagination/pagination.service.d.ts +5 -5
  155. package/services/language/index.d.ts +1 -0
  156. package/services/language/language.service.d.ts +12 -0
  157. package/services/query-resolver/query-resolver.service.d.ts +2 -2
  158. package/services/snack-bar/snack-bar.service.d.ts +5 -3
  159. package/services/spreadsheet/directives/grid-cell.directive.d.ts +41 -0
  160. package/services/spreadsheet/directives/index.d.ts +1 -0
  161. package/services/spreadsheet/features/clipboard.service.d.ts +15 -0
  162. package/services/spreadsheet/features/data.service.d.ts +16 -0
  163. package/services/spreadsheet/features/editor.service.d.ts +22 -0
  164. package/services/spreadsheet/features/grid.service.d.ts +17 -0
  165. package/services/spreadsheet/features/index.d.ts +7 -0
  166. package/services/spreadsheet/features/navigation.service.d.ts +17 -0
  167. package/services/spreadsheet/features/protection.service.d.ts +24 -0
  168. package/services/spreadsheet/features/selection.service.d.ts +40 -0
  169. package/services/spreadsheet/index.d.ts +4 -0
  170. package/services/spreadsheet/models/cell.model.d.ts +17 -0
  171. package/services/spreadsheet/models/index.d.ts +1 -0
  172. package/services/spreadsheet/spreadsheet.service.d.ts +29 -0
  173. package/services/ui/ui.helpers.d.ts +1 -1
  174. package/utils/expression/expression.transformer.d.ts +12 -0
  175. package/utils/expression/index.d.ts +1 -0
  176. package/utils/index.d.ts +1 -1
  177. package/utils/inject/inject.d.ts +2 -2
  178. package/esm2022/common.module.mjs +0 -34
  179. package/esm2022/directives/fallback-src/fallback-src.directive.mjs +0 -25
  180. package/esm2022/directives/fallback-src/index.mjs +0 -2
  181. package/esm2022/directives/fallback-src/ng-atomic-common-directives-fallback-src.mjs +0 -5
  182. package/esm2022/directives/ios-safari-scroll-buggyfill/index.mjs +0 -3
  183. package/esm2022/directives/ios-safari-scroll-buggyfill/ios-safari-scroll-buggyfill.directive.mjs +0 -24
  184. package/esm2022/directives/ios-safari-scroll-buggyfill/ios-safari-scroll-buggyfill.module.mjs +0 -24
  185. package/esm2022/directives/ios-safari-scroll-buggyfill/ng-atomic-common-directives-ios-safari-scroll-buggyfill.mjs +0 -5
  186. package/esm2022/index.mjs +0 -2
  187. package/esm2022/interceptors/authorization/authorization.interceptor.mjs +0 -39
  188. package/esm2022/interceptors/authorization/index.mjs +0 -2
  189. package/esm2022/interceptors/authorization/ng-atomic-common-interceptors-authorization.mjs +0 -5
  190. package/esm2022/interceptors/index.mjs +0 -2
  191. package/esm2022/interceptors/interceptors.module.mjs +0 -44
  192. package/esm2022/interceptors/ng-atomic-common-interceptors.mjs +0 -5
  193. package/esm2022/interceptors/throttle/index.mjs +0 -2
  194. package/esm2022/interceptors/throttle/ng-atomic-common-interceptors-throttle.mjs +0 -5
  195. package/esm2022/interceptors/throttle/throttle.interceptor.mjs +0 -63
  196. package/esm2022/interceptors/token/authorization.interceptor.mjs +0 -26
  197. package/esm2022/interceptors/token/index.mjs +0 -2
  198. package/esm2022/interceptors/token/ng-atomic-common-interceptors-token.mjs +0 -5
  199. package/esm2022/models/index.mjs +0 -2
  200. package/esm2022/models/menu-item.mjs +0 -2
  201. package/esm2022/models/ng-atomic-common-models.mjs +0 -5
  202. package/esm2022/ng-atomic-common.mjs +0 -5
  203. package/esm2022/pipes/actions/actions.pipe.mjs +0 -19
  204. package/esm2022/pipes/actions/index.mjs +0 -2
  205. package/esm2022/pipes/actions/ng-atomic-common-pipes-actions.mjs +0 -5
  206. package/esm2022/pipes/auto-columns/auto-columns.pipe.mjs +0 -20
  207. package/esm2022/pipes/auto-columns/index.mjs +0 -2
  208. package/esm2022/pipes/auto-columns/ng-atomic-common-pipes-auto-columns.mjs +0 -5
  209. package/esm2022/pipes/columns/columns.pipe.mjs +0 -17
  210. package/esm2022/pipes/columns/index.mjs +0 -2
  211. package/esm2022/pipes/columns/ng-atomic-common-pipes-columns.mjs +0 -5
  212. package/esm2022/pipes/data-accessor/data-accessor.pipe.mjs +0 -46
  213. package/esm2022/pipes/data-accessor/index.mjs +0 -2
  214. package/esm2022/pipes/data-accessor/ng-atomic-common-pipes-data-accessor.mjs +0 -5
  215. package/esm2022/pipes/domain/domain.pipe.mjs +0 -85
  216. package/esm2022/pipes/domain/index.mjs +0 -2
  217. package/esm2022/pipes/domain/ng-atomic-common-pipes-domain.mjs +0 -5
  218. package/esm2022/pipes/error/error.pipe.mjs +0 -47
  219. package/esm2022/pipes/error/index.mjs +0 -2
  220. package/esm2022/pipes/error/ng-atomic-common-pipes-error.mjs +0 -5
  221. package/esm2022/pipes/grouped-by/grouped-by.pipe.mjs +0 -29
  222. package/esm2022/pipes/grouped-by/index.mjs +0 -2
  223. package/esm2022/pipes/grouped-by/ng-atomic-common-pipes-grouped-by.mjs +0 -5
  224. package/esm2022/pipes/index/index.mjs +0 -2
  225. package/esm2022/pipes/index/index.pipe.mjs +0 -29
  226. package/esm2022/pipes/index/ng-atomic-common-pipes-index.mjs +0 -5
  227. package/esm2022/pipes/index-length/index-length.pipe.mjs +0 -22
  228. package/esm2022/pipes/index-length/index.mjs +0 -2
  229. package/esm2022/pipes/index-length/ng-atomic-common-pipes-index-length.mjs +0 -5
  230. package/esm2022/pipes/keys/index.mjs +0 -2
  231. package/esm2022/pipes/keys/keys.pipe.mjs +0 -18
  232. package/esm2022/pipes/keys/ng-atomic-common-pipes-keys.mjs +0 -5
  233. package/esm2022/pipes/map/index.mjs +0 -2
  234. package/esm2022/pipes/map/map.pipe.mjs +0 -17
  235. package/esm2022/pipes/map/ng-atomic-common-pipes-map.mjs +0 -5
  236. package/esm2022/pipes/page/index.mjs +0 -2
  237. package/esm2022/pipes/page/ng-atomic-common-pipes-page.mjs +0 -5
  238. package/esm2022/pipes/page/page.pipe.mjs +0 -25
  239. package/esm2022/pipes/pagination/index.mjs +0 -2
  240. package/esm2022/pipes/pagination/ng-atomic-common-pipes-pagination.mjs +0 -5
  241. package/esm2022/pipes/pagination/pagination.pipe.mjs +0 -32
  242. package/esm2022/pipes/query/index.mjs +0 -2
  243. package/esm2022/pipes/query/ng-atomic-common-pipes-query.mjs +0 -5
  244. package/esm2022/pipes/query/query.pipe.mjs +0 -33
  245. package/esm2022/pipes/resolve-columns/index.mjs +0 -2
  246. package/esm2022/pipes/resolve-columns/ng-atomic-common-pipes-resolve-columns.mjs +0 -5
  247. package/esm2022/pipes/resolve-columns/resolve-columns.pipe.mjs +0 -24
  248. package/esm2022/pipes/secret/index.mjs +0 -2
  249. package/esm2022/pipes/secret/ng-atomic-common-pipes-secret.mjs +0 -5
  250. package/esm2022/pipes/secret/secret.pipe.mjs +0 -21
  251. package/esm2022/pipes/select-id/index.mjs +0 -2
  252. package/esm2022/pipes/select-id/ng-atomic-common-pipes-select-id.mjs +0 -5
  253. package/esm2022/pipes/select-id/select-id.pipe.mjs +0 -29
  254. package/esm2022/pipes/signal/index.mjs +0 -2
  255. package/esm2022/pipes/signal/ng-atomic-common-pipes-signal.mjs +0 -5
  256. package/esm2022/pipes/signal/signal.pipe.mjs +0 -23
  257. package/esm2022/pipes/smart-exp/index.mjs +0 -3
  258. package/esm2022/pipes/smart-exp/ng-atomic-common-pipes-smart-exp.mjs +0 -5
  259. package/esm2022/pipes/smart-exp/smart-exp.module.mjs +0 -16
  260. package/esm2022/pipes/smart-exp/smart-exp.pipe.mjs +0 -27
  261. package/esm2022/pipes/smart-field/index.mjs +0 -2
  262. package/esm2022/pipes/smart-field/ng-atomic-common-pipes-smart-field.mjs +0 -5
  263. package/esm2022/pipes/smart-field/smart-field.pipe.mjs +0 -33
  264. package/esm2022/pipes/sort/index.mjs +0 -2
  265. package/esm2022/pipes/sort/ng-atomic-common-pipes-sort.mjs +0 -5
  266. package/esm2022/pipes/sort/sort.pipe.mjs +0 -14
  267. package/esm2022/pipes/sort-by/index.mjs +0 -2
  268. package/esm2022/pipes/sort-by/ng-atomic-common-pipes-sort-by.mjs +0 -5
  269. package/esm2022/pipes/sort-by/sort-by.pipe.mjs +0 -32
  270. package/esm2022/pipes/yen/index.mjs +0 -2
  271. package/esm2022/pipes/yen/ng-atomic-common-pipes-yen.mjs +0 -5
  272. package/esm2022/pipes/yen/yen.pipe.mjs +0 -20
  273. package/esm2022/services/app/app.service.mjs +0 -78
  274. package/esm2022/services/app/index.mjs +0 -2
  275. package/esm2022/services/app/ng-atomic-common-services-app.mjs +0 -5
  276. package/esm2022/services/auth/auth.service.mjs +0 -66
  277. package/esm2022/services/auth/index.mjs +0 -2
  278. package/esm2022/services/auth/ng-atomic-common-services-auth.mjs +0 -5
  279. package/esm2022/services/breakpoint/breakpoint.service.mjs +0 -57
  280. package/esm2022/services/breakpoint/index.mjs +0 -2
  281. package/esm2022/services/breakpoint/ng-atomic-common-services-breakpoint.mjs +0 -5
  282. package/esm2022/services/chips-manager/chips.manager.mjs +0 -29
  283. package/esm2022/services/chips-manager/index.mjs +0 -2
  284. package/esm2022/services/chips-manager/ng-atomic-common-services-chips-manager.mjs +0 -5
  285. package/esm2022/services/csv/csv.service.mjs +0 -25
  286. package/esm2022/services/csv/index.mjs +0 -2
  287. package/esm2022/services/csv/ng-atomic-common-services-csv.mjs +0 -5
  288. package/esm2022/services/fab/fab.service.mjs +0 -46
  289. package/esm2022/services/fab/index.mjs +0 -2
  290. package/esm2022/services/fab/ng-atomic-common-services-fab.mjs +0 -5
  291. package/esm2022/services/form/_index/index.mjs +0 -2
  292. package/esm2022/services/form/_index/index.service.mjs +0 -51
  293. package/esm2022/services/form/_index/ng-atomic-common-services-form-_index.mjs +0 -5
  294. package/esm2022/services/form/columns/columns.service.mjs +0 -138
  295. package/esm2022/services/form/columns/index.mjs +0 -2
  296. package/esm2022/services/form/columns/ng-atomic-common-services-form-columns.mjs +0 -5
  297. package/esm2022/services/form/form.service.mjs +0 -38
  298. package/esm2022/services/form/index.mjs +0 -2
  299. package/esm2022/services/form/json-schema/index.mjs +0 -2
  300. package/esm2022/services/form/json-schema/json-schema.mjs +0 -51
  301. package/esm2022/services/form/json-schema/json-schema.service.mjs +0 -160
  302. package/esm2022/services/form/json-schema/ng-atomic-common-services-form-json-schema.mjs +0 -5
  303. package/esm2022/services/form/ng-atomic-common-services-form.mjs +0 -5
  304. package/esm2022/services/form/pagination/index.mjs +0 -2
  305. package/esm2022/services/form/pagination/ng-atomic-common-services-form-pagination.mjs +0 -5
  306. package/esm2022/services/form/pagination/pagination.service.mjs +0 -24
  307. package/esm2022/services/form/sort/index.mjs +0 -2
  308. package/esm2022/services/form/sort/ng-atomic-common-services-form-sort.mjs +0 -5
  309. package/esm2022/services/form/sort/sort.service.mjs +0 -33
  310. package/esm2022/services/initializer/index.mjs +0 -2
  311. package/esm2022/services/initializer/initializer.service.mjs +0 -44
  312. package/esm2022/services/initializer/ng-atomic-common-services-initializer.mjs +0 -5
  313. package/esm2022/services/loading/index.mjs +0 -2
  314. package/esm2022/services/loading/loading.service.mjs +0 -62
  315. package/esm2022/services/loading/ng-atomic-common-services-loading.mjs +0 -5
  316. package/esm2022/services/navigation-history/index.mjs +0 -2
  317. package/esm2022/services/navigation-history/navigation-history.service.mjs +0 -50
  318. package/esm2022/services/navigation-history/ng-atomic-common-services-navigation-history.mjs +0 -5
  319. package/esm2022/services/query-resolver/index.mjs +0 -2
  320. package/esm2022/services/query-resolver/ng-atomic-common-services-query-resolver.mjs +0 -5
  321. package/esm2022/services/query-resolver/query-resolver.service.mjs +0 -95
  322. package/esm2022/services/root-property/index.mjs +0 -3
  323. package/esm2022/services/root-property/ng-atomic-common-services-root-property.mjs +0 -5
  324. package/esm2022/services/root-property/root-property.di.mjs +0 -15
  325. package/esm2022/services/root-property/root-property.service.mjs +0 -169
  326. package/esm2022/services/router/index.mjs +0 -2
  327. package/esm2022/services/router/ng-atomic-common-services-router.mjs +0 -5
  328. package/esm2022/services/router/router.service.mjs +0 -25
  329. package/esm2022/services/secret/index.mjs +0 -2
  330. package/esm2022/services/secret/ng-atomic-common-services-secret.mjs +0 -5
  331. package/esm2022/services/secret/secret.service.mjs +0 -16
  332. package/esm2022/services/sheets/actions/actions.sheet.mjs +0 -45
  333. package/esm2022/services/sheets/actions/index.mjs +0 -2
  334. package/esm2022/services/sheets/actions/ng-atomic-common-services-sheets-actions.mjs +0 -5
  335. package/esm2022/services/sheets/index.mjs +0 -3
  336. package/esm2022/services/sheets/ng-atomic-common-services-sheets.mjs +0 -5
  337. package/esm2022/services/sheets/sheets.module.mjs +0 -25
  338. package/esm2022/services/sheets/sheets.service.mjs +0 -22
  339. package/esm2022/services/side-app/index.mjs +0 -2
  340. package/esm2022/services/side-app/ng-atomic-common-services-side-app.mjs +0 -5
  341. package/esm2022/services/side-app/side-app.service.mjs +0 -55
  342. package/esm2022/services/side-nav-mode/index.mjs +0 -2
  343. package/esm2022/services/side-nav-mode/ng-atomic-common-services-side-nav-mode.mjs +0 -5
  344. package/esm2022/services/side-nav-mode/side-nav-mode.service.mjs +0 -27
  345. package/esm2022/services/snack-bar/index.mjs +0 -3
  346. package/esm2022/services/snack-bar/ng-atomic-common-services-snack-bar.mjs +0 -5
  347. package/esm2022/services/snack-bar/snack-bar.module.mjs +0 -22
  348. package/esm2022/services/snack-bar/snack-bar.service.mjs +0 -23
  349. package/esm2022/services/ui/index.mjs +0 -3
  350. package/esm2022/services/ui/ng-atomic-common-services-ui.mjs +0 -5
  351. package/esm2022/services/ui/ui.helpers.mjs +0 -234
  352. package/esm2022/services/ui/ui.service.mjs +0 -30
  353. package/esm2022/stores/entities/di.mjs +0 -64
  354. package/esm2022/stores/entities/entity-store-adapter.mjs +0 -34
  355. package/esm2022/stores/entities/entity-store-manager.mjs +0 -25
  356. package/esm2022/stores/entities/entity-store.mjs +0 -121
  357. package/esm2022/stores/entities/index.mjs +0 -7
  358. package/esm2022/stores/entities/ng-atomic-common-stores-entities.mjs +0 -5
  359. package/esm2022/stores/entities/proxy-id.service.mjs +0 -29
  360. package/esm2022/stores/entities/task-composer.mjs +0 -71
  361. package/esm2022/stores/entity/entity.store.mjs +0 -34
  362. package/esm2022/stores/entity/index.mjs +0 -2
  363. package/esm2022/stores/entity/ng-atomic-common-stores-entity.mjs +0 -5
  364. package/esm2022/stores/pagination/index.mjs +0 -2
  365. package/esm2022/stores/pagination/ng-atomic-common-stores-pagination.mjs +0 -5
  366. package/esm2022/stores/pagination/pagination.store.mjs +0 -23
  367. package/esm2022/stores/query/index.mjs +0 -2
  368. package/esm2022/stores/query/ng-atomic-common-stores-query.mjs +0 -5
  369. package/esm2022/stores/query/query.store.mjs +0 -31
  370. package/esm2022/stores/selection/index.mjs +0 -2
  371. package/esm2022/stores/selection/ng-atomic-common-stores-selection.mjs +0 -5
  372. package/esm2022/stores/selection/selection.store.mjs +0 -29
  373. package/esm2022/stores/sort/index.mjs +0 -2
  374. package/esm2022/stores/sort/ng-atomic-common-stores-sort.mjs +0 -5
  375. package/esm2022/stores/sort/sort.store.mjs +0 -27
  376. package/esm2022/utils/comma/comma.mjs +0 -4
  377. package/esm2022/utils/comma/index.mjs +0 -2
  378. package/esm2022/utils/compare-by-id/compare-by-id.mjs +0 -5
  379. package/esm2022/utils/compare-by-id/index.mjs +0 -2
  380. package/esm2022/utils/date-utils/date-utils.mjs +0 -13
  381. package/esm2022/utils/date-utils/index.mjs +0 -2
  382. package/esm2022/utils/diff/diff.mjs +0 -7
  383. package/esm2022/utils/diff/index.mjs +0 -2
  384. package/esm2022/utils/form/form.mjs +0 -26
  385. package/esm2022/utils/form/index.mjs +0 -2
  386. package/esm2022/utils/get/get.mjs +0 -6
  387. package/esm2022/utils/get/index.mjs +0 -2
  388. package/esm2022/utils/index.mjs +0 -15
  389. package/esm2022/utils/inject/index.mjs +0 -2
  390. package/esm2022/utils/inject/inject.mjs +0 -177
  391. package/esm2022/utils/mat-dayjs-date/dayjs-date.adapter.mjs +0 -191
  392. package/esm2022/utils/mat-dayjs-date/dayjs-date.formats.mjs +0 -15
  393. package/esm2022/utils/mat-dayjs-date/dayjs-date.module.mjs +0 -37
  394. package/esm2022/utils/mat-dayjs-date/dayjs-jp-providers.mjs +0 -20
  395. package/esm2022/utils/mat-dayjs-date/index.mjs +0 -5
  396. package/esm2022/utils/ng-atomic-common-utils.mjs +0 -5
  397. package/esm2022/utils/page/index.mjs +0 -2
  398. package/esm2022/utils/page/page.mjs +0 -20
  399. package/esm2022/utils/router/index.mjs +0 -2
  400. package/esm2022/utils/router/router.mjs +0 -54
  401. package/esm2022/utils/smart-exp-transformer/index.mjs +0 -2
  402. package/esm2022/utils/smart-exp-transformer/smart-exp-transformer.mjs +0 -18
  403. package/esm2022/utils/time.mjs +0 -8
  404. package/esm2022/utils/to-object/index.mjs +0 -2
  405. package/esm2022/utils/to-object/to-object.mjs +0 -10
  406. package/fesm2022/ng-atomic-common-pipes-smart-exp.mjs +0 -47
  407. package/fesm2022/ng-atomic-common-pipes-smart-exp.mjs.map +0 -1
  408. package/pipes/smart-exp/index.d.ts +0 -2
  409. package/pipes/smart-exp/smart-exp.module.d.ts +0 -7
  410. package/pipes/smart-exp/smart-exp.pipe.d.ts +0 -11
  411. package/utils/smart-exp-transformer/index.d.ts +0 -1
  412. package/utils/smart-exp-transformer/smart-exp-transformer.d.ts +0 -6
@@ -1,18 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- import dayjs from 'dayjs';
3
- import { comma } from '../comma';
4
- export const SMART_EXP_TRANSFORMER = new InjectionToken('[@ng-atomic/common] Smart Transformer');
5
- // export const yenTransform = (value: number, _unit?: string): string => {
6
- // return value < 1 ? `${comma(value * 100)}%` : `${comma(value)}円`;
7
- // }
8
- export const yenTransform = (value, _unit = '') => {
9
- return `${comma(value)} ${_unit}`;
10
- };
11
- export const smartExpTransformer = input => dayjs.isDayjs(input)
12
- ? input.format('YY/MM/DD')
13
- : Array.isArray(input)
14
- ? `${input.length}個のアイテム`
15
- : typeof input === 'number'
16
- ? yenTransform(input)
17
- : input;
18
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic21hcnQtZXhwLXRyYW5zZm9ybWVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvQG5nLWF0b21pYy9jb21tb24vc3JjL2xpYi91dGlscy9zbWFydC1leHAtdHJhbnNmb3JtZXIvc21hcnQtZXhwLXRyYW5zZm9ybWVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDL0MsT0FBTyxLQUFLLE1BQU0sT0FBTyxDQUFDO0FBQzFCLE9BQU8sRUFBRSxLQUFLLEVBQUUsTUFBTSxVQUFVLENBQUM7QUFFakMsTUFBTSxDQUFDLE1BQU0scUJBQXFCLEdBQUcsSUFBSSxjQUFjLENBQXNCLHVDQUF1QyxDQUFDLENBQUM7QUFJdEgsMkVBQTJFO0FBQzNFLHNFQUFzRTtBQUN0RSxJQUFJO0FBRUosTUFBTSxDQUFDLE1BQU0sWUFBWSxHQUFHLENBQUMsS0FBYSxFQUFFLEtBQUssR0FBRyxFQUFFLEVBQVUsRUFBRTtJQUNoRSxPQUFPLEdBQUcsS0FBSyxDQUFDLEtBQUssQ0FBQyxJQUFJLEtBQUssRUFBRSxDQUFDO0FBQ3BDLENBQUMsQ0FBQTtBQUVELE1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7Y29tbWEodmFsdWUpfeWGhmA7XG4vLyB9XG5cbmV4cG9ydCBjb25zdCB5ZW5UcmFuc2Zvcm0gPSAodmFsdWU6IG51bWJlciwgX3VuaXQgPSAnJyk6IHN0cmluZyA9PiB7XG4gIHJldHVybiBgJHtjb21tYSh2YWx1ZSl9ICR7X3VuaXR9YDtcbn1cblxuZXhwb3J0IGNvbnN0IHNtYXJ0RXhwVHJhbnNmb3JtZXI6IFNtYXJ0RXhwVHJhbnNmb3JtZXIgPSBpbnB1dCA9PiBkYXlqcy5pc0RheWpzKGlucHV0KVxuICA/IGlucHV0LmZvcm1hdCgnWVkvTU0vREQnKVxuICA6IEFycmF5LmlzQXJyYXkoaW5wdXQpIFxuICA/IGAke2lucHV0Lmxlbmd0aH3lgIvjga7jgqLjgqTjg4bjg6BgXG4gIDogdHlwZW9mIGlucHV0ID09PSAnbnVtYmVyJ1xuICA/IHllblRyYW5zZm9ybShpbnB1dClcbiAgOiBpbnB1dDsiXX0=
@@ -1,8 +0,0 @@
1
- // 秒数をhh:mm:ssの形にフォーマットする
2
- export function formatSeconds(seconds) {
3
- const h = `${Math.floor(seconds / 3600)}`.padStart(2, '0');
4
- const m = `${Math.floor(seconds % 3600 / 60)}`.padStart(2, '0');
5
- const s = `${Math.floor(seconds % 3600 % 60)}`.padStart(2, '0');
6
- return `${h}:${m}:${s}`;
7
- }
8
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGltZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL0BuZy1hdG9taWMvY29tbW9uL3NyYy9saWIvdXRpbHMvdGltZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSx5QkFBeUI7QUFDekIsTUFBTSxVQUFVLGFBQWEsQ0FBQyxPQUFlO0lBQzNDLE1BQU0sQ0FBQyxHQUFHLEdBQUcsSUFBSSxDQU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CJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9AbmctYXRvbWljL2NvbW1vbi9zcmMvbGliL3V0aWxzL3RvLW9iamVjdC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGFBQWEsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vdG8tb2JqZWN0JzsiXX0=
@@ -1,10 +0,0 @@
1
- const getAllProps = (obj, keys = Object.keys(obj)) => {
2
- const proto = Object.getPrototypeOf(obj);
3
- keys = Object.getOwnPropertyNames(proto)
4
- .filter(v => v !== '__proto__')
5
- .filter(v => Object.getOwnPropertyDescriptor(proto, v).get instanceof Function)
6
- .concat(keys);
7
- return proto.constructor.name === 'Object' ? keys : getAllProps(proto, keys);
8
- };
9
- export const toObject = (obj) => getAllProps(obj).reduce((p, k) => ({ ...p, [k]: obj[k] }), {});
10
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG8tb2JqZWN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvQG5nLWF0b21pYy9jb21tb24vc3JjL2xpYi91dGlscy90by1vYmplY3QvdG8tb2JqZWN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sV0FBVyxHQUFHLENBQUMsR0FBVyxFQUFFLE9BQWlCLE1BQU0sQ0FBQyxJQUFJLENBQUMsR0FBRyxDQUFDLEVBQVksRUFBRTtJQUMvRSxNQUFNLEtBQUssR0FBRyxNQUFNLENBQUMsY0FBYyxDQUFDLEdBQUcsQ0FBQyxDQUFDO0lBQ3pDLElBQUksR0FBRyxNQUFNLENBQUMsbUJBQW1CLENBQUMsS0FBSyxDQUFDO1NBQ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GVydHlEZXNjcmlwdG9yKHByb3RvLCB2KSEuZ2V0IGluc3RhbmNlb2YgRnVuY3Rpb24pXG4gICAgLmNvbmNhdChrZXlzKTtcblxuICByZXR1cm4gcHJvdG8uY29uc3RydWN0b3IubmFtZSA9PT0gJ09iamVjdCcgPyBrZXlzIDogZ2V0QWxsUHJvcHMocHJvdG8sIGtleXMpO1xufVxuXG5leHBvcnQgY29uc3QgdG9PYmplY3QgPSAob2JqOiBvYmplY3QpOiBvYmplY3QgPT4gZ2V0QWxsUHJvcHMob2JqKS5yZWR1Y2UoKHAsIGspID0+ICh7Li4ucCwgW2tdOiBvYmpba119KSwge30pO1xuIl19
@@ -1,47 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { Pipe, Optional, Inject, NgModule } from '@angular/core';
3
- import { smartExpTransformer, SMART_EXP_TRANSFORMER } from '@ng-atomic/common/utils';
4
-
5
- class SmartExpPipe {
6
- constructor(transformer) {
7
- this.transformer = transformer;
8
- this.transformer ??= smartExpTransformer;
9
- }
10
- transform(input, key) {
11
- return this.transformer(input, key);
12
- }
13
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: SmartExpPipe, deps: [{ token: SMART_EXP_TRANSFORMER, optional: true }], target: i0.ɵɵFactoryTarget.Pipe }); }
14
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.1.2", ngImport: i0, type: SmartExpPipe, name: "smartExp" }); }
15
- }
16
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: SmartExpPipe, decorators: [{
17
- type: Pipe,
18
- args: [{
19
- name: 'smartExp',
20
- pure: true,
21
- }]
22
- }], ctorParameters: () => [{ type: undefined, decorators: [{
23
- type: Optional
24
- }, {
25
- type: Inject,
26
- args: [SMART_EXP_TRANSFORMER]
27
- }] }] });
28
-
29
- class SmartExpModule {
30
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: SmartExpModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
31
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.1.2", ngImport: i0, type: SmartExpModule, declarations: [SmartExpPipe], exports: [SmartExpPipe] }); }
32
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: SmartExpModule }); }
33
- }
34
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: SmartExpModule, decorators: [{
35
- type: NgModule,
36
- args: [{
37
- declarations: [SmartExpPipe],
38
- exports: [SmartExpPipe]
39
- }]
40
- }] });
41
-
42
- /**
43
- * Generated bundle index. Do not edit.
44
- */
45
-
46
- export { SmartExpModule, SmartExpPipe };
47
- //# sourceMappingURL=ng-atomic-common-pipes-smart-exp.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ng-atomic-common-pipes-smart-exp.mjs","sources":["../../../../../packages/@ng-atomic/common/src/lib/pipes/smart-exp/smart-exp.pipe.ts","../../../../../packages/@ng-atomic/common/src/lib/pipes/smart-exp/smart-exp.module.ts","../../../../../packages/@ng-atomic/common/src/lib/pipes/smart-exp/ng-atomic-common-pipes-smart-exp.ts"],"sourcesContent":["import { Inject, Optional, Pipe, PipeTransform } from '@angular/core';\nimport { SMART_EXP_TRANSFORMER, smartExpTransformer, SmartExpTransformer } from '@ng-atomic/common/utils';\nimport dayjs from 'dayjs';\n\n\n@Pipe({\n name: 'smartExp',\n pure: true,\n})\nexport class SmartExpPipe implements PipeTransform {\n constructor(\n @Optional() @Inject(SMART_EXP_TRANSFORMER) private transformer: SmartExpTransformer\n ) {\n this.transformer ??= smartExpTransformer;\n }\n\n transform(input: string | number | dayjs.Dayjs | any, key?: string): string {\n return this.transformer(input, key);\n }\n}","import { NgModule } from \"@angular/core\";\nimport { SmartExpPipe } from \"./smart-exp.pipe\";\n\n@NgModule({\n declarations: [SmartExpPipe],\n exports: [SmartExpPipe]\n})\nexport class SmartExpModule { }","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MASa,YAAY,CAAA;AACvB,IAAA,WAAA,CACqD,WAAgC,EAAA;QAAhC,IAAW,CAAA,WAAA,GAAX,WAAW,CAAqB;AAEnF,QAAA,IAAI,CAAC,WAAW,KAAK,mBAAmB,CAAC;KAC1C;IAED,SAAS,CAAC,KAA0C,EAAE,GAAY,EAAA;QAChE,OAAO,IAAI,CAAC,WAAW,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;KACrC;AATU,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,kBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,YAAY,kBAED,qBAAqB,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA,EAAA;4GAFhC,YAAY,EAAA,IAAA,EAAA,UAAA,EAAA,CAAA,CAAA,EAAA;;2FAAZ,YAAY,EAAA,UAAA,EAAA,CAAA;kBAJxB,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACJ,oBAAA,IAAI,EAAE,UAAU;AAChB,oBAAA,IAAI,EAAE,IAAI;AACX,iBAAA,CAAA;;0BAGI,QAAQ;;0BAAI,MAAM;2BAAC,qBAAqB,CAAA;;;MCJhC,cAAc,CAAA;8GAAd,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;+GAAd,cAAc,EAAA,YAAA,EAAA,CAHV,YAAY,CAAA,EAAA,OAAA,EAAA,CACjB,YAAY,CAAA,EAAA,CAAA,CAAA,EAAA;+GAEX,cAAc,EAAA,CAAA,CAAA,EAAA;;2FAAd,cAAc,EAAA,UAAA,EAAA,CAAA;kBAJ1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,YAAY,CAAC;oBAC5B,OAAO,EAAE,CAAC,YAAY,CAAC;AACxB,iBAAA,CAAA;;;ACND;;AAEG;;;;"}
@@ -1,2 +0,0 @@
1
- export * from './smart-exp.pipe';
2
- export { SmartExpModule } from './smart-exp.module';
@@ -1,7 +0,0 @@
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
- }
@@ -1,11 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import { SmartExpTransformer } from '@ng-atomic/common/utils';
3
- import dayjs from 'dayjs';
4
- import * as i0 from "@angular/core";
5
- export declare class SmartExpPipe implements PipeTransform {
6
- private transformer;
7
- constructor(transformer: SmartExpTransformer);
8
- transform(input: string | number | dayjs.Dayjs | any, key?: string): string;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<SmartExpPipe, [{ optional: true; }]>;
10
- static ɵpipe: i0.ɵɵPipeDeclaration<SmartExpPipe, "smartExp", false>;
11
- }
@@ -1 +0,0 @@
1
- export * from './smart-exp-transformer';
@@ -1,6 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- import dayjs from 'dayjs';
3
- export declare const SMART_EXP_TRANSFORMER: InjectionToken<SmartExpTransformer>;
4
- export type SmartExpTransformer = (input: string | number | dayjs.Dayjs | any, key?: string) => string;
5
- export declare const yenTransform: (value: number, _unit?: string) => string;
6
- export declare const smartExpTransformer: SmartExpTransformer;