@pantograph/vue 0.25.3 → 0.25.4

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 (308) hide show
  1. package/dist/ActionButton/index.js +1 -1
  2. package/dist/ActionButton/index.umd.cjs +1 -1
  3. package/dist/{ActionButton.vue_vue_type_script_setup_true_lang-DBkXAjTl.js → ActionButton.vue_vue_type_script_setup_true_lang-DgRldvF-.js} +3 -3
  4. package/dist/ActionButton.vue_vue_type_script_setup_true_lang-uwPzOpXQ.js +1 -0
  5. package/dist/Alert/index.js +1 -1
  6. package/dist/Alert/index.umd.cjs +1 -1
  7. package/dist/{Alert.vue_vue_type_style_index_0_lang-Cq-qsJt9.js → Alert.vue_vue_type_style_index_0_lang-BWViURUx.js} +1 -1
  8. package/dist/{Alert.vue_vue_type_style_index_0_lang-t5KBNR2O.js → Alert.vue_vue_type_style_index_0_lang-CsM-N2Dn.js} +3 -3
  9. package/dist/Avatar/index.js +1 -1
  10. package/dist/Avatar/index.umd.cjs +1 -1
  11. package/dist/{Avatar.vue_vue_type_style_index_0_lang-BgD1ygnv.js → Avatar.vue_vue_type_style_index_0_lang-BU_5Uc1h.js} +12 -13
  12. package/dist/Avatar.vue_vue_type_style_index_0_lang-BmD6RFO6.js +1 -0
  13. package/dist/AvatarGroup/index.js +1 -1
  14. package/dist/AvatarGroup/index.umd.cjs +1 -1
  15. package/dist/Badge/index.js +1 -1
  16. package/dist/Badge/index.umd.cjs +1 -1
  17. package/dist/Badge.vue_vue_type_script_setup_true_lang-BNoY52kq.js +1 -0
  18. package/dist/{Badge.vue_vue_type_script_setup_true_lang-Cj_qLGab.js → Badge.vue_vue_type_script_setup_true_lang-D4qWXPmE.js} +11 -11
  19. package/dist/Base/BaseInput/BaseInput.d.ts +61 -0
  20. package/dist/Base/BaseInput/BaseInput.model.d.ts +4 -0
  21. package/dist/{BaseBadge.model-CahZXsyM.js → BaseBadge.model-D4ZfMIfM.js} +2 -2
  22. package/dist/BaseBadge.vue_vue_type_style_index_0_lang-MiT5JEP1.js +1 -0
  23. package/dist/{BaseBadge.vue_vue_type_style_index_0_lang-Dk4czjh8.js → BaseBadge.vue_vue_type_style_index_0_lang-iBj3bp4f.js} +16 -17
  24. package/dist/{BaseButton.vue_vue_type_style_index_0_lang-BaXVOcYh.js → BaseButton.vue_vue_type_style_index_0_lang-C90xeF5w.js} +9 -9
  25. package/dist/BaseButton.vue_vue_type_style_index_0_lang-C_rzn0QQ.js +1 -0
  26. package/dist/BaseInput.vue_vue_type_style_index_0_lang-Bh5c8r40.js +133 -0
  27. package/dist/BaseInput.vue_vue_type_style_index_0_lang-D1-OgRQO.js +1 -0
  28. package/dist/Button/index.js +1 -1
  29. package/dist/Button/index.umd.cjs +1 -1
  30. package/dist/{Button.vue_vue_type_script_setup_true_lang-BgHFlmkg.js → Button.vue_vue_type_script_setup_true_lang-BEUgRSHQ.js} +13 -13
  31. package/dist/Button.vue_vue_type_script_setup_true_lang-DayZ7O-B.js +1 -0
  32. package/dist/ButtonGroup/ButtonGroup.d.ts +1 -1
  33. package/dist/ButtonGroup/index.js +1 -1
  34. package/dist/{ButtonGroup.vue_vue_type_script_setup_true_lang-BflgAkUi.js → ButtonGroup.vue_vue_type_script_setup_true_lang-DPtJY6ad.js} +3 -3
  35. package/dist/Checkbox/index.js +1 -1
  36. package/dist/Checkbox/index.umd.cjs +1 -1
  37. package/dist/Checkbox.vue_vue_type_style_index_0_lang-B7TCf8DD.js +1 -0
  38. package/dist/{Checkbox.vue_vue_type_style_index_0_lang-AH6hpVLK.js → Checkbox.vue_vue_type_style_index_0_lang-DIUFXgde.js} +66 -66
  39. package/dist/CheckboxGroup/index.js +1 -1
  40. package/dist/CheckboxGroup/index.umd.cjs +1 -1
  41. package/dist/Chip/index.js +2 -2
  42. package/dist/Chip/index.umd.cjs +1 -1
  43. package/dist/Chip.vue_vue_type_style_index_0_lang-B4vliBhP.js +1 -0
  44. package/dist/{Chip.vue_vue_type_style_index_0_lang-B8BunJEO.js → Chip.vue_vue_type_style_index_0_lang-C-YVGRd5.js} +7 -7
  45. package/dist/ChipGroup/index.js +1 -1
  46. package/dist/ChipGroup/index.umd.cjs +1 -1
  47. package/dist/{ChipGroup.vue_vue_type_style_index_0_lang-YPrXCjP8.js → ChipGroup.vue_vue_type_style_index_0_lang-Cb48sFjZ.js} +3 -3
  48. package/dist/{ChipGroup.vue_vue_type_style_index_0_lang-vXOtvFCA.js → ChipGroup.vue_vue_type_style_index_0_lang-Dz90pq2v.js} +1 -1
  49. package/dist/ColorPicker/index.js +1 -1
  50. package/dist/ColorPicker/index.umd.cjs +1 -1
  51. package/dist/{ColorPicker.vue_vue_type_style_index_0_lang-RKbw-kXI.js → ColorPicker.vue_vue_type_style_index_0_lang-Bbua4gDp.js} +2 -2
  52. package/dist/{ColorPicker.vue_vue_type_style_index_0_lang-CVMzIHWW.js → ColorPicker.vue_vue_type_style_index_0_lang-Cs_uP8_-.js} +7 -5
  53. package/dist/ColorSwatch/index.js +1 -1
  54. package/dist/ColorSwatch/index.umd.cjs +1 -1
  55. package/dist/{ColorSwatch-Cg9gjo7T.js → ColorSwatch-BTd2qIvs.js} +1 -1
  56. package/dist/{ColorSwatch-WoFuVYS7.js → ColorSwatch-BVj268xm.js} +1 -1
  57. package/dist/{ColorSwatch.vue_vue_type_style_index_0_lang-MMo80_Zm.js → ColorSwatch.vue_vue_type_style_index_0_lang-D9jCB_qS.js} +5 -6
  58. package/dist/ColorSwatch.vue_vue_type_style_index_0_lang-DotrlbV2.js +1 -0
  59. package/dist/ColorSwatchGroup/index.js +1 -1
  60. package/dist/ColorSwatchGroup/index.umd.cjs +1 -1
  61. package/dist/{ColorSwatchGroup.vue_vue_type_style_index_0_lang-DPd_kewe.js → ColorSwatchGroup.vue_vue_type_style_index_0_lang-CMUC9JP1.js} +21 -20
  62. package/dist/ColorSwatchGroup.vue_vue_type_style_index_0_lang-uGNt1Zw7.js +1 -0
  63. package/dist/ColorTrigger/index.js +1 -1
  64. package/dist/ColorTrigger/index.umd.cjs +1 -1
  65. package/dist/ColorTrigger.vue_vue_type_style_index_0_lang-BphrM3jX.js +1 -0
  66. package/dist/{ColorTrigger.vue_vue_type_style_index_0_lang-CpumcGKV.js → ColorTrigger.vue_vue_type_style_index_0_lang-CjRJLrjc.js} +13 -13
  67. package/dist/Combobox/Combobox.d.ts +2 -1
  68. package/dist/Combobox/ComboboxOption.d.ts +1 -1
  69. package/dist/Combobox/index.js +1 -1
  70. package/dist/Combobox/index.umd.cjs +1 -1
  71. package/dist/Combobox/types.d.ts +2 -0
  72. package/dist/Combobox.vue_vue_type_style_index_0_lang-BSCxn_dP.js +1 -0
  73. package/dist/Combobox.vue_vue_type_style_index_0_lang-C1ceC-d6.js +889 -0
  74. package/dist/Comment/CommentEditor.d.ts +1 -1
  75. package/dist/Comment/index.js +44 -42
  76. package/dist/Comment/index.umd.cjs +1 -1
  77. package/dist/ConfigProvider/ConfigProvider.d.ts +53 -0
  78. package/dist/ConfigProvider/index.d.ts +1 -50
  79. package/dist/ConfigProvider/index.js +6 -10
  80. package/dist/ConfigProvider/index.umd.cjs +1 -1
  81. package/dist/ConfigProvider.vue_vue_type_script_setup_true_lang-BAXkTMEt.js +1 -0
  82. package/dist/ConfigProvider.vue_vue_type_script_setup_true_lang-DSKgXw-g.js +124 -0
  83. package/dist/DataTable/DataTable.d.ts +1 -1
  84. package/dist/DataTable/index.js +1 -1
  85. package/dist/DataTable/index.umd.cjs +1 -1
  86. package/dist/DataTable/types.d.ts +1 -1
  87. package/dist/DataTable/useCell.d.ts +2 -2
  88. package/dist/DataTable/useColumnWrap.d.ts +1 -1
  89. package/dist/DataTable/useSelection.d.ts +1 -1
  90. package/dist/DataTable/useSort.d.ts +2 -2
  91. package/dist/{DataTable.vue_vue_type_style_index_0_lang-Dtr04Y-v.js → DataTable.vue_vue_type_style_index_0_lang-BIEqP-0I.js} +253 -257
  92. package/dist/DataTable.vue_vue_type_style_index_0_lang-itDia0W9.js +1 -0
  93. package/dist/DropZone/index.js +1 -1
  94. package/dist/DropZone/index.umd.cjs +1 -1
  95. package/dist/{DropZone.vue_vue_type_style_index_0_lang-DN-rlB8g.js → DropZone.vue_vue_type_style_index_0_lang-B9y7TlwK.js} +1 -1
  96. package/dist/{DropZone.vue_vue_type_style_index_0_lang-Cx_2fzcd.js → DropZone.vue_vue_type_style_index_0_lang-EJIu65Kx.js} +2 -2
  97. package/dist/Empty/index.js +1 -1
  98. package/dist/Empty/index.umd.cjs +1 -1
  99. package/dist/{Empty.vue_vue_type_style_index_0_lang-CLG9v3ny.js → Empty.vue_vue_type_style_index_0_lang-BUUZkqKK.js} +1 -1
  100. package/dist/{Empty.vue_vue_type_style_index_0_lang-Hb-71AW8.js → Empty.vue_vue_type_style_index_0_lang-CzxHjKoM.js} +6 -6
  101. package/dist/FloatButton/index.js +1 -1
  102. package/dist/FloatButton/index.umd.cjs +1 -1
  103. package/dist/{FloatButton.vue_vue_type_script_setup_true_lang-Cug29gXO.js → FloatButton.vue_vue_type_script_setup_true_lang-09oykls8.js} +11 -3
  104. package/dist/FloatButton.vue_vue_type_script_setup_true_lang-BkkyOUA7.js +1 -0
  105. package/dist/Form/index.js +1 -1
  106. package/dist/Form/index.umd.cjs +1 -1
  107. package/dist/GOPicker/GOPicker.model.d.ts +1 -1
  108. package/dist/GOPicker/index.js +1 -1
  109. package/dist/GOPicker/index.umd.cjs +1 -1
  110. package/dist/GOPicker.vue_vue_type_style_index_0_lang-BE8x9dGA.js +1 -0
  111. package/dist/{GOPicker.vue_vue_type_style_index_0_lang-DFuk8Yxv.js → GOPicker.vue_vue_type_style_index_0_lang-kynTp-m5.js} +28 -23
  112. package/dist/GraphicalObject/index.js +1 -1
  113. package/dist/GraphicalObject/index.umd.cjs +1 -1
  114. package/dist/{GraphicalObject.vue_vue_type_script_setup_true_lang-D6efb688.js → GraphicalObject.vue_vue_type_script_setup_true_lang-BZWcWAd8.js} +6 -6
  115. package/dist/GraphicalObject.vue_vue_type_script_setup_true_lang-X3qLlz8e.js +1 -0
  116. package/dist/GraphicalObjectGroup/index.js +1 -1
  117. package/dist/GraphicalObjectGroup/index.umd.cjs +1 -1
  118. package/dist/{GraphicalObjectGroup.vue_vue_type_style_index_0_lang-DAXoXPPu.js → GraphicalObjectGroup.vue_vue_type_style_index_0_lang-HhLovMZS.js} +1 -1
  119. package/dist/{GraphicalObjectGroup.vue_vue_type_style_index_0_lang-DtfNCdZu.js → GraphicalObjectGroup.vue_vue_type_style_index_0_lang-eUYKt1g8.js} +8 -8
  120. package/dist/Icon/index.d.ts +1 -4
  121. package/dist/Icon/index.js +4 -14
  122. package/dist/Icon/index.umd.cjs +1 -1
  123. package/dist/Icon.vue_vue_type_style_index_0_lang-5yqYwaOw.js +9 -0
  124. package/dist/Icon.vue_vue_type_style_index_0_lang-BMu3U4-l.js +2905 -0
  125. package/dist/IconButton/index.js +1 -1
  126. package/dist/IconButton/index.umd.cjs +1 -1
  127. package/dist/{IconButton.vue_vue_type_script_setup_true_lang-DIVceNgM.js → IconButton.vue_vue_type_script_setup_true_lang-B2mwpDQo.js} +11 -3
  128. package/dist/IconButton.vue_vue_type_script_setup_true_lang-DGXtxJVO.js +1 -0
  129. package/dist/Image/index.js +1 -1
  130. package/dist/Image/index.umd.cjs +1 -1
  131. package/dist/Image.vue_vue_type_style_index_0_lang-Dxp0n_0A.js +1 -0
  132. package/dist/{Image.vue_vue_type_style_index_0_lang-S9KjdezV.js → Image.vue_vue_type_style_index_0_lang-_1Vqh4mv.js} +8 -7
  133. package/dist/IndentLevel/IndentLevel.d.ts +2 -0
  134. package/dist/IndentLevel/index.js +1 -1
  135. package/dist/IndentLevel/index.umd.cjs +1 -1
  136. package/dist/IndentLevel.vue_vue_type_style_index_0_lang-BNXXU--A.js +1 -0
  137. package/dist/{IndentLevel.vue_vue_type_style_index_0_lang-CkNqK_Vg.js → IndentLevel.vue_vue_type_style_index_0_lang-DPL6yVwu.js} +30 -27
  138. package/dist/Indicator/index.js +1 -1
  139. package/dist/Indicator/index.umd.cjs +1 -1
  140. package/dist/Indicator.vue_vue_type_script_setup_true_lang-BAJid2ch.js +1 -0
  141. package/dist/{Indicator.vue_vue_type_script_setup_true_lang-Ca5Des7U.js → Indicator.vue_vue_type_script_setup_true_lang-BZQujvXX.js} +4 -4
  142. package/dist/Input/Input.d.ts +17 -35
  143. package/dist/Input/index.d.ts +1 -1
  144. package/dist/Input/index.js +5 -4
  145. package/dist/Input/index.umd.cjs +1 -1
  146. package/dist/Input.vue_vue_type_script_setup_true_lang-BhpGixbX.js +111 -0
  147. package/dist/Input.vue_vue_type_script_setup_true_lang-P-pBp4sf.js +1 -0
  148. package/dist/InputNumber/InputNumber.d.ts +79 -0
  149. package/dist/InputNumber/index.d.ts +2 -0
  150. package/dist/InputNumber/index.js +8 -0
  151. package/dist/InputNumber/index.umd.cjs +1 -0
  152. package/dist/InputNumber/utils/MiniDecimal.d.ts +69 -0
  153. package/dist/InputNumber/utils/numberUtil.d.ts +22 -0
  154. package/dist/InputNumber/utils/supportUtil.d.ts +1 -0
  155. package/dist/InputNumber.vue_vue_type_script_setup_true_lang-DcGG4i1C.js +1 -0
  156. package/dist/InputNumber.vue_vue_type_script_setup_true_lang-yrowDfWL.js +454 -0
  157. package/dist/Kbd/index.js +1 -1
  158. package/dist/Kbd/index.umd.cjs +1 -1
  159. package/dist/{Kbd.vue_vue_type_style_index_0_lang-Cm0Zvomv.js → Kbd.vue_vue_type_style_index_0_lang-XS49-yX4.js} +1 -1
  160. package/dist/{Kbd.vue_vue_type_style_index_0_lang-CUGyyeHh.js → Kbd.vue_vue_type_style_index_0_lang-q3jBcYir.js} +1 -1
  161. package/dist/Label/index.js +4 -4
  162. package/dist/Label/index.umd.cjs +1 -1
  163. package/dist/Link/index.js +1 -1
  164. package/dist/Link/index.umd.cjs +1 -1
  165. package/dist/{Link.vue_vue_type_style_index_0_lang-bdywEZns.js → Link.vue_vue_type_style_index_0_lang-DAQr5LuP.js} +6 -6
  166. package/dist/{Link.vue_vue_type_style_index_0_lang-BfC3SwbG.js → Link.vue_vue_type_style_index_0_lang-zFv3zzLA.js} +1 -1
  167. package/dist/Menu/Menu.d.ts +2 -2
  168. package/dist/Menu/index.js +1 -1
  169. package/dist/Menu/index.umd.cjs +1 -1
  170. package/dist/MenuItem/index.js +1 -1
  171. package/dist/MenuItem/index.umd.cjs +1 -1
  172. package/dist/MenuItem.vue_vue_type_style_index_0_lang-DRgLTDF9.js +1 -0
  173. package/dist/{MenuItem.vue_vue_type_style_index_0_lang-D-_-Iv3Y.js → MenuItem.vue_vue_type_style_index_0_lang-Tx1mw3fx.js} +80 -81
  174. package/dist/Pagination/index.js +1 -1
  175. package/dist/Pagination/index.umd.cjs +1 -1
  176. package/dist/Pagination.vue_vue_type_style_index_0_lang-BJSH2nV1.js +1 -0
  177. package/dist/Pagination.vue_vue_type_style_index_0_lang-DdoGJbhR.js +234 -0
  178. package/dist/Popover/index.js +1 -1
  179. package/dist/Popover/index.umd.cjs +1 -1
  180. package/dist/Popover/utils.d.ts +1 -1
  181. package/dist/Popover.vue_vue_type_style_index_0_lang-BgRvygIi.js +254 -0
  182. package/dist/Popover.vue_vue_type_style_index_0_lang-D7HUX-0i.js +1 -0
  183. package/dist/Progress/index.js +1 -1
  184. package/dist/Progress/index.umd.cjs +1 -1
  185. package/dist/Progress/types.d.ts +2 -0
  186. package/dist/Progress.vue_vue_type_style_index_0_lang-BECdYJmY.js +1 -0
  187. package/dist/{Progress.vue_vue_type_style_index_0_lang-Bm1S1Pxq.js → Progress.vue_vue_type_style_index_0_lang-ByAwM9mc.js} +75 -72
  188. package/dist/RadioGroup/index.js +1 -1
  189. package/dist/RadioGroup/index.umd.cjs +1 -1
  190. package/dist/RadioGroup.vue_vue_type_script_setup_true_lang-D8f-sgna.js +1 -0
  191. package/dist/{RadioGroup.vue_vue_type_script_setup_true_lang-BLN5fJDu.js → RadioGroup.vue_vue_type_script_setup_true_lang-Daq1nx9-.js} +4 -4
  192. package/dist/ScrollContainer/ScrollContainer.d.ts +1 -0
  193. package/dist/ScrollContainer/index.js +1 -1
  194. package/dist/ScrollContainer/index.umd.cjs +1 -1
  195. package/dist/{ScrollContainer.vue_vue_type_style_index_0_lang-D8IR7pw-.js → ScrollContainer.vue_vue_type_style_index_0_lang-Cp0bQf0N.js} +63 -60
  196. package/dist/ScrollContainer.vue_vue_type_style_index_0_lang-DqKhWsL2.js +1 -0
  197. package/dist/Segmented/Segmented.d.ts +6 -3
  198. package/dist/Segmented/index.js +1 -1
  199. package/dist/Segmented/index.umd.cjs +1 -1
  200. package/dist/Segmented.vue_vue_type_style_index_0_lang-3JqUJ0d7.js +1 -0
  201. package/dist/{Segmented.vue_vue_type_style_index_0_lang-ZsksAX8A.js → Segmented.vue_vue_type_style_index_0_lang-B1uEmVPJ.js} +50 -46
  202. package/dist/Select/Select.d.ts +1 -1
  203. package/dist/Select/SelectTrigger.d.ts +2 -2
  204. package/dist/Select/index.js +1 -1
  205. package/dist/Select/index.umd.cjs +1 -1
  206. package/dist/{Select.vue_vue_type_style_index_0_lang-CxO4fB4g.js → Select.vue_vue_type_style_index_0_lang-CarDXTu5.js} +87 -88
  207. package/dist/Select.vue_vue_type_style_index_0_lang-ikZ5_KwB.js +1 -0
  208. package/dist/Shortcut/index.js +1 -1
  209. package/dist/Shortcut/index.umd.cjs +1 -1
  210. package/dist/{Shortcut.vue_vue_type_style_index_0_lang-maaUKoPJ.js → Shortcut.vue_vue_type_style_index_0_lang-C7MfNmHi.js} +1 -1
  211. package/dist/{Shortcut.vue_vue_type_style_index_0_lang-DiJX8oyf.js → Shortcut.vue_vue_type_style_index_0_lang-QKWaOeSf.js} +6 -6
  212. package/dist/Spinner/index.js +1 -1
  213. package/dist/Spinner/index.umd.cjs +1 -1
  214. package/dist/{Spinner.vue_vue_type_style_index_0_lang-D9QAUh3y.js → Spinner.vue_vue_type_style_index_0_lang-y2U5MnVr.js} +1 -1
  215. package/dist/{Spinner.vue_vue_type_style_index_0_lang-CRuHKobG.js → Spinner.vue_vue_type_style_index_0_lang-ypYtsXl_.js} +1 -1
  216. package/dist/SubMenu/index.js +1 -1
  217. package/dist/SubMenu/index.umd.cjs +1 -1
  218. package/dist/Switch/Switch.d.ts +1 -1
  219. package/dist/Switch/index.js +1 -1
  220. package/dist/Switch/index.umd.cjs +1 -1
  221. package/dist/{Switch.vue_vue_type_style_index_0_lang-BKZRF7si.js → Switch.vue_vue_type_style_index_0_lang-Dqy63Xsy.js} +6 -7
  222. package/dist/Switch.vue_vue_type_style_index_0_lang-G67verEB.js +1 -0
  223. package/dist/THead.vue_vue_type_style_index_0_lang-Bbxgbizj.js +1 -0
  224. package/dist/{THead.vue_vue_type_style_index_0_lang-D-NEZbDq.js → THead.vue_vue_type_style_index_0_lang-Dg4UjN2s.js} +14 -13
  225. package/dist/Table/index.js +1 -1
  226. package/dist/Table/index.umd.cjs +1 -1
  227. package/dist/Textarea/Textarea.d.ts +1 -0
  228. package/dist/Textarea/index.js +1 -1
  229. package/dist/Textarea/index.umd.cjs +1 -1
  230. package/dist/{Textarea.vue_vue_type_style_index_0_lang-DhnwRKGl.js → Textarea.vue_vue_type_style_index_0_lang-95EkbeEZ.js} +37 -35
  231. package/dist/Textarea.vue_vue_type_style_index_0_lang-Crls15aj.js +1 -0
  232. package/dist/Tree/Tree.d.ts +8 -13
  233. package/dist/Tree/Tree.model.d.ts +67 -37
  234. package/dist/Tree/TreeNode.d.ts +4 -92
  235. package/dist/Tree/TreePlaceholder.d.ts +9 -0
  236. package/dist/Tree/index.d.ts +2 -1
  237. package/dist/Tree/index.js +6 -5
  238. package/dist/Tree/index.umd.cjs +1 -1
  239. package/dist/Tree/utils.d.ts +18 -11
  240. package/dist/Tree.vue_vue_type_style_index_0_lang-CauWPkMW.js +737 -0
  241. package/dist/Tree.vue_vue_type_style_index_0_lang-DitveB9N.js +1 -0
  242. package/dist/Upload/Upload.d.ts +1 -1
  243. package/dist/Upload/index.js +1 -1
  244. package/dist/Upload/index.umd.cjs +1 -1
  245. package/dist/Upload/types.d.ts +1 -0
  246. package/dist/{Upload.vue_vue_type_style_index_0_lang-B4BO8f6l.js → Upload.vue_vue_type_style_index_0_lang-B9HYX_QI.js} +359 -351
  247. package/dist/Upload.vue_vue_type_style_index_0_lang-DhqA32eL.js +1 -0
  248. package/dist/exports.d.ts +4 -2
  249. package/dist/index.d.ts +1 -0
  250. package/dist/index.js +242 -255
  251. package/dist/index.umd.cjs +1 -1
  252. package/dist/style/index.css +1 -1
  253. package/dist/types/index.d.ts +12 -2
  254. package/dist/useInputDataStates-BWZ4Q3rt.js +1 -0
  255. package/dist/useInputDataStates-COzmxWTw.js +52 -0
  256. package/dist/utils/index.js +4 -4
  257. package/dist/utils/index.umd.cjs +1 -1
  258. package/dist/utils/sortPlaceholder.d.ts +6 -0
  259. package/package.json +12 -8
  260. package/dist/ActionButton.vue_vue_type_script_setup_true_lang-CMAU4Jot.js +0 -1
  261. package/dist/Avatar.vue_vue_type_style_index_0_lang-D_26B5fC.js +0 -1
  262. package/dist/Badge.vue_vue_type_script_setup_true_lang-DLIYFnk7.js +0 -1
  263. package/dist/BaseBadge.vue_vue_type_style_index_0_lang-D6KaVBcQ.js +0 -1
  264. package/dist/BaseButton.vue_vue_type_style_index_0_lang-CEI8TTwc.js +0 -1
  265. package/dist/Button.vue_vue_type_script_setup_true_lang-DQeV7jFJ.js +0 -1
  266. package/dist/Checkbox.vue_vue_type_style_index_0_lang-D_UcZD7p.js +0 -1
  267. package/dist/Chip.vue_vue_type_style_index_0_lang-BLjUJgbj.js +0 -1
  268. package/dist/ColorSwatch.vue_vue_type_style_index_0_lang-j3uScCo0.js +0 -1
  269. package/dist/ColorSwatchGroup.vue_vue_type_style_index_0_lang-CGF7Y4Y3.js +0 -1
  270. package/dist/ColorTrigger.vue_vue_type_style_index_0_lang-Cz3225rF.js +0 -1
  271. package/dist/Combobox.vue_vue_type_style_index_0_lang-BXq6IyEH.js +0 -986
  272. package/dist/Combobox.vue_vue_type_style_index_0_lang-CSz_lsmn.js +0 -1
  273. package/dist/DataTable.vue_vue_type_style_index_0_lang-Ca0ss2zM.js +0 -1
  274. package/dist/FloatButton.vue_vue_type_script_setup_true_lang-C5NrO5Nn.js +0 -1
  275. package/dist/GOPicker.vue_vue_type_style_index_0_lang-1_sYgaR8.js +0 -1
  276. package/dist/GraphicalObject.vue_vue_type_script_setup_true_lang-CX1uOlz9.js +0 -1
  277. package/dist/Icon.vue_vue_type_style_index_0_lang-CPuN4R-k.js +0 -9
  278. package/dist/Icon.vue_vue_type_style_index_0_lang-D105BnRd.js +0 -3690
  279. package/dist/IconButton.vue_vue_type_script_setup_true_lang-NJ4SCX2H.js +0 -1
  280. package/dist/Image.vue_vue_type_style_index_0_lang-B43Rg3w7.js +0 -1
  281. package/dist/IndentLevel.vue_vue_type_style_index_0_lang-H35lJDqV.js +0 -1
  282. package/dist/Indicator.vue_vue_type_script_setup_true_lang-DaUZMDk0.js +0 -1
  283. package/dist/Input.vue_vue_type_style_index_0_lang-DEQgofJ1.js +0 -1
  284. package/dist/Input.vue_vue_type_style_index_0_lang-DbW60HOk.js +0 -160
  285. package/dist/MenuItem.vue_vue_type_style_index_0_lang-fYybuhKO.js +0 -1
  286. package/dist/Pagination.vue_vue_type_style_index_0_lang-CJuRPdrW.js +0 -224
  287. package/dist/Pagination.vue_vue_type_style_index_0_lang-CPREYXnR.js +0 -1
  288. package/dist/Popover.vue_vue_type_style_index_0_lang-qJ0psPTx.js +0 -1
  289. package/dist/Popover.vue_vue_type_style_index_0_lang-yKeicrWx.js +0 -251
  290. package/dist/Progress.vue_vue_type_style_index_0_lang-WHi3Gv1W.js +0 -1
  291. package/dist/RadioGroup.vue_vue_type_script_setup_true_lang-CQ_nySHu.js +0 -1
  292. package/dist/ScrollContainer.vue_vue_type_style_index_0_lang-BLFtmUwR.js +0 -1
  293. package/dist/Segmented.vue_vue_type_style_index_0_lang-BvBq13y7.js +0 -1
  294. package/dist/Select.vue_vue_type_style_index_0_lang-Dk38gPKw.js +0 -1
  295. package/dist/Switch.vue_vue_type_style_index_0_lang-gKEdPPxG.js +0 -1
  296. package/dist/THead.vue_vue_type_style_index_0_lang-D0RuVLmr.js +0 -1
  297. package/dist/Textarea.vue_vue_type_style_index_0_lang-0wTOqfhB.js +0 -1
  298. package/dist/Tree.vue_vue_type_style_index_0_lang-D97fT1Cb.js +0 -6
  299. package/dist/Tree.vue_vue_type_style_index_0_lang-Des-7-p4.js +0 -1773
  300. package/dist/Upload.vue_vue_type_style_index_0_lang-BjSXnPzK.js +0 -1
  301. package/dist/index-BTuMaS--.js +0 -188
  302. package/dist/index-BmcHqJPl.js +0 -1
  303. package/dist/sortBy-DaKVLXDw.js +0 -98
  304. package/dist/sortBy-NRZqvtuE.js +0 -1
  305. package/dist/uniq-DA_VCwGV.js +0 -1
  306. package/dist/uniq-yfmxvZGr.js +0 -55
  307. package/dist/useInputDataStates-B78OFI-A.js +0 -56
  308. package/dist/useInputDataStates-CXaVG_o2.js +0 -1
@@ -1,20 +1,21 @@
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 i, 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";
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
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 { j as p, k as ce, q, t as he, g as Je, h as Qe, f as Xe, o as be, y as Ve, r as Ye, s as Ze, l as Oe, v as et } from "./Icon.vue_vue_type_style_index_0_lang-D105BnRd.js";
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
4
  import { g as Te, a as ge } from "./options-Bh1s18jm.js";
5
- import { i as ee, f as Y, a as Z, u as tt, c as Le } from "./index-BTuMaS--.js";
6
- import { getBemBlock as nt, getBemElement as y, generateVariantClassList as E, normCls as _ } from "@pantograph/utils";
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-BMu3U4-l.js";
6
+ import { getBemBlock as tt, getBemElement as y, generateVariantClassList as E, normCls as _ } from "@pantograph/utils";
7
7
  import { cva as de } from "class-variance-authority";
8
- import { _ as ot } from "./Empty.vue_vue_type_style_index_0_lang-Hb-71AW8.js";
9
- import { _ as rt } from "./Skeleton.vue_vue_type_style_index_0_lang-2rpO7HY2.js";
8
+ import { _ as nt } from "./Empty.vue_vue_type_style_index_0_lang-CzxHjKoM.js";
9
+ import { _ as ot } from "./Skeleton.vue_vue_type_style_index_0_lang-2rpO7HY2.js";
10
10
  import { _ as xe } from "./Divider.vue_vue_type_style_index_0_lang-CfBklijs.js";
11
- import { u as at } from "./useInputDataStates-B78OFI-A.js";
11
+ import { u as rt } from "./useInputDataStates-COzmxWTw.js";
12
12
  import { u as it } from "./useLazyLoading-Zo-PEp2E.js";
13
- import { g as lt, b as pt } from "./Popover.vue_vue_type_style_index_0_lang-yKeicrWx.js";
14
- import { _ as st } from "./ScrollContainer.vue_vue_type_style_index_0_lang-D8IR7pw-.js";
15
- import { _ as ut } from "./Chip.vue_vue_type_style_index_0_lang-B8BunJEO.js";
16
- import { _ as ct } from "./ChipGroup.vue_vue_type_style_index_0_lang-YPrXCjP8.js";
17
- const fe = ["sm", "md", "lg"], gt = ["error", "warning", "success"], [Ie, dt] = Pe("Select"), [ft, mt] = Pe("_Select"), k = nt("select"), vt = /* @__PURE__ */ te({
13
+ import { g as at, b as lt } from "./Popover.vue_vue_type_style_index_0_lang-BgRvygIi.js";
14
+ import { u as pt } from "./ConfigProvider.vue_vue_type_script_setup_true_lang-DSKgXw-g.js";
15
+ import { _ as st } from "./ScrollContainer.vue_vue_type_style_index_0_lang-Cp0bQf0N.js";
16
+ import { _ as ut } from "./Chip.vue_vue_type_style_index_0_lang-C-YVGRd5.js";
17
+ import { _ as ct } from "./ChipGroup.vue_vue_type_style_index_0_lang-Cb48sFjZ.js";
18
+ const fe = ["sm", "md", "lg"], gt = ["error", "warning", "success"], [Ie, dt] = Pe("Select"), [ft, mt] = Pe("_Select"), k = tt("select"), vt = /* @__PURE__ */ te({
18
19
  ...Te("SelectLabel"),
19
20
  __name: "SelectLabel",
20
21
  setup(f) {
@@ -57,9 +58,9 @@ const fe = ["sm", "md", "lg"], gt = ["error", "warning", "success"], [Ie, dt] =
57
58
  const V = (h = e.indicator) == null ? void 0 : h.call(e, {
58
59
  option: f.option
59
60
  });
60
- return p(V) ? i(Ne, {
61
+ return p(V) ? a(Ne, {
61
62
  asChild: !0
62
- }, () => i(ce, {
63
+ }, () => a(ce, {
63
64
  icon: n.props.indicatorIcon,
64
65
  size: t.value
65
66
  })) : V;
@@ -75,10 +76,10 @@ const fe = ["sm", "md", "lg"], gt = ["error", "warning", "success"], [Ie, dt] =
75
76
  }), H = !p(W);
76
77
  if (G.value || H) {
77
78
  let L;
78
- H ? L = W : L = i(ce, {
79
+ H ? L = W : L = a(ce, {
79
80
  icon: G.value,
80
81
  size: t.value
81
- }), h.push(i("div", {
82
+ }), h.push(a("div", {
82
83
  class: _(y(I, "leading"), n.props.itemLeadingCls)
83
84
  }, L));
84
85
  }
@@ -86,15 +87,15 @@ const fe = ["sm", "md", "lg"], gt = ["error", "warning", "success"], [Ie, dt] =
86
87
  const O = (M = e.text) == null ? void 0 : M.call(e, {
87
88
  option: f.option
88
89
  });
89
- p(O) ? l = u.value : l = O, h.push(i("div", {
90
+ p(O) ? l = u.value : l = O, h.push(a("div", {
90
91
  class: _(y(I, "text"), n.props.optionTextCls)
91
92
  }, l));
92
93
  }
93
- return i("div", {
94
+ return a("div", {
94
95
  class: _(y(I, "content"), n.props.optionContentCls)
95
96
  }, h);
96
97
  };
97
- return () => i(Ge, {
98
+ return () => a(Ge, {
98
99
  value: w.value,
99
100
  textValue: u.value,
100
101
  disabled: K.value,
@@ -180,7 +181,7 @@ const fe = ["sm", "md", "lg"], gt = ["error", "warning", "success"], [Ie, dt] =
180
181
  filled: !q(t.modelValue.value)
181
182
  }), t.props.triggerCls),
182
183
  ...n
183
- })), W = (l, O = I.value) => i(ce, {
184
+ })), W = (l, O = I.value) => a(ce, {
184
185
  icon: l,
185
186
  size: O
186
187
  }), H = () => {
@@ -188,7 +189,7 @@ const fe = ["sm", "md", "lg"], gt = ["error", "warning", "success"], [Ie, dt] =
188
189
  let l;
189
190
  const O = (L = e.triggerTrailing) == null ? void 0 : L.call(e, P.value);
190
191
  if (p(O) ? V.value && (l = W(V.value)) : l = O, l)
191
- return i("div", {
192
+ return a("div", {
192
193
  class: _(y(u, "trailing"), t.props.triggerTrailingCls)
193
194
  }, l);
194
195
  };
@@ -196,10 +197,10 @@ const fe = ["sm", "md", "lg"], gt = ["error", "warning", "success"], [Ie, dt] =
196
197
  var J;
197
198
  const l = (J = e.trigger) == null ? void 0 : J.call(e, P.value), L = (() => {
198
199
  if (p(l)) return !1;
199
- const T = Je(l) ?? null, N = T.length === 1 ? T[0] : T;
200
- return N ? Qe(N) && !Xe(N) : !0;
200
+ const T = Xe(l) ?? null, N = T.length === 1 ? T[0] : T;
201
+ return N ? Ye(N) && !Ze(N) : !0;
201
202
  })();
202
- return i(Re, {
203
+ return a(Re, {
203
204
  ...M.value,
204
205
  asChild: L,
205
206
  key: String(L)
@@ -214,7 +215,7 @@ const fe = ["sm", "md", "lg"], gt = ["error", "warning", "success"], [Ie, dt] =
214
215
  const j = ($ = f.getOptionSlot("leading", t.modelValue.value)) == null ? void 0 : $();
215
216
  if (N || j || A.value || t.props.leadingIcon) {
216
217
  let r;
217
- return p(j) ? A.value ? r = W(A.value) : N ? r = T : t.props.leadingIcon && (r = W(t.props.leadingIcon)) : r = j, i("div", {
218
+ return p(j) ? A.value ? r = W(A.value) : N ? r = T : t.props.leadingIcon && (r = W(t.props.leadingIcon)) : r = j, a("div", {
218
219
  class: _(y(u, "leading"), t.props.triggerLeadingCls)
219
220
  }, r);
220
221
  }
@@ -236,7 +237,7 @@ const fe = ["sm", "md", "lg"], gt = ["error", "warning", "success"], [Ie, dt] =
236
237
  const b = (B = e.triggerValue) == null ? void 0 : B.call(e, P.value);
237
238
  if (!p(b)) return b;
238
239
  if (t.props.multiple && Y(t.modelValue.value))
239
- return i(ct, {
240
+ return a(ct, {
240
241
  maxCount: t.props.maxCount,
241
242
  size: K.value,
242
243
  color: "primary",
@@ -249,35 +250,35 @@ const fe = ["sm", "md", "lg"], gt = ["error", "warning", "success"], [Ie, dt] =
249
250
  var X;
250
251
  const x = (o) => {
251
252
  var v;
252
- const a = (v = e.tagClose) == null ? void 0 : v.call(e, {
253
+ const i = (v = e.tagClose) == null ? void 0 : v.call(e, {
253
254
  ...F(c),
254
255
  onClose: o
255
256
  });
256
- return p(a) ? null : a;
257
+ return p(i) ? null : i;
257
258
  }, z = (X = f.getOptionSlot("default", c)) == null ? void 0 : X(), se = () => {
258
259
  var v, s;
259
- const o = (v = f.getOptionSlot("text", c)) == null ? void 0 : v(), a = (s = e.tagText) == null ? void 0 : s.call(e, F(c));
260
- return p(a) ? p(z) ? p(o) ? t.getLabelByValue(c) : o : z : a;
261
- }, ae = ({
260
+ const o = (v = f.getOptionSlot("text", c)) == null ? void 0 : v(), i = (s = e.tagText) == null ? void 0 : s.call(e, F(c));
261
+ return p(i) ? p(z) ? p(o) ? t.getLabelByValue(c) : o : z : i;
262
+ }, ie = ({
262
263
  size: o
263
264
  }) => {
264
265
  var S, d;
265
266
  if (!p(z)) return null;
266
- const a = (S = f.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;
267
- return p(v) ? p(a) ? s ? W(s, o) : p(T) ? null : T : a : v;
268
- }, ie = () => {
269
- var a;
270
- const o = (a = e.tagTrailing) == null ? void 0 : a.call(e, F(c));
267
+ const i = (S = f.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;
268
+ return p(v) ? p(i) ? s ? W(s, o) : p(T) ? null : T : i : v;
269
+ }, ae = () => {
270
+ var i;
271
+ const o = (i = e.tagTrailing) == null ? void 0 : i.call(e, F(c));
271
272
  return p(o) ? null : o;
272
273
  };
273
- return i(ut, {
274
+ return a(ut, {
274
275
  value: c,
275
276
  class: _(y(u, "tag"), t.props.tagCls),
276
277
  closeIconCls: y(u, "tag__close")
277
278
  }, {
278
279
  text: se,
279
- leading: ae,
280
- trailing: ie,
280
+ leading: ie,
281
+ trailing: ae,
281
282
  close: x
282
283
  });
283
284
  }));
@@ -290,7 +291,7 @@ const fe = ["sm", "md", "lg"], gt = ["error", "warning", "success"], [Ie, dt] =
290
291
  }
291
292
  return $;
292
293
  }, R = [], oe = ne();
293
- p(oe) || R.push(oe), R.push(i(je, {
294
+ p(oe) || R.push(oe), R.push(a(je, {
294
295
  class: _(y(u, "content"), t.props.triggerContentCls, q(t.modelValue.value) ? t.props.triggerContentPlaceholderCls : t.props.triggerContentValueCls),
295
296
  as: "div",
296
297
  key: String(h.value),
@@ -313,13 +314,13 @@ const fe = ["sm", "md", "lg"], gt = ["error", "warning", "success"], [Ie, dt] =
313
314
  it({
314
315
  target: w
315
316
  });
316
- const u = ve(), G = lt({
317
+ const u = ve(), G = at({
317
318
  triggerRef: u,
318
319
  props: n.props
319
320
  }), {
320
321
  getFlipOnDir: K,
321
322
  getDir: I
322
- } = tt(), U = K("reversePlacementOnDir"), D = I(), A = pt({
323
+ } = pt(), U = K("reversePlacementOnDir"), D = I(), A = lt({
323
324
  props: n.props,
324
325
  flip: U,
325
326
  emitsAsProps: n.emitsAsProps,
@@ -332,13 +333,13 @@ const fe = ["sm", "md", "lg"], gt = ["error", "warning", "success"], [Ie, dt] =
332
333
  defaultValue: B,
333
334
  noReturnOption: m
334
335
  }) => (g) => {
335
- const c = Le(B) ? B(g) : B;
336
+ const c = Ve(B) ? B(g) : B;
336
337
  if (Z(g)) {
337
338
  const x = g[r] ?? c, z = b && n.props[b];
338
339
  if (z) {
339
340
  if (ee(z))
340
341
  return g[z] ?? x;
341
- if (Le(z)) return z(g) ?? x;
342
+ if (Ve(z)) return z(g) ?? x;
342
343
  }
343
344
  return x;
344
345
  }
@@ -386,7 +387,7 @@ const fe = ["sm", "md", "lg"], gt = ["error", "warning", "success"], [Ie, dt] =
386
387
  getDisabled: L,
387
388
  getStatus: J,
388
389
  getSize: T
389
- } = at({
390
+ } = rt({
390
391
  getDisabled: () => n.props.disabled,
391
392
  getSize: () => n.props.size,
392
393
  getStatus: () => n.props.status
@@ -420,32 +421,32 @@ const fe = ["sm", "md", "lg"], gt = ["error", "warning", "success"], [Ie, dt] =
420
421
  size: E(fe, ne)
421
422
  }
422
423
  }), R = (r) => {
423
- if (Ye(r))
424
+ if (et(r))
424
425
  return `${r}px`;
425
426
  if (typeof r == "string")
426
427
  return r;
427
428
  }, oe = C(() => R(n.props.popupWidth)), re = C(() => R(n.props.popupHeight)), Q = C(() => R(n.props.minWidth)), $ = C(() => ({
428
429
  type: T.value === "sm" ? "simple" : "advance",
429
- ...be(n.props.emptyProps ?? {}, "class")
430
- })), j = C(() => be(n.props.skeletonProps ?? {}, "class"));
430
+ ...be(n.props.emptyProps ?? {}, ["class"])
431
+ })), j = C(() => be(n.props.skeletonProps ?? {}, ["class"]));
431
432
  return () => {
432
- var ae, ie, X;
433
+ var ie, ae, X;
433
434
  const r = (o) => {
434
- var a;
435
- if ((a = n.props.options) != null && a.length && o > 0)
435
+ var i;
436
+ if ((i = n.props.options) != null && i.length && o > 0)
436
437
  return !!n.props.options[o - 1];
437
438
  }, b = (o) => {
438
- var a, v;
439
- if ((a = n.props.options) != null && a.length && o > 0) {
439
+ var i, v;
440
+ if ((i = n.props.options) != null && i.length && o > 0) {
440
441
  const s = n.props.options[o - 1];
441
442
  return !!(s && ((v = O(s)) != null && v.length));
442
443
  }
443
- }, B = (ae = e.default) == null ? void 0 : ae.call(e, {}), m = (ie = Ve(B, ue)) == null ? void 0 : ie.filter((o) => {
444
- var a;
445
- return Z(o == null ? void 0 : o.props) && ((a = o == null ? void 0 : o.props) == null ? void 0 : a.option);
444
+ }, B = (ie = e.default) == null ? void 0 : ie.call(e, {}), m = (ae = Le(B, ue)) == null ? void 0 : ae.filter((o) => {
445
+ var i;
446
+ return Z(o == null ? void 0 : o.props) && ((i = o == null ? void 0 : o.props) == null ? void 0 : i.option);
446
447
  }), g = [];
447
- (n.props.options ?? []).forEach((o, a) => {
448
- const v = (S) => i(ue, {
448
+ (n.props.options ?? []).forEach((o, i) => {
449
+ const v = (S) => a(ue, {
449
450
  option: S
450
451
  }, {
451
452
  default: () => {
@@ -474,53 +475,53 @@ const fe = ["sm", "md", "lg"], gt = ["error", "warning", "success"], [Ie, dt] =
474
475
  }
475
476
  }), s = O(o);
476
477
  if (s != null && s.length) {
477
- r(a) && g.push(i(xe));
478
+ r(i) && g.push(a(xe));
478
479
  const S = l(o);
479
- S && g.push(i(vt, {
480
+ S && g.push(a(vt, {
480
481
  class: n.props.labelCls
481
482
  }, () => S)), s.forEach((d) => {
482
483
  g.push(v(d));
483
484
  });
484
- } else b(a) ? g.push(i(xe)) : g.push(v(o));
485
+ } else b(i) ? g.push(a(xe)) : g.push(v(o));
485
486
  });
486
- const c = Ve(g, ue).filter((o) => {
487
- var a;
488
- return Z(o == null ? void 0 : o.props) && ((a = o == null ? void 0 : o.props) == null ? void 0 : a.option);
489
- }), x = !!(c != null && c.length || m != null && m.length), z = (o, a) => {
487
+ const c = Le(g, ue).filter((o) => {
488
+ var i;
489
+ return Z(o == null ? void 0 : o.props) && ((i = o == null ? void 0 : o.props) == null ? void 0 : i.option);
490
+ }), x = !!(c != null && c.length || m != null && m.length), z = (o, i) => {
490
491
  var v;
491
- if (x && !q(a) && ee(a)) {
492
+ if (x && !q(i) && ee(i)) {
492
493
  const s = m != null && m.length ? m : c;
493
494
  if (s.length) {
494
495
  const S = s.find((d) => {
495
496
  var me;
496
- return Z(d.props) && h((me = d.props) == null ? void 0 : me.option) === a;
497
+ return Z(d.props) && h((me = d.props) == null ? void 0 : me.option) === i;
497
498
  });
498
499
  return (v = S == null ? void 0 : S.children) == null ? void 0 : v[o];
499
500
  }
500
501
  }
501
502
  }, se = () => {
502
- var a, v;
503
+ var i, v;
503
504
  const o = [];
504
505
  if (x || n.props.loading) {
505
506
  const s = [];
506
507
  if (x && (m != null && m.length ? s.push(B) : s.push(...g)), n.props.loading) {
507
- const S = (a = e.loading) == null ? void 0 : a.call(e, {});
508
+ const S = (i = e.loading) == null ? void 0 : i.call(e, {});
508
509
  if (!p(S)) s.push(S);
509
510
  else {
510
511
  const d = new Array(x ? 2 : n.props.loadingRowCount).fill(1);
511
- s.push(...d.map(() => i(rt, {
512
+ s.push(...d.map(() => a(ot, {
512
513
  size: T.value,
513
514
  class: _(y(k, "skeleton"), n.props.skeletonCls),
514
515
  ...j.value
515
516
  })));
516
517
  }
517
518
  }
518
- o.push(i("div", {
519
+ o.push(a("div", {
519
520
  class: _(y(k, "options"), n.props.optionsCls)
520
521
  }, s));
521
522
  } else if (!x) {
522
523
  const s = (v = e.empty) == null ? void 0 : v.call(e, $.value);
523
- p(s) ? o.push(i(ot, {
524
+ p(s) ? o.push(a(nt, {
524
525
  class: _(y(k, "empty"), n.props.emptyCls),
525
526
  ...$.value
526
527
  }, {
@@ -530,14 +531,14 @@ const fe = ["sm", "md", "lg"], gt = ["error", "warning", "success"], [Ie, dt] =
530
531
  image: e.emptyImage
531
532
  })) : o.push(s);
532
533
  }
533
- return n.props.lazyLoading && o.push(i("div", {
534
+ return n.props.lazyLoading && o.push(a("div", {
534
535
  class: y(k, "lazy_loading")
535
- }, i("div", {
536
+ }, a("div", {
536
537
  class: y(k, "lazy_loading_trigger"),
537
538
  ref: w
538
539
  }))), o;
539
540
  };
540
- return [i(Ct, {
541
+ return [a(Ct, {
541
542
  getOptionSlot: z,
542
543
  ref: u,
543
544
  ...n.attrs,
@@ -555,20 +556,20 @@ const fe = ["sm", "md", "lg"], gt = ["error", "warning", "success"], [Ie, dt] =
555
556
  tagTrailing: e.tagTrailing,
556
557
  tagLeading: e.tagLeading,
557
558
  tagText: e.tagText
558
- }), i(Me, G.value, () => i(qe, {
559
+ }), a(Me, G.value, () => a(qe, {
559
560
  ...A.value,
560
- vShow: t.open.value,
561
561
  class: _(pe(n.props), n.props.popupCls),
562
562
  style: {
563
+ display: t.open.value ? void 0 : "none",
563
564
  zIndex: n.props.zIndex,
564
565
  "--ptc-select-popup-width": n.props.samePopupWidth ? void 0 : oe.value,
565
566
  "--ptc-select-popup-height": re.value,
566
567
  "--ptc-select-trigger-min-w": Q.value
567
568
  }
568
- }, () => i(st, N.value, se)))];
569
+ }, () => a(st, N.value, se)))];
569
570
  };
570
571
  }
571
- }), At = /* @__PURE__ */ te({
572
+ }), Ft = /* @__PURE__ */ te({
572
573
  ...Te("Select"),
573
574
  __name: "Select",
574
575
  props: {
@@ -659,10 +660,9 @@ const fe = ["sm", "md", "lg"], gt = ["error", "warning", "success"], [Ie, dt] =
659
660
  emits: ["update:modelValue", "update:open", "closeAutoFocus", "escapeKeyDown", "pointerDownOutside"],
660
661
  setup(f, { emit: e }) {
661
662
  const n = f, t = e, w = Ue(t), u = C(
662
- () => Ze(
663
+ () => Je(
663
664
  {
664
- ...Oe(
665
- n,
665
+ ...Oe(n, [
666
666
  "open",
667
667
  "defaultOpen",
668
668
  "defaultValue",
@@ -672,14 +672,13 @@ const fe = ["sm", "md", "lg"], gt = ["error", "warning", "success"], [Ie, dt] =
672
672
  "multiple",
673
673
  "autocomplete",
674
674
  "disabled"
675
- ),
676
- ...Oe(
677
- w,
675
+ ]),
676
+ ...Oe(w, [
678
677
  "onUpdate:modelValue",
679
678
  "onUpdate:open"
680
- )
679
+ ])
681
680
  },
682
- et
681
+ Qe
683
682
  )
684
683
  ), G = De(), K = Ae();
685
684
  return mt({
@@ -704,7 +703,7 @@ const fe = ["sm", "md", "lg"], gt = ["error", "warning", "success"], [Ie, dt] =
704
703
  });
705
704
  export {
706
705
  ue as S,
707
- At as _,
706
+ Ft as _,
708
707
  vt as a,
709
708
  fe as b,
710
709
  gt as c,
@@ -0,0 +1 @@
1
+ "use strict";const n=require("vue"),I=require("reka-ui"),E=require("es-toolkit"),Q=require("./options-CY2uxp5A.js"),r=require("./Icon.vue_vue_type_style_index_0_lang-5yqYwaOw.js"),i=require("@pantograph/utils"),le=require("class-variance-authority"),me=require("./Empty.vue_vue_type_style_index_0_lang-BUUZkqKK.js"),fe=require("./Skeleton.vue_vue_type_style_index_0_lang-vYeWc1nI.js"),se=require("./Divider.vue_vue_type_style_index_0_lang-B1VnMpBg.js"),ye=require("./useInputDataStates-BWZ4Q3rt.js"),Ce=require("./useLazyLoading-H6VG5aE-.js"),ue=require("./Popover.vue_vue_type_style_index_0_lang-D7HUX-0i.js"),ve=require("./ConfigProvider.vue_vue_type_script_setup_true_lang-BAXkTMEt.js"),he=require("./ScrollContainer.vue_vue_type_style_index_0_lang-DqKhWsL2.js"),_e=require("./Chip.vue_vue_type_style_index_0_lang-B4vliBhP.js"),Se=require("./ChipGroup.vue_vue_type_style_index_0_lang-Dz90pq2v.js"),oe=["sm","md","lg"],ce=["error","warning","success"],[ae,ge]=I.createContext("Select"),[Ee,Ve]=I.createContext("_Select"),z=i.getBemBlock("select"),de=n.defineComponent({...Q.getComponentOptions("SelectLabel"),__name:"SelectLabel",setup(f){return(e,o)=>(n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(n.unref(i.getBemElement)(n.unref(z),"label"))},[n.renderSlot(e.$slots,"default")],2))}}),ne=n.defineComponent({name:Q.getComponentName("SelectOption"),props:{option:{type:[Object,String],required:!0}},slots:Object,setup(f,{slots:e}){const o=ae(),t=n.computed(()=>{switch(o.getSize.value){case"sm":return"2xsm";case"lg":return"sm";case"md":default:return"xsm"}}),k=n.computed(()=>o.getOptionValue(f.option)),c=n.computed(()=>o.getOptionLabel(f.option)),j=n.computed(()=>o.getOptionIcon(f.option)),R=n.computed(()=>o.getOptionDisabled(f.option)),P=i.getBemElement(z,"option"),K=le.cva(P,{variants:{size:i.generateVariantClassList(oe,P)}});if(!f.option)throw new Error("option is required");const w=()=>{var h;const S=(h=e.indicator)==null?void 0:h.call(e,{option:f.option});return r.isEmptyElement(S)?n.h(I.SelectItemIndicator,{asChild:!0},()=>n.h(r._sfc_main$2,{icon:o.props.indicatorIcon,size:t.value})):S},D=()=>{var x,q,$;const S=(x=e.default)==null?void 0:x.call(e,{option:f.option}),h=[];if(!r.isEmptyElement(S))h.push(S);else{const A=(q=e.leading)==null?void 0:q.call(e,{option:f.option}),M=!r.isEmptyElement(A);if(j.value||M){let b;M?b=A:b=n.h(r._sfc_main$2,{icon:j.value,size:t.value}),h.push(n.h("div",{class:i.normCls(i.getBemElement(P,"leading"),o.props.itemLeadingCls)},b))}let s;const V=($=e.text)==null?void 0:$.call(e,{option:f.option});r.isEmptyElement(V)?s=c.value:s=V,h.push(n.h("div",{class:i.normCls(i.getBemElement(P,"text"),o.props.optionTextCls)},s))}return n.h("div",{class:i.normCls(i.getBemElement(P,"content"),o.props.optionContentCls)},h)};return()=>n.h(I.SelectItem,{value:k.value,textValue:c.value,disabled:R.value,class:i.normCls(K({size:o.getSize.value}),o.props.optionCls)},()=>[D(),w()])}}),be=n.defineComponent({name:Q.getComponentName("SelectTrigger"),props:{getOptionSlot:{type:Function,required:!0}},setup(f,{slots:e,attrs:o}){const t=ae(),k=({value:s},V)=>{if(V.stopPropagation(),s&&r.isArray(t.modelValue.value)&&!t.getDisabled.value){const b=t.modelValue.value.filter(U=>U!==s);t.modelValue.value=b,t.emit("update:modelValue",b)}},c=i.getBemElement(z,"trigger"),j=le.cva(c,{variants:{size:i.generateVariantClassList(oe,c),status:i.generateVariantClassList(ce,c),bordered:i.generateVariantClassList("bordered",c),multiple:i.generateVariantClassList("multiple",c),contentFit:i.generateVariantClassList("content-fit",c),wrapped:i.generateVariantClassList("wrapped",c),filled:i.generateVariantClassList("filled",c)}}),R=n.computed(()=>{switch(t.getSize.value){case"sm":return"xsm";case"lg":return"md";case"md":default:return"sm"}}),P=n.computed(()=>{switch(t.getSize.value){case"sm":return"2xsm";case"md":default:return"xsm"}}),K=n.computed(()=>{if(!t.props.multiple&&E.isString(t.modelValue.value)&&!r.isEmpty(t.modelValue.value))return t.getOptionByValue(t.modelValue.value)}),w=(s=K.value)=>{if(t.props.selectedItemIconAsTrailingIcon&&r.isObject(s)&&"icon"in s)return s.icon},D=n.computed(()=>w()),S=n.computed(()=>{if(!t.props.noTrailing)return t.props.trailingIcon}),h=n.computed(()=>!r.isEmpty(t.modelValue.value)&&t.props.multiple&&r.isArray(t.modelValue.value)),x=n.computed(()=>({modelValue:E.cloneDeep(t.modelValue.value),open:E.cloneDeep(t.open.value)})),q=s=>({...x.value,option:t.getOptionByValue(s)}),$=n.computed(()=>({disabled:t.getDisabled.value,reference:t.props.reference,tabindex:t.getDisabled.value?void 0:0,as:"div",class:i.normCls(j({size:t.getSize.value,status:t.getStatus.value==="success"&&r.isEmpty(t.modelValue.value)?void 0:t.getStatus.value,bordered:t.props.bordered,multiple:t.props.multiple,contentFit:t.props.contentFit,wrapped:t.props.wrapped,filled:!r.isEmpty(t.modelValue.value)}),t.props.triggerCls),...o})),A=(s,V=P.value)=>n.h(r._sfc_main$2,{icon:s,size:V}),M=()=>{var b;let s;const V=(b=e.triggerTrailing)==null?void 0:b.call(e,x.value);if(r.isEmptyElement(V)?S.value&&(s=A(S.value)):s=V,s)return n.h("div",{class:i.normCls(i.getBemElement(c,"trailing"),t.props.triggerTrailingCls)},s)};return()=>{var U;const s=(U=e.trigger)==null?void 0:U.call(e,x.value),b=(()=>{if(r.isEmptyElement(s))return!1;const L=r.filterEmpty(s)??null,N=L.length===1?L[0]:L;return N?r.isValidElement(N)&&!r.isFragment(N):!0})();return n.h(I.SelectTrigger,{...$.value,asChild:b,key:String(b)},{default:()=>{var H;if(!r.isEmptyElement(s))return s;const L=(H=e.triggerLeading)==null?void 0:H.call(e,x.value),N=!r.isEmptyElement(L),X=()=>{var F;if(!t.props.multiple&&!r.isArray(t.modelValue.value)){const G=(F=f.getOptionSlot("leading",t.modelValue.value))==null?void 0:F();if(N||G||D.value||t.props.leadingIcon){let a;return r.isEmptyElement(G)?D.value?a=A(D.value):N?a=L:t.props.leadingIcon&&(a=A(t.props.leadingIcon)):a=G,n.h("div",{class:i.normCls(i.getBemElement(c,"leading"),t.props.triggerLeadingCls)},a)}}},re=()=>{const F=[];if(r.isEmpty(t.modelValue.value)){if(t.props.placeholder&&!t.props.multiple){const G=()=>{var _;const a=(_=e.placeholder)==null?void 0:_.call(e,x.value);return r.isEmptyElement(a)?t.props.placeholder:a};F.push(G())}}else{const a=(()=>{var O,y,d;const _=(O=e.triggerValue)==null?void 0:O.call(e,x.value);if(!r.isEmptyElement(_))return _;if(t.props.multiple&&r.isArray(t.modelValue.value))return n.h(Se._sfc_main,{maxCount:t.props.maxCount,size:R.value,color:"primary",closeable:!t.getDisabled.value,noPopover:!0,noWrap:!t.props.wrapped,class:i.normCls(i.getBemElement(c,"tag_list"),t.props.tagListCls),onClose:k},()=>t.modelValue.value.map(g=>{var J;const B=l=>{var C;const p=(C=e.tagClose)==null?void 0:C.call(e,{...q(g),onClose:l});return r.isEmptyElement(p)?null:p},T=(J=f.getOptionSlot("default",g))==null?void 0:J(),ie=()=>{var C,u;const l=(C=f.getOptionSlot("text",g))==null?void 0:C(),p=(u=e.tagText)==null?void 0:u.call(e,q(g));return r.isEmptyElement(p)?r.isEmptyElement(T)?r.isEmptyElement(l)?t.getLabelByValue(g):l:T:p},ee=({size:l})=>{var v,m;if(!r.isEmptyElement(T))return null;const p=(v=f.getOptionSlot("leading",g))==null?void 0:v(),C=(m=e.tagLeading)==null?void 0:m.call(e,q(g)),u=w(t.getOptionByValue(g))??t.props.leadingIcon;return r.isEmptyElement(C)?r.isEmptyElement(p)?u?A(u,l):r.isEmptyElement(L)?null:L:p:C},te=()=>{var p;const l=(p=e.tagTrailing)==null?void 0:p.call(e,q(g));return r.isEmptyElement(l)?null:l};return n.h(_e._sfc_main,{value:g,class:i.normCls(i.getBemElement(c,"tag"),t.props.tagCls),closeIconCls:i.getBemElement(c,"tag__close")},{text:ie,leading:ee,trailing:te,close:B})}));if(!r.isArray(t.modelValue.value)){const g=(y=f.getOptionSlot("default",t.modelValue.value))==null?void 0:y(),B=(d=f.getOptionSlot("text",t.modelValue.value))==null?void 0:d();return r.isEmptyElement(g)?r.isEmptyElement(B)?E.isString(t.modelValue.value)?t.getLabelByValue(t.modelValue.value):t.modelValue.value:B:g}})();a&&F.push(a)}return F},W=[],Y=X();r.isEmptyElement(Y)||W.push(Y),W.push(n.h(I.Primitive,{class:i.normCls(i.getBemElement(c,"content"),t.props.triggerContentCls,r.isEmpty(t.modelValue.value)?t.props.triggerContentPlaceholderCls:t.props.triggerContentValueCls),as:"div",key:String(h.value),asChild:h.value},{default:re}));const Z=M();return r.isEmptyElement(Z)||W.push(Z),W}})}}}),Be=n.defineComponent({name:Q.getComponentName("SelectWrapper"),setup(f,{slots:e}){const o=Ee(),t=I.injectSelectRootContext(),k=n.ref();Ce.useLazyLoading({target:k});const c=n.ref(),j=ue.getPopoverPortalProps({triggerRef:c,props:o.props}),{getFlipOnDir:R,getDir:P}=ve.useConfig(),K=R("reversePlacementOnDir"),w=P(),D=ue.getPopoverContentProps({props:o.props,flip:K,emitsAsProps:o.emitsAsProps,_dir:w,controlAutoFocus:!1,extraPropNames:["bodyLock","position"]}),S=({key:a,getterKey:_,defaultValue:O,noReturnOption:y})=>d=>{const g=E.isFunction(O)?O(d):O;if(r.isObject(d)){const B=d[a]??g,T=_&&o.props[_];if(T){if(E.isString(T))return d[T]??B;if(E.isFunction(T))return T(d)??B}return B}return E.isString(d)&&!y?d??g:g},h=S({getterKey:"getValue",key:"value"}),x=S({getterKey:"getLabel",key:"label",defaultValue:h}),q=S({getterKey:"getIcon",key:"icon",noReturnOption:!0}),$=a=>{var _;if((_=o.props.options)!=null&&_.length)for(const O of o.props.options){if(h(O)===a)return O;const y=V(O);if(y!=null&&y.length){for(const d of y)if(h(d)===a)return d}}return a},A=a=>{const _=$(a);return _?x(_)??a:a},M=S({getterKey:"getDisabled",key:"disabled",defaultValue:!1,noReturnOption:!0}),s=S({getterKey:"getGroupLabel",key:"label",noReturnOption:!0}),V=S({getterKey:"getGroupOptions",key:"options",noReturnOption:!0}),{getDisabled:b,getStatus:U,getSize:L}=ye.useFormInput({getDisabled:()=>o.props.disabled,getSize:()=>o.props.size,getStatus:()=>o.props.status});ge({props:o.props,attrs:o.attrs,emit:o.emit,getOptionValue:h,getOptionLabel:x,getOptionDisabled:M,getOptionIcon:q,getOptionByValue:$,getLabelByValue:A,getDisabled:b,getStatus:U,getSize:L,...t,modelValue:t.modelValue}),n.watch(()=>[o.props.clearOnChangeMultiple,o.props.multiple],()=>{o.props.clearOnChangeMultiple&&(t.modelValue.value=void 0,o.emit("update:modelValue",void 0))});const N=n.computed(()=>{const a=o.props.scrollContainerProps??{};return{...a,areaCls:[i.getBemElement(z,"scroll_area"),a==null?void 0:a.class,a==null?void 0:a.areaCls]}}),X=i.getBemElement(z,"popup"),re=le.cva(X,{variants:{size:i.generateVariantClassList(oe,X)}}),W=a=>{if(r.isNumber(a))return`${a}px`;if(typeof a=="string")return a},Y=n.computed(()=>W(o.props.popupWidth)),Z=n.computed(()=>W(o.props.popupHeight)),H=n.computed(()=>W(o.props.minWidth)),F=n.computed(()=>({type:L.value==="sm"?"simple":"advance",...E.omit(o.props.emptyProps??{},["class"])})),G=n.computed(()=>E.omit(o.props.skeletonProps??{},["class"]));return()=>{var ee,te,J;const a=l=>{var p;if((p=o.props.options)!=null&&p.length&&l>0)return!!o.props.options[l-1]},_=l=>{var p,C;if((p=o.props.options)!=null&&p.length&&l>0){const u=o.props.options[l-1];return!!(u&&((C=V(u))!=null&&C.length))}},O=(ee=e.default)==null?void 0:ee.call(e,{}),y=(te=r.flattenChildrenByType(O,ne))==null?void 0:te.filter(l=>{var p;return r.isObject(l==null?void 0:l.props)&&((p=l==null?void 0:l.props)==null?void 0:p.option)}),d=[];(o.props.options??[]).forEach((l,p)=>{const C=v=>n.h(ne,{option:v},{default:()=>{var m;return(m=e.option)==null?void 0:m.call(e,{option:v})},leading:()=>{var m;return(m=e.optionLeading)==null?void 0:m.call(e,{option:v})},indicator:()=>{var m;return(m=e.optionIndicator)==null?void 0:m.call(e,{option:v})},text:()=>{var m;return(m=e.optionText)==null?void 0:m.call(e,{option:v})}}),u=V(l);if(u!=null&&u.length){a(p)&&d.push(n.h(se._sfc_main));const v=s(l);v&&d.push(n.h(de,{class:o.props.labelCls},()=>v)),u.forEach(m=>{d.push(C(m))})}else _(p)?d.push(n.h(se._sfc_main)):d.push(C(l))});const g=r.flattenChildrenByType(d,ne).filter(l=>{var p;return r.isObject(l==null?void 0:l.props)&&((p=l==null?void 0:l.props)==null?void 0:p.option)}),B=!!(g!=null&&g.length||y!=null&&y.length),T=(l,p)=>{var C;if(B&&!r.isEmpty(p)&&E.isString(p)){const u=y!=null&&y.length?y:g;if(u.length){const v=u.find(m=>{var pe;return r.isObject(m.props)&&h((pe=m.props)==null?void 0:pe.option)===p});return(C=v==null?void 0:v.children)==null?void 0:C[l]}}},ie=()=>{var p,C;const l=[];if(B||o.props.loading){const u=[];if(B&&(y!=null&&y.length?u.push(O):u.push(...d)),o.props.loading){const v=(p=e.loading)==null?void 0:p.call(e,{});if(!r.isEmptyElement(v))u.push(v);else{const m=new Array(B?2:o.props.loadingRowCount).fill(1);u.push(...m.map(()=>n.h(fe._sfc_main,{size:L.value,class:i.normCls(i.getBemElement(z,"skeleton"),o.props.skeletonCls),...G.value})))}}l.push(n.h("div",{class:i.normCls(i.getBemElement(z,"options"),o.props.optionsCls)},u))}else if(!B){const u=(C=e.empty)==null?void 0:C.call(e,F.value);r.isEmptyElement(u)?l.push(n.h(me._sfc_main,{class:i.normCls(i.getBemElement(z,"empty"),o.props.emptyCls),...F.value},{title:e.emptyTitle,description:e.emptyDescription,actions:e.emptyActions,image:e.emptyImage})):l.push(u)}return o.props.lazyLoading&&l.push(n.h("div",{class:i.getBemElement(z,"lazy_loading")},n.h("div",{class:i.getBemElement(z,"lazy_loading_trigger"),ref:k}))),l};return[n.h(be,{getOptionSlot:T,ref:c,...o.attrs,style:{...((J=o.attrs)==null?void 0:J.style)??{},"--ptc-select-trigger-min-w":H.value}},{trigger:e.trigger,triggerLeading:e.triggerLeading,placeholder:e.placeholder,triggerValue:e.triggerValue,triggerTrailing:e.triggerTrailing,tagClose:e.tagClose,tagTrailing:e.tagTrailing,tagLeading:e.tagLeading,tagText:e.tagText}),n.h(I.SelectPortal,j.value,()=>n.h(I.SelectContent,{...D.value,class:i.normCls(re(o.props),o.props.popupCls),style:{display:t.open.value?void 0:"none",zIndex:o.props.zIndex,"--ptc-select-popup-width":o.props.samePopupWidth?void 0:Y.value,"--ptc-select-popup-height":Z.value,"--ptc-select-trigger-min-w":H.value}},()=>n.h(he._sfc_main,N.value,ie)))]}}}),Oe=n.defineComponent({...Q.getComponentOptions("Select"),__name:"Select",props:{status:{},size:{default:"md"},multiple:{type:Boolean,default:void 0},contentFit:{type:Boolean},wrapped:{type:Boolean},noTrailing:{type:Boolean},leadingIcon:{},zIndex:{},trailingIcon:{default:"tabler:chevron-down"},selectedItemIconAsTrailingIcon:{type:Boolean,default:!0},maxCount:{},to:{},placeholder:{},indicatorIcon:{default:"tabler:check"},options:{},getDisabled:{},getLabel:{},getValue:{},getGroupOptions:{},getGroupLabel:{},getIcon:{},placement:{default:"bottom"},reversePlacementOnDir:{},loading:{type:Boolean},skeletonProps:{},loadingRowCount:{default:10},lazyLoading:{type:Boolean},bordered:{type:Boolean,default:!0},clearOnChangeMultiple:{type:Boolean,default:!0},triggerCls:{},triggerLeadingCls:{},triggerContentCls:{},triggerContentPlaceholderCls:{},triggerContentValueCls:{},triggerTrailingCls:{},itemLeadingCls:{},optionCls:{},tagListCls:{},tagCls:{},popupCls:{},labelCls:{},optionsCls:{},optionTextCls:{},optionContentCls:{},emptyCls:{},skeletonCls:{},scrollContainerProps:{},emptyProps:{},samePopupWidth:{type:Boolean,default:!0},popupHeight:{default:384},popupWidth:{},minWidth:{},open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean,default:void 0},defaultValue:{},modelValue:{},by:{},dir:{},autocomplete:{},disabled:{type:Boolean,default:void 0},name:{},required:{type:Boolean},reference:{},forceMount:{type:Boolean,default:void 0},position:{default:"popper"},bodyLock:{type:Boolean},side:{},sideOffset:{default:4},align:{},alignOffset:{},avoidCollisions:{type:Boolean,default:void 0},collisionBoundary:{},collisionPadding:{default:4},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean,default:void 0},positionStrategy:{default:"fixed"},updatePositionStrategy:{},disableUpdateOnLayoutShift:{type:Boolean,default:void 0},prioritizePosition:{type:Boolean,default:void 0},asChild:{type:Boolean},as:{},defer:{type:Boolean}},emits:["update:modelValue","update:open","closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(f,{emit:e}){const o=f,t=e,k=I.useEmitAsProps(t),c=n.computed(()=>E.omitBy({...E.pick(o,["open","defaultOpen","defaultValue","modelValue","by","dir","multiple","autocomplete","disabled"]),...E.pick(k,["onUpdate:modelValue","onUpdate:open"])},E.isUndefined)),j=n.useSlots(),R=n.useAttrs();return Ve({attrs:R,props:o,emit:t,emitsAsProps:k}),(P,K)=>(n.openBlock(),n.createBlock(n.unref(I.SelectRoot),n.normalizeProps(n.guardReactiveProps(c.value)),{default:n.withCtx(()=>[n.createVNode(n.unref(Be),null,n.createSlots({_:2},[n.renderList(Object.keys(j),w=>({name:w,fn:n.withCtx(D=>[n.renderSlot(P.$slots,w,n.normalizeProps(n.guardReactiveProps(D)))])}))]),1024)]),_:3},16))}});exports.SelectOption=ne;exports.SelectSizes=oe;exports.SelectStatuses=ce;exports._sfc_main=Oe;exports._sfc_main$1=de;exports.injectSelectContext=ae;exports.provideSelectContext=ge;
@@ -1,4 +1,4 @@
1
- import { _ as o, _ as r } from "../Shortcut.vue_vue_type_style_index_0_lang-DiJX8oyf.js";
1
+ import { _ as o, _ as r } from "../Shortcut.vue_vue_type_style_index_0_lang-QKWaOeSf.js";
2
2
  export {
3
3
  o as Shortcut,
4
4
  r as default
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../Shortcut.vue_vue_type_style_index_0_lang-maaUKoPJ.js");exports.Shortcut=e._sfc_main;exports.default=e._sfc_main;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../Shortcut.vue_vue_type_style_index_0_lang-C7MfNmHi.js");exports.Shortcut=e._sfc_main;exports.default=e._sfc_main;
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),n=require("@pantograph/utils"),u=require("./options-CY2uxp5A.js"),i=require("./Kbd.vue_vue_type_style_index_0_lang-CUGyyeHh.js"),a=require("./Icon.vue_vue_type_style_index_0_lang-CPuN4R-k.js"),m=e.defineComponent({...u.getComponentOptions("Shortcut"),__name:"Shortcut",props:{class:{},items:{},plus:{type:Boolean,default:!0}},setup(r){const o=r,s=n.getBemBlock("shortcut");return(t,_)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(n.normCls)(e.unref(s),o.class))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.items,(l,c)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(e.unref(i._sfc_main),e.mergeProps({ref_for:!0},l),null,16),t.items.length>1&&c<t.items.length-1&&t.plus?(e.openBlock(),e.createBlock(a._sfc_main$3,{key:0,icon:"tabler:plus",size:"3xsm"})):e.createCommentVNode("",!0)],64))),256))],2))}});exports._sfc_main=m;
1
+ "use strict";const e=require("vue"),n=require("@pantograph/utils"),u=require("./options-CY2uxp5A.js"),i=require("./Kbd.vue_vue_type_style_index_0_lang-q3jBcYir.js"),a=require("./Icon.vue_vue_type_style_index_0_lang-5yqYwaOw.js"),m=e.defineComponent({...u.getComponentOptions("Shortcut"),__name:"Shortcut",props:{class:{},items:{},plus:{type:Boolean,default:!0}},setup(r){const o=r,s=n.getBemBlock("shortcut");return(t,_)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(n.normCls)(e.unref(s),o.class))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.items,(l,c)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(e.unref(i._sfc_main),e.mergeProps({ref_for:!0},l),null,16),t.items.length>1&&c<t.items.length-1&&t.plus?(e.openBlock(),e.createBlock(a._sfc_main$2,{key:0,icon:"tabler:plus",size:"3xsm"})):e.createCommentVNode("",!0)],64))),256))],2))}});exports._sfc_main=m;
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as c, createElementBlock as t, openBlock as r, normalizeClass as i, unref as o, Fragment as s, renderList as u, createVNode as f, createBlock as _, createCommentVNode as g, mergeProps as d } from "vue";
2
- import { getBemBlock as h, normCls as k } from "@pantograph/utils";
3
- import { g as B } from "./options-Bh1s18jm.js";
4
- import { _ as C } from "./Kbd.vue_vue_type_style_index_0_lang-Cm0Zvomv.js";
5
- import { k as y } from "./Icon.vue_vue_type_style_index_0_lang-D105BnRd.js";
2
+ import { getBemBlock as h, normCls as B } from "@pantograph/utils";
3
+ import { g as k } from "./options-Bh1s18jm.js";
4
+ import { _ as C } from "./Kbd.vue_vue_type_style_index_0_lang-XS49-yX4.js";
5
+ import { e as y } from "./Icon.vue_vue_type_style_index_0_lang-BMu3U4-l.js";
6
6
  const v = /* @__PURE__ */ c({
7
- ...B("Shortcut"),
7
+ ...k("Shortcut"),
8
8
  __name: "Shortcut",
9
9
  props: {
10
10
  class: {},
@@ -14,7 +14,7 @@ const v = /* @__PURE__ */ c({
14
14
  setup(n) {
15
15
  const m = n, l = h("shortcut");
16
16
  return (e, z) => (r(), t("div", {
17
- class: i(o(k)(o(l), m.class))
17
+ class: i(o(B)(o(l), m.class))
18
18
  }, [
19
19
  (r(!0), t(s, null, u(e.items, (a, p) => (r(), t(s, null, [
20
20
  f(o(C), d({ ref_for: !0 }, a), null, 16),
@@ -1,4 +1,4 @@
1
- import { _ as n, S as r, _ as s } from "../Spinner.vue_vue_type_style_index_0_lang-CRuHKobG.js";
1
+ import { _ as n, S as r, _ as s } from "../Spinner.vue_vue_type_style_index_0_lang-ypYtsXl_.js";
2
2
  export {
3
3
  n as Spinner,
4
4
  r as SpinnerSizes,
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../Spinner.vue_vue_type_style_index_0_lang-D9QAUh3y.js");exports.Spinner=e._sfc_main;exports.SpinnerSizes=e.SpinnerSizes;exports.default=e._sfc_main;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../Spinner.vue_vue_type_style_index_0_lang-y2U5MnVr.js");exports.Spinner=e._sfc_main;exports.SpinnerSizes=e.SpinnerSizes;exports.default=e._sfc_main;
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),n=require("@pantograph/utils"),C=require("class-variance-authority"),p=require("./Icon.vue_vue_type_style_index_0_lang-CPuN4R-k.js"),d=require("./options-CY2uxp5A.js"),a=["3xsm","2xsm","xsm","sm"],f={key:0,width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none"},B=e.defineComponent({...d.getComponentOptions("Spinner"),__name:"Spinner",props:{size:{default:"sm"},class:{},text:{type:[String,Boolean],default:void 0},icon:{}},setup(l){const s=l,o=n.getBemBlock("spinner"),c=C.cva(o,{variants:{size:n.generateVariantClassList(a,o),icon:n.generateVariantClassList("icon",o)}}),r=e.useSlots(),u=e.computed(()=>!!s.text||!!r.default),m=e.computed(()=>s.text);return(t,i)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(n.normCls)(e.unref(c)({size:t.size,icon:!!t.icon||!!r.icon}),s.class))},[e.createVNode(p._sfc_main$3,{class:e.normalizeClass(e.unref(n.getBemElement)(e.unref(o),"icon")),size:t.size,icon:t.icon},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"icon",{},()=>[t.icon?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("svg",f,i[0]||(i[0]=[e.createElementVNode("path",{d:"M22.5 12C23.3284 12 24.0097 12.6742 23.9064 13.4961C23.6748 15.3394 23.0173 17.1109 21.9776 18.6668C20.6591 20.6402 18.7849 22.1783 16.5922 23.0866C14.3995 23.9948 11.9867 24.2324 9.65892 23.7694C7.33114 23.3064 5.19295 22.1635 3.51472 20.4853C1.83649 18.8071 0.693599 16.6689 0.230577 14.3411C-0.232446 12.0133 0.00519403 9.60051 0.913446 7.4078C1.8217 5.21509 3.35977 3.34094 5.33316 2.02236C6.88913 0.982696 8.66064 0.32524 10.5039 0.0936235C11.3258 -0.0096629 12 0.671573 12 1.5C12 2.32843 11.3239 2.98727 10.5069 3.12471C9.2582 3.33479 8.06207 3.80703 6.99987 4.51677C5.51983 5.50571 4.36627 6.91131 3.68508 8.55585C3.0039 10.2004 2.82567 12.01 3.17293 13.7558C3.5202 15.5016 4.37737 17.1053 5.63604 18.364C6.89471 19.6226 8.49836 20.4798 10.2442 20.8271C11.99 21.1743 13.7996 20.9961 15.4442 20.3149C17.0887 19.6337 18.4943 18.4802 19.4832 17.0001C20.193 15.9379 20.6652 14.7418 20.8753 13.4931C21.0127 12.6761 21.6716 12 22.5 12Z",fill:"currentColor"},[e.createElementVNode("animateTransform",{attributeName:"transform",dur:"1s",repeatCount:"indefinite",type:"rotate",values:"0 12 12;360 12 12"})],-1)])))])]),_:3},8,["class","size","icon"]),u.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(n.getBemElement)(e.unref(o),"text"))},[e.renderSlot(t.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(m.value),1)])],2)):e.createCommentVNode("",!0)],2))}});exports.SpinnerSizes=a;exports._sfc_main=B;
1
+ "use strict";const e=require("vue"),n=require("@pantograph/utils"),C=require("class-variance-authority"),p=require("./Icon.vue_vue_type_style_index_0_lang-5yqYwaOw.js"),d=require("./options-CY2uxp5A.js"),a=["3xsm","2xsm","xsm","sm"],f={key:0,width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none"},B=e.defineComponent({...d.getComponentOptions("Spinner"),__name:"Spinner",props:{size:{default:"sm"},class:{},text:{type:[String,Boolean],default:void 0},icon:{}},setup(l){const s=l,o=n.getBemBlock("spinner"),c=C.cva(o,{variants:{size:n.generateVariantClassList(a,o),icon:n.generateVariantClassList("icon",o)}}),r=e.useSlots(),u=e.computed(()=>!!s.text||!!r.default),m=e.computed(()=>s.text);return(t,i)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(n.normCls)(e.unref(c)({size:t.size,icon:!!t.icon||!!r.icon}),s.class))},[e.createVNode(p._sfc_main$2,{class:e.normalizeClass(e.unref(n.getBemElement)(e.unref(o),"icon")),size:t.size,icon:t.icon},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"icon",{},()=>[t.icon?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("svg",f,i[0]||(i[0]=[e.createElementVNode("path",{d:"M22.5 12C23.3284 12 24.0097 12.6742 23.9064 13.4961C23.6748 15.3394 23.0173 17.1109 21.9776 18.6668C20.6591 20.6402 18.7849 22.1783 16.5922 23.0866C14.3995 23.9948 11.9867 24.2324 9.65892 23.7694C7.33114 23.3064 5.19295 22.1635 3.51472 20.4853C1.83649 18.8071 0.693599 16.6689 0.230577 14.3411C-0.232446 12.0133 0.00519403 9.60051 0.913446 7.4078C1.8217 5.21509 3.35977 3.34094 5.33316 2.02236C6.88913 0.982696 8.66064 0.32524 10.5039 0.0936235C11.3258 -0.0096629 12 0.671573 12 1.5C12 2.32843 11.3239 2.98727 10.5069 3.12471C9.2582 3.33479 8.06207 3.80703 6.99987 4.51677C5.51983 5.50571 4.36627 6.91131 3.68508 8.55585C3.0039 10.2004 2.82567 12.01 3.17293 13.7558C3.5202 15.5016 4.37737 17.1053 5.63604 18.364C6.89471 19.6226 8.49836 20.4798 10.2442 20.8271C11.99 21.1743 13.7996 20.9961 15.4442 20.3149C17.0887 19.6337 18.4943 18.4802 19.4832 17.0001C20.193 15.9379 20.6652 14.7418 20.8753 13.4931C21.0127 12.6761 21.6716 12 22.5 12Z",fill:"currentColor"},[e.createElementVNode("animateTransform",{attributeName:"transform",dur:"1s",repeatCount:"indefinite",type:"rotate",values:"0 12 12;360 12 12"})],-1)])))])]),_:3},8,["class","size","icon"]),u.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(n.getBemElement)(e.unref(o),"text"))},[e.renderSlot(t.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(m.value),1)])],2)):e.createCommentVNode("",!0)],2))}});exports.SpinnerSizes=a;exports._sfc_main=B;
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as z, useSlots as S, computed as m, createElementBlock as n, openBlock as i, normalizeClass as a, unref as t, createVNode as x, createCommentVNode as c, withCtx as h, renderSlot as C, createElementVNode as p, createTextVNode as k, toDisplayString as y } from "vue";
2
2
  import { getBemBlock as N, generateVariantClassList as u, normCls as V, getBemElement as d } from "@pantograph/utils";
3
3
  import { cva as T } from "class-variance-authority";
4
- import { k as w } from "./Icon.vue_vue_type_style_index_0_lang-D105BnRd.js";
4
+ import { e as w } from "./Icon.vue_vue_type_style_index_0_lang-BMu3U4-l.js";
5
5
  import { g as E } from "./options-Bh1s18jm.js";
6
6
  const _ = ["3xsm", "2xsm", "xsm", "sm"], $ = {
7
7
  key: 0,
@@ -1,4 +1,4 @@
1
- import { c as u, c } from "../MenuItem.vue_vue_type_style_index_0_lang-D-_-Iv3Y.js";
1
+ import { c as u, c } from "../MenuItem.vue_vue_type_style_index_0_lang-Tx1mw3fx.js";
2
2
  export {
3
3
  u as SubMenu,
4
4
  c as default
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../MenuItem.vue_vue_type_style_index_0_lang-fYybuhKO.js");exports.SubMenu=e._sfc_main$2;exports.default=e._sfc_main$2;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../MenuItem.vue_vue_type_style_index_0_lang-DRgLTDF9.js");exports.SubMenu=e._sfc_main$2;exports.default=e._sfc_main$2;
@@ -50,10 +50,10 @@ declare const __VLS_component: import('vue').DefineComponent<SwitchProps, {}, {}
50
50
  "onUpdate:modelValue"?: ((payload: boolean) => any) | undefined;
51
51
  "onUpdate:checked"?: ((value: boolean | "indeterminate") => any) | undefined;
52
52
  }>, {
53
- required: boolean;
54
53
  size: SwitchSize;
55
54
  modelValue: boolean | null;
56
55
  disabled: boolean;
56
+ required: boolean;
57
57
  checked: boolean | null;
58
58
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
59
59
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -1,4 +1,4 @@
1
- import { _ as t, S, _ as e } from "../Switch.vue_vue_type_style_index_0_lang-BKZRF7si.js";
1
+ import { _ as t, S, _ as e } from "../Switch.vue_vue_type_style_index_0_lang-Dqy63Xsy.js";
2
2
  export {
3
3
  t as Switch,
4
4
  S as SwitchSizes,
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../Switch.vue_vue_type_style_index_0_lang-gKEdPPxG.js");exports.Switch=e._sfc_main;exports.SwitchSizes=e.SwitchSizes;exports.default=e._sfc_main;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../Switch.vue_vue_type_style_index_0_lang-G67verEB.js");exports.Switch=e._sfc_main;exports.SwitchSizes=e.SwitchSizes;exports.default=e._sfc_main;
@@ -2,10 +2,10 @@ import { defineComponent as A, useSlots as L, computed as t, ref as _, watch as
2
2
  import { getBemBlock as R, generateVariantClassList as f, usePCId as j, normCls as k, getBemElement as n } from "@pantograph/utils";
3
3
  import { cva as G } from "class-variance-authority";
4
4
  import { useEmitAsProps as H, SwitchRoot as J, SwitchThumb as K } from "reka-ui";
5
- import { o as x } from "./Icon.vue_vue_type_style_index_0_lang-D105BnRd.js";
5
+ import { omit as x } from "es-toolkit";
6
6
  import { g as M } from "./options-Bh1s18jm.js";
7
- import "@iconify/vue";
8
- import { u as Q, U as W } from "./useInputDataStates-B78OFI-A.js";
7
+ import "./Icon.vue_vue_type_style_index_0_lang-BMu3U4-l.js";
8
+ import { u as Q, U as W } from "./useInputDataStates-COzmxWTw.js";
9
9
  const X = ["2xsm", "xsm", "sm"], Y = ["for"], ie = /* @__PURE__ */ A({
10
10
  ...M("Switch"),
11
11
  __name: "Switch",
@@ -37,8 +37,7 @@ const X = ["2xsm", "xsm", "sm"], Y = ["for"], ie = /* @__PURE__ */ A({
37
37
  getDisabled: () => V.value,
38
38
  emit: i
39
39
  }), E = t(() => ({
40
- ...x(
41
- o,
40
+ ...x(o, [
42
41
  "size",
43
42
  "class",
44
43
  "id",
@@ -48,9 +47,9 @@ const X = ["2xsm", "xsm", "sm"], Y = ["for"], ie = /* @__PURE__ */ A({
48
47
  "disabled",
49
48
  "modelValue",
50
49
  "checked"
51
- ),
50
+ ]),
52
51
  disabled: V.value,
53
- ...x(P, "onUpdate:modelValue", "onUpdate:checked"),
52
+ ...x(P, ["onUpdate:modelValue", "onUpdate:checked"]),
54
53
  id: b.value,
55
54
  ...D.value
56
55
  })), r = t(() => o.size === "xsm" ? "3xsm" : "2xsm"), g = t(() => !!(c.label || o.label)), d = t(() => o.modelValue ?? o.checked), m = _(d.value ?? !1);