@cmstops/pro-compo 3.9.2 → 3.10.5-stable.2

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 (322) hide show
  1. package/README.md +103 -76
  2. package/dist/index.css +97 -4
  3. package/dist/index.min.css +1 -1
  4. package/dist/index.min.js.map +1 -1
  5. package/es/appCenter/script/api.d.ts +5 -5
  6. package/es/baseFilter/component.js +71 -14
  7. package/es/baseFilter/components/FilterGroup.js +1 -1
  8. package/es/baseFilter/components/filterItem.js +1 -1
  9. package/es/colorPalette/component.js +1 -1
  10. package/es/contentDetailList/component.js +33 -9
  11. package/es/contentDetailList/components/Content/CompoItem/index.js +12 -12
  12. package/es/contentDetailList/components/Content/ContentListItem/index.js +15 -15
  13. package/es/contentDetailList/components/Content/DocItem/ApprovalStateMap/index.js +18 -18
  14. package/es/contentDetailList/components/Content/DocItem/index.js +27 -27
  15. package/es/contentDetailList/components/Content/DocMpItem/index.js +13 -13
  16. package/es/contentDetailList/components/Content/GroupPieceItem/index.js +11 -11
  17. package/es/contentDetailList/components/Content/KongoNavItem/index.js +14 -14
  18. package/es/contentDetailList/components/Content/LiveItem/index.js +9 -9
  19. package/es/contentDetailList/components/Content/MaccountItem/index.js +12 -12
  20. package/es/contentDetailList/components/Content/courseItem/index.js +10 -10
  21. package/es/contentDetailList/components/Content/funhdItem/index.js +10 -10
  22. package/es/contentDetailList/components/Content/index.js +118 -117
  23. package/es/contentDetailList/components/CustomWrp/CustomItem.js +5 -5
  24. package/es/contentDetailList/components/CustomWrp/index.js +10 -10
  25. package/es/contentDetailList/components/Doc/index.js +16 -10
  26. package/es/contentDetailList/components/Records/MatrixItem/index.js +22 -22
  27. package/es/contentDetailList/components/Records/index.js +8 -8
  28. package/es/contentDetailList/components/ShowQRCode/QrcodeView/index.js +6 -6
  29. package/es/contentDetailList/components/ShowQRCode/index.js +1 -1
  30. package/es/contentDetailList/script/api.d.ts +2 -2
  31. package/es/contentModal/component.js +40 -40
  32. package/es/contentModal/components/CompoList/index.js +1 -1
  33. package/es/contentModal/components/Dejin/index.js +1 -1
  34. package/es/contentModal/components/MpContentList/MediaFilter/index.js +2 -2
  35. package/es/contentModal/components/MpContentList/index.js +1 -1
  36. package/es/contentModal/components/ViewAllColumn/MediaFilter/index.js +3 -3
  37. package/es/contentModal/components/ViewAllColumn/index.js +7 -3
  38. package/es/contentModal/components/storeBox/index.js +8 -8
  39. package/es/contentModal/script/api.d.ts +13 -13
  40. package/es/dataTags/component.js +38 -38
  41. package/es/docHistory/component.js +44 -15
  42. package/es/docHistory/components/DocDiffPanel/index.js +2 -2
  43. package/es/docHistory/components/DocHistoryList/index.js +2 -2
  44. package/es/docHistory/scripts/diff.js +4 -3
  45. package/es/docHistory/scripts/useDocHistory.d.ts +1 -1
  46. package/es/docHistory/style/index.css +4 -0
  47. package/es/docHistory/style/index.less +5 -0
  48. package/es/docPreview/component.js +228 -60
  49. package/es/docPreview/components/PreviewIframe.js +37 -6
  50. package/es/docPreview/images/pc.js +2 -0
  51. package/es/docPreview/scripts/api.d.ts +2 -1
  52. package/es/docPreview/scripts/hook.d.ts +11 -1
  53. package/es/docPreview/scripts/hook.js +115 -4
  54. package/es/docPreview/style/index.css +48 -0
  55. package/es/docPreview/style/index.less +23 -0
  56. package/es/docPreview/style/previewIframe.less +31 -0
  57. package/es/editMetaInfo/component.js +24 -4
  58. package/es/editMetaInfo/components/metaInfoForm.js +358 -17
  59. package/es/editMetaInfo/script/api.d.ts +9 -2
  60. package/es/editMetaInfo/script/api.js +20 -1
  61. package/es/emptyData/component.js +4 -4
  62. package/es/emptyData/svg/acount.js +2 -2
  63. package/es/emptyData/svg/add.js +2 -2
  64. package/es/emptyData/svg/analize.js +2 -2
  65. package/es/emptyData/svg/analize_fail.js +2 -2
  66. package/es/emptyData/svg/empty.js +2 -2
  67. package/es/emptyData/svg/file.js +2 -2
  68. package/es/emptyData/svg/manager.js +2 -2
  69. package/es/emptyData/svg/message.js +2 -2
  70. package/es/emptyData/svg/noanalize.js +2 -2
  71. package/es/emptyData/svg/null.js +2 -2
  72. package/es/emptyData/svg/search.js +2 -2
  73. package/es/emptyData/svg/star.js +2 -2
  74. package/es/emptyData/svg/trash.js +2 -2
  75. package/es/emptyData/svg/user.js +2 -2
  76. package/es/hooks/assets.d.ts +1 -1
  77. package/es/hooks/source.d.ts +1 -1
  78. package/es/hooks/useAttachement.d.ts +32 -13
  79. package/es/hooks/useAttachement.js +42 -2
  80. package/es/hooks/usePopper.d.ts +1 -1
  81. package/es/hooks/usePopper.js +3 -3
  82. package/es/hooks/useUpload.d.ts +53 -5
  83. package/es/hooks/useUpload.js +43 -4
  84. package/es/hooks/user.d.ts +1 -1
  85. package/es/imageCrop/component.js +11 -11
  86. package/es/imageCrop/script/api.d.ts +1 -1
  87. package/es/importData/component.js +13 -13
  88. package/es/index.css +97 -4
  89. package/es/index.d.ts +1 -0
  90. package/es/index.js +1 -0
  91. package/es/mediaFilter/component.js +4 -4
  92. package/es/mediaFilter/components/DocFilter.js +1 -1
  93. package/es/mediaFilter/components/FilterGroup.js +1 -1
  94. package/es/mediaFilter/components/FilterItem.js +1 -1
  95. package/es/mediaView/component.js +8 -8
  96. package/es/messageBox/component.js +3 -3
  97. package/es/messageBox/script/api.d.ts +2 -2
  98. package/es/previousVersion/script/api.d.ts +4 -4
  99. package/es/resourceGridList/component.js +16 -16
  100. package/es/resourceGridList/components/FileTypeThumb/index.js +6 -6
  101. package/es/resourceModal/component.js +7 -7
  102. package/es/resourceModal/components/MediaPreviewer/index.js +8 -8
  103. package/es/resourceModal/components/MediaSelection/DocAiMediaSelected/index.js +5 -5
  104. package/es/resourceModal/components/MediaSelection/MainContent/FileTypeThumb/index.js +6 -6
  105. package/es/resourceModal/components/MediaSelection/MainContent/index.js +18 -18
  106. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.js +3 -3
  107. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.js +3 -3
  108. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/index.js +2 -2
  109. package/es/resourceModal/components/MediaSelection/ToolbarSearch/index.js +4 -4
  110. package/es/resourceModal/components/MediaSelection/index.js +6 -6
  111. package/es/resourceModal/script/api.d.ts +11 -11
  112. package/es/selectAddTo/component.d.ts +0 -0
  113. package/es/selectAddTo/component.js +47 -0
  114. package/es/selectAddTo/component.vue_vue_type_style_index_0_scoped_true_lang.js +2 -0
  115. package/es/selectAddTo/components/SelectAddToView.d.ts +0 -0
  116. package/es/selectAddTo/components/SelectAddToView.js +90 -0
  117. package/es/selectAddTo/components/SelectAddToView.vue_vue_type_style_index_0_scoped_true_lang.js +2 -0
  118. package/es/selectAddTo/components/ViewAllColumn/MediaFilter/index.d.ts +0 -0
  119. package/es/selectAddTo/components/ViewAllColumn/MediaFilter/index.js +166 -0
  120. package/es/selectAddTo/components/ViewAllColumn/index.d.ts +0 -0
  121. package/es/selectAddTo/components/ViewAllColumn/index.js +212 -0
  122. package/es/selectAddTo/components/ViewAllColumn/index.vue_vue_type_style_index_0_scoped_true_lang.js +2 -0
  123. package/es/selectAddTo/components/ViewAllColumn/script/useTableColumns.d.ts +6 -0
  124. package/es/selectAddTo/components/ViewAllColumn/script/useTableColumns.js +102 -0
  125. package/es/selectAddTo/components/ViewAllColumn/script/useViewAllColumnState.d.ts +144 -0
  126. package/es/selectAddTo/components/ViewAllColumn/script/useViewAllColumnState.js +182 -0
  127. package/es/selectAddTo/components/ViewAllColumn/types/index.d.ts +55 -0
  128. package/es/selectAddTo/index.d.ts +2 -0
  129. package/es/selectAddTo/index.js +7 -0
  130. package/es/selectAddTo/script/api.d.ts +18 -0
  131. package/es/selectAddTo/script/api.js +23 -0
  132. package/es/selectAddTo/script/index.d.ts +2 -0
  133. package/es/selectAddTo/script/useSelectAddToState.d.ts +13 -0
  134. package/es/selectAddTo/script/useSelectAddToState.js +55 -0
  135. package/es/selectAddTo/style/css.js +1 -0
  136. package/es/selectAddTo/style/index.css +3 -0
  137. package/es/selectAddTo/style/index.d.ts +1 -0
  138. package/es/selectAddTo/style/index.js +1 -0
  139. package/es/selectAddTo/style/index.less +3 -0
  140. package/es/selectAddTo/types/index.d.ts +37 -0
  141. package/es/selectGategory/component.js +5 -5
  142. package/es/selectGategory/components/ColumnSelection/index.js +6 -6
  143. package/es/selectGategory/script/api.d.ts +2 -2
  144. package/es/selectResourceModal/__demo__/module/DivWrapper.d.ts +261 -0
  145. package/es/selectResourceModal/__demo__/module/basic.d.ts +292 -0
  146. package/es/selectResourceModal/component.js +26 -34
  147. package/es/selectResourceModal/components/List/ListCardWrapper.js +6 -6
  148. package/es/selectResourceModal/components/List/ListLocal/Upload.js +1 -1
  149. package/es/selectResourceModal/components/List/ListLocal/index.js +8 -3
  150. package/es/selectResourceModal/components/List/ListNormal/Filter.js +210 -83
  151. package/es/selectResourceModal/components/List/ListNormal/index.js +23 -7
  152. package/es/selectResourceModal/components/List/ListSystem/Filter.js +3 -3
  153. package/es/selectResourceModal/components/List/ListSystem/SubList.js +3 -3
  154. package/es/selectResourceModal/components/List/ListSystem/index.js +2 -2
  155. package/es/selectResourceModal/components/List/ListWraper.js +2 -2
  156. package/es/selectResourceModal/components/ListSelected/index.js +6 -6
  157. package/es/selectResourceModal/components/ListTabs/index.js +1 -1
  158. package/es/selectResourceModal/hooks/useResponsiveFilter.d.ts +21 -0
  159. package/es/selectResourceModal/hooks/useResponsiveFilter.js +142 -0
  160. package/es/selectResourceModal/scripts/selectionApis.d.ts +2 -2
  161. package/es/selectResourceModal/scripts/useCompoLf.js +1 -1
  162. package/es/selectResourceModal/scripts/useTabFilter.js +1 -11
  163. package/es/selectResourceModal/style/index.css +45 -4
  164. package/es/selectResourceModal/style/index.less +14 -0
  165. package/es/selectResourceModal/style/list.less +40 -4
  166. package/es/selectThumb/component.js +76 -33
  167. package/es/selectThumb/components/card.js +3 -3
  168. package/es/style.css +63 -0
  169. package/es/thumbCard/component.js +7 -7
  170. package/es/thumbCard/components/ThumbUploading/index.js +3 -3
  171. package/es/typeIcons/component.js +1 -1
  172. package/es/uploadBefore/component.js +1 -1
  173. package/es/uploadBefore/components/UploadBefore.js +9 -9
  174. package/es/uploadBefore/script/api.d.ts +4 -4
  175. package/es/uploadStep/component.js +3 -3
  176. package/es/userAvater/component.js +3 -3
  177. package/es/userAvater/script/api.d.ts +4 -4
  178. package/es/userDirector/component.js +5 -5
  179. package/es/userDirector/components/userTree.js +2 -2
  180. package/es/userDirector/script/api.d.ts +6 -6
  181. package/es/utils/index.js +6 -6
  182. package/es/utils/request.d.ts +1 -1
  183. package/es/utils/transcodeMedia.d.ts +1 -1
  184. package/es/videoThumb/scripts/api.d.ts +1 -1
  185. package/lib/baseFilter/component.js +69 -12
  186. package/lib/baseFilter/components/FilterGroup.js +1 -1
  187. package/lib/baseFilter/components/filterItem.js +1 -1
  188. package/lib/colorPalette/component.js +1 -1
  189. package/lib/contentDetailList/component.js +33 -9
  190. package/lib/contentDetailList/components/Content/CompoItem/index.js +12 -12
  191. package/lib/contentDetailList/components/Content/ContentListItem/index.js +15 -15
  192. package/lib/contentDetailList/components/Content/DocItem/ApprovalStateMap/index.js +18 -18
  193. package/lib/contentDetailList/components/Content/DocItem/index.js +27 -27
  194. package/lib/contentDetailList/components/Content/DocMpItem/index.js +13 -13
  195. package/lib/contentDetailList/components/Content/GroupPieceItem/index.js +11 -11
  196. package/lib/contentDetailList/components/Content/KongoNavItem/index.js +14 -14
  197. package/lib/contentDetailList/components/Content/LiveItem/index.js +9 -9
  198. package/lib/contentDetailList/components/Content/MaccountItem/index.js +12 -12
  199. package/lib/contentDetailList/components/Content/courseItem/index.js +10 -10
  200. package/lib/contentDetailList/components/Content/funhdItem/index.js +10 -10
  201. package/lib/contentDetailList/components/Content/index.js +118 -117
  202. package/lib/contentDetailList/components/CustomWrp/CustomItem.js +5 -5
  203. package/lib/contentDetailList/components/CustomWrp/index.js +10 -10
  204. package/lib/contentDetailList/components/Doc/index.js +16 -10
  205. package/lib/contentDetailList/components/Records/MatrixItem/index.js +22 -22
  206. package/lib/contentDetailList/components/Records/index.js +8 -8
  207. package/lib/contentDetailList/components/ShowQRCode/QrcodeView/index.js +6 -6
  208. package/lib/contentDetailList/components/ShowQRCode/index.js +1 -1
  209. package/lib/contentModal/component.js +40 -40
  210. package/lib/contentModal/components/CompoList/index.js +1 -1
  211. package/lib/contentModal/components/Dejin/index.js +1 -1
  212. package/lib/contentModal/components/MpContentList/MediaFilter/index.js +2 -2
  213. package/lib/contentModal/components/MpContentList/index.js +1 -1
  214. package/lib/contentModal/components/ViewAllColumn/MediaFilter/index.js +3 -3
  215. package/lib/contentModal/components/ViewAllColumn/index.js +7 -3
  216. package/lib/contentModal/components/storeBox/index.js +8 -8
  217. package/lib/dataTags/component.js +38 -38
  218. package/lib/docHistory/component.js +42 -13
  219. package/lib/docHistory/components/DocDiffPanel/index.js +2 -2
  220. package/lib/docHistory/components/DocHistoryList/index.js +2 -2
  221. package/lib/docHistory/scripts/diff.js +4 -3
  222. package/lib/docHistory/style/index.css +4 -0
  223. package/lib/docHistory/style/index.less +5 -0
  224. package/lib/docPreview/component.js +227 -59
  225. package/lib/docPreview/components/PreviewIframe.js +37 -6
  226. package/lib/docPreview/images/pc.js +3 -0
  227. package/lib/docPreview/scripts/hook.js +115 -3
  228. package/lib/docPreview/style/index.css +48 -0
  229. package/lib/docPreview/style/index.less +23 -0
  230. package/lib/docPreview/style/previewIframe.less +31 -0
  231. package/lib/editMetaInfo/component.js +23 -3
  232. package/lib/editMetaInfo/components/metaInfoForm.js +356 -15
  233. package/lib/editMetaInfo/script/api.js +21 -0
  234. package/lib/emptyData/component.js +4 -4
  235. package/lib/emptyData/svg/acount.js +2 -2
  236. package/lib/emptyData/svg/add.js +2 -2
  237. package/lib/emptyData/svg/analize.js +2 -2
  238. package/lib/emptyData/svg/analize_fail.js +2 -2
  239. package/lib/emptyData/svg/empty.js +2 -2
  240. package/lib/emptyData/svg/file.js +2 -2
  241. package/lib/emptyData/svg/manager.js +2 -2
  242. package/lib/emptyData/svg/message.js +2 -2
  243. package/lib/emptyData/svg/noanalize.js +2 -2
  244. package/lib/emptyData/svg/null.js +2 -2
  245. package/lib/emptyData/svg/search.js +2 -2
  246. package/lib/emptyData/svg/star.js +2 -2
  247. package/lib/emptyData/svg/trash.js +2 -2
  248. package/lib/emptyData/svg/user.js +2 -2
  249. package/lib/hooks/useAttachement.js +42 -0
  250. package/lib/hooks/usePopper.js +3 -3
  251. package/lib/hooks/useUpload.js +43 -3
  252. package/lib/imageCrop/component.js +11 -11
  253. package/lib/importData/component.js +13 -13
  254. package/lib/index.css +97 -4
  255. package/lib/index.js +2 -0
  256. package/lib/mediaFilter/component.js +4 -4
  257. package/lib/mediaFilter/components/DocFilter.js +1 -1
  258. package/lib/mediaFilter/components/FilterGroup.js +1 -1
  259. package/lib/mediaFilter/components/FilterItem.js +1 -1
  260. package/lib/mediaView/component.js +8 -8
  261. package/lib/messageBox/component.js +3 -3
  262. package/lib/resourceGridList/component.js +16 -16
  263. package/lib/resourceGridList/components/FileTypeThumb/index.js +6 -6
  264. package/lib/resourceModal/component.js +7 -7
  265. package/lib/resourceModal/components/MediaPreviewer/index.js +8 -8
  266. package/lib/resourceModal/components/MediaSelection/DocAiMediaSelected/index.js +5 -5
  267. package/lib/resourceModal/components/MediaSelection/MainContent/FileTypeThumb/index.js +6 -6
  268. package/lib/resourceModal/components/MediaSelection/MainContent/index.js +18 -18
  269. package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.js +3 -3
  270. package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.js +3 -3
  271. package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/index.js +2 -2
  272. package/lib/resourceModal/components/MediaSelection/ToolbarSearch/index.js +4 -4
  273. package/lib/resourceModal/components/MediaSelection/index.js +6 -6
  274. package/lib/selectAddTo/component.js +48 -0
  275. package/lib/selectAddTo/component.vue_vue_type_style_index_0_scoped_true_lang.js +3 -0
  276. package/lib/selectAddTo/components/SelectAddToView.js +91 -0
  277. package/lib/selectAddTo/components/SelectAddToView.vue_vue_type_style_index_0_scoped_true_lang.js +3 -0
  278. package/lib/selectAddTo/components/ViewAllColumn/MediaFilter/index.js +167 -0
  279. package/lib/selectAddTo/components/ViewAllColumn/index.js +213 -0
  280. package/lib/selectAddTo/components/ViewAllColumn/index.vue_vue_type_style_index_0_scoped_true_lang.js +3 -0
  281. package/lib/selectAddTo/components/ViewAllColumn/script/useTableColumns.js +108 -0
  282. package/lib/selectAddTo/components/ViewAllColumn/script/useViewAllColumnState.js +184 -0
  283. package/lib/selectAddTo/index.js +8 -0
  284. package/lib/selectAddTo/script/api.js +27 -0
  285. package/lib/selectAddTo/script/useSelectAddToState.js +57 -0
  286. package/lib/selectAddTo/style/css.js +2 -0
  287. package/lib/selectAddTo/style/index.css +3 -0
  288. package/lib/selectAddTo/style/index.js +2 -0
  289. package/lib/selectAddTo/style/index.less +3 -0
  290. package/lib/selectGategory/component.js +5 -5
  291. package/lib/selectGategory/components/ColumnSelection/index.js +6 -6
  292. package/lib/selectResourceModal/component.js +25 -33
  293. package/lib/selectResourceModal/components/List/ListCardWrapper.js +6 -6
  294. package/lib/selectResourceModal/components/List/ListLocal/Upload.js +1 -1
  295. package/lib/selectResourceModal/components/List/ListLocal/index.js +6 -1
  296. package/lib/selectResourceModal/components/List/ListNormal/Filter.js +207 -80
  297. package/lib/selectResourceModal/components/List/ListNormal/index.js +22 -6
  298. package/lib/selectResourceModal/components/List/ListSystem/Filter.js +3 -3
  299. package/lib/selectResourceModal/components/List/ListSystem/SubList.js +3 -3
  300. package/lib/selectResourceModal/components/List/ListSystem/index.js +2 -2
  301. package/lib/selectResourceModal/components/List/ListWraper.js +2 -2
  302. package/lib/selectResourceModal/components/ListSelected/index.js +6 -6
  303. package/lib/selectResourceModal/components/ListTabs/index.js +1 -1
  304. package/lib/selectResourceModal/hooks/useResponsiveFilter.js +144 -0
  305. package/lib/selectResourceModal/scripts/useCompoLf.js +1 -1
  306. package/lib/selectResourceModal/scripts/useTabFilter.js +1 -13
  307. package/lib/selectResourceModal/style/index.css +45 -4
  308. package/lib/selectResourceModal/style/index.less +14 -0
  309. package/lib/selectResourceModal/style/list.less +40 -4
  310. package/lib/selectThumb/component.js +75 -32
  311. package/lib/selectThumb/components/card.js +3 -3
  312. package/lib/thumbCard/component.js +7 -7
  313. package/lib/thumbCard/components/ThumbUploading/index.js +3 -3
  314. package/lib/typeIcons/component.js +1 -1
  315. package/lib/uploadBefore/component.js +1 -1
  316. package/lib/uploadBefore/components/UploadBefore.js +9 -9
  317. package/lib/uploadStep/component.js +3 -3
  318. package/lib/userAvater/component.js +3 -3
  319. package/lib/userDirector/component.js +5 -5
  320. package/lib/userDirector/components/userTree.js +2 -2
  321. package/lib/utils/index.js +6 -6
  322. package/package.json +1 -1
@@ -90,7 +90,7 @@ const _sfc_main = vue.defineComponent({
90
90
  onOk: handleOk
91
91
  }, {
92
92
  title: vue.withCtx(() => [
93
- vue.createTextVNode(vue.toDisplayString(_ctx.title || "\u5BFC\u5165\u6570\u636E"), 1)
93
+ vue.createTextVNode(vue.toDisplayString(__props.title || "\u5BFC\u5165\u6570\u636E"), 1)
94
94
  ]),
95
95
  default: vue.withCtx(() => {
96
96
  var _a, _b;
@@ -98,14 +98,14 @@ const _sfc_main = vue.defineComponent({
98
98
  vue.createElementVNode("div", _hoisted_1, [
99
99
  _cache[5] || (_cache[5] = vue.createElementVNode("h3", null, "\u4E0B\u8F7D\u5BFC\u5165\u6A21\u7248", -1)),
100
100
  vue.createElementVNode("p", _hoisted_2, [
101
- _cache[2] || (_cache[2] = vue.createTextVNode(" \u4E25\u683C\u6309\u7167\u6A21\u677F\u683C\u5F0F\u53CA\u5185\u5BB9\u51C6\u5907\u5BFC\u5165\u7684\u6570\u636E\u3002 ")),
101
+ _cache[2] || (_cache[2] = vue.createTextVNode(" \u4E25\u683C\u6309\u7167\u6A21\u677F\u683C\u5F0F\u53CA\u5185\u5BB9\u51C6\u5907\u5BFC\u5165\u7684\u6570\u636E\u3002 ", -1)),
102
102
  vue.createVNode(vue.unref(webVue.Link), {
103
103
  target: "_blank",
104
- href: _ctx.importTemplateUrl
104
+ href: __props.importTemplateUrl
105
105
  }, {
106
- default: vue.withCtx(() => _cache[1] || (_cache[1] = [
107
- vue.createTextVNode("\u4E0B\u8F7D\u6A21\u677F")
108
- ])),
106
+ default: vue.withCtx(() => [..._cache[1] || (_cache[1] = [
107
+ vue.createTextVNode("\u4E0B\u8F7D\u6A21\u677F", -1)
108
+ ])]),
109
109
  _: 1
110
110
  }, 8, ["href"])
111
111
  ]),
@@ -124,9 +124,9 @@ const _sfc_main = vue.defineComponent({
124
124
  target: "_blank",
125
125
  href: importData.value.result_url
126
126
  }, {
127
- default: vue.withCtx(() => _cache[3] || (_cache[3] = [
128
- vue.createTextVNode(" \u4E0B\u8F7D\u5BFC\u5165\u7ED3\u679C ")
129
- ])),
127
+ default: vue.withCtx(() => [..._cache[3] || (_cache[3] = [
128
+ vue.createTextVNode(" \u4E0B\u8F7D\u5BFC\u5165\u7ED3\u679C ", -1)
129
+ ])]),
130
130
  _: 1
131
131
  }, 8, ["href"])
132
132
  ])) : vue.createCommentVNode("v-if", true),
@@ -143,7 +143,7 @@ const _sfc_main = vue.defineComponent({
143
143
  draggable: "",
144
144
  "with-credentials": true,
145
145
  limit: 1,
146
- action: _ctx.uploadAction,
146
+ action: __props.uploadAction,
147
147
  accept: ".xls,.xlsx",
148
148
  onSuccess: uploadSuccess,
149
149
  onChange: uploadChange
@@ -155,9 +155,9 @@ const _sfc_main = vue.defineComponent({
155
155
  class: "primary2",
156
156
  onClick: importStart
157
157
  }, {
158
- default: vue.withCtx(() => _cache[4] || (_cache[4] = [
159
- vue.createTextVNode("\u5F00\u59CB\u5BFC\u5165")
160
- ])),
158
+ default: vue.withCtx(() => [..._cache[4] || (_cache[4] = [
159
+ vue.createTextVNode("\u5F00\u59CB\u5BFC\u5165", -1)
160
+ ])]),
161
161
  _: 1
162
162
  }, 8, ["loading"])) : vue.createCommentVNode("v-if", true)
163
163
  ]),
package/lib/index.css CHANGED
@@ -4529,11 +4529,13 @@
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
  }
4535
4536
  .resource-list-footer {
4536
4537
  display: flex;
4538
+ flex-wrap: wrap;
4537
4539
  justify-content: space-between;
4538
4540
  padding-bottom: 20px;
4539
4541
  }
@@ -4543,6 +4545,10 @@
4543
4545
  gap: 10px;
4544
4546
  align-items: center;
4545
4547
  justify-content: flex-end;
4548
+ margin-top: 10px;
4549
+ }
4550
+ .resource-list-footer .footer-right .list-selected-wrapper {
4551
+ font-size: 12px;
4546
4552
  }
4547
4553
  .resource-list-content-loading {
4548
4554
  display: flex;
@@ -4554,7 +4560,7 @@
4554
4560
  .resource-list .list-item-grid {
4555
4561
  display: grid;
4556
4562
  grid-gap: 20px;
4557
- grid-template-columns: repeat(5, 1fr);
4563
+ grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
4558
4564
  }
4559
4565
  .resource-list .list-content {
4560
4566
  margin-top: 30px;
@@ -4597,7 +4603,8 @@
4597
4603
  }
4598
4604
  .resource-list .list-filter-wrapper .list-filter-tags {
4599
4605
  display: flex;
4600
- justify-content: space-between;
4606
+ flex-wrap: wrap;
4607
+ gap: 10px;
4601
4608
  margin-top: 10px;
4602
4609
  }
4603
4610
  .resource-list .list-filter-wrapper .list-filter-tags .list-filter-tag {
@@ -4618,16 +4625,41 @@
4618
4625
  justify-content: space-between;
4619
4626
  }
4620
4627
  .resource-list .list-filter-wrapper .list-filter .filter-list {
4628
+ position: relative;
4629
+ /** 给 popup 一个参考 */
4621
4630
  display: flex;
4622
- flex-wrap: wrap;
4623
- gap: 10px;
4624
4631
  }
4625
4632
  .resource-list .list-filter-wrapper .list-filter .filter-list .filter-item {
4626
4633
  width: 100px;
4634
+ margin-right: 10px;
4635
+ }
4636
+ .resource-list .list-filter-wrapper .list-filter .filter-list .arco-trigger-popup {
4637
+ z-index: 100000 !important;
4627
4638
  }
4628
4639
  .resource-list .list-filter-wrapper .list-filter .arco-input-prepend {
4629
4640
  padding: 0;
4630
4641
  }
4642
+ .resource-list .list-filter-wrapper .list-filter .more-btn {
4643
+ position: relative;
4644
+ /** 给 poperjs 一个参考 */
4645
+ }
4646
+ .resource-list .list-filter-wrapper .list-filter .more-btn .filter-pannel {
4647
+ inset: 40px auto auto auto !important;
4648
+ }
4649
+ .resource-list .list-filter-wrapper .filter-extra {
4650
+ display: flex;
4651
+ gap: 10px;
4652
+ }
4653
+ .resource-list .list-filter-wrapper .filter-pannel {
4654
+ z-index: 100000;
4655
+ display: flex;
4656
+ flex-direction: column;
4657
+ gap: 10px;
4658
+ padding: 10px;
4659
+ background-color: #fff;
4660
+ border-radius: 4px;
4661
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
4662
+ }
4631
4663
  .resource-list .title {
4632
4664
  display: flex;
4633
4665
  gap: 8px;
@@ -4641,6 +4673,10 @@
4641
4673
  height: 16px;
4642
4674
  background-color: #4886ff;
4643
4675
  }
4676
+ .resource-select-wrap {
4677
+ width: 100%;
4678
+ height: 100%;
4679
+ }
4644
4680
  .resource-select-modal-body {
4645
4681
  height: 80vh;
4646
4682
  padding: 0;
@@ -4669,6 +4705,11 @@
4669
4705
  .resource-select-container .resource-select-header .arco-tabs-content {
4670
4706
  display: none !important;
4671
4707
  }
4708
+ .resource-select-container .resource-list-content .resource-list-content-empty {
4709
+ box-sizing: border-box;
4710
+ width: 100%;
4711
+ height: 100%;
4712
+ }
4672
4713
  .iframe-container {
4673
4714
  position: relative;
4674
4715
  height: 95vh;
@@ -4701,6 +4742,33 @@
4701
4742
  border: none;
4702
4743
  outline: none;
4703
4744
  }
4745
+ .iframe-container-pc {
4746
+ position: relative;
4747
+ height: 95vh;
4748
+ overflow: hidden;
4749
+ aspect-ratio: 1920 / 1080;
4750
+ }
4751
+ .iframe-container-pc img {
4752
+ position: absolute;
4753
+ width: 100%;
4754
+ height: 100%;
4755
+ }
4756
+ .iframe-container-pc .iframe-content-pc {
4757
+ position: absolute;
4758
+ top: 70px;
4759
+ left: 56px;
4760
+ width: calc(100% - 106px);
4761
+ height: calc(100% - 140px);
4762
+ overflow: hidden;
4763
+ background-color: white;
4764
+ border-radius: 15px;
4765
+ }
4766
+ .iframe-container-pc iframe {
4767
+ width: 100%;
4768
+ height: 100%;
4769
+ border: none;
4770
+ outline: none;
4771
+ }
4704
4772
  .doc-preview-container {
4705
4773
  position: fixed;
4706
4774
  top: 0;
@@ -4818,6 +4886,27 @@
4818
4886
  font-size: 20px;
4819
4887
  cursor: pointer;
4820
4888
  }
4889
+ .v-bottom {
4890
+ position: absolute;
4891
+ bottom: 24px;
4892
+ left: 100%;
4893
+ z-index: 999;
4894
+ width: 100%;
4895
+ color: #fff;
4896
+ font-size: 12px;
4897
+ transform: translateX(-60%);
4898
+ }
4899
+ .v-bottom span {
4900
+ width: 120px;
4901
+ height: 42px;
4902
+ margin-right: 16px;
4903
+ padding: 10px 16px;
4904
+ font-size: 12px;
4905
+ background: rgba(216, 216, 216, 0.05);
4906
+ background-color: #00000068;
4907
+ border-radius: 6px;
4908
+ opacity: 1;
4909
+ }
4821
4910
  .doc-diff-panel-wrap {
4822
4911
  box-sizing: border-box;
4823
4912
  width: 100% !important;
@@ -4925,6 +5014,10 @@
4925
5014
  .doc-history-drawer .arco-drawer-footer {
4926
5015
  text-align: left;
4927
5016
  }
5017
+ .doc-history-modal-wrap {
5018
+ height: 70vh;
5019
+ padding: 0;
5020
+ }
4928
5021
  .video-thumb {
4929
5022
  display: flex;
4930
5023
  flex-direction: column;
package/lib/index.js CHANGED
@@ -30,6 +30,7 @@ var index$p = require("./docPreview/index.js");
30
30
  var index$q = require("./docHistory/index.js");
31
31
  var index$r = require("./videoThumb/index.js");
32
32
  var index$s = require("./importData/index.js");
33
+ var index$t = require("./selectAddTo/index.js");
33
34
  exports["default"] = components;
34
35
  exports.appCenter = index;
35
36
  exports.messageBox = index$1;
@@ -60,3 +61,4 @@ exports.docPreview = index$p;
60
61
  exports.docHistory = index$q;
61
62
  exports.videoThumb = index$r;
62
63
  exports.importData = index$s;
64
+ exports.selectAddTo = index$t;
@@ -28,10 +28,10 @@ const _sfc_main = vue.defineComponent({
28
28
  }
29
29
  return (_ctx, _cache) => {
30
30
  return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
31
- _ctx.filterType === "DOC" ? (vue.openBlock(), vue.createBlock(DocFilter, {
31
+ __props.filterType === "DOC" ? (vue.openBlock(), vue.createBlock(DocFilter, {
32
32
  key: 0,
33
- "filter-keys": _ctx.docFilterKeys,
34
- "filter-type": _ctx.docFilterType,
33
+ "filter-keys": __props.docFilterKeys,
34
+ "filter-type": __props.docFilterType,
35
35
  onSearch: handleFilterSearch,
36
36
  onChange: handleFilterChange
37
37
  }, {
@@ -39,7 +39,7 @@ const _sfc_main = vue.defineComponent({
39
39
  vue.renderSlot(_ctx.$slots, "right")
40
40
  ]),
41
41
  _: 3
42
- }, 8, ["filter-keys", "filter-type"])) : _ctx.filterType === "MEDIA" ? (vue.openBlock(), vue.createBlock(MediaFilter, { key: 1 })) : _ctx.filterType === "MP_ACOUNT" ? (vue.openBlock(), vue.createBlock(MpAccountFilter, { key: 2 })) : _ctx.filterType === "MP_CONTENT" ? (vue.openBlock(), vue.createBlock(MpContentFilter, { key: 3 })) : vue.createCommentVNode("v-if", true)
42
+ }, 8, ["filter-keys", "filter-type"])) : __props.filterType === "MEDIA" ? (vue.openBlock(), vue.createBlock(MediaFilter, { key: 1 })) : __props.filterType === "MP_ACOUNT" ? (vue.openBlock(), vue.createBlock(MpAccountFilter, { key: 2 })) : __props.filterType === "MP_CONTENT" ? (vue.openBlock(), vue.createBlock(MpContentFilter, { key: 3 })) : vue.createCommentVNode("v-if", true)
43
43
  ]);
44
44
  };
45
45
  }
@@ -183,7 +183,7 @@ const _sfc_main = vue.defineComponent({
183
183
  vue.createVNode(vue.unref(icon.IconRefresh))
184
184
  ]),
185
185
  default: vue.withCtx(() => [
186
- _cache[3] || (_cache[3] = vue.createTextVNode(" \u91CD\u7F6E "))
186
+ _cache[3] || (_cache[3] = vue.createTextVNode(" \u91CD\u7F6E ", -1))
187
187
  ]),
188
188
  _: 1
189
189
  })) : vue.createCommentVNode("v-if", true)
@@ -147,7 +147,7 @@ const _sfc_main = vue.defineComponent({
147
147
  }, {
148
148
  default: vue.withCtx(() => [
149
149
  vue.createElementVNode("span", _hoisted_4, [
150
- _cache[0] || (_cache[0] = vue.createTextVNode(" \u66F4\u591A\u7B5B\u9009 ")),
150
+ _cache[0] || (_cache[0] = vue.createTextVNode(" \u66F4\u591A\u7B5B\u9009 ", -1)),
151
151
  vue.createVNode(vue.unref(icon.IconCaretDown))
152
152
  ])
153
153
  ]),
@@ -92,7 +92,7 @@ const _sfc_main = vue.defineComponent({
92
92
  vue.withDirectives(vue.createVNode(vue.unref(webVue.Button), { type: "secondary" }, {
93
93
  default: vue.withCtx(() => [
94
94
  vue.createElementVNode("span", _hoisted_5, [
95
- vue.createTextVNode(vue.toDisplayString(_ctx.label) + " ", 1),
95
+ vue.createTextVNode(vue.toDisplayString(__props.label) + " ", 1),
96
96
  vue.createVNode(vue.unref(icon.IconCaretDown))
97
97
  ])
98
98
  ]),
@@ -29,7 +29,7 @@ const _sfc_main = vue.defineComponent({
29
29
  return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
30
30
  vue.createVNode(vue.unref(webVue.ImagePreview), {
31
31
  visible: imageVisible.value,
32
- src: _ctx.url,
32
+ src: __props.url,
33
33
  onClose: closePreviewer
34
34
  }, null, 8, ["visible", "src"]),
35
35
  vue.withDirectives(vue.createElementVNode("div", _hoisted_1, [
@@ -40,22 +40,22 @@ const _sfc_main = vue.defineComponent({
40
40
  vue.createVNode(vue.unref(icon.IconClose))
41
41
  ]),
42
42
  vue.createElementVNode("div", _hoisted_2, [
43
- _ctx.type === "video" ? (vue.openBlock(), vue.createElementBlock("video", {
43
+ __props.type === "video" ? (vue.openBlock(), vue.createElementBlock("video", {
44
44
  key: 0,
45
45
  class: "video",
46
46
  controls: "",
47
- src: _ctx.url
48
- }, null, 8, _hoisted_3)) : _ctx.type === "audio" ? (vue.openBlock(), vue.createElementBlock("audio", {
47
+ src: __props.url
48
+ }, null, 8, _hoisted_3)) : __props.type === "audio" ? (vue.openBlock(), vue.createElementBlock("audio", {
49
49
  key: 1,
50
50
  class: "audio",
51
51
  controls: "",
52
- src: _ctx.url
53
- }, null, 8, _hoisted_4)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_5, _cache[0] || (_cache[0] = [
52
+ src: __props.url
53
+ }, null, 8, _hoisted_4)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_5, [..._cache[0] || (_cache[0] = [
54
54
  vue.createElementVNode("span", { class: "text" }, "\u6682\u4E0D\u652F\u6301\u8BE5\u7C7B\u578B\u6587\u4EF6\u9884\u89C8", -1)
55
- ])))
55
+ ])]))
56
56
  ])
57
57
  ], 512), [
58
- [vue.vShow, _ctx.type !== "image"]
58
+ [vue.vShow, __props.type !== "image"]
59
59
  ])
60
60
  ], 64);
61
61
  };
@@ -98,9 +98,9 @@ const _sfc_main = vue.defineComponent({
98
98
  vue.createVNode(vue.unref(webVue.Tabs), null, {
99
99
  default: vue.withCtx(() => [
100
100
  vue.withDirectives((vue.openBlock(), vue.createBlock(vue.unref(webVue.TabPane), { key: "1" }, {
101
- title: vue.withCtx(() => _cache[2] || (_cache[2] = [
102
- vue.createTextVNode("\u6D88\u606F")
103
- ])),
101
+ title: vue.withCtx(() => [..._cache[2] || (_cache[2] = [
102
+ vue.createTextVNode("\u6D88\u606F", -1)
103
+ ])]),
104
104
  default: vue.withCtx(() => [
105
105
  unreadMessages.value.length === 0 ? (vue.openBlock(), vue.createBlock(list, {
106
106
  key: 0,
@@ -79,9 +79,9 @@ const _sfc_main = vue.defineComponent({
79
79
  return [
80
80
  vue.createElementVNode("div", _hoisted_1, [
81
81
  vue.createCommentVNode(" \u6587\u4EF6\u5939 "),
82
- _ctx.folderList ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", _hoisted_2, [
82
+ __props.folderList ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", _hoisted_2, [
83
83
  vue.createCommentVNode(" \u6587\u4EF6\u5939\u6570\u91CF<10 "),
84
- !isFold.value ? (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 0 }, vue.renderList(_ctx.folderList, (item, index2) => {
84
+ !isFold.value ? (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 0 }, vue.renderList(__props.folderList, (item, index2) => {
85
85
  return vue.openBlock(), vue.createElementBlock("div", {
86
86
  key: index2,
87
87
  class: "item folder-item",
@@ -109,7 +109,7 @@ const _sfc_main = vue.defineComponent({
109
109
  ], 8, _hoisted_3);
110
110
  }), 128)) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
111
111
  vue.createCommentVNode(" \u6587\u4EF6\u5939\u6570\u91CF>10 "),
112
- (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList((_a = _ctx.folderList) == null ? void 0 : _a.slice(0, 9), (item, index2) => {
112
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList((_a = __props.folderList) == null ? void 0 : _a.slice(0, 9), (item, index2) => {
113
113
  return vue.openBlock(), vue.createElementBlock("div", {
114
114
  key: index2,
115
115
  class: "item folder-item",
@@ -134,7 +134,7 @@ const _sfc_main = vue.defineComponent({
134
134
  ], 8, _hoisted_5);
135
135
  }), 128))
136
136
  ], 64)),
137
- ((_b = _ctx.folderList) == null ? void 0 : _b.length) > 10 ? (vue.openBlock(), vue.createElementBlock("div", {
137
+ ((_b = __props.folderList) == null ? void 0 : _b.length) > 10 ? (vue.openBlock(), vue.createElementBlock("div", {
138
138
  key: 2,
139
139
  class: "folder-more-button",
140
140
  onClick: _cache[0] || (_cache[0] = ($event) => isFold.value = !isFold.value)
@@ -145,11 +145,11 @@ const _sfc_main = vue.defineComponent({
145
145
  ])
146
146
  ])) : vue.createCommentVNode("v-if", true)
147
147
  ], 512)), [
148
- [vue.vShow, ((_c = _ctx.folderList) == null ? void 0 : _c.length) !== 0 && _ctx.showFolder]
148
+ [vue.vShow, ((_c = __props.folderList) == null ? void 0 : _c.length) !== 0 && __props.showFolder]
149
149
  ]) : vue.createCommentVNode("v-if", true),
150
150
  vue.createCommentVNode(" \u6587\u4EF6 "),
151
151
  vue.createElementVNode("div", _hoisted_9, [
152
- (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.fileList, (item, index$1) => {
152
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.fileList, (item, index$1) => {
153
153
  return vue.openBlock(), vue.createElementBlock("div", {
154
154
  key: index$1,
155
155
  class: "item"
@@ -164,7 +164,7 @@ const _sfc_main = vue.defineComponent({
164
164
  }, [
165
165
  vue.createVNode(index, {
166
166
  "item-data": item,
167
- preview: _ctx.preview,
167
+ preview: __props.preview,
168
168
  onConfirm: _clickFileItem
169
169
  }, null, 8, ["item-data", "preview"])
170
170
  ]),
@@ -200,34 +200,34 @@ const _sfc_main = vue.defineComponent({
200
200
  effect: "dark",
201
201
  placement: "bottom"
202
202
  }, {
203
- default: vue.withCtx(() => _cache[1] || (_cache[1] = [
203
+ default: vue.withCtx(() => [..._cache[1] || (_cache[1] = [
204
204
  vue.createElementVNode("div", { class: "transcoding-in-progress grid-mode" }, [
205
205
  vue.createElementVNode("div", { class: "transcoding-progress" }, "\u8F6C\u7801\u4E2D\u2026")
206
206
  ], -1)
207
- ])),
207
+ ])]),
208
208
  _: 1
209
209
  })) : vue.createCommentVNode("v-if", true)
210
210
  ], 10, _hoisted_10)
211
211
  ]);
212
212
  }), 128))
213
213
  ]),
214
- _ctx.fileListCount ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_12, [
215
- !_ctx.isOver ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Button), {
214
+ __props.fileListCount ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_12, [
215
+ !__props.isOver ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Button), {
216
216
  key: 0,
217
217
  class: "loadmore_tips",
218
218
  size: "small",
219
219
  type: "text",
220
220
  onClick: _loadFileMore
221
221
  }, {
222
- default: vue.withCtx(() => _cache[2] || (_cache[2] = [
223
- vue.createTextVNode("\u52A0\u8F7D\u66F4\u591A\u2026 ")
224
- ])),
222
+ default: vue.withCtx(() => [..._cache[2] || (_cache[2] = [
223
+ vue.createTextVNode("\u52A0\u8F7D\u66F4\u591A\u2026 ", -1)
224
+ ])]),
225
225
  _: 1
226
226
  })) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_13, "\u6CA1\u6709\u66F4\u591A\u4E86\u2026"))
227
227
  ])) : vue.createCommentVNode("v-if", true),
228
- !((_d = _ctx.fileList) == null ? void 0 : _d.length) && !((_e = _ctx.folderList) == null ? void 0 : _e.length) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_14, _cache[3] || (_cache[3] = [
228
+ !((_d = __props.fileList) == null ? void 0 : _d.length) && !((_e = __props.folderList) == null ? void 0 : _e.length) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_14, [..._cache[3] || (_cache[3] = [
229
229
  vue.createElementVNode("p", null, "\u6682\u65E0\u7D20\u6750", -1)
230
- ]))) : vue.createCommentVNode("v-if", true)
230
+ ])])) : vue.createCommentVNode("v-if", true)
231
231
  ])
232
232
  ];
233
233
  }),
@@ -103,24 +103,24 @@ const _sfc_main = vue.defineComponent({
103
103
  return (_ctx, _cache) => {
104
104
  return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
105
105
  vue.createElementVNode("div", _hoisted_1, [
106
- _ctx.itemData.thumb ? (vue.openBlock(), vue.createElementBlock("div", {
106
+ __props.itemData.thumb ? (vue.openBlock(), vue.createElementBlock("div", {
107
107
  key: 0,
108
108
  class: "pic",
109
- style: vue.normalizeStyle({ "background-image": "url(" + _ctx.itemData.thumb + ")" })
109
+ style: vue.normalizeStyle({ "background-image": "url(" + __props.itemData.thumb + ")" })
110
110
  }, [
111
111
  getRate.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2, vue.toDisplayString(getRate.value), 1)) : vue.createCommentVNode("v-if", true),
112
- _ctx.itemData.source === "ai" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3, "AI\u751F\u6210")) : vue.createCommentVNode("v-if", true)
112
+ __props.itemData.source === "ai" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3, "AI\u751F\u6210")) : vue.createCommentVNode("v-if", true)
113
113
  ], 4)) : (vue.openBlock(), vue.createElementBlock("div", {
114
114
  key: 1,
115
- class: vue.normalizeClass(["pic", `${_ctx.itemData.catalog} ${_ctx.itemData.series}`]),
115
+ class: vue.normalizeClass(["pic", `${__props.itemData.catalog} ${__props.itemData.series}`]),
116
116
  style: vue.normalizeStyle(picStyle.value)
117
117
  }, [
118
118
  getRate.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4, vue.toDisplayString(getRate.value), 1)) : vue.createCommentVNode("v-if", true),
119
- _ctx.itemData.source === "ai" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5, "AI\u751F\u6210")) : vue.createCommentVNode("v-if", true)
119
+ __props.itemData.source === "ai" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5, "AI\u751F\u6210")) : vue.createCommentVNode("v-if", true)
120
120
  ], 6)),
121
121
  vue.createVNode(vue.Transition, { name: "el-fade-in" }, {
122
122
  default: vue.withCtx(() => [
123
- _ctx.preview ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6, [
123
+ __props.preview ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6, [
124
124
  vue.createElementVNode("span", {
125
125
  class: "half",
126
126
  onClick: vue.withModifiers(openPreview, ["stop"])
@@ -60,17 +60,17 @@ const _sfc_main = vue.defineComponent({
60
60
  onOk: handleOk,
61
61
  onCancel: handleCancel
62
62
  }, {
63
- title: vue.withCtx(() => _cache[1] || (_cache[1] = [
64
- vue.createTextVNode("\u9009\u62E9\u7D20\u6750\u6765\u6E90")
65
- ])),
63
+ title: vue.withCtx(() => [..._cache[1] || (_cache[1] = [
64
+ vue.createTextVNode("\u9009\u62E9\u7D20\u6750\u6765\u6E90", -1)
65
+ ])]),
66
66
  default: vue.withCtx(() => [
67
67
  vue.createVNode(index, {
68
68
  "selected-max": selectedMax.value,
69
- "catalog-props": _ctx.catalogProps,
69
+ "catalog-props": __props.catalogProps,
70
70
  BASE_API: vue.unref(BASE_API_R),
71
- ai_static_covers: _ctx.ai_static_covers,
72
- ai_gif_covers: _ctx.ai_gif_covers,
73
- preview: _ctx.preview,
71
+ ai_static_covers: __props.ai_static_covers,
72
+ ai_gif_covers: __props.ai_gif_covers,
73
+ preview: __props.preview,
74
74
  onConfirm: submit,
75
75
  onUpload: _cache[0] || (_cache[0] = (cb) => _ctx.$emit("upload", cb))
76
76
  }, null, 8, ["selected-max", "catalog-props", "BASE_API", "ai_static_covers", "ai_gif_covers", "preview"])
@@ -29,7 +29,7 @@ const _sfc_main = vue.defineComponent({
29
29
  return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
30
30
  vue.createVNode(vue.unref(webVue.ImagePreview), {
31
31
  visible: imageVisible.value,
32
- src: _ctx.url,
32
+ src: __props.url,
33
33
  onClose: closePreviewer
34
34
  }, null, 8, ["visible", "src"]),
35
35
  vue.withDirectives(vue.createElementVNode("div", _hoisted_1, [
@@ -40,26 +40,26 @@ const _sfc_main = vue.defineComponent({
40
40
  vue.createVNode(vue.unref(icon.IconClose))
41
41
  ]),
42
42
  vue.createElementVNode("div", _hoisted_2, [
43
- _ctx.type === "video" ? (vue.openBlock(), vue.createElementBlock("video", {
43
+ __props.type === "video" ? (vue.openBlock(), vue.createElementBlock("video", {
44
44
  key: 0,
45
45
  class: "video",
46
46
  controls: "",
47
- src: _ctx.url
48
- }, null, 8, _hoisted_3)) : _ctx.type === "audio" ? (vue.openBlock(), vue.createElementBlock("audio", {
47
+ src: __props.url
48
+ }, null, 8, _hoisted_3)) : __props.type === "audio" ? (vue.openBlock(), vue.createElementBlock("audio", {
49
49
  key: 1,
50
50
  class: "audio",
51
51
  controls: "",
52
- src: _ctx.url
53
- }, null, 8, _hoisted_4)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_5, _cache[0] || (_cache[0] = [
52
+ src: __props.url
53
+ }, null, 8, _hoisted_4)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_5, [..._cache[0] || (_cache[0] = [
54
54
  vue.createElementVNode("img", {
55
55
  src: unknown,
56
56
  alt: ""
57
57
  }, null, -1),
58
58
  vue.createElementVNode("span", { class: "text" }, "\u6682\u4E0D\u652F\u6301\u8BE5\u7C7B\u578B\u6587\u4EF6\u9884\u89C8", -1)
59
- ])))
59
+ ])]))
60
60
  ])
61
61
  ], 512), [
62
- [vue.vShow, _ctx.type !== "image"]
62
+ [vue.vShow, __props.type !== "image"]
63
63
  ])
64
64
  ], 64);
65
65
  };
@@ -35,7 +35,7 @@ const _sfc_main = vue.defineComponent({
35
35
  return [
36
36
  _cache[1] || (_cache[1] = vue.createElementVNode("div", { class: "thumb_type" }, "\u5C01\u9762\u56FE", -1)),
37
37
  vue.createElementVNode("div", _hoisted_2, [
38
- (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.ai_static_covers, (item) => {
38
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.ai_static_covers, (item) => {
39
39
  return vue.openBlock(), vue.createElementBlock("div", {
40
40
  key: item,
41
41
  class: "thumb-wrap"
@@ -45,7 +45,7 @@ const _sfc_main = vue.defineComponent({
45
45
  class: vue.normalizeClass(["pic", { active: selectedUrl.value.includes(item) }])
46
46
  }, [
47
47
  vue.createVNode(index, {
48
- preview: _ctx.preview,
48
+ preview: __props.preview,
49
49
  "item-data": {
50
50
  catalog: "image",
51
51
  alias: item,
@@ -60,13 +60,13 @@ const _sfc_main = vue.defineComponent({
60
60
  ]);
61
61
  }), 128))
62
62
  ]),
63
- ((_a = _ctx.ai_gif_covers) == null ? void 0 : _a.length) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4, [
63
+ ((_a = __props.ai_gif_covers) == null ? void 0 : _a.length) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4, [
64
64
  _cache[0] || (_cache[0] = vue.createElementVNode("div", {
65
65
  class: "thumb_type",
66
66
  style: { "margin-top": "0px" }
67
67
  }, "\u5C01\u9762\u52A8\u56FE", -1)),
68
68
  vue.createElementVNode("div", _hoisted_5, [
69
- (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.ai_gif_covers, (item) => {
69
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.ai_gif_covers, (item) => {
70
70
  return vue.openBlock(), vue.createElementBlock("div", {
71
71
  key: item,
72
72
  class: "thumb-wrap"
@@ -76,7 +76,7 @@ const _sfc_main = vue.defineComponent({
76
76
  class: vue.normalizeClass(["pic", { active: selectedUrl.value.includes(item) }])
77
77
  }, [
78
78
  vue.createVNode(index, {
79
- preview: _ctx.preview,
79
+ preview: __props.preview,
80
80
  "item-data": {
81
81
  catalog: "image",
82
82
  alias: item,
@@ -70,23 +70,23 @@ const _sfc_main = vue.defineComponent({
70
70
  return (_ctx, _cache) => {
71
71
  return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
72
72
  vue.createElementVNode("div", _hoisted_1, [
73
- _ctx.itemData.thumb ? (vue.openBlock(), vue.createElementBlock("div", {
73
+ __props.itemData.thumb ? (vue.openBlock(), vue.createElementBlock("div", {
74
74
  key: 0,
75
75
  class: "pic",
76
- style: vue.normalizeStyle({ "background-image": "url(" + _ctx.itemData.thumb + ")" })
76
+ style: vue.normalizeStyle({ "background-image": "url(" + __props.itemData.thumb + ")" })
77
77
  }, [
78
78
  getRate.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2, vue.toDisplayString(getRate.value), 1)) : vue.createCommentVNode("v-if", true),
79
- _ctx.itemData.source === "ai" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3, "AI\u751F\u6210")) : vue.createCommentVNode("v-if", true)
79
+ __props.itemData.source === "ai" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3, "AI\u751F\u6210")) : vue.createCommentVNode("v-if", true)
80
80
  ], 4)) : (vue.openBlock(), vue.createElementBlock("div", {
81
81
  key: 1,
82
- class: vue.normalizeClass(["pic", `${_ctx.itemData.catalog} ${_ctx.itemData.series}`])
82
+ class: vue.normalizeClass(["pic", `${__props.itemData.catalog} ${__props.itemData.series}`])
83
83
  }, [
84
84
  getRate.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4, vue.toDisplayString(getRate.value), 1)) : vue.createCommentVNode("v-if", true),
85
- _ctx.itemData.source === "ai" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5, "AI\u751F\u6210")) : vue.createCommentVNode("v-if", true)
85
+ __props.itemData.source === "ai" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5, "AI\u751F\u6210")) : vue.createCommentVNode("v-if", true)
86
86
  ], 2)),
87
87
  vue.createVNode(vue.Transition, { name: "el-fade-in" }, {
88
88
  default: vue.withCtx(() => [
89
- _ctx.preview ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6, [
89
+ __props.preview ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6, [
90
90
  vue.createElementVNode("span", {
91
91
  class: "half",
92
92
  onClick: vue.withModifiers(openPreview, ["stop"])