@cmstops/pro-compo 3.9.1-rc.3 → 3.9.2-alpha.0

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 (247) hide show
  1. package/dist/index.css +5 -1
  2. package/dist/index.min.css +1 -1
  3. package/es/appCenter/component.d.ts +0 -0
  4. package/es/appCenter/index.d.ts +2 -0
  5. package/es/appCenter/script/api.d.ts +11 -0
  6. package/es/appCenter/script/apps.d.ts +14 -0
  7. package/es/appCenter/script/permissionMap.d.ts +6 -0
  8. package/es/appCenter/script/routeMap.d.ts +4 -0
  9. package/es/appCenter/style/index.d.ts +1 -0
  10. package/es/baseFilter/component.d.ts +0 -0
  11. package/es/baseFilter/components/FilterGroup.d.ts +0 -0
  12. package/es/baseFilter/components/filterItem.d.ts +0 -0
  13. package/es/baseFilter/index.d.ts +2 -0
  14. package/es/baseFilter/style/index.d.ts +1 -0
  15. package/es/baseFilter/useCalcWidth.d.ts +16 -0
  16. package/es/colorPalette/component.d.ts +0 -0
  17. package/es/colorPalette/components/colorPicker.d.ts +0 -0
  18. package/es/colorPalette/index.d.ts +2 -0
  19. package/es/colorPalette/style/index.d.ts +1 -0
  20. package/es/components.d.ts +5 -0
  21. package/es/config.d.ts +4 -0
  22. package/es/contentDetailList/__demo__/matrix/platform.d.ts +36 -0
  23. package/es/contentDetailList/component.d.ts +0 -0
  24. package/es/contentDetailList/components/Content/CompoItem/index.d.ts +0 -0
  25. package/es/contentDetailList/components/Content/ContentListItem/index.d.ts +0 -0
  26. package/es/contentDetailList/components/Content/DocItem/ApprovalStateMap/index.d.ts +0 -0
  27. package/es/contentDetailList/components/Content/DocItem/index.d.ts +0 -0
  28. package/es/contentDetailList/components/Content/DocMpItem/index.d.ts +0 -0
  29. package/es/contentDetailList/components/Content/GroupPieceItem/index.d.ts +0 -0
  30. package/es/contentDetailList/components/Content/KongoNavItem/index.d.ts +0 -0
  31. package/es/contentDetailList/components/Content/LiveItem/index.d.ts +0 -0
  32. package/es/contentDetailList/components/Content/MaccountItem/index.d.ts +0 -0
  33. package/es/contentDetailList/components/Content/courseItem/index.d.ts +0 -0
  34. package/es/contentDetailList/components/Content/funhdItem/index.d.ts +0 -0
  35. package/es/contentDetailList/components/Content/index.d.ts +0 -0
  36. package/es/contentDetailList/components/CustomWrp/CustomItem.d.ts +0 -0
  37. package/es/contentDetailList/components/CustomWrp/index.d.ts +0 -0
  38. package/es/contentDetailList/components/Doc/index.d.ts +0 -0
  39. package/es/contentDetailList/components/Records/MatrixItem/index.d.ts +0 -0
  40. package/es/contentDetailList/components/Records/index.d.ts +0 -0
  41. package/es/contentDetailList/components/ShowQRCode/QrcodeView/index.d.ts +0 -0
  42. package/es/contentDetailList/components/ShowQRCode/index.d.ts +0 -0
  43. package/es/contentDetailList/index.d.ts +2 -0
  44. package/es/contentDetailList/script/api.d.ts +6 -0
  45. package/es/contentDetailList/style/index.d.ts +1 -0
  46. package/es/contentModal/component.d.ts +0 -0
  47. package/es/contentModal/components/CompoList/CompoFilter/index.d.ts +0 -0
  48. package/es/contentModal/components/CompoList/index.d.ts +0 -0
  49. package/es/contentModal/components/ContentList/MediaFilter/index.d.ts +0 -0
  50. package/es/contentModal/components/ContentList/index.d.ts +0 -0
  51. package/es/contentModal/components/Dejin/MediaFilter/index.d.ts +0 -0
  52. package/es/contentModal/components/Dejin/index.d.ts +0 -0
  53. package/es/contentModal/components/EqxiuList/MediaFilter/index.d.ts +0 -0
  54. package/es/contentModal/components/EqxiuList/index.d.ts +0 -0
  55. package/es/contentModal/components/LiveList/MediaFilter/index.d.ts +0 -0
  56. package/es/contentModal/components/LiveList/index.d.ts +0 -0
  57. package/es/contentModal/components/MpAccountList/MpAccountFilter/index.d.ts +0 -0
  58. package/es/contentModal/components/MpAccountList/index.d.ts +0 -0
  59. package/es/contentModal/components/MpContentList/MediaFilter/index.d.ts +0 -0
  60. package/es/contentModal/components/MpContentList/index.d.ts +0 -0
  61. package/es/contentModal/components/ViewAllColumn/MediaFilter/index.d.ts +0 -0
  62. package/es/contentModal/components/ViewAllColumn/columnTree/index.d.ts +0 -0
  63. package/es/contentModal/components/ViewAllColumn/index.d.ts +0 -0
  64. package/es/contentModal/components/storeBox/index.d.ts +0 -0
  65. package/es/contentModal/index.d.ts +2 -0
  66. package/es/contentModal/script/api.d.ts +18 -0
  67. package/es/contentModal/style/index.d.ts +1 -0
  68. package/es/dataTags/component.d.ts +0 -0
  69. package/es/dataTags/index.d.ts +2 -0
  70. package/es/dataTags/style/index.d.ts +1 -0
  71. package/es/docHistory/component.d.ts +0 -0
  72. package/es/docHistory/components/DocDiffPanel/index.d.ts +0 -0
  73. package/es/docHistory/components/DocHistoryList/index.d.ts +0 -0
  74. package/es/docHistory/index.d.ts +2 -0
  75. package/es/docHistory/scripts/diff.d.ts +1 -0
  76. package/es/docHistory/scripts/useDocHistory.d.ts +10 -0
  77. package/es/docHistory/style/index.d.ts +1 -0
  78. package/es/docPreview/component.d.ts +0 -0
  79. package/es/docPreview/components/PreviewIframe.d.ts +0 -0
  80. package/es/docPreview/index.d.ts +2 -0
  81. package/es/docPreview/scripts/api.d.ts +1 -0
  82. package/es/docPreview/scripts/hook.d.ts +33 -0
  83. package/es/docPreview/style/index.d.ts +1 -0
  84. package/es/editMetaInfo/component.d.ts +0 -0
  85. package/es/editMetaInfo/components/metaInfoForm.d.ts +0 -0
  86. package/es/editMetaInfo/index.d.ts +2 -0
  87. package/es/editMetaInfo/script/api.d.ts +6 -0
  88. package/es/editMetaInfo/script/restaurants.d.ts +4 -0
  89. package/es/editMetaInfo/style/index.d.ts +1 -0
  90. package/es/emptyData/component.d.ts +0 -0
  91. package/es/emptyData/index.d.ts +2 -0
  92. package/es/emptyData/style/index.d.ts +1 -0
  93. package/es/emptyData/svg/add.d.ts +0 -0
  94. package/es/hooks/assets.d.ts +1 -0
  95. package/es/hooks/batch.d.ts +8 -0
  96. package/es/hooks/dialogVisible.d.ts +8 -0
  97. package/es/hooks/source.d.ts +9 -0
  98. package/es/hooks/toggle.d.ts +6 -0
  99. package/es/hooks/useAttachement.d.ts +53 -0
  100. package/es/hooks/useLocalStorage.d.ts +10 -0
  101. package/es/hooks/useMediaContext.d.ts +12 -0
  102. package/es/hooks/usePopper.d.ts +8 -0
  103. package/es/hooks/useSelection.d.ts +30 -0
  104. package/es/hooks/useUpload.d.ts +30 -0
  105. package/es/hooks/user.d.ts +9 -0
  106. package/es/imageCrop/component.d.ts +0 -0
  107. package/es/imageCrop/index.d.ts +2 -0
  108. package/es/imageCrop/script/api.d.ts +1 -0
  109. package/es/imageCrop/style/index.d.ts +1 -0
  110. package/es/importData/component.d.ts +0 -0
  111. package/es/importData/index.d.ts +2 -0
  112. package/es/importData/style/index.d.ts +1 -0
  113. package/es/index.css +5 -1
  114. package/es/index.d.ts +30 -0
  115. package/es/mediaFilter/component.d.ts +0 -0
  116. package/es/mediaFilter/components/DocFilter.d.ts +0 -0
  117. package/es/mediaFilter/components/FilterGroup.d.ts +0 -0
  118. package/es/mediaFilter/components/FilterItem.d.ts +0 -0
  119. package/es/mediaFilter/components/MpAccountFilter.d.ts +0 -0
  120. package/es/mediaFilter/components/MpContentFilter.d.ts +0 -0
  121. package/es/mediaFilter/index.d.ts +3 -0
  122. package/es/mediaFilter/script/optionsGetter.d.ts +26 -0
  123. package/es/mediaFilter/script/types.d.ts +16 -0
  124. package/es/mediaFilter/style/index.d.ts +1 -0
  125. package/es/mediaView/component.d.ts +0 -0
  126. package/es/mediaView/index.d.ts +2 -0
  127. package/es/mediaView/style/index.d.ts +1 -0
  128. package/es/messageBox/component.d.ts +0 -0
  129. package/es/messageBox/index.d.ts +2 -0
  130. package/es/messageBox/list.d.ts +0 -0
  131. package/es/messageBox/script/api.d.ts +6 -0
  132. package/es/messageBox/style/index.d.ts +1 -0
  133. package/es/previousVersion/component.d.ts +0 -0
  134. package/es/previousVersion/index.d.ts +2 -0
  135. package/es/previousVersion/script/api.d.ts +15 -0
  136. package/es/previousVersion/script/tool.d.ts +6 -0
  137. package/es/previousVersion/style/index.d.ts +1 -0
  138. package/es/resourceGridList/component.d.ts +0 -0
  139. package/es/resourceGridList/components/FileTypeThumb/index.d.ts +0 -0
  140. package/es/resourceGridList/index.d.ts +2 -0
  141. package/es/resourceGridList/style/index.d.ts +1 -0
  142. package/es/resourceModal/component.d.ts +0 -0
  143. package/es/resourceModal/components/MediaPreviewer/index.d.ts +0 -0
  144. package/es/resourceModal/components/MediaSelection/DocAiMediaSelected/index.d.ts +0 -0
  145. package/es/resourceModal/components/MediaSelection/MainContent/FileTypeThumb/index.d.ts +0 -0
  146. package/es/resourceModal/components/MediaSelection/MainContent/index.d.ts +0 -0
  147. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.d.ts +0 -0
  148. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.d.ts +0 -0
  149. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/index.d.ts +0 -0
  150. package/es/resourceModal/components/MediaSelection/ToolbarSearch/index.d.ts +0 -0
  151. package/es/resourceModal/components/MediaSelection/index.d.ts +0 -0
  152. package/es/resourceModal/index.d.ts +2 -0
  153. package/es/resourceModal/script/api.d.ts +25 -0
  154. package/es/resourceModal/script/mediaSelection.d.ts +14 -0
  155. package/es/resourceModal/style/index.d.ts +1 -0
  156. package/es/selectAvatarList/component.d.ts +0 -0
  157. package/es/selectAvatarList/index.d.ts +2 -0
  158. package/es/selectAvatarList/style/index.d.ts +1 -0
  159. package/es/selectGategory/component.d.ts +0 -0
  160. package/es/selectGategory/components/ColumnSelection/index.d.ts +0 -0
  161. package/es/selectGategory/index.d.ts +2 -0
  162. package/es/selectGategory/script/api.d.ts +6 -0
  163. package/es/selectGategory/style/index.d.ts +1 -0
  164. package/es/selectResourceModal/component.d.ts +0 -0
  165. package/es/selectResourceModal/components/List/ListAi/index.d.ts +0 -0
  166. package/es/selectResourceModal/components/List/ListCardWrapper.d.ts +0 -0
  167. package/es/selectResourceModal/components/List/ListLocal/Upload.d.ts +0 -0
  168. package/es/selectResourceModal/components/List/ListLocal/index.d.ts +0 -0
  169. package/es/selectResourceModal/components/List/ListNormal/Filter.d.ts +0 -0
  170. package/es/selectResourceModal/components/List/ListNormal/index.d.ts +0 -0
  171. package/es/selectResourceModal/components/List/ListNormal/index.js +21 -6
  172. package/es/selectResourceModal/components/List/ListSystem/Filter.d.ts +0 -0
  173. package/es/selectResourceModal/components/List/ListSystem/SubList.d.ts +0 -0
  174. package/es/selectResourceModal/components/List/ListSystem/index.d.ts +0 -0
  175. package/es/selectResourceModal/components/List/ListVideo/index.d.ts +0 -0
  176. package/es/selectResourceModal/components/List/ListWraper.d.ts +0 -0
  177. package/es/selectResourceModal/components/ListSelected/index.d.ts +0 -0
  178. package/es/selectResourceModal/components/ListTabs/index.d.ts +0 -0
  179. package/es/selectResourceModal/index.d.ts +2 -0
  180. package/es/selectResourceModal/scripts/selectionApis.d.ts +2 -0
  181. package/es/selectResourceModal/scripts/useCompoLf.d.ts +27 -0
  182. package/es/selectResourceModal/scripts/useResourceSelect.d.ts +7 -0
  183. package/es/selectResourceModal/scripts/useTabFilter.d.ts +22 -0
  184. package/es/selectResourceModal/style/index.css +5 -1
  185. package/es/selectResourceModal/style/index.d.ts +1 -0
  186. package/es/selectResourceModal/style/index.less +5 -0
  187. package/es/selectResourceModal/style/list.less +1 -1
  188. package/es/selectThumb/component.d.ts +0 -0
  189. package/es/selectThumb/component.js +18 -7
  190. package/es/selectThumb/components/card.d.ts +0 -0
  191. package/es/selectThumb/components/colorPalette.d.ts +0 -0
  192. package/es/selectThumb/components/colorPicker.d.ts +0 -0
  193. package/es/selectThumb/index.d.ts +2 -0
  194. package/es/selectThumb/style/index.d.ts +1 -0
  195. package/es/thumbCard/component.d.ts +0 -0
  196. package/es/thumbCard/components/ThumbUploading/index.d.ts +0 -0
  197. package/es/thumbCard/index.d.ts +2 -0
  198. package/es/thumbCard/style/index.d.ts +1 -0
  199. package/es/typeIcons/component.d.ts +0 -0
  200. package/es/typeIcons/index.d.ts +2 -0
  201. package/es/typeIcons/style/index.d.ts +1 -0
  202. package/es/uploadBefore/component.d.ts +0 -0
  203. package/es/uploadBefore/components/UploadBefore.d.ts +0 -0
  204. package/es/uploadBefore/components/UploadForClick.d.ts +0 -0
  205. package/es/uploadBefore/index.d.ts +2 -0
  206. package/es/uploadBefore/script/api.d.ts +16 -0
  207. package/es/uploadBefore/script/fileTypeAdapter.d.ts +39 -0
  208. package/es/uploadBefore/script/fileUpload.d.ts +7 -0
  209. package/es/uploadBefore/script/uploadHooks.d.ts +96 -0
  210. package/es/uploadBefore/style/index.d.ts +1 -0
  211. package/es/uploadBefore/utils/dragUploadEvent.d.ts +0 -0
  212. package/es/uploadStep/component.d.ts +0 -0
  213. package/es/uploadStep/index.d.ts +2 -0
  214. package/es/uploadStep/script/fileTypeAdapter.d.ts +20 -0
  215. package/es/uploadStep/style/index.d.ts +1 -0
  216. package/es/userAvater/component.d.ts +0 -0
  217. package/es/userAvater/index.d.ts +2 -0
  218. package/es/userAvater/script/api.d.ts +8 -0
  219. package/es/userAvater/style/index.d.ts +1 -0
  220. package/es/userDirector/component.d.ts +0 -0
  221. package/es/userDirector/components/userTree.d.ts +0 -0
  222. package/es/userDirector/index.d.ts +2 -0
  223. package/es/userDirector/script/api.d.ts +10 -0
  224. package/es/userDirector/style/index.d.ts +1 -0
  225. package/es/utils/auth.d.ts +5 -0
  226. package/es/utils/date.d.ts +3 -0
  227. package/es/utils/doc.d.ts +76 -0
  228. package/es/utils/filter.d.ts +21 -0
  229. package/es/utils/index.d.ts +17 -0
  230. package/es/utils/request.d.ts +9 -0
  231. package/es/utils/resource.d.ts +4 -0
  232. package/es/utils/transcodeMedia.d.ts +13 -0
  233. package/es/utils/tusUpload.d.ts +16 -0
  234. package/es/utils/typeMap.d.ts +185 -0
  235. package/es/utils/uploadCatalog.d.ts +1 -0
  236. package/es/videoThumb/component.d.ts +0 -0
  237. package/es/videoThumb/index.d.ts +2 -0
  238. package/es/videoThumb/scripts/api.d.ts +9 -0
  239. package/es/videoThumb/scripts/useVideoThumbs.d.ts +12 -0
  240. package/es/videoThumb/style/index.d.ts +1 -0
  241. package/lib/index.css +5 -1
  242. package/lib/selectResourceModal/components/List/ListNormal/index.js +20 -5
  243. package/lib/selectResourceModal/style/index.css +5 -1
  244. package/lib/selectResourceModal/style/index.less +5 -0
  245. package/lib/selectResourceModal/style/list.less +1 -1
  246. package/lib/selectThumb/component.js +18 -7
  247. package/package.json +1 -1
@@ -0,0 +1,5 @@
1
+ import type { App } from 'vue';
2
+ declare const Components: {
3
+ install: (app: App) => void;
4
+ };
5
+ export default Components;
package/es/config.d.ts ADDED
@@ -0,0 +1,4 @@
1
+ export declare const DEFAULT_BASE_API: any;
2
+ export declare const DEFAULT_BASE_ACCOUNT_HOST: any;
3
+ export declare const DEFAULT_UPLOAD_CHUNK_SIZE: number;
4
+ export declare const DEFAULT_UPLOAD_URL: string;
@@ -0,0 +1,36 @@
1
+ declare const platform: ({
2
+ id: number;
3
+ key: string;
4
+ name: string;
5
+ indexUrl: string;
6
+ isDataAsync: boolean;
7
+ type: string[];
8
+ pfIcon?: undefined;
9
+ } | {
10
+ id: number;
11
+ key: string;
12
+ name: string;
13
+ indexUrl: string;
14
+ pfIcon: string;
15
+ isDataAsync: boolean;
16
+ type: string[];
17
+ })[];
18
+ export declare function getPlatformInfoById(id: number): any;
19
+ export declare const accounts: {
20
+ id: number;
21
+ createdAt: string;
22
+ updatedAt: string;
23
+ deletedAt: null;
24
+ thirdId: string;
25
+ authorId: string;
26
+ platformAccountId: string;
27
+ avatar: string;
28
+ name: string;
29
+ platformId: number;
30
+ cookie: string;
31
+ token: string;
32
+ lastRequestAt: number;
33
+ lastSyncAt: number;
34
+ state: number;
35
+ }[];
36
+ export default platform;
File without changes
File without changes
@@ -0,0 +1,2 @@
1
+ declare const contentDetailList: any;
2
+ export default contentDetailList;
@@ -0,0 +1,6 @@
1
+ interface Params {
2
+ [key: string]: any;
3
+ }
4
+ export declare function generateDocPreviewLink(BASE_API: string, query?: Params): Promise<import("axios").AxiosResponse<any, any>>;
5
+ export declare function getDocDetailsNew(BASE_API: string, query?: Params): Promise<import("axios").AxiosResponse<any, any>>;
6
+ export {};
@@ -0,0 +1 @@
1
+ import './index.less';
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,2 @@
1
+ declare const contentModal: any;
2
+ export default contentModal;
@@ -0,0 +1,18 @@
1
+ interface Params {
2
+ [key: string]: any;
3
+ }
4
+ export declare function getCategoryCategoriesTree(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any>>;
5
+ export declare function getCategoryPath(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any>>;
6
+ export declare function getCategoryMediaNew(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any>>;
7
+ export declare function checkCommitFulfillment(BASE_API: string, params?: Params): Promise<boolean>;
8
+ export declare function searchMlists(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any>>;
9
+ export declare function getCategorylistsGroups(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any>>;
10
+ export declare function searchMpaccount(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any>>;
11
+ export declare function getBroadcastList(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any>>;
12
+ export declare function getEqxiuList(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any>>;
13
+ export declare function getMpContentList(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any>>;
14
+ export declare function getRevealContent(BASE_API: string, params: any): Promise<import("axios").AxiosResponse<any, any>>;
15
+ export declare function getConfigurationNew(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any>>;
16
+ export declare function getReporterContent(BASE_API: string, params: any): Promise<import("axios").AxiosResponse<any, any>>;
17
+ export declare function getTypeConfig(BASE_API: string, params: any): Promise<import("axios").AxiosResponse<any, any>>;
18
+ export {};
@@ -0,0 +1 @@
1
+ import './index.less';
File without changes
@@ -0,0 +1,2 @@
1
+ declare const dataTags: any;
2
+ export default dataTags;
@@ -0,0 +1 @@
1
+ import './index.less';
File without changes
@@ -0,0 +1,2 @@
1
+ declare const docHistory: any;
2
+ export default docHistory;
@@ -0,0 +1 @@
1
+ export declare function CompareById2(leftNode: HTMLElement, rightNode: HTMLElement): string;
@@ -0,0 +1,10 @@
1
+ export declare function getDocHistory(BASE_API: string, id: number, pub: boolean): Promise<import("axios").AxiosResponse<any, any>>;
2
+ export declare function useDocHistory(BASE_API: string): {
3
+ diffContent: import("vue").Ref<any, any>;
4
+ current: import("vue").Ref<number, number>;
5
+ loading: import("vue").Ref<boolean, boolean>;
6
+ list: import("vue").Ref<any[], any[]>;
7
+ loadData: () => Promise<void>;
8
+ initParams: (mediaId: number, docPub: boolean) => void;
9
+ handleSelect: (idx: number) => Promise<void>;
10
+ };
@@ -0,0 +1 @@
1
+ import './index.less';
File without changes
File without changes
@@ -0,0 +1,2 @@
1
+ declare const docPreview: any;
2
+ export default docPreview;
@@ -0,0 +1 @@
1
+ export declare function generateDocPreviewLink(BASE_API: string, params: any): Promise<import("axios").AxiosResponse<any, any>>;
@@ -0,0 +1,33 @@
1
+ import { Ref } from 'vue';
2
+ export declare function generateDocPreviewLink(BASE_API: string, params: any): Promise<import("axios").AxiosResponse<any, any>>;
3
+ export declare const EXPIRE_TIME_OPTIONS: {
4
+ label: string;
5
+ value: number;
6
+ }[];
7
+ declare type ShareDataType = {
8
+ qrCode: string;
9
+ shareUrl: string;
10
+ expiredAt: number;
11
+ };
12
+ export declare function useDocPreview(BASE_API: string, hashid: Ref<string>): {
13
+ genQrCode: (shareUrl: string, selector: string) => void;
14
+ generate: (cancel?: boolean | undefined) => Promise<boolean>;
15
+ cancel: (update?: boolean | undefined) => Promise<void>;
16
+ copy: () => Promise<void>;
17
+ qrCode: Ref<string, string>;
18
+ isPublish: Ref<boolean, boolean>;
19
+ loading: Ref<boolean, boolean>;
20
+ expireTime: Ref<number, number>;
21
+ innerUrl: Ref<string, string>;
22
+ shareData: Ref<{
23
+ qrCode: string;
24
+ shareUrl: string;
25
+ expiredAt: number;
26
+ } | null, ShareDataType | {
27
+ qrCode: string;
28
+ shareUrl: string;
29
+ expiredAt: number;
30
+ } | null>;
31
+ intervalTime: Ref<string, string>;
32
+ };
33
+ export {};
@@ -0,0 +1 @@
1
+ import './index.less';
File without changes
File without changes
@@ -0,0 +1,2 @@
1
+ declare const editMetaInfo: any;
2
+ export default editMetaInfo;
@@ -0,0 +1,6 @@
1
+ interface Params {
2
+ [key: string]: any;
3
+ }
4
+ export declare function getDocDetailsNew(BASE_API: string, query: Params): Promise<import("axios").AxiosResponse<any, any>>;
5
+ export declare function getAllDutyEditor(BASE_API: string, params: Params): Promise<import("axios").AxiosResponse<any, any>>;
6
+ export {};
@@ -0,0 +1,4 @@
1
+ declare const _default: {
2
+ value: string;
3
+ }[];
4
+ export default _default;
@@ -0,0 +1 @@
1
+ import './index.less';
File without changes
@@ -0,0 +1,2 @@
1
+ declare const emptyData: any;
2
+ export default emptyData;
@@ -0,0 +1 @@
1
+ import './index.less';
File without changes
@@ -0,0 +1 @@
1
+ export declare function useGenerateAssets(BASE_API: string, params: any): Promise<import("axios").AxiosResponse<any, any>>;
@@ -0,0 +1,8 @@
1
+ declare const useTableBatch: () => {
2
+ hoverTarget: import("vue").Ref<null, null>;
3
+ isItemChecked: import("vue").ComputedRef<(selectedData: any, item: any) => any>;
4
+ hoverBatchBox: import("vue").ComputedRef<(selectedData: any, item: any) => any>;
5
+ tableCellMouseEnter: (record: any) => void;
6
+ tableCellMouseLeave: (record: any) => void;
7
+ };
8
+ export default useTableBatch;
@@ -0,0 +1,8 @@
1
+ declare type ComponentProps = {
2
+ visible: boolean;
3
+ };
4
+ export default function useDialogVisible(props: ComponentProps, emit: any): {
5
+ visible: import("vue").WritableComputedRef<boolean, unknown>;
6
+ setVisible: (bool: boolean) => void;
7
+ };
8
+ export {};
@@ -0,0 +1,9 @@
1
+ interface Params {
2
+ [key: string]: any;
3
+ }
4
+ export declare function getConfiguration(BASE_API: string, params: Params): Promise<import("axios").AxiosResponse<any, any>>;
5
+ declare const useLoadSourceInfo: (BASE_API: string) => {
6
+ SourceInfo: import("vue").Ref<any, any>;
7
+ getSourceInfoHandle: () => Promise<void>;
8
+ };
9
+ export default useLoadSourceInfo;
@@ -0,0 +1,6 @@
1
+ export declare function useToggle(initData?: boolean): {
2
+ state: import("vue").Ref<boolean, boolean>;
3
+ toggle: () => boolean;
4
+ open: () => boolean;
5
+ close: () => boolean;
6
+ };
@@ -0,0 +1,53 @@
1
+ export declare function getAttachmentsAll(BASE_API: string, query?: any): Promise<import("axios").AxiosResponse<any, any>>;
2
+ export declare function getAttachmentsMy(BASE_API: string, query?: any): Promise<import("axios").AxiosResponse<any, any>>;
3
+ export declare function getAttachmentsMyMessage(BASE_API: string, query: any): Promise<import("axios").AxiosResponse<any, any>>;
4
+ declare type OptionsType = {
5
+ key: string;
6
+ BASE_API: string;
7
+ };
8
+ export default function useAttachement(options: OptionsType): {
9
+ list: import("vue").Ref<any[], any[]>;
10
+ total: import("vue").Ref<number, number>;
11
+ limit: import("vue").Ref<number, number>;
12
+ offset: import("vue").Ref<number, number>;
13
+ pageIdx: import("vue").ComputedRef<number>;
14
+ loading: import("vue").Ref<boolean, boolean>;
15
+ changeFilter: (f: any) => void;
16
+ changeKey: (k: string) => void;
17
+ changePage: (o: number) => void;
18
+ changeSize: (s: number) => void;
19
+ loadData: () => Promise<void>;
20
+ };
21
+ export declare function useLocalRecource(): {
22
+ localList: import("vue").Ref<any[], any[]>;
23
+ initLocalList: () => void;
24
+ setLocalList: (list: any[]) => void;
25
+ };
26
+ export declare type MediaUseType = 0 | 1 | 2 | 3 | 4 | 5 | 6;
27
+ export declare const mediaUseEnum: {
28
+ [key: string]: MediaUseType;
29
+ };
30
+ export declare function getSysRsByTag(BASE_API: string, params: any): Promise<import("axios").AxiosResponse<any, any>>;
31
+ export declare function getSysRsClassifyList(BASE_API: string, sys_tag: number): Promise<import("axios").AxiosResponse<any, any>>;
32
+ export declare function getSysRsPage(BASE_API: string, params: any): Promise<import("axios").AxiosResponse<any, any>>;
33
+ export declare function getDirectory(BASE_API: string, params: any): Promise<import("axios").AxiosResponse<any, any>>;
34
+ /**
35
+ * 数据结构:
36
+ * Array<{
37
+ * "id": {dirid},
38
+ * "alias": {dirname},
39
+ * "parent_id": {parent_dirid},
40
+ * "children": [],
41
+ * ...
42
+ * }>
43
+ */
44
+ declare type DirOptionsType = {
45
+ key?: string;
46
+ BASE_API: string;
47
+ };
48
+ export declare function useDirectory(options: DirOptionsType): {
49
+ tree: import("vue").Ref<any[], any[]>;
50
+ init: () => Promise<void>;
51
+ loadMore: (target: any) => Promise<void>;
52
+ };
53
+ export {};
@@ -0,0 +1,10 @@
1
+ export declare const LOCALSTORAGE_KEYS: {
2
+ LOCAL_RESOURCES: string;
3
+ LOCAL_UPLOAD_CONFIG: string;
4
+ USER_INFO: string;
5
+ };
6
+ export default function useLocalstorage(key: keyof typeof LOCALSTORAGE_KEYS): {
7
+ get: () => any;
8
+ set: (value: any) => void;
9
+ remove: () => void;
10
+ };
@@ -0,0 +1,12 @@
1
+ export declare function useVideoContext(callback: (data?: any) => any): {
2
+ options: import("vue").Ref<any[], any[]>;
3
+ videoContext: import("vue").Ref<HTMLVideoElement | null, HTMLVideoElement | null>;
4
+ loading: import("vue").Ref<boolean, boolean>;
5
+ playing: import("vue").Ref<boolean, boolean>;
6
+ currentTime: import("vue").Ref<number, number>;
7
+ handleOption: (key: string, value: number) => void;
8
+ togglePlay: () => void;
9
+ initVideoContext: (selector: string) => void;
10
+ seekVideo: (time: number) => void;
11
+ handleOnCanPlay: () => void;
12
+ };
@@ -0,0 +1,8 @@
1
+ import { Placement } from '@popperjs/core';
2
+ import { Ref } from 'vue';
3
+ export default function usePopper(pannel: Ref<HTMLElement | undefined>, triggerEl: Ref<HTMLElement | undefined>): {
4
+ initPopper: (placement?: Placement) => void;
5
+ show: () => void;
6
+ hide: () => void;
7
+ visible: Ref<boolean, boolean>;
8
+ };
@@ -0,0 +1,30 @@
1
+ declare type SelectOptionsType = {
2
+ label: string;
3
+ value: any;
4
+ };
5
+ declare type QueryParams = {
6
+ limit: number;
7
+ offset: number;
8
+ keyword: string;
9
+ others?: any;
10
+ };
11
+ declare type HookOptionParams = {
12
+ labelStr: string;
13
+ valueStr: string;
14
+ func: (params: QueryParams) => any;
15
+ };
16
+ export default function useSelection(params: HookOptionParams): {
17
+ options: import("vue").Ref<{
18
+ label: string;
19
+ value: any;
20
+ }[], SelectOptionsType[] | {
21
+ label: string;
22
+ value: any;
23
+ }[]>;
24
+ loading: import("vue").Ref<boolean, boolean>;
25
+ keyword: import("vue").Ref<string, string>;
26
+ load: (more?: boolean | undefined) => Promise<void>;
27
+ handleSearch: (kw: string) => void;
28
+ loadMore: () => void;
29
+ };
30
+ export {};
@@ -0,0 +1,30 @@
1
+ export declare type CallbackFunc = (data: any, status?: 'success' | 'fail') => void;
2
+ export declare type TypeAddMediaParam = {
3
+ url: string;
4
+ alias: string;
5
+ catalog: string;
6
+ repository_id: number;
7
+ directory_id: number;
8
+ size: number;
9
+ };
10
+ export declare function getSize(value: number): string;
11
+ export declare function addMedia(BASE_API: string, params: TypeAddMediaParam): Promise<import("axios").AxiosResponse<any, any>>;
12
+ export declare function getMediaDetails(BASE_API: string, repoId: number, id: number): Promise<import("axios").AxiosResponse<any, any>>;
13
+ export declare function reTranscodeMedia(BASE_API: string, media_id: number): Promise<import("axios").AxiosResponse<any, any>>;
14
+ declare type UploadOptions = {
15
+ noAddMedia: boolean;
16
+ };
17
+ export default function useUpload(options?: UploadOptions): {
18
+ list: import("vue").Ref<any[], any[]>;
19
+ uploadFile: (BASE_API: string, file: any, dir: number | undefined, repoId: number, callback?: CallbackFunc | undefined) => void;
20
+ reTranscode: (BASE_API: string, file: any) => Promise<boolean>;
21
+ transcodingFile: (BASE_API: string, file: any, repoId: number) => void;
22
+ recordTaskStatusChange: (file: any, progress: number, isTrans?: boolean | undefined) => void;
23
+ removeRecord: (file: any) => void;
24
+ };
25
+ export declare function useUploadConfig(): {
26
+ config: import("vue").Ref<any, any>;
27
+ checkFileSizeOutLimit: (file: File, callback: (msg: string) => void) => boolean;
28
+ initUploadConfig: (BASE_API: string, domainId: number) => Promise<void>;
29
+ };
30
+ export {};
@@ -0,0 +1,9 @@
1
+ interface Params {
2
+ [key: string]: any;
3
+ }
4
+ export declare function getChannels(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any>>;
5
+ declare const useLoadUserInfo: (BASE_API: string) => {
6
+ userInfo: import("vue").Ref<any, any>;
7
+ getUserInfoHandle: () => Promise<void>;
8
+ };
9
+ export default useLoadUserInfo;
File without changes
@@ -0,0 +1,2 @@
1
+ declare const imageCrop: any;
2
+ export default imageCrop;
@@ -0,0 +1 @@
1
+ export declare function getFileRealUrl(BASE_API: string, url: string): Promise<import("axios").AxiosResponse<any, any>>;
@@ -0,0 +1 @@
1
+ import './index.less';
File without changes
@@ -0,0 +1,2 @@
1
+ declare const importData: any;
2
+ export default importData;
@@ -0,0 +1 @@
1
+ import './index.less';
package/es/index.css CHANGED
@@ -4554,7 +4554,7 @@
4554
4554
  .resource-list .list-item-grid {
4555
4555
  display: grid;
4556
4556
  grid-gap: 20px;
4557
- grid-template-columns: repeat(5, 1fr);
4557
+ grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
4558
4558
  }
4559
4559
  .resource-list .list-content {
4560
4560
  margin-top: 30px;
@@ -4641,6 +4641,10 @@
4641
4641
  height: 16px;
4642
4642
  background-color: #4886ff;
4643
4643
  }
4644
+ .resource-select-wrap {
4645
+ width: 100%;
4646
+ height: 100%;
4647
+ }
4644
4648
  .resource-select-modal-body {
4645
4649
  height: 80vh;
4646
4650
  padding: 0;
package/es/index.d.ts ADDED
@@ -0,0 +1,30 @@
1
+ export { default } from './components';
2
+ export { default as appCenter } from './appCenter';
3
+ export { default as messageBox } from './messageBox';
4
+ export { default as userAvater } from './userAvater';
5
+ export { default as typeIcons } from './typeIcons';
6
+ export { default as uploadStep } from './uploadStep';
7
+ export { default as contentModal } from './contentModal';
8
+ export { default as resourceModal } from './resourceModal';
9
+ export { default as previousVersion } from './previousVersion';
10
+ export { default as selectGategory } from './selectGategory';
11
+ export { default as imageCrop } from './imageCrop';
12
+ export { default as uploadBefore } from './uploadBefore';
13
+ export { default as contentDetailList } from './contentDetailList';
14
+ export { default as emptyData } from './emptyData';
15
+ export { default as mediaFilter } from './mediaFilter';
16
+ export { default as selectAvatarList } from './selectAvatarList';
17
+ export { default as userDirector } from './userDirector';
18
+ export { default as selectThumb } from './selectThumb';
19
+ export { default as editMetaInfo } from './editMetaInfo';
20
+ export { default as baseFilter } from './baseFilter';
21
+ export { default as dataTags } from './dataTags';
22
+ export { default as colorPalette } from './colorPalette';
23
+ export { default as resourceGridList } from './resourceGridList';
24
+ export { default as mediaView } from './mediaView';
25
+ export { default as thumbCard } from './thumbCard';
26
+ export { default as selectResourceModal } from './selectResourceModal';
27
+ export { default as docPreview } from './docPreview';
28
+ export { default as docHistory } from './docHistory';
29
+ export { default as videoThumb } from './videoThumb';
30
+ export { default as importData } from './importData';
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,3 @@
1
+ declare const mediaFilter: any;
2
+ export * from './script/types';
3
+ export default mediaFilter;