@pantograph/vue 0.22.5 → 0.23.0

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 (234) 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-DaglRgvB.js → ActionButton.vue_vue_type_script_setup_true_lang-9KLDmGYU.js} +1 -1
  4. package/dist/{ActionButton.vue_vue_type_script_setup_true_lang-BuoyyieN.js → ActionButton.vue_vue_type_script_setup_true_lang-CcQqao00.js} +3 -3
  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-CJp5SNlM.js → Alert.vue_vue_type_style_index_0_lang-BO0hGV-5.js} +1 -1
  8. package/dist/{Alert.vue_vue_type_style_index_0_lang-0LOAObnE.js → Alert.vue_vue_type_style_index_0_lang-Dc6uFy38.js} +5 -5
  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-CQkfLDC5.js → Avatar.vue_vue_type_style_index_0_lang-B-Ag5VWz.js} +1 -1
  12. package/dist/{Avatar.vue_vue_type_style_index_0_lang-C7WmfBbR.js → Avatar.vue_vue_type_style_index_0_lang-BIoHlavX.js} +5 -5
  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-lu-gu5b5.js → Badge.vue_vue_type_script_setup_true_lang-C1EgUY0e.js} +1 -1
  18. package/dist/{Badge.vue_vue_type_script_setup_true_lang-CXsn0nkw.js → Badge.vue_vue_type_script_setup_true_lang-CTSx6U_M.js} +3 -3
  19. package/dist/{BaseBadge.vue_vue_type_style_index_0_lang-BuXOyFVD.js → BaseBadge.vue_vue_type_style_index_0_lang-B_yMpWXJ.js} +2 -2
  20. package/dist/{BaseBadge.vue_vue_type_style_index_0_lang-BLAg02qH.js → BaseBadge.vue_vue_type_style_index_0_lang-DCuagJOf.js} +1 -1
  21. package/dist/{BaseButton.vue_vue_type_style_index_0_lang-CLVtjY8d.js → BaseButton.vue_vue_type_style_index_0_lang-C2y_wKyY.js} +6 -6
  22. package/dist/{BaseButton.vue_vue_type_style_index_0_lang-L4DRwvWw.js → BaseButton.vue_vue_type_style_index_0_lang-DBPimVAm.js} +1 -1
  23. package/dist/Button/index.js +1 -1
  24. package/dist/Button/index.umd.cjs +1 -1
  25. package/dist/{Button.vue_vue_type_script_setup_true_lang-DY2BNT1y.js → Button.vue_vue_type_script_setup_true_lang-FfYrgTkY.js} +1 -1
  26. package/dist/{Button.vue_vue_type_script_setup_true_lang-DQesYwzL.js → Button.vue_vue_type_script_setup_true_lang-KulThQVd.js} +3 -3
  27. package/dist/ButtonGroup/index.js +1 -1
  28. package/dist/ButtonGroup/index.umd.cjs +1 -1
  29. package/dist/{ButtonGroup.vue_vue_type_script_setup_true_lang-pO76J3IF.js → ButtonGroup.vue_vue_type_script_setup_true_lang-BF_Oo7Zk.js} +1 -1
  30. package/dist/{ButtonGroup.vue_vue_type_script_setup_true_lang-MzFTjLDZ.js → ButtonGroup.vue_vue_type_script_setup_true_lang-CfOMjVlH.js} +1 -1
  31. package/dist/Checkbox/Checkbox.d.ts +1 -1
  32. package/dist/Checkbox/index.js +1 -1
  33. package/dist/Checkbox/index.umd.cjs +1 -1
  34. package/dist/{Checkbox.vue_vue_type_style_index_0_lang-BdcW-RZN.js → Checkbox.vue_vue_type_style_index_0_lang-C98z6Uaw.js} +1 -1
  35. package/dist/{Checkbox.vue_vue_type_style_index_0_lang-cKjwhSu-.js → Checkbox.vue_vue_type_style_index_0_lang-D8rc8anP.js} +3 -3
  36. package/dist/CheckboxGroup/index.js +1 -1
  37. package/dist/CheckboxGroup/index.umd.cjs +1 -1
  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-CRT0bmU6.js +121 -0
  41. package/dist/Chip.vue_vue_type_style_index_0_lang-DEYLbYPA.js +1 -0
  42. package/dist/ChipGroup/ChipGroup.d.ts +3 -0
  43. package/dist/ChipGroup/index.js +1 -1
  44. package/dist/ChipGroup/index.umd.cjs +1 -1
  45. package/dist/ChipGroup.vue_vue_type_style_index_0_lang-17_5KeUm.js +1 -0
  46. package/dist/ChipGroup.vue_vue_type_style_index_0_lang-DWT3Gtws.js +77 -0
  47. package/dist/ColorPicker/index.js +1 -1
  48. package/dist/ColorPicker/index.umd.cjs +1 -1
  49. package/dist/{ColorPicker.vue_vue_type_style_index_0_lang-C_oiAMBb.js → ColorPicker.vue_vue_type_style_index_0_lang-PdEaUt0-.js} +1 -1
  50. package/dist/{ColorPicker.vue_vue_type_style_index_0_lang-D9uXTo6A.js → ColorPicker.vue_vue_type_style_index_0_lang-URr3Uh2g.js} +3 -3
  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-CONqtEmS.js → ColorSwatch.vue_vue_type_style_index_0_lang-CfFSkFNC.js} +4 -4
  54. package/dist/{ColorSwatch.vue_vue_type_style_index_0_lang-3IRstZgE.js → ColorSwatch.vue_vue_type_style_index_0_lang-D3kS4OhB.js} +1 -1
  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-BMyF1WYM.js → ColorSwatchGroup.vue_vue_type_style_index_0_lang-B8cJsDqQ.js} +1 -1
  58. package/dist/{ColorSwatchGroup.vue_vue_type_style_index_0_lang-rZ0DAGiR.js → ColorSwatchGroup.vue_vue_type_style_index_0_lang-C8rQPWGD.js} +5 -5
  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-B-HxrWXr.js → ColorTrigger.vue_vue_type_style_index_0_lang-BUiBupQ9.js} +1 -1
  62. package/dist/{ColorTrigger.vue_vue_type_style_index_0_lang-D5A9MniE.js → ColorTrigger.vue_vue_type_style_index_0_lang-ocCOj1IG.js} +4 -4
  63. package/dist/ConfigProvider/index.js +2 -2
  64. package/dist/ConfigProvider/index.umd.cjs +1 -1
  65. package/dist/DataTable/index.js +1 -1
  66. package/dist/DataTable/index.umd.cjs +1 -1
  67. package/dist/DataTable/useLazyLoading.d.ts +8 -0
  68. package/dist/{DataTable.vue_vue_type_style_index_0_lang-Z5d8lFtY.js → DataTable.vue_vue_type_style_index_0_lang-D2Y8MDt8.js} +270 -279
  69. package/dist/DataTable.vue_vue_type_style_index_0_lang-DKKQFsl6.js +1 -0
  70. package/dist/Divider/index.js +1 -1
  71. package/dist/Divider/index.umd.cjs +1 -1
  72. package/dist/{Divider.vue_vue_type_style_index_0_lang-DapqjSGc.js → Divider.vue_vue_type_style_index_0_lang-B6fQsp1Y.js} +1 -1
  73. package/dist/{Divider.vue_vue_type_style_index_0_lang-DuAAwNmp.js → Divider.vue_vue_type_style_index_0_lang-DoEWjJx6.js} +1 -1
  74. package/dist/DropZone/index.js +1 -1
  75. package/dist/DropZone/index.umd.cjs +1 -1
  76. package/dist/{DropZone.vue_vue_type_style_index_0_lang-BV4SAR-C.js → DropZone.vue_vue_type_style_index_0_lang-DLNj8j_C.js} +3 -3
  77. package/dist/{DropZone.vue_vue_type_style_index_0_lang-BKZKDO-V.js → DropZone.vue_vue_type_style_index_0_lang-DmwUpuJI.js} +1 -1
  78. package/dist/Empty/index.js +1 -1
  79. package/dist/Empty/index.umd.cjs +1 -1
  80. package/dist/{Empty.vue_vue_type_style_index_0_lang-Do6r0xM0.js → Empty.vue_vue_type_style_index_0_lang-CuQcDV5E.js} +2 -2
  81. package/dist/{Empty.vue_vue_type_style_index_0_lang-o-PAGM69.js → Empty.vue_vue_type_style_index_0_lang-DT5JnUqN.js} +1 -1
  82. package/dist/FloatButton/index.js +1 -1
  83. package/dist/FloatButton/index.umd.cjs +1 -1
  84. package/dist/{FloatButton.vue_vue_type_script_setup_true_lang-BM21wcnb.js → FloatButton.vue_vue_type_script_setup_true_lang-CVGgB-Tm.js} +1 -1
  85. package/dist/{FloatButton.vue_vue_type_script_setup_true_lang-Dp8_A9bR.js → FloatButton.vue_vue_type_script_setup_true_lang-pRCc5F-L.js} +3 -3
  86. package/dist/Form/index.js +1 -1
  87. package/dist/Form/index.umd.cjs +1 -1
  88. package/dist/GOPicker/GOPicker.d.ts +2 -2
  89. package/dist/GOPicker/index.js +1 -1
  90. package/dist/GOPicker/index.umd.cjs +1 -1
  91. package/dist/{GOPicker.vue_vue_type_style_index_0_lang-BCRl-aBB.js → GOPicker.vue_vue_type_style_index_0_lang-CPqOVLZ9.js} +1 -1
  92. package/dist/{GOPicker.vue_vue_type_style_index_0_lang-CX_x2Kmv.js → GOPicker.vue_vue_type_style_index_0_lang-iOq-J-RN.js} +11 -11
  93. package/dist/GraphicalObject/index.js +1 -1
  94. package/dist/GraphicalObject/index.umd.cjs +1 -1
  95. package/dist/{GraphicalObject.vue_vue_type_script_setup_true_lang-geqZb2IY.js → GraphicalObject.vue_vue_type_script_setup_true_lang-BuLWC_UH.js} +4 -4
  96. package/dist/{GraphicalObject.vue_vue_type_script_setup_true_lang-Cs85tVJU.js → GraphicalObject.vue_vue_type_script_setup_true_lang-DPne-4SI.js} +1 -1
  97. package/dist/GraphicalObjectGroup/index.js +1 -1
  98. package/dist/GraphicalObjectGroup/index.umd.cjs +1 -1
  99. package/dist/{GraphicalObjectGroup.vue_vue_type_style_index_0_lang-C2ubwE2W.js → GraphicalObjectGroup.vue_vue_type_style_index_0_lang-B1xCzMBX.js} +1 -1
  100. package/dist/{GraphicalObjectGroup.vue_vue_type_style_index_0_lang-DSIv18t_.js → GraphicalObjectGroup.vue_vue_type_style_index_0_lang-CrBvNPZc.js} +3 -3
  101. package/dist/Icon/index.js +1 -1
  102. package/dist/Icon/index.umd.cjs +1 -1
  103. package/dist/{Icon.vue_vue_type_style_index_0_lang-DCBjku2G.js → Icon.vue_vue_type_style_index_0_lang-BjAp2TPg.js} +2 -2
  104. package/dist/{Icon.vue_vue_type_style_index_0_lang-m8dwDy4r.js → Icon.vue_vue_type_style_index_0_lang-DwTaEYnw.js} +9 -9
  105. package/dist/IconButton/index.js +1 -1
  106. package/dist/IconButton/index.umd.cjs +1 -1
  107. package/dist/{IconButton.vue_vue_type_script_setup_true_lang-Di_GIbFf.js → IconButton.vue_vue_type_script_setup_true_lang-Cc4O_tGW.js} +3 -3
  108. package/dist/{IconButton.vue_vue_type_script_setup_true_lang-C49Y9h7k.js → IconButton.vue_vue_type_script_setup_true_lang-DN9Pg95b.js} +1 -1
  109. package/dist/Image/index.js +1 -1
  110. package/dist/Image/index.umd.cjs +1 -1
  111. package/dist/{Image.vue_vue_type_style_index_0_lang-CIWgfjfn.js → Image.vue_vue_type_style_index_0_lang-BNx8S5ED.js} +3 -3
  112. package/dist/{Image.vue_vue_type_style_index_0_lang-4AzaV6m3.js → Image.vue_vue_type_style_index_0_lang-M9u3w_Xx.js} +1 -1
  113. package/dist/IndentLevel/index.js +1 -1
  114. package/dist/IndentLevel/index.umd.cjs +1 -1
  115. package/dist/{IndentLevel.vue_vue_type_style_index_0_lang-CeUKjmVg.js → IndentLevel.vue_vue_type_style_index_0_lang-BspMh5vS.js} +1 -1
  116. package/dist/{IndentLevel.vue_vue_type_style_index_0_lang-BnU3U7f0.js → IndentLevel.vue_vue_type_style_index_0_lang-DbECAb3_.js} +5 -5
  117. package/dist/Indicator/index.js +1 -1
  118. package/dist/Indicator/index.umd.cjs +1 -1
  119. package/dist/{Indicator.vue_vue_type_script_setup_true_lang-vbGXlfQf.js → Indicator.vue_vue_type_script_setup_true_lang-CbazOYtZ.js} +1 -1
  120. package/dist/{Indicator.vue_vue_type_script_setup_true_lang-D8LgY6cc.js → Indicator.vue_vue_type_script_setup_true_lang-Cn0dPSWi.js} +3 -3
  121. package/dist/Input/Input.d.ts +2 -2
  122. package/dist/Input/index.js +1 -1
  123. package/dist/Input/index.umd.cjs +1 -1
  124. package/dist/{Input.vue_vue_type_style_index_0_lang-CPZg-HuC.js → Input.vue_vue_type_style_index_0_lang-B36ODtKB.js} +4 -4
  125. package/dist/{Input.vue_vue_type_style_index_0_lang-Cfjllz6E.js → Input.vue_vue_type_style_index_0_lang-C3wHsLuO.js} +1 -1
  126. package/dist/Kbd/index.js +1 -1
  127. package/dist/Kbd/index.umd.cjs +1 -1
  128. package/dist/{Kbd.vue_vue_type_style_index_0_lang-Bd2oUt5y.js → Kbd.vue_vue_type_style_index_0_lang-BXF6Pwx_.js} +2 -2
  129. package/dist/{Kbd.vue_vue_type_style_index_0_lang-DCL5O9Je.js → Kbd.vue_vue_type_style_index_0_lang-Nh7YxSKh.js} +1 -1
  130. package/dist/Label/index.js +1 -1
  131. package/dist/Label/index.umd.cjs +1 -1
  132. package/dist/Link/index.js +1 -1
  133. package/dist/Link/index.umd.cjs +1 -1
  134. package/dist/{Link.vue_vue_type_style_index_0_lang-jkeeGcel.js → Link.vue_vue_type_style_index_0_lang-DBcWxMUI.js} +2 -2
  135. package/dist/{Link.vue_vue_type_style_index_0_lang-CZtbe6e7.js → Link.vue_vue_type_style_index_0_lang-ZS5gldRN.js} +1 -1
  136. package/dist/Menu/index.js +1 -1
  137. package/dist/Menu/index.umd.cjs +1 -1
  138. package/dist/{Menu.vue_vue_type_style_index_0_lang-BkAp2Lox.js → Menu.vue_vue_type_style_index_0_lang-CubIX9qe.js} +1 -1
  139. package/dist/{Menu.vue_vue_type_style_index_0_lang-BTYGoWOL.js → Menu.vue_vue_type_style_index_0_lang-DJUI0cDL.js} +4 -4
  140. package/dist/MenuItem/index.js +1 -1
  141. package/dist/MenuItem/index.umd.cjs +1 -1
  142. package/dist/Popover/Popover.d.ts +117 -15
  143. package/dist/Popover/index.d.ts +1 -1
  144. package/dist/Popover/index.js +1 -1
  145. package/dist/Popover/index.umd.cjs +1 -1
  146. package/dist/Popover/utils.d.ts +25 -0
  147. package/dist/Popover.vue_vue_type_style_index_0_lang-1N-p2jeN.js +242 -0
  148. package/dist/Popover.vue_vue_type_style_index_0_lang-CyMu3Xx0.js +1 -0
  149. package/dist/RadioGroup/index.js +1 -1
  150. package/dist/RadioGroup/index.umd.cjs +1 -1
  151. package/dist/{RadioGroup.vue_vue_type_script_setup_true_lang-xBg4P78b.js → RadioGroup.vue_vue_type_script_setup_true_lang-Bc_8IXPT.js} +1 -1
  152. package/dist/{RadioGroup.vue_vue_type_script_setup_true_lang-Cymmyiys.js → RadioGroup.vue_vue_type_script_setup_true_lang-CgRUMlpC.js} +3 -3
  153. package/dist/ScrollContainer/ScrollContainer.d.ts +9 -9
  154. package/dist/ScrollContainer/index.js +1 -1
  155. package/dist/ScrollContainer/index.umd.cjs +1 -1
  156. package/dist/{ScrollContainer.vue_vue_type_style_index_0_lang-CmXa5MIq.js → ScrollContainer.vue_vue_type_style_index_0_lang-BgwgYelV.js} +1 -1
  157. package/dist/{ScrollContainer.vue_vue_type_style_index_0_lang-CSCDhOQB.js → ScrollContainer.vue_vue_type_style_index_0_lang-CSLCU0p6.js} +1 -1
  158. package/dist/Select/Select.d.ts +55 -0
  159. package/dist/Select/Select.model.d.ts +4 -0
  160. package/dist/Select/SelectLabel.d.ts +16 -0
  161. package/dist/Select/SelectOption.d.ts +19 -0
  162. package/dist/Select/SelectTrigger.d.ts +11 -0
  163. package/dist/Select/SelectWrapper.d.ts +4 -0
  164. package/dist/Select/context.d.ts +28 -0
  165. package/dist/Select/index.d.ts +6 -0
  166. package/dist/Select/index.js +10 -0
  167. package/dist/Select/index.umd.cjs +1 -0
  168. package/dist/Select/types.d.ts +126 -0
  169. package/dist/Select.vue_vue_type_style_index_0_lang-BTgHRXX_.js +1 -0
  170. package/dist/Select.vue_vue_type_style_index_0_lang-DCJ67w-X.js +696 -0
  171. package/dist/Shortcut/index.js +1 -1
  172. package/dist/Shortcut/index.umd.cjs +1 -1
  173. package/dist/{Shortcut.vue_vue_type_style_index_0_lang-DH3I9lTB.js → Shortcut.vue_vue_type_style_index_0_lang-CciPWuSf.js} +1 -1
  174. package/dist/{Shortcut.vue_vue_type_style_index_0_lang-CPjV7eLg.js → Shortcut.vue_vue_type_style_index_0_lang-CiUggE_F.js} +3 -3
  175. package/dist/Skeleton/index.js +1 -1
  176. package/dist/Skeleton/index.umd.cjs +1 -1
  177. package/dist/{Skeleton.vue_vue_type_style_index_0_lang-BRov9v5C.js → Skeleton.vue_vue_type_style_index_0_lang-CWNX_-Jl.js} +1 -1
  178. package/dist/{Skeleton.vue_vue_type_style_index_0_lang-aSGb2hn6.js → Skeleton.vue_vue_type_style_index_0_lang-Xi8CteLp.js} +1 -1
  179. package/dist/Spinner/index.js +1 -1
  180. package/dist/Spinner/index.umd.cjs +1 -1
  181. package/dist/{Spinner.vue_vue_type_style_index_0_lang-DAY9kBO9.js → Spinner.vue_vue_type_style_index_0_lang-CtV8D35S.js} +2 -2
  182. package/dist/{Spinner.vue_vue_type_style_index_0_lang-Cm7J5cBI.js → Spinner.vue_vue_type_style_index_0_lang-U9S8eFoU.js} +1 -1
  183. package/dist/Switch/Switch.d.ts +1 -1
  184. package/dist/Switch/index.js +1 -1
  185. package/dist/Switch/index.umd.cjs +1 -1
  186. package/dist/{Switch.vue_vue_type_style_index_0_lang-DT_Mfcov.js → Switch.vue_vue_type_style_index_0_lang-CbPa8rrd.js} +3 -3
  187. package/dist/{Switch.vue_vue_type_style_index_0_lang-RuK62YKH.js → Switch.vue_vue_type_style_index_0_lang-T01ZPIDf.js} +1 -1
  188. package/dist/{THead.vue_vue_type_style_index_0_lang-B63h1RF2.js → THead.vue_vue_type_style_index_0_lang-Bs2eiSIK.js} +1 -1
  189. package/dist/{THead.vue_vue_type_style_index_0_lang-DHLQWjez.js → THead.vue_vue_type_style_index_0_lang-CPVnfFwH.js} +2 -2
  190. package/dist/Table/index.js +1 -1
  191. package/dist/Table/index.umd.cjs +1 -1
  192. package/dist/Textarea/Textarea.d.ts +19 -609
  193. package/dist/Textarea/index.js +1 -1
  194. package/dist/Textarea/index.umd.cjs +1 -1
  195. package/dist/Textarea.vue_vue_type_style_index_0_lang-D9qOlkQi.js +164 -0
  196. package/dist/Textarea.vue_vue_type_style_index_0_lang-DSq3XynL.js +1 -0
  197. package/dist/Tree/index.js +1 -1
  198. package/dist/Tree/index.umd.cjs +1 -1
  199. package/dist/{Tree.vue_vue_type_style_index_0_lang-B4vwt46r.js → Tree.vue_vue_type_style_index_0_lang-CojL7dhn.js} +1 -1
  200. package/dist/{Tree.vue_vue_type_style_index_0_lang-Dv5zm7Sb.js → Tree.vue_vue_type_style_index_0_lang-DWj8WAj6.js} +6 -6
  201. package/dist/element-BfQuKSll.js +47 -0
  202. package/dist/element-BjE0SVc4.js +1 -0
  203. package/dist/index.d.ts +1 -0
  204. package/dist/index.js +125 -117
  205. package/dist/index.umd.cjs +1 -1
  206. package/dist/options-CWrQ7gsa.js +1 -0
  207. package/dist/options-D4et5euX.js +10 -0
  208. package/dist/style/index.css +1 -1
  209. package/dist/types/index.d.ts +8 -0
  210. package/dist/{uniq--f9h-zgJ.js → uniq-D1JzwKWa.js} +1 -1
  211. package/dist/{uniq-Dci8Hrey.js → uniq-D7FwKSyV.js} +5 -5
  212. package/dist/{useInputDataStates-B4OO_nST.js → useInputDataStates-D6nrxMSF.js} +1 -1
  213. package/dist/{useInputDataStates-6_JS7YSj.js → useInputDataStates-DdGDk2Hm.js} +1 -1
  214. package/dist/useLazyLoading-H6VG5aE-.js +1 -0
  215. package/dist/useLazyLoading-Zo-PEp2E.js +26 -0
  216. package/dist/utils/element.d.ts +6 -5
  217. package/dist/utils/index.js +3 -3
  218. package/dist/utils/index.umd.cjs +1 -1
  219. package/dist/utils/options.d.ts +1 -0
  220. package/dist/utils/useInputDataStates.d.ts +2 -2
  221. package/package.json +11 -8
  222. package/dist/Chip.vue_vue_type_style_index_0_lang-Dm0XEZi9.js +0 -1
  223. package/dist/Chip.vue_vue_type_style_index_0_lang-Ds9wwrDe.js +0 -114
  224. package/dist/ChipGroup.vue_vue_type_style_index_0_lang-CQQWaqyE.js +0 -74
  225. package/dist/ChipGroup.vue_vue_type_style_index_0_lang-DBzKqYIo.js +0 -1
  226. package/dist/DataTable.vue_vue_type_style_index_0_lang-BgpOZZrN.js +0 -1
  227. package/dist/Popover.vue_vue_type_style_index_0_lang-BDJSd1rV.js +0 -152
  228. package/dist/Popover.vue_vue_type_style_index_0_lang-BXkQ071D.js +0 -1
  229. package/dist/Textarea.vue_vue_type_style_index_0_lang-Boeqy4Fg.js +0 -163
  230. package/dist/Textarea.vue_vue_type_style_index_0_lang-CO_e3cQV.js +0 -1
  231. package/dist/element-BURaVF00.js +0 -1
  232. package/dist/element-CayrDxFe.js +0 -30
  233. package/dist/options-B4iSAKol.js +0 -1
  234. package/dist/options-JBqnVZUl.js +0 -9
@@ -0,0 +1,696 @@
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-DwTaEYnw.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-DWT3Gtws.js";
6
+ import { _ as Ye } from "./Chip.vue_vue_type_style_index_0_lang-CRT0bmU6.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-1N-p2jeN.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-CuQcDV5E.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-DdGDk2Hm.js";
15
+ import { u as it } from "./useLazyLoading-Zo-PEp2E.js";
16
+ import { _ as lt } from "./ScrollContainer.vue_vue_type_style_index_0_lang-CSLCU0p6.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
+ };
@@ -1,4 +1,4 @@
1
- import { _ as o, _ as r } from "../Shortcut.vue_vue_type_style_index_0_lang-CPjV7eLg.js";
1
+ import { _ as o, _ as r } from "../Shortcut.vue_vue_type_style_index_0_lang-CiUggE_F.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-DH3I9lTB.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-CciPWuSf.js");exports.Shortcut=e._sfc_main;exports.default=e._sfc_main;