qidian-vue-ui 1.1.21 → 1.1.22

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 (568) hide show
  1. package/package.json +1 -1
  2. package/dist/_virtual/_commonjsHelpers.mjs +0 -7
  3. package/dist/_virtual/_commonjsHelpers.mjs.map +0 -1
  4. package/dist/_virtual/_plugin-vue_export-helper.mjs +0 -11
  5. package/dist/_virtual/_plugin-vue_export-helper.mjs.map +0 -1
  6. package/dist/_virtual/dayjs.min.mjs +0 -8
  7. package/dist/_virtual/dayjs.min.mjs.map +0 -1
  8. package/dist/_virtual/dayjs.min2.mjs +0 -5
  9. package/dist/_virtual/dayjs.min2.mjs.map +0 -1
  10. package/dist/components/auto-tooltip/index.d.ts +0 -2
  11. package/dist/components/auto-tooltip/index.vue.d.ts +0 -25
  12. package/dist/components/auto-tooltip/index.vue.mjs +0 -8
  13. package/dist/components/auto-tooltip/index.vue.mjs.map +0 -1
  14. package/dist/components/auto-tooltip/index.vue2.mjs +0 -81
  15. package/dist/components/auto-tooltip/index.vue2.mjs.map +0 -1
  16. package/dist/components/auto-tooltip/types.d.ts +0 -9
  17. package/dist/components/avatar/index.d.ts +0 -2
  18. package/dist/components/avatar/index.vue.d.ts +0 -17
  19. package/dist/components/avatar/index.vue.mjs +0 -8
  20. package/dist/components/avatar/index.vue.mjs.map +0 -1
  21. package/dist/components/avatar/index.vue2.mjs +0 -107
  22. package/dist/components/avatar/index.vue2.mjs.map +0 -1
  23. package/dist/components/avatar/props.d.ts +0 -5
  24. package/dist/components/avatar/props.mjs +0 -11
  25. package/dist/components/avatar/props.mjs.map +0 -1
  26. package/dist/components/avatar/types.d.ts +0 -9
  27. package/dist/components/card/index.d.ts +0 -2
  28. package/dist/components/card/index.vue.d.ts +0 -15
  29. package/dist/components/card/index.vue.mjs +0 -8
  30. package/dist/components/card/index.vue.mjs.map +0 -1
  31. package/dist/components/card/index.vue2.mjs +0 -89
  32. package/dist/components/card/index.vue2.mjs.map +0 -1
  33. package/dist/components/card/props.d.ts +0 -3
  34. package/dist/components/card/props.mjs +0 -7
  35. package/dist/components/card/props.mjs.map +0 -1
  36. package/dist/components/card/types.d.ts +0 -4
  37. package/dist/components/config-provider/config.d.ts +0 -8
  38. package/dist/components/config-provider/config.mjs +0 -15
  39. package/dist/components/config-provider/config.mjs.map +0 -1
  40. package/dist/components/config-provider/index.d.ts +0 -217
  41. package/dist/components/config-provider/index.mjs +0 -98
  42. package/dist/components/config-provider/index.mjs.map +0 -1
  43. package/dist/components/config-provider/types.d.ts +0 -82
  44. package/dist/components/config-provider/useConfig.d.ts +0 -241
  45. package/dist/components/config-provider/useConfig.mjs +0 -26
  46. package/dist/components/config-provider/useConfig.mjs.map +0 -1
  47. package/dist/components/config-renderer/compute.d.ts +0 -8
  48. package/dist/components/config-renderer/compute.mjs +0 -68
  49. package/dist/components/config-renderer/compute.mjs.map +0 -1
  50. package/dist/components/config-renderer/index.d.ts +0 -4
  51. package/dist/components/config-renderer/index.vue.d.ts +0 -7
  52. package/dist/components/config-renderer/index.vue.mjs +0 -126
  53. package/dist/components/config-renderer/index.vue.mjs.map +0 -1
  54. package/dist/components/config-renderer/index.vue2.mjs +0 -5
  55. package/dist/components/config-renderer/index.vue2.mjs.map +0 -1
  56. package/dist/components/config-renderer/types.d.ts +0 -39
  57. package/dist/components/config-renderer/utils.d.ts +0 -15
  58. package/dist/components/config-renderer/utils.mjs +0 -49
  59. package/dist/components/config-renderer/utils.mjs.map +0 -1
  60. package/dist/components/crud/define.d.ts +0 -5
  61. package/dist/components/crud/define.mjs +0 -11
  62. package/dist/components/crud/define.mjs.map +0 -1
  63. package/dist/components/crud/index.d.ts +0 -5
  64. package/dist/components/crud/list.vue.d.ts +0 -29
  65. package/dist/components/crud/list.vue.mjs +0 -8
  66. package/dist/components/crud/list.vue.mjs.map +0 -1
  67. package/dist/components/crud/list.vue2.mjs +0 -199
  68. package/dist/components/crud/list.vue2.mjs.map +0 -1
  69. package/dist/components/crud/props.d.ts +0 -70
  70. package/dist/components/crud/props.mjs +0 -37
  71. package/dist/components/crud/props.mjs.map +0 -1
  72. package/dist/components/crud/search.vue.d.ts +0 -44
  73. package/dist/components/crud/search.vue.mjs +0 -8
  74. package/dist/components/crud/search.vue.mjs.map +0 -1
  75. package/dist/components/crud/search.vue2.mjs +0 -98
  76. package/dist/components/crud/search.vue2.mjs.map +0 -1
  77. package/dist/components/crud/table.vue.d.ts +0 -35
  78. package/dist/components/crud/table.vue.mjs +0 -8
  79. package/dist/components/crud/table.vue.mjs.map +0 -1
  80. package/dist/components/crud/table.vue2.mjs +0 -1041
  81. package/dist/components/crud/table.vue2.mjs.map +0 -1
  82. package/dist/components/crud/types.d.ts +0 -70
  83. package/dist/components/dialog/form.vue.d.ts +0 -22
  84. package/dist/components/dialog/form.vue.mjs +0 -175
  85. package/dist/components/dialog/form.vue.mjs.map +0 -1
  86. package/dist/components/dialog/form.vue2.mjs +0 -5
  87. package/dist/components/dialog/form.vue2.mjs.map +0 -1
  88. package/dist/components/dialog/index.d.ts +0 -3
  89. package/dist/components/dialog/index.vue.d.ts +0 -35
  90. package/dist/components/dialog/index.vue.mjs +0 -111
  91. package/dist/components/dialog/index.vue.mjs.map +0 -1
  92. package/dist/components/dialog/index.vue3.mjs +0 -6
  93. package/dist/components/dialog/index.vue3.mjs.map +0 -1
  94. package/dist/components/dialog/props.d.ts +0 -58
  95. package/dist/components/dialog/props.mjs +0 -26
  96. package/dist/components/dialog/props.mjs.map +0 -1
  97. package/dist/components/dialog/types.d.ts +0 -18
  98. package/dist/components/dict/checkbox-group.vue.d.ts +0 -15
  99. package/dist/components/dict/checkbox-group.vue.mjs +0 -8
  100. package/dist/components/dict/checkbox-group.vue.mjs.map +0 -1
  101. package/dist/components/dict/checkbox-group.vue2.mjs +0 -78
  102. package/dist/components/dict/checkbox-group.vue2.mjs.map +0 -1
  103. package/dist/components/dict/index.d.ts +0 -5
  104. package/dist/components/dict/props.d.ts +0 -32
  105. package/dist/components/dict/props.mjs +0 -40
  106. package/dist/components/dict/props.mjs.map +0 -1
  107. package/dist/components/dict/radio-group.vue.d.ts +0 -13
  108. package/dist/components/dict/radio-group.vue.mjs +0 -8
  109. package/dist/components/dict/radio-group.vue.mjs.map +0 -1
  110. package/dist/components/dict/radio-group.vue2.mjs +0 -60
  111. package/dist/components/dict/radio-group.vue2.mjs.map +0 -1
  112. package/dist/components/dict/select.vue.d.ts +0 -31
  113. package/dist/components/dict/select.vue.mjs +0 -166
  114. package/dist/components/dict/select.vue.mjs.map +0 -1
  115. package/dist/components/dict/select.vue2.mjs +0 -5
  116. package/dist/components/dict/select.vue2.mjs.map +0 -1
  117. package/dist/components/dict/tag.vue.d.ts +0 -40
  118. package/dist/components/dict/tag.vue.mjs +0 -8
  119. package/dist/components/dict/tag.vue.mjs.map +0 -1
  120. package/dist/components/dict/tag.vue2.mjs +0 -98
  121. package/dist/components/dict/tag.vue2.mjs.map +0 -1
  122. package/dist/components/dict/types.d.ts +0 -22
  123. package/dist/components/form/config.d.ts +0 -3
  124. package/dist/components/form/config.mjs +0 -5
  125. package/dist/components/form/config.mjs.map +0 -1
  126. package/dist/components/form/index.d.ts +0 -5
  127. package/dist/components/form/index.vue.d.ts +0 -30
  128. package/dist/components/form/index.vue.mjs +0 -187
  129. package/dist/components/form/index.vue.mjs.map +0 -1
  130. package/dist/components/form/index.vue2.mjs +0 -5
  131. package/dist/components/form/index.vue2.mjs.map +0 -1
  132. package/dist/components/form/item.vue.d.ts +0 -23
  133. package/dist/components/form/item.vue.mjs +0 -8
  134. package/dist/components/form/item.vue.mjs.map +0 -1
  135. package/dist/components/form/item.vue2.mjs +0 -106
  136. package/dist/components/form/item.vue2.mjs.map +0 -1
  137. package/dist/components/form/props.d.ts +0 -45
  138. package/dist/components/form/props.mjs +0 -43
  139. package/dist/components/form/props.mjs.map +0 -1
  140. package/dist/components/form/types.d.ts +0 -26
  141. package/dist/components/grid/config.d.ts +0 -15
  142. package/dist/components/grid/config.mjs +0 -27
  143. package/dist/components/grid/config.mjs.map +0 -1
  144. package/dist/components/grid/index.d.ts +0 -4
  145. package/dist/components/grid/index.vue.d.ts +0 -19
  146. package/dist/components/grid/index.vue.mjs +0 -8
  147. package/dist/components/grid/index.vue.mjs.map +0 -1
  148. package/dist/components/grid/index.vue2.mjs +0 -58
  149. package/dist/components/grid/index.vue2.mjs.map +0 -1
  150. package/dist/components/grid/item.vue.d.ts +0 -18
  151. package/dist/components/grid/item.vue.mjs +0 -8
  152. package/dist/components/grid/item.vue.mjs.map +0 -1
  153. package/dist/components/grid/item.vue2.mjs +0 -73
  154. package/dist/components/grid/item.vue2.mjs.map +0 -1
  155. package/dist/components/grid/types.d.ts +0 -12
  156. package/dist/components/index.d.ts +0 -14
  157. package/dist/components/office/index.d.ts +0 -1
  158. package/dist/components/office/pdf/config.d.ts +0 -6
  159. package/dist/components/office/pdf/config.mjs +0 -9
  160. package/dist/components/office/pdf/config.mjs.map +0 -1
  161. package/dist/components/office/pdf/hooks/useZoom.d.ts +0 -21
  162. package/dist/components/office/pdf/hooks/useZoom.mjs +0 -200
  163. package/dist/components/office/pdf/hooks/useZoom.mjs.map +0 -1
  164. package/dist/components/office/pdf/index.d.ts +0 -2
  165. package/dist/components/office/pdf/index.vue.d.ts +0 -11
  166. package/dist/components/office/pdf/index.vue.mjs +0 -8
  167. package/dist/components/office/pdf/index.vue.mjs.map +0 -1
  168. package/dist/components/office/pdf/index.vue2.mjs +0 -322
  169. package/dist/components/office/pdf/index.vue2.mjs.map +0 -1
  170. package/dist/components/office/pdf/types.d.ts +0 -17
  171. package/dist/components/org/index.d.ts +0 -2
  172. package/dist/components/org/select/index.vue.d.ts +0 -28
  173. package/dist/components/org/select/index.vue.mjs +0 -273
  174. package/dist/components/org/select/index.vue.mjs.map +0 -1
  175. package/dist/components/org/select/index.vue3.mjs +0 -6
  176. package/dist/components/org/select/index.vue3.mjs.map +0 -1
  177. package/dist/components/org/select/props.d.ts +0 -22
  178. package/dist/components/org/select/props.mjs +0 -19
  179. package/dist/components/org/select/props.mjs.map +0 -1
  180. package/dist/components/org/select/types.d.ts +0 -22
  181. package/dist/components/service/index.d.ts +0 -4
  182. package/dist/components/service/list.vue.d.ts +0 -26
  183. package/dist/components/service/list.vue.mjs +0 -8
  184. package/dist/components/service/list.vue.mjs.map +0 -1
  185. package/dist/components/service/list.vue2.mjs +0 -251
  186. package/dist/components/service/list.vue2.mjs.map +0 -1
  187. package/dist/components/service/props.d.ts +0 -58
  188. package/dist/components/service/props.mjs +0 -66
  189. package/dist/components/service/props.mjs.map +0 -1
  190. package/dist/components/service/select.vue.d.ts +0 -30
  191. package/dist/components/service/select.vue.mjs +0 -8
  192. package/dist/components/service/select.vue.mjs.map +0 -1
  193. package/dist/components/service/select.vue2.mjs +0 -407
  194. package/dist/components/service/select.vue2.mjs.map +0 -1
  195. package/dist/components/service/table.vue.d.ts +0 -29
  196. package/dist/components/service/table.vue.mjs +0 -8
  197. package/dist/components/service/table.vue.mjs.map +0 -1
  198. package/dist/components/service/table.vue2.mjs +0 -693
  199. package/dist/components/service/table.vue2.mjs.map +0 -1
  200. package/dist/components/service/types.d.ts +0 -44
  201. package/dist/components/upload/config.d.ts +0 -4
  202. package/dist/components/upload/config.mjs +0 -37
  203. package/dist/components/upload/config.mjs.map +0 -1
  204. package/dist/components/upload/index.d.ts +0 -3
  205. package/dist/components/upload/index.vue.d.ts +0 -21
  206. package/dist/components/upload/index.vue.mjs +0 -8
  207. package/dist/components/upload/index.vue.mjs.map +0 -1
  208. package/dist/components/upload/index.vue2.mjs +0 -526
  209. package/dist/components/upload/index.vue2.mjs.map +0 -1
  210. package/dist/components/upload/props.d.ts +0 -27
  211. package/dist/components/upload/props.mjs +0 -32
  212. package/dist/components/upload/props.mjs.map +0 -1
  213. package/dist/components/upload/types.d.ts +0 -43
  214. package/dist/directive/hasPermi.d.ts +0 -12
  215. package/dist/directive/hasPermi.mjs +0 -33
  216. package/dist/directive/hasPermi.mjs.map +0 -1
  217. package/dist/directive/hasRole.d.ts +0 -12
  218. package/dist/directive/hasRole.mjs +0 -33
  219. package/dist/directive/hasRole.mjs.map +0 -1
  220. package/dist/directive/index.d.ts +0 -2
  221. package/dist/hooks/index.d.ts +0 -6
  222. package/dist/hooks/useAgentChat/index.d.ts +0 -15
  223. package/dist/hooks/useAgentChat/index.mjs +0 -202
  224. package/dist/hooks/useAgentChat/index.mjs.map +0 -1
  225. package/dist/hooks/useAgentChat/types.d.ts +0 -46
  226. package/dist/hooks/useDict/index.d.ts +0 -18
  227. package/dist/hooks/useDict/index.mjs +0 -137
  228. package/dist/hooks/useDict/index.mjs.map +0 -1
  229. package/dist/hooks/useDict/types.d.ts +0 -13
  230. package/dist/hooks/useDisabled.d.ts +0 -5
  231. package/dist/hooks/useDisabled.mjs +0 -18
  232. package/dist/hooks/useDisabled.mjs.map +0 -1
  233. package/dist/hooks/useModal.d.ts +0 -35
  234. package/dist/hooks/useModal.mjs +0 -179
  235. package/dist/hooks/useModal.mjs.map +0 -1
  236. package/dist/hooks/useReadonly.d.ts +0 -5
  237. package/dist/hooks/useReadonly.mjs +0 -18
  238. package/dist/hooks/useReadonly.mjs.map +0 -1
  239. package/dist/hooks/useUserAvatar/index.d.ts +0 -5
  240. package/dist/hooks/useUserAvatar/index.mjs +0 -38
  241. package/dist/hooks/useUserAvatar/index.mjs.map +0 -1
  242. package/dist/hooks/useUserAvatar/types.d.ts +0 -3
  243. package/dist/index.d.ts +0 -5
  244. package/dist/index.mjs +0 -99
  245. package/dist/index.mjs.map +0 -1
  246. package/dist/locales/en-US.d.ts +0 -316
  247. package/dist/locales/en-US.mjs +0 -71
  248. package/dist/locales/en-US.mjs.map +0 -1
  249. package/dist/locales/zh-CN.d.ts +0 -316
  250. package/dist/locales/zh-CN.mjs +0 -68
  251. package/dist/locales/zh-CN.mjs.map +0 -1
  252. package/dist/locales/zh-TW.d.ts +0 -316
  253. package/dist/locales/zh-TW.mjs +0 -68
  254. package/dist/locales/zh-TW.mjs.map +0 -1
  255. package/dist/node_modules/.pnpm/@microsoft_fetch-event-source@2.0.1/node_modules/@microsoft/fetch-event-source/lib/esm/fetch.mjs +0 -90
  256. package/dist/node_modules/.pnpm/@microsoft_fetch-event-source@2.0.1/node_modules/@microsoft/fetch-event-source/lib/esm/fetch.mjs.map +0 -1
  257. package/dist/node_modules/.pnpm/@microsoft_fetch-event-source@2.0.1/node_modules/@microsoft/fetch-event-source/lib/esm/parse.mjs +0 -110
  258. package/dist/node_modules/.pnpm/@microsoft_fetch-event-source@2.0.1/node_modules/@microsoft/fetch-event-source/lib/esm/parse.mjs.map +0 -1
  259. 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 +0 -62
  260. 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 +0 -1
  261. 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 +0 -67
  262. 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 +0 -1
  263. package/dist/node_modules/.pnpm/dayjs@1.11.19/node_modules/dayjs/dayjs.min.mjs +0 -287
  264. package/dist/node_modules/.pnpm/dayjs@1.11.19/node_modules/dayjs/dayjs.min.mjs.map +0 -1
  265. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_DataView.mjs +0 -7
  266. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_DataView.mjs.map +0 -1
  267. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Hash.mjs +0 -22
  268. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Hash.mjs.map +0 -1
  269. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_ListCache.mjs +0 -22
  270. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_ListCache.mjs.map +0 -1
  271. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Map.mjs +0 -7
  272. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Map.mjs.map +0 -1
  273. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_MapCache.mjs +0 -22
  274. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_MapCache.mjs.map +0 -1
  275. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Promise.mjs +0 -7
  276. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Promise.mjs.map +0 -1
  277. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Set.mjs +0 -7
  278. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Set.mjs.map +0 -1
  279. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Stack.mjs +0 -19
  280. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Stack.mjs.map +0 -1
  281. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Symbol.mjs +0 -6
  282. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Symbol.mjs.map +0 -1
  283. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Uint8Array.mjs +0 -6
  284. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Uint8Array.mjs.map +0 -1
  285. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_WeakMap.mjs +0 -7
  286. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_WeakMap.mjs.map +0 -1
  287. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_apply.mjs +0 -17
  288. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_apply.mjs.map +0 -1
  289. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayEach.mjs +0 -13
  290. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayEach.mjs.map +0 -1
  291. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayFilter.mjs +0 -14
  292. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayFilter.mjs.map +0 -1
  293. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayLikeKeys.mjs +0 -25
  294. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayLikeKeys.mjs.map +0 -1
  295. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayMap.mjs +0 -11
  296. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayMap.mjs.map +0 -1
  297. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayPush.mjs +0 -11
  298. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayPush.mjs.map +0 -1
  299. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assignMergeValue.mjs +0 -11
  300. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assignMergeValue.mjs.map +0 -1
  301. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assignValue.mjs +0 -14
  302. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assignValue.mjs.map +0 -1
  303. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assocIndexOf.mjs +0 -14
  304. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assocIndexOf.mjs.map +0 -1
  305. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseAssignValue.mjs +0 -17
  306. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseAssignValue.mjs.map +0 -1
  307. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseClone.mjs +0 -75
  308. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseClone.mjs.map +0 -1
  309. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseCreate.mjs +0 -22
  310. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseCreate.mjs.map +0 -1
  311. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseFor.mjs +0 -6
  312. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseFor.mjs.map +0 -1
  313. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGet.mjs +0 -14
  314. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGet.mjs.map +0 -1
  315. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGetAllKeys.mjs +0 -10
  316. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGetAllKeys.mjs.map +0 -1
  317. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGetTag.mjs +0 -15
  318. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGetTag.mjs.map +0 -1
  319. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsArguments.mjs +0 -10
  320. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsArguments.mjs.map +0 -1
  321. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsMap.mjs +0 -10
  322. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsMap.mjs.map +0 -1
  323. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsNative.mjs +0 -23
  324. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsNative.mjs.map +0 -1
  325. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsSet.mjs +0 -10
  326. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsSet.mjs.map +0 -1
  327. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsTypedArray.mjs +0 -15
  328. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsTypedArray.mjs.map +0 -1
  329. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseKeys.mjs +0 -20
  330. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseKeys.mjs.map +0 -1
  331. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseKeysIn.mjs +0 -21
  332. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseKeysIn.mjs.map +0 -1
  333. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMerge.mjs +0 -28
  334. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMerge.mjs.map +0 -1
  335. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMergeDeep.mjs +0 -62
  336. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMergeDeep.mjs.map +0 -1
  337. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseRest.mjs +0 -10
  338. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseRest.mjs.map +0 -1
  339. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseSet.mjs +0 -32
  340. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseSet.mjs.map +0 -1
  341. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseSetToString.mjs +0 -15
  342. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseSetToString.mjs.map +0 -1
  343. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseTimes.mjs +0 -11
  344. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseTimes.mjs.map +0 -1
  345. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseToString.mjs +0 -22
  346. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseToString.mjs.map +0 -1
  347. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseUnary.mjs +0 -9
  348. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseUnary.mjs.map +0 -1
  349. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_castPath.mjs +0 -14
  350. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_castPath.mjs.map +0 -1
  351. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneArrayBuffer.mjs +0 -10
  352. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneArrayBuffer.mjs.map +0 -1
  353. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneBuffer.mjs +0 -17
  354. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneBuffer.mjs.map +0 -1
  355. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneDataView.mjs +0 -9
  356. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneDataView.mjs.map +0 -1
  357. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneRegExp.mjs +0 -10
  358. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneRegExp.mjs.map +0 -1
  359. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneSymbol.mjs +0 -9
  360. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneSymbol.mjs.map +0 -1
  361. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneTypedArray.mjs +0 -9
  362. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneTypedArray.mjs.map +0 -1
  363. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copyArray.mjs +0 -12
  364. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copyArray.mjs.map +0 -1
  365. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copyObject.mjs +0 -24
  366. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copyObject.mjs.map +0 -1
  367. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_coreJsData.mjs +0 -6
  368. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_coreJsData.mjs.map +0 -1
  369. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createAssigner.mjs +0 -24
  370. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createAssigner.mjs.map +0 -1
  371. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createBaseFor.mjs +0 -16
  372. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createBaseFor.mjs.map +0 -1
  373. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_defineProperty.mjs +0 -13
  374. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_defineProperty.mjs.map +0 -1
  375. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_freeGlobal.mjs +0 -5
  376. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_freeGlobal.mjs.map +0 -1
  377. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getAllKeys.mjs +0 -10
  378. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getAllKeys.mjs.map +0 -1
  379. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getMapData.mjs +0 -9
  380. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getMapData.mjs.map +0 -1
  381. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getNative.mjs +0 -10
  382. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getNative.mjs.map +0 -1
  383. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getPrototype.mjs +0 -6
  384. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getPrototype.mjs.map +0 -1
  385. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getRawTag.mjs +0 -26
  386. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getRawTag.mjs.map +0 -1
  387. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getSymbols.mjs +0 -18
  388. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getSymbols.mjs.map +0 -1
  389. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getTag.mjs +0 -35
  390. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getTag.mjs.map +0 -1
  391. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getValue.mjs +0 -7
  392. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getValue.mjs.map +0 -1
  393. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashClear.mjs +0 -9
  394. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashClear.mjs.map +0 -1
  395. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashDelete.mjs +0 -9
  396. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashDelete.mjs.map +0 -1
  397. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashGet.mjs +0 -16
  398. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashGet.mjs.map +0 -1
  399. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashHas.mjs +0 -11
  400. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashHas.mjs.map +0 -1
  401. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashSet.mjs +0 -12
  402. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashSet.mjs.map +0 -1
  403. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneArray.mjs +0 -14
  404. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneArray.mjs.map +0 -1
  405. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneByTag.mjs +0 -44
  406. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneByTag.mjs.map +0 -1
  407. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneObject.mjs +0 -10
  408. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneObject.mjs.map +0 -1
  409. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isIndex.mjs +0 -11
  410. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isIndex.mjs.map +0 -1
  411. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isIterateeCall.mjs +0 -18
  412. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isIterateeCall.mjs.map +0 -1
  413. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isKey.mjs +0 -17
  414. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isKey.mjs.map +0 -1
  415. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isKeyable.mjs +0 -8
  416. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isKeyable.mjs.map +0 -1
  417. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isMasked.mjs +0 -12
  418. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isMasked.mjs.map +0 -1
  419. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isPrototype.mjs +0 -9
  420. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isPrototype.mjs.map +0 -1
  421. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheClear.mjs +0 -8
  422. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheClear.mjs.map +0 -1
  423. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheDelete.mjs +0 -21
  424. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheDelete.mjs.map +0 -1
  425. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheGet.mjs +0 -9
  426. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheGet.mjs.map +0 -1
  427. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheHas.mjs +0 -8
  428. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheHas.mjs.map +0 -1
  429. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheSet.mjs +0 -15
  430. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheSet.mjs.map +0 -1
  431. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheClear.mjs +0 -15
  432. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheClear.mjs.map +0 -1
  433. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheDelete.mjs +0 -10
  434. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheDelete.mjs.map +0 -1
  435. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheGet.mjs +0 -8
  436. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheGet.mjs.map +0 -1
  437. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheHas.mjs +0 -8
  438. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheHas.mjs.map +0 -1
  439. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheSet.mjs +0 -11
  440. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheSet.mjs.map +0 -1
  441. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_memoizeCapped.mjs +0 -16
  442. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_memoizeCapped.mjs.map +0 -1
  443. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeCreate.mjs +0 -6
  444. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeCreate.mjs.map +0 -1
  445. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeKeys.mjs +0 -6
  446. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeKeys.mjs.map +0 -1
  447. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeKeysIn.mjs +0 -13
  448. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeKeysIn.mjs.map +0 -1
  449. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nodeUtil.mjs +0 -19
  450. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nodeUtil.mjs.map +0 -1
  451. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_objectToString.mjs +0 -9
  452. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_objectToString.mjs.map +0 -1
  453. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_overArg.mjs +0 -9
  454. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_overArg.mjs.map +0 -1
  455. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_overRest.mjs +0 -22
  456. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_overRest.mjs.map +0 -1
  457. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_root.mjs +0 -7
  458. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_root.mjs.map +0 -1
  459. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_safeGet.mjs +0 -13
  460. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_safeGet.mjs.map +0 -1
  461. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setToString.mjs +0 -7
  462. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setToString.mjs.map +0 -1
  463. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_shortOut.mjs +0 -21
  464. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_shortOut.mjs.map +0 -1
  465. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackClear.mjs +0 -9
  466. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackClear.mjs.map +0 -1
  467. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackDelete.mjs +0 -9
  468. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackDelete.mjs.map +0 -1
  469. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackGet.mjs +0 -7
  470. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackGet.mjs.map +0 -1
  471. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackHas.mjs +0 -7
  472. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackHas.mjs.map +0 -1
  473. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackSet.mjs +0 -23
  474. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackSet.mjs.map +0 -1
  475. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stringToPath.mjs +0 -17
  476. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stringToPath.mjs.map +0 -1
  477. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_toKey.mjs +0 -12
  478. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_toKey.mjs.map +0 -1
  479. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_toSource.mjs +0 -19
  480. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_toSource.mjs.map +0 -1
  481. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/cloneDeep.mjs +0 -9
  482. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/cloneDeep.mjs.map +0 -1
  483. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/constant.mjs +0 -9
  484. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/constant.mjs.map +0 -1
  485. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/eq.mjs +0 -7
  486. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/eq.mjs.map +0 -1
  487. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/get.mjs +0 -9
  488. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/get.mjs.map +0 -1
  489. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/identity.mjs +0 -7
  490. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/identity.mjs.map +0 -1
  491. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArguments.mjs +0 -14
  492. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArguments.mjs.map +0 -1
  493. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArray.mjs +0 -5
  494. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArray.mjs.map +0 -1
  495. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArrayLike.mjs +0 -9
  496. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArrayLike.mjs.map +0 -1
  497. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArrayLikeObject.mjs +0 -9
  498. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArrayLikeObject.mjs.map +0 -1
  499. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isBoolean.mjs +0 -10
  500. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isBoolean.mjs.map +0 -1
  501. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isBuffer.mjs +0 -12
  502. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isBuffer.mjs.map +0 -1
  503. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isFunction.mjs +0 -14
  504. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isFunction.mjs.map +0 -1
  505. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isLength.mjs +0 -8
  506. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isLength.mjs.map +0 -1
  507. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isMap.mjs +0 -9
  508. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isMap.mjs.map +0 -1
  509. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isNumber.mjs +0 -10
  510. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isNumber.mjs.map +0 -1
  511. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObject.mjs +0 -8
  512. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObject.mjs.map +0 -1
  513. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObjectLike.mjs +0 -7
  514. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObjectLike.mjs.map +0 -1
  515. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isPlainObject.mjs +0 -23
  516. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isPlainObject.mjs.map +0 -1
  517. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isSet.mjs +0 -9
  518. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isSet.mjs.map +0 -1
  519. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isSymbol.mjs +0 -10
  520. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isSymbol.mjs.map +0 -1
  521. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isTypedArray.mjs +0 -9
  522. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isTypedArray.mjs.map +0 -1
  523. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/keys.mjs +0 -10
  524. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/keys.mjs.map +0 -1
  525. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/keysIn.mjs +0 -10
  526. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/keysIn.mjs.map +0 -1
  527. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/memoize.mjs +0 -23
  528. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/memoize.mjs.map +0 -1
  529. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/merge.mjs +0 -9
  530. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/merge.mjs.map +0 -1
  531. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/set.mjs +0 -8
  532. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/set.mjs.map +0 -1
  533. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/stubArray.mjs +0 -7
  534. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/stubArray.mjs.map +0 -1
  535. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/stubFalse.mjs +0 -7
  536. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/stubFalse.mjs.map +0 -1
  537. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/toPlainObject.mjs +0 -9
  538. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/toPlainObject.mjs.map +0 -1
  539. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/toString.mjs +0 -8
  540. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/toString.mjs.map +0 -1
  541. package/dist/node_modules/.pnpm/pdfjs-dist@5.4.394/node_modules/pdfjs-dist/build/pdf.mjs +0 -25810
  542. package/dist/node_modules/.pnpm/pdfjs-dist@5.4.394/node_modules/pdfjs-dist/build/pdf.mjs.map +0 -1
  543. package/dist/node_modules/.pnpm/pdfjs-dist@5.4.394/node_modules/pdfjs-dist/build/pdf.sandbox.mjs +0 -5
  544. package/dist/node_modules/.pnpm/pdfjs-dist@5.4.394/node_modules/pdfjs-dist/build/pdf.sandbox.mjs.map +0 -1
  545. package/dist/node_modules/.pnpm/pdfjs-dist@5.4.394/node_modules/pdfjs-dist/build/pdf.worker.mjs +0 -5
  546. package/dist/node_modules/.pnpm/pdfjs-dist@5.4.394/node_modules/pdfjs-dist/build/pdf.worker.mjs.map +0 -1
  547. package/dist/node_modules/.pnpm/pdfjs-dist@5.4.394/node_modules/pdfjs-dist/web/pdf_viewer.mjs +0 -8940
  548. package/dist/node_modules/.pnpm/pdfjs-dist@5.4.394/node_modules/pdfjs-dist/web/pdf_viewer.mjs.map +0 -1
  549. 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 +0 -316
  550. 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 +0 -1
  551. 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 +0 -330
  552. 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 +0 -1
  553. 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 +0 -10
  554. 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 +0 -1
  555. 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 +0 -17
  556. 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 +0 -1
  557. 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 +0 -287
  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/locale/en_US.mjs.map +0 -1
  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/locale/zh_TW.mjs +0 -328
  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/locale/zh_TW.mjs.map +0 -1
  561. package/dist/qidian-vue-ui.css +0 -6054
  562. package/dist/utils/auth.d.ts +0 -6
  563. package/dist/utils/auth.mjs +0 -67
  564. package/dist/utils/auth.mjs.map +0 -1
  565. package/dist/utils/index.d.ts +0 -2
  566. package/dist/utils/time.d.ts +0 -2
  567. package/dist/utils/time.mjs +0 -30
  568. package/dist/utils/time.mjs.map +0 -1
@@ -1,526 +0,0 @@
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
@@ -1 +0,0 @@
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,YA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MAAQ;AAAA,kBAAA;oBAET,iBAAQ,MAAmC,CAAA,GAAA,OAAA,CAAA,MAAA,OAAA,CAAA,IAAA;AAAA,sBAAnCC,mBAAmC,QAAA,EAA7B,OAAA,EAAA,WAAA,OAAA,EAAA,GAAqB,MAAA,EAAA;AAAA,oBAAA;;;;iCAdlD,MAKU;AAAA,kBALVL,YAKUJ,MAAAU,KAAA,GAAA;AAAA,oBALA,OAAOV,MAAA,QAAA,EAAS;AAAA,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;;;;;;;"}
@@ -1,27 +0,0 @@
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
- };
@@ -1,32 +0,0 @@
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
@@ -1 +0,0 @@
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;"}