@pantograph/vue 0.23.3 → 0.23.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 (288) 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-BM-HiVKZ.js +1 -0
  4. package/dist/{ActionButton.vue_vue_type_script_setup_true_lang-C40QLnax.js → ActionButton.vue_vue_type_script_setup_true_lang-CoWtYp90.js} +2 -2
  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-x6PDS57O.js → Alert.vue_vue_type_style_index_0_lang-CsZWFSR_.js} +1 -1
  8. package/dist/{Alert.vue_vue_type_style_index_0_lang-DugtMNn6.js → Alert.vue_vue_type_style_index_0_lang-DmEdkb41.js} +4 -4
  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-DTxpdu2k.js → Avatar.vue_vue_type_style_index_0_lang-CcKQb0PA.js} +3 -3
  12. package/dist/{Avatar.vue_vue_type_style_index_0_lang-Dbdnz5VW.js → Avatar.vue_vue_type_style_index_0_lang-DTndXzmH.js} +1 -1
  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-Dc6rezGr.js → Badge.vue_vue_type_script_setup_true_lang-Blql7wH1.js} +2 -2
  18. package/dist/Badge.vue_vue_type_script_setup_true_lang-CsIGsGWg.js +1 -0
  19. package/dist/Base/BaseBadge/BaseBadge.d.ts +1 -1
  20. package/dist/{BaseBadge.vue_vue_type_style_index_0_lang-BMX9MX3W.js → BaseBadge.vue_vue_type_style_index_0_lang-Bhdde0lY.js} +14 -13
  21. package/dist/BaseBadge.vue_vue_type_style_index_0_lang-CA4e9gEN.js +1 -0
  22. package/dist/BaseButton.vue_vue_type_style_index_0_lang-Ch3LDS1D.js +1 -0
  23. package/dist/{BaseButton.vue_vue_type_style_index_0_lang-BGYEuhbj.js → BaseButton.vue_vue_type_style_index_0_lang-stkOtvTd.js} +19 -18
  24. package/dist/Button/Button.d.ts +2 -2
  25. package/dist/Button/index.js +1 -1
  26. package/dist/Button/index.umd.cjs +1 -1
  27. package/dist/Button.vue_vue_type_script_setup_true_lang-BouXlBWO.js +1 -0
  28. package/dist/{Button.vue_vue_type_script_setup_true_lang-bjhWtH8H.js → Button.vue_vue_type_script_setup_true_lang-CIjMWs2s.js} +2 -2
  29. package/dist/Checkbox/Checkbox.d.ts +2 -2
  30. package/dist/Checkbox/index.js +1 -1
  31. package/dist/Checkbox/index.umd.cjs +1 -1
  32. package/dist/Checkbox.vue_vue_type_style_index_0_lang-2qQxhEQ0.js +224 -0
  33. package/dist/Checkbox.vue_vue_type_style_index_0_lang-Bo8DiMqm.js +1 -0
  34. package/dist/CheckboxGroup/CheckboxGroup.d.ts +7 -4
  35. package/dist/CheckboxGroup/index.js +1 -1
  36. package/dist/CheckboxGroup/index.umd.cjs +1 -1
  37. package/dist/Chip/Chip.d.ts +1 -0
  38. package/dist/Chip/index.js +2 -2
  39. package/dist/Chip/index.umd.cjs +1 -1
  40. package/dist/{Chip.vue_vue_type_style_index_0_lang-Ci2Oqnfd.js → Chip.vue_vue_type_style_index_0_lang-pkEj-IcZ.js} +24 -22
  41. package/dist/Chip.vue_vue_type_style_index_0_lang-qKiQbAUD.js +1 -0
  42. package/dist/ChipGroup/index.js +1 -1
  43. package/dist/ChipGroup/index.umd.cjs +1 -1
  44. package/dist/{ChipGroup.vue_vue_type_style_index_0_lang-Bln1W3La.js → ChipGroup.vue_vue_type_style_index_0_lang-BFHkFjPI.js} +1 -1
  45. package/dist/{ChipGroup.vue_vue_type_style_index_0_lang-ZlvXsJHD.js → ChipGroup.vue_vue_type_style_index_0_lang-DmbWGoar.js} +1 -1
  46. package/dist/ColorPicker/index.js +1 -1
  47. package/dist/ColorPicker/index.umd.cjs +1 -1
  48. package/dist/{ColorPicker.vue_vue_type_style_index_0_lang-B8rVS60w.js → ColorPicker.vue_vue_type_style_index_0_lang-CxWDk_6b.js} +263 -263
  49. package/dist/{ColorPicker.vue_vue_type_style_index_0_lang-BnjCOPow.js → ColorPicker.vue_vue_type_style_index_0_lang-DKGxK13w.js} +2 -2
  50. package/dist/ColorSwatch/ColorSwatch.d.ts +1 -1
  51. package/dist/ColorSwatch/index.js +1 -1
  52. package/dist/ColorSwatch/index.umd.cjs +1 -1
  53. package/dist/ColorSwatch.vue_vue_type_style_index_0_lang-CABlbyiP.js +1 -0
  54. package/dist/{ColorSwatch.vue_vue_type_style_index_0_lang-CjQa4I-g.js → ColorSwatch.vue_vue_type_style_index_0_lang-CAXvzEY_.js} +4 -5
  55. package/dist/ColorSwatchGroup/index.js +1 -1
  56. package/dist/ColorSwatchGroup/index.umd.cjs +1 -1
  57. package/dist/{ColorSwatchGroup.vue_vue_type_style_index_0_lang-BxBlKgbC.js → ColorSwatchGroup.vue_vue_type_style_index_0_lang-Cjn4NZYK.js} +38 -36
  58. package/dist/ColorSwatchGroup.vue_vue_type_style_index_0_lang-D8oB421I.js +1 -0
  59. package/dist/ColorTrigger/index.js +1 -1
  60. package/dist/ColorTrigger/index.umd.cjs +1 -1
  61. package/dist/ColorTrigger.vue_vue_type_style_index_0_lang-BsexkD4u.js +1 -0
  62. package/dist/{ColorTrigger.vue_vue_type_style_index_0_lang-BNTg203W.js → ColorTrigger.vue_vue_type_style_index_0_lang-XqnB_VGl.js} +25 -23
  63. package/dist/Combobox/Combobox.d.ts +82 -0
  64. package/dist/Combobox/Combobox.model.d.ts +4 -0
  65. package/dist/Combobox/ComboboxInput.d.ts +2 -0
  66. package/dist/Combobox/ComboboxLabel.d.ts +16 -0
  67. package/dist/Combobox/ComboboxOption.d.ts +19 -0
  68. package/dist/Combobox/ComboboxTrigger.d.ts +4 -0
  69. package/dist/Combobox/ComboboxWrapper.d.ts +4 -0
  70. package/dist/Combobox/context.d.ts +34 -0
  71. package/dist/Combobox/index.d.ts +4 -0
  72. package/dist/Combobox/index.js +8 -0
  73. package/dist/Combobox/index.umd.cjs +1 -0
  74. package/dist/Combobox/types.d.ts +111 -0
  75. package/dist/Combobox.vue_vue_type_style_index_0_lang-BM7QiXKH.js +831 -0
  76. package/dist/Combobox.vue_vue_type_style_index_0_lang-IdKdwJfN.js +1 -0
  77. package/dist/ConfigProvider/index.js +5 -5
  78. package/dist/ConfigProvider/index.umd.cjs +1 -1
  79. package/dist/DataTable/DataTable.d.ts +1 -1
  80. package/dist/DataTable/index.js +1 -1
  81. package/dist/DataTable/index.umd.cjs +1 -1
  82. package/dist/DataTable.vue_vue_type_style_index_0_lang-CnUiY5l1.js +1 -0
  83. package/dist/{DataTable.vue_vue_type_style_index_0_lang-9W9p_J1i.js → DataTable.vue_vue_type_style_index_0_lang-CpQ0Yn-D.js} +161 -156
  84. package/dist/DropZone/DropZone.d.ts +1 -1
  85. package/dist/DropZone/index.js +1 -1
  86. package/dist/DropZone/index.umd.cjs +1 -1
  87. package/dist/{DropZone.vue_vue_type_style_index_0_lang-CH23eQwT.js → DropZone.vue_vue_type_style_index_0_lang-BnrcUu_6.js} +2 -2
  88. package/dist/DropZone.vue_vue_type_style_index_0_lang-DVZrmQwL.js +1 -0
  89. package/dist/Empty/index.js +1 -1
  90. package/dist/Empty/index.umd.cjs +1 -1
  91. package/dist/Empty.vue_vue_type_style_index_0_lang-DidQV2p4.js +1 -0
  92. package/dist/{Empty.vue_vue_type_style_index_0_lang-C4a5JepF.js → Empty.vue_vue_type_style_index_0_lang-jfObDGf0.js} +1 -1
  93. package/dist/FloatButton/index.js +1 -1
  94. package/dist/FloatButton/index.umd.cjs +1 -1
  95. package/dist/FloatButton.vue_vue_type_script_setup_true_lang-BOFSVjFP.js +1 -0
  96. package/dist/{FloatButton.vue_vue_type_script_setup_true_lang-BGZBnlXi.js → FloatButton.vue_vue_type_script_setup_true_lang-Br1BEY7H.js} +2 -2
  97. package/dist/Form/Form.d.ts +2 -2
  98. package/dist/Form/index.js +1 -1
  99. package/dist/Form/index.umd.cjs +1 -1
  100. package/dist/FormItem.vue_vue_type_style_index_0_lang-CwxlEgep.js +2785 -0
  101. package/dist/FormItem.vue_vue_type_style_index_0_lang-s7o6crR0.js +9 -0
  102. package/dist/GOPicker/GOPicker.d.ts +13 -8
  103. package/dist/GOPicker/index.js +1 -1
  104. package/dist/GOPicker/index.umd.cjs +1 -1
  105. package/dist/GraphicalObject/index.js +1 -1
  106. package/dist/GraphicalObject/index.umd.cjs +1 -1
  107. package/dist/GraphicalObject.vue_vue_type_script_setup_true_lang-BlFC2U5K.js +1 -0
  108. package/dist/{GraphicalObject.vue_vue_type_script_setup_true_lang-BZCn44kG.js → GraphicalObject.vue_vue_type_script_setup_true_lang-C7HScEPN.js} +3 -3
  109. package/dist/GraphicalObjectGroup/index.js +1 -1
  110. package/dist/GraphicalObjectGroup/index.umd.cjs +1 -1
  111. package/dist/{GraphicalObjectGroup.vue_vue_type_style_index_0_lang-DiSPJXBZ.js → GraphicalObjectGroup.vue_vue_type_style_index_0_lang-ChJsB7QV.js} +1 -1
  112. package/dist/{GraphicalObjectGroup.vue_vue_type_style_index_0_lang-COvFyzfP.js → GraphicalObjectGroup.vue_vue_type_style_index_0_lang-DgjnAH0N.js} +1 -1
  113. package/dist/Icon/index.js +1 -1
  114. package/dist/Icon/index.umd.cjs +1 -1
  115. package/dist/Icon.vue_vue_type_style_index_0_lang-CbLL-Ngi.js +49 -0
  116. package/dist/Icon.vue_vue_type_style_index_0_lang-D3cRtJNJ.js +1 -0
  117. package/dist/IconButton/IconButton.d.ts +2 -2
  118. package/dist/IconButton/index.js +1 -1
  119. package/dist/IconButton/index.umd.cjs +1 -1
  120. package/dist/{IconButton.vue_vue_type_script_setup_true_lang-BjFzPsUi.js → IconButton.vue_vue_type_script_setup_true_lang-DAX_14ed.js} +2 -2
  121. package/dist/IconButton.vue_vue_type_script_setup_true_lang-DvbKC7wq.js +1 -0
  122. package/dist/Image/index.js +1 -1
  123. package/dist/Image/index.umd.cjs +1 -1
  124. package/dist/Image.vue_vue_type_style_index_0_lang-CGdnuyxZ.js +1 -0
  125. package/dist/{Image.vue_vue_type_style_index_0_lang-3vJwTwh4.js → Image.vue_vue_type_style_index_0_lang-CqilRo2A.js} +17 -16
  126. package/dist/IndentLevel/IndentLevel.d.ts +1 -1
  127. package/dist/IndentLevel/index.js +1 -1
  128. package/dist/IndentLevel/index.umd.cjs +1 -1
  129. package/dist/{IndentLevel.vue_vue_type_style_index_0_lang-BWLdpspA.js → IndentLevel.vue_vue_type_style_index_0_lang-CjaQqD7w.js} +8 -8
  130. package/dist/IndentLevel.vue_vue_type_style_index_0_lang-DD2920xJ.js +1 -0
  131. package/dist/Indicator/index.js +1 -1
  132. package/dist/Indicator/index.umd.cjs +1 -1
  133. package/dist/Indicator.vue_vue_type_script_setup_true_lang-Bnqpi2bU.js +1 -0
  134. package/dist/{Indicator.vue_vue_type_script_setup_true_lang-B1mn9s7i.js → Indicator.vue_vue_type_script_setup_true_lang-D5xqdZRn.js} +2 -2
  135. package/dist/Input/Input.d.ts +4 -4
  136. package/dist/Input/index.js +1 -1
  137. package/dist/Input/index.umd.cjs +1 -1
  138. package/dist/Input.vue_vue_type_style_index_0_lang-5iaTCkoa.js +1 -0
  139. package/dist/{Input.vue_vue_type_style_index_0_lang-BFNYYFfe.js → Input.vue_vue_type_style_index_0_lang-C-jEi11-.js} +48 -46
  140. package/dist/Kbd/index.js +1 -1
  141. package/dist/Kbd/index.umd.cjs +1 -1
  142. package/dist/{Kbd.vue_vue_type_style_index_0_lang-uEudChpD.js → Kbd.vue_vue_type_style_index_0_lang-BQkzD8ay.js} +1 -1
  143. package/dist/Kbd.vue_vue_type_style_index_0_lang-CjNtLg1e.js +1 -0
  144. package/dist/Label/index.js +1 -1
  145. package/dist/Label/index.umd.cjs +1 -1
  146. package/dist/Link/index.js +1 -1
  147. package/dist/Link/index.umd.cjs +1 -1
  148. package/dist/{Link.vue_vue_type_style_index_0_lang-AsoIRQm_.js → Link.vue_vue_type_style_index_0_lang-BrS3jRuX.js} +16 -15
  149. package/dist/Link.vue_vue_type_style_index_0_lang-C1i1VsGw.js +1 -0
  150. package/dist/Menu/Menu.d.ts +6 -13
  151. package/dist/Menu/MenuItemWrapper.d.ts +15 -0
  152. package/dist/Menu/index.js +1 -1
  153. package/dist/Menu/index.umd.cjs +1 -1
  154. package/dist/MenuItem/MenuItem.d.ts +2 -26
  155. package/dist/MenuItem/MenuItemContent.d.ts +2 -1
  156. package/dist/MenuItem/index.js +1 -1
  157. package/dist/MenuItem/index.umd.cjs +1 -1
  158. package/dist/MenuItem.vue_vue_type_style_index_0_lang-DGaSx-eQ.js +579 -0
  159. package/dist/MenuItem.vue_vue_type_style_index_0_lang-DL9Njg73.js +1 -0
  160. package/dist/Popover/Popover.d.ts +1 -1
  161. package/dist/Popover/index.js +1 -1
  162. package/dist/Popover/index.umd.cjs +1 -1
  163. package/dist/Popover/utils.d.ts +0 -1
  164. package/dist/Popover.vue_vue_type_style_index_0_lang-CZYvVeso.js +1 -0
  165. package/dist/Popover.vue_vue_type_style_index_0_lang-ColyiCeV.js +241 -0
  166. package/dist/RadioGroup/RadioGroupItem.d.ts +2 -2
  167. package/dist/RadioGroup/index.js +1 -1
  168. package/dist/RadioGroup/index.umd.cjs +1 -1
  169. package/dist/{RadioGroup.vue_vue_type_script_setup_true_lang-bWA97IMn.js → RadioGroup.vue_vue_type_script_setup_true_lang-Buet9dc2.js} +2 -2
  170. package/dist/RadioGroup.vue_vue_type_script_setup_true_lang-lIx8QQp8.js +1 -0
  171. package/dist/ScrollContainer/ScrollContainer.d.ts +1 -1
  172. package/dist/ScrollContainer/index.js +1 -1
  173. package/dist/ScrollContainer/index.umd.cjs +1 -1
  174. package/dist/ScrollContainer.vue_vue_type_style_index_0_lang-BIoD2_5T.js +1 -0
  175. package/dist/{ScrollContainer.vue_vue_type_style_index_0_lang-CZgFGbH_.js → ScrollContainer.vue_vue_type_style_index_0_lang-DfMU1mTu.js} +1 -1
  176. package/dist/Segmented/Segmented.d.ts +57 -0
  177. package/dist/Segmented/Segmented.model.d.ts +2 -0
  178. package/dist/Segmented/index.d.ts +2 -0
  179. package/dist/Segmented/index.js +6 -0
  180. package/dist/Segmented/index.umd.cjs +1 -0
  181. package/dist/Segmented.vue_vue_type_style_index_0_lang-DqaTvxYQ.js +1 -0
  182. package/dist/Segmented.vue_vue_type_style_index_0_lang-R_eXQ6g9.js +165 -0
  183. package/dist/Select/Select.d.ts +2 -2
  184. package/dist/Select/context.d.ts +1 -3
  185. package/dist/Select/index.js +1 -1
  186. package/dist/Select/index.umd.cjs +1 -1
  187. package/dist/Select/types.d.ts +1 -0
  188. package/dist/Select.vue_vue_type_style_index_0_lang-Bc9kyMDB.js +1 -0
  189. package/dist/Select.vue_vue_type_style_index_0_lang-BfUtCG_-.js +714 -0
  190. package/dist/Shortcut/index.js +1 -1
  191. package/dist/Shortcut/index.umd.cjs +1 -1
  192. package/dist/Shortcut.vue_vue_type_style_index_0_lang-DOhEtw_i.js +1 -0
  193. package/dist/{Shortcut.vue_vue_type_style_index_0_lang-DXBz4Ysp.js → Shortcut.vue_vue_type_style_index_0_lang-TtzM0gcb.js} +2 -2
  194. package/dist/Skeleton/Skeleton.d.ts +1 -1
  195. package/dist/Spinner/index.js +1 -1
  196. package/dist/Spinner/index.umd.cjs +1 -1
  197. package/dist/{Spinner.vue_vue_type_style_index_0_lang-DxV3D_9N.js → Spinner.vue_vue_type_style_index_0_lang-Dc9P7GsT.js} +13 -13
  198. package/dist/Spinner.vue_vue_type_style_index_0_lang-RE3hFFZA.js +1 -0
  199. package/dist/SubMenu/SubMenu.d.ts +44 -0
  200. package/dist/SubMenu/index.d.ts +1 -0
  201. package/dist/SubMenu/index.js +5 -0
  202. package/dist/SubMenu/index.umd.cjs +1 -0
  203. package/dist/Switch/Switch.d.ts +3 -3
  204. package/dist/Switch/index.js +1 -1
  205. package/dist/Switch/index.umd.cjs +1 -1
  206. package/dist/Switch.vue_vue_type_style_index_0_lang-DhuZK1wp.js +1 -0
  207. package/dist/{Switch.vue_vue_type_style_index_0_lang-BrkQxi9f.js → Switch.vue_vue_type_style_index_0_lang-jzphTPAF.js} +5 -4
  208. package/dist/{THead.vue_vue_type_style_index_0_lang-BcVlFS1z.js → THead.vue_vue_type_style_index_0_lang-DtBQAI4D.js} +1 -1
  209. package/dist/THead.vue_vue_type_style_index_0_lang-Du3rBBec.js +1 -0
  210. package/dist/Table/index.js +1 -1
  211. package/dist/Table/index.umd.cjs +1 -1
  212. package/dist/Textarea/Textarea.d.ts +7 -7
  213. package/dist/Textarea/index.js +1 -1
  214. package/dist/Textarea/index.umd.cjs +1 -1
  215. package/dist/Textarea.vue_vue_type_style_index_0_lang-BMbkTBJu.js +1 -0
  216. package/dist/{Textarea.vue_vue_type_style_index_0_lang-DnQgUyjY.js → Textarea.vue_vue_type_style_index_0_lang-Dbdx29In.js} +27 -25
  217. package/dist/Tree/Tree.model.d.ts +2 -1
  218. package/dist/Tree/TreeNode.d.ts +6 -6
  219. package/dist/Tree/index.js +1 -1
  220. package/dist/Tree/index.umd.cjs +1 -1
  221. package/dist/Tree/utils.d.ts +1 -0
  222. package/dist/{Tree.vue_vue_type_style_index_0_lang-BRU_5PuO.js → Tree.vue_vue_type_style_index_0_lang-Bcy8moE2.js} +678 -695
  223. package/dist/Tree.vue_vue_type_style_index_0_lang-BrJHHwGl.js +6 -0
  224. package/dist/_getTag-CIY3u1-e.js +1 -0
  225. package/dist/_getTag-MDQGqxLN.js +127 -0
  226. package/dist/{getEmojiList-BtCA6cyU.js → getEmojiList-DSYihWrO.js} +253 -215
  227. package/dist/getEmojiList-kI-Nn4xv.js +1 -0
  228. package/dist/index-DWw7aruo.js +1 -0
  229. package/dist/index-jwkhq8oW.js +188 -0
  230. package/dist/index.d.ts +3 -0
  231. package/dist/index.js +173 -161
  232. package/dist/index.umd.cjs +1 -1
  233. package/dist/isEmpty-bCllo8T9.js +1 -0
  234. package/dist/isEmpty-wdqPTIXx.js +21 -0
  235. package/dist/omit-B3e_dACs.js +629 -0
  236. package/dist/omit-DEPypqqe.js +1 -0
  237. package/dist/style/index.css +1 -1
  238. package/dist/{uniq-D8HAKpFq.js → uniq-BsN259vC.js} +17 -16
  239. package/dist/uniq-Dhcbw64V.js +1 -0
  240. package/dist/useInputDataStates-CtuCKcP6.js +57 -0
  241. package/dist/useInputDataStates-DEfYzXQl.js +1 -0
  242. package/dist/utils/index.js +1 -1
  243. package/dist/utils/index.umd.cjs +1 -1
  244. package/dist/utils/useInputDataStates.d.ts +1 -1
  245. package/package.json +16 -1
  246. package/dist/ActionButton.vue_vue_type_script_setup_true_lang-Zbt1lDGL.js +0 -1
  247. package/dist/Badge.vue_vue_type_script_setup_true_lang-hG6klYy2.js +0 -1
  248. package/dist/BaseBadge.vue_vue_type_style_index_0_lang-VEdsFDiH.js +0 -1
  249. package/dist/BaseButton.vue_vue_type_style_index_0_lang-CcVDY3yV.js +0 -1
  250. package/dist/Button.vue_vue_type_script_setup_true_lang--np1Hw7N.js +0 -1
  251. package/dist/Checkbox.vue_vue_type_style_index_0_lang-5tG-1ejh.js +0 -215
  252. package/dist/Checkbox.vue_vue_type_style_index_0_lang-DaWMPx_d.js +0 -1
  253. package/dist/Chip.vue_vue_type_style_index_0_lang-DqVcmql_.js +0 -1
  254. package/dist/ColorSwatch.vue_vue_type_style_index_0_lang-BCkqRsud.js +0 -1
  255. package/dist/ColorSwatchGroup.vue_vue_type_style_index_0_lang-DBbTuynH.js +0 -1
  256. package/dist/ColorTrigger.vue_vue_type_style_index_0_lang-Brci1et_.js +0 -1
  257. package/dist/DataTable.vue_vue_type_style_index_0_lang-DOJv5evl.js +0 -1
  258. package/dist/DropZone.vue_vue_type_style_index_0_lang-oJc56iXj.js +0 -1
  259. package/dist/Empty.vue_vue_type_style_index_0_lang-DHvpu4sq.js +0 -1
  260. package/dist/FloatButton.vue_vue_type_script_setup_true_lang-CaKIkb0P.js +0 -1
  261. package/dist/GraphicalObject.vue_vue_type_script_setup_true_lang-Byz-BOG1.js +0 -1
  262. package/dist/Icon.vue_vue_type_style_index_0_lang-Cc8Uh2lr.js +0 -9
  263. package/dist/Icon.vue_vue_type_style_index_0_lang-Kn_r4tp8.js +0 -3746
  264. package/dist/IconButton.vue_vue_type_script_setup_true_lang-CGb0HxvX.js +0 -1
  265. package/dist/Image.vue_vue_type_style_index_0_lang-DVDZ0ova.js +0 -1
  266. package/dist/IndentLevel.vue_vue_type_style_index_0_lang-DVx2S15S.js +0 -1
  267. package/dist/Indicator.vue_vue_type_script_setup_true_lang-_V0q7Zly.js +0 -1
  268. package/dist/Input.vue_vue_type_style_index_0_lang-HuiLdgsj.js +0 -1
  269. package/dist/Kbd.vue_vue_type_style_index_0_lang-CuYfgo6l.js +0 -1
  270. package/dist/Link.vue_vue_type_style_index_0_lang-BgwJE1ku.js +0 -1
  271. package/dist/Menu.vue_vue_type_style_index_0_lang-CFuwm984.js +0 -460
  272. package/dist/Menu.vue_vue_type_style_index_0_lang-CiyZmFBO.js +0 -1
  273. package/dist/Popover.vue_vue_type_style_index_0_lang-B-MX4Q7D.js +0 -242
  274. package/dist/Popover.vue_vue_type_style_index_0_lang-BnKgARrA.js +0 -1
  275. package/dist/RadioGroup.vue_vue_type_script_setup_true_lang-Dq66i_P9.js +0 -1
  276. package/dist/ScrollContainer.vue_vue_type_style_index_0_lang-CMdXXxZr.js +0 -1
  277. package/dist/Select.vue_vue_type_style_index_0_lang-C4F2WmaG.js +0 -698
  278. package/dist/Select.vue_vue_type_style_index_0_lang-D8SgxILT.js +0 -1
  279. package/dist/Shortcut.vue_vue_type_style_index_0_lang-DIDsOrKm.js +0 -1
  280. package/dist/Spinner.vue_vue_type_style_index_0_lang-17QUeFmj.js +0 -1
  281. package/dist/Switch.vue_vue_type_style_index_0_lang-DISD-AzJ.js +0 -1
  282. package/dist/THead.vue_vue_type_style_index_0_lang-Ck81v68E.js +0 -1
  283. package/dist/Textarea.vue_vue_type_style_index_0_lang-CJHHqEWa.js +0 -1
  284. package/dist/Tree.vue_vue_type_style_index_0_lang-B9L-4ciK.js +0 -6
  285. package/dist/getEmojiList-Cz4Rzfi1.js +0 -1
  286. package/dist/uniq-Ci_ZUo6O.js +0 -1
  287. package/dist/useInputDataStates-BVOCxFWp.js +0 -56
  288. package/dist/useInputDataStates-C6bS7MJv.js +0 -1
@@ -1,698 +0,0 @@
1
- import { defineComponent as re, computed as f, h as i, createElementBlock as Te, openBlock as _e, normalizeClass as Ie, unref as pe, renderSlot as Be, ref as me, watch as ze, useSlots as we, useAttrs as ke, createBlock as De, normalizeProps as ve, guardReactiveProps as Ce, withCtx as ye, createVNode as Ae, createSlots as Fe, renderList as We } from "vue";
2
- import { createContext as Pe, SelectTrigger as $e, Primitive as Ge, SelectItem as Ne, SelectItemIndicator as Re, injectSelectRootContext as Ee, SelectPortal as je, SelectContent as Ke, useEmitAsProps as Me, SelectRoot as qe } from "reka-ui";
3
- import { g as ne, t as J, x as te, r as Se, h as oe, f as ue, u as Ue, o as he, w as be, q as He, j as Ve, s as Je } from "./Icon.vue_vue_type_style_index_0_lang-Kn_r4tp8.js";
4
- import { a as ce, g as Qe } from "./options-D4et5euX.js";
5
- import { getBemBlock as Xe, getBemElement as v, generateVariantClassList as G } from "@pantograph/utils";
6
- import { cva as ge } from "class-variance-authority";
7
- import { b as s, d as Oe } from "./element-BfQuKSll.js";
8
- import { g as Ye, b as Ze, c as et } from "./Popover.vue_vue_type_style_index_0_lang-B-MX4Q7D.js";
9
- import { _ as tt } from "./Chip.vue_vue_type_style_index_0_lang-Ci2Oqnfd.js";
10
- import { _ as ot } from "./ChipGroup.vue_vue_type_style_index_0_lang-Bln1W3La.js";
11
- import { _ as nt } from "./Empty.vue_vue_type_style_index_0_lang-C4a5JepF.js";
12
- import { _ as rt } from "./Skeleton.vue_vue_type_style_index_0_lang-Xi8CteLp.js";
13
- import { _ as Le } from "./Divider.vue_vue_type_style_index_0_lang-B6fQsp1Y.js";
14
- import { u as at } from "./useInputDataStates-BVOCxFWp.js";
15
- import { u as it } from "./useLazyLoading-Zo-PEp2E.js";
16
- import { _ as lt } from "./ScrollContainer.vue_vue_type_style_index_0_lang-CZgFGbH_.js";
17
- const de = ["sm", "md", "lg"], pt = ["error", "warning", "success"], [xe, st] = Pe("Select"), [ut, ct] = Pe("_Select"), D = Xe("select"), gt = /* @__PURE__ */ re({
18
- name: ce("SelectTrigger"),
19
- props: {
20
- getOptionSlot: {
21
- type: Function,
22
- required: !0
23
- }
24
- },
25
- setup(d, {
26
- slots: t,
27
- attrs: o
28
- }) {
29
- const B = Ye(), e = xe(), A = ({
30
- value: r
31
- }, h) => {
32
- if (h.stopPropagation(), r && te(e.modelValue.value) && !e.getDisabled.value) {
33
- const W = e.modelValue.value.filter((H) => H !== r);
34
- e.modelValue.value = W, e.emit("update:modelValue", W);
35
- }
36
- }, g = v(D, "trigger"), U = ge(g, {
37
- variants: {
38
- size: G(de, g),
39
- status: G(pt, g),
40
- bordered: G("bordered", g),
41
- multiple: G("multiple", g),
42
- contentFit: G("content-fit", g),
43
- wrapped: G("wrapped", g),
44
- filled: G("filled", g)
45
- }
46
- }), x = f(() => {
47
- switch (e.getSize.value) {
48
- case "sm":
49
- return "xsm";
50
- case "lg":
51
- return "md";
52
- case "md":
53
- default:
54
- return "sm";
55
- }
56
- }), Q = f(() => {
57
- switch (e.getSize.value) {
58
- case "sm":
59
- return "2xsm";
60
- case "md":
61
- default:
62
- return "xsm";
63
- }
64
- }), N = f(() => {
65
- if (!e.props.multiple && ne(e.modelValue.value) && !J(e.modelValue.value))
66
- return e.getOptionByValue(e.modelValue.value);
67
- }), R = (r = N.value) => {
68
- if (e.props.selectedItemIconAsTrailingIcon && oe(r) && "icon" in r)
69
- return r.icon;
70
- }, y = f(() => R()), S = f(() => {
71
- if (!e.props.noTrailing)
72
- return e.props.trailingIcon;
73
- }), E = f(() => !J(e.modelValue.value) && e.props.multiple && te(e.modelValue.value)), z = f(() => ({
74
- modelValue: Se(e.modelValue.value),
75
- open: Se(e.open.value)
76
- })), w = (r) => ({
77
- ...z.value,
78
- option: e.getOptionByValue(r)
79
- }), X = f(() => ({
80
- disabled: e.getDisabled.value,
81
- reference: e.props.reference,
82
- tabindex: e.getDisabled.value ? void 0 : 0,
83
- asChild: B.value,
84
- as: "div",
85
- class: [U({
86
- size: e.getSize.value,
87
- status: e.getStatus.value === "success" && J(e.modelValue.value) ? void 0 : e.getStatus.value,
88
- bordered: e.props.bordered,
89
- multiple: e.props.multiple,
90
- contentFit: e.props.contentFit,
91
- wrapped: e.props.wrapped,
92
- filled: !J(e.modelValue.value)
93
- }), e.props.triggerCls],
94
- ...o
95
- })), F = (r, h = Q.value) => i(ue, {
96
- icon: r,
97
- size: h
98
- }), j = () => {
99
- var W;
100
- let r;
101
- const h = (W = t.triggerTrailing) == null ? void 0 : W.call(t, z.value);
102
- if (s(h) ? S.value && (r = F(S.value)) : r = h, r)
103
- return i("div", {
104
- class: [v(g, "trailing"), e.props.triggerTrailingCls]
105
- }, r);
106
- };
107
- return () => i($e, X.value, {
108
- default: () => {
109
- var Z;
110
- const r = (Z = t.triggerLeading) == null ? void 0 : Z.call(t, z.value), h = !s(r), W = () => {
111
- var K;
112
- if (!e.props.multiple && !te(e.modelValue.value)) {
113
- const M = (K = d.getOptionSlot("leading", e.modelValue.value)) == null ? void 0 : K();
114
- if (h || M || y.value || e.props.leadingIcon) {
115
- let V;
116
- return s(M) ? y.value ? V = F(y.value) : h ? V = r : e.props.leadingIcon && (V = F(e.props.leadingIcon)) : V = M, i("div", {
117
- class: [v(g, "leading"), e.props.triggerLeadingCls]
118
- }, V);
119
- }
120
- }
121
- }, H = () => {
122
- const K = [];
123
- if (J(e.modelValue.value)) {
124
- if (e.props.placeholder && !e.props.multiple) {
125
- const M = () => {
126
- var q;
127
- const V = (q = t.placeholder) == null ? void 0 : q.call(t, z.value);
128
- return s(V) ? e.props.placeholder : V;
129
- };
130
- K.push(M());
131
- }
132
- } else {
133
- const V = (() => {
134
- var ie, a, _;
135
- const q = (ie = t.triggerValue) == null ? void 0 : ie.call(t, z.value);
136
- if (!s(q)) return q;
137
- if (e.props.multiple && te(e.modelValue.value))
138
- return i(ot, {
139
- maxCount: e.props.maxCount,
140
- size: x.value,
141
- color: "primary",
142
- closeable: !e.getDisabled.value,
143
- noPopover: !0,
144
- noWrap: !e.props.wrapped,
145
- class: [v(g, "tag_list"), e.props.tagListCls],
146
- onClose: A
147
- }, () => e.modelValue.value.map((l) => {
148
- var le;
149
- const u = (P) => {
150
- var I;
151
- const O = (I = t.tagClose) == null ? void 0 : I.call(t, {
152
- ...w(l),
153
- onClose: P
154
- });
155
- return s(O) ? null : O;
156
- }, c = (le = d.getOptionSlot("default", l)) == null ? void 0 : le(), k = () => {
157
- var I, n;
158
- const P = (I = d.getOptionSlot("text", l)) == null ? void 0 : I(), O = (n = t.tagText) == null ? void 0 : n.call(t, w(l));
159
- return s(O) ? s(c) ? s(P) ? e.getLabelByValue(l) : P : c : O;
160
- }, T = ({
161
- size: P
162
- }) => {
163
- var p, L;
164
- if (!s(c)) return null;
165
- const O = (p = d.getOptionSlot("leading", l)) == null ? void 0 : p(), I = (L = t.tagLeading) == null ? void 0 : L.call(t, w(l)), n = R(e.getOptionByValue(l)) ?? e.props.leadingIcon;
166
- return s(I) ? s(O) ? n ? F(n, P) : s(r) ? null : r : O : I;
167
- }, $ = () => {
168
- var O;
169
- const P = (O = t.tagTrailing) == null ? void 0 : O.call(t, w(l));
170
- return s(P) ? null : P;
171
- };
172
- return i(tt, {
173
- value: l,
174
- class: [v(g, "tag"), e.props.tagCls],
175
- closeIconCls: v(g, "tag__close")
176
- }, {
177
- text: k,
178
- leading: T,
179
- trailing: $,
180
- close: u
181
- });
182
- }));
183
- if (!te(e.modelValue.value)) {
184
- const l = (a = d.getOptionSlot("default", e.modelValue.value)) == null ? void 0 : a(), u = (_ = d.getOptionSlot("text", e.modelValue.value)) == null ? void 0 : _();
185
- return s(l) ? s(u) ? ne(e.modelValue.value) ? e.getLabelByValue(e.modelValue.value) : e.modelValue.value : u : l;
186
- }
187
- })();
188
- V && K.push(V);
189
- }
190
- return K;
191
- }, Y = [], ee = W();
192
- s(ee) || Y.push(ee), Y.push(i(Ge, {
193
- class: [v(g, "content"), e.props.triggerContentCls, J(e.modelValue.value) ? e.props.triggerContentPlaceholderCls : e.props.triggerContentValueCls],
194
- as: "div",
195
- key: String(E.value),
196
- asChild: E.value
197
- }, {
198
- default: H
199
- }));
200
- const ae = j();
201
- return s(ae) || Y.push(ae), Y;
202
- }
203
- });
204
- }
205
- }), se = /* @__PURE__ */ re({
206
- name: ce("SelectOption"),
207
- props: {
208
- option: {
209
- type: [Object, String],
210
- required: !0
211
- }
212
- },
213
- slots: Object,
214
- setup(d, {
215
- slots: t
216
- }) {
217
- const o = xe(), B = f(() => {
218
- switch (o.getSize.value) {
219
- case "sm":
220
- return "2xsm";
221
- case "lg":
222
- return "sm";
223
- case "md":
224
- default:
225
- return "xsm";
226
- }
227
- }), e = f(() => o.getOptionValue(d.option)), A = f(() => o.getOptionLabel(d.option)), g = f(() => o.getOptionIcon(d.option)), U = f(() => o.getOptionDisabled(d.option)), x = v(D, "option"), Q = ge(x, {
228
- variants: {
229
- size: G(de, x)
230
- }
231
- });
232
- if (!d.option) throw new Error("option is required");
233
- const N = () => {
234
- var S;
235
- const y = (S = t.indicator) == null ? void 0 : S.call(t, {
236
- option: d.option
237
- });
238
- return s(y) ? i(Re, {
239
- asChild: !0
240
- }, () => i(ue, {
241
- icon: o.props.indicatorIcon,
242
- size: B.value
243
- })) : y;
244
- }, R = () => {
245
- var E, z, w;
246
- const y = (E = t.default) == null ? void 0 : E.call(t, {
247
- option: d.option
248
- }), S = [];
249
- if (!s(y)) S.push(y);
250
- else {
251
- const X = (z = t.leading) == null ? void 0 : z.call(t, {
252
- option: d.option
253
- }), F = !s(X);
254
- if (g.value || F) {
255
- let h;
256
- F ? h = X : h = i(ue, {
257
- icon: g.value,
258
- size: B.value
259
- }), S.push(i("div", {
260
- class: [v(x, "leading"), o.props.itemLeadingCls]
261
- }, h));
262
- }
263
- let j;
264
- const r = (w = t.text) == null ? void 0 : w.call(t, {
265
- option: d.option
266
- });
267
- s(r) ? j = A.value : j = r, S.push(i("div", {
268
- class: [v(x, "text"), o.props.optionTextCls]
269
- }, j));
270
- }
271
- return i("div", {
272
- class: [v(x, "content"), o.props.optionContentCls]
273
- }, S);
274
- };
275
- return () => i(Ne, {
276
- value: e.value,
277
- textValue: A.value,
278
- disabled: U.value,
279
- class: [Q({
280
- size: o.getSize.value
281
- }), o.props.optionCls]
282
- }, () => [R(), N()]);
283
- }
284
- }), dt = /* @__PURE__ */ re({
285
- __name: "SelectLabel",
286
- setup(d) {
287
- return (t, o) => (_e(), Te("div", {
288
- class: Ie(pe(v)(pe(D), "label"))
289
- }, [
290
- Be(t.$slots, "default")
291
- ], 2));
292
- }
293
- }), ft = /* @__PURE__ */ re({
294
- name: ce("SelectWrapper"),
295
- setup(d, {
296
- slots: t
297
- }) {
298
- const o = ut(), B = Ee(), e = me();
299
- it({
300
- target: e
301
- });
302
- const A = me(), g = Ze({
303
- triggerRef: A,
304
- props: o.props
305
- }), {
306
- getFlipOnDir: U,
307
- getDir: x
308
- } = Ue(), Q = U("reversePlacementOnDir"), N = x(), R = et({
309
- props: o.props,
310
- flip: Q,
311
- emitsAsProps: o.emitsAsProps,
312
- _dir: N,
313
- controlAutoFocus: !1,
314
- extraPropNames: ["bodyLock", "position"]
315
- }), y = ({
316
- key: a,
317
- getterKey: _,
318
- defaultValue: l,
319
- noReturnOption: u
320
- }) => (c) => {
321
- const k = be(l) ? l(c) : l;
322
- if (oe(c)) {
323
- const T = c[a] ?? k, $ = _ && o.props[_];
324
- if ($) {
325
- if (ne($))
326
- return c[$] ?? T;
327
- if (be($)) return $(c) ?? T;
328
- }
329
- return T;
330
- }
331
- return ne(c) && !u ? c ?? k : k;
332
- }, S = y({
333
- getterKey: "getValue",
334
- key: "value"
335
- }), E = y({
336
- getterKey: "getLabel",
337
- key: "label",
338
- defaultValue: S
339
- }), z = y({
340
- getterKey: "getIcon",
341
- key: "icon",
342
- noReturnOption: !0
343
- }), w = (a) => {
344
- var _;
345
- if ((_ = o.props.options) != null && _.length)
346
- for (const l of o.props.options) {
347
- if (S(l) === a) return l;
348
- const u = r(l);
349
- if (u != null && u.length) {
350
- for (const c of u)
351
- if (S(c) === a) return c;
352
- }
353
- }
354
- return a;
355
- }, X = (a) => {
356
- const _ = w(a);
357
- return _ ? E(_) ?? a : a;
358
- }, F = y({
359
- getterKey: "getDisabled",
360
- key: "disabled",
361
- defaultValue: !1,
362
- noReturnOption: !0
363
- }), j = y({
364
- getterKey: "getGroupLabel",
365
- key: "label",
366
- noReturnOption: !0
367
- }), r = y({
368
- getterKey: "getGroupOptions",
369
- key: "options",
370
- noReturnOption: !0
371
- }), {
372
- getDisabled: h,
373
- getStatus: W,
374
- getSize: H
375
- } = at({
376
- getDisabled: () => o.props.disabled,
377
- getSize: () => o.props.size,
378
- getStatus: () => o.props.status
379
- });
380
- st({
381
- props: o.props,
382
- attrs: o.attrs,
383
- emit: o.emit,
384
- getOptionValue: S,
385
- getOptionLabel: E,
386
- getOptionDisabled: F,
387
- getOptionIcon: z,
388
- getOptionGroupLabel: j,
389
- getOptionGroupOptions: r,
390
- getOptionByValue: w,
391
- getLabelByValue: X,
392
- getDisabled: h,
393
- getStatus: W,
394
- getSize: H,
395
- ...B,
396
- modelValue: B.modelValue
397
- }), ze(() => [o.props.clearOnChangeMultiple, o.props.multiple], () => {
398
- o.props.clearOnChangeMultiple && (B.modelValue.value = void 0, o.emit("update:modelValue", void 0));
399
- });
400
- const Y = f(() => {
401
- const a = o.props.scrollContainerProps ?? {};
402
- return {
403
- ...a,
404
- areaCls: [v(D, "scroll_area"), a == null ? void 0 : a.class, a == null ? void 0 : a.areaCls]
405
- };
406
- }), ee = v(D, "popup"), ae = ge(ee, {
407
- variants: {
408
- size: G(de, ee)
409
- }
410
- }), Z = (a) => {
411
- if (Number(a) > 0)
412
- return `${a}px`;
413
- if (typeof a == "string")
414
- return a;
415
- }, K = f(() => Z(o.props.popupWidth)), M = f(() => Z(o.props.popupHeight)), V = f(() => Z(o.props.minWidth)), q = f(() => ({
416
- type: H.value === "sm" ? "simple" : "advance",
417
- ...he(o.props.emptyProps ?? {}, "class")
418
- })), ie = f(() => he(o.props.skeletonProps ?? {}, "class"));
419
- return () => {
420
- var P, O, I;
421
- const a = (n) => {
422
- var p;
423
- if ((p = o.props.options) != null && p.length && n > 0)
424
- return !!o.props.options[n - 1];
425
- }, _ = (n) => {
426
- var p, L;
427
- if ((p = o.props.options) != null && p.length && n > 0) {
428
- const m = o.props.options[n - 1];
429
- return !!(m && ((L = r(m)) != null && L.length));
430
- }
431
- }, l = (P = t.default) == null ? void 0 : P.call(t, {}), u = (O = Oe(l, se)) == null ? void 0 : O.filter((n) => {
432
- var p;
433
- return oe(n == null ? void 0 : n.props) && ((p = n == null ? void 0 : n.props) == null ? void 0 : p.option);
434
- }), c = [];
435
- (o.props.options ?? []).forEach((n, p) => {
436
- const L = (b) => i(se, {
437
- option: b
438
- }, {
439
- default: () => {
440
- var C;
441
- return (C = t.option) == null ? void 0 : C.call(t, {
442
- option: b
443
- });
444
- },
445
- leading: () => {
446
- var C;
447
- return (C = t.optionLeading) == null ? void 0 : C.call(t, {
448
- option: b
449
- });
450
- },
451
- indicator: () => {
452
- var C;
453
- return (C = t.optionIndicator) == null ? void 0 : C.call(t, {
454
- option: b
455
- });
456
- },
457
- text: () => {
458
- var C;
459
- return (C = t.optionText) == null ? void 0 : C.call(t, {
460
- option: b
461
- });
462
- }
463
- }), m = r(n);
464
- if (m != null && m.length) {
465
- a(p) && c.push(i(Le));
466
- const b = j(n);
467
- b && c.push(i(dt, {
468
- class: o.props.labelCls
469
- }, () => b)), m.forEach((C) => {
470
- c.push(L(C));
471
- });
472
- } else _(p) ? c.push(i(Le)) : c.push(L(n));
473
- });
474
- const k = Oe(c, se).filter((n) => {
475
- var p;
476
- return oe(n == null ? void 0 : n.props) && ((p = n == null ? void 0 : n.props) == null ? void 0 : p.option);
477
- }), T = !!(k != null && k.length || u != null && u.length), $ = (n, p) => {
478
- var L;
479
- if (T && !J(p) && ne(p)) {
480
- const m = u != null && u.length ? u : k;
481
- if (m.length) {
482
- const b = m.find((C) => {
483
- var fe;
484
- return oe(C.props) && S((fe = C.props) == null ? void 0 : fe.option) === p;
485
- });
486
- return (L = b == null ? void 0 : b.children) == null ? void 0 : L[n];
487
- }
488
- }
489
- }, le = () => {
490
- var p, L;
491
- const n = [];
492
- if (T || o.props.loading) {
493
- const m = [];
494
- if (T && (u != null && u.length ? m.push(l) : m.push(...c)), o.props.loading) {
495
- const b = (p = t.loading) == null ? void 0 : p.call(t, {});
496
- if (!s(b)) m.push(b);
497
- else {
498
- const C = new Array(T ? 2 : o.props.loadingRowCount).fill(1);
499
- m.push(...C.map(() => i(rt, {
500
- size: H.value,
501
- class: [v(D, "skeleton"), o.props.skeletonCls],
502
- ...ie.value
503
- })));
504
- }
505
- }
506
- n.push(i("div", {
507
- class: [v(D, "options"), o.props.optionsCls]
508
- }, m));
509
- } else if (!T) {
510
- const m = (L = t.empty) == null ? void 0 : L.call(t, q.value);
511
- s(m) ? n.push(i(nt, {
512
- class: [v(D, "empty"), o.props.emptyCls],
513
- ...q.value
514
- }, {
515
- title: t.emptyTitle,
516
- description: t.emptyDescription,
517
- actions: t.emptyActions,
518
- image: t.emptyImage
519
- })) : n.push(m);
520
- }
521
- return o.props.lazyLoading && n.push(i("div", {
522
- class: v(D, "lazy_loading")
523
- }, i("div", {
524
- class: v(D, "lazy_loading_trigger"),
525
- ref: e
526
- }))), n;
527
- };
528
- return [i(gt, {
529
- getOptionSlot: $,
530
- ref: A,
531
- ...o.attrs,
532
- style: {
533
- ...((I = o.attrs) == null ? void 0 : I.style) ?? {},
534
- "--ptc-select-trigger-min-w": V.value
535
- }
536
- }, {
537
- triggerLeading: t.triggerLeading,
538
- placeholder: t.placeholder,
539
- triggerValue: t.triggerValue,
540
- triggerTrailing: t.triggerTrailing,
541
- tagClose: t.tagClose,
542
- tagTrailing: t.tagTrailing,
543
- tagLeading: t.tagLeading,
544
- tagText: t.tagText
545
- }), i(je, g.value, () => i(Ke, {
546
- ...R.value,
547
- vShow: B.open.value,
548
- class: [ae(o.props), o.props.popupCls],
549
- style: {
550
- "--ptc-select-popup-width": o.props.samePopupWidth ? void 0 : K.value,
551
- "--ptc-select-popup-height": M.value,
552
- "--ptc-select-trigger-min-w": V.value
553
- }
554
- }, () => i(lt, Y.value, le)))];
555
- };
556
- }
557
- }), zt = /* @__PURE__ */ re({
558
- ...Qe("Select"),
559
- __name: "Select",
560
- props: {
561
- status: {},
562
- size: { default: "md" },
563
- multiple: { type: Boolean, default: void 0 },
564
- contentFit: { type: Boolean },
565
- wrapped: { type: Boolean },
566
- noTrailing: { type: Boolean },
567
- leadingIcon: {},
568
- trailingIcon: { default: "tabler:chevron-down" },
569
- selectedItemIconAsTrailingIcon: { type: Boolean, default: !0 },
570
- maxCount: {},
571
- to: {},
572
- placeholder: {},
573
- indicatorIcon: { default: "tabler:check" },
574
- options: {},
575
- getDisabled: {},
576
- getLabel: {},
577
- getValue: {},
578
- getGroupOptions: {},
579
- getGroupLabel: {},
580
- getIcon: {},
581
- placement: { default: "bottom" },
582
- reversePlacementOnDir: {},
583
- loading: { type: Boolean },
584
- skeletonProps: {},
585
- loadingRowCount: { default: 10 },
586
- lazyLoading: { type: Boolean },
587
- bordered: { type: Boolean, default: !0 },
588
- clearOnChangeMultiple: { type: Boolean, default: !0 },
589
- triggerCls: {},
590
- triggerLeadingCls: {},
591
- triggerContentCls: {},
592
- triggerContentPlaceholderCls: {},
593
- triggerContentValueCls: {},
594
- triggerTrailingCls: {},
595
- itemLeadingCls: {},
596
- optionCls: {},
597
- tagListCls: {},
598
- tagCls: {},
599
- popupCls: {},
600
- labelCls: {},
601
- optionsCls: {},
602
- optionTextCls: {},
603
- optionContentCls: {},
604
- emptyCls: {},
605
- skeletonCls: {},
606
- scrollContainerProps: {},
607
- emptyProps: {},
608
- samePopupWidth: { type: Boolean, default: !0 },
609
- popupHeight: { default: 384 },
610
- popupWidth: {},
611
- minWidth: {},
612
- open: { type: Boolean, default: void 0 },
613
- defaultOpen: { type: Boolean, default: void 0 },
614
- defaultValue: {},
615
- modelValue: {},
616
- by: {},
617
- dir: {},
618
- autocomplete: {},
619
- disabled: { type: Boolean, default: void 0 },
620
- name: {},
621
- required: { type: Boolean },
622
- reference: {},
623
- forceMount: { type: Boolean, default: void 0 },
624
- position: { default: "popper" },
625
- bodyLock: { type: Boolean },
626
- side: {},
627
- sideOffset: { default: 4 },
628
- align: {},
629
- alignOffset: {},
630
- avoidCollisions: { type: Boolean, default: void 0 },
631
- collisionBoundary: {},
632
- collisionPadding: { default: 4 },
633
- arrowPadding: {},
634
- sticky: {},
635
- hideWhenDetached: { type: Boolean, default: void 0 },
636
- positionStrategy: { default: "fixed" },
637
- updatePositionStrategy: {},
638
- disableUpdateOnLayoutShift: { type: Boolean, default: void 0 },
639
- prioritizePosition: { type: Boolean, default: void 0 },
640
- asChild: { type: Boolean },
641
- as: {},
642
- defer: { type: Boolean }
643
- },
644
- emits: ["update:modelValue", "update:open", "closeAutoFocus", "escapeKeyDown", "pointerDownOutside"],
645
- setup(d, { emit: t }) {
646
- const o = d, B = t, e = Me(B), A = f(
647
- () => He(
648
- {
649
- ...Ve(
650
- o,
651
- "open",
652
- "defaultOpen",
653
- "defaultValue",
654
- "modelValue",
655
- "by",
656
- "dir",
657
- "multiple",
658
- "autocomplete",
659
- "disabled"
660
- ),
661
- ...Ve(
662
- e,
663
- "onUpdate:modelValue",
664
- "onUpdate:open"
665
- )
666
- },
667
- Je
668
- )
669
- ), g = we(), U = ke();
670
- return ct({
671
- attrs: U,
672
- props: o,
673
- emit: B,
674
- emitsAsProps: e
675
- }), (x, Q) => (_e(), De(pe(qe), ve(Ce(A.value)), {
676
- default: ye(() => [
677
- Ae(pe(ft), null, Fe({ _: 2 }, [
678
- We(Object.keys(g), (N) => ({
679
- name: N,
680
- fn: ye((R) => [
681
- Be(x.$slots, N, ve(Ce(R)))
682
- ])
683
- }))
684
- ]), 1024)
685
- ]),
686
- _: 3
687
- }, 16));
688
- }
689
- });
690
- export {
691
- se as S,
692
- zt as _,
693
- dt as a,
694
- de as b,
695
- pt as c,
696
- xe as i,
697
- st as p
698
- };