@wirabyte/ui 2.0.0-beta.0 → 3.0.0-beta.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 (1583) hide show
  1. package/fesm2022/wirabyte-ui-accordion.mjs +49 -49
  2. package/fesm2022/wirabyte-ui-accordion.mjs.map +1 -1
  3. package/fesm2022/wirabyte-ui-alert.mjs +14 -14
  4. package/fesm2022/wirabyte-ui-alert.mjs.map +1 -1
  5. package/fesm2022/wirabyte-ui-animate.mjs +10 -10
  6. package/fesm2022/wirabyte-ui-animate.mjs.map +1 -1
  7. package/fesm2022/wirabyte-ui-api.mjs +4 -4
  8. package/fesm2022/wirabyte-ui-asidemenu.mjs +8 -8
  9. package/fesm2022/wirabyte-ui-asidemenu.mjs.map +1 -1
  10. package/fesm2022/wirabyte-ui-autocomplete.mjs +10 -10
  11. package/fesm2022/wirabyte-ui-autocomplete.mjs.map +1 -1
  12. package/fesm2022/wirabyte-ui-avatar.mjs +24 -24
  13. package/fesm2022/wirabyte-ui-avatar.mjs.map +1 -1
  14. package/fesm2022/wirabyte-ui-badge.mjs +20 -20
  15. package/fesm2022/wirabyte-ui-badge.mjs.map +1 -1
  16. package/fesm2022/wirabyte-ui-blockui.mjs +8 -8
  17. package/fesm2022/wirabyte-ui-blockui.mjs.map +1 -1
  18. package/fesm2022/wirabyte-ui-bottombar.mjs +8 -8
  19. package/fesm2022/wirabyte-ui-bottombar.mjs.map +1 -1
  20. package/fesm2022/wirabyte-ui-breadcrumb.mjs +8 -8
  21. package/fesm2022/wirabyte-ui-breadcrumb.mjs.map +1 -1
  22. package/fesm2022/wirabyte-ui-button.mjs +38 -38
  23. package/fesm2022/wirabyte-ui-button.mjs.map +1 -1
  24. package/fesm2022/wirabyte-ui-card.mjs +34 -34
  25. package/fesm2022/wirabyte-ui-card.mjs.map +1 -1
  26. package/fesm2022/wirabyte-ui-carousel.mjs +8 -8
  27. package/fesm2022/wirabyte-ui-carousel.mjs.map +1 -1
  28. package/fesm2022/wirabyte-ui-chart.mjs +1243 -40
  29. package/fesm2022/wirabyte-ui-chart.mjs.map +1 -1
  30. package/fesm2022/wirabyte-ui-chartjs.mjs +10 -10
  31. package/fesm2022/wirabyte-ui-chartjs.mjs.map +1 -1
  32. package/fesm2022/wirabyte-ui-checkbox.mjs +29 -29
  33. package/fesm2022/wirabyte-ui-checkbox.mjs.map +1 -1
  34. package/fesm2022/wirabyte-ui-chip.mjs +20 -20
  35. package/fesm2022/wirabyte-ui-chip.mjs.map +1 -1
  36. package/fesm2022/wirabyte-ui-colorpicker.mjs +8 -8
  37. package/fesm2022/wirabyte-ui-colorpicker.mjs.map +1 -1
  38. package/fesm2022/wirabyte-ui-config.mjs +20 -20
  39. package/fesm2022/wirabyte-ui-config.mjs.map +1 -1
  40. package/fesm2022/wirabyte-ui-confirmdialog.mjs +14 -14
  41. package/fesm2022/wirabyte-ui-confirmdialog.mjs.map +1 -1
  42. package/fesm2022/wirabyte-ui-contextmenu.mjs +7 -7
  43. package/fesm2022/wirabyte-ui-contextmenu.mjs.map +1 -1
  44. package/fesm2022/wirabyte-ui-datepicker.mjs +83 -83
  45. package/fesm2022/wirabyte-ui-datepicker.mjs.map +1 -1
  46. package/fesm2022/wirabyte-ui-dialog.mjs +21 -21
  47. package/fesm2022/wirabyte-ui-dialog.mjs.map +1 -1
  48. package/fesm2022/wirabyte-ui-divider.mjs +16 -16
  49. package/fesm2022/wirabyte-ui-divider.mjs.map +1 -1
  50. package/fesm2022/wirabyte-ui-dock.mjs +8 -8
  51. package/fesm2022/wirabyte-ui-dock.mjs.map +1 -1
  52. package/fesm2022/wirabyte-ui-dragdrop.mjs +10 -10
  53. package/fesm2022/wirabyte-ui-dragdrop.mjs.map +1 -1
  54. package/fesm2022/wirabyte-ui-drawer.mjs +8 -8
  55. package/fesm2022/wirabyte-ui-drawer.mjs.map +1 -1
  56. package/fesm2022/wirabyte-ui-editor.mjs +17 -17
  57. package/fesm2022/wirabyte-ui-editor.mjs.map +1 -1
  58. package/fesm2022/wirabyte-ui-emptystate.mjs +7 -7
  59. package/fesm2022/wirabyte-ui-emptystate.mjs.map +1 -1
  60. package/fesm2022/wirabyte-ui-errorpage.mjs +8 -8
  61. package/fesm2022/wirabyte-ui-errorpage.mjs.map +1 -1
  62. package/fesm2022/wirabyte-ui-fieldset.mjs +21 -21
  63. package/fesm2022/wirabyte-ui-fieldset.mjs.map +1 -1
  64. package/fesm2022/wirabyte-ui-fileupload.mjs +11 -11
  65. package/fesm2022/wirabyte-ui-fileupload.mjs.map +1 -1
  66. package/fesm2022/wirabyte-ui-floatlabel.mjs +7 -7
  67. package/fesm2022/wirabyte-ui-floatlabel.mjs.map +1 -1
  68. package/fesm2022/wirabyte-ui-flow.mjs +51 -51
  69. package/fesm2022/wirabyte-ui-flow.mjs.map +1 -1
  70. package/fesm2022/wirabyte-ui-galleria.mjs +8 -8
  71. package/fesm2022/wirabyte-ui-galleria.mjs.map +1 -1
  72. package/fesm2022/wirabyte-ui-i18n.mjs +17 -17
  73. package/fesm2022/wirabyte-ui-i18n.mjs.map +1 -1
  74. package/fesm2022/wirabyte-ui-iconfield.mjs +10 -10
  75. package/fesm2022/wirabyte-ui-iconfield.mjs.map +1 -1
  76. package/fesm2022/wirabyte-ui-image.mjs +11 -11
  77. package/fesm2022/wirabyte-ui-image.mjs.map +1 -1
  78. package/fesm2022/wirabyte-ui-imagecompare.mjs +8 -8
  79. package/fesm2022/wirabyte-ui-imagecompare.mjs.map +1 -1
  80. package/fesm2022/wirabyte-ui-imagecropper.mjs +8 -8
  81. package/fesm2022/wirabyte-ui-imagecropper.mjs.map +1 -1
  82. package/fesm2022/wirabyte-ui-inplace.mjs +7 -7
  83. package/fesm2022/wirabyte-ui-inplace.mjs.map +1 -1
  84. package/fesm2022/wirabyte-ui-inputgroup.mjs +10 -10
  85. package/fesm2022/wirabyte-ui-inputgroup.mjs.map +1 -1
  86. package/fesm2022/wirabyte-ui-inputmask.mjs +10 -10
  87. package/fesm2022/wirabyte-ui-inputmask.mjs.map +1 -1
  88. package/fesm2022/wirabyte-ui-inputnumber.mjs +60 -60
  89. package/fesm2022/wirabyte-ui-inputnumber.mjs.map +1 -1
  90. package/fesm2022/wirabyte-ui-inputotp.mjs +7 -7
  91. package/fesm2022/wirabyte-ui-inputotp.mjs.map +1 -1
  92. package/fesm2022/wirabyte-ui-inputtext.mjs +12 -12
  93. package/fesm2022/wirabyte-ui-inputtext.mjs.map +1 -1
  94. package/fesm2022/wirabyte-ui-keyfilter.mjs +7 -7
  95. package/fesm2022/wirabyte-ui-keyfilter.mjs.map +1 -1
  96. package/fesm2022/wirabyte-ui-knob.mjs +8 -8
  97. package/fesm2022/wirabyte-ui-knob.mjs.map +1 -1
  98. package/fesm2022/wirabyte-ui-listbox.mjs +8 -8
  99. package/fesm2022/wirabyte-ui-listbox.mjs.map +1 -1
  100. package/fesm2022/wirabyte-ui-menu.mjs +11 -11
  101. package/fesm2022/wirabyte-ui-menu.mjs.map +1 -1
  102. package/fesm2022/wirabyte-ui-menubar.mjs +11 -11
  103. package/fesm2022/wirabyte-ui-menubar.mjs.map +1 -1
  104. package/fesm2022/wirabyte-ui-message.mjs +30 -30
  105. package/fesm2022/wirabyte-ui-message.mjs.map +1 -1
  106. package/fesm2022/wirabyte-ui-metergroup.mjs +35 -35
  107. package/fesm2022/wirabyte-ui-metergroup.mjs.map +1 -1
  108. package/fesm2022/wirabyte-ui-multiselect.mjs +11 -11
  109. package/fesm2022/wirabyte-ui-multiselect.mjs.map +1 -1
  110. package/fesm2022/wirabyte-ui-navbar.mjs +8 -8
  111. package/fesm2022/wirabyte-ui-navbar.mjs.map +1 -1
  112. package/fesm2022/wirabyte-ui-orderlist.mjs +10 -10
  113. package/fesm2022/wirabyte-ui-orderlist.mjs.map +1 -1
  114. package/fesm2022/wirabyte-ui-organizationchart.mjs +8 -8
  115. package/fesm2022/wirabyte-ui-organizationchart.mjs.map +1 -1
  116. package/fesm2022/wirabyte-ui-paginator.mjs +11 -11
  117. package/fesm2022/wirabyte-ui-paginator.mjs.map +1 -1
  118. package/fesm2022/wirabyte-ui-panel.mjs +26 -26
  119. package/fesm2022/wirabyte-ui-panel.mjs.map +1 -1
  120. package/fesm2022/wirabyte-ui-panelmenu.mjs +11 -11
  121. package/fesm2022/wirabyte-ui-panelmenu.mjs.map +1 -1
  122. package/fesm2022/wirabyte-ui-password.mjs +48 -48
  123. package/fesm2022/wirabyte-ui-password.mjs.map +1 -1
  124. package/fesm2022/wirabyte-ui-picklist.mjs +11 -11
  125. package/fesm2022/wirabyte-ui-picklist.mjs.map +1 -1
  126. package/fesm2022/wirabyte-ui-popover.mjs +11 -11
  127. package/fesm2022/wirabyte-ui-popover.mjs.map +1 -1
  128. package/fesm2022/wirabyte-ui-presets.mjs +2 -2
  129. package/fesm2022/wirabyte-ui-presets.mjs.map +1 -1
  130. package/fesm2022/wirabyte-ui-progressbar.mjs +32 -32
  131. package/fesm2022/wirabyte-ui-progressbar.mjs.map +1 -1
  132. package/fesm2022/wirabyte-ui-progressspinner.mjs +28 -28
  133. package/fesm2022/wirabyte-ui-progressspinner.mjs.map +1 -1
  134. package/fesm2022/wirabyte-ui-radiobutton.mjs +28 -28
  135. package/fesm2022/wirabyte-ui-radiobutton.mjs.map +1 -1
  136. package/fesm2022/wirabyte-ui-rating.mjs +25 -25
  137. package/fesm2022/wirabyte-ui-rating.mjs.map +1 -1
  138. package/fesm2022/wirabyte-ui-result.mjs +7 -7
  139. package/fesm2022/wirabyte-ui-result.mjs.map +1 -1
  140. package/fesm2022/wirabyte-ui-ripple.mjs +7 -7
  141. package/fesm2022/wirabyte-ui-ripple.mjs.map +1 -1
  142. package/fesm2022/wirabyte-ui-scroller.mjs +8 -8
  143. package/fesm2022/wirabyte-ui-scroller.mjs.map +1 -1
  144. package/fesm2022/wirabyte-ui-scrollpanel.mjs +7 -7
  145. package/fesm2022/wirabyte-ui-scrollpanel.mjs.map +1 -1
  146. package/fesm2022/wirabyte-ui-select.mjs +11 -11
  147. package/fesm2022/wirabyte-ui-select.mjs.map +1 -1
  148. package/fesm2022/wirabyte-ui-selectbutton.mjs +33 -33
  149. package/fesm2022/wirabyte-ui-selectbutton.mjs.map +1 -1
  150. package/fesm2022/wirabyte-ui-sitefooter.mjs +7 -7
  151. package/fesm2022/wirabyte-ui-sitefooter.mjs.map +1 -1
  152. package/fesm2022/wirabyte-ui-skeleton.mjs +19 -19
  153. package/fesm2022/wirabyte-ui-skeleton.mjs.map +1 -1
  154. package/fesm2022/wirabyte-ui-slider.mjs +8 -8
  155. package/fesm2022/wirabyte-ui-slider.mjs.map +1 -1
  156. package/fesm2022/wirabyte-ui-splitbutton.mjs +7 -7
  157. package/fesm2022/wirabyte-ui-splitbutton.mjs.map +1 -1
  158. package/fesm2022/wirabyte-ui-splitter.mjs +11 -11
  159. package/fesm2022/wirabyte-ui-splitter.mjs.map +1 -1
  160. package/fesm2022/wirabyte-ui-stepper.mjs +42 -42
  161. package/fesm2022/wirabyte-ui-stepper.mjs.map +1 -1
  162. package/fesm2022/wirabyte-ui-steps.mjs +11 -11
  163. package/fesm2022/wirabyte-ui-steps.mjs.map +1 -1
  164. package/fesm2022/wirabyte-ui-table.mjs +86 -86
  165. package/fesm2022/wirabyte-ui-table.mjs.map +1 -1
  166. package/fesm2022/wirabyte-ui-tabs.mjs +74 -74
  167. package/fesm2022/wirabyte-ui-tabs.mjs.map +1 -1
  168. package/fesm2022/wirabyte-ui-tag.mjs +17 -17
  169. package/fesm2022/wirabyte-ui-tag.mjs.map +1 -1
  170. package/fesm2022/wirabyte-ui-terminal.mjs +10 -10
  171. package/fesm2022/wirabyte-ui-terminal.mjs.map +1 -1
  172. package/fesm2022/wirabyte-ui-textarea.mjs +13 -13
  173. package/fesm2022/wirabyte-ui-textarea.mjs.map +1 -1
  174. package/fesm2022/wirabyte-ui-thai.mjs +22 -22
  175. package/fesm2022/wirabyte-ui-tieredmenu.mjs +8 -8
  176. package/fesm2022/wirabyte-ui-tieredmenu.mjs.map +1 -1
  177. package/fesm2022/wirabyte-ui-timeline.mjs +10 -10
  178. package/fesm2022/wirabyte-ui-timeline.mjs.map +1 -1
  179. package/fesm2022/wirabyte-ui-toast.mjs +14 -14
  180. package/fesm2022/wirabyte-ui-toast.mjs.map +1 -1
  181. package/fesm2022/wirabyte-ui-togglebutton.mjs +30 -30
  182. package/fesm2022/wirabyte-ui-togglebutton.mjs.map +1 -1
  183. package/fesm2022/wirabyte-ui-toggleswitch.mjs +27 -27
  184. package/fesm2022/wirabyte-ui-toggleswitch.mjs.map +1 -1
  185. package/fesm2022/wirabyte-ui-toolbar.mjs +7 -7
  186. package/fesm2022/wirabyte-ui-toolbar.mjs.map +1 -1
  187. package/fesm2022/wirabyte-ui-tooltip.mjs +7 -7
  188. package/fesm2022/wirabyte-ui-tooltip.mjs.map +1 -1
  189. package/fesm2022/wirabyte-ui-tree.mjs +8 -8
  190. package/fesm2022/wirabyte-ui-tree.mjs.map +1 -1
  191. package/fesm2022/wirabyte-ui-treeselect.mjs +7 -7
  192. package/fesm2022/wirabyte-ui-treeselect.mjs.map +1 -1
  193. package/fesm2022/wirabyte-ui-validation.mjs +16 -16
  194. package/fesm2022/wirabyte-ui-validation.mjs.map +1 -1
  195. package/fesm2022/wirabyte-ui.mjs +2 -2
  196. package/fesm2022/wirabyte-ui.mjs.map +1 -1
  197. package/package.json +123 -326
  198. package/schematics/ng-add/schema.json +27 -2
  199. package/theme/_version.scss +1 -1
  200. package/themes/glass/amber.css +1181 -0
  201. package/themes/glass/blue.css +1181 -0
  202. package/themes/glass/cyan.css +1181 -0
  203. package/themes/glass/emerald.css +1181 -0
  204. package/themes/glass/fuchsia.css +1181 -0
  205. package/themes/glass/green.css +1181 -0
  206. package/themes/glass/indigo.css +1181 -0
  207. package/themes/glass/lime.css +1181 -0
  208. package/themes/glass/orange.css +1181 -0
  209. package/themes/glass/pink.css +1181 -0
  210. package/themes/glass/purple.css +1181 -0
  211. package/themes/glass/red.css +1181 -0
  212. package/themes/glass/rose.css +1181 -0
  213. package/themes/glass/sky.css +1181 -0
  214. package/themes/glass/teal.css +1181 -0
  215. package/themes/glass/theme.css +1181 -0
  216. package/themes/glass/violet.css +1181 -0
  217. package/themes/glass/wira.css +1181 -0
  218. package/themes/glass/yellow.css +1181 -0
  219. package/themes/lanna/amber.css +1175 -0
  220. package/themes/lanna/blue.css +1175 -0
  221. package/themes/lanna/cyan.css +1175 -0
  222. package/themes/lanna/emerald.css +1175 -0
  223. package/themes/lanna/fuchsia.css +1175 -0
  224. package/themes/lanna/green.css +1175 -0
  225. package/themes/lanna/indigo.css +1175 -0
  226. package/themes/lanna/lime.css +1175 -0
  227. package/themes/lanna/orange.css +1175 -0
  228. package/themes/lanna/pink.css +1175 -0
  229. package/themes/lanna/purple.css +1175 -0
  230. package/themes/lanna/red.css +1175 -0
  231. package/themes/lanna/rose.css +1175 -0
  232. package/themes/lanna/sky.css +1175 -0
  233. package/themes/lanna/teal.css +1175 -0
  234. package/themes/lanna/theme.css +1175 -0
  235. package/themes/lanna/violet.css +1175 -0
  236. package/themes/lanna/wira.css +1175 -0
  237. package/themes/lanna/yellow.css +1175 -0
  238. package/themes/nakhon/amber.css +1175 -0
  239. package/themes/nakhon/blue.css +1175 -0
  240. package/themes/nakhon/cyan.css +1175 -0
  241. package/themes/nakhon/emerald.css +1175 -0
  242. package/themes/nakhon/fuchsia.css +1175 -0
  243. package/themes/nakhon/green.css +1175 -0
  244. package/themes/nakhon/indigo.css +1175 -0
  245. package/themes/nakhon/lime.css +1175 -0
  246. package/themes/nakhon/orange.css +1175 -0
  247. package/themes/nakhon/pink.css +1175 -0
  248. package/themes/nakhon/purple.css +1175 -0
  249. package/themes/nakhon/red.css +1175 -0
  250. package/themes/nakhon/rose.css +1175 -0
  251. package/themes/nakhon/sky.css +1175 -0
  252. package/themes/nakhon/teal.css +1175 -0
  253. package/themes/nakhon/theme.css +1175 -0
  254. package/themes/nakhon/violet.css +1175 -0
  255. package/themes/nakhon/wira.css +1175 -0
  256. package/themes/nakhon/yellow.css +1175 -0
  257. package/themes/siam/amber.css +1175 -0
  258. package/themes/siam/blue.css +1175 -0
  259. package/themes/siam/cyan.css +1175 -0
  260. package/themes/siam/emerald.css +1175 -0
  261. package/themes/siam/fuchsia.css +1175 -0
  262. package/themes/siam/green.css +1175 -0
  263. package/themes/siam/indigo.css +1175 -0
  264. package/themes/siam/lime.css +1175 -0
  265. package/themes/siam/orange.css +1175 -0
  266. package/themes/siam/pink.css +1175 -0
  267. package/themes/siam/purple.css +1175 -0
  268. package/themes/siam/red.css +1175 -0
  269. package/themes/siam/rose.css +1175 -0
  270. package/themes/siam/sky.css +1175 -0
  271. package/themes/siam/teal.css +1175 -0
  272. package/themes/siam/theme.css +1175 -0
  273. package/themes/siam/violet.css +1175 -0
  274. package/themes/siam/wira.css +1175 -0
  275. package/themes/siam/yellow.css +1175 -0
  276. package/themes/wira/amber.css +1175 -0
  277. package/themes/wira/blue.css +1175 -0
  278. package/themes/wira/cyan.css +1175 -0
  279. package/themes/wira/emerald.css +1175 -0
  280. package/themes/wira/fuchsia.css +1175 -0
  281. package/themes/wira/green.css +1175 -0
  282. package/themes/wira/indigo.css +1175 -0
  283. package/themes/wira/lime.css +1175 -0
  284. package/themes/wira/orange.css +1175 -0
  285. package/themes/wira/pink.css +1175 -0
  286. package/themes/wira/purple.css +1175 -0
  287. package/themes/wira/red.css +1175 -0
  288. package/themes/wira/rose.css +1175 -0
  289. package/themes/wira/sky.css +1175 -0
  290. package/themes/wira/teal.css +1175 -0
  291. package/themes/wira/theme.css +1175 -0
  292. package/themes/wira/violet.css +1175 -0
  293. package/themes/wira/wira.css +1175 -0
  294. package/themes/wira/yellow.css +1175 -0
  295. package/types/wirabyte-ui-accordion.d.ts +124 -0
  296. package/types/wirabyte-ui-alert.d.ts +254 -0
  297. package/types/wirabyte-ui-animate.d.ts +100 -0
  298. package/types/wirabyte-ui-api.d.ts +16 -0
  299. package/types/wirabyte-ui-asidemenu.d.ts +233 -0
  300. package/types/wirabyte-ui-autocomplete.d.ts +212 -0
  301. package/types/wirabyte-ui-avatar.d.ts +49 -0
  302. package/types/wirabyte-ui-badge.d.ts +66 -0
  303. package/types/wirabyte-ui-blockui.d.ts +51 -0
  304. package/types/wirabyte-ui-bottombar.d.ts +91 -0
  305. package/types/wirabyte-ui-breadcrumb.d.ts +52 -0
  306. package/types/wirabyte-ui-button.d.ts +132 -0
  307. package/types/wirabyte-ui-card.d.ts +66 -0
  308. package/types/wirabyte-ui-carousel.d.ts +202 -0
  309. package/types/wirabyte-ui-chart.d.ts +412 -0
  310. package/types/wirabyte-ui-chartjs.d.ts +98 -0
  311. package/types/wirabyte-ui-checkbox.d.ts +65 -0
  312. package/types/wirabyte-ui-chip.d.ts +40 -0
  313. package/types/wirabyte-ui-colorpicker.d.ts +98 -0
  314. package/types/wirabyte-ui-config.d.ts +330 -0
  315. package/types/wirabyte-ui-confirmdialog.d.ts +193 -0
  316. package/types/wirabyte-ui-contextmenu.d.ts +57 -0
  317. package/types/wirabyte-ui-core.d.ts +4296 -0
  318. package/types/wirabyte-ui-datepicker.d.ts +251 -0
  319. package/types/wirabyte-ui-dialog.d.ts +273 -0
  320. package/types/wirabyte-ui-divider.d.ts +34 -0
  321. package/types/wirabyte-ui-dock.d.ts +100 -0
  322. package/types/wirabyte-ui-dragdrop.d.ts +74 -0
  323. package/types/wirabyte-ui-drawer.d.ts +113 -0
  324. package/types/wirabyte-ui-editor.d.ts +500 -0
  325. package/types/wirabyte-ui-emptystate.d.ts +55 -0
  326. package/types/wirabyte-ui-errorpage.d.ts +84 -0
  327. package/types/wirabyte-ui-excel.d.ts +29 -0
  328. package/types/wirabyte-ui-fieldset.d.ts +40 -0
  329. package/types/wirabyte-ui-fileupload.d.ts +251 -0
  330. package/types/wirabyte-ui-floatlabel.d.ts +33 -0
  331. package/types/wirabyte-ui-flow.d.ts +1343 -0
  332. package/types/wirabyte-ui-galleria.d.ts +173 -0
  333. package/types/wirabyte-ui-i18n.d.ts +179 -0
  334. package/types/wirabyte-ui-iconfield.d.ts +40 -0
  335. package/types/wirabyte-ui-image.d.ts +100 -0
  336. package/types/wirabyte-ui-imagecompare.d.ts +78 -0
  337. package/types/wirabyte-ui-imagecropper.d.ts +396 -0
  338. package/types/wirabyte-ui-inplace.d.ts +69 -0
  339. package/types/wirabyte-ui-inputgroup.d.ts +36 -0
  340. package/types/wirabyte-ui-inputmask.d.ts +134 -0
  341. package/types/wirabyte-ui-inputnumber.d.ts +126 -0
  342. package/types/wirabyte-ui-inputotp.d.ts +139 -0
  343. package/types/wirabyte-ui-inputtext.d.ts +38 -0
  344. package/types/wirabyte-ui-keyfilter.d.ts +40 -0
  345. package/types/wirabyte-ui-knob.d.ts +104 -0
  346. package/types/wirabyte-ui-listbox.d.ts +197 -0
  347. package/types/wirabyte-ui-menu.d.ts +116 -0
  348. package/types/wirabyte-ui-menubar.d.ts +158 -0
  349. package/types/wirabyte-ui-message.d.ts +110 -0
  350. package/types/wirabyte-ui-metergroup.d.ts +107 -0
  351. package/types/wirabyte-ui-multiselect.d.ts +267 -0
  352. package/types/wirabyte-ui-navbar.d.ts +184 -0
  353. package/types/wirabyte-ui-orderlist.d.ts +166 -0
  354. package/types/wirabyte-ui-organizationchart.d.ts +98 -0
  355. package/types/wirabyte-ui-paginator.d.ts +122 -0
  356. package/types/wirabyte-ui-panel.d.ts +57 -0
  357. package/types/wirabyte-ui-panelmenu.d.ts +70 -0
  358. package/types/wirabyte-ui-password.d.ts +98 -0
  359. package/types/wirabyte-ui-picklist.d.ts +309 -0
  360. package/types/wirabyte-ui-popover.d.ts +81 -0
  361. package/types/wirabyte-ui-presets.d.ts +1 -0
  362. package/types/wirabyte-ui-progressbar.d.ts +75 -0
  363. package/types/wirabyte-ui-progressspinner.d.ts +65 -0
  364. package/types/wirabyte-ui-radiobutton.d.ts +89 -0
  365. package/types/wirabyte-ui-rating.d.ts +54 -0
  366. package/types/wirabyte-ui-result.d.ts +49 -0
  367. package/types/wirabyte-ui-ripple.d.ts +25 -0
  368. package/types/wirabyte-ui-scroller.d.ts +145 -0
  369. package/types/wirabyte-ui-scrollpanel.d.ts +37 -0
  370. package/types/wirabyte-ui-select.d.ts +250 -0
  371. package/types/wirabyte-ui-selectbutton.d.ts +80 -0
  372. package/types/wirabyte-ui-sitefooter.d.ts +81 -0
  373. package/types/wirabyte-ui-skeleton.d.ts +35 -0
  374. package/types/wirabyte-ui-slider.d.ts +90 -0
  375. package/types/wirabyte-ui-splitbutton.d.ts +85 -0
  376. package/types/wirabyte-ui-splitter.d.ts +146 -0
  377. package/types/wirabyte-ui-stepper.d.ts +251 -0
  378. package/types/wirabyte-ui-steps.d.ts +68 -0
  379. package/types/wirabyte-ui-table.d.ts +1108 -0
  380. package/types/wirabyte-ui-tabmenu.d.ts +1 -0
  381. package/types/wirabyte-ui-tabs.d.ts +229 -0
  382. package/types/wirabyte-ui-tag.d.ts +35 -0
  383. package/types/wirabyte-ui-terminal.d.ts +89 -0
  384. package/types/wirabyte-ui-textarea.d.ts +37 -0
  385. package/types/wirabyte-ui-thai.d.ts +67 -0
  386. package/types/wirabyte-ui-tieredmenu.d.ts +100 -0
  387. package/types/wirabyte-ui-timeline.d.ts +54 -0
  388. package/types/wirabyte-ui-toast.d.ts +151 -0
  389. package/types/wirabyte-ui-togglebutton.d.ts +62 -0
  390. package/types/wirabyte-ui-toggleswitch.d.ts +57 -0
  391. package/types/wirabyte-ui-toolbar.d.ts +40 -0
  392. package/types/wirabyte-ui-tooltip.d.ts +112 -0
  393. package/types/wirabyte-ui-tree.d.ts +160 -0
  394. package/types/wirabyte-ui-treeselect.d.ts +150 -0
  395. package/types/wirabyte-ui-validation.d.ts +81 -0
  396. package/types/wirabyte-ui.d.ts +4 -0
  397. package/accordion/accordion.component.d.ts +0 -102
  398. package/accordion/accordion.module.d.ts +0 -9
  399. package/accordion/accordion.types.d.ts +0 -10
  400. package/accordion/index.d.ts +0 -5
  401. package/accordion/public-api.d.ts +0 -3
  402. package/alert/alert-dialog.base.d.ts +0 -79
  403. package/alert/alert-dialog.component.d.ts +0 -8
  404. package/alert/alert.module.d.ts +0 -8
  405. package/alert/alert.service.d.ts +0 -73
  406. package/alert/alert.types.d.ts +0 -87
  407. package/alert/index.d.ts +0 -5
  408. package/alert/public-api.d.ts +0 -5
  409. package/animate/animate.directive.d.ts +0 -34
  410. package/animate/animate.module.d.ts +0 -11
  411. package/animate/animate.service.d.ts +0 -36
  412. package/animate/animate.styles.d.ts +0 -2
  413. package/animate/animate.types.d.ts +0 -20
  414. package/animate/index.d.ts +0 -5
  415. package/animate/public-api.d.ts +0 -4
  416. package/api/index.d.ts +0 -5
  417. package/api/public-api.d.ts +0 -15
  418. package/api/shared.module.d.ts +0 -8
  419. package/asidemenu/asidemenu.component.d.ts +0 -221
  420. package/asidemenu/asidemenu.module.d.ts +0 -9
  421. package/asidemenu/index.d.ts +0 -5
  422. package/asidemenu/public-api.d.ts +0 -2
  423. package/autocomplete/autocomplete.base.d.ts +0 -181
  424. package/autocomplete/autocomplete.component.d.ts +0 -10
  425. package/autocomplete/autocomplete.module.d.ts +0 -9
  426. package/autocomplete/autocomplete.types.d.ts +0 -10
  427. package/autocomplete/index.d.ts +0 -5
  428. package/autocomplete/public-api.d.ts +0 -4
  429. package/avatar/avatar.component.d.ts +0 -36
  430. package/avatar/avatar.module.d.ts +0 -8
  431. package/avatar/avatar.types.d.ts +0 -2
  432. package/avatar/index.d.ts +0 -5
  433. package/avatar/public-api.d.ts +0 -3
  434. package/badge/badge.component.d.ts +0 -20
  435. package/badge/badge.directive.d.ts +0 -32
  436. package/badge/badge.module.d.ts +0 -9
  437. package/badge/badge.styles.d.ts +0 -2
  438. package/badge/badge.types.d.ts +0 -3
  439. package/badge/index.d.ts +0 -5
  440. package/badge/public-api.d.ts +0 -4
  441. package/blockui/blockui.component.d.ts +0 -41
  442. package/blockui/blockui.module.d.ts +0 -8
  443. package/blockui/index.d.ts +0 -5
  444. package/blockui/public-api.d.ts +0 -2
  445. package/bottombar/bottombar.component.d.ts +0 -79
  446. package/bottombar/bottombar.module.d.ts +0 -9
  447. package/bottombar/index.d.ts +0 -5
  448. package/bottombar/public-api.d.ts +0 -2
  449. package/breadcrumb/breadcrumb.component.d.ts +0 -41
  450. package/breadcrumb/breadcrumb.module.d.ts +0 -8
  451. package/breadcrumb/index.d.ts +0 -5
  452. package/breadcrumb/public-api.d.ts +0 -2
  453. package/button/button-class.d.ts +0 -8
  454. package/button/button.component.d.ts +0 -49
  455. package/button/button.directive.d.ts +0 -53
  456. package/button/button.module.d.ts +0 -9
  457. package/button/button.styles.d.ts +0 -2
  458. package/button/button.types.d.ts +0 -8
  459. package/button/index.d.ts +0 -5
  460. package/button/public-api.d.ts +0 -7
  461. package/card/card-slots.d.ts +0 -11
  462. package/card/card.component.d.ts +0 -38
  463. package/card/card.module.d.ts +0 -10
  464. package/card/card.types.d.ts +0 -5
  465. package/card/index.d.ts +0 -5
  466. package/card/public-api.d.ts +0 -4
  467. package/carousel/carousel.component.d.ts +0 -169
  468. package/carousel/carousel.module.d.ts +0 -10
  469. package/carousel/carousel.types.d.ts +0 -21
  470. package/carousel/index.d.ts +0 -5
  471. package/carousel/public-api.d.ts +0 -3
  472. package/chart/chart.component.d.ts +0 -11
  473. package/chart/chart.module.d.ts +0 -8
  474. package/chart/index.d.ts +0 -5
  475. package/chart/public-api.d.ts +0 -3
  476. package/chartjs/chartjs.base.d.ts +0 -70
  477. package/chartjs/chartjs.component.d.ts +0 -10
  478. package/chartjs/chartjs.module.d.ts +0 -8
  479. package/chartjs/chartjs.types.d.ts +0 -8
  480. package/chartjs/index.d.ts +0 -5
  481. package/chartjs/public-api.d.ts +0 -4
  482. package/checkbox/checkbox.component.d.ts +0 -47
  483. package/checkbox/checkbox.module.d.ts +0 -8
  484. package/checkbox/checkbox.styles.d.ts +0 -2
  485. package/checkbox/checkbox.types.d.ts +0 -4
  486. package/checkbox/index.d.ts +0 -5
  487. package/checkbox/public-api.d.ts +0 -5
  488. package/chip/chip.component.d.ts +0 -30
  489. package/chip/chip.module.d.ts +0 -8
  490. package/chip/index.d.ts +0 -5
  491. package/chip/public-api.d.ts +0 -2
  492. package/colorpicker/colorpicker.component.d.ts +0 -87
  493. package/colorpicker/colorpicker.module.d.ts +0 -8
  494. package/colorpicker/index.d.ts +0 -5
  495. package/colorpicker/public-api.d.ts +0 -2
  496. package/config/forms.d.ts +0 -17
  497. package/config/index.d.ts +0 -5
  498. package/config/initializer.d.ts +0 -3
  499. package/config/menu-item.d.ts +0 -52
  500. package/config/options.d.ts +0 -48
  501. package/config/popup.d.ts +0 -48
  502. package/config/provide.d.ts +0 -23
  503. package/config/public-api.d.ts +0 -17
  504. package/config/ripple.d.ts +0 -2
  505. package/config/scroll-lock.d.ts +0 -5
  506. package/config/severity.d.ts +0 -5
  507. package/config/style-loader.d.ts +0 -12
  508. package/config/template.d.ts +0 -19
  509. package/config/theme.service.d.ts +0 -46
  510. package/config/version-guard.d.ts +0 -14
  511. package/config/version.d.ts +0 -6
  512. package/config/wu-config.service.d.ts +0 -24
  513. package/confirmdialog/confirmation.service.d.ts +0 -25
  514. package/confirmdialog/confirmdialog.base.d.ts +0 -110
  515. package/confirmdialog/confirmdialog.component.d.ts +0 -11
  516. package/confirmdialog/confirmdialog.module.d.ts +0 -9
  517. package/confirmdialog/confirmdialog.types.d.ts +0 -37
  518. package/confirmdialog/index.d.ts +0 -5
  519. package/confirmdialog/public-api.d.ts +0 -5
  520. package/contextmenu/contextmenu.component.d.ts +0 -47
  521. package/contextmenu/contextmenu.module.d.ts +0 -8
  522. package/contextmenu/index.d.ts +0 -5
  523. package/contextmenu/public-api.d.ts +0 -2
  524. package/core/carousel.d.ts +0 -27
  525. package/core/catalog.d.ts +0 -446
  526. package/core/chart/format.d.ts +0 -19
  527. package/core/chart/index.d.ts +0 -6
  528. package/core/chart/kinds.d.ts +0 -78
  529. package/core/chart/model.d.ts +0 -500
  530. package/core/chart/more.d.ts +0 -33
  531. package/core/chart/paths.d.ts +0 -41
  532. package/core/chart/scale.d.ts +0 -22
  533. package/core/color.d.ts +0 -31
  534. package/core/colorpicker.d.ts +0 -23
  535. package/core/compat.d.ts +0 -11
  536. package/core/config.d.ts +0 -64
  537. package/core/date.d.ts +0 -130
  538. package/core/datepicker.d.ts +0 -184
  539. package/core/dock.d.ts +0 -6
  540. package/core/editor.d.ts +0 -117
  541. package/core/errorpage.d.ts +0 -15
  542. package/core/excel.d.ts +0 -239
  543. package/core/exporters.d.ts +0 -18
  544. package/core/families.d.ts +0 -13
  545. package/core/fileupload.d.ts +0 -24
  546. package/core/flow/changes.d.ts +0 -63
  547. package/core/flow/edges.d.ts +0 -52
  548. package/core/flow/export.d.ts +0 -56
  549. package/core/flow/geometry.d.ts +0 -117
  550. package/core/flow/graph.d.ts +0 -104
  551. package/core/flow/history.d.ts +0 -54
  552. package/core/flow/index.d.ts +0 -13
  553. package/core/flow/interaction.d.ts +0 -140
  554. package/core/flow/layout.d.ts +0 -57
  555. package/core/flow/paths.d.ts +0 -76
  556. package/core/flow/text.d.ts +0 -18
  557. package/core/flow/types.d.ts +0 -217
  558. package/core/flow/viewport.d.ts +0 -48
  559. package/core/i18n.d.ts +0 -24
  560. package/core/imagecompare.d.ts +0 -12
  561. package/core/imagecropper.d.ts +0 -183
  562. package/core/index.d.ts +0 -39
  563. package/core/inputotp.d.ts +0 -20
  564. package/core/knob.d.ts +0 -28
  565. package/core/mask.d.ts +0 -43
  566. package/core/menu.d.ts +0 -29
  567. package/core/number.d.ts +0 -66
  568. package/core/organizationchart.d.ts +0 -39
  569. package/core/overrides.d.ts +0 -109
  570. package/core/picklist.d.ts +0 -81
  571. package/core/select.d.ts +0 -44
  572. package/core/splitter.d.ts +0 -17
  573. package/core/table.d.ts +0 -48
  574. package/core/terminal.d.ts +0 -12
  575. package/core/thai/buddhist.d.ts +0 -22
  576. package/core/thai/locale.d.ts +0 -358
  577. package/core/thai/text.d.ts +0 -32
  578. package/core/thai/thai-id.d.ts +0 -6
  579. package/core/tokens.d.ts +0 -69
  580. package/core/tree.d.ts +0 -50
  581. package/core/validation.d.ts +0 -18
  582. package/datepicker/datepicker.component.d.ts +0 -230
  583. package/datepicker/datepicker.module.d.ts +0 -8
  584. package/datepicker/datepicker.types.d.ts +0 -10
  585. package/datepicker/index.d.ts +0 -5
  586. package/datepicker/public-api.d.ts +0 -3
  587. package/dialog/dialog.base.d.ts +0 -147
  588. package/dialog/dialog.component.d.ts +0 -11
  589. package/dialog/dialog.module.d.ts +0 -10
  590. package/dialog/dialog.service.d.ts +0 -104
  591. package/dialog/dialog.types.d.ts +0 -3
  592. package/dialog/index.d.ts +0 -5
  593. package/dialog/public-api.d.ts +0 -5
  594. package/divider/divider.component.d.ts +0 -19
  595. package/divider/divider.module.d.ts +0 -8
  596. package/divider/divider.types.d.ts +0 -4
  597. package/divider/index.d.ts +0 -5
  598. package/divider/public-api.d.ts +0 -3
  599. package/dock/dock.component.d.ts +0 -88
  600. package/dock/dock.module.d.ts +0 -9
  601. package/dock/index.d.ts +0 -5
  602. package/dock/public-api.d.ts +0 -2
  603. package/dragdrop/dragdrop.directive.d.ts +0 -65
  604. package/dragdrop/dragdrop.module.d.ts +0 -8
  605. package/dragdrop/dragdrop.styles.d.ts +0 -2
  606. package/dragdrop/index.d.ts +0 -5
  607. package/dragdrop/public-api.d.ts +0 -2
  608. package/drawer/drawer.component.d.ts +0 -102
  609. package/drawer/drawer.module.d.ts +0 -8
  610. package/drawer/index.d.ts +0 -5
  611. package/drawer/public-api.d.ts +0 -5
  612. package/editor/editor-content.directive.d.ts +0 -10
  613. package/editor/editor-icon.directive.d.ts +0 -8
  614. package/editor/editor.base.d.ts +0 -367
  615. package/editor/editor.component.d.ts +0 -11
  616. package/editor/editor.dom.d.ts +0 -91
  617. package/editor/editor.icons.d.ts +0 -13
  618. package/editor/editor.module.d.ts +0 -10
  619. package/editor/editor.styles.d.ts +0 -2
  620. package/editor/editor.types.d.ts +0 -92
  621. package/editor/index.d.ts +0 -5
  622. package/editor/public-api.d.ts +0 -6
  623. package/emptystate/emptystate.component.d.ts +0 -44
  624. package/emptystate/emptystate.module.d.ts +0 -8
  625. package/emptystate/index.d.ts +0 -5
  626. package/emptystate/public-api.d.ts +0 -2
  627. package/errorpage/errorpage.component.d.ts +0 -73
  628. package/errorpage/errorpage.module.d.ts +0 -8
  629. package/errorpage/index.d.ts +0 -5
  630. package/errorpage/public-api.d.ts +0 -2
  631. package/esm2022/accordion/accordion.component.mjs +0 -285
  632. package/esm2022/accordion/accordion.module.mjs +0 -19
  633. package/esm2022/accordion/accordion.types.mjs +0 -17
  634. package/esm2022/accordion/public-api.mjs +0 -4
  635. package/esm2022/accordion/wirabyte-ui-accordion.mjs +0 -5
  636. package/esm2022/alert/alert-dialog.base.mjs +0 -355
  637. package/esm2022/alert/alert-dialog.component.mjs +0 -21
  638. package/esm2022/alert/alert.module.mjs +0 -17
  639. package/esm2022/alert/alert.service.mjs +0 -142
  640. package/esm2022/alert/alert.types.mjs +0 -2
  641. package/esm2022/alert/public-api.mjs +0 -6
  642. package/esm2022/alert/wirabyte-ui-alert.mjs +0 -5
  643. package/esm2022/animate/animate.directive.mjs +0 -71
  644. package/esm2022/animate/animate.module.mjs +0 -21
  645. package/esm2022/animate/animate.service.mjs +0 -183
  646. package/esm2022/animate/animate.styles.mjs +0 -3
  647. package/esm2022/animate/animate.types.mjs +0 -2
  648. package/esm2022/animate/public-api.mjs +0 -5
  649. package/esm2022/animate/wirabyte-ui-animate.mjs +0 -5
  650. package/esm2022/api/public-api.mjs +0 -11
  651. package/esm2022/api/shared.module.mjs +0 -17
  652. package/esm2022/api/wirabyte-ui-api.mjs +0 -5
  653. package/esm2022/asidemenu/asidemenu.component.mjs +0 -811
  654. package/esm2022/asidemenu/asidemenu.module.mjs +0 -18
  655. package/esm2022/asidemenu/public-api.mjs +0 -3
  656. package/esm2022/asidemenu/wirabyte-ui-asidemenu.mjs +0 -5
  657. package/esm2022/autocomplete/autocomplete.base.mjs +0 -567
  658. package/esm2022/autocomplete/autocomplete.component.mjs +0 -24
  659. package/esm2022/autocomplete/autocomplete.module.mjs +0 -18
  660. package/esm2022/autocomplete/autocomplete.types.mjs +0 -2
  661. package/esm2022/autocomplete/public-api.mjs +0 -5
  662. package/esm2022/autocomplete/wirabyte-ui-autocomplete.mjs +0 -5
  663. package/esm2022/avatar/avatar.component.mjs +0 -68
  664. package/esm2022/avatar/avatar.module.mjs +0 -17
  665. package/esm2022/avatar/avatar.types.mjs +0 -2
  666. package/esm2022/avatar/public-api.mjs +0 -4
  667. package/esm2022/avatar/wirabyte-ui-avatar.mjs +0 -5
  668. package/esm2022/badge/badge.component.mjs +0 -49
  669. package/esm2022/badge/badge.directive.mjs +0 -111
  670. package/esm2022/badge/badge.module.mjs +0 -18
  671. package/esm2022/badge/badge.styles.mjs +0 -3
  672. package/esm2022/badge/badge.types.mjs +0 -2
  673. package/esm2022/badge/public-api.mjs +0 -5
  674. package/esm2022/badge/wirabyte-ui-badge.mjs +0 -5
  675. package/esm2022/blockui/blockui.component.mjs +0 -152
  676. package/esm2022/blockui/blockui.module.mjs +0 -17
  677. package/esm2022/blockui/public-api.mjs +0 -3
  678. package/esm2022/blockui/wirabyte-ui-blockui.mjs +0 -5
  679. package/esm2022/bottombar/bottombar.component.mjs +0 -209
  680. package/esm2022/bottombar/bottombar.module.mjs +0 -18
  681. package/esm2022/bottombar/public-api.mjs +0 -3
  682. package/esm2022/bottombar/wirabyte-ui-bottombar.mjs +0 -5
  683. package/esm2022/breadcrumb/breadcrumb.component.mjs +0 -86
  684. package/esm2022/breadcrumb/breadcrumb.module.mjs +0 -17
  685. package/esm2022/breadcrumb/public-api.mjs +0 -3
  686. package/esm2022/breadcrumb/wirabyte-ui-breadcrumb.mjs +0 -5
  687. package/esm2022/button/button-class.mjs +0 -26
  688. package/esm2022/button/button.component.mjs +0 -110
  689. package/esm2022/button/button.directive.mjs +0 -193
  690. package/esm2022/button/button.module.mjs +0 -18
  691. package/esm2022/button/button.styles.mjs +0 -3
  692. package/esm2022/button/button.types.mjs +0 -2
  693. package/esm2022/button/public-api.mjs +0 -8
  694. package/esm2022/button/wirabyte-ui-button.mjs +0 -5
  695. package/esm2022/card/card-slots.mjs +0 -27
  696. package/esm2022/card/card.component.mjs +0 -65
  697. package/esm2022/card/card.module.mjs +0 -19
  698. package/esm2022/card/card.types.mjs +0 -2
  699. package/esm2022/card/public-api.mjs +0 -5
  700. package/esm2022/card/wirabyte-ui-card.mjs +0 -5
  701. package/esm2022/carousel/carousel.component.mjs +0 -617
  702. package/esm2022/carousel/carousel.module.mjs +0 -19
  703. package/esm2022/carousel/carousel.types.mjs +0 -2
  704. package/esm2022/carousel/public-api.mjs +0 -4
  705. package/esm2022/carousel/wirabyte-ui-carousel.mjs +0 -5
  706. package/esm2022/chart/chart.component.mjs +0 -42
  707. package/esm2022/chart/chart.module.mjs +0 -17
  708. package/esm2022/chart/public-api.mjs +0 -3
  709. package/esm2022/chart/wirabyte-ui-chart.mjs +0 -5
  710. package/esm2022/chartjs/chartjs.base.mjs +0 -204
  711. package/esm2022/chartjs/chartjs.component.mjs +0 -41
  712. package/esm2022/chartjs/chartjs.module.mjs +0 -17
  713. package/esm2022/chartjs/chartjs.types.mjs +0 -2
  714. package/esm2022/chartjs/public-api.mjs +0 -5
  715. package/esm2022/chartjs/wirabyte-ui-chartjs.mjs +0 -5
  716. package/esm2022/checkbox/checkbox.component.mjs +0 -93
  717. package/esm2022/checkbox/checkbox.module.mjs +0 -17
  718. package/esm2022/checkbox/checkbox.styles.mjs +0 -3
  719. package/esm2022/checkbox/checkbox.types.mjs +0 -2
  720. package/esm2022/checkbox/public-api.mjs +0 -6
  721. package/esm2022/checkbox/wirabyte-ui-checkbox.mjs +0 -5
  722. package/esm2022/chip/chip.component.mjs +0 -59
  723. package/esm2022/chip/chip.module.mjs +0 -17
  724. package/esm2022/chip/public-api.mjs +0 -3
  725. package/esm2022/chip/wirabyte-ui-chip.mjs +0 -5
  726. package/esm2022/colorpicker/colorpicker.component.mjs +0 -308
  727. package/esm2022/colorpicker/colorpicker.module.mjs +0 -17
  728. package/esm2022/colorpicker/public-api.mjs +0 -3
  729. package/esm2022/colorpicker/wirabyte-ui-colorpicker.mjs +0 -5
  730. package/esm2022/config/forms.mjs +0 -38
  731. package/esm2022/config/initializer.mjs +0 -6
  732. package/esm2022/config/menu-item.mjs +0 -2
  733. package/esm2022/config/options.mjs +0 -3
  734. package/esm2022/config/popup.mjs +0 -153
  735. package/esm2022/config/provide.mjs +0 -45
  736. package/esm2022/config/public-api.mjs +0 -17
  737. package/esm2022/config/ripple.mjs +0 -13
  738. package/esm2022/config/scroll-lock.mjs +0 -31
  739. package/esm2022/config/severity.mjs +0 -9
  740. package/esm2022/config/style-loader.mjs +0 -32
  741. package/esm2022/config/template.mjs +0 -46
  742. package/esm2022/config/theme.service.mjs +0 -161
  743. package/esm2022/config/version-guard.mjs +0 -43
  744. package/esm2022/config/version.mjs +0 -3
  745. package/esm2022/config/wirabyte-ui-config.mjs +0 -5
  746. package/esm2022/config/wu-config.service.mjs +0 -50
  747. package/esm2022/confirmdialog/confirmation.service.mjs +0 -78
  748. package/esm2022/confirmdialog/confirmdialog.base.mjs +0 -274
  749. package/esm2022/confirmdialog/confirmdialog.component.mjs +0 -22
  750. package/esm2022/confirmdialog/confirmdialog.module.mjs +0 -18
  751. package/esm2022/confirmdialog/confirmdialog.types.mjs +0 -8
  752. package/esm2022/confirmdialog/public-api.mjs +0 -6
  753. package/esm2022/confirmdialog/wirabyte-ui-confirmdialog.mjs +0 -5
  754. package/esm2022/contextmenu/contextmenu.component.mjs +0 -159
  755. package/esm2022/contextmenu/contextmenu.module.mjs +0 -17
  756. package/esm2022/contextmenu/public-api.mjs +0 -3
  757. package/esm2022/contextmenu/wirabyte-ui-contextmenu.mjs +0 -5
  758. package/esm2022/core/carousel.mjs +0 -62
  759. package/esm2022/core/catalog.mjs +0 -203
  760. package/esm2022/core/chart/format.mjs +0 -66
  761. package/esm2022/core/chart/index.mjs +0 -7
  762. package/esm2022/core/chart/kinds.mjs +0 -1336
  763. package/esm2022/core/chart/model.mjs +0 -713
  764. package/esm2022/core/chart/more.mjs +0 -311
  765. package/esm2022/core/chart/paths.mjs +0 -160
  766. package/esm2022/core/chart/scale.mjs +0 -58
  767. package/esm2022/core/color.mjs +0 -94
  768. package/esm2022/core/colorpicker.mjs +0 -73
  769. package/esm2022/core/compat.mjs +0 -149
  770. package/esm2022/core/config.mjs +0 -163
  771. package/esm2022/core/date.mjs +0 -317
  772. package/esm2022/core/datepicker.mjs +0 -526
  773. package/esm2022/core/dock.mjs +0 -14
  774. package/esm2022/core/editor.mjs +0 -271
  775. package/esm2022/core/errorpage.mjs +0 -47
  776. package/esm2022/core/excel.mjs +0 -809
  777. package/esm2022/core/exporters.mjs +0 -241
  778. package/esm2022/core/families.mjs +0 -1756
  779. package/esm2022/core/fileupload.mjs +0 -48
  780. package/esm2022/core/flow/changes.mjs +0 -205
  781. package/esm2022/core/flow/edges.mjs +0 -87
  782. package/esm2022/core/flow/export.mjs +0 -231
  783. package/esm2022/core/flow/geometry.mjs +0 -309
  784. package/esm2022/core/flow/graph.mjs +0 -314
  785. package/esm2022/core/flow/history.mjs +0 -105
  786. package/esm2022/core/flow/index.mjs +0 -14
  787. package/esm2022/core/flow/interaction.mjs +0 -246
  788. package/esm2022/core/flow/layout.mjs +0 -586
  789. package/esm2022/core/flow/paths.mjs +0 -252
  790. package/esm2022/core/flow/text.mjs +0 -68
  791. package/esm2022/core/flow/types.mjs +0 -7
  792. package/esm2022/core/flow/viewport.mjs +0 -133
  793. package/esm2022/core/i18n.mjs +0 -78
  794. package/esm2022/core/imagecompare.mjs +0 -28
  795. package/esm2022/core/imagecropper.mjs +0 -483
  796. package/esm2022/core/index.mjs +0 -40
  797. package/esm2022/core/inputotp.mjs +0 -50
  798. package/esm2022/core/knob.mjs +0 -106
  799. package/esm2022/core/mask.mjs +0 -112
  800. package/esm2022/core/menu.mjs +0 -77
  801. package/esm2022/core/number.mjs +0 -131
  802. package/esm2022/core/organizationchart.mjs +0 -84
  803. package/esm2022/core/overrides.mjs +0 -169
  804. package/esm2022/core/picklist.mjs +0 -248
  805. package/esm2022/core/select.mjs +0 -161
  806. package/esm2022/core/splitter.mjs +0 -63
  807. package/esm2022/core/table.mjs +0 -174
  808. package/esm2022/core/terminal.mjs +0 -29
  809. package/esm2022/core/thai/buddhist.mjs +0 -129
  810. package/esm2022/core/thai/locale.mjs +0 -652
  811. package/esm2022/core/thai/text.mjs +0 -164
  812. package/esm2022/core/thai/thai-id.mjs +0 -22
  813. package/esm2022/core/tokens.mjs +0 -314
  814. package/esm2022/core/tree.mjs +0 -137
  815. package/esm2022/core/validation.mjs +0 -43
  816. package/esm2022/core/wirabyte-ui-core.mjs +0 -5
  817. package/esm2022/datepicker/datepicker.component.mjs +0 -715
  818. package/esm2022/datepicker/datepicker.module.mjs +0 -17
  819. package/esm2022/datepicker/datepicker.types.mjs +0 -2
  820. package/esm2022/datepicker/public-api.mjs +0 -4
  821. package/esm2022/datepicker/wirabyte-ui-datepicker.mjs +0 -5
  822. package/esm2022/dialog/dialog.base.mjs +0 -433
  823. package/esm2022/dialog/dialog.component.mjs +0 -18
  824. package/esm2022/dialog/dialog.module.mjs +0 -19
  825. package/esm2022/dialog/dialog.service.mjs +0 -237
  826. package/esm2022/dialog/dialog.types.mjs +0 -2
  827. package/esm2022/dialog/public-api.mjs +0 -6
  828. package/esm2022/dialog/wirabyte-ui-dialog.mjs +0 -5
  829. package/esm2022/divider/divider.component.mjs +0 -47
  830. package/esm2022/divider/divider.module.mjs +0 -17
  831. package/esm2022/divider/divider.types.mjs +0 -2
  832. package/esm2022/divider/public-api.mjs +0 -4
  833. package/esm2022/divider/wirabyte-ui-divider.mjs +0 -5
  834. package/esm2022/dock/dock.component.mjs +0 -287
  835. package/esm2022/dock/dock.module.mjs +0 -18
  836. package/esm2022/dock/public-api.mjs +0 -3
  837. package/esm2022/dock/wirabyte-ui-dock.mjs +0 -5
  838. package/esm2022/dragdrop/dragdrop.directive.mjs +0 -206
  839. package/esm2022/dragdrop/dragdrop.module.mjs +0 -17
  840. package/esm2022/dragdrop/dragdrop.styles.mjs +0 -3
  841. package/esm2022/dragdrop/public-api.mjs +0 -3
  842. package/esm2022/dragdrop/wirabyte-ui-dragdrop.mjs +0 -5
  843. package/esm2022/drawer/drawer.component.mjs +0 -300
  844. package/esm2022/drawer/drawer.module.mjs +0 -17
  845. package/esm2022/drawer/public-api.mjs +0 -6
  846. package/esm2022/drawer/wirabyte-ui-drawer.mjs +0 -5
  847. package/esm2022/editor/editor-content.directive.mjs +0 -24
  848. package/esm2022/editor/editor-icon.directive.mjs +0 -24
  849. package/esm2022/editor/editor.base.mjs +0 -2082
  850. package/esm2022/editor/editor.component.mjs +0 -20
  851. package/esm2022/editor/editor.dom.mjs +0 -787
  852. package/esm2022/editor/editor.icons.mjs +0 -106
  853. package/esm2022/editor/editor.module.mjs +0 -19
  854. package/esm2022/editor/editor.styles.mjs +0 -3
  855. package/esm2022/editor/editor.types.mjs +0 -6
  856. package/esm2022/editor/public-api.mjs +0 -7
  857. package/esm2022/editor/wirabyte-ui-editor.mjs +0 -5
  858. package/esm2022/emptystate/emptystate.component.mjs +0 -78
  859. package/esm2022/emptystate/emptystate.module.mjs +0 -17
  860. package/esm2022/emptystate/public-api.mjs +0 -3
  861. package/esm2022/emptystate/wirabyte-ui-emptystate.mjs +0 -5
  862. package/esm2022/errorpage/errorpage.component.mjs +0 -163
  863. package/esm2022/errorpage/errorpage.module.mjs +0 -17
  864. package/esm2022/errorpage/public-api.mjs +0 -3
  865. package/esm2022/errorpage/wirabyte-ui-errorpage.mjs +0 -5
  866. package/esm2022/excel/excel.mjs +0 -35
  867. package/esm2022/excel/public-api.mjs +0 -3
  868. package/esm2022/excel/wirabyte-ui-excel.mjs +0 -5
  869. package/esm2022/fieldset/fieldset.component.mjs +0 -53
  870. package/esm2022/fieldset/fieldset.module.mjs +0 -18
  871. package/esm2022/fieldset/public-api.mjs +0 -3
  872. package/esm2022/fieldset/wirabyte-ui-fieldset.mjs +0 -5
  873. package/esm2022/fileupload/fileupload.base.mjs +0 -563
  874. package/esm2022/fileupload/fileupload.component.mjs +0 -19
  875. package/esm2022/fileupload/fileupload.module.mjs +0 -18
  876. package/esm2022/fileupload/fileupload.types.mjs +0 -2
  877. package/esm2022/fileupload/public-api.mjs +0 -5
  878. package/esm2022/fileupload/wirabyte-ui-fileupload.mjs +0 -5
  879. package/esm2022/floatlabel/floatlabel.component.mjs +0 -53
  880. package/esm2022/floatlabel/floatlabel.module.mjs +0 -17
  881. package/esm2022/floatlabel/floatlabel.types.mjs +0 -2
  882. package/esm2022/floatlabel/public-api.mjs +0 -4
  883. package/esm2022/floatlabel/wirabyte-ui-floatlabel.mjs +0 -5
  884. package/esm2022/flow/flow-background.component.mjs +0 -183
  885. package/esm2022/flow/flow-controls.component.mjs +0 -267
  886. package/esm2022/flow/flow-handle.component.mjs +0 -130
  887. package/esm2022/flow/flow-history.directive.mjs +0 -129
  888. package/esm2022/flow/flow-host.mjs +0 -7
  889. package/esm2022/flow/flow-minimap.component.mjs +0 -322
  890. package/esm2022/flow/flow-node-outlet.mjs +0 -148
  891. package/esm2022/flow/flow-node-resizer.component.mjs +0 -208
  892. package/esm2022/flow/flow-node-toolbar.component.mjs +0 -119
  893. package/esm2022/flow/flow-panel.component.mjs +0 -37
  894. package/esm2022/flow/flow-templates.mjs +0 -100
  895. package/esm2022/flow/flow.component.mjs +0 -3245
  896. package/esm2022/flow/flow.module.mjs +0 -69
  897. package/esm2022/flow/flow.types.mjs +0 -7
  898. package/esm2022/flow/public-api.mjs +0 -17
  899. package/esm2022/flow/wirabyte-ui-flow.mjs +0 -5
  900. package/esm2022/galleria/galleria.component.mjs +0 -480
  901. package/esm2022/galleria/galleria.module.mjs +0 -17
  902. package/esm2022/galleria/public-api.mjs +0 -3
  903. package/esm2022/galleria/wirabyte-ui-galleria.mjs +0 -5
  904. package/esm2022/i18n/i18n.module.mjs +0 -37
  905. package/esm2022/i18n/i18n.service.mjs +0 -148
  906. package/esm2022/i18n/i18n.types.mjs +0 -3
  907. package/esm2022/i18n/language-switch.component.mjs +0 -91
  908. package/esm2022/i18n/public-api.mjs +0 -7
  909. package/esm2022/i18n/translate.pipe.mjs +0 -52
  910. package/esm2022/i18n/wirabyte-ui-i18n.mjs +0 -5
  911. package/esm2022/iconfield/iconfield.component.mjs +0 -73
  912. package/esm2022/iconfield/iconfield.module.mjs +0 -17
  913. package/esm2022/iconfield/public-api.mjs +0 -3
  914. package/esm2022/iconfield/wirabyte-ui-iconfield.mjs +0 -5
  915. package/esm2022/image/image.base.mjs +0 -183
  916. package/esm2022/image/image.component.mjs +0 -14
  917. package/esm2022/image/image.module.mjs +0 -18
  918. package/esm2022/image/public-api.mjs +0 -4
  919. package/esm2022/image/wirabyte-ui-image.mjs +0 -5
  920. package/esm2022/imagecompare/imagecompare.component.mjs +0 -200
  921. package/esm2022/imagecompare/imagecompare.module.mjs +0 -18
  922. package/esm2022/imagecompare/public-api.mjs +0 -3
  923. package/esm2022/imagecompare/wirabyte-ui-imagecompare.mjs +0 -5
  924. package/esm2022/imagecropper/imagecropper.component.mjs +0 -1253
  925. package/esm2022/imagecropper/imagecropper.module.mjs +0 -17
  926. package/esm2022/imagecropper/imagecropper.types.mjs +0 -6
  927. package/esm2022/imagecropper/public-api.mjs +0 -5
  928. package/esm2022/imagecropper/wirabyte-ui-imagecropper.mjs +0 -5
  929. package/esm2022/inplace/inplace.component.mjs +0 -145
  930. package/esm2022/inplace/inplace.module.mjs +0 -17
  931. package/esm2022/inplace/public-api.mjs +0 -3
  932. package/esm2022/inplace/wirabyte-ui-inplace.mjs +0 -5
  933. package/esm2022/inputgroup/inputgroup.component.mjs +0 -61
  934. package/esm2022/inputgroup/inputgroup.module.mjs +0 -17
  935. package/esm2022/inputgroup/public-api.mjs +0 -3
  936. package/esm2022/inputgroup/wirabyte-ui-inputgroup.mjs +0 -5
  937. package/esm2022/inputmask/inputmask.base.mjs +0 -319
  938. package/esm2022/inputmask/inputmask.component.mjs +0 -23
  939. package/esm2022/inputmask/inputmask.module.mjs +0 -17
  940. package/esm2022/inputmask/public-api.mjs +0 -4
  941. package/esm2022/inputmask/wirabyte-ui-inputmask.mjs +0 -5
  942. package/esm2022/inputnumber/inputnumber.component.mjs +0 -255
  943. package/esm2022/inputnumber/inputnumber.module.mjs +0 -17
  944. package/esm2022/inputnumber/inputnumber.types.mjs +0 -2
  945. package/esm2022/inputnumber/public-api.mjs +0 -4
  946. package/esm2022/inputnumber/wirabyte-ui-inputnumber.mjs +0 -5
  947. package/esm2022/inputotp/inputotp.component.mjs +0 -344
  948. package/esm2022/inputotp/inputotp.module.mjs +0 -18
  949. package/esm2022/inputotp/inputotp.types.mjs +0 -2
  950. package/esm2022/inputotp/public-api.mjs +0 -4
  951. package/esm2022/inputotp/wirabyte-ui-inputotp.mjs +0 -5
  952. package/esm2022/inputtext/inputtext.directive.mjs +0 -54
  953. package/esm2022/inputtext/inputtext.module.mjs +0 -17
  954. package/esm2022/inputtext/inputtext.styles.mjs +0 -3
  955. package/esm2022/inputtext/inputtext.types.mjs +0 -2
  956. package/esm2022/inputtext/public-api.mjs +0 -6
  957. package/esm2022/inputtext/wirabyte-ui-inputtext.mjs +0 -5
  958. package/esm2022/keyfilter/keyfilter.directive.mjs +0 -131
  959. package/esm2022/keyfilter/keyfilter.module.mjs +0 -17
  960. package/esm2022/keyfilter/public-api.mjs +0 -3
  961. package/esm2022/keyfilter/wirabyte-ui-keyfilter.mjs +0 -5
  962. package/esm2022/knob/knob.component.mjs +0 -207
  963. package/esm2022/knob/knob.module.mjs +0 -17
  964. package/esm2022/knob/public-api.mjs +0 -3
  965. package/esm2022/knob/wirabyte-ui-knob.mjs +0 -5
  966. package/esm2022/listbox/listbox.component.mjs +0 -520
  967. package/esm2022/listbox/listbox.module.mjs +0 -17
  968. package/esm2022/listbox/public-api.mjs +0 -3
  969. package/esm2022/listbox/wirabyte-ui-listbox.mjs +0 -5
  970. package/esm2022/menu/menu.base.mjs +0 -320
  971. package/esm2022/menu/menu.component.mjs +0 -19
  972. package/esm2022/menu/menu.module.mjs +0 -18
  973. package/esm2022/menu/public-api.mjs +0 -4
  974. package/esm2022/menu/wirabyte-ui-menu.mjs +0 -5
  975. package/esm2022/menubar/menubar.base.mjs +0 -568
  976. package/esm2022/menubar/menubar.component.mjs +0 -19
  977. package/esm2022/menubar/menubar.module.mjs +0 -18
  978. package/esm2022/menubar/public-api.mjs +0 -4
  979. package/esm2022/menubar/wirabyte-ui-menubar.mjs +0 -5
  980. package/esm2022/message/message.component.mjs +0 -78
  981. package/esm2022/message/message.module.mjs +0 -20
  982. package/esm2022/message/message.types.mjs +0 -2
  983. package/esm2022/message/messages.base.mjs +0 -109
  984. package/esm2022/message/messages.component.mjs +0 -66
  985. package/esm2022/message/public-api.mjs +0 -6
  986. package/esm2022/message/wirabyte-ui-message.mjs +0 -5
  987. package/esm2022/metergroup/metergroup.component.mjs +0 -87
  988. package/esm2022/metergroup/metergroup.module.mjs +0 -17
  989. package/esm2022/metergroup/metergroup.types.mjs +0 -26
  990. package/esm2022/metergroup/public-api.mjs +0 -4
  991. package/esm2022/metergroup/wirabyte-ui-metergroup.mjs +0 -5
  992. package/esm2022/multiselect/multiselect.base.mjs +0 -732
  993. package/esm2022/multiselect/multiselect.component.mjs +0 -26
  994. package/esm2022/multiselect/multiselect.module.mjs +0 -18
  995. package/esm2022/multiselect/multiselect.styles.mjs +0 -3
  996. package/esm2022/multiselect/multiselect.types.mjs +0 -2
  997. package/esm2022/multiselect/public-api.mjs +0 -6
  998. package/esm2022/multiselect/wirabyte-ui-multiselect.mjs +0 -5
  999. package/esm2022/navbar/navbar.component.mjs +0 -460
  1000. package/esm2022/navbar/navbar.module.mjs +0 -18
  1001. package/esm2022/navbar/public-api.mjs +0 -3
  1002. package/esm2022/navbar/wirabyte-ui-navbar.mjs +0 -5
  1003. package/esm2022/orderlist/orderlist.base.mjs +0 -411
  1004. package/esm2022/orderlist/orderlist.component.mjs +0 -17
  1005. package/esm2022/orderlist/orderlist.module.mjs +0 -18
  1006. package/esm2022/orderlist/orderlist.types.mjs +0 -2
  1007. package/esm2022/orderlist/public-api.mjs +0 -5
  1008. package/esm2022/orderlist/wirabyte-ui-orderlist.mjs +0 -5
  1009. package/esm2022/organizationchart/organizationchart.component.mjs +0 -200
  1010. package/esm2022/organizationchart/organizationchart.module.mjs +0 -18
  1011. package/esm2022/organizationchart/organizationchart.types.mjs +0 -2
  1012. package/esm2022/organizationchart/public-api.mjs +0 -4
  1013. package/esm2022/organizationchart/wirabyte-ui-organizationchart.mjs +0 -5
  1014. package/esm2022/paginator/paginator.base.mjs +0 -188
  1015. package/esm2022/paginator/paginator.component.mjs +0 -20
  1016. package/esm2022/paginator/paginator.module.mjs +0 -17
  1017. package/esm2022/paginator/paginator.types.mjs +0 -2
  1018. package/esm2022/paginator/public-api.mjs +0 -5
  1019. package/esm2022/paginator/wirabyte-ui-paginator.mjs +0 -5
  1020. package/esm2022/panel/panel.component.mjs +0 -75
  1021. package/esm2022/panel/panel.module.mjs +0 -19
  1022. package/esm2022/panel/panel.types.mjs +0 -2
  1023. package/esm2022/panel/public-api.mjs +0 -4
  1024. package/esm2022/panel/wirabyte-ui-panel.mjs +0 -5
  1025. package/esm2022/panelmenu/panelmenu.base.mjs +0 -181
  1026. package/esm2022/panelmenu/panelmenu.component.mjs +0 -15
  1027. package/esm2022/panelmenu/panelmenu.module.mjs +0 -18
  1028. package/esm2022/panelmenu/public-api.mjs +0 -4
  1029. package/esm2022/panelmenu/wirabyte-ui-panelmenu.mjs +0 -5
  1030. package/esm2022/password/password.component.mjs +0 -171
  1031. package/esm2022/password/password.module.mjs +0 -17
  1032. package/esm2022/password/password.types.mjs +0 -14
  1033. package/esm2022/password/public-api.mjs +0 -4
  1034. package/esm2022/password/wirabyte-ui-password.mjs +0 -5
  1035. package/esm2022/picklist/list-drag.mjs +0 -259
  1036. package/esm2022/picklist/picklist.base.mjs +0 -649
  1037. package/esm2022/picklist/picklist.component.mjs +0 -17
  1038. package/esm2022/picklist/picklist.module.mjs +0 -18
  1039. package/esm2022/picklist/picklist.styles.mjs +0 -3
  1040. package/esm2022/picklist/picklist.types.mjs +0 -2
  1041. package/esm2022/picklist/public-api.mjs +0 -8
  1042. package/esm2022/picklist/wirabyte-ui-picklist.mjs +0 -5
  1043. package/esm2022/popover/popover.base.mjs +0 -171
  1044. package/esm2022/popover/popover.component.mjs +0 -17
  1045. package/esm2022/popover/popover.module.mjs +0 -18
  1046. package/esm2022/popover/public-api.mjs +0 -4
  1047. package/esm2022/popover/wirabyte-ui-popover.mjs +0 -5
  1048. package/esm2022/presets/public-api.mjs +0 -5
  1049. package/esm2022/presets/wirabyte-ui-presets.mjs +0 -5
  1050. package/esm2022/progressbar/progressbar.component.mjs +0 -75
  1051. package/esm2022/progressbar/progressbar.module.mjs +0 -17
  1052. package/esm2022/progressbar/progressbar.types.mjs +0 -19
  1053. package/esm2022/progressbar/public-api.mjs +0 -4
  1054. package/esm2022/progressbar/wirabyte-ui-progressbar.mjs +0 -5
  1055. package/esm2022/progressspinner/progressspinner.component.mjs +0 -78
  1056. package/esm2022/progressspinner/progressspinner.module.mjs +0 -17
  1057. package/esm2022/progressspinner/progressspinner.types.mjs +0 -27
  1058. package/esm2022/progressspinner/public-api.mjs +0 -4
  1059. package/esm2022/progressspinner/wirabyte-ui-progressspinner.mjs +0 -5
  1060. package/esm2022/public-api.mjs +0 -3
  1061. package/esm2022/radiobutton/public-api.mjs +0 -7
  1062. package/esm2022/radiobutton/radio-registry.mjs +0 -40
  1063. package/esm2022/radiobutton/radiobutton.component.mjs +0 -88
  1064. package/esm2022/radiobutton/radiobutton.module.mjs +0 -17
  1065. package/esm2022/radiobutton/radiobutton.styles.mjs +0 -3
  1066. package/esm2022/radiobutton/radiobutton.types.mjs +0 -2
  1067. package/esm2022/radiobutton/wirabyte-ui-radiobutton.mjs +0 -5
  1068. package/esm2022/rating/public-api.mjs +0 -4
  1069. package/esm2022/rating/rating.component.mjs +0 -80
  1070. package/esm2022/rating/rating.module.mjs +0 -17
  1071. package/esm2022/rating/rating.types.mjs +0 -2
  1072. package/esm2022/rating/wirabyte-ui-rating.mjs +0 -5
  1073. package/esm2022/result/public-api.mjs +0 -3
  1074. package/esm2022/result/result.component.mjs +0 -72
  1075. package/esm2022/result/result.module.mjs +0 -17
  1076. package/esm2022/result/wirabyte-ui-result.mjs +0 -5
  1077. package/esm2022/ripple/public-api.mjs +0 -3
  1078. package/esm2022/ripple/ripple.directive.mjs +0 -43
  1079. package/esm2022/ripple/ripple.module.mjs +0 -17
  1080. package/esm2022/ripple/ripple.styles.mjs +0 -3
  1081. package/esm2022/ripple/wirabyte-ui-ripple.mjs +0 -5
  1082. package/esm2022/scroller/public-api.mjs +0 -6
  1083. package/esm2022/scroller/scroller.component.mjs +0 -305
  1084. package/esm2022/scroller/scroller.module.mjs +0 -17
  1085. package/esm2022/scroller/wirabyte-ui-scroller.mjs +0 -5
  1086. package/esm2022/scrollpanel/public-api.mjs +0 -3
  1087. package/esm2022/scrollpanel/scrollpanel.component.mjs +0 -67
  1088. package/esm2022/scrollpanel/scrollpanel.module.mjs +0 -17
  1089. package/esm2022/scrollpanel/wirabyte-ui-scrollpanel.mjs +0 -5
  1090. package/esm2022/select/public-api.mjs +0 -7
  1091. package/esm2022/select/select.base.mjs +0 -667
  1092. package/esm2022/select/select.component.mjs +0 -26
  1093. package/esm2022/select/select.module.mjs +0 -17
  1094. package/esm2022/select/select.styles.mjs +0 -3
  1095. package/esm2022/select/select.types.mjs +0 -2
  1096. package/esm2022/select/wirabyte-ui-select.mjs +0 -5
  1097. package/esm2022/selectbutton/public-api.mjs +0 -4
  1098. package/esm2022/selectbutton/selectbutton.component.mjs +0 -125
  1099. package/esm2022/selectbutton/selectbutton.module.mjs +0 -18
  1100. package/esm2022/selectbutton/selectbutton.types.mjs +0 -2
  1101. package/esm2022/selectbutton/wirabyte-ui-selectbutton.mjs +0 -5
  1102. package/esm2022/sitefooter/public-api.mjs +0 -3
  1103. package/esm2022/sitefooter/sitefooter.component.mjs +0 -139
  1104. package/esm2022/sitefooter/sitefooter.module.mjs +0 -18
  1105. package/esm2022/sitefooter/wirabyte-ui-sitefooter.mjs +0 -5
  1106. package/esm2022/skeleton/public-api.mjs +0 -4
  1107. package/esm2022/skeleton/skeleton.component.mjs +0 -42
  1108. package/esm2022/skeleton/skeleton.module.mjs +0 -17
  1109. package/esm2022/skeleton/skeleton.types.mjs +0 -2
  1110. package/esm2022/skeleton/wirabyte-ui-skeleton.mjs +0 -5
  1111. package/esm2022/slider/public-api.mjs +0 -3
  1112. package/esm2022/slider/slider.component.mjs +0 -247
  1113. package/esm2022/slider/slider.module.mjs +0 -17
  1114. package/esm2022/slider/wirabyte-ui-slider.mjs +0 -5
  1115. package/esm2022/splitbutton/public-api.mjs +0 -3
  1116. package/esm2022/splitbutton/splitbutton.component.mjs +0 -180
  1117. package/esm2022/splitbutton/splitbutton.module.mjs +0 -17
  1118. package/esm2022/splitbutton/wirabyte-ui-splitbutton.mjs +0 -5
  1119. package/esm2022/splitter/public-api.mjs +0 -5
  1120. package/esm2022/splitter/splitter-panel.component.mjs +0 -32
  1121. package/esm2022/splitter/splitter.component.mjs +0 -372
  1122. package/esm2022/splitter/splitter.module.mjs +0 -19
  1123. package/esm2022/splitter/splitter.types.mjs +0 -2
  1124. package/esm2022/splitter/wirabyte-ui-splitter.mjs +0 -5
  1125. package/esm2022/stepper/public-api.mjs +0 -4
  1126. package/esm2022/stepper/stepper.base.mjs +0 -392
  1127. package/esm2022/stepper/stepper.component.mjs +0 -209
  1128. package/esm2022/stepper/stepper.module.mjs +0 -19
  1129. package/esm2022/stepper/wirabyte-ui-stepper.mjs +0 -5
  1130. package/esm2022/steps/public-api.mjs +0 -4
  1131. package/esm2022/steps/steps.base.mjs +0 -148
  1132. package/esm2022/steps/steps.component.mjs +0 -15
  1133. package/esm2022/steps/steps.module.mjs +0 -17
  1134. package/esm2022/steps/wirabyte-ui-steps.mjs +0 -5
  1135. package/esm2022/table/public-api.mjs +0 -10
  1136. package/esm2022/table/table-celleditor.component.mjs +0 -48
  1137. package/esm2022/table/table-filter.component.mjs +0 -144
  1138. package/esm2022/table/table.base.mjs +0 -1443
  1139. package/esm2022/table/table.celleditor.mjs +0 -42
  1140. package/esm2022/table/table.component.mjs +0 -21
  1141. package/esm2022/table/table.directives.mjs +0 -1117
  1142. package/esm2022/table/table.filter.mjs +0 -346
  1143. package/esm2022/table/table.module.mjs +0 -93
  1144. package/esm2022/table/table.types.mjs +0 -3
  1145. package/esm2022/table/wirabyte-ui-table.mjs +0 -5
  1146. package/esm2022/tabmenu/public-api.mjs +0 -3
  1147. package/esm2022/tabmenu/wirabyte-ui-tabmenu.mjs +0 -5
  1148. package/esm2022/tabs/public-api.mjs +0 -9
  1149. package/esm2022/tabs/tabmenu.base.mjs +0 -196
  1150. package/esm2022/tabs/tabmenu.component.mjs +0 -18
  1151. package/esm2022/tabs/tabmenu.module.mjs +0 -18
  1152. package/esm2022/tabs/tabs.component.mjs +0 -352
  1153. package/esm2022/tabs/tabs.module.mjs +0 -20
  1154. package/esm2022/tabs/tabs.styles.mjs +0 -3
  1155. package/esm2022/tabs/tabs.types.mjs +0 -50
  1156. package/esm2022/tabs/wirabyte-ui-tabs.mjs +0 -5
  1157. package/esm2022/tag/public-api.mjs +0 -4
  1158. package/esm2022/tag/tag.component.mjs +0 -42
  1159. package/esm2022/tag/tag.module.mjs +0 -17
  1160. package/esm2022/tag/tag.types.mjs +0 -2
  1161. package/esm2022/tag/wirabyte-ui-tag.mjs +0 -5
  1162. package/esm2022/terminal/public-api.mjs +0 -6
  1163. package/esm2022/terminal/terminal.component.mjs +0 -150
  1164. package/esm2022/terminal/terminal.module.mjs +0 -17
  1165. package/esm2022/terminal/terminal.service.mjs +0 -35
  1166. package/esm2022/terminal/wirabyte-ui-terminal.mjs +0 -5
  1167. package/esm2022/textarea/public-api.mjs +0 -3
  1168. package/esm2022/textarea/textarea.directive.mjs +0 -75
  1169. package/esm2022/textarea/textarea.module.mjs +0 -17
  1170. package/esm2022/textarea/wirabyte-ui-textarea.mjs +0 -5
  1171. package/esm2022/thai/public-api.mjs +0 -4
  1172. package/esm2022/thai/thai.module.mjs +0 -18
  1173. package/esm2022/thai/thai.pipes.mjs +0 -115
  1174. package/esm2022/thai/wirabyte-ui-thai.mjs +0 -5
  1175. package/esm2022/tieredmenu/public-api.mjs +0 -3
  1176. package/esm2022/tieredmenu/tieredmenu.component.mjs +0 -385
  1177. package/esm2022/tieredmenu/tieredmenu.module.mjs +0 -17
  1178. package/esm2022/tieredmenu/wirabyte-ui-tieredmenu.mjs +0 -5
  1179. package/esm2022/timeline/public-api.mjs +0 -4
  1180. package/esm2022/timeline/timeline.base.mjs +0 -66
  1181. package/esm2022/timeline/timeline.component.mjs +0 -68
  1182. package/esm2022/timeline/timeline.module.mjs +0 -18
  1183. package/esm2022/timeline/wirabyte-ui-timeline.mjs +0 -5
  1184. package/esm2022/toast/message.service.mjs +0 -34
  1185. package/esm2022/toast/public-api.mjs +0 -6
  1186. package/esm2022/toast/toast.base.mjs +0 -227
  1187. package/esm2022/toast/toast.component.mjs +0 -17
  1188. package/esm2022/toast/toast.module.mjs +0 -18
  1189. package/esm2022/toast/toast.types.mjs +0 -2
  1190. package/esm2022/toast/wirabyte-ui-toast.mjs +0 -5
  1191. package/esm2022/togglebutton/public-api.mjs +0 -4
  1192. package/esm2022/togglebutton/togglebutton.component.mjs +0 -93
  1193. package/esm2022/togglebutton/togglebutton.module.mjs +0 -17
  1194. package/esm2022/togglebutton/togglebutton.types.mjs +0 -2
  1195. package/esm2022/togglebutton/wirabyte-ui-togglebutton.mjs +0 -5
  1196. package/esm2022/toggleswitch/public-api.mjs +0 -4
  1197. package/esm2022/toggleswitch/toggleswitch.component.mjs +0 -78
  1198. package/esm2022/toggleswitch/toggleswitch.module.mjs +0 -17
  1199. package/esm2022/toggleswitch/toggleswitch.types.mjs +0 -2
  1200. package/esm2022/toggleswitch/wirabyte-ui-toggleswitch.mjs +0 -5
  1201. package/esm2022/toolbar/public-api.mjs +0 -3
  1202. package/esm2022/toolbar/toolbar.component.mjs +0 -67
  1203. package/esm2022/toolbar/toolbar.module.mjs +0 -18
  1204. package/esm2022/toolbar/wirabyte-ui-toolbar.mjs +0 -5
  1205. package/esm2022/tooltip/public-api.mjs +0 -4
  1206. package/esm2022/tooltip/tooltip.directive.mjs +0 -370
  1207. package/esm2022/tooltip/tooltip.module.mjs +0 -17
  1208. package/esm2022/tooltip/tooltip.styles.mjs +0 -3
  1209. package/esm2022/tooltip/tooltip.types.mjs +0 -2
  1210. package/esm2022/tooltip/wirabyte-ui-tooltip.mjs +0 -5
  1211. package/esm2022/tree/public-api.mjs +0 -3
  1212. package/esm2022/tree/tree.component.mjs +0 -453
  1213. package/esm2022/tree/tree.module.mjs +0 -17
  1214. package/esm2022/tree/wirabyte-ui-tree.mjs +0 -5
  1215. package/esm2022/treeselect/public-api.mjs +0 -3
  1216. package/esm2022/treeselect/treeselect.component.mjs +0 -410
  1217. package/esm2022/treeselect/treeselect.module.mjs +0 -17
  1218. package/esm2022/treeselect/wirabyte-ui-treeselect.mjs +0 -5
  1219. package/esm2022/validation/field-error.component.mjs +0 -84
  1220. package/esm2022/validation/public-api.mjs +0 -4
  1221. package/esm2022/validation/validation.module.mjs +0 -19
  1222. package/esm2022/validation/validators.mjs +0 -84
  1223. package/esm2022/validation/wirabyte-ui-validation.mjs +0 -5
  1224. package/esm2022/wirabyte-ui.mjs +0 -5
  1225. package/excel/excel.d.ts +0 -24
  1226. package/excel/index.d.ts +0 -5
  1227. package/excel/public-api.d.ts +0 -3
  1228. package/fieldset/fieldset.component.d.ts +0 -29
  1229. package/fieldset/fieldset.module.d.ts +0 -9
  1230. package/fieldset/index.d.ts +0 -5
  1231. package/fieldset/public-api.d.ts +0 -2
  1232. package/fileupload/fileupload.base.d.ts +0 -175
  1233. package/fileupload/fileupload.component.d.ts +0 -11
  1234. package/fileupload/fileupload.module.d.ts +0 -9
  1235. package/fileupload/fileupload.types.d.ts +0 -54
  1236. package/fileupload/index.d.ts +0 -5
  1237. package/fileupload/public-api.d.ts +0 -4
  1238. package/floatlabel/floatlabel.component.d.ts +0 -21
  1239. package/floatlabel/floatlabel.module.d.ts +0 -8
  1240. package/floatlabel/floatlabel.types.d.ts +0 -1
  1241. package/floatlabel/index.d.ts +0 -5
  1242. package/floatlabel/public-api.d.ts +0 -3
  1243. package/flow/flow-background.component.d.ts +0 -49
  1244. package/flow/flow-controls.component.d.ts +0 -47
  1245. package/flow/flow-handle.component.d.ts +0 -48
  1246. package/flow/flow-history.directive.d.ts +0 -42
  1247. package/flow/flow-host.d.ts +0 -48
  1248. package/flow/flow-minimap.component.d.ts +0 -79
  1249. package/flow/flow-node-outlet.d.ts +0 -46
  1250. package/flow/flow-node-resizer.component.d.ts +0 -57
  1251. package/flow/flow-node-toolbar.component.d.ts +0 -38
  1252. package/flow/flow-panel.component.d.ts +0 -11
  1253. package/flow/flow-templates.d.ts +0 -47
  1254. package/flow/flow.component.d.ts +0 -633
  1255. package/flow/flow.module.d.ts +0 -21
  1256. package/flow/flow.types.d.ts +0 -210
  1257. package/flow/index.d.ts +0 -5
  1258. package/flow/public-api.d.ts +0 -16
  1259. package/galleria/galleria.component.d.ts +0 -163
  1260. package/galleria/galleria.module.d.ts +0 -8
  1261. package/galleria/index.d.ts +0 -5
  1262. package/galleria/public-api.d.ts +0 -2
  1263. package/i18n/i18n.module.d.ts +0 -22
  1264. package/i18n/i18n.service.d.ts +0 -54
  1265. package/i18n/i18n.types.d.ts +0 -33
  1266. package/i18n/index.d.ts +0 -5
  1267. package/i18n/language-switch.component.d.ts +0 -50
  1268. package/i18n/public-api.d.ts +0 -6
  1269. package/i18n/translate.pipe.d.ts +0 -25
  1270. package/iconfield/iconfield.component.d.ts +0 -30
  1271. package/iconfield/iconfield.module.d.ts +0 -8
  1272. package/iconfield/index.d.ts +0 -5
  1273. package/iconfield/public-api.d.ts +0 -2
  1274. package/image/image.base.d.ts +0 -83
  1275. package/image/image.component.d.ts +0 -7
  1276. package/image/image.module.d.ts +0 -9
  1277. package/image/index.d.ts +0 -5
  1278. package/image/public-api.d.ts +0 -3
  1279. package/imagecompare/imagecompare.component.d.ts +0 -67
  1280. package/imagecompare/imagecompare.module.d.ts +0 -9
  1281. package/imagecompare/index.d.ts +0 -5
  1282. package/imagecompare/public-api.d.ts +0 -2
  1283. package/imagecropper/imagecropper.component.d.ts +0 -309
  1284. package/imagecropper/imagecropper.module.d.ts +0 -8
  1285. package/imagecropper/imagecropper.types.d.ts +0 -79
  1286. package/imagecropper/index.d.ts +0 -5
  1287. package/imagecropper/public-api.d.ts +0 -4
  1288. package/index.d.ts +0 -5
  1289. package/inplace/index.d.ts +0 -5
  1290. package/inplace/inplace.component.d.ts +0 -59
  1291. package/inplace/inplace.module.d.ts +0 -8
  1292. package/inplace/public-api.d.ts +0 -2
  1293. package/inputgroup/index.d.ts +0 -5
  1294. package/inputgroup/inputgroup.component.d.ts +0 -26
  1295. package/inputgroup/inputgroup.module.d.ts +0 -8
  1296. package/inputgroup/public-api.d.ts +0 -2
  1297. package/inputmask/index.d.ts +0 -5
  1298. package/inputmask/inputmask.base.d.ts +0 -115
  1299. package/inputmask/inputmask.component.d.ts +0 -10
  1300. package/inputmask/inputmask.module.d.ts +0 -8
  1301. package/inputmask/public-api.d.ts +0 -3
  1302. package/inputnumber/index.d.ts +0 -5
  1303. package/inputnumber/inputnumber.component.d.ts +0 -108
  1304. package/inputnumber/inputnumber.module.d.ts +0 -8
  1305. package/inputnumber/inputnumber.types.d.ts +0 -7
  1306. package/inputnumber/public-api.d.ts +0 -3
  1307. package/inputotp/index.d.ts +0 -5
  1308. package/inputotp/inputotp.component.d.ts +0 -105
  1309. package/inputotp/inputotp.module.d.ts +0 -9
  1310. package/inputotp/inputotp.types.d.ts +0 -22
  1311. package/inputotp/public-api.d.ts +0 -3
  1312. package/inputtext/index.d.ts +0 -5
  1313. package/inputtext/inputtext.directive.d.ts +0 -21
  1314. package/inputtext/inputtext.module.d.ts +0 -8
  1315. package/inputtext/inputtext.styles.d.ts +0 -2
  1316. package/inputtext/inputtext.types.d.ts +0 -3
  1317. package/inputtext/public-api.d.ts +0 -5
  1318. package/keyfilter/index.d.ts +0 -5
  1319. package/keyfilter/keyfilter.directive.d.ts +0 -29
  1320. package/keyfilter/keyfilter.module.d.ts +0 -8
  1321. package/keyfilter/public-api.d.ts +0 -2
  1322. package/knob/index.d.ts +0 -5
  1323. package/knob/knob.component.d.ts +0 -94
  1324. package/knob/knob.module.d.ts +0 -8
  1325. package/knob/public-api.d.ts +0 -2
  1326. package/listbox/index.d.ts +0 -5
  1327. package/listbox/listbox.component.d.ts +0 -186
  1328. package/listbox/listbox.module.d.ts +0 -8
  1329. package/listbox/public-api.d.ts +0 -2
  1330. package/menu/index.d.ts +0 -5
  1331. package/menu/menu.base.d.ts +0 -95
  1332. package/menu/menu.component.d.ts +0 -11
  1333. package/menu/menu.module.d.ts +0 -9
  1334. package/menu/public-api.d.ts +0 -4
  1335. package/menubar/index.d.ts +0 -5
  1336. package/menubar/menubar.base.d.ts +0 -135
  1337. package/menubar/menubar.component.d.ts +0 -11
  1338. package/menubar/menubar.module.d.ts +0 -9
  1339. package/menubar/public-api.d.ts +0 -4
  1340. package/message/index.d.ts +0 -5
  1341. package/message/message.component.d.ts +0 -39
  1342. package/message/message.module.d.ts +0 -11
  1343. package/message/message.types.d.ts +0 -5
  1344. package/message/messages.base.d.ts +0 -50
  1345. package/message/messages.component.d.ts +0 -7
  1346. package/message/public-api.d.ts +0 -5
  1347. package/metergroup/index.d.ts +0 -5
  1348. package/metergroup/metergroup.component.d.ts +0 -54
  1349. package/metergroup/metergroup.module.d.ts +0 -8
  1350. package/metergroup/metergroup.types.d.ts +0 -42
  1351. package/metergroup/public-api.d.ts +0 -3
  1352. package/multiselect/index.d.ts +0 -5
  1353. package/multiselect/multiselect.base.d.ts +0 -222
  1354. package/multiselect/multiselect.component.d.ts +0 -11
  1355. package/multiselect/multiselect.module.d.ts +0 -9
  1356. package/multiselect/multiselect.styles.d.ts +0 -2
  1357. package/multiselect/multiselect.types.d.ts +0 -20
  1358. package/multiselect/public-api.d.ts +0 -5
  1359. package/navbar/index.d.ts +0 -5
  1360. package/navbar/navbar.component.d.ts +0 -172
  1361. package/navbar/navbar.module.d.ts +0 -9
  1362. package/navbar/public-api.d.ts +0 -2
  1363. package/orderlist/index.d.ts +0 -5
  1364. package/orderlist/orderlist.base.d.ts +0 -136
  1365. package/orderlist/orderlist.component.d.ts +0 -10
  1366. package/orderlist/orderlist.module.d.ts +0 -9
  1367. package/orderlist/orderlist.types.d.ts +0 -10
  1368. package/orderlist/public-api.d.ts +0 -4
  1369. package/organizationchart/index.d.ts +0 -5
  1370. package/organizationchart/organizationchart.component.d.ts +0 -76
  1371. package/organizationchart/organizationchart.module.d.ts +0 -9
  1372. package/organizationchart/organizationchart.types.d.ts +0 -10
  1373. package/organizationchart/public-api.d.ts +0 -4
  1374. package/paginator/index.d.ts +0 -5
  1375. package/paginator/paginator.base.d.ts +0 -95
  1376. package/paginator/paginator.component.d.ts +0 -10
  1377. package/paginator/paginator.module.d.ts +0 -8
  1378. package/paginator/paginator.types.d.ts +0 -7
  1379. package/paginator/public-api.d.ts +0 -4
  1380. package/panel/index.d.ts +0 -5
  1381. package/panel/panel.component.d.ts +0 -42
  1382. package/panel/panel.module.d.ts +0 -10
  1383. package/panel/panel.types.d.ts +0 -2
  1384. package/panel/public-api.d.ts +0 -3
  1385. package/panelmenu/index.d.ts +0 -5
  1386. package/panelmenu/panelmenu.base.d.ts +0 -53
  1387. package/panelmenu/panelmenu.component.d.ts +0 -7
  1388. package/panelmenu/panelmenu.module.d.ts +0 -9
  1389. package/panelmenu/public-api.d.ts +0 -3
  1390. package/password/index.d.ts +0 -5
  1391. package/password/password.component.d.ts +0 -79
  1392. package/password/password.module.d.ts +0 -8
  1393. package/password/password.types.d.ts +0 -6
  1394. package/password/public-api.d.ts +0 -3
  1395. package/picklist/index.d.ts +0 -5
  1396. package/picklist/list-drag.d.ts +0 -49
  1397. package/picklist/picklist.base.d.ts +0 -217
  1398. package/picklist/picklist.component.d.ts +0 -10
  1399. package/picklist/picklist.module.d.ts +0 -9
  1400. package/picklist/picklist.styles.d.ts +0 -2
  1401. package/picklist/picklist.types.d.ts +0 -21
  1402. package/picklist/public-api.d.ts +0 -7
  1403. package/popover/index.d.ts +0 -5
  1404. package/popover/popover.base.d.ts +0 -61
  1405. package/popover/popover.component.d.ts +0 -10
  1406. package/popover/popover.module.d.ts +0 -9
  1407. package/popover/public-api.d.ts +0 -3
  1408. package/presets/index.d.ts +0 -5
  1409. package/presets/public-api.d.ts +0 -2
  1410. package/progressbar/index.d.ts +0 -5
  1411. package/progressbar/progressbar.component.d.ts +0 -48
  1412. package/progressbar/progressbar.module.d.ts +0 -8
  1413. package/progressbar/progressbar.types.d.ts +0 -16
  1414. package/progressbar/public-api.d.ts +0 -3
  1415. package/progressspinner/index.d.ts +0 -5
  1416. package/progressspinner/progressspinner.component.d.ts +0 -44
  1417. package/progressspinner/progressspinner.module.d.ts +0 -8
  1418. package/progressspinner/progressspinner.types.d.ts +0 -9
  1419. package/progressspinner/public-api.d.ts +0 -3
  1420. package/public-api.d.ts +0 -2
  1421. package/radiobutton/index.d.ts +0 -5
  1422. package/radiobutton/public-api.d.ts +0 -6
  1423. package/radiobutton/radio-registry.d.ts +0 -23
  1424. package/radiobutton/radiobutton.component.d.ts +0 -50
  1425. package/radiobutton/radiobutton.module.d.ts +0 -8
  1426. package/radiobutton/radiobutton.styles.d.ts +0 -2
  1427. package/radiobutton/radiobutton.types.d.ts +0 -4
  1428. package/rating/index.d.ts +0 -5
  1429. package/rating/public-api.d.ts +0 -3
  1430. package/rating/rating.component.d.ts +0 -39
  1431. package/rating/rating.module.d.ts +0 -8
  1432. package/rating/rating.types.d.ts +0 -4
  1433. package/result/index.d.ts +0 -5
  1434. package/result/public-api.d.ts +0 -2
  1435. package/result/result.component.d.ts +0 -39
  1436. package/result/result.module.d.ts +0 -8
  1437. package/ripple/index.d.ts +0 -5
  1438. package/ripple/public-api.d.ts +0 -2
  1439. package/ripple/ripple.directive.d.ts +0 -15
  1440. package/ripple/ripple.module.d.ts +0 -8
  1441. package/ripple/ripple.styles.d.ts +0 -2
  1442. package/scroller/index.d.ts +0 -5
  1443. package/scroller/public-api.d.ts +0 -5
  1444. package/scroller/scroller.component.d.ts +0 -135
  1445. package/scroller/scroller.module.d.ts +0 -8
  1446. package/scrollpanel/index.d.ts +0 -5
  1447. package/scrollpanel/public-api.d.ts +0 -2
  1448. package/scrollpanel/scrollpanel.component.d.ts +0 -27
  1449. package/scrollpanel/scrollpanel.module.d.ts +0 -8
  1450. package/select/index.d.ts +0 -5
  1451. package/select/public-api.d.ts +0 -6
  1452. package/select/select.base.d.ts +0 -217
  1453. package/select/select.component.d.ts +0 -11
  1454. package/select/select.module.d.ts +0 -8
  1455. package/select/select.styles.d.ts +0 -2
  1456. package/select/select.types.d.ts +0 -9
  1457. package/selectbutton/index.d.ts +0 -5
  1458. package/selectbutton/public-api.d.ts +0 -3
  1459. package/selectbutton/selectbutton.component.d.ts +0 -59
  1460. package/selectbutton/selectbutton.module.d.ts +0 -9
  1461. package/selectbutton/selectbutton.types.d.ts +0 -9
  1462. package/sitefooter/index.d.ts +0 -5
  1463. package/sitefooter/public-api.d.ts +0 -2
  1464. package/sitefooter/sitefooter.component.d.ts +0 -69
  1465. package/sitefooter/sitefooter.module.d.ts +0 -9
  1466. package/skeleton/index.d.ts +0 -5
  1467. package/skeleton/public-api.d.ts +0 -3
  1468. package/skeleton/skeleton.component.d.ts +0 -22
  1469. package/skeleton/skeleton.module.d.ts +0 -8
  1470. package/skeleton/skeleton.types.d.ts +0 -2
  1471. package/slider/index.d.ts +0 -5
  1472. package/slider/public-api.d.ts +0 -2
  1473. package/slider/slider.component.d.ts +0 -79
  1474. package/slider/slider.module.d.ts +0 -8
  1475. package/splitbutton/index.d.ts +0 -5
  1476. package/splitbutton/public-api.d.ts +0 -2
  1477. package/splitbutton/splitbutton.component.d.ts +0 -75
  1478. package/splitbutton/splitbutton.module.d.ts +0 -8
  1479. package/splitter/index.d.ts +0 -5
  1480. package/splitter/public-api.d.ts +0 -4
  1481. package/splitter/splitter-panel.component.d.ts +0 -20
  1482. package/splitter/splitter.component.d.ts +0 -109
  1483. package/splitter/splitter.module.d.ts +0 -10
  1484. package/splitter/splitter.types.d.ts +0 -8
  1485. package/stepper/index.d.ts +0 -5
  1486. package/stepper/public-api.d.ts +0 -3
  1487. package/stepper/stepper.base.d.ts +0 -200
  1488. package/stepper/stepper.component.d.ts +0 -41
  1489. package/stepper/stepper.module.d.ts +0 -9
  1490. package/steps/index.d.ts +0 -5
  1491. package/steps/public-api.d.ts +0 -3
  1492. package/steps/steps.base.d.ts +0 -52
  1493. package/steps/steps.component.d.ts +0 -7
  1494. package/steps/steps.module.d.ts +0 -8
  1495. package/table/index.d.ts +0 -5
  1496. package/table/public-api.d.ts +0 -9
  1497. package/table/table-celleditor.component.d.ts +0 -14
  1498. package/table/table-filter.component.d.ts +0 -11
  1499. package/table/table.base.d.ts +0 -410
  1500. package/table/table.celleditor.d.ts +0 -20
  1501. package/table/table.component.d.ts +0 -12
  1502. package/table/table.directives.d.ts +0 -330
  1503. package/table/table.filter.d.ts +0 -131
  1504. package/table/table.module.d.ts +0 -12
  1505. package/table/table.types.d.ts +0 -180
  1506. package/tabmenu/index.d.ts +0 -5
  1507. package/tabmenu/public-api.d.ts +0 -2
  1508. package/tabs/index.d.ts +0 -5
  1509. package/tabs/public-api.d.ts +0 -8
  1510. package/tabs/tabmenu.base.d.ts +0 -59
  1511. package/tabs/tabmenu.component.d.ts +0 -10
  1512. package/tabs/tabmenu.module.d.ts +0 -9
  1513. package/tabs/tabs.component.d.ts +0 -120
  1514. package/tabs/tabs.module.d.ts +0 -10
  1515. package/tabs/tabs.styles.d.ts +0 -2
  1516. package/tabs/tabs.types.d.ts +0 -21
  1517. package/tag/index.d.ts +0 -5
  1518. package/tag/public-api.d.ts +0 -3
  1519. package/tag/tag.component.d.ts +0 -20
  1520. package/tag/tag.module.d.ts +0 -8
  1521. package/tag/tag.types.d.ts +0 -2
  1522. package/terminal/index.d.ts +0 -5
  1523. package/terminal/public-api.d.ts +0 -5
  1524. package/terminal/terminal.component.d.ts +0 -58
  1525. package/terminal/terminal.module.d.ts +0 -8
  1526. package/terminal/terminal.service.d.ts +0 -20
  1527. package/textarea/index.d.ts +0 -5
  1528. package/textarea/public-api.d.ts +0 -2
  1529. package/textarea/textarea.directive.d.ts +0 -27
  1530. package/textarea/textarea.module.d.ts +0 -8
  1531. package/thai/index.d.ts +0 -5
  1532. package/thai/public-api.d.ts +0 -3
  1533. package/thai/thai.module.d.ts +0 -8
  1534. package/thai/thai.pipes.d.ts +0 -57
  1535. package/tieredmenu/index.d.ts +0 -5
  1536. package/tieredmenu/public-api.d.ts +0 -2
  1537. package/tieredmenu/tieredmenu.component.d.ts +0 -90
  1538. package/tieredmenu/tieredmenu.module.d.ts +0 -8
  1539. package/timeline/index.d.ts +0 -5
  1540. package/timeline/public-api.d.ts +0 -3
  1541. package/timeline/timeline.base.d.ts +0 -36
  1542. package/timeline/timeline.component.d.ts +0 -7
  1543. package/timeline/timeline.module.d.ts +0 -9
  1544. package/toast/index.d.ts +0 -5
  1545. package/toast/message.service.d.ts +0 -19
  1546. package/toast/public-api.d.ts +0 -5
  1547. package/toast/toast.base.d.ts +0 -84
  1548. package/toast/toast.component.d.ts +0 -10
  1549. package/toast/toast.module.d.ts +0 -9
  1550. package/toast/toast.types.d.ts +0 -28
  1551. package/togglebutton/index.d.ts +0 -5
  1552. package/togglebutton/public-api.d.ts +0 -3
  1553. package/togglebutton/togglebutton.component.d.ts +0 -47
  1554. package/togglebutton/togglebutton.module.d.ts +0 -8
  1555. package/togglebutton/togglebutton.types.d.ts +0 -4
  1556. package/toggleswitch/index.d.ts +0 -5
  1557. package/toggleswitch/public-api.d.ts +0 -3
  1558. package/toggleswitch/toggleswitch.component.d.ts +0 -42
  1559. package/toggleswitch/toggleswitch.module.d.ts +0 -8
  1560. package/toggleswitch/toggleswitch.types.d.ts +0 -4
  1561. package/toolbar/index.d.ts +0 -5
  1562. package/toolbar/public-api.d.ts +0 -2
  1563. package/toolbar/toolbar.component.d.ts +0 -29
  1564. package/toolbar/toolbar.module.d.ts +0 -9
  1565. package/tooltip/index.d.ts +0 -5
  1566. package/tooltip/public-api.d.ts +0 -3
  1567. package/tooltip/tooltip.directive.d.ts +0 -87
  1568. package/tooltip/tooltip.module.d.ts +0 -8
  1569. package/tooltip/tooltip.styles.d.ts +0 -2
  1570. package/tooltip/tooltip.types.d.ts +0 -14
  1571. package/tree/index.d.ts +0 -5
  1572. package/tree/public-api.d.ts +0 -2
  1573. package/tree/tree.component.d.ts +0 -149
  1574. package/tree/tree.module.d.ts +0 -8
  1575. package/treeselect/index.d.ts +0 -5
  1576. package/treeselect/public-api.d.ts +0 -2
  1577. package/treeselect/treeselect.component.d.ts +0 -140
  1578. package/treeselect/treeselect.module.d.ts +0 -8
  1579. package/validation/field-error.component.d.ts +0 -39
  1580. package/validation/index.d.ts +0 -5
  1581. package/validation/public-api.d.ts +0 -3
  1582. package/validation/validation.module.d.ts +0 -9
  1583. package/validation/validators.d.ts +0 -33
@@ -246,12 +246,12 @@ class WuDock {
246
246
  this.cdr.markForCheck();
247
247
  }, BOUNCE_MS);
248
248
  }
249
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: WuDock, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
250
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: WuDock, isStandalone: true, selector: "wu-dock", inputs: { model: "model", position: "position", look: "look", magnify: "magnify", magnification: "magnification", size: "size", ariaLabel: "ariaLabel", ariaLabelledBy: "ariaLabelledBy", styleClass: "styleClass", style: "style" }, outputs: { onItemClick: "onItemClick", onFocus: "onFocus", onBlur: "onBlur" }, host: { classAttribute: "wu-dock-host" }, queries: [{ propertyName: "templates", predicate: WuTemplate }], viewQueries: [{ propertyName: "listRef", first: true, predicate: ["list"], descendants: true }], ngImport: i0, template: "<div [ngClass]=\"classes\" [ngStyle]=\"rootStyle\" [style.--wu-dock-item-size.px]=\"itemSize\" [attr.data-position]=\"position\" [attr.data-look]=\"look\">\n <div class=\"wu-dock-list-container p-dock-list-container\">\n <span class=\"wu-dock-spacer\" aria-hidden=\"true\"></span>\n <div class=\"wu-dock-center\">\n <div *ngIf=\"startTemplate\" class=\"wu-dock-start\">\n <ng-container *ngTemplateOutlet=\"startTemplate\"></ng-container>\n </div>\n <ul\n #list\n class=\"wu-dock-list p-dock-list\"\n role=\"menu\"\n [attr.aria-orientation]=\"vertical ? 'vertical' : 'horizontal'\"\n [attr.aria-label]=\"ariaLabel || null\"\n [attr.aria-labelledby]=\"ariaLabelledBy || null\"\n (focusin)=\"focusIn($event)\"\n (focusout)=\"focusOut($event)\"\n (keydown)=\"key($event)\"\n >\n <ng-container *ngFor=\"let item of items; let i = index\">\n <li *ngIf=\"item.separator; else entry\" class=\"wu-dock-separator p-dock-separator\" role=\"separator\"></li>\n <ng-template #entry>\n <li\n class=\"wu-dock-item p-dock-item\"\n role=\"none\"\n [attr.data-index]=\"i\"\n [class.wu-dock-item-active]=\"item['active']\"\n [class.wu-dock-item-current]=\"item['current']\"\n [class.wu-dock-item-disabled]=\"item.disabled\"\n [class.p-disabled]=\"item.disabled\"\n [class.wu-dock-bounce]=\"bouncing === i\"\n [ngClass]=\"item.styleClass || ''\"\n [ngStyle]=\"item.style || null\"\n >\n <a\n *ngIf=\"hasRoute(item); else plain\"\n class=\"wu-dock-action p-dock-item-link\"\n role=\"menuitem\"\n [routerLink]=\"item.routerLink\"\n [queryParams]=\"item.queryParams\"\n [fragment]=\"item.fragment\"\n [attr.target]=\"item.target || null\"\n [attr.tabindex]=\"tabIndexOf(i)\"\n [attr.aria-label]=\"item.label || null\"\n [attr.title]=\"item.title || null\"\n (click)=\"pick(item, i, $event)\"\n >\n <ng-container *ngTemplateOutlet=\"itemTemplate || plainItem; context: { $implicit: item, index: i }\"></ng-container>\n </a>\n <ng-template #plain>\n <a\n class=\"wu-dock-action p-dock-item-link\"\n role=\"menuitem\"\n [attr.href]=\"item.url && !item.disabled ? item.url : null\"\n [attr.target]=\"item.target || null\"\n [attr.tabindex]=\"tabIndexOf(i)\"\n [attr.aria-label]=\"item.label || null\"\n [attr.aria-disabled]=\"item.disabled ? true : null\"\n [attr.title]=\"item.title || null\"\n (click)=\"pick(item, i, $event)\"\n >\n <ng-container *ngTemplateOutlet=\"itemTemplate || plainItem; context: { $implicit: item, index: i }\"></ng-container>\n </a>\n </ng-template>\n <span *ngIf=\"item.label\" class=\"wu-dock-tip\" aria-hidden=\"true\">{{ item.label }}</span>\n <span class=\"wu-dock-dot\" aria-hidden=\"true\"></span>\n </li>\n </ng-template>\n </ng-container>\n </ul>\n </div>\n <div class=\"wu-dock-end\">\n <ng-container *ngIf=\"endTemplate\">\n <ng-container *ngTemplateOutlet=\"endTemplate\"></ng-container>\n </ng-container>\n </div>\n </div>\n</div>\n\n<ng-template #plainItem let-item>\n <img *ngIf=\"item.image\" class=\"wu-dock-image\" [src]=\"item.image\" alt=\"\" draggable=\"false\" />\n <span *ngIf=\"!item.image && item.icon\" class=\"wu-dock-icon\" [ngClass]=\"item.icon\"></span>\n <span *ngIf=\"item.badge\" class=\"wu-dock-badge\">{{ item.badge }}</span>\n</ng-template>\n", styles: ["@layer wiraui.components{wu-dock{display:contents}.wu-dock{position:absolute;z-index:1;display:flex;align-items:center;justify-content:center;pointer-events:none}.wu-dock-bottom{bottom:0;left:0;width:100%}.wu-dock-top{top:0;left:0;width:100%}.wu-dock-left{top:0;left:0;height:100%}.wu-dock-right{top:0;right:0;height:100%}.wu-dock-list-container{display:flex;align-items:flex-end;gap:var(--wu-dock-gap);padding:var(--wu-dock-padding);pointer-events:auto}.wu-dock-left .wu-dock-list-container,.wu-dock-right .wu-dock-list-container{flex-direction:column}.wu-dock-spacer{display:none}.wu-dock-center,.wu-dock-list{display:flex;align-items:flex-end;gap:var(--wu-dock-gap)}.wu-dock-list{margin:0;padding:0;list-style:none}.wu-dock-top .wu-dock-list-container,.wu-dock-top .wu-dock-center,.wu-dock-top .wu-dock-list{align-items:flex-start}.wu-dock-left .wu-dock-center,.wu-dock-left .wu-dock-list,.wu-dock-right .wu-dock-center,.wu-dock-right .wu-dock-list{flex-direction:column;align-items:flex-start}.wu-dock-right .wu-dock-list-container,.wu-dock-right .wu-dock-center,.wu-dock-right .wu-dock-list{align-items:flex-end}.wu-dock-end:empty,.wu-dock-start:empty{display:none}.wu-dock-item{position:relative;flex:none;width:calc(var(--wu-dock-item-size) * var(--wu-dock-scale, 1));height:var(--wu-dock-item-size);transition:width .12s ease-out}.wu-dock-left .wu-dock-item,.wu-dock-right .wu-dock-item{width:var(--wu-dock-item-size);height:calc(var(--wu-dock-item-size) * var(--wu-dock-scale, 1));transition:height .12s ease-out}.wu-dock-action{position:absolute;bottom:0;left:0;display:flex;align-items:center;justify-content:center;width:calc(var(--wu-dock-item-size) * var(--wu-dock-scale, 1));height:calc(var(--wu-dock-item-size) * var(--wu-dock-scale, 1));transition:width .12s ease-out,height .12s ease-out;border-radius:var(--wu-dock-item-radius);color:var(--wu-dock-icon-color);text-decoration:none;outline:none;cursor:pointer;-webkit-tap-highlight-color:transparent}.wu-dock-top .wu-dock-action,.wu-dock-left .wu-dock-action{top:0;bottom:auto}.wu-dock-right .wu-dock-action{inset:0 0 auto auto}.wu-dock-action:focus-visible{box-shadow:var(--wu-control-focus-shadow);outline:var(--wu-control-focus-outline);outline-offset:2px}.wu-dock-icon{font-size:calc(var(--wu-dock-item-size) * var(--wu-dock-scale, 1) * .55);line-height:1}.wu-dock-image{width:100%;height:100%;object-fit:contain;-webkit-user-drag:none;-webkit-user-select:none;user-select:none}.wu-dock-badge{position:absolute;top:-.25rem;right:-.25rem;min-width:1.125rem;height:1.125rem;padding:0 .3rem;border-radius:999px;background:var(--wu-danger-color);color:#fff;font-size:.6875rem;font-weight:700;line-height:1.125rem;text-align:center}.wu-dock-item-disabled{opacity:.45}.wu-dock-item-disabled .wu-dock-action{cursor:default}.wu-dock-separator{flex:none;align-self:stretch;width:1px;margin:.25rem .125rem;background:var(--wu-dock-separator)}.wu-dock-left .wu-dock-separator,.wu-dock-right .wu-dock-separator{width:auto;height:1px;margin:.125rem .25rem}.wu-dock-tip{position:absolute;bottom:calc(var(--wu-dock-item-size) * var(--wu-dock-scale, 1) + .75rem);left:50%;padding:.25rem .625rem;border-radius:var(--wu-radius-sm);background:var(--wu-dock-tip-bg);color:var(--wu-dock-tip-color);font-family:var(--wu-font-family);font-size:.8125rem;white-space:nowrap;opacity:0;transform:translate(-50%,.25rem);pointer-events:none;transition:opacity var(--wu-transition),transform var(--wu-transition)}.wu-dock-top .wu-dock-tip{top:calc(var(--wu-dock-item-size) * var(--wu-dock-scale, 1) + .75rem);bottom:auto;transform:translate(-50%,-.25rem)}.wu-dock-left .wu-dock-tip,.wu-dock-right .wu-dock-tip{top:50%;bottom:auto;transform:translateY(-50%)}.wu-dock-left .wu-dock-tip{left:calc(var(--wu-dock-item-size) * var(--wu-dock-scale, 1) + .75rem)}.wu-dock-right .wu-dock-tip{right:calc(var(--wu-dock-item-size) * var(--wu-dock-scale, 1) + .75rem);left:auto}.wu-dock-item:hover .wu-dock-tip,.wu-dock-item:focus-within .wu-dock-tip{opacity:1;transform:translate(-50%)}.wu-dock-left .wu-dock-item:hover .wu-dock-tip,.wu-dock-left .wu-dock-item:focus-within .wu-dock-tip,.wu-dock-right .wu-dock-item:hover .wu-dock-tip,.wu-dock-right .wu-dock-item:focus-within .wu-dock-tip{transform:translateY(-50%)}.wu-dock-dot{position:absolute;bottom:-.4rem;left:50%;width:.25rem;height:.25rem;border-radius:50%;background:var(--wu-dock-dot);opacity:0;transform:translate(-50%);transition:opacity var(--wu-transition),width var(--wu-transition)}.wu-dock-top .wu-dock-dot{top:-.4rem;bottom:auto}.wu-dock-left .wu-dock-dot,.wu-dock-right .wu-dock-dot{top:50%;bottom:auto;transform:translateY(-50%)}.wu-dock-left .wu-dock-dot{left:-.4rem}.wu-dock-right .wu-dock-dot{right:-.4rem;left:auto}.wu-dock-item-active .wu-dock-dot{opacity:1}.wu-dock-look-mac{padding:var(--wu-dock-edge)}.wu-dock-look-mac .wu-dock-list-container{border:1px solid var(--wu-dock-border);border-radius:var(--wu-dock-radius);background:var(--wu-dock-bg);box-shadow:var(--wu-dock-shadow);-webkit-backdrop-filter:blur(20px) saturate(1.6);backdrop-filter:blur(20px) saturate(1.6)}.wu-dock-look-mac .wu-dock-bounce .wu-dock-action{animation:wu-dock-bounce 1.1s ease}.wu-dock-look-mac.wu-dock-top .wu-dock-bounce .wu-dock-action{animation-name:wu-dock-bounce-down}@keyframes wu-dock-bounce{15%,55%{transform:translateY(-40%)}35%,75%,to{transform:translateY(0)}}@keyframes wu-dock-bounce-down{15%,55%{transform:translateY(40%)}35%,75%,to{transform:translateY(0)}}.wu-dock-look-windows .wu-dock-list-container{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(max-content,1fr);align-items:center;box-sizing:border-box;width:100%;min-height:var(--wu-dock-taskbar-height);padding:0 .75rem;border-top:1px solid var(--wu-dock-taskbar-border);background:var(--wu-dock-taskbar-bg);-webkit-backdrop-filter:blur(30px) saturate(1.5);backdrop-filter:blur(30px) saturate(1.5)}.wu-dock-look-windows.wu-dock-top .wu-dock-list-container{border-top:0;border-bottom:1px solid var(--wu-dock-taskbar-border)}.wu-dock-look-windows.wu-dock-left .wu-dock-list-container,.wu-dock-look-windows.wu-dock-right .wu-dock-list-container{grid-template-columns:auto;grid-template-rows:1fr auto 1fr;width:auto;height:100%;min-width:var(--wu-dock-taskbar-height);padding:.75rem 0}.wu-dock-look-windows .wu-dock-spacer{display:block}.wu-dock-look-windows .wu-dock-center,.wu-dock-look-windows .wu-dock-list{align-items:center;gap:.25rem}.wu-dock-look-windows .wu-dock-end{display:flex;align-items:center;justify-content:flex-end;gap:.5rem;min-width:0}.wu-dock-look-windows.wu-dock-left .wu-dock-end,.wu-dock-look-windows.wu-dock-right .wu-dock-end{flex-direction:column;justify-content:flex-end}.wu-dock-look-windows .wu-dock-action{border-radius:var(--wu-radius-sm);transition:background var(--wu-transition),transform .1s ease}.wu-dock-look-windows .wu-dock-action:hover,.wu-dock-look-windows .wu-dock-item-current .wu-dock-action{background:var(--wu-dock-taskbar-hover)}.wu-dock-look-windows .wu-dock-action:active{transform:scale(.9)}.wu-dock-look-windows .wu-dock-icon{font-size:calc(var(--wu-dock-item-size) * .5)}.wu-dock-look-windows .wu-dock-tip{bottom:calc(100% + .625rem);border:1px solid var(--wu-dock-taskbar-border);background:var(--wu-dock-taskbar-tip-bg);color:var(--wu-dock-taskbar-tip-color);box-shadow:var(--wu-dock-shadow)}.wu-dock-look-windows .wu-dock-dot{bottom:.125rem;width:.375rem;height:.1875rem;border-radius:2px;background:var(--wu-dock-taskbar-indicator)}.wu-dock-look-windows.wu-dock-top .wu-dock-dot{top:.125rem}.wu-dock-look-windows.wu-dock-left .wu-dock-dot{left:.125rem;width:.1875rem;height:.375rem}.wu-dock-look-windows.wu-dock-right .wu-dock-dot{right:.125rem;width:.1875rem;height:.375rem}.wu-dock-look-windows .wu-dock-item-current .wu-dock-dot{width:1rem}.wu-dock-look-windows.wu-dock-left .wu-dock-item-current .wu-dock-dot,.wu-dock-look-windows.wu-dock-right .wu-dock-item-current .wu-dock-dot{width:.1875rem;height:1rem}@media (prefers-reduced-motion: reduce){.wu-dock-item,.wu-dock-action,.wu-dock-tip,.wu-dock-dot{transition:none}.wu-dock-look-mac .wu-dock-bounce .wu-dock-action{animation:none}}}\n"], dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
249
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: WuDock, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
250
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.25", type: WuDock, isStandalone: true, selector: "wu-dock", inputs: { model: "model", position: "position", look: "look", magnify: "magnify", magnification: "magnification", size: "size", ariaLabel: "ariaLabel", ariaLabelledBy: "ariaLabelledBy", styleClass: "styleClass", style: "style" }, outputs: { onItemClick: "onItemClick", onFocus: "onFocus", onBlur: "onBlur" }, host: { classAttribute: "wu-dock-host" }, queries: [{ propertyName: "templates", predicate: WuTemplate }], viewQueries: [{ propertyName: "listRef", first: true, predicate: ["list"], descendants: true }], ngImport: i0, template: "<div [ngClass]=\"classes\" [ngStyle]=\"rootStyle\" [style.--wu-dock-item-size.px]=\"itemSize\" [attr.data-position]=\"position\" [attr.data-look]=\"look\">\n <div class=\"wu-dock-list-container p-dock-list-container\">\n <span class=\"wu-dock-spacer\" aria-hidden=\"true\"></span>\n <div class=\"wu-dock-center\">\n <div *ngIf=\"startTemplate\" class=\"wu-dock-start\">\n <ng-container *ngTemplateOutlet=\"startTemplate\"></ng-container>\n </div>\n <ul\n #list\n class=\"wu-dock-list p-dock-list\"\n role=\"menu\"\n [attr.aria-orientation]=\"vertical ? 'vertical' : 'horizontal'\"\n [attr.aria-label]=\"ariaLabel || null\"\n [attr.aria-labelledby]=\"ariaLabelledBy || null\"\n (focusin)=\"focusIn($event)\"\n (focusout)=\"focusOut($event)\"\n (keydown)=\"key($event)\"\n >\n <ng-container *ngFor=\"let item of items; let i = index\">\n <li *ngIf=\"item.separator; else entry\" class=\"wu-dock-separator p-dock-separator\" role=\"separator\"></li>\n <ng-template #entry>\n <li\n class=\"wu-dock-item p-dock-item\"\n role=\"none\"\n [attr.data-index]=\"i\"\n [class.wu-dock-item-active]=\"item['active']\"\n [class.wu-dock-item-current]=\"item['current']\"\n [class.wu-dock-item-disabled]=\"item.disabled\"\n [class.p-disabled]=\"item.disabled\"\n [class.wu-dock-bounce]=\"bouncing === i\"\n [ngClass]=\"item.styleClass || ''\"\n [ngStyle]=\"item.style || null\"\n >\n <a\n *ngIf=\"hasRoute(item); else plain\"\n class=\"wu-dock-action p-dock-item-link\"\n role=\"menuitem\"\n [routerLink]=\"item.routerLink\"\n [queryParams]=\"item.queryParams\"\n [fragment]=\"item.fragment\"\n [attr.target]=\"item.target || null\"\n [attr.tabindex]=\"tabIndexOf(i)\"\n [attr.aria-label]=\"item.label || null\"\n [attr.title]=\"item.title || null\"\n (click)=\"pick(item, i, $event)\"\n >\n <ng-container *ngTemplateOutlet=\"itemTemplate || plainItem; context: { $implicit: item, index: i }\"></ng-container>\n </a>\n <ng-template #plain>\n <a\n class=\"wu-dock-action p-dock-item-link\"\n role=\"menuitem\"\n [attr.href]=\"item.url && !item.disabled ? item.url : null\"\n [attr.target]=\"item.target || null\"\n [attr.tabindex]=\"tabIndexOf(i)\"\n [attr.aria-label]=\"item.label || null\"\n [attr.aria-disabled]=\"item.disabled ? true : null\"\n [attr.title]=\"item.title || null\"\n (click)=\"pick(item, i, $event)\"\n >\n <ng-container *ngTemplateOutlet=\"itemTemplate || plainItem; context: { $implicit: item, index: i }\"></ng-container>\n </a>\n </ng-template>\n <span *ngIf=\"item.label\" class=\"wu-dock-tip\" aria-hidden=\"true\">{{ item.label }}</span>\n <span class=\"wu-dock-dot\" aria-hidden=\"true\"></span>\n </li>\n </ng-template>\n </ng-container>\n </ul>\n </div>\n <div class=\"wu-dock-end\">\n <ng-container *ngIf=\"endTemplate\">\n <ng-container *ngTemplateOutlet=\"endTemplate\"></ng-container>\n </ng-container>\n </div>\n </div>\n</div>\n\n<ng-template #plainItem let-item>\n <img *ngIf=\"item.image\" class=\"wu-dock-image\" [src]=\"item.image\" alt=\"\" draggable=\"false\" />\n <span *ngIf=\"!item.image && item.icon\" class=\"wu-dock-icon\" [ngClass]=\"item.icon\"></span>\n <span *ngIf=\"item.badge\" class=\"wu-dock-badge\">{{ item.badge }}</span>\n</ng-template>\n", styles: ["@layer wiraui.components{wu-dock{display:contents}.wu-dock{position:absolute;z-index:1;display:flex;align-items:center;justify-content:center;pointer-events:none}.wu-dock-bottom{bottom:0;left:0;width:100%}.wu-dock-top{top:0;left:0;width:100%}.wu-dock-left{top:0;left:0;height:100%}.wu-dock-right{top:0;right:0;height:100%}.wu-dock-list-container{display:flex;align-items:flex-end;gap:var(--wu-dock-gap);padding:var(--wu-dock-padding);pointer-events:auto}.wu-dock-left .wu-dock-list-container,.wu-dock-right .wu-dock-list-container{flex-direction:column}.wu-dock-spacer{display:none}.wu-dock-center,.wu-dock-list{display:flex;align-items:flex-end;gap:var(--wu-dock-gap)}.wu-dock-list{margin:0;padding:0;list-style:none}.wu-dock-top .wu-dock-list-container,.wu-dock-top .wu-dock-center,.wu-dock-top .wu-dock-list{align-items:flex-start}.wu-dock-left .wu-dock-center,.wu-dock-left .wu-dock-list,.wu-dock-right .wu-dock-center,.wu-dock-right .wu-dock-list{flex-direction:column;align-items:flex-start}.wu-dock-right .wu-dock-list-container,.wu-dock-right .wu-dock-center,.wu-dock-right .wu-dock-list{align-items:flex-end}.wu-dock-end:empty,.wu-dock-start:empty{display:none}.wu-dock-item{position:relative;flex:none;width:calc(var(--wu-dock-item-size) * var(--wu-dock-scale, 1));height:var(--wu-dock-item-size);transition:width .12s ease-out}.wu-dock-left .wu-dock-item,.wu-dock-right .wu-dock-item{width:var(--wu-dock-item-size);height:calc(var(--wu-dock-item-size) * var(--wu-dock-scale, 1));transition:height .12s ease-out}.wu-dock-action{position:absolute;bottom:0;left:0;display:flex;align-items:center;justify-content:center;width:calc(var(--wu-dock-item-size) * var(--wu-dock-scale, 1));height:calc(var(--wu-dock-item-size) * var(--wu-dock-scale, 1));transition:width .12s ease-out,height .12s ease-out;border-radius:var(--wu-dock-item-radius);color:var(--wu-dock-icon-color);text-decoration:none;outline:none;cursor:pointer;-webkit-tap-highlight-color:transparent}.wu-dock-top .wu-dock-action,.wu-dock-left .wu-dock-action{top:0;bottom:auto}.wu-dock-right .wu-dock-action{inset:0 0 auto auto}.wu-dock-action:focus-visible{box-shadow:var(--wu-control-focus-shadow);outline:var(--wu-control-focus-outline);outline-offset:2px}.wu-dock-icon{font-size:calc(var(--wu-dock-item-size) * var(--wu-dock-scale, 1) * .55);line-height:1}.wu-dock-image{width:100%;height:100%;object-fit:contain;-webkit-user-drag:none;-webkit-user-select:none;user-select:none}.wu-dock-badge{position:absolute;top:-.25rem;right:-.25rem;min-width:1.125rem;height:1.125rem;padding:0 .3rem;border-radius:999px;background:var(--wu-danger-color);color:#fff;font-size:.6875rem;font-weight:700;line-height:1.125rem;text-align:center}.wu-dock-item-disabled{opacity:.45}.wu-dock-item-disabled .wu-dock-action{cursor:default}.wu-dock-separator{flex:none;align-self:stretch;width:1px;margin:.25rem .125rem;background:var(--wu-dock-separator)}.wu-dock-left .wu-dock-separator,.wu-dock-right .wu-dock-separator{width:auto;height:1px;margin:.125rem .25rem}.wu-dock-tip{position:absolute;bottom:calc(var(--wu-dock-item-size) * var(--wu-dock-scale, 1) + .75rem);left:50%;padding:.25rem .625rem;border-radius:var(--wu-radius-sm);background:var(--wu-dock-tip-bg);color:var(--wu-dock-tip-color);font-family:var(--wu-font-family);font-size:.8125rem;white-space:nowrap;opacity:0;transform:translate(-50%,.25rem);pointer-events:none;transition:opacity var(--wu-transition),transform var(--wu-transition)}.wu-dock-top .wu-dock-tip{top:calc(var(--wu-dock-item-size) * var(--wu-dock-scale, 1) + .75rem);bottom:auto;transform:translate(-50%,-.25rem)}.wu-dock-left .wu-dock-tip,.wu-dock-right .wu-dock-tip{top:50%;bottom:auto;transform:translateY(-50%)}.wu-dock-left .wu-dock-tip{left:calc(var(--wu-dock-item-size) * var(--wu-dock-scale, 1) + .75rem)}.wu-dock-right .wu-dock-tip{right:calc(var(--wu-dock-item-size) * var(--wu-dock-scale, 1) + .75rem);left:auto}.wu-dock-item:hover .wu-dock-tip,.wu-dock-item:focus-within .wu-dock-tip{opacity:1;transform:translate(-50%)}.wu-dock-left .wu-dock-item:hover .wu-dock-tip,.wu-dock-left .wu-dock-item:focus-within .wu-dock-tip,.wu-dock-right .wu-dock-item:hover .wu-dock-tip,.wu-dock-right .wu-dock-item:focus-within .wu-dock-tip{transform:translateY(-50%)}.wu-dock-dot{position:absolute;bottom:-.4rem;left:50%;width:.25rem;height:.25rem;border-radius:50%;background:var(--wu-dock-dot);opacity:0;transform:translate(-50%);transition:opacity var(--wu-transition),width var(--wu-transition)}.wu-dock-top .wu-dock-dot{top:-.4rem;bottom:auto}.wu-dock-left .wu-dock-dot,.wu-dock-right .wu-dock-dot{top:50%;bottom:auto;transform:translateY(-50%)}.wu-dock-left .wu-dock-dot{left:-.4rem}.wu-dock-right .wu-dock-dot{right:-.4rem;left:auto}.wu-dock-item-active .wu-dock-dot{opacity:1}.wu-dock-look-mac{padding:var(--wu-dock-edge)}.wu-dock-look-mac .wu-dock-list-container{border:1px solid var(--wu-dock-border);border-radius:var(--wu-dock-radius);background:var(--wu-dock-bg);box-shadow:var(--wu-dock-shadow);-webkit-backdrop-filter:blur(20px) saturate(1.6);backdrop-filter:blur(20px) saturate(1.6)}.wu-dock-look-mac .wu-dock-bounce .wu-dock-action{animation:wu-dock-bounce 1.1s ease}.wu-dock-look-mac.wu-dock-top .wu-dock-bounce .wu-dock-action{animation-name:wu-dock-bounce-down}@keyframes wu-dock-bounce{15%,55%{transform:translateY(-40%)}35%,75%,to{transform:translateY(0)}}@keyframes wu-dock-bounce-down{15%,55%{transform:translateY(40%)}35%,75%,to{transform:translateY(0)}}.wu-dock-look-windows .wu-dock-list-container{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(max-content,1fr);align-items:center;box-sizing:border-box;width:100%;min-height:var(--wu-dock-taskbar-height);padding:0 .75rem;border-top:1px solid var(--wu-dock-taskbar-border);background:var(--wu-dock-taskbar-bg);-webkit-backdrop-filter:blur(30px) saturate(1.5);backdrop-filter:blur(30px) saturate(1.5)}.wu-dock-look-windows.wu-dock-top .wu-dock-list-container{border-top:0;border-bottom:1px solid var(--wu-dock-taskbar-border)}.wu-dock-look-windows.wu-dock-left .wu-dock-list-container,.wu-dock-look-windows.wu-dock-right .wu-dock-list-container{grid-template-columns:auto;grid-template-rows:1fr auto 1fr;width:auto;height:100%;min-width:var(--wu-dock-taskbar-height);padding:.75rem 0}.wu-dock-look-windows .wu-dock-spacer{display:block}.wu-dock-look-windows .wu-dock-center,.wu-dock-look-windows .wu-dock-list{align-items:center;gap:.25rem}.wu-dock-look-windows .wu-dock-end{display:flex;align-items:center;justify-content:flex-end;gap:.5rem;min-width:0}.wu-dock-look-windows.wu-dock-left .wu-dock-end,.wu-dock-look-windows.wu-dock-right .wu-dock-end{flex-direction:column;justify-content:flex-end}.wu-dock-look-windows .wu-dock-action{border-radius:var(--wu-radius-sm);transition:background var(--wu-transition),transform .1s ease}.wu-dock-look-windows .wu-dock-action:hover,.wu-dock-look-windows .wu-dock-item-current .wu-dock-action{background:var(--wu-dock-taskbar-hover)}.wu-dock-look-windows .wu-dock-action:active{transform:scale(.9)}.wu-dock-look-windows .wu-dock-icon{font-size:calc(var(--wu-dock-item-size) * .5)}.wu-dock-look-windows .wu-dock-tip{bottom:calc(100% + .625rem);border:1px solid var(--wu-dock-taskbar-border);background:var(--wu-dock-taskbar-tip-bg);color:var(--wu-dock-taskbar-tip-color);box-shadow:var(--wu-dock-shadow)}.wu-dock-look-windows .wu-dock-dot{bottom:.125rem;width:.375rem;height:.1875rem;border-radius:2px;background:var(--wu-dock-taskbar-indicator)}.wu-dock-look-windows.wu-dock-top .wu-dock-dot{top:.125rem}.wu-dock-look-windows.wu-dock-left .wu-dock-dot{left:.125rem;width:.1875rem;height:.375rem}.wu-dock-look-windows.wu-dock-right .wu-dock-dot{right:.125rem;width:.1875rem;height:.375rem}.wu-dock-look-windows .wu-dock-item-current .wu-dock-dot{width:1rem}.wu-dock-look-windows.wu-dock-left .wu-dock-item-current .wu-dock-dot,.wu-dock-look-windows.wu-dock-right .wu-dock-item-current .wu-dock-dot{width:.1875rem;height:1rem}@media(prefers-reduced-motion:reduce){.wu-dock-item,.wu-dock-action,.wu-dock-tip,.wu-dock-dot{transition:none}.wu-dock-look-mac .wu-dock-bounce .wu-dock-action{animation:none}}}\n"], dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
251
251
  }
252
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: WuDock, decorators: [{
252
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: WuDock, decorators: [{
253
253
  type: Component,
254
- args: [{ selector: 'wu-dock', standalone: true, imports: [NgClass, NgFor, NgIf, NgStyle, NgTemplateOutlet, RouterLink], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'wu-dock-host' }, template: "<div [ngClass]=\"classes\" [ngStyle]=\"rootStyle\" [style.--wu-dock-item-size.px]=\"itemSize\" [attr.data-position]=\"position\" [attr.data-look]=\"look\">\n <div class=\"wu-dock-list-container p-dock-list-container\">\n <span class=\"wu-dock-spacer\" aria-hidden=\"true\"></span>\n <div class=\"wu-dock-center\">\n <div *ngIf=\"startTemplate\" class=\"wu-dock-start\">\n <ng-container *ngTemplateOutlet=\"startTemplate\"></ng-container>\n </div>\n <ul\n #list\n class=\"wu-dock-list p-dock-list\"\n role=\"menu\"\n [attr.aria-orientation]=\"vertical ? 'vertical' : 'horizontal'\"\n [attr.aria-label]=\"ariaLabel || null\"\n [attr.aria-labelledby]=\"ariaLabelledBy || null\"\n (focusin)=\"focusIn($event)\"\n (focusout)=\"focusOut($event)\"\n (keydown)=\"key($event)\"\n >\n <ng-container *ngFor=\"let item of items; let i = index\">\n <li *ngIf=\"item.separator; else entry\" class=\"wu-dock-separator p-dock-separator\" role=\"separator\"></li>\n <ng-template #entry>\n <li\n class=\"wu-dock-item p-dock-item\"\n role=\"none\"\n [attr.data-index]=\"i\"\n [class.wu-dock-item-active]=\"item['active']\"\n [class.wu-dock-item-current]=\"item['current']\"\n [class.wu-dock-item-disabled]=\"item.disabled\"\n [class.p-disabled]=\"item.disabled\"\n [class.wu-dock-bounce]=\"bouncing === i\"\n [ngClass]=\"item.styleClass || ''\"\n [ngStyle]=\"item.style || null\"\n >\n <a\n *ngIf=\"hasRoute(item); else plain\"\n class=\"wu-dock-action p-dock-item-link\"\n role=\"menuitem\"\n [routerLink]=\"item.routerLink\"\n [queryParams]=\"item.queryParams\"\n [fragment]=\"item.fragment\"\n [attr.target]=\"item.target || null\"\n [attr.tabindex]=\"tabIndexOf(i)\"\n [attr.aria-label]=\"item.label || null\"\n [attr.title]=\"item.title || null\"\n (click)=\"pick(item, i, $event)\"\n >\n <ng-container *ngTemplateOutlet=\"itemTemplate || plainItem; context: { $implicit: item, index: i }\"></ng-container>\n </a>\n <ng-template #plain>\n <a\n class=\"wu-dock-action p-dock-item-link\"\n role=\"menuitem\"\n [attr.href]=\"item.url && !item.disabled ? item.url : null\"\n [attr.target]=\"item.target || null\"\n [attr.tabindex]=\"tabIndexOf(i)\"\n [attr.aria-label]=\"item.label || null\"\n [attr.aria-disabled]=\"item.disabled ? true : null\"\n [attr.title]=\"item.title || null\"\n (click)=\"pick(item, i, $event)\"\n >\n <ng-container *ngTemplateOutlet=\"itemTemplate || plainItem; context: { $implicit: item, index: i }\"></ng-container>\n </a>\n </ng-template>\n <span *ngIf=\"item.label\" class=\"wu-dock-tip\" aria-hidden=\"true\">{{ item.label }}</span>\n <span class=\"wu-dock-dot\" aria-hidden=\"true\"></span>\n </li>\n </ng-template>\n </ng-container>\n </ul>\n </div>\n <div class=\"wu-dock-end\">\n <ng-container *ngIf=\"endTemplate\">\n <ng-container *ngTemplateOutlet=\"endTemplate\"></ng-container>\n </ng-container>\n </div>\n </div>\n</div>\n\n<ng-template #plainItem let-item>\n <img *ngIf=\"item.image\" class=\"wu-dock-image\" [src]=\"item.image\" alt=\"\" draggable=\"false\" />\n <span *ngIf=\"!item.image && item.icon\" class=\"wu-dock-icon\" [ngClass]=\"item.icon\"></span>\n <span *ngIf=\"item.badge\" class=\"wu-dock-badge\">{{ item.badge }}</span>\n</ng-template>\n", styles: ["@layer wiraui.components{wu-dock{display:contents}.wu-dock{position:absolute;z-index:1;display:flex;align-items:center;justify-content:center;pointer-events:none}.wu-dock-bottom{bottom:0;left:0;width:100%}.wu-dock-top{top:0;left:0;width:100%}.wu-dock-left{top:0;left:0;height:100%}.wu-dock-right{top:0;right:0;height:100%}.wu-dock-list-container{display:flex;align-items:flex-end;gap:var(--wu-dock-gap);padding:var(--wu-dock-padding);pointer-events:auto}.wu-dock-left .wu-dock-list-container,.wu-dock-right .wu-dock-list-container{flex-direction:column}.wu-dock-spacer{display:none}.wu-dock-center,.wu-dock-list{display:flex;align-items:flex-end;gap:var(--wu-dock-gap)}.wu-dock-list{margin:0;padding:0;list-style:none}.wu-dock-top .wu-dock-list-container,.wu-dock-top .wu-dock-center,.wu-dock-top .wu-dock-list{align-items:flex-start}.wu-dock-left .wu-dock-center,.wu-dock-left .wu-dock-list,.wu-dock-right .wu-dock-center,.wu-dock-right .wu-dock-list{flex-direction:column;align-items:flex-start}.wu-dock-right .wu-dock-list-container,.wu-dock-right .wu-dock-center,.wu-dock-right .wu-dock-list{align-items:flex-end}.wu-dock-end:empty,.wu-dock-start:empty{display:none}.wu-dock-item{position:relative;flex:none;width:calc(var(--wu-dock-item-size) * var(--wu-dock-scale, 1));height:var(--wu-dock-item-size);transition:width .12s ease-out}.wu-dock-left .wu-dock-item,.wu-dock-right .wu-dock-item{width:var(--wu-dock-item-size);height:calc(var(--wu-dock-item-size) * var(--wu-dock-scale, 1));transition:height .12s ease-out}.wu-dock-action{position:absolute;bottom:0;left:0;display:flex;align-items:center;justify-content:center;width:calc(var(--wu-dock-item-size) * var(--wu-dock-scale, 1));height:calc(var(--wu-dock-item-size) * var(--wu-dock-scale, 1));transition:width .12s ease-out,height .12s ease-out;border-radius:var(--wu-dock-item-radius);color:var(--wu-dock-icon-color);text-decoration:none;outline:none;cursor:pointer;-webkit-tap-highlight-color:transparent}.wu-dock-top .wu-dock-action,.wu-dock-left .wu-dock-action{top:0;bottom:auto}.wu-dock-right .wu-dock-action{inset:0 0 auto auto}.wu-dock-action:focus-visible{box-shadow:var(--wu-control-focus-shadow);outline:var(--wu-control-focus-outline);outline-offset:2px}.wu-dock-icon{font-size:calc(var(--wu-dock-item-size) * var(--wu-dock-scale, 1) * .55);line-height:1}.wu-dock-image{width:100%;height:100%;object-fit:contain;-webkit-user-drag:none;-webkit-user-select:none;user-select:none}.wu-dock-badge{position:absolute;top:-.25rem;right:-.25rem;min-width:1.125rem;height:1.125rem;padding:0 .3rem;border-radius:999px;background:var(--wu-danger-color);color:#fff;font-size:.6875rem;font-weight:700;line-height:1.125rem;text-align:center}.wu-dock-item-disabled{opacity:.45}.wu-dock-item-disabled .wu-dock-action{cursor:default}.wu-dock-separator{flex:none;align-self:stretch;width:1px;margin:.25rem .125rem;background:var(--wu-dock-separator)}.wu-dock-left .wu-dock-separator,.wu-dock-right .wu-dock-separator{width:auto;height:1px;margin:.125rem .25rem}.wu-dock-tip{position:absolute;bottom:calc(var(--wu-dock-item-size) * var(--wu-dock-scale, 1) + .75rem);left:50%;padding:.25rem .625rem;border-radius:var(--wu-radius-sm);background:var(--wu-dock-tip-bg);color:var(--wu-dock-tip-color);font-family:var(--wu-font-family);font-size:.8125rem;white-space:nowrap;opacity:0;transform:translate(-50%,.25rem);pointer-events:none;transition:opacity var(--wu-transition),transform var(--wu-transition)}.wu-dock-top .wu-dock-tip{top:calc(var(--wu-dock-item-size) * var(--wu-dock-scale, 1) + .75rem);bottom:auto;transform:translate(-50%,-.25rem)}.wu-dock-left .wu-dock-tip,.wu-dock-right .wu-dock-tip{top:50%;bottom:auto;transform:translateY(-50%)}.wu-dock-left .wu-dock-tip{left:calc(var(--wu-dock-item-size) * var(--wu-dock-scale, 1) + .75rem)}.wu-dock-right .wu-dock-tip{right:calc(var(--wu-dock-item-size) * var(--wu-dock-scale, 1) + .75rem);left:auto}.wu-dock-item:hover .wu-dock-tip,.wu-dock-item:focus-within .wu-dock-tip{opacity:1;transform:translate(-50%)}.wu-dock-left .wu-dock-item:hover .wu-dock-tip,.wu-dock-left .wu-dock-item:focus-within .wu-dock-tip,.wu-dock-right .wu-dock-item:hover .wu-dock-tip,.wu-dock-right .wu-dock-item:focus-within .wu-dock-tip{transform:translateY(-50%)}.wu-dock-dot{position:absolute;bottom:-.4rem;left:50%;width:.25rem;height:.25rem;border-radius:50%;background:var(--wu-dock-dot);opacity:0;transform:translate(-50%);transition:opacity var(--wu-transition),width var(--wu-transition)}.wu-dock-top .wu-dock-dot{top:-.4rem;bottom:auto}.wu-dock-left .wu-dock-dot,.wu-dock-right .wu-dock-dot{top:50%;bottom:auto;transform:translateY(-50%)}.wu-dock-left .wu-dock-dot{left:-.4rem}.wu-dock-right .wu-dock-dot{right:-.4rem;left:auto}.wu-dock-item-active .wu-dock-dot{opacity:1}.wu-dock-look-mac{padding:var(--wu-dock-edge)}.wu-dock-look-mac .wu-dock-list-container{border:1px solid var(--wu-dock-border);border-radius:var(--wu-dock-radius);background:var(--wu-dock-bg);box-shadow:var(--wu-dock-shadow);-webkit-backdrop-filter:blur(20px) saturate(1.6);backdrop-filter:blur(20px) saturate(1.6)}.wu-dock-look-mac .wu-dock-bounce .wu-dock-action{animation:wu-dock-bounce 1.1s ease}.wu-dock-look-mac.wu-dock-top .wu-dock-bounce .wu-dock-action{animation-name:wu-dock-bounce-down}@keyframes wu-dock-bounce{15%,55%{transform:translateY(-40%)}35%,75%,to{transform:translateY(0)}}@keyframes wu-dock-bounce-down{15%,55%{transform:translateY(40%)}35%,75%,to{transform:translateY(0)}}.wu-dock-look-windows .wu-dock-list-container{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(max-content,1fr);align-items:center;box-sizing:border-box;width:100%;min-height:var(--wu-dock-taskbar-height);padding:0 .75rem;border-top:1px solid var(--wu-dock-taskbar-border);background:var(--wu-dock-taskbar-bg);-webkit-backdrop-filter:blur(30px) saturate(1.5);backdrop-filter:blur(30px) saturate(1.5)}.wu-dock-look-windows.wu-dock-top .wu-dock-list-container{border-top:0;border-bottom:1px solid var(--wu-dock-taskbar-border)}.wu-dock-look-windows.wu-dock-left .wu-dock-list-container,.wu-dock-look-windows.wu-dock-right .wu-dock-list-container{grid-template-columns:auto;grid-template-rows:1fr auto 1fr;width:auto;height:100%;min-width:var(--wu-dock-taskbar-height);padding:.75rem 0}.wu-dock-look-windows .wu-dock-spacer{display:block}.wu-dock-look-windows .wu-dock-center,.wu-dock-look-windows .wu-dock-list{align-items:center;gap:.25rem}.wu-dock-look-windows .wu-dock-end{display:flex;align-items:center;justify-content:flex-end;gap:.5rem;min-width:0}.wu-dock-look-windows.wu-dock-left .wu-dock-end,.wu-dock-look-windows.wu-dock-right .wu-dock-end{flex-direction:column;justify-content:flex-end}.wu-dock-look-windows .wu-dock-action{border-radius:var(--wu-radius-sm);transition:background var(--wu-transition),transform .1s ease}.wu-dock-look-windows .wu-dock-action:hover,.wu-dock-look-windows .wu-dock-item-current .wu-dock-action{background:var(--wu-dock-taskbar-hover)}.wu-dock-look-windows .wu-dock-action:active{transform:scale(.9)}.wu-dock-look-windows .wu-dock-icon{font-size:calc(var(--wu-dock-item-size) * .5)}.wu-dock-look-windows .wu-dock-tip{bottom:calc(100% + .625rem);border:1px solid var(--wu-dock-taskbar-border);background:var(--wu-dock-taskbar-tip-bg);color:var(--wu-dock-taskbar-tip-color);box-shadow:var(--wu-dock-shadow)}.wu-dock-look-windows .wu-dock-dot{bottom:.125rem;width:.375rem;height:.1875rem;border-radius:2px;background:var(--wu-dock-taskbar-indicator)}.wu-dock-look-windows.wu-dock-top .wu-dock-dot{top:.125rem}.wu-dock-look-windows.wu-dock-left .wu-dock-dot{left:.125rem;width:.1875rem;height:.375rem}.wu-dock-look-windows.wu-dock-right .wu-dock-dot{right:.125rem;width:.1875rem;height:.375rem}.wu-dock-look-windows .wu-dock-item-current .wu-dock-dot{width:1rem}.wu-dock-look-windows.wu-dock-left .wu-dock-item-current .wu-dock-dot,.wu-dock-look-windows.wu-dock-right .wu-dock-item-current .wu-dock-dot{width:.1875rem;height:1rem}@media (prefers-reduced-motion: reduce){.wu-dock-item,.wu-dock-action,.wu-dock-tip,.wu-dock-dot{transition:none}.wu-dock-look-mac .wu-dock-bounce .wu-dock-action{animation:none}}}\n"] }]
254
+ args: [{ selector: 'wu-dock', standalone: true, imports: [NgClass, NgFor, NgIf, NgStyle, NgTemplateOutlet, RouterLink], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'wu-dock-host' }, template: "<div [ngClass]=\"classes\" [ngStyle]=\"rootStyle\" [style.--wu-dock-item-size.px]=\"itemSize\" [attr.data-position]=\"position\" [attr.data-look]=\"look\">\n <div class=\"wu-dock-list-container p-dock-list-container\">\n <span class=\"wu-dock-spacer\" aria-hidden=\"true\"></span>\n <div class=\"wu-dock-center\">\n <div *ngIf=\"startTemplate\" class=\"wu-dock-start\">\n <ng-container *ngTemplateOutlet=\"startTemplate\"></ng-container>\n </div>\n <ul\n #list\n class=\"wu-dock-list p-dock-list\"\n role=\"menu\"\n [attr.aria-orientation]=\"vertical ? 'vertical' : 'horizontal'\"\n [attr.aria-label]=\"ariaLabel || null\"\n [attr.aria-labelledby]=\"ariaLabelledBy || null\"\n (focusin)=\"focusIn($event)\"\n (focusout)=\"focusOut($event)\"\n (keydown)=\"key($event)\"\n >\n <ng-container *ngFor=\"let item of items; let i = index\">\n <li *ngIf=\"item.separator; else entry\" class=\"wu-dock-separator p-dock-separator\" role=\"separator\"></li>\n <ng-template #entry>\n <li\n class=\"wu-dock-item p-dock-item\"\n role=\"none\"\n [attr.data-index]=\"i\"\n [class.wu-dock-item-active]=\"item['active']\"\n [class.wu-dock-item-current]=\"item['current']\"\n [class.wu-dock-item-disabled]=\"item.disabled\"\n [class.p-disabled]=\"item.disabled\"\n [class.wu-dock-bounce]=\"bouncing === i\"\n [ngClass]=\"item.styleClass || ''\"\n [ngStyle]=\"item.style || null\"\n >\n <a\n *ngIf=\"hasRoute(item); else plain\"\n class=\"wu-dock-action p-dock-item-link\"\n role=\"menuitem\"\n [routerLink]=\"item.routerLink\"\n [queryParams]=\"item.queryParams\"\n [fragment]=\"item.fragment\"\n [attr.target]=\"item.target || null\"\n [attr.tabindex]=\"tabIndexOf(i)\"\n [attr.aria-label]=\"item.label || null\"\n [attr.title]=\"item.title || null\"\n (click)=\"pick(item, i, $event)\"\n >\n <ng-container *ngTemplateOutlet=\"itemTemplate || plainItem; context: { $implicit: item, index: i }\"></ng-container>\n </a>\n <ng-template #plain>\n <a\n class=\"wu-dock-action p-dock-item-link\"\n role=\"menuitem\"\n [attr.href]=\"item.url && !item.disabled ? item.url : null\"\n [attr.target]=\"item.target || null\"\n [attr.tabindex]=\"tabIndexOf(i)\"\n [attr.aria-label]=\"item.label || null\"\n [attr.aria-disabled]=\"item.disabled ? true : null\"\n [attr.title]=\"item.title || null\"\n (click)=\"pick(item, i, $event)\"\n >\n <ng-container *ngTemplateOutlet=\"itemTemplate || plainItem; context: { $implicit: item, index: i }\"></ng-container>\n </a>\n </ng-template>\n <span *ngIf=\"item.label\" class=\"wu-dock-tip\" aria-hidden=\"true\">{{ item.label }}</span>\n <span class=\"wu-dock-dot\" aria-hidden=\"true\"></span>\n </li>\n </ng-template>\n </ng-container>\n </ul>\n </div>\n <div class=\"wu-dock-end\">\n <ng-container *ngIf=\"endTemplate\">\n <ng-container *ngTemplateOutlet=\"endTemplate\"></ng-container>\n </ng-container>\n </div>\n </div>\n</div>\n\n<ng-template #plainItem let-item>\n <img *ngIf=\"item.image\" class=\"wu-dock-image\" [src]=\"item.image\" alt=\"\" draggable=\"false\" />\n <span *ngIf=\"!item.image && item.icon\" class=\"wu-dock-icon\" [ngClass]=\"item.icon\"></span>\n <span *ngIf=\"item.badge\" class=\"wu-dock-badge\">{{ item.badge }}</span>\n</ng-template>\n", styles: ["@layer wiraui.components{wu-dock{display:contents}.wu-dock{position:absolute;z-index:1;display:flex;align-items:center;justify-content:center;pointer-events:none}.wu-dock-bottom{bottom:0;left:0;width:100%}.wu-dock-top{top:0;left:0;width:100%}.wu-dock-left{top:0;left:0;height:100%}.wu-dock-right{top:0;right:0;height:100%}.wu-dock-list-container{display:flex;align-items:flex-end;gap:var(--wu-dock-gap);padding:var(--wu-dock-padding);pointer-events:auto}.wu-dock-left .wu-dock-list-container,.wu-dock-right .wu-dock-list-container{flex-direction:column}.wu-dock-spacer{display:none}.wu-dock-center,.wu-dock-list{display:flex;align-items:flex-end;gap:var(--wu-dock-gap)}.wu-dock-list{margin:0;padding:0;list-style:none}.wu-dock-top .wu-dock-list-container,.wu-dock-top .wu-dock-center,.wu-dock-top .wu-dock-list{align-items:flex-start}.wu-dock-left .wu-dock-center,.wu-dock-left .wu-dock-list,.wu-dock-right .wu-dock-center,.wu-dock-right .wu-dock-list{flex-direction:column;align-items:flex-start}.wu-dock-right .wu-dock-list-container,.wu-dock-right .wu-dock-center,.wu-dock-right .wu-dock-list{align-items:flex-end}.wu-dock-end:empty,.wu-dock-start:empty{display:none}.wu-dock-item{position:relative;flex:none;width:calc(var(--wu-dock-item-size) * var(--wu-dock-scale, 1));height:var(--wu-dock-item-size);transition:width .12s ease-out}.wu-dock-left .wu-dock-item,.wu-dock-right .wu-dock-item{width:var(--wu-dock-item-size);height:calc(var(--wu-dock-item-size) * var(--wu-dock-scale, 1));transition:height .12s ease-out}.wu-dock-action{position:absolute;bottom:0;left:0;display:flex;align-items:center;justify-content:center;width:calc(var(--wu-dock-item-size) * var(--wu-dock-scale, 1));height:calc(var(--wu-dock-item-size) * var(--wu-dock-scale, 1));transition:width .12s ease-out,height .12s ease-out;border-radius:var(--wu-dock-item-radius);color:var(--wu-dock-icon-color);text-decoration:none;outline:none;cursor:pointer;-webkit-tap-highlight-color:transparent}.wu-dock-top .wu-dock-action,.wu-dock-left .wu-dock-action{top:0;bottom:auto}.wu-dock-right .wu-dock-action{inset:0 0 auto auto}.wu-dock-action:focus-visible{box-shadow:var(--wu-control-focus-shadow);outline:var(--wu-control-focus-outline);outline-offset:2px}.wu-dock-icon{font-size:calc(var(--wu-dock-item-size) * var(--wu-dock-scale, 1) * .55);line-height:1}.wu-dock-image{width:100%;height:100%;object-fit:contain;-webkit-user-drag:none;-webkit-user-select:none;user-select:none}.wu-dock-badge{position:absolute;top:-.25rem;right:-.25rem;min-width:1.125rem;height:1.125rem;padding:0 .3rem;border-radius:999px;background:var(--wu-danger-color);color:#fff;font-size:.6875rem;font-weight:700;line-height:1.125rem;text-align:center}.wu-dock-item-disabled{opacity:.45}.wu-dock-item-disabled .wu-dock-action{cursor:default}.wu-dock-separator{flex:none;align-self:stretch;width:1px;margin:.25rem .125rem;background:var(--wu-dock-separator)}.wu-dock-left .wu-dock-separator,.wu-dock-right .wu-dock-separator{width:auto;height:1px;margin:.125rem .25rem}.wu-dock-tip{position:absolute;bottom:calc(var(--wu-dock-item-size) * var(--wu-dock-scale, 1) + .75rem);left:50%;padding:.25rem .625rem;border-radius:var(--wu-radius-sm);background:var(--wu-dock-tip-bg);color:var(--wu-dock-tip-color);font-family:var(--wu-font-family);font-size:.8125rem;white-space:nowrap;opacity:0;transform:translate(-50%,.25rem);pointer-events:none;transition:opacity var(--wu-transition),transform var(--wu-transition)}.wu-dock-top .wu-dock-tip{top:calc(var(--wu-dock-item-size) * var(--wu-dock-scale, 1) + .75rem);bottom:auto;transform:translate(-50%,-.25rem)}.wu-dock-left .wu-dock-tip,.wu-dock-right .wu-dock-tip{top:50%;bottom:auto;transform:translateY(-50%)}.wu-dock-left .wu-dock-tip{left:calc(var(--wu-dock-item-size) * var(--wu-dock-scale, 1) + .75rem)}.wu-dock-right .wu-dock-tip{right:calc(var(--wu-dock-item-size) * var(--wu-dock-scale, 1) + .75rem);left:auto}.wu-dock-item:hover .wu-dock-tip,.wu-dock-item:focus-within .wu-dock-tip{opacity:1;transform:translate(-50%)}.wu-dock-left .wu-dock-item:hover .wu-dock-tip,.wu-dock-left .wu-dock-item:focus-within .wu-dock-tip,.wu-dock-right .wu-dock-item:hover .wu-dock-tip,.wu-dock-right .wu-dock-item:focus-within .wu-dock-tip{transform:translateY(-50%)}.wu-dock-dot{position:absolute;bottom:-.4rem;left:50%;width:.25rem;height:.25rem;border-radius:50%;background:var(--wu-dock-dot);opacity:0;transform:translate(-50%);transition:opacity var(--wu-transition),width var(--wu-transition)}.wu-dock-top .wu-dock-dot{top:-.4rem;bottom:auto}.wu-dock-left .wu-dock-dot,.wu-dock-right .wu-dock-dot{top:50%;bottom:auto;transform:translateY(-50%)}.wu-dock-left .wu-dock-dot{left:-.4rem}.wu-dock-right .wu-dock-dot{right:-.4rem;left:auto}.wu-dock-item-active .wu-dock-dot{opacity:1}.wu-dock-look-mac{padding:var(--wu-dock-edge)}.wu-dock-look-mac .wu-dock-list-container{border:1px solid var(--wu-dock-border);border-radius:var(--wu-dock-radius);background:var(--wu-dock-bg);box-shadow:var(--wu-dock-shadow);-webkit-backdrop-filter:blur(20px) saturate(1.6);backdrop-filter:blur(20px) saturate(1.6)}.wu-dock-look-mac .wu-dock-bounce .wu-dock-action{animation:wu-dock-bounce 1.1s ease}.wu-dock-look-mac.wu-dock-top .wu-dock-bounce .wu-dock-action{animation-name:wu-dock-bounce-down}@keyframes wu-dock-bounce{15%,55%{transform:translateY(-40%)}35%,75%,to{transform:translateY(0)}}@keyframes wu-dock-bounce-down{15%,55%{transform:translateY(40%)}35%,75%,to{transform:translateY(0)}}.wu-dock-look-windows .wu-dock-list-container{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(max-content,1fr);align-items:center;box-sizing:border-box;width:100%;min-height:var(--wu-dock-taskbar-height);padding:0 .75rem;border-top:1px solid var(--wu-dock-taskbar-border);background:var(--wu-dock-taskbar-bg);-webkit-backdrop-filter:blur(30px) saturate(1.5);backdrop-filter:blur(30px) saturate(1.5)}.wu-dock-look-windows.wu-dock-top .wu-dock-list-container{border-top:0;border-bottom:1px solid var(--wu-dock-taskbar-border)}.wu-dock-look-windows.wu-dock-left .wu-dock-list-container,.wu-dock-look-windows.wu-dock-right .wu-dock-list-container{grid-template-columns:auto;grid-template-rows:1fr auto 1fr;width:auto;height:100%;min-width:var(--wu-dock-taskbar-height);padding:.75rem 0}.wu-dock-look-windows .wu-dock-spacer{display:block}.wu-dock-look-windows .wu-dock-center,.wu-dock-look-windows .wu-dock-list{align-items:center;gap:.25rem}.wu-dock-look-windows .wu-dock-end{display:flex;align-items:center;justify-content:flex-end;gap:.5rem;min-width:0}.wu-dock-look-windows.wu-dock-left .wu-dock-end,.wu-dock-look-windows.wu-dock-right .wu-dock-end{flex-direction:column;justify-content:flex-end}.wu-dock-look-windows .wu-dock-action{border-radius:var(--wu-radius-sm);transition:background var(--wu-transition),transform .1s ease}.wu-dock-look-windows .wu-dock-action:hover,.wu-dock-look-windows .wu-dock-item-current .wu-dock-action{background:var(--wu-dock-taskbar-hover)}.wu-dock-look-windows .wu-dock-action:active{transform:scale(.9)}.wu-dock-look-windows .wu-dock-icon{font-size:calc(var(--wu-dock-item-size) * .5)}.wu-dock-look-windows .wu-dock-tip{bottom:calc(100% + .625rem);border:1px solid var(--wu-dock-taskbar-border);background:var(--wu-dock-taskbar-tip-bg);color:var(--wu-dock-taskbar-tip-color);box-shadow:var(--wu-dock-shadow)}.wu-dock-look-windows .wu-dock-dot{bottom:.125rem;width:.375rem;height:.1875rem;border-radius:2px;background:var(--wu-dock-taskbar-indicator)}.wu-dock-look-windows.wu-dock-top .wu-dock-dot{top:.125rem}.wu-dock-look-windows.wu-dock-left .wu-dock-dot{left:.125rem;width:.1875rem;height:.375rem}.wu-dock-look-windows.wu-dock-right .wu-dock-dot{right:.125rem;width:.1875rem;height:.375rem}.wu-dock-look-windows .wu-dock-item-current .wu-dock-dot{width:1rem}.wu-dock-look-windows.wu-dock-left .wu-dock-item-current .wu-dock-dot,.wu-dock-look-windows.wu-dock-right .wu-dock-item-current .wu-dock-dot{width:.1875rem;height:1rem}@media(prefers-reduced-motion:reduce){.wu-dock-item,.wu-dock-action,.wu-dock-tip,.wu-dock-dot{transition:none}.wu-dock-look-mac .wu-dock-bounce .wu-dock-action{animation:none}}}\n"] }]
255
255
  }], ctorParameters: () => [], propDecorators: { model: [{
256
256
  type: Input
257
257
  }], position: [{
@@ -288,11 +288,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
288
288
 
289
289
  /** For NgModule apps (with `WuTemplate` for `pTemplate="item"`, `start` and `end`). Standalone apps can import `WuDock` directly. */
290
290
  class WuDockModule {
291
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: WuDockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
292
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: WuDockModule, imports: [WuDock, WuTemplate], exports: [WuDock, WuTemplate] }); }
293
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: WuDockModule }); }
291
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: WuDockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
292
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.25", ngImport: i0, type: WuDockModule, imports: [WuDock, WuTemplate], exports: [WuDock, WuTemplate] }); }
293
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: WuDockModule }); }
294
294
  }
295
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: WuDockModule, decorators: [{
295
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: WuDockModule, decorators: [{
296
296
  type: NgModule,
297
297
  args: [{
298
298
  imports: [WuDock, WuTemplate],
@@ -1 +1 @@
1
- {"version":3,"file":"wirabyte-ui-dock.mjs","sources":["../../lib/dock/dock.component.ts","../../lib/dock/dock.component.html","../../lib/dock/dock.module.ts","../../lib/dock/wirabyte-ui-dock.ts"],"sourcesContent":["import { NgClass, NgFor, NgIf, NgStyle, NgTemplateOutlet } from '@angular/common';\nimport {\n AfterViewInit,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ContentChildren,\n ElementRef,\n EventEmitter,\n inject,\n Input,\n NgZone,\n OnDestroy,\n Output,\n QueryList,\n ViewChild,\n ViewEncapsulation,\n} from '@angular/core';\nimport { RouterLink } from '@angular/router';\nimport { ɵassertSupportedAngular, ɵfindTemplate, ɵWU_SKIP_VERSION_CHECK, WuMenuItem, WuTemplate } from '@wirabyte/ui/config';\nimport { dockScale } from '@wirabyte/ui/core';\n\n/** `(onItemClick)`: the item clicked (or chosen with Enter / Space). */\nexport interface WuDockItemClickEvent {\n originalEvent: Event;\n item: WuMenuItem;\n}\n\n/** Where the dock sits in its box. */\nexport type WuDockPosition = 'bottom' | 'top' | 'left' | 'right';\n\n/** `'mac'`: a floating shelf whose icons swell under the pointer. `'windows'`: a full-width taskbar, icons centred. */\nexport type WuDockLook = 'mac' | 'windows';\n\nconst POSITIONS: WuDockPosition[] = ['bottom', 'top', 'left', 'right'];\nconst BOUNCE_MS = 1100;\n\n/**\n * A row of launcher icons along an edge of its box, like a desktop's dock or taskbar:\n * `<wu-dock [model]=\"apps\" position=\"bottom\">`. Items are menu items (`label`, `icon`, `image`, `command`, `url`,\n * `routerLink`, `disabled`, `badge`); `active: true` marks a running app with a dot (Windows: a bar, wider for the\n * `current` one); `separator: true` draws a divider. `look=\"mac\"` (default) swells the icons under the pointer and bounces\n * one when clicked; `look=\"windows\"` is a full-width taskbar with `start` and `end` slots (start button, clock and tray).\n * `<ng-template wuTemplate=\"item\" let-item>` (or `pTemplate=\"item\"`) draws each icon. It sits absolutely in its nearest\n * positioned parent, like the dock it replaces. Arrow keys move along it, Home / End jump, Enter or Space opens.\n */\n@Component({\n selector: 'wu-dock',\n standalone: true,\n imports: [NgClass, NgFor, NgIf, NgStyle, NgTemplateOutlet, RouterLink],\n templateUrl: './dock.component.html',\n styleUrls: ['./dock.css'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: { class: 'wu-dock-host' },\n})\nexport class WuDock implements AfterViewInit, OnDestroy {\n @Input() model: WuMenuItem[] | null | undefined;\n /** `'bottom'` (default), `'top'`, `'left'` or `'right'`. */\n @Input() set position(v: WuDockPosition | string | null | undefined) {\n this._position = POSITIONS.includes(v as WuDockPosition) ? (v as WuDockPosition) : 'bottom';\n }\n get position(): WuDockPosition {\n return this._position;\n }\n /** `'mac'` (default) or `'windows'`. */\n @Input() set look(v: WuDockLook | string | null | undefined) {\n this._look = v === 'windows' ? 'windows' : 'mac';\n }\n get look(): WuDockLook {\n return this._look;\n }\n /** Icons swell under the pointer (the mac look). Default true. */\n @Input() magnify: boolean | string | null | undefined = true;\n /** How big the icon under the pointer gets. Default 1.8. */\n @Input() magnification: number | string | null | undefined = 1.8;\n /** Icon size, px. Default 48 (windows 40). */\n @Input() size: number | string | null | undefined;\n @Input() ariaLabel?: string | null;\n @Input() ariaLabelledBy?: string | null;\n @Input() styleClass?: string | null;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n @Input() style?: Record<string, any> | string | null;\n\n @Output() readonly onItemClick = new EventEmitter<WuDockItemClickEvent>();\n @Output() readonly onFocus = new EventEmitter<FocusEvent>();\n @Output() readonly onBlur = new EventEmitter<FocusEvent>();\n\n @ContentChildren(WuTemplate) protected templates?: QueryList<WuTemplate>;\n @ViewChild('list') private listRef?: ElementRef<HTMLElement>;\n\n /** The item the keys are on (the one in the tab order). */\n focusIndex = 0;\n /** The item bouncing after a click (mac). */\n bouncing = -1;\n\n private _position: WuDockPosition = 'bottom';\n private _look: WuDockLook = 'mac';\n private readonly zone = inject(NgZone);\n private readonly cdr = inject(ChangeDetectorRef);\n private readonly host: HTMLElement = inject(ElementRef).nativeElement;\n private stop: (() => void) | null = null;\n private bounceTimer: ReturnType<typeof setTimeout> | null = null;\n /** Item centres along the dock with every icon at its own size, measured as the pointer comes in. */\n private centres: number[] = [];\n /** The icon size that fits the box (0: no limit), like a dock that shrinks when its screen is narrow. */\n private fit = 0;\n\n constructor() {\n ɵassertSupportedAngular(inject(ɵWU_SKIP_VERSION_CHECK, { optional: true }));\n }\n\n ngAfterViewInit(): void {\n const list = this.listRef?.nativeElement;\n if (!list || typeof window === 'undefined') return;\n const root = this.host.querySelector<HTMLElement>('.wu-dock');\n if (root && typeof ResizeObserver !== 'undefined') {\n // Shrink the icons when the box is too short for them all (on the next frame: changing them inside the observer's\n // callback would trip its loop warning).\n let frame = 0;\n const observer = new ResizeObserver(() => {\n cancelAnimationFrame(frame);\n frame = requestAnimationFrame(() => this.fitTo(root));\n });\n this.zone.runOutsideAngular(() => observer.observe(root));\n const stopObserver = () => observer.disconnect();\n const before = this.stop;\n this.stop = () => {\n before?.();\n stopObserver();\n };\n }\n // The pointer moves often: keep it out of change detection, setting each icon's scale directly.\n this.zone.runOutsideAngular(() => {\n const move = (e: PointerEvent) => this.swell(e);\n const enter = () => this.measure();\n const leave = () => this.settle();\n list.addEventListener('pointerenter', enter);\n list.addEventListener('pointermove', move);\n list.addEventListener('pointerleave', leave);\n const before = this.stop;\n this.stop = () => {\n before?.();\n list.removeEventListener('pointerenter', enter);\n list.removeEventListener('pointermove', move);\n list.removeEventListener('pointerleave', leave);\n };\n });\n }\n\n ngOnDestroy(): void {\n this.stop?.();\n if (this.bounceTimer) clearTimeout(this.bounceTimer);\n }\n\n // ---------- what the template reads ----------\n\n get items(): WuMenuItem[] {\n return (this.model || []).filter((i) => i && i.visible !== false);\n }\n get vertical(): boolean {\n return this._position === 'left' || this._position === 'right';\n }\n get itemSize(): number {\n const n = Number(this.size);\n const own = n > 0 ? n : this._look === 'windows' ? 40 : 48;\n return this.fit > 0 ? Math.min(own, this.fit) : own;\n }\n get itemTemplate() {\n return ɵfindTemplate(this.templates?.toArray(), 'item');\n }\n get startTemplate() {\n return ɵfindTemplate(this.templates?.toArray(), 'start');\n }\n get endTemplate() {\n return ɵfindTemplate(this.templates?.toArray(), 'end');\n }\n get classes(): string[] {\n return ['wu-dock', 'p-dock', `wu-dock-${this._position}`, `p-dock-${this._position}`, `wu-dock-look-${this._look}`, this.styleClass || ''];\n }\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n get rootStyle(): Record<string, any> | null {\n return this.style && typeof this.style === 'object' ? this.style : null;\n }\n hasRoute(item: WuMenuItem): boolean {\n return item.routerLink !== undefined && item.routerLink !== null && !item.disabled;\n }\n /** The index among the items that take focus (no separators). */\n tabIndexOf(i: number): number {\n return i === this.focusIndex ? 0 : -1;\n }\n\n // ---------- events ----------\n\n pick(item: WuMenuItem, index: number, event: Event): void {\n if (item.disabled) {\n event.preventDefault();\n return;\n }\n if (!item.url && !this.hasRoute(item)) event.preventDefault();\n this.focusIndex = index;\n if (this._look === 'mac') this.bounce(index);\n item.command?.({ originalEvent: event, item, index });\n this.onItemClick.emit({ originalEvent: event, item });\n }\n\n focusIn(event: FocusEvent): void {\n const li = (event.target as HTMLElement | null)?.closest?.('[data-index]');\n if (li) this.focusIndex = Number(li.getAttribute('data-index'));\n this.onFocus.emit(event);\n }\n\n focusOut(event: FocusEvent): void {\n this.onBlur.emit(event);\n }\n\n /** Along the dock: arrows (either way), Home / End; Enter and Space follow the link as they do. */\n key(event: KeyboardEvent): void {\n const items = this.items;\n const usable = items.map((it, i) => (!it.separator && !it.disabled ? i : -1)).filter((i) => i >= 0);\n if (!usable.length) return;\n const at = usable.indexOf(this.focusIndex);\n const back = this.vertical ? 'ArrowUp' : 'ArrowLeft';\n const fwd = this.vertical ? 'ArrowDown' : 'ArrowRight';\n let next: number | null = null;\n if (event.key === fwd) next = usable[(at + 1) % usable.length];\n else if (event.key === back) next = usable[(at - 1 + usable.length) % usable.length];\n else if (event.key === 'Home') next = usable[0];\n else if (event.key === 'End') next = usable[usable.length - 1];\n else if (event.key === ' ') {\n event.preventDefault();\n (event.target as HTMLElement).click();\n return;\n }\n if (next === null) return;\n event.preventDefault();\n this.focusIndex = next;\n this.cdr.markForCheck();\n this.host.querySelector<HTMLElement>(`.wu-dock-item[data-index=\"${next}\"] .wu-dock-action`)?.focus();\n }\n\n // ---------- magnification ----------\n\n private get magnifies(): boolean {\n return this._look === 'mac' && this.magnify !== false && this.magnify !== 'false' && !matchMedia?.('(prefers-reduced-motion: reduce)').matches;\n }\n\n private icons(): HTMLElement[] {\n return Array.from(this.listRef?.nativeElement.querySelectorAll<HTMLElement>('.wu-dock-item') ?? []);\n }\n\n private measure(): void {\n if (!this.magnifies) return;\n this.centres = this.icons().map((el) => {\n const r = el.getBoundingClientRect();\n return this.vertical ? r.top + r.height / 2 : r.left + r.width / 2;\n });\n }\n\n private swell(e: PointerEvent): void {\n if (!this.magnifies || e.pointerType === 'touch') return;\n if (!this.centres.length) this.measure();\n const at = this.vertical ? e.clientY : e.clientX;\n const max = Number(this.magnification) > 1 ? Number(this.magnification) : 1.8;\n const reach = this.itemSize * 2.6;\n this.icons().forEach((el, i) => el.style.setProperty('--wu-dock-scale', dockScale(at - (this.centres[i] ?? at), reach, max).toFixed(3)));\n }\n\n private settle(): void {\n this.centres = [];\n for (const el of this.icons()) el.style.removeProperty('--wu-dock-scale');\n }\n\n private fitTo(root: HTMLElement): void {\n const length = this.vertical ? root.clientHeight : root.clientWidth;\n if (!length) return;\n const items = this.items;\n const icons = items.filter((i) => !i.separator).length;\n if (!icons) return;\n const separators = items.length - icons;\n // What the shelf and its gaps take (the windows look keeps room for its start and end slots).\n const room = this._look === 'windows' ? length - 220 : length - 48;\n const size = Math.floor((room - (items.length - 1) * 6 - separators * 10) / icons);\n const fit = Math.max(24, size);\n const own = Number(this.size) > 0 ? Number(this.size) : this._look === 'windows' ? 40 : 48;\n const next = fit < own ? fit : 0;\n if (next === this.fit) return;\n this.fit = next;\n this.zone.run(() => this.cdr.markForCheck());\n }\n\n private bounce(index: number): void {\n if (this.bounceTimer) clearTimeout(this.bounceTimer);\n this.bouncing = index;\n this.bounceTimer = setTimeout(() => {\n this.bouncing = -1;\n this.cdr.markForCheck();\n }, BOUNCE_MS);\n }\n}\n","<div [ngClass]=\"classes\" [ngStyle]=\"rootStyle\" [style.--wu-dock-item-size.px]=\"itemSize\" [attr.data-position]=\"position\" [attr.data-look]=\"look\">\n <div class=\"wu-dock-list-container p-dock-list-container\">\n <span class=\"wu-dock-spacer\" aria-hidden=\"true\"></span>\n <div class=\"wu-dock-center\">\n <div *ngIf=\"startTemplate\" class=\"wu-dock-start\">\n <ng-container *ngTemplateOutlet=\"startTemplate\"></ng-container>\n </div>\n <ul\n #list\n class=\"wu-dock-list p-dock-list\"\n role=\"menu\"\n [attr.aria-orientation]=\"vertical ? 'vertical' : 'horizontal'\"\n [attr.aria-label]=\"ariaLabel || null\"\n [attr.aria-labelledby]=\"ariaLabelledBy || null\"\n (focusin)=\"focusIn($event)\"\n (focusout)=\"focusOut($event)\"\n (keydown)=\"key($event)\"\n >\n <ng-container *ngFor=\"let item of items; let i = index\">\n <li *ngIf=\"item.separator; else entry\" class=\"wu-dock-separator p-dock-separator\" role=\"separator\"></li>\n <ng-template #entry>\n <li\n class=\"wu-dock-item p-dock-item\"\n role=\"none\"\n [attr.data-index]=\"i\"\n [class.wu-dock-item-active]=\"item['active']\"\n [class.wu-dock-item-current]=\"item['current']\"\n [class.wu-dock-item-disabled]=\"item.disabled\"\n [class.p-disabled]=\"item.disabled\"\n [class.wu-dock-bounce]=\"bouncing === i\"\n [ngClass]=\"item.styleClass || ''\"\n [ngStyle]=\"item.style || null\"\n >\n <a\n *ngIf=\"hasRoute(item); else plain\"\n class=\"wu-dock-action p-dock-item-link\"\n role=\"menuitem\"\n [routerLink]=\"item.routerLink\"\n [queryParams]=\"item.queryParams\"\n [fragment]=\"item.fragment\"\n [attr.target]=\"item.target || null\"\n [attr.tabindex]=\"tabIndexOf(i)\"\n [attr.aria-label]=\"item.label || null\"\n [attr.title]=\"item.title || null\"\n (click)=\"pick(item, i, $event)\"\n >\n <ng-container *ngTemplateOutlet=\"itemTemplate || plainItem; context: { $implicit: item, index: i }\"></ng-container>\n </a>\n <ng-template #plain>\n <a\n class=\"wu-dock-action p-dock-item-link\"\n role=\"menuitem\"\n [attr.href]=\"item.url && !item.disabled ? item.url : null\"\n [attr.target]=\"item.target || null\"\n [attr.tabindex]=\"tabIndexOf(i)\"\n [attr.aria-label]=\"item.label || null\"\n [attr.aria-disabled]=\"item.disabled ? true : null\"\n [attr.title]=\"item.title || null\"\n (click)=\"pick(item, i, $event)\"\n >\n <ng-container *ngTemplateOutlet=\"itemTemplate || plainItem; context: { $implicit: item, index: i }\"></ng-container>\n </a>\n </ng-template>\n <span *ngIf=\"item.label\" class=\"wu-dock-tip\" aria-hidden=\"true\">{{ item.label }}</span>\n <span class=\"wu-dock-dot\" aria-hidden=\"true\"></span>\n </li>\n </ng-template>\n </ng-container>\n </ul>\n </div>\n <div class=\"wu-dock-end\">\n <ng-container *ngIf=\"endTemplate\">\n <ng-container *ngTemplateOutlet=\"endTemplate\"></ng-container>\n </ng-container>\n </div>\n </div>\n</div>\n\n<ng-template #plainItem let-item>\n <img *ngIf=\"item.image\" class=\"wu-dock-image\" [src]=\"item.image\" alt=\"\" draggable=\"false\" />\n <span *ngIf=\"!item.image && item.icon\" class=\"wu-dock-icon\" [ngClass]=\"item.icon\"></span>\n <span *ngIf=\"item.badge\" class=\"wu-dock-badge\">{{ item.badge }}</span>\n</ng-template>\n","import { NgModule } from '@angular/core';\nimport { WuTemplate } from '@wirabyte/ui/config';\nimport { WuDock } from './dock.component';\n\n/** For NgModule apps (with `WuTemplate` for `pTemplate=\"item\"`, `start` and `end`). Standalone apps can import `WuDock` directly. */\n@NgModule({\n imports: [WuDock, WuTemplate],\n exports: [WuDock, WuTemplate],\n})\nexport class WuDockModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["ɵassertSupportedAngular","ɵWU_SKIP_VERSION_CHECK","ɵfindTemplate"],"mappings":";;;;;;;AAkCA,MAAM,SAAS,GAAqB,CAAC,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC;AAC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AAA,EAAA,CAAA,CAAA;AAAZ,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,YAAY,YAHb,MAAM,EAAE,UAAU,CAAA,EAAA,OAAA,EAAA,CAClB,MAAM,EAAE,UAAU,CAAA,EAAA,CAAA,CAAA;gHAEjB,YAAY,EAAA,CAAA,CAAA;;4FAAZ,YAAY,EAAA,UAAA,EAAA,CAAA;kBAJxB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,MAAM,EAAE,UAAU,CAAC;AAC7B,oBAAA,OAAO,EAAE,CAAC,MAAM,EAAE,UAAU,CAAC;AAC9B,iBAAA;;;ACRD;;AAEG;;"}
1
+ {"version":3,"file":"wirabyte-ui-dock.mjs","sources":["../../lib/dock/dock.component.ts","../../lib/dock/dock.component.html","../../lib/dock/dock.module.ts","../../lib/dock/wirabyte-ui-dock.ts"],"sourcesContent":["import { NgClass, NgFor, NgIf, NgStyle, NgTemplateOutlet } from '@angular/common';\nimport {\n AfterViewInit,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ContentChildren,\n ElementRef,\n EventEmitter,\n inject,\n Input,\n NgZone,\n OnDestroy,\n Output,\n QueryList,\n ViewChild,\n ViewEncapsulation,\n} from '@angular/core';\nimport { RouterLink } from '@angular/router';\nimport { ɵassertSupportedAngular, ɵfindTemplate, ɵWU_SKIP_VERSION_CHECK, WuMenuItem, WuTemplate } from '@wirabyte/ui/config';\nimport { dockScale } from '@wirabyte/ui/core';\n\n/** `(onItemClick)`: the item clicked (or chosen with Enter / Space). */\nexport interface WuDockItemClickEvent {\n originalEvent: Event;\n item: WuMenuItem;\n}\n\n/** Where the dock sits in its box. */\nexport type WuDockPosition = 'bottom' | 'top' | 'left' | 'right';\n\n/** `'mac'`: a floating shelf whose icons swell under the pointer. `'windows'`: a full-width taskbar, icons centred. */\nexport type WuDockLook = 'mac' | 'windows';\n\nconst POSITIONS: WuDockPosition[] = ['bottom', 'top', 'left', 'right'];\nconst BOUNCE_MS = 1100;\n\n/**\n * A row of launcher icons along an edge of its box, like a desktop's dock or taskbar:\n * `<wu-dock [model]=\"apps\" position=\"bottom\">`. Items are menu items (`label`, `icon`, `image`, `command`, `url`,\n * `routerLink`, `disabled`, `badge`); `active: true` marks a running app with a dot (Windows: a bar, wider for the\n * `current` one); `separator: true` draws a divider. `look=\"mac\"` (default) swells the icons under the pointer and bounces\n * one when clicked; `look=\"windows\"` is a full-width taskbar with `start` and `end` slots (start button, clock and tray).\n * `<ng-template wuTemplate=\"item\" let-item>` (or `pTemplate=\"item\"`) draws each icon. It sits absolutely in its nearest\n * positioned parent, like the dock it replaces. Arrow keys move along it, Home / End jump, Enter or Space opens.\n */\n@Component({\n selector: 'wu-dock',\n standalone: true,\n imports: [NgClass, NgFor, NgIf, NgStyle, NgTemplateOutlet, RouterLink],\n templateUrl: './dock.component.html',\n styleUrls: ['./dock.css'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: { class: 'wu-dock-host' },\n})\nexport class WuDock implements AfterViewInit, OnDestroy {\n @Input() model: WuMenuItem[] | null | undefined;\n /** `'bottom'` (default), `'top'`, `'left'` or `'right'`. */\n @Input() set position(v: WuDockPosition | string | null | undefined) {\n this._position = POSITIONS.includes(v as WuDockPosition) ? (v as WuDockPosition) : 'bottom';\n }\n get position(): WuDockPosition {\n return this._position;\n }\n /** `'mac'` (default) or `'windows'`. */\n @Input() set look(v: WuDockLook | string | null | undefined) {\n this._look = v === 'windows' ? 'windows' : 'mac';\n }\n get look(): WuDockLook {\n return this._look;\n }\n /** Icons swell under the pointer (the mac look). Default true. */\n @Input() magnify: boolean | string | null | undefined = true;\n /** How big the icon under the pointer gets. Default 1.8. */\n @Input() magnification: number | string | null | undefined = 1.8;\n /** Icon size, px. Default 48 (windows 40). */\n @Input() size: number | string | null | undefined;\n @Input() ariaLabel?: string | null;\n @Input() ariaLabelledBy?: string | null;\n @Input() styleClass?: string | null;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n @Input() style?: Record<string, any> | string | null;\n\n @Output() readonly onItemClick = new EventEmitter<WuDockItemClickEvent>();\n @Output() readonly onFocus = new EventEmitter<FocusEvent>();\n @Output() readonly onBlur = new EventEmitter<FocusEvent>();\n\n @ContentChildren(WuTemplate) protected templates?: QueryList<WuTemplate>;\n @ViewChild('list') private listRef?: ElementRef<HTMLElement>;\n\n /** The item the keys are on (the one in the tab order). */\n focusIndex = 0;\n /** The item bouncing after a click (mac). */\n bouncing = -1;\n\n private _position: WuDockPosition = 'bottom';\n private _look: WuDockLook = 'mac';\n private readonly zone = inject(NgZone);\n private readonly cdr = inject(ChangeDetectorRef);\n private readonly host: HTMLElement = inject(ElementRef).nativeElement;\n private stop: (() => void) | null = null;\n private bounceTimer: ReturnType<typeof setTimeout> | null = null;\n /** Item centres along the dock with every icon at its own size, measured as the pointer comes in. */\n private centres: number[] = [];\n /** The icon size that fits the box (0: no limit), like a dock that shrinks when its screen is narrow. */\n private fit = 0;\n\n constructor() {\n ɵassertSupportedAngular(inject(ɵWU_SKIP_VERSION_CHECK, { optional: true }));\n }\n\n ngAfterViewInit(): void {\n const list = this.listRef?.nativeElement;\n if (!list || typeof window === 'undefined') return;\n const root = this.host.querySelector<HTMLElement>('.wu-dock');\n if (root && typeof ResizeObserver !== 'undefined') {\n // Shrink the icons when the box is too short for them all (on the next frame: changing them inside the observer's\n // callback would trip its loop warning).\n let frame = 0;\n const observer = new ResizeObserver(() => {\n cancelAnimationFrame(frame);\n frame = requestAnimationFrame(() => this.fitTo(root));\n });\n this.zone.runOutsideAngular(() => observer.observe(root));\n const stopObserver = () => observer.disconnect();\n const before = this.stop;\n this.stop = () => {\n before?.();\n stopObserver();\n };\n }\n // The pointer moves often: keep it out of change detection, setting each icon's scale directly.\n this.zone.runOutsideAngular(() => {\n const move = (e: PointerEvent) => this.swell(e);\n const enter = () => this.measure();\n const leave = () => this.settle();\n list.addEventListener('pointerenter', enter);\n list.addEventListener('pointermove', move);\n list.addEventListener('pointerleave', leave);\n const before = this.stop;\n this.stop = () => {\n before?.();\n list.removeEventListener('pointerenter', enter);\n list.removeEventListener('pointermove', move);\n list.removeEventListener('pointerleave', leave);\n };\n });\n }\n\n ngOnDestroy(): void {\n this.stop?.();\n if (this.bounceTimer) clearTimeout(this.bounceTimer);\n }\n\n // ---------- what the template reads ----------\n\n get items(): WuMenuItem[] {\n return (this.model || []).filter((i) => i && i.visible !== false);\n }\n get vertical(): boolean {\n return this._position === 'left' || this._position === 'right';\n }\n get itemSize(): number {\n const n = Number(this.size);\n const own = n > 0 ? n : this._look === 'windows' ? 40 : 48;\n return this.fit > 0 ? Math.min(own, this.fit) : own;\n }\n get itemTemplate() {\n return ɵfindTemplate(this.templates?.toArray(), 'item');\n }\n get startTemplate() {\n return ɵfindTemplate(this.templates?.toArray(), 'start');\n }\n get endTemplate() {\n return ɵfindTemplate(this.templates?.toArray(), 'end');\n }\n get classes(): string[] {\n return ['wu-dock', 'p-dock', `wu-dock-${this._position}`, `p-dock-${this._position}`, `wu-dock-look-${this._look}`, this.styleClass || ''];\n }\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n get rootStyle(): Record<string, any> | null {\n return this.style && typeof this.style === 'object' ? this.style : null;\n }\n hasRoute(item: WuMenuItem): boolean {\n return item.routerLink !== undefined && item.routerLink !== null && !item.disabled;\n }\n /** The index among the items that take focus (no separators). */\n tabIndexOf(i: number): number {\n return i === this.focusIndex ? 0 : -1;\n }\n\n // ---------- events ----------\n\n pick(item: WuMenuItem, index: number, event: Event): void {\n if (item.disabled) {\n event.preventDefault();\n return;\n }\n if (!item.url && !this.hasRoute(item)) event.preventDefault();\n this.focusIndex = index;\n if (this._look === 'mac') this.bounce(index);\n item.command?.({ originalEvent: event, item, index });\n this.onItemClick.emit({ originalEvent: event, item });\n }\n\n focusIn(event: FocusEvent): void {\n const li = (event.target as HTMLElement | null)?.closest?.('[data-index]');\n if (li) this.focusIndex = Number(li.getAttribute('data-index'));\n this.onFocus.emit(event);\n }\n\n focusOut(event: FocusEvent): void {\n this.onBlur.emit(event);\n }\n\n /** Along the dock: arrows (either way), Home / End; Enter and Space follow the link as they do. */\n key(event: KeyboardEvent): void {\n const items = this.items;\n const usable = items.map((it, i) => (!it.separator && !it.disabled ? i : -1)).filter((i) => i >= 0);\n if (!usable.length) return;\n const at = usable.indexOf(this.focusIndex);\n const back = this.vertical ? 'ArrowUp' : 'ArrowLeft';\n const fwd = this.vertical ? 'ArrowDown' : 'ArrowRight';\n let next: number | null = null;\n if (event.key === fwd) next = usable[(at + 1) % usable.length];\n else if (event.key === back) next = usable[(at - 1 + usable.length) % usable.length];\n else if (event.key === 'Home') next = usable[0];\n else if (event.key === 'End') next = usable[usable.length - 1];\n else if (event.key === ' ') {\n event.preventDefault();\n (event.target as HTMLElement).click();\n return;\n }\n if (next === null) return;\n event.preventDefault();\n this.focusIndex = next;\n this.cdr.markForCheck();\n this.host.querySelector<HTMLElement>(`.wu-dock-item[data-index=\"${next}\"] .wu-dock-action`)?.focus();\n }\n\n // ---------- magnification ----------\n\n private get magnifies(): boolean {\n return this._look === 'mac' && this.magnify !== false && this.magnify !== 'false' && !matchMedia?.('(prefers-reduced-motion: reduce)').matches;\n }\n\n private icons(): HTMLElement[] {\n return Array.from(this.listRef?.nativeElement.querySelectorAll<HTMLElement>('.wu-dock-item') ?? []);\n }\n\n private measure(): void {\n if (!this.magnifies) return;\n this.centres = this.icons().map((el) => {\n const r = el.getBoundingClientRect();\n return this.vertical ? r.top + r.height / 2 : r.left + r.width / 2;\n });\n }\n\n private swell(e: PointerEvent): void {\n if (!this.magnifies || e.pointerType === 'touch') return;\n if (!this.centres.length) this.measure();\n const at = this.vertical ? e.clientY : e.clientX;\n const max = Number(this.magnification) > 1 ? Number(this.magnification) : 1.8;\n const reach = this.itemSize * 2.6;\n this.icons().forEach((el, i) => el.style.setProperty('--wu-dock-scale', dockScale(at - (this.centres[i] ?? at), reach, max).toFixed(3)));\n }\n\n private settle(): void {\n this.centres = [];\n for (const el of this.icons()) el.style.removeProperty('--wu-dock-scale');\n }\n\n private fitTo(root: HTMLElement): void {\n const length = this.vertical ? root.clientHeight : root.clientWidth;\n if (!length) return;\n const items = this.items;\n const icons = items.filter((i) => !i.separator).length;\n if (!icons) return;\n const separators = items.length - icons;\n // What the shelf and its gaps take (the windows look keeps room for its start and end slots).\n const room = this._look === 'windows' ? length - 220 : length - 48;\n const size = Math.floor((room - (items.length - 1) * 6 - separators * 10) / icons);\n const fit = Math.max(24, size);\n const own = Number(this.size) > 0 ? Number(this.size) : this._look === 'windows' ? 40 : 48;\n const next = fit < own ? fit : 0;\n if (next === this.fit) return;\n this.fit = next;\n this.zone.run(() => this.cdr.markForCheck());\n }\n\n private bounce(index: number): void {\n if (this.bounceTimer) clearTimeout(this.bounceTimer);\n this.bouncing = index;\n this.bounceTimer = setTimeout(() => {\n this.bouncing = -1;\n this.cdr.markForCheck();\n }, BOUNCE_MS);\n }\n}\n","<div [ngClass]=\"classes\" [ngStyle]=\"rootStyle\" [style.--wu-dock-item-size.px]=\"itemSize\" [attr.data-position]=\"position\" [attr.data-look]=\"look\">\n <div class=\"wu-dock-list-container p-dock-list-container\">\n <span class=\"wu-dock-spacer\" aria-hidden=\"true\"></span>\n <div class=\"wu-dock-center\">\n <div *ngIf=\"startTemplate\" class=\"wu-dock-start\">\n <ng-container *ngTemplateOutlet=\"startTemplate\"></ng-container>\n </div>\n <ul\n #list\n class=\"wu-dock-list p-dock-list\"\n role=\"menu\"\n [attr.aria-orientation]=\"vertical ? 'vertical' : 'horizontal'\"\n [attr.aria-label]=\"ariaLabel || null\"\n [attr.aria-labelledby]=\"ariaLabelledBy || null\"\n (focusin)=\"focusIn($event)\"\n (focusout)=\"focusOut($event)\"\n (keydown)=\"key($event)\"\n >\n <ng-container *ngFor=\"let item of items; let i = index\">\n <li *ngIf=\"item.separator; else entry\" class=\"wu-dock-separator p-dock-separator\" role=\"separator\"></li>\n <ng-template #entry>\n <li\n class=\"wu-dock-item p-dock-item\"\n role=\"none\"\n [attr.data-index]=\"i\"\n [class.wu-dock-item-active]=\"item['active']\"\n [class.wu-dock-item-current]=\"item['current']\"\n [class.wu-dock-item-disabled]=\"item.disabled\"\n [class.p-disabled]=\"item.disabled\"\n [class.wu-dock-bounce]=\"bouncing === i\"\n [ngClass]=\"item.styleClass || ''\"\n [ngStyle]=\"item.style || null\"\n >\n <a\n *ngIf=\"hasRoute(item); else plain\"\n class=\"wu-dock-action p-dock-item-link\"\n role=\"menuitem\"\n [routerLink]=\"item.routerLink\"\n [queryParams]=\"item.queryParams\"\n [fragment]=\"item.fragment\"\n [attr.target]=\"item.target || null\"\n [attr.tabindex]=\"tabIndexOf(i)\"\n [attr.aria-label]=\"item.label || null\"\n [attr.title]=\"item.title || null\"\n (click)=\"pick(item, i, $event)\"\n >\n <ng-container *ngTemplateOutlet=\"itemTemplate || plainItem; context: { $implicit: item, index: i }\"></ng-container>\n </a>\n <ng-template #plain>\n <a\n class=\"wu-dock-action p-dock-item-link\"\n role=\"menuitem\"\n [attr.href]=\"item.url && !item.disabled ? item.url : null\"\n [attr.target]=\"item.target || null\"\n [attr.tabindex]=\"tabIndexOf(i)\"\n [attr.aria-label]=\"item.label || null\"\n [attr.aria-disabled]=\"item.disabled ? true : null\"\n [attr.title]=\"item.title || null\"\n (click)=\"pick(item, i, $event)\"\n >\n <ng-container *ngTemplateOutlet=\"itemTemplate || plainItem; context: { $implicit: item, index: i }\"></ng-container>\n </a>\n </ng-template>\n <span *ngIf=\"item.label\" class=\"wu-dock-tip\" aria-hidden=\"true\">{{ item.label }}</span>\n <span class=\"wu-dock-dot\" aria-hidden=\"true\"></span>\n </li>\n </ng-template>\n </ng-container>\n </ul>\n </div>\n <div class=\"wu-dock-end\">\n <ng-container *ngIf=\"endTemplate\">\n <ng-container *ngTemplateOutlet=\"endTemplate\"></ng-container>\n </ng-container>\n </div>\n </div>\n</div>\n\n<ng-template #plainItem let-item>\n <img *ngIf=\"item.image\" class=\"wu-dock-image\" [src]=\"item.image\" alt=\"\" draggable=\"false\" />\n <span *ngIf=\"!item.image && item.icon\" class=\"wu-dock-icon\" [ngClass]=\"item.icon\"></span>\n <span *ngIf=\"item.badge\" class=\"wu-dock-badge\">{{ item.badge }}</span>\n</ng-template>\n","import { NgModule } from '@angular/core';\nimport { WuTemplate } from '@wirabyte/ui/config';\nimport { WuDock } from './dock.component';\n\n/** For NgModule apps (with `WuTemplate` for `pTemplate=\"item\"`, `start` and `end`). Standalone apps can import `WuDock` directly. */\n@NgModule({\n imports: [WuDock, WuTemplate],\n exports: [WuDock, WuTemplate],\n})\nexport class WuDockModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["ɵassertSupportedAngular","ɵWU_SKIP_VERSION_CHECK","ɵfindTemplate"],"mappings":";;;;;;;AAkCA,MAAM,SAAS,GAAqB,CAAC,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC;AACtE,MAAM,SAAS,GAAG,IAAI;AAEtB;;;;;;;;AAQG;MAWU,MAAM,CAAA;;IAGjB,IAAa,QAAQ,CAAC,CAA6C,EAAA;AACjE,QAAA,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC,QAAQ,CAAC,CAAmB,CAAC,GAAI,CAAoB,GAAG,QAAQ;IAC7F;AACA,IAAA,IAAI,QAAQ,GAAA;QACV,OAAO,IAAI,CAAC,SAAS;IACvB;;IAEA,IAAa,IAAI,CAAC,CAAyC,EAAA;AACzD,QAAA,IAAI,CAAC,KAAK,GAAG,CAAC,KAAK,SAAS,GAAG,SAAS,GAAG,KAAK;IAClD;AACA,IAAA,IAAI,IAAI,GAAA;QACN,OAAO,IAAI,CAAC,KAAK;IACnB;AAqCA,IAAA,WAAA,GAAA;;QAnCS,IAA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EAAA,QAAA,EAAA,m6HAAA,EAAA,MAAA,EAAA,CAAA,s7PAAA,CAAA,EAAA;;sBAG9B;;sBAEA;;sBAOA;;sBAOA;;sBAEA;;sBAEA;;sBACA;;sBACA;;sBACA;;sBAEA;;sBAEA;;sBACA;;sBACA;;sBAEA,eAAe;uBAAC,UAAU;;sBAC1B,SAAS;uBAAC,MAAM;;;AErFnB;MAKa,YAAY,CAAA;+GAAZ,YAAY,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAZ,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,YAAY,YAHb,MAAM,EAAE,UAAU,CAAA,EAAA,OAAA,EAAA,CAClB,MAAM,EAAE,UAAU,CAAA,EAAA,CAAA,CAAA;gHAEjB,YAAY,EAAA,CAAA,CAAA;;4FAAZ,YAAY,EAAA,UAAA,EAAA,CAAA;kBAJxB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,MAAM,EAAE,UAAU,CAAC;AAC7B,oBAAA,OAAO,EAAE,CAAC,MAAM,EAAE,UAAU,CAAC;AAC9B,iBAAA;;;ACRD;;AAEG;;"}
@@ -69,10 +69,10 @@ class WuDraggable {
69
69
  this.disabled = v;
70
70
  this.el.draggable = !v;
71
71
  }
72
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: WuDraggable, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
73
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: WuDraggable, isStandalone: true, selector: "[wuDraggable], [pDraggable]", inputs: { wuDraggable: "wuDraggable", pDraggable: "pDraggable", dragEffect: "dragEffect", dragHandle: "dragHandle", wuDraggableDisabled: "wuDraggableDisabled", pDraggableDisabled: "pDraggableDisabled" }, outputs: { onDragStart: "onDragStart", onDragEnd: "onDragEnd", onDrag: "onDrag" }, host: { listeners: { "mousedown": "mousedown($event)", "dragstart": "dragstart($event)", "dragend": "dragend($event)" }, classAttribute: "wu-draggable p-draggable" }, ngImport: i0 }); }
72
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: WuDraggable, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
73
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.25", type: WuDraggable, isStandalone: true, selector: "[wuDraggable], [pDraggable]", inputs: { wuDraggable: "wuDraggable", pDraggable: "pDraggable", dragEffect: "dragEffect", dragHandle: "dragHandle", wuDraggableDisabled: "wuDraggableDisabled", pDraggableDisabled: "pDraggableDisabled" }, outputs: { onDragStart: "onDragStart", onDragEnd: "onDragEnd", onDrag: "onDrag" }, host: { listeners: { "mousedown": "mousedown($event)", "dragstart": "dragstart($event)", "dragend": "dragend($event)" }, classAttribute: "wu-draggable p-draggable" }, ngImport: i0 }); }
74
74
  }
75
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: WuDraggable, decorators: [{
75
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: WuDraggable, decorators: [{
76
76
  type: Directive,
77
77
  args: [{
78
78
  selector: '[wuDraggable], [pDraggable]',
@@ -167,10 +167,10 @@ class WuDroppable {
167
167
  const mine = scopes(this.scope);
168
168
  return mine.some((s) => carried.includes(s));
169
169
  }
170
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: WuDroppable, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
171
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: WuDroppable, isStandalone: true, selector: "[wuDroppable], [pDroppable]", inputs: { wuDroppable: "wuDroppable", pDroppable: "pDroppable", dropEffect: "dropEffect", wuDroppableDisabled: "wuDroppableDisabled", pDroppableDisabled: "pDroppableDisabled" }, outputs: { onDragEnter: "onDragEnter", onDragLeave: "onDragLeave", onDrop: "onDrop" }, host: { listeners: { "dragenter": "dragenter($event)", "dragover": "dragover($event)", "dragleave": "dragleave($event)", "drop": "drop($event)" }, classAttribute: "wu-droppable p-droppable" }, ngImport: i0 }); }
170
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: WuDroppable, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
171
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.25", type: WuDroppable, isStandalone: true, selector: "[wuDroppable], [pDroppable]", inputs: { wuDroppable: "wuDroppable", pDroppable: "pDroppable", dropEffect: "dropEffect", wuDroppableDisabled: "wuDroppableDisabled", pDroppableDisabled: "pDroppableDisabled" }, outputs: { onDragEnter: "onDragEnter", onDragLeave: "onDragLeave", onDrop: "onDrop" }, host: { listeners: { "dragenter": "dragenter($event)", "dragover": "dragover($event)", "dragleave": "dragleave($event)", "drop": "drop($event)" }, classAttribute: "wu-droppable p-droppable" }, ngImport: i0 }); }
172
172
  }
173
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: WuDroppable, decorators: [{
173
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: WuDroppable, decorators: [{
174
174
  type: Directive,
175
175
  args: [{
176
176
  selector: '[wuDroppable], [pDroppable]',
@@ -209,11 +209,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
209
209
 
210
210
  /** For NgModule apps. Standalone apps can import `WuDraggable` and `WuDroppable` directly. */
211
211
  class WuDragDropModule {
212
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: WuDragDropModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
213
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: WuDragDropModule, imports: [WuDraggable, WuDroppable], exports: [WuDraggable, WuDroppable] }); }
214
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: WuDragDropModule }); }
212
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: WuDragDropModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
213
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.25", ngImport: i0, type: WuDragDropModule, imports: [WuDraggable, WuDroppable], exports: [WuDraggable, WuDroppable] }); }
214
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: WuDragDropModule }); }
215
215
  }
216
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: WuDragDropModule, decorators: [{
216
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: WuDragDropModule, decorators: [{
217
217
  type: NgModule,
218
218
  args: [{
219
219
  imports: [WuDraggable, WuDroppable],
@@ -1 +1 @@
1
- {"version":3,"file":"wirabyte-ui-dragdrop.mjs","sources":["../../lib/dragdrop/dragdrop.styles.ts","../../lib/dragdrop/dragdrop.directive.ts","../../lib/dragdrop/dragdrop.module.ts","../../lib/dragdrop/wirabyte-ui-dragdrop.ts"],"sourcesContent":["/** Generated by tools/sync-sources.mjs from packages/styles/dragdrop.css. */\nexport const WU_DRAGDROP_CSS = \"/* wuDraggable / wuDroppable. Shared by wiraui v1, v2 and v3. The dragged element fades; a drop zone with something\\n over it gets a dashed outline and a tint. */\\n@layer wiraui.components {\\n .wu-draggable[draggable='true'] {\\n cursor: grab;\\n }\\n .wu-draggable-dragging {\\n opacity: 0.5;\\n }\\n .wu-droppable-over {\\n outline: 2px dashed var(--wu-primary-color);\\n outline-offset: -2px;\\n background-color: color-mix(in srgb, var(--wu-primary-color) 8%, transparent);\\n }\\n}\\n\";\n","import { Directive, ElementRef, EventEmitter, HostListener, inject, Input, NgZone, OnDestroy, OnInit, Output } from '@angular/core';\nimport { ɵtoBool, ɵWuStyleLoader } from '@wirabyte/ui/config';\nimport { WU_DRAGDROP_CSS } from './dragdrop.styles';\n\ntype Scope = string | string[] | null | undefined;\nconst MIME = 'text';\n\n/** The scope a drag carries, as the drop side reads it. */\nfunction scopes(s: Scope): string[] {\n return Array.isArray(s) ? s.map(String) : [s ? String(s) : ''];\n}\n\n/**\n * Lets an element be dragged with the browser's drag and drop: `<div wuDraggable=\"students\" (onDragStart)=\"dragged = s\">`\n * (`pDraggable` works too). The scope pairs it with the drop zones that accept it. `dragHandle` limits where the drag\n * may start (a CSS selector inside the element).\n */\n@Directive({\n selector: '[wuDraggable], [pDraggable]',\n standalone: true,\n host: { class: 'wu-draggable p-draggable' },\n})\nexport class WuDraggable implements OnInit, OnDestroy {\n @Input() set wuDraggable(v: Scope) { this.scope = v; }\n @Input() set pDraggable(v: Scope) { this.scope = v; }\n /** `'copy'`, `'move'`, `'link'`, `'copyMove'`, … what the drag allows. */\n @Input() dragEffect?: DataTransfer['effectAllowed'];\n /** A selector inside the element: the drag starts only from there. */\n @Input() dragHandle?: string;\n @Input() set wuDraggableDisabled(v: unknown) { this.setDisabled(ɵtoBool(v)); }\n @Input() set pDraggableDisabled(v: unknown) { this.setDisabled(ɵtoBool(v)); }\n\n @Output() readonly onDragStart = new EventEmitter<DragEvent>();\n @Output() readonly onDragEnd = new EventEmitter<DragEvent>();\n @Output() readonly onDrag = new EventEmitter<DragEvent>();\n\n scope: Scope = '';\n private disabled = false;\n private fromHandle = true;\n private stopDrag: (() => void) | null = null;\n private readonly el: HTMLElement = inject(ElementRef).nativeElement;\n private readonly zone = inject(NgZone);\n\n constructor() {\n inject(ɵWuStyleLoader).load('dragdrop', WU_DRAGDROP_CSS);\n }\n\n ngOnInit(): void {\n this.el.draggable = !this.disabled;\n // `drag` fires many times a second: listened to outside Angular, and only when someone listens.\n if (this.onDrag.observed) {\n const drag = (e: DragEvent) => this.zone.run(() => this.onDrag.emit(e));\n this.zone.runOutsideAngular(() => this.el.addEventListener('drag', drag));\n this.stopDrag = () => this.el.removeEventListener('drag', drag);\n }\n }\n\n ngOnDestroy(): void {\n this.stopDrag?.();\n }\n\n @HostListener('mousedown', ['$event'])\n mousedown(event: MouseEvent): void {\n this.fromHandle = !this.dragHandle || !!(event.target as HTMLElement).closest?.(this.dragHandle);\n }\n\n @HostListener('dragstart', ['$event'])\n dragstart(event: DragEvent): void {\n if (this.disabled || !this.fromHandle) {\n event.preventDefault();\n return;\n }\n if (event.dataTransfer) {\n if (this.dragEffect) event.dataTransfer.effectAllowed = this.dragEffect;\n event.dataTransfer.setData(MIME, scopes(this.scope).join('|'));\n }\n this.el.classList.add('wu-draggable-dragging');\n this.onDragStart.emit(event);\n }\n\n @HostListener('dragend', ['$event'])\n dragend(event: DragEvent): void {\n this.el.classList.remove('wu-draggable-dragging');\n this.fromHandle = !this.dragHandle;\n this.onDragEnd.emit(event);\n }\n\n private setDisabled(v: boolean): void {\n this.disabled = v;\n this.el.draggable = !v;\n }\n}\n\n/**\n * A drop zone for wuDraggable elements of the same scope: `<td wuDroppable=\"students\" (onDrop)=\"place(cell)\">`\n * (`pDroppable` works too). While something hovers over it, it has the class `wu-droppable-over`.\n */\n@Directive({\n selector: '[wuDroppable], [pDroppable]',\n standalone: true,\n host: { class: 'wu-droppable p-droppable' },\n})\nexport class WuDroppable {\n @Input() set wuDroppable(v: Scope) { this.scope = v; }\n @Input() set pDroppable(v: Scope) { this.scope = v; }\n /** `'copy'`, `'move'`, `'link'` or `'none'`: the pointer the browser shows over it. */\n @Input() dropEffect?: DataTransfer['dropEffect'];\n @Input() set wuDroppableDisabled(v: unknown) { this.disabled = ɵtoBool(v); }\n @Input() set pDroppableDisabled(v: unknown) { this.disabled = ɵtoBool(v); }\n\n @Output() readonly onDragEnter = new EventEmitter<DragEvent>();\n @Output() readonly onDragLeave = new EventEmitter<DragEvent>();\n @Output() readonly onDrop = new EventEmitter<DragEvent>();\n\n scope: Scope = '';\n private disabled = false;\n /** Enter/leave also fire for children; counted so the class stays while over any of them. */\n private depth = 0;\n private readonly el: HTMLElement = inject(ElementRef).nativeElement;\n\n constructor() {\n inject(ɵWuStyleLoader).load('dragdrop', WU_DRAGDROP_CSS);\n }\n\n @HostListener('dragenter', ['$event'])\n dragenter(event: DragEvent): void {\n if (this.disabled) return;\n event.preventDefault();\n if (this.dropEffect && event.dataTransfer) event.dataTransfer.dropEffect = this.dropEffect;\n if (this.depth++ === 0) {\n this.el.classList.add('wu-droppable-over', 'p-draggable-enter');\n this.onDragEnter.emit(event);\n }\n }\n\n @HostListener('dragover', ['$event'])\n dragover(event: DragEvent): void {\n if (this.disabled) return;\n event.preventDefault();\n if (this.dropEffect && event.dataTransfer) event.dataTransfer.dropEffect = this.dropEffect;\n }\n\n @HostListener('dragleave', ['$event'])\n dragleave(event: DragEvent): void {\n if (this.disabled) return;\n if (--this.depth > 0) return;\n this.depth = 0;\n this.el.classList.remove('wu-droppable-over', 'p-draggable-enter');\n this.onDragLeave.emit(event);\n }\n\n @HostListener('drop', ['$event'])\n drop(event: DragEvent): void {\n this.depth = 0;\n this.el.classList.remove('wu-droppable-over', 'p-draggable-enter');\n if (this.disabled || !this.accepts(event)) return;\n event.preventDefault();\n this.onDrop.emit(event);\n }\n\n private accepts(event: DragEvent): boolean {\n const carried = (event.dataTransfer?.getData(MIME) ?? '').split('|');\n const mine = scopes(this.scope);\n return mine.some((s) => carried.includes(s));\n }\n}\n","import { NgModule } from '@angular/core';\nimport { WuDraggable, WuDroppable } from './dragdrop.directive';\n\n/** For NgModule apps. Standalone apps can import `WuDraggable` and `WuDroppable` directly. */\n@NgModule({\n imports: [WuDraggable, WuDroppable],\n exports: [WuDraggable, WuDroppable],\n})\nexport class WuDragDropModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["ɵtoBool","ɵWuStyleLoader"],"mappings":";;;;AAAA;AACO,MAAM,eAAe,GAAG,sfAAsf;;ACIrhB,MAAM,IAAI,GAAG,MAAM;AAEnB;AACA,SAAS,MAAM,CAAC,CAAQ,EAAA;AACtB,IAAA,OAAO,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,GAAG,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC;AAChE;AAEA;;;;AAIG;MAMU,WAAW,CAAA;IACtB,IAAa,WAAW,CAAC,CAAQ,EAAA,EAAI,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC;IACrD,IAAa,UAAU,CAAC,CAAQ,EAAA,EAAI,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC;AAKpD,IAAA,IAAa,mBAAmB,CAAC,CAAU,EAAA,EAAI,IAAI,CAAC,WAAW,CAACA,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAC7E,IAAA,IAAa,kBAAkB,CAAC,CAAU,EAAA,EAAI,IAAI,CAAC,WAAW,CAACA,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAa5E,IAAA,WAAA,GAAA;AAXmB,QAAA,IAAA,CAAA,WAAW,GAAG,IAAI,YAAY,EAAa;AAC3C,QAAA,IAAA,CAAA,SAAS,GAAG,IAAI,YAAY,EAAa;AACzC,QAAA,IAAA,CAAA,MAAM,GAAG,IAAI,YAAY,EAAa;QAEzD,IAAA,CAAA,KAAK,GAAU,EA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C,QAAQ,CAAC;;;ACpJlC;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,WAAW,EAAE,WAAW,CAAA,EAAA,OAAA,EAAA,CACxB,WAAW,EAAE,WAAW,CAAA,EAAA,CAAA,CAAA;gHAEvB,gBAAgB,EAAA,CAAA,CAAA;;4FAAhB,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAJ5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,WAAW,EAAE,WAAW,CAAC;AACnC,oBAAA,OAAO,EAAE,CAAC,WAAW,EAAE,WAAW,CAAC;AACpC,iBAAA;;;ACPD;;AAEG;;"}
1
+ {"version":3,"file":"wirabyte-ui-dragdrop.mjs","sources":["../../lib/dragdrop/dragdrop.styles.ts","../../lib/dragdrop/dragdrop.directive.ts","../../lib/dragdrop/dragdrop.module.ts","../../lib/dragdrop/wirabyte-ui-dragdrop.ts"],"sourcesContent":["/** Generated by tools/sync-sources.mjs from packages/styles/dragdrop.css. */\nexport const WU_DRAGDROP_CSS = \"/* wuDraggable / wuDroppable. Shared by wiraui v1, v2 and v3. The dragged element fades; a drop zone with something\\n over it gets a dashed outline and a tint. */\\n@layer wiraui.components {\\n .wu-draggable[draggable='true'] {\\n cursor: grab;\\n }\\n .wu-draggable-dragging {\\n opacity: 0.5;\\n }\\n .wu-droppable-over {\\n outline: 2px dashed var(--wu-primary-color);\\n outline-offset: -2px;\\n background-color: color-mix(in srgb, var(--wu-primary-color) 8%, transparent);\\n }\\n}\\n\";\n","import { Directive, ElementRef, EventEmitter, HostListener, inject, Input, NgZone, OnDestroy, OnInit, Output } from '@angular/core';\nimport { ɵtoBool, ɵWuStyleLoader } from '@wirabyte/ui/config';\nimport { WU_DRAGDROP_CSS } from './dragdrop.styles';\n\ntype Scope = string | string[] | null | undefined;\nconst MIME = 'text';\n\n/** The scope a drag carries, as the drop side reads it. */\nfunction scopes(s: Scope): string[] {\n return Array.isArray(s) ? s.map(String) : [s ? String(s) : ''];\n}\n\n/**\n * Lets an element be dragged with the browser's drag and drop: `<div wuDraggable=\"students\" (onDragStart)=\"dragged = s\">`\n * (`pDraggable` works too). The scope pairs it with the drop zones that accept it. `dragHandle` limits where the drag\n * may start (a CSS selector inside the element).\n */\n@Directive({\n selector: '[wuDraggable], [pDraggable]',\n standalone: true,\n host: { class: 'wu-draggable p-draggable' },\n})\nexport class WuDraggable implements OnInit, OnDestroy {\n @Input() set wuDraggable(v: Scope) { this.scope = v; }\n @Input() set pDraggable(v: Scope) { this.scope = v; }\n /** `'copy'`, `'move'`, `'link'`, `'copyMove'`, … what the drag allows. */\n @Input() dragEffect?: DataTransfer['effectAllowed'];\n /** A selector inside the element: the drag starts only from there. */\n @Input() dragHandle?: string;\n @Input() set wuDraggableDisabled(v: unknown) { this.setDisabled(ɵtoBool(v)); }\n @Input() set pDraggableDisabled(v: unknown) { this.setDisabled(ɵtoBool(v)); }\n\n @Output() readonly onDragStart = new EventEmitter<DragEvent>();\n @Output() readonly onDragEnd = new EventEmitter<DragEvent>();\n @Output() readonly onDrag = new EventEmitter<DragEvent>();\n\n scope: Scope = '';\n private disabled = false;\n private fromHandle = true;\n private stopDrag: (() => void) | null = null;\n private readonly el: HTMLElement = inject(ElementRef).nativeElement;\n private readonly zone = inject(NgZone);\n\n constructor() {\n inject(ɵWuStyleLoader).load('dragdrop', WU_DRAGDROP_CSS);\n }\n\n ngOnInit(): void {\n this.el.draggable = !this.disabled;\n // `drag` fires many times a second: listened to outside Angular, and only when someone listens.\n if (this.onDrag.observed) {\n const drag = (e: DragEvent) => this.zone.run(() => this.onDrag.emit(e));\n this.zone.runOutsideAngular(() => this.el.addEventListener('drag', drag));\n this.stopDrag = () => this.el.removeEventListener('drag', drag);\n }\n }\n\n ngOnDestroy(): void {\n this.stopDrag?.();\n }\n\n @HostListener('mousedown', ['$event'])\n mousedown(event: MouseEvent): void {\n this.fromHandle = !this.dragHandle || !!(event.target as HTMLElement).closest?.(this.dragHandle);\n }\n\n @HostListener('dragstart', ['$event'])\n dragstart(event: DragEvent): void {\n if (this.disabled || !this.fromHandle) {\n event.preventDefault();\n return;\n }\n if (event.dataTransfer) {\n if (this.dragEffect) event.dataTransfer.effectAllowed = this.dragEffect;\n event.dataTransfer.setData(MIME, scopes(this.scope).join('|'));\n }\n this.el.classList.add('wu-draggable-dragging');\n this.onDragStart.emit(event);\n }\n\n @HostListener('dragend', ['$event'])\n dragend(event: DragEvent): void {\n this.el.classList.remove('wu-draggable-dragging');\n this.fromHandle = !this.dragHandle;\n this.onDragEnd.emit(event);\n }\n\n private setDisabled(v: boolean): void {\n this.disabled = v;\n this.el.draggable = !v;\n }\n}\n\n/**\n * A drop zone for wuDraggable elements of the same scope: `<td wuDroppable=\"students\" (onDrop)=\"place(cell)\">`\n * (`pDroppable` works too). While something hovers over it, it has the class `wu-droppable-over`.\n */\n@Directive({\n selector: '[wuDroppable], [pDroppable]',\n standalone: true,\n host: { class: 'wu-droppable p-droppable' },\n})\nexport class WuDroppable {\n @Input() set wuDroppable(v: Scope) { this.scope = v; }\n @Input() set pDroppable(v: Scope) { this.scope = v; }\n /** `'copy'`, `'move'`, `'link'` or `'none'`: the pointer the browser shows over it. */\n @Input() dropEffect?: DataTransfer['dropEffect'];\n @Input() set wuDroppableDisabled(v: unknown) { this.disabled = ɵtoBool(v); }\n @Input() set pDroppableDisabled(v: unknown) { this.disabled = ɵtoBool(v); }\n\n @Output() readonly onDragEnter = new EventEmitter<DragEvent>();\n @Output() readonly onDragLeave = new EventEmitter<DragEvent>();\n @Output() readonly onDrop = new EventEmitter<DragEvent>();\n\n scope: Scope = '';\n private disabled = false;\n /** Enter/leave also fire for children; counted so the class stays while over any of them. */\n private depth = 0;\n private readonly el: HTMLElement = inject(ElementRef).nativeElement;\n\n constructor() {\n inject(ɵWuStyleLoader).load('dragdrop', WU_DRAGDROP_CSS);\n }\n\n @HostListener('dragenter', ['$event'])\n dragenter(event: DragEvent): void {\n if (this.disabled) return;\n event.preventDefault();\n if (this.dropEffect && event.dataTransfer) event.dataTransfer.dropEffect = this.dropEffect;\n if (this.depth++ === 0) {\n this.el.classList.add('wu-droppable-over', 'p-draggable-enter');\n this.onDragEnter.emit(event);\n }\n }\n\n @HostListener('dragover', ['$event'])\n dragover(event: DragEvent): void {\n if (this.disabled) return;\n event.preventDefault();\n if (this.dropEffect && event.dataTransfer) event.dataTransfer.dropEffect = this.dropEffect;\n }\n\n @HostListener('dragleave', ['$event'])\n dragleave(event: DragEvent): void {\n if (this.disabled) return;\n if (--this.depth > 0) return;\n this.depth = 0;\n this.el.classList.remove('wu-droppable-over', 'p-draggable-enter');\n this.onDragLeave.emit(event);\n }\n\n @HostListener('drop', ['$event'])\n drop(event: DragEvent): void {\n this.depth = 0;\n this.el.classList.remove('wu-droppable-over', 'p-draggable-enter');\n if (this.disabled || !this.accepts(event)) return;\n event.preventDefault();\n this.onDrop.emit(event);\n }\n\n private accepts(event: DragEvent): boolean {\n const carried = (event.dataTransfer?.getData(MIME) ?? '').split('|');\n const mine = scopes(this.scope);\n return mine.some((s) => carried.includes(s));\n }\n}\n","import { NgModule } from '@angular/core';\nimport { WuDraggable, WuDroppable } from './dragdrop.directive';\n\n/** For NgModule apps. Standalone apps can import `WuDraggable` and `WuDroppable` directly. */\n@NgModule({\n imports: [WuDraggable, WuDroppable],\n exports: [WuDraggable, WuDroppable],\n})\nexport class WuDragDropModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["ɵtoBool","ɵWuStyleLoader"],"mappings":";;;;AAAA;AAC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,oBAAA,IAAI,EAAE,EAAE,KAAK,EAAE,0BAA0B,EAAE;AAC5C,iBAAA;;sBAEE;;sBACA;;sBAEA;;sBACA;;sBACA;;sBAEA;;sBACA;;sBACA;;sBAYA,YAAY;uBAAC,WAAW,EAAE,CAAC,QAAQ,CAAC;;sBAWpC,YAAY;uBAAC,UAAU,EAAE,CAAC,QAAQ,CAAC;;sBAOnC,YAAY;uBAAC,WAAW,EAAE,CAAC,QAAQ,CAAC;;sBASpC,YAAY;uBAAC,MAAM,EAAE,CAAC,QAAQ,CAAC;;;ACpJlC;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,WAAW,EAAE,WAAW,CAAA,EAAA,OAAA,EAAA,CACxB,WAAW,EAAE,WAAW,CAAA,EAAA,CAAA,CAAA;gHAEvB,gBAAgB,EAAA,CAAA,CAAA;;4FAAhB,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAJ5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,WAAW,EAAE,WAAW,CAAC;AACnC,oBAAA,OAAO,EAAE,CAAC,WAAW,EAAE,WAAW,CAAC;AACpC,iBAAA;;;ACPD;;AAEG;;"}
@@ -224,12 +224,12 @@ class WuDrawer {
224
224
  this.cdr.markForCheck();
225
225
  this.onHide.emit();
226
226
  }
227
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: WuDrawer, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
228
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: WuDrawer, isStandalone: true, selector: "wu-drawer, wu-sidebar", inputs: { visible: "visible", position: "position", fullScreen: "fullScreen", header: "header", modal: "modal", dismissible: "dismissible", blockScroll: "blockScroll", showCloseIcon: "showCloseIcon", closable: "closable", closeOnEscape: "closeOnEscape", closeIcon: "closeIcon", ariaCloseLabel: "ariaCloseLabel", ariaLabel: "ariaLabel", styleClass: "styleClass", style: "style", maskStyleClass: "maskStyleClass", appendTo: "appendTo", autoZIndex: "autoZIndex", baseZIndex: "baseZIndex", transitionOptions: "transitionOptions" }, outputs: { visibleChange: "visibleChange", onShow: "onShow", onHide: "onHide" }, queries: [{ propertyName: "headerRef", first: true, predicate: ["header"] }, { propertyName: "footerRef", first: true, predicate: ["footer"] }, { propertyName: "contentRef", first: true, predicate: ["content"] }, { propertyName: "headlessRef", first: true, predicate: ["headless"] }, { propertyName: "closeIconRef", first: true, predicate: ["closeicon"] }, { propertyName: "templates", predicate: WuTemplate }], viewQueries: [{ propertyName: "maskRef", first: true, predicate: ["mask"], descendants: true }], ngImport: i0, template: "<dialog\n *ngIf=\"rendered\"\n #mask\n class=\"wu-drawer-mask p-drawer-mask p-sidebar-mask p-overlay-mask\"\n [ngClass]=\"(maskStyleClass || '') + ' wu-drawer-mask-' + side\"\n [class.wu-drawer-modal]=\"modal\"\n [class.wu-drawer-leaving]=\"leaving\"\n [attr.aria-labelledby]=\"labelledBy\"\n [attr.aria-label]=\"ariaLabel || null\"\n (keydown)=\"keydown($event)\"\n (cancel)=\"cancel($event)\"\n (close)=\"nativeClose()\"\n (pointerdown)=\"maskPointerdown($event)\"\n (click)=\"maskClick($event)\"\n>\n <div class=\"wu-drawer p-drawer p-sidebar p-component\" tabindex=\"-1\" [ngClass]=\"panelClass\" [ngStyle]=\"style || null\">\n <ng-container *ngIf=\"headlessTemplate; else regular\">\n <ng-container *ngTemplateOutlet=\"headlessTemplate\"></ng-container>\n </ng-container>\n <ng-template #regular>\n <div class=\"wu-drawer-header p-drawer-header p-sidebar-header\">\n <div class=\"wu-drawer-title p-drawer-title\" [id]=\"titleId\">\n <ng-container *ngIf=\"headerTemplate; else headerText\">\n <ng-container *ngTemplateOutlet=\"headerTemplate\"></ng-container>\n </ng-container>\n <ng-template #headerText>{{ header }}</ng-template>\n </div>\n <button *ngIf=\"closable\" type=\"button\" [class]=\"closeClass\" [attr.aria-label]=\"ariaCloseLabel || t.close\" (click)=\"close($event)\">\n <ng-container *ngIf=\"closeIconTemplate; else defaultIcon\">\n <ng-container *ngTemplateOutlet=\"closeIconTemplate\"></ng-container>\n </ng-container>\n <ng-template #defaultIcon>\n <span *ngIf=\"closeIcon; else cross\" [class]=\"'wu-btn-icon ' + closeIcon\" aria-hidden=\"true\"></span>\n <ng-template #cross>\n <svg class=\"wu-btn-icon\" viewBox=\"0 0 16 16\" width=\"16\" height=\"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 </ng-template>\n </ng-template>\n </button>\n </div>\n <div class=\"wu-drawer-content p-drawer-content p-sidebar-content\">\n <ng-content></ng-content>\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\n </div>\n <div *ngIf=\"footerTemplate\" class=\"wu-drawer-footer p-drawer-footer p-sidebar-footer\">\n <ng-container *ngTemplateOutlet=\"footerTemplate\"></ng-container>\n </div>\n </ng-template>\n </div>\n</dialog>\n", styles: ["@layer wiraui.components{:is(wu-drawer,wu-sidebar){display:contents}.wu-drawer-mask:where([open]){position:fixed;inset:0;box-sizing:border-box;display:flex;width:100%;max-width:none;height:100%;max-height:none;margin:0;padding:0;overflow:hidden;border:0;background:transparent;color:var(--wu-text)}.wu-drawer-mask::backdrop{background:var(--wu-mask);animation:wu-drawer-fade .2s ease}.wu-drawer-mask.wu-drawer-leaving::backdrop{opacity:0;transition:opacity .2s ease}.wu-drawer-mask[open]:not(.wu-drawer-modal){z-index:1100;pointer-events:none}.wu-drawer-mask:not(.wu-drawer-modal) .wu-drawer{pointer-events:auto}.wu-drawer-mask-left{justify-content:flex-start}.wu-drawer-mask-right{justify-content:flex-end}.wu-drawer-mask-top{align-items:flex-start}.wu-drawer-mask-bottom{align-items:flex-end}.wu-drawer{box-sizing:border-box;display:flex;flex-direction:column;max-width:100%;max-height:100%;border:0 solid var(--wu-border);background:var(--wu-drawer-bg);color:var(--wu-text);box-shadow:var(--wu-drawer-shadow);outline:none}.wu-drawer-left,.wu-drawer-right{width:var(--wu-drawer-size);height:100%}.wu-drawer-left{border-right-width:var(--wu-drawer-border-width);animation:wu-drawer-from-left .2s ease}.wu-drawer-right{border-left-width:var(--wu-drawer-border-width);animation:wu-drawer-from-right .2s ease}.wu-drawer-top,.wu-drawer-bottom{width:100%;min-height:10rem}.wu-drawer-top{border-bottom-width:var(--wu-drawer-border-width);animation:wu-drawer-from-top .2s ease}.wu-drawer-bottom{border-top-width:var(--wu-drawer-border-width);animation:wu-drawer-from-bottom .2s ease}.wu-drawer-full{width:100%;height:100%;animation:wu-drawer-fade .2s ease}.wu-drawer-leaving .wu-drawer{animation-duration:.2s;animation-timing-function:ease;animation-fill-mode:forwards}.wu-drawer-leaving .wu-drawer-left{animation-name:wu-drawer-to-left}.wu-drawer-leaving .wu-drawer-right{animation-name:wu-drawer-to-right}.wu-drawer-leaving .wu-drawer-top{animation-name:wu-drawer-to-top}.wu-drawer-leaving .wu-drawer-bottom{animation-name:wu-drawer-to-bottom}.wu-drawer-leaving .wu-drawer-full{animation-name:wu-drawer-fade-out}.wu-drawer-header{display:flex;flex:none;align-items:center;justify-content:space-between;gap:.5rem;padding:var(--wu-drawer-header-padding)}.wu-drawer-title{min-width:0;font-size:var(--wu-drawer-title-size);font-weight:var(--wu-drawer-title-weight)}.wu-drawer-close{flex:none;margin-left:auto}.wu-drawer-content{flex:1 1 auto;min-height:0;padding:var(--wu-drawer-content-padding);overflow-y:auto;overscroll-behavior:contain}.wu-drawer-footer{flex:none;padding:var(--wu-drawer-content-padding)}@keyframes wu-drawer-from-left{0%{translate:-100% 0}}@keyframes wu-drawer-from-right{0%{translate:100% 0}}@keyframes wu-drawer-from-top{0%{translate:0 -100%}}@keyframes wu-drawer-from-bottom{0%{translate:0 100%}}@keyframes wu-drawer-fade{0%{opacity:0}}@keyframes wu-drawer-to-left{to{translate:-100% 0}}@keyframes wu-drawer-to-right{to{translate:100% 0}}@keyframes wu-drawer-to-top{to{translate:0 -100%}}@keyframes wu-drawer-to-bottom{to{translate:0 100%}}@keyframes wu-drawer-fade-out{to{opacity:0}}@media (prefers-reduced-motion: reduce){.wu-drawer,.wu-drawer-mask::backdrop{animation:none!important}}}\n"], dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { 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 }); }
227
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: WuDrawer, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
228
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.25", type: WuDrawer, isStandalone: true, selector: "wu-drawer, wu-sidebar", inputs: { visible: "visible", position: "position", fullScreen: "fullScreen", header: "header", modal: "modal", dismissible: "dismissible", blockScroll: "blockScroll", showCloseIcon: "showCloseIcon", closable: "closable", closeOnEscape: "closeOnEscape", closeIcon: "closeIcon", ariaCloseLabel: "ariaCloseLabel", ariaLabel: "ariaLabel", styleClass: "styleClass", style: "style", maskStyleClass: "maskStyleClass", appendTo: "appendTo", autoZIndex: "autoZIndex", baseZIndex: "baseZIndex", transitionOptions: "transitionOptions" }, outputs: { visibleChange: "visibleChange", onShow: "onShow", onHide: "onHide" }, queries: [{ propertyName: "headerRef", first: true, predicate: ["header"] }, { propertyName: "footerRef", first: true, predicate: ["footer"] }, { propertyName: "contentRef", first: true, predicate: ["content"] }, { propertyName: "headlessRef", first: true, predicate: ["headless"] }, { propertyName: "closeIconRef", first: true, predicate: ["closeicon"] }, { propertyName: "templates", predicate: WuTemplate }], viewQueries: [{ propertyName: "maskRef", first: true, predicate: ["mask"], descendants: true }], ngImport: i0, template: "<dialog\n *ngIf=\"rendered\"\n #mask\n class=\"wu-drawer-mask p-drawer-mask p-sidebar-mask p-overlay-mask\"\n [ngClass]=\"(maskStyleClass || '') + ' wu-drawer-mask-' + side\"\n [class.wu-drawer-modal]=\"modal\"\n [class.wu-drawer-leaving]=\"leaving\"\n [attr.aria-labelledby]=\"labelledBy\"\n [attr.aria-label]=\"ariaLabel || null\"\n (keydown)=\"keydown($event)\"\n (cancel)=\"cancel($event)\"\n (close)=\"nativeClose()\"\n (pointerdown)=\"maskPointerdown($event)\"\n (click)=\"maskClick($event)\"\n>\n <div class=\"wu-drawer p-drawer p-sidebar p-component\" tabindex=\"-1\" [ngClass]=\"panelClass\" [ngStyle]=\"style || null\">\n <ng-container *ngIf=\"headlessTemplate; else regular\">\n <ng-container *ngTemplateOutlet=\"headlessTemplate\"></ng-container>\n </ng-container>\n <ng-template #regular>\n <div class=\"wu-drawer-header p-drawer-header p-sidebar-header\">\n <div class=\"wu-drawer-title p-drawer-title\" [id]=\"titleId\">\n <ng-container *ngIf=\"headerTemplate; else headerText\">\n <ng-container *ngTemplateOutlet=\"headerTemplate\"></ng-container>\n </ng-container>\n <ng-template #headerText>{{ header }}</ng-template>\n </div>\n <button *ngIf=\"closable\" type=\"button\" [class]=\"closeClass\" [attr.aria-label]=\"ariaCloseLabel || t.close\" (click)=\"close($event)\">\n <ng-container *ngIf=\"closeIconTemplate; else defaultIcon\">\n <ng-container *ngTemplateOutlet=\"closeIconTemplate\"></ng-container>\n </ng-container>\n <ng-template #defaultIcon>\n <span *ngIf=\"closeIcon; else cross\" [class]=\"'wu-btn-icon ' + closeIcon\" aria-hidden=\"true\"></span>\n <ng-template #cross>\n <svg class=\"wu-btn-icon\" viewBox=\"0 0 16 16\" width=\"16\" height=\"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 </ng-template>\n </ng-template>\n </button>\n </div>\n <div class=\"wu-drawer-content p-drawer-content p-sidebar-content\">\n <ng-content></ng-content>\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\n </div>\n <div *ngIf=\"footerTemplate\" class=\"wu-drawer-footer p-drawer-footer p-sidebar-footer\">\n <ng-container *ngTemplateOutlet=\"footerTemplate\"></ng-container>\n </div>\n </ng-template>\n </div>\n</dialog>\n", styles: ["@layer wiraui.components{:is(wu-drawer,wu-sidebar){display:contents}.wu-drawer-mask:where([open]){position:fixed;inset:0;box-sizing:border-box;display:flex;width:100%;max-width:none;height:100%;max-height:none;margin:0;padding:0;overflow:hidden;border:0;background:transparent;color:var(--wu-text)}.wu-drawer-mask::backdrop{background:var(--wu-mask);animation:wu-drawer-fade .2s ease}.wu-drawer-mask.wu-drawer-leaving::backdrop{opacity:0;transition:opacity .2s ease}.wu-drawer-mask[open]:not(.wu-drawer-modal){z-index:1100;pointer-events:none}.wu-drawer-mask:not(.wu-drawer-modal) .wu-drawer{pointer-events:auto}.wu-drawer-mask-left{justify-content:flex-start}.wu-drawer-mask-right{justify-content:flex-end}.wu-drawer-mask-top{align-items:flex-start}.wu-drawer-mask-bottom{align-items:flex-end}.wu-drawer{box-sizing:border-box;display:flex;flex-direction:column;max-width:100%;max-height:100%;border:0 solid var(--wu-border);background:var(--wu-drawer-bg);color:var(--wu-text);box-shadow:var(--wu-drawer-shadow);outline:none}.wu-drawer-left,.wu-drawer-right{width:var(--wu-drawer-size);height:100%}.wu-drawer-left{border-right-width:var(--wu-drawer-border-width);animation:wu-drawer-from-left .2s ease}.wu-drawer-right{border-left-width:var(--wu-drawer-border-width);animation:wu-drawer-from-right .2s ease}.wu-drawer-top,.wu-drawer-bottom{width:100%;min-height:10rem}.wu-drawer-top{border-bottom-width:var(--wu-drawer-border-width);animation:wu-drawer-from-top .2s ease}.wu-drawer-bottom{border-top-width:var(--wu-drawer-border-width);animation:wu-drawer-from-bottom .2s ease}.wu-drawer-full{width:100%;height:100%;animation:wu-drawer-fade .2s ease}.wu-drawer-leaving .wu-drawer{animation-duration:.2s;animation-timing-function:ease;animation-fill-mode:forwards}.wu-drawer-leaving .wu-drawer-left{animation-name:wu-drawer-to-left}.wu-drawer-leaving .wu-drawer-right{animation-name:wu-drawer-to-right}.wu-drawer-leaving .wu-drawer-top{animation-name:wu-drawer-to-top}.wu-drawer-leaving .wu-drawer-bottom{animation-name:wu-drawer-to-bottom}.wu-drawer-leaving .wu-drawer-full{animation-name:wu-drawer-fade-out}.wu-drawer-header{display:flex;flex:none;align-items:center;justify-content:space-between;gap:.5rem;padding:var(--wu-drawer-header-padding)}.wu-drawer-title{min-width:0;font-size:var(--wu-drawer-title-size);font-weight:var(--wu-drawer-title-weight)}.wu-drawer-close{flex:none;margin-left:auto}.wu-drawer-content{flex:1 1 auto;min-height:0;padding:var(--wu-drawer-content-padding);overflow-y:auto;overscroll-behavior:contain}.wu-drawer-footer{flex:none;padding:var(--wu-drawer-content-padding)}@keyframes wu-drawer-from-left{0%{translate:-100% 0}}@keyframes wu-drawer-from-right{0%{translate:100% 0}}@keyframes wu-drawer-from-top{0%{translate:0 -100%}}@keyframes wu-drawer-from-bottom{0%{translate:0 100%}}@keyframes wu-drawer-fade{0%{opacity:0}}@keyframes wu-drawer-to-left{to{translate:-100% 0}}@keyframes wu-drawer-to-right{to{translate:100% 0}}@keyframes wu-drawer-to-top{to{translate:0 -100%}}@keyframes wu-drawer-to-bottom{to{translate:0 100%}}@keyframes wu-drawer-fade-out{to{opacity:0}}@media(prefers-reduced-motion:reduce){.wu-drawer,.wu-drawer-mask::backdrop{animation:none!important}}}\n"], dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { 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 }); }
229
229
  }
230
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: WuDrawer, decorators: [{
230
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: WuDrawer, decorators: [{
231
231
  type: Component,
232
- args: [{ selector: 'wu-drawer, wu-sidebar', standalone: true, imports: [NgClass, NgIf, NgStyle, NgTemplateOutlet], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<dialog\n *ngIf=\"rendered\"\n #mask\n class=\"wu-drawer-mask p-drawer-mask p-sidebar-mask p-overlay-mask\"\n [ngClass]=\"(maskStyleClass || '') + ' wu-drawer-mask-' + side\"\n [class.wu-drawer-modal]=\"modal\"\n [class.wu-drawer-leaving]=\"leaving\"\n [attr.aria-labelledby]=\"labelledBy\"\n [attr.aria-label]=\"ariaLabel || null\"\n (keydown)=\"keydown($event)\"\n (cancel)=\"cancel($event)\"\n (close)=\"nativeClose()\"\n (pointerdown)=\"maskPointerdown($event)\"\n (click)=\"maskClick($event)\"\n>\n <div class=\"wu-drawer p-drawer p-sidebar p-component\" tabindex=\"-1\" [ngClass]=\"panelClass\" [ngStyle]=\"style || null\">\n <ng-container *ngIf=\"headlessTemplate; else regular\">\n <ng-container *ngTemplateOutlet=\"headlessTemplate\"></ng-container>\n </ng-container>\n <ng-template #regular>\n <div class=\"wu-drawer-header p-drawer-header p-sidebar-header\">\n <div class=\"wu-drawer-title p-drawer-title\" [id]=\"titleId\">\n <ng-container *ngIf=\"headerTemplate; else headerText\">\n <ng-container *ngTemplateOutlet=\"headerTemplate\"></ng-container>\n </ng-container>\n <ng-template #headerText>{{ header }}</ng-template>\n </div>\n <button *ngIf=\"closable\" type=\"button\" [class]=\"closeClass\" [attr.aria-label]=\"ariaCloseLabel || t.close\" (click)=\"close($event)\">\n <ng-container *ngIf=\"closeIconTemplate; else defaultIcon\">\n <ng-container *ngTemplateOutlet=\"closeIconTemplate\"></ng-container>\n </ng-container>\n <ng-template #defaultIcon>\n <span *ngIf=\"closeIcon; else cross\" [class]=\"'wu-btn-icon ' + closeIcon\" aria-hidden=\"true\"></span>\n <ng-template #cross>\n <svg class=\"wu-btn-icon\" viewBox=\"0 0 16 16\" width=\"16\" height=\"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 </ng-template>\n </ng-template>\n </button>\n </div>\n <div class=\"wu-drawer-content p-drawer-content p-sidebar-content\">\n <ng-content></ng-content>\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\n </div>\n <div *ngIf=\"footerTemplate\" class=\"wu-drawer-footer p-drawer-footer p-sidebar-footer\">\n <ng-container *ngTemplateOutlet=\"footerTemplate\"></ng-container>\n </div>\n </ng-template>\n </div>\n</dialog>\n", styles: ["@layer wiraui.components{:is(wu-drawer,wu-sidebar){display:contents}.wu-drawer-mask:where([open]){position:fixed;inset:0;box-sizing:border-box;display:flex;width:100%;max-width:none;height:100%;max-height:none;margin:0;padding:0;overflow:hidden;border:0;background:transparent;color:var(--wu-text)}.wu-drawer-mask::backdrop{background:var(--wu-mask);animation:wu-drawer-fade .2s ease}.wu-drawer-mask.wu-drawer-leaving::backdrop{opacity:0;transition:opacity .2s ease}.wu-drawer-mask[open]:not(.wu-drawer-modal){z-index:1100;pointer-events:none}.wu-drawer-mask:not(.wu-drawer-modal) .wu-drawer{pointer-events:auto}.wu-drawer-mask-left{justify-content:flex-start}.wu-drawer-mask-right{justify-content:flex-end}.wu-drawer-mask-top{align-items:flex-start}.wu-drawer-mask-bottom{align-items:flex-end}.wu-drawer{box-sizing:border-box;display:flex;flex-direction:column;max-width:100%;max-height:100%;border:0 solid var(--wu-border);background:var(--wu-drawer-bg);color:var(--wu-text);box-shadow:var(--wu-drawer-shadow);outline:none}.wu-drawer-left,.wu-drawer-right{width:var(--wu-drawer-size);height:100%}.wu-drawer-left{border-right-width:var(--wu-drawer-border-width);animation:wu-drawer-from-left .2s ease}.wu-drawer-right{border-left-width:var(--wu-drawer-border-width);animation:wu-drawer-from-right .2s ease}.wu-drawer-top,.wu-drawer-bottom{width:100%;min-height:10rem}.wu-drawer-top{border-bottom-width:var(--wu-drawer-border-width);animation:wu-drawer-from-top .2s ease}.wu-drawer-bottom{border-top-width:var(--wu-drawer-border-width);animation:wu-drawer-from-bottom .2s ease}.wu-drawer-full{width:100%;height:100%;animation:wu-drawer-fade .2s ease}.wu-drawer-leaving .wu-drawer{animation-duration:.2s;animation-timing-function:ease;animation-fill-mode:forwards}.wu-drawer-leaving .wu-drawer-left{animation-name:wu-drawer-to-left}.wu-drawer-leaving .wu-drawer-right{animation-name:wu-drawer-to-right}.wu-drawer-leaving .wu-drawer-top{animation-name:wu-drawer-to-top}.wu-drawer-leaving .wu-drawer-bottom{animation-name:wu-drawer-to-bottom}.wu-drawer-leaving .wu-drawer-full{animation-name:wu-drawer-fade-out}.wu-drawer-header{display:flex;flex:none;align-items:center;justify-content:space-between;gap:.5rem;padding:var(--wu-drawer-header-padding)}.wu-drawer-title{min-width:0;font-size:var(--wu-drawer-title-size);font-weight:var(--wu-drawer-title-weight)}.wu-drawer-close{flex:none;margin-left:auto}.wu-drawer-content{flex:1 1 auto;min-height:0;padding:var(--wu-drawer-content-padding);overflow-y:auto;overscroll-behavior:contain}.wu-drawer-footer{flex:none;padding:var(--wu-drawer-content-padding)}@keyframes wu-drawer-from-left{0%{translate:-100% 0}}@keyframes wu-drawer-from-right{0%{translate:100% 0}}@keyframes wu-drawer-from-top{0%{translate:0 -100%}}@keyframes wu-drawer-from-bottom{0%{translate:0 100%}}@keyframes wu-drawer-fade{0%{opacity:0}}@keyframes wu-drawer-to-left{to{translate:-100% 0}}@keyframes wu-drawer-to-right{to{translate:100% 0}}@keyframes wu-drawer-to-top{to{translate:0 -100%}}@keyframes wu-drawer-to-bottom{to{translate:0 100%}}@keyframes wu-drawer-fade-out{to{opacity:0}}@media (prefers-reduced-motion: reduce){.wu-drawer,.wu-drawer-mask::backdrop{animation:none!important}}}\n"] }]
232
+ args: [{ selector: 'wu-drawer, wu-sidebar', standalone: true, imports: [NgClass, NgIf, NgStyle, NgTemplateOutlet], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<dialog\n *ngIf=\"rendered\"\n #mask\n class=\"wu-drawer-mask p-drawer-mask p-sidebar-mask p-overlay-mask\"\n [ngClass]=\"(maskStyleClass || '') + ' wu-drawer-mask-' + side\"\n [class.wu-drawer-modal]=\"modal\"\n [class.wu-drawer-leaving]=\"leaving\"\n [attr.aria-labelledby]=\"labelledBy\"\n [attr.aria-label]=\"ariaLabel || null\"\n (keydown)=\"keydown($event)\"\n (cancel)=\"cancel($event)\"\n (close)=\"nativeClose()\"\n (pointerdown)=\"maskPointerdown($event)\"\n (click)=\"maskClick($event)\"\n>\n <div class=\"wu-drawer p-drawer p-sidebar p-component\" tabindex=\"-1\" [ngClass]=\"panelClass\" [ngStyle]=\"style || null\">\n <ng-container *ngIf=\"headlessTemplate; else regular\">\n <ng-container *ngTemplateOutlet=\"headlessTemplate\"></ng-container>\n </ng-container>\n <ng-template #regular>\n <div class=\"wu-drawer-header p-drawer-header p-sidebar-header\">\n <div class=\"wu-drawer-title p-drawer-title\" [id]=\"titleId\">\n <ng-container *ngIf=\"headerTemplate; else headerText\">\n <ng-container *ngTemplateOutlet=\"headerTemplate\"></ng-container>\n </ng-container>\n <ng-template #headerText>{{ header }}</ng-template>\n </div>\n <button *ngIf=\"closable\" type=\"button\" [class]=\"closeClass\" [attr.aria-label]=\"ariaCloseLabel || t.close\" (click)=\"close($event)\">\n <ng-container *ngIf=\"closeIconTemplate; else defaultIcon\">\n <ng-container *ngTemplateOutlet=\"closeIconTemplate\"></ng-container>\n </ng-container>\n <ng-template #defaultIcon>\n <span *ngIf=\"closeIcon; else cross\" [class]=\"'wu-btn-icon ' + closeIcon\" aria-hidden=\"true\"></span>\n <ng-template #cross>\n <svg class=\"wu-btn-icon\" viewBox=\"0 0 16 16\" width=\"16\" height=\"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 </ng-template>\n </ng-template>\n </button>\n </div>\n <div class=\"wu-drawer-content p-drawer-content p-sidebar-content\">\n <ng-content></ng-content>\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\n </div>\n <div *ngIf=\"footerTemplate\" class=\"wu-drawer-footer p-drawer-footer p-sidebar-footer\">\n <ng-container *ngTemplateOutlet=\"footerTemplate\"></ng-container>\n </div>\n </ng-template>\n </div>\n</dialog>\n", styles: ["@layer wiraui.components{:is(wu-drawer,wu-sidebar){display:contents}.wu-drawer-mask:where([open]){position:fixed;inset:0;box-sizing:border-box;display:flex;width:100%;max-width:none;height:100%;max-height:none;margin:0;padding:0;overflow:hidden;border:0;background:transparent;color:var(--wu-text)}.wu-drawer-mask::backdrop{background:var(--wu-mask);animation:wu-drawer-fade .2s ease}.wu-drawer-mask.wu-drawer-leaving::backdrop{opacity:0;transition:opacity .2s ease}.wu-drawer-mask[open]:not(.wu-drawer-modal){z-index:1100;pointer-events:none}.wu-drawer-mask:not(.wu-drawer-modal) .wu-drawer{pointer-events:auto}.wu-drawer-mask-left{justify-content:flex-start}.wu-drawer-mask-right{justify-content:flex-end}.wu-drawer-mask-top{align-items:flex-start}.wu-drawer-mask-bottom{align-items:flex-end}.wu-drawer{box-sizing:border-box;display:flex;flex-direction:column;max-width:100%;max-height:100%;border:0 solid var(--wu-border);background:var(--wu-drawer-bg);color:var(--wu-text);box-shadow:var(--wu-drawer-shadow);outline:none}.wu-drawer-left,.wu-drawer-right{width:var(--wu-drawer-size);height:100%}.wu-drawer-left{border-right-width:var(--wu-drawer-border-width);animation:wu-drawer-from-left .2s ease}.wu-drawer-right{border-left-width:var(--wu-drawer-border-width);animation:wu-drawer-from-right .2s ease}.wu-drawer-top,.wu-drawer-bottom{width:100%;min-height:10rem}.wu-drawer-top{border-bottom-width:var(--wu-drawer-border-width);animation:wu-drawer-from-top .2s ease}.wu-drawer-bottom{border-top-width:var(--wu-drawer-border-width);animation:wu-drawer-from-bottom .2s ease}.wu-drawer-full{width:100%;height:100%;animation:wu-drawer-fade .2s ease}.wu-drawer-leaving .wu-drawer{animation-duration:.2s;animation-timing-function:ease;animation-fill-mode:forwards}.wu-drawer-leaving .wu-drawer-left{animation-name:wu-drawer-to-left}.wu-drawer-leaving .wu-drawer-right{animation-name:wu-drawer-to-right}.wu-drawer-leaving .wu-drawer-top{animation-name:wu-drawer-to-top}.wu-drawer-leaving .wu-drawer-bottom{animation-name:wu-drawer-to-bottom}.wu-drawer-leaving .wu-drawer-full{animation-name:wu-drawer-fade-out}.wu-drawer-header{display:flex;flex:none;align-items:center;justify-content:space-between;gap:.5rem;padding:var(--wu-drawer-header-padding)}.wu-drawer-title{min-width:0;font-size:var(--wu-drawer-title-size);font-weight:var(--wu-drawer-title-weight)}.wu-drawer-close{flex:none;margin-left:auto}.wu-drawer-content{flex:1 1 auto;min-height:0;padding:var(--wu-drawer-content-padding);overflow-y:auto;overscroll-behavior:contain}.wu-drawer-footer{flex:none;padding:var(--wu-drawer-content-padding)}@keyframes wu-drawer-from-left{0%{translate:-100% 0}}@keyframes wu-drawer-from-right{0%{translate:100% 0}}@keyframes wu-drawer-from-top{0%{translate:0 -100%}}@keyframes wu-drawer-from-bottom{0%{translate:0 100%}}@keyframes wu-drawer-fade{0%{opacity:0}}@keyframes wu-drawer-to-left{to{translate:-100% 0}}@keyframes wu-drawer-to-right{to{translate:100% 0}}@keyframes wu-drawer-to-top{to{translate:0 -100%}}@keyframes wu-drawer-to-bottom{to{translate:0 100%}}@keyframes wu-drawer-fade-out{to{opacity:0}}@media(prefers-reduced-motion:reduce){.wu-drawer,.wu-drawer-mask::backdrop{animation:none!important}}}\n"] }]
233
233
  }], ctorParameters: () => [], propDecorators: { visible: [{
234
234
  type: Input
235
235
  }], position: [{
@@ -301,11 +301,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
301
301
 
302
302
  /** For NgModule apps. Standalone apps can import `WuDrawer` directly. */
303
303
  class WuDrawerModule {
304
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: WuDrawerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
305
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: WuDrawerModule, imports: [WuDrawer], exports: [WuDrawer] }); }
306
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: WuDrawerModule }); }
304
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: WuDrawerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
305
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.25", ngImport: i0, type: WuDrawerModule, imports: [WuDrawer], exports: [WuDrawer] }); }
306
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: WuDrawerModule }); }
307
307
  }
308
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: WuDrawerModule, decorators: [{
308
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: WuDrawerModule, decorators: [{
309
309
  type: NgModule,
310
310
  args: [{
311
311
  imports: [WuDrawer],