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

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 (318) 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/components/metaInfoForm.js +11 -11
  58. package/es/editMetaInfo/script/api.d.ts +2 -2
  59. package/es/emptyData/component.js +4 -4
  60. package/es/emptyData/svg/acount.js +2 -2
  61. package/es/emptyData/svg/add.js +2 -2
  62. package/es/emptyData/svg/analize.js +2 -2
  63. package/es/emptyData/svg/analize_fail.js +2 -2
  64. package/es/emptyData/svg/empty.js +2 -2
  65. package/es/emptyData/svg/file.js +2 -2
  66. package/es/emptyData/svg/manager.js +2 -2
  67. package/es/emptyData/svg/message.js +2 -2
  68. package/es/emptyData/svg/noanalize.js +2 -2
  69. package/es/emptyData/svg/null.js +2 -2
  70. package/es/emptyData/svg/search.js +2 -2
  71. package/es/emptyData/svg/star.js +2 -2
  72. package/es/emptyData/svg/trash.js +2 -2
  73. package/es/emptyData/svg/user.js +2 -2
  74. package/es/hooks/assets.d.ts +1 -1
  75. package/es/hooks/source.d.ts +1 -1
  76. package/es/hooks/useAttachement.d.ts +32 -13
  77. package/es/hooks/useAttachement.js +42 -2
  78. package/es/hooks/usePopper.d.ts +1 -1
  79. package/es/hooks/usePopper.js +3 -3
  80. package/es/hooks/useUpload.d.ts +53 -5
  81. package/es/hooks/useUpload.js +43 -4
  82. package/es/hooks/user.d.ts +1 -1
  83. package/es/imageCrop/component.js +11 -11
  84. package/es/imageCrop/script/api.d.ts +1 -1
  85. package/es/importData/component.js +13 -13
  86. package/es/index.css +97 -4
  87. package/es/index.d.ts +1 -0
  88. package/es/index.js +1 -0
  89. package/es/mediaFilter/component.js +4 -4
  90. package/es/mediaFilter/components/DocFilter.js +1 -1
  91. package/es/mediaFilter/components/FilterGroup.js +1 -1
  92. package/es/mediaFilter/components/FilterItem.js +1 -1
  93. package/es/mediaView/component.js +8 -8
  94. package/es/messageBox/component.js +3 -3
  95. package/es/messageBox/script/api.d.ts +2 -2
  96. package/es/previousVersion/script/api.d.ts +4 -4
  97. package/es/resourceGridList/component.js +16 -16
  98. package/es/resourceGridList/components/FileTypeThumb/index.js +6 -6
  99. package/es/resourceModal/component.js +7 -7
  100. package/es/resourceModal/components/MediaPreviewer/index.js +8 -8
  101. package/es/resourceModal/components/MediaSelection/DocAiMediaSelected/index.js +5 -5
  102. package/es/resourceModal/components/MediaSelection/MainContent/FileTypeThumb/index.js +6 -6
  103. package/es/resourceModal/components/MediaSelection/MainContent/index.js +18 -18
  104. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.js +3 -3
  105. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.js +3 -3
  106. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/index.js +2 -2
  107. package/es/resourceModal/components/MediaSelection/ToolbarSearch/index.js +4 -4
  108. package/es/resourceModal/components/MediaSelection/index.js +6 -6
  109. package/es/resourceModal/script/api.d.ts +11 -11
  110. package/es/selectAddTo/component.d.ts +0 -0
  111. package/es/selectAddTo/component.js +47 -0
  112. package/es/selectAddTo/component.vue_vue_type_style_index_0_scoped_true_lang.js +2 -0
  113. package/es/selectAddTo/components/SelectAddToView.d.ts +0 -0
  114. package/es/selectAddTo/components/SelectAddToView.js +90 -0
  115. package/es/selectAddTo/components/SelectAddToView.vue_vue_type_style_index_0_scoped_true_lang.js +2 -0
  116. package/es/selectAddTo/components/ViewAllColumn/MediaFilter/index.d.ts +0 -0
  117. package/es/selectAddTo/components/ViewAllColumn/MediaFilter/index.js +166 -0
  118. package/es/selectAddTo/components/ViewAllColumn/index.d.ts +0 -0
  119. package/es/selectAddTo/components/ViewAllColumn/index.js +212 -0
  120. package/es/selectAddTo/components/ViewAllColumn/index.vue_vue_type_style_index_0_scoped_true_lang.js +2 -0
  121. package/es/selectAddTo/components/ViewAllColumn/script/useTableColumns.d.ts +6 -0
  122. package/es/selectAddTo/components/ViewAllColumn/script/useTableColumns.js +102 -0
  123. package/es/selectAddTo/components/ViewAllColumn/script/useViewAllColumnState.d.ts +144 -0
  124. package/es/selectAddTo/components/ViewAllColumn/script/useViewAllColumnState.js +182 -0
  125. package/es/selectAddTo/components/ViewAllColumn/types/index.d.ts +55 -0
  126. package/es/selectAddTo/index.d.ts +2 -0
  127. package/es/selectAddTo/index.js +7 -0
  128. package/es/selectAddTo/script/api.d.ts +18 -0
  129. package/es/selectAddTo/script/api.js +23 -0
  130. package/es/selectAddTo/script/index.d.ts +2 -0
  131. package/es/selectAddTo/script/useSelectAddToState.d.ts +13 -0
  132. package/es/selectAddTo/script/useSelectAddToState.js +55 -0
  133. package/es/selectAddTo/style/css.js +1 -0
  134. package/es/selectAddTo/style/index.css +3 -0
  135. package/es/selectAddTo/style/index.d.ts +1 -0
  136. package/es/selectAddTo/style/index.js +1 -0
  137. package/es/selectAddTo/style/index.less +3 -0
  138. package/es/selectAddTo/types/index.d.ts +37 -0
  139. package/es/selectGategory/component.js +5 -5
  140. package/es/selectGategory/components/ColumnSelection/index.js +6 -6
  141. package/es/selectGategory/script/api.d.ts +2 -2
  142. package/es/selectResourceModal/__demo__/module/DivWrapper.d.ts +261 -0
  143. package/es/selectResourceModal/__demo__/module/basic.d.ts +292 -0
  144. package/es/selectResourceModal/component.js +26 -34
  145. package/es/selectResourceModal/components/List/ListCardWrapper.js +6 -6
  146. package/es/selectResourceModal/components/List/ListLocal/Upload.js +1 -1
  147. package/es/selectResourceModal/components/List/ListLocal/index.js +8 -3
  148. package/es/selectResourceModal/components/List/ListNormal/Filter.js +210 -83
  149. package/es/selectResourceModal/components/List/ListNormal/index.js +23 -7
  150. package/es/selectResourceModal/components/List/ListSystem/Filter.js +3 -3
  151. package/es/selectResourceModal/components/List/ListSystem/SubList.js +3 -3
  152. package/es/selectResourceModal/components/List/ListSystem/index.js +2 -2
  153. package/es/selectResourceModal/components/List/ListWraper.js +2 -2
  154. package/es/selectResourceModal/components/ListSelected/index.js +6 -6
  155. package/es/selectResourceModal/components/ListTabs/index.js +1 -1
  156. package/es/selectResourceModal/hooks/useResponsiveFilter.d.ts +21 -0
  157. package/es/selectResourceModal/hooks/useResponsiveFilter.js +142 -0
  158. package/es/selectResourceModal/scripts/selectionApis.d.ts +2 -2
  159. package/es/selectResourceModal/scripts/useCompoLf.js +1 -1
  160. package/es/selectResourceModal/scripts/useTabFilter.js +1 -11
  161. package/es/selectResourceModal/style/index.css +45 -4
  162. package/es/selectResourceModal/style/index.less +14 -0
  163. package/es/selectResourceModal/style/list.less +40 -4
  164. package/es/selectThumb/component.js +76 -33
  165. package/es/selectThumb/components/card.js +3 -3
  166. package/es/style.css +63 -0
  167. package/es/thumbCard/component.js +7 -7
  168. package/es/thumbCard/components/ThumbUploading/index.js +3 -3
  169. package/es/typeIcons/component.js +1 -1
  170. package/es/uploadBefore/component.js +1 -1
  171. package/es/uploadBefore/components/UploadBefore.js +9 -9
  172. package/es/uploadBefore/script/api.d.ts +4 -4
  173. package/es/uploadStep/component.js +3 -3
  174. package/es/userAvater/component.js +3 -3
  175. package/es/userAvater/script/api.d.ts +4 -4
  176. package/es/userDirector/component.js +5 -5
  177. package/es/userDirector/components/userTree.js +2 -2
  178. package/es/userDirector/script/api.d.ts +6 -6
  179. package/es/utils/index.js +6 -6
  180. package/es/utils/request.d.ts +1 -1
  181. package/es/utils/transcodeMedia.d.ts +1 -1
  182. package/es/videoThumb/scripts/api.d.ts +1 -1
  183. package/lib/baseFilter/component.js +69 -12
  184. package/lib/baseFilter/components/FilterGroup.js +1 -1
  185. package/lib/baseFilter/components/filterItem.js +1 -1
  186. package/lib/colorPalette/component.js +1 -1
  187. package/lib/contentDetailList/component.js +33 -9
  188. package/lib/contentDetailList/components/Content/CompoItem/index.js +12 -12
  189. package/lib/contentDetailList/components/Content/ContentListItem/index.js +15 -15
  190. package/lib/contentDetailList/components/Content/DocItem/ApprovalStateMap/index.js +18 -18
  191. package/lib/contentDetailList/components/Content/DocItem/index.js +27 -27
  192. package/lib/contentDetailList/components/Content/DocMpItem/index.js +13 -13
  193. package/lib/contentDetailList/components/Content/GroupPieceItem/index.js +11 -11
  194. package/lib/contentDetailList/components/Content/KongoNavItem/index.js +14 -14
  195. package/lib/contentDetailList/components/Content/LiveItem/index.js +9 -9
  196. package/lib/contentDetailList/components/Content/MaccountItem/index.js +12 -12
  197. package/lib/contentDetailList/components/Content/courseItem/index.js +10 -10
  198. package/lib/contentDetailList/components/Content/funhdItem/index.js +10 -10
  199. package/lib/contentDetailList/components/Content/index.js +118 -117
  200. package/lib/contentDetailList/components/CustomWrp/CustomItem.js +5 -5
  201. package/lib/contentDetailList/components/CustomWrp/index.js +10 -10
  202. package/lib/contentDetailList/components/Doc/index.js +16 -10
  203. package/lib/contentDetailList/components/Records/MatrixItem/index.js +22 -22
  204. package/lib/contentDetailList/components/Records/index.js +8 -8
  205. package/lib/contentDetailList/components/ShowQRCode/QrcodeView/index.js +6 -6
  206. package/lib/contentDetailList/components/ShowQRCode/index.js +1 -1
  207. package/lib/contentModal/component.js +40 -40
  208. package/lib/contentModal/components/CompoList/index.js +1 -1
  209. package/lib/contentModal/components/Dejin/index.js +1 -1
  210. package/lib/contentModal/components/MpContentList/MediaFilter/index.js +2 -2
  211. package/lib/contentModal/components/MpContentList/index.js +1 -1
  212. package/lib/contentModal/components/ViewAllColumn/MediaFilter/index.js +3 -3
  213. package/lib/contentModal/components/ViewAllColumn/index.js +7 -3
  214. package/lib/contentModal/components/storeBox/index.js +8 -8
  215. package/lib/dataTags/component.js +38 -38
  216. package/lib/docHistory/component.js +42 -13
  217. package/lib/docHistory/components/DocDiffPanel/index.js +2 -2
  218. package/lib/docHistory/components/DocHistoryList/index.js +2 -2
  219. package/lib/docHistory/scripts/diff.js +4 -3
  220. package/lib/docHistory/style/index.css +4 -0
  221. package/lib/docHistory/style/index.less +5 -0
  222. package/lib/docPreview/component.js +227 -59
  223. package/lib/docPreview/components/PreviewIframe.js +37 -6
  224. package/lib/docPreview/images/pc.js +3 -0
  225. package/lib/docPreview/scripts/hook.js +115 -3
  226. package/lib/docPreview/style/index.css +48 -0
  227. package/lib/docPreview/style/index.less +23 -0
  228. package/lib/docPreview/style/previewIframe.less +31 -0
  229. package/lib/editMetaInfo/components/metaInfoForm.js +11 -11
  230. package/lib/emptyData/component.js +4 -4
  231. package/lib/emptyData/svg/acount.js +2 -2
  232. package/lib/emptyData/svg/add.js +2 -2
  233. package/lib/emptyData/svg/analize.js +2 -2
  234. package/lib/emptyData/svg/analize_fail.js +2 -2
  235. package/lib/emptyData/svg/empty.js +2 -2
  236. package/lib/emptyData/svg/file.js +2 -2
  237. package/lib/emptyData/svg/manager.js +2 -2
  238. package/lib/emptyData/svg/message.js +2 -2
  239. package/lib/emptyData/svg/noanalize.js +2 -2
  240. package/lib/emptyData/svg/null.js +2 -2
  241. package/lib/emptyData/svg/search.js +2 -2
  242. package/lib/emptyData/svg/star.js +2 -2
  243. package/lib/emptyData/svg/trash.js +2 -2
  244. package/lib/emptyData/svg/user.js +2 -2
  245. package/lib/hooks/useAttachement.js +42 -0
  246. package/lib/hooks/usePopper.js +3 -3
  247. package/lib/hooks/useUpload.js +43 -3
  248. package/lib/imageCrop/component.js +11 -11
  249. package/lib/importData/component.js +13 -13
  250. package/lib/index.css +97 -4
  251. package/lib/index.js +2 -0
  252. package/lib/mediaFilter/component.js +4 -4
  253. package/lib/mediaFilter/components/DocFilter.js +1 -1
  254. package/lib/mediaFilter/components/FilterGroup.js +1 -1
  255. package/lib/mediaFilter/components/FilterItem.js +1 -1
  256. package/lib/mediaView/component.js +8 -8
  257. package/lib/messageBox/component.js +3 -3
  258. package/lib/resourceGridList/component.js +16 -16
  259. package/lib/resourceGridList/components/FileTypeThumb/index.js +6 -6
  260. package/lib/resourceModal/component.js +7 -7
  261. package/lib/resourceModal/components/MediaPreviewer/index.js +8 -8
  262. package/lib/resourceModal/components/MediaSelection/DocAiMediaSelected/index.js +5 -5
  263. package/lib/resourceModal/components/MediaSelection/MainContent/FileTypeThumb/index.js +6 -6
  264. package/lib/resourceModal/components/MediaSelection/MainContent/index.js +18 -18
  265. package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.js +3 -3
  266. package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.js +3 -3
  267. package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/index.js +2 -2
  268. package/lib/resourceModal/components/MediaSelection/ToolbarSearch/index.js +4 -4
  269. package/lib/resourceModal/components/MediaSelection/index.js +6 -6
  270. package/lib/selectAddTo/component.js +48 -0
  271. package/lib/selectAddTo/component.vue_vue_type_style_index_0_scoped_true_lang.js +3 -0
  272. package/lib/selectAddTo/components/SelectAddToView.js +91 -0
  273. package/lib/selectAddTo/components/SelectAddToView.vue_vue_type_style_index_0_scoped_true_lang.js +3 -0
  274. package/lib/selectAddTo/components/ViewAllColumn/MediaFilter/index.js +167 -0
  275. package/lib/selectAddTo/components/ViewAllColumn/index.js +213 -0
  276. package/lib/selectAddTo/components/ViewAllColumn/index.vue_vue_type_style_index_0_scoped_true_lang.js +3 -0
  277. package/lib/selectAddTo/components/ViewAllColumn/script/useTableColumns.js +108 -0
  278. package/lib/selectAddTo/components/ViewAllColumn/script/useViewAllColumnState.js +184 -0
  279. package/lib/selectAddTo/index.js +8 -0
  280. package/lib/selectAddTo/script/api.js +27 -0
  281. package/lib/selectAddTo/script/useSelectAddToState.js +57 -0
  282. package/lib/selectAddTo/style/css.js +2 -0
  283. package/lib/selectAddTo/style/index.css +3 -0
  284. package/lib/selectAddTo/style/index.js +2 -0
  285. package/lib/selectAddTo/style/index.less +3 -0
  286. package/lib/selectGategory/component.js +5 -5
  287. package/lib/selectGategory/components/ColumnSelection/index.js +6 -6
  288. package/lib/selectResourceModal/component.js +25 -33
  289. package/lib/selectResourceModal/components/List/ListCardWrapper.js +6 -6
  290. package/lib/selectResourceModal/components/List/ListLocal/Upload.js +1 -1
  291. package/lib/selectResourceModal/components/List/ListLocal/index.js +6 -1
  292. package/lib/selectResourceModal/components/List/ListNormal/Filter.js +207 -80
  293. package/lib/selectResourceModal/components/List/ListNormal/index.js +22 -6
  294. package/lib/selectResourceModal/components/List/ListSystem/Filter.js +3 -3
  295. package/lib/selectResourceModal/components/List/ListSystem/SubList.js +3 -3
  296. package/lib/selectResourceModal/components/List/ListSystem/index.js +2 -2
  297. package/lib/selectResourceModal/components/List/ListWraper.js +2 -2
  298. package/lib/selectResourceModal/components/ListSelected/index.js +6 -6
  299. package/lib/selectResourceModal/components/ListTabs/index.js +1 -1
  300. package/lib/selectResourceModal/hooks/useResponsiveFilter.js +144 -0
  301. package/lib/selectResourceModal/scripts/useCompoLf.js +1 -1
  302. package/lib/selectResourceModal/scripts/useTabFilter.js +1 -13
  303. package/lib/selectResourceModal/style/index.css +45 -4
  304. package/lib/selectResourceModal/style/index.less +14 -0
  305. package/lib/selectResourceModal/style/list.less +40 -4
  306. package/lib/selectThumb/component.js +75 -32
  307. package/lib/selectThumb/components/card.js +3 -3
  308. package/lib/thumbCard/component.js +7 -7
  309. package/lib/thumbCard/components/ThumbUploading/index.js +3 -3
  310. package/lib/typeIcons/component.js +1 -1
  311. package/lib/uploadBefore/component.js +1 -1
  312. package/lib/uploadBefore/components/UploadBefore.js +9 -9
  313. package/lib/uploadStep/component.js +3 -3
  314. package/lib/userAvater/component.js +3 -3
  315. package/lib/userDirector/component.js +5 -5
  316. package/lib/userDirector/components/userTree.js +2 -2
  317. package/lib/utils/index.js +6 -6
  318. package/package.json +1 -1
@@ -3,41 +3,70 @@ var vue = require("vue");
3
3
  var webVue = require("@arco-design/web-vue");
4
4
  var icon = require("@arco-design/web-vue/es/icon");
5
5
  var useSelection = require("../../../../hooks/useSelection.js");
6
+ var useAttachement = require("../../../../hooks/useAttachement.js");
6
7
  var typeMap = require("../../../../utils/typeMap.js");
7
8
  var selectionApis = require("../../../scripts/selectionApis.js");
8
9
  var resource = require("../../../../utils/resource.js");
10
+ var useResponsiveFilter = require("../../../hooks/useResponsiveFilter.js");
9
11
  const _hoisted_1 = { class: "list-filter-wrapper" };
10
12
  const _hoisted_2 = { class: "list-filter" };
11
- const _hoisted_3 = { class: "filter-list" };
12
- const _hoisted_4 = { style: { "width": "200px" } };
13
+ const _hoisted_3 = { class: "more-btn" };
14
+ const _hoisted_4 = { class: "right-prefix" };
13
15
  const _hoisted_5 = {
14
16
  class: "filter-item",
15
17
  style: { "width": "200px" }
16
18
  };
17
- const _hoisted_6 = { class: "filter-item" };
19
+ const _hoisted_6 = {
20
+ class: "filter-item",
21
+ style: { "width": "180px" }
22
+ };
18
23
  const _hoisted_7 = {
24
+ class: "filter-item",
25
+ style: { "width": "170px" }
26
+ };
27
+ const _hoisted_8 = {
28
+ class: "filter-item",
29
+ style: { "width": "240px" }
30
+ };
31
+ const _hoisted_9 = {
32
+ class: "filter-item",
33
+ style: { "width": "240px" }
34
+ };
35
+ const _hoisted_10 = {
19
36
  key: 0,
20
37
  class: "filter-item"
21
38
  };
22
- const _hoisted_8 = { class: "filter-extra" };
23
- const _hoisted_9 = {
39
+ const _hoisted_11 = { class: "filter-extra" };
40
+ const _hoisted_12 = { class: "filter-item" };
41
+ const _hoisted_13 = {
24
42
  key: 0,
25
43
  class: "list-filter-tags"
26
44
  };
27
- const _hoisted_10 = ["onClick"];
45
+ const _hoisted_14 = ["onClick"];
28
46
  const _sfc_main = vue.defineComponent({
29
47
  __name: "Filter",
30
48
  props: {
49
+ smallScreen: { type: Boolean },
31
50
  disableUploadBy: { type: Boolean }
32
51
  },
33
52
  emits: ["upload", "change"],
34
53
  setup(__props, { expose: __expose, emit: __emit }) {
54
+ var _a, _b, _c;
35
55
  const props = __props;
36
56
  const emits = __emit;
37
57
  const userInfo = vue.inject("userInfo");
38
58
  const baseAPI = vue.inject("baseAPI");
39
59
  const filterOptions = vue.inject("filterOptions");
40
60
  const domainId = vue.computed(() => userInfo == null ? void 0 : userInfo.value.domain_id);
61
+ const filterItemsRef = vue.ref();
62
+ const {
63
+ moreBtnRef,
64
+ popperPanelRef,
65
+ hiddenElementList,
66
+ visible,
67
+ show,
68
+ hide
69
+ } = useResponsiveFilter.useResponsiveFilter(filterItemsRef);
41
70
  const { options, loading, load, loadMore, handleSearch } = useSelection({
42
71
  labelStr: "alias",
43
72
  valueStr: "id",
@@ -57,6 +86,9 @@ const _sfc_main = vue.defineComponent({
57
86
  });
58
87
  const resourceSource = typeMap.RESOURCE_SOURCE_OPTIONS;
59
88
  const resourceCatalog = typeMap.RESOURCE_CATALOG_OPTIONS;
89
+ const { tree } = useAttachement.useDirectory({
90
+ BASE_API: baseAPI
91
+ });
60
92
  const originFilter = {
61
93
  catalog: [],
62
94
  source: "",
@@ -65,9 +97,20 @@ const _sfc_main = vue.defineComponent({
65
97
  keyword: "",
66
98
  precise_keyword: "",
67
99
  upload_by: null,
68
- sf: ""
100
+ sf: "",
101
+ directory_id: void 0
69
102
  };
70
- const filter = vue.ref(JSON.parse(JSON.stringify(originFilter)));
103
+ if ((_a = filterOptions == null ? void 0 : filterOptions.value) == null ? void 0 : _a.mediaTypeStrict) {
104
+ originFilter.catalog = filterOptions.value.mediaType.split(",");
105
+ }
106
+ const filter = vue.ref(
107
+ JSON.parse(
108
+ JSON.stringify({
109
+ ...originFilter,
110
+ catalog: ((_c = (_b = filterOptions == null ? void 0 : filterOptions.value) == null ? void 0 : _b.mediaType) == null ? void 0 : _c.split(",")) || []
111
+ })
112
+ )
113
+ );
71
114
  const handleReset = () => {
72
115
  filter.value = JSON.parse(JSON.stringify(originFilter));
73
116
  };
@@ -112,84 +155,116 @@ const _sfc_main = vue.defineComponent({
112
155
  filter.value.keyword = val;
113
156
  filter.value.precise_keyword = "";
114
157
  }
158
+ filter.value.sf = "";
115
159
  }
116
160
  });
117
- vue.watch(
118
- () => searchType.value,
119
- () => {
120
- searchInput.value = filter.value.keyword || filter.value.precise_keyword;
121
- }
122
- );
123
161
  const isEmpty = vue.computed(() => {
124
- return Object.keys(filter.value).every((key) => {
162
+ return Object.keys(originFilter).every((key) => {
163
+ if (key === "catalog") {
164
+ const currentCatalog = filter.value[key] || [];
165
+ const originCatalog = originFilter[key] || [];
166
+ return currentCatalog.length === originCatalog.length && currentCatalog.every((v) => originCatalog.includes(v));
167
+ }
125
168
  return filter.value[key] === originFilter[key];
126
169
  });
127
170
  });
128
171
  vue.watch(
129
172
  () => filter.value,
130
- () => {
131
- const result = { ...filter.value };
173
+ (val) => {
174
+ const result = { ...val };
132
175
  Object.keys(result).forEach((key) => {
133
176
  if (props.disableUploadBy && key === "upload_by")
134
177
  delete result[key];
135
- if (!result[key])
136
- delete result[key];
178
+ if (result[key] === "" || result[key] === null || result[key] === void 0) {
179
+ if (key !== "catalog") {
180
+ delete result[key];
181
+ }
182
+ }
137
183
  });
138
- if (!result.catalog)
139
- result.catalog = "image,video,audio";
140
- else
141
- result.catalog = result.catalog.join(",");
142
- emits("change", result);
143
- },
144
- { deep: true, immediate: true }
145
- );
146
- vue.watch(
147
- () => filterOptions == null ? void 0 : filterOptions.value,
148
- () => {
149
- var _a;
150
- if ((_a = filterOptions == null ? void 0 : filterOptions.value) == null ? void 0 : _a.mediaType) {
151
- filter.value.catalog = filterOptions == null ? void 0 : filterOptions.value.mediaType.split(",");
152
- if (filterOptions == null ? void 0 : filterOptions.value.mediaTypeStrict) {
153
- originFilter.catalog = filterOptions == null ? void 0 : filterOptions.value.mediaType.split(",");
184
+ if (result.catalog && Array.isArray(result.catalog)) {
185
+ if (result.catalog.length > 0) {
186
+ result.catalog = result.catalog.join(",");
187
+ } else {
188
+ delete result.catalog;
154
189
  }
155
190
  }
191
+ emits("change", result);
156
192
  },
157
- { immediate: true, deep: true }
193
+ { deep: true, immediate: true }
158
194
  );
159
195
  vue.onMounted(() => {
160
196
  load();
161
197
  });
162
198
  __expose({
163
- resetFilter: handleReset
199
+ filter,
200
+ handleReset
164
201
  });
165
202
  return (_ctx, _cache) => {
166
- var _a;
203
+ var _a2;
167
204
  return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
205
+ vue.createCommentVNode(" Use filterItemsRef's parentElement as the container for boundary checks "),
168
206
  vue.createElementVNode("div", _hoisted_2, [
169
- vue.createElementVNode("div", _hoisted_3, [
207
+ vue.createCommentVNode(" Filter Items Container "),
208
+ vue.createElementVNode("div", {
209
+ id: "resource-filter-pannel",
210
+ ref_key: "filterItemsRef",
211
+ ref: filterItemsRef,
212
+ class: "filter-list"
213
+ }, [
214
+ vue.createCommentVNode(" More Filters Button and Popper Panel "),
215
+ vue.createElementVNode("div", _hoisted_3, [
216
+ vue.createElementVNode("div", {
217
+ ref_key: "moreBtnRef",
218
+ ref: moreBtnRef
219
+ }, [
220
+ vue.withDirectives(vue.createVNode(vue.unref(webVue.Button), {
221
+ style: { marginRight: "10px" },
222
+ onClick: _cache[0] || (_cache[0] = vue.withModifiers(() => vue.unref(visible) ? vue.unref(hide)() : vue.unref(show)(), ["stop"]))
223
+ }, {
224
+ default: vue.withCtx(() => [
225
+ vue.createElementVNode("span", _hoisted_4, [
226
+ _cache[11] || (_cache[11] = vue.createTextVNode(" \u66F4\u591A ", -1)),
227
+ vue.createVNode(vue.unref(icon.IconCaretDown))
228
+ ])
229
+ ]),
230
+ _: 1
231
+ }, 512), [
232
+ [vue.vShow, vue.unref(hiddenElementList).length]
233
+ ])
234
+ ], 512),
235
+ vue.withDirectives(vue.createElementVNode("div", {
236
+ ref_key: "popperPanelRef",
237
+ ref: popperPanelRef,
238
+ class: "filter-pannel",
239
+ onClick: _cache[1] || (_cache[1] = vue.withModifiers(() => {
240
+ }, ["stop"]))
241
+ }, null, 512), [
242
+ [vue.vShow, vue.unref(visible)]
243
+ ])
244
+ ]),
170
245
  vue.createCommentVNode(" \u5173\u952E\u8BCD "),
171
- vue.createElementVNode("div", _hoisted_4, [
246
+ vue.createElementVNode("div", _hoisted_5, [
172
247
  vue.createVNode(vue.unref(webVue.Input), {
173
248
  modelValue: searchInput.value,
174
- "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => searchInput.value = $event),
249
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => searchInput.value = $event),
175
250
  "allow-clear": "",
176
251
  placeholder: "\u8BF7\u8F93\u5165\u5173\u952E\u8BCD"
177
252
  }, {
178
253
  prepend: vue.withCtx(() => [
179
254
  vue.createVNode(vue.unref(webVue.Dropdown), {
180
- onSelect: _cache[0] || (_cache[0] = (e) => searchType.value = e)
255
+ onSelect: _cache[2] || (_cache[2] = (e) => searchType.value = e)
181
256
  }, {
182
257
  content: vue.withCtx(() => [
183
258
  vue.createVNode(vue.unref(webVue.Doption), { value: 0 }, {
184
- default: vue.withCtx(() => _cache[7] || (_cache[7] = [
185
- vue.createTextVNode("\u7CBE\u51C6\u641C")
186
- ])),
259
+ default: vue.withCtx(() => [..._cache[12] || (_cache[12] = [
260
+ vue.createTextVNode("\u7CBE\u51C6\u641C", -1)
261
+ ])]),
187
262
  _: 1
188
263
  }),
189
264
  vue.createVNode(vue.unref(webVue.Doption), { value: 1 }, {
190
- default: vue.withCtx(() => _cache[8] || (_cache[8] = [
191
- vue.createTextVNode("\u6A21\u7CCA\u641C")
192
- ])),
265
+ default: vue.withCtx(() => [..._cache[13] || (_cache[13] = [
266
+ vue.createTextVNode("\u6A21\u7CCA\u641C", -1)
267
+ ])]),
193
268
  _: 1
194
269
  })
195
270
  ]),
@@ -207,15 +282,39 @@ const _sfc_main = vue.defineComponent({
207
282
  _: 1
208
283
  }, 8, ["modelValue"])
209
284
  ]),
285
+ vue.createCommentVNode(" \u76EE\u5F55 "),
286
+ vue.createElementVNode("div", _hoisted_6, [
287
+ vue.createVNode(vue.unref(webVue.TreeSelect), {
288
+ modelValue: filter.value.directory_id,
289
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => filter.value.directory_id = $event),
290
+ data: vue.unref(tree),
291
+ "popup-container": "#resource-filter-pannel",
292
+ placeholder: "\u8BF7\u9009\u62E9\u76EE\u5F55",
293
+ "field-names": {
294
+ title: "alias",
295
+ key: "id"
296
+ },
297
+ "allow-clear": "",
298
+ "allow-search": "",
299
+ "filter-tree-node": (searchValue, nodeData) => {
300
+ console.log(nodeData);
301
+ if (!nodeData.alias)
302
+ return false;
303
+ return nodeData.alias.toLowerCase().indexOf(searchValue.toLowerCase()) > -1;
304
+ }
305
+ }, null, 8, ["modelValue", "data", "filter-tree-node"])
306
+ ]),
210
307
  vue.createCommentVNode(" \u7D20\u6750\u7C7B\u578B "),
211
- vue.createElementVNode("div", _hoisted_5, [
308
+ vue.createElementVNode("div", _hoisted_7, [
212
309
  vue.createVNode(vue.unref(webVue.Select), {
213
310
  modelValue: filter.value.catalog,
214
- "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => filter.value.catalog = $event),
215
- disabled: (_a = vue.unref(filterOptions)) == null ? void 0 : _a.mediaTypeStrict,
311
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => filter.value.catalog = $event),
312
+ disabled: (_a2 = vue.unref(filterOptions)) == null ? void 0 : _a2.mediaTypeStrict,
313
+ "popup-container": "#resource-filter-pannel",
216
314
  "allow-clear": "",
217
315
  placeholder: "\u7C7B\u578B",
218
- multiple: ""
316
+ multiple: "",
317
+ "max-tag-count": 1
219
318
  }, {
220
319
  default: vue.withCtx(() => [
221
320
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(resourceCatalog), (item) => {
@@ -230,19 +329,22 @@ const _sfc_main = vue.defineComponent({
230
329
  }, 8, ["modelValue", "disabled"])
231
330
  ]),
232
331
  vue.createCommentVNode(" \u65F6\u95F4\u8303\u56F4 "),
233
- vue.createVNode(vue.unref(webVue.RangePicker), {
234
- modelValue: rangeTime.value,
235
- "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => rangeTime.value = $event),
236
- "allow-clear": "",
237
- style: { "width": "240px" }
238
- }, null, 8, ["modelValue"]),
332
+ vue.createElementVNode("div", _hoisted_8, [
333
+ vue.createVNode(vue.unref(webVue.RangePicker), {
334
+ modelValue: rangeTime.value,
335
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => rangeTime.value = $event),
336
+ "allow-clear": "",
337
+ "popup-container": "#resource-filter-pannel"
338
+ }, null, 8, ["modelValue"])
339
+ ]),
239
340
  vue.createCommentVNode(" \u7D20\u6750\u4E0A\u4F20\u6765\u6E90 "),
240
- vue.createElementVNode("div", _hoisted_6, [
341
+ vue.createElementVNode("div", _hoisted_9, [
241
342
  vue.createVNode(vue.unref(webVue.Select), {
242
343
  modelValue: filter.value.source,
243
- "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => filter.value.source = $event),
344
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => filter.value.source = $event),
244
345
  "allow-clear": "",
245
- placeholder: "\u6765\u6E90"
346
+ placeholder: "\u6765\u6E90",
347
+ "popup-container": "#resource-filter-pannel"
246
348
  }, {
247
349
  default: vue.withCtx(() => [
248
350
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(resourceSource), (item) => {
@@ -257,14 +359,15 @@ const _sfc_main = vue.defineComponent({
257
359
  }, 8, ["modelValue"])
258
360
  ]),
259
361
  vue.createCommentVNode(" \u7D20\u6750\u4E0A\u4F20\u4EBA "),
260
- !_ctx.disableUploadBy ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7, [
362
+ !__props.disableUploadBy ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_10, [
261
363
  vue.createVNode(vue.unref(webVue.Select), {
262
364
  modelValue: filter.value.upload_by,
263
- "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => filter.value.upload_by = $event),
365
+ "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => filter.value.upload_by = $event),
264
366
  "allow-clear": "",
265
367
  placeholder: "\u4E0A\u4F20\u4EBA",
266
368
  loading: vue.unref(loading),
267
369
  "allow-search": "",
370
+ "popup-container": "#resource-filter-pannel",
268
371
  onSearch: vue.unref(handleSearch),
269
372
  onDropdownReachBottom: vue.unref(loadMore)
270
373
  }, {
@@ -279,40 +382,64 @@ const _sfc_main = vue.defineComponent({
279
382
  ]),
280
383
  _: 1
281
384
  }, 8, ["modelValue", "loading", "onSearch", "onDropdownReachBottom"])
282
- ])) : vue.createCommentVNode("v-if", true),
283
- !isEmpty.value ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Button), {
284
- key: 1,
285
- type: "text",
286
- onClick: handleReset
385
+ ])) : vue.createCommentVNode("v-if", true)
386
+ ], 512),
387
+ vue.createElementVNode("div", _hoisted_11, [
388
+ vue.createCommentVNode(" \u91CD\u7F6E\u6309\u94AE - Wrap in filter-item to be managed by the hook "),
389
+ vue.withDirectives(vue.createElementVNode("div", _hoisted_12, [
390
+ __props.smallScreen ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Button), {
391
+ key: 0,
392
+ type: "text",
393
+ onClick: handleReset
394
+ }, {
395
+ icon: vue.withCtx(() => [
396
+ vue.createVNode(vue.unref(icon.IconRefresh))
397
+ ]),
398
+ _: 1
399
+ })) : (vue.openBlock(), vue.createBlock(vue.unref(webVue.Button), {
400
+ key: 1,
401
+ type: "text",
402
+ onClick: handleReset
403
+ }, {
404
+ default: vue.withCtx(() => [..._cache[14] || (_cache[14] = [
405
+ vue.createTextVNode(" \u91CD\u7F6E ", -1)
406
+ ])]),
407
+ _: 1
408
+ }))
409
+ ], 512), [
410
+ [vue.vShow, !isEmpty.value]
411
+ ]),
412
+ __props.smallScreen ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Button), {
413
+ key: 0,
414
+ type: "primary",
415
+ onClick: _cache[9] || (_cache[9] = ($event) => emits("upload"))
287
416
  }, {
288
- default: vue.withCtx(() => _cache[9] || (_cache[9] = [
289
- vue.createTextVNode(" \u91CD\u7F6E ")
290
- ])),
417
+ icon: vue.withCtx(() => [
418
+ vue.createVNode(vue.unref(icon.IconUpload))
419
+ ]),
291
420
  _: 1
292
- })) : vue.createCommentVNode("v-if", true)
293
- ]),
294
- vue.createElementVNode("div", _hoisted_8, [
295
- vue.createVNode(vue.unref(webVue.Button), {
421
+ })) : (vue.openBlock(), vue.createBlock(vue.unref(webVue.Button), {
422
+ key: 1,
296
423
  type: "primary",
297
- onClick: _cache[6] || (_cache[6] = ($event) => emits("upload"))
424
+ onClick: _cache[10] || (_cache[10] = ($event) => emits("upload"))
298
425
  }, {
299
426
  icon: vue.withCtx(() => [
300
427
  vue.createVNode(vue.unref(icon.IconUpload))
301
428
  ]),
302
429
  default: vue.withCtx(() => [
303
- _cache[10] || (_cache[10] = vue.createTextVNode(" \u4E0A\u4F20 "))
430
+ _cache[15] || (_cache[15] = vue.createTextVNode(" \u4E0A\u4F20 ", -1))
304
431
  ]),
305
432
  _: 1
306
- })
433
+ }))
307
434
  ])
308
435
  ]),
309
- searchInput.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_9, [
436
+ searchInput.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_13, [
310
437
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(resource.keywordsSelection), (item) => {
311
438
  return vue.openBlock(), vue.createElementBlock("div", {
312
439
  key: item.value,
313
440
  class: vue.normalizeClass(["list-filter-tag", { active: filter.value.sf === item.value }]),
314
441
  onClick: ($event) => filter.value.sf = item.value
315
- }, vue.toDisplayString(item.name), 11, _hoisted_10);
442
+ }, vue.toDisplayString(item.name), 11, _hoisted_14);
316
443
  }), 128))
317
444
  ])) : vue.createCommentVNode("v-if", true)
318
445
  ]);
@@ -4,7 +4,6 @@ var webVue = require("@arco-design/web-vue");
4
4
  var ListWraper = require("../ListWraper.js");
5
5
  var useAttachement = require("../../../../hooks/useAttachement.js");
6
6
  var Filter = require("./Filter.js");
7
- const _hoisted_1 = { class: "list-item-grid" };
8
7
  const _sfc_main = vue.defineComponent({
9
8
  __name: "index",
10
9
  props: {
@@ -28,6 +27,18 @@ const _sfc_main = vue.defineComponent({
28
27
  changeKey
29
28
  } = useAttachement["default"]({ key: props.activeKey, BASE_API });
30
29
  vue.watch(() => props.activeKey, changeKey);
30
+ const listWrapper = vue.ref(null);
31
+ const smallScreen = vue.ref(false);
32
+ vue.watch(
33
+ () => {
34
+ var _a;
35
+ return (_a = listWrapper.value) == null ? void 0 : _a.offsetWidth;
36
+ },
37
+ (val) => {
38
+ smallScreen.value = !!(val && val < 600);
39
+ },
40
+ { immediate: true }
41
+ );
31
42
  vue.onMounted(() => {
32
43
  loadData();
33
44
  });
@@ -41,9 +52,10 @@ const _sfc_main = vue.defineComponent({
41
52
  ]),
42
53
  header: vue.withCtx(() => [
43
54
  vue.createVNode(Filter, {
55
+ smallScreen: smallScreen.value,
44
56
  onChange: vue.unref(changeFilter),
45
57
  onUpload: _cache[0] || (_cache[0] = ($event) => emits("change-tab", "local"))
46
- }, null, 8, ["onChange"])
58
+ }, null, 8, ["smallScreen", "onChange"])
47
59
  ]),
48
60
  footer: vue.withCtx(() => [
49
61
  vue.createVNode(vue.unref(webVue.Pagination), {
@@ -52,22 +64,26 @@ const _sfc_main = vue.defineComponent({
52
64
  total: vue.unref(total),
53
65
  "page-size": vue.unref(limit),
54
66
  "show-total": "",
55
- "show-page-size": "",
67
+ "show-page-size": !smallScreen.value,
56
68
  "base-size": 3,
57
69
  "buffer-size": 1,
58
70
  onChange: _cache[2] || (_cache[2] = (e) => vue.unref(changePage)((e - 1) * vue.unref(limit))),
59
71
  onPageSizeChange: vue.unref(changeSize)
60
- }, null, 8, ["current", "total", "page-size", "onPageSizeChange"])
72
+ }, null, 8, ["current", "total", "page-size", "show-page-size", "onPageSizeChange"])
61
73
  ]),
62
74
  default: vue.withCtx(() => [
63
- vue.createElementVNode("div", _hoisted_1, [
75
+ vue.createElementVNode("div", {
76
+ ref_key: "listWrapper",
77
+ ref: listWrapper,
78
+ class: "list-item-grid"
79
+ }, [
64
80
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(list), (item) => {
65
81
  return vue.renderSlot(_ctx.$slots, "item", {
66
82
  key: item.id,
67
83
  item
68
84
  });
69
85
  }), 128))
70
- ])
86
+ ], 512)
71
87
  ]),
72
88
  _: 3
73
89
  }, 8, ["loading", "is-empty"]);
@@ -128,9 +128,9 @@ const _sfc_main = vue.defineComponent({
128
128
  type: "text",
129
129
  onClick: handleReset
130
130
  }, {
131
- default: vue.withCtx(() => _cache[3] || (_cache[3] = [
132
- vue.createTextVNode(" \u91CD\u7F6E ")
133
- ])),
131
+ default: vue.withCtx(() => [..._cache[3] || (_cache[3] = [
132
+ vue.createTextVNode(" \u91CD\u7F6E ", -1)
133
+ ])]),
134
134
  _: 1
135
135
  })) : vue.createCommentVNode("v-if", true)
136
136
  ])
@@ -55,10 +55,10 @@ const _sfc_main = vue.defineComponent({
55
55
  key: 0,
56
56
  class: "item-load-more",
57
57
  onClick: loadMore
58
- }, _cache[0] || (_cache[0] = [
58
+ }, [..._cache[0] || (_cache[0] = [
59
59
  vue.createElementVNode("img", { src: sys_load_more }, null, -1),
60
- vue.createTextVNode(" \u70B9\u51FB\u52A0\u8F7D\u66F4\u591A ")
61
- ]))) : vue.createCommentVNode("v-if", true)
60
+ vue.createTextVNode(" \u70B9\u51FB\u52A0\u8F7D\u66F4\u591A ", -1)
61
+ ])])) : vue.createCommentVNode("v-if", true)
62
62
  ])
63
63
  ], 2112);
64
64
  };
@@ -92,8 +92,8 @@ const _sfc_main = vue.defineComponent({
92
92
  item: vue.withCtx(({ item }) => [
93
93
  vue.renderSlot(_ctx.$slots, "item", { item })
94
94
  ]),
95
- _: 2
96
- }, 1032, ["outside-filter", "sceniro"])
95
+ _: 3
96
+ }, 8, ["outside-filter", "sceniro"])
97
97
  ], 512)), [
98
98
  [vue.vShow, [sceniro.classify_id, ""].includes(choseScen.value)]
99
99
  ]) : vue.createCommentVNode("v-if", true)
@@ -34,12 +34,12 @@ const _sfc_main = vue.defineComponent({
34
34
  vue.renderSlot(_ctx.$slots, "header")
35
35
  ])) : vue.createCommentVNode("v-if", true),
36
36
  vue.createElementVNode("div", _hoisted_3, [
37
- _ctx.loading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4, [
37
+ __props.loading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4, [
38
38
  vue.createVNode(vue.unref(webVue.Spin), {
39
39
  tip: "\u7D20\u6750\u52A0\u8F7D\u4E2D",
40
40
  loading: true
41
41
  })
42
- ])) : _ctx.isEmpty ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5, [
42
+ ])) : __props.isEmpty ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5, [
43
43
  vue.createVNode(component, { type: "empty" })
44
44
  ])) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 2 }, [
45
45
  vue.createCommentVNode(" \u5185\u5BB9\u6837\u5F0F\u4E00\uFF1A\u6805\u683C\u6837\u5F0F\uFF0C\u5916\u90E8 props \u4F20 list "),
@@ -27,7 +27,7 @@ const _sfc_main = vue.defineComponent({
27
27
  const visible = vue.ref(false);
28
28
  return (_ctx, _cache) => {
29
29
  return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
30
- _ctx.maxcount ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2, "\u6700\u591A\u9009\u62E9 " + vue.toDisplayString(_ctx.maxcount) + " \u4E2A\u7D20\u6750\uFF0C ", 1)) : vue.createCommentVNode("v-if", true),
30
+ __props.maxcount ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2, "\u6700\u591A\u9009\u62E9 " + vue.toDisplayString(__props.maxcount) + " \u4E2A\u7D20\u6750\uFF0C ", 1)) : vue.createCommentVNode("v-if", true),
31
31
  vue.createVNode(vue.unref(webVue.Popover), {
32
32
  "popup-visible": visible.value,
33
33
  "onUpdate:popupVisible": _cache[2] || (_cache[2] = ($event) => visible.value = $event),
@@ -37,7 +37,7 @@ const _sfc_main = vue.defineComponent({
37
37
  content: vue.withCtx(() => [
38
38
  vue.createCommentVNode(" header "),
39
39
  vue.createElementVNode("div", _hoisted_3, [
40
- vue.createElementVNode("div", null, "\u5DF2\u9009\u62E9 " + vue.toDisplayString(_ctx.selected.length) + " \u4E2A\u7D20\u6750", 1),
40
+ vue.createElementVNode("div", null, "\u5DF2\u9009\u62E9 " + vue.toDisplayString(__props.selected.length) + " \u4E2A\u7D20\u6750", 1),
41
41
  vue.createElementVNode("div", _hoisted_4, [
42
42
  vue.createElementVNode("div", {
43
43
  onClick: _cache[0] || (_cache[0] = ($event) => emits("clear"))
@@ -51,7 +51,7 @@ const _sfc_main = vue.defineComponent({
51
51
  ]),
52
52
  vue.createCommentVNode(" content "),
53
53
  vue.createElementVNode("div", _hoisted_5, [
54
- (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.selected, (item) => {
54
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.selected, (item) => {
55
55
  return vue.openBlock(), vue.createElementBlock("div", {
56
56
  key: item.id,
57
57
  class: "list-selected-item"
@@ -84,8 +84,8 @@ const _sfc_main = vue.defineComponent({
84
84
  icon: vue.withCtx(() => [
85
85
  vue.createVNode(vue.unref(icon.IconClose))
86
86
  ]),
87
- _: 2
88
- }, 1032, ["onClick"])
87
+ _: 1
88
+ }, 8, ["onClick"])
89
89
  ]);
90
90
  }), 128))
91
91
  ])
@@ -93,7 +93,7 @@ const _sfc_main = vue.defineComponent({
93
93
  default: vue.withCtx(() => [
94
94
  vue.createVNode(vue.unref(webVue.Link), null, {
95
95
  default: vue.withCtx(() => [
96
- vue.createTextVNode("\u5DF2\u9009\u62E9 " + vue.toDisplayString(_ctx.selected.length) + " \u4E2A\u7D20\u6750", 1)
96
+ vue.createTextVNode("\u5DF2\u9009\u62E9 " + vue.toDisplayString(__props.selected.length) + " \u4E2A\u7D20\u6750", 1)
97
97
  ]),
98
98
  _: 1
99
99
  })
@@ -41,7 +41,7 @@ const _sfc_main = vue.defineComponent({
41
41
  })) : vue.createCommentVNode("v-if", true)
42
42
  ]),
43
43
  default: vue.withCtx(() => [
44
- (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.tabList, (tab) => {
44
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.tabList, (tab) => {
45
45
  return vue.openBlock(), vue.createBlock(vue.unref(webVue.TabPane), {
46
46
  key: tab.key,
47
47
  title: tab.title