aril 0.0.46 → 0.0.48

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 (618) hide show
  1. package/boot/config/api/{index.ts → index.d.ts} +1 -1
  2. package/boot/config/api/src/api.service.d.ts +14 -0
  3. package/boot/config/api/src/interfaces.d.ts +9 -0
  4. package/boot/config/apps/{index.ts → index.d.ts} +2 -2
  5. package/boot/config/apps/src/apps.service.d.ts +16 -0
  6. package/boot/config/apps/src/interfaces.d.ts +23 -0
  7. package/boot/config/apps/src/showdowDOMWrapper.d.ts +10 -0
  8. package/boot/config/plugins/{index.ts → index.d.ts} +2 -2
  9. package/boot/config/plugins/src/getNgZone.d.ts +5 -0
  10. package/boot/config/plugins/src/interfaces.d.ts +18 -0
  11. package/boot/config/plugins/src/plugins.service.d.ts +9 -0
  12. package/boot/host/{index.ts → index.d.ts} +1 -1
  13. package/boot/host/src/app.component.d.ts +8 -0
  14. package/boot/host/src/bootstrap.d.ts +2 -0
  15. package/boot/index.d.ts +1 -0
  16. package/boot/mfe/{index.ts → index.d.ts} +1 -1
  17. package/boot/mfe/src/app.component.d.ts +12 -0
  18. package/boot/mfe/src/appComponentLoader.d.ts +1 -0
  19. package/boot/mfe/src/bootstrap.d.ts +6 -0
  20. package/boot/mfe/src/loadStyles.d.ts +3 -0
  21. package/esm2022/aril.mjs +5 -0
  22. package/esm2022/boot/aril-boot.mjs +5 -0
  23. package/esm2022/boot/config/api/aril-boot-config-api.mjs +5 -0
  24. package/esm2022/boot/config/api/index.mjs +2 -0
  25. package/esm2022/boot/config/api/src/api.service.mjs +42 -0
  26. package/esm2022/boot/config/api/src/interfaces.mjs +11 -0
  27. package/esm2022/boot/config/apps/aril-boot-config-apps.mjs +5 -0
  28. package/esm2022/boot/config/apps/index.mjs +3 -0
  29. package/esm2022/boot/config/apps/src/apps.service.mjs +51 -0
  30. package/esm2022/boot/config/apps/src/interfaces.mjs +17 -0
  31. package/esm2022/boot/config/apps/src/showdowDOMWrapper.mjs +35 -0
  32. package/esm2022/boot/config/plugins/aril-boot-config-plugins.mjs +5 -0
  33. package/esm2022/boot/config/plugins/index.mjs +3 -0
  34. package/esm2022/boot/config/plugins/src/getNgZone.mjs +12 -0
  35. package/esm2022/boot/config/plugins/src/interfaces.mjs +3 -0
  36. package/esm2022/boot/config/plugins/src/plugins.service.mjs +65 -0
  37. package/esm2022/boot/host/aril-boot-host.mjs +5 -0
  38. package/esm2022/boot/host/index.mjs +2 -0
  39. package/esm2022/boot/host/src/app.component.mjs +32 -0
  40. package/esm2022/boot/host/src/bootstrap.mjs +50 -0
  41. package/esm2022/boot/index.mjs +2 -0
  42. package/esm2022/boot/mfe/aril-boot-mfe.mjs +5 -0
  43. package/esm2022/boot/mfe/index.mjs +2 -0
  44. package/esm2022/boot/mfe/src/app.component.mjs +60 -0
  45. package/esm2022/boot/mfe/src/appComponentLoader.mjs +5 -0
  46. package/esm2022/boot/mfe/src/bootstrap.mjs +64 -0
  47. package/esm2022/boot/mfe/src/loadStyles.mjs +16 -0
  48. package/esm2022/http/aril-http.mjs +5 -0
  49. package/esm2022/http/index.mjs +12 -0
  50. package/esm2022/http/lib/enums.mjs +16 -0
  51. package/esm2022/http/lib/interfaces.mjs +15 -0
  52. package/esm2022/http/src/httpBackend.mjs +17 -0
  53. package/esm2022/http/src/httpClient.mjs +14 -0
  54. package/esm2022/http/src/interceptor/state-machine.interceptor.mjs +8 -0
  55. package/esm2022/http/src/serviceBase.mjs +60 -0
  56. package/esm2022/http/src/serviceMockBase.mjs +5 -0
  57. package/esm2022/http/src/serviceRequest.mjs +21 -0
  58. package/esm2022/http/src/serviceStateMethods.mjs +118 -0
  59. package/esm2022/i18n/aril-i18n.mjs +5 -0
  60. package/esm2022/i18n/index.mjs +6 -0
  61. package/esm2022/i18n/src/folder-name-token.mjs +3 -0
  62. package/esm2022/i18n/src/i18n.module.mjs +17 -0
  63. package/esm2022/i18n/src/loader.mjs +20 -0
  64. package/esm2022/i18n/src/provideI18n.mjs +16 -0
  65. package/esm2022/i18n/src/provideScope.mjs +18 -0
  66. package/esm2022/keycloak/aril-keycloak.mjs +5 -0
  67. package/esm2022/keycloak/index.mjs +4 -0
  68. package/esm2022/keycloak/src/auth.guard.mjs +39 -0
  69. package/esm2022/keycloak/src/auth.interceptor.mjs +10 -0
  70. package/esm2022/keycloak/src/keycloak.manager.mjs +76 -0
  71. package/esm2022/public-api.mjs +3 -0
  72. package/esm2022/theme/aril-theme.mjs +5 -0
  73. package/esm2022/theme/index.mjs +2 -0
  74. package/esm2022/theme/layout/app/breadcrumb/app.breadcrumb.component.mjs +41 -0
  75. package/esm2022/theme/layout/app/config/app.config.component.mjs +132 -0
  76. package/esm2022/theme/layout/app/layout/app.layout.component.mjs +147 -0
  77. package/esm2022/theme/layout/app/layout/mfe.layout.component.mjs +67 -0
  78. package/esm2022/theme/layout/app/menu/app.menu.component.mjs +398 -0
  79. package/esm2022/theme/layout/app/profileSidebar/app.profilesidebar.component.mjs +28 -0
  80. package/esm2022/theme/layout/app/sidebar/app.sidebar.component.mjs +41 -0
  81. package/esm2022/theme/layout/app/topbar/app.topbar.component.mjs +34 -0
  82. package/esm2022/theme/layout/aril-theme-layout.mjs +5 -0
  83. package/esm2022/theme/layout/index.mjs +4 -0
  84. package/esm2022/theme/layout/service/app.layout.service.mjs +127 -0
  85. package/esm2022/theme/layout/service/app.menu.service.mjs +53 -0
  86. package/esm2022/theme/layout/service/menuchangeevent.mjs +2 -0
  87. package/esm2022/ui/aril-ui.mjs +5 -0
  88. package/esm2022/ui/autoComplete/aril-ui-autoComplete.mjs +5 -0
  89. package/esm2022/ui/autoComplete/index.mjs +2 -0
  90. package/esm2022/ui/autoComplete/src/auto-complete.component.mjs +81 -0
  91. package/esm2022/ui/autoComplete/src/interfaces.mjs +2 -0
  92. package/esm2022/ui/badge/aril-ui-badge.mjs +5 -0
  93. package/esm2022/ui/badge/index.mjs +2 -0
  94. package/esm2022/ui/badge/src/badge.component.mjs +19 -0
  95. package/esm2022/ui/button/aril-ui-button.mjs +5 -0
  96. package/esm2022/ui/button/index.mjs +3 -0
  97. package/esm2022/ui/button/src/button.component.mjs +37 -0
  98. package/esm2022/ui/button/src/split-button.component.mjs +18 -0
  99. package/esm2022/ui/calendar/aril-ui-calendar.mjs +5 -0
  100. package/esm2022/ui/calendar/index.mjs +2 -0
  101. package/esm2022/ui/calendar/src/calendar.component.mjs +119 -0
  102. package/esm2022/ui/checkbox/aril-ui-checkbox.mjs +5 -0
  103. package/esm2022/ui/checkbox/index.mjs +3 -0
  104. package/esm2022/ui/checkbox/src/check-box.component.mjs +24 -0
  105. package/esm2022/ui/checkbox/src/tri-state-checkbox.component.mjs +24 -0
  106. package/esm2022/ui/dxField/aril-ui-dxField.mjs +5 -0
  107. package/esm2022/ui/dxField/index.mjs +2 -0
  108. package/esm2022/ui/dxField/src/dx-field.component.mjs +18 -0
  109. package/esm2022/ui/field/aril-ui-field.mjs +5 -0
  110. package/esm2022/ui/field/index.mjs +2 -0
  111. package/esm2022/ui/field/src/field.component.mjs +39 -0
  112. package/esm2022/ui/fileUpload/aril-ui-fileUpload.mjs +5 -0
  113. package/esm2022/ui/fileUpload/index.mjs +2 -0
  114. package/esm2022/ui/fileUpload/src/file-upload.component.mjs +61 -0
  115. package/esm2022/ui/form/aril-ui-form.mjs +5 -0
  116. package/esm2022/ui/form/index.mjs +22 -0
  117. package/esm2022/ui/form/src/form-submit-button.component.mjs +40 -0
  118. package/esm2022/ui/form/src/form.component.mjs +27 -0
  119. package/esm2022/ui/index.mjs +2 -0
  120. package/esm2022/ui/lib/aril-ui-lib.mjs +5 -0
  121. package/esm2022/ui/lib/index.mjs +15 -0
  122. package/esm2022/ui/lib/src/form/form-error-message.component.mjs +33 -0
  123. package/esm2022/ui/lib/src/form/form-error-message.directive.mjs +34 -0
  124. package/esm2022/ui/lib/src/form/form-field-builder.mjs +23 -0
  125. package/esm2022/ui/lib/src/form/form-validation.mjs +14 -0
  126. package/esm2022/ui/lib/src/grid/flex-grid.directive.mjs +21 -0
  127. package/esm2022/ui/lib/src/input/baseInput.mjs +24 -0
  128. package/esm2022/ui/lib/src/input/common-input-validators.service.mjs +49 -0
  129. package/esm2022/ui/lib/src/input/dx-input-error-message.pipe.mjs +22 -0
  130. package/esm2022/ui/lib/src/input/input-disabled.directive.mjs +25 -0
  131. package/esm2022/ui/lib/src/input/input-error-message.pipe.mjs +42 -0
  132. package/esm2022/ui/lib/src/input/input-transforms.mjs +8 -0
  133. package/esm2022/ui/lib/src/input/value-accessor.directive.mjs +38 -0
  134. package/esm2022/ui/mask/aril-ui-mask.mjs +5 -0
  135. package/esm2022/ui/mask/index.mjs +2 -0
  136. package/esm2022/ui/mask/src/mask.component.mjs +35 -0
  137. package/esm2022/ui/number/aril-ui-number.mjs +5 -0
  138. package/esm2022/ui/number/index.mjs +2 -0
  139. package/esm2022/ui/number/src/number.component.mjs +36 -0
  140. package/esm2022/ui/overlayPanel/aril-ui-overlayPanel.mjs +5 -0
  141. package/esm2022/ui/overlayPanel/index.mjs +2 -0
  142. package/esm2022/ui/overlayPanel/src/overlay-panel.component.mjs +20 -0
  143. package/esm2022/ui/panel/aril-ui-panel.mjs +5 -0
  144. package/esm2022/ui/panel/index.mjs +2 -0
  145. package/esm2022/ui/panel/src/panel.component.mjs +24 -0
  146. package/esm2022/ui/password/aril-ui-password.mjs +5 -0
  147. package/esm2022/ui/password/index.mjs +2 -0
  148. package/esm2022/ui/password/src/password.component.mjs +29 -0
  149. package/esm2022/ui/radioButton/aril-ui-radioButton.mjs +5 -0
  150. package/esm2022/ui/radioButton/index.mjs +2 -0
  151. package/esm2022/ui/radioButton/src/radio-button.component.mjs +30 -0
  152. package/esm2022/ui/selectBox/aril-ui-selectBox.mjs +5 -0
  153. package/esm2022/ui/selectBox/index.mjs +2 -0
  154. package/esm2022/ui/selectBox/src/interfaces.mjs +2 -0
  155. package/esm2022/ui/selectBox/src/select-box.component.mjs +54 -0
  156. package/esm2022/ui/switch/aril-ui-switch.mjs +5 -0
  157. package/esm2022/ui/switch/index.mjs +2 -0
  158. package/esm2022/ui/switch/src/switch.component.mjs +23 -0
  159. package/esm2022/ui/table/aril-ui-table.mjs +5 -0
  160. package/esm2022/ui/table/index.mjs +49 -0
  161. package/esm2022/ui/table/src/i18n.mjs +56 -0
  162. package/esm2022/ui/table/src/table-column.component.mjs +23 -0
  163. package/esm2022/ui/table/src/table.component.mjs +94 -0
  164. package/esm2022/ui/tagBox/aril-ui-tagBox.mjs +5 -0
  165. package/esm2022/ui/tagBox/index.mjs +2 -0
  166. package/esm2022/ui/tagBox/src/tag-box.component.mjs +50 -0
  167. package/esm2022/ui/text/aril-ui-text.mjs +5 -0
  168. package/esm2022/ui/text/index.mjs +2 -0
  169. package/esm2022/ui/text/src/text.component.mjs +40 -0
  170. package/esm2022/ui/textArea/aril-ui-textArea.mjs +5 -0
  171. package/esm2022/ui/textArea/index.mjs +2 -0
  172. package/esm2022/ui/textArea/src/text-area.component.mjs +26 -0
  173. package/esm2022/ui/toggle-button/aril-ui-toggle-button.mjs +5 -0
  174. package/esm2022/ui/toggle-button/index.mjs +2 -0
  175. package/esm2022/ui/toggle-button/src/toggle-button.component.mjs +25 -0
  176. package/esm2022/ui/tree/aril-ui-tree.mjs +5 -0
  177. package/esm2022/ui/tree/index.mjs +2 -0
  178. package/esm2022/ui/tree/src/tree.component.mjs +34 -0
  179. package/esm2022/ui/treeTable/aril-ui-treeTable.mjs +5 -0
  180. package/esm2022/ui/treeTable/index.mjs +2 -0
  181. package/esm2022/ui/treeTable/src/tree-table.component.mjs +55 -0
  182. package/esm2022/ui/value/aril-ui-value.mjs +5 -0
  183. package/esm2022/ui/value/index.mjs +2 -0
  184. package/esm2022/ui/value/src/value.component.mjs +35 -0
  185. package/esm2022/util/aril-util.mjs +5 -0
  186. package/esm2022/util/block/aril-util-block.mjs +5 -0
  187. package/esm2022/util/block/index.mjs +2 -0
  188. package/esm2022/util/block/src/block.mjs +64 -0
  189. package/esm2022/util/custom_pages/aril-util-custom_pages.mjs +5 -0
  190. package/esm2022/util/custom_pages/index.mjs +2 -0
  191. package/esm2022/util/custom_pages/src/notFound.component.mjs +65 -0
  192. package/esm2022/util/index.mjs +2 -0
  193. package/esm2022/util/init-event/aril-util-init-event.mjs +5 -0
  194. package/esm2022/util/init-event/index.mjs +2 -0
  195. package/esm2022/util/init-event/src/init-event.directive.mjs +22 -0
  196. package/esm2022/util/lib/aril-util-lib.mjs +5 -0
  197. package/esm2022/util/lib/index.mjs +4 -0
  198. package/esm2022/util/lib/src/interfaces.mjs +4 -0
  199. package/esm2022/util/lib/src/module-router.mjs +17 -0
  200. package/esm2022/util/lib/src/types.mjs +3 -0
  201. package/esm2022/util/loaders/aril-util-loaders.mjs +5 -0
  202. package/esm2022/util/loaders/index.mjs +3 -0
  203. package/esm2022/util/loaders/script/script.loader.service.mjs +61 -0
  204. package/esm2022/util/loaders/style/style.loader.service.mjs +61 -0
  205. package/esm2022/util/primitive-extensions/aril-util-primitive-extensions.mjs +5 -0
  206. package/esm2022/util/primitive-extensions/index.mjs +5 -0
  207. package/esm2022/util/primitive-extensions/src/boolean.extensions.mjs +2 -0
  208. package/esm2022/util/primitive-extensions/src/date.extensions.mjs +116 -0
  209. package/esm2022/util/primitive-extensions/src/number.extensions.mjs +39 -0
  210. package/esm2022/util/primitive-extensions/src/string.extensions.mjs +23 -0
  211. package/esm2022/util/pub-sub/aril-util-pub-sub.mjs +5 -0
  212. package/esm2022/util/pub-sub/index.mjs +2 -0
  213. package/esm2022/util/pub-sub/src/pub-sub.service.mjs +29 -0
  214. package/fesm2022/aril-app.component-c363Er6g.mjs +76 -0
  215. package/fesm2022/aril-app.component-c363Er6g.mjs.map +1 -0
  216. package/fesm2022/aril-boot-config-api.mjs +59 -0
  217. package/fesm2022/aril-boot-config-api.mjs.map +1 -0
  218. package/fesm2022/aril-boot-config-apps.mjs +106 -0
  219. package/fesm2022/aril-boot-config-apps.mjs.map +1 -0
  220. package/fesm2022/aril-boot-config-plugins.mjs +84 -0
  221. package/fesm2022/aril-boot-config-plugins.mjs.map +1 -0
  222. package/fesm2022/aril-boot-host.mjs +86 -0
  223. package/fesm2022/aril-boot-host.mjs.map +1 -0
  224. package/fesm2022/aril-boot-mfe-app.component-WWRmTfs5.mjs +75 -0
  225. package/fesm2022/aril-boot-mfe-app.component-WWRmTfs5.mjs.map +1 -0
  226. package/fesm2022/aril-boot-mfe-aril-boot-mfe-PwAGdNZE.mjs +90 -0
  227. package/fesm2022/aril-boot-mfe-aril-boot-mfe-PwAGdNZE.mjs.map +1 -0
  228. package/fesm2022/aril-boot-mfe.mjs +16 -0
  229. package/fesm2022/aril-boot-mfe.mjs.map +1 -0
  230. package/fesm2022/aril-boot.mjs +8 -0
  231. package/fesm2022/aril-boot.mjs.map +1 -0
  232. package/fesm2022/aril-http.mjs +273 -0
  233. package/fesm2022/aril-http.mjs.map +1 -0
  234. package/fesm2022/aril-i18n.mjs +72 -0
  235. package/fesm2022/aril-i18n.mjs.map +1 -0
  236. package/fesm2022/aril-keycloak.mjs +129 -0
  237. package/fesm2022/aril-keycloak.mjs.map +1 -0
  238. package/fesm2022/aril-theme-layout.mjs +1010 -0
  239. package/fesm2022/aril-theme-layout.mjs.map +1 -0
  240. package/fesm2022/aril-theme.mjs +8 -0
  241. package/fesm2022/aril-theme.mjs.map +1 -0
  242. package/fesm2022/aril-ui-autoComplete.mjs +88 -0
  243. package/fesm2022/aril-ui-autoComplete.mjs.map +1 -0
  244. package/fesm2022/aril-ui-badge.mjs +26 -0
  245. package/fesm2022/aril-ui-badge.mjs.map +1 -0
  246. package/fesm2022/aril-ui-button.mjs +59 -0
  247. package/fesm2022/aril-ui-button.mjs.map +1 -0
  248. package/fesm2022/aril-ui-calendar.mjs +125 -0
  249. package/fesm2022/aril-ui-calendar.mjs.map +1 -0
  250. package/fesm2022/aril-ui-checkbox.mjs +47 -0
  251. package/fesm2022/aril-ui-checkbox.mjs.map +1 -0
  252. package/fesm2022/aril-ui-dxField.mjs +25 -0
  253. package/fesm2022/aril-ui-dxField.mjs.map +1 -0
  254. package/fesm2022/aril-ui-field.mjs +46 -0
  255. package/fesm2022/aril-ui-field.mjs.map +1 -0
  256. package/fesm2022/aril-ui-fileUpload.mjs +68 -0
  257. package/fesm2022/aril-ui-fileUpload.mjs.map +1 -0
  258. package/fesm2022/aril-ui-form.mjs +86 -0
  259. package/fesm2022/aril-ui-form.mjs.map +1 -0
  260. package/fesm2022/aril-ui-lib.mjs +322 -0
  261. package/fesm2022/aril-ui-lib.mjs.map +1 -0
  262. package/fesm2022/aril-ui-mask.mjs +42 -0
  263. package/fesm2022/aril-ui-mask.mjs.map +1 -0
  264. package/fesm2022/aril-ui-number.mjs +43 -0
  265. package/fesm2022/aril-ui-number.mjs.map +1 -0
  266. package/fesm2022/aril-ui-overlayPanel.mjs +27 -0
  267. package/fesm2022/aril-ui-overlayPanel.mjs.map +1 -0
  268. package/fesm2022/aril-ui-panel.mjs +31 -0
  269. package/fesm2022/aril-ui-panel.mjs.map +1 -0
  270. package/fesm2022/aril-ui-password.mjs +36 -0
  271. package/fesm2022/aril-ui-password.mjs.map +1 -0
  272. package/fesm2022/aril-ui-radioButton.mjs +37 -0
  273. package/fesm2022/aril-ui-radioButton.mjs.map +1 -0
  274. package/fesm2022/aril-ui-selectBox.mjs +61 -0
  275. package/fesm2022/aril-ui-selectBox.mjs.map +1 -0
  276. package/fesm2022/aril-ui-switch.mjs +30 -0
  277. package/fesm2022/aril-ui-switch.mjs.map +1 -0
  278. package/fesm2022/aril-ui-table.mjs +219 -0
  279. package/fesm2022/aril-ui-table.mjs.map +1 -0
  280. package/fesm2022/aril-ui-tagBox.mjs +57 -0
  281. package/fesm2022/aril-ui-tagBox.mjs.map +1 -0
  282. package/fesm2022/aril-ui-text.mjs +47 -0
  283. package/fesm2022/aril-ui-text.mjs.map +1 -0
  284. package/fesm2022/aril-ui-textArea.mjs +33 -0
  285. package/fesm2022/aril-ui-textArea.mjs.map +1 -0
  286. package/fesm2022/aril-ui-toggle-button.mjs +32 -0
  287. package/fesm2022/aril-ui-toggle-button.mjs.map +1 -0
  288. package/fesm2022/aril-ui-tree.mjs +41 -0
  289. package/fesm2022/aril-ui-tree.mjs.map +1 -0
  290. package/fesm2022/aril-ui-treeTable.mjs +62 -0
  291. package/fesm2022/aril-ui-treeTable.mjs.map +1 -0
  292. package/fesm2022/aril-ui-value.mjs +42 -0
  293. package/fesm2022/aril-ui-value.mjs.map +1 -0
  294. package/fesm2022/aril-ui.mjs +8 -0
  295. package/fesm2022/aril-ui.mjs.map +1 -0
  296. package/fesm2022/aril-util-block.mjs +71 -0
  297. package/fesm2022/aril-util-block.mjs.map +1 -0
  298. package/fesm2022/aril-util-custom_pages.mjs +72 -0
  299. package/fesm2022/aril-util-custom_pages.mjs.map +1 -0
  300. package/fesm2022/aril-util-init-event.mjs +29 -0
  301. package/fesm2022/aril-util-init-event.mjs.map +1 -0
  302. package/fesm2022/aril-util-lib.mjs +29 -0
  303. package/fesm2022/aril-util-lib.mjs.map +1 -0
  304. package/fesm2022/aril-util-loaders.mjs +126 -0
  305. package/fesm2022/aril-util-loaders.mjs.map +1 -0
  306. package/fesm2022/aril-util-primitive-extensions.mjs +179 -0
  307. package/fesm2022/aril-util-primitive-extensions.mjs.map +1 -0
  308. package/fesm2022/aril-util-pub-sub.mjs +36 -0
  309. package/fesm2022/aril-util-pub-sub.mjs.map +1 -0
  310. package/fesm2022/aril-util.mjs +8 -0
  311. package/fesm2022/aril-util.mjs.map +1 -0
  312. package/fesm2022/aril.mjs +157 -0
  313. package/fesm2022/aril.mjs.map +1 -0
  314. package/http/{index.ts → index.d.ts} +8 -13
  315. package/http/lib/enums.d.ts +13 -0
  316. package/http/lib/interfaces.d.ts +21 -0
  317. package/http/src/httpBackend.d.ts +8 -0
  318. package/http/src/httpClient.d.ts +8 -0
  319. package/http/src/interceptor/state-machine.interceptor.d.ts +2 -0
  320. package/http/src/serviceBase.d.ts +5 -0
  321. package/http/src/serviceMockBase.d.ts +6 -0
  322. package/http/src/serviceRequest.d.ts +4 -0
  323. package/http/src/serviceStateMethods.d.ts +14 -0
  324. package/i18n/{index.ts → index.d.ts} +5 -5
  325. package/i18n/src/folder-name-token.d.ts +2 -0
  326. package/i18n/src/i18n.module.d.ts +7 -0
  327. package/i18n/src/loader.d.ts +9 -0
  328. package/i18n/src/provideI18n.d.ts +2 -0
  329. package/i18n/src/provideScope.d.ts +5 -0
  330. package/index.d.ts +5 -0
  331. package/keycloak/{index.ts → index.d.ts} +3 -3
  332. package/keycloak/src/auth.guard.d.ts +11 -0
  333. package/keycloak/src/auth.interceptor.d.ts +2 -0
  334. package/keycloak/src/keycloak.manager.d.ts +25 -0
  335. package/package.json +314 -31
  336. package/{public-api.ts → public-api.d.ts} +2 -2
  337. package/theme/index.d.ts +1 -0
  338. package/theme/layout/app/breadcrumb/app.breadcrumb.component.d.ts +16 -0
  339. package/theme/layout/app/config/app.config.component.d.ts +36 -0
  340. package/theme/layout/app/layout/app.layout.component.d.ts +48 -0
  341. package/theme/layout/app/layout/mfe.layout.component.d.ts +8 -0
  342. package/theme/layout/app/menu/app.menu.component.d.ts +50 -0
  343. package/theme/layout/app/profileSidebar/app.profilesidebar.component.d.ts +13 -0
  344. package/theme/layout/app/sidebar/app.sidebar.component.d.ts +15 -0
  345. package/theme/layout/app/topbar/app.topbar.component.d.ts +16 -0
  346. package/theme/layout/index.d.ts +3 -0
  347. package/theme/layout/service/app.layout.service.d.ts +51 -0
  348. package/theme/layout/service/app.menu.service.d.ts +23 -0
  349. package/theme/layout/service/menuchangeevent.d.ts +4 -0
  350. package/ui/autoComplete/{index.ts → index.d.ts} +1 -1
  351. package/ui/autoComplete/src/auto-complete.component.d.ts +24 -0
  352. package/ui/autoComplete/src/interfaces.d.ts +24 -0
  353. package/ui/badge/{index.ts → index.d.ts} +1 -1
  354. package/ui/badge/src/badge.component.d.ts +11 -0
  355. package/ui/button/{index.ts → index.d.ts} +2 -2
  356. package/ui/button/src/button.component.d.ts +24 -0
  357. package/ui/button/src/split-button.component.d.ts +8 -0
  358. package/ui/calendar/{index.ts → index.d.ts} +1 -1
  359. package/ui/calendar/src/calendar.component.d.ts +38 -0
  360. package/ui/checkbox/{index.ts → index.d.ts} +2 -2
  361. package/ui/checkbox/src/check-box.component.d.ts +9 -0
  362. package/ui/checkbox/src/tri-state-checkbox.component.d.ts +9 -0
  363. package/ui/dxField/{index.ts → index.d.ts} +1 -1
  364. package/ui/dxField/src/dx-field.component.d.ts +9 -0
  365. package/ui/field/{index.ts → index.d.ts} +1 -1
  366. package/ui/field/src/field.component.d.ts +25 -0
  367. package/ui/fileUpload/{index.ts → index.d.ts} +1 -1
  368. package/ui/fileUpload/src/file-upload.component.d.ts +47 -0
  369. package/ui/form/index.d.ts +11 -0
  370. package/ui/form/src/form-submit-button.component.d.ts +14 -0
  371. package/ui/form/src/form.component.d.ts +8 -0
  372. package/ui/index.d.ts +1 -0
  373. package/ui/lib/{index.ts → index.d.ts} +11 -16
  374. package/ui/lib/src/form/form-error-message.component.d.ts +9 -0
  375. package/ui/lib/src/form/form-error-message.directive.d.ts +14 -0
  376. package/ui/lib/src/form/form-field-builder.d.ts +8 -0
  377. package/ui/lib/src/form/form-validation.d.ts +2 -0
  378. package/ui/lib/src/grid/flex-grid.directive.d.ts +6 -0
  379. package/ui/lib/src/input/baseInput.d.ts +7 -0
  380. package/ui/lib/src/input/common-input-validators.service.d.ts +20 -0
  381. package/ui/lib/src/input/dx-input-error-message.pipe.d.ts +11 -0
  382. package/ui/lib/src/input/input-disabled.directive.d.ts +9 -0
  383. package/ui/lib/src/input/input-error-message.pipe.d.ts +7 -0
  384. package/ui/lib/src/input/input-transforms.d.ts +5 -0
  385. package/ui/lib/src/input/value-accessor.directive.d.ts +9 -0
  386. package/ui/mask/{index.ts → index.d.ts} +1 -1
  387. package/ui/mask/src/mask.component.d.ts +21 -0
  388. package/ui/number/{index.ts → index.d.ts} +1 -1
  389. package/ui/number/src/number.component.d.ts +27 -0
  390. package/ui/overlayPanel/{index.ts → index.d.ts} +1 -1
  391. package/ui/overlayPanel/src/overlay-panel.component.d.ts +8 -0
  392. package/ui/panel/{index.ts → index.d.ts} +1 -1
  393. package/ui/panel/src/panel.component.d.ts +10 -0
  394. package/ui/password/{index.ts → index.d.ts} +1 -1
  395. package/ui/password/src/password.component.d.ts +11 -0
  396. package/ui/radioButton/{index.ts → index.d.ts} +1 -1
  397. package/ui/radioButton/src/radio-button.component.d.ts +20 -0
  398. package/ui/selectBox/{index.ts → index.d.ts} +1 -1
  399. package/ui/selectBox/src/interfaces.d.ts +32 -0
  400. package/ui/selectBox/src/select-box.component.d.ts +25 -0
  401. package/ui/switch/{index.ts → index.d.ts} +1 -1
  402. package/ui/switch/src/switch.component.d.ts +8 -0
  403. package/ui/table/index.d.ts +16 -0
  404. package/ui/table/src/i18n.d.ts +42 -0
  405. package/ui/table/src/table-column.component.d.ts +24 -0
  406. package/ui/table/src/table.component.d.ts +41 -0
  407. package/ui/tagBox/{index.ts → index.d.ts} +1 -1
  408. package/ui/tagBox/src/tag-box.component.d.ts +15 -0
  409. package/ui/text/{index.ts → index.d.ts} +1 -1
  410. package/ui/text/src/text.component.d.ts +17 -0
  411. package/ui/textArea/{index.ts → index.d.ts} +1 -1
  412. package/ui/textArea/src/text-area.component.d.ts +11 -0
  413. package/ui/toggle-button/index.d.ts +1 -0
  414. package/ui/toggle-button/src/toggle-button.component.d.ts +10 -0
  415. package/ui/tree/{index.ts → index.d.ts} +1 -1
  416. package/ui/tree/src/tree.component.d.ts +19 -0
  417. package/ui/treeTable/{index.ts → index.d.ts} +1 -1
  418. package/ui/treeTable/src/tree-table.component.d.ts +21 -0
  419. package/ui/value/{index.ts → index.d.ts} +1 -1
  420. package/ui/value/src/value.component.d.ts +13 -0
  421. package/util/block/{index.ts → index.d.ts} +1 -1
  422. package/util/block/src/block.d.ts +28 -0
  423. package/util/custom_pages/{index.ts → index.d.ts} +1 -1
  424. package/util/custom_pages/src/notFound.component.d.ts +5 -0
  425. package/util/index.d.ts +1 -0
  426. package/util/init-event/{index.ts → index.d.ts} +1 -1
  427. package/util/init-event/src/init-event.directive.d.ts +8 -0
  428. package/util/lib/{index.ts → index.d.ts} +3 -3
  429. package/util/lib/src/interfaces.d.ts +41 -0
  430. package/util/lib/src/module-router.d.ts +5 -0
  431. package/util/lib/src/types.d.ts +29 -0
  432. package/util/loaders/{index.ts → index.d.ts} +2 -2
  433. package/util/loaders/script/script.loader.service.d.ts +13 -0
  434. package/util/loaders/style/style.loader.service.d.ts +13 -0
  435. package/util/primitive-extensions/{index.ts → index.d.ts} +4 -4
  436. package/util/primitive-extensions/src/{boolean.extensions.ts → boolean.extensions.d.ts} +1 -1
  437. package/util/primitive-extensions/src/date.extensions.d.ts +8 -0
  438. package/util/primitive-extensions/src/number.extensions.d.ts +12 -0
  439. package/util/primitive-extensions/src/string.extensions.d.ts +11 -0
  440. package/util/pub-sub/{index.ts → index.d.ts} +1 -1
  441. package/util/pub-sub/src/pub-sub.service.d.ts +20 -0
  442. package/.eslintrc.json +0 -41
  443. package/boot/config/api/ng-package.json +0 -6
  444. package/boot/config/api/src/api.service.ts +0 -57
  445. package/boot/config/api/src/interfaces.ts +0 -13
  446. package/boot/config/apps/ng-package.json +0 -6
  447. package/boot/config/apps/src/apps.service.ts +0 -64
  448. package/boot/config/apps/src/interfaces.ts +0 -27
  449. package/boot/config/apps/src/showdowDOMWrapper.ts +0 -28
  450. package/boot/config/plugins/ng-package.json +0 -6
  451. package/boot/config/plugins/src/getNgZone.ts +0 -9
  452. package/boot/config/plugins/src/interfaces.ts +0 -11
  453. package/boot/config/plugins/src/plugins.service.ts +0 -82
  454. package/boot/host/ng-package.json +0 -6
  455. package/boot/host/src/app.component.ts +0 -27
  456. package/boot/host/src/bootstrap.ts +0 -61
  457. package/boot/index.ts +0 -1
  458. package/boot/mfe/ng-package.json +0 -6
  459. package/boot/mfe/src/app.component.ts +0 -57
  460. package/boot/mfe/src/appComponentLoader.ts +0 -4
  461. package/boot/mfe/src/bootstrap.ts +0 -78
  462. package/boot/mfe/src/loadStyles.ts +0 -19
  463. package/boot/ng-package.json +0 -6
  464. package/http/lib/enums.ts +0 -13
  465. package/http/lib/interfaces.ts +0 -38
  466. package/http/ng-package.json +0 -6
  467. package/http/src/httpBackend.ts +0 -12
  468. package/http/src/httpClient.ts +0 -20
  469. package/http/src/interceptor/state-machine.interceptor.ts +0 -9
  470. package/http/src/serviceBase.ts +0 -91
  471. package/http/src/serviceMockBase.ts +0 -12
  472. package/http/src/serviceRequest.ts +0 -26
  473. package/http/src/serviceStateMethods.ts +0 -155
  474. package/i18n/ng-package.json +0 -6
  475. package/i18n/src/folder-name-token.ts +0 -3
  476. package/i18n/src/i18n.module.ts +0 -11
  477. package/i18n/src/loader.ts +0 -16
  478. package/i18n/src/provideI18n.ts +0 -18
  479. package/i18n/src/provideScope.ts +0 -20
  480. package/keycloak/ng-package.json +0 -6
  481. package/keycloak/src/auth.guard.ts +0 -37
  482. package/keycloak/src/auth.interceptor.ts +0 -13
  483. package/keycloak/src/keycloak.manager.ts +0 -89
  484. package/ng-package.json +0 -14
  485. package/project.json +0 -39
  486. package/tsconfig.lib.json +0 -12
  487. package/tsconfig.lib.prod.json +0 -10
  488. package/tsconfig.spec.json +0 -9
  489. package/ui/autoComplete/ng-package.json +0 -6
  490. package/ui/autoComplete/src/auto-complete.component.html +0 -11
  491. package/ui/autoComplete/src/auto-complete.component.ts +0 -92
  492. package/ui/autoComplete/src/interfaces.ts +0 -30
  493. package/ui/badge/ng-package.json +0 -6
  494. package/ui/badge/src/badge.component.html +0 -3
  495. package/ui/badge/src/badge.component.ts +0 -19
  496. package/ui/button/ng-package.json +0 -6
  497. package/ui/button/src/button.component.html +0 -10
  498. package/ui/button/src/button.component.ts +0 -43
  499. package/ui/button/src/split-button.component.html +0 -2
  500. package/ui/button/src/split-button.component.ts +0 -17
  501. package/ui/calendar/ng-package.json +0 -6
  502. package/ui/calendar/src/calendar.component.html +0 -31
  503. package/ui/calendar/src/calendar.component.ts +0 -136
  504. package/ui/checkbox/ng-package.json +0 -6
  505. package/ui/checkbox/src/check-box.component.html +0 -9
  506. package/ui/checkbox/src/check-box.component.ts +0 -19
  507. package/ui/checkbox/src/tri-state-checkbox.component.html +0 -7
  508. package/ui/checkbox/src/tri-state-checkbox.component.ts +0 -20
  509. package/ui/dxField/ng-package.json +0 -6
  510. package/ui/dxField/src/dx-field.component.html +0 -8
  511. package/ui/dxField/src/dx-field.component.ts +0 -16
  512. package/ui/field/ng-package.json +0 -6
  513. package/ui/field/src/field.component.html +0 -22
  514. package/ui/field/src/field.component.ts +0 -46
  515. package/ui/fileUpload/ng-package.json +0 -6
  516. package/ui/fileUpload/src/file-upload.component.html +0 -38
  517. package/ui/fileUpload/src/file-upload.component.ts +0 -72
  518. package/ui/form/index.ts +0 -18
  519. package/ui/form/ng-package.json +0 -6
  520. package/ui/form/src/form-submit-button.component.html +0 -12
  521. package/ui/form/src/form-submit-button.component.ts +0 -36
  522. package/ui/form/src/form.component.ts +0 -20
  523. package/ui/index.ts +0 -1
  524. package/ui/lib/ng-package.json +0 -6
  525. package/ui/lib/src/form/form-error-message.component.ts +0 -25
  526. package/ui/lib/src/form/form-error-message.directive.ts +0 -32
  527. package/ui/lib/src/form/form-field-builder.ts +0 -31
  528. package/ui/lib/src/form/form-validation.ts +0 -14
  529. package/ui/lib/src/grid/flex-grid.directive.ts +0 -10
  530. package/ui/lib/src/input/baseInput.ts +0 -30
  531. package/ui/lib/src/input/common-input-validators.service.ts +0 -57
  532. package/ui/lib/src/input/dx-input-error-message.pipe.ts +0 -16
  533. package/ui/lib/src/input/input-disabled.directive.ts +0 -15
  534. package/ui/lib/src/input/input-error-message.pipe.ts +0 -39
  535. package/ui/lib/src/input/input-transforms.ts +0 -11
  536. package/ui/lib/src/input/value-accessor.directive.ts +0 -27
  537. package/ui/mask/ng-package.json +0 -6
  538. package/ui/mask/src/mask.component.css +0 -23
  539. package/ui/mask/src/mask.component.html +0 -17
  540. package/ui/mask/src/mask.component.ts +0 -34
  541. package/ui/ng-package.json +0 -6
  542. package/ui/number/ng-package.json +0 -6
  543. package/ui/number/src/number.component.html +0 -25
  544. package/ui/number/src/number.component.ts +0 -34
  545. package/ui/overlayPanel/ng-package.json +0 -6
  546. package/ui/overlayPanel/src/overlay-panel.component.html +0 -5
  547. package/ui/overlayPanel/src/overlay-panel.component.ts +0 -16
  548. package/ui/panel/ng-package.json +0 -6
  549. package/ui/panel/src/panel.component.css +0 -25
  550. package/ui/panel/src/panel.component.html +0 -38
  551. package/ui/panel/src/panel.component.ts +0 -24
  552. package/ui/password/ng-package.json +0 -6
  553. package/ui/password/src/password.component.html +0 -24
  554. package/ui/password/src/password.component.ts +0 -22
  555. package/ui/radioButton/ng-package.json +0 -6
  556. package/ui/radioButton/src/radio-button.component.html +0 -17
  557. package/ui/radioButton/src/radio-button.component.ts +0 -36
  558. package/ui/selectBox/ng-package.json +0 -6
  559. package/ui/selectBox/src/interfaces.ts +0 -41
  560. package/ui/selectBox/src/select-box.component.html +0 -17
  561. package/ui/selectBox/src/select-box.component.ts +0 -69
  562. package/ui/switch/ng-package.json +0 -6
  563. package/ui/switch/src/switch.component.html +0 -7
  564. package/ui/switch/src/switch.component.ts +0 -18
  565. package/ui/table/index.ts +0 -34
  566. package/ui/table/ng-package.json +0 -6
  567. package/ui/table/src/i18n.ts +0 -55
  568. package/ui/table/src/table-column.component.ts +0 -28
  569. package/ui/table/src/table.component.html +0 -136
  570. package/ui/table/src/table.component.ts +0 -99
  571. package/ui/tagBox/ng-package.json +0 -6
  572. package/ui/tagBox/src/tag-box.component.html +0 -21
  573. package/ui/tagBox/src/tag-box.component.ts +0 -53
  574. package/ui/text/ng-package.json +0 -6
  575. package/ui/text/src/text.component.html +0 -21
  576. package/ui/text/src/text.component.ts +0 -47
  577. package/ui/textArea/ng-package.json +0 -6
  578. package/ui/textArea/src/text-area.component.html +0 -11
  579. package/ui/textArea/src/text-area.component.ts +0 -21
  580. package/ui/toggle-button/index.ts +0 -1
  581. package/ui/toggle-button/ng-package.json +0 -6
  582. package/ui/toggle-button/src/toggle-button.component.html +0 -13
  583. package/ui/toggle-button/src/toggle-button.component.scss +0 -19
  584. package/ui/toggle-button/src/toggle-button.component.ts +0 -22
  585. package/ui/tree/ng-package.json +0 -6
  586. package/ui/tree/src/tree.component.html +0 -16
  587. package/ui/tree/src/tree.component.ts +0 -52
  588. package/ui/treeTable/ng-package.json +0 -6
  589. package/ui/treeTable/src/tree-table.component.html +0 -88
  590. package/ui/treeTable/src/tree-table.component.ts +0 -57
  591. package/ui/value/ng-package.json +0 -6
  592. package/ui/value/src/value.component.html +0 -19
  593. package/ui/value/src/value.component.ts +0 -39
  594. package/util/block/ng-package.json +0 -6
  595. package/util/block/src/block.ts +0 -65
  596. package/util/custom_pages/ng-package.json +0 -6
  597. package/util/custom_pages/src/notFound.component.ts +0 -34
  598. package/util/index.ts +0 -1
  599. package/util/init-event/ng-package.json +0 -6
  600. package/util/init-event/src/init-event.directive.ts +0 -13
  601. package/util/lib/ng-package.json +0 -6
  602. package/util/lib/src/interfaces.ts +0 -44
  603. package/util/lib/src/module-router.ts +0 -10
  604. package/util/lib/src/types.ts +0 -49
  605. package/util/loaders/ng-package.json +0 -6
  606. package/util/loaders/script/script.loader.service.ts +0 -69
  607. package/util/loaders/style/style.loader.service.ts +0 -69
  608. package/util/ng-package.json +0 -6
  609. package/util/primitive-extensions/ng-package.json +0 -6
  610. package/util/primitive-extensions/src/date.extensions.ts +0 -135
  611. package/util/primitive-extensions/src/number.extensions.ts +0 -57
  612. package/util/primitive-extensions/src/string.extensions.ts +0 -39
  613. package/util/pub-sub/ng-package.json +0 -6
  614. package/util/pub-sub/src/pub-sub.service.ts +0 -34
  615. /package/boot/config/{api/src/api.sample.json → api.sample.json} +0 -0
  616. /package/{util/block/src → scripts/util}/blockui.min.js +0 -0
  617. /package/{ui/styles → styles/ui}/ui.common.scss +0 -0
  618. /package/{util/block/src → styles/util}/blockui.css +0 -0
@@ -0,0 +1,322 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Component, ChangeDetectionStrategy, Input, input, Directive, HostBinding, inject, Injectable, Pipe } from '@angular/core';
3
+ import * as i1 from 'primeng/messages';
4
+ import { MessagesModule } from 'primeng/messages';
5
+ import * as i1$1 from '@angular/forms';
6
+ import { FormControl, FormGroup, FormArray, NgControl, NgModel, FormControlName, FormControlDirective, NG_VALUE_ACCESSOR } from '@angular/forms';
7
+ import 'aril/util/primitive-extensions';
8
+ import { PrimeIcons } from 'primeng/api';
9
+
10
+ class FormErrorMessagesComponent {
11
+ set messages(messages) {
12
+ this._pMessages = Object.values(messages).map((msg) => {
13
+ return { severity: 'error', summary: '', detail: msg };
14
+ });
15
+ }
16
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: FormErrorMessagesComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
17
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.2", type: FormErrorMessagesComponent, isStandalone: true, selector: "ng-component", inputs: { messages: "messages" }, ngImport: i0, template: `
18
+ <div class="flex gap-2 formErrorMessage">
19
+ <p-messages [(value)]="_pMessages" [enableService]="false" [closable]="false"></p-messages>
20
+ </div>
21
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: MessagesModule }, { kind: "component", type: i1.Messages, selector: "p-messages", inputs: ["value", "closable", "style", "styleClass", "enableService", "key", "escape", "severity", "showTransitionOptions", "hideTransitionOptions"], outputs: ["valueChange", "onClose"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
22
+ }
23
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: FormErrorMessagesComponent, decorators: [{
24
+ type: Component,
25
+ args: [{
26
+ standalone: true,
27
+ imports: [MessagesModule],
28
+ template: `
29
+ <div class="flex gap-2 formErrorMessage">
30
+ <p-messages [(value)]="_pMessages" [enableService]="false" [closable]="false"></p-messages>
31
+ </div>
32
+ `,
33
+ changeDetection: ChangeDetectionStrategy.OnPush
34
+ }]
35
+ }], propDecorators: { messages: [{
36
+ type: Input
37
+ }] } });
38
+
39
+ /* eslint-disable @angular-eslint/directive-selector */
40
+ class FormErrorMessageDirective {
41
+ constructor(viewContainerRef) {
42
+ this.viewContainerRef = viewContainerRef;
43
+ this.formErrorMessage = input.required();
44
+ this.errorKeys = [];
45
+ }
46
+ ngOnInit() {
47
+ this.formErrorMessage().statusChanges.subscribe((status) => {
48
+ if (this.componentRef)
49
+ this.viewContainerRef.remove();
50
+ if (status === 'INVALID') {
51
+ if (this.formErrorMessage().errors) {
52
+ this.componentRef = this.viewContainerRef.createComponent(FormErrorMessagesComponent);
53
+ this.componentRef.instance.messages = this.formErrorMessage().errors;
54
+ this.viewContainerRef.insert(this.componentRef.hostView);
55
+ }
56
+ }
57
+ });
58
+ }
59
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: FormErrorMessageDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
60
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "17.1.2", type: FormErrorMessageDirective, isStandalone: true, selector: "[formErrorMessage]", inputs: { formErrorMessage: { classPropertyName: "formErrorMessage", publicName: "formErrorMessage", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0 }); }
61
+ }
62
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: FormErrorMessageDirective, decorators: [{
63
+ type: Directive,
64
+ args: [{
65
+ standalone: true,
66
+ selector: '[formErrorMessage]'
67
+ }]
68
+ }], ctorParameters: () => [{ type: i0.ViewContainerRef }] });
69
+
70
+ const checkValidInputs = (formGroup) => {
71
+ Object.keys(formGroup.controls).forEach((field) => {
72
+ const control = formGroup.get(field);
73
+ if (control instanceof FormControl) {
74
+ control.markAsTouched({ onlySelf: true });
75
+ control.markAsDirty({ onlySelf: true });
76
+ }
77
+ else if (control instanceof FormGroup || control instanceof FormArray) {
78
+ checkValidInputs(control);
79
+ }
80
+ });
81
+ };
82
+
83
+ const addControlsWithValidation = (form, controls) => {
84
+ controls.forEach((control) => {
85
+ if (!form.contains(control.name)) {
86
+ form.addControl(control.name, new FormControl({ value: null, disabled: control?.disabled || false }, control.validator));
87
+ }
88
+ });
89
+ };
90
+ const removeControls = (form, controlNames) => {
91
+ controlNames.forEach((controlName) => {
92
+ if (form.contains(controlName)) {
93
+ form.removeControl(controlName);
94
+ }
95
+ });
96
+ };
97
+ const updateValueAndValidities = (form, controlNames) => {
98
+ controlNames.forEach((controlName) => {
99
+ if (form.contains(controlName)) {
100
+ form.get(controlName)?.updateValueAndValidity();
101
+ }
102
+ });
103
+ };
104
+
105
+ /* eslint-disable @angular-eslint/directive-selector */
106
+ class FlexGridDirective {
107
+ constructor() {
108
+ this.hostClass = 'grid p-fluid m-0 p-0';
109
+ }
110
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: FlexGridDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
111
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.1.2", type: FlexGridDirective, isStandalone: true, selector: "[flexGrid]", host: { properties: { "class": "this.hostClass" } }, ngImport: i0 }); }
112
+ }
113
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: FlexGridDirective, decorators: [{
114
+ type: Directive,
115
+ args: [{
116
+ standalone: true,
117
+ selector: '[flexGrid]'
118
+ }]
119
+ }], propDecorators: { hostClass: [{
120
+ type: HostBinding,
121
+ args: ['class']
122
+ }] } });
123
+
124
+ class BaseInputComponent {
125
+ constructor() {
126
+ this.ngControl = injectNgControl();
127
+ this.tooltipOptions = {
128
+ tooltipPosition: 'top',
129
+ tooltipEvent: 'focus',
130
+ tooltipStyleClass: 'tooltipErrorMessage'
131
+ };
132
+ }
133
+ }
134
+ function injectNgControl() {
135
+ const ngControl = inject(NgControl, { self: true, optional: true });
136
+ if (!ngControl)
137
+ throw new Error('NgModel or FormControlName or FormControlDirective is required');
138
+ if (ngControl instanceof NgModel ||
139
+ ngControl instanceof FormControlName ||
140
+ ngControl instanceof FormControlDirective) {
141
+ return ngControl;
142
+ }
143
+ throw new Error('Something went wrong in InjectNgControl');
144
+ }
145
+
146
+ class CommonInputValidatorsService {
147
+ /**
148
+ * @param sdCtrlName - name of the start date form control
149
+ * @param edCtrlName - name of the end date form control
150
+ * @param rangeValue - range between start and end date. Default value is 1
151
+ * @param rangeFormat - format of the range. Default value is "day"
152
+ */
153
+ dateRange(sdCtrlName, edCtrlName, rangeValue = 0, rangeFormat = 'day') {
154
+ return (control) => {
155
+ const start = control.get(sdCtrlName)?.value;
156
+ const end = control.get(edCtrlName)?.value;
157
+ const startJSDate = start.longToDate();
158
+ const endJSDate = end.longToDate();
159
+ if (startJSDate && endJSDate) {
160
+ const isRangeValid = endJSDate.getTime() - startJSDate.getTime() > rangeValue;
161
+ return isRangeValid ? null : ({ dateRange: `The end date must be at least ${rangeValue} ${rangeFormat} bigger than the start date` });
162
+ }
163
+ return null;
164
+ };
165
+ }
166
+ /**
167
+ * @description - pasword match vs.
168
+ */
169
+ strictMatch(controlName, matchingControlName) {
170
+ return (control) => {
171
+ const firstField = control.get(controlName);
172
+ const secondField = control.get(matchingControlName);
173
+ if (!firstField || !secondField) {
174
+ return null;
175
+ }
176
+ if (firstField.value !== secondField.value) {
177
+ return { strictMatch: `${controlName} and ${matchingControlName} do not match` };
178
+ }
179
+ return null;
180
+ };
181
+ }
182
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: CommonInputValidatorsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
183
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: CommonInputValidatorsService, providedIn: 'root' }); }
184
+ }
185
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: CommonInputValidatorsService, decorators: [{
186
+ type: Injectable,
187
+ args: [{
188
+ providedIn: 'root'
189
+ }]
190
+ }] });
191
+
192
+ /* eslint-disable @typescript-eslint/no-explicit-any */
193
+ class InputErrorMessagePipe {
194
+ transform(value, ...args) {
195
+ const control = args[0];
196
+ const errorKeys = Object.keys(control.errors || {});
197
+ if (errorKeys.length) {
198
+ const errorKey = errorKeys[0];
199
+ const errorValue = control.errors[errorKey];
200
+ switch (errorKey) {
201
+ case 'required':
202
+ return 'This field is required';
203
+ case 'min':
204
+ return `Minimum value is ${errorValue.min}`;
205
+ case 'max':
206
+ return `Maximum value is ${errorValue.max}`;
207
+ case 'minlength':
208
+ return `Minimum length is ${errorValue.requiredLength}`;
209
+ case 'maxlength':
210
+ return `Maximum length is ${errorValue.requiredLength}`;
211
+ case 'email':
212
+ return 'Invalid email';
213
+ case 'pattern':
214
+ return 'Invalid format';
215
+ default:
216
+ return errorValue;
217
+ }
218
+ }
219
+ return '';
220
+ }
221
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: InputErrorMessagePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
222
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.1.2", ngImport: i0, type: InputErrorMessagePipe, isStandalone: true, name: "inputErrorMessage" }); }
223
+ }
224
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: InputErrorMessagePipe, decorators: [{
225
+ type: Pipe,
226
+ args: [{
227
+ standalone: true,
228
+ name: 'inputErrorMessage'
229
+ }]
230
+ }] });
231
+
232
+ /* eslint-disable @typescript-eslint/no-explicit-any */
233
+ class DXInputErrorMessagePipe {
234
+ constructor() {
235
+ this.errorMsgPipe = inject(InputErrorMessagePipe);
236
+ }
237
+ transform(value, ...args) {
238
+ return { message: this.errorMsgPipe.transform(value, ...args) };
239
+ }
240
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: DXInputErrorMessagePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
241
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.1.2", ngImport: i0, type: DXInputErrorMessagePipe, isStandalone: true, name: "dxInputErrorMessage" }); }
242
+ }
243
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: DXInputErrorMessagePipe, decorators: [{
244
+ type: Pipe,
245
+ args: [{
246
+ standalone: true,
247
+ name: 'dxInputErrorMessage'
248
+ }]
249
+ }] });
250
+
251
+ class InputDisabledDirective {
252
+ constructor(ngControl) {
253
+ this.ngControl = ngControl;
254
+ }
255
+ set arilDisabled(condition) {
256
+ const action = condition ? 'disable' : 'enable';
257
+ if (this.ngControl.control)
258
+ this.ngControl.control[action]();
259
+ }
260
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: InputDisabledDirective, deps: [{ token: i1$1.NgControl }], target: i0.ɵɵFactoryTarget.Directive }); }
261
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.1.2", type: InputDisabledDirective, isStandalone: true, selector: "[arilDisabled]", inputs: { arilDisabled: "arilDisabled" }, ngImport: i0 }); }
262
+ }
263
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: InputDisabledDirective, decorators: [{
264
+ type: Directive,
265
+ args: [{
266
+ standalone: true,
267
+ selector: '[arilDisabled]'
268
+ }]
269
+ }], ctorParameters: () => [{ type: i1$1.NgControl }], propDecorators: { arilDisabled: [{
270
+ type: Input
271
+ }] } });
272
+
273
+ function iconTransform(icon) {
274
+ return PrimeIcons[icon];
275
+ }
276
+ function iconPosTransform(pos) {
277
+ return 'p-input-icon-' + pos;
278
+ }
279
+
280
+ /* eslint-disable @typescript-eslint/no-unused-vars */
281
+ /* eslint-disable @typescript-eslint/no-explicit-any */
282
+ class ValueAccessorDirective {
283
+ writeValue(obj) {
284
+ return;
285
+ }
286
+ registerOnChange(fn) {
287
+ return;
288
+ }
289
+ registerOnTouched(fn) {
290
+ return;
291
+ }
292
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: ValueAccessorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
293
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.1.2", type: ValueAccessorDirective, isStandalone: true, providers: [
294
+ {
295
+ provide: NG_VALUE_ACCESSOR,
296
+ multi: true,
297
+ useExisting: ValueAccessorDirective
298
+ }
299
+ ], ngImport: i0 }); }
300
+ }
301
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: ValueAccessorDirective, decorators: [{
302
+ type: Directive,
303
+ args: [{
304
+ standalone: true,
305
+ providers: [
306
+ {
307
+ provide: NG_VALUE_ACCESSOR,
308
+ multi: true,
309
+ useExisting: ValueAccessorDirective
310
+ }
311
+ ]
312
+ }]
313
+ }] });
314
+
315
+ /* form */
316
+
317
+ /**
318
+ * Generated bundle index. Do not edit.
319
+ */
320
+
321
+ export { BaseInputComponent, CommonInputValidatorsService, DXInputErrorMessagePipe, FlexGridDirective, FormErrorMessageDirective, InputDisabledDirective, InputErrorMessagePipe, ValueAccessorDirective, addControlsWithValidation, checkValidInputs, iconPosTransform, iconTransform, injectNgControl, removeControls, updateValueAndValidities };
322
+ //# sourceMappingURL=aril-ui-lib.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aril-ui-lib.mjs","sources":["../../projects/aril/ui/lib/src/form/form-error-message.component.ts","../../projects/aril/ui/lib/src/form/form-error-message.directive.ts","../../projects/aril/ui/lib/src/form/form-validation.ts","../../projects/aril/ui/lib/src/form/form-field-builder.ts","../../projects/aril/ui/lib/src/grid/flex-grid.directive.ts","../../projects/aril/ui/lib/src/input/baseInput.ts","../../projects/aril/ui/lib/src/input/common-input-validators.service.ts","../../projects/aril/ui/lib/src/input/input-error-message.pipe.ts","../../projects/aril/ui/lib/src/input/dx-input-error-message.pipe.ts","../../projects/aril/ui/lib/src/input/input-disabled.directive.ts","../../projects/aril/ui/lib/src/input/input-transforms.ts","../../projects/aril/ui/lib/src/input/value-accessor.directive.ts","../../projects/aril/ui/lib/index.ts","../../projects/aril/ui/lib/aril-ui-lib.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\r\nimport { ValidationErrors } from '@angular/forms';\r\n\r\nimport { Message } from 'primeng/api';\r\nimport { MessagesModule } from 'primeng/messages';\r\n\r\n@Component({\r\n\tstandalone: true,\r\n\timports: [MessagesModule],\r\n\ttemplate: `\r\n\t\t<div class=\"flex gap-2 formErrorMessage\">\r\n\t\t\t<p-messages [(value)]=\"_pMessages\" [enableService]=\"false\" [closable]=\"false\"></p-messages>\r\n\t\t</div>\r\n\t`,\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class FormErrorMessagesComponent {\r\n\t_pMessages!: Message[];\r\n\r\n\t@Input() set messages(messages: ValidationErrors | null) {\r\n\t\tthis._pMessages = Object.values(messages!).map((msg) => {\r\n\t\t\treturn { severity: 'error', summary: '', detail: msg };\r\n\t\t});\r\n\t}\r\n}\r\n","/* eslint-disable @angular-eslint/directive-selector */\r\nimport { ComponentRef, Directive, OnInit, ViewContainerRef, input } from '@angular/core';\r\nimport { FormGroup } from '@angular/forms';\r\n\r\nimport { FormErrorMessagesComponent } from './form-error-message.component';\r\n\r\n@Directive({\r\n\tstandalone: true,\r\n\tselector: '[formErrorMessage]'\r\n})\r\nexport class FormErrorMessageDirective implements OnInit {\r\n\tconstructor(private viewContainerRef: ViewContainerRef) {}\r\n\r\n\tformErrorMessage = input.required<FormGroup>();\r\n\r\n\terrorKeys: string[] = [];\r\n\tcomponentRef!: ComponentRef<FormErrorMessagesComponent>;\r\n\r\n\tngOnInit(): void {\r\n\t\tthis.formErrorMessage().statusChanges.subscribe((status) => {\r\n\t\t\tif (this.componentRef) this.viewContainerRef.remove();\r\n\r\n\t\t\tif (status === 'INVALID') {\r\n\t\t\t\tif (this.formErrorMessage().errors) {\r\n\t\t\t\t\tthis.componentRef = this.viewContainerRef.createComponent(FormErrorMessagesComponent);\r\n\t\t\t\t\tthis.componentRef.instance.messages = this.formErrorMessage().errors;\r\n\t\t\t\t\tthis.viewContainerRef.insert(this.componentRef.hostView);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\t}\r\n}\r\n","import { FormArray, FormControl, FormGroup } from '@angular/forms';\r\n\r\nexport const checkValidInputs = (formGroup: FormGroup | FormArray) => {\r\n\tObject.keys(formGroup.controls).forEach((field) => {\r\n\t\tconst control = formGroup.get(field);\r\n\r\n\t\tif (control instanceof FormControl) {\r\n\t\t\tcontrol.markAsTouched({ onlySelf: true });\r\n\t\t\tcontrol.markAsDirty({ onlySelf: true });\r\n\t\t} else if (control instanceof FormGroup || control instanceof FormArray) {\r\n\t\t\tcheckValidInputs(control);\r\n\t\t}\r\n\t});\r\n};\r\n","import { FormControl, FormGroup, ValidatorFn } from '@angular/forms';\r\n\r\nexport const addControlsWithValidation = (\r\n\tform: FormGroup,\r\n\tcontrols: { name: string; validator?: ValidatorFn; disabled?: boolean }[]\r\n) => {\r\n\tcontrols.forEach((control) => {\r\n\t\tif (!form.contains(control.name)) {\r\n\t\t\tform.addControl(\r\n\t\t\t\tcontrol.name,\r\n\t\t\t\tnew FormControl({ value: null, disabled: control?.disabled || false }, control.validator)\r\n\t\t\t);\r\n\t\t}\r\n\t});\r\n};\r\n\r\nexport const removeControls = (form: FormGroup, controlNames: string[]) => {\r\n\tcontrolNames.forEach((controlName) => {\r\n\t\tif (form.contains(controlName)) {\r\n\t\t\tform.removeControl(controlName);\r\n\t\t}\r\n\t});\r\n};\r\n\r\nexport const updateValueAndValidities = (form: FormGroup, controlNames: string[]) => {\r\n\tcontrolNames.forEach((controlName) => {\r\n\t\tif (form.contains(controlName)) {\r\n\t\t\tform.get(controlName)?.updateValueAndValidity();\r\n\t\t}\r\n\t});\r\n};\r\n","/* eslint-disable @angular-eslint/directive-selector */\r\nimport { Directive, HostBinding } from '@angular/core';\r\n\r\n@Directive({\r\n\tstandalone: true,\r\n\tselector: '[flexGrid]'\r\n})\r\nexport class FlexGridDirective {\r\n\t@HostBinding('class') hostClass = 'grid p-fluid m-0 p-0';\r\n}\r\n","import { inject } from '@angular/core';\r\nimport { FormControlDirective, FormControlName, NgControl, NgModel } from '@angular/forms';\r\n\r\nimport { TooltipOptions } from 'primeng/api';\r\n\r\nexport abstract class BaseInputComponent {\r\n\tngControl = injectNgControl();\r\n\r\n\ttooltipOptions: TooltipOptions = {\r\n\t\ttooltipPosition: 'top',\r\n\t\ttooltipEvent: 'focus',\r\n\t\ttooltipStyleClass: 'tooltipErrorMessage'\r\n\t};\r\n}\r\n\r\nexport function injectNgControl() {\r\n\tconst ngControl = inject(NgControl, { self: true, optional: true });\r\n\r\n\tif (!ngControl) throw new Error('NgModel or FormControlName or FormControlDirective is required');\r\n\r\n\tif (\r\n\t\tngControl instanceof NgModel ||\r\n\t\tngControl instanceof FormControlName ||\r\n\t\tngControl instanceof FormControlDirective\r\n\t) {\r\n\t\treturn ngControl;\r\n\t}\r\n\r\n\tthrow new Error('Something went wrong in InjectNgControl');\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { AbstractControl, ValidationErrors, ValidatorFn } from '@angular/forms';\r\n\r\nimport 'aril/util/primitive-extensions';\r\n\r\ntype DateRangeFormat = 'minute' | 'hour' | 'day' | 'month' | 'year';\r\n\r\n@Injectable({\r\n\tprovidedIn: 'root'\r\n})\r\nexport class CommonInputValidatorsService {\r\n\t/**\r\n\t * @param sdCtrlName - name of the start date form control\r\n\t * @param edCtrlName - name of the end date form control\r\n\t * @param rangeValue - range between start and end date. Default value is 1\r\n\t * @param rangeFormat - format of the range. Default value is \"day\"\r\n\t */\r\n\tdateRange(sdCtrlName: string, edCtrlName: string, rangeValue = 0, rangeFormat: DateRangeFormat = 'day'): ValidatorFn {\r\n\t\treturn (control: AbstractControl): ValidationErrors | null => {\r\n\t\t\tconst start: number = control.get(sdCtrlName)?.value;\r\n\t\t\tconst end: number = control.get(edCtrlName)?.value;\r\n\r\n\t\t\tconst startJSDate = start.longToDate();\r\n\t\t\tconst endJSDate = end.longToDate();\r\n\r\n\t\t\tif (startJSDate && endJSDate) {\r\n\t\t\t\tconst isRangeValid = endJSDate.getTime() - startJSDate.getTime() > rangeValue;\r\n\r\n\t\t\t\treturn isRangeValid ? null : (\r\n\t\t\t\t\t\t{ dateRange: `The end date must be at least ${rangeValue} ${rangeFormat} bigger than the start date` }\r\n\t\t\t\t\t);\r\n\t\t\t}\r\n\r\n\t\t\treturn null;\r\n\t\t};\r\n\t}\r\n\r\n\t/**\r\n\t * @description - pasword match vs.\r\n\t */\r\n\tstrictMatch(controlName: string, matchingControlName: string): ValidatorFn {\r\n\t\treturn (control: AbstractControl): ValidationErrors | null => {\r\n\t\t\tconst firstField = control.get(controlName);\r\n\t\t\tconst secondField = control.get(matchingControlName);\r\n\r\n\t\t\tif (!firstField || !secondField) {\r\n\t\t\t\treturn null;\r\n\t\t\t}\r\n\r\n\t\t\tif (firstField.value !== secondField.value) {\r\n\t\t\t\treturn { strictMatch: `${controlName} and ${matchingControlName} do not match` };\r\n\t\t\t}\r\n\r\n\t\t\treturn null;\r\n\t\t};\r\n\t}\r\n}\r\n","/* eslint-disable @typescript-eslint/no-explicit-any */\r\nimport { Pipe, PipeTransform } from '@angular/core';\r\n\r\n@Pipe({\r\n\tstandalone: true,\r\n\tname: 'inputErrorMessage'\r\n})\r\nexport class InputErrorMessagePipe implements PipeTransform {\r\n\ttransform(value: any, ...args: any[]): string {\r\n\t\tconst control = args[0];\r\n\t\tconst errorKeys = Object.keys(control.errors || {});\r\n\r\n\t\tif (errorKeys.length) {\r\n\t\t\tconst errorKey = errorKeys[0];\r\n\t\t\tconst errorValue = control.errors![errorKey];\r\n\r\n\t\t\tswitch (errorKey) {\r\n\t\t\t\tcase 'required':\r\n\t\t\t\t\treturn 'This field is required';\r\n\t\t\t\tcase 'min':\r\n\t\t\t\t\treturn `Minimum value is ${errorValue.min}`;\r\n\t\t\t\tcase 'max':\r\n\t\t\t\t\treturn `Maximum value is ${errorValue.max}`;\r\n\t\t\t\tcase 'minlength':\r\n\t\t\t\t\treturn `Minimum length is ${errorValue.requiredLength}`;\r\n\t\t\t\tcase 'maxlength':\r\n\t\t\t\t\treturn `Maximum length is ${errorValue.requiredLength}`;\r\n\t\t\t\tcase 'email':\r\n\t\t\t\t\treturn 'Invalid email';\r\n\t\t\t\tcase 'pattern':\r\n\t\t\t\t\treturn 'Invalid format';\r\n\t\t\t\tdefault:\r\n\t\t\t\t\treturn errorValue;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn '';\r\n\t}\r\n}\r\n","/* eslint-disable @typescript-eslint/no-explicit-any */\r\nimport { Pipe, PipeTransform, inject } from '@angular/core';\r\n\r\nimport { InputErrorMessagePipe } from './input-error-message.pipe';\r\n\r\n@Pipe({\r\n\tstandalone: true,\r\n\tname: 'dxInputErrorMessage'\r\n})\r\nexport class DXInputErrorMessagePipe implements PipeTransform {\r\n\terrorMsgPipe = inject(InputErrorMessagePipe);\r\n\r\n\ttransform(value: any, ...args: any[]): { message: string } {\r\n\t\treturn { message: this.errorMsgPipe.transform(value, ...args) };\r\n\t}\r\n}\r\n","import { Directive, Input } from '@angular/core';\r\nimport { NgControl } from '@angular/forms';\r\n\r\n@Directive({\r\n\tstandalone: true,\r\n\tselector: '[arilDisabled]'\r\n})\r\nexport class InputDisabledDirective {\r\n\tconstructor(private ngControl: NgControl) {}\r\n\r\n\t@Input() set arilDisabled(condition: boolean) {\r\n\t\tconst action = condition ? 'disable' : 'enable';\r\n\t\tif (this.ngControl.control) this.ngControl.control[action]();\r\n\t}\r\n}\r\n","import { PrimeIcons } from 'primeng/api';\r\n\r\nexport type PrimeIcon = Exclude<keyof typeof PrimeIcons, 'prototype'>;\r\nexport function iconTransform(icon: PrimeIcon): string {\r\n\treturn PrimeIcons[icon];\r\n}\r\n\r\nexport type IconPosTypes = 'right' | 'left';\r\nexport function iconPosTransform(pos: IconPosTypes): string {\r\n\treturn 'p-input-icon-' + pos;\r\n}\r\n","/* eslint-disable @typescript-eslint/no-unused-vars */\r\n\r\n/* eslint-disable @typescript-eslint/no-explicit-any */\r\nimport { Directive } from '@angular/core';\r\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\r\n\r\n@Directive({\r\n\tstandalone: true,\r\n\tproviders: [\r\n\t\t{\r\n\t\t\tprovide: NG_VALUE_ACCESSOR,\r\n\t\t\tmulti: true,\r\n\t\t\tuseExisting: ValueAccessorDirective\r\n\t\t}\r\n\t]\r\n})\r\nexport class ValueAccessorDirective implements ControlValueAccessor {\r\n\twriteValue(obj: any): void {\r\n\t\treturn;\r\n\t}\r\n\tregisterOnChange(fn: any): void {\r\n\t\treturn;\r\n\t}\r\n\tregisterOnTouched(fn: any): void {\r\n\t\treturn;\r\n\t}\r\n}\r\n","/* form */\r\nexport * from './src/form/form-error-message.directive';\r\nexport * from './src/form/form-validation';\r\nexport * from './src/form/form-field-builder';\r\n\r\n/* grid */\r\nexport * from './src/grid/flex-grid.directive';\r\n\r\n/* input */\r\nexport * from './src/input/baseInput';\r\nexport * from './src/input/common-input-validators.service';\r\nexport * from './src/input/dx-input-error-message.pipe';\r\nexport * from './src/input/input-disabled.directive';\r\nexport * from './src/input/input-error-message.pipe';\r\nexport * from './src/input/input-transforms';\r\n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AA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAtB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,sBAAsB,EARvB,YAAA,EAAA,IAAA,EAAA,SAAA,EAAA;AACV,YAAA;AACC,gBAAA,OAAO,EAAE,iBAAiB;AAC1B,gBAAA,KAAK,EAAE,IAAI;AACX,gBAAA,WAAW,EAAE,sBAAsB;AACnC,aAAA;AACD,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;2FAEW,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAVlC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,SAAS,EAAE;AACV,wBAAA;AACC,4BAAA,OAAO,EAAE,iBAAiB;AAC1B,4BAAA,KAAK,EAAE,IAAI;AACX,4BAAA,WAAW,EAAwB,sBAAA;AACnC,yBAAA;AACD,qBAAA;AACD,iBAAA,CAAA;;;ACfD;;ACAA;;AAEG;;;;"}
@@ -0,0 +1,42 @@
1
+ import { NgStyle } from '@angular/common';
2
+ import * as i0 from '@angular/core';
3
+ import { input, Component } from '@angular/core';
4
+ import * as i2 from '@angular/forms';
5
+ import { ReactiveFormsModule } from '@angular/forms';
6
+ import * as i3 from 'primeng/inputmask';
7
+ import { InputMaskModule } from 'primeng/inputmask';
8
+ import * as i1 from 'aril/ui/lib';
9
+ import { BaseInputComponent, InputErrorMessagePipe, ValueAccessorDirective } from 'aril/ui/lib';
10
+
11
+ /**
12
+ * a - alphabetic characters
13
+ * 9 - numeric characters
14
+ * * - alphanumeric characters
15
+ * ? - optional characters
16
+ * formatting characters -> (), -
17
+ */
18
+ class MaskComponent extends BaseInputComponent {
19
+ constructor() {
20
+ super(...arguments);
21
+ this.mask = input.required();
22
+ this.slotChar = input('_');
23
+ this.placeholder = input('');
24
+ this.maxlength = input(100);
25
+ this.usageInGrid = input(true);
26
+ this.tabindex = input();
27
+ this.showTooltip = false;
28
+ }
29
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: MaskComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
30
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.1.2", type: MaskComponent, isStandalone: true, selector: "aril-mask[ngModel], aril-mask[formControl], aril-mask[formControlName]", inputs: { mask: { classPropertyName: "mask", publicName: "mask", isSignal: true, isRequired: true, transformFunction: null }, slotChar: { classPropertyName: "slotChar", publicName: "slotChar", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, maxlength: { classPropertyName: "maxlength", publicName: "maxlength", isSignal: true, isRequired: false, transformFunction: null }, usageInGrid: { classPropertyName: "usageInGrid", publicName: "usageInGrid", isSignal: true, isRequired: false, transformFunction: null }, tabindex: { classPropertyName: "tabindex", publicName: "tabindex", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, hostDirectives: [{ directive: i1.ValueAccessorDirective }], ngImport: i0, template: "<div style=\"position: relative\" [ngStyle]=\"!usageInGrid ? { display: 'inline-block' } : {}\">\r\n\t<p-inputMask\r\n\t\t[mask]=\"mask()\"\r\n\t\t[slotChar]=\"slotChar()\"\r\n\t\t[placeholder]=\"placeholder()\"\r\n\t\t[maxlength]=\"maxlength()\"\r\n\t\t[formControl]=\"ngControl.control\"\r\n\t\t(ngModelChange)=\"ngControl.viewToModelUpdate($event)\"\r\n\t\t(onFocus)=\"showTooltip = true\"\r\n\t\t(onBlur)=\"showTooltip = false\">\r\n\t</p-inputMask>\r\n\t@if (ngControl.invalid && showTooltip) {\r\n\t\t<div class=\"custom-tooltip tooltipErrorMessage\">\r\n\t\t\t{{ ngControl.control.value | inputErrorMessage: ngControl }}\r\n\t\t</div>\r\n\t}\r\n</div>\r\n", styles: [".custom-tooltip{position:absolute;background-color:#dc143c;color:#fff;padding:.75rem;border-radius:6px;z-index:1001;top:-107%;left:50%;transform:translate(-50%);white-space:nowrap}.custom-tooltip:before{content:\"\";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:3px;border-style:solid;border-color:var(--primary-color) transparent transparent transparent}\n"], dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: InputMaskModule }, { kind: "component", type: i3.InputMask, selector: "p-inputMask", inputs: ["type", "slotChar", "autoClear", "showClear", "style", "inputId", "styleClass", "placeholder", "size", "maxlength", "tabindex", "title", "variant", "ariaLabel", "ariaLabelledBy", "ariaRequired", "disabled", "readonly", "unmask", "name", "required", "characterPattern", "autofocus", "autoFocus", "autocomplete", "keepBuffer", "mask"], outputs: ["onComplete", "onFocus", "onBlur", "onInput", "onKeydown", "onClear"] }, { kind: "pipe", type: InputErrorMessagePipe, name: "inputErrorMessage" }] }); }
31
+ }
32
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: MaskComponent, decorators: [{
33
+ type: Component,
34
+ args: [{ standalone: true, selector: 'aril-mask[ngModel], aril-mask[formControl], aril-mask[formControlName]', imports: [ReactiveFormsModule, NgStyle, InputMaskModule, InputErrorMessagePipe], hostDirectives: [ValueAccessorDirective], template: "<div style=\"position: relative\" [ngStyle]=\"!usageInGrid ? { display: 'inline-block' } : {}\">\r\n\t<p-inputMask\r\n\t\t[mask]=\"mask()\"\r\n\t\t[slotChar]=\"slotChar()\"\r\n\t\t[placeholder]=\"placeholder()\"\r\n\t\t[maxlength]=\"maxlength()\"\r\n\t\t[formControl]=\"ngControl.control\"\r\n\t\t(ngModelChange)=\"ngControl.viewToModelUpdate($event)\"\r\n\t\t(onFocus)=\"showTooltip = true\"\r\n\t\t(onBlur)=\"showTooltip = false\">\r\n\t</p-inputMask>\r\n\t@if (ngControl.invalid && showTooltip) {\r\n\t\t<div class=\"custom-tooltip tooltipErrorMessage\">\r\n\t\t\t{{ ngControl.control.value | inputErrorMessage: ngControl }}\r\n\t\t</div>\r\n\t}\r\n</div>\r\n", styles: [".custom-tooltip{position:absolute;background-color:#dc143c;color:#fff;padding:.75rem;border-radius:6px;z-index:1001;top:-107%;left:50%;transform:translate(-50%);white-space:nowrap}.custom-tooltip:before{content:\"\";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:3px;border-style:solid;border-color:var(--primary-color) transparent transparent transparent}\n"] }]
35
+ }] });
36
+
37
+ /**
38
+ * Generated bundle index. Do not edit.
39
+ */
40
+
41
+ export { MaskComponent };
42
+ //# sourceMappingURL=aril-ui-mask.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aril-ui-mask.mjs","sources":["../../projects/aril/ui/mask/src/mask.component.ts","../../projects/aril/ui/mask/src/mask.component.html","../../projects/aril/ui/mask/aril-ui-mask.ts"],"sourcesContent":["import { NgStyle } from '@angular/common';\r\nimport { Component, input } from '@angular/core';\r\nimport { ReactiveFormsModule } from '@angular/forms';\r\n\r\nimport { InputMaskModule } from 'primeng/inputmask';\r\n\r\nimport { BaseInputComponent, InputErrorMessagePipe, ValueAccessorDirective } from 'aril/ui/lib';\r\n\r\n/**\r\n * a - alphabetic characters\r\n * 9 - numeric characters\r\n * * - alphanumeric characters\r\n * ? - optional characters\r\n * formatting characters -> (), -\r\n */\r\n\r\n@Component({\r\n\tstandalone: true,\r\n\tselector: 'aril-mask[ngModel], aril-mask[formControl], aril-mask[formControlName]',\r\n\ttemplateUrl: './mask.component.html',\r\n\tstyleUrl: './mask.component.css',\r\n\timports: [ReactiveFormsModule, NgStyle, InputMaskModule, InputErrorMessagePipe],\r\n\thostDirectives: [ValueAccessorDirective]\r\n})\r\nexport class MaskComponent extends BaseInputComponent {\r\n\tmask = input.required<string>();\r\n\tslotChar = input<string>('_');\r\n\tplaceholder = input<string>('');\r\n\tmaxlength = input<number>(100);\r\n\tusageInGrid = input<boolean>(true);\r\n\ttabindex = input<number>();\r\n\r\n\tshowTooltip = false;\r\n}\r\n","<div style=\"position: relative\" [ngStyle]=\"!usageInGrid ? { display: 'inline-block' } : {}\">\r\n\t<p-inputMask\r\n\t\t[mask]=\"mask()\"\r\n\t\t[slotChar]=\"slotChar()\"\r\n\t\t[placeholder]=\"placeholder()\"\r\n\t\t[maxlength]=\"maxlength()\"\r\n\t\t[formControl]=\"ngControl.control\"\r\n\t\t(ngModelChange)=\"ngControl.viewToModelUpdate($event)\"\r\n\t\t(onFocus)=\"showTooltip = true\"\r\n\t\t(onBlur)=\"showTooltip = false\">\r\n\t</p-inputMask>\r\n\t@if (ngControl.invalid && showTooltip) {\r\n\t\t<div class=\"custom-tooltip tooltipErrorMessage\">\r\n\t\t\t{{ ngControl.control.value | inputErrorMessage: ngControl }}\r\n\t\t</div>\r\n\t}\r\n</div>\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;AAQA;;;;;;AAMG;AAUG,MAAO,aAAc,SAAQ,kBAAkB,CAAA;AARrD,IAAA,WAAA,GAAA;;AASC,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAC,QAAQ,EAAU,CAAC;AAChC,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAS,GAAG,CAAC,CAAC;AAC9B,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK,CAAS,EAAE,CAAC,CA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EAAA,UAAA,EAAA,IAAI,EACN,QAAA,EAAA,wEAAwE,EAGzE,OAAA,EAAA,CAAC,mBAAmB,EAAE,OAAO,EAAE,eAAe,EAAE,qBAAqB,CAAC,EAC/D,cAAA,EAAA,CAAC,sBAAsB,CAAC,EAAA,QAAA,EAAA,wpBAAA,EAAA,MAAA,EAAA,CAAA,2XAAA,CAAA,EAAA,CAAA;;;AEtBzC;;AAEG;;;;"}
@@ -0,0 +1,43 @@
1
+ import * as i0 from '@angular/core';
2
+ import { input, computed, Component } from '@angular/core';
3
+ import * as i2 from '@angular/forms';
4
+ import { ReactiveFormsModule } from '@angular/forms';
5
+ import * as i3 from 'primeng/inputnumber';
6
+ import { InputNumberModule } from 'primeng/inputnumber';
7
+ import * as i4 from 'primeng/tooltip';
8
+ import { TooltipModule } from 'primeng/tooltip';
9
+ import * as i1 from 'aril/ui/lib';
10
+ import { BaseInputComponent, InputErrorMessagePipe, ValueAccessorDirective } from 'aril/ui/lib';
11
+
12
+ class NumberComponent extends BaseInputComponent {
13
+ constructor() {
14
+ super(...arguments);
15
+ this.min = input();
16
+ this.max = input();
17
+ this.showButtons = input(false);
18
+ this.placeholder = input('');
19
+ this.prefix = input();
20
+ this.suffix = input();
21
+ this.maxlength = input();
22
+ this.showClear = input(false);
23
+ this.useGrouping = input(true);
24
+ this.maxDigits = input();
25
+ this.minDigits = input();
26
+ this.tabindex = input();
27
+ this.buttonLayout = input('stacked');
28
+ this._style = computed(() => (this.buttonLayout() == 'vertical' ? { width: '3rem' } : {}));
29
+ }
30
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: NumberComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
31
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "17.1.2", type: NumberComponent, isStandalone: true, selector: "aril-number[ngModel], aril-number[formControl], aril-number[formControlName]", inputs: { min: { classPropertyName: "min", publicName: "min", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null }, showButtons: { classPropertyName: "showButtons", publicName: "showButtons", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, prefix: { classPropertyName: "prefix", publicName: "prefix", isSignal: true, isRequired: false, transformFunction: null }, suffix: { classPropertyName: "suffix", publicName: "suffix", isSignal: true, isRequired: false, transformFunction: null }, maxlength: { classPropertyName: "maxlength", publicName: "maxlength", isSignal: true, isRequired: false, transformFunction: null }, showClear: { classPropertyName: "showClear", publicName: "showClear", isSignal: true, isRequired: false, transformFunction: null }, useGrouping: { classPropertyName: "useGrouping", publicName: "useGrouping", isSignal: true, isRequired: false, transformFunction: null }, maxDigits: { classPropertyName: "maxDigits", publicName: "maxDigits", isSignal: true, isRequired: false, transformFunction: null }, minDigits: { classPropertyName: "minDigits", publicName: "minDigits", isSignal: true, isRequired: false, transformFunction: null }, tabindex: { classPropertyName: "tabindex", publicName: "tabindex", isSignal: true, isRequired: false, transformFunction: null }, buttonLayout: { classPropertyName: "buttonLayout", publicName: "buttonLayout", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, hostDirectives: [{ directive: i1.ValueAccessorDirective }], ngImport: i0, template: "<p-inputNumber\r\n\t[min]=\"min()\"\r\n\t[max]=\"max()\"\r\n\tmode=\"decimal\"\r\n\tlocale=\"en-US\"\r\n\t[prefix]=\"prefix()\"\r\n\t[suffix]=\"suffix()\"\r\n\t[maxlength]=\"maxlength()\"\r\n\t[showClear]=\"showClear()\"\r\n\t[style]=\"_style()\"\r\n\t[tabindex]=\"tabindex()\"\r\n\tspinnerMode=\"vertical\"\r\n\t[useGrouping]=\"useGrouping()\"\r\n\t[placeholder]=\"placeholder()\"\r\n\t[showButtons]=\"showButtons()\"\r\n\t[maxFractionDigits]=\"maxDigits()\"\r\n\t[minFractionDigits]=\"minDigits()\"\r\n\t[buttonLayout]=\"buttonLayout()\"\r\n\tincrementButtonClass=\"p-button-info\"\r\n\tdecrementButtonClass=\"p-button-danger\"\r\n\t[pTooltip]=\"ngControl.invalid ? (ngControl.control.value | inputErrorMessage: ngControl) : ''\"\r\n\t[tooltipOptions]=\"tooltipOptions\"\r\n\t[formControl]=\"ngControl.control\"\r\n\t(ngModelChange)=\"ngControl.viewToModelUpdate($event)\">\r\n</p-inputNumber>\r\n", dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: InputNumberModule }, { kind: "component", type: i3.InputNumber, selector: "p-inputNumber", inputs: ["showButtons", "format", "buttonLayout", "inputId", "styleClass", "style", "placeholder", "size", "maxlength", "tabindex", "title", "ariaLabelledBy", "ariaLabel", "ariaRequired", "name", "required", "autocomplete", "min", "max", "incrementButtonClass", "decrementButtonClass", "incrementButtonIcon", "decrementButtonIcon", "readonly", "step", "allowEmpty", "locale", "localeMatcher", "mode", "currency", "currencyDisplay", "useGrouping", "variant", "minFractionDigits", "maxFractionDigits", "prefix", "suffix", "inputStyle", "inputStyleClass", "showClear", "autofocus", "disabled"], outputs: ["onInput", "onFocus", "onBlur", "onKeyDown", "onClear"] }, { kind: "ngmodule", type: TooltipModule }, { kind: "directive", type: i4.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions"] }, { kind: "pipe", type: InputErrorMessagePipe, name: "inputErrorMessage" }] }); }
32
+ }
33
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: NumberComponent, decorators: [{
34
+ type: Component,
35
+ args: [{ standalone: true, selector: 'aril-number[ngModel], aril-number[formControl], aril-number[formControlName]', imports: [ReactiveFormsModule, InputNumberModule, TooltipModule, InputErrorMessagePipe], hostDirectives: [ValueAccessorDirective], template: "<p-inputNumber\r\n\t[min]=\"min()\"\r\n\t[max]=\"max()\"\r\n\tmode=\"decimal\"\r\n\tlocale=\"en-US\"\r\n\t[prefix]=\"prefix()\"\r\n\t[suffix]=\"suffix()\"\r\n\t[maxlength]=\"maxlength()\"\r\n\t[showClear]=\"showClear()\"\r\n\t[style]=\"_style()\"\r\n\t[tabindex]=\"tabindex()\"\r\n\tspinnerMode=\"vertical\"\r\n\t[useGrouping]=\"useGrouping()\"\r\n\t[placeholder]=\"placeholder()\"\r\n\t[showButtons]=\"showButtons()\"\r\n\t[maxFractionDigits]=\"maxDigits()\"\r\n\t[minFractionDigits]=\"minDigits()\"\r\n\t[buttonLayout]=\"buttonLayout()\"\r\n\tincrementButtonClass=\"p-button-info\"\r\n\tdecrementButtonClass=\"p-button-danger\"\r\n\t[pTooltip]=\"ngControl.invalid ? (ngControl.control.value | inputErrorMessage: ngControl) : ''\"\r\n\t[tooltipOptions]=\"tooltipOptions\"\r\n\t[formControl]=\"ngControl.control\"\r\n\t(ngModelChange)=\"ngControl.viewToModelUpdate($event)\">\r\n</p-inputNumber>\r\n" }]
36
+ }] });
37
+
38
+ /**
39
+ * Generated bundle index. Do not edit.
40
+ */
41
+
42
+ export { NumberComponent };
43
+ //# sourceMappingURL=aril-ui-number.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aril-ui-number.mjs","sources":["../../projects/aril/ui/number/src/number.component.ts","../../projects/aril/ui/number/src/number.component.html","../../projects/aril/ui/number/aril-ui-number.ts"],"sourcesContent":["import { Component, computed, input } from '@angular/core';\r\nimport { ReactiveFormsModule } from '@angular/forms';\r\n\r\nimport { InputNumberModule } from 'primeng/inputnumber';\r\nimport { TooltipModule } from 'primeng/tooltip';\r\n\r\nimport { BaseInputComponent, InputErrorMessagePipe, ValueAccessorDirective } from 'aril/ui/lib';\r\n\r\ntype ButtonLayouts = 'stacked' | 'horizontal' | 'vertical';\r\n\r\n@Component({\r\n\tstandalone: true,\r\n\tselector: 'aril-number[ngModel], aril-number[formControl], aril-number[formControlName]',\r\n\ttemplateUrl: './number.component.html',\r\n\timports: [ReactiveFormsModule, InputNumberModule, TooltipModule, InputErrorMessagePipe],\r\n\thostDirectives: [ValueAccessorDirective]\r\n})\r\nexport class NumberComponent extends BaseInputComponent {\r\n\tmin = input<number>();\r\n\tmax = input<number>();\r\n\tshowButtons = input(false);\r\n\tplaceholder = input<string>('');\r\n\tprefix = input<string>();\r\n\tsuffix = input<string>();\r\n\tmaxlength = input<any>();\r\n\tshowClear = input(false);\r\n\tuseGrouping = input(true);\r\n\tmaxDigits = input<number>();\r\n\tminDigits = input<number>();\r\n\ttabindex = input<number>();\r\n\tbuttonLayout = input<ButtonLayouts>('stacked');\r\n\r\n\t_style = computed(() => (this.buttonLayout() == 'vertical' ? { width: '3rem' } : {}));\r\n}\r\n","<p-inputNumber\r\n\t[min]=\"min()\"\r\n\t[max]=\"max()\"\r\n\tmode=\"decimal\"\r\n\tlocale=\"en-US\"\r\n\t[prefix]=\"prefix()\"\r\n\t[suffix]=\"suffix()\"\r\n\t[maxlength]=\"maxlength()\"\r\n\t[showClear]=\"showClear()\"\r\n\t[style]=\"_style()\"\r\n\t[tabindex]=\"tabindex()\"\r\n\tspinnerMode=\"vertical\"\r\n\t[useGrouping]=\"useGrouping()\"\r\n\t[placeholder]=\"placeholder()\"\r\n\t[showButtons]=\"showButtons()\"\r\n\t[maxFractionDigits]=\"maxDigits()\"\r\n\t[minFractionDigits]=\"minDigits()\"\r\n\t[buttonLayout]=\"buttonLayout()\"\r\n\tincrementButtonClass=\"p-button-info\"\r\n\tdecrementButtonClass=\"p-button-danger\"\r\n\t[pTooltip]=\"ngControl.invalid ? (ngControl.control.value | inputErrorMessage: ngControl) : ''\"\r\n\t[tooltipOptions]=\"tooltipOptions\"\r\n\t[formControl]=\"ngControl.control\"\r\n\t(ngModelChange)=\"ngControl.viewToModelUpdate($event)\">\r\n</p-inputNumber>\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;AAiBM,MAAO,eAAgB,SAAQ,kBAAkB,CAAA;AAPvD,IAAA,WAAA,GAAA;;QAQC,IAAG,CAAA,GAAA,GAAG,KAAK,EAAU,CAAC;QACtB,IAAG,CAAA,GAAA,GAAG,KAAK,EAAU,CAAC;AACtB,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC;AAC3B,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK,CAAS,EAAE,CAAC,CAAC;QAChC,IAAM,CAAA,MAAA,GAAG,KAAK,EAAU,CAAC;QACzB,IAAM,CAAA,MAAA,GAAG,KAAK,EAAU,CAAC;QACzB,IAAS,CAAA,SAAA,GAAG,KAAK,EAAO,CAAC;AACzB,QAAA,IAAA,CAAA,SAAS,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC;AACzB,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC;QAC1B,IAAS,CAAA,SAAA,GAAG,KAAK,EAAU,CAAC;QAC5B,IAAS,CAAA,SAAA,GAAG,KAAK,EAAU,CAAC;QAC5B,IAAQ,CAAA,QAAA,GAAG,KAAK,EAAU,CAAC;AAC3B,QAAA,IAAA,CAAA,YAAY,GAAG,KAAK,CAAgB,SAAS,CAAC,CAAC;QAE/C,IAAM,CAAA,MAAA,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,YAAY,EAAE,IAAI,UAAU,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,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AAA,EAAA,CAAA,EAAA,UAAA,EAAA,IAAI,EACN,QAAA,EAAA,8EAA8E,EAE/E,OAAA,EAAA,CAAC,mBAAmB,EAAE,iBAAiB,EAAE,aAAa,EAAE,qBAAqB,CAAC,EACvE,cAAA,EAAA,CAAC,sBAAsB,CAAC,EAAA,QAAA,EAAA,q4BAAA,EAAA,CAAA;;;AEfzC;;AAEG;;;;"}
@@ -0,0 +1,27 @@
1
+ import * as i0 from '@angular/core';
2
+ import { input, Component, ChangeDetectionStrategy, ViewChild } from '@angular/core';
3
+ import * as i1 from 'primeng/overlaypanel';
4
+ import { OverlayPanelModule } from 'primeng/overlaypanel';
5
+ import * as i2 from 'primeng/api';
6
+
7
+ class OverlayPanelComponent {
8
+ constructor() {
9
+ this.dismissable = input(true);
10
+ }
11
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: OverlayPanelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
12
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "17.1.2", type: OverlayPanelComponent, isStandalone: true, selector: "aril-overlay-panel", inputs: { dismissable: { classPropertyName: "dismissable", publicName: "dismissable", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "ref", first: true, predicate: ["ref"], descendants: true }], ngImport: i0, template: "<p-overlayPanel #ref [dismissable]=\"dismissable()\">\r\n\t<ng-template pTemplate=\"content\">\r\n\t\t<ng-content></ng-content>\r\n\t</ng-template>\r\n</p-overlayPanel>\r\n", dependencies: [{ kind: "ngmodule", type: OverlayPanelModule }, { kind: "component", type: i1.OverlayPanel, selector: "p-overlayPanel", inputs: ["ariaLabel", "ariaLabelledBy", "dismissable", "showCloseIcon", "style", "styleClass", "appendTo", "autoZIndex", "ariaCloseLabel", "baseZIndex", "focusOnShow", "showTransitionOptions", "hideTransitionOptions"], outputs: ["onShow", "onHide"] }, { kind: "directive", type: i2.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
13
+ }
14
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: OverlayPanelComponent, decorators: [{
15
+ type: Component,
16
+ args: [{ standalone: true, selector: 'aril-overlay-panel', imports: [OverlayPanelModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<p-overlayPanel #ref [dismissable]=\"dismissable()\">\r\n\t<ng-template pTemplate=\"content\">\r\n\t\t<ng-content></ng-content>\r\n\t</ng-template>\r\n</p-overlayPanel>\r\n" }]
17
+ }], propDecorators: { ref: [{
18
+ type: ViewChild,
19
+ args: ['ref']
20
+ }] } });
21
+
22
+ /**
23
+ * Generated bundle index. Do not edit.
24
+ */
25
+
26
+ export { OverlayPanelComponent };
27
+ //# sourceMappingURL=aril-ui-overlayPanel.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aril-ui-overlayPanel.mjs","sources":["../../projects/aril/ui/overlayPanel/src/overlay-panel.component.ts","../../projects/aril/ui/overlayPanel/src/overlay-panel.component.html","../../projects/aril/ui/overlayPanel/aril-ui-overlayPanel.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, ViewChild, input } from '@angular/core';\r\n\r\nimport { OverlayPanel, OverlayPanelModule } from 'primeng/overlaypanel';\r\n\r\n@Component({\r\n\tstandalone: true,\r\n\tselector: 'aril-overlay-panel',\r\n\ttemplateUrl: './overlay-panel.component.html',\r\n\timports: [OverlayPanelModule],\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class OverlayPanelComponent {\r\n\tdismissable = input<boolean>(true);\r\n\r\n\t@ViewChild('ref') ref!: OverlayPanel;\r\n}\r\n","<p-overlayPanel #ref [dismissable]=\"dismissable()\">\r\n\t<ng-template pTemplate=\"content\">\r\n\t\t<ng-content></ng-content>\r\n\t</ng-template>\r\n</p-overlayPanel>\r\n","/**\n * Generated bundle index. Do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,CAAA,MAAA,EAAA,WAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAGhB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAPjC,SAAS;iCACG,IAAI,EAAA,QAAA,EACN,oBAAoB,EAErB,OAAA,EAAA,CAAC,kBAAkB,CAAC,EAAA,eAAA,EACZ,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,8KAAA,EAAA,CAAA;8BAK7B,GAAG,EAAA,CAAA;sBAApB,SAAS;uBAAC,KAAK,CAAA;;;AEdjB;;AAEG;;;;"}
@@ -0,0 +1,31 @@
1
+ import { NgClass } from '@angular/common';
2
+ import * as i0 from '@angular/core';
3
+ import { input, Component, ChangeDetectionStrategy } from '@angular/core';
4
+ import * as i1 from 'primeng/panel';
5
+ import { PanelModule } from 'primeng/panel';
6
+ import * as i2 from 'primeng/api';
7
+
8
+ class PanelComponent {
9
+ constructor() {
10
+ this.toggleable = input(true);
11
+ this.canFullScreen = input(true);
12
+ this.showFooter = input(false);
13
+ this.isFullScreen = false;
14
+ }
15
+ toggleFullScreen() {
16
+ this.isFullScreen = !this.isFullScreen;
17
+ }
18
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: PanelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
19
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.1.2", type: PanelComponent, isStandalone: true, selector: "aril-panel", inputs: { toggleable: { classPropertyName: "toggleable", publicName: "toggleable", isSignal: true, isRequired: false, transformFunction: null }, canFullScreen: { classPropertyName: "canFullScreen", publicName: "canFullScreen", isSignal: true, isRequired: false, transformFunction: null }, showFooter: { classPropertyName: "showFooter", publicName: "showFooter", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div [ngClass]=\"{ 'full-screen': isFullScreen && canFullScreen }\">\r\n\t<p-panel [toggleable]=\"toggleable()\" [collapseIcon]=\"'pi pi-chevron-up'\" [expandIcon]=\"'pi pi-chevron-down'\">\r\n\t\t<!-- header -->\r\n\t\t<ng-template pTemplate=\"header\">\r\n\t\t\t<div class=\"panel-header\" style=\"width: fit-content\">\r\n\t\t\t\t<ng-content select=\"[header]\"></ng-content>\r\n\t\t\t</div>\r\n\t\t</ng-template>\r\n\r\n\t\t<!-- header-tools -->\r\n\t\t<ng-template class=\"flex\" pTemplate=\"icons\">\r\n\t\t\t<ng-content class=\"flex\" select=\"[tools]\"></ng-content>\r\n\r\n\t\t\t@if (canFullScreen()) {\r\n\t\t\t\t<div class=\"panel-icons\" style=\"display: flex\">\r\n\t\t\t\t\t<i\r\n\t\t\t\t\t\t[attr.role]=\"'none'\"\r\n\t\t\t\t\t\tclass=\"pi mr-1 header-icon\"\r\n\t\t\t\t\t\t[ngClass]=\"{\r\n\t\t\t\t\t\t\t'pi-window-maximize': !isFullScreen,\r\n\t\t\t\t\t\t\t'pi-window-minimize': isFullScreen\r\n\t\t\t\t\t\t}\"\r\n\t\t\t\t\t\t(click)=\"toggleFullScreen()\"></i>\r\n\t\t\t\t</div>\r\n\t\t\t}\r\n\t\t</ng-template>\r\n\r\n\t\t<!-- body -->\r\n\t\t<ng-content select=\"[body]\"></ng-content>\r\n\r\n\t\t<!-- footer -->\r\n\t\t@if (showFooter()) {\r\n\t\t\t<ng-template pTemplate=\"footer\">\r\n\t\t\t\t<ng-content select=\"[footer]\"></ng-content>\r\n\t\t\t</ng-template>\r\n\t\t}\r\n\t</p-panel>\r\n</div>\r\n", styles: [".full-screen{position:fixed;inset:0;z-index:99999999;overflow-y:auto;box-sizing:border-box;width:100%;height:100vh;background:#fff}.panel-header{width:100%;display:flex;justify-content:space-between;align-items:center}.header-icon{cursor:pointer;width:1.5rem}\n"], dependencies: [{ kind: "ngmodule", type: PanelModule }, { kind: "component", type: i1.Panel, selector: "p-panel", inputs: ["toggleable", "header", "collapsed", "style", "styleClass", "iconPos", "expandIcon", "collapseIcon", "showHeader", "toggler", "transitionOptions"], outputs: ["collapsedChange", "onBeforeToggle", "onAfterToggle"] }, { kind: "directive", type: i2.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
20
+ }
21
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: PanelComponent, decorators: [{
22
+ type: Component,
23
+ args: [{ standalone: true, selector: 'aril-panel', imports: [PanelModule, NgClass], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div [ngClass]=\"{ 'full-screen': isFullScreen && canFullScreen }\">\r\n\t<p-panel [toggleable]=\"toggleable()\" [collapseIcon]=\"'pi pi-chevron-up'\" [expandIcon]=\"'pi pi-chevron-down'\">\r\n\t\t<!-- header -->\r\n\t\t<ng-template pTemplate=\"header\">\r\n\t\t\t<div class=\"panel-header\" style=\"width: fit-content\">\r\n\t\t\t\t<ng-content select=\"[header]\"></ng-content>\r\n\t\t\t</div>\r\n\t\t</ng-template>\r\n\r\n\t\t<!-- header-tools -->\r\n\t\t<ng-template class=\"flex\" pTemplate=\"icons\">\r\n\t\t\t<ng-content class=\"flex\" select=\"[tools]\"></ng-content>\r\n\r\n\t\t\t@if (canFullScreen()) {\r\n\t\t\t\t<div class=\"panel-icons\" style=\"display: flex\">\r\n\t\t\t\t\t<i\r\n\t\t\t\t\t\t[attr.role]=\"'none'\"\r\n\t\t\t\t\t\tclass=\"pi mr-1 header-icon\"\r\n\t\t\t\t\t\t[ngClass]=\"{\r\n\t\t\t\t\t\t\t'pi-window-maximize': !isFullScreen,\r\n\t\t\t\t\t\t\t'pi-window-minimize': isFullScreen\r\n\t\t\t\t\t\t}\"\r\n\t\t\t\t\t\t(click)=\"toggleFullScreen()\"></i>\r\n\t\t\t\t</div>\r\n\t\t\t}\r\n\t\t</ng-template>\r\n\r\n\t\t<!-- body -->\r\n\t\t<ng-content select=\"[body]\"></ng-content>\r\n\r\n\t\t<!-- footer -->\r\n\t\t@if (showFooter()) {\r\n\t\t\t<ng-template pTemplate=\"footer\">\r\n\t\t\t\t<ng-content select=\"[footer]\"></ng-content>\r\n\t\t\t</ng-template>\r\n\t\t}\r\n\t</p-panel>\r\n</div>\r\n", styles: [".full-screen{position:fixed;inset:0;z-index:99999999;overflow-y:auto;box-sizing:border-box;width:100%;height:100vh;background:#fff}.panel-header{width:100%;display:flex;justify-content:space-between;align-items:center}.header-icon{cursor:pointer;width:1.5rem}\n"] }]
24
+ }] });
25
+
26
+ /**
27
+ * Generated bundle index. Do not edit.
28
+ */
29
+
30
+ export { PanelComponent };
31
+ //# sourceMappingURL=aril-ui-panel.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aril-ui-panel.mjs","sources":["../../projects/aril/ui/panel/src/panel.component.ts","../../projects/aril/ui/panel/src/panel.component.html","../../projects/aril/ui/panel/aril-ui-panel.ts"],"sourcesContent":["import { NgClass } from '@angular/common';\r\nimport { ChangeDetectionStrategy, Component, input } from '@angular/core';\r\n\r\nimport { PanelModule } from 'primeng/panel';\r\n\r\n@Component({\r\n\tstandalone: true,\r\n\tselector: 'aril-panel',\r\n\ttemplateUrl: './panel.component.html',\r\n\tstyleUrl: './panel.component.css',\r\n\timports: [PanelModule, NgClass],\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class PanelComponent {\r\n\ttoggleable = input<boolean>(true);\r\n\tcanFullScreen = input<boolean>(true);\r\n\tshowFooter = input<boolean>(false);\r\n\r\n\tisFullScreen = false;\r\n\r\n\ttoggleFullScreen() {\r\n\t\tthis.isFullScreen = !this.isFullScreen;\r\n\t}\r\n}\r\n","<div [ngClass]=\"{ 'full-screen': isFullScreen && canFullScreen }\">\r\n\t<p-panel [toggleable]=\"toggleable()\" [collapseIcon]=\"'pi pi-chevron-up'\" [expandIcon]=\"'pi pi-chevron-down'\">\r\n\t\t<!-- header -->\r\n\t\t<ng-template pTemplate=\"header\">\r\n\t\t\t<div class=\"panel-header\" style=\"width: fit-content\">\r\n\t\t\t\t<ng-content select=\"[header]\"></ng-content>\r\n\t\t\t</div>\r\n\t\t</ng-template>\r\n\r\n\t\t<!-- header-tools -->\r\n\t\t<ng-template class=\"flex\" pTemplate=\"icons\">\r\n\t\t\t<ng-content class=\"flex\" select=\"[tools]\"></ng-content>\r\n\r\n\t\t\t@if (canFullScreen()) {\r\n\t\t\t\t<div class=\"panel-icons\" style=\"display: flex\">\r\n\t\t\t\t\t<i\r\n\t\t\t\t\t\t[attr.role]=\"'none'\"\r\n\t\t\t\t\t\tclass=\"pi mr-1 header-icon\"\r\n\t\t\t\t\t\t[ngClass]=\"{\r\n\t\t\t\t\t\t\t'pi-window-maximize': !isFullScreen,\r\n\t\t\t\t\t\t\t'pi-window-minimize': isFullScreen\r\n\t\t\t\t\t\t}\"\r\n\t\t\t\t\t\t(click)=\"toggleFullScreen()\"></i>\r\n\t\t\t\t</div>\r\n\t\t\t}\r\n\t\t</ng-template>\r\n\r\n\t\t<!-- body -->\r\n\t\t<ng-content select=\"[body]\"></ng-content>\r\n\r\n\t\t<!-- footer -->\r\n\t\t@if (showFooter()) {\r\n\t\t\t<ng-template pTemplate=\"footer\">\r\n\t\t\t\t<ng-content select=\"[footer]\"></ng-content>\r\n\t\t\t</ng-template>\r\n\t\t}\r\n\t</p-panel>\r\n</div>\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MAaa,cAAc,CAAA;AAR3B,IAAA,WAAA,GAAA;AASC,QAAA,IAAA,CAAA,UAAU,GAAG,KAAK,CAAU,IAAI,CAAC,CAAC;AAClC,QAAA,IAAA,CAAA,aAAa,GAAG,KAAK,CAAU,IAAI,CAAC,CAAC;AACrC,QAAA,IAAA,CAAA,UAAU,GAAG,KAAK,CAAU,KAAK,CAAC,CA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