@cmstops/pro-compo 3.9.2 → 3.10.5-nanning.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 (325) 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/CircleItem/index.d.ts +0 -0
  12. package/es/contentDetailList/components/Content/CircleItem/index.js +92 -0
  13. package/es/contentDetailList/components/Content/CompoItem/index.js +12 -12
  14. package/es/contentDetailList/components/Content/ContentListItem/index.js +15 -15
  15. package/es/contentDetailList/components/Content/DocItem/ApprovalStateMap/index.js +18 -18
  16. package/es/contentDetailList/components/Content/DocItem/index.js +27 -27
  17. package/es/contentDetailList/components/Content/DocMpItem/index.js +13 -13
  18. package/es/contentDetailList/components/Content/GroupPieceItem/index.js +11 -11
  19. package/es/contentDetailList/components/Content/KongoNavItem/index.js +14 -14
  20. package/es/contentDetailList/components/Content/LiveItem/index.js +9 -9
  21. package/es/contentDetailList/components/Content/MaccountItem/index.js +12 -12
  22. package/es/contentDetailList/components/Content/courseItem/index.js +10 -10
  23. package/es/contentDetailList/components/Content/funhdItem/index.js +10 -10
  24. package/es/contentDetailList/components/Content/index.js +170 -117
  25. package/es/contentDetailList/components/CustomWrp/CustomItem.js +5 -5
  26. package/es/contentDetailList/components/CustomWrp/index.js +10 -10
  27. package/es/contentDetailList/components/Doc/index.js +16 -10
  28. package/es/contentDetailList/components/Records/MatrixItem/index.js +22 -22
  29. package/es/contentDetailList/components/Records/index.js +8 -8
  30. package/es/contentDetailList/components/ShowQRCode/QrcodeView/index.js +6 -6
  31. package/es/contentDetailList/components/ShowQRCode/index.js +1 -1
  32. package/es/contentDetailList/script/api.d.ts +2 -2
  33. package/es/contentModal/component.js +40 -40
  34. package/es/contentModal/components/CompoList/index.js +1 -1
  35. package/es/contentModal/components/Dejin/index.js +1 -1
  36. package/es/contentModal/components/MpContentList/MediaFilter/index.js +2 -2
  37. package/es/contentModal/components/MpContentList/index.js +1 -1
  38. package/es/contentModal/components/ViewAllColumn/MediaFilter/index.js +3 -3
  39. package/es/contentModal/components/ViewAllColumn/index.js +7 -3
  40. package/es/contentModal/components/storeBox/index.js +8 -8
  41. package/es/contentModal/script/api.d.ts +13 -13
  42. package/es/dataTags/component.js +38 -38
  43. package/es/docHistory/component.js +44 -15
  44. package/es/docHistory/components/DocDiffPanel/index.js +2 -2
  45. package/es/docHistory/components/DocHistoryList/index.js +2 -2
  46. package/es/docHistory/scripts/diff.js +4 -3
  47. package/es/docHistory/scripts/useDocHistory.d.ts +1 -1
  48. package/es/docHistory/style/index.css +4 -0
  49. package/es/docHistory/style/index.less +5 -0
  50. package/es/docPreview/component.js +228 -60
  51. package/es/docPreview/components/PreviewIframe.js +37 -6
  52. package/es/docPreview/images/pc.js +2 -0
  53. package/es/docPreview/scripts/api.d.ts +2 -1
  54. package/es/docPreview/scripts/hook.d.ts +11 -1
  55. package/es/docPreview/scripts/hook.js +115 -4
  56. package/es/docPreview/style/index.css +48 -0
  57. package/es/docPreview/style/index.less +23 -0
  58. package/es/docPreview/style/previewIframe.less +31 -0
  59. package/es/editMetaInfo/component.js +24 -4
  60. package/es/editMetaInfo/components/metaInfoForm.js +358 -17
  61. package/es/editMetaInfo/script/api.d.ts +9 -2
  62. package/es/editMetaInfo/script/api.js +20 -1
  63. package/es/emptyData/component.js +4 -4
  64. package/es/emptyData/svg/acount.js +2 -2
  65. package/es/emptyData/svg/add.js +2 -2
  66. package/es/emptyData/svg/analize.js +2 -2
  67. package/es/emptyData/svg/analize_fail.js +2 -2
  68. package/es/emptyData/svg/empty.js +2 -2
  69. package/es/emptyData/svg/file.js +2 -2
  70. package/es/emptyData/svg/manager.js +2 -2
  71. package/es/emptyData/svg/message.js +2 -2
  72. package/es/emptyData/svg/noanalize.js +2 -2
  73. package/es/emptyData/svg/null.js +2 -2
  74. package/es/emptyData/svg/search.js +2 -2
  75. package/es/emptyData/svg/star.js +2 -2
  76. package/es/emptyData/svg/trash.js +2 -2
  77. package/es/emptyData/svg/user.js +2 -2
  78. package/es/hooks/assets.d.ts +1 -1
  79. package/es/hooks/source.d.ts +1 -1
  80. package/es/hooks/useAttachement.d.ts +32 -13
  81. package/es/hooks/useAttachement.js +42 -2
  82. package/es/hooks/usePopper.d.ts +1 -1
  83. package/es/hooks/usePopper.js +3 -3
  84. package/es/hooks/useUpload.d.ts +53 -5
  85. package/es/hooks/useUpload.js +43 -4
  86. package/es/hooks/user.d.ts +1 -1
  87. package/es/imageCrop/component.js +11 -11
  88. package/es/imageCrop/script/api.d.ts +1 -1
  89. package/es/importData/component.js +13 -13
  90. package/es/index.css +97 -4
  91. package/es/index.d.ts +1 -0
  92. package/es/index.js +1 -0
  93. package/es/mediaFilter/component.js +4 -4
  94. package/es/mediaFilter/components/DocFilter.js +1 -1
  95. package/es/mediaFilter/components/FilterGroup.js +1 -1
  96. package/es/mediaFilter/components/FilterItem.js +1 -1
  97. package/es/mediaView/component.js +8 -8
  98. package/es/messageBox/component.js +3 -3
  99. package/es/messageBox/script/api.d.ts +2 -2
  100. package/es/previousVersion/script/api.d.ts +4 -4
  101. package/es/resourceGridList/component.js +16 -16
  102. package/es/resourceGridList/components/FileTypeThumb/index.js +6 -6
  103. package/es/resourceModal/component.js +7 -7
  104. package/es/resourceModal/components/MediaPreviewer/index.js +8 -8
  105. package/es/resourceModal/components/MediaSelection/DocAiMediaSelected/index.js +5 -5
  106. package/es/resourceModal/components/MediaSelection/MainContent/FileTypeThumb/index.js +6 -6
  107. package/es/resourceModal/components/MediaSelection/MainContent/index.js +18 -18
  108. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.js +3 -3
  109. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.js +3 -3
  110. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/index.js +2 -2
  111. package/es/resourceModal/components/MediaSelection/ToolbarSearch/index.js +4 -4
  112. package/es/resourceModal/components/MediaSelection/index.js +6 -6
  113. package/es/resourceModal/script/api.d.ts +11 -11
  114. package/es/selectAddTo/component.d.ts +0 -0
  115. package/es/selectAddTo/component.js +47 -0
  116. package/es/selectAddTo/component.vue_vue_type_style_index_0_scoped_true_lang.js +2 -0
  117. package/es/selectAddTo/components/SelectAddToView.d.ts +0 -0
  118. package/es/selectAddTo/components/SelectAddToView.js +90 -0
  119. package/es/selectAddTo/components/SelectAddToView.vue_vue_type_style_index_0_scoped_true_lang.js +2 -0
  120. package/es/selectAddTo/components/ViewAllColumn/MediaFilter/index.d.ts +0 -0
  121. package/es/selectAddTo/components/ViewAllColumn/MediaFilter/index.js +166 -0
  122. package/es/selectAddTo/components/ViewAllColumn/index.d.ts +0 -0
  123. package/es/selectAddTo/components/ViewAllColumn/index.js +212 -0
  124. package/es/selectAddTo/components/ViewAllColumn/index.vue_vue_type_style_index_0_scoped_true_lang.js +2 -0
  125. package/es/selectAddTo/components/ViewAllColumn/script/useTableColumns.d.ts +6 -0
  126. package/es/selectAddTo/components/ViewAllColumn/script/useTableColumns.js +102 -0
  127. package/es/selectAddTo/components/ViewAllColumn/script/useViewAllColumnState.d.ts +144 -0
  128. package/es/selectAddTo/components/ViewAllColumn/script/useViewAllColumnState.js +182 -0
  129. package/es/selectAddTo/components/ViewAllColumn/types/index.d.ts +55 -0
  130. package/es/selectAddTo/index.d.ts +2 -0
  131. package/es/selectAddTo/index.js +7 -0
  132. package/es/selectAddTo/script/api.d.ts +18 -0
  133. package/es/selectAddTo/script/api.js +23 -0
  134. package/es/selectAddTo/script/index.d.ts +2 -0
  135. package/es/selectAddTo/script/useSelectAddToState.d.ts +13 -0
  136. package/es/selectAddTo/script/useSelectAddToState.js +55 -0
  137. package/es/selectAddTo/style/css.js +1 -0
  138. package/es/selectAddTo/style/index.css +3 -0
  139. package/es/selectAddTo/style/index.d.ts +1 -0
  140. package/es/selectAddTo/style/index.js +1 -0
  141. package/es/selectAddTo/style/index.less +3 -0
  142. package/es/selectAddTo/types/index.d.ts +37 -0
  143. package/es/selectGategory/component.js +5 -5
  144. package/es/selectGategory/components/ColumnSelection/index.js +6 -6
  145. package/es/selectGategory/script/api.d.ts +2 -2
  146. package/es/selectResourceModal/__demo__/module/DivWrapper.d.ts +261 -0
  147. package/es/selectResourceModal/__demo__/module/basic.d.ts +292 -0
  148. package/es/selectResourceModal/component.js +26 -34
  149. package/es/selectResourceModal/components/List/ListCardWrapper.js +6 -6
  150. package/es/selectResourceModal/components/List/ListLocal/Upload.js +1 -1
  151. package/es/selectResourceModal/components/List/ListLocal/index.js +8 -3
  152. package/es/selectResourceModal/components/List/ListNormal/Filter.js +210 -83
  153. package/es/selectResourceModal/components/List/ListNormal/index.js +23 -7
  154. package/es/selectResourceModal/components/List/ListSystem/Filter.js +3 -3
  155. package/es/selectResourceModal/components/List/ListSystem/SubList.js +3 -3
  156. package/es/selectResourceModal/components/List/ListSystem/index.js +2 -2
  157. package/es/selectResourceModal/components/List/ListWraper.js +2 -2
  158. package/es/selectResourceModal/components/ListSelected/index.js +6 -6
  159. package/es/selectResourceModal/components/ListTabs/index.js +1 -1
  160. package/es/selectResourceModal/hooks/useResponsiveFilter.d.ts +21 -0
  161. package/es/selectResourceModal/hooks/useResponsiveFilter.js +142 -0
  162. package/es/selectResourceModal/scripts/selectionApis.d.ts +2 -2
  163. package/es/selectResourceModal/scripts/useCompoLf.js +1 -1
  164. package/es/selectResourceModal/scripts/useTabFilter.js +1 -11
  165. package/es/selectResourceModal/style/index.css +45 -4
  166. package/es/selectResourceModal/style/index.less +14 -0
  167. package/es/selectResourceModal/style/list.less +40 -4
  168. package/es/selectThumb/component.js +76 -33
  169. package/es/selectThumb/components/card.js +3 -3
  170. package/es/style.css +63 -0
  171. package/es/thumbCard/component.js +7 -7
  172. package/es/thumbCard/components/ThumbUploading/index.js +3 -3
  173. package/es/typeIcons/component.js +1 -1
  174. package/es/uploadBefore/component.js +1 -1
  175. package/es/uploadBefore/components/UploadBefore.js +9 -9
  176. package/es/uploadBefore/script/api.d.ts +4 -4
  177. package/es/uploadStep/component.js +3 -3
  178. package/es/userAvater/component.js +3 -3
  179. package/es/userAvater/script/api.d.ts +4 -4
  180. package/es/userDirector/component.js +5 -5
  181. package/es/userDirector/components/userTree.js +2 -2
  182. package/es/userDirector/script/api.d.ts +6 -6
  183. package/es/utils/index.js +6 -6
  184. package/es/utils/request.d.ts +1 -1
  185. package/es/utils/transcodeMedia.d.ts +1 -1
  186. package/es/videoThumb/scripts/api.d.ts +1 -1
  187. package/lib/baseFilter/component.js +69 -12
  188. package/lib/baseFilter/components/FilterGroup.js +1 -1
  189. package/lib/baseFilter/components/filterItem.js +1 -1
  190. package/lib/colorPalette/component.js +1 -1
  191. package/lib/contentDetailList/component.js +33 -9
  192. package/lib/contentDetailList/components/Content/CircleItem/index.js +93 -0
  193. package/lib/contentDetailList/components/Content/CompoItem/index.js +12 -12
  194. package/lib/contentDetailList/components/Content/ContentListItem/index.js +15 -15
  195. package/lib/contentDetailList/components/Content/DocItem/ApprovalStateMap/index.js +18 -18
  196. package/lib/contentDetailList/components/Content/DocItem/index.js +27 -27
  197. package/lib/contentDetailList/components/Content/DocMpItem/index.js +13 -13
  198. package/lib/contentDetailList/components/Content/GroupPieceItem/index.js +11 -11
  199. package/lib/contentDetailList/components/Content/KongoNavItem/index.js +14 -14
  200. package/lib/contentDetailList/components/Content/LiveItem/index.js +9 -9
  201. package/lib/contentDetailList/components/Content/MaccountItem/index.js +12 -12
  202. package/lib/contentDetailList/components/Content/courseItem/index.js +10 -10
  203. package/lib/contentDetailList/components/Content/funhdItem/index.js +10 -10
  204. package/lib/contentDetailList/components/Content/index.js +170 -117
  205. package/lib/contentDetailList/components/CustomWrp/CustomItem.js +5 -5
  206. package/lib/contentDetailList/components/CustomWrp/index.js +10 -10
  207. package/lib/contentDetailList/components/Doc/index.js +16 -10
  208. package/lib/contentDetailList/components/Records/MatrixItem/index.js +22 -22
  209. package/lib/contentDetailList/components/Records/index.js +8 -8
  210. package/lib/contentDetailList/components/ShowQRCode/QrcodeView/index.js +6 -6
  211. package/lib/contentDetailList/components/ShowQRCode/index.js +1 -1
  212. package/lib/contentModal/component.js +40 -40
  213. package/lib/contentModal/components/CompoList/index.js +1 -1
  214. package/lib/contentModal/components/Dejin/index.js +1 -1
  215. package/lib/contentModal/components/MpContentList/MediaFilter/index.js +2 -2
  216. package/lib/contentModal/components/MpContentList/index.js +1 -1
  217. package/lib/contentModal/components/ViewAllColumn/MediaFilter/index.js +3 -3
  218. package/lib/contentModal/components/ViewAllColumn/index.js +7 -3
  219. package/lib/contentModal/components/storeBox/index.js +8 -8
  220. package/lib/dataTags/component.js +38 -38
  221. package/lib/docHistory/component.js +42 -13
  222. package/lib/docHistory/components/DocDiffPanel/index.js +2 -2
  223. package/lib/docHistory/components/DocHistoryList/index.js +2 -2
  224. package/lib/docHistory/scripts/diff.js +4 -3
  225. package/lib/docHistory/style/index.css +4 -0
  226. package/lib/docHistory/style/index.less +5 -0
  227. package/lib/docPreview/component.js +227 -59
  228. package/lib/docPreview/components/PreviewIframe.js +37 -6
  229. package/lib/docPreview/images/pc.js +3 -0
  230. package/lib/docPreview/scripts/hook.js +115 -3
  231. package/lib/docPreview/style/index.css +48 -0
  232. package/lib/docPreview/style/index.less +23 -0
  233. package/lib/docPreview/style/previewIframe.less +31 -0
  234. package/lib/editMetaInfo/component.js +23 -3
  235. package/lib/editMetaInfo/components/metaInfoForm.js +356 -15
  236. package/lib/editMetaInfo/script/api.js +21 -0
  237. package/lib/emptyData/component.js +4 -4
  238. package/lib/emptyData/svg/acount.js +2 -2
  239. package/lib/emptyData/svg/add.js +2 -2
  240. package/lib/emptyData/svg/analize.js +2 -2
  241. package/lib/emptyData/svg/analize_fail.js +2 -2
  242. package/lib/emptyData/svg/empty.js +2 -2
  243. package/lib/emptyData/svg/file.js +2 -2
  244. package/lib/emptyData/svg/manager.js +2 -2
  245. package/lib/emptyData/svg/message.js +2 -2
  246. package/lib/emptyData/svg/noanalize.js +2 -2
  247. package/lib/emptyData/svg/null.js +2 -2
  248. package/lib/emptyData/svg/search.js +2 -2
  249. package/lib/emptyData/svg/star.js +2 -2
  250. package/lib/emptyData/svg/trash.js +2 -2
  251. package/lib/emptyData/svg/user.js +2 -2
  252. package/lib/hooks/useAttachement.js +42 -0
  253. package/lib/hooks/usePopper.js +3 -3
  254. package/lib/hooks/useUpload.js +43 -3
  255. package/lib/imageCrop/component.js +11 -11
  256. package/lib/importData/component.js +13 -13
  257. package/lib/index.css +97 -4
  258. package/lib/index.js +2 -0
  259. package/lib/mediaFilter/component.js +4 -4
  260. package/lib/mediaFilter/components/DocFilter.js +1 -1
  261. package/lib/mediaFilter/components/FilterGroup.js +1 -1
  262. package/lib/mediaFilter/components/FilterItem.js +1 -1
  263. package/lib/mediaView/component.js +8 -8
  264. package/lib/messageBox/component.js +3 -3
  265. package/lib/resourceGridList/component.js +16 -16
  266. package/lib/resourceGridList/components/FileTypeThumb/index.js +6 -6
  267. package/lib/resourceModal/component.js +7 -7
  268. package/lib/resourceModal/components/MediaPreviewer/index.js +8 -8
  269. package/lib/resourceModal/components/MediaSelection/DocAiMediaSelected/index.js +5 -5
  270. package/lib/resourceModal/components/MediaSelection/MainContent/FileTypeThumb/index.js +6 -6
  271. package/lib/resourceModal/components/MediaSelection/MainContent/index.js +18 -18
  272. package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.js +3 -3
  273. package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.js +3 -3
  274. package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/index.js +2 -2
  275. package/lib/resourceModal/components/MediaSelection/ToolbarSearch/index.js +4 -4
  276. package/lib/resourceModal/components/MediaSelection/index.js +6 -6
  277. package/lib/selectAddTo/component.js +48 -0
  278. package/lib/selectAddTo/component.vue_vue_type_style_index_0_scoped_true_lang.js +3 -0
  279. package/lib/selectAddTo/components/SelectAddToView.js +91 -0
  280. package/lib/selectAddTo/components/SelectAddToView.vue_vue_type_style_index_0_scoped_true_lang.js +3 -0
  281. package/lib/selectAddTo/components/ViewAllColumn/MediaFilter/index.js +167 -0
  282. package/lib/selectAddTo/components/ViewAllColumn/index.js +213 -0
  283. package/lib/selectAddTo/components/ViewAllColumn/index.vue_vue_type_style_index_0_scoped_true_lang.js +3 -0
  284. package/lib/selectAddTo/components/ViewAllColumn/script/useTableColumns.js +108 -0
  285. package/lib/selectAddTo/components/ViewAllColumn/script/useViewAllColumnState.js +184 -0
  286. package/lib/selectAddTo/index.js +8 -0
  287. package/lib/selectAddTo/script/api.js +27 -0
  288. package/lib/selectAddTo/script/useSelectAddToState.js +57 -0
  289. package/lib/selectAddTo/style/css.js +2 -0
  290. package/lib/selectAddTo/style/index.css +3 -0
  291. package/lib/selectAddTo/style/index.js +2 -0
  292. package/lib/selectAddTo/style/index.less +3 -0
  293. package/lib/selectGategory/component.js +5 -5
  294. package/lib/selectGategory/components/ColumnSelection/index.js +6 -6
  295. package/lib/selectResourceModal/component.js +25 -33
  296. package/lib/selectResourceModal/components/List/ListCardWrapper.js +6 -6
  297. package/lib/selectResourceModal/components/List/ListLocal/Upload.js +1 -1
  298. package/lib/selectResourceModal/components/List/ListLocal/index.js +6 -1
  299. package/lib/selectResourceModal/components/List/ListNormal/Filter.js +207 -80
  300. package/lib/selectResourceModal/components/List/ListNormal/index.js +22 -6
  301. package/lib/selectResourceModal/components/List/ListSystem/Filter.js +3 -3
  302. package/lib/selectResourceModal/components/List/ListSystem/SubList.js +3 -3
  303. package/lib/selectResourceModal/components/List/ListSystem/index.js +2 -2
  304. package/lib/selectResourceModal/components/List/ListWraper.js +2 -2
  305. package/lib/selectResourceModal/components/ListSelected/index.js +6 -6
  306. package/lib/selectResourceModal/components/ListTabs/index.js +1 -1
  307. package/lib/selectResourceModal/hooks/useResponsiveFilter.js +144 -0
  308. package/lib/selectResourceModal/scripts/useCompoLf.js +1 -1
  309. package/lib/selectResourceModal/scripts/useTabFilter.js +1 -13
  310. package/lib/selectResourceModal/style/index.css +45 -4
  311. package/lib/selectResourceModal/style/index.less +14 -0
  312. package/lib/selectResourceModal/style/list.less +40 -4
  313. package/lib/selectThumb/component.js +75 -32
  314. package/lib/selectThumb/components/card.js +3 -3
  315. package/lib/thumbCard/component.js +7 -7
  316. package/lib/thumbCard/components/ThumbUploading/index.js +3 -3
  317. package/lib/typeIcons/component.js +1 -1
  318. package/lib/uploadBefore/component.js +1 -1
  319. package/lib/uploadBefore/components/UploadBefore.js +9 -9
  320. package/lib/uploadStep/component.js +3 -3
  321. package/lib/userAvater/component.js +3 -3
  322. package/lib/userDirector/component.js +5 -5
  323. package/lib/userDirector/components/userTree.js +2 -2
  324. package/lib/utils/index.js +6 -6
  325. package/package.json +1 -1
@@ -5,5 +5,5 @@ declare type EditThumbParams = {
5
5
  end: number;
6
6
  search: string;
7
7
  };
8
- export declare function editthumb(BASE_URL: string, params: EditThumbParams): Promise<import("axios").AxiosResponse<any, any>>;
8
+ export declare function editthumb(BASE_URL: string, params: EditThumbParams): Promise<import("axios").AxiosResponse<any, any, {}>>;
9
9
  export {};
@@ -38,9 +38,11 @@ const _sfc_main = vue.defineComponent({
38
38
  });
39
39
  return _columns;
40
40
  });
41
- const getOptions = (item) => {
42
- return item.options ? item.options : [];
43
- };
41
+ const getOptions = vue.computed(() => {
42
+ return (item) => {
43
+ return item.options ? item.options : [];
44
+ };
45
+ });
44
46
  const hasValue = vue.computed(() => {
45
47
  return (key) => {
46
48
  var _a, _b;
@@ -77,7 +79,10 @@ const _sfc_main = vue.defineComponent({
77
79
  _form[column.range] = rangeTemp[column.range];
78
80
  } else if (column.component === "select") {
79
81
  _form[column.key] = column.defaultValue || null;
80
- } else {
82
+ } else if (column.component === "input-group") {
83
+ _form[column.selectKey] = column.selectDefaultValue || "";
84
+ _form[column.inputKey] = column.inputDefaultValue || "";
85
+ } else if (column.component) {
81
86
  _form[column.key] = column.defaultValue || "";
82
87
  }
83
88
  });
@@ -179,17 +184,48 @@ const _sfc_main = vue.defineComponent({
179
184
  active: hasValue.value(item.key)
180
185
  }, {
181
186
  default: vue.withCtx(() => [
182
- item.component === "input" ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.InputSearch), {
183
- key: 0,
187
+ item.slot ? vue.renderSlot(_ctx.$slots, item.slot, { key: 0 }) : item.component === "input-group" ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.InputGroup), { key: 1 }, {
188
+ default: vue.withCtx(() => [
189
+ vue.createVNode(vue.unref(webVue.Select), {
190
+ modelValue: form.value[item.selectKey],
191
+ "onUpdate:modelValue": ($event) => form.value[item.selectKey] = $event,
192
+ "default-active-first-option": "",
193
+ style: { "width": "100px" }
194
+ }, {
195
+ default: vue.withCtx(() => [
196
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(item.selectOptions, (option, idx) => {
197
+ return vue.openBlock(), vue.createBlock(vue.unref(webVue.Option), {
198
+ key: idx,
199
+ value: option.value
200
+ }, {
201
+ default: vue.withCtx(() => [
202
+ vue.createTextVNode(vue.toDisplayString(option.label), 1)
203
+ ]),
204
+ _: 2
205
+ }, 1032, ["value"]);
206
+ }), 128))
207
+ ]),
208
+ _: 2
209
+ }, 1032, ["modelValue", "onUpdate:modelValue"]),
210
+ vue.createVNode(vue.unref(webVue.Input), {
211
+ modelValue: form.value[item.inputKey],
212
+ "onUpdate:modelValue": ($event) => form.value[item.inputKey] = $event,
213
+ placeholder: item.placeholder ? item.placeholder : `\u8BF7\u8F93\u5165${item.inputLabel}`,
214
+ style: { "width": "180px" }
215
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"])
216
+ ]),
217
+ _: 2
218
+ }, 1024)) : item.component === "input" ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.InputSearch), {
219
+ key: 2,
184
220
  modelValue: form.value[item.key],
185
221
  "onUpdate:modelValue": ($event) => form.value[item.key] = $event,
186
222
  style: vue.normalizeStyle({ width: styleWidth(columnsMap.value[item.key]) }),
187
223
  "allow-clear": "",
188
224
  size: "medium",
189
- placeholder: `\u8BF7\u8F93\u5165${item.label}`
225
+ placeholder: item.placeholder ? item.placeholder : `\u8BF7\u8F93\u5165${item.label}`
190
226
  }, null, 8, ["modelValue", "onUpdate:modelValue", "style", "placeholder"])) : vue.createCommentVNode("v-if", true),
191
227
  item.component === "select" ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Select), {
192
- key: 1,
228
+ key: 3,
193
229
  modelValue: form.value[item.key],
194
230
  "onUpdate:modelValue": ($event) => form.value[item.key] = $event,
195
231
  "popup-container": "#base-filter-popup-container",
@@ -197,13 +233,13 @@ const _sfc_main = vue.defineComponent({
197
233
  "allow-search": item.allowSearch,
198
234
  "default-active-first-option": false,
199
235
  style: vue.normalizeStyle({ width: styleWidth(columnsMap.value[item.key]) }),
200
- placeholder: `\u8BF7\u9009\u62E9${item.label}`,
236
+ placeholder: item.placeholder ? item.placeholder : `\u8BF7\u9009\u62E9${item.label}`,
201
237
  onSearch: ($event) => handleSelectSearch($event, item),
202
238
  onPopupVisibleChange: ($event) => handleSelectPopupChange($event, item),
203
239
  onChange: ($event) => handleSelectChange($event, item)
204
240
  }, {
205
241
  default: vue.withCtx(() => [
206
- (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(getOptions(item), (opt) => {
242
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(getOptions.value(item), (opt) => {
207
243
  return vue.openBlock(), vue.createBlock(vue.unref(webVue.Option), {
208
244
  key: opt.value,
209
245
  label: opt.label,
@@ -214,7 +250,7 @@ const _sfc_main = vue.defineComponent({
214
250
  _: 2
215
251
  }, 1032, ["modelValue", "onUpdate:modelValue", "allow-search", "style", "placeholder", "onSearch", "onPopupVisibleChange", "onChange"])) : vue.createCommentVNode("v-if", true),
216
252
  item.component === "range-picker" ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.RangePicker), {
217
- key: 2,
253
+ key: 4,
218
254
  modelValue: form.value[item.key].range,
219
255
  "onUpdate:modelValue": ($event) => form.value[item.key].range = $event,
220
256
  style: vue.normalizeStyle({ width: styleWidth(form.value[item.key]) }),
@@ -225,7 +261,28 @@ const _sfc_main = vue.defineComponent({
225
261
  "popup-container": "#base-filter-popup-container",
226
262
  onClick: _cache[1] || (_cache[1] = vue.withModifiers(() => {
227
263
  }, ["stop"]))
228
- }, null, 8, ["modelValue", "onUpdate:modelValue", "style"])) : vue.createCommentVNode("v-if", true)
264
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "style"])) : vue.createCommentVNode("v-if", true),
265
+ item.component === "radio" ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.RadioGroup), {
266
+ key: 5,
267
+ modelValue: form.value[item.key],
268
+ "onUpdate:modelValue": ($event) => form.value[item.key] = $event,
269
+ type: "button"
270
+ }, {
271
+ default: vue.withCtx(() => [
272
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(item.options || [], (option, idx) => {
273
+ return vue.openBlock(), vue.createBlock(vue.unref(webVue.Radio), {
274
+ key: idx,
275
+ value: option.value
276
+ }, {
277
+ default: vue.withCtx(() => [
278
+ vue.createTextVNode(vue.toDisplayString(option.label), 1)
279
+ ]),
280
+ _: 2
281
+ }, 1032, ["value"]);
282
+ }), 128))
283
+ ]),
284
+ _: 2
285
+ }, 1032, ["modelValue", "onUpdate:modelValue"])) : vue.createCommentVNode("v-if", true)
229
286
  ]),
230
287
  _: 2
231
288
  }, 1032, ["active"]);
@@ -116,7 +116,7 @@ const _sfc_main = vue.defineComponent({
116
116
  }, {
117
117
  default: vue.withCtx(() => [
118
118
  vue.createElementVNode("span", _hoisted_3, [
119
- _cache[1] || (_cache[1] = vue.createTextVNode(" \u66F4\u591A\u7B5B\u9009 ")),
119
+ _cache[1] || (_cache[1] = vue.createTextVNode(" \u66F4\u591A\u7B5B\u9009 ", -1)),
120
120
  vue.createVNode(vue.unref(icon.IconCaretDown))
121
121
  ])
122
122
  ]),
@@ -9,7 +9,7 @@ const _sfc_main = vue.defineComponent({
9
9
  setup(__props) {
10
10
  return (_ctx, _cache) => {
11
11
  return vue.openBlock(), vue.createElementBlock("div", {
12
- class: vue.normalizeClass(["filter-item-view", { value: _ctx.active }]),
12
+ class: vue.normalizeClass(["filter-item-view", { value: __props.active }]),
13
13
  onClick: _cache[0] || (_cache[0] = vue.withModifiers(() => {
14
14
  }, ["stop"]))
15
15
  }, [
@@ -59,7 +59,7 @@ const _sfc_main = vue.defineComponent({
59
59
  { immediate: true }
60
60
  );
61
61
  return (_ctx, _cache) => {
62
- return _ctx.colorList && _ctx.colorList.length ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
62
+ return __props.colorList && __props.colorList.length ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
63
63
  vue.createVNode(vue.unref(webVue.RadioGroup), {
64
64
  modelValue: colorValue.value,
65
65
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => colorValue.value = $event),
@@ -60,7 +60,7 @@ const _sfc_main = vue.defineComponent({
60
60
  const handleScroll = (e) => {
61
61
  emit("scroll", e);
62
62
  const { target } = e;
63
- if (target.scrollHeight - target.scrollTop === target.clientHeight) {
63
+ if (target.scrollHeight - target.scrollTop <= target.clientHeight + 20) {
64
64
  emit("scrollReachEnd");
65
65
  }
66
66
  };
@@ -103,12 +103,18 @@ const _sfc_main = vue.defineComponent({
103
103
  index: index$4,
104
104
  parmas: vue.unref(parmasProps),
105
105
  abttrites: vue.unref(abttritesProps),
106
- extraAttrs: _ctx.extraAttrs,
106
+ extraAttrs: __props.extraAttrs,
107
107
  BASE_API: vue.unref(BASE_API_R),
108
108
  onClickTitle: clickTitle,
109
109
  onCellMouseEnter: tableCellMouseEnter,
110
110
  onCellMouseLeave: tableCellMouseLeave
111
111
  }, {
112
+ "after-index": vue.withCtx(() => [
113
+ vue.renderSlot(_ctx.$slots, "after-index", {
114
+ row: element,
115
+ index: index$4
116
+ })
117
+ ]),
112
118
  batch: vue.withCtx(() => [
113
119
  vue.renderSlot(_ctx.$slots, "batch", {
114
120
  row: element,
@@ -127,12 +133,18 @@ const _sfc_main = vue.defineComponent({
127
133
  item: element,
128
134
  index: index$4,
129
135
  abttrites: vue.unref(abttritesProps),
130
- extraAttrs: _ctx.extraAttrs,
136
+ extraAttrs: __props.extraAttrs,
131
137
  BASE_API: vue.unref(BASE_API_R),
132
138
  onClickTitle: clickTitle,
133
139
  onCellMouseEnter: tableCellMouseEnter,
134
140
  onCellMouseLeave: tableCellMouseLeave
135
141
  }, {
142
+ "after-index": vue.withCtx(() => [
143
+ vue.renderSlot(_ctx.$slots, "after-index", {
144
+ row: element,
145
+ index: index$4
146
+ })
147
+ ]),
136
148
  tip: vue.withCtx(() => [
137
149
  vue.renderSlot(_ctx.$slots, "tip", {
138
150
  row: element,
@@ -158,7 +170,7 @@ const _sfc_main = vue.defineComponent({
158
170
  index: index$4,
159
171
  parmas: vue.unref(parmasProps),
160
172
  abttrites: vue.unref(abttritesProps),
161
- extraAttrs: _ctx.extraAttrs,
173
+ extraAttrs: __props.extraAttrs,
162
174
  onClickTitle: clickTitle,
163
175
  onCellMouseEnter: tableCellMouseEnter,
164
176
  onCellMouseLeave: tableCellMouseLeave
@@ -181,7 +193,7 @@ const _sfc_main = vue.defineComponent({
181
193
  item: element,
182
194
  index: index$4,
183
195
  abttrites: vue.unref(abttritesProps),
184
- extraAttrs: _ctx.extraAttrs,
196
+ extraAttrs: __props.extraAttrs,
185
197
  onClickTitle: clickTitle,
186
198
  onCellMouseEnter: tableCellMouseEnter,
187
199
  onCellMouseLeave: tableCellMouseLeave
@@ -223,12 +235,18 @@ const _sfc_main = vue.defineComponent({
223
235
  index: index$4,
224
236
  parmas: vue.unref(parmasProps),
225
237
  abttrites: vue.unref(abttritesProps),
226
- extraAttrs: _ctx.extraAttrs,
238
+ extraAttrs: __props.extraAttrs,
227
239
  BASE_API: vue.unref(BASE_API_R),
228
240
  onClickTitle: clickTitle,
229
241
  onCellMouseEnter: tableCellMouseEnter,
230
242
  onCellMouseLeave: tableCellMouseLeave
231
243
  }, {
244
+ "after-index": vue.withCtx(() => [
245
+ vue.renderSlot(_ctx.$slots, "after-index", {
246
+ row: item,
247
+ index: index$4
248
+ })
249
+ ]),
232
250
  batch: vue.withCtx(() => [
233
251
  vue.renderSlot(_ctx.$slots, "batch", {
234
252
  row: item,
@@ -247,12 +265,18 @@ const _sfc_main = vue.defineComponent({
247
265
  item,
248
266
  index: index$4,
249
267
  abttrites: vue.unref(abttritesProps),
250
- extraAttrs: _ctx.extraAttrs,
268
+ extraAttrs: __props.extraAttrs,
251
269
  BASE_API: vue.unref(BASE_API_R),
252
270
  onClickTitle: clickTitle,
253
271
  onCellMouseEnter: tableCellMouseEnter,
254
272
  onCellMouseLeave: tableCellMouseLeave
255
273
  }, {
274
+ "after-index": vue.withCtx(() => [
275
+ vue.renderSlot(_ctx.$slots, "after-index", {
276
+ row: item,
277
+ index: index$4
278
+ })
279
+ ]),
256
280
  tip: vue.withCtx(() => [
257
281
  vue.renderSlot(_ctx.$slots, "tip", {
258
282
  row: item,
@@ -278,7 +302,7 @@ const _sfc_main = vue.defineComponent({
278
302
  index: index$4,
279
303
  parmas: vue.unref(parmasProps),
280
304
  abttrites: vue.unref(abttritesProps),
281
- extraAttrs: _ctx.extraAttrs,
305
+ extraAttrs: __props.extraAttrs,
282
306
  onClickTitle: clickTitle,
283
307
  onCellMouseEnter: tableCellMouseEnter,
284
308
  onCellMouseLeave: tableCellMouseLeave
@@ -301,7 +325,7 @@ const _sfc_main = vue.defineComponent({
301
325
  item,
302
326
  index: index$4,
303
327
  abttrites: vue.unref(abttritesProps),
304
- extraAttrs: _ctx.extraAttrs,
328
+ extraAttrs: __props.extraAttrs,
305
329
  onClickTitle: clickTitle,
306
330
  onCellMouseEnter: tableCellMouseEnter,
307
331
  onCellMouseLeave: tableCellMouseLeave
@@ -0,0 +1,93 @@
1
+ "use strict";
2
+ var vue = require("vue");
3
+ var webVue = require("@arco-design/web-vue");
4
+ var index = require("../../../../utils/index.js");
5
+ const _hoisted_1 = { class: "cover-view" };
6
+ const _hoisted_2 = { class: "info-view" };
7
+ const _hoisted_3 = { class: "abttrite-v" };
8
+ const _hoisted_4 = { class: "left" };
9
+ const _hoisted_5 = { class: "abttr" };
10
+ const _hoisted_6 = { class: "abttr time" };
11
+ const _hoisted_7 = { class: "right" };
12
+ const _sfc_main = vue.defineComponent({
13
+ __name: "index",
14
+ props: {
15
+ item: {},
16
+ abttrites: {},
17
+ extraAttrs: {}
18
+ },
19
+ emits: ["clickTitle", "cellMouseEnter", "cellMouseLeave"],
20
+ setup(__props, { emit: __emit }) {
21
+ const props = __props;
22
+ const emit = __emit;
23
+ const hide = vue.computed(() => {
24
+ const { hide: hide2 } = props.item;
25
+ return hide2 > 0;
26
+ });
27
+ const silent = vue.computed(() => {
28
+ return props.item && props.item.mourn_style === 1;
29
+ });
30
+ const mouseEnterFun = (event, row) => {
31
+ emit("cellMouseEnter", { row, event });
32
+ };
33
+ const mouseLeaveFun = (event, row) => {
34
+ emit("cellMouseLeave", { row, event });
35
+ };
36
+ const clickTitle = () => {
37
+ emit("clickTitle", props.item);
38
+ };
39
+ return (_ctx, _cache) => {
40
+ return vue.openBlock(), vue.createElementBlock("div", {
41
+ class: vue.normalizeClass(["medialist-account-item-view", { "gray-forbidden": hide.value, "gray-for-state-hide": silent.value }]),
42
+ onMouseenter: _cache[0] || (_cache[0] = ($event) => mouseEnterFun($event, __props.item)),
43
+ onMouseleave: _cache[1] || (_cache[1] = ($event) => mouseLeaveFun($event, __props.item))
44
+ }, [
45
+ vue.createElementVNode("div", _hoisted_1, [
46
+ vue.createVNode(vue.unref(webVue.Image), {
47
+ src: __props.item.avatar,
48
+ class: "image",
49
+ preview: false,
50
+ fit: "cover"
51
+ }, null, 8, ["src"])
52
+ ]),
53
+ vue.createElementVNode("div", _hoisted_2, [
54
+ vue.createElementVNode("div", {
55
+ class: "title",
56
+ onClick: clickTitle
57
+ }, vue.toDisplayString(__props.item.title), 1),
58
+ vue.createElementVNode("div", _hoisted_3, [
59
+ vue.createElementVNode("div", _hoisted_4, [
60
+ vue.renderSlot(_ctx.$slots, "tip"),
61
+ vue.createElementVNode("span", _hoisted_5, [
62
+ vue.createVNode(vue.unref(webVue.Tooltip), {
63
+ content: `${__props.item.desc}`,
64
+ placement: "top"
65
+ }, {
66
+ default: vue.withCtx(() => [
67
+ vue.createElementVNode("span", null, vue.toDisplayString(__props.item.desc || "--"), 1)
68
+ ]),
69
+ _: 1
70
+ }, 8, ["content"])
71
+ ]),
72
+ vue.createElementVNode("span", _hoisted_6, [
73
+ vue.createVNode(vue.unref(webVue.Tooltip), {
74
+ position: "top",
75
+ content: `\u521B\u5EFA\u65F6\u95F4: ${vue.unref(index.timeFormat)(__props.item.created_at)}`
76
+ }, {
77
+ default: vue.withCtx(() => [
78
+ vue.createElementVNode("span", null, vue.toDisplayString(vue.unref(index.timeFormat)(__props.item.created_at)), 1)
79
+ ]),
80
+ _: 1
81
+ }, 8, ["content"])
82
+ ])
83
+ ]),
84
+ vue.createElementVNode("div", _hoisted_7, [
85
+ vue.renderSlot(_ctx.$slots, "option", { row: __props.item })
86
+ ])
87
+ ])
88
+ ])
89
+ ], 34);
90
+ };
91
+ }
92
+ });
93
+ module.exports = _sfc_main;
@@ -30,7 +30,7 @@ const _sfc_main = vue.defineComponent({
30
30
  const comColumnsMap = vue.ref(typeMap.compoColumnsMap().value);
31
31
  const hide = vue.computed(() => {
32
32
  const { hide: hide2 } = props.item;
33
- return hide2 === 7 || hide2 === 6;
33
+ return hide2 > 0;
34
34
  });
35
35
  const silent = vue.computed(() => {
36
36
  return props.item && props.item.mourn_style === 1;
@@ -47,19 +47,19 @@ const _sfc_main = vue.defineComponent({
47
47
  return (_ctx, _cache) => {
48
48
  return vue.openBlock(), vue.createElementBlock("div", {
49
49
  class: vue.normalizeClass(["medialist-component-item-view", { "gray-forbidden": hide.value, "gray-for-state-hide": silent.value }]),
50
- onMouseenter: _cache[0] || (_cache[0] = ($event) => mouseEnterFun($event, _ctx.item)),
51
- onMouseleave: _cache[1] || (_cache[1] = ($event) => mouseLeaveFun($event, _ctx.item))
50
+ onMouseenter: _cache[0] || (_cache[0] = ($event) => mouseEnterFun($event, __props.item)),
51
+ onMouseleave: _cache[1] || (_cache[1] = ($event) => mouseLeaveFun($event, __props.item))
52
52
  }, [
53
53
  vue.createElementVNode("div", _hoisted_1, [
54
- _ctx.item.cover && _ctx.item.cover.data && _ctx.item.cover.data[0] ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Image), {
54
+ __props.item.cover && __props.item.cover.data && __props.item.cover.data[0] ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Image), {
55
55
  key: 0,
56
- src: _ctx.item.cover.data[0].thumb,
56
+ src: __props.item.cover.data[0].thumb,
57
57
  preview: false,
58
58
  fit: "cover",
59
59
  class: "image"
60
- }, null, 8, ["src"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_2, vue.toDisplayString(vue.unref(index.noCoverText)(_ctx.item)), 1)),
60
+ }, null, 8, ["src"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_2, vue.toDisplayString(vue.unref(index.noCoverText)(__props.item)), 1)),
61
61
  vue.createElementVNode("div", _hoisted_3, [
62
- vue.renderSlot(_ctx.$slots, "batch", { row: _ctx.item })
62
+ vue.renderSlot(_ctx.$slots, "batch", { row: __props.item })
63
63
  ])
64
64
  ]),
65
65
  vue.createElementVNode("div", _hoisted_4, [
@@ -68,23 +68,23 @@ const _sfc_main = vue.defineComponent({
68
68
  onClick: clickTitle
69
69
  }, [
70
70
  vue.renderSlot(_ctx.$slots, "index"),
71
- vue.createElementVNode("span", _hoisted_5, vue.toDisplayString(_ctx.item.alias || _ctx.item.title), 1)
71
+ vue.createElementVNode("span", _hoisted_5, vue.toDisplayString(__props.item.alias || __props.item.title), 1)
72
72
  ]),
73
73
  vue.createElementVNode("div", _hoisted_6, [
74
74
  vue.createElementVNode("div", _hoisted_7, [
75
75
  vue.createVNode(component, {
76
76
  class: "icon",
77
77
  doc: true,
78
- type: _ctx.item.series
78
+ type: __props.item.series
79
79
  }, null, 8, ["type"]),
80
80
  vue.createElementVNode("span", _hoisted_8, [
81
- vue.createTextVNode(vue.toDisplayString(comColumnsMap.value[_ctx.item.columns]) + "\u7EC4\u4EF6", 1),
81
+ vue.createTextVNode(vue.toDisplayString(comColumnsMap.value[__props.item.columns]) + "\u7EC4\u4EF6", 1),
82
82
  vue.renderSlot(_ctx.$slots, "tip")
83
83
  ]),
84
- vue.createElementVNode("span", _hoisted_9, "\u53D1\u5E03\u65F6\u95F4: " + vue.toDisplayString(vue.unref(index.timeFormat)(_ctx.item.pub_time)), 1)
84
+ vue.createElementVNode("span", _hoisted_9, "\u53D1\u5E03\u65F6\u95F4: " + vue.toDisplayString(vue.unref(index.timeFormat)(__props.item.pub_time)), 1)
85
85
  ]),
86
86
  vue.createElementVNode("div", _hoisted_10, [
87
- vue.renderSlot(_ctx.$slots, "option", { row: _ctx.item })
87
+ vue.renderSlot(_ctx.$slots, "option", { row: __props.item })
88
88
  ])
89
89
  ])
90
90
  ])
@@ -37,7 +37,7 @@ const _sfc_main = vue.defineComponent({
37
37
  const emit = __emit;
38
38
  const hide = vue.computed(() => {
39
39
  const { hide: hide2 } = props.item;
40
- return hide2 === 7 || hide2 === 6;
40
+ return hide2 > 0;
41
41
  });
42
42
  const silent = vue.computed(() => {
43
43
  return props.item && props.item.mourn_style === 1;
@@ -54,19 +54,19 @@ const _sfc_main = vue.defineComponent({
54
54
  return (_ctx, _cache) => {
55
55
  return vue.openBlock(), vue.createElementBlock("div", {
56
56
  class: vue.normalizeClass(["medialist-component-item-view", { "gray-forbidden": hide.value, "gray-for-state-hide": silent.value }]),
57
- onMouseenter: _cache[0] || (_cache[0] = ($event) => mouseEnterFun($event, _ctx.item)),
58
- onMouseleave: _cache[1] || (_cache[1] = ($event) => mouseLeaveFun($event, _ctx.item))
57
+ onMouseenter: _cache[0] || (_cache[0] = ($event) => mouseEnterFun($event, __props.item)),
58
+ onMouseleave: _cache[1] || (_cache[1] = ($event) => mouseLeaveFun($event, __props.item))
59
59
  }, [
60
60
  vue.createElementVNode("div", _hoisted_1, [
61
- _ctx.item.cover && _ctx.item.cover.data && _ctx.item.cover.data[0] ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Image), {
61
+ __props.item.cover && __props.item.cover.data && __props.item.cover.data[0] ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Image), {
62
62
  key: 0,
63
- src: _ctx.item.cover.data[0].thumb,
63
+ src: __props.item.cover.data[0].thumb,
64
64
  preview: false,
65
65
  fit: "cover",
66
66
  class: "image"
67
- }, null, 8, ["src"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_2, vue.toDisplayString(vue.unref(index.noCoverText)(_ctx.item)), 1)),
67
+ }, null, 8, ["src"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_2, vue.toDisplayString(vue.unref(index.noCoverText)(__props.item)), 1)),
68
68
  vue.createElementVNode("div", _hoisted_3, [
69
- vue.renderSlot(_ctx.$slots, "batch", { row: _ctx.item })
69
+ vue.renderSlot(_ctx.$slots, "batch", { row: __props.item })
70
70
  ])
71
71
  ]),
72
72
  vue.createElementVNode("div", _hoisted_4, [
@@ -75,7 +75,7 @@ const _sfc_main = vue.defineComponent({
75
75
  onClick: clickTitle
76
76
  }, [
77
77
  vue.renderSlot(_ctx.$slots, "index"),
78
- vue.createElementVNode("span", _hoisted_5, vue.toDisplayString(_ctx.item.alias || _ctx.item.title), 1),
78
+ vue.createElementVNode("span", _hoisted_5, vue.toDisplayString(__props.item.alias || __props.item.title), 1),
79
79
  vue.createElementVNode("span", _hoisted_6, [
80
80
  vue.renderSlot(_ctx.$slots, "tips")
81
81
  ]),
@@ -87,12 +87,12 @@ const _sfc_main = vue.defineComponent({
87
87
  default: vue.withCtx(() => {
88
88
  var _a, _b, _c, _d;
89
89
  return [
90
- ((_b = (_a = _ctx.parmas) == null ? void 0 : _a.labelTip) == null ? void 0 : _b.info(_ctx.item)) ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_7, [
90
+ ((_b = (_a = __props.parmas) == null ? void 0 : _a.labelTip) == null ? void 0 : _b.info(__props.item)) ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_7, [
91
91
  vue.createVNode(vue.unref(icon.IconInfoCircle), {
92
92
  class: "icon",
93
93
  size: "16"
94
94
  }),
95
- vue.createElementVNode("span", null, vue.toDisplayString(((_d = (_c = _ctx.parmas) == null ? void 0 : _c.labelTip) == null ? void 0 : _d.info(_ctx.item)) || ""), 1)
95
+ vue.createElementVNode("span", null, vue.toDisplayString(((_d = (_c = __props.parmas) == null ? void 0 : _c.labelTip) == null ? void 0 : _d.info(__props.item)) || ""), 1)
96
96
  ])) : vue.createCommentVNode("v-if", true)
97
97
  ];
98
98
  }),
@@ -104,17 +104,17 @@ const _sfc_main = vue.defineComponent({
104
104
  vue.createVNode(component, {
105
105
  class: "icon",
106
106
  doc: true,
107
- type: _ctx.item.series
107
+ type: __props.item.series
108
108
  }, null, 8, ["type"]),
109
109
  vue.createElementVNode("span", _hoisted_10, [
110
- vue.createTextVNode(vue.toDisplayString(vue.unref(typeMap.contentList_relation_type_map)[_ctx.item.relation_type]) + "\u9891\u9053", 1),
110
+ vue.createTextVNode(vue.toDisplayString(vue.unref(typeMap.contentList_relation_type_map)[__props.item.relation_type]) + "\u9891\u9053", 1),
111
111
  vue.renderSlot(_ctx.$slots, "tip")
112
112
  ]),
113
- vue.createElementVNode("span", _hoisted_11, vue.toDisplayString(vue.unref(typeMap.contentList_layout_map)[_ctx.item.list_layout || "blank"]), 1),
114
- vue.createElementVNode("span", _hoisted_12, "\u53D1\u5E03\u65F6\u95F4: " + vue.toDisplayString(vue.unref(index.timeFormat)(_ctx.item.pub_time)), 1)
113
+ vue.createElementVNode("span", _hoisted_11, vue.toDisplayString(vue.unref(typeMap.contentList_layout_map)[__props.item.list_layout || "blank"]), 1),
114
+ vue.createElementVNode("span", _hoisted_12, "\u53D1\u5E03\u65F6\u95F4: " + vue.toDisplayString(vue.unref(index.timeFormat)(__props.item.pub_time)), 1)
115
115
  ]),
116
116
  vue.createElementVNode("div", _hoisted_13, [
117
- vue.renderSlot(_ctx.$slots, "option", { row: _ctx.item })
117
+ vue.renderSlot(_ctx.$slots, "option", { row: __props.item })
118
118
  ])
119
119
  ])
120
120
  ])
@@ -31,39 +31,39 @@ const _sfc_main = vue.defineComponent({
31
31
  emit("showUserInfo", data);
32
32
  };
33
33
  return (_ctx, _cache) => {
34
- return _ctx.item ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1, [
35
- _ctx.item.status === 1 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2, [
36
- _ctx.item.current_processes ? (vue.openBlock(), vue.createElementBlock("span", {
34
+ return __props.item ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1, [
35
+ __props.item.status === 1 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2, [
36
+ __props.item.current_processes ? (vue.openBlock(), vue.createElementBlock("span", {
37
37
  key: 0,
38
38
  class: vue.normalizeClass({
39
- "checking-user": !calcIsRobot(_ctx.item),
40
- "checking-ai": calcIsRobot(_ctx.item)
39
+ "checking-user": !calcIsRobot(__props.item),
40
+ "checking-ai": calcIsRobot(__props.item)
41
41
  }),
42
- onClick: _cache[0] || (_cache[0] = vue.withModifiers(($event) => showUserInfo(_ctx.item), ["stop"]))
42
+ onClick: _cache[0] || (_cache[0] = vue.withModifiers(($event) => showUserInfo(__props.item), ["stop"]))
43
43
  }, [
44
- vue.createElementVNode("span", null, vue.toDisplayString(vue.unref(typeMap.calcApprovingUser)(_ctx.item)), 1),
44
+ vue.createElementVNode("span", null, vue.toDisplayString(vue.unref(typeMap.calcApprovingUser)(__props.item)), 1),
45
45
  vue.createElementVNode("span", null, [
46
- vue.createTextVNode(vue.toDisplayString(vue.unref(typeMap.approveFlowStatusMap)[_ctx.item.status]) + " ", 1),
47
- vue.createElementVNode("span", null, vue.toDisplayString(vue.unref(typeMap.calcApprovingDependent)(_ctx.item)), 1)
46
+ vue.createTextVNode(vue.toDisplayString(vue.unref(typeMap.approveFlowStatusMap)[__props.item.status]) + " ", 1),
47
+ vue.createElementVNode("span", null, vue.toDisplayString(vue.unref(typeMap.calcApprovingDependent)(__props.item)), 1)
48
48
  ])
49
49
  ], 2)) : vue.createCommentVNode("v-if", true)
50
- ])) : [2, 3].includes(_ctx.item.status) ? (vue.openBlock(), vue.createElementBlock("span", {
50
+ ])) : [2, 3].includes(__props.item.status) ? (vue.openBlock(), vue.createElementBlock("span", {
51
51
  key: 1,
52
52
  class: vue.normalizeClass({
53
- failure: _ctx.item.status === 2,
54
- pass: _ctx.item.status === 3
53
+ failure: __props.item.status === 2,
54
+ pass: __props.item.status === 3
55
55
  })
56
56
  }, [
57
- vue.createTextVNode(vue.toDisplayString(vue.unref(typeMap.approveFlowStatusMap)[_ctx.item.status]) + " ", 1),
58
- vue.createElementVNode("span", null, vue.toDisplayString(vue.unref(typeMap.calcApprovingDependent)(_ctx.item)), 1)
57
+ vue.createTextVNode(vue.toDisplayString(vue.unref(typeMap.approveFlowStatusMap)[__props.item.status]) + " ", 1),
58
+ vue.createElementVNode("span", null, vue.toDisplayString(vue.unref(typeMap.calcApprovingDependent)(__props.item)), 1)
59
59
  ], 2)) : (vue.openBlock(), vue.createElementBlock("span", {
60
60
  key: 2,
61
61
  class: vue.normalizeClass({
62
- revoke: [0, 4].includes(_ctx.item.status),
63
- pass: _ctx.item.status === 5,
64
- checking: [6, 7].includes(_ctx.item.status)
62
+ revoke: [0, 4].includes(__props.item.status),
63
+ pass: __props.item.status === 5,
64
+ checking: [6, 7].includes(__props.item.status)
65
65
  })
66
- }, vue.toDisplayString(vue.unref(typeMap.approveFlowStatusMap)[_ctx.item.status]), 3))
66
+ }, vue.toDisplayString(vue.unref(typeMap.approveFlowStatusMap)[__props.item.status]), 3))
67
67
  ])) : vue.createCommentVNode("v-if", true);
68
68
  };
69
69
  }