@qynpm/ui 1.0.28 → 1.0.32

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 (179) hide show
  1. package/README.md +167 -8
  2. package/dist/index.cjs +9 -4
  3. package/dist/index.mjs +90 -62
  4. package/dist/qy-action-bar/index.cjs +1 -1
  5. package/dist/qy-action-bar/index.mjs +1 -1
  6. package/dist/qy-aside/index.cjs +1 -0
  7. package/dist/qy-aside/index.mjs +7 -0
  8. package/dist/qy-cascader/index.cjs +1 -1
  9. package/dist/qy-cascader/index.mjs +1 -1
  10. package/dist/qy-checkbox/index.cjs +1 -1
  11. package/dist/qy-checkbox/index.mjs +1 -1
  12. package/dist/qy-checkbox-group/index.cjs +1 -1
  13. package/dist/qy-checkbox-group/index.mjs +1 -1
  14. package/dist/qy-col/index.cjs +1 -0
  15. package/dist/qy-col/index.mjs +7 -0
  16. package/dist/qy-collapse/index.cjs +1 -1
  17. package/dist/qy-collapse/index.mjs +1 -1
  18. package/dist/qy-container/index.cjs +1 -0
  19. package/dist/qy-container/index.mjs +7 -0
  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 +1 -1
  23. package/dist/qy-dialog/index.mjs +1 -1
  24. package/dist/qy-drawer/index.cjs +1 -0
  25. package/dist/qy-drawer/index.mjs +5 -0
  26. package/dist/qy-file-picker/index.cjs +1 -1
  27. package/dist/qy-file-picker/index.mjs +1 -1
  28. package/dist/qy-form-section/index.cjs +1 -1
  29. package/dist/qy-form-section/index.mjs +2 -2
  30. package/dist/qy-fullscreen/index.cjs +1 -0
  31. package/dist/qy-fullscreen/index.mjs +7 -0
  32. package/dist/qy-icon/index.cjs +1 -0
  33. package/dist/qy-icon/index.mjs +11 -0
  34. package/dist/qy-icon-picker/index.cjs +5 -0
  35. package/dist/qy-icon-picker/index.mjs +11 -0
  36. package/dist/qy-image-upload/index.cjs +1 -1
  37. package/dist/qy-image-upload/index.mjs +1 -1
  38. package/dist/qy-input/index.cjs +1 -1
  39. package/dist/qy-input/index.mjs +4 -5
  40. package/dist/qy-input-number/index.cjs +2 -2
  41. package/dist/qy-input-number/index.mjs +2 -2
  42. package/dist/qy-legacy-selection-dialog/index.cjs +1 -1
  43. package/dist/qy-legacy-selection-dialog/index.mjs +1 -1
  44. package/dist/qy-link/index.cjs +1 -1
  45. package/dist/qy-link/index.mjs +1 -1
  46. package/dist/qy-loading/index.cjs +1 -0
  47. package/dist/qy-loading/index.mjs +9 -0
  48. package/dist/qy-main/index.cjs +1 -0
  49. package/dist/qy-main/index.mjs +7 -0
  50. package/dist/qy-menu-actions/index.cjs +1 -1
  51. package/dist/qy-menu-actions/index.mjs +1 -1
  52. package/dist/qy-money-input/index.cjs +1 -1
  53. package/dist/qy-money-input/index.mjs +1 -1
  54. package/dist/qy-popover/index.cjs +1 -1
  55. package/dist/qy-popover/index.mjs +1 -1
  56. package/dist/qy-radio/index.cjs +1 -1
  57. package/dist/qy-radio/index.mjs +1 -1
  58. package/dist/qy-radio-group/index.cjs +1 -1
  59. package/dist/qy-radio-group/index.mjs +1 -1
  60. package/dist/qy-record-quote-search/index.cjs +1 -1
  61. package/dist/qy-record-quote-search/index.mjs +1 -1
  62. package/dist/qy-remark-image/index.cjs +1 -1
  63. package/dist/qy-remark-image/index.mjs +1 -1
  64. package/dist/qy-remote-select/index.cjs +1 -1
  65. package/dist/qy-remote-select/index.mjs +1 -1
  66. package/dist/qy-result/index.cjs +1 -0
  67. package/dist/qy-result/index.mjs +7 -0
  68. package/dist/qy-row/index.cjs +1 -0
  69. package/dist/qy-row/index.mjs +7 -0
  70. package/dist/qy-search-input/index.cjs +1 -1
  71. package/dist/qy-search-input/index.mjs +1 -1
  72. package/dist/qy-select/index.cjs +1 -1
  73. package/dist/qy-select/index.mjs +1 -1
  74. package/dist/qy-selection-dialog/index.cjs +1 -1
  75. package/dist/qy-selection-dialog/index.mjs +1 -1
  76. package/dist/qy-statistic/index.cjs +1 -0
  77. package/dist/qy-statistic/index.mjs +7 -0
  78. package/dist/qy-switch/index.cjs +1 -1
  79. package/dist/qy-switch/index.mjs +1 -1
  80. package/dist/qy-table-column-settings/index.cjs +1 -1
  81. package/dist/qy-table-column-settings/index.mjs +1 -1
  82. package/dist/qy-tabs/index.cjs +1 -1
  83. package/dist/qy-tabs/index.mjs +1 -1
  84. package/dist/qy-tag/index.cjs +1 -1
  85. package/dist/qy-tag/index.mjs +1 -1
  86. package/dist/qy-tooltip/index.cjs +1 -1
  87. package/dist/qy-tooltip/index.mjs +1 -1
  88. package/dist/qy-tree-select/index.cjs +1 -1
  89. package/dist/qy-tree-select/index.mjs +1 -1
  90. package/dist/qy-upload/index.cjs +1 -1
  91. package/dist/qy-upload/index.mjs +1 -1
  92. package/dist/shared/{index-C7V-LeFg.mjs → index-1LT6Q6XJ.mjs} +1 -1
  93. package/dist/shared/{index-DleLvEzf.mjs → index-4wZQbpy3.mjs} +1039 -1002
  94. package/dist/shared/index-AirHUQwm.cjs +1 -0
  95. package/dist/shared/index-B1zDCCqy.mjs +78 -0
  96. package/dist/shared/index-B6xIO6kg.cjs +1 -0
  97. package/dist/shared/{index-B9RYNZUh.cjs → index-BWDaV6FO.cjs} +1 -1
  98. package/dist/shared/index-BmJPEXUM.mjs +222 -0
  99. package/dist/shared/{index.vue_vue_type_style_index_0_lang-aqtfjdVm.mjs → index-Bs2OQHXk.mjs} +33 -31
  100. package/dist/shared/index-BvKFjDgX.cjs +1 -0
  101. package/dist/shared/index-CaNxcPSD.mjs +254 -0
  102. package/dist/shared/{index-DEkng5wh.cjs → index-CwzztWPU.cjs} +1 -1
  103. package/dist/shared/index-D-YyFaZ6.cjs +1 -0
  104. package/dist/shared/{index-BTL45WYB.cjs → index-DLLDXfic.cjs} +1 -1
  105. package/dist/shared/{index-CVoiIRas.mjs → index-D_rRdrge.mjs} +1 -1
  106. package/dist/shared/{index-CYn7TvRx.mjs → index-DfR8Z9MN.mjs} +1 -1
  107. package/dist/shared/index-Dvf1zJ7h.cjs +1 -0
  108. package/dist/shared/index-rcu9CzSn.cjs +1 -0
  109. package/dist/shared/index-xuTVtF4x.mjs +6 -0
  110. package/dist/shared/index.vue_vue_type_script_lang-8AT3-xU-.cjs +1 -0
  111. package/dist/shared/index.vue_vue_type_script_lang-BaIOvoQn.mjs +43 -0
  112. package/dist/shared/index.vue_vue_type_script_lang-BgapsQjI.cjs +1 -0
  113. package/dist/shared/index.vue_vue_type_script_lang-Bk0kLg5l.mjs +34 -0
  114. package/dist/shared/index.vue_vue_type_script_lang-BnmY1ndj.mjs +77 -0
  115. package/dist/shared/index.vue_vue_type_script_lang-By3jd4gw.cjs +1 -0
  116. package/dist/shared/index.vue_vue_type_script_lang-CCL57H5c.cjs +1 -0
  117. package/dist/shared/index.vue_vue_type_script_lang-CKZUcaZ5.cjs +1 -0
  118. package/dist/shared/index.vue_vue_type_script_lang-CWnNQBPN.mjs +31 -0
  119. package/dist/shared/index.vue_vue_type_script_lang-CfjfZCT3.cjs +1 -0
  120. package/dist/shared/index.vue_vue_type_script_lang-ChS-3_vl.mjs +43 -0
  121. package/dist/shared/index.vue_vue_type_script_lang-DRvk4-_O.mjs +43 -0
  122. package/dist/shared/index.vue_vue_type_script_setup_true_lang-BLF3RNlY.mjs +331 -0
  123. package/dist/shared/index.vue_vue_type_script_setup_true_lang-BXnZt9UT.mjs +63 -0
  124. package/dist/shared/{index.vue_vue_type_script_setup_true_lang-DXtovY1E.mjs → index.vue_vue_type_script_setup_true_lang-C91DUwOD.mjs} +1 -1
  125. package/dist/shared/{index.vue_vue_type_script_setup_true_lang-DXGjuA2f.cjs → index.vue_vue_type_script_setup_true_lang-CuXBYNXZ.cjs} +1 -1
  126. package/dist/shared/index.vue_vue_type_script_setup_true_lang-D7BlbHN5.cjs +1 -0
  127. package/dist/shared/{index.vue_vue_type_script_setup_true_lang-CUox3Lm-.mjs → index.vue_vue_type_script_setup_true_lang-DP-jqqo2.mjs} +1 -1
  128. package/dist/shared/{index.vue_vue_type_script_setup_true_lang-kje3Rtlw.cjs → index.vue_vue_type_script_setup_true_lang-DkDEcB4G.cjs} +1 -1
  129. package/dist/shared/index.vue_vue_type_script_setup_true_lang-S6QPMZay.cjs +1 -0
  130. package/dist/shared/index.vue_vue_type_style_index_0_lang-BJXS2dVf.mjs +126 -0
  131. package/dist/shared/index.vue_vue_type_style_index_0_lang-CL_IFx-Z.cjs +1 -0
  132. package/dist/shared/index.vue_vue_type_style_index_0_lang-CUqnwExG.mjs +80 -0
  133. package/dist/shared/index.vue_vue_type_style_index_0_lang-DXQ9l1XF.mjs +286 -0
  134. package/dist/shared/index.vue_vue_type_style_index_0_lang-M0qKRXd2.cjs +1 -0
  135. package/dist/shared/index.vue_vue_type_style_index_0_lang-lmRmXLwB.cjs +1 -0
  136. package/index.d.ts +156 -23
  137. package/package.json +74 -1
  138. package/qy-aside/index.d.ts +47 -0
  139. package/qy-col/index.d.ts +65 -0
  140. package/qy-container/index.d.ts +49 -0
  141. package/qy-drawer/index.d.ts +55 -0
  142. package/qy-fullscreen/index.d.ts +72 -0
  143. package/qy-icon/index.d.ts +105 -0
  144. package/qy-icon-picker/index.d.ts +56 -0
  145. package/qy-loading/index.d.ts +25 -0
  146. package/qy-main/index.d.ts +45 -0
  147. package/qy-result/index.d.ts +64 -0
  148. package/qy-row/index.d.ts +59 -0
  149. package/qy-statistic/index.d.ts +61 -0
  150. package/dist/shared/index-B8phg478.cjs +0 -1
  151. package/dist/shared/index.vue_vue_type_script_setup_true_lang-CmQLfhRo.cjs +0 -1
  152. package/dist/shared/index.vue_vue_type_script_setup_true_lang-DobP199g.mjs +0 -63
  153. package/dist/shared/index.vue_vue_type_style_index_0_lang-C6urLjSf.cjs +0 -1
  154. package/dist/shared/index.vue_vue_type_style_index_0_lang-CVxWn-Vs.mjs +0 -121
  155. package/dist/shared/index.vue_vue_type_style_index_0_lang-Dm1r1WBK.cjs +0 -1
  156. /package/dist/shared/{index-PlyLRNmb.cjs → index-Bmw9BNXm.cjs} +0 -0
  157. /package/dist/shared/{index-UGOgNLvm.cjs → index-BpI0jwYK.cjs} +0 -0
  158. /package/dist/shared/{index-DA3GVIZY.cjs → index-BxvS3vlc.cjs} +0 -0
  159. /package/dist/shared/{index-DMiZy6gD.cjs → index-Bxz4crCd.cjs} +0 -0
  160. /package/dist/shared/{index-YsBzyp9n.mjs → index-C-ZAw_DP.mjs} +0 -0
  161. /package/dist/shared/{index-CUITnlPr.mjs → index-C31wpivi.mjs} +0 -0
  162. /package/dist/shared/{index-BqV6vW9P.cjs → index-CCZttbsg.cjs} +0 -0
  163. /package/dist/shared/{index-DjyaOKUS.cjs → index-CltDZpF9.cjs} +0 -0
  164. /package/dist/shared/{index-mTWXYnLm.mjs → index-CmRclPWX.mjs} +0 -0
  165. /package/dist/shared/{index-DvA3Wy_F.mjs → index-Co0_4YEV.mjs} +0 -0
  166. /package/dist/shared/{index-WP9Dbscv.mjs → index-D6ybNdgn.mjs} +0 -0
  167. /package/dist/shared/{index-DHJf8Zto.mjs → index-kiAR2M_e.mjs} +0 -0
  168. /package/dist/shared/{index.vue_vue_type_style_index_0_lang-CWz689KH.cjs → index.vue_vue_type_style_index_0_lang-1cTut9Ql.cjs} +0 -0
  169. /package/dist/shared/{index.vue_vue_type_style_index_0_lang-DVqGYfD9.mjs → index.vue_vue_type_style_index_0_lang-B0CXLnL1.mjs} +0 -0
  170. /package/dist/shared/{index.vue_vue_type_style_index_0_lang-DIMCVnQm.mjs → index.vue_vue_type_style_index_0_lang-CPxbKjvY.mjs} +0 -0
  171. /package/dist/shared/{index.vue_vue_type_style_index_0_lang-CJhIFeBC.mjs → index.vue_vue_type_style_index_0_lang-CcVf5MXE.mjs} +0 -0
  172. /package/dist/shared/{index.vue_vue_type_style_index_0_lang-CnL4aeg1.cjs → index.vue_vue_type_style_index_0_lang-D9DraThL.cjs} +0 -0
  173. /package/dist/shared/{index.vue_vue_type_style_index_0_lang-Cb4yMk-r.cjs → index.vue_vue_type_style_index_0_lang-DFAaBzkW.cjs} +0 -0
  174. /package/dist/shared/{index.vue_vue_type_style_index_0_lang-D1kpIund.mjs → index.vue_vue_type_style_index_0_lang-DSur831A.mjs} +0 -0
  175. /package/dist/shared/{index.vue_vue_type_style_index_0_lang-BXTkWo5P.cjs → index.vue_vue_type_style_index_0_lang-DUgOOzEZ.cjs} +0 -0
  176. /package/dist/shared/{index.vue_vue_type_style_index_0_lang-C1n-zAZh.mjs → index.vue_vue_type_style_index_0_lang-DWiolYb3.mjs} +0 -0
  177. /package/dist/shared/{index.vue_vue_type_style_index_0_lang-BtbAft4t.cjs → index.vue_vue_type_style_index_0_lang-DccRGtZE.cjs} +0 -0
  178. /package/dist/shared/{index.vue_vue_type_style_index_0_lang-Q2gFF0PP.cjs → index.vue_vue_type_style_index_0_lang-RiwA2WPO.cjs} +0 -0
  179. /package/dist/shared/{index.vue_vue_type_style_index_0_lang-dLpQXf6x.mjs → index.vue_vue_type_style_index_0_lang-gs0YJI91.mjs} +0 -0
@@ -1,56 +1,69 @@
1
- import { ElUpload as Ca, ElIcon as ct, ElPopover as Va, ElInput as qa, ElImageViewer as Ba, ElDialog as dt, ElLoadingDirective as Aa } from "element-plus/es";
2
- import { ref as q, onMounted as Je, computed as F, watch as fe, nextTick as Oe, onBeforeUnmount as ft, openBlock as v, createElementBlock as A, normalizeStyle as Pe, normalizeClass as ke, createVNode as O, withCtx as h, withModifiers as ue, unref as $, Fragment as Re, createElementVNode as z, toDisplayString as pe, createCommentVNode as P, createBlock as ce, createTextVNode as we, useAttrs as Be, mergeProps as Qe, defineComponent as qe, useSlots as mt, useModel as Ia, watchEffect as Ta, h as nt, onUnmounted as yt, resolveComponent as za, createSlots as Ue, renderSlot as R, withDirectives as Ye, vShow as pt, mergeModels as rt, renderList as et, withKeys as Ee, normalizeProps as gt, guardReactiveProps as vt, getCurrentInstance as Ra, reactive as Ze } from "vue";
3
- import { Plus as Fa, InfoFilled as Pa } from "@element-plus/icons-vue";
4
- import { ElMessage as be, ElLoading as Da, ElButton as Ve, ElSelect as ht, ElOption as bt, ElInput as Me, ElPopover as Ma, ElUpload as Oa, ElAutocomplete as Ua, ElForm as wt, ElFormItem as Ie, ElTable as La, ElTableColumn as Ka, ElPagination as _a, ElTreeSelect as Ea } from "element-plus";
5
- import { _ as Te } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
6
- import { I as ja } from "./index-hEy-3mcr.mjs";
7
- import { _ as Na } from "./index.vue_vue_type_script_setup_true_lang-DoL8xnpo.mjs";
8
- import Ha from "clsx";
9
- import { useBreakpoints as Za, useDraggable as Wa } from "@vueuse/core";
10
- import { B as Ga } from "./index-seQHtqdh.mjs";
11
- import { D as Xa } from "./index-DEZF-Fkt.mjs";
12
- import { _ as Ja } from "./index.vue_vue_type_style_index_0_lang-aqtfjdVm.mjs";
13
- import { _ as Ya } from "./index.vue_vue_type_style_index_0_lang-DVqGYfD9.mjs";
14
- import { _ as el } from "./index.vue_vue_type_style_index_0_lang-CJhIFeBC.mjs";
15
- import { C as tl } from "./index-WP9Dbscv.mjs";
16
- import { _ as al } from "./index.vue_vue_type_script_setup_true_lang-DXtovY1E.mjs";
17
- import { R as ll } from "./index-CUITnlPr.mjs";
18
- import { _ as ol } from "./index.vue_vue_type_script_setup_true_lang-EiHoQBXt.mjs";
19
- import { M as nl } from "./index-CYn7TvRx.mjs";
20
- import { T as rl } from "./index-C7V-LeFg.mjs";
21
- import { _ as il } from "./index.vue_vue_type_script_setup_true_lang-CUox3Lm-.mjs";
22
- import { S as tt } from "./index-CVoiIRas.mjs";
23
- import { T as St } from "./index-DHJf8Zto.mjs";
24
- import { T as We } from "./index-DvA3Wy_F.mjs";
25
- import { F as sl } from "./index-mTWXYnLm.mjs";
26
- import { S as ul } from "./index-YsBzyp9n.mjs";
27
- import { _ as cl } from "./index.vue_vue_type_script_lang-DIKHRo0o.mjs";
28
- import { _ as dl } from "./index.vue_vue_type_style_index_0_lang-DIMCVnQm.mjs";
29
- import { _ as fl } from "./index.vue_vue_type_style_index_0_lang-D1kpIund.mjs";
30
- import { _ as ml } from "./index.vue_vue_type_style_index_0_lang-CVxWn-Vs.mjs";
31
- import { _ as yl } from "./index.vue_vue_type_script_setup_true_lang-BJe7Uo6S.mjs";
32
- import { _ as pl } from "./index.vue_vue_type_script_setup_true_lang-Dd_nKJvH.mjs";
33
- import { _ as gl } from "./index.vue_vue_type_style_index_0_lang-dLpQXf6x.mjs";
34
- import { _ as vl } from "./index.vue_vue_type_script_lang-Dfq7D3mJ.mjs";
35
- import { _ as hl } from "./index.vue_vue_type_script_lang-CZK0hDYa.mjs";
36
- import { _ as bl } from "./index.vue_vue_type_script_lang-69zSOotQ.mjs";
37
- import { _ as wl } from "./index.vue_vue_type_script_lang-D7b9ABei.mjs";
38
- import { _ as Sl } from "./index.vue_vue_type_script_lang-chBiq2cG.mjs";
39
- import { _ as kl } from "./index.vue_vue_type_style_index_0_lang-C1n-zAZh.mjs";
40
- import { _ as xl } from "./index.vue_vue_type_script_setup_true_lang-Bdz9oDDW.mjs";
41
- import { _ as Ql } from "./index.vue_vue_type_script_setup_true_lang-DobP199g.mjs";
42
- import { _ as $l } from "./index.vue_vue_type_script_setup_true_lang-B4JrNUDc.mjs";
43
- import { _ as Cl } from "./index.vue_vue_type_script_lang-D7nzeBUR.mjs";
44
- import { _ as Vl } from "./index.vue_vue_type_script_lang-C9X0V5AK.mjs";
45
- import { _ as ql } from "./index.vue_vue_type_script_lang-C4JHCuXz.mjs";
46
- import { _ as Bl } from "./index.vue_vue_type_style_index_0_lang-B-FeHatv.mjs";
47
- import { _ as Al } from "./index.vue_vue_type_script_lang-BGAdXWIL.mjs";
48
- import { _ as Il } from "./index.vue_vue_type_script_lang-DOOT2grg.mjs";
49
- import { _ as Tl } from "./index.vue_vue_type_style_index_0_lang-DzfGx6ce.mjs";
50
- import { w as C } from "./install-CxBnxbuN.mjs";
51
- import { o as zl } from "./utils-DUntDntI.mjs";
1
+ import { ElUpload as Ma, ElIcon as ct, ElPopover as Oa, ElInput as _a, ElImageViewer as La, ElDialog as dt, ElLoadingDirective as Ua } from "element-plus/es";
2
+ import { ref as q, onMounted as Xe, computed as F, watch as fe, nextTick as Oe, onBeforeUnmount as ft, openBlock as v, createElementBlock as A, normalizeStyle as Pe, normalizeClass as ke, createVNode as O, withCtx as h, withModifiers as ue, unref as $, Fragment as ze, createElementVNode as T, toDisplayString as pe, createCommentVNode as P, createBlock as ce, createTextVNode as be, useAttrs as Be, mergeProps as xe, defineComponent as qe, useSlots as mt, useModel as Ka, watchEffect as Ea, h as nt, onUnmounted as yt, createSlots as _e, renderSlot as z, withDirectives as Ye, vShow as pt, mergeModels as rt, renderList as et, withKeys as Ee, normalizeProps as gt, guardReactiveProps as vt, getCurrentInstance as ja, reactive as Ze } from "vue";
3
+ import { Plus as Na, InfoFilled as Ha, Close as Za } from "@element-plus/icons-vue";
4
+ import { ElMessage as he, ElLoading as Wa, ElButton as Ve, ElSelect as ht, ElOption as bt, ElInput as Me, ElPopover as Ga, ElUpload as Ja, ElAutocomplete as Xa, ElForm as wt, ElFormItem as Ie, ElTable as Ya, ElTableColumn as eo, ElPagination as to, ElTreeSelect as ao } from "element-plus";
5
+ import { _ as Re } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
6
+ import { I as oo } from "./index-hEy-3mcr.mjs";
7
+ import { _ as lo } from "./index.vue_vue_type_script_setup_true_lang-DoL8xnpo.mjs";
8
+ import no from "clsx";
9
+ import { useBreakpoints as ro, useDraggable as io } from "@vueuse/core";
10
+ import { B as so } from "./index-seQHtqdh.mjs";
11
+ import { D as uo } from "./index-DEZF-Fkt.mjs";
12
+ import { _ as co } from "./index-Bs2OQHXk.mjs";
13
+ import { _ as fo } from "./index.vue_vue_type_style_index_0_lang-B0CXLnL1.mjs";
14
+ import { _ as mo } from "./index.vue_vue_type_style_index_0_lang-CcVf5MXE.mjs";
15
+ import { C as yo } from "./index-D6ybNdgn.mjs";
16
+ import { _ as po } from "./index.vue_vue_type_script_setup_true_lang-C91DUwOD.mjs";
17
+ import { R as go } from "./index-C31wpivi.mjs";
18
+ import { _ as vo } from "./index.vue_vue_type_script_setup_true_lang-EiHoQBXt.mjs";
19
+ import { M as ho } from "./index-DfR8Z9MN.mjs";
20
+ import { T as bo } from "./index-1LT6Q6XJ.mjs";
21
+ import { _ as wo } from "./index.vue_vue_type_script_setup_true_lang-DP-jqqo2.mjs";
22
+ import { S as tt } from "./index-D_rRdrge.mjs";
23
+ import { T as St } from "./index-kiAR2M_e.mjs";
24
+ import { T as We } from "./index-Co0_4YEV.mjs";
25
+ import { F as So } from "./index-CmRclPWX.mjs";
26
+ import { S as ko } from "./index-C-ZAw_DP.mjs";
27
+ import { _ as Qo } from "./index.vue_vue_type_script_lang-DIKHRo0o.mjs";
28
+ import { _ as xo } from "./index.vue_vue_type_style_index_0_lang-CPxbKjvY.mjs";
29
+ import { _ as $o } from "./index.vue_vue_type_style_index_0_lang-DSur831A.mjs";
30
+ import { _ as Co } from "./index.vue_vue_type_style_index_0_lang-BJXS2dVf.mjs";
31
+ import { _ as Vo } from "./index.vue_vue_type_script_setup_true_lang-BJe7Uo6S.mjs";
32
+ import { _ as qo } from "./index.vue_vue_type_script_setup_true_lang-Dd_nKJvH.mjs";
33
+ import { _ as Bo } from "./index.vue_vue_type_style_index_0_lang-gs0YJI91.mjs";
34
+ import { _ as Ao } from "./index.vue_vue_type_script_lang-Dfq7D3mJ.mjs";
35
+ import { _ as Io } from "./index.vue_vue_type_script_lang-CZK0hDYa.mjs";
36
+ import { _ as Ro } from "./index.vue_vue_type_script_lang-69zSOotQ.mjs";
37
+ import { F as To } from "./index-BmJPEXUM.mjs";
38
+ import { Q as kt } from "./index-xuTVtF4x.mjs";
39
+ import { _ as zo } from "./index.vue_vue_type_style_index_0_lang-DXQ9l1XF.mjs";
40
+ import { _ as Fo } from "./index.vue_vue_type_script_lang-Bk0kLg5l.mjs";
41
+ import { _ as Po } from "./index.vue_vue_type_script_lang-BaIOvoQn.mjs";
42
+ import { _ as Do } from "./index.vue_vue_type_script_lang-DRvk4-_O.mjs";
43
+ import { _ as Mo } from "./index.vue_vue_type_script_lang-ChS-3_vl.mjs";
44
+ import { _ as Oo } from "./index.vue_vue_type_script_lang-CWnNQBPN.mjs";
45
+ import { _ as _o } from "./index.vue_vue_type_script_lang-D7b9ABei.mjs";
46
+ import { _ as Lo } from "./index.vue_vue_type_script_lang-chBiq2cG.mjs";
47
+ import { _ as Uo } from "./index.vue_vue_type_style_index_0_lang-DWiolYb3.mjs";
48
+ import { _ as Ko } from "./index.vue_vue_type_script_setup_true_lang-Bdz9oDDW.mjs";
49
+ import { _ as Eo } from "./index.vue_vue_type_script_setup_true_lang-BXnZt9UT.mjs";
50
+ import { _ as jo } from "./index.vue_vue_type_script_setup_true_lang-B4JrNUDc.mjs";
51
+ import { _ as No } from "./index.vue_vue_type_script_lang-D7nzeBUR.mjs";
52
+ import { _ as Ho } from "./index.vue_vue_type_script_lang-C9X0V5AK.mjs";
53
+ import { _ as Zo } from "./index.vue_vue_type_script_lang-C4JHCuXz.mjs";
54
+ import { _ as Wo } from "./index.vue_vue_type_style_index_0_lang-CUqnwExG.mjs";
55
+ import { _ as Go } from "./index.vue_vue_type_style_index_0_lang-B-FeHatv.mjs";
56
+ import { _ as Jo } from "./index.vue_vue_type_script_lang-BGAdXWIL.mjs";
57
+ import { _ as Xo } from "./index.vue_vue_type_script_lang-BnmY1ndj.mjs";
58
+ import { _ as Yo } from "./index.vue_vue_type_script_lang-DOOT2grg.mjs";
59
+ import { _ as el } from "./index.vue_vue_type_style_index_0_lang-DzfGx6ce.mjs";
60
+ import { w as b } from "./install-CxBnxbuN.mjs";
61
+ import { v as tl, Q as Qt } from "./index-B1zDCCqy.mjs";
62
+ import { _ as al } from "./index.vue_vue_type_script_setup_true_lang-BLF3RNlY.mjs";
63
+ import { o as ol } from "./utils-DUntDntI.mjs";
64
+ import { openQyLoading as ll } from "@qynpm/hooks";
52
65
  /*! js-cookie v3.0.8 | MIT */
53
- function _e(t) {
66
+ function Ke(t) {
54
67
  for (var D = 1; D < arguments.length; D++) {
55
68
  var W = arguments[D];
56
69
  for (var e in W)
@@ -58,7 +71,7 @@ function _e(t) {
58
71
  }
59
72
  return t;
60
73
  }
61
- var Rl = {
74
+ var nl = {
62
75
  read: function(t) {
63
76
  return t[0] === '"' && (t = t.slice(1, -1)), t.replace(/(%[\dA-F]{2})+/gi, decodeURIComponent);
64
77
  },
@@ -72,7 +85,7 @@ var Rl = {
72
85
  function Ge(t, D) {
73
86
  function W(n, H, d) {
74
87
  if (!(typeof document > "u")) {
75
- d = _e({}, D, d), typeof d.expires == "number" && (d.expires = new Date(Date.now() + d.expires * 864e5)), d.expires && (d.expires = d.expires.toUTCString()), n = encodeURIComponent(n).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape);
88
+ d = Ke({}, D, d), typeof d.expires == "number" && (d.expires = new Date(Date.now() + d.expires * 864e5)), d.expires && (d.expires = d.expires.toUTCString()), n = encodeURIComponent(n).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape);
76
89
  var y = "";
77
90
  for (var f in d)
78
91
  d[f] && (y += "; " + f, d[f] !== !0 && (y += "=" + d[f].split(";")[0]));
@@ -101,16 +114,16 @@ function Ge(t, D) {
101
114
  W(
102
115
  n,
103
116
  "",
104
- _e({}, H, {
117
+ Ke({}, H, {
105
118
  expires: -1
106
119
  })
107
120
  );
108
121
  },
109
122
  withAttributes: function(n) {
110
- return Ge(this.converter, _e({}, this.attributes, n));
123
+ return Ge(this.converter, Ke({}, this.attributes, n));
111
124
  },
112
125
  withConverter: function(n) {
113
- return Ge(_e({}, this.converter, n), this.attributes);
126
+ return Ge(Ke({}, this.converter, n), this.attributes);
114
127
  }
115
128
  },
116
129
  {
@@ -119,15 +132,15 @@ function Ge(t, D) {
119
132
  }
120
133
  );
121
134
  }
122
- var kt = Ge(Rl, { path: "/" });
123
- const Fl = "Admin-Token";
124
- function Pl(t = Fl) {
125
- return kt.get(t);
135
+ var xt = Ge(nl, { path: "/" });
136
+ const rl = "Admin-Token";
137
+ function il(t = rl) {
138
+ return xt.get(t);
126
139
  }
127
- const Dl = { class: "qy-upload__hint" }, Ml = ["placeholder", "disabled"], Ol = ["src"], Ul = {
140
+ const sl = { class: "qy-upload__hint" }, ul = ["placeholder", "disabled"], cl = ["src"], dl = {
128
141
  key: 1,
129
142
  class: "qy-upload__tip"
130
- }, Ll = { class: "error" }, Kl = { class: "error" }, _l = /* @__PURE__ */ Object.assign({
143
+ }, fl = { class: "error" }, ml = { class: "error" }, yl = /* @__PURE__ */ Object.assign({
131
144
  name: "QyUpload"
132
145
  }, {
133
146
  __name: "index",
@@ -195,92 +208,92 @@ const Dl = { class: "qy-upload__hint" }, Ml = ["placeholder", "disabled"], Ol =
195
208
  setup(t, { expose: D, emit: W }) {
196
209
  const e = t, n = W, H = q(null), d = q([]), y = q(null), f = q(null), I = [];
197
210
  let x = !1;
198
- const U = q(!1), E = q([]), M = q(0), j = q(!1), G = q(""), T = q(""), L = /* @__PURE__ */ new Set(), ae = q(!1), X = q(""), J = q(!1);
199
- Je(() => {
211
+ const _ = q(!1), E = q([]), M = q(0), j = q(!1), G = q(""), R = q(""), L = /* @__PURE__ */ new Set(), ae = q(!1), J = q(""), X = q(!1);
212
+ Xe(() => {
200
213
  e.modelValue === void 0 && p(e.defaultValue);
201
214
  });
202
- const oe = F(() => ({ large: "160px", default: "140px", small: "80px" })[e.size] ?? e.size), ne = F(() => e.disabled), re = F(
215
+ const le = F(() => ({ large: "160px", default: "140px", small: "80px" })[e.size] ?? e.size), ne = F(() => e.disabled), re = F(
203
216
  () => {
204
- var l;
205
- return e.isShowTip && (e.fileSize || ((l = Z.value) == null ? void 0 : l.length));
217
+ var o;
218
+ return e.isShowTip && (e.fileSize || ((o = Z.value) == null ? void 0 : o.length));
206
219
  }
207
220
  ), Z = F(() => {
208
- var l;
209
- return (l = e.fileType) != null && l.length ? e.fileType.map((i) => i.toLowerCase()) : e.supportVideo ? ["mp4", "mov", "avi"] : ["jpg", "jpeg", "png", "gif", "webp"];
210
- }), b = F(() => {
211
- const l = e.supportVideo ? 1 : e.limit;
212
- return d.value.length >= l;
221
+ var o;
222
+ return (o = e.fileType) != null && o.length ? e.fileType.map((i) => i.toLowerCase()) : e.supportVideo ? ["mp4", "mov", "avi"] : ["jpg", "jpeg", "png", "gif", "webp"];
223
+ }), w = F(() => {
224
+ const o = e.supportVideo ? 1 : e.limit;
225
+ return d.value.length >= o;
213
226
  }), V = F(
214
- () => Z.value.map((l) => `.${l}`).join(",")
227
+ () => Z.value.map((o) => `.${o}`).join(",")
215
228
  ), a = F(() => ({
216
- "qy-upload--reached-limit": b.value,
229
+ "qy-upload--reached-limit": w.value,
217
230
  "qy-upload--disabled": e.disabled,
218
231
  "qy-upload--video": e.supportVideo,
219
232
  "qy-upload--without-text": !e.showText && !e.showPasteInput
220
233
  }));
221
- fe(X, () => {
234
+ fe(J, () => {
222
235
  x || ie();
223
236
  }), fe(
224
237
  () => e.modelValue,
225
- (l) => {
226
- l !== void 0 && p(l);
238
+ (o) => {
239
+ o !== void 0 && p(o);
227
240
  },
228
241
  { immediate: !0, deep: !0 }
229
242
  );
230
- function o(l) {
231
- return Array.isArray(l) ? l.filter(Boolean) : l ? String(l).split(",").filter(Boolean) : [];
243
+ function l(o) {
244
+ return Array.isArray(o) ? o.filter(Boolean) : o ? String(o).split(",").filter(Boolean) : [];
232
245
  }
233
- function K(l) {
234
- return Array.isArray(l) ? { files: l, text: "" } : typeof l == "string" ? { files: o(l), text: "" } : l && typeof l == "object" ? {
235
- files: o(l.files),
236
- text: l.text ?? ""
246
+ function U(o) {
247
+ return Array.isArray(o) ? { files: o, text: "" } : typeof o == "string" ? { files: l(o), text: "" } : o && typeof o == "object" ? {
248
+ files: l(o.files),
249
+ text: o.text ?? ""
237
250
  } : { files: [], text: "" };
238
251
  }
239
- function te(l = []) {
240
- return l.map((i, S) => ({
241
- name: String(i).split("/").pop() || `file-${S}`,
252
+ function te(o = []) {
253
+ return o.map((i, k) => ({
254
+ name: String(i).split("/").pop() || `file-${k}`,
242
255
  url: i,
243
256
  status: "success",
244
- uid: Date.now() + S
257
+ uid: Date.now() + k
245
258
  }));
246
259
  }
247
- function s(l) {
248
- const i = new Set(l.map((k) => k.url)), S = d.value.filter(
249
- (k) => k.status === "uploading" && !i.has(k.url)
260
+ function s(o) {
261
+ const i = new Set(o.map((Q) => Q.url)), k = d.value.filter(
262
+ (Q) => Q.status === "uploading" && !i.has(Q.url)
250
263
  );
251
- return [...l, ...S];
264
+ return [...o, ...k];
252
265
  }
253
- function p(l) {
254
- const i = K(l);
255
- x = !0, X.value = i.text, d.value = s(te(i.files)), Oe(() => {
266
+ function p(o) {
267
+ const i = U(o);
268
+ x = !0, J.value = i.text, d.value = s(te(i.files)), Oe(() => {
256
269
  x = !1;
257
270
  });
258
271
  }
259
- function Q(l) {
260
- return e.valueFormat === "array" ? l.files : e.valueFormat === "string" ? l.files.join(",") : l;
272
+ function C(o) {
273
+ return e.valueFormat === "array" ? o.files : e.valueFormat === "string" ? o.files.join(",") : o;
261
274
  }
262
275
  function g() {
263
- var l;
264
- (l = y.value) == null || l.focus();
276
+ var o;
277
+ (o = y.value) == null || o.focus();
265
278
  }
266
- function B(l) {
267
- l.target.value = "";
279
+ function B(o) {
280
+ o.target.value = "";
268
281
  }
269
- function ie(l) {
270
- const k = { files: (l ?? d.value).filter((_) => _.status === "success" && _.url).map((_) => _.url), text: X.value };
271
- n("update:modelValue", Q(k)), n("change", k), e.callBack && e.callBack(k);
282
+ function ie(o) {
283
+ const Q = { files: (o ?? d.value).filter((K) => K.status === "success" && K.url).map((K) => K.url), text: J.value };
284
+ n("update:modelValue", C(Q)), n("change", Q), e.callBack && e.callBack(Q);
272
285
  }
273
- function me(l, i) {
274
- ie(i), n("remove", l, i);
286
+ function me(o, i) {
287
+ ie(i), n("remove", o, i);
275
288
  }
276
- function ge(l) {
277
- var S;
278
- const i = (l == null ? void 0 : l.name) || "";
279
- return i.includes(".") && ((S = i.split(".").pop()) == null ? void 0 : S.toLowerCase()) || "";
289
+ function we(o) {
290
+ var k;
291
+ const i = (o == null ? void 0 : o.name) || "";
292
+ return i.includes(".") && ((k = i.split(".").pop()) == null ? void 0 : k.toLowerCase()) || "";
280
293
  }
281
- function xe(l) {
282
- var _, le, se;
283
- const i = ((le = (_ = l == null ? void 0 : l.type) == null ? void 0 : _.toLowerCase) == null ? void 0 : le.call(_)) || "", S = {
294
+ function Qe(o) {
295
+ var K, oe, se;
296
+ const i = ((oe = (K = o == null ? void 0 : o.type) == null ? void 0 : K.toLowerCase) == null ? void 0 : oe.call(K)) || "", k = {
284
297
  "image/jpeg": ["jpg", "jpeg"],
285
298
  "image/png": ["png"],
286
299
  "image/gif": ["gif"],
@@ -291,193 +304,193 @@ const Dl = { class: "qy-upload__hint" }, Ml = ["placeholder", "disabled"], Ol =
291
304
  "video/x-msvideo": ["avi"],
292
305
  "video/webm": ["webm"]
293
306
  };
294
- if (S[i]) return S[i];
295
- const k = (se = i.split("/")[1]) == null ? void 0 : se.split("+")[0];
296
- return k ? [k] : [];
297
- }
298
- function m(l) {
299
- const i = ge(l), S = xe(l);
300
- return [i, ...S].some(
301
- (k) => Z.value.includes(k)
307
+ if (k[i]) return k[i];
308
+ const Q = (se = i.split("/")[1]) == null ? void 0 : se.split("+")[0];
309
+ return Q ? [Q] : [];
310
+ }
311
+ function m(o) {
312
+ const i = we(o), k = Qe(o);
313
+ return [i, ...k].some(
314
+ (Q) => Z.value.includes(Q)
302
315
  );
303
316
  }
304
- function Y(l) {
305
- return l.size / 1024 / 1024 < e.fileSize ? m(l) ? !0 : (be.warning(
317
+ function Y(o) {
318
+ return o.size / 1024 / 1024 < e.fileSize ? m(o) ? !0 : (he.warning(
306
319
  `格式不支持,仅允许: ${Z.value.join("/")}`
307
- ), !1) : (be.warning(`文件大小不能超过${e.fileSize}M`), !1);
320
+ ), !1) : (he.warning(`文件大小不能超过${e.fileSize}M`), !1);
308
321
  }
309
- async function r(l, i, S, k) {
310
- const _ = w(l);
322
+ async function r(o, i, k, Q) {
323
+ const K = S(o);
311
324
  try {
312
- const le = await e.uploadRequest({
313
- file: l,
314
- formData: _,
325
+ const oe = await e.uploadRequest({
326
+ file: o,
327
+ formData: K,
315
328
  api: e.api,
316
329
  name: e.name,
317
330
  tokenKey: e.tokenKey,
318
331
  extraData: e.extraData
319
- }), se = ee(le);
332
+ }), se = ee(oe);
320
333
  if (!se) {
321
- const ve = new Error("上传失败,未返回文件地址");
322
- be.error(ve.message), n("error", ve), S == null || S(ve);
334
+ const ge = new Error("上传失败,未返回文件地址");
335
+ he.error(ge.message), n("error", ge), k == null || k(ge);
323
336
  return;
324
337
  }
325
- be.success("上传成功"), i == null || i({ ...typeof le == "object" && le ? le : {}, url: se });
326
- } catch (le) {
327
- be.error("上传失败"), n("error", le), S == null || S(le);
338
+ he.success("上传成功"), i == null || i({ ...typeof oe == "object" && oe ? oe : {}, url: se });
339
+ } catch (oe) {
340
+ he.error("上传失败"), n("error", oe), k == null || k(oe);
328
341
  } finally {
329
- k.close();
342
+ Q.close();
330
343
  }
331
344
  }
332
- function w(l) {
345
+ function S(o) {
333
346
  const i = new FormData();
334
- return i.append(e.name, l), e.extraData && Object.entries(e.extraData).forEach(([S, k]) => i.append(S, k)), i;
335
- }
336
- function ee(l) {
337
- var k, _;
338
- if (typeof l == "string") return l;
339
- const i = l || {}, S = i.urls ?? i.url ?? ((k = i.data) == null ? void 0 : k.urls) ?? ((_ = i.data) == null ? void 0 : _.url) ?? "";
340
- return Array.isArray(S) ? S[0] || "" : S || "";
341
- }
342
- function Se(l, i, S, k) {
343
- var lt, ot;
344
- const _ = ((lt = H.value) == null ? void 0 : lt.$el.querySelector(".el-upload--picture-card")) || ((ot = H.value) == null ? void 0 : ot.$el), le = Da.service({
345
- target: _,
347
+ return i.append(e.name, o), e.extraData && Object.entries(e.extraData).forEach(([k, Q]) => i.append(k, Q)), i;
348
+ }
349
+ function ee(o) {
350
+ var Q, K;
351
+ if (typeof o == "string") return o;
352
+ const i = o || {}, k = i.urls ?? i.url ?? ((Q = i.data) == null ? void 0 : Q.urls) ?? ((K = i.data) == null ? void 0 : K.url) ?? "";
353
+ return Array.isArray(k) ? k[0] || "" : k || "";
354
+ }
355
+ function Se(o, i, k, Q) {
356
+ var ot, lt;
357
+ const K = ((ot = H.value) == null ? void 0 : ot.$el.querySelector(".el-upload--picture-card")) || ((lt = H.value) == null ? void 0 : lt.$el), oe = Wa.service({
358
+ target: K,
346
359
  text: "上传中",
347
360
  background: "rgba(255,255,255,0.7)"
348
361
  });
349
362
  if (e.uploadRequest) {
350
- r(l, S, k, le);
363
+ r(o, k, Q, oe);
351
364
  return;
352
365
  }
353
- const se = e.api.startsWith("http") ? e.api : window.location.origin + e.api.replace(/^([^/])/, "/$1"), ve = w(l), he = new XMLHttpRequest();
354
- I.push(he);
366
+ const se = e.api.startsWith("http") ? e.api : window.location.origin + e.api.replace(/^([^/])/, "/$1"), ge = S(o), ve = new XMLHttpRequest();
367
+ I.push(ve);
355
368
  const Ce = () => {
356
- const ye = I.indexOf(he);
357
- ye !== -1 && I.splice(ye, 1), le.close();
369
+ const ye = I.indexOf(ve);
370
+ ye !== -1 && I.splice(ye, 1), oe.close();
358
371
  };
359
- he.open("POST", se);
360
- const at = Pl(e.tokenKey);
361
- at && he.setRequestHeader("Authorization", `Bearer ${at}`), he.upload.onprogress = (ye) => {
372
+ ve.open("POST", se);
373
+ const at = il(e.tokenKey);
374
+ at && ve.setRequestHeader("Authorization", `Bearer ${at}`), ve.upload.onprogress = (ye) => {
362
375
  ye.total > 0 && (i == null || i({ percent: ye.loaded / ye.total * 100 }));
363
- }, he.onload = () => {
364
- if (Ce(), he.status < 200 || he.status >= 300) {
365
- const ye = `上传失败 (HTTP ${he.status})`;
366
- be.error(ye), n("error", { msg: ye, status: he.status }), k == null || k(new Error(ye));
376
+ }, ve.onload = () => {
377
+ if (Ce(), ve.status < 200 || ve.status >= 300) {
378
+ const ye = `上传失败 (HTTP ${ve.status})`;
379
+ he.error(ye), n("error", { msg: ye, status: ve.status }), Q == null || Q(new Error(ye));
367
380
  return;
368
381
  }
369
382
  try {
370
- const ye = JSON.parse(he.responseText);
371
- ye.code === 200 && ye.urls ? (be.success("上传成功"), S == null || S({ ...ye, url: ye.urls })) : (be.error(ye.msg || "上传失败"), n("error", ye), k == null || k(ye));
383
+ const ye = JSON.parse(ve.responseText);
384
+ ye.code === 200 && ye.urls ? (he.success("上传成功"), k == null || k({ ...ye, url: ye.urls })) : (he.error(ye.msg || "上传失败"), n("error", ye), Q == null || Q(ye));
372
385
  } catch {
373
- be.error("上传失败,响应格式错误"), n("error", new Error("Response parse error")), k == null || k(new Error("Response parse error"));
386
+ he.error("上传失败,响应格式错误"), n("error", new Error("Response parse error")), Q == null || Q(new Error("Response parse error"));
374
387
  }
375
- }, he.onerror = () => {
376
- Ce(), be.error("上传失败,网络异常"), n("error", new Error("Network error")), k == null || k(new Error("Network error"));
377
- }, he.send(ve);
378
- }
379
- function $e(l) {
380
- return e.disabled ? !1 : Y(l);
381
- }
382
- function de(l, i) {
383
- const S = d.value.find(
384
- (k) => {
385
- var _;
386
- return k.uid === (l == null ? void 0 : l.uid) || ((_ = k.raw) == null ? void 0 : _.uid) === (l == null ? void 0 : l.uid);
388
+ }, ve.onerror = () => {
389
+ Ce(), he.error("上传失败,网络异常"), n("error", new Error("Network error")), Q == null || Q(new Error("Network error"));
390
+ }, ve.send(ge);
391
+ }
392
+ function $e(o) {
393
+ return e.disabled ? !1 : Y(o);
394
+ }
395
+ function de(o, i) {
396
+ const k = d.value.find(
397
+ (Q) => {
398
+ var K;
399
+ return Q.uid === (o == null ? void 0 : o.uid) || ((K = Q.raw) == null ? void 0 : K.uid) === (o == null ? void 0 : o.uid);
387
400
  }
388
401
  );
389
- S && (S.url = i, S.status = "success");
402
+ k && (k.url = i, k.status = "success");
390
403
  }
391
- function De(l) {
404
+ function De(o) {
392
405
  Se(
393
- l.file,
394
- l.onProgress,
406
+ o.file,
407
+ o.onProgress,
395
408
  (i) => {
396
- de(l.file, i.url), l.onSuccess(i), ie(), n("success", i);
409
+ de(o.file, i.url), o.onSuccess(i), ie(), n("success", i);
397
410
  },
398
- (i) => l.onError(i)
411
+ (i) => o.onError(i)
399
412
  );
400
413
  }
401
- function Le(l) {
402
- var k;
403
- if (!l.url) return;
404
- const i = ((k = l.url.split(".").pop()) == null ? void 0 : k.toLowerCase()) || "";
414
+ function Le(o) {
415
+ var Q;
416
+ if (!o.url) return;
417
+ const i = ((Q = o.url.split(".").pop()) == null ? void 0 : Q.toLowerCase()) || "";
405
418
  if (["mp4", "mov", "avi", "webm"].includes(i)) {
406
- G.value = l.url, T.value = l.name || "视频预览", j.value = !0;
419
+ G.value = o.url, R.value = o.name || "视频预览", j.value = !0;
407
420
  return;
408
421
  }
409
- const S = d.value.filter(
410
- (_) => {
411
- var le;
412
- return _.status === "success" && _.url && !["mp4", "mov", "avi", "webm"].includes(
413
- (le = _.url.split(".").pop()) == null ? void 0 : le.toLowerCase()
422
+ const k = d.value.filter(
423
+ (K) => {
424
+ var oe;
425
+ return K.status === "success" && K.url && !["mp4", "mov", "avi", "webm"].includes(
426
+ (oe = K.url.split(".").pop()) == null ? void 0 : oe.toLowerCase()
414
427
  );
415
428
  }
416
429
  );
417
- E.value = S.map((_) => _.url), M.value = S.findIndex((_) => _.uid === l.uid) || 0, U.value = !0;
430
+ E.value = k.map((K) => K.url), M.value = k.findIndex((K) => K.uid === o.uid) || 0, _.value = !0;
418
431
  }
419
432
  function Fe() {
420
- U.value = !1, E.value = [];
433
+ _.value = !1, E.value = [];
421
434
  }
422
- function je(l, i) {
423
- if (l.name && ge(l)) return l;
424
- const S = xe(l).find(
425
- (k) => Z.value.includes(k)
435
+ function je(o, i) {
436
+ if (o.name && we(o)) return o;
437
+ const k = Qe(o).find(
438
+ (Q) => Z.value.includes(Q)
426
439
  );
427
- return S ? new File([l], `paste-${Date.now() + i}.${S}`, {
428
- type: l.type,
429
- lastModified: l.lastModified
430
- }) : l;
431
- }
432
- function Ke(l) {
433
- for (let i = 0; i < l.length; i++) {
434
- const S = je(l[i], i);
435
- if (!$e(S)) continue;
436
- const k = Date.now() + i, _ = URL.createObjectURL(S);
437
- L.add(_), d.value.push({
438
- uid: k,
439
- name: S.name || `file-${k}`,
440
+ return k ? new File([o], `paste-${Date.now() + i}.${k}`, {
441
+ type: o.type,
442
+ lastModified: o.lastModified
443
+ }) : o;
444
+ }
445
+ function Ue(o) {
446
+ for (let i = 0; i < o.length; i++) {
447
+ const k = je(o[i], i);
448
+ if (!$e(k)) continue;
449
+ const Q = Date.now() + i, K = URL.createObjectURL(k);
450
+ L.add(K), d.value.push({
451
+ uid: Q,
452
+ name: k.name || `file-${Q}`,
440
453
  status: "uploading",
441
454
  percentage: 0,
442
- url: _
455
+ url: K
443
456
  }), Se(
444
- S,
445
- (le) => {
446
- const se = d.value.find((ve) => ve.uid === k);
447
- se && (se.percentage = le.percent);
457
+ k,
458
+ (oe) => {
459
+ const se = d.value.find((ge) => ge.uid === Q);
460
+ se && (se.percentage = oe.percent);
448
461
  },
449
- (le) => {
450
- const se = d.value.find((ve) => ve.uid === k);
451
- se && (se.status = "success", se.url = le.url, ie(), n("success", le));
462
+ (oe) => {
463
+ const se = d.value.find((ge) => ge.uid === Q);
464
+ se && (se.status = "success", se.url = oe.url, ie(), n("success", oe));
452
465
  },
453
- () => N(k)
466
+ () => N(Q)
454
467
  );
455
468
  }
456
469
  }
457
- function Ne(l) {
458
- const i = Array.from((l == null ? void 0 : l.files) || []).filter(
459
- (le) => {
470
+ function Ne(o) {
471
+ const i = Array.from((o == null ? void 0 : o.files) || []).filter(
472
+ (oe) => {
460
473
  var se;
461
- return (se = le.type) == null ? void 0 : se.startsWith("image/");
474
+ return (se = oe.type) == null ? void 0 : se.startsWith("image/");
462
475
  }
463
476
  );
464
477
  if (i.length) return i;
465
- const S = l == null ? void 0 : l.items;
466
- if (!S) return [];
467
- const k = [], _ = /* @__PURE__ */ new Set();
468
- for (let le = 0; le < S.length; le++) {
469
- const se = S[le];
478
+ const k = o == null ? void 0 : o.items;
479
+ if (!k) return [];
480
+ const Q = [], K = /* @__PURE__ */ new Set();
481
+ for (let oe = 0; oe < k.length; oe++) {
482
+ const se = k[oe];
470
483
  if (se.kind === "file" && se.type.startsWith("image/")) {
471
- const ve = se.getAsFile();
472
- ve && !_.has(ve) && (_.add(ve), k.push(ve));
484
+ const ge = se.getAsFile();
485
+ ge && !K.has(ge) && (K.add(ge), Q.push(ge));
473
486
  }
474
487
  }
475
- return k;
488
+ return Q;
476
489
  }
477
- function ze(l) {
490
+ function Te(o) {
478
491
  if (e.disabled) return;
479
- const i = Ne(l.clipboardData);
480
- i.length && (l.preventDefault(), Ke(i));
492
+ const i = Ne(o.clipboardData);
493
+ i.length && (o.preventDefault(), Ue(i));
481
494
  }
482
495
  function Ae() {
483
496
  e.disabled || e.disableDrag || (ae.value = !0);
@@ -485,54 +498,54 @@ const Dl = { class: "qy-upload__hint" }, Ml = ["placeholder", "disabled"], Ol =
485
498
  function u() {
486
499
  ae.value = !1;
487
500
  }
488
- function c(l) {
489
- var S;
490
- if (ae.value = !1, e.disabled || e.disableDrag || b.value) return;
491
- const i = Array.from(((S = l.dataTransfer) == null ? void 0 : S.files) || []).filter(
492
- (k) => {
493
- var _;
494
- return Z.value.includes((_ = k.name.split(".").pop()) == null ? void 0 : _.toLowerCase());
501
+ function c(o) {
502
+ var k;
503
+ if (ae.value = !1, e.disabled || e.disableDrag || w.value) return;
504
+ const i = Array.from(((k = o.dataTransfer) == null ? void 0 : k.files) || []).filter(
505
+ (Q) => {
506
+ var K;
507
+ return Z.value.includes((K = Q.name.split(".").pop()) == null ? void 0 : K.toLowerCase());
495
508
  }
496
509
  );
497
- i.length && Ke(i);
510
+ i.length && Ue(i);
498
511
  }
499
- function N(l) {
500
- var S;
501
- const i = d.value.findIndex((k) => k.uid === l);
502
- i !== -1 && ((S = d.value[i].url) != null && S.startsWith("blob:") && (URL.revokeObjectURL(d.value[i].url), L.delete(d.value[i].url)), d.value.splice(i, 1));
512
+ function N(o) {
513
+ var k;
514
+ const i = d.value.findIndex((Q) => Q.uid === o);
515
+ i !== -1 && ((k = d.value[i].url) != null && k.startsWith("blob:") && (URL.revokeObjectURL(d.value[i].url), L.delete(d.value[i].url)), d.value.splice(i, 1));
503
516
  }
504
517
  return ft(() => {
505
- I.forEach((l) => l.abort()), I.length = 0, L.forEach((l) => URL.revokeObjectURL(l)), L.clear();
518
+ I.forEach((o) => o.abort()), I.length = 0, L.forEach((o) => URL.revokeObjectURL(o)), L.clear();
506
519
  }), D({
507
520
  /** 主动打开文件选择框,供表单或快捷操作调用 */
508
521
  openFileDialog: () => {
509
- var l, i;
510
- e.disabled || b.value || (i = (l = H.value) == null ? void 0 : l.$el.querySelector('input[type="file"]')) == null || i.click();
522
+ var o, i;
523
+ e.disabled || w.value || (i = (o = H.value) == null ? void 0 : o.$el.querySelector('input[type="file"]')) == null || i.click();
511
524
  },
512
525
  /** 获取已上传成功的文件 URL 列表 */
513
- getPathList: () => d.value.filter((l) => l.status === "success").map((l) => l.url),
526
+ getPathList: () => d.value.filter((o) => o.status === "success").map((o) => o.url),
514
527
  /** 清空文件和文字,并同步 change 事件 */
515
528
  clearFiles: () => {
516
- d.value = [], X.value = "", ie();
529
+ d.value = [], J.value = "", ie();
517
530
  },
518
531
  /** 获取完整值,结构与 change 事件保持一致 */
519
532
  getValue: () => ({
520
- files: d.value.filter((l) => l.status === "success" && l.url).map((l) => l.url),
521
- text: X.value
533
+ files: d.value.filter((o) => o.status === "success" && o.url).map((o) => o.url),
534
+ text: J.value
522
535
  }),
523
536
  /** 获取按 valueFormat 输出的值,便于外部不走 v-model 时读取 */
524
- getModelValue: () => Q({
525
- files: d.value.filter((l) => l.status === "success" && l.url).map((l) => l.url),
526
- text: X.value
537
+ getModelValue: () => C({
538
+ files: d.value.filter((o) => o.status === "success" && o.url).map((o) => o.url),
539
+ text: J.value
527
540
  })
528
- }), (l, i) => {
529
- var he;
530
- const S = ct, k = qa, _ = Va, le = Ca, se = Ba, ve = dt;
541
+ }), (o, i) => {
542
+ var ve;
543
+ const k = ct, Q = _a, K = Oa, oe = Ma, se = La, ge = dt;
531
544
  return v(), A("div", {
532
545
  class: ke(["qy-upload", a.value]),
533
- style: Pe({ "--qy-upload-size": oe.value })
546
+ style: Pe({ "--qy-upload-size": le.value })
534
547
  }, [
535
- O(le, {
548
+ O(oe, {
536
549
  ref_key: "uploadRef",
537
550
  ref: H,
538
551
  "file-list": d.value,
@@ -549,34 +562,34 @@ const Dl = { class: "qy-upload__hint" }, Ml = ["placeholder", "disabled"], Ol =
549
562
  "on-remove": me
550
563
  }, {
551
564
  default: h(() => [
552
- b.value ? P("", !0) : (v(), A("div", {
565
+ w.value ? P("", !0) : (v(), A("div", {
553
566
  key: 0,
554
567
  class: ke(["qy-upload__trigger", { "is-dragover": ae.value }]),
555
- onPaste: ze,
568
+ onPaste: Te,
556
569
  onDragover: ue(Ae, ["prevent"]),
557
570
  onDragleave: ue(u, ["prevent"]),
558
571
  onDrop: ue(c, ["prevent"])
559
572
  }, [
560
- O(S, { class: "qy-upload__icon" }, {
573
+ O(k, { class: "qy-upload__icon" }, {
561
574
  default: h(() => [
562
- O($(Fa))
575
+ O($(Na))
563
576
  ]),
564
577
  _: 1
565
578
  }),
566
- t.supportVideo ? (v(), A(Re, { key: 0 }, [
567
- i[9] || (i[9] = z("span", { class: "qy-upload__label" }, "点击上传视频", -1)),
568
- z("span", Dl, "支持 " + pe(Z.value.join(" / ")) + ",不超过 " + pe(t.fileSize) + "MB", 1)
579
+ t.supportVideo ? (v(), A(ze, { key: 0 }, [
580
+ i[9] || (i[9] = T("span", { class: "qy-upload__label" }, "点击上传视频", -1)),
581
+ T("span", sl, "支持 " + pe(Z.value.join(" / ")) + ",不超过 " + pe(t.fileSize) + "MB", 1)
569
582
  ], 64)) : P("", !0),
570
583
  t.showText ? (v(), A("div", {
571
584
  key: 1,
572
585
  class: "qy-upload__text",
573
586
  onClick: i[3] || (i[3] = ue(() => {
574
587
  }, ["stop"])),
575
- onPaste: ue(ze, ["stop"])
588
+ onPaste: ue(Te, ["stop"])
576
589
  }, [
577
- O(_, {
578
- visible: J.value,
579
- "onUpdate:visible": i[2] || (i[2] = (Ce) => J.value = Ce),
590
+ O(K, {
591
+ visible: X.value,
592
+ "onUpdate:visible": i[2] || (i[2] = (Ce) => X.value = Ce),
580
593
  placement: "bottom-start",
581
594
  width: 220,
582
595
  trigger: "click",
@@ -584,22 +597,22 @@ const Dl = { class: "qy-upload__hint" }, Ml = ["placeholder", "disabled"], Ol =
584
597
  onAfterEnter: g
585
598
  }, {
586
599
  reference: h(() => [
587
- z("div", {
588
- class: ke(["qy-upload__text-preview", { "is-placeholder": !X.value }])
589
- }, pe(X.value || t.pastePlaceholder), 3)
600
+ T("div", {
601
+ class: ke(["qy-upload__text-preview", { "is-placeholder": !J.value }])
602
+ }, pe(J.value || t.pastePlaceholder), 3)
590
603
  ]),
591
604
  default: h(() => [
592
- O(k, {
605
+ O(Q, {
593
606
  ref_key: "inputRef",
594
607
  ref: y,
595
- modelValue: X.value,
596
- "onUpdate:modelValue": i[0] || (i[0] = (Ce) => X.value = Ce),
608
+ modelValue: J.value,
609
+ "onUpdate:modelValue": i[0] || (i[0] = (Ce) => J.value = Ce),
597
610
  type: "textarea",
598
611
  autosize: { minRows: 2, maxRows: 5 },
599
612
  placeholder: t.pastePlaceholder,
600
613
  disabled: t.disabled,
601
- onBlur: i[1] || (i[1] = (Ce) => J.value = !1),
602
- onPaste: ue(ze, ["stop"])
614
+ onBlur: i[1] || (i[1] = (Ce) => X.value = !1),
615
+ onPaste: ue(Te, ["stop"])
603
616
  }, null, 8, ["modelValue", "placeholder", "disabled"])
604
617
  ]),
605
618
  _: 1
@@ -609,34 +622,34 @@ const Dl = { class: "qy-upload__hint" }, Ml = ["placeholder", "disabled"], Ol =
609
622
  class: "qy-upload__text",
610
623
  onClick: i[5] || (i[5] = ue(() => {
611
624
  }, ["stop"])),
612
- onPaste: ue(ze, ["stop"])
625
+ onPaste: ue(Te, ["stop"])
613
626
  }, [
614
- z("input", {
627
+ T("input", {
615
628
  ref_key: "pasteInputRef",
616
629
  ref: f,
617
630
  class: "qy-upload__paste-input",
618
631
  placeholder: t.pastePlaceholder,
619
632
  disabled: t.disabled,
620
- onPaste: ue(ze, ["stop"]),
633
+ onPaste: ue(Te, ["stop"]),
621
634
  onInput: B,
622
635
  onClick: i[4] || (i[4] = ue(() => {
623
636
  }, ["stop"]))
624
- }, null, 40, Ml)
637
+ }, null, 40, ul)
625
638
  ], 32)) : P("", !0)
626
639
  ], 34))
627
640
  ]),
628
641
  _: 1
629
642
  }, 8, ["file-list", "multiple", "limit", "list-type", "accept", "disabled"]),
630
- U.value ? (v(), ce(se, {
643
+ _.value ? (v(), ce(se, {
631
644
  key: 0,
632
645
  "url-list": E.value,
633
646
  "initial-index": M.value,
634
647
  onClose: Fe
635
648
  }, null, 8, ["url-list", "initial-index"])) : P("", !0),
636
- O(ve, {
649
+ O(ge, {
637
650
  modelValue: j.value,
638
651
  "onUpdate:modelValue": i[7] || (i[7] = (Ce) => j.value = Ce),
639
- title: T.value,
652
+ title: R.value,
640
653
  width: "640px",
641
654
  "append-to-body": "",
642
655
  "destroy-on-close": "",
@@ -649,34 +662,34 @@ const Dl = { class: "qy-upload__hint" }, Ml = ["placeholder", "disabled"], Ol =
649
662
  controls: "",
650
663
  autoplay: "",
651
664
  style: { width: "100%", "max-height": "400px", "border-radius": "4px" }
652
- }, null, 8, Ol)) : P("", !0)
665
+ }, null, 8, cl)) : P("", !0)
653
666
  ]),
654
667
  _: 1
655
668
  }, 8, ["modelValue", "title"]),
656
- re.value ? (v(), A("div", Ul, [
657
- O(S, null, {
669
+ re.value ? (v(), A("div", dl, [
670
+ O(k, null, {
658
671
  default: h(() => [
659
- O($(Pa))
672
+ O($(Ha))
660
673
  ]),
661
674
  _: 1
662
675
  }),
663
- z("span", null, [
664
- i[12] || (i[12] = we(" 请上传 ", -1)),
665
- t.fileSize ? (v(), A(Re, { key: 0 }, [
666
- i[10] || (i[10] = we("大小不超过 ", -1)),
667
- z("b", Ll, pe(t.fileSize) + "MB", 1)
676
+ T("span", null, [
677
+ i[12] || (i[12] = be(" 请上传 ", -1)),
678
+ t.fileSize ? (v(), A(ze, { key: 0 }, [
679
+ i[10] || (i[10] = be("大小不超过 ", -1)),
680
+ T("b", fl, pe(t.fileSize) + "MB", 1)
668
681
  ], 64)) : P("", !0),
669
- (he = Z.value) != null && he.length ? (v(), A(Re, { key: 1 }, [
670
- i[11] || (i[11] = we(",格式为 ", -1)),
671
- z("b", Kl, pe(Z.value.join("/")), 1)
682
+ (ve = Z.value) != null && ve.length ? (v(), A(ze, { key: 1 }, [
683
+ i[11] || (i[11] = be(",格式为 ", -1)),
684
+ T("b", ml, pe(Z.value.join("/")), 1)
672
685
  ], 64)) : P("", !0),
673
- i[13] || (i[13] = we(" 的文件。 ", -1))
686
+ i[13] || (i[13] = be(" 的文件。 ", -1))
674
687
  ])
675
688
  ])) : P("", !0)
676
689
  ], 6);
677
690
  };
678
691
  }
679
- }), xt = /* @__PURE__ */ Te(_l, [["__scopeId", "data-v-1e380be1"]]), El = /* @__PURE__ */ Object.assign({
692
+ }), $t = /* @__PURE__ */ Re(yl, [["__scopeId", "data-v-1e380be1"]]), pl = /* @__PURE__ */ Object.assign({
680
693
  name: "QyImageUpload",
681
694
  inheritAttrs: !1
682
695
  }, {
@@ -734,7 +747,7 @@ const Dl = { class: "qy-upload__hint" }, Ml = ["placeholder", "disabled"], Ol =
734
747
  setup(t, { expose: D, emit: W }) {
735
748
  const e = t, n = W, H = Be(), d = q(null), y = ["jpg", "jpeg", "png", "gif", "bmp", "webp"], f = F(
736
749
  () => e.voucher || e.mode === "voucher"
737
- ), I = F(() => Array.isArray(e.modelValue) ? e.modelValue.filter(Boolean) : e.modelValue ? String(e.modelValue).split(",").filter(Boolean) : []), x = F(() => e.supportVideo ? 1 : f.value ? e.limit ?? 30 : e.limit ?? (e.multiple ? 9 : 1)), U = F(() => {
750
+ ), I = F(() => Array.isArray(e.modelValue) ? e.modelValue.filter(Boolean) : e.modelValue ? String(e.modelValue).split(",").filter(Boolean) : []), x = F(() => e.supportVideo ? 1 : f.value ? e.limit ?? 30 : e.limit ?? (e.multiple ? 9 : 1)), _ = F(() => {
738
751
  var a;
739
752
  return (a = e.fileType) != null && a.length ? e.fileType : f.value && !e.supportVideo ? y : [];
740
753
  });
@@ -742,8 +755,8 @@ const Dl = { class: "qy-upload__hint" }, Ml = ["placeholder", "disabled"], Ol =
742
755
  return Array.isArray(a) ? a.filter(Boolean) : [];
743
756
  }
744
757
  function M(a) {
745
- const o = E(a);
746
- return e.multiple ? o : o[0] || "";
758
+ const l = E(a);
759
+ return e.multiple ? l : l[0] || "";
747
760
  }
748
761
  function j(a) {
749
762
  n("update:modelValue", M(a));
@@ -751,36 +764,36 @@ const Dl = { class: "qy-upload__hint" }, Ml = ["placeholder", "disabled"], Ol =
751
764
  function G(a) {
752
765
  n("change", M(a == null ? void 0 : a.files));
753
766
  }
754
- function T(a) {
767
+ function R(a) {
755
768
  var te, s;
756
769
  if (typeof a == "string") return a;
757
- const o = a || {}, K = o.url ?? o.urls ?? ((te = o.data) == null ? void 0 : te.url) ?? ((s = o.data) == null ? void 0 : s.urls) ?? "";
758
- return Array.isArray(K) ? K[0] || "" : K || "";
770
+ const l = a || {}, U = l.url ?? l.urls ?? ((te = l.data) == null ? void 0 : te.url) ?? ((s = l.data) == null ? void 0 : s.urls) ?? "";
771
+ return Array.isArray(U) ? U[0] || "" : U || "";
759
772
  }
760
773
  function L(a) {
761
- const o = T(a);
762
- o && n("updateImg", o), n("success", V(), a);
774
+ const l = R(a);
775
+ l && n("updateImg", l), n("success", V(), a);
763
776
  }
764
777
  function ae(a) {
765
778
  n("error", a);
766
779
  }
767
- function X(a, o) {
768
- n("remove", a, o);
780
+ function J(a, l) {
781
+ n("remove", a, l);
769
782
  }
770
- function J() {
771
- var a, o;
772
- (o = (a = d.value) == null ? void 0 : a.openFileDialog) == null || o.call(a);
783
+ function X() {
784
+ var a, l;
785
+ (l = (a = d.value) == null ? void 0 : a.openFileDialog) == null || l.call(a);
773
786
  }
774
- function oe() {
775
- var a, o;
776
- (o = (a = d.value) == null ? void 0 : a.clearFiles) == null || o.call(a);
787
+ function le() {
788
+ var a, l;
789
+ (l = (a = d.value) == null ? void 0 : a.clearFiles) == null || l.call(a);
777
790
  }
778
791
  function ne() {
779
- var a, o;
780
- return ((o = (a = d.value) == null ? void 0 : a.getPathList) == null ? void 0 : o.call(a)) || [];
792
+ var a, l;
793
+ return ((l = (a = d.value) == null ? void 0 : a.getPathList) == null ? void 0 : l.call(a)) || [];
781
794
  }
782
795
  const re = F(() => ne()), Z = F(() => ne());
783
- function b() {
796
+ function w() {
784
797
  return ne();
785
798
  }
786
799
  function V() {
@@ -788,14 +801,14 @@ const Dl = { class: "qy-upload__hint" }, Ml = ["placeholder", "disabled"], Ol =
788
801
  return e.multiple ? a : a[0] || "";
789
802
  }
790
803
  return D({
791
- openFileDialog: J,
792
- clearFiles: oe,
804
+ openFileDialog: X,
805
+ clearFiles: le,
793
806
  getPathList: ne,
794
- getFullPathList: b,
807
+ getFullPathList: w,
795
808
  fullPathList: re,
796
809
  pathList: Z,
797
810
  getValue: V
798
- }), (a, o) => (v(), ce(xt, Qe({
811
+ }), (a, l) => (v(), ce($t, xe({
799
812
  ref_key: "uploadRef",
800
813
  ref: d
801
814
  }, $(H), {
@@ -805,7 +818,7 @@ const Dl = { class: "qy-upload__hint" }, Ml = ["placeholder", "disabled"], Ol =
805
818
  name: t.name,
806
819
  multiple: t.multiple,
807
820
  disabled: t.disabled,
808
- "file-type": U.value,
821
+ "file-type": _.value,
809
822
  "file-size": t.fileSize,
810
823
  limit: x.value,
811
824
  "is-show-tip": t.isShowTip,
@@ -823,23 +836,23 @@ const Dl = { class: "qy-upload__hint" }, Ml = ["placeholder", "disabled"], Ol =
823
836
  onChange: G,
824
837
  onSuccess: L,
825
838
  onError: ae,
826
- onRemove: X
839
+ onRemove: J
827
840
  }), null, 16, ["model-value", "api", "name", "multiple", "disabled", "file-type", "file-size", "limit", "is-show-tip", "token-key", "support-video", "size", "disable-drag", "call-back", "extra-data", "upload-request", "show-paste-input", "paste-placeholder"]));
828
841
  }
829
- }), jl = { class: "text-lg flex items-center pt-2 pl-[var(--content-padding)]" }, Nl = { key: 0 }, Hl = { key: 1 }, Zl = {
842
+ }), gl = { class: "text-lg flex items-center pt-2 pl-[var(--content-padding)]" }, vl = { key: 0 }, hl = { key: 1 }, bl = {
830
843
  key: 0,
831
844
  class: "icon-[material-symbols--square-outline-rounded]",
832
845
  role: "img",
833
846
  "aria-hidden": "true"
834
- }, Wl = {
847
+ }, wl = {
835
848
  key: 1,
836
849
  class: "icon-[tdesign--fullscreen-exit-1]",
837
850
  role: "img",
838
851
  "aria-hidden": "true"
839
- }, Gl = {
852
+ }, Sl = {
840
853
  key: 0,
841
854
  class: "fixed -right-12 top-2 h-9 w-9 hover:bg-gray-600/80 transition-all"
842
- }, Xl = { class: "flex justify-between h-[var(--footer-height)] px-[var(--content-padding)] items-center" }, Jl = { class: "flex items-center justify-between w-full pl-1 pr-4 h-full ml-2" }, Yl = { class: "flex items-center gap-2" }, eo = { class: "text-sm text-gray-700 truncate max-w-[200px]" }, to = { class: "flex items-center gap-2" }, it = 5, He = 2e3, Xe = /* @__PURE__ */ qe({
855
+ }, kl = { class: "flex justify-between h-[var(--footer-height)] px-[var(--content-padding)] items-center" }, Ql = { class: "flex items-center justify-between w-full pl-1 pr-4 h-full ml-2" }, xl = { class: "flex items-center gap-2" }, $l = { class: "text-sm text-gray-700 truncate max-w-[200px]" }, Cl = { class: "flex items-center gap-2" }, it = 5, He = 2e3, Je = /* @__PURE__ */ qe({
843
856
  __name: "index",
844
857
  props: /* @__PURE__ */ rt({
845
858
  layout: { type: [Array, String, Boolean], default: () => ["confirm", "cancel"] },
@@ -854,12 +867,12 @@ const Dl = { class: "qy-upload__hint" }, Ml = ["placeholder", "disabled"], Ol =
854
867
  }),
855
868
  emits: /* @__PURE__ */ rt(["confirm", "cancel", "close", "opened", "ok"], ["update:modelValue"]),
856
869
  setup(t, { expose: D, emit: W }) {
857
- const e = t, n = mt(), H = q(!0), d = q(!1), y = q(He), f = q(null), x = Za({
870
+ const e = t, n = mt(), H = q(!0), d = q(!1), y = q(He), f = q(null), x = ro({
858
871
  mobile: 0,
859
872
  tablet: 640,
860
873
  laptop: 1024,
861
874
  desktop: 1280
862
- }).isSmaller("tablet"), U = F(() => {
875
+ }).isSmaller("tablet"), _ = F(() => {
863
876
  if (Array.isArray(e.layout)) return e.layout;
864
877
  if (typeof e.layout == "string")
865
878
  return e.layout.split(",").map((g) => g.trim());
@@ -868,22 +881,22 @@ const Dl = { class: "qy-upload__hint" }, Ml = ["placeholder", "disabled"], Ol =
868
881
  ConfirmButton: O(te)
869
882
  })), M = F(() => n.footer || e.layout !== !1), j = q(!1), G = q(
870
883
  e.showFullscreen && x ? !0 : e.fullscreen
871
- ), T = W, L = Ia(t, "modelValue");
872
- Ta(() => {
884
+ ), R = W, L = Ka(t, "modelValue");
885
+ Ea(() => {
873
886
  L.value && (j.value = !1);
874
887
  }), D({
875
- handleMinimize: Q
888
+ handleMinimize: C
876
889
  });
877
- const ae = Be(), X = `qy-dialog-${Math.random().toString(36).slice(2, 11)}`, J = q(!1), oe = q(null);
890
+ const ae = Be(), J = `qy-dialog-${Math.random().toString(36).slice(2, 11)}`, X = q(!1), le = q(null);
878
891
  window.minimizedCount || (window.minimizedCount = 0);
879
- const { x: ne, y: re } = Wa(oe, {
892
+ const { x: ne, y: re } = io(le, {
880
893
  initialValue: {
881
894
  x: 5,
882
895
  y: window.innerHeight - 100 - (window.minimizedCount || 0) * 60
883
896
  },
884
897
  onMove(g) {
885
898
  var B;
886
- (B = oe.value) == null || B.classList.add("dragging"), document.body.classList.add("qy-dialog--dragging"), ne.value = Math.max(
899
+ (B = le.value) == null || B.classList.add("dragging"), document.body.classList.add("qy-dialog--dragging"), ne.value = Math.max(
887
900
  0,
888
901
  Math.min(window.innerWidth - 300, g.x)
889
902
  ), re.value = Math.max(
@@ -893,27 +906,27 @@ const Dl = { class: "qy-upload__hint" }, Ml = ["placeholder", "disabled"], Ol =
893
906
  },
894
907
  onEnd() {
895
908
  var g;
896
- (g = oe.value) == null || g.classList.remove("dragging"), document.body.classList.remove("qy-dialog--dragging");
909
+ (g = le.value) == null || g.classList.remove("dragging"), document.body.classList.remove("qy-dialog--dragging");
897
910
  }
898
911
  }), Z = F(() => ({
899
912
  transform: `translate(${ne.value}px, ${re.value}px)`,
900
913
  willChange: "transform"
901
914
  }));
902
- function b(g) {
903
- const B = g.target, { scrollTop: ie, scrollHeight: me, clientHeight: ge } = B;
904
- H.value = ie <= it, d.value = me - (ie + ge) <= it;
915
+ function w(g) {
916
+ const B = g.target, { scrollTop: ie, scrollHeight: me, clientHeight: we } = B;
917
+ H.value = ie <= it, d.value = me - (ie + we) <= it;
905
918
  }
906
919
  function V() {
907
- const g = document.querySelector(`.${X}.el-dialog`);
908
- g && (f.value = g, g.addEventListener("scroll", b)), p(), T("opened");
920
+ const g = document.querySelector(`.${J}.el-dialog`);
921
+ g && (f.value = g, g.addEventListener("scroll", w)), p(), R("opened");
909
922
  }
910
923
  function a() {
911
924
  G.value = !G.value, p();
912
925
  }
913
- function o() {
914
- j.value || (j.value = !0, J.value = !1, L.value = !1, T("cancel"), T("close"));
926
+ function l() {
927
+ j.value || (j.value = !0, X.value = !1, L.value = !1, R("cancel"), R("close"));
915
928
  }
916
- function K(g) {
929
+ function U(g) {
917
930
  e.showFullscreen && g.detail >= 2 && a();
918
931
  }
919
932
  function te() {
@@ -924,7 +937,7 @@ const Dl = { class: "qy-upload__hint" }, Ml = ["placeholder", "disabled"], Ol =
924
937
  type: "primary",
925
938
  class: "dialog__footerBtn",
926
939
  onClick: () => {
927
- T("confirm"), T("ok");
940
+ R("confirm"), R("ok");
928
941
  }
929
942
  },
930
943
  () => $(e.confirmProps).title || "确 认"
@@ -933,51 +946,51 @@ const Dl = { class: "qy-upload__hint" }, Ml = ["placeholder", "disabled"], Ol =
933
946
  function s() {
934
947
  return nt(
935
948
  Ve,
936
- { class: "dialog__footerBtn", onClick: () => o() },
949
+ { class: "dialog__footerBtn", onClick: () => l() },
937
950
  () => "取 消"
938
951
  );
939
952
  }
940
- Je(() => {
953
+ Xe(() => {
941
954
  typeof window.qyDialogMaxZIndex > "u" && (window.qyDialogMaxZIndex = He), p();
942
955
  });
943
956
  function p() {
944
957
  var m;
945
958
  const g = Array.from(
946
959
  document.querySelectorAll(".el-overlay")
947
- ).filter((Y) => window.getComputedStyle(Y).display !== "none" && !Y.classList.contains("is-message")), B = (m = document.querySelector(`.${X}`)) == null ? void 0 : m.closest(".el-overlay"), ie = document.querySelector(
948
- `.${X}.el-dialog`
960
+ ).filter((Y) => window.getComputedStyle(Y).display !== "none" && !Y.classList.contains("is-message")), B = (m = document.querySelector(`.${J}`)) == null ? void 0 : m.closest(".el-overlay"), ie = document.querySelector(
961
+ `.${J}.el-dialog`
949
962
  );
950
963
  if (!B || !ie) return;
951
964
  const me = He;
952
965
  window.qyDialogMaxZIndex = window.qyDialogMaxZIndex || me;
953
- const xe = Math.max(
966
+ const Qe = Math.max(
954
967
  window.qyDialogMaxZIndex,
955
968
  ...g.map(
956
969
  (Y) => parseInt(window.getComputedStyle(Y).zIndex || me.toString())
957
970
  )
958
971
  ) + 2;
959
- window.qyDialogMaxZIndex = xe, Oe(() => {
960
- B.style.zIndex = xe.toString(), ie.style.zIndex = (xe + 1).toString(), y.value = xe + 1;
972
+ window.qyDialogMaxZIndex = Qe, Oe(() => {
973
+ B.style.zIndex = Qe.toString(), ie.style.zIndex = (Qe + 1).toString(), y.value = Qe + 1;
961
974
  });
962
975
  }
963
976
  yt(() => {
964
977
  var g;
965
- (g = f.value) == null || g.removeEventListener("scroll", b), J.value && window.minimizedCount--;
978
+ (g = f.value) == null || g.removeEventListener("scroll", w), X.value && window.minimizedCount--;
966
979
  });
967
- function Q() {
980
+ function C() {
968
981
  var B;
969
- J.value = !J.value;
970
- const g = (B = document.querySelector(`.${X}`)) == null ? void 0 : B.closest(".el-overlay");
971
- g && (J.value ? (g.style.display = "none", window.minimizedCount++, re.value = window.innerHeight - 50 - (window.minimizedCount || 0) * 60) : (g.style.display = "block", window.minimizedCount--, p()));
982
+ X.value = !X.value;
983
+ const g = (B = document.querySelector(`.${J}`)) == null ? void 0 : B.closest(".el-overlay");
984
+ g && (X.value ? (g.style.display = "none", window.minimizedCount++, re.value = window.innerHeight - 50 - (window.minimizedCount || 0) * 60) : (g.style.display = "block", window.minimizedCount--, p()));
972
985
  }
973
986
  return (g, B) => {
974
- const ie = za("Close"), me = ct, ge = dt;
987
+ const ie = ct, me = dt;
975
988
  return v(), A("div", null, [
976
- O(ge, Qe({
989
+ O(me, xe({
977
990
  ref: "dialogRef",
978
991
  class: ["qy-dialog", [
979
992
  e.size === "small" && "[&_.el-dialog__header]:!hidden",
980
- X
993
+ J
981
994
  ]],
982
995
  "model-value": L.value,
983
996
  "align-center": "",
@@ -988,10 +1001,10 @@ const Dl = { class: "qy-upload__hint" }, Ml = ["placeholder", "disabled"], Ol =
988
1001
  "show-close": !1,
989
1002
  fullscreen: G.value,
990
1003
  "z-index": y.value,
991
- onClosed: o,
1004
+ onClosed: l,
992
1005
  onOpened: V,
993
1006
  draggable: ""
994
- }, $(ae)), Ue({
1007
+ }, $(ae)), _e({
995
1008
  header: h(() => [
996
1009
  e.size === "default" ? (v(), A("div", {
997
1010
  key: 0,
@@ -1001,14 +1014,14 @@ const Dl = { class: "qy-upload__hint" }, Ml = ["placeholder", "disabled"], Ol =
1001
1014
  transition: "border-color .2s linear"
1002
1015
  }),
1003
1016
  class: "flex justify-between h-[var(--header-height)]",
1004
- onDblclick: K
1017
+ onDblclick: U
1005
1018
  }, [
1006
- z("div", jl, [
1007
- $(n).header ? $(n).header ? (v(), A("div", Hl, [
1008
- R(g.$slots, "header")
1009
- ])) : P("", !0) : (v(), A("span", Nl, pe($(ae).title), 1))
1019
+ T("div", gl, [
1020
+ $(n).header ? $(n).header ? (v(), A("div", hl, [
1021
+ z(g.$slots, "header")
1022
+ ])) : P("", !0) : (v(), A("span", vl, pe($(ae).title), 1))
1010
1023
  ]),
1011
- z("div", {
1024
+ T("div", {
1012
1025
  class: "flex",
1013
1026
  onMousedown: B[3] || (B[3] = ue(() => {
1014
1027
  }, ["stop"]))
@@ -1016,11 +1029,11 @@ const Dl = { class: "qy-upload__hint" }, Ml = ["placeholder", "disabled"], Ol =
1016
1029
  e.size === "default" ? (v(), A("div", {
1017
1030
  key: 0,
1018
1031
  class: "qy-dialog__btn qy-dialog__btn--default",
1019
- onClick: ue(Q, ["stop"]),
1032
+ onClick: ue(C, ["stop"]),
1020
1033
  onMousedown: B[0] || (B[0] = ue(() => {
1021
1034
  }, ["stop"]))
1022
1035
  }, [...B[4] || (B[4] = [
1023
- z("span", {
1036
+ T("span", {
1024
1037
  class: "icon-[material-symbols--minimize] text-xl mb-3",
1025
1038
  role: "img",
1026
1039
  "aria-hidden": "true"
@@ -1033,15 +1046,15 @@ const Dl = { class: "qy-upload__hint" }, Ml = ["placeholder", "disabled"], Ol =
1033
1046
  onMousedown: B[1] || (B[1] = ue(() => {
1034
1047
  }, ["stop"]))
1035
1048
  }, [
1036
- G.value ? (v(), A("span", Wl)) : (v(), A("span", Zl))
1049
+ G.value ? (v(), A("span", wl)) : (v(), A("span", bl))
1037
1050
  ], 32)) : P("", !0),
1038
- z("div", {
1051
+ T("div", {
1039
1052
  class: "qy-dialog__btn qy-dialog__btn--danger",
1040
- onClick: ue(o, ["stop"]),
1053
+ onClick: ue(l, ["stop"]),
1041
1054
  onMousedown: B[2] || (B[2] = ue(() => {
1042
1055
  }, ["stop"]))
1043
1056
  }, [...B[5] || (B[5] = [
1044
- z("span", {
1057
+ T("span", {
1045
1058
  class: "icon-[ri--close-line] text-xl",
1046
1059
  role: "img",
1047
1060
  "aria-hidden": "true"
@@ -1051,45 +1064,45 @@ const Dl = { class: "qy-upload__hint" }, Ml = ["placeholder", "disabled"], Ol =
1051
1064
  ], 36)) : P("", !0)
1052
1065
  ]),
1053
1066
  default: h(() => [
1054
- z("div", {
1055
- class: ke(["qy-dialog__wrapper", $(Ha)(G.value && "qy-dialog__wrapper--fullscreen")]),
1067
+ T("div", {
1068
+ class: ke(["qy-dialog__wrapper", $(no)(G.value && "qy-dialog__wrapper--fullscreen")]),
1056
1069
  style: Pe({
1057
1070
  maxHeight: M.value ? "calc(100vh - var(--header-height) - var(--footer-height) - var(--sides-gap))" : "calc(100vh - var(--header-height) - var(--sides-gap))",
1058
1071
  padding: e.size === "small" ? "var(--small-content-padding)" : "var(--content-padding)"
1059
1072
  })
1060
1073
  }, [
1061
- e.size === "small" ? (v(), A("div", Gl, [
1062
- O(me, {
1074
+ e.size === "small" ? (v(), A("div", Sl, [
1075
+ O(ie, {
1063
1076
  size: 36,
1064
1077
  class: "cursor-pointer text-gray-100 active:scale-75 rounded-sm transition-all",
1065
- onClick: o
1078
+ onClick: l
1066
1079
  }, {
1067
1080
  default: h(() => [
1068
- O(ie)
1081
+ O($(Za))
1069
1082
  ]),
1070
1083
  _: 1
1071
1084
  })
1072
1085
  ])) : P("", !0),
1073
- R(g.$slots, "default")
1086
+ z(g.$slots, "default")
1074
1087
  ], 6)
1075
1088
  ]),
1076
1089
  _: 2
1077
1090
  }, [
1078
- !g.$slots.footer && Array.isArray(U.value) ? {
1091
+ !g.$slots.footer && Array.isArray(_.value) ? {
1079
1092
  name: "footer",
1080
1093
  fn: h(() => [
1081
- z("div", Xl, [
1082
- z("div", null, [
1083
- R(g.$slots, "footer-left")
1094
+ T("div", kl, [
1095
+ T("div", null, [
1096
+ z(g.$slots, "footer-left")
1084
1097
  ]),
1085
- z("div", {
1098
+ T("div", {
1086
1099
  class: ke([{
1087
1100
  "qy-dialog__footer--outline": d.value
1088
1101
  }, "qy-dialog__footer flex items-center justify-end"])
1089
1102
  }, [
1090
- U.value.includes("cancel") ? (v(), ce(s, { key: 0 })) : P("", !0),
1091
- U.value.includes("confirm") ? (v(), ce(te, { key: 1 })) : P("", !0),
1092
- R(g.$slots, "footer-append")
1103
+ _.value.includes("cancel") ? (v(), ce(s, { key: 0 })) : P("", !0),
1104
+ _.value.includes("confirm") ? (v(), ce(te, { key: 1 })) : P("", !0),
1105
+ z(g.$slots, "footer-append")
1093
1106
  ], 2)
1094
1107
  ])
1095
1108
  ]),
@@ -1097,12 +1110,12 @@ const Dl = { class: "qy-upload__hint" }, Ml = ["placeholder", "disabled"], Ol =
1097
1110
  } : M.value ? {
1098
1111
  name: "footer",
1099
1112
  fn: h(() => [
1100
- z("div", {
1113
+ T("div", {
1101
1114
  class: ke([{
1102
1115
  "qy-dialog__footer--outline": d.value
1103
1116
  }, "qy-dialog__footer px-[var(--content-padding)] min-h-[var(--footer-height)] flex items-center justify-end"])
1104
1117
  }, [
1105
- R(g.$slots, "footer", {
1118
+ z(g.$slots, "footer", {
1106
1119
  layouts: E.value,
1107
1120
  layoutsNode: Object.values(E.value)
1108
1121
  })
@@ -1111,34 +1124,34 @@ const Dl = { class: "qy-upload__hint" }, Ml = ["placeholder", "disabled"], Ol =
1111
1124
  key: "1"
1112
1125
  } : void 0
1113
1126
  ]), 1040, ["class", "model-value", "fullscreen", "z-index"]),
1114
- Ye(z("div", {
1127
+ Ye(T("div", {
1115
1128
  ref_key: "minimizedRef",
1116
- ref: oe,
1129
+ ref: le,
1117
1130
  class: "fixed left-0 top-0 bg-white rounded shadow-lg cursor-pointer z-[9999] hover:bg-gray-50",
1118
1131
  style: Pe([Z.value, { width: "300px", height: "50px", "will-change": "transform" }])
1119
1132
  }, [
1120
- z("div", Jl, [
1121
- z("div", Yl, [
1122
- B[6] || (B[6] = z("div", { class: "icon-[mdi--window-restore] text-gray-600" }, null, -1)),
1123
- z("span", eo, pe($(ae).title), 1)
1133
+ T("div", Ql, [
1134
+ T("div", xl, [
1135
+ B[6] || (B[6] = T("div", { class: "icon-[mdi--window-restore] text-gray-600" }, null, -1)),
1136
+ T("span", $l, pe($(ae).title), 1)
1124
1137
  ]),
1125
- z("div", to, [
1126
- z("div", {
1138
+ T("div", Cl, [
1139
+ T("div", {
1127
1140
  class: "p-1 hover:bg-gray-200 rounded",
1128
- onClick: ue(Q, ["stop"])
1141
+ onClick: ue(C, ["stop"])
1129
1142
  }, [...B[7] || (B[7] = [
1130
- z("div", { class: "icon-[mdi--window-maximize] text-gray-600" }, null, -1)
1143
+ T("div", { class: "icon-[mdi--window-maximize] text-gray-600" }, null, -1)
1131
1144
  ])]),
1132
- z("div", {
1145
+ T("div", {
1133
1146
  class: "p-1 hover:bg-red-100 rounded",
1134
- onClick: ue(o, ["stop"])
1147
+ onClick: ue(l, ["stop"])
1135
1148
  }, [...B[8] || (B[8] = [
1136
- z("div", { class: "icon-[mdi--close] text-red-600" }, null, -1)
1149
+ T("div", { class: "icon-[mdi--close] text-red-600" }, null, -1)
1137
1150
  ])])
1138
1151
  ])
1139
1152
  ])
1140
1153
  ], 4), [
1141
- [pt, J.value]
1154
+ [pt, X.value]
1142
1155
  ])
1143
1156
  ]);
1144
1157
  };
@@ -1154,32 +1167,32 @@ function st(t) {
1154
1167
  text: t || ""
1155
1168
  };
1156
1169
  }
1157
- function ao(t) {
1170
+ function Vl(t) {
1158
1171
  const D = String(t || "").match(/(\[url\:.*?\])([\s\S]*)/);
1159
1172
  return D ? D[2] : t;
1160
1173
  }
1161
1174
  function ut(t, D) {
1162
1175
  return D ? `[url:${D}]${t}` : t;
1163
1176
  }
1164
- const lo = { class: "qy-remark-image__field" }, oo = {
1177
+ const ql = { class: "qy-remark-image__field" }, Bl = {
1165
1178
  key: 1,
1166
1179
  class: "qy-remark-image__divider"
1167
- }, no = { class: "qy-remark-image__upload-anchor" }, ro = {
1180
+ }, Al = { class: "qy-remark-image__upload-anchor" }, Il = {
1168
1181
  key: 0,
1169
1182
  class: "icon-[line-md--loading-twotone-loop]",
1170
1183
  role: "img",
1171
1184
  "aria-hidden": "true"
1172
- }, io = {
1185
+ }, Rl = {
1173
1186
  key: 1,
1174
1187
  class: "icon-[ion--cloud-upload-outline]",
1175
1188
  role: "img",
1176
1189
  "aria-hidden": "true"
1177
- }, so = {
1190
+ }, Tl = {
1178
1191
  key: 2,
1179
1192
  class: "icon-[ph--images-thin]",
1180
1193
  role: "img",
1181
1194
  "aria-hidden": "true"
1182
- }, uo = { class: "qy-remark-image__popover" }, co = ["src"], fo = { class: "qy-remark-image__popover-footer" }, mo = /* @__PURE__ */ qe({
1195
+ }, zl = { class: "qy-remark-image__popover" }, Fl = ["src"], Pl = { class: "qy-remark-image__popover-footer" }, Dl = /* @__PURE__ */ qe({
1183
1196
  __name: "index",
1184
1197
  props: {
1185
1198
  defaultValue: { default: "" },
@@ -1203,7 +1216,7 @@ const lo = { class: "qy-remark-image__field" }, oo = {
1203
1216
  setup(t, { expose: D, emit: W }) {
1204
1217
  const e = t, n = W, H = Be(), d = q(null), y = q(""), f = q(""), I = q(!1), x = F(
1205
1218
  () => e.layout === "select-prefix"
1206
- ), U = F(() => ({
1219
+ ), _ = F(() => ({
1207
1220
  "qy-remark-image--select-prefix": x.value
1208
1221
  })), E = F(
1209
1222
  () => x.value || e.type === "text" ? "text" : "textarea"
@@ -1215,47 +1228,47 @@ const lo = { class: "qy-remark-image__field" }, oo = {
1215
1228
  });
1216
1229
  fe(
1217
1230
  () => e.defaultValue,
1218
- (b) => {
1219
- const V = st(b || "");
1231
+ (w) => {
1232
+ const V = st(w || "");
1220
1233
  y.value = V.text, f.value = V.imageUrl || e.defaultImage || "";
1221
1234
  },
1222
1235
  { immediate: !0 }
1223
1236
  ), fe(
1224
1237
  () => e.defaultImage,
1225
- (b) => {
1226
- b !== void 0 && !st(e.defaultValue || "").imageUrl && (f.value = b || "");
1238
+ (w) => {
1239
+ w !== void 0 && !st(e.defaultValue || "").imageUrl && (f.value = w || "");
1227
1240
  },
1228
1241
  { immediate: !0 }
1229
- ), Je(() => {
1242
+ ), Xe(() => {
1230
1243
  Oe(G);
1231
1244
  }), yt(() => {
1232
- const b = j();
1233
- b && b.removeEventListener("paste", J);
1245
+ const w = j();
1246
+ w && w.removeEventListener("paste", X);
1234
1247
  });
1235
1248
  function j() {
1236
- var b, V;
1237
- return ((b = d.value) == null ? void 0 : b.textarea) || ((V = d.value) == null ? void 0 : V.input) || null;
1249
+ var w, V;
1250
+ return ((w = d.value) == null ? void 0 : w.textarea) || ((V = d.value) == null ? void 0 : V.input) || null;
1238
1251
  }
1239
1252
  function G() {
1240
- const b = j();
1241
- b && (b.removeEventListener("paste", J), b.addEventListener("paste", J));
1253
+ const w = j();
1254
+ w && (w.removeEventListener("paste", X), w.addEventListener("paste", X));
1242
1255
  }
1243
- function T(b) {
1244
- y.value = ao(b || "");
1256
+ function R(w) {
1257
+ y.value = Vl(w || "");
1245
1258
  }
1246
- function L(b) {
1247
- n("update:selectValue", b), n("select-change", b);
1259
+ function L(w) {
1260
+ n("update:selectValue", w), n("select-change", w);
1248
1261
  }
1249
1262
  function ae() {
1250
1263
  f.value = "", Z();
1251
1264
  }
1252
- function X() {
1265
+ function J() {
1253
1266
  y.value = "", f.value = "", Z();
1254
1267
  }
1255
- async function J(b) {
1256
- var o;
1257
- const a = Array.from(((o = b.clipboardData) == null ? void 0 : o.files) || []).find((K) => K.type.startsWith("image/"));
1258
- a && (b.preventDefault(), await oe({
1268
+ async function X(w) {
1269
+ var l;
1270
+ const a = Array.from(((l = w.clipboardData) == null ? void 0 : l.files) || []).find((U) => U.type.startsWith("image/"));
1271
+ a && (w.preventDefault(), await le({
1259
1272
  file: a,
1260
1273
  onError: () => {
1261
1274
  },
@@ -1265,31 +1278,31 @@ const lo = { class: "qy-remark-image__field" }, oo = {
1265
1278
  }
1266
1279
  }));
1267
1280
  }
1268
- async function oe(b) {
1281
+ async function le(w) {
1269
1282
  var V, a;
1270
- if (b.file.size > 51200 * 1e3)
1271
- return be.error("图片过大"), !1;
1283
+ if (w.file.size > 51200 * 1e3)
1284
+ return he.error("图片过大"), !1;
1272
1285
  I.value = !0;
1273
1286
  try {
1274
- const o = await ne(b);
1275
- return f.value = re(o), Z(), be.success("上传图片成功"), (V = b.onSuccess) == null || V.call(b, o), !0;
1276
- } catch (o) {
1277
- return (a = b.onError) == null || a.call(b, o), be.error("上传失败"), !1;
1287
+ const l = await ne(w);
1288
+ return f.value = re(l), Z(), he.success("上传图片成功"), (V = w.onSuccess) == null || V.call(w, l), !0;
1289
+ } catch (l) {
1290
+ return (a = w.onError) == null || a.call(w, l), he.error("上传失败"), !1;
1278
1291
  } finally {
1279
1292
  I.value = !1;
1280
1293
  }
1281
1294
  }
1282
- async function ne(b) {
1295
+ async function ne(w) {
1283
1296
  const V = new FormData();
1284
- if (V.append(e.uploadName, b.file), e.uploadRequest)
1297
+ if (V.append(e.uploadName, w.file), e.uploadRequest)
1285
1298
  return e.uploadRequest({
1286
- file: b.file,
1299
+ file: w.file,
1287
1300
  formData: V,
1288
- options: b,
1301
+ options: w,
1289
1302
  api: e.api,
1290
1303
  tokenKey: e.tokenKey
1291
1304
  });
1292
- const a = kt.get(e.tokenKey);
1305
+ const a = xt.get(e.tokenKey);
1293
1306
  return (await fetch(e.api, {
1294
1307
  method: "POST",
1295
1308
  body: V,
@@ -1297,10 +1310,10 @@ const lo = { class: "qy-remark-image__field" }, oo = {
1297
1310
  headers: a ? { Authorization: `Bearer ${a}` } : void 0
1298
1311
  })).json();
1299
1312
  }
1300
- function re(b) {
1301
- var o, K;
1302
- if (typeof b == "string") return b;
1303
- const V = b, a = (V == null ? void 0 : V.urls) ?? ((o = V == null ? void 0 : V.data) == null ? void 0 : o.urls) ?? ((K = V == null ? void 0 : V.data) == null ? void 0 : K.url) ?? (V == null ? void 0 : V.url) ?? "";
1313
+ function re(w) {
1314
+ var l, U;
1315
+ if (typeof w == "string") return w;
1316
+ const V = w, a = (V == null ? void 0 : V.urls) ?? ((l = V == null ? void 0 : V.data) == null ? void 0 : l.urls) ?? ((U = V == null ? void 0 : V.data) == null ? void 0 : U.url) ?? (V == null ? void 0 : V.url) ?? "";
1304
1317
  return Array.isArray(a) ? a[0] || "" : a || "";
1305
1318
  }
1306
1319
  function Z() {
@@ -1313,18 +1326,18 @@ const lo = { class: "qy-remark-image__field" }, oo = {
1313
1326
  return D({
1314
1327
  deleteImage: ae,
1315
1328
  // 兼容旧 remarkImage,在表单 reset/clearFrom 时清空文字和图片。
1316
- clearContent: X,
1329
+ clearContent: J,
1317
1330
  // 给表单保存或外部调试读取当前拆分值。
1318
1331
  getValue: () => ({
1319
1332
  text: y.value || "",
1320
1333
  imageUrl: f.value || "",
1321
1334
  value: ut(y.value || "", f.value || "")
1322
1335
  })
1323
- }), (b, V) => (v(), A("div", {
1324
- class: ke(["qy-remark-image", U.value]),
1336
+ }), (w, V) => (v(), A("div", {
1337
+ class: ke(["qy-remark-image", _.value]),
1325
1338
  style: Pe(M.value)
1326
1339
  }, [
1327
- z("div", lo, [
1340
+ T("div", ql, [
1328
1341
  x.value ? (v(), ce($(ht), {
1329
1342
  key: 0,
1330
1343
  class: "qy-remark-image__prefix-select",
@@ -1335,7 +1348,7 @@ const lo = { class: "qy-remark-image__field" }, oo = {
1335
1348
  "onUpdate:modelValue": L
1336
1349
  }, {
1337
1350
  default: h(() => [
1338
- (v(!0), A(Re, null, et(t.selectOptions, (a) => (v(), ce($(bt), {
1351
+ (v(!0), A(ze, null, et(t.selectOptions, (a) => (v(), ce($(bt), {
1339
1352
  key: String(a.value),
1340
1353
  label: a.label,
1341
1354
  value: a.value,
@@ -1344,8 +1357,8 @@ const lo = { class: "qy-remark-image__field" }, oo = {
1344
1357
  ]),
1345
1358
  _: 1
1346
1359
  }, 8, ["model-value", "options", "disabled"])) : P("", !0),
1347
- x.value ? (v(), A("span", oo)) : P("", !0),
1348
- O($(Me), Qe({
1360
+ x.value ? (v(), A("span", Bl)) : P("", !0),
1361
+ O($(Me), xe({
1349
1362
  ref_key: "inputRef",
1350
1363
  ref: d,
1351
1364
  "model-value": y.value,
@@ -1355,38 +1368,38 @@ const lo = { class: "qy-remark-image__field" }, oo = {
1355
1368
  disabled: t.disabled,
1356
1369
  placeholder: t.placeholder
1357
1370
  }, $(H), {
1358
- "onUpdate:modelValue": T,
1371
+ "onUpdate:modelValue": R,
1359
1372
  onBlur: Z
1360
1373
  }), null, 16, ["model-value", "type", "rows", "autosize", "disabled", "placeholder"]),
1361
- O($(Ma), {
1374
+ O($(Ga), {
1362
1375
  placement: "top-start",
1363
1376
  width: 400,
1364
1377
  trigger: "hover",
1365
1378
  disabled: !f.value
1366
1379
  }, {
1367
1380
  reference: h(() => [
1368
- z("div", no, [
1369
- O($(Oa), {
1381
+ T("div", Al, [
1382
+ O($(Ja), {
1370
1383
  disabled: I.value || t.disabled,
1371
1384
  class: "qy-remark-image__upload",
1372
1385
  "show-file-list": !1,
1373
- "http-request": oe
1386
+ "http-request": le
1374
1387
  }, {
1375
1388
  default: h(() => [
1376
- I.value ? (v(), A("span", ro)) : f.value ? (v(), A("span", so)) : (v(), A("span", io))
1389
+ I.value ? (v(), A("span", Il)) : f.value ? (v(), A("span", Tl)) : (v(), A("span", Rl))
1377
1390
  ]),
1378
1391
  _: 1
1379
1392
  }, 8, ["disabled"])
1380
1393
  ])
1381
1394
  ]),
1382
1395
  default: h(() => [
1383
- z("div", uo, [
1384
- z("img", {
1396
+ T("div", zl, [
1397
+ T("img", {
1385
1398
  src: f.value,
1386
1399
  class: "qy-remark-image__preview-img"
1387
- }, null, 8, co),
1388
- z("div", fo, [
1389
- V[1] || (V[1] = z("span", { class: "qy-remark-image__popover-tip" }, "再次点击按钮可更换图片", -1)),
1400
+ }, null, 8, Fl),
1401
+ T("div", Pl, [
1402
+ V[1] || (V[1] = T("span", { class: "qy-remark-image__popover-tip" }, "再次点击按钮可更换图片", -1)),
1390
1403
  O($(Ve), {
1391
1404
  link: "",
1392
1405
  size: "small",
@@ -1395,7 +1408,7 @@ const lo = { class: "qy-remark-image__field" }, oo = {
1395
1408
  onClick: ae
1396
1409
  }, {
1397
1410
  default: h(() => [...V[0] || (V[0] = [
1398
- we(" 删除图片 ", -1)
1411
+ be(" 删除图片 ", -1)
1399
1412
  ])]),
1400
1413
  _: 1
1401
1414
  }, 8, ["disabled"])
@@ -1407,7 +1420,7 @@ const lo = { class: "qy-remark-image__field" }, oo = {
1407
1420
  ])
1408
1421
  ], 6));
1409
1422
  }
1410
- }), yo = /* @__PURE__ */ Te(mo, [["__scopeId", "data-v-3158c066"]]), po = /* @__PURE__ */ qe({
1423
+ }), Ml = /* @__PURE__ */ Re(Dl, [["__scopeId", "data-v-3158c066"]]), Ol = /* @__PURE__ */ qe({
1411
1424
  name: "QyMoneyInput",
1412
1425
  inheritAttrs: !1,
1413
1426
  __name: "index",
@@ -1435,88 +1448,88 @@ const lo = { class: "qy-remark-image__field" }, oo = {
1435
1448
  function x(a) {
1436
1449
  return Number.isFinite(a) ? Math.max(0, Math.floor(a)) : 2;
1437
1450
  }
1438
- function U(a) {
1439
- const o = I(a);
1440
- let K = "", te = !1, s = !1;
1451
+ function _(a) {
1452
+ const l = I(a);
1453
+ let U = "", te = !1, s = !1;
1441
1454
  const p = x(e.precision);
1442
- for (let Q = 0; Q < o.length; Q += 1) {
1443
- const g = o[Q];
1455
+ for (let C = 0; C < l.length; C += 1) {
1456
+ const g = l[C];
1444
1457
  if (g >= "0" && g <= "9") {
1445
- K += g;
1458
+ U += g;
1446
1459
  continue;
1447
1460
  }
1448
1461
  if (g === "." && p > 0 && !te) {
1449
- K += g, te = !0;
1462
+ U += g, te = !0;
1450
1463
  continue;
1451
1464
  }
1452
- g === "-" && e.allowNegative && Q === 0 && !s && (K += g, s = !0);
1465
+ g === "-" && e.allowNegative && C === 0 && !s && (U += g, s = !0);
1453
1466
  }
1454
1467
  if (p > 0 && te) {
1455
- const [Q, g = ""] = K.split(".");
1456
- return `${Q}.${g.slice(0, p)}`;
1468
+ const [C, g = ""] = U.split(".");
1469
+ return `${C}.${g.slice(0, p)}`;
1457
1470
  }
1458
- return K;
1471
+ return U;
1459
1472
  }
1460
1473
  function E(a) {
1461
- let o = a;
1462
- return typeof e.min == "number" && Number.isFinite(e.min) && (o = Math.max(o, e.min)), typeof e.max == "number" && Number.isFinite(e.max) && (o = Math.min(o, e.max)), o;
1474
+ let l = a;
1475
+ return typeof e.min == "number" && Number.isFinite(e.min) && (l = Math.max(l, e.min)), typeof e.max == "number" && Number.isFinite(e.max) && (l = Math.min(l, e.max)), l;
1463
1476
  }
1464
1477
  function M(a) {
1465
- const o = U(a);
1466
- if (!o || o === "-" || o === ".")
1478
+ const l = _(a);
1479
+ if (!l || l === "-" || l === ".")
1467
1480
  return I(e.emptyValue);
1468
- const K = Number(o);
1469
- if (Number.isNaN(K)) return I(e.emptyValue);
1481
+ const U = Number(l);
1482
+ if (Number.isNaN(U)) return I(e.emptyValue);
1470
1483
  const te = x(e.precision);
1471
- return E(K).toFixed(te);
1484
+ return E(U).toFixed(te);
1472
1485
  }
1473
1486
  function j(a) {
1474
1487
  y.value = a, n("update:modelValue", a);
1475
1488
  }
1476
1489
  function G(a) {
1477
- const o = U(a);
1478
- j(o);
1490
+ const l = _(a);
1491
+ j(l);
1479
1492
  }
1480
- function T(a) {
1481
- const o = U(a);
1482
- y.value = o, n("input", o);
1493
+ function R(a) {
1494
+ const l = _(a);
1495
+ y.value = l, n("input", l);
1483
1496
  }
1484
1497
  function L(a) {
1485
- const o = e.formatTrigger === "change" ? M(a) : U(a);
1486
- o !== I(e.modelValue) && j(o), n("change", o);
1498
+ const l = e.formatTrigger === "change" ? M(a) : _(a);
1499
+ l !== I(e.modelValue) && j(l), n("change", l);
1487
1500
  }
1488
1501
  function ae(a) {
1489
1502
  n("focus", a);
1490
1503
  }
1491
- function X(a) {
1504
+ function J(a) {
1492
1505
  if (e.formatTrigger === "blur") {
1493
- const o = M(y.value);
1494
- o !== I(e.modelValue) && j(o);
1506
+ const l = M(y.value);
1507
+ l !== I(e.modelValue) && j(l);
1495
1508
  }
1496
1509
  n("blur", a);
1497
1510
  }
1498
- function J() {
1511
+ function X() {
1499
1512
  const a = I(e.emptyValue);
1500
1513
  y.value = a, n("update:modelValue", a), n("clear");
1501
1514
  }
1502
- function oe(a) {
1515
+ function le(a) {
1503
1516
  n("enter", a);
1504
1517
  }
1505
1518
  function ne() {
1506
- var a, o;
1507
- (o = (a = d.value) == null ? void 0 : a.focus) == null || o.call(a);
1519
+ var a, l;
1520
+ (l = (a = d.value) == null ? void 0 : a.focus) == null || l.call(a);
1508
1521
  }
1509
1522
  function re() {
1510
- var a, o;
1511
- (o = (a = d.value) == null ? void 0 : a.blur) == null || o.call(a);
1523
+ var a, l;
1524
+ (l = (a = d.value) == null ? void 0 : a.blur) == null || l.call(a);
1512
1525
  }
1513
1526
  function Z() {
1514
- var a, o;
1515
- (o = (a = d.value) == null ? void 0 : a.select) == null || o.call(a);
1527
+ var a, l;
1528
+ (l = (a = d.value) == null ? void 0 : a.select) == null || l.call(a);
1516
1529
  }
1517
- function b() {
1518
- var a, o;
1519
- (o = (a = d.value) == null ? void 0 : a.clear) == null || o.call(a);
1530
+ function w() {
1531
+ var a, l;
1532
+ (l = (a = d.value) == null ? void 0 : a.clear) == null || l.call(a);
1520
1533
  }
1521
1534
  function V() {
1522
1535
  var a;
@@ -1526,53 +1539,53 @@ const lo = { class: "qy-remark-image__field" }, oo = {
1526
1539
  focus: ne,
1527
1540
  blur: re,
1528
1541
  select: Z,
1529
- clear: b,
1542
+ clear: w,
1530
1543
  getNativeInput: V
1531
- }), (a, o) => (v(), ce($(Me), Qe({
1544
+ }), (a, l) => (v(), ce($(Me), xe({
1532
1545
  ref_key: "inputRef",
1533
1546
  ref: d
1534
1547
  }, $(H), {
1535
1548
  "model-value": f.value,
1536
1549
  inputmode: "decimal",
1537
1550
  "onUpdate:modelValue": G,
1538
- onInput: T,
1551
+ onInput: R,
1539
1552
  onChange: L,
1540
1553
  onFocus: ae,
1541
- onBlur: X,
1542
- onClear: J,
1543
- onKeydown: Ee(oe, ["enter"])
1544
- }), Ue({ _: 2 }, [
1554
+ onBlur: J,
1555
+ onClear: X,
1556
+ onKeydown: Ee(le, ["enter"])
1557
+ }), _e({ _: 2 }, [
1545
1558
  a.$slots.prefix ? {
1546
1559
  name: "prefix",
1547
1560
  fn: h(() => [
1548
- R(a.$slots, "prefix")
1561
+ z(a.$slots, "prefix")
1549
1562
  ]),
1550
1563
  key: "0"
1551
1564
  } : void 0,
1552
1565
  a.$slots.suffix ? {
1553
1566
  name: "suffix",
1554
1567
  fn: h(() => [
1555
- R(a.$slots, "suffix")
1568
+ z(a.$slots, "suffix")
1556
1569
  ]),
1557
1570
  key: "1"
1558
1571
  } : void 0,
1559
1572
  a.$slots.prepend ? {
1560
1573
  name: "prepend",
1561
1574
  fn: h(() => [
1562
- R(a.$slots, "prepend")
1575
+ z(a.$slots, "prepend")
1563
1576
  ]),
1564
1577
  key: "2"
1565
1578
  } : void 0,
1566
1579
  a.$slots.append ? {
1567
1580
  name: "append",
1568
1581
  fn: h(() => [
1569
- R(a.$slots, "append")
1582
+ z(a.$slots, "append")
1570
1583
  ]),
1571
1584
  key: "3"
1572
1585
  } : void 0
1573
1586
  ]), 1040, ["model-value"]));
1574
1587
  }
1575
- }), go = /* @__PURE__ */ qe({
1588
+ }), _l = /* @__PURE__ */ qe({
1576
1589
  name: "QyRemoteSelect",
1577
1590
  inheritAttrs: !1,
1578
1591
  __name: "index",
@@ -1606,10 +1619,10 @@ const lo = { class: "qy-remark-image__field" }, oo = {
1606
1619
  },
1607
1620
  emits: ["update:modelValue", "change", "clear", "visible-change", "focus", "blur", "options-change", "loading-change", "error"],
1608
1621
  setup(t, { expose: D, emit: W }) {
1609
- const e = t, n = W, H = Be(), d = q(null), y = q([]), f = q(/* @__PURE__ */ new Map()), I = q(!1), x = q(""), U = q("");
1622
+ const e = t, n = W, H = Be(), d = q(null), y = q([]), f = q(/* @__PURE__ */ new Map()), I = q(!1), x = q(""), _ = q("");
1610
1623
  let E = 0, M = null;
1611
- const j = F(() => e.loading || I.value), G = q(!1), T = F(() => x.value !== ""), L = F(() => {
1612
- if (T.value) return y.value;
1624
+ const j = F(() => e.loading || I.value), G = q(!1), R = F(() => x.value !== ""), L = F(() => {
1625
+ if (R.value) return y.value;
1613
1626
  const m = /* @__PURE__ */ new Map(), Y = (r) => {
1614
1627
  m.set(ae(r), r);
1615
1628
  };
@@ -1618,28 +1631,28 @@ const lo = { class: "qy-remark-image__field" }, oo = {
1618
1631
  fe(
1619
1632
  () => e.defaultOptions,
1620
1633
  (m) => {
1621
- m.forEach(J);
1634
+ m.forEach(X);
1622
1635
  },
1623
1636
  { immediate: !0 }
1624
1637
  ), fe(
1625
1638
  () => e.modelValue,
1626
1639
  () => {
1627
- L.value.forEach(J);
1640
+ L.value.forEach(X);
1628
1641
  },
1629
1642
  { immediate: !0 }
1630
1643
  );
1631
1644
  function ae(m) {
1632
1645
  return (m == null ? void 0 : m[e.valueKey]) ?? (m == null ? void 0 : m.value) ?? (m == null ? void 0 : m.label);
1633
1646
  }
1634
- function X(m) {
1647
+ function J(m) {
1635
1648
  return Array.isArray(e.modelValue) ? e.modelValue.includes(m) : e.modelValue === m;
1636
1649
  }
1637
- function J(m) {
1650
+ function X(m) {
1638
1651
  if (!e.reserveSelectedOption) return;
1639
1652
  const Y = ae(m);
1640
- X(Y) && f.value.set(Y, m);
1653
+ J(Y) && f.value.set(Y, m);
1641
1654
  }
1642
- function oe(m) {
1655
+ function le(m) {
1643
1656
  return e.disabled ? !1 : m ? m.length >= e.minLength : e.remoteOnFocus;
1644
1657
  }
1645
1658
  function ne(m) {
@@ -1647,18 +1660,18 @@ const lo = { class: "qy-remark-image__field" }, oo = {
1647
1660
  }
1648
1661
  async function re(m) {
1649
1662
  const Y = B(m), r = ++E;
1650
- if (ie(Y), !oe(Y)) {
1663
+ if (ie(Y), !le(Y)) {
1651
1664
  y.value = [], ne(!1), n("options-change", L.value);
1652
1665
  return;
1653
1666
  }
1654
1667
  ne(!0);
1655
1668
  try {
1656
- const w = await e.fetchMethod(Y);
1669
+ const S = await e.fetchMethod(Y);
1657
1670
  if (r !== E) return;
1658
- y.value = Array.isArray(w) ? w : [], y.value.forEach(J), n("options-change", L.value);
1659
- } catch (w) {
1671
+ y.value = Array.isArray(S) ? S : [], y.value.forEach(X), n("options-change", L.value);
1672
+ } catch (S) {
1660
1673
  if (r !== E) return;
1661
- y.value = [], n("error", w), n("options-change", L.value);
1674
+ y.value = [], n("error", S), n("options-change", L.value);
1662
1675
  } finally {
1663
1676
  r === E && ne(!1);
1664
1677
  }
@@ -1666,9 +1679,9 @@ const lo = { class: "qy-remark-image__field" }, oo = {
1666
1679
  function Z() {
1667
1680
  G.value || (G.value = !0, re(""));
1668
1681
  }
1669
- function b(m) {
1682
+ function w(m) {
1670
1683
  const Y = B(m);
1671
- U.value = Y, E += 1, ie(Y), M && (clearTimeout(M), M = null), M = setTimeout(() => {
1684
+ _.value = Y, E += 1, ie(Y), M && (clearTimeout(M), M = null), M = setTimeout(() => {
1672
1685
  re(Y);
1673
1686
  }, e.debounce);
1674
1687
  }
@@ -1678,14 +1691,14 @@ const lo = { class: "qy-remark-image__field" }, oo = {
1678
1691
  function a() {
1679
1692
  re(x.value);
1680
1693
  }
1681
- function o(m) {
1682
- U.value = "", n("update:modelValue", m);
1694
+ function l(m) {
1695
+ _.value = "", n("update:modelValue", m);
1683
1696
  }
1684
- function K(m) {
1685
- U.value = "", L.value.forEach(J), n("change", m);
1697
+ function U(m) {
1698
+ _.value = "", L.value.forEach(X), n("change", m);
1686
1699
  }
1687
1700
  function te() {
1688
- U.value = "", n("clear");
1701
+ _.value = "", n("clear");
1689
1702
  }
1690
1703
  function s(m) {
1691
1704
  m && e.remoteOnFocus && !x.value && Z(), n("visible-change", m);
@@ -1693,13 +1706,13 @@ const lo = { class: "qy-remark-image__field" }, oo = {
1693
1706
  function p(m) {
1694
1707
  e.remoteOnFocus && !x.value && Z(), n("focus", m);
1695
1708
  }
1696
- function Q(m) {
1709
+ function C(m) {
1697
1710
  g(), n("blur", m);
1698
1711
  }
1699
1712
  function g() {
1700
1713
  if (!e.allowCreate || !e.commitOnBlur || e.disabled) return;
1701
- const m = U.value;
1702
- m.trim() && (U.value = "", n("update:modelValue", m), n("change", m));
1714
+ const m = _.value;
1715
+ m.trim() && (_.value = "", n("update:modelValue", m), n("change", m));
1703
1716
  }
1704
1717
  function B(m) {
1705
1718
  return String(m ?? "");
@@ -1711,11 +1724,11 @@ const lo = { class: "qy-remark-image__field" }, oo = {
1711
1724
  var m, Y;
1712
1725
  (Y = (m = d.value) == null ? void 0 : m.focus) == null || Y.call(m);
1713
1726
  }
1714
- function ge() {
1727
+ function we() {
1715
1728
  var m, Y;
1716
1729
  (Y = (m = d.value) == null ? void 0 : m.blur) == null || Y.call(m);
1717
1730
  }
1718
- function xe() {
1731
+ function Qe() {
1719
1732
  n("update:modelValue", e.multiple ? [] : ""), n("clear");
1720
1733
  }
1721
1734
  return ft(() => {
@@ -1723,11 +1736,11 @@ const lo = { class: "qy-remark-image__field" }, oo = {
1723
1736
  }), D({
1724
1737
  // 暴露远程选择常用控制方法,供弹窗打开后聚焦或请求失败后重试。
1725
1738
  focus: me,
1726
- blur: ge,
1727
- clear: xe,
1739
+ blur: we,
1740
+ clear: Qe,
1728
1741
  retryFetch: a,
1729
1742
  fetchDefaultOptions: V
1730
- }), (m, Y) => (v(), ce(tt, Qe({
1743
+ }), (m, Y) => (v(), ce(tt, xe({
1731
1744
  ref_key: "selectRef",
1732
1745
  ref: d
1733
1746
  }, $(H), {
@@ -1752,54 +1765,54 @@ const lo = { class: "qy-remark-image__field" }, oo = {
1752
1765
  remote: "",
1753
1766
  debounce: 0,
1754
1767
  "remote-show-suffix": t.remoteShowSuffix,
1755
- "remote-method": b,
1768
+ "remote-method": w,
1756
1769
  loading: j.value,
1757
- "onUpdate:modelValue": o,
1758
- onChange: K,
1770
+ "onUpdate:modelValue": l,
1771
+ onChange: U,
1759
1772
  onClear: te,
1760
1773
  onVisibleChange: s,
1761
1774
  onFocus: p,
1762
- onBlur: Q
1763
- }), Ue({
1775
+ onBlur: C
1776
+ }), _e({
1764
1777
  default: h(() => [
1765
- m.$slots.default ? R(m.$slots, "default", {}, void 0, void 0, 0) : P("", !0)
1778
+ m.$slots.default ? z(m.$slots, "default", {}, void 0, void 0, 0) : P("", !0)
1766
1779
  ]),
1767
1780
  _: 2
1768
1781
  }, [
1769
1782
  m.$slots.prefix ? {
1770
1783
  name: "prefix",
1771
1784
  fn: h(() => [
1772
- R(m.$slots, "prefix")
1785
+ z(m.$slots, "prefix")
1773
1786
  ]),
1774
1787
  key: "0"
1775
1788
  } : void 0,
1776
1789
  m.$slots.empty ? {
1777
1790
  name: "empty",
1778
1791
  fn: h(() => [
1779
- R(m.$slots, "empty")
1792
+ z(m.$slots, "empty")
1780
1793
  ]),
1781
1794
  key: "1"
1782
1795
  } : void 0,
1783
1796
  m.$slots.loading ? {
1784
1797
  name: "loading",
1785
1798
  fn: h(() => [
1786
- R(m.$slots, "loading")
1799
+ z(m.$slots, "loading")
1787
1800
  ]),
1788
1801
  key: "2"
1789
1802
  } : void 0,
1790
1803
  m.$slots.tag ? {
1791
1804
  name: "tag",
1792
1805
  fn: h((r) => [
1793
- R(m.$slots, "tag", gt(vt(r)))
1806
+ z(m.$slots, "tag", gt(vt(r)))
1794
1807
  ]),
1795
1808
  key: "3"
1796
1809
  } : void 0
1797
1810
  ]), 1040, ["model-value", "options", "label-key", "value-key", "disabled-key", "placeholder", "disabled", "clearable", "multiple", "collapse-tags", "collapse-tags-tooltip", "auto-select-single", "size", "teleported", "append-to", "fit-input-width", "popper-class", "remote-show-suffix", "loading"]));
1798
1811
  }
1799
- }), vo = { class: "qy-search-input__item" }, ho = ["innerHTML"], bo = {
1812
+ }), Ll = { class: "qy-search-input__item" }, Ul = ["innerHTML"], Kl = {
1800
1813
  key: 0,
1801
1814
  class: "qy-search-input__item-description"
1802
- }, wo = /* @__PURE__ */ qe({
1815
+ }, El = /* @__PURE__ */ qe({
1803
1816
  name: "QySearchInput",
1804
1817
  inheritAttrs: !1,
1805
1818
  __name: "index",
@@ -1832,7 +1845,7 @@ const lo = { class: "qy-remark-image__field" }, oo = {
1832
1845
  setup(t, { expose: D, emit: W }) {
1833
1846
  const e = t, n = W, H = Be(), d = q(null), y = q(E(e.modelValue)), f = F(() => E(e.modelValue)), I = F(
1834
1847
  () => ["qy-search-input__popper", e.popperClass].filter(Boolean).join(" ")
1835
- ), x = F(() => E(e.modelValue)), U = q("");
1848
+ ), x = F(() => E(e.modelValue)), _ = q("");
1836
1849
  fe(
1837
1850
  () => e.modelValue,
1838
1851
  (r) => {
@@ -1845,45 +1858,45 @@ const lo = { class: "qy-remark-image__field" }, oo = {
1845
1858
  function M(r) {
1846
1859
  return e.removeSpace ? r.replace(/\s+/g, "") : r;
1847
1860
  }
1848
- function j(r, w) {
1849
- return e.trimMode !== w ? r : r.trim();
1861
+ function j(r, S) {
1862
+ return e.trimMode !== S ? r : r.trim();
1850
1863
  }
1851
1864
  function G(r) {
1852
1865
  return M(E(r));
1853
1866
  }
1854
- function T(r) {
1867
+ function R(r) {
1855
1868
  y.value = r, n("update:modelValue", r);
1856
1869
  }
1857
- function L(r, w = "") {
1870
+ function L(r, S = "") {
1858
1871
  return {
1859
1872
  ...r,
1860
1873
  label: r.label || r.value,
1861
1874
  value: r.value || r.label,
1862
- description: r.description || w
1875
+ description: r.description || S
1863
1876
  };
1864
1877
  }
1865
1878
  function ae(r = []) {
1866
- return r.flatMap((w) => {
1867
- if (Array.isArray(w.items)) {
1868
- const ee = w;
1879
+ return r.flatMap((S) => {
1880
+ if (Array.isArray(S.items)) {
1881
+ const ee = S;
1869
1882
  return ee.items.map((Se) => L(Se, ee.groupLabel));
1870
1883
  }
1871
- return L(w);
1884
+ return L(S);
1872
1885
  });
1873
1886
  }
1874
- function X(r) {
1875
- const w = r.toLowerCase();
1876
- return (ee) => [ee.label, ee.value, ee.description].filter(Boolean).some((Se) => String(Se).toLowerCase().includes(w));
1877
- }
1878
1887
  function J(r) {
1888
+ const S = r.toLowerCase();
1889
+ return (ee) => [ee.label, ee.value, ee.description].filter(Boolean).some((Se) => String(Se).toLowerCase().includes(S));
1890
+ }
1891
+ function X(r) {
1879
1892
  return r ? r.length >= e.minLength : e.triggerOnFocus;
1880
1893
  }
1881
- function oe(r) {
1894
+ function le(r) {
1882
1895
  n("suggestions-change", r), n("visible-change", r.length > 0);
1883
1896
  }
1884
1897
  async function ne(r) {
1885
- if (!J(r))
1886
- return oe([]), [];
1898
+ if (!X(r))
1899
+ return le([]), [];
1887
1900
  if (e.fetchSuggestionsMethod) {
1888
1901
  const Se = await new Promise(($e) => {
1889
1902
  var de;
@@ -1891,49 +1904,49 @@ const lo = { class: "qy-remark-image__field" }, oo = {
1891
1904
  $e(ae(De));
1892
1905
  });
1893
1906
  });
1894
- return oe(Se), Se;
1907
+ return le(Se), Se;
1895
1908
  }
1896
1909
  if (e.fetchSuggestions) {
1897
1910
  const Se = await e.fetchSuggestions(r), $e = ae(Array.isArray(Se) ? Se : []);
1898
- return oe($e), $e;
1911
+ return le($e), $e;
1899
1912
  }
1900
- const w = ae(e.suggestions), ee = r ? w.filter(X(r)) : w;
1901
- return oe(ee), ee;
1913
+ const S = ae(e.suggestions), ee = r ? S.filter(J(r)) : S;
1914
+ return le(ee), ee;
1902
1915
  }
1903
- async function re(r, w) {
1904
- U.value = r;
1916
+ async function re(r, S) {
1917
+ _.value = r;
1905
1918
  try {
1906
1919
  const ee = await ne(r);
1907
- w(ee);
1920
+ S(ee);
1908
1921
  } catch (ee) {
1909
- n("error", ee), oe([]), w([]);
1922
+ n("error", ee), le([]), S([]);
1910
1923
  }
1911
1924
  }
1912
1925
  function Z() {
1913
- var r, w;
1914
- U.value && ((w = (r = d.value) == null ? void 0 : r.getData) == null || w.call(r, U.value));
1926
+ var r, S;
1927
+ _.value && ((S = (r = d.value) == null ? void 0 : r.getData) == null || S.call(r, _.value));
1915
1928
  }
1916
- function b(r) {
1917
- const w = G(r);
1918
- T(w);
1929
+ function w(r) {
1930
+ const S = G(r);
1931
+ R(S);
1919
1932
  }
1920
1933
  function V(r) {
1921
- const w = G(r);
1922
- y.value = w, n("input", w);
1934
+ const S = G(r);
1935
+ y.value = S, n("input", S);
1923
1936
  }
1924
1937
  function a(r) {
1925
- const w = j(G(r), "change");
1926
- w !== E(e.modelValue) && T(w), n("change", w);
1938
+ const S = j(G(r), "change");
1939
+ S !== E(e.modelValue) && R(S), n("change", S);
1927
1940
  }
1928
- function o(r) {
1941
+ function l(r) {
1929
1942
  n("focus", r);
1930
1943
  }
1931
- function K(r) {
1932
- const w = j(y.value, "blur");
1933
- w !== E(e.modelValue) && T(w), n("blur", r), n("visible-change", !1);
1944
+ function U(r) {
1945
+ const S = j(y.value, "blur");
1946
+ S !== E(e.modelValue) && R(S), n("blur", r), n("visible-change", !1);
1934
1947
  }
1935
1948
  function te() {
1936
- y.value = "", n("update:modelValue", ""), n("clear"), oe([]);
1949
+ y.value = "", n("update:modelValue", ""), n("clear"), le([]);
1937
1950
  }
1938
1951
  function s(r) {
1939
1952
  n("enter", r), e.searchOnEnter && p();
@@ -1941,7 +1954,7 @@ const lo = { class: "qy-remark-image__field" }, oo = {
1941
1954
  function p() {
1942
1955
  n("search", E(e.modelValue));
1943
1956
  }
1944
- function Q(r) {
1957
+ function C(r) {
1945
1958
  n("select", r), e.searchOnSelect && n("search", r.value);
1946
1959
  }
1947
1960
  function g(r) {
@@ -1951,46 +1964,46 @@ const lo = { class: "qy-remark-image__field" }, oo = {
1951
1964
  return r.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
1952
1965
  }
1953
1966
  function ie(r) {
1954
- const w = g(r || "");
1955
- if (!e.highlightKeyword || !f.value) return w;
1967
+ const S = g(r || "");
1968
+ if (!e.highlightKeyword || !f.value) return S;
1956
1969
  const ee = B(g(f.value));
1957
- return ee ? w.replace(
1970
+ return ee ? S.replace(
1958
1971
  new RegExp(`(${ee})`, "ig"),
1959
1972
  '<mark class="qy-search-input__mark">$1</mark>'
1960
- ) : w;
1973
+ ) : S;
1961
1974
  }
1962
1975
  function me() {
1963
- var r, w;
1964
- (w = (r = d.value) == null ? void 0 : r.focus) == null || w.call(r);
1976
+ var r, S;
1977
+ (S = (r = d.value) == null ? void 0 : r.focus) == null || S.call(r);
1965
1978
  }
1966
- function ge() {
1967
- var r, w;
1968
- (w = (r = d.value) == null ? void 0 : r.blur) == null || w.call(r);
1979
+ function we() {
1980
+ var r, S;
1981
+ (S = (r = d.value) == null ? void 0 : r.blur) == null || S.call(r);
1969
1982
  }
1970
- function xe() {
1971
- var r, w, ee;
1972
- (ee = (w = (r = d.value) == null ? void 0 : r.inputRef) == null ? void 0 : w.select) == null || ee.call(w);
1983
+ function Qe() {
1984
+ var r, S, ee;
1985
+ (ee = (S = (r = d.value) == null ? void 0 : r.inputRef) == null ? void 0 : S.select) == null || ee.call(S);
1973
1986
  }
1974
1987
  function m() {
1975
- var r, w;
1976
- (w = (r = d.value) == null ? void 0 : r.clear) == null || w.call(r);
1988
+ var r, S;
1989
+ (S = (r = d.value) == null ? void 0 : r.clear) == null || S.call(r);
1977
1990
  }
1978
1991
  function Y() {
1979
- var r, w;
1980
- (w = (r = d.value) == null ? void 0 : r.close) == null || w.call(r);
1992
+ var r, S;
1993
+ (S = (r = d.value) == null ? void 0 : r.close) == null || S.call(r);
1981
1994
  }
1982
1995
  return D({
1983
1996
  // 暴露搜索框常用控制方法,供弹窗打开后聚焦或失败后重试建议项。
1984
1997
  focus: me,
1985
- blur: ge,
1986
- select: xe,
1998
+ blur: we,
1999
+ select: Qe,
1987
2000
  clear: m,
1988
2001
  closePanel: Y,
1989
2002
  retryFetch: Z
1990
- }), (r, w) => (v(), A("div", {
2003
+ }), (r, S) => (v(), A("div", {
1991
2004
  class: ke(["qy-search-input", { "is-disabled": t.disabled }])
1992
2005
  }, [
1993
- O($(Ua), Qe({
2006
+ O($(Xa), xe({
1994
2007
  ref_key: "autocompleteRef",
1995
2008
  ref: d
1996
2009
  }, $(H), {
@@ -2006,26 +2019,26 @@ const lo = { class: "qy-remark-image__field" }, oo = {
2006
2019
  "popper-class": I.value,
2007
2020
  "append-to": t.appendTo,
2008
2021
  "value-key": "value",
2009
- "onUpdate:modelValue": b,
2022
+ "onUpdate:modelValue": w,
2010
2023
  onInput: V,
2011
2024
  onChange: a,
2012
- onFocus: o,
2013
- onBlur: K,
2025
+ onFocus: l,
2026
+ onBlur: U,
2014
2027
  onClear: te,
2015
- onSelect: Q,
2028
+ onSelect: C,
2016
2029
  onKeydown: Ee(s, ["enter"])
2017
- }), Ue({
2030
+ }), _e({
2018
2031
  default: h(({ item: ee }) => [
2019
- R(r.$slots, "item", {
2032
+ z(r.$slots, "item", {
2020
2033
  item: ee,
2021
2034
  keyword: f.value
2022
2035
  }, () => [
2023
- z("div", vo, [
2024
- z("div", {
2036
+ T("div", Ll, [
2037
+ T("div", {
2025
2038
  class: "qy-search-input__item-label",
2026
2039
  innerHTML: ie(ee.label || ee.value || "")
2027
- }, null, 8, ho),
2028
- ee.description ? (v(), A("div", bo, pe(ee.description), 1)) : P("", !0)
2040
+ }, null, 8, Ul),
2041
+ ee.description ? (v(), A("div", Kl, pe(ee.description), 1)) : P("", !0)
2029
2042
  ])
2030
2043
  ], !0)
2031
2044
  ]),
@@ -2034,34 +2047,34 @@ const lo = { class: "qy-remark-image__field" }, oo = {
2034
2047
  r.$slots.prefix ? {
2035
2048
  name: "prefix",
2036
2049
  fn: h(() => [
2037
- R(r.$slots, "prefix", {}, void 0, !0)
2050
+ z(r.$slots, "prefix", {}, void 0, !0)
2038
2051
  ]),
2039
2052
  key: "0"
2040
2053
  } : void 0,
2041
2054
  r.$slots.suffix ? {
2042
2055
  name: "suffix",
2043
2056
  fn: h(() => [
2044
- R(r.$slots, "suffix", {}, void 0, !0)
2057
+ z(r.$slots, "suffix", {}, void 0, !0)
2045
2058
  ]),
2046
2059
  key: "1"
2047
2060
  } : void 0,
2048
2061
  r.$slots.prepend ? {
2049
2062
  name: "prepend",
2050
2063
  fn: h(() => [
2051
- R(r.$slots, "prepend", {}, void 0, !0)
2064
+ z(r.$slots, "prepend", {}, void 0, !0)
2052
2065
  ]),
2053
2066
  key: "2"
2054
2067
  } : void 0,
2055
2068
  r.$slots.append || t.showButton ? {
2056
2069
  name: "append",
2057
2070
  fn: h(() => [
2058
- r.$slots.append ? R(r.$slots, "append", {}, void 0, !0, 0) : (v(), ce($(Ve), Qe({ key: 1 }, t.buttonProps, {
2071
+ r.$slots.append ? z(r.$slots, "append", {}, void 0, !0, 0) : (v(), ce($(Ve), xe({ key: 1 }, t.buttonProps, {
2059
2072
  loading: t.loading,
2060
2073
  disabled: t.disabled,
2061
2074
  onClick: p
2062
2075
  }), {
2063
2076
  default: h(() => [
2064
- we(pe(t.buttonText), 1)
2077
+ be(pe(t.buttonText), 1)
2065
2078
  ]),
2066
2079
  _: 1
2067
2080
  }, 16, ["loading", "disabled"]))
@@ -2071,16 +2084,16 @@ const lo = { class: "qy-remark-image__field" }, oo = {
2071
2084
  ]), 1040, ["model-value", "disabled", "placeholder", "clearable", "debounce", "trigger-on-focus", "teleported", "fit-input-width", "popper-class", "append-to"])
2072
2085
  ], 2));
2073
2086
  }
2074
- }), Qt = /* @__PURE__ */ Te(wo, [["__scopeId", "data-v-cd7f5dfc"]]), So = { class: "qy-record-quote-search" }, ko = {
2087
+ }), Ct = /* @__PURE__ */ Re(El, [["__scopeId", "data-v-cd7f5dfc"]]), jl = { class: "qy-record-quote-search" }, Nl = {
2075
2088
  key: 0,
2076
2089
  class: "qy-record-quote-search__header"
2077
- }, xo = {
2090
+ }, Hl = {
2078
2091
  key: 0,
2079
2092
  class: "qy-record-quote-search__label"
2080
- }, Qo = {
2093
+ }, Zl = {
2081
2094
  key: 1,
2082
2095
  class: "qy-record-quote-search__description"
2083
- }, $o = /* @__PURE__ */ qe({
2096
+ }, Wl = /* @__PURE__ */ qe({
2084
2097
  name: "QyRecordQuoteSearch",
2085
2098
  inheritAttrs: !1,
2086
2099
  __name: "index",
@@ -2113,92 +2126,92 @@ const lo = { class: "qy-remark-image__field" }, oo = {
2113
2126
  function x(a) {
2114
2127
  return a == null ? "" : String(a);
2115
2128
  }
2116
- function U(a) {
2117
- const o = x(a).trim(), K = E(o), te = K.match(/BJ\d{8}[A-Z0-9]{4}/i);
2118
- return te ? te[0] : K;
2129
+ function _(a) {
2130
+ const l = x(a).trim(), U = E(l), te = U.match(/BJ\d{8}[A-Z0-9]{4}/i);
2131
+ return te ? te[0] : U;
2119
2132
  }
2120
2133
  function E(a) {
2121
2134
  return x(a).replace(/\s+/g, "").trim().toUpperCase();
2122
2135
  }
2123
2136
  function M(a) {
2124
- return e.extractMethod ? e.extractMethod(a) : U(a);
2137
+ return e.extractMethod ? e.extractMethod(a) : _(a);
2125
2138
  }
2126
2139
  function j(a) {
2127
2140
  return e.normalizeMethod ? e.normalizeMethod(a) : E(a);
2128
2141
  }
2129
- function G(a, o) {
2130
- const K = x(a), te = M(K), s = e.autoNormalize ? j(te) : te;
2131
- return n("normalize", { rawValue: K, code: s }), {
2132
- rawValue: K,
2142
+ function G(a, l) {
2143
+ const U = x(a), te = M(U), s = e.autoNormalize ? j(te) : te;
2144
+ return n("normalize", { rawValue: U, code: s }), {
2145
+ rawValue: U,
2133
2146
  code: s,
2134
- item: o
2147
+ item: l
2135
2148
  };
2136
2149
  }
2137
- function T(a) {
2150
+ function R(a) {
2138
2151
  n("update:modelValue", a);
2139
2152
  }
2140
2153
  async function L(a) {
2141
2154
  if (n("search", a), !!e.searchMethod) {
2142
2155
  y.value = !0;
2143
2156
  try {
2144
- const o = await e.searchMethod(a);
2145
- n("success", o);
2146
- } catch (o) {
2147
- n("error", o);
2157
+ const l = await e.searchMethod(a);
2158
+ n("success", l);
2159
+ } catch (l) {
2160
+ n("error", l);
2148
2161
  } finally {
2149
2162
  y.value = !1;
2150
2163
  }
2151
2164
  }
2152
2165
  }
2153
2166
  function ae(a) {
2154
- const o = G(a);
2155
- o.code !== x(e.modelValue) && n("update:modelValue", o.code), L(o);
2167
+ const l = G(a);
2168
+ l.code !== x(e.modelValue) && n("update:modelValue", l.code), L(l);
2156
2169
  }
2157
- function X() {
2170
+ function J() {
2158
2171
  n("clear");
2159
2172
  }
2160
- function J(a) {
2173
+ function X(a) {
2161
2174
  n("enter", a);
2162
2175
  }
2163
- function oe(a) {
2176
+ function le(a) {
2164
2177
  if (n("select", a), !e.searchOnSelect) return;
2165
- const o = G(a.value, a);
2166
- o.code !== x(e.modelValue) && n("update:modelValue", o.code), L(o);
2178
+ const l = G(a.value, a);
2179
+ l.code !== x(e.modelValue) && n("update:modelValue", l.code), L(l);
2167
2180
  }
2168
2181
  function ne(a) {
2169
2182
  n("error", a);
2170
2183
  }
2171
2184
  function re() {
2172
- var a, o;
2173
- (o = (a = d.value) == null ? void 0 : a.focus) == null || o.call(a);
2185
+ var a, l;
2186
+ (l = (a = d.value) == null ? void 0 : a.focus) == null || l.call(a);
2174
2187
  }
2175
2188
  function Z() {
2176
- var a, o;
2177
- (o = (a = d.value) == null ? void 0 : a.blur) == null || o.call(a);
2189
+ var a, l;
2190
+ (l = (a = d.value) == null ? void 0 : a.blur) == null || l.call(a);
2178
2191
  }
2179
- function b() {
2180
- var a, o;
2181
- (o = (a = d.value) == null ? void 0 : a.select) == null || o.call(a);
2192
+ function w() {
2193
+ var a, l;
2194
+ (l = (a = d.value) == null ? void 0 : a.select) == null || l.call(a);
2182
2195
  }
2183
2196
  function V() {
2184
- var a, o;
2185
- (o = (a = d.value) == null ? void 0 : a.clear) == null || o.call(a);
2197
+ var a, l;
2198
+ (l = (a = d.value) == null ? void 0 : a.clear) == null || l.call(a);
2186
2199
  }
2187
2200
  return D({
2188
2201
  focus: re,
2189
2202
  blur: Z,
2190
- select: b,
2203
+ select: w,
2191
2204
  clear: V,
2192
2205
  extractQuoteOrderCode: M,
2193
2206
  normalizeQuoteOrderCode: j
2194
- }), (a, o) => (v(), A("div", So, [
2195
- R(a.$slots, "label", {}, () => [
2196
- t.label || t.description ? (v(), A("div", ko, [
2197
- t.label ? (v(), A("div", xo, pe(t.label), 1)) : P("", !0),
2198
- t.description ? (v(), A("div", Qo, pe(t.description), 1)) : P("", !0)
2207
+ }), (a, l) => (v(), A("div", jl, [
2208
+ z(a.$slots, "label", {}, () => [
2209
+ t.label || t.description ? (v(), A("div", Nl, [
2210
+ t.label ? (v(), A("div", Hl, pe(t.label), 1)) : P("", !0),
2211
+ t.description ? (v(), A("div", Zl, pe(t.description), 1)) : P("", !0)
2199
2212
  ])) : P("", !0)
2200
2213
  ], !0),
2201
- O(Qt, Qe({
2214
+ O(Ct, xe({
2202
2215
  ref_key: "searchRef",
2203
2216
  ref: d
2204
2217
  }, $(H), {
@@ -2215,75 +2228,75 @@ const lo = { class: "qy-remark-image__field" }, oo = {
2215
2228
  debounce: t.debounce,
2216
2229
  "min-length": t.minLength,
2217
2230
  "search-on-select": !1,
2218
- "onUpdate:modelValue": T,
2231
+ "onUpdate:modelValue": R,
2219
2232
  onSearch: ae,
2220
- onClear: X,
2221
- onEnter: J,
2222
- onSelect: oe,
2233
+ onClear: J,
2234
+ onEnter: X,
2235
+ onSelect: le,
2223
2236
  onError: ne
2224
- }), Ue({ _: 2 }, [
2237
+ }), _e({ _: 2 }, [
2225
2238
  a.$slots.prefix ? {
2226
2239
  name: "prefix",
2227
2240
  fn: h(() => [
2228
- R(a.$slots, "prefix", {}, void 0, !0)
2241
+ z(a.$slots, "prefix", {}, void 0, !0)
2229
2242
  ]),
2230
2243
  key: "0"
2231
2244
  } : void 0,
2232
2245
  a.$slots.suffix ? {
2233
2246
  name: "suffix",
2234
2247
  fn: h(() => [
2235
- R(a.$slots, "suffix", {}, void 0, !0)
2248
+ z(a.$slots, "suffix", {}, void 0, !0)
2236
2249
  ]),
2237
2250
  key: "1"
2238
2251
  } : void 0,
2239
2252
  a.$slots.item ? {
2240
2253
  name: "item",
2241
- fn: h((K) => [
2242
- R(a.$slots, "item", gt(vt(K)), void 0, !0)
2254
+ fn: h((U) => [
2255
+ z(a.$slots, "item", gt(vt(U)), void 0, !0)
2243
2256
  ]),
2244
2257
  key: "2"
2245
2258
  } : void 0,
2246
2259
  a.$slots.empty ? {
2247
2260
  name: "empty",
2248
2261
  fn: h(() => [
2249
- R(a.$slots, "empty", {}, void 0, !0)
2262
+ z(a.$slots, "empty", {}, void 0, !0)
2250
2263
  ]),
2251
2264
  key: "3"
2252
2265
  } : void 0,
2253
2266
  a.$slots.loading ? {
2254
2267
  name: "loading",
2255
2268
  fn: h(() => [
2256
- R(a.$slots, "loading", {}, void 0, !0)
2269
+ z(a.$slots, "loading", {}, void 0, !0)
2257
2270
  ]),
2258
2271
  key: "4"
2259
2272
  } : void 0
2260
2273
  ]), 1040, ["model-value", "loading", "disabled", "placeholder", "trim-mode", "button-text", "suggestions", "fetch-suggestions", "fetch-suggestions-method", "debounce", "min-length"]),
2261
- t.showStatus && f.value ? R(a.$slots, "status", {
2274
+ t.showStatus && f.value ? z(a.$slots, "status", {
2262
2275
  status: t.status,
2263
2276
  statusText: f.value
2264
2277
  }, () => [
2265
- z("div", {
2278
+ T("div", {
2266
2279
  class: ke(["qy-record-quote-search__status", `is-${t.status}`])
2267
2280
  }, pe(f.value), 3)
2268
2281
  ], !0, 0) : P("", !0)
2269
2282
  ]));
2270
2283
  }
2271
- }), Co = /* @__PURE__ */ Te($o, [["__scopeId", "data-v-3a314f64"]]), Vo = { class: "qy-selection-dialog" }, qo = { class: "qy-selection-dialog__main" }, Bo = {
2284
+ }), Gl = /* @__PURE__ */ Re(Wl, [["__scopeId", "data-v-3a314f64"]]), Jl = { class: "qy-selection-dialog" }, Xl = { class: "qy-selection-dialog__main" }, Yl = {
2272
2285
  key: 0,
2273
2286
  class: "qy-selection-dialog__selected"
2274
- }, Ao = { class: "qy-selection-dialog__selected-tags" }, Io = {
2287
+ }, en = { class: "qy-selection-dialog__selected-tags" }, tn = {
2275
2288
  key: 0,
2276
2289
  class: "qy-selection-dialog__selected-actions"
2277
- }, To = {
2290
+ }, an = {
2278
2291
  key: 1,
2279
2292
  class: "qy-selection-dialog__search-row"
2280
- }, zo = {
2293
+ }, on = {
2281
2294
  key: 0,
2282
2295
  class: "qy-selection-dialog__toolbar"
2283
- }, Ro = {
2296
+ }, ln = {
2284
2297
  key: 2,
2285
2298
  class: "qy-selection-dialog__pagination"
2286
- }, Fo = { class: "qy-selection-dialog__paste-actions" }, Po = /* @__PURE__ */ qe({
2299
+ }, nn = { class: "qy-selection-dialog__paste-actions" }, rn = /* @__PURE__ */ qe({
2287
2300
  name: "QySelectionDialog",
2288
2301
  inheritAttrs: !1,
2289
2302
  __name: "index",
@@ -2323,22 +2336,22 @@ const lo = { class: "qy-remark-image__field" }, oo = {
2323
2336
  },
2324
2337
  emits: ["update:modelValue", "selection-change", "confirm", "submit", "cancel", "close", "append", "loaded"],
2325
2338
  setup(t, { expose: D, emit: W }) {
2326
- const e = t, n = W, H = Be(), d = mt(), y = Ra(), f = q(null), I = q([]), x = q([]), U = q([]), E = q(!1), M = q(0), j = q(!1), G = q(""), T = Ze({
2339
+ const e = t, n = W, H = Be(), d = mt(), y = ja(), f = q(null), I = q([]), x = q([]), _ = q([]), E = q(!1), M = q(0), j = q(!1), G = q(""), R = Ze({
2327
2340
  category: [],
2328
2341
  type: "",
2329
2342
  page: 1,
2330
2343
  pageSize: 10,
2331
2344
  ...e.searchKey ? { [e.searchKey]: "" } : {},
2332
2345
  ...e.queryParams
2333
- }), L = F(() => e.selectionMode ? e.selectionMode : e.selection === "multi" ? "multiple" : e.selection), ae = F(() => e.mainKey || e.rowKey), X = F(() => e.tagName || e.labelKey), J = F(() => e.typeOptions.length ? e.typeOptions : e.type || []), oe = F(() => ({
2346
+ }), L = F(() => e.selectionMode ? e.selectionMode : e.selection === "multi" ? "multiple" : e.selection), ae = F(() => e.mainKey || e.rowKey), J = F(() => e.tagName || e.labelKey), X = F(() => e.typeOptions.length ? e.typeOptions : e.type || []), le = F(() => ({
2334
2347
  ...e.typeSelectionProps,
2335
2348
  ...e.typeSelectProps
2336
2349
  })), ne = F(() => e.tableProps || {}), re = F(
2337
2350
  () => e.showSearch || !!H["search-visible"]
2338
- ), Z = F(() => e.showAppend || e.append), b = F(
2351
+ ), Z = F(() => e.showAppend || e.append), w = F(
2339
2352
  () => Z.value || !!d.toolbar || !!d.bar
2340
- ), V = F(() => e.fetchMethod || e.query), a = F(() => o() ? e.modelValue : e.selected);
2341
- function o() {
2353
+ ), V = F(() => e.fetchMethod || e.query), a = F(() => l() ? e.modelValue : e.selected);
2354
+ function l() {
2342
2355
  const u = (y == null ? void 0 : y.vnode.props) || {};
2343
2356
  return Object.prototype.hasOwnProperty.call(u, "modelValue") || Object.prototype.hasOwnProperty.call(u, "model-value") || Object.prototype.hasOwnProperty.call(u, "onUpdate:modelValue");
2344
2357
  }
@@ -2352,47 +2365,47 @@ const lo = { class: "qy-remark-image__field" }, oo = {
2352
2365
  [() => e.categoryOptions, () => e.category],
2353
2366
  (u) => {
2354
2367
  if (Array.isArray(e.category) && e.category.length) {
2355
- U.value = e.category;
2368
+ _.value = e.category;
2356
2369
  return;
2357
2370
  }
2358
- U.value = e.categoryOptions || [];
2371
+ _.value = e.categoryOptions || [];
2359
2372
  },
2360
2373
  { immediate: !0 }
2361
2374
  ), fe(j, (u) => {
2362
2375
  u || (G.value = "");
2363
2376
  });
2364
- async function K() {
2377
+ async function U() {
2365
2378
  x.value = Ae(a.value), await te(), await s(), ee();
2366
2379
  }
2367
2380
  async function te() {
2368
2381
  const u = e.categoryFetchMethod || (typeof e.category == "function" ? e.category : null);
2369
2382
  if (!u) return;
2370
2383
  const c = await u();
2371
- U.value = me(c);
2384
+ _.value = me(c);
2372
2385
  }
2373
2386
  async function s() {
2374
2387
  if (V.value) {
2375
2388
  E.value = !0;
2376
2389
  try {
2377
- const u = await V.value(xe()), c = e.responseFormatter ? await e.responseFormatter(u) : u, { rows: N, total: l } = ie(c);
2378
- return I.value = N, M.value = l, n("loaded", N), ee(), c;
2390
+ const u = await V.value(Qe()), c = e.responseFormatter ? await e.responseFormatter(u) : u, { rows: N, total: o } = ie(c);
2391
+ return I.value = N, M.value = o, n("loaded", N), ee(), c;
2379
2392
  } finally {
2380
2393
  E.value = !1;
2381
2394
  }
2382
2395
  }
2383
2396
  }
2384
2397
  function p() {
2385
- return T.page = 1, s();
2398
+ return R.page = 1, s();
2386
2399
  }
2387
- function Q() {
2388
- return T.page = 1, s();
2400
+ function C() {
2401
+ return R.page = 1, s();
2389
2402
  }
2390
2403
  function g() {
2391
- return Object.assign(T, {
2404
+ return Object.assign(R, {
2392
2405
  category: [],
2393
2406
  type: "",
2394
2407
  page: 1,
2395
- pageSize: T.pageSize,
2408
+ pageSize: R.pageSize,
2396
2409
  ...e.searchKey ? { [e.searchKey]: "" } : {},
2397
2410
  ...e.queryParams
2398
2411
  }), s();
@@ -2406,8 +2419,8 @@ const lo = { class: "qy-remark-image__field" }, oo = {
2406
2419
  const c = u == null ? void 0 : u.data;
2407
2420
  if (Array.isArray(c))
2408
2421
  return { rows: c, total: (u == null ? void 0 : u.total) ?? c.length };
2409
- const N = (u == null ? void 0 : u.records) || (u == null ? void 0 : u.rows) || (c == null ? void 0 : c.records) || [], l = (u == null ? void 0 : u.total) ?? (c == null ? void 0 : c.total) ?? N.length;
2410
- return { rows: N, total: l };
2422
+ const N = (u == null ? void 0 : u.records) || (u == null ? void 0 : u.rows) || (c == null ? void 0 : c.records) || [], o = (u == null ? void 0 : u.total) ?? (c == null ? void 0 : c.total) ?? N.length;
2423
+ return { rows: N, total: o };
2411
2424
  }
2412
2425
  function me(u) {
2413
2426
  const c = (u == null ? void 0 : u.data) ?? u;
@@ -2415,32 +2428,32 @@ const lo = { class: "qy-remark-image__field" }, oo = {
2415
2428
  if (typeof e.categoryFormatter == "function")
2416
2429
  return e.categoryFormatter(c);
2417
2430
  if (Array.isArray(e.categoryFormatter)) {
2418
- const [N, l] = e.categoryFormatter;
2431
+ const [N, o] = e.categoryFormatter;
2419
2432
  return c.map((i) => ({
2420
2433
  ...i,
2421
2434
  label: i[N],
2422
- value: i[l],
2423
- children: Array.isArray(i.children) ? ge(i.children, N, l) : i.children
2435
+ value: i[o],
2436
+ children: Array.isArray(i.children) ? we(i.children, N, o) : i.children
2424
2437
  }));
2425
2438
  }
2426
2439
  return c;
2427
2440
  }
2428
- function ge(u, c, N) {
2429
- return u.map((l) => ({
2430
- ...l,
2431
- label: l[c],
2432
- value: l[N],
2433
- children: Array.isArray(l.children) ? ge(l.children, c, N) : l.children
2441
+ function we(u, c, N) {
2442
+ return u.map((o) => ({
2443
+ ...o,
2444
+ label: o[c],
2445
+ value: o[N],
2446
+ children: Array.isArray(o.children) ? we(o.children, c, N) : o.children
2434
2447
  }));
2435
2448
  }
2436
- function xe() {
2437
- const u = { ...e.queryParams, ...T };
2449
+ function Qe() {
2450
+ const u = { ...e.queryParams, ...R };
2438
2451
  return e.searchKey && (u[e.searchKey] = String(u[e.searchKey] || "").trim()), u.category = m(), u;
2439
2452
  }
2440
2453
  function m() {
2441
2454
  if (Object.prototype.hasOwnProperty.call(e.queryParams, "category"))
2442
2455
  return e.queryParams.category;
2443
- const u = T.category;
2456
+ const u = R.category;
2444
2457
  return Array.isArray(u) ? u : u ? [u] : [];
2445
2458
  }
2446
2459
  function Y(u) {
@@ -2457,18 +2470,18 @@ const lo = { class: "qy-remark-image__field" }, oo = {
2457
2470
  if (L.value !== "multiple") return;
2458
2471
  const c = new Set(I.value.map(de)), N = new Set(u.map(de));
2459
2472
  x.value = x.value.filter(
2460
- (l) => !c.has(de(l)) || N.has(de(l))
2461
- ), u.forEach((l) => {
2462
- $e(l) || x.value.push(l);
2473
+ (o) => !c.has(de(o)) || N.has(de(o))
2474
+ ), u.forEach((o) => {
2475
+ $e(o) || x.value.push(o);
2463
2476
  }), Fe();
2464
2477
  }
2465
- function w(u) {
2466
- var N, l;
2478
+ function S(u) {
2479
+ var N, o;
2467
2480
  x.value = x.value.filter(
2468
2481
  (i) => de(i) !== de(u)
2469
2482
  );
2470
2483
  const c = I.value.find((i) => de(i) === de(u));
2471
- c && (L.value === "multiple" ? (N = f.value) == null || N.toggleRowSelection(c, !1) : (l = f.value) == null || l.setCurrentRow()), Fe();
2484
+ c && (L.value === "multiple" ? (N = f.value) == null || N.toggleRowSelection(c, !1) : (o = f.value) == null || o.setCurrentRow()), Fe();
2472
2485
  }
2473
2486
  function ee() {
2474
2487
  Oe(() => {
@@ -2476,7 +2489,7 @@ const lo = { class: "qy-remark-image__field" }, oo = {
2476
2489
  if (f.value) {
2477
2490
  if (L.value === "single") {
2478
2491
  const [c] = x.value, N = I.value.find(
2479
- (l) => c && de(l) === de(c)
2492
+ (o) => c && de(o) === de(c)
2480
2493
  );
2481
2494
  (u = f.value) == null || u.setCurrentRow(N);
2482
2495
  return;
@@ -2500,11 +2513,11 @@ const lo = { class: "qy-remark-image__field" }, oo = {
2500
2513
  return Le(u, ae.value);
2501
2514
  }
2502
2515
  function De(u) {
2503
- return Le(u, X.value) ?? de(u);
2516
+ return Le(u, J.value) ?? de(u);
2504
2517
  }
2505
2518
  function Le(u, c) {
2506
2519
  if (!(!u || !c))
2507
- return c.split(".").reduce((N, l) => N == null ? void 0 : N[l], u);
2520
+ return c.split(".").reduce((N, o) => N == null ? void 0 : N[o], u);
2508
2521
  }
2509
2522
  function Fe() {
2510
2523
  const u = Ae(x.value);
@@ -2512,28 +2525,28 @@ const lo = { class: "qy-remark-image__field" }, oo = {
2512
2525
  }
2513
2526
  function je() {
2514
2527
  const u = Ae(x.value);
2515
- n("update:modelValue", u), n("confirm", u), n("submit", { selection: u, rows: u, query: { ...T } });
2528
+ n("update:modelValue", u), n("confirm", u), n("submit", { selection: u, rows: u, query: { ...R } });
2516
2529
  }
2517
- function Ke() {
2530
+ function Ue() {
2518
2531
  x.value = Ae(a.value), n("cancel"), n("close");
2519
2532
  }
2520
2533
  async function Ne() {
2521
2534
  var c;
2522
2535
  const u = JSON.stringify(x.value);
2523
- await ((c = navigator.clipboard) == null ? void 0 : c.writeText(u)), be.success("复制成功");
2536
+ await ((c = navigator.clipboard) == null ? void 0 : c.writeText(u)), he.success("复制成功");
2524
2537
  }
2525
- function ze() {
2538
+ function Te() {
2526
2539
  try {
2527
2540
  const u = JSON.parse(G.value);
2528
2541
  if (!Array.isArray(u)) {
2529
- be.error("粘贴内容需要是数组");
2542
+ he.error("粘贴内容需要是数组");
2530
2543
  return;
2531
2544
  }
2532
2545
  u.forEach((c) => {
2533
2546
  $e(c) || x.value.push(c);
2534
2547
  }), j.value = !1, Fe(), ee();
2535
2548
  } catch (u) {
2536
- be.error(`粘贴错误: ${(u == null ? void 0 : u.message) || "内容格式错误"}`);
2549
+ he.error(`粘贴错误: ${(u == null ? void 0 : u.message) || "内容格式错误"}`);
2537
2550
  }
2538
2551
  }
2539
2552
  function Ae(u = []) {
@@ -2548,8 +2561,8 @@ const lo = { class: "qy-remark-image__field" }, oo = {
2548
2561
  getTableData: () => I.value,
2549
2562
  getSelection: () => Ae(x.value)
2550
2563
  }), (u, c) => {
2551
- const N = Aa;
2552
- return v(), ce(Xe, Qe($(H), {
2564
+ const N = Ua;
2565
+ return v(), ce(Je, xe($(H), {
2553
2566
  "model-value": t.open,
2554
2567
  title: t.title,
2555
2568
  width: t.width,
@@ -2557,25 +2570,25 @@ const lo = { class: "qy-remark-image__field" }, oo = {
2557
2570
  draggable: "",
2558
2571
  "align-center": "",
2559
2572
  "append-to-body": "",
2560
- onOpened: K,
2573
+ onOpened: U,
2561
2574
  onConfirm: je,
2562
- onCancel: Ke
2575
+ onCancel: Ue
2563
2576
  }), {
2564
2577
  default: h(() => [
2565
- z("div", Vo, [
2566
- R(u.$slots, "side", {}, void 0, !0),
2567
- z("div", qo, [
2568
- t.showSelected ? (v(), A("div", Bo, [
2569
- c[12] || (c[12] = z("span", { class: "qy-selection-dialog__selected-label" }, "已选项", -1)),
2570
- z("div", Ao, [
2571
- (v(!0), A(Re, null, et(x.value, (l) => (v(), ce(We, {
2572
- key: de(l),
2578
+ T("div", Jl, [
2579
+ z(u.$slots, "side", {}, void 0, !0),
2580
+ T("div", Xl, [
2581
+ t.showSelected ? (v(), A("div", Yl, [
2582
+ c[12] || (c[12] = T("span", { class: "qy-selection-dialog__selected-label" }, "已选项", -1)),
2583
+ T("div", en, [
2584
+ (v(!0), A(ze, null, et(x.value, (o) => (v(), ce(We, {
2585
+ key: de(o),
2573
2586
  closable: "",
2574
2587
  class: "qy-selection-dialog__selected-tag",
2575
- onClose: (i) => w(l)
2588
+ onClose: (i) => S(o)
2576
2589
  }, {
2577
2590
  default: h(() => [
2578
- we(pe(De(l)), 1)
2591
+ be(pe(De(o)), 1)
2579
2592
  ]),
2580
2593
  _: 2
2581
2594
  }, 1032, ["onClose"]))), 128)),
@@ -2584,54 +2597,54 @@ const lo = { class: "qy-remark-image__field" }, oo = {
2584
2597
  tone: "info"
2585
2598
  }, {
2586
2599
  default: h(() => [...c[9] || (c[9] = [
2587
- we("无", -1)
2600
+ be("无", -1)
2588
2601
  ])]),
2589
2602
  _: 1
2590
2603
  }))
2591
2604
  ]),
2592
- t.showCopyPaste ? (v(), A("div", Io, [
2605
+ t.showCopyPaste ? (v(), A("div", tn, [
2593
2606
  O($(Ve), {
2594
2607
  size: "small",
2595
2608
  onClick: Ne
2596
2609
  }, {
2597
2610
  default: h(() => [...c[10] || (c[10] = [
2598
- we("复制", -1)
2611
+ be("复制", -1)
2599
2612
  ])]),
2600
2613
  _: 1
2601
2614
  }),
2602
2615
  O($(Ve), {
2603
2616
  size: "small",
2604
- onClick: c[0] || (c[0] = (l) => j.value = !0)
2617
+ onClick: c[0] || (c[0] = (o) => j.value = !0)
2605
2618
  }, {
2606
2619
  default: h(() => [...c[11] || (c[11] = [
2607
- we("粘贴", -1)
2620
+ be("粘贴", -1)
2608
2621
  ])]),
2609
2622
  _: 1
2610
2623
  })
2611
2624
  ])) : P("", !0)
2612
2625
  ])) : P("", !0),
2613
- re.value ? (v(), A("div", To, [
2626
+ re.value ? (v(), A("div", an, [
2614
2627
  O($(wt), {
2615
2628
  class: "qy-selection-dialog__search",
2616
2629
  inline: "",
2617
- model: T
2630
+ model: R
2618
2631
  }, {
2619
2632
  default: h(() => [
2620
- R(u.$slots, "search", {
2621
- query: T,
2633
+ z(u.$slots, "search", {
2634
+ query: R,
2622
2635
  search: p,
2623
2636
  reset: g
2624
2637
  }, () => [
2625
- U.value.length ? (v(), ce($(Ie), {
2638
+ _.value.length ? (v(), ce($(Ie), {
2626
2639
  key: 0,
2627
2640
  label: "分类"
2628
2641
  }, {
2629
2642
  default: h(() => [
2630
2643
  O(St, {
2631
- modelValue: T.category,
2632
- "onUpdate:modelValue": c[1] || (c[1] = (l) => T.category = l),
2644
+ modelValue: R.category,
2645
+ "onUpdate:modelValue": c[1] || (c[1] = (o) => R.category = o),
2633
2646
  class: "qy-selection-dialog__category",
2634
- options: U.value,
2647
+ options: _.value,
2635
2648
  clearable: "",
2636
2649
  filterable: "",
2637
2650
  "check-strictly": "",
@@ -2641,19 +2654,19 @@ const lo = { class: "qy-remark-image__field" }, oo = {
2641
2654
  ]),
2642
2655
  _: 1
2643
2656
  })) : P("", !0),
2644
- J.value.length ? (v(), ce($(Ie), {
2657
+ X.value.length ? (v(), ce($(Ie), {
2645
2658
  key: 1,
2646
2659
  label: "类型"
2647
2660
  }, {
2648
2661
  default: h(() => [
2649
- O(tt, Qe({
2650
- modelValue: T.type,
2651
- "onUpdate:modelValue": c[2] || (c[2] = (l) => T.type = l),
2662
+ O(tt, xe({
2663
+ modelValue: R.type,
2664
+ "onUpdate:modelValue": c[2] || (c[2] = (o) => R.type = o),
2652
2665
  class: "qy-selection-dialog__type",
2653
- options: J.value,
2666
+ options: X.value,
2654
2667
  placeholder: "请选择类型",
2655
2668
  clearable: ""
2656
- }, oe.value, { onChange: p }), null, 16, ["modelValue", "options"])
2669
+ }, le.value, { onChange: p }), null, 16, ["modelValue", "options"])
2657
2670
  ]),
2658
2671
  _: 1
2659
2672
  })) : P("", !0),
@@ -2663,8 +2676,8 @@ const lo = { class: "qy-remark-image__field" }, oo = {
2663
2676
  }, {
2664
2677
  default: h(() => [
2665
2678
  O($(Me), {
2666
- modelValue: T[t.searchKey],
2667
- "onUpdate:modelValue": c[3] || (c[3] = (l) => T[t.searchKey] = l),
2679
+ modelValue: R[t.searchKey],
2680
+ "onUpdate:modelValue": c[3] || (c[3] = (o) => R[t.searchKey] = o),
2668
2681
  clearable: "",
2669
2682
  placeholder: "请输入",
2670
2683
  class: "qy-selection-dialog__search-input",
@@ -2680,13 +2693,13 @@ const lo = { class: "qy-remark-image__field" }, oo = {
2680
2693
  onClick: p
2681
2694
  }, {
2682
2695
  default: h(() => [...c[13] || (c[13] = [
2683
- we("查询", -1)
2696
+ be("查询", -1)
2684
2697
  ])]),
2685
2698
  _: 1
2686
2699
  }),
2687
2700
  O($(Ve), { onClick: g }, {
2688
2701
  default: h(() => [...c[14] || (c[14] = [
2689
- we("重置", -1)
2702
+ be("重置", -1)
2690
2703
  ])]),
2691
2704
  _: 1
2692
2705
  })
@@ -2697,28 +2710,28 @@ const lo = { class: "qy-remark-image__field" }, oo = {
2697
2710
  ]),
2698
2711
  _: 3
2699
2712
  }, 8, ["model"]),
2700
- b.value ? (v(), A("div", zo, [
2713
+ w.value ? (v(), A("div", on, [
2701
2714
  Z.value ? (v(), ce($(Ve), {
2702
2715
  key: 0,
2703
2716
  type: "primary",
2704
2717
  onClick: B
2705
2718
  }, {
2706
2719
  default: h(() => [...c[15] || (c[15] = [
2707
- we(" 新增 ", -1)
2720
+ be(" 新增 ", -1)
2708
2721
  ])]),
2709
2722
  _: 1
2710
2723
  })) : P("", !0),
2711
- R(u.$slots, "toolbar", {
2712
- query: T,
2724
+ z(u.$slots, "toolbar", {
2725
+ query: R,
2713
2726
  search: p
2714
2727
  }, void 0, !0),
2715
- R(u.$slots, "bar", {
2716
- query: T,
2728
+ z(u.$slots, "bar", {
2729
+ query: R,
2717
2730
  search: p
2718
2731
  }, void 0, !0)
2719
2732
  ])) : P("", !0)
2720
2733
  ])) : P("", !0),
2721
- Ye((v(), ce($(La), Qe({
2734
+ Ye((v(), ce($(Ya), xe({
2722
2735
  ref_key: "tableRef",
2723
2736
  ref: f,
2724
2737
  data: I.value,
@@ -2731,41 +2744,41 @@ const lo = { class: "qy-remark-image__field" }, oo = {
2731
2744
  onRowClick: Y
2732
2745
  }), {
2733
2746
  default: h(() => {
2734
- var l;
2747
+ var o;
2735
2748
  return [
2736
- L.value === "multiple" ? (v(), ce($(Ka), {
2749
+ L.value === "multiple" ? (v(), ce($(eo), {
2737
2750
  key: 0,
2738
2751
  type: "selection",
2739
2752
  "reserve-selection": "",
2740
2753
  width: "42",
2741
- selectable: (l = ne.value) == null ? void 0 : l.selectable
2754
+ selectable: (o = ne.value) == null ? void 0 : o.selectable
2742
2755
  }, null, 8, ["selectable"])) : P("", !0),
2743
- R(u.$slots, "columns", {}, void 0, !0),
2744
- R(u.$slots, "cols", {}, void 0, !0)
2756
+ z(u.$slots, "columns", {}, void 0, !0),
2757
+ z(u.$slots, "cols", {}, void 0, !0)
2745
2758
  ];
2746
2759
  }),
2747
2760
  _: 3
2748
2761
  }, 16, ["data", "row-key"])), [
2749
2762
  [N, E.value]
2750
2763
  ]),
2751
- t.showPagination && M.value > 0 ? (v(), A("div", Ro, [
2752
- O($(_a), {
2753
- "current-page": T.page,
2754
- "onUpdate:currentPage": c[4] || (c[4] = (l) => T.page = l),
2755
- "page-size": T.pageSize,
2756
- "onUpdate:pageSize": c[5] || (c[5] = (l) => T.pageSize = l),
2764
+ t.showPagination && M.value > 0 ? (v(), A("div", ln, [
2765
+ O($(to), {
2766
+ "current-page": R.page,
2767
+ "onUpdate:currentPage": c[4] || (c[4] = (o) => R.page = o),
2768
+ "page-size": R.pageSize,
2769
+ "onUpdate:pageSize": c[5] || (c[5] = (o) => R.pageSize = o),
2757
2770
  total: M.value,
2758
2771
  "page-sizes": t.pageSizes,
2759
2772
  layout: "total, sizes, prev, pager, next, jumper",
2760
- onSizeChange: Q,
2773
+ onSizeChange: C,
2761
2774
  onCurrentChange: s
2762
2775
  }, null, 8, ["current-page", "page-size", "total", "page-sizes"])
2763
2776
  ])) : P("", !0)
2764
2777
  ])
2765
2778
  ]),
2766
- O(Xe, {
2779
+ O(Je, {
2767
2780
  modelValue: j.value,
2768
- "onUpdate:modelValue": c[8] || (c[8] = (l) => j.value = l),
2781
+ "onUpdate:modelValue": c[8] || (c[8] = (o) => j.value = o),
2769
2782
  title: "粘贴数据",
2770
2783
  layout: !1,
2771
2784
  width: "560px"
@@ -2773,25 +2786,25 @@ const lo = { class: "qy-remark-image__field" }, oo = {
2773
2786
  default: h(() => [
2774
2787
  O($(Me), {
2775
2788
  modelValue: G.value,
2776
- "onUpdate:modelValue": c[6] || (c[6] = (l) => G.value = l),
2789
+ "onUpdate:modelValue": c[6] || (c[6] = (o) => G.value = o),
2777
2790
  type: "textarea",
2778
2791
  rows: 8
2779
2792
  }, null, 8, ["modelValue"]),
2780
- z("div", Fo, [
2793
+ T("div", nn, [
2781
2794
  O($(Ve), {
2782
- onClick: c[7] || (c[7] = (l) => j.value = !1)
2795
+ onClick: c[7] || (c[7] = (o) => j.value = !1)
2783
2796
  }, {
2784
2797
  default: h(() => [...c[16] || (c[16] = [
2785
- we("取消", -1)
2798
+ be("取消", -1)
2786
2799
  ])]),
2787
2800
  _: 1
2788
2801
  }),
2789
2802
  O($(Ve), {
2790
2803
  type: "primary",
2791
- onClick: ze
2804
+ onClick: Te
2792
2805
  }, {
2793
2806
  default: h(() => [...c[17] || (c[17] = [
2794
- we("确认", -1)
2807
+ be("确认", -1)
2795
2808
  ])]),
2796
2809
  _: 1
2797
2810
  })
@@ -2804,7 +2817,7 @@ const lo = { class: "qy-remark-image__field" }, oo = {
2804
2817
  }, 16, ["model-value", "title", "width"]);
2805
2818
  };
2806
2819
  }
2807
- }), $t = /* @__PURE__ */ Te(Po, [["__scopeId", "data-v-31ee3945"]]), Do = /* @__PURE__ */ qe({
2820
+ }), Vt = /* @__PURE__ */ Re(rn, [["__scopeId", "data-v-31ee3945"]]), sn = /* @__PURE__ */ qe({
2808
2821
  name: "QyLegacySelectionDialog",
2809
2822
  inheritAttrs: !1,
2810
2823
  __name: "index",
@@ -2851,10 +2864,10 @@ const lo = { class: "qy-remark-image__field" }, oo = {
2851
2864
  dialogOpen: !1,
2852
2865
  pasteData: "",
2853
2866
  pasteDataDialog: !1
2854
- }), I = F(() => e.type || []), x = F(() => f.categories), U = async (s) => {
2867
+ }), I = F(() => e.type || []), x = F(() => f.categories), _ = async (s) => {
2855
2868
  if (!e.query) return { data: { records: [], total: 0 } };
2856
- const p = await e.query(oe(s)), Q = e.responseFormatter ? await e.responseFormatter(p) : p;
2857
- return f.total = K(Q), Q;
2869
+ const p = await e.query(le(s)), C = e.responseFormatter ? await e.responseFormatter(p) : p;
2870
+ return f.total = U(C), C;
2858
2871
  };
2859
2872
  fe(
2860
2873
  () => e.open,
@@ -2888,7 +2901,7 @@ const lo = { class: "qy-remark-image__field" }, oo = {
2888
2901
  ), fe(
2889
2902
  () => e.select,
2890
2903
  async () => {
2891
- e.select && await J(e.select);
2904
+ e.select && await X(e.select);
2892
2905
  },
2893
2906
  { deep: !0 }
2894
2907
  ), fe(
@@ -2904,7 +2917,7 @@ const lo = { class: "qy-remark-image__field" }, oo = {
2904
2917
  return;
2905
2918
  }
2906
2919
  const s = typeof e.category == "function" ? await e.category() : e.category;
2907
- f.categories = b(s);
2920
+ f.categories = w(s);
2908
2921
  }
2909
2922
  async function M() {
2910
2923
  var s;
@@ -2917,7 +2930,7 @@ const lo = { class: "qy-remark-image__field" }, oo = {
2917
2930
  var p;
2918
2931
  f.tableData = s, f.tableRef = (p = d.value) == null ? void 0 : p.getTableRef();
2919
2932
  }
2920
- function T(s) {
2933
+ function R(s) {
2921
2934
  f.selection = te(s), n("submit", f);
2922
2935
  }
2923
2936
  function L() {
@@ -2926,21 +2939,21 @@ const lo = { class: "qy-remark-image__field" }, oo = {
2926
2939
  function ae() {
2927
2940
  f.dialogOpen = !0, n("openDialog");
2928
2941
  }
2929
- function X(s) {
2942
+ function J(s) {
2930
2943
  n("changeIndexShow", s);
2931
2944
  }
2932
- async function J(s) {
2945
+ async function X(s) {
2933
2946
  if (!e.query || !e.searchKey || !e.mainKey) return;
2934
2947
  const p = await e.query({
2935
2948
  ...y,
2936
2949
  [e.searchKey]: s[e.mainKey],
2937
2950
  category: []
2938
- }), Q = e.responseFormatter ? await e.responseFormatter(p) : p, [g] = o(Q);
2951
+ }), C = e.responseFormatter ? await e.responseFormatter(p) : p, [g] = l(C);
2939
2952
  g && (e.selection === "multi" ? (f.selection = f.selection.filter(
2940
2953
  (B) => B[e.mainKey] !== g[e.mainKey]
2941
2954
  ), f.selection.push(g)) : f.selection = [g]);
2942
2955
  }
2943
- function oe(s = {}) {
2956
+ function le(s = {}) {
2944
2957
  y.page = s.page ?? y.page, y.pageSize = s.pageSize ?? y.pageSize;
2945
2958
  const p = {
2946
2959
  ...y,
@@ -2958,55 +2971,55 @@ const lo = { class: "qy-remark-image__field" }, oo = {
2958
2971
  return p ? Z(p) : [s];
2959
2972
  }
2960
2973
  function re(s, p) {
2961
- for (const Q of s || []) {
2962
- if (Q.value === p) return Q;
2963
- const g = re(Q.children || [], p);
2974
+ for (const C of s || []) {
2975
+ if (C.value === p) return C;
2976
+ const g = re(C.children || [], p);
2964
2977
  if (g) return g;
2965
2978
  }
2966
2979
  }
2967
2980
  function Z(s) {
2968
2981
  return [s.value, ...(s.children || []).flatMap(Z)];
2969
2982
  }
2970
- function b(s) {
2983
+ function w(s) {
2971
2984
  const p = (s == null ? void 0 : s.data) ?? s;
2972
2985
  if (!Array.isArray(p)) return [];
2973
2986
  if (typeof e.categoryFormatter == "function")
2974
2987
  return e.categoryFormatter(p);
2975
2988
  if (Array.isArray(e.categoryFormatter)) {
2976
- const [Q, g] = e.categoryFormatter;
2977
- return a(V(p, g), Q, g);
2989
+ const [C, g] = e.categoryFormatter;
2990
+ return a(V(p, g), C, g);
2978
2991
  }
2979
2992
  return p;
2980
2993
  }
2981
2994
  function V(s, p) {
2982
- const Q = s.map((B) => ({ ...B })), g = [];
2983
- return Q.forEach((B) => {
2995
+ const C = s.map((B) => ({ ...B })), g = [];
2996
+ return C.forEach((B) => {
2984
2997
  const ie = B.parentCateCode;
2985
2998
  if (!ie) {
2986
2999
  g.push(B);
2987
3000
  return;
2988
3001
  }
2989
- const me = Q.find((ge) => ge[p] === ie);
3002
+ const me = C.find((we) => we[p] === ie);
2990
3003
  me ? (me.children || (me.children = [])).push(B) : g.push(B);
2991
3004
  }), g;
2992
3005
  }
2993
- function a(s, p, Q) {
3006
+ function a(s, p, C) {
2994
3007
  return s.map((g) => ({
2995
3008
  ...g,
2996
3009
  label: g[p],
2997
- value: g[Q],
2998
- children: Array.isArray(g.children) ? a(g.children, p, Q) : g.children
3010
+ value: g[C],
3011
+ children: Array.isArray(g.children) ? a(g.children, p, C) : g.children
2999
3012
  }));
3000
3013
  }
3001
- function o(s) {
3014
+ function l(s) {
3002
3015
  if (Array.isArray(s)) return s;
3003
3016
  const p = s == null ? void 0 : s.data;
3004
3017
  return Array.isArray(p) ? p : (s == null ? void 0 : s.records) || (s == null ? void 0 : s.rows) || (p == null ? void 0 : p.records) || [];
3005
3018
  }
3006
- function K(s) {
3019
+ function U(s) {
3007
3020
  if (Array.isArray(s)) return s.length;
3008
- const p = o(s), Q = s == null ? void 0 : s.data;
3009
- return (s == null ? void 0 : s.total) ?? (Array.isArray(Q) ? Q.length : Q == null ? void 0 : Q.total) ?? p.length;
3021
+ const p = l(s), C = s == null ? void 0 : s.data;
3022
+ return (s == null ? void 0 : s.total) ?? (Array.isArray(C) ? C.length : C == null ? void 0 : C.total) ?? p.length;
3010
3023
  }
3011
3024
  function te(s = []) {
3012
3025
  return s.map((p) => ({ ...p }));
@@ -3018,17 +3031,17 @@ const lo = { class: "qy-remark-image__field" }, oo = {
3018
3031
  getTableRef: () => f.tableRef,
3019
3032
  getTableData: () => f.tableData,
3020
3033
  getSelection: () => te(f.selection)
3021
- }), (s, p) => (v(), A(Re, null, [
3022
- O($t, Qe({
3034
+ }), (s, p) => (v(), A(ze, null, [
3035
+ O(Vt, xe({
3023
3036
  ref_key: "selectionDialogRef",
3024
3037
  ref: d
3025
3038
  }, $(H), {
3026
3039
  modelValue: f.selection,
3027
- "onUpdate:modelValue": p[3] || (p[3] = (Q) => f.selection = Q),
3040
+ "onUpdate:modelValue": p[3] || (p[3] = (C) => f.selection = C),
3028
3041
  open: t.open,
3029
3042
  title: t.title,
3030
3043
  width: t.width,
3031
- query: U,
3044
+ query: _,
3032
3045
  "response-formatter": t.responseFormatter,
3033
3046
  selection: t.selection,
3034
3047
  "row-key": t.mainKey,
@@ -3042,20 +3055,20 @@ const lo = { class: "qy-remark-image__field" }, oo = {
3042
3055
  "show-copy-paste": !0,
3043
3056
  "show-append": t.append,
3044
3057
  onSelectionChange: j,
3045
- onConfirm: T,
3058
+ onConfirm: R,
3046
3059
  onCancel: L,
3047
3060
  onAppend: ae,
3048
3061
  onLoaded: G
3049
3062
  }), {
3050
3063
  side: h(() => [
3051
- R(s.$slots, "side", {
3064
+ z(s.$slots, "side", {
3052
3065
  state: f,
3053
3066
  cate: f.categories,
3054
3067
  form: y,
3055
3068
  query: y,
3056
3069
  getData: M,
3057
3070
  search: M,
3058
- changeIndexShow: X
3071
+ changeIndexShow: J
3059
3072
  }, void 0, !0)
3060
3073
  ]),
3061
3074
  search: h(() => [
@@ -3069,9 +3082,9 @@ const lo = { class: "qy-remark-image__field" }, oo = {
3069
3082
  label: "分类"
3070
3083
  }, {
3071
3084
  default: h(() => [
3072
- O($(Ea), {
3085
+ O($(ao), {
3073
3086
  modelValue: y.category,
3074
- "onUpdate:modelValue": p[0] || (p[0] = (Q) => y.category = Q),
3087
+ "onUpdate:modelValue": p[0] || (p[0] = (C) => y.category = C),
3075
3088
  class: "qy-legacy-selection-dialog__category",
3076
3089
  data: f.categories,
3077
3090
  clearable: "",
@@ -3088,16 +3101,16 @@ const lo = { class: "qy-remark-image__field" }, oo = {
3088
3101
  label: "类型"
3089
3102
  }, {
3090
3103
  default: h(() => [
3091
- O($(ht), Qe({
3104
+ O($(ht), xe({
3092
3105
  modelValue: y.type,
3093
- "onUpdate:modelValue": p[1] || (p[1] = (Q) => y.type = Q),
3106
+ "onUpdate:modelValue": p[1] || (p[1] = (C) => y.type = C),
3094
3107
  clearable: ""
3095
3108
  }, t.typeSelectionProps, { onChange: M }), {
3096
3109
  default: h(() => [
3097
- (v(!0), A(Re, null, et(I.value, (Q) => (v(), ce($(bt), {
3098
- key: Q.value,
3099
- label: Q.label,
3100
- value: Q.value
3110
+ (v(!0), A(ze, null, et(I.value, (C) => (v(), ce($(bt), {
3111
+ key: C.value,
3112
+ label: C.label,
3113
+ value: C.value
3101
3114
  }, null, 8, ["label", "value"]))), 128))
3102
3115
  ]),
3103
3116
  _: 1
@@ -3112,7 +3125,7 @@ const lo = { class: "qy-remark-image__field" }, oo = {
3112
3125
  default: h(() => [
3113
3126
  O($(Me), {
3114
3127
  modelValue: y[t.searchKey],
3115
- "onUpdate:modelValue": p[2] || (p[2] = (Q) => y[t.searchKey] = Q),
3128
+ "onUpdate:modelValue": p[2] || (p[2] = (C) => y[t.searchKey] = C),
3116
3129
  clearable: "",
3117
3130
  class: "qy-legacy-selection-dialog__search-input",
3118
3131
  onKeydown: Ee(ue(M, ["prevent"]), ["enter"])
@@ -3127,7 +3140,7 @@ const lo = { class: "qy-remark-image__field" }, oo = {
3127
3140
  onClick: M
3128
3141
  }, {
3129
3142
  default: h(() => [...p[4] || (p[4] = [
3130
- we("查询", -1)
3143
+ be("查询", -1)
3131
3144
  ])]),
3132
3145
  _: 1
3133
3146
  })
@@ -3139,31 +3152,31 @@ const lo = { class: "qy-remark-image__field" }, oo = {
3139
3152
  }, 8, ["model"])
3140
3153
  ]),
3141
3154
  toolbar: h(() => [
3142
- R(s.$slots, "bar", {
3155
+ z(s.$slots, "bar", {
3143
3156
  query: y,
3144
3157
  search: M
3145
3158
  }, void 0, !0)
3146
3159
  ]),
3147
3160
  columns: h(() => [
3148
- R(s.$slots, "cols", {}, void 0, !0),
3149
- R(s.$slots, "columns", {}, void 0, !0)
3161
+ z(s.$slots, "cols", {}, void 0, !0),
3162
+ z(s.$slots, "columns", {}, void 0, !0)
3150
3163
  ]),
3151
3164
  _: 3
3152
3165
  }, 16, ["modelValue", "open", "title", "width", "response-formatter", "selection", "row-key", "label-key", "search-key", "category-options", "type-options", "type-select-props", "table-props", "show-append"]),
3153
- R(s.$slots, "dialog", {
3166
+ z(s.$slots, "dialog", {
3154
3167
  state: f,
3155
3168
  form: y,
3156
3169
  getData: M
3157
3170
  }, void 0, !0)
3158
3171
  ], 64));
3159
3172
  }
3160
- }), Mo = /* @__PURE__ */ Te(Do, [["__scopeId", "data-v-b54ca11b"]]), Oo = { class: "qy-form-section__heading" }, Uo = {
3173
+ }), un = /* @__PURE__ */ Re(sn, [["__scopeId", "data-v-b54ca11b"]]), cn = { class: "qy-form-section__heading" }, dn = {
3161
3174
  key: 0,
3162
3175
  class: "qy-form-section__title"
3163
- }, Lo = {
3176
+ }, fn = {
3164
3177
  key: 0,
3165
3178
  class: "qy-form-section__description"
3166
- }, Ko = { class: "qy-form-section__actions" }, _o = /* @__PURE__ */ qe({
3179
+ }, mn = { class: "qy-form-section__actions" }, yn = /* @__PURE__ */ qe({
3167
3180
  name: "QyFormSection",
3168
3181
  __name: "index",
3169
3182
  props: {
@@ -3202,20 +3215,20 @@ const lo = { class: "qy-remark-image__field" }, oo = {
3202
3215
  }
3203
3216
  ]])
3204
3217
  }, [
3205
- z("header", {
3218
+ T("header", {
3206
3219
  class: ke(["qy-form-section__header", t.headerClass]),
3207
3220
  onClick: d
3208
3221
  }, [
3209
- z("div", Oo, [
3210
- R(y.$slots, "title", {}, () => [
3211
- t.title ? (v(), A("div", Uo, pe(t.title), 1)) : P("", !0)
3222
+ T("div", cn, [
3223
+ z(y.$slots, "title", {}, () => [
3224
+ t.title ? (v(), A("div", dn, pe(t.title), 1)) : P("", !0)
3212
3225
  ], !0),
3213
- R(y.$slots, "description", {}, () => [
3214
- t.description ? (v(), A("div", Lo, pe(t.description), 1)) : P("", !0)
3226
+ z(y.$slots, "description", {}, () => [
3227
+ t.description ? (v(), A("div", fn, pe(t.description), 1)) : P("", !0)
3215
3228
  ], !0)
3216
3229
  ]),
3217
- z("div", Ko, [
3218
- R(y.$slots, "actions", {}, void 0, !0),
3230
+ T("div", mn, [
3231
+ z(y.$slots, "actions", {}, void 0, !0),
3219
3232
  t.collapsible ? (v(), A("button", {
3220
3233
  key: 0,
3221
3234
  type: "button",
@@ -3224,31 +3237,31 @@ const lo = { class: "qy-remark-image__field" }, oo = {
3224
3237
  }, pe(n.value ? "收起" : "展开"), 1)) : P("", !0)
3225
3238
  ])
3226
3239
  ], 2),
3227
- Ye(z("div", {
3240
+ Ye(T("div", {
3228
3241
  class: ke(["qy-form-section__body", t.bodyClass])
3229
3242
  }, [
3230
- R(y.$slots, "tip", {}, () => [
3243
+ z(y.$slots, "tip", {}, () => [
3231
3244
  t.tip ? (v(), A("div", {
3232
3245
  key: 0,
3233
3246
  class: ke(["qy-form-section__tip", `is-${t.tipType}`])
3234
3247
  }, pe(t.tip), 3)) : P("", !0)
3235
3248
  ], !0),
3236
- R(y.$slots, "default", {}, void 0, !0)
3249
+ z(y.$slots, "default", {}, void 0, !0)
3237
3250
  ], 2), [
3238
3251
  [pt, n.value]
3239
3252
  ])
3240
3253
  ], 2));
3241
3254
  }
3242
- }), Eo = /* @__PURE__ */ Te(_o, [["__scopeId", "data-v-8149aa01"]]), jo = {
3255
+ }), pn = /* @__PURE__ */ Re(yn, [["__scopeId", "data-v-8149aa01"]]), gn = {
3243
3256
  key: 0,
3244
3257
  class: "qy-action-bar__left"
3245
- }, No = {
3258
+ }, vn = {
3246
3259
  key: 1,
3247
3260
  class: "qy-action-bar__center"
3248
- }, Ho = {
3261
+ }, hn = {
3249
3262
  key: 2,
3250
3263
  class: "qy-action-bar__right"
3251
- }, Zo = /* @__PURE__ */ qe({
3264
+ }, bn = /* @__PURE__ */ qe({
3252
3265
  name: "QyActionBar",
3253
3266
  __name: "index",
3254
3267
  props: {
@@ -3278,143 +3291,167 @@ const lo = { class: "qy-remark-image__field" }, oo = {
3278
3291
  ]]),
3279
3292
  style: Pe(W.value)
3280
3293
  }, [
3281
- e.$slots.left ? (v(), A("div", jo, [
3282
- R(e.$slots, "left", {}, void 0, !0)
3294
+ e.$slots.left ? (v(), A("div", gn, [
3295
+ z(e.$slots, "left", {}, void 0, !0)
3283
3296
  ])) : P("", !0),
3284
- e.$slots.default ? (v(), A("div", No, [
3285
- R(e.$slots, "default", {}, void 0, !0)
3297
+ e.$slots.default ? (v(), A("div", vn, [
3298
+ z(e.$slots, "default", {}, void 0, !0)
3286
3299
  ])) : P("", !0),
3287
- e.$slots.right ? (v(), A("div", Ho, [
3288
- R(e.$slots, "right", {}, void 0, !0)
3300
+ e.$slots.right ? (v(), A("div", hn, [
3301
+ z(e.$slots, "right", {}, void 0, !0)
3289
3302
  ])) : P("", !0)
3290
3303
  ], 6));
3291
3304
  }
3292
- }), Wo = /* @__PURE__ */ Te(Zo, [["__scopeId", "data-v-ecba8f49"]]), Ct = C(xt, "QyUpload"), Vt = C(ja, "QyImage"), qt = C(Na, "QyImagePreview"), Bt = C(El, "QyImageUpload"), At = C(Xe, "QyDialog"), It = C(yo, "QyRemarkImage"), Tt = C(Ga, "QyButton"), zt = C(Xa, "QyDropdown"), Rt = C(Ja, "QyInput"), Ft = C(Ya, "QyInputNumber"), Pt = C(po, "QyMoneyInput"), Dt = C(el, "QyDatePicker"), Mt = C(tl, "QyCheckbox"), Ot = C(al, "QyCheckboxGroup"), Ut = C(ll, "QyRadio"), Lt = C(ol, "QyAutocomplete"), Kt = C(nl, "QyMenuActions"), _t = C(
3293
- rl,
3305
+ }), wn = /* @__PURE__ */ Re(bn, [["__scopeId", "data-v-ecba8f49"]]), qt = b($t, "QyUpload"), Bt = b(oo, "QyImage"), At = b(lo, "QyImagePreview"), It = b(pl, "QyImageUpload"), Rt = b(Je, "QyDialog"), Tt = b(Ml, "QyRemarkImage"), zt = b(so, "QyButton"), Ft = b(uo, "QyDropdown"), Pt = b(co, "QyInput"), Dt = b(fo, "QyInputNumber"), Mt = b(Ol, "QyMoneyInput"), Ot = b(mo, "QyDatePicker"), _t = b(yo, "QyCheckbox"), Lt = b(po, "QyCheckboxGroup"), Ut = b(go, "QyRadio"), Kt = b(vo, "QyAutocomplete"), Et = b(ho, "QyMenuActions"), jt = b(
3306
+ bo,
3294
3307
  "QyTableColumnSettings"
3295
- ), Et = C(il, "QyRadioGroup"), jt = C(go, "QyRemoteSelect"), Nt = C(Qt, "QySearchInput"), Ht = C(
3296
- Co,
3308
+ ), Nt = b(wo, "QyRadioGroup"), Ht = b(_l, "QyRemoteSelect"), Zt = b(Ct, "QySearchInput"), Wt = b(
3309
+ Gl,
3297
3310
  "QyRecordQuoteSearch"
3298
- ), Zt = C(tt, "QySelect"), Wt = C(St, "QyTreeSelect"), Gt = C($t, "QySelectionDialog"), Xt = C(
3299
- Mo,
3311
+ ), Gt = b(tt, "QySelect"), Jt = b(St, "QyTreeSelect"), Xt = b(Vt, "QySelectionDialog"), Yt = b(
3312
+ un,
3300
3313
  "QyLegacySelectionDialog"
3301
- ), Jt = C(Eo, "QyFormSection"), Yt = C(Wo, "QyActionBar"), ea = C(sl, "QyFilePicker"), ta = C(ul, "QySwitch"), aa = C(We, "QyTag"), la = C(cl, "QyBadge"), oa = C(dl, "QyCascader"), na = C(fl, "QyTooltip"), ra = C(ml, "QyPopover"), ia = C(yl, "QySkeleton"), sa = C(pl, "QySkeletonItem"), ua = C(gl, "QyTabs"), ca = C(vl, "QyTabPane"), da = C(hl, "QySteps"), fa = C(bl, "QyStep"), ma = C(wl, "QyDescriptions"), ya = C(Sl, "QyDescriptionsItem"), pa = C(kl, "QyCollapse"), ga = C(xl, "QyCollapseItem"), va = C(Ql, "QyLink"), ha = C($l, "QyDivider"), ba = C(Cl, "QyEmpty"), wa = C(Vl, "QyAlert"), Sa = C(ql, "QyCard"), ka = C(Bl, "QyScrollbar"), xa = C(Al, "QyProgress"), Qa = C(Il, "QyAvatar"), $a = C(Tl, "QyTree"), Go = (t) => {
3302
- t.component("QyDialog", At), t.component("QyUpload", Ct), t.component("QyImage", Vt), t.component("QyImagePreview", qt), t.component("QyImageUpload", Bt), t.component("QyRemarkImage", It), t.component("QyButton", Tt), t.component("QyDropdown", zt), t.component("QyInput", Rt), t.component("QyInputNumber", Ft), t.component("QyMoneyInput", Pt), t.component("QyDatePicker", Dt), t.component("QyCheckbox", Mt), t.component("QyCheckboxGroup", Ot), t.component("QyRadio", Ut), t.component("QyAutocomplete", Lt), t.component("QyMenuActions", Kt), t.component("QyTableColumnSettings", _t), t.component("QyRadioGroup", Et), t.component("QyRemoteSelect", jt), t.component("QySearchInput", Nt), t.component("QyRecordQuoteSearch", Ht), t.component("QySelect", Zt), t.component("QyTreeSelect", Wt), t.component("QySelectionDialog", Gt), t.component("QyLegacySelectionDialog", Xt), t.component("QyFormSection", Jt), t.component("QyActionBar", Yt), t.component("QyFilePicker", ea), t.component("QySwitch", ta), t.component("QyTag", aa), t.component("QyBadge", la), t.component("QyCascader", oa), t.component("QyTooltip", na), t.component("QyPopover", ra), t.component("QySkeleton", ia), t.component("QySkeletonItem", sa), t.component("QyTabs", ua), t.component("QyTabPane", ca), t.component("QySteps", da), t.component("QyStep", fa), t.component("QyDescriptions", ma), t.component("QyDescriptionsItem", ya), t.component("QyCollapse", pa), t.component("QyCollapseItem", ga), t.component("QyLink", va), t.component("QyDivider", ha), t.component("QyEmpty", ba), t.component("QyAlert", wa), t.component("QyCard", Sa), t.component("QyScrollbar", ka), t.component("QyProgress", xa), t.component("QyAvatar", Qa), t.component("QyTree", $a);
3303
- }, Wn = {
3304
- install: Go,
3305
- QyUpload: Ct,
3306
- QyImage: Vt,
3307
- QyImagePreview: qt,
3308
- openQyImagePreview: zl,
3309
- QyImageUpload: Bt,
3310
- QyDialog: At,
3311
- QyButton: Tt,
3312
- QyDropdown: zt,
3313
- QyInput: Rt,
3314
- QyInputNumber: Ft,
3315
- QyMoneyInput: Pt,
3316
- QyDatePicker: Dt,
3317
- QyCheckbox: Mt,
3318
- QyCheckboxGroup: Ot,
3314
+ ), ea = b(pn, "QyFormSection"), ta = b(wn, "QyActionBar"), aa = b(So, "QyFilePicker"), oa = b(ko, "QySwitch"), la = b(We, "QyTag"), na = b(Qo, "QyBadge"), ra = b(xo, "QyCascader"), ia = b($o, "QyTooltip"), sa = b(Co, "QyPopover"), ua = b(Vo, "QySkeleton"), ca = b(qo, "QySkeletonItem"), da = b(Bo, "QyTabs"), fa = b(Ao, "QyTabPane"), ma = b(Io, "QySteps"), ya = b(Ro, "QyStep"), pa = b(To, "QyFullscreen"), ga = b(Fo, "QyRow"), va = b(Po, "QyCol"), ha = b(Do, "QyContainer"), ba = b(Mo, "QyAside"), wa = b(Oo, "QyMain"), Sa = b(_o, "QyDescriptions"), ka = b(Lo, "QyDescriptionsItem"), Qa = b(Uo, "QyCollapse"), xa = b(Ko, "QyCollapseItem"), $a = b(Eo, "QyLink"), Ca = b(jo, "QyDivider"), Va = b(No, "QyEmpty"), qa = b(Ho, "QyAlert"), Ba = b(Zo, "QyCard"), Aa = b(Wo, "QyResult"), Ia = b(Go, "QyScrollbar"), Ra = b(Jo, "QyProgress"), Ta = b(Xo, "QyStatistic"), za = b(Yo, "QyAvatar"), Fa = b(el, "QyTree"), Pa = b(zo, "QyIconPicker"), Da = b(al, "QyDrawer"), Sn = (t) => {
3315
+ Qt.install(t), t.component("QyDialog", Rt), t.component("QyDrawer", Da), t.component("QyUpload", qt), t.component("QyImage", Bt), t.component("QyImagePreview", At), t.component("QyImageUpload", It), t.component("QyRemarkImage", Tt), t.component("QyButton", zt), t.component("QyDropdown", Ft), t.component("QyInput", Pt), t.component("QyInputNumber", Dt), t.component("QyMoneyInput", Mt), t.component("QyDatePicker", Ot), t.component("QyCheckbox", _t), t.component("QyCheckboxGroup", Lt), t.component("QyRadio", Ut), t.component("QyAutocomplete", Kt), t.component("QyMenuActions", Et), t.component("QyTableColumnSettings", jt), t.component("QyRadioGroup", Nt), t.component("QyRemoteSelect", Ht), t.component("QySearchInput", Zt), t.component("QyRecordQuoteSearch", Wt), t.component("QySelect", Gt), t.component("QyTreeSelect", Jt), t.component("QySelectionDialog", Xt), t.component("QyLegacySelectionDialog", Yt), t.component("QyFormSection", ea), t.component("QyActionBar", ta), t.component("QyFilePicker", aa), t.component("QySwitch", oa), t.component("QyTag", la), t.component("QyBadge", na), t.component("QyCascader", ra), t.component("QyTooltip", ia), t.component("QyPopover", sa), t.component("QySkeleton", ua), t.component("QySkeletonItem", ca), t.component("QyTabs", da), t.component("QyTabPane", fa), t.component("QySteps", ma), t.component("QyStep", ya), t.component("QyFullscreen", pa), t.component("QyIcon", kt), t.component("QyIconPicker", Pa), t.component("QyRow", ga), t.component("QyCol", va), t.component("QyContainer", ha), t.component("QyAside", ba), t.component("QyMain", wa), t.component("QyDescriptions", Sa), t.component("QyDescriptionsItem", ka), t.component("QyCollapse", Qa), t.component("QyCollapseItem", xa), t.component("QyLink", $a), t.component("QyDivider", Ca), t.component("QyEmpty", Va), t.component("QyAlert", qa), t.component("QyCard", Ba), t.component("QyResult", Aa), t.component("QyScrollbar", Ia), t.component("QyProgress", Ra), t.component("QyStatistic", Ta), t.component("QyAvatar", za), t.component("QyTree", Fa);
3316
+ }, Rr = {
3317
+ install: Sn,
3318
+ QyUpload: qt,
3319
+ QyImage: Bt,
3320
+ QyImagePreview: At,
3321
+ openQyImagePreview: ol,
3322
+ QyImageUpload: It,
3323
+ QyDialog: Rt,
3324
+ QyButton: zt,
3325
+ QyDropdown: Ft,
3326
+ QyInput: Pt,
3327
+ QyInputNumber: Dt,
3328
+ QyMoneyInput: Mt,
3329
+ QyDatePicker: Ot,
3330
+ QyCheckbox: _t,
3331
+ QyCheckboxGroup: Lt,
3319
3332
  QyRadio: Ut,
3320
- QyAutocomplete: Lt,
3321
- QyMenuActions: Kt,
3322
- QyTableColumnSettings: _t,
3323
- QyRadioGroup: Et,
3324
- QyRemoteSelect: jt,
3325
- QySearchInput: Nt,
3326
- QyRecordQuoteSearch: Ht,
3327
- QySelect: Zt,
3328
- QyTreeSelect: Wt,
3329
- QySelectionDialog: Gt,
3330
- QyLegacySelectionDialog: Xt,
3331
- QyFormSection: Jt,
3332
- QyActionBar: Yt,
3333
- QyFilePicker: ea,
3334
- QySwitch: ta,
3335
- QyTag: aa,
3336
- QyBadge: la,
3337
- QyCascader: oa,
3338
- QyTooltip: na,
3339
- QyPopover: ra,
3340
- QySkeleton: ia,
3341
- QySkeletonItem: sa,
3342
- QyTabs: ua,
3343
- QyTabPane: ca,
3344
- QySteps: da,
3345
- QyStep: fa,
3346
- QyDescriptions: ma,
3347
- QyDescriptionsItem: ya,
3348
- QyCollapse: pa,
3349
- QyCollapseItem: ga,
3350
- QyLink: va,
3351
- QyDivider: ha,
3352
- QyEmpty: ba,
3353
- QyAlert: wa,
3354
- QyCard: Sa,
3355
- QyScrollbar: ka,
3356
- QyProgress: xa,
3357
- QyAvatar: Qa,
3358
- QyTree: $a,
3359
- QyRemarkImage: It
3333
+ QyAutocomplete: Kt,
3334
+ QyMenuActions: Et,
3335
+ QyTableColumnSettings: jt,
3336
+ QyRadioGroup: Nt,
3337
+ QyRemoteSelect: Ht,
3338
+ QySearchInput: Zt,
3339
+ QyRecordQuoteSearch: Wt,
3340
+ QySelect: Gt,
3341
+ QyTreeSelect: Jt,
3342
+ QySelectionDialog: Xt,
3343
+ QyLegacySelectionDialog: Yt,
3344
+ QyFormSection: ea,
3345
+ QyActionBar: ta,
3346
+ QyFilePicker: aa,
3347
+ QySwitch: oa,
3348
+ QyTag: la,
3349
+ QyBadge: na,
3350
+ QyCascader: ra,
3351
+ QyTooltip: ia,
3352
+ QyPopover: sa,
3353
+ QySkeleton: ua,
3354
+ QySkeletonItem: ca,
3355
+ QyTabs: da,
3356
+ QyTabPane: fa,
3357
+ QySteps: ma,
3358
+ QyStep: ya,
3359
+ QyFullscreen: pa,
3360
+ QyDrawer: Da,
3361
+ QyIcon: kt,
3362
+ QyIconPicker: Pa,
3363
+ QyRow: ga,
3364
+ QyCol: va,
3365
+ QyContainer: ha,
3366
+ QyAside: ba,
3367
+ QyMain: wa,
3368
+ QyDescriptions: Sa,
3369
+ QyDescriptionsItem: ka,
3370
+ QyCollapse: Qa,
3371
+ QyCollapseItem: xa,
3372
+ QyLink: $a,
3373
+ QyDivider: Ca,
3374
+ QyEmpty: Va,
3375
+ QyAlert: qa,
3376
+ QyCard: Ba,
3377
+ QyResult: Aa,
3378
+ QyScrollbar: Ia,
3379
+ QyProgress: Ra,
3380
+ QyStatistic: Ta,
3381
+ QyAvatar: za,
3382
+ QyTree: Fa,
3383
+ QyRemarkImage: Tt,
3384
+ QyLoading: Qt,
3385
+ vQyLoading: tl,
3386
+ openQyLoading: ll
3360
3387
  };
3361
3388
  export {
3362
- Ct as $,
3363
- va as A,
3364
- Kt as B,
3365
- Pt as C,
3366
- ra as D,
3367
- xa as E,
3368
- Ut as F,
3369
- Et as G,
3370
- Ht as H,
3371
- It as I,
3372
- jt as J,
3373
- ka as K,
3374
- Nt as L,
3375
- Zt as M,
3376
- Gt as N,
3377
- ia as O,
3378
- sa as P,
3379
- Yt as Q,
3380
- fa as R,
3381
- da as S,
3382
- ta as T,
3383
- ca as U,
3384
- _t as V,
3385
- ua as W,
3386
- aa as X,
3387
- na as Y,
3388
- $a as Z,
3389
- Wt as _,
3390
- wa as a,
3391
- Wn as a0,
3392
- ao as a1,
3393
- st as a2,
3394
- ut as a3,
3395
- Lt as b,
3396
- Qa as c,
3397
- la as d,
3398
- Tt as e,
3399
- Sa as f,
3400
- oa as g,
3401
- Mt as h,
3402
- Ot as i,
3403
- pa as j,
3404
- ga as k,
3405
- Dt as l,
3406
- ma as m,
3407
- ya as n,
3408
- At as o,
3409
- ha as p,
3410
- zt as q,
3411
- ba as r,
3412
- ea as s,
3413
- Jt as t,
3414
- Vt as u,
3415
- qt as v,
3416
- Bt as w,
3417
- Rt as x,
3418
- Ft as y,
3419
- Xt as z
3389
+ ya as $,
3390
+ Bt as A,
3391
+ At as B,
3392
+ It as C,
3393
+ Pt as D,
3394
+ Dt as E,
3395
+ Yt as F,
3396
+ $a as G,
3397
+ wa as H,
3398
+ Et as I,
3399
+ Mt as J,
3400
+ sa as K,
3401
+ Ra as L,
3402
+ Ut as M,
3403
+ Nt as N,
3404
+ Wt as O,
3405
+ Tt as P,
3406
+ ta as Q,
3407
+ Ht as R,
3408
+ Aa as S,
3409
+ ga as T,
3410
+ Ia as U,
3411
+ Zt as V,
3412
+ Gt as W,
3413
+ Xt as X,
3414
+ ua as Y,
3415
+ ca as Z,
3416
+ Ta as _,
3417
+ qa as a,
3418
+ ma as a0,
3419
+ oa as a1,
3420
+ fa as a2,
3421
+ jt as a3,
3422
+ da as a4,
3423
+ la as a5,
3424
+ ia as a6,
3425
+ Fa as a7,
3426
+ Jt as a8,
3427
+ qt as a9,
3428
+ Rr as aa,
3429
+ Vl as ab,
3430
+ st as ac,
3431
+ ut as ad,
3432
+ ba as b,
3433
+ Kt as c,
3434
+ za as d,
3435
+ na as e,
3436
+ zt as f,
3437
+ Ba as g,
3438
+ ra as h,
3439
+ _t as i,
3440
+ Lt as j,
3441
+ va as k,
3442
+ Qa as l,
3443
+ xa as m,
3444
+ ha as n,
3445
+ Ot as o,
3446
+ Sa as p,
3447
+ ka as q,
3448
+ Rt as r,
3449
+ Ca as s,
3450
+ Da as t,
3451
+ Ft as u,
3452
+ Va as v,
3453
+ aa as w,
3454
+ ea as x,
3455
+ pa as y,
3456
+ Pa as z
3420
3457
  };