@cmstops/pro-compo 3.9.1-stable.7 → 3.9.1-stable.9

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 (447) hide show
  1. package/es/appCenter/component.d.ts +0 -0
  2. package/es/appCenter/index.d.ts +2 -0
  3. package/es/appCenter/script/api.d.ts +11 -0
  4. package/es/appCenter/script/apps.d.ts +14 -0
  5. package/es/appCenter/script/permissionMap.d.ts +6 -0
  6. package/es/appCenter/script/routeMap.d.ts +4 -0
  7. package/es/appCenter/style/index.d.ts +1 -0
  8. package/es/baseFilter/component.d.ts +0 -0
  9. package/es/baseFilter/components/FilterGroup.d.ts +0 -0
  10. package/es/baseFilter/components/FilterGroup.js +1 -1
  11. package/es/baseFilter/components/filterItem.d.ts +0 -0
  12. package/es/baseFilter/components/filterItem.js +1 -1
  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/component.js +1 -1
  18. package/es/colorPalette/components/colorPicker.d.ts +0 -0
  19. package/es/colorPalette/index.d.ts +2 -0
  20. package/es/colorPalette/style/index.d.ts +1 -0
  21. package/es/components.d.ts +5 -0
  22. package/es/config.d.ts +4 -0
  23. package/es/contentDetailList/__demo__/matrix/platform.d.ts +36 -0
  24. package/es/contentDetailList/component.d.ts +0 -0
  25. package/es/contentDetailList/component.js +8 -8
  26. package/es/contentDetailList/components/Content/CompoItem/index.d.ts +0 -0
  27. package/es/contentDetailList/components/Content/CompoItem/index.js +11 -11
  28. package/es/contentDetailList/components/Content/ContentListItem/index.d.ts +0 -0
  29. package/es/contentDetailList/components/Content/ContentListItem/index.js +14 -14
  30. package/es/contentDetailList/components/Content/DocItem/ApprovalStateMap/index.d.ts +0 -0
  31. package/es/contentDetailList/components/Content/DocItem/ApprovalStateMap/index.js +18 -18
  32. package/es/contentDetailList/components/Content/DocItem/index.d.ts +0 -0
  33. package/es/contentDetailList/components/Content/DocItem/index.js +26 -26
  34. package/es/contentDetailList/components/Content/DocMpItem/index.d.ts +0 -0
  35. package/es/contentDetailList/components/Content/DocMpItem/index.js +12 -12
  36. package/es/contentDetailList/components/Content/GroupPieceItem/index.d.ts +0 -0
  37. package/es/contentDetailList/components/Content/GroupPieceItem/index.js +10 -10
  38. package/es/contentDetailList/components/Content/KongoNavItem/index.d.ts +0 -0
  39. package/es/contentDetailList/components/Content/KongoNavItem/index.js +13 -13
  40. package/es/contentDetailList/components/Content/LiveItem/index.d.ts +0 -0
  41. package/es/contentDetailList/components/Content/LiveItem/index.js +8 -8
  42. package/es/contentDetailList/components/Content/MaccountItem/index.d.ts +0 -0
  43. package/es/contentDetailList/components/Content/MaccountItem/index.js +11 -11
  44. package/es/contentDetailList/components/Content/courseItem/index.d.ts +0 -0
  45. package/es/contentDetailList/components/Content/courseItem/index.js +9 -9
  46. package/es/contentDetailList/components/Content/funhdItem/index.d.ts +0 -0
  47. package/es/contentDetailList/components/Content/funhdItem/index.js +9 -9
  48. package/es/contentDetailList/components/Content/index.d.ts +0 -0
  49. package/es/contentDetailList/components/Content/index.js +117 -117
  50. package/es/contentDetailList/components/CustomWrp/CustomItem.d.ts +0 -0
  51. package/es/contentDetailList/components/CustomWrp/CustomItem.js +4 -4
  52. package/es/contentDetailList/components/CustomWrp/index.d.ts +0 -0
  53. package/es/contentDetailList/components/CustomWrp/index.js +10 -10
  54. package/es/contentDetailList/components/Doc/index.d.ts +0 -0
  55. package/es/contentDetailList/components/Doc/index.js +11 -11
  56. package/es/contentDetailList/components/Records/MatrixItem/index.d.ts +0 -0
  57. package/es/contentDetailList/components/Records/MatrixItem/index.js +22 -22
  58. package/es/contentDetailList/components/Records/index.d.ts +0 -0
  59. package/es/contentDetailList/components/Records/index.js +8 -8
  60. package/es/contentDetailList/components/ShowQRCode/QrcodeView/index.d.ts +0 -0
  61. package/es/contentDetailList/components/ShowQRCode/QrcodeView/index.js +8 -10
  62. package/es/contentDetailList/components/ShowQRCode/index.d.ts +0 -0
  63. package/es/contentDetailList/components/ShowQRCode/index.js +1 -1
  64. package/es/contentDetailList/index.d.ts +2 -0
  65. package/es/contentDetailList/script/api.d.ts +6 -0
  66. package/es/contentDetailList/style/index.d.ts +1 -0
  67. package/es/contentModal/component.d.ts +0 -0
  68. package/es/contentModal/component.js +48 -56
  69. package/es/contentModal/components/CompoList/CompoFilter/index.d.ts +0 -0
  70. package/es/contentModal/components/CompoList/index.d.ts +0 -0
  71. package/es/contentModal/components/CompoList/index.js +1 -1
  72. package/es/contentModal/components/ContentList/MediaFilter/index.d.ts +0 -0
  73. package/es/contentModal/components/ContentList/index.d.ts +0 -0
  74. package/es/contentModal/components/Dejin/MediaFilter/index.d.ts +0 -0
  75. package/es/contentModal/components/Dejin/index.d.ts +0 -0
  76. package/es/contentModal/components/Dejin/index.js +1 -1
  77. package/es/contentModal/components/EqxiuList/MediaFilter/index.d.ts +0 -0
  78. package/es/contentModal/components/EqxiuList/index.d.ts +0 -0
  79. package/es/contentModal/components/LiveList/MediaFilter/index.d.ts +0 -0
  80. package/es/contentModal/components/LiveList/index.d.ts +0 -0
  81. package/es/contentModal/components/MpAccountList/MpAccountFilter/index.d.ts +0 -0
  82. package/es/contentModal/components/MpAccountList/index.d.ts +0 -0
  83. package/es/contentModal/components/MpContentList/MediaFilter/index.d.ts +0 -0
  84. package/es/contentModal/components/MpContentList/MediaFilter/index.js +2 -2
  85. package/es/contentModal/components/MpContentList/index.d.ts +0 -0
  86. package/es/contentModal/components/MpContentList/index.js +1 -1
  87. package/es/contentModal/components/ViewAllColumn/MediaFilter/index.d.ts +0 -0
  88. package/es/contentModal/components/ViewAllColumn/MediaFilter/index.js +4 -5
  89. package/es/contentModal/components/ViewAllColumn/columnTree/index.d.ts +0 -0
  90. package/es/contentModal/components/ViewAllColumn/index.d.ts +0 -0
  91. package/es/contentModal/components/ViewAllColumn/index.js +41 -19
  92. package/es/contentModal/components/storeBox/index.d.ts +0 -0
  93. package/es/contentModal/components/storeBox/index.js +10 -12
  94. package/es/contentModal/index.d.ts +2 -0
  95. package/es/contentModal/script/api.d.ts +18 -0
  96. package/es/contentModal/style/index.d.ts +1 -0
  97. package/es/dataTags/component.d.ts +0 -0
  98. package/es/dataTags/component.js +43 -48
  99. package/es/dataTags/index.d.ts +2 -0
  100. package/es/dataTags/style/index.d.ts +1 -0
  101. package/es/docHistory/component.d.ts +0 -0
  102. package/es/docHistory/component.js +5 -6
  103. package/es/docHistory/components/DocDiffPanel/index.d.ts +0 -0
  104. package/es/docHistory/components/DocDiffPanel/index.js +2 -2
  105. package/es/docHistory/components/DocHistoryList/index.d.ts +0 -0
  106. package/es/docHistory/components/DocHistoryList/index.js +2 -2
  107. package/es/docHistory/index.d.ts +2 -0
  108. package/es/docHistory/scripts/diff.d.ts +1 -0
  109. package/es/docHistory/scripts/useDocHistory.d.ts +10 -0
  110. package/es/docHistory/style/index.d.ts +1 -0
  111. package/es/docPreview/component.d.ts +0 -0
  112. package/es/docPreview/component.js +20 -25
  113. package/es/docPreview/components/PreviewIframe.d.ts +0 -0
  114. package/es/docPreview/components/PreviewIframe.js +2 -2
  115. package/es/docPreview/index.d.ts +2 -0
  116. package/es/docPreview/scripts/api.d.ts +1 -0
  117. package/es/docPreview/scripts/hook.d.ts +33 -0
  118. package/es/docPreview/style/index.d.ts +1 -0
  119. package/es/editMetaInfo/component.d.ts +0 -0
  120. package/es/editMetaInfo/components/metaInfoForm.d.ts +0 -0
  121. package/es/editMetaInfo/components/metaInfoForm.js +13 -15
  122. package/es/editMetaInfo/index.d.ts +2 -0
  123. package/es/editMetaInfo/script/api.d.ts +6 -0
  124. package/es/editMetaInfo/script/restaurants.d.ts +4 -0
  125. package/es/editMetaInfo/style/index.d.ts +1 -0
  126. package/es/emptyData/component.d.ts +0 -0
  127. package/es/emptyData/component.js +4 -4
  128. package/es/emptyData/index.d.ts +2 -0
  129. package/es/emptyData/style/index.d.ts +1 -0
  130. package/es/emptyData/svg/acount.js +2 -2
  131. package/es/emptyData/svg/add.d.ts +0 -0
  132. package/es/emptyData/svg/add.js +2 -2
  133. package/es/emptyData/svg/analize.js +2 -2
  134. package/es/emptyData/svg/analize_fail.js +2 -2
  135. package/es/emptyData/svg/empty.js +2 -2
  136. package/es/emptyData/svg/file.js +2 -2
  137. package/es/emptyData/svg/manager.js +2 -2
  138. package/es/emptyData/svg/message.js +2 -2
  139. package/es/emptyData/svg/noanalize.js +2 -2
  140. package/es/emptyData/svg/null.js +2 -2
  141. package/es/emptyData/svg/search.js +2 -2
  142. package/es/emptyData/svg/star.js +2 -2
  143. package/es/emptyData/svg/trash.js +2 -2
  144. package/es/emptyData/svg/user.js +2 -2
  145. package/es/hooks/assets.d.ts +1 -0
  146. package/es/hooks/batch.d.ts +8 -0
  147. package/es/hooks/dialogVisible.d.ts +8 -0
  148. package/es/hooks/source.d.ts +9 -0
  149. package/es/hooks/toggle.d.ts +6 -0
  150. package/es/hooks/useAttachement.d.ts +53 -0
  151. package/es/hooks/useLocalStorage.d.ts +10 -0
  152. package/es/hooks/useMediaContext.d.ts +12 -0
  153. package/es/hooks/usePopper.d.ts +8 -0
  154. package/es/hooks/useSelection.d.ts +30 -0
  155. package/es/hooks/useUpload.d.ts +78 -0
  156. package/es/hooks/user.d.ts +9 -0
  157. package/es/imageCrop/component.d.ts +0 -0
  158. package/es/imageCrop/component.js +13 -15
  159. package/es/imageCrop/index.d.ts +2 -0
  160. package/es/imageCrop/script/api.d.ts +1 -0
  161. package/es/imageCrop/style/index.d.ts +1 -0
  162. package/es/importData/component.d.ts +0 -0
  163. package/es/importData/component.js +16 -19
  164. package/es/importData/index.d.ts +2 -0
  165. package/es/importData/style/index.d.ts +1 -0
  166. package/es/index.d.ts +31 -0
  167. package/es/mediaFilter/component.d.ts +0 -0
  168. package/es/mediaFilter/component.js +4 -4
  169. package/es/mediaFilter/components/DocFilter.d.ts +0 -0
  170. package/es/mediaFilter/components/DocFilter.js +2 -3
  171. package/es/mediaFilter/components/FilterGroup.d.ts +0 -0
  172. package/es/mediaFilter/components/FilterGroup.js +1 -1
  173. package/es/mediaFilter/components/FilterItem.d.ts +0 -0
  174. package/es/mediaFilter/components/FilterItem.js +1 -1
  175. package/es/mediaFilter/components/MpAccountFilter.d.ts +0 -0
  176. package/es/mediaFilter/components/MpContentFilter.d.ts +0 -0
  177. package/es/mediaFilter/index.d.ts +3 -0
  178. package/es/mediaFilter/script/optionsGetter.d.ts +26 -0
  179. package/es/mediaFilter/script/types.d.ts +16 -0
  180. package/es/mediaFilter/style/index.d.ts +1 -0
  181. package/es/mediaView/component.d.ts +0 -0
  182. package/es/mediaView/component.js +8 -8
  183. package/es/mediaView/index.d.ts +2 -0
  184. package/es/mediaView/style/index.d.ts +1 -0
  185. package/es/messageBox/component.d.ts +0 -0
  186. package/es/messageBox/component.js +3 -3
  187. package/es/messageBox/index.d.ts +2 -0
  188. package/es/messageBox/list.d.ts +0 -0
  189. package/es/messageBox/script/api.d.ts +6 -0
  190. package/es/messageBox/style/index.d.ts +1 -0
  191. package/es/previousVersion/component.d.ts +0 -0
  192. package/es/previousVersion/index.d.ts +2 -0
  193. package/es/previousVersion/script/api.d.ts +15 -0
  194. package/es/previousVersion/script/tool.d.ts +6 -0
  195. package/es/previousVersion/style/index.d.ts +1 -0
  196. package/es/resourceGridList/component.d.ts +0 -0
  197. package/es/resourceGridList/component.js +18 -20
  198. package/es/resourceGridList/components/FileTypeThumb/index.d.ts +0 -0
  199. package/es/resourceGridList/components/FileTypeThumb/index.js +6 -6
  200. package/es/resourceGridList/index.d.ts +2 -0
  201. package/es/resourceGridList/style/index.d.ts +1 -0
  202. package/es/resourceModal/component.d.ts +0 -0
  203. package/es/resourceModal/component.js +7 -7
  204. package/es/resourceModal/components/MediaPreviewer/index.d.ts +0 -0
  205. package/es/resourceModal/components/MediaPreviewer/index.js +8 -8
  206. package/es/resourceModal/components/MediaSelection/DocAiMediaSelected/index.d.ts +0 -0
  207. package/es/resourceModal/components/MediaSelection/DocAiMediaSelected/index.js +6 -7
  208. package/es/resourceModal/components/MediaSelection/MainContent/FileTypeThumb/index.d.ts +0 -0
  209. package/es/resourceModal/components/MediaSelection/MainContent/FileTypeThumb/index.js +6 -6
  210. package/es/resourceModal/components/MediaSelection/MainContent/index.d.ts +0 -0
  211. package/es/resourceModal/components/MediaSelection/MainContent/index.js +20 -22
  212. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.d.ts +0 -0
  213. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.js +3 -3
  214. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.d.ts +0 -0
  215. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.js +3 -3
  216. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/index.d.ts +0 -0
  217. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/index.js +2 -2
  218. package/es/resourceModal/components/MediaSelection/ToolbarSearch/index.d.ts +0 -0
  219. package/es/resourceModal/components/MediaSelection/ToolbarSearch/index.js +4 -4
  220. package/es/resourceModal/components/MediaSelection/index.d.ts +0 -0
  221. package/es/resourceModal/components/MediaSelection/index.js +6 -6
  222. package/es/resourceModal/index.d.ts +2 -0
  223. package/es/resourceModal/script/api.d.ts +25 -0
  224. package/es/resourceModal/script/mediaSelection.d.ts +14 -0
  225. package/es/resourceModal/style/index.d.ts +1 -0
  226. package/es/selectAddTo/component.d.ts +0 -0
  227. package/es/selectAddTo/components/SelectAddToView.d.ts +0 -0
  228. package/es/selectAddTo/components/SelectAddToView.js +14 -15
  229. package/es/selectAddTo/components/ViewAllColumn/MediaFilter/index.d.ts +0 -0
  230. package/es/selectAddTo/components/ViewAllColumn/MediaFilter/index.js +3 -3
  231. package/es/selectAddTo/components/ViewAllColumn/index.d.ts +0 -0
  232. package/es/selectAddTo/components/ViewAllColumn/index.js +3 -3
  233. package/es/selectAddTo/components/ViewAllColumn/script/useTableColumns.d.ts +6 -0
  234. package/es/selectAddTo/components/ViewAllColumn/script/useViewAllColumnState.d.ts +144 -0
  235. package/es/selectAddTo/components/ViewAllColumn/types/index.d.ts +55 -0
  236. package/es/selectAddTo/index.d.ts +2 -0
  237. package/es/selectAddTo/script/api.d.ts +18 -0
  238. package/es/selectAddTo/script/index.d.ts +2 -0
  239. package/es/selectAddTo/script/useSelectAddToState.d.ts +13 -0
  240. package/es/selectAddTo/style/index.d.ts +1 -0
  241. package/es/selectAddTo/types/index.d.ts +37 -0
  242. package/es/selectAvatarList/component.d.ts +0 -0
  243. package/es/selectAvatarList/index.d.ts +2 -0
  244. package/es/selectAvatarList/style/index.d.ts +1 -0
  245. package/es/selectGategory/component.d.ts +0 -0
  246. package/es/selectGategory/component.js +5 -5
  247. package/es/selectGategory/components/ColumnSelection/index.d.ts +0 -0
  248. package/es/selectGategory/components/ColumnSelection/index.js +6 -6
  249. package/es/selectGategory/index.d.ts +2 -0
  250. package/es/selectGategory/script/api.d.ts +6 -0
  251. package/es/selectGategory/style/index.d.ts +1 -0
  252. package/es/selectResourceModal/__demo__/module/DivWrapper.d.ts +261 -0
  253. package/es/selectResourceModal/__demo__/module/basic.d.ts +292 -0
  254. package/es/selectResourceModal/component.d.ts +0 -0
  255. package/es/selectResourceModal/component.js +29 -42
  256. package/es/selectResourceModal/components/List/ListAi/index.d.ts +0 -0
  257. package/es/selectResourceModal/components/List/ListCardWrapper.d.ts +0 -0
  258. package/es/selectResourceModal/components/List/ListCardWrapper.js +6 -6
  259. package/es/selectResourceModal/components/List/ListLocal/Upload.d.ts +0 -0
  260. package/es/selectResourceModal/components/List/ListLocal/Upload.js +2 -3
  261. package/es/selectResourceModal/components/List/ListLocal/index.d.ts +0 -0
  262. package/es/selectResourceModal/components/List/ListNormal/Filter.d.ts +0 -0
  263. package/es/selectResourceModal/components/List/ListNormal/Filter.js +18 -22
  264. package/es/selectResourceModal/components/List/ListNormal/index.d.ts +0 -0
  265. package/es/selectResourceModal/components/List/ListSystem/Filter.d.ts +0 -0
  266. package/es/selectResourceModal/components/List/ListSystem/Filter.js +4 -5
  267. package/es/selectResourceModal/components/List/ListSystem/SubList.d.ts +0 -0
  268. package/es/selectResourceModal/components/List/ListSystem/SubList.js +3 -3
  269. package/es/selectResourceModal/components/List/ListSystem/index.d.ts +0 -0
  270. package/es/selectResourceModal/components/List/ListSystem/index.js +2 -2
  271. package/es/selectResourceModal/components/List/ListVideo/index.d.ts +0 -0
  272. package/es/selectResourceModal/components/List/ListWraper.d.ts +0 -0
  273. package/es/selectResourceModal/components/List/ListWraper.js +2 -2
  274. package/es/selectResourceModal/components/ListSelected/index.d.ts +0 -0
  275. package/es/selectResourceModal/components/ListSelected/index.js +6 -6
  276. package/es/selectResourceModal/components/ListTabs/index.d.ts +0 -0
  277. package/es/selectResourceModal/components/ListTabs/index.js +1 -1
  278. package/es/selectResourceModal/hooks/useResponsiveFilter.d.ts +21 -0
  279. package/es/selectResourceModal/index.d.ts +2 -0
  280. package/es/selectResourceModal/scripts/selectionApis.d.ts +2 -0
  281. package/es/selectResourceModal/scripts/useCompoLf.d.ts +27 -0
  282. package/es/selectResourceModal/scripts/useResourceSelect.d.ts +7 -0
  283. package/es/selectResourceModal/scripts/useTabFilter.d.ts +22 -0
  284. package/es/selectResourceModal/scripts/useTabFilter.js +1 -11
  285. package/es/selectResourceModal/style/index.d.ts +1 -0
  286. package/es/selectThumb/component.d.ts +0 -0
  287. package/es/selectThumb/component.js +29 -29
  288. package/es/selectThumb/components/card.d.ts +0 -0
  289. package/es/selectThumb/components/card.js +3 -3
  290. package/es/selectThumb/components/colorPalette.d.ts +0 -0
  291. package/es/selectThumb/components/colorPicker.d.ts +0 -0
  292. package/es/selectThumb/index.d.ts +2 -0
  293. package/es/selectThumb/style/index.d.ts +1 -0
  294. package/es/thumbCard/component.d.ts +0 -0
  295. package/es/thumbCard/component.js +7 -7
  296. package/es/thumbCard/components/ThumbUploading/index.d.ts +0 -0
  297. package/es/thumbCard/components/ThumbUploading/index.js +3 -3
  298. package/es/thumbCard/index.d.ts +2 -0
  299. package/es/thumbCard/style/index.d.ts +1 -0
  300. package/es/typeIcons/component.d.ts +0 -0
  301. package/es/typeIcons/index.d.ts +2 -0
  302. package/es/typeIcons/style/index.d.ts +1 -0
  303. package/es/uploadBefore/component.d.ts +0 -0
  304. package/es/uploadBefore/component.js +1 -1
  305. package/es/uploadBefore/components/UploadBefore.d.ts +0 -0
  306. package/es/uploadBefore/components/UploadBefore.js +9 -9
  307. package/es/uploadBefore/components/UploadForClick.d.ts +0 -0
  308. package/es/uploadBefore/index.d.ts +2 -0
  309. package/es/uploadBefore/script/api.d.ts +16 -0
  310. package/es/uploadBefore/script/fileTypeAdapter.d.ts +39 -0
  311. package/es/uploadBefore/script/fileUpload.d.ts +7 -0
  312. package/es/uploadBefore/script/uploadHooks.d.ts +96 -0
  313. package/es/uploadBefore/style/index.d.ts +1 -0
  314. package/es/uploadBefore/utils/dragUploadEvent.d.ts +0 -0
  315. package/es/uploadStep/component.d.ts +0 -0
  316. package/es/uploadStep/component.js +3 -3
  317. package/es/uploadStep/index.d.ts +2 -0
  318. package/es/uploadStep/script/fileTypeAdapter.d.ts +20 -0
  319. package/es/uploadStep/style/index.d.ts +1 -0
  320. package/es/userAvater/component.d.ts +0 -0
  321. package/es/userAvater/component.js +4 -5
  322. package/es/userAvater/index.d.ts +2 -0
  323. package/es/userAvater/script/api.d.ts +8 -0
  324. package/es/userAvater/style/index.d.ts +1 -0
  325. package/es/userDirector/component.d.ts +0 -0
  326. package/es/userDirector/component.js +6 -7
  327. package/es/userDirector/components/userTree.d.ts +0 -0
  328. package/es/userDirector/components/userTree.js +2 -2
  329. package/es/userDirector/index.d.ts +2 -0
  330. package/es/userDirector/script/api.d.ts +10 -0
  331. package/es/userDirector/style/index.d.ts +1 -0
  332. package/es/utils/auth.d.ts +5 -0
  333. package/es/utils/date.d.ts +3 -0
  334. package/es/utils/doc.d.ts +76 -0
  335. package/es/utils/filter.d.ts +21 -0
  336. package/es/utils/index.d.ts +17 -0
  337. package/es/utils/request.d.ts +9 -0
  338. package/es/utils/resource.d.ts +4 -0
  339. package/es/utils/transcodeMedia.d.ts +13 -0
  340. package/es/utils/tusUpload.d.ts +16 -0
  341. package/es/utils/typeMap.d.ts +185 -0
  342. package/es/utils/uploadCatalog.d.ts +1 -0
  343. package/es/videoThumb/component.d.ts +0 -0
  344. package/es/videoThumb/index.d.ts +2 -0
  345. package/es/videoThumb/scripts/api.d.ts +9 -0
  346. package/es/videoThumb/scripts/useVideoThumbs.d.ts +12 -0
  347. package/es/videoThumb/style/index.d.ts +1 -0
  348. package/lib/baseFilter/components/FilterGroup.js +1 -1
  349. package/lib/baseFilter/components/filterItem.js +1 -1
  350. package/lib/colorPalette/component.js +1 -1
  351. package/lib/contentDetailList/component.js +8 -8
  352. package/lib/contentDetailList/components/Content/CompoItem/index.js +11 -11
  353. package/lib/contentDetailList/components/Content/ContentListItem/index.js +14 -14
  354. package/lib/contentDetailList/components/Content/DocItem/ApprovalStateMap/index.js +18 -18
  355. package/lib/contentDetailList/components/Content/DocItem/index.js +26 -26
  356. package/lib/contentDetailList/components/Content/DocMpItem/index.js +12 -12
  357. package/lib/contentDetailList/components/Content/GroupPieceItem/index.js +10 -10
  358. package/lib/contentDetailList/components/Content/KongoNavItem/index.js +13 -13
  359. package/lib/contentDetailList/components/Content/LiveItem/index.js +8 -8
  360. package/lib/contentDetailList/components/Content/MaccountItem/index.js +11 -11
  361. package/lib/contentDetailList/components/Content/courseItem/index.js +9 -9
  362. package/lib/contentDetailList/components/Content/funhdItem/index.js +9 -9
  363. package/lib/contentDetailList/components/Content/index.js +117 -117
  364. package/lib/contentDetailList/components/CustomWrp/CustomItem.js +4 -4
  365. package/lib/contentDetailList/components/CustomWrp/index.js +10 -10
  366. package/lib/contentDetailList/components/Doc/index.js +11 -11
  367. package/lib/contentDetailList/components/Records/MatrixItem/index.js +22 -22
  368. package/lib/contentDetailList/components/Records/index.js +8 -8
  369. package/lib/contentDetailList/components/ShowQRCode/QrcodeView/index.js +8 -10
  370. package/lib/contentDetailList/components/ShowQRCode/index.js +1 -1
  371. package/lib/contentModal/component.js +48 -56
  372. package/lib/contentModal/components/CompoList/index.js +1 -1
  373. package/lib/contentModal/components/Dejin/index.js +1 -1
  374. package/lib/contentModal/components/MpContentList/MediaFilter/index.js +2 -2
  375. package/lib/contentModal/components/MpContentList/index.js +1 -1
  376. package/lib/contentModal/components/ViewAllColumn/MediaFilter/index.js +4 -5
  377. package/lib/contentModal/components/ViewAllColumn/index.js +40 -18
  378. package/lib/contentModal/components/storeBox/index.js +10 -12
  379. package/lib/dataTags/component.js +43 -48
  380. package/lib/docHistory/component.js +5 -6
  381. package/lib/docHistory/components/DocDiffPanel/index.js +2 -2
  382. package/lib/docHistory/components/DocHistoryList/index.js +2 -2
  383. package/lib/docPreview/component.js +20 -25
  384. package/lib/docPreview/components/PreviewIframe.js +2 -2
  385. package/lib/editMetaInfo/components/metaInfoForm.js +13 -15
  386. package/lib/emptyData/component.js +4 -4
  387. package/lib/emptyData/svg/acount.js +2 -2
  388. package/lib/emptyData/svg/add.js +2 -2
  389. package/lib/emptyData/svg/analize.js +2 -2
  390. package/lib/emptyData/svg/analize_fail.js +2 -2
  391. package/lib/emptyData/svg/empty.js +2 -2
  392. package/lib/emptyData/svg/file.js +2 -2
  393. package/lib/emptyData/svg/manager.js +2 -2
  394. package/lib/emptyData/svg/message.js +2 -2
  395. package/lib/emptyData/svg/noanalize.js +2 -2
  396. package/lib/emptyData/svg/null.js +2 -2
  397. package/lib/emptyData/svg/search.js +2 -2
  398. package/lib/emptyData/svg/star.js +2 -2
  399. package/lib/emptyData/svg/trash.js +2 -2
  400. package/lib/emptyData/svg/user.js +2 -2
  401. package/lib/imageCrop/component.js +13 -15
  402. package/lib/importData/component.js +16 -19
  403. package/lib/mediaFilter/component.js +4 -4
  404. package/lib/mediaFilter/components/DocFilter.js +2 -3
  405. package/lib/mediaFilter/components/FilterGroup.js +1 -1
  406. package/lib/mediaFilter/components/FilterItem.js +1 -1
  407. package/lib/mediaView/component.js +8 -8
  408. package/lib/messageBox/component.js +3 -3
  409. package/lib/resourceGridList/component.js +18 -20
  410. package/lib/resourceGridList/components/FileTypeThumb/index.js +6 -6
  411. package/lib/resourceModal/component.js +7 -7
  412. package/lib/resourceModal/components/MediaPreviewer/index.js +8 -8
  413. package/lib/resourceModal/components/MediaSelection/DocAiMediaSelected/index.js +6 -7
  414. package/lib/resourceModal/components/MediaSelection/MainContent/FileTypeThumb/index.js +6 -6
  415. package/lib/resourceModal/components/MediaSelection/MainContent/index.js +20 -22
  416. package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.js +3 -3
  417. package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.js +3 -3
  418. package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/index.js +2 -2
  419. package/lib/resourceModal/components/MediaSelection/ToolbarSearch/index.js +4 -4
  420. package/lib/resourceModal/components/MediaSelection/index.js +6 -6
  421. package/lib/selectAddTo/components/SelectAddToView.js +14 -15
  422. package/lib/selectAddTo/components/ViewAllColumn/MediaFilter/index.js +3 -3
  423. package/lib/selectAddTo/components/ViewAllColumn/index.js +3 -3
  424. package/lib/selectGategory/component.js +5 -5
  425. package/lib/selectGategory/components/ColumnSelection/index.js +6 -6
  426. package/lib/selectResourceModal/component.js +28 -41
  427. package/lib/selectResourceModal/components/List/ListCardWrapper.js +6 -6
  428. package/lib/selectResourceModal/components/List/ListLocal/Upload.js +2 -3
  429. package/lib/selectResourceModal/components/List/ListNormal/Filter.js +18 -22
  430. package/lib/selectResourceModal/components/List/ListSystem/Filter.js +4 -5
  431. package/lib/selectResourceModal/components/List/ListSystem/SubList.js +3 -3
  432. package/lib/selectResourceModal/components/List/ListSystem/index.js +2 -2
  433. package/lib/selectResourceModal/components/List/ListWraper.js +2 -2
  434. package/lib/selectResourceModal/components/ListSelected/index.js +6 -6
  435. package/lib/selectResourceModal/components/ListTabs/index.js +1 -1
  436. package/lib/selectResourceModal/scripts/useTabFilter.js +1 -13
  437. package/lib/selectThumb/component.js +29 -29
  438. package/lib/selectThumb/components/card.js +3 -3
  439. package/lib/thumbCard/component.js +7 -7
  440. package/lib/thumbCard/components/ThumbUploading/index.js +3 -3
  441. package/lib/uploadBefore/component.js +1 -1
  442. package/lib/uploadBefore/components/UploadBefore.js +9 -9
  443. package/lib/uploadStep/component.js +3 -3
  444. package/lib/userAvater/component.js +4 -5
  445. package/lib/userDirector/component.js +6 -7
  446. package/lib/userDirector/components/userTree.js +2 -2
  447. package/package.json +1 -1
@@ -434,20 +434,20 @@ const _sfc_main = defineComponent({
434
434
  }, [
435
435
  createCommentVNode(" \u5C01\u9762\u6807\u9898"),
436
436
  createElementVNode("div", {
437
- class: normalizeClass(["banner-view", { flex: _ctx.flex }])
437
+ class: normalizeClass(["banner-view", { flex: __props.flex }])
438
438
  }, [
439
- _ctx.mode !== "smiple" && _ctx.showTitle ? (openBlock(), createElementBlock("div", {
439
+ __props.mode !== "smiple" && __props.showTitle ? (openBlock(), createElementBlock("div", {
440
440
  key: 0,
441
441
  class: "title",
442
- style: normalizeStyle({ width: _ctx.offset })
442
+ style: normalizeStyle({ width: __props.offset })
443
443
  }, [
444
- _ctx.titleValid ? (openBlock(), createElementBlock("span", _hoisted_1, "*")) : createCommentVNode("v-if", true),
445
- createElementVNode("span", null, toDisplayString(_ctx.title ? _ctx.title : "\u5C01\u9762"), 1),
444
+ __props.titleValid ? (openBlock(), createElementBlock("span", _hoisted_1, "*")) : createCommentVNode("v-if", true),
445
+ createElementVNode("span", null, toDisplayString(__props.title ? __props.title : "\u5C01\u9762"), 1),
446
446
  createCommentVNode(" \u4E0A\u4E0B\u5E03\u5C40\u663E\u793A tip"),
447
- ((_a = curtemplate.value) == null ? void 0 : _a.value) !== "4" && !_ctx.flex ? (openBlock(), createElementBlock("span", _hoisted_2, " (" + toDisplayString((_b = curtemplate.value) == null ? void 0 : _b.alias) + "\u6BD4\u4F8B\uFF1A" + toDisplayString((_c = curtemplate.value) == null ? void 0 : _c.ratioStr) + ") ", 1)) : createCommentVNode("v-if", true)
447
+ ((_a = curtemplate.value) == null ? void 0 : _a.value) !== "4" && !__props.flex ? (openBlock(), createElementBlock("span", _hoisted_2, " (" + toDisplayString((_b = curtemplate.value) == null ? void 0 : _b.alias) + "\u6BD4\u4F8B\uFF1A" + toDisplayString((_c = curtemplate.value) == null ? void 0 : _c.ratioStr) + ") ", 1)) : createCommentVNode("v-if", true)
448
448
  ], 4)) : createCommentVNode("v-if", true),
449
449
  createElementVNode("div", _hoisted_3, [
450
- ["thumbs"].includes(_ctx.mode) ? (openBlock(), createElementBlock("div", _hoisted_4, [
450
+ ["thumbs"].includes(__props.mode) ? (openBlock(), createElementBlock("div", _hoisted_4, [
451
451
  (openBlock(true), createElementBlock(Fragment, null, renderList(thumbsLengthList.value, (item, index) => {
452
452
  return openBlock(), createBlock(_sfc_main$1, {
453
453
  key: index,
@@ -457,7 +457,7 @@ const _sfc_main = defineComponent({
457
457
  parentRef: selectThumbRef.value,
458
458
  idx: index,
459
459
  "preview-list": previewList.value,
460
- "is-popover": _ctx.localUpload,
460
+ "is-popover": __props.localUpload,
461
461
  "thumb-model": "thumb",
462
462
  onFileForShowThumb: fileForShowThumb,
463
463
  onChangeThumbType: changeThumbType,
@@ -478,7 +478,7 @@ const _sfc_main = defineComponent({
478
478
  model: model.value,
479
479
  idx: index,
480
480
  "preview-list": previewList.value,
481
- "is-popover": _ctx.localUpload,
481
+ "is-popover": __props.localUpload,
482
482
  "thumb-model": "thumb",
483
483
  onFileForShowThumb: fileForShowThumb,
484
484
  onChangeThumbType: changeThumbType,
@@ -490,9 +490,9 @@ const _sfc_main = defineComponent({
490
490
  ], 2112)) : createCommentVNode("v-if", true),
491
491
  createCommentVNode(" \u5DE6\u53F3\u5E03\u5C40\u663E\u793Atip "),
492
492
  createElementVNode("div", _hoisted_6, [
493
- ((_d = curtemplate.value) == null ? void 0 : _d.value) !== "4" && _ctx.flex ? (openBlock(), createElementBlock("span", _hoisted_7, " (" + toDisplayString((_e = curtemplate.value) == null ? void 0 : _e.alias) + "\u6BD4\u4F8B\uFF1A" + toDisplayString((_f = curtemplate.value) == null ? void 0 : _f.ratioStr) + ") ", 1)) : createCommentVNode("v-if", true)
493
+ ((_d = curtemplate.value) == null ? void 0 : _d.value) !== "4" && __props.flex ? (openBlock(), createElementBlock("span", _hoisted_7, " (" + toDisplayString((_e = curtemplate.value) == null ? void 0 : _e.alias) + "\u6BD4\u4F8B\uFF1A" + toDisplayString((_f = curtemplate.value) == null ? void 0 : _f.ratioStr) + ") ", 1)) : createCommentVNode("v-if", true)
494
494
  ]),
495
- ["doc"].includes(_ctx.mode) ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
495
+ ["doc"].includes(__props.mode) ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
496
496
  createCommentVNode(" \u9009\u62E9\u5927\u56FE\u3001\u4E09\u56FE\u3001\u5355\u56FE...\u7B49\u6A21\u5F0F "),
497
497
  createVNode(unref(RadioGroup), {
498
498
  modelValue: model.value,
@@ -527,18 +527,18 @@ const _sfc_main = defineComponent({
527
527
  ], 64)) : createCommentVNode("v-if", true)
528
528
  ])
529
529
  ], 2),
530
- _ctx.mode === "doc" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
530
+ __props.mode === "doc" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
531
531
  createCommentVNode(" \u72EC\u7ACB\u8F6E\u535A\u56FE "),
532
532
  createElementVNode("div", {
533
- class: normalizeClass(["banner-view", { flex: _ctx.flex }])
533
+ class: normalizeClass(["banner-view", { flex: __props.flex }])
534
534
  }, [
535
535
  createElementVNode("div", {
536
536
  class: "title",
537
- style: normalizeStyle({ width: _ctx.offset })
537
+ style: normalizeStyle({ width: __props.offset })
538
538
  }, [
539
539
  _cache[11] || (_cache[11] = createElementVNode("span", { style: { "margin-right": "10px" } }, "\u72EC\u7ACB\u8F6E\u64AD\u56FE", -1)),
540
540
  createCommentVNode(" \u4E0A\u4E0B\u5E03\u5C40\u5F00\u5173\u5728\u6807\u9898\u540E "),
541
- !_ctx.flex ? (openBlock(), createBlock(unref(Switch), {
541
+ !__props.flex ? (openBlock(), createBlock(unref(Switch), {
542
542
  key: 0,
543
543
  modelValue: hasBanner.value,
544
544
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => hasBanner.value = $event),
@@ -547,7 +547,7 @@ const _sfc_main = defineComponent({
547
547
  ], 4),
548
548
  createElementVNode("div", _hoisted_8, [
549
549
  createCommentVNode(" \u5DE6\u53F3\u5E03\u5C40\u5F00\u5173\u663E\u793A "),
550
- _ctx.flex ? (openBlock(), createBlock(unref(Switch), {
550
+ __props.flex ? (openBlock(), createBlock(unref(Switch), {
551
551
  key: 0,
552
552
  modelValue: hasBanner.value,
553
553
  "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => hasBanner.value = $event),
@@ -561,16 +561,16 @@ const _sfc_main = defineComponent({
561
561
  "onUpdate:data": _cache[5] || (_cache[5] = ($event) => banner.value = $event),
562
562
  parentRef: selectThumbRef.value,
563
563
  "preview-list": previewList.value,
564
- "is-popover": _ctx.localUpload,
564
+ "is-popover": __props.localUpload,
565
565
  "thumb-model": "banner",
566
566
  onFileForShowThumb: fileForShowThumb,
567
567
  onChangeThumbType: changeThumbType,
568
568
  onUploadLocal: _cache[6] || (_cache[6] = (cb) => _ctx.$emit("upload", cb)),
569
569
  onOpen: openDialogMediaSelection
570
570
  }, null, 8, ["data", "parentRef", "preview-list", "is-popover"])) : createCommentVNode("v-if", true),
571
- hasBanner.value && styleData.value.banner_theme_color ? (openBlock(), createElementBlock("div", _hoisted_9, _cache[12] || (_cache[12] = [
571
+ hasBanner.value && styleData.value.banner_theme_color ? (openBlock(), createElementBlock("div", _hoisted_9, [..._cache[12] || (_cache[12] = [
572
572
  createElementVNode("span", null, "\u72EC\u7ACB\u8F6E\u64AD\u56FE\u80CC\u666F\u989C\u8272", -1)
573
- ]))) : createCommentVNode("v-if", true),
573
+ ])])) : createCommentVNode("v-if", true),
574
574
  createCommentVNode(" banner\u8C03\u8272\u677F "),
575
575
  hasBanner.value ? (openBlock(), createBlock(_sfc_main$2, {
576
576
  key: 3,
@@ -582,17 +582,17 @@ const _sfc_main = defineComponent({
582
582
  ], 2),
583
583
  createCommentVNode(" pc\u5C01\u9762\u56FE\uFF08\u4E13\u9898\u5934\u56FE\u5171\u7528\u4E00\u4E2A\u5B57\u6BB5\uFF09 "),
584
584
  createElementVNode("div", {
585
- class: normalizeClass(["banner-view", { flex: _ctx.flex }])
585
+ class: normalizeClass(["banner-view", { flex: __props.flex }])
586
586
  }, [
587
587
  createElementVNode("div", {
588
588
  class: "title",
589
- style: normalizeStyle({ width: _ctx.offset })
589
+ style: normalizeStyle({ width: __props.offset })
590
590
  }, [
591
591
  docSeriesShowTopThemeColor.value ? (openBlock(), createElementBlock("span", _hoisted_10, [
592
- _ctx.topImageTitleValid ? (openBlock(), createElementBlock("span", _hoisted_11, "*")) : createCommentVNode("v-if", true),
593
- createElementVNode("span", null, toDisplayString(_ctx.topImageTitle || "\u5C01\u9762\u5934\u56FE"), 1)
592
+ __props.topImageTitleValid ? (openBlock(), createElementBlock("span", _hoisted_11, "*")) : createCommentVNode("v-if", true),
593
+ createElementVNode("span", null, toDisplayString(__props.topImageTitle || "\u5C01\u9762\u5934\u56FE"), 1)
594
594
  ])) : (openBlock(), createElementBlock("span", _hoisted_12, "PC\u5C01\u9762\u56FE")),
595
- !_ctx.flex ? (openBlock(), createElementBlock("span", _hoisted_13, " (\u5EFA\u8BAE\u5C3A\u5BF8\uFF1A1242px*662px) ")) : createCommentVNode("v-if", true)
595
+ !__props.flex ? (openBlock(), createElementBlock("span", _hoisted_13, " (\u5EFA\u8BAE\u5C3A\u5BF8\uFF1A1242px*662px) ")) : createCommentVNode("v-if", true)
596
596
  ], 4),
597
597
  createElementVNode("div", _hoisted_14, [
598
598
  createVNode(_sfc_main$1, {
@@ -601,17 +601,17 @@ const _sfc_main = defineComponent({
601
601
  "onUpdate:data": _cache[7] || (_cache[7] = ($event) => pcBanner.value = $event),
602
602
  parentRef: selectThumbRef.value,
603
603
  previewList: previewList.value,
604
- "is-popover": _ctx.localUpload,
604
+ "is-popover": __props.localUpload,
605
605
  thumbModel: "pcBanner",
606
606
  onFileForShowThumb: fileForShowThumb,
607
607
  onChangeThumbType: changeThumbType,
608
608
  onUploadLocal: _cache[8] || (_cache[8] = (cb) => _ctx.$emit("upload", cb)),
609
609
  onOpen: openDialogMediaSelection
610
610
  }, null, 8, ["data", "parentRef", "previewList", "is-popover"]),
611
- _ctx.flex ? (openBlock(), createElementBlock("span", _hoisted_15, "(\u5EFA\u8BAE\u5C3A\u5BF8\uFF1A1242px*662px)")) : createCommentVNode("v-if", true),
612
- docSeriesShowTopThemeColor.value && styleData.value.top_theme_color ? (openBlock(), createElementBlock("div", _hoisted_16, _cache[13] || (_cache[13] = [
611
+ __props.flex ? (openBlock(), createElementBlock("span", _hoisted_15, "(\u5EFA\u8BAE\u5C3A\u5BF8\uFF1A1242px*662px)")) : createCommentVNode("v-if", true),
612
+ docSeriesShowTopThemeColor.value && styleData.value.top_theme_color ? (openBlock(), createElementBlock("div", _hoisted_16, [..._cache[13] || (_cache[13] = [
613
613
  createElementVNode("span", null, "\u56FE\u7247\u80CC\u666F\u989C\u8272", -1)
614
- ]))) : createCommentVNode("v-if", true),
614
+ ])])) : createCommentVNode("v-if", true),
615
615
  docSeriesShowTopThemeColor.value ? (openBlock(), createBlock(_sfc_main$2, {
616
616
  key: 2,
617
617
  model: "top",
@@ -637,7 +637,7 @@ const _sfc_main = defineComponent({
637
637
  visible: dialogMediaSelectionShow.value,
638
638
  "onUpdate:visible": _cache[9] || (_cache[9] = ($event) => dialogMediaSelectionShow.value = $event),
639
639
  maxcount: 1,
640
- "media-use-type": _ctx.mediaUseType,
640
+ "media-use-type": __props.mediaUseType,
641
641
  userInfo: { domain_id: 1, repository_id: 4 },
642
642
  filterOptions: { mediaType: "image", mediaTypeStrict: true },
643
643
  wrap: "modal",
File without changes
@@ -70,7 +70,7 @@ const _sfc_main = defineComponent({
70
70
  return (_ctx, _cache) => {
71
71
  var _a;
72
72
  return openBlock(), createElementBlock("div", _hoisted_1, [
73
- _ctx.isPopover ? (openBlock(), createBlock(unref(Popover), {
73
+ __props.isPopover ? (openBlock(), createBlock(unref(Popover), {
74
74
  key: 0,
75
75
  trigger: "hover",
76
76
  position: "bottom",
@@ -105,7 +105,7 @@ const _sfc_main = defineComponent({
105
105
  }, [
106
106
  createVNode(unref(IconEdit))
107
107
  ]),
108
- _ctx.along ? (openBlock(), createElementBlock("span", {
108
+ __props.along ? (openBlock(), createElementBlock("span", {
109
109
  key: 0,
110
110
  class: "half",
111
111
  onClick: withModifiers(remove, ["stop"])
@@ -151,7 +151,7 @@ const _sfc_main = defineComponent({
151
151
  }, [
152
152
  createVNode(unref(IconEdit))
153
153
  ]),
154
- _ctx.along ? (openBlock(), createElementBlock("span", {
154
+ __props.along ? (openBlock(), createElementBlock("span", {
155
155
  key: 0,
156
156
  class: "half",
157
157
  onClick: withModifiers(remove, ["stop"])
File without changes
File without changes
@@ -0,0 +1,2 @@
1
+ declare const selectThumb: any;
2
+ export default selectThumb;
@@ -0,0 +1 @@
1
+ import './index.less';
File without changes
@@ -81,26 +81,26 @@ const _sfc_main = defineComponent({
81
81
  }, [
82
82
  isUploading.value ? (openBlock(), createBlock(_sfc_main$1, {
83
83
  key: 0,
84
- meta: _ctx.meta
85
- }, null, 8, ["meta"])) : _ctx.catalog && _ctx.url ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
84
+ meta: __props.meta
85
+ }, null, 8, ["meta"])) : __props.catalog && __props.url ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
86
86
  createCommentVNode(" \u6709\u7C7B\u578B\u7684\u5C01\u9762 "),
87
87
  createCommentVNode(" \u56FE\u7247 "),
88
- _ctx.catalog ? (openBlock(), createBlock(unref(Image), mergeProps({
88
+ __props.catalog ? (openBlock(), createBlock(unref(Image), mergeProps({
89
89
  key: 0,
90
90
  class: "thumb-image",
91
91
  src: realThumb.value
92
92
  }, aImageAttr.value), null, 16, ["src"])) : createCommentVNode("v-if", true)
93
93
  ], 64)) : createCommentVNode("v-if", true),
94
94
  createCommentVNode(" \u4E00\u4E9B\u6807\u7B7E\uFF08\u56DB\u4E2A\u89D2\uFF09 "),
95
- ["video", "audio"].includes(_ctx.catalog) && _ctx.meta ? (openBlock(), createElementBlock("div", _hoisted_1, [
96
- _ctx.catalog === "video" ? (openBlock(), createBlock(unref(IconVideoTag), { key: 0 })) : (openBlock(), createBlock(unref(IconAudioTag), { key: 1 })),
97
- createTextVNode(" " + toDisplayString(unref(mediaTime)((_a = _ctx.meta) == null ? void 0 : _a.length)), 1)
95
+ ["video", "audio"].includes(__props.catalog) && __props.meta ? (openBlock(), createElementBlock("div", _hoisted_1, [
96
+ __props.catalog === "video" ? (openBlock(), createBlock(unref(IconVideoTag), { key: 0 })) : (openBlock(), createBlock(unref(IconAudioTag), { key: 1 })),
97
+ createTextVNode(" " + toDisplayString(unref(mediaTime)((_a = __props.meta) == null ? void 0 : _a.length)), 1)
98
98
  ])) : createCommentVNode("v-if", true),
99
99
  createCommentVNode(" \u5916\u6302\u9009\u9879 "),
100
100
  createElementVNode("div", {
101
101
  class: normalizeClass(["thumb-handler-list", thumbHandlerClass.value])
102
102
  }, [
103
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.handlersKey, (item) => {
103
+ (openBlock(true), createElementBlock(Fragment, null, renderList(__props.handlersKey, (item) => {
104
104
  return openBlock(), createElementBlock("div", {
105
105
  key: item.key,
106
106
  class: "handler-item",
@@ -29,12 +29,12 @@ const _sfc_main = defineComponent({
29
29
  !isFaild.value ? (openBlock(), createBlock(unref(Progress), {
30
30
  key: 0,
31
31
  type: "circle",
32
- percent: (_a = _ctx.meta) == null ? void 0 : _a.progress
32
+ percent: (_a = __props.meta) == null ? void 0 : _a.progress
33
33
  }, null, 8, ["percent"])) : createCommentVNode("v-if", true),
34
- _ctx.meta.msg ? (openBlock(), createElementBlock("div", {
34
+ __props.meta.msg ? (openBlock(), createElementBlock("div", {
35
35
  key: 1,
36
36
  class: normalizeClass(["thumb-upload-text", textStatusClass.value])
37
- }, toDisplayString((_b = _ctx.meta) == null ? void 0 : _b.msg), 3)) : createCommentVNode("v-if", true)
37
+ }, toDisplayString((_b = __props.meta) == null ? void 0 : _b.msg), 3)) : createCommentVNode("v-if", true)
38
38
  ]);
39
39
  };
40
40
  }
@@ -0,0 +1,2 @@
1
+ declare const thumbCard: any;
2
+ export default thumbCard;
@@ -0,0 +1 @@
1
+ import './index.less';
File without changes
@@ -0,0 +1,2 @@
1
+ declare const typeIcons: any;
2
+ export default typeIcons;
@@ -0,0 +1 @@
1
+ import './index.less';
File without changes
@@ -62,7 +62,7 @@ const _sfc_main = defineComponent({
62
62
  return (_ctx, _cache) => {
63
63
  return openBlock(), createElementBlock(Fragment, null, [
64
64
  createVNode(_sfc_main$1, {
65
- "upload-method": _ctx.uploadMethod,
65
+ "upload-method": __props.uploadMethod,
66
66
  onAfterChoose: afterChoose
67
67
  }, null, 8, ["upload-method"]),
68
68
  createVNode(_sfc_main$2, {
File without changes
@@ -121,9 +121,9 @@ const _sfc_main = defineComponent({
121
121
  onOk: handleOk,
122
122
  onCancel: handleClose
123
123
  }, {
124
- title: withCtx(() => _cache[1] || (_cache[1] = [
125
- createTextVNode("\u4E0A\u4F20\u914D\u7F6E")
126
- ])),
124
+ title: withCtx(() => [..._cache[1] || (_cache[1] = [
125
+ createTextVNode("\u4E0A\u4F20\u914D\u7F6E", -1)
126
+ ])]),
127
127
  default: withCtx(() => [
128
128
  createElementVNode("div", _hoisted_1, [
129
129
  createVNode(unref(Table), {
@@ -162,8 +162,8 @@ const _sfc_main = defineComponent({
162
162
  }, 1032, ["value"]);
163
163
  }), 128))
164
164
  ]),
165
- _: 2
166
- }, 1032, ["modelValue", "onUpdate:modelValue"])) : (openBlock(), createElementBlock("div", _hoisted_2, "\u2014 \u2014"))
165
+ _: 1
166
+ }, 8, ["modelValue", "onUpdate:modelValue"])) : (openBlock(), createElementBlock("div", _hoisted_2, "\u2014 \u2014"))
167
167
  ]),
168
168
  vTransTemp: withCtx(({ rowIndex, record }) => [
169
169
  ["dir", "video"].includes(record.type) ? (openBlock(), createBlock(unref(Select), {
@@ -187,8 +187,8 @@ const _sfc_main = defineComponent({
187
187
  }, 1032, ["value"]);
188
188
  }), 128))
189
189
  ]),
190
- _: 2
191
- }, 1032, ["modelValue", "onUpdate:modelValue"])) : (openBlock(), createElementBlock("div", _hoisted_3, "\u2014 \u2014"))
190
+ _: 1
191
+ }, 8, ["modelValue", "onUpdate:modelValue"])) : (openBlock(), createElementBlock("div", _hoisted_3, "\u2014 \u2014"))
192
192
  ]),
193
193
  aTransTemp: withCtx(({ record, rowIndex }) => [
194
194
  ["dir", "audio"].includes(record.type) ? (openBlock(), createBlock(unref(Select), {
@@ -212,8 +212,8 @@ const _sfc_main = defineComponent({
212
212
  }, 1032, ["value"]);
213
213
  }), 128))
214
214
  ]),
215
- _: 2
216
- }, 1032, ["modelValue", "onUpdate:modelValue"])) : (openBlock(), createElementBlock("div", _hoisted_4, "\u2014 \u2014"))
215
+ _: 1
216
+ }, 8, ["modelValue", "onUpdate:modelValue"])) : (openBlock(), createElementBlock("div", _hoisted_4, "\u2014 \u2014"))
217
217
  ]),
218
218
  _: 1
219
219
  }, 8, ["data"])
File without changes
@@ -0,0 +1,2 @@
1
+ declare const uploadBefore: any;
2
+ export default uploadBefore;
@@ -0,0 +1,16 @@
1
+ export declare function getWaterMark(BASE_API: string): Promise<import("axios").AxiosResponse<any, any, {}>>;
2
+ export declare function getVideoTransTemplate(BASE_API: string): Promise<import("axios").AxiosResponse<any, any, {}>>;
3
+ export declare function getAudioTransTrempalte(BASE_API: string): Promise<import("axios").AxiosResponse<any, any, {}>>;
4
+ export declare type TypeAddMediaParam = {
5
+ url: string;
6
+ alias: string;
7
+ catalog: string;
8
+ repository_id: number;
9
+ directory_id: number;
10
+ size: number;
11
+ enable_ai_catalog?: 0 | 1;
12
+ watermark?: any;
13
+ video_transcode_template?: any;
14
+ audio_transcode_template?: any;
15
+ };
16
+ export declare function addMedia(BASE_API: string, params: TypeAddMediaParam): Promise<import("axios").AxiosResponse<any, any, {}>>;
@@ -0,0 +1,39 @@
1
+ /** @description 文件类型适配器 @author LilMartin */
2
+ import type { FileItem } from '@arco-design/web-vue';
3
+ export interface CFileItem {
4
+ file: File;
5
+ id: string;
6
+ url?: string;
7
+ dirId?: string;
8
+ }
9
+ export interface SFileItem {
10
+ name: string;
11
+ size: number;
12
+ sizeCN: string;
13
+ type: string;
14
+ typeCN?: string;
15
+ id: string;
16
+ dirId?: string;
17
+ }
18
+ export interface BFileItem extends SFileItem {
19
+ isAnalize?: 0 | 1;
20
+ watermark?: any;
21
+ videotemp?: any;
22
+ audiotemp?: any;
23
+ }
24
+ export interface LFileItem extends BFileItem {
25
+ percent: number;
26
+ state: number;
27
+ count?: number;
28
+ }
29
+ declare type FileMaybeType = File | FileItem;
30
+ export declare function fileAdapter(fileMeta: FileMaybeType): {
31
+ url: string;
32
+ file: File;
33
+ id: string;
34
+ dirId?: string | undefined;
35
+ } | undefined;
36
+ export declare function checkType(type: string): "图片" | "目录" | "其他";
37
+ export declare function getMediaType(type: string): string;
38
+ export declare function getSize(value: number): string;
39
+ export {};
@@ -0,0 +1,7 @@
1
+ import { BFileItem } from './fileTypeAdapter';
2
+ export declare function uploadFile(file: File, cb: (p: number) => void): Promise<false | import("tus-js-client").Upload>;
3
+ export declare function uploadAddRequest(file: BFileItem, metaData: {
4
+ rid: number;
5
+ dirId: number;
6
+ url: string;
7
+ }, BASE_API: string, cb?: (cbData: any) => void): Promise<void>;
@@ -0,0 +1,96 @@
1
+ import { BFileItem, CFileItem, LFileItem } from './fileTypeAdapter';
2
+ export declare function usePannelList(): {
3
+ panelList: import("vue").Ref<{
4
+ percent: number;
5
+ state: number;
6
+ count?: number | undefined;
7
+ isAnalize?: 0 | 1 | undefined;
8
+ watermark?: any;
9
+ videotemp?: any;
10
+ audiotemp?: any;
11
+ name: string;
12
+ size: number;
13
+ sizeCN: string;
14
+ type: string;
15
+ typeCN?: string | undefined;
16
+ id: string;
17
+ dirId?: string | undefined;
18
+ }[], LFileItem[] | {
19
+ percent: number;
20
+ state: number;
21
+ count?: number | undefined;
22
+ isAnalize?: 0 | 1 | undefined;
23
+ watermark?: any;
24
+ videotemp?: any;
25
+ audiotemp?: any;
26
+ name: string;
27
+ size: number;
28
+ sizeCN: string;
29
+ type: string;
30
+ typeCN?: string | undefined;
31
+ id: string;
32
+ dirId?: string | undefined;
33
+ }[]>;
34
+ panelFIleAdd: (fileMetaData: LFileItem) => void;
35
+ panelFileStatusChange: (id: string, p: number, s: number) => void;
36
+ };
37
+ export declare function usePreUploadOptions(): {
38
+ preOptionsList: import("vue").Ref<{
39
+ isAnalize?: 0 | 1 | undefined;
40
+ watermark?: any;
41
+ videotemp?: any;
42
+ audiotemp?: any;
43
+ name: string;
44
+ size: number;
45
+ sizeCN: string;
46
+ type: string;
47
+ typeCN?: string | undefined;
48
+ id: string;
49
+ dirId?: string | undefined;
50
+ }[], BFileItem[] | {
51
+ isAnalize?: 0 | 1 | undefined;
52
+ watermark?: any;
53
+ videotemp?: any;
54
+ audiotemp?: any;
55
+ name: string;
56
+ size: number;
57
+ sizeCN: string;
58
+ type: string;
59
+ typeCN?: string | undefined;
60
+ id: string;
61
+ dirId?: string | undefined;
62
+ }[]>;
63
+ uploadFileToShowFileTrans: (file: CFileItem) => void;
64
+ };
65
+ export declare function useUplaodList(): {
66
+ fileList: import("vue").Ref<{
67
+ file: {
68
+ readonly lastModified: number;
69
+ readonly name: string;
70
+ readonly size: number;
71
+ readonly type: string;
72
+ arrayBuffer: () => Promise<ArrayBuffer>;
73
+ slice: (start?: number | undefined, end?: number | undefined, contentType?: string | undefined) => Blob;
74
+ stream: () => ReadableStream<any>;
75
+ text: () => Promise<string>;
76
+ };
77
+ id: string;
78
+ url?: string | undefined;
79
+ dirId?: string | undefined;
80
+ }[], CFileItem[] | {
81
+ file: {
82
+ readonly lastModified: number;
83
+ readonly name: string;
84
+ readonly size: number;
85
+ readonly type: string;
86
+ arrayBuffer: () => Promise<ArrayBuffer>;
87
+ slice: (start?: number | undefined, end?: number | undefined, contentType?: string | undefined) => Blob;
88
+ stream: () => ReadableStream<any>;
89
+ text: () => Promise<string>;
90
+ };
91
+ id: string;
92
+ url?: string | undefined;
93
+ dirId?: string | undefined;
94
+ }[]>;
95
+ uploadFileAdd: (file: CFileItem) => void;
96
+ };
@@ -0,0 +1 @@
1
+ import './index.less';
File without changes
File without changes
@@ -62,7 +62,7 @@ const _sfc_main = defineComponent({
62
62
  const uploadingFilter = (state) => [3, 5].includes(state);
63
63
  return (_ctx, _cache) => {
64
64
  return withDirectives((openBlock(), createElementBlock("div", {
65
- class: normalizeClass(["panel_wrp", { global: _ctx.global }])
65
+ class: normalizeClass(["panel_wrp", { global: __props.global }])
66
66
  }, [
67
67
  createVNode(unref(Card), {
68
68
  hoverable: "",
@@ -99,7 +99,7 @@ const _sfc_main = defineComponent({
99
99
  createElementVNode("div", {
100
100
  class: normalizeClass(["panel_list", { un_expend: !unref(expend) }])
101
101
  }, [
102
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.fileList, (file) => {
102
+ (openBlock(true), createElementBlock(Fragment, null, renderList(__props.fileList, (file) => {
103
103
  return openBlock(), createElementBlock("div", {
104
104
  key: file.id,
105
105
  class: "panel_item"
@@ -141,7 +141,7 @@ const _sfc_main = defineComponent({
141
141
  _: 1
142
142
  }, 8, ["class", "body-style"])
143
143
  ], 2)), [
144
- [vShow, _ctx.visable]
144
+ [vShow, __props.visable]
145
145
  ]);
146
146
  };
147
147
  }
@@ -0,0 +1,2 @@
1
+ declare const uploadStep: any;
2
+ export default uploadStep;
@@ -0,0 +1,20 @@
1
+ export interface CFileItem {
2
+ file: File;
3
+ id: string;
4
+ url?: string;
5
+ dirId?: string;
6
+ }
7
+ export interface SFileItem {
8
+ name: string;
9
+ size: number;
10
+ sizeCN: string;
11
+ type: string;
12
+ typeCN?: string;
13
+ id: string;
14
+ dirId?: string;
15
+ }
16
+ export interface LFileItem extends SFileItem {
17
+ percent: number;
18
+ state: number;
19
+ count?: number;
20
+ }
@@ -0,0 +1 @@
1
+ import './index.less';
File without changes
@@ -137,11 +137,10 @@ const _sfc_main = defineComponent({
137
137
  type: "text",
138
138
  onClick: _cache[1] || (_cache[1] = ($event) => loginOut())
139
139
  }, {
140
- default: withCtx(() => _cache[2] || (_cache[2] = [
141
- createTextVNode("\u9000\u51FA")
142
- ])),
143
- _: 1,
144
- __: [2]
140
+ default: withCtx(() => [..._cache[2] || (_cache[2] = [
141
+ createTextVNode("\u9000\u51FA", -1)
142
+ ])]),
143
+ _: 1
145
144
  })
146
145
  ])
147
146
  ])
@@ -0,0 +1,2 @@
1
+ declare const userAvater: any;
2
+ export default userAvater;
@@ -0,0 +1,8 @@
1
+ interface Params {
2
+ [key: string]: any;
3
+ }
4
+ export declare function getUserInfo(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any, {}>>;
5
+ export declare function getUserDetails(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any, {}>>;
6
+ export declare function domainSelect(BASE_API: string, did: number): Promise<import("axios").AxiosResponse<any, any, {}>>;
7
+ export declare function accountLogout(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any, {}>>;
8
+ export {};
@@ -0,0 +1 @@
1
+ import './index.less';
File without changes