aril 1.1.73 → 1.1.75

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 (1353) hide show
  1. package/README.md +62 -62
  2. package/boot/config/api/src/api.service.d.ts +12 -0
  3. package/boot/config/api/src/interfaces.d.ts +39 -0
  4. package/boot/config/api.sample.json +8 -0
  5. package/boot/config/apps/src/apps.service.d.ts +13 -0
  6. package/boot/config/apps/src/auth.guard.d.ts +9 -0
  7. package/boot/config/apps/src/interfaces.d.ts +50 -0
  8. package/boot/config/apps/src/reuse-strategy.d.ts +4 -0
  9. package/boot/config/apps/src/showdowDOMWrapper.d.ts +10 -0
  10. package/boot/config/plugins/src/getNgZone.d.ts +5 -0
  11. package/boot/config/plugins/src/interfaces.d.ts +55 -0
  12. package/boot/config/plugins/src/plugins.service.d.ts +5 -0
  13. package/boot/config/translate/constants.d.ts +4 -0
  14. package/boot/config/translate/primeng/i18n/tr.d.ts +46 -0
  15. package/boot/host/src/app.component.d.ts +10 -0
  16. package/boot/host/src/bootstrap.d.ts +4 -0
  17. package/boot/index.d.ts +1 -0
  18. package/boot/mfe/src/app.component.d.ts +17 -0
  19. package/boot/mfe/src/appComponentLoader.d.ts +1 -0
  20. package/boot/mfe/src/bootstrap.d.ts +5 -0
  21. package/boot/mfe/src/loadStyles.d.ts +3 -0
  22. package/boot/mfe/src/monaco.config.d.ts +7 -0
  23. package/esm2022/aril.mjs +5 -0
  24. package/esm2022/boot/aril-boot.mjs +5 -0
  25. package/esm2022/boot/config/api/aril-boot-config-api.mjs +5 -0
  26. package/esm2022/boot/config/api/index.mjs +2 -0
  27. package/esm2022/boot/config/api/src/api.service.mjs +59 -0
  28. package/esm2022/boot/config/api/src/interfaces.mjs +61 -0
  29. package/esm2022/boot/config/apps/aril-boot-config-apps.mjs +5 -0
  30. package/esm2022/boot/config/apps/index.mjs +4 -0
  31. package/esm2022/boot/config/apps/src/apps.service.mjs +53 -0
  32. package/esm2022/boot/config/apps/src/auth.guard.mjs +22 -0
  33. package/esm2022/boot/config/apps/src/interfaces.mjs +21 -0
  34. package/esm2022/boot/config/apps/src/reuse-strategy.mjs +9 -0
  35. package/esm2022/boot/config/apps/src/showdowDOMWrapper.mjs +35 -0
  36. package/esm2022/boot/config/plugins/aril-boot-config-plugins.mjs +5 -0
  37. package/esm2022/boot/config/plugins/index.mjs +3 -0
  38. package/esm2022/boot/config/plugins/src/getNgZone.mjs +9 -0
  39. package/esm2022/boot/config/plugins/src/interfaces.mjs +62 -0
  40. package/esm2022/boot/config/plugins/src/plugins.service.mjs +84 -0
  41. package/esm2022/boot/config/translate/aril-boot-config-translate.mjs +5 -0
  42. package/esm2022/boot/config/translate/constants.mjs +6 -0
  43. package/esm2022/boot/config/translate/index.mjs +3 -0
  44. package/esm2022/boot/config/translate/primeng/i18n/tr.mjs +60 -0
  45. package/esm2022/boot/host/aril-boot-host.mjs +5 -0
  46. package/esm2022/boot/host/index.mjs +2 -0
  47. package/esm2022/boot/host/src/app.component.mjs +49 -0
  48. package/esm2022/boot/host/src/bootstrap.mjs +55 -0
  49. package/esm2022/boot/index.mjs +2 -0
  50. package/esm2022/boot/mfe/aril-boot-mfe.mjs +5 -0
  51. package/esm2022/boot/mfe/index.mjs +2 -0
  52. package/esm2022/boot/mfe/src/app.component.mjs +63 -0
  53. package/esm2022/boot/mfe/src/appComponentLoader.mjs +5 -0
  54. package/esm2022/boot/mfe/src/bootstrap.mjs +76 -0
  55. package/esm2022/boot/mfe/src/loadStyles.mjs +37 -0
  56. package/esm2022/boot/mfe/src/monaco.config.mjs +247 -0
  57. package/esm2022/http/aril-http.mjs +5 -0
  58. package/esm2022/http/index.mjs +12 -0
  59. package/esm2022/http/lib/enums.mjs +35 -0
  60. package/esm2022/http/lib/interfaces.mjs +16 -0
  61. package/esm2022/http/src/httpBackend.mjs +17 -0
  62. package/esm2022/http/src/httpClient.mjs +16 -0
  63. package/esm2022/http/src/interceptor/accept-language.interceptor.mjs +21 -0
  64. package/esm2022/http/src/serviceBase.mjs +140 -0
  65. package/esm2022/http/src/serviceMockBase.mjs +4 -0
  66. package/esm2022/http/src/serviceRequest.mjs +23 -0
  67. package/esm2022/http/src/serviceStateMethods.mjs +167 -0
  68. package/esm2022/i18n/aril-i18n.mjs +5 -0
  69. package/esm2022/i18n/index.mjs +6 -0
  70. package/esm2022/i18n/src/folder-name-token.mjs +3 -0
  71. package/esm2022/i18n/src/i18n.module.mjs +17 -0
  72. package/esm2022/i18n/src/loader.mjs +18 -0
  73. package/esm2022/i18n/src/provideI18n.mjs +16 -0
  74. package/esm2022/i18n/src/provideScope.mjs +18 -0
  75. package/esm2022/keycloak/aril-keycloak.mjs +5 -0
  76. package/esm2022/keycloak/index.mjs +2 -0
  77. package/esm2022/keycloak/src/auth.interceptor.mjs +92 -0
  78. package/esm2022/provider/aril-provider.mjs +5 -0
  79. package/esm2022/provider/index.mjs +2 -0
  80. package/esm2022/provider/src/index.mjs +5 -0
  81. package/esm2022/provider/src/prodiveHost.mjs +9 -0
  82. package/esm2022/provider/src/prodiveHostRouter.mjs +12 -0
  83. package/esm2022/provider/src/provideHostKeycloak.mjs +28 -0
  84. package/esm2022/provider/src/provideLocaleId.mjs +20 -0
  85. package/esm2022/public-api.mjs +3 -0
  86. package/esm2022/theme/aril-theme.mjs +5 -0
  87. package/esm2022/theme/index.mjs +2 -0
  88. package/esm2022/theme/layout/app/breadcrumb/app.breadcrumb.component.mjs +106 -0
  89. package/esm2022/theme/layout/app/chatbot/app.chatbot.component.mjs +140 -0
  90. package/esm2022/theme/layout/app/expandableMenu/expandable-menu.component.mjs +250 -0
  91. package/esm2022/theme/layout/app/favorite-pages/favorite-pages-sidebar.component.mjs +217 -0
  92. package/esm2022/theme/layout/app/favorite-pages/favorite-pages.service.mjs +60 -0
  93. package/esm2022/theme/layout/app/favorite-pages/modals/add-edit-favorite-modal/add-edit-favorite-modal.component.mjs +129 -0
  94. package/esm2022/theme/layout/app/general-search/general-search.component.mjs +75 -0
  95. package/esm2022/theme/layout/app/general-search/helpers.mjs +92 -0
  96. package/esm2022/theme/layout/app/general-search/models.mjs +50 -0
  97. package/esm2022/theme/layout/app/history/history-sidebar.component.mjs +133 -0
  98. package/esm2022/theme/layout/app/history/history.service.mjs +131 -0
  99. package/esm2022/theme/layout/app/layout/app.layout.component.mjs +160 -0
  100. package/esm2022/theme/layout/app/layout/mfe.layout.component.mjs +64 -0
  101. package/esm2022/theme/layout/app/notifications/notifications-sidebar.component.mjs +191 -0
  102. package/esm2022/theme/layout/app/profileSidebar/app.profilesidebar.component.mjs +122 -0
  103. package/esm2022/theme/layout/app/profileSidebar/modals/change-password-modal/change-password-modal.component.mjs +142 -0
  104. package/esm2022/theme/layout/app/profileSidebar/modals/edit-profile-modal/edit-profile-modal.component.mjs +202 -0
  105. package/esm2022/theme/layout/app/profileSidebar/profile.service.mjs +66 -0
  106. package/esm2022/theme/layout/app/site-map/site-map-sidebar.component.mjs +166 -0
  107. package/esm2022/theme/layout/app/static-sidebar/static-sidebar.component.mjs +228 -0
  108. package/esm2022/theme/layout/app/topbar/app.topbar.component.mjs +155 -0
  109. package/esm2022/theme/layout/aril-theme-layout.mjs +5 -0
  110. package/esm2022/theme/layout/index.mjs +8 -0
  111. package/esm2022/theme/layout/service/app.layout.service.mjs +231 -0
  112. package/esm2022/theme/layout/service/app.menu.service.mjs +46 -0
  113. package/esm2022/theme/layout/service/breadcrumb.service.mjs +20 -0
  114. package/esm2022/theme/layout/service/interfaces/enum.mjs +16 -0
  115. package/esm2022/theme/layout/service/interfaces/interfaces.mjs +2 -0
  116. package/esm2022/theme/layout/service/menuchangeevent.mjs +2 -0
  117. package/esm2022/theme/layout/service/notifications.service.mjs +30 -0
  118. package/esm2022/theme/layout/service/search.service.mjs +25 -0
  119. package/esm2022/theme/layout/service/selection-group.service.mjs +65 -0
  120. package/esm2022/ui/aril-ui.mjs +5 -0
  121. package/esm2022/ui/autoComplete/aril-ui-autoComplete.mjs +5 -0
  122. package/esm2022/ui/autoComplete/index.mjs +2 -0
  123. package/esm2022/ui/autoComplete/src/auto-complete.component.mjs +109 -0
  124. package/esm2022/ui/autoComplete/src/interfaces.mjs +2 -0
  125. package/esm2022/ui/badge/aril-ui-badge.mjs +5 -0
  126. package/esm2022/ui/badge/index.mjs +2 -0
  127. package/esm2022/ui/badge/src/badge.component.mjs +59 -0
  128. package/esm2022/ui/button/aril-ui-button.mjs +5 -0
  129. package/esm2022/ui/button/index.mjs +3 -0
  130. package/esm2022/ui/button/src/button.component.mjs +40 -0
  131. package/esm2022/ui/button/src/split-button.component.mjs +18 -0
  132. package/esm2022/ui/calendar/aril-ui-calendar.mjs +5 -0
  133. package/esm2022/ui/calendar/index.mjs +2 -0
  134. package/esm2022/ui/calendar/src/calendar.component.mjs +224 -0
  135. package/esm2022/ui/charts/aril-ui-charts.mjs +5 -0
  136. package/esm2022/ui/charts/index.mjs +13 -0
  137. package/esm2022/ui/charts/src/amCharts/column/column-chart.component.mjs +124 -0
  138. package/esm2022/ui/charts/src/amCharts/line/line-chart.component.mjs +164 -0
  139. package/esm2022/ui/charts/src/amCharts/pie/pie-chart.component.mjs +116 -0
  140. package/esm2022/ui/charts/src/highCharts/area/area-chart.component.mjs +114 -0
  141. package/esm2022/ui/charts/src/highCharts/bar/bar-chart.component.mjs +100 -0
  142. package/esm2022/ui/charts/src/highCharts/column/column-chart.component.mjs +117 -0
  143. package/esm2022/ui/charts/src/highCharts/gauge/solid-gauge.component.mjs +180 -0
  144. package/esm2022/ui/charts/src/highCharts/heatmap/heatMap-chart.component.mjs +252 -0
  145. package/esm2022/ui/charts/src/highCharts/line/line-chart-datetime-axis.component.mjs +187 -0
  146. package/esm2022/ui/charts/src/highCharts/line/line-chart-series.component.mjs +89 -0
  147. package/esm2022/ui/charts/src/highCharts/line/line-chart.component.mjs +82 -0
  148. package/esm2022/ui/charts/src/highCharts/pie/pie-chart.component.mjs +137 -0
  149. package/esm2022/ui/charts/src/theme/theme.mjs +54 -0
  150. package/esm2022/ui/checkbox/aril-ui-checkbox.mjs +5 -0
  151. package/esm2022/ui/checkbox/index.mjs +3 -0
  152. package/esm2022/ui/checkbox/src/check-box.component.mjs +27 -0
  153. package/esm2022/ui/checkbox/src/tri-state-checkbox.component.mjs +24 -0
  154. package/esm2022/ui/chip/aril-ui-chip.mjs +5 -0
  155. package/esm2022/ui/chip/index.mjs +2 -0
  156. package/esm2022/ui/chip/src/chip.component.mjs +129 -0
  157. package/esm2022/ui/collapse-reorder-list/aril-ui-collapse-reorder-list.mjs +5 -0
  158. package/esm2022/ui/collapse-reorder-list/index.mjs +2 -0
  159. package/esm2022/ui/collapse-reorder-list/src/collapse-reorder-list.component.mjs +53 -0
  160. package/esm2022/ui/dxEditor/aril-ui-dxEditor.mjs +5 -0
  161. package/esm2022/ui/dxEditor/index.mjs +2 -0
  162. package/esm2022/ui/dxEditor/src/dx-editor.component.mjs +26 -0
  163. package/esm2022/ui/dxField/aril-ui-dxField.mjs +5 -0
  164. package/esm2022/ui/dxField/index.mjs +2 -0
  165. package/esm2022/ui/dxField/src/dx-field.component.mjs +19 -0
  166. package/esm2022/ui/editor/aril-ui-editor.mjs +5 -0
  167. package/esm2022/ui/editor/index.mjs +3 -0
  168. package/esm2022/ui/editor/src/aril-editor.component.mjs +171 -0
  169. package/esm2022/ui/editor/src/types.mjs +26 -0
  170. package/esm2022/ui/field/aril-ui-field.mjs +5 -0
  171. package/esm2022/ui/field/index.mjs +2 -0
  172. package/esm2022/ui/field/src/field.component.mjs +45 -0
  173. package/esm2022/ui/fileUpload/aril-ui-fileUpload.mjs +5 -0
  174. package/esm2022/ui/fileUpload/index.mjs +2 -0
  175. package/esm2022/ui/fileUpload/src/file-upload.component.mjs +73 -0
  176. package/esm2022/ui/form/aril-ui-form.mjs +5 -0
  177. package/esm2022/ui/form/index.mjs +22 -0
  178. package/esm2022/ui/form/src/form-submit-button.component.mjs +40 -0
  179. package/esm2022/ui/form/src/form.component.mjs +27 -0
  180. package/esm2022/ui/img-viewer/aril-ui-img-viewer.mjs +5 -0
  181. package/esm2022/ui/img-viewer/index.mjs +2 -0
  182. package/esm2022/ui/img-viewer/src/img-viewer.component.mjs +57 -0
  183. package/esm2022/ui/index.mjs +2 -0
  184. package/esm2022/ui/json-diff-comparison/aril-ui-json-diff-comparison.mjs +5 -0
  185. package/esm2022/ui/json-diff-comparison/index.mjs +2 -0
  186. package/esm2022/ui/json-diff-comparison/src/json-diff.component.mjs +49 -0
  187. package/esm2022/ui/lib/aril-ui-lib.mjs +5 -0
  188. package/esm2022/ui/lib/index.mjs +16 -0
  189. package/esm2022/ui/lib/src/form/form-error-message.component.mjs +33 -0
  190. package/esm2022/ui/lib/src/form/form-error-message.directive.mjs +34 -0
  191. package/esm2022/ui/lib/src/form/form-field-builder.mjs +23 -0
  192. package/esm2022/ui/lib/src/form/form-validation.mjs +14 -0
  193. package/esm2022/ui/lib/src/grid/enum-color-picker.pipe.mjs +35 -0
  194. package/esm2022/ui/lib/src/grid/flex-grid.directive.mjs +21 -0
  195. package/esm2022/ui/lib/src/input/baseInput.mjs +24 -0
  196. package/esm2022/ui/lib/src/input/common-input-validators.service.mjs +49 -0
  197. package/esm2022/ui/lib/src/input/dx-input-error-message.pipe.mjs +22 -0
  198. package/esm2022/ui/lib/src/input/input-disabled.directive.mjs +25 -0
  199. package/esm2022/ui/lib/src/input/input-error-message.pipe.mjs +69 -0
  200. package/esm2022/ui/lib/src/input/input-transforms.mjs +8 -0
  201. package/esm2022/ui/lib/src/input/value-accessor.directive.mjs +38 -0
  202. package/esm2022/ui/loader/aril-ui-loader.mjs +5 -0
  203. package/esm2022/ui/loader/index.mjs +2 -0
  204. package/esm2022/ui/loader/src/loader.component.mjs +14 -0
  205. package/esm2022/ui/mask/aril-ui-mask.mjs +5 -0
  206. package/esm2022/ui/mask/index.mjs +2 -0
  207. package/esm2022/ui/mask/src/mask.component.mjs +35 -0
  208. package/esm2022/ui/multiSelect/aril-ui-multiSelect.mjs +5 -0
  209. package/esm2022/ui/multiSelect/index.mjs +2 -0
  210. package/esm2022/ui/multiSelect/src/interfaces.mjs +2 -0
  211. package/esm2022/ui/multiSelect/src/multi-select.component.mjs +57 -0
  212. package/esm2022/ui/number/aril-ui-number.mjs +5 -0
  213. package/esm2022/ui/number/index.mjs +2 -0
  214. package/esm2022/ui/number/src/number.component.mjs +38 -0
  215. package/esm2022/ui/operation-types-dialog/aril-ui-operation-types-dialog.mjs +5 -0
  216. package/esm2022/ui/operation-types-dialog/index.mjs +2 -0
  217. package/esm2022/ui/operation-types-dialog/src/operation-types-dialog.component.mjs +91 -0
  218. package/esm2022/ui/overlayPanel/aril-ui-overlayPanel.mjs +5 -0
  219. package/esm2022/ui/overlayPanel/index.mjs +2 -0
  220. package/esm2022/ui/overlayPanel/src/overlay-panel.component.mjs +20 -0
  221. package/esm2022/ui/panel/aril-ui-panel.mjs +5 -0
  222. package/esm2022/ui/panel/index.mjs +2 -0
  223. package/esm2022/ui/panel/src/panel.component.mjs +33 -0
  224. package/esm2022/ui/password/aril-ui-password.mjs +5 -0
  225. package/esm2022/ui/password/index.mjs +2 -0
  226. package/esm2022/ui/password/src/password.component.mjs +29 -0
  227. package/esm2022/ui/pdf-viewer/aril-ui-pdf-viewer.mjs +5 -0
  228. package/esm2022/ui/pdf-viewer/index.mjs +2 -0
  229. package/esm2022/ui/pdf-viewer/src/pdf-viewer.component.mjs +27 -0
  230. package/esm2022/ui/progressbar/aril-ui-progressbar.mjs +5 -0
  231. package/esm2022/ui/progressbar/index.mjs +2 -0
  232. package/esm2022/ui/progressbar/src/progressbar.component.mjs +18 -0
  233. package/esm2022/ui/radioButton/aril-ui-radioButton.mjs +5 -0
  234. package/esm2022/ui/radioButton/index.mjs +2 -0
  235. package/esm2022/ui/radioButton/src/radio-button.component.mjs +30 -0
  236. package/esm2022/ui/relativeDateSelector/aril-ui-relativeDateSelector.mjs +5 -0
  237. package/esm2022/ui/relativeDateSelector/index.mjs +2 -0
  238. package/esm2022/ui/relativeDateSelector/src/enum.mjs +31 -0
  239. package/esm2022/ui/relativeDateSelector/src/relative-date-selector.component.mjs +248 -0
  240. package/esm2022/ui/selectBox/aril-ui-selectBox.mjs +5 -0
  241. package/esm2022/ui/selectBox/index.mjs +2 -0
  242. package/esm2022/ui/selectBox/src/interfaces.mjs +2 -0
  243. package/esm2022/ui/selectBox/src/select-box.component.mjs +67 -0
  244. package/esm2022/ui/switch/aril-ui-switch.mjs +5 -0
  245. package/esm2022/ui/switch/index.mjs +2 -0
  246. package/esm2022/ui/switch/src/switch.component.mjs +23 -0
  247. package/esm2022/ui/table/aril-ui-table.mjs +5 -0
  248. package/esm2022/ui/table/index.mjs +131 -0
  249. package/esm2022/ui/table/src/export-overlay-panel.component.mjs +321 -0
  250. package/esm2022/ui/table/src/interfaces.mjs +44 -0
  251. package/esm2022/ui/table/src/table-column.component.mjs +31 -0
  252. package/esm2022/ui/table/src/table.component.mjs +334 -0
  253. package/esm2022/ui/table-expand/aril-ui-table-expand.mjs +5 -0
  254. package/esm2022/ui/table-expand/index.mjs +61 -0
  255. package/esm2022/ui/table-expand/src/table-column.component.mjs +25 -0
  256. package/esm2022/ui/table-expand/src/table-expand-area.component.mjs +17 -0
  257. package/esm2022/ui/table-expand/src/table.component.mjs +99 -0
  258. package/esm2022/ui/tag/aril-ui-tag.mjs +5 -0
  259. package/esm2022/ui/tag/index.mjs +2 -0
  260. package/esm2022/ui/tag/src/interface.mjs +2 -0
  261. package/esm2022/ui/tag/src/tag.component.mjs +20 -0
  262. package/esm2022/ui/tagBox/aril-ui-tagBox.mjs +5 -0
  263. package/esm2022/ui/tagBox/index.mjs +2 -0
  264. package/esm2022/ui/tagBox/src/tag-box.component.mjs +55 -0
  265. package/esm2022/ui/text/aril-ui-text.mjs +5 -0
  266. package/esm2022/ui/text/index.mjs +2 -0
  267. package/esm2022/ui/text/src/text.component.mjs +47 -0
  268. package/esm2022/ui/textArea/aril-ui-textArea.mjs +5 -0
  269. package/esm2022/ui/textArea/index.mjs +2 -0
  270. package/esm2022/ui/textArea/src/text-area.component.mjs +27 -0
  271. package/esm2022/ui/toggle-button/aril-ui-toggle-button.mjs +5 -0
  272. package/esm2022/ui/toggle-button/index.mjs +2 -0
  273. package/esm2022/ui/toggle-button/src/toggle-button.component.mjs +25 -0
  274. package/esm2022/ui/tooltip/aril-ui-tooltip.mjs +5 -0
  275. package/esm2022/ui/tooltip/index.mjs +2 -0
  276. package/esm2022/ui/tooltip/src/tooltip-component.mjs +23 -0
  277. package/esm2022/ui/translate-input/aril-ui-translate-input.mjs +5 -0
  278. package/esm2022/ui/translate-input/index.mjs +2 -0
  279. package/esm2022/ui/translate-input/src/aril-lang-modal/aril-lang-modal.component.mjs +64 -0
  280. package/esm2022/ui/translate-input/src/aril-lang-modal/constants.mjs +15 -0
  281. package/esm2022/ui/translate-input/src/aril-translate-input.component.mjs +128 -0
  282. package/esm2022/ui/translate-input/src/interface.mjs +2 -0
  283. package/esm2022/ui/tree/aril-ui-tree.mjs +5 -0
  284. package/esm2022/ui/tree/index.mjs +2 -0
  285. package/esm2022/ui/tree/src/tree.component.mjs +53 -0
  286. package/esm2022/ui/treeSelect/aril-ui-treeSelect.mjs +5 -0
  287. package/esm2022/ui/treeSelect/index.mjs +2 -0
  288. package/esm2022/ui/treeSelect/src/treeSelect.component.mjs +41 -0
  289. package/esm2022/ui/treeTable/aril-ui-treeTable.mjs +5 -0
  290. package/esm2022/ui/treeTable/index.mjs +2 -0
  291. package/esm2022/ui/treeTable/src/tree-table.component.mjs +55 -0
  292. package/esm2022/ui/value/aril-ui-value.mjs +5 -0
  293. package/esm2022/ui/value/index.mjs +2 -0
  294. package/esm2022/ui/value/src/value.component.mjs +207 -0
  295. package/esm2022/ui-business/aril-ui-business.mjs +5 -0
  296. package/esm2022/ui-business/assetPicker/aril-ui-business-assetPicker.mjs +5 -0
  297. package/esm2022/ui-business/assetPicker/index.mjs +2 -0
  298. package/esm2022/ui-business/assetPicker/src/asset-picker.component.mjs +182 -0
  299. package/esm2022/ui-business/assetPicker/src/interface.mjs +2 -0
  300. package/esm2022/ui-business/detailed-overlay-panel/aril-ui-business-detailed-overlay-panel.mjs +5 -0
  301. package/esm2022/ui-business/detailed-overlay-panel/index.mjs +2 -0
  302. package/esm2022/ui-business/detailed-overlay-panel/src/detailed-overlay-panel.component.mjs +61 -0
  303. package/esm2022/ui-business/detailed-overlay-panel/src/interface.mjs +19 -0
  304. package/esm2022/ui-business/enumPicker/aril-ui-business-enumPicker.mjs +5 -0
  305. package/esm2022/ui-business/enumPicker/index.mjs +2 -0
  306. package/esm2022/ui-business/enumPicker/src/enum-picker.component.mjs +124 -0
  307. package/esm2022/ui-business/enumPicker/src/interface.mjs +2 -0
  308. package/esm2022/ui-business/image-viewer/aril-ui-business-image-viewer.mjs +5 -0
  309. package/esm2022/ui-business/image-viewer/index.mjs +2 -0
  310. package/esm2022/ui-business/image-viewer/src/aril-image-viewer.component.mjs +111 -0
  311. package/esm2022/ui-business/index.mjs +2 -0
  312. package/esm2022/ui-business/multiple-ref-value/aril-ui-business-multiple-ref-value.mjs +5 -0
  313. package/esm2022/ui-business/multiple-ref-value/index.mjs +2 -0
  314. package/esm2022/ui-business/multiple-ref-value/src/multiple-ref-value.component.mjs +23 -0
  315. package/esm2022/ui-business/notification-templates-dialog/aril-ui-business-notification-templates-dialog.mjs +5 -0
  316. package/esm2022/ui-business/notification-templates-dialog/index.mjs +2 -0
  317. package/esm2022/ui-business/notification-templates-dialog/src/interface.mjs +8 -0
  318. package/esm2022/ui-business/notification-templates-dialog/src/notification-templates-dialog.component.mjs +56 -0
  319. package/esm2022/ui-business/operation-types-dialog/aril-ui-business-operation-types-dialog.mjs +5 -0
  320. package/esm2022/ui-business/operation-types-dialog/index.mjs +2 -0
  321. package/esm2022/ui-business/operation-types-dialog/src/operation-types-dialog.component.mjs +76 -0
  322. package/esm2022/ui-business/ref-value/aril-ui-business-ref-value.mjs +5 -0
  323. package/esm2022/ui-business/ref-value/index.mjs +2 -0
  324. package/esm2022/ui-business/ref-value/src/ref-value.component.mjs +39 -0
  325. package/esm2022/ui-business/rolePicker/aril-ui-business-rolePicker.mjs +5 -0
  326. package/esm2022/ui-business/rolePicker/index.mjs +2 -0
  327. package/esm2022/ui-business/rolePicker/src/interface.mjs +2 -0
  328. package/esm2022/ui-business/rolePicker/src/role-picker.component.mjs +71 -0
  329. package/esm2022/ui-business/userPicker/aril-ui-business-userPicker.mjs +5 -0
  330. package/esm2022/ui-business/userPicker/index.mjs +2 -0
  331. package/esm2022/ui-business/userPicker/src/interface.mjs +2 -0
  332. package/esm2022/ui-business/userPicker/src/user-picker.component.mjs +43 -0
  333. package/esm2022/util/aril-util.mjs +5 -0
  334. package/esm2022/util/block/aril-util-block.mjs +5 -0
  335. package/esm2022/util/block/index.mjs +2 -0
  336. package/esm2022/util/block/src/block.mjs +64 -0
  337. package/esm2022/util/custom_pages/aril-util-custom_pages.mjs +5 -0
  338. package/esm2022/util/custom_pages/index.mjs +2 -0
  339. package/esm2022/util/custom_pages/src/notFound.component.mjs +65 -0
  340. package/esm2022/util/directives/aril-util-directives.mjs +5 -0
  341. package/esm2022/util/directives/index.mjs +4 -0
  342. package/esm2022/util/directives/src/detail-page-customization/detail-page-customization.directive.mjs +298 -0
  343. package/esm2022/util/directives/src/detail-page-customization/index.mjs +3 -0
  344. package/esm2022/util/directives/src/detail-page-customization/models.mjs +4 -0
  345. package/esm2022/util/directives/src/dialog-component/plugin-dialog.component.mjs +26 -0
  346. package/esm2022/util/directives/src/dialog-service/plugin-dialog.service.mjs +16 -0
  347. package/esm2022/util/index.mjs +2 -0
  348. package/esm2022/util/lib/aril-util-lib.mjs +5 -0
  349. package/esm2022/util/lib/index.mjs +6 -0
  350. package/esm2022/util/lib/src/interfaces.mjs +4 -0
  351. package/esm2022/util/lib/src/module-router.mjs +16 -0
  352. package/esm2022/util/lib/src/types.mjs +6 -0
  353. package/esm2022/util/lib/src/validators/iban.validator.mjs +189 -0
  354. package/esm2022/util/lib/src/validators/identity.validator.mjs +91 -0
  355. package/esm2022/util/lib/src/validators/index.mjs +6 -0
  356. package/esm2022/util/lib/src/validators/max-array-length.validator.mjs +16 -0
  357. package/esm2022/util/lib/src/validators/min-array-length.validator.mjs +16 -0
  358. package/esm2022/util/lib/src/validators/tckn.validator.mjs +39 -0
  359. package/esm2022/util/lib/src/validators/validators.mjs +31 -0
  360. package/esm2022/util/loaders/aril-util-loaders.mjs +5 -0
  361. package/esm2022/util/loaders/index.mjs +2 -0
  362. package/esm2022/util/loaders/style/style.loader.service.mjs +61 -0
  363. package/esm2022/util/pipes/aril-util-pipes.mjs +5 -0
  364. package/esm2022/util/pipes/index.mjs +7 -0
  365. package/esm2022/util/pipes/src/distance-to-now.pipe.mjs +38 -0
  366. package/esm2022/util/pipes/src/get-column-by-field.pipe.mjs +17 -0
  367. package/esm2022/util/pipes/src/parse.pipe.mjs +22 -0
  368. package/esm2022/util/pipes/src/round-number.pipe.mjs +65 -0
  369. package/esm2022/util/pipes/src/safe.pipe.mjs +34 -0
  370. package/esm2022/util/pipes/src/translate-json/index.mjs +2 -0
  371. package/esm2022/util/pipes/src/translate-json/translate-json.pipe.mjs +41 -0
  372. package/esm2022/util/primitive-extensions/aril-util-primitive-extensions.mjs +5 -0
  373. package/esm2022/util/primitive-extensions/index.mjs +5 -0
  374. package/esm2022/util/primitive-extensions/src/boolean.extensions.mjs +2 -0
  375. package/esm2022/util/primitive-extensions/src/date.extensions.mjs +116 -0
  376. package/esm2022/util/primitive-extensions/src/number.extensions.mjs +39 -0
  377. package/esm2022/util/primitive-extensions/src/string.extensions.mjs +23 -0
  378. package/esm2022/util/pub-sub/aril-util-pub-sub.mjs +5 -0
  379. package/esm2022/util/pub-sub/index.mjs +2 -0
  380. package/esm2022/util/pub-sub/src/pub-sub.service.mjs +30 -0
  381. package/esm2022/util/sync-active-tab-route/aril-util-sync-active-tab-route.mjs +5 -0
  382. package/esm2022/util/sync-active-tab-route/index.mjs +2 -0
  383. package/esm2022/util/sync-active-tab-route/src/sync-active-tab-route.directive.mjs +45 -0
  384. package/esm2022/util/unwrap/aril-util-unwrap.mjs +5 -0
  385. package/esm2022/util/unwrap/index.mjs +2 -0
  386. package/esm2022/util/unwrap/src/unwrap-tag.directive.mjs +24 -0
  387. package/fesm2022/aril-app.component-hxaLgwmC.mjs +81 -0
  388. package/fesm2022/aril-app.component-hxaLgwmC.mjs.map +1 -0
  389. package/fesm2022/aril-boot-config-api.mjs +126 -0
  390. package/fesm2022/aril-boot-config-api.mjs.map +1 -0
  391. package/fesm2022/aril-boot-config-apps.mjs +138 -0
  392. package/fesm2022/aril-boot-config-apps.mjs.map +1 -0
  393. package/fesm2022/aril-boot-config-plugins.mjs +159 -0
  394. package/fesm2022/aril-boot-config-plugins.mjs.map +1 -0
  395. package/fesm2022/aril-boot-config-translate.mjs +72 -0
  396. package/fesm2022/aril-boot-config-translate.mjs.map +1 -0
  397. package/fesm2022/aril-boot-host.mjs +108 -0
  398. package/fesm2022/aril-boot-host.mjs.map +1 -0
  399. package/fesm2022/aril-boot-mfe-app.component-s1a-tkOD.mjs +80 -0
  400. package/fesm2022/aril-boot-mfe-app.component-s1a-tkOD.mjs.map +1 -0
  401. package/fesm2022/aril-boot-mfe-aril-boot-mfe-wLTqwDtz.mjs +369 -0
  402. package/fesm2022/aril-boot-mfe-aril-boot-mfe-wLTqwDtz.mjs.map +1 -0
  403. package/fesm2022/aril-boot-mfe.mjs +19 -0
  404. package/fesm2022/aril-boot-mfe.mjs.map +1 -0
  405. package/fesm2022/aril-boot.mjs +8 -0
  406. package/fesm2022/aril-boot.mjs.map +1 -0
  407. package/fesm2022/aril-http.mjs +437 -0
  408. package/fesm2022/aril-http.mjs.map +1 -0
  409. package/fesm2022/aril-i18n.mjs +71 -0
  410. package/fesm2022/aril-i18n.mjs.map +1 -0
  411. package/fesm2022/aril-keycloak.mjs +99 -0
  412. package/fesm2022/aril-keycloak.mjs.map +1 -0
  413. package/fesm2022/aril-provider.mjs +74 -0
  414. package/fesm2022/aril-provider.mjs.map +1 -0
  415. package/fesm2022/aril-theme-layout.mjs +3015 -0
  416. package/fesm2022/aril-theme-layout.mjs.map +1 -0
  417. package/fesm2022/aril-theme.mjs +8 -0
  418. package/fesm2022/aril-theme.mjs.map +1 -0
  419. package/fesm2022/aril-ui-autoComplete.mjs +116 -0
  420. package/fesm2022/aril-ui-autoComplete.mjs.map +1 -0
  421. package/fesm2022/aril-ui-badge.mjs +66 -0
  422. package/fesm2022/aril-ui-badge.mjs.map +1 -0
  423. package/fesm2022/aril-ui-business-assetPicker.mjs +189 -0
  424. package/fesm2022/aril-ui-business-assetPicker.mjs.map +1 -0
  425. package/fesm2022/aril-ui-business-detailed-overlay-panel.mjs +68 -0
  426. package/fesm2022/aril-ui-business-detailed-overlay-panel.mjs.map +1 -0
  427. package/fesm2022/aril-ui-business-enumPicker.mjs +131 -0
  428. package/fesm2022/aril-ui-business-enumPicker.mjs.map +1 -0
  429. package/fesm2022/aril-ui-business-image-viewer.mjs +118 -0
  430. package/fesm2022/aril-ui-business-image-viewer.mjs.map +1 -0
  431. package/fesm2022/aril-ui-business-multiple-ref-value.mjs +30 -0
  432. package/fesm2022/aril-ui-business-multiple-ref-value.mjs.map +1 -0
  433. package/fesm2022/aril-ui-business-notification-templates-dialog.mjs +70 -0
  434. package/fesm2022/aril-ui-business-notification-templates-dialog.mjs.map +1 -0
  435. package/fesm2022/aril-ui-business-operation-types-dialog.mjs +83 -0
  436. package/fesm2022/aril-ui-business-operation-types-dialog.mjs.map +1 -0
  437. package/fesm2022/aril-ui-business-ref-value.mjs +46 -0
  438. package/fesm2022/aril-ui-business-ref-value.mjs.map +1 -0
  439. package/fesm2022/aril-ui-business-rolePicker.mjs +78 -0
  440. package/fesm2022/aril-ui-business-rolePicker.mjs.map +1 -0
  441. package/fesm2022/aril-ui-business-userPicker.mjs +50 -0
  442. package/fesm2022/aril-ui-business-userPicker.mjs.map +1 -0
  443. package/fesm2022/aril-ui-business.mjs +8 -0
  444. package/fesm2022/aril-ui-business.mjs.map +1 -0
  445. package/fesm2022/aril-ui-button.mjs +62 -0
  446. package/fesm2022/aril-ui-button.mjs.map +1 -0
  447. package/fesm2022/aril-ui-calendar.mjs +231 -0
  448. package/fesm2022/aril-ui-calendar.mjs.map +1 -0
  449. package/fesm2022/aril-ui-charts.mjs +1666 -0
  450. package/fesm2022/aril-ui-charts.mjs.map +1 -0
  451. package/fesm2022/aril-ui-checkbox.mjs +50 -0
  452. package/fesm2022/aril-ui-checkbox.mjs.map +1 -0
  453. package/fesm2022/aril-ui-chip.mjs +136 -0
  454. package/fesm2022/aril-ui-chip.mjs.map +1 -0
  455. package/fesm2022/aril-ui-collapse-reorder-list.mjs +60 -0
  456. package/fesm2022/aril-ui-collapse-reorder-list.mjs.map +1 -0
  457. package/fesm2022/aril-ui-dxEditor.mjs +33 -0
  458. package/fesm2022/aril-ui-dxEditor.mjs.map +1 -0
  459. package/fesm2022/aril-ui-dxField.mjs +26 -0
  460. package/fesm2022/aril-ui-dxField.mjs.map +1 -0
  461. package/fesm2022/aril-ui-editor.mjs +203 -0
  462. package/fesm2022/aril-ui-editor.mjs.map +1 -0
  463. package/fesm2022/aril-ui-field.mjs +52 -0
  464. package/fesm2022/aril-ui-field.mjs.map +1 -0
  465. package/fesm2022/aril-ui-fileUpload.mjs +80 -0
  466. package/fesm2022/aril-ui-fileUpload.mjs.map +1 -0
  467. package/fesm2022/aril-ui-form.mjs +86 -0
  468. package/fesm2022/aril-ui-form.mjs.map +1 -0
  469. package/fesm2022/aril-ui-img-viewer.mjs +64 -0
  470. package/fesm2022/aril-ui-img-viewer.mjs.map +1 -0
  471. package/fesm2022/aril-ui-json-diff-comparison.mjs +56 -0
  472. package/fesm2022/aril-ui-json-diff-comparison.mjs.map +1 -0
  473. package/fesm2022/aril-ui-lib.mjs +382 -0
  474. package/fesm2022/aril-ui-lib.mjs.map +1 -0
  475. package/fesm2022/aril-ui-loader.mjs +21 -0
  476. package/fesm2022/aril-ui-loader.mjs.map +1 -0
  477. package/fesm2022/aril-ui-mask.mjs +42 -0
  478. package/fesm2022/aril-ui-mask.mjs.map +1 -0
  479. package/fesm2022/aril-ui-multiSelect.mjs +64 -0
  480. package/fesm2022/aril-ui-multiSelect.mjs.map +1 -0
  481. package/fesm2022/aril-ui-number.mjs +45 -0
  482. package/fesm2022/aril-ui-number.mjs.map +1 -0
  483. package/fesm2022/aril-ui-operation-types-dialog.mjs +98 -0
  484. package/fesm2022/aril-ui-operation-types-dialog.mjs.map +1 -0
  485. package/fesm2022/aril-ui-overlayPanel.mjs +27 -0
  486. package/fesm2022/aril-ui-overlayPanel.mjs.map +1 -0
  487. package/fesm2022/aril-ui-panel.mjs +40 -0
  488. package/fesm2022/aril-ui-panel.mjs.map +1 -0
  489. package/fesm2022/aril-ui-password.mjs +36 -0
  490. package/fesm2022/aril-ui-password.mjs.map +1 -0
  491. package/fesm2022/aril-ui-pdf-viewer.mjs +34 -0
  492. package/fesm2022/aril-ui-pdf-viewer.mjs.map +1 -0
  493. package/fesm2022/aril-ui-progressbar.mjs +25 -0
  494. package/fesm2022/aril-ui-progressbar.mjs.map +1 -0
  495. package/fesm2022/aril-ui-radioButton.mjs +37 -0
  496. package/fesm2022/aril-ui-radioButton.mjs.map +1 -0
  497. package/fesm2022/aril-ui-relativeDateSelector.mjs +285 -0
  498. package/fesm2022/aril-ui-relativeDateSelector.mjs.map +1 -0
  499. package/fesm2022/aril-ui-selectBox.mjs +74 -0
  500. package/fesm2022/aril-ui-selectBox.mjs.map +1 -0
  501. package/fesm2022/aril-ui-switch.mjs +30 -0
  502. package/fesm2022/aril-ui-switch.mjs.map +1 -0
  503. package/fesm2022/aril-ui-table-expand.mjs +194 -0
  504. package/fesm2022/aril-ui-table-expand.mjs.map +1 -0
  505. package/fesm2022/aril-ui-table.mjs +833 -0
  506. package/fesm2022/aril-ui-table.mjs.map +1 -0
  507. package/fesm2022/aril-ui-tag.mjs +27 -0
  508. package/fesm2022/aril-ui-tag.mjs.map +1 -0
  509. package/fesm2022/aril-ui-tagBox.mjs +62 -0
  510. package/fesm2022/aril-ui-tagBox.mjs.map +1 -0
  511. package/fesm2022/aril-ui-text.mjs +54 -0
  512. package/fesm2022/aril-ui-text.mjs.map +1 -0
  513. package/fesm2022/aril-ui-textArea.mjs +34 -0
  514. package/fesm2022/aril-ui-textArea.mjs.map +1 -0
  515. package/fesm2022/aril-ui-toggle-button.mjs +32 -0
  516. package/fesm2022/aril-ui-toggle-button.mjs.map +1 -0
  517. package/fesm2022/aril-ui-tooltip.mjs +30 -0
  518. package/fesm2022/aril-ui-tooltip.mjs.map +1 -0
  519. package/fesm2022/aril-ui-translate-input.mjs +207 -0
  520. package/fesm2022/aril-ui-translate-input.mjs.map +1 -0
  521. package/fesm2022/aril-ui-tree.mjs +60 -0
  522. package/fesm2022/aril-ui-tree.mjs.map +1 -0
  523. package/fesm2022/aril-ui-treeSelect.mjs +48 -0
  524. package/fesm2022/aril-ui-treeSelect.mjs.map +1 -0
  525. package/fesm2022/aril-ui-treeTable.mjs +62 -0
  526. package/fesm2022/aril-ui-treeTable.mjs.map +1 -0
  527. package/fesm2022/aril-ui-value.mjs +214 -0
  528. package/fesm2022/aril-ui-value.mjs.map +1 -0
  529. package/fesm2022/aril-ui.mjs +8 -0
  530. package/fesm2022/aril-ui.mjs.map +1 -0
  531. package/fesm2022/aril-util-block.mjs +71 -0
  532. package/fesm2022/aril-util-block.mjs.map +1 -0
  533. package/fesm2022/aril-util-custom_pages.mjs +72 -0
  534. package/fesm2022/aril-util-custom_pages.mjs.map +1 -0
  535. package/fesm2022/aril-util-directives.mjs +344 -0
  536. package/fesm2022/aril-util-directives.mjs.map +1 -0
  537. package/fesm2022/aril-util-lib.mjs +413 -0
  538. package/fesm2022/aril-util-lib.mjs.map +1 -0
  539. package/fesm2022/aril-util-loaders.mjs +68 -0
  540. package/fesm2022/aril-util-loaders.mjs.map +1 -0
  541. package/fesm2022/aril-util-pipes.mjs +213 -0
  542. package/fesm2022/aril-util-pipes.mjs.map +1 -0
  543. package/fesm2022/aril-util-primitive-extensions.mjs +179 -0
  544. package/fesm2022/aril-util-primitive-extensions.mjs.map +1 -0
  545. package/fesm2022/aril-util-pub-sub.mjs +37 -0
  546. package/fesm2022/aril-util-pub-sub.mjs.map +1 -0
  547. package/fesm2022/aril-util-sync-active-tab-route.mjs +52 -0
  548. package/fesm2022/aril-util-sync-active-tab-route.mjs.map +1 -0
  549. package/fesm2022/aril-util-unwrap.mjs +31 -0
  550. package/fesm2022/aril-util-unwrap.mjs.map +1 -0
  551. package/fesm2022/aril-util.mjs +8 -0
  552. package/fesm2022/aril-util.mjs.map +1 -0
  553. package/fesm2022/aril.mjs +456 -0
  554. package/fesm2022/aril.mjs.map +1 -0
  555. package/http/index.d.ts +8 -0
  556. package/http/lib/enums.d.ts +31 -0
  557. package/http/lib/interfaces.d.ts +27 -0
  558. package/http/src/httpBackend.d.ts +8 -0
  559. package/http/src/httpClient.d.ts +9 -0
  560. package/http/src/interceptor/accept-language.interceptor.d.ts +2 -0
  561. package/http/src/serviceBase.d.ts +8 -0
  562. package/http/src/serviceMockBase.d.ts +6 -0
  563. package/http/src/serviceRequest.d.ts +4 -0
  564. package/http/src/serviceStateMethods.d.ts +17 -0
  565. package/i18n/src/folder-name-token.d.ts +2 -0
  566. package/i18n/src/i18n.module.d.ts +7 -0
  567. package/i18n/src/loader.d.ts +8 -0
  568. package/i18n/src/provideI18n.d.ts +2 -0
  569. package/i18n/src/provideScope.d.ts +5 -0
  570. package/index.d.ts +5 -0
  571. package/keycloak/index.d.ts +1 -0
  572. package/keycloak/src/auth.interceptor.d.ts +3 -0
  573. package/package.json +528 -43
  574. package/provider/src/index.d.ts +4 -0
  575. package/provider/src/prodiveHost.d.ts +3 -0
  576. package/provider/src/prodiveHostRouter.d.ts +2 -0
  577. package/provider/src/provideHostKeycloak.d.ts +5 -0
  578. package/provider/src/provideLocaleId.d.ts +2 -0
  579. package/scripts/util/blockui.min.js +7 -0
  580. package/styles/ui/ui.common.scss +42 -0
  581. package/styles/util/blockui.css +56 -0
  582. package/theme/index.d.ts +1 -0
  583. package/theme/index.ts +1 -1
  584. package/theme/layout/app/breadcrumb/app.breadcrumb.component.d.ts +25 -0
  585. package/theme/layout/app/breadcrumb/app.breadcrumb.component.html +8 -8
  586. package/theme/layout/app/breadcrumb/app.breadcrumb.component.ts +126 -126
  587. package/theme/layout/app/chatbot/app.chatbot.component.d.ts +35 -0
  588. package/theme/layout/app/chatbot/app.chatbot.component.html +108 -108
  589. package/theme/layout/app/chatbot/app.chatbot.component.scss +34 -34
  590. package/theme/layout/app/chatbot/app.chatbot.component.ts +151 -151
  591. package/theme/layout/app/config/app.config.component.html +146 -146
  592. package/theme/layout/app/config/app.config.component.ts +143 -143
  593. package/theme/layout/app/expandableMenu/expandable-menu.component.d.ts +72 -0
  594. package/theme/layout/app/expandableMenu/expandable-menu.component.html +89 -89
  595. package/theme/layout/app/expandableMenu/expandable-menu.component.ts +295 -295
  596. package/theme/layout/app/favorite-pages/favorite-pages-sidebar.component.d.ts +2031 -0
  597. package/theme/layout/app/favorite-pages/favorite-pages-sidebar.component.html +110 -110
  598. package/theme/layout/app/favorite-pages/favorite-pages-sidebar.component.scss +181 -181
  599. package/theme/layout/app/favorite-pages/favorite-pages-sidebar.component.ts +260 -260
  600. package/theme/layout/app/favorite-pages/favorite-pages.service.d.ts +56 -0
  601. package/theme/layout/app/favorite-pages/favorite-pages.service.ts +95 -95
  602. package/theme/layout/app/favorite-pages/modals/add-edit-favorite-modal/add-edit-favorite-modal.component.d.ts +36 -0
  603. package/theme/layout/app/favorite-pages/modals/add-edit-favorite-modal/add-edit-favorite-modal.component.html +27 -27
  604. package/theme/layout/app/favorite-pages/modals/add-edit-favorite-modal/add-edit-favorite-modal.component.ts +165 -165
  605. package/theme/layout/app/general-search/general-search.component.d.ts +22 -0
  606. package/theme/layout/app/general-search/general-search.component.html +57 -57
  607. package/theme/layout/app/general-search/general-search.component.scss +27 -27
  608. package/theme/layout/app/general-search/general-search.component.ts +93 -93
  609. package/theme/layout/app/general-search/helpers.d.ts +7 -0
  610. package/theme/layout/app/general-search/helpers.spec.ts +527 -527
  611. package/theme/layout/app/general-search/helpers.ts +106 -106
  612. package/theme/layout/app/general-search/models.d.ts +131 -0
  613. package/theme/layout/app/general-search/models.ts +142 -142
  614. package/theme/layout/app/history/history-sidebar.component.d.ts +2018 -0
  615. package/theme/layout/app/history/history-sidebar.component.html +87 -87
  616. package/theme/layout/app/history/history-sidebar.component.scss +182 -182
  617. package/theme/layout/app/history/history-sidebar.component.ts +143 -143
  618. package/theme/layout/app/history/history.service.d.ts +36 -0
  619. package/theme/layout/app/history/history.service.ts +154 -154
  620. package/theme/layout/app/layout/app.layout.component.d.ts +47 -0
  621. package/theme/layout/app/layout/app.layout.component.html +27 -27
  622. package/theme/layout/app/layout/app.layout.component.ts +171 -171
  623. package/theme/layout/app/layout/mfe.layout.component.d.ts +10 -0
  624. package/theme/layout/app/layout/mfe.layout.component.ts +59 -59
  625. package/theme/layout/app/notifications/notifications-sidebar.component.d.ts +2306 -0
  626. package/theme/layout/app/notifications/notifications-sidebar.component.html +104 -104
  627. package/theme/layout/app/notifications/notifications-sidebar.component.scss +237 -237
  628. package/theme/layout/app/notifications/notifications-sidebar.component.ts +221 -221
  629. package/theme/layout/app/profileSidebar/app.profilesidebar.component.d.ts +29 -0
  630. package/theme/layout/app/profileSidebar/app.profilesidebar.component.html +122 -122
  631. package/theme/layout/app/profileSidebar/app.profilesidebar.component.scss +151 -151
  632. package/theme/layout/app/profileSidebar/app.profilesidebar.component.ts +141 -141
  633. package/theme/layout/app/profileSidebar/modals/change-password-modal/change-password-modal.component.d.ts +30 -0
  634. package/theme/layout/app/profileSidebar/modals/change-password-modal/change-password-modal.component.html +48 -48
  635. package/theme/layout/app/profileSidebar/modals/change-password-modal/change-password-modal.component.scss +27 -27
  636. package/theme/layout/app/profileSidebar/modals/change-password-modal/change-password-modal.component.ts +178 -178
  637. package/theme/layout/app/profileSidebar/modals/edit-profile-modal/edit-profile-modal.component.d.ts +52 -0
  638. package/theme/layout/app/profileSidebar/modals/edit-profile-modal/edit-profile-modal.component.html +71 -71
  639. package/theme/layout/app/profileSidebar/modals/edit-profile-modal/edit-profile-modal.component.ts +251 -251
  640. package/theme/layout/app/profileSidebar/profile.service.d.ts +72 -0
  641. package/theme/layout/app/profileSidebar/profile.service.ts +116 -116
  642. package/theme/layout/app/site-map/site-map-sidebar.component.d.ts +2025 -0
  643. package/theme/layout/app/site-map/site-map-sidebar.component.html +121 -121
  644. package/theme/layout/app/site-map/site-map-sidebar.component.scss +178 -178
  645. package/theme/layout/app/site-map/site-map-sidebar.component.ts +193 -193
  646. package/theme/layout/app/static-sidebar/static-sidebar.component.d.ts +57 -0
  647. package/theme/layout/app/static-sidebar/static-sidebar.component.html +123 -123
  648. package/theme/layout/app/static-sidebar/static-sidebar.component.scss +411 -411
  649. package/theme/layout/app/static-sidebar/static-sidebar.component.ts +276 -276
  650. package/theme/layout/app/topbar/app.topbar.component.d.ts +35 -0
  651. package/theme/layout/app/topbar/app.topbar.component.html +85 -85
  652. package/theme/layout/app/topbar/app.topbar.component.scss +193 -193
  653. package/theme/layout/app/topbar/app.topbar.component.ts +172 -172
  654. package/theme/layout/index.d.ts +7 -0
  655. package/theme/layout/index.ts +7 -7
  656. package/theme/layout/ng-package.json +6 -6
  657. package/theme/layout/service/app.layout.service.d.ts +69 -0
  658. package/theme/layout/service/app.layout.service.ts +307 -307
  659. package/theme/layout/service/app.menu.service.d.ts +22 -0
  660. package/theme/layout/service/app.menu.service.ts +53 -53
  661. package/theme/layout/service/breadcrumb.service.d.ts +10 -0
  662. package/theme/layout/service/breadcrumb.service.ts +14 -14
  663. package/theme/layout/service/interfaces/enum.d.ts +12 -0
  664. package/theme/layout/service/interfaces/enum.ts +13 -13
  665. package/theme/layout/service/interfaces/interfaces.d.ts +131 -0
  666. package/theme/layout/service/interfaces/interfaces.ts +150 -150
  667. package/theme/layout/service/menuchangeevent.d.ts +4 -0
  668. package/theme/layout/service/menuchangeevent.ts +4 -4
  669. package/theme/layout/service/notifications.service.d.ts +12 -0
  670. package/theme/layout/service/notifications.service.ts +26 -26
  671. package/theme/layout/service/search.service.d.ts +11 -0
  672. package/theme/layout/service/search.service.ts +22 -22
  673. package/theme/layout/service/selection-group.service.d.ts +17 -0
  674. package/theme/layout/service/selection-group.service.ts +73 -73
  675. package/theme/ng-package.json +6 -6
  676. package/theme/styles/layout/_animation.scss +53 -53
  677. package/theme/styles/layout/_breadcrumb.scss +31 -31
  678. package/theme/styles/layout/_config.scss +42 -42
  679. package/theme/styles/layout/_content.scss +61 -61
  680. package/theme/styles/layout/_expanded_sidebar.scss +486 -486
  681. package/theme/styles/layout/_fonts.scss +93 -93
  682. package/theme/styles/layout/_layout_dark.scss +5 -5
  683. package/theme/styles/layout/_layout_dim.scss +5 -5
  684. package/theme/styles/layout/_layout_light.scss +5 -5
  685. package/theme/styles/layout/_main.scss +28 -28
  686. package/theme/styles/layout/_profile.scss +10 -10
  687. package/theme/styles/layout/_responsive.scss +153 -153
  688. package/theme/styles/layout/_sidebar_drawer.scss +234 -234
  689. package/theme/styles/layout/_sidebar_horizontal.scss +163 -163
  690. package/theme/styles/layout/_sidebar_reveal.scss +201 -201
  691. package/theme/styles/layout/_sidebar_slim.scss +144 -144
  692. package/theme/styles/layout/_sidebar_slim_plus.scss +168 -168
  693. package/theme/styles/layout/_sidebar_vertical.scss +156 -156
  694. package/theme/styles/layout/_topbar.scss +140 -140
  695. package/theme/styles/layout/_typography.scss +68 -68
  696. package/theme/styles/layout/_utils.scss +24 -24
  697. package/theme/styles/layout/layout.scss +25 -25
  698. package/theme/styles/layout/menutheme/_colorscheme.scss +11 -11
  699. package/theme/styles/layout/menutheme/_menutheme.scss +3 -3
  700. package/theme/styles/layout/menutheme/_primarycolor.scss +16 -16
  701. package/theme/styles/layout/menutheme/_transparent.scss +26 -26
  702. package/theme/styles/layout/preloading.scss +84 -84
  703. package/theme/styles/theme/base/_colors.scss +17 -17
  704. package/theme/styles/theme/base/_common.scss +89 -89
  705. package/theme/styles/theme/base/_components.scss +108 -108
  706. package/theme/styles/theme/base/_mixins.scss +337 -337
  707. package/theme/styles/theme/base/components/button/_button.scss +576 -576
  708. package/theme/styles/theme/base/components/button/_speeddial.scss +96 -96
  709. package/theme/styles/theme/base/components/button/_splitbutton.scss +348 -348
  710. package/theme/styles/theme/base/components/data/_carousel.scss +37 -37
  711. package/theme/styles/theme/base/components/data/_datatable.scss +338 -338
  712. package/theme/styles/theme/base/components/data/_dataview.scss +46 -46
  713. package/theme/styles/theme/base/components/data/_filter.scss +137 -137
  714. package/theme/styles/theme/base/components/data/_orderlist.scss +114 -114
  715. package/theme/styles/theme/base/components/data/_organizationchart.scss +50 -50
  716. package/theme/styles/theme/base/components/data/_paginator.scss +92 -92
  717. package/theme/styles/theme/base/components/data/_picklist.scss +114 -114
  718. package/theme/styles/theme/base/components/data/_table.scss +16 -16
  719. package/theme/styles/theme/base/components/data/_timeline.scss +35 -35
  720. package/theme/styles/theme/base/components/data/_tree.scss +150 -150
  721. package/theme/styles/theme/base/components/data/_treetable.scss +255 -255
  722. package/theme/styles/theme/base/components/data/_virtualscroller.scss +28 -28
  723. package/theme/styles/theme/base/components/file/_fileupload.scss +64 -64
  724. package/theme/styles/theme/base/components/input/_autocomplete.scss +141 -141
  725. package/theme/styles/theme/base/components/input/_calendar.scss +267 -267
  726. package/theme/styles/theme/base/components/input/_cascadeselect.scss +135 -135
  727. package/theme/styles/theme/base/components/input/_checkbox.scss +99 -99
  728. package/theme/styles/theme/base/components/input/_chips.scss +67 -67
  729. package/theme/styles/theme/base/components/input/_colorpicker.scss +19 -19
  730. package/theme/styles/theme/base/components/input/_dropdown.scss +151 -151
  731. package/theme/styles/theme/base/components/input/_editor.scss +122 -122
  732. package/theme/styles/theme/base/components/input/_inputgroup.scss +75 -75
  733. package/theme/styles/theme/base/components/input/_inputmask.scss +16 -16
  734. package/theme/styles/theme/base/components/input/_inputnumber.scss +28 -28
  735. package/theme/styles/theme/base/components/input/_inputswitch.scss +60 -60
  736. package/theme/styles/theme/base/components/input/_inputtext.scss +100 -100
  737. package/theme/styles/theme/base/components/input/_listbox.scss +97 -97
  738. package/theme/styles/theme/base/components/input/_multiselect.scss +177 -177
  739. package/theme/styles/theme/base/components/input/_password.scss +52 -52
  740. package/theme/styles/theme/base/components/input/_radiobutton.scss +78 -78
  741. package/theme/styles/theme/base/components/input/_rating.scss +60 -60
  742. package/theme/styles/theme/base/components/input/_selectbutton.scss +50 -50
  743. package/theme/styles/theme/base/components/input/_slider.scss +75 -75
  744. package/theme/styles/theme/base/components/input/_togglebutton.scss +48 -48
  745. package/theme/styles/theme/base/components/input/_treeselect.scss +139 -139
  746. package/theme/styles/theme/base/components/menu/_breadcrumb.scss +43 -43
  747. package/theme/styles/theme/base/components/menu/_contextmenu.scss +39 -39
  748. package/theme/styles/theme/base/components/menu/_dock.scss +95 -95
  749. package/theme/styles/theme/base/components/menu/_megamenu.scss +55 -55
  750. package/theme/styles/theme/base/components/menu/_menu.scss +37 -37
  751. package/theme/styles/theme/base/components/menu/_menubar.scss +140 -140
  752. package/theme/styles/theme/base/components/menu/_panelmenu.scss +153 -153
  753. package/theme/styles/theme/base/components/menu/_slidemenu.scss +59 -59
  754. package/theme/styles/theme/base/components/menu/_steps.scss +56 -56
  755. package/theme/styles/theme/base/components/menu/_tabmenu.scss +73 -73
  756. package/theme/styles/theme/base/components/menu/_tieredmenu.scss +43 -43
  757. package/theme/styles/theme/base/components/messages/_inlinemessage.scss +69 -69
  758. package/theme/styles/theme/base/components/messages/_message.scss +107 -107
  759. package/theme/styles/theme/base/components/messages/_toast.scss +99 -99
  760. package/theme/styles/theme/base/components/misc/_avatar.scss +30 -30
  761. package/theme/styles/theme/base/components/misc/_badge.scss +48 -48
  762. package/theme/styles/theme/base/components/misc/_chip.scss +42 -42
  763. package/theme/styles/theme/base/components/misc/_inplace.scss +16 -16
  764. package/theme/styles/theme/base/components/misc/_progressbar.scss +17 -17
  765. package/theme/styles/theme/base/components/misc/_scrolltop.scss +25 -25
  766. package/theme/styles/theme/base/components/misc/_skeleton.scss +8 -8
  767. package/theme/styles/theme/base/components/misc/_tag.scss +45 -45
  768. package/theme/styles/theme/base/components/misc/_terminal.scss +12 -12
  769. package/theme/styles/theme/base/components/multimedia/_galleria.scss +155 -155
  770. package/theme/styles/theme/base/components/multimedia/_image.scss +49 -49
  771. package/theme/styles/theme/base/components/overlay/_confirmpopup.scss +70 -70
  772. package/theme/styles/theme/base/components/overlay/_dialog.scss +69 -69
  773. package/theme/styles/theme/base/components/overlay/_overlaypanel.scss +62 -62
  774. package/theme/styles/theme/base/components/overlay/_sidebar.scss +28 -28
  775. package/theme/styles/theme/base/components/overlay/_tooltip.scss +33 -33
  776. package/theme/styles/theme/base/components/panel/_accordion.scss +119 -119
  777. package/theme/styles/theme/base/components/panel/_card.scss +30 -30
  778. package/theme/styles/theme/base/components/panel/_divider.scss +31 -31
  779. package/theme/styles/theme/base/components/panel/_fieldset.scss +47 -47
  780. package/theme/styles/theme/base/components/panel/_panel.scss +77 -77
  781. package/theme/styles/theme/base/components/panel/_scrollpanel.scss +6 -6
  782. package/theme/styles/theme/base/components/panel/_splitter.scss +19 -19
  783. package/theme/styles/theme/base/components/panel/_stepper.scss +200 -200
  784. package/theme/styles/theme/base/components/panel/_tabview.scss +91 -91
  785. package/theme/styles/theme/base/components/panel/_toolbar.scss +11 -11
  786. package/theme/styles/theme/dark/_extensions.scss +134 -134
  787. package/theme/styles/theme/dark/_variables.scss +933 -933
  788. package/theme/styles/theme/dark/indigo/theme.scss +14 -14
  789. package/theme/styles/theme/light/_extensions.scss +116 -116
  790. package/theme/styles/theme/light/_variables.scss +940 -940
  791. package/theme/styles/theme/light/custom/theme.scss +16 -16
  792. package/theme/styles/theme/light/indigo/theme.scss +14 -14
  793. package/ui/autoComplete/src/auto-complete.component.d.ts +31 -0
  794. package/ui/autoComplete/src/interfaces.d.ts +28 -0
  795. package/ui/badge/src/badge.component.d.ts +32 -0
  796. package/ui/button/src/button.component.d.ts +28 -0
  797. package/ui/button/src/split-button.component.d.ts +8 -0
  798. package/ui/calendar/src/calendar.component.d.ts +63 -0
  799. package/ui/charts/index.d.ts +12 -0
  800. package/ui/charts/src/amCharts/column/column-chart.component.d.ts +25 -0
  801. package/ui/charts/src/amCharts/line/line-chart.component.d.ts +26 -0
  802. package/ui/charts/src/amCharts/pie/pie-chart.component.d.ts +24 -0
  803. package/ui/charts/src/highCharts/area/area-chart.component.d.ts +20 -0
  804. package/ui/charts/src/highCharts/bar/bar-chart.component.d.ts +26 -0
  805. package/ui/charts/src/highCharts/column/column-chart.component.d.ts +28 -0
  806. package/ui/charts/src/highCharts/gauge/solid-gauge.component.d.ts +38 -0
  807. package/ui/charts/src/highCharts/heatmap/heatMap-chart.component.d.ts +32 -0
  808. package/ui/charts/src/highCharts/line/line-chart-datetime-axis.component.d.ts +24 -0
  809. package/ui/charts/src/highCharts/line/line-chart-series.component.d.ts +21 -0
  810. package/ui/charts/src/highCharts/line/line-chart.component.d.ts +21 -0
  811. package/ui/charts/src/highCharts/pie/pie-chart.component.d.ts +27 -0
  812. package/ui/charts/src/theme/theme.d.ts +5 -0
  813. package/ui/checkbox/src/check-box.component.d.ts +12 -0
  814. package/ui/checkbox/src/tri-state-checkbox.component.d.ts +9 -0
  815. package/ui/chip/index.d.ts +1 -0
  816. package/ui/chip/src/chip.component.d.ts +34 -0
  817. package/ui/collapse-reorder-list/index.d.ts +1 -0
  818. package/ui/collapse-reorder-list/src/collapse-reorder-list.component.d.ts +21 -0
  819. package/ui/dxEditor/src/dx-editor.component.d.ts +11 -0
  820. package/ui/dxField/src/dx-field.component.d.ts +10 -0
  821. package/ui/editor/src/aril-editor.component.d.ts +28 -0
  822. package/ui/editor/src/types.d.ts +23 -0
  823. package/ui/field/src/field.component.d.ts +30 -0
  824. package/ui/fileUpload/src/file-upload.component.d.ts +49 -0
  825. package/ui/form/index.d.ts +11 -0
  826. package/ui/form/src/form-submit-button.component.d.ts +14 -0
  827. package/ui/form/src/form.component.d.ts +8 -0
  828. package/ui/img-viewer/index.d.ts +1 -0
  829. package/ui/img-viewer/src/img-viewer.component.d.ts +13 -0
  830. package/ui/index.d.ts +1 -0
  831. package/ui/json-diff-comparison/src/json-diff.component.d.ts +13 -0
  832. package/ui/lib/index.d.ts +12 -0
  833. package/ui/lib/src/form/form-error-message.component.d.ts +9 -0
  834. package/ui/lib/src/form/form-error-message.directive.d.ts +14 -0
  835. package/ui/lib/src/form/form-field-builder.d.ts +8 -0
  836. package/ui/lib/src/form/form-validation.d.ts +2 -0
  837. package/ui/lib/src/grid/enum-color-picker.pipe.d.ts +9 -0
  838. package/ui/lib/src/grid/flex-grid.directive.d.ts +6 -0
  839. package/ui/lib/src/input/baseInput.d.ts +7 -0
  840. package/ui/lib/src/input/common-input-validators.service.d.ts +20 -0
  841. package/ui/lib/src/input/dx-input-error-message.pipe.d.ts +11 -0
  842. package/ui/lib/src/input/input-disabled.directive.d.ts +9 -0
  843. package/ui/lib/src/input/input-error-message.pipe.d.ts +10 -0
  844. package/ui/lib/src/input/input-transforms.d.ts +5 -0
  845. package/ui/lib/src/input/value-accessor.directive.d.ts +9 -0
  846. package/ui/loader/src/loader.component.d.ts +5 -0
  847. package/ui/mask/src/mask.component.d.ts +21 -0
  848. package/ui/multiSelect/src/interfaces.d.ts +32 -0
  849. package/ui/multiSelect/src/multi-select.component.d.ts +28 -0
  850. package/ui/number/src/number.component.d.ts +29 -0
  851. package/ui/operation-types-dialog/src/operation-types-dialog.component.d.ts +33 -0
  852. package/ui/overlayPanel/src/overlay-panel.component.d.ts +8 -0
  853. package/ui/panel/src/panel.component.d.ts +14 -0
  854. package/ui/password/src/password.component.d.ts +11 -0
  855. package/ui/pdf-viewer/src/pdf-viewer.component.d.ts +19 -0
  856. package/ui/progressbar/src/progressbar.component.d.ts +8 -0
  857. package/ui/radioButton/src/radio-button.component.d.ts +22 -0
  858. package/ui/relativeDateSelector/index.d.ts +1 -0
  859. package/ui/relativeDateSelector/src/enum.d.ts +26 -0
  860. package/ui/relativeDateSelector/src/relative-date-selector.component.d.ts +61 -0
  861. package/ui/selectBox/src/interfaces.d.ts +32 -0
  862. package/ui/selectBox/src/select-box.component.d.ts +30 -0
  863. package/ui/switch/src/switch.component.d.ts +8 -0
  864. package/ui/table/index.d.ts +35 -0
  865. package/ui/table/src/export-overlay-panel.component.d.ts +39 -0
  866. package/ui/table/src/interfaces.d.ts +145 -0
  867. package/ui/table/src/table-column.component.d.ts +19 -0
  868. package/ui/table/src/table.component.d.ts +107 -0
  869. package/ui/table-expand/index.d.ts +20 -0
  870. package/ui/table-expand/src/table-column.component.d.ts +28 -0
  871. package/ui/table-expand/src/table-expand-area.component.d.ts +14 -0
  872. package/ui/table-expand/src/table.component.d.ts +47 -0
  873. package/ui/tag/index.d.ts +1 -0
  874. package/ui/tag/src/interface.d.ts +1 -0
  875. package/ui/tag/src/tag.component.d.ts +15 -0
  876. package/ui/tagBox/src/tag-box.component.d.ts +17 -0
  877. package/ui/text/src/text.component.d.ts +18 -0
  878. package/ui/textArea/src/text-area.component.d.ts +12 -0
  879. package/ui/toggle-button/index.d.ts +1 -0
  880. package/ui/toggle-button/src/toggle-button.component.d.ts +10 -0
  881. package/ui/tooltip/src/tooltip-component.d.ts +14 -0
  882. package/ui/translate-input/src/aril-lang-modal/aril-lang-modal.component.d.ts +21 -0
  883. package/ui/translate-input/src/aril-lang-modal/constants.d.ts +2 -0
  884. package/ui/translate-input/src/aril-translate-input.component.d.ts +26 -0
  885. package/ui/translate-input/src/interface.d.ts +12 -0
  886. package/ui/tree/src/tree.component.d.ts +23 -0
  887. package/ui/treeSelect/src/treeSelect.component.d.ts +23 -0
  888. package/ui/treeTable/src/tree-table.component.d.ts +21 -0
  889. package/ui/value/src/value.component.d.ts +43 -0
  890. package/ui-business/assetPicker/index.d.ts +1 -0
  891. package/ui-business/assetPicker/src/asset-picker.component.d.ts +48 -0
  892. package/ui-business/assetPicker/src/interface.d.ts +74 -0
  893. package/ui-business/detailed-overlay-panel/src/detailed-overlay-panel.component.d.ts +31 -0
  894. package/ui-business/detailed-overlay-panel/src/interface.d.ts +54 -0
  895. package/ui-business/enumPicker/index.d.ts +1 -0
  896. package/ui-business/enumPicker/src/enum-picker.component.d.ts +47 -0
  897. package/ui-business/enumPicker/src/interface.d.ts +34 -0
  898. package/ui-business/image-viewer/index.d.ts +1 -0
  899. package/ui-business/image-viewer/src/aril-image-viewer.component.d.ts +20 -0
  900. package/ui-business/index.d.ts +1 -0
  901. package/ui-business/multiple-ref-value/src/multiple-ref-value.component.d.ts +16 -0
  902. package/ui-business/notification-templates-dialog/src/interface.d.ts +17 -0
  903. package/ui-business/notification-templates-dialog/src/notification-templates-dialog.component.d.ts +18 -0
  904. package/ui-business/operation-types-dialog/src/operation-types-dialog.component.d.ts +28 -0
  905. package/ui-business/ref-value/src/ref-value.component.d.ts +20 -0
  906. package/ui-business/rolePicker/src/interface.d.ts +44 -0
  907. package/ui-business/rolePicker/src/role-picker.component.d.ts +25 -0
  908. package/ui-business/userPicker/index.d.ts +1 -0
  909. package/ui-business/userPicker/src/interface.d.ts +25 -0
  910. package/ui-business/userPicker/src/user-picker.component.d.ts +18 -0
  911. package/util/block/src/block.d.ts +28 -0
  912. package/util/custom_pages/src/notFound.component.d.ts +5 -0
  913. package/util/directives/src/detail-page-customization/detail-page-customization.directive.d.ts +26 -0
  914. package/util/directives/src/detail-page-customization/index.d.ts +2 -0
  915. package/util/directives/src/detail-page-customization/models.d.ts +53 -0
  916. package/util/directives/src/dialog-component/plugin-dialog.component.d.ts +11 -0
  917. package/util/directives/src/dialog-service/plugin-dialog.service.d.ts +7 -0
  918. package/util/index.d.ts +1 -0
  919. package/util/lib/index.d.ts +5 -0
  920. package/util/lib/src/interfaces.d.ts +41 -0
  921. package/util/lib/src/module-router.d.ts +5 -0
  922. package/util/lib/src/types.d.ts +2290 -0
  923. package/util/lib/src/validators/iban.validator.d.ts +7 -0
  924. package/util/lib/src/validators/identity.validator.d.ts +33 -0
  925. package/util/lib/src/validators/index.d.ts +5 -0
  926. package/util/lib/src/validators/max-array-length.validator.d.ts +7 -0
  927. package/util/lib/src/validators/min-array-length.validator.d.ts +7 -0
  928. package/util/lib/src/validators/tckn.validator.d.ts +7 -0
  929. package/util/lib/src/validators/validators.d.ts +12 -0
  930. package/util/loaders/index.d.ts +1 -0
  931. package/util/loaders/style/style.loader.service.d.ts +13 -0
  932. package/util/pipes/src/distance-to-now.pipe.d.ts +11 -0
  933. package/util/pipes/src/get-column-by-field.pipe.d.ts +11 -0
  934. package/util/pipes/src/parse.pipe.d.ts +7 -0
  935. package/util/pipes/src/round-number.pipe.d.ts +11 -0
  936. package/util/pipes/src/safe.pipe.d.ts +10 -0
  937. package/util/pipes/src/translate-json/index.d.ts +1 -0
  938. package/util/pipes/src/translate-json/translate-json.pipe.d.ts +10 -0
  939. package/util/primitive-extensions/src/date.extensions.d.ts +8 -0
  940. package/util/primitive-extensions/src/number.extensions.d.ts +12 -0
  941. package/util/primitive-extensions/src/string.extensions.d.ts +11 -0
  942. package/util/pub-sub/src/pub-sub.service.d.ts +21 -0
  943. package/util/sync-active-tab-route/src/sync-active-tab-route.directive.d.ts +17 -0
  944. package/util/unwrap/src/unwrap-tag.directive.d.ts +9 -0
  945. package/.eslintrc.json +0 -41
  946. package/boot/config/api/ng-package.json +0 -6
  947. package/boot/config/api/src/api.sample.json +0 -8
  948. package/boot/config/api/src/api.service.ts +0 -91
  949. package/boot/config/api/src/interfaces.ts +0 -65
  950. package/boot/config/apps/ng-package.json +0 -6
  951. package/boot/config/apps/src/apps.service.ts +0 -62
  952. package/boot/config/apps/src/auth.guard.ts +0 -22
  953. package/boot/config/apps/src/interfaces.ts +0 -58
  954. package/boot/config/apps/src/reuse-strategy.ts +0 -10
  955. package/boot/config/apps/src/showdowDOMWrapper.ts +0 -28
  956. package/boot/config/plugins/ng-package.json +0 -6
  957. package/boot/config/plugins/src/getNgZone.ts +0 -7
  958. package/boot/config/plugins/src/interfaces.ts +0 -75
  959. package/boot/config/plugins/src/plugins.service.ts +0 -110
  960. package/boot/config/translate/constants.ts +0 -4
  961. package/boot/config/translate/ng-package.json +0 -6
  962. package/boot/config/translate/primeng/i18n/tr.ts +0 -59
  963. package/boot/host/ng-package.json +0 -6
  964. package/boot/host/src/app.component.ts +0 -51
  965. package/boot/host/src/bootstrap.ts +0 -87
  966. package/boot/index.ts +0 -1
  967. package/boot/mfe/ng-package.json +0 -6
  968. package/boot/mfe/src/app.component.ts +0 -63
  969. package/boot/mfe/src/appComponentLoader.ts +0 -4
  970. package/boot/mfe/src/bootstrap.ts +0 -97
  971. package/boot/mfe/src/loadStyles.ts +0 -42
  972. package/boot/mfe/src/monaco.config.ts +0 -266
  973. package/boot/ng-package.json +0 -6
  974. package/http/index.ts +0 -13
  975. package/http/lib/enums.ts +0 -31
  976. package/http/lib/interfaces.ts +0 -46
  977. package/http/ng-package.json +0 -6
  978. package/http/src/httpBackend.ts +0 -12
  979. package/http/src/httpClient.ts +0 -20
  980. package/http/src/interceptor/accept-language.interceptor.ts +0 -32
  981. package/http/src/serviceBase.ts +0 -175
  982. package/http/src/serviceMockBase.ts +0 -12
  983. package/http/src/serviceRequest.ts +0 -28
  984. package/http/src/serviceStateMethods.ts +0 -211
  985. package/i18n/ng-package.json +0 -6
  986. package/i18n/src/folder-name-token.ts +0 -3
  987. package/i18n/src/i18n.module.ts +0 -11
  988. package/i18n/src/loader.ts +0 -13
  989. package/i18n/src/provideI18n.ts +0 -18
  990. package/i18n/src/provideScope.ts +0 -20
  991. package/keycloak/index.ts +0 -1
  992. package/keycloak/ng-package.json +0 -6
  993. package/keycloak/src/auth.interceptor.ts +0 -103
  994. package/ng-package.json +0 -16
  995. package/project.json +0 -39
  996. package/provider/ng-package.json +0 -6
  997. package/provider/src/index.ts +0 -5
  998. package/provider/src/prodiveHost.ts +0 -15
  999. package/provider/src/prodiveHostRouter.ts +0 -21
  1000. package/provider/src/provideHostKeycloak.ts +0 -34
  1001. package/provider/src/provideLocaleId.ts +0 -22
  1002. package/tsconfig.lib.json +0 -12
  1003. package/tsconfig.lib.prod.json +0 -10
  1004. package/tsconfig.spec.json +0 -9
  1005. package/ui/autoComplete/ng-package.json +0 -6
  1006. package/ui/autoComplete/src/auto-complete.component.html +0 -14
  1007. package/ui/autoComplete/src/auto-complete.component.ts +0 -130
  1008. package/ui/autoComplete/src/interfaces.ts +0 -35
  1009. package/ui/badge/ng-package.json +0 -6
  1010. package/ui/badge/src/badge.component.html +0 -11
  1011. package/ui/badge/src/badge.component.ts +0 -63
  1012. package/ui/button/ng-package.json +0 -6
  1013. package/ui/button/src/button.component.html +0 -12
  1014. package/ui/button/src/button.component.ts +0 -47
  1015. package/ui/button/src/split-button.component.html +0 -2
  1016. package/ui/button/src/split-button.component.ts +0 -17
  1017. package/ui/calendar/ng-package.json +0 -6
  1018. package/ui/calendar/src/calendar.component.html +0 -48
  1019. package/ui/calendar/src/calendar.component.ts +0 -257
  1020. package/ui/charts/index.ts +0 -13
  1021. package/ui/charts/ng-package.json +0 -6
  1022. package/ui/charts/src/amCharts/column/column-chart.component.ts +0 -144
  1023. package/ui/charts/src/amCharts/line/line-chart.component.ts +0 -194
  1024. package/ui/charts/src/amCharts/pie/pie-chart.component.ts +0 -132
  1025. package/ui/charts/src/highCharts/area/area-chart.component.ts +0 -112
  1026. package/ui/charts/src/highCharts/bar/bar-chart.component.ts +0 -100
  1027. package/ui/charts/src/highCharts/bar/bar-chart.components.scss +0 -50
  1028. package/ui/charts/src/highCharts/column/column-chart.component copy.ts +0 -50
  1029. package/ui/charts/src/highCharts/column/column-chart.component.ts +0 -125
  1030. package/ui/charts/src/highCharts/column/column-chart.components.scss +0 -50
  1031. package/ui/charts/src/highCharts/gauge/solid-gauge.component.ts +0 -199
  1032. package/ui/charts/src/highCharts/heatmap/heatMap-chart.component.ts +0 -279
  1033. package/ui/charts/src/highCharts/line/line-chart-datetime-axis.component.ts +0 -185
  1034. package/ui/charts/src/highCharts/line/line-chart-series.component.ts +0 -92
  1035. package/ui/charts/src/highCharts/line/line-chart.component.ts +0 -85
  1036. package/ui/charts/src/highCharts/pie/pie-chart.component.ts +0 -139
  1037. package/ui/charts/src/theme/theme.ts +0 -55
  1038. package/ui/checkbox/ng-package.json +0 -6
  1039. package/ui/checkbox/src/check-box.component.html +0 -15
  1040. package/ui/checkbox/src/check-box.component.ts +0 -24
  1041. package/ui/checkbox/src/tri-state-checkbox.component.html +0 -7
  1042. package/ui/checkbox/src/tri-state-checkbox.component.ts +0 -20
  1043. package/ui/chip/index.ts +0 -1
  1044. package/ui/chip/ng-package.json +0 -6
  1045. package/ui/chip/src/chip.component.html +0 -33
  1046. package/ui/chip/src/chip.component.ts +0 -144
  1047. package/ui/collapse-reorder-list/index.ts +0 -1
  1048. package/ui/collapse-reorder-list/ng-package.json +0 -6
  1049. package/ui/collapse-reorder-list/src/collapse-reorder-list.component.html +0 -42
  1050. package/ui/collapse-reorder-list/src/collapse-reorder-list.component.scss +0 -24
  1051. package/ui/collapse-reorder-list/src/collapse-reorder-list.component.ts +0 -56
  1052. package/ui/dxEditor/ng-package.json +0 -6
  1053. package/ui/dxEditor/src/dx-editor.component.html +0 -67
  1054. package/ui/dxEditor/src/dx-editor.component.ts +0 -19
  1055. package/ui/dxField/ng-package.json +0 -6
  1056. package/ui/dxField/src/dx-field.component.html +0 -15
  1057. package/ui/dxField/src/dx-field.component.ts +0 -17
  1058. package/ui/editor/ng-package.json +0 -6
  1059. package/ui/editor/src/aril-editor.component.html +0 -16
  1060. package/ui/editor/src/aril-editor.component.scss +0 -18
  1061. package/ui/editor/src/aril-editor.component.ts +0 -176
  1062. package/ui/editor/src/types.ts +0 -24
  1063. package/ui/field/ng-package.json +0 -6
  1064. package/ui/field/src/field.component.html +0 -27
  1065. package/ui/field/src/field.component.ts +0 -53
  1066. package/ui/fileUpload/ng-package.json +0 -6
  1067. package/ui/fileUpload/src/file-upload.component.html +0 -76
  1068. package/ui/fileUpload/src/file-upload.component.ts +0 -90
  1069. package/ui/form/index.ts +0 -18
  1070. package/ui/form/ng-package.json +0 -6
  1071. package/ui/form/src/form-submit-button.component.html +0 -12
  1072. package/ui/form/src/form-submit-button.component.ts +0 -36
  1073. package/ui/form/src/form.component.ts +0 -20
  1074. package/ui/img-viewer/index.ts +0 -2
  1075. package/ui/img-viewer/ng-package.json +0 -6
  1076. package/ui/img-viewer/src/img-viewer.component.html +0 -12
  1077. package/ui/img-viewer/src/img-viewer.component.scss +0 -8
  1078. package/ui/img-viewer/src/img-viewer.component.ts +0 -59
  1079. package/ui/index.ts +0 -1
  1080. package/ui/json-diff-comparison/ng-package.json +0 -6
  1081. package/ui/json-diff-comparison/src/json-diff.component.html +0 -5
  1082. package/ui/json-diff-comparison/src/json-diff.component.ts +0 -45
  1083. package/ui/lib/index.ts +0 -17
  1084. package/ui/lib/ng-package.json +0 -6
  1085. package/ui/lib/src/form/form-error-message.component.ts +0 -25
  1086. package/ui/lib/src/form/form-error-message.directive.ts +0 -32
  1087. package/ui/lib/src/form/form-field-builder.ts +0 -31
  1088. package/ui/lib/src/form/form-validation.ts +0 -14
  1089. package/ui/lib/src/grid/enum-color-picker.pipe.ts +0 -33
  1090. package/ui/lib/src/grid/flex-grid.directive.ts +0 -10
  1091. package/ui/lib/src/input/baseInput.ts +0 -30
  1092. package/ui/lib/src/input/common-input-validators.service.ts +0 -57
  1093. package/ui/lib/src/input/dx-input-error-message.pipe.ts +0 -16
  1094. package/ui/lib/src/input/input-disabled.directive.ts +0 -15
  1095. package/ui/lib/src/input/input-error-message.pipe.ts +0 -71
  1096. package/ui/lib/src/input/input-transforms.ts +0 -11
  1097. package/ui/lib/src/input/value-accessor.directive.ts +0 -31
  1098. package/ui/loader/ng-package.json +0 -6
  1099. package/ui/loader/src/loader.component.html +0 -7
  1100. package/ui/loader/src/loader.component.scss +0 -6
  1101. package/ui/loader/src/loader.component.ts +0 -14
  1102. package/ui/mask/ng-package.json +0 -6
  1103. package/ui/mask/src/mask.component.css +0 -23
  1104. package/ui/mask/src/mask.component.html +0 -17
  1105. package/ui/mask/src/mask.component.ts +0 -34
  1106. package/ui/multiSelect/ng-package.json +0 -6
  1107. package/ui/multiSelect/src/interfaces.ts +0 -41
  1108. package/ui/multiSelect/src/multi-select.component.html +0 -14
  1109. package/ui/multiSelect/src/multi-select.component.ts +0 -66
  1110. package/ui/ng-package.json +0 -6
  1111. package/ui/number/ng-package.json +0 -6
  1112. package/ui/number/src/number.component.html +0 -26
  1113. package/ui/number/src/number.component.ts +0 -36
  1114. package/ui/operation-types-dialog/ng-package.json +0 -6
  1115. package/ui/operation-types-dialog/src/operation-types-dialog.component.ts +0 -98
  1116. package/ui/overlayPanel/ng-package.json +0 -6
  1117. package/ui/overlayPanel/src/overlay-panel.component.html +0 -5
  1118. package/ui/overlayPanel/src/overlay-panel.component.ts +0 -16
  1119. package/ui/panel/ng-package.json +0 -6
  1120. package/ui/panel/src/panel.component.css +0 -38
  1121. package/ui/panel/src/panel.component.html +0 -44
  1122. package/ui/panel/src/panel.component.ts +0 -31
  1123. package/ui/password/ng-package.json +0 -6
  1124. package/ui/password/src/password.component.html +0 -25
  1125. package/ui/password/src/password.component.ts +0 -22
  1126. package/ui/pdf-viewer/ng-package.json +0 -6
  1127. package/ui/pdf-viewer/src/pdf-viewer.component.html +0 -16
  1128. package/ui/pdf-viewer/src/pdf-viewer.component.scss +0 -8
  1129. package/ui/pdf-viewer/src/pdf-viewer.component.ts +0 -28
  1130. package/ui/progressbar/dist/index.js +0 -13
  1131. package/ui/progressbar/ng-package.json +0 -6
  1132. package/ui/progressbar/src/dist/progressbar.component.js +0 -28
  1133. package/ui/progressbar/src/progressbar.component.html +0 -1
  1134. package/ui/progressbar/src/progressbar.component.ts +0 -18
  1135. package/ui/radioButton/ng-package.json +0 -6
  1136. package/ui/radioButton/src/radio-button.component.html +0 -23
  1137. package/ui/radioButton/src/radio-button.component.scss +0 -17
  1138. package/ui/radioButton/src/radio-button.component.ts +0 -39
  1139. package/ui/relativeDateSelector/index.ts +0 -1
  1140. package/ui/relativeDateSelector/ng-package.json +0 -6
  1141. package/ui/relativeDateSelector/src/enum.ts +0 -29
  1142. package/ui/relativeDateSelector/src/relative-date-selector.component.html +0 -118
  1143. package/ui/relativeDateSelector/src/relative-date-selector.component.scss +0 -154
  1144. package/ui/relativeDateSelector/src/relative-date-selector.component.ts +0 -291
  1145. package/ui/selectBox/ng-package.json +0 -6
  1146. package/ui/selectBox/src/interfaces.ts +0 -41
  1147. package/ui/selectBox/src/select-box.component.html +0 -19
  1148. package/ui/selectBox/src/select-box.component.ts +0 -79
  1149. package/ui/styles/ui.common.scss +0 -42
  1150. package/ui/switch/ng-package.json +0 -6
  1151. package/ui/switch/src/switch.component.html +0 -7
  1152. package/ui/switch/src/switch.component.ts +0 -18
  1153. package/ui/table/index.ts +0 -76
  1154. package/ui/table/ng-package.json +0 -6
  1155. package/ui/table/src/export-overlay-panel.component.ts +0 -330
  1156. package/ui/table/src/interfaces.ts +0 -162
  1157. package/ui/table/src/table-column.component.ts +0 -22
  1158. package/ui/table/src/table.component.html +0 -404
  1159. package/ui/table/src/table.component.scss +0 -15
  1160. package/ui/table/src/table.component.ts +0 -368
  1161. package/ui/table-expand/index.ts +0 -41
  1162. package/ui/table-expand/ng-package.json +0 -6
  1163. package/ui/table-expand/src/table-column.component.ts +0 -32
  1164. package/ui/table-expand/src/table-expand-area.component.ts +0 -18
  1165. package/ui/table-expand/src/table.component.html +0 -101
  1166. package/ui/table-expand/src/table.component.ts +0 -92
  1167. package/ui/tag/index.ts +0 -1
  1168. package/ui/tag/ng-package.json +0 -6
  1169. package/ui/tag/src/interface.ts +0 -1
  1170. package/ui/tag/src/tag.component.html +0 -9
  1171. package/ui/tag/src/tag.component.ts +0 -17
  1172. package/ui/tagBox/ng-package.json +0 -6
  1173. package/ui/tagBox/src/tag-box.component.html +0 -26
  1174. package/ui/tagBox/src/tag-box.component.ts +0 -56
  1175. package/ui/text/ng-package.json +0 -6
  1176. package/ui/text/src/text.component.html +0 -21
  1177. package/ui/text/src/text.component.ts +0 -55
  1178. package/ui/textArea/ng-package.json +0 -6
  1179. package/ui/textArea/src/text-area.component.html +0 -12
  1180. package/ui/textArea/src/text-area.component.ts +0 -22
  1181. package/ui/toggle-button/index.ts +0 -1
  1182. package/ui/toggle-button/ng-package.json +0 -6
  1183. package/ui/toggle-button/src/toggle-button.component.html +0 -13
  1184. package/ui/toggle-button/src/toggle-button.component.scss +0 -19
  1185. package/ui/toggle-button/src/toggle-button.component.ts +0 -22
  1186. package/ui/tooltip/ng-package.json +0 -6
  1187. package/ui/tooltip/src/tooltip-component.html +0 -10
  1188. package/ui/tooltip/src/tooltip-component.ts +0 -20
  1189. package/ui/translate-input/ng-package.json +0 -6
  1190. package/ui/translate-input/src/aril-lang-modal/aril-lang-modal.component.html +0 -46
  1191. package/ui/translate-input/src/aril-lang-modal/aril-lang-modal.component.scss +0 -9
  1192. package/ui/translate-input/src/aril-lang-modal/aril-lang-modal.component.ts +0 -74
  1193. package/ui/translate-input/src/aril-lang-modal/constants.ts +0 -16
  1194. package/ui/translate-input/src/aril-translate-input.component.ts +0 -152
  1195. package/ui/translate-input/src/interface.ts +0 -14
  1196. package/ui/tree/ng-package.json +0 -6
  1197. package/ui/tree/src/tree.component.html +0 -17
  1198. package/ui/tree/src/tree.component.ts +0 -65
  1199. package/ui/treeSelect/ng-package.json +0 -6
  1200. package/ui/treeSelect/src/treeSelect.component.html +0 -18
  1201. package/ui/treeSelect/src/treeSelect.component.ts +0 -43
  1202. package/ui/treeTable/ng-package.json +0 -6
  1203. package/ui/treeTable/src/tree-table.component.html +0 -88
  1204. package/ui/treeTable/src/tree-table.component.ts +0 -57
  1205. package/ui/value/ng-package.json +0 -6
  1206. package/ui/value/src/value.component.html +0 -94
  1207. package/ui/value/src/value.component.scss +0 -6
  1208. package/ui/value/src/value.component.ts +0 -268
  1209. package/ui-business/assetPicker/index.ts +0 -1
  1210. package/ui-business/assetPicker/ng-package.json +0 -6
  1211. package/ui-business/assetPicker/src/asset-picker.component.html +0 -29
  1212. package/ui-business/assetPicker/src/asset-picker.component.ts +0 -259
  1213. package/ui-business/assetPicker/src/interface.ts +0 -83
  1214. package/ui-business/detailed-overlay-panel/ng-package.json +0 -6
  1215. package/ui-business/detailed-overlay-panel/src/detailed-overlay-panel.component.html +0 -52
  1216. package/ui-business/detailed-overlay-panel/src/detailed-overlay-panel.component.scss +0 -19
  1217. package/ui-business/detailed-overlay-panel/src/detailed-overlay-panel.component.ts +0 -66
  1218. package/ui-business/detailed-overlay-panel/src/interface.ts +0 -62
  1219. package/ui-business/enumPicker/index.ts +0 -1
  1220. package/ui-business/enumPicker/ng-package.json +0 -6
  1221. package/ui-business/enumPicker/src/enum-picker.component.html +0 -39
  1222. package/ui-business/enumPicker/src/enum-picker.component.ts +0 -147
  1223. package/ui-business/enumPicker/src/interface.ts +0 -44
  1224. package/ui-business/image-viewer/index.ts +0 -1
  1225. package/ui-business/image-viewer/ng-package.json +0 -6
  1226. package/ui-business/image-viewer/src/aril-image-viewer.component.ts +0 -92
  1227. package/ui-business/index.ts +0 -1
  1228. package/ui-business/multiple-ref-value/ng-package.json +0 -6
  1229. package/ui-business/multiple-ref-value/src/multiple-ref-value.component.html +0 -26
  1230. package/ui-business/multiple-ref-value/src/multiple-ref-value.component.ts +0 -21
  1231. package/ui-business/ng-package.json +0 -6
  1232. package/ui-business/notification-templates-dialog/ng-package.json +0 -6
  1233. package/ui-business/notification-templates-dialog/src/interface.ts +0 -18
  1234. package/ui-business/notification-templates-dialog/src/notification-templates-dialog.component.html +0 -31
  1235. package/ui-business/notification-templates-dialog/src/notification-templates-dialog.component.ts +0 -69
  1236. package/ui-business/operation-types-dialog/ng-package.json +0 -6
  1237. package/ui-business/operation-types-dialog/src/operation-types-dialog.component.ts +0 -78
  1238. package/ui-business/ref-value/ng-package.json +0 -6
  1239. package/ui-business/ref-value/src/ref-value.component.html +0 -29
  1240. package/ui-business/ref-value/src/ref-value.component.ts +0 -41
  1241. package/ui-business/rolePicker/ng-package.json +0 -6
  1242. package/ui-business/rolePicker/src/interface.ts +0 -56
  1243. package/ui-business/rolePicker/src/role-picker.component.html +0 -21
  1244. package/ui-business/rolePicker/src/role-picker.component.ts +0 -88
  1245. package/ui-business/userPicker/index.ts +0 -1
  1246. package/ui-business/userPicker/ng-package.json +0 -6
  1247. package/ui-business/userPicker/src/interface.ts +0 -27
  1248. package/ui-business/userPicker/src/user-picker.component.html +0 -20
  1249. package/ui-business/userPicker/src/user-picker.component.ts +0 -52
  1250. package/util/block/ng-package.json +0 -6
  1251. package/util/block/src/block.ts +0 -65
  1252. package/util/block/src/blockui.css +0 -56
  1253. package/util/block/src/blockui.min.js +0 -7
  1254. package/util/custom_pages/ng-package.json +0 -6
  1255. package/util/custom_pages/src/notFound.component.ts +0 -34
  1256. package/util/directives/ng-package.json +0 -6
  1257. package/util/directives/src/detail-page-customization/detail-page-customization.directive.md +0 -199
  1258. package/util/directives/src/detail-page-customization/detail-page-customization.directive.ts +0 -343
  1259. package/util/directives/src/detail-page-customization/index.ts +0 -2
  1260. package/util/directives/src/detail-page-customization/models.ts +0 -61
  1261. package/util/directives/src/dialog-component/plugin-dialog.component.ts +0 -22
  1262. package/util/directives/src/dialog-service/plugin-dialog.service.ts +0 -12
  1263. package/util/index.ts +0 -1
  1264. package/util/lib/index.ts +0 -4
  1265. package/util/lib/ng-package.json +0 -6
  1266. package/util/lib/src/interfaces.ts +0 -44
  1267. package/util/lib/src/module-router.ts +0 -9
  1268. package/util/lib/src/types.ts +0 -61
  1269. package/util/lib/src/validators/iban.validator.ts +0 -202
  1270. package/util/lib/src/validators/index.ts +0 -4
  1271. package/util/lib/src/validators/max-array-length.validator.ts +0 -18
  1272. package/util/lib/src/validators/min-array-length.validator.ts +0 -18
  1273. package/util/lib/src/validators/tckn.validator.ts +0 -55
  1274. package/util/lib/src/validators/validators.ts +0 -21
  1275. package/util/loaders/index.ts +0 -1
  1276. package/util/loaders/ng-package.json +0 -6
  1277. package/util/loaders/style/style.loader.service.ts +0 -69
  1278. package/util/ng-package.json +0 -6
  1279. package/util/pipes/ng-package.json +0 -6
  1280. package/util/pipes/src/distance-to-now.pipe.ts +0 -37
  1281. package/util/pipes/src/get-column-by-field.pipe.ts +0 -11
  1282. package/util/pipes/src/parse.pipe.ts +0 -15
  1283. package/util/pipes/src/round-number.pipe.ts +0 -75
  1284. package/util/pipes/src/safe.pipe.ts +0 -27
  1285. package/util/pipes/src/translate-json/index.ts +0 -1
  1286. package/util/pipes/src/translate-json/translate-json.pipe.ts +0 -34
  1287. package/util/primitive-extensions/ng-package.json +0 -6
  1288. package/util/primitive-extensions/src/date.extensions.ts +0 -135
  1289. package/util/primitive-extensions/src/number.extensions.ts +0 -57
  1290. package/util/primitive-extensions/src/string.extensions.ts +0 -39
  1291. package/util/pub-sub/ng-package.json +0 -6
  1292. package/util/pub-sub/src/pub-sub.service.ts +0 -35
  1293. package/util/sync-active-tab-route/ng-package.json +0 -6
  1294. package/util/sync-active-tab-route/src/sync-active-tab-route.directive.ts +0 -47
  1295. package/util/unwrap/ng-package.json +0 -6
  1296. package/util/unwrap/src/unwrap-tag.directive.ts +0 -18
  1297. /package/boot/config/api/{index.ts → index.d.ts} +0 -0
  1298. /package/boot/config/apps/{index.ts → index.d.ts} +0 -0
  1299. /package/boot/config/plugins/{index.ts → index.d.ts} +0 -0
  1300. /package/boot/config/translate/{index.ts → index.d.ts} +0 -0
  1301. /package/boot/host/{index.ts → index.d.ts} +0 -0
  1302. /package/boot/mfe/{index.ts → index.d.ts} +0 -0
  1303. /package/i18n/{index.ts → index.d.ts} +0 -0
  1304. /package/provider/{index.ts → index.d.ts} +0 -0
  1305. /package/{public-api.ts → public-api.d.ts} +0 -0
  1306. /package/ui/autoComplete/{index.ts → index.d.ts} +0 -0
  1307. /package/ui/badge/{index.ts → index.d.ts} +0 -0
  1308. /package/ui/button/{index.ts → index.d.ts} +0 -0
  1309. /package/ui/calendar/{index.ts → index.d.ts} +0 -0
  1310. /package/ui/checkbox/{index.ts → index.d.ts} +0 -0
  1311. /package/ui/dxEditor/{index.ts → index.d.ts} +0 -0
  1312. /package/ui/dxField/{index.ts → index.d.ts} +0 -0
  1313. /package/ui/editor/{index.ts → index.d.ts} +0 -0
  1314. /package/ui/field/{index.ts → index.d.ts} +0 -0
  1315. /package/ui/fileUpload/{index.ts → index.d.ts} +0 -0
  1316. /package/ui/json-diff-comparison/{index.ts → index.d.ts} +0 -0
  1317. /package/ui/loader/{index.ts → index.d.ts} +0 -0
  1318. /package/ui/mask/{index.ts → index.d.ts} +0 -0
  1319. /package/ui/multiSelect/{index.ts → index.d.ts} +0 -0
  1320. /package/ui/number/{index.ts → index.d.ts} +0 -0
  1321. /package/ui/operation-types-dialog/{index.ts → index.d.ts} +0 -0
  1322. /package/ui/overlayPanel/{index.ts → index.d.ts} +0 -0
  1323. /package/ui/panel/{index.ts → index.d.ts} +0 -0
  1324. /package/ui/password/{index.ts → index.d.ts} +0 -0
  1325. /package/ui/pdf-viewer/{index.ts → index.d.ts} +0 -0
  1326. /package/ui/progressbar/{index.ts → index.d.ts} +0 -0
  1327. /package/ui/radioButton/{index.ts → index.d.ts} +0 -0
  1328. /package/ui/selectBox/{index.ts → index.d.ts} +0 -0
  1329. /package/ui/switch/{index.ts → index.d.ts} +0 -0
  1330. /package/ui/tagBox/{index.ts → index.d.ts} +0 -0
  1331. /package/ui/text/{index.ts → index.d.ts} +0 -0
  1332. /package/ui/textArea/{index.ts → index.d.ts} +0 -0
  1333. /package/ui/tooltip/{index.ts → index.d.ts} +0 -0
  1334. /package/ui/translate-input/{index.ts → index.d.ts} +0 -0
  1335. /package/ui/tree/{index.ts → index.d.ts} +0 -0
  1336. /package/ui/treeSelect/{index.ts → index.d.ts} +0 -0
  1337. /package/ui/treeTable/{index.ts → index.d.ts} +0 -0
  1338. /package/ui/value/{index.ts → index.d.ts} +0 -0
  1339. /package/ui-business/detailed-overlay-panel/{index.ts → index.d.ts} +0 -0
  1340. /package/ui-business/multiple-ref-value/{index.ts → index.d.ts} +0 -0
  1341. /package/ui-business/notification-templates-dialog/{index.ts → index.d.ts} +0 -0
  1342. /package/ui-business/operation-types-dialog/{index.ts → index.d.ts} +0 -0
  1343. /package/ui-business/ref-value/{index.ts → index.d.ts} +0 -0
  1344. /package/ui-business/rolePicker/{index.ts → index.d.ts} +0 -0
  1345. /package/util/block/{index.ts → index.d.ts} +0 -0
  1346. /package/util/custom_pages/{index.ts → index.d.ts} +0 -0
  1347. /package/util/directives/{index.ts → index.d.ts} +0 -0
  1348. /package/util/pipes/{index.ts → index.d.ts} +0 -0
  1349. /package/util/primitive-extensions/{index.ts → index.d.ts} +0 -0
  1350. /package/util/primitive-extensions/src/{boolean.extensions.ts → boolean.extensions.d.ts} +0 -0
  1351. /package/util/pub-sub/{index.ts → index.d.ts} +0 -0
  1352. /package/util/sync-active-tab-route/{index.ts → index.d.ts} +0 -0
  1353. /package/util/unwrap/{index.ts → index.d.ts} +0 -0
@@ -0,0 +1,285 @@
1
+ import * as i0 from '@angular/core';
2
+ import { signal, Component, ViewChild } from '@angular/core';
3
+ import * as i3 from '@angular/forms';
4
+ import { ReactiveFormsModule, FormsModule } from '@angular/forms';
5
+ import { CommonModule } from '@angular/common';
6
+ import * as i4 from 'primeng/overlaypanel';
7
+ import { OverlayPanelModule } from 'primeng/overlaypanel';
8
+ import * as i5 from 'primeng/tabview';
9
+ import { TabViewModule } from 'primeng/tabview';
10
+ import * as i6 from 'primeng/tooltip';
11
+ import { TooltipModule } from 'primeng/tooltip';
12
+ import * as i1 from '@ngneat/transloco';
13
+ import { TranslocoModule } from '@ngneat/transloco';
14
+ import { parse, format } from 'date-fns';
15
+ import * as i2 from 'aril/ui/lib';
16
+ import { BaseInputComponent, InputErrorMessagePipe, ValueAccessorDirective } from 'aril/ui/lib';
17
+ import { CalendarComponent } from 'aril/ui/calendar';
18
+ import { ButtonComponent } from 'aril/ui/button';
19
+ import { NumberComponent } from 'aril/ui/number';
20
+ import { SelectBoxComponent } from 'aril/ui/selectBox';
21
+ import 'aril/util/primitive-extensions';
22
+
23
+ var RelativeDateUnit;
24
+ (function (RelativeDateUnit) {
25
+ RelativeDateUnit["Seconds"] = "s";
26
+ RelativeDateUnit["Minutes"] = "m";
27
+ RelativeDateUnit["Hours"] = "h";
28
+ RelativeDateUnit["Days"] = "d";
29
+ RelativeDateUnit["Weeks"] = "w";
30
+ RelativeDateUnit["Months"] = "M";
31
+ RelativeDateUnit["Years"] = "y";
32
+ })(RelativeDateUnit || (RelativeDateUnit = {}));
33
+ var RelativeDateDirection;
34
+ (function (RelativeDateDirection) {
35
+ RelativeDateDirection["Past"] = "-";
36
+ RelativeDateDirection["Future"] = "+";
37
+ })(RelativeDateDirection || (RelativeDateDirection = {}));
38
+ var RelativeDateUnitName;
39
+ (function (RelativeDateUnitName) {
40
+ RelativeDateUnitName["Seconds"] = "seconds";
41
+ RelativeDateUnitName["Minutes"] = "minutes";
42
+ RelativeDateUnitName["Hours"] = "hours";
43
+ RelativeDateUnitName["Days"] = "days";
44
+ RelativeDateUnitName["Weeks"] = "weeks";
45
+ RelativeDateUnitName["Months"] = "months";
46
+ RelativeDateUnitName["Years"] = "years";
47
+ })(RelativeDateUnitName || (RelativeDateUnitName = {}));
48
+ var RelativeDateUnitSuffix;
49
+ (function (RelativeDateUnitSuffix) {
50
+ RelativeDateUnitSuffix["Ago"] = "Ago";
51
+ RelativeDateUnitSuffix["FromNow"] = "FromNow";
52
+ })(RelativeDateUnitSuffix || (RelativeDateUnitSuffix = {}));
53
+
54
+ class RelativeDateSelectorComponent extends BaseInputComponent {
55
+ constructor(translocoService) {
56
+ super();
57
+ this.translocoService = translocoService;
58
+ this.activeTabIndex = signal(0);
59
+ this.showQuickSelect = signal(false);
60
+ this.showOverlayPanel = signal(false);
61
+ // Absolute mode
62
+ this.absoluteDate = null;
63
+ // Relative mode
64
+ this.relativeValue = null;
65
+ this.relativeUnit = null;
66
+ this.relativeDirection = RelativeDateDirection.Past;
67
+ this.relativeUnits = [];
68
+ this.quickSelectDirections = [];
69
+ this.quickSelectUnits = [];
70
+ this.commonlyUsedOptions = [];
71
+ // Quick select inputs
72
+ this.quickSelectDirection = RelativeDateDirection.Past;
73
+ this.quickSelectValue = null;
74
+ this.quickSelectUnit = RelativeDateUnit.Minutes;
75
+ this.initializeOptions();
76
+ }
77
+ ngOnInit() {
78
+ this.ngControl.control?.valueChanges.subscribe((value) => {
79
+ this.onValueChange(value);
80
+ });
81
+ }
82
+ ngAfterViewInit() {
83
+ if (this.ngControl.control?.value != null) {
84
+ this.onValueChange(this.ngControl.control?.value);
85
+ }
86
+ }
87
+ initializeOptions() {
88
+ const units = Object.values(RelativeDateUnit);
89
+ const unitNames = Object.values(RelativeDateUnitName);
90
+ const directions = Object.values(RelativeDateDirection);
91
+ const directionSuffixes = Object.values(RelativeDateUnitSuffix);
92
+ // Relative units
93
+ this.relativeUnits = units.flatMap((code, index) => directions.map((dir, dirIndex) => ({
94
+ label: this.translocoService.translate(`relativeDateSelector.units.${unitNames[index]}${directionSuffixes[dirIndex]}`),
95
+ value: `${code}${dir}`
96
+ })));
97
+ // Quick Select - Last/Next options
98
+ this.quickSelectDirections = [
99
+ { label: this.translocoService.translate('relativeDateSelector.last'), value: RelativeDateDirection.Past },
100
+ { label: this.translocoService.translate('relativeDateSelector.next'), value: RelativeDateDirection.Future }
101
+ ];
102
+ this.quickSelectUnits = units.map((code, index) => ({
103
+ label: this.translocoService.translate(`relativeDateSelector.units.${unitNames[index]}`),
104
+ value: code
105
+ }));
106
+ // Commonly used quick selects
107
+ const quickOptions = [
108
+ { key: 'today', value: `now/${RelativeDateUnit.Days}` },
109
+ { key: 'thisWeek', value: `now/${RelativeDateUnit.Weeks}` },
110
+ { key: 'last1Minute', value: `now${RelativeDateDirection.Past}1${RelativeDateUnit.Minutes}` },
111
+ { key: 'last15Minutes', value: `now${RelativeDateDirection.Past}15${RelativeDateUnit.Minutes}` },
112
+ { key: 'last30Minutes', value: `now${RelativeDateDirection.Past}30${RelativeDateUnit.Minutes}` },
113
+ { key: 'last1Hour', value: `now${RelativeDateDirection.Past}1${RelativeDateUnit.Hours}` },
114
+ { key: 'last24Hours', value: `now${RelativeDateDirection.Past}24${RelativeDateUnit.Hours}` },
115
+ { key: 'last7Days', value: `now${RelativeDateDirection.Past}7${RelativeDateUnit.Days}` },
116
+ { key: 'last30Days', value: `now${RelativeDateDirection.Past}30${RelativeDateUnit.Days}` },
117
+ { key: 'last90Days', value: `now${RelativeDateDirection.Past}90${RelativeDateUnit.Days}` },
118
+ { key: 'last1Year', value: `now${RelativeDateDirection.Past}1${RelativeDateUnit.Years}` }
119
+ ];
120
+ this.commonlyUsedOptions = quickOptions.map((opt) => ({
121
+ label: this.translocoService.translate(`relativeDateSelector.quickOptions.${opt.key}`),
122
+ value: opt.value
123
+ }));
124
+ }
125
+ onValueChange(value) {
126
+ if (value != null) {
127
+ if (typeof value === 'number') {
128
+ this.activeTabIndex.set(0);
129
+ this.absoluteDate = value;
130
+ }
131
+ else if (typeof value === 'string') {
132
+ this.activeTabIndex.set(1);
133
+ this.parseRelativeValue(value);
134
+ }
135
+ }
136
+ else {
137
+ this.absoluteDate = null;
138
+ this.relativeValue = null;
139
+ this.relativeUnit = null;
140
+ }
141
+ }
142
+ parseRelativeValue(value) {
143
+ const match = value.match(/^now\s*(?:([+-])\s*(\d+)([smhdwMy]))?\s*(?:\/([smhdwMy]))?$/);
144
+ if (match) {
145
+ const [, direction, amount, unit] = match;
146
+ if (direction && amount && unit) {
147
+ this.relativeDirection = direction;
148
+ this.relativeValue = parseInt(amount, 10);
149
+ this.relativeUnit = unit + direction;
150
+ }
151
+ }
152
+ }
153
+ onAbsoluteDateChange(date) {
154
+ this.absoluteDate = date;
155
+ this.updateValue();
156
+ }
157
+ onRelativeChange() {
158
+ this.updateValue();
159
+ }
160
+ onTabChange(event) {
161
+ this.activeTabIndex.set(event.index);
162
+ }
163
+ updateValue() {
164
+ if (this.activeTabIndex() === 0 && this.absoluteDate != null) {
165
+ this.ngControl.control?.setValue(this.absoluteDate);
166
+ }
167
+ else if (this.activeTabIndex() === 1 && this.relativeValue != null && this.relativeUnit) {
168
+ const unit = this.relativeUnit.charAt(0);
169
+ const direction = this.relativeUnit.charAt(1);
170
+ this.ngControl.control?.setValue(`now${direction}${this.relativeValue}${unit}`);
171
+ }
172
+ }
173
+ applyQuickSelect(option) {
174
+ this.applyRelativeValue(option.value);
175
+ }
176
+ applyQuickSelectCustom() {
177
+ if (this.quickSelectValue != null && this.quickSelectUnit) {
178
+ const relativeString = `now${this.quickSelectDirection}${this.quickSelectValue}${this.quickSelectUnit}`;
179
+ this.applyRelativeValue(relativeString);
180
+ }
181
+ }
182
+ applyRelativeValue(value) {
183
+ this.activeTabIndex.set(1);
184
+ this.parseRelativeValue(value);
185
+ this.ngControl.control?.setValue(value);
186
+ this.closeQuickSelectPanels();
187
+ }
188
+ closeQuickSelectPanels() {
189
+ this.showQuickSelect.set(false);
190
+ this.showOverlayPanel.set(false);
191
+ }
192
+ toggleQuickSelect(event) {
193
+ event.stopPropagation();
194
+ this.showQuickSelect.update((value) => !value);
195
+ if (this.showQuickSelect()) {
196
+ this.showOverlayPanel.set(false);
197
+ this.overlayPanel?.hide();
198
+ }
199
+ }
200
+ onInputClick(event) {
201
+ this.showQuickSelect.set(false);
202
+ this.overlayPanel?.toggle(event);
203
+ }
204
+ getDisplayValue() {
205
+ const value = this.ngControl.control?.value;
206
+ if (value == null)
207
+ return '';
208
+ if (typeof value === 'number') {
209
+ return this.formatAbsoluteDate(value);
210
+ }
211
+ if (typeof value === 'string') {
212
+ return this.formatRelativeDate(value);
213
+ }
214
+ return '';
215
+ }
216
+ formatAbsoluteDate(value) {
217
+ const dateStr = value.toString();
218
+ if (dateStr.length === 14) {
219
+ try {
220
+ const date = parse(dateStr, 'yyyyMMddHHmmss', new Date());
221
+ return format(date, 'dd.MM.yyyy HH:mm:ss');
222
+ }
223
+ catch (error) {
224
+ return dateStr;
225
+ }
226
+ }
227
+ return dateStr;
228
+ }
229
+ formatRelativeDate(value) {
230
+ const quickOption = this.commonlyUsedOptions.find((opt) => opt.value === value);
231
+ if (quickOption) {
232
+ return quickOption.label;
233
+ }
234
+ const match = value.match(/^now\s*([+-])\s*(\d+)([smhdwMy])$/);
235
+ if (match) {
236
+ const [, direction, amount, unit] = match;
237
+ const directionText = this.translocoService.translate(direction === RelativeDateDirection.Past ? 'relativeDateSelector.last' : 'relativeDateSelector.next');
238
+ const unitText = this.translocoService.translate(this.getUnitTranslationKey(unit, direction));
239
+ return `${directionText} ${amount} ${unitText}`;
240
+ }
241
+ return value;
242
+ }
243
+ getUnitTranslationKey(unit, direction) {
244
+ const unitNameMap = {
245
+ [RelativeDateUnit.Seconds]: RelativeDateUnitName.Seconds,
246
+ [RelativeDateUnit.Minutes]: RelativeDateUnitName.Minutes,
247
+ [RelativeDateUnit.Hours]: RelativeDateUnitName.Hours,
248
+ [RelativeDateUnit.Days]: RelativeDateUnitName.Days,
249
+ [RelativeDateUnit.Weeks]: RelativeDateUnitName.Weeks,
250
+ [RelativeDateUnit.Months]: RelativeDateUnitName.Months,
251
+ [RelativeDateUnit.Years]: RelativeDateUnitName.Years
252
+ };
253
+ const suffix = direction === RelativeDateDirection.Past ? RelativeDateUnitSuffix.Ago : RelativeDateUnitSuffix.FromNow;
254
+ return `relativeDateSelector.units.${unitNameMap[unit]}${suffix}`;
255
+ }
256
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: RelativeDateSelectorComponent, deps: [{ token: i1.TranslocoService }], target: i0.ɵɵFactoryTarget.Component }); }
257
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.1.2", type: RelativeDateSelectorComponent, isStandalone: true, selector: "aril-relative-date-picker[ngModel], aril-relative-date-picker[formControl], aril-relative-date-picker[formControlName]", viewQueries: [{ propertyName: "overlayPanel", first: true, predicate: ["op"], descendants: true }], usesInheritance: true, hostDirectives: [{ directive: i2.ValueAccessorDirective }], ngImport: i0, template: "<div class=\"relative-date-selector\">\r\n\t<div class=\"input-wrapper flex align-items-center\" (click)=\"onInputClick($event)\">\r\n\t\t<input\r\n\t\t\ttype=\"text\"\r\n\t\t\treadonly\r\n\t\t\t[value]=\"getDisplayValue()\"\r\n\t\t\tclass=\"p-inputtext p-component\"\r\n\t\t\t[class.p-invalid]=\"ngControl.invalid && ngControl.touched\"\r\n\t\t\t[placeholder]=\"translocoService.translate('relativeDateSelector.placeholder')\"\r\n\t\t\t[pTooltip]=\"ngControl.invalid && ngControl.touched ? (ngControl.control.value | inputErrorMessage: ngControl) : ''\"\r\n\t\t\t[tooltipOptions]=\"tooltipOptions\" />\r\n\t\t<div class=\"calendar-icon-wrapper flex align-items-center justify-content-center\" (click)=\"toggleQuickSelect($event)\">\r\n\t\t\t<i class=\"pi pi-calendar calendar-icon\"></i>\r\n\t\t</div>\r\n\t</div>\r\n\r\n\t<p-overlayPanel\r\n\t\t#op\r\n\t\t[style]=\"{ minWidth: '350px', maxHeight: '600px', overflow: 'visible' }\"\r\n\t\t[dismissable]=\"true\"\r\n\t\t(onHide)=\"showOverlayPanel.set(false)\">\r\n\t\t<p-tabView (onChange)=\"onTabChange($event)\" [activeIndex]=\"activeTabIndex()\">\r\n\t\t\t<p-tabPanel [header]=\"translocoService.translate('relativeDateSelector.absolute')\">\r\n\t\t\t\t<div class=\"flex justify-content-center\">\r\n\t\t\t\t\t<aril-calendar\r\n\t\t\t\t\t\t[(ngModel)]=\"absoluteDate\"\r\n\t\t\t\t\t\t(ngModelChange)=\"onAbsoluteDateChange($event)\"\r\n\t\t\t\t\t\t[inline]=\"true\"\r\n\t\t\t\t\t\t[showTime]=\"true\"\r\n\t\t\t\t\t\t[showSeconds]=\"true\">\r\n\t\t\t\t\t</aril-calendar>\r\n\t\t\t\t</div>\r\n\t\t\t</p-tabPanel>\r\n\r\n\t\t\t<p-tabPanel [header]=\"translocoService.translate('relativeDateSelector.relative')\">\r\n\t\t\t\t<div>\r\n\t\t\t\t\t<div class=\"flex flex-column gap-2 m-2\">\r\n\t\t\t\t\t\t<aril-number\r\n\t\t\t\t\t\t\t[(ngModel)]=\"relativeValue\"\r\n\t\t\t\t\t\t\t(ngModelChange)=\"onRelativeChange()\"\r\n\t\t\t\t\t\t\t[min]=\"1\"\r\n\t\t\t\t\t\t\t[showButtons]=\"true\"\r\n\t\t\t\t\t\t\t[placeholder]=\"translocoService.translate('relativeDateSelector.valuePlaceholder')\">\r\n\t\t\t\t\t\t</aril-number>\r\n\r\n\t\t\t\t\t\t<aril-select-box\r\n\t\t\t\t\t\t\t[(ngModel)]=\"relativeUnit\"\r\n\t\t\t\t\t\t\t(ngModelChange)=\"onRelativeChange()\"\r\n\t\t\t\t\t\t\t[items]=\"relativeUnits\"\r\n\t\t\t\t\t\t\t[itemKey]=\"'value'\"\r\n\t\t\t\t\t\t\t[itemText]=\"'label'\"\r\n\t\t\t\t\t\t\t[placeholder]=\"translocoService.translate('relativeDateSelector.selectUnit')\">\r\n\t\t\t\t\t\t</aril-select-box>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class=\"m-2\">\r\n\t\t\t\t\t\t<small class=\"text-muted\">\r\n\t\t\t\t\t\t\t<strong>{{ translocoService.translate('relativeDateSelector.examples') }}:</strong> {{ translocoService.translate('relativeDateSelector.examplesText') }}\r\n\t\t\t\t\t\t</small>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\t\t\t</p-tabPanel>\r\n\t\t</p-tabView>\r\n\t</p-overlayPanel>\r\n\r\n\t<!-- Quick Select Panel -->\r\n\t@if (showQuickSelect()) {\r\n\t\t<div class=\"quick-select-panel mt-2\">\r\n\t\t\t<div class=\"quick-select-header flex justify-content-between align-items-center p-3\">\r\n\t\t\t\t<span class=\"title\">{{ translocoService.translate('relativeDateSelector.quickSelect') }}</span>\r\n\t\t\t\t<div class=\"flex align-items-center gap-2\">\r\n\t\t\t\t\t<i class=\"pi pi-times cursor-pointer\" (click)=\"showQuickSelect.set(false)\"></i>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t\t<div class=\"quick-select-body p-3\">\r\n\t\t\t\t<!-- Custom Quick Select Inputs -->\r\n\t\t\t\t<div class=\"quick-select-custom mb-3 pb-3\">\r\n\t\t\t\t\t<div class=\"flex gap-2 align-items-center mb-3\">\r\n\t\t\t\t\t\t<aril-select-box\r\n\t\t\t\t\t\t\t[(ngModel)]=\"quickSelectDirection\"\r\n\t\t\t\t\t\t\t[items]=\"quickSelectDirections\"\r\n\t\t\t\t\t\t\t[itemKey]=\"'value'\"\r\n\t\t\t\t\t\t\t[itemText]=\"'label'\">\r\n\t\t\t\t\t\t</aril-select-box>\r\n\r\n\t\t\t\t\t\t<aril-number [(ngModel)]=\"quickSelectValue\" [min]=\"1\" [showButtons]=\"true\"> </aril-number>\r\n\r\n\t\t\t\t\t\t<aril-select-box\r\n\t\t\t\t\t\t\t[(ngModel)]=\"quickSelectUnit\"\r\n\t\t\t\t\t\t\t[items]=\"quickSelectUnits\"\r\n\t\t\t\t\t\t\t[itemKey]=\"'value'\"\r\n\t\t\t\t\t\t\t[itemText]=\"'label'\">\r\n\t\t\t\t\t\t</aril-select-box>\r\n\r\n\t\t\t\t\t\t<aril-button\r\n\t\t\t\t\t\t\t[label]=\"translocoService.translate('relativeDateSelector.apply')\"\r\n\t\t\t\t\t\t\tcolor=\"primary\"\r\n\t\t\t\t\t\t\t(clickEvent)=\"applyQuickSelectCustom()\"\r\n\t\t\t\t\t\t\t[style]=\"{ 'min-width': '80px' }\">\r\n\t\t\t\t\t\t</aril-button>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<!-- Commonly Used Options -->\r\n\t\t\t\t<div class=\"quick-select-section\">\r\n\t\t\t\t\t<span class=\"title-section mb-2\">{{ translocoService.translate('relativeDateSelector.commonlyUsed') }}</span>\r\n\t\t\t\t\t<div class=\"quick-select-options\">\r\n\t\t\t\t\t\t@for (option of commonlyUsedOptions; track option.value) {\r\n\t\t\t\t\t\t\t<button type=\"button\" class=\"quick-select-option\" (click)=\"applyQuickSelect(option)\">\r\n\t\t\t\t\t\t\t\t{{ option.label }}\r\n\t\t\t\t\t\t\t</button>\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t}\r\n</div>\r\n", styles: [".relative-date-selector{position:relative}.relative-date-selector .input-wrapper{position:relative;cursor:pointer}.relative-date-selector .input-wrapper input{width:100%;padding-right:3rem;cursor:pointer;transition:all var(--transition-duration) ease}.relative-date-selector .input-wrapper input:hover{border-color:var(--focus-border-color)}.relative-date-selector .input-wrapper input:focus{box-shadow:var(--focus-ring);border-color:var(--focus-border-color)}.relative-date-selector .input-wrapper input.p-invalid{border-color:var(--error-300)}.relative-date-selector .input-wrapper .calendar-icon-wrapper{position:absolute;right:.5rem;width:2rem;height:2rem;background:var(--surface-100);border:1px solid var(--surface-border);border-radius:var(--border-radius);cursor:pointer;transition:all var(--transition-duration) ease;z-index:2}.relative-date-selector .input-wrapper .calendar-icon-wrapper:hover{background:var(--surface-200);border-color:var(--primary-color);transform:scale(1.05)}.relative-date-selector .input-wrapper .calendar-icon-wrapper:hover .calendar-icon{color:var(--primary-color)}.relative-date-selector .input-wrapper .calendar-icon-wrapper:active{transform:scale(.98)}.relative-date-selector .input-wrapper .calendar-icon-wrapper .calendar-icon{font-size:.9375rem;color:var(--text-color-secondary);transition:color var(--transition-duration) ease}.relative-date-selector .quick-select-panel{position:absolute;top:100%;right:0;background:var(--surface-0);border:1px solid var(--surface-border);border-radius:8px;box-shadow:0 4px 20px #00000014;z-index:1000;width:460px;max-height:520px;overflow:hidden;animation:slideDown var(--transition-duration) ease}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.relative-date-selector .quick-select-panel .quick-select-header{border-bottom:1px solid var(--surface-200);background:var(--surface-100)}.relative-date-selector .quick-select-panel .quick-select-header .title{margin:0;font-size:13px;font-weight:700;color:var(--surface-600)}.relative-date-selector .quick-select-panel .quick-select-header i{cursor:pointer;color:var(--text-color-secondary);font-size:.875rem;transition:all var(--transition-duration) ease}.relative-date-selector .quick-select-panel .quick-select-header i:hover{color:var(--text-color);transform:scale(1.1)}.relative-date-selector .quick-select-panel .quick-select-body{max-height:440px;overflow-y:auto}.relative-date-selector .quick-select-panel .quick-select-custom{border-bottom:1px solid var(--surface-200)}.relative-date-selector .quick-select-panel .quick-select-section .title-section{display:inline-block;font-size:.8rem;font-weight:600;color:var(--text-color-secondary);text-transform:uppercase;letter-spacing:.5px}.relative-date-selector .quick-select-panel .quick-select-options{display:grid;grid-template-columns:repeat(2,1fr);gap:.5rem}.relative-date-selector .quick-select-panel .quick-select-options .quick-select-option{padding:.625rem 1rem;background:var(--surface-100);border:1px solid var(--surface-200);text-align:left;cursor:pointer;border-radius:var(--border-radius);transition:all var(--transition-duration) ease;color:var(--text-color);font-size:.875rem;font-weight:500}.relative-date-selector .quick-select-panel .quick-select-options .quick-select-option:hover{transform:translateY(-1px)}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: OverlayPanelModule }, { kind: "component", type: i4.OverlayPanel, selector: "p-overlayPanel", inputs: ["ariaLabel", "ariaLabelledBy", "dismissable", "showCloseIcon", "style", "styleClass", "appendTo", "autoZIndex", "ariaCloseLabel", "baseZIndex", "focusOnShow", "showTransitionOptions", "hideTransitionOptions"], outputs: ["onShow", "onHide"] }, { kind: "ngmodule", type: TabViewModule }, { kind: "component", type: i5.TabView, selector: "p-tabView", inputs: ["style", "styleClass", "controlClose", "scrollable", "activeIndex", "selectOnFocus", "nextButtonAriaLabel", "prevButtonAriaLabel", "autoHideButtons", "tabindex"], outputs: ["onChange", "onClose", "activeIndexChange"] }, { kind: "component", type: i5.TabPanel, selector: "p-tabPanel", inputs: ["closable", "headerStyle", "headerStyleClass", "cache", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "selected", "disabled", "header", "leftIcon", "rightIcon"] }, { kind: "ngmodule", type: TooltipModule }, { kind: "directive", type: i6.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions"] }, { kind: "ngmodule", type: TranslocoModule }, { kind: "component", type: CalendarComponent, selector: "aril-calendar[ngModel], aril-calendar[formControl], aril-calendar[formControlName]", inputs: ["minDate", "maxDate", "inputStyle", "inputStyleClass", "autoZIndex", "inline", "showIcon", "showTime", "showWeek", "showSeconds", "disabledDates", "numberOfMonthToShow", "appendTo", "dataType", "placeholder", "view", "selectionMode", "rangeConfig", "tabindex", "showOnFocus", "timeOnly", "keepInvalid"] }, { kind: "component", type: ButtonComponent, selector: "aril-button:not([click])", inputs: ["label", "loading", "disabled", "raised", "rounded", "text", "outlined", "badge", "size", "icon", "iconPos", "color"], outputs: ["clickEvent"] }, { kind: "component", type: NumberComponent, selector: "aril-number[ngModel], aril-number[formControl], aril-number[formControlName]", inputs: ["min", "max", "showButtons", "placeholder", "prefix", "locale", "suffix", "maxlength", "showClear", "useGrouping", "maxDigits", "minDigits", "tabindex", "inputStyle", "buttonLayout"] }, { kind: "component", type: SelectBoxComponent, selector: "aril-select-box[ngModel], aril-select-box[formControl], aril-select-box[formControlName]", inputs: ["itemKey", "itemText", "groupName", "parentSelectionKey", "tabindex", "items", "grouped", "showClearButton", "placeholder", "searchExpr"], outputs: ["onSelectionChanged"] }, { kind: "pipe", type: InputErrorMessagePipe, name: "inputErrorMessage" }] }); }
258
+ }
259
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: RelativeDateSelectorComponent, decorators: [{
260
+ type: Component,
261
+ args: [{ standalone: true, selector: 'aril-relative-date-picker[ngModel], aril-relative-date-picker[formControl], aril-relative-date-picker[formControlName]', imports: [
262
+ CommonModule,
263
+ ReactiveFormsModule,
264
+ FormsModule,
265
+ OverlayPanelModule,
266
+ TabViewModule,
267
+ TooltipModule,
268
+ TranslocoModule,
269
+ CalendarComponent,
270
+ ButtonComponent,
271
+ NumberComponent,
272
+ SelectBoxComponent,
273
+ InputErrorMessagePipe
274
+ ], hostDirectives: [ValueAccessorDirective], template: "<div class=\"relative-date-selector\">\r\n\t<div class=\"input-wrapper flex align-items-center\" (click)=\"onInputClick($event)\">\r\n\t\t<input\r\n\t\t\ttype=\"text\"\r\n\t\t\treadonly\r\n\t\t\t[value]=\"getDisplayValue()\"\r\n\t\t\tclass=\"p-inputtext p-component\"\r\n\t\t\t[class.p-invalid]=\"ngControl.invalid && ngControl.touched\"\r\n\t\t\t[placeholder]=\"translocoService.translate('relativeDateSelector.placeholder')\"\r\n\t\t\t[pTooltip]=\"ngControl.invalid && ngControl.touched ? (ngControl.control.value | inputErrorMessage: ngControl) : ''\"\r\n\t\t\t[tooltipOptions]=\"tooltipOptions\" />\r\n\t\t<div class=\"calendar-icon-wrapper flex align-items-center justify-content-center\" (click)=\"toggleQuickSelect($event)\">\r\n\t\t\t<i class=\"pi pi-calendar calendar-icon\"></i>\r\n\t\t</div>\r\n\t</div>\r\n\r\n\t<p-overlayPanel\r\n\t\t#op\r\n\t\t[style]=\"{ minWidth: '350px', maxHeight: '600px', overflow: 'visible' }\"\r\n\t\t[dismissable]=\"true\"\r\n\t\t(onHide)=\"showOverlayPanel.set(false)\">\r\n\t\t<p-tabView (onChange)=\"onTabChange($event)\" [activeIndex]=\"activeTabIndex()\">\r\n\t\t\t<p-tabPanel [header]=\"translocoService.translate('relativeDateSelector.absolute')\">\r\n\t\t\t\t<div class=\"flex justify-content-center\">\r\n\t\t\t\t\t<aril-calendar\r\n\t\t\t\t\t\t[(ngModel)]=\"absoluteDate\"\r\n\t\t\t\t\t\t(ngModelChange)=\"onAbsoluteDateChange($event)\"\r\n\t\t\t\t\t\t[inline]=\"true\"\r\n\t\t\t\t\t\t[showTime]=\"true\"\r\n\t\t\t\t\t\t[showSeconds]=\"true\">\r\n\t\t\t\t\t</aril-calendar>\r\n\t\t\t\t</div>\r\n\t\t\t</p-tabPanel>\r\n\r\n\t\t\t<p-tabPanel [header]=\"translocoService.translate('relativeDateSelector.relative')\">\r\n\t\t\t\t<div>\r\n\t\t\t\t\t<div class=\"flex flex-column gap-2 m-2\">\r\n\t\t\t\t\t\t<aril-number\r\n\t\t\t\t\t\t\t[(ngModel)]=\"relativeValue\"\r\n\t\t\t\t\t\t\t(ngModelChange)=\"onRelativeChange()\"\r\n\t\t\t\t\t\t\t[min]=\"1\"\r\n\t\t\t\t\t\t\t[showButtons]=\"true\"\r\n\t\t\t\t\t\t\t[placeholder]=\"translocoService.translate('relativeDateSelector.valuePlaceholder')\">\r\n\t\t\t\t\t\t</aril-number>\r\n\r\n\t\t\t\t\t\t<aril-select-box\r\n\t\t\t\t\t\t\t[(ngModel)]=\"relativeUnit\"\r\n\t\t\t\t\t\t\t(ngModelChange)=\"onRelativeChange()\"\r\n\t\t\t\t\t\t\t[items]=\"relativeUnits\"\r\n\t\t\t\t\t\t\t[itemKey]=\"'value'\"\r\n\t\t\t\t\t\t\t[itemText]=\"'label'\"\r\n\t\t\t\t\t\t\t[placeholder]=\"translocoService.translate('relativeDateSelector.selectUnit')\">\r\n\t\t\t\t\t\t</aril-select-box>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class=\"m-2\">\r\n\t\t\t\t\t\t<small class=\"text-muted\">\r\n\t\t\t\t\t\t\t<strong>{{ translocoService.translate('relativeDateSelector.examples') }}:</strong> {{ translocoService.translate('relativeDateSelector.examplesText') }}\r\n\t\t\t\t\t\t</small>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\t\t\t</p-tabPanel>\r\n\t\t</p-tabView>\r\n\t</p-overlayPanel>\r\n\r\n\t<!-- Quick Select Panel -->\r\n\t@if (showQuickSelect()) {\r\n\t\t<div class=\"quick-select-panel mt-2\">\r\n\t\t\t<div class=\"quick-select-header flex justify-content-between align-items-center p-3\">\r\n\t\t\t\t<span class=\"title\">{{ translocoService.translate('relativeDateSelector.quickSelect') }}</span>\r\n\t\t\t\t<div class=\"flex align-items-center gap-2\">\r\n\t\t\t\t\t<i class=\"pi pi-times cursor-pointer\" (click)=\"showQuickSelect.set(false)\"></i>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t\t<div class=\"quick-select-body p-3\">\r\n\t\t\t\t<!-- Custom Quick Select Inputs -->\r\n\t\t\t\t<div class=\"quick-select-custom mb-3 pb-3\">\r\n\t\t\t\t\t<div class=\"flex gap-2 align-items-center mb-3\">\r\n\t\t\t\t\t\t<aril-select-box\r\n\t\t\t\t\t\t\t[(ngModel)]=\"quickSelectDirection\"\r\n\t\t\t\t\t\t\t[items]=\"quickSelectDirections\"\r\n\t\t\t\t\t\t\t[itemKey]=\"'value'\"\r\n\t\t\t\t\t\t\t[itemText]=\"'label'\">\r\n\t\t\t\t\t\t</aril-select-box>\r\n\r\n\t\t\t\t\t\t<aril-number [(ngModel)]=\"quickSelectValue\" [min]=\"1\" [showButtons]=\"true\"> </aril-number>\r\n\r\n\t\t\t\t\t\t<aril-select-box\r\n\t\t\t\t\t\t\t[(ngModel)]=\"quickSelectUnit\"\r\n\t\t\t\t\t\t\t[items]=\"quickSelectUnits\"\r\n\t\t\t\t\t\t\t[itemKey]=\"'value'\"\r\n\t\t\t\t\t\t\t[itemText]=\"'label'\">\r\n\t\t\t\t\t\t</aril-select-box>\r\n\r\n\t\t\t\t\t\t<aril-button\r\n\t\t\t\t\t\t\t[label]=\"translocoService.translate('relativeDateSelector.apply')\"\r\n\t\t\t\t\t\t\tcolor=\"primary\"\r\n\t\t\t\t\t\t\t(clickEvent)=\"applyQuickSelectCustom()\"\r\n\t\t\t\t\t\t\t[style]=\"{ 'min-width': '80px' }\">\r\n\t\t\t\t\t\t</aril-button>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<!-- Commonly Used Options -->\r\n\t\t\t\t<div class=\"quick-select-section\">\r\n\t\t\t\t\t<span class=\"title-section mb-2\">{{ translocoService.translate('relativeDateSelector.commonlyUsed') }}</span>\r\n\t\t\t\t\t<div class=\"quick-select-options\">\r\n\t\t\t\t\t\t@for (option of commonlyUsedOptions; track option.value) {\r\n\t\t\t\t\t\t\t<button type=\"button\" class=\"quick-select-option\" (click)=\"applyQuickSelect(option)\">\r\n\t\t\t\t\t\t\t\t{{ option.label }}\r\n\t\t\t\t\t\t\t</button>\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t}\r\n</div>\r\n", styles: [".relative-date-selector{position:relative}.relative-date-selector .input-wrapper{position:relative;cursor:pointer}.relative-date-selector .input-wrapper input{width:100%;padding-right:3rem;cursor:pointer;transition:all var(--transition-duration) ease}.relative-date-selector .input-wrapper input:hover{border-color:var(--focus-border-color)}.relative-date-selector .input-wrapper input:focus{box-shadow:var(--focus-ring);border-color:var(--focus-border-color)}.relative-date-selector .input-wrapper input.p-invalid{border-color:var(--error-300)}.relative-date-selector .input-wrapper .calendar-icon-wrapper{position:absolute;right:.5rem;width:2rem;height:2rem;background:var(--surface-100);border:1px solid var(--surface-border);border-radius:var(--border-radius);cursor:pointer;transition:all var(--transition-duration) ease;z-index:2}.relative-date-selector .input-wrapper .calendar-icon-wrapper:hover{background:var(--surface-200);border-color:var(--primary-color);transform:scale(1.05)}.relative-date-selector .input-wrapper .calendar-icon-wrapper:hover .calendar-icon{color:var(--primary-color)}.relative-date-selector .input-wrapper .calendar-icon-wrapper:active{transform:scale(.98)}.relative-date-selector .input-wrapper .calendar-icon-wrapper .calendar-icon{font-size:.9375rem;color:var(--text-color-secondary);transition:color var(--transition-duration) ease}.relative-date-selector .quick-select-panel{position:absolute;top:100%;right:0;background:var(--surface-0);border:1px solid var(--surface-border);border-radius:8px;box-shadow:0 4px 20px #00000014;z-index:1000;width:460px;max-height:520px;overflow:hidden;animation:slideDown var(--transition-duration) ease}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.relative-date-selector .quick-select-panel .quick-select-header{border-bottom:1px solid var(--surface-200);background:var(--surface-100)}.relative-date-selector .quick-select-panel .quick-select-header .title{margin:0;font-size:13px;font-weight:700;color:var(--surface-600)}.relative-date-selector .quick-select-panel .quick-select-header i{cursor:pointer;color:var(--text-color-secondary);font-size:.875rem;transition:all var(--transition-duration) ease}.relative-date-selector .quick-select-panel .quick-select-header i:hover{color:var(--text-color);transform:scale(1.1)}.relative-date-selector .quick-select-panel .quick-select-body{max-height:440px;overflow-y:auto}.relative-date-selector .quick-select-panel .quick-select-custom{border-bottom:1px solid var(--surface-200)}.relative-date-selector .quick-select-panel .quick-select-section .title-section{display:inline-block;font-size:.8rem;font-weight:600;color:var(--text-color-secondary);text-transform:uppercase;letter-spacing:.5px}.relative-date-selector .quick-select-panel .quick-select-options{display:grid;grid-template-columns:repeat(2,1fr);gap:.5rem}.relative-date-selector .quick-select-panel .quick-select-options .quick-select-option{padding:.625rem 1rem;background:var(--surface-100);border:1px solid var(--surface-200);text-align:left;cursor:pointer;border-radius:var(--border-radius);transition:all var(--transition-duration) ease;color:var(--text-color);font-size:.875rem;font-weight:500}.relative-date-selector .quick-select-panel .quick-select-options .quick-select-option:hover{transform:translateY(-1px)}\n"] }]
275
+ }], ctorParameters: () => [{ type: i1.TranslocoService }], propDecorators: { overlayPanel: [{
276
+ type: ViewChild,
277
+ args: ['op']
278
+ }] } });
279
+
280
+ /**
281
+ * Generated bundle index. Do not edit.
282
+ */
283
+
284
+ export { RelativeDateSelectorComponent };
285
+ //# sourceMappingURL=aril-ui-relativeDateSelector.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aril-ui-relativeDateSelector.mjs","sources":["../../projects/aril/ui/relativeDateSelector/src/enum.ts","../../projects/aril/ui/relativeDateSelector/src/relative-date-selector.component.ts","../../projects/aril/ui/relativeDateSelector/src/relative-date-selector.component.html","../../projects/aril/ui/relativeDateSelector/aril-ui-relativeDateSelector.ts"],"sourcesContent":["export enum RelativeDateUnit {\r\n\tSeconds = 's',\r\n\tMinutes = 'm',\r\n\tHours = 'h',\r\n\tDays = 'd',\r\n\tWeeks = 'w',\r\n\tMonths = 'M',\r\n\tYears = 'y'\r\n}\r\n\r\nexport enum RelativeDateDirection {\r\n\tPast = '-',\r\n\tFuture = '+'\r\n}\r\n\r\nexport enum RelativeDateUnitName {\r\n\tSeconds = 'seconds',\r\n\tMinutes = 'minutes',\r\n\tHours = 'hours',\r\n\tDays = 'days',\r\n\tWeeks = 'weeks',\r\n\tMonths = 'months',\r\n\tYears = 'years'\r\n}\r\n\r\nexport enum RelativeDateUnitSuffix {\r\n\tAgo = 'Ago',\r\n\tFromNow = 'FromNow'\r\n}\r\n","import { Component, signal, ViewChild, OnInit, AfterViewInit } from '@angular/core';\r\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { OverlayPanel, OverlayPanelModule } from 'primeng/overlaypanel';\r\nimport { TabViewModule } from 'primeng/tabview';\r\nimport { TooltipModule } from 'primeng/tooltip';\r\n\r\nimport { TranslocoModule, TranslocoService } from '@ngneat/transloco';\r\nimport { format, parse } from 'date-fns';\r\n\r\nimport { BaseInputComponent, InputErrorMessagePipe, ValueAccessorDirective } from 'aril/ui/lib';\r\nimport { CalendarComponent } from 'aril/ui/calendar';\r\nimport { ButtonComponent } from 'aril/ui/button';\r\nimport { NumberComponent } from 'aril/ui/number';\r\nimport { SelectBoxComponent } from 'aril/ui/selectBox';\r\nimport 'aril/util/primitive-extensions';\r\n\r\nimport { RelativeDateUnit, RelativeDateDirection, RelativeDateUnitName, RelativeDateUnitSuffix } from './enum';\r\n\r\ninterface QuickSelectOption {\r\n\tlabel: string;\r\n\tvalue: string;\r\n}\r\n\r\n@Component({\r\n\tstandalone: true,\r\n\tselector:\r\n\t\t'aril-relative-date-picker[ngModel], aril-relative-date-picker[formControl], aril-relative-date-picker[formControlName]',\r\n\ttemplateUrl: './relative-date-selector.component.html',\r\n\tstyleUrls: ['./relative-date-selector.component.scss'],\r\n\timports: [\r\n\t\tCommonModule,\r\n\t\tReactiveFormsModule,\r\n\t\tFormsModule,\r\n\t\tOverlayPanelModule,\r\n\t\tTabViewModule,\r\n\t\tTooltipModule,\r\n\t\tTranslocoModule,\r\n\t\tCalendarComponent,\r\n\t\tButtonComponent,\r\n\t\tNumberComponent,\r\n\t\tSelectBoxComponent,\r\n\t\tInputErrorMessagePipe\r\n\t],\r\n\thostDirectives: [ValueAccessorDirective]\r\n})\r\nexport class RelativeDateSelectorComponent extends BaseInputComponent implements OnInit, AfterViewInit {\r\n\t@ViewChild('op') overlayPanel!: OverlayPanel;\r\n\r\n\tactiveTabIndex = signal<number>(0);\r\n\tshowQuickSelect = signal<boolean>(false);\r\n\tshowOverlayPanel = signal<boolean>(false);\r\n\r\n\t// Absolute mode\r\n\tabsoluteDate: number | null = null;\r\n\r\n\t// Relative mode\r\n\trelativeValue: number | null = null;\r\n\trelativeUnit: string | null = null;\r\n\trelativeDirection = RelativeDateDirection.Past;\r\n\r\n\trelativeUnits: any[] = [];\r\n\tquickSelectDirections: Array<{ label: string; value: string }> = [];\r\n\tquickSelectUnits: Array<{ label: string; value: string }> = [];\r\n\tcommonlyUsedOptions: QuickSelectOption[] = [];\r\n\r\n\t// Quick select inputs\r\n\tquickSelectDirection = RelativeDateDirection.Past;\r\n\tquickSelectValue: number | null = null;\r\n\tquickSelectUnit = RelativeDateUnit.Minutes;\r\n\r\n\tconstructor(public readonly translocoService: TranslocoService) {\r\n\t\tsuper();\r\n\r\n\t\tthis.initializeOptions();\r\n\t}\r\n\r\n\tngOnInit(): void {\r\n\t\tthis.ngControl.control?.valueChanges.subscribe((value) => {\r\n\t\t\tthis.onValueChange(value);\r\n\t\t});\r\n\t}\r\n\r\n\tngAfterViewInit(): void {\r\n\t\tif (this.ngControl.control?.value != null) {\r\n\t\t\tthis.onValueChange(this.ngControl.control?.value);\r\n\t\t}\r\n\t}\r\n\r\n\tprivate initializeOptions(): void {\r\n\t\tconst units = Object.values(RelativeDateUnit);\r\n\t\tconst unitNames = Object.values(RelativeDateUnitName);\r\n\t\tconst directions = Object.values(RelativeDateDirection);\r\n\t\tconst directionSuffixes = Object.values(RelativeDateUnitSuffix);\r\n\r\n\t\t// Relative units\r\n\t\tthis.relativeUnits = units.flatMap((code, index) =>\r\n\t\t\tdirections.map((dir, dirIndex) => ({\r\n\t\t\t\tlabel: this.translocoService.translate(\r\n\t\t\t\t\t`relativeDateSelector.units.${unitNames[index]}${directionSuffixes[dirIndex]}`\r\n\t\t\t\t),\r\n\t\t\t\tvalue: `${code}${dir}`\r\n\t\t\t}))\r\n\t\t);\r\n\r\n\t\t// Quick Select - Last/Next options\r\n\t\tthis.quickSelectDirections = [\r\n\t\t\t{ label: this.translocoService.translate('relativeDateSelector.last'), value: RelativeDateDirection.Past },\r\n\t\t\t{ label: this.translocoService.translate('relativeDateSelector.next'), value: RelativeDateDirection.Future }\r\n\t\t];\r\n\r\n\t\tthis.quickSelectUnits = units.map((code, index) => ({\r\n\t\t\tlabel: this.translocoService.translate(`relativeDateSelector.units.${unitNames[index]}`),\r\n\t\t\tvalue: code\r\n\t\t}));\r\n\r\n\t\t// Commonly used quick selects\r\n\t\tconst quickOptions = [\r\n\t\t\t{ key: 'today', value: `now/${RelativeDateUnit.Days}` },\r\n\t\t\t{ key: 'thisWeek', value: `now/${RelativeDateUnit.Weeks}` },\r\n\t\t\t{ key: 'last1Minute', value: `now${RelativeDateDirection.Past}1${RelativeDateUnit.Minutes}` },\r\n\t\t\t{ key: 'last15Minutes', value: `now${RelativeDateDirection.Past}15${RelativeDateUnit.Minutes}` },\r\n\t\t\t{ key: 'last30Minutes', value: `now${RelativeDateDirection.Past}30${RelativeDateUnit.Minutes}` },\r\n\t\t\t{ key: 'last1Hour', value: `now${RelativeDateDirection.Past}1${RelativeDateUnit.Hours}` },\r\n\t\t\t{ key: 'last24Hours', value: `now${RelativeDateDirection.Past}24${RelativeDateUnit.Hours}` },\r\n\t\t\t{ key: 'last7Days', value: `now${RelativeDateDirection.Past}7${RelativeDateUnit.Days}` },\r\n\t\t\t{ key: 'last30Days', value: `now${RelativeDateDirection.Past}30${RelativeDateUnit.Days}` },\r\n\t\t\t{ key: 'last90Days', value: `now${RelativeDateDirection.Past}90${RelativeDateUnit.Days}` },\r\n\t\t\t{ key: 'last1Year', value: `now${RelativeDateDirection.Past}1${RelativeDateUnit.Years}` }\r\n\t\t];\r\n\r\n\t\tthis.commonlyUsedOptions = quickOptions.map((opt) => ({\r\n\t\t\tlabel: this.translocoService.translate(`relativeDateSelector.quickOptions.${opt.key}`),\r\n\t\t\tvalue: opt.value\r\n\t\t}));\r\n\t}\r\n\r\n\tonValueChange(value: number | string | null | undefined): void {\r\n\t\tif (value != null) {\r\n\t\t\tif (typeof value === 'number') {\r\n\t\t\t\tthis.activeTabIndex.set(0);\r\n\t\t\t\tthis.absoluteDate = value;\r\n\t\t\t} else if (typeof value === 'string') {\r\n\t\t\t\tthis.activeTabIndex.set(1);\r\n\t\t\t\tthis.parseRelativeValue(value);\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tthis.absoluteDate = null;\r\n\t\t\tthis.relativeValue = null;\r\n\t\t\tthis.relativeUnit = null;\r\n\t\t}\r\n\t}\r\n\r\n\tparseRelativeValue(value: string): void {\r\n\t\tconst match = value.match(/^now\\s*(?:([+-])\\s*(\\d+)([smhdwMy]))?\\s*(?:\\/([smhdwMy]))?$/);\r\n\r\n\t\tif (match) {\r\n\t\t\tconst [, direction, amount, unit] = match;\r\n\t\t\tif (direction && amount && unit) {\r\n\t\t\t\tthis.relativeDirection = direction as RelativeDateDirection;\r\n\t\t\t\tthis.relativeValue = parseInt(amount, 10);\r\n\t\t\t\tthis.relativeUnit = unit + direction;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tonAbsoluteDateChange(date: number | null): void {\r\n\t\tthis.absoluteDate = date;\r\n\t\tthis.updateValue();\r\n\t}\r\n\r\n\tonRelativeChange(): void {\r\n\t\tthis.updateValue();\r\n\t}\r\n\r\n\tonTabChange(event: { index: number }): void {\r\n\t\tthis.activeTabIndex.set(event.index);\r\n\t}\r\n\r\n\tupdateValue(): void {\r\n\t\tif (this.activeTabIndex() === 0 && this.absoluteDate != null) {\r\n\t\t\tthis.ngControl.control?.setValue(this.absoluteDate);\r\n\t\t} else if (this.activeTabIndex() === 1 && this.relativeValue != null && this.relativeUnit) {\r\n\t\t\tconst unit = this.relativeUnit.charAt(0);\r\n\t\t\tconst direction = this.relativeUnit.charAt(1);\r\n\t\t\tthis.ngControl.control?.setValue(`now${direction}${this.relativeValue}${unit}`);\r\n\t\t}\r\n\t}\r\n\r\n\tapplyQuickSelect(option: QuickSelectOption): void {\r\n\t\tthis.applyRelativeValue(option.value);\r\n\t}\r\n\r\n\tapplyQuickSelectCustom(): void {\r\n\t\tif (this.quickSelectValue != null && this.quickSelectUnit) {\r\n\t\t\tconst relativeString = `now${this.quickSelectDirection}${this.quickSelectValue}${this.quickSelectUnit}`;\r\n\t\t\tthis.applyRelativeValue(relativeString);\r\n\t\t}\r\n\t}\r\n\r\n\tprivate applyRelativeValue(value: string): void {\r\n\t\tthis.activeTabIndex.set(1);\r\n\t\tthis.parseRelativeValue(value);\r\n\t\tthis.ngControl.control?.setValue(value);\r\n\t\tthis.closeQuickSelectPanels();\r\n\t}\r\n\r\n\tprivate closeQuickSelectPanels(): void {\r\n\t\tthis.showQuickSelect.set(false);\r\n\t\tthis.showOverlayPanel.set(false);\r\n\t}\r\n\r\n\ttoggleQuickSelect(event: Event): void {\r\n\t\tevent.stopPropagation();\r\n\t\tthis.showQuickSelect.update((value) => !value);\r\n\t\tif (this.showQuickSelect()) {\r\n\t\t\tthis.showOverlayPanel.set(false);\r\n\t\t\tthis.overlayPanel?.hide();\r\n\t\t}\r\n\t}\r\n\r\n\tonInputClick(event: Event): void {\r\n\t\tthis.showQuickSelect.set(false);\r\n\t\tthis.overlayPanel?.toggle(event);\r\n\t}\r\n\r\n\tgetDisplayValue(): string {\r\n\t\tconst value = this.ngControl.control?.value;\r\n\r\n\t\tif (value == null) return '';\r\n\r\n\t\tif (typeof value === 'number') {\r\n\t\t\treturn this.formatAbsoluteDate(value);\r\n\t\t}\r\n\r\n\t\tif (typeof value === 'string') {\r\n\t\t\treturn this.formatRelativeDate(value);\r\n\t\t}\r\n\r\n\t\treturn '';\r\n\t}\r\n\r\n\tprivate formatAbsoluteDate(value: number): string {\r\n\t\tconst dateStr = value.toString();\r\n\t\tif (dateStr.length === 14) {\r\n\t\t\ttry {\r\n\t\t\t\tconst date = parse(dateStr, 'yyyyMMddHHmmss', new Date());\r\n\t\t\t\treturn format(date, 'dd.MM.yyyy HH:mm:ss');\r\n\t\t\t} catch (error) {\r\n\t\t\t\treturn dateStr;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn dateStr;\r\n\t}\r\n\r\n\tprivate formatRelativeDate(value: string): string {\r\n\t\tconst quickOption = this.commonlyUsedOptions.find((opt: QuickSelectOption) => opt.value === value);\r\n\t\tif (quickOption) {\r\n\t\t\treturn quickOption.label;\r\n\t\t}\r\n\r\n\t\tconst match = value.match(/^now\\s*([+-])\\s*(\\d+)([smhdwMy])$/);\r\n\t\tif (match) {\r\n\t\t\tconst [, direction, amount, unit] = match;\r\n\t\t\tconst directionText = this.translocoService.translate(\r\n\t\t\t\tdirection === RelativeDateDirection.Past ? 'relativeDateSelector.last' : 'relativeDateSelector.next'\r\n\t\t\t);\r\n\t\t\tconst unitText = this.translocoService.translate(this.getUnitTranslationKey(unit, direction));\r\n\t\t\treturn `${directionText} ${amount} ${unitText}`;\r\n\t\t}\r\n\r\n\t\treturn value;\r\n\t}\r\n\r\n\tprivate getUnitTranslationKey(unit: string, direction: string): string {\r\n\t\tconst unitNameMap: Record<string, RelativeDateUnitName> = {\r\n\t\t\t[RelativeDateUnit.Seconds]: RelativeDateUnitName.Seconds,\r\n\t\t\t[RelativeDateUnit.Minutes]: RelativeDateUnitName.Minutes,\r\n\t\t\t[RelativeDateUnit.Hours]: RelativeDateUnitName.Hours,\r\n\t\t\t[RelativeDateUnit.Days]: RelativeDateUnitName.Days,\r\n\t\t\t[RelativeDateUnit.Weeks]: RelativeDateUnitName.Weeks,\r\n\t\t\t[RelativeDateUnit.Months]: RelativeDateUnitName.Months,\r\n\t\t\t[RelativeDateUnit.Years]: RelativeDateUnitName.Years\r\n\t\t};\r\n\r\n\t\tconst suffix =\r\n\t\t\tdirection === RelativeDateDirection.Past ? RelativeDateUnitSuffix.Ago : RelativeDateUnitSuffix.FromNow;\r\n\t\treturn `relativeDateSelector.units.${unitNameMap[unit]}${suffix}`;\r\n\t}\r\n}\r\n","<div class=\"relative-date-selector\">\r\n\t<div class=\"input-wrapper flex align-items-center\" (click)=\"onInputClick($event)\">\r\n\t\t<input\r\n\t\t\ttype=\"text\"\r\n\t\t\treadonly\r\n\t\t\t[value]=\"getDisplayValue()\"\r\n\t\t\tclass=\"p-inputtext p-component\"\r\n\t\t\t[class.p-invalid]=\"ngControl.invalid && ngControl.touched\"\r\n\t\t\t[placeholder]=\"translocoService.translate('relativeDateSelector.placeholder')\"\r\n\t\t\t[pTooltip]=\"ngControl.invalid && ngControl.touched ? (ngControl.control.value | inputErrorMessage: ngControl) : ''\"\r\n\t\t\t[tooltipOptions]=\"tooltipOptions\" />\r\n\t\t<div class=\"calendar-icon-wrapper flex align-items-center justify-content-center\" (click)=\"toggleQuickSelect($event)\">\r\n\t\t\t<i class=\"pi pi-calendar calendar-icon\"></i>\r\n\t\t</div>\r\n\t</div>\r\n\r\n\t<p-overlayPanel\r\n\t\t#op\r\n\t\t[style]=\"{ minWidth: '350px', maxHeight: '600px', overflow: 'visible' }\"\r\n\t\t[dismissable]=\"true\"\r\n\t\t(onHide)=\"showOverlayPanel.set(false)\">\r\n\t\t<p-tabView (onChange)=\"onTabChange($event)\" [activeIndex]=\"activeTabIndex()\">\r\n\t\t\t<p-tabPanel [header]=\"translocoService.translate('relativeDateSelector.absolute')\">\r\n\t\t\t\t<div class=\"flex justify-content-center\">\r\n\t\t\t\t\t<aril-calendar\r\n\t\t\t\t\t\t[(ngModel)]=\"absoluteDate\"\r\n\t\t\t\t\t\t(ngModelChange)=\"onAbsoluteDateChange($event)\"\r\n\t\t\t\t\t\t[inline]=\"true\"\r\n\t\t\t\t\t\t[showTime]=\"true\"\r\n\t\t\t\t\t\t[showSeconds]=\"true\">\r\n\t\t\t\t\t</aril-calendar>\r\n\t\t\t\t</div>\r\n\t\t\t</p-tabPanel>\r\n\r\n\t\t\t<p-tabPanel [header]=\"translocoService.translate('relativeDateSelector.relative')\">\r\n\t\t\t\t<div>\r\n\t\t\t\t\t<div class=\"flex flex-column gap-2 m-2\">\r\n\t\t\t\t\t\t<aril-number\r\n\t\t\t\t\t\t\t[(ngModel)]=\"relativeValue\"\r\n\t\t\t\t\t\t\t(ngModelChange)=\"onRelativeChange()\"\r\n\t\t\t\t\t\t\t[min]=\"1\"\r\n\t\t\t\t\t\t\t[showButtons]=\"true\"\r\n\t\t\t\t\t\t\t[placeholder]=\"translocoService.translate('relativeDateSelector.valuePlaceholder')\">\r\n\t\t\t\t\t\t</aril-number>\r\n\r\n\t\t\t\t\t\t<aril-select-box\r\n\t\t\t\t\t\t\t[(ngModel)]=\"relativeUnit\"\r\n\t\t\t\t\t\t\t(ngModelChange)=\"onRelativeChange()\"\r\n\t\t\t\t\t\t\t[items]=\"relativeUnits\"\r\n\t\t\t\t\t\t\t[itemKey]=\"'value'\"\r\n\t\t\t\t\t\t\t[itemText]=\"'label'\"\r\n\t\t\t\t\t\t\t[placeholder]=\"translocoService.translate('relativeDateSelector.selectUnit')\">\r\n\t\t\t\t\t\t</aril-select-box>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class=\"m-2\">\r\n\t\t\t\t\t\t<small class=\"text-muted\">\r\n\t\t\t\t\t\t\t<strong>{{ translocoService.translate('relativeDateSelector.examples') }}:</strong> {{ translocoService.translate('relativeDateSelector.examplesText') }}\r\n\t\t\t\t\t\t</small>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\t\t\t</p-tabPanel>\r\n\t\t</p-tabView>\r\n\t</p-overlayPanel>\r\n\r\n\t<!-- Quick Select Panel -->\r\n\t@if (showQuickSelect()) {\r\n\t\t<div class=\"quick-select-panel mt-2\">\r\n\t\t\t<div class=\"quick-select-header flex justify-content-between align-items-center p-3\">\r\n\t\t\t\t<span class=\"title\">{{ translocoService.translate('relativeDateSelector.quickSelect') }}</span>\r\n\t\t\t\t<div class=\"flex align-items-center gap-2\">\r\n\t\t\t\t\t<i class=\"pi pi-times cursor-pointer\" (click)=\"showQuickSelect.set(false)\"></i>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t\t<div class=\"quick-select-body p-3\">\r\n\t\t\t\t<!-- Custom Quick Select Inputs -->\r\n\t\t\t\t<div class=\"quick-select-custom mb-3 pb-3\">\r\n\t\t\t\t\t<div class=\"flex gap-2 align-items-center mb-3\">\r\n\t\t\t\t\t\t<aril-select-box\r\n\t\t\t\t\t\t\t[(ngModel)]=\"quickSelectDirection\"\r\n\t\t\t\t\t\t\t[items]=\"quickSelectDirections\"\r\n\t\t\t\t\t\t\t[itemKey]=\"'value'\"\r\n\t\t\t\t\t\t\t[itemText]=\"'label'\">\r\n\t\t\t\t\t\t</aril-select-box>\r\n\r\n\t\t\t\t\t\t<aril-number [(ngModel)]=\"quickSelectValue\" [min]=\"1\" [showButtons]=\"true\"> </aril-number>\r\n\r\n\t\t\t\t\t\t<aril-select-box\r\n\t\t\t\t\t\t\t[(ngModel)]=\"quickSelectUnit\"\r\n\t\t\t\t\t\t\t[items]=\"quickSelectUnits\"\r\n\t\t\t\t\t\t\t[itemKey]=\"'value'\"\r\n\t\t\t\t\t\t\t[itemText]=\"'label'\">\r\n\t\t\t\t\t\t</aril-select-box>\r\n\r\n\t\t\t\t\t\t<aril-button\r\n\t\t\t\t\t\t\t[label]=\"translocoService.translate('relativeDateSelector.apply')\"\r\n\t\t\t\t\t\t\tcolor=\"primary\"\r\n\t\t\t\t\t\t\t(clickEvent)=\"applyQuickSelectCustom()\"\r\n\t\t\t\t\t\t\t[style]=\"{ 'min-width': '80px' }\">\r\n\t\t\t\t\t\t</aril-button>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<!-- Commonly Used Options -->\r\n\t\t\t\t<div class=\"quick-select-section\">\r\n\t\t\t\t\t<span class=\"title-section mb-2\">{{ translocoService.translate('relativeDateSelector.commonlyUsed') }}</span>\r\n\t\t\t\t\t<div class=\"quick-select-options\">\r\n\t\t\t\t\t\t@for (option of commonlyUsedOptions; track option.value) {\r\n\t\t\t\t\t\t\t<button type=\"button\" class=\"quick-select-option\" (click)=\"applyQuickSelect(option)\">\r\n\t\t\t\t\t\t\t\t{{ option.label }}\r\n\t\t\t\t\t\t\t</button>\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\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":";;;;;;;;;;;;;;;;;;;;;;AAAA,IAAY,gBAQX,CAAA;AARD,CAAA,UAAY,gBAAgB,EAAA;AAC3B,IAAA,gBA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AA,EAAA,OAAA,EAAA,SAAA,EAAA,iBAAA,EAAA,aAAA,EAAA,YAAA,CAAA,EAAA,OAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,MAAA,EAAA,IAAA,EAClB,qBAAqB,EAAA,IAAA,EAAA,mBAAA,EAAA,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAIV,6BAA6B,EAAA,UAAA,EAAA,CAAA;kBAtBzC,SAAS;iCACG,IAAI,EAAA,QAAA,EAEf,wHAAwH,EAGhH,OAAA,EAAA;wBACR,YAAY;wBACZ,mBAAmB;wBACnB,WAAW;wBACX,kBAAkB;wBAClB,aAAa;wBACb,aAAa;wBACb,eAAe;wBACf,iBAAiB;wBACjB,eAAe;wBACf,eAAe;wBACf,kBAAkB;wBAClB,qBAAqB;qBACrB,EACe,cAAA,EAAA,CAAC,sBAAsB,CAAC,EAAA,QAAA,EAAA,qiKAAA,EAAA,MAAA,EAAA,CAAA,gyGAAA,CAAA,EAAA,CAAA;qFAGvB,YAAY,EAAA,CAAA;sBAA5B,SAAS;uBAAC,IAAI,CAAA;;;AEhDhB;;AAEG;;;;"}
@@ -0,0 +1,74 @@
1
+ import * as i0 from '@angular/core';
2
+ import { input, signal, EventEmitter, effect, Component, Output } from '@angular/core';
3
+ import * as i4 from '@angular/forms';
4
+ import { ReactiveFormsModule } from '@angular/forms';
5
+ import * as i2 from '@ngneat/transloco';
6
+ import { TranslocoModule } from '@ngneat/transloco';
7
+ import * as i5 from 'devextreme-angular/ui/select-box';
8
+ import { DxSelectBoxModule } from 'devextreme-angular/ui/select-box';
9
+ import { firstValueFrom } from 'rxjs';
10
+ import { API_CONFIGS } from 'aril/boot/config/api';
11
+ import * as i3 from 'aril/ui/lib';
12
+ import { BaseInputComponent, InputErrorMessagePipe, DXInputErrorMessagePipe, ValueAccessorDirective } from 'aril/ui/lib';
13
+ import * as i1 from '@angular/common/http';
14
+
15
+ class SelectBoxComponent extends BaseInputComponent {
16
+ constructor(http, translocoService) {
17
+ super();
18
+ this.http = http;
19
+ this.translocoService = translocoService;
20
+ this.itemKey = input('key');
21
+ this.itemText = input('text');
22
+ this.groupName = input('');
23
+ this.parentSelectionKey = input(null);
24
+ this.tabindex = input(0);
25
+ this.items = input.required();
26
+ this.selectedItemText = '';
27
+ this.selectionItems = signal(null);
28
+ /** * @description when grouped = true, option item structure { key:string, items:[] } */
29
+ this.grouped = input(false);
30
+ this.showClearButton = input(true);
31
+ this.placeholder = input('');
32
+ this.searchExpr = input('');
33
+ this.onSelectionChanged = new EventEmitter();
34
+ effect(() => {
35
+ if (this.groupName() || this.parentSelectionKey())
36
+ this.getSelectionItems();
37
+ });
38
+ }
39
+ setTitle(event) {
40
+ this.selectedItemText = '';
41
+ if (event && event[this.itemText()].length > 25) {
42
+ this.selectedItemText = event ? event[this.itemText()] : '';
43
+ }
44
+ this.onSelectionChanged.emit(event);
45
+ }
46
+ async getSelectionItems() {
47
+ const payload = {
48
+ groupName: this.groupName(),
49
+ parentSelectionKey: this.parentSelectionKey()
50
+ };
51
+ const hostApi = API_CONFIGS.api.replace(/\/[^\/]+\/v1$/, `/host/v1`);
52
+ const selectionGroup = await firstValueFrom(this.http.post(hostApi + '/selection-group/load', payload));
53
+ this.selectionItems.set(selectionGroup?.selectionItems.map((item) => ({
54
+ key: item.selectionKey,
55
+ text: item.selectionDisplay,
56
+ parentSelectionKey: item.parentSelectionKey
57
+ })));
58
+ }
59
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: SelectBoxComponent, deps: [{ token: i1.HttpClient }, { token: i2.TranslocoService }], target: i0.ɵɵFactoryTarget.Component }); }
60
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "17.1.2", type: SelectBoxComponent, isStandalone: true, selector: "aril-select-box[ngModel], aril-select-box[formControl], aril-select-box[formControlName]", inputs: { itemKey: { classPropertyName: "itemKey", publicName: "itemKey", isSignal: true, isRequired: false, transformFunction: null }, itemText: { classPropertyName: "itemText", publicName: "itemText", isSignal: true, isRequired: false, transformFunction: null }, groupName: { classPropertyName: "groupName", publicName: "groupName", isSignal: true, isRequired: false, transformFunction: null }, parentSelectionKey: { classPropertyName: "parentSelectionKey", publicName: "parentSelectionKey", isSignal: true, isRequired: false, transformFunction: null }, tabindex: { classPropertyName: "tabindex", publicName: "tabindex", isSignal: true, isRequired: false, transformFunction: null }, items: { classPropertyName: "items", publicName: "items", isSignal: true, isRequired: true, transformFunction: null }, grouped: { classPropertyName: "grouped", publicName: "grouped", isSignal: true, isRequired: false, transformFunction: null }, showClearButton: { classPropertyName: "showClearButton", publicName: "showClearButton", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, searchExpr: { classPropertyName: "searchExpr", publicName: "searchExpr", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onSelectionChanged: "onSelectionChanged" }, providers: [InputErrorMessagePipe], usesInheritance: true, hostDirectives: [{ directive: i3.ValueAccessorDirective }], ngImport: i0, template: "<dx-select-box\r\n\t[items]=\"selectionItems() || items()\"\r\n\t[valueExpr]=\"itemKey()\"\r\n\t[displayExpr]=\"itemText()\"\r\n\t[searchEnabled]=\"true\"\r\n\t[searchExpr]=\"searchExpr()\"\r\n\t[tabIndex]=\"tabindex()\"\r\n\t[grouped]=\"grouped()\"\r\n\t[placeholder]=\"placeholder()\"\r\n\t[showClearButton]=\"showClearButton()\"\r\n\t[isValid]=\"ngControl?.control?.valid || ngControl?.control?.pristine || ngControl?.control?.disabled || false\"\r\n\t[validationError]=\"ngControl?.control?.errors | dxInputErrorMessage: ngControl?.control\"\r\n\tvalidationMessagePosition=\"top\"\r\n\t[noDataText]=\"translocoService.translate('messages.noDataToDisplay')\"\r\n\t[formControl]=\"ngControl.control\"\r\n\t(ngModelChange)=\"ngControl.viewToModelUpdate($event)\"\r\n\t(onSelectionChanged)=\"onSelectionChanged.emit($event.selectedItem);setTitle($event.selectedItem)\"\r\n\t[inputAttr]=\"{ 'title': selectedItemText }\">\r\n</dx-select-box>\r\n", dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: DxSelectBoxModule }, { kind: "component", type: i5.DxSelectBoxComponent, selector: "dx-select-box", inputs: ["acceptCustomValue", "accessKey", "activeStateEnabled", "buttons", "customItemCreateEvent", "dataSource", "deferRendering", "disabled", "displayExpr", "displayValue", "dropDownButtonTemplate", "dropDownOptions", "elementAttr", "fieldTemplate", "focusStateEnabled", "grouped", "groupTemplate", "height", "hint", "hoverStateEnabled", "inputAttr", "isDirty", "isValid", "items", "itemTemplate", "label", "labelMode", "maxLength", "minSearchLength", "name", "noDataText", "opened", "openOnFieldClick", "placeholder", "readOnly", "rtlEnabled", "searchEnabled", "searchExpr", "searchMode", "searchTimeout", "selectedItem", "showClearButton", "showDataBeforeSearch", "showDropDownButton", "showSelectionControls", "spellcheck", "stylingMode", "tabIndex", "text", "useItemTextAsTitle", "validationError", "validationErrors", "validationMessageMode", "validationMessagePosition", "validationStatus", "value", "valueChangeEvent", "valueExpr", "visible", "width", "wrapItemText"], outputs: ["onChange", "onClosed", "onContentReady", "onCopy", "onCustomItemCreating", "onCut", "onDisposing", "onEnterKey", "onFocusIn", "onFocusOut", "onInitialized", "onInput", "onItemClick", "onKeyDown", "onKeyUp", "onOpened", "onOptionChanged", "onPaste", "onSelectionChanged", "onValueChanged", "acceptCustomValueChange", "accessKeyChange", "activeStateEnabledChange", "buttonsChange", "customItemCreateEventChange", "dataSourceChange", "deferRenderingChange", "disabledChange", "displayExprChange", "displayValueChange", "dropDownButtonTemplateChange", "dropDownOptionsChange", "elementAttrChange", "fieldTemplateChange", "focusStateEnabledChange", "groupedChange", "groupTemplateChange", "heightChange", "hintChange", "hoverStateEnabledChange", "inputAttrChange", "isDirtyChange", "isValidChange", "itemsChange", "itemTemplateChange", "labelChange", "labelModeChange", "maxLengthChange", "minSearchLengthChange", "nameChange", "noDataTextChange", "openedChange", "openOnFieldClickChange", "placeholderChange", "readOnlyChange", "rtlEnabledChange", "searchEnabledChange", "searchExprChange", "searchModeChange", "searchTimeoutChange", "selectedItemChange", "showClearButtonChange", "showDataBeforeSearchChange", "showDropDownButtonChange", "showSelectionControlsChange", "spellcheckChange", "stylingModeChange", "tabIndexChange", "textChange", "useItemTextAsTitleChange", "validationErrorChange", "validationErrorsChange", "validationMessageModeChange", "validationMessagePositionChange", "validationStatusChange", "valueChange", "valueChangeEventChange", "valueExprChange", "visibleChange", "widthChange", "wrapItemTextChange", "onBlur"] }, { kind: "pipe", type: DXInputErrorMessagePipe, name: "dxInputErrorMessage" }, { kind: "ngmodule", type: TranslocoModule }] }); }
61
+ }
62
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: SelectBoxComponent, decorators: [{
63
+ type: Component,
64
+ args: [{ standalone: true, selector: 'aril-select-box[ngModel], aril-select-box[formControl], aril-select-box[formControlName]', imports: [ReactiveFormsModule, DxSelectBoxModule, DXInputErrorMessagePipe, TranslocoModule], providers: [InputErrorMessagePipe], hostDirectives: [ValueAccessorDirective], template: "<dx-select-box\r\n\t[items]=\"selectionItems() || items()\"\r\n\t[valueExpr]=\"itemKey()\"\r\n\t[displayExpr]=\"itemText()\"\r\n\t[searchEnabled]=\"true\"\r\n\t[searchExpr]=\"searchExpr()\"\r\n\t[tabIndex]=\"tabindex()\"\r\n\t[grouped]=\"grouped()\"\r\n\t[placeholder]=\"placeholder()\"\r\n\t[showClearButton]=\"showClearButton()\"\r\n\t[isValid]=\"ngControl?.control?.valid || ngControl?.control?.pristine || ngControl?.control?.disabled || false\"\r\n\t[validationError]=\"ngControl?.control?.errors | dxInputErrorMessage: ngControl?.control\"\r\n\tvalidationMessagePosition=\"top\"\r\n\t[noDataText]=\"translocoService.translate('messages.noDataToDisplay')\"\r\n\t[formControl]=\"ngControl.control\"\r\n\t(ngModelChange)=\"ngControl.viewToModelUpdate($event)\"\r\n\t(onSelectionChanged)=\"onSelectionChanged.emit($event.selectedItem);setTitle($event.selectedItem)\"\r\n\t[inputAttr]=\"{ 'title': selectedItemText }\">\r\n</dx-select-box>\r\n" }]
65
+ }], ctorParameters: () => [{ type: i1.HttpClient }, { type: i2.TranslocoService }], propDecorators: { onSelectionChanged: [{
66
+ type: Output
67
+ }] } });
68
+
69
+ /**
70
+ * Generated bundle index. Do not edit.
71
+ */
72
+
73
+ export { SelectBoxComponent };
74
+ //# sourceMappingURL=aril-ui-selectBox.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aril-ui-selectBox.mjs","sources":["../../projects/aril/ui/selectBox/src/select-box.component.ts","../../projects/aril/ui/selectBox/src/select-box.component.html","../../projects/aril/ui/selectBox/aril-ui-selectBox.ts"],"sourcesContent":["import { HttpClient } from '@angular/common/http';\r\nimport { Component, EventEmitter, Output, effect, input, signal } from '@angular/core';\r\nimport { ReactiveFormsModule } from '@angular/forms';\r\nimport { TranslocoModule, TranslocoService } from '@ngneat/transloco';\r\n\r\nimport { DxSelectBoxModule } from 'devextreme-angular/ui/select-box';\r\nimport { firstValueFrom } from 'rxjs';\r\n\r\nimport { API_CONFIGS } from 'aril/boot/config/api';\r\nimport {\r\n\tBaseInputComponent,\r\n\tDXInputErrorMessagePipe,\r\n\tInputErrorMessagePipe,\r\n\tValueAccessorDirective\r\n} from 'aril/ui/lib';\r\n\r\nimport { SelectBoxItem, SelectionGroupDTO, SelectionRequestDTO } from './interfaces';\r\n\r\n@Component({\r\n\tstandalone: true,\r\n\tselector: 'aril-select-box[ngModel], aril-select-box[formControl], aril-select-box[formControlName]',\r\n\ttemplateUrl: './select-box.component.html',\r\n\timports: [ReactiveFormsModule, DxSelectBoxModule, DXInputErrorMessagePipe, TranslocoModule],\r\n\tproviders: [InputErrorMessagePipe],\r\n\thostDirectives: [ValueAccessorDirective]\r\n})\r\nexport class SelectBoxComponent extends BaseInputComponent {\r\n\titemKey = input('key');\r\n\titemText = input('text');\r\n\tgroupName = input('');\r\n\tparentSelectionKey = input(null);\r\n\ttabindex = input<number>(0);\r\n\titems = input.required<SelectBoxItem[]>();\r\n\tselectedItemText: string = '';\r\n\r\n\tselectionItems = signal<SelectBoxItem[] | null>(null);\r\n\r\n\t/** * @description when grouped = true, option item structure { key:string, items:[] } */\r\n\tgrouped = input(false);\r\n\tshowClearButton = input<boolean>(true);\r\n\tplaceholder = input<string>('');\r\n\tsearchExpr = input<string | string[]>('');\r\n\r\n\t@Output() onSelectionChanged = new EventEmitter<SelectBoxItem>();\r\n\r\n\tconstructor(private http: HttpClient, public translocoService: TranslocoService) {\r\n\t\tsuper();\r\n\t\teffect(() => {\r\n\t\t\tif (this.groupName() || this.parentSelectionKey()) this.getSelectionItems();\r\n\t\t});\r\n\t}\r\n\r\n\tsetTitle(event?: any) {\r\n\t\tthis.selectedItemText = '';\r\n\t\tif (event && event[this.itemText()].length > 25) {\r\n\t\t\tthis.selectedItemText = event ? event[this.itemText()] : '';\r\n\t\t}\r\n\t\tthis.onSelectionChanged.emit(event);\r\n\t}\r\n\r\n\tasync getSelectionItems() {\r\n\t\tconst payload: SelectionRequestDTO = {\r\n\t\t\tgroupName: this.groupName(),\r\n\t\t\tparentSelectionKey: this.parentSelectionKey()\r\n\t\t};\r\n\t\tconst hostApi = API_CONFIGS.api.replace(/\\/[^\\/]+\\/v1$/, `/host/v1`);\r\n\t\tconst selectionGroup = await firstValueFrom(\r\n\t\t\tthis.http.post<SelectionGroupDTO>(hostApi + '/selection-group/load', payload)\r\n\t\t);\r\n\r\n\t\tthis.selectionItems.set(\r\n\t\t\tselectionGroup?.selectionItems.map((item) => ({\r\n\t\t\t\tkey: item.selectionKey,\r\n\t\t\t\ttext: item.selectionDisplay,\r\n\t\t\t\tparentSelectionKey: item.parentSelectionKey\r\n\t\t\t}))\r\n\t\t);\r\n\t}\r\n}\r\n","<dx-select-box\r\n\t[items]=\"selectionItems() || items()\"\r\n\t[valueExpr]=\"itemKey()\"\r\n\t[displayExpr]=\"itemText()\"\r\n\t[searchEnabled]=\"true\"\r\n\t[searchExpr]=\"searchExpr()\"\r\n\t[tabIndex]=\"tabindex()\"\r\n\t[grouped]=\"grouped()\"\r\n\t[placeholder]=\"placeholder()\"\r\n\t[showClearButton]=\"showClearButton()\"\r\n\t[isValid]=\"ngControl?.control?.valid || ngControl?.control?.pristine || ngControl?.control?.disabled || false\"\r\n\t[validationError]=\"ngControl?.control?.errors | dxInputErrorMessage: ngControl?.control\"\r\n\tvalidationMessagePosition=\"top\"\r\n\t[noDataText]=\"translocoService.translate('messages.noDataToDisplay')\"\r\n\t[formControl]=\"ngControl.control\"\r\n\t(ngModelChange)=\"ngControl.viewToModelUpdate($event)\"\r\n\t(onSelectionChanged)=\"onSelectionChanged.emit($event.selectedItem);setTitle($event.selectedItem)\"\r\n\t[inputAttr]=\"{ 'title': selectedItemText }\">\r\n</dx-select-box>\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;AA0BM,MAAO,kBAAmB,SAAQ,kBAAkB,CAAA;IAmBzD,WAAoB,CAAA,IAAgB,EAAS,gBAAkC,EAAA;AAC9E,QAAA,KAAK,EAAE,CAAC;QADW,IAAI,CAAA,IAAA,GAAJ,IAAI,CAAY;QAAS,IAAgB,CAAA,gBAAA,GAAhB,gBAAgB,CAAkB;AAlB/E,QAAA,IAAA,CAAA,OAAO,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC;AACvB,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC;AACzB,QAAA,IAAA,CAAA,SAAS,GAAG,KAAK,CAAC,EAAE,CAAC,CAAC;AACtB,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,uBAAA,EAAA,4BAAA,EAAA,0BAAA,EAAA,6BAAA,EAAA,kBAAA,EAAA,mBAAA,EAAA,gBAAA,EAAA,YAAA,EAAA,0BAAA,EAAA,uBAAA,EAAA,wBAAA,EAAA,6BAAA,EAAA,iCAAA,EAAA,wBAAA,EAAA,aAAA,EAAA,wBAAA,EAAA,iBAAA,EAAA,eAAA,EAAA,aAAA,EAAA,oBAAA,EAAA,QAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,MAAA,EAAA,IAAA,EAAA,uBAAuB,2DAAE,eAAe,EAAA,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAI9E,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAR9B,SAAS;AACG,YAAA,IAAA,EAAA,CAAA,EAAA,UAAA,EAAA,IAAI,YACN,0FAA0F,EAAA,OAAA,EAE3F,CAAC,mBAAmB,EAAE,iBAAiB,EAAE,uBAAuB,EAAE,eAAe,CAAC,aAChF,CAAC,qBAAqB,CAAC,EAClB,cAAA,EAAA,CAAC,sBAAsB,CAAC,EAAA,QAAA,EAAA,k7BAAA,EAAA,CAAA;8GAmB9B,kBAAkB,EAAA,CAAA;sBAA3B,MAAM;;;AE3CR;;AAEG;;;;"}
@@ -0,0 +1,30 @@
1
+ import * as i0 from '@angular/core';
2
+ import { input, Component } from '@angular/core';
3
+ import * as i2 from '@angular/forms';
4
+ import { ReactiveFormsModule } from '@angular/forms';
5
+ import * as i3 from 'primeng/inputswitch';
6
+ import { InputSwitchModule } from 'primeng/inputswitch';
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 SwitchComponent extends BaseInputComponent {
13
+ constructor() {
14
+ super(...arguments);
15
+ this.tabindex = input();
16
+ }
17
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: SwitchComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
18
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "17.1.2", type: SwitchComponent, isStandalone: true, selector: "aril-switch[ngModel], aril-switch[formControl], aril-switch[formControlName]", inputs: { tabindex: { classPropertyName: "tabindex", publicName: "tabindex", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, hostDirectives: [{ directive: i1.ValueAccessorDirective }], ngImport: i0, template: "<p-inputSwitch\r\n\t[tabindex]=\"tabindex()\"\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-inputSwitch>\r\n", dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: InputSwitchModule }, { kind: "component", type: i3.InputSwitch, selector: "p-inputSwitch", inputs: ["style", "styleClass", "tabindex", "inputId", "name", "disabled", "readonly", "trueValue", "falseValue", "ariaLabel", "ariaLabelledBy", "autofocus"], outputs: ["onChange"] }, { 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" }] }); }
19
+ }
20
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: SwitchComponent, decorators: [{
21
+ type: Component,
22
+ args: [{ standalone: true, selector: 'aril-switch[ngModel], aril-switch[formControl], aril-switch[formControlName]', imports: [ReactiveFormsModule, InputSwitchModule, TooltipModule, InputErrorMessagePipe], hostDirectives: [ValueAccessorDirective], template: "<p-inputSwitch\r\n\t[tabindex]=\"tabindex()\"\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-inputSwitch>\r\n" }]
23
+ }] });
24
+
25
+ /**
26
+ * Generated bundle index. Do not edit.
27
+ */
28
+
29
+ export { SwitchComponent };
30
+ //# sourceMappingURL=aril-ui-switch.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aril-ui-switch.mjs","sources":["../../projects/aril/ui/switch/src/switch.component.ts","../../projects/aril/ui/switch/src/switch.component.html","../../projects/aril/ui/switch/aril-ui-switch.ts"],"sourcesContent":["import { Component, input } from '@angular/core';\r\nimport { ReactiveFormsModule } from '@angular/forms';\r\n\r\nimport { InputSwitchModule } from 'primeng/inputswitch';\r\nimport { TooltipModule } from 'primeng/tooltip';\r\n\r\nimport { BaseInputComponent, InputErrorMessagePipe, ValueAccessorDirective } from 'aril/ui/lib';\r\n\r\n@Component({\r\n\tstandalone: true,\r\n\tselector: 'aril-switch[ngModel], aril-switch[formControl], aril-switch[formControlName]',\r\n\ttemplateUrl: './switch.component.html',\r\n\timports: [ReactiveFormsModule, InputSwitchModule, TooltipModule, InputErrorMessagePipe],\r\n\thostDirectives: [ValueAccessorDirective]\r\n})\r\nexport class SwitchComponent extends BaseInputComponent {\r\n\ttabindex = input<number>();\r\n}\r\n","<p-inputSwitch\r\n\t[tabindex]=\"tabindex()\"\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-inputSwitch>\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;AAeM,MAAO,eAAgB,SAAQ,kBAAkB,CAAA;AAPvD,IAAA,WAAA,GAAA;;QAQC,IAAQ,CAAA,QAAA,GAAG,KAAK,EAAU,CAAC;AAC3B,KAAA;8GAFY,eAAe,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAAf,eAAe,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,8EAAA,EAAA,MAAA,EAAA,EAAA,QAAA,EAAA,EAAA,iBAAA,EAAA,UAAA,EAAA,UAAA,EAAA,UAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,eAAA,EAAA,IAAA,EAAA,cAAA,EAAA,CAAA,EAAA,SAAA,EAAA,EAAA,CAAA,sBAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECf5B,6TAOA,EDKW,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,mBAAmB,yTAAE,iBAAiB,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,WAAA,EAAA,QAAA,EAAA,eAAA,EAAA,MAAA,EAAA,CAAA,OAAA,EAAA,YAAA,EAAA,UAAA,EAAA,SAAA,EAAA,MAAA,EAAA,UAAA,EAAA,UAAA,EAAA,WAAA,EAAA,YAAA,EAAA,WAAA,EAAA,gBAAA,EAAA,WAAA,CAAA,EAAA,OAAA,EAAA,CAAA,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