@cmstops/pro-compo 3.9.1-rc.0 → 3.9.1-rc.2

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 (239) hide show
  1. package/es/hooks/useAttachement.js +42 -2
  2. package/es/selectResourceModal/components/List/ListNormal/Filter.js +32 -13
  3. package/es/selectResourceModal/scripts/useCompoLf.js +1 -1
  4. package/lib/hooks/useAttachement.js +42 -0
  5. package/lib/selectResourceModal/components/List/ListNormal/Filter.js +31 -12
  6. package/lib/selectResourceModal/scripts/useCompoLf.js +1 -1
  7. package/package.json +1 -1
  8. package/es/appCenter/component.d.ts +0 -0
  9. package/es/appCenter/index.d.ts +0 -2
  10. package/es/appCenter/script/api.d.ts +0 -11
  11. package/es/appCenter/script/apps.d.ts +0 -14
  12. package/es/appCenter/script/permissionMap.d.ts +0 -6
  13. package/es/appCenter/script/routeMap.d.ts +0 -4
  14. package/es/appCenter/style/index.d.ts +0 -1
  15. package/es/baseFilter/component.d.ts +0 -0
  16. package/es/baseFilter/components/FilterGroup.d.ts +0 -0
  17. package/es/baseFilter/components/filterItem.d.ts +0 -0
  18. package/es/baseFilter/index.d.ts +0 -2
  19. package/es/baseFilter/style/index.d.ts +0 -1
  20. package/es/baseFilter/useCalcWidth.d.ts +0 -16
  21. package/es/colorPalette/component.d.ts +0 -0
  22. package/es/colorPalette/components/colorPicker.d.ts +0 -0
  23. package/es/colorPalette/index.d.ts +0 -2
  24. package/es/colorPalette/style/index.d.ts +0 -1
  25. package/es/components.d.ts +0 -5
  26. package/es/config.d.ts +0 -4
  27. package/es/contentDetailList/__demo__/matrix/platform.d.ts +0 -36
  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 +0 -2
  49. package/es/contentDetailList/script/api.d.ts +0 -6
  50. package/es/contentDetailList/style/index.d.ts +0 -1
  51. package/es/contentModal/component.d.ts +0 -0
  52. package/es/contentModal/components/CompoList/CompoFilter/index.d.ts +0 -0
  53. package/es/contentModal/components/CompoList/index.d.ts +0 -0
  54. package/es/contentModal/components/ContentList/MediaFilter/index.d.ts +0 -0
  55. package/es/contentModal/components/ContentList/index.d.ts +0 -0
  56. package/es/contentModal/components/Dejin/MediaFilter/index.d.ts +0 -0
  57. package/es/contentModal/components/Dejin/index.d.ts +0 -0
  58. package/es/contentModal/components/EqxiuList/MediaFilter/index.d.ts +0 -0
  59. package/es/contentModal/components/EqxiuList/index.d.ts +0 -0
  60. package/es/contentModal/components/LiveList/MediaFilter/index.d.ts +0 -0
  61. package/es/contentModal/components/LiveList/index.d.ts +0 -0
  62. package/es/contentModal/components/MpAccountList/MpAccountFilter/index.d.ts +0 -0
  63. package/es/contentModal/components/MpAccountList/index.d.ts +0 -0
  64. package/es/contentModal/components/MpContentList/MediaFilter/index.d.ts +0 -0
  65. package/es/contentModal/components/MpContentList/index.d.ts +0 -0
  66. package/es/contentModal/components/ViewAllColumn/MediaFilter/index.d.ts +0 -0
  67. package/es/contentModal/components/ViewAllColumn/columnTree/index.d.ts +0 -0
  68. package/es/contentModal/components/ViewAllColumn/index.d.ts +0 -0
  69. package/es/contentModal/components/storeBox/index.d.ts +0 -0
  70. package/es/contentModal/index.d.ts +0 -2
  71. package/es/contentModal/script/api.d.ts +0 -18
  72. package/es/contentModal/style/index.d.ts +0 -1
  73. package/es/dataTags/component.d.ts +0 -0
  74. package/es/dataTags/index.d.ts +0 -2
  75. package/es/dataTags/style/index.d.ts +0 -1
  76. package/es/docHistory/component.d.ts +0 -0
  77. package/es/docHistory/components/DocDiffPanel/index.d.ts +0 -0
  78. package/es/docHistory/components/DocHistoryList/index.d.ts +0 -0
  79. package/es/docHistory/index.d.ts +0 -2
  80. package/es/docHistory/scripts/diff.d.ts +0 -1
  81. package/es/docHistory/scripts/useDocHistory.d.ts +0 -10
  82. package/es/docHistory/style/index.d.ts +0 -1
  83. package/es/docPreview/component.d.ts +0 -0
  84. package/es/docPreview/components/PreviewIframe.d.ts +0 -0
  85. package/es/docPreview/index.d.ts +0 -2
  86. package/es/docPreview/scripts/api.d.ts +0 -1
  87. package/es/docPreview/scripts/hook.d.ts +0 -33
  88. package/es/docPreview/style/index.d.ts +0 -1
  89. package/es/editMetaInfo/component.d.ts +0 -0
  90. package/es/editMetaInfo/components/metaInfoForm.d.ts +0 -0
  91. package/es/editMetaInfo/index.d.ts +0 -2
  92. package/es/editMetaInfo/script/api.d.ts +0 -6
  93. package/es/editMetaInfo/script/restaurants.d.ts +0 -4
  94. package/es/editMetaInfo/style/index.d.ts +0 -1
  95. package/es/emptyData/component.d.ts +0 -0
  96. package/es/emptyData/index.d.ts +0 -2
  97. package/es/emptyData/style/index.d.ts +0 -1
  98. package/es/emptyData/svg/add.d.ts +0 -0
  99. package/es/hooks/assets.d.ts +0 -1
  100. package/es/hooks/batch.d.ts +0 -8
  101. package/es/hooks/dialogVisible.d.ts +0 -8
  102. package/es/hooks/source.d.ts +0 -9
  103. package/es/hooks/toggle.d.ts +0 -6
  104. package/es/hooks/useAttachement.d.ts +0 -34
  105. package/es/hooks/useLocalStorage.d.ts +0 -10
  106. package/es/hooks/useMediaContext.d.ts +0 -12
  107. package/es/hooks/usePopper.d.ts +0 -8
  108. package/es/hooks/useSelection.d.ts +0 -30
  109. package/es/hooks/useUpload.d.ts +0 -30
  110. package/es/hooks/user.d.ts +0 -9
  111. package/es/imageCrop/component.d.ts +0 -0
  112. package/es/imageCrop/index.d.ts +0 -2
  113. package/es/imageCrop/script/api.d.ts +0 -1
  114. package/es/imageCrop/style/index.d.ts +0 -1
  115. package/es/importData/component.d.ts +0 -0
  116. package/es/importData/index.d.ts +0 -2
  117. package/es/importData/style/index.d.ts +0 -1
  118. package/es/index.d.ts +0 -30
  119. package/es/mediaFilter/component.d.ts +0 -0
  120. package/es/mediaFilter/components/DocFilter.d.ts +0 -0
  121. package/es/mediaFilter/components/FilterGroup.d.ts +0 -0
  122. package/es/mediaFilter/components/FilterItem.d.ts +0 -0
  123. package/es/mediaFilter/components/MpAccountFilter.d.ts +0 -0
  124. package/es/mediaFilter/components/MpContentFilter.d.ts +0 -0
  125. package/es/mediaFilter/index.d.ts +0 -3
  126. package/es/mediaFilter/script/optionsGetter.d.ts +0 -26
  127. package/es/mediaFilter/script/types.d.ts +0 -16
  128. package/es/mediaFilter/style/index.d.ts +0 -1
  129. package/es/mediaView/component.d.ts +0 -0
  130. package/es/mediaView/index.d.ts +0 -2
  131. package/es/mediaView/style/index.d.ts +0 -1
  132. package/es/messageBox/component.d.ts +0 -0
  133. package/es/messageBox/index.d.ts +0 -2
  134. package/es/messageBox/list.d.ts +0 -0
  135. package/es/messageBox/script/api.d.ts +0 -6
  136. package/es/messageBox/style/index.d.ts +0 -1
  137. package/es/previousVersion/component.d.ts +0 -0
  138. package/es/previousVersion/index.d.ts +0 -2
  139. package/es/previousVersion/script/api.d.ts +0 -15
  140. package/es/previousVersion/script/tool.d.ts +0 -6
  141. package/es/previousVersion/style/index.d.ts +0 -1
  142. package/es/resourceGridList/component.d.ts +0 -0
  143. package/es/resourceGridList/components/FileTypeThumb/index.d.ts +0 -0
  144. package/es/resourceGridList/index.d.ts +0 -2
  145. package/es/resourceGridList/style/index.d.ts +0 -1
  146. package/es/resourceModal/component.d.ts +0 -0
  147. package/es/resourceModal/components/MediaPreviewer/index.d.ts +0 -0
  148. package/es/resourceModal/components/MediaSelection/DocAiMediaSelected/index.d.ts +0 -0
  149. package/es/resourceModal/components/MediaSelection/MainContent/FileTypeThumb/index.d.ts +0 -0
  150. package/es/resourceModal/components/MediaSelection/MainContent/index.d.ts +0 -0
  151. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.d.ts +0 -0
  152. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.d.ts +0 -0
  153. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/index.d.ts +0 -0
  154. package/es/resourceModal/components/MediaSelection/ToolbarSearch/index.d.ts +0 -0
  155. package/es/resourceModal/components/MediaSelection/index.d.ts +0 -0
  156. package/es/resourceModal/index.d.ts +0 -2
  157. package/es/resourceModal/script/api.d.ts +0 -25
  158. package/es/resourceModal/script/mediaSelection.d.ts +0 -14
  159. package/es/resourceModal/style/index.d.ts +0 -1
  160. package/es/selectAvatarList/component.d.ts +0 -0
  161. package/es/selectAvatarList/index.d.ts +0 -2
  162. package/es/selectAvatarList/style/index.d.ts +0 -1
  163. package/es/selectGategory/component.d.ts +0 -0
  164. package/es/selectGategory/components/ColumnSelection/index.d.ts +0 -0
  165. package/es/selectGategory/index.d.ts +0 -2
  166. package/es/selectGategory/script/api.d.ts +0 -6
  167. package/es/selectGategory/style/index.d.ts +0 -1
  168. package/es/selectResourceModal/component.d.ts +0 -0
  169. package/es/selectResourceModal/components/List/ListAi/index.d.ts +0 -0
  170. package/es/selectResourceModal/components/List/ListCardWrapper.d.ts +0 -0
  171. package/es/selectResourceModal/components/List/ListLocal/Upload.d.ts +0 -0
  172. package/es/selectResourceModal/components/List/ListLocal/index.d.ts +0 -0
  173. package/es/selectResourceModal/components/List/ListNormal/Filter.d.ts +0 -0
  174. package/es/selectResourceModal/components/List/ListNormal/index.d.ts +0 -0
  175. package/es/selectResourceModal/components/List/ListSystem/Filter.d.ts +0 -0
  176. package/es/selectResourceModal/components/List/ListSystem/SubList.d.ts +0 -0
  177. package/es/selectResourceModal/components/List/ListSystem/index.d.ts +0 -0
  178. package/es/selectResourceModal/components/List/ListVideo/index.d.ts +0 -0
  179. package/es/selectResourceModal/components/List/ListWraper.d.ts +0 -0
  180. package/es/selectResourceModal/components/ListSelected/index.d.ts +0 -0
  181. package/es/selectResourceModal/components/ListTabs/index.d.ts +0 -0
  182. package/es/selectResourceModal/index.d.ts +0 -2
  183. package/es/selectResourceModal/scripts/selectionApis.d.ts +0 -2
  184. package/es/selectResourceModal/scripts/useCompoLf.d.ts +0 -27
  185. package/es/selectResourceModal/scripts/useResourceSelect.d.ts +0 -7
  186. package/es/selectResourceModal/scripts/useTabFilter.d.ts +0 -22
  187. package/es/selectResourceModal/style/index.d.ts +0 -1
  188. package/es/selectThumb/component.d.ts +0 -0
  189. package/es/selectThumb/components/card.d.ts +0 -0
  190. package/es/selectThumb/components/colorPalette.d.ts +0 -0
  191. package/es/selectThumb/components/colorPicker.d.ts +0 -0
  192. package/es/selectThumb/index.d.ts +0 -2
  193. package/es/selectThumb/style/index.d.ts +0 -1
  194. package/es/thumbCard/component.d.ts +0 -0
  195. package/es/thumbCard/components/ThumbUploading/index.d.ts +0 -0
  196. package/es/thumbCard/index.d.ts +0 -2
  197. package/es/thumbCard/style/index.d.ts +0 -1
  198. package/es/typeIcons/component.d.ts +0 -0
  199. package/es/typeIcons/index.d.ts +0 -2
  200. package/es/typeIcons/style/index.d.ts +0 -1
  201. package/es/uploadBefore/component.d.ts +0 -0
  202. package/es/uploadBefore/components/UploadBefore.d.ts +0 -0
  203. package/es/uploadBefore/components/UploadForClick.d.ts +0 -0
  204. package/es/uploadBefore/index.d.ts +0 -2
  205. package/es/uploadBefore/script/api.d.ts +0 -16
  206. package/es/uploadBefore/script/fileTypeAdapter.d.ts +0 -39
  207. package/es/uploadBefore/script/fileUpload.d.ts +0 -7
  208. package/es/uploadBefore/script/uploadHooks.d.ts +0 -96
  209. package/es/uploadBefore/style/index.d.ts +0 -1
  210. package/es/uploadBefore/utils/dragUploadEvent.d.ts +0 -0
  211. package/es/uploadStep/component.d.ts +0 -0
  212. package/es/uploadStep/index.d.ts +0 -2
  213. package/es/uploadStep/script/fileTypeAdapter.d.ts +0 -20
  214. package/es/uploadStep/style/index.d.ts +0 -1
  215. package/es/userAvater/component.d.ts +0 -0
  216. package/es/userAvater/index.d.ts +0 -2
  217. package/es/userAvater/script/api.d.ts +0 -8
  218. package/es/userAvater/style/index.d.ts +0 -1
  219. package/es/userDirector/component.d.ts +0 -0
  220. package/es/userDirector/components/userTree.d.ts +0 -0
  221. package/es/userDirector/index.d.ts +0 -2
  222. package/es/userDirector/script/api.d.ts +0 -10
  223. package/es/userDirector/style/index.d.ts +0 -1
  224. package/es/utils/auth.d.ts +0 -5
  225. package/es/utils/date.d.ts +0 -3
  226. package/es/utils/doc.d.ts +0 -76
  227. package/es/utils/filter.d.ts +0 -21
  228. package/es/utils/index.d.ts +0 -17
  229. package/es/utils/request.d.ts +0 -9
  230. package/es/utils/resource.d.ts +0 -4
  231. package/es/utils/transcodeMedia.d.ts +0 -13
  232. package/es/utils/tusUpload.d.ts +0 -16
  233. package/es/utils/typeMap.d.ts +0 -185
  234. package/es/utils/uploadCatalog.d.ts +0 -1
  235. package/es/videoThumb/component.d.ts +0 -0
  236. package/es/videoThumb/index.d.ts +0 -2
  237. package/es/videoThumb/scripts/api.d.ts +0 -9
  238. package/es/videoThumb/scripts/useVideoThumbs.d.ts +0 -12
  239. package/es/videoThumb/style/index.d.ts +0 -1
@@ -1,25 +0,0 @@
1
- interface Params {
2
- [key: string]: any;
3
- }
4
- export declare function getAttachmentsAll(BASE_API: string, query?: Params): Promise<import("axios").AxiosResponse<any, any>>;
5
- export declare function getAttachmentsMy(BASE_API: string, query?: Params): Promise<import("axios").AxiosResponse<any, any>>;
6
- export declare function getDirectories(BASE_API: string, query?: Params): Promise<import("axios").AxiosResponse<any, any>>;
7
- export declare function getAccountList(BASE_API: string, id: number, query: Params): Promise<import("axios").AxiosResponse<any, any>>;
8
- /** @description 系统内置素材部分接口 --- */
9
- /**
10
- * ps:
11
- * 1. 内置素材分类 type:
12
- * thumb:稿件素材
13
- * compoIcon:组件 icon
14
- * pushIcon:品宣 icon
15
- * navBg:导航背景
16
- * navIcon:导航 icon
17
- */
18
- export declare function addSysRs(BASE_API: string, data: any, params: any): Promise<import("axios").AxiosResponse<any, any>>;
19
- export declare function setSysRsClassifyName(BASE_API: string, params: any): Promise<import("axios").AxiosResponse<any, any>>;
20
- export declare function getSysRsClassifyList(BASE_API: string, sys_tag: number): Promise<import("axios").AxiosResponse<any, any>>;
21
- export declare function addSysRsClassify(BASE_API: string, params: any): Promise<import("axios").AxiosResponse<any, any>>;
22
- export declare function delSySRsClassify(BASE_API: string, params: any): Promise<import("axios").AxiosResponse<any, any>>;
23
- export declare function getSysRsByTag(BASE_API: string, params: any): Promise<import("axios").AxiosResponse<any, any>>;
24
- export declare function getSysRsPage(BASE_API: string, params: any): Promise<import("axios").AxiosResponse<any, any>>;
25
- export {};
@@ -1,14 +0,0 @@
1
- export declare type BreadCrumbsType = {
2
- directory_id: number;
3
- alias: string;
4
- };
5
- export declare type FilesQueryParamType = {
6
- directory_id: number;
7
- limit: number;
8
- offset: number;
9
- catalog: string;
10
- };
11
- export declare type MediaUseType = 0 | 1 | 2 | 3 | 4 | 5 | 6;
12
- export declare const mediaUseEnum: {
13
- [key: string]: MediaUseType;
14
- };
@@ -1 +0,0 @@
1
- import './index.less';
File without changes
@@ -1,2 +0,0 @@
1
- declare const selectAvatarList: any;
2
- export default selectAvatarList;
@@ -1 +0,0 @@
1
- import './index.less';
File without changes
@@ -1,2 +0,0 @@
1
- declare const selectGategory: any;
2
- export default selectGategory;
@@ -1,6 +0,0 @@
1
- interface Params {
2
- [key: string]: any;
3
- }
4
- export declare function getCategoryPath(BASE_API: string, params: Params): Promise<import("axios").AxiosResponse<any, any>>;
5
- export declare function getCategoryCategoriesTree(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any>>;
6
- export {};
@@ -1 +0,0 @@
1
- import './index.less';
File without changes
@@ -1,2 +0,0 @@
1
- declare const selectResourceModal: any;
2
- export default selectResourceModal;
@@ -1,2 +0,0 @@
1
- export declare function getAccountList(BASE_API: string, id: number, query: any): Promise<import("axios").AxiosResponse<any, any>>;
2
- export declare function getSysRsClassifyList(BASE_API: string, sys_tag: number): Promise<import("axios").AxiosResponse<any, any>>;
@@ -1,27 +0,0 @@
1
- declare type LifeCycleHandler = {
2
- onClose: () => void;
3
- };
4
- export default function useCompoentLifycycle(props: any, emits: any, handler?: LifeCycleHandler): {
5
- wrapProps: import("vue").ComputedRef<{
6
- class: string;
7
- header: boolean;
8
- width: string;
9
- footer: boolean;
10
- unmountOnClose: boolean;
11
- bodyClass?: undefined;
12
- closable?: undefined;
13
- hideTitle?: undefined;
14
- } | {
15
- bodyClass: string;
16
- width: string;
17
- closable: boolean;
18
- hideTitle: boolean;
19
- footer: boolean;
20
- unmountOnClose: boolean;
21
- class?: undefined;
22
- header?: undefined;
23
- }>;
24
- close: () => void;
25
- submit: (data: any, ...args: any) => void;
26
- };
27
- export {};
@@ -1,7 +0,0 @@
1
- export declare function useResourceSelect(props: any): {
2
- selected: import("vue").Ref<any[], any[]>;
3
- selectedKeys: import("vue").ComputedRef<any[]>;
4
- disableSelect: import("vue").ComputedRef<any>;
5
- handleSelect: (params: any) => void;
6
- handleClear: () => void;
7
- };
@@ -1,22 +0,0 @@
1
- export declare enum TabEnum {
2
- ALL = "all",
3
- MY = "my",
4
- REMIND = "remind",
5
- LOCAL = "local",
6
- SYSTEM = "system",
7
- AI = "ai",
8
- VIDEO = "video"
9
- }
10
- declare const TAB_DICT: any;
11
- export declare type TabListType = {
12
- key: string;
13
- title: string;
14
- };
15
- export declare type TabKeyType = keyof typeof TAB_DICT;
16
- export default function useTabFilter(props: any): {
17
- activeKey: import("vue").Ref<string | number | symbol, string | number | symbol>;
18
- activeComponent: import("vue").ComputedRef<any>;
19
- tabKeyList: import("vue").ComputedRef<TabListType[]>;
20
- handelChangeTab: (tabKey: TabEnum) => void;
21
- };
22
- export {};
@@ -1 +0,0 @@
1
- import './index.less';
File without changes
File without changes
File without changes
File without changes
@@ -1,2 +0,0 @@
1
- declare const selectThumb: any;
2
- export default selectThumb;
@@ -1 +0,0 @@
1
- import './index.less';
File without changes
File without changes
@@ -1,2 +0,0 @@
1
- declare const thumbCard: any;
2
- export default thumbCard;
@@ -1 +0,0 @@
1
- import './index.less';
File without changes
@@ -1,2 +0,0 @@
1
- declare const typeIcons: any;
2
- export default typeIcons;
@@ -1 +0,0 @@
1
- import './index.less';
File without changes
File without changes
File without changes
@@ -1,2 +0,0 @@
1
- declare const uploadBefore: any;
2
- export default uploadBefore;
@@ -1,16 +0,0 @@
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>>;
@@ -1,39 +0,0 @@
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 {};
@@ -1,7 +0,0 @@
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>;
@@ -1,96 +0,0 @@
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
- };
@@ -1 +0,0 @@
1
- import './index.less';
File without changes
File without changes
@@ -1,2 +0,0 @@
1
- declare const uploadStep: any;
2
- export default uploadStep;
@@ -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
- }