@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.
- package/dist/index.css +25 -15
- package/dist/index.min.css +1 -1
- package/es/appCenter/component.d.ts +0 -0
- package/es/appCenter/index.d.ts +2 -0
- package/es/appCenter/script/api.d.ts +11 -0
- package/es/appCenter/script/apps.d.ts +14 -0
- package/es/appCenter/script/permissionMap.d.ts +6 -0
- package/es/appCenter/script/routeMap.d.ts +4 -0
- package/es/appCenter/style/index.d.ts +1 -0
- package/es/baseFilter/component.d.ts +0 -0
- package/es/baseFilter/components/FilterGroup.d.ts +0 -0
- package/es/baseFilter/components/filterItem.d.ts +0 -0
- package/es/baseFilter/index.d.ts +2 -0
- package/es/baseFilter/style/index.d.ts +1 -0
- package/es/baseFilter/useCalcWidth.d.ts +16 -0
- package/es/colorPalette/component.d.ts +0 -0
- package/es/colorPalette/components/colorPicker.d.ts +0 -0
- package/es/colorPalette/index.d.ts +2 -0
- package/es/colorPalette/style/index.d.ts +1 -0
- package/es/components.d.ts +5 -0
- package/es/config.d.ts +4 -0
- package/es/contentDetailList/__demo__/matrix/platform.d.ts +36 -0
- package/es/contentDetailList/component.d.ts +0 -0
- package/es/contentDetailList/components/Content/CompoItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/ContentListItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/DocItem/ApprovalStateMap/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/DocItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/DocMpItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/GroupPieceItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/KongoNavItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/LiveItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/MaccountItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/courseItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/funhdItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/index.d.ts +0 -0
- package/es/contentDetailList/components/CustomWrp/CustomItem.d.ts +0 -0
- package/es/contentDetailList/components/CustomWrp/index.d.ts +0 -0
- package/es/contentDetailList/components/Doc/index.d.ts +0 -0
- package/es/contentDetailList/components/Records/MatrixItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Records/index.d.ts +0 -0
- package/es/contentDetailList/components/ShowQRCode/QrcodeView/index.d.ts +0 -0
- package/es/contentDetailList/components/ShowQRCode/index.d.ts +0 -0
- package/es/contentDetailList/index.d.ts +2 -0
- package/es/contentDetailList/script/api.d.ts +6 -0
- package/es/contentDetailList/style/index.d.ts +1 -0
- package/es/contentModal/component.d.ts +0 -0
- package/es/contentModal/components/CompoList/CompoFilter/index.d.ts +0 -0
- package/es/contentModal/components/CompoList/index.d.ts +0 -0
- package/es/contentModal/components/ContentList/MediaFilter/index.d.ts +0 -0
- package/es/contentModal/components/ContentList/index.d.ts +0 -0
- package/es/contentModal/components/EqxiuList/MediaFilter/index.d.ts +0 -0
- package/es/contentModal/components/EqxiuList/index.d.ts +0 -0
- package/es/contentModal/components/LiveList/MediaFilter/index.d.ts +0 -0
- package/es/contentModal/components/LiveList/index.d.ts +0 -0
- package/es/contentModal/components/MpAccountList/MpAccountFilter/index.d.ts +0 -0
- package/es/contentModal/components/MpAccountList/index.d.ts +0 -0
- package/es/contentModal/components/MpContentList/MediaFilter/index.d.ts +0 -0
- package/es/contentModal/components/MpContentList/index.d.ts +0 -0
- package/es/contentModal/components/ViewAllColumn/MediaFilter/index.d.ts +0 -0
- package/es/contentModal/components/ViewAllColumn/columnTree/index.d.ts +0 -0
- package/es/contentModal/components/ViewAllColumn/index.d.ts +0 -0
- package/es/contentModal/components/storeBox/index.d.ts +0 -0
- package/es/contentModal/index.d.ts +2 -0
- package/es/contentModal/script/api.d.ts +14 -0
- package/es/contentModal/style/index.d.ts +1 -0
- package/es/dataTags/component.d.ts +0 -0
- package/es/dataTags/index.d.ts +2 -0
- package/es/dataTags/style/index.d.ts +1 -0
- package/es/docHistory/component.d.ts +0 -0
- package/es/docHistory/component.js +27 -6
- package/es/docHistory/components/DocDiffPanel/index.d.ts +0 -0
- package/es/docHistory/components/DocHistoryList/index.d.ts +0 -0
- package/es/docHistory/index.d.ts +2 -0
- package/es/docHistory/scripts/diff.d.ts +1 -0
- package/es/docHistory/scripts/useDocHistory.d.ts +10 -0
- package/es/docHistory/style/index.css +3 -0
- package/es/docHistory/style/index.d.ts +1 -0
- package/es/docHistory/style/index.less +4 -0
- package/es/docPreview/component.d.ts +0 -0
- package/es/docPreview/component.js +31 -29
- package/es/docPreview/components/PreviewIframe.d.ts +0 -0
- package/es/docPreview/index.d.ts +2 -0
- package/es/docPreview/scripts/api.d.ts +1 -0
- package/es/docPreview/scripts/hook.d.ts +20 -0
- package/es/docPreview/scripts/hook.js +1 -1
- package/es/docPreview/style/index.d.ts +1 -0
- package/es/editMetaInfo/component.d.ts +0 -0
- package/es/editMetaInfo/components/metaInfoForm.d.ts +0 -0
- package/es/editMetaInfo/index.d.ts +2 -0
- package/es/editMetaInfo/script/api.d.ts +6 -0
- package/es/editMetaInfo/script/restaurants.d.ts +4 -0
- package/es/editMetaInfo/style/index.d.ts +1 -0
- package/es/emptyData/component.d.ts +0 -0
- package/es/emptyData/index.d.ts +2 -0
- package/es/emptyData/style/index.d.ts +1 -0
- package/es/emptyData/svg/add.d.ts +0 -0
- package/es/hooks/assets.d.ts +1 -0
- package/es/hooks/batch.d.ts +8 -0
- package/es/hooks/dialogVisible.d.ts +8 -0
- package/es/hooks/source.d.ts +9 -0
- package/es/hooks/toggle.d.ts +6 -0
- package/es/hooks/useAttachement.d.ts +26 -0
- package/es/hooks/useAttachement.js +1 -1
- package/es/hooks/useLocalStorage.d.ts +8 -0
- package/es/hooks/useMediaContext.d.ts +12 -0
- package/es/hooks/usePopper.d.ts +8 -0
- package/es/hooks/useSelection.d.ts +23 -0
- package/es/hooks/useUpload.d.ts +16 -0
- package/es/hooks/useUpload.js +2 -2
- package/es/hooks/user.d.ts +9 -0
- package/es/imageCrop/component.d.ts +0 -0
- package/es/imageCrop/index.d.ts +2 -0
- package/es/imageCrop/script/api.d.ts +1 -0
- package/es/imageCrop/style/index.d.ts +1 -0
- package/es/index.css +25 -15
- package/es/index.d.ts +29 -0
- package/es/mediaFilter/component.d.ts +0 -0
- package/es/mediaFilter/components/DocFilter.d.ts +0 -0
- package/es/mediaFilter/components/FilterGroup.d.ts +0 -0
- package/es/mediaFilter/components/FilterItem.d.ts +0 -0
- package/es/mediaFilter/components/MpAccountFilter.d.ts +0 -0
- package/es/mediaFilter/components/MpContentFilter.d.ts +0 -0
- package/es/mediaFilter/index.d.ts +3 -0
- package/es/mediaFilter/script/optionsGetter.d.ts +26 -0
- package/es/mediaFilter/script/types.d.ts +16 -0
- package/es/mediaFilter/style/index.d.ts +1 -0
- package/es/mediaView/component.d.ts +0 -0
- package/es/mediaView/index.d.ts +2 -0
- package/es/mediaView/style/index.d.ts +1 -0
- package/es/messageBox/component.d.ts +0 -0
- package/es/messageBox/index.d.ts +2 -0
- package/es/messageBox/list.d.ts +0 -0
- package/es/messageBox/script/api.d.ts +6 -0
- package/es/messageBox/style/index.d.ts +1 -0
- package/es/previousVersion/component.d.ts +0 -0
- package/es/previousVersion/index.d.ts +2 -0
- package/es/previousVersion/script/api.d.ts +15 -0
- package/es/previousVersion/script/tool.d.ts +6 -0
- package/es/previousVersion/style/index.d.ts +1 -0
- package/es/resourceGridList/component.d.ts +0 -0
- package/es/resourceGridList/components/FileTypeThumb/index.d.ts +0 -0
- package/es/resourceGridList/index.d.ts +2 -0
- package/es/resourceGridList/style/index.d.ts +1 -0
- package/es/resourceModal/component.d.ts +0 -0
- package/es/resourceModal/components/MediaPreviewer/index.d.ts +0 -0
- package/es/resourceModal/components/MediaSelection/DocAiMediaSelected/index.d.ts +0 -0
- package/es/resourceModal/components/MediaSelection/MainContent/FileTypeThumb/index.d.ts +0 -0
- package/es/resourceModal/components/MediaSelection/MainContent/index.d.ts +0 -0
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.d.ts +0 -0
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.d.ts +0 -0
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.js +3 -3
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/index.d.ts +0 -0
- package/es/resourceModal/components/MediaSelection/ToolbarSearch/index.d.ts +0 -0
- package/es/resourceModal/components/MediaSelection/index.d.ts +0 -0
- package/es/resourceModal/index.d.ts +2 -0
- package/es/resourceModal/script/api.d.ts +25 -0
- package/es/resourceModal/script/mediaSelection.d.ts +14 -0
- package/es/resourceModal/style/index.d.ts +1 -0
- package/es/selectAvatarList/component.d.ts +0 -0
- package/es/selectAvatarList/index.d.ts +2 -0
- package/es/selectAvatarList/style/index.d.ts +1 -0
- package/es/selectGategory/component.d.ts +0 -0
- package/es/selectGategory/components/ColumnSelection/index.d.ts +0 -0
- package/es/selectGategory/index.d.ts +2 -0
- package/es/selectGategory/script/api.d.ts +6 -0
- package/es/selectGategory/style/index.d.ts +1 -0
- package/es/selectResourceModal/component.d.ts +0 -0
- package/es/selectResourceModal/component.js +5 -0
- package/es/selectResourceModal/components/ListCardWrapper/index.d.ts +0 -0
- package/es/selectResourceModal/components/ListContent/index.d.ts +0 -0
- package/es/selectResourceModal/components/ListContentLocal/components/Upload.d.ts +0 -0
- package/es/selectResourceModal/components/ListContentLocal/index.d.ts +0 -0
- package/es/selectResourceModal/components/ListContentLocal/index.js +1 -1
- package/es/selectResourceModal/components/ListFilter/index.d.ts +0 -0
- package/es/selectResourceModal/components/ListFilter/index.js +169 -139
- package/es/selectResourceModal/components/ListFilter/scripts/api.d.ts +1 -0
- package/es/selectResourceModal/components/ListSelected/index.d.ts +0 -0
- package/es/selectResourceModal/components/ListTabs/index.d.ts +0 -0
- package/es/selectResourceModal/index.d.ts +2 -0
- package/es/selectResourceModal/scripts/useResourceSelect.d.ts +7 -0
- package/es/selectResourceModal/style/index.css +22 -4
- package/es/selectResourceModal/style/index.d.ts +1 -0
- package/es/selectResourceModal/style/listFilter.less +33 -9
- package/es/selectThumb/component.d.ts +0 -0
- package/es/selectThumb/components/card.d.ts +0 -0
- package/es/selectThumb/components/colorPalette.d.ts +0 -0
- package/es/selectThumb/components/colorPicker.d.ts +0 -0
- package/es/selectThumb/index.d.ts +2 -0
- package/es/selectThumb/style/index.d.ts +1 -0
- package/es/thumbCard/component.d.ts +0 -0
- package/es/thumbCard/component.js +5 -42
- package/es/thumbCard/index.d.ts +2 -0
- package/es/thumbCard/style/index.css +0 -11
- package/es/thumbCard/style/index.d.ts +1 -0
- package/es/thumbCard/style/index.less +0 -15
- package/es/typeIcons/component.d.ts +0 -0
- package/es/typeIcons/index.d.ts +2 -0
- package/es/typeIcons/style/index.d.ts +1 -0
- package/es/uploadBefore/component.d.ts +0 -0
- package/es/uploadBefore/components/UploadBefore.d.ts +0 -0
- package/es/uploadBefore/components/UploadForClick.d.ts +0 -0
- package/es/uploadBefore/index.d.ts +2 -0
- package/es/uploadBefore/script/api.d.ts +16 -0
- package/es/uploadBefore/script/fileTypeAdapter.d.ts +39 -0
- package/es/uploadBefore/script/fileUpload.d.ts +7 -0
- package/es/uploadBefore/script/uploadHooks.d.ts +55 -0
- package/es/uploadBefore/style/index.d.ts +1 -0
- package/es/uploadBefore/utils/dragUploadEvent.d.ts +0 -0
- package/es/uploadStep/component.d.ts +0 -0
- package/es/uploadStep/index.d.ts +2 -0
- package/es/uploadStep/script/fileTypeAdapter.d.ts +20 -0
- package/es/uploadStep/style/index.d.ts +1 -0
- package/es/userAvater/component.d.ts +0 -0
- package/es/userAvater/index.d.ts +2 -0
- package/es/userAvater/script/api.d.ts +8 -0
- package/es/userAvater/style/index.d.ts +1 -0
- package/es/userDirector/component.d.ts +0 -0
- package/es/userDirector/components/userTree.d.ts +0 -0
- package/es/userDirector/index.d.ts +2 -0
- package/es/userDirector/script/api.d.ts +10 -0
- package/es/userDirector/style/index.d.ts +1 -0
- package/es/utils/auth.d.ts +5 -0
- package/es/utils/date.d.ts +3 -0
- package/es/utils/doc.d.ts +76 -0
- package/es/utils/filter.d.ts +9 -0
- package/es/utils/index.d.ts +17 -0
- package/es/utils/request.d.ts +9 -0
- package/es/utils/resource.d.ts +4 -0
- package/es/utils/resource.js +13 -0
- package/es/utils/transcodeMedia.d.ts +13 -0
- package/es/utils/tusUpload.d.ts +16 -0
- package/es/utils/typeMap.d.ts +185 -0
- package/es/utils/uploadCatalog.d.ts +1 -0
- package/es/videoThumb/component.d.ts +0 -0
- package/es/videoThumb/index.d.ts +2 -0
- package/es/videoThumb/scripts/api.d.ts +9 -0
- package/es/videoThumb/scripts/useVideoThumbs.d.ts +7 -0
- package/es/videoThumb/style/index.d.ts +1 -0
- package/lib/docHistory/component.js +25 -4
- package/lib/docHistory/style/index.css +3 -0
- package/lib/docHistory/style/index.less +4 -0
- package/lib/docPreview/component.js +31 -29
- package/lib/docPreview/scripts/hook.js +1 -1
- package/lib/hooks/useAttachement.js +1 -1
- package/lib/hooks/useUpload.js +2 -2
- package/lib/index.css +25 -15
- package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.js +2 -2
- package/lib/selectResourceModal/component.js +5 -0
- package/lib/selectResourceModal/components/ListContentLocal/index.js +1 -1
- package/lib/selectResourceModal/components/ListFilter/index.js +168 -138
- package/lib/selectResourceModal/style/index.css +22 -4
- package/lib/selectResourceModal/style/listFilter.less +33 -9
- package/lib/thumbCard/component.js +2 -39
- package/lib/thumbCard/style/index.css +0 -11
- package/lib/thumbCard/style/index.less +0 -15
- package/lib/utils/resource.js +15 -0
- package/package.json +1 -1
|
@@ -0,0 +1,16 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.less';
|
package/es/config.d.ts
ADDED
|
@@ -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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,6 @@
|
|
|
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 {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.less';
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,14 @@
|
|
|
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 {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.less';
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.less';
|
|
File without changes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent, computed, onMounted, openBlock, createBlock, unref, withCtx, createElementVNode, createElementBlock, Fragment,
|
|
2
|
-
import { Drawer, Spin, Scrollbar } from "@arco-design/web-vue";
|
|
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";
|
|
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";
|
|
@@ -17,7 +17,7 @@ const _sfc_main = defineComponent({
|
|
|
17
17
|
docInfo: {},
|
|
18
18
|
pub: { type: Boolean }
|
|
19
19
|
},
|
|
20
|
-
emits: ["update:visible"],
|
|
20
|
+
emits: ["update:visible", "select"],
|
|
21
21
|
setup(__props, { emit: __emit }) {
|
|
22
22
|
const props = __props;
|
|
23
23
|
const emits = __emit;
|
|
@@ -37,6 +37,18 @@ const _sfc_main = defineComponent({
|
|
|
37
37
|
list,
|
|
38
38
|
current
|
|
39
39
|
} = useDocHistory(BASE_API);
|
|
40
|
+
function handeRevert() {
|
|
41
|
+
emits("select", list.value[current.value]);
|
|
42
|
+
}
|
|
43
|
+
watch(
|
|
44
|
+
() => vis.value,
|
|
45
|
+
(val) => {
|
|
46
|
+
if (!val)
|
|
47
|
+
return;
|
|
48
|
+
loadData();
|
|
49
|
+
},
|
|
50
|
+
{ immediate: true }
|
|
51
|
+
);
|
|
40
52
|
onMounted(() => {
|
|
41
53
|
if (!props.docInfo)
|
|
42
54
|
return;
|
|
@@ -47,12 +59,21 @@ const _sfc_main = defineComponent({
|
|
|
47
59
|
return openBlock(), createBlock(unref(Drawer), {
|
|
48
60
|
visible: vis.value,
|
|
49
61
|
"onUpdate:visible": _cache[0] || (_cache[0] = ($event) => vis.value = $event),
|
|
50
|
-
"unmount-on-close": "",
|
|
51
62
|
class: "doc-history-drawer",
|
|
52
63
|
title: "\u7248\u672C\u8BB0\u5F55",
|
|
53
|
-
width: 1e3
|
|
54
|
-
footer: false
|
|
64
|
+
width: 1e3
|
|
55
65
|
}, {
|
|
66
|
+
footer: withCtx(() => [
|
|
67
|
+
createVNode(unref(Button), {
|
|
68
|
+
type: "primary",
|
|
69
|
+
onClick: handeRevert
|
|
70
|
+
}, {
|
|
71
|
+
default: withCtx(() => [
|
|
72
|
+
createTextVNode("\u8FD8\u539F\u6B64\u7248\u672C")
|
|
73
|
+
]),
|
|
74
|
+
_: 1
|
|
75
|
+
})
|
|
76
|
+
]),
|
|
56
77
|
default: withCtx(() => [
|
|
57
78
|
createElementVNode("div", _hoisted_1, [
|
|
58
79
|
unref(list).length ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
File without changes
|
|
File without changes
|
|
@@ -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): 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
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.less';
|
|
File without changes
|
|
@@ -5,23 +5,24 @@ import { DEFAULT_BASE_API } from "../config.js";
|
|
|
5
5
|
import _sfc_main$1 from "./components/PreviewIframe.js";
|
|
6
6
|
import { useDocPreview, EXPIRE_TIME_OPTIONS } from "./scripts/hook.js";
|
|
7
7
|
const _hoisted_1 = { class: "preview-close" };
|
|
8
|
-
const _hoisted_2 = { class: "doc-preview-share" };
|
|
9
|
-
const _hoisted_3 = { class: "doc-preview-share
|
|
10
|
-
const _hoisted_4 =
|
|
11
|
-
const _hoisted_5 =
|
|
12
|
-
const _hoisted_6 = { class: "doc-preview-share-
|
|
13
|
-
const _hoisted_7 =
|
|
14
|
-
const _hoisted_8 =
|
|
15
|
-
const _hoisted_9 = { class: "doc-preview-share-link
|
|
16
|
-
const _hoisted_10 = { class: "doc-preview-share-link-
|
|
17
|
-
const _hoisted_11 = { class: "doc-preview-share-
|
|
18
|
-
const _hoisted_12 =
|
|
8
|
+
const _hoisted_2 = /* @__PURE__ */ createElementVNode("div", { class: "doc-preview-share" }, null, -1);
|
|
9
|
+
const _hoisted_3 = { class: "doc-preview-share" };
|
|
10
|
+
const _hoisted_4 = { class: "doc-preview-share-img" };
|
|
11
|
+
const _hoisted_5 = ["src"];
|
|
12
|
+
const _hoisted_6 = /* @__PURE__ */ createElementVNode("div", { class: "doc-preview-share-tips" }, "\u626B\u63CF\u4E8C\u7EF4\u7801\u8BBF\u95EE", -1);
|
|
13
|
+
const _hoisted_7 = { class: "doc-preview-share-header" };
|
|
14
|
+
const _hoisted_8 = /* @__PURE__ */ createElementVNode("span", null, "\u9884\u89C8\u5730\u5740", -1);
|
|
15
|
+
const _hoisted_9 = { class: "doc-preview-share-link" };
|
|
16
|
+
const _hoisted_10 = { class: "doc-preview-share-link-value" };
|
|
17
|
+
const _hoisted_11 = { class: "doc-preview-share-link-hint" };
|
|
18
|
+
const _hoisted_12 = { class: "doc-preview-share-action" };
|
|
19
|
+
const _hoisted_13 = /* @__PURE__ */ createElementVNode("div", { class: "doc-preview-share-img" }, [
|
|
19
20
|
/* @__PURE__ */ createElementVNode("div", { class: "doc-preview-share-img-hint" }, " \u6682\u65E0\u9884\u89C8 ")
|
|
20
21
|
], -1);
|
|
21
|
-
const
|
|
22
|
-
const
|
|
23
|
-
const
|
|
24
|
-
const
|
|
22
|
+
const _hoisted_14 = /* @__PURE__ */ createElementVNode("div", { class: "doc-preview-share-tips" }, " \u5185\u5BB9\u6682\u65E0\u9884\u89C8\u94FE\u63A5\uFF0C\u53EF\u751F\u6210\u9884\u89C8\u94FE\u63A5 ", -1);
|
|
23
|
+
const _hoisted_15 = { class: "doc-preview-share-header" };
|
|
24
|
+
const _hoisted_16 = /* @__PURE__ */ createElementVNode("span", null, "\u94FE\u63A5\u6709\u6548\u65F6\u957F", -1);
|
|
25
|
+
const _hoisted_17 = { class: "doc-preview-share-action" };
|
|
25
26
|
const _sfc_main = defineComponent({
|
|
26
27
|
...{ name: "docPreview" },
|
|
27
28
|
__name: "component",
|
|
@@ -57,6 +58,7 @@ const _sfc_main = defineComponent({
|
|
|
57
58
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => emits("close"), ["stop"]))
|
|
58
59
|
})
|
|
59
60
|
]),
|
|
61
|
+
_hoisted_2,
|
|
60
62
|
createVNode(_sfc_main$1, {
|
|
61
63
|
src: unref(innerUrl),
|
|
62
64
|
onClick: _cache[1] || (_cache[1] = withModifiers(() => {
|
|
@@ -64,20 +66,20 @@ const _sfc_main = defineComponent({
|
|
|
64
66
|
}, null, 8, ["src"]),
|
|
65
67
|
createVNode(unref(Spin), { loading: unref(loading) }, {
|
|
66
68
|
default: withCtx(() => [
|
|
67
|
-
createElementVNode("div",
|
|
69
|
+
createElementVNode("div", _hoisted_3, [
|
|
68
70
|
unref(shareData) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
69
71
|
createCommentVNode(" \u4E8C\u7EF4\u7801 "),
|
|
70
|
-
createElementVNode("div",
|
|
72
|
+
createElementVNode("div", _hoisted_4, [
|
|
71
73
|
createElementVNode("img", {
|
|
72
74
|
src: unref(shareData).qrCode,
|
|
73
75
|
alt: ""
|
|
74
|
-
}, null, 8,
|
|
76
|
+
}, null, 8, _hoisted_5)
|
|
75
77
|
]),
|
|
76
78
|
createCommentVNode(" \u5907\u6CE8 "),
|
|
77
|
-
|
|
79
|
+
_hoisted_6,
|
|
78
80
|
createCommentVNode(" \u94FE\u63A5\u524D\u7F6E\u64CD\u4F5C "),
|
|
79
|
-
createElementVNode("div",
|
|
80
|
-
|
|
81
|
+
createElementVNode("div", _hoisted_7, [
|
|
82
|
+
_hoisted_8,
|
|
81
83
|
createVNode(unref(Link), {
|
|
82
84
|
type: "text",
|
|
83
85
|
onClick: unref(copy)
|
|
@@ -89,12 +91,12 @@ const _sfc_main = defineComponent({
|
|
|
89
91
|
}, 8, ["onClick"])
|
|
90
92
|
]),
|
|
91
93
|
createCommentVNode(" \u94FE\u63A5 "),
|
|
92
|
-
createElementVNode("div",
|
|
93
|
-
createElementVNode("div",
|
|
94
|
-
createElementVNode("div",
|
|
94
|
+
createElementVNode("div", _hoisted_9, [
|
|
95
|
+
createElementVNode("div", _hoisted_10, toDisplayString(unref(shareData).shareUrl), 1),
|
|
96
|
+
createElementVNode("div", _hoisted_11, " \u94FE\u63A5\u5269\u4F59\u65F6\u95F4\uFF1A" + toDisplayString(unref(intervalTime)), 1)
|
|
95
97
|
]),
|
|
96
98
|
createCommentVNode(" \u64CD\u4F5C "),
|
|
97
|
-
createElementVNode("div",
|
|
99
|
+
createElementVNode("div", _hoisted_12, [
|
|
98
100
|
createVNode(unref(Button), {
|
|
99
101
|
onClick: _cache[2] || (_cache[2] = ($event) => unref(cancel)())
|
|
100
102
|
}, {
|
|
@@ -114,10 +116,10 @@ const _sfc_main = defineComponent({
|
|
|
114
116
|
})
|
|
115
117
|
])
|
|
116
118
|
], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
117
|
-
_hoisted_12,
|
|
118
119
|
_hoisted_13,
|
|
119
|
-
|
|
120
|
-
|
|
120
|
+
_hoisted_14,
|
|
121
|
+
createElementVNode("div", _hoisted_15, [
|
|
122
|
+
_hoisted_16,
|
|
121
123
|
createVNode(unref(Select), {
|
|
122
124
|
modelValue: unref(expireTime),
|
|
123
125
|
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => isRef(expireTime) ? expireTime.value = $event : null),
|
|
@@ -136,7 +138,7 @@ const _sfc_main = defineComponent({
|
|
|
136
138
|
_: 1
|
|
137
139
|
}, 8, ["modelValue"])
|
|
138
140
|
]),
|
|
139
|
-
createElementVNode("div",
|
|
141
|
+
createElementVNode("div", _hoisted_17, [
|
|
140
142
|
createVNode(unref(Button), {
|
|
141
143
|
type: "primary",
|
|
142
144
|
onClick: _cache[5] || (_cache[5] = () => unref(generate)())
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function generateDocPreviewLink(BASE_API: string, params: any): import("axios").AxiosPromise<any>;
|
|
@@ -0,0 +1,20 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.less';
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,6 @@
|
|
|
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 {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.less';
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.less';
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function useGenerateAssets(BASE_API: string, params: any): import("axios").AxiosPromise<any>;
|
|
@@ -0,0 +1,8 @@
|
|
|
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;
|
|
@@ -0,0 +1,9 @@
|
|
|
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;
|
|
@@ -0,0 +1,26 @@
|
|
|
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
|
+
pageIdx: import("vue").ComputedRef<number>;
|
|
14
|
+
loading: import("vue").Ref<boolean>;
|
|
15
|
+
changeFilter: (f: any) => void;
|
|
16
|
+
changeKey: (k: string) => void;
|
|
17
|
+
changePage: (o: number) => void;
|
|
18
|
+
changeSize: (s: number) => void;
|
|
19
|
+
loadData: () => Promise<void>;
|
|
20
|
+
};
|
|
21
|
+
export declare function useLocalRecource(): {
|
|
22
|
+
localList: import("vue").Ref<any[]>;
|
|
23
|
+
initLocalList: () => void;
|
|
24
|
+
setLocalList: (list: any[]) => void;
|
|
25
|
+
};
|
|
26
|
+
export {};
|