aril 0.0.6 → 0.0.8

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 (334) hide show
  1. package/README.md +48 -48
  2. package/esm2022/http/index.mjs +1 -1
  3. package/esm2022/http/lib/enums.mjs +7 -6
  4. package/esm2022/http/lib/interfaces.mjs +10 -31
  5. package/esm2022/http/src/httpClient.mjs +3 -3
  6. package/esm2022/http/src/serviceBase.mjs +25 -27
  7. package/esm2022/http/src/serviceStateMethods.mjs +3 -3
  8. package/esm2022/public-api.mjs +2 -2
  9. package/esm2022/theme/layout/app/breadcrumb/app.breadcrumb.component.mjs +41 -0
  10. package/esm2022/theme/layout/app/config/app.config.component.mjs +132 -0
  11. package/esm2022/theme/layout/app/layout/app.layout.component.mjs +137 -0
  12. package/esm2022/theme/layout/app/menu/app.menu.component.mjs +381 -0
  13. package/esm2022/theme/layout/app/profileSidebar/app.profilesidebar.component.mjs +25 -0
  14. package/esm2022/theme/layout/app/sidebar/app.sidebar.component.mjs +41 -0
  15. package/esm2022/theme/layout/app/topbar/app.topbar.component.mjs +29 -0
  16. package/esm2022/theme/layout/aril-theme-layout.mjs +5 -0
  17. package/esm2022/theme/layout/index.mjs +2 -0
  18. package/esm2022/theme/layout/service/app.layout.service.mjs +127 -0
  19. package/esm2022/theme/layout/service/app.menu.service.mjs +27 -0
  20. package/esm2022/theme/layout/service/menuchangeevent.mjs +2 -0
  21. package/esm2022/ui/badge/index.mjs +1 -1
  22. package/esm2022/ui/badge/src/badge.component.mjs +3 -3
  23. package/esm2022/ui/button/index.mjs +1 -1
  24. package/esm2022/ui/button/src/button.component.mjs +2 -2
  25. package/esm2022/ui/button/src/split-button.component.mjs +3 -3
  26. package/esm2022/ui/calendar/index.mjs +1 -1
  27. package/esm2022/ui/calendar/src/calendar.component.mjs +26 -13
  28. package/esm2022/ui/checkbox/index.mjs +1 -1
  29. package/esm2022/ui/checkbox/src/check-box.component.mjs +5 -5
  30. package/esm2022/ui/checkbox/src/tri-state-checkbox.component.mjs +5 -5
  31. package/esm2022/ui/dxField/index.mjs +1 -1
  32. package/esm2022/ui/dxField/src/dx-field.component.mjs +5 -5
  33. package/esm2022/ui/field/index.mjs +1 -1
  34. package/esm2022/ui/field/src/field.component.mjs +11 -9
  35. package/esm2022/ui/fileUpload/index.mjs +1 -1
  36. package/esm2022/ui/fileUpload/src/file-upload.component.mjs +11 -11
  37. package/esm2022/ui/form/index.mjs +20 -13
  38. package/esm2022/ui/form/src/form-submit-button.component.mjs +4 -3
  39. package/esm2022/ui/form/src/form.component.mjs +4 -4
  40. package/esm2022/ui/index.mjs +2 -2
  41. package/esm2022/ui/lib/index.mjs +1 -1
  42. package/esm2022/ui/lib/src/form/form-error-message.component.mjs +9 -9
  43. package/esm2022/ui/lib/src/form/form-error-message.directive.mjs +1 -1
  44. package/esm2022/ui/lib/src/form/form-field-builder.mjs +4 -4
  45. package/esm2022/ui/lib/src/form/form-validation.mjs +3 -3
  46. package/esm2022/ui/lib/src/grid/flex-grid.directive.mjs +2 -2
  47. package/esm2022/ui/lib/src/input/baseInput.mjs +4 -4
  48. package/esm2022/ui/lib/src/input/common-input-validators.service.mjs +6 -6
  49. package/esm2022/ui/lib/src/input/dx-input-error-message.pipe.mjs +3 -3
  50. package/esm2022/ui/lib/src/input/input-disabled.directive.mjs +1 -1
  51. package/esm2022/ui/lib/src/input/input-error-message.pipe.mjs +3 -2
  52. package/esm2022/ui/lib/src/input/input-transforms.mjs +1 -1
  53. package/esm2022/ui/lib/src/input/value-accessor.directive.mjs +12 -6
  54. package/esm2022/ui/mask/index.mjs +1 -1
  55. package/esm2022/ui/mask/src/mask.component.mjs +9 -9
  56. package/esm2022/ui/number/index.mjs +1 -1
  57. package/esm2022/ui/number/src/number.component.mjs +10 -10
  58. package/esm2022/ui/overlayPanel/index.mjs +1 -1
  59. package/esm2022/ui/overlayPanel/src/overlay-panel.component.mjs +4 -7
  60. package/esm2022/ui/panel/index.mjs +1 -1
  61. package/esm2022/ui/panel/src/panel.component.mjs +4 -4
  62. package/esm2022/ui/password/index.mjs +1 -1
  63. package/esm2022/ui/password/src/password.component.mjs +6 -6
  64. package/esm2022/ui/radioButton/index.mjs +1 -1
  65. package/esm2022/ui/radioButton/src/radio-button.component.mjs +7 -7
  66. package/esm2022/ui/selectBox/index.mjs +1 -1
  67. package/esm2022/ui/selectBox/src/select-box.component.mjs +7 -7
  68. package/esm2022/ui/switch/index.mjs +1 -1
  69. package/esm2022/ui/switch/src/switch.component.mjs +6 -6
  70. package/esm2022/ui/table/index.mjs +24 -17
  71. package/esm2022/ui/table/src/i18n.mjs +53 -90
  72. package/esm2022/ui/table/src/table-column.component.mjs +8 -10
  73. package/esm2022/ui/table/src/table.component.mjs +26 -41
  74. package/esm2022/ui/tagBox/index.mjs +1 -1
  75. package/esm2022/ui/tagBox/src/tag-box.component.mjs +12 -12
  76. package/esm2022/ui/text/index.mjs +1 -1
  77. package/esm2022/ui/text/src/text.component.mjs +4 -4
  78. package/esm2022/ui/textArea/index.mjs +1 -1
  79. package/esm2022/ui/textArea/src/text-area.component.mjs +3 -3
  80. package/esm2022/ui/tree/index.mjs +1 -1
  81. package/esm2022/ui/tree/src/tree.component.mjs +29 -45
  82. package/esm2022/ui/treeTable/index.mjs +1 -1
  83. package/esm2022/ui/treeTable/src/tree-table.component.mjs +39 -43
  84. package/esm2022/ui/value/index.mjs +1 -1
  85. package/esm2022/ui/value/src/value.component.mjs +13 -13
  86. package/esm2022/util/index.mjs +2 -2
  87. package/esm2022/util/init-event/index.mjs +1 -1
  88. package/esm2022/util/init-event/src/init-event.directive.mjs +1 -1
  89. package/esm2022/util/lib/index.mjs +1 -1
  90. package/esm2022/util/lib/src/interfaces.mjs +1 -1
  91. package/esm2022/util/lib/src/types.mjs +1 -1
  92. package/esm2022/util/primitive-extensions/index.mjs +5 -5
  93. package/esm2022/util/primitive-extensions/src/boolean.extensions.mjs +1 -1
  94. package/esm2022/util/primitive-extensions/src/date.extensions.mjs +68 -47
  95. package/esm2022/util/primitive-extensions/src/number.extensions.mjs +13 -7
  96. package/esm2022/util/primitive-extensions/src/string.extensions.mjs +4 -4
  97. package/esm2022/util/pub-sub/index.mjs +1 -1
  98. package/esm2022/util/pub-sub/src/pub-sub.service.mjs +7 -5
  99. package/fesm2022/aril-http.mjs +39 -60
  100. package/fesm2022/aril-http.mjs.map +1 -1
  101. package/fesm2022/aril-theme-layout.mjs +899 -0
  102. package/fesm2022/aril-theme-layout.mjs.map +1 -0
  103. package/fesm2022/aril-ui-badge.mjs +2 -2
  104. package/fesm2022/aril-ui-badge.mjs.map +1 -1
  105. package/fesm2022/aril-ui-button.mjs +3 -3
  106. package/fesm2022/aril-ui-button.mjs.map +1 -1
  107. package/fesm2022/aril-ui-calendar.mjs +24 -11
  108. package/fesm2022/aril-ui-calendar.mjs.map +1 -1
  109. package/fesm2022/aril-ui-checkbox.mjs +8 -8
  110. package/fesm2022/aril-ui-checkbox.mjs.map +1 -1
  111. package/fesm2022/aril-ui-dxField.mjs +4 -4
  112. package/fesm2022/aril-ui-dxField.mjs.map +1 -1
  113. package/fesm2022/aril-ui-field.mjs +9 -7
  114. package/fesm2022/aril-ui-field.mjs.map +1 -1
  115. package/fesm2022/aril-ui-fileUpload.mjs +10 -10
  116. package/fesm2022/aril-ui-fileUpload.mjs.map +1 -1
  117. package/fesm2022/aril-ui-form.mjs +23 -20
  118. package/fesm2022/aril-ui-form.mjs.map +1 -1
  119. package/fesm2022/aril-ui-lib.mjs +30 -23
  120. package/fesm2022/aril-ui-lib.mjs.map +1 -1
  121. package/fesm2022/aril-ui-mask.mjs +10 -10
  122. package/fesm2022/aril-ui-mask.mjs.map +1 -1
  123. package/fesm2022/aril-ui-number.mjs +11 -11
  124. package/fesm2022/aril-ui-number.mjs.map +1 -1
  125. package/fesm2022/aril-ui-overlayPanel.mjs +2 -5
  126. package/fesm2022/aril-ui-overlayPanel.mjs.map +1 -1
  127. package/fesm2022/aril-ui-panel.mjs +2 -2
  128. package/fesm2022/aril-ui-panel.mjs.map +1 -1
  129. package/fesm2022/aril-ui-password.mjs +6 -6
  130. package/fesm2022/aril-ui-password.mjs.map +1 -1
  131. package/fesm2022/aril-ui-radioButton.mjs +6 -6
  132. package/fesm2022/aril-ui-radioButton.mjs.map +1 -1
  133. package/fesm2022/aril-ui-selectBox.mjs +4 -4
  134. package/fesm2022/aril-ui-selectBox.mjs.map +1 -1
  135. package/fesm2022/aril-ui-switch.mjs +6 -6
  136. package/fesm2022/aril-ui-switch.mjs.map +1 -1
  137. package/fesm2022/aril-ui-table.mjs +99 -150
  138. package/fesm2022/aril-ui-table.mjs.map +1 -1
  139. package/fesm2022/aril-ui-tagBox.mjs +10 -10
  140. package/fesm2022/aril-ui-tagBox.mjs.map +1 -1
  141. package/fesm2022/aril-ui-text.mjs +3 -3
  142. package/fesm2022/aril-ui-text.mjs.map +1 -1
  143. package/fesm2022/aril-ui-textArea.mjs +2 -2
  144. package/fesm2022/aril-ui-textArea.mjs.map +1 -1
  145. package/fesm2022/aril-ui-tree.mjs +28 -44
  146. package/fesm2022/aril-ui-tree.mjs.map +1 -1
  147. package/fesm2022/aril-ui-treeTable.mjs +38 -42
  148. package/fesm2022/aril-ui-treeTable.mjs.map +1 -1
  149. package/fesm2022/aril-ui-value.mjs +11 -11
  150. package/fesm2022/aril-ui-value.mjs.map +1 -1
  151. package/fesm2022/aril-ui.mjs +1 -1
  152. package/fesm2022/aril-ui.mjs.map +1 -1
  153. package/fesm2022/aril-util-init-event.mjs.map +1 -1
  154. package/fesm2022/aril-util-lib.mjs.map +1 -1
  155. package/fesm2022/aril-util-primitive-extensions.mjs +82 -55
  156. package/fesm2022/aril-util-primitive-extensions.mjs.map +1 -1
  157. package/fesm2022/aril-util-pub-sub.mjs +6 -4
  158. package/fesm2022/aril-util-pub-sub.mjs.map +1 -1
  159. package/fesm2022/aril-util.mjs +1 -1
  160. package/fesm2022/aril-util.mjs.map +1 -1
  161. package/fesm2022/aril.mjs +1 -1
  162. package/fesm2022/aril.mjs.map +1 -1
  163. package/http/lib/enums.d.ts +6 -5
  164. package/http/lib/interfaces.d.ts +9 -29
  165. package/http/src/httpClient.d.ts +3 -3
  166. package/http/src/serviceBase.d.ts +2 -1
  167. package/http/src/serviceStateMethods.d.ts +1 -1
  168. package/package.json +13 -7
  169. package/styles/ui/ui.common.scss +8 -8
  170. package/theme/layout/app/breadcrumb/app.breadcrumb.component.d.ts +16 -0
  171. package/theme/layout/app/breadcrumb/app.breadcrumb.component.html +10 -0
  172. package/theme/layout/app/breadcrumb/app.breadcrumb.component.ts +50 -0
  173. package/theme/layout/app/config/app.config.component.d.ts +36 -0
  174. package/theme/layout/app/config/app.config.component.html +142 -0
  175. package/theme/layout/app/config/app.config.component.ts +143 -0
  176. package/theme/layout/app/layout/app.layout.component.d.ts +51 -0
  177. package/theme/layout/app/layout/app.layout.component.html +13 -0
  178. package/theme/layout/app/layout/app.layout.component.ts +170 -0
  179. package/theme/layout/app/menu/app.menu.component.d.ts +44 -0
  180. package/theme/layout/app/menu/app.menu.component.html +9 -0
  181. package/theme/layout/app/menu/app.menu.component.ts +343 -0
  182. package/theme/layout/app/profileSidebar/app.profilesidebar.component.d.ts +10 -0
  183. package/theme/layout/app/profileSidebar/app.profilesidebar.component.html +152 -0
  184. package/theme/layout/app/profileSidebar/app.profilesidebar.component.ts +24 -0
  185. package/theme/layout/app/sidebar/app.sidebar.component.d.ts +15 -0
  186. package/theme/layout/app/sidebar/app.sidebar.component.html +45 -0
  187. package/theme/layout/app/sidebar/app.sidebar.component.ts +43 -0
  188. package/theme/layout/app/topbar/app.topbar.component.d.ts +13 -0
  189. package/theme/layout/app/topbar/app.topbar.component.html +37 -0
  190. package/theme/layout/app/topbar/app.topbar.component.ts +28 -0
  191. package/theme/layout/index.d.ts +1 -0
  192. package/theme/layout/index.ts +1 -0
  193. package/theme/layout/ng-package.json +6 -0
  194. package/theme/layout/service/app.layout.service.d.ts +51 -0
  195. package/theme/layout/service/app.layout.service.ts +178 -0
  196. package/theme/layout/service/app.menu.service.d.ts +14 -0
  197. package/theme/layout/service/app.menu.service.ts +27 -0
  198. package/theme/layout/service/menuchangeevent.d.ts +4 -0
  199. package/theme/layout/service/menuchangeevent.ts +4 -0
  200. package/theme/styles/layout/_animation.scss +53 -53
  201. package/theme/styles/layout/_breadcrumb.scss +21 -21
  202. package/theme/styles/layout/_config.scss +42 -42
  203. package/theme/styles/layout/_content.scss +3 -3
  204. package/theme/styles/layout/_fonts.scss +40 -36
  205. package/theme/styles/layout/_layout_dark.scss +5 -5
  206. package/theme/styles/layout/_layout_dim.scss +5 -5
  207. package/theme/styles/layout/_layout_light.scss +5 -5
  208. package/theme/styles/layout/_main.scss +28 -28
  209. package/theme/styles/layout/_profile.scss +10 -10
  210. package/theme/styles/layout/_responsive.scss +111 -113
  211. package/theme/styles/layout/_sidebar_drawer.scss +234 -236
  212. package/theme/styles/layout/_sidebar_horizontal.scss +163 -163
  213. package/theme/styles/layout/_sidebar_reveal.scss +201 -203
  214. package/theme/styles/layout/_sidebar_slim.scss +144 -145
  215. package/theme/styles/layout/_sidebar_slim_plus.scss +162 -163
  216. package/theme/styles/layout/_sidebar_vertical.scss +153 -153
  217. package/theme/styles/layout/_topbar.scss +78 -78
  218. package/theme/styles/layout/_typography.scss +68 -63
  219. package/theme/styles/layout/_utils.scss +24 -24
  220. package/theme/styles/layout/layout.scss +24 -24
  221. package/theme/styles/layout/menutheme/_colorscheme.scss +11 -11
  222. package/theme/styles/layout/menutheme/_menutheme.scss +3 -3
  223. package/theme/styles/layout/menutheme/_primarycolor.scss +16 -16
  224. package/theme/styles/layout/menutheme/_transparent.scss +26 -26
  225. package/theme/styles/layout/preloading.scss +84 -84
  226. package/theme/styles/theme/base/_colors.scss +14 -15
  227. package/theme/styles/theme/base/_common.scss +39 -38
  228. package/theme/styles/theme/base/_components.scss +97 -97
  229. package/theme/styles/theme/base/_mixins.scss +281 -281
  230. package/theme/styles/theme/base/components/button/_button.scss +535 -535
  231. package/theme/styles/theme/base/components/button/_speeddial.scss +60 -60
  232. package/theme/styles/theme/base/components/button/_splitbutton.scss +328 -334
  233. package/theme/styles/theme/base/components/data/_carousel.scss +31 -31
  234. package/theme/styles/theme/base/components/data/_datatable.scss +336 -336
  235. package/theme/styles/theme/base/components/data/_dataview.scss +38 -38
  236. package/theme/styles/theme/base/components/data/_filter.scss +124 -125
  237. package/theme/styles/theme/base/components/data/_organizationchart.scss +48 -48
  238. package/theme/styles/theme/base/components/data/_paginator.scss +78 -78
  239. package/theme/styles/theme/base/components/data/_timeline.scss +33 -36
  240. package/theme/styles/theme/base/components/data/_treetable.scss +253 -254
  241. package/theme/styles/theme/base/components/data/_virtualscroller.scss +24 -24
  242. package/theme/styles/theme/base/components/file/_fileupload.scss +51 -51
  243. package/theme/styles/theme/base/components/input/_autocomplete.scss +120 -120
  244. package/theme/styles/theme/base/components/input/_calendar.scss +250 -250
  245. package/theme/styles/theme/base/components/input/_cascadeselect.scss +117 -118
  246. package/theme/styles/theme/base/components/input/_checkbox.scss +71 -71
  247. package/theme/styles/theme/base/components/input/_chips.scss +49 -49
  248. package/theme/styles/theme/base/components/input/_colorpicker.scss +11 -11
  249. package/theme/styles/theme/base/components/input/_dropdown.scss +141 -141
  250. package/theme/styles/theme/base/components/input/_editor.scss +120 -120
  251. package/theme/styles/theme/base/components/input/_inputgroup.scss +42 -42
  252. package/theme/styles/theme/base/components/input/_inputmask.scss +10 -10
  253. package/theme/styles/theme/base/components/input/_inputnumber.scss +21 -21
  254. package/theme/styles/theme/base/components/input/_inputswitch.scss +54 -54
  255. package/theme/styles/theme/base/components/input/_inputtext.scss +62 -62
  256. package/theme/styles/theme/base/components/input/_listbox.scss +80 -80
  257. package/theme/styles/theme/base/components/input/_multiselect.scss +158 -160
  258. package/theme/styles/theme/base/components/input/_password.scss +42 -42
  259. package/theme/styles/theme/base/components/input/_radiobutton.scss +57 -57
  260. package/theme/styles/theme/base/components/input/_rating.scss +53 -53
  261. package/theme/styles/theme/base/components/input/_selectbutton.scss +46 -46
  262. package/theme/styles/theme/base/components/input/_slider.scss +59 -55
  263. package/theme/styles/theme/base/components/input/_togglebutton.scss +44 -44
  264. package/theme/styles/theme/base/components/input/_treeselect.scss +119 -119
  265. package/theme/styles/theme/base/components/menu/_breadcrumb.scss +33 -33
  266. package/theme/styles/theme/base/components/menu/_contextmenu.scss +31 -31
  267. package/theme/styles/theme/base/components/menu/_dock.scss +80 -80
  268. package/theme/styles/theme/base/components/menu/_megamenu.scss +54 -54
  269. package/theme/styles/theme/base/components/menu/_menu.scss +30 -30
  270. package/theme/styles/theme/base/components/menu/_menubar.scss +136 -137
  271. package/theme/styles/theme/base/components/menu/_panelmenu.scss +151 -151
  272. package/theme/styles/theme/base/components/menu/_slidemenu.scss +57 -57
  273. package/theme/styles/theme/base/components/menu/_steps.scss +46 -46
  274. package/theme/styles/theme/base/components/menu/_tabmenu.scss +60 -61
  275. package/theme/styles/theme/base/components/menu/_tieredmenu.scss +34 -34
  276. package/theme/styles/theme/base/components/messages/_inlinemessage.scss +55 -55
  277. package/theme/styles/theme/base/components/messages/_message.scss +105 -105
  278. package/theme/styles/theme/base/components/messages/_toast.scss +97 -98
  279. package/theme/styles/theme/base/components/misc/_avatar.scss +22 -22
  280. package/theme/styles/theme/base/components/misc/_badge.scss +40 -40
  281. package/theme/styles/theme/base/components/misc/_chip.scss +39 -39
  282. package/theme/styles/theme/base/components/misc/_inplace.scss +12 -13
  283. package/theme/styles/theme/base/components/misc/_progressbar.scss +13 -13
  284. package/theme/styles/theme/base/components/misc/_scrolltop.scss +20 -20
  285. package/theme/styles/theme/base/components/misc/_skeleton.scss +6 -6
  286. package/theme/styles/theme/base/components/misc/_tag.scss +31 -31
  287. package/theme/styles/theme/base/components/misc/_terminal.scss +1 -1
  288. package/theme/styles/theme/base/components/multimedia/_galleria.scss +150 -150
  289. package/theme/styles/theme/base/components/multimedia/_image.scss +35 -35
  290. package/theme/styles/theme/base/components/overlay/_confirmpopup.scss +57 -59
  291. package/theme/styles/theme/base/components/overlay/_dialog.scss +56 -56
  292. package/theme/styles/theme/base/components/overlay/_overlaypanel.scss +58 -60
  293. package/theme/styles/theme/base/components/overlay/_sidebar.scss +20 -20
  294. package/theme/styles/theme/base/components/overlay/_tooltip.scss +27 -27
  295. package/theme/styles/theme/base/components/panel/_accordion.scss +104 -104
  296. package/theme/styles/theme/base/components/panel/_card.scss +23 -23
  297. package/theme/styles/theme/base/components/panel/_divider.scss +24 -24
  298. package/theme/styles/theme/base/components/panel/_fieldset.scss +38 -38
  299. package/theme/styles/theme/base/components/panel/_panel.scss +61 -61
  300. package/theme/styles/theme/base/components/panel/_scrollpanel.scss +5 -5
  301. package/theme/styles/theme/base/components/panel/_splitter.scss +15 -15
  302. package/theme/styles/theme/base/components/panel/_tabview.scss +68 -68
  303. package/theme/styles/theme/base/components/panel/_toolbar.scss +8 -8
  304. package/theme/styles/theme/dark/_extensions.scss +134 -120
  305. package/theme/styles/theme/dark/_variables.scss +918 -896
  306. package/theme/styles/theme/dark/blue/theme.scss +14 -14
  307. package/theme/styles/theme/dark/indigo/theme.scss +14 -14
  308. package/theme/styles/theme/light/_extensions.scss +116 -102
  309. package/theme/styles/theme/light/_variables.scss +911 -898
  310. package/theme/styles/theme/light/blue/theme.scss +14 -14
  311. package/theme/styles/theme/light/indigo/theme.scss +14 -14
  312. package/ui/calendar/src/calendar.component.d.ts +2 -2
  313. package/ui/form/index.d.ts +9 -0
  314. package/ui/form/src/form-submit-button.component.d.ts +1 -1
  315. package/ui/form/src/form.component.d.ts +1 -1
  316. package/ui/lib/src/form/form-validation.d.ts +1 -1
  317. package/ui/lib/src/input/baseInput.d.ts +2 -2
  318. package/ui/lib/src/input/common-input-validators.service.d.ts +3 -3
  319. package/ui/lib/src/input/dx-input-error-message.pipe.d.ts +2 -2
  320. package/ui/lib/src/input/input-transforms.d.ts +1 -1
  321. package/ui/mask/src/mask.component.d.ts +3 -3
  322. package/ui/number/src/number.component.d.ts +4 -4
  323. package/ui/overlayPanel/src/overlay-panel.component.d.ts +1 -1
  324. package/ui/password/src/password.component.d.ts +3 -3
  325. package/ui/selectBox/src/select-box.component.d.ts +2 -2
  326. package/ui/switch/src/switch.component.d.ts +3 -3
  327. package/ui/table/index.d.ts +13 -0
  328. package/ui/table/src/table-column.component.d.ts +6 -5
  329. package/ui/table/src/table.component.d.ts +8 -15
  330. package/ui/tree/src/tree.component.d.ts +14 -19
  331. package/ui/treeTable/src/tree-table.component.d.ts +14 -18
  332. package/ui/value/src/value.component.d.ts +2 -2
  333. package/util/lib/src/types.d.ts +2 -2
  334. package/util/primitive-extensions/index.d.ts +4 -4
@@ -0,0 +1,28 @@
1
+ import { Component, ElementRef, ViewChild } from '@angular/core';
2
+ import { ButtonModule } from 'primeng/button';
3
+
4
+ import { LayoutService } from '../../service/app.layout.service';
5
+ import { AppBreadcrumbComponent } from '../breadcrumb/app.breadcrumb.component';
6
+
7
+ @Component({
8
+ standalone: true,
9
+ selector: 'app-topbar',
10
+ imports: [ButtonModule, AppBreadcrumbComponent],
11
+ templateUrl: './app.topbar.component.html'
12
+ })
13
+ export class AppTopbarComponent {
14
+ @ViewChild('menubutton') menuButton!: ElementRef;
15
+
16
+ constructor(public layoutService: LayoutService) {}
17
+
18
+ onMenuButtonClick() {
19
+ this.layoutService.onMenuToggle();
20
+ }
21
+
22
+ onProfileButtonClick() {
23
+ this.layoutService.showProfileSidebar();
24
+ }
25
+ onConfigButtonClick() {
26
+ this.layoutService.showConfigSidebar();
27
+ }
28
+ }
@@ -0,0 +1 @@
1
+ export * from './app/layout/app.layout.component';
@@ -0,0 +1 @@
1
+ export * from './app/layout/app.layout.component';
@@ -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,51 @@
1
+ import * as i0 from "@angular/core";
2
+ export type MenuMode = 'static' | 'overlay' | 'horizontal' | 'slim' | 'slim-plus' | 'reveal' | 'drawer';
3
+ export type ColorScheme = 'light' | 'dark' | 'dim';
4
+ export type MenuColorScheme = 'colorScheme' | 'primaryColor' | 'transparent';
5
+ export interface AppConfig {
6
+ inputStyle: string;
7
+ colorScheme: ColorScheme;
8
+ theme: string;
9
+ ripple: boolean;
10
+ menuMode: MenuMode;
11
+ scale: number;
12
+ menuTheme: MenuColorScheme;
13
+ }
14
+ interface LayoutState {
15
+ staticMenuDesktopInactive: boolean;
16
+ overlayMenuActive: boolean;
17
+ profileSidebarVisible: boolean;
18
+ configSidebarVisible: boolean;
19
+ staticMenuMobileActive: boolean;
20
+ menuHoverActive: boolean;
21
+ sidebarActive: boolean;
22
+ anchored: boolean;
23
+ }
24
+ export declare class LayoutService {
25
+ _config: AppConfig;
26
+ config: import("@angular/core").WritableSignal<AppConfig>;
27
+ state: LayoutState;
28
+ private configUpdate;
29
+ private overlayOpen;
30
+ configUpdate$: import("rxjs").Observable<AppConfig>;
31
+ overlayOpen$: import("rxjs").Observable<any>;
32
+ constructor();
33
+ updateStyle(config: AppConfig): boolean;
34
+ onMenuToggle(): void;
35
+ onOverlaySubmenuOpen(): void;
36
+ showProfileSidebar(): void;
37
+ showConfigSidebar(): void;
38
+ isOverlay(): boolean;
39
+ isDesktop(): boolean;
40
+ isSlim(): boolean;
41
+ isSlimPlus(): boolean;
42
+ isHorizontal(): boolean;
43
+ isMobile(): boolean;
44
+ onConfigUpdate(): void;
45
+ changeTheme(): void;
46
+ replaceThemeLink(href: string): void;
47
+ changeScale(value: number): void;
48
+ static ɵfac: i0.ɵɵFactoryDeclaration<LayoutService, never>;
49
+ static ɵprov: i0.ɵɵInjectableDeclaration<LayoutService>;
50
+ }
51
+ export {};
@@ -0,0 +1,178 @@
1
+ import { Injectable, effect, signal } from '@angular/core';
2
+
3
+ import { Subject } from 'rxjs';
4
+
5
+ export type MenuMode = 'static' | 'overlay' | 'horizontal' | 'slim' | 'slim-plus' | 'reveal' | 'drawer';
6
+
7
+ export type ColorScheme = 'light' | 'dark' | 'dim';
8
+
9
+ export type MenuColorScheme = 'colorScheme' | 'primaryColor' | 'transparent';
10
+
11
+ export interface AppConfig {
12
+ inputStyle: string;
13
+ colorScheme: ColorScheme;
14
+ theme: string;
15
+ ripple: boolean;
16
+ menuMode: MenuMode;
17
+ scale: number;
18
+ menuTheme: MenuColorScheme;
19
+ }
20
+
21
+ interface LayoutState {
22
+ staticMenuDesktopInactive: boolean;
23
+ overlayMenuActive: boolean;
24
+ profileSidebarVisible: boolean;
25
+ configSidebarVisible: boolean;
26
+ staticMenuMobileActive: boolean;
27
+ menuHoverActive: boolean;
28
+ sidebarActive: boolean;
29
+ anchored: boolean;
30
+ }
31
+
32
+ @Injectable({
33
+ providedIn: 'root'
34
+ })
35
+ export class LayoutService {
36
+ _config: AppConfig = {
37
+ ripple: false,
38
+ inputStyle: 'filled',
39
+ menuMode: 'horizontal',
40
+ colorScheme: 'light',
41
+ theme: 'indigo',
42
+ scale: 12,
43
+ menuTheme: 'colorScheme'
44
+ };
45
+
46
+ // TODO: Set User Config
47
+ config = signal<AppConfig>(this._config);
48
+
49
+ state: LayoutState = {
50
+ staticMenuDesktopInactive: false,
51
+ overlayMenuActive: false,
52
+ profileSidebarVisible: false,
53
+ configSidebarVisible: false,
54
+ staticMenuMobileActive: false,
55
+ menuHoverActive: false,
56
+ sidebarActive: false,
57
+ anchored: false
58
+ };
59
+
60
+ private configUpdate = new Subject<AppConfig>();
61
+
62
+ private overlayOpen = new Subject<any>();
63
+
64
+ configUpdate$ = this.configUpdate.asObservable();
65
+
66
+ overlayOpen$ = this.overlayOpen.asObservable();
67
+
68
+ constructor() {
69
+ effect(() => {
70
+ const config = this.config();
71
+ if (this.updateStyle(config)) {
72
+ this.changeTheme();
73
+ }
74
+ this.changeScale(config.scale);
75
+ this.onConfigUpdate();
76
+ });
77
+ }
78
+
79
+ updateStyle(config: AppConfig) {
80
+ return config.theme !== this._config.theme || config.colorScheme !== this._config.colorScheme;
81
+ }
82
+
83
+ onMenuToggle() {
84
+ if (this.isOverlay()) {
85
+ this.state.overlayMenuActive = !this.state.overlayMenuActive;
86
+
87
+ if (this.state.overlayMenuActive) {
88
+ this.overlayOpen.next(null);
89
+ }
90
+ }
91
+
92
+ if (this.isDesktop()) {
93
+ this.state.staticMenuDesktopInactive = !this.state.staticMenuDesktopInactive;
94
+ } else {
95
+ this.state.staticMenuMobileActive = !this.state.staticMenuMobileActive;
96
+
97
+ if (this.state.staticMenuMobileActive) {
98
+ this.overlayOpen.next(null);
99
+ }
100
+ }
101
+ }
102
+
103
+ onOverlaySubmenuOpen() {
104
+ this.overlayOpen.next(null);
105
+ }
106
+
107
+ showProfileSidebar() {
108
+ this.state.profileSidebarVisible = true;
109
+ }
110
+
111
+ showConfigSidebar() {
112
+ this.state.configSidebarVisible = true;
113
+ }
114
+
115
+ isOverlay() {
116
+ return this.config().menuMode === 'overlay';
117
+ }
118
+
119
+ isDesktop() {
120
+ return window.innerWidth > 991;
121
+ }
122
+
123
+ isSlim() {
124
+ return this.config().menuMode === 'slim';
125
+ }
126
+
127
+ isSlimPlus() {
128
+ return this.config().menuMode === 'slim-plus';
129
+ }
130
+
131
+ isHorizontal() {
132
+ return this.config().menuMode === 'horizontal';
133
+ }
134
+
135
+ isMobile() {
136
+ return !this.isDesktop();
137
+ }
138
+
139
+ onConfigUpdate() {
140
+ this._config = { ...this.config() };
141
+ this.configUpdate.next(this.config());
142
+ }
143
+
144
+ changeTheme() {
145
+ const config = this.config();
146
+ const themeLink = <HTMLLinkElement>document.getElementById('theme-link');
147
+ const themeLinkHref = themeLink.getAttribute('href')!;
148
+ const newHref = themeLinkHref
149
+ .split('/')
150
+ .map((el) =>
151
+ el == this._config.theme ? (el = config.theme)
152
+ : el == `theme-${this._config.colorScheme}` ? (el = `theme-${config.colorScheme}`)
153
+ : el
154
+ )
155
+ .join('/');
156
+
157
+ this.replaceThemeLink(newHref);
158
+ }
159
+
160
+ replaceThemeLink(href: string) {
161
+ const id = 'theme-link';
162
+ let themeLink = <HTMLLinkElement>document.getElementById(id);
163
+ const cloneLinkElement = <HTMLLinkElement>themeLink.cloneNode(true);
164
+
165
+ cloneLinkElement.setAttribute('href', href);
166
+ cloneLinkElement.setAttribute('id', id + '-clone');
167
+
168
+ themeLink.parentNode!.insertBefore(cloneLinkElement, themeLink.nextSibling);
169
+ cloneLinkElement.addEventListener('load', () => {
170
+ themeLink.remove();
171
+ cloneLinkElement.setAttribute('id', id);
172
+ });
173
+ }
174
+
175
+ changeScale(value: number) {
176
+ document.documentElement.style.fontSize = `${value}px`;
177
+ }
178
+ }
@@ -0,0 +1,14 @@
1
+ import { MenuItem } from 'primeng/api';
2
+ import { MenuChangeEvent } from './menuchangeevent';
3
+ import * as i0 from "@angular/core";
4
+ export declare class MenuService {
5
+ private menuSource;
6
+ private resetSource;
7
+ menuItems: import("@angular/core").WritableSignal<MenuItem[]>;
8
+ menuSource$: import("rxjs").Observable<MenuChangeEvent>;
9
+ resetSource$: import("rxjs").Observable<unknown>;
10
+ onMenuStateChange(event: MenuChangeEvent): void;
11
+ reset(): void;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<MenuService, never>;
13
+ static ɵprov: i0.ɵɵInjectableDeclaration<MenuService>;
14
+ }
@@ -0,0 +1,27 @@
1
+ import { Injectable, signal } from '@angular/core';
2
+
3
+ import { Subject } from 'rxjs';
4
+ import { MenuItem } from 'primeng/api';
5
+
6
+ import { MenuChangeEvent } from './menuchangeevent';
7
+
8
+ @Injectable({
9
+ providedIn: 'root'
10
+ })
11
+ export class MenuService {
12
+ private menuSource = new Subject<MenuChangeEvent>();
13
+ private resetSource = new Subject();
14
+
15
+ public menuItems = signal<MenuItem[]>([]);
16
+
17
+ menuSource$ = this.menuSource.asObservable();
18
+ resetSource$ = this.resetSource.asObservable();
19
+
20
+ onMenuStateChange(event: MenuChangeEvent) {
21
+ this.menuSource.next(event);
22
+ }
23
+
24
+ reset() {
25
+ this.resetSource.next(true);
26
+ }
27
+ }
@@ -0,0 +1,4 @@
1
+ export interface MenuChangeEvent {
2
+ key: string;
3
+ routeEvent?: boolean;
4
+ }
@@ -0,0 +1,4 @@
1
+ export interface MenuChangeEvent {
2
+ key: string;
3
+ routeEvent?: boolean;
4
+ }
@@ -1,53 +1,53 @@
1
- @keyframes px-mask-in {
2
- from {
3
- background-color: transparent;
4
- }
5
-
6
- to {
7
- background-color: var(--maskbg);
8
- }
9
- }
10
-
11
- @keyframes px-scalein {
12
- 0% {
13
- opacity: 0;
14
- transform: scaleY(0.8);
15
- }
16
-
17
- 100% {
18
- opacity: 1;
19
- transform: scaleY(1);
20
- }
21
- }
22
-
23
- @keyframes px-fadein {
24
- 0% {
25
- opacity: 0;
26
- }
27
-
28
- 100% {
29
- opacity: 1;
30
- }
31
- }
32
-
33
- @keyframes px-fadeout {
34
- 0% {
35
- opacity: 1;
36
- }
37
-
38
- 100% {
39
- opacity: 0;
40
- }
41
- }
42
-
43
- .px-scalein {
44
- animation: px-scalein .12s cubic-bezier(0, 0, 0.2, 1);
45
- }
46
-
47
- .px-fadein {
48
- animation: px-fadein .15s linear;
49
- }
50
-
51
- .px-fadeout {
52
- animation: px-fadeout .15s linear;
53
- }
1
+ @keyframes px-mask-in {
2
+ from {
3
+ background-color: transparent;
4
+ }
5
+
6
+ to {
7
+ background-color: var(--maskbg);
8
+ }
9
+ }
10
+
11
+ @keyframes px-scalein {
12
+ 0% {
13
+ opacity: 0;
14
+ transform: scaleY(0.8);
15
+ }
16
+
17
+ 100% {
18
+ opacity: 1;
19
+ transform: scaleY(1);
20
+ }
21
+ }
22
+
23
+ @keyframes px-fadein {
24
+ 0% {
25
+ opacity: 0;
26
+ }
27
+
28
+ 100% {
29
+ opacity: 1;
30
+ }
31
+ }
32
+
33
+ @keyframes px-fadeout {
34
+ 0% {
35
+ opacity: 1;
36
+ }
37
+
38
+ 100% {
39
+ opacity: 0;
40
+ }
41
+ }
42
+
43
+ .px-scalein {
44
+ animation: px-scalein 0.12s cubic-bezier(0, 0, 0.2, 1);
45
+ }
46
+
47
+ .px-fadein {
48
+ animation: px-fadein 0.15s linear;
49
+ }
50
+
51
+ .px-fadeout {
52
+ animation: px-fadeout 0.15s linear;
53
+ }
@@ -1,21 +1,21 @@
1
- .layout-breadcrumb {
2
- ol {
3
- display: flex;
4
- align-items: center;
5
- margin: 0;
6
- padding: 0;
7
- list-style: none;
8
- gap: 1rem;
9
- flex-wrap: wrap;
10
- color: var(--text-color-secondary);
11
-
12
- li {
13
- font-weight: 600;
14
- }
15
- }
16
- }
17
-
18
- .content-breadcrumb {
19
- margin-bottom: 2rem;
20
- padding: 0 .5rem;
21
- }
1
+ .layout-breadcrumb {
2
+ ol {
3
+ display: flex;
4
+ align-items: center;
5
+ margin: 0;
6
+ padding: 0;
7
+ list-style: none;
8
+ gap: 1rem;
9
+ flex-wrap: wrap;
10
+ color: var(--text-color-secondary);
11
+
12
+ li {
13
+ font-weight: 600;
14
+ }
15
+ }
16
+ }
17
+
18
+ .content-breadcrumb {
19
+ margin-bottom: 2rem;
20
+ padding: 0 0.5rem;
21
+ }
@@ -1,42 +1,42 @@
1
- .layout-config-button {
2
- display: block;
3
- position: fixed;
4
- width: 3rem;
5
- height: 3rem;
6
- line-height: 3rem;
7
- background: var(--primary-color);
8
- color: var(--primary-color-text);
9
- text-align: center;
10
- top: 50%;
11
- right: 0;
12
- margin-top: -1.5rem;
13
- border-top-left-radius: var(--border-radius);
14
- border-bottom-left-radius: var(--border-radius);
15
- border-top-right-radius: 0;
16
- border-bottom-right-radius: 0;
17
- transition: background-color var(--transition-duration);
18
- overflow: hidden;
19
- cursor: pointer;
20
- z-index: 999;
21
- box-shadow: -.25rem 0 1rem rgba(0,0,0,.15);
22
-
23
- i {
24
- font-size: 2rem;
25
- line-height: inherit;
26
- transform: rotate(0deg);
27
- transition: transform 1s;
28
- }
29
-
30
- &:hover {
31
- background: var(--primary-400);
32
- }
33
- }
34
-
35
- .layout-config-sidebar {
36
- &.p-sidebar {
37
- .p-sidebar-content {
38
- padding-left: 2rem;
39
- padding-right: 2rem;
40
- }
41
- }
42
- }
1
+ .layout-config-button {
2
+ display: block;
3
+ position: fixed;
4
+ width: 3rem;
5
+ height: 3rem;
6
+ line-height: 3rem;
7
+ background: var(--primary-color);
8
+ color: var(--primary-color-text);
9
+ text-align: center;
10
+ top: 50%;
11
+ right: 0;
12
+ margin-top: -1.5rem;
13
+ border-top-left-radius: var(--border-radius);
14
+ border-bottom-left-radius: var(--border-radius);
15
+ border-top-right-radius: 0;
16
+ border-bottom-right-radius: 0;
17
+ transition: background-color var(--transition-duration);
18
+ overflow: hidden;
19
+ cursor: pointer;
20
+ z-index: 999;
21
+ box-shadow: -0.25rem 0 1rem rgba(0, 0, 0, 0.15);
22
+
23
+ i {
24
+ font-size: 2rem;
25
+ line-height: inherit;
26
+ transform: rotate(0deg);
27
+ transition: transform 1s;
28
+ }
29
+
30
+ &:hover {
31
+ background: var(--primary-400);
32
+ }
33
+ }
34
+
35
+ .layout-config-sidebar {
36
+ &.p-sidebar {
37
+ .p-sidebar-content {
38
+ padding-left: 2rem;
39
+ padding-right: 2rem;
40
+ }
41
+ }
42
+ }
@@ -1,3 +1,3 @@
1
- .layout-content-wrapper {
2
- padding: 2rem;
3
- }
1
+ .layout-content-wrapper {
2
+ padding: 2rem;
3
+ }
@@ -1,36 +1,40 @@
1
- /* poppins-regular - latin */
2
- @font-face {
3
- font-family: 'Poppins';
4
- font-style: normal;
5
- font-weight: 400;
6
- src: local(''),
7
- url('../../fonts/poppins-v20-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
8
- url('../../fonts/poppins-v20-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
9
- }
10
- /* poppins-500 - latin */
11
- @font-face {
12
- font-family: 'Poppins';
13
- font-style: normal;
14
- font-weight: 500;
15
- src: local(''),
16
- url('../../fonts/poppins-v20-latin-500.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
17
- url('../../fonts/poppins-v20-latin-500.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
18
- }
19
- /* poppins-600 - latin */
20
- @font-face {
21
- font-family: 'Poppins';
22
- font-style: normal;
23
- font-weight: 600;
24
- src: local(''),
25
- url('../../fonts/poppins-v20-latin-600.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
26
- url('../../fonts/poppins-v20-latin-600.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
27
- }
28
- /* poppins-700 - latin */
29
- @font-face {
30
- font-family: 'Poppins';
31
- font-style: normal;
32
- font-weight: 700;
33
- src: local(''),
34
- url('../../fonts/poppins-v20-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
35
- url('../../fonts/poppins-v20-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
36
- }
1
+ /* poppins-regular - latin */
2
+ @font-face {
3
+ font-family: 'Poppins';
4
+ font-style: normal;
5
+ font-weight: 400;
6
+ src:
7
+ local(''),
8
+ url('../../fonts/poppins-v20-latin-regular.woff2') format('woff2'),
9
+ /* Chrome 26+, Opera 23+, Firefox 39+ */ url('../../fonts/poppins-v20-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
10
+ }
11
+ /* poppins-500 - latin */
12
+ @font-face {
13
+ font-family: 'Poppins';
14
+ font-style: normal;
15
+ font-weight: 500;
16
+ src:
17
+ local(''),
18
+ url('../../fonts/poppins-v20-latin-500.woff2') format('woff2'),
19
+ /* Chrome 26+, Opera 23+, Firefox 39+ */ url('../../fonts/poppins-v20-latin-500.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
20
+ }
21
+ /* poppins-600 - latin */
22
+ @font-face {
23
+ font-family: 'Poppins';
24
+ font-style: normal;
25
+ font-weight: 600;
26
+ src:
27
+ local(''),
28
+ url('../../fonts/poppins-v20-latin-600.woff2') format('woff2'),
29
+ /* Chrome 26+, Opera 23+, Firefox 39+ */ url('../../fonts/poppins-v20-latin-600.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
30
+ }
31
+ /* poppins-700 - latin */
32
+ @font-face {
33
+ font-family: 'Poppins';
34
+ font-style: normal;
35
+ font-weight: 700;
36
+ src:
37
+ local(''),
38
+ url('../../fonts/poppins-v20-latin-700.woff2') format('woff2'),
39
+ /* Chrome 26+, Opera 23+, Firefox 39+ */ url('../../fonts/poppins-v20-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
40
+ }
@@ -1,5 +1,5 @@
1
- .layout-dark {
2
- --sidebar-shadow: none;
3
- --sidebar-border: 1px solid var(--surface-border);
4
- --card-shadow: none;
5
- }
1
+ .layout-dark {
2
+ --sidebar-shadow: none;
3
+ --sidebar-border: 1px solid var(--surface-border);
4
+ --card-shadow: none;
5
+ }
@@ -1,5 +1,5 @@
1
- .layout-dim {
2
- --sidebar-shadow: none;
3
- --sidebar-border: 1px solid var(--surface-border);
4
- --card-shadow: none;
5
- }
1
+ .layout-dim {
2
+ --sidebar-shadow: none;
3
+ --sidebar-border: 1px solid var(--surface-border);
4
+ --card-shadow: none;
5
+ }