@qynpm/ui 1.0.44 → 1.0.46

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 (264) hide show
  1. package/README.md +9 -2
  2. package/dist/index.cjs +20 -13
  3. package/dist/index.mjs +268 -102
  4. package/dist/qy-action-bar/index.cjs +3 -1
  5. package/dist/qy-action-bar/index.mjs +7 -2
  6. package/dist/qy-autocomplete/index.cjs +1 -1
  7. package/dist/qy-autocomplete/index.mjs +1 -1
  8. package/dist/qy-button/index.cjs +1 -1
  9. package/dist/qy-button/index.mjs +1 -1
  10. package/dist/qy-cascader/index.cjs +1 -1
  11. package/dist/qy-cascader/index.mjs +1 -1
  12. package/dist/qy-checkbox/index.cjs +1 -1
  13. package/dist/qy-checkbox/index.mjs +1 -1
  14. package/dist/qy-checkbox-group/index.cjs +1 -1
  15. package/dist/qy-checkbox-group/index.mjs +1 -1
  16. package/dist/qy-collapse/index.cjs +1 -1
  17. package/dist/qy-collapse/index.mjs +1 -1
  18. package/dist/qy-color-picker/index.cjs +1 -1
  19. package/dist/qy-color-picker/index.mjs +1 -1
  20. package/dist/qy-date-picker/index.cjs +1 -1
  21. package/dist/qy-date-picker/index.mjs +1 -1
  22. package/dist/qy-dialog/index.cjs +3 -2
  23. package/dist/qy-dialog/index.mjs +7 -5
  24. package/dist/qy-drawer/index.cjs +1 -1
  25. package/dist/qy-drawer/index.mjs +1 -1
  26. package/dist/qy-dropdown/index.cjs +2 -2
  27. package/dist/qy-dropdown/index.mjs +2 -2
  28. package/dist/qy-file-picker/index.cjs +1 -1
  29. package/dist/qy-file-picker/index.mjs +1 -1
  30. package/dist/qy-form-section/index.cjs +3 -1
  31. package/dist/qy-form-section/index.mjs +7 -2
  32. package/dist/qy-fullscreen/index.cjs +1 -1
  33. package/dist/qy-fullscreen/index.mjs +1 -1
  34. package/dist/qy-icon/index.cjs +1 -1
  35. package/dist/qy-icon/index.mjs +2 -2
  36. package/dist/qy-icon-picker/index.cjs +1 -1
  37. package/dist/qy-icon-picker/index.mjs +1 -1
  38. package/dist/qy-iframe/index.cjs +1 -1
  39. package/dist/qy-iframe/index.mjs +1 -1
  40. package/dist/qy-image/index.cjs +1 -1
  41. package/dist/qy-image/index.mjs +1 -1
  42. package/dist/qy-image-preview/index.cjs +1 -1
  43. package/dist/qy-image-preview/index.mjs +2 -2
  44. package/dist/qy-image-upload/index.cjs +3 -1
  45. package/dist/qy-image-upload/index.mjs +7 -2
  46. package/dist/qy-input/index.cjs +1 -1
  47. package/dist/qy-input/index.mjs +1 -1
  48. package/dist/qy-input-number/index.cjs +1 -1
  49. package/dist/qy-input-number/index.mjs +1 -1
  50. package/dist/qy-input-tag/index.cjs +1 -1
  51. package/dist/qy-input-tag/index.mjs +151 -5
  52. package/dist/qy-legacy-selection-dialog/index.cjs +8 -1
  53. package/dist/qy-legacy-selection-dialog/index.mjs +12 -2
  54. package/dist/qy-menu-actions/index.cjs +1 -1
  55. package/dist/qy-menu-actions/index.mjs +1 -1
  56. package/dist/qy-money-input/index.cjs +1 -1
  57. package/dist/qy-money-input/index.mjs +1 -1
  58. package/dist/qy-pagination/index.cjs +1 -1
  59. package/dist/qy-pagination/index.mjs +1 -1
  60. package/dist/qy-popconfirm/index.cjs +1 -1
  61. package/dist/qy-popconfirm/index.mjs +1 -1
  62. package/dist/qy-popover/index.cjs +1 -1
  63. package/dist/qy-popover/index.mjs +1 -1
  64. package/dist/qy-radio/index.cjs +1 -1
  65. package/dist/qy-radio/index.mjs +1 -1
  66. package/dist/qy-radio-group/index.cjs +1 -1
  67. package/dist/qy-radio-group/index.mjs +1 -1
  68. package/dist/qy-record-quote-search/index.cjs +4 -1
  69. package/dist/qy-record-quote-search/index.mjs +8 -2
  70. package/dist/qy-remark-image/index.cjs +3 -1
  71. package/dist/qy-remark-image/index.mjs +11 -2
  72. package/dist/qy-remote-select/index.cjs +3 -1
  73. package/dist/qy-remote-select/index.mjs +7 -2
  74. package/dist/qy-result/index.cjs +1 -1
  75. package/dist/qy-result/index.mjs +1 -1
  76. package/dist/qy-scrollbar/index.cjs +1 -1
  77. package/dist/qy-scrollbar/index.mjs +1 -1
  78. package/dist/qy-search-input/index.cjs +3 -1
  79. package/dist/qy-search-input/index.mjs +7 -2
  80. package/dist/qy-select/index.cjs +1 -1
  81. package/dist/qy-select/index.mjs +1 -1
  82. package/dist/qy-selection-dialog/index.cjs +7 -1
  83. package/dist/qy-selection-dialog/index.mjs +11 -2
  84. package/dist/qy-switch/index.cjs +1 -1
  85. package/dist/qy-switch/index.mjs +1 -1
  86. package/dist/qy-table-column-settings/index.cjs +1 -1
  87. package/dist/qy-table-column-settings/index.mjs +1 -1
  88. package/dist/qy-tabs/index.cjs +1 -1
  89. package/dist/qy-tabs/index.mjs +1 -1
  90. package/dist/qy-tag/index.cjs +1 -1
  91. package/dist/qy-tag/index.mjs +1 -1
  92. package/dist/qy-tooltip/index.cjs +1 -1
  93. package/dist/qy-tooltip/index.mjs +1 -1
  94. package/dist/qy-tree/index.cjs +1 -1
  95. package/dist/qy-tree/index.mjs +1 -1
  96. package/dist/qy-tree-select/index.cjs +1 -1
  97. package/dist/qy-tree-select/index.mjs +1 -1
  98. package/dist/qy-upload/index.cjs +1 -1
  99. package/dist/qy-upload/index.mjs +1 -1
  100. package/dist/shared/index-AvNvmJe5.cjs +1 -0
  101. package/dist/shared/{index-DvFMgAcu.mjs → index-B0CTzdRW.mjs} +1 -1
  102. package/dist/shared/index-B1J7PQMl.mjs +79 -0
  103. package/dist/shared/{index-DRIoLeFE.mjs → index-B1gnVI8Y.mjs} +44 -45
  104. package/dist/shared/{index-Co84fsS5.mjs → index-B7j9BtSm.mjs} +88 -80
  105. package/dist/shared/{index-CiE6qJCJ.mjs → index-BAOV5iYx.mjs} +151 -143
  106. package/dist/shared/index-BN4A-O6P.mjs +727 -0
  107. package/dist/shared/index-BR7tIt2k.mjs +211 -0
  108. package/dist/shared/index-BaRw7pWi.mjs +156 -0
  109. package/dist/shared/index-BgAP_K2E.cjs +1 -0
  110. package/dist/shared/index-Blgz8PJc.cjs +1 -0
  111. package/dist/shared/index-BqzKToOL.cjs +1 -0
  112. package/dist/shared/{index-BNssRW4d.mjs → index-BuVrLl5B.mjs} +13 -13
  113. package/dist/shared/index-Bv1DrJ32.mjs +71 -0
  114. package/dist/shared/index-Bz9WjKdL.cjs +1 -0
  115. package/dist/shared/{index-BjqJCq-6.mjs → index-Bzr2RHi5.mjs} +3 -3
  116. package/dist/shared/index-C50jpQ11.mjs +295 -0
  117. package/dist/shared/index-C6G9eVku.cjs +1 -0
  118. package/dist/shared/index-CB0v25oB.cjs +1 -0
  119. package/dist/shared/{index-gMrQlV5n.cjs → index-CIXJwYI-.cjs} +1 -1
  120. package/dist/shared/index-CKkanVur.cjs +1 -0
  121. package/dist/shared/index-CLvL8LAM.cjs +1 -0
  122. package/dist/shared/index-CN2mgT5V.cjs +1 -0
  123. package/dist/shared/{index-DNnWRAFl.mjs → index-CW4s627w.mjs} +1 -1
  124. package/dist/shared/{index-8Iwma3ls.mjs → index-CXOCZlps.mjs} +2 -2
  125. package/dist/shared/{index-CUlhX6fW.cjs → index-CXnL-0Kp.cjs} +1 -1
  126. package/dist/shared/index-CZs0V4ze.cjs +1 -0
  127. package/dist/shared/index-Cqr-L0yd.mjs +285 -0
  128. package/dist/shared/index-Cu6yAwdj.mjs +124 -0
  129. package/dist/shared/index-CxTyKMEH.cjs +1 -0
  130. package/dist/shared/index-D5HS8M1P.cjs +1 -0
  131. package/dist/shared/index-D6QwZtYV.mjs +56 -0
  132. package/dist/shared/index-DCsun70c.cjs +1 -0
  133. package/dist/shared/{index-BweLwi2_.cjs → index-DEzFHeJL.cjs} +1 -1
  134. package/dist/shared/{index-2D5AFexl.mjs → index-DNMRIYkm.mjs} +1 -1
  135. package/dist/shared/index-DY2IXvwl.cjs +1 -0
  136. package/dist/shared/{index-C4F8hXzQ.mjs → index-DdGlwebp.mjs} +90 -81
  137. package/dist/shared/index-DiN5vXXD.cjs +1 -0
  138. package/dist/shared/{index-Mj7JZt7y.cjs → index-Duq5XZ5w.cjs} +1 -1
  139. package/dist/shared/index-DwHM9eYc.cjs +1 -0
  140. package/dist/shared/index-FZ5gl2au.cjs +1 -0
  141. package/dist/shared/index-PM5yNugz.mjs +573 -0
  142. package/dist/shared/index-VtM0GmfU.mjs +361 -0
  143. package/dist/shared/index-ykI9hKtc.mjs +88 -0
  144. package/dist/shared/index.vue_vue_type_script_setup_true_lang-4CNzVpgF.mjs +40 -0
  145. package/dist/shared/index.vue_vue_type_script_setup_true_lang-B38X3tvf.cjs +1 -0
  146. package/dist/shared/{index.vue_vue_type_script_setup_true_lang-DIWWHODS.mjs → index.vue_vue_type_script_setup_true_lang-BtMkNw_I.mjs} +49 -47
  147. package/dist/shared/index.vue_vue_type_script_setup_true_lang-CeVvm5Ph.cjs +1 -0
  148. package/dist/shared/index.vue_vue_type_script_setup_true_lang-Cn0JqB5r.cjs +1 -0
  149. package/dist/shared/index.vue_vue_type_script_setup_true_lang-D3MxDFk1.cjs +1 -0
  150. package/dist/shared/{index.vue_vue_type_script_setup_true_lang-Dn29lZTs.mjs → index.vue_vue_type_script_setup_true_lang-DECgTYqI.mjs} +20 -18
  151. package/dist/shared/index.vue_vue_type_script_setup_true_lang-DMHhx9lY.mjs +133 -0
  152. package/dist/shared/index.vue_vue_type_script_setup_true_lang-DW2JKXjA.cjs +1 -0
  153. package/dist/shared/index.vue_vue_type_script_setup_true_lang-DeFEEJk8.cjs +1 -0
  154. package/dist/shared/index.vue_vue_type_script_setup_true_lang-GUuWAB0o.mjs +238 -0
  155. package/dist/shared/index.vue_vue_type_script_setup_true_lang-mWNAIcqc.mjs +63 -0
  156. package/dist/shared/index.vue_vue_type_style_index_0_lang-B4fDeQox.cjs +1 -0
  157. package/dist/shared/index.vue_vue_type_style_index_0_lang-BLRxKB-e.mjs +413 -0
  158. package/dist/shared/index.vue_vue_type_style_index_0_lang-Ba6d5zw4.mjs +142 -0
  159. package/dist/shared/index.vue_vue_type_style_index_0_lang-BzJsAWKD.cjs +1 -0
  160. package/dist/shared/{index.vue_vue_type_style_index_0_lang-OHPkiKBo.cjs → index.vue_vue_type_style_index_0_lang-C4yXFBV_.cjs} +1 -1
  161. package/dist/shared/index.vue_vue_type_style_index_0_lang-CFp5MK6j.cjs +1 -0
  162. package/dist/shared/index.vue_vue_type_style_index_0_lang-CVAm3ApY.cjs +1 -0
  163. package/dist/shared/{index.vue_vue_type_style_index_0_lang-DbQkbvgb.mjs → index.vue_vue_type_style_index_0_lang-CuTyK1Ey.mjs} +3 -3
  164. package/dist/shared/index.vue_vue_type_style_index_0_lang-CvVl_Y56.mjs +219 -0
  165. package/dist/shared/index.vue_vue_type_style_index_0_lang-D-p1u8y8.cjs +1 -0
  166. package/dist/shared/index.vue_vue_type_style_index_0_lang-D9T_xdbu.mjs +176 -0
  167. package/dist/shared/index.vue_vue_type_style_index_0_lang-DGV7FQlw.cjs +1 -0
  168. package/dist/shared/{index.vue_vue_type_style_index_0_lang-CcVf5MXE.mjs → index.vue_vue_type_style_index_0_lang-DZOPXZov.mjs} +59 -57
  169. package/dist/shared/{index.vue_vue_type_style_index_0_lang-DSur831A.mjs → index.vue_vue_type_style_index_0_lang-KXiTSh4t.mjs} +24 -18
  170. package/dist/shared/js.cookie-BA-dL3zT.mjs +74 -0
  171. package/dist/shared/js.cookie-BmJmHEx1.cjs +1 -0
  172. package/dist/shared/overlay-stack-DeKq7jZu.cjs +1 -0
  173. package/dist/shared/overlay-stack-eI-yzYU6.mjs +34 -0
  174. package/dist/shared/{utils-DoyI5oM8.mjs → utils-DpZkMLkb.mjs} +63 -49
  175. package/dist/shared/utils-DpkN3Zat.cjs +1 -0
  176. package/index.d.ts +44 -15
  177. package/package.json +1 -1
  178. package/qy-action-bar/index.d.ts +16 -4
  179. package/qy-autocomplete/index.d.ts +43 -2
  180. package/qy-checkbox/index.d.ts +1 -0
  181. package/qy-checkbox-group/index.d.ts +1 -0
  182. package/qy-date-picker/index.d.ts +1 -0
  183. package/qy-dialog/index.d.ts +4 -0
  184. package/qy-form-section/index.d.ts +22 -4
  185. package/qy-image/index.d.ts +1 -0
  186. package/qy-image-preview/index.d.ts +8 -4
  187. package/qy-menu-actions/index.d.ts +21 -2
  188. package/qy-money-input/index.d.ts +1 -0
  189. package/qy-pagination/index.d.ts +4 -0
  190. package/qy-popover/index.d.ts +4 -0
  191. package/qy-radio-group/index.d.ts +1 -0
  192. package/qy-record-quote-search/index.d.ts +53 -4
  193. package/qy-remark-image/index.d.ts +48 -4
  194. package/qy-remote-select/index.d.ts +53 -2
  195. package/qy-search-input/index.d.ts +66 -4
  196. package/qy-select/index.d.ts +4 -0
  197. package/qy-selection-dialog/index.d.ts +63 -2
  198. package/qy-switch/index.d.ts +1 -0
  199. package/qy-table-column-settings/index.d.ts +19 -2
  200. package/qy-tooltip/index.d.ts +5 -0
  201. package/qy-tree-select/index.d.ts +1 -0
  202. package/dist/shared/index-5dxbpQb_.cjs +0 -1
  203. package/dist/shared/index-BEcS8y8g.mjs +0 -68
  204. package/dist/shared/index-BSTMCPDj.mjs +0 -72
  205. package/dist/shared/index-Bh9hxVFh.mjs +0 -766
  206. package/dist/shared/index-CGq7Q_hV.mjs +0 -119
  207. package/dist/shared/index-CVYNG8Fc.cjs +0 -1
  208. package/dist/shared/index-CmgTSaFS.cjs +0 -1
  209. package/dist/shared/index-CnVhquq5.cjs +0 -1
  210. package/dist/shared/index-D27mwR57.cjs +0 -1
  211. package/dist/shared/index-DKw-seoh.cjs +0 -1
  212. package/dist/shared/index-DRugp8x0.cjs +0 -1
  213. package/dist/shared/index-DTbGlDqr.cjs +0 -1
  214. package/dist/shared/index-MyDDX-zj.cjs +0 -1
  215. package/dist/shared/index-afOuq3YX.cjs +0 -1
  216. package/dist/shared/index-rSrDnOpu.cjs +0 -1
  217. package/dist/shared/index-rjciSHaR.mjs +0 -2362
  218. package/dist/shared/index.vue_vue_type_script_setup_true_lang-BiIgNax-.cjs +0 -1
  219. package/dist/shared/index.vue_vue_type_script_setup_true_lang-CKp87br2.cjs +0 -1
  220. package/dist/shared/index.vue_vue_type_script_setup_true_lang-CqSJ_8hG.cjs +0 -1
  221. package/dist/shared/index.vue_vue_type_script_setup_true_lang-DbLp1kvW.cjs +0 -1
  222. package/dist/shared/index.vue_vue_type_script_setup_true_lang-DwFGEW4B.mjs +0 -143
  223. package/dist/shared/index.vue_vue_type_script_setup_true_lang-EiHoQBXt.mjs +0 -94
  224. package/dist/shared/index.vue_vue_type_script_setup_true_lang-IyZesuKm.mjs +0 -48
  225. package/dist/shared/index.vue_vue_type_script_setup_true_lang-UBQQ6Z03.cjs +0 -1
  226. package/dist/shared/index.vue_vue_type_script_setup_true_lang-ccFLNRry.cjs +0 -1
  227. package/dist/shared/index.vue_vue_type_script_setup_true_lang-r7iyZzDS.mjs +0 -61
  228. package/dist/shared/index.vue_vue_type_style_index_0_lang-1cTut9Ql.cjs +0 -1
  229. package/dist/shared/index.vue_vue_type_style_index_0_lang-B2thgQml.cjs +0 -1
  230. package/dist/shared/index.vue_vue_type_style_index_0_lang-BMZqMPZb.mjs +0 -215
  231. package/dist/shared/index.vue_vue_type_style_index_0_lang-Bb3L64L8.mjs +0 -406
  232. package/dist/shared/index.vue_vue_type_style_index_0_lang-BoaO6MKl.cjs +0 -1
  233. package/dist/shared/index.vue_vue_type_style_index_0_lang-C4Yk-UdJ.mjs +0 -172
  234. package/dist/shared/index.vue_vue_type_style_index_0_lang-D9-2GN18.cjs +0 -1
  235. package/dist/shared/index.vue_vue_type_style_index_0_lang-DHK86rdP.cjs +0 -1
  236. package/dist/shared/index.vue_vue_type_style_index_0_lang-DsOg_Rum.mjs +0 -128
  237. package/dist/shared/index.vue_vue_type_style_index_0_lang-RiwA2WPO.cjs +0 -1
  238. package/dist/shared/utils-BjEXwY3L.cjs +0 -1
  239. /package/dist/shared/{index-DiEag4sK.cjs → index-5UAiwqdT.cjs} +0 -0
  240. /package/dist/shared/{index-B3GsIwhf.mjs → index-BKdw4jD_.mjs} +0 -0
  241. /package/dist/shared/{index-B25yA5j-.mjs → index-BVaIvVMi.mjs} +0 -0
  242. /package/dist/shared/{index-HNFq7v-A.cjs → index-Bdlzmh8A.cjs} +0 -0
  243. /package/dist/shared/{index-Bq9quq2D.cjs → index-BsNtvE6i.cjs} +0 -0
  244. /package/dist/shared/{index-B3YHS3Aa.mjs → index-CGH2ROZV.mjs} +0 -0
  245. /package/dist/shared/{index-ByQyMTPg.mjs → index-DvXzDAmi.mjs} +0 -0
  246. /package/dist/shared/{index-EIFVul2W.cjs → index-O6K0DO_k.cjs} +0 -0
  247. /package/dist/shared/{index-B3XwO-Lc.mjs → index-QN7-6GpS.mjs} +0 -0
  248. /package/dist/shared/{index-CVWru9T3.cjs → index-_Bagw0Pj.cjs} +0 -0
  249. /package/dist/shared/{index.vue_vue_type_script_setup_true_lang-BnIolx5s.cjs → index.vue_vue_type_script_setup_true_lang-2ZOn9XPM.cjs} +0 -0
  250. /package/dist/shared/{index.vue_vue_type_script_setup_true_lang-wG7OTsWa.mjs → index.vue_vue_type_script_setup_true_lang-DM0MGPZh.mjs} +0 -0
  251. /package/dist/shared/{index.vue_vue_type_style_index_0_lang-CVdFZeHK.mjs → index.vue_vue_type_style_index_0_lang-90f2jQr7.mjs} +0 -0
  252. /package/dist/shared/{index.vue_vue_type_style_index_0_lang-hbNK_h45.cjs → index.vue_vue_type_style_index_0_lang-BNL5vyrU.cjs} +0 -0
  253. /package/dist/shared/{index.vue_vue_type_style_index_0_lang-gs0YJI91.mjs → index.vue_vue_type_style_index_0_lang-BvBAR8A1.mjs} +0 -0
  254. /package/dist/shared/{index.vue_vue_type_style_index_0_lang-C1n-zAZh.mjs → index.vue_vue_type_style_index_0_lang-C7L66EnO.mjs} +0 -0
  255. /package/dist/shared/{index.vue_vue_type_style_index_0_lang-Tzo8o6M8.mjs → index.vue_vue_type_style_index_0_lang-CN3dJjUV.mjs} +0 -0
  256. /package/dist/shared/{index.vue_vue_type_style_index_0_lang-CPxbKjvY.mjs → index.vue_vue_type_style_index_0_lang-CNdV3Mnk.mjs} +0 -0
  257. /package/dist/shared/{index.vue_vue_type_style_index_0_lang-B1FgJZbw.mjs → index.vue_vue_type_style_index_0_lang-CgScSrRJ.mjs} +0 -0
  258. /package/dist/shared/{index.vue_vue_type_style_index_0_lang-DFAaBzkW.cjs → index.vue_vue_type_style_index_0_lang-Clt7QDAK.cjs} +0 -0
  259. /package/dist/shared/{index.vue_vue_type_style_index_0_lang-WGzoSatU.cjs → index.vue_vue_type_style_index_0_lang-CvlRVqcl.cjs} +0 -0
  260. /package/dist/shared/{index.vue_vue_type_style_index_0_lang-KHk9wRYT.mjs → index.vue_vue_type_style_index_0_lang-DGt78p3G.mjs} +0 -0
  261. /package/dist/shared/{index.vue_vue_type_style_index_0_lang-BXTkWo5P.cjs → index.vue_vue_type_style_index_0_lang-J7wvS2CR.cjs} +0 -0
  262. /package/dist/shared/{index.vue_vue_type_style_index_0_lang-DVXf-yUs.cjs → index.vue_vue_type_style_index_0_lang-YEjVWWsy.cjs} +0 -0
  263. /package/dist/shared/{index.vue_vue_type_style_index_0_lang-D9DraThL.cjs → index.vue_vue_type_style_index_0_lang-nS-EDK4t.cjs} +0 -0
  264. /package/dist/shared/{index.vue_vue_type_style_index_0_lang-BnPRHCwR.cjs → index.vue_vue_type_style_index_0_lang-yci929so.cjs} +0 -0
@@ -0,0 +1,285 @@
1
+ import { defineComponent as H, useAttrs as J, ref as x, computed as w, watch as D, onMounted as Q, nextTick as X, onBeforeUnmount as Y, openBlock as m, createElementBlock as v, normalizeStyle as Z, normalizeClass as ee, createElementVNode as g, createBlock as I, unref as u, withCtx as _, Fragment as ae, renderList as te, createCommentVNode as R, createVNode as q, mergeProps as le, createTextVNode as re } from "vue";
2
+ import { useFormDisabled as se, ElMessage as S, ElSelect as ne, ElOption as ie, ElInput as ue, ElPopover as oe, ElButton as de, ElUpload as ce } from "element-plus";
3
+ import { a as fe } from "./js.cookie-BA-dL3zT.mjs";
4
+ import { _ as me } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
5
+ function A(l) {
6
+ const n = l == null ? void 0 : l.match(/(\[url\:(.*?)\])(.*)/);
7
+ return n ? {
8
+ imageUrl: n[2],
9
+ text: n[3]
10
+ } : {
11
+ imageUrl: "",
12
+ text: l || ""
13
+ };
14
+ }
15
+ function pe(l) {
16
+ const n = String(l || "").match(/(\[url\:.*?\])([\s\S]*)/);
17
+ return n ? n[2] : l;
18
+ }
19
+ function N(l, n) {
20
+ return n ? `[url:${n}]${l}` : l;
21
+ }
22
+ const ve = { class: "qy-remark-image__field" }, ge = {
23
+ key: 1,
24
+ class: "qy-remark-image__divider"
25
+ }, ye = { class: "qy-remark-image__upload-anchor" }, he = {
26
+ key: 0,
27
+ class: "icon-[line-md--loading-twotone-loop]",
28
+ role: "img",
29
+ "aria-hidden": "true"
30
+ }, _e = {
31
+ key: 1,
32
+ class: "icon-[ion--cloud-upload-outline]",
33
+ role: "img",
34
+ "aria-hidden": "true"
35
+ }, be = {
36
+ key: 2,
37
+ class: "icon-[ph--images-thin]",
38
+ role: "img",
39
+ "aria-hidden": "true"
40
+ }, ke = { class: "qy-remark-image__popover" }, xe = ["src"], we = { class: "qy-remark-image__popover-footer" }, qe = /* @__PURE__ */ H({
41
+ __name: "index",
42
+ props: {
43
+ defaultValue: { default: "" },
44
+ defaultImage: { default: "" },
45
+ rows: { default: 6 },
46
+ width: { default: "" },
47
+ autosize: { type: [Boolean, Object], default: !1 },
48
+ disabled: { type: Boolean, default: void 0 },
49
+ placeholder: { default: "粘贴图片上传" },
50
+ type: { default: "textarea" },
51
+ layout: { default: "default" },
52
+ selectValue: { type: [String, Number, Boolean], default: "" },
53
+ selectOptions: { default: () => [] },
54
+ selectDisabled: { type: Boolean, default: !1 },
55
+ api: { default: "/permission-api/common/uploads" },
56
+ tokenKey: { default: "Admin-Token" },
57
+ uploadName: { default: "files" },
58
+ uploadRequest: {}
59
+ },
60
+ emits: ["change", "update:selectValue", "select-change"],
61
+ setup(l, { expose: n, emit: P }) {
62
+ const r = l, V = P, L = J(), d = se(), E = x(null), f = x(""), s = x(""), p = x(!1);
63
+ let y = 0, c;
64
+ function h() {
65
+ y++, c == null || c.abort(), c = void 0, p.value = !1;
66
+ }
67
+ const b = w(
68
+ () => r.layout === "select-prefix"
69
+ ), O = w(() => ({
70
+ "qy-remark-image--select-prefix": b.value
71
+ })), T = w(
72
+ () => b.value || r.type === "text" ? "text" : "textarea"
73
+ ), F = w(() => {
74
+ if (r.width)
75
+ return {
76
+ width: typeof r.width == "number" ? `${r.width}px` : r.width
77
+ };
78
+ });
79
+ D(
80
+ () => r.defaultValue,
81
+ (e) => {
82
+ const a = A(e || ""), t = a.imageUrl || r.defaultImage || "";
83
+ (a.text !== f.value || t !== s.value) && h(), f.value = a.text, s.value = t;
84
+ },
85
+ { immediate: !0 }
86
+ ), D(
87
+ () => r.defaultImage,
88
+ (e) => {
89
+ e !== void 0 && !A(r.defaultValue || "").imageUrl && ((e || "") !== s.value && h(), s.value = e || "");
90
+ },
91
+ { immediate: !0 }
92
+ ), Q(() => {
93
+ X(K);
94
+ }), Y(() => {
95
+ h();
96
+ const e = B();
97
+ e && e.removeEventListener("paste", U);
98
+ });
99
+ function B() {
100
+ var e, a;
101
+ return ((e = E.value) == null ? void 0 : e.textarea) || ((a = E.value) == null ? void 0 : a.input) || null;
102
+ }
103
+ function K() {
104
+ const e = B();
105
+ e && (e.removeEventListener("paste", U), e.addEventListener("paste", U));
106
+ }
107
+ function $(e) {
108
+ d.value || (f.value = pe(e || ""));
109
+ }
110
+ function j(e) {
111
+ d.value || r.selectDisabled || (V("update:selectValue", e), V("select-change", e));
112
+ }
113
+ function z() {
114
+ d.value || (h(), s.value = "", k());
115
+ }
116
+ function M() {
117
+ h(), f.value = "", s.value = "", k();
118
+ }
119
+ async function U(e) {
120
+ var i;
121
+ if (d.value || p.value) return;
122
+ const t = Array.from(((i = e.clipboardData) == null ? void 0 : i.files) || []).find((o) => o.type.startsWith("image/"));
123
+ t && (e.preventDefault(), await C({
124
+ file: t,
125
+ onError: () => {
126
+ },
127
+ onProgress: () => {
128
+ },
129
+ onSuccess: () => {
130
+ }
131
+ }));
132
+ }
133
+ async function C(e) {
134
+ var t, i;
135
+ if (d.value || p.value) return !1;
136
+ if (e.file.size > 51200 * 1e3)
137
+ return S.error("图片过大"), !1;
138
+ p.value = !0;
139
+ const a = ++y;
140
+ c = r.uploadRequest ? void 0 : new AbortController();
141
+ try {
142
+ const o = await W(e, c == null ? void 0 : c.signal);
143
+ return a !== y ? !1 : (s.value = G(o), k(), S.success("上传图片成功"), (t = e.onSuccess) == null || t.call(e, o), !0);
144
+ } catch (o) {
145
+ return a !== y || ((i = e.onError) == null || i.call(e, o), S.error("上传失败")), !1;
146
+ } finally {
147
+ a === y && (p.value = !1, c = void 0);
148
+ }
149
+ }
150
+ async function W(e, a) {
151
+ const t = new FormData();
152
+ if (t.append(r.uploadName, e.file), r.uploadRequest)
153
+ return r.uploadRequest({
154
+ file: e.file,
155
+ formData: t,
156
+ options: e,
157
+ api: r.api,
158
+ tokenKey: r.tokenKey
159
+ });
160
+ const i = fe.get(r.tokenKey);
161
+ return (await fetch(r.api, {
162
+ method: "POST",
163
+ signal: a,
164
+ body: t,
165
+ credentials: "include",
166
+ headers: i ? { Authorization: `Bearer ${i}` } : void 0
167
+ })).json();
168
+ }
169
+ function G(e) {
170
+ var i, o;
171
+ if (typeof e == "string") return e;
172
+ const a = e, t = (a == null ? void 0 : a.urls) ?? ((i = a == null ? void 0 : a.data) == null ? void 0 : i.urls) ?? ((o = a == null ? void 0 : a.data) == null ? void 0 : o.url) ?? (a == null ? void 0 : a.url) ?? "";
173
+ return Array.isArray(t) ? t[0] || "" : t || "";
174
+ }
175
+ function k() {
176
+ V(
177
+ "change",
178
+ N(f.value || "", s.value || ""),
179
+ s.value || ""
180
+ );
181
+ }
182
+ return n({
183
+ deleteImage: z,
184
+ // 兼容旧 remarkImage,在表单 reset/clearFrom 时清空文字和图片。
185
+ clearContent: M,
186
+ // 给表单保存或外部调试读取当前拆分值。
187
+ getValue: () => ({
188
+ text: f.value || "",
189
+ imageUrl: s.value || "",
190
+ value: N(f.value || "", s.value || "")
191
+ })
192
+ }), (e, a) => (m(), v("div", {
193
+ class: ee(["qy-remark-image", O.value]),
194
+ style: Z(F.value)
195
+ }, [
196
+ g("div", ve, [
197
+ b.value ? (m(), I(u(ne), {
198
+ key: 0,
199
+ class: "qy-remark-image__prefix-select",
200
+ "model-value": l.selectValue,
201
+ options: l.selectOptions,
202
+ disabled: u(d) || l.selectDisabled,
203
+ size: "small",
204
+ "onUpdate:modelValue": j
205
+ }, {
206
+ default: _(() => [
207
+ (m(!0), v(ae, null, te(l.selectOptions, (t) => (m(), I(u(ie), {
208
+ key: String(t.value),
209
+ label: t.label,
210
+ value: t.value,
211
+ disabled: t.disabled
212
+ }, null, 8, ["label", "value", "disabled"]))), 128))
213
+ ]),
214
+ _: 1
215
+ }, 8, ["model-value", "options", "disabled"])) : R("", !0),
216
+ b.value ? (m(), v("span", ge)) : R("", !0),
217
+ q(u(ue), le({
218
+ ref_key: "inputRef",
219
+ ref: E,
220
+ "model-value": f.value,
221
+ type: T.value,
222
+ rows: l.rows,
223
+ autosize: l.autosize,
224
+ disabled: u(d),
225
+ placeholder: l.placeholder
226
+ }, u(L), {
227
+ "onUpdate:modelValue": $,
228
+ onBlur: k
229
+ }), null, 16, ["model-value", "type", "rows", "autosize", "disabled", "placeholder"]),
230
+ q(u(oe), {
231
+ placement: "top-start",
232
+ width: 400,
233
+ trigger: "hover",
234
+ disabled: !s.value
235
+ }, {
236
+ reference: _(() => [
237
+ g("div", ye, [
238
+ q(u(ce), {
239
+ disabled: p.value || u(d),
240
+ class: "qy-remark-image__upload",
241
+ "show-file-list": !1,
242
+ "http-request": C
243
+ }, {
244
+ default: _(() => [
245
+ p.value ? (m(), v("span", he)) : s.value ? (m(), v("span", be)) : (m(), v("span", _e))
246
+ ]),
247
+ _: 1
248
+ }, 8, ["disabled"])
249
+ ])
250
+ ]),
251
+ default: _(() => [
252
+ g("div", ke, [
253
+ g("img", {
254
+ src: s.value,
255
+ class: "qy-remark-image__preview-img"
256
+ }, null, 8, xe),
257
+ g("div", we, [
258
+ a[1] || (a[1] = g("span", { class: "qy-remark-image__popover-tip" }, "再次点击按钮可更换图片", -1)),
259
+ q(u(de), {
260
+ link: "",
261
+ size: "small",
262
+ type: "danger",
263
+ disabled: u(d),
264
+ onClick: z
265
+ }, {
266
+ default: _(() => [...a[0] || (a[0] = [
267
+ re(" 删除图片 ", -1)
268
+ ])]),
269
+ _: 1
270
+ }, 8, ["disabled"])
271
+ ])
272
+ ])
273
+ ]),
274
+ _: 1
275
+ }, 8, ["disabled"])
276
+ ])
277
+ ], 6));
278
+ }
279
+ }), Be = /* @__PURE__ */ me(qe, [["__scopeId", "data-v-50037758"]]);
280
+ export {
281
+ Be as C,
282
+ N as a,
283
+ pe as f,
284
+ A as p
285
+ };
@@ -0,0 +1,124 @@
1
+ import { defineComponent as $, ref as g, onBeforeUnmount as x, computed as l, watch as P, openBlock as w, createElementBlock as N, normalizeStyle as Q, normalizeClass as V, createBlock as U, unref as i, withCtx as u, renderSlot as d, createElementVNode as m, createVNode as f, createCommentVNode as j } from "vue";
2
+ import { ElImage as D, ElIcon as _ } from "element-plus";
3
+ import { PictureFilled as z } from "@element-plus/icons-vue";
4
+ import { n as I, r as F, o as O } from "./utils-DpZkMLkb.mjs";
5
+ import { _ as R } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
6
+ const A = { class: "qy-image__state qy-image__state--error" }, G = { class: "qy-image__state qy-image__state--empty" }, H = /* @__PURE__ */ $({
7
+ name: "QyImage",
8
+ __name: "index",
9
+ props: {
10
+ src: { default: "" },
11
+ alt: { default: "" },
12
+ width: {},
13
+ height: {},
14
+ size: { default: 64 },
15
+ fit: { default: "cover" },
16
+ placeholder: { type: Boolean, default: !0 },
17
+ lazy: { type: Boolean, default: !0 },
18
+ compressor: { type: [Boolean, Object], default: !0 },
19
+ preview: { type: Boolean, default: !1 },
20
+ previewList: { default: () => [] },
21
+ initialIndex: { default: 0 }
22
+ },
23
+ emits: ["load", "error", "fallback", "preview"],
24
+ setup(s, { emit: q }) {
25
+ const t = s, n = q, a = g(!1), o = g("");
26
+ let c = 0;
27
+ x(() => {
28
+ c += 1;
29
+ });
30
+ const p = l(() => I(t.src)), v = l(() => ({
31
+ width: t.width ?? t.size,
32
+ height: t.height ?? t.size
33
+ })), B = l(() => ({
34
+ width: h(v.value.width),
35
+ height: h(v.value.height)
36
+ })), S = l(() => t.placeholder || a.value), y = l(() => t.preview && !!p.value), k = l(() => (t.previewList.length ? t.previewList : [t.src]).map((r) => I(r)).filter(Boolean));
37
+ P(
38
+ () => [t.src, t.compressor],
39
+ E,
40
+ {
41
+ immediate: !0,
42
+ deep: !0
43
+ }
44
+ );
45
+ async function E() {
46
+ const e = ++c;
47
+ if (o.value = "", a.value = !1, !!t.src)
48
+ try {
49
+ const r = await F(t.src, {
50
+ compressor: t.compressor
51
+ });
52
+ if (e !== c) return;
53
+ o.value = r.src, r.source === "fallback" && n("fallback", r.src);
54
+ } catch {
55
+ if (e !== c) return;
56
+ a.value = !1, o.value = p.value;
57
+ }
58
+ }
59
+ function b(e) {
60
+ n("load", e);
61
+ }
62
+ function C(e) {
63
+ a.value = !0, n("error", e);
64
+ }
65
+ function L() {
66
+ y.value && (O({
67
+ urlList: k.value,
68
+ initialIndex: t.initialIndex
69
+ }), n("preview", p.value));
70
+ }
71
+ function h(e) {
72
+ return typeof e == "number" ? `${e}px` : e;
73
+ }
74
+ return (e, r) => (w(), N("div", {
75
+ class: V(["qy-image", { "qy-image--previewable": y.value }]),
76
+ style: Q(B.value),
77
+ onClick: L
78
+ }, [
79
+ o.value && !a.value ? (w(), U(i(D), {
80
+ key: 0,
81
+ class: "qy-image__inner",
82
+ src: o.value,
83
+ alt: s.alt,
84
+ fit: s.fit,
85
+ lazy: s.lazy,
86
+ onLoad: b,
87
+ onError: C
88
+ }, {
89
+ placeholder: u(() => [
90
+ d(e.$slots, "placeholder", {}, () => [
91
+ r[0] || (r[0] = m("div", { class: "qy-image__state" }, [
92
+ m("span", { class: "qy-image__loading" })
93
+ ], -1))
94
+ ], !0)
95
+ ]),
96
+ error: u(() => [
97
+ d(e.$slots, "error", {}, () => [
98
+ m("div", A, [
99
+ f(i(_), { size: 20 }, {
100
+ default: u(() => [
101
+ f(i(z))
102
+ ]),
103
+ _: 1
104
+ })
105
+ ])
106
+ ], !0)
107
+ ]),
108
+ _: 3
109
+ }, 8, ["src", "alt", "fit", "lazy"])) : a.value && e.$slots.error ? d(e.$slots, "error", {}, void 0, !0, 1) : S.value ? d(e.$slots, "empty", {}, () => [
110
+ m("div", G, [
111
+ f(i(_), { size: 20 }, {
112
+ default: u(() => [
113
+ f(i(z))
114
+ ]),
115
+ _: 1
116
+ })
117
+ ])
118
+ ], !0, 2) : j("", !0)
119
+ ], 6));
120
+ }
121
+ }), X = /* @__PURE__ */ R(H, [["__scopeId", "data-v-7efa59d9"]]);
122
+ export {
123
+ X as I
124
+ };
@@ -0,0 +1 @@
1
+ "use strict";const e=require("vue"),y=require("element-plus"),_=require("./_plugin-vue_export-helper-BHFhmbuH.cjs");var x={name:"zh-cn",el:{breadcrumb:{label:"面包屑"},colorpicker:{confirm:"确定",clear:"清空",defaultLabel:"颜色选择器",description:"当前颜色 {color},按 Enter 键选择新颜色",alphaLabel:"选择透明度的值",alphaDescription:"透明度 {alpha}, 当前颜色 {color}",hueLabel:"选择色相值",hueDescription:"色相 {hue}, 当前颜色 {color}",svLabel:"选择饱和度与明度的值",svDescription:"饱和度 {saturation}, 明度 {brightness}, 当前颜色 {color}",predefineDescription:"选择 {value} 作为颜色"},datepicker:{now:"此刻",today:"今天",cancel:"取消",clear:"清空",confirm:"确定",dateTablePrompt:"使用方向键与 Enter 键可选择日期",monthTablePrompt:"使用方向键与 Enter 键可选择月份",quarterTablePrompt:"使用方向键与 Enter 键可选择季度",yearTablePrompt:"使用方向键与 Enter 键可选择年份",selectedDate:"已选日期",selectDate:"选择日期",selectTime:"选择时间",startDate:"开始日期",startTime:"开始时间",endDate:"结束日期",endTime:"结束时间",prevYear:"前一年",nextYear:"后一年",prevMonth:"上个月",nextMonth:"下个月",year:"年",month1:"1 月",month2:"2 月",month3:"3 月",month4:"4 月",month5:"5 月",month6:"6 月",month7:"7 月",month8:"8 月",month9:"9 月",month10:"10 月",month11:"11 月",month12:"12 月",weeks:{sun:"日",mon:"一",tue:"二",wed:"三",thu:"四",fri:"五",sat:"六"},weeksFull:{sun:"星期日",mon:"星期一",tue:"星期二",wed:"星期三",thu:"星期四",fri:"星期五",sat:"星期六"},months:{jan:"一月",feb:"二月",mar:"三月",apr:"四月",may:"五月",jun:"六月",jul:"七月",aug:"八月",sep:"九月",oct:"十月",nov:"十一月",dec:"十二月"}},input:{characters:"{count} / {max} 个字符"},inputNumber:{decrease:"减少数值",increase:"增加数值"},select:{loading:"加载中",noMatch:"无匹配数据",noData:"无数据",placeholder:"请选择"},mention:{loading:"加载中"},dropdown:{toggleDropdown:"切换下拉选项"},cascader:{noMatch:"无匹配数据",loading:"加载中",placeholder:"请选择",noData:"暂无数据"},pagination:{goto:"前往",pagesize:"条/页",total:"共 {total} 条",pageClassifier:"页",page:"页",prev:"上一页",next:"下一页",currentPage:"第 {pager} 页",prevPages:"向前 {pager} 页",nextPages:"向后 {pager} 页",deprecationWarning:"你使用了一些已被废弃的用法,请参考 el-pagination 的官方文档"},dialog:{close:"关闭此对话框"},drawer:{close:"关闭此对话框"},messagebox:{title:"提示",confirm:"确定",cancel:"取消",error:"输入的数据不合法!",close:"关闭此对话框"},upload:{deleteTip:"按 Delete 键可删除",delete:"删除",preview:"查看图片",continue:"继续上传"},slider:{defaultLabel:"滑块介于 {min} 至 {max}",defaultRangeStartLabel:"选择起始值",defaultRangeEndLabel:"选择结束值"},table:{emptyText:"暂无数据",confirmFilter:"筛选",resetFilter:"重置",clearFilter:"全部",sumText:"合计",selectAllLabel:"选择所有行",selectRowLabel:"选择当前行",expandRowLabel:"展开当前行",collapseRowLabel:"收起当前行",sortLabel:"按 {column} 排序",filterLabel:"按 {column} 过滤"},tag:{close:"关闭此标签"},tour:{next:"下一步",previous:"上一步",finish:"结束导览",close:"关闭此对话框"},tree:{emptyText:"暂无数据"},transfer:{noMatch:"无匹配数据",noData:"无数据",titles:["列表 1","列表 2"],filterPlaceholder:"请输入搜索内容",noCheckedFormat:"共 {total} 项",hasCheckedFormat:"已选 {checked}/{total} 项"},image:{error:"加载失败"},pageHeader:{title:"返回"},popconfirm:{confirmButtonText:"确定",cancelButtonText:"取消"},carousel:{leftArrow:"上一张幻灯片",rightArrow:"下一张幻灯片",indicator:"幻灯片切换至索引 {index}"},inputOTP:{groupLabel:"一次性密码输入框",defaultLabel:"请输入第 {index} 位 OTP 字符"}}};const S=e.defineComponent({__name:"ElementPaginationRenderer",props:{total:{},currentPage:{},pageSize:{},pageSizes:{},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},layout:{},pagerCount:{}},emits:["page-change","page-size-change"],setup(r,{emit:v}){const t=r,m=v,c=e.computed(()=>t.disabled||t.loading),u=e.computed(()=>t.layout!==void 0?t.layout.join(", "):t.pageSizes.length>1?"sizes, prev, pager, next":"prev, pager, next"),d=e.computed(()=>{const n=t.pagerCount??7;return Number.isInteger(n)&&n>=5&&n<=21&&n%2===1?n:7}),p=e.ref(null),i=e.ref(null);let g=0;function h(){var n,s;(s=(n=i.value)==null?void 0:n.querySelector('.el-pagination__sizes [role="combobox"]'))==null||s.setAttribute("aria-label","每页条数")}e.onMounted(h),e.onUpdated(h);function b(n){if(!c.value){if(p.value!==null){p.value=null;return}n!==t.currentPage&&m("page-change",n)}}function f(n){if(c.value)return;p.value=n;const s=++g;Promise.resolve().then(()=>{g===s&&(p.value=null)}),m("page-size-change",n)}return(n,s)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"rendererRef",ref:i,class:"qy-pagination-element-renderer","data-testid":"qy-pagination-element-renderer"},[e.createVNode(e.unref(y.ElConfigProvider),{locale:e.unref(x)},{default:e.withCtx(()=>[e.createVNode(e.unref(y.ElPagination),{layout:u.value,total:r.total,"current-page":r.currentPage,"page-size":r.pageSize,"page-sizes":[...r.pageSizes],"pager-count":d.value,disabled:c.value,teleported:!1,"onUpdate:currentPage":b,"onUpdate:pageSize":f},null,8,["layout","total","current-page","page-size","page-sizes","pager-count","disabled"])]),_:1},8,["locale"])],512))}}),C=_._export_sfc(S,[["__scopeId","data-v-4815a52b"]]),N=["aria-busy"],D={class:"qy-pagination__info"},T={class:"qy-pagination__total"},w={class:"qy-pagination__summary"},E={class:"qy-pagination__controls"},L=e.defineComponent({__name:"index",props:{layout:{},pagerCount:{},total:{},page:{},pageSize:{},pageSizeOptions:{default:()=>[10,20,50]},hideOnSinglePage:{type:Boolean,default:!1},disabled:{type:Boolean},loading:{type:Boolean},binding:{}},emits:["page-change","page-size-change"],setup(r,{emit:v}){const t=r,m=v;function c(a,o){const l=Number(a);return Number.isInteger(l)&&l>0?l:o}const u=e.computed(()=>{var o;const a=Number(t.total??((o=t.binding)==null?void 0:o.total)??0);return Number.isFinite(a)&&a>=0?a:0}),d=e.computed(()=>{var a;return c(t.pageSize??((a=t.binding)==null?void 0:a.pageSize),10)}),p=e.computed(()=>{const o=(Array.isArray(t.pageSizeOptions)?t.pageSizeOptions:[]).map(l=>Number(l)).filter(l=>Number.isInteger(l)&&l>0);return[...new Set([...o,d.value])].sort((l,P)=>l-P)}),i=e.computed(()=>Math.max(1,Math.ceil(u.value/d.value))),g=e.computed(()=>{var a;return Math.min(Math.max(1,c(t.page??((a=t.binding)==null?void 0:a.page),1)),i.value)}),h=e.computed(()=>{var a;return!!(t.disabled??((a=t.binding)==null?void 0:a.disabled))}),b=e.computed(()=>{var a;return!!(t.loading??((a=t.binding)==null?void 0:a.loading))}),f=e.computed(()=>h.value||b.value),n=e.computed(()=>u.value>0&&(!t.hideOnSinglePage||i.value>1));function s(a){var o;f.value||!Number.isInteger(a)||a<1||a>i.value||a===g.value||((o=t.binding)==null||o.setPage(a),m("page-change",a))}function z(a){var o;f.value||!Number.isInteger(a)||a<=0||a===d.value||((o=t.binding)==null||o.setPageSize(a),m("page-size-change",a))}return(a,o)=>n.value?(e.openBlock(),e.createElementBlock("nav",{key:0,class:"qy-pagination","data-testid":"qy-pagination","aria-label":"分页","aria-busy":b.value?"true":void 0},[e.createElementVNode("div",D,[e.createElementVNode("span",T,"共 "+e.toDisplayString(u.value)+" 条",1),e.createElementVNode("span",w," 第 "+e.toDisplayString(g.value)+" / "+e.toDisplayString(i.value)+" 页 ",1)]),e.createElementVNode("div",E,[e.createVNode(C,{total:u.value,"current-page":g.value,"page-size":d.value,"page-sizes":p.value,disabled:h.value,loading:b.value,layout:t.layout,"pager-count":t.pagerCount,onPageChange:s,onPageSizeChange:z},null,8,["total","current-page","page-size","page-sizes","disabled","loading","layout","pager-count"])])],8,N)):e.createCommentVNode("",!0)}}),k=_._export_sfc(L,[["__scopeId","data-v-0a5f9304"]]);exports.Pagination=k;
@@ -0,0 +1 @@
1
+ "use strict";const e=require("vue"),r=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),d={class:"qy-form-section__heading"},u={key:0,class:"qy-form-section__title"},m={key:0,class:"qy-form-section__description"},f={class:"qy-form-section__actions"},y=e.defineComponent({name:"QyFormSection",__name:"index",props:{title:{default:""},description:{default:""},tip:{default:""},tipType:{default:"info"},collapsible:{type:Boolean,default:!1},defaultExpanded:{type:Boolean,default:!0},bordered:{type:Boolean,default:!0},background:{default:"white"},bodyClass:{default:""},headerClass:{default:""}},emits:["toggle"],setup(t,{emit:a}){const n=t,s=a,l=e.ref(n.defaultExpanded);e.watch(()=>n.defaultExpanded,o=>{l.value=o});function i(){n.collapsible&&(l.value=!l.value,s("toggle",l.value))}function c(){n.collapsible&&i()}return(o,k)=>(e.openBlock(),e.createElementBlock("section",{class:e.normalizeClass(["qy-form-section",[`is-bg-${t.background}`,{"is-bordered":t.bordered,"is-collapsible":t.collapsible}]])},[e.createElementVNode("header",{class:e.normalizeClass(["qy-form-section__header",t.headerClass]),onClick:c},[e.createElementVNode("div",d,[e.renderSlot(o.$slots,"title",{},()=>[t.title?(e.openBlock(),e.createElementBlock("div",u,e.toDisplayString(t.title),1)):e.createCommentVNode("",!0)],!0),e.renderSlot(o.$slots,"description",{},()=>[t.description?(e.openBlock(),e.createElementBlock("div",m,e.toDisplayString(t.description),1)):e.createCommentVNode("",!0)],!0)]),e.createElementVNode("div",f,[e.renderSlot(o.$slots,"actions",{},void 0,!0),t.collapsible?(e.openBlock(),e.createElementBlock("button",{key:0,type:"button",class:"qy-form-section__toggle",onClick:e.withModifiers(i,["stop"])},e.toDisplayString(l.value?"收起":"展开"),1)):e.createCommentVNode("",!0)])],2),e.withDirectives(e.createElementVNode("div",{class:e.normalizeClass(["qy-form-section__body",t.bodyClass])},[e.renderSlot(o.$slots,"tip",{},()=>[t.tip?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["qy-form-section__tip",`is-${t.tipType}`])},e.toDisplayString(t.tip),3)):e.createCommentVNode("",!0)],!0),e.renderSlot(o.$slots,"default",{},void 0,!0)],2),[[e.vShow,l.value]])],2))}}),p=r._export_sfc(y,[["__scopeId","data-v-3b271926"]]);exports.Component=p;
@@ -0,0 +1,56 @@
1
+ import { defineComponent as n, computed as i, openBlock as o, createElementBlock as s, normalizeStyle as c, normalizeClass as f, renderSlot as a, createCommentVNode as r } from "vue";
2
+ import { _ as u } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
3
+ const y = {
4
+ key: 0,
5
+ class: "qy-action-bar__left"
6
+ }, m = {
7
+ key: 1,
8
+ class: "qy-action-bar__center"
9
+ }, b = {
10
+ key: 2,
11
+ class: "qy-action-bar__right"
12
+ }, p = /* @__PURE__ */ n({
13
+ name: "QyActionBar",
14
+ __name: "index",
15
+ props: {
16
+ sticky: { type: Boolean, default: !0 },
17
+ offsetBottom: { default: 0 },
18
+ bordered: { type: Boolean, default: !0 },
19
+ shadow: { type: Boolean, default: !1 },
20
+ wrap: { type: Boolean, default: !0 },
21
+ justify: { default: "between" },
22
+ background: { default: "#fff" }
23
+ },
24
+ setup(e) {
25
+ const d = e, l = i(() => ({
26
+ // offsetBottom 只负责业务偏移,安全区补偿由 CSS padding 处理。
27
+ bottom: `${d.offsetBottom}px`,
28
+ background: d.background
29
+ }));
30
+ return (t, k) => (o(), s("div", {
31
+ class: f(["qy-action-bar", [
32
+ `is-justify-${e.justify}`,
33
+ {
34
+ "is-sticky": e.sticky,
35
+ "is-bordered": e.bordered,
36
+ "is-shadow": e.shadow,
37
+ "is-wrap": e.wrap
38
+ }
39
+ ]]),
40
+ style: c(l.value)
41
+ }, [
42
+ t.$slots.left ? (o(), s("div", y, [
43
+ a(t.$slots, "left", {}, void 0, !0)
44
+ ])) : r("", !0),
45
+ t.$slots.default ? (o(), s("div", m, [
46
+ a(t.$slots, "default", {}, void 0, !0)
47
+ ])) : r("", !0),
48
+ t.$slots.right ? (o(), s("div", b, [
49
+ a(t.$slots, "right", {}, void 0, !0)
50
+ ])) : r("", !0)
51
+ ], 6));
52
+ }
53
+ }), B = /* @__PURE__ */ u(p, [["__scopeId", "data-v-d1ffc43c"]]);
54
+ export {
55
+ B as C
56
+ };
@@ -0,0 +1 @@
1
+ "use strict";const e=require("vue"),c=require("element-plus"),L=require("./js.cookie-BmJmHEx1.cjs"),O=require("./_plugin-vue_export-helper-BHFhmbuH.cjs");function x(r){const u=r==null?void 0:r.match(/(\[url\:(.*?)\])(.*)/);return u?{imageUrl:u[2],text:u[3]}:{imageUrl:"",text:r||""}}function q(r){const u=String(r||"").match(/(\[url\:.*?\])([\s\S]*)/);return u?u[2]:r}function w(r,u){return u?`[url:${u}]${r}`:r}const F={class:"qy-remark-image__field"},K={key:1,class:"qy-remark-image__divider"},M={class:"qy-remark-image__upload-anchor"},$={key:0,class:"icon-[line-md--loading-twotone-loop]",role:"img","aria-hidden":"true"},j={key:1,class:"icon-[ion--cloud-upload-outline]",role:"img","aria-hidden":"true"},W={key:2,class:"icon-[ph--images-thin]",role:"img","aria-hidden":"true"},H={class:"qy-remark-image__popover"},G=["src"],J={class:"qy-remark-image__popover-footer"},Q=e.defineComponent({__name:"index",props:{defaultValue:{default:""},defaultImage:{default:""},rows:{default:6},width:{default:""},autosize:{type:[Boolean,Object],default:!1},disabled:{type:Boolean,default:void 0},placeholder:{default:"粘贴图片上传"},type:{default:"textarea"},layout:{default:"default"},selectValue:{type:[String,Number,Boolean],default:""},selectOptions:{default:()=>[]},selectDisabled:{type:Boolean,default:!1},api:{default:"/permission-api/common/uploads"},tokenKey:{default:"Admin-Token"},uploadName:{default:"files"},uploadRequest:{}},emits:["change","update:selectValue","select-change"],setup(r,{expose:u,emit:N}){const n=r,k=N,C=e.useAttrs(),d=c.useFormDisabled(),_=e.ref(null),m=e.ref(""),o=e.ref(""),p=e.ref(!1);let v=0,f;function g(){v++,f==null||f.abort(),f=void 0,p.value=!1}const h=e.computed(()=>n.layout==="select-prefix"),U=e.computed(()=>({"qy-remark-image--select-prefix":h.value})),R=e.computed(()=>h.value||n.type==="text"?"text":"textarea"),S=e.computed(()=>{if(n.width)return{width:typeof n.width=="number"?`${n.width}px`:n.width}});e.watch(()=>n.defaultValue,t=>{const a=x(t||""),l=a.imageUrl||n.defaultImage||"";(a.text!==m.value||l!==o.value)&&g(),m.value=a.text,o.value=l},{immediate:!0}),e.watch(()=>n.defaultImage,t=>{t!==void 0&&!x(n.defaultValue||"").imageUrl&&((t||"")!==o.value&&g(),o.value=t||"")},{immediate:!0}),e.onMounted(()=>{e.nextTick(z)}),e.onBeforeUnmount(()=>{g();const t=E();t&&t.removeEventListener("paste",b)});function E(){var t,a;return((t=_.value)==null?void 0:t.textarea)||((a=_.value)==null?void 0:a.input)||null}function z(){const t=E();t&&(t.removeEventListener("paste",b),t.addEventListener("paste",b))}function I(t){d.value||(m.value=q(t||""))}function D(t){d.value||n.selectDisabled||(k("update:selectValue",t),k("select-change",t))}function V(){d.value||(g(),o.value="",y())}function P(){g(),m.value="",o.value="",y()}async function b(t){var s;if(d.value||p.value)return;const l=Array.from(((s=t.clipboardData)==null?void 0:s.files)||[]).find(i=>i.type.startsWith("image/"));l&&(t.preventDefault(),await B({file:l,onError:()=>{},onProgress:()=>{},onSuccess:()=>{}}))}async function B(t){var l,s;if(d.value||p.value)return!1;if(t.file.size>51200*1e3)return c.ElMessage.error("图片过大"),!1;p.value=!0;const a=++v;f=n.uploadRequest?void 0:new AbortController;try{const i=await A(t,f==null?void 0:f.signal);return a!==v?!1:(o.value=T(i),y(),c.ElMessage.success("上传图片成功"),(l=t.onSuccess)==null||l.call(t,i),!0)}catch(i){return a!==v||((s=t.onError)==null||s.call(t,i),c.ElMessage.error("上传失败")),!1}finally{a===v&&(p.value=!1,f=void 0)}}async function A(t,a){const l=new FormData;if(l.append(n.uploadName,t.file),n.uploadRequest)return n.uploadRequest({file:t.file,formData:l,options:t,api:n.api,tokenKey:n.tokenKey});const s=L.api.get(n.tokenKey);return(await fetch(n.api,{method:"POST",signal:a,body:l,credentials:"include",headers:s?{Authorization:`Bearer ${s}`}:void 0})).json()}function T(t){var s,i;if(typeof t=="string")return t;const a=t,l=(a==null?void 0:a.urls)??((s=a==null?void 0:a.data)==null?void 0:s.urls)??((i=a==null?void 0:a.data)==null?void 0:i.url)??(a==null?void 0:a.url)??"";return Array.isArray(l)?l[0]||"":l||""}function y(){k("change",w(m.value||"",o.value||""),o.value||"")}return u({deleteImage:V,clearContent:P,getValue:()=>({text:m.value||"",imageUrl:o.value||"",value:w(m.value||"",o.value||"")})}),(t,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["qy-remark-image",U.value]),style:e.normalizeStyle(S.value)},[e.createElementVNode("div",F,[h.value?(e.openBlock(),e.createBlock(e.unref(c.ElSelect),{key:0,class:"qy-remark-image__prefix-select","model-value":r.selectValue,options:r.selectOptions,disabled:e.unref(d)||r.selectDisabled,size:"small","onUpdate:modelValue":D},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.selectOptions,l=>(e.openBlock(),e.createBlock(e.unref(c.ElOption),{key:String(l.value),label:l.label,value:l.value,disabled:l.disabled},null,8,["label","value","disabled"]))),128))]),_:1},8,["model-value","options","disabled"])):e.createCommentVNode("",!0),h.value?(e.openBlock(),e.createElementBlock("span",K)):e.createCommentVNode("",!0),e.createVNode(e.unref(c.ElInput),e.mergeProps({ref_key:"inputRef",ref:_,"model-value":m.value,type:R.value,rows:r.rows,autosize:r.autosize,disabled:e.unref(d),placeholder:r.placeholder},e.unref(C),{"onUpdate:modelValue":I,onBlur:y}),null,16,["model-value","type","rows","autosize","disabled","placeholder"]),e.createVNode(e.unref(c.ElPopover),{placement:"top-start",width:400,trigger:"hover",disabled:!o.value},{reference:e.withCtx(()=>[e.createElementVNode("div",M,[e.createVNode(e.unref(c.ElUpload),{disabled:p.value||e.unref(d),class:"qy-remark-image__upload","show-file-list":!1,"http-request":B},{default:e.withCtx(()=>[p.value?(e.openBlock(),e.createElementBlock("span",$)):o.value?(e.openBlock(),e.createElementBlock("span",W)):(e.openBlock(),e.createElementBlock("span",j))]),_:1},8,["disabled"])])]),default:e.withCtx(()=>[e.createElementVNode("div",H,[e.createElementVNode("img",{src:o.value,class:"qy-remark-image__preview-img"},null,8,G),e.createElementVNode("div",J,[a[1]||(a[1]=e.createElementVNode("span",{class:"qy-remark-image__popover-tip"},"再次点击按钮可更换图片",-1)),e.createVNode(e.unref(c.ElButton),{link:"",size:"small",type:"danger",disabled:e.unref(d),onClick:V},{default:e.withCtx(()=>[...a[0]||(a[0]=[e.createTextVNode(" 删除图片 ",-1)])]),_:1},8,["disabled"])])])]),_:1},8,["disabled"])])],6))}}),X=O._export_sfc(Q,[["__scopeId","data-v-50037758"]]);exports.Component=X;exports.formatRemarkText=q;exports.parseRemarkText=x;exports.parseRemarkWithImage=w;
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),x=require("./index-afOuq3YX.cjs"),V=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),w=["tabindex","aria-disabled","onClick","onKeydown"],C={class:"qy-file-picker__label"},D={key:0,class:"qy-file-picker__hint"},F=["disabled"],q=e.defineComponent({name:"QyFilePicker",__name:"index",props:{modelValue:{default:null},extensions:{default:()=>[]},maxSizeMb:{default:20},disabled:{type:Boolean,default:!1},drag:{type:Boolean,default:!0},placeholder:{default:"请选择文件"}},emits:["update:modelValue","change","clear","invalid"],setup(l,{expose:b,emit:h}){const a=l,t=h,n=e.ref(null),d=e.ref(!1),v=e.computed(()=>a.modelValue?[a.modelValue]:[]);let o=!1;function p(){var i;a.disabled||(i=n.value)==null||i.openFileDialog()}function c(){var i;o=!0,(i=n.value)==null||i.clearFiles(),o=!1,t("update:modelValue",null),t("change",null),t("clear")}function g(){a.disabled||c()}function u(){!a.disabled&&a.drag&&(d.value=!0)}function f(){d.value=!1}function k(i){if(o)return;const s=i[0]??null;t("update:modelValue",s),t("change",s)}function y(i){t("invalid",i)}return b({openFileDialog:p,clear:c}),(i,s)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["qy-file-picker",{"is-disabled":l.disabled,"is-dragover":d.value}])},[e.createVNode(x.Upload,{ref_key:"uploadRef",ref:n,variant:"file-list","auto-upload":!1,"selected-files":v.value,"file-type":l.extensions,"file-size":l.maxSizeMb,disabled:l.disabled,"disable-drag":!l.drag,multiple:!1,limit:1,"show-text":!1,"show-paste-input":!1,"onUpdate:selectedFiles":k,onInvalid:y},{trigger:e.withCtx(({open:r})=>{var m;return[e.createElementVNode("div",{class:e.normalizeClass(["qy-file-picker__dropzone",{"is-click-only":!l.drag}]),role:"button",tabindex:l.disabled?-1:0,"aria-disabled":l.disabled?"true":void 0,onClick:r,onKeydown:[e.withKeys(e.withModifiers(r,["prevent"]),["enter"]),e.withKeys(e.withModifiers(r,["prevent"]),["space"])],onDragenter:e.withModifiers(u,["prevent"]),onDragover:e.withModifiers(u,["prevent"]),onDragleave:e.withModifiers(f,["prevent"]),onDrop:f},[e.createElementVNode("span",C,e.toDisplayString(((m=l.modelValue)==null?void 0:m.name)||l.placeholder),1),l.drag?(e.openBlock(),e.createElementBlock("span",D," 点击选择或拖拽单个文件到此处 ")):e.createCommentVNode("",!0)],42,w)]}),_:1},8,["selected-files","file-type","file-size","disabled","disable-drag"]),l.modelValue?(e.openBlock(),e.createElementBlock("button",{key:0,class:"qy-file-picker__clear",type:"button",disabled:l.disabled,onClick:e.withModifiers(g,["stop"])}," 清空 ",8,F)):e.createCommentVNode("",!0)],2))}}),B=V._export_sfc(q,[["__scopeId","data-v-5dba995b"]]);exports.FilePicker=B;
1
+ "use strict";const e=require("vue"),x=require("./index-BqzKToOL.cjs"),V=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),w=["tabindex","aria-disabled","onClick","onKeydown"],C={class:"qy-file-picker__label"},D={key:0,class:"qy-file-picker__hint"},F=["disabled"],q=e.defineComponent({name:"QyFilePicker",__name:"index",props:{modelValue:{default:null},extensions:{default:()=>[]},maxSizeMb:{default:20},disabled:{type:Boolean,default:!1},drag:{type:Boolean,default:!0},placeholder:{default:"请选择文件"}},emits:["update:modelValue","change","clear","invalid"],setup(l,{expose:b,emit:h}){const a=l,t=h,n=e.ref(null),d=e.ref(!1),v=e.computed(()=>a.modelValue?[a.modelValue]:[]);let o=!1;function p(){var i;a.disabled||(i=n.value)==null||i.openFileDialog()}function c(){var i;o=!0,(i=n.value)==null||i.clearFiles(),o=!1,t("update:modelValue",null),t("change",null),t("clear")}function g(){a.disabled||c()}function u(){!a.disabled&&a.drag&&(d.value=!0)}function f(){d.value=!1}function k(i){if(o)return;const s=i[0]??null;t("update:modelValue",s),t("change",s)}function y(i){t("invalid",i)}return b({openFileDialog:p,clear:c}),(i,s)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["qy-file-picker",{"is-disabled":l.disabled,"is-dragover":d.value}])},[e.createVNode(x.Upload,{ref_key:"uploadRef",ref:n,variant:"file-list","auto-upload":!1,"selected-files":v.value,"file-type":l.extensions,"file-size":l.maxSizeMb,disabled:l.disabled,"disable-drag":!l.drag,multiple:!1,limit:1,"show-text":!1,"show-paste-input":!1,"onUpdate:selectedFiles":k,onInvalid:y},{trigger:e.withCtx(({open:r})=>{var m;return[e.createElementVNode("div",{class:e.normalizeClass(["qy-file-picker__dropzone",{"is-click-only":!l.drag}]),role:"button",tabindex:l.disabled?-1:0,"aria-disabled":l.disabled?"true":void 0,onClick:r,onKeydown:[e.withKeys(e.withModifiers(r,["prevent"]),["enter"]),e.withKeys(e.withModifiers(r,["prevent"]),["space"])],onDragenter:e.withModifiers(u,["prevent"]),onDragover:e.withModifiers(u,["prevent"]),onDragleave:e.withModifiers(f,["prevent"]),onDrop:f},[e.createElementVNode("span",C,e.toDisplayString(((m=l.modelValue)==null?void 0:m.name)||l.placeholder),1),l.drag?(e.openBlock(),e.createElementBlock("span",D," 点击选择或拖拽单个文件到此处 ")):e.createCommentVNode("",!0)],42,w)]}),_:1},8,["selected-files","file-type","file-size","disabled","disable-drag"]),l.modelValue?(e.openBlock(),e.createElementBlock("button",{key:0,class:"qy-file-picker__clear",type:"button",disabled:l.disabled,onClick:e.withModifiers(g,["stop"])}," 清空 ",8,F)):e.createCommentVNode("",!0)],2))}}),B=V._export_sfc(q,[["__scopeId","data-v-5dba995b"]]);exports.FilePicker=B;
@@ -1,4 +1,4 @@
1
- import { I as o } from "./index-ByQyMTPg.mjs";
1
+ import { I as o } from "./index-DvXzDAmi.mjs";
2
2
  import { w as t } from "./install-CxBnxbuN.mjs";
3
3
  const s = t(o, "QyIcon");
4
4
  export {
@@ -0,0 +1 @@
1
+ "use strict";const e=require("vue"),d=require("element-plus"),v=require("@element-plus/icons-vue"),c=require("./utils-DpkN3Zat.cjs"),S=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),E={class:"qy-image__state qy-image__state--error"},V={class:"qy-image__state qy-image__state--empty"},B=e.defineComponent({name:"QyImage",__name:"index",props:{src:{default:""},alt:{default:""},width:{},height:{},size:{default:64},fit:{default:"cover"},placeholder:{type:Boolean,default:!0},lazy:{type:Boolean,default:!0},compressor:{type:[Boolean,Object],default:!0},preview:{type:Boolean,default:!1},previewList:{default:()=>[]},initialIndex:{default:0}},emits:["load","error","fallback","preview"],setup(i,{emit:h}){const r=i,s=h,l=e.ref(!1),o=e.ref("");let n=0;e.onBeforeUnmount(()=>{n+=1});const u=e.computed(()=>c.normalizeImageSrc(r.src)),m=e.computed(()=>({width:r.width??r.size,height:r.height??r.size})),y=e.computed(()=>({width:p(m.value.width),height:p(m.value.height)})),g=e.computed(()=>r.placeholder||l.value),f=e.computed(()=>r.preview&&!!u.value),w=e.computed(()=>(r.previewList.length?r.previewList:[r.src]).map(a=>c.normalizeImageSrc(a)).filter(Boolean));e.watch(()=>[r.src,r.compressor],_,{immediate:!0,deep:!0});async function _(){const t=++n;if(o.value="",l.value=!1,!!r.src)try{const a=await c.resolveQyImageDisplaySrc(r.src,{compressor:r.compressor});if(t!==n)return;o.value=a.src,a.source==="fallback"&&s("fallback",a.src)}catch{if(t!==n)return;l.value=!1,o.value=u.value}}function z(t){s("load",t)}function I(t){l.value=!0,s("error",t)}function q(){f.value&&(c.openQyImagePreview({urlList:w.value,initialIndex:r.initialIndex}),s("preview",u.value))}function p(t){return typeof t=="number"?`${t}px`:t}return(t,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["qy-image",{"qy-image--previewable":f.value}]),style:e.normalizeStyle(y.value),onClick:q},[o.value&&!l.value?(e.openBlock(),e.createBlock(e.unref(d.ElImage),{key:0,class:"qy-image__inner",src:o.value,alt:i.alt,fit:i.fit,lazy:i.lazy,onLoad:z,onError:I},{placeholder:e.withCtx(()=>[e.renderSlot(t.$slots,"placeholder",{},()=>[a[0]||(a[0]=e.createElementVNode("div",{class:"qy-image__state"},[e.createElementVNode("span",{class:"qy-image__loading"})],-1))],!0)]),error:e.withCtx(()=>[e.renderSlot(t.$slots,"error",{},()=>[e.createElementVNode("div",E,[e.createVNode(e.unref(d.ElIcon),{size:20},{default:e.withCtx(()=>[e.createVNode(e.unref(v.PictureFilled))]),_:1})])],!0)]),_:3},8,["src","alt","fit","lazy"])):l.value&&t.$slots.error?e.renderSlot(t.$slots,"error",{},void 0,!0,1):g.value?e.renderSlot(t.$slots,"empty",{},()=>[e.createElementVNode("div",V,[e.createVNode(e.unref(d.ElIcon),{size:20},{default:e.withCtx(()=>[e.createVNode(e.unref(v.PictureFilled))]),_:1})])],!0,2):e.createCommentVNode("",!0)],6))}}),k=S._export_sfc(B,[["__scopeId","data-v-7efa59d9"]]);exports.Image=k;