@cmstops/pro-compo 0.3.55 → 0.3.57

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 (377) hide show
  1. package/README.md +107 -107
  2. package/dist/gif.worker.js +3 -3
  3. package/dist/index.js.map +1 -1
  4. package/dist/index.min.js.map +1 -1
  5. package/es/appCenter/component.d.ts +0 -0
  6. package/es/appCenter/index.d.ts +2 -0
  7. package/es/appCenter/script/api.d.ts +11 -0
  8. package/es/appCenter/script/apps.d.ts +14 -0
  9. package/es/appCenter/script/permissionMap.d.ts +6 -0
  10. package/es/appCenter/script/routeMap.d.ts +4 -0
  11. package/es/appCenter/style/index.d.ts +1 -0
  12. package/es/appCenter/style/index.less +118 -118
  13. package/es/baseFilter/component.d.ts +0 -0
  14. package/es/baseFilter/components/FilterGroup.d.ts +0 -0
  15. package/es/baseFilter/components/filterItem.d.ts +0 -0
  16. package/es/baseFilter/index.d.ts +2 -0
  17. package/es/baseFilter/style/index.d.ts +1 -0
  18. package/es/baseFilter/style/index.less +45 -45
  19. package/es/baseFilter/useCalcWidth.d.ts +16 -0
  20. package/es/colorPalette/component.d.ts +0 -0
  21. package/es/colorPalette/components/colorPicker.d.ts +0 -0
  22. package/es/colorPalette/index.d.ts +2 -0
  23. package/es/colorPalette/style/index.d.ts +1 -0
  24. package/es/colorPalette/style/index.less +44 -44
  25. package/es/components.d.ts +5 -0
  26. package/es/config.d.ts +4 -0
  27. package/es/contentDetailList/__demo__/matrix/platform.d.ts +36 -0
  28. package/es/contentDetailList/component.d.ts +0 -0
  29. package/es/contentDetailList/components/Content/CompoItem/index.d.ts +0 -0
  30. package/es/contentDetailList/components/Content/ContentListItem/index.d.ts +0 -0
  31. package/es/contentDetailList/components/Content/DocItem/ApprovalStateMap/index.d.ts +0 -0
  32. package/es/contentDetailList/components/Content/DocItem/index.d.ts +0 -0
  33. package/es/contentDetailList/components/Content/DocMpItem/index.d.ts +0 -0
  34. package/es/contentDetailList/components/Content/GroupPieceItem/index.d.ts +0 -0
  35. package/es/contentDetailList/components/Content/KongoNavItem/index.d.ts +0 -0
  36. package/es/contentDetailList/components/Content/LiveItem/index.d.ts +0 -0
  37. package/es/contentDetailList/components/Content/MaccountItem/index.d.ts +0 -0
  38. package/es/contentDetailList/components/Content/courseItem/index.d.ts +0 -0
  39. package/es/contentDetailList/components/Content/funhdItem/index.d.ts +0 -0
  40. package/es/contentDetailList/components/Content/index.d.ts +0 -0
  41. package/es/contentDetailList/components/CustomWrp/CustomItem.d.ts +0 -0
  42. package/es/contentDetailList/components/CustomWrp/index.d.ts +0 -0
  43. package/es/contentDetailList/components/Doc/index.d.ts +0 -0
  44. package/es/contentDetailList/components/Records/MatrixItem/index.d.ts +0 -0
  45. package/es/contentDetailList/components/Records/index.d.ts +0 -0
  46. package/es/contentDetailList/components/ShowQRCode/QrcodeView/index.d.ts +0 -0
  47. package/es/contentDetailList/components/ShowQRCode/index.d.ts +0 -0
  48. package/es/contentDetailList/index.d.ts +2 -0
  49. package/es/contentDetailList/script/api.d.ts +6 -0
  50. package/es/contentDetailList/style/ComoItem.less +99 -99
  51. package/es/contentDetailList/style/Content.less +49 -49
  52. package/es/contentDetailList/style/ContentListItem.less +132 -132
  53. package/es/contentDetailList/style/Doc.less +3 -3
  54. package/es/contentDetailList/style/DocMpItem.less +135 -135
  55. package/es/contentDetailList/style/GroupPieceItem.less +108 -108
  56. package/es/contentDetailList/style/KongoNavItem.less +104 -104
  57. package/es/contentDetailList/style/LiveItem.less +108 -108
  58. package/es/contentDetailList/style/MaccountItem.less +111 -111
  59. package/es/contentDetailList/style/MatrixItem.less +214 -214
  60. package/es/contentDetailList/style/courseItem.less +108 -108
  61. package/es/contentDetailList/style/funhdItem.less +108 -108
  62. package/es/contentDetailList/style/index.d.ts +1 -0
  63. package/es/contentModal/component.d.ts +0 -0
  64. package/es/contentModal/components/CompoList/CompoFilter/index.d.ts +0 -0
  65. package/es/contentModal/components/CompoList/index.d.ts +0 -0
  66. package/es/contentModal/components/ContentList/MediaFilter/index.d.ts +0 -0
  67. package/es/contentModal/components/ContentList/index.d.ts +0 -0
  68. package/es/contentModal/components/EqxiuList/MediaFilter/index.d.ts +0 -0
  69. package/es/contentModal/components/EqxiuList/index.d.ts +0 -0
  70. package/es/contentModal/components/LiveList/MediaFilter/index.d.ts +0 -0
  71. package/es/contentModal/components/LiveList/index.d.ts +0 -0
  72. package/es/contentModal/components/MpAccountList/MpAccountFilter/index.d.ts +0 -0
  73. package/es/contentModal/components/MpAccountList/index.d.ts +0 -0
  74. package/es/contentModal/components/MpContentList/MediaFilter/index.d.ts +0 -0
  75. package/es/contentModal/components/MpContentList/index.d.ts +0 -0
  76. package/es/contentModal/components/ViewAllColumn/MediaFilter/index.d.ts +0 -0
  77. package/es/contentModal/components/ViewAllColumn/columnTree/index.d.ts +0 -0
  78. package/es/contentModal/components/ViewAllColumn/index.d.ts +0 -0
  79. package/es/contentModal/components/storeBox/index.d.ts +0 -0
  80. package/es/contentModal/index.d.ts +2 -0
  81. package/es/contentModal/script/api.d.ts +14 -0
  82. package/es/contentModal/style/ViewAllColumn.less +68 -68
  83. package/es/contentModal/style/columnTree.less +32 -32
  84. package/es/contentModal/style/index.d.ts +1 -0
  85. package/es/contentModal/style/index.less +23 -23
  86. package/es/contentModal/style/storeBox.less +55 -55
  87. package/es/dataTags/component.d.ts +0 -0
  88. package/es/dataTags/index.d.ts +2 -0
  89. package/es/dataTags/style/index.d.ts +1 -0
  90. package/es/dataTags/style/index.less +73 -73
  91. package/es/docHistory/component.d.ts +0 -0
  92. package/es/docHistory/component.js +3 -2
  93. package/es/docHistory/components/DocDiffPanel/index.d.ts +0 -0
  94. package/es/docHistory/components/DocHistoryList/index.d.ts +0 -0
  95. package/es/docHistory/index.d.ts +2 -0
  96. package/es/docHistory/scripts/diff.d.ts +1 -0
  97. package/es/docHistory/scripts/useDocHistory.d.ts +10 -0
  98. package/es/docHistory/style/docDiffPanel.less +9 -9
  99. package/es/docHistory/style/docHistoryList.less +58 -58
  100. package/es/docHistory/style/index.d.ts +1 -0
  101. package/es/docHistory/style/index.less +32 -32
  102. package/es/docPreview/component.d.ts +0 -0
  103. package/es/docPreview/components/PreviewIframe.d.ts +0 -0
  104. package/es/docPreview/index.d.ts +2 -0
  105. package/es/docPreview/scripts/api.d.ts +1 -0
  106. package/es/docPreview/scripts/hook.d.ts +20 -0
  107. package/es/docPreview/style/index.d.ts +1 -0
  108. package/es/docPreview/style/index.less +129 -129
  109. package/es/docPreview/style/previewIframe.less +36 -36
  110. package/es/editMetaInfo/component.d.ts +0 -0
  111. package/es/editMetaInfo/components/metaInfoForm.d.ts +0 -0
  112. package/es/editMetaInfo/components/metaInfoForm.js +1 -3
  113. package/es/editMetaInfo/index.d.ts +2 -0
  114. package/es/editMetaInfo/script/api.d.ts +6 -0
  115. package/es/editMetaInfo/script/restaurants.d.ts +4 -0
  116. package/es/editMetaInfo/style/index.d.ts +1 -0
  117. package/es/editMetaInfo/style/index.less +60 -60
  118. package/es/emptyData/component.d.ts +0 -0
  119. package/es/emptyData/index.d.ts +2 -0
  120. package/es/emptyData/style/index.d.ts +1 -0
  121. package/es/emptyData/style/index.less +34 -34
  122. package/es/emptyData/svg/add.d.ts +0 -0
  123. package/es/gif.worker.js +3 -3
  124. package/es/hooks/assets.d.ts +1 -0
  125. package/es/hooks/batch.d.ts +8 -0
  126. package/es/hooks/dialogVisible.d.ts +8 -0
  127. package/es/hooks/source.d.ts +9 -0
  128. package/es/hooks/toggle.d.ts +6 -0
  129. package/es/hooks/useAttachement.d.ts +26 -0
  130. package/es/hooks/useLocalStorage.d.ts +9 -0
  131. package/es/hooks/useLocalStorage.js +2 -1
  132. package/es/hooks/useMediaContext.d.ts +12 -0
  133. package/es/hooks/usePopper.d.ts +8 -0
  134. package/es/hooks/useSelection.d.ts +23 -0
  135. package/es/hooks/useUpload.d.ts +29 -0
  136. package/es/hooks/useUpload.js +84 -3
  137. package/es/hooks/user.d.ts +9 -0
  138. package/es/imageCrop/component.d.ts +0 -0
  139. package/es/imageCrop/index.d.ts +2 -0
  140. package/es/imageCrop/script/api.d.ts +1 -0
  141. package/es/imageCrop/style/cropper.less +291 -291
  142. package/es/imageCrop/style/imageCropper.less +133 -133
  143. package/es/imageCrop/style/index.d.ts +1 -0
  144. package/es/imageCrop/style/index.less +2 -2
  145. package/es/index.d.ts +29 -0
  146. package/es/index.less +29 -29
  147. package/es/mediaFilter/component.d.ts +0 -0
  148. package/es/mediaFilter/components/DocFilter.d.ts +0 -0
  149. package/es/mediaFilter/components/FilterGroup.d.ts +0 -0
  150. package/es/mediaFilter/components/FilterGroup.js +1 -1
  151. package/es/mediaFilter/components/FilterItem.d.ts +0 -0
  152. package/es/mediaFilter/components/MpAccountFilter.d.ts +0 -0
  153. package/es/mediaFilter/components/MpContentFilter.d.ts +0 -0
  154. package/es/mediaFilter/index.d.ts +3 -0
  155. package/es/mediaFilter/script/optionsGetter.d.ts +26 -0
  156. package/es/mediaFilter/script/types.d.ts +16 -0
  157. package/es/mediaFilter/style/index.d.ts +1 -0
  158. package/es/mediaFilter/style/index.less +115 -115
  159. package/es/mediaView/component.d.ts +0 -0
  160. package/es/mediaView/index.d.ts +2 -0
  161. package/es/mediaView/style/index.d.ts +1 -0
  162. package/es/mediaView/style/index.less +71 -71
  163. package/es/messageBox/component.d.ts +0 -0
  164. package/es/messageBox/index.d.ts +2 -0
  165. package/es/messageBox/list.d.ts +0 -0
  166. package/es/messageBox/list.js +1 -1
  167. package/es/messageBox/script/api.d.ts +6 -0
  168. package/es/messageBox/style/index.d.ts +1 -0
  169. package/es/messageBox/style/index.less +71 -71
  170. package/es/previousVersion/component.d.ts +0 -0
  171. package/es/previousVersion/index.d.ts +2 -0
  172. package/es/previousVersion/script/api.d.ts +15 -0
  173. package/es/previousVersion/script/tool.d.ts +6 -0
  174. package/es/previousVersion/style/index.d.ts +1 -0
  175. package/es/previousVersion/style/index.less +209 -209
  176. package/es/resourceGridList/component.d.ts +0 -0
  177. package/es/resourceGridList/components/FileTypeThumb/index.d.ts +0 -0
  178. package/es/resourceGridList/components/FileTypeThumb/index.js +3 -6
  179. package/es/resourceGridList/index.d.ts +2 -0
  180. package/es/resourceGridList/style/FileTypeThumb.less +96 -96
  181. package/es/resourceGridList/style/index.d.ts +1 -0
  182. package/es/resourceGridList/style/index.less +233 -233
  183. package/es/resourceModal/component.d.ts +0 -0
  184. package/es/resourceModal/components/MediaPreviewer/index.d.ts +0 -0
  185. package/es/resourceModal/components/MediaSelection/DocAiMediaSelected/index.d.ts +0 -0
  186. package/es/resourceModal/components/MediaSelection/MainContent/FileTypeThumb/index.d.ts +0 -0
  187. package/es/resourceModal/components/MediaSelection/MainContent/FileTypeThumb/index.js +3 -6
  188. package/es/resourceModal/components/MediaSelection/MainContent/index.d.ts +0 -0
  189. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.d.ts +0 -0
  190. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.d.ts +0 -0
  191. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.js +3 -3
  192. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/index.d.ts +0 -0
  193. package/es/resourceModal/components/MediaSelection/ToolbarSearch/index.d.ts +0 -0
  194. package/es/resourceModal/components/MediaSelection/index.d.ts +0 -0
  195. package/es/resourceModal/index.d.ts +2 -0
  196. package/es/resourceModal/script/api.d.ts +25 -0
  197. package/es/resourceModal/script/mediaSelection.d.ts +14 -0
  198. package/es/resourceModal/style/DocAiMediaSelected.less +55 -55
  199. package/es/resourceModal/style/FileTypeThumb.less +205 -205
  200. package/es/resourceModal/style/MainContent.less +222 -222
  201. package/es/resourceModal/style/MediaPreviewer.less +71 -71
  202. package/es/resourceModal/style/MediaSelection.less +69 -69
  203. package/es/resourceModal/style/SystemResourceSelected.less +154 -154
  204. package/es/resourceModal/style/ToolbarSearch.less +53 -53
  205. package/es/resourceModal/style/index.d.ts +1 -0
  206. package/es/resourceModal/style/index.less +18 -18
  207. package/es/selectAvatarList/component.d.ts +0 -0
  208. package/es/selectAvatarList/index.d.ts +2 -0
  209. package/es/selectAvatarList/style/index.d.ts +1 -0
  210. package/es/selectAvatarList/style/index.less +4 -4
  211. package/es/selectGategory/component.d.ts +0 -0
  212. package/es/selectGategory/components/ColumnSelection/index.d.ts +0 -0
  213. package/es/selectGategory/index.d.ts +2 -0
  214. package/es/selectGategory/script/api.d.ts +6 -0
  215. package/es/selectGategory/style/ColumnSelection.less +190 -190
  216. package/es/selectGategory/style/index.d.ts +1 -0
  217. package/es/selectGategory/style/index.less +40 -40
  218. package/es/selectResourceModal/component.d.ts +0 -0
  219. package/es/selectResourceModal/components/ListCardWrapper/index.d.ts +0 -0
  220. package/es/selectResourceModal/components/ListCardWrapper/index.js +9 -11
  221. package/es/selectResourceModal/components/ListContent/index.d.ts +0 -0
  222. package/es/selectResourceModal/components/ListContentLocal/components/Upload.d.ts +0 -0
  223. package/es/selectResourceModal/components/ListContentLocal/components/Upload.js +18 -3
  224. package/es/selectResourceModal/components/ListContentLocal/index.d.ts +0 -0
  225. package/es/selectResourceModal/components/ListFilter/index.d.ts +0 -0
  226. package/es/selectResourceModal/components/ListFilter/scripts/api.d.ts +1 -0
  227. package/es/selectResourceModal/components/ListSelected/index.d.ts +0 -0
  228. package/es/selectResourceModal/components/ListTabs/index.d.ts +0 -0
  229. package/es/selectResourceModal/index.d.ts +2 -0
  230. package/es/selectResourceModal/scripts/useResourceSelect.d.ts +7 -0
  231. package/es/selectResourceModal/style/index.d.ts +1 -0
  232. package/es/selectResourceModal/style/index.less +70 -70
  233. package/es/selectResourceModal/style/listCardWrapper.less +97 -97
  234. package/es/selectResourceModal/style/listContent.less +5 -5
  235. package/es/selectResourceModal/style/listContentLocal.less +26 -26
  236. package/es/selectResourceModal/style/listFilter.less +41 -41
  237. package/es/selectResourceModal/style/listSelected.less +90 -90
  238. package/es/selectThumb/component.d.ts +0 -0
  239. package/es/selectThumb/components/card.d.ts +0 -0
  240. package/es/selectThumb/components/card.js +6 -10
  241. package/es/selectThumb/components/colorPalette.d.ts +0 -0
  242. package/es/selectThumb/components/colorPicker.d.ts +0 -0
  243. package/es/selectThumb/index.d.ts +2 -0
  244. package/es/selectThumb/style/card.less +95 -95
  245. package/es/selectThumb/style/colorPalette.less +30 -30
  246. package/es/selectThumb/style/index.d.ts +1 -0
  247. package/es/style/index.less +1 -1
  248. package/es/thumbCard/component.d.ts +0 -0
  249. package/es/thumbCard/components/ThumbUploading/index.d.ts +0 -0
  250. package/es/thumbCard/index.d.ts +2 -0
  251. package/es/thumbCard/style/index.d.ts +1 -0
  252. package/es/thumbCard/style/index.less +90 -90
  253. package/es/thumbCard/style/thumbUploading.less +26 -26
  254. package/es/typeIcons/component.d.ts +0 -0
  255. package/es/typeIcons/index.d.ts +2 -0
  256. package/es/typeIcons/style/index.d.ts +1 -0
  257. package/es/typeIcons/style/index.less +6 -6
  258. package/es/uploadBefore/component.d.ts +0 -0
  259. package/es/uploadBefore/components/UploadBefore.d.ts +0 -0
  260. package/es/uploadBefore/components/UploadForClick.d.ts +0 -0
  261. package/es/uploadBefore/index.d.ts +2 -0
  262. package/es/uploadBefore/script/api.d.ts +16 -0
  263. package/es/uploadBefore/script/fileTypeAdapter.d.ts +39 -0
  264. package/es/uploadBefore/script/fileUpload.d.ts +7 -0
  265. package/es/uploadBefore/script/uploadHooks.d.ts +55 -0
  266. package/es/uploadBefore/style/index.d.ts +1 -0
  267. package/es/uploadBefore/style/index.less +144 -144
  268. package/es/uploadBefore/utils/dragUploadEvent.d.ts +0 -0
  269. package/es/uploadStep/component.d.ts +0 -0
  270. package/es/uploadStep/index.d.ts +2 -0
  271. package/es/uploadStep/script/fileTypeAdapter.d.ts +20 -0
  272. package/es/uploadStep/style/index.d.ts +1 -0
  273. package/es/uploadStep/style/index.less +152 -152
  274. package/es/userAvater/component.d.ts +0 -0
  275. package/es/userAvater/index.d.ts +2 -0
  276. package/es/userAvater/script/api.d.ts +8 -0
  277. package/es/userAvater/style/index.d.ts +1 -0
  278. package/es/userAvater/style/index.less +54 -54
  279. package/es/userDirector/component.d.ts +0 -0
  280. package/es/userDirector/components/userTree.d.ts +0 -0
  281. package/es/userDirector/index.d.ts +2 -0
  282. package/es/userDirector/script/api.d.ts +10 -0
  283. package/es/userDirector/style/index.d.ts +1 -0
  284. package/es/utils/auth.d.ts +5 -0
  285. package/es/utils/date.d.ts +3 -0
  286. package/es/utils/doc.d.ts +76 -0
  287. package/es/utils/filter.d.ts +9 -0
  288. package/es/utils/index.d.ts +17 -0
  289. package/es/utils/request.d.ts +9 -0
  290. package/es/utils/resource.d.ts +4 -0
  291. package/es/utils/transcodeMedia.d.ts +13 -0
  292. package/es/utils/tusUpload.d.ts +16 -0
  293. package/es/utils/typeMap.d.ts +185 -0
  294. package/es/utils/uploadCatalog.d.ts +1 -0
  295. package/es/videoThumb/component.d.ts +0 -0
  296. package/es/videoThumb/index.d.ts +2 -0
  297. package/es/videoThumb/scripts/api.d.ts +9 -0
  298. package/es/videoThumb/scripts/useVideoThumbs.d.ts +7 -0
  299. package/es/videoThumb/style/index.d.ts +1 -0
  300. package/es/videoThumb/style/index.less +61 -61
  301. package/lib/appCenter/style/index.less +118 -118
  302. package/lib/baseFilter/style/index.less +45 -45
  303. package/lib/colorPalette/style/index.less +44 -44
  304. package/lib/contentDetailList/style/ComoItem.less +99 -99
  305. package/lib/contentDetailList/style/Content.less +49 -49
  306. package/lib/contentDetailList/style/ContentListItem.less +132 -132
  307. package/lib/contentDetailList/style/Doc.less +3 -3
  308. package/lib/contentDetailList/style/DocMpItem.less +135 -135
  309. package/lib/contentDetailList/style/GroupPieceItem.less +108 -108
  310. package/lib/contentDetailList/style/KongoNavItem.less +104 -104
  311. package/lib/contentDetailList/style/LiveItem.less +108 -108
  312. package/lib/contentDetailList/style/MaccountItem.less +111 -111
  313. package/lib/contentDetailList/style/MatrixItem.less +214 -214
  314. package/lib/contentDetailList/style/courseItem.less +108 -108
  315. package/lib/contentDetailList/style/funhdItem.less +108 -108
  316. package/lib/contentModal/style/ViewAllColumn.less +68 -68
  317. package/lib/contentModal/style/columnTree.less +32 -32
  318. package/lib/contentModal/style/index.less +23 -23
  319. package/lib/contentModal/style/storeBox.less +55 -55
  320. package/lib/dataTags/style/index.less +73 -73
  321. package/lib/docHistory/component.js +3 -2
  322. package/lib/docHistory/style/docDiffPanel.less +9 -9
  323. package/lib/docHistory/style/docHistoryList.less +58 -58
  324. package/lib/docHistory/style/index.less +32 -32
  325. package/lib/docPreview/style/index.less +129 -129
  326. package/lib/docPreview/style/previewIframe.less +36 -36
  327. package/lib/editMetaInfo/components/metaInfoForm.js +1 -3
  328. package/lib/editMetaInfo/style/index.less +60 -60
  329. package/lib/emptyData/style/index.less +34 -34
  330. package/lib/hooks/useLocalStorage.js +2 -1
  331. package/lib/hooks/useUpload.js +85 -2
  332. package/lib/imageCrop/style/cropper.less +291 -291
  333. package/lib/imageCrop/style/imageCropper.less +133 -133
  334. package/lib/imageCrop/style/index.less +2 -2
  335. package/lib/index.less +29 -29
  336. package/lib/mediaFilter/components/FilterGroup.js +1 -1
  337. package/lib/mediaFilter/style/index.less +115 -115
  338. package/lib/mediaView/style/index.less +71 -71
  339. package/lib/messageBox/list.js +1 -1
  340. package/lib/messageBox/style/index.less +71 -71
  341. package/lib/previousVersion/style/index.less +209 -209
  342. package/lib/resourceGridList/components/FileTypeThumb/index.js +3 -6
  343. package/lib/resourceGridList/style/FileTypeThumb.less +96 -96
  344. package/lib/resourceGridList/style/index.less +233 -233
  345. package/lib/resourceModal/components/MediaSelection/MainContent/FileTypeThumb/index.js +3 -6
  346. package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.js +2 -2
  347. package/lib/resourceModal/style/DocAiMediaSelected.less +55 -55
  348. package/lib/resourceModal/style/FileTypeThumb.less +205 -205
  349. package/lib/resourceModal/style/MainContent.less +222 -222
  350. package/lib/resourceModal/style/MediaPreviewer.less +71 -71
  351. package/lib/resourceModal/style/MediaSelection.less +69 -69
  352. package/lib/resourceModal/style/SystemResourceSelected.less +154 -154
  353. package/lib/resourceModal/style/ToolbarSearch.less +53 -53
  354. package/lib/resourceModal/style/index.less +18 -18
  355. package/lib/selectAvatarList/style/index.less +4 -4
  356. package/lib/selectGategory/style/ColumnSelection.less +190 -190
  357. package/lib/selectGategory/style/index.less +40 -40
  358. package/lib/selectResourceModal/components/ListCardWrapper/index.js +9 -11
  359. package/lib/selectResourceModal/components/ListContentLocal/components/Upload.js +16 -1
  360. package/lib/selectResourceModal/style/index.less +70 -70
  361. package/lib/selectResourceModal/style/listCardWrapper.less +97 -97
  362. package/lib/selectResourceModal/style/listContent.less +5 -5
  363. package/lib/selectResourceModal/style/listContentLocal.less +26 -26
  364. package/lib/selectResourceModal/style/listFilter.less +41 -41
  365. package/lib/selectResourceModal/style/listSelected.less +90 -90
  366. package/lib/selectThumb/components/card.js +6 -10
  367. package/lib/selectThumb/style/card.less +95 -95
  368. package/lib/selectThumb/style/colorPalette.less +30 -30
  369. package/lib/style/index.less +1 -1
  370. package/lib/thumbCard/style/index.less +90 -90
  371. package/lib/thumbCard/style/thumbUploading.less +26 -26
  372. package/lib/typeIcons/style/index.less +6 -6
  373. package/lib/uploadBefore/style/index.less +144 -144
  374. package/lib/uploadStep/style/index.less +152 -152
  375. package/lib/userAvater/style/index.less +54 -54
  376. package/lib/videoThumb/style/index.less +61 -61
  377. package/package.json +137 -137
@@ -0,0 +1 @@
1
+ import './index.less';
@@ -1,54 +1,54 @@
1
- .user-avater-container {
2
-
3
- }
4
-
5
- .user-avater-content-info {
6
- width: 328px;
7
- display: flex;
8
- flex-direction: column;
9
- align-items: center;
10
- justify-content: center;
11
- padding: 24px;
12
- padding-bottom: 0px;
13
- line-height: 1;
14
- .avatar {
15
- width: 74px;
16
- height: 74px;
17
- position: relative;
18
- border-radius: 50%;
19
- overflow: hidden;
20
- margin-bottom: 10px;
21
- display: flex;
22
- align-items: center;
23
- justify-content: center;
24
- .arco-avatar {
25
- width: 100%;
26
- height: 100%;
27
- }
28
- }
29
- .nick-name {
30
- font-size: 16px;
31
- color: #1D2129;
32
- font-weight: 500;
33
- margin-bottom: 10px;
34
- }
35
- .user-name,
36
- .user-email {
37
- font-size: 14px;
38
- color: #86909C;
39
- margin-bottom: 10px;
40
- }
41
- .org-alias {
42
- border: 1px solid #EBEEF5;
43
- padding: 10px 20px;
44
- border-radius: 40px;
45
- }
46
- .b_info_bottom {
47
- height: 52px;
48
- padding: 10px 16px;
49
- width: 100%;
50
- display: flex;
51
- align-items: center;
52
- justify-content: center;
53
- }
54
- }
1
+ .user-avater-container {
2
+
3
+ }
4
+
5
+ .user-avater-content-info {
6
+ width: 328px;
7
+ display: flex;
8
+ flex-direction: column;
9
+ align-items: center;
10
+ justify-content: center;
11
+ padding: 24px;
12
+ padding-bottom: 0px;
13
+ line-height: 1;
14
+ .avatar {
15
+ width: 74px;
16
+ height: 74px;
17
+ position: relative;
18
+ border-radius: 50%;
19
+ overflow: hidden;
20
+ margin-bottom: 10px;
21
+ display: flex;
22
+ align-items: center;
23
+ justify-content: center;
24
+ .arco-avatar {
25
+ width: 100%;
26
+ height: 100%;
27
+ }
28
+ }
29
+ .nick-name {
30
+ font-size: 16px;
31
+ color: #1D2129;
32
+ font-weight: 500;
33
+ margin-bottom: 10px;
34
+ }
35
+ .user-name,
36
+ .user-email {
37
+ font-size: 14px;
38
+ color: #86909C;
39
+ margin-bottom: 10px;
40
+ }
41
+ .org-alias {
42
+ border: 1px solid #EBEEF5;
43
+ padding: 10px 20px;
44
+ border-radius: 40px;
45
+ }
46
+ .b_info_bottom {
47
+ height: 52px;
48
+ padding: 10px 16px;
49
+ width: 100%;
50
+ display: flex;
51
+ align-items: center;
52
+ justify-content: center;
53
+ }
54
+ }
File without changes
File without changes
@@ -0,0 +1,2 @@
1
+ declare const userDirector: any;
2
+ export default userDirector;
@@ -0,0 +1,10 @@
1
+ interface Params {
2
+ [key: string]: any;
3
+ }
4
+ export declare function getRepoRoleList(BASE_API: string, params: Params): import("axios").AxiosPromise<any>;
5
+ export declare function getRoleAllUser(BASE_API: string, params: Params): import("axios").AxiosPromise<any>;
6
+ export declare function getDepartList(BASE_API: string): import("axios").AxiosPromise<any>;
7
+ export declare function getDepartUserList(BASE_API: string, params: Params): import("axios").AxiosPromise<any>;
8
+ export declare function getRepoUserList(BASE_API: string, params: Params): import("axios").AxiosPromise<any>;
9
+ export declare function getDepartChildren(BASE_API: string, params: Params): import("axios").AxiosPromise<any>;
10
+ export {};
@@ -0,0 +1 @@
1
+ import './index.less';
@@ -0,0 +1,5 @@
1
+ export declare function getToken(): string | null;
2
+ export declare function setToken(token: string): void;
3
+ export declare function getRID(): string | null;
4
+ export declare function setRID(rid: string | number): void;
5
+ export declare function removeToken(): void;
@@ -0,0 +1,3 @@
1
+ export declare function getSpaceDate(date: any): string | 0;
2
+ declare const _default: null;
3
+ export default _default;
@@ -0,0 +1,76 @@
1
+ declare type KeyValue = {
2
+ [key: string]: string;
3
+ };
4
+ export declare const docStateMap: {
5
+ 0: string;
6
+ 10: string;
7
+ 12: string;
8
+ 13: string;
9
+ 14: string;
10
+ 15: string;
11
+ 16: string;
12
+ 17: string;
13
+ 19: string;
14
+ 22: string;
15
+ };
16
+ export declare const docPubStateMap: KeyValue;
17
+ export declare const stateOptions: () => {
18
+ value: string;
19
+ label: string;
20
+ }[];
21
+ export declare const docThumbObjMap: any;
22
+ export declare const docThumbRatioMap: () => any;
23
+ export declare const docThumbArrMap: () => unknown[];
24
+ export declare const docThumbOptions: () => {
25
+ label: any;
26
+ value: string;
27
+ }[];
28
+ export declare const docThumbMap: () => any;
29
+ export declare const docThumbTypeMap: () => {
30
+ value: string;
31
+ label: any;
32
+ }[];
33
+ export declare const docSeries: KeyValue;
34
+ export declare const typeOptions: () => {
35
+ value: string;
36
+ label: string;
37
+ }[];
38
+ export declare const otherSeries: {
39
+ wechat: string;
40
+ ad: string;
41
+ activity: string;
42
+ booklink: string;
43
+ vote_activity: string;
44
+ vote: string;
45
+ cloud_lottery: string;
46
+ cloud_form: string;
47
+ };
48
+ export declare const editDocTypeToRouteMap: {
49
+ imagetext: string;
50
+ atlas: string;
51
+ video: string;
52
+ video_album: string;
53
+ svideo: string;
54
+ audio: string;
55
+ audio_album: string;
56
+ special_v3: string;
57
+ h5: string;
58
+ mini_program: string;
59
+ sp_topic: string;
60
+ local_live: string;
61
+ };
62
+ export declare const approvalItem: (item: any) => any;
63
+ export declare const getPublishParmas: (categories: any[], categories_with: any[], docData: any) => {
64
+ category: {
65
+ id: any;
66
+ repo_id: any;
67
+ };
68
+ category_with: {
69
+ id: any;
70
+ repo_id: any;
71
+ }[];
72
+ clean_offline_time: boolean;
73
+ id: any;
74
+ };
75
+ export declare function getDocThumb(item: any): any;
76
+ export {};
@@ -0,0 +1,9 @@
1
+ export declare const rateOptions: import("vue").Ref<{
2
+ label: string;
3
+ value: string;
4
+ }[]>;
5
+ export declare const keywordsSelection: import("vue").Ref<{
6
+ name: string;
7
+ value: string;
8
+ }[]>;
9
+ export declare const timeFormat: import("vue").ComputedRef<(value: any) => string>;
@@ -0,0 +1,17 @@
1
+ export declare const dateYYYYDDMMHHmm: (date: any) => string;
2
+ export declare const generateUUID: () => string;
3
+ /**
4
+ * @description await 回调处理
5
+ * @param { Promise } promise
6
+ * @param { Object= } errorExt - Additional Information you can pass to the err object
7
+ * @return { Promise }
8
+ */
9
+ export declare const to: <T, U = Error>(promise: Promise<T>, errorExt?: any) => Promise<[U, undefined] | [null, T]>;
10
+ export declare function replaceSuffix(str: string, insert: string): string;
11
+ export declare const noCoverText: (item: any) => any;
12
+ export declare const timeFormat: (value: any) => string;
13
+ export declare const validateForm: (formRef: any) => Promise<unknown>;
14
+ export declare function getRealUrl(BASE_API: string, url: string): Promise<unknown>;
15
+ export declare function getThemeColor(BASE_API: string, src: string): Promise<unknown>;
16
+ export declare function copyContent(content: string | Blob): Promise<boolean>;
17
+ export declare function mediaTime(v: number): string;
@@ -0,0 +1,9 @@
1
+ declare module 'axios' {
2
+ interface AxiosResponse<T = any> {
3
+ code: number;
4
+ data: T;
5
+ message: T;
6
+ }
7
+ function create(config?: AxiosRequestConfig): AxiosInstance;
8
+ }
9
+ export default function (BASE_API: string, options: any): import("axios").AxiosPromise<any>;
@@ -0,0 +1,4 @@
1
+ export declare const keywordsSelection: {
2
+ name: string;
3
+ value: string;
4
+ }[];
@@ -0,0 +1,13 @@
1
+ export declare function getTranscodingProgress(BASE_API: string, id: number): import("axios").AxiosPromise<any>;
2
+ /**
3
+ * 转码逻辑
4
+ * @description 转码逻辑抽离,后期所有涉及到转码的地方都可用该方法
5
+ */
6
+ export declare class TranscodingTask {
7
+ file: any;
8
+ pollCount: number;
9
+ taskInterval: any;
10
+ constructor(file: any);
11
+ start(BASE_API: string, callback: (progress: number) => any): Promise<unknown>;
12
+ abort(): void;
13
+ }
@@ -0,0 +1,16 @@
1
+ import * as TUS from 'tus-js-client';
2
+ /**
3
+ * @description 通过 TUS 实现大文件分片上传
4
+ * @param file 要上传的文件
5
+ * @param progressCallback 上传进度回调函数
6
+ * @returns
7
+ */
8
+ export declare function uploadByTUS(file: File, progressCallback?: (b: number, t: number) => void): Promise<TUS.Upload>;
9
+ export declare class TusUploadTask {
10
+ file: any;
11
+ upload: any;
12
+ platformKey?: string;
13
+ constructor(file: any, platformKey?: string);
14
+ start(callback: (bytesUploaded: any, bytesTotal: any) => any): Promise<unknown>;
15
+ abort(): any;
16
+ }
@@ -0,0 +1,185 @@
1
+ export declare const docType: {
2
+ blank: string;
3
+ atlas: string;
4
+ video: string;
5
+ video_album: string;
6
+ imagetext: string;
7
+ link: string;
8
+ wechat: string;
9
+ live: string;
10
+ ad: string;
11
+ h5: string;
12
+ special_v3: string;
13
+ activity: string;
14
+ booklink: string;
15
+ svideo: string;
16
+ audio: string;
17
+ audio_album: string;
18
+ vote_activity: string;
19
+ vote: string;
20
+ cloud_form: string;
21
+ };
22
+ export declare const catalogMap: {
23
+ doc: string;
24
+ video: string;
25
+ project: string;
26
+ audio: string;
27
+ image: string;
28
+ pdf: string;
29
+ officeexcel: string;
30
+ officeppt: string;
31
+ officedoc: string;
32
+ rar: string;
33
+ zip: string;
34
+ txt: string;
35
+ html: string;
36
+ exe: string;
37
+ other: string;
38
+ contentList: string;
39
+ column: string;
40
+ link: string;
41
+ banners: string;
42
+ group: string;
43
+ mpGroup: string;
44
+ mpList: string;
45
+ mpAccount: string;
46
+ mpTopic: string;
47
+ mpContent: string;
48
+ };
49
+ export declare const target_type_map: {
50
+ 3: string;
51
+ 4: string;
52
+ 5: string;
53
+ 6: string;
54
+ 7: string;
55
+ 8: string;
56
+ 9: string;
57
+ 10: string;
58
+ 13: string;
59
+ 14: any;
60
+ 15: string;
61
+ 16: string;
62
+ 17: string;
63
+ 18: string;
64
+ };
65
+ export declare const key_target_type_map: any;
66
+ export declare const approveFlowStatusMap: {
67
+ 1: string;
68
+ 2: string;
69
+ 3: string;
70
+ 4: string;
71
+ 5: string;
72
+ 6: string;
73
+ 7: string;
74
+ 8: string;
75
+ };
76
+ export declare const groupPieceType: any;
77
+ export declare const componentsColumns: any;
78
+ export declare const compoColumnsWithKeyMap: {
79
+ top: string;
80
+ banner: string;
81
+ newsletters: string;
82
+ svideo: string;
83
+ function: string;
84
+ special: string;
85
+ news_letter: string;
86
+ focus: string;
87
+ horizon_slide: string;
88
+ radio: string;
89
+ tv: string;
90
+ mp_account: string;
91
+ column: string;
92
+ image: string;
93
+ timeline: string;
94
+ rank: string;
95
+ group_list: string;
96
+ };
97
+ export declare const compoColumnsMap: () => any;
98
+ export declare const contentList_list_type_map: {
99
+ 1: string;
100
+ 2: string;
101
+ 3: string;
102
+ 4: string;
103
+ 5: string;
104
+ 6: string;
105
+ 7: string;
106
+ };
107
+ export declare const contentList_relation_type_map: {
108
+ 0: string;
109
+ 1: string;
110
+ 2: string;
111
+ 3: string;
112
+ 4: string;
113
+ 10: string;
114
+ };
115
+ export declare const contentList_layout_map: any;
116
+ export declare const mp_type_map: any;
117
+ export declare const mpTypeOptions: () => {
118
+ value: string;
119
+ label: any;
120
+ }[];
121
+ export declare const kongo_source_map: {
122
+ app: string;
123
+ url: string;
124
+ document: string;
125
+ category_list: string;
126
+ service: string;
127
+ political: string;
128
+ applet: string;
129
+ };
130
+ export declare const calcApprovingUser: (data: any) => any;
131
+ export declare const calcApprovingDependent: (data: any) => string;
132
+ export declare const ilive_type_map: {
133
+ 1: string;
134
+ 2: string;
135
+ 3: string;
136
+ };
137
+ export declare const local_live_doc_type: any;
138
+ export declare const local_live_doc_status: {
139
+ value: number;
140
+ label: string;
141
+ bgColor: string;
142
+ }[];
143
+ export declare const matrixPublishStateMap: {
144
+ '-1': string;
145
+ 0: string;
146
+ 1: string;
147
+ 2: string;
148
+ 3: string;
149
+ 4: string;
150
+ };
151
+ export declare const matrixPublishFormalStateMap: {
152
+ '-1': string;
153
+ 0: string;
154
+ 1: string;
155
+ 2: string;
156
+ 3: string;
157
+ 4: string;
158
+ 5: string;
159
+ 6: string;
160
+ 7: string;
161
+ 8: string;
162
+ 9: string;
163
+ 10: string;
164
+ 11: string;
165
+ 12: string;
166
+ 13: string;
167
+ };
168
+ export declare const RESOURCE_SOURCE_DICT: {
169
+ ai: string;
170
+ live_rec: string;
171
+ backend: string;
172
+ };
173
+ export declare const RESOURCE_CATALOG_DICT: {
174
+ image: string;
175
+ video: string;
176
+ audio: string;
177
+ };
178
+ export declare const RESOURCE_SOURCE_OPTIONS: {
179
+ value: string;
180
+ label: string;
181
+ }[];
182
+ export declare const RESOURCE_CATALOG_OPTIONS: {
183
+ value: string;
184
+ label: string;
185
+ }[];
@@ -0,0 +1 @@
1
+ export declare function checkType(file: any, param: any): any;
File without changes
@@ -0,0 +1,2 @@
1
+ declare const videoThumb: any;
2
+ export default videoThumb;
@@ -0,0 +1,9 @@
1
+ declare type EditThumbParams = {
2
+ url: string;
3
+ count: number;
4
+ start: number;
5
+ end: number;
6
+ search: string;
7
+ };
8
+ export declare function editthumb(BASE_URL: string, params: EditThumbParams): import("axios").AxiosPromise<any>;
9
+ export {};
@@ -0,0 +1,7 @@
1
+ export declare function getHMSF(time: string): string;
2
+ export declare function useVideoThumbs(): {
3
+ thumbs: import("vue").Ref<any[]>;
4
+ curThumb: import("vue").Ref<string | undefined>;
5
+ getVideoThumbs: (BASE_API: string, url: string, duration: number) => Promise<void>;
6
+ handleSelectThumb: (idx: number) => void;
7
+ };
@@ -0,0 +1 @@
1
+ import './index.less';
@@ -1,61 +1,61 @@
1
- .video-thumb {
2
- display: flex;
3
- flex-direction: column;
4
- gap: 10px;
5
- box-sizing: border-box;
6
- width: 100%;
7
- height: 100%;
8
- padding: 10px;
9
- overflow: hidden;
10
-
11
- // 播放器
12
- .video-player-container {
13
- display: flex;
14
- flex: 1;
15
- flex-direction: column;
16
- overflow: hidden;
17
-
18
- video {
19
- height: 100%;
20
- }
21
- }
22
-
23
- // 视频封面列表
24
- .video-thumb-list {
25
- position: relative;
26
- display: flex;
27
- height: 80px;
28
- padding: 20px 0;
29
-
30
- .video-thumb-list-item {
31
- flex: 1;
32
- cursor: pointer;
33
- user-select: none;
34
-
35
- img {
36
- width: 100%;
37
- height: 100%;
38
- object-fit: cover;
39
- transition: all 0.1s ease-in-out;
40
- // 不允许拖动
41
- pointer-events: none;
42
- }
43
-
44
- &:hover:not(.active) {
45
- img {
46
- transform: scale(1.05);
47
- }
48
- }
49
- }
50
-
51
- .video-thumb-list-drager {
52
- position: absolute;
53
- top: 20px;
54
- left: 0;
55
- width: 6px;
56
- height: calc(100% - 40px);
57
- background-color: rgb(var(--primary-5));
58
- cursor: pointer;
59
- }
60
- }
61
- }
1
+ .video-thumb {
2
+ display: flex;
3
+ flex-direction: column;
4
+ gap: 10px;
5
+ box-sizing: border-box;
6
+ width: 100%;
7
+ height: 100%;
8
+ padding: 10px;
9
+ overflow: hidden;
10
+
11
+ // 播放器
12
+ .video-player-container {
13
+ display: flex;
14
+ flex: 1;
15
+ flex-direction: column;
16
+ overflow: hidden;
17
+
18
+ video {
19
+ height: 100%;
20
+ }
21
+ }
22
+
23
+ // 视频封面列表
24
+ .video-thumb-list {
25
+ position: relative;
26
+ display: flex;
27
+ height: 80px;
28
+ padding: 20px 0;
29
+
30
+ .video-thumb-list-item {
31
+ flex: 1;
32
+ cursor: pointer;
33
+ user-select: none;
34
+
35
+ img {
36
+ width: 100%;
37
+ height: 100%;
38
+ object-fit: cover;
39
+ transition: all 0.1s ease-in-out;
40
+ // 不允许拖动
41
+ pointer-events: none;
42
+ }
43
+
44
+ &:hover:not(.active) {
45
+ img {
46
+ transform: scale(1.05);
47
+ }
48
+ }
49
+ }
50
+
51
+ .video-thumb-list-drager {
52
+ position: absolute;
53
+ top: 20px;
54
+ left: 0;
55
+ width: 6px;
56
+ height: calc(100% - 40px);
57
+ background-color: rgb(var(--primary-5));
58
+ cursor: pointer;
59
+ }
60
+ }
61
+ }