@wirabyte/ui 2.0.0-beta.0 → 3.0.0

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 (1686) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/README.md +6 -6
  3. package/fesm2022/wirabyte-ui-accordion.mjs +49 -49
  4. package/fesm2022/wirabyte-ui-accordion.mjs.map +1 -1
  5. package/fesm2022/wirabyte-ui-alert.mjs +14 -14
  6. package/fesm2022/wirabyte-ui-alert.mjs.map +1 -1
  7. package/fesm2022/wirabyte-ui-animate.mjs +10 -10
  8. package/fesm2022/wirabyte-ui-animate.mjs.map +1 -1
  9. package/fesm2022/wirabyte-ui-api.mjs +4 -4
  10. package/fesm2022/wirabyte-ui-asidemenu.mjs +8 -8
  11. package/fesm2022/wirabyte-ui-asidemenu.mjs.map +1 -1
  12. package/fesm2022/wirabyte-ui-autocomplete.mjs +10 -10
  13. package/fesm2022/wirabyte-ui-autocomplete.mjs.map +1 -1
  14. package/fesm2022/wirabyte-ui-avatar.mjs +34 -27
  15. package/fesm2022/wirabyte-ui-avatar.mjs.map +1 -1
  16. package/fesm2022/wirabyte-ui-badge.mjs +20 -20
  17. package/fesm2022/wirabyte-ui-badge.mjs.map +1 -1
  18. package/fesm2022/wirabyte-ui-blockui.mjs +8 -8
  19. package/fesm2022/wirabyte-ui-blockui.mjs.map +1 -1
  20. package/fesm2022/wirabyte-ui-bottombar.mjs +8 -8
  21. package/fesm2022/wirabyte-ui-bottombar.mjs.map +1 -1
  22. package/fesm2022/wirabyte-ui-breadcrumb.mjs +10 -8
  23. package/fesm2022/wirabyte-ui-breadcrumb.mjs.map +1 -1
  24. package/fesm2022/wirabyte-ui-button.mjs +39 -39
  25. package/fesm2022/wirabyte-ui-button.mjs.map +1 -1
  26. package/fesm2022/wirabyte-ui-card.mjs +34 -34
  27. package/fesm2022/wirabyte-ui-card.mjs.map +1 -1
  28. package/fesm2022/wirabyte-ui-carousel.mjs +8 -8
  29. package/fesm2022/wirabyte-ui-carousel.mjs.map +1 -1
  30. package/fesm2022/wirabyte-ui-chart.mjs +1243 -40
  31. package/fesm2022/wirabyte-ui-chart.mjs.map +1 -1
  32. package/fesm2022/wirabyte-ui-chartjs.mjs +10 -10
  33. package/fesm2022/wirabyte-ui-chartjs.mjs.map +1 -1
  34. package/fesm2022/wirabyte-ui-chat.mjs +391 -0
  35. package/fesm2022/wirabyte-ui-chat.mjs.map +1 -0
  36. package/fesm2022/wirabyte-ui-checkbox.mjs +29 -29
  37. package/fesm2022/wirabyte-ui-checkbox.mjs.map +1 -1
  38. package/fesm2022/wirabyte-ui-chip.mjs +20 -20
  39. package/fesm2022/wirabyte-ui-chip.mjs.map +1 -1
  40. package/fesm2022/wirabyte-ui-colorpicker.mjs +8 -8
  41. package/fesm2022/wirabyte-ui-colorpicker.mjs.map +1 -1
  42. package/fesm2022/wirabyte-ui-config.mjs +62 -22
  43. package/fesm2022/wirabyte-ui-config.mjs.map +1 -1
  44. package/fesm2022/wirabyte-ui-confirmdialog.mjs +14 -14
  45. package/fesm2022/wirabyte-ui-confirmdialog.mjs.map +1 -1
  46. package/fesm2022/wirabyte-ui-contextmenu.mjs +7 -7
  47. package/fesm2022/wirabyte-ui-contextmenu.mjs.map +1 -1
  48. package/fesm2022/wirabyte-ui-core.mjs +155 -2
  49. package/fesm2022/wirabyte-ui-core.mjs.map +1 -1
  50. package/fesm2022/wirabyte-ui-datepicker.mjs +85 -85
  51. package/fesm2022/wirabyte-ui-datepicker.mjs.map +1 -1
  52. package/fesm2022/wirabyte-ui-descriptions.mjs +133 -0
  53. package/fesm2022/wirabyte-ui-descriptions.mjs.map +1 -0
  54. package/fesm2022/wirabyte-ui-dialog.mjs +21 -21
  55. package/fesm2022/wirabyte-ui-dialog.mjs.map +1 -1
  56. package/fesm2022/wirabyte-ui-divider.mjs +16 -16
  57. package/fesm2022/wirabyte-ui-divider.mjs.map +1 -1
  58. package/fesm2022/wirabyte-ui-dock.mjs +8 -8
  59. package/fesm2022/wirabyte-ui-dock.mjs.map +1 -1
  60. package/fesm2022/wirabyte-ui-dragdrop.mjs +10 -10
  61. package/fesm2022/wirabyte-ui-dragdrop.mjs.map +1 -1
  62. package/fesm2022/wirabyte-ui-drawer.mjs +8 -8
  63. package/fesm2022/wirabyte-ui-drawer.mjs.map +1 -1
  64. package/fesm2022/wirabyte-ui-editor.mjs +17 -17
  65. package/fesm2022/wirabyte-ui-editor.mjs.map +1 -1
  66. package/fesm2022/wirabyte-ui-emptystate.mjs +8 -8
  67. package/fesm2022/wirabyte-ui-emptystate.mjs.map +1 -1
  68. package/fesm2022/wirabyte-ui-errorpage.mjs +8 -8
  69. package/fesm2022/wirabyte-ui-errorpage.mjs.map +1 -1
  70. package/fesm2022/wirabyte-ui-fieldset.mjs +21 -21
  71. package/fesm2022/wirabyte-ui-fieldset.mjs.map +1 -1
  72. package/fesm2022/wirabyte-ui-fileupload.mjs +11 -11
  73. package/fesm2022/wirabyte-ui-fileupload.mjs.map +1 -1
  74. package/fesm2022/wirabyte-ui-floatlabel.mjs +7 -7
  75. package/fesm2022/wirabyte-ui-floatlabel.mjs.map +1 -1
  76. package/fesm2022/wirabyte-ui-flow.mjs +51 -51
  77. package/fesm2022/wirabyte-ui-flow.mjs.map +1 -1
  78. package/fesm2022/wirabyte-ui-galleria.mjs +8 -8
  79. package/fesm2022/wirabyte-ui-galleria.mjs.map +1 -1
  80. package/fesm2022/wirabyte-ui-i18n.mjs +17 -17
  81. package/fesm2022/wirabyte-ui-i18n.mjs.map +1 -1
  82. package/fesm2022/wirabyte-ui-iconfield.mjs +10 -10
  83. package/fesm2022/wirabyte-ui-iconfield.mjs.map +1 -1
  84. package/fesm2022/wirabyte-ui-image.mjs +11 -11
  85. package/fesm2022/wirabyte-ui-image.mjs.map +1 -1
  86. package/fesm2022/wirabyte-ui-imagecompare.mjs +8 -8
  87. package/fesm2022/wirabyte-ui-imagecompare.mjs.map +1 -1
  88. package/fesm2022/wirabyte-ui-imagecropper.mjs +8 -8
  89. package/fesm2022/wirabyte-ui-imagecropper.mjs.map +1 -1
  90. package/fesm2022/wirabyte-ui-inplace.mjs +7 -7
  91. package/fesm2022/wirabyte-ui-inplace.mjs.map +1 -1
  92. package/fesm2022/wirabyte-ui-inputgroup.mjs +10 -10
  93. package/fesm2022/wirabyte-ui-inputgroup.mjs.map +1 -1
  94. package/fesm2022/wirabyte-ui-inputmask.mjs +10 -10
  95. package/fesm2022/wirabyte-ui-inputmask.mjs.map +1 -1
  96. package/fesm2022/wirabyte-ui-inputnumber.mjs +60 -60
  97. package/fesm2022/wirabyte-ui-inputnumber.mjs.map +1 -1
  98. package/fesm2022/wirabyte-ui-inputotp.mjs +7 -7
  99. package/fesm2022/wirabyte-ui-inputotp.mjs.map +1 -1
  100. package/fesm2022/wirabyte-ui-inputtext.mjs +12 -12
  101. package/fesm2022/wirabyte-ui-inputtext.mjs.map +1 -1
  102. package/fesm2022/wirabyte-ui-keyfilter.mjs +7 -7
  103. package/fesm2022/wirabyte-ui-keyfilter.mjs.map +1 -1
  104. package/fesm2022/wirabyte-ui-knob.mjs +8 -8
  105. package/fesm2022/wirabyte-ui-knob.mjs.map +1 -1
  106. package/fesm2022/wirabyte-ui-listbox.mjs +8 -8
  107. package/fesm2022/wirabyte-ui-listbox.mjs.map +1 -1
  108. package/fesm2022/wirabyte-ui-menu.mjs +11 -11
  109. package/fesm2022/wirabyte-ui-menu.mjs.map +1 -1
  110. package/fesm2022/wirabyte-ui-menubar.mjs +11 -11
  111. package/fesm2022/wirabyte-ui-menubar.mjs.map +1 -1
  112. package/fesm2022/wirabyte-ui-message.mjs +30 -30
  113. package/fesm2022/wirabyte-ui-message.mjs.map +1 -1
  114. package/fesm2022/wirabyte-ui-metergroup.mjs +51 -37
  115. package/fesm2022/wirabyte-ui-metergroup.mjs.map +1 -1
  116. package/fesm2022/wirabyte-ui-multiselect.mjs +11 -11
  117. package/fesm2022/wirabyte-ui-multiselect.mjs.map +1 -1
  118. package/fesm2022/wirabyte-ui-navbar.mjs +8 -8
  119. package/fesm2022/wirabyte-ui-navbar.mjs.map +1 -1
  120. package/fesm2022/wirabyte-ui-orderlist.mjs +10 -10
  121. package/fesm2022/wirabyte-ui-orderlist.mjs.map +1 -1
  122. package/fesm2022/wirabyte-ui-organizationchart.mjs +8 -8
  123. package/fesm2022/wirabyte-ui-organizationchart.mjs.map +1 -1
  124. package/fesm2022/wirabyte-ui-paginator.mjs +11 -11
  125. package/fesm2022/wirabyte-ui-paginator.mjs.map +1 -1
  126. package/fesm2022/wirabyte-ui-panel.mjs +26 -26
  127. package/fesm2022/wirabyte-ui-panel.mjs.map +1 -1
  128. package/fesm2022/wirabyte-ui-panelmenu.mjs +11 -11
  129. package/fesm2022/wirabyte-ui-panelmenu.mjs.map +1 -1
  130. package/fesm2022/wirabyte-ui-password.mjs +48 -48
  131. package/fesm2022/wirabyte-ui-password.mjs.map +1 -1
  132. package/fesm2022/wirabyte-ui-picklist.mjs +11 -11
  133. package/fesm2022/wirabyte-ui-picklist.mjs.map +1 -1
  134. package/fesm2022/wirabyte-ui-popover.mjs +12 -12
  135. package/fesm2022/wirabyte-ui-popover.mjs.map +1 -1
  136. package/fesm2022/wirabyte-ui-presets.mjs +2 -2
  137. package/fesm2022/wirabyte-ui-presets.mjs.map +1 -1
  138. package/fesm2022/wirabyte-ui-progressbar.mjs +32 -32
  139. package/fesm2022/wirabyte-ui-progressbar.mjs.map +1 -1
  140. package/fesm2022/wirabyte-ui-progressspinner.mjs +28 -28
  141. package/fesm2022/wirabyte-ui-progressspinner.mjs.map +1 -1
  142. package/fesm2022/wirabyte-ui-radiobutton.mjs +28 -28
  143. package/fesm2022/wirabyte-ui-radiobutton.mjs.map +1 -1
  144. package/fesm2022/wirabyte-ui-rating.mjs +25 -25
  145. package/fesm2022/wirabyte-ui-rating.mjs.map +1 -1
  146. package/fesm2022/wirabyte-ui-result.mjs +8 -8
  147. package/fesm2022/wirabyte-ui-result.mjs.map +1 -1
  148. package/fesm2022/wirabyte-ui-ripple.mjs +7 -7
  149. package/fesm2022/wirabyte-ui-ripple.mjs.map +1 -1
  150. package/fesm2022/wirabyte-ui-scheduler.mjs +504 -0
  151. package/fesm2022/wirabyte-ui-scheduler.mjs.map +1 -0
  152. package/fesm2022/wirabyte-ui-scroller.mjs +8 -8
  153. package/fesm2022/wirabyte-ui-scroller.mjs.map +1 -1
  154. package/fesm2022/wirabyte-ui-scrollpanel.mjs +7 -7
  155. package/fesm2022/wirabyte-ui-scrollpanel.mjs.map +1 -1
  156. package/fesm2022/wirabyte-ui-select.mjs +11 -11
  157. package/fesm2022/wirabyte-ui-select.mjs.map +1 -1
  158. package/fesm2022/wirabyte-ui-selectbutton.mjs +55 -34
  159. package/fesm2022/wirabyte-ui-selectbutton.mjs.map +1 -1
  160. package/fesm2022/wirabyte-ui-signaturepad.mjs +310 -0
  161. package/fesm2022/wirabyte-ui-signaturepad.mjs.map +1 -0
  162. package/fesm2022/wirabyte-ui-sitefooter.mjs +7 -7
  163. package/fesm2022/wirabyte-ui-sitefooter.mjs.map +1 -1
  164. package/fesm2022/wirabyte-ui-skeleton.mjs +19 -19
  165. package/fesm2022/wirabyte-ui-skeleton.mjs.map +1 -1
  166. package/fesm2022/wirabyte-ui-slider.mjs +8 -8
  167. package/fesm2022/wirabyte-ui-slider.mjs.map +1 -1
  168. package/fesm2022/wirabyte-ui-splitbutton.mjs +7 -7
  169. package/fesm2022/wirabyte-ui-splitbutton.mjs.map +1 -1
  170. package/fesm2022/wirabyte-ui-splitter.mjs +11 -11
  171. package/fesm2022/wirabyte-ui-splitter.mjs.map +1 -1
  172. package/fesm2022/wirabyte-ui-stat.mjs +149 -0
  173. package/fesm2022/wirabyte-ui-stat.mjs.map +1 -0
  174. package/fesm2022/wirabyte-ui-stepper.mjs +42 -42
  175. package/fesm2022/wirabyte-ui-stepper.mjs.map +1 -1
  176. package/fesm2022/wirabyte-ui-steps.mjs +11 -11
  177. package/fesm2022/wirabyte-ui-steps.mjs.map +1 -1
  178. package/fesm2022/wirabyte-ui-table.mjs +88 -88
  179. package/fesm2022/wirabyte-ui-table.mjs.map +1 -1
  180. package/fesm2022/wirabyte-ui-tabs.mjs +74 -74
  181. package/fesm2022/wirabyte-ui-tabs.mjs.map +1 -1
  182. package/fesm2022/wirabyte-ui-tag.mjs +18 -18
  183. package/fesm2022/wirabyte-ui-tag.mjs.map +1 -1
  184. package/fesm2022/wirabyte-ui-terminal.mjs +10 -10
  185. package/fesm2022/wirabyte-ui-terminal.mjs.map +1 -1
  186. package/fesm2022/wirabyte-ui-textarea.mjs +31 -13
  187. package/fesm2022/wirabyte-ui-textarea.mjs.map +1 -1
  188. package/fesm2022/wirabyte-ui-thai.mjs +23 -23
  189. package/fesm2022/wirabyte-ui-thai.mjs.map +1 -1
  190. package/fesm2022/wirabyte-ui-tieredmenu.mjs +8 -8
  191. package/fesm2022/wirabyte-ui-tieredmenu.mjs.map +1 -1
  192. package/fesm2022/wirabyte-ui-timeline.mjs +10 -10
  193. package/fesm2022/wirabyte-ui-timeline.mjs.map +1 -1
  194. package/fesm2022/wirabyte-ui-toast.mjs +14 -14
  195. package/fesm2022/wirabyte-ui-toast.mjs.map +1 -1
  196. package/fesm2022/wirabyte-ui-togglebutton.mjs +30 -30
  197. package/fesm2022/wirabyte-ui-togglebutton.mjs.map +1 -1
  198. package/fesm2022/wirabyte-ui-toggleswitch.mjs +27 -27
  199. package/fesm2022/wirabyte-ui-toggleswitch.mjs.map +1 -1
  200. package/fesm2022/wirabyte-ui-toolbar.mjs +12 -12
  201. package/fesm2022/wirabyte-ui-toolbar.mjs.map +1 -1
  202. package/fesm2022/wirabyte-ui-tooltip.mjs +7 -7
  203. package/fesm2022/wirabyte-ui-tooltip.mjs.map +1 -1
  204. package/fesm2022/wirabyte-ui-tree.mjs +8 -8
  205. package/fesm2022/wirabyte-ui-tree.mjs.map +1 -1
  206. package/fesm2022/wirabyte-ui-treeselect.mjs +7 -7
  207. package/fesm2022/wirabyte-ui-treeselect.mjs.map +1 -1
  208. package/fesm2022/wirabyte-ui-validation.mjs +16 -16
  209. package/fesm2022/wirabyte-ui-validation.mjs.map +1 -1
  210. package/fesm2022/wirabyte-ui.mjs +2 -2
  211. package/fesm2022/wirabyte-ui.mjs.map +1 -1
  212. package/package.json +142 -325
  213. package/schematics/core/catalog.cjs +22 -1
  214. package/schematics/core/families.cjs +42 -0
  215. package/schematics/core/overrides.cjs +25 -0
  216. package/schematics/core/thai/locale.cjs +66 -0
  217. package/schematics/ng-add/index.cjs +3 -1
  218. package/schematics/ng-add/schema.json +27 -2
  219. package/theme/_data.scss +239 -7
  220. package/theme/_index.scss +29 -0
  221. package/theme/_version.scss +1 -1
  222. package/themes/glass/amber.css +1210 -0
  223. package/themes/glass/blue.css +1210 -0
  224. package/themes/glass/cyan.css +1210 -0
  225. package/themes/glass/emerald.css +1210 -0
  226. package/themes/glass/fuchsia.css +1210 -0
  227. package/themes/glass/green.css +1210 -0
  228. package/themes/glass/indigo.css +1210 -0
  229. package/themes/glass/lime.css +1210 -0
  230. package/themes/glass/orange.css +1210 -0
  231. package/themes/glass/pink.css +1210 -0
  232. package/themes/glass/purple.css +1210 -0
  233. package/themes/glass/red.css +1210 -0
  234. package/themes/glass/rose.css +1210 -0
  235. package/themes/glass/sky.css +1210 -0
  236. package/themes/glass/teal.css +1210 -0
  237. package/themes/glass/theme.css +1210 -0
  238. package/themes/glass/violet.css +1210 -0
  239. package/themes/glass/wira.css +1210 -0
  240. package/themes/glass/yellow.css +1210 -0
  241. package/themes/lanna/amber.css +1204 -0
  242. package/themes/lanna/blue.css +1204 -0
  243. package/themes/lanna/cyan.css +1204 -0
  244. package/themes/lanna/emerald.css +1204 -0
  245. package/themes/lanna/fuchsia.css +1204 -0
  246. package/themes/lanna/green.css +1204 -0
  247. package/themes/lanna/indigo.css +1204 -0
  248. package/themes/lanna/lime.css +1204 -0
  249. package/themes/lanna/orange.css +1204 -0
  250. package/themes/lanna/pink.css +1204 -0
  251. package/themes/lanna/purple.css +1204 -0
  252. package/themes/lanna/red.css +1204 -0
  253. package/themes/lanna/rose.css +1204 -0
  254. package/themes/lanna/sky.css +1204 -0
  255. package/themes/lanna/teal.css +1204 -0
  256. package/themes/lanna/theme.css +1204 -0
  257. package/themes/lanna/violet.css +1204 -0
  258. package/themes/lanna/wira.css +1204 -0
  259. package/themes/lanna/yellow.css +1204 -0
  260. package/themes/mali/amber.css +30 -1
  261. package/themes/mali/blue.css +30 -1
  262. package/themes/mali/cyan.css +30 -1
  263. package/themes/mali/emerald.css +30 -1
  264. package/themes/mali/fuchsia.css +30 -1
  265. package/themes/mali/green.css +30 -1
  266. package/themes/mali/indigo.css +30 -1
  267. package/themes/mali/lime.css +30 -1
  268. package/themes/mali/orange.css +30 -1
  269. package/themes/mali/pink.css +30 -1
  270. package/themes/mali/purple.css +30 -1
  271. package/themes/mali/red.css +30 -1
  272. package/themes/mali/rose.css +30 -1
  273. package/themes/mali/sky.css +30 -1
  274. package/themes/mali/teal.css +30 -1
  275. package/themes/mali/theme.css +30 -1
  276. package/themes/mali/violet.css +30 -1
  277. package/themes/mali/wira.css +30 -1
  278. package/themes/mali/yellow.css +30 -1
  279. package/themes/material/amber.css +30 -1
  280. package/themes/material/blue.css +30 -1
  281. package/themes/material/cyan.css +30 -1
  282. package/themes/material/emerald.css +30 -1
  283. package/themes/material/fuchsia.css +30 -1
  284. package/themes/material/green.css +30 -1
  285. package/themes/material/indigo.css +30 -1
  286. package/themes/material/lime.css +30 -1
  287. package/themes/material/orange.css +30 -1
  288. package/themes/material/pink.css +30 -1
  289. package/themes/material/purple.css +30 -1
  290. package/themes/material/red.css +30 -1
  291. package/themes/material/rose.css +30 -1
  292. package/themes/material/sky.css +30 -1
  293. package/themes/material/teal.css +30 -1
  294. package/themes/material/theme.css +30 -1
  295. package/themes/material/violet.css +30 -1
  296. package/themes/material/wira.css +30 -1
  297. package/themes/material/yellow.css +30 -1
  298. package/themes/nakhon/amber.css +1204 -0
  299. package/themes/nakhon/blue.css +1204 -0
  300. package/themes/nakhon/cyan.css +1204 -0
  301. package/themes/nakhon/emerald.css +1204 -0
  302. package/themes/nakhon/fuchsia.css +1204 -0
  303. package/themes/nakhon/green.css +1204 -0
  304. package/themes/nakhon/indigo.css +1204 -0
  305. package/themes/nakhon/lime.css +1204 -0
  306. package/themes/nakhon/orange.css +1204 -0
  307. package/themes/nakhon/pink.css +1204 -0
  308. package/themes/nakhon/purple.css +1204 -0
  309. package/themes/nakhon/red.css +1204 -0
  310. package/themes/nakhon/rose.css +1204 -0
  311. package/themes/nakhon/sky.css +1204 -0
  312. package/themes/nakhon/teal.css +1204 -0
  313. package/themes/nakhon/theme.css +1204 -0
  314. package/themes/nakhon/violet.css +1204 -0
  315. package/themes/nakhon/wira.css +1204 -0
  316. package/themes/nakhon/yellow.css +1204 -0
  317. package/themes/phet/amber.css +30 -1
  318. package/themes/phet/blue.css +30 -1
  319. package/themes/phet/cyan.css +30 -1
  320. package/themes/phet/emerald.css +30 -1
  321. package/themes/phet/fuchsia.css +30 -1
  322. package/themes/phet/green.css +30 -1
  323. package/themes/phet/indigo.css +30 -1
  324. package/themes/phet/lime.css +30 -1
  325. package/themes/phet/orange.css +30 -1
  326. package/themes/phet/pink.css +30 -1
  327. package/themes/phet/purple.css +30 -1
  328. package/themes/phet/red.css +30 -1
  329. package/themes/phet/rose.css +30 -1
  330. package/themes/phet/sky.css +30 -1
  331. package/themes/phet/teal.css +30 -1
  332. package/themes/phet/theme.css +30 -1
  333. package/themes/phet/violet.css +30 -1
  334. package/themes/phet/wira.css +30 -1
  335. package/themes/phet/yellow.css +30 -1
  336. package/themes/siam/amber.css +1204 -0
  337. package/themes/siam/blue.css +1204 -0
  338. package/themes/siam/cyan.css +1204 -0
  339. package/themes/siam/emerald.css +1204 -0
  340. package/themes/siam/fuchsia.css +1204 -0
  341. package/themes/siam/green.css +1204 -0
  342. package/themes/siam/indigo.css +1204 -0
  343. package/themes/siam/lime.css +1204 -0
  344. package/themes/siam/orange.css +1204 -0
  345. package/themes/siam/pink.css +1204 -0
  346. package/themes/siam/purple.css +1204 -0
  347. package/themes/siam/red.css +1204 -0
  348. package/themes/siam/rose.css +1204 -0
  349. package/themes/siam/sky.css +1204 -0
  350. package/themes/siam/teal.css +1204 -0
  351. package/themes/siam/theme.css +1204 -0
  352. package/themes/siam/violet.css +1204 -0
  353. package/themes/siam/wira.css +1204 -0
  354. package/themes/siam/yellow.css +1204 -0
  355. package/themes/sila/amber.css +30 -1
  356. package/themes/sila/blue.css +30 -1
  357. package/themes/sila/cyan.css +30 -1
  358. package/themes/sila/emerald.css +30 -1
  359. package/themes/sila/fuchsia.css +30 -1
  360. package/themes/sila/green.css +30 -1
  361. package/themes/sila/indigo.css +30 -1
  362. package/themes/sila/lime.css +30 -1
  363. package/themes/sila/orange.css +30 -1
  364. package/themes/sila/pink.css +30 -1
  365. package/themes/sila/purple.css +30 -1
  366. package/themes/sila/red.css +30 -1
  367. package/themes/sila/rose.css +30 -1
  368. package/themes/sila/sky.css +30 -1
  369. package/themes/sila/teal.css +30 -1
  370. package/themes/sila/theme.css +30 -1
  371. package/themes/sila/violet.css +30 -1
  372. package/themes/sila/wira.css +30 -1
  373. package/themes/sila/yellow.css +30 -1
  374. package/themes/wira/amber.css +1204 -0
  375. package/themes/wira/blue.css +1204 -0
  376. package/themes/wira/cyan.css +1204 -0
  377. package/themes/wira/emerald.css +1204 -0
  378. package/themes/wira/fuchsia.css +1204 -0
  379. package/themes/wira/green.css +1204 -0
  380. package/themes/wira/indigo.css +1204 -0
  381. package/themes/wira/lime.css +1204 -0
  382. package/themes/wira/orange.css +1204 -0
  383. package/themes/wira/pink.css +1204 -0
  384. package/themes/wira/purple.css +1204 -0
  385. package/themes/wira/red.css +1204 -0
  386. package/themes/wira/rose.css +1204 -0
  387. package/themes/wira/sky.css +1204 -0
  388. package/themes/wira/teal.css +1204 -0
  389. package/themes/wira/theme.css +1204 -0
  390. package/themes/wira/violet.css +1204 -0
  391. package/themes/wira/wira.css +1204 -0
  392. package/themes/wira/yellow.css +1204 -0
  393. package/types/wirabyte-ui-accordion.d.ts +124 -0
  394. package/types/wirabyte-ui-alert.d.ts +254 -0
  395. package/types/wirabyte-ui-animate.d.ts +100 -0
  396. package/types/wirabyte-ui-api.d.ts +16 -0
  397. package/types/wirabyte-ui-asidemenu.d.ts +233 -0
  398. package/types/wirabyte-ui-autocomplete.d.ts +212 -0
  399. package/types/wirabyte-ui-avatar.d.ts +54 -0
  400. package/types/wirabyte-ui-badge.d.ts +66 -0
  401. package/types/wirabyte-ui-blockui.d.ts +51 -0
  402. package/types/wirabyte-ui-bottombar.d.ts +91 -0
  403. package/types/wirabyte-ui-breadcrumb.d.ts +54 -0
  404. package/types/wirabyte-ui-button.d.ts +132 -0
  405. package/types/wirabyte-ui-card.d.ts +66 -0
  406. package/types/wirabyte-ui-carousel.d.ts +202 -0
  407. package/types/wirabyte-ui-chart.d.ts +412 -0
  408. package/types/wirabyte-ui-chartjs.d.ts +98 -0
  409. package/types/wirabyte-ui-chat.d.ts +192 -0
  410. package/types/wirabyte-ui-checkbox.d.ts +65 -0
  411. package/types/wirabyte-ui-chip.d.ts +40 -0
  412. package/types/wirabyte-ui-colorpicker.d.ts +98 -0
  413. package/types/wirabyte-ui-config.d.ts +347 -0
  414. package/types/wirabyte-ui-confirmdialog.d.ts +193 -0
  415. package/types/wirabyte-ui-contextmenu.d.ts +57 -0
  416. package/types/wirabyte-ui-core.d.ts +4355 -0
  417. package/types/wirabyte-ui-datepicker.d.ts +251 -0
  418. package/types/wirabyte-ui-descriptions.d.ts +67 -0
  419. package/types/wirabyte-ui-dialog.d.ts +273 -0
  420. package/types/wirabyte-ui-divider.d.ts +34 -0
  421. package/types/wirabyte-ui-dock.d.ts +100 -0
  422. package/types/wirabyte-ui-dragdrop.d.ts +74 -0
  423. package/types/wirabyte-ui-drawer.d.ts +113 -0
  424. package/types/wirabyte-ui-editor.d.ts +500 -0
  425. package/types/wirabyte-ui-emptystate.d.ts +55 -0
  426. package/types/wirabyte-ui-errorpage.d.ts +84 -0
  427. package/types/wirabyte-ui-excel.d.ts +29 -0
  428. package/types/wirabyte-ui-fieldset.d.ts +40 -0
  429. package/types/wirabyte-ui-fileupload.d.ts +251 -0
  430. package/types/wirabyte-ui-floatlabel.d.ts +33 -0
  431. package/types/wirabyte-ui-flow.d.ts +1343 -0
  432. package/types/wirabyte-ui-galleria.d.ts +173 -0
  433. package/types/wirabyte-ui-i18n.d.ts +179 -0
  434. package/types/wirabyte-ui-iconfield.d.ts +40 -0
  435. package/types/wirabyte-ui-image.d.ts +100 -0
  436. package/types/wirabyte-ui-imagecompare.d.ts +78 -0
  437. package/types/wirabyte-ui-imagecropper.d.ts +396 -0
  438. package/types/wirabyte-ui-inplace.d.ts +69 -0
  439. package/types/wirabyte-ui-inputgroup.d.ts +36 -0
  440. package/types/wirabyte-ui-inputmask.d.ts +134 -0
  441. package/types/wirabyte-ui-inputnumber.d.ts +126 -0
  442. package/types/wirabyte-ui-inputotp.d.ts +139 -0
  443. package/types/wirabyte-ui-inputtext.d.ts +38 -0
  444. package/types/wirabyte-ui-keyfilter.d.ts +40 -0
  445. package/types/wirabyte-ui-knob.d.ts +104 -0
  446. package/types/wirabyte-ui-listbox.d.ts +197 -0
  447. package/types/wirabyte-ui-menu.d.ts +116 -0
  448. package/types/wirabyte-ui-menubar.d.ts +158 -0
  449. package/types/wirabyte-ui-message.d.ts +110 -0
  450. package/types/wirabyte-ui-metergroup.d.ts +122 -0
  451. package/types/wirabyte-ui-multiselect.d.ts +267 -0
  452. package/types/wirabyte-ui-navbar.d.ts +184 -0
  453. package/types/wirabyte-ui-orderlist.d.ts +166 -0
  454. package/types/wirabyte-ui-organizationchart.d.ts +98 -0
  455. package/types/wirabyte-ui-paginator.d.ts +122 -0
  456. package/types/wirabyte-ui-panel.d.ts +57 -0
  457. package/types/wirabyte-ui-panelmenu.d.ts +70 -0
  458. package/types/wirabyte-ui-password.d.ts +98 -0
  459. package/types/wirabyte-ui-picklist.d.ts +309 -0
  460. package/types/wirabyte-ui-popover.d.ts +81 -0
  461. package/types/wirabyte-ui-presets.d.ts +1 -0
  462. package/types/wirabyte-ui-progressbar.d.ts +75 -0
  463. package/types/wirabyte-ui-progressspinner.d.ts +65 -0
  464. package/types/wirabyte-ui-radiobutton.d.ts +89 -0
  465. package/types/wirabyte-ui-rating.d.ts +54 -0
  466. package/types/wirabyte-ui-result.d.ts +49 -0
  467. package/types/wirabyte-ui-ripple.d.ts +25 -0
  468. package/types/wirabyte-ui-scheduler.d.ts +199 -0
  469. package/types/wirabyte-ui-scroller.d.ts +145 -0
  470. package/types/wirabyte-ui-scrollpanel.d.ts +37 -0
  471. package/types/wirabyte-ui-select.d.ts +250 -0
  472. package/types/wirabyte-ui-selectbutton.d.ts +91 -0
  473. package/types/wirabyte-ui-signaturepad.d.ts +108 -0
  474. package/types/wirabyte-ui-sitefooter.d.ts +81 -0
  475. package/types/wirabyte-ui-skeleton.d.ts +35 -0
  476. package/types/wirabyte-ui-slider.d.ts +90 -0
  477. package/types/wirabyte-ui-splitbutton.d.ts +85 -0
  478. package/types/wirabyte-ui-splitter.d.ts +146 -0
  479. package/types/wirabyte-ui-stat.d.ts +72 -0
  480. package/types/wirabyte-ui-stepper.d.ts +251 -0
  481. package/types/wirabyte-ui-steps.d.ts +68 -0
  482. package/types/wirabyte-ui-table.d.ts +1108 -0
  483. package/types/wirabyte-ui-tabmenu.d.ts +1 -0
  484. package/types/wirabyte-ui-tabs.d.ts +229 -0
  485. package/types/wirabyte-ui-tag.d.ts +35 -0
  486. package/types/wirabyte-ui-terminal.d.ts +89 -0
  487. package/types/wirabyte-ui-textarea.d.ts +39 -0
  488. package/types/wirabyte-ui-thai.d.ts +67 -0
  489. package/types/wirabyte-ui-tieredmenu.d.ts +100 -0
  490. package/types/wirabyte-ui-timeline.d.ts +54 -0
  491. package/types/wirabyte-ui-toast.d.ts +151 -0
  492. package/types/wirabyte-ui-togglebutton.d.ts +62 -0
  493. package/types/wirabyte-ui-toggleswitch.d.ts +57 -0
  494. package/types/wirabyte-ui-toolbar.d.ts +40 -0
  495. package/types/wirabyte-ui-tooltip.d.ts +112 -0
  496. package/types/wirabyte-ui-tree.d.ts +160 -0
  497. package/types/wirabyte-ui-treeselect.d.ts +150 -0
  498. package/types/wirabyte-ui-validation.d.ts +81 -0
  499. package/types/wirabyte-ui.d.ts +4 -0
  500. package/accordion/accordion.component.d.ts +0 -102
  501. package/accordion/accordion.module.d.ts +0 -9
  502. package/accordion/accordion.types.d.ts +0 -10
  503. package/accordion/index.d.ts +0 -5
  504. package/accordion/public-api.d.ts +0 -3
  505. package/alert/alert-dialog.base.d.ts +0 -79
  506. package/alert/alert-dialog.component.d.ts +0 -8
  507. package/alert/alert.module.d.ts +0 -8
  508. package/alert/alert.service.d.ts +0 -73
  509. package/alert/alert.types.d.ts +0 -87
  510. package/alert/index.d.ts +0 -5
  511. package/alert/public-api.d.ts +0 -5
  512. package/animate/animate.directive.d.ts +0 -34
  513. package/animate/animate.module.d.ts +0 -11
  514. package/animate/animate.service.d.ts +0 -36
  515. package/animate/animate.styles.d.ts +0 -2
  516. package/animate/animate.types.d.ts +0 -20
  517. package/animate/index.d.ts +0 -5
  518. package/animate/public-api.d.ts +0 -4
  519. package/api/index.d.ts +0 -5
  520. package/api/public-api.d.ts +0 -15
  521. package/api/shared.module.d.ts +0 -8
  522. package/asidemenu/asidemenu.component.d.ts +0 -221
  523. package/asidemenu/asidemenu.module.d.ts +0 -9
  524. package/asidemenu/index.d.ts +0 -5
  525. package/asidemenu/public-api.d.ts +0 -2
  526. package/autocomplete/autocomplete.base.d.ts +0 -181
  527. package/autocomplete/autocomplete.component.d.ts +0 -10
  528. package/autocomplete/autocomplete.module.d.ts +0 -9
  529. package/autocomplete/autocomplete.types.d.ts +0 -10
  530. package/autocomplete/index.d.ts +0 -5
  531. package/autocomplete/public-api.d.ts +0 -4
  532. package/avatar/avatar.component.d.ts +0 -36
  533. package/avatar/avatar.module.d.ts +0 -8
  534. package/avatar/avatar.types.d.ts +0 -2
  535. package/avatar/index.d.ts +0 -5
  536. package/avatar/public-api.d.ts +0 -3
  537. package/badge/badge.component.d.ts +0 -20
  538. package/badge/badge.directive.d.ts +0 -32
  539. package/badge/badge.module.d.ts +0 -9
  540. package/badge/badge.styles.d.ts +0 -2
  541. package/badge/badge.types.d.ts +0 -3
  542. package/badge/index.d.ts +0 -5
  543. package/badge/public-api.d.ts +0 -4
  544. package/blockui/blockui.component.d.ts +0 -41
  545. package/blockui/blockui.module.d.ts +0 -8
  546. package/blockui/index.d.ts +0 -5
  547. package/blockui/public-api.d.ts +0 -2
  548. package/bottombar/bottombar.component.d.ts +0 -79
  549. package/bottombar/bottombar.module.d.ts +0 -9
  550. package/bottombar/index.d.ts +0 -5
  551. package/bottombar/public-api.d.ts +0 -2
  552. package/breadcrumb/breadcrumb.component.d.ts +0 -41
  553. package/breadcrumb/breadcrumb.module.d.ts +0 -8
  554. package/breadcrumb/index.d.ts +0 -5
  555. package/breadcrumb/public-api.d.ts +0 -2
  556. package/button/button-class.d.ts +0 -8
  557. package/button/button.component.d.ts +0 -49
  558. package/button/button.directive.d.ts +0 -53
  559. package/button/button.module.d.ts +0 -9
  560. package/button/button.styles.d.ts +0 -2
  561. package/button/button.types.d.ts +0 -8
  562. package/button/index.d.ts +0 -5
  563. package/button/public-api.d.ts +0 -7
  564. package/card/card-slots.d.ts +0 -11
  565. package/card/card.component.d.ts +0 -38
  566. package/card/card.module.d.ts +0 -10
  567. package/card/card.types.d.ts +0 -5
  568. package/card/index.d.ts +0 -5
  569. package/card/public-api.d.ts +0 -4
  570. package/carousel/carousel.component.d.ts +0 -169
  571. package/carousel/carousel.module.d.ts +0 -10
  572. package/carousel/carousel.types.d.ts +0 -21
  573. package/carousel/index.d.ts +0 -5
  574. package/carousel/public-api.d.ts +0 -3
  575. package/chart/chart.component.d.ts +0 -11
  576. package/chart/chart.module.d.ts +0 -8
  577. package/chart/index.d.ts +0 -5
  578. package/chart/public-api.d.ts +0 -3
  579. package/chartjs/chartjs.base.d.ts +0 -70
  580. package/chartjs/chartjs.component.d.ts +0 -10
  581. package/chartjs/chartjs.module.d.ts +0 -8
  582. package/chartjs/chartjs.types.d.ts +0 -8
  583. package/chartjs/index.d.ts +0 -5
  584. package/chartjs/public-api.d.ts +0 -4
  585. package/checkbox/checkbox.component.d.ts +0 -47
  586. package/checkbox/checkbox.module.d.ts +0 -8
  587. package/checkbox/checkbox.styles.d.ts +0 -2
  588. package/checkbox/checkbox.types.d.ts +0 -4
  589. package/checkbox/index.d.ts +0 -5
  590. package/checkbox/public-api.d.ts +0 -5
  591. package/chip/chip.component.d.ts +0 -30
  592. package/chip/chip.module.d.ts +0 -8
  593. package/chip/index.d.ts +0 -5
  594. package/chip/public-api.d.ts +0 -2
  595. package/colorpicker/colorpicker.component.d.ts +0 -87
  596. package/colorpicker/colorpicker.module.d.ts +0 -8
  597. package/colorpicker/index.d.ts +0 -5
  598. package/colorpicker/public-api.d.ts +0 -2
  599. package/config/forms.d.ts +0 -17
  600. package/config/index.d.ts +0 -5
  601. package/config/initializer.d.ts +0 -3
  602. package/config/menu-item.d.ts +0 -52
  603. package/config/options.d.ts +0 -48
  604. package/config/popup.d.ts +0 -48
  605. package/config/provide.d.ts +0 -23
  606. package/config/public-api.d.ts +0 -17
  607. package/config/ripple.d.ts +0 -2
  608. package/config/scroll-lock.d.ts +0 -5
  609. package/config/severity.d.ts +0 -5
  610. package/config/style-loader.d.ts +0 -12
  611. package/config/template.d.ts +0 -19
  612. package/config/theme.service.d.ts +0 -46
  613. package/config/version-guard.d.ts +0 -14
  614. package/config/version.d.ts +0 -6
  615. package/config/wu-config.service.d.ts +0 -24
  616. package/confirmdialog/confirmation.service.d.ts +0 -25
  617. package/confirmdialog/confirmdialog.base.d.ts +0 -110
  618. package/confirmdialog/confirmdialog.component.d.ts +0 -11
  619. package/confirmdialog/confirmdialog.module.d.ts +0 -9
  620. package/confirmdialog/confirmdialog.types.d.ts +0 -37
  621. package/confirmdialog/index.d.ts +0 -5
  622. package/confirmdialog/public-api.d.ts +0 -5
  623. package/contextmenu/contextmenu.component.d.ts +0 -47
  624. package/contextmenu/contextmenu.module.d.ts +0 -8
  625. package/contextmenu/index.d.ts +0 -5
  626. package/contextmenu/public-api.d.ts +0 -2
  627. package/core/carousel.d.ts +0 -27
  628. package/core/catalog.d.ts +0 -446
  629. package/core/chart/format.d.ts +0 -19
  630. package/core/chart/index.d.ts +0 -6
  631. package/core/chart/kinds.d.ts +0 -78
  632. package/core/chart/model.d.ts +0 -500
  633. package/core/chart/more.d.ts +0 -33
  634. package/core/chart/paths.d.ts +0 -41
  635. package/core/chart/scale.d.ts +0 -22
  636. package/core/color.d.ts +0 -31
  637. package/core/colorpicker.d.ts +0 -23
  638. package/core/compat.d.ts +0 -11
  639. package/core/config.d.ts +0 -64
  640. package/core/date.d.ts +0 -130
  641. package/core/datepicker.d.ts +0 -184
  642. package/core/dock.d.ts +0 -6
  643. package/core/editor.d.ts +0 -117
  644. package/core/errorpage.d.ts +0 -15
  645. package/core/excel.d.ts +0 -239
  646. package/core/exporters.d.ts +0 -18
  647. package/core/families.d.ts +0 -13
  648. package/core/fileupload.d.ts +0 -24
  649. package/core/flow/changes.d.ts +0 -63
  650. package/core/flow/edges.d.ts +0 -52
  651. package/core/flow/export.d.ts +0 -56
  652. package/core/flow/geometry.d.ts +0 -117
  653. package/core/flow/graph.d.ts +0 -104
  654. package/core/flow/history.d.ts +0 -54
  655. package/core/flow/index.d.ts +0 -13
  656. package/core/flow/interaction.d.ts +0 -140
  657. package/core/flow/layout.d.ts +0 -57
  658. package/core/flow/paths.d.ts +0 -76
  659. package/core/flow/text.d.ts +0 -18
  660. package/core/flow/types.d.ts +0 -217
  661. package/core/flow/viewport.d.ts +0 -48
  662. package/core/i18n.d.ts +0 -24
  663. package/core/imagecompare.d.ts +0 -12
  664. package/core/imagecropper.d.ts +0 -183
  665. package/core/index.d.ts +0 -39
  666. package/core/inputotp.d.ts +0 -20
  667. package/core/knob.d.ts +0 -28
  668. package/core/mask.d.ts +0 -43
  669. package/core/menu.d.ts +0 -29
  670. package/core/number.d.ts +0 -66
  671. package/core/organizationchart.d.ts +0 -39
  672. package/core/overrides.d.ts +0 -109
  673. package/core/picklist.d.ts +0 -81
  674. package/core/select.d.ts +0 -44
  675. package/core/splitter.d.ts +0 -17
  676. package/core/table.d.ts +0 -48
  677. package/core/terminal.d.ts +0 -12
  678. package/core/thai/buddhist.d.ts +0 -22
  679. package/core/thai/locale.d.ts +0 -358
  680. package/core/thai/text.d.ts +0 -32
  681. package/core/thai/thai-id.d.ts +0 -6
  682. package/core/tokens.d.ts +0 -69
  683. package/core/tree.d.ts +0 -50
  684. package/core/validation.d.ts +0 -18
  685. package/datepicker/datepicker.component.d.ts +0 -230
  686. package/datepicker/datepicker.module.d.ts +0 -8
  687. package/datepicker/datepicker.types.d.ts +0 -10
  688. package/datepicker/index.d.ts +0 -5
  689. package/datepicker/public-api.d.ts +0 -3
  690. package/dialog/dialog.base.d.ts +0 -147
  691. package/dialog/dialog.component.d.ts +0 -11
  692. package/dialog/dialog.module.d.ts +0 -10
  693. package/dialog/dialog.service.d.ts +0 -104
  694. package/dialog/dialog.types.d.ts +0 -3
  695. package/dialog/index.d.ts +0 -5
  696. package/dialog/public-api.d.ts +0 -5
  697. package/divider/divider.component.d.ts +0 -19
  698. package/divider/divider.module.d.ts +0 -8
  699. package/divider/divider.types.d.ts +0 -4
  700. package/divider/index.d.ts +0 -5
  701. package/divider/public-api.d.ts +0 -3
  702. package/dock/dock.component.d.ts +0 -88
  703. package/dock/dock.module.d.ts +0 -9
  704. package/dock/index.d.ts +0 -5
  705. package/dock/public-api.d.ts +0 -2
  706. package/dragdrop/dragdrop.directive.d.ts +0 -65
  707. package/dragdrop/dragdrop.module.d.ts +0 -8
  708. package/dragdrop/dragdrop.styles.d.ts +0 -2
  709. package/dragdrop/index.d.ts +0 -5
  710. package/dragdrop/public-api.d.ts +0 -2
  711. package/drawer/drawer.component.d.ts +0 -102
  712. package/drawer/drawer.module.d.ts +0 -8
  713. package/drawer/index.d.ts +0 -5
  714. package/drawer/public-api.d.ts +0 -5
  715. package/editor/editor-content.directive.d.ts +0 -10
  716. package/editor/editor-icon.directive.d.ts +0 -8
  717. package/editor/editor.base.d.ts +0 -367
  718. package/editor/editor.component.d.ts +0 -11
  719. package/editor/editor.dom.d.ts +0 -91
  720. package/editor/editor.icons.d.ts +0 -13
  721. package/editor/editor.module.d.ts +0 -10
  722. package/editor/editor.styles.d.ts +0 -2
  723. package/editor/editor.types.d.ts +0 -92
  724. package/editor/index.d.ts +0 -5
  725. package/editor/public-api.d.ts +0 -6
  726. package/emptystate/emptystate.component.d.ts +0 -44
  727. package/emptystate/emptystate.module.d.ts +0 -8
  728. package/emptystate/index.d.ts +0 -5
  729. package/emptystate/public-api.d.ts +0 -2
  730. package/errorpage/errorpage.component.d.ts +0 -73
  731. package/errorpage/errorpage.module.d.ts +0 -8
  732. package/errorpage/index.d.ts +0 -5
  733. package/errorpage/public-api.d.ts +0 -2
  734. package/esm2022/accordion/accordion.component.mjs +0 -285
  735. package/esm2022/accordion/accordion.module.mjs +0 -19
  736. package/esm2022/accordion/accordion.types.mjs +0 -17
  737. package/esm2022/accordion/public-api.mjs +0 -4
  738. package/esm2022/accordion/wirabyte-ui-accordion.mjs +0 -5
  739. package/esm2022/alert/alert-dialog.base.mjs +0 -355
  740. package/esm2022/alert/alert-dialog.component.mjs +0 -21
  741. package/esm2022/alert/alert.module.mjs +0 -17
  742. package/esm2022/alert/alert.service.mjs +0 -142
  743. package/esm2022/alert/alert.types.mjs +0 -2
  744. package/esm2022/alert/public-api.mjs +0 -6
  745. package/esm2022/alert/wirabyte-ui-alert.mjs +0 -5
  746. package/esm2022/animate/animate.directive.mjs +0 -71
  747. package/esm2022/animate/animate.module.mjs +0 -21
  748. package/esm2022/animate/animate.service.mjs +0 -183
  749. package/esm2022/animate/animate.styles.mjs +0 -3
  750. package/esm2022/animate/animate.types.mjs +0 -2
  751. package/esm2022/animate/public-api.mjs +0 -5
  752. package/esm2022/animate/wirabyte-ui-animate.mjs +0 -5
  753. package/esm2022/api/public-api.mjs +0 -11
  754. package/esm2022/api/shared.module.mjs +0 -17
  755. package/esm2022/api/wirabyte-ui-api.mjs +0 -5
  756. package/esm2022/asidemenu/asidemenu.component.mjs +0 -811
  757. package/esm2022/asidemenu/asidemenu.module.mjs +0 -18
  758. package/esm2022/asidemenu/public-api.mjs +0 -3
  759. package/esm2022/asidemenu/wirabyte-ui-asidemenu.mjs +0 -5
  760. package/esm2022/autocomplete/autocomplete.base.mjs +0 -567
  761. package/esm2022/autocomplete/autocomplete.component.mjs +0 -24
  762. package/esm2022/autocomplete/autocomplete.module.mjs +0 -18
  763. package/esm2022/autocomplete/autocomplete.types.mjs +0 -2
  764. package/esm2022/autocomplete/public-api.mjs +0 -5
  765. package/esm2022/autocomplete/wirabyte-ui-autocomplete.mjs +0 -5
  766. package/esm2022/avatar/avatar.component.mjs +0 -68
  767. package/esm2022/avatar/avatar.module.mjs +0 -17
  768. package/esm2022/avatar/avatar.types.mjs +0 -2
  769. package/esm2022/avatar/public-api.mjs +0 -4
  770. package/esm2022/avatar/wirabyte-ui-avatar.mjs +0 -5
  771. package/esm2022/badge/badge.component.mjs +0 -49
  772. package/esm2022/badge/badge.directive.mjs +0 -111
  773. package/esm2022/badge/badge.module.mjs +0 -18
  774. package/esm2022/badge/badge.styles.mjs +0 -3
  775. package/esm2022/badge/badge.types.mjs +0 -2
  776. package/esm2022/badge/public-api.mjs +0 -5
  777. package/esm2022/badge/wirabyte-ui-badge.mjs +0 -5
  778. package/esm2022/blockui/blockui.component.mjs +0 -152
  779. package/esm2022/blockui/blockui.module.mjs +0 -17
  780. package/esm2022/blockui/public-api.mjs +0 -3
  781. package/esm2022/blockui/wirabyte-ui-blockui.mjs +0 -5
  782. package/esm2022/bottombar/bottombar.component.mjs +0 -209
  783. package/esm2022/bottombar/bottombar.module.mjs +0 -18
  784. package/esm2022/bottombar/public-api.mjs +0 -3
  785. package/esm2022/bottombar/wirabyte-ui-bottombar.mjs +0 -5
  786. package/esm2022/breadcrumb/breadcrumb.component.mjs +0 -86
  787. package/esm2022/breadcrumb/breadcrumb.module.mjs +0 -17
  788. package/esm2022/breadcrumb/public-api.mjs +0 -3
  789. package/esm2022/breadcrumb/wirabyte-ui-breadcrumb.mjs +0 -5
  790. package/esm2022/button/button-class.mjs +0 -26
  791. package/esm2022/button/button.component.mjs +0 -110
  792. package/esm2022/button/button.directive.mjs +0 -193
  793. package/esm2022/button/button.module.mjs +0 -18
  794. package/esm2022/button/button.styles.mjs +0 -3
  795. package/esm2022/button/button.types.mjs +0 -2
  796. package/esm2022/button/public-api.mjs +0 -8
  797. package/esm2022/button/wirabyte-ui-button.mjs +0 -5
  798. package/esm2022/card/card-slots.mjs +0 -27
  799. package/esm2022/card/card.component.mjs +0 -65
  800. package/esm2022/card/card.module.mjs +0 -19
  801. package/esm2022/card/card.types.mjs +0 -2
  802. package/esm2022/card/public-api.mjs +0 -5
  803. package/esm2022/card/wirabyte-ui-card.mjs +0 -5
  804. package/esm2022/carousel/carousel.component.mjs +0 -617
  805. package/esm2022/carousel/carousel.module.mjs +0 -19
  806. package/esm2022/carousel/carousel.types.mjs +0 -2
  807. package/esm2022/carousel/public-api.mjs +0 -4
  808. package/esm2022/carousel/wirabyte-ui-carousel.mjs +0 -5
  809. package/esm2022/chart/chart.component.mjs +0 -42
  810. package/esm2022/chart/chart.module.mjs +0 -17
  811. package/esm2022/chart/public-api.mjs +0 -3
  812. package/esm2022/chart/wirabyte-ui-chart.mjs +0 -5
  813. package/esm2022/chartjs/chartjs.base.mjs +0 -204
  814. package/esm2022/chartjs/chartjs.component.mjs +0 -41
  815. package/esm2022/chartjs/chartjs.module.mjs +0 -17
  816. package/esm2022/chartjs/chartjs.types.mjs +0 -2
  817. package/esm2022/chartjs/public-api.mjs +0 -5
  818. package/esm2022/chartjs/wirabyte-ui-chartjs.mjs +0 -5
  819. package/esm2022/checkbox/checkbox.component.mjs +0 -93
  820. package/esm2022/checkbox/checkbox.module.mjs +0 -17
  821. package/esm2022/checkbox/checkbox.styles.mjs +0 -3
  822. package/esm2022/checkbox/checkbox.types.mjs +0 -2
  823. package/esm2022/checkbox/public-api.mjs +0 -6
  824. package/esm2022/checkbox/wirabyte-ui-checkbox.mjs +0 -5
  825. package/esm2022/chip/chip.component.mjs +0 -59
  826. package/esm2022/chip/chip.module.mjs +0 -17
  827. package/esm2022/chip/public-api.mjs +0 -3
  828. package/esm2022/chip/wirabyte-ui-chip.mjs +0 -5
  829. package/esm2022/colorpicker/colorpicker.component.mjs +0 -308
  830. package/esm2022/colorpicker/colorpicker.module.mjs +0 -17
  831. package/esm2022/colorpicker/public-api.mjs +0 -3
  832. package/esm2022/colorpicker/wirabyte-ui-colorpicker.mjs +0 -5
  833. package/esm2022/config/forms.mjs +0 -38
  834. package/esm2022/config/initializer.mjs +0 -6
  835. package/esm2022/config/menu-item.mjs +0 -2
  836. package/esm2022/config/options.mjs +0 -3
  837. package/esm2022/config/popup.mjs +0 -153
  838. package/esm2022/config/provide.mjs +0 -45
  839. package/esm2022/config/public-api.mjs +0 -17
  840. package/esm2022/config/ripple.mjs +0 -13
  841. package/esm2022/config/scroll-lock.mjs +0 -31
  842. package/esm2022/config/severity.mjs +0 -9
  843. package/esm2022/config/style-loader.mjs +0 -32
  844. package/esm2022/config/template.mjs +0 -46
  845. package/esm2022/config/theme.service.mjs +0 -161
  846. package/esm2022/config/version-guard.mjs +0 -43
  847. package/esm2022/config/version.mjs +0 -3
  848. package/esm2022/config/wirabyte-ui-config.mjs +0 -5
  849. package/esm2022/config/wu-config.service.mjs +0 -50
  850. package/esm2022/confirmdialog/confirmation.service.mjs +0 -78
  851. package/esm2022/confirmdialog/confirmdialog.base.mjs +0 -274
  852. package/esm2022/confirmdialog/confirmdialog.component.mjs +0 -22
  853. package/esm2022/confirmdialog/confirmdialog.module.mjs +0 -18
  854. package/esm2022/confirmdialog/confirmdialog.types.mjs +0 -8
  855. package/esm2022/confirmdialog/public-api.mjs +0 -6
  856. package/esm2022/confirmdialog/wirabyte-ui-confirmdialog.mjs +0 -5
  857. package/esm2022/contextmenu/contextmenu.component.mjs +0 -159
  858. package/esm2022/contextmenu/contextmenu.module.mjs +0 -17
  859. package/esm2022/contextmenu/public-api.mjs +0 -3
  860. package/esm2022/contextmenu/wirabyte-ui-contextmenu.mjs +0 -5
  861. package/esm2022/core/carousel.mjs +0 -62
  862. package/esm2022/core/catalog.mjs +0 -203
  863. package/esm2022/core/chart/format.mjs +0 -66
  864. package/esm2022/core/chart/index.mjs +0 -7
  865. package/esm2022/core/chart/kinds.mjs +0 -1336
  866. package/esm2022/core/chart/model.mjs +0 -713
  867. package/esm2022/core/chart/more.mjs +0 -311
  868. package/esm2022/core/chart/paths.mjs +0 -160
  869. package/esm2022/core/chart/scale.mjs +0 -58
  870. package/esm2022/core/color.mjs +0 -94
  871. package/esm2022/core/colorpicker.mjs +0 -73
  872. package/esm2022/core/compat.mjs +0 -149
  873. package/esm2022/core/config.mjs +0 -163
  874. package/esm2022/core/date.mjs +0 -317
  875. package/esm2022/core/datepicker.mjs +0 -526
  876. package/esm2022/core/dock.mjs +0 -14
  877. package/esm2022/core/editor.mjs +0 -271
  878. package/esm2022/core/errorpage.mjs +0 -47
  879. package/esm2022/core/excel.mjs +0 -809
  880. package/esm2022/core/exporters.mjs +0 -241
  881. package/esm2022/core/families.mjs +0 -1756
  882. package/esm2022/core/fileupload.mjs +0 -48
  883. package/esm2022/core/flow/changes.mjs +0 -205
  884. package/esm2022/core/flow/edges.mjs +0 -87
  885. package/esm2022/core/flow/export.mjs +0 -231
  886. package/esm2022/core/flow/geometry.mjs +0 -309
  887. package/esm2022/core/flow/graph.mjs +0 -314
  888. package/esm2022/core/flow/history.mjs +0 -105
  889. package/esm2022/core/flow/index.mjs +0 -14
  890. package/esm2022/core/flow/interaction.mjs +0 -246
  891. package/esm2022/core/flow/layout.mjs +0 -586
  892. package/esm2022/core/flow/paths.mjs +0 -252
  893. package/esm2022/core/flow/text.mjs +0 -68
  894. package/esm2022/core/flow/types.mjs +0 -7
  895. package/esm2022/core/flow/viewport.mjs +0 -133
  896. package/esm2022/core/i18n.mjs +0 -78
  897. package/esm2022/core/imagecompare.mjs +0 -28
  898. package/esm2022/core/imagecropper.mjs +0 -483
  899. package/esm2022/core/index.mjs +0 -40
  900. package/esm2022/core/inputotp.mjs +0 -50
  901. package/esm2022/core/knob.mjs +0 -106
  902. package/esm2022/core/mask.mjs +0 -112
  903. package/esm2022/core/menu.mjs +0 -77
  904. package/esm2022/core/number.mjs +0 -131
  905. package/esm2022/core/organizationchart.mjs +0 -84
  906. package/esm2022/core/overrides.mjs +0 -169
  907. package/esm2022/core/picklist.mjs +0 -248
  908. package/esm2022/core/select.mjs +0 -161
  909. package/esm2022/core/splitter.mjs +0 -63
  910. package/esm2022/core/table.mjs +0 -174
  911. package/esm2022/core/terminal.mjs +0 -29
  912. package/esm2022/core/thai/buddhist.mjs +0 -129
  913. package/esm2022/core/thai/locale.mjs +0 -652
  914. package/esm2022/core/thai/text.mjs +0 -164
  915. package/esm2022/core/thai/thai-id.mjs +0 -22
  916. package/esm2022/core/tokens.mjs +0 -314
  917. package/esm2022/core/tree.mjs +0 -137
  918. package/esm2022/core/validation.mjs +0 -43
  919. package/esm2022/core/wirabyte-ui-core.mjs +0 -5
  920. package/esm2022/datepicker/datepicker.component.mjs +0 -715
  921. package/esm2022/datepicker/datepicker.module.mjs +0 -17
  922. package/esm2022/datepicker/datepicker.types.mjs +0 -2
  923. package/esm2022/datepicker/public-api.mjs +0 -4
  924. package/esm2022/datepicker/wirabyte-ui-datepicker.mjs +0 -5
  925. package/esm2022/dialog/dialog.base.mjs +0 -433
  926. package/esm2022/dialog/dialog.component.mjs +0 -18
  927. package/esm2022/dialog/dialog.module.mjs +0 -19
  928. package/esm2022/dialog/dialog.service.mjs +0 -237
  929. package/esm2022/dialog/dialog.types.mjs +0 -2
  930. package/esm2022/dialog/public-api.mjs +0 -6
  931. package/esm2022/dialog/wirabyte-ui-dialog.mjs +0 -5
  932. package/esm2022/divider/divider.component.mjs +0 -47
  933. package/esm2022/divider/divider.module.mjs +0 -17
  934. package/esm2022/divider/divider.types.mjs +0 -2
  935. package/esm2022/divider/public-api.mjs +0 -4
  936. package/esm2022/divider/wirabyte-ui-divider.mjs +0 -5
  937. package/esm2022/dock/dock.component.mjs +0 -287
  938. package/esm2022/dock/dock.module.mjs +0 -18
  939. package/esm2022/dock/public-api.mjs +0 -3
  940. package/esm2022/dock/wirabyte-ui-dock.mjs +0 -5
  941. package/esm2022/dragdrop/dragdrop.directive.mjs +0 -206
  942. package/esm2022/dragdrop/dragdrop.module.mjs +0 -17
  943. package/esm2022/dragdrop/dragdrop.styles.mjs +0 -3
  944. package/esm2022/dragdrop/public-api.mjs +0 -3
  945. package/esm2022/dragdrop/wirabyte-ui-dragdrop.mjs +0 -5
  946. package/esm2022/drawer/drawer.component.mjs +0 -300
  947. package/esm2022/drawer/drawer.module.mjs +0 -17
  948. package/esm2022/drawer/public-api.mjs +0 -6
  949. package/esm2022/drawer/wirabyte-ui-drawer.mjs +0 -5
  950. package/esm2022/editor/editor-content.directive.mjs +0 -24
  951. package/esm2022/editor/editor-icon.directive.mjs +0 -24
  952. package/esm2022/editor/editor.base.mjs +0 -2082
  953. package/esm2022/editor/editor.component.mjs +0 -20
  954. package/esm2022/editor/editor.dom.mjs +0 -787
  955. package/esm2022/editor/editor.icons.mjs +0 -106
  956. package/esm2022/editor/editor.module.mjs +0 -19
  957. package/esm2022/editor/editor.styles.mjs +0 -3
  958. package/esm2022/editor/editor.types.mjs +0 -6
  959. package/esm2022/editor/public-api.mjs +0 -7
  960. package/esm2022/editor/wirabyte-ui-editor.mjs +0 -5
  961. package/esm2022/emptystate/emptystate.component.mjs +0 -78
  962. package/esm2022/emptystate/emptystate.module.mjs +0 -17
  963. package/esm2022/emptystate/public-api.mjs +0 -3
  964. package/esm2022/emptystate/wirabyte-ui-emptystate.mjs +0 -5
  965. package/esm2022/errorpage/errorpage.component.mjs +0 -163
  966. package/esm2022/errorpage/errorpage.module.mjs +0 -17
  967. package/esm2022/errorpage/public-api.mjs +0 -3
  968. package/esm2022/errorpage/wirabyte-ui-errorpage.mjs +0 -5
  969. package/esm2022/excel/excel.mjs +0 -35
  970. package/esm2022/excel/public-api.mjs +0 -3
  971. package/esm2022/excel/wirabyte-ui-excel.mjs +0 -5
  972. package/esm2022/fieldset/fieldset.component.mjs +0 -53
  973. package/esm2022/fieldset/fieldset.module.mjs +0 -18
  974. package/esm2022/fieldset/public-api.mjs +0 -3
  975. package/esm2022/fieldset/wirabyte-ui-fieldset.mjs +0 -5
  976. package/esm2022/fileupload/fileupload.base.mjs +0 -563
  977. package/esm2022/fileupload/fileupload.component.mjs +0 -19
  978. package/esm2022/fileupload/fileupload.module.mjs +0 -18
  979. package/esm2022/fileupload/fileupload.types.mjs +0 -2
  980. package/esm2022/fileupload/public-api.mjs +0 -5
  981. package/esm2022/fileupload/wirabyte-ui-fileupload.mjs +0 -5
  982. package/esm2022/floatlabel/floatlabel.component.mjs +0 -53
  983. package/esm2022/floatlabel/floatlabel.module.mjs +0 -17
  984. package/esm2022/floatlabel/floatlabel.types.mjs +0 -2
  985. package/esm2022/floatlabel/public-api.mjs +0 -4
  986. package/esm2022/floatlabel/wirabyte-ui-floatlabel.mjs +0 -5
  987. package/esm2022/flow/flow-background.component.mjs +0 -183
  988. package/esm2022/flow/flow-controls.component.mjs +0 -267
  989. package/esm2022/flow/flow-handle.component.mjs +0 -130
  990. package/esm2022/flow/flow-history.directive.mjs +0 -129
  991. package/esm2022/flow/flow-host.mjs +0 -7
  992. package/esm2022/flow/flow-minimap.component.mjs +0 -322
  993. package/esm2022/flow/flow-node-outlet.mjs +0 -148
  994. package/esm2022/flow/flow-node-resizer.component.mjs +0 -208
  995. package/esm2022/flow/flow-node-toolbar.component.mjs +0 -119
  996. package/esm2022/flow/flow-panel.component.mjs +0 -37
  997. package/esm2022/flow/flow-templates.mjs +0 -100
  998. package/esm2022/flow/flow.component.mjs +0 -3245
  999. package/esm2022/flow/flow.module.mjs +0 -69
  1000. package/esm2022/flow/flow.types.mjs +0 -7
  1001. package/esm2022/flow/public-api.mjs +0 -17
  1002. package/esm2022/flow/wirabyte-ui-flow.mjs +0 -5
  1003. package/esm2022/galleria/galleria.component.mjs +0 -480
  1004. package/esm2022/galleria/galleria.module.mjs +0 -17
  1005. package/esm2022/galleria/public-api.mjs +0 -3
  1006. package/esm2022/galleria/wirabyte-ui-galleria.mjs +0 -5
  1007. package/esm2022/i18n/i18n.module.mjs +0 -37
  1008. package/esm2022/i18n/i18n.service.mjs +0 -148
  1009. package/esm2022/i18n/i18n.types.mjs +0 -3
  1010. package/esm2022/i18n/language-switch.component.mjs +0 -91
  1011. package/esm2022/i18n/public-api.mjs +0 -7
  1012. package/esm2022/i18n/translate.pipe.mjs +0 -52
  1013. package/esm2022/i18n/wirabyte-ui-i18n.mjs +0 -5
  1014. package/esm2022/iconfield/iconfield.component.mjs +0 -73
  1015. package/esm2022/iconfield/iconfield.module.mjs +0 -17
  1016. package/esm2022/iconfield/public-api.mjs +0 -3
  1017. package/esm2022/iconfield/wirabyte-ui-iconfield.mjs +0 -5
  1018. package/esm2022/image/image.base.mjs +0 -183
  1019. package/esm2022/image/image.component.mjs +0 -14
  1020. package/esm2022/image/image.module.mjs +0 -18
  1021. package/esm2022/image/public-api.mjs +0 -4
  1022. package/esm2022/image/wirabyte-ui-image.mjs +0 -5
  1023. package/esm2022/imagecompare/imagecompare.component.mjs +0 -200
  1024. package/esm2022/imagecompare/imagecompare.module.mjs +0 -18
  1025. package/esm2022/imagecompare/public-api.mjs +0 -3
  1026. package/esm2022/imagecompare/wirabyte-ui-imagecompare.mjs +0 -5
  1027. package/esm2022/imagecropper/imagecropper.component.mjs +0 -1253
  1028. package/esm2022/imagecropper/imagecropper.module.mjs +0 -17
  1029. package/esm2022/imagecropper/imagecropper.types.mjs +0 -6
  1030. package/esm2022/imagecropper/public-api.mjs +0 -5
  1031. package/esm2022/imagecropper/wirabyte-ui-imagecropper.mjs +0 -5
  1032. package/esm2022/inplace/inplace.component.mjs +0 -145
  1033. package/esm2022/inplace/inplace.module.mjs +0 -17
  1034. package/esm2022/inplace/public-api.mjs +0 -3
  1035. package/esm2022/inplace/wirabyte-ui-inplace.mjs +0 -5
  1036. package/esm2022/inputgroup/inputgroup.component.mjs +0 -61
  1037. package/esm2022/inputgroup/inputgroup.module.mjs +0 -17
  1038. package/esm2022/inputgroup/public-api.mjs +0 -3
  1039. package/esm2022/inputgroup/wirabyte-ui-inputgroup.mjs +0 -5
  1040. package/esm2022/inputmask/inputmask.base.mjs +0 -319
  1041. package/esm2022/inputmask/inputmask.component.mjs +0 -23
  1042. package/esm2022/inputmask/inputmask.module.mjs +0 -17
  1043. package/esm2022/inputmask/public-api.mjs +0 -4
  1044. package/esm2022/inputmask/wirabyte-ui-inputmask.mjs +0 -5
  1045. package/esm2022/inputnumber/inputnumber.component.mjs +0 -255
  1046. package/esm2022/inputnumber/inputnumber.module.mjs +0 -17
  1047. package/esm2022/inputnumber/inputnumber.types.mjs +0 -2
  1048. package/esm2022/inputnumber/public-api.mjs +0 -4
  1049. package/esm2022/inputnumber/wirabyte-ui-inputnumber.mjs +0 -5
  1050. package/esm2022/inputotp/inputotp.component.mjs +0 -344
  1051. package/esm2022/inputotp/inputotp.module.mjs +0 -18
  1052. package/esm2022/inputotp/inputotp.types.mjs +0 -2
  1053. package/esm2022/inputotp/public-api.mjs +0 -4
  1054. package/esm2022/inputotp/wirabyte-ui-inputotp.mjs +0 -5
  1055. package/esm2022/inputtext/inputtext.directive.mjs +0 -54
  1056. package/esm2022/inputtext/inputtext.module.mjs +0 -17
  1057. package/esm2022/inputtext/inputtext.styles.mjs +0 -3
  1058. package/esm2022/inputtext/inputtext.types.mjs +0 -2
  1059. package/esm2022/inputtext/public-api.mjs +0 -6
  1060. package/esm2022/inputtext/wirabyte-ui-inputtext.mjs +0 -5
  1061. package/esm2022/keyfilter/keyfilter.directive.mjs +0 -131
  1062. package/esm2022/keyfilter/keyfilter.module.mjs +0 -17
  1063. package/esm2022/keyfilter/public-api.mjs +0 -3
  1064. package/esm2022/keyfilter/wirabyte-ui-keyfilter.mjs +0 -5
  1065. package/esm2022/knob/knob.component.mjs +0 -207
  1066. package/esm2022/knob/knob.module.mjs +0 -17
  1067. package/esm2022/knob/public-api.mjs +0 -3
  1068. package/esm2022/knob/wirabyte-ui-knob.mjs +0 -5
  1069. package/esm2022/listbox/listbox.component.mjs +0 -520
  1070. package/esm2022/listbox/listbox.module.mjs +0 -17
  1071. package/esm2022/listbox/public-api.mjs +0 -3
  1072. package/esm2022/listbox/wirabyte-ui-listbox.mjs +0 -5
  1073. package/esm2022/menu/menu.base.mjs +0 -320
  1074. package/esm2022/menu/menu.component.mjs +0 -19
  1075. package/esm2022/menu/menu.module.mjs +0 -18
  1076. package/esm2022/menu/public-api.mjs +0 -4
  1077. package/esm2022/menu/wirabyte-ui-menu.mjs +0 -5
  1078. package/esm2022/menubar/menubar.base.mjs +0 -568
  1079. package/esm2022/menubar/menubar.component.mjs +0 -19
  1080. package/esm2022/menubar/menubar.module.mjs +0 -18
  1081. package/esm2022/menubar/public-api.mjs +0 -4
  1082. package/esm2022/menubar/wirabyte-ui-menubar.mjs +0 -5
  1083. package/esm2022/message/message.component.mjs +0 -78
  1084. package/esm2022/message/message.module.mjs +0 -20
  1085. package/esm2022/message/message.types.mjs +0 -2
  1086. package/esm2022/message/messages.base.mjs +0 -109
  1087. package/esm2022/message/messages.component.mjs +0 -66
  1088. package/esm2022/message/public-api.mjs +0 -6
  1089. package/esm2022/message/wirabyte-ui-message.mjs +0 -5
  1090. package/esm2022/metergroup/metergroup.component.mjs +0 -87
  1091. package/esm2022/metergroup/metergroup.module.mjs +0 -17
  1092. package/esm2022/metergroup/metergroup.types.mjs +0 -26
  1093. package/esm2022/metergroup/public-api.mjs +0 -4
  1094. package/esm2022/metergroup/wirabyte-ui-metergroup.mjs +0 -5
  1095. package/esm2022/multiselect/multiselect.base.mjs +0 -732
  1096. package/esm2022/multiselect/multiselect.component.mjs +0 -26
  1097. package/esm2022/multiselect/multiselect.module.mjs +0 -18
  1098. package/esm2022/multiselect/multiselect.styles.mjs +0 -3
  1099. package/esm2022/multiselect/multiselect.types.mjs +0 -2
  1100. package/esm2022/multiselect/public-api.mjs +0 -6
  1101. package/esm2022/multiselect/wirabyte-ui-multiselect.mjs +0 -5
  1102. package/esm2022/navbar/navbar.component.mjs +0 -460
  1103. package/esm2022/navbar/navbar.module.mjs +0 -18
  1104. package/esm2022/navbar/public-api.mjs +0 -3
  1105. package/esm2022/navbar/wirabyte-ui-navbar.mjs +0 -5
  1106. package/esm2022/orderlist/orderlist.base.mjs +0 -411
  1107. package/esm2022/orderlist/orderlist.component.mjs +0 -17
  1108. package/esm2022/orderlist/orderlist.module.mjs +0 -18
  1109. package/esm2022/orderlist/orderlist.types.mjs +0 -2
  1110. package/esm2022/orderlist/public-api.mjs +0 -5
  1111. package/esm2022/orderlist/wirabyte-ui-orderlist.mjs +0 -5
  1112. package/esm2022/organizationchart/organizationchart.component.mjs +0 -200
  1113. package/esm2022/organizationchart/organizationchart.module.mjs +0 -18
  1114. package/esm2022/organizationchart/organizationchart.types.mjs +0 -2
  1115. package/esm2022/organizationchart/public-api.mjs +0 -4
  1116. package/esm2022/organizationchart/wirabyte-ui-organizationchart.mjs +0 -5
  1117. package/esm2022/paginator/paginator.base.mjs +0 -188
  1118. package/esm2022/paginator/paginator.component.mjs +0 -20
  1119. package/esm2022/paginator/paginator.module.mjs +0 -17
  1120. package/esm2022/paginator/paginator.types.mjs +0 -2
  1121. package/esm2022/paginator/public-api.mjs +0 -5
  1122. package/esm2022/paginator/wirabyte-ui-paginator.mjs +0 -5
  1123. package/esm2022/panel/panel.component.mjs +0 -75
  1124. package/esm2022/panel/panel.module.mjs +0 -19
  1125. package/esm2022/panel/panel.types.mjs +0 -2
  1126. package/esm2022/panel/public-api.mjs +0 -4
  1127. package/esm2022/panel/wirabyte-ui-panel.mjs +0 -5
  1128. package/esm2022/panelmenu/panelmenu.base.mjs +0 -181
  1129. package/esm2022/panelmenu/panelmenu.component.mjs +0 -15
  1130. package/esm2022/panelmenu/panelmenu.module.mjs +0 -18
  1131. package/esm2022/panelmenu/public-api.mjs +0 -4
  1132. package/esm2022/panelmenu/wirabyte-ui-panelmenu.mjs +0 -5
  1133. package/esm2022/password/password.component.mjs +0 -171
  1134. package/esm2022/password/password.module.mjs +0 -17
  1135. package/esm2022/password/password.types.mjs +0 -14
  1136. package/esm2022/password/public-api.mjs +0 -4
  1137. package/esm2022/password/wirabyte-ui-password.mjs +0 -5
  1138. package/esm2022/picklist/list-drag.mjs +0 -259
  1139. package/esm2022/picklist/picklist.base.mjs +0 -649
  1140. package/esm2022/picklist/picklist.component.mjs +0 -17
  1141. package/esm2022/picklist/picklist.module.mjs +0 -18
  1142. package/esm2022/picklist/picklist.styles.mjs +0 -3
  1143. package/esm2022/picklist/picklist.types.mjs +0 -2
  1144. package/esm2022/picklist/public-api.mjs +0 -8
  1145. package/esm2022/picklist/wirabyte-ui-picklist.mjs +0 -5
  1146. package/esm2022/popover/popover.base.mjs +0 -171
  1147. package/esm2022/popover/popover.component.mjs +0 -17
  1148. package/esm2022/popover/popover.module.mjs +0 -18
  1149. package/esm2022/popover/public-api.mjs +0 -4
  1150. package/esm2022/popover/wirabyte-ui-popover.mjs +0 -5
  1151. package/esm2022/presets/public-api.mjs +0 -5
  1152. package/esm2022/presets/wirabyte-ui-presets.mjs +0 -5
  1153. package/esm2022/progressbar/progressbar.component.mjs +0 -75
  1154. package/esm2022/progressbar/progressbar.module.mjs +0 -17
  1155. package/esm2022/progressbar/progressbar.types.mjs +0 -19
  1156. package/esm2022/progressbar/public-api.mjs +0 -4
  1157. package/esm2022/progressbar/wirabyte-ui-progressbar.mjs +0 -5
  1158. package/esm2022/progressspinner/progressspinner.component.mjs +0 -78
  1159. package/esm2022/progressspinner/progressspinner.module.mjs +0 -17
  1160. package/esm2022/progressspinner/progressspinner.types.mjs +0 -27
  1161. package/esm2022/progressspinner/public-api.mjs +0 -4
  1162. package/esm2022/progressspinner/wirabyte-ui-progressspinner.mjs +0 -5
  1163. package/esm2022/public-api.mjs +0 -3
  1164. package/esm2022/radiobutton/public-api.mjs +0 -7
  1165. package/esm2022/radiobutton/radio-registry.mjs +0 -40
  1166. package/esm2022/radiobutton/radiobutton.component.mjs +0 -88
  1167. package/esm2022/radiobutton/radiobutton.module.mjs +0 -17
  1168. package/esm2022/radiobutton/radiobutton.styles.mjs +0 -3
  1169. package/esm2022/radiobutton/radiobutton.types.mjs +0 -2
  1170. package/esm2022/radiobutton/wirabyte-ui-radiobutton.mjs +0 -5
  1171. package/esm2022/rating/public-api.mjs +0 -4
  1172. package/esm2022/rating/rating.component.mjs +0 -80
  1173. package/esm2022/rating/rating.module.mjs +0 -17
  1174. package/esm2022/rating/rating.types.mjs +0 -2
  1175. package/esm2022/rating/wirabyte-ui-rating.mjs +0 -5
  1176. package/esm2022/result/public-api.mjs +0 -3
  1177. package/esm2022/result/result.component.mjs +0 -72
  1178. package/esm2022/result/result.module.mjs +0 -17
  1179. package/esm2022/result/wirabyte-ui-result.mjs +0 -5
  1180. package/esm2022/ripple/public-api.mjs +0 -3
  1181. package/esm2022/ripple/ripple.directive.mjs +0 -43
  1182. package/esm2022/ripple/ripple.module.mjs +0 -17
  1183. package/esm2022/ripple/ripple.styles.mjs +0 -3
  1184. package/esm2022/ripple/wirabyte-ui-ripple.mjs +0 -5
  1185. package/esm2022/scroller/public-api.mjs +0 -6
  1186. package/esm2022/scroller/scroller.component.mjs +0 -305
  1187. package/esm2022/scroller/scroller.module.mjs +0 -17
  1188. package/esm2022/scroller/wirabyte-ui-scroller.mjs +0 -5
  1189. package/esm2022/scrollpanel/public-api.mjs +0 -3
  1190. package/esm2022/scrollpanel/scrollpanel.component.mjs +0 -67
  1191. package/esm2022/scrollpanel/scrollpanel.module.mjs +0 -17
  1192. package/esm2022/scrollpanel/wirabyte-ui-scrollpanel.mjs +0 -5
  1193. package/esm2022/select/public-api.mjs +0 -7
  1194. package/esm2022/select/select.base.mjs +0 -667
  1195. package/esm2022/select/select.component.mjs +0 -26
  1196. package/esm2022/select/select.module.mjs +0 -17
  1197. package/esm2022/select/select.styles.mjs +0 -3
  1198. package/esm2022/select/select.types.mjs +0 -2
  1199. package/esm2022/select/wirabyte-ui-select.mjs +0 -5
  1200. package/esm2022/selectbutton/public-api.mjs +0 -4
  1201. package/esm2022/selectbutton/selectbutton.component.mjs +0 -125
  1202. package/esm2022/selectbutton/selectbutton.module.mjs +0 -18
  1203. package/esm2022/selectbutton/selectbutton.types.mjs +0 -2
  1204. package/esm2022/selectbutton/wirabyte-ui-selectbutton.mjs +0 -5
  1205. package/esm2022/sitefooter/public-api.mjs +0 -3
  1206. package/esm2022/sitefooter/sitefooter.component.mjs +0 -139
  1207. package/esm2022/sitefooter/sitefooter.module.mjs +0 -18
  1208. package/esm2022/sitefooter/wirabyte-ui-sitefooter.mjs +0 -5
  1209. package/esm2022/skeleton/public-api.mjs +0 -4
  1210. package/esm2022/skeleton/skeleton.component.mjs +0 -42
  1211. package/esm2022/skeleton/skeleton.module.mjs +0 -17
  1212. package/esm2022/skeleton/skeleton.types.mjs +0 -2
  1213. package/esm2022/skeleton/wirabyte-ui-skeleton.mjs +0 -5
  1214. package/esm2022/slider/public-api.mjs +0 -3
  1215. package/esm2022/slider/slider.component.mjs +0 -247
  1216. package/esm2022/slider/slider.module.mjs +0 -17
  1217. package/esm2022/slider/wirabyte-ui-slider.mjs +0 -5
  1218. package/esm2022/splitbutton/public-api.mjs +0 -3
  1219. package/esm2022/splitbutton/splitbutton.component.mjs +0 -180
  1220. package/esm2022/splitbutton/splitbutton.module.mjs +0 -17
  1221. package/esm2022/splitbutton/wirabyte-ui-splitbutton.mjs +0 -5
  1222. package/esm2022/splitter/public-api.mjs +0 -5
  1223. package/esm2022/splitter/splitter-panel.component.mjs +0 -32
  1224. package/esm2022/splitter/splitter.component.mjs +0 -372
  1225. package/esm2022/splitter/splitter.module.mjs +0 -19
  1226. package/esm2022/splitter/splitter.types.mjs +0 -2
  1227. package/esm2022/splitter/wirabyte-ui-splitter.mjs +0 -5
  1228. package/esm2022/stepper/public-api.mjs +0 -4
  1229. package/esm2022/stepper/stepper.base.mjs +0 -392
  1230. package/esm2022/stepper/stepper.component.mjs +0 -209
  1231. package/esm2022/stepper/stepper.module.mjs +0 -19
  1232. package/esm2022/stepper/wirabyte-ui-stepper.mjs +0 -5
  1233. package/esm2022/steps/public-api.mjs +0 -4
  1234. package/esm2022/steps/steps.base.mjs +0 -148
  1235. package/esm2022/steps/steps.component.mjs +0 -15
  1236. package/esm2022/steps/steps.module.mjs +0 -17
  1237. package/esm2022/steps/wirabyte-ui-steps.mjs +0 -5
  1238. package/esm2022/table/public-api.mjs +0 -10
  1239. package/esm2022/table/table-celleditor.component.mjs +0 -48
  1240. package/esm2022/table/table-filter.component.mjs +0 -144
  1241. package/esm2022/table/table.base.mjs +0 -1443
  1242. package/esm2022/table/table.celleditor.mjs +0 -42
  1243. package/esm2022/table/table.component.mjs +0 -21
  1244. package/esm2022/table/table.directives.mjs +0 -1117
  1245. package/esm2022/table/table.filter.mjs +0 -346
  1246. package/esm2022/table/table.module.mjs +0 -93
  1247. package/esm2022/table/table.types.mjs +0 -3
  1248. package/esm2022/table/wirabyte-ui-table.mjs +0 -5
  1249. package/esm2022/tabmenu/public-api.mjs +0 -3
  1250. package/esm2022/tabmenu/wirabyte-ui-tabmenu.mjs +0 -5
  1251. package/esm2022/tabs/public-api.mjs +0 -9
  1252. package/esm2022/tabs/tabmenu.base.mjs +0 -196
  1253. package/esm2022/tabs/tabmenu.component.mjs +0 -18
  1254. package/esm2022/tabs/tabmenu.module.mjs +0 -18
  1255. package/esm2022/tabs/tabs.component.mjs +0 -352
  1256. package/esm2022/tabs/tabs.module.mjs +0 -20
  1257. package/esm2022/tabs/tabs.styles.mjs +0 -3
  1258. package/esm2022/tabs/tabs.types.mjs +0 -50
  1259. package/esm2022/tabs/wirabyte-ui-tabs.mjs +0 -5
  1260. package/esm2022/tag/public-api.mjs +0 -4
  1261. package/esm2022/tag/tag.component.mjs +0 -42
  1262. package/esm2022/tag/tag.module.mjs +0 -17
  1263. package/esm2022/tag/tag.types.mjs +0 -2
  1264. package/esm2022/tag/wirabyte-ui-tag.mjs +0 -5
  1265. package/esm2022/terminal/public-api.mjs +0 -6
  1266. package/esm2022/terminal/terminal.component.mjs +0 -150
  1267. package/esm2022/terminal/terminal.module.mjs +0 -17
  1268. package/esm2022/terminal/terminal.service.mjs +0 -35
  1269. package/esm2022/terminal/wirabyte-ui-terminal.mjs +0 -5
  1270. package/esm2022/textarea/public-api.mjs +0 -3
  1271. package/esm2022/textarea/textarea.directive.mjs +0 -75
  1272. package/esm2022/textarea/textarea.module.mjs +0 -17
  1273. package/esm2022/textarea/wirabyte-ui-textarea.mjs +0 -5
  1274. package/esm2022/thai/public-api.mjs +0 -4
  1275. package/esm2022/thai/thai.module.mjs +0 -18
  1276. package/esm2022/thai/thai.pipes.mjs +0 -115
  1277. package/esm2022/thai/wirabyte-ui-thai.mjs +0 -5
  1278. package/esm2022/tieredmenu/public-api.mjs +0 -3
  1279. package/esm2022/tieredmenu/tieredmenu.component.mjs +0 -385
  1280. package/esm2022/tieredmenu/tieredmenu.module.mjs +0 -17
  1281. package/esm2022/tieredmenu/wirabyte-ui-tieredmenu.mjs +0 -5
  1282. package/esm2022/timeline/public-api.mjs +0 -4
  1283. package/esm2022/timeline/timeline.base.mjs +0 -66
  1284. package/esm2022/timeline/timeline.component.mjs +0 -68
  1285. package/esm2022/timeline/timeline.module.mjs +0 -18
  1286. package/esm2022/timeline/wirabyte-ui-timeline.mjs +0 -5
  1287. package/esm2022/toast/message.service.mjs +0 -34
  1288. package/esm2022/toast/public-api.mjs +0 -6
  1289. package/esm2022/toast/toast.base.mjs +0 -227
  1290. package/esm2022/toast/toast.component.mjs +0 -17
  1291. package/esm2022/toast/toast.module.mjs +0 -18
  1292. package/esm2022/toast/toast.types.mjs +0 -2
  1293. package/esm2022/toast/wirabyte-ui-toast.mjs +0 -5
  1294. package/esm2022/togglebutton/public-api.mjs +0 -4
  1295. package/esm2022/togglebutton/togglebutton.component.mjs +0 -93
  1296. package/esm2022/togglebutton/togglebutton.module.mjs +0 -17
  1297. package/esm2022/togglebutton/togglebutton.types.mjs +0 -2
  1298. package/esm2022/togglebutton/wirabyte-ui-togglebutton.mjs +0 -5
  1299. package/esm2022/toggleswitch/public-api.mjs +0 -4
  1300. package/esm2022/toggleswitch/toggleswitch.component.mjs +0 -78
  1301. package/esm2022/toggleswitch/toggleswitch.module.mjs +0 -17
  1302. package/esm2022/toggleswitch/toggleswitch.types.mjs +0 -2
  1303. package/esm2022/toggleswitch/wirabyte-ui-toggleswitch.mjs +0 -5
  1304. package/esm2022/toolbar/public-api.mjs +0 -3
  1305. package/esm2022/toolbar/toolbar.component.mjs +0 -67
  1306. package/esm2022/toolbar/toolbar.module.mjs +0 -18
  1307. package/esm2022/toolbar/wirabyte-ui-toolbar.mjs +0 -5
  1308. package/esm2022/tooltip/public-api.mjs +0 -4
  1309. package/esm2022/tooltip/tooltip.directive.mjs +0 -370
  1310. package/esm2022/tooltip/tooltip.module.mjs +0 -17
  1311. package/esm2022/tooltip/tooltip.styles.mjs +0 -3
  1312. package/esm2022/tooltip/tooltip.types.mjs +0 -2
  1313. package/esm2022/tooltip/wirabyte-ui-tooltip.mjs +0 -5
  1314. package/esm2022/tree/public-api.mjs +0 -3
  1315. package/esm2022/tree/tree.component.mjs +0 -453
  1316. package/esm2022/tree/tree.module.mjs +0 -17
  1317. package/esm2022/tree/wirabyte-ui-tree.mjs +0 -5
  1318. package/esm2022/treeselect/public-api.mjs +0 -3
  1319. package/esm2022/treeselect/treeselect.component.mjs +0 -410
  1320. package/esm2022/treeselect/treeselect.module.mjs +0 -17
  1321. package/esm2022/treeselect/wirabyte-ui-treeselect.mjs +0 -5
  1322. package/esm2022/validation/field-error.component.mjs +0 -84
  1323. package/esm2022/validation/public-api.mjs +0 -4
  1324. package/esm2022/validation/validation.module.mjs +0 -19
  1325. package/esm2022/validation/validators.mjs +0 -84
  1326. package/esm2022/validation/wirabyte-ui-validation.mjs +0 -5
  1327. package/esm2022/wirabyte-ui.mjs +0 -5
  1328. package/excel/excel.d.ts +0 -24
  1329. package/excel/index.d.ts +0 -5
  1330. package/excel/public-api.d.ts +0 -3
  1331. package/fieldset/fieldset.component.d.ts +0 -29
  1332. package/fieldset/fieldset.module.d.ts +0 -9
  1333. package/fieldset/index.d.ts +0 -5
  1334. package/fieldset/public-api.d.ts +0 -2
  1335. package/fileupload/fileupload.base.d.ts +0 -175
  1336. package/fileupload/fileupload.component.d.ts +0 -11
  1337. package/fileupload/fileupload.module.d.ts +0 -9
  1338. package/fileupload/fileupload.types.d.ts +0 -54
  1339. package/fileupload/index.d.ts +0 -5
  1340. package/fileupload/public-api.d.ts +0 -4
  1341. package/floatlabel/floatlabel.component.d.ts +0 -21
  1342. package/floatlabel/floatlabel.module.d.ts +0 -8
  1343. package/floatlabel/floatlabel.types.d.ts +0 -1
  1344. package/floatlabel/index.d.ts +0 -5
  1345. package/floatlabel/public-api.d.ts +0 -3
  1346. package/flow/flow-background.component.d.ts +0 -49
  1347. package/flow/flow-controls.component.d.ts +0 -47
  1348. package/flow/flow-handle.component.d.ts +0 -48
  1349. package/flow/flow-history.directive.d.ts +0 -42
  1350. package/flow/flow-host.d.ts +0 -48
  1351. package/flow/flow-minimap.component.d.ts +0 -79
  1352. package/flow/flow-node-outlet.d.ts +0 -46
  1353. package/flow/flow-node-resizer.component.d.ts +0 -57
  1354. package/flow/flow-node-toolbar.component.d.ts +0 -38
  1355. package/flow/flow-panel.component.d.ts +0 -11
  1356. package/flow/flow-templates.d.ts +0 -47
  1357. package/flow/flow.component.d.ts +0 -633
  1358. package/flow/flow.module.d.ts +0 -21
  1359. package/flow/flow.types.d.ts +0 -210
  1360. package/flow/index.d.ts +0 -5
  1361. package/flow/public-api.d.ts +0 -16
  1362. package/galleria/galleria.component.d.ts +0 -163
  1363. package/galleria/galleria.module.d.ts +0 -8
  1364. package/galleria/index.d.ts +0 -5
  1365. package/galleria/public-api.d.ts +0 -2
  1366. package/i18n/i18n.module.d.ts +0 -22
  1367. package/i18n/i18n.service.d.ts +0 -54
  1368. package/i18n/i18n.types.d.ts +0 -33
  1369. package/i18n/index.d.ts +0 -5
  1370. package/i18n/language-switch.component.d.ts +0 -50
  1371. package/i18n/public-api.d.ts +0 -6
  1372. package/i18n/translate.pipe.d.ts +0 -25
  1373. package/iconfield/iconfield.component.d.ts +0 -30
  1374. package/iconfield/iconfield.module.d.ts +0 -8
  1375. package/iconfield/index.d.ts +0 -5
  1376. package/iconfield/public-api.d.ts +0 -2
  1377. package/image/image.base.d.ts +0 -83
  1378. package/image/image.component.d.ts +0 -7
  1379. package/image/image.module.d.ts +0 -9
  1380. package/image/index.d.ts +0 -5
  1381. package/image/public-api.d.ts +0 -3
  1382. package/imagecompare/imagecompare.component.d.ts +0 -67
  1383. package/imagecompare/imagecompare.module.d.ts +0 -9
  1384. package/imagecompare/index.d.ts +0 -5
  1385. package/imagecompare/public-api.d.ts +0 -2
  1386. package/imagecropper/imagecropper.component.d.ts +0 -309
  1387. package/imagecropper/imagecropper.module.d.ts +0 -8
  1388. package/imagecropper/imagecropper.types.d.ts +0 -79
  1389. package/imagecropper/index.d.ts +0 -5
  1390. package/imagecropper/public-api.d.ts +0 -4
  1391. package/index.d.ts +0 -5
  1392. package/inplace/index.d.ts +0 -5
  1393. package/inplace/inplace.component.d.ts +0 -59
  1394. package/inplace/inplace.module.d.ts +0 -8
  1395. package/inplace/public-api.d.ts +0 -2
  1396. package/inputgroup/index.d.ts +0 -5
  1397. package/inputgroup/inputgroup.component.d.ts +0 -26
  1398. package/inputgroup/inputgroup.module.d.ts +0 -8
  1399. package/inputgroup/public-api.d.ts +0 -2
  1400. package/inputmask/index.d.ts +0 -5
  1401. package/inputmask/inputmask.base.d.ts +0 -115
  1402. package/inputmask/inputmask.component.d.ts +0 -10
  1403. package/inputmask/inputmask.module.d.ts +0 -8
  1404. package/inputmask/public-api.d.ts +0 -3
  1405. package/inputnumber/index.d.ts +0 -5
  1406. package/inputnumber/inputnumber.component.d.ts +0 -108
  1407. package/inputnumber/inputnumber.module.d.ts +0 -8
  1408. package/inputnumber/inputnumber.types.d.ts +0 -7
  1409. package/inputnumber/public-api.d.ts +0 -3
  1410. package/inputotp/index.d.ts +0 -5
  1411. package/inputotp/inputotp.component.d.ts +0 -105
  1412. package/inputotp/inputotp.module.d.ts +0 -9
  1413. package/inputotp/inputotp.types.d.ts +0 -22
  1414. package/inputotp/public-api.d.ts +0 -3
  1415. package/inputtext/index.d.ts +0 -5
  1416. package/inputtext/inputtext.directive.d.ts +0 -21
  1417. package/inputtext/inputtext.module.d.ts +0 -8
  1418. package/inputtext/inputtext.styles.d.ts +0 -2
  1419. package/inputtext/inputtext.types.d.ts +0 -3
  1420. package/inputtext/public-api.d.ts +0 -5
  1421. package/keyfilter/index.d.ts +0 -5
  1422. package/keyfilter/keyfilter.directive.d.ts +0 -29
  1423. package/keyfilter/keyfilter.module.d.ts +0 -8
  1424. package/keyfilter/public-api.d.ts +0 -2
  1425. package/knob/index.d.ts +0 -5
  1426. package/knob/knob.component.d.ts +0 -94
  1427. package/knob/knob.module.d.ts +0 -8
  1428. package/knob/public-api.d.ts +0 -2
  1429. package/listbox/index.d.ts +0 -5
  1430. package/listbox/listbox.component.d.ts +0 -186
  1431. package/listbox/listbox.module.d.ts +0 -8
  1432. package/listbox/public-api.d.ts +0 -2
  1433. package/menu/index.d.ts +0 -5
  1434. package/menu/menu.base.d.ts +0 -95
  1435. package/menu/menu.component.d.ts +0 -11
  1436. package/menu/menu.module.d.ts +0 -9
  1437. package/menu/public-api.d.ts +0 -4
  1438. package/menubar/index.d.ts +0 -5
  1439. package/menubar/menubar.base.d.ts +0 -135
  1440. package/menubar/menubar.component.d.ts +0 -11
  1441. package/menubar/menubar.module.d.ts +0 -9
  1442. package/menubar/public-api.d.ts +0 -4
  1443. package/message/index.d.ts +0 -5
  1444. package/message/message.component.d.ts +0 -39
  1445. package/message/message.module.d.ts +0 -11
  1446. package/message/message.types.d.ts +0 -5
  1447. package/message/messages.base.d.ts +0 -50
  1448. package/message/messages.component.d.ts +0 -7
  1449. package/message/public-api.d.ts +0 -5
  1450. package/metergroup/index.d.ts +0 -5
  1451. package/metergroup/metergroup.component.d.ts +0 -54
  1452. package/metergroup/metergroup.module.d.ts +0 -8
  1453. package/metergroup/metergroup.types.d.ts +0 -42
  1454. package/metergroup/public-api.d.ts +0 -3
  1455. package/multiselect/index.d.ts +0 -5
  1456. package/multiselect/multiselect.base.d.ts +0 -222
  1457. package/multiselect/multiselect.component.d.ts +0 -11
  1458. package/multiselect/multiselect.module.d.ts +0 -9
  1459. package/multiselect/multiselect.styles.d.ts +0 -2
  1460. package/multiselect/multiselect.types.d.ts +0 -20
  1461. package/multiselect/public-api.d.ts +0 -5
  1462. package/navbar/index.d.ts +0 -5
  1463. package/navbar/navbar.component.d.ts +0 -172
  1464. package/navbar/navbar.module.d.ts +0 -9
  1465. package/navbar/public-api.d.ts +0 -2
  1466. package/orderlist/index.d.ts +0 -5
  1467. package/orderlist/orderlist.base.d.ts +0 -136
  1468. package/orderlist/orderlist.component.d.ts +0 -10
  1469. package/orderlist/orderlist.module.d.ts +0 -9
  1470. package/orderlist/orderlist.types.d.ts +0 -10
  1471. package/orderlist/public-api.d.ts +0 -4
  1472. package/organizationchart/index.d.ts +0 -5
  1473. package/organizationchart/organizationchart.component.d.ts +0 -76
  1474. package/organizationchart/organizationchart.module.d.ts +0 -9
  1475. package/organizationchart/organizationchart.types.d.ts +0 -10
  1476. package/organizationchart/public-api.d.ts +0 -4
  1477. package/paginator/index.d.ts +0 -5
  1478. package/paginator/paginator.base.d.ts +0 -95
  1479. package/paginator/paginator.component.d.ts +0 -10
  1480. package/paginator/paginator.module.d.ts +0 -8
  1481. package/paginator/paginator.types.d.ts +0 -7
  1482. package/paginator/public-api.d.ts +0 -4
  1483. package/panel/index.d.ts +0 -5
  1484. package/panel/panel.component.d.ts +0 -42
  1485. package/panel/panel.module.d.ts +0 -10
  1486. package/panel/panel.types.d.ts +0 -2
  1487. package/panel/public-api.d.ts +0 -3
  1488. package/panelmenu/index.d.ts +0 -5
  1489. package/panelmenu/panelmenu.base.d.ts +0 -53
  1490. package/panelmenu/panelmenu.component.d.ts +0 -7
  1491. package/panelmenu/panelmenu.module.d.ts +0 -9
  1492. package/panelmenu/public-api.d.ts +0 -3
  1493. package/password/index.d.ts +0 -5
  1494. package/password/password.component.d.ts +0 -79
  1495. package/password/password.module.d.ts +0 -8
  1496. package/password/password.types.d.ts +0 -6
  1497. package/password/public-api.d.ts +0 -3
  1498. package/picklist/index.d.ts +0 -5
  1499. package/picklist/list-drag.d.ts +0 -49
  1500. package/picklist/picklist.base.d.ts +0 -217
  1501. package/picklist/picklist.component.d.ts +0 -10
  1502. package/picklist/picklist.module.d.ts +0 -9
  1503. package/picklist/picklist.styles.d.ts +0 -2
  1504. package/picklist/picklist.types.d.ts +0 -21
  1505. package/picklist/public-api.d.ts +0 -7
  1506. package/popover/index.d.ts +0 -5
  1507. package/popover/popover.base.d.ts +0 -61
  1508. package/popover/popover.component.d.ts +0 -10
  1509. package/popover/popover.module.d.ts +0 -9
  1510. package/popover/public-api.d.ts +0 -3
  1511. package/presets/index.d.ts +0 -5
  1512. package/presets/public-api.d.ts +0 -2
  1513. package/progressbar/index.d.ts +0 -5
  1514. package/progressbar/progressbar.component.d.ts +0 -48
  1515. package/progressbar/progressbar.module.d.ts +0 -8
  1516. package/progressbar/progressbar.types.d.ts +0 -16
  1517. package/progressbar/public-api.d.ts +0 -3
  1518. package/progressspinner/index.d.ts +0 -5
  1519. package/progressspinner/progressspinner.component.d.ts +0 -44
  1520. package/progressspinner/progressspinner.module.d.ts +0 -8
  1521. package/progressspinner/progressspinner.types.d.ts +0 -9
  1522. package/progressspinner/public-api.d.ts +0 -3
  1523. package/public-api.d.ts +0 -2
  1524. package/radiobutton/index.d.ts +0 -5
  1525. package/radiobutton/public-api.d.ts +0 -6
  1526. package/radiobutton/radio-registry.d.ts +0 -23
  1527. package/radiobutton/radiobutton.component.d.ts +0 -50
  1528. package/radiobutton/radiobutton.module.d.ts +0 -8
  1529. package/radiobutton/radiobutton.styles.d.ts +0 -2
  1530. package/radiobutton/radiobutton.types.d.ts +0 -4
  1531. package/rating/index.d.ts +0 -5
  1532. package/rating/public-api.d.ts +0 -3
  1533. package/rating/rating.component.d.ts +0 -39
  1534. package/rating/rating.module.d.ts +0 -8
  1535. package/rating/rating.types.d.ts +0 -4
  1536. package/result/index.d.ts +0 -5
  1537. package/result/public-api.d.ts +0 -2
  1538. package/result/result.component.d.ts +0 -39
  1539. package/result/result.module.d.ts +0 -8
  1540. package/ripple/index.d.ts +0 -5
  1541. package/ripple/public-api.d.ts +0 -2
  1542. package/ripple/ripple.directive.d.ts +0 -15
  1543. package/ripple/ripple.module.d.ts +0 -8
  1544. package/ripple/ripple.styles.d.ts +0 -2
  1545. package/scroller/index.d.ts +0 -5
  1546. package/scroller/public-api.d.ts +0 -5
  1547. package/scroller/scroller.component.d.ts +0 -135
  1548. package/scroller/scroller.module.d.ts +0 -8
  1549. package/scrollpanel/index.d.ts +0 -5
  1550. package/scrollpanel/public-api.d.ts +0 -2
  1551. package/scrollpanel/scrollpanel.component.d.ts +0 -27
  1552. package/scrollpanel/scrollpanel.module.d.ts +0 -8
  1553. package/select/index.d.ts +0 -5
  1554. package/select/public-api.d.ts +0 -6
  1555. package/select/select.base.d.ts +0 -217
  1556. package/select/select.component.d.ts +0 -11
  1557. package/select/select.module.d.ts +0 -8
  1558. package/select/select.styles.d.ts +0 -2
  1559. package/select/select.types.d.ts +0 -9
  1560. package/selectbutton/index.d.ts +0 -5
  1561. package/selectbutton/public-api.d.ts +0 -3
  1562. package/selectbutton/selectbutton.component.d.ts +0 -59
  1563. package/selectbutton/selectbutton.module.d.ts +0 -9
  1564. package/selectbutton/selectbutton.types.d.ts +0 -9
  1565. package/sitefooter/index.d.ts +0 -5
  1566. package/sitefooter/public-api.d.ts +0 -2
  1567. package/sitefooter/sitefooter.component.d.ts +0 -69
  1568. package/sitefooter/sitefooter.module.d.ts +0 -9
  1569. package/skeleton/index.d.ts +0 -5
  1570. package/skeleton/public-api.d.ts +0 -3
  1571. package/skeleton/skeleton.component.d.ts +0 -22
  1572. package/skeleton/skeleton.module.d.ts +0 -8
  1573. package/skeleton/skeleton.types.d.ts +0 -2
  1574. package/slider/index.d.ts +0 -5
  1575. package/slider/public-api.d.ts +0 -2
  1576. package/slider/slider.component.d.ts +0 -79
  1577. package/slider/slider.module.d.ts +0 -8
  1578. package/splitbutton/index.d.ts +0 -5
  1579. package/splitbutton/public-api.d.ts +0 -2
  1580. package/splitbutton/splitbutton.component.d.ts +0 -75
  1581. package/splitbutton/splitbutton.module.d.ts +0 -8
  1582. package/splitter/index.d.ts +0 -5
  1583. package/splitter/public-api.d.ts +0 -4
  1584. package/splitter/splitter-panel.component.d.ts +0 -20
  1585. package/splitter/splitter.component.d.ts +0 -109
  1586. package/splitter/splitter.module.d.ts +0 -10
  1587. package/splitter/splitter.types.d.ts +0 -8
  1588. package/stepper/index.d.ts +0 -5
  1589. package/stepper/public-api.d.ts +0 -3
  1590. package/stepper/stepper.base.d.ts +0 -200
  1591. package/stepper/stepper.component.d.ts +0 -41
  1592. package/stepper/stepper.module.d.ts +0 -9
  1593. package/steps/index.d.ts +0 -5
  1594. package/steps/public-api.d.ts +0 -3
  1595. package/steps/steps.base.d.ts +0 -52
  1596. package/steps/steps.component.d.ts +0 -7
  1597. package/steps/steps.module.d.ts +0 -8
  1598. package/table/index.d.ts +0 -5
  1599. package/table/public-api.d.ts +0 -9
  1600. package/table/table-celleditor.component.d.ts +0 -14
  1601. package/table/table-filter.component.d.ts +0 -11
  1602. package/table/table.base.d.ts +0 -410
  1603. package/table/table.celleditor.d.ts +0 -20
  1604. package/table/table.component.d.ts +0 -12
  1605. package/table/table.directives.d.ts +0 -330
  1606. package/table/table.filter.d.ts +0 -131
  1607. package/table/table.module.d.ts +0 -12
  1608. package/table/table.types.d.ts +0 -180
  1609. package/tabmenu/index.d.ts +0 -5
  1610. package/tabmenu/public-api.d.ts +0 -2
  1611. package/tabs/index.d.ts +0 -5
  1612. package/tabs/public-api.d.ts +0 -8
  1613. package/tabs/tabmenu.base.d.ts +0 -59
  1614. package/tabs/tabmenu.component.d.ts +0 -10
  1615. package/tabs/tabmenu.module.d.ts +0 -9
  1616. package/tabs/tabs.component.d.ts +0 -120
  1617. package/tabs/tabs.module.d.ts +0 -10
  1618. package/tabs/tabs.styles.d.ts +0 -2
  1619. package/tabs/tabs.types.d.ts +0 -21
  1620. package/tag/index.d.ts +0 -5
  1621. package/tag/public-api.d.ts +0 -3
  1622. package/tag/tag.component.d.ts +0 -20
  1623. package/tag/tag.module.d.ts +0 -8
  1624. package/tag/tag.types.d.ts +0 -2
  1625. package/terminal/index.d.ts +0 -5
  1626. package/terminal/public-api.d.ts +0 -5
  1627. package/terminal/terminal.component.d.ts +0 -58
  1628. package/terminal/terminal.module.d.ts +0 -8
  1629. package/terminal/terminal.service.d.ts +0 -20
  1630. package/textarea/index.d.ts +0 -5
  1631. package/textarea/public-api.d.ts +0 -2
  1632. package/textarea/textarea.directive.d.ts +0 -27
  1633. package/textarea/textarea.module.d.ts +0 -8
  1634. package/thai/index.d.ts +0 -5
  1635. package/thai/public-api.d.ts +0 -3
  1636. package/thai/thai.module.d.ts +0 -8
  1637. package/thai/thai.pipes.d.ts +0 -57
  1638. package/tieredmenu/index.d.ts +0 -5
  1639. package/tieredmenu/public-api.d.ts +0 -2
  1640. package/tieredmenu/tieredmenu.component.d.ts +0 -90
  1641. package/tieredmenu/tieredmenu.module.d.ts +0 -8
  1642. package/timeline/index.d.ts +0 -5
  1643. package/timeline/public-api.d.ts +0 -3
  1644. package/timeline/timeline.base.d.ts +0 -36
  1645. package/timeline/timeline.component.d.ts +0 -7
  1646. package/timeline/timeline.module.d.ts +0 -9
  1647. package/toast/index.d.ts +0 -5
  1648. package/toast/message.service.d.ts +0 -19
  1649. package/toast/public-api.d.ts +0 -5
  1650. package/toast/toast.base.d.ts +0 -84
  1651. package/toast/toast.component.d.ts +0 -10
  1652. package/toast/toast.module.d.ts +0 -9
  1653. package/toast/toast.types.d.ts +0 -28
  1654. package/togglebutton/index.d.ts +0 -5
  1655. package/togglebutton/public-api.d.ts +0 -3
  1656. package/togglebutton/togglebutton.component.d.ts +0 -47
  1657. package/togglebutton/togglebutton.module.d.ts +0 -8
  1658. package/togglebutton/togglebutton.types.d.ts +0 -4
  1659. package/toggleswitch/index.d.ts +0 -5
  1660. package/toggleswitch/public-api.d.ts +0 -3
  1661. package/toggleswitch/toggleswitch.component.d.ts +0 -42
  1662. package/toggleswitch/toggleswitch.module.d.ts +0 -8
  1663. package/toggleswitch/toggleswitch.types.d.ts +0 -4
  1664. package/toolbar/index.d.ts +0 -5
  1665. package/toolbar/public-api.d.ts +0 -2
  1666. package/toolbar/toolbar.component.d.ts +0 -29
  1667. package/toolbar/toolbar.module.d.ts +0 -9
  1668. package/tooltip/index.d.ts +0 -5
  1669. package/tooltip/public-api.d.ts +0 -3
  1670. package/tooltip/tooltip.directive.d.ts +0 -87
  1671. package/tooltip/tooltip.module.d.ts +0 -8
  1672. package/tooltip/tooltip.styles.d.ts +0 -2
  1673. package/tooltip/tooltip.types.d.ts +0 -14
  1674. package/tree/index.d.ts +0 -5
  1675. package/tree/public-api.d.ts +0 -2
  1676. package/tree/tree.component.d.ts +0 -149
  1677. package/tree/tree.module.d.ts +0 -8
  1678. package/treeselect/index.d.ts +0 -5
  1679. package/treeselect/public-api.d.ts +0 -2
  1680. package/treeselect/treeselect.component.d.ts +0 -140
  1681. package/treeselect/treeselect.module.d.ts +0 -8
  1682. package/validation/field-error.component.d.ts +0 -39
  1683. package/validation/index.d.ts +0 -5
  1684. package/validation/public-api.d.ts +0 -3
  1685. package/validation/validation.module.d.ts +0 -9
  1686. package/validation/validators.d.ts +0 -33
@@ -1 +1 @@
1
- {"version":3,"file":"wirabyte-ui-tieredmenu.mjs","sources":["../../lib/tieredmenu/tieredmenu.component.ts","../../lib/tieredmenu/tieredmenu.component.html","../../lib/tieredmenu/tieredmenu.module.ts","../../lib/tieredmenu/wirabyte-ui-tieredmenu.ts"],"sourcesContent":["import { DOCUMENT, NgClass, NgFor, NgIf, NgStyle, NgTemplateOutlet } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ContentChild,\n ContentChildren,\n ElementRef,\n EventEmitter,\n inject,\n Input,\n OnDestroy,\n Output,\n QueryList,\n TemplateRef,\n ViewChild,\n ViewEncapsulation,\n} from '@angular/core';\nimport { RouterLink, RouterLinkActive } from '@angular/router';\nimport {\n ɵassertSupportedAngular,\n ɵfindTemplate,\n ɵtoBool,\n ɵuniqueId,\n ɵWU_SKIP_VERSION_CHECK,\n ɵWuPopup,\n WuMenuItem,\n WuTemplate,\n} from '@wirabyte/ui/config';\n\nconst asTemplate = (v: unknown): TemplateRef<unknown> | null => (v instanceof TemplateRef ? v : null);\nconst PHONE = '(max-width: 575.98px)';\n\n/**\n * A menu whose items open submenus beside them: `<wu-tieredMenu [model]=\"items\">` in place, or a popup from a button\n * (`[popup]=\"true\"` + `menu.toggle($event)`). Submenus open on hover, click or Arrow Right; on phones they open\n * below their item instead. Items are menu items (`label`, `icon`, `items`, `routerLink`, `url`, `command`,\n * `separator`, `disabled`).\n */\n@Component({\n selector: 'wu-tieredmenu, wu-tieredMenu, wu-tiered-menu',\n standalone: true,\n exportAs: 'wuTieredMenu',\n imports: [NgClass, NgFor, NgIf, NgStyle, NgTemplateOutlet, RouterLink, RouterLinkActive],\n templateUrl: './tieredmenu.component.html',\n styleUrls: ['./tieredmenu.css'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class WuTieredMenu implements OnDestroy {\n @Input() model: WuMenuItem[] | null | undefined;\n @Input() set popup(v: unknown) { this._popup = ɵtoBool(v); }\n get popup(): boolean { return this._popup; }\n /** Submenus open when the pointer rests on their item. Default true. */\n @Input() set autoDisplay(v: unknown) { this._autoDisplay = v === undefined || ɵtoBool(v); }\n @Input() set disabled(v: unknown) { this._disabled = ɵtoBool(v); }\n get disabled(): boolean { return this._disabled; }\n @Input() styleClass?: string | null;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n @Input() style?: Record<string, any> | null;\n @Input() ariaLabel?: string;\n @Input() ariaLabelledBy?: string;\n /** Stays on the host element (accepted, not copied inside, so ids stay unique). */\n @Input() id?: string;\n /** Accepted for templates moving over: the popup opens in the top layer. */\n @Input() appendTo: unknown;\n @Input() autoZIndex: unknown;\n @Input() baseZIndex: unknown;\n @Input() showTransitionOptions: unknown;\n @Input() hideTransitionOptions: unknown;\n @Input() tabindex: unknown;\n\n @Output() readonly onShow = new EventEmitter<void>();\n @Output() readonly onHide = new EventEmitter<void>();\n\n @ContentChildren(WuTemplate) protected templates?: QueryList<WuTemplate>;\n @ContentChild('item', { descendants: false }) protected itemRef?: unknown;\n @ContentChild('submenuicon', { descendants: false }) protected submenuIconRef?: unknown;\n @ViewChild('panel') protected panelRef?: ElementRef<HTMLElement>;\n\n readonly menuId = ɵuniqueId('wu-tieredmenu');\n /** The popup is open. */\n visible = false;\n /** Keys of the open items, one per level (`'0'`, `'0_2'`, …). */\n openPath: string[] = [];\n focusedKey: string | null = null;\n private _popup = false;\n private _autoDisplay = true;\n private _disabled = false;\n private anchor: HTMLElement | null = null;\n private keyActivated = false;\n private hoverOpened: { key: string; at: number } | null = null;\n private popupRef: ɵWuPopup | null = null;\n private readonly cdr = inject(ChangeDetectorRef);\n private readonly host: HTMLElement = inject(ElementRef).nativeElement;\n private readonly doc = inject(DOCUMENT);\n\n constructor() {\n ɵassertSupportedAngular(inject(ɵWU_SKIP_VERSION_CHECK, { optional: true }));\n }\n\n ngOnDestroy(): void {\n this.popupRef?.close();\n }\n\n // ---------- what the template reads ----------\n\n get itemTemplate(): TemplateRef<unknown> | null {\n return asTemplate(this.itemRef) || ɵfindTemplate(this.templates, 'item');\n }\n get submenuIconTemplate(): TemplateRef<unknown> | null {\n return asTemplate(this.submenuIconRef) || ɵfindTemplate(this.templates, 'submenuicon');\n }\n visibleOf(items: WuMenuItem[] | null | undefined): WuMenuItem[] {\n return (items || []).filter((it) => it && it.visible !== false);\n }\n keyOf(parent: string, index: number): string {\n return parent ? `${parent}_${index}` : String(index);\n }\n itemId(key: string): string {\n return `${this.menuId}_${key}`;\n }\n hasChildren(item: WuMenuItem): boolean {\n return this.visibleOf(item.items).length > 0;\n }\n isOpen(key: string): boolean {\n return this.openPath.includes(key);\n }\n routed(item: WuMenuItem): boolean {\n return item.routerLink !== undefined && item.routerLink !== null && !item.disabled;\n }\n hrefOf(item: WuMenuItem): string | null {\n return item.url && !item.disabled ? item.url : null;\n }\n /** Roving tab stop: one item of the inline menu is reachable with Tab, arrows do the rest. */\n tabindexOf(key: string): number {\n if (this._popup) return -1;\n return key === (this.focusedKey ?? this.firstKey('')) ? 0 : -1;\n }\n\n // ---------- popup ----------\n\n toggle(event?: Event): void {\n if (this.visible) this.hide();\n else this.show(event);\n }\n\n /** Opens the popup next to the element the event came from. */\n show(event?: Event): void {\n if (!this._popup || this.visible || this._disabled) return;\n const target = (event?.currentTarget || event?.target) as HTMLElement | null;\n this.anchor = target instanceof HTMLElement ? target : this.anchor;\n this.visible = true;\n this.openPath = [];\n this.cdr.detectChanges();\n const panel = this.panelRef?.nativeElement;\n if (panel && this.anchor) {\n this.popupRef = new ɵWuPopup(this.anchor, panel, {\n sheet: false,\n sheetClass: 'wu-tieredmenu-sheet',\n modalClass: 'wu-tieredmenu-modal',\n onOutside: () => this.hide(),\n onEscape: () => this.hide(true),\n });\n this.popupRef.open();\n }\n const first = this.firstKey('');\n if (first !== null) this.focus(first);\n this.onShow.emit();\n }\n\n /** `refocus`: put focus back on what opened it. */\n hide(refocus = false): void {\n if (!this.visible) return;\n this.popupRef?.close();\n this.popupRef = null;\n this.visible = false;\n this.openPath = [];\n this.focusedKey = null;\n this.cdr.markForCheck();\n if (refocus) this.anchor?.focus();\n this.onHide.emit();\n }\n\n // ---------- pointer ----------\n\n itemEnter(item: WuMenuItem, key: string): void {\n if (this.phone || item.disabled) return;\n if (!this._autoDisplay && !this.openPath.length) return;\n const opens = this.hasChildren(item) && !this.isOpen(key);\n this.openTo(key, this.hasChildren(item));\n if (opens) this.hoverOpened = { key, at: Date.now() };\n }\n\n itemClick(event: MouseEvent | KeyboardEvent, item: WuMenuItem, key: string): void {\n if (item.disabled) {\n event.preventDefault();\n return;\n }\n if (this.hasChildren(item)) {\n event.preventDefault();\n // A click right after the pointer opened it (touch screens send both) keeps it open.\n const justOpened = this.hoverOpened?.key === key && Date.now() - this.hoverOpened.at < 600;\n if (this.isOpen(key) && !justOpened) this.openPath = this.openPath.filter((k) => !k.startsWith(key));\n else this.openTo(key, true);\n this.hoverOpened = null;\n this.focusedKey = key;\n this.cdr.markForCheck();\n return;\n }\n if (!item.url && !this.routed(item)) event.preventDefault();\n const fromKeyboard = event instanceof KeyboardEvent || this.keyActivated;\n this.keyActivated = false;\n if (this._popup) this.hide(fromKeyboard);\n else {\n this.openPath = [];\n this.cdr.markForCheck();\n }\n item.command?.({ originalEvent: event, item });\n }\n\n focusIn(event: FocusEvent): void {\n const key = (event.target as HTMLElement).getAttribute?.('data-wu-key');\n if (key !== null && key !== undefined) this.focusedKey = key;\n }\n\n /** Inline menu: submenus close when focus leaves it. */\n focusOut(event: FocusEvent): void {\n const next = event.relatedTarget as Node | null;\n if (this._popup || (next && this.host.contains(next))) return;\n if (this.openPath.length) {\n this.openPath = [];\n this.cdr.markForCheck();\n }\n }\n\n // ---------- keyboard ----------\n\n keydown(event: KeyboardEvent): void {\n const key = (event.target as HTMLElement).getAttribute('data-wu-key');\n if (key === null) return;\n const parent = key.includes('_') ? key.slice(0, key.lastIndexOf('_')) : '';\n const item = this.itemAt(key);\n if (!item) return;\n switch (event.key) {\n case 'ArrowDown':\n event.preventDefault();\n this.focus(this.stepKey(parent, key, 1));\n break;\n case 'ArrowUp':\n event.preventDefault();\n this.focus(this.stepKey(parent, key, -1));\n break;\n case 'Home':\n event.preventDefault();\n this.focus(this.firstKey(parent));\n break;\n case 'End':\n event.preventDefault();\n this.focus(this.lastKey(parent));\n break;\n case 'ArrowRight':\n if (this.hasChildren(item) && !item.disabled) {\n event.preventDefault();\n this.openTo(key, true);\n this.focus(this.firstKey(key));\n }\n break;\n case 'ArrowLeft':\n if (parent) {\n event.preventDefault();\n this.openPath = this.openPath.filter((k) => !k.startsWith(parent));\n this.focus(parent);\n }\n break;\n case 'Escape':\n if (parent) {\n event.preventDefault();\n event.stopPropagation();\n this.openPath = this.openPath.filter((k) => !k.startsWith(parent));\n this.focus(parent);\n } else if (this._popup) {\n event.preventDefault();\n this.hide(true);\n }\n break;\n case 'Enter':\n case ' ':\n event.preventDefault();\n if (this.hasChildren(item) && !item.disabled) {\n this.openTo(key, true);\n this.focus(this.firstKey(key));\n } else {\n this.keyActivated = true;\n (event.target as HTMLElement).click();\n this.keyActivated = false;\n }\n break;\n case 'Tab':\n if (this._popup) this.hide();\n break;\n }\n }\n\n // ---------- internals ----------\n\n private get phone(): boolean {\n const win = this.doc.defaultView;\n return !!win?.matchMedia && win.matchMedia(PHONE).matches;\n }\n\n /** Opens the path down to `key` (and `key` itself when it has a submenu); closes the rest. */\n private openTo(key: string, includeSelf: boolean): void {\n const parts = key.split('_');\n const path: string[] = [];\n for (let i = 1; i < parts.length; i++) path.push(parts.slice(0, i).join('_'));\n if (includeSelf) path.push(key);\n const same = path.length === this.openPath.length && path.every((k, i) => k === this.openPath[i]);\n if (same) return;\n this.openPath = path;\n this.cdr.markForCheck();\n // After the view shows it: keep the submenu on screen.\n if (includeSelf) Promise.resolve().then(() => this.fit(key));\n }\n\n /** Flips a submenu to the other side, or lifts it, when it would leave the window. */\n private fit(key: string): void {\n const li = this.host.ownerDocument.getElementById(this.itemId(key))?.closest('li');\n const sub = li?.querySelector(':scope > .wu-tieredmenu-submenu') as HTMLElement | null;\n const win = this.doc.defaultView;\n if (!sub || !win || this.phone) return;\n sub.classList.remove('wu-tieredmenu-submenu-flip');\n sub.style.top = '';\n const r = sub.getBoundingClientRect();\n const vw = this.doc.documentElement.clientWidth || win.innerWidth;\n const vh = this.doc.documentElement.clientHeight || win.innerHeight;\n if (r.right > vw - 4) sub.classList.add('wu-tieredmenu-submenu-flip');\n if (r.bottom > vh - 4) sub.style.top = `${Math.max(-(r.top - 4), vh - 4 - r.bottom)}px`;\n }\n\n private itemAt(key: string): WuMenuItem | null {\n let list = this.visibleOf(this.model);\n let item: WuMenuItem | null = null;\n for (const part of key.split('_')) {\n item = list[Number(part)] || null;\n if (!item) return null;\n list = this.visibleOf(item.items);\n }\n return item;\n }\n\n private childrenKeys(parent: string): string[] {\n const list = parent ? this.visibleOf(this.itemAt(parent)?.items) : this.visibleOf(this.model);\n const out: string[] = [];\n list.forEach((it, i) => {\n if (!it.separator && !it.disabled) out.push(this.keyOf(parent, i));\n });\n return out;\n }\n\n private firstKey(parent: string): string | null {\n return this.childrenKeys(parent)[0] ?? null;\n }\n\n private lastKey(parent: string): string | null {\n const k = this.childrenKeys(parent);\n return k[k.length - 1] ?? null;\n }\n\n private stepKey(parent: string, key: string, step: number): string | null {\n const keys = this.childrenKeys(parent);\n if (!keys.length) return null;\n const i = keys.indexOf(key);\n return keys[(i + step + keys.length) % keys.length];\n }\n\n private focus(key: string | null): void {\n if (key === null) return;\n this.focusedKey = key;\n this.cdr.detectChanges();\n (this.host.ownerDocument.getElementById(this.itemId(key)) as HTMLElement | null)?.focus();\n }\n}\n","<ng-container *ngIf=\"popup; else inline\">\n <div\n *ngIf=\"visible\"\n #panel\n popover=\"manual\"\n class=\"wu-tieredmenu wu-tieredmenu-overlay p-tieredmenu p-tieredmenu-overlay p-component\"\n [ngClass]=\"styleClass || ''\"\n [ngStyle]=\"style || null\"\n (focusin)=\"focusIn($event)\"\n (keydown)=\"keydown($event)\"\n >\n <ng-container *ngTemplateOutlet=\"list; context: { $implicit: visibleOf(model), parent: '', root: true }\"></ng-container>\n </div>\n</ng-container>\n<ng-template #inline>\n <div\n class=\"wu-tieredmenu p-tieredmenu p-component\"\n [ngClass]=\"styleClass || ''\"\n [ngStyle]=\"style || null\"\n [class.wu-tieredmenu-disabled]=\"disabled\"\n [class.p-disabled]=\"disabled\"\n (focusin)=\"focusIn($event)\"\n (focusout)=\"focusOut($event)\"\n (keydown)=\"keydown($event)\"\n >\n <ng-container *ngTemplateOutlet=\"list; context: { $implicit: visibleOf(model), parent: '', root: true }\"></ng-container>\n </div>\n</ng-template>\n\n<ng-template #list let-items let-parent=\"parent\" let-root=\"root\">\n <ul\n [class]=\"root ? 'wu-tieredmenu-root-list p-tieredmenu-root-list' : 'wu-tieredmenu-submenu p-tieredmenu-submenu p-submenu-list'\"\n role=\"menu\"\n [attr.aria-label]=\"root ? ariaLabel || null : null\"\n [attr.aria-labelledby]=\"root ? ariaLabelledBy || null : parent ? itemId(parent) : null\"\n >\n <ng-container *ngFor=\"let item of items; let i = index\">\n <li *ngIf=\"item.separator; else entry\" class=\"wu-tieredmenu-separator p-tieredmenu-separator p-menuitem-separator\" role=\"separator\"></li>\n <ng-template #entry>\n <li\n class=\"wu-tieredmenu-item p-tieredmenu-item p-menuitem\"\n role=\"none\"\n [ngClass]=\"item.styleClass || ''\"\n [ngStyle]=\"item.style || null\"\n [class.wu-tieredmenu-item-active]=\"isOpen(keyOf(parent, i))\"\n [class.p-tieredmenu-item-active]=\"isOpen(keyOf(parent, i))\"\n [class.p-menuitem-active]=\"isOpen(keyOf(parent, i))\"\n [class.wu-tieredmenu-item-disabled]=\"item.disabled\"\n [class.p-disabled]=\"item.disabled\"\n (mouseenter)=\"itemEnter(item, keyOf(parent, i))\"\n >\n <div class=\"wu-tieredmenu-item-content p-tieredmenu-item-content\">\n <a\n *ngIf=\"routed(item) && !hasChildren(item); else plain\"\n class=\"wu-tieredmenu-item-link p-tieredmenu-item-link p-menuitem-link\"\n role=\"menuitem\"\n [id]=\"itemId(keyOf(parent, i))\"\n [attr.data-wu-key]=\"keyOf(parent, i)\"\n [attr.tabindex]=\"tabindexOf(keyOf(parent, i))\"\n [attr.title]=\"item.title || null\"\n [attr.target]=\"item.target || null\"\n [attr.data-automationid]=\"item.automationId || null\"\n [routerLink]=\"item.routerLink\"\n [queryParams]=\"item.queryParams\"\n [queryParamsHandling]=\"item.queryParamsHandling\"\n [fragment]=\"item.fragment\"\n [preserveFragment]=\"!!item.preserveFragment\"\n [skipLocationChange]=\"!!item.skipLocationChange\"\n [replaceUrl]=\"!!item.replaceUrl\"\n [state]=\"item.state\"\n routerLinkActive=\"wu-tieredmenu-link-active p-menuitem-link-active\"\n [routerLinkActiveOptions]=\"item.routerLinkActiveOptions || { exact: false }\"\n (click)=\"itemClick($event, item, keyOf(parent, i))\"\n >\n <ng-container *ngTemplateOutlet=\"content; context: { $implicit: item }\"></ng-container>\n </a>\n <ng-template #plain>\n <a\n class=\"wu-tieredmenu-item-link p-tieredmenu-item-link p-menuitem-link\"\n role=\"menuitem\"\n [id]=\"itemId(keyOf(parent, i))\"\n [attr.data-wu-key]=\"keyOf(parent, i)\"\n [attr.tabindex]=\"tabindexOf(keyOf(parent, i))\"\n [attr.href]=\"hasChildren(item) ? null : hrefOf(item)\"\n [attr.title]=\"item.title || null\"\n [attr.target]=\"item.url ? item.target || null : null\"\n [attr.data-automationid]=\"item.automationId || null\"\n [attr.aria-haspopup]=\"hasChildren(item) ? 'menu' : null\"\n [attr.aria-expanded]=\"hasChildren(item) ? isOpen(keyOf(parent, i)) : null\"\n [attr.aria-disabled]=\"item.disabled || null\"\n (click)=\"itemClick($event, item, keyOf(parent, i))\"\n >\n <ng-container *ngTemplateOutlet=\"content; context: { $implicit: item }\"></ng-container>\n </a>\n </ng-template>\n </div>\n <ng-container *ngIf=\"hasChildren(item) && isOpen(keyOf(parent, i))\">\n <ng-container *ngTemplateOutlet=\"list; context: { $implicit: visibleOf(item.items), parent: keyOf(parent, i), root: false }\"></ng-container>\n </ng-container>\n </li>\n </ng-template>\n </ng-container>\n </ul>\n</ng-template>\n\n<ng-template #content let-item>\n <ng-container *ngIf=\"itemTemplate; else defaultContent\">\n <ng-container *ngTemplateOutlet=\"itemTemplate; context: { $implicit: item, hasSubmenu: hasChildren(item) }\"></ng-container>\n </ng-container>\n <ng-template #defaultContent>\n <span *ngIf=\"item.icon\" class=\"wu-tieredmenu-item-icon p-tieredmenu-item-icon p-menuitem-icon\" [ngClass]=\"item.icon\" [ngStyle]=\"item.iconStyle || null\" aria-hidden=\"true\"></span>\n <span *ngIf=\"item.escape !== false; else html\" class=\"wu-tieredmenu-item-label p-tieredmenu-item-label p-menuitem-text\">{{ item.label }}</span>\n <ng-template #html><span class=\"wu-tieredmenu-item-label p-tieredmenu-item-label p-menuitem-text\" [innerHTML]=\"item.label\"></span></ng-template>\n <span *ngIf=\"item.badge\" class=\"wu-tieredmenu-badge p-badge\" [ngClass]=\"item.badgeStyleClass || ''\">{{ item.badge }}</span>\n </ng-template>\n <ng-container *ngIf=\"hasChildren(item)\">\n <ng-container *ngIf=\"submenuIconTemplate; else chevron\">\n <ng-container *ngTemplateOutlet=\"submenuIconTemplate\"></ng-container>\n </ng-container>\n <ng-template #chevron>\n <svg class=\"wu-tieredmenu-submenu-icon p-tieredmenu-submenu-icon\" viewBox=\"0 0 16 16\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.6\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"m6.5 3.5 4.5 4.5-4.5 4.5\"></path></svg>\n </ng-template>\n </ng-container>\n</ng-template>\n","import { NgModule } from '@angular/core';\nimport { WuTieredMenu } from './tieredmenu.component';\n\n/** For NgModule apps. Standalone apps can import `WuTieredMenu` directly. */\n@NgModule({\n imports: [WuTieredMenu],\n exports: [WuTieredMenu],\n})\nexport class WuTieredMenuModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["ɵtoBool","ɵuniqueId","ɵassertSupportedAngular","ɵWU_SKIP_VERSION_CHECK","ɵfindTemplate","ɵWuPopup"],"mappings":";;;;;;AA8BA,MAAM,UAAU,GAAG,CAAC,CAAU,MAAmC,CAAC,YAAY,WAAW,GAAG,CAAC,GAAG,IAAI,CAAC;AACrG,MAAM,KAAK,GAAG,uBAAuB;AAErC;;;;;AAKG;MAWU,YAAY,CAAA;AAEvB,IAAA,IAAa,KAAK,CAAC,CAAU,EAAA,EAAI,IAAI,CAAC,MAAM,GAAGA,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC;IAC3D,IAAI,KAAK,KAAc,OAAO,IAAI,CAAC,MAAM,CAAC,CAAC;;AAE3C,IAAA,IAAa,WAAW,CAAC,CAAU,IAAI,IAAI,CAAC,YAAY,GAAG,CAAC,KAAK,SAAS,IAAIA,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC;AAC1F,IAAA,IAAa,QAAQ,CAAC,CAAU,EAAA,EAAI,IAAI,CAAC,SAAS,GAAGA,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC;IACjE,IAAI,QAAQ,KAAc,OAAO,IAAI,CAAC,SAAS,CAAC,CAAC;AAyCjD,IAAA,WAAA,GAAA;AAzBmB,QAAA,IAAA,CAAA,MAAM,GAAG,IAAI,YAAY,EAAQ;AACjC,QAAA,IAAA,CAAA,MAAM,GAAG,IAAI,YAAY,EAAQ;AAO3C,QAAA,IAAA,CAAA,MAAM,GAAGC,SAAS,CAAC,eAAe,CAAC;;QAE5C,IAAA,CAAA,OAAO,GAAG,KAAK;;QAEf,IAAA,CAAA,QAAQ,GAAa,EAAE;QACvB,IAAA,CAAA,UAAU,GAAkB,IAAI;QACxB,IAAA,CAAA,MAAM,GAAG,KAAK;QACd,IAAA,CAA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HAEX,kBAAkB,EAAA,CAAA,CAAA;;4FAAlB,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAJ9B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,OAAO,EAAE,CAAC,YAAY,CAAC;AACxB,iBAAA;;;ACPD;;AAEG;;"}
1
+ {"version":3,"file":"wirabyte-ui-tieredmenu.mjs","sources":["../../lib/tieredmenu/tieredmenu.component.ts","../../lib/tieredmenu/tieredmenu.component.html","../../lib/tieredmenu/tieredmenu.module.ts","../../lib/tieredmenu/wirabyte-ui-tieredmenu.ts"],"sourcesContent":["import { DOCUMENT, NgClass, NgFor, NgIf, NgStyle, NgTemplateOutlet } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ContentChild,\n ContentChildren,\n ElementRef,\n EventEmitter,\n inject,\n Input,\n OnDestroy,\n Output,\n QueryList,\n TemplateRef,\n ViewChild,\n ViewEncapsulation,\n} from '@angular/core';\nimport { RouterLink, RouterLinkActive } from '@angular/router';\nimport {\n ɵassertSupportedAngular,\n ɵfindTemplate,\n ɵtoBool,\n ɵuniqueId,\n ɵWU_SKIP_VERSION_CHECK,\n ɵWuPopup,\n WuMenuItem,\n WuTemplate,\n} from '@wirabyte/ui/config';\n\nconst asTemplate = (v: unknown): TemplateRef<unknown> | null => (v instanceof TemplateRef ? v : null);\nconst PHONE = '(max-width: 575.98px)';\n\n/**\n * A menu whose items open submenus beside them: `<wu-tieredMenu [model]=\"items\">` in place, or a popup from a button\n * (`[popup]=\"true\"` + `menu.toggle($event)`). Submenus open on hover, click or Arrow Right; on phones they open\n * below their item instead. Items are menu items (`label`, `icon`, `items`, `routerLink`, `url`, `command`,\n * `separator`, `disabled`).\n */\n@Component({\n selector: 'wu-tieredmenu, wu-tieredMenu, wu-tiered-menu',\n standalone: true,\n exportAs: 'wuTieredMenu',\n imports: [NgClass, NgFor, NgIf, NgStyle, NgTemplateOutlet, RouterLink, RouterLinkActive],\n templateUrl: './tieredmenu.component.html',\n styleUrls: ['./tieredmenu.css'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class WuTieredMenu implements OnDestroy {\n @Input() model: WuMenuItem[] | null | undefined;\n @Input() set popup(v: unknown) { this._popup = ɵtoBool(v); }\n get popup(): boolean { return this._popup; }\n /** Submenus open when the pointer rests on their item. Default true. */\n @Input() set autoDisplay(v: unknown) { this._autoDisplay = v === undefined || ɵtoBool(v); }\n @Input() set disabled(v: unknown) { this._disabled = ɵtoBool(v); }\n get disabled(): boolean { return this._disabled; }\n @Input() styleClass?: string | null;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n @Input() style?: Record<string, any> | null;\n @Input() ariaLabel?: string;\n @Input() ariaLabelledBy?: string;\n /** Stays on the host element (accepted, not copied inside, so ids stay unique). */\n @Input() id?: string;\n /** Accepted for templates moving over: the popup opens in the top layer. */\n @Input() appendTo: unknown;\n @Input() autoZIndex: unknown;\n @Input() baseZIndex: unknown;\n @Input() showTransitionOptions: unknown;\n @Input() hideTransitionOptions: unknown;\n @Input() tabindex: unknown;\n\n @Output() readonly onShow = new EventEmitter<void>();\n @Output() readonly onHide = new EventEmitter<void>();\n\n @ContentChildren(WuTemplate) protected templates?: QueryList<WuTemplate>;\n @ContentChild('item', { descendants: false }) protected itemRef?: unknown;\n @ContentChild('submenuicon', { descendants: false }) protected submenuIconRef?: unknown;\n @ViewChild('panel') protected panelRef?: ElementRef<HTMLElement>;\n\n readonly menuId = ɵuniqueId('wu-tieredmenu');\n /** The popup is open. */\n visible = false;\n /** Keys of the open items, one per level (`'0'`, `'0_2'`, …). */\n openPath: string[] = [];\n focusedKey: string | null = null;\n private _popup = false;\n private _autoDisplay = true;\n private _disabled = false;\n private anchor: HTMLElement | null = null;\n private keyActivated = false;\n private hoverOpened: { key: string; at: number } | null = null;\n private popupRef: ɵWuPopup | null = null;\n private readonly cdr = inject(ChangeDetectorRef);\n private readonly host: HTMLElement = inject(ElementRef).nativeElement;\n private readonly doc = inject(DOCUMENT);\n\n constructor() {\n ɵassertSupportedAngular(inject(ɵWU_SKIP_VERSION_CHECK, { optional: true }));\n }\n\n ngOnDestroy(): void {\n this.popupRef?.close();\n }\n\n // ---------- what the template reads ----------\n\n get itemTemplate(): TemplateRef<unknown> | null {\n return asTemplate(this.itemRef) || ɵfindTemplate(this.templates, 'item');\n }\n get submenuIconTemplate(): TemplateRef<unknown> | null {\n return asTemplate(this.submenuIconRef) || ɵfindTemplate(this.templates, 'submenuicon');\n }\n visibleOf(items: WuMenuItem[] | null | undefined): WuMenuItem[] {\n return (items || []).filter((it) => it && it.visible !== false);\n }\n keyOf(parent: string, index: number): string {\n return parent ? `${parent}_${index}` : String(index);\n }\n itemId(key: string): string {\n return `${this.menuId}_${key}`;\n }\n hasChildren(item: WuMenuItem): boolean {\n return this.visibleOf(item.items).length > 0;\n }\n isOpen(key: string): boolean {\n return this.openPath.includes(key);\n }\n routed(item: WuMenuItem): boolean {\n return item.routerLink !== undefined && item.routerLink !== null && !item.disabled;\n }\n hrefOf(item: WuMenuItem): string | null {\n return item.url && !item.disabled ? item.url : null;\n }\n /** Roving tab stop: one item of the inline menu is reachable with Tab, arrows do the rest. */\n tabindexOf(key: string): number {\n if (this._popup) return -1;\n return key === (this.focusedKey ?? this.firstKey('')) ? 0 : -1;\n }\n\n // ---------- popup ----------\n\n toggle(event?: Event): void {\n if (this.visible) this.hide();\n else this.show(event);\n }\n\n /** Opens the popup next to the element the event came from. */\n show(event?: Event): void {\n if (!this._popup || this.visible || this._disabled) return;\n const target = (event?.currentTarget || event?.target) as HTMLElement | null;\n this.anchor = target instanceof HTMLElement ? target : this.anchor;\n this.visible = true;\n this.openPath = [];\n this.cdr.detectChanges();\n const panel = this.panelRef?.nativeElement;\n if (panel && this.anchor) {\n this.popupRef = new ɵWuPopup(this.anchor, panel, {\n sheet: false,\n sheetClass: 'wu-tieredmenu-sheet',\n modalClass: 'wu-tieredmenu-modal',\n onOutside: () => this.hide(),\n onEscape: () => this.hide(true),\n });\n this.popupRef.open();\n }\n const first = this.firstKey('');\n if (first !== null) this.focus(first);\n this.onShow.emit();\n }\n\n /** `refocus`: put focus back on what opened it. */\n hide(refocus = false): void {\n if (!this.visible) return;\n this.popupRef?.close();\n this.popupRef = null;\n this.visible = false;\n this.openPath = [];\n this.focusedKey = null;\n this.cdr.markForCheck();\n if (refocus) this.anchor?.focus();\n this.onHide.emit();\n }\n\n // ---------- pointer ----------\n\n itemEnter(item: WuMenuItem, key: string): void {\n if (this.phone || item.disabled) return;\n if (!this._autoDisplay && !this.openPath.length) return;\n const opens = this.hasChildren(item) && !this.isOpen(key);\n this.openTo(key, this.hasChildren(item));\n if (opens) this.hoverOpened = { key, at: Date.now() };\n }\n\n itemClick(event: MouseEvent | KeyboardEvent, item: WuMenuItem, key: string): void {\n if (item.disabled) {\n event.preventDefault();\n return;\n }\n if (this.hasChildren(item)) {\n event.preventDefault();\n // A click right after the pointer opened it (touch screens send both) keeps it open.\n const justOpened = this.hoverOpened?.key === key && Date.now() - this.hoverOpened.at < 600;\n if (this.isOpen(key) && !justOpened) this.openPath = this.openPath.filter((k) => !k.startsWith(key));\n else this.openTo(key, true);\n this.hoverOpened = null;\n this.focusedKey = key;\n this.cdr.markForCheck();\n return;\n }\n if (!item.url && !this.routed(item)) event.preventDefault();\n const fromKeyboard = event instanceof KeyboardEvent || this.keyActivated;\n this.keyActivated = false;\n if (this._popup) this.hide(fromKeyboard);\n else {\n this.openPath = [];\n this.cdr.markForCheck();\n }\n item.command?.({ originalEvent: event, item });\n }\n\n focusIn(event: FocusEvent): void {\n const key = (event.target as HTMLElement).getAttribute?.('data-wu-key');\n if (key !== null && key !== undefined) this.focusedKey = key;\n }\n\n /** Inline menu: submenus close when focus leaves it. */\n focusOut(event: FocusEvent): void {\n const next = event.relatedTarget as Node | null;\n if (this._popup || (next && this.host.contains(next))) return;\n if (this.openPath.length) {\n this.openPath = [];\n this.cdr.markForCheck();\n }\n }\n\n // ---------- keyboard ----------\n\n keydown(event: KeyboardEvent): void {\n const key = (event.target as HTMLElement).getAttribute('data-wu-key');\n if (key === null) return;\n const parent = key.includes('_') ? key.slice(0, key.lastIndexOf('_')) : '';\n const item = this.itemAt(key);\n if (!item) return;\n switch (event.key) {\n case 'ArrowDown':\n event.preventDefault();\n this.focus(this.stepKey(parent, key, 1));\n break;\n case 'ArrowUp':\n event.preventDefault();\n this.focus(this.stepKey(parent, key, -1));\n break;\n case 'Home':\n event.preventDefault();\n this.focus(this.firstKey(parent));\n break;\n case 'End':\n event.preventDefault();\n this.focus(this.lastKey(parent));\n break;\n case 'ArrowRight':\n if (this.hasChildren(item) && !item.disabled) {\n event.preventDefault();\n this.openTo(key, true);\n this.focus(this.firstKey(key));\n }\n break;\n case 'ArrowLeft':\n if (parent) {\n event.preventDefault();\n this.openPath = this.openPath.filter((k) => !k.startsWith(parent));\n this.focus(parent);\n }\n break;\n case 'Escape':\n if (parent) {\n event.preventDefault();\n event.stopPropagation();\n this.openPath = this.openPath.filter((k) => !k.startsWith(parent));\n this.focus(parent);\n } else if (this._popup) {\n event.preventDefault();\n this.hide(true);\n }\n break;\n case 'Enter':\n case ' ':\n event.preventDefault();\n if (this.hasChildren(item) && !item.disabled) {\n this.openTo(key, true);\n this.focus(this.firstKey(key));\n } else {\n this.keyActivated = true;\n (event.target as HTMLElement).click();\n this.keyActivated = false;\n }\n break;\n case 'Tab':\n if (this._popup) this.hide();\n break;\n }\n }\n\n // ---------- internals ----------\n\n private get phone(): boolean {\n const win = this.doc.defaultView;\n return !!win?.matchMedia && win.matchMedia(PHONE).matches;\n }\n\n /** Opens the path down to `key` (and `key` itself when it has a submenu); closes the rest. */\n private openTo(key: string, includeSelf: boolean): void {\n const parts = key.split('_');\n const path: string[] = [];\n for (let i = 1; i < parts.length; i++) path.push(parts.slice(0, i).join('_'));\n if (includeSelf) path.push(key);\n const same = path.length === this.openPath.length && path.every((k, i) => k === this.openPath[i]);\n if (same) return;\n this.openPath = path;\n this.cdr.markForCheck();\n // After the view shows it: keep the submenu on screen.\n if (includeSelf) Promise.resolve().then(() => this.fit(key));\n }\n\n /** Flips a submenu to the other side, or lifts it, when it would leave the window. */\n private fit(key: string): void {\n const li = this.host.ownerDocument.getElementById(this.itemId(key))?.closest('li');\n const sub = li?.querySelector(':scope > .wu-tieredmenu-submenu') as HTMLElement | null;\n const win = this.doc.defaultView;\n if (!sub || !win || this.phone) return;\n sub.classList.remove('wu-tieredmenu-submenu-flip');\n sub.style.top = '';\n const r = sub.getBoundingClientRect();\n const vw = this.doc.documentElement.clientWidth || win.innerWidth;\n const vh = this.doc.documentElement.clientHeight || win.innerHeight;\n if (r.right > vw - 4) sub.classList.add('wu-tieredmenu-submenu-flip');\n if (r.bottom > vh - 4) sub.style.top = `${Math.max(-(r.top - 4), vh - 4 - r.bottom)}px`;\n }\n\n private itemAt(key: string): WuMenuItem | null {\n let list = this.visibleOf(this.model);\n let item: WuMenuItem | null = null;\n for (const part of key.split('_')) {\n item = list[Number(part)] || null;\n if (!item) return null;\n list = this.visibleOf(item.items);\n }\n return item;\n }\n\n private childrenKeys(parent: string): string[] {\n const list = parent ? this.visibleOf(this.itemAt(parent)?.items) : this.visibleOf(this.model);\n const out: string[] = [];\n list.forEach((it, i) => {\n if (!it.separator && !it.disabled) out.push(this.keyOf(parent, i));\n });\n return out;\n }\n\n private firstKey(parent: string): string | null {\n return this.childrenKeys(parent)[0] ?? null;\n }\n\n private lastKey(parent: string): string | null {\n const k = this.childrenKeys(parent);\n return k[k.length - 1] ?? null;\n }\n\n private stepKey(parent: string, key: string, step: number): string | null {\n const keys = this.childrenKeys(parent);\n if (!keys.length) return null;\n const i = keys.indexOf(key);\n return keys[(i + step + keys.length) % keys.length];\n }\n\n private focus(key: string | null): void {\n if (key === null) return;\n this.focusedKey = key;\n this.cdr.detectChanges();\n (this.host.ownerDocument.getElementById(this.itemId(key)) as HTMLElement | null)?.focus();\n }\n}\n","<ng-container *ngIf=\"popup; else inline\">\n <div\n *ngIf=\"visible\"\n #panel\n popover=\"manual\"\n class=\"wu-tieredmenu wu-tieredmenu-overlay p-tieredmenu p-tieredmenu-overlay p-component\"\n [ngClass]=\"styleClass || ''\"\n [ngStyle]=\"style || null\"\n (focusin)=\"focusIn($event)\"\n (keydown)=\"keydown($event)\"\n >\n <ng-container *ngTemplateOutlet=\"list; context: { $implicit: visibleOf(model), parent: '', root: true }\"></ng-container>\n </div>\n</ng-container>\n<ng-template #inline>\n <div\n class=\"wu-tieredmenu p-tieredmenu p-component\"\n [ngClass]=\"styleClass || ''\"\n [ngStyle]=\"style || null\"\n [class.wu-tieredmenu-disabled]=\"disabled\"\n [class.p-disabled]=\"disabled\"\n (focusin)=\"focusIn($event)\"\n (focusout)=\"focusOut($event)\"\n (keydown)=\"keydown($event)\"\n >\n <ng-container *ngTemplateOutlet=\"list; context: { $implicit: visibleOf(model), parent: '', root: true }\"></ng-container>\n </div>\n</ng-template>\n\n<ng-template #list let-items let-parent=\"parent\" let-root=\"root\">\n <ul\n [class]=\"root ? 'wu-tieredmenu-root-list p-tieredmenu-root-list' : 'wu-tieredmenu-submenu p-tieredmenu-submenu p-submenu-list'\"\n role=\"menu\"\n [attr.aria-label]=\"root ? ariaLabel || null : null\"\n [attr.aria-labelledby]=\"root ? ariaLabelledBy || null : parent ? itemId(parent) : null\"\n >\n <ng-container *ngFor=\"let item of items; let i = index\">\n <li *ngIf=\"item.separator; else entry\" class=\"wu-tieredmenu-separator p-tieredmenu-separator p-menuitem-separator\" role=\"separator\"></li>\n <ng-template #entry>\n <li\n class=\"wu-tieredmenu-item p-tieredmenu-item p-menuitem\"\n role=\"none\"\n [ngClass]=\"item.styleClass || ''\"\n [ngStyle]=\"item.style || null\"\n [class.wu-tieredmenu-item-active]=\"isOpen(keyOf(parent, i))\"\n [class.p-tieredmenu-item-active]=\"isOpen(keyOf(parent, i))\"\n [class.p-menuitem-active]=\"isOpen(keyOf(parent, i))\"\n [class.wu-tieredmenu-item-disabled]=\"item.disabled\"\n [class.p-disabled]=\"item.disabled\"\n (mouseenter)=\"itemEnter(item, keyOf(parent, i))\"\n >\n <div class=\"wu-tieredmenu-item-content p-tieredmenu-item-content\">\n <a\n *ngIf=\"routed(item) && !hasChildren(item); else plain\"\n class=\"wu-tieredmenu-item-link p-tieredmenu-item-link p-menuitem-link\"\n role=\"menuitem\"\n [id]=\"itemId(keyOf(parent, i))\"\n [attr.data-wu-key]=\"keyOf(parent, i)\"\n [attr.tabindex]=\"tabindexOf(keyOf(parent, i))\"\n [attr.title]=\"item.title || null\"\n [attr.target]=\"item.target || null\"\n [attr.data-automationid]=\"item.automationId || null\"\n [routerLink]=\"item.routerLink\"\n [queryParams]=\"item.queryParams\"\n [queryParamsHandling]=\"item.queryParamsHandling\"\n [fragment]=\"item.fragment\"\n [preserveFragment]=\"!!item.preserveFragment\"\n [skipLocationChange]=\"!!item.skipLocationChange\"\n [replaceUrl]=\"!!item.replaceUrl\"\n [state]=\"item.state\"\n routerLinkActive=\"wu-tieredmenu-link-active p-menuitem-link-active\"\n [routerLinkActiveOptions]=\"item.routerLinkActiveOptions || { exact: false }\"\n (click)=\"itemClick($event, item, keyOf(parent, i))\"\n >\n <ng-container *ngTemplateOutlet=\"content; context: { $implicit: item }\"></ng-container>\n </a>\n <ng-template #plain>\n <a\n class=\"wu-tieredmenu-item-link p-tieredmenu-item-link p-menuitem-link\"\n role=\"menuitem\"\n [id]=\"itemId(keyOf(parent, i))\"\n [attr.data-wu-key]=\"keyOf(parent, i)\"\n [attr.tabindex]=\"tabindexOf(keyOf(parent, i))\"\n [attr.href]=\"hasChildren(item) ? null : hrefOf(item)\"\n [attr.title]=\"item.title || null\"\n [attr.target]=\"item.url ? item.target || null : null\"\n [attr.data-automationid]=\"item.automationId || null\"\n [attr.aria-haspopup]=\"hasChildren(item) ? 'menu' : null\"\n [attr.aria-expanded]=\"hasChildren(item) ? isOpen(keyOf(parent, i)) : null\"\n [attr.aria-disabled]=\"item.disabled || null\"\n (click)=\"itemClick($event, item, keyOf(parent, i))\"\n >\n <ng-container *ngTemplateOutlet=\"content; context: { $implicit: item }\"></ng-container>\n </a>\n </ng-template>\n </div>\n <ng-container *ngIf=\"hasChildren(item) && isOpen(keyOf(parent, i))\">\n <ng-container *ngTemplateOutlet=\"list; context: { $implicit: visibleOf(item.items), parent: keyOf(parent, i), root: false }\"></ng-container>\n </ng-container>\n </li>\n </ng-template>\n </ng-container>\n </ul>\n</ng-template>\n\n<ng-template #content let-item>\n <ng-container *ngIf=\"itemTemplate; else defaultContent\">\n <ng-container *ngTemplateOutlet=\"itemTemplate; context: { $implicit: item, hasSubmenu: hasChildren(item) }\"></ng-container>\n </ng-container>\n <ng-template #defaultContent>\n <span *ngIf=\"item.icon\" class=\"wu-tieredmenu-item-icon p-tieredmenu-item-icon p-menuitem-icon\" [ngClass]=\"item.icon\" [ngStyle]=\"item.iconStyle || null\" aria-hidden=\"true\"></span>\n <span *ngIf=\"item.escape !== false; else html\" class=\"wu-tieredmenu-item-label p-tieredmenu-item-label p-menuitem-text\">{{ item.label }}</span>\n <ng-template #html><span class=\"wu-tieredmenu-item-label p-tieredmenu-item-label p-menuitem-text\" [innerHTML]=\"item.label\"></span></ng-template>\n <span *ngIf=\"item.badge\" class=\"wu-tieredmenu-badge p-badge\" [ngClass]=\"item.badgeStyleClass || ''\">{{ item.badge }}</span>\n </ng-template>\n <ng-container *ngIf=\"hasChildren(item)\">\n <ng-container *ngIf=\"submenuIconTemplate; else chevron\">\n <ng-container *ngTemplateOutlet=\"submenuIconTemplate\"></ng-container>\n </ng-container>\n <ng-template #chevron>\n <svg class=\"wu-tieredmenu-submenu-icon p-tieredmenu-submenu-icon\" viewBox=\"0 0 16 16\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.6\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"m6.5 3.5 4.5 4.5-4.5 4.5\"></path></svg>\n </ng-template>\n </ng-container>\n</ng-template>\n","import { NgModule } from '@angular/core';\nimport { WuTieredMenu } from './tieredmenu.component';\n\n/** For NgModule apps. Standalone apps can import `WuTieredMenu` directly. */\n@NgModule({\n imports: [WuTieredMenu],\n exports: [WuTieredMenu],\n})\nexport class WuTieredMenuModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["ɵtoBool","ɵuniqueId","ɵassertSupportedAngular","ɵWU_SKIP_VERSION_CHECK","ɵfindTemplate","ɵWuPopup"],"mappings":";;;;;;AA8BA,MAAM,UAAU,GAAG,CAAC,CAAU,MAAmC,CAAC,YAAY,WAAW,GAAG,CAAC,GAAG,IAAI,CAAC;AACrG,MAAM,KAAK,GAAG,uBAAuB;AAErC;;;;;AAKG;MAWU,YAAY,CAAA;AAEvB,IAAA,IAAa,KAAK,CAAC,CAAU,EAAA,EAAI,IAAI,CAAC,MAAM,GAAGA,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC;IAC3D,IAAI,KAAK,KAAc,OAAO,IAAI,CAAC,MAAM,CAAC,CAAC;;AAE3C,IAAA,IAAa,WAAW,CAAC,CAAU,IAAI,IAAI,CAAC,YAAY,GAAG,CAAC,KAAK,SAAS,IAAIA,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC;AAC1F,IAAA,IAAa,QAAQ,CAAC,CAAU,EAAA,EAAI,IAAI,CAAC,SAAS,GAAGA,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC;IACjE,IAAI,QAAQ,KAAc,OAAO,IAAI,CAAC,SAAS,CAAC,CAAC;AAyCjD,IAAA,WAAA,GAAA;AAzBmB,QAAA,IAAA,CAAA,MAAM,GAAG,IAAI,YAAY,EAAQ;AACjC,QAAA,IAAA,CAAA,MAAM,GAAG,IAAI,YAAY,EAAQ;AAO3C,QAAA,IAAA,CAAA,MAAM,GAAGC,SAAS,CAAC,eAAe,CAAC;;QAE5C,IAAA,CAAA,OAAO,GAAG,KAAK;;QAEf,IAAA,CA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AE,UAAU,EAAE,gBAAgB,CAAC,EAAA,aAAA,EAGzE,iBAAiB,CAAC,IAAI,EAAA,eAAA,EACpB,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,qgNAAA,EAAA,MAAA,EAAA,CAAA,0uFAAA,CAAA,EAAA;;sBAG9C;;sBACA;;sBAGA;;sBACA;;sBAEA;;sBAEA;;sBACA;;sBACA;;sBAEA;;sBAEA;;sBACA;;sBACA;;sBACA;;sBACA;;sBACA;;sBAEA;;sBACA;;sBAEA,eAAe;uBAAC,UAAU;;sBAC1B,YAAY;AAAC,gBAAA,IAAA,EAAA,CAAA,MAAM,EAAE,EAAE,WAAW,EAAE,KAAK,EAAE;;sBAC3C,YAAY;AAAC,gBAAA,IAAA,EAAA,CAAA,aAAa,EAAE,EAAE,WAAW,EAAE,KAAK,EAAE;;sBAClD,SAAS;uBAAC,OAAO;;;AE3EpB;MAKa,kBAAkB,CAAA;+GAAlB,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;gHAAlB,kBAAkB,EAAA,OAAA,EAAA,CAHnB,YAAY,CAAA,EAAA,OAAA,EAAA,CACZ,YAAY,CAAA,EAAA,CAAA,CAAA;gHAEX,kBAAkB,EAAA,CAAA,CAAA;;4FAAlB,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAJ9B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,OAAO,EAAE,CAAC,YAAY,CAAC;AACxB,iBAAA;;;ACPD;;AAEG;;"}
@@ -37,10 +37,10 @@ class ɵWuTimelineBase {
37
37
  context(event, index) {
38
38
  return { $implicit: event, index };
39
39
  }
40
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ɵWuTimelineBase, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
41
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: ɵWuTimelineBase, inputs: { value: "value", align: "align", layout: "layout", styleClass: "styleClass", style: "style" }, queries: [{ propertyName: "contentRef", first: true, predicate: ["content"] }, { propertyName: "oppositeRef", first: true, predicate: ["opposite"] }, { propertyName: "markerRef", first: true, predicate: ["marker"] }, { propertyName: "templates", predicate: WuTemplate }], ngImport: i0 }); }
40
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ɵWuTimelineBase, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
41
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.25", type: ɵWuTimelineBase, isStandalone: true, inputs: { value: "value", align: "align", layout: "layout", styleClass: "styleClass", style: "style" }, queries: [{ propertyName: "contentRef", first: true, predicate: ["content"] }, { propertyName: "oppositeRef", first: true, predicate: ["opposite"] }, { propertyName: "markerRef", first: true, predicate: ["marker"] }, { propertyName: "templates", predicate: WuTemplate }], ngImport: i0 }); }
42
42
  }
43
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ɵWuTimelineBase, decorators: [{
43
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ɵWuTimelineBase, decorators: [{
44
44
  type: Directive
45
45
  }], ctorParameters: () => [], propDecorators: { value: [{
46
46
  type: Input
@@ -68,8 +68,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
68
68
 
69
69
  /** Events along a line: `<wu-timeline [value]="events"><ng-template #content let-e>{{ e.status }}</ng-template></wu-timeline>`. */
70
70
  class WuTimeline extends ɵWuTimelineBase {
71
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: WuTimeline, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
72
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: WuTimeline, isStandalone: true, selector: "wu-timeline", usesInheritance: true, ngImport: i0, template: `
71
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: WuTimeline, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
72
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.25", type: WuTimeline, isStandalone: true, selector: "wu-timeline", usesInheritance: true, ngImport: i0, template: `
73
73
  <div [class]="rootClasses" [class.wu-timeline-no-opposite]="!oppositeTemplate" [ngClass]="styleClass || ''" [ngStyle]="style || null">
74
74
  @for (event of events; track $index; let i = $index, last = $last) {
75
75
  <div class="wu-timeline-event p-timeline-event">
@@ -98,7 +98,7 @@ class WuTimeline extends ɵWuTimelineBase {
98
98
  </div>
99
99
  `, isInline: true, styles: ["@layer wiraui.components{wu-timeline{display:block}.wu-timeline{display:flex;flex-direction:column;font-family:var(--wu-font-family);font-size:var(--wu-font-size);line-height:var(--wu-line-height);color:var(--wu-text)}.wu-timeline-event{position:relative;display:flex;min-height:var(--wu-timeline-event-min-height)}.wu-timeline-event:last-child{min-height:0}.wu-timeline-event-opposite,.wu-timeline-event-content{flex:1;min-width:0;padding:var(--wu-timeline-content-padding)}.wu-timeline-event-separator{flex:none;display:flex;flex-direction:column;align-items:center}.wu-timeline-event-marker{box-sizing:border-box;flex:none;width:var(--wu-timeline-marker-size);height:var(--wu-timeline-marker-size);border:var(--wu-timeline-marker-border-width) solid var(--wu-timeline-marker-border-color);border-radius:50%;background:var(--wu-timeline-marker-bg)}.wu-timeline-event-connector{flex-grow:1;width:var(--wu-timeline-connector-size);background:var(--wu-timeline-connector-color)}.wu-timeline-left .wu-timeline-event-opposite{text-align:right}.wu-timeline-left .wu-timeline-event-content{text-align:left}.wu-timeline-right .wu-timeline-event{flex-direction:row-reverse}.wu-timeline-right .wu-timeline-event-opposite{text-align:left}.wu-timeline-right .wu-timeline-event-content{text-align:right}.wu-timeline-vertical.wu-timeline-alternate .wu-timeline-event:nth-child(2n){flex-direction:row-reverse}.wu-timeline-vertical.wu-timeline-alternate .wu-timeline-event:nth-child(odd) .wu-timeline-event-opposite{text-align:right}.wu-timeline-vertical.wu-timeline-alternate .wu-timeline-event:nth-child(2n) .wu-timeline-event-content{text-align:right}.wu-timeline-vertical.wu-timeline-no-opposite:not(.wu-timeline-alternate) .wu-timeline-event-opposite{display:none}.wu-timeline-horizontal{flex-direction:row}.wu-timeline-horizontal .wu-timeline-event{flex:1;flex-direction:column;min-height:0}.wu-timeline-horizontal .wu-timeline-event:last-child{flex:0}.wu-timeline-horizontal .wu-timeline-event-separator{flex-direction:row}.wu-timeline-horizontal .wu-timeline-event-connector{width:100%;height:var(--wu-timeline-connector-size)}.wu-timeline-horizontal .wu-timeline-event-opposite,.wu-timeline-horizontal .wu-timeline-event-content{padding:var(--wu-timeline-horizontal-padding)}.wu-timeline-bottom .wu-timeline-event{flex-direction:column-reverse}.wu-timeline-horizontal.wu-timeline-alternate .wu-timeline-event:nth-child(2n){flex-direction:column-reverse}.wu-timeline-horizontal.wu-timeline-no-opposite:not(.wu-timeline-alternate) .wu-timeline-event-opposite{display:none}}\n"], dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
100
100
  }
101
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: WuTimeline, decorators: [{
101
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: WuTimeline, decorators: [{
102
102
  type: Component,
103
103
  args: [{ selector: 'wu-timeline', standalone: true, imports: [NgClass, NgStyle, NgTemplateOutlet], template: `
104
104
  <div [class]="rootClasses" [class.wu-timeline-no-opposite]="!oppositeTemplate" [ngClass]="styleClass || ''" [ngStyle]="style || null">
@@ -132,11 +132,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
132
132
 
133
133
  /** For NgModule apps (with `WuTemplate` for `pTemplate="content"` / `"opposite"` / `"marker"`). */
134
134
  class WuTimelineModule {
135
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: WuTimelineModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
136
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: WuTimelineModule, imports: [WuTimeline, WuTemplate], exports: [WuTimeline, WuTemplate] }); }
137
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: WuTimelineModule }); }
135
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: WuTimelineModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
136
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.25", ngImport: i0, type: WuTimelineModule, imports: [WuTimeline, WuTemplate], exports: [WuTimeline, WuTemplate] }); }
137
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: WuTimelineModule }); }
138
138
  }
139
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: WuTimelineModule, decorators: [{
139
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: WuTimelineModule, decorators: [{
140
140
  type: NgModule,
141
141
  args: [{
142
142
  imports: [WuTimeline, WuTemplate],
@@ -1 +1 @@
1
- {"version":3,"file":"wirabyte-ui-timeline.mjs","sources":["../../lib/timeline/timeline.base.ts","../../lib/timeline/timeline.component.ts","../../lib/timeline/timeline.module.ts","../../lib/timeline/wirabyte-ui-timeline.ts"],"sourcesContent":["import { ContentChild, ContentChildren, Directive, inject, Input, QueryList, TemplateRef } from '@angular/core';\nimport { ɵassertSupportedAngular, ɵfindTemplate, ɵWU_SKIP_VERSION_CHECK, WuTemplate } from '@wirabyte/ui/config';\n\nconst asTemplate = (v: unknown): TemplateRef<unknown> | null => (v instanceof TemplateRef ? v : null);\n\nexport type WuTimelineAlign = 'left' | 'right' | 'alternate' | 'top' | 'bottom';\nexport type WuTimelineLayout = 'vertical' | 'horizontal';\n\n/** Context of the content / opposite / marker templates: the event and its index. */\nexport interface WuTimelineContext {\n $implicit: unknown;\n index: number;\n}\n\n/**\n * What wu-timeline does, shared by the v1 and v2/v3 templates: events along a line, each with a marker, its content\n * and (optionally) something on the opposite side. Without an `opposite` template the content takes the full width.\n */\n@Directive()\nexport abstract class ɵWuTimelineBase {\n @Input() value: readonly unknown[] | null | undefined = [];\n /** Which side the content sits on: `left` (default), `right`, `alternate`; `top` / `bottom` when horizontal. */\n @Input() align: WuTimelineAlign = 'left';\n @Input() layout: WuTimelineLayout = 'vertical';\n @Input() styleClass?: string;\n @Input() style?: Record<string, string | number> | null;\n\n @ContentChildren(WuTemplate) protected templates?: QueryList<WuTemplate>;\n @ContentChild('content', { descendants: false }) protected contentRef?: unknown;\n @ContentChild('opposite', { descendants: false }) protected oppositeRef?: unknown;\n @ContentChild('marker', { descendants: false }) protected markerRef?: unknown;\n\n readonly trackIndex = (i: number): number => i;\n\n constructor() {\n ɵassertSupportedAngular(inject(ɵWU_SKIP_VERSION_CHECK, { optional: true }));\n }\n\n get events(): readonly unknown[] {\n return this.value || [];\n }\n get contentTemplate(): TemplateRef<unknown> | null {\n return asTemplate(this.contentRef) || ɵfindTemplate(this.templates, 'content');\n }\n get oppositeTemplate(): TemplateRef<unknown> | null {\n return asTemplate(this.oppositeRef) || ɵfindTemplate(this.templates, 'opposite');\n }\n get markerTemplate(): TemplateRef<unknown> | null {\n return asTemplate(this.markerRef) || ɵfindTemplate(this.templates, 'marker');\n }\n get rootClasses(): string {\n const layout = this.layout === 'horizontal' ? 'horizontal' : 'vertical';\n const align = this.align || (layout === 'horizontal' ? 'top' : 'left');\n return `wu-timeline wu-timeline-${align} wu-timeline-${layout} p-timeline p-component p-timeline-${align} p-timeline-${layout}`;\n }\n context(event: unknown, index: number): WuTimelineContext {\n return { $implicit: event, index };\n }\n}\n","import { NgClass, NgStyle, NgTemplateOutlet } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\nimport { ɵWuTimelineBase } from './timeline.base';\n\n/** Events along a line: `<wu-timeline [value]=\"events\"><ng-template #content let-e>{{ e.status }}</ng-template></wu-timeline>`. */\n@Component({\n selector: 'wu-timeline',\n standalone: true,\n imports: [NgClass, NgStyle, NgTemplateOutlet],\n template: `\n <div [class]=\"rootClasses\" [class.wu-timeline-no-opposite]=\"!oppositeTemplate\" [ngClass]=\"styleClass || ''\" [ngStyle]=\"style || null\">\n @for (event of events; track $index; let i = $index, last = $last) {\n <div class=\"wu-timeline-event p-timeline-event\">\n <div class=\"wu-timeline-event-opposite p-timeline-event-opposite\">\n @if (oppositeTemplate) {\n <ng-container *ngTemplateOutlet=\"oppositeTemplate; context: context(event, i)\"></ng-container>\n }\n </div>\n <div class=\"wu-timeline-event-separator p-timeline-event-separator\">\n @if (markerTemplate) {\n <ng-container *ngTemplateOutlet=\"markerTemplate; context: context(event, i)\"></ng-container>\n } @else {\n <div class=\"wu-timeline-event-marker p-timeline-event-marker\"></div>\n }\n @if (!last) {\n <div class=\"wu-timeline-event-connector p-timeline-event-connector\"></div>\n }\n </div>\n <div class=\"wu-timeline-event-content p-timeline-event-content\">\n @if (contentTemplate) {\n <ng-container *ngTemplateOutlet=\"contentTemplate; context: context(event, i)\"></ng-container>\n }\n </div>\n </div>\n }\n </div>\n `,\n styleUrl: './timeline.css',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class WuTimeline extends ɵWuTimelineBase {}\n","import { NgModule } from '@angular/core';\nimport { WuTemplate } from '@wirabyte/ui/config';\nimport { WuTimeline } from './timeline.component';\n\n/** For NgModule apps (with `WuTemplate` for `pTemplate=\"content\"` / `\"opposite\"` / `\"marker\"`). */\n@NgModule({\n imports: [WuTimeline, WuTemplate],\n exports: [WuTimeline, WuTemplate],\n})\nexport class WuTimelineModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["ɵassertSupportedAngular","ɵWU_SKIP_VERSION_CHECK","ɵfindTemplate"],"mappings":";;;;;AAGA,MAAM,UAAU,GAAG,CAAC,CAAU,MAAmC,CAAC,YAAY,WAAW,GAAG,CAAC,GAAG,IAAI,CAAC;AAWrG;;;AAGG;MAEmB,eAAe,CAAA;AAenC,IAAA,WAAA,GAAA;QAdS,IAAA,CAAA,KAAK,GAA0C,EAAE;;QAEjD,IAAA,CAAA,KAAK,GAAoB,MAAM;QAC/B,IAAA,CAAA,MAAM,GAAqB,UAAU;AASrC,QAAA,IAAA,CAAA,UAAU,GAAG,CAAC,CAAS,KAAa,CAAC;AAG5C,QAAAA,uBAAuB,CAAC,MAAM,CAACC,sBAAsB,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC;IAC7E;AAEA,IAAA,IAAI,MAAM,GAAA;AACR,QAAA,OAAO,IAAI,CAAC,KAAK,IAAI,EAAE;IACzB;AACA,IAAA,IAAI,eAAe,GAAA;AACjB,QAAA,OAAO,UAAU,CAAC,IAAI,CAAC,UAAU,CAAC,IAAIC,aAAa,CAAC,IAAI,CAAC,SAAS,EAAE,SAAS,CAAC;IAChF;AACA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,iBAAA;;;ACRD;;AAEG;;"}
1
+ {"version":3,"file":"wirabyte-ui-timeline.mjs","sources":["../../lib/timeline/timeline.base.ts","../../lib/timeline/timeline.component.ts","../../lib/timeline/timeline.module.ts","../../lib/timeline/wirabyte-ui-timeline.ts"],"sourcesContent":["import { ContentChild, ContentChildren, Directive, inject, Input, QueryList, TemplateRef } from '@angular/core';\nimport { ɵassertSupportedAngular, ɵfindTemplate, ɵWU_SKIP_VERSION_CHECK, WuTemplate } from '@wirabyte/ui/config';\n\nconst asTemplate = (v: unknown): TemplateRef<unknown> | null => (v instanceof TemplateRef ? v : null);\n\nexport type WuTimelineAlign = 'left' | 'right' | 'alternate' | 'top' | 'bottom';\nexport type WuTimelineLayout = 'vertical' | 'horizontal';\n\n/** Context of the content / opposite / marker templates: the event and its index. */\nexport interface WuTimelineContext {\n $implicit: unknown;\n index: number;\n}\n\n/**\n * What wu-timeline does, shared by the v1 and v2/v3 templates: events along a line, each with a marker, its content\n * and (optionally) something on the opposite side. Without an `opposite` template the content takes the full width.\n */\n@Directive()\nexport abstract class ɵWuTimelineBase {\n @Input() value: readonly unknown[] | null | undefined = [];\n /** Which side the content sits on: `left` (default), `right`, `alternate`; `top` / `bottom` when horizontal. */\n @Input() align: WuTimelineAlign = 'left';\n @Input() layout: WuTimelineLayout = 'vertical';\n @Input() styleClass?: string;\n @Input() style?: Record<string, string | number> | null;\n\n @ContentChildren(WuTemplate) protected templates?: QueryList<WuTemplate>;\n @ContentChild('content', { descendants: false }) protected contentRef?: unknown;\n @ContentChild('opposite', { descendants: false }) protected oppositeRef?: unknown;\n @ContentChild('marker', { descendants: false }) protected markerRef?: unknown;\n\n readonly trackIndex = (i: number): number => i;\n\n constructor() {\n ɵassertSupportedAngular(inject(ɵWU_SKIP_VERSION_CHECK, { optional: true }));\n }\n\n get events(): readonly unknown[] {\n return this.value || [];\n }\n get contentTemplate(): TemplateRef<unknown> | null {\n return asTemplate(this.contentRef) || ɵfindTemplate(this.templates, 'content');\n }\n get oppositeTemplate(): TemplateRef<unknown> | null {\n return asTemplate(this.oppositeRef) || ɵfindTemplate(this.templates, 'opposite');\n }\n get markerTemplate(): TemplateRef<unknown> | null {\n return asTemplate(this.markerRef) || ɵfindTemplate(this.templates, 'marker');\n }\n get rootClasses(): string {\n const layout = this.layout === 'horizontal' ? 'horizontal' : 'vertical';\n const align = this.align || (layout === 'horizontal' ? 'top' : 'left');\n return `wu-timeline wu-timeline-${align} wu-timeline-${layout} p-timeline p-component p-timeline-${align} p-timeline-${layout}`;\n }\n context(event: unknown, index: number): WuTimelineContext {\n return { $implicit: event, index };\n }\n}\n","import { NgClass, NgStyle, NgTemplateOutlet } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\nimport { ɵWuTimelineBase } from './timeline.base';\n\n/** Events along a line: `<wu-timeline [value]=\"events\"><ng-template #content let-e>{{ e.status }}</ng-template></wu-timeline>`. */\n@Component({\n selector: 'wu-timeline',\n standalone: true,\n imports: [NgClass, NgStyle, NgTemplateOutlet],\n template: `\n <div [class]=\"rootClasses\" [class.wu-timeline-no-opposite]=\"!oppositeTemplate\" [ngClass]=\"styleClass || ''\" [ngStyle]=\"style || null\">\n @for (event of events; track $index; let i = $index, last = $last) {\n <div class=\"wu-timeline-event p-timeline-event\">\n <div class=\"wu-timeline-event-opposite p-timeline-event-opposite\">\n @if (oppositeTemplate) {\n <ng-container *ngTemplateOutlet=\"oppositeTemplate; context: context(event, i)\"></ng-container>\n }\n </div>\n <div class=\"wu-timeline-event-separator p-timeline-event-separator\">\n @if (markerTemplate) {\n <ng-container *ngTemplateOutlet=\"markerTemplate; context: context(event, i)\"></ng-container>\n } @else {\n <div class=\"wu-timeline-event-marker p-timeline-event-marker\"></div>\n }\n @if (!last) {\n <div class=\"wu-timeline-event-connector p-timeline-event-connector\"></div>\n }\n </div>\n <div class=\"wu-timeline-event-content p-timeline-event-content\">\n @if (contentTemplate) {\n <ng-container *ngTemplateOutlet=\"contentTemplate; context: context(event, i)\"></ng-container>\n }\n </div>\n </div>\n }\n </div>\n `,\n styleUrl: './timeline.css',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class WuTimeline extends ɵWuTimelineBase {}\n","import { NgModule } from '@angular/core';\nimport { WuTemplate } from '@wirabyte/ui/config';\nimport { WuTimeline } from './timeline.component';\n\n/** For NgModule apps (with `WuTemplate` for `pTemplate=\"content\"` / `\"opposite\"` / `\"marker\"`). */\n@NgModule({\n imports: [WuTimeline, WuTemplate],\n exports: [WuTimeline, WuTemplate],\n})\nexport class WuTimelineModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["ɵassertSupportedAngular","ɵWU_SKIP_VERSION_CHECK","ɵfindTemplate"],"mappings":";;;;;AAGA,MAAM,UAAU,GAAG,CAAC,CAAU,MAAmC,CAAC,YAAY,WAAW,GAAG,CAAC,GAAG,IAAI,CAAC;AAWrG;;;AAGG;MAEmB,eAAe,CAAA;AAenC,IAAA,WAAA,GAAA;QAdS,IAAA,CAAA,KAAK,GAA0C,EAAE;;QAEjD,IAAA,CAAA,KAAK,GAAoB,MAAM;QAC/B,IAAA,CAAA,MAAM,GAAqB,UAAU;AASrC,QAAA,IAAA,CAAA,UAAU,GAAG,CAAC,CAAS,KAAa,CAAC;AAG5C,QAAAA,uBAAuB,CAAC,MAAM,CAACC,sBAAsB,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC;IAC7E;AAEA,IAAA,IAAI,MAAM,GAAA;AACR,QAAA,OAAO,IAAI,CAAC,KAAK,IAAI,EAAE;IACzB;AACA,IAAA,IAAI,eAAe,GAAA;AACjB,QAAA,OAAO,UAAU,CAAC,IAAI,CAAC,UAAU,CAAC,IAAIC,aAAa,CAAC,IAAI,CAAC,SAAS,EAAE,SAAS,CAAC;IAChF;AACA,IAAA,IAAI,gBAAgB,GAAA;AAClB,QAAA,OAAO,UAAU,CAAC,IAAI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,CAAA;kBApCtB,SAAS;+BACE,aAAa,EAAA,UAAA,EACX,IAAI,EAAA,OAAA,EACP,CAAC,OAAO,EAAE,OAAO,EAAE,gBAAgB,CAAC,EAAA,QAAA,EACnC;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2BT,EAAA,CAAA,EAAA,aAAA,EAEc,iBAAiB,CAAC,IAAI,EAAA,eAAA,EACpB,uBAAuB,CAAC,MAAM,EAAA,MAAA,EAAA,CAAA,0gFAAA,CAAA,EAAA;;;ACnCjD;MAKa,gBAAgB,CAAA;+GAAhB,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAhB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,YAHjB,UAAU,EAAE,UAAU,CAAA,EAAA,OAAA,EAAA,CACtB,UAAU,EAAE,UAAU,CAAA,EAAA,CAAA,CAAA;gHAErB,gBAAgB,EAAA,CAAA,CAAA;;4FAAhB,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAJ5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,UAAU,EAAE,UAAU,CAAC;AACjC,oBAAA,OAAO,EAAE,CAAC,UAAU,EAAE,UAAU,CAAC;AAClC,iBAAA;;;ACRD;;AAEG;;"}
@@ -27,10 +27,10 @@ class WuMessageService {
27
27
  clear(key) {
28
28
  this.clearSource.next(key || null);
29
29
  }
30
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: WuMessageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
31
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: WuMessageService, providedIn: 'root' }); }
30
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: WuMessageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
31
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: WuMessageService, providedIn: 'root' }); }
32
32
  }
33
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: WuMessageService, decorators: [{
33
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: WuMessageService, decorators: [{
34
34
  type: Injectable,
35
35
  args: [{ providedIn: 'root' }]
36
36
  }] });
@@ -194,10 +194,10 @@ class ɵWuToastBase {
194
194
  clearTimeout(t);
195
195
  this.timers.delete(item.uid);
196
196
  }
197
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ɵWuToastBase, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
198
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: ɵWuToastBase, inputs: { key: "key", position: "position", life: "life", showTimer: "showTimer", preventDuplicates: "preventDuplicates", preventOpenDuplicates: "preventOpenDuplicates", style: "style", styleClass: "styleClass", baseZIndex: "baseZIndex", autoZIndex: "autoZIndex", breakpoints: "breakpoints", showTransformOptions: "showTransformOptions", hideTransformOptions: "hideTransformOptions", showTransitionOptions: "showTransitionOptions", hideTransitionOptions: "hideTransitionOptions" }, outputs: { onClose: "onClose" }, queries: [{ propertyName: "messageRef", first: true, predicate: ["message"] }, { propertyName: "headlessRef", first: true, predicate: ["headless"] }, { propertyName: "templates", predicate: WuTemplate }], viewQueries: [{ propertyName: "containerRef", first: true, predicate: ["container"], descendants: true }], ngImport: i0 }); }
197
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ɵWuToastBase, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
198
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.25", type: ɵWuToastBase, isStandalone: true, inputs: { key: "key", position: "position", life: "life", showTimer: "showTimer", preventDuplicates: "preventDuplicates", preventOpenDuplicates: "preventOpenDuplicates", style: "style", styleClass: "styleClass", baseZIndex: "baseZIndex", autoZIndex: "autoZIndex", breakpoints: "breakpoints", showTransformOptions: "showTransformOptions", hideTransformOptions: "hideTransformOptions", showTransitionOptions: "showTransitionOptions", hideTransitionOptions: "hideTransitionOptions" }, outputs: { onClose: "onClose" }, queries: [{ propertyName: "messageRef", first: true, predicate: ["message"] }, { propertyName: "headlessRef", first: true, predicate: ["headless"] }, { propertyName: "templates", predicate: WuTemplate }], viewQueries: [{ propertyName: "containerRef", first: true, predicate: ["container"], descendants: true }], ngImport: i0 }); }
199
199
  }
200
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ɵWuToastBase, decorators: [{
200
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ɵWuToastBase, decorators: [{
201
201
  type: Directive
202
202
  }], ctorParameters: () => [], propDecorators: { key: [{
203
203
  type: Input
@@ -261,21 +261,21 @@ function same(a, b) {
261
261
  * Shows above dialogs, pauses while hovered, and spans the screen on phones.
262
262
  */
263
263
  class WuToast extends ɵWuToastBase {
264
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: WuToast, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
265
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: WuToast, isStandalone: true, selector: "wu-toast", usesInheritance: true, ngImport: i0, template: "<div\n #container\n popover=\"manual\"\n class=\"wu-toast p-toast p-component\"\n [ngClass]=\"'wu-toast-' + position + ' p-toast-' + position + ' ' + (styleClass || '')\"\n [ngStyle]=\"style || null\"\n>\n @for (item of items; track item.uid) {\n <div\n class=\"wu-toast-message p-toast-message\"\n [ngClass]=\"'wu-toast-' + item.severity + ' p-toast-message-' + item.severity + ' ' + (item.message.styleClass || '')\"\n [class.wu-toast-leaving]=\"item.leaving\"\n [attr.role]=\"item.severity === 'error' ? 'alert' : 'status'\"\n [attr.aria-live]=\"item.severity === 'error' ? 'assertive' : 'polite'\"\n aria-atomic=\"true\"\n (mouseenter)=\"pause(item)\"\n (mouseleave)=\"resume(item)\"\n >\n @if (headlessTemplate) {\n <ng-container [ngTemplateOutlet]=\"headlessTemplate\" [ngTemplateOutletContext]=\"{ $implicit: item.message, closeFn: item.closeFn }\"></ng-container>\n } @else {\n <div class=\"wu-toast-content p-toast-message-content\" [ngClass]=\"item.message.contentStyleClass || ''\">\n @if (messageTemplate) {\n <ng-container [ngTemplateOutlet]=\"messageTemplate\" [ngTemplateOutletContext]=\"{ $implicit: item.message }\"></ng-container>\n } @else {\n <span class=\"wu-toast-icon p-toast-message-icon\" aria-hidden=\"true\">\n @if (item.message.icon) {\n <i [class]=\"item.message.icon\"></i>\n } @else {\n <svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <circle cx=\"12\" cy=\"12\" r=\"10\"></circle>\n @switch (item.severity) {\n @case ('success') { <path d=\"M7.5 12.5l3 3 6-6.5\"></path> }\n @case ('error') { <path d=\"M9 9l6 6M15 9l-6 6\"></path> }\n @case ('warn') { <path d=\"M12 7v6M12 16.5v.5\"></path> }\n @default { <path d=\"M12 11v6M12 7.5v.5\"></path> }\n }\n </svg>\n }\n </span>\n <div class=\"wu-toast-text p-toast-message-text\">\n @if (item.message.summary) {\n <div class=\"wu-toast-summary p-toast-summary\">{{ item.message.summary }}</div>\n }\n @if (item.message.detail || item.message.text) {\n <div class=\"wu-toast-detail p-toast-detail\">{{ item.message.detail || item.message.text }}</div>\n }\n </div>\n }\n @if (item.message.closable !== false) {\n <button type=\"button\" class=\"wu-toast-close p-toast-close-button\" [attr.aria-label]=\"t.close\" (click)=\"close(item)\">\n @if (item.message.closeIcon) {\n <i [class]=\"item.message.closeIcon\"></i>\n } @else {\n <svg viewBox=\"0 0 16 16\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.6\" stroke-linecap=\"round\" aria-hidden=\"true\"><path d=\"M4 4l8 8M12 4l-8 8\"></path></svg>\n }\n </button>\n }\n </div>\n }\n @if (showTimer && !item.message.sticky) {\n <div class=\"wu-toast-timer\" aria-hidden=\"true\"><span [style.animation-duration.ms]=\"item.life\"></span></div>\n }\n </div>\n }\n</div>\n", styles: ["@layer wiraui.components{wu-toast{display:contents}.wu-toast{position:fixed;inset:auto;z-index:1200;display:flex;flex-direction:column;gap:.75rem;box-sizing:border-box;width:var(--wu-toast-width);max-width:calc(100vw - 2.5rem);margin:0;padding:0;border:0;background:transparent;color:var(--wu-text);overflow:visible;pointer-events:none;font-family:var(--wu-font-family);font-size:var(--wu-font-size)}.wu-toast:not(:popover-open):empty{display:none}.wu-toast-top-right{top:1.25rem;right:1.25rem}.wu-toast-top-left{top:1.25rem;left:1.25rem}.wu-toast-bottom-right{bottom:1.25rem;right:1.25rem}.wu-toast-bottom-left{bottom:1.25rem;left:1.25rem}.wu-toast-top-center{top:1.25rem;left:50%;transform:translate(-50%)}.wu-toast-bottom-center{bottom:1.25rem;left:50%;transform:translate(-50%)}.wu-toast-center{top:50%;left:50%;transform:translate(-50%,-50%)}.wu-toast-message{--_c: var(--wu-info-color);--_bg: var(--wu-info-bg);--_fg: var(--wu-info-text);position:relative;pointer-events:auto;overflow:hidden;border-style:solid;border-width:var(--wu-toast-border-width);border-color:color-mix(in srgb,var(--_c) var(--wu-toast-border-mix),transparent);border-radius:var(--wu-toast-radius);background:var(--_bg);-webkit-backdrop-filter:var(--wu-overlay-backdrop);backdrop-filter:var(--wu-overlay-backdrop);color:var(--_fg);box-shadow:var(--wu-toast-shadow);-webkit-backdrop-filter:blur(var(--wu-toast-blur));backdrop-filter:blur(var(--wu-toast-blur));animation:wu-toast-in-right .3s cubic-bezier(.2,.8,.3,1);transition:opacity .2s ease-in,transform .2s ease-in}.wu-toast-top-left .wu-toast-message,.wu-toast-bottom-left .wu-toast-message{animation-name:wu-toast-in-left}.wu-toast-top-center .wu-toast-message,.wu-toast-bottom-center .wu-toast-message,.wu-toast-center .wu-toast-message{animation-name:wu-toast-in-down}.wu-toast-leaving{opacity:0;transform:scale(.96)}.wu-toast-success{--_c: var(--wu-success-color);--_bg: var(--wu-success-bg);--_fg: var(--wu-success-text)}.wu-toast-warn{--_c: var(--wu-warn-color);--_bg: var(--wu-warn-bg);--_fg: var(--wu-warn-text)}.wu-toast-error{--_c: var(--wu-danger-color);--_bg: var(--wu-danger-bg);--_fg: var(--wu-danger-text)}.wu-toast-secondary{--_c: var(--wu-text-muted);--_bg: var(--wu-hover-bg);--_fg: var(--wu-text)}.wu-toast-contrast{--_c: var(--wu-card-bg);--_bg: var(--wu-text);--_fg: var(--wu-card-bg)}.wu-toast-content{display:flex;align-items:flex-start;gap:.75rem;padding:var(--wu-toast-padding)}.wu-toast-icon{flex:none;display:inline-grid;place-items:center;width:var(--wu-toast-icon-size);height:var(--wu-toast-icon-size);color:var(--_c);font-size:var(--wu-toast-icon-size);line-height:1}.wu-toast-icon svg{width:100%;height:100%}.wu-toast-text{flex:1 1 auto;min-width:0;overflow-wrap:anywhere}.wu-toast-summary{font-weight:var(--wu-toast-summary-weight);line-height:1.4}.wu-toast-detail{margin-top:.25rem;font-size:.875em;line-height:1.5;white-space:pre-line}.wu-toast-summary:empty+.wu-toast-detail{margin-top:0}.wu-toast-close{flex:none;display:inline-grid;place-items:center;width:1.75rem;height:1.75rem;margin:-.25rem -.25rem 0 auto;padding:0;border:0;border-radius:50%;background:transparent;color:inherit;cursor:pointer;opacity:.75}.wu-toast-close:hover{background:color-mix(in srgb,currentColor 12%,transparent);opacity:1}.wu-toast-close:focus-visible{outline:var(--wu-control-focus-outline);outline-offset:var(--wu-control-focus-offset);box-shadow:var(--wu-control-focus-shadow)}.wu-toast-close svg{width:.875rem;height:.875rem}@media (max-width: 575.98px){.wu-toast{right:.75rem!important;left:.75rem!important;width:auto;max-width:none;transform:none}.wu-toast-center,.wu-toast-top-right,.wu-toast-top-left,.wu-toast-top-center{top:.75rem}.wu-toast-bottom-right,.wu-toast-bottom-left,.wu-toast-bottom-center{bottom:.75rem}.wu-toast .wu-toast-message{animation-name:wu-toast-in-down}}@keyframes wu-toast-in-right{0%{opacity:0;transform:translate(2rem)}}@keyframes wu-toast-in-left{0%{opacity:0;transform:translate(-2rem)}}@keyframes wu-toast-in-down{0%{opacity:0;transform:translateY(-1rem)}}@media (prefers-reduced-motion: reduce){.wu-toast-message{animation:none;transition:none}}.wu-toast-message:has(>.wu-toast-timer){border-bottom-width:0}.wu-toast-timer{position:absolute;right:0;bottom:0;left:0;height:3px;pointer-events:none}.wu-toast-timer span{display:block;height:100%;background:var(--_c);opacity:.55;transform-origin:left center;animation:wu-toast-timer linear forwards}.wu-toast-message:hover .wu-toast-timer span{animation-play-state:paused}@keyframes wu-toast-timer{0%{transform:scaleX(1)}to{transform:scaleX(0)}}}\n"], dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
264
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: WuToast, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
265
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.25", type: WuToast, isStandalone: true, selector: "wu-toast", usesInheritance: true, ngImport: i0, template: "<div\n #container\n popover=\"manual\"\n class=\"wu-toast p-toast p-component\"\n [ngClass]=\"'wu-toast-' + position + ' p-toast-' + position + ' ' + (styleClass || '')\"\n [ngStyle]=\"style || null\"\n>\n @for (item of items; track item.uid) {\n <div\n class=\"wu-toast-message p-toast-message\"\n [ngClass]=\"'wu-toast-' + item.severity + ' p-toast-message-' + item.severity + ' ' + (item.message.styleClass || '')\"\n [class.wu-toast-leaving]=\"item.leaving\"\n [attr.role]=\"item.severity === 'error' ? 'alert' : 'status'\"\n [attr.aria-live]=\"item.severity === 'error' ? 'assertive' : 'polite'\"\n aria-atomic=\"true\"\n (mouseenter)=\"pause(item)\"\n (mouseleave)=\"resume(item)\"\n >\n @if (headlessTemplate) {\n <ng-container [ngTemplateOutlet]=\"headlessTemplate\" [ngTemplateOutletContext]=\"{ $implicit: item.message, closeFn: item.closeFn }\"></ng-container>\n } @else {\n <div class=\"wu-toast-content p-toast-message-content\" [ngClass]=\"item.message.contentStyleClass || ''\">\n @if (messageTemplate) {\n <ng-container [ngTemplateOutlet]=\"messageTemplate\" [ngTemplateOutletContext]=\"{ $implicit: item.message }\"></ng-container>\n } @else {\n <span class=\"wu-toast-icon p-toast-message-icon\" aria-hidden=\"true\">\n @if (item.message.icon) {\n <i [class]=\"item.message.icon\"></i>\n } @else {\n <svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <circle cx=\"12\" cy=\"12\" r=\"10\"></circle>\n @switch (item.severity) {\n @case ('success') { <path d=\"M7.5 12.5l3 3 6-6.5\"></path> }\n @case ('error') { <path d=\"M9 9l6 6M15 9l-6 6\"></path> }\n @case ('warn') { <path d=\"M12 7v6M12 16.5v.5\"></path> }\n @default { <path d=\"M12 11v6M12 7.5v.5\"></path> }\n }\n </svg>\n }\n </span>\n <div class=\"wu-toast-text p-toast-message-text\">\n @if (item.message.summary) {\n <div class=\"wu-toast-summary p-toast-summary\">{{ item.message.summary }}</div>\n }\n @if (item.message.detail || item.message.text) {\n <div class=\"wu-toast-detail p-toast-detail\">{{ item.message.detail || item.message.text }}</div>\n }\n </div>\n }\n @if (item.message.closable !== false) {\n <button type=\"button\" class=\"wu-toast-close p-toast-close-button\" [attr.aria-label]=\"t.close\" (click)=\"close(item)\">\n @if (item.message.closeIcon) {\n <i [class]=\"item.message.closeIcon\"></i>\n } @else {\n <svg viewBox=\"0 0 16 16\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.6\" stroke-linecap=\"round\" aria-hidden=\"true\"><path d=\"M4 4l8 8M12 4l-8 8\"></path></svg>\n }\n </button>\n }\n </div>\n }\n @if (showTimer && !item.message.sticky) {\n <div class=\"wu-toast-timer\" aria-hidden=\"true\"><span [style.animation-duration.ms]=\"item.life\"></span></div>\n }\n </div>\n }\n</div>\n", styles: ["@layer wiraui.components{wu-toast{display:contents}.wu-toast{position:fixed;inset:auto;z-index:1200;display:flex;flex-direction:column;gap:.75rem;box-sizing:border-box;width:var(--wu-toast-width);max-width:calc(100vw - 2.5rem);margin:0;padding:0;border:0;background:transparent;color:var(--wu-text);overflow:visible;pointer-events:none;font-family:var(--wu-font-family);font-size:var(--wu-font-size)}.wu-toast:not(:popover-open):empty{display:none}.wu-toast-top-right{top:1.25rem;right:1.25rem}.wu-toast-top-left{top:1.25rem;left:1.25rem}.wu-toast-bottom-right{bottom:1.25rem;right:1.25rem}.wu-toast-bottom-left{bottom:1.25rem;left:1.25rem}.wu-toast-top-center{top:1.25rem;left:50%;transform:translate(-50%)}.wu-toast-bottom-center{bottom:1.25rem;left:50%;transform:translate(-50%)}.wu-toast-center{top:50%;left:50%;transform:translate(-50%,-50%)}.wu-toast-message{--_c: var(--wu-info-color);--_bg: var(--wu-info-bg);--_fg: var(--wu-info-text);position:relative;pointer-events:auto;overflow:hidden;border-style:solid;border-width:var(--wu-toast-border-width);border-color:color-mix(in srgb,var(--_c) var(--wu-toast-border-mix),transparent);border-radius:var(--wu-toast-radius);background:var(--_bg);-webkit-backdrop-filter:var(--wu-overlay-backdrop);backdrop-filter:var(--wu-overlay-backdrop);color:var(--_fg);box-shadow:var(--wu-toast-shadow);-webkit-backdrop-filter:blur(var(--wu-toast-blur));backdrop-filter:blur(var(--wu-toast-blur));animation:wu-toast-in-right .3s cubic-bezier(.2,.8,.3,1);transition:opacity .2s ease-in,transform .2s ease-in}.wu-toast-top-left .wu-toast-message,.wu-toast-bottom-left .wu-toast-message{animation-name:wu-toast-in-left}.wu-toast-top-center .wu-toast-message,.wu-toast-bottom-center .wu-toast-message,.wu-toast-center .wu-toast-message{animation-name:wu-toast-in-down}.wu-toast-leaving{opacity:0;transform:scale(.96)}.wu-toast-success{--_c: var(--wu-success-color);--_bg: var(--wu-success-bg);--_fg: var(--wu-success-text)}.wu-toast-warn{--_c: var(--wu-warn-color);--_bg: var(--wu-warn-bg);--_fg: var(--wu-warn-text)}.wu-toast-error{--_c: var(--wu-danger-color);--_bg: var(--wu-danger-bg);--_fg: var(--wu-danger-text)}.wu-toast-secondary{--_c: var(--wu-text-muted);--_bg: var(--wu-hover-bg);--_fg: var(--wu-text)}.wu-toast-contrast{--_c: var(--wu-card-bg);--_bg: var(--wu-text);--_fg: var(--wu-card-bg)}.wu-toast-content{display:flex;align-items:flex-start;gap:.75rem;padding:var(--wu-toast-padding)}.wu-toast-icon{flex:none;display:inline-grid;place-items:center;width:var(--wu-toast-icon-size);height:var(--wu-toast-icon-size);color:var(--_c);font-size:var(--wu-toast-icon-size);line-height:1}.wu-toast-icon svg{width:100%;height:100%}.wu-toast-text{flex:1 1 auto;min-width:0;overflow-wrap:anywhere}.wu-toast-summary{font-weight:var(--wu-toast-summary-weight);line-height:1.4}.wu-toast-detail{margin-top:.25rem;font-size:.875em;line-height:1.5;white-space:pre-line}.wu-toast-summary:empty+.wu-toast-detail{margin-top:0}.wu-toast-close{flex:none;display:inline-grid;place-items:center;width:1.75rem;height:1.75rem;margin:-.25rem -.25rem 0 auto;padding:0;border:0;border-radius:50%;background:transparent;color:inherit;cursor:pointer;opacity:.75}.wu-toast-close:hover{background:color-mix(in srgb,currentColor 12%,transparent);opacity:1}.wu-toast-close:focus-visible{outline:var(--wu-control-focus-outline);outline-offset:var(--wu-control-focus-offset);box-shadow:var(--wu-control-focus-shadow)}.wu-toast-close svg{width:.875rem;height:.875rem}@media(max-width:575.98px){.wu-toast{right:.75rem!important;left:.75rem!important;width:auto;max-width:none;transform:none}.wu-toast-center,.wu-toast-top-right,.wu-toast-top-left,.wu-toast-top-center{top:.75rem}.wu-toast-bottom-right,.wu-toast-bottom-left,.wu-toast-bottom-center{bottom:.75rem}.wu-toast .wu-toast-message{animation-name:wu-toast-in-down}}@keyframes wu-toast-in-right{0%{opacity:0;transform:translate(2rem)}}@keyframes wu-toast-in-left{0%{opacity:0;transform:translate(-2rem)}}@keyframes wu-toast-in-down{0%{opacity:0;transform:translateY(-1rem)}}@media(prefers-reduced-motion:reduce){.wu-toast-message{animation:none;transition:none}}.wu-toast-message:has(>.wu-toast-timer){border-bottom-width:0}.wu-toast-timer{position:absolute;right:0;bottom:0;left:0;height:3px;pointer-events:none}.wu-toast-timer span{display:block;height:100%;background:var(--_c);opacity:.55;transform-origin:left center;animation:wu-toast-timer linear forwards}.wu-toast-message:hover .wu-toast-timer span{animation-play-state:paused}@keyframes wu-toast-timer{0%{transform:scaleX(1)}to{transform:scaleX(0)}}}\n"], dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
266
266
  }
267
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: WuToast, decorators: [{
267
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: WuToast, decorators: [{
268
268
  type: Component,
269
- args: [{ selector: 'wu-toast', standalone: true, imports: [NgClass, NgStyle, NgTemplateOutlet], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n #container\n popover=\"manual\"\n class=\"wu-toast p-toast p-component\"\n [ngClass]=\"'wu-toast-' + position + ' p-toast-' + position + ' ' + (styleClass || '')\"\n [ngStyle]=\"style || null\"\n>\n @for (item of items; track item.uid) {\n <div\n class=\"wu-toast-message p-toast-message\"\n [ngClass]=\"'wu-toast-' + item.severity + ' p-toast-message-' + item.severity + ' ' + (item.message.styleClass || '')\"\n [class.wu-toast-leaving]=\"item.leaving\"\n [attr.role]=\"item.severity === 'error' ? 'alert' : 'status'\"\n [attr.aria-live]=\"item.severity === 'error' ? 'assertive' : 'polite'\"\n aria-atomic=\"true\"\n (mouseenter)=\"pause(item)\"\n (mouseleave)=\"resume(item)\"\n >\n @if (headlessTemplate) {\n <ng-container [ngTemplateOutlet]=\"headlessTemplate\" [ngTemplateOutletContext]=\"{ $implicit: item.message, closeFn: item.closeFn }\"></ng-container>\n } @else {\n <div class=\"wu-toast-content p-toast-message-content\" [ngClass]=\"item.message.contentStyleClass || ''\">\n @if (messageTemplate) {\n <ng-container [ngTemplateOutlet]=\"messageTemplate\" [ngTemplateOutletContext]=\"{ $implicit: item.message }\"></ng-container>\n } @else {\n <span class=\"wu-toast-icon p-toast-message-icon\" aria-hidden=\"true\">\n @if (item.message.icon) {\n <i [class]=\"item.message.icon\"></i>\n } @else {\n <svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <circle cx=\"12\" cy=\"12\" r=\"10\"></circle>\n @switch (item.severity) {\n @case ('success') { <path d=\"M7.5 12.5l3 3 6-6.5\"></path> }\n @case ('error') { <path d=\"M9 9l6 6M15 9l-6 6\"></path> }\n @case ('warn') { <path d=\"M12 7v6M12 16.5v.5\"></path> }\n @default { <path d=\"M12 11v6M12 7.5v.5\"></path> }\n }\n </svg>\n }\n </span>\n <div class=\"wu-toast-text p-toast-message-text\">\n @if (item.message.summary) {\n <div class=\"wu-toast-summary p-toast-summary\">{{ item.message.summary }}</div>\n }\n @if (item.message.detail || item.message.text) {\n <div class=\"wu-toast-detail p-toast-detail\">{{ item.message.detail || item.message.text }}</div>\n }\n </div>\n }\n @if (item.message.closable !== false) {\n <button type=\"button\" class=\"wu-toast-close p-toast-close-button\" [attr.aria-label]=\"t.close\" (click)=\"close(item)\">\n @if (item.message.closeIcon) {\n <i [class]=\"item.message.closeIcon\"></i>\n } @else {\n <svg viewBox=\"0 0 16 16\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.6\" stroke-linecap=\"round\" aria-hidden=\"true\"><path d=\"M4 4l8 8M12 4l-8 8\"></path></svg>\n }\n </button>\n }\n </div>\n }\n @if (showTimer && !item.message.sticky) {\n <div class=\"wu-toast-timer\" aria-hidden=\"true\"><span [style.animation-duration.ms]=\"item.life\"></span></div>\n }\n </div>\n }\n</div>\n", styles: ["@layer wiraui.components{wu-toast{display:contents}.wu-toast{position:fixed;inset:auto;z-index:1200;display:flex;flex-direction:column;gap:.75rem;box-sizing:border-box;width:var(--wu-toast-width);max-width:calc(100vw - 2.5rem);margin:0;padding:0;border:0;background:transparent;color:var(--wu-text);overflow:visible;pointer-events:none;font-family:var(--wu-font-family);font-size:var(--wu-font-size)}.wu-toast:not(:popover-open):empty{display:none}.wu-toast-top-right{top:1.25rem;right:1.25rem}.wu-toast-top-left{top:1.25rem;left:1.25rem}.wu-toast-bottom-right{bottom:1.25rem;right:1.25rem}.wu-toast-bottom-left{bottom:1.25rem;left:1.25rem}.wu-toast-top-center{top:1.25rem;left:50%;transform:translate(-50%)}.wu-toast-bottom-center{bottom:1.25rem;left:50%;transform:translate(-50%)}.wu-toast-center{top:50%;left:50%;transform:translate(-50%,-50%)}.wu-toast-message{--_c: var(--wu-info-color);--_bg: var(--wu-info-bg);--_fg: var(--wu-info-text);position:relative;pointer-events:auto;overflow:hidden;border-style:solid;border-width:var(--wu-toast-border-width);border-color:color-mix(in srgb,var(--_c) var(--wu-toast-border-mix),transparent);border-radius:var(--wu-toast-radius);background:var(--_bg);-webkit-backdrop-filter:var(--wu-overlay-backdrop);backdrop-filter:var(--wu-overlay-backdrop);color:var(--_fg);box-shadow:var(--wu-toast-shadow);-webkit-backdrop-filter:blur(var(--wu-toast-blur));backdrop-filter:blur(var(--wu-toast-blur));animation:wu-toast-in-right .3s cubic-bezier(.2,.8,.3,1);transition:opacity .2s ease-in,transform .2s ease-in}.wu-toast-top-left .wu-toast-message,.wu-toast-bottom-left .wu-toast-message{animation-name:wu-toast-in-left}.wu-toast-top-center .wu-toast-message,.wu-toast-bottom-center .wu-toast-message,.wu-toast-center .wu-toast-message{animation-name:wu-toast-in-down}.wu-toast-leaving{opacity:0;transform:scale(.96)}.wu-toast-success{--_c: var(--wu-success-color);--_bg: var(--wu-success-bg);--_fg: var(--wu-success-text)}.wu-toast-warn{--_c: var(--wu-warn-color);--_bg: var(--wu-warn-bg);--_fg: var(--wu-warn-text)}.wu-toast-error{--_c: var(--wu-danger-color);--_bg: var(--wu-danger-bg);--_fg: var(--wu-danger-text)}.wu-toast-secondary{--_c: var(--wu-text-muted);--_bg: var(--wu-hover-bg);--_fg: var(--wu-text)}.wu-toast-contrast{--_c: var(--wu-card-bg);--_bg: var(--wu-text);--_fg: var(--wu-card-bg)}.wu-toast-content{display:flex;align-items:flex-start;gap:.75rem;padding:var(--wu-toast-padding)}.wu-toast-icon{flex:none;display:inline-grid;place-items:center;width:var(--wu-toast-icon-size);height:var(--wu-toast-icon-size);color:var(--_c);font-size:var(--wu-toast-icon-size);line-height:1}.wu-toast-icon svg{width:100%;height:100%}.wu-toast-text{flex:1 1 auto;min-width:0;overflow-wrap:anywhere}.wu-toast-summary{font-weight:var(--wu-toast-summary-weight);line-height:1.4}.wu-toast-detail{margin-top:.25rem;font-size:.875em;line-height:1.5;white-space:pre-line}.wu-toast-summary:empty+.wu-toast-detail{margin-top:0}.wu-toast-close{flex:none;display:inline-grid;place-items:center;width:1.75rem;height:1.75rem;margin:-.25rem -.25rem 0 auto;padding:0;border:0;border-radius:50%;background:transparent;color:inherit;cursor:pointer;opacity:.75}.wu-toast-close:hover{background:color-mix(in srgb,currentColor 12%,transparent);opacity:1}.wu-toast-close:focus-visible{outline:var(--wu-control-focus-outline);outline-offset:var(--wu-control-focus-offset);box-shadow:var(--wu-control-focus-shadow)}.wu-toast-close svg{width:.875rem;height:.875rem}@media (max-width: 575.98px){.wu-toast{right:.75rem!important;left:.75rem!important;width:auto;max-width:none;transform:none}.wu-toast-center,.wu-toast-top-right,.wu-toast-top-left,.wu-toast-top-center{top:.75rem}.wu-toast-bottom-right,.wu-toast-bottom-left,.wu-toast-bottom-center{bottom:.75rem}.wu-toast .wu-toast-message{animation-name:wu-toast-in-down}}@keyframes wu-toast-in-right{0%{opacity:0;transform:translate(2rem)}}@keyframes wu-toast-in-left{0%{opacity:0;transform:translate(-2rem)}}@keyframes wu-toast-in-down{0%{opacity:0;transform:translateY(-1rem)}}@media (prefers-reduced-motion: reduce){.wu-toast-message{animation:none;transition:none}}.wu-toast-message:has(>.wu-toast-timer){border-bottom-width:0}.wu-toast-timer{position:absolute;right:0;bottom:0;left:0;height:3px;pointer-events:none}.wu-toast-timer span{display:block;height:100%;background:var(--_c);opacity:.55;transform-origin:left center;animation:wu-toast-timer linear forwards}.wu-toast-message:hover .wu-toast-timer span{animation-play-state:paused}@keyframes wu-toast-timer{0%{transform:scaleX(1)}to{transform:scaleX(0)}}}\n"] }]
269
+ args: [{ selector: 'wu-toast', standalone: true, imports: [NgClass, NgStyle, NgTemplateOutlet], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n #container\n popover=\"manual\"\n class=\"wu-toast p-toast p-component\"\n [ngClass]=\"'wu-toast-' + position + ' p-toast-' + position + ' ' + (styleClass || '')\"\n [ngStyle]=\"style || null\"\n>\n @for (item of items; track item.uid) {\n <div\n class=\"wu-toast-message p-toast-message\"\n [ngClass]=\"'wu-toast-' + item.severity + ' p-toast-message-' + item.severity + ' ' + (item.message.styleClass || '')\"\n [class.wu-toast-leaving]=\"item.leaving\"\n [attr.role]=\"item.severity === 'error' ? 'alert' : 'status'\"\n [attr.aria-live]=\"item.severity === 'error' ? 'assertive' : 'polite'\"\n aria-atomic=\"true\"\n (mouseenter)=\"pause(item)\"\n (mouseleave)=\"resume(item)\"\n >\n @if (headlessTemplate) {\n <ng-container [ngTemplateOutlet]=\"headlessTemplate\" [ngTemplateOutletContext]=\"{ $implicit: item.message, closeFn: item.closeFn }\"></ng-container>\n } @else {\n <div class=\"wu-toast-content p-toast-message-content\" [ngClass]=\"item.message.contentStyleClass || ''\">\n @if (messageTemplate) {\n <ng-container [ngTemplateOutlet]=\"messageTemplate\" [ngTemplateOutletContext]=\"{ $implicit: item.message }\"></ng-container>\n } @else {\n <span class=\"wu-toast-icon p-toast-message-icon\" aria-hidden=\"true\">\n @if (item.message.icon) {\n <i [class]=\"item.message.icon\"></i>\n } @else {\n <svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <circle cx=\"12\" cy=\"12\" r=\"10\"></circle>\n @switch (item.severity) {\n @case ('success') { <path d=\"M7.5 12.5l3 3 6-6.5\"></path> }\n @case ('error') { <path d=\"M9 9l6 6M15 9l-6 6\"></path> }\n @case ('warn') { <path d=\"M12 7v6M12 16.5v.5\"></path> }\n @default { <path d=\"M12 11v6M12 7.5v.5\"></path> }\n }\n </svg>\n }\n </span>\n <div class=\"wu-toast-text p-toast-message-text\">\n @if (item.message.summary) {\n <div class=\"wu-toast-summary p-toast-summary\">{{ item.message.summary }}</div>\n }\n @if (item.message.detail || item.message.text) {\n <div class=\"wu-toast-detail p-toast-detail\">{{ item.message.detail || item.message.text }}</div>\n }\n </div>\n }\n @if (item.message.closable !== false) {\n <button type=\"button\" class=\"wu-toast-close p-toast-close-button\" [attr.aria-label]=\"t.close\" (click)=\"close(item)\">\n @if (item.message.closeIcon) {\n <i [class]=\"item.message.closeIcon\"></i>\n } @else {\n <svg viewBox=\"0 0 16 16\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.6\" stroke-linecap=\"round\" aria-hidden=\"true\"><path d=\"M4 4l8 8M12 4l-8 8\"></path></svg>\n }\n </button>\n }\n </div>\n }\n @if (showTimer && !item.message.sticky) {\n <div class=\"wu-toast-timer\" aria-hidden=\"true\"><span [style.animation-duration.ms]=\"item.life\"></span></div>\n }\n </div>\n }\n</div>\n", styles: ["@layer wiraui.components{wu-toast{display:contents}.wu-toast{position:fixed;inset:auto;z-index:1200;display:flex;flex-direction:column;gap:.75rem;box-sizing:border-box;width:var(--wu-toast-width);max-width:calc(100vw - 2.5rem);margin:0;padding:0;border:0;background:transparent;color:var(--wu-text);overflow:visible;pointer-events:none;font-family:var(--wu-font-family);font-size:var(--wu-font-size)}.wu-toast:not(:popover-open):empty{display:none}.wu-toast-top-right{top:1.25rem;right:1.25rem}.wu-toast-top-left{top:1.25rem;left:1.25rem}.wu-toast-bottom-right{bottom:1.25rem;right:1.25rem}.wu-toast-bottom-left{bottom:1.25rem;left:1.25rem}.wu-toast-top-center{top:1.25rem;left:50%;transform:translate(-50%)}.wu-toast-bottom-center{bottom:1.25rem;left:50%;transform:translate(-50%)}.wu-toast-center{top:50%;left:50%;transform:translate(-50%,-50%)}.wu-toast-message{--_c: var(--wu-info-color);--_bg: var(--wu-info-bg);--_fg: var(--wu-info-text);position:relative;pointer-events:auto;overflow:hidden;border-style:solid;border-width:var(--wu-toast-border-width);border-color:color-mix(in srgb,var(--_c) var(--wu-toast-border-mix),transparent);border-radius:var(--wu-toast-radius);background:var(--_bg);-webkit-backdrop-filter:var(--wu-overlay-backdrop);backdrop-filter:var(--wu-overlay-backdrop);color:var(--_fg);box-shadow:var(--wu-toast-shadow);-webkit-backdrop-filter:blur(var(--wu-toast-blur));backdrop-filter:blur(var(--wu-toast-blur));animation:wu-toast-in-right .3s cubic-bezier(.2,.8,.3,1);transition:opacity .2s ease-in,transform .2s ease-in}.wu-toast-top-left .wu-toast-message,.wu-toast-bottom-left .wu-toast-message{animation-name:wu-toast-in-left}.wu-toast-top-center .wu-toast-message,.wu-toast-bottom-center .wu-toast-message,.wu-toast-center .wu-toast-message{animation-name:wu-toast-in-down}.wu-toast-leaving{opacity:0;transform:scale(.96)}.wu-toast-success{--_c: var(--wu-success-color);--_bg: var(--wu-success-bg);--_fg: var(--wu-success-text)}.wu-toast-warn{--_c: var(--wu-warn-color);--_bg: var(--wu-warn-bg);--_fg: var(--wu-warn-text)}.wu-toast-error{--_c: var(--wu-danger-color);--_bg: var(--wu-danger-bg);--_fg: var(--wu-danger-text)}.wu-toast-secondary{--_c: var(--wu-text-muted);--_bg: var(--wu-hover-bg);--_fg: var(--wu-text)}.wu-toast-contrast{--_c: var(--wu-card-bg);--_bg: var(--wu-text);--_fg: var(--wu-card-bg)}.wu-toast-content{display:flex;align-items:flex-start;gap:.75rem;padding:var(--wu-toast-padding)}.wu-toast-icon{flex:none;display:inline-grid;place-items:center;width:var(--wu-toast-icon-size);height:var(--wu-toast-icon-size);color:var(--_c);font-size:var(--wu-toast-icon-size);line-height:1}.wu-toast-icon svg{width:100%;height:100%}.wu-toast-text{flex:1 1 auto;min-width:0;overflow-wrap:anywhere}.wu-toast-summary{font-weight:var(--wu-toast-summary-weight);line-height:1.4}.wu-toast-detail{margin-top:.25rem;font-size:.875em;line-height:1.5;white-space:pre-line}.wu-toast-summary:empty+.wu-toast-detail{margin-top:0}.wu-toast-close{flex:none;display:inline-grid;place-items:center;width:1.75rem;height:1.75rem;margin:-.25rem -.25rem 0 auto;padding:0;border:0;border-radius:50%;background:transparent;color:inherit;cursor:pointer;opacity:.75}.wu-toast-close:hover{background:color-mix(in srgb,currentColor 12%,transparent);opacity:1}.wu-toast-close:focus-visible{outline:var(--wu-control-focus-outline);outline-offset:var(--wu-control-focus-offset);box-shadow:var(--wu-control-focus-shadow)}.wu-toast-close svg{width:.875rem;height:.875rem}@media(max-width:575.98px){.wu-toast{right:.75rem!important;left:.75rem!important;width:auto;max-width:none;transform:none}.wu-toast-center,.wu-toast-top-right,.wu-toast-top-left,.wu-toast-top-center{top:.75rem}.wu-toast-bottom-right,.wu-toast-bottom-left,.wu-toast-bottom-center{bottom:.75rem}.wu-toast .wu-toast-message{animation-name:wu-toast-in-down}}@keyframes wu-toast-in-right{0%{opacity:0;transform:translate(2rem)}}@keyframes wu-toast-in-left{0%{opacity:0;transform:translate(-2rem)}}@keyframes wu-toast-in-down{0%{opacity:0;transform:translateY(-1rem)}}@media(prefers-reduced-motion:reduce){.wu-toast-message{animation:none;transition:none}}.wu-toast-message:has(>.wu-toast-timer){border-bottom-width:0}.wu-toast-timer{position:absolute;right:0;bottom:0;left:0;height:3px;pointer-events:none}.wu-toast-timer span{display:block;height:100%;background:var(--_c);opacity:.55;transform-origin:left center;animation:wu-toast-timer linear forwards}.wu-toast-message:hover .wu-toast-timer span{animation-play-state:paused}@keyframes wu-toast-timer{0%{transform:scaleX(1)}to{transform:scaleX(0)}}}\n"] }]
270
270
  }] });
271
271
 
272
272
  /** For NgModule apps. Also exports `WuTemplate` for the message and headless slots. */
273
273
  class WuToastModule {
274
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: WuToastModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
275
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: WuToastModule, imports: [WuToast, WuTemplate], exports: [WuToast, WuTemplate] }); }
276
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: WuToastModule }); }
274
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: WuToastModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
275
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.25", ngImport: i0, type: WuToastModule, imports: [WuToast, WuTemplate], exports: [WuToast, WuTemplate] }); }
276
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: WuToastModule }); }
277
277
  }
278
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: WuToastModule, decorators: [{
278
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: WuToastModule, decorators: [{
279
279
  type: NgModule,
280
280
  args: [{
281
281
  imports: [WuToast, WuTemplate],
@@ -1 +1 @@
1
- {"version":3,"file":"wirabyte-ui-toast.mjs","sources":["../../lib/toast/message.service.ts","../../lib/toast/toast.base.ts","../../lib/toast/toast.component.ts","../../lib/toast/toast.component.html","../../lib/toast/toast.module.ts","../../lib/toast/wirabyte-ui-toast.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { Observable, Subject } from 'rxjs';\nimport { WuToastMessage } from './toast.types';\n\n/**\n * Sends toasts to `<wu-toast>`: `messages.add({ severity: 'success', summary: 'บันทึกแล้ว', detail: '…' })`.\n * Provided in root, and can also be provided per component as apps already do.\n */\n@Injectable({ providedIn: 'root' })\nexport class WuMessageService {\n private readonly messageSource = new Subject<WuToastMessage | WuToastMessage[]>();\n private readonly clearSource = new Subject<string | null>();\n readonly messageObserver: Observable<WuToastMessage | WuToastMessage[]> = this.messageSource.asObservable();\n readonly clearObserver: Observable<string | null> = this.clearSource.asObservable();\n\n add(message: WuToastMessage): void {\n if (message) this.messageSource.next(message);\n }\n addAll(messages: WuToastMessage[]): void {\n if (messages && messages.length) this.messageSource.next(messages);\n }\n /** Removes the toasts of one key, or all of them. */\n clear(key?: string): void {\n this.clearSource.next(key || null);\n }\n}\n","import { DOCUMENT } from '@angular/common';\nimport {\n AfterViewChecked,\n ChangeDetectorRef,\n ContentChild,\n ContentChildren,\n Directive,\n ElementRef,\n EventEmitter,\n inject,\n Input,\n OnDestroy,\n OnInit,\n Output,\n QueryList,\n TemplateRef,\n ViewChild,\n} from '@angular/core';\nimport { Subscription } from 'rxjs';\nimport { ɵassertSupportedAngular, ɵfindTemplate, ɵrefreshOnTranslation, ɵtoBool, ɵWU_SKIP_VERSION_CHECK, WuConfig, WuTemplate } from '@wirabyte/ui/config';\nimport { WuLocale } from '@wirabyte/ui/core';\nimport { WuMessageService } from './message.service';\nimport { WuToastCloseEvent, WuToastMessage, WuToastPosition } from './toast.types';\n\nexport interface ɵWuToastItem {\n uid: number;\n message: WuToastMessage;\n /** success, info, warn, error, secondary or contrast. */\n severity: string;\n leaving: boolean;\n /** For a headless template: closes this toast. */\n closeFn: () => void;\n /** Time on screen in ms (the message's own `life`, else the toast's). */\n life: number;\n /** When the running timer ends (ms since epoch), and what was left when the pointer paused it. */\n deadline?: number;\n remaining?: number;\n}\n\ntype PopoverElement = HTMLElement & { showPopover(): void; hidePopover(): void };\nconst SEVERITY: Record<string, string> = { warning: 'warn', danger: 'error' };\nconst asTemplate = (v: unknown): TemplateRef<unknown> | null => (v instanceof TemplateRef ? v : null);\nlet uid = 0;\n\n/**\n * Shared logic of wu-toast (v1 and v2/v3 templates). The stack sits in the top layer (popover), so toasts show above\n * dialogs; on phones it spans the screen width.\n */\n@Directive()\nexport abstract class ɵWuToastBase implements OnInit, AfterViewChecked, OnDestroy {\n /** Shows only messages with this key. */\n @Input() key?: string;\n @Input() position: WuToastPosition = 'top-right';\n /** Default time on screen in milliseconds. */\n @Input() set life(v: unknown) { this._life = Number(v) > 0 ? Number(v) : 3000; }\n get life(): number { return this._life; }\n /** A line along the bottom that runs down with the time left. Default true; sticky toasts never show it. */\n @Input() set showTimer(v: unknown) { this._showTimer = v === undefined || ɵtoBool(v); }\n get showTimer(): boolean { return this._showTimer; }\n /** Skip a message equal (summary, detail, severity) to any shown before. */\n @Input() set preventDuplicates(v: unknown) { this._preventDuplicates = ɵtoBool(v); }\n /** Skip a message equal to one still on screen. */\n @Input() set preventOpenDuplicates(v: unknown) { this._preventOpenDuplicates = ɵtoBool(v); }\n @Input() style?: Record<string, string | number> | null;\n @Input() styleClass?: string;\n /** Accepted for templates moving over; the toasts sit in the top layer. */\n @Input() baseZIndex: unknown;\n @Input() autoZIndex: unknown;\n @Input() breakpoints: unknown;\n @Input() showTransformOptions: unknown;\n @Input() hideTransformOptions: unknown;\n @Input() showTransitionOptions: unknown;\n @Input() hideTransitionOptions: unknown;\n\n @Output() readonly onClose = new EventEmitter<WuToastCloseEvent>();\n\n @ContentChildren(WuTemplate) templates?: QueryList<WuTemplate>;\n @ContentChild('message', { descendants: false }) messageRef?: unknown;\n @ContentChild('headless', { descendants: false }) headlessRef?: unknown;\n @ViewChild('container') containerRef?: ElementRef<HTMLElement>;\n\n items: ɵWuToastItem[] = [];\n readonly trackItem = (_: number, item: ɵWuToastItem) => item.uid;\n\n private _life = 3000;\n private _showTimer = true;\n private _preventDuplicates = false;\n private _preventOpenDuplicates = false;\n private readonly shown: WuToastMessage[] = [];\n private readonly timers = new Map<number, ReturnType<typeof setTimeout>>();\n private subs: Subscription[] = [];\n private raise = false;\n protected readonly cdr = inject(ChangeDetectorRef);\n private readonly service = inject(WuMessageService);\n private readonly config = inject(WuConfig);\n private readonly doc = inject(DOCUMENT);\n private readonly i18n = ɵrefreshOnTranslation();\n\n constructor() {\n ɵassertSupportedAngular(inject(ɵWU_SKIP_VERSION_CHECK, { optional: true }));\n }\n\n get t(): WuLocale {\n return this.config.translation;\n }\n get messageTemplate(): TemplateRef<unknown> | null {\n return asTemplate(this.messageRef) || ɵfindTemplate(this.templates, 'message');\n }\n get headlessTemplate(): TemplateRef<unknown> | null {\n return asTemplate(this.headlessRef) || ɵfindTemplate(this.templates, 'headless');\n }\n\n ngOnInit(): void {\n // A modal opened after the toasts would cover them: show the stack again so it is on top.\n const raise = () => {\n if (!this.items.length) return;\n this.raise = true;\n this.ngAfterViewChecked();\n };\n this.doc.addEventListener('wu-modal-open', raise);\n this.subs.push(new Subscription(() => this.doc.removeEventListener('wu-modal-open', raise)));\n this.subs.push(\n this.service.messageObserver.subscribe((m) => this.add(Array.isArray(m) ? m : [m])),\n this.service.clearObserver.subscribe((key) => {\n if (key === null || key === this.key) for (const item of this.items) this.close(item, false);\n }),\n );\n }\n\n ngAfterViewChecked(): void {\n const el = this.containerRef?.nativeElement as unknown as PopoverElement | undefined;\n if (!el || typeof el.showPopover !== 'function') return;\n const open = el.matches(':popover-open');\n try {\n if (this.items.length && (!open || this.raise)) {\n // Shown again so it sits above a modal dialog opened after it.\n if (open) el.hidePopover();\n el.showPopover();\n } else if (!this.items.length && open) {\n el.hidePopover();\n }\n } catch {\n // Not connected yet.\n }\n this.raise = false;\n }\n\n ngOnDestroy(): void {\n for (const s of this.subs) s.unsubscribe();\n for (const t of this.timers.values()) clearTimeout(t);\n this.i18n.unsubscribe();\n }\n\n close(item: ɵWuToastItem, byUser = true): void {\n if (item.leaving) return;\n item.leaving = true;\n this.stopTimer(item);\n this.cdr.markForCheck();\n const win = this.doc.defaultView;\n const reduce = !!win?.matchMedia && win.matchMedia('(prefers-reduced-motion: reduce)').matches;\n setTimeout(() => {\n this.items = this.items.filter((i) => i !== item);\n this.cdr.markForCheck();\n this.onClose.emit({ message: item.message });\n }, reduce ? 0 : 200);\n if (byUser) this.cdr.markForCheck();\n }\n\n /** Hovering holds a toast (and its countdown line); leaving runs the time that was left. */\n pause(item: ɵWuToastItem): void {\n this.stopTimer(item);\n if (item.deadline) item.remaining = Math.max(0, item.deadline - Date.now());\n }\n resume(item: ɵWuToastItem): void {\n if (!item.leaving) this.startTimer(item);\n }\n\n private add(messages: WuToastMessage[]): void {\n let added = false;\n for (const m of messages) {\n if (!m || (m.key ?? undefined) !== (this.key ?? undefined)) continue;\n if (this._preventOpenDuplicates && this.items.some((i) => !i.leaving && same(i.message, m))) continue;\n if (this._preventDuplicates && this.shown.some((s) => same(s, m))) continue;\n this.shown.push(m);\n const severity = String(m.severity || 'info');\n const item: ɵWuToastItem = {\n uid: ++uid,\n message: m,\n severity: SEVERITY[severity] || severity,\n leaving: false,\n closeFn: () => this.close(item),\n life: Number(m.life) > 0 ? Number(m.life) : this._life,\n };\n this.items = [...this.items, item];\n this.startTimer(item);\n added = true;\n }\n if (!added) return;\n this.raise = modalOpen(this.doc);\n this.cdr.markForCheck();\n }\n\n private startTimer(item: ɵWuToastItem): void {\n if (item.message.sticky) return;\n this.stopTimer(item);\n const ms = item.remaining ?? item.life;\n item.deadline = Date.now() + ms;\n this.timers.set(item.uid, setTimeout(() => this.close(item, false), ms));\n }\n\n private stopTimer(item: ɵWuToastItem): void {\n const t = this.timers.get(item.uid);\n if (t) clearTimeout(t);\n this.timers.delete(item.uid);\n }\n}\n\nfunction modalOpen(doc: Document): boolean {\n try {\n return !!doc.querySelector('dialog:modal');\n } catch {\n return !!doc.querySelector('dialog[open]');\n }\n}\n\nfunction same(a: WuToastMessage, b: WuToastMessage): boolean {\n return a.summary === b.summary && a.detail === b.detail && a.severity === b.severity;\n}\n","import { NgClass, NgStyle, NgTemplateOutlet } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\nimport { ɵWuToastBase } from './toast.base';\n\n/**\n * Toast stack: place `<wu-toast>` once (per key), then `messages.add({ severity: 'success', summary, detail })`.\n * Shows above dialogs, pauses while hovered, and spans the screen on phones.\n */\n@Component({\n selector: 'wu-toast',\n standalone: true,\n imports: [NgClass, NgStyle, NgTemplateOutlet],\n templateUrl: './toast.component.html',\n styleUrl: './toast.css',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class WuToast extends ɵWuToastBase {}\n","<div\n #container\n popover=\"manual\"\n class=\"wu-toast p-toast p-component\"\n [ngClass]=\"'wu-toast-' + position + ' p-toast-' + position + ' ' + (styleClass || '')\"\n [ngStyle]=\"style || null\"\n>\n @for (item of items; track item.uid) {\n <div\n class=\"wu-toast-message p-toast-message\"\n [ngClass]=\"'wu-toast-' + item.severity + ' p-toast-message-' + item.severity + ' ' + (item.message.styleClass || '')\"\n [class.wu-toast-leaving]=\"item.leaving\"\n [attr.role]=\"item.severity === 'error' ? 'alert' : 'status'\"\n [attr.aria-live]=\"item.severity === 'error' ? 'assertive' : 'polite'\"\n aria-atomic=\"true\"\n (mouseenter)=\"pause(item)\"\n (mouseleave)=\"resume(item)\"\n >\n @if (headlessTemplate) {\n <ng-container [ngTemplateOutlet]=\"headlessTemplate\" [ngTemplateOutletContext]=\"{ $implicit: item.message, closeFn: item.closeFn }\"></ng-container>\n } @else {\n <div class=\"wu-toast-content p-toast-message-content\" [ngClass]=\"item.message.contentStyleClass || ''\">\n @if (messageTemplate) {\n <ng-container [ngTemplateOutlet]=\"messageTemplate\" [ngTemplateOutletContext]=\"{ $implicit: item.message }\"></ng-container>\n } @else {\n <span class=\"wu-toast-icon p-toast-message-icon\" aria-hidden=\"true\">\n @if (item.message.icon) {\n <i [class]=\"item.message.icon\"></i>\n } @else {\n <svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <circle cx=\"12\" cy=\"12\" r=\"10\"></circle>\n @switch (item.severity) {\n @case ('success') { <path d=\"M7.5 12.5l3 3 6-6.5\"></path> }\n @case ('error') { <path d=\"M9 9l6 6M15 9l-6 6\"></path> }\n @case ('warn') { <path d=\"M12 7v6M12 16.5v.5\"></path> }\n @default { <path d=\"M12 11v6M12 7.5v.5\"></path> }\n }\n </svg>\n }\n </span>\n <div class=\"wu-toast-text p-toast-message-text\">\n @if (item.message.summary) {\n <div class=\"wu-toast-summary p-toast-summary\">{{ item.message.summary }}</div>\n }\n @if (item.message.detail || item.message.text) {\n <div class=\"wu-toast-detail p-toast-detail\">{{ item.message.detail || item.message.text }}</div>\n }\n </div>\n }\n @if (item.message.closable !== false) {\n <button type=\"button\" class=\"wu-toast-close p-toast-close-button\" [attr.aria-label]=\"t.close\" (click)=\"close(item)\">\n @if (item.message.closeIcon) {\n <i [class]=\"item.message.closeIcon\"></i>\n } @else {\n <svg viewBox=\"0 0 16 16\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.6\" stroke-linecap=\"round\" aria-hidden=\"true\"><path d=\"M4 4l8 8M12 4l-8 8\"></path></svg>\n }\n </button>\n }\n </div>\n }\n @if (showTimer && !item.message.sticky) {\n <div class=\"wu-toast-timer\" aria-hidden=\"true\"><span [style.animation-duration.ms]=\"item.life\"></span></div>\n }\n </div>\n }\n</div>\n","import { NgModule } from '@angular/core';\nimport { WuTemplate } from '@wirabyte/ui/config';\nimport { WuToast } from './toast.component';\n\n/** For NgModule apps. Also exports `WuTemplate` for the message and headless slots. */\n@NgModule({\n imports: [WuToast, WuTemplate],\n exports: [WuToast, WuTemplate],\n})\nexport class WuToastModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["ɵtoBool","ɵrefreshOnTranslation","ɵassertSupportedAngular","ɵWU_SKIP_VERSION_CHECK","ɵfindTemplate"],"mappings":";;;;;;AAIA;;;AAGG;MAEU,gBAAgB,CAAA;AAD7B,IAAA,WAAA,GAAA;AAEmB,QAAA,IAAA,CAAA,aAAa,GAAG,IAAI,OAAO,EAAqC;AAChE,QAAA,IAAA,CAAA,WAAW,GAAG,IAAI,OAAO,EAAiB;AAClD,QAAA,IAAA,CAAA,eAAe,GAAkD,IAAI,CAAC,aAAa,CAAC,YAAY,EAAE;AAClG,QAAA,IAAA,CA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A;;;AEXjD;MAKa,aAAa,CAAA;+GAAb,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAb,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,aAAa,YAHd,OAAO,EAAE,UAAU,CAAA,EAAA,OAAA,EAAA,CACnB,OAAO,EAAE,UAAU,CAAA,EAAA,CAAA,CAAA;gHAElB,aAAa,EAAA,CAAA,CAAA;;4FAAb,aAAa,EAAA,UAAA,EAAA,CAAA;kBAJzB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,OAAO,EAAE,UAAU,CAAC;AAC9B,oBAAA,OAAO,EAAE,CAAC,OAAO,EAAE,UAAU,CAAC;AAC/B,iBAAA;;;ACRD;;AAEG;;"}
1
+ {"version":3,"file":"wirabyte-ui-toast.mjs","sources":["../../lib/toast/message.service.ts","../../lib/toast/toast.base.ts","../../lib/toast/toast.component.ts","../../lib/toast/toast.component.html","../../lib/toast/toast.module.ts","../../lib/toast/wirabyte-ui-toast.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { Observable, Subject } from 'rxjs';\nimport { WuToastMessage } from './toast.types';\n\n/**\n * Sends toasts to `<wu-toast>`: `messages.add({ severity: 'success', summary: 'บันทึกแล้ว', detail: '…' })`.\n * Provided in root, and can also be provided per component as apps already do.\n */\n@Injectable({ providedIn: 'root' })\nexport class WuMessageService {\n private readonly messageSource = new Subject<WuToastMessage | WuToastMessage[]>();\n private readonly clearSource = new Subject<string | null>();\n readonly messageObserver: Observable<WuToastMessage | WuToastMessage[]> = this.messageSource.asObservable();\n readonly clearObserver: Observable<string | null> = this.clearSource.asObservable();\n\n add(message: WuToastMessage): void {\n if (message) this.messageSource.next(message);\n }\n addAll(messages: WuToastMessage[]): void {\n if (messages && messages.length) this.messageSource.next(messages);\n }\n /** Removes the toasts of one key, or all of them. */\n clear(key?: string): void {\n this.clearSource.next(key || null);\n }\n}\n","import { DOCUMENT } from '@angular/common';\nimport {\n AfterViewChecked,\n ChangeDetectorRef,\n ContentChild,\n ContentChildren,\n Directive,\n ElementRef,\n EventEmitter,\n inject,\n Input,\n OnDestroy,\n OnInit,\n Output,\n QueryList,\n TemplateRef,\n ViewChild,\n} from '@angular/core';\nimport { Subscription } from 'rxjs';\nimport { ɵassertSupportedAngular, ɵfindTemplate, ɵrefreshOnTranslation, ɵtoBool, ɵWU_SKIP_VERSION_CHECK, WuConfig, WuTemplate } from '@wirabyte/ui/config';\nimport { WuLocale } from '@wirabyte/ui/core';\nimport { WuMessageService } from './message.service';\nimport { WuToastCloseEvent, WuToastMessage, WuToastPosition } from './toast.types';\n\nexport interface ɵWuToastItem {\n uid: number;\n message: WuToastMessage;\n /** success, info, warn, error, secondary or contrast. */\n severity: string;\n leaving: boolean;\n /** For a headless template: closes this toast. */\n closeFn: () => void;\n /** Time on screen in ms (the message's own `life`, else the toast's). */\n life: number;\n /** When the running timer ends (ms since epoch), and what was left when the pointer paused it. */\n deadline?: number;\n remaining?: number;\n}\n\ntype PopoverElement = HTMLElement & { showPopover(): void; hidePopover(): void };\nconst SEVERITY: Record<string, string> = { warning: 'warn', danger: 'error' };\nconst asTemplate = (v: unknown): TemplateRef<unknown> | null => (v instanceof TemplateRef ? v : null);\nlet uid = 0;\n\n/**\n * Shared logic of wu-toast (v1 and v2/v3 templates). The stack sits in the top layer (popover), so toasts show above\n * dialogs; on phones it spans the screen width.\n */\n@Directive()\nexport abstract class ɵWuToastBase implements OnInit, AfterViewChecked, OnDestroy {\n /** Shows only messages with this key. */\n @Input() key?: string;\n @Input() position: WuToastPosition = 'top-right';\n /** Default time on screen in milliseconds. */\n @Input() set life(v: unknown) { this._life = Number(v) > 0 ? Number(v) : 3000; }\n get life(): number { return this._life; }\n /** A line along the bottom that runs down with the time left. Default true; sticky toasts never show it. */\n @Input() set showTimer(v: unknown) { this._showTimer = v === undefined || ɵtoBool(v); }\n get showTimer(): boolean { return this._showTimer; }\n /** Skip a message equal (summary, detail, severity) to any shown before. */\n @Input() set preventDuplicates(v: unknown) { this._preventDuplicates = ɵtoBool(v); }\n /** Skip a message equal to one still on screen. */\n @Input() set preventOpenDuplicates(v: unknown) { this._preventOpenDuplicates = ɵtoBool(v); }\n @Input() style?: Record<string, string | number> | null;\n @Input() styleClass?: string;\n /** Accepted for templates moving over; the toasts sit in the top layer. */\n @Input() baseZIndex: unknown;\n @Input() autoZIndex: unknown;\n @Input() breakpoints: unknown;\n @Input() showTransformOptions: unknown;\n @Input() hideTransformOptions: unknown;\n @Input() showTransitionOptions: unknown;\n @Input() hideTransitionOptions: unknown;\n\n @Output() readonly onClose = new EventEmitter<WuToastCloseEvent>();\n\n @ContentChildren(WuTemplate) templates?: QueryList<WuTemplate>;\n @ContentChild('message', { descendants: false }) messageRef?: unknown;\n @ContentChild('headless', { descendants: false }) headlessRef?: unknown;\n @ViewChild('container') containerRef?: ElementRef<HTMLElement>;\n\n items: ɵWuToastItem[] = [];\n readonly trackItem = (_: number, item: ɵWuToastItem) => item.uid;\n\n private _life = 3000;\n private _showTimer = true;\n private _preventDuplicates = false;\n private _preventOpenDuplicates = false;\n private readonly shown: WuToastMessage[] = [];\n private readonly timers = new Map<number, ReturnType<typeof setTimeout>>();\n private subs: Subscription[] = [];\n private raise = false;\n protected readonly cdr = inject(ChangeDetectorRef);\n private readonly service = inject(WuMessageService);\n private readonly config = inject(WuConfig);\n private readonly doc = inject(DOCUMENT);\n private readonly i18n = ɵrefreshOnTranslation();\n\n constructor() {\n ɵassertSupportedAngular(inject(ɵWU_SKIP_VERSION_CHECK, { optional: true }));\n }\n\n get t(): WuLocale {\n return this.config.translation;\n }\n get messageTemplate(): TemplateRef<unknown> | null {\n return asTemplate(this.messageRef) || ɵfindTemplate(this.templates, 'message');\n }\n get headlessTemplate(): TemplateRef<unknown> | null {\n return asTemplate(this.headlessRef) || ɵfindTemplate(this.templates, 'headless');\n }\n\n ngOnInit(): void {\n // A modal opened after the toasts would cover them: show the stack again so it is on top.\n const raise = () => {\n if (!this.items.length) return;\n this.raise = true;\n this.ngAfterViewChecked();\n };\n this.doc.addEventListener('wu-modal-open', raise);\n this.subs.push(new Subscription(() => this.doc.removeEventListener('wu-modal-open', raise)));\n this.subs.push(\n this.service.messageObserver.subscribe((m) => this.add(Array.isArray(m) ? m : [m])),\n this.service.clearObserver.subscribe((key) => {\n if (key === null || key === this.key) for (const item of this.items) this.close(item, false);\n }),\n );\n }\n\n ngAfterViewChecked(): void {\n const el = this.containerRef?.nativeElement as unknown as PopoverElement | undefined;\n if (!el || typeof el.showPopover !== 'function') return;\n const open = el.matches(':popover-open');\n try {\n if (this.items.length && (!open || this.raise)) {\n // Shown again so it sits above a modal dialog opened after it.\n if (open) el.hidePopover();\n el.showPopover();\n } else if (!this.items.length && open) {\n el.hidePopover();\n }\n } catch {\n // Not connected yet.\n }\n this.raise = false;\n }\n\n ngOnDestroy(): void {\n for (const s of this.subs) s.unsubscribe();\n for (const t of this.timers.values()) clearTimeout(t);\n this.i18n.unsubscribe();\n }\n\n close(item: ɵWuToastItem, byUser = true): void {\n if (item.leaving) return;\n item.leaving = true;\n this.stopTimer(item);\n this.cdr.markForCheck();\n const win = this.doc.defaultView;\n const reduce = !!win?.matchMedia && win.matchMedia('(prefers-reduced-motion: reduce)').matches;\n setTimeout(() => {\n this.items = this.items.filter((i) => i !== item);\n this.cdr.markForCheck();\n this.onClose.emit({ message: item.message });\n }, reduce ? 0 : 200);\n if (byUser) this.cdr.markForCheck();\n }\n\n /** Hovering holds a toast (and its countdown line); leaving runs the time that was left. */\n pause(item: ɵWuToastItem): void {\n this.stopTimer(item);\n if (item.deadline) item.remaining = Math.max(0, item.deadline - Date.now());\n }\n resume(item: ɵWuToastItem): void {\n if (!item.leaving) this.startTimer(item);\n }\n\n private add(messages: WuToastMessage[]): void {\n let added = false;\n for (const m of messages) {\n if (!m || (m.key ?? undefined) !== (this.key ?? undefined)) continue;\n if (this._preventOpenDuplicates && this.items.some((i) => !i.leaving && same(i.message, m))) continue;\n if (this._preventDuplicates && this.shown.some((s) => same(s, m))) continue;\n this.shown.push(m);\n const severity = String(m.severity || 'info');\n const item: ɵWuToastItem = {\n uid: ++uid,\n message: m,\n severity: SEVERITY[severity] || severity,\n leaving: false,\n closeFn: () => this.close(item),\n life: Number(m.life) > 0 ? Number(m.life) : this._life,\n };\n this.items = [...this.items, item];\n this.startTimer(item);\n added = true;\n }\n if (!added) return;\n this.raise = modalOpen(this.doc);\n this.cdr.markForCheck();\n }\n\n private startTimer(item: ɵWuToastItem): void {\n if (item.message.sticky) return;\n this.stopTimer(item);\n const ms = item.remaining ?? item.life;\n item.deadline = Date.now() + ms;\n this.timers.set(item.uid, setTimeout(() => this.close(item, false), ms));\n }\n\n private stopTimer(item: ɵWuToastItem): void {\n const t = this.timers.get(item.uid);\n if (t) clearTimeout(t);\n this.timers.delete(item.uid);\n }\n}\n\nfunction modalOpen(doc: Document): boolean {\n try {\n return !!doc.querySelector('dialog:modal');\n } catch {\n return !!doc.querySelector('dialog[open]');\n }\n}\n\nfunction same(a: WuToastMessage, b: WuToastMessage): boolean {\n return a.summary === b.summary && a.detail === b.detail && a.severity === b.severity;\n}\n","import { NgClass, NgStyle, NgTemplateOutlet } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\nimport { ɵWuToastBase } from './toast.base';\n\n/**\n * Toast stack: place `<wu-toast>` once (per key), then `messages.add({ severity: 'success', summary, detail })`.\n * Shows above dialogs, pauses while hovered, and spans the screen on phones.\n */\n@Component({\n selector: 'wu-toast',\n standalone: true,\n imports: [NgClass, NgStyle, NgTemplateOutlet],\n templateUrl: './toast.component.html',\n styleUrl: './toast.css',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class WuToast extends ɵWuToastBase {}\n","<div\n #container\n popover=\"manual\"\n class=\"wu-toast p-toast p-component\"\n [ngClass]=\"'wu-toast-' + position + ' p-toast-' + position + ' ' + (styleClass || '')\"\n [ngStyle]=\"style || null\"\n>\n @for (item of items; track item.uid) {\n <div\n class=\"wu-toast-message p-toast-message\"\n [ngClass]=\"'wu-toast-' + item.severity + ' p-toast-message-' + item.severity + ' ' + (item.message.styleClass || '')\"\n [class.wu-toast-leaving]=\"item.leaving\"\n [attr.role]=\"item.severity === 'error' ? 'alert' : 'status'\"\n [attr.aria-live]=\"item.severity === 'error' ? 'assertive' : 'polite'\"\n aria-atomic=\"true\"\n (mouseenter)=\"pause(item)\"\n (mouseleave)=\"resume(item)\"\n >\n @if (headlessTemplate) {\n <ng-container [ngTemplateOutlet]=\"headlessTemplate\" [ngTemplateOutletContext]=\"{ $implicit: item.message, closeFn: item.closeFn }\"></ng-container>\n } @else {\n <div class=\"wu-toast-content p-toast-message-content\" [ngClass]=\"item.message.contentStyleClass || ''\">\n @if (messageTemplate) {\n <ng-container [ngTemplateOutlet]=\"messageTemplate\" [ngTemplateOutletContext]=\"{ $implicit: item.message }\"></ng-container>\n } @else {\n <span class=\"wu-toast-icon p-toast-message-icon\" aria-hidden=\"true\">\n @if (item.message.icon) {\n <i [class]=\"item.message.icon\"></i>\n } @else {\n <svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <circle cx=\"12\" cy=\"12\" r=\"10\"></circle>\n @switch (item.severity) {\n @case ('success') { <path d=\"M7.5 12.5l3 3 6-6.5\"></path> }\n @case ('error') { <path d=\"M9 9l6 6M15 9l-6 6\"></path> }\n @case ('warn') { <path d=\"M12 7v6M12 16.5v.5\"></path> }\n @default { <path d=\"M12 11v6M12 7.5v.5\"></path> }\n }\n </svg>\n }\n </span>\n <div class=\"wu-toast-text p-toast-message-text\">\n @if (item.message.summary) {\n <div class=\"wu-toast-summary p-toast-summary\">{{ item.message.summary }}</div>\n }\n @if (item.message.detail || item.message.text) {\n <div class=\"wu-toast-detail p-toast-detail\">{{ item.message.detail || item.message.text }}</div>\n }\n </div>\n }\n @if (item.message.closable !== false) {\n <button type=\"button\" class=\"wu-toast-close p-toast-close-button\" [attr.aria-label]=\"t.close\" (click)=\"close(item)\">\n @if (item.message.closeIcon) {\n <i [class]=\"item.message.closeIcon\"></i>\n } @else {\n <svg viewBox=\"0 0 16 16\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.6\" stroke-linecap=\"round\" aria-hidden=\"true\"><path d=\"M4 4l8 8M12 4l-8 8\"></path></svg>\n }\n </button>\n }\n </div>\n }\n @if (showTimer && !item.message.sticky) {\n <div class=\"wu-toast-timer\" aria-hidden=\"true\"><span [style.animation-duration.ms]=\"item.life\"></span></div>\n }\n </div>\n }\n</div>\n","import { NgModule } from '@angular/core';\nimport { WuTemplate } from '@wirabyte/ui/config';\nimport { WuToast } from './toast.component';\n\n/** For NgModule apps. Also exports `WuTemplate` for the message and headless slots. */\n@NgModule({\n imports: [WuToast, WuTemplate],\n exports: [WuToast, WuTemplate],\n})\nexport class WuToastModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["ɵtoBool","ɵrefreshOnTranslation","ɵassertSupportedAngular","ɵWU_SKIP_VERSION_CHECK","ɵfindTemplate"],"mappings":";;;;;;AAIA;;;AAGG;MAEU,gBAAgB,CAAA;AAD7B,IAAA,WAAA,GAAA;AAEmB,QAAA,IAAA,CAAA,aAAa,GAAG,IAAI,OAAO,EAAqC;AAChE,QAAA,IAAA,CAAA,WAAW,GAAG,IAAI,OAAO,EAAiB;AAClD,QAAA,IAAA,CAAA,eAAe,GAAkD,IAAI,CAAC,aAAa,CAAC,YAAY,EAAE;AAClG,QAAA,IAAA,CAAA,aAAa,GAA8B,IAAI,CAAC,WAAW,CAAC,YAAY,EAAE;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