qidian-vue-ui 1.1.22 → 1.1.23

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 (578) hide show
  1. package/dist/_virtual/_commonjsHelpers.mjs +7 -0
  2. package/dist/_virtual/_commonjsHelpers.mjs.map +1 -0
  3. package/dist/_virtual/_plugin-vue_export-helper.mjs +11 -0
  4. package/dist/_virtual/_plugin-vue_export-helper.mjs.map +1 -0
  5. package/dist/_virtual/dayjs.min.mjs +8 -0
  6. package/dist/_virtual/dayjs.min.mjs.map +1 -0
  7. package/dist/_virtual/dayjs.min2.mjs +5 -0
  8. package/dist/_virtual/dayjs.min2.mjs.map +1 -0
  9. package/dist/components/auto-tooltip/index.d.ts +2 -0
  10. package/dist/components/auto-tooltip/index.vue.d.ts +25 -0
  11. package/dist/components/auto-tooltip/index.vue.mjs +8 -0
  12. package/dist/components/auto-tooltip/index.vue.mjs.map +1 -0
  13. package/dist/components/auto-tooltip/index.vue2.mjs +81 -0
  14. package/dist/components/auto-tooltip/index.vue2.mjs.map +1 -0
  15. package/dist/components/auto-tooltip/types.d.ts +9 -0
  16. package/dist/components/avatar/index.d.ts +2 -0
  17. package/dist/components/avatar/index.vue.d.ts +17 -0
  18. package/dist/components/avatar/index.vue.mjs +8 -0
  19. package/dist/components/avatar/index.vue.mjs.map +1 -0
  20. package/dist/components/avatar/index.vue2.mjs +119 -0
  21. package/dist/components/avatar/index.vue2.mjs.map +1 -0
  22. package/dist/components/avatar/props.d.ts +8 -0
  23. package/dist/components/avatar/props.mjs +15 -0
  24. package/dist/components/avatar/props.mjs.map +1 -0
  25. package/dist/components/avatar/types.d.ts +9 -0
  26. package/dist/components/card/index.d.ts +2 -0
  27. package/dist/components/card/index.vue.d.ts +15 -0
  28. package/dist/components/card/index.vue.mjs +8 -0
  29. package/dist/components/card/index.vue.mjs.map +1 -0
  30. package/dist/components/card/index.vue2.mjs +89 -0
  31. package/dist/components/card/index.vue2.mjs.map +1 -0
  32. package/dist/components/card/props.d.ts +3 -0
  33. package/dist/components/card/props.mjs +7 -0
  34. package/dist/components/card/props.mjs.map +1 -0
  35. package/dist/components/card/types.d.ts +4 -0
  36. package/dist/components/config-provider/config.d.ts +8 -0
  37. package/dist/components/config-provider/config.mjs +15 -0
  38. package/dist/components/config-provider/config.mjs.map +1 -0
  39. package/dist/components/config-provider/index.d.ts +217 -0
  40. package/dist/components/config-provider/index.mjs +98 -0
  41. package/dist/components/config-provider/index.mjs.map +1 -0
  42. package/dist/components/config-provider/types.d.ts +82 -0
  43. package/dist/components/config-provider/useConfig.d.ts +241 -0
  44. package/dist/components/config-provider/useConfig.mjs +26 -0
  45. package/dist/components/config-provider/useConfig.mjs.map +1 -0
  46. package/dist/components/config-renderer/compute.d.ts +8 -0
  47. package/dist/components/config-renderer/compute.mjs +68 -0
  48. package/dist/components/config-renderer/compute.mjs.map +1 -0
  49. package/dist/components/config-renderer/index.d.ts +4 -0
  50. package/dist/components/config-renderer/index.vue.d.ts +7 -0
  51. package/dist/components/config-renderer/index.vue.mjs +126 -0
  52. package/dist/components/config-renderer/index.vue.mjs.map +1 -0
  53. package/dist/components/config-renderer/index.vue2.mjs +5 -0
  54. package/dist/components/config-renderer/index.vue2.mjs.map +1 -0
  55. package/dist/components/config-renderer/types.d.ts +39 -0
  56. package/dist/components/config-renderer/utils.d.ts +15 -0
  57. package/dist/components/config-renderer/utils.mjs +49 -0
  58. package/dist/components/config-renderer/utils.mjs.map +1 -0
  59. package/dist/components/crud/define.d.ts +5 -0
  60. package/dist/components/crud/define.mjs +11 -0
  61. package/dist/components/crud/define.mjs.map +1 -0
  62. package/dist/components/crud/index.d.ts +5 -0
  63. package/dist/components/crud/list.vue.d.ts +29 -0
  64. package/dist/components/crud/list.vue.mjs +8 -0
  65. package/dist/components/crud/list.vue.mjs.map +1 -0
  66. package/dist/components/crud/list.vue2.mjs +199 -0
  67. package/dist/components/crud/list.vue2.mjs.map +1 -0
  68. package/dist/components/crud/props.d.ts +70 -0
  69. package/dist/components/crud/props.mjs +37 -0
  70. package/dist/components/crud/props.mjs.map +1 -0
  71. package/dist/components/crud/search.vue.d.ts +44 -0
  72. package/dist/components/crud/search.vue.mjs +8 -0
  73. package/dist/components/crud/search.vue.mjs.map +1 -0
  74. package/dist/components/crud/search.vue2.mjs +98 -0
  75. package/dist/components/crud/search.vue2.mjs.map +1 -0
  76. package/dist/components/crud/table.vue.d.ts +35 -0
  77. package/dist/components/crud/table.vue.mjs +8 -0
  78. package/dist/components/crud/table.vue.mjs.map +1 -0
  79. package/dist/components/crud/table.vue2.mjs +1041 -0
  80. package/dist/components/crud/table.vue2.mjs.map +1 -0
  81. package/dist/components/crud/types.d.ts +70 -0
  82. package/dist/components/dialog/form.vue.d.ts +22 -0
  83. package/dist/components/dialog/form.vue.mjs +175 -0
  84. package/dist/components/dialog/form.vue.mjs.map +1 -0
  85. package/dist/components/dialog/form.vue2.mjs +5 -0
  86. package/dist/components/dialog/form.vue2.mjs.map +1 -0
  87. package/dist/components/dialog/index.d.ts +3 -0
  88. package/dist/components/dialog/index.vue.d.ts +35 -0
  89. package/dist/components/dialog/index.vue.mjs +111 -0
  90. package/dist/components/dialog/index.vue.mjs.map +1 -0
  91. package/dist/components/dialog/index.vue3.mjs +6 -0
  92. package/dist/components/dialog/index.vue3.mjs.map +1 -0
  93. package/dist/components/dialog/props.d.ts +58 -0
  94. package/dist/components/dialog/props.mjs +26 -0
  95. package/dist/components/dialog/props.mjs.map +1 -0
  96. package/dist/components/dialog/types.d.ts +18 -0
  97. package/dist/components/dict/checkbox-group.vue.d.ts +15 -0
  98. package/dist/components/dict/checkbox-group.vue.mjs +8 -0
  99. package/dist/components/dict/checkbox-group.vue.mjs.map +1 -0
  100. package/dist/components/dict/checkbox-group.vue2.mjs +78 -0
  101. package/dist/components/dict/checkbox-group.vue2.mjs.map +1 -0
  102. package/dist/components/dict/index.d.ts +5 -0
  103. package/dist/components/dict/props.d.ts +32 -0
  104. package/dist/components/dict/props.mjs +40 -0
  105. package/dist/components/dict/props.mjs.map +1 -0
  106. package/dist/components/dict/radio-group.vue.d.ts +13 -0
  107. package/dist/components/dict/radio-group.vue.mjs +8 -0
  108. package/dist/components/dict/radio-group.vue.mjs.map +1 -0
  109. package/dist/components/dict/radio-group.vue2.mjs +60 -0
  110. package/dist/components/dict/radio-group.vue2.mjs.map +1 -0
  111. package/dist/components/dict/select.vue.d.ts +31 -0
  112. package/dist/components/dict/select.vue.mjs +166 -0
  113. package/dist/components/dict/select.vue.mjs.map +1 -0
  114. package/dist/components/dict/select.vue2.mjs +5 -0
  115. package/dist/components/dict/select.vue2.mjs.map +1 -0
  116. package/dist/components/dict/tag.vue.d.ts +40 -0
  117. package/dist/components/dict/tag.vue.mjs +8 -0
  118. package/dist/components/dict/tag.vue.mjs.map +1 -0
  119. package/dist/components/dict/tag.vue2.mjs +98 -0
  120. package/dist/components/dict/tag.vue2.mjs.map +1 -0
  121. package/dist/components/dict/types.d.ts +22 -0
  122. package/dist/components/form/config.d.ts +3 -0
  123. package/dist/components/form/config.mjs +5 -0
  124. package/dist/components/form/config.mjs.map +1 -0
  125. package/dist/components/form/index.d.ts +5 -0
  126. package/dist/components/form/index.vue.d.ts +30 -0
  127. package/dist/components/form/index.vue.mjs +187 -0
  128. package/dist/components/form/index.vue.mjs.map +1 -0
  129. package/dist/components/form/index.vue2.mjs +5 -0
  130. package/dist/components/form/index.vue2.mjs.map +1 -0
  131. package/dist/components/form/item.vue.d.ts +23 -0
  132. package/dist/components/form/item.vue.mjs +8 -0
  133. package/dist/components/form/item.vue.mjs.map +1 -0
  134. package/dist/components/form/item.vue2.mjs +106 -0
  135. package/dist/components/form/item.vue2.mjs.map +1 -0
  136. package/dist/components/form/props.d.ts +45 -0
  137. package/dist/components/form/props.mjs +43 -0
  138. package/dist/components/form/props.mjs.map +1 -0
  139. package/dist/components/form/types.d.ts +26 -0
  140. package/dist/components/grid/config.d.ts +15 -0
  141. package/dist/components/grid/config.mjs +27 -0
  142. package/dist/components/grid/config.mjs.map +1 -0
  143. package/dist/components/grid/index.d.ts +4 -0
  144. package/dist/components/grid/index.vue.d.ts +19 -0
  145. package/dist/components/grid/index.vue.mjs +8 -0
  146. package/dist/components/grid/index.vue.mjs.map +1 -0
  147. package/dist/components/grid/index.vue2.mjs +58 -0
  148. package/dist/components/grid/index.vue2.mjs.map +1 -0
  149. package/dist/components/grid/item.vue.d.ts +18 -0
  150. package/dist/components/grid/item.vue.mjs +8 -0
  151. package/dist/components/grid/item.vue.mjs.map +1 -0
  152. package/dist/components/grid/item.vue2.mjs +73 -0
  153. package/dist/components/grid/item.vue2.mjs.map +1 -0
  154. package/dist/components/grid/types.d.ts +12 -0
  155. package/dist/components/image/index.d.ts +2 -0
  156. package/dist/components/image/index.vue.d.ts +14 -0
  157. package/dist/components/image/index.vue.mjs +117 -0
  158. package/dist/components/image/index.vue.mjs.map +1 -0
  159. package/dist/components/image/index.vue2.mjs +5 -0
  160. package/dist/components/image/index.vue2.mjs.map +1 -0
  161. package/dist/components/image/props.d.ts +6 -0
  162. package/dist/components/image/props.mjs +12 -0
  163. package/dist/components/image/props.mjs.map +1 -0
  164. package/dist/components/image/types.d.ts +6 -0
  165. package/dist/components/index.d.ts +15 -0
  166. package/dist/components/office/index.d.ts +1 -0
  167. package/dist/components/office/pdf/config.d.ts +6 -0
  168. package/dist/components/office/pdf/config.mjs +9 -0
  169. package/dist/components/office/pdf/config.mjs.map +1 -0
  170. package/dist/components/office/pdf/hooks/useZoom.d.ts +21 -0
  171. package/dist/components/office/pdf/hooks/useZoom.mjs +200 -0
  172. package/dist/components/office/pdf/hooks/useZoom.mjs.map +1 -0
  173. package/dist/components/office/pdf/index.d.ts +2 -0
  174. package/dist/components/office/pdf/index.vue.d.ts +11 -0
  175. package/dist/components/office/pdf/index.vue.mjs +8 -0
  176. package/dist/components/office/pdf/index.vue.mjs.map +1 -0
  177. package/dist/components/office/pdf/index.vue2.mjs +322 -0
  178. package/dist/components/office/pdf/index.vue2.mjs.map +1 -0
  179. package/dist/components/office/pdf/types.d.ts +17 -0
  180. package/dist/components/org/index.d.ts +2 -0
  181. package/dist/components/org/select/index.vue.d.ts +28 -0
  182. package/dist/components/org/select/index.vue.mjs +273 -0
  183. package/dist/components/org/select/index.vue.mjs.map +1 -0
  184. package/dist/components/org/select/index.vue3.mjs +6 -0
  185. package/dist/components/org/select/index.vue3.mjs.map +1 -0
  186. package/dist/components/org/select/props.d.ts +22 -0
  187. package/dist/components/org/select/props.mjs +19 -0
  188. package/dist/components/org/select/props.mjs.map +1 -0
  189. package/dist/components/org/select/types.d.ts +22 -0
  190. package/dist/components/service/index.d.ts +4 -0
  191. package/dist/components/service/list.vue.d.ts +26 -0
  192. package/dist/components/service/list.vue.mjs +8 -0
  193. package/dist/components/service/list.vue.mjs.map +1 -0
  194. package/dist/components/service/list.vue2.mjs +251 -0
  195. package/dist/components/service/list.vue2.mjs.map +1 -0
  196. package/dist/components/service/props.d.ts +58 -0
  197. package/dist/components/service/props.mjs +66 -0
  198. package/dist/components/service/props.mjs.map +1 -0
  199. package/dist/components/service/select.vue.d.ts +30 -0
  200. package/dist/components/service/select.vue.mjs +8 -0
  201. package/dist/components/service/select.vue.mjs.map +1 -0
  202. package/dist/components/service/select.vue2.mjs +407 -0
  203. package/dist/components/service/select.vue2.mjs.map +1 -0
  204. package/dist/components/service/table.vue.d.ts +29 -0
  205. package/dist/components/service/table.vue.mjs +8 -0
  206. package/dist/components/service/table.vue.mjs.map +1 -0
  207. package/dist/components/service/table.vue2.mjs +693 -0
  208. package/dist/components/service/table.vue2.mjs.map +1 -0
  209. package/dist/components/service/types.d.ts +44 -0
  210. package/dist/components/upload/config.d.ts +4 -0
  211. package/dist/components/upload/config.mjs +37 -0
  212. package/dist/components/upload/config.mjs.map +1 -0
  213. package/dist/components/upload/index.d.ts +3 -0
  214. package/dist/components/upload/index.vue.d.ts +21 -0
  215. package/dist/components/upload/index.vue.mjs +8 -0
  216. package/dist/components/upload/index.vue.mjs.map +1 -0
  217. package/dist/components/upload/index.vue2.mjs +526 -0
  218. package/dist/components/upload/index.vue2.mjs.map +1 -0
  219. package/dist/components/upload/props.d.ts +27 -0
  220. package/dist/components/upload/props.mjs +32 -0
  221. package/dist/components/upload/props.mjs.map +1 -0
  222. package/dist/components/upload/types.d.ts +43 -0
  223. package/dist/directive/hasPermi.d.ts +12 -0
  224. package/dist/directive/hasPermi.mjs +33 -0
  225. package/dist/directive/hasPermi.mjs.map +1 -0
  226. package/dist/directive/hasRole.d.ts +12 -0
  227. package/dist/directive/hasRole.mjs +33 -0
  228. package/dist/directive/hasRole.mjs.map +1 -0
  229. package/dist/directive/index.d.ts +2 -0
  230. package/dist/hooks/index.d.ts +6 -0
  231. package/dist/hooks/useAgentChat/index.d.ts +15 -0
  232. package/dist/hooks/useAgentChat/index.mjs +202 -0
  233. package/dist/hooks/useAgentChat/index.mjs.map +1 -0
  234. package/dist/hooks/useAgentChat/types.d.ts +46 -0
  235. package/dist/hooks/useDict/index.d.ts +18 -0
  236. package/dist/hooks/useDict/index.mjs +137 -0
  237. package/dist/hooks/useDict/index.mjs.map +1 -0
  238. package/dist/hooks/useDict/types.d.ts +13 -0
  239. package/dist/hooks/useDisabled.d.ts +5 -0
  240. package/dist/hooks/useDisabled.mjs +18 -0
  241. package/dist/hooks/useDisabled.mjs.map +1 -0
  242. package/dist/hooks/useModal.d.ts +35 -0
  243. package/dist/hooks/useModal.mjs +179 -0
  244. package/dist/hooks/useModal.mjs.map +1 -0
  245. package/dist/hooks/useReadonly.d.ts +5 -0
  246. package/dist/hooks/useReadonly.mjs +18 -0
  247. package/dist/hooks/useReadonly.mjs.map +1 -0
  248. package/dist/hooks/useUserAvatar/index.d.ts +5 -0
  249. package/dist/hooks/useUserAvatar/index.mjs +38 -0
  250. package/dist/hooks/useUserAvatar/index.mjs.map +1 -0
  251. package/dist/hooks/useUserAvatar/types.d.ts +3 -0
  252. package/dist/index.d.ts +5 -0
  253. package/dist/index.mjs +101 -0
  254. package/dist/index.mjs.map +1 -0
  255. package/dist/locales/en-US.d.ts +316 -0
  256. package/dist/locales/en-US.mjs +71 -0
  257. package/dist/locales/en-US.mjs.map +1 -0
  258. package/dist/locales/zh-CN.d.ts +316 -0
  259. package/dist/locales/zh-CN.mjs +68 -0
  260. package/dist/locales/zh-CN.mjs.map +1 -0
  261. package/dist/locales/zh-TW.d.ts +316 -0
  262. package/dist/locales/zh-TW.mjs +68 -0
  263. package/dist/locales/zh-TW.mjs.map +1 -0
  264. package/dist/node_modules/.pnpm/@microsoft_fetch-event-source@2.0.1/node_modules/@microsoft/fetch-event-source/lib/esm/fetch.mjs +90 -0
  265. package/dist/node_modules/.pnpm/@microsoft_fetch-event-source@2.0.1/node_modules/@microsoft/fetch-event-source/lib/esm/fetch.mjs.map +1 -0
  266. package/dist/node_modules/.pnpm/@microsoft_fetch-event-source@2.0.1/node_modules/@microsoft/fetch-event-source/lib/esm/parse.mjs +110 -0
  267. package/dist/node_modules/.pnpm/@microsoft_fetch-event-source@2.0.1/node_modules/@microsoft/fetch-event-source/lib/esm/parse.mjs.map +1 -0
  268. package/dist/node_modules/.pnpm/@vueuse_core@14.0.0_vue@3.5.22_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.mjs +62 -0
  269. package/dist/node_modules/.pnpm/@vueuse_core@14.0.0_vue@3.5.22_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.mjs.map +1 -0
  270. package/dist/node_modules/.pnpm/@vueuse_shared@14.0.0_vue@3.5.22_typescript@5.9.3_/node_modules/@vueuse/shared/dist/index.mjs +67 -0
  271. package/dist/node_modules/.pnpm/@vueuse_shared@14.0.0_vue@3.5.22_typescript@5.9.3_/node_modules/@vueuse/shared/dist/index.mjs.map +1 -0
  272. package/dist/node_modules/.pnpm/dayjs@1.11.19/node_modules/dayjs/dayjs.min.mjs +287 -0
  273. package/dist/node_modules/.pnpm/dayjs@1.11.19/node_modules/dayjs/dayjs.min.mjs.map +1 -0
  274. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_DataView.mjs +7 -0
  275. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_DataView.mjs.map +1 -0
  276. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Hash.mjs +22 -0
  277. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Hash.mjs.map +1 -0
  278. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_ListCache.mjs +22 -0
  279. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_ListCache.mjs.map +1 -0
  280. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Map.mjs +7 -0
  281. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Map.mjs.map +1 -0
  282. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_MapCache.mjs +22 -0
  283. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_MapCache.mjs.map +1 -0
  284. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Promise.mjs +7 -0
  285. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Promise.mjs.map +1 -0
  286. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Set.mjs +7 -0
  287. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Set.mjs.map +1 -0
  288. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Stack.mjs +19 -0
  289. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Stack.mjs.map +1 -0
  290. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Symbol.mjs +6 -0
  291. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Symbol.mjs.map +1 -0
  292. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Uint8Array.mjs +6 -0
  293. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Uint8Array.mjs.map +1 -0
  294. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_WeakMap.mjs +7 -0
  295. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_WeakMap.mjs.map +1 -0
  296. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_apply.mjs +17 -0
  297. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_apply.mjs.map +1 -0
  298. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayEach.mjs +13 -0
  299. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayEach.mjs.map +1 -0
  300. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayFilter.mjs +14 -0
  301. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayFilter.mjs.map +1 -0
  302. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayLikeKeys.mjs +25 -0
  303. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayLikeKeys.mjs.map +1 -0
  304. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayMap.mjs +11 -0
  305. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayMap.mjs.map +1 -0
  306. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayPush.mjs +11 -0
  307. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayPush.mjs.map +1 -0
  308. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assignMergeValue.mjs +11 -0
  309. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assignMergeValue.mjs.map +1 -0
  310. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assignValue.mjs +14 -0
  311. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assignValue.mjs.map +1 -0
  312. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assocIndexOf.mjs +14 -0
  313. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assocIndexOf.mjs.map +1 -0
  314. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseAssignValue.mjs +17 -0
  315. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseAssignValue.mjs.map +1 -0
  316. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseClone.mjs +75 -0
  317. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseClone.mjs.map +1 -0
  318. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseCreate.mjs +22 -0
  319. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseCreate.mjs.map +1 -0
  320. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseFor.mjs +6 -0
  321. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseFor.mjs.map +1 -0
  322. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGet.mjs +14 -0
  323. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGet.mjs.map +1 -0
  324. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGetAllKeys.mjs +10 -0
  325. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGetAllKeys.mjs.map +1 -0
  326. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGetTag.mjs +15 -0
  327. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGetTag.mjs.map +1 -0
  328. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsArguments.mjs +10 -0
  329. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsArguments.mjs.map +1 -0
  330. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsMap.mjs +10 -0
  331. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsMap.mjs.map +1 -0
  332. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsNative.mjs +23 -0
  333. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsNative.mjs.map +1 -0
  334. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsSet.mjs +10 -0
  335. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsSet.mjs.map +1 -0
  336. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsTypedArray.mjs +15 -0
  337. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsTypedArray.mjs.map +1 -0
  338. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseKeys.mjs +20 -0
  339. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseKeys.mjs.map +1 -0
  340. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseKeysIn.mjs +21 -0
  341. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseKeysIn.mjs.map +1 -0
  342. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMerge.mjs +28 -0
  343. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMerge.mjs.map +1 -0
  344. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMergeDeep.mjs +62 -0
  345. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMergeDeep.mjs.map +1 -0
  346. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseRest.mjs +10 -0
  347. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseRest.mjs.map +1 -0
  348. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseSet.mjs +32 -0
  349. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseSet.mjs.map +1 -0
  350. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseSetToString.mjs +15 -0
  351. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseSetToString.mjs.map +1 -0
  352. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseTimes.mjs +11 -0
  353. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseTimes.mjs.map +1 -0
  354. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseToString.mjs +22 -0
  355. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseToString.mjs.map +1 -0
  356. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseUnary.mjs +9 -0
  357. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseUnary.mjs.map +1 -0
  358. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_castPath.mjs +14 -0
  359. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_castPath.mjs.map +1 -0
  360. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneArrayBuffer.mjs +10 -0
  361. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneArrayBuffer.mjs.map +1 -0
  362. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneBuffer.mjs +17 -0
  363. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneBuffer.mjs.map +1 -0
  364. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneDataView.mjs +9 -0
  365. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneDataView.mjs.map +1 -0
  366. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneRegExp.mjs +10 -0
  367. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneRegExp.mjs.map +1 -0
  368. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneSymbol.mjs +9 -0
  369. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneSymbol.mjs.map +1 -0
  370. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneTypedArray.mjs +9 -0
  371. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneTypedArray.mjs.map +1 -0
  372. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copyArray.mjs +12 -0
  373. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copyArray.mjs.map +1 -0
  374. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copyObject.mjs +24 -0
  375. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copyObject.mjs.map +1 -0
  376. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_coreJsData.mjs +6 -0
  377. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_coreJsData.mjs.map +1 -0
  378. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createAssigner.mjs +24 -0
  379. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createAssigner.mjs.map +1 -0
  380. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createBaseFor.mjs +16 -0
  381. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createBaseFor.mjs.map +1 -0
  382. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_defineProperty.mjs +13 -0
  383. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_defineProperty.mjs.map +1 -0
  384. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_freeGlobal.mjs +5 -0
  385. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_freeGlobal.mjs.map +1 -0
  386. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getAllKeys.mjs +10 -0
  387. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getAllKeys.mjs.map +1 -0
  388. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getMapData.mjs +9 -0
  389. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getMapData.mjs.map +1 -0
  390. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getNative.mjs +10 -0
  391. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getNative.mjs.map +1 -0
  392. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getPrototype.mjs +6 -0
  393. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getPrototype.mjs.map +1 -0
  394. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getRawTag.mjs +26 -0
  395. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getRawTag.mjs.map +1 -0
  396. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getSymbols.mjs +18 -0
  397. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getSymbols.mjs.map +1 -0
  398. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getTag.mjs +35 -0
  399. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getTag.mjs.map +1 -0
  400. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getValue.mjs +7 -0
  401. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getValue.mjs.map +1 -0
  402. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashClear.mjs +9 -0
  403. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashClear.mjs.map +1 -0
  404. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashDelete.mjs +9 -0
  405. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashDelete.mjs.map +1 -0
  406. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashGet.mjs +16 -0
  407. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashGet.mjs.map +1 -0
  408. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashHas.mjs +11 -0
  409. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashHas.mjs.map +1 -0
  410. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashSet.mjs +12 -0
  411. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashSet.mjs.map +1 -0
  412. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneArray.mjs +14 -0
  413. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneArray.mjs.map +1 -0
  414. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneByTag.mjs +44 -0
  415. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneByTag.mjs.map +1 -0
  416. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneObject.mjs +10 -0
  417. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneObject.mjs.map +1 -0
  418. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isIndex.mjs +11 -0
  419. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isIndex.mjs.map +1 -0
  420. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isIterateeCall.mjs +18 -0
  421. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isIterateeCall.mjs.map +1 -0
  422. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isKey.mjs +17 -0
  423. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isKey.mjs.map +1 -0
  424. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isKeyable.mjs +8 -0
  425. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isKeyable.mjs.map +1 -0
  426. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isMasked.mjs +12 -0
  427. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isMasked.mjs.map +1 -0
  428. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isPrototype.mjs +9 -0
  429. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isPrototype.mjs.map +1 -0
  430. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheClear.mjs +8 -0
  431. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheClear.mjs.map +1 -0
  432. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheDelete.mjs +21 -0
  433. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheDelete.mjs.map +1 -0
  434. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheGet.mjs +9 -0
  435. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheGet.mjs.map +1 -0
  436. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheHas.mjs +8 -0
  437. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheHas.mjs.map +1 -0
  438. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheSet.mjs +15 -0
  439. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheSet.mjs.map +1 -0
  440. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheClear.mjs +15 -0
  441. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheClear.mjs.map +1 -0
  442. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheDelete.mjs +10 -0
  443. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheDelete.mjs.map +1 -0
  444. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheGet.mjs +8 -0
  445. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheGet.mjs.map +1 -0
  446. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheHas.mjs +8 -0
  447. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheHas.mjs.map +1 -0
  448. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheSet.mjs +11 -0
  449. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheSet.mjs.map +1 -0
  450. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_memoizeCapped.mjs +16 -0
  451. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_memoizeCapped.mjs.map +1 -0
  452. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeCreate.mjs +6 -0
  453. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeCreate.mjs.map +1 -0
  454. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeKeys.mjs +6 -0
  455. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeKeys.mjs.map +1 -0
  456. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeKeysIn.mjs +13 -0
  457. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeKeysIn.mjs.map +1 -0
  458. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nodeUtil.mjs +19 -0
  459. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nodeUtil.mjs.map +1 -0
  460. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_objectToString.mjs +9 -0
  461. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_objectToString.mjs.map +1 -0
  462. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_overArg.mjs +9 -0
  463. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_overArg.mjs.map +1 -0
  464. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_overRest.mjs +22 -0
  465. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_overRest.mjs.map +1 -0
  466. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_root.mjs +7 -0
  467. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_root.mjs.map +1 -0
  468. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_safeGet.mjs +13 -0
  469. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_safeGet.mjs.map +1 -0
  470. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setToString.mjs +7 -0
  471. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setToString.mjs.map +1 -0
  472. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_shortOut.mjs +21 -0
  473. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_shortOut.mjs.map +1 -0
  474. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackClear.mjs +9 -0
  475. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackClear.mjs.map +1 -0
  476. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackDelete.mjs +9 -0
  477. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackDelete.mjs.map +1 -0
  478. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackGet.mjs +7 -0
  479. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackGet.mjs.map +1 -0
  480. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackHas.mjs +7 -0
  481. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackHas.mjs.map +1 -0
  482. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackSet.mjs +23 -0
  483. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackSet.mjs.map +1 -0
  484. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stringToPath.mjs +17 -0
  485. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stringToPath.mjs.map +1 -0
  486. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_toKey.mjs +12 -0
  487. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_toKey.mjs.map +1 -0
  488. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_toSource.mjs +19 -0
  489. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_toSource.mjs.map +1 -0
  490. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/cloneDeep.mjs +9 -0
  491. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/cloneDeep.mjs.map +1 -0
  492. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/constant.mjs +9 -0
  493. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/constant.mjs.map +1 -0
  494. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/eq.mjs +7 -0
  495. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/eq.mjs.map +1 -0
  496. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/get.mjs +9 -0
  497. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/get.mjs.map +1 -0
  498. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/identity.mjs +7 -0
  499. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/identity.mjs.map +1 -0
  500. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArguments.mjs +14 -0
  501. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArguments.mjs.map +1 -0
  502. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArray.mjs +5 -0
  503. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArray.mjs.map +1 -0
  504. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArrayLike.mjs +9 -0
  505. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArrayLike.mjs.map +1 -0
  506. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArrayLikeObject.mjs +9 -0
  507. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArrayLikeObject.mjs.map +1 -0
  508. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isBoolean.mjs +10 -0
  509. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isBoolean.mjs.map +1 -0
  510. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isBuffer.mjs +12 -0
  511. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isBuffer.mjs.map +1 -0
  512. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isFunction.mjs +14 -0
  513. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isFunction.mjs.map +1 -0
  514. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isLength.mjs +8 -0
  515. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isLength.mjs.map +1 -0
  516. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isMap.mjs +9 -0
  517. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isMap.mjs.map +1 -0
  518. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isNumber.mjs +10 -0
  519. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isNumber.mjs.map +1 -0
  520. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObject.mjs +8 -0
  521. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObject.mjs.map +1 -0
  522. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObjectLike.mjs +7 -0
  523. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObjectLike.mjs.map +1 -0
  524. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isPlainObject.mjs +23 -0
  525. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isPlainObject.mjs.map +1 -0
  526. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isSet.mjs +9 -0
  527. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isSet.mjs.map +1 -0
  528. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isSymbol.mjs +10 -0
  529. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isSymbol.mjs.map +1 -0
  530. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isTypedArray.mjs +9 -0
  531. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isTypedArray.mjs.map +1 -0
  532. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/keys.mjs +10 -0
  533. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/keys.mjs.map +1 -0
  534. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/keysIn.mjs +10 -0
  535. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/keysIn.mjs.map +1 -0
  536. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/memoize.mjs +23 -0
  537. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/memoize.mjs.map +1 -0
  538. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/merge.mjs +9 -0
  539. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/merge.mjs.map +1 -0
  540. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/set.mjs +8 -0
  541. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/set.mjs.map +1 -0
  542. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/stubArray.mjs +7 -0
  543. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/stubArray.mjs.map +1 -0
  544. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/stubFalse.mjs +7 -0
  545. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/stubFalse.mjs.map +1 -0
  546. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/toPlainObject.mjs +9 -0
  547. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/toPlainObject.mjs.map +1 -0
  548. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/toString.mjs +8 -0
  549. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/toString.mjs.map +1 -0
  550. package/dist/node_modules/.pnpm/pdfjs-dist@5.4.394/node_modules/pdfjs-dist/build/pdf.mjs +25810 -0
  551. package/dist/node_modules/.pnpm/pdfjs-dist@5.4.394/node_modules/pdfjs-dist/build/pdf.mjs.map +1 -0
  552. package/dist/node_modules/.pnpm/pdfjs-dist@5.4.394/node_modules/pdfjs-dist/build/pdf.sandbox.mjs +5 -0
  553. package/dist/node_modules/.pnpm/pdfjs-dist@5.4.394/node_modules/pdfjs-dist/build/pdf.sandbox.mjs.map +1 -0
  554. package/dist/node_modules/.pnpm/pdfjs-dist@5.4.394/node_modules/pdfjs-dist/build/pdf.worker.mjs +5 -0
  555. package/dist/node_modules/.pnpm/pdfjs-dist@5.4.394/node_modules/pdfjs-dist/build/pdf.worker.mjs.map +1 -0
  556. package/dist/node_modules/.pnpm/pdfjs-dist@5.4.394/node_modules/pdfjs-dist/web/pdf_viewer.mjs +8940 -0
  557. package/dist/node_modules/.pnpm/pdfjs-dist@5.4.394/node_modules/pdfjs-dist/web/pdf_viewer.mjs.map +1 -0
  558. package/dist/node_modules/.pnpm/tdesign-vue-next@1.17.1_vue@3.5.22_typescript@5.9.3_/node_modules/tdesign-vue-next/es/_chunks/dep-0f6107c9.mjs +316 -0
  559. package/dist/node_modules/.pnpm/tdesign-vue-next@1.17.1_vue@3.5.22_typescript@5.9.3_/node_modules/tdesign-vue-next/es/_chunks/dep-0f6107c9.mjs.map +1 -0
  560. package/dist/node_modules/.pnpm/tdesign-vue-next@1.17.1_vue@3.5.22_typescript@5.9.3_/node_modules/tdesign-vue-next/es/_chunks/dep-4d4f98d8.mjs +330 -0
  561. package/dist/node_modules/.pnpm/tdesign-vue-next@1.17.1_vue@3.5.22_typescript@5.9.3_/node_modules/tdesign-vue-next/es/_chunks/dep-4d4f98d8.mjs.map +1 -0
  562. package/dist/node_modules/.pnpm/tdesign-vue-next@1.17.1_vue@3.5.22_typescript@5.9.3_/node_modules/tdesign-vue-next/es/_chunks/dep-8c6ad426.mjs +10 -0
  563. package/dist/node_modules/.pnpm/tdesign-vue-next@1.17.1_vue@3.5.22_typescript@5.9.3_/node_modules/tdesign-vue-next/es/_chunks/dep-8c6ad426.mjs.map +1 -0
  564. package/dist/node_modules/.pnpm/tdesign-vue-next@1.17.1_vue@3.5.22_typescript@5.9.3_/node_modules/tdesign-vue-next/es/_chunks/dep-c68053ef.mjs +17 -0
  565. package/dist/node_modules/.pnpm/tdesign-vue-next@1.17.1_vue@3.5.22_typescript@5.9.3_/node_modules/tdesign-vue-next/es/_chunks/dep-c68053ef.mjs.map +1 -0
  566. package/dist/node_modules/.pnpm/tdesign-vue-next@1.17.1_vue@3.5.22_typescript@5.9.3_/node_modules/tdesign-vue-next/es/locale/en_US.mjs +287 -0
  567. package/dist/node_modules/.pnpm/tdesign-vue-next@1.17.1_vue@3.5.22_typescript@5.9.3_/node_modules/tdesign-vue-next/es/locale/en_US.mjs.map +1 -0
  568. package/dist/node_modules/.pnpm/tdesign-vue-next@1.17.1_vue@3.5.22_typescript@5.9.3_/node_modules/tdesign-vue-next/es/locale/zh_TW.mjs +328 -0
  569. package/dist/node_modules/.pnpm/tdesign-vue-next@1.17.1_vue@3.5.22_typescript@5.9.3_/node_modules/tdesign-vue-next/es/locale/zh_TW.mjs.map +1 -0
  570. package/dist/qidian-vue-ui.css +6054 -0
  571. package/dist/utils/auth.d.ts +6 -0
  572. package/dist/utils/auth.mjs +67 -0
  573. package/dist/utils/auth.mjs.map +1 -0
  574. package/dist/utils/index.d.ts +2 -0
  575. package/dist/utils/time.d.ts +2 -0
  576. package/dist/utils/time.mjs +30 -0
  577. package/dist/utils/time.mjs.map +1 -0
  578. package/package.json +1 -1
@@ -0,0 +1,526 @@
1
+ import { defineComponent, mergeDefaults, computed, inject, useTemplateRef, ref, watch, onMounted, createBlock, openBlock, unref, mergeProps, isRef, createSlots, withCtx, createCommentVNode, createVNode, createTextVNode, toDisplayString, withModifiers, createElementVNode, renderList, renderSlot, normalizeProps, guardReactiveProps } from "vue";
2
+ import { qdUploadSizeLimit, qdUploadProps } from "./props.mjs";
3
+ import { useVModels } from "../../node_modules/.pnpm/@vueuse_core@14.0.0_vue@3.5.22_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.mjs";
4
+ import { Upload, Space, Button, Popup, Badge } from "tdesign-vue-next";
5
+ import { UploadIcon, BrowseIcon } from "tdesign-icons-vue-next";
6
+ import { isEmpty, useTimer, easyCopy, checkSameObject, to, isTypeByName, suspectedWrapperPromise } from "qidian-shared";
7
+ import dayjs from "../../_virtual/dayjs.min.mjs";
8
+ import { PROVIDE_UPLOAD } from "../config-provider/config.mjs";
9
+ import { useConfig } from "../config-provider/useConfig.mjs";
10
+ import "../../hooks/useAgentChat/index.mjs";
11
+ import { useModal } from "../../hooks/useModal.mjs";
12
+ import { useReadonly } from "../../hooks/useReadonly.mjs";
13
+ import { useDisabled } from "../../hooks/useDisabled.mjs";
14
+ /* empty css */
15
+ /* empty css */
16
+ /* empty css */
17
+ import { PROVIDE_FORM_ADD_BEFORE_SUBMIT_QUEUE } from "../form/config.mjs";
18
+ import { qdUploadAcceptMap } from "./config.mjs";
19
+ import { qdDictConvStrSeparator } from "../dict/props.mjs";
20
+ const _sfc_main = /* @__PURE__ */ defineComponent({
21
+ ...{
22
+ name: "QdUpload"
23
+ },
24
+ __name: "index",
25
+ props: /* @__PURE__ */ mergeDefaults({
26
+ modelValue: {},
27
+ action: { type: [String, Function] },
28
+ bucketConfigKey: {},
29
+ convStr: { type: [Boolean, String] },
30
+ valueMode: {},
31
+ theme: {},
32
+ accept: {},
33
+ onlyView: { type: Boolean },
34
+ listOssByIds: {},
35
+ listOssByUrls: {},
36
+ del: {},
37
+ abridgeName: {},
38
+ allowUploadDuplicateFile: { type: Boolean },
39
+ autoUpload: { type: Boolean },
40
+ beforeAllFilesUpload: { type: Function },
41
+ beforeUpload: { type: Function },
42
+ cancelUploadButton: {},
43
+ data: { type: [Object, Function] },
44
+ default: {},
45
+ disabled: { type: Boolean },
46
+ dragContent: {},
47
+ draggable: { type: Boolean },
48
+ fileListDisplay: {},
49
+ files: {},
50
+ format: { type: Function },
51
+ formatRequest: { type: Function },
52
+ formatResponse: { type: Function },
53
+ headers: {},
54
+ imageViewerProps: {},
55
+ inputAttributes: {},
56
+ isBatchUpload: { type: Boolean },
57
+ locale: {},
58
+ max: {},
59
+ method: {},
60
+ mockProgressDuration: {},
61
+ multiple: { type: Boolean },
62
+ name: {},
63
+ placeholder: {},
64
+ requestMethod: { type: Function },
65
+ showImageFileName: { type: Boolean },
66
+ showThumbnail: { type: Boolean },
67
+ showUploadProgress: { type: Boolean },
68
+ sizeLimit: {},
69
+ status: {},
70
+ tips: {},
71
+ trigger: {},
72
+ triggerButtonProps: {},
73
+ uploadAllFilesInOneRequest: { type: Boolean },
74
+ uploadButton: {},
75
+ uploadPastedFiles: { type: Boolean },
76
+ useMockProgress: { type: Boolean },
77
+ withCredentials: { type: Boolean },
78
+ onCancelUpload: { type: Function },
79
+ onChange: { type: Function },
80
+ onDragenter: { type: Function },
81
+ onDragleave: { type: Function },
82
+ onDrop: { type: Function },
83
+ onFail: { type: Function },
84
+ onOneFileFail: { type: Function },
85
+ onOneFileSuccess: { type: Function },
86
+ onPreview: { type: Function },
87
+ onProgress: { type: Function },
88
+ onRemove: { type: Function },
89
+ onSelectChange: { type: Function },
90
+ onSuccess: { type: Function },
91
+ onValidate: { type: Function },
92
+ onWaitingUploadFilesChange: { type: Function }
93
+ }, qdUploadProps),
94
+ emits: ["update:modelValue", "update:files"],
95
+ setup(__props, { expose: __expose, emit: __emit }) {
96
+ const props = __props;
97
+ const emit = __emit;
98
+ const { modelValue, files: fileList } = useVModels(props, emit, {
99
+ passive: true
100
+ });
101
+ const reModelValue = computed({
102
+ get: () => {
103
+ const { convStr } = reProps.value;
104
+ const value = modelValue.value;
105
+ if (isEmpty(value)) return [];
106
+ if (typeof value === "string") {
107
+ return value.split((typeof convStr === "string" ? convStr : "") || qdDictConvStrSeparator);
108
+ }
109
+ return value;
110
+ },
111
+ set: (val) => {
112
+ const { convStr } = reProps.value;
113
+ if (convStr) {
114
+ modelValue.value = val.join(
115
+ (typeof convStr === "string" ? convStr : "") || qdDictConvStrSeparator
116
+ );
117
+ return;
118
+ }
119
+ modelValue.value = val;
120
+ }
121
+ });
122
+ const formAddBeforeSubmitQueue = inject(PROVIDE_FORM_ADD_BEFORE_SUBMIT_QUEUE, void 0);
123
+ const { t } = useConfig("upload");
124
+ const tdReadonly = useReadonly();
125
+ const tdDisabled = useDisabled();
126
+ const { msgError, msgWarning } = useModal();
127
+ const uploadRef = useTemplateRef("upload");
128
+ const { timer: uploadTimer, clearTimer: clearUploadTimer } = useTimer("interval");
129
+ const delList = ref([]);
130
+ const popupFileList = computed(() => [...fileList.value]);
131
+ const globalUploadProps = inject(
132
+ PROVIDE_UPLOAD,
133
+ computed(() => void 0)
134
+ );
135
+ const reProps = computed(() => {
136
+ const {
137
+ modelValue: modelValue2,
138
+ files,
139
+ convStr,
140
+ valueMode,
141
+ theme,
142
+ sizeLimit,
143
+ accept,
144
+ multiple,
145
+ disabled,
146
+ beforeUpload,
147
+ onValidate,
148
+ formatResponse,
149
+ onSuccess,
150
+ onRemove,
151
+ onlyView,
152
+ listOssByIds,
153
+ listOssByUrls,
154
+ del,
155
+ action,
156
+ bucketConfigKey,
157
+ showImageFileName,
158
+ showUploadProgress,
159
+ draggable,
160
+ ...uploadOptions
161
+ } = props;
162
+ const globalUploadPropsV = globalUploadProps.value;
163
+ const reAction = action || globalUploadPropsV?.action;
164
+ const actionUrl = typeof reAction === "string" ? reAction : reAction?.(bucketConfigKey);
165
+ const reSizeLimit = easyCopy(qdUploadSizeLimit);
166
+ if (reSizeLimit) {
167
+ if (typeof sizeLimit === "number") {
168
+ reSizeLimit.size = sizeLimit;
169
+ reSizeLimit.message = t("sizeLimitMessage");
170
+ } else {
171
+ Object.assign(reSizeLimit, { message: t("sizeLimitMessage") }, sizeLimit);
172
+ }
173
+ }
174
+ const acceptStr = (accept ? accept : theme.includes("image") ? qdUploadAcceptMap.image : qdUploadAcceptMap.default).join(",");
175
+ const reBeforeUpload = (file) => {
176
+ if (beforeUpload) return beforeUpload(file);
177
+ if (accept && !isTypeByName(file.name, accept)) {
178
+ msgError(
179
+ `${t("fileFormatNotSupportedMessage")[0]} ${accept} ${t("fileFormatNotSupportedMessage")[1]}`
180
+ );
181
+ return false;
182
+ }
183
+ return true;
184
+ };
185
+ const reOnValidate = (context) => {
186
+ if (onValidate) {
187
+ onValidate(context);
188
+ return;
189
+ }
190
+ switch (context.type) {
191
+ case "FILES_OVER_LENGTH_LIMIT":
192
+ msgWarning(`${t("maxUploadMessage")[0]}${props.max}${t("maxUploadMessage")[1]}`);
193
+ break;
194
+ case "FILTER_FILE_SAME_NAME":
195
+ msgWarning(t("sameNameMessage"));
196
+ break;
197
+ case "FILE_OVER_SIZE_LIMIT":
198
+ msgWarning(`${context.files.map((t2) => t2.name).join(",")} ${t("fileSizeExceedsLimit")}`);
199
+ break;
200
+ }
201
+ };
202
+ const reFormatResponse = (res, context) => {
203
+ if (formatResponse) return formatResponse(res, context);
204
+ if (res.code === 200) {
205
+ const { url, ossId, fileName, uploadTime } = res.data || {};
206
+ return {
207
+ success: true,
208
+ url,
209
+ name: fileName,
210
+ ossId,
211
+ uploadTime: uploadTime || dayjs().format("YYYY-MM-DD HH:mm:ss")
212
+ };
213
+ }
214
+ return { status: "fail", error: res.message || res.msg || t("fileUploadFailed") };
215
+ };
216
+ const reOnSuccess = (context) => {
217
+ onSuccess?.(context);
218
+ updateModelValue(fileList.value);
219
+ };
220
+ const reOnRemove = (context) => {
221
+ onRemove?.(context);
222
+ const { ossId } = context.file?.response || {};
223
+ if (ossId) {
224
+ if (props.autoUpload) to(handleDel(ossId));
225
+ else addDel(ossId);
226
+ }
227
+ updateModelValue(fileList.value);
228
+ };
229
+ const handlePopupRemove = (context) => {
230
+ reOnRemove(context);
231
+ if (isEmpty(context.index)) return;
232
+ fileList.value.splice(context.index, 1);
233
+ };
234
+ const reUploadOptions = {
235
+ action: actionUrl,
236
+ theme: ["custom", "file", "file-input", "file-flow", "image", "image-flow"].includes(theme) ? theme : "custom",
237
+ sizeLimit: reSizeLimit,
238
+ accept: acceptStr,
239
+ multiple: multiple ?? props.max !== 1,
240
+ disabled: onlyView ? true : disabled ?? (tdDisabled.value || tdReadonly.value),
241
+ beforeUpload: reBeforeUpload,
242
+ onValidate: reOnValidate,
243
+ formatResponse: reFormatResponse,
244
+ onSuccess: reOnSuccess,
245
+ onRemove: reOnRemove,
246
+ showImageFileName: onlyView ? false : showImageFileName,
247
+ showUploadProgress: onlyView ? false : showUploadProgress,
248
+ draggable: onlyView ? false : draggable,
249
+ ...uploadOptions
250
+ };
251
+ if (globalUploadPropsV) {
252
+ Object.entries(globalUploadPropsV).forEach(([key, value]) => {
253
+ if (["action"].includes(key) || isEmpty(value)) return;
254
+ reUploadOptions[key] = value;
255
+ });
256
+ }
257
+ return {
258
+ theme,
259
+ convStr,
260
+ valueMode,
261
+ accept,
262
+ handlePopupRemove,
263
+ onlyView,
264
+ listOssByIds: {
265
+ ...globalUploadPropsV?.listOssByIds,
266
+ ...listOssByIds
267
+ },
268
+ listOssByUrls: {
269
+ ...globalUploadPropsV?.listOssByUrls,
270
+ ...listOssByUrls
271
+ },
272
+ del: { ...globalUploadPropsV?.del, ...del },
273
+ uploadOptions: reUploadOptions,
274
+ models: {
275
+ modelValue: modelValue2,
276
+ files
277
+ }
278
+ };
279
+ });
280
+ const expose = {};
281
+ const uploadFiles = (options) => {
282
+ uploadRef.value?.uploadFiles(options?.files);
283
+ return new Promise((resolve, reject) => {
284
+ uploadTimer.value = setInterval(() => {
285
+ const isFinished = fileList.value.every((item) => item.status !== "progress");
286
+ if (!isFinished) return;
287
+ clearUploadTimer();
288
+ updateModelValue(fileList.value);
289
+ const errorList = fileList.value.filter((item) => item.status === "fail");
290
+ if (errorList.length) {
291
+ const msg = `${errorList.map((item) => item.name).join(",")} ${t("fileUploadFailed")}`;
292
+ if (options?.showErrorMessage !== false) {
293
+ msgError(msg);
294
+ }
295
+ reject(new Error(msg));
296
+ return;
297
+ }
298
+ resolve(fileList.value);
299
+ }, 100);
300
+ });
301
+ };
302
+ function updateModelValue(files) {
303
+ const tempModelValue = [];
304
+ files.forEach((item) => {
305
+ if (item.status !== "success") return;
306
+ tempModelValue.push(item.response[reProps.value.valueMode]);
307
+ });
308
+ reModelValue.value = tempModelValue;
309
+ }
310
+ async function handleDel(ossId, showErrorMessage) {
311
+ const { del } = reProps.value;
312
+ if (!del) return;
313
+ const { service, transformParams, transformRes } = del;
314
+ const currentParams = ossId;
315
+ let tParams;
316
+ if (transformParams) {
317
+ const [trErr, trRes] = await suspectedWrapperPromise(transformParams(currentParams));
318
+ if (trErr) throw trErr;
319
+ tParams = trRes;
320
+ }
321
+ const [serviceErr, serviceRes] = await to(service(tParams || currentParams));
322
+ if (serviceErr) throw serviceErr;
323
+ let res;
324
+ if (transformRes) {
325
+ const [trErr, trRes] = await suspectedWrapperPromise(transformRes(serviceRes));
326
+ if (trErr) throw trErr;
327
+ res = trRes;
328
+ } else {
329
+ res = serviceRes;
330
+ }
331
+ if (typeof res === "boolean") {
332
+ res = { success: res, message: "" };
333
+ }
334
+ if (!res) {
335
+ res = { success: true, message: "" };
336
+ }
337
+ const message = res.message;
338
+ if (res.success === false) {
339
+ if (message && showErrorMessage !== false) msgError(message);
340
+ throw new Error(message);
341
+ }
342
+ }
343
+ async function addDel(ossId) {
344
+ delList.value.push(ossId);
345
+ }
346
+ async function getOssByIds(ossId) {
347
+ const { listOssByIds } = reProps.value;
348
+ if (!listOssByIds) return [];
349
+ const { service, transformParams, transformRes } = listOssByIds;
350
+ const currentParams = ossId;
351
+ let tParams;
352
+ if (transformParams) {
353
+ const [trErr, trRes] = await suspectedWrapperPromise(transformParams(currentParams));
354
+ if (trErr) throw trErr;
355
+ tParams = trRes;
356
+ }
357
+ const [serviceErr, serviceRes] = await to(service(tParams || currentParams));
358
+ if (serviceErr) throw serviceErr;
359
+ let res;
360
+ if (transformRes) {
361
+ const [trErr, trRes] = await suspectedWrapperPromise(transformRes(serviceRes));
362
+ if (trErr) throw trErr;
363
+ res = trRes;
364
+ } else {
365
+ res = serviceRes;
366
+ }
367
+ return res;
368
+ }
369
+ async function getOssByUrls(ossId) {
370
+ const { listOssByUrls } = reProps.value;
371
+ if (!listOssByUrls) return [];
372
+ const { service, transformParams, transformRes } = listOssByUrls;
373
+ const currentParams = ossId;
374
+ let tParams;
375
+ if (transformParams) {
376
+ const [trErr, trRes] = await suspectedWrapperPromise(transformParams(currentParams));
377
+ if (trErr) throw trErr;
378
+ tParams = trRes;
379
+ }
380
+ const [serviceErr, serviceRes] = await to(service(tParams || currentParams));
381
+ if (serviceErr) throw serviceErr;
382
+ let res;
383
+ if (transformRes) {
384
+ const [trErr, trRes] = await suspectedWrapperPromise(transformRes(serviceRes));
385
+ if (trErr) throw trErr;
386
+ res = trRes;
387
+ } else {
388
+ res = serviceRes;
389
+ }
390
+ return res;
391
+ }
392
+ async function uploadBeforeFormSubmit() {
393
+ const [err] = await to(uploadFiles({ showErrorMessage: false }));
394
+ if (err) return { success: false, message: err.message };
395
+ return true;
396
+ }
397
+ async function delBeforeFormSubmit() {
398
+ if (!delList.value.length) return true;
399
+ const [err] = await to(handleDel(delList.value, false));
400
+ if (err) return true;
401
+ return true;
402
+ }
403
+ formAddBeforeSubmitQueue?.(uploadBeforeFormSubmit);
404
+ formAddBeforeSubmitQueue?.(delBeforeFormSubmit);
405
+ watch(
406
+ reModelValue,
407
+ async (newVal, oldVal) => {
408
+ if (!newVal.length || checkSameObject(newVal, oldVal) || fileList.value.length) return;
409
+ const { valueMode } = reProps.value;
410
+ const apiFn = valueMode === "url" ? getOssByUrls : getOssByIds;
411
+ const [err, res] = await to(apiFn(newVal));
412
+ if (err) return;
413
+ fileList.value = res.map((item) => {
414
+ const { url, ossId, originalName, size, createTime } = item;
415
+ return {
416
+ url,
417
+ uid: ossId,
418
+ name: originalName,
419
+ size,
420
+ uploadTime: createTime,
421
+ response: { status: "success", url, ossId, name: originalName, uploadTime: createTime },
422
+ status: "success"
423
+ };
424
+ });
425
+ },
426
+ { deep: true, immediate: true }
427
+ );
428
+ onMounted(() => {
429
+ Object.assign(expose, uploadRef.value, { uploadFiles });
430
+ });
431
+ __expose(expose);
432
+ return (_ctx, _cache) => {
433
+ return openBlock(), createBlock(unref(Upload), mergeProps({
434
+ ref: "upload",
435
+ class: [
436
+ "qd-upload",
437
+ `qd-upload--${reProps.value.theme}`,
438
+ reProps.value.onlyView ? "qd-upload--only-view" : ""
439
+ ],
440
+ files: unref(fileList),
441
+ "onUpdate:files": _cache[2] || (_cache[2] = ($event) => isRef(fileList) ? fileList.value = $event : null)
442
+ }, reProps.value.uploadOptions), createSlots({
443
+ default: withCtx(() => [
444
+ __props.theme === "btn-image-popup" ? (openBlock(), createBlock(unref(Space), {
445
+ key: 0,
446
+ align: "center",
447
+ size: "small"
448
+ }, {
449
+ default: withCtx(() => [
450
+ createVNode(unref(Button), {
451
+ variant: "outline",
452
+ disabled: reProps.value.uploadOptions.disabled
453
+ }, {
454
+ icon: withCtx(() => [
455
+ createVNode(unref(UploadIcon))
456
+ ]),
457
+ default: withCtx(() => [
458
+ createTextVNode(" " + toDisplayString(!unref(fileList).length ? unref(t)("triggerUploadText").fileInput : reProps.value.uploadOptions.max === 1 || !reProps.value.uploadOptions.multiple ? unref(t)("triggerUploadText").reupload : unref(t)("triggerUploadText").continueUpload), 1)
459
+ ]),
460
+ _: 1
461
+ }, 8, ["disabled"]),
462
+ unref(fileList).length ? (openBlock(), createBlock(unref(Popup), {
463
+ key: 0,
464
+ "show-arrow": "",
465
+ trigger: "click"
466
+ }, {
467
+ content: withCtx(() => [
468
+ createVNode(unref(Upload), {
469
+ files: popupFileList.value,
470
+ "onUpdate:files": _cache[1] || (_cache[1] = ($event) => popupFileList.value = $event),
471
+ theme: "image",
472
+ disabled: reProps.value.uploadOptions.disabled,
473
+ "on-remove": reProps.value.handlePopupRemove
474
+ }, {
475
+ trigger: withCtx(() => [..._cache[3] || (_cache[3] = [
476
+ createElementVNode("span", { style: { "display": "none" } }, null, -1)
477
+ ])]),
478
+ _: 1
479
+ }, 8, ["files", "disabled", "on-remove"])
480
+ ]),
481
+ default: withCtx(() => [
482
+ createVNode(unref(Badge), {
483
+ count: unref(fileList).length,
484
+ size: "small",
485
+ offset: [2, 2],
486
+ onClick: _cache[0] || (_cache[0] = withModifiers(() => {
487
+ }, ["stop"]))
488
+ }, {
489
+ default: withCtx(() => [
490
+ createVNode(unref(Button), { variant: "outline" }, {
491
+ icon: withCtx(() => [
492
+ createVNode(unref(BrowseIcon))
493
+ ]),
494
+ default: withCtx(() => [
495
+ createTextVNode(" " + toDisplayString(unref(t)("viewFileText")), 1)
496
+ ]),
497
+ _: 1
498
+ })
499
+ ]),
500
+ _: 1
501
+ }, 8, ["count"])
502
+ ]),
503
+ _: 1
504
+ })) : createCommentVNode("", true)
505
+ ]),
506
+ _: 1
507
+ })) : createCommentVNode("", true)
508
+ ]),
509
+ _: 2
510
+ }, [
511
+ renderList(_ctx.$slots, (_, name) => {
512
+ return {
513
+ name,
514
+ fn: withCtx((slotProps) => [
515
+ renderSlot(_ctx.$slots, name, normalizeProps(guardReactiveProps(slotProps)), void 0, true)
516
+ ])
517
+ };
518
+ })
519
+ ]), 1040, ["class", "files"]);
520
+ };
521
+ }
522
+ });
523
+ export {
524
+ _sfc_main as default
525
+ };
526
+ //# sourceMappingURL=index.vue2.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.vue2.mjs","sources":["../../../src/components/upload/index.vue"],"sourcesContent":["<template>\n <t-upload\n ref=\"upload\"\n :class=\"[\n 'qd-upload',\n `qd-upload--${reProps.theme}`,\n reProps.onlyView ? 'qd-upload--only-view' : ''\n ]\"\n v-model:files=\"fileList\"\n v-bind=\"reProps.uploadOptions\"\n >\n <template v-if=\"theme === 'btn-image-popup'\">\n <t-space align=\"center\" size=\"small\">\n <t-button variant=\"outline\" :disabled=\"reProps.uploadOptions.disabled\">\n <template #icon><upload-icon /></template>\n {{\n !fileList.length\n ? t('triggerUploadText').fileInput\n : reProps.uploadOptions.max === 1 || !reProps.uploadOptions.multiple\n ? t('triggerUploadText').reupload\n : t('triggerUploadText').continueUpload\n }}\n </t-button>\n\n <t-popup v-if=\"fileList.length\" show-arrow trigger=\"click\">\n <t-badge :count=\"fileList.length\" size=\"small\" :offset=\"[2, 2]\" @click.stop>\n <t-button variant=\"outline\">\n <template #icon><browse-icon /></template>\n {{ t('viewFileText') }}\n </t-button>\n </t-badge>\n\n <template #content>\n <t-upload\n v-model:files=\"popupFileList\"\n theme=\"image\"\n :disabled=\"reProps.uploadOptions.disabled\"\n :on-remove=\"reProps.handlePopupRemove\"\n >\n <template #trigger><span style=\"display: none\"></span></template>\n </t-upload>\n </template>\n </t-popup>\n </t-space>\n </template>\n\n <template v-for=\"(_, name) in $slots\" #[name]=\"slotProps\">\n <slot :name=\"name\" v-bind=\"slotProps\" />\n </template>\n </t-upload>\n</template>\n\n<script\n setup\n lang=\"ts\"\n generic=\"\n F extends UploadFile = UploadFile,\n OR = unknown,\n OP extends string | number | (string | number)[] = string | number | (string | number)[],\n TOP = OP,\n UR = unknown,\n UP extends string | string[] = string | string[],\n TUP = UP,\n DR = unknown,\n DP extends string | number | (string | number)[] = string | number | (string | number)[],\n TDP = DP\n \"\n>\n import type {\n SizeLimitObj,\n TdUploadProps,\n UploadFile,\n UploadInstanceFunctions\n } from 'tdesign-vue-next'\n import type {\n QdUploadDeleteResult,\n QdUploadInstanceFunctions,\n QdUploadListOssByIdsResult,\n QdUploadProps\n } from './types'\n import { qdUploadProps, qdUploadSizeLimit } from './props'\n import { useVModels } from '@vueuse/core'\n import { computed, inject, onMounted, useTemplateRef, ref, watch } from 'vue'\n import {\n Upload as TUpload,\n Button as TButton,\n Popup as TPopup,\n Space as TSpace,\n Badge as TBadge\n } from 'tdesign-vue-next'\n import { UploadIcon, BrowseIcon } from 'tdesign-icons-vue-next'\n import {\n checkSameObject,\n easyCopy,\n isEmpty,\n isTypeByName,\n suspectedWrapperPromise,\n to,\n useTimer\n } from 'qidian-shared'\n import dayjs from 'dayjs'\n import { PROVIDE_UPLOAD } from '../config-provider/config'\n import { useConfig } from '../config-provider/useConfig'\n import { useModal, useDisabled, useReadonly } from '../../hooks'\n import { PROVIDE_FORM_ADD_BEFORE_SUBMIT_QUEUE } from '../form'\n import { qdUploadAcceptMap } from './config'\n import { qdDictConvStrSeparator } from '../dict/props'\n\n defineOptions({\n name: 'QdUpload'\n })\n\n type Props = QdUploadProps<F, OR, OP, TOP, UR, UP, TUP, DR, DP, TDP>\n\n const props = withDefaults(defineProps<Props>(), qdUploadProps)\n const emit = defineEmits<{\n 'update:modelValue': [Props['modelValue']]\n 'update:files': [Props['files']]\n }>()\n const { modelValue, files: fileList } = useVModels<typeof props, keyof typeof emit>(props, emit, {\n passive: true\n })\n\n const reModelValue = computed({\n get: () => {\n const { convStr } = reProps.value\n const value = modelValue.value\n if (isEmpty(value)) return []\n if (typeof value === 'string') {\n return value.split((typeof convStr === 'string' ? convStr : '') || qdDictConvStrSeparator)\n }\n\n return value\n },\n set: (val) => {\n const { convStr } = reProps.value\n if (convStr) {\n modelValue.value = val.join(\n (typeof convStr === 'string' ? convStr : '') || qdDictConvStrSeparator\n )\n return\n }\n\n modelValue.value = val\n }\n })\n\n const formAddBeforeSubmitQueue = inject(PROVIDE_FORM_ADD_BEFORE_SUBMIT_QUEUE, undefined)\n const { t } = useConfig('upload')\n const tdReadonly = useReadonly()\n const tdDisabled = useDisabled()\n const { msgError, msgWarning } = useModal()\n const uploadRef = useTemplateRef<UploadInstanceFunctions>('upload')\n const { timer: uploadTimer, clearTimer: clearUploadTimer } = useTimer('interval')\n\n const delList = ref<(string | number)[]>([])\n\n const popupFileList = computed(() => [...fileList.value])\n\n const globalUploadProps = inject(\n PROVIDE_UPLOAD,\n computed(() => undefined)\n )\n const reProps = computed(() => {\n const {\n modelValue,\n files,\n convStr,\n valueMode,\n theme,\n sizeLimit,\n accept,\n multiple,\n disabled,\n beforeUpload,\n onValidate,\n formatResponse,\n onSuccess,\n onRemove,\n\n onlyView,\n listOssByIds,\n listOssByUrls,\n del,\n\n action,\n bucketConfigKey,\n showImageFileName,\n showUploadProgress,\n draggable,\n ...uploadOptions\n } = props\n const globalUploadPropsV = globalUploadProps.value\n\n const reAction = action || globalUploadPropsV?.action\n const actionUrl = typeof reAction === 'string' ? reAction : reAction?.(bucketConfigKey)\n\n const reSizeLimit = easyCopy(qdUploadSizeLimit) as\n | SizeLimitObj\n | undefined\n if (reSizeLimit) {\n if (typeof sizeLimit === 'number') {\n reSizeLimit.size = sizeLimit\n reSizeLimit.message = t('sizeLimitMessage')\n } else {\n Object.assign(reSizeLimit, { message: t('sizeLimitMessage') }, sizeLimit)\n }\n }\n\n const acceptStr = (\n accept ? accept : theme.includes('image') ? qdUploadAcceptMap.image : qdUploadAcceptMap.default\n ).join(',')\n\n const reBeforeUpload: typeof beforeUpload = (file) => {\n if (beforeUpload) return beforeUpload(file)\n\n if (accept && !isTypeByName(file.name, accept)) {\n msgError(\n `${t('fileFormatNotSupportedMessage')[0]} ${accept} ${t('fileFormatNotSupportedMessage')[1]}`\n )\n return false\n }\n\n return true\n }\n\n const reOnValidate: typeof onValidate = (context) => {\n if (onValidate) {\n onValidate(context)\n return\n }\n\n switch (context.type) {\n case 'FILES_OVER_LENGTH_LIMIT':\n msgWarning(`${t('maxUploadMessage')[0]}${props.max}${t('maxUploadMessage')[1]}`)\n break\n case 'FILTER_FILE_SAME_NAME':\n msgWarning(t('sameNameMessage'))\n break\n case 'FILE_OVER_SIZE_LIMIT':\n msgWarning(`${context.files.map((t) => t.name).join(',')} ${t('fileSizeExceedsLimit')}`)\n break\n }\n }\n\n const reFormatResponse: typeof formatResponse = (res, context) => {\n if (formatResponse) return formatResponse(res, context)\n\n if (res.code === 200) {\n const { url, ossId, fileName, uploadTime } = res.data || {}\n return {\n success: true,\n url,\n name: fileName,\n ossId,\n uploadTime: uploadTime || dayjs().format('YYYY-MM-DD HH:mm:ss')\n }\n }\n\n return { status: 'fail', error: res.message || res.msg || t('fileUploadFailed') }\n }\n\n const reOnSuccess: typeof onSuccess = (context) => {\n onSuccess?.(context)\n updateModelValue(fileList.value)\n }\n\n const reOnRemove: typeof onRemove = (context) => {\n onRemove?.(context)\n const { ossId } = context.file?.response || {}\n\n if (ossId) {\n if (props.autoUpload) to(handleDel(ossId))\n else addDel(ossId)\n }\n\n updateModelValue(fileList.value)\n }\n\n const handlePopupRemove: typeof onRemove = (context) => {\n reOnRemove(context)\n if (isEmpty(context.index)) return\n\n fileList.value.splice(context.index, 1)\n }\n\n const reUploadOptions = {\n action: actionUrl,\n theme: ['custom', 'file', 'file-input', 'file-flow', 'image', 'image-flow'].includes(theme)\n ? theme\n : 'custom',\n sizeLimit: reSizeLimit,\n accept: acceptStr,\n multiple: multiple ?? props.max !== 1,\n disabled: onlyView ? true : (disabled ?? (tdDisabled.value || tdReadonly.value)),\n beforeUpload: reBeforeUpload,\n onValidate: reOnValidate,\n formatResponse: reFormatResponse,\n onSuccess: reOnSuccess,\n onRemove: reOnRemove,\n showImageFileName: onlyView ? false : showImageFileName,\n showUploadProgress: onlyView ? false : showUploadProgress,\n draggable: onlyView ? false : draggable,\n ...uploadOptions\n } as TdUploadProps\n\n if (globalUploadPropsV) {\n Object.entries(globalUploadPropsV).forEach(([key, value]) => {\n if (['action'].includes(key) || isEmpty(value)) return\n ;(reUploadOptions as Record<string, unknown>)[key] = value\n })\n }\n\n return {\n theme,\n convStr,\n valueMode,\n accept,\n handlePopupRemove,\n onlyView,\n listOssByIds: {\n ...globalUploadPropsV?.listOssByIds,\n ...listOssByIds\n } as Props['listOssByIds'],\n listOssByUrls: {\n ...globalUploadPropsV?.listOssByUrls,\n ...listOssByUrls\n } as Props['listOssByUrls'],\n del: { ...globalUploadPropsV?.del, ...del } as Props['del'],\n uploadOptions: reUploadOptions,\n models: {\n modelValue,\n files\n }\n }\n })\n\n const expose = {} as QdUploadInstanceFunctions\n\n const uploadFiles: QdUploadInstanceFunctions['uploadFiles'] = (options) => {\n uploadRef.value?.uploadFiles(options?.files)\n\n return new Promise((resolve, reject) => {\n uploadTimer.value = setInterval(() => {\n const isFinished = fileList.value.every((item) => item.status !== 'progress')\n if (!isFinished) return\n\n clearUploadTimer()\n updateModelValue(fileList.value)\n\n const errorList = fileList.value.filter((item) => item.status === 'fail')\n if (errorList.length) {\n const msg = `${errorList.map((item) => item.name).join(',')} ${t('fileUploadFailed')}`\n if (options?.showErrorMessage !== false) {\n msgError(msg)\n }\n reject(new Error(msg))\n return\n }\n\n resolve(fileList.value)\n }, 100)\n })\n }\n\n function updateModelValue(files: UploadFile[]) {\n const tempModelValue: typeof reModelValue.value = []\n files.forEach((item) => {\n if (item.status !== 'success') return\n tempModelValue.push(item.response![reProps.value.valueMode])\n })\n reModelValue.value = tempModelValue\n }\n\n async function handleDel(\n ossId: string | number | (string | number)[],\n showErrorMessage?: boolean\n ) {\n const { del } = reProps.value\n if (!del) return\n\n const { service, transformParams, transformRes } = del\n\n const currentParams = ossId\n let tParams: TDP | undefined\n\n if (transformParams) {\n const [trErr, trRes] = await suspectedWrapperPromise(transformParams(currentParams as DP))\n if (trErr) throw trErr\n\n tParams = trRes\n }\n\n const [serviceErr, serviceRes] = await to(service(tParams || (currentParams as unknown as TDP)))\n if (serviceErr) throw serviceErr\n\n let res: QdUploadDeleteResult | undefined\n if (transformRes) {\n const [trErr, trRes] = await suspectedWrapperPromise(transformRes(serviceRes))\n if (trErr) throw trErr\n\n res = trRes\n } else {\n res = serviceRes as QdUploadDeleteResult\n }\n\n if (typeof res === 'boolean') {\n res = { success: res, message: '' }\n }\n\n if (!res) {\n res = { success: true, message: '' }\n }\n\n const message = res.message\n if (res.success === false) {\n if (message && showErrorMessage !== false) msgError(message)\n throw new Error(message)\n }\n }\n\n async function addDel(ossId: string | number) {\n delList.value.push(ossId)\n }\n\n async function getOssByIds(ossId: string | number | (string | number)[]) {\n const { listOssByIds } = reProps.value\n if (!listOssByIds) return []\n\n const { service, transformParams, transformRes } = listOssByIds\n\n const currentParams = ossId\n let tParams: TOP | undefined\n\n if (transformParams) {\n const [trErr, trRes] = await suspectedWrapperPromise(transformParams(currentParams as OP))\n if (trErr) throw trErr\n\n tParams = trRes\n }\n\n const [serviceErr, serviceRes] = await to(service(tParams || (currentParams as unknown as TOP)))\n if (serviceErr) throw serviceErr\n\n let res: QdUploadListOssByIdsResult | undefined\n if (transformRes) {\n const [trErr, trRes] = await suspectedWrapperPromise(transformRes(serviceRes))\n if (trErr) throw trErr\n\n res = trRes\n } else {\n res = serviceRes as QdUploadListOssByIdsResult\n }\n\n return res\n }\n\n async function getOssByUrls(ossId: string | string[]) {\n const { listOssByUrls } = reProps.value\n if (!listOssByUrls) return []\n\n const { service, transformParams, transformRes } = listOssByUrls\n\n const currentParams = ossId\n let tParams: TUP | undefined\n\n if (transformParams) {\n const [trErr, trRes] = await suspectedWrapperPromise(transformParams(currentParams as UP))\n if (trErr) throw trErr\n\n tParams = trRes\n }\n\n const [serviceErr, serviceRes] = await to(service(tParams || (currentParams as unknown as TUP)))\n if (serviceErr) throw serviceErr\n\n let res: QdUploadListOssByIdsResult | undefined\n if (transformRes) {\n const [trErr, trRes] = await suspectedWrapperPromise(transformRes(serviceRes))\n if (trErr) throw trErr\n\n res = trRes\n } else {\n res = serviceRes as QdUploadListOssByIdsResult\n }\n\n return res\n }\n\n async function uploadBeforeFormSubmit() {\n const [err] = await to(uploadFiles({ showErrorMessage: false }))\n if (err) return { success: false, message: err.message }\n return true\n }\n\n async function delBeforeFormSubmit() {\n if (!delList.value.length) return true\n\n const [err] = await to(handleDel(delList.value, false))\n if (err) return true\n return true\n }\n\n formAddBeforeSubmitQueue?.(uploadBeforeFormSubmit)\n formAddBeforeSubmitQueue?.(delBeforeFormSubmit)\n\n watch(\n reModelValue,\n async (newVal, oldVal) => {\n if (!newVal.length || checkSameObject(newVal, oldVal) || fileList.value.length) return\n\n const { valueMode } = reProps.value\n const apiFn = valueMode === 'url' ? getOssByUrls : getOssByIds\n const [err, res] = await to(apiFn(newVal))\n if (err) return\n\n fileList.value = res.map((item) => {\n const { url, ossId, originalName, size, createTime } = item\n\n return {\n url,\n uid: ossId,\n name: originalName,\n size,\n uploadTime: createTime,\n response: { status: 'success', url, ossId, name: originalName, uploadTime: createTime },\n status: 'success'\n }\n }) as unknown as F[]\n },\n { deep: true, immediate: true }\n )\n\n onMounted(() => {\n Object.assign(expose, uploadRef.value, { uploadFiles })\n })\n\n defineExpose(expose)\n</script>\n\n<style lang=\"less\" scoped>\n .qd-upload {\n :deep(.t-upload) {\n &__dragger {\n min-width: 336px;\n min-height: 144px;\n width: 100%;\n height: 100%;\n }\n }\n\n &--only-view {\n :deep(.t-upload) {\n &__flow-op,\n &__trigger,\n &__flow-bottom {\n display: none;\n }\n\n &__flow-table,\n &__flow-card-area {\n margin-top: 0;\n }\n\n .t-image-viewer__trigger {\n display: none;\n }\n\n &__card {\n .t-upload__card-item.t-is-background:last-child {\n display: none;\n }\n }\n }\n }\n }\n</style>\n"],"names":["modelValue","t","_openBlock","_createBlock","_unref","_mergeProps","_createSlots","TSpace","_createVNode","TButton","_toDisplayString","TPopup","TUpload","_createElementVNode","TBadge","_createTextVNode","$slots","_withCtx","_renderSlot","_normalizeProps","_guardReactiveProps"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkHE,UAAM,QAAQ;AACd,UAAM,OAAO;AAIb,UAAM,EAAE,YAAY,OAAO,aAAa,WAA4C,OAAO,MAAM;AAAA,MAC/F,SAAS;AAAA,IAAA,CACV;AAED,UAAM,eAAe,SAAS;AAAA,MAC5B,KAAK,MAAM;AACT,cAAM,EAAE,YAAY,QAAQ;AAC5B,cAAM,QAAQ,WAAW;AACzB,YAAI,QAAQ,KAAK,EAAG,QAAO,CAAA;AAC3B,YAAI,OAAO,UAAU,UAAU;AAC7B,iBAAO,MAAM,OAAO,OAAO,YAAY,WAAW,UAAU,OAAO,sBAAsB;AAAA,QAC3F;AAEA,eAAO;AAAA,MACT;AAAA,MACA,KAAK,CAAC,QAAQ;AACZ,cAAM,EAAE,YAAY,QAAQ;AAC5B,YAAI,SAAS;AACX,qBAAW,QAAQ,IAAI;AAAA,aACpB,OAA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AA,oBAAQ,MAAK;AAAA,oBAAS,QAAQ,CAAA,GAAA,CAAA;AAAA,oBAAS,iDAAD,MAAA;AAAA,oBAAA,GAAW,CAAA,MAAA,CAAA;AAAA,kBAAA;qCACzE,MAGW;AAAA,sBAHXI,YAGWJ,MAAAK,MAAA,GAAA,EAHD,SAAQ,aAAS;AAAA,wBACd,cAAK,MAAe;AAAA,0BAAfD,YAAeJ,MAAA,UAAA,CAAA;AAAA,wBAAA;yCAAW,MAC1C;AAAA,0BAD0CW,gBAAA,sBACvCX,MAAA,CAAA,EAAC,cAAA,CAAA,GAAA,CAAA;AAAA,wBAAA;;;;;;;;;;;;;;;mBAkBgBY,KAAAA,QAAM,CAAlB,GAAG,SAAI;;;YACvB,IAAAC,QAAA,CAD6C,cAAS;AAAA,cACtDC,WAAwC,KAAA,QAA3B,MAAIC,eAAAC,mBAAU,SAAS,CAAA,GAAA,QAAA,IAAA;AAAA,YAAA;;;;;;;"}
@@ -0,0 +1,27 @@
1
+ export declare const qdUploadProps: {
2
+ readonly modelValue: () => never[];
3
+ readonly files: () => never[];
4
+ readonly convStr: false;
5
+ readonly valueMode: "ossId";
6
+ readonly theme: "file";
7
+ readonly draggable: undefined;
8
+ readonly autoUpload: false;
9
+ readonly allowUploadDuplicateFile: true;
10
+ readonly isBatchUpload: false;
11
+ readonly uploadAllFilesInOneRequest: false;
12
+ readonly method: "POST";
13
+ readonly multiple: undefined;
14
+ readonly name: "file";
15
+ readonly disabled: undefined;
16
+ readonly showImageFileName: true;
17
+ readonly showThumbnail: true;
18
+ readonly showUploadProgress: true;
19
+ readonly uploadPastedFiles: true;
20
+ readonly useMockProgress: true;
21
+ readonly withCredentials: false;
22
+ readonly del: undefined;
23
+ };
24
+ export declare const qdUploadSizeLimit: {
25
+ size: number;
26
+ unit: string;
27
+ };
@@ -0,0 +1,32 @@
1
+ const qdUploadProps = {
2
+ modelValue: () => [],
3
+ files: () => [],
4
+ convStr: false,
5
+ valueMode: "ossId",
6
+ theme: "file",
7
+ draggable: void 0,
8
+ autoUpload: false,
9
+ allowUploadDuplicateFile: true,
10
+ isBatchUpload: false,
11
+ uploadAllFilesInOneRequest: false,
12
+ method: "POST",
13
+ multiple: void 0,
14
+ name: "file",
15
+ disabled: void 0,
16
+ showImageFileName: true,
17
+ showThumbnail: true,
18
+ showUploadProgress: true,
19
+ uploadPastedFiles: true,
20
+ useMockProgress: true,
21
+ withCredentials: false,
22
+ del: void 0
23
+ };
24
+ const qdUploadSizeLimit = {
25
+ size: 5,
26
+ unit: "MB"
27
+ };
28
+ export {
29
+ qdUploadProps,
30
+ qdUploadSizeLimit
31
+ };
32
+ //# sourceMappingURL=props.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"props.mjs","sources":["../../../src/components/upload/props.ts"],"sourcesContent":["export const qdUploadProps = {\n modelValue: () => [],\n files: () => [],\n convStr: false,\n valueMode: 'ossId',\n theme: 'file',\n draggable: undefined,\n autoUpload: false,\n allowUploadDuplicateFile: true,\n isBatchUpload: false,\n uploadAllFilesInOneRequest: false,\n method: 'POST',\n multiple: undefined,\n name: 'file',\n disabled: undefined,\n showImageFileName: true,\n showThumbnail: true,\n showUploadProgress: true,\n uploadPastedFiles: true,\n useMockProgress: true,\n withCredentials: false,\n del: undefined\n} as const\n\nexport const qdUploadSizeLimit = {\n size: 5,\n unit: 'MB'\n}\n"],"names":[],"mappings":"AAAO,MAAM,gBAAgB;AAAA,EAC3B,YAAY,MAAM,CAAA;AAAA,EAClB,OAAO,MAAM,CAAA;AAAA,EACb,SAAS;AAAA,EACT,WAAW;AAAA,EACX,OAAO;AAAA,EACP,WAAW;AAAA,EACX,YAAY;AAAA,EACZ,0BAA0B;AAAA,EAC1B,eAAe;AAAA,EACf,4BAA4B;AAAA,EAC5B,QAAQ;AAAA,EACR,UAAU;AAAA,EACV,MAAM;AAAA,EACN,UAAU;AAAA,EACV,mBAAmB;AAAA,EACnB,eAAe;AAAA,EACf,oBAAoB;AAAA,EACpB,mBAAmB;AAAA,EACnB,iBAAiB;AAAA,EACjB,iBAAiB;AAAA,EACjB,KAAK;AACP;AAEO,MAAM,oBAAoB;AAAA,EAC/B,MAAM;AAAA,EACN,MAAM;AACR;"}