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