@cmstops/pro-compo 3.9.1-stable.0 → 3.9.1-stable.10

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 (303) hide show
  1. package/dist/index.css +49 -4
  2. package/dist/index.min.css +1 -1
  3. package/dist/index.min.js.map +1 -1
  4. package/es/appCenter/script/api.d.ts +5 -5
  5. package/es/baseFilter/components/FilterGroup.js +1 -1
  6. package/es/baseFilter/components/filterItem.js +1 -1
  7. package/es/colorPalette/component.js +1 -1
  8. package/es/config.js +1 -1
  9. package/es/contentDetailList/component.js +33 -9
  10. package/es/contentDetailList/components/Content/CompoItem/index.js +12 -12
  11. package/es/contentDetailList/components/Content/ContentListItem/index.js +15 -15
  12. package/es/contentDetailList/components/Content/DocItem/ApprovalStateMap/index.js +18 -18
  13. package/es/contentDetailList/components/Content/DocItem/index.js +27 -27
  14. package/es/contentDetailList/components/Content/DocMpItem/index.js +13 -13
  15. package/es/contentDetailList/components/Content/GroupPieceItem/index.js +11 -11
  16. package/es/contentDetailList/components/Content/KongoNavItem/index.js +14 -14
  17. package/es/contentDetailList/components/Content/LiveItem/index.js +9 -9
  18. package/es/contentDetailList/components/Content/MaccountItem/index.js +12 -12
  19. package/es/contentDetailList/components/Content/courseItem/index.js +10 -10
  20. package/es/contentDetailList/components/Content/funhdItem/index.js +10 -10
  21. package/es/contentDetailList/components/Content/index.js +118 -117
  22. package/es/contentDetailList/components/CustomWrp/CustomItem.js +5 -5
  23. package/es/contentDetailList/components/CustomWrp/index.js +10 -10
  24. package/es/contentDetailList/components/Doc/index.js +16 -10
  25. package/es/contentDetailList/components/Records/MatrixItem/index.js +22 -22
  26. package/es/contentDetailList/components/Records/index.js +8 -8
  27. package/es/contentDetailList/components/ShowQRCode/QrcodeView/index.js +6 -6
  28. package/es/contentDetailList/components/ShowQRCode/index.js +1 -1
  29. package/es/contentDetailList/script/api.d.ts +2 -2
  30. package/es/contentModal/component.js +40 -40
  31. package/es/contentModal/components/CompoList/index.js +1 -1
  32. package/es/contentModal/components/Dejin/index.js +1 -1
  33. package/es/contentModal/components/MpContentList/MediaFilter/index.js +2 -2
  34. package/es/contentModal/components/MpContentList/index.js +1 -1
  35. package/es/contentModal/components/ViewAllColumn/MediaFilter/index.js +3 -3
  36. package/es/contentModal/components/ViewAllColumn/index.js +41 -20
  37. package/es/contentModal/components/storeBox/index.js +8 -8
  38. package/es/contentModal/script/api.d.ts +13 -13
  39. package/es/dataTags/component.js +38 -38
  40. package/es/docHistory/component.js +44 -15
  41. package/es/docHistory/components/DocDiffPanel/index.js +2 -2
  42. package/es/docHistory/components/DocHistoryList/index.js +2 -2
  43. package/es/docHistory/scripts/diff.js +4 -3
  44. package/es/docHistory/scripts/useDocHistory.d.ts +1 -1
  45. package/es/docHistory/style/index.css +4 -0
  46. package/es/docHistory/style/index.less +5 -0
  47. package/es/docPreview/component.js +15 -15
  48. package/es/docPreview/components/PreviewIframe.js +2 -2
  49. package/es/docPreview/scripts/api.d.ts +1 -1
  50. package/es/docPreview/scripts/hook.d.ts +1 -1
  51. package/es/editMetaInfo/components/metaInfoForm.js +11 -11
  52. package/es/editMetaInfo/script/api.d.ts +2 -2
  53. package/es/emptyData/component.js +4 -4
  54. package/es/emptyData/svg/acount.js +2 -2
  55. package/es/emptyData/svg/add.js +2 -2
  56. package/es/emptyData/svg/analize.js +2 -2
  57. package/es/emptyData/svg/analize_fail.js +2 -2
  58. package/es/emptyData/svg/empty.js +2 -2
  59. package/es/emptyData/svg/file.js +2 -2
  60. package/es/emptyData/svg/manager.js +2 -2
  61. package/es/emptyData/svg/message.js +2 -2
  62. package/es/emptyData/svg/noanalize.js +2 -2
  63. package/es/emptyData/svg/null.js +2 -2
  64. package/es/emptyData/svg/search.js +2 -2
  65. package/es/emptyData/svg/star.js +2 -2
  66. package/es/emptyData/svg/trash.js +2 -2
  67. package/es/emptyData/svg/user.js +2 -2
  68. package/es/hooks/assets.d.ts +1 -1
  69. package/es/hooks/source.d.ts +1 -1
  70. package/es/hooks/useAttachement.d.ts +7 -7
  71. package/es/hooks/usePopper.d.ts +1 -1
  72. package/es/hooks/usePopper.js +3 -3
  73. package/es/hooks/useUpload.d.ts +53 -5
  74. package/es/hooks/useUpload.js +43 -4
  75. package/es/hooks/user.d.ts +1 -1
  76. package/es/imageCrop/component.js +11 -11
  77. package/es/imageCrop/script/api.d.ts +1 -1
  78. package/es/importData/component.js +13 -13
  79. package/es/index.css +49 -4
  80. package/es/index.d.ts +1 -0
  81. package/es/index.js +1 -0
  82. package/es/mediaFilter/component.js +4 -4
  83. package/es/mediaFilter/components/DocFilter.js +1 -1
  84. package/es/mediaFilter/components/FilterGroup.js +1 -1
  85. package/es/mediaFilter/components/FilterItem.js +1 -1
  86. package/es/mediaView/component.js +8 -8
  87. package/es/messageBox/component.js +3 -3
  88. package/es/messageBox/script/api.d.ts +2 -2
  89. package/es/previousVersion/script/api.d.ts +4 -4
  90. package/es/resourceGridList/component.js +16 -16
  91. package/es/resourceGridList/components/FileTypeThumb/index.js +6 -6
  92. package/es/resourceModal/component.js +7 -7
  93. package/es/resourceModal/components/MediaPreviewer/index.js +8 -8
  94. package/es/resourceModal/components/MediaSelection/DocAiMediaSelected/index.js +5 -5
  95. package/es/resourceModal/components/MediaSelection/MainContent/FileTypeThumb/index.js +6 -6
  96. package/es/resourceModal/components/MediaSelection/MainContent/index.js +18 -18
  97. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.js +3 -3
  98. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.js +3 -3
  99. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/index.js +2 -2
  100. package/es/resourceModal/components/MediaSelection/ToolbarSearch/index.js +4 -4
  101. package/es/resourceModal/components/MediaSelection/index.js +6 -6
  102. package/es/resourceModal/script/api.d.ts +11 -11
  103. package/es/selectAddTo/component.d.ts +0 -0
  104. package/es/selectAddTo/component.js +47 -0
  105. package/es/selectAddTo/component.vue_vue_type_style_index_0_scoped_true_lang.js +2 -0
  106. package/es/selectAddTo/components/SelectAddToView.d.ts +0 -0
  107. package/es/selectAddTo/components/SelectAddToView.js +90 -0
  108. package/es/selectAddTo/components/SelectAddToView.vue_vue_type_style_index_0_scoped_true_lang.js +2 -0
  109. package/es/selectAddTo/components/ViewAllColumn/MediaFilter/index.d.ts +0 -0
  110. package/es/selectAddTo/components/ViewAllColumn/MediaFilter/index.js +166 -0
  111. package/es/selectAddTo/components/ViewAllColumn/index.d.ts +0 -0
  112. package/es/selectAddTo/components/ViewAllColumn/index.js +212 -0
  113. package/es/selectAddTo/components/ViewAllColumn/index.vue_vue_type_style_index_0_scoped_true_lang.js +2 -0
  114. package/es/selectAddTo/components/ViewAllColumn/script/useTableColumns.d.ts +6 -0
  115. package/es/selectAddTo/components/ViewAllColumn/script/useTableColumns.js +102 -0
  116. package/es/selectAddTo/components/ViewAllColumn/script/useViewAllColumnState.d.ts +144 -0
  117. package/es/selectAddTo/components/ViewAllColumn/script/useViewAllColumnState.js +182 -0
  118. package/es/selectAddTo/components/ViewAllColumn/types/index.d.ts +55 -0
  119. package/es/selectAddTo/index.d.ts +2 -0
  120. package/es/selectAddTo/index.js +7 -0
  121. package/es/selectAddTo/script/api.d.ts +18 -0
  122. package/es/selectAddTo/script/api.js +23 -0
  123. package/es/selectAddTo/script/index.d.ts +2 -0
  124. package/es/selectAddTo/script/useSelectAddToState.d.ts +13 -0
  125. package/es/selectAddTo/script/useSelectAddToState.js +55 -0
  126. package/es/selectAddTo/style/css.js +1 -0
  127. package/es/selectAddTo/style/index.css +3 -0
  128. package/es/selectAddTo/style/index.d.ts +1 -0
  129. package/es/selectAddTo/style/index.js +1 -0
  130. package/es/selectAddTo/style/index.less +3 -0
  131. package/es/selectAddTo/types/index.d.ts +37 -0
  132. package/es/selectGategory/component.js +5 -5
  133. package/es/selectGategory/components/ColumnSelection/index.js +6 -6
  134. package/es/selectGategory/script/api.d.ts +2 -2
  135. package/es/selectResourceModal/__demo__/module/DivWrapper.d.ts +261 -0
  136. package/es/selectResourceModal/__demo__/module/basic.d.ts +292 -0
  137. package/es/selectResourceModal/component.js +26 -34
  138. package/es/selectResourceModal/components/List/ListCardWrapper.js +6 -6
  139. package/es/selectResourceModal/components/List/ListLocal/Upload.js +1 -1
  140. package/es/selectResourceModal/components/List/ListLocal/index.js +8 -3
  141. package/es/selectResourceModal/components/List/ListNormal/Filter.js +202 -94
  142. package/es/selectResourceModal/components/List/ListNormal/index.js +23 -7
  143. package/es/selectResourceModal/components/List/ListSystem/Filter.js +3 -3
  144. package/es/selectResourceModal/components/List/ListSystem/SubList.js +3 -3
  145. package/es/selectResourceModal/components/List/ListSystem/index.js +2 -2
  146. package/es/selectResourceModal/components/List/ListWraper.js +2 -2
  147. package/es/selectResourceModal/components/ListSelected/index.js +6 -6
  148. package/es/selectResourceModal/components/ListTabs/index.js +1 -1
  149. package/es/selectResourceModal/hooks/useResponsiveFilter.d.ts +21 -0
  150. package/es/selectResourceModal/hooks/useResponsiveFilter.js +142 -0
  151. package/es/selectResourceModal/scripts/selectionApis.d.ts +2 -2
  152. package/es/selectResourceModal/scripts/useTabFilter.js +1 -11
  153. package/es/selectResourceModal/style/index.css +45 -4
  154. package/es/selectResourceModal/style/index.less +14 -0
  155. package/es/selectResourceModal/style/list.less +40 -4
  156. package/es/selectThumb/component.js +38 -38
  157. package/es/selectThumb/components/card.js +3 -3
  158. package/es/style.css +63 -0
  159. package/es/thumbCard/component.js +7 -7
  160. package/es/thumbCard/components/ThumbUploading/index.js +3 -3
  161. package/es/typeIcons/component.js +1 -1
  162. package/es/uploadBefore/component.js +1 -1
  163. package/es/uploadBefore/components/UploadBefore.js +9 -9
  164. package/es/uploadBefore/script/api.d.ts +4 -4
  165. package/es/uploadStep/component.js +3 -3
  166. package/es/userAvater/component.js +3 -3
  167. package/es/userAvater/script/api.d.ts +4 -4
  168. package/es/userDirector/component.js +5 -5
  169. package/es/userDirector/components/userTree.js +2 -2
  170. package/es/userDirector/script/api.d.ts +6 -6
  171. package/es/utils/index.js +6 -6
  172. package/es/utils/request.d.ts +1 -1
  173. package/es/utils/transcodeMedia.d.ts +1 -1
  174. package/es/videoThumb/scripts/api.d.ts +1 -1
  175. package/lib/baseFilter/components/FilterGroup.js +1 -1
  176. package/lib/baseFilter/components/filterItem.js +1 -1
  177. package/lib/colorPalette/component.js +1 -1
  178. package/lib/config.js +1 -1
  179. package/lib/contentDetailList/component.js +33 -9
  180. package/lib/contentDetailList/components/Content/CompoItem/index.js +12 -12
  181. package/lib/contentDetailList/components/Content/ContentListItem/index.js +15 -15
  182. package/lib/contentDetailList/components/Content/DocItem/ApprovalStateMap/index.js +18 -18
  183. package/lib/contentDetailList/components/Content/DocItem/index.js +27 -27
  184. package/lib/contentDetailList/components/Content/DocMpItem/index.js +13 -13
  185. package/lib/contentDetailList/components/Content/GroupPieceItem/index.js +11 -11
  186. package/lib/contentDetailList/components/Content/KongoNavItem/index.js +14 -14
  187. package/lib/contentDetailList/components/Content/LiveItem/index.js +9 -9
  188. package/lib/contentDetailList/components/Content/MaccountItem/index.js +12 -12
  189. package/lib/contentDetailList/components/Content/courseItem/index.js +10 -10
  190. package/lib/contentDetailList/components/Content/funhdItem/index.js +10 -10
  191. package/lib/contentDetailList/components/Content/index.js +118 -117
  192. package/lib/contentDetailList/components/CustomWrp/CustomItem.js +5 -5
  193. package/lib/contentDetailList/components/CustomWrp/index.js +10 -10
  194. package/lib/contentDetailList/components/Doc/index.js +16 -10
  195. package/lib/contentDetailList/components/Records/MatrixItem/index.js +22 -22
  196. package/lib/contentDetailList/components/Records/index.js +8 -8
  197. package/lib/contentDetailList/components/ShowQRCode/QrcodeView/index.js +6 -6
  198. package/lib/contentDetailList/components/ShowQRCode/index.js +1 -1
  199. package/lib/contentModal/component.js +40 -40
  200. package/lib/contentModal/components/CompoList/index.js +1 -1
  201. package/lib/contentModal/components/Dejin/index.js +1 -1
  202. package/lib/contentModal/components/MpContentList/MediaFilter/index.js +2 -2
  203. package/lib/contentModal/components/MpContentList/index.js +1 -1
  204. package/lib/contentModal/components/ViewAllColumn/MediaFilter/index.js +3 -3
  205. package/lib/contentModal/components/ViewAllColumn/index.js +40 -19
  206. package/lib/contentModal/components/storeBox/index.js +8 -8
  207. package/lib/dataTags/component.js +38 -38
  208. package/lib/docHistory/component.js +42 -13
  209. package/lib/docHistory/components/DocDiffPanel/index.js +2 -2
  210. package/lib/docHistory/components/DocHistoryList/index.js +2 -2
  211. package/lib/docHistory/scripts/diff.js +4 -3
  212. package/lib/docHistory/style/index.css +4 -0
  213. package/lib/docHistory/style/index.less +5 -0
  214. package/lib/docPreview/component.js +15 -15
  215. package/lib/docPreview/components/PreviewIframe.js +2 -2
  216. package/lib/editMetaInfo/components/metaInfoForm.js +11 -11
  217. package/lib/emptyData/component.js +4 -4
  218. package/lib/emptyData/svg/acount.js +2 -2
  219. package/lib/emptyData/svg/add.js +2 -2
  220. package/lib/emptyData/svg/analize.js +2 -2
  221. package/lib/emptyData/svg/analize_fail.js +2 -2
  222. package/lib/emptyData/svg/empty.js +2 -2
  223. package/lib/emptyData/svg/file.js +2 -2
  224. package/lib/emptyData/svg/manager.js +2 -2
  225. package/lib/emptyData/svg/message.js +2 -2
  226. package/lib/emptyData/svg/noanalize.js +2 -2
  227. package/lib/emptyData/svg/null.js +2 -2
  228. package/lib/emptyData/svg/search.js +2 -2
  229. package/lib/emptyData/svg/star.js +2 -2
  230. package/lib/emptyData/svg/trash.js +2 -2
  231. package/lib/emptyData/svg/user.js +2 -2
  232. package/lib/hooks/usePopper.js +3 -3
  233. package/lib/hooks/useUpload.js +43 -3
  234. package/lib/imageCrop/component.js +11 -11
  235. package/lib/importData/component.js +13 -13
  236. package/lib/index.css +49 -4
  237. package/lib/index.js +2 -0
  238. package/lib/mediaFilter/component.js +4 -4
  239. package/lib/mediaFilter/components/DocFilter.js +1 -1
  240. package/lib/mediaFilter/components/FilterGroup.js +1 -1
  241. package/lib/mediaFilter/components/FilterItem.js +1 -1
  242. package/lib/mediaView/component.js +8 -8
  243. package/lib/messageBox/component.js +3 -3
  244. package/lib/resourceGridList/component.js +16 -16
  245. package/lib/resourceGridList/components/FileTypeThumb/index.js +6 -6
  246. package/lib/resourceModal/component.js +7 -7
  247. package/lib/resourceModal/components/MediaPreviewer/index.js +8 -8
  248. package/lib/resourceModal/components/MediaSelection/DocAiMediaSelected/index.js +5 -5
  249. package/lib/resourceModal/components/MediaSelection/MainContent/FileTypeThumb/index.js +6 -6
  250. package/lib/resourceModal/components/MediaSelection/MainContent/index.js +18 -18
  251. package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.js +3 -3
  252. package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.js +3 -3
  253. package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/index.js +2 -2
  254. package/lib/resourceModal/components/MediaSelection/ToolbarSearch/index.js +4 -4
  255. package/lib/resourceModal/components/MediaSelection/index.js +6 -6
  256. package/lib/selectAddTo/component.js +48 -0
  257. package/lib/selectAddTo/component.vue_vue_type_style_index_0_scoped_true_lang.js +3 -0
  258. package/lib/selectAddTo/components/SelectAddToView.js +91 -0
  259. package/lib/selectAddTo/components/SelectAddToView.vue_vue_type_style_index_0_scoped_true_lang.js +3 -0
  260. package/lib/selectAddTo/components/ViewAllColumn/MediaFilter/index.js +167 -0
  261. package/lib/selectAddTo/components/ViewAllColumn/index.js +213 -0
  262. package/lib/selectAddTo/components/ViewAllColumn/index.vue_vue_type_style_index_0_scoped_true_lang.js +3 -0
  263. package/lib/selectAddTo/components/ViewAllColumn/script/useTableColumns.js +108 -0
  264. package/lib/selectAddTo/components/ViewAllColumn/script/useViewAllColumnState.js +184 -0
  265. package/lib/selectAddTo/index.js +8 -0
  266. package/lib/selectAddTo/script/api.js +27 -0
  267. package/lib/selectAddTo/script/useSelectAddToState.js +57 -0
  268. package/lib/selectAddTo/style/css.js +2 -0
  269. package/lib/selectAddTo/style/index.css +3 -0
  270. package/lib/selectAddTo/style/index.js +2 -0
  271. package/lib/selectAddTo/style/index.less +3 -0
  272. package/lib/selectGategory/component.js +5 -5
  273. package/lib/selectGategory/components/ColumnSelection/index.js +6 -6
  274. package/lib/selectResourceModal/component.js +25 -33
  275. package/lib/selectResourceModal/components/List/ListCardWrapper.js +6 -6
  276. package/lib/selectResourceModal/components/List/ListLocal/Upload.js +1 -1
  277. package/lib/selectResourceModal/components/List/ListLocal/index.js +6 -1
  278. package/lib/selectResourceModal/components/List/ListNormal/Filter.js +199 -91
  279. package/lib/selectResourceModal/components/List/ListNormal/index.js +22 -6
  280. package/lib/selectResourceModal/components/List/ListSystem/Filter.js +3 -3
  281. package/lib/selectResourceModal/components/List/ListSystem/SubList.js +3 -3
  282. package/lib/selectResourceModal/components/List/ListSystem/index.js +2 -2
  283. package/lib/selectResourceModal/components/List/ListWraper.js +2 -2
  284. package/lib/selectResourceModal/components/ListSelected/index.js +6 -6
  285. package/lib/selectResourceModal/components/ListTabs/index.js +1 -1
  286. package/lib/selectResourceModal/hooks/useResponsiveFilter.js +144 -0
  287. package/lib/selectResourceModal/scripts/useTabFilter.js +1 -13
  288. package/lib/selectResourceModal/style/index.css +45 -4
  289. package/lib/selectResourceModal/style/index.less +14 -0
  290. package/lib/selectResourceModal/style/list.less +40 -4
  291. package/lib/selectThumb/component.js +38 -38
  292. package/lib/selectThumb/components/card.js +3 -3
  293. package/lib/thumbCard/component.js +7 -7
  294. package/lib/thumbCard/components/ThumbUploading/index.js +3 -3
  295. package/lib/typeIcons/component.js +1 -1
  296. package/lib/uploadBefore/component.js +1 -1
  297. package/lib/uploadBefore/components/UploadBefore.js +9 -9
  298. package/lib/uploadStep/component.js +3 -3
  299. package/lib/userAvater/component.js +3 -3
  300. package/lib/userDirector/component.js +5 -5
  301. package/lib/userDirector/components/userTree.js +2 -2
  302. package/lib/utils/index.js +6 -6
  303. package/package.json +1 -1
@@ -26,7 +26,7 @@ const _sfc_main = defineComponent({
26
26
  const visible = ref(false);
27
27
  return (_ctx, _cache) => {
28
28
  return openBlock(), createElementBlock("div", _hoisted_1, [
29
- _ctx.maxcount ? (openBlock(), createElementBlock("span", _hoisted_2, "\u6700\u591A\u9009\u62E9 " + toDisplayString(_ctx.maxcount) + " \u4E2A\u7D20\u6750\uFF0C ", 1)) : createCommentVNode("v-if", true),
29
+ __props.maxcount ? (openBlock(), createElementBlock("span", _hoisted_2, "\u6700\u591A\u9009\u62E9 " + toDisplayString(__props.maxcount) + " \u4E2A\u7D20\u6750\uFF0C ", 1)) : createCommentVNode("v-if", true),
30
30
  createVNode(unref(Popover), {
31
31
  "popup-visible": visible.value,
32
32
  "onUpdate:popupVisible": _cache[2] || (_cache[2] = ($event) => visible.value = $event),
@@ -36,7 +36,7 @@ const _sfc_main = defineComponent({
36
36
  content: withCtx(() => [
37
37
  createCommentVNode(" header "),
38
38
  createElementVNode("div", _hoisted_3, [
39
- createElementVNode("div", null, "\u5DF2\u9009\u62E9 " + toDisplayString(_ctx.selected.length) + " \u4E2A\u7D20\u6750", 1),
39
+ createElementVNode("div", null, "\u5DF2\u9009\u62E9 " + toDisplayString(__props.selected.length) + " \u4E2A\u7D20\u6750", 1),
40
40
  createElementVNode("div", _hoisted_4, [
41
41
  createElementVNode("div", {
42
42
  onClick: _cache[0] || (_cache[0] = ($event) => emits("clear"))
@@ -50,7 +50,7 @@ const _sfc_main = defineComponent({
50
50
  ]),
51
51
  createCommentVNode(" content "),
52
52
  createElementVNode("div", _hoisted_5, [
53
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.selected, (item) => {
53
+ (openBlock(true), createElementBlock(Fragment, null, renderList(__props.selected, (item) => {
54
54
  return openBlock(), createElementBlock("div", {
55
55
  key: item.id,
56
56
  class: "list-selected-item"
@@ -83,8 +83,8 @@ const _sfc_main = defineComponent({
83
83
  icon: withCtx(() => [
84
84
  createVNode(unref(IconClose))
85
85
  ]),
86
- _: 2
87
- }, 1032, ["onClick"])
86
+ _: 1
87
+ }, 8, ["onClick"])
88
88
  ]);
89
89
  }), 128))
90
90
  ])
@@ -92,7 +92,7 @@ const _sfc_main = defineComponent({
92
92
  default: withCtx(() => [
93
93
  createVNode(unref(Link), null, {
94
94
  default: withCtx(() => [
95
- createTextVNode("\u5DF2\u9009\u62E9 " + toDisplayString(_ctx.selected.length) + " \u4E2A\u7D20\u6750", 1)
95
+ createTextVNode("\u5DF2\u9009\u62E9 " + toDisplayString(__props.selected.length) + " \u4E2A\u7D20\u6750", 1)
96
96
  ]),
97
97
  _: 1
98
98
  })
@@ -40,7 +40,7 @@ const _sfc_main = defineComponent({
40
40
  })) : createCommentVNode("v-if", true)
41
41
  ]),
42
42
  default: withCtx(() => [
43
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.tabList, (tab) => {
43
+ (openBlock(true), createElementBlock(Fragment, null, renderList(__props.tabList, (tab) => {
44
44
  return openBlock(), createBlock(unref(TabPane), {
45
45
  key: tab.key,
46
46
  title: tab.title
@@ -0,0 +1,21 @@
1
+ import type { Ref } from 'vue';
2
+ declare type HideElementType = {
3
+ width: number;
4
+ el: HTMLDivElement;
5
+ };
6
+ export declare function useResponsiveFilter(filterItemsRef: Ref<HTMLElement | undefined>): {
7
+ moreBtnRef: Ref<HTMLElement | undefined, HTMLElement | undefined>;
8
+ popperPanelRef: Ref<HTMLElement | undefined, HTMLElement | undefined>;
9
+ hiddenElementList: Ref<{
10
+ width: number;
11
+ el: HTMLDivElement;
12
+ }[], HideElementType[] | {
13
+ width: number;
14
+ el: HTMLDivElement;
15
+ }[]>;
16
+ visible: Ref<boolean, boolean>;
17
+ show: () => void;
18
+ hide: () => void;
19
+ refreshLayout: () => Promise<void>;
20
+ };
21
+ export {};
@@ -0,0 +1,142 @@
1
+ import { ref, onMounted, nextTick, onUnmounted } from "vue";
2
+ import usePopper from "../../hooks/usePopper.js";
3
+ const getRect = (el) => {
4
+ if (!el || typeof el.getClientRects !== "function")
5
+ return { right: 0, width: 0 };
6
+ const rects = el.getClientRects();
7
+ if (rects.length === 0)
8
+ return { right: 0, width: 0 };
9
+ const rect = rects[0];
10
+ return {
11
+ right: rect.right,
12
+ width: rect.width
13
+ };
14
+ };
15
+ function useResponsiveFilter(filterItemsRef) {
16
+ const moreBtnRef = ref();
17
+ const popperPanelRef = ref();
18
+ const { initPopper, show, visible, hide } = usePopper(
19
+ popperPanelRef,
20
+ moreBtnRef
21
+ );
22
+ const windowWidth = ref(0);
23
+ const filterContainerRightBoundary = ref(0);
24
+ const hiddenElementList = ref([]);
25
+ const initWidths = () => {
26
+ var _a, _b;
27
+ windowWidth.value = ((_a = document.body) == null ? void 0 : _a.clientWidth) || 0;
28
+ const containerElement = (_b = filterItemsRef.value) == null ? void 0 : _b.parentElement;
29
+ if (containerElement) {
30
+ filterContainerRightBoundary.value = getRect(containerElement).right;
31
+ }
32
+ };
33
+ const initResizeListener = () => {
34
+ window.addEventListener("resize", refreshLayout);
35
+ };
36
+ const removeResizeListener = () => {
37
+ window.removeEventListener("resize", refreshLayout);
38
+ };
39
+ const hideElement = (el) => {
40
+ var _a, _b, _c;
41
+ const { width } = getRect(el);
42
+ if (width > 0 && ((_a = filterItemsRef.value) == null ? void 0 : _a.contains(el))) {
43
+ hiddenElementList.value.push({ width, el });
44
+ (_b = filterItemsRef.value) == null ? void 0 : _b.removeChild(el);
45
+ (_c = popperPanelRef.value) == null ? void 0 : _c.insertBefore(el, popperPanelRef.value.firstChild);
46
+ }
47
+ };
48
+ const showElement = () => {
49
+ var _a, _b;
50
+ if (!hiddenElementList.value.length || !filterItemsRef.value)
51
+ return;
52
+ const popEl = hiddenElementList.value.pop();
53
+ if (!popEl)
54
+ return;
55
+ const { el } = popEl;
56
+ (_a = popperPanelRef.value) == null ? void 0 : _a.removeChild(el);
57
+ (_b = filterItemsRef.value) == null ? void 0 : _b.appendChild(el);
58
+ };
59
+ const checkOverflow = () => {
60
+ if (!filterItemsRef.value)
61
+ return -1;
62
+ const containerRight = filterContainerRightBoundary.value;
63
+ const children = filterItemsRef.value.children;
64
+ let currentRightmostBoundary = getRect(filterItemsRef.value).right - getRect(filterItemsRef.value).width;
65
+ for (let i = children.length - 1; i >= 0; i--) {
66
+ const item = children[i];
67
+ if (!item || !item.classList || !item.classList.contains("filter-item"))
68
+ continue;
69
+ const itemRect = getRect(item);
70
+ if (itemRect.right > containerRight - 400) {
71
+ hideElement(item);
72
+ } else {
73
+ currentRightmostBoundary = Math.max(
74
+ currentRightmostBoundary,
75
+ itemRect.right
76
+ );
77
+ }
78
+ }
79
+ return currentRightmostBoundary;
80
+ };
81
+ const refreshLayout = async () => {
82
+ await nextTick();
83
+ initWidths();
84
+ if (!filterItemsRef.value || !popperPanelRef.value)
85
+ return;
86
+ const containerRight = filterContainerRightBoundary.value;
87
+ let lastVisibleItemRight = checkOverflow();
88
+ if (lastVisibleItemRight === -1 && filterItemsRef.value.children.length > 0) {
89
+ lastVisibleItemRight = getRect(filterItemsRef.value).left;
90
+ } else if (filterItemsRef.value.children.length === 0) {
91
+ lastVisibleItemRight = getRect(filterItemsRef.value).left;
92
+ }
93
+ await nextTick();
94
+ let availableSpace = containerRight - lastVisibleItemRight;
95
+ while (hiddenElementList.value.length > 0) {
96
+ const nextHiddenItem = hiddenElementList.value[hiddenElementList.value.length - 1];
97
+ const nextHiddenItemWidth = nextHiddenItem.width;
98
+ if (availableSpace > nextHiddenItemWidth + 10) {
99
+ showElement();
100
+ await nextTick();
101
+ const visibleElements = Array.from(
102
+ filterItemsRef.value.children
103
+ );
104
+ if (visibleElements.length > 0) {
105
+ lastVisibleItemRight = visibleElements.reduce((maxRight, el) => {
106
+ var _a;
107
+ if ((_a = el.classList) == null ? void 0 : _a.contains("filter-item")) {
108
+ return Math.max(maxRight, getRect(el).right);
109
+ }
110
+ return maxRight;
111
+ }, getRect(filterItemsRef.value).left);
112
+ } else {
113
+ lastVisibleItemRight = getRect(filterItemsRef.value).left;
114
+ }
115
+ availableSpace = containerRight - lastVisibleItemRight;
116
+ } else {
117
+ break;
118
+ }
119
+ }
120
+ };
121
+ onMounted(async () => {
122
+ initResizeListener();
123
+ initPopper("bottom-start", [0, 40]);
124
+ await nextTick();
125
+ initWidths();
126
+ await nextTick();
127
+ refreshLayout();
128
+ });
129
+ onUnmounted(() => {
130
+ removeResizeListener();
131
+ });
132
+ return {
133
+ moreBtnRef,
134
+ popperPanelRef,
135
+ hiddenElementList,
136
+ visible,
137
+ show,
138
+ hide,
139
+ refreshLayout
140
+ };
141
+ }
142
+ export { useResponsiveFilter };
@@ -1,2 +1,2 @@
1
- export declare function getAccountList(BASE_API: string, id: number, query: any): Promise<import("axios").AxiosResponse<any, any>>;
2
- export declare function getSysRsClassifyList(BASE_API: string, sys_tag: number): Promise<import("axios").AxiosResponse<any, any>>;
1
+ export declare function getAccountList(BASE_API: string, id: number, query: any): Promise<import("axios").AxiosResponse<any, any, {}>>;
2
+ export declare function getSysRsClassifyList(BASE_API: string, sys_tag: number): Promise<import("axios").AxiosResponse<any, any, {}>>;
@@ -4,16 +4,6 @@ import _sfc_main from "../components/List/ListNormal/index.js";
4
4
  import _sfc_main$2 from "../components/List/ListSystem/index.js";
5
5
  import _sfc_main$1 from "../components/List/ListLocal/index.js";
6
6
  import _sfc_main$3 from "../components/List/ListAi/index.js";
7
- var TabEnum = /* @__PURE__ */ ((TabEnum2) => {
8
- TabEnum2["ALL"] = "all";
9
- TabEnum2["MY"] = "my";
10
- TabEnum2["REMIND"] = "remind";
11
- TabEnum2["LOCAL"] = "local";
12
- TabEnum2["SYSTEM"] = "system";
13
- TabEnum2["AI"] = "ai";
14
- TabEnum2["VIDEO"] = "video";
15
- return TabEnum2;
16
- })(TabEnum || {});
17
7
  const DEFAULT_TABS = ["all", "my", "remind", "local"];
18
8
  const TAB_DICT = {
19
9
  ["all"]: { title: "\u5168\u90E8\u7D20\u6750", component: _sfc_main },
@@ -53,4 +43,4 @@ function useTabFilter(props) {
53
43
  handelChangeTab
54
44
  };
55
45
  }
56
- export { TabEnum, useTabFilter as default };
46
+ export { useTabFilter as default };
@@ -172,11 +172,13 @@
172
172
  }
173
173
  .resource-list-footer,
174
174
  .resource-list-header,
175
+ .resource-list-content .resource-list-content-empty,
175
176
  .resource-list-content .arco-scrollbar-container {
176
177
  padding: 0 40px;
177
178
  }
178
179
  .resource-list-footer {
179
180
  display: flex;
181
+ flex-wrap: wrap;
180
182
  justify-content: space-between;
181
183
  padding-bottom: 20px;
182
184
  }
@@ -186,6 +188,10 @@
186
188
  gap: 10px;
187
189
  align-items: center;
188
190
  justify-content: flex-end;
191
+ margin-top: 10px;
192
+ }
193
+ .resource-list-footer .footer-right .list-selected-wrapper {
194
+ font-size: 12px;
189
195
  }
190
196
  .resource-list-content-loading {
191
197
  display: flex;
@@ -197,7 +203,7 @@
197
203
  .resource-list .list-item-grid {
198
204
  display: grid;
199
205
  grid-gap: 20px;
200
- grid-template-columns: repeat(5, 1fr);
206
+ grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
201
207
  }
202
208
  .resource-list .list-content {
203
209
  margin-top: 30px;
@@ -240,7 +246,8 @@
240
246
  }
241
247
  .resource-list .list-filter-wrapper .list-filter-tags {
242
248
  display: flex;
243
- justify-content: space-between;
249
+ flex-wrap: wrap;
250
+ gap: 10px;
244
251
  margin-top: 10px;
245
252
  }
246
253
  .resource-list .list-filter-wrapper .list-filter-tags .list-filter-tag {
@@ -261,16 +268,41 @@
261
268
  justify-content: space-between;
262
269
  }
263
270
  .resource-list .list-filter-wrapper .list-filter .filter-list {
271
+ position: relative;
272
+ /** 给 popup 一个参考 */
264
273
  display: flex;
265
- flex-wrap: wrap;
266
- gap: 10px;
267
274
  }
268
275
  .resource-list .list-filter-wrapper .list-filter .filter-list .filter-item {
269
276
  width: 100px;
277
+ margin-right: 10px;
278
+ }
279
+ .resource-list .list-filter-wrapper .list-filter .filter-list .arco-trigger-popup {
280
+ z-index: 100000 !important;
270
281
  }
271
282
  .resource-list .list-filter-wrapper .list-filter .arco-input-prepend {
272
283
  padding: 0;
273
284
  }
285
+ .resource-list .list-filter-wrapper .list-filter .more-btn {
286
+ position: relative;
287
+ /** 给 poperjs 一个参考 */
288
+ }
289
+ .resource-list .list-filter-wrapper .list-filter .more-btn .filter-pannel {
290
+ inset: 40px auto auto auto !important;
291
+ }
292
+ .resource-list .list-filter-wrapper .filter-extra {
293
+ display: flex;
294
+ gap: 10px;
295
+ }
296
+ .resource-list .list-filter-wrapper .filter-pannel {
297
+ z-index: 100000;
298
+ display: flex;
299
+ flex-direction: column;
300
+ gap: 10px;
301
+ padding: 10px;
302
+ background-color: #fff;
303
+ border-radius: 4px;
304
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
305
+ }
274
306
  .resource-list .title {
275
307
  display: flex;
276
308
  gap: 8px;
@@ -284,6 +316,10 @@
284
316
  height: 16px;
285
317
  background-color: #4886ff;
286
318
  }
319
+ .resource-select-wrap {
320
+ width: 100%;
321
+ height: 100%;
322
+ }
287
323
  .resource-select-modal-body {
288
324
  height: 80vh;
289
325
  padding: 0;
@@ -312,3 +348,8 @@
312
348
  .resource-select-container .resource-select-header .arco-tabs-content {
313
349
  display: none !important;
314
350
  }
351
+ .resource-select-container .resource-list-content .resource-list-content-empty {
352
+ box-sizing: border-box;
353
+ width: 100%;
354
+ height: 100%;
355
+ }
@@ -2,6 +2,11 @@
2
2
  @import './listCardWrapper.less';
3
3
  @import './list.less';
4
4
 
5
+ .resource-select-wrap {
6
+ width: 100%;
7
+ height: 100%;
8
+ }
9
+
5
10
  .resource-select-modal-body {
6
11
  height: 80vh;
7
12
  padding: 0;
@@ -38,4 +43,13 @@
38
43
  display: none !important;
39
44
  }
40
45
  }
46
+
47
+ // 内容区域样式
48
+ .resource-list-content {
49
+ .resource-list-content-empty {
50
+ box-sizing: border-box;
51
+ width: 100%;
52
+ height: 100%;
53
+ }
54
+ }
41
55
  }
@@ -14,12 +14,14 @@
14
14
 
15
15
  &-footer,
16
16
  &-header,
17
+ &-content .resource-list-content-empty,
17
18
  &-content .arco-scrollbar-container {
18
19
  padding: 0 40px;
19
20
  }
20
21
 
21
22
  &-footer {
22
23
  display: flex;
24
+ flex-wrap: wrap;
23
25
  justify-content: space-between;
24
26
  padding-bottom: 20px;
25
27
 
@@ -29,6 +31,11 @@
29
31
  gap: 10px;
30
32
  align-items: center;
31
33
  justify-content: flex-end;
34
+ margin-top: 10px;
35
+
36
+ .list-selected-wrapper {
37
+ font-size: 12px;
38
+ }
32
39
  }
33
40
  }
34
41
 
@@ -47,7 +54,7 @@
47
54
  .list-item-grid {
48
55
  display: grid;
49
56
  grid-gap: 20px;
50
- grid-template-columns: repeat(5, 1fr);
57
+ grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
51
58
  }
52
59
  }
53
60
 
@@ -108,7 +115,8 @@
108
115
  .resource-list .list-filter-wrapper {
109
116
  .list-filter-tags {
110
117
  display: flex;
111
- justify-content: space-between;
118
+ flex-wrap: wrap;
119
+ gap: 10px;
112
120
  margin-top: 10px;
113
121
 
114
122
  .list-filter-tag {
@@ -133,18 +141,46 @@
133
141
  justify-content: space-between;
134
142
 
135
143
  .filter-list {
144
+ position: relative; /** 给 popup 一个参考 */
136
145
  display: flex;
137
- flex-wrap: wrap;
138
- gap: 10px;
139
146
 
140
147
  .filter-item {
141
148
  width: 100px;
149
+ margin-right: 10px;
150
+ }
151
+
152
+ .arco-trigger-popup {
153
+ z-index: 100000 !important;
142
154
  }
143
155
  }
144
156
 
145
157
  .arco-input-prepend {
146
158
  padding: 0;
147
159
  }
160
+
161
+ .more-btn {
162
+ position: relative; /** 给 poperjs 一个参考 */
163
+
164
+ .filter-pannel {
165
+ inset: 40px auto auto auto !important;
166
+ }
167
+ }
168
+ }
169
+
170
+ .filter-extra {
171
+ display: flex;
172
+ gap: 10px;
173
+ }
174
+
175
+ .filter-pannel {
176
+ z-index: 100000;
177
+ display: flex;
178
+ flex-direction: column;
179
+ gap: 10px;
180
+ padding: 10px;
181
+ background-color: #fff;
182
+ border-radius: 4px;
183
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
148
184
  }
149
185
  }
150
186
 
@@ -434,20 +434,20 @@ const _sfc_main = defineComponent({
434
434
  }, [
435
435
  createCommentVNode(" \u5C01\u9762\u6807\u9898"),
436
436
  createElementVNode("div", {
437
- class: normalizeClass(["banner-view", { flex: _ctx.flex }])
437
+ class: normalizeClass(["banner-view", { flex: __props.flex }])
438
438
  }, [
439
- _ctx.mode !== "smiple" && _ctx.showTitle ? (openBlock(), createElementBlock("div", {
439
+ __props.mode !== "smiple" && __props.showTitle ? (openBlock(), createElementBlock("div", {
440
440
  key: 0,
441
441
  class: "title",
442
- style: normalizeStyle({ width: _ctx.offset })
442
+ style: normalizeStyle({ width: __props.offset })
443
443
  }, [
444
- _ctx.titleValid ? (openBlock(), createElementBlock("span", _hoisted_1, "*")) : createCommentVNode("v-if", true),
445
- createElementVNode("span", null, toDisplayString(_ctx.title ? _ctx.title : "\u5C01\u9762"), 1),
444
+ __props.titleValid ? (openBlock(), createElementBlock("span", _hoisted_1, "*")) : createCommentVNode("v-if", true),
445
+ createElementVNode("span", null, toDisplayString(__props.title ? __props.title : "\u5C01\u9762"), 1),
446
446
  createCommentVNode(" \u4E0A\u4E0B\u5E03\u5C40\u663E\u793A tip"),
447
- ((_a = curtemplate.value) == null ? void 0 : _a.value) !== "4" && !_ctx.flex ? (openBlock(), createElementBlock("span", _hoisted_2, " (" + toDisplayString((_b = curtemplate.value) == null ? void 0 : _b.alias) + "\u6BD4\u4F8B\uFF1A" + toDisplayString((_c = curtemplate.value) == null ? void 0 : _c.ratioStr) + ") ", 1)) : createCommentVNode("v-if", true)
447
+ ((_a = curtemplate.value) == null ? void 0 : _a.value) !== "4" && !__props.flex ? (openBlock(), createElementBlock("span", _hoisted_2, " (" + toDisplayString((_b = curtemplate.value) == null ? void 0 : _b.alias) + "\u6BD4\u4F8B\uFF1A" + toDisplayString((_c = curtemplate.value) == null ? void 0 : _c.ratioStr) + ") ", 1)) : createCommentVNode("v-if", true)
448
448
  ], 4)) : createCommentVNode("v-if", true),
449
449
  createElementVNode("div", _hoisted_3, [
450
- ["thumbs"].includes(_ctx.mode) ? (openBlock(), createElementBlock("div", _hoisted_4, [
450
+ ["thumbs"].includes(__props.mode) ? (openBlock(), createElementBlock("div", _hoisted_4, [
451
451
  (openBlock(true), createElementBlock(Fragment, null, renderList(thumbsLengthList.value, (item, index) => {
452
452
  return openBlock(), createBlock(_sfc_main$1, {
453
453
  key: index,
@@ -457,7 +457,7 @@ const _sfc_main = defineComponent({
457
457
  parentRef: selectThumbRef.value,
458
458
  idx: index,
459
459
  "preview-list": previewList.value,
460
- "is-popover": _ctx.localUpload,
460
+ "is-popover": __props.localUpload,
461
461
  "thumb-model": "thumb",
462
462
  onFileForShowThumb: fileForShowThumb,
463
463
  onChangeThumbType: changeThumbType,
@@ -478,7 +478,7 @@ const _sfc_main = defineComponent({
478
478
  model: model.value,
479
479
  idx: index,
480
480
  "preview-list": previewList.value,
481
- "is-popover": _ctx.localUpload,
481
+ "is-popover": __props.localUpload,
482
482
  "thumb-model": "thumb",
483
483
  onFileForShowThumb: fileForShowThumb,
484
484
  onChangeThumbType: changeThumbType,
@@ -490,9 +490,9 @@ const _sfc_main = defineComponent({
490
490
  ], 2112)) : createCommentVNode("v-if", true),
491
491
  createCommentVNode(" \u5DE6\u53F3\u5E03\u5C40\u663E\u793Atip "),
492
492
  createElementVNode("div", _hoisted_6, [
493
- ((_d = curtemplate.value) == null ? void 0 : _d.value) !== "4" && _ctx.flex ? (openBlock(), createElementBlock("span", _hoisted_7, " (" + toDisplayString((_e = curtemplate.value) == null ? void 0 : _e.alias) + "\u6BD4\u4F8B\uFF1A" + toDisplayString((_f = curtemplate.value) == null ? void 0 : _f.ratioStr) + ") ", 1)) : createCommentVNode("v-if", true)
493
+ ((_d = curtemplate.value) == null ? void 0 : _d.value) !== "4" && __props.flex ? (openBlock(), createElementBlock("span", _hoisted_7, " (" + toDisplayString((_e = curtemplate.value) == null ? void 0 : _e.alias) + "\u6BD4\u4F8B\uFF1A" + toDisplayString((_f = curtemplate.value) == null ? void 0 : _f.ratioStr) + ") ", 1)) : createCommentVNode("v-if", true)
494
494
  ]),
495
- ["doc"].includes(_ctx.mode) ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
495
+ ["doc"].includes(__props.mode) ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
496
496
  createCommentVNode(" \u9009\u62E9\u5927\u56FE\u3001\u4E09\u56FE\u3001\u5355\u56FE...\u7B49\u6A21\u5F0F "),
497
497
  createVNode(unref(RadioGroup), {
498
498
  modelValue: model.value,
@@ -516,29 +516,29 @@ const _sfc_main = defineComponent({
516
516
  }), 128))
517
517
  ]),
518
518
  _: 1
519
- }, 8, ["modelValue"])
520
- ], 64)) : createCommentVNode("v-if", true),
521
- hasCover.value ? (openBlock(), createBlock(_sfc_main$2, {
522
- key: 3,
523
- "style-data": styleData.value,
524
- model: "cover",
525
- style: { "margin-top": "10px" },
526
- onChange: colorChange
527
- }, null, 8, ["style-data"])) : createCommentVNode("v-if", true)
519
+ }, 8, ["modelValue"]),
520
+ hasCover.value ? (openBlock(), createBlock(_sfc_main$2, {
521
+ key: 0,
522
+ "style-data": styleData.value,
523
+ model: "cover",
524
+ style: { "margin-top": "10px" },
525
+ onChange: colorChange
526
+ }, null, 8, ["style-data"])) : createCommentVNode("v-if", true)
527
+ ], 64)) : createCommentVNode("v-if", true)
528
528
  ])
529
529
  ], 2),
530
- _ctx.mode === "doc" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
530
+ __props.mode === "doc" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
531
531
  createCommentVNode(" \u72EC\u7ACB\u8F6E\u535A\u56FE "),
532
532
  createElementVNode("div", {
533
- class: normalizeClass(["banner-view", { flex: _ctx.flex }])
533
+ class: normalizeClass(["banner-view", { flex: __props.flex }])
534
534
  }, [
535
535
  createElementVNode("div", {
536
536
  class: "title",
537
- style: normalizeStyle({ width: _ctx.offset })
537
+ style: normalizeStyle({ width: __props.offset })
538
538
  }, [
539
539
  _cache[11] || (_cache[11] = createElementVNode("span", { style: { "margin-right": "10px" } }, "\u72EC\u7ACB\u8F6E\u64AD\u56FE", -1)),
540
540
  createCommentVNode(" \u4E0A\u4E0B\u5E03\u5C40\u5F00\u5173\u5728\u6807\u9898\u540E "),
541
- !_ctx.flex ? (openBlock(), createBlock(unref(Switch), {
541
+ !__props.flex ? (openBlock(), createBlock(unref(Switch), {
542
542
  key: 0,
543
543
  modelValue: hasBanner.value,
544
544
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => hasBanner.value = $event),
@@ -547,7 +547,7 @@ const _sfc_main = defineComponent({
547
547
  ], 4),
548
548
  createElementVNode("div", _hoisted_8, [
549
549
  createCommentVNode(" \u5DE6\u53F3\u5E03\u5C40\u5F00\u5173\u663E\u793A "),
550
- _ctx.flex ? (openBlock(), createBlock(unref(Switch), {
550
+ __props.flex ? (openBlock(), createBlock(unref(Switch), {
551
551
  key: 0,
552
552
  modelValue: hasBanner.value,
553
553
  "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => hasBanner.value = $event),
@@ -561,16 +561,16 @@ const _sfc_main = defineComponent({
561
561
  "onUpdate:data": _cache[5] || (_cache[5] = ($event) => banner.value = $event),
562
562
  parentRef: selectThumbRef.value,
563
563
  "preview-list": previewList.value,
564
- "is-popover": _ctx.localUpload,
564
+ "is-popover": __props.localUpload,
565
565
  "thumb-model": "banner",
566
566
  onFileForShowThumb: fileForShowThumb,
567
567
  onChangeThumbType: changeThumbType,
568
568
  onUploadLocal: _cache[6] || (_cache[6] = (cb) => _ctx.$emit("upload", cb)),
569
569
  onOpen: openDialogMediaSelection
570
570
  }, null, 8, ["data", "parentRef", "preview-list", "is-popover"])) : createCommentVNode("v-if", true),
571
- hasBanner.value && styleData.value.banner_theme_color ? (openBlock(), createElementBlock("div", _hoisted_9, _cache[12] || (_cache[12] = [
571
+ hasBanner.value && styleData.value.banner_theme_color ? (openBlock(), createElementBlock("div", _hoisted_9, [..._cache[12] || (_cache[12] = [
572
572
  createElementVNode("span", null, "\u72EC\u7ACB\u8F6E\u64AD\u56FE\u80CC\u666F\u989C\u8272", -1)
573
- ]))) : createCommentVNode("v-if", true),
573
+ ])])) : createCommentVNode("v-if", true),
574
574
  createCommentVNode(" banner\u8C03\u8272\u677F "),
575
575
  hasBanner.value ? (openBlock(), createBlock(_sfc_main$2, {
576
576
  key: 3,
@@ -582,17 +582,17 @@ const _sfc_main = defineComponent({
582
582
  ], 2),
583
583
  createCommentVNode(" pc\u5C01\u9762\u56FE\uFF08\u4E13\u9898\u5934\u56FE\u5171\u7528\u4E00\u4E2A\u5B57\u6BB5\uFF09 "),
584
584
  createElementVNode("div", {
585
- class: normalizeClass(["banner-view", { flex: _ctx.flex }])
585
+ class: normalizeClass(["banner-view", { flex: __props.flex }])
586
586
  }, [
587
587
  createElementVNode("div", {
588
588
  class: "title",
589
- style: normalizeStyle({ width: _ctx.offset })
589
+ style: normalizeStyle({ width: __props.offset })
590
590
  }, [
591
591
  docSeriesShowTopThemeColor.value ? (openBlock(), createElementBlock("span", _hoisted_10, [
592
- _ctx.topImageTitleValid ? (openBlock(), createElementBlock("span", _hoisted_11, "*")) : createCommentVNode("v-if", true),
593
- createElementVNode("span", null, toDisplayString(_ctx.topImageTitle || "\u5C01\u9762\u5934\u56FE"), 1)
592
+ __props.topImageTitleValid ? (openBlock(), createElementBlock("span", _hoisted_11, "*")) : createCommentVNode("v-if", true),
593
+ createElementVNode("span", null, toDisplayString(__props.topImageTitle || "\u5C01\u9762\u5934\u56FE"), 1)
594
594
  ])) : (openBlock(), createElementBlock("span", _hoisted_12, "PC\u5C01\u9762\u56FE")),
595
- !_ctx.flex ? (openBlock(), createElementBlock("span", _hoisted_13, " (\u5EFA\u8BAE\u5C3A\u5BF8\uFF1A1242px*662px) ")) : createCommentVNode("v-if", true)
595
+ !__props.flex ? (openBlock(), createElementBlock("span", _hoisted_13, " (\u5EFA\u8BAE\u5C3A\u5BF8\uFF1A1242px*662px) ")) : createCommentVNode("v-if", true)
596
596
  ], 4),
597
597
  createElementVNode("div", _hoisted_14, [
598
598
  createVNode(_sfc_main$1, {
@@ -601,17 +601,17 @@ const _sfc_main = defineComponent({
601
601
  "onUpdate:data": _cache[7] || (_cache[7] = ($event) => pcBanner.value = $event),
602
602
  parentRef: selectThumbRef.value,
603
603
  previewList: previewList.value,
604
- "is-popover": _ctx.localUpload,
604
+ "is-popover": __props.localUpload,
605
605
  thumbModel: "pcBanner",
606
606
  onFileForShowThumb: fileForShowThumb,
607
607
  onChangeThumbType: changeThumbType,
608
608
  onUploadLocal: _cache[8] || (_cache[8] = (cb) => _ctx.$emit("upload", cb)),
609
609
  onOpen: openDialogMediaSelection
610
610
  }, null, 8, ["data", "parentRef", "previewList", "is-popover"]),
611
- _ctx.flex ? (openBlock(), createElementBlock("span", _hoisted_15, "(\u5EFA\u8BAE\u5C3A\u5BF8\uFF1A1242px*662px)")) : createCommentVNode("v-if", true),
612
- docSeriesShowTopThemeColor.value && styleData.value.top_theme_color ? (openBlock(), createElementBlock("div", _hoisted_16, _cache[13] || (_cache[13] = [
611
+ __props.flex ? (openBlock(), createElementBlock("span", _hoisted_15, "(\u5EFA\u8BAE\u5C3A\u5BF8\uFF1A1242px*662px)")) : createCommentVNode("v-if", true),
612
+ docSeriesShowTopThemeColor.value && styleData.value.top_theme_color ? (openBlock(), createElementBlock("div", _hoisted_16, [..._cache[13] || (_cache[13] = [
613
613
  createElementVNode("span", null, "\u56FE\u7247\u80CC\u666F\u989C\u8272", -1)
614
- ]))) : createCommentVNode("v-if", true),
614
+ ])])) : createCommentVNode("v-if", true),
615
615
  docSeriesShowTopThemeColor.value ? (openBlock(), createBlock(_sfc_main$2, {
616
616
  key: 2,
617
617
  model: "top",
@@ -637,7 +637,7 @@ const _sfc_main = defineComponent({
637
637
  visible: dialogMediaSelectionShow.value,
638
638
  "onUpdate:visible": _cache[9] || (_cache[9] = ($event) => dialogMediaSelectionShow.value = $event),
639
639
  maxcount: 1,
640
- "media-use-type": _ctx.mediaUseType,
640
+ "media-use-type": __props.mediaUseType,
641
641
  userInfo: { domain_id: 1, repository_id: 4 },
642
642
  filterOptions: { mediaType: "image", mediaTypeStrict: true },
643
643
  wrap: "modal",