@cmstops/pro-compo 3.9.2-alpha.1 → 3.9.2-alpha.11

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 (313) hide show
  1. package/dist/index.css +6 -0
  2. package/dist/index.min.css +1 -1
  3. package/dist/index.min.js.map +1 -1
  4. package/es/baseFilter/component.js +71 -14
  5. package/es/contentDetailList/component.js +24 -0
  6. package/es/contentDetailList/components/Content/index.js +2 -1
  7. package/es/contentDetailList/components/Doc/index.js +6 -0
  8. package/es/contentDetailList/components/ShowQRCode/QrcodeView/index.js +4 -2
  9. package/es/contentModal/component.js +16 -8
  10. package/es/contentModal/components/ViewAllColumn/MediaFilter/index.js +2 -1
  11. package/es/contentModal/components/storeBox/index.js +4 -2
  12. package/es/dataTags/component.js +10 -5
  13. package/es/docHistory/component.js +2 -1
  14. package/es/docPreview/component.js +10 -5
  15. package/es/editMetaInfo/components/metaInfoForm.js +4 -2
  16. package/es/hooks/useUpload.js +43 -4
  17. package/es/imageCrop/component.js +4 -2
  18. package/es/importData/component.js +6 -3
  19. package/es/index.css +6 -0
  20. package/es/mediaFilter/components/DocFilter.js +2 -1
  21. package/es/resourceGridList/component.js +4 -2
  22. package/es/resourceModal/components/MediaSelection/DocAiMediaSelected/index.js +2 -1
  23. package/es/resourceModal/components/MediaSelection/MainContent/index.js +4 -2
  24. package/es/selectAddTo/style/css.js +1 -0
  25. package/es/selectAddTo/style/index.css +3 -0
  26. package/es/selectAddTo/style/index.js +1 -0
  27. package/es/selectAddTo/style/index.less +3 -0
  28. package/es/selectResourceModal/component.js +10 -5
  29. package/es/selectResourceModal/components/List/ListLocal/Upload.js +2 -1
  30. package/es/selectResourceModal/components/List/ListLocal/index.js +8 -3
  31. package/es/selectResourceModal/components/List/ListNormal/Filter.js +63 -30
  32. package/es/selectResourceModal/components/List/ListNormal/index.js +5 -4
  33. package/es/selectResourceModal/components/List/ListSystem/Filter.js +2 -1
  34. package/es/selectResourceModal/hooks/useResponsiveFilter.js +1 -1
  35. package/es/selectResourceModal/style/index.css +6 -0
  36. package/es/selectResourceModal/style/index.less +9 -0
  37. package/es/selectResourceModal/style/list.less +1 -0
  38. package/es/userAvater/component.js +2 -1
  39. package/es/userDirector/component.js +2 -1
  40. package/es/utils/index.js +6 -6
  41. package/lib/baseFilter/component.js +69 -12
  42. package/lib/contentDetailList/component.js +24 -0
  43. package/lib/contentDetailList/components/Content/index.js +2 -1
  44. package/lib/contentDetailList/components/Doc/index.js +6 -0
  45. package/lib/contentDetailList/components/ShowQRCode/QrcodeView/index.js +4 -2
  46. package/lib/contentModal/component.js +16 -8
  47. package/lib/contentModal/components/ViewAllColumn/MediaFilter/index.js +2 -1
  48. package/lib/contentModal/components/storeBox/index.js +4 -2
  49. package/lib/dataTags/component.js +10 -5
  50. package/lib/docHistory/component.js +2 -1
  51. package/lib/docPreview/component.js +10 -5
  52. package/lib/editMetaInfo/components/metaInfoForm.js +4 -2
  53. package/lib/hooks/useUpload.js +43 -3
  54. package/lib/imageCrop/component.js +4 -2
  55. package/lib/importData/component.js +6 -3
  56. package/lib/index.css +6 -0
  57. package/lib/mediaFilter/components/DocFilter.js +2 -1
  58. package/lib/resourceGridList/component.js +4 -2
  59. package/lib/resourceModal/components/MediaSelection/DocAiMediaSelected/index.js +2 -1
  60. package/lib/resourceModal/components/MediaSelection/MainContent/index.js +4 -2
  61. package/lib/selectAddTo/style/css.js +2 -0
  62. package/lib/selectAddTo/style/index.css +3 -0
  63. package/lib/selectAddTo/style/index.js +2 -0
  64. package/lib/selectAddTo/style/index.less +3 -0
  65. package/lib/selectResourceModal/component.js +10 -5
  66. package/lib/selectResourceModal/components/List/ListLocal/Upload.js +2 -1
  67. package/lib/selectResourceModal/components/List/ListLocal/index.js +6 -1
  68. package/lib/selectResourceModal/components/List/ListNormal/Filter.js +62 -29
  69. package/lib/selectResourceModal/components/List/ListNormal/index.js +5 -4
  70. package/lib/selectResourceModal/components/List/ListSystem/Filter.js +2 -1
  71. package/lib/selectResourceModal/hooks/useResponsiveFilter.js +1 -1
  72. package/lib/selectResourceModal/style/index.css +6 -0
  73. package/lib/selectResourceModal/style/index.less +9 -0
  74. package/lib/selectResourceModal/style/list.less +1 -0
  75. package/lib/userAvater/component.js +2 -1
  76. package/lib/userDirector/component.js +2 -1
  77. package/lib/utils/index.js +6 -6
  78. package/package.json +1 -1
  79. package/es/appCenter/component.d.ts +0 -0
  80. package/es/appCenter/index.d.ts +0 -2
  81. package/es/appCenter/script/api.d.ts +0 -11
  82. package/es/appCenter/script/apps.d.ts +0 -14
  83. package/es/appCenter/script/permissionMap.d.ts +0 -6
  84. package/es/appCenter/script/routeMap.d.ts +0 -4
  85. package/es/appCenter/style/index.d.ts +0 -1
  86. package/es/baseFilter/component.d.ts +0 -0
  87. package/es/baseFilter/components/FilterGroup.d.ts +0 -0
  88. package/es/baseFilter/components/filterItem.d.ts +0 -0
  89. package/es/baseFilter/index.d.ts +0 -2
  90. package/es/baseFilter/style/index.d.ts +0 -1
  91. package/es/baseFilter/useCalcWidth.d.ts +0 -16
  92. package/es/colorPalette/component.d.ts +0 -0
  93. package/es/colorPalette/components/colorPicker.d.ts +0 -0
  94. package/es/colorPalette/index.d.ts +0 -2
  95. package/es/colorPalette/style/index.d.ts +0 -1
  96. package/es/components.d.ts +0 -5
  97. package/es/config.d.ts +0 -4
  98. package/es/contentDetailList/__demo__/matrix/platform.d.ts +0 -36
  99. package/es/contentDetailList/component.d.ts +0 -0
  100. package/es/contentDetailList/components/Content/CompoItem/index.d.ts +0 -0
  101. package/es/contentDetailList/components/Content/ContentListItem/index.d.ts +0 -0
  102. package/es/contentDetailList/components/Content/DocItem/ApprovalStateMap/index.d.ts +0 -0
  103. package/es/contentDetailList/components/Content/DocItem/index.d.ts +0 -0
  104. package/es/contentDetailList/components/Content/DocMpItem/index.d.ts +0 -0
  105. package/es/contentDetailList/components/Content/GroupPieceItem/index.d.ts +0 -0
  106. package/es/contentDetailList/components/Content/KongoNavItem/index.d.ts +0 -0
  107. package/es/contentDetailList/components/Content/LiveItem/index.d.ts +0 -0
  108. package/es/contentDetailList/components/Content/MaccountItem/index.d.ts +0 -0
  109. package/es/contentDetailList/components/Content/courseItem/index.d.ts +0 -0
  110. package/es/contentDetailList/components/Content/funhdItem/index.d.ts +0 -0
  111. package/es/contentDetailList/components/Content/index.d.ts +0 -0
  112. package/es/contentDetailList/components/CustomWrp/CustomItem.d.ts +0 -0
  113. package/es/contentDetailList/components/CustomWrp/index.d.ts +0 -0
  114. package/es/contentDetailList/components/Doc/index.d.ts +0 -0
  115. package/es/contentDetailList/components/Records/MatrixItem/index.d.ts +0 -0
  116. package/es/contentDetailList/components/Records/index.d.ts +0 -0
  117. package/es/contentDetailList/components/ShowQRCode/QrcodeView/index.d.ts +0 -0
  118. package/es/contentDetailList/components/ShowQRCode/index.d.ts +0 -0
  119. package/es/contentDetailList/index.d.ts +0 -2
  120. package/es/contentDetailList/script/api.d.ts +0 -6
  121. package/es/contentDetailList/style/index.d.ts +0 -1
  122. package/es/contentModal/component.d.ts +0 -0
  123. package/es/contentModal/components/CompoList/CompoFilter/index.d.ts +0 -0
  124. package/es/contentModal/components/CompoList/index.d.ts +0 -0
  125. package/es/contentModal/components/ContentList/MediaFilter/index.d.ts +0 -0
  126. package/es/contentModal/components/ContentList/index.d.ts +0 -0
  127. package/es/contentModal/components/Dejin/MediaFilter/index.d.ts +0 -0
  128. package/es/contentModal/components/Dejin/index.d.ts +0 -0
  129. package/es/contentModal/components/EqxiuList/MediaFilter/index.d.ts +0 -0
  130. package/es/contentModal/components/EqxiuList/index.d.ts +0 -0
  131. package/es/contentModal/components/LiveList/MediaFilter/index.d.ts +0 -0
  132. package/es/contentModal/components/LiveList/index.d.ts +0 -0
  133. package/es/contentModal/components/MpAccountList/MpAccountFilter/index.d.ts +0 -0
  134. package/es/contentModal/components/MpAccountList/index.d.ts +0 -0
  135. package/es/contentModal/components/MpContentList/MediaFilter/index.d.ts +0 -0
  136. package/es/contentModal/components/MpContentList/index.d.ts +0 -0
  137. package/es/contentModal/components/ViewAllColumn/MediaFilter/index.d.ts +0 -0
  138. package/es/contentModal/components/ViewAllColumn/columnTree/index.d.ts +0 -0
  139. package/es/contentModal/components/ViewAllColumn/index.d.ts +0 -0
  140. package/es/contentModal/components/storeBox/index.d.ts +0 -0
  141. package/es/contentModal/index.d.ts +0 -2
  142. package/es/contentModal/script/api.d.ts +0 -18
  143. package/es/contentModal/style/index.d.ts +0 -1
  144. package/es/dataTags/component.d.ts +0 -0
  145. package/es/dataTags/index.d.ts +0 -2
  146. package/es/dataTags/style/index.d.ts +0 -1
  147. package/es/docHistory/component.d.ts +0 -0
  148. package/es/docHistory/components/DocDiffPanel/index.d.ts +0 -0
  149. package/es/docHistory/components/DocHistoryList/index.d.ts +0 -0
  150. package/es/docHistory/index.d.ts +0 -2
  151. package/es/docHistory/scripts/diff.d.ts +0 -1
  152. package/es/docHistory/scripts/useDocHistory.d.ts +0 -10
  153. package/es/docHistory/style/index.d.ts +0 -1
  154. package/es/docPreview/component.d.ts +0 -0
  155. package/es/docPreview/components/PreviewIframe.d.ts +0 -0
  156. package/es/docPreview/index.d.ts +0 -2
  157. package/es/docPreview/scripts/api.d.ts +0 -1
  158. package/es/docPreview/scripts/hook.d.ts +0 -33
  159. package/es/docPreview/style/index.d.ts +0 -1
  160. package/es/editMetaInfo/component.d.ts +0 -0
  161. package/es/editMetaInfo/components/metaInfoForm.d.ts +0 -0
  162. package/es/editMetaInfo/index.d.ts +0 -2
  163. package/es/editMetaInfo/script/api.d.ts +0 -6
  164. package/es/editMetaInfo/script/restaurants.d.ts +0 -4
  165. package/es/editMetaInfo/style/index.d.ts +0 -1
  166. package/es/emptyData/component.d.ts +0 -0
  167. package/es/emptyData/index.d.ts +0 -2
  168. package/es/emptyData/style/index.d.ts +0 -1
  169. package/es/emptyData/svg/add.d.ts +0 -0
  170. package/es/hooks/assets.d.ts +0 -1
  171. package/es/hooks/batch.d.ts +0 -8
  172. package/es/hooks/dialogVisible.d.ts +0 -8
  173. package/es/hooks/source.d.ts +0 -9
  174. package/es/hooks/toggle.d.ts +0 -6
  175. package/es/hooks/useAttachement.d.ts +0 -53
  176. package/es/hooks/useLocalStorage.d.ts +0 -10
  177. package/es/hooks/useMediaContext.d.ts +0 -12
  178. package/es/hooks/usePopper.d.ts +0 -8
  179. package/es/hooks/useSelection.d.ts +0 -30
  180. package/es/hooks/useUpload.d.ts +0 -30
  181. package/es/hooks/user.d.ts +0 -9
  182. package/es/imageCrop/component.d.ts +0 -0
  183. package/es/imageCrop/index.d.ts +0 -2
  184. package/es/imageCrop/script/api.d.ts +0 -1
  185. package/es/imageCrop/style/index.d.ts +0 -1
  186. package/es/importData/component.d.ts +0 -0
  187. package/es/importData/index.d.ts +0 -2
  188. package/es/importData/style/index.d.ts +0 -1
  189. package/es/index.d.ts +0 -30
  190. package/es/mediaFilter/component.d.ts +0 -0
  191. package/es/mediaFilter/components/DocFilter.d.ts +0 -0
  192. package/es/mediaFilter/components/FilterGroup.d.ts +0 -0
  193. package/es/mediaFilter/components/FilterItem.d.ts +0 -0
  194. package/es/mediaFilter/components/MpAccountFilter.d.ts +0 -0
  195. package/es/mediaFilter/components/MpContentFilter.d.ts +0 -0
  196. package/es/mediaFilter/index.d.ts +0 -3
  197. package/es/mediaFilter/script/optionsGetter.d.ts +0 -26
  198. package/es/mediaFilter/script/types.d.ts +0 -16
  199. package/es/mediaFilter/style/index.d.ts +0 -1
  200. package/es/mediaView/component.d.ts +0 -0
  201. package/es/mediaView/index.d.ts +0 -2
  202. package/es/mediaView/style/index.d.ts +0 -1
  203. package/es/messageBox/component.d.ts +0 -0
  204. package/es/messageBox/index.d.ts +0 -2
  205. package/es/messageBox/list.d.ts +0 -0
  206. package/es/messageBox/script/api.d.ts +0 -6
  207. package/es/messageBox/style/index.d.ts +0 -1
  208. package/es/previousVersion/component.d.ts +0 -0
  209. package/es/previousVersion/index.d.ts +0 -2
  210. package/es/previousVersion/script/api.d.ts +0 -15
  211. package/es/previousVersion/script/tool.d.ts +0 -6
  212. package/es/previousVersion/style/index.d.ts +0 -1
  213. package/es/resourceGridList/component.d.ts +0 -0
  214. package/es/resourceGridList/components/FileTypeThumb/index.d.ts +0 -0
  215. package/es/resourceGridList/index.d.ts +0 -2
  216. package/es/resourceGridList/style/index.d.ts +0 -1
  217. package/es/resourceModal/component.d.ts +0 -0
  218. package/es/resourceModal/components/MediaPreviewer/index.d.ts +0 -0
  219. package/es/resourceModal/components/MediaSelection/DocAiMediaSelected/index.d.ts +0 -0
  220. package/es/resourceModal/components/MediaSelection/MainContent/FileTypeThumb/index.d.ts +0 -0
  221. package/es/resourceModal/components/MediaSelection/MainContent/index.d.ts +0 -0
  222. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.d.ts +0 -0
  223. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.d.ts +0 -0
  224. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/index.d.ts +0 -0
  225. package/es/resourceModal/components/MediaSelection/ToolbarSearch/index.d.ts +0 -0
  226. package/es/resourceModal/components/MediaSelection/index.d.ts +0 -0
  227. package/es/resourceModal/index.d.ts +0 -2
  228. package/es/resourceModal/script/api.d.ts +0 -25
  229. package/es/resourceModal/script/mediaSelection.d.ts +0 -14
  230. package/es/resourceModal/style/index.d.ts +0 -1
  231. package/es/selectAvatarList/component.d.ts +0 -0
  232. package/es/selectAvatarList/index.d.ts +0 -2
  233. package/es/selectAvatarList/style/index.d.ts +0 -1
  234. package/es/selectGategory/component.d.ts +0 -0
  235. package/es/selectGategory/components/ColumnSelection/index.d.ts +0 -0
  236. package/es/selectGategory/index.d.ts +0 -2
  237. package/es/selectGategory/script/api.d.ts +0 -6
  238. package/es/selectGategory/style/index.d.ts +0 -1
  239. package/es/selectResourceModal/__demo__/module/DivWrapper.d.ts +0 -268
  240. package/es/selectResourceModal/__demo__/module/basic.d.ts +0 -299
  241. package/es/selectResourceModal/component.d.ts +0 -0
  242. package/es/selectResourceModal/components/List/ListAi/index.d.ts +0 -0
  243. package/es/selectResourceModal/components/List/ListCardWrapper.d.ts +0 -0
  244. package/es/selectResourceModal/components/List/ListLocal/Upload.d.ts +0 -0
  245. package/es/selectResourceModal/components/List/ListLocal/index.d.ts +0 -0
  246. package/es/selectResourceModal/components/List/ListNormal/Filter.d.ts +0 -0
  247. package/es/selectResourceModal/components/List/ListNormal/index.d.ts +0 -0
  248. package/es/selectResourceModal/components/List/ListSystem/Filter.d.ts +0 -0
  249. package/es/selectResourceModal/components/List/ListSystem/SubList.d.ts +0 -0
  250. package/es/selectResourceModal/components/List/ListSystem/index.d.ts +0 -0
  251. package/es/selectResourceModal/components/List/ListVideo/index.d.ts +0 -0
  252. package/es/selectResourceModal/components/List/ListWraper.d.ts +0 -0
  253. package/es/selectResourceModal/components/ListSelected/index.d.ts +0 -0
  254. package/es/selectResourceModal/components/ListTabs/index.d.ts +0 -0
  255. package/es/selectResourceModal/hooks/useResponsiveFilter.d.ts +0 -21
  256. package/es/selectResourceModal/index.d.ts +0 -2
  257. package/es/selectResourceModal/scripts/selectionApis.d.ts +0 -2
  258. package/es/selectResourceModal/scripts/useCompoLf.d.ts +0 -27
  259. package/es/selectResourceModal/scripts/useResourceSelect.d.ts +0 -7
  260. package/es/selectResourceModal/scripts/useTabFilter.d.ts +0 -22
  261. package/es/selectResourceModal/style/index.d.ts +0 -1
  262. package/es/selectThumb/component.d.ts +0 -0
  263. package/es/selectThumb/components/card.d.ts +0 -0
  264. package/es/selectThumb/components/colorPalette.d.ts +0 -0
  265. package/es/selectThumb/components/colorPicker.d.ts +0 -0
  266. package/es/selectThumb/index.d.ts +0 -2
  267. package/es/selectThumb/style/index.d.ts +0 -1
  268. package/es/thumbCard/component.d.ts +0 -0
  269. package/es/thumbCard/components/ThumbUploading/index.d.ts +0 -0
  270. package/es/thumbCard/index.d.ts +0 -2
  271. package/es/thumbCard/style/index.d.ts +0 -1
  272. package/es/typeIcons/component.d.ts +0 -0
  273. package/es/typeIcons/index.d.ts +0 -2
  274. package/es/typeIcons/style/index.d.ts +0 -1
  275. package/es/uploadBefore/component.d.ts +0 -0
  276. package/es/uploadBefore/components/UploadBefore.d.ts +0 -0
  277. package/es/uploadBefore/components/UploadForClick.d.ts +0 -0
  278. package/es/uploadBefore/index.d.ts +0 -2
  279. package/es/uploadBefore/script/api.d.ts +0 -16
  280. package/es/uploadBefore/script/fileTypeAdapter.d.ts +0 -39
  281. package/es/uploadBefore/script/fileUpload.d.ts +0 -7
  282. package/es/uploadBefore/script/uploadHooks.d.ts +0 -96
  283. package/es/uploadBefore/style/index.d.ts +0 -1
  284. package/es/uploadBefore/utils/dragUploadEvent.d.ts +0 -0
  285. package/es/uploadStep/component.d.ts +0 -0
  286. package/es/uploadStep/index.d.ts +0 -2
  287. package/es/uploadStep/script/fileTypeAdapter.d.ts +0 -20
  288. package/es/uploadStep/style/index.d.ts +0 -1
  289. package/es/userAvater/component.d.ts +0 -0
  290. package/es/userAvater/index.d.ts +0 -2
  291. package/es/userAvater/script/api.d.ts +0 -8
  292. package/es/userAvater/style/index.d.ts +0 -1
  293. package/es/userDirector/component.d.ts +0 -0
  294. package/es/userDirector/components/userTree.d.ts +0 -0
  295. package/es/userDirector/index.d.ts +0 -2
  296. package/es/userDirector/script/api.d.ts +0 -10
  297. package/es/userDirector/style/index.d.ts +0 -1
  298. package/es/utils/auth.d.ts +0 -5
  299. package/es/utils/date.d.ts +0 -3
  300. package/es/utils/doc.d.ts +0 -76
  301. package/es/utils/filter.d.ts +0 -21
  302. package/es/utils/index.d.ts +0 -17
  303. package/es/utils/request.d.ts +0 -9
  304. package/es/utils/resource.d.ts +0 -4
  305. package/es/utils/transcodeMedia.d.ts +0 -13
  306. package/es/utils/tusUpload.d.ts +0 -16
  307. package/es/utils/typeMap.d.ts +0 -185
  308. package/es/utils/uploadCatalog.d.ts +0 -1
  309. package/es/videoThumb/component.d.ts +0 -0
  310. package/es/videoThumb/index.d.ts +0 -2
  311. package/es/videoThumb/scripts/api.d.ts +0 -9
  312. package/es/videoThumb/scripts/useVideoThumbs.d.ts +0 -12
  313. package/es/videoThumb/style/index.d.ts +0 -1
@@ -1,5 +1,5 @@
1
- import { defineComponent, ref, computed, watch, nextTick, toRaw, openBlock, createElementBlock, Fragment, createElementVNode, withModifiers, createVNode, withCtx, renderList, createBlock, unref, normalizeStyle, createCommentVNode, renderSlot } from "vue";
2
- import { InputSearch, Select, Option, RangePicker } from "@arco-design/web-vue";
1
+ import { defineComponent, ref, computed, watch, nextTick, toRaw, openBlock, createElementBlock, Fragment, createElementVNode, withModifiers, createVNode, withCtx, renderList, createBlock, renderSlot, unref, createTextVNode, toDisplayString, normalizeStyle, createCommentVNode } from "vue";
2
+ import { InputGroup, Select, Option, Input, InputSearch, RangePicker, RadioGroup, Radio } from "@arco-design/web-vue";
3
3
  import _sfc_main$2 from "./components/filterItem.js";
4
4
  import _sfc_main$1 from "./components/FilterGroup.js";
5
5
  const _sfc_main = defineComponent({
@@ -37,9 +37,11 @@ const _sfc_main = defineComponent({
37
37
  });
38
38
  return _columns;
39
39
  });
40
- const getOptions = (item) => {
41
- return item.options ? item.options : [];
42
- };
40
+ const getOptions = computed(() => {
41
+ return (item) => {
42
+ return item.options ? item.options : [];
43
+ };
44
+ });
43
45
  const hasValue = computed(() => {
44
46
  return (key) => {
45
47
  var _a, _b;
@@ -76,7 +78,10 @@ const _sfc_main = defineComponent({
76
78
  _form[column.range] = rangeTemp[column.range];
77
79
  } else if (column.component === "select") {
78
80
  _form[column.key] = column.defaultValue || null;
79
- } else {
81
+ } else if (column.component === "input-group") {
82
+ _form[column.selectKey] = column.selectDefaultValue || "";
83
+ _form[column.inputKey] = column.inputDefaultValue || "";
84
+ } else if (column.component) {
80
85
  _form[column.key] = column.defaultValue || "";
81
86
  }
82
87
  });
@@ -178,17 +183,48 @@ const _sfc_main = defineComponent({
178
183
  active: hasValue.value(item.key)
179
184
  }, {
180
185
  default: withCtx(() => [
181
- item.component === "input" ? (openBlock(), createBlock(unref(InputSearch), {
182
- key: 0,
186
+ item.slot ? renderSlot(_ctx.$slots, item.slot, { key: 0 }) : item.component === "input-group" ? (openBlock(), createBlock(unref(InputGroup), { key: 1 }, {
187
+ default: withCtx(() => [
188
+ createVNode(unref(Select), {
189
+ modelValue: form.value[item.selectKey],
190
+ "onUpdate:modelValue": ($event) => form.value[item.selectKey] = $event,
191
+ "default-active-first-option": "",
192
+ style: { "width": "100px" }
193
+ }, {
194
+ default: withCtx(() => [
195
+ (openBlock(true), createElementBlock(Fragment, null, renderList(item.selectOptions, (option, idx) => {
196
+ return openBlock(), createBlock(unref(Option), {
197
+ key: idx,
198
+ value: option.value
199
+ }, {
200
+ default: withCtx(() => [
201
+ createTextVNode(toDisplayString(option.label), 1)
202
+ ]),
203
+ _: 2
204
+ }, 1032, ["value"]);
205
+ }), 128))
206
+ ]),
207
+ _: 2
208
+ }, 1032, ["modelValue", "onUpdate:modelValue"]),
209
+ createVNode(unref(Input), {
210
+ modelValue: form.value[item.inputKey],
211
+ "onUpdate:modelValue": ($event) => form.value[item.inputKey] = $event,
212
+ placeholder: item.placeholder ? item.placeholder : `\u8BF7\u8F93\u5165${item.inputLabel}`,
213
+ style: { "width": "180px" }
214
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"])
215
+ ]),
216
+ _: 2
217
+ }, 1024)) : item.component === "input" ? (openBlock(), createBlock(unref(InputSearch), {
218
+ key: 2,
183
219
  modelValue: form.value[item.key],
184
220
  "onUpdate:modelValue": ($event) => form.value[item.key] = $event,
185
221
  style: normalizeStyle({ width: styleWidth(columnsMap.value[item.key]) }),
186
222
  "allow-clear": "",
187
223
  size: "medium",
188
- placeholder: `\u8BF7\u8F93\u5165${item.label}`
224
+ placeholder: item.placeholder ? item.placeholder : `\u8BF7\u8F93\u5165${item.label}`
189
225
  }, null, 8, ["modelValue", "onUpdate:modelValue", "style", "placeholder"])) : createCommentVNode("v-if", true),
190
226
  item.component === "select" ? (openBlock(), createBlock(unref(Select), {
191
- key: 1,
227
+ key: 3,
192
228
  modelValue: form.value[item.key],
193
229
  "onUpdate:modelValue": ($event) => form.value[item.key] = $event,
194
230
  "popup-container": "#base-filter-popup-container",
@@ -196,13 +232,13 @@ const _sfc_main = defineComponent({
196
232
  "allow-search": item.allowSearch,
197
233
  "default-active-first-option": false,
198
234
  style: normalizeStyle({ width: styleWidth(columnsMap.value[item.key]) }),
199
- placeholder: `\u8BF7\u9009\u62E9${item.label}`,
235
+ placeholder: item.placeholder ? item.placeholder : `\u8BF7\u9009\u62E9${item.label}`,
200
236
  onSearch: ($event) => handleSelectSearch($event, item),
201
237
  onPopupVisibleChange: ($event) => handleSelectPopupChange($event, item),
202
238
  onChange: ($event) => handleSelectChange($event, item)
203
239
  }, {
204
240
  default: withCtx(() => [
205
- (openBlock(true), createElementBlock(Fragment, null, renderList(getOptions(item), (opt) => {
241
+ (openBlock(true), createElementBlock(Fragment, null, renderList(getOptions.value(item), (opt) => {
206
242
  return openBlock(), createBlock(unref(Option), {
207
243
  key: opt.value,
208
244
  label: opt.label,
@@ -213,7 +249,7 @@ const _sfc_main = defineComponent({
213
249
  _: 2
214
250
  }, 1032, ["modelValue", "onUpdate:modelValue", "allow-search", "style", "placeholder", "onSearch", "onPopupVisibleChange", "onChange"])) : createCommentVNode("v-if", true),
215
251
  item.component === "range-picker" ? (openBlock(), createBlock(unref(RangePicker), {
216
- key: 2,
252
+ key: 4,
217
253
  modelValue: form.value[item.key].range,
218
254
  "onUpdate:modelValue": ($event) => form.value[item.key].range = $event,
219
255
  style: normalizeStyle({ width: styleWidth(form.value[item.key]) }),
@@ -224,7 +260,28 @@ const _sfc_main = defineComponent({
224
260
  "popup-container": "#base-filter-popup-container",
225
261
  onClick: _cache[1] || (_cache[1] = withModifiers(() => {
226
262
  }, ["stop"]))
227
- }, null, 8, ["modelValue", "onUpdate:modelValue", "style"])) : createCommentVNode("v-if", true)
263
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "style"])) : createCommentVNode("v-if", true),
264
+ item.component === "radio" ? (openBlock(), createBlock(unref(RadioGroup), {
265
+ key: 5,
266
+ modelValue: form.value[item.key],
267
+ "onUpdate:modelValue": ($event) => form.value[item.key] = $event,
268
+ type: "button"
269
+ }, {
270
+ default: withCtx(() => [
271
+ (openBlock(true), createElementBlock(Fragment, null, renderList(item.options || [], (option, idx) => {
272
+ return openBlock(), createBlock(unref(Radio), {
273
+ key: idx,
274
+ value: option.value
275
+ }, {
276
+ default: withCtx(() => [
277
+ createTextVNode(toDisplayString(option.label), 1)
278
+ ]),
279
+ _: 2
280
+ }, 1032, ["value"]);
281
+ }), 128))
282
+ ]),
283
+ _: 2
284
+ }, 1032, ["modelValue", "onUpdate:modelValue"])) : createCommentVNode("v-if", true)
228
285
  ]),
229
286
  _: 2
230
287
  }, 1032, ["active"]);
@@ -104,6 +104,12 @@ const _sfc_main = defineComponent({
104
104
  onCellMouseEnter: tableCellMouseEnter,
105
105
  onCellMouseLeave: tableCellMouseLeave
106
106
  }, {
107
+ "after-index": withCtx(() => [
108
+ renderSlot(_ctx.$slots, "after-index", {
109
+ row: element,
110
+ index
111
+ })
112
+ ]),
107
113
  batch: withCtx(() => [
108
114
  renderSlot(_ctx.$slots, "batch", {
109
115
  row: element,
@@ -128,6 +134,12 @@ const _sfc_main = defineComponent({
128
134
  onCellMouseEnter: tableCellMouseEnter,
129
135
  onCellMouseLeave: tableCellMouseLeave
130
136
  }, {
137
+ "after-index": withCtx(() => [
138
+ renderSlot(_ctx.$slots, "after-index", {
139
+ row: element,
140
+ index
141
+ })
142
+ ]),
131
143
  tip: withCtx(() => [
132
144
  renderSlot(_ctx.$slots, "tip", {
133
145
  row: element,
@@ -224,6 +236,12 @@ const _sfc_main = defineComponent({
224
236
  onCellMouseEnter: tableCellMouseEnter,
225
237
  onCellMouseLeave: tableCellMouseLeave
226
238
  }, {
239
+ "after-index": withCtx(() => [
240
+ renderSlot(_ctx.$slots, "after-index", {
241
+ row: item,
242
+ index
243
+ })
244
+ ]),
227
245
  batch: withCtx(() => [
228
246
  renderSlot(_ctx.$slots, "batch", {
229
247
  row: item,
@@ -248,6 +266,12 @@ const _sfc_main = defineComponent({
248
266
  onCellMouseEnter: tableCellMouseEnter,
249
267
  onCellMouseLeave: tableCellMouseLeave
250
268
  }, {
269
+ "after-index": withCtx(() => [
270
+ renderSlot(_ctx.$slots, "after-index", {
271
+ row: item,
272
+ index
273
+ })
274
+ ]),
251
275
  tip: withCtx(() => [
252
276
  renderSlot(_ctx.$slots, "tip", {
253
277
  row: item,
@@ -142,7 +142,8 @@ const _sfc_main = defineComponent({
142
142
  })
143
143
  ]),
144
144
  index: withCtx(() => [
145
- createElementVNode("span", _hoisted_1, toDisplayString(_ctx.index + 1), 1)
145
+ createElementVNode("span", _hoisted_1, toDisplayString(_ctx.index + 1), 1),
146
+ renderSlot(_ctx.$slots, "after-index")
146
147
  ]),
147
148
  tip: withCtx(() => [
148
149
  createCommentVNode(" \u5148\u6DFB\u52A0\u6587\u4EF6\u8D44\u6E90\uFF0C\u672A\u53D1\u5E03 "),
@@ -37,6 +37,12 @@ const _sfc_main = defineComponent({
37
37
  index: _ctx.index
38
38
  })
39
39
  ]),
40
+ "after-index": withCtx(() => [
41
+ renderSlot(_ctx.$slots, "after-index", {
42
+ row: _ctx.element,
43
+ index: _ctx.index
44
+ })
45
+ ]),
40
46
  batch: withCtx(() => [
41
47
  renderSlot(_ctx.$slots, "batch", {
42
48
  row: _ctx.item,
@@ -248,7 +248,8 @@ const _sfc_main = defineComponent({
248
248
  default: withCtx(() => _cache[5] || (_cache[5] = [
249
249
  createTextVNode(" \u751F\u6210\u9884\u89C8\u94FE\u63A5 ")
250
250
  ])),
251
- _: 1
251
+ _: 1,
252
+ __: [5]
252
253
  })) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
253
254
  createVNode(unref(Button), {
254
255
  class: "auto",
@@ -258,7 +259,8 @@ const _sfc_main = defineComponent({
258
259
  default: withCtx(() => _cache[6] || (_cache[6] = [
259
260
  createTextVNode(" \u590D\u5236\u4E8C\u7EF4\u7801 ")
260
261
  ])),
261
- _: 1
262
+ _: 1,
263
+ __: [6]
262
264
  }),
263
265
  createVNode(unref(Button), {
264
266
  class: "auto",
@@ -160,7 +160,8 @@ const _sfc_main = defineComponent({
160
160
  default: withCtx(() => _cache[8] || (_cache[8] = [
161
161
  createTextVNode("\u6DFB\u52A0 ")
162
162
  ])),
163
- _: 1
163
+ _: 1,
164
+ __: [8]
164
165
  }, 8, ["disabled"])
165
166
  ]),
166
167
  _: 1
@@ -199,7 +200,8 @@ const _sfc_main = defineComponent({
199
200
  default: withCtx(() => _cache[9] || (_cache[9] = [
200
201
  createTextVNode(" \u6DFB\u52A0 ")
201
202
  ])),
202
- _: 1
203
+ _: 1,
204
+ __: [9]
203
205
  }, 8, ["disabled"])
204
206
  ]),
205
207
  _: 1
@@ -239,7 +241,8 @@ const _sfc_main = defineComponent({
239
241
  default: withCtx(() => _cache[10] || (_cache[10] = [
240
242
  createTextVNode(" \u6DFB\u52A0 ")
241
243
  ])),
242
- _: 1
244
+ _: 1,
245
+ __: [10]
243
246
  }, 8, ["disabled"])
244
247
  ]),
245
248
  _: 1
@@ -278,7 +281,8 @@ const _sfc_main = defineComponent({
278
281
  default: withCtx(() => _cache[11] || (_cache[11] = [
279
282
  createTextVNode(" \u6DFB\u52A0 ")
280
283
  ])),
281
- _: 1
284
+ _: 1,
285
+ __: [11]
282
286
  }, 8, ["disabled"])
283
287
  ]),
284
288
  _: 1
@@ -317,7 +321,8 @@ const _sfc_main = defineComponent({
317
321
  default: withCtx(() => _cache[12] || (_cache[12] = [
318
322
  createTextVNode(" \u6DFB\u52A0 ")
319
323
  ])),
320
- _: 1
324
+ _: 1,
325
+ __: [12]
321
326
  }, 8, ["disabled"])
322
327
  ]),
323
328
  _: 1
@@ -356,7 +361,8 @@ const _sfc_main = defineComponent({
356
361
  default: withCtx(() => _cache[13] || (_cache[13] = [
357
362
  createTextVNode(" \u6DFB\u52A0 ")
358
363
  ])),
359
- _: 1
364
+ _: 1,
365
+ __: [13]
360
366
  }, 8, ["disabled"])
361
367
  ]),
362
368
  _: 1
@@ -395,7 +401,8 @@ const _sfc_main = defineComponent({
395
401
  default: withCtx(() => _cache[14] || (_cache[14] = [
396
402
  createTextVNode(" \u6DFB\u52A0 ")
397
403
  ])),
398
- _: 1
404
+ _: 1,
405
+ __: [14]
399
406
  }, 8, ["disabled"])
400
407
  ]),
401
408
  _: 1
@@ -433,7 +440,8 @@ const _sfc_main = defineComponent({
433
440
  default: withCtx(() => _cache[15] || (_cache[15] = [
434
441
  createTextVNode(" \u6DFB\u52A0 ")
435
442
  ])),
436
- _: 1
443
+ _: 1,
444
+ __: [15]
437
445
  }, 8, ["disabled"])
438
446
  ]),
439
447
  _: 1
@@ -286,7 +286,8 @@ const _sfc_main = defineComponent({
286
286
  createVNode(unref(IconRefresh), { class: "reset-icon" }),
287
287
  _cache[7] || (_cache[7] = createTextVNode(" \u91CD\u7F6E "))
288
288
  ]),
289
- _: 1
289
+ _: 1,
290
+ __: [7]
290
291
  }, 512), [
291
292
  [vShow, showReset.value]
292
293
  ])
@@ -83,7 +83,8 @@ const _sfc_main = defineComponent({
83
83
  default: withCtx(() => _cache[1] || (_cache[1] = [
84
84
  createTextVNode("\u6E05\u7A7A")
85
85
  ])),
86
- _: 1
86
+ _: 1,
87
+ __: [1]
87
88
  })
88
89
  ])
89
90
  ]),
@@ -99,7 +100,8 @@ const _sfc_main = defineComponent({
99
100
  default: withCtx(() => _cache[0] || (_cache[0] = [
100
101
  createTextVNode("\u5DF2\u9009\u6570\u636E")
101
102
  ])),
102
- _: 1
103
+ _: 1,
104
+ __: [0]
103
105
  })) : createCommentVNode("v-if", true)
104
106
  ]),
105
107
  _: 1
@@ -133,7 +133,8 @@ const _sfc_main = defineComponent({
133
133
  default: withCtx(() => _cache[1] || (_cache[1] = [
134
134
  createTextVNode("\u539F\u521B")
135
135
  ])),
136
- _: 1
136
+ _: 1,
137
+ __: [1]
137
138
  }, 8, ["class"])
138
139
  ]),
139
140
  _: 1
@@ -151,7 +152,8 @@ const _sfc_main = defineComponent({
151
152
  default: withCtx(() => _cache[2] || (_cache[2] = [
152
153
  createTextVNode("\u63A8\u8350")
153
154
  ])),
154
- _: 1
155
+ _: 1,
156
+ __: [2]
155
157
  }, 8, ["class"])
156
158
  ]),
157
159
  _: 1
@@ -169,7 +171,8 @@ const _sfc_main = defineComponent({
169
171
  default: withCtx(() => _cache[3] || (_cache[3] = [
170
172
  createTextVNode("\u654F\u611F")
171
173
  ])),
172
- _: 1
174
+ _: 1,
175
+ __: [3]
173
176
  }, 8, ["class"])
174
177
  ]),
175
178
  _: 1
@@ -187,7 +190,8 @@ const _sfc_main = defineComponent({
187
190
  default: withCtx(() => _cache[4] || (_cache[4] = [
188
191
  createTextVNode("\u5DF2\u63A8\u9001")
189
192
  ])),
190
- _: 1
193
+ _: 1,
194
+ __: [4]
191
195
  }, 8, ["class"])
192
196
  ]),
193
197
  _: 1
@@ -223,7 +227,8 @@ const _sfc_main = defineComponent({
223
227
  default: withCtx(() => _cache[5] || (_cache[5] = [
224
228
  createTextVNode(" \u77E9\u9635\u5206\u53D1 ")
225
229
  ])),
226
- _: 1
230
+ _: 1,
231
+ __: [5]
227
232
  }, 8, ["class"])
228
233
  ]),
229
234
  _: 1
@@ -72,7 +72,8 @@ const _sfc_main = defineComponent({
72
72
  default: withCtx(() => _cache[1] || (_cache[1] = [
73
73
  createTextVNode(" \u8FD8\u539F\u6B64\u7248\u672C ")
74
74
  ])),
75
- _: 1
75
+ _: 1,
76
+ __: [1]
76
77
  }, 8, ["disabled"])
77
78
  ]),
78
79
  default: withCtx(() => [
@@ -94,7 +94,8 @@ const _sfc_main = defineComponent({
94
94
  default: withCtx(() => _cache[8] || (_cache[8] = [
95
95
  createTextVNode(" \u590D\u5236\u94FE\u63A5 ")
96
96
  ])),
97
- _: 1
97
+ _: 1,
98
+ __: [8]
98
99
  }, 8, ["onClick"])
99
100
  ]),
100
101
  createCommentVNode(" \u94FE\u63A5 "),
@@ -110,7 +111,8 @@ const _sfc_main = defineComponent({
110
111
  default: withCtx(() => _cache[10] || (_cache[10] = [
111
112
  createTextVNode("\u53D6\u6D88\u9884\u89C8\u94FE\u63A5")
112
113
  ])),
113
- _: 1
114
+ _: 1,
115
+ __: [10]
114
116
  }),
115
117
  createVNode(unref(Button), {
116
118
  type: "primary",
@@ -119,7 +121,8 @@ const _sfc_main = defineComponent({
119
121
  default: withCtx(() => _cache[11] || (_cache[11] = [
120
122
  createTextVNode(" \u66F4\u65B0\u9884\u89C8\u6709\u6548\u671F ")
121
123
  ])),
122
- _: 1
124
+ _: 1,
125
+ __: [11]
123
126
  })
124
127
  ])
125
128
  ], 64)) : unref(isPublish) ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
@@ -139,7 +142,8 @@ const _sfc_main = defineComponent({
139
142
  default: withCtx(() => _cache[13] || (_cache[13] = [
140
143
  createTextVNode(" \u590D\u5236\u94FE\u63A5 ")
141
144
  ])),
142
- _: 1
145
+ _: 1,
146
+ __: [13]
143
147
  }, 8, ["onClick"])
144
148
  ]),
145
149
  createCommentVNode(" \u94FE\u63A5 "),
@@ -179,7 +183,8 @@ const _sfc_main = defineComponent({
179
183
  default: withCtx(() => _cache[18] || (_cache[18] = [
180
184
  createTextVNode(" \u751F\u6210\u9884\u89C8\u94FE\u63A5 ")
181
185
  ])),
182
- _: 1
186
+ _: 1,
187
+ __: [18]
183
188
  })
184
189
  ])
185
190
  ], 64))
@@ -762,13 +762,15 @@ const _sfc_main = defineComponent({
762
762
  default: withCtx(() => _cache[29] || (_cache[29] = [
763
763
  createTextVNode(" \u9ED8\u54C0\u6A21\u5F0F")
764
764
  ])),
765
- _: 1
765
+ _: 1,
766
+ __: [29]
766
767
  }),
767
768
  createVNode(unref(Radio), { value: 2 }, {
768
769
  default: withCtx(() => _cache[30] || (_cache[30] = [
769
770
  createTextVNode("\u975E\u9ED8\u54C0\u6A21\u5F0F")
770
771
  ])),
771
- _: 1
772
+ _: 1,
773
+ __: [30]
772
774
  })
773
775
  ]),
774
776
  _: 1
@@ -73,7 +73,7 @@ function useUpload(options) {
73
73
  list.value = originList;
74
74
  }
75
75
  };
76
- const uploadFile = (BASE_API, file, dir = 0, repoId, callback) => {
76
+ const uploadFile = (BASE_API, file, dir = 0, repoId, callback, upOptions) => {
77
77
  const newFile = {
78
78
  id: file.id || generateUUID(),
79
79
  sig_id: file.sig_id || generateUUID(),
@@ -93,18 +93,24 @@ function useUpload(options) {
93
93
  };
94
94
  const uploading = upload.start(progress);
95
95
  uploading.then(async (url) => {
96
+ var _a;
96
97
  if (options == null ? void 0 : options.noAddMedia) {
97
98
  recordTaskStatusChange({ ...newFile, status: 0, url }, 1);
98
99
  callback && callback({ ...newFile, url }, "success");
99
100
  return;
100
101
  }
102
+ const params = {};
103
+ if ((_a = upOptions == null ? void 0 : upOptions.template) == null ? void 0 : _a.watermark) {
104
+ params.watermark = upOptions.template.watermark.default;
105
+ }
101
106
  const { code, message } = await addMedia(BASE_API, {
102
107
  url,
103
108
  size: newFile.size,
104
109
  directory_id: dir,
105
110
  repository_id: repoId,
106
111
  catalog: newFile.type,
107
- alias: newFile.name
112
+ alias: newFile.name,
113
+ ...params
108
114
  });
109
115
  if (code !== 0) {
110
116
  console.log("\u{1F525}\u{1F525}\u{1F525}\u{1F525}\u{1F525} \u4E0A\u4F20\u5931\u8D25\uFF1A", newFile.name, code, message);
@@ -194,9 +200,16 @@ function getConfiguration(BASE_API, params) {
194
200
  params
195
201
  });
196
202
  }
203
+ function getWatermarkTemplate(BASE_API) {
204
+ return request(BASE_API, {
205
+ url: `/poplar/v2/material/image/watermark`,
206
+ method: "get"
207
+ });
208
+ }
197
209
  function useUploadConfig() {
198
210
  const { get, set, remove } = useLocalstorage("LOCAL_UPLOAD_CONFIG");
199
211
  const config = ref(get() || {});
212
+ const template = ref({});
200
213
  async function initUploadConfig(BASE_API, domainId) {
201
214
  if (config.value.size_config_enabled != null)
202
215
  return;
@@ -245,11 +258,37 @@ function useUploadConfig() {
245
258
  );
246
259
  return false;
247
260
  }
261
+ async function initTemplate(BASE_API) {
262
+ try {
263
+ const { code, message } = await getWatermarkTemplate(BASE_API);
264
+ if (code !== 0)
265
+ return;
266
+ if (message) {
267
+ let defaultWaterMark;
268
+ if (Array.isArray(message.images)) {
269
+ message.images.forEach((item) => {
270
+ if (message.default === item.id)
271
+ defaultWaterMark = item;
272
+ });
273
+ }
274
+ template.value = {
275
+ watermark: {
276
+ default: defaultWaterMark,
277
+ images: message.images
278
+ }
279
+ };
280
+ }
281
+ } catch (e) {
282
+ console.error(e);
283
+ }
284
+ }
248
285
  window.addEventListener("beforeunload", remove, false);
249
286
  return {
250
287
  config,
288
+ template,
251
289
  checkFileSizeOutLimit,
252
- initUploadConfig
290
+ initUploadConfig,
291
+ initTemplate
253
292
  };
254
293
  }
255
- export { addMedia, useUpload as default, getMediaDetails, getSize, reTranscodeMedia, useUploadConfig };
294
+ export { addMedia, useUpload as default, getMediaDetails, getSize, getWatermarkTemplate, reTranscodeMedia, useUploadConfig };
@@ -419,7 +419,8 @@ const _sfc_main = defineComponent({
419
419
  default: withCtx(() => _cache[5] || (_cache[5] = [
420
420
  createTextVNode("\u53D6\u6D88")
421
421
  ])),
422
- _: 1
422
+ _: 1,
423
+ __: [5]
423
424
  }),
424
425
  withDirectives(createVNode(unref(Button), {
425
426
  size: "medium",
@@ -430,7 +431,8 @@ const _sfc_main = defineComponent({
430
431
  default: withCtx(() => _cache[6] || (_cache[6] = [
431
432
  createTextVNode("\u88C1\u526A")
432
433
  ])),
433
- _: 1
434
+ _: 1,
435
+ __: [6]
434
436
  }, 8, ["loading"]), [
435
437
  [vShow, !croppering.value]
436
438
  ])
@@ -105,7 +105,8 @@ const _sfc_main = defineComponent({
105
105
  default: withCtx(() => _cache[1] || (_cache[1] = [
106
106
  createTextVNode("\u4E0B\u8F7D\u6A21\u677F")
107
107
  ])),
108
- _: 1
108
+ _: 1,
109
+ __: [1]
109
110
  }, 8, ["href"])
110
111
  ]),
111
112
  _cache[6] || (_cache[6] = createElementVNode("h3", null, "\u4E0A\u4F20\u6587\u4EF6", -1)),
@@ -126,7 +127,8 @@ const _sfc_main = defineComponent({
126
127
  default: withCtx(() => _cache[3] || (_cache[3] = [
127
128
  createTextVNode(" \u4E0B\u8F7D\u5BFC\u5165\u7ED3\u679C ")
128
129
  ])),
129
- _: 1
130
+ _: 1,
131
+ __: [3]
130
132
  }, 8, ["href"])
131
133
  ])) : createCommentVNode("v-if", true),
132
134
  importPercent.value === 1 && ((_b = importData.value) == null ? void 0 : _b.success_count) === void 0 ? (openBlock(), createElementBlock("p", _hoisted_5, " \u5BFC\u5165\u5931\u8D25\uFF0C" + toDisplayString(importErrorInfo.value), 1)) : createCommentVNode("v-if", true)
@@ -157,7 +159,8 @@ const _sfc_main = defineComponent({
157
159
  default: withCtx(() => _cache[4] || (_cache[4] = [
158
160
  createTextVNode("\u5F00\u59CB\u5BFC\u5165")
159
161
  ])),
160
- _: 1
162
+ _: 1,
163
+ __: [4]
161
164
  }, 8, ["loading"])) : createCommentVNode("v-if", true)
162
165
  ]),
163
166
  _: 1
package/es/index.css CHANGED
@@ -4529,6 +4529,7 @@
4529
4529
  }
4530
4530
  .resource-list-footer,
4531
4531
  .resource-list-header,
4532
+ .resource-list-content .resource-list-content-empty,
4532
4533
  .resource-list-content .arco-scrollbar-container {
4533
4534
  padding: 0 40px;
4534
4535
  }
@@ -4704,6 +4705,11 @@
4704
4705
  .resource-select-container .resource-select-header .arco-tabs-content {
4705
4706
  display: none !important;
4706
4707
  }
4708
+ .resource-select-container .resource-list-content .resource-list-content-empty {
4709
+ box-sizing: border-box;
4710
+ width: 100%;
4711
+ height: 100%;
4712
+ }
4707
4713
  .iframe-container {
4708
4714
  position: relative;
4709
4715
  height: 95vh;
@@ -184,7 +184,8 @@ const _sfc_main = defineComponent({
184
184
  default: withCtx(() => [
185
185
  _cache[3] || (_cache[3] = createTextVNode(" \u91CD\u7F6E "))
186
186
  ]),
187
- _: 1
187
+ _: 1,
188
+ __: [3]
188
189
  })) : createCommentVNode("v-if", true)
189
190
  ]),
190
191
  right: withCtx(() => [