@cmstops/pro-compo 0.3.46 → 0.3.47
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 +22 -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/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.d.ts +1 -0
- package/es/docPreview/component.d.ts +0 -0
- 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/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 +22 -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 +162 -132
- 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/hooks/useAttachement.js +1 -1
- package/lib/hooks/useUpload.js +2 -2
- package/lib/index.css +22 -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 +161 -131
- 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
|
|
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
|
|
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 {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare function useVideoContext(callback: (data?: any) => any): {
|
|
2
|
+
options: import("vue").Ref<any[]>;
|
|
3
|
+
videoContext: import("vue").Ref<HTMLVideoElement | null>;
|
|
4
|
+
loading: import("vue").Ref<boolean>;
|
|
5
|
+
playing: import("vue").Ref<boolean>;
|
|
6
|
+
currentTime: import("vue").Ref<number>;
|
|
7
|
+
handleOption: (key: string, value: number) => void;
|
|
8
|
+
togglePlay: () => void;
|
|
9
|
+
initVideoContext: (selector: string) => void;
|
|
10
|
+
seekVideo: (time: number) => void;
|
|
11
|
+
handleOnCanPlay: () => void;
|
|
12
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Placement } from '@popperjs/core';
|
|
2
|
+
import { Ref } from 'vue';
|
|
3
|
+
export default function usePopper(pannel: Ref<HTMLElement | undefined>, triggerEl: Ref<HTMLElement | undefined>): {
|
|
4
|
+
initPopper: (placement?: Placement) => void;
|
|
5
|
+
show: () => void;
|
|
6
|
+
hide: () => void;
|
|
7
|
+
visible: Ref<boolean>;
|
|
8
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
declare type QueryParams = {
|
|
2
|
+
limit: number;
|
|
3
|
+
offset: number;
|
|
4
|
+
keyword: string;
|
|
5
|
+
others?: any;
|
|
6
|
+
};
|
|
7
|
+
declare type HookOptionParams = {
|
|
8
|
+
labelStr: string;
|
|
9
|
+
valueStr: string;
|
|
10
|
+
func: (params: QueryParams) => any;
|
|
11
|
+
};
|
|
12
|
+
export default function useSelection(params: HookOptionParams): {
|
|
13
|
+
options: import("vue").Ref<{
|
|
14
|
+
label: string;
|
|
15
|
+
value: any;
|
|
16
|
+
}[]>;
|
|
17
|
+
loading: import("vue").Ref<boolean>;
|
|
18
|
+
keyword: import("vue").Ref<string>;
|
|
19
|
+
load: (more?: boolean | undefined) => Promise<void>;
|
|
20
|
+
handleSearch: (kw: string) => void;
|
|
21
|
+
loadMore: () => void;
|
|
22
|
+
};
|
|
23
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare type CallbackFunc = (data: any, status?: 'success' | 'fail') => void;
|
|
2
|
+
export declare type TypeAddMediaParam = {
|
|
3
|
+
url: string;
|
|
4
|
+
alias: string;
|
|
5
|
+
catalog: string;
|
|
6
|
+
repository_id: number;
|
|
7
|
+
directory_id: number;
|
|
8
|
+
size: number;
|
|
9
|
+
};
|
|
10
|
+
export declare function addMedia(BASE_API: string, params: TypeAddMediaParam): import("axios").AxiosPromise<any>;
|
|
11
|
+
export default function useUpload(): {
|
|
12
|
+
list: import("vue").Ref<any[]>;
|
|
13
|
+
uploadFile: (BASE_API: string, file: any, dir: number | undefined, repoId: number, callback?: CallbackFunc | undefined) => void;
|
|
14
|
+
transcodingFile: (BASE_API: string, file: any) => void;
|
|
15
|
+
recordTaskStatusChange: (file: any, progress: number, isTrans?: boolean | undefined) => void;
|
|
16
|
+
};
|
package/es/hooks/useUpload.js
CHANGED
|
@@ -99,9 +99,9 @@ function useUpload() {
|
|
|
99
99
|
recordTaskStatusChange(item, 0, true);
|
|
100
100
|
const progress = (progress2) => recordTaskStatusChange(item, progress2);
|
|
101
101
|
const transing = task.start(BASE_API, progress);
|
|
102
|
-
transing.then((res) => {
|
|
102
|
+
transing.then(async (res) => {
|
|
103
103
|
if (res) {
|
|
104
|
-
console.log("\u{1F680}\u{1F680}\u{1F680}\u{1F680}\u{1F680}\u{1F680} \u8F6C\u7801\u6210\u529F");
|
|
104
|
+
console.log("\u{1F680}\u{1F680}\u{1F680}\u{1F680}\u{1F680}\u{1F680} \u8F6C\u7801\u6210\u529F", res);
|
|
105
105
|
recordTaskStatusChange({ ...item, status: 0 }, 1);
|
|
106
106
|
setTimeout(() => uploadSuccess(file), 200);
|
|
107
107
|
} else {
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
interface Params {
|
|
2
|
+
[key: string]: any;
|
|
3
|
+
}
|
|
4
|
+
export declare function getChannels(BASE_API: string, params?: Params): import("axios").AxiosPromise<any>;
|
|
5
|
+
declare const useLoadUserInfo: (BASE_API: string) => {
|
|
6
|
+
userInfo: import("vue").Ref<any>;
|
|
7
|
+
getUserInfoHandle: () => Promise<void>;
|
|
8
|
+
};
|
|
9
|
+
export default useLoadUserInfo;
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function getFileRealUrl(BASE_API: string, url: string): import("axios").AxiosPromise<any>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.less';
|
package/es/index.css
CHANGED
|
@@ -4270,11 +4270,6 @@
|
|
|
4270
4270
|
.thumb-select-wrapper .thumb-upload-loading .arco-progress-circle-text {
|
|
4271
4271
|
color: #fff;
|
|
4272
4272
|
}
|
|
4273
|
-
.thumb-select-wrapper .thumb-add {
|
|
4274
|
-
color: var(--color-text-2);
|
|
4275
|
-
font-size: 16px;
|
|
4276
|
-
cursor: pointer;
|
|
4277
|
-
}
|
|
4278
4273
|
.thumb-select-wrapper .thumb-image img {
|
|
4279
4274
|
width: 100%;
|
|
4280
4275
|
height: 100%;
|
|
@@ -4331,29 +4326,41 @@
|
|
|
4331
4326
|
opacity: 1;
|
|
4332
4327
|
transition: all 0.3s ease-in-out;
|
|
4333
4328
|
}
|
|
4334
|
-
.thumb-select-wrapper .arco-dropdown-option-content {
|
|
4335
|
-
display: flex;
|
|
4336
|
-
gap: 8px;
|
|
4337
|
-
align-items: center;
|
|
4338
|
-
font-size: 14px;
|
|
4339
|
-
}
|
|
4340
4329
|
.card-list-wrapper {
|
|
4341
4330
|
display: grid;
|
|
4342
4331
|
grid-gap: 20px;
|
|
4343
4332
|
grid-template-columns: repeat(5, 1fr);
|
|
4344
4333
|
}
|
|
4345
|
-
.list-filter-wrapper {
|
|
4334
|
+
.list-filter-wrapper .list-filter-tags {
|
|
4335
|
+
display: flex;
|
|
4336
|
+
justify-content: space-between;
|
|
4337
|
+
margin-top: 10px;
|
|
4338
|
+
}
|
|
4339
|
+
.list-filter-wrapper .list-filter-tags .list-filter-tag {
|
|
4340
|
+
padding: 5px 16px;
|
|
4341
|
+
border-radius: 15px;
|
|
4342
|
+
cursor: pointer;
|
|
4343
|
+
}
|
|
4344
|
+
.list-filter-wrapper .list-filter-tags .list-filter-tag:hover {
|
|
4345
|
+
background-color: var(--color-fill-3);
|
|
4346
|
+
}
|
|
4347
|
+
.list-filter-wrapper .list-filter-tags .list-filter-tag.active {
|
|
4348
|
+
color: rgb(var(--primary-6));
|
|
4349
|
+
font-weight: bold;
|
|
4350
|
+
background: var(--color-fill-2);
|
|
4351
|
+
}
|
|
4352
|
+
.list-filter-wrapper .list-filter {
|
|
4346
4353
|
display: flex;
|
|
4347
4354
|
justify-content: space-between;
|
|
4348
4355
|
}
|
|
4349
|
-
.list-filter-wrapper .filter-list {
|
|
4356
|
+
.list-filter-wrapper .list-filter .filter-list {
|
|
4350
4357
|
display: flex;
|
|
4351
4358
|
gap: 10px;
|
|
4352
4359
|
}
|
|
4353
|
-
.list-filter-wrapper .filter-list .filter-item {
|
|
4360
|
+
.list-filter-wrapper .list-filter .filter-list .filter-item {
|
|
4354
4361
|
width: 100px;
|
|
4355
4362
|
}
|
|
4356
|
-
.list-filter-wrapper .arco-input-prepend {
|
|
4363
|
+
.list-filter-wrapper .list-filter .arco-input-prepend {
|
|
4357
4364
|
padding: 0;
|
|
4358
4365
|
}
|
|
4359
4366
|
.list-panel-wrapper {
|
package/es/index.d.ts
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export { default } from './components';
|
|
2
|
+
export { default as appCenter } from './appCenter';
|
|
3
|
+
export { default as messageBox } from './messageBox';
|
|
4
|
+
export { default as userAvater } from './userAvater';
|
|
5
|
+
export { default as typeIcons } from './typeIcons';
|
|
6
|
+
export { default as uploadStep } from './uploadStep';
|
|
7
|
+
export { default as contentModal } from './contentModal';
|
|
8
|
+
export { default as resourceModal } from './resourceModal';
|
|
9
|
+
export { default as previousVersion } from './previousVersion';
|
|
10
|
+
export { default as selectGategory } from './selectGategory';
|
|
11
|
+
export { default as imageCrop } from './imageCrop';
|
|
12
|
+
export { default as uploadBefore } from './uploadBefore';
|
|
13
|
+
export { default as contentDetailList } from './contentDetailList';
|
|
14
|
+
export { default as emptyData } from './emptyData';
|
|
15
|
+
export { default as mediaFilter } from './mediaFilter';
|
|
16
|
+
export { default as selectAvatarList } from './selectAvatarList';
|
|
17
|
+
export { default as userDirector } from './userDirector';
|
|
18
|
+
export { default as selectThumb } from './selectThumb';
|
|
19
|
+
export { default as editMetaInfo } from './editMetaInfo';
|
|
20
|
+
export { default as baseFilter } from './baseFilter';
|
|
21
|
+
export { default as dataTags } from './dataTags';
|
|
22
|
+
export { default as colorPalette } from './colorPalette';
|
|
23
|
+
export { default as resourceGridList } from './resourceGridList';
|
|
24
|
+
export { default as mediaView } from './mediaView';
|
|
25
|
+
export { default as thumbCard } from './thumbCard';
|
|
26
|
+
export { default as selectResourceModal } from './selectResourceModal';
|
|
27
|
+
export { default as docPreview } from './docPreview';
|
|
28
|
+
export { default as docHistory } from './docHistory';
|
|
29
|
+
export { default as videoThumb } from './videoThumb';
|
|
File without changes
|
|
File without changes
|
|
File without changes
|