@cmstops/pro-compo 0.3.45 → 0.3.46

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 (252) hide show
  1. package/dist/index.css +23 -15
  2. package/dist/index.min.css +1 -1
  3. package/es/appCenter/component.js +30 -1
  4. package/es/appCenter/script/api.js +8 -1
  5. package/es/appCenter/style/index.css +17 -14
  6. package/es/appCenter/style/index.less +33 -15
  7. package/es/docHistory/component.js +1 -0
  8. package/es/docPreview/component.js +46 -40
  9. package/es/hooks/useAttachement.js +2 -0
  10. package/es/index.css +23 -15
  11. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.js +3 -3
  12. package/es/selectResourceModal/component.js +15 -3
  13. package/es/selectResourceModal/components/ListFilter/index.js +13 -1
  14. package/es/selectResourceModal/components/ListSelected/index.js +2 -0
  15. package/es/selectResourceModal/components/ListTabs/index.js +2 -1
  16. package/es/selectResourceModal/style/index.css +6 -1
  17. package/es/selectResourceModal/style/listSelected.less +7 -1
  18. package/es/utils/typeMap.js +1 -2
  19. package/lib/appCenter/component.js +29 -0
  20. package/lib/appCenter/script/api.js +8 -0
  21. package/lib/appCenter/style/index.css +17 -14
  22. package/lib/appCenter/style/index.less +33 -15
  23. package/lib/docHistory/component.js +1 -0
  24. package/lib/docPreview/component.js +45 -39
  25. package/lib/hooks/useAttachement.js +2 -0
  26. package/lib/index.css +23 -15
  27. package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.js +2 -2
  28. package/lib/selectResourceModal/component.js +14 -2
  29. package/lib/selectResourceModal/components/ListFilter/index.js +13 -1
  30. package/lib/selectResourceModal/components/ListSelected/index.js +2 -0
  31. package/lib/selectResourceModal/components/ListTabs/index.js +2 -1
  32. package/lib/selectResourceModal/style/index.css +6 -1
  33. package/lib/selectResourceModal/style/listSelected.less +7 -1
  34. package/lib/utils/typeMap.js +1 -2
  35. package/package.json +1 -1
  36. package/es/appCenter/component.d.ts +0 -0
  37. package/es/appCenter/index.d.ts +0 -2
  38. package/es/appCenter/script/api.d.ts +0 -10
  39. package/es/appCenter/script/apps.d.ts +0 -14
  40. package/es/appCenter/script/permissionMap.d.ts +0 -6
  41. package/es/appCenter/script/routeMap.d.ts +0 -4
  42. package/es/appCenter/style/index.d.ts +0 -1
  43. package/es/baseFilter/component.d.ts +0 -0
  44. package/es/baseFilter/components/FilterGroup.d.ts +0 -0
  45. package/es/baseFilter/components/filterItem.d.ts +0 -0
  46. package/es/baseFilter/index.d.ts +0 -2
  47. package/es/baseFilter/style/index.d.ts +0 -1
  48. package/es/baseFilter/useCalcWidth.d.ts +0 -16
  49. package/es/colorPalette/component.d.ts +0 -0
  50. package/es/colorPalette/components/colorPicker.d.ts +0 -0
  51. package/es/colorPalette/index.d.ts +0 -2
  52. package/es/colorPalette/style/index.d.ts +0 -1
  53. package/es/components.d.ts +0 -5
  54. package/es/config.d.ts +0 -4
  55. package/es/contentDetailList/__demo__/matrix/platform.d.ts +0 -36
  56. package/es/contentDetailList/component.d.ts +0 -0
  57. package/es/contentDetailList/components/Content/CompoItem/index.d.ts +0 -0
  58. package/es/contentDetailList/components/Content/ContentListItem/index.d.ts +0 -0
  59. package/es/contentDetailList/components/Content/DocItem/ApprovalStateMap/index.d.ts +0 -0
  60. package/es/contentDetailList/components/Content/DocItem/index.d.ts +0 -0
  61. package/es/contentDetailList/components/Content/DocMpItem/index.d.ts +0 -0
  62. package/es/contentDetailList/components/Content/GroupPieceItem/index.d.ts +0 -0
  63. package/es/contentDetailList/components/Content/KongoNavItem/index.d.ts +0 -0
  64. package/es/contentDetailList/components/Content/LiveItem/index.d.ts +0 -0
  65. package/es/contentDetailList/components/Content/MaccountItem/index.d.ts +0 -0
  66. package/es/contentDetailList/components/Content/courseItem/index.d.ts +0 -0
  67. package/es/contentDetailList/components/Content/funhdItem/index.d.ts +0 -0
  68. package/es/contentDetailList/components/Content/index.d.ts +0 -0
  69. package/es/contentDetailList/components/CustomWrp/CustomItem.d.ts +0 -0
  70. package/es/contentDetailList/components/CustomWrp/index.d.ts +0 -0
  71. package/es/contentDetailList/components/Doc/index.d.ts +0 -0
  72. package/es/contentDetailList/components/Records/MatrixItem/index.d.ts +0 -0
  73. package/es/contentDetailList/components/Records/index.d.ts +0 -0
  74. package/es/contentDetailList/components/ShowQRCode/QrcodeView/index.d.ts +0 -0
  75. package/es/contentDetailList/components/ShowQRCode/index.d.ts +0 -0
  76. package/es/contentDetailList/index.d.ts +0 -2
  77. package/es/contentDetailList/script/api.d.ts +0 -6
  78. package/es/contentDetailList/style/index.d.ts +0 -1
  79. package/es/contentModal/component.d.ts +0 -0
  80. package/es/contentModal/components/CompoList/CompoFilter/index.d.ts +0 -0
  81. package/es/contentModal/components/CompoList/index.d.ts +0 -0
  82. package/es/contentModal/components/ContentList/MediaFilter/index.d.ts +0 -0
  83. package/es/contentModal/components/ContentList/index.d.ts +0 -0
  84. package/es/contentModal/components/EqxiuList/MediaFilter/index.d.ts +0 -0
  85. package/es/contentModal/components/EqxiuList/index.d.ts +0 -0
  86. package/es/contentModal/components/LiveList/MediaFilter/index.d.ts +0 -0
  87. package/es/contentModal/components/LiveList/index.d.ts +0 -0
  88. package/es/contentModal/components/MpAccountList/MpAccountFilter/index.d.ts +0 -0
  89. package/es/contentModal/components/MpAccountList/index.d.ts +0 -0
  90. package/es/contentModal/components/MpContentList/MediaFilter/index.d.ts +0 -0
  91. package/es/contentModal/components/MpContentList/index.d.ts +0 -0
  92. package/es/contentModal/components/ViewAllColumn/MediaFilter/index.d.ts +0 -0
  93. package/es/contentModal/components/ViewAllColumn/columnTree/index.d.ts +0 -0
  94. package/es/contentModal/components/ViewAllColumn/index.d.ts +0 -0
  95. package/es/contentModal/components/storeBox/index.d.ts +0 -0
  96. package/es/contentModal/index.d.ts +0 -2
  97. package/es/contentModal/script/api.d.ts +0 -14
  98. package/es/contentModal/style/index.d.ts +0 -1
  99. package/es/dataTags/component.d.ts +0 -0
  100. package/es/dataTags/index.d.ts +0 -2
  101. package/es/dataTags/style/index.d.ts +0 -1
  102. package/es/docHistory/component.d.ts +0 -0
  103. package/es/docHistory/components/DocDiffPanel/index.d.ts +0 -0
  104. package/es/docHistory/components/DocHistoryList/index.d.ts +0 -0
  105. package/es/docHistory/index.d.ts +0 -2
  106. package/es/docHistory/scripts/diff.d.ts +0 -1
  107. package/es/docHistory/scripts/useDocHistory.d.ts +0 -10
  108. package/es/docHistory/style/index.d.ts +0 -1
  109. package/es/docPreview/component.d.ts +0 -0
  110. package/es/docPreview/components/PreviewIframe.d.ts +0 -0
  111. package/es/docPreview/index.d.ts +0 -2
  112. package/es/docPreview/scripts/api.d.ts +0 -1
  113. package/es/docPreview/scripts/hook.d.ts +0 -20
  114. package/es/docPreview/style/index.d.ts +0 -1
  115. package/es/editMetaInfo/component.d.ts +0 -0
  116. package/es/editMetaInfo/components/metaInfoForm.d.ts +0 -0
  117. package/es/editMetaInfo/index.d.ts +0 -2
  118. package/es/editMetaInfo/script/api.d.ts +0 -6
  119. package/es/editMetaInfo/script/restaurants.d.ts +0 -4
  120. package/es/editMetaInfo/style/index.d.ts +0 -1
  121. package/es/emptyData/component.d.ts +0 -0
  122. package/es/emptyData/index.d.ts +0 -2
  123. package/es/emptyData/style/index.d.ts +0 -1
  124. package/es/emptyData/svg/add.d.ts +0 -0
  125. package/es/hooks/assets.d.ts +0 -1
  126. package/es/hooks/batch.d.ts +0 -8
  127. package/es/hooks/dialogVisible.d.ts +0 -8
  128. package/es/hooks/source.d.ts +0 -9
  129. package/es/hooks/toggle.d.ts +0 -6
  130. package/es/hooks/useAttachement.d.ts +0 -25
  131. package/es/hooks/useLocalStorage.d.ts +0 -8
  132. package/es/hooks/useMediaContext.d.ts +0 -12
  133. package/es/hooks/usePopper.d.ts +0 -8
  134. package/es/hooks/useSelection.d.ts +0 -23
  135. package/es/hooks/useUpload.d.ts +0 -16
  136. package/es/hooks/user.d.ts +0 -9
  137. package/es/imageCrop/component.d.ts +0 -0
  138. package/es/imageCrop/index.d.ts +0 -2
  139. package/es/imageCrop/script/api.d.ts +0 -1
  140. package/es/imageCrop/style/index.d.ts +0 -1
  141. package/es/index.d.ts +0 -29
  142. package/es/mediaFilter/component.d.ts +0 -0
  143. package/es/mediaFilter/components/DocFilter.d.ts +0 -0
  144. package/es/mediaFilter/components/FilterGroup.d.ts +0 -0
  145. package/es/mediaFilter/components/FilterItem.d.ts +0 -0
  146. package/es/mediaFilter/components/MpAccountFilter.d.ts +0 -0
  147. package/es/mediaFilter/components/MpContentFilter.d.ts +0 -0
  148. package/es/mediaFilter/index.d.ts +0 -3
  149. package/es/mediaFilter/script/optionsGetter.d.ts +0 -26
  150. package/es/mediaFilter/script/types.d.ts +0 -16
  151. package/es/mediaFilter/style/index.d.ts +0 -1
  152. package/es/mediaView/component.d.ts +0 -0
  153. package/es/mediaView/index.d.ts +0 -2
  154. package/es/mediaView/style/index.d.ts +0 -1
  155. package/es/messageBox/component.d.ts +0 -0
  156. package/es/messageBox/index.d.ts +0 -2
  157. package/es/messageBox/list.d.ts +0 -0
  158. package/es/messageBox/script/api.d.ts +0 -6
  159. package/es/messageBox/style/index.d.ts +0 -1
  160. package/es/previousVersion/component.d.ts +0 -0
  161. package/es/previousVersion/index.d.ts +0 -2
  162. package/es/previousVersion/script/api.d.ts +0 -15
  163. package/es/previousVersion/script/tool.d.ts +0 -6
  164. package/es/previousVersion/style/index.d.ts +0 -1
  165. package/es/resourceGridList/component.d.ts +0 -0
  166. package/es/resourceGridList/components/FileTypeThumb/index.d.ts +0 -0
  167. package/es/resourceGridList/index.d.ts +0 -2
  168. package/es/resourceGridList/style/index.d.ts +0 -1
  169. package/es/resourceModal/component.d.ts +0 -0
  170. package/es/resourceModal/components/MediaPreviewer/index.d.ts +0 -0
  171. package/es/resourceModal/components/MediaSelection/DocAiMediaSelected/index.d.ts +0 -0
  172. package/es/resourceModal/components/MediaSelection/MainContent/FileTypeThumb/index.d.ts +0 -0
  173. package/es/resourceModal/components/MediaSelection/MainContent/index.d.ts +0 -0
  174. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.d.ts +0 -0
  175. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.d.ts +0 -0
  176. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/index.d.ts +0 -0
  177. package/es/resourceModal/components/MediaSelection/ToolbarSearch/index.d.ts +0 -0
  178. package/es/resourceModal/components/MediaSelection/index.d.ts +0 -0
  179. package/es/resourceModal/index.d.ts +0 -2
  180. package/es/resourceModal/script/api.d.ts +0 -25
  181. package/es/resourceModal/script/mediaSelection.d.ts +0 -14
  182. package/es/resourceModal/style/index.d.ts +0 -1
  183. package/es/selectAvatarList/component.d.ts +0 -0
  184. package/es/selectAvatarList/index.d.ts +0 -2
  185. package/es/selectAvatarList/style/index.d.ts +0 -1
  186. package/es/selectGategory/component.d.ts +0 -0
  187. package/es/selectGategory/components/ColumnSelection/index.d.ts +0 -0
  188. package/es/selectGategory/index.d.ts +0 -2
  189. package/es/selectGategory/script/api.d.ts +0 -6
  190. package/es/selectGategory/style/index.d.ts +0 -1
  191. package/es/selectResourceModal/component.d.ts +0 -0
  192. package/es/selectResourceModal/components/ListCardWrapper/index.d.ts +0 -0
  193. package/es/selectResourceModal/components/ListContent/index.d.ts +0 -0
  194. package/es/selectResourceModal/components/ListContentLocal/components/Upload.d.ts +0 -0
  195. package/es/selectResourceModal/components/ListContentLocal/index.d.ts +0 -0
  196. package/es/selectResourceModal/components/ListFilter/index.d.ts +0 -0
  197. package/es/selectResourceModal/components/ListFilter/scripts/api.d.ts +0 -1
  198. package/es/selectResourceModal/components/ListSelected/index.d.ts +0 -0
  199. package/es/selectResourceModal/components/ListTabs/index.d.ts +0 -0
  200. package/es/selectResourceModal/index.d.ts +0 -2
  201. package/es/selectResourceModal/scripts/useResourceSelect.d.ts +0 -7
  202. package/es/selectResourceModal/style/index.d.ts +0 -1
  203. package/es/selectThumb/component.d.ts +0 -0
  204. package/es/selectThumb/components/card.d.ts +0 -0
  205. package/es/selectThumb/components/colorPalette.d.ts +0 -0
  206. package/es/selectThumb/components/colorPicker.d.ts +0 -0
  207. package/es/selectThumb/index.d.ts +0 -2
  208. package/es/selectThumb/style/index.d.ts +0 -1
  209. package/es/thumbCard/component.d.ts +0 -0
  210. package/es/thumbCard/index.d.ts +0 -2
  211. package/es/thumbCard/style/index.d.ts +0 -1
  212. package/es/typeIcons/component.d.ts +0 -0
  213. package/es/typeIcons/index.d.ts +0 -2
  214. package/es/typeIcons/style/index.d.ts +0 -1
  215. package/es/uploadBefore/component.d.ts +0 -0
  216. package/es/uploadBefore/components/UploadBefore.d.ts +0 -0
  217. package/es/uploadBefore/components/UploadForClick.d.ts +0 -0
  218. package/es/uploadBefore/index.d.ts +0 -2
  219. package/es/uploadBefore/script/api.d.ts +0 -16
  220. package/es/uploadBefore/script/fileTypeAdapter.d.ts +0 -39
  221. package/es/uploadBefore/script/fileUpload.d.ts +0 -7
  222. package/es/uploadBefore/script/uploadHooks.d.ts +0 -55
  223. package/es/uploadBefore/style/index.d.ts +0 -1
  224. package/es/uploadBefore/utils/dragUploadEvent.d.ts +0 -0
  225. package/es/uploadStep/component.d.ts +0 -0
  226. package/es/uploadStep/index.d.ts +0 -2
  227. package/es/uploadStep/script/fileTypeAdapter.d.ts +0 -20
  228. package/es/uploadStep/style/index.d.ts +0 -1
  229. package/es/userAvater/component.d.ts +0 -0
  230. package/es/userAvater/index.d.ts +0 -2
  231. package/es/userAvater/script/api.d.ts +0 -8
  232. package/es/userAvater/style/index.d.ts +0 -1
  233. package/es/userDirector/component.d.ts +0 -0
  234. package/es/userDirector/components/userTree.d.ts +0 -0
  235. package/es/userDirector/index.d.ts +0 -2
  236. package/es/userDirector/script/api.d.ts +0 -10
  237. package/es/userDirector/style/index.d.ts +0 -1
  238. package/es/utils/auth.d.ts +0 -5
  239. package/es/utils/date.d.ts +0 -3
  240. package/es/utils/doc.d.ts +0 -76
  241. package/es/utils/filter.d.ts +0 -9
  242. package/es/utils/index.d.ts +0 -17
  243. package/es/utils/request.d.ts +0 -9
  244. package/es/utils/transcodeMedia.d.ts +0 -13
  245. package/es/utils/tusUpload.d.ts +0 -16
  246. package/es/utils/typeMap.d.ts +0 -186
  247. package/es/utils/uploadCatalog.d.ts +0 -1
  248. package/es/videoThumb/component.d.ts +0 -0
  249. package/es/videoThumb/index.d.ts +0 -2
  250. package/es/videoThumb/scripts/api.d.ts +0 -9
  251. package/es/videoThumb/scripts/useVideoThumbs.d.ts +0 -7
  252. package/es/videoThumb/style/index.d.ts +0 -1
@@ -59,12 +59,14 @@ const _sfc_main = vue.defineComponent({
59
59
  vue.createElementVNode("div", _hoisted_6, [
60
60
  ["image", "video"].includes(item.catalog) ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Image), {
61
61
  key: 0,
62
+ preview: false,
62
63
  width: "100%",
63
64
  height: "100%",
64
65
  src: item.thumb || item.url
65
66
  }, null, 8, ["src"])) : vue.createCommentVNode("v-if", true),
66
67
  ["audio"].includes(item.catalog) ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Image), {
67
68
  key: 1,
69
+ preview: false,
68
70
  width: "100%",
69
71
  height: "100%",
70
72
  fit: "cover",
@@ -25,8 +25,9 @@ const _sfc_main = vue.defineComponent({
25
25
  }, {
26
26
  extra: vue.withCtx(() => [
27
27
  vue.createVNode(vue.unref(webVue.Button), {
28
- type: "secondary",
28
+ type: "text",
29
29
  shape: "round",
30
+ style: { "color": "black", "transform": "translateX(-8px)" },
30
31
  onClick: _cache[0] || (_cache[0] = ($event) => emits("close"))
31
32
  }, {
32
33
  icon: vue.withCtx(() => [
@@ -61,7 +61,12 @@
61
61
  overflow-y: scroll;
62
62
  }
63
63
  .list-panel-wrapper .list-selected-record::-webkit-scrollbar {
64
- display: none;
64
+ width: 6px;
65
+ }
66
+ .list-panel-wrapper .list-selected-record::-webkit-scrollbar-thumb {
67
+ background-color: #ececec;
68
+ -webkit-border-radius: 6px;
69
+ opacity: 0.5;
65
70
  }
66
71
  .list-panel-wrapper .list-selected-record .list-selected-item {
67
72
  display: flex;
@@ -48,7 +48,13 @@
48
48
  overflow-y: scroll;
49
49
 
50
50
  &::-webkit-scrollbar {
51
- display: none;
51
+ width: 6px;
52
+ }
53
+
54
+ &::-webkit-scrollbar-thumb {
55
+ background-color: #ececec;
56
+ -webkit-border-radius: 6px;
57
+ opacity: 0.5;
52
58
  }
53
59
 
54
60
  .list-selected-item {
@@ -172,8 +172,7 @@ const RESOURCE_SOURCE_DICT = {
172
172
  const RESOURCE_CATALOG_DICT = {
173
173
  image: "\u56FE\u7247",
174
174
  video: "\u89C6\u9891",
175
- audio: "\u97F3\u9891",
176
- other: "\u5176\u4ED6"
175
+ audio: "\u97F3\u9891"
177
176
  };
178
177
  const RESOURCE_SOURCE_OPTIONS = object2LabelList(RESOURCE_SOURCE_DICT);
179
178
  const RESOURCE_CATALOG_OPTIONS = object2LabelList(RESOURCE_CATALOG_DICT);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cmstops/pro-compo",
3
- "version": "0.3.45",
3
+ "version": "0.3.46",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "vue",
File without changes
@@ -1,2 +0,0 @@
1
- declare const appCenter: any;
2
- export default appCenter;
@@ -1,10 +0,0 @@
1
- interface Params {
2
- repo_id?: string;
3
- app_id?: number;
4
- [key: string]: any;
5
- }
6
- export declare function getUserRepoActs(BASE_API: string): import("axios").AxiosPromise<any>;
7
- export declare function getPubApps(BASE_API: string, params: Params): import("axios").AxiosPromise<any>;
8
- export declare function getResentApp(BASE_API: string, params: Params): import("axios").AxiosPromise<any>;
9
- export declare function setResentApp(BASE_API: string, params: Params): import("axios").AxiosPromise<any>;
10
- export {};
@@ -1,14 +0,0 @@
1
- declare const _default: {
2
- alias: string;
3
- actions: {
4
- id: number;
5
- key: string;
6
- alias: string;
7
- brief: string;
8
- real: string;
9
- type: number;
10
- icon: string;
11
- target_url: string;
12
- }[];
13
- }[];
14
- export default _default;
@@ -1,6 +0,0 @@
1
- declare type PermissionItem = {
2
- key: string;
3
- real: string | string[];
4
- };
5
- export default function permissionMap(permissions: string[], item: PermissionItem, hideList?: string[]): boolean;
6
- export {};
@@ -1,4 +0,0 @@
1
- export default function routeMap(BASE_API: string, rid: string | null | undefined, listType: string, app?: {
2
- type: number;
3
- setting?: any;
4
- } | null): Promise<void>;
@@ -1 +0,0 @@
1
- import './index.less';
File without changes
File without changes
File without changes
@@ -1,2 +0,0 @@
1
- declare const baseFilter: any;
2
- export default baseFilter;
@@ -1 +0,0 @@
1
- import './index.less';
@@ -1,16 +0,0 @@
1
- import { Ref } from 'vue';
2
- /**
3
- * @deprecated 改为其他方式实现
4
- * @param filterItemsRef
5
- * @param dpPannelRef
6
- * @param moreBtnRef
7
- * @returns
8
- */
9
- export default function useCalcWidth(filterItemsRef: Ref<HTMLElement | undefined>, dpPannelRef: Ref<HTMLElement | undefined>, moreBtnRef: Ref<HTMLElement | undefined>): {
10
- pannelArray: Ref<string>;
11
- popperShowFlag: Ref<boolean>;
12
- showPopper: () => void;
13
- initDocWidthListener: () => void;
14
- initPopper: () => void;
15
- checkOverflow: () => void;
16
- };
File without changes
File without changes
@@ -1,2 +0,0 @@
1
- declare const colorPalette: any;
2
- export default colorPalette;
@@ -1 +0,0 @@
1
- import './index.less';
@@ -1,5 +0,0 @@
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 DELETED
@@ -1,4 +0,0 @@
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;
@@ -1,36 +0,0 @@
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
@@ -1,2 +0,0 @@
1
- declare const contentDetailList: any;
2
- export default contentDetailList;
@@ -1,6 +0,0 @@
1
- interface Params {
2
- [key: string]: any;
3
- }
4
- export declare function generateDocPreviewLink(BASE_API: string, query?: Params): import("axios").AxiosPromise<any>;
5
- export declare function getDocDetailsNew(BASE_API: string, query?: Params): import("axios").AxiosPromise<any>;
6
- export {};
@@ -1 +0,0 @@
1
- import './index.less';
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -1,2 +0,0 @@
1
- declare const contentModal: any;
2
- export default contentModal;
@@ -1,14 +0,0 @@
1
- interface Params {
2
- [key: string]: any;
3
- }
4
- export declare function getCategoryCategoriesTree(BASE_API: string, params?: Params): import("axios").AxiosPromise<any>;
5
- export declare function getCategoryPath(BASE_API: string, params?: Params): import("axios").AxiosPromise<any>;
6
- export declare function getCategoryMediaNew(BASE_API: string, params?: Params): import("axios").AxiosPromise<any>;
7
- export declare function checkCommitFulfillment(BASE_API: string, params?: Params): Promise<boolean>;
8
- export declare function searchMlists(BASE_API: string, params?: Params): import("axios").AxiosPromise<any>;
9
- export declare function getCategorylistsGroups(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any>>;
10
- export declare function searchMpaccount(BASE_API: string, params?: Params): import("axios").AxiosPromise<any>;
11
- export declare function getBroadcastList(BASE_API: string, params?: Params): import("axios").AxiosPromise<any>;
12
- export declare function getEqxiuList(BASE_API: string, params?: Params): import("axios").AxiosPromise<any>;
13
- export declare function getMpContentList(BASE_API: string, params?: Params): import("axios").AxiosPromise<any>;
14
- export {};
@@ -1 +0,0 @@
1
- import './index.less';
File without changes
@@ -1,2 +0,0 @@
1
- declare const dataTags: any;
2
- export default dataTags;
@@ -1 +0,0 @@
1
- import './index.less';
File without changes
File without changes
@@ -1,2 +0,0 @@
1
- declare const docHistory: any;
2
- export default docHistory;
@@ -1 +0,0 @@
1
- export declare function CompareById2(leftNode: HTMLElement, rightNode: HTMLElement): string;
@@ -1,10 +0,0 @@
1
- export declare function getDocHistory(BASE_API: string, id: number, pub: boolean): import("axios").AxiosPromise<any>;
2
- export declare function useDocHistory(BASE_API: string): {
3
- diffContent: import("vue").Ref<any>;
4
- current: import("vue").Ref<number>;
5
- loading: import("vue").Ref<boolean>;
6
- list: import("vue").Ref<any[]>;
7
- loadData: () => Promise<void>;
8
- initParams: (mediaId: number, docPub: boolean) => void;
9
- handleSelect: (idx: number) => Promise<void>;
10
- };
@@ -1 +0,0 @@
1
- import './index.less';
File without changes
File without changes
@@ -1,2 +0,0 @@
1
- declare const docPreview: any;
2
- export default docPreview;
@@ -1 +0,0 @@
1
- export declare function generateDocPreviewLink(BASE_API: string, params: any): import("axios").AxiosPromise<any>;
@@ -1,20 +0,0 @@
1
- import { Ref } from 'vue';
2
- export declare function generateDocPreviewLink(BASE_API: string, params: any): import("axios").AxiosPromise<any>;
3
- export declare const EXPIRE_TIME_OPTIONS: {
4
- label: string;
5
- value: number;
6
- }[];
7
- export declare function useDocPreview(BASE_API: string, hashid: Ref<string>): {
8
- generate: (cancel?: boolean | undefined) => Promise<boolean>;
9
- cancel: (update?: boolean | undefined) => Promise<void>;
10
- copy: () => Promise<void>;
11
- loading: Ref<boolean>;
12
- expireTime: Ref<number>;
13
- innerUrl: Ref<string>;
14
- shareData: Ref<{
15
- qrCode: string;
16
- shareUrl: string;
17
- expiredAt: number;
18
- } | null>;
19
- intervalTime: Ref<string>;
20
- };
@@ -1 +0,0 @@
1
- import './index.less';
File without changes
File without changes
@@ -1,2 +0,0 @@
1
- declare const editMetaInfo: any;
2
- export default editMetaInfo;
@@ -1,6 +0,0 @@
1
- interface Params {
2
- [key: string]: any;
3
- }
4
- export declare function getDocDetailsNew(BASE_API: string, query: Params): import("axios").AxiosPromise<any>;
5
- export declare function getAllDutyEditor(BASE_API: string, params: Params): import("axios").AxiosPromise<any>;
6
- export {};
@@ -1,4 +0,0 @@
1
- declare const _default: {
2
- value: string;
3
- }[];
4
- export default _default;
@@ -1 +0,0 @@
1
- import './index.less';
File without changes
@@ -1,2 +0,0 @@
1
- declare const emptyData: any;
2
- export default emptyData;
@@ -1 +0,0 @@
1
- import './index.less';
File without changes
@@ -1 +0,0 @@
1
- export declare function useGenerateAssets(BASE_API: string, params: any): import("axios").AxiosPromise<any>;
@@ -1,8 +0,0 @@
1
- declare const useTableBatch: () => {
2
- hoverTarget: import("vue").Ref<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;
@@ -1,8 +0,0 @@
1
- declare type ComponentProps = {
2
- visible: boolean;
3
- };
4
- export default function useDialogVisible(props: ComponentProps, emit: any): {
5
- visible: import("vue").WritableComputedRef<unknown>;
6
- setVisible: (bool: boolean) => void;
7
- };
8
- export {};
@@ -1,9 +0,0 @@
1
- interface Params {
2
- [key: string]: any;
3
- }
4
- export declare function getConfiguration(BASE_API: string, params: Params): import("axios").AxiosPromise<any>;
5
- declare const useLoadSourceInfo: (BASE_API: string) => {
6
- SourceInfo: import("vue").Ref<any>;
7
- getSourceInfoHandle: () => Promise<void>;
8
- };
9
- export default useLoadSourceInfo;
@@ -1,6 +0,0 @@
1
- export declare function useToggle(initData?: boolean): {
2
- state: import("vue").Ref<boolean>;
3
- toggle: () => boolean;
4
- open: () => boolean;
5
- close: () => boolean;
6
- };
@@ -1,25 +0,0 @@
1
- export declare function getAttachmentsAll(BASE_API: string, query?: any): import("axios").AxiosPromise<any>;
2
- export declare function getAttachmentsMy(BASE_API: string, query?: any): import("axios").AxiosPromise<any>;
3
- export declare function getAttachmentsMyMessage(BASE_API: string, query: any): import("axios").AxiosPromise<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[]>;
10
- total: import("vue").Ref<number>;
11
- limit: import("vue").Ref<number>;
12
- offset: import("vue").Ref<number>;
13
- loading: import("vue").Ref<boolean>;
14
- changeFilter: (f: any) => void;
15
- changeKey: (k: string) => void;
16
- changePage: (o: number) => void;
17
- changeSize: (s: number) => void;
18
- loadData: () => Promise<void>;
19
- };
20
- export declare function useLocalRecource(): {
21
- localList: import("vue").Ref<any[]>;
22
- initLocalList: () => void;
23
- setLocalList: (list: any[]) => void;
24
- };
25
- export {};
@@ -1,8 +0,0 @@
1
- export declare const LOCALSTORAGE_KEYS: {
2
- LOCAL_RESOURCES: string;
3
- };
4
- export default function useLocalstorage(key: keyof typeof LOCALSTORAGE_KEYS): {
5
- get: () => any;
6
- set: (value: any) => void;
7
- remove: () => void;
8
- };
@@ -1,12 +0,0 @@
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
- };
@@ -1,8 +0,0 @@
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
- };
@@ -1,23 +0,0 @@
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 {};
@@ -1,16 +0,0 @@
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
- };