@cmstops/pro-compo 3.9.1-rc.10 → 3.9.1-rc.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (331) hide show
  1. package/README.md +134 -134
  2. package/dist/index.min.js.map +1 -1
  3. package/es/appCenter/component.d.ts +0 -0
  4. package/es/appCenter/index.d.ts +2 -0
  5. package/es/appCenter/script/api.d.ts +11 -0
  6. package/es/appCenter/script/apps.d.ts +14 -0
  7. package/es/appCenter/script/permissionMap.d.ts +6 -0
  8. package/es/appCenter/script/routeMap.d.ts +4 -0
  9. package/es/appCenter/style/index.d.ts +1 -0
  10. package/es/baseFilter/component.d.ts +0 -0
  11. package/es/baseFilter/components/FilterGroup.d.ts +0 -0
  12. package/es/baseFilter/components/filterItem.d.ts +0 -0
  13. package/es/baseFilter/index.d.ts +2 -0
  14. package/es/baseFilter/style/index.d.ts +1 -0
  15. package/es/baseFilter/useCalcWidth.d.ts +16 -0
  16. package/es/colorPalette/component.d.ts +0 -0
  17. package/es/colorPalette/components/colorPicker.d.ts +0 -0
  18. package/es/colorPalette/index.d.ts +2 -0
  19. package/es/colorPalette/style/index.d.ts +1 -0
  20. package/es/components.d.ts +5 -0
  21. package/es/config.d.ts +4 -0
  22. package/es/contentDetailList/__demo__/matrix/platform.d.ts +36 -0
  23. package/es/contentDetailList/component.d.ts +0 -0
  24. package/es/contentDetailList/components/Content/CompoItem/index.d.ts +0 -0
  25. package/es/contentDetailList/components/Content/ContentListItem/index.d.ts +0 -0
  26. package/es/contentDetailList/components/Content/DocItem/ApprovalStateMap/index.d.ts +0 -0
  27. package/es/contentDetailList/components/Content/DocItem/index.d.ts +0 -0
  28. package/es/contentDetailList/components/Content/DocMpItem/index.d.ts +0 -0
  29. package/es/contentDetailList/components/Content/GroupPieceItem/index.d.ts +0 -0
  30. package/es/contentDetailList/components/Content/KongoNavItem/index.d.ts +0 -0
  31. package/es/contentDetailList/components/Content/LiveItem/index.d.ts +0 -0
  32. package/es/contentDetailList/components/Content/MaccountItem/index.d.ts +0 -0
  33. package/es/contentDetailList/components/Content/courseItem/index.d.ts +0 -0
  34. package/es/contentDetailList/components/Content/funhdItem/index.d.ts +0 -0
  35. package/es/contentDetailList/components/Content/index.d.ts +0 -0
  36. package/es/contentDetailList/components/CustomWrp/CustomItem.d.ts +0 -0
  37. package/es/contentDetailList/components/CustomWrp/index.d.ts +0 -0
  38. package/es/contentDetailList/components/Doc/index.d.ts +0 -0
  39. package/es/contentDetailList/components/Records/MatrixItem/index.d.ts +0 -0
  40. package/es/contentDetailList/components/Records/index.d.ts +0 -0
  41. package/es/contentDetailList/components/ShowQRCode/QrcodeView/index.d.ts +0 -0
  42. package/es/contentDetailList/components/ShowQRCode/QrcodeView/index.js +2 -4
  43. package/es/contentDetailList/components/ShowQRCode/index.d.ts +0 -0
  44. package/es/contentDetailList/index.d.ts +2 -0
  45. package/es/contentDetailList/script/api.d.ts +6 -0
  46. package/es/contentDetailList/style/index.d.ts +1 -0
  47. package/es/contentModal/component.d.ts +0 -0
  48. package/es/contentModal/component.js +8 -16
  49. package/es/contentModal/components/CompoList/CompoFilter/index.d.ts +0 -0
  50. package/es/contentModal/components/CompoList/index.d.ts +0 -0
  51. package/es/contentModal/components/ContentList/MediaFilter/index.d.ts +0 -0
  52. package/es/contentModal/components/ContentList/index.d.ts +0 -0
  53. package/es/contentModal/components/Dejin/MediaFilter/index.d.ts +0 -0
  54. package/es/contentModal/components/Dejin/index.d.ts +0 -0
  55. package/es/contentModal/components/EqxiuList/MediaFilter/index.d.ts +0 -0
  56. package/es/contentModal/components/EqxiuList/index.d.ts +0 -0
  57. package/es/contentModal/components/LiveList/MediaFilter/index.d.ts +0 -0
  58. package/es/contentModal/components/LiveList/index.d.ts +0 -0
  59. package/es/contentModal/components/MpAccountList/MpAccountFilter/index.d.ts +0 -0
  60. package/es/contentModal/components/MpAccountList/index.d.ts +0 -0
  61. package/es/contentModal/components/MpContentList/MediaFilter/index.d.ts +0 -0
  62. package/es/contentModal/components/MpContentList/index.d.ts +0 -0
  63. package/es/contentModal/components/ViewAllColumn/MediaFilter/index.d.ts +0 -0
  64. package/es/contentModal/components/ViewAllColumn/MediaFilter/index.js +1 -2
  65. package/es/contentModal/components/ViewAllColumn/columnTree/index.d.ts +0 -0
  66. package/es/contentModal/components/ViewAllColumn/index.d.ts +0 -0
  67. package/es/contentModal/components/storeBox/index.d.ts +0 -0
  68. package/es/contentModal/components/storeBox/index.js +2 -4
  69. package/es/contentModal/index.d.ts +2 -0
  70. package/es/contentModal/script/api.d.ts +18 -0
  71. package/es/contentModal/style/index.d.ts +1 -0
  72. package/es/dataTags/component.d.ts +0 -0
  73. package/es/dataTags/component.js +5 -10
  74. package/es/dataTags/index.d.ts +2 -0
  75. package/es/dataTags/style/index.d.ts +1 -0
  76. package/es/docHistory/component.d.ts +0 -0
  77. package/es/docHistory/component.js +1 -2
  78. package/es/docHistory/components/DocDiffPanel/index.d.ts +0 -0
  79. package/es/docHistory/components/DocHistoryList/index.d.ts +0 -0
  80. package/es/docHistory/index.d.ts +2 -0
  81. package/es/docHistory/scripts/diff.d.ts +1 -0
  82. package/es/docHistory/scripts/useDocHistory.d.ts +10 -0
  83. package/es/docHistory/style/index.d.ts +1 -0
  84. package/es/docHistory/style/index.less +37 -37
  85. package/es/docPreview/component.d.ts +0 -0
  86. package/es/docPreview/component.js +5 -10
  87. package/es/docPreview/components/PreviewIframe.d.ts +0 -0
  88. package/es/docPreview/index.d.ts +2 -0
  89. package/es/docPreview/scripts/api.d.ts +1 -0
  90. package/es/docPreview/scripts/hook.d.ts +33 -0
  91. package/es/docPreview/style/index.d.ts +1 -0
  92. package/es/editMetaInfo/component.d.ts +0 -0
  93. package/es/editMetaInfo/components/metaInfoForm.d.ts +0 -0
  94. package/es/editMetaInfo/components/metaInfoForm.js +2 -4
  95. package/es/editMetaInfo/index.d.ts +2 -0
  96. package/es/editMetaInfo/script/api.d.ts +6 -0
  97. package/es/editMetaInfo/script/restaurants.d.ts +4 -0
  98. package/es/editMetaInfo/style/index.d.ts +1 -0
  99. package/es/emptyData/component.d.ts +0 -0
  100. package/es/emptyData/index.d.ts +2 -0
  101. package/es/emptyData/style/index.d.ts +1 -0
  102. package/es/emptyData/svg/add.d.ts +0 -0
  103. package/es/hooks/assets.d.ts +1 -0
  104. package/es/hooks/batch.d.ts +8 -0
  105. package/es/hooks/dialogVisible.d.ts +8 -0
  106. package/es/hooks/source.d.ts +9 -0
  107. package/es/hooks/toggle.d.ts +6 -0
  108. package/es/hooks/useAttachement.d.ts +53 -0
  109. package/es/hooks/useLocalStorage.d.ts +10 -0
  110. package/es/hooks/useMediaContext.d.ts +12 -0
  111. package/es/hooks/usePopper.d.ts +8 -0
  112. package/es/hooks/useSelection.d.ts +30 -0
  113. package/es/hooks/useUpload.d.ts +78 -0
  114. package/es/hooks/user.d.ts +9 -0
  115. package/es/imageCrop/component.d.ts +0 -0
  116. package/es/imageCrop/component.js +2 -4
  117. package/es/imageCrop/index.d.ts +2 -0
  118. package/es/imageCrop/script/api.d.ts +1 -0
  119. package/es/imageCrop/style/index.d.ts +1 -0
  120. package/es/importData/component.d.ts +0 -0
  121. package/es/importData/component.js +3 -6
  122. package/es/importData/index.d.ts +2 -0
  123. package/es/importData/style/index.d.ts +1 -0
  124. package/es/index.d.ts +31 -0
  125. package/es/index.js +1 -0
  126. package/es/mediaFilter/component.d.ts +0 -0
  127. package/es/mediaFilter/components/DocFilter.d.ts +0 -0
  128. package/es/mediaFilter/components/DocFilter.js +1 -2
  129. package/es/mediaFilter/components/FilterGroup.d.ts +0 -0
  130. package/es/mediaFilter/components/FilterItem.d.ts +0 -0
  131. package/es/mediaFilter/components/MpAccountFilter.d.ts +0 -0
  132. package/es/mediaFilter/components/MpContentFilter.d.ts +0 -0
  133. package/es/mediaFilter/index.d.ts +3 -0
  134. package/es/mediaFilter/script/optionsGetter.d.ts +26 -0
  135. package/es/mediaFilter/script/types.d.ts +16 -0
  136. package/es/mediaFilter/style/index.d.ts +1 -0
  137. package/es/mediaView/component.d.ts +0 -0
  138. package/es/mediaView/index.d.ts +2 -0
  139. package/es/mediaView/style/index.d.ts +1 -0
  140. package/es/messageBox/component.d.ts +0 -0
  141. package/es/messageBox/index.d.ts +2 -0
  142. package/es/messageBox/list.d.ts +0 -0
  143. package/es/messageBox/script/api.d.ts +6 -0
  144. package/es/messageBox/style/index.d.ts +1 -0
  145. package/es/previousVersion/component.d.ts +0 -0
  146. package/es/previousVersion/index.d.ts +2 -0
  147. package/es/previousVersion/script/api.d.ts +15 -0
  148. package/es/previousVersion/script/tool.d.ts +6 -0
  149. package/es/previousVersion/style/index.d.ts +1 -0
  150. package/es/resourceGridList/component.d.ts +0 -0
  151. package/es/resourceGridList/component.js +2 -4
  152. package/es/resourceGridList/components/FileTypeThumb/index.d.ts +0 -0
  153. package/es/resourceGridList/index.d.ts +2 -0
  154. package/es/resourceGridList/style/index.d.ts +1 -0
  155. package/es/resourceModal/component.d.ts +0 -0
  156. package/es/resourceModal/components/MediaPreviewer/index.d.ts +0 -0
  157. package/es/resourceModal/components/MediaSelection/DocAiMediaSelected/index.d.ts +0 -0
  158. package/es/resourceModal/components/MediaSelection/DocAiMediaSelected/index.js +1 -2
  159. package/es/resourceModal/components/MediaSelection/MainContent/FileTypeThumb/index.d.ts +0 -0
  160. package/es/resourceModal/components/MediaSelection/MainContent/index.d.ts +0 -0
  161. package/es/resourceModal/components/MediaSelection/MainContent/index.js +2 -4
  162. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.d.ts +0 -0
  163. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.d.ts +0 -0
  164. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/index.d.ts +0 -0
  165. package/es/resourceModal/components/MediaSelection/ToolbarSearch/index.d.ts +0 -0
  166. package/es/resourceModal/components/MediaSelection/index.d.ts +0 -0
  167. package/es/resourceModal/index.d.ts +2 -0
  168. package/es/resourceModal/script/api.d.ts +25 -0
  169. package/es/resourceModal/script/mediaSelection.d.ts +14 -0
  170. package/es/resourceModal/style/index.d.ts +1 -0
  171. package/es/selectAddTo/component.d.ts +0 -0
  172. package/es/selectAddTo/component.js +125 -0
  173. package/es/selectAddTo/component.vue_vue_type_style_index_0_scoped_true_lang.js +2 -0
  174. package/es/selectAddTo/components/ViewAllColumn/MediaFilter/index.d.ts +0 -0
  175. package/es/selectAddTo/components/ViewAllColumn/MediaFilter/index.js +169 -0
  176. package/es/selectAddTo/components/ViewAllColumn/columnTree/index.d.ts +0 -0
  177. package/es/selectAddTo/components/ViewAllColumn/index.d.ts +0 -0
  178. package/es/selectAddTo/components/ViewAllColumn/index.js +209 -0
  179. package/es/selectAddTo/components/ViewAllColumn/index.vue_vue_type_style_index_0_scoped_true_lang.js +2 -0
  180. package/es/selectAddTo/components/ViewAllColumn/script/useTableColumns.js +78 -0
  181. package/es/selectAddTo/components/ViewAllColumn/script/useViewAllColumnState.d.ts +144 -0
  182. package/es/selectAddTo/components/ViewAllColumn/script/useViewAllColumnState.js +193 -0
  183. package/es/selectAddTo/components/ViewAllColumn/types/index.d.ts +59 -0
  184. package/es/selectAddTo/index.d.ts +2 -0
  185. package/es/selectAddTo/index.js +7 -0
  186. package/es/selectAddTo/script/api.d.ts +18 -0
  187. package/es/selectAddTo/script/api.js +30 -0
  188. package/es/selectAddTo/script/index.d.ts +2 -0
  189. package/es/selectAddTo/script/useSelectAddToState.d.ts +21 -0
  190. package/es/selectAddTo/script/useSelectAddToState.js +106 -0
  191. package/es/selectAddTo/style/css.js +1 -0
  192. package/es/selectAddTo/style/index.css +3 -0
  193. package/es/selectAddTo/style/index.d.ts +1 -0
  194. package/es/selectAddTo/style/index.js +1 -0
  195. package/es/selectAddTo/style/index.less +3 -0
  196. package/es/selectAddTo/types/index.d.ts +42 -0
  197. package/es/selectAvatarList/component.d.ts +0 -0
  198. package/es/selectAvatarList/index.d.ts +2 -0
  199. package/es/selectAvatarList/style/index.d.ts +1 -0
  200. package/es/selectGategory/component.d.ts +0 -0
  201. package/es/selectGategory/components/ColumnSelection/index.d.ts +0 -0
  202. package/es/selectGategory/index.d.ts +2 -0
  203. package/es/selectGategory/script/api.d.ts +6 -0
  204. package/es/selectGategory/style/index.d.ts +1 -0
  205. package/es/selectResourceModal/__demo__/module/DivWrapper.d.ts +268 -0
  206. package/es/selectResourceModal/__demo__/module/basic.d.ts +299 -0
  207. package/es/selectResourceModal/component.d.ts +0 -0
  208. package/es/selectResourceModal/component.js +5 -10
  209. package/es/selectResourceModal/components/List/ListAi/index.d.ts +0 -0
  210. package/es/selectResourceModal/components/List/ListCardWrapper.d.ts +0 -0
  211. package/es/selectResourceModal/components/List/ListLocal/Upload.d.ts +0 -0
  212. package/es/selectResourceModal/components/List/ListLocal/Upload.js +1 -2
  213. package/es/selectResourceModal/components/List/ListLocal/index.d.ts +0 -0
  214. package/es/selectResourceModal/components/List/ListLocal/index.js +1 -1
  215. package/es/selectResourceModal/components/List/ListNormal/Filter.d.ts +0 -0
  216. package/es/selectResourceModal/components/List/ListNormal/Filter.js +4 -8
  217. package/es/selectResourceModal/components/List/ListNormal/index.d.ts +0 -0
  218. package/es/selectResourceModal/components/List/ListSystem/Filter.d.ts +0 -0
  219. package/es/selectResourceModal/components/List/ListSystem/Filter.js +1 -2
  220. package/es/selectResourceModal/components/List/ListSystem/SubList.d.ts +0 -0
  221. package/es/selectResourceModal/components/List/ListSystem/index.d.ts +0 -0
  222. package/es/selectResourceModal/components/List/ListVideo/index.d.ts +0 -0
  223. package/es/selectResourceModal/components/List/ListWraper.d.ts +0 -0
  224. package/es/selectResourceModal/components/ListSelected/index.d.ts +0 -0
  225. package/es/selectResourceModal/components/ListTabs/index.d.ts +0 -0
  226. package/es/selectResourceModal/hooks/useResponsiveFilter.d.ts +21 -0
  227. package/es/selectResourceModal/index.d.ts +2 -0
  228. package/es/selectResourceModal/scripts/selectionApis.d.ts +2 -0
  229. package/es/selectResourceModal/scripts/useCompoLf.d.ts +27 -0
  230. package/es/selectResourceModal/scripts/useResourceSelect.d.ts +7 -0
  231. package/es/selectResourceModal/scripts/useTabFilter.d.ts +22 -0
  232. package/es/selectResourceModal/style/index.d.ts +1 -0
  233. package/es/selectResourceModal/style/index.less +55 -55
  234. package/es/selectResourceModal/style/list.less +203 -203
  235. package/es/selectThumb/component.d.ts +0 -0
  236. package/es/selectThumb/components/card.d.ts +0 -0
  237. package/es/selectThumb/components/colorPalette.d.ts +0 -0
  238. package/es/selectThumb/components/colorPicker.d.ts +0 -0
  239. package/es/selectThumb/index.d.ts +2 -0
  240. package/es/selectThumb/style/index.d.ts +1 -0
  241. package/es/style.css +57 -0
  242. package/es/thumbCard/component.d.ts +0 -0
  243. package/es/thumbCard/components/ThumbUploading/index.d.ts +0 -0
  244. package/es/thumbCard/index.d.ts +2 -0
  245. package/es/thumbCard/style/index.d.ts +1 -0
  246. package/es/typeIcons/component.d.ts +0 -0
  247. package/es/typeIcons/component.js +1 -1
  248. package/es/typeIcons/index.d.ts +2 -0
  249. package/es/typeIcons/style/index.d.ts +1 -0
  250. package/es/uploadBefore/component.d.ts +0 -0
  251. package/es/uploadBefore/components/UploadBefore.d.ts +0 -0
  252. package/es/uploadBefore/components/UploadForClick.d.ts +0 -0
  253. package/es/uploadBefore/index.d.ts +2 -0
  254. package/es/uploadBefore/script/api.d.ts +16 -0
  255. package/es/uploadBefore/script/fileTypeAdapter.d.ts +39 -0
  256. package/es/uploadBefore/script/fileUpload.d.ts +7 -0
  257. package/es/uploadBefore/script/uploadHooks.d.ts +96 -0
  258. package/es/uploadBefore/style/index.d.ts +1 -0
  259. package/es/uploadBefore/utils/dragUploadEvent.d.ts +0 -0
  260. package/es/uploadStep/component.d.ts +0 -0
  261. package/es/uploadStep/index.d.ts +2 -0
  262. package/es/uploadStep/script/fileTypeAdapter.d.ts +20 -0
  263. package/es/uploadStep/style/index.d.ts +1 -0
  264. package/es/userAvater/component.d.ts +0 -0
  265. package/es/userAvater/component.js +1 -2
  266. package/es/userAvater/index.d.ts +2 -0
  267. package/es/userAvater/script/api.d.ts +8 -0
  268. package/es/userAvater/style/index.d.ts +1 -0
  269. package/es/userDirector/component.d.ts +0 -0
  270. package/es/userDirector/component.js +1 -2
  271. package/es/userDirector/components/userTree.d.ts +0 -0
  272. package/es/userDirector/index.d.ts +2 -0
  273. package/es/userDirector/script/api.d.ts +10 -0
  274. package/es/userDirector/style/index.d.ts +1 -0
  275. package/es/utils/auth.d.ts +5 -0
  276. package/es/utils/date.d.ts +3 -0
  277. package/es/utils/doc.d.ts +76 -0
  278. package/es/utils/filter.d.ts +21 -0
  279. package/es/utils/index.d.ts +17 -0
  280. package/es/utils/request.d.ts +9 -0
  281. package/es/utils/resource.d.ts +4 -0
  282. package/es/utils/transcodeMedia.d.ts +13 -0
  283. package/es/utils/tusUpload.d.ts +16 -0
  284. package/es/utils/typeMap.d.ts +185 -0
  285. package/es/utils/uploadCatalog.d.ts +1 -0
  286. package/es/videoThumb/component.d.ts +0 -0
  287. package/es/videoThumb/index.d.ts +2 -0
  288. package/es/videoThumb/scripts/api.d.ts +9 -0
  289. package/es/videoThumb/scripts/useVideoThumbs.d.ts +12 -0
  290. package/es/videoThumb/style/index.d.ts +1 -0
  291. package/lib/contentDetailList/components/ShowQRCode/QrcodeView/index.js +2 -4
  292. package/lib/contentModal/component.js +8 -16
  293. package/lib/contentModal/components/ViewAllColumn/MediaFilter/index.js +1 -2
  294. package/lib/contentModal/components/storeBox/index.js +2 -4
  295. package/lib/dataTags/component.js +5 -10
  296. package/lib/docHistory/component.js +1 -2
  297. package/lib/docHistory/style/index.less +37 -37
  298. package/lib/docPreview/component.js +5 -10
  299. package/lib/editMetaInfo/components/metaInfoForm.js +2 -4
  300. package/lib/imageCrop/component.js +2 -4
  301. package/lib/importData/component.js +3 -6
  302. package/lib/index.js +2 -0
  303. package/lib/mediaFilter/components/DocFilter.js +1 -2
  304. package/lib/resourceGridList/component.js +2 -4
  305. package/lib/resourceModal/components/MediaSelection/DocAiMediaSelected/index.js +1 -2
  306. package/lib/resourceModal/components/MediaSelection/MainContent/index.js +2 -4
  307. package/lib/selectAddTo/component.js +126 -0
  308. package/lib/selectAddTo/component.vue_vue_type_style_index_0_scoped_true_lang.js +3 -0
  309. package/lib/selectAddTo/components/ViewAllColumn/MediaFilter/index.js +170 -0
  310. package/lib/selectAddTo/components/ViewAllColumn/index.js +210 -0
  311. package/lib/selectAddTo/components/ViewAllColumn/index.vue_vue_type_style_index_0_scoped_true_lang.js +3 -0
  312. package/lib/selectAddTo/components/ViewAllColumn/script/useTableColumns.js +80 -0
  313. package/lib/selectAddTo/components/ViewAllColumn/script/useViewAllColumnState.js +195 -0
  314. package/lib/selectAddTo/index.js +8 -0
  315. package/lib/selectAddTo/script/api.js +35 -0
  316. package/lib/selectAddTo/script/useSelectAddToState.js +108 -0
  317. package/lib/selectAddTo/style/css.js +2 -0
  318. package/lib/selectAddTo/style/index.css +3 -0
  319. package/lib/selectAddTo/style/index.js +2 -0
  320. package/lib/selectAddTo/style/index.less +3 -0
  321. package/lib/selectResourceModal/component.js +5 -10
  322. package/lib/selectResourceModal/components/List/ListLocal/Upload.js +1 -2
  323. package/lib/selectResourceModal/components/List/ListLocal/index.js +1 -1
  324. package/lib/selectResourceModal/components/List/ListNormal/Filter.js +4 -8
  325. package/lib/selectResourceModal/components/List/ListSystem/Filter.js +1 -2
  326. package/lib/selectResourceModal/style/index.less +55 -55
  327. package/lib/selectResourceModal/style/list.less +203 -203
  328. package/lib/typeIcons/component.js +1 -1
  329. package/lib/userAvater/component.js +1 -2
  330. package/lib/userDirector/component.js +1 -2
  331. package/package.json +138 -138
@@ -178,8 +178,7 @@ const _sfc_main = vue.defineComponent({
178
178
  vue.createElementVNode("div", { class: "transcoding-progress" }, "\u8F6C\u7801\u4E2D\u2026")
179
179
  ], -1)
180
180
  ])),
181
- _: 1,
182
- __: [1]
181
+ _: 1
183
182
  })) : vue.createCommentVNode("v-if", true)
184
183
  ], 2)
185
184
  ]);
@@ -196,8 +195,7 @@ const _sfc_main = vue.defineComponent({
196
195
  default: vue.withCtx(() => _cache[2] || (_cache[2] = [
197
196
  vue.createTextVNode("\u52A0\u8F7D\u66F4\u591A\u2026 ")
198
197
  ])),
199
- _: 1,
200
- __: [2]
198
+ _: 1
201
199
  }, 8, ["onClick"])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_13, "\u6CA1\u6709\u66F4\u591A\u4E86\u2026"))
202
200
  ])) : vue.createCommentVNode("v-if", true),
203
201
  !_ctx.fileList.length && !_ctx.folderList.length ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_14, _cache[3] || (_cache[3] = [
@@ -0,0 +1,126 @@
1
+ "use strict";
2
+ var vue = require("vue");
3
+ var webVue = require("@arco-design/web-vue");
4
+ var index = require("./components/ViewAllColumn/index.js");
5
+ require("../typeIcons/style/index.js");
6
+ var useSelectAddToState = require("./script/useSelectAddToState.js");
7
+ require("./component.vue_vue_type_style_index_0_scoped_true_lang.js");
8
+ var pluginVue_exportHelper = require("../_virtual/plugin-vue_export-helper.js");
9
+ const _sfc_main = vue.defineComponent({
10
+ ...{ name: "selectAddTo" },
11
+ __name: "component",
12
+ props: {
13
+ BASE_API: {},
14
+ visible: { type: Boolean },
15
+ title: {},
16
+ outsideSelectData: {},
17
+ defaultSelectedData: {},
18
+ maxSelect: {},
19
+ typeData: {},
20
+ userStore: {},
21
+ compoFilter: { type: Boolean, default: false },
22
+ typeKey: {},
23
+ rid: {}
24
+ },
25
+ emits: ["update:visible", "comfirm"],
26
+ setup(__props, { emit: __emit }) {
27
+ const emit = __emit;
28
+ const props = __props;
29
+ const {
30
+ visible,
31
+ title,
32
+ selectedData,
33
+ hasSelected,
34
+ typeDataController,
35
+ userInfo,
36
+ handleOk,
37
+ handleCancel,
38
+ comfirm,
39
+ HandleOpen,
40
+ HandleClose,
41
+ tabsChange,
42
+ selectedDataChangeHandle,
43
+ loadConfig,
44
+ getUserInfoHandle
45
+ } = useSelectAddToState.useSelectAddToState(props, emit);
46
+ vue.onMounted(() => {
47
+ if (props.userStore) {
48
+ userInfo.value = { BASE_API: props.BASE_API, ...props.userStore };
49
+ } else {
50
+ getUserInfoHandle();
51
+ }
52
+ loadConfig();
53
+ });
54
+ return (_ctx, _cache) => {
55
+ const _component_storeBox = vue.resolveComponent("storeBox");
56
+ return vue.openBlock(), vue.createBlock(vue.unref(webVue.Modal), {
57
+ footer: false,
58
+ "mask-closable": false,
59
+ visible: vue.unref(visible),
60
+ "body-class": "add-content-modal-body",
61
+ "modal-class": "add-content-modal-wrapper",
62
+ "title-align": "start",
63
+ "unmount-on-close": "",
64
+ width: "1020px",
65
+ onCancel: vue.unref(handleCancel),
66
+ onClose: vue.unref(HandleClose),
67
+ onOk: vue.unref(handleOk),
68
+ onOpen: vue.unref(HandleOpen)
69
+ }, {
70
+ title: vue.withCtx(() => [
71
+ vue.createTextVNode(vue.toDisplayString(vue.unref(title)), 1)
72
+ ]),
73
+ default: vue.withCtx(() => [
74
+ vue.createVNode(vue.unref(webVue.Tabs), {
75
+ class: "content-tabs",
76
+ justify: "",
77
+ "lazy-load": "",
78
+ onTabClick: vue.unref(tabsChange)
79
+ }, {
80
+ default: vue.withCtx(() => {
81
+ var _a, _b;
82
+ return [
83
+ _ctx.rid ? (vue.openBlock(), vue.createBlock(index, {
84
+ key: 0,
85
+ rid: _ctx.rid,
86
+ "default-selected-data": vue.unref(selectedData),
87
+ "max-select": _ctx.maxSelect,
88
+ "user-info": vue.unref(userInfo),
89
+ "type-key": _ctx.typeKey || "",
90
+ "type-data": vue.unref(typeDataController),
91
+ series: ((_a = vue.unref(typeDataController)) == null ? void 0 : _a.docSeries) || "all",
92
+ banner: ((_b = vue.unref(typeDataController)) == null ? void 0 : _b.docBanner) || "all",
93
+ onChange: vue.unref(selectedDataChangeHandle)
94
+ }, {
95
+ store: vue.withCtx(() => [
96
+ vue.createVNode(_component_storeBox, {
97
+ selectData: vue.unref(selectedData),
98
+ "onUpdate:selectData": _cache[0] || (_cache[0] = ($event) => vue.isRef(selectedData) ? selectedData.value = $event : null)
99
+ }, null, 8, ["selectData"])
100
+ ]),
101
+ options: vue.withCtx(() => [
102
+ vue.createVNode(vue.unref(webVue.Button), {
103
+ disabled: !vue.unref(hasSelected),
104
+ type: "primary",
105
+ onClick: vue.unref(comfirm)
106
+ }, {
107
+ default: vue.withCtx(() => _cache[1] || (_cache[1] = [
108
+ vue.createTextVNode(" \u6DFB\u52A0 ")
109
+ ])),
110
+ _: 1
111
+ }, 8, ["disabled", "onClick"])
112
+ ]),
113
+ _: 1
114
+ }, 8, ["rid", "default-selected-data", "max-select", "user-info", "type-key", "type-data", "series", "banner", "onChange"])) : vue.createCommentVNode("v-if", true)
115
+ ];
116
+ }),
117
+ _: 1
118
+ }, 8, ["onTabClick"])
119
+ ]),
120
+ _: 1
121
+ }, 8, ["visible", "onCancel", "onClose", "onOk", "onOpen"]);
122
+ };
123
+ }
124
+ });
125
+ var _selectAddTo = /* @__PURE__ */ pluginVue_exportHelper(_sfc_main, [["__scopeId", "data-v-4e1a01f6"]]);
126
+ module.exports = _selectAddTo;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ var component_vue_vue_type_style_index_0_scoped_true_lang = "";
3
+ module.exports = component_vue_vue_type_style_index_0_scoped_true_lang;
@@ -0,0 +1,170 @@
1
+ "use strict";
2
+ var vue = require("vue");
3
+ var webVue = require("@arco-design/web-vue");
4
+ var icon = require("@arco-design/web-vue/es/icon");
5
+ const _hoisted_1 = { class: "media-filter-container" };
6
+ const _hoisted_2 = { style: { "display": "flex", "align-items": "center", "gap": "5px" } };
7
+ const _hoisted_3 = {
8
+ key: 0,
9
+ class: "sort-button"
10
+ };
11
+ const _sfc_main = vue.defineComponent({
12
+ ...{ name: "MediaFilter" },
13
+ __name: "index",
14
+ props: {
15
+ groupId: {},
16
+ tree: { default: () => [] },
17
+ series: { default: "all" },
18
+ banner: { default: "all" },
19
+ height: {},
20
+ userInfo: {},
21
+ typeKey: {}
22
+ },
23
+ emits: ["update:group_id", "search"],
24
+ setup(__props, { emit: __emit }) {
25
+ const props = __props;
26
+ const column_id = vue.ref("all");
27
+ const emit = __emit;
28
+ const filter = vue.ref({
29
+ keywords: "",
30
+ type: "",
31
+ cover_type: "",
32
+ banner: "",
33
+ sort: -1,
34
+ order: "create_time",
35
+ wordState: "precision"
36
+ });
37
+ const wordStateOptions = [
38
+ {
39
+ value: "precision",
40
+ label: "\u7CBE\u51C6\u641C",
41
+ desc: "\u4F1A\u4EE5\u8F93\u5165\u7684\u5B8C\u6574\u5173\u952E\u8BCD\u201C\u6210\u957F\u201D\u8FDB\u884C\u641C\u7D22\uFF0C\u641C\u7D22\u7ED3\u679C\u5173\u8054\u6027\u66F4\u9AD8\uFF0C\u4F46\u641C\u7D22\u7ED3\u679C\u66F4\u5C11"
42
+ },
43
+ {
44
+ value: "blur",
45
+ label: "\u6A21\u7CCA\u641C",
46
+ desc: "\u4F1A\u5C06\u8F93\u5165\u5185\u5BB9\u5206\u8BCD\uFF0C\u4F8B\u5982\u201C\u6210\u957F\u201D\u4F1A\u5206\u4E3A\u201C\u6210\u201D\u3001\u201C\u957F\u201D\u3001\u201C\u6210\u957F\u201D\uFF0C\u5185\u5BB9\u5305\u542B\u4E09\u4E2A\u8BCD\u4E2D\u4EFB\u610F\u4E00\u4E2A\u5747\u4F1A\u663E\u793A\u51FA\u6765\uFF0C\u641C\u7D22\u5185\u5BB9\u66F4\u52A0\u4E30\u5BCC"
47
+ }
48
+ ];
49
+ const sortMethodOptions = vue.computed(() => {
50
+ return [
51
+ { value: "pub_time", label: "\u53D1\u5E03\u65F6\u95F4" },
52
+ { value: "create_time", label: "\u521B\u5EFA\u65F6\u95F4" }
53
+ ];
54
+ });
55
+ const checkout = (type) => {
56
+ filter.value.wordState = type;
57
+ };
58
+ const handleSearch = () => {
59
+ const params = JSON.parse(JSON.stringify(filter.value));
60
+ if (filter.value.wordState === "precision") {
61
+ params.precise_kw = params.keywords;
62
+ delete params.keywords;
63
+ }
64
+ delete params.wordState;
65
+ emit("search", params);
66
+ };
67
+ vue.watch(
68
+ () => filter.value,
69
+ () => {
70
+ handleSearch();
71
+ },
72
+ { deep: true }
73
+ );
74
+ vue.watch(
75
+ () => props.groupId,
76
+ (val) => {
77
+ column_id.value = val;
78
+ }
79
+ );
80
+ vue.watch(
81
+ () => props.banner,
82
+ (val) => {
83
+ filter.value.banner = val === "all" ? "" : val;
84
+ },
85
+ { immediate: true }
86
+ );
87
+ vue.watch(
88
+ () => column_id.value,
89
+ (val) => {
90
+ emit("update:group_id", val);
91
+ }
92
+ );
93
+ return (_ctx, _cache) => {
94
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
95
+ vue.createVNode(vue.unref(webVue.Space), { size: "small" }, {
96
+ default: vue.withCtx(() => [
97
+ vue.createVNode(vue.unref(webVue.Input), {
98
+ modelValue: filter.value.keywords,
99
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => filter.value.keywords = $event),
100
+ "allow-clear": "",
101
+ class: "filter-item keyword",
102
+ placeholder: "\u8BF7\u8F93\u5165\u5185\u5BB9\u6807\u9898",
103
+ style: { width: "240px" },
104
+ onPressEnter: handleSearch
105
+ }, {
106
+ prepend: vue.withCtx(() => [
107
+ vue.createVNode(vue.unref(webVue.Select), {
108
+ modelValue: filter.value.wordState,
109
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => filter.value.wordState = $event),
110
+ placeholder: "\u8BF7\u9009\u62E9",
111
+ onSelect: checkout
112
+ }, {
113
+ default: vue.withCtx(() => [
114
+ (vue.openBlock(), vue.createElementBlock(vue.Fragment, null, vue.renderList(wordStateOptions, (item, index) => {
115
+ return vue.createVNode(vue.unref(webVue.Option), {
116
+ key: index,
117
+ value: item.value,
118
+ label: item.label
119
+ }, {
120
+ default: vue.withCtx(() => [
121
+ vue.createElementVNode("div", _hoisted_2, [
122
+ vue.createElementVNode("span", null, vue.toDisplayString(item.label), 1),
123
+ vue.createVNode(vue.unref(webVue.Tooltip), {
124
+ effect: "dark",
125
+ content: item.desc,
126
+ position: "right"
127
+ }, {
128
+ default: vue.withCtx(() => [
129
+ vue.createVNode(vue.unref(icon.IconInfoCircle))
130
+ ]),
131
+ _: 2
132
+ }, 1032, ["content"])
133
+ ])
134
+ ]),
135
+ _: 2
136
+ }, 1032, ["value", "label"]);
137
+ }), 64))
138
+ ]),
139
+ _: 1
140
+ }, 8, ["modelValue"])
141
+ ]),
142
+ _: 1
143
+ }, 8, ["modelValue"])
144
+ ]),
145
+ _: 1
146
+ }),
147
+ _ctx.typeKey && _ctx.typeKey !== "ZQ" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3, [
148
+ vue.createVNode(vue.unref(webVue.Select), {
149
+ modelValue: filter.value.order,
150
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => filter.value.order = $event),
151
+ class: "filter-item",
152
+ placeholder: "\u53D1\u5E03\u65F6\u95F4"
153
+ }, {
154
+ default: vue.withCtx(() => [
155
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(sortMethodOptions.value, (item) => {
156
+ return vue.openBlock(), vue.createBlock(vue.unref(webVue.Option), {
157
+ key: item.value,
158
+ label: item.label,
159
+ value: item.value
160
+ }, null, 8, ["label", "value"]);
161
+ }), 128))
162
+ ]),
163
+ _: 1
164
+ }, 8, ["modelValue"])
165
+ ])) : vue.createCommentVNode("v-if", true)
166
+ ]);
167
+ };
168
+ }
169
+ });
170
+ module.exports = _sfc_main;
@@ -0,0 +1,210 @@
1
+ "use strict";
2
+ var vue = require("vue");
3
+ var icon = require("@arco-design/web-vue/es/icon");
4
+ var webVue = require("@arco-design/web-vue");
5
+ var component = require("../../../typeIcons/component.js");
6
+ var index = require("./MediaFilter/index.js");
7
+ var component$1 = require("../../../dataTags/component.js");
8
+ var index$1 = require("../../../utils/index.js");
9
+ var useViewAllColumnState = require("./script/useViewAllColumnState.js");
10
+ var useTableColumns = require("./script/useTableColumns.js");
11
+ require("./index.vue_vue_type_style_index_0_scoped_true_lang.js");
12
+ var pluginVue_exportHelper = require("../../../_virtual/plugin-vue_export-helper.js");
13
+ const _hoisted_1 = { class: "view-all-column-container" };
14
+ const _hoisted_2 = {
15
+ key: 0,
16
+ class: "content-table-view"
17
+ };
18
+ const _hoisted_3 = { class: "title-span" };
19
+ const _hoisted_4 = { class: "title" };
20
+ const _hoisted_5 = { class: "title-span" };
21
+ const _hoisted_6 = { class: "title-span" };
22
+ const _hoisted_7 = {
23
+ key: 1,
24
+ class: "content-table-view"
25
+ };
26
+ const _hoisted_8 = { class: "title-span" };
27
+ const _hoisted_9 = { class: "title" };
28
+ const _hoisted_10 = { class: "title-span" };
29
+ const _hoisted_11 = { class: "title-span" };
30
+ const _hoisted_12 = { class: "bottom-view" };
31
+ const _hoisted_13 = { class: "left" };
32
+ const _sfc_main = vue.defineComponent({
33
+ ...{ name: "ViewAllColumn" },
34
+ __name: "index",
35
+ props: {
36
+ maxSelect: {},
37
+ defaultSelectedData: {},
38
+ typeData: {},
39
+ series: {},
40
+ banner: {},
41
+ userInfo: {},
42
+ typeKey: {},
43
+ rid: {}
44
+ },
45
+ emits: ["change"],
46
+ setup(__props, { emit: __emit }) {
47
+ const emit = __emit;
48
+ const props = __props;
49
+ const listMinHeight = vue.ref(0);
50
+ const categoryCascaderData = vue.ref([]);
51
+ const scrollPercent = { y: "100%" };
52
+ const {
53
+ selectedData,
54
+ mediaFileData,
55
+ dataLoading,
56
+ group_id,
57
+ page,
58
+ isItemChecked,
59
+ tableCellMouseEnter,
60
+ tableCellMouseLeave,
61
+ selectTableCell,
62
+ selectTableAll,
63
+ search,
64
+ pageChangeHandle,
65
+ loadData,
66
+ loadMore
67
+ } = useViewAllColumnState.useViewAllColumnState(props, emit);
68
+ const { columns, politicalColumns } = useTableColumns.useTableColumns(
69
+ props,
70
+ selectedData,
71
+ isItemChecked
72
+ );
73
+ vue.onMounted(() => {
74
+ loadData();
75
+ });
76
+ return (_ctx, _cache) => {
77
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
78
+ vue.createVNode(index, {
79
+ group_id: vue.unref(group_id),
80
+ "onUpdate:group_id": _cache[0] || (_cache[0] = ($event) => vue.isRef(group_id) ? group_id.value = $event : null),
81
+ height: listMinHeight.value,
82
+ tree: categoryCascaderData.value,
83
+ "type-key": _ctx.typeKey,
84
+ onSearch: vue.unref(search)
85
+ }, null, 8, ["group_id", "height", "tree", "type-key", "onSearch"]),
86
+ _ctx.typeKey && _ctx.typeKey !== "ZQ" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2, [
87
+ vue.createVNode(vue.unref(webVue.Table), {
88
+ bordered: false,
89
+ columns: vue.unref(columns),
90
+ data: vue.unref(mediaFileData),
91
+ pagination: false,
92
+ loading: vue.unref(dataLoading),
93
+ scroll: scrollPercent,
94
+ "load-more": vue.unref(loadMore),
95
+ onCellMouseEnter: vue.unref(tableCellMouseEnter),
96
+ onCellMouseLeave: vue.unref(tableCellMouseLeave),
97
+ onRowClick: vue.unref(selectTableCell)
98
+ }, {
99
+ "expand-icon": vue.withCtx(({ expanded }) => [
100
+ !expanded ? (vue.openBlock(), vue.createBlock(vue.unref(icon.IconRight), { key: 0 })) : (vue.openBlock(), vue.createBlock(vue.unref(icon.IconDown), { key: 1 }))
101
+ ]),
102
+ selectTitle: vue.withCtx(() => [
103
+ vue.createVNode(vue.unref(webVue.Checkbox), {
104
+ "model-value": vue.unref(selectedData).length === vue.unref(mediaFileData).length,
105
+ class: "icon",
106
+ onChange: vue.unref(selectTableAll)
107
+ }, null, 8, ["model-value", "onChange"])
108
+ ]),
109
+ select: vue.withCtx(({ record }) => [
110
+ vue.createVNode(vue.unref(webVue.Checkbox), {
111
+ "model-value": vue.unref(isItemChecked)(vue.unref(selectedData), record),
112
+ class: "icon"
113
+ }, null, 8, ["model-value"])
114
+ ]),
115
+ title: vue.withCtx(({ record }) => [
116
+ vue.createElementVNode("span", _hoisted_3, [
117
+ vue.createVNode(component, {
118
+ type: record.series,
119
+ class: "icon",
120
+ doc: true
121
+ }, null, 8, ["type"]),
122
+ vue.createElementVNode("span", _hoisted_4, vue.toDisplayString(record.title || record.alias || "--"), 1)
123
+ ])
124
+ ]),
125
+ series: vue.withCtx(({ record }) => [
126
+ vue.createVNode(component$1, { item: record }, null, 8, ["item"])
127
+ ]),
128
+ duty_editor: vue.withCtx(({ record }) => [
129
+ vue.createElementVNode("span", _hoisted_5, [
130
+ vue.createElementVNode("span", null, vue.toDisplayString(record.duty_editor || "--"), 1)
131
+ ])
132
+ ]),
133
+ pub_time: vue.withCtx(({ record }) => [
134
+ vue.createElementVNode("span", _hoisted_6, [
135
+ vue.createElementVNode("span", null, vue.toDisplayString(vue.unref(index$1.timeFormat)(record.pub_time)), 1)
136
+ ])
137
+ ]),
138
+ _: 1
139
+ }, 8, ["columns", "data", "loading", "load-more", "onCellMouseEnter", "onCellMouseLeave", "onRowClick"])
140
+ ])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_7, [
141
+ vue.createVNode(vue.unref(webVue.Table), {
142
+ bordered: false,
143
+ columns: vue.unref(politicalColumns),
144
+ data: vue.unref(mediaFileData),
145
+ pagination: false,
146
+ loading: vue.unref(dataLoading),
147
+ scroll: scrollPercent,
148
+ onCellMouseEnter: vue.unref(tableCellMouseEnter),
149
+ onCellMouseLeave: vue.unref(tableCellMouseLeave),
150
+ onRowClick: vue.unref(selectTableCell)
151
+ }, {
152
+ selectTitle: vue.withCtx(() => [
153
+ vue.createVNode(vue.unref(webVue.Checkbox), {
154
+ "model-value": vue.unref(selectedData).length === vue.unref(mediaFileData).length,
155
+ class: "icon",
156
+ onChange: vue.unref(selectTableAll)
157
+ }, null, 8, ["model-value", "onChange"])
158
+ ]),
159
+ select: vue.withCtx(({ record }) => [
160
+ vue.createVNode(vue.unref(webVue.Checkbox), {
161
+ "model-value": vue.unref(isItemChecked)(vue.unref(selectedData), record),
162
+ class: "icon"
163
+ }, null, 8, ["model-value"])
164
+ ]),
165
+ name: vue.withCtx(({ record }) => [
166
+ vue.createElementVNode("span", _hoisted_8, [
167
+ vue.createVNode(component, {
168
+ type: record.series,
169
+ class: "icon",
170
+ doc: ""
171
+ }, null, 8, ["type"]),
172
+ vue.createElementVNode("span", _hoisted_9, vue.toDisplayString(record.name || record.alias || "--"), 1)
173
+ ])
174
+ ]),
175
+ series: vue.withCtx(({ record }) => [
176
+ vue.createVNode(component$1, { item: record }, null, 8, ["item"])
177
+ ]),
178
+ position: vue.withCtx(({ record }) => [
179
+ vue.createElementVNode("span", _hoisted_10, [
180
+ vue.createElementVNode("span", null, vue.toDisplayString(record.position || "--"), 1)
181
+ ])
182
+ ]),
183
+ city_alias: vue.withCtx(({ record }) => [
184
+ vue.createElementVNode("span", _hoisted_11, [
185
+ vue.createElementVNode("span", null, vue.toDisplayString(record.city_alias || "--"), 1)
186
+ ])
187
+ ]),
188
+ _: 1
189
+ }, 8, ["columns", "data", "loading", "onCellMouseEnter", "onCellMouseLeave", "onRowClick"])
190
+ ])),
191
+ vue.createElementVNode("div", _hoisted_12, [
192
+ vue.createElementVNode("div", _hoisted_13, [
193
+ vue.renderSlot(_ctx.$slots, "store", {}, void 0, true),
194
+ vue.withDirectives(vue.createVNode(vue.unref(webVue.Pagination), {
195
+ current: vue.unref(page).index,
196
+ "page-size": vue.unref(page).size,
197
+ total: vue.unref(page).total,
198
+ onChange: vue.unref(pageChangeHandle)
199
+ }, null, 8, ["current", "page-size", "total", "onChange"]), [
200
+ [vue.vShow, vue.unref(mediaFileData).length > 0]
201
+ ])
202
+ ]),
203
+ vue.renderSlot(_ctx.$slots, "options", {}, void 0, true)
204
+ ])
205
+ ]);
206
+ };
207
+ }
208
+ });
209
+ var ViewAllColumn = /* @__PURE__ */ pluginVue_exportHelper(_sfc_main, [["__scopeId", "data-v-ac92e0de"]]);
210
+ module.exports = ViewAllColumn;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ var index_vue_vue_type_style_index_0_scoped_true_lang = "";
3
+ module.exports = index_vue_vue_type_style_index_0_scoped_true_lang;
@@ -0,0 +1,80 @@
1
+ "use strict";
2
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
+ var vue = require("vue");
4
+ var webVue = require("@arco-design/web-vue");
5
+ const useTableColumns = (props, selectedData, isItemChecked) => {
6
+ const columns = vue.ref([
7
+ {
8
+ title: "\u52FE",
9
+ dataIndex: "select",
10
+ slotName: "select",
11
+ width: 40,
12
+ titleSlotName: "selectTitle",
13
+ render: ({ record }) => {
14
+ if (props.typeKey === "series:special_v3") {
15
+ if (record.isLeaf) {
16
+ return vue.h(webVue.Checkbox, {
17
+ modelValue: isItemChecked.value(selectedData.value, record),
18
+ class: "icon"
19
+ });
20
+ }
21
+ return null;
22
+ }
23
+ return vue.h(webVue.Checkbox, {
24
+ modelValue: isItemChecked.value(selectedData.value, record),
25
+ class: "icon"
26
+ });
27
+ }
28
+ },
29
+ {
30
+ title: "\u4E13\u9898/\u680F\u76EE\u540D\u79F0",
31
+ dataIndex: "title",
32
+ slotName: "title",
33
+ width: 428
34
+ },
35
+ {
36
+ title: "\u7F16\u8F91",
37
+ dataIndex: "duty_editor",
38
+ slotName: "duty_editor",
39
+ width: 100
40
+ },
41
+ {
42
+ title: "\u53D1\u5E03\u65F6\u95F4",
43
+ dataIndex: "pub_time",
44
+ slotName: "pub_time",
45
+ width: 150
46
+ }
47
+ ]);
48
+ const politicalColumns = vue.ref([
49
+ {
50
+ title: "\u52FE",
51
+ dataIndex: "select",
52
+ slotName: "select",
53
+ width: 40,
54
+ titleSlotName: "selectTitle"
55
+ },
56
+ {
57
+ title: "\u653F\u60C5\u4EBA\u7269\u59D3\u540D",
58
+ dataIndex: "name",
59
+ slotName: "name",
60
+ width: 428
61
+ },
62
+ {
63
+ title: "\u804C\u4F4D",
64
+ dataIndex: "position",
65
+ slotName: "position",
66
+ width: 100
67
+ },
68
+ {
69
+ title: "\u5730\u533A",
70
+ dataIndex: "city_alias",
71
+ slotName: "city_alias",
72
+ width: 150
73
+ }
74
+ ]);
75
+ return {
76
+ columns,
77
+ politicalColumns
78
+ };
79
+ };
80
+ exports.useTableColumns = useTableColumns;