@pantograph/vue 0.28.3 → 0.28.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 (222) 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-CddrQ0FJ.js → ActionButton.vue_vue_type_script_setup_true_lang-BVHx9uru.js} +1 -1
  4. package/dist/{ActionButton.vue_vue_type_script_setup_true_lang-B-otCiI4.js → ActionButton.vue_vue_type_script_setup_true_lang-pYXkjWnG.js} +1 -1
  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-KApTmDTC.js → Alert.vue_vue_type_style_index_0_lang-BA7GXism.js} +1 -1
  8. package/dist/{Alert.vue_vue_type_style_index_0_lang-CcVbMUV8.js → Alert.vue_vue_type_style_index_0_lang-BsCaX7eV.js} +3 -3
  9. package/dist/Avatar/index.js +1 -1
  10. package/dist/Avatar/index.umd.cjs +1 -1
  11. package/dist/{Avatar.vue_vue_type_style_index_0_lang-C7F6UJLB.js → Avatar.vue_vue_type_style_index_0_lang-B-Xr8CBm.js} +4 -4
  12. package/dist/{Avatar.vue_vue_type_style_index_0_lang-S34EvcCX.js → Avatar.vue_vue_type_style_index_0_lang-DMv8hlec.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-Dujr_wRB.js → Badge.vue_vue_type_script_setup_true_lang-D8HhPgXQ.js} +1 -1
  18. package/dist/{Badge.vue_vue_type_script_setup_true_lang-xPSufD8N.js → Badge.vue_vue_type_script_setup_true_lang-DVt1axIK.js} +1 -1
  19. package/dist/{BaseBadge.vue_vue_type_style_index_0_lang-CpXEAV5M.js → BaseBadge.vue_vue_type_style_index_0_lang-C_f3-aVP.js} +1 -1
  20. package/dist/{BaseBadge.vue_vue_type_style_index_0_lang-C0Ymaz3p.js → BaseBadge.vue_vue_type_style_index_0_lang-DG6AxxJf.js} +2 -2
  21. package/dist/BaseButton.vue_vue_type_style_index_0_lang-CnEOAkBC.js +216 -0
  22. package/dist/BaseButton.vue_vue_type_style_index_0_lang-DgsyiDzE.js +1 -0
  23. package/dist/{BaseInput.vue_vue_type_style_index_0_lang-BARSLUqT.js → BaseInput.vue_vue_type_style_index_0_lang-B-uL43gK.js} +11 -11
  24. package/dist/{BaseInput.vue_vue_type_style_index_0_lang-Do5ePmU5.js → BaseInput.vue_vue_type_style_index_0_lang-DTsfexlV.js} +1 -1
  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-XnGC65Ul.js → Button.vue_vue_type_script_setup_true_lang-C6-IQycz.js} +1 -1
  28. package/dist/{Button.vue_vue_type_script_setup_true_lang-D6GZ2ppj.js → Button.vue_vue_type_script_setup_true_lang-DMz26ym_.js} +1 -1
  29. package/dist/Checkbox/index.js +1 -1
  30. package/dist/Checkbox/index.umd.cjs +1 -1
  31. package/dist/{Checkbox.vue_vue_type_style_index_0_lang-Ba_orjJG.js → Checkbox.vue_vue_type_style_index_0_lang-BEA8tGnv.js} +2 -2
  32. package/dist/{Checkbox.vue_vue_type_style_index_0_lang-CRvmGGHu.js → Checkbox.vue_vue_type_style_index_0_lang-BrNExnEV.js} +1 -1
  33. package/dist/CheckboxGroup/index.js +1 -1
  34. package/dist/CheckboxGroup/index.umd.cjs +1 -1
  35. package/dist/Chip/index.js +1 -1
  36. package/dist/Chip/index.umd.cjs +1 -1
  37. package/dist/{Chip.vue_vue_type_style_index_0_lang-HEvwJz03.js → Chip.vue_vue_type_style_index_0_lang-1reMgqb4.js} +3 -3
  38. package/dist/{Chip.vue_vue_type_style_index_0_lang-Dnad22-G.js → Chip.vue_vue_type_style_index_0_lang-BatkTr0I.js} +1 -1
  39. package/dist/ChipGroup/index.js +1 -1
  40. package/dist/ChipGroup/index.umd.cjs +1 -1
  41. package/dist/ColorPicker/index.js +1 -1
  42. package/dist/ColorPicker/index.umd.cjs +1 -1
  43. package/dist/{ColorPicker.vue_vue_type_style_index_0_lang-D6jfpGrA.js → ColorPicker.vue_vue_type_style_index_0_lang-BQwBgt70.js} +7 -7
  44. package/dist/{ColorPicker.vue_vue_type_style_index_0_lang-Cjagmpcv.js → ColorPicker.vue_vue_type_style_index_0_lang-D2D_-F5H.js} +2 -2
  45. package/dist/ColorSwatch/index.js +1 -1
  46. package/dist/ColorSwatch/index.umd.cjs +1 -1
  47. package/dist/{ColorSwatch-ByCjKX18.js → ColorSwatch-DZ4tycqJ.js} +1 -1
  48. package/dist/{ColorSwatch-DcZ48ZkW.js → ColorSwatch-DefkU19x.js} +1 -1
  49. package/dist/{ColorSwatch.vue_vue_type_style_index_0_lang-CuUJnG_k.js → ColorSwatch.vue_vue_type_style_index_0_lang-BW8HmaCi.js} +2 -2
  50. package/dist/{ColorSwatch.vue_vue_type_style_index_0_lang-BLPH8XpS.js → ColorSwatch.vue_vue_type_style_index_0_lang-NuLHUep1.js} +1 -1
  51. package/dist/ColorSwatchGroup/index.js +1 -1
  52. package/dist/ColorSwatchGroup/index.umd.cjs +1 -1
  53. package/dist/{ColorSwatchGroup.vue_vue_type_style_index_0_lang-CZ22gcRB.js → ColorSwatchGroup.vue_vue_type_style_index_0_lang-DhheFVnX.js} +3 -3
  54. package/dist/{ColorSwatchGroup.vue_vue_type_style_index_0_lang-D5uGLo8k.js → ColorSwatchGroup.vue_vue_type_style_index_0_lang-ea9pQ33v.js} +1 -1
  55. package/dist/ColorTrigger/index.js +1 -1
  56. package/dist/ColorTrigger/index.umd.cjs +1 -1
  57. package/dist/{ColorTrigger.vue_vue_type_style_index_0_lang-vjtaawgb.js → ColorTrigger.vue_vue_type_style_index_0_lang-BNEun5Nl.js} +2 -2
  58. package/dist/{ColorTrigger.vue_vue_type_style_index_0_lang-DdDpmPsn.js → ColorTrigger.vue_vue_type_style_index_0_lang-CTIWEszt.js} +1 -1
  59. package/dist/Combobox/context.d.ts +1 -2
  60. package/dist/Combobox/index.js +1 -1
  61. package/dist/Combobox/index.umd.cjs +1 -1
  62. package/dist/{Combobox.vue_vue_type_style_index_0_lang-Cnk_tLfA.js → Combobox.vue_vue_type_style_index_0_lang-BnSmhj-M.js} +73 -74
  63. package/dist/Combobox.vue_vue_type_style_index_0_lang-QCYYr4KS.js +1 -0
  64. package/dist/Comment/index.js +48 -48
  65. package/dist/Comment/index.umd.cjs +1 -1
  66. package/dist/ConfigProvider/index.js +1 -1
  67. package/dist/ConfigProvider/index.umd.cjs +1 -1
  68. package/dist/{ConfigProvider.vue_vue_type_script_setup_true_lang-BBkfl1kJ.js → ConfigProvider.vue_vue_type_script_setup_true_lang-CyGHtFPF.js} +1 -1
  69. package/dist/{ConfigProvider.vue_vue_type_script_setup_true_lang-xlsy0YwQ.js → ConfigProvider.vue_vue_type_script_setup_true_lang-IVHvl51_.js} +38 -40
  70. package/dist/DataTable/DataTable.d.ts +1 -1
  71. package/dist/DataTable/index.js +3 -3
  72. package/dist/DataTable/index.umd.cjs +1 -1
  73. package/dist/DataTable/types/index.d.ts +13 -13
  74. package/dist/DataTable/utils/useColumnFixed.d.ts +1 -1
  75. package/dist/DataTable.vue_vue_type_style_index_0_lang-CYyWE0VL.js +1 -0
  76. package/dist/DataTable.vue_vue_type_style_index_0_lang-DiDp1EaI.js +1936 -0
  77. package/dist/DropZone/index.js +1 -1
  78. package/dist/DropZone/index.umd.cjs +1 -1
  79. package/dist/{DropZone.vue_vue_type_style_index_0_lang-CLyhAPqI.js → DropZone.vue_vue_type_style_index_0_lang-CFW_9TI-.js} +2 -2
  80. package/dist/{DropZone.vue_vue_type_style_index_0_lang-XNN7R49R.js → DropZone.vue_vue_type_style_index_0_lang-CJ5eUOVh.js} +1 -1
  81. package/dist/Empty/index.js +1 -1
  82. package/dist/Empty/index.umd.cjs +1 -1
  83. package/dist/{Empty.vue_vue_type_style_index_0_lang-CoVbGa7g.js → Empty.vue_vue_type_style_index_0_lang-CdQHeBeZ.js} +1 -1
  84. package/dist/{Empty.vue_vue_type_style_index_0_lang-DOQMrgso.js → Empty.vue_vue_type_style_index_0_lang-DweNvcXn.js} +1 -1
  85. package/dist/FloatButton/index.js +1 -1
  86. package/dist/FloatButton/index.umd.cjs +1 -1
  87. package/dist/{FloatButton.vue_vue_type_script_setup_true_lang-DoMwXh6D.js → FloatButton.vue_vue_type_script_setup_true_lang-B6FYZN67.js} +1 -1
  88. package/dist/{FloatButton.vue_vue_type_script_setup_true_lang-C_5blJpy.js → FloatButton.vue_vue_type_script_setup_true_lang-Q0YlpizG.js} +1 -1
  89. package/dist/Form/index.js +1 -1
  90. package/dist/Form/index.umd.cjs +1 -1
  91. package/dist/{FormValidation.vue_vue_type_style_index_0_lang-CGTjHrNh.js → FormValidation.vue_vue_type_style_index_0_lang-C5jDMAlq.js} +3 -3
  92. package/dist/{FormValidation.vue_vue_type_style_index_0_lang-BvCnMIoT.js → FormValidation.vue_vue_type_style_index_0_lang-C_zrxekC.js} +116 -116
  93. package/dist/GOPicker/index.js +1 -1
  94. package/dist/GOPicker/index.umd.cjs +1 -1
  95. package/dist/{GOPicker.vue_vue_type_style_index_0_lang-CziU2UOU.js → GOPicker.vue_vue_type_style_index_0_lang-B2bHfUMU.js} +9 -9
  96. package/dist/{GOPicker.vue_vue_type_style_index_0_lang-DrM-aXgR.js → GOPicker.vue_vue_type_style_index_0_lang-C78y_rPT.js} +1 -1
  97. package/dist/GraphicalObject/index.js +1 -1
  98. package/dist/GraphicalObject/index.umd.cjs +1 -1
  99. package/dist/{GraphicalObject.vue_vue_type_script_setup_true_lang-BSApQaoC.js → GraphicalObject.vue_vue_type_script_setup_true_lang-8uMyWodQ.js} +1 -1
  100. package/dist/{GraphicalObject.vue_vue_type_script_setup_true_lang-CE3HVE6B.js → GraphicalObject.vue_vue_type_script_setup_true_lang-BMxDhvcP.js} +2 -2
  101. package/dist/GraphicalObjectGroup/index.js +1 -1
  102. package/dist/GraphicalObjectGroup/index.umd.cjs +1 -1
  103. package/dist/{GraphicalObjectGroup.vue_vue_type_style_index_0_lang-BYmoDCLj.js → GraphicalObjectGroup.vue_vue_type_style_index_0_lang-C6J4QDpO.js} +2 -2
  104. package/dist/{GraphicalObjectGroup.vue_vue_type_style_index_0_lang-BNR_hLd6.js → GraphicalObjectGroup.vue_vue_type_style_index_0_lang-CjToO9ic.js} +1 -1
  105. package/dist/HoverCard/index.js +2 -2
  106. package/dist/HoverCard/index.umd.cjs +1 -1
  107. package/dist/{HoverCard.vue_vue_type_style_index_0_lang-CrjsulIw.js → HoverCard.vue_vue_type_style_index_0_lang-B1Et8g3D.js} +1 -1
  108. package/dist/{HoverCard.vue_vue_type_style_index_0_lang-EKBHyAhZ.js → HoverCard.vue_vue_type_style_index_0_lang-DClce_lb.js} +1 -1
  109. package/dist/Icon/index.js +1 -1
  110. package/dist/Icon/index.umd.cjs +1 -1
  111. package/dist/{Icon.vue_vue_type_style_index_0_lang-BYKu480i.js → Icon.vue_vue_type_style_index_0_lang-BUxhmWxU.js} +1 -1
  112. package/dist/{Icon.vue_vue_type_style_index_0_lang-BgU_brEP.js → Icon.vue_vue_type_style_index_0_lang-DQNF7GAr.js} +1 -1
  113. package/dist/IconButton/index.js +1 -1
  114. package/dist/IconButton/index.umd.cjs +1 -1
  115. package/dist/{IconButton.vue_vue_type_script_setup_true_lang-K24QI4ru.js → IconButton.vue_vue_type_script_setup_true_lang-BjRYx43p.js} +1 -1
  116. package/dist/{IconButton.vue_vue_type_script_setup_true_lang-HGiyhcpe.js → IconButton.vue_vue_type_script_setup_true_lang-CPe1EEDZ.js} +1 -1
  117. package/dist/Image/index.js +1 -1
  118. package/dist/Image/index.umd.cjs +1 -1
  119. package/dist/{Image.vue_vue_type_style_index_0_lang-V3nbV_RE.js → Image.vue_vue_type_style_index_0_lang-DHUqbvxK.js} +1 -1
  120. package/dist/{Image.vue_vue_type_style_index_0_lang-B4I1-eCi.js → Image.vue_vue_type_style_index_0_lang-rAqsQZX2.js} +2 -2
  121. package/dist/IndentLevel/index.js +1 -1
  122. package/dist/IndentLevel/index.umd.cjs +1 -1
  123. package/dist/{IndentLevel.vue_vue_type_style_index_0_lang-B7Y-BTFK.js → IndentLevel.vue_vue_type_style_index_0_lang-BiTIQXTR.js} +1 -1
  124. package/dist/{IndentLevel.vue_vue_type_style_index_0_lang-_23e7RtC.js → IndentLevel.vue_vue_type_style_index_0_lang-OdwSyisB.js} +2 -2
  125. package/dist/Indicator/index.js +1 -1
  126. package/dist/Indicator/index.umd.cjs +1 -1
  127. package/dist/{Indicator.vue_vue_type_script_setup_true_lang-5Dm9hyxE.js → Indicator.vue_vue_type_script_setup_true_lang-g2dBu5LK.js} +1 -1
  128. package/dist/{Indicator.vue_vue_type_script_setup_true_lang-BwC3BiWS.js → Indicator.vue_vue_type_script_setup_true_lang-qbXRbfSe.js} +1 -1
  129. package/dist/Input/index.js +1 -1
  130. package/dist/Input/index.umd.cjs +1 -1
  131. package/dist/{Input.vue_vue_type_script_setup_true_lang-Bu-gwo6h.js → Input.vue_vue_type_script_setup_true_lang-CJ-mNejn.js} +1 -1
  132. package/dist/{Input.vue_vue_type_script_setup_true_lang-Bxt2FpJv.js → Input.vue_vue_type_script_setup_true_lang-DrNJ4wW-.js} +1 -1
  133. package/dist/InputNumber/InputNumber.d.ts +3 -3
  134. package/dist/InputNumber/index.js +1 -1
  135. package/dist/InputNumber/index.umd.cjs +1 -1
  136. package/dist/{InputNumber.vue_vue_type_script_setup_true_lang-Du6cRtHn.js → InputNumber.vue_vue_type_script_setup_true_lang-DDBSoDn-.js} +117 -112
  137. package/dist/InputNumber.vue_vue_type_script_setup_true_lang-DkEkef8C.js +1 -0
  138. package/dist/Kbd/index.js +1 -1
  139. package/dist/Kbd/index.umd.cjs +1 -1
  140. package/dist/{Kbd.vue_vue_type_style_index_0_lang-w1j0mgiN.js → Kbd.vue_vue_type_style_index_0_lang--BbFRXDn.js} +1 -1
  141. package/dist/{Kbd.vue_vue_type_style_index_0_lang-CufcqIeE.js → Kbd.vue_vue_type_style_index_0_lang-s-4_L5Wz.js} +1 -1
  142. package/dist/Label/index.js +1 -1
  143. package/dist/Label/index.umd.cjs +1 -1
  144. package/dist/{Label.vue_vue_type_style_index_0_lang-CzsLOKav.js → Label.vue_vue_type_style_index_0_lang-BFm3rwJK.js} +1 -1
  145. package/dist/{Label.vue_vue_type_style_index_0_lang-zZH4ROEY.js → Label.vue_vue_type_style_index_0_lang-CXZtFMJt.js} +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-B7Q99ob8.js → Link.vue_vue_type_style_index_0_lang-Cm0Wcj-k.js} +1 -1
  149. package/dist/{Link.vue_vue_type_style_index_0_lang-DwLpP6IO.js → Link.vue_vue_type_style_index_0_lang-mE8WUPbK.js} +1 -1
  150. package/dist/Menu/index.js +1 -1
  151. package/dist/Menu/index.umd.cjs +1 -1
  152. package/dist/MenuItem/index.js +1 -1
  153. package/dist/MenuItem/index.umd.cjs +1 -1
  154. package/dist/{MenuItem.vue_vue_type_style_index_0_lang-D5lzkDFZ.js → MenuItem.vue_vue_type_style_index_0_lang-CDC9TAPs.js} +1 -1
  155. package/dist/{MenuItem.vue_vue_type_style_index_0_lang-BDy1PZV8.js → MenuItem.vue_vue_type_style_index_0_lang-Itm6g3rH.js} +3 -3
  156. package/dist/Pagination/index.js +1 -1
  157. package/dist/Pagination/index.umd.cjs +1 -1
  158. package/dist/{Pagination.vue_vue_type_style_index_0_lang-BZWxOOMK.js → Pagination.vue_vue_type_style_index_0_lang-BsYyHOO8.js} +4 -4
  159. package/dist/{Pagination.vue_vue_type_style_index_0_lang-CyfVV10H.js → Pagination.vue_vue_type_style_index_0_lang-DHvWS0QA.js} +1 -1
  160. package/dist/Popover/index.js +1 -1
  161. package/dist/Popover/index.umd.cjs +1 -1
  162. package/dist/{Popover.vue_vue_type_style_index_0_lang-COQGZ_I2.js → Popover.vue_vue_type_style_index_0_lang-BZrEBBI1.js} +65 -64
  163. package/dist/Popover.vue_vue_type_style_index_0_lang-V6Aj9-qY.js +1 -0
  164. package/dist/Progress/index.js +1 -1
  165. package/dist/Progress/index.umd.cjs +1 -1
  166. package/dist/Progress/types.d.ts +1 -1
  167. package/dist/{Progress.vue_vue_type_style_index_0_lang-B74gmaG2.js → Progress.vue_vue_type_style_index_0_lang-9eAYLmtJ.js} +24 -24
  168. package/dist/Progress.vue_vue_type_style_index_0_lang-DHysdRIJ.js +1 -0
  169. package/dist/ScrollContainer/index.js +1 -1
  170. package/dist/ScrollContainer/index.umd.cjs +1 -1
  171. package/dist/{ScrollContainer.vue_vue_type_style_index_0_lang-DJCCcXMQ.js → ScrollContainer.vue_vue_type_style_index_0_lang-CHAf6ZD-.js} +1 -1
  172. package/dist/{ScrollContainer.vue_vue_type_style_index_0_lang-DK9i4wI0.js → ScrollContainer.vue_vue_type_style_index_0_lang-DDjSsSEk.js} +1 -1
  173. package/dist/Segmented/index.js +1 -1
  174. package/dist/Segmented/index.umd.cjs +1 -1
  175. package/dist/{Segmented.vue_vue_type_style_index_0_lang-Cg6Sjd9l.js → Segmented.vue_vue_type_style_index_0_lang-BHrbYl3U.js} +1 -1
  176. package/dist/{Segmented.vue_vue_type_style_index_0_lang-BJ3rxN-C.js → Segmented.vue_vue_type_style_index_0_lang-DMAM-GcW.js} +2 -2
  177. package/dist/Select/index.js +1 -1
  178. package/dist/Select/index.umd.cjs +1 -1
  179. package/dist/{Select.vue_vue_type_style_index_0_lang-DQtsJWOe.js → Select.vue_vue_type_style_index_0_lang-CC6udKo8.js} +6 -6
  180. package/dist/{Select.vue_vue_type_style_index_0_lang-BSaTfrHC.js → Select.vue_vue_type_style_index_0_lang-CToKzDBO.js} +1 -1
  181. package/dist/Shortcut/index.js +1 -1
  182. package/dist/Shortcut/index.umd.cjs +1 -1
  183. package/dist/{Shortcut.vue_vue_type_style_index_0_lang-C42luUPb.js → Shortcut.vue_vue_type_style_index_0_lang-BCI1fBC1.js} +2 -2
  184. package/dist/{Shortcut.vue_vue_type_style_index_0_lang-DN8kVYyH.js → Shortcut.vue_vue_type_style_index_0_lang-G0VfMmkm.js} +1 -1
  185. package/dist/Spinner/index.js +1 -1
  186. package/dist/Spinner/index.umd.cjs +1 -1
  187. package/dist/{Spinner.vue_vue_type_style_index_0_lang-Be-LHJoF.js → Spinner.vue_vue_type_style_index_0_lang-DGAHQKaT.js} +1 -1
  188. package/dist/{Spinner.vue_vue_type_style_index_0_lang-B8uu4gTm.js → Spinner.vue_vue_type_style_index_0_lang-DcW2bYrT.js} +1 -1
  189. package/dist/SubMenu/index.js +1 -1
  190. package/dist/SubMenu/index.umd.cjs +1 -1
  191. package/dist/Switch/index.js +1 -1
  192. package/dist/Switch/index.umd.cjs +1 -1
  193. package/dist/{Switch.vue_vue_type_style_index_0_lang-D7kHQZOy.js → Switch.vue_vue_type_style_index_0_lang-6KGCYh5x.js} +1 -1
  194. package/dist/{Switch.vue_vue_type_style_index_0_lang-DeG1ISRv.js → Switch.vue_vue_type_style_index_0_lang-CaqBM1l0.js} +1 -1
  195. package/dist/{TabContent.vue_vue_type_script_setup_true_lang-d9hzQSXN.js → TabContent.vue_vue_type_script_setup_true_lang-3CbQL3-9.js} +4 -4
  196. package/dist/{TabContent.vue_vue_type_script_setup_true_lang-D7z-sJ-k.js → TabContent.vue_vue_type_script_setup_true_lang-C9wb6DWc.js} +1 -1
  197. package/dist/Tabs/Tabs.d.ts +1 -2
  198. package/dist/Tabs/index.js +1 -1
  199. package/dist/Tabs/index.umd.cjs +1 -1
  200. package/dist/Tree/index.js +1 -1
  201. package/dist/Tree/index.umd.cjs +1 -1
  202. package/dist/Tree/utils.d.ts +1 -1
  203. package/dist/{Tree.vue_vue_type_style_index_0_lang-BOIRZNY8.js → Tree.vue_vue_type_style_index_0_lang-BCtOKxhe.js} +1 -1
  204. package/dist/{Tree.vue_vue_type_style_index_0_lang-ggX1GLbZ.js → Tree.vue_vue_type_style_index_0_lang-ps4oD1td.js} +82 -83
  205. package/dist/Upload/index.js +1 -1
  206. package/dist/Upload/index.umd.cjs +1 -1
  207. package/dist/Upload/types.d.ts +1 -1
  208. package/dist/{Upload.vue_vue_type_style_index_0_lang-CUog0DmH.js → Upload.vue_vue_type_style_index_0_lang-Bw0-FFBA.js} +188 -188
  209. package/dist/{Upload.vue_vue_type_style_index_0_lang-q8H1enTN.js → Upload.vue_vue_type_style_index_0_lang-DrNvInJq.js} +1 -1
  210. package/dist/index.js +48 -48
  211. package/dist/index.umd.cjs +1 -1
  212. package/dist/style/index.css +1 -1
  213. package/dist/types/index.d.ts +1 -1
  214. package/package.json +3 -4
  215. package/dist/BaseButton.vue_vue_type_style_index_0_lang-CODRtwkb.js +0 -218
  216. package/dist/BaseButton.vue_vue_type_style_index_0_lang-Yca930Wn.js +0 -1
  217. package/dist/Combobox.vue_vue_type_style_index_0_lang-DqMEr0Ff.js +0 -1
  218. package/dist/DataTable.vue_vue_type_style_index_0_lang-D2Od_tQc.js +0 -1937
  219. package/dist/DataTable.vue_vue_type_style_index_0_lang-Mog2MOx3.js +0 -1
  220. package/dist/InputNumber.vue_vue_type_script_setup_true_lang-DZhvH_Wt.js +0 -1
  221. package/dist/Popover.vue_vue_type_style_index_0_lang-CoA94Pnz.js +0 -1
  222. package/dist/Progress.vue_vue_type_style_index_0_lang-CgphLSaf.js +0 -1
@@ -1,20 +1,20 @@
1
- import { defineComponent as G, createElementBlock as N, openBlock as C, Fragment as fe, createBlock as B, createCommentVNode as E, createVNode as D, unref as a, normalizeClass as q, createSlots as We, withCtx as ae, computed as F, h as X, createElementVNode as xe, mergeProps as _e, useSlots as Ue, useAttrs as Ce, ref as se, watch as te, nextTick as ze, readonly as He, renderSlot as Ie, normalizeProps as Le, guardReactiveProps as Fe } from "vue";
1
+ import { defineComponent as G, createElementBlock as N, openBlock as C, Fragment as fe, createBlock as S, createCommentVNode as E, createVNode as D, unref as a, normalizeClass as q, createSlots as We, withCtx as ae, computed as F, h as X, createElementVNode as xe, mergeProps as Ue, useSlots as _e, useAttrs as Ce, ref as se, watch as te, nextTick as ze, readonly as He, renderSlot as Ie, normalizeProps as Le, guardReactiveProps as Fe } from "vue";
2
2
  import { createContext as me } from "reka-ui";
3
3
  import { getBemBlock as Je, getBemElement as R, usePCId as pe, getComponentOptions as V, normCls as ge, generateVariantClassList as J } from "@pantograph/utils";
4
4
  import { i as ne } from "./isObject-vmP43YLW.js";
5
5
  import { cva as Te } from "class-variance-authority";
6
- import { _ as Se } from "./Progress.vue_vue_type_style_index_0_lang-B74gmaG2.js";
7
- import { _ as Ke } from "./FloatButton.vue_vue_type_script_setup_true_lang-C_5blJpy.js";
8
- import { _ as K } from "./IconButton.vue_vue_type_script_setup_true_lang-K24QI4ru.js";
9
- import { _ as Xe } from "./Image.vue_vue_type_style_index_0_lang-B4I1-eCi.js";
10
- import { isFunction as oe, throttle as Ye, pick as Ze, cloneDeep as U } from "es-toolkit";
11
- import { _ as Qe } from "./GraphicalObject.vue_vue_type_script_setup_true_lang-CE3HVE6B.js";
6
+ import { _ as Be } from "./Progress.vue_vue_type_style_index_0_lang-9eAYLmtJ.js";
7
+ import { _ as Ke } from "./FloatButton.vue_vue_type_script_setup_true_lang-Q0YlpizG.js";
8
+ import { _ as K } from "./IconButton.vue_vue_type_script_setup_true_lang-BjRYx43p.js";
9
+ import { _ as Xe } from "./Image.vue_vue_type_style_index_0_lang-rAqsQZX2.js";
10
+ import { isFunction as oe, throttle as Ye, pick as Ze, cloneDeep as _ } from "es-toolkit";
11
+ import { _ as Qe } from "./GraphicalObject.vue_vue_type_script_setup_true_lang-BMxDhvcP.js";
12
12
  import { isEmptyElement as M, useFormInput as et } from "@pantograph/utils-vue";
13
- import { b as tt } from "./FormValidation.vue_vue_type_style_index_0_lang-BvCnMIoT.js";
14
- import { i as Be } from "./isArray-QlWcxgml.js";
15
- const Re = Je("upload"), ie = R(Re, "list"), S = R(ie, "item"), [st, nt] = me("BaseUpload"), ot = () => st(null), [le, it] = me("Upload"), he = (t, n) => {
13
+ import { b as tt } from "./FormValidation.vue_vue_type_style_index_0_lang-C_zrxekC.js";
14
+ import { i as Se } from "./isArray-QlWcxgml.js";
15
+ const Re = Je("upload"), ie = R(Re, "list"), B = R(ie, "item"), [st, nt] = me("BaseUpload"), ot = () => st(null), [le, it] = me("Upload"), he = (t, n) => {
16
16
  if (t && n) {
17
- const e = Array.isArray(n) ? n : n.split(","), o = (t == null ? void 0 : t.name) || "", s = (t == null ? void 0 : t.type) || "", u = s.replace(/\/.*$/, "");
17
+ const e = Array.isArray(n) ? n : n.split(","), o = (t == null ? void 0 : t.name) || "", s = (t == null ? void 0 : t.type) || "", c = s.replace(/\/.*$/, "");
18
18
  return e.some((m) => {
19
19
  const r = m.trim();
20
20
  if (/^\*(?<temp1>\/\*)?$/.test(m))
@@ -24,22 +24,22 @@ const Re = Je("upload"), ie = R(Re, "list"), S = R(ie, "item"), [st, nt] = me("B
24
24
  let p = [d];
25
25
  return (d === ".jpg" || d === ".jpeg") && (p = [".jpg", ".jpeg"]), p.some((h) => i.endsWith(h));
26
26
  }
27
- return /\/\*$/.test(r) ? u === r.replace(/\/.*$/, "") : !!(s === r || /^\w+$/.test(r));
27
+ return /\/\*$/.test(r) ? c === r.replace(/\/.*$/, "") : !!(s === r || /^\w+$/.test(r));
28
28
  });
29
29
  }
30
30
  return !0;
31
31
  }, at = (t, n, e = 1024 * 1024) => {
32
32
  const o = [];
33
- let s = 0, u = 0;
33
+ let s = 0, c = 0;
34
34
  for (; s < t.size; ) {
35
35
  const m = Math.min(s + e, t.size), r = t.slice(s, m);
36
36
  o.push({
37
37
  chunk: r,
38
38
  chunkSize: m - s,
39
- index: u,
39
+ index: c,
40
40
  uid: n(),
41
41
  status: "waiting"
42
- }), s = m, u++;
42
+ }), s = m, c++;
43
43
  }
44
44
  return o;
45
45
  }, ve = (t, { getUid: n, chunkFile: e, chunkSize: o }) => {
@@ -62,8 +62,8 @@ const Re = Je("upload"), ie = R(Re, "list"), S = R(ie, "item"), [st, nt] = me("B
62
62
  }), s.lastModified = (/* @__PURE__ */ new Date()).getTime(), s.name = t.name ?? "", s.webkitRelativePath = "";
63
63
  }
64
64
  if (ne(s) && s instanceof Blob) {
65
- let u = [];
66
- return e && (u = at(
65
+ let c = [];
66
+ return e && (c = at(
67
67
  s,
68
68
  () => (n == null ? void 0 : n(!0)) ?? pe(void 0, !0),
69
69
  o
@@ -71,8 +71,8 @@ const Re = Je("upload"), ie = R(Re, "list"), S = R(ie, "item"), [st, nt] = me("B
71
71
  uid: t.uid ?? (n == null ? void 0 : n()) ?? pe(void 0, !0),
72
72
  originFileObj: s,
73
73
  status: "waiting",
74
- chunks: u != null && u.length && (u == null ? void 0 : u.length) > 1 ? u : void 0,
75
- chunksCount: u != null && u.length && (u == null ? void 0 : u.length) > 1 ? u.length : void 0,
74
+ chunks: c != null && c.length && (c == null ? void 0 : c.length) > 1 ? c : void 0,
75
+ chunksCount: c != null && c.length && (c == null ? void 0 : c.length) > 1 ? c.length : void 0,
76
76
  name: s == null ? void 0 : s.name,
77
77
  type: s == null ? void 0 : s.type,
78
78
  size: s == null ? void 0 : s.size,
@@ -84,7 +84,7 @@ const Re = Je("upload"), ie = R(Re, "list"), S = R(ie, "item"), [st, nt] = me("B
84
84
  }, $e = (t, n) => {
85
85
  if (ne(t))
86
86
  return t instanceof Blob || t instanceof File ? ve(t, n) : (!t.uid && !Object.isFrozen(t) && (t.uid = n.getUid()), t);
87
- }, rt = ["error", "paused", "done", "uploading", "waiting"], Pe = ["md", "lg", "xlg"], je = ["image", "card"], lt = ["outline", "transparent"], ce = {
87
+ }, rt = ["error", "paused", "done", "uploading", "waiting"], Pe = ["md", "lg", "xlg"], je = ["image", "card"], lt = ["outline", "transparent"], ue = {
88
88
  other: {
89
89
  icon: "tabler:file-text",
90
90
  fg: "primary",
@@ -125,7 +125,7 @@ const Re = Je("upload"), ie = R(Re, "list"), S = R(ie, "item"), [st, nt] = me("B
125
125
  fg: "green",
126
126
  bg: "green-subtle"
127
127
  }
128
- }, ut = {
128
+ }, ct = {
129
129
  image: [
130
130
  "3fr",
131
131
  "arw",
@@ -243,7 +243,7 @@ const Re = Je("upload"), ie = R(Re, "list"), S = R(ie, "item"), [st, nt] = me("B
243
243
  pdf: ["pdf"]
244
244
  }, Ee = (t) => {
245
245
  if (t) {
246
- for (const [n, e] of Object.entries(ut))
246
+ for (const [n, e] of Object.entries(ct))
247
247
  if (e.includes(t.toLowerCase()))
248
248
  return n;
249
249
  }
@@ -254,7 +254,7 @@ const Re = Je("upload"), ie = R(Re, "list"), S = R(ie, "item"), [st, nt] = me("B
254
254
  }, ye = (t) => {
255
255
  var n, e, o;
256
256
  return (o = (e = (n = t == null ? void 0 : t.split) == null ? void 0 : n.call(t, "/")) == null ? void 0 : e.pop) == null ? void 0 : o.call(e);
257
- }, ct = (t) => {
257
+ }, ut = (t) => {
258
258
  var e;
259
259
  let n = ye((t == null ? void 0 : t.type) || ((e = t == null ? void 0 : t.originFileObj) == null ? void 0 : e.type));
260
260
  if (t != null && t.url && !n)
@@ -273,17 +273,17 @@ const Re = Je("upload"), ie = R(Re, "list"), S = R(ie, "item"), [st, nt] = me("B
273
273
  __name: "UploadListItemImage",
274
274
  setup(t) {
275
275
  const n = le(), e = ke(), o = () => {
276
- var s, u, m;
277
- oe((s = e.props.uploadFile) == null ? void 0 : s.cancel) && ((m = (u = e.props.uploadFile).cancel) == null || m.call(u)), n.remove(e.props.uploadFile);
276
+ var s, c, m;
277
+ oe((s = e.props.uploadFile) == null ? void 0 : s.cancel) && ((m = (c = e.props.uploadFile).cancel) == null || m.call(c)), n.remove(e.props.uploadFile);
278
278
  };
279
- return (s, u) => {
279
+ return (s, c) => {
280
280
  var m;
281
281
  return C(), N(fe, null, [
282
- a(e).props.uploadFile.status !== "waiting" ? (C(), B(Xe, {
282
+ a(e).props.uploadFile.status !== "waiting" ? (C(), S(Xe, {
283
283
  key: 0,
284
284
  src: a(Oe)(a(e).props.uploadFile) ? a(e).props.uploadFile.thumbUrl ?? a(e).props.uploadFile.url : void 0,
285
285
  aspectRatio: "1:1",
286
- class: q(a(R)(a(S), "image")),
286
+ class: q(a(R)(a(B), "image")),
287
287
  sizeRange: "xsm",
288
288
  alt: a(e).label.value,
289
289
  hovered: a(e).props.uploadFile.status === "uploading",
@@ -292,36 +292,36 @@ const Re = Je("upload"), ie = R(Re, "list"), S = R(ie, "item"), [st, nt] = me("B
292
292
  ["error", "done"].includes(a(e).props.uploadFile.status) ? {
293
293
  name: "actions",
294
294
  fn: ae(() => [
295
- a(e).props.uploadFile.status === "done" ? (C(), B(K, {
295
+ a(e).props.uploadFile.status === "done" ? (C(), S(K, {
296
296
  key: 0,
297
297
  color: "neutral",
298
298
  type: "ghost",
299
299
  icon: "tabler:eye",
300
300
  size: "sm",
301
- onClick: u[0] || (u[0] = (r) => a(n).emit("preview", a(e).props.uploadFile))
302
- })) : a(e).props.uploadFile.status === "error" ? (C(), B(K, {
301
+ onClick: c[0] || (c[0] = (r) => a(n).emit("preview", a(e).props.uploadFile))
302
+ })) : a(e).props.uploadFile.status === "error" ? (C(), S(K, {
303
303
  key: 1,
304
304
  color: "neutral",
305
305
  type: "ghost",
306
306
  icon: "tabler:reload",
307
307
  size: "sm",
308
- onClick: u[1] || (u[1] = (r) => a(n).resetRequest(a(e).props.uploadFile))
308
+ onClick: c[1] || (c[1] = (r) => a(n).resetRequest(a(e).props.uploadFile))
309
309
  })) : E("", !0)
310
310
  ]),
311
311
  key: "0"
312
312
  } : void 0
313
313
  ]), 1032, ["src", "class", "alt", "hovered"])) : E("", !0),
314
- ["uploading", "waiting"].includes(a(e).props.uploadFile.status) ? (C(), B(Se, {
314
+ ["uploading", "waiting"].includes(a(e).props.uploadFile.status) ? (C(), S(Be, {
315
315
  key: 1,
316
316
  type: "circle",
317
317
  size: a(n).progressSize.value,
318
- class: q(a(R)(a(S), "progress")),
318
+ class: q(a(R)(a(B), "progress")),
319
319
  indeterminate: a(e).props.uploadFile.status === "waiting",
320
320
  percent: ((m = a(e).props.uploadFile) == null ? void 0 : m.percent) ?? 0
321
321
  }, null, 8, ["size", "class", "indeterminate", "percent"])) : E("", !0),
322
322
  D(Ke, {
323
323
  class: q(
324
- a(ge)(a(R)(a(S), "cancel"), "pantograph-tokens pantograph-dark")
324
+ a(ge)(a(R)(a(B), "cancel"), "pantograph-tokens pantograph-dark")
325
325
  ),
326
326
  color: "neutral",
327
327
  icon: "tabler:x",
@@ -335,11 +335,11 @@ const Re = Je("upload"), ie = R(Re, "list"), S = R(ie, "item"), [st, nt] = me("B
335
335
  ...V("UploadFileGO"),
336
336
  __name: "UploadFileGO",
337
337
  setup(t) {
338
- const n = ke(), e = le(), o = F(() => Ee(ct(n.props.uploadFile))), s = F(() => oe(e.props.getFileIcon) ? e.props.getFileIcon(n.props.uploadFile) : ce[o.value].icon), u = F(() => ce[o.value].fg), m = F(() => ce[o.value].bg), r = () => {
338
+ const n = ke(), e = le(), o = F(() => Ee(ut(n.props.uploadFile))), s = F(() => oe(e.props.getFileIcon) ? e.props.getFileIcon(n.props.uploadFile) : ue[o.value].icon), c = F(() => ue[o.value].fg), m = F(() => ue[o.value].bg), r = () => {
339
339
  var h, g, v, z;
340
340
  const p = (g = (h = e.slots).go) == null ? void 0 : g.call(h, { uploadFile: n.props.uploadFile });
341
341
  return M(p) ? Oe(n.props.uploadFile) ? X("img", {
342
- class: R(S, "thumb"),
342
+ class: R(B, "thumb"),
343
343
  alt: n.props.uploadFile.name ?? "",
344
344
  src: ((v = n.props.uploadFile) == null ? void 0 : v.thumbUrl) ?? ((z = n.props.uploadFile) == null ? void 0 : z.url)
345
345
  }) : null : p;
@@ -352,7 +352,7 @@ const Re = Je("upload"), ie = R(Re, "list"), S = R(ie, "item"), [st, nt] = me("B
352
352
  {
353
353
  size: e.goSize.value,
354
354
  icon: s.value,
355
- fg: u.value,
355
+ fg: c.value,
356
356
  bg: m.value
357
357
  },
358
358
  {
@@ -360,7 +360,7 @@ const Re = Je("upload"), ie = R(Re, "list"), S = R(ie, "item"), [st, nt] = me("B
360
360
  icon: i
361
361
  }
362
362
  );
363
- return (p, h) => (C(), B(d));
363
+ return (p, h) => (C(), S(d));
364
364
  }
365
365
  }), ft = /* @__PURE__ */ G({
366
366
  ...V("UploadListItemCard"),
@@ -371,12 +371,12 @@ const Re = Je("upload"), ie = R(Re, "list"), S = R(ie, "item"), [st, nt] = me("B
371
371
  const i = (h = (p = n.slots).description) == null ? void 0 : h.call(p, { uploadFile: e.props.uploadFile });
372
372
  let d;
373
373
  if (M(i) || (d = i), e.props.uploadFile.description && (d = e.props.uploadFile.description), d)
374
- return X("div", { class: R(S, "description") }, d);
374
+ return X("div", { class: R(B, "description") }, d);
375
375
  }, s = () => {
376
376
  var d, p;
377
377
  const i = (p = (d = n.slots).title) == null ? void 0 : p.call(d, { uploadFile: e.props.uploadFile });
378
378
  return M(i) ? e.label.value : i;
379
- }, u = () => {
379
+ }, c = () => {
380
380
  var i;
381
381
  if (oe(n.props.onDownload))
382
382
  return n.props.onDownload(e.props.uploadFile);
@@ -390,35 +390,35 @@ const Re = Je("upload"), ie = R(Re, "list"), S = R(ie, "item"), [st, nt] = me("B
390
390
  const p = (g = (h = n.slots) == null ? void 0 : h.actions) == null ? void 0 : g.call(h, {
391
391
  ...n,
392
392
  uploadFile: e.props.uploadFile,
393
- downloadFile: u
393
+ downloadFile: c
394
394
  });
395
395
  return M(p) ? (z = (v = d.slots) == null ? void 0 : v.default) == null ? void 0 : z.call(v, {}) : p;
396
396
  };
397
397
  return (i, d) => {
398
398
  var p;
399
399
  return C(), N(fe, null, [
400
- a(n).props.go ? (C(), B(dt, { key: 0 })) : E("", !0),
400
+ a(n).props.go ? (C(), S(dt, { key: 0 })) : E("", !0),
401
401
  ["error", "done"].includes(a(e).props.uploadFile.status) ? (C(), N("div", {
402
402
  key: 2,
403
- class: q(a(R)(a(S), "content"))
403
+ class: q(a(R)(a(B), "content"))
404
404
  }, [
405
405
  xe("div", {
406
- class: q(a(R)(a(S), "title"))
406
+ class: q(a(R)(a(B), "title"))
407
407
  }, [
408
408
  D(s)
409
409
  ], 2),
410
- a(e).props.uploadFile.status === "error" ? (C(), B(tt, {
410
+ a(e).props.uploadFile.status === "error" ? (C(), S(tt, {
411
411
  key: 0,
412
412
  message: "Failed",
413
413
  status: "error"
414
- })) : a(n).props.size !== "md" ? (C(), B(o, { key: 1 })) : E("", !0)
415
- ], 2)) : (C(), B(Se, {
414
+ })) : a(n).props.size !== "md" ? (C(), S(o, { key: 1 })) : E("", !0)
415
+ ], 2)) : (C(), S(Be, {
416
416
  key: 1,
417
- class: q(a(R)(a(S), "progress")),
417
+ class: q(a(R)(a(B), "progress")),
418
418
  percent: ((p = a(e).props.uploadFile) == null ? void 0 : p.percent) ?? 0,
419
419
  label: a(e).label.value,
420
420
  helperText: m.value,
421
- helperTextCls: a(R)(a(S), "percent")
421
+ helperTextCls: a(R)(a(B), "percent")
422
422
  }, {
423
423
  label: ae(() => [
424
424
  D(s)
@@ -429,22 +429,22 @@ const Re = Je("upload"), ie = R(Re, "list"), S = R(ie, "item"), [st, nt] = me("B
429
429
  default: ae(() => {
430
430
  var h;
431
431
  return [
432
- a(e).props.uploadFile.status === "done" ? (C(), B(K, {
432
+ a(e).props.uploadFile.status === "done" ? (C(), S(K, {
433
433
  key: 0,
434
434
  icon: "tabler:download",
435
435
  size: "sm",
436
436
  type: "ghost",
437
437
  color: "neutral",
438
- onClick: u
438
+ onClick: c
439
439
  })) : E("", !0),
440
- a(n).props.pausableChunked && a(e).props.uploadFile.status === "uploading" && ((h = a(e).props.uploadFile.chunks) != null && h.length) && a(oe)(a(e).props.uploadFile.cancel) ? (C(), B(K, {
440
+ a(n).props.pausableChunked && a(e).props.uploadFile.status === "uploading" && ((h = a(e).props.uploadFile.chunks) != null && h.length) && a(oe)(a(e).props.uploadFile.cancel) ? (C(), S(K, {
441
441
  key: 1,
442
442
  icon: "tabler:pause",
443
443
  size: "sm",
444
444
  type: "ghost",
445
445
  color: "neutral",
446
446
  onClick: a(e).props.uploadFile.cancel
447
- }, null, 8, ["onClick"])) : a(n).canRunUpload(a(e).props.uploadFile) ? (C(), B(K, {
447
+ }, null, 8, ["onClick"])) : a(n).canRunUpload(a(e).props.uploadFile) ? (C(), S(K, {
448
448
  key: 2,
449
449
  icon: ["paused", "waiting"].includes(a(e).props.uploadFile.status) ? "tabler:player-play" : "tabler:reload",
450
450
  size: "sm",
@@ -473,15 +473,15 @@ const Re = Je("upload"), ie = R(Re, "list"), S = R(ie, "item"), [st, nt] = me("B
473
473
  uploadFile: {}
474
474
  },
475
475
  setup(t) {
476
- const n = t, e = Te(S, {
476
+ const n = t, e = Te(B, {
477
477
  variants: {
478
- size: J(Pe, S),
478
+ size: J(Pe, B),
479
479
  listType: J(
480
480
  je,
481
- S
481
+ B
482
482
  ),
483
- type: J(lt, S),
484
- status: J(rt, S)
483
+ type: J(lt, B),
484
+ status: J(rt, B)
485
485
  }
486
486
  }), o = F(() => {
487
487
  var m, r, i;
@@ -491,14 +491,14 @@ const Re = Je("upload"), ie = R(Re, "list"), S = R(ie, "item"), [st, nt] = me("B
491
491
  props: n,
492
492
  label: o
493
493
  });
494
- const u = () => {
494
+ const c = () => {
495
495
  var r, i;
496
496
  const m = (i = (r = s.slots).listItem) == null ? void 0 : i.call(r, { ...s, uploadFile: n.uploadFile });
497
497
  return M(m) ? s.props.listType === "card" ? X(ft) : X(pt) : m;
498
498
  };
499
499
  return (m, r) => {
500
500
  var i, d, p;
501
- return C(), N("div", _e({
501
+ return C(), N("div", Ue({
502
502
  class: a(e)({
503
503
  size: a(s).props.size,
504
504
  listType: a(s).props.listType,
@@ -506,7 +506,7 @@ const Re = Je("upload"), ie = R(Re, "list"), S = R(ie, "item"), [st, nt] = me("B
506
506
  status: (i = m.uploadFile) == null ? void 0 : i.status
507
507
  })
508
508
  }, { ...((p = (d = a(s).props).getUploadItemProps) == null ? void 0 : p.call(d, m.uploadFile)) ?? {} }), [
509
- D(u)
509
+ D(c)
510
510
  ], 16);
511
511
  };
512
512
  }
@@ -521,16 +521,16 @@ function ht(t) {
521
521
  e.width = O, e.height = O, e.style.cssText = `position: fixed; left: 0; top: 0; width: ${O}px; height: ${O}px; z-index: 9999; display: none;`, document.body.appendChild(e);
522
522
  const o = e.getContext("2d"), s = new Image();
523
523
  if (s.onload = () => {
524
- const { width: u, height: m } = s;
524
+ const { width: c, height: m } = s;
525
525
  let r = O, i = O, d = 0, p = 0;
526
- u > m ? (i = m * (O / u), p = -(i - r) / 2) : (r = u * (O / m), d = -(r - i) / 2), o.drawImage(s, d, p, r, i);
526
+ c > m ? (i = m * (O / c), p = -(i - r) / 2) : (r = c * (O / m), d = -(r - i) / 2), o.drawImage(s, d, p, r, i);
527
527
  const h = e.toDataURL();
528
528
  document.body.removeChild(e), n(h);
529
529
  }, s.crossOrigin = "anonymous", t.type.startsWith("image/svg+xml")) {
530
- const u = new FileReader();
531
- u.addEventListener("load", () => {
532
- u.result && (s.src = u.result);
533
- }), u.readAsDataURL(t);
530
+ const c = new FileReader();
531
+ c.addEventListener("load", () => {
532
+ c.result && (s.src = c.result);
533
+ }), c.readAsDataURL(t);
534
534
  } else
535
535
  s.src = window.URL.createObjectURL(t);
536
536
  });
@@ -563,29 +563,29 @@ const vt = /* @__PURE__ */ G({
563
563
  },
564
564
  emits: ["update:fileList", "change", "preview", "createRequest", "resetRequest", "remove"],
565
565
  setup(t, { expose: n, emit: e }) {
566
- const o = t, s = e, u = Ue(), m = Ce(), r = ot();
566
+ const o = t, s = e, c = _e(), m = Ce(), r = ot();
567
567
  let i = r == null ? void 0 : r.fileList, d = r == null ? void 0 : r.chunkable, p = r == null ? void 0 : r.maxCount, h = r == null ? void 0 : r.addFiles;
568
568
  if (!r) {
569
569
  i = se([]), d = F(() => o.listType !== "image" && o.pausableChunked);
570
- let c = !1;
570
+ let u = !1;
571
571
  te(
572
572
  () => o.fileList,
573
573
  (y) => {
574
574
  var L, k;
575
- c = !0, i.value = (k = (L = y ?? []) == null ? void 0 : L.map) == null ? void 0 : k.call(L, (Z) => {
575
+ u = !0, i.value = (k = (L = y ?? []) == null ? void 0 : L.map) == null ? void 0 : k.call(L, (Z) => {
576
576
  if (Z && ne(Z))
577
577
  return $e(Z, {
578
578
  getUid: re,
579
579
  chunkFile: d.value,
580
580
  chunkSize: o.chunkSize
581
581
  });
582
- }).filter(Boolean), ze(() => c = !1);
582
+ }).filter(Boolean), ze(() => u = !1);
583
583
  },
584
584
  { immediate: !0, deep: !0 }
585
585
  ), te(
586
586
  i,
587
587
  (y) => {
588
- c || s("update:fileList", y ?? []);
588
+ u || s("update:fileList", y ?? []);
589
589
  },
590
590
  { immediate: !0, deep: !0 }
591
591
  ), p = F(() => o.maxCount ? Number(o.maxCount) : 0);
@@ -595,16 +595,16 @@ const vt = /* @__PURE__ */ G({
595
595
  (k) => k.uid && y.uid && k.uid === y.uid
596
596
  );
597
597
  L === -1 && (!p.value || p.value > i.value.length) ? i.value.push(y) : L > -1 && i.value.splice(L, 0, y), s("change", {
598
- file: U(y),
599
- fileList: U(i.value),
598
+ file: _(y),
599
+ fileList: _(i.value),
600
600
  event: "add"
601
601
  });
602
602
  }
603
- }, _ = F(
603
+ }, U = F(
604
604
  () => o.accept ?? o.listType === "image" ? "image/*" : void 0
605
605
  );
606
606
  h = (y) => {
607
- Be(y) && y.filter((L) => !o.directory || he(L, _.value)).forEach((L) => {
607
+ Se(y) && y.filter((L) => !o.directory || he(L, U.value)).forEach((L) => {
608
608
  w(
609
609
  ve(L, {
610
610
  getUid: re,
@@ -617,72 +617,72 @@ const vt = /* @__PURE__ */ G({
617
617
  }
618
618
  const g = F(
619
619
  () => {
620
- var c;
621
- return o.uploadOnSelect || o.listType === "image" ? ((c = i.value) == null ? void 0 : c.filter(
620
+ var u;
621
+ return o.uploadOnSelect || o.listType === "image" ? ((u = i.value) == null ? void 0 : u.filter(
622
622
  (w) => w.status === "waiting" && w.originFileObj
623
623
  )) ?? [] : [];
624
624
  }
625
625
  ), v = F(
626
626
  () => {
627
- var c;
628
- return ((c = i.value) == null ? void 0 : c.filter(
627
+ var u;
628
+ return ((u = i.value) == null ? void 0 : u.filter(
629
629
  (w) => w.status === "uploading" && (w == null ? void 0 : w.cancel)
630
630
  )) ?? [];
631
631
  }
632
- ), z = (c, w) => {
633
- if (c && w) {
634
- const _ = i.value.findIndex((y) => y.uid === c);
635
- _ > -1 && (i.value[_] = {
636
- ...i.value[_],
632
+ ), z = (u, w) => {
633
+ if (u && w) {
634
+ const U = i.value.findIndex((y) => y.uid === u);
635
+ U > -1 && (i.value[U] = {
636
+ ...i.value[U],
637
637
  ...w
638
638
  });
639
639
  }
640
- }, W = async (c) => {
641
- var w, _, y, L;
642
- if (c.uid && i.value) {
643
- const k = i.value.find((H) => H.uid === c.uid), Z = d.value && ((w = k == null ? void 0 : k.chunks) == null ? void 0 : w.length) && (k == null ? void 0 : k.chunks.length) > 1 && (k == null ? void 0 : k.status) === "uploading" && (k == null ? void 0 : k.chunks.some((H) => H.status === "waiting"));
640
+ }, W = async (u) => {
641
+ var w, U, y, L;
642
+ if (u.uid && i.value) {
643
+ const k = i.value.find((H) => H.uid === u.uid), Z = d.value && ((w = k == null ? void 0 : k.chunks) == null ? void 0 : w.length) && (k == null ? void 0 : k.chunks.length) > 1 && (k == null ? void 0 : k.status) === "uploading" && (k == null ? void 0 : k.chunks.some((H) => H.status === "waiting"));
644
644
  if (k && oe(o.action) && (!v.value.length || o.parallelUpload || Z)) {
645
645
  const H = new AbortController(), Ge = () => {
646
- const b = () => H.abort(), l = U(k);
646
+ const x = () => H.abort(), l = _(k);
647
647
  if (d.value && l.chunks && l.chunks.length > 1) {
648
648
  const f = l.chunks.findIndex(($) => $.status === "waiting");
649
649
  f > -1 && (l.chunks[f] = {
650
650
  ...l.chunks[f],
651
651
  status: "uploading",
652
- cancel: b
652
+ cancel: x
653
653
  });
654
654
  }
655
655
  z(l.uid, {
656
656
  status: "uploading",
657
- cancel: b
657
+ cancel: x
658
658
  });
659
659
  };
660
660
  let I = {
661
661
  signal: H.signal,
662
- onUploadProgress(b) {
662
+ onUploadProgress() {
663
663
  },
664
- uid: c.uid
664
+ uid: u.uid
665
665
  };
666
- if (d.value && k.chunks && k.chunks.length > 1 && k.chunks.some((b) => b.status === "waiting")) {
667
- const b = k.chunks.find((l) => l.status === "waiting");
668
- b != null && b.uid && (I = {
666
+ if (d.value && k.chunks && k.chunks.length > 1 && k.chunks.some((x) => x.status === "waiting")) {
667
+ const x = k.chunks.find((l) => l.status === "waiting");
668
+ x != null && x.uid && (I = {
669
669
  ...I,
670
- ...Ze(b, ["chunk", "chunkSize", "index"]),
671
- chunk_uid: b.uid,
670
+ ...Ze(x, ["chunk", "chunkSize", "index"]),
671
+ chunkUid: x.uid,
672
672
  onUploadProgress(l) {
673
673
  var $, Q, A, we;
674
- const f = U(
675
- i.value.find((ee) => ee.uid === c.uid)
674
+ const f = _(
675
+ i.value.find((ee) => ee.uid === u.uid)
676
676
  );
677
677
  if (f) {
678
678
  const ee = ($ = f.chunks) == null ? void 0 : $.findIndex(
679
- (ue) => ue.uid === b.uid
679
+ (ce) => ce.uid === x.uid
680
680
  );
681
681
  ee !== void 0 && ((Q = f.chunks) != null && Q[ee]) && (f.chunks[ee].percent = Math.round(
682
682
  l.loaded * 100 / l.total
683
683
  )), (A = f.chunks) != null && A.length && ((we = f.chunks) == null ? void 0 : we.length) > 1 ? f.percent = Math.min(
684
684
  Math.max(
685
- f.chunks.reduce((ue, Ve) => ue + (Ve.percent ?? 0), 0) / (100 * f.chunks.length),
685
+ f.chunks.reduce((ce, Ve) => ce + (Ve.percent ?? 0), 0) / (100 * f.chunks.length),
686
686
  0
687
687
  ),
688
688
  100
@@ -697,41 +697,41 @@ const vt = /* @__PURE__ */ G({
697
697
  I = {
698
698
  ...I,
699
699
  file: k.originFileObj,
700
- onUploadProgress(b) {
701
- const l = U(
702
- i.value.find((f) => f.uid === c.uid)
700
+ onUploadProgress(x) {
701
+ const l = _(
702
+ i.value.find((f) => f.uid === u.uid)
703
703
  );
704
704
  l && z(l.uid, {
705
- percent: Math.round(b.loaded * 100 / b.total)
705
+ percent: Math.round(x.loaded * 100 / x.total)
706
706
  });
707
707
  }
708
708
  };
709
709
  if (Ge(), I.file || I.chunk) {
710
- s("createRequest", c), s("change", {
711
- file: U(c),
712
- fileList: U(i.value),
710
+ s("createRequest", u), s("change", {
711
+ file: _(u),
712
+ fileList: _(i.value),
713
713
  event: "upload"
714
714
  });
715
715
  try {
716
- let b = await o.action(I);
716
+ let x = await o.action(I);
717
717
  try {
718
- typeof b == "string" && (b = JSON.parse(b));
718
+ typeof x == "string" && (x = JSON.parse(x));
719
719
  } catch {
720
720
  }
721
- let l = U(
721
+ let l = _(
722
722
  i.value.find((f) => f.uid === I.uid)
723
723
  );
724
724
  if (l) {
725
725
  let f = !1;
726
- if (I.chunk_uid && ((_ = l.chunks) != null && _.length) && l.chunks.length > 1) {
726
+ if (I.chunkUid && ((U = l.chunks) != null && U.length) && l.chunks.length > 1) {
727
727
  const $ = l.chunks.findIndex(
728
- (A) => A.uid === I.chunk_uid
728
+ (A) => A.uid === I.chunkUid
729
729
  );
730
730
  l.chunks[$] && (l.chunks[$] = {
731
731
  ...l.chunks[$],
732
732
  cancel: void 0,
733
733
  status: "done",
734
- response: b ?? void 0
734
+ response: x ?? void 0
735
735
  });
736
736
  const Q = l.chunks.every((A) => A.status === "done") ? "done" : "uploading";
737
737
  Q === "done" ? l = {
@@ -744,19 +744,19 @@ const vt = /* @__PURE__ */ G({
744
744
  ...l,
745
745
  cancel: void 0,
746
746
  status: "done",
747
- response: b ?? void 0
747
+ response: x ?? void 0
748
748
  };
749
749
  z(I.uid, l), f && await W(l);
750
750
  }
751
- } catch (b) {
752
- if (b.name === "CanceledError") {
753
- let l = U(
751
+ } catch (x) {
752
+ if (x.name === "CanceledError") {
753
+ let l = _(
754
754
  i.value.find((f) => f.uid === I.uid)
755
755
  );
756
756
  if (l) {
757
- if (I.chunk_uid && ((y = l.chunks) != null && y.length) && l.chunks.length > 1) {
757
+ if (I.chunkUid && ((y = l.chunks) != null && y.length) && l.chunks.length > 1) {
758
758
  const f = l.chunks.findIndex(
759
- ($) => $.uid === I.chunk_uid
759
+ ($) => $.uid === I.chunkUid
760
760
  );
761
761
  l.chunks[f] && (l.chunks[f] = {
762
762
  ...l.chunks[f],
@@ -767,8 +767,8 @@ const vt = /* @__PURE__ */ G({
767
767
  cancel: void 0,
768
768
  status: "paused"
769
769
  }, s("change", {
770
- file: U(l),
771
- fileList: U(i.value),
770
+ file: _(l),
771
+ fileList: _(i.value),
772
772
  event: "paused"
773
773
  });
774
774
  } else
@@ -777,20 +777,20 @@ const vt = /* @__PURE__ */ G({
777
777
  cancel: void 0,
778
778
  status: "error"
779
779
  }, s("change", {
780
- file: U(l),
781
- fileList: U(i.value),
780
+ file: _(l),
781
+ fileList: _(i.value),
782
782
  event: "cancel"
783
783
  });
784
784
  z(I.uid, l);
785
785
  }
786
786
  } else {
787
- let l = U(
787
+ let l = _(
788
788
  i.value.find((f) => f.uid === I.uid)
789
789
  );
790
790
  if (l) {
791
- if (I.chunk_uid && ((L = l.chunks) != null && L.length) && l.chunks.length > 1) {
791
+ if (I.chunkUid && ((L = l.chunks) != null && L.length) && l.chunks.length > 1) {
792
792
  const f = l.chunks.findIndex(
793
- ($) => $.uid === I.chunk_uid
793
+ ($) => $.uid === I.chunkUid
794
794
  );
795
795
  l.chunks[f] && (l.chunks[f] = {
796
796
  ...l.chunks[f],
@@ -802,11 +802,11 @@ const vt = /* @__PURE__ */ G({
802
802
  ...l,
803
803
  cancel: void 0,
804
804
  status: "error",
805
- error: b,
805
+ error: x,
806
806
  percent: 0
807
807
  }, s("change", {
808
- file: U(l),
809
- fileList: U(i.value),
808
+ file: _(l),
809
+ fileList: _(i.value),
810
810
  event: "failed"
811
811
  }), z(I.uid, l);
812
812
  }
@@ -815,20 +815,20 @@ const vt = /* @__PURE__ */ G({
815
815
  }
816
816
  }
817
817
  }
818
- }, x = async (c) => {
819
- if (c.uid && i.value)
820
- return z(c.uid, { status: "waiting" }), s("resetRequest", c), W(c);
821
- }, T = async (c) => {
818
+ }, b = async (u) => {
819
+ if (u.uid && i.value)
820
+ return z(u.uid, { status: "waiting" }), s("resetRequest", u), W(u);
821
+ }, T = async (u) => {
822
822
  var w;
823
- if (c.uid && i.value) {
824
- const _ = U(i.value ?? []), y = _.findIndex((L) => L.uid === c.uid);
825
- y > -1 && _[y] && ((w = c.cancel) == null || w.call(c), _.splice(y, 1), i.value = _, s("remove", c), s("change", {
826
- file: U(c),
827
- fileList: U(i.value),
823
+ if (u.uid && i.value) {
824
+ const U = _(i.value ?? []), y = U.findIndex((L) => L.uid === u.uid);
825
+ y > -1 && U[y] && ((w = u.cancel) == null || w.call(u), U.splice(y, 1), i.value = U, s("remove", u), s("change", {
826
+ file: _(u),
827
+ fileList: _(i.value),
828
828
  event: "remove"
829
829
  }));
830
830
  }
831
- }, P = (c) => !!((o.parallelUpload || !v.value.length) && (c.status === "paused" || c.status === "error" || (!o.uploadOnSelect || o.listType === "image") && c.status === "waiting")), Y = F(() => {
831
+ }, P = (u) => !!((o.parallelUpload || !v.value.length) && (u.status === "paused" || u.status === "error" || (!o.uploadOnSelect || o.listType === "image") && u.status === "waiting")), Y = F(() => {
832
832
  switch (o.size) {
833
833
  case "xlg":
834
834
  return "md";
@@ -836,11 +836,11 @@ const vt = /* @__PURE__ */ G({
836
836
  return "sm";
837
837
  }
838
838
  }), De = Ye(() => {
839
- (o.parallelUpload && g.value.length || !v.value.length) && g.value.forEach(W), (i.value || []).forEach((c) => {
840
- typeof document > "u" || typeof window > "u" || !window.FileReader || !window.File || !(c.originFileObj instanceof File || c.originFileObj instanceof Blob) || c.thumbUrl !== void 0 || (c.thumbUrl = "", ht(c.originFileObj).then((w) => {
841
- const _ = w || "";
842
- _ !== c.thumbUrl && z(c == null ? void 0 : c.uid, {
843
- thumbUrl: _
839
+ (o.parallelUpload && g.value.length || !v.value.length) && g.value.forEach(W), (i.value || []).forEach((u) => {
840
+ typeof document > "u" || typeof window > "u" || !window.FileReader || !window.File || !(u.originFileObj instanceof File || u.originFileObj instanceof Blob) || u.thumbUrl !== void 0 || (u.thumbUrl = "", ht(u.originFileObj).then((w) => {
841
+ const U = w || "";
842
+ U !== u.thumbUrl && z(u == null ? void 0 : u.uid, {
843
+ thumbUrl: U
844
844
  });
845
845
  }));
846
846
  });
@@ -862,14 +862,14 @@ const vt = /* @__PURE__ */ G({
862
862
  }), j = {
863
863
  props: (r == null ? void 0 : r.props) ?? o,
864
864
  attrs: (r == null ? void 0 : r.attrs) ?? m,
865
- slots: (r == null ? void 0 : r.slots) ?? u,
865
+ slots: (r == null ? void 0 : r.slots) ?? c,
866
866
  emit: (r == null ? void 0 : r.emit) ?? s,
867
867
  fileList: He(i),
868
868
  progressSize: qe,
869
869
  uploadableFiles: g,
870
870
  uploadingFiles: v,
871
871
  createRequest: W,
872
- resetRequest: x,
872
+ resetRequest: b,
873
873
  canRunUpload: P,
874
874
  remove: T,
875
875
  goSize: Y,
@@ -882,15 +882,15 @@ const vt = /* @__PURE__ */ G({
882
882
  listType: J(je, ie)
883
883
  }
884
884
  }), Ne = () => {
885
- var w, _;
886
- const c = (_ = (w = j.slots).list) == null ? void 0 : _.call(w, j);
887
- return M(c) ? j.fileList.value.map(
885
+ var w, U;
886
+ const u = (U = (w = j.slots).list) == null ? void 0 : U.call(w, j);
887
+ return M(u) ? j.fileList.value.map(
888
888
  (y) => X(gt, { uploadFile: y, key: y.uid })
889
- ) : c;
889
+ ) : u;
890
890
  };
891
- return n(j), (c, w) => {
892
- var _;
893
- return (_ = j.fileList.value) != null && _.length ? (C(), N("div", {
891
+ return n(j), (u, w) => {
892
+ var U;
893
+ return (U = j.fileList.value) != null && U.length ? (C(), N("div", {
894
894
  key: 0,
895
895
  class: q(
896
896
  a(ge)(
@@ -917,8 +917,8 @@ const vt = /* @__PURE__ */ G({
917
917
  const n = t.createReader(), e = [];
918
918
  return new Promise((o) => {
919
919
  const s = () => {
920
- n.readEntries((u) => {
921
- u.length === 0 ? o(e) : (e.push(...u), s());
920
+ n.readEntries((c) => {
921
+ c.length === 0 ? o(e) : (e.push(...c), s());
922
922
  });
923
923
  };
924
924
  s();
@@ -935,11 +935,11 @@ const vt = /* @__PURE__ */ G({
935
935
  };
936
936
  return await Promise.all(
937
937
  t.map((o) => {
938
- var u;
939
- const s = (u = o.webkitGetAsEntry) == null ? void 0 : u.call(o);
938
+ var c;
939
+ const s = (c = o.webkitGetAsEntry) == null ? void 0 : c.call(o);
940
940
  if (s)
941
941
  return e(s);
942
- })
942
+ }).filter(Boolean)
943
943
  ), n;
944
944
  }, bt = ["accept", "webkitdirectory", "multiple", "value", "disabled"], xt = /* @__PURE__ */ G({
945
945
  ...V("UploadTrigger"),
@@ -953,7 +953,7 @@ const vt = /* @__PURE__ */ G({
953
953
  },
954
954
  emits: ["addFiles"],
955
955
  setup(t, { emit: n }) {
956
- const e = n, o = t, { getDisabled: s } = et(), u = se(), m = (g) => {
956
+ const e = n, o = t, { getDisabled: s } = et(), c = se(), m = (g) => {
957
957
  const { files: v } = g.target;
958
958
  e("addFiles", Array.prototype.slice.call(v)), r.value && (r.value.value = "");
959
959
  }, r = se(), i = () => {
@@ -975,7 +975,7 @@ const vt = /* @__PURE__ */ G({
975
975
  onDrop: p,
976
976
  onDragover: p
977
977
  });
978
- return (g, v) => (C(), N("div", _e({
978
+ return (g, v) => (C(), N("div", Ue({
979
979
  class: a(ge)(o.class)
980
980
  }, h.value), [
981
981
  Ie(g.$slots, "default", Le(Fe({ ...h.value, disabled: a(s), tabindex: "0" }))),
@@ -984,7 +984,7 @@ const vt = /* @__PURE__ */ G({
984
984
  accept: g.accept,
985
985
  webkitdirectory: g.directory,
986
986
  multiple: g.multiple,
987
- value: u.value,
987
+ value: c.value,
988
988
  disabled: a(s),
989
989
  onChange: m,
990
990
  ref_key: "inputRef",
@@ -1021,15 +1021,15 @@ const vt = /* @__PURE__ */ G({
1021
1021
  },
1022
1022
  emits: ["update:fileList", "change", "preview", "createRequest", "resetRequest", "remove"],
1023
1023
  setup(t, { expose: n, emit: e }) {
1024
- const o = t, s = e, u = Ue(), m = Ce(), r = F(() => o.maxCount ? Number(o.maxCount) : 0), i = F(() => o.listType !== "image" && o.pausableChunked), d = F(
1024
+ const o = t, s = e, c = _e(), m = Ce(), r = F(() => o.maxCount ? Number(o.maxCount) : 0), i = F(() => o.listType !== "image" && o.pausableChunked), d = F(
1025
1025
  () => o.accept ?? o.listType === "image" ? "image/*" : void 0
1026
1026
  ), p = se([]);
1027
1027
  let h = !1;
1028
1028
  te(
1029
1029
  () => o.fileList,
1030
- (x) => {
1030
+ (b) => {
1031
1031
  var T, P;
1032
- h = !0, p.value = (P = (T = x ?? []) == null ? void 0 : T.map) == null ? void 0 : P.call(T, (Y) => {
1032
+ h = !0, p.value = (P = (T = b ?? []) == null ? void 0 : T.map) == null ? void 0 : P.call(T, (Y) => {
1033
1033
  if (Y && ne(Y))
1034
1034
  return $e(Y, {
1035
1035
  getUid: re,
@@ -1041,24 +1041,24 @@ const vt = /* @__PURE__ */ G({
1041
1041
  { immediate: !0, deep: !0 }
1042
1042
  ), te(
1043
1043
  p,
1044
- (x) => {
1045
- h || s("update:fileList", x ?? []);
1044
+ (b) => {
1045
+ h || s("update:fileList", b ?? []);
1046
1046
  },
1047
1047
  { immediate: !0, deep: !0 }
1048
1048
  );
1049
- const g = (x) => {
1050
- if (x) {
1049
+ const g = (b) => {
1050
+ if (b) {
1051
1051
  const T = p.value.findIndex(
1052
- (P) => P.uid && x.uid && P.uid === x.uid
1052
+ (P) => P.uid && b.uid && P.uid === b.uid
1053
1053
  );
1054
- T === -1 && (!r.value || r.value > p.value.length) ? p.value.push(x) : T > -1 && p.value.splice(T, 0, x), s("change", {
1055
- file: U(x),
1056
- fileList: U(p.value),
1054
+ T === -1 && (!r.value || r.value > p.value.length) ? p.value.push(b) : T > -1 && p.value.splice(T, 0, b), s("change", {
1055
+ file: _(b),
1056
+ fileList: _(p.value),
1057
1057
  event: "add"
1058
1058
  });
1059
1059
  }
1060
- }, v = (x) => {
1061
- Be(x) && x.filter((T) => !o.directory || he(T, d.value)).forEach((T) => {
1060
+ }, v = (b) => {
1061
+ Se(b) && b.filter((T) => !o.directory || he(T, d.value)).forEach((T) => {
1062
1062
  g(
1063
1063
  ve(T, {
1064
1064
  getUid: re,
@@ -1070,7 +1070,7 @@ const vt = /* @__PURE__ */ G({
1070
1070
  }, z = {
1071
1071
  props: o,
1072
1072
  attrs: m,
1073
- slots: u,
1073
+ slots: c,
1074
1074
  emit: s,
1075
1075
  fileList: p,
1076
1076
  addFiles: v,
@@ -1080,22 +1080,22 @@ const vt = /* @__PURE__ */ G({
1080
1080
  };
1081
1081
  nt(z);
1082
1082
  const W = se();
1083
- return n({ ...z, listRef: W }), (x, T) => (C(), N(fe, null, [
1084
- x.noTrigger ? E("", !0) : (C(), B(xt, {
1083
+ return n({ ...z, listRef: W }), (b, T) => (C(), N(fe, null, [
1084
+ b.noTrigger ? E("", !0) : (C(), S(xt, {
1085
1085
  key: 0,
1086
- multiple: x.multiple,
1087
- directory: x.directory,
1088
- disabled: x.disabled,
1086
+ multiple: b.multiple,
1087
+ directory: b.directory,
1088
+ disabled: b.disabled,
1089
1089
  accept: d.value,
1090
1090
  onAddFiles: v,
1091
- class: q(x.triggerCls)
1091
+ class: q(b.triggerCls)
1092
1092
  }, {
1093
1093
  default: ae((P) => [
1094
- Ie(x.$slots, "default", Le(Fe(P)))
1094
+ Ie(b.$slots, "default", Le(Fe(P)))
1095
1095
  ]),
1096
1096
  _: 3
1097
1097
  }, 8, ["multiple", "directory", "disabled", "accept", "class"])),
1098
- D(vt, { action: x.action }, null, 8, ["action"])
1098
+ D(vt, { action: b.action }, null, 8, ["action"])
1099
1099
  ], 64));
1100
1100
  }
1101
1101
  });
@@ -1105,7 +1105,7 @@ export {
1105
1105
  vt as a,
1106
1106
  xt as b,
1107
1107
  ie as c,
1108
- S as d,
1108
+ B as d,
1109
1109
  le as e,
1110
1110
  it as f,
1111
1111
  Pe as g,