@wfrog/vc-ui 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (301) hide show
  1. package/README.md +95 -0
  2. package/dist/es/chunk/-EkpfdcW.mjs +1100 -0
  3. package/dist/es/chunk/8rLUmOVR.mjs +29 -0
  4. package/dist/es/chunk/B-rxnVJv.mjs +3 -0
  5. package/dist/es/chunk/BAGoDD49.mjs +36 -0
  6. package/dist/es/chunk/BAtns-Mc.mjs +96 -0
  7. package/dist/es/chunk/BJS5Pdfp.mjs +55 -0
  8. package/dist/es/chunk/BMzd-IS6.mjs +900 -0
  9. package/dist/es/chunk/BWcCXRRK.mjs +229 -0
  10. package/dist/es/chunk/BX-Ogf7p.mjs +3743 -0
  11. package/dist/es/chunk/B_tU9Nax.mjs +49 -0
  12. package/dist/es/chunk/BdDihk0t.mjs +3420 -0
  13. package/dist/es/chunk/C2LgraHx.mjs +489 -0
  14. package/dist/es/chunk/C5hWsUfD.mjs +64 -0
  15. package/dist/es/chunk/C7iSSBUr.mjs +303 -0
  16. package/dist/es/chunk/CD98REcR.mjs +666 -0
  17. package/dist/es/chunk/CEClY-_T.mjs +445 -0
  18. package/dist/es/chunk/CEm0brzD.mjs +35 -0
  19. package/dist/es/chunk/CMABHk8B.mjs +1942 -0
  20. package/dist/es/chunk/CS4VKsqy.mjs +19 -0
  21. package/dist/es/chunk/CVlj9F0I.mjs +291 -0
  22. package/dist/es/chunk/CZ4ggqDE.mjs +140 -0
  23. package/dist/es/chunk/CaTfZePA.mjs +533 -0
  24. package/dist/es/chunk/Ce9ApjrT.mjs +201 -0
  25. package/dist/es/chunk/ClZGuAIb.mjs +10 -0
  26. package/dist/es/chunk/Coex0GxM.mjs +450 -0
  27. package/dist/es/chunk/Ct6q2FXg.mjs +5 -0
  28. package/dist/es/chunk/CyxEcbcy.mjs +29 -0
  29. package/dist/es/chunk/D389hx_T.mjs +35 -0
  30. package/dist/es/chunk/D3DXeVfC.mjs +1171 -0
  31. package/dist/es/chunk/D3uV7vm-.mjs +45 -0
  32. package/dist/es/chunk/D5259bwd.mjs +50 -0
  33. package/dist/es/chunk/DMHNh_tw.mjs +49 -0
  34. package/dist/es/chunk/DVNTpOBR.mjs +4 -0
  35. package/dist/es/chunk/DZACQ9LT.mjs +95 -0
  36. package/dist/es/chunk/De_EXLIy.mjs +22 -0
  37. package/dist/es/chunk/Dh4jaUSg.mjs +89 -0
  38. package/dist/es/chunk/DhhdKtyu.mjs +439 -0
  39. package/dist/es/chunk/DqUIKX7f.mjs +2039 -0
  40. package/dist/es/chunk/Dqz1zvKN.mjs +59 -0
  41. package/dist/es/chunk/Dvi7RsXg.mjs +727 -0
  42. package/dist/es/chunk/DyDMGLoF.mjs +123 -0
  43. package/dist/es/chunk/E_WRn0OP.mjs +449 -0
  44. package/dist/es/chunk/Fo0dZYnz.mjs +128 -0
  45. package/dist/es/chunk/HSv8BL8o.mjs +72 -0
  46. package/dist/es/chunk/JCIyOUEY.mjs +105 -0
  47. package/dist/es/chunk/O-uhUKF4.mjs +43 -0
  48. package/dist/es/chunk/Spa-JKB4.mjs +1046 -0
  49. package/dist/es/chunk/VAdRxe-1.mjs +16 -0
  50. package/dist/es/chunk/VCrtRnxt.mjs +1477 -0
  51. package/dist/es/chunk/ViP2SEY4.mjs +211 -0
  52. package/dist/es/chunk/aibQ9WSZ.mjs +249 -0
  53. package/dist/es/chunk/nWBcrYxV.mjs +690 -0
  54. package/dist/es/chunk/pcqpp-6-.mjs +9 -0
  55. package/dist/es/chunk/qY9OvNHY.mjs +283 -0
  56. package/dist/es/chunk/su2Zrql0.mjs +53 -0
  57. package/dist/es/chunk/zfg5SOj1.mjs +138 -0
  58. package/dist/es/components/awesome-icon/awesome-icon.d.ts +6 -0
  59. package/dist/es/components/awesome-icon/awesome-icon.mjs +41 -0
  60. package/dist/es/components/awesome-icon/awesome-icon.vue.d.ts +5 -0
  61. package/dist/es/components/awesome-icon/index.d.ts +4 -0
  62. package/dist/es/components/awesome-icon/index.mjs +6 -0
  63. package/dist/es/components/backbottom/backbottom.d.ts +7 -0
  64. package/dist/es/components/backbottom/backbottom.mjs +172 -0
  65. package/dist/es/components/backbottom/backbottom.vue.d.ts +7 -0
  66. package/dist/es/components/backbottom/components/child.vue.d.ts +30 -0
  67. package/dist/es/components/backbottom/index.d.ts +4 -0
  68. package/dist/es/components/backbottom/index.mjs +6 -0
  69. package/dist/es/components/button/button.d.ts +18 -0
  70. package/dist/es/components/button/button.mjs +313 -0
  71. package/dist/es/components/button/button.vue.d.ts +33 -0
  72. package/dist/es/components/button/index.css +9 -0
  73. package/dist/es/components/button/index.d.ts +4 -0
  74. package/dist/es/components/button/index.mjs +6 -0
  75. package/dist/es/components/cdn-tag.vue.d.ts +5 -0
  76. package/dist/es/components/chat-container/chat-container.d.ts +9 -0
  77. package/dist/es/components/chat-container/chat-container.mjs +77 -0
  78. package/dist/es/components/chat-container/chat-container.vue.d.ts +29 -0
  79. package/dist/es/components/chat-container/index.css +9 -0
  80. package/dist/es/components/chat-container/index.d.ts +4 -0
  81. package/dist/es/components/chat-container/index.mjs +6 -0
  82. package/dist/es/components/choice/choice.d.ts +6 -0
  83. package/dist/es/components/choice/choice.mjs +53 -0
  84. package/dist/es/components/choice/choice.vue.d.ts +5 -0
  85. package/dist/es/components/choice/index.css +7 -0
  86. package/dist/es/components/choice/index.d.ts +4 -0
  87. package/dist/es/components/choice/index.mjs +6 -0
  88. package/dist/es/components/choice-boolean/choice-boolean.d.ts +5 -0
  89. package/dist/es/components/choice-boolean/choice-boolean.mjs +32 -0
  90. package/dist/es/components/choice-boolean/choice-boolean.vue.d.ts +10 -0
  91. package/dist/es/components/choice-boolean/index.d.ts +4 -0
  92. package/dist/es/components/choice-boolean/index.mjs +6 -0
  93. package/dist/es/components/config-provider/config-provider.d.ts +16 -0
  94. package/dist/es/components/config-provider/config-provider.mjs +29 -0
  95. package/dist/es/components/config-provider/config-provider.vue.d.ts +18 -0
  96. package/dist/es/components/config-provider/config-provider2.mjs +6 -0
  97. package/dist/es/components/config-provider/index.d.ts +4 -0
  98. package/dist/es/components/config-provider/index.mjs +6 -0
  99. package/dist/es/components/cropper/cropper.d.ts +12 -0
  100. package/dist/es/components/cropper/cropper.mjs +333 -0
  101. package/dist/es/components/cropper/cropper.vue.d.ts +32 -0
  102. package/dist/es/components/cropper/index.css +4 -0
  103. package/dist/es/components/cropper/index.d.ts +4 -0
  104. package/dist/es/components/cropper/index.mjs +6 -0
  105. package/dist/es/components/currency/currency.d.ts +21 -0
  106. package/dist/es/components/currency/currency.mjs +185 -0
  107. package/dist/es/components/currency/currency.vue.d.ts +14 -0
  108. package/dist/es/components/currency/index.css +8 -0
  109. package/dist/es/components/currency/index.d.ts +4 -0
  110. package/dist/es/components/currency/index.mjs +6 -0
  111. package/dist/es/components/daterange-picker/daterange-picker.d.ts +6 -0
  112. package/dist/es/components/daterange-picker/daterange-picker.mjs +5550 -0
  113. package/dist/es/components/daterange-picker/daterange-picker.vue.d.ts +13 -0
  114. package/dist/es/components/daterange-picker/index.d.ts +4 -0
  115. package/dist/es/components/daterange-picker/index.mjs +6 -0
  116. package/dist/es/components/dialog/dialog.d.ts +13 -0
  117. package/dist/es/components/dialog/dialog.mjs +537 -0
  118. package/dist/es/components/dialog/dialog.vue.d.ts +38 -0
  119. package/dist/es/components/dialog/index.css +87 -0
  120. package/dist/es/components/dialog/index.d.ts +4 -0
  121. package/dist/es/components/dialog/index.mjs +6 -0
  122. package/dist/es/components/dialog-camera-upload/dialog-camera-upload.d.ts +33 -0
  123. package/dist/es/components/dialog-camera-upload/dialog-camera-upload.mjs +412 -0
  124. package/dist/es/components/dialog-camera-upload/dialog-camera-upload.vue.d.ts +23 -0
  125. package/dist/es/components/dialog-camera-upload/index.css +66 -0
  126. package/dist/es/components/dialog-camera-upload/index.d.ts +4 -0
  127. package/dist/es/components/dialog-camera-upload/index.mjs +6 -0
  128. package/dist/es/components/dialog-map-point/dialog-map-point.d.ts +9 -0
  129. package/dist/es/components/dialog-map-point/dialog-map-point.mjs +183 -0
  130. package/dist/es/components/dialog-map-point/dialog-map-point.vue.d.ts +22 -0
  131. package/dist/es/components/dialog-map-point/index.css +11 -0
  132. package/dist/es/components/dialog-map-point/index.d.ts +4 -0
  133. package/dist/es/components/dialog-map-point/index.mjs +6 -0
  134. package/dist/es/components/dialog-upload-images/dialog-upload-images.d.ts +16 -0
  135. package/dist/es/components/dialog-upload-images/dialog-upload-images.mjs +1391 -0
  136. package/dist/es/components/dialog-upload-images/dialog-upload-images.vue.d.ts +19 -0
  137. package/dist/es/components/dialog-upload-images/index.css +62 -0
  138. package/dist/es/components/dialog-upload-images/index.d.ts +4 -0
  139. package/dist/es/components/dialog-upload-images/index.mjs +6 -0
  140. package/dist/es/components/document.vue.d.ts +14 -0
  141. package/dist/es/components/drawer/drawer.d.ts +7 -0
  142. package/dist/es/components/drawer/drawer.mjs +412 -0
  143. package/dist/es/components/drawer/drawer.vue.d.ts +31 -0
  144. package/dist/es/components/drawer/index.css +56 -0
  145. package/dist/es/components/drawer/index.d.ts +4 -0
  146. package/dist/es/components/drawer/index.mjs +6 -0
  147. package/dist/es/components/easy-pagination/easy-pagination.d.ts +8 -0
  148. package/dist/es/components/easy-pagination/easy-pagination.mjs +74 -0
  149. package/dist/es/components/easy-pagination/easy-pagination.vue.d.ts +19 -0
  150. package/dist/es/components/easy-pagination/index.css +10 -0
  151. package/dist/es/components/easy-pagination/index.d.ts +4 -0
  152. package/dist/es/components/easy-pagination/index.mjs +6 -0
  153. package/dist/es/components/el-icon/el-icon.d.ts +6 -0
  154. package/dist/es/components/el-icon/el-icon.mjs +46 -0
  155. package/dist/es/components/el-icon/el-icon.vue.d.ts +6 -0
  156. package/dist/es/components/el-icon/index.css +7 -0
  157. package/dist/es/components/el-icon/index.d.ts +4 -0
  158. package/dist/es/components/el-icon/index.mjs +6 -0
  159. package/dist/es/components/example-wrapper.vue.d.ts +19 -0
  160. package/dist/es/components/flag/flag.mjs +44 -0
  161. package/dist/es/components/flag/flag.vue.d.ts +5 -0
  162. package/dist/es/components/flag/flags.d.ts +8 -0
  163. package/dist/es/components/flag/index.d.ts +4 -0
  164. package/dist/es/components/flag/index.mjs +6 -0
  165. package/dist/es/components/icon/icon.d.ts +6 -0
  166. package/dist/es/components/icon/icon.mjs +54 -0
  167. package/dist/es/components/icon/icon.vue.d.ts +3 -0
  168. package/dist/es/components/icon/icon2.mjs +27 -0
  169. package/dist/es/components/icon/index.css +9 -0
  170. package/dist/es/components/icon/index.d.ts +4 -0
  171. package/dist/es/components/icon/index.mjs +6 -0
  172. package/dist/es/components/image/image.d.ts +16 -0
  173. package/dist/es/components/image/image.mjs +167 -0
  174. package/dist/es/components/image/image.vue.d.ts +206 -0
  175. package/dist/es/components/image/index.css +20 -0
  176. package/dist/es/components/image/index.d.ts +4 -0
  177. package/dist/es/components/image/index.mjs +6 -0
  178. package/dist/es/components/input/index.css +9 -0
  179. package/dist/es/components/input/index.d.ts +4 -0
  180. package/dist/es/components/input/index.mjs +6 -0
  181. package/dist/es/components/input/input.d.ts +4 -0
  182. package/dist/es/components/input/input.mjs +85 -0
  183. package/dist/es/components/input/input.vue.d.ts +1232 -0
  184. package/dist/es/components/input-number/index.css +24 -0
  185. package/dist/es/components/input-number/index.d.ts +4 -0
  186. package/dist/es/components/input-number/index.mjs +6 -0
  187. package/dist/es/components/input-number/input-number.d.ts +8 -0
  188. package/dist/es/components/input-number/input-number.mjs +137 -0
  189. package/dist/es/components/input-number/input-number.vue.d.ts +35 -0
  190. package/dist/es/components/pca-picker/components/c.vue.d.ts +123 -0
  191. package/dist/es/components/pca-picker/components/elevator-item.vue.d.ts +7 -0
  192. package/dist/es/components/pca-picker/components/filter.vue.d.ts +2 -0
  193. package/dist/es/components/pca-picker/components/history.vue.d.ts +2 -0
  194. package/dist/es/components/pca-picker/components/hot.vue.d.ts +2 -0
  195. package/dist/es/components/pca-picker/components/p.vue.d.ts +2 -0
  196. package/dist/es/components/pca-picker/components/pca.vue.d.ts +9 -0
  197. package/dist/es/components/pca-picker/index.css +107 -0
  198. package/dist/es/components/pca-picker/index.d.ts +4 -0
  199. package/dist/es/components/pca-picker/index.mjs +6 -0
  200. package/dist/es/components/pca-picker/pca-picker.d.ts +78 -0
  201. package/dist/es/components/pca-picker/pca-picker.mjs +1667 -0
  202. package/dist/es/components/pca-picker/pca-picker.vue.d.ts +583 -0
  203. package/dist/es/components/qr-code/index.d.ts +4 -0
  204. package/dist/es/components/qr-code/index.mjs +6 -0
  205. package/dist/es/components/qr-code/qr-code.d.ts +9 -0
  206. package/dist/es/components/qr-code/qr-code.mjs +69 -0
  207. package/dist/es/components/qr-code/qr-code.vue.d.ts +13 -0
  208. package/dist/es/components/screenfull/index.css +14 -0
  209. package/dist/es/components/screenfull/index.d.ts +4 -0
  210. package/dist/es/components/screenfull/index.mjs +6 -0
  211. package/dist/es/components/screenfull/screenfull.d.ts +4 -0
  212. package/dist/es/components/screenfull/screenfull.mjs +91 -0
  213. package/dist/es/components/screenfull/screenfull.vue.d.ts +20 -0
  214. package/dist/es/components/select/index.css +9 -0
  215. package/dist/es/components/select/index.d.ts +4 -0
  216. package/dist/es/components/select/index.mjs +6 -0
  217. package/dist/es/components/select/select.d.ts +6 -0
  218. package/dist/es/components/select/select.mjs +63 -0
  219. package/dist/es/components/select/select.vue.d.ts +6 -0
  220. package/dist/es/components/single-player/index.css +45 -0
  221. package/dist/es/components/single-player/index.d.ts +4 -0
  222. package/dist/es/components/single-player/index.mjs +6 -0
  223. package/dist/es/components/single-player/single-player.d.ts +4 -0
  224. package/dist/es/components/single-player/single-player.mjs +1172 -0
  225. package/dist/es/components/single-player/single-player.vue.d.ts +13 -0
  226. package/dist/es/components/svg-icon/index.css +9 -0
  227. package/dist/es/components/svg-icon/index.d.ts +4 -0
  228. package/dist/es/components/svg-icon/index.mjs +6 -0
  229. package/dist/es/components/svg-icon/svg-icon.d.ts +5 -0
  230. package/dist/es/components/svg-icon/svg-icon.mjs +46 -0
  231. package/dist/es/components/svg-icon/svg-icon.vue.d.ts +18 -0
  232. package/dist/es/components/switch/index.css +15 -0
  233. package/dist/es/components/switch/index.d.ts +4 -0
  234. package/dist/es/components/switch/index.mjs +6 -0
  235. package/dist/es/components/switch/switch.d.ts +9 -0
  236. package/dist/es/components/switch/switch.mjs +82 -0
  237. package/dist/es/components/switch/switch.vue.d.ts +14 -0
  238. package/dist/es/components/sync-scroll-container/index.css +82 -0
  239. package/dist/es/components/sync-scroll-container/index.d.ts +4 -0
  240. package/dist/es/components/sync-scroll-container/index.mjs +6 -0
  241. package/dist/es/components/sync-scroll-container/sync-scroll-container.d.ts +6 -0
  242. package/dist/es/components/sync-scroll-container/sync-scroll-container.mjs +157 -0
  243. package/dist/es/components/sync-scroll-container/sync-scroll-container.vue.d.ts +36 -0
  244. package/dist/es/components/tags/index.css +17 -0
  245. package/dist/es/components/tags/index.d.ts +4 -0
  246. package/dist/es/components/tags/index.mjs +6 -0
  247. package/dist/es/components/tags/tags.d.ts +9 -0
  248. package/dist/es/components/tags/tags.mjs +296 -0
  249. package/dist/es/components/tags/tags.vue.d.ts +20 -0
  250. package/dist/es/components/text-ellipsis/index.css +15 -0
  251. package/dist/es/components/text-ellipsis/index.d.ts +4 -0
  252. package/dist/es/components/text-ellipsis/index.mjs +6 -0
  253. package/dist/es/components/text-ellipsis/text-ellipsis.d.ts +12 -0
  254. package/dist/es/components/text-ellipsis/text-ellipsis.mjs +137 -0
  255. package/dist/es/components/text-ellipsis/text-ellipsis.vue.d.ts +41 -0
  256. package/dist/es/components/thousand-input/index.css +4 -0
  257. package/dist/es/components/thousand-input/index.d.ts +4 -0
  258. package/dist/es/components/thousand-input/index.mjs +6 -0
  259. package/dist/es/components/thousand-input/thousand-input.d.ts +11 -0
  260. package/dist/es/components/thousand-input/thousand-input.mjs +159 -0
  261. package/dist/es/components/thousand-input/thousand-input.vue.d.ts +2558 -0
  262. package/dist/es/components/tinymce/config.d.ts +25 -0
  263. package/dist/es/components/tinymce/index.css +9 -0
  264. package/dist/es/components/tinymce/index.d.ts +4 -0
  265. package/dist/es/components/tinymce/index.mjs +6 -0
  266. package/dist/es/components/tinymce/tinymce.d.ts +9 -0
  267. package/dist/es/components/tinymce/tinymce.mjs +176 -0
  268. package/dist/es/components/tinymce/tinymce.vue.d.ts +20 -0
  269. package/dist/es/components/tree-picker/components/popover-cascader.d.ts +8 -0
  270. package/dist/es/components/tree-picker/components/popover-cascader.vue.d.ts +1361 -0
  271. package/dist/es/components/tree-picker/docs/data.d.ts +2 -0
  272. package/dist/es/components/tree-picker/index.css +41 -0
  273. package/dist/es/components/tree-picker/index.d.ts +4 -0
  274. package/dist/es/components/tree-picker/index.mjs +6 -0
  275. package/dist/es/components/tree-picker/popover-cascader.css +23 -0
  276. package/dist/es/components/tree-picker/tree-picker.d.ts +14 -0
  277. package/dist/es/components/tree-picker/tree-picker.mjs +173 -0
  278. package/dist/es/components/tree-picker/tree-picker.vue.d.ts +575 -0
  279. package/dist/es/components/upload-file/index.css +30 -0
  280. package/dist/es/components/upload-file/index.d.ts +4 -0
  281. package/dist/es/components/upload-file/index.mjs +6 -0
  282. package/dist/es/components/upload-file/upload-file.d.ts +39 -0
  283. package/dist/es/components/upload-file/upload-file.mjs +202 -0
  284. package/dist/es/components/upload-file/upload-file.vue.d.ts +30 -0
  285. package/dist/es/directives/cleave/index.d.ts +3 -0
  286. package/dist/es/directives/focus/index.d.ts +4 -0
  287. package/dist/es/directives/index.d.ts +3 -0
  288. package/dist/es/directives/thousand/index.d.ts +3 -0
  289. package/dist/es/index.d.ts +42 -0
  290. package/dist/es/index.mjs +122 -0
  291. package/dist/es/use/useSmallScreen/index.d.ts +4 -0
  292. package/dist/es/use/useSmallScreen/index.mjs +10 -0
  293. package/dist/es/use/useStore/index.d.ts +3 -0
  294. package/dist/es/use/useStore/index.mjs +22 -0
  295. package/dist/es/utils/index.d.ts +6 -0
  296. package/dist/es/utils/resolver.d.ts +3 -0
  297. package/dist/es/utils/resolver.mjs +24 -0
  298. package/dist/es/utils/typescript.d.ts +6 -0
  299. package/dist/global.d.ts +42 -0
  300. package/dist/index.css +869 -0
  301. package/package.json +58 -0
@@ -0,0 +1,333 @@
1
+ import './index.css'
2
+ import { c as buildProps, x as isBoolean, u as useNamespace } from '../../chunk/E_WRn0OP.mjs';
3
+ import { v as vLoading } from '../../chunk/CVlj9F0I.mjs';
4
+ import { E as ElSpace } from '../../chunk/Ce9ApjrT.mjs';
5
+ import { E as ElButton } from '../../chunk/VCrtRnxt.mjs';
6
+ import { defineComponent, computed, createElementBlock, openBlock, normalizeClass, unref, createBlock, createCommentVNode, renderSlot, withCtx, resolveDynamicComponent, ref, useTemplateRef, shallowRef, watch, nextTick, onMounted, onUnmounted, withDirectives, isRef, createElementVNode, normalizeStyle, createVNode, createTextVNode } from 'vue';
7
+ import { d as defaultWindow, i as index, f as file } from '../../chunk/BdDihk0t.mjs';
8
+ import { C as Component$1 } from '../dialog/dialog.mjs';
9
+ import { E as ElIcon } from '../../chunk/DMHNh_tw.mjs';
10
+ import { i as iconPropType } from '../icon/icon2.mjs';
11
+ import { _ as _export_sfc, w as withInstall } from '../../chunk/D389hx_T.mjs';
12
+ import { u as useGlobalConfig } from '../../chunk/Dh4jaUSg.mjs';
13
+ import { u as useDeprecated } from '../../chunk/VAdRxe-1.mjs';
14
+ import { d as debounce } from '../../chunk/ViP2SEY4.mjs';
15
+ import { _ as _export_sfc$1 } from '../../chunk/pcqpp-6-.mjs';
16
+
17
+ const linkProps = buildProps({
18
+ type: {
19
+ type: String,
20
+ values: ["primary", "success", "warning", "info", "danger", "default"],
21
+ default: void 0
22
+ },
23
+ underline: {
24
+ type: [Boolean, String],
25
+ values: [true, false, "always", "never", "hover"],
26
+ default: void 0
27
+ },
28
+ disabled: Boolean,
29
+ href: { type: String, default: "" },
30
+ target: {
31
+ type: String,
32
+ default: "_self"
33
+ },
34
+ icon: {
35
+ type: iconPropType
36
+ }
37
+ });
38
+ const linkEmits = {
39
+ click: (evt) => evt instanceof MouseEvent
40
+ };
41
+
42
+ const __default__ = defineComponent({
43
+ name: "ElLink"
44
+ });
45
+ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
46
+ ...__default__,
47
+ props: linkProps,
48
+ emits: linkEmits,
49
+ setup(__props, { emit }) {
50
+ const props = __props;
51
+ const globalConfig = useGlobalConfig("link");
52
+ useDeprecated({
53
+ scope: "el-link",
54
+ from: "The underline option (boolean)",
55
+ replacement: "'always' | 'hover' | 'never'",
56
+ version: "3.0.0",
57
+ ref: "https://element-plus.org/en-US/component/link.html#underline"
58
+ }, computed(() => isBoolean(props.underline)));
59
+ const ns = useNamespace("link");
60
+ const linkKls = computed(() => {
61
+ var _a, _b, _c;
62
+ return [
63
+ ns.b(),
64
+ ns.m((_c = (_b = props.type) != null ? _b : (_a = globalConfig.value) == null ? void 0 : _a.type) != null ? _c : "default"),
65
+ ns.is("disabled", props.disabled),
66
+ ns.is("underline", underline.value === "always"),
67
+ ns.is("hover-underline", underline.value === "hover" && !props.disabled)
68
+ ];
69
+ });
70
+ const underline = computed(() => {
71
+ var _a, _b, _c;
72
+ if (isBoolean(props.underline)) {
73
+ return props.underline ? "hover" : "never";
74
+ } else
75
+ return (_c = (_b = props.underline) != null ? _b : (_a = globalConfig.value) == null ? void 0 : _a.underline) != null ? _c : "hover";
76
+ });
77
+ function handleClick(event) {
78
+ if (!props.disabled)
79
+ emit("click", event);
80
+ }
81
+ return (_ctx, _cache) => {
82
+ return openBlock(), createElementBlock("a", {
83
+ class: normalizeClass(unref(linkKls)),
84
+ href: _ctx.disabled || !_ctx.href ? void 0 : _ctx.href,
85
+ target: _ctx.disabled || !_ctx.href ? void 0 : _ctx.target,
86
+ onClick: handleClick
87
+ }, [
88
+ _ctx.icon ? (openBlock(), createBlock(unref(ElIcon), { key: 0 }, {
89
+ default: withCtx(() => [
90
+ (openBlock(), createBlock(resolveDynamicComponent(_ctx.icon)))
91
+ ]),
92
+ _: 1
93
+ })) : createCommentVNode("v-if", true),
94
+ _ctx.$slots.default ? (openBlock(), createElementBlock("span", {
95
+ key: 1,
96
+ class: normalizeClass(unref(ns).e("inner"))
97
+ }, [
98
+ renderSlot(_ctx.$slots, "default")
99
+ ], 2)) : createCommentVNode("v-if", true),
100
+ _ctx.$slots.icon ? renderSlot(_ctx.$slots, "icon", { key: 2 }) : createCommentVNode("v-if", true)
101
+ ], 10, ["href", "target"]);
102
+ };
103
+ }
104
+ });
105
+ var Link = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__file", "link.vue"]]);
106
+
107
+ const ElLink = withInstall(Link);
108
+
109
+ const _sfc_main = /* @__PURE__ */ defineComponent({
110
+ __name: "cropper",
111
+ props: {
112
+ dialog: { type: Boolean, default: false },
113
+ visible: { type: Boolean, default: false },
114
+ image: { default: void 0 },
115
+ option: { default: () => ({}) },
116
+ imageSmoothingQuality: { default: "high" },
117
+ containerWidth: { default: "600px" },
118
+ containerHeight: { default: "450px" },
119
+ cropperWidth: { default: 400 },
120
+ cropperHeight: { default: 300 }
121
+ },
122
+ emits: ["init", "update:visible", "cancel", "finished"],
123
+ setup(__props, { expose: __expose, emit: __emit }) {
124
+ const props = __props;
125
+ const emits = __emit;
126
+ const loading = ref(false);
127
+ const workbenchRef = useTemplateRef("workbenchRef");
128
+ const cropperRef = shallowRef();
129
+ const downloadLink = ref("");
130
+ const isNeedInit = ref(false);
131
+ const dialogVisible = computed({
132
+ get: () => props.visible,
133
+ set: (val) => {
134
+ emits("update:visible", val);
135
+ }
136
+ });
137
+ const containerStyle = computed(() => ({
138
+ width: props.containerWidth,
139
+ height: props.containerHeight
140
+ }));
141
+ const dialogWidth = computed(() => `${Number.parseInt(props.containerWidth) + 40}px`);
142
+ const image = computed(() => {
143
+ if (typeof props.image === "string") {
144
+ const img = new Image();
145
+ img.src = props.image;
146
+ return img;
147
+ }
148
+ const file2 = props.image;
149
+ if (defaultWindow && file2?.size) {
150
+ const img = new Image();
151
+ const blob = defaultWindow.URL.createObjectURL(file2);
152
+ img.src = blob;
153
+ return img;
154
+ }
155
+ return props.image;
156
+ });
157
+ function handleDownload() {
158
+ if (!cropperRef.value || !props.dialog) {
159
+ return;
160
+ }
161
+ const canvas = cropperRef.value.getCroppedCanvas();
162
+ downloadLink.value = canvas?.toDataURL() || "";
163
+ }
164
+ async function init() {
165
+ if (!workbenchRef.value) {
166
+ return;
167
+ }
168
+ cropperRef.value?.destroy();
169
+ loading.value = true;
170
+ isNeedInit.value = false;
171
+ workbenchRef.value.childNodes.forEach((item) => workbenchRef.value?.removeChild(item));
172
+ workbenchRef.value.appendChild(image.value);
173
+ const Cropper = await index.loadCdnSingle("cropper");
174
+ cropperRef.value = new Cropper(image.value, {
175
+ dragMode: "move",
176
+ viewMode: 1,
177
+ aspectRatio: props.cropperWidth / props.cropperHeight,
178
+ // cropBoxResizable: true, // 是否可以改变crop框大小
179
+ toggleDragModeOnDblclick: false,
180
+ // 双击切换拖动模式
181
+ guides: true,
182
+ // 网格
183
+ // minContainerHeight: props.containerHeight,
184
+ cropmove: props.dialog ? debounce(handleDownload, 1e3) : () => {
185
+ },
186
+ ...props.option,
187
+ ready() {
188
+ loading.value = false;
189
+ handleDownload();
190
+ nextTick(() => emits("init"));
191
+ }
192
+ });
193
+ }
194
+ function handleCancle() {
195
+ if (loading.value) {
196
+ return;
197
+ }
198
+ dialogVisible.value = false;
199
+ emits("cancel");
200
+ }
201
+ function getCroppedCanvas() {
202
+ if (loading.value || !cropperRef.value) {
203
+ return;
204
+ }
205
+ return cropperRef.value.getCroppedCanvas({
206
+ width: props.cropperWidth,
207
+ height: props.cropperHeight,
208
+ imageSmoothingQuality: props.imageSmoothingQuality
209
+ });
210
+ }
211
+ function getBlobData() {
212
+ const canvas = getCroppedCanvas();
213
+ if (!canvas) {
214
+ return void 0;
215
+ }
216
+ return file.canvasToBlob(canvas);
217
+ }
218
+ function handleFinish() {
219
+ const canvas = getCroppedCanvas();
220
+ const blob = getBlobData();
221
+ dialogVisible.value = false;
222
+ emits("finished", canvas, blob);
223
+ }
224
+ watch(() => props.option, () => {
225
+ isNeedInit.value = true;
226
+ });
227
+ watch(image, () => {
228
+ isNeedInit.value = true;
229
+ });
230
+ watch(dialogVisible, () => {
231
+ props.visible && (!cropperRef.value || isNeedInit.value) && nextTick(() => init());
232
+ });
233
+ __expose({ instance: cropperRef, getCroppedCanvas, getBlobData });
234
+ onMounted(() => !props.dialog && init());
235
+ onUnmounted(() => cropperRef.value?.destroy());
236
+ return (_ctx, _cache) => {
237
+ const _component_ElButton = ElButton;
238
+ const _component_ElLink = ElLink;
239
+ const _component_ElSpace = ElSpace;
240
+ const _directive_loading = vLoading;
241
+ return __props.dialog ? (openBlock(), createBlock(Component$1, {
242
+ key: 0,
243
+ modelValue: unref(dialogVisible),
244
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(dialogVisible) ? dialogVisible.value = $event : null),
245
+ title: "图片裁剪",
246
+ width: unref(dialogWidth),
247
+ "append-to-body": "",
248
+ "close-on-click-modal": false,
249
+ "before-close": handleCancle,
250
+ "show-fullscreen": false,
251
+ lazy: false
252
+ }, {
253
+ footer: withCtx(() => [
254
+ createVNode(_component_ElSpace, null, {
255
+ default: withCtx(() => [
256
+ createVNode(_component_ElButton, {
257
+ loading: unref(loading),
258
+ onClick: handleCancle
259
+ }, {
260
+ default: withCtx(() => [..._cache[1] || (_cache[1] = [
261
+ createTextVNode("取消", -1)
262
+ ])]),
263
+ _: 1
264
+ }, 8, ["loading"]),
265
+ createVNode(_component_ElLink, {
266
+ href: unref(downloadLink),
267
+ download: "cropper.jpg",
268
+ underline: false
269
+ }, {
270
+ default: withCtx(() => [
271
+ createVNode(_component_ElButton, { type: "primary" }, {
272
+ default: withCtx(() => [..._cache[2] || (_cache[2] = [
273
+ createTextVNode("下载切片", -1)
274
+ ])]),
275
+ _: 1
276
+ })
277
+ ]),
278
+ _: 1
279
+ }, 8, ["href"]),
280
+ createVNode(_component_ElButton, {
281
+ loading: unref(loading),
282
+ type: "primary",
283
+ onClick: handleFinish
284
+ }, {
285
+ default: withCtx(() => [..._cache[3] || (_cache[3] = [
286
+ createTextVNode("确定", -1)
287
+ ])]),
288
+ _: 1
289
+ }, 8, ["loading"])
290
+ ]),
291
+ _: 1
292
+ })
293
+ ]),
294
+ default: withCtx(() => [
295
+ withDirectives(createElementVNode("div", {
296
+ ref_key: "workbenchRef",
297
+ ref: workbenchRef,
298
+ class: normalizeClass(_ctx.$style.workbench),
299
+ style: normalizeStyle(unref(containerStyle))
300
+ }, null, 6), [
301
+ [_directive_loading, unref(loading)]
302
+ ])
303
+ ]),
304
+ _: 1
305
+ }, 8, ["modelValue", "width"])) : withDirectives((openBlock(), createElementBlock("div", {
306
+ key: 1,
307
+ ref_key: "workbenchRef",
308
+ ref: workbenchRef,
309
+ class: normalizeClass(_ctx.$style.workbench),
310
+ style: normalizeStyle(unref(containerStyle))
311
+ }, null, 6)), [
312
+ [_directive_loading, unref(loading)]
313
+ ]);
314
+ };
315
+ }
316
+ });
317
+
318
+ /* unplugin-vue-components disabled */const workbench = "_workbench_ja7q1_1";
319
+ const style0 = {
320
+ workbench: workbench
321
+ };
322
+
323
+ const cssModules = {
324
+ "$style": style0
325
+ };
326
+ const Component = /* @__PURE__ */ _export_sfc$1(_sfc_main, [["__cssModules", cssModules]]);
327
+
328
+ const __vite_glob_0_7 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
329
+ __proto__: null,
330
+ default: Component
331
+ }, Symbol.toStringTag, { value: 'Module' }));
332
+
333
+ export { Component as C, __vite_glob_0_7 as _ };
@@ -0,0 +1,32 @@
1
+ import { default as ICropper } from 'cropperjs';
2
+ import { ICropperProps } from './cropper';
3
+ declare function getCroppedCanvas(): HTMLCanvasElement | undefined;
4
+ declare function getBlobData(): Blob | undefined;
5
+ declare const _default: import('vue').DefineComponent<ICropperProps, {
6
+ instance: globalThis.ShallowRef<ICropper | undefined>;
7
+ getCroppedCanvas: typeof getCroppedCanvas;
8
+ getBlobData: typeof getBlobData;
9
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
10
+ cancel: () => any;
11
+ init: () => any;
12
+ "update:visible": (value: boolean) => any;
13
+ finished: (canvas: HTMLCanvasElement, blob: Blob) => any;
14
+ }, string, import('vue').PublicProps, Readonly<ICropperProps> & Readonly<{
15
+ onCancel?: (() => any) | undefined;
16
+ onInit?: (() => any) | undefined;
17
+ "onUpdate:visible"?: ((value: boolean) => any) | undefined;
18
+ onFinished?: ((canvas: HTMLCanvasElement, blob: Blob) => any) | undefined;
19
+ }>, {
20
+ dialog: boolean;
21
+ option: ICropper.Options;
22
+ image: HTMLImageElement | string | File;
23
+ visible: boolean;
24
+ imageSmoothingQuality: ICropper.ImageSmoothingQuality;
25
+ containerWidth: string;
26
+ containerHeight: string;
27
+ cropperWidth: number;
28
+ cropperHeight: number;
29
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
30
+ workbenchRef: HTMLDivElement;
31
+ }, any>;
32
+ export default _default;
@@ -0,0 +1,4 @@
1
+ /* source: src/components/cropper/cropper.vue */
2
+ .el-link{--el-link-font-size:var(--el-font-size-base);--el-link-font-weight:var(--el-font-weight-primary);--el-link-text-color:var(--el-text-color-regular);--el-link-hover-text-color:var(--el-color-primary);--el-link-disabled-text-color:var(--el-text-color-placeholder);align-items:center;color:var(--el-link-text-color);cursor:pointer;display:inline-flex;flex-direction:row;font-size:var(--el-link-font-size);font-weight:var(--el-link-font-weight);justify-content:center;outline:none;padding:0;position:relative;text-decoration:none;vertical-align:middle}.el-link.is-hover-underline:hover:after{border-bottom:1px solid var(--el-link-hover-text-color);bottom:0;content:"";height:0;left:0;position:absolute;right:0}.el-link.is-underline:after{border-bottom:1px solid var(--el-link-text-color);bottom:0;content:"";height:0;left:0;position:absolute;right:0}.el-link:hover{color:var(--el-link-hover-text-color)}.el-link:hover:after{border-color:var(--el-link-hover-text-color)}.el-link [class*=el-icon-]+span{margin-left:5px}.el-link__inner{align-items:center;display:inline-flex;justify-content:center}.el-link.el-link--primary{--el-link-text-color:var(--el-color-primary);--el-link-hover-text-color:var(--el-color-primary-light-3);--el-link-disabled-text-color:var(--el-color-primary-light-5)}.el-link.el-link--success{--el-link-text-color:var(--el-color-success);--el-link-hover-text-color:var(--el-color-success-light-3);--el-link-disabled-text-color:var(--el-color-success-light-5)}.el-link.el-link--warning{--el-link-text-color:var(--el-color-warning);--el-link-hover-text-color:var(--el-color-warning-light-3);--el-link-disabled-text-color:var(--el-color-warning-light-5)}.el-link.el-link--danger{--el-link-text-color:var(--el-color-danger);--el-link-hover-text-color:var(--el-color-danger-light-3);--el-link-disabled-text-color:var(--el-color-danger-light-5)}.el-link.el-link--error{--el-link-text-color:var(--el-color-error);--el-link-hover-text-color:var(--el-color-error-light-3);--el-link-disabled-text-color:var(--el-color-error-light-5)}.el-link.el-link--info{--el-link-text-color:var(--el-color-info);--el-link-hover-text-color:var(--el-color-info-light-3);--el-link-disabled-text-color:var(--el-color-info-light-5)}.el-link.is-disabled{color:var(--el-link-disabled-text-color);cursor:not-allowed}.el-link.is-disabled:after{border-color:var(--el-link-disabled-text-color)}._workbench_ja7q1_1 {
3
+ overflow: hidden;
4
+ }
@@ -0,0 +1,4 @@
1
+ import { SFCWithInstall } from '../../utils/typescript';
2
+ import { default as Component } from './cropper.vue';
3
+ export declare const VcCropper: SFCWithInstall<typeof Component>;
4
+ export default VcCropper;
@@ -0,0 +1,6 @@
1
+ import { w as withInstall } from '../../chunk/ClZGuAIb.mjs';
2
+ import { C as Component } from './cropper.mjs';
3
+
4
+ const VcCropper = withInstall(Component);
5
+
6
+ export { VcCropper, VcCropper as default };
@@ -0,0 +1,21 @@
1
+ import { IFlag2Code, IFlag3Code } from '../flag/flags';
2
+ export type ICurrencyCode = 'CNY' | 'USD' | 'JPY' | 'EUR' | 'TWD' | 'KRW';
3
+ export interface ICurrencyInfo {
4
+ code: ICurrencyCode;
5
+ flag: IFlag3Code | IFlag2Code;
6
+ option: {
7
+ prefix: string;
8
+ decimalScale: number;
9
+ integerScale: number;
10
+ };
11
+ }
12
+ export interface ICurrencyProps {
13
+ modelValue: string;
14
+ code: ICurrencyCode | ICurrencyCode[];
15
+ flag?: boolean;
16
+ prefix?: boolean;
17
+ prepend?: boolean;
18
+ append?: boolean;
19
+ }
20
+ declare const data: ICurrencyInfo[];
21
+ export default data;
@@ -0,0 +1,185 @@
1
+ import './index.css'
2
+ import '../../chunk/E_WRn0OP.mjs';
3
+ import '../../chunk/CZ4ggqDE.mjs';
4
+ import { E as ElSelect, a as ElOption } from '../../chunk/CMABHk8B.mjs';
5
+ import '../../chunk/CaTfZePA.mjs';
6
+ import '../../chunk/DqUIKX7f.mjs';
7
+ import { defineComponent, computed, ref, onBeforeMount, createBlock, openBlock, mergeProps, unref, isRef, createSlots, withCtx, createElementBlock, normalizeStyle, Fragment, renderList, createCommentVNode, createTextVNode, normalizeClass, toDisplayString } from 'vue';
8
+ import { _ as _sfc_main$1 } from '../flag/flag.mjs';
9
+ import { C as Component$1 } from '../thousand-input/thousand-input.mjs';
10
+ import { u as useVModel } from '../../chunk/CD98REcR.mjs';
11
+ import { _ as _export_sfc } from '../../chunk/pcqpp-6-.mjs';
12
+
13
+ const data = [
14
+ {
15
+ code: "CNY",
16
+ flag: "CHN",
17
+ option: { prefix: "¥", decimalScale: 2, integerScale: 20 }
18
+ },
19
+ {
20
+ code: "USD",
21
+ flag: "USA",
22
+ option: { prefix: "$", decimalScale: 2, integerScale: 20 }
23
+ },
24
+ {
25
+ code: "JPY",
26
+ flag: "JPN",
27
+ option: { prefix: "¥", decimalScale: 0, integerScale: 20 }
28
+ },
29
+ {
30
+ code: "EUR",
31
+ flag: "EU",
32
+ option: { prefix: "€", decimalScale: 2, integerScale: 20 }
33
+ },
34
+ {
35
+ code: "TWD",
36
+ flag: "CHN",
37
+ option: { prefix: "NT$", decimalScale: 0, integerScale: 20 }
38
+ },
39
+ {
40
+ code: "KRW",
41
+ flag: "KOR",
42
+ option: { prefix: "₩", decimalScale: 0, integerScale: 20 }
43
+ }
44
+ ];
45
+
46
+ const _hoisted_1 = { key: 0 };
47
+ const _hoisted_2 = { key: 1 };
48
+ const _sfc_main = /* @__PURE__ */ defineComponent({
49
+ __name: "currency",
50
+ props: {
51
+ modelValue: {},
52
+ code: {},
53
+ flag: { type: Boolean, default: false },
54
+ prefix: { type: Boolean, default: true },
55
+ prepend: { type: Boolean, default: true },
56
+ append: { type: Boolean, default: false }
57
+ },
58
+ emits: ["update:modelValue", "change"],
59
+ setup(__props, { emit: __emit }) {
60
+ const props = __props;
61
+ const emits = __emit;
62
+ const myValue = useVModel(props, "modelValue", emits);
63
+ const selectStyle = computed(() => ({ width: props.flag ? "7.5em" : "6em" }));
64
+ const formatValue = ref("");
65
+ const myCode = ref();
66
+ const myCurrencyInfo = computed(() => data.find((item) => item.code === myCode.value));
67
+ const thousandOption = computed(() => ({
68
+ ...myCurrencyInfo.value?.option,
69
+ prefix: props.prefix ? myCurrencyInfo.value?.option.prefix : "",
70
+ elInputIndex: Array.isArray(props.code) ? 1 : 0
71
+ }));
72
+ const currencyInfo = computed(() => {
73
+ if (Array.isArray(props.code)) {
74
+ return data.filter((item) => props.code.includes(item.code));
75
+ }
76
+ return data.find((item) => item.code === props.code);
77
+ });
78
+ function handleChange(val) {
79
+ emits("change", [...val, myCode.value]);
80
+ }
81
+ function handleCodeChange() {
82
+ handleChange([myValue.value, formatValue.value]);
83
+ }
84
+ onBeforeMount(() => {
85
+ if (Array.isArray(currencyInfo.value) && currencyInfo.value.length > 0) {
86
+ myCode.value = currencyInfo.value[0].code;
87
+ } else if (!Array.isArray(currencyInfo.value)) {
88
+ myCode.value = currencyInfo.value?.code;
89
+ }
90
+ });
91
+ return (_ctx, _cache) => {
92
+ const _component_ElOption = ElOption;
93
+ const _component_ElSelect = ElSelect;
94
+ return openBlock(), createBlock(Component$1, mergeProps({
95
+ modelValue: unref(myValue),
96
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(myValue) ? myValue.value = $event : null),
97
+ "format-value": unref(formatValue),
98
+ "onUpdate:formatValue": _cache[2] || (_cache[2] = ($event) => isRef(formatValue) ? formatValue.value = $event : null),
99
+ options: unref(thousandOption)
100
+ }, _ctx.$attrs, {
101
+ class: { [_ctx.$style.append]: __props.append, [_ctx.$style.prepend]: __props.prepend },
102
+ onChange: handleChange
103
+ }), createSlots({ _: 2 }, [
104
+ __props.prepend ? {
105
+ name: "prepend",
106
+ fn: withCtx(() => [
107
+ Array.isArray(unref(currencyInfo)) ? (openBlock(), createBlock(_component_ElSelect, {
108
+ key: 0,
109
+ modelValue: unref(myCode),
110
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(myCode) ? myCode.value = $event : null),
111
+ style: normalizeStyle(unref(selectStyle)),
112
+ onChange: handleCodeChange
113
+ }, createSlots({
114
+ default: withCtx(() => [
115
+ (openBlock(true), createElementBlock(Fragment, null, renderList(unref(currencyInfo), (item) => {
116
+ return openBlock(), createBlock(_component_ElOption, {
117
+ key: item.code,
118
+ value: item.code
119
+ }, {
120
+ default: withCtx(() => [
121
+ __props.flag ? (openBlock(), createBlock(_sfc_main$1, {
122
+ key: 0,
123
+ code: item.flag,
124
+ class: normalizeClass(_ctx.$style.flag)
125
+ }, null, 8, ["code", "class"])) : createCommentVNode("", true),
126
+ createTextVNode(toDisplayString(item.code), 1)
127
+ ]),
128
+ _: 2
129
+ }, 1032, ["value"]);
130
+ }), 128))
131
+ ]),
132
+ _: 2
133
+ }, [
134
+ __props.flag ? {
135
+ name: "prefix",
136
+ fn: withCtx(() => [
137
+ unref(myCurrencyInfo) ? (openBlock(), createBlock(_sfc_main$1, {
138
+ key: 0,
139
+ code: unref(myCurrencyInfo)?.flag
140
+ }, null, 8, ["code"])) : createCommentVNode("", true)
141
+ ]),
142
+ key: "0"
143
+ } : void 0
144
+ ]), 1032, ["modelValue", "style"])) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
145
+ __props.flag ? (openBlock(), createBlock(_sfc_main$1, {
146
+ key: 0,
147
+ code: unref(currencyInfo).flag,
148
+ class: normalizeClass(_ctx.$style.flag)
149
+ }, null, 8, ["code", "class"])) : createCommentVNode("", true),
150
+ createTextVNode(toDisplayString(unref(currencyInfo).code), 1)
151
+ ], 64))
152
+ ]),
153
+ key: "0"
154
+ } : void 0,
155
+ __props.append ? {
156
+ name: "append",
157
+ fn: withCtx(() => [
158
+ Array.isArray(unref(currencyInfo)) ? (openBlock(), createElementBlock("span", _hoisted_1, toDisplayString(unref(myCurrencyInfo).code), 1)) : (openBlock(), createElementBlock("span", _hoisted_2, toDisplayString(unref(currencyInfo).code), 1))
159
+ ]),
160
+ key: "1"
161
+ } : void 0
162
+ ]), 1040, ["modelValue", "format-value", "options", "class"]);
163
+ };
164
+ }
165
+ });
166
+
167
+ /* unplugin-vue-components disabled */const append = "_append_vkceh_1";
168
+ const flag = "_flag_vkceh_6";
169
+ const style0 = {
170
+ append: append,
171
+ "el-input__wrapper": "_el-input__wrapper_vkceh_1",
172
+ flag: flag
173
+ };
174
+
175
+ const cssModules = {
176
+ "$style": style0
177
+ };
178
+ const Component = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules]]);
179
+
180
+ const __vite_glob_0_8 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
181
+ __proto__: null,
182
+ default: Component
183
+ }, Symbol.toStringTag, { value: 'Module' }));
184
+
185
+ export { Component as C, __vite_glob_0_8 as _ };
@@ -0,0 +1,14 @@
1
+ import { ICurrencyCode, ICurrencyProps } from './currency';
2
+ declare const _default: import('vue').DefineComponent<ICurrencyProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
3
+ change: (value: [string, string, ICurrencyCode]) => any;
4
+ "update:modelValue": (value: string) => any;
5
+ }, string, import('vue').PublicProps, Readonly<ICurrencyProps> & Readonly<{
6
+ onChange?: ((value: [string, string, ICurrencyCode]) => any) | undefined;
7
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
8
+ }>, {
9
+ flag: boolean;
10
+ prefix: boolean;
11
+ prepend: boolean;
12
+ append: boolean;
13
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
14
+ export default _default;
@@ -0,0 +1,8 @@
1
+ /* source: src/components/currency/currency.vue */
2
+ ._append_vkceh_1 ._el-input__wrapper_vkceh_1 {
3
+ border-top-right-radius: 0;
4
+ border-bottom-right-radius: 0;
5
+ }
6
+ ._flag_vkceh_6 {
7
+ margin-right: 8px;
8
+ }
@@ -0,0 +1,4 @@
1
+ import { SFCWithInstall } from '../../utils/typescript';
2
+ import { default as Component } from './currency.vue';
3
+ export declare const VcCurrency: SFCWithInstall<typeof Component>;
4
+ export default VcCurrency;
@@ -0,0 +1,6 @@
1
+ import { w as withInstall } from '../../chunk/ClZGuAIb.mjs';
2
+ import { C as Component } from './currency.mjs';
3
+
4
+ const VcCurrency = withInstall(Component);
5
+
6
+ export { VcCurrency, VcCurrency as default };
@@ -0,0 +1,6 @@
1
+ export interface IDateRangePickerProps {
2
+ modelValue: string[];
3
+ valueFormat?: string;
4
+ limitDays?: number;
5
+ includeToday?: boolean;
6
+ }