@cmstops/pro-compo 0.3.46 → 0.3.48

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 (257) hide show
  1. package/dist/index.css +25 -15
  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/EqxiuList/MediaFilter/index.d.ts +0 -0
  52. package/es/contentModal/components/EqxiuList/index.d.ts +0 -0
  53. package/es/contentModal/components/LiveList/MediaFilter/index.d.ts +0 -0
  54. package/es/contentModal/components/LiveList/index.d.ts +0 -0
  55. package/es/contentModal/components/MpAccountList/MpAccountFilter/index.d.ts +0 -0
  56. package/es/contentModal/components/MpAccountList/index.d.ts +0 -0
  57. package/es/contentModal/components/MpContentList/MediaFilter/index.d.ts +0 -0
  58. package/es/contentModal/components/MpContentList/index.d.ts +0 -0
  59. package/es/contentModal/components/ViewAllColumn/MediaFilter/index.d.ts +0 -0
  60. package/es/contentModal/components/ViewAllColumn/columnTree/index.d.ts +0 -0
  61. package/es/contentModal/components/ViewAllColumn/index.d.ts +0 -0
  62. package/es/contentModal/components/storeBox/index.d.ts +0 -0
  63. package/es/contentModal/index.d.ts +2 -0
  64. package/es/contentModal/script/api.d.ts +14 -0
  65. package/es/contentModal/style/index.d.ts +1 -0
  66. package/es/dataTags/component.d.ts +0 -0
  67. package/es/dataTags/index.d.ts +2 -0
  68. package/es/dataTags/style/index.d.ts +1 -0
  69. package/es/docHistory/component.d.ts +0 -0
  70. package/es/docHistory/component.js +27 -6
  71. package/es/docHistory/components/DocDiffPanel/index.d.ts +0 -0
  72. package/es/docHistory/components/DocHistoryList/index.d.ts +0 -0
  73. package/es/docHistory/index.d.ts +2 -0
  74. package/es/docHistory/scripts/diff.d.ts +1 -0
  75. package/es/docHistory/scripts/useDocHistory.d.ts +10 -0
  76. package/es/docHistory/style/index.css +3 -0
  77. package/es/docHistory/style/index.d.ts +1 -0
  78. package/es/docHistory/style/index.less +4 -0
  79. package/es/docPreview/component.d.ts +0 -0
  80. package/es/docPreview/component.js +31 -29
  81. package/es/docPreview/components/PreviewIframe.d.ts +0 -0
  82. package/es/docPreview/index.d.ts +2 -0
  83. package/es/docPreview/scripts/api.d.ts +1 -0
  84. package/es/docPreview/scripts/hook.d.ts +20 -0
  85. package/es/docPreview/scripts/hook.js +1 -1
  86. package/es/docPreview/style/index.d.ts +1 -0
  87. package/es/editMetaInfo/component.d.ts +0 -0
  88. package/es/editMetaInfo/components/metaInfoForm.d.ts +0 -0
  89. package/es/editMetaInfo/index.d.ts +2 -0
  90. package/es/editMetaInfo/script/api.d.ts +6 -0
  91. package/es/editMetaInfo/script/restaurants.d.ts +4 -0
  92. package/es/editMetaInfo/style/index.d.ts +1 -0
  93. package/es/emptyData/component.d.ts +0 -0
  94. package/es/emptyData/index.d.ts +2 -0
  95. package/es/emptyData/style/index.d.ts +1 -0
  96. package/es/emptyData/svg/add.d.ts +0 -0
  97. package/es/hooks/assets.d.ts +1 -0
  98. package/es/hooks/batch.d.ts +8 -0
  99. package/es/hooks/dialogVisible.d.ts +8 -0
  100. package/es/hooks/source.d.ts +9 -0
  101. package/es/hooks/toggle.d.ts +6 -0
  102. package/es/hooks/useAttachement.d.ts +26 -0
  103. package/es/hooks/useAttachement.js +1 -1
  104. package/es/hooks/useLocalStorage.d.ts +8 -0
  105. package/es/hooks/useMediaContext.d.ts +12 -0
  106. package/es/hooks/usePopper.d.ts +8 -0
  107. package/es/hooks/useSelection.d.ts +23 -0
  108. package/es/hooks/useUpload.d.ts +16 -0
  109. package/es/hooks/useUpload.js +2 -2
  110. package/es/hooks/user.d.ts +9 -0
  111. package/es/imageCrop/component.d.ts +0 -0
  112. package/es/imageCrop/index.d.ts +2 -0
  113. package/es/imageCrop/script/api.d.ts +1 -0
  114. package/es/imageCrop/style/index.d.ts +1 -0
  115. package/es/index.css +25 -15
  116. package/es/index.d.ts +29 -0
  117. package/es/mediaFilter/component.d.ts +0 -0
  118. package/es/mediaFilter/components/DocFilter.d.ts +0 -0
  119. package/es/mediaFilter/components/FilterGroup.d.ts +0 -0
  120. package/es/mediaFilter/components/FilterItem.d.ts +0 -0
  121. package/es/mediaFilter/components/MpAccountFilter.d.ts +0 -0
  122. package/es/mediaFilter/components/MpContentFilter.d.ts +0 -0
  123. package/es/mediaFilter/index.d.ts +3 -0
  124. package/es/mediaFilter/script/optionsGetter.d.ts +26 -0
  125. package/es/mediaFilter/script/types.d.ts +16 -0
  126. package/es/mediaFilter/style/index.d.ts +1 -0
  127. package/es/mediaView/component.d.ts +0 -0
  128. package/es/mediaView/index.d.ts +2 -0
  129. package/es/mediaView/style/index.d.ts +1 -0
  130. package/es/messageBox/component.d.ts +0 -0
  131. package/es/messageBox/index.d.ts +2 -0
  132. package/es/messageBox/list.d.ts +0 -0
  133. package/es/messageBox/script/api.d.ts +6 -0
  134. package/es/messageBox/style/index.d.ts +1 -0
  135. package/es/previousVersion/component.d.ts +0 -0
  136. package/es/previousVersion/index.d.ts +2 -0
  137. package/es/previousVersion/script/api.d.ts +15 -0
  138. package/es/previousVersion/script/tool.d.ts +6 -0
  139. package/es/previousVersion/style/index.d.ts +1 -0
  140. package/es/resourceGridList/component.d.ts +0 -0
  141. package/es/resourceGridList/components/FileTypeThumb/index.d.ts +0 -0
  142. package/es/resourceGridList/index.d.ts +2 -0
  143. package/es/resourceGridList/style/index.d.ts +1 -0
  144. package/es/resourceModal/component.d.ts +0 -0
  145. package/es/resourceModal/components/MediaPreviewer/index.d.ts +0 -0
  146. package/es/resourceModal/components/MediaSelection/DocAiMediaSelected/index.d.ts +0 -0
  147. package/es/resourceModal/components/MediaSelection/MainContent/FileTypeThumb/index.d.ts +0 -0
  148. package/es/resourceModal/components/MediaSelection/MainContent/index.d.ts +0 -0
  149. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.d.ts +0 -0
  150. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.d.ts +0 -0
  151. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.js +3 -3
  152. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/index.d.ts +0 -0
  153. package/es/resourceModal/components/MediaSelection/ToolbarSearch/index.d.ts +0 -0
  154. package/es/resourceModal/components/MediaSelection/index.d.ts +0 -0
  155. package/es/resourceModal/index.d.ts +2 -0
  156. package/es/resourceModal/script/api.d.ts +25 -0
  157. package/es/resourceModal/script/mediaSelection.d.ts +14 -0
  158. package/es/resourceModal/style/index.d.ts +1 -0
  159. package/es/selectAvatarList/component.d.ts +0 -0
  160. package/es/selectAvatarList/index.d.ts +2 -0
  161. package/es/selectAvatarList/style/index.d.ts +1 -0
  162. package/es/selectGategory/component.d.ts +0 -0
  163. package/es/selectGategory/components/ColumnSelection/index.d.ts +0 -0
  164. package/es/selectGategory/index.d.ts +2 -0
  165. package/es/selectGategory/script/api.d.ts +6 -0
  166. package/es/selectGategory/style/index.d.ts +1 -0
  167. package/es/selectResourceModal/component.d.ts +0 -0
  168. package/es/selectResourceModal/component.js +5 -0
  169. package/es/selectResourceModal/components/ListCardWrapper/index.d.ts +0 -0
  170. package/es/selectResourceModal/components/ListContent/index.d.ts +0 -0
  171. package/es/selectResourceModal/components/ListContentLocal/components/Upload.d.ts +0 -0
  172. package/es/selectResourceModal/components/ListContentLocal/index.d.ts +0 -0
  173. package/es/selectResourceModal/components/ListContentLocal/index.js +1 -1
  174. package/es/selectResourceModal/components/ListFilter/index.d.ts +0 -0
  175. package/es/selectResourceModal/components/ListFilter/index.js +169 -139
  176. package/es/selectResourceModal/components/ListFilter/scripts/api.d.ts +1 -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/useResourceSelect.d.ts +7 -0
  181. package/es/selectResourceModal/style/index.css +22 -4
  182. package/es/selectResourceModal/style/index.d.ts +1 -0
  183. package/es/selectResourceModal/style/listFilter.less +33 -9
  184. package/es/selectThumb/component.d.ts +0 -0
  185. package/es/selectThumb/components/card.d.ts +0 -0
  186. package/es/selectThumb/components/colorPalette.d.ts +0 -0
  187. package/es/selectThumb/components/colorPicker.d.ts +0 -0
  188. package/es/selectThumb/index.d.ts +2 -0
  189. package/es/selectThumb/style/index.d.ts +1 -0
  190. package/es/thumbCard/component.d.ts +0 -0
  191. package/es/thumbCard/component.js +5 -42
  192. package/es/thumbCard/index.d.ts +2 -0
  193. package/es/thumbCard/style/index.css +0 -11
  194. package/es/thumbCard/style/index.d.ts +1 -0
  195. package/es/thumbCard/style/index.less +0 -15
  196. package/es/typeIcons/component.d.ts +0 -0
  197. package/es/typeIcons/index.d.ts +2 -0
  198. package/es/typeIcons/style/index.d.ts +1 -0
  199. package/es/uploadBefore/component.d.ts +0 -0
  200. package/es/uploadBefore/components/UploadBefore.d.ts +0 -0
  201. package/es/uploadBefore/components/UploadForClick.d.ts +0 -0
  202. package/es/uploadBefore/index.d.ts +2 -0
  203. package/es/uploadBefore/script/api.d.ts +16 -0
  204. package/es/uploadBefore/script/fileTypeAdapter.d.ts +39 -0
  205. package/es/uploadBefore/script/fileUpload.d.ts +7 -0
  206. package/es/uploadBefore/script/uploadHooks.d.ts +55 -0
  207. package/es/uploadBefore/style/index.d.ts +1 -0
  208. package/es/uploadBefore/utils/dragUploadEvent.d.ts +0 -0
  209. package/es/uploadStep/component.d.ts +0 -0
  210. package/es/uploadStep/index.d.ts +2 -0
  211. package/es/uploadStep/script/fileTypeAdapter.d.ts +20 -0
  212. package/es/uploadStep/style/index.d.ts +1 -0
  213. package/es/userAvater/component.d.ts +0 -0
  214. package/es/userAvater/index.d.ts +2 -0
  215. package/es/userAvater/script/api.d.ts +8 -0
  216. package/es/userAvater/style/index.d.ts +1 -0
  217. package/es/userDirector/component.d.ts +0 -0
  218. package/es/userDirector/components/userTree.d.ts +0 -0
  219. package/es/userDirector/index.d.ts +2 -0
  220. package/es/userDirector/script/api.d.ts +10 -0
  221. package/es/userDirector/style/index.d.ts +1 -0
  222. package/es/utils/auth.d.ts +5 -0
  223. package/es/utils/date.d.ts +3 -0
  224. package/es/utils/doc.d.ts +76 -0
  225. package/es/utils/filter.d.ts +9 -0
  226. package/es/utils/index.d.ts +17 -0
  227. package/es/utils/request.d.ts +9 -0
  228. package/es/utils/resource.d.ts +4 -0
  229. package/es/utils/resource.js +13 -0
  230. package/es/utils/transcodeMedia.d.ts +13 -0
  231. package/es/utils/tusUpload.d.ts +16 -0
  232. package/es/utils/typeMap.d.ts +185 -0
  233. package/es/utils/uploadCatalog.d.ts +1 -0
  234. package/es/videoThumb/component.d.ts +0 -0
  235. package/es/videoThumb/index.d.ts +2 -0
  236. package/es/videoThumb/scripts/api.d.ts +9 -0
  237. package/es/videoThumb/scripts/useVideoThumbs.d.ts +7 -0
  238. package/es/videoThumb/style/index.d.ts +1 -0
  239. package/lib/docHistory/component.js +25 -4
  240. package/lib/docHistory/style/index.css +3 -0
  241. package/lib/docHistory/style/index.less +4 -0
  242. package/lib/docPreview/component.js +31 -29
  243. package/lib/docPreview/scripts/hook.js +1 -1
  244. package/lib/hooks/useAttachement.js +1 -1
  245. package/lib/hooks/useUpload.js +2 -2
  246. package/lib/index.css +25 -15
  247. package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.js +2 -2
  248. package/lib/selectResourceModal/component.js +5 -0
  249. package/lib/selectResourceModal/components/ListContentLocal/index.js +1 -1
  250. package/lib/selectResourceModal/components/ListFilter/index.js +168 -138
  251. package/lib/selectResourceModal/style/index.css +22 -4
  252. package/lib/selectResourceModal/style/listFilter.less +33 -9
  253. package/lib/thumbCard/component.js +2 -39
  254. package/lib/thumbCard/style/index.css +0 -11
  255. package/lib/thumbCard/style/index.less +0 -15
  256. package/lib/utils/resource.js +15 -0
  257. package/package.json +1 -1
@@ -0,0 +1,12 @@
1
+ export declare function useVideoContext(callback: (data?: any) => any): {
2
+ options: import("vue").Ref<any[]>;
3
+ videoContext: import("vue").Ref<HTMLVideoElement | null>;
4
+ loading: import("vue").Ref<boolean>;
5
+ playing: import("vue").Ref<boolean>;
6
+ currentTime: import("vue").Ref<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>;
8
+ };
@@ -0,0 +1,23 @@
1
+ declare type QueryParams = {
2
+ limit: number;
3
+ offset: number;
4
+ keyword: string;
5
+ others?: any;
6
+ };
7
+ declare type HookOptionParams = {
8
+ labelStr: string;
9
+ valueStr: string;
10
+ func: (params: QueryParams) => any;
11
+ };
12
+ export default function useSelection(params: HookOptionParams): {
13
+ options: import("vue").Ref<{
14
+ label: string;
15
+ value: any;
16
+ }[]>;
17
+ loading: import("vue").Ref<boolean>;
18
+ keyword: import("vue").Ref<string>;
19
+ load: (more?: boolean | undefined) => Promise<void>;
20
+ handleSearch: (kw: string) => void;
21
+ loadMore: () => void;
22
+ };
23
+ export {};
@@ -0,0 +1,16 @@
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 addMedia(BASE_API: string, params: TypeAddMediaParam): import("axios").AxiosPromise<any>;
11
+ export default function useUpload(): {
12
+ list: import("vue").Ref<any[]>;
13
+ uploadFile: (BASE_API: string, file: any, dir: number | undefined, repoId: number, callback?: CallbackFunc | undefined) => void;
14
+ transcodingFile: (BASE_API: string, file: any) => void;
15
+ recordTaskStatusChange: (file: any, progress: number, isTrans?: boolean | undefined) => void;
16
+ };
@@ -99,9 +99,9 @@ function useUpload() {
99
99
  recordTaskStatusChange(item, 0, true);
100
100
  const progress = (progress2) => recordTaskStatusChange(item, progress2);
101
101
  const transing = task.start(BASE_API, progress);
102
- transing.then((res) => {
102
+ transing.then(async (res) => {
103
103
  if (res) {
104
- console.log("\u{1F680}\u{1F680}\u{1F680}\u{1F680}\u{1F680}\u{1F680} \u8F6C\u7801\u6210\u529F");
104
+ console.log("\u{1F680}\u{1F680}\u{1F680}\u{1F680}\u{1F680}\u{1F680} \u8F6C\u7801\u6210\u529F", res);
105
105
  recordTaskStatusChange({ ...item, status: 0 }, 1);
106
106
  setTimeout(() => uploadSuccess(file), 200);
107
107
  } else {
@@ -0,0 +1,9 @@
1
+ interface Params {
2
+ [key: string]: any;
3
+ }
4
+ export declare function getChannels(BASE_API: string, params?: Params): import("axios").AxiosPromise<any>;
5
+ declare const useLoadUserInfo: (BASE_API: string) => {
6
+ userInfo: import("vue").Ref<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): import("axios").AxiosPromise<any>;
@@ -0,0 +1 @@
1
+ import './index.less';
package/es/index.css CHANGED
@@ -4270,11 +4270,6 @@
4270
4270
  .thumb-select-wrapper .thumb-upload-loading .arco-progress-circle-text {
4271
4271
  color: #fff;
4272
4272
  }
4273
- .thumb-select-wrapper .thumb-add {
4274
- color: var(--color-text-2);
4275
- font-size: 16px;
4276
- cursor: pointer;
4277
- }
4278
4273
  .thumb-select-wrapper .thumb-image img {
4279
4274
  width: 100%;
4280
4275
  height: 100%;
@@ -4331,29 +4326,41 @@
4331
4326
  opacity: 1;
4332
4327
  transition: all 0.3s ease-in-out;
4333
4328
  }
4334
- .thumb-select-wrapper .arco-dropdown-option-content {
4335
- display: flex;
4336
- gap: 8px;
4337
- align-items: center;
4338
- font-size: 14px;
4339
- }
4340
4329
  .card-list-wrapper {
4341
4330
  display: grid;
4342
4331
  grid-gap: 20px;
4343
4332
  grid-template-columns: repeat(5, 1fr);
4344
4333
  }
4345
- .list-filter-wrapper {
4334
+ .list-filter-wrapper .list-filter-tags {
4346
4335
  display: flex;
4347
4336
  justify-content: space-between;
4337
+ margin-top: 10px;
4348
4338
  }
4349
- .list-filter-wrapper .filter-list {
4339
+ .list-filter-wrapper .list-filter-tags .list-filter-tag {
4340
+ padding: 5px 16px;
4341
+ border-radius: 15px;
4342
+ cursor: pointer;
4343
+ }
4344
+ .list-filter-wrapper .list-filter-tags .list-filter-tag:hover {
4345
+ background-color: var(--color-fill-3);
4346
+ }
4347
+ .list-filter-wrapper .list-filter-tags .list-filter-tag.active {
4348
+ color: rgb(var(--primary-6));
4349
+ font-weight: bold;
4350
+ background: var(--color-fill-2);
4351
+ }
4352
+ .list-filter-wrapper .list-filter {
4353
+ display: flex;
4354
+ justify-content: space-between;
4355
+ }
4356
+ .list-filter-wrapper .list-filter .filter-list {
4350
4357
  display: flex;
4351
4358
  gap: 10px;
4352
4359
  }
4353
- .list-filter-wrapper .filter-list .filter-item {
4360
+ .list-filter-wrapper .list-filter .filter-list .filter-item {
4354
4361
  width: 100px;
4355
4362
  }
4356
- .list-filter-wrapper .arco-input-prepend {
4363
+ .list-filter-wrapper .list-filter .arco-input-prepend {
4357
4364
  padding: 0;
4358
4365
  }
4359
4366
  .list-panel-wrapper {
@@ -4790,6 +4797,9 @@
4790
4797
  .doc-history-drawer .arco-drawer-body {
4791
4798
  padding: 0;
4792
4799
  }
4800
+ .doc-history-drawer .arco-drawer-footer {
4801
+ text-align: left;
4802
+ }
4793
4803
  .video-thumb {
4794
4804
  display: flex;
4795
4805
  flex-direction: column;
package/es/index.d.ts ADDED
@@ -0,0 +1,29 @@
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';
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;
@@ -0,0 +1,26 @@
1
+ declare type KeyValueType = {
2
+ [key: number]: string;
3
+ };
4
+ export declare const approveFlowStatusMap: KeyValueType;
5
+ export declare const provalTypeMap: KeyValueType;
6
+ export declare function getApprovalStateOptions(): {
7
+ value: any;
8
+ label: string;
9
+ }[];
10
+ export declare function getProvalTypeOptions(): {
11
+ value: any;
12
+ label: string;
13
+ }[];
14
+ declare type OSType = {
15
+ value: number | string;
16
+ label: string;
17
+ type?: string;
18
+ key?: string;
19
+ };
20
+ declare type FilterType = 'APV' | 'MINE' | 'CONTENT' | 'STORE';
21
+ export declare function useHighLevelSearch(filterType: FilterType): {
22
+ sortOptions: OSType[];
23
+ showHighLevelSearch: import("vue").ComputedRef<boolean>;
24
+ highLevelSearchOptions: import("vue").ComputedRef<OSType[]>;
25
+ };
26
+ export {};
@@ -0,0 +1,16 @@
1
+ export declare type FilterType = 'DOC' | 'MEDIA' | 'MP_ACOUNT' | 'MP_CONTENT';
2
+ export declare type DocFilterType = 'APV' | 'MINE' | 'CONTENT' | 'STORE';
3
+ export declare type Keys = 'doc_type' | 'doc_state' | 'doc_thumb' | 'pub_time' | 'doc_banner' | 'apv_state';
4
+ export declare type DocFilterKeys = Keys[];
5
+ export interface FilterValue {
6
+ keywords: string;
7
+ doc_type: string;
8
+ doc_state: string;
9
+ doc_thumb: string;
10
+ pub_time: [];
11
+ highSearch: {
12
+ order: string;
13
+ sort: -1 | 1;
14
+ meta: any;
15
+ };
16
+ }
@@ -0,0 +1 @@
1
+ import './index.less';
File without changes
@@ -0,0 +1,2 @@
1
+ declare const mediaView: any;
2
+ export default mediaView;
@@ -0,0 +1 @@
1
+ import './index.less';
File without changes
@@ -0,0 +1,2 @@
1
+ declare const messageBox: any;
2
+ export default messageBox;
File without changes
@@ -0,0 +1,6 @@
1
+ interface Params {
2
+ [key: string]: any;
3
+ }
4
+ export declare function getNoticeList(BASE_API: string, params?: Params): import("axios").AxiosPromise<any>;
5
+ export declare function setAllMsgRead(BASE_API: string, params?: Params): import("axios").AxiosPromise<any>;
6
+ export {};
@@ -0,0 +1 @@
1
+ import './index.less';
File without changes
@@ -0,0 +1,2 @@
1
+ declare const previousVersion: any;
2
+ export default previousVersion;
@@ -0,0 +1,15 @@
1
+ interface Params {
2
+ repo_id?: string;
3
+ app_id?: number;
4
+ [key: string]: any;
5
+ }
6
+ export declare function getChildCategorylists(BASE_API: string, params: Params): import("axios").AxiosPromise<any>;
7
+ export declare function getCategorylists(BASE_API: string, repository_id: string, channel_id: string): Promise<import("axios").AxiosResponse<any>>;
8
+ export declare function getCategorylistsGroups(BASE_API: string, params: Params, data?: {
9
+ repeatReport: boolean;
10
+ }): Promise<any>;
11
+ export declare function getMlists(BASE_API: string, params: Params, data?: {
12
+ repeatReport: boolean;
13
+ }): Promise<import("axios").AxiosResponse<any>>;
14
+ export declare function submitTo(BASE_API: string, data: Params): import("axios").AxiosPromise<any>;
15
+ export {};
@@ -0,0 +1,6 @@
1
+ /**
2
+ * 统计相同元素
3
+ * @param {Array} array
4
+ * @param {String} field 相同元素标识
5
+ */
6
+ export declare function repeatReport(array: Array<any>, field: string): void;
@@ -0,0 +1 @@
1
+ import './index.less';
File without changes
@@ -0,0 +1,2 @@
1
+ declare const resourceGridList: any;
2
+ export default resourceGridList;
@@ -0,0 +1 @@
1
+ import './index.less';
File without changes
@@ -1,4 +1,4 @@
1
- import { defineComponent, inject, ref, computed, watch, openBlock, createElementBlock, Fragment, createCommentVNode, createElementVNode, renderList, normalizeClass, createVNode, unref, withCtx, toDisplayString, createTextVNode } from "vue";
1
+ import { defineComponent, inject, ref, computed, watch, openBlock, createElementBlock, Fragment, createCommentVNode, createElementVNode, renderList, normalizeClass, createVNode, unref, withCtx, toDisplayString, normalizeStyle, createTextVNode } from "vue";
2
2
  import _imports_0 from "../../../../assets/images/sys_load_more.js";
3
3
  import { Tooltip } from "@arco-design/web-vue";
4
4
  import _sfc_main$1 from "../../MainContent/FileTypeThumb/index.js";
@@ -89,12 +89,12 @@ const _sfc_main = defineComponent({
89
89
  showMore.value ? (openBlock(), createElementBlock("div", {
90
90
  key: 0,
91
91
  class: "item-load-more",
92
- style: { width: "calc(20% - 20px)" },
92
+ style: normalizeStyle({ width: "calc(20% - 20px)" }),
93
93
  onClick: loadMore
94
94
  }, [
95
95
  _hoisted_3,
96
96
  createTextVNode(" \u70B9\u51FB\u52A0\u8F7D\u66F4\u591A ")
97
- ])) : createCommentVNode("v-if", true)
97
+ ], 4)) : createCommentVNode("v-if", true)
98
98
  ])
99
99
  ], 2112);
100
100
  };
@@ -0,0 +1,2 @@
1
+ declare const resourceModal: any;
2
+ export default resourceModal;
@@ -0,0 +1,25 @@
1
+ interface Params {
2
+ [key: string]: any;
3
+ }
4
+ export declare function getAttachmentsAll(BASE_API: string, query?: Params): import("axios").AxiosPromise<any>;
5
+ export declare function getAttachmentsMy(BASE_API: string, query?: Params): import("axios").AxiosPromise<any>;
6
+ export declare function getDirectories(BASE_API: string, query?: Params): import("axios").AxiosPromise<any>;
7
+ export declare function getAccountList(BASE_API: string, id: number, query: Params): import("axios").AxiosPromise<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): import("axios").AxiosPromise<any>;
19
+ export declare function setSysRsClassifyName(BASE_API: string, params: any): import("axios").AxiosPromise<any>;
20
+ export declare function getSysRsClassifyList(BASE_API: string, sys_tag: number): import("axios").AxiosPromise<any>;
21
+ export declare function addSysRsClassify(BASE_API: string, params: any): import("axios").AxiosPromise<any>;
22
+ export declare function delSySRsClassify(BASE_API: string, params: any): import("axios").AxiosPromise<any>;
23
+ export declare function getSysRsByTag(BASE_API: string, params: any): import("axios").AxiosPromise<any>;
24
+ export declare function getSysRsPage(BASE_API: string, params: any): import("axios").AxiosPromise<any>;
25
+ export {};
@@ -0,0 +1,14 @@
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
+ };
@@ -0,0 +1 @@
1
+ import './index.less';
File without changes
@@ -0,0 +1,2 @@
1
+ declare const selectAvatarList: any;
2
+ export default selectAvatarList;
@@ -0,0 +1 @@
1
+ import './index.less';
File without changes
@@ -0,0 +1,2 @@
1
+ declare const selectGategory: any;
2
+ export default selectGategory;
@@ -0,0 +1,6 @@
1
+ interface Params {
2
+ [key: string]: any;
3
+ }
4
+ export declare function getCategoryPath(BASE_API: string, params: Params): import("axios").AxiosPromise<any>;
5
+ export declare function getCategoryCategoriesTree(BASE_API: string, params?: Params): import("axios").AxiosPromise<any>;
6
+ export {};
@@ -0,0 +1 @@
1
+ import './index.less';
File without changes
@@ -101,12 +101,15 @@ const _sfc_main = defineComponent({
101
101
  changeKey("local");
102
102
  activeKey.value = "local";
103
103
  }
104
+ const FilterRef = ref();
104
105
  watch(
105
106
  () => props.visible,
106
107
  () => {
107
108
  if (props.visible) {
108
109
  activeKey.value = "all";
109
110
  changeKey("all");
111
+ if (FilterRef.value)
112
+ FilterRef.value.resetFilter();
110
113
  }
111
114
  }
112
115
  );
@@ -126,6 +129,8 @@ const _sfc_main = defineComponent({
126
129
  createCommentVNode(" \u7B5B\u9009 "),
127
130
  activeKey.value !== "local" ? (openBlock(), createElementBlock("div", _hoisted_4, [
128
131
  createVNode(_sfc_main$2, {
132
+ ref_key: "FilterRef",
133
+ ref: FilterRef,
129
134
  "disable-upload-by": !["all", "remind"].includes(activeKey.value),
130
135
  filterOptions: _ctx.filterOptions,
131
136
  onChange: unref(changeFilter),
@@ -73,7 +73,7 @@ const _sfc_main = defineComponent({
73
73
  default: withCtx(() => [
74
74
  createVNode(unref(thumbCard), {
75
75
  url: item.url,
76
- thumb: item.url,
76
+ thumb: item.thumb || item.url,
77
77
  catalog: item.catalog,
78
78
  meta: item,
79
79
  options: {