aril 0.0.44 → 0.0.46

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 (750) hide show
  1. package/.eslintrc.json +41 -0
  2. package/README.md +48 -48
  3. package/boot/config/api/{index.d.ts → index.ts} +1 -1
  4. package/boot/config/api/ng-package.json +6 -0
  5. package/boot/config/api/src/api.service.ts +57 -0
  6. package/boot/config/api/src/interfaces.ts +13 -0
  7. package/boot/config/apps/{index.d.ts → index.ts} +2 -2
  8. package/boot/config/apps/ng-package.json +6 -0
  9. package/boot/config/apps/src/apps.service.ts +64 -0
  10. package/boot/config/apps/src/interfaces.ts +27 -0
  11. package/boot/config/apps/src/showdowDOMWrapper.ts +28 -0
  12. package/boot/config/plugins/{index.d.ts → index.ts} +2 -2
  13. package/boot/config/plugins/ng-package.json +6 -0
  14. package/boot/config/plugins/src/getNgZone.ts +9 -0
  15. package/boot/config/plugins/src/interfaces.ts +11 -0
  16. package/boot/config/plugins/src/plugins.service.ts +82 -0
  17. package/boot/host/{index.d.ts → index.ts} +1 -1
  18. package/boot/host/ng-package.json +6 -0
  19. package/boot/host/src/app.component.ts +27 -0
  20. package/boot/host/src/bootstrap.ts +61 -0
  21. package/boot/index.ts +1 -0
  22. package/boot/mfe/{index.d.ts → index.ts} +1 -1
  23. package/boot/mfe/ng-package.json +6 -0
  24. package/boot/mfe/src/app.component.ts +57 -0
  25. package/boot/mfe/src/appComponentLoader.ts +4 -0
  26. package/boot/mfe/src/bootstrap.ts +78 -0
  27. package/boot/mfe/src/loadStyles.ts +19 -0
  28. package/boot/ng-package.json +6 -0
  29. package/http/{index.d.ts → index.ts} +13 -8
  30. package/http/lib/enums.ts +13 -0
  31. package/http/lib/interfaces.ts +38 -0
  32. package/http/ng-package.json +6 -0
  33. package/http/src/httpBackend.ts +12 -0
  34. package/http/src/httpClient.ts +20 -0
  35. package/http/src/interceptor/state-machine.interceptor.ts +9 -0
  36. package/http/src/serviceBase.ts +91 -0
  37. package/http/src/serviceMockBase.ts +12 -0
  38. package/http/src/serviceRequest.ts +26 -0
  39. package/http/src/serviceStateMethods.ts +155 -0
  40. package/i18n/{index.d.ts → index.ts} +5 -5
  41. package/i18n/ng-package.json +6 -0
  42. package/i18n/src/folder-name-token.ts +3 -0
  43. package/i18n/src/i18n.module.ts +11 -0
  44. package/i18n/src/loader.ts +16 -0
  45. package/i18n/src/provideI18n.ts +18 -0
  46. package/i18n/src/provideScope.ts +20 -0
  47. package/keycloak/{index.d.ts → index.ts} +3 -3
  48. package/keycloak/ng-package.json +6 -0
  49. package/keycloak/src/auth.guard.ts +37 -0
  50. package/keycloak/src/auth.interceptor.ts +13 -0
  51. package/keycloak/src/keycloak.manager.ts +89 -0
  52. package/ng-package.json +14 -0
  53. package/package.json +31 -314
  54. package/project.json +39 -0
  55. package/{public-api.d.ts → public-api.ts} +2 -2
  56. package/theme/index.ts +1 -1
  57. package/theme/layout/app/breadcrumb/app.breadcrumb.component.html +17 -10
  58. package/theme/layout/app/breadcrumb/app.breadcrumb.component.ts +50 -50
  59. package/theme/layout/app/config/app.config.component.html +142 -142
  60. package/theme/layout/app/config/app.config.component.ts +143 -143
  61. package/theme/layout/app/layout/app.layout.component.html +19 -19
  62. package/theme/layout/app/layout/app.layout.component.ts +170 -170
  63. package/theme/layout/app/layout/mfe.layout.component.ts +49 -49
  64. package/theme/layout/app/menu/app.menu.component.html +9 -9
  65. package/theme/layout/app/menu/app.menu.component.ts +356 -356
  66. package/theme/layout/app/menu/app.sub.menu.component.html +13 -13
  67. package/theme/layout/app/sidebar/app.sidebar.component.ts +44 -44
  68. package/theme/layout/app/topbar/app.topbar.component.html +1 -1
  69. package/theme/layout/index.ts +3 -3
  70. package/theme/layout/ng-package.json +6 -6
  71. package/theme/layout/service/menuchangeevent.ts +4 -4
  72. package/theme/ng-package.json +6 -6
  73. package/theme/styles/layout/_animation.scss +53 -53
  74. package/theme/styles/layout/_breadcrumb.scss +21 -21
  75. package/theme/styles/layout/_config.scss +42 -42
  76. package/theme/styles/layout/_content.scss +3 -3
  77. package/theme/styles/layout/_fonts.scss +40 -40
  78. package/theme/styles/layout/_layout_dark.scss +5 -5
  79. package/theme/styles/layout/_layout_dim.scss +5 -5
  80. package/theme/styles/layout/_layout_light.scss +5 -5
  81. package/theme/styles/layout/_main.scss +28 -28
  82. package/theme/styles/layout/_profile.scss +10 -10
  83. package/theme/styles/layout/_responsive.scss +111 -111
  84. package/theme/styles/layout/_sidebar_drawer.scss +234 -234
  85. package/theme/styles/layout/_sidebar_horizontal.scss +163 -163
  86. package/theme/styles/layout/_sidebar_reveal.scss +201 -201
  87. package/theme/styles/layout/_sidebar_slim.scss +144 -144
  88. package/theme/styles/layout/_sidebar_slim_plus.scss +162 -162
  89. package/theme/styles/layout/_sidebar_vertical.scss +153 -153
  90. package/theme/styles/layout/_typography.scss +68 -68
  91. package/theme/styles/layout/_utils.scss +24 -24
  92. package/theme/styles/layout/layout.scss +24 -24
  93. package/theme/styles/layout/menutheme/_colorscheme.scss +11 -11
  94. package/theme/styles/layout/menutheme/_menutheme.scss +3 -3
  95. package/theme/styles/layout/menutheme/_primarycolor.scss +16 -16
  96. package/theme/styles/layout/menutheme/_transparent.scss +26 -26
  97. package/theme/styles/layout/preloading.scss +84 -84
  98. package/theme/styles/theme/base/_colors.scss +17 -17
  99. package/theme/styles/theme/base/_common.scss +76 -76
  100. package/theme/styles/theme/base/_components.scss +106 -106
  101. package/theme/styles/theme/base/_mixins.scss +337 -337
  102. package/theme/styles/theme/base/components/button/_button.scss +576 -576
  103. package/theme/styles/theme/base/components/button/_speeddial.scss +96 -96
  104. package/theme/styles/theme/base/components/button/_splitbutton.scss +348 -348
  105. package/theme/styles/theme/base/components/data/_carousel.scss +37 -37
  106. package/theme/styles/theme/base/components/data/_datatable.scss +338 -338
  107. package/theme/styles/theme/base/components/data/_dataview.scss +46 -46
  108. package/theme/styles/theme/base/components/data/_filter.scss +137 -137
  109. package/theme/styles/theme/base/components/data/_orderlist.scss +114 -114
  110. package/theme/styles/theme/base/components/data/_organizationchart.scss +50 -50
  111. package/theme/styles/theme/base/components/data/_paginator.scss +92 -92
  112. package/theme/styles/theme/base/components/data/_picklist.scss +114 -114
  113. package/theme/styles/theme/base/components/data/_timeline.scss +35 -35
  114. package/theme/styles/theme/base/components/data/_tree.scss +150 -150
  115. package/theme/styles/theme/base/components/data/_treetable.scss +255 -255
  116. package/theme/styles/theme/base/components/data/_virtualscroller.scss +28 -28
  117. package/theme/styles/theme/base/components/file/_fileupload.scss +64 -64
  118. package/theme/styles/theme/base/components/input/_autocomplete.scss +136 -136
  119. package/theme/styles/theme/base/components/input/_calendar.scss +267 -267
  120. package/theme/styles/theme/base/components/input/_cascadeselect.scss +135 -135
  121. package/theme/styles/theme/base/components/input/_checkbox.scss +94 -94
  122. package/theme/styles/theme/base/components/input/_chips.scss +65 -65
  123. package/theme/styles/theme/base/components/input/_colorpicker.scss +19 -19
  124. package/theme/styles/theme/base/components/input/_dropdown.scss +151 -151
  125. package/theme/styles/theme/base/components/input/_editor.scss +122 -122
  126. package/theme/styles/theme/base/components/input/_inputgroup.scss +75 -75
  127. package/theme/styles/theme/base/components/input/_inputmask.scss +16 -16
  128. package/theme/styles/theme/base/components/input/_inputnumber.scss +28 -28
  129. package/theme/styles/theme/base/components/input/_inputswitch.scss +60 -60
  130. package/theme/styles/theme/base/components/input/_inputtext.scss +100 -100
  131. package/theme/styles/theme/base/components/input/_listbox.scss +97 -97
  132. package/theme/styles/theme/base/components/input/_multiselect.scss +177 -177
  133. package/theme/styles/theme/base/components/input/_password.scss +52 -52
  134. package/theme/styles/theme/base/components/input/_radiobutton.scss +78 -78
  135. package/theme/styles/theme/base/components/input/_rating.scss +60 -60
  136. package/theme/styles/theme/base/components/input/_selectbutton.scss +50 -50
  137. package/theme/styles/theme/base/components/input/_slider.scss +75 -75
  138. package/theme/styles/theme/base/components/input/_togglebutton.scss +48 -48
  139. package/theme/styles/theme/base/components/input/_treeselect.scss +139 -139
  140. package/theme/styles/theme/base/components/menu/_breadcrumb.scss +42 -42
  141. package/theme/styles/theme/base/components/menu/_contextmenu.scss +39 -39
  142. package/theme/styles/theme/base/components/menu/_dock.scss +95 -95
  143. package/theme/styles/theme/base/components/menu/_megamenu.scss +55 -55
  144. package/theme/styles/theme/base/components/menu/_menu.scss +37 -37
  145. package/theme/styles/theme/base/components/menu/_menubar.scss +140 -140
  146. package/theme/styles/theme/base/components/menu/_panelmenu.scss +153 -153
  147. package/theme/styles/theme/base/components/menu/_slidemenu.scss +59 -59
  148. package/theme/styles/theme/base/components/menu/_steps.scss +56 -56
  149. package/theme/styles/theme/base/components/menu/_tabmenu.scss +73 -73
  150. package/theme/styles/theme/base/components/menu/_tieredmenu.scss +43 -43
  151. package/theme/styles/theme/base/components/messages/_inlinemessage.scss +69 -69
  152. package/theme/styles/theme/base/components/messages/_message.scss +107 -107
  153. package/theme/styles/theme/base/components/messages/_toast.scss +99 -99
  154. package/theme/styles/theme/base/components/misc/_avatar.scss +30 -30
  155. package/theme/styles/theme/base/components/misc/_badge.scss +48 -48
  156. package/theme/styles/theme/base/components/misc/_chip.scss +42 -42
  157. package/theme/styles/theme/base/components/misc/_inplace.scss +16 -16
  158. package/theme/styles/theme/base/components/misc/_progressbar.scss +17 -17
  159. package/theme/styles/theme/base/components/misc/_scrolltop.scss +25 -25
  160. package/theme/styles/theme/base/components/misc/_skeleton.scss +8 -8
  161. package/theme/styles/theme/base/components/misc/_tag.scss +40 -40
  162. package/theme/styles/theme/base/components/misc/_terminal.scss +12 -12
  163. package/theme/styles/theme/base/components/multimedia/_galleria.scss +155 -155
  164. package/theme/styles/theme/base/components/multimedia/_image.scss +49 -49
  165. package/theme/styles/theme/base/components/overlay/_confirmpopup.scss +70 -70
  166. package/theme/styles/theme/base/components/overlay/_dialog.scss +69 -69
  167. package/theme/styles/theme/base/components/overlay/_overlaypanel.scss +62 -62
  168. package/theme/styles/theme/base/components/overlay/_sidebar.scss +27 -27
  169. package/theme/styles/theme/base/components/overlay/_tooltip.scss +33 -33
  170. package/theme/styles/theme/base/components/panel/_accordion.scss +119 -119
  171. package/theme/styles/theme/base/components/panel/_card.scss +30 -30
  172. package/theme/styles/theme/base/components/panel/_divider.scss +31 -31
  173. package/theme/styles/theme/base/components/panel/_fieldset.scss +47 -47
  174. package/theme/styles/theme/base/components/panel/_panel.scss +69 -63
  175. package/theme/styles/theme/base/components/panel/_scrollpanel.scss +6 -6
  176. package/theme/styles/theme/base/components/panel/_splitter.scss +19 -19
  177. package/theme/styles/theme/base/components/panel/_tabview.scss +82 -82
  178. package/theme/styles/theme/base/components/panel/_toolbar.scss +11 -11
  179. package/theme/styles/theme/dark/_extensions.scss +134 -134
  180. package/theme/styles/theme/dark/_variables.scss +918 -918
  181. package/theme/styles/theme/dark/blue/theme.scss +14 -14
  182. package/theme/styles/theme/dark/indigo/theme.scss +14 -14
  183. package/theme/styles/theme/light/_extensions.scss +116 -116
  184. package/theme/styles/theme/light/_variables.scss +911 -911
  185. package/theme/styles/theme/light/blue/theme.scss +14 -14
  186. package/theme/styles/theme/light/indigo/theme.scss +14 -14
  187. package/tsconfig.lib.json +12 -0
  188. package/tsconfig.lib.prod.json +10 -0
  189. package/tsconfig.spec.json +9 -0
  190. package/ui/autoComplete/{index.d.ts → index.ts} +1 -1
  191. package/ui/autoComplete/ng-package.json +6 -0
  192. package/ui/autoComplete/src/auto-complete.component.html +11 -0
  193. package/ui/autoComplete/src/auto-complete.component.ts +92 -0
  194. package/ui/autoComplete/src/interfaces.ts +30 -0
  195. package/ui/badge/{index.d.ts → index.ts} +1 -1
  196. package/ui/badge/ng-package.json +6 -0
  197. package/ui/badge/src/badge.component.html +3 -0
  198. package/ui/badge/src/badge.component.ts +19 -0
  199. package/ui/button/{index.d.ts → index.ts} +2 -2
  200. package/ui/button/ng-package.json +6 -0
  201. package/ui/button/src/button.component.html +10 -0
  202. package/ui/button/src/button.component.ts +43 -0
  203. package/ui/button/src/split-button.component.html +2 -0
  204. package/ui/button/src/split-button.component.ts +17 -0
  205. package/ui/calendar/{index.d.ts → index.ts} +1 -1
  206. package/ui/calendar/ng-package.json +6 -0
  207. package/ui/calendar/src/calendar.component.html +31 -0
  208. package/ui/calendar/src/calendar.component.ts +136 -0
  209. package/ui/checkbox/{index.d.ts → index.ts} +2 -2
  210. package/ui/checkbox/ng-package.json +6 -0
  211. package/ui/checkbox/src/check-box.component.html +9 -0
  212. package/ui/checkbox/src/check-box.component.ts +19 -0
  213. package/ui/checkbox/src/tri-state-checkbox.component.html +7 -0
  214. package/ui/checkbox/src/tri-state-checkbox.component.ts +20 -0
  215. package/ui/dxField/{index.d.ts → index.ts} +1 -1
  216. package/ui/dxField/ng-package.json +6 -0
  217. package/ui/dxField/src/dx-field.component.html +8 -0
  218. package/ui/dxField/src/dx-field.component.ts +16 -0
  219. package/ui/field/{index.d.ts → index.ts} +1 -1
  220. package/ui/field/ng-package.json +6 -0
  221. package/ui/field/src/field.component.html +22 -0
  222. package/ui/field/src/field.component.ts +46 -0
  223. package/ui/fileUpload/{index.d.ts → index.ts} +1 -1
  224. package/ui/fileUpload/ng-package.json +6 -0
  225. package/ui/fileUpload/src/file-upload.component.html +38 -0
  226. package/ui/fileUpload/src/file-upload.component.ts +72 -0
  227. package/ui/form/index.ts +18 -0
  228. package/ui/form/ng-package.json +6 -0
  229. package/ui/form/src/form-submit-button.component.html +12 -0
  230. package/ui/form/src/form-submit-button.component.ts +36 -0
  231. package/ui/form/src/form.component.ts +20 -0
  232. package/ui/index.ts +1 -0
  233. package/ui/lib/{index.d.ts → index.ts} +16 -11
  234. package/ui/lib/ng-package.json +6 -0
  235. package/ui/lib/src/form/form-error-message.component.ts +25 -0
  236. package/ui/lib/src/form/form-error-message.directive.ts +32 -0
  237. package/ui/lib/src/form/form-field-builder.ts +31 -0
  238. package/ui/lib/src/form/form-validation.ts +14 -0
  239. package/ui/lib/src/grid/flex-grid.directive.ts +10 -0
  240. package/ui/lib/src/input/baseInput.ts +30 -0
  241. package/ui/lib/src/input/common-input-validators.service.ts +57 -0
  242. package/ui/lib/src/input/dx-input-error-message.pipe.ts +16 -0
  243. package/ui/lib/src/input/input-disabled.directive.ts +15 -0
  244. package/ui/lib/src/input/input-error-message.pipe.ts +39 -0
  245. package/ui/lib/src/input/input-transforms.ts +11 -0
  246. package/ui/lib/src/input/value-accessor.directive.ts +27 -0
  247. package/ui/mask/{index.d.ts → index.ts} +1 -1
  248. package/ui/mask/ng-package.json +6 -0
  249. package/ui/mask/src/mask.component.css +23 -0
  250. package/ui/mask/src/mask.component.html +17 -0
  251. package/ui/mask/src/mask.component.ts +34 -0
  252. package/ui/ng-package.json +6 -0
  253. package/ui/number/{index.d.ts → index.ts} +1 -1
  254. package/ui/number/ng-package.json +6 -0
  255. package/ui/number/src/number.component.html +25 -0
  256. package/ui/number/src/number.component.ts +34 -0
  257. package/ui/overlayPanel/{index.d.ts → index.ts} +1 -1
  258. package/ui/overlayPanel/ng-package.json +6 -0
  259. package/ui/overlayPanel/src/overlay-panel.component.html +5 -0
  260. package/ui/overlayPanel/src/overlay-panel.component.ts +16 -0
  261. package/ui/panel/{index.d.ts → index.ts} +1 -1
  262. package/ui/panel/ng-package.json +6 -0
  263. package/ui/panel/src/panel.component.css +25 -0
  264. package/ui/panel/src/panel.component.html +38 -0
  265. package/ui/panel/src/panel.component.ts +24 -0
  266. package/ui/password/{index.d.ts → index.ts} +1 -1
  267. package/ui/password/ng-package.json +6 -0
  268. package/ui/password/src/password.component.html +24 -0
  269. package/ui/password/src/password.component.ts +22 -0
  270. package/ui/radioButton/{index.d.ts → index.ts} +1 -1
  271. package/ui/radioButton/ng-package.json +6 -0
  272. package/ui/radioButton/src/radio-button.component.html +17 -0
  273. package/ui/radioButton/src/radio-button.component.ts +36 -0
  274. package/ui/selectBox/{index.d.ts → index.ts} +1 -1
  275. package/ui/selectBox/ng-package.json +6 -0
  276. package/ui/selectBox/src/interfaces.ts +41 -0
  277. package/ui/selectBox/src/select-box.component.html +17 -0
  278. package/ui/selectBox/src/select-box.component.ts +69 -0
  279. package/{styles/ui → ui/styles}/ui.common.scss +24 -24
  280. package/ui/switch/{index.d.ts → index.ts} +1 -1
  281. package/ui/switch/ng-package.json +6 -0
  282. package/ui/switch/src/switch.component.html +7 -0
  283. package/ui/switch/src/switch.component.ts +18 -0
  284. package/ui/table/index.ts +34 -0
  285. package/ui/table/ng-package.json +6 -0
  286. package/ui/table/src/i18n.ts +55 -0
  287. package/ui/table/src/table-column.component.ts +28 -0
  288. package/ui/table/src/table.component.html +136 -0
  289. package/ui/table/src/table.component.ts +99 -0
  290. package/ui/tagBox/{index.d.ts → index.ts} +1 -1
  291. package/ui/tagBox/ng-package.json +6 -0
  292. package/ui/tagBox/src/tag-box.component.html +21 -0
  293. package/ui/tagBox/src/tag-box.component.ts +53 -0
  294. package/ui/text/{index.d.ts → index.ts} +1 -1
  295. package/ui/text/ng-package.json +6 -0
  296. package/ui/text/src/text.component.html +21 -0
  297. package/ui/text/src/text.component.ts +47 -0
  298. package/ui/textArea/{index.d.ts → index.ts} +1 -1
  299. package/ui/textArea/ng-package.json +6 -0
  300. package/ui/textArea/src/text-area.component.html +11 -0
  301. package/ui/textArea/src/text-area.component.ts +21 -0
  302. package/ui/toggle-button/index.ts +1 -0
  303. package/ui/toggle-button/ng-package.json +6 -0
  304. package/ui/toggle-button/src/toggle-button.component.html +13 -0
  305. package/ui/toggle-button/src/toggle-button.component.scss +19 -0
  306. package/ui/toggle-button/src/toggle-button.component.ts +22 -0
  307. package/ui/tree/{index.d.ts → index.ts} +1 -1
  308. package/ui/tree/ng-package.json +6 -0
  309. package/ui/tree/src/tree.component.html +16 -0
  310. package/ui/tree/src/tree.component.ts +52 -0
  311. package/ui/treeTable/{index.d.ts → index.ts} +1 -1
  312. package/ui/treeTable/ng-package.json +6 -0
  313. package/ui/treeTable/src/tree-table.component.html +88 -0
  314. package/ui/treeTable/src/tree-table.component.ts +57 -0
  315. package/ui/value/{index.d.ts → index.ts} +1 -1
  316. package/ui/value/ng-package.json +6 -0
  317. package/ui/value/src/value.component.html +19 -0
  318. package/ui/value/src/value.component.ts +39 -0
  319. package/util/block/{index.d.ts → index.ts} +1 -1
  320. package/util/block/ng-package.json +6 -0
  321. package/util/block/src/block.ts +65 -0
  322. package/util/custom_pages/{index.d.ts → index.ts} +1 -1
  323. package/util/custom_pages/ng-package.json +6 -0
  324. package/util/custom_pages/src/notFound.component.ts +34 -0
  325. package/util/index.ts +1 -0
  326. package/util/init-event/{index.d.ts → index.ts} +1 -1
  327. package/util/init-event/ng-package.json +6 -0
  328. package/util/init-event/src/init-event.directive.ts +13 -0
  329. package/util/lib/{index.d.ts → index.ts} +3 -3
  330. package/util/lib/ng-package.json +6 -0
  331. package/util/lib/src/interfaces.ts +44 -0
  332. package/util/lib/src/module-router.ts +10 -0
  333. package/util/lib/src/types.ts +49 -0
  334. package/util/loaders/{index.d.ts → index.ts} +2 -2
  335. package/util/loaders/ng-package.json +6 -0
  336. package/util/loaders/script/script.loader.service.ts +69 -0
  337. package/util/loaders/style/style.loader.service.ts +69 -0
  338. package/util/ng-package.json +6 -0
  339. package/util/primitive-extensions/{index.d.ts → index.ts} +4 -4
  340. package/util/primitive-extensions/ng-package.json +6 -0
  341. package/util/primitive-extensions/src/{boolean.extensions.d.ts → boolean.extensions.ts} +1 -1
  342. package/util/primitive-extensions/src/date.extensions.ts +135 -0
  343. package/util/primitive-extensions/src/number.extensions.ts +57 -0
  344. package/util/primitive-extensions/src/string.extensions.ts +39 -0
  345. package/util/pub-sub/{index.d.ts → index.ts} +1 -1
  346. package/util/pub-sub/ng-package.json +6 -0
  347. package/util/pub-sub/src/pub-sub.service.ts +34 -0
  348. package/boot/config/api/src/api.service.d.ts +0 -14
  349. package/boot/config/api/src/interfaces.d.ts +0 -9
  350. package/boot/config/apps/src/apps.service.d.ts +0 -16
  351. package/boot/config/apps/src/interfaces.d.ts +0 -23
  352. package/boot/config/apps/src/showdowDOMWrapper.d.ts +0 -10
  353. package/boot/config/plugins/src/getNgZone.d.ts +0 -5
  354. package/boot/config/plugins/src/interfaces.d.ts +0 -18
  355. package/boot/config/plugins/src/plugins.service.d.ts +0 -9
  356. package/boot/host/src/app.component.d.ts +0 -8
  357. package/boot/host/src/bootstrap.d.ts +0 -2
  358. package/boot/index.d.ts +0 -1
  359. package/boot/mfe/src/app.component.d.ts +0 -12
  360. package/boot/mfe/src/appComponentLoader.d.ts +0 -1
  361. package/boot/mfe/src/bootstrap.d.ts +0 -6
  362. package/boot/mfe/src/loadStyles.d.ts +0 -3
  363. package/esm2022/aril.mjs +0 -5
  364. package/esm2022/boot/aril-boot.mjs +0 -5
  365. package/esm2022/boot/config/api/aril-boot-config-api.mjs +0 -5
  366. package/esm2022/boot/config/api/index.mjs +0 -2
  367. package/esm2022/boot/config/api/src/api.service.mjs +0 -42
  368. package/esm2022/boot/config/api/src/interfaces.mjs +0 -11
  369. package/esm2022/boot/config/apps/aril-boot-config-apps.mjs +0 -5
  370. package/esm2022/boot/config/apps/index.mjs +0 -3
  371. package/esm2022/boot/config/apps/src/apps.service.mjs +0 -51
  372. package/esm2022/boot/config/apps/src/interfaces.mjs +0 -17
  373. package/esm2022/boot/config/apps/src/showdowDOMWrapper.mjs +0 -35
  374. package/esm2022/boot/config/plugins/aril-boot-config-plugins.mjs +0 -5
  375. package/esm2022/boot/config/plugins/index.mjs +0 -3
  376. package/esm2022/boot/config/plugins/src/getNgZone.mjs +0 -12
  377. package/esm2022/boot/config/plugins/src/interfaces.mjs +0 -3
  378. package/esm2022/boot/config/plugins/src/plugins.service.mjs +0 -65
  379. package/esm2022/boot/host/aril-boot-host.mjs +0 -5
  380. package/esm2022/boot/host/index.mjs +0 -2
  381. package/esm2022/boot/host/src/app.component.mjs +0 -32
  382. package/esm2022/boot/host/src/bootstrap.mjs +0 -50
  383. package/esm2022/boot/index.mjs +0 -2
  384. package/esm2022/boot/mfe/aril-boot-mfe.mjs +0 -5
  385. package/esm2022/boot/mfe/index.mjs +0 -2
  386. package/esm2022/boot/mfe/src/app.component.mjs +0 -60
  387. package/esm2022/boot/mfe/src/appComponentLoader.mjs +0 -5
  388. package/esm2022/boot/mfe/src/bootstrap.mjs +0 -64
  389. package/esm2022/boot/mfe/src/loadStyles.mjs +0 -16
  390. package/esm2022/http/aril-http.mjs +0 -5
  391. package/esm2022/http/index.mjs +0 -12
  392. package/esm2022/http/lib/enums.mjs +0 -16
  393. package/esm2022/http/lib/interfaces.mjs +0 -15
  394. package/esm2022/http/src/httpBackend.mjs +0 -17
  395. package/esm2022/http/src/httpClient.mjs +0 -14
  396. package/esm2022/http/src/interceptor/state-machine.interceptor.mjs +0 -8
  397. package/esm2022/http/src/serviceBase.mjs +0 -58
  398. package/esm2022/http/src/serviceMockBase.mjs +0 -5
  399. package/esm2022/http/src/serviceRequest.mjs +0 -21
  400. package/esm2022/http/src/serviceStateMethods.mjs +0 -119
  401. package/esm2022/i18n/aril-i18n.mjs +0 -5
  402. package/esm2022/i18n/index.mjs +0 -6
  403. package/esm2022/i18n/src/folder-name-token.mjs +0 -3
  404. package/esm2022/i18n/src/i18n.module.mjs +0 -17
  405. package/esm2022/i18n/src/loader.mjs +0 -20
  406. package/esm2022/i18n/src/provideI18n.mjs +0 -16
  407. package/esm2022/i18n/src/provideScope.mjs +0 -18
  408. package/esm2022/keycloak/aril-keycloak.mjs +0 -5
  409. package/esm2022/keycloak/index.mjs +0 -4
  410. package/esm2022/keycloak/src/auth.guard.mjs +0 -39
  411. package/esm2022/keycloak/src/auth.interceptor.mjs +0 -10
  412. package/esm2022/keycloak/src/keycloak.manager.mjs +0 -76
  413. package/esm2022/public-api.mjs +0 -3
  414. package/esm2022/theme/aril-theme.mjs +0 -5
  415. package/esm2022/theme/index.mjs +0 -2
  416. package/esm2022/theme/layout/app/breadcrumb/app.breadcrumb.component.mjs +0 -41
  417. package/esm2022/theme/layout/app/config/app.config.component.mjs +0 -132
  418. package/esm2022/theme/layout/app/layout/app.layout.component.mjs +0 -147
  419. package/esm2022/theme/layout/app/layout/mfe.layout.component.mjs +0 -67
  420. package/esm2022/theme/layout/app/menu/app.menu.component.mjs +0 -398
  421. package/esm2022/theme/layout/app/profileSidebar/app.profilesidebar.component.mjs +0 -28
  422. package/esm2022/theme/layout/app/sidebar/app.sidebar.component.mjs +0 -41
  423. package/esm2022/theme/layout/app/topbar/app.topbar.component.mjs +0 -34
  424. package/esm2022/theme/layout/aril-theme-layout.mjs +0 -5
  425. package/esm2022/theme/layout/index.mjs +0 -4
  426. package/esm2022/theme/layout/service/app.layout.service.mjs +0 -127
  427. package/esm2022/theme/layout/service/app.menu.service.mjs +0 -53
  428. package/esm2022/theme/layout/service/menuchangeevent.mjs +0 -2
  429. package/esm2022/ui/aril-ui.mjs +0 -5
  430. package/esm2022/ui/autoComplete/aril-ui-autoComplete.mjs +0 -5
  431. package/esm2022/ui/autoComplete/index.mjs +0 -2
  432. package/esm2022/ui/autoComplete/src/auto-complete.component.mjs +0 -71
  433. package/esm2022/ui/autoComplete/src/interfaces.mjs +0 -2
  434. package/esm2022/ui/badge/aril-ui-badge.mjs +0 -5
  435. package/esm2022/ui/badge/index.mjs +0 -2
  436. package/esm2022/ui/badge/src/badge.component.mjs +0 -19
  437. package/esm2022/ui/button/aril-ui-button.mjs +0 -5
  438. package/esm2022/ui/button/index.mjs +0 -3
  439. package/esm2022/ui/button/src/button.component.mjs +0 -37
  440. package/esm2022/ui/button/src/split-button.component.mjs +0 -18
  441. package/esm2022/ui/calendar/aril-ui-calendar.mjs +0 -5
  442. package/esm2022/ui/calendar/index.mjs +0 -2
  443. package/esm2022/ui/calendar/src/calendar.component.mjs +0 -115
  444. package/esm2022/ui/checkbox/aril-ui-checkbox.mjs +0 -5
  445. package/esm2022/ui/checkbox/index.mjs +0 -3
  446. package/esm2022/ui/checkbox/src/check-box.component.mjs +0 -24
  447. package/esm2022/ui/checkbox/src/tri-state-checkbox.component.mjs +0 -24
  448. package/esm2022/ui/dxField/aril-ui-dxField.mjs +0 -5
  449. package/esm2022/ui/dxField/index.mjs +0 -2
  450. package/esm2022/ui/dxField/src/dx-field.component.mjs +0 -18
  451. package/esm2022/ui/field/aril-ui-field.mjs +0 -5
  452. package/esm2022/ui/field/index.mjs +0 -2
  453. package/esm2022/ui/field/src/field.component.mjs +0 -39
  454. package/esm2022/ui/fileUpload/aril-ui-fileUpload.mjs +0 -5
  455. package/esm2022/ui/fileUpload/index.mjs +0 -2
  456. package/esm2022/ui/fileUpload/src/file-upload.component.mjs +0 -61
  457. package/esm2022/ui/form/aril-ui-form.mjs +0 -5
  458. package/esm2022/ui/form/index.mjs +0 -22
  459. package/esm2022/ui/form/src/form-submit-button.component.mjs +0 -40
  460. package/esm2022/ui/form/src/form.component.mjs +0 -27
  461. package/esm2022/ui/index.mjs +0 -2
  462. package/esm2022/ui/lib/aril-ui-lib.mjs +0 -5
  463. package/esm2022/ui/lib/index.mjs +0 -15
  464. package/esm2022/ui/lib/src/form/form-error-message.component.mjs +0 -33
  465. package/esm2022/ui/lib/src/form/form-error-message.directive.mjs +0 -34
  466. package/esm2022/ui/lib/src/form/form-field-builder.mjs +0 -23
  467. package/esm2022/ui/lib/src/form/form-validation.mjs +0 -14
  468. package/esm2022/ui/lib/src/grid/flex-grid.directive.mjs +0 -21
  469. package/esm2022/ui/lib/src/input/baseInput.mjs +0 -24
  470. package/esm2022/ui/lib/src/input/common-input-validators.service.mjs +0 -49
  471. package/esm2022/ui/lib/src/input/dx-input-error-message.pipe.mjs +0 -22
  472. package/esm2022/ui/lib/src/input/input-disabled.directive.mjs +0 -25
  473. package/esm2022/ui/lib/src/input/input-error-message.pipe.mjs +0 -42
  474. package/esm2022/ui/lib/src/input/input-transforms.mjs +0 -8
  475. package/esm2022/ui/lib/src/input/value-accessor.directive.mjs +0 -38
  476. package/esm2022/ui/mask/aril-ui-mask.mjs +0 -5
  477. package/esm2022/ui/mask/index.mjs +0 -2
  478. package/esm2022/ui/mask/src/mask.component.mjs +0 -35
  479. package/esm2022/ui/number/aril-ui-number.mjs +0 -5
  480. package/esm2022/ui/number/index.mjs +0 -2
  481. package/esm2022/ui/number/src/number.component.mjs +0 -36
  482. package/esm2022/ui/overlayPanel/aril-ui-overlayPanel.mjs +0 -5
  483. package/esm2022/ui/overlayPanel/index.mjs +0 -2
  484. package/esm2022/ui/overlayPanel/src/overlay-panel.component.mjs +0 -20
  485. package/esm2022/ui/panel/aril-ui-panel.mjs +0 -5
  486. package/esm2022/ui/panel/index.mjs +0 -2
  487. package/esm2022/ui/panel/src/panel.component.mjs +0 -24
  488. package/esm2022/ui/password/aril-ui-password.mjs +0 -5
  489. package/esm2022/ui/password/index.mjs +0 -2
  490. package/esm2022/ui/password/src/password.component.mjs +0 -29
  491. package/esm2022/ui/radioButton/aril-ui-radioButton.mjs +0 -5
  492. package/esm2022/ui/radioButton/index.mjs +0 -2
  493. package/esm2022/ui/radioButton/src/radio-button.component.mjs +0 -30
  494. package/esm2022/ui/selectBox/aril-ui-selectBox.mjs +0 -5
  495. package/esm2022/ui/selectBox/index.mjs +0 -2
  496. package/esm2022/ui/selectBox/src/interfaces.mjs +0 -2
  497. package/esm2022/ui/selectBox/src/select-box.component.mjs +0 -54
  498. package/esm2022/ui/switch/aril-ui-switch.mjs +0 -5
  499. package/esm2022/ui/switch/index.mjs +0 -2
  500. package/esm2022/ui/switch/src/switch.component.mjs +0 -23
  501. package/esm2022/ui/table/aril-ui-table.mjs +0 -5
  502. package/esm2022/ui/table/index.mjs +0 -49
  503. package/esm2022/ui/table/src/i18n.mjs +0 -56
  504. package/esm2022/ui/table/src/table-column.component.mjs +0 -23
  505. package/esm2022/ui/table/src/table.component.mjs +0 -88
  506. package/esm2022/ui/tagBox/aril-ui-tagBox.mjs +0 -5
  507. package/esm2022/ui/tagBox/index.mjs +0 -2
  508. package/esm2022/ui/tagBox/src/tag-box.component.mjs +0 -50
  509. package/esm2022/ui/text/aril-ui-text.mjs +0 -5
  510. package/esm2022/ui/text/index.mjs +0 -2
  511. package/esm2022/ui/text/src/text.component.mjs +0 -40
  512. package/esm2022/ui/textArea/aril-ui-textArea.mjs +0 -5
  513. package/esm2022/ui/textArea/index.mjs +0 -2
  514. package/esm2022/ui/textArea/src/text-area.component.mjs +0 -26
  515. package/esm2022/ui/toggle-button/aril-ui-toggle-button.mjs +0 -5
  516. package/esm2022/ui/toggle-button/index.mjs +0 -2
  517. package/esm2022/ui/toggle-button/src/toggle-button.component.mjs +0 -25
  518. package/esm2022/ui/tree/aril-ui-tree.mjs +0 -5
  519. package/esm2022/ui/tree/index.mjs +0 -2
  520. package/esm2022/ui/tree/src/tree.component.mjs +0 -34
  521. package/esm2022/ui/treeTable/aril-ui-treeTable.mjs +0 -5
  522. package/esm2022/ui/treeTable/index.mjs +0 -2
  523. package/esm2022/ui/treeTable/src/tree-table.component.mjs +0 -55
  524. package/esm2022/ui/value/aril-ui-value.mjs +0 -5
  525. package/esm2022/ui/value/index.mjs +0 -2
  526. package/esm2022/ui/value/src/value.component.mjs +0 -35
  527. package/esm2022/util/aril-util.mjs +0 -5
  528. package/esm2022/util/block/aril-util-block.mjs +0 -5
  529. package/esm2022/util/block/index.mjs +0 -2
  530. package/esm2022/util/block/src/block.mjs +0 -64
  531. package/esm2022/util/custom_pages/aril-util-custom_pages.mjs +0 -5
  532. package/esm2022/util/custom_pages/index.mjs +0 -2
  533. package/esm2022/util/custom_pages/src/notFound.component.mjs +0 -65
  534. package/esm2022/util/index.mjs +0 -2
  535. package/esm2022/util/init-event/aril-util-init-event.mjs +0 -5
  536. package/esm2022/util/init-event/index.mjs +0 -2
  537. package/esm2022/util/init-event/src/init-event.directive.mjs +0 -22
  538. package/esm2022/util/lib/aril-util-lib.mjs +0 -5
  539. package/esm2022/util/lib/index.mjs +0 -4
  540. package/esm2022/util/lib/src/interfaces.mjs +0 -4
  541. package/esm2022/util/lib/src/module-router.mjs +0 -17
  542. package/esm2022/util/lib/src/types.mjs +0 -3
  543. package/esm2022/util/loaders/aril-util-loaders.mjs +0 -5
  544. package/esm2022/util/loaders/index.mjs +0 -3
  545. package/esm2022/util/loaders/script/script.loader.service.mjs +0 -61
  546. package/esm2022/util/loaders/style/style.loader.service.mjs +0 -61
  547. package/esm2022/util/primitive-extensions/aril-util-primitive-extensions.mjs +0 -5
  548. package/esm2022/util/primitive-extensions/index.mjs +0 -5
  549. package/esm2022/util/primitive-extensions/src/boolean.extensions.mjs +0 -2
  550. package/esm2022/util/primitive-extensions/src/date.extensions.mjs +0 -116
  551. package/esm2022/util/primitive-extensions/src/number.extensions.mjs +0 -39
  552. package/esm2022/util/primitive-extensions/src/string.extensions.mjs +0 -23
  553. package/esm2022/util/pub-sub/aril-util-pub-sub.mjs +0 -5
  554. package/esm2022/util/pub-sub/index.mjs +0 -2
  555. package/esm2022/util/pub-sub/src/pub-sub.service.mjs +0 -29
  556. package/fesm2022/aril-app.component-dMGRlhy4.mjs +0 -76
  557. package/fesm2022/aril-app.component-dMGRlhy4.mjs.map +0 -1
  558. package/fesm2022/aril-boot-config-api.mjs +0 -59
  559. package/fesm2022/aril-boot-config-api.mjs.map +0 -1
  560. package/fesm2022/aril-boot-config-apps.mjs +0 -106
  561. package/fesm2022/aril-boot-config-apps.mjs.map +0 -1
  562. package/fesm2022/aril-boot-config-plugins.mjs +0 -84
  563. package/fesm2022/aril-boot-config-plugins.mjs.map +0 -1
  564. package/fesm2022/aril-boot-host.mjs +0 -86
  565. package/fesm2022/aril-boot-host.mjs.map +0 -1
  566. package/fesm2022/aril-boot-mfe-app.component-DpjkfQLt.mjs +0 -75
  567. package/fesm2022/aril-boot-mfe-app.component-DpjkfQLt.mjs.map +0 -1
  568. package/fesm2022/aril-boot-mfe-aril-boot-mfe-QV9dIrGu.mjs +0 -90
  569. package/fesm2022/aril-boot-mfe-aril-boot-mfe-QV9dIrGu.mjs.map +0 -1
  570. package/fesm2022/aril-boot-mfe.mjs +0 -16
  571. package/fesm2022/aril-boot-mfe.mjs.map +0 -1
  572. package/fesm2022/aril-boot.mjs +0 -8
  573. package/fesm2022/aril-boot.mjs.map +0 -1
  574. package/fesm2022/aril-http.mjs +0 -272
  575. package/fesm2022/aril-http.mjs.map +0 -1
  576. package/fesm2022/aril-i18n.mjs +0 -72
  577. package/fesm2022/aril-i18n.mjs.map +0 -1
  578. package/fesm2022/aril-keycloak.mjs +0 -129
  579. package/fesm2022/aril-keycloak.mjs.map +0 -1
  580. package/fesm2022/aril-theme-layout.mjs +0 -1010
  581. package/fesm2022/aril-theme-layout.mjs.map +0 -1
  582. package/fesm2022/aril-theme.mjs +0 -8
  583. package/fesm2022/aril-theme.mjs.map +0 -1
  584. package/fesm2022/aril-ui-autoComplete.mjs +0 -78
  585. package/fesm2022/aril-ui-autoComplete.mjs.map +0 -1
  586. package/fesm2022/aril-ui-badge.mjs +0 -26
  587. package/fesm2022/aril-ui-badge.mjs.map +0 -1
  588. package/fesm2022/aril-ui-button.mjs +0 -59
  589. package/fesm2022/aril-ui-button.mjs.map +0 -1
  590. package/fesm2022/aril-ui-calendar.mjs +0 -121
  591. package/fesm2022/aril-ui-calendar.mjs.map +0 -1
  592. package/fesm2022/aril-ui-checkbox.mjs +0 -47
  593. package/fesm2022/aril-ui-checkbox.mjs.map +0 -1
  594. package/fesm2022/aril-ui-dxField.mjs +0 -25
  595. package/fesm2022/aril-ui-dxField.mjs.map +0 -1
  596. package/fesm2022/aril-ui-field.mjs +0 -46
  597. package/fesm2022/aril-ui-field.mjs.map +0 -1
  598. package/fesm2022/aril-ui-fileUpload.mjs +0 -68
  599. package/fesm2022/aril-ui-fileUpload.mjs.map +0 -1
  600. package/fesm2022/aril-ui-form.mjs +0 -86
  601. package/fesm2022/aril-ui-form.mjs.map +0 -1
  602. package/fesm2022/aril-ui-lib.mjs +0 -322
  603. package/fesm2022/aril-ui-lib.mjs.map +0 -1
  604. package/fesm2022/aril-ui-mask.mjs +0 -42
  605. package/fesm2022/aril-ui-mask.mjs.map +0 -1
  606. package/fesm2022/aril-ui-number.mjs +0 -43
  607. package/fesm2022/aril-ui-number.mjs.map +0 -1
  608. package/fesm2022/aril-ui-overlayPanel.mjs +0 -27
  609. package/fesm2022/aril-ui-overlayPanel.mjs.map +0 -1
  610. package/fesm2022/aril-ui-panel.mjs +0 -31
  611. package/fesm2022/aril-ui-panel.mjs.map +0 -1
  612. package/fesm2022/aril-ui-password.mjs +0 -36
  613. package/fesm2022/aril-ui-password.mjs.map +0 -1
  614. package/fesm2022/aril-ui-radioButton.mjs +0 -37
  615. package/fesm2022/aril-ui-radioButton.mjs.map +0 -1
  616. package/fesm2022/aril-ui-selectBox.mjs +0 -61
  617. package/fesm2022/aril-ui-selectBox.mjs.map +0 -1
  618. package/fesm2022/aril-ui-switch.mjs +0 -30
  619. package/fesm2022/aril-ui-switch.mjs.map +0 -1
  620. package/fesm2022/aril-ui-table.mjs +0 -213
  621. package/fesm2022/aril-ui-table.mjs.map +0 -1
  622. package/fesm2022/aril-ui-tagBox.mjs +0 -57
  623. package/fesm2022/aril-ui-tagBox.mjs.map +0 -1
  624. package/fesm2022/aril-ui-text.mjs +0 -47
  625. package/fesm2022/aril-ui-text.mjs.map +0 -1
  626. package/fesm2022/aril-ui-textArea.mjs +0 -33
  627. package/fesm2022/aril-ui-textArea.mjs.map +0 -1
  628. package/fesm2022/aril-ui-toggle-button.mjs +0 -32
  629. package/fesm2022/aril-ui-toggle-button.mjs.map +0 -1
  630. package/fesm2022/aril-ui-tree.mjs +0 -41
  631. package/fesm2022/aril-ui-tree.mjs.map +0 -1
  632. package/fesm2022/aril-ui-treeTable.mjs +0 -62
  633. package/fesm2022/aril-ui-treeTable.mjs.map +0 -1
  634. package/fesm2022/aril-ui-value.mjs +0 -42
  635. package/fesm2022/aril-ui-value.mjs.map +0 -1
  636. package/fesm2022/aril-ui.mjs +0 -8
  637. package/fesm2022/aril-ui.mjs.map +0 -1
  638. package/fesm2022/aril-util-block.mjs +0 -71
  639. package/fesm2022/aril-util-block.mjs.map +0 -1
  640. package/fesm2022/aril-util-custom_pages.mjs +0 -72
  641. package/fesm2022/aril-util-custom_pages.mjs.map +0 -1
  642. package/fesm2022/aril-util-init-event.mjs +0 -29
  643. package/fesm2022/aril-util-init-event.mjs.map +0 -1
  644. package/fesm2022/aril-util-lib.mjs +0 -29
  645. package/fesm2022/aril-util-lib.mjs.map +0 -1
  646. package/fesm2022/aril-util-loaders.mjs +0 -126
  647. package/fesm2022/aril-util-loaders.mjs.map +0 -1
  648. package/fesm2022/aril-util-primitive-extensions.mjs +0 -179
  649. package/fesm2022/aril-util-primitive-extensions.mjs.map +0 -1
  650. package/fesm2022/aril-util-pub-sub.mjs +0 -36
  651. package/fesm2022/aril-util-pub-sub.mjs.map +0 -1
  652. package/fesm2022/aril-util.mjs +0 -8
  653. package/fesm2022/aril-util.mjs.map +0 -1
  654. package/fesm2022/aril.mjs +0 -157
  655. package/fesm2022/aril.mjs.map +0 -1
  656. package/http/lib/enums.d.ts +0 -13
  657. package/http/lib/interfaces.d.ts +0 -21
  658. package/http/src/httpBackend.d.ts +0 -8
  659. package/http/src/httpClient.d.ts +0 -8
  660. package/http/src/interceptor/state-machine.interceptor.d.ts +0 -2
  661. package/http/src/serviceBase.d.ts +0 -5
  662. package/http/src/serviceMockBase.d.ts +0 -6
  663. package/http/src/serviceRequest.d.ts +0 -4
  664. package/http/src/serviceStateMethods.d.ts +0 -13
  665. package/i18n/src/folder-name-token.d.ts +0 -2
  666. package/i18n/src/i18n.module.d.ts +0 -7
  667. package/i18n/src/loader.d.ts +0 -9
  668. package/i18n/src/provideI18n.d.ts +0 -2
  669. package/i18n/src/provideScope.d.ts +0 -5
  670. package/index.d.ts +0 -5
  671. package/keycloak/src/auth.guard.d.ts +0 -11
  672. package/keycloak/src/auth.interceptor.d.ts +0 -2
  673. package/keycloak/src/keycloak.manager.d.ts +0 -25
  674. package/theme/index.d.ts +0 -1
  675. package/theme/layout/app/breadcrumb/app.breadcrumb.component.d.ts +0 -16
  676. package/theme/layout/app/config/app.config.component.d.ts +0 -36
  677. package/theme/layout/app/layout/app.layout.component.d.ts +0 -48
  678. package/theme/layout/app/layout/mfe.layout.component.d.ts +0 -8
  679. package/theme/layout/app/menu/app.menu.component.d.ts +0 -50
  680. package/theme/layout/app/profileSidebar/app.profilesidebar.component.d.ts +0 -13
  681. package/theme/layout/app/sidebar/app.sidebar.component.d.ts +0 -15
  682. package/theme/layout/app/topbar/app.topbar.component.d.ts +0 -16
  683. package/theme/layout/index.d.ts +0 -3
  684. package/theme/layout/service/app.layout.service.d.ts +0 -51
  685. package/theme/layout/service/app.menu.service.d.ts +0 -23
  686. package/theme/layout/service/menuchangeevent.d.ts +0 -4
  687. package/ui/autoComplete/src/auto-complete.component.d.ts +0 -21
  688. package/ui/autoComplete/src/interfaces.d.ts +0 -24
  689. package/ui/badge/src/badge.component.d.ts +0 -11
  690. package/ui/button/src/button.component.d.ts +0 -24
  691. package/ui/button/src/split-button.component.d.ts +0 -8
  692. package/ui/calendar/src/calendar.component.d.ts +0 -37
  693. package/ui/checkbox/src/check-box.component.d.ts +0 -9
  694. package/ui/checkbox/src/tri-state-checkbox.component.d.ts +0 -9
  695. package/ui/dxField/src/dx-field.component.d.ts +0 -9
  696. package/ui/field/src/field.component.d.ts +0 -25
  697. package/ui/fileUpload/src/file-upload.component.d.ts +0 -47
  698. package/ui/form/index.d.ts +0 -11
  699. package/ui/form/src/form-submit-button.component.d.ts +0 -14
  700. package/ui/form/src/form.component.d.ts +0 -8
  701. package/ui/index.d.ts +0 -1
  702. package/ui/lib/src/form/form-error-message.component.d.ts +0 -9
  703. package/ui/lib/src/form/form-error-message.directive.d.ts +0 -14
  704. package/ui/lib/src/form/form-field-builder.d.ts +0 -8
  705. package/ui/lib/src/form/form-validation.d.ts +0 -2
  706. package/ui/lib/src/grid/flex-grid.directive.d.ts +0 -6
  707. package/ui/lib/src/input/baseInput.d.ts +0 -7
  708. package/ui/lib/src/input/common-input-validators.service.d.ts +0 -20
  709. package/ui/lib/src/input/dx-input-error-message.pipe.d.ts +0 -11
  710. package/ui/lib/src/input/input-disabled.directive.d.ts +0 -9
  711. package/ui/lib/src/input/input-error-message.pipe.d.ts +0 -7
  712. package/ui/lib/src/input/input-transforms.d.ts +0 -5
  713. package/ui/lib/src/input/value-accessor.directive.d.ts +0 -9
  714. package/ui/mask/src/mask.component.d.ts +0 -21
  715. package/ui/number/src/number.component.d.ts +0 -27
  716. package/ui/overlayPanel/src/overlay-panel.component.d.ts +0 -8
  717. package/ui/panel/src/panel.component.d.ts +0 -10
  718. package/ui/password/src/password.component.d.ts +0 -11
  719. package/ui/radioButton/src/radio-button.component.d.ts +0 -20
  720. package/ui/selectBox/src/interfaces.d.ts +0 -32
  721. package/ui/selectBox/src/select-box.component.d.ts +0 -25
  722. package/ui/switch/src/switch.component.d.ts +0 -8
  723. package/ui/table/index.d.ts +0 -16
  724. package/ui/table/src/i18n.d.ts +0 -42
  725. package/ui/table/src/table-column.component.d.ts +0 -24
  726. package/ui/table/src/table.component.d.ts +0 -39
  727. package/ui/tagBox/src/tag-box.component.d.ts +0 -15
  728. package/ui/text/src/text.component.d.ts +0 -17
  729. package/ui/textArea/src/text-area.component.d.ts +0 -11
  730. package/ui/toggle-button/index.d.ts +0 -1
  731. package/ui/toggle-button/src/toggle-button.component.d.ts +0 -10
  732. package/ui/tree/src/tree.component.d.ts +0 -19
  733. package/ui/treeTable/src/tree-table.component.d.ts +0 -21
  734. package/ui/value/src/value.component.d.ts +0 -13
  735. package/util/block/src/block.d.ts +0 -28
  736. package/util/custom_pages/src/notFound.component.d.ts +0 -5
  737. package/util/index.d.ts +0 -1
  738. package/util/init-event/src/init-event.directive.d.ts +0 -8
  739. package/util/lib/src/interfaces.d.ts +0 -41
  740. package/util/lib/src/module-router.d.ts +0 -5
  741. package/util/lib/src/types.d.ts +0 -29
  742. package/util/loaders/script/script.loader.service.d.ts +0 -13
  743. package/util/loaders/style/style.loader.service.d.ts +0 -13
  744. package/util/primitive-extensions/src/date.extensions.d.ts +0 -8
  745. package/util/primitive-extensions/src/number.extensions.d.ts +0 -12
  746. package/util/primitive-extensions/src/string.extensions.d.ts +0 -11
  747. package/util/pub-sub/src/pub-sub.service.d.ts +0 -20
  748. /package/boot/config/{api.sample.json → api/src/api.sample.json} +0 -0
  749. /package/{styles/util → util/block/src}/blockui.css +0 -0
  750. /package/{scripts/util → util/block/src}/blockui.min.js +0 -0
package/.eslintrc.json ADDED
@@ -0,0 +1,41 @@
1
+ {
2
+ "extends": "../../.eslintrc.json",
3
+ "ignorePatterns": ["!**/*"],
4
+ "overrides": [
5
+ {
6
+ "files": ["*.ts"],
7
+ "rules": {
8
+ "@angular-eslint/directive-selector": [
9
+ "error",
10
+ {
11
+ "type": "attribute",
12
+ "prefix": "aril",
13
+ "style": "camelCase"
14
+ }
15
+ ],
16
+ "@angular-eslint/component-selector": [
17
+ "error",
18
+ {
19
+ "type": "element",
20
+ "prefix": "aril",
21
+ "style": "kebab-case"
22
+ }
23
+ ],
24
+ "@angular-eslint/no-input-rename": "off",
25
+ "rules": {
26
+ "no-multiple-empty-lines": [
27
+ "error",
28
+ {
29
+ "max": 1,
30
+ "maxEOF": 0,
31
+ "maxBOF": 0
32
+ }
33
+ ]
34
+ }
35
+ }
36
+ },
37
+ {
38
+ "files": ["*.html"]
39
+ }
40
+ ]
41
+ }
package/README.md CHANGED
@@ -1,48 +1,48 @@
1
- # ARiL-UI-LIB
2
-
3
- This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 17.1.0.
4
-
5
- ```
6
- > npx @angular/cli new workspace --no-create-application
7
- > npx ng generate library aril
8
- > npx ng add @angular-eslint/schematics
9
- > npm install prettier --save-dev
10
- > npx nx init
11
- > ng generate component button --flat --path projects/aril/ui/button/src
12
- ```
13
-
14
- ## Code Scaffolding
15
-
16
- Run `ng generate component|directive|pipe|service|class|guard|interface|enum|module --flat --path projects/aril/<subentry>/<feature>/src` to generate a new as you select.
17
-
18
- - > Note: Don't forget to add `--path` or else it will be added to the default project in your `angular.json` file.
19
- - > Note: subentry must be one of `boot|http|i18n|keycloak|theme|ui|util`.
20
- - > Note: Don't forget to add `index.ts` and `ng-package.json` for components of subentry points.
21
- - > Note: Don't forget to export component from `index.ts`.
22
-
23
- ## Folder Scaffolding
24
-
25
- - main-entry (aril)
26
- - sub-entry (boot|http|i18n|keycloak|theme|ui|util)
27
- - feature (button,calendar etc.)
28
- - src
29
- - feature.component.ts
30
- - feature.view.html
31
- - index.ts
32
- - ng-package.json
33
- - index.ts
34
- - ng-package.json
35
-
36
- ## Build
37
-
38
- Run `ng build aril` to build the project. The build artifacts will be stored in the `dist/` directory.
39
-
40
- ## Publishing
41
-
42
- After building your library with `ng build aril`, go to the dist folder `cd dist` and run `npm publish`.
43
-
44
- > Note: Don't forget to increment the version number in `project.json` before build.
45
-
46
- ## Further help
47
-
48
- To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
1
+ # ARiL-UI-LIB
2
+
3
+ This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 17.1.0.
4
+
5
+ ```
6
+ > npx @angular/cli new workspace --no-create-application
7
+ > npx ng generate library aril
8
+ > npx ng add @angular-eslint/schematics
9
+ > npm install prettier --save-dev
10
+ > npx nx init
11
+ > ng generate component button --flat --path projects/aril/ui/button/src
12
+ ```
13
+
14
+ ## Code Scaffolding
15
+
16
+ Run `ng generate component|directive|pipe|service|class|guard|interface|enum|module --flat --path projects/aril/<subentry>/<feature>/src` to generate a new as you select.
17
+
18
+ - > Note: Don't forget to add `--path` or else it will be added to the default project in your `angular.json` file.
19
+ - > Note: subentry must be one of `boot|http|i18n|keycloak|theme|ui|util`.
20
+ - > Note: Don't forget to add `index.ts` and `ng-package.json` for components of subentry points.
21
+ - > Note: Don't forget to export component from `index.ts`.
22
+
23
+ ## Folder Scaffolding
24
+
25
+ - main-entry (aril)
26
+ - sub-entry (boot|http|i18n|keycloak|theme|ui|util)
27
+ - feature (button,calendar etc.)
28
+ - src
29
+ - feature.component.ts
30
+ - feature.view.html
31
+ - index.ts
32
+ - ng-package.json
33
+ - index.ts
34
+ - ng-package.json
35
+
36
+ ## Build
37
+
38
+ Run `ng build aril` to build the project. The build artifacts will be stored in the `dist/` directory.
39
+
40
+ ## Publishing
41
+
42
+ After building your library with `ng build aril`, go to the dist folder `cd dist` and run `npm publish`.
43
+
44
+ > Note: Don't forget to increment the version number in `project.json` before build.
45
+
46
+ ## Further help
47
+
48
+ To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
@@ -1 +1 @@
1
- export * from './src/api.service';
1
+ export * from './src/api.service';
@@ -0,0 +1,6 @@
1
+ {
2
+ "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json",
3
+ "lib": {
4
+ "entryFile": "./index.ts"
5
+ }
6
+ }
@@ -0,0 +1,57 @@
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { isDevMode } from '@angular/core';
3
+
4
+ import { firstValueFrom, tap } from 'rxjs';
5
+
6
+ import { Apps } from 'aril/boot/config/apps';
7
+ import { KeycloakManager } from 'aril/keycloak';
8
+
9
+ import { ApiConfigsFactory } from './interfaces';
10
+
11
+ export const API_CONFIGS = new ApiConfigsFactory();
12
+
13
+ export function loadApiConfigs(
14
+ httpBackend: { httpClient: HttpClient },
15
+ keycloak: KeycloakManager,
16
+ appName: string
17
+ ): () => Promise<any> {
18
+ return () => {
19
+ const configDeps: Promise<any>[] = [];
20
+
21
+ const observable$ = httpBackend.httpClient
22
+ .get<ApiConfigsFactory>(isDevMode() ? './assets/local-configs/api.local.json' : './api.json')
23
+ .pipe(
24
+ tap((configs) => {
25
+ Object.assign(API_CONFIGS, { ...configs });
26
+
27
+ if (isDevMode()) (<any>globalThis).hostAPI = API_CONFIGS.api;
28
+
29
+ configDeps.push(keycloak.init(API_CONFIGS.keycloak));
30
+ })
31
+ );
32
+
33
+ return firstValueFrom(observable$).then(() => {
34
+ return Promise.all(configDeps);
35
+ });
36
+ };
37
+ }
38
+
39
+ /**
40
+ * micro-app cannot access its own api.json file when opened in host
41
+ * MNG has different controller (host, state-machine etc.)
42
+ */
43
+ export function setApiConfigOnMFEMode(
44
+ httpBackend: { httpClient: HttpClient },
45
+ keycloak: KeycloakManager,
46
+ appName: string
47
+ ): () => void {
48
+ return () => {
49
+ if (isDevMode()) {
50
+ if (appName === Apps.MNG) API_CONFIGS.api = (<any>globalThis).hostAPI;
51
+ else API_CONFIGS.api = (<any>globalThis).hostAPI + '/' + appName + '/v1';
52
+ } else {
53
+ if (appName === Apps.MNG) API_CONFIGS.api = window.location.origin;
54
+ else API_CONFIGS.api = window.location.origin + '/' + appName + '/v1';
55
+ }
56
+ };
57
+ }
@@ -0,0 +1,13 @@
1
+ export interface KeycloakConfig {
2
+ url: string;
3
+ realm: string;
4
+ clientId: string;
5
+ }
6
+ export class ApiConfigsFactory {
7
+ api: string = '';
8
+ keycloak: KeycloakConfig = {
9
+ url: '',
10
+ realm: '',
11
+ clientId: ''
12
+ };
13
+ }
@@ -1,2 +1,2 @@
1
- export * from './src/apps.service';
2
- export * from './src/interfaces';
1
+ export * from './src/apps.service';
2
+ export * from './src/interfaces';
@@ -0,0 +1,6 @@
1
+ {
2
+ "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json",
3
+ "lib": {
4
+ "entryFile": "./index.ts"
5
+ }
6
+ }
@@ -0,0 +1,64 @@
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { Injectable, inject, isDevMode } from '@angular/core';
3
+ import { Router, Routes } from '@angular/router';
4
+
5
+ import { MenuItem } from 'primeng/api';
6
+
7
+ import {
8
+ WebComponentWrapper,
9
+ WebComponentWrapperOptions,
10
+ startsWith
11
+ } from '@angular-architects/module-federation-tools';
12
+ import { Observable, catchError, of, tap } from 'rxjs';
13
+
14
+ import { AppMenuService } from 'aril/theme/layout';
15
+ import { NotFoundComponent } from 'aril/util/custom_pages';
16
+
17
+ import { MicroAppConfig } from './interfaces';
18
+ import { ShadowDOMWrapperComponent } from './showdowDOMWrapper';
19
+
20
+ @Injectable({ providedIn: 'root' })
21
+ export class MicroAppService {
22
+ private router = inject(Router);
23
+ private appMenuService = inject(AppMenuService);
24
+
25
+ init(httpBackend: { httpClient: HttpClient }): () => Observable<MicroAppConfig[]> {
26
+ return () =>
27
+ httpBackend.httpClient
28
+ .get<MicroAppConfig[]>(isDevMode() ? './assets/local-configs/app.local.json' : './assets/app.json')
29
+ .pipe(
30
+ tap((apps: MicroAppConfig[]) => {
31
+ const routes = this.buildRoutes(apps);
32
+
33
+ this.router.resetConfig([...this.router.config, ...routes, { path: '**', component: NotFoundComponent }]);
34
+ this.setMenuItems(apps);
35
+ }),
36
+ catchError((err) => {
37
+ console.log('Error Micro Apps Loading', err);
38
+ return of();
39
+ })
40
+ );
41
+ }
42
+
43
+ buildRoutes(apps: MicroAppConfig[]): Routes {
44
+ const routes: Routes = apps.map((config) => ({
45
+ matcher: startsWith(config.remoteName),
46
+ component: config.shadowDomPassive ? WebComponentWrapper : ShadowDOMWrapperComponent,
47
+ data: config as WebComponentWrapperOptions
48
+ }));
49
+
50
+ return routes;
51
+ }
52
+
53
+ setMenuItems(apps: MicroAppConfig[]): void {
54
+ const menuItems: MenuItem[] = apps.map((config) => {
55
+ return {
56
+ label: config.remoteName,
57
+ icon: 'pi pi-fw pi-bars',
58
+ routerLink: config.remoteName
59
+ };
60
+ });
61
+
62
+ this.appMenuService.menuConfig.set({ items: menuItems });
63
+ }
64
+ }
@@ -0,0 +1,27 @@
1
+ import { RemoteConfig } from '@angular-architects/module-federation';
2
+
3
+ export enum Apps {
4
+ THOR = 'thor',
5
+ CRM = 'crm',
6
+ WDM = 'wdm',
7
+ BILLING = 'billing',
8
+ PAYMENT = 'payment',
9
+ YEAP = 'yeap',
10
+ MD = 'md',
11
+ MW = 'mw',
12
+ LENA = 'lena',
13
+ HES = 'hes',
14
+ MTH = 'mth',
15
+ SIS = 'sis',
16
+ MNG = 'mng'
17
+ }
18
+
19
+ export type MicroAppConfig = RemoteConfig & {
20
+ remoteName: string;
21
+ exposedModule: string;
22
+ elementName: string;
23
+ shadowDomPassive?: boolean;
24
+ styleUrls?: string[];
25
+ // route: string;
26
+ // displayName: string;
27
+ };
@@ -0,0 +1,28 @@
1
+ import { Component, ElementRef, OnInit, Renderer2, ViewChild, ViewEncapsulation, inject } from '@angular/core';
2
+
3
+ import { WebComponentWrapper } from '@angular-architects/module-federation-tools';
4
+
5
+ @Component({
6
+ standalone: true,
7
+ template: '<div #vc></div>',
8
+ encapsulation: ViewEncapsulation.ShadowDom
9
+ })
10
+ export class ShadowDOMWrapperComponent extends WebComponentWrapper implements OnInit {
11
+ @ViewChild('vc', { read: ElementRef, static: true }) override vc!: ElementRef;
12
+
13
+ private renderer = inject(Renderer2);
14
+
15
+ ngOnInit(): void {
16
+ const shadowRoot = this.vc.nativeElement.parentNode;
17
+ const styleUrls = this['route'].snapshot.data.styleUrls || [];
18
+
19
+ // Inject styles into the Shadow DOM
20
+ styleUrls.forEach((url: string) => {
21
+ const link = this.renderer.createElement('link');
22
+ link.setAttribute('rel', 'stylesheet');
23
+ link.setAttribute('type', 'text/css');
24
+ link.setAttribute('href', url);
25
+ this.renderer.appendChild(shadowRoot, link);
26
+ });
27
+ }
28
+ }
@@ -1,2 +1,2 @@
1
- export * from './src/plugins.service';
2
- export * from './src/getNgZone';
1
+ export * from './src/plugins.service';
2
+ export * from './src/getNgZone';
@@ -0,0 +1,6 @@
1
+ {
2
+ "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json",
3
+ "lib": {
4
+ "entryFile": "./index.ts"
5
+ }
6
+ }
@@ -0,0 +1,9 @@
1
+ import { NgZone } from '@angular/core';
2
+
3
+ export const getNgZone = () => {
4
+ if ((<any>globalThis).hostZone) {
5
+ return { provide: NgZone, useValue: (<any>globalThis).hostZone };
6
+ } else if ((<any>globalThis).mfeZone) {
7
+ return { provide: NgZone, useValue: (<any>globalThis).mfeZone };
8
+ } else return [];
9
+ };
@@ -0,0 +1,11 @@
1
+ import { LoadRemoteModuleScriptOptions } from '@angular-architects/module-federation';
2
+
3
+ interface PluginItem {
4
+ options: LoadRemoteModuleScriptOptions & { elementName: string };
5
+ props: { [key in string]: any };
6
+ events: { [key in string]: Function };
7
+ }
8
+
9
+ export type PluginConfigs = { [key in string]: PluginItem };
10
+
11
+ export class FactoryClass {}
@@ -0,0 +1,82 @@
1
+ import { HttpClient, provideHttpClient, withInterceptors } from '@angular/common/http';
2
+ import { APP_INITIALIZER, ApplicationConfig, Type, importProvidersFrom, isDevMode } from '@angular/core';
3
+ import { createCustomElement } from '@angular/elements';
4
+ import { createApplication } from '@angular/platform-browser';
5
+ import { provideAnimations } from '@angular/platform-browser/animations';
6
+
7
+ import { ConfirmationService, MessageService } from 'primeng/api';
8
+ import { ConfirmDialogModule } from 'primeng/confirmdialog';
9
+ import { ConfirmPopupModule } from 'primeng/confirmpopup';
10
+ import { DialogModule } from 'primeng/dialog';
11
+ import { MessagesModule } from 'primeng/messages';
12
+ import { ToastModule } from 'primeng/toast';
13
+
14
+ import { KeycloakAngularModule } from 'keycloak-angular';
15
+ import { Observable, catchError, of, tap } from 'rxjs';
16
+
17
+ import { API_CONFIGS } from 'aril/boot/config/api';
18
+ import { i18nFolderName, i18nModule } from 'aril/i18n';
19
+ import { authInterceptor } from 'aril/keycloak';
20
+
21
+ import { getNgZone } from './getNgZone';
22
+ import { FactoryClass, PluginConfigs } from './interfaces';
23
+
24
+ export const PLUGINS = new FactoryClass() as FactoryClass & PluginConfigs;
25
+
26
+ export function loadPlugins(httpBackend: { httpClient: HttpClient }): () => Observable<any> {
27
+ return () => {
28
+ return httpBackend.httpClient
29
+ .get<PluginConfigs>(isDevMode() ? './assets/local-configs/plugin.local.json' : './assets/plugin.json')
30
+ .pipe(
31
+ tap((configs) => {
32
+ Object.assign(PLUGINS, { ...configs });
33
+ }),
34
+ catchError((err) => {
35
+ console.log('Error Plugins Loading', err);
36
+ return of();
37
+ })
38
+ );
39
+ };
40
+ }
41
+
42
+ export async function bootPlugin(selector: string, component: Type<any>) {
43
+ if (customElements.get(selector)) return;
44
+
45
+ const config: ApplicationConfig = {
46
+ providers: [
47
+ provideAnimations(),
48
+ provideHttpClient(withInterceptors([authInterceptor])),
49
+ importProvidersFrom(
50
+ i18nModule,
51
+ KeycloakAngularModule,
52
+ ConfirmDialogModule,
53
+ ConfirmPopupModule,
54
+ DialogModule,
55
+ MessagesModule,
56
+ ToastModule
57
+ ),
58
+ getNgZone(),
59
+ MessageService,
60
+ ConfirmationService,
61
+ {
62
+ provide: APP_INITIALIZER,
63
+ useFactory: () => {
64
+ return () => {
65
+ if (isDevMode()) API_CONFIGS.api = (<any>globalThis).hostAPI;
66
+ else API_CONFIGS.api = window.location.origin;
67
+ };
68
+ },
69
+ multi: true
70
+ },
71
+ {
72
+ provide: i18nFolderName,
73
+ useValue: 'host'
74
+ }
75
+ ]
76
+ };
77
+
78
+ const appRef = await createApplication(config);
79
+ const plugin = createCustomElement(component, { injector: appRef.injector });
80
+
81
+ customElements.define(selector, plugin);
82
+ }
@@ -1 +1 @@
1
- export * from './src/bootstrap';
1
+ export * from './src/bootstrap';
@@ -0,0 +1,6 @@
1
+ {
2
+ "$schema": "../../../../node_modules/ng-packagr/ng-package.schema.json",
3
+ "lib": {
4
+ "entryFile": "./index.ts"
5
+ }
6
+ }
@@ -0,0 +1,27 @@
1
+ /* eslint-disable @typescript-eslint/no-explicit-any */
2
+ import { Component, NgZone, inject } from '@angular/core';
3
+ import { Router, RouterOutlet } from '@angular/router';
4
+
5
+ import { AppLayoutComponent } from 'aril/theme/layout';
6
+ import { PubSubService } from 'aril/util/pub-sub';
7
+
8
+ @Component({
9
+ standalone: true,
10
+ selector: 'aril-root',
11
+ template: ` <app-layout></app-layout> `,
12
+ imports: [RouterOutlet, AppLayoutComponent]
13
+ })
14
+ export class AppComponent {
15
+ constructor(router: Router, pubSubService: PubSubService) {
16
+ (<any>globalThis).hostZone = inject(NgZone);
17
+ (<any>globalThis).isHostMode = true;
18
+
19
+ pubSubService.subscribe('navigateBetweenApps', (data: any) => {
20
+ router.navigateByUrl(data.path);
21
+ pubSubService.publish({
22
+ name: 'navigateInApps',
23
+ data: data
24
+ });
25
+ });
26
+ }
27
+ }
@@ -0,0 +1,61 @@
1
+ import { provideHttpClient, withInterceptors } from '@angular/common/http';
2
+ import { APP_INITIALIZER, ApplicationConfig, importProvidersFrom } from '@angular/core';
3
+ import { bootstrapApplication } from '@angular/platform-browser';
4
+ import { provideAnimations } from '@angular/platform-browser/animations';
5
+ import {
6
+ Routes,
7
+ provideRouter,
8
+ withComponentInputBinding,
9
+ withHashLocation,
10
+ withViewTransitions
11
+ } from '@angular/router';
12
+
13
+ import { ConfirmationService, MessageService } from 'primeng/api';
14
+
15
+ import { KeycloakAngularModule } from 'keycloak-angular';
16
+
17
+ import { loadApiConfigs } from 'aril/boot/config/api';
18
+ import { MicroAppService } from 'aril/boot/config/apps';
19
+ import { loadPlugins } from 'aril/boot/config/plugins';
20
+ import { HttpBackendService, stateMachineInterceptor } from 'aril/http';
21
+ import { i18nFolderName, i18nModule } from 'aril/i18n';
22
+ import { KeycloakManager, authInterceptor } from 'aril/keycloak';
23
+
24
+ import { AppComponent } from './app.component';
25
+
26
+ export const boot = (routes: Routes) => {
27
+ const appConfig: ApplicationConfig = {
28
+ providers: [
29
+ provideAnimations(),
30
+ provideHttpClient(withInterceptors([authInterceptor, stateMachineInterceptor])),
31
+ provideRouter(routes, withComponentInputBinding(), withHashLocation(), withViewTransitions()),
32
+ importProvidersFrom(i18nModule, KeycloakAngularModule),
33
+ MessageService,
34
+ ConfirmationService,
35
+ {
36
+ provide: APP_INITIALIZER,
37
+ useFactory: loadApiConfigs,
38
+ multi: true,
39
+ deps: [HttpBackendService, KeycloakManager, i18nFolderName]
40
+ },
41
+ {
42
+ provide: APP_INITIALIZER,
43
+ useFactory: (mAppService: MicroAppService, httpBackend: HttpBackendService) => mAppService.init(httpBackend),
44
+ multi: true,
45
+ deps: [MicroAppService, HttpBackendService]
46
+ },
47
+ {
48
+ provide: APP_INITIALIZER,
49
+ useFactory: loadPlugins,
50
+ multi: true,
51
+ deps: [HttpBackendService]
52
+ },
53
+ {
54
+ provide: i18nFolderName,
55
+ useValue: 'host'
56
+ }
57
+ ]
58
+ };
59
+
60
+ bootstrapApplication(AppComponent, appConfig).catch((err) => console.error(err));
61
+ };
package/boot/index.ts ADDED
@@ -0,0 +1 @@
1
+ export const aril_boot = 'ARiL-BOOT';
@@ -1 +1 @@
1
- export { boot } from './src/bootstrap';
1
+ export { boot } from './src/bootstrap';
@@ -0,0 +1,6 @@
1
+ {
2
+ "$schema": "../../../../node_modules/ng-packagr/ng-package.schema.json",
3
+ "lib": {
4
+ "entryFile": "./index.ts"
5
+ }
6
+ }
@@ -0,0 +1,57 @@
1
+ /* eslint-disable @typescript-eslint/no-explicit-any */
2
+ import { Component, NgZone, inject } from '@angular/core';
3
+ import { Router, RouterOutlet } from '@angular/router';
4
+
5
+ import { ModuleFederationToolsModule } from '@angular-architects/module-federation-tools';
6
+
7
+ import { AppLayoutComponent, AppMenuService, MFELayoutComponent } from 'aril/theme/layout';
8
+ import { PubSubService } from 'aril/util/pub-sub';
9
+
10
+ import { appName, menuItems } from './bootstrap';
11
+
12
+ @Component({
13
+ standalone: true,
14
+ template: `
15
+ @if (isHostMode) {
16
+ <mfe-layout></mfe-layout>
17
+ } @else {
18
+ <app-layout></app-layout>
19
+ }
20
+ `,
21
+ imports: [RouterOutlet, ModuleFederationToolsModule, AppLayoutComponent, MFELayoutComponent]
22
+ })
23
+ export class AppComponent {
24
+ constructor(
25
+ private router: Router,
26
+ pubSubService: PubSubService,
27
+ appMenuService: AppMenuService
28
+ ) {
29
+ if (!this.isHostMode && !(<any>globalThis).mfeZone) {
30
+ (<any>globalThis).mfeZone = inject(NgZone);
31
+ }
32
+
33
+ this.connectRouter();
34
+
35
+ (<any>globalThis).activeMF = appName;
36
+
37
+ pubSubService.subscribe('navigateInApps', (data: any) => {
38
+ if (data.path.startsWith(appName, 1)) router.navigateByUrl(data.path);
39
+ });
40
+
41
+ if (this.isHostMode) {
42
+ appMenuService.subMenuConfig.set({ items: structuredClone(menuItems), prefix: appName });
43
+ } else {
44
+ appMenuService.menuConfig.set({ items: structuredClone(menuItems), prefix: appName });
45
+ }
46
+ }
47
+
48
+ isHostMode = (<any>globalThis).isHostMode;
49
+
50
+ connectRouter() {
51
+ this.router.initialNavigation();
52
+
53
+ window.addEventListener('popstate', () => {
54
+ this.router.initialNavigation();
55
+ });
56
+ }
57
+ }
@@ -0,0 +1,4 @@
1
+ export const appComponentLoader = async () => {
2
+ const { AppComponent } = await import('./app.component');
3
+ return AppComponent;
4
+ };