@exhaustive-ui/core 22.0.0-alpha.0 → 22.0.0-alpha.10

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 (296) hide show
  1. package/README.md +24 -6
  2. package/fesm2022/exhaustive-ui-core-accordion.mjs +7 -1
  3. package/fesm2022/exhaustive-ui-core-accordion.mjs.map +1 -1
  4. package/fesm2022/exhaustive-ui-core-api.mjs +7 -5
  5. package/fesm2022/exhaustive-ui-core-api.mjs.map +1 -1
  6. package/fesm2022/exhaustive-ui-core-autocomplete.mjs +20 -9
  7. package/fesm2022/exhaustive-ui-core-autocomplete.mjs.map +1 -1
  8. package/fesm2022/exhaustive-ui-core-autofocus.mjs +4 -4
  9. package/fesm2022/exhaustive-ui-core-autofocus.mjs.map +1 -1
  10. package/fesm2022/exhaustive-ui-core-avatar.mjs +1 -1
  11. package/fesm2022/exhaustive-ui-core-avatar.mjs.map +1 -1
  12. package/fesm2022/exhaustive-ui-core-avatargroup.mjs +1 -1
  13. package/fesm2022/exhaustive-ui-core-avatargroup.mjs.map +1 -1
  14. package/fesm2022/exhaustive-ui-core-badge.mjs +1 -1
  15. package/fesm2022/exhaustive-ui-core-badge.mjs.map +1 -1
  16. package/fesm2022/exhaustive-ui-core-basecomponent.mjs +6 -1
  17. package/fesm2022/exhaustive-ui-core-basecomponent.mjs.map +1 -1
  18. package/fesm2022/exhaustive-ui-core-blockui.mjs +8 -1
  19. package/fesm2022/exhaustive-ui-core-blockui.mjs.map +1 -1
  20. package/fesm2022/exhaustive-ui-core-breadcrumb.mjs +3 -3
  21. package/fesm2022/exhaustive-ui-core-breadcrumb.mjs.map +1 -1
  22. package/fesm2022/exhaustive-ui-core-button.mjs +31 -9
  23. package/fesm2022/exhaustive-ui-core-button.mjs.map +1 -1
  24. package/fesm2022/exhaustive-ui-core-buttongroup.mjs +1 -1
  25. package/fesm2022/exhaustive-ui-core-buttongroup.mjs.map +1 -1
  26. package/fesm2022/exhaustive-ui-core-card.mjs +1 -1
  27. package/fesm2022/exhaustive-ui-core-card.mjs.map +1 -1
  28. package/fesm2022/exhaustive-ui-core-carousel.mjs +8 -3
  29. package/fesm2022/exhaustive-ui-core-carousel.mjs.map +1 -1
  30. package/fesm2022/exhaustive-ui-core-cascadeselect.mjs +3 -3
  31. package/fesm2022/exhaustive-ui-core-cascadeselect.mjs.map +1 -1
  32. package/fesm2022/exhaustive-ui-core-chart.mjs +1 -1
  33. package/fesm2022/exhaustive-ui-core-chart.mjs.map +1 -1
  34. package/fesm2022/exhaustive-ui-core-checkbox.mjs +1 -1
  35. package/fesm2022/exhaustive-ui-core-checkbox.mjs.map +1 -1
  36. package/fesm2022/exhaustive-ui-core-chip.mjs +1 -1
  37. package/fesm2022/exhaustive-ui-core-chip.mjs.map +1 -1
  38. package/fesm2022/exhaustive-ui-core-colorpicker.mjs +1 -1
  39. package/fesm2022/exhaustive-ui-core-colorpicker.mjs.map +1 -1
  40. package/fesm2022/exhaustive-ui-core-confirmdialog.mjs +56 -19
  41. package/fesm2022/exhaustive-ui-core-confirmdialog.mjs.map +1 -1
  42. package/fesm2022/exhaustive-ui-core-confirmpopup.mjs +9 -3
  43. package/fesm2022/exhaustive-ui-core-confirmpopup.mjs.map +1 -1
  44. package/fesm2022/exhaustive-ui-core-contextmenu.mjs +9 -4
  45. package/fesm2022/exhaustive-ui-core-contextmenu.mjs.map +1 -1
  46. package/fesm2022/exhaustive-ui-core-dataview.mjs +1 -1
  47. package/fesm2022/exhaustive-ui-core-dataview.mjs.map +1 -1
  48. package/fesm2022/exhaustive-ui-core-datepicker.mjs +131 -87
  49. package/fesm2022/exhaustive-ui-core-datepicker.mjs.map +1 -1
  50. package/fesm2022/exhaustive-ui-core-dialog.mjs +28 -11
  51. package/fesm2022/exhaustive-ui-core-dialog.mjs.map +1 -1
  52. package/fesm2022/exhaustive-ui-core-divider.mjs +1 -1
  53. package/fesm2022/exhaustive-ui-core-divider.mjs.map +1 -1
  54. package/fesm2022/exhaustive-ui-core-dock.mjs +1 -1
  55. package/fesm2022/exhaustive-ui-core-dock.mjs.map +1 -1
  56. package/fesm2022/exhaustive-ui-core-dom.mjs +3 -1
  57. package/fesm2022/exhaustive-ui-core-dom.mjs.map +1 -1
  58. package/fesm2022/exhaustive-ui-core-drawer.mjs +12 -3
  59. package/fesm2022/exhaustive-ui-core-drawer.mjs.map +1 -1
  60. package/fesm2022/exhaustive-ui-core-dynamicdialog.mjs +10 -6
  61. package/fesm2022/exhaustive-ui-core-dynamicdialog.mjs.map +1 -1
  62. package/fesm2022/exhaustive-ui-core-editor.mjs +1 -1
  63. package/fesm2022/exhaustive-ui-core-editor.mjs.map +1 -1
  64. package/fesm2022/exhaustive-ui-core-fieldset.mjs +1 -1
  65. package/fesm2022/exhaustive-ui-core-fieldset.mjs.map +1 -1
  66. package/fesm2022/exhaustive-ui-core-fileupload.mjs +3 -3
  67. package/fesm2022/exhaustive-ui-core-fileupload.mjs.map +1 -1
  68. package/fesm2022/exhaustive-ui-core-floatlabel.mjs +1 -1
  69. package/fesm2022/exhaustive-ui-core-floatlabel.mjs.map +1 -1
  70. package/fesm2022/exhaustive-ui-core-fluid.mjs +1 -1
  71. package/fesm2022/exhaustive-ui-core-fluid.mjs.map +1 -1
  72. package/fesm2022/exhaustive-ui-core-focustrap.mjs +0 -2
  73. package/fesm2022/exhaustive-ui-core-focustrap.mjs.map +1 -1
  74. package/fesm2022/exhaustive-ui-core-galleria.mjs +1 -1
  75. package/fesm2022/exhaustive-ui-core-galleria.mjs.map +1 -1
  76. package/fesm2022/exhaustive-ui-core-iconfield.mjs +1 -1
  77. package/fesm2022/exhaustive-ui-core-iconfield.mjs.map +1 -1
  78. package/fesm2022/exhaustive-ui-core-icons-baseicon.mjs +1 -1
  79. package/fesm2022/exhaustive-ui-core-icons-baseicon.mjs.map +1 -1
  80. package/fesm2022/exhaustive-ui-core-iftalabel.mjs +1 -1
  81. package/fesm2022/exhaustive-ui-core-iftalabel.mjs.map +1 -1
  82. package/fesm2022/exhaustive-ui-core-image.mjs +11 -3
  83. package/fesm2022/exhaustive-ui-core-image.mjs.map +1 -1
  84. package/fesm2022/exhaustive-ui-core-imagecompare.mjs +1 -1
  85. package/fesm2022/exhaustive-ui-core-imagecompare.mjs.map +1 -1
  86. package/fesm2022/exhaustive-ui-core-inplace.mjs +2 -2
  87. package/fesm2022/exhaustive-ui-core-inplace.mjs.map +1 -1
  88. package/fesm2022/exhaustive-ui-core-inputgroup.mjs +1 -1
  89. package/fesm2022/exhaustive-ui-core-inputgroup.mjs.map +1 -1
  90. package/fesm2022/exhaustive-ui-core-inputmask.mjs +30 -6
  91. package/fesm2022/exhaustive-ui-core-inputmask.mjs.map +1 -1
  92. package/fesm2022/exhaustive-ui-core-inputnumber.mjs +30 -3
  93. package/fesm2022/exhaustive-ui-core-inputnumber.mjs.map +1 -1
  94. package/fesm2022/exhaustive-ui-core-inputotp.mjs +16 -4
  95. package/fesm2022/exhaustive-ui-core-inputotp.mjs.map +1 -1
  96. package/fesm2022/exhaustive-ui-core-inputtext.mjs +1 -1
  97. package/fesm2022/exhaustive-ui-core-inputtext.mjs.map +1 -1
  98. package/fesm2022/exhaustive-ui-core-keyfilter.mjs +27 -17
  99. package/fesm2022/exhaustive-ui-core-keyfilter.mjs.map +1 -1
  100. package/fesm2022/exhaustive-ui-core-knob.mjs +1 -1
  101. package/fesm2022/exhaustive-ui-core-knob.mjs.map +1 -1
  102. package/fesm2022/exhaustive-ui-core-listbox.mjs +12 -3
  103. package/fesm2022/exhaustive-ui-core-listbox.mjs.map +1 -1
  104. package/fesm2022/exhaustive-ui-core-megamenu.mjs +1 -1
  105. package/fesm2022/exhaustive-ui-core-megamenu.mjs.map +1 -1
  106. package/fesm2022/exhaustive-ui-core-menu.mjs +18 -7
  107. package/fesm2022/exhaustive-ui-core-menu.mjs.map +1 -1
  108. package/fesm2022/exhaustive-ui-core-menubar.mjs +58 -14
  109. package/fesm2022/exhaustive-ui-core-menubar.mjs.map +1 -1
  110. package/fesm2022/exhaustive-ui-core-message.mjs +1 -1
  111. package/fesm2022/exhaustive-ui-core-message.mjs.map +1 -1
  112. package/fesm2022/exhaustive-ui-core-metergroup.mjs +1 -1
  113. package/fesm2022/exhaustive-ui-core-metergroup.mjs.map +1 -1
  114. package/fesm2022/exhaustive-ui-core-motion.mjs +1 -1
  115. package/fesm2022/exhaustive-ui-core-motion.mjs.map +1 -1
  116. package/fesm2022/exhaustive-ui-core-multiselect.mjs +14 -12
  117. package/fesm2022/exhaustive-ui-core-multiselect.mjs.map +1 -1
  118. package/fesm2022/exhaustive-ui-core-orderlist.mjs +11 -5
  119. package/fesm2022/exhaustive-ui-core-orderlist.mjs.map +1 -1
  120. package/fesm2022/exhaustive-ui-core-organizationchart.mjs +1 -1
  121. package/fesm2022/exhaustive-ui-core-organizationchart.mjs.map +1 -1
  122. package/fesm2022/exhaustive-ui-core-overlay.mjs +4 -0
  123. package/fesm2022/exhaustive-ui-core-overlay.mjs.map +1 -1
  124. package/fesm2022/exhaustive-ui-core-paginator.mjs +9 -5
  125. package/fesm2022/exhaustive-ui-core-paginator.mjs.map +1 -1
  126. package/fesm2022/exhaustive-ui-core-panel.mjs +8 -10
  127. package/fesm2022/exhaustive-ui-core-panel.mjs.map +1 -1
  128. package/fesm2022/exhaustive-ui-core-panelmenu.mjs +33 -13
  129. package/fesm2022/exhaustive-ui-core-panelmenu.mjs.map +1 -1
  130. package/fesm2022/exhaustive-ui-core-password.mjs +57 -9
  131. package/fesm2022/exhaustive-ui-core-password.mjs.map +1 -1
  132. package/fesm2022/exhaustive-ui-core-picklist.mjs +14 -7
  133. package/fesm2022/exhaustive-ui-core-picklist.mjs.map +1 -1
  134. package/fesm2022/exhaustive-ui-core-progressbar.mjs +4 -4
  135. package/fesm2022/exhaustive-ui-core-progressbar.mjs.map +1 -1
  136. package/fesm2022/exhaustive-ui-core-progressspinner.mjs +1 -1
  137. package/fesm2022/exhaustive-ui-core-progressspinner.mjs.map +1 -1
  138. package/fesm2022/exhaustive-ui-core-radiobutton.mjs +7 -2
  139. package/fesm2022/exhaustive-ui-core-radiobutton.mjs.map +1 -1
  140. package/fesm2022/exhaustive-ui-core-rating.mjs +1 -1
  141. package/fesm2022/exhaustive-ui-core-rating.mjs.map +1 -1
  142. package/fesm2022/exhaustive-ui-core-ripple.mjs +1 -1
  143. package/fesm2022/exhaustive-ui-core-ripple.mjs.map +1 -1
  144. package/fesm2022/exhaustive-ui-core-scroller.mjs +14 -4
  145. package/fesm2022/exhaustive-ui-core-scroller.mjs.map +1 -1
  146. package/fesm2022/exhaustive-ui-core-scrollpanel.mjs +1 -1
  147. package/fesm2022/exhaustive-ui-core-scrollpanel.mjs.map +1 -1
  148. package/fesm2022/exhaustive-ui-core-scrolltop.mjs +11 -3
  149. package/fesm2022/exhaustive-ui-core-scrolltop.mjs.map +1 -1
  150. package/fesm2022/exhaustive-ui-core-select.mjs +47 -14
  151. package/fesm2022/exhaustive-ui-core-select.mjs.map +1 -1
  152. package/fesm2022/exhaustive-ui-core-selectbutton.mjs +3 -1
  153. package/fesm2022/exhaustive-ui-core-selectbutton.mjs.map +1 -1
  154. package/fesm2022/exhaustive-ui-core-skeleton.mjs +1 -1
  155. package/fesm2022/exhaustive-ui-core-skeleton.mjs.map +1 -1
  156. package/fesm2022/exhaustive-ui-core-slider.mjs +11 -2
  157. package/fesm2022/exhaustive-ui-core-slider.mjs.map +1 -1
  158. package/fesm2022/exhaustive-ui-core-speeddial.mjs +1 -1
  159. package/fesm2022/exhaustive-ui-core-speeddial.mjs.map +1 -1
  160. package/fesm2022/exhaustive-ui-core-splitbutton.mjs +9 -5
  161. package/fesm2022/exhaustive-ui-core-splitbutton.mjs.map +1 -1
  162. package/fesm2022/exhaustive-ui-core-splitter.mjs +23 -7
  163. package/fesm2022/exhaustive-ui-core-splitter.mjs.map +1 -1
  164. package/fesm2022/exhaustive-ui-core-stepper.mjs +11 -10
  165. package/fesm2022/exhaustive-ui-core-stepper.mjs.map +1 -1
  166. package/fesm2022/exhaustive-ui-core-steps.mjs +1 -1
  167. package/fesm2022/exhaustive-ui-core-steps.mjs.map +1 -1
  168. package/fesm2022/exhaustive-ui-core-table.mjs +242 -103
  169. package/fesm2022/exhaustive-ui-core-table.mjs.map +1 -1
  170. package/fesm2022/exhaustive-ui-core-tabs.mjs +16 -10
  171. package/fesm2022/exhaustive-ui-core-tabs.mjs.map +1 -1
  172. package/fesm2022/exhaustive-ui-core-tag.mjs +1 -1
  173. package/fesm2022/exhaustive-ui-core-tag.mjs.map +1 -1
  174. package/fesm2022/exhaustive-ui-core-terminal.mjs +1 -1
  175. package/fesm2022/exhaustive-ui-core-terminal.mjs.map +1 -1
  176. package/fesm2022/exhaustive-ui-core-textarea.mjs +10 -2
  177. package/fesm2022/exhaustive-ui-core-textarea.mjs.map +1 -1
  178. package/fesm2022/exhaustive-ui-core-tieredmenu.mjs +28 -14
  179. package/fesm2022/exhaustive-ui-core-tieredmenu.mjs.map +1 -1
  180. package/fesm2022/exhaustive-ui-core-timeline.mjs +1 -1
  181. package/fesm2022/exhaustive-ui-core-timeline.mjs.map +1 -1
  182. package/fesm2022/exhaustive-ui-core-toast.mjs +4 -1
  183. package/fesm2022/exhaustive-ui-core-toast.mjs.map +1 -1
  184. package/fesm2022/exhaustive-ui-core-togglebutton.mjs +1 -1
  185. package/fesm2022/exhaustive-ui-core-togglebutton.mjs.map +1 -1
  186. package/fesm2022/exhaustive-ui-core-toggleswitch.mjs +1 -1
  187. package/fesm2022/exhaustive-ui-core-toggleswitch.mjs.map +1 -1
  188. package/fesm2022/exhaustive-ui-core-toolbar.mjs +1 -1
  189. package/fesm2022/exhaustive-ui-core-toolbar.mjs.map +1 -1
  190. package/fesm2022/exhaustive-ui-core-tooltip.mjs +6 -2
  191. package/fesm2022/exhaustive-ui-core-tooltip.mjs.map +1 -1
  192. package/fesm2022/exhaustive-ui-core-tree.mjs +25 -6
  193. package/fesm2022/exhaustive-ui-core-tree.mjs.map +1 -1
  194. package/fesm2022/exhaustive-ui-core-treeselect.mjs +37 -2
  195. package/fesm2022/exhaustive-ui-core-treeselect.mjs.map +1 -1
  196. package/fesm2022/exhaustive-ui-core-treetable.mjs +77 -9
  197. package/fesm2022/exhaustive-ui-core-treetable.mjs.map +1 -1
  198. package/fesm2022/exhaustive-ui-core-utils.mjs +2 -1
  199. package/fesm2022/exhaustive-ui-core-utils.mjs.map +1 -1
  200. package/package.json +6 -6
  201. package/schematics/migrate-from-primeng/index.js +1 -1
  202. package/schematics/migrations/remove-dead-inputs/migration.js +5 -4
  203. package/schematics/migrations/remove-dead-outputs/migration.js +6 -5
  204. package/schematics/utils/versions.json +8 -8
  205. package/types/exhaustive-ui-core-accordion.d.ts +1 -1
  206. package/types/exhaustive-ui-core-autocomplete.d.ts +3 -1
  207. package/types/exhaustive-ui-core-autofocus.d.ts +1 -1
  208. package/types/exhaustive-ui-core-avatar.d.ts +1 -1
  209. package/types/exhaustive-ui-core-avatargroup.d.ts +1 -1
  210. package/types/exhaustive-ui-core-badge.d.ts +1 -1
  211. package/types/exhaustive-ui-core-blockui.d.ts +1 -1
  212. package/types/exhaustive-ui-core-breadcrumb.d.ts +1 -1
  213. package/types/exhaustive-ui-core-button.d.ts +13 -2
  214. package/types/exhaustive-ui-core-buttongroup.d.ts +1 -1
  215. package/types/exhaustive-ui-core-card.d.ts +1 -1
  216. package/types/exhaustive-ui-core-carousel.d.ts +1 -1
  217. package/types/exhaustive-ui-core-cascadeselect.d.ts +1 -1
  218. package/types/exhaustive-ui-core-chart.d.ts +1 -1
  219. package/types/exhaustive-ui-core-checkbox.d.ts +1 -1
  220. package/types/exhaustive-ui-core-chip.d.ts +1 -1
  221. package/types/exhaustive-ui-core-colorpicker.d.ts +1 -1
  222. package/types/exhaustive-ui-core-confirmdialog.d.ts +15 -4
  223. package/types/exhaustive-ui-core-confirmpopup.d.ts +1 -1
  224. package/types/exhaustive-ui-core-contextmenu.d.ts +1 -1
  225. package/types/exhaustive-ui-core-dataview.d.ts +1 -1
  226. package/types/exhaustive-ui-core-datepicker.d.ts +8 -2
  227. package/types/exhaustive-ui-core-dialog.d.ts +3 -1
  228. package/types/exhaustive-ui-core-divider.d.ts +1 -1
  229. package/types/exhaustive-ui-core-dock.d.ts +1 -1
  230. package/types/exhaustive-ui-core-drawer.d.ts +1 -1
  231. package/types/exhaustive-ui-core-dynamicdialog.d.ts +3 -3
  232. package/types/exhaustive-ui-core-editor.d.ts +1 -1
  233. package/types/exhaustive-ui-core-fieldset.d.ts +1 -1
  234. package/types/exhaustive-ui-core-fileupload.d.ts +1 -1
  235. package/types/exhaustive-ui-core-floatlabel.d.ts +1 -1
  236. package/types/exhaustive-ui-core-fluid.d.ts +1 -1
  237. package/types/exhaustive-ui-core-galleria.d.ts +1 -1
  238. package/types/exhaustive-ui-core-iconfield.d.ts +1 -1
  239. package/types/exhaustive-ui-core-icons-baseicon.d.ts +1 -1
  240. package/types/exhaustive-ui-core-iftalabel.d.ts +1 -1
  241. package/types/exhaustive-ui-core-image.d.ts +7 -2
  242. package/types/exhaustive-ui-core-imagecompare.d.ts +1 -1
  243. package/types/exhaustive-ui-core-inplace.d.ts +1 -1
  244. package/types/exhaustive-ui-core-inputgroup.d.ts +1 -1
  245. package/types/exhaustive-ui-core-inputmask.d.ts +1 -1
  246. package/types/exhaustive-ui-core-inputnumber.d.ts +1 -1
  247. package/types/exhaustive-ui-core-inputotp.d.ts +1 -1
  248. package/types/exhaustive-ui-core-inputtext.d.ts +1 -1
  249. package/types/exhaustive-ui-core-keyfilter.d.ts +1 -0
  250. package/types/exhaustive-ui-core-knob.d.ts +1 -1
  251. package/types/exhaustive-ui-core-listbox.d.ts +1 -1
  252. package/types/exhaustive-ui-core-megamenu.d.ts +1 -1
  253. package/types/exhaustive-ui-core-menu.d.ts +3 -1
  254. package/types/exhaustive-ui-core-menubar.d.ts +6 -1
  255. package/types/exhaustive-ui-core-message.d.ts +1 -1
  256. package/types/exhaustive-ui-core-metergroup.d.ts +1 -1
  257. package/types/exhaustive-ui-core-multiselect.d.ts +2 -2
  258. package/types/exhaustive-ui-core-orderlist.d.ts +7 -2
  259. package/types/exhaustive-ui-core-organizationchart.d.ts +1 -1
  260. package/types/exhaustive-ui-core-paginator.d.ts +2 -1
  261. package/types/exhaustive-ui-core-panel.d.ts +1 -1
  262. package/types/exhaustive-ui-core-panelmenu.d.ts +6 -1
  263. package/types/exhaustive-ui-core-password.d.ts +3 -1
  264. package/types/exhaustive-ui-core-picklist.d.ts +4 -4
  265. package/types/exhaustive-ui-core-progressbar.d.ts +1 -1
  266. package/types/exhaustive-ui-core-progressspinner.d.ts +1 -1
  267. package/types/exhaustive-ui-core-radiobutton.d.ts +1 -1
  268. package/types/exhaustive-ui-core-rating.d.ts +1 -1
  269. package/types/exhaustive-ui-core-ripple.d.ts +1 -1
  270. package/types/exhaustive-ui-core-scroller.d.ts +1 -1
  271. package/types/exhaustive-ui-core-scrollpanel.d.ts +1 -1
  272. package/types/exhaustive-ui-core-scrolltop.d.ts +1 -1
  273. package/types/exhaustive-ui-core-select.d.ts +4 -2
  274. package/types/exhaustive-ui-core-selectbutton.d.ts +1 -1
  275. package/types/exhaustive-ui-core-skeleton.d.ts +1 -1
  276. package/types/exhaustive-ui-core-slider.d.ts +1 -1
  277. package/types/exhaustive-ui-core-speeddial.d.ts +1 -1
  278. package/types/exhaustive-ui-core-splitbutton.d.ts +3 -2
  279. package/types/exhaustive-ui-core-splitter.d.ts +7 -2
  280. package/types/exhaustive-ui-core-stepper.d.ts +1 -1
  281. package/types/exhaustive-ui-core-steps.d.ts +1 -1
  282. package/types/exhaustive-ui-core-table.d.ts +9 -3
  283. package/types/exhaustive-ui-core-tabs.d.ts +2 -1
  284. package/types/exhaustive-ui-core-tag.d.ts +1 -1
  285. package/types/exhaustive-ui-core-terminal.d.ts +1 -1
  286. package/types/exhaustive-ui-core-textarea.d.ts +1 -1
  287. package/types/exhaustive-ui-core-tieredmenu.d.ts +3 -1
  288. package/types/exhaustive-ui-core-timeline.d.ts +1 -1
  289. package/types/exhaustive-ui-core-toast.d.ts +1 -1
  290. package/types/exhaustive-ui-core-togglebutton.d.ts +1 -1
  291. package/types/exhaustive-ui-core-toggleswitch.d.ts +1 -1
  292. package/types/exhaustive-ui-core-toolbar.d.ts +1 -1
  293. package/types/exhaustive-ui-core-tooltip.d.ts +1 -1
  294. package/types/exhaustive-ui-core-tree.d.ts +3 -1
  295. package/types/exhaustive-ui-core-treeselect.d.ts +7 -1
  296. package/types/exhaustive-ui-core-treetable.d.ts +23 -3
@@ -318,7 +318,8 @@ function ZIndexUtils() {
318
318
  var zindexutils = ZIndexUtils();
319
319
 
320
320
  const transformToBoolean = (value) => {
321
- return !!value;
321
+ // a bare attribute (<p-accordion multiple>) is bound as an empty string
322
+ return value === '' || !!value;
322
323
  };
323
324
  const transformToNumber = (value) => {
324
325
  return typeof value === 'string' ? parseFloat(value) : value;
@@ -1 +1 @@
1
- {"version":3,"file":"exhaustive-ui-core-utils.mjs","sources":["../../src/utils/objectutils.ts","../../src/utils/uniquecomponentid.ts","../../src/utils/zindexutils.ts","../../src/utils/inpututils.ts","../../src/utils/exhaustive-ui-core-utils.ts"],"sourcesContent":["export class ObjectUtils {\n public static isArray(value, empty = true) {\n return Array.isArray(value) && (empty || value.length !== 0);\n }\n\n public static isObject(value, empty = true) {\n return typeof value === 'object' && !Array.isArray(value) && value != null && (empty || Object.keys(value).length !== 0);\n }\n\n public static equals(obj1: any, obj2: any, field?: string): boolean {\n if (field) return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);\n else return this.equalsByValue(obj1, obj2);\n }\n\n public static equalsByValue(obj1: any, obj2: any): boolean {\n if (obj1 === obj2) return true;\n\n if (obj1 && obj2 && typeof obj1 == 'object' && typeof obj2 == 'object') {\n var arrA = Array.isArray(obj1),\n arrB = Array.isArray(obj2),\n i,\n length,\n key;\n\n if (arrA && arrB) {\n length = obj1.length;\n if (length != obj2.length) return false;\n for (i = length; i-- !== 0;) if (!this.equalsByValue(obj1[i], obj2[i])) return false;\n return true;\n }\n\n if (arrA != arrB) return false;\n\n var dateA = this.isDate(obj1),\n dateB = this.isDate(obj2);\n if (dateA != dateB) return false;\n if (dateA && dateB) return obj1.getTime() == obj2.getTime();\n\n var regexpA = obj1 instanceof RegExp,\n regexpB = obj2 instanceof RegExp;\n if (regexpA != regexpB) return false;\n if (regexpA && regexpB) return obj1.toString() == obj2.toString();\n\n var keys = Object.keys(obj1);\n length = keys.length;\n\n if (length !== Object.keys(obj2).length) return false;\n\n for (i = length; i-- !== 0;) if (!Object.prototype.hasOwnProperty.call(obj2, keys[i])) return false;\n\n for (i = length; i-- !== 0;) {\n key = keys[i];\n if (!this.equalsByValue(obj1[key], obj2[key])) return false;\n }\n\n return true;\n }\n\n return obj1 !== obj1 && obj2 !== obj2;\n }\n\n public static resolveFieldData(data: any, field: any): any {\n if (data && field) {\n if (this.isFunction(field)) {\n return field(data);\n } else if (field.indexOf('.') == -1) {\n return data[field];\n } else {\n let fields: string[] = field.split('.');\n let value = data;\n for (let i = 0, len = fields.length; i < len; ++i) {\n if (value == null) {\n return null;\n }\n value = value[fields[i]];\n }\n return value;\n }\n } else {\n return null;\n }\n }\n\n public static isFunction(obj: any) {\n return !!(obj && obj.constructor && obj.call && obj.apply);\n }\n\n public static reorderArray(value: any[], from: number, to: number) {\n let target: number;\n if (value && from !== to) {\n if (to >= value.length) {\n to %= value.length;\n from %= value.length;\n }\n value.splice(to, 0, value.splice(from, 1)[0]);\n }\n }\n\n public static insertIntoOrderedArray(item: any, index: number, arr: any[], sourceArr: any[]): void {\n if (arr.length > 0) {\n let injected = false;\n for (let i = 0; i < arr.length; i++) {\n let currentItemIndex = this.findIndexInList(arr[i], sourceArr);\n if (currentItemIndex > index) {\n arr.splice(i, 0, item);\n injected = true;\n break;\n }\n }\n\n if (!injected) {\n arr.push(item);\n }\n } else {\n arr.push(item);\n }\n }\n\n public static findIndexInList(item: any, list: any): number {\n let index: number = -1;\n\n if (list) {\n for (let i = 0; i < list.length; i++) {\n if (list[i] == item) {\n index = i;\n break;\n }\n }\n }\n\n return index;\n }\n\n public static contains(value, list) {\n if (value != null && list && list.length) {\n for (let val of list) {\n if (this.equals(value, val)) return true;\n }\n }\n\n return false;\n }\n\n public static removeAccents(str) {\n if (str) {\n str = str.normalize('NFKD').replace(/\\p{Diacritic}/gu, '');\n }\n\n return str;\n }\n\n public static isDate(input: any) {\n return Object.prototype.toString.call(input) === '[object Date]';\n }\n\n public static isEmpty(value) {\n return value === null || value === undefined || value === '' || (Array.isArray(value) && value.length === 0) || (!this.isDate(value) && typeof value === 'object' && Object.keys(value).length === 0);\n }\n\n public static isNotEmpty(value) {\n return !this.isEmpty(value);\n }\n\n public static compare(value1, value2, locale, order = 1) {\n let result = -1;\n const emptyValue1 = this.isEmpty(value1);\n const emptyValue2 = this.isEmpty(value2);\n\n if (emptyValue1 && emptyValue2) result = 0;\n else if (emptyValue1) result = order;\n else if (emptyValue2) result = -order;\n else if (typeof value1 === 'string' && typeof value2 === 'string') result = value1.localeCompare(value2, locale, { numeric: true });\n else result = value1 < value2 ? -1 : value1 > value2 ? 1 : 0;\n\n return result;\n }\n\n public static sort(value1, value2, order = 1, locale, nullSortOrder = 1) {\n const result = ObjectUtils.compare(value1, value2, locale, order);\n let finalSortOrder = order;\n\n // nullSortOrder == 1 means Excel like sort nulls at bottom\n if (ObjectUtils.isEmpty(value1) || ObjectUtils.isEmpty(value2)) {\n finalSortOrder = nullSortOrder === 1 ? order : nullSortOrder;\n }\n\n return finalSortOrder * result;\n }\n\n public static merge(obj1?: any, obj2?: any): any {\n if (obj1 == undefined && obj2 == undefined) {\n return undefined;\n } else if ((obj1 == undefined || typeof obj1 === 'object') && (obj2 == undefined || typeof obj2 === 'object')) {\n return { ...(obj1 || {}), ...(obj2 || {}) };\n } else if ((obj1 == undefined || typeof obj1 === 'string') && (obj2 == undefined || typeof obj2 === 'string')) {\n return [obj1 || '', obj2 || ''].join(' ');\n }\n\n return obj2 || obj1;\n }\n\n public static isPrintableCharacter(char = '') {\n return this.isNotEmpty(char) && char.length === 1 && char.match(/\\S| /);\n }\n\n public static getItemValue(obj, ...params) {\n return this.isFunction(obj) ? obj(...params) : obj;\n }\n\n public static findLastIndex(arr, callback) {\n let index = -1;\n\n if (this.isNotEmpty(arr)) {\n try {\n index = arr.findLastIndex(callback);\n } catch {\n index = arr.lastIndexOf([...arr].reverse().find(callback));\n }\n }\n\n return index;\n }\n\n public static findLast(arr, callback) {\n let item;\n\n if (this.isNotEmpty(arr)) {\n try {\n item = arr.findLast(callback);\n } catch {\n item = [...arr].reverse().find(callback);\n }\n }\n\n return item;\n }\n\n public static deepEquals(a, b) {\n if (a === b) return true;\n\n if (a && b && typeof a == 'object' && typeof b == 'object') {\n var arrA = Array.isArray(a),\n arrB = Array.isArray(b),\n i,\n length,\n key;\n\n if (arrA && arrB) {\n length = a.length;\n if (length != b.length) return false;\n for (i = length; i-- !== 0;) if (!this.deepEquals(a[i], b[i])) return false;\n\n return true;\n }\n\n if (arrA != arrB) return false;\n\n var dateA = a instanceof Date,\n dateB = b instanceof Date;\n\n if (dateA != dateB) return false;\n if (dateA && dateB) return a.getTime() == b.getTime();\n\n var regexpA = a instanceof RegExp,\n regexpB = b instanceof RegExp;\n\n if (regexpA != regexpB) return false;\n if (regexpA && regexpB) return a.toString() == b.toString();\n\n var keys = Object.keys(a);\n\n length = keys.length;\n\n if (length !== Object.keys(b).length) return false;\n\n for (i = length; i-- !== 0;) if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;\n\n for (i = length; i-- !== 0;) {\n key = keys[i];\n if (!this.deepEquals(a[key], b[key])) return false;\n }\n\n return true;\n }\n\n return a !== a && b !== b;\n }\n\n public static minifyCSS(css) {\n return css\n ? css\n .replace(/\\/\\*(?:(?!\\*\\/)[\\s\\S])*\\*\\/|[\\r\\n\\t]+/g, '')\n .replace(/ {2,}/g, ' ')\n .replace(/ ([{:}]) /g, '$1')\n .replace(/([;,]) /g, '$1')\n .replace(/ !/g, '!')\n .replace(/: /g, ':')\n : css;\n }\n\n public static toFlatCase(str: string) {\n // convert snake, kebab, camel and pascal cases to flat case\n return this.isString(str) ? str.replace(/(-|_)/g, '').toLowerCase() : str;\n }\n\n public static isString(value: any, empty: boolean = true) {\n return typeof value === 'string' && (empty || value !== '');\n }\n}\n","export var lastId = 0;\n\nexport function UniqueComponentId(prefix = 'pn_id_') {\n lastId++;\n\n return `${prefix}${lastId}`;\n}\n","function ZIndexUtils() {\n let zIndexes: any = [];\n\n const generateZIndex = (key, baseZIndex) => {\n let lastZIndex = zIndexes.length > 0 ? zIndexes[zIndexes.length - 1] : { key, value: baseZIndex };\n let newZIndex = lastZIndex.value + (lastZIndex.key === key ? 0 : baseZIndex) + 2;\n\n zIndexes.push({ key, value: newZIndex });\n\n return newZIndex;\n };\n\n const revertZIndex = (zIndex) => {\n zIndexes = zIndexes.filter((obj) => obj.value !== zIndex);\n };\n\n const getCurrentZIndex = () => {\n return zIndexes.length > 0 ? zIndexes[zIndexes.length - 1].value : 0;\n };\n\n const getZIndex = (el) => {\n return el ? parseInt(el.style.zIndex, 10) || 0 : 0;\n };\n\n return {\n get: getZIndex,\n set: (key, el, baseZIndex) => {\n if (el) {\n el.style.zIndex = String(generateZIndex(key, baseZIndex));\n }\n },\n clear: (el) => {\n if (el) {\n revertZIndex(getZIndex(el));\n el.style.zIndex = '';\n }\n },\n getCurrent: () => getCurrentZIndex(),\n generateZIndex,\n revertZIndex\n };\n}\n\nexport default ZIndexUtils();\n","export const transformToBoolean = (value: any): boolean => {\n return !!value;\n};\n\nexport const transformToNumber = (value: string | number): number => {\n return typeof value === 'string' ? parseFloat(value) : value;\n};\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":"MAAa,WAAW,CAAA;AACb,IAAA,OAAO,OAAO,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI,EAAA;AACrC,QAAA,OAAO,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,KAAK,IAA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C;AAC3B,gBAAA,EAAE,CAAC,KAAK,CAAC,MAAM,GAAG,EAAE;YACxB;QACJ,CAAC;AACD,QAAA,UAAU,EAAE,MAAM,gBAAgB,EAAE;QACpC,cAAc;QACd;KACH;AACL;AAEA,kBAAe,WAAW,EAAE;;AC3CrB,MAAM,kBAAkB,GAAG,CAAC,KAAU,KAAa;IACtD,OAAO,CAAC,CAAC,KAAK;AAClB;AAEO,MAAM,iBAAiB,GAAG,CAAC,KAAsB,KAAY;AAChE,IAAA,OAAO,OAAO,KAAK,KAAK,QAAQ,GAAG,UAAU,CAAC,KAAK,CAAC,GAAG,KAAK;AAChE;;ACNA;;AAEG;;;;"}
1
+ {"version":3,"file":"exhaustive-ui-core-utils.mjs","sources":["../../src/utils/objectutils.ts","../../src/utils/uniquecomponentid.ts","../../src/utils/zindexutils.ts","../../src/utils/inpututils.ts","../../src/utils/exhaustive-ui-core-utils.ts"],"sourcesContent":["export class ObjectUtils {\n public static isArray(value, empty = true) {\n return Array.isArray(value) && (empty || value.length !== 0);\n }\n\n public static isObject(value, empty = true) {\n return typeof value === 'object' && !Array.isArray(value) && value != null && (empty || Object.keys(value).length !== 0);\n }\n\n public static equals(obj1: any, obj2: any, field?: string): boolean {\n if (field) return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);\n else return this.equalsByValue(obj1, obj2);\n }\n\n public static equalsByValue(obj1: any, obj2: any): boolean {\n if (obj1 === obj2) return true;\n\n if (obj1 && obj2 && typeof obj1 == 'object' && typeof obj2 == 'object') {\n var arrA = Array.isArray(obj1),\n arrB = Array.isArray(obj2),\n i,\n length,\n key;\n\n if (arrA && arrB) {\n length = obj1.length;\n if (length != obj2.length) return false;\n for (i = length; i-- !== 0;) if (!this.equalsByValue(obj1[i], obj2[i])) return false;\n return true;\n }\n\n if (arrA != arrB) return false;\n\n var dateA = this.isDate(obj1),\n dateB = this.isDate(obj2);\n if (dateA != dateB) return false;\n if (dateA && dateB) return obj1.getTime() == obj2.getTime();\n\n var regexpA = obj1 instanceof RegExp,\n regexpB = obj2 instanceof RegExp;\n if (regexpA != regexpB) return false;\n if (regexpA && regexpB) return obj1.toString() == obj2.toString();\n\n var keys = Object.keys(obj1);\n length = keys.length;\n\n if (length !== Object.keys(obj2).length) return false;\n\n for (i = length; i-- !== 0;) if (!Object.prototype.hasOwnProperty.call(obj2, keys[i])) return false;\n\n for (i = length; i-- !== 0;) {\n key = keys[i];\n if (!this.equalsByValue(obj1[key], obj2[key])) return false;\n }\n\n return true;\n }\n\n return obj1 !== obj1 && obj2 !== obj2;\n }\n\n public static resolveFieldData(data: any, field: any): any {\n if (data && field) {\n if (this.isFunction(field)) {\n return field(data);\n } else if (field.indexOf('.') == -1) {\n return data[field];\n } else {\n let fields: string[] = field.split('.');\n let value = data;\n for (let i = 0, len = fields.length; i < len; ++i) {\n if (value == null) {\n return null;\n }\n value = value[fields[i]];\n }\n return value;\n }\n } else {\n return null;\n }\n }\n\n public static isFunction(obj: any) {\n return !!(obj && obj.constructor && obj.call && obj.apply);\n }\n\n public static reorderArray(value: any[], from: number, to: number) {\n let target: number;\n if (value && from !== to) {\n if (to >= value.length) {\n to %= value.length;\n from %= value.length;\n }\n value.splice(to, 0, value.splice(from, 1)[0]);\n }\n }\n\n public static insertIntoOrderedArray(item: any, index: number, arr: any[], sourceArr: any[]): void {\n if (arr.length > 0) {\n let injected = false;\n for (let i = 0; i < arr.length; i++) {\n let currentItemIndex = this.findIndexInList(arr[i], sourceArr);\n if (currentItemIndex > index) {\n arr.splice(i, 0, item);\n injected = true;\n break;\n }\n }\n\n if (!injected) {\n arr.push(item);\n }\n } else {\n arr.push(item);\n }\n }\n\n public static findIndexInList(item: any, list: any): number {\n let index: number = -1;\n\n if (list) {\n for (let i = 0; i < list.length; i++) {\n if (list[i] == item) {\n index = i;\n break;\n }\n }\n }\n\n return index;\n }\n\n public static contains(value, list) {\n if (value != null && list && list.length) {\n for (let val of list) {\n if (this.equals(value, val)) return true;\n }\n }\n\n return false;\n }\n\n public static removeAccents(str) {\n if (str) {\n str = str.normalize('NFKD').replace(/\\p{Diacritic}/gu, '');\n }\n\n return str;\n }\n\n public static isDate(input: any) {\n return Object.prototype.toString.call(input) === '[object Date]';\n }\n\n public static isEmpty(value) {\n return value === null || value === undefined || value === '' || (Array.isArray(value) && value.length === 0) || (!this.isDate(value) && typeof value === 'object' && Object.keys(value).length === 0);\n }\n\n public static isNotEmpty(value) {\n return !this.isEmpty(value);\n }\n\n public static compare(value1, value2, locale, order = 1) {\n let result = -1;\n const emptyValue1 = this.isEmpty(value1);\n const emptyValue2 = this.isEmpty(value2);\n\n if (emptyValue1 && emptyValue2) result = 0;\n else if (emptyValue1) result = order;\n else if (emptyValue2) result = -order;\n else if (typeof value1 === 'string' && typeof value2 === 'string') result = value1.localeCompare(value2, locale, { numeric: true });\n else result = value1 < value2 ? -1 : value1 > value2 ? 1 : 0;\n\n return result;\n }\n\n public static sort(value1, value2, order = 1, locale, nullSortOrder = 1) {\n const result = ObjectUtils.compare(value1, value2, locale, order);\n let finalSortOrder = order;\n\n // nullSortOrder == 1 means Excel like sort nulls at bottom\n if (ObjectUtils.isEmpty(value1) || ObjectUtils.isEmpty(value2)) {\n finalSortOrder = nullSortOrder === 1 ? order : nullSortOrder;\n }\n\n return finalSortOrder * result;\n }\n\n public static merge(obj1?: any, obj2?: any): any {\n if (obj1 == undefined && obj2 == undefined) {\n return undefined;\n } else if ((obj1 == undefined || typeof obj1 === 'object') && (obj2 == undefined || typeof obj2 === 'object')) {\n return { ...(obj1 || {}), ...(obj2 || {}) };\n } else if ((obj1 == undefined || typeof obj1 === 'string') && (obj2 == undefined || typeof obj2 === 'string')) {\n return [obj1 || '', obj2 || ''].join(' ');\n }\n\n return obj2 || obj1;\n }\n\n public static isPrintableCharacter(char = '') {\n return this.isNotEmpty(char) && char.length === 1 && char.match(/\\S| /);\n }\n\n public static getItemValue(obj, ...params) {\n return this.isFunction(obj) ? obj(...params) : obj;\n }\n\n public static findLastIndex(arr, callback) {\n let index = -1;\n\n if (this.isNotEmpty(arr)) {\n try {\n index = arr.findLastIndex(callback);\n } catch {\n index = arr.lastIndexOf([...arr].reverse().find(callback));\n }\n }\n\n return index;\n }\n\n public static findLast(arr, callback) {\n let item;\n\n if (this.isNotEmpty(arr)) {\n try {\n item = arr.findLast(callback);\n } catch {\n item = [...arr].reverse().find(callback);\n }\n }\n\n return item;\n }\n\n public static deepEquals(a, b) {\n if (a === b) return true;\n\n if (a && b && typeof a == 'object' && typeof b == 'object') {\n var arrA = Array.isArray(a),\n arrB = Array.isArray(b),\n i,\n length,\n key;\n\n if (arrA && arrB) {\n length = a.length;\n if (length != b.length) return false;\n for (i = length; i-- !== 0;) if (!this.deepEquals(a[i], b[i])) return false;\n\n return true;\n }\n\n if (arrA != arrB) return false;\n\n var dateA = a instanceof Date,\n dateB = b instanceof Date;\n\n if (dateA != dateB) return false;\n if (dateA && dateB) return a.getTime() == b.getTime();\n\n var regexpA = a instanceof RegExp,\n regexpB = b instanceof RegExp;\n\n if (regexpA != regexpB) return false;\n if (regexpA && regexpB) return a.toString() == b.toString();\n\n var keys = Object.keys(a);\n\n length = keys.length;\n\n if (length !== Object.keys(b).length) return false;\n\n for (i = length; i-- !== 0;) if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;\n\n for (i = length; i-- !== 0;) {\n key = keys[i];\n if (!this.deepEquals(a[key], b[key])) return false;\n }\n\n return true;\n }\n\n return a !== a && b !== b;\n }\n\n public static minifyCSS(css) {\n return css\n ? css\n .replace(/\\/\\*(?:(?!\\*\\/)[\\s\\S])*\\*\\/|[\\r\\n\\t]+/g, '')\n .replace(/ {2,}/g, ' ')\n .replace(/ ([{:}]) /g, '$1')\n .replace(/([;,]) /g, '$1')\n .replace(/ !/g, '!')\n .replace(/: /g, ':')\n : css;\n }\n\n public static toFlatCase(str: string) {\n // convert snake, kebab, camel and pascal cases to flat case\n return this.isString(str) ? str.replace(/(-|_)/g, '').toLowerCase() : str;\n }\n\n public static isString(value: any, empty: boolean = true) {\n return typeof value === 'string' && (empty || value !== '');\n }\n}\n","export var lastId = 0;\n\nexport function UniqueComponentId(prefix = 'pn_id_') {\n lastId++;\n\n return `${prefix}${lastId}`;\n}\n","function ZIndexUtils() {\n let zIndexes: any = [];\n\n const generateZIndex = (key, baseZIndex) => {\n let lastZIndex = zIndexes.length > 0 ? zIndexes[zIndexes.length - 1] : { key, value: baseZIndex };\n let newZIndex = lastZIndex.value + (lastZIndex.key === key ? 0 : baseZIndex) + 2;\n\n zIndexes.push({ key, value: newZIndex });\n\n return newZIndex;\n };\n\n const revertZIndex = (zIndex) => {\n zIndexes = zIndexes.filter((obj) => obj.value !== zIndex);\n };\n\n const getCurrentZIndex = () => {\n return zIndexes.length > 0 ? zIndexes[zIndexes.length - 1].value : 0;\n };\n\n const getZIndex = (el) => {\n return el ? parseInt(el.style.zIndex, 10) || 0 : 0;\n };\n\n return {\n get: getZIndex,\n set: (key, el, baseZIndex) => {\n if (el) {\n el.style.zIndex = String(generateZIndex(key, baseZIndex));\n }\n },\n clear: (el) => {\n if (el) {\n revertZIndex(getZIndex(el));\n el.style.zIndex = '';\n }\n },\n getCurrent: () => getCurrentZIndex(),\n generateZIndex,\n revertZIndex\n };\n}\n\nexport default ZIndexUtils();\n","export const transformToBoolean = (value: any): boolean => {\n // a bare attribute (<p-accordion multiple>) is bound as an empty string\n return value === '' || !!value;\n};\n\nexport const transformToNumber = (value: string | number): number => {\n return typeof value === 'string' ? parseFloat(value) : value;\n};\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":"MAAa,WAAW,CAAA;AACb,IAAA,OAAO,OAAO,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI,EAAA;AACrC,QAAA,OAAO,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,KAAK,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,CAAC;IAChE;AAEO,IAAA,OAAO,QAAQ,CAAC,KAAK,EAAE,KAAK,GA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AE,MAAM,gBAAgB,EAAE;QACpC,cAAc;QACd;KACH;AACL;AAEA,kBAAe,WAAW,EAAE;;AC3CrB,MAAM,kBAAkB,GAAG,CAAC,KAAU,KAAa;;AAEtD,IAAA,OAAO,KAAK,KAAK,EAAE,IAAI,CAAC,CAAC,KAAK;AAClC;AAEO,MAAM,iBAAiB,GAAG,CAAC,KAAsB,KAAY;AAChE,IAAA,OAAO,OAAO,KAAK,KAAK,QAAQ,GAAG,UAAU,CAAC,KAAK,CAAC,GAAG,KAAK;AAChE;;ACPA;;AAEG;;;;"}
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@exhaustive-ui/core",
3
- "version": "22.0.0-alpha.0",
3
+ "version": "22.0.0-alpha.10",
4
4
  "author": "e-xiste",
5
5
  "description": "ExhaustiveUI is a community-maintained, MIT licensed UI library for Angular with 80+ accessible components and design-agnostic theming, including Aura, Material, Lara and Nora presets.",
6
- "homepage": "https://exhaustive-ui.e-xiste.com/",
6
+ "homepage": "https://exhaustive-ui.com/",
7
7
  "license": "MIT",
8
8
  "repository": {
9
9
  "type": "git",
@@ -56,10 +56,10 @@
56
56
  },
57
57
  "dependencies": {
58
58
  "tslib": "^2.3.0",
59
- "@exhaustive-ui/motion": "22.0.0-alpha.0",
60
- "@exhaustive-ui/styles": "22.0.0-alpha.0",
61
- "@exhaustive-ui/utils": "22.0.0-alpha.0",
62
- "@exhaustive-ui/styled": "22.0.0-alpha.0"
59
+ "@exhaustive-ui/motion": "22.0.0-alpha.10",
60
+ "@exhaustive-ui/styles": "22.0.0-alpha.10",
61
+ "@exhaustive-ui/styled": "22.0.0-alpha.10",
62
+ "@exhaustive-ui/utils": "22.0.0-alpha.10"
63
63
  },
64
64
  "peerDependenciesMeta": {
65
65
  "chart.js": {
@@ -167,7 +167,7 @@ function isLockfile(path) {
167
167
  const basename = path.slice(path.lastIndexOf('/') + 1);
168
168
  return LOCKFILE_NAMES.has(basename);
169
169
  }
170
- const MIGRATION_GUIDE_URL = 'https://exhaustive-ui.e-xiste.com/migration/primeng';
170
+ const MIGRATION_GUIDE_URL = 'https://exhaustive-ui.com/migration/primeng';
171
171
  function reportLeftovers(tree, context, isIgnored) {
172
172
  const leftovers = [];
173
173
  const files = new Set();
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.REMOVED_INPUT_GROUPS = void 0;
3
4
  exports.default = default_1;
4
5
  const package_json_1 = require("../../utils/package-json");
5
6
  const removed_outputs_1 = require("../../utils/removed-outputs");
@@ -81,7 +82,7 @@ const removed_inputs_1 = require("../../utils/removed-inputs");
81
82
  * `filterFields` on MultiSelect was stored but never read: the filter searches `filterBy`, else `optionLabel`
82
83
  * (kept out of the leftover scan, Select and Listbox still read it).
83
84
  */
84
- const REMOVED_INPUT_GROUPS = [
85
+ exports.REMOVED_INPUT_GROUPS = [
85
86
  { selector: 'p-toast', names: ['showTransformOptions', 'hideTransformOptions', 'showTransitionOptions', 'hideTransitionOptions'] },
86
87
  { selector: 'p-toastItem', names: ['showTransformOptions', 'hideTransformOptions', 'showTransitionOptions', 'hideTransitionOptions'] },
87
88
  { selector: 'p-message', names: ['showTransitionOptions', 'hideTransitionOptions'] },
@@ -171,7 +172,7 @@ const REMOVED_INPUT_GROUPS = [
171
172
  * `visible`, and Scroller still exposes `itemSize`.
172
173
  * Table's `frozenColumns`/`frozenWidth` are left out too: TreeTable still exposes working inputs of the same names.
173
174
  */
174
- const LEFTOVER_SCAN_NAMES = Array.from(new Set(REMOVED_INPUT_GROUPS.flatMap((group) => group.names))).filter((name) => ![
175
+ const LEFTOVER_SCAN_NAMES = Array.from(new Set(exports.REMOVED_INPUT_GROUPS.flatMap((group) => group.names))).filter((name) => ![
175
176
  'size',
176
177
  'transitionOptions',
177
178
  'inputId',
@@ -254,7 +255,7 @@ function default_1() {
254
255
  if (original === undefined) {
255
256
  return;
256
257
  }
257
- const result = (0, removed_inputs_1.removeDeadInputsInHtml)(original, REMOVED_INPUT_GROUPS);
258
+ const result = (0, removed_inputs_1.removeDeadInputsInHtml)(original, exports.REMOVED_INPUT_GROUPS);
258
259
  if (result.changed) {
259
260
  tree.overwrite(path, result.text);
260
261
  filesChanged++;
@@ -267,7 +268,7 @@ function default_1() {
267
268
  if (original === undefined) {
268
269
  return;
269
270
  }
270
- const result = (0, removed_inputs_1.removeDeadInputsInTypeScript)(path, original, REMOVED_INPUT_GROUPS);
271
+ const result = (0, removed_inputs_1.removeDeadInputsInTypeScript)(path, original, exports.REMOVED_INPUT_GROUPS);
271
272
  let text = original;
272
273
  if (result.changed) {
273
274
  text = result.text;
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.REMOVED_OUTPUT_GROUPS = void 0;
3
4
  exports.default = default_1;
4
5
  const package_json_1 = require("../../utils/package-json");
5
6
  const removed_outputs_1 = require("../../utils/removed-outputs");
6
- const REMOVED_OUTPUT_GROUPS = [
7
+ exports.REMOVED_OUTPUT_GROUPS = [
7
8
  {
8
9
  label: 'Overlay onAnimationStart/onAnimationDone',
9
10
  names: ['onAnimationStart', 'onAnimationDone'],
@@ -47,7 +48,7 @@ function default_1() {
47
48
  }
48
49
  let text = original;
49
50
  let changed = false;
50
- for (const group of REMOVED_OUTPUT_GROUPS) {
51
+ for (const group of exports.REMOVED_OUTPUT_GROUPS) {
51
52
  const result = (0, removed_outputs_1.removeBindings)(text, group.names);
52
53
  if (result.changed) {
53
54
  text = result.text;
@@ -68,7 +69,7 @@ function default_1() {
68
69
  }
69
70
  let text = original;
70
71
  let changed = false;
71
- for (const group of REMOVED_OUTPUT_GROUPS) {
72
+ for (const group of exports.REMOVED_OUTPUT_GROUPS) {
72
73
  const result = (0, removed_outputs_1.removeBindingsInTypeScript)(path, text, group.names);
73
74
  if (result.changed) {
74
75
  text = result.text;
@@ -81,7 +82,7 @@ function default_1() {
81
82
  tree.overwrite(path, text);
82
83
  filesChanged++;
83
84
  }
84
- for (const group of REMOVED_OUTPUT_GROUPS) {
85
+ for (const group of exports.REMOVED_OUTPUT_GROUPS) {
85
86
  const lines = (0, removed_outputs_1.findLeftoversInTypeScript)(path, text, group.names);
86
87
  if (lines.length === 0) {
87
88
  continue;
@@ -100,7 +101,7 @@ function default_1() {
100
101
  else {
101
102
  context.logger.info('No bindings for the removed outputs were found to remove.');
102
103
  }
103
- for (const group of REMOVED_OUTPUT_GROUPS) {
104
+ for (const group of exports.REMOVED_OUTPUT_GROUPS) {
104
105
  const leftovers = leftoversByGroup.get(group);
105
106
  if (!leftovers || leftovers.length === 0) {
106
107
  continue;
@@ -1,11 +1,11 @@
1
1
  {
2
- "@exhaustive-ui/core": "^22.0.0-alpha.0",
3
- "@exhaustive-ui/locale": "^22.0.0-alpha.0",
4
- "@exhaustive-ui/motion": "^22.0.0-alpha.0",
5
- "@exhaustive-ui/styled": "^22.0.0-alpha.0",
6
- "@exhaustive-ui/styles": "^22.0.0-alpha.0",
7
- "@exhaustive-ui/tailwindcss": "^22.0.0-alpha.0",
8
- "@exhaustive-ui/themes": "^22.0.0-alpha.0",
9
- "@exhaustive-ui/utils": "^22.0.0-alpha.0",
2
+ "@exhaustive-ui/core": "^22.0.0-alpha.10",
3
+ "@exhaustive-ui/locale": "^22.0.0-alpha.10",
4
+ "@exhaustive-ui/motion": "^22.0.0-alpha.10",
5
+ "@exhaustive-ui/styled": "^22.0.0-alpha.10",
6
+ "@exhaustive-ui/styles": "^22.0.0-alpha.10",
7
+ "@exhaustive-ui/tailwindcss": "^22.0.0-alpha.10",
8
+ "@exhaustive-ui/themes": "^22.0.0-alpha.10",
9
+ "@exhaustive-ui/utils": "^22.0.0-alpha.10",
10
10
  "@openng/icons": "^1.0.0"
11
11
  }
@@ -15,7 +15,7 @@ import * as i2 from '@exhaustive-ui/core/ripple';
15
15
  *
16
16
  * Accordion groups a collection of contents in tabs.
17
17
  *
18
- * [Live Demo](https://exhaustive-ui.e-xiste.com/accordion/)
18
+ * [Live Demo](https://exhaustive-ui.com/accordion/)
19
19
  *
20
20
  * @module accordionstyle
21
21
  *
@@ -17,7 +17,7 @@ import { BaseStyle } from '@exhaustive-ui/core/base';
17
17
  *
18
18
  * AutoComplete is an input component that provides real-time suggestions while being typed.
19
19
  *
20
- * [Live Demo](https://exhaustive-ui.e-xiste.com/autocomplete/)
20
+ * [Live Demo](https://exhaustive-ui.com/autocomplete/)
21
21
  *
22
22
  * @module autocompletestyle
23
23
  *
@@ -105,6 +105,8 @@ declare class AutoCompleteStyle extends BaseStyle {
105
105
  }) => (string | {
106
106
  'p-disabled': any;
107
107
  'p-variant-filled': boolean;
108
+ 'p-autocomplete-input-multiple-sm': boolean;
109
+ 'p-autocomplete-input-multiple-lg': boolean;
108
110
  })[];
109
111
  chipItem: ({ instance, i }: {
110
112
  instance: any;
@@ -11,7 +11,7 @@ declare class AutoFocus extends BaseComponent {
11
11
  * When present, it specifies that the component should automatically get focus on load.
12
12
  * @group Props
13
13
  */
14
- autofocus: i0.InputSignal<boolean>;
14
+ autofocus: i0.InputSignalWithTransform<boolean, unknown>;
15
15
  focused: i0.WritableSignal<boolean>;
16
16
  host: ElementRef;
17
17
  constructor();
@@ -12,7 +12,7 @@ import * as i2 from '@exhaustive-ui/core/api';
12
12
  *
13
13
  * Avatar represents people using icons, labels and images.
14
14
  *
15
- * - [Live Demo](https://exhaustive-ui.e-xiste.com/avatar)
15
+ * - [Live Demo](https://exhaustive-ui.com/avatar)
16
16
  *
17
17
  * @module avatarstyle
18
18
  *
@@ -10,7 +10,7 @@ import * as i2 from '@exhaustive-ui/core/api';
10
10
  *
11
11
  * A set of Avatars can be displayed together using the AvatarGroup component.
12
12
  *
13
- * [Live Demo](https://exhaustive-ui.e-xiste.com/avatar/)
13
+ * [Live Demo](https://exhaustive-ui.com/avatar/)
14
14
  *
15
15
  * @module avatargroupstyle
16
16
  *
@@ -10,7 +10,7 @@ import * as i2 from '@exhaustive-ui/core/api';
10
10
  *
11
11
  * Badge represents people using icons, labels and images.
12
12
  *
13
- * [Live Demo](https://exhaustive-ui.e-xiste.com/badge)
13
+ * [Live Demo](https://exhaustive-ui.com/badge)
14
14
  *
15
15
  * @module badgestyle
16
16
  *
@@ -27,7 +27,7 @@ declare class BlockUiStyle extends BaseStyle {
27
27
  *
28
28
  * BlockUI represents people using icons, labels and images.
29
29
  *
30
- * [Live Demo](https://exhaustive-ui.e-xiste.com/blockui)
30
+ * [Live Demo](https://exhaustive-ui.com/blockui)
31
31
  *
32
32
  * @module blockuistyle
33
33
  *
@@ -35,7 +35,7 @@ declare class BreadCrumbStyle extends BaseStyle {
35
35
  *
36
36
  * Breadcrumb provides contextual information about page hierarchy.
37
37
  *
38
- * [Live Demo](https://exhaustive-ui.e-xiste.com/breadcrumb/)
38
+ * [Live Demo](https://exhaustive-ui.com/breadcrumb/)
39
39
  *
40
40
  * @module breadcrumbstyle
41
41
  *
@@ -16,7 +16,7 @@ import * as i2 from '@angular/common';
16
16
  *
17
17
  * Button is an extension to standard button element with icons and theming.
18
18
  *
19
- * [Live Demo](https://exhaustive-ui.e-xiste.com/button/)
19
+ * [Live Demo](https://exhaustive-ui.com/button/)
20
20
  *
21
21
  * @module buttonstyle
22
22
  *
@@ -216,6 +216,7 @@ declare class ButtonDirective extends BaseComponent {
216
216
  initialized: _angular_core.WritableSignal<boolean | undefined>;
217
217
  private get htmlElement();
218
218
  private _internalClasses;
219
+ private _appliedClasses;
219
220
  pcFluid: Fluid | null;
220
221
  isTextButton: _angular_core.Signal<boolean>;
221
222
  /**
@@ -354,6 +355,16 @@ declare class Button extends BaseComponent<ButtonPassThrough> {
354
355
  * @group Props
355
356
  */
356
357
  readonly ariaLabel: _angular_core.InputSignal<string | undefined>;
358
+ /**
359
+ * Value of the aria-expanded attribute of the button, for a button that shows or hides an element.
360
+ * @group Props
361
+ */
362
+ readonly ariaExpanded: _angular_core.InputSignal<boolean | undefined>;
363
+ /**
364
+ * Id of the element the button controls, set as its aria-controls attribute.
365
+ * @group Props
366
+ */
367
+ readonly ariaControls: _angular_core.InputSignal<string | undefined>;
357
368
  /**
358
369
  * When present, it specifies that the component should automatically get focus on load.
359
370
  * @group Props
@@ -447,7 +458,7 @@ declare class Button extends BaseComponent<ButtonPassThrough> {
447
458
  readonly dataIconP: _angular_core.Signal<string | undefined>;
448
459
  readonly dataLabelP: _angular_core.Signal<string | undefined>;
449
460
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<Button, never>;
450
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<Button, "p-button", never, { "hostName": { "alias": "hostName"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "badge": { "alias": "badge"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "raised": { "alias": "raised"; "required": false; "isSignal": true; }; "rounded": { "alias": "rounded"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; "plain": { "alias": "plain"; "required": false; "isSignal": true; }; "outlined": { "alias": "outlined"; "required": false; "isSignal": true; }; "link": { "alias": "link"; "required": false; "isSignal": true; }; "tabindex": { "alias": "tabindex"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "style": { "alias": "style"; "required": false; "isSignal": true; }; "styleClass": { "alias": "styleClass"; "required": false; "isSignal": true; }; "badgeSeverity": { "alias": "badgeSeverity"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "autofocus": { "alias": "autofocus"; "required": false; "isSignal": true; }; "iconPos": { "alias": "iconPos"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "loadingIcon": { "alias": "loadingIcon"; "required": false; "isSignal": true; }; "severity": { "alias": "severity"; "required": false; "isSignal": true; }; "buttonProps": { "alias": "buttonProps"; "required": false; "isSignal": true; }; "fluid": { "alias": "fluid"; "required": false; "isSignal": true; }; }, { "onClick": "onClick"; "onFocus": "onFocus"; "onBlur": "onBlur"; }, ["contentTemplate", "loadingIconTemplate", "iconTemplate", "templates"], ["*"], true, [{ directive: typeof i1.Bind; inputs: {}; outputs: {}; }]>;
461
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<Button, "p-button", never, { "hostName": { "alias": "hostName"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "badge": { "alias": "badge"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "raised": { "alias": "raised"; "required": false; "isSignal": true; }; "rounded": { "alias": "rounded"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; "plain": { "alias": "plain"; "required": false; "isSignal": true; }; "outlined": { "alias": "outlined"; "required": false; "isSignal": true; }; "link": { "alias": "link"; "required": false; "isSignal": true; }; "tabindex": { "alias": "tabindex"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "style": { "alias": "style"; "required": false; "isSignal": true; }; "styleClass": { "alias": "styleClass"; "required": false; "isSignal": true; }; "badgeSeverity": { "alias": "badgeSeverity"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "ariaExpanded": { "alias": "ariaExpanded"; "required": false; "isSignal": true; }; "ariaControls": { "alias": "ariaControls"; "required": false; "isSignal": true; }; "autofocus": { "alias": "autofocus"; "required": false; "isSignal": true; }; "iconPos": { "alias": "iconPos"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "loadingIcon": { "alias": "loadingIcon"; "required": false; "isSignal": true; }; "severity": { "alias": "severity"; "required": false; "isSignal": true; }; "buttonProps": { "alias": "buttonProps"; "required": false; "isSignal": true; }; "fluid": { "alias": "fluid"; "required": false; "isSignal": true; }; }, { "onClick": "onClick"; "onFocus": "onFocus"; "onBlur": "onBlur"; }, ["contentTemplate", "loadingIconTemplate", "iconTemplate", "templates"], ["*"], true, [{ directive: typeof i1.Bind; inputs: {}; outputs: {}; }]>;
451
462
  }
452
463
  declare class ButtonModule {
453
464
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ButtonModule, never>;
@@ -6,7 +6,7 @@ import * as i0 from '@angular/core';
6
6
  *
7
7
  * A set of Buttons can be displayed together using the ButtonGroup component.
8
8
  *
9
- * [Live Demo](https://exhaustive-ui.e-xiste.com/button/)
9
+ * [Live Demo](https://exhaustive-ui.com/button/)
10
10
  *
11
11
  * @module buttongroupstyle
12
12
  *
@@ -13,7 +13,7 @@ import { BaseStyle } from '@exhaustive-ui/core/base';
13
13
  *
14
14
  * Card is a flexible container component.
15
15
  *
16
- * [Live Demo](https://exhaustive-ui.e-xiste.com/card/)
16
+ * [Live Demo](https://exhaustive-ui.com/card/)
17
17
  *
18
18
  * @module cardstyle
19
19
  *
@@ -15,7 +15,7 @@ import { BaseStyle } from '@exhaustive-ui/core/base';
15
15
  *
16
16
  * Carousel is a content slider featuring various customization options.
17
17
  *
18
- * [Live Demo](https://exhaustive-ui.e-xiste.com/carousel/)
18
+ * [Live Demo](https://exhaustive-ui.com/carousel/)
19
19
  *
20
20
  * @module carouselstyle
21
21
  *
@@ -18,7 +18,7 @@ import { BaseStyle } from '@exhaustive-ui/core/base';
18
18
  *
19
19
  * CascadeSelect is a form component to select a value from a nested structure of options.
20
20
  *
21
- * [Live Demo](https://exhaustive-ui.e-xiste.com/cascadeselect/)
21
+ * [Live Demo](https://exhaustive-ui.com/cascadeselect/)
22
22
  *
23
23
  * @module cascadeselectstyle
24
24
  *
@@ -11,7 +11,7 @@ import * as i2 from '@exhaustive-ui/core/api';
11
11
  *
12
12
  * Chart groups a collection of contents in tabs.
13
13
  *
14
- * [Live Demo](https://exhaustive-ui.e-xiste.com/chart/)
14
+ * [Live Demo](https://exhaustive-ui.com/chart/)
15
15
  *
16
16
  * @module chartstyle
17
17
  *
@@ -14,7 +14,7 @@ import { BaseStyle } from '@exhaustive-ui/core/base';
14
14
  *
15
15
  * Checkbox is an extension to standard checkbox element with theming.
16
16
  *
17
- * [Live Demo](https://exhaustive-ui.e-xiste.com/checkbox/)
17
+ * [Live Demo](https://exhaustive-ui.com/checkbox/)
18
18
  *
19
19
  * @module checkboxstyle
20
20
  *
@@ -14,7 +14,7 @@ import { BaseStyle } from '@exhaustive-ui/core/base';
14
14
  *
15
15
  * Chip represents people using icons, labels and images.
16
16
  *
17
- * [Live Demo](https://exhaustive-ui.e-xiste.com/chip)
17
+ * [Live Demo](https://exhaustive-ui.com/chip)
18
18
  *
19
19
  * @module chipstyle
20
20
  *
@@ -16,7 +16,7 @@ import { BaseStyle } from '@exhaustive-ui/core/base';
16
16
  *
17
17
  * ColorPicker groups a collection of contents in tabs.
18
18
  *
19
- * [Live Demo](https://exhaustive-ui.e-xiste.com/colorpicker/)
19
+ * [Live Demo](https://exhaustive-ui.com/colorpicker/)
20
20
  *
21
21
  * @module colorpickerstyle
22
22
  *
@@ -1,10 +1,12 @@
1
1
  import * as _angular_core from '@angular/core';
2
- import { TemplateRef } from '@angular/core';
2
+ import { TemplateRef, ElementRef } from '@angular/core';
3
3
  import * as i2 from '@exhaustive-ui/core/api';
4
4
  import { ConfirmEventType, PrimeTemplate, Confirmation } from '@exhaustive-ui/core/api';
5
5
  import { BaseComponent } from '@exhaustive-ui/core/basecomponent';
6
6
  import * as i1 from '@exhaustive-ui/core/bind';
7
7
  import { Bind } from '@exhaustive-ui/core/bind';
8
+ import { ButtonProps } from '@exhaustive-ui/core/button';
9
+ import { Dialog } from '@exhaustive-ui/core/dialog';
8
10
  import { Nullable } from '@exhaustive-ui/core/ts-helpers';
9
11
  import { ConfirmDialogPassThrough, ConfirmDialogMessageTemplateContext, ConfirmDialogHeadlessTemplateContext } from '@exhaustive-ui/core/types/confirmdialog';
10
12
  export * from '@exhaustive-ui/core/types/confirmdialog';
@@ -16,7 +18,7 @@ import { BaseStyle } from '@exhaustive-ui/core/base';
16
18
  *
17
19
  * ConfirmDialog uses a Dialog UI with confirmDialog method or <ConfirmDialog> tag.
18
20
  *
19
- * [Live Demo](https://exhaustive-ui.e-xiste.com/confirmdialog)
21
+ * [Live Demo](https://exhaustive-ui.com/confirmdialog)
20
22
  *
21
23
  * @module confirmdialogstyle
22
24
  *
@@ -259,6 +261,10 @@ declare class ConfirmDialog extends BaseComponent<ConfirmDialogPassThrough> {
259
261
  _iconTemplate: _angular_core.Signal<TemplateRef<void> | undefined>;
260
262
  _headlessTemplate: _angular_core.Signal<TemplateRef<ConfirmDialogHeadlessTemplateContext> | undefined>;
261
263
  confirmation: _angular_core.WritableSignal<Nullable<Confirmation>>;
264
+ readonly dialogViewChild: _angular_core.Signal<Dialog | undefined>;
265
+ _closeButtonProps: _angular_core.Signal<ButtonProps>;
266
+ readonly acceptButtonViewChild: _angular_core.Signal<ElementRef<any> | undefined>;
267
+ readonly rejectButtonViewChild: _angular_core.Signal<ElementRef<any> | undefined>;
262
268
  subscription: Subscription;
263
269
  translationSubscription: Subscription | undefined;
264
270
  constructor();
@@ -266,13 +272,18 @@ declare class ConfirmDialog extends BaseComponent<ConfirmDialogPassThrough> {
266
272
  option(name: string, k?: string): any;
267
273
  getButtonStyleClass(cx: string, opt: string): string;
268
274
  close(): void;
269
- hide(type?: ConfirmEventType): void;
275
+ hide(type?: ConfirmEventType, confirmation?: Nullable<Confirmation>): void;
276
+ /**
277
+ * Applies the defaultFocus of the confirmation ('accept', 'reject', 'close' or 'none') once the dialog is shown.
278
+ * Without defaultFocus the inner Dialog focuses its first focusable element itself (focusOnShow).
279
+ */
280
+ onDialogShow(): void;
270
281
  onDialogHide(): void;
271
282
  onDestroy(): void;
272
283
  onVisibleChange(value: boolean): void;
273
284
  onAccept(): void;
274
285
  onReject(): void;
275
- unsubscribeConfirmationEvents(): void;
286
+ unsubscribeConfirmationEvents(confirmation?: Nullable<Confirmation>): void;
276
287
  get acceptButtonLabel(): string;
277
288
  get rejectButtonLabel(): string;
278
289
  getAcceptButtonProps(): any;
@@ -17,7 +17,7 @@ import { BaseStyle } from '@exhaustive-ui/core/base';
17
17
  *
18
18
  * ConfirmPopup displays a confirmation overlay displayed relatively to its target.
19
19
  *
20
- * [Live Demo](https://exhaustive-ui.e-xiste.com/confirmpopup)
20
+ * [Live Demo](https://exhaustive-ui.com/confirmpopup)
21
21
  *
22
22
  * @module confirmpopupstyle
23
23
  *
@@ -15,7 +15,7 @@ import { BaseStyle } from '@exhaustive-ui/core/base';
15
15
  * ContextMenu displays an overlay menu on right click of its target. Note that components like DataTable has special integration with ContextMenu.
16
16
  * Refer to documentation of the individual documentation of the with context menu support.
17
17
  *
18
- * [Live Demo](https://exhaustive-ui.e-xiste.com/contextmenu/)
18
+ * [Live Demo](https://exhaustive-ui.com/contextmenu/)
19
19
  *
20
20
  * @module contextmenustyle
21
21
  *
@@ -15,7 +15,7 @@ import { BaseStyle } from '@exhaustive-ui/core/base';
15
15
  *
16
16
  * DataView displays data in grid or list layout with pagination and sorting features.
17
17
  *
18
- * [Live Demo](https://exhaustive-ui.e-xiste.com/dataview/)
18
+ * [Live Demo](https://exhaustive-ui.com/dataview/)
19
19
  *
20
20
  * @module dataviewstyle
21
21
  *