@cmstops/pro-compo 3.9.1-stable.3 → 3.9.1-stable.5

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 (322) hide show
  1. package/dist/index.min.js.map +1 -1
  2. package/es/contentDetailList/components/ShowQRCode/QrcodeView/index.js +4 -2
  3. package/es/contentModal/component.js +16 -8
  4. package/es/contentModal/components/ViewAllColumn/MediaFilter/index.js +6 -176
  5. package/es/contentModal/components/ViewAllColumn/index.js +0 -1
  6. package/es/contentModal/components/storeBox/index.js +4 -2
  7. package/es/contentModal/script/api.js +1 -7
  8. package/es/dataTags/component.js +10 -5
  9. package/es/docHistory/component.js +2 -1
  10. package/es/docPreview/component.js +10 -5
  11. package/es/editMetaInfo/components/metaInfoForm.js +4 -2
  12. package/es/imageCrop/component.js +4 -2
  13. package/es/importData/component.js +6 -3
  14. package/es/index.js +1 -0
  15. package/es/mediaFilter/components/DocFilter.js +2 -1
  16. package/es/resourceGridList/component.js +4 -2
  17. package/es/resourceModal/components/MediaSelection/DocAiMediaSelected/index.js +2 -1
  18. package/es/resourceModal/components/MediaSelection/MainContent/index.js +4 -2
  19. package/es/selectAddTo/component.js +47 -0
  20. package/es/selectAddTo/component.vue_vue_type_style_index_0_scoped_true_lang.js +2 -0
  21. package/es/selectAddTo/components/SelectAddToView.js +91 -0
  22. package/es/selectAddTo/components/SelectAddToView.vue_vue_type_style_index_0_scoped_true_lang.js +2 -0
  23. package/es/selectAddTo/components/ViewAllColumn/MediaFilter/index.js +166 -0
  24. package/es/selectAddTo/components/ViewAllColumn/index.js +212 -0
  25. package/es/selectAddTo/components/ViewAllColumn/index.vue_vue_type_style_index_0_scoped_true_lang.js +2 -0
  26. package/es/selectAddTo/components/ViewAllColumn/script/useTableColumns.js +102 -0
  27. package/es/selectAddTo/components/ViewAllColumn/script/useViewAllColumnState.js +182 -0
  28. package/es/selectAddTo/index.js +7 -0
  29. package/es/selectAddTo/script/api.js +23 -0
  30. package/es/selectAddTo/script/useSelectAddToState.js +55 -0
  31. package/es/selectAddTo/style/css.js +1 -0
  32. package/es/selectAddTo/style/index.css +3 -0
  33. package/es/selectAddTo/style/index.js +1 -0
  34. package/es/selectAddTo/style/index.less +3 -0
  35. package/es/selectResourceModal/component.js +10 -5
  36. package/es/selectResourceModal/components/List/ListLocal/Upload.js +2 -1
  37. package/es/selectResourceModal/components/List/ListNormal/Filter.js +8 -4
  38. package/es/selectResourceModal/components/List/ListSystem/Filter.js +2 -1
  39. package/es/selectThumb/component.js +9 -9
  40. package/es/style.css +63 -0
  41. package/es/typeIcons/component.js +1 -1
  42. package/es/userAvater/component.js +2 -1
  43. package/es/userDirector/component.js +2 -1
  44. package/lib/contentDetailList/components/ShowQRCode/QrcodeView/index.js +4 -2
  45. package/lib/contentModal/component.js +16 -8
  46. package/lib/contentModal/components/ViewAllColumn/MediaFilter/index.js +5 -175
  47. package/lib/contentModal/components/ViewAllColumn/index.js +0 -1
  48. package/lib/contentModal/components/storeBox/index.js +4 -2
  49. package/lib/contentModal/script/api.js +0 -7
  50. package/lib/dataTags/component.js +10 -5
  51. package/lib/docHistory/component.js +2 -1
  52. package/lib/docPreview/component.js +10 -5
  53. package/lib/editMetaInfo/components/metaInfoForm.js +4 -2
  54. package/lib/imageCrop/component.js +4 -2
  55. package/lib/importData/component.js +6 -3
  56. package/lib/index.js +2 -0
  57. package/lib/mediaFilter/components/DocFilter.js +2 -1
  58. package/lib/resourceGridList/component.js +4 -2
  59. package/lib/resourceModal/components/MediaSelection/DocAiMediaSelected/index.js +2 -1
  60. package/lib/resourceModal/components/MediaSelection/MainContent/index.js +4 -2
  61. package/lib/selectAddTo/component.js +48 -0
  62. package/lib/selectAddTo/component.vue_vue_type_style_index_0_scoped_true_lang.js +3 -0
  63. package/lib/selectAddTo/components/SelectAddToView.js +92 -0
  64. package/lib/selectAddTo/components/SelectAddToView.vue_vue_type_style_index_0_scoped_true_lang.js +3 -0
  65. package/lib/selectAddTo/components/ViewAllColumn/MediaFilter/index.js +167 -0
  66. package/lib/selectAddTo/components/ViewAllColumn/index.js +213 -0
  67. package/lib/selectAddTo/components/ViewAllColumn/index.vue_vue_type_style_index_0_scoped_true_lang.js +3 -0
  68. package/lib/selectAddTo/components/ViewAllColumn/script/useTableColumns.js +108 -0
  69. package/lib/selectAddTo/components/ViewAllColumn/script/useViewAllColumnState.js +184 -0
  70. package/lib/selectAddTo/index.js +8 -0
  71. package/lib/selectAddTo/script/api.js +27 -0
  72. package/lib/selectAddTo/script/useSelectAddToState.js +57 -0
  73. package/lib/selectAddTo/style/css.js +2 -0
  74. package/lib/selectAddTo/style/index.css +3 -0
  75. package/lib/selectAddTo/style/index.js +2 -0
  76. package/lib/selectAddTo/style/index.less +3 -0
  77. package/lib/selectResourceModal/component.js +10 -5
  78. package/lib/selectResourceModal/components/List/ListLocal/Upload.js +2 -1
  79. package/lib/selectResourceModal/components/List/ListNormal/Filter.js +8 -4
  80. package/lib/selectResourceModal/components/List/ListSystem/Filter.js +2 -1
  81. package/lib/selectThumb/component.js +9 -9
  82. package/lib/typeIcons/component.js +1 -1
  83. package/lib/userAvater/component.js +2 -1
  84. package/lib/userDirector/component.js +2 -1
  85. package/package.json +1 -1
  86. package/es/appCenter/component.d.ts +0 -0
  87. package/es/appCenter/index.d.ts +0 -2
  88. package/es/appCenter/script/api.d.ts +0 -11
  89. package/es/appCenter/script/apps.d.ts +0 -14
  90. package/es/appCenter/script/permissionMap.d.ts +0 -6
  91. package/es/appCenter/script/routeMap.d.ts +0 -4
  92. package/es/appCenter/style/index.d.ts +0 -1
  93. package/es/baseFilter/component.d.ts +0 -0
  94. package/es/baseFilter/components/FilterGroup.d.ts +0 -0
  95. package/es/baseFilter/components/filterItem.d.ts +0 -0
  96. package/es/baseFilter/index.d.ts +0 -2
  97. package/es/baseFilter/style/index.d.ts +0 -1
  98. package/es/baseFilter/useCalcWidth.d.ts +0 -16
  99. package/es/colorPalette/component.d.ts +0 -0
  100. package/es/colorPalette/components/colorPicker.d.ts +0 -0
  101. package/es/colorPalette/index.d.ts +0 -2
  102. package/es/colorPalette/style/index.d.ts +0 -1
  103. package/es/components.d.ts +0 -5
  104. package/es/config.d.ts +0 -4
  105. package/es/contentDetailList/__demo__/matrix/platform.d.ts +0 -36
  106. package/es/contentDetailList/component.d.ts +0 -0
  107. package/es/contentDetailList/components/Content/CompoItem/index.d.ts +0 -0
  108. package/es/contentDetailList/components/Content/ContentListItem/index.d.ts +0 -0
  109. package/es/contentDetailList/components/Content/DocItem/ApprovalStateMap/index.d.ts +0 -0
  110. package/es/contentDetailList/components/Content/DocItem/index.d.ts +0 -0
  111. package/es/contentDetailList/components/Content/DocMpItem/index.d.ts +0 -0
  112. package/es/contentDetailList/components/Content/GroupPieceItem/index.d.ts +0 -0
  113. package/es/contentDetailList/components/Content/KongoNavItem/index.d.ts +0 -0
  114. package/es/contentDetailList/components/Content/LiveItem/index.d.ts +0 -0
  115. package/es/contentDetailList/components/Content/MaccountItem/index.d.ts +0 -0
  116. package/es/contentDetailList/components/Content/courseItem/index.d.ts +0 -0
  117. package/es/contentDetailList/components/Content/funhdItem/index.d.ts +0 -0
  118. package/es/contentDetailList/components/Content/index.d.ts +0 -0
  119. package/es/contentDetailList/components/CustomWrp/CustomItem.d.ts +0 -0
  120. package/es/contentDetailList/components/CustomWrp/index.d.ts +0 -0
  121. package/es/contentDetailList/components/Doc/index.d.ts +0 -0
  122. package/es/contentDetailList/components/Records/MatrixItem/index.d.ts +0 -0
  123. package/es/contentDetailList/components/Records/index.d.ts +0 -0
  124. package/es/contentDetailList/components/ShowQRCode/QrcodeView/index.d.ts +0 -0
  125. package/es/contentDetailList/components/ShowQRCode/index.d.ts +0 -0
  126. package/es/contentDetailList/index.d.ts +0 -2
  127. package/es/contentDetailList/script/api.d.ts +0 -6
  128. package/es/contentDetailList/style/index.d.ts +0 -1
  129. package/es/contentModal/component.d.ts +0 -0
  130. package/es/contentModal/components/CompoList/CompoFilter/index.d.ts +0 -0
  131. package/es/contentModal/components/CompoList/index.d.ts +0 -0
  132. package/es/contentModal/components/ContentList/MediaFilter/index.d.ts +0 -0
  133. package/es/contentModal/components/ContentList/index.d.ts +0 -0
  134. package/es/contentModal/components/Dejin/MediaFilter/index.d.ts +0 -0
  135. package/es/contentModal/components/Dejin/index.d.ts +0 -0
  136. package/es/contentModal/components/EqxiuList/MediaFilter/index.d.ts +0 -0
  137. package/es/contentModal/components/EqxiuList/index.d.ts +0 -0
  138. package/es/contentModal/components/LiveList/MediaFilter/index.d.ts +0 -0
  139. package/es/contentModal/components/LiveList/index.d.ts +0 -0
  140. package/es/contentModal/components/MpAccountList/MpAccountFilter/index.d.ts +0 -0
  141. package/es/contentModal/components/MpAccountList/index.d.ts +0 -0
  142. package/es/contentModal/components/MpContentList/MediaFilter/index.d.ts +0 -0
  143. package/es/contentModal/components/MpContentList/index.d.ts +0 -0
  144. package/es/contentModal/components/ViewAllColumn/MediaFilter/index.d.ts +0 -0
  145. package/es/contentModal/components/ViewAllColumn/columnTree/index.d.ts +0 -0
  146. package/es/contentModal/components/ViewAllColumn/columnTree/index.js +0 -151
  147. package/es/contentModal/components/ViewAllColumn/index.d.ts +0 -0
  148. package/es/contentModal/components/storeBox/index.d.ts +0 -0
  149. package/es/contentModal/index.d.ts +0 -2
  150. package/es/contentModal/script/api.d.ts +0 -18
  151. package/es/contentModal/style/index.d.ts +0 -1
  152. package/es/dataTags/component.d.ts +0 -0
  153. package/es/dataTags/index.d.ts +0 -2
  154. package/es/dataTags/style/index.d.ts +0 -1
  155. package/es/docHistory/component.d.ts +0 -0
  156. package/es/docHistory/components/DocDiffPanel/index.d.ts +0 -0
  157. package/es/docHistory/components/DocHistoryList/index.d.ts +0 -0
  158. package/es/docHistory/index.d.ts +0 -2
  159. package/es/docHistory/scripts/diff.d.ts +0 -1
  160. package/es/docHistory/scripts/useDocHistory.d.ts +0 -10
  161. package/es/docHistory/style/index.d.ts +0 -1
  162. package/es/docPreview/component.d.ts +0 -0
  163. package/es/docPreview/components/PreviewIframe.d.ts +0 -0
  164. package/es/docPreview/index.d.ts +0 -2
  165. package/es/docPreview/scripts/api.d.ts +0 -1
  166. package/es/docPreview/scripts/hook.d.ts +0 -33
  167. package/es/docPreview/style/index.d.ts +0 -1
  168. package/es/editMetaInfo/component.d.ts +0 -0
  169. package/es/editMetaInfo/components/metaInfoForm.d.ts +0 -0
  170. package/es/editMetaInfo/index.d.ts +0 -2
  171. package/es/editMetaInfo/script/api.d.ts +0 -6
  172. package/es/editMetaInfo/script/restaurants.d.ts +0 -4
  173. package/es/editMetaInfo/style/index.d.ts +0 -1
  174. package/es/emptyData/component.d.ts +0 -0
  175. package/es/emptyData/index.d.ts +0 -2
  176. package/es/emptyData/style/index.d.ts +0 -1
  177. package/es/emptyData/svg/add.d.ts +0 -0
  178. package/es/hooks/assets.d.ts +0 -1
  179. package/es/hooks/batch.d.ts +0 -8
  180. package/es/hooks/dialogVisible.d.ts +0 -8
  181. package/es/hooks/source.d.ts +0 -9
  182. package/es/hooks/toggle.d.ts +0 -6
  183. package/es/hooks/useAttachement.d.ts +0 -53
  184. package/es/hooks/useLocalStorage.d.ts +0 -10
  185. package/es/hooks/useMediaContext.d.ts +0 -12
  186. package/es/hooks/usePopper.d.ts +0 -8
  187. package/es/hooks/useSelection.d.ts +0 -30
  188. package/es/hooks/useUpload.d.ts +0 -78
  189. package/es/hooks/user.d.ts +0 -9
  190. package/es/imageCrop/component.d.ts +0 -0
  191. package/es/imageCrop/index.d.ts +0 -2
  192. package/es/imageCrop/script/api.d.ts +0 -1
  193. package/es/imageCrop/style/index.d.ts +0 -1
  194. package/es/importData/component.d.ts +0 -0
  195. package/es/importData/index.d.ts +0 -2
  196. package/es/importData/style/index.d.ts +0 -1
  197. package/es/index.d.ts +0 -30
  198. package/es/mediaFilter/component.d.ts +0 -0
  199. package/es/mediaFilter/components/DocFilter.d.ts +0 -0
  200. package/es/mediaFilter/components/FilterGroup.d.ts +0 -0
  201. package/es/mediaFilter/components/FilterItem.d.ts +0 -0
  202. package/es/mediaFilter/components/MpAccountFilter.d.ts +0 -0
  203. package/es/mediaFilter/components/MpContentFilter.d.ts +0 -0
  204. package/es/mediaFilter/index.d.ts +0 -3
  205. package/es/mediaFilter/script/optionsGetter.d.ts +0 -26
  206. package/es/mediaFilter/script/types.d.ts +0 -16
  207. package/es/mediaFilter/style/index.d.ts +0 -1
  208. package/es/mediaView/component.d.ts +0 -0
  209. package/es/mediaView/index.d.ts +0 -2
  210. package/es/mediaView/style/index.d.ts +0 -1
  211. package/es/messageBox/component.d.ts +0 -0
  212. package/es/messageBox/index.d.ts +0 -2
  213. package/es/messageBox/list.d.ts +0 -0
  214. package/es/messageBox/script/api.d.ts +0 -6
  215. package/es/messageBox/style/index.d.ts +0 -1
  216. package/es/previousVersion/component.d.ts +0 -0
  217. package/es/previousVersion/index.d.ts +0 -2
  218. package/es/previousVersion/script/api.d.ts +0 -15
  219. package/es/previousVersion/script/tool.d.ts +0 -6
  220. package/es/previousVersion/style/index.d.ts +0 -1
  221. package/es/resourceGridList/component.d.ts +0 -0
  222. package/es/resourceGridList/components/FileTypeThumb/index.d.ts +0 -0
  223. package/es/resourceGridList/index.d.ts +0 -2
  224. package/es/resourceGridList/style/index.d.ts +0 -1
  225. package/es/resourceModal/component.d.ts +0 -0
  226. package/es/resourceModal/components/MediaPreviewer/index.d.ts +0 -0
  227. package/es/resourceModal/components/MediaSelection/DocAiMediaSelected/index.d.ts +0 -0
  228. package/es/resourceModal/components/MediaSelection/MainContent/FileTypeThumb/index.d.ts +0 -0
  229. package/es/resourceModal/components/MediaSelection/MainContent/index.d.ts +0 -0
  230. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.d.ts +0 -0
  231. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.d.ts +0 -0
  232. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/index.d.ts +0 -0
  233. package/es/resourceModal/components/MediaSelection/ToolbarSearch/index.d.ts +0 -0
  234. package/es/resourceModal/components/MediaSelection/index.d.ts +0 -0
  235. package/es/resourceModal/index.d.ts +0 -2
  236. package/es/resourceModal/script/api.d.ts +0 -25
  237. package/es/resourceModal/script/mediaSelection.d.ts +0 -14
  238. package/es/resourceModal/style/index.d.ts +0 -1
  239. package/es/selectAvatarList/component.d.ts +0 -0
  240. package/es/selectAvatarList/index.d.ts +0 -2
  241. package/es/selectAvatarList/style/index.d.ts +0 -1
  242. package/es/selectGategory/component.d.ts +0 -0
  243. package/es/selectGategory/components/ColumnSelection/index.d.ts +0 -0
  244. package/es/selectGategory/index.d.ts +0 -2
  245. package/es/selectGategory/script/api.d.ts +0 -6
  246. package/es/selectGategory/style/index.d.ts +0 -1
  247. package/es/selectResourceModal/__demo__/module/DivWrapper.d.ts +0 -268
  248. package/es/selectResourceModal/__demo__/module/basic.d.ts +0 -299
  249. package/es/selectResourceModal/component.d.ts +0 -0
  250. package/es/selectResourceModal/components/List/ListAi/index.d.ts +0 -0
  251. package/es/selectResourceModal/components/List/ListCardWrapper.d.ts +0 -0
  252. package/es/selectResourceModal/components/List/ListLocal/Upload.d.ts +0 -0
  253. package/es/selectResourceModal/components/List/ListLocal/index.d.ts +0 -0
  254. package/es/selectResourceModal/components/List/ListNormal/Filter.d.ts +0 -0
  255. package/es/selectResourceModal/components/List/ListNormal/index.d.ts +0 -0
  256. package/es/selectResourceModal/components/List/ListSystem/Filter.d.ts +0 -0
  257. package/es/selectResourceModal/components/List/ListSystem/SubList.d.ts +0 -0
  258. package/es/selectResourceModal/components/List/ListSystem/index.d.ts +0 -0
  259. package/es/selectResourceModal/components/List/ListVideo/index.d.ts +0 -0
  260. package/es/selectResourceModal/components/List/ListWraper.d.ts +0 -0
  261. package/es/selectResourceModal/components/ListSelected/index.d.ts +0 -0
  262. package/es/selectResourceModal/components/ListTabs/index.d.ts +0 -0
  263. package/es/selectResourceModal/hooks/useResponsiveFilter.d.ts +0 -21
  264. package/es/selectResourceModal/index.d.ts +0 -2
  265. package/es/selectResourceModal/scripts/selectionApis.d.ts +0 -2
  266. package/es/selectResourceModal/scripts/useCompoLf.d.ts +0 -27
  267. package/es/selectResourceModal/scripts/useResourceSelect.d.ts +0 -7
  268. package/es/selectResourceModal/scripts/useTabFilter.d.ts +0 -22
  269. package/es/selectResourceModal/style/index.d.ts +0 -1
  270. package/es/selectThumb/component.d.ts +0 -0
  271. package/es/selectThumb/components/card.d.ts +0 -0
  272. package/es/selectThumb/components/colorPalette.d.ts +0 -0
  273. package/es/selectThumb/components/colorPicker.d.ts +0 -0
  274. package/es/selectThumb/index.d.ts +0 -2
  275. package/es/selectThumb/style/index.d.ts +0 -1
  276. package/es/thumbCard/component.d.ts +0 -0
  277. package/es/thumbCard/components/ThumbUploading/index.d.ts +0 -0
  278. package/es/thumbCard/index.d.ts +0 -2
  279. package/es/thumbCard/style/index.d.ts +0 -1
  280. package/es/typeIcons/component.d.ts +0 -0
  281. package/es/typeIcons/index.d.ts +0 -2
  282. package/es/typeIcons/style/index.d.ts +0 -1
  283. package/es/uploadBefore/component.d.ts +0 -0
  284. package/es/uploadBefore/components/UploadBefore.d.ts +0 -0
  285. package/es/uploadBefore/components/UploadForClick.d.ts +0 -0
  286. package/es/uploadBefore/index.d.ts +0 -2
  287. package/es/uploadBefore/script/api.d.ts +0 -16
  288. package/es/uploadBefore/script/fileTypeAdapter.d.ts +0 -39
  289. package/es/uploadBefore/script/fileUpload.d.ts +0 -7
  290. package/es/uploadBefore/script/uploadHooks.d.ts +0 -96
  291. package/es/uploadBefore/style/index.d.ts +0 -1
  292. package/es/uploadBefore/utils/dragUploadEvent.d.ts +0 -0
  293. package/es/uploadStep/component.d.ts +0 -0
  294. package/es/uploadStep/index.d.ts +0 -2
  295. package/es/uploadStep/script/fileTypeAdapter.d.ts +0 -20
  296. package/es/uploadStep/style/index.d.ts +0 -1
  297. package/es/userAvater/component.d.ts +0 -0
  298. package/es/userAvater/index.d.ts +0 -2
  299. package/es/userAvater/script/api.d.ts +0 -8
  300. package/es/userAvater/style/index.d.ts +0 -1
  301. package/es/userDirector/component.d.ts +0 -0
  302. package/es/userDirector/components/userTree.d.ts +0 -0
  303. package/es/userDirector/index.d.ts +0 -2
  304. package/es/userDirector/script/api.d.ts +0 -10
  305. package/es/userDirector/style/index.d.ts +0 -1
  306. package/es/utils/auth.d.ts +0 -5
  307. package/es/utils/date.d.ts +0 -3
  308. package/es/utils/doc.d.ts +0 -76
  309. package/es/utils/filter.d.ts +0 -21
  310. package/es/utils/index.d.ts +0 -17
  311. package/es/utils/request.d.ts +0 -9
  312. package/es/utils/resource.d.ts +0 -4
  313. package/es/utils/transcodeMedia.d.ts +0 -13
  314. package/es/utils/tusUpload.d.ts +0 -16
  315. package/es/utils/typeMap.d.ts +0 -185
  316. package/es/utils/uploadCatalog.d.ts +0 -1
  317. package/es/videoThumb/component.d.ts +0 -0
  318. package/es/videoThumb/index.d.ts +0 -2
  319. package/es/videoThumb/scripts/api.d.ts +0 -9
  320. package/es/videoThumb/scripts/useVideoThumbs.d.ts +0 -12
  321. package/es/videoThumb/style/index.d.ts +0 -1
  322. package/lib/contentModal/components/ViewAllColumn/columnTree/index.js +0 -152
@@ -1,20 +0,0 @@
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
- }
@@ -1 +0,0 @@
1
- import './index.less';
File without changes
@@ -1,2 +0,0 @@
1
- declare const userAvater: any;
2
- export default userAvater;
@@ -1,8 +0,0 @@
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 {};
@@ -1 +0,0 @@
1
- import './index.less';
File without changes
File without changes
@@ -1,2 +0,0 @@
1
- declare const userDirector: any;
2
- export default userDirector;
@@ -1,10 +0,0 @@
1
- interface Params {
2
- [key: string]: any;
3
- }
4
- export declare function getRepoRoleList(BASE_API: string, params: Params): Promise<import("axios").AxiosResponse<any, any>>;
5
- export declare function getRoleAllUser(BASE_API: string, params: Params): Promise<import("axios").AxiosResponse<any, any>>;
6
- export declare function getDepartList(BASE_API: string): Promise<import("axios").AxiosResponse<any, any>>;
7
- export declare function getDepartUserList(BASE_API: string, params: Params): Promise<import("axios").AxiosResponse<any, any>>;
8
- export declare function getRepoUserList(BASE_API: string, params: Params): Promise<import("axios").AxiosResponse<any, any>>;
9
- export declare function getDepartChildren(BASE_API: string, params: Params): Promise<import("axios").AxiosResponse<any, any>>;
10
- export {};
@@ -1 +0,0 @@
1
- import './index.less';
@@ -1,5 +0,0 @@
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;
@@ -1,3 +0,0 @@
1
- export declare function getSpaceDate(date: any): string | 0;
2
- declare const _default: null;
3
- export default _default;
package/es/utils/doc.d.ts DELETED
@@ -1,76 +0,0 @@
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 {};
@@ -1,21 +0,0 @@
1
- export declare const rateOptions: import("vue").Ref<{
2
- label: string;
3
- value: string;
4
- }[], {
5
- label: string;
6
- value: string;
7
- }[] | {
8
- label: string;
9
- value: string;
10
- }[]>;
11
- export declare const keywordsSelection: import("vue").Ref<{
12
- name: string;
13
- value: string;
14
- }[], {
15
- name: string;
16
- value: string;
17
- }[] | {
18
- name: string;
19
- value: string;
20
- }[]>;
21
- export declare const timeFormat: import("vue").ComputedRef<(value: any) => string>;
@@ -1,17 +0,0 @@
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;
@@ -1,9 +0,0 @@
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): Promise<import("axios").AxiosResponse<any, any>>;
@@ -1,4 +0,0 @@
1
- export declare const keywordsSelection: {
2
- name: string;
3
- value: string;
4
- }[];
@@ -1,13 +0,0 @@
1
- export declare function getTranscodingProgress(BASE_API: string, id: number): Promise<import("axios").AxiosResponse<any, 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
- }
@@ -1,16 +0,0 @@
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
- }
@@ -1,185 +0,0 @@
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
- }[];
@@ -1 +0,0 @@
1
- export declare function checkType(file: any, param: any): any;
File without changes
@@ -1,2 +0,0 @@
1
- declare const videoThumb: any;
2
- export default videoThumb;
@@ -1,9 +0,0 @@
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): Promise<import("axios").AxiosResponse<any, any>>;
9
- export {};
@@ -1,12 +0,0 @@
1
- export declare function getHMSF(time: string): string;
2
- export declare function useVideoThumbs(): {
3
- loading: import("vue").Ref<boolean, boolean>;
4
- thumbs: import("vue").Ref<any[], any[]>;
5
- curThumb: import("vue").Ref<string | undefined, string | undefined>;
6
- getVideoThumbs: (BASE_API: string, url: string, duration: number) => Promise<void>;
7
- handleSelectThumb: (idx: number) => void;
8
- };
9
- export declare function useDragger(moveCallback: any, upCallback: any, downCallback: any): {
10
- isDrag: import("vue").Ref<boolean, boolean>;
11
- handleMousedown: (e: MouseEvent) => void;
12
- };
@@ -1 +0,0 @@
1
- import './index.less';
@@ -1,152 +0,0 @@
1
- "use strict";
2
- var vue = require("vue");
3
- var webVue = require("@arco-design/web-vue");
4
- var icon = require("@arco-design/web-vue/es/icon");
5
- var api = require("../../../script/api.js");
6
- const _hoisted_1 = { class: "column-selection-container" };
7
- const _hoisted_2 = { class: "search-column" };
8
- const _sfc_main = vue.defineComponent({
9
- ...{ name: "columnTree" },
10
- __name: "index",
11
- props: {
12
- column_id: {},
13
- tree: {},
14
- height: {},
15
- userInfo: {}
16
- },
17
- emits: ["update:column_id"],
18
- setup(__props, { emit: __emit }) {
19
- const props = __props;
20
- const emit = __emit;
21
- const treeOptions = {
22
- title: "alias",
23
- isLeaf: "leaf"
24
- };
25
- const selectAlias = vue.ref("\u5168\u90E8\u5185\u5BB9");
26
- const lastSearchKey = vue.ref(window.localStorage.getItem("lastSearchKey") || "");
27
- const searchKey = vue.ref("");
28
- const aTreeRef = vue.ref();
29
- const treeData = vue.computed(() => {
30
- if (!searchKey.value)
31
- return props.tree;
32
- return searchData(searchKey.value);
33
- });
34
- const searchData = (keyword) => {
35
- const loop = (data) => {
36
- const result = [];
37
- data.forEach((item) => {
38
- var _a;
39
- if ((_a = item.alias) == null ? void 0 : _a.includes(keyword)) {
40
- result.push({ ...item });
41
- } else if (item.children) {
42
- const filterData = loop(item.children);
43
- if (filterData.length) {
44
- result.push({
45
- ...item,
46
- children: filterData
47
- });
48
- }
49
- }
50
- });
51
- return result;
52
- };
53
- return loop(props.tree);
54
- };
55
- const clickLastItem = () => {
56
- aTreeRef.value.selectNode(lastSearchKey.value, true);
57
- };
58
- vue.watch(
59
- () => props.column_id,
60
- (val) => {
61
- setSelectAlias(val);
62
- }
63
- );
64
- const setSelectAlias = async (id) => {
65
- if (id === "all") {
66
- selectAlias.value = "\u5168\u90E8\u5185\u5BB9";
67
- return;
68
- }
69
- const { code, message } = await api.getCategoryPath(props.userInfo.BASE_API, {
70
- repo: props.userInfo.repository_id,
71
- category: id
72
- });
73
- if (code === 0) {
74
- const pathArr = [];
75
- for (const i of message) {
76
- pathArr.push(i.category_alias);
77
- }
78
- selectAlias.value = pathArr.join("/");
79
- }
80
- };
81
- const AddColumnSelected = (selectedKeys, data) => {
82
- lastSearchKey.value = selectedKeys[0];
83
- window.localStorage.setItem("lastSearchKey", lastSearchKey.value);
84
- emit("update:column_id", data.node.id);
85
- };
86
- return (_ctx, _cache) => {
87
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
88
- vue.createVNode(vue.unref(webVue.Popover), {
89
- "content-style": { minWidth: "120px" },
90
- "content-class": "column-selection-popover-content",
91
- position: "bottom",
92
- trigger: "click"
93
- }, {
94
- content: vue.withCtx(() => [
95
- vue.createElementVNode("div", _hoisted_2, [
96
- vue.createVNode(vue.unref(webVue.InputSearch), {
97
- modelValue: searchKey.value,
98
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => searchKey.value = $event),
99
- placeholder: "\u8BF7\u8F93\u5165\u680F\u76EE\u540D\u79F0"
100
- }, null, 8, ["modelValue"])
101
- ]),
102
- lastSearchKey.value ? (vue.openBlock(), vue.createElementBlock("div", {
103
- key: 0,
104
- class: "last-search-key",
105
- onClick: clickLastItem
106
- }, "\u4E0A\u4E00\u6B21\u9009\u62E9 ")) : vue.createCommentVNode("v-if", true),
107
- vue.createElementVNode("div", {
108
- style: vue.normalizeStyle({ minHeight: props.height + "px" }),
109
- class: "column-selection-main"
110
- }, [
111
- vue.createElementVNode("div", {
112
- style: vue.normalizeStyle({ height: props.height + "px" }),
113
- class: "column-v"
114
- }, [
115
- vue.createVNode(vue.unref(webVue.Scrollbar), {
116
- "outer-class": "column-outer-scrollbar",
117
- style: { "height": "100%", "overflow": "auto" }
118
- }, {
119
- default: vue.withCtx(() => [
120
- vue.createVNode(vue.unref(webVue.Tree), {
121
- ref_key: "aTreeRef",
122
- ref: aTreeRef,
123
- data: treeData.value,
124
- "default-expand-all": false,
125
- "field-names": treeOptions,
126
- "block-node": "",
127
- "check-strictly": "",
128
- onSelect: AddColumnSelected
129
- }, null, 8, ["data"])
130
- ]),
131
- _: 1
132
- })
133
- ], 4)
134
- ], 4)
135
- ]),
136
- default: vue.withCtx(() => [
137
- vue.createVNode(vue.unref(webVue.Button), { class: "button" }, {
138
- default: vue.withCtx(() => [
139
- vue.createVNode(vue.unref(icon.IconDragDotVertical)),
140
- vue.createTextVNode(" " + vue.toDisplayString(selectAlias.value) + " ", 1),
141
- vue.createVNode(vue.unref(icon.IconCaretRight))
142
- ]),
143
- _: 1
144
- })
145
- ]),
146
- _: 1
147
- })
148
- ]);
149
- };
150
- }
151
- });
152
- module.exports = _sfc_main;