@pantograph/vue 0.25.4 → 0.25.6

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 (301) hide show
  1. package/dist/ActionButton/ActionButton.d.ts +174 -11
  2. package/dist/ActionButton/index.js +1 -1
  3. package/dist/ActionButton/index.umd.cjs +1 -1
  4. package/dist/{ActionButton.vue_vue_type_script_setup_true_lang-uwPzOpXQ.js → ActionButton.vue_vue_type_script_setup_true_lang-BOiXNbKw.js} +1 -1
  5. package/dist/{ActionButton.vue_vue_type_script_setup_true_lang-DgRldvF-.js → ActionButton.vue_vue_type_script_setup_true_lang-DBykKGHQ.js} +1 -1
  6. package/dist/Alert/Alert.d.ts +4 -3
  7. package/dist/Alert/index.js +1 -1
  8. package/dist/Alert/index.umd.cjs +1 -1
  9. package/dist/{Alert.vue_vue_type_style_index_0_lang-CsM-N2Dn.js → Alert.vue_vue_type_style_index_0_lang-B1JrRGlL.js} +21 -19
  10. package/dist/Alert.vue_vue_type_style_index_0_lang-iIyhPLmR.js +1 -0
  11. package/dist/Avatar/Avatar.d.ts +4 -4
  12. package/dist/Avatar/index.js +1 -1
  13. package/dist/Avatar/index.umd.cjs +1 -1
  14. package/dist/{Avatar.vue_vue_type_style_index_0_lang-BU_5Uc1h.js → Avatar.vue_vue_type_style_index_0_lang-560JMJs8.js} +3 -3
  15. package/dist/{Avatar.vue_vue_type_style_index_0_lang-BmD6RFO6.js → Avatar.vue_vue_type_style_index_0_lang-B2n3kzDz.js} +1 -1
  16. package/dist/AvatarGroup/AvatarGroup.d.ts +1 -1
  17. package/dist/AvatarGroup/index.js +1 -1
  18. package/dist/AvatarGroup/index.umd.cjs +1 -1
  19. package/dist/Badge/Badge.d.ts +2 -1
  20. package/dist/Badge/index.js +1 -1
  21. package/dist/Badge/index.umd.cjs +1 -1
  22. package/dist/{Badge.vue_vue_type_script_setup_true_lang-BNoY52kq.js → Badge.vue_vue_type_script_setup_true_lang-Btr5ZeJl.js} +1 -1
  23. package/dist/{Badge.vue_vue_type_script_setup_true_lang-D4qWXPmE.js → Badge.vue_vue_type_script_setup_true_lang-Kd8vLJ1r.js} +1 -1
  24. package/dist/Base/BaseBadge/BaseBadge.d.ts +3 -2
  25. package/dist/Base/BaseButton/BaseButton.d.ts +45 -7
  26. package/dist/Base/BaseInput/BaseInput.d.ts +1 -1
  27. package/dist/{BaseBadge.vue_vue_type_style_index_0_lang-iBj3bp4f.js → BaseBadge.vue_vue_type_style_index_0_lang-no7MMMcb.js} +21 -21
  28. package/dist/BaseBadge.vue_vue_type_style_index_0_lang-tjWWO1Eb.js +1 -0
  29. package/dist/{BaseButton.vue_vue_type_style_index_0_lang-C_rzn0QQ.js → BaseButton.vue_vue_type_style_index_0_lang-DyR-qPkq.js} +1 -1
  30. package/dist/{BaseButton.vue_vue_type_style_index_0_lang-C90xeF5w.js → BaseButton.vue_vue_type_style_index_0_lang-gx7pLyR8.js} +5 -5
  31. package/dist/{BaseInput.vue_vue_type_style_index_0_lang-D1-OgRQO.js → BaseInput.vue_vue_type_style_index_0_lang-BOCVi3J8.js} +1 -1
  32. package/dist/{BaseInput.vue_vue_type_style_index_0_lang-Bh5c8r40.js → BaseInput.vue_vue_type_style_index_0_lang-CZMdvNIt.js} +1 -1
  33. package/dist/Button/Button.d.ts +179 -16
  34. package/dist/Button/index.js +1 -1
  35. package/dist/Button/index.umd.cjs +1 -1
  36. package/dist/{Button.vue_vue_type_script_setup_true_lang-DayZ7O-B.js → Button.vue_vue_type_script_setup_true_lang-CKt4CFcG.js} +1 -1
  37. package/dist/{Button.vue_vue_type_script_setup_true_lang-BEUgRSHQ.js → Button.vue_vue_type_script_setup_true_lang-iY6wC5I7.js} +1 -1
  38. package/dist/ButtonGroup/ButtonGroup.d.ts +2 -2
  39. package/dist/Checkbox/Checkbox.d.ts +3 -3
  40. package/dist/Checkbox/index.js +1 -1
  41. package/dist/Checkbox/index.umd.cjs +1 -1
  42. package/dist/{Checkbox.vue_vue_type_style_index_0_lang-DIUFXgde.js → Checkbox.vue_vue_type_style_index_0_lang-Q8nvY8Va.js} +2 -2
  43. package/dist/{Checkbox.vue_vue_type_style_index_0_lang-B7TCf8DD.js → Checkbox.vue_vue_type_style_index_0_lang-srZfoj7r.js} +1 -1
  44. package/dist/CheckboxGroup/CheckboxGroup.d.ts +2 -2
  45. package/dist/CheckboxGroup/index.js +1 -1
  46. package/dist/CheckboxGroup/index.umd.cjs +1 -1
  47. package/dist/Chip/Chip.d.ts +3 -2
  48. package/dist/Chip/index.js +2 -2
  49. package/dist/Chip/index.umd.cjs +1 -1
  50. package/dist/{Chip.vue_vue_type_style_index_0_lang-B4vliBhP.js → Chip.vue_vue_type_style_index_0_lang-BjBptRQ-.js} +1 -1
  51. package/dist/{Chip.vue_vue_type_style_index_0_lang-C-YVGRd5.js → Chip.vue_vue_type_style_index_0_lang-DZpyBQK1.js} +2 -2
  52. package/dist/ChipGroup/ChipGroup.d.ts +1 -1
  53. package/dist/ChipGroup/index.js +1 -1
  54. package/dist/ChipGroup/index.umd.cjs +1 -1
  55. package/dist/{ChipGroup.vue_vue_type_style_index_0_lang-Cb48sFjZ.js → ChipGroup.vue_vue_type_style_index_0_lang-CeTQpuIw.js} +2 -2
  56. package/dist/{ChipGroup.vue_vue_type_style_index_0_lang-Dz90pq2v.js → ChipGroup.vue_vue_type_style_index_0_lang-D3YTcBs3.js} +1 -1
  57. package/dist/ColorPicker/ColorPicker.d.ts +3 -1
  58. package/dist/ColorPicker/ColorPickerSpace.d.ts +1 -1
  59. package/dist/ColorPicker/index.js +1 -1
  60. package/dist/ColorPicker/index.umd.cjs +1 -1
  61. package/dist/{ColorPicker.vue_vue_type_style_index_0_lang-Bbua4gDp.js → ColorPicker.vue_vue_type_style_index_0_lang-Bn5JW2Gt.js} +2 -2
  62. package/dist/{ColorPicker.vue_vue_type_style_index_0_lang-Cs_uP8_-.js → ColorPicker.vue_vue_type_style_index_0_lang-DL_ZJmhv.js} +27 -18
  63. package/dist/ColorSwatch/ColorSwatch.d.ts +3 -2
  64. package/dist/ColorSwatch/index.js +1 -1
  65. package/dist/ColorSwatch/index.umd.cjs +1 -1
  66. package/dist/{ColorSwatch-BVj268xm.js → ColorSwatch-BMQgaieC.js} +1 -1
  67. package/dist/{ColorSwatch-BTd2qIvs.js → ColorSwatch-BmsX5hTJ.js} +1 -1
  68. package/dist/{ColorSwatch.vue_vue_type_style_index_0_lang-D9jCB_qS.js → ColorSwatch.vue_vue_type_style_index_0_lang-C4Kg1zF7.js} +2 -2
  69. package/dist/{ColorSwatch.vue_vue_type_style_index_0_lang-DotrlbV2.js → ColorSwatch.vue_vue_type_style_index_0_lang-DcE8KBJ4.js} +1 -1
  70. package/dist/ColorSwatchGroup/ColorSwatchGroup.d.ts +3 -2
  71. package/dist/ColorSwatchGroup/index.js +1 -1
  72. package/dist/ColorSwatchGroup/index.umd.cjs +1 -1
  73. package/dist/{ColorSwatchGroup.vue_vue_type_style_index_0_lang-uGNt1Zw7.js → ColorSwatchGroup.vue_vue_type_style_index_0_lang-DcQU4Avw.js} +1 -1
  74. package/dist/{ColorSwatchGroup.vue_vue_type_style_index_0_lang-CMUC9JP1.js → ColorSwatchGroup.vue_vue_type_style_index_0_lang-baZQlRfW.js} +7 -6
  75. package/dist/ColorTrigger/ColorTrigger.d.ts +3 -2
  76. package/dist/ColorTrigger/index.js +1 -1
  77. package/dist/ColorTrigger/index.umd.cjs +1 -1
  78. package/dist/{ColorTrigger.vue_vue_type_style_index_0_lang-BphrM3jX.js → ColorTrigger.vue_vue_type_style_index_0_lang-9NjMxcKG.js} +1 -1
  79. package/dist/{ColorTrigger.vue_vue_type_style_index_0_lang-CjRJLrjc.js → ColorTrigger.vue_vue_type_style_index_0_lang-D7z5WQlE.js} +3 -3
  80. package/dist/Combobox/Combobox.d.ts +16 -15
  81. package/dist/Combobox/ComboboxLabel.d.ts +3 -2
  82. package/dist/Combobox/index.js +1 -1
  83. package/dist/Combobox/index.umd.cjs +1 -1
  84. package/dist/Combobox/types.d.ts +2 -2
  85. package/dist/Combobox.vue_vue_type_style_index_0_lang-AGxBlqh_.js +1 -0
  86. package/dist/{Combobox.vue_vue_type_style_index_0_lang-C1ceC-d6.js → Combobox.vue_vue_type_style_index_0_lang-CrMJYH_U.js} +410 -349
  87. package/dist/Comment/Comment.d.ts +1 -1
  88. package/dist/Comment/CommentActions.d.ts +384 -1
  89. package/dist/Comment/CommentEditor.d.ts +867 -81
  90. package/dist/Comment/CommentMention.d.ts +2 -1
  91. package/dist/Comment/CommentReactions.d.ts +193 -1
  92. package/dist/Comment/CommentTrigger.d.ts +3 -2
  93. package/dist/Comment/index.js +14 -14
  94. package/dist/Comment/index.umd.cjs +1 -1
  95. package/dist/ConfigProvider/index.js +1 -1
  96. package/dist/{ConfigProvider.vue_vue_type_script_setup_true_lang-DSKgXw-g.js → ConfigProvider.vue_vue_type_script_setup_true_lang-D8R0hBKt.js} +10 -10
  97. package/dist/DataTable/DataTable.d.ts +106 -12
  98. package/dist/DataTable/index.js +1 -1
  99. package/dist/DataTable/index.umd.cjs +1 -1
  100. package/dist/DataTable/useSelection.d.ts +1 -1
  101. package/dist/DataTable.vue_vue_type_style_index_0_lang-DNX8ray0.js +1 -0
  102. package/dist/{DataTable.vue_vue_type_style_index_0_lang-BIEqP-0I.js → DataTable.vue_vue_type_style_index_0_lang-a06ynWLy.js} +36 -30
  103. package/dist/Divider/Divider.d.ts +3 -2
  104. package/dist/DropZone/DropZone.d.ts +4 -3
  105. package/dist/DropZone/index.js +1 -1
  106. package/dist/DropZone/index.umd.cjs +1 -1
  107. package/dist/{DropZone.vue_vue_type_style_index_0_lang-B9y7TlwK.js → DropZone.vue_vue_type_style_index_0_lang-B2XNdFr7.js} +1 -1
  108. package/dist/{DropZone.vue_vue_type_style_index_0_lang-EJIu65Kx.js → DropZone.vue_vue_type_style_index_0_lang-Dq0K__t6.js} +2 -2
  109. package/dist/Empty/Empty.d.ts +3 -2
  110. package/dist/Empty/index.js +1 -1
  111. package/dist/Empty/index.umd.cjs +1 -1
  112. package/dist/{Empty.vue_vue_type_style_index_0_lang-BUUZkqKK.js → Empty.vue_vue_type_style_index_0_lang-BkLWzc14.js} +1 -1
  113. package/dist/{Empty.vue_vue_type_style_index_0_lang-CzxHjKoM.js → Empty.vue_vue_type_style_index_0_lang-C1kPtilP.js} +1 -1
  114. package/dist/FloatButton/FloatButton.d.ts +178 -15
  115. package/dist/FloatButton/index.js +1 -1
  116. package/dist/FloatButton/index.umd.cjs +1 -1
  117. package/dist/{FloatButton.vue_vue_type_script_setup_true_lang-BkkyOUA7.js → FloatButton.vue_vue_type_script_setup_true_lang-CxSElBbb.js} +1 -1
  118. package/dist/{FloatButton.vue_vue_type_script_setup_true_lang-09oykls8.js → FloatButton.vue_vue_type_script_setup_true_lang-sIUaExTM.js} +1 -1
  119. package/dist/Form/Form.d.ts +18 -18
  120. package/dist/Form/FormItem.d.ts +1 -1
  121. package/dist/Form/index.js +1 -1
  122. package/dist/Form/index.umd.cjs +1 -1
  123. package/dist/FormValidation/FormValidation.d.ts +7 -6
  124. package/dist/GOPicker/GOItemSkeleton.d.ts +1 -1
  125. package/dist/GOPicker/GOPicker.d.ts +45 -44
  126. package/dist/GOPicker/index.js +1 -1
  127. package/dist/GOPicker/index.umd.cjs +1 -1
  128. package/dist/{GOPicker.vue_vue_type_style_index_0_lang-kynTp-m5.js → GOPicker.vue_vue_type_style_index_0_lang-CR7s37Os.js} +17 -15
  129. package/dist/{GOPicker.vue_vue_type_style_index_0_lang-BE8x9dGA.js → GOPicker.vue_vue_type_style_index_0_lang-rSEkCO3H.js} +1 -1
  130. package/dist/GraphicalObject/GraphicalObject.d.ts +2 -1
  131. package/dist/GraphicalObject/index.js +1 -1
  132. package/dist/GraphicalObject/index.umd.cjs +1 -1
  133. package/dist/{GraphicalObject.vue_vue_type_script_setup_true_lang-BZWcWAd8.js → GraphicalObject.vue_vue_type_script_setup_true_lang-CpstWkLR.js} +2 -2
  134. package/dist/{GraphicalObject.vue_vue_type_script_setup_true_lang-X3qLlz8e.js → GraphicalObject.vue_vue_type_script_setup_true_lang-WjnCG0pe.js} +1 -1
  135. package/dist/GraphicalObjectGroup/GraphicalObjectGroup.d.ts +1 -1
  136. package/dist/GraphicalObjectGroup/index.js +1 -1
  137. package/dist/GraphicalObjectGroup/index.umd.cjs +1 -1
  138. package/dist/{GraphicalObjectGroup.vue_vue_type_style_index_0_lang-eUYKt1g8.js → GraphicalObjectGroup.vue_vue_type_style_index_0_lang-BXpVeN5_.js} +2 -2
  139. package/dist/{GraphicalObjectGroup.vue_vue_type_style_index_0_lang-HhLovMZS.js → GraphicalObjectGroup.vue_vue_type_style_index_0_lang-i6Leg2rQ.js} +1 -1
  140. package/dist/Icon/Icon.d.ts +1 -1
  141. package/dist/Icon/index.js +1 -1
  142. package/dist/Icon/index.umd.cjs +1 -1
  143. package/dist/{Icon.vue_vue_type_style_index_0_lang-BMu3U4-l.js → Icon.vue_vue_type_style_index_0_lang-DkeXz23k.js} +175 -172
  144. package/dist/{Icon.vue_vue_type_style_index_0_lang-5yqYwaOw.js → Icon.vue_vue_type_style_index_0_lang-DyeL9Lem.js} +3 -3
  145. package/dist/IconButton/IconButton.d.ts +179 -16
  146. package/dist/IconButton/index.js +1 -1
  147. package/dist/IconButton/index.umd.cjs +1 -1
  148. package/dist/{IconButton.vue_vue_type_script_setup_true_lang-DGXtxJVO.js → IconButton.vue_vue_type_script_setup_true_lang-Bz66rcDQ.js} +1 -1
  149. package/dist/{IconButton.vue_vue_type_script_setup_true_lang-B2mwpDQo.js → IconButton.vue_vue_type_script_setup_true_lang-CudH1Czj.js} +1 -1
  150. package/dist/Image/Image.d.ts +3 -2
  151. package/dist/Image/index.js +1 -1
  152. package/dist/Image/index.umd.cjs +1 -1
  153. package/dist/{Image.vue_vue_type_style_index_0_lang-Dxp0n_0A.js → Image.vue_vue_type_style_index_0_lang-D7buZGTj.js} +1 -1
  154. package/dist/{Image.vue_vue_type_style_index_0_lang-_1Vqh4mv.js → Image.vue_vue_type_style_index_0_lang-D8BJOCro.js} +2 -2
  155. package/dist/IndentLevel/IndentLevel.d.ts +3 -2
  156. package/dist/IndentLevel/index.js +1 -1
  157. package/dist/IndentLevel/index.umd.cjs +1 -1
  158. package/dist/{IndentLevel.vue_vue_type_style_index_0_lang-DPL6yVwu.js → IndentLevel.vue_vue_type_style_index_0_lang-DkVpxqkS.js} +3 -3
  159. package/dist/{IndentLevel.vue_vue_type_style_index_0_lang-BNXXU--A.js → IndentLevel.vue_vue_type_style_index_0_lang-iaGGd8NQ.js} +1 -1
  160. package/dist/Indicator/Indicator.d.ts +2 -1
  161. package/dist/Indicator/index.js +1 -1
  162. package/dist/Indicator/index.umd.cjs +1 -1
  163. package/dist/{Indicator.vue_vue_type_script_setup_true_lang-BAJid2ch.js → Indicator.vue_vue_type_script_setup_true_lang-BTt9LTh1.js} +1 -1
  164. package/dist/{Indicator.vue_vue_type_script_setup_true_lang-BZQujvXX.js → Indicator.vue_vue_type_script_setup_true_lang-C6C6qnFI.js} +1 -1
  165. package/dist/Input/Input.d.ts +9 -6
  166. package/dist/Input/index.js +2 -2
  167. package/dist/Input/index.umd.cjs +1 -1
  168. package/dist/{Input.vue_vue_type_script_setup_true_lang-BhpGixbX.js → Input.vue_vue_type_script_setup_true_lang-Dtkw6-JD.js} +10 -10
  169. package/dist/{Input.vue_vue_type_script_setup_true_lang-P-pBp4sf.js → Input.vue_vue_type_script_setup_true_lang-Dws8FarS.js} +1 -1
  170. package/dist/InputNumber/InputNumber.d.ts +16 -13
  171. package/dist/InputNumber/index.js +2 -2
  172. package/dist/InputNumber/index.umd.cjs +1 -1
  173. package/dist/{InputNumber.vue_vue_type_script_setup_true_lang-DcGG4i1C.js → InputNumber.vue_vue_type_script_setup_true_lang-Cr4YLP4W.js} +1 -1
  174. package/dist/{InputNumber.vue_vue_type_script_setup_true_lang-yrowDfWL.js → InputNumber.vue_vue_type_script_setup_true_lang-mEje-O-q.js} +27 -27
  175. package/dist/Kbd/Kbd.d.ts +3 -2
  176. package/dist/Kbd/index.js +1 -1
  177. package/dist/Kbd/index.umd.cjs +1 -1
  178. package/dist/{Kbd.vue_vue_type_style_index_0_lang-q3jBcYir.js → Kbd.vue_vue_type_style_index_0_lang-BFlrS9Oh.js} +1 -1
  179. package/dist/{Kbd.vue_vue_type_style_index_0_lang-XS49-yX4.js → Kbd.vue_vue_type_style_index_0_lang-VXCAjXze.js} +1 -1
  180. package/dist/Label/Label.d.ts +3 -2
  181. package/dist/Label/index.js +1 -1
  182. package/dist/Label/index.umd.cjs +1 -1
  183. package/dist/Link/Link.d.ts +3 -2
  184. package/dist/Link/index.js +1 -1
  185. package/dist/Link/index.umd.cjs +1 -1
  186. package/dist/Link.vue_vue_type_style_index_0_lang-BRLBWpij.js +1 -0
  187. package/dist/{Link.vue_vue_type_style_index_0_lang-DAQr5LuP.js → Link.vue_vue_type_style_index_0_lang-DgvyW7Rs.js} +14 -13
  188. package/dist/Menu/Menu.d.ts +1 -1
  189. package/dist/Menu/MenuItemWrapper.d.ts +2 -1
  190. package/dist/Menu/index.js +1 -1
  191. package/dist/Menu/index.umd.cjs +1 -1
  192. package/dist/MenuItem/MenuItem.d.ts +1 -1
  193. package/dist/MenuItem/index.js +1 -1
  194. package/dist/MenuItem/index.umd.cjs +1 -1
  195. package/dist/{MenuItem.vue_vue_type_style_index_0_lang-DRgLTDF9.js → MenuItem.vue_vue_type_style_index_0_lang-AhI5J805.js} +1 -1
  196. package/dist/{MenuItem.vue_vue_type_style_index_0_lang-Tx1mw3fx.js → MenuItem.vue_vue_type_style_index_0_lang-BSbQKPOJ.js} +13 -13
  197. package/dist/Pagination/Pagination.d.ts +1 -1
  198. package/dist/Pagination/index.js +1 -1
  199. package/dist/Pagination/index.umd.cjs +1 -1
  200. package/dist/{Pagination.vue_vue_type_style_index_0_lang-BJSH2nV1.js → Pagination.vue_vue_type_style_index_0_lang-6HV2JmdQ.js} +1 -1
  201. package/dist/{Pagination.vue_vue_type_style_index_0_lang-DdoGJbhR.js → Pagination.vue_vue_type_style_index_0_lang-FoV1-lO_.js} +7 -6
  202. package/dist/Popover/Popover.d.ts +122 -20
  203. package/dist/Popover/index.js +1 -1
  204. package/dist/Popover/index.umd.cjs +1 -1
  205. package/dist/{Popover.vue_vue_type_style_index_0_lang-BgRvygIi.js → Popover.vue_vue_type_style_index_0_lang-BolWR0Oq.js} +2 -2
  206. package/dist/{Popover.vue_vue_type_style_index_0_lang-D7HUX-0i.js → Popover.vue_vue_type_style_index_0_lang-COPtUT1x.js} +1 -1
  207. package/dist/Progress/Progress.d.ts +6 -5
  208. package/dist/Progress/index.js +1 -1
  209. package/dist/Progress/index.umd.cjs +1 -1
  210. package/dist/{Progress.vue_vue_type_style_index_0_lang-ByAwM9mc.js → Progress.vue_vue_type_style_index_0_lang-BXhIqXDx.js} +24 -24
  211. package/dist/{Progress.vue_vue_type_style_index_0_lang-BECdYJmY.js → Progress.vue_vue_type_style_index_0_lang-DNe_dcRZ.js} +1 -1
  212. package/dist/RadioGroup/RadioGroup.d.ts +2 -1
  213. package/dist/RadioGroup/RadioGroupItem.d.ts +3 -3
  214. package/dist/RadioGroup/index.js +1 -1
  215. package/dist/RadioGroup/index.umd.cjs +1 -1
  216. package/dist/{RadioGroup.vue_vue_type_script_setup_true_lang-D8f-sgna.js → RadioGroup.vue_vue_type_script_setup_true_lang-D-9WHezS.js} +1 -1
  217. package/dist/{RadioGroup.vue_vue_type_script_setup_true_lang-Daq1nx9-.js → RadioGroup.vue_vue_type_script_setup_true_lang-NO2KpdR5.js} +1 -1
  218. package/dist/ScrollContainer/Mask.d.ts +1 -1
  219. package/dist/ScrollContainer/ScrollContainer.d.ts +184 -15
  220. package/dist/ScrollContainer/index.js +1 -1
  221. package/dist/ScrollContainer/index.umd.cjs +1 -1
  222. package/dist/{ScrollContainer.vue_vue_type_style_index_0_lang-DqKhWsL2.js → ScrollContainer.vue_vue_type_style_index_0_lang-DKfgCbWJ.js} +1 -1
  223. package/dist/{ScrollContainer.vue_vue_type_style_index_0_lang-Cp0bQf0N.js → ScrollContainer.vue_vue_type_style_index_0_lang-Dl1jP8xY.js} +2 -2
  224. package/dist/Segmented/Segmented.d.ts +4 -3
  225. package/dist/Segmented/index.js +1 -1
  226. package/dist/Segmented/index.umd.cjs +1 -1
  227. package/dist/{Segmented.vue_vue_type_style_index_0_lang-3JqUJ0d7.js → Segmented.vue_vue_type_style_index_0_lang-BKyJdc6h.js} +1 -1
  228. package/dist/{Segmented.vue_vue_type_style_index_0_lang-B1uEmVPJ.js → Segmented.vue_vue_type_style_index_0_lang-uZeKLoid.js} +2 -2
  229. package/dist/Select/Select.d.ts +8 -7
  230. package/dist/Select/SelectLabel.d.ts +3 -2
  231. package/dist/Select/SelectTrigger.d.ts +1 -1
  232. package/dist/Select/index.js +1 -1
  233. package/dist/Select/index.umd.cjs +1 -1
  234. package/dist/Select.vue_vue_type_style_index_0_lang-DzWX4QRp.js +770 -0
  235. package/dist/Select.vue_vue_type_style_index_0_lang-i_BSOFzK.js +1 -0
  236. package/dist/Shortcut/Shortcut.d.ts +1 -1
  237. package/dist/Shortcut/index.js +1 -1
  238. package/dist/Shortcut/index.umd.cjs +1 -1
  239. package/dist/{Shortcut.vue_vue_type_style_index_0_lang-QKWaOeSf.js → Shortcut.vue_vue_type_style_index_0_lang-2KAzQkhD.js} +2 -2
  240. package/dist/{Shortcut.vue_vue_type_style_index_0_lang-C7MfNmHi.js → Shortcut.vue_vue_type_style_index_0_lang-e8lB0y-L.js} +1 -1
  241. package/dist/Skeleton/Skeleton.d.ts +2 -2
  242. package/dist/Spinner/Spinner.d.ts +4 -3
  243. package/dist/Spinner/index.js +1 -1
  244. package/dist/Spinner/index.umd.cjs +1 -1
  245. package/dist/{Spinner.vue_vue_type_style_index_0_lang-y2U5MnVr.js → Spinner.vue_vue_type_style_index_0_lang-CKYCbCZQ.js} +1 -1
  246. package/dist/{Spinner.vue_vue_type_style_index_0_lang-ypYtsXl_.js → Spinner.vue_vue_type_style_index_0_lang-NYJmdFpB.js} +1 -1
  247. package/dist/SubMenu/SubMenu.d.ts +4 -2
  248. package/dist/SubMenu/index.js +1 -1
  249. package/dist/SubMenu/index.umd.cjs +1 -1
  250. package/dist/Switch/Switch.d.ts +5 -4
  251. package/dist/Switch/index.js +1 -1
  252. package/dist/Switch/index.umd.cjs +1 -1
  253. package/dist/{Switch.vue_vue_type_style_index_0_lang-Dqy63Xsy.js → Switch.vue_vue_type_style_index_0_lang-B6Pt3aij.js} +2 -2
  254. package/dist/{Switch.vue_vue_type_style_index_0_lang-G67verEB.js → Switch.vue_vue_type_style_index_0_lang-BIe63Ak0.js} +1 -1
  255. package/dist/{THead.vue_vue_type_style_index_0_lang-Bbxgbizj.js → THead.vue_vue_type_style_index_0_lang-CCUQ2E3U.js} +1 -1
  256. package/dist/{THead.vue_vue_type_style_index_0_lang-Dg4UjN2s.js → THead.vue_vue_type_style_index_0_lang-DuCJdfy4.js} +1 -1
  257. package/dist/Table/TBody.d.ts +3 -2
  258. package/dist/Table/THead.d.ts +3 -2
  259. package/dist/Table/Table.d.ts +1 -1
  260. package/dist/Table/Td.d.ts +3 -2
  261. package/dist/Table/Th.d.ts +3 -2
  262. package/dist/Table/Tr.d.ts +3 -2
  263. package/dist/Table/index.js +1 -1
  264. package/dist/Table/index.umd.cjs +1 -1
  265. package/dist/Textarea/Textarea.d.ts +462 -14
  266. package/dist/Textarea/index.js +1 -1
  267. package/dist/Textarea/index.umd.cjs +1 -1
  268. package/dist/{Textarea.vue_vue_type_style_index_0_lang-Crls15aj.js → Textarea.vue_vue_type_style_index_0_lang-BqUWj9j2.js} +1 -1
  269. package/dist/{Textarea.vue_vue_type_style_index_0_lang-95EkbeEZ.js → Textarea.vue_vue_type_style_index_0_lang-CgC3wstw.js} +7 -7
  270. package/dist/Tooltip/Tooltip.d.ts +2 -1
  271. package/dist/Tree/Tree.d.ts +3 -2
  272. package/dist/Tree/TreeNode.d.ts +3 -2
  273. package/dist/Tree/index.js +1 -1
  274. package/dist/Tree/index.umd.cjs +1 -1
  275. package/dist/{Tree.vue_vue_type_style_index_0_lang-DitveB9N.js → Tree.vue_vue_type_style_index_0_lang-BiU1prIp.js} +1 -1
  276. package/dist/{Tree.vue_vue_type_style_index_0_lang-CauWPkMW.js → Tree.vue_vue_type_style_index_0_lang-wxS0iVAQ.js} +6 -6
  277. package/dist/Upload/Upload.d.ts +5 -4
  278. package/dist/Upload/UploadListItem.d.ts +1 -1
  279. package/dist/Upload/UploadTrigger.d.ts +5 -2
  280. package/dist/Upload/index.js +1 -1
  281. package/dist/Upload/index.umd.cjs +1 -1
  282. package/dist/{Upload.vue_vue_type_style_index_0_lang-B9HYX_QI.js → Upload.vue_vue_type_style_index_0_lang-B_fYzNVt.js} +6 -6
  283. package/dist/{Upload.vue_vue_type_style_index_0_lang-DhqA32eL.js → Upload.vue_vue_type_style_index_0_lang-BiBzroEH.js} +1 -1
  284. package/dist/index.js +175 -174
  285. package/dist/index.umd.cjs +1 -1
  286. package/dist/style/index.css +1 -1
  287. package/dist/{useInputDataStates-COzmxWTw.js → useInputDataStates-BNwXgt9l.js} +1 -1
  288. package/dist/{useInputDataStates-BWZ4Q3rt.js → useInputDataStates-CM2GJM3c.js} +1 -1
  289. package/dist/utils/index.d.ts +1 -0
  290. package/dist/utils/index.js +10 -9
  291. package/dist/utils/index.umd.cjs +1 -1
  292. package/dist/utils/isEmpty.d.ts +1 -0
  293. package/dist/utils/useInputDataStates.d.ts +2 -2
  294. package/package.json +25 -33
  295. package/dist/Alert.vue_vue_type_style_index_0_lang-BWViURUx.js +0 -1
  296. package/dist/BaseBadge.vue_vue_type_style_index_0_lang-MiT5JEP1.js +0 -1
  297. package/dist/Combobox.vue_vue_type_style_index_0_lang-BSCxn_dP.js +0 -1
  298. package/dist/DataTable.vue_vue_type_style_index_0_lang-itDia0W9.js +0 -1
  299. package/dist/Link.vue_vue_type_style_index_0_lang-zFv3zzLA.js +0 -1
  300. package/dist/Select.vue_vue_type_style_index_0_lang-CarDXTu5.js +0 -712
  301. package/dist/Select.vue_vue_type_style_index_0_lang-ikZ5_KwB.js +0 -1
@@ -1,28 +1,28 @@
1
- import { defineComponent as le, computed as i, createBlock as _e, openBlock as ue, unref as P, mergeProps as Re, withCtx as fe, createElementBlock as Ae, createVNode as $e, h as a, normalizeClass as qe, renderSlot as Fe, ref as Ce, watch as Ne, useSlots as Je, useAttrs as Qe, createSlots as Xe, renderList as Ye, normalizeProps as Ze, guardReactiveProps as et } from "vue";
2
- import { createContext as We, ComboboxInput as tt, ComboboxAnchor as ot, injectComboboxRootContext as nt, useFilter as at, ComboboxPortal as lt, ComboboxContent as rt, useEmitAsProps as st, ComboboxRoot as it } from "reka-ui";
1
+ import { defineComponent as le, computed as i, createBlock as _e, openBlock as ue, unref as P, mergeProps as Re, withCtx as fe, createElementBlock as Ae, createVNode as $e, h as n, normalizeClass as qe, renderSlot as Fe, ref as Ce, watch as Ne, useSlots as Je, useAttrs as Qe, createSlots as Xe, renderList as Ye, normalizeProps as Ze, guardReactiveProps as et } from "vue";
2
+ import { createContext as We, ComboboxInput as tt, ComboboxAnchor as ot, injectComboboxRootContext as at, useFilter as nt, ComboboxPortal as lt, ComboboxContent as rt, useEmitAsProps as st, ComboboxRoot as it } from "reka-ui";
3
3
  import { last as pt, isString as ve, cloneDeep as Le, omit as Me, isFunction as we, omitBy as ut, pick as De, isUndefined as ct } from "es-toolkit";
4
4
  import { g as Oe, a as Se } from "./options-Bh1s18jm.js";
5
- import { l as ae, s as H, e as Be, k as F, m as xe, h as dt, j as gt, g as mt, t as ft, o as vt, u as ht } from "./Icon.vue_vue_type_style_index_0_lang-BMu3U4-l.js";
5
+ import { l as ne, s as H, e as Be, k as F, m as xe, h as dt, j as gt, g as mt, t as ft, o as vt, u as ht } from "./Icon.vue_vue_type_style_index_0_lang-DkeXz23k.js";
6
6
  import { getBemBlock as bt, getBemElement as f, generateVariantClassList as U, normCls as X } from "@pantograph/utils";
7
7
  import { cva as Pe } from "class-variance-authority";
8
- import { _ as yt } from "./Empty.vue_vue_type_style_index_0_lang-CzxHjKoM.js";
8
+ import { _ as yt } from "./Empty.vue_vue_type_style_index_0_lang-C1kPtilP.js";
9
9
  import { _ as Ct } from "./Skeleton.vue_vue_type_style_index_0_lang-2rpO7HY2.js";
10
10
  import { _ as Ve } from "./Divider.vue_vue_type_style_index_0_lang-CfBklijs.js";
11
- import { u as Vt, U as _t } from "./useInputDataStates-COzmxWTw.js";
11
+ import { u as Vt, U as _t } from "./useInputDataStates-BNwXgt9l.js";
12
12
  import { u as xt } from "./useLazyLoading-Zo-PEp2E.js";
13
- import { g as Ot, b as St } from "./Popover.vue_vue_type_style_index_0_lang-BgRvygIi.js";
14
- import { u as Bt } from "./ConfigProvider.vue_vue_type_script_setup_true_lang-DSKgXw-g.js";
15
- import { _ as Pt } from "./ScrollContainer.vue_vue_type_style_index_0_lang-Cp0bQf0N.js";
16
- import { _ as kt } from "./Tree.vue_vue_type_style_index_0_lang-CauWPkMW.js";
17
- import { _ as It } from "./Chip.vue_vue_type_style_index_0_lang-C-YVGRd5.js";
18
- import { _ as Tt } from "./ChipGroup.vue_vue_type_style_index_0_lang-Cb48sFjZ.js";
19
- import { d as zt, _ as Ke } from "./Avatar.vue_vue_type_style_index_0_lang-BU_5Uc1h.js";
20
- import { _ as Lt } from "./GraphicalObjectGroup.vue_vue_type_style_index_0_lang-eUYKt1g8.js";
21
- import { _ as Ge } from "./GraphicalObject.vue_vue_type_script_setup_true_lang-BZWcWAd8.js";
22
- import { _ as Mt } from "./Input.vue_vue_type_script_setup_true_lang-BhpGixbX.js";
13
+ import { g as Ot, b as St } from "./Popover.vue_vue_type_style_index_0_lang-BolWR0Oq.js";
14
+ import { u as Bt } from "./ConfigProvider.vue_vue_type_script_setup_true_lang-D8R0hBKt.js";
15
+ import { _ as Pt } from "./ScrollContainer.vue_vue_type_style_index_0_lang-Dl1jP8xY.js";
16
+ import { _ as kt } from "./Tree.vue_vue_type_style_index_0_lang-wxS0iVAQ.js";
17
+ import { _ as It } from "./Chip.vue_vue_type_style_index_0_lang-DZpyBQK1.js";
18
+ import { _ as Tt } from "./ChipGroup.vue_vue_type_style_index_0_lang-CeTQpuIw.js";
19
+ import { _ as Ke, d as zt } from "./Avatar.vue_vue_type_style_index_0_lang-560JMJs8.js";
20
+ import { _ as Lt } from "./GraphicalObjectGroup.vue_vue_type_style_index_0_lang-BXpVeN5_.js";
21
+ import { _ as Ge } from "./GraphicalObject.vue_vue_type_script_setup_true_lang-CpstWkLR.js";
22
+ import { _ as Mt } from "./Input.vue_vue_type_script_setup_true_lang-Dtkw6-JD.js";
23
23
  import { whenever as wt } from "@vueuse/core";
24
- import { a as Dt } from "./MenuItem.vue_vue_type_style_index_0_lang-Tx1mw3fx.js";
25
- import { _ as Et } from "./Checkbox.vue_vue_type_style_index_0_lang-DIUFXgde.js";
24
+ import { a as Dt } from "./MenuItem.vue_vue_type_style_index_0_lang-BSbQKPOJ.js";
25
+ import { _ as Et } from "./Checkbox.vue_vue_type_style_index_0_lang-Q8nvY8Va.js";
26
26
  import "@pantograph/tokens";
27
27
  import "@tanstack/vue-virtual";
28
28
  const [ke, Rt] = We("Combobox"), [At, $t] = We("_Combobox"), k = bt("combobox"), Ue = ["sm", "md", "lg"], Ft = ["error", "warning", "success"], Nt = { key: 1 }, je = /* @__PURE__ */ le({
@@ -36,7 +36,7 @@ const [ke, Rt] = We("Combobox"), [At, $t] = We("_Combobox"), k = bt("combobox"),
36
36
  o.headerInputElement.value && o.open.value && o.focusOnInput();
37
37
  }
38
38
  );
39
- const t = i(() => !ae(o.modelValue.value)), e = i(() => {
39
+ const t = i(() => !ne(o.modelValue.value)), e = i(() => {
40
40
  if (t.value) {
41
41
  if (o.props.multiple && H(o.modelValue.value) && !o.props.noLastValueOnPlaceholder)
42
42
  return o.getLabelByValue(pt(o.modelValue.value));
@@ -45,7 +45,7 @@ const [ke, Rt] = We("Combobox"), [At, $t] = We("_Combobox"), k = bt("combobox"),
45
45
  }
46
46
  return o.props.placeholder ?? "";
47
47
  }), m = (N) => {
48
- if (N.key === "Backspace" && o.props.multiple && H(o.modelValue.value) && ae(o.searchModel.value) && (o.setModelValue(o.modelValue.value.slice(0, -1)), ae(o.modelValue.value))) {
48
+ if (N.key === "Backspace" && o.props.multiple && H(o.modelValue.value) && ne(o.searchModel.value) && (o.setModelValue(o.modelValue.value.slice(0, -1)), ne(o.modelValue.value))) {
49
49
  const T = setTimeout(() => {
50
50
  o.focusOnInput(), clearTimeout(T);
51
51
  }, 2);
@@ -86,16 +86,11 @@ const [ke, Rt] = We("Combobox"), [At, $t] = We("_Combobox"), k = bt("combobox"),
86
86
  _: 1
87
87
  }, 16, ["disabled", "placeholder", "modelValue", "class"]));
88
88
  }
89
- }), Wt = /* @__PURE__ */ le({
89
+ }), Wt = le({
90
90
  name: Se("ComboboxTrigger"),
91
91
  props: {},
92
- setup(g, {
93
- slots: o,
94
- attrs: t
95
- }) {
96
- const e = ke(), m = ({
97
- value: l
98
- }, C) => {
92
+ setup(g, { slots: o, attrs: t }) {
93
+ const e = ke(), m = ({ value: l }, C) => {
99
94
  if (C.stopPropagation(), l && H(e.modelValue.value) && !e.getDisabled.value) {
100
95
  const S = e.modelValue.value.filter((I) => I !== l);
101
96
  e.setModelValue(S);
@@ -120,7 +115,7 @@ const [ke, Rt] = We("Combobox"), [At, $t] = We("_Combobox"), k = bt("combobox"),
120
115
  return "xsm";
121
116
  }
122
117
  }), T = i(() => {
123
- if (!e.props.multiple && ve(e.modelValue.value) && !ae(e.modelValue.value))
118
+ if (!e.props.multiple && ve(e.modelValue.value) && !ne(e.modelValue.value))
124
119
  return e.getOptionByValue(e.modelValue.value);
125
120
  }), x = (l = T.value) => {
126
121
  if (e.props.selectedItemIconAsTrailingIcon && xe(l) && "icon" in l)
@@ -152,28 +147,30 @@ const [ke, Rt] = We("Combobox"), [At, $t] = We("_Combobox"), k = bt("combobox"),
152
147
  "aria-expanded": e.open.value,
153
148
  "aria-controls": e.contentId,
154
149
  "data-state": e.open.value ? "open" : "closed",
155
- class: X(L({
156
- size: e.getSize.value,
157
- status: e.getStatus.value === "success" && ae(e.modelValue.value) ? void 0 : e.getStatus.value,
158
- bordered: e.props.bordered,
159
- multiple: e.props.multiple,
160
- contentFit: e.props.contentFit,
161
- wrapped: e.props.wrapped,
162
- filled: !ae(e.modelValue.value),
163
- headerSearch: e.props.headerSearch
164
- }), e.props.triggerCls),
150
+ class: X(
151
+ L({
152
+ size: e.getSize.value,
153
+ status: e.getStatus.value === "success" && ne(e.modelValue.value) ? void 0 : e.getStatus.value,
154
+ bordered: e.props.bordered,
155
+ multiple: e.props.multiple,
156
+ contentFit: e.props.contentFit,
157
+ wrapped: e.props.wrapped,
158
+ filled: !ne(e.modelValue.value),
159
+ headerSearch: e.props.headerSearch
160
+ }),
161
+ e.props.triggerCls
162
+ ),
165
163
  ...t
166
- })), K = (l, C = N.value) => a(Be, {
167
- icon: l,
168
- size: C
169
- }), w = () => {
164
+ })), K = (l, C = N.value) => n(Be, { icon: l, size: C }), w = () => {
170
165
  var S;
171
166
  let l;
172
167
  const C = (S = o.triggerTrailing) == null ? void 0 : S.call(o, y.value);
173
168
  if (F(C) ? M.value && (l = K(M.value)) : l = C, l)
174
- return a("div", {
175
- class: X(f(p, "trailing"), e.props.triggerTrailingCls)
176
- }, l);
169
+ return n(
170
+ "div",
171
+ { class: X(f(p, "trailing"), e.props.triggerTrailingCls) },
172
+ l
173
+ );
177
174
  };
178
175
  return () => {
179
176
  var Z;
@@ -181,109 +178,133 @@ const [ke, Rt] = We("Combobox"), [At, $t] = We("_Combobox"), k = bt("combobox"),
181
178
  if (!C) return !1;
182
179
  const J = dt(l) ?? null, Q = J.length === 1 ? J[0] : J;
183
180
  return Q ? gt(Q) && !mt(Q) : !0;
184
- })(), {
185
- class: Y,
186
- ...q
187
- } = O.value;
188
- return a(ot, {
189
- ...q,
190
- class: C ? e.props.triggerCls : Y,
191
- ...e.comboboxTriggerBinding.value,
192
- asChild: I,
193
- as: I ? "template" : "button",
194
- key: String(I),
195
- onKeyUp: re,
196
- onClick: W
197
- }, () => {
198
- if (C)
199
- return l;
200
- const J = (v) => {
201
- var E, z;
202
- const D = e.getOptionByValue(v) ?? {
203
- value: v
204
- };
205
- return a(Ke, {
206
- ...D ? ((z = (E = e.props).getTagProps) == null ? void 0 : z.call(E, D)) ?? {} : {},
207
- size: e.getTagSize.value
208
- });
209
- }, Q = (v) => {
210
- var E, z;
211
- const D = e.getOptionByValue(v) ?? {
212
- value: v
213
- };
214
- return a(Ge, {
215
- ...D ? ((z = (E = e.props).getTagProps) == null ? void 0 : z.call(E, D)) ?? {} : {},
216
- size: e.getTagSize.value
217
- });
218
- }, ee = () => {
219
- if (!e.props.multiple && !e.props.multiple && !H(e.modelValue.value) && e.modelValue.value && (e.props.tagRenderMode && ["avatar", "go"].includes(e.props.tagRenderMode) || j.value || e.props.leadingIcon)) {
220
- let v;
221
- if (e.props.tagRenderMode === "avatar" ? v = J(e.modelValue.value) : e.props.tagRenderMode === "go" ? v = Q(e.modelValue.value) : j.value ? v = K(j.value) : e.props.leadingIcon && (v = K(e.props.leadingIcon)), !F(v))
222
- return a("div", {
223
- class: X(f(p, "leading"), e.props.triggerLeadingCls)
224
- }, v);
225
- }
226
- }, ce = () => {
227
- const v = [], D = [f(p, "tags"), e.props.triggerContentCls, e.props.triggerContentValueCls], z = (() => {
228
- if (e.props.multiple && H(e.modelValue.value)) {
229
- if (e.props.tagRenderMode === "avatar")
230
- return a(zt, {
231
- maxCount: e.props.maxCount,
232
- size: e.getTagSize.value,
233
- closeable: !e.getDisabled.value,
234
- noPopover: !0,
235
- noWrap: !e.props.wrapped,
236
- class: D
237
- }, () => e.modelValue.value.map(J));
238
- if (e.props.tagRenderMode === "go")
239
- return a(Lt, {
240
- maxCount: e.props.maxCount,
241
- size: e.getTagSize.value,
242
- closeable: !e.getDisabled.value,
243
- noPopover: !0,
244
- noWrap: !e.props.wrapped,
245
- class: D
246
- }, () => e.modelValue.value.map(Q));
247
- if (e.props.tagRenderMode === "chip")
248
- return a(Tt, {
249
- maxCount: e.props.maxCount,
250
- size: e.getTagSize.value,
251
- color: "primary",
252
- closeable: !e.getDisabled.value,
253
- noPopover: !0,
254
- noWrap: !e.props.wrapped,
255
- class: D,
256
- onClose: m
257
- }, () => e.modelValue.value.map((R) => {
258
- var ge, ne;
259
- const se = () => e.getLabelByValue(R), he = ({
260
- size: be
261
- }) => {
262
- const me = x(e.getOptionByValue(R)) ?? e.props.leadingIcon;
263
- return me ? K(me, be) : null;
264
- }, ie = e.getOptionByValue(R);
265
- return a(It, {
266
- ...ie ? ((ne = (ge = e.props).getTagProps) == null ? void 0 : ne.call(ge, ie)) ?? {} : {},
267
- value: R,
268
- class: X(f(p, "tag"), e.props.tagCls),
269
- closeIconCls: f(p, "tag__close")
270
- }, {
271
- text: se,
272
- leading: he
273
- });
274
- }));
181
+ })(), { class: Y, ...q } = O.value;
182
+ return n(
183
+ ot,
184
+ {
185
+ ...q,
186
+ class: C ? e.props.triggerCls : Y,
187
+ ...e.comboboxTriggerBinding.value,
188
+ asChild: I,
189
+ as: I ? "template" : "button",
190
+ key: String(I),
191
+ onKeyUp: re,
192
+ onClick: W
193
+ },
194
+ () => {
195
+ if (C)
196
+ return l;
197
+ const J = (v) => {
198
+ var E, z;
199
+ const D = e.getOptionByValue(v) ?? { value: v };
200
+ return n(Ke, {
201
+ ...D ? ((z = (E = e.props).getTagProps) == null ? void 0 : z.call(E, D)) ?? {} : {},
202
+ size: e.getTagSize.value
203
+ });
204
+ }, Q = (v) => {
205
+ var E, z;
206
+ const D = e.getOptionByValue(v) ?? { value: v };
207
+ return n(Ge, {
208
+ ...D ? ((z = (E = e.props).getTagProps) == null ? void 0 : z.call(E, D)) ?? {} : {},
209
+ size: e.getTagSize.value
210
+ });
211
+ }, ee = () => {
212
+ if (!e.props.multiple && !e.props.multiple && !H(e.modelValue.value) && e.modelValue.value && (e.props.tagRenderMode && ["avatar", "go"].includes(e.props.tagRenderMode) || j.value || e.props.leadingIcon)) {
213
+ let v;
214
+ if (e.props.tagRenderMode === "avatar" ? v = J(e.modelValue.value) : e.props.tagRenderMode === "go" ? v = Q(e.modelValue.value) : j.value ? v = K(j.value) : e.props.leadingIcon && (v = K(e.props.leadingIcon)), !F(v))
215
+ return n(
216
+ "div",
217
+ {
218
+ class: X(
219
+ f(p, "leading"),
220
+ e.props.triggerLeadingCls
221
+ )
222
+ },
223
+ v
224
+ );
275
225
  }
276
- })();
277
- return z && v.push(z), e.props.headerSearch ? e.props.showLabelValueOnHeaderSearch && !e.props.multiple && ve(e.modelValue.value) && v.push(a("div", {
278
- class: f(p, "content__value")
279
- }, e.getLabelByValue(e.modelValue.value))) : v.push(a(je)), a("div", {
280
- class: f(p, "content")
281
- }, v);
282
- }, oe = [], te = ee();
283
- F(te) || oe.push(te), oe.push(ce());
284
- const de = w();
285
- return F(de) || oe.push(de), oe;
286
- });
226
+ }, ce = () => {
227
+ const v = [], D = [
228
+ f(p, "tags"),
229
+ e.props.triggerContentCls,
230
+ e.props.triggerContentValueCls
231
+ ], z = (() => {
232
+ if (e.props.multiple && H(e.modelValue.value)) {
233
+ if (e.props.tagRenderMode === "avatar")
234
+ return n(
235
+ zt,
236
+ {
237
+ maxCount: e.props.maxCount,
238
+ size: e.getTagSize.value,
239
+ closeable: !e.getDisabled.value,
240
+ noPopover: !0,
241
+ noWrap: !e.props.wrapped,
242
+ class: D
243
+ },
244
+ () => e.modelValue.value.map(J)
245
+ );
246
+ if (e.props.tagRenderMode === "go")
247
+ return n(
248
+ Lt,
249
+ {
250
+ maxCount: e.props.maxCount,
251
+ size: e.getTagSize.value,
252
+ closeable: !e.getDisabled.value,
253
+ noPopover: !0,
254
+ noWrap: !e.props.wrapped,
255
+ class: D
256
+ },
257
+ () => e.modelValue.value.map(Q)
258
+ );
259
+ if (e.props.tagRenderMode === "chip")
260
+ return n(
261
+ Tt,
262
+ {
263
+ maxCount: e.props.maxCount,
264
+ size: e.getTagSize.value,
265
+ color: "primary",
266
+ closeable: !e.getDisabled.value,
267
+ noPopover: !0,
268
+ noWrap: !e.props.wrapped,
269
+ class: D,
270
+ onClose: m
271
+ },
272
+ () => e.modelValue.value.map((R) => {
273
+ var ge, ae;
274
+ const se = () => e.getLabelByValue(R), he = ({ size: be }) => {
275
+ const me = x(e.getOptionByValue(R)) ?? e.props.leadingIcon;
276
+ return me ? K(me, be) : null;
277
+ }, ie = e.getOptionByValue(R);
278
+ return n(
279
+ It,
280
+ {
281
+ ...ie ? ((ae = (ge = e.props).getTagProps) == null ? void 0 : ae.call(ge, ie)) ?? {} : {},
282
+ value: R,
283
+ class: X(f(p, "tag"), e.props.tagCls),
284
+ closeIconCls: f(p, "tag__close")
285
+ },
286
+ {
287
+ text: se,
288
+ leading: he
289
+ }
290
+ );
291
+ })
292
+ );
293
+ }
294
+ })();
295
+ return z && v.push(z), e.props.headerSearch ? e.props.showLabelValueOnHeaderSearch && !e.props.multiple && ve(e.modelValue.value) && v.push(
296
+ n(
297
+ "div",
298
+ { class: f(p, "content__value") },
299
+ e.getLabelByValue(e.modelValue.value)
300
+ )
301
+ ) : v.push(n(je)), n("div", { class: f(p, "content") }, v);
302
+ }, oe = [], te = ee();
303
+ F(te) || oe.push(te), oe.push(ce());
304
+ const de = w();
305
+ return F(de) || oe.push(de), oe;
306
+ }
307
+ );
287
308
  };
288
309
  }
289
310
  }), Kt = /* @__PURE__ */ le({
@@ -296,7 +317,7 @@ const [ke, Rt] = We("Combobox"), [At, $t] = We("_Combobox"), k = bt("combobox"),
296
317
  Fe(o.$slots, "default")
297
318
  ], 2));
298
319
  }
299
- }), Ee = /* @__PURE__ */ le({
320
+ }), Ee = le({
300
321
  name: Se("ComboboxOption"),
301
322
  props: {
302
323
  option: {
@@ -305,9 +326,7 @@ const [ke, Rt] = We("Combobox"), [At, $t] = We("_Combobox"), k = bt("combobox"),
305
326
  }
306
327
  },
307
328
  slots: Object,
308
- setup(g, {
309
- slots: o
310
- }) {
329
+ setup(g, { slots: o }) {
311
330
  const t = ke(), e = i(() => {
312
331
  switch (t.getSize.value) {
313
332
  case "sm":
@@ -318,7 +337,9 @@ const [ke, Rt] = We("Combobox"), [At, $t] = We("_Combobox"), k = bt("combobox"),
318
337
  default:
319
338
  return "xsm";
320
339
  }
321
- }), m = i(() => t.getOptionValue(g.option)), p = i(() => t.getOptionNoCheckbox(g.option)), L = i(() => t.getOptionClear(g.option)), N = i(() => t.getOptionSingle(g.option)), T = i(() => t.getOptionLabel(g.option)), x = i(() => t.getOptionIcon(g.option)), j = i(() => t.props.tree ? void 0 : t.getOptionDescription(g.option)), M = i(() => t.getOptionDisabled(g.option)), y = i(() => t.isItemSelected(m.value)), W = f(k, "option"), re = () => {
340
+ }), m = i(() => t.getOptionValue(g.option)), p = i(() => t.getOptionNoCheckbox(g.option)), L = i(() => t.getOptionClear(g.option)), N = i(() => t.getOptionSingle(g.option)), T = i(() => t.getOptionLabel(g.option)), x = i(() => t.getOptionIcon(g.option)), j = i(
341
+ () => t.props.tree ? void 0 : t.getOptionDescription(g.option)
342
+ ), M = i(() => t.getOptionDisabled(g.option)), y = i(() => t.isItemSelected(m.value)), W = f(k, "option"), re = () => {
322
343
  if (!(t.props.tree || !m.value || M.value))
323
344
  if (t.props.multiple)
324
345
  if (L.value)
@@ -337,66 +358,59 @@ const [ke, Rt] = We("Combobox"), [At, $t] = We("_Combobox"), k = bt("combobox"),
337
358
  const O = (w) => {
338
359
  var S, I, Y, q, Z;
339
360
  const l = [];
340
- !t.props.tree && t.props.multiple && t.props.checkbox && !p.value && l.push(a(Et, {
341
- modelValue: y.value,
342
- size: w.checkboxSize,
343
- disabled: M.value
344
- }));
345
- const C = (S = o.leading) == null ? void 0 : S.call(o, {
346
- option: g.option
347
- });
348
- return F(C) ? t.props.tagRenderMode === "avatar" ? l.push(a(Ke, {
349
- ...((Y = (I = t.props).getTagProps) == null ? void 0 : Y.call(I, g.option)) ?? {},
350
- size: t.getTagSize.value
351
- })) : t.props.tagRenderMode === "go" ? l.push(a(Ge, {
352
- ...((Z = (q = t.props).getTagProps) == null ? void 0 : Z.call(q, g.option)) ?? {},
353
- size: t.getTagSize.value
354
- })) : x.value && l.push(a(Be, {
355
- icon: x.value,
356
- size: e.value
357
- })) : l.push(C), F(l) ? null : l;
361
+ !t.props.tree && t.props.multiple && t.props.checkbox && !p.value && l.push(
362
+ n(Et, {
363
+ modelValue: y.value,
364
+ size: w.checkboxSize,
365
+ disabled: M.value
366
+ })
367
+ );
368
+ const C = (S = o.leading) == null ? void 0 : S.call(o, { option: g.option });
369
+ return F(C) ? t.props.tagRenderMode === "avatar" ? l.push(
370
+ n(Ke, {
371
+ ...((Y = (I = t.props).getTagProps) == null ? void 0 : Y.call(I, g.option)) ?? {},
372
+ size: t.getTagSize.value
373
+ })
374
+ ) : t.props.tagRenderMode === "go" ? l.push(
375
+ n(Ge, {
376
+ ...((Z = (q = t.props).getTagProps) == null ? void 0 : Z.call(q, g.option)) ?? {},
377
+ size: t.getTagSize.value
378
+ })
379
+ ) : x.value && l.push(n(Be, { icon: x.value, size: e.value })) : l.push(C), F(l) ? null : l;
358
380
  };
359
381
  return (() => {
360
382
  const w = !!j.value;
361
- return a(Dt, {
362
- class: W,
363
- description: j.value,
364
- title: T.value,
365
- key: m.value,
366
- selected: y.value,
367
- unFocusable: !0,
368
- leadingCenter: !w,
369
- size: t.getSize.value,
370
- disabled: M.value,
371
- onClick: re
372
- }, {
373
- leading: O,
374
- trailing: () => {
375
- var l;
376
- return (l = o.trailing) == null ? void 0 : l.call(o, {
377
- option: g.option
378
- });
383
+ return n(
384
+ Dt,
385
+ {
386
+ class: W,
387
+ description: j.value,
388
+ title: T.value,
389
+ key: m.value,
390
+ selected: y.value,
391
+ unFocusable: !0,
392
+ leadingCenter: !w,
393
+ size: t.getSize.value,
394
+ disabled: M.value,
395
+ onClick: re
396
+ },
397
+ {
398
+ leading: O,
399
+ trailing: () => {
400
+ var l;
401
+ return (l = o.trailing) == null ? void 0 : l.call(o, { option: g.option });
402
+ }
379
403
  }
380
- });
404
+ );
381
405
  })();
382
406
  };
383
407
  }
384
- }), Gt = /* @__PURE__ */ le({
408
+ }), Gt = le({
385
409
  name: Se("ComboboxWrapper"),
386
- setup(g, {
387
- slots: o
388
- }) {
389
- const t = At(), e = nt(), m = Ce();
390
- xt({
391
- target: m
392
- });
393
- const p = Ce(), L = Ot({
394
- triggerRef: p,
395
- props: t.props
396
- }), {
397
- getFlipOnDir: N,
398
- getDir: T
399
- } = Bt(), x = N("reversePlacementOnDir"), j = T(), M = St({
410
+ setup(g, { slots: o }) {
411
+ const t = At(), e = at(), m = Ce();
412
+ xt({ target: m });
413
+ const p = Ce(), L = Ot({ triggerRef: p, props: t.props }), { getFlipOnDir: N, getDir: T } = Bt(), x = N("reversePlacementOnDir"), j = T(), M = St({
400
414
  props: t.props,
401
415
  flip: x,
402
416
  emitsAsProps: t.emitsAsProps,
@@ -404,14 +418,14 @@ const [ke, Rt] = We("Combobox"), [At, $t] = We("_Combobox"), k = bt("combobox"),
404
418
  controlAutoFocus: !1,
405
419
  extraPropNames: ["bodyLock", "position"]
406
420
  }), y = ({
407
- key: n,
421
+ key: a,
408
422
  getterKey: r,
409
423
  defaultValue: c,
410
424
  noReturnOption: h
411
425
  }) => (d) => {
412
426
  const V = we(c) ? c(d) : c;
413
427
  if (xe(d)) {
414
- const A = d[n] ?? V, $ = r && t.props[r];
428
+ const A = d[a] ?? V, $ = r && t.props[r];
415
429
  if ($) {
416
430
  if (ve($))
417
431
  return d[$] ?? A;
@@ -459,11 +473,11 @@ const [ke, Rt] = We("Combobox"), [At, $t] = We("_Combobox"), k = bt("combobox"),
459
473
  getterKey: "getGroupOptions",
460
474
  key: "options",
461
475
  noReturnOption: !0
462
- }), q = (n) => {
476
+ }), q = (a) => {
463
477
  const r = (c) => {
464
- if (c != null && c.length && n)
478
+ if (c != null && c.length && a)
465
479
  for (const h of c) {
466
- if (W(h) === n) return h;
480
+ if (W(h) === a) return h;
467
481
  const d = Y(h);
468
482
  if (d != null && d.length) {
469
483
  const V = r(d);
@@ -472,21 +486,17 @@ const [ke, Rt] = We("Combobox"), [At, $t] = We("_Combobox"), k = bt("combobox"),
472
486
  }
473
487
  };
474
488
  return r(t.props.options);
475
- }, Z = (n) => {
476
- const r = q(n);
477
- return r ? w(r) ?? n : n;
478
- }, J = (n) => {
479
- const r = q(n);
489
+ }, Z = (a) => {
490
+ const r = q(a);
491
+ return r ? w(r) ?? a : a;
492
+ }, J = (a) => {
493
+ const r = q(a);
480
494
  return r ? O(r) ?? !1 : !1;
481
- }, {
482
- contains: Q
483
- } = at({
484
- sensitivity: "base"
485
- }), ee = i(() => {
486
- const n = (r) => r == null ? void 0 : r.map((c) => {
495
+ }, { contains: Q } = nt({ sensitivity: "base" }), ee = i(() => {
496
+ const a = (r) => r == null ? void 0 : r.map((c) => {
487
497
  const h = w(c), d = W(c), V = S(c), A = I(c), $ = !t.searchModel.value || h && Q(h, t.searchModel.value), s = Y(c), b = !t.props.tree || d;
488
498
  if (s && b) {
489
- const u = n(s);
499
+ const u = a(s);
490
500
  if (u != null && u.length || $)
491
501
  return {
492
502
  groupLabel: A,
@@ -505,12 +515,8 @@ const [ke, Rt] = We("Combobox"), [At, $t] = We("_Combobox"), k = bt("combobox"),
505
515
  } : null;
506
516
  }).filter(Boolean);
507
517
  if (t.props.options)
508
- return n(t.props.options);
509
- }), {
510
- getDisabled: ce,
511
- getStatus: oe,
512
- getSize: te
513
- } = Vt({
518
+ return a(t.props.options);
519
+ }), { getDisabled: ce, getStatus: oe, getSize: te } = Vt({
514
520
  getDisabled: () => t.props.disabled,
515
521
  getSize: () => t.props.size,
516
522
  getStatus: () => t.props.status
@@ -524,17 +530,14 @@ const [ke, Rt] = We("Combobox"), [At, $t] = We("_Combobox"), k = bt("combobox"),
524
530
  default:
525
531
  return "sm";
526
532
  }
527
- }), {
528
- inputBindings: v,
529
- rootBindings: D
530
- } = _t({
533
+ }), { inputBindings: v, rootBindings: D } = _t({
531
534
  getDisabled: () => ce.value
532
535
  }), E = Ce(), z = () => {
533
- var n, r, c, h, d, V, A;
534
- e.open.value && e.inputElement.value && (t.props.headerSearch && ((n = E.value) != null && n.input) ? document.activeElement !== ((r = E.value) == null ? void 0 : r.input) && ((d = (h = (c = E.value) == null ? void 0 : c.input) == null ? void 0 : h.focus) == null || d.call(h)) : document.activeElement !== e.inputElement.value && ((A = (V = e.inputElement.value) == null ? void 0 : V.focus) == null || A.call(V)));
535
- }, R = (n) => {
536
- e.modelValue.value = n, t.emit("update:modelValue", n);
537
- }, se = (n) => n === void 0 ? !1 : Array.isArray(e.modelValue.value) ? !!(n && e.modelValue.value.includes(n)) : e.modelValue.value === n;
536
+ var a, r, c, h, d, V, A;
537
+ e.open.value && e.inputElement.value && (t.props.headerSearch && ((a = E.value) != null && a.input) ? document.activeElement !== ((r = E.value) == null ? void 0 : r.input) && ((d = (h = (c = E.value) == null ? void 0 : c.input) == null ? void 0 : h.focus) == null || d.call(h)) : document.activeElement !== e.inputElement.value && ((A = (V = e.inputElement.value) == null ? void 0 : V.focus) == null || A.call(V)));
538
+ }, R = (a) => {
539
+ e.modelValue.value = a, t.emit("update:modelValue", a);
540
+ }, se = (a) => a === void 0 ? !1 : Array.isArray(e.modelValue.value) ? !!(a && e.modelValue.value.includes(a)) : e.modelValue.value === a;
538
541
  Rt({
539
542
  ...t,
540
543
  getOptionValue: W,
@@ -560,59 +563,74 @@ const [ke, Rt] = We("Combobox"), [At, $t] = We("_Combobox"), k = bt("combobox"),
560
563
  comboboxTriggerBinding: D,
561
564
  ...e,
562
565
  modelValue: e.modelValue
563
- }), Ne(() => [t.props.clearOnChangeMultiple, t.props.multiple], () => {
564
- t.props.clearOnChangeMultiple && R(void 0);
565
- });
566
+ }), Ne(
567
+ () => [t.props.clearOnChangeMultiple, t.props.multiple],
568
+ () => {
569
+ t.props.clearOnChangeMultiple && R(void 0);
570
+ }
571
+ );
566
572
  const he = i(() => {
567
- const n = t.props.scrollContainerProps ?? {};
573
+ const a = t.props.scrollContainerProps ?? {};
568
574
  return {
569
- ...n,
570
- areaCls: [f(k, "scroll_area"), n == null ? void 0 : n.class, n == null ? void 0 : n.areaCls]
575
+ ...a,
576
+ areaCls: [
577
+ f(k, "scroll_area"),
578
+ a == null ? void 0 : a.class,
579
+ a == null ? void 0 : a.areaCls
580
+ ]
571
581
  };
572
582
  }), ie = f(k, "popup"), ge = Pe(ie, {
573
583
  variants: {
574
584
  size: U(Ue, ie)
575
585
  }
576
- }), ne = (n) => {
577
- if (vt(n))
578
- return `${n}px`;
579
- if (typeof n == "string")
580
- return n;
581
- }, be = i(() => ne(t.props.popupWidth)), me = i(() => ne(t.props.popupHeight)), Ie = i(() => ne(t.props.minWidth)), Te = i(() => ({
586
+ }), ae = (a) => {
587
+ if (vt(a))
588
+ return `${a}px`;
589
+ if (typeof a == "string")
590
+ return a;
591
+ }, be = i(() => ae(t.props.popupWidth)), me = i(() => ae(t.props.popupHeight)), Ie = i(() => ae(t.props.minWidth)), Te = i(() => ({
582
592
  type: te.value === "sm" ? "simple" : "advance",
583
593
  ...Me(t.props.emptyProps ?? {}, ["class"])
584
594
  })), He = i(() => Me(t.props.skeletonProps ?? {}, ["class"]));
585
595
  return () => {
586
596
  var A, $;
587
- const n = (s) => a(Ee, {
588
- option: s
589
- }, {
590
- trailing: o.optionTrailing,
591
- leading: o.optionLeading
592
- }), r = [];
597
+ const a = (s) => n(
598
+ Ee,
599
+ {
600
+ option: s
601
+ },
602
+ {
603
+ trailing: o.optionTrailing,
604
+ leading: o.optionLeading
605
+ }
606
+ ), r = [];
593
607
  let c;
594
608
  if (t.props.tree) {
595
609
  const b = H(e.modelValue.value) ? e.modelValue.value : e.modelValue.value ? [e.modelValue.value] : [];
596
- c = a(kt, {
597
- selectable: !0,
598
- checkable: t.props.multiple && t.props.checkbox,
599
- multiple: t.props.multiple,
600
- defaultExpandAll: !0,
601
- syncCheckboxAndSelect: t.props.multiple,
602
- showLine: !0,
603
- focusable: !1,
604
- modelValue: b,
605
- ...t.props.treeProps ?? {},
606
- data: ee.value ?? [],
607
- onExpand: z,
608
- onSelect: (u, _, B) => {
609
- const G = K(u._option);
610
- t.props.multiple ? R(G ? [] : B) : R(G || !_ ? void 0 : u._key), t.emit("select", u._key, _, u._option);
610
+ c = n(
611
+ kt,
612
+ {
613
+ selectable: !0,
614
+ checkable: t.props.multiple && t.props.checkbox,
615
+ multiple: t.props.multiple,
616
+ defaultExpandAll: !0,
617
+ syncCheckboxAndSelect: t.props.multiple,
618
+ showLine: !0,
619
+ focusable: !1,
620
+ modelValue: b,
621
+ ...t.props.treeProps ?? {},
622
+ data: ee.value ?? [],
623
+ onExpand: z,
624
+ onSelect: (u, _, B) => {
625
+ const G = K(u._option);
626
+ t.props.multiple ? R(G ? [] : B) : R(G || !_ ? void 0 : u._key), t.emit("select", u._key, _, u._option);
627
+ },
628
+ class: "w-full"
611
629
  },
612
- class: "w-full"
613
- }, {
614
- title: (u) => n(u._option)
615
- }), r.push(c);
630
+ {
631
+ node: (u) => a(u._option)
632
+ }
633
+ ), r.push(c);
616
634
  } else {
617
635
  let s = !1;
618
636
  const b = [];
@@ -621,24 +639,29 @@ const [ke, Rt] = We("Combobox"), [At, $t] = We("_Combobox"), k = bt("combobox"),
621
639
  if ((_ = u.children) != null && _.length) {
622
640
  const B = [];
623
641
  u.children.forEach((G) => {
624
- const pe = n(G._option);
642
+ const pe = a(G._option);
625
643
  se(W(G._option)) && t.props.sortSelectedItems ? b.push(pe) : B.push(pe);
626
- }), B.length && ((s || r.length) && (r.push(a(Ve)), s = !1), u.groupLabel && r.push(a(Kt, {
627
- class: t.props.labelCls
628
- }, () => u.groupLabel)), r.push(...B), s = !0);
644
+ }), B.length && ((s || r.length) && (r.push(n(Ve)), s = !1), u.groupLabel && r.push(
645
+ n(Kt, { class: t.props.labelCls }, () => u.groupLabel)
646
+ ), r.push(...B), s = !0);
629
647
  } else {
630
- const B = n(u._option);
631
- se(W(u._option)) && t.props.sortSelectedItems ? b.push(B) : (s && (r.push(a(Ve)), s = !1), r.push(B));
648
+ const B = a(u._option);
649
+ se(W(u._option)) && t.props.sortSelectedItems ? b.push(B) : (s && (r.push(n(Ve)), s = !1), r.push(B));
632
650
  }
633
651
  }), t.props.sortSelectedItems && b.length) {
634
652
  const u = !!r.length;
635
- r.splice(0, 0, ...b), u && r.splice(b.length, 0, a(Ve));
653
+ r.splice(0, 0, ...b), u && r.splice(b.length, 0, n(Ve));
636
654
  }
637
655
  }
638
- const h = ft(c ? [c] : r, Ee).filter((s) => {
639
- var b;
640
- return xe(s == null ? void 0 : s.props) && ((b = s == null ? void 0 : s.props) == null ? void 0 : b.option);
641
- }), d = !!(t.props.tree && ((A = ee.value) != null && A.length) || h != null && h.length), V = () => {
656
+ const h = ft(
657
+ c ? [c] : r,
658
+ Ee
659
+ ).filter(
660
+ (s) => {
661
+ var b;
662
+ return xe(s == null ? void 0 : s.props) && ((b = s == null ? void 0 : s.props) == null ? void 0 : b.option);
663
+ }
664
+ ), d = !!(t.props.tree && ((A = ee.value) != null && A.length) || h != null && h.length), V = () => {
642
665
  var b, u;
643
666
  const s = [];
644
667
  if (d || t.props.loading) {
@@ -648,77 +671,115 @@ const [ke, Rt] = We("Combobox"), [At, $t] = We("_Combobox"), k = bt("combobox"),
648
671
  if (!F(B)) _.push(B);
649
672
  else {
650
673
  const G = new Array(d ? 2 : t.props.loadingRowCount).fill(1);
651
- _.push(...G.map(() => a(Ct, {
652
- size: te.value,
653
- class: X(f(k, "skeleton"), t.props.skeletonCls),
654
- ...He.value
655
- })));
674
+ _.push(
675
+ ...G.map(
676
+ () => n(Ct, {
677
+ size: te.value,
678
+ class: X(
679
+ f(k, "skeleton"),
680
+ t.props.skeletonCls
681
+ ),
682
+ ...He.value
683
+ })
684
+ )
685
+ );
656
686
  }
657
687
  }
658
- s.push(a("div", {
659
- class: X(f(k, "options"), t.props.optionsCls)
660
- }, _));
688
+ s.push(
689
+ n(
690
+ "div",
691
+ {
692
+ class: X(f(k, "options"), t.props.optionsCls)
693
+ },
694
+ _
695
+ )
696
+ );
661
697
  } else if (!d) {
662
698
  const _ = (u = o.empty) == null ? void 0 : u.call(o, Te.value);
663
- F(_) ? s.push(a(yt, {
664
- class: X(f(k, "empty"), t.props.emptyCls),
665
- ...Te.value
666
- }, {
667
- title: o.emptyTitle,
668
- description: o.emptyDescription,
669
- actions: o.emptyActions,
670
- image: o.emptyImage
671
- })) : s.push(_);
699
+ F(_) ? s.push(
700
+ n(
701
+ yt,
702
+ {
703
+ class: X(f(k, "empty"), t.props.emptyCls),
704
+ ...Te.value
705
+ },
706
+ {
707
+ title: o.emptyTitle,
708
+ description: o.emptyDescription,
709
+ actions: o.emptyActions,
710
+ image: o.emptyImage
711
+ }
712
+ )
713
+ ) : s.push(_);
672
714
  }
673
- return t.props.lazyLoading && s.push(a("div", {
674
- class: f(k, "lazy_loading")
675
- }, a("div", {
676
- class: f(k, "lazy_loading_trigger"),
677
- ref: m
678
- }))), s;
715
+ return t.props.lazyLoading && s.push(
716
+ n(
717
+ "div",
718
+ { class: f(k, "lazy_loading") },
719
+ n("div", {
720
+ class: f(k, "lazy_loading_trigger"),
721
+ ref: m
722
+ })
723
+ )
724
+ ), s;
679
725
  };
680
- return [t.props.noTrigger ? null : a(Wt, {
681
- ref: p,
682
- ...t.attrs,
683
- style: {
684
- ...(($ = t.attrs) == null ? void 0 : $.style) ?? {},
685
- "--ptc-combobox-trigger-min-w": Ie.value
686
- }
687
- }, {
688
- trigger: o.trigger,
689
- triggerTrailing: o.triggerTrailing
690
- }), a(lt, L.value, () => a(rt, {
691
- ...M.value,
692
- class: X(ge(t.props), t.props.popupCls),
693
- style: {
694
- display: e.open.value ? void 0 : "none",
695
- zIndex: t.props.zIndex,
696
- "--ptc-combobox-popup-width": t.props.samePopupWidth ? void 0 : be.value,
697
- "--ptc-combobox-popup-height": me.value,
698
- "--ptc-combobox-trigger-min-w": Ie.value
699
- },
700
- onClick: z
701
- }, () => {
702
- var B, G, pe, ze;
703
- const s = [], b = (G = o.header) == null ? void 0 : G.call(o, {
704
- isEmpty: !((B = ee.value) != null && B.length),
705
- search: t.searchModel.value
706
- }), u = !F(b);
707
- if (t.props.headerSearch || u) {
708
- const ye = [];
709
- u && ye.push(b), t.props.headerSearch && ye.push(a(je)), s.push(a("div", {
710
- class: f(k, "header")
711
- }, ye));
712
- }
713
- s.push(a(Pt, he.value, V));
714
- const _ = (ze = o.footer) == null ? void 0 : ze.call(o, {
715
- isEmpty: !((pe = ee.value) != null && pe.length),
716
- search: t.searchModel.value
717
- });
718
- return F(_) || s.push(a("div", {
719
- class: f(k, "footer")
720
- }, _)), s;
721
- }))];
726
+ return [
727
+ t.props.noTrigger ? null : n(
728
+ Wt,
729
+ {
730
+ ref: p,
731
+ ...t.attrs,
732
+ style: {
733
+ ...(($ = t.attrs) == null ? void 0 : $.style) ?? {},
734
+ "--ptc-combobox-trigger-min-w": Ie.value
735
+ }
736
+ },
737
+ {
738
+ trigger: o.trigger,
739
+ triggerTrailing: o.triggerTrailing
740
+ }
741
+ ),
742
+ n(
743
+ lt,
744
+ L.value,
745
+ () => n(
746
+ rt,
747
+ {
748
+ ...M.value,
749
+ class: X(ge(t.props), t.props.popupCls),
750
+ style: {
751
+ display: e.open.value ? void 0 : "none",
752
+ zIndex: t.props.zIndex,
753
+ "--ptc-combobox-popup-width": t.props.samePopupWidth ? void 0 : be.value,
754
+ "--ptc-combobox-popup-height": me.value,
755
+ "--ptc-combobox-trigger-min-w": Ie.value
756
+ },
757
+ onClick: z
758
+ },
759
+ () => {
760
+ var B, G, pe, ze;
761
+ const s = [], b = (G = o.header) == null ? void 0 : G.call(o, {
762
+ isEmpty: !((B = ee.value) != null && B.length),
763
+ search: t.searchModel.value
764
+ }), u = !F(b);
765
+ if (t.props.headerSearch || u) {
766
+ const ye = [];
767
+ u && ye.push(b), t.props.headerSearch && ye.push(n(je)), s.push(
768
+ n("div", { class: f(k, "header") }, ye)
769
+ );
770
+ }
771
+ s.push(n(Pt, he.value, V));
772
+ const _ = (ze = o.footer) == null ? void 0 : ze.call(o, {
773
+ isEmpty: !((pe = ee.value) != null && pe.length),
774
+ search: t.searchModel.value
775
+ });
776
+ return F(_) || s.push(
777
+ n("div", { class: f(k, "footer") }, _)
778
+ ), s;
779
+ }
780
+ )
781
+ )
782
+ ];
722
783
  };
723
784
  }
724
785
  }), yo = /* @__PURE__ */ le({