@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
@@ -0,0 +1,770 @@
1
+ import { defineComponent as te, createElementBlock as ze, openBlock as _e, normalizeClass as ke, unref as le, renderSlot as Be, computed as C, h as a, ref as ve, watch as we, useSlots as De, useAttrs as Ae, createBlock as Fe, normalizeProps as Ce, guardReactiveProps as ye, withCtx as Se, createVNode as We, createSlots as $e, renderList as Ee } from "vue";
2
+ import { createContext as Pe, SelectItem as Ge, SelectItemIndicator as Ne, SelectTrigger as Re, Primitive as je, injectSelectRootContext as Ke, SelectPortal as Me, SelectContent as qe, useEmitAsProps as Ue, SelectRoot as He } from "reka-ui";
3
+ import { isString as ee, cloneDeep as he, omit as be, isFunction as Ve, omitBy as Je, pick as Oe, isUndefined as Qe } from "es-toolkit";
4
+ import { g as Te, a as ge } from "./options-Bh1s18jm.js";
5
+ import { k as p, e as ce, l as q, s as Y, m as Z, h as Xe, j as Ye, g as Ze, t as Le, o as et } from "./Icon.vue_vue_type_style_index_0_lang-DkeXz23k.js";
6
+ import { getBemBlock as tt, getBemElement as y, generateVariantClassList as E, normCls as _ } from "@pantograph/utils";
7
+ import { cva as de } from "class-variance-authority";
8
+ import { _ as ot } from "./Empty.vue_vue_type_style_index_0_lang-C1kPtilP.js";
9
+ import { _ as nt } from "./Skeleton.vue_vue_type_style_index_0_lang-2rpO7HY2.js";
10
+ import { _ as xe } from "./Divider.vue_vue_type_style_index_0_lang-CfBklijs.js";
11
+ import { u as rt } from "./useInputDataStates-BNwXgt9l.js";
12
+ import { u as it } from "./useLazyLoading-Zo-PEp2E.js";
13
+ import { g as at, b as lt } from "./Popover.vue_vue_type_style_index_0_lang-BolWR0Oq.js";
14
+ import { u as pt } from "./ConfigProvider.vue_vue_type_script_setup_true_lang-D8R0hBKt.js";
15
+ import { _ as st } from "./ScrollContainer.vue_vue_type_style_index_0_lang-Dl1jP8xY.js";
16
+ import { _ as ut } from "./Chip.vue_vue_type_style_index_0_lang-DZpyBQK1.js";
17
+ import { _ as ct } from "./ChipGroup.vue_vue_type_style_index_0_lang-CeTQpuIw.js";
18
+ const me = ["sm", "md", "lg"], gt = ["error", "warning", "success"], [Ie, dt] = Pe("Select"), [mt, ft] = Pe("_Select"), k = tt("select"), vt = /* @__PURE__ */ te({
19
+ ...Te("SelectLabel"),
20
+ __name: "SelectLabel",
21
+ setup(m) {
22
+ return (e, o) => (_e(), ze("div", {
23
+ class: ke(le(y)(le(k), "label"))
24
+ }, [
25
+ Be(e.$slots, "default")
26
+ ], 2));
27
+ }
28
+ }), ue = te({
29
+ name: ge("SelectOption"),
30
+ props: {
31
+ option: {
32
+ type: [Object, String],
33
+ required: !0
34
+ }
35
+ },
36
+ slots: Object,
37
+ setup(m, { slots: e }) {
38
+ const o = Ie(), t = C(() => {
39
+ switch (o.getSize.value) {
40
+ case "sm":
41
+ return "2xsm";
42
+ case "lg":
43
+ return "sm";
44
+ case "md":
45
+ default:
46
+ return "xsm";
47
+ }
48
+ }), w = C(() => o.getOptionValue(m.option)), u = C(() => o.getOptionLabel(m.option)), G = C(() => o.getOptionIcon(m.option)), K = C(() => o.getOptionDisabled(m.option)), I = y(k, "option"), U = de(I, {
49
+ variants: {
50
+ size: E(me, I)
51
+ }
52
+ });
53
+ if (!m.option) throw new Error("option is required");
54
+ const D = () => {
55
+ var h;
56
+ const V = (h = e.indicator) == null ? void 0 : h.call(e, { option: m.option });
57
+ return p(V) ? a(
58
+ Ne,
59
+ { asChild: !0 },
60
+ () => a(ce, { icon: o.props.indicatorIcon, size: t.value })
61
+ ) : V;
62
+ }, A = () => {
63
+ var P, F, M;
64
+ const V = (P = e.default) == null ? void 0 : P.call(e, { option: m.option }), h = [];
65
+ if (!p(V)) h.push(V);
66
+ else {
67
+ const W = (F = e.leading) == null ? void 0 : F.call(e, { option: m.option }), H = !p(W);
68
+ if (G.value || H) {
69
+ let L;
70
+ H ? L = W : L = a(ce, { icon: G.value, size: t.value }), h.push(
71
+ a(
72
+ "div",
73
+ { class: _(y(I, "leading"), o.props.itemLeadingCls) },
74
+ L
75
+ )
76
+ );
77
+ }
78
+ let l;
79
+ const O = (M = e.text) == null ? void 0 : M.call(e, { option: m.option });
80
+ p(O) ? l = u.value : l = O, h.push(
81
+ a(
82
+ "div",
83
+ {
84
+ class: _(y(I, "text"), o.props.optionTextCls)
85
+ },
86
+ l
87
+ )
88
+ );
89
+ }
90
+ return a(
91
+ "div",
92
+ { class: _(y(I, "content"), o.props.optionContentCls) },
93
+ h
94
+ );
95
+ };
96
+ return () => a(
97
+ Ge,
98
+ {
99
+ value: w.value,
100
+ textValue: u.value,
101
+ disabled: K.value,
102
+ class: _(
103
+ U({
104
+ size: o.getSize.value
105
+ }),
106
+ o.props.optionCls
107
+ )
108
+ },
109
+ () => [A(), D()]
110
+ );
111
+ }
112
+ }), Ct = te({
113
+ name: ge("SelectTrigger"),
114
+ props: {
115
+ getOptionSlot: {
116
+ type: Function,
117
+ required: !0
118
+ }
119
+ },
120
+ setup(m, { slots: e, attrs: o }) {
121
+ const t = Ie(), w = ({ value: l }, O) => {
122
+ if (O.stopPropagation(), l && Y(t.modelValue.value) && !t.getDisabled.value) {
123
+ const L = t.modelValue.value.filter((J) => J !== l);
124
+ t.modelValue.value = L, t.emit("update:modelValue", L);
125
+ }
126
+ }, u = y(k, "trigger"), G = de(u, {
127
+ variants: {
128
+ size: E(me, u),
129
+ status: E(gt, u),
130
+ bordered: E("bordered", u),
131
+ multiple: E("multiple", u),
132
+ contentFit: E("content-fit", u),
133
+ wrapped: E("wrapped", u),
134
+ filled: E("filled", u)
135
+ }
136
+ }), K = C(() => {
137
+ switch (t.getSize.value) {
138
+ case "sm":
139
+ return "xsm";
140
+ case "lg":
141
+ return "md";
142
+ case "md":
143
+ default:
144
+ return "sm";
145
+ }
146
+ }), I = C(() => {
147
+ switch (t.getSize.value) {
148
+ case "sm":
149
+ return "2xsm";
150
+ case "md":
151
+ default:
152
+ return "xsm";
153
+ }
154
+ }), U = C(() => {
155
+ if (!t.props.multiple && ee(t.modelValue.value) && !q(t.modelValue.value))
156
+ return t.getOptionByValue(t.modelValue.value);
157
+ }), D = (l = U.value) => {
158
+ if (t.props.selectedItemIconAsTrailingIcon && Z(l) && "icon" in l)
159
+ return l.icon;
160
+ }, A = C(() => D()), V = C(() => {
161
+ if (!t.props.noTrailing)
162
+ return t.props.trailingIcon;
163
+ }), h = C(
164
+ () => !q(t.modelValue.value) && t.props.multiple && Y(t.modelValue.value)
165
+ ), P = C(() => ({
166
+ modelValue: he(t.modelValue.value),
167
+ open: he(t.open.value)
168
+ })), F = (l) => ({
169
+ ...P.value,
170
+ option: t.getOptionByValue(l)
171
+ }), M = C(() => ({
172
+ disabled: t.getDisabled.value,
173
+ reference: t.props.reference,
174
+ tabindex: t.getDisabled.value ? void 0 : 0,
175
+ as: "div",
176
+ class: _(
177
+ G({
178
+ size: t.getSize.value,
179
+ status: t.getStatus.value === "success" && q(t.modelValue.value) ? void 0 : t.getStatus.value,
180
+ bordered: t.props.bordered,
181
+ multiple: t.props.multiple,
182
+ contentFit: t.props.contentFit,
183
+ wrapped: t.props.wrapped,
184
+ filled: !q(t.modelValue.value)
185
+ }),
186
+ t.props.triggerCls
187
+ ),
188
+ ...o
189
+ })), W = (l, O = I.value) => a(ce, { icon: l, size: O }), H = () => {
190
+ var L;
191
+ let l;
192
+ const O = (L = e.triggerTrailing) == null ? void 0 : L.call(e, P.value);
193
+ if (p(O) ? V.value && (l = W(V.value)) : l = O, l)
194
+ return a(
195
+ "div",
196
+ { class: _(y(u, "trailing"), t.props.triggerTrailingCls) },
197
+ l
198
+ );
199
+ };
200
+ return () => {
201
+ var J;
202
+ const l = (J = e.trigger) == null ? void 0 : J.call(e, P.value), L = (() => {
203
+ if (p(l)) return !1;
204
+ const T = Xe(l) ?? null, N = T.length === 1 ? T[0] : T;
205
+ return N ? Ye(N) && !Ze(N) : !0;
206
+ })();
207
+ return a(
208
+ Re,
209
+ { ...M.value, asChild: L, key: String(L) },
210
+ {
211
+ default: () => {
212
+ var Q;
213
+ if (!p(l))
214
+ return l;
215
+ const T = (Q = e.triggerLeading) == null ? void 0 : Q.call(e, P.value), N = !p(T), oe = () => {
216
+ var $;
217
+ if (!t.props.multiple && !Y(t.modelValue.value)) {
218
+ const j = ($ = m.getOptionSlot(
219
+ "leading",
220
+ t.modelValue.value
221
+ )) == null ? void 0 : $();
222
+ if (N || j || A.value || t.props.leadingIcon) {
223
+ let r;
224
+ return p(j) ? A.value ? r = W(A.value) : N ? r = T : t.props.leadingIcon && (r = W(t.props.leadingIcon)) : r = j, a(
225
+ "div",
226
+ {
227
+ class: _(
228
+ y(u, "leading"),
229
+ t.props.triggerLeadingCls
230
+ )
231
+ },
232
+ r
233
+ );
234
+ }
235
+ }
236
+ }, pe = () => {
237
+ const $ = [];
238
+ if (q(t.modelValue.value)) {
239
+ if (t.props.placeholder && !t.props.multiple) {
240
+ const j = () => {
241
+ var b;
242
+ const r = (b = e.placeholder) == null ? void 0 : b.call(e, P.value);
243
+ return p(r) ? t.props.placeholder : r;
244
+ };
245
+ $.push(j());
246
+ }
247
+ } else {
248
+ const r = (() => {
249
+ var B, f, g;
250
+ const b = (B = e.triggerValue) == null ? void 0 : B.call(e, P.value);
251
+ if (!p(b)) return b;
252
+ if (t.props.multiple && Y(t.modelValue.value))
253
+ return a(
254
+ ct,
255
+ {
256
+ maxCount: t.props.maxCount,
257
+ size: K.value,
258
+ color: "primary",
259
+ closeable: !t.getDisabled.value,
260
+ noPopover: !0,
261
+ noWrap: !t.props.wrapped,
262
+ class: _(y(u, "tag_list"), t.props.tagListCls),
263
+ onClose: w
264
+ },
265
+ () => t.modelValue.value.map((c) => {
266
+ var X;
267
+ const x = (n) => {
268
+ var v;
269
+ const i = (v = e.tagClose) == null ? void 0 : v.call(e, {
270
+ ...F(c),
271
+ onClose: n
272
+ });
273
+ return p(i) ? null : i;
274
+ }, z = (X = m.getOptionSlot("default", c)) == null ? void 0 : X(), se = () => {
275
+ var v, s;
276
+ const n = (v = m.getOptionSlot("text", c)) == null ? void 0 : v(), i = (s = e.tagText) == null ? void 0 : s.call(e, F(c));
277
+ return p(i) ? p(z) ? p(n) ? t.getLabelByValue(c) : n : z : i;
278
+ }, ie = ({ size: n }) => {
279
+ var S, d;
280
+ if (!p(z)) return null;
281
+ const i = (S = m.getOptionSlot("leading", c)) == null ? void 0 : S(), v = (d = e.tagLeading) == null ? void 0 : d.call(e, F(c)), s = D(t.getOptionByValue(c)) ?? t.props.leadingIcon;
282
+ return p(v) ? p(i) ? s ? W(s, n) : p(T) ? null : T : i : v;
283
+ }, ae = () => {
284
+ var i;
285
+ const n = (i = e.tagTrailing) == null ? void 0 : i.call(e, F(c));
286
+ return p(n) ? null : n;
287
+ };
288
+ return a(
289
+ ut,
290
+ {
291
+ value: c,
292
+ class: _(y(u, "tag"), t.props.tagCls),
293
+ closeIconCls: y(u, "tag__close")
294
+ },
295
+ {
296
+ text: se,
297
+ leading: ie,
298
+ trailing: ae,
299
+ close: x
300
+ }
301
+ );
302
+ })
303
+ );
304
+ if (!Y(t.modelValue.value)) {
305
+ const c = (f = m.getOptionSlot("default", t.modelValue.value)) == null ? void 0 : f(), x = (g = m.getOptionSlot("text", t.modelValue.value)) == null ? void 0 : g();
306
+ return p(c) ? p(x) ? ee(t.modelValue.value) ? t.getLabelByValue(t.modelValue.value) : t.modelValue.value : x : c;
307
+ }
308
+ })();
309
+ r && $.push(r);
310
+ }
311
+ return $;
312
+ }, R = [], ne = oe();
313
+ p(ne) || R.push(ne), R.push(
314
+ a(
315
+ je,
316
+ {
317
+ class: _(
318
+ y(u, "content"),
319
+ t.props.triggerContentCls,
320
+ q(t.modelValue.value) ? t.props.triggerContentPlaceholderCls : t.props.triggerContentValueCls
321
+ ),
322
+ as: "div",
323
+ key: String(h.value),
324
+ asChild: h.value
325
+ },
326
+ { default: pe }
327
+ )
328
+ );
329
+ const re = H();
330
+ return p(re) || R.push(re), R;
331
+ }
332
+ }
333
+ );
334
+ };
335
+ }
336
+ }), yt = te({
337
+ name: ge("SelectWrapper"),
338
+ setup(m, { slots: e }) {
339
+ const o = mt(), t = Ke(), w = ve();
340
+ it({ target: w });
341
+ const u = ve(), G = at({ triggerRef: u, props: o.props }), { getFlipOnDir: K, getDir: I } = pt(), U = K("reversePlacementOnDir"), D = I(), A = lt({
342
+ props: o.props,
343
+ flip: U,
344
+ emitsAsProps: o.emitsAsProps,
345
+ _dir: D,
346
+ controlAutoFocus: !1,
347
+ extraPropNames: ["bodyLock", "position"]
348
+ }), V = ({
349
+ key: r,
350
+ getterKey: b,
351
+ defaultValue: B,
352
+ noReturnOption: f
353
+ }) => (g) => {
354
+ const c = Ve(B) ? B(g) : B;
355
+ if (Z(g)) {
356
+ const x = g[r] ?? c, z = b && o.props[b];
357
+ if (z) {
358
+ if (ee(z))
359
+ return g[z] ?? x;
360
+ if (Ve(z)) return z(g) ?? x;
361
+ }
362
+ return x;
363
+ }
364
+ return ee(g) && !f ? g ?? c : c;
365
+ }, h = V({
366
+ getterKey: "getValue",
367
+ key: "value"
368
+ }), P = V({
369
+ getterKey: "getLabel",
370
+ key: "label",
371
+ defaultValue: h
372
+ }), F = V({
373
+ getterKey: "getIcon",
374
+ key: "icon",
375
+ noReturnOption: !0
376
+ }), M = (r) => {
377
+ var b;
378
+ if ((b = o.props.options) != null && b.length)
379
+ for (const B of o.props.options) {
380
+ if (h(B) === r) return B;
381
+ const f = O(B);
382
+ if (f != null && f.length) {
383
+ for (const g of f)
384
+ if (h(g) === r) return g;
385
+ }
386
+ }
387
+ return r;
388
+ }, W = (r) => {
389
+ const b = M(r);
390
+ return b ? P(b) ?? r : r;
391
+ }, H = V({
392
+ getterKey: "getDisabled",
393
+ key: "disabled",
394
+ defaultValue: !1,
395
+ noReturnOption: !0
396
+ }), l = V({
397
+ getterKey: "getGroupLabel",
398
+ key: "label",
399
+ noReturnOption: !0
400
+ }), O = V({
401
+ getterKey: "getGroupOptions",
402
+ key: "options",
403
+ noReturnOption: !0
404
+ }), { getDisabled: L, getStatus: J, getSize: T } = rt({
405
+ getDisabled: () => o.props.disabled,
406
+ getSize: () => o.props.size,
407
+ getStatus: () => o.props.status
408
+ });
409
+ dt({
410
+ props: o.props,
411
+ attrs: o.attrs,
412
+ emit: o.emit,
413
+ getOptionValue: h,
414
+ getOptionLabel: P,
415
+ getOptionDisabled: H,
416
+ getOptionIcon: F,
417
+ getOptionByValue: M,
418
+ getLabelByValue: W,
419
+ getDisabled: L,
420
+ getStatus: J,
421
+ getSize: T,
422
+ ...t,
423
+ modelValue: t.modelValue
424
+ }), we(
425
+ () => [o.props.clearOnChangeMultiple, o.props.multiple],
426
+ () => {
427
+ o.props.clearOnChangeMultiple && (t.modelValue.value = void 0, o.emit("update:modelValue", void 0));
428
+ }
429
+ );
430
+ const N = C(() => {
431
+ const r = o.props.scrollContainerProps ?? {};
432
+ return {
433
+ ...r,
434
+ areaCls: [
435
+ y(k, "scroll_area"),
436
+ r == null ? void 0 : r.class,
437
+ r == null ? void 0 : r.areaCls
438
+ ]
439
+ };
440
+ }), oe = y(k, "popup"), pe = de(oe, {
441
+ variants: {
442
+ size: E(me, oe)
443
+ }
444
+ }), R = (r) => {
445
+ if (et(r))
446
+ return `${r}px`;
447
+ if (typeof r == "string")
448
+ return r;
449
+ }, ne = C(() => R(o.props.popupWidth)), re = C(() => R(o.props.popupHeight)), Q = C(() => R(o.props.minWidth)), $ = C(() => ({
450
+ type: T.value === "sm" ? "simple" : "advance",
451
+ ...be(o.props.emptyProps ?? {}, ["class"])
452
+ })), j = C(() => be(o.props.skeletonProps ?? {}, ["class"]));
453
+ return () => {
454
+ var ie, ae, X;
455
+ const r = (n) => {
456
+ var i;
457
+ if ((i = o.props.options) != null && i.length && n > 0)
458
+ return !!o.props.options[n - 1];
459
+ }, b = (n) => {
460
+ var i, v;
461
+ if ((i = o.props.options) != null && i.length && n > 0) {
462
+ const s = o.props.options[n - 1];
463
+ return !!(s && ((v = O(s)) != null && v.length));
464
+ }
465
+ }, B = (ie = e.default) == null ? void 0 : ie.call(e, {}), f = (ae = Le(B, ue)) == null ? void 0 : ae.filter(
466
+ (n) => {
467
+ var i;
468
+ return Z(n == null ? void 0 : n.props) && ((i = n == null ? void 0 : n.props) == null ? void 0 : i.option);
469
+ }
470
+ ), g = [];
471
+ (o.props.options ?? []).forEach((n, i) => {
472
+ const v = (S) => a(
473
+ ue,
474
+ {
475
+ option: S
476
+ },
477
+ {
478
+ default: () => {
479
+ var d;
480
+ return (d = e.option) == null ? void 0 : d.call(e, { option: S });
481
+ },
482
+ leading: () => {
483
+ var d;
484
+ return (d = e.optionLeading) == null ? void 0 : d.call(e, { option: S });
485
+ },
486
+ indicator: () => {
487
+ var d;
488
+ return (d = e.optionIndicator) == null ? void 0 : d.call(e, { option: S });
489
+ },
490
+ text: () => {
491
+ var d;
492
+ return (d = e.optionText) == null ? void 0 : d.call(e, { option: S });
493
+ }
494
+ }
495
+ ), s = O(n);
496
+ if (s != null && s.length) {
497
+ r(i) && g.push(a(xe));
498
+ const S = l(n);
499
+ S && g.push(
500
+ a(vt, { class: o.props.labelCls }, () => S)
501
+ ), s.forEach((d) => {
502
+ g.push(v(d));
503
+ });
504
+ } else b(i) ? g.push(a(xe)) : g.push(v(n));
505
+ });
506
+ const c = Le(g, ue).filter(
507
+ (n) => {
508
+ var i;
509
+ return Z(n == null ? void 0 : n.props) && ((i = n == null ? void 0 : n.props) == null ? void 0 : i.option);
510
+ }
511
+ ), x = !!(c != null && c.length || f != null && f.length), z = (n, i) => {
512
+ var v;
513
+ if (x && !q(i) && ee(i)) {
514
+ const s = f != null && f.length ? f : c;
515
+ if (s.length) {
516
+ const S = s.find(
517
+ (d) => {
518
+ var fe;
519
+ return Z(d.props) && h((fe = d.props) == null ? void 0 : fe.option) === i;
520
+ }
521
+ );
522
+ return (v = S == null ? void 0 : S.children) == null ? void 0 : v[n];
523
+ }
524
+ }
525
+ }, se = () => {
526
+ var i, v;
527
+ const n = [];
528
+ if (x || o.props.loading) {
529
+ const s = [];
530
+ if (x && (f != null && f.length ? s.push(B) : s.push(...g)), o.props.loading) {
531
+ const S = (i = e.loading) == null ? void 0 : i.call(e, {});
532
+ if (!p(S)) s.push(S);
533
+ else {
534
+ const d = new Array(x ? 2 : o.props.loadingRowCount).fill(1);
535
+ s.push(
536
+ ...d.map(
537
+ () => a(nt, {
538
+ size: T.value,
539
+ class: _(
540
+ y(k, "skeleton"),
541
+ o.props.skeletonCls
542
+ ),
543
+ ...j.value
544
+ })
545
+ )
546
+ );
547
+ }
548
+ }
549
+ n.push(
550
+ a(
551
+ "div",
552
+ {
553
+ class: _(y(k, "options"), o.props.optionsCls)
554
+ },
555
+ s
556
+ )
557
+ );
558
+ } else if (!x) {
559
+ const s = (v = e.empty) == null ? void 0 : v.call(e, $.value);
560
+ p(s) ? n.push(
561
+ a(
562
+ ot,
563
+ {
564
+ class: _(y(k, "empty"), o.props.emptyCls),
565
+ ...$.value
566
+ },
567
+ {
568
+ title: e.emptyTitle,
569
+ description: e.emptyDescription,
570
+ actions: e.emptyActions,
571
+ image: e.emptyImage
572
+ }
573
+ )
574
+ ) : n.push(s);
575
+ }
576
+ return o.props.lazyLoading && n.push(
577
+ a(
578
+ "div",
579
+ { class: y(k, "lazy_loading") },
580
+ a("div", { class: y(k, "lazy_loading_trigger"), ref: w })
581
+ )
582
+ ), n;
583
+ };
584
+ return [
585
+ a(
586
+ Ct,
587
+ {
588
+ getOptionSlot: z,
589
+ ref: u,
590
+ ...o.attrs,
591
+ style: {
592
+ ...((X = o.attrs) == null ? void 0 : X.style) ?? {},
593
+ "--ptc-select-trigger-min-w": Q.value
594
+ }
595
+ },
596
+ {
597
+ trigger: e.trigger,
598
+ triggerLeading: e.triggerLeading,
599
+ placeholder: e.placeholder,
600
+ triggerValue: e.triggerValue,
601
+ triggerTrailing: e.triggerTrailing,
602
+ tagClose: e.tagClose,
603
+ tagTrailing: e.tagTrailing,
604
+ tagLeading: e.tagLeading,
605
+ tagText: e.tagText
606
+ }
607
+ ),
608
+ a(
609
+ Me,
610
+ G.value,
611
+ () => a(
612
+ qe,
613
+ {
614
+ ...A.value,
615
+ class: _(pe(o.props), o.props.popupCls),
616
+ style: {
617
+ display: t.open.value ? void 0 : "none",
618
+ zIndex: o.props.zIndex,
619
+ "--ptc-select-popup-width": o.props.samePopupWidth ? void 0 : ne.value,
620
+ "--ptc-select-popup-height": re.value,
621
+ "--ptc-select-trigger-min-w": Q.value
622
+ }
623
+ },
624
+ () => a(st, N.value, se)
625
+ )
626
+ )
627
+ ];
628
+ };
629
+ }
630
+ }), Ft = /* @__PURE__ */ te({
631
+ ...Te("Select"),
632
+ __name: "Select",
633
+ props: {
634
+ status: {},
635
+ size: { default: "md" },
636
+ multiple: { type: Boolean, default: void 0 },
637
+ contentFit: { type: Boolean },
638
+ wrapped: { type: Boolean },
639
+ noTrailing: { type: Boolean },
640
+ leadingIcon: {},
641
+ zIndex: {},
642
+ trailingIcon: { default: "tabler:chevron-down" },
643
+ selectedItemIconAsTrailingIcon: { type: Boolean, default: !0 },
644
+ maxCount: {},
645
+ to: {},
646
+ placeholder: {},
647
+ indicatorIcon: { default: "tabler:check" },
648
+ options: {},
649
+ getDisabled: {},
650
+ getLabel: {},
651
+ getValue: {},
652
+ getGroupOptions: {},
653
+ getGroupLabel: {},
654
+ getIcon: {},
655
+ placement: { default: "bottom" },
656
+ reversePlacementOnDir: {},
657
+ loading: { type: Boolean },
658
+ skeletonProps: {},
659
+ loadingRowCount: { default: 10 },
660
+ lazyLoading: { type: Boolean },
661
+ bordered: { type: Boolean, default: !0 },
662
+ clearOnChangeMultiple: { type: Boolean, default: !0 },
663
+ triggerCls: {},
664
+ triggerLeadingCls: {},
665
+ triggerContentCls: {},
666
+ triggerContentPlaceholderCls: {},
667
+ triggerContentValueCls: {},
668
+ triggerTrailingCls: {},
669
+ itemLeadingCls: {},
670
+ optionCls: {},
671
+ tagListCls: {},
672
+ tagCls: {},
673
+ popupCls: {},
674
+ labelCls: {},
675
+ optionsCls: {},
676
+ optionTextCls: {},
677
+ optionContentCls: {},
678
+ emptyCls: {},
679
+ skeletonCls: {},
680
+ scrollContainerProps: {},
681
+ emptyProps: {},
682
+ samePopupWidth: { type: Boolean, default: !0 },
683
+ popupHeight: { default: 384 },
684
+ popupWidth: {},
685
+ minWidth: {},
686
+ open: { type: Boolean, default: void 0 },
687
+ defaultOpen: { type: Boolean, default: void 0 },
688
+ defaultValue: {},
689
+ modelValue: {},
690
+ by: {},
691
+ dir: {},
692
+ autocomplete: {},
693
+ disabled: { type: Boolean, default: void 0 },
694
+ name: {},
695
+ required: { type: Boolean },
696
+ reference: {},
697
+ forceMount: { type: Boolean, default: void 0 },
698
+ position: { default: "popper" },
699
+ bodyLock: { type: Boolean },
700
+ side: {},
701
+ sideOffset: { default: 4 },
702
+ align: {},
703
+ alignOffset: {},
704
+ avoidCollisions: { type: Boolean, default: void 0 },
705
+ collisionBoundary: {},
706
+ collisionPadding: { default: 4 },
707
+ arrowPadding: {},
708
+ sticky: {},
709
+ hideWhenDetached: { type: Boolean, default: void 0 },
710
+ positionStrategy: { default: "fixed" },
711
+ updatePositionStrategy: {},
712
+ disableUpdateOnLayoutShift: { type: Boolean, default: void 0 },
713
+ prioritizePosition: { type: Boolean, default: void 0 },
714
+ asChild: { type: Boolean },
715
+ as: {},
716
+ defer: { type: Boolean }
717
+ },
718
+ emits: ["update:modelValue", "update:open", "closeAutoFocus", "escapeKeyDown", "pointerDownOutside"],
719
+ setup(m, { emit: e }) {
720
+ const o = m, t = e, w = Ue(t), u = C(
721
+ () => Je(
722
+ {
723
+ ...Oe(o, [
724
+ "open",
725
+ "defaultOpen",
726
+ "defaultValue",
727
+ "modelValue",
728
+ "by",
729
+ "dir",
730
+ "multiple",
731
+ "autocomplete",
732
+ "disabled"
733
+ ]),
734
+ ...Oe(w, [
735
+ "onUpdate:modelValue",
736
+ "onUpdate:open"
737
+ ])
738
+ },
739
+ Qe
740
+ )
741
+ ), G = De(), K = Ae();
742
+ return ft({
743
+ attrs: K,
744
+ props: o,
745
+ emit: t,
746
+ emitsAsProps: w
747
+ }), (I, U) => (_e(), Fe(le(He), Ce(ye(u.value)), {
748
+ default: Se(() => [
749
+ We(le(yt), null, $e({ _: 2 }, [
750
+ Ee(Object.keys(G), (D) => ({
751
+ name: D,
752
+ fn: Se((A) => [
753
+ Be(I.$slots, D, Ce(ye(A)))
754
+ ])
755
+ }))
756
+ ]), 1024)
757
+ ]),
758
+ _: 3
759
+ }, 16));
760
+ }
761
+ });
762
+ export {
763
+ ue as S,
764
+ Ft as _,
765
+ vt as a,
766
+ me as b,
767
+ gt as c,
768
+ Ie as i,
769
+ dt as p
770
+ };