@cmstops/pro-compo 3.9.2-alpha.15 → 3.9.2-alpha.16

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 (295) hide show
  1. package/dist/index.css +4 -0
  2. package/dist/index.min.css +1 -1
  3. package/dist/index.min.js.map +1 -1
  4. package/es/appCenter/component.d.ts +0 -0
  5. package/es/appCenter/index.d.ts +2 -0
  6. package/es/appCenter/script/api.d.ts +11 -0
  7. package/es/appCenter/script/apps.d.ts +14 -0
  8. package/es/appCenter/script/permissionMap.d.ts +6 -0
  9. package/es/appCenter/script/routeMap.d.ts +4 -0
  10. package/es/appCenter/style/index.d.ts +1 -0
  11. package/es/baseFilter/component.d.ts +0 -0
  12. package/es/baseFilter/components/FilterGroup.d.ts +0 -0
  13. package/es/baseFilter/components/filterItem.d.ts +0 -0
  14. package/es/baseFilter/index.d.ts +2 -0
  15. package/es/baseFilter/style/index.d.ts +1 -0
  16. package/es/baseFilter/useCalcWidth.d.ts +16 -0
  17. package/es/colorPalette/component.d.ts +0 -0
  18. package/es/colorPalette/components/colorPicker.d.ts +0 -0
  19. package/es/colorPalette/index.d.ts +2 -0
  20. package/es/colorPalette/style/index.d.ts +1 -0
  21. package/es/components.d.ts +5 -0
  22. package/es/config.d.ts +4 -0
  23. package/es/contentDetailList/__demo__/matrix/platform.d.ts +36 -0
  24. package/es/contentDetailList/component.d.ts +0 -0
  25. package/es/contentDetailList/components/Content/CompoItem/index.d.ts +0 -0
  26. package/es/contentDetailList/components/Content/ContentListItem/index.d.ts +0 -0
  27. package/es/contentDetailList/components/Content/DocItem/ApprovalStateMap/index.d.ts +0 -0
  28. package/es/contentDetailList/components/Content/DocItem/index.d.ts +0 -0
  29. package/es/contentDetailList/components/Content/DocMpItem/index.d.ts +0 -0
  30. package/es/contentDetailList/components/Content/GroupPieceItem/index.d.ts +0 -0
  31. package/es/contentDetailList/components/Content/KongoNavItem/index.d.ts +0 -0
  32. package/es/contentDetailList/components/Content/LiveItem/index.d.ts +0 -0
  33. package/es/contentDetailList/components/Content/MaccountItem/index.d.ts +0 -0
  34. package/es/contentDetailList/components/Content/courseItem/index.d.ts +0 -0
  35. package/es/contentDetailList/components/Content/funhdItem/index.d.ts +0 -0
  36. package/es/contentDetailList/components/Content/index.d.ts +0 -0
  37. package/es/contentDetailList/components/CustomWrp/CustomItem.d.ts +0 -0
  38. package/es/contentDetailList/components/CustomWrp/index.d.ts +0 -0
  39. package/es/contentDetailList/components/Doc/index.d.ts +0 -0
  40. package/es/contentDetailList/components/Records/MatrixItem/index.d.ts +0 -0
  41. package/es/contentDetailList/components/Records/index.d.ts +0 -0
  42. package/es/contentDetailList/components/ShowQRCode/QrcodeView/index.d.ts +0 -0
  43. package/es/contentDetailList/components/ShowQRCode/QrcodeView/index.js +2 -4
  44. package/es/contentDetailList/components/ShowQRCode/index.d.ts +0 -0
  45. package/es/contentDetailList/index.d.ts +2 -0
  46. package/es/contentDetailList/script/api.d.ts +6 -0
  47. package/es/contentDetailList/style/index.d.ts +1 -0
  48. package/es/contentModal/component.d.ts +0 -0
  49. package/es/contentModal/component.js +8 -16
  50. package/es/contentModal/components/CompoList/CompoFilter/index.d.ts +0 -0
  51. package/es/contentModal/components/CompoList/index.d.ts +0 -0
  52. package/es/contentModal/components/ContentList/MediaFilter/index.d.ts +0 -0
  53. package/es/contentModal/components/ContentList/index.d.ts +0 -0
  54. package/es/contentModal/components/Dejin/MediaFilter/index.d.ts +0 -0
  55. package/es/contentModal/components/Dejin/index.d.ts +0 -0
  56. package/es/contentModal/components/EqxiuList/MediaFilter/index.d.ts +0 -0
  57. package/es/contentModal/components/EqxiuList/index.d.ts +0 -0
  58. package/es/contentModal/components/LiveList/MediaFilter/index.d.ts +0 -0
  59. package/es/contentModal/components/LiveList/index.d.ts +0 -0
  60. package/es/contentModal/components/MpAccountList/MpAccountFilter/index.d.ts +0 -0
  61. package/es/contentModal/components/MpAccountList/index.d.ts +0 -0
  62. package/es/contentModal/components/MpContentList/MediaFilter/index.d.ts +0 -0
  63. package/es/contentModal/components/MpContentList/index.d.ts +0 -0
  64. package/es/contentModal/components/ViewAllColumn/MediaFilter/index.d.ts +0 -0
  65. package/es/contentModal/components/ViewAllColumn/MediaFilter/index.js +1 -2
  66. package/es/contentModal/components/ViewAllColumn/columnTree/index.d.ts +0 -0
  67. package/es/contentModal/components/ViewAllColumn/index.d.ts +0 -0
  68. package/es/contentModal/components/storeBox/index.d.ts +0 -0
  69. package/es/contentModal/components/storeBox/index.js +2 -4
  70. package/es/contentModal/index.d.ts +2 -0
  71. package/es/contentModal/script/api.d.ts +18 -0
  72. package/es/contentModal/style/index.d.ts +1 -0
  73. package/es/dataTags/component.d.ts +0 -0
  74. package/es/dataTags/component.js +5 -10
  75. package/es/dataTags/index.d.ts +2 -0
  76. package/es/dataTags/style/index.d.ts +1 -0
  77. package/es/docHistory/component.d.ts +0 -0
  78. package/es/docHistory/component.js +26 -11
  79. package/es/docHistory/components/DocDiffPanel/index.d.ts +0 -0
  80. package/es/docHistory/components/DocHistoryList/index.d.ts +0 -0
  81. package/es/docHistory/index.d.ts +2 -0
  82. package/es/docHistory/scripts/diff.d.ts +1 -0
  83. package/es/docHistory/scripts/useDocHistory.d.ts +10 -0
  84. package/es/docHistory/style/index.css +4 -0
  85. package/es/docHistory/style/index.d.ts +1 -0
  86. package/es/docHistory/style/index.less +5 -0
  87. package/es/docPreview/component.d.ts +0 -0
  88. package/es/docPreview/component.js +5 -10
  89. package/es/docPreview/components/PreviewIframe.d.ts +0 -0
  90. package/es/docPreview/index.d.ts +2 -0
  91. package/es/docPreview/scripts/api.d.ts +1 -0
  92. package/es/docPreview/scripts/hook.d.ts +33 -0
  93. package/es/docPreview/style/index.d.ts +1 -0
  94. package/es/editMetaInfo/component.d.ts +0 -0
  95. package/es/editMetaInfo/components/metaInfoForm.d.ts +0 -0
  96. package/es/editMetaInfo/components/metaInfoForm.js +2 -4
  97. package/es/editMetaInfo/index.d.ts +2 -0
  98. package/es/editMetaInfo/script/api.d.ts +6 -0
  99. package/es/editMetaInfo/script/restaurants.d.ts +4 -0
  100. package/es/editMetaInfo/style/index.d.ts +1 -0
  101. package/es/emptyData/component.d.ts +0 -0
  102. package/es/emptyData/index.d.ts +2 -0
  103. package/es/emptyData/style/index.d.ts +1 -0
  104. package/es/emptyData/svg/add.d.ts +0 -0
  105. package/es/hooks/assets.d.ts +1 -0
  106. package/es/hooks/batch.d.ts +8 -0
  107. package/es/hooks/dialogVisible.d.ts +8 -0
  108. package/es/hooks/source.d.ts +9 -0
  109. package/es/hooks/toggle.d.ts +6 -0
  110. package/es/hooks/useAttachement.d.ts +53 -0
  111. package/es/hooks/useLocalStorage.d.ts +10 -0
  112. package/es/hooks/useMediaContext.d.ts +12 -0
  113. package/es/hooks/usePopper.d.ts +8 -0
  114. package/es/hooks/useSelection.d.ts +30 -0
  115. package/es/hooks/useUpload.d.ts +78 -0
  116. package/es/hooks/user.d.ts +9 -0
  117. package/es/imageCrop/component.d.ts +0 -0
  118. package/es/imageCrop/component.js +2 -4
  119. package/es/imageCrop/index.d.ts +2 -0
  120. package/es/imageCrop/script/api.d.ts +1 -0
  121. package/es/imageCrop/style/index.d.ts +1 -0
  122. package/es/importData/component.d.ts +0 -0
  123. package/es/importData/component.js +3 -6
  124. package/es/importData/index.d.ts +2 -0
  125. package/es/importData/style/index.d.ts +1 -0
  126. package/es/index.css +4 -0
  127. package/es/index.d.ts +31 -0
  128. package/es/mediaFilter/component.d.ts +0 -0
  129. package/es/mediaFilter/components/DocFilter.d.ts +0 -0
  130. package/es/mediaFilter/components/DocFilter.js +1 -2
  131. package/es/mediaFilter/components/FilterGroup.d.ts +0 -0
  132. package/es/mediaFilter/components/FilterItem.d.ts +0 -0
  133. package/es/mediaFilter/components/MpAccountFilter.d.ts +0 -0
  134. package/es/mediaFilter/components/MpContentFilter.d.ts +0 -0
  135. package/es/mediaFilter/index.d.ts +3 -0
  136. package/es/mediaFilter/script/optionsGetter.d.ts +26 -0
  137. package/es/mediaFilter/script/types.d.ts +16 -0
  138. package/es/mediaFilter/style/index.d.ts +1 -0
  139. package/es/mediaView/component.d.ts +0 -0
  140. package/es/mediaView/index.d.ts +2 -0
  141. package/es/mediaView/style/index.d.ts +1 -0
  142. package/es/messageBox/component.d.ts +0 -0
  143. package/es/messageBox/index.d.ts +2 -0
  144. package/es/messageBox/list.d.ts +0 -0
  145. package/es/messageBox/script/api.d.ts +6 -0
  146. package/es/messageBox/style/index.d.ts +1 -0
  147. package/es/previousVersion/component.d.ts +0 -0
  148. package/es/previousVersion/index.d.ts +2 -0
  149. package/es/previousVersion/script/api.d.ts +15 -0
  150. package/es/previousVersion/script/tool.d.ts +6 -0
  151. package/es/previousVersion/style/index.d.ts +1 -0
  152. package/es/resourceGridList/component.d.ts +0 -0
  153. package/es/resourceGridList/component.js +2 -4
  154. package/es/resourceGridList/components/FileTypeThumb/index.d.ts +0 -0
  155. package/es/resourceGridList/index.d.ts +2 -0
  156. package/es/resourceGridList/style/index.d.ts +1 -0
  157. package/es/resourceModal/component.d.ts +0 -0
  158. package/es/resourceModal/components/MediaPreviewer/index.d.ts +0 -0
  159. package/es/resourceModal/components/MediaSelection/DocAiMediaSelected/index.d.ts +0 -0
  160. package/es/resourceModal/components/MediaSelection/DocAiMediaSelected/index.js +1 -2
  161. package/es/resourceModal/components/MediaSelection/MainContent/FileTypeThumb/index.d.ts +0 -0
  162. package/es/resourceModal/components/MediaSelection/MainContent/index.d.ts +0 -0
  163. package/es/resourceModal/components/MediaSelection/MainContent/index.js +2 -4
  164. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.d.ts +0 -0
  165. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.d.ts +0 -0
  166. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/index.d.ts +0 -0
  167. package/es/resourceModal/components/MediaSelection/ToolbarSearch/index.d.ts +0 -0
  168. package/es/resourceModal/components/MediaSelection/index.d.ts +0 -0
  169. package/es/resourceModal/index.d.ts +2 -0
  170. package/es/resourceModal/script/api.d.ts +25 -0
  171. package/es/resourceModal/script/mediaSelection.d.ts +14 -0
  172. package/es/resourceModal/style/index.d.ts +1 -0
  173. package/es/selectAddTo/component.d.ts +0 -0
  174. package/es/selectAddTo/component.js +1 -2
  175. package/es/selectAddTo/components/ViewAllColumn/MediaFilter/index.d.ts +0 -0
  176. package/es/selectAddTo/components/ViewAllColumn/columnTree/index.d.ts +0 -0
  177. package/es/selectAddTo/components/ViewAllColumn/index.d.ts +0 -0
  178. package/es/selectAddTo/index.d.ts +6 -0
  179. package/es/selectAddTo/script/api.d.ts +18 -0
  180. package/es/selectAddTo/style/index.d.ts +1 -0
  181. package/es/selectAvatarList/component.d.ts +0 -0
  182. package/es/selectAvatarList/index.d.ts +2 -0
  183. package/es/selectAvatarList/style/index.d.ts +1 -0
  184. package/es/selectGategory/component.d.ts +0 -0
  185. package/es/selectGategory/components/ColumnSelection/index.d.ts +0 -0
  186. package/es/selectGategory/index.d.ts +2 -0
  187. package/es/selectGategory/script/api.d.ts +6 -0
  188. package/es/selectGategory/style/index.d.ts +1 -0
  189. package/es/selectResourceModal/__demo__/module/DivWrapper.d.ts +268 -0
  190. package/es/selectResourceModal/__demo__/module/basic.d.ts +299 -0
  191. package/es/selectResourceModal/component.d.ts +0 -0
  192. package/es/selectResourceModal/component.js +5 -10
  193. package/es/selectResourceModal/components/List/ListAi/index.d.ts +0 -0
  194. package/es/selectResourceModal/components/List/ListCardWrapper.d.ts +0 -0
  195. package/es/selectResourceModal/components/List/ListLocal/Upload.d.ts +0 -0
  196. package/es/selectResourceModal/components/List/ListLocal/Upload.js +1 -2
  197. package/es/selectResourceModal/components/List/ListLocal/index.d.ts +0 -0
  198. package/es/selectResourceModal/components/List/ListNormal/Filter.d.ts +0 -0
  199. package/es/selectResourceModal/components/List/ListNormal/Filter.js +4 -8
  200. package/es/selectResourceModal/components/List/ListNormal/index.d.ts +0 -0
  201. package/es/selectResourceModal/components/List/ListSystem/Filter.d.ts +0 -0
  202. package/es/selectResourceModal/components/List/ListSystem/Filter.js +1 -2
  203. package/es/selectResourceModal/components/List/ListSystem/SubList.d.ts +0 -0
  204. package/es/selectResourceModal/components/List/ListSystem/index.d.ts +0 -0
  205. package/es/selectResourceModal/components/List/ListVideo/index.d.ts +0 -0
  206. package/es/selectResourceModal/components/List/ListWraper.d.ts +0 -0
  207. package/es/selectResourceModal/components/ListSelected/index.d.ts +0 -0
  208. package/es/selectResourceModal/components/ListTabs/index.d.ts +0 -0
  209. package/es/selectResourceModal/hooks/useResponsiveFilter.d.ts +21 -0
  210. package/es/selectResourceModal/index.d.ts +2 -0
  211. package/es/selectResourceModal/scripts/selectionApis.d.ts +2 -0
  212. package/es/selectResourceModal/scripts/useCompoLf.d.ts +27 -0
  213. package/es/selectResourceModal/scripts/useResourceSelect.d.ts +7 -0
  214. package/es/selectResourceModal/scripts/useTabFilter.d.ts +22 -0
  215. package/es/selectResourceModal/style/index.d.ts +1 -0
  216. package/es/selectThumb/component.d.ts +0 -0
  217. package/es/selectThumb/components/card.d.ts +0 -0
  218. package/es/selectThumb/components/colorPalette.d.ts +0 -0
  219. package/es/selectThumb/components/colorPicker.d.ts +0 -0
  220. package/es/selectThumb/index.d.ts +2 -0
  221. package/es/selectThumb/style/index.d.ts +1 -0
  222. package/es/style.css +6 -6
  223. package/es/thumbCard/component.d.ts +0 -0
  224. package/es/thumbCard/components/ThumbUploading/index.d.ts +0 -0
  225. package/es/thumbCard/index.d.ts +2 -0
  226. package/es/thumbCard/style/index.d.ts +1 -0
  227. package/es/typeIcons/component.d.ts +0 -0
  228. package/es/typeIcons/index.d.ts +2 -0
  229. package/es/typeIcons/style/index.d.ts +1 -0
  230. package/es/uploadBefore/component.d.ts +0 -0
  231. package/es/uploadBefore/components/UploadBefore.d.ts +0 -0
  232. package/es/uploadBefore/components/UploadForClick.d.ts +0 -0
  233. package/es/uploadBefore/index.d.ts +2 -0
  234. package/es/uploadBefore/script/api.d.ts +16 -0
  235. package/es/uploadBefore/script/fileTypeAdapter.d.ts +39 -0
  236. package/es/uploadBefore/script/fileUpload.d.ts +7 -0
  237. package/es/uploadBefore/script/uploadHooks.d.ts +96 -0
  238. package/es/uploadBefore/style/index.d.ts +1 -0
  239. package/es/uploadBefore/utils/dragUploadEvent.d.ts +0 -0
  240. package/es/uploadStep/component.d.ts +0 -0
  241. package/es/uploadStep/index.d.ts +2 -0
  242. package/es/uploadStep/script/fileTypeAdapter.d.ts +20 -0
  243. package/es/uploadStep/style/index.d.ts +1 -0
  244. package/es/userAvater/component.d.ts +0 -0
  245. package/es/userAvater/component.js +1 -2
  246. package/es/userAvater/index.d.ts +2 -0
  247. package/es/userAvater/script/api.d.ts +8 -0
  248. package/es/userAvater/style/index.d.ts +1 -0
  249. package/es/userDirector/component.d.ts +0 -0
  250. package/es/userDirector/component.js +1 -2
  251. package/es/userDirector/components/userTree.d.ts +0 -0
  252. package/es/userDirector/index.d.ts +2 -0
  253. package/es/userDirector/script/api.d.ts +10 -0
  254. package/es/userDirector/style/index.d.ts +1 -0
  255. package/es/utils/auth.d.ts +5 -0
  256. package/es/utils/date.d.ts +3 -0
  257. package/es/utils/doc.d.ts +76 -0
  258. package/es/utils/filter.d.ts +21 -0
  259. package/es/utils/index.d.ts +17 -0
  260. package/es/utils/request.d.ts +9 -0
  261. package/es/utils/resource.d.ts +4 -0
  262. package/es/utils/transcodeMedia.d.ts +13 -0
  263. package/es/utils/tusUpload.d.ts +16 -0
  264. package/es/utils/typeMap.d.ts +185 -0
  265. package/es/utils/uploadCatalog.d.ts +1 -0
  266. package/es/videoThumb/component.d.ts +0 -0
  267. package/es/videoThumb/index.d.ts +2 -0
  268. package/es/videoThumb/scripts/api.d.ts +9 -0
  269. package/es/videoThumb/scripts/useVideoThumbs.d.ts +12 -0
  270. package/es/videoThumb/style/index.d.ts +1 -0
  271. package/lib/contentDetailList/components/ShowQRCode/QrcodeView/index.js +2 -4
  272. package/lib/contentModal/component.js +8 -16
  273. package/lib/contentModal/components/ViewAllColumn/MediaFilter/index.js +1 -2
  274. package/lib/contentModal/components/storeBox/index.js +2 -4
  275. package/lib/dataTags/component.js +5 -10
  276. package/lib/docHistory/component.js +24 -9
  277. package/lib/docHistory/style/index.css +4 -0
  278. package/lib/docHistory/style/index.less +5 -0
  279. package/lib/docPreview/component.js +5 -10
  280. package/lib/editMetaInfo/components/metaInfoForm.js +2 -4
  281. package/lib/imageCrop/component.js +2 -4
  282. package/lib/importData/component.js +3 -6
  283. package/lib/index.css +4 -0
  284. package/lib/mediaFilter/components/DocFilter.js +1 -2
  285. package/lib/resourceGridList/component.js +2 -4
  286. package/lib/resourceModal/components/MediaSelection/DocAiMediaSelected/index.js +1 -2
  287. package/lib/resourceModal/components/MediaSelection/MainContent/index.js +2 -4
  288. package/lib/selectAddTo/component.js +1 -2
  289. package/lib/selectResourceModal/component.js +5 -10
  290. package/lib/selectResourceModal/components/List/ListLocal/Upload.js +1 -2
  291. package/lib/selectResourceModal/components/List/ListNormal/Filter.js +4 -8
  292. package/lib/selectResourceModal/components/List/ListSystem/Filter.js +1 -2
  293. package/lib/userAvater/component.js +1 -2
  294. package/lib/userDirector/component.js +1 -2
  295. 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
@@ -248,8 +248,7 @@ const _sfc_main = defineComponent({
248
248
  default: withCtx(() => _cache[5] || (_cache[5] = [
249
249
  createTextVNode(" \u751F\u6210\u9884\u89C8\u94FE\u63A5 ")
250
250
  ])),
251
- _: 1,
252
- __: [5]
251
+ _: 1
253
252
  })) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
254
253
  createVNode(unref(Button), {
255
254
  class: "auto",
@@ -259,8 +258,7 @@ const _sfc_main = defineComponent({
259
258
  default: withCtx(() => _cache[6] || (_cache[6] = [
260
259
  createTextVNode(" \u590D\u5236\u4E8C\u7EF4\u7801 ")
261
260
  ])),
262
- _: 1,
263
- __: [6]
261
+ _: 1
264
262
  }),
265
263
  createVNode(unref(Button), {
266
264
  class: "auto",
@@ -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
@@ -160,8 +160,7 @@ const _sfc_main = defineComponent({
160
160
  default: withCtx(() => _cache[8] || (_cache[8] = [
161
161
  createTextVNode("\u6DFB\u52A0 ")
162
162
  ])),
163
- _: 1,
164
- __: [8]
163
+ _: 1
165
164
  }, 8, ["disabled"])
166
165
  ]),
167
166
  _: 1
@@ -200,8 +199,7 @@ const _sfc_main = defineComponent({
200
199
  default: withCtx(() => _cache[9] || (_cache[9] = [
201
200
  createTextVNode(" \u6DFB\u52A0 ")
202
201
  ])),
203
- _: 1,
204
- __: [9]
202
+ _: 1
205
203
  }, 8, ["disabled"])
206
204
  ]),
207
205
  _: 1
@@ -241,8 +239,7 @@ const _sfc_main = defineComponent({
241
239
  default: withCtx(() => _cache[10] || (_cache[10] = [
242
240
  createTextVNode(" \u6DFB\u52A0 ")
243
241
  ])),
244
- _: 1,
245
- __: [10]
242
+ _: 1
246
243
  }, 8, ["disabled"])
247
244
  ]),
248
245
  _: 1
@@ -281,8 +278,7 @@ const _sfc_main = defineComponent({
281
278
  default: withCtx(() => _cache[11] || (_cache[11] = [
282
279
  createTextVNode(" \u6DFB\u52A0 ")
283
280
  ])),
284
- _: 1,
285
- __: [11]
281
+ _: 1
286
282
  }, 8, ["disabled"])
287
283
  ]),
288
284
  _: 1
@@ -321,8 +317,7 @@ const _sfc_main = defineComponent({
321
317
  default: withCtx(() => _cache[12] || (_cache[12] = [
322
318
  createTextVNode(" \u6DFB\u52A0 ")
323
319
  ])),
324
- _: 1,
325
- __: [12]
320
+ _: 1
326
321
  }, 8, ["disabled"])
327
322
  ]),
328
323
  _: 1
@@ -361,8 +356,7 @@ const _sfc_main = defineComponent({
361
356
  default: withCtx(() => _cache[13] || (_cache[13] = [
362
357
  createTextVNode(" \u6DFB\u52A0 ")
363
358
  ])),
364
- _: 1,
365
- __: [13]
359
+ _: 1
366
360
  }, 8, ["disabled"])
367
361
  ]),
368
362
  _: 1
@@ -401,8 +395,7 @@ const _sfc_main = defineComponent({
401
395
  default: withCtx(() => _cache[14] || (_cache[14] = [
402
396
  createTextVNode(" \u6DFB\u52A0 ")
403
397
  ])),
404
- _: 1,
405
- __: [14]
398
+ _: 1
406
399
  }, 8, ["disabled"])
407
400
  ]),
408
401
  _: 1
@@ -440,8 +433,7 @@ const _sfc_main = defineComponent({
440
433
  default: withCtx(() => _cache[15] || (_cache[15] = [
441
434
  createTextVNode(" \u6DFB\u52A0 ")
442
435
  ])),
443
- _: 1,
444
- __: [15]
436
+ _: 1
445
437
  }, 8, ["disabled"])
446
438
  ]),
447
439
  _: 1
File without changes
File without changes
@@ -286,8 +286,7 @@ const _sfc_main = defineComponent({
286
286
  createVNode(unref(IconRefresh), { class: "reset-icon" }),
287
287
  _cache[7] || (_cache[7] = createTextVNode(" \u91CD\u7F6E "))
288
288
  ]),
289
- _: 1,
290
- __: [7]
289
+ _: 1
291
290
  }, 512), [
292
291
  [vShow, showReset.value]
293
292
  ])
File without changes
@@ -83,8 +83,7 @@ const _sfc_main = defineComponent({
83
83
  default: withCtx(() => _cache[1] || (_cache[1] = [
84
84
  createTextVNode("\u6E05\u7A7A")
85
85
  ])),
86
- _: 1,
87
- __: [1]
86
+ _: 1
88
87
  })
89
88
  ])
90
89
  ]),
@@ -100,8 +99,7 @@ const _sfc_main = defineComponent({
100
99
  default: withCtx(() => _cache[0] || (_cache[0] = [
101
100
  createTextVNode("\u5DF2\u9009\u6570\u636E")
102
101
  ])),
103
- _: 1,
104
- __: [0]
102
+ _: 1
105
103
  })) : createCommentVNode("v-if", true)
106
104
  ]),
107
105
  _: 1
@@ -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
@@ -133,8 +133,7 @@ const _sfc_main = defineComponent({
133
133
  default: withCtx(() => _cache[1] || (_cache[1] = [
134
134
  createTextVNode("\u539F\u521B")
135
135
  ])),
136
- _: 1,
137
- __: [1]
136
+ _: 1
138
137
  }, 8, ["class"])
139
138
  ]),
140
139
  _: 1
@@ -152,8 +151,7 @@ const _sfc_main = defineComponent({
152
151
  default: withCtx(() => _cache[2] || (_cache[2] = [
153
152
  createTextVNode("\u63A8\u8350")
154
153
  ])),
155
- _: 1,
156
- __: [2]
154
+ _: 1
157
155
  }, 8, ["class"])
158
156
  ]),
159
157
  _: 1
@@ -171,8 +169,7 @@ const _sfc_main = defineComponent({
171
169
  default: withCtx(() => _cache[3] || (_cache[3] = [
172
170
  createTextVNode("\u654F\u611F")
173
171
  ])),
174
- _: 1,
175
- __: [3]
172
+ _: 1
176
173
  }, 8, ["class"])
177
174
  ]),
178
175
  _: 1
@@ -190,8 +187,7 @@ const _sfc_main = defineComponent({
190
187
  default: withCtx(() => _cache[4] || (_cache[4] = [
191
188
  createTextVNode("\u5DF2\u63A8\u9001")
192
189
  ])),
193
- _: 1,
194
- __: [4]
190
+ _: 1
195
191
  }, 8, ["class"])
196
192
  ]),
197
193
  _: 1
@@ -227,8 +223,7 @@ const _sfc_main = defineComponent({
227
223
  default: withCtx(() => _cache[5] || (_cache[5] = [
228
224
  createTextVNode(" \u77E9\u9635\u5206\u53D1 ")
229
225
  ])),
230
- _: 1,
231
- __: [5]
226
+ _: 1
232
227
  }, 8, ["class"])
233
228
  ]),
234
229
  _: 1
@@ -0,0 +1,2 @@
1
+ declare const dataTags: any;
2
+ export default dataTags;
@@ -0,0 +1 @@
1
+ import './index.less';
File without changes
@@ -1,5 +1,5 @@
1
- import { defineComponent, computed, watch, onMounted, openBlock, createBlock, unref, withCtx, createVNode, createTextVNode, createElementVNode, createElementBlock, Fragment, createCommentVNode } from "vue";
2
- import { Drawer, Button, Spin, Scrollbar } from "@arco-design/web-vue";
1
+ import { defineComponent, computed, watch, onMounted, openBlock, createBlock, resolveDynamicComponent, mergeProps, withCtx, createVNode, unref, createTextVNode, createElementVNode, createElementBlock, Fragment, createCommentVNode } from "vue";
2
+ import { Button, Spin, Scrollbar, Drawer, Modal } from "@arco-design/web-vue";
3
3
  import { DEFAULT_BASE_API } from "../config.js";
4
4
  import { useDocHistory } from "./scripts/useDocHistory.js";
5
5
  import _sfc_main$2 from "./components/DocHistoryList/index.js";
@@ -13,6 +13,7 @@ const _sfc_main = defineComponent({
13
13
  __name: "component",
14
14
  props: {
15
15
  BASE_API: {},
16
+ wrap: { default: "drawer" },
16
17
  visible: { type: Boolean },
17
18
  docInfo: {},
18
19
  pub: { type: Boolean }
@@ -27,6 +28,20 @@ const _sfc_main = defineComponent({
27
28
  emits("update:visible", val);
28
29
  }
29
30
  });
31
+ const wrapProps = computed(() => {
32
+ if (props.wrap === "drawer") {
33
+ return {
34
+ class: "doc-history-drawer-wrap",
35
+ title: "\u7248\u672C\u8BB0\u5F55",
36
+ width: 1e3
37
+ };
38
+ }
39
+ return {
40
+ bodyClass: "doc-history-modal-wrap",
41
+ title: "\u7248\u672C\u8BB0\u5F55",
42
+ width: 1e3
43
+ };
44
+ });
30
45
  const BASE_API = props.BASE_API || DEFAULT_BASE_API;
31
46
  const {
32
47
  initParams,
@@ -37,6 +52,10 @@ const _sfc_main = defineComponent({
37
52
  list,
38
53
  current
39
54
  } = useDocHistory(BASE_API);
55
+ const wrapComponent = {
56
+ drawer: Drawer,
57
+ modal: Modal
58
+ };
40
59
  function handeRevert() {
41
60
  emits("select", list.value[current.value]);
42
61
  }
@@ -56,13 +75,10 @@ const _sfc_main = defineComponent({
56
75
  loadData();
57
76
  });
58
77
  return (_ctx, _cache) => {
59
- return openBlock(), createBlock(unref(Drawer), {
78
+ return openBlock(), createBlock(resolveDynamicComponent(wrapComponent[_ctx.wrap]), mergeProps({
60
79
  visible: vis.value,
61
- "onUpdate:visible": _cache[0] || (_cache[0] = ($event) => vis.value = $event),
62
- class: "doc-history-drawer",
63
- title: "\u7248\u672C\u8BB0\u5F55",
64
- width: 1e3
65
- }, {
80
+ "onUpdate:visible": _cache[0] || (_cache[0] = ($event) => vis.value = $event)
81
+ }, wrapProps.value), {
66
82
  footer: withCtx(() => [
67
83
  createVNode(unref(Button), {
68
84
  type: "primary",
@@ -72,8 +88,7 @@ const _sfc_main = defineComponent({
72
88
  default: withCtx(() => _cache[1] || (_cache[1] = [
73
89
  createTextVNode(" \u8FD8\u539F\u6B64\u7248\u672C ")
74
90
  ])),
75
- _: 1,
76
- __: [1]
91
+ _: 1
77
92
  }, 8, ["disabled"])
78
93
  ]),
79
94
  default: withCtx(() => [
@@ -124,7 +139,7 @@ const _sfc_main = defineComponent({
124
139
  ])
125
140
  ]),
126
141
  _: 1
127
- }, 8, ["visible"]);
142
+ }, 16, ["visible"]);
128
143
  };
129
144
  }
130
145
  });
@@ -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
+ };
@@ -105,3 +105,7 @@
105
105
  .doc-history-drawer .arco-drawer-footer {
106
106
  text-align: left;
107
107
  }
108
+ .doc-history-modal-wrap {
109
+ height: 70vh;
110
+ padding: 0;
111
+ }
@@ -0,0 +1 @@
1
+ import './index.less';
@@ -30,3 +30,8 @@
30
30
  text-align: left;
31
31
  }
32
32
  }
33
+
34
+ .doc-history-modal-wrap {
35
+ height: 70vh;
36
+ padding: 0;
37
+ }
File without changes
@@ -94,8 +94,7 @@ const _sfc_main = defineComponent({
94
94
  default: withCtx(() => _cache[8] || (_cache[8] = [
95
95
  createTextVNode(" \u590D\u5236\u94FE\u63A5 ")
96
96
  ])),
97
- _: 1,
98
- __: [8]
97
+ _: 1
99
98
  }, 8, ["onClick"])
100
99
  ]),
101
100
  createCommentVNode(" \u94FE\u63A5 "),
@@ -111,8 +110,7 @@ const _sfc_main = defineComponent({
111
110
  default: withCtx(() => _cache[10] || (_cache[10] = [
112
111
  createTextVNode("\u53D6\u6D88\u9884\u89C8\u94FE\u63A5")
113
112
  ])),
114
- _: 1,
115
- __: [10]
113
+ _: 1
116
114
  }),
117
115
  createVNode(unref(Button), {
118
116
  type: "primary",
@@ -121,8 +119,7 @@ const _sfc_main = defineComponent({
121
119
  default: withCtx(() => _cache[11] || (_cache[11] = [
122
120
  createTextVNode(" \u66F4\u65B0\u9884\u89C8\u6709\u6548\u671F ")
123
121
  ])),
124
- _: 1,
125
- __: [11]
122
+ _: 1
126
123
  })
127
124
  ])
128
125
  ], 64)) : unref(isPublish) ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
@@ -142,8 +139,7 @@ const _sfc_main = defineComponent({
142
139
  default: withCtx(() => _cache[13] || (_cache[13] = [
143
140
  createTextVNode(" \u590D\u5236\u94FE\u63A5 ")
144
141
  ])),
145
- _: 1,
146
- __: [13]
142
+ _: 1
147
143
  }, 8, ["onClick"])
148
144
  ]),
149
145
  createCommentVNode(" \u94FE\u63A5 "),
@@ -183,8 +179,7 @@ const _sfc_main = defineComponent({
183
179
  default: withCtx(() => _cache[18] || (_cache[18] = [
184
180
  createTextVNode(" \u751F\u6210\u9884\u89C8\u94FE\u63A5 ")
185
181
  ])),
186
- _: 1,
187
- __: [18]
182
+ _: 1
188
183
  })
189
184
  ])
190
185
  ], 64))
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
@@ -762,15 +762,13 @@ const _sfc_main = defineComponent({
762
762
  default: withCtx(() => _cache[29] || (_cache[29] = [
763
763
  createTextVNode(" \u9ED8\u54C0\u6A21\u5F0F")
764
764
  ])),
765
- _: 1,
766
- __: [29]
765
+ _: 1
767
766
  }),
768
767
  createVNode(unref(Radio), { value: 2 }, {
769
768
  default: withCtx(() => _cache[30] || (_cache[30] = [
770
769
  createTextVNode("\u975E\u9ED8\u54C0\u6A21\u5F0F")
771
770
  ])),
772
- _: 1,
773
- __: [30]
771
+ _: 1
774
772
  })
775
773
  ]),
776
774
  _: 1
@@ -0,0 +1,2 @@
1
+ declare const editMetaInfo: any;
2
+ export default editMetaInfo;