@cmstops/pro-compo 3.9.1-rc.3 → 3.9.1-rc.5
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 +45 -4
- 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/component.js +24 -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/Content/index.js +2 -1
- 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/Doc/index.js +6 -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/Dejin/MediaFilter/index.d.ts +0 -0
- package/es/contentModal/components/Dejin/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 +18 -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 +33 -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 +53 -0
- package/es/hooks/useLocalStorage.d.ts +10 -0
- package/es/hooks/useMediaContext.d.ts +12 -0
- package/es/hooks/usePopper.d.ts +8 -0
- package/es/hooks/usePopper.js +3 -3
- package/es/hooks/useSelection.d.ts +30 -0
- package/es/hooks/useUpload.d.ts +30 -0
- 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/importData/component.d.ts +0 -0
- package/es/importData/index.d.ts +2 -0
- package/es/importData/style/index.d.ts +1 -0
- package/es/index.css +45 -4
- package/es/index.d.ts +30 -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/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/__demo__/module/DivWrapper.d.ts +268 -0
- package/es/selectResourceModal/__demo__/module/basic.d.ts +299 -0
- package/es/selectResourceModal/component.d.ts +0 -0
- package/es/selectResourceModal/components/List/ListAi/index.d.ts +0 -0
- package/es/selectResourceModal/components/List/ListCardWrapper.d.ts +0 -0
- package/es/selectResourceModal/components/List/ListLocal/Upload.d.ts +0 -0
- package/es/selectResourceModal/components/List/ListLocal/index.d.ts +0 -0
- package/es/selectResourceModal/components/List/ListNormal/Filter.d.ts +0 -0
- package/es/selectResourceModal/components/List/ListNormal/Filter.js +192 -90
- package/es/selectResourceModal/components/List/ListNormal/index.d.ts +0 -0
- package/es/selectResourceModal/components/List/ListNormal/index.js +23 -7
- package/es/selectResourceModal/components/List/ListSystem/Filter.d.ts +0 -0
- package/es/selectResourceModal/components/List/ListSystem/SubList.d.ts +0 -0
- package/es/selectResourceModal/components/List/ListSystem/index.d.ts +0 -0
- package/es/selectResourceModal/components/List/ListVideo/index.d.ts +0 -0
- package/es/selectResourceModal/components/List/ListWraper.d.ts +0 -0
- package/es/selectResourceModal/components/ListSelected/index.d.ts +0 -0
- package/es/selectResourceModal/components/ListTabs/index.d.ts +0 -0
- package/es/selectResourceModal/hooks/useResponsiveFilter.d.ts +21 -0
- package/es/selectResourceModal/hooks/useResponsiveFilter.js +142 -0
- package/es/selectResourceModal/index.d.ts +2 -0
- package/es/selectResourceModal/scripts/selectionApis.d.ts +2 -0
- package/es/selectResourceModal/scripts/useCompoLf.d.ts +27 -0
- package/es/selectResourceModal/scripts/useResourceSelect.d.ts +7 -0
- package/es/selectResourceModal/scripts/useTabFilter.d.ts +22 -0
- package/es/selectResourceModal/style/index.css +45 -4
- package/es/selectResourceModal/style/index.d.ts +1 -0
- package/es/selectResourceModal/style/index.less +14 -0
- package/es/selectResourceModal/style/list.less +40 -4
- 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/components/ThumbUploading/index.d.ts +0 -0
- package/es/thumbCard/index.d.ts +2 -0
- package/es/thumbCard/style/index.d.ts +1 -0
- 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 +96 -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 +21 -0
- package/es/utils/index.d.ts +17 -0
- package/es/utils/index.js +6 -6
- package/es/utils/request.d.ts +9 -0
- package/es/utils/resource.d.ts +4 -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 +12 -0
- package/es/videoThumb/style/index.d.ts +1 -0
- package/lib/contentDetailList/component.js +24 -0
- package/lib/contentDetailList/components/Content/index.js +2 -1
- package/lib/contentDetailList/components/Doc/index.js +6 -0
- package/lib/hooks/usePopper.js +3 -3
- package/lib/index.css +45 -4
- package/lib/selectResourceModal/components/List/ListNormal/Filter.js +189 -87
- package/lib/selectResourceModal/components/List/ListNormal/index.js +22 -6
- package/lib/selectResourceModal/hooks/useResponsiveFilter.js +144 -0
- package/lib/selectResourceModal/style/index.css +45 -4
- package/lib/selectResourceModal/style/index.less +14 -0
- package/lib/selectResourceModal/style/list.less +40 -4
- package/lib/utils/index.js +6 -6
- package/package.json +1 -1
package/es/hooks/usePopper.js
CHANGED
|
@@ -8,16 +8,16 @@ function usePopper(pannel, triggerEl) {
|
|
|
8
8
|
};
|
|
9
9
|
const show = () => {
|
|
10
10
|
visible.value = true;
|
|
11
|
-
window.onclick = (
|
|
11
|
+
window.onclick = () => {
|
|
12
12
|
hide();
|
|
13
13
|
visible.value = false;
|
|
14
14
|
window.onclick = null;
|
|
15
15
|
};
|
|
16
16
|
};
|
|
17
|
-
const initPopper = (placement = "bottom-start") => {
|
|
17
|
+
const initPopper = (placement = "bottom-start", of) => {
|
|
18
18
|
if (!pannel.value || !triggerEl.value)
|
|
19
19
|
return;
|
|
20
|
-
const offset = [0, 10];
|
|
20
|
+
const offset = of != null ? of : [0, 10];
|
|
21
21
|
if (window.__POWERED_BY_WUJIE__) {
|
|
22
22
|
offset[1] = -54;
|
|
23
23
|
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
declare type SelectOptionsType = {
|
|
2
|
+
label: string;
|
|
3
|
+
value: any;
|
|
4
|
+
};
|
|
5
|
+
declare type QueryParams = {
|
|
6
|
+
limit: number;
|
|
7
|
+
offset: number;
|
|
8
|
+
keyword: string;
|
|
9
|
+
others?: any;
|
|
10
|
+
};
|
|
11
|
+
declare type HookOptionParams = {
|
|
12
|
+
labelStr: string;
|
|
13
|
+
valueStr: string;
|
|
14
|
+
func: (params: QueryParams) => any;
|
|
15
|
+
};
|
|
16
|
+
export default function useSelection(params: HookOptionParams): {
|
|
17
|
+
options: import("vue").Ref<{
|
|
18
|
+
label: string;
|
|
19
|
+
value: any;
|
|
20
|
+
}[], SelectOptionsType[] | {
|
|
21
|
+
label: string;
|
|
22
|
+
value: any;
|
|
23
|
+
}[]>;
|
|
24
|
+
loading: import("vue").Ref<boolean, boolean>;
|
|
25
|
+
keyword: import("vue").Ref<string, string>;
|
|
26
|
+
load: (more?: boolean | undefined) => Promise<void>;
|
|
27
|
+
handleSearch: (kw: string) => void;
|
|
28
|
+
loadMore: () => void;
|
|
29
|
+
};
|
|
30
|
+
export {};
|
|
@@ -0,0 +1,30 @@
|
|
|
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 getSize(value: number): string;
|
|
11
|
+
export declare function addMedia(BASE_API: string, params: TypeAddMediaParam): Promise<import("axios").AxiosResponse<any, any>>;
|
|
12
|
+
export declare function getMediaDetails(BASE_API: string, repoId: number, id: number): Promise<import("axios").AxiosResponse<any, any>>;
|
|
13
|
+
export declare function reTranscodeMedia(BASE_API: string, media_id: number): Promise<import("axios").AxiosResponse<any, any>>;
|
|
14
|
+
declare type UploadOptions = {
|
|
15
|
+
noAddMedia: boolean;
|
|
16
|
+
};
|
|
17
|
+
export default function useUpload(options?: UploadOptions): {
|
|
18
|
+
list: import("vue").Ref<any[], any[]>;
|
|
19
|
+
uploadFile: (BASE_API: string, file: any, dir: number | undefined, repoId: number, callback?: CallbackFunc | undefined) => void;
|
|
20
|
+
reTranscode: (BASE_API: string, file: any) => Promise<boolean>;
|
|
21
|
+
transcodingFile: (BASE_API: string, file: any, repoId: number) => void;
|
|
22
|
+
recordTaskStatusChange: (file: any, progress: number, isTrans?: boolean | undefined) => void;
|
|
23
|
+
removeRecord: (file: any) => void;
|
|
24
|
+
};
|
|
25
|
+
export declare function useUploadConfig(): {
|
|
26
|
+
config: import("vue").Ref<any, any>;
|
|
27
|
+
checkFileSizeOutLimit: (file: File, callback: (msg: string) => void) => boolean;
|
|
28
|
+
initUploadConfig: (BASE_API: string, domainId: number) => Promise<void>;
|
|
29
|
+
};
|
|
30
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
interface Params {
|
|
2
|
+
[key: string]: any;
|
|
3
|
+
}
|
|
4
|
+
export declare function getChannels(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any>>;
|
|
5
|
+
declare const useLoadUserInfo: (BASE_API: string) => {
|
|
6
|
+
userInfo: import("vue").Ref<any, 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): Promise<import("axios").AxiosResponse<any, any>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.less';
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.less';
|
package/es/index.css
CHANGED
|
@@ -4529,11 +4529,13 @@
|
|
|
4529
4529
|
}
|
|
4530
4530
|
.resource-list-footer,
|
|
4531
4531
|
.resource-list-header,
|
|
4532
|
+
.resource-list-content .resource-list-content-empty,
|
|
4532
4533
|
.resource-list-content .arco-scrollbar-container {
|
|
4533
4534
|
padding: 0 40px;
|
|
4534
4535
|
}
|
|
4535
4536
|
.resource-list-footer {
|
|
4536
4537
|
display: flex;
|
|
4538
|
+
flex-wrap: wrap;
|
|
4537
4539
|
justify-content: space-between;
|
|
4538
4540
|
padding-bottom: 20px;
|
|
4539
4541
|
}
|
|
@@ -4543,6 +4545,10 @@
|
|
|
4543
4545
|
gap: 10px;
|
|
4544
4546
|
align-items: center;
|
|
4545
4547
|
justify-content: flex-end;
|
|
4548
|
+
margin-top: 10px;
|
|
4549
|
+
}
|
|
4550
|
+
.resource-list-footer .footer-right .list-selected-wrapper {
|
|
4551
|
+
font-size: 12px;
|
|
4546
4552
|
}
|
|
4547
4553
|
.resource-list-content-loading {
|
|
4548
4554
|
display: flex;
|
|
@@ -4554,7 +4560,7 @@
|
|
|
4554
4560
|
.resource-list .list-item-grid {
|
|
4555
4561
|
display: grid;
|
|
4556
4562
|
grid-gap: 20px;
|
|
4557
|
-
grid-template-columns: repeat(
|
|
4563
|
+
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
|
|
4558
4564
|
}
|
|
4559
4565
|
.resource-list .list-content {
|
|
4560
4566
|
margin-top: 30px;
|
|
@@ -4597,7 +4603,8 @@
|
|
|
4597
4603
|
}
|
|
4598
4604
|
.resource-list .list-filter-wrapper .list-filter-tags {
|
|
4599
4605
|
display: flex;
|
|
4600
|
-
|
|
4606
|
+
flex-wrap: wrap;
|
|
4607
|
+
gap: 10px;
|
|
4601
4608
|
margin-top: 10px;
|
|
4602
4609
|
}
|
|
4603
4610
|
.resource-list .list-filter-wrapper .list-filter-tags .list-filter-tag {
|
|
@@ -4618,16 +4625,41 @@
|
|
|
4618
4625
|
justify-content: space-between;
|
|
4619
4626
|
}
|
|
4620
4627
|
.resource-list .list-filter-wrapper .list-filter .filter-list {
|
|
4628
|
+
position: relative;
|
|
4629
|
+
/** 给 popup 一个参考 */
|
|
4621
4630
|
display: flex;
|
|
4622
|
-
flex-wrap: wrap;
|
|
4623
|
-
gap: 10px;
|
|
4624
4631
|
}
|
|
4625
4632
|
.resource-list .list-filter-wrapper .list-filter .filter-list .filter-item {
|
|
4626
4633
|
width: 100px;
|
|
4634
|
+
margin-right: 10px;
|
|
4635
|
+
}
|
|
4636
|
+
.resource-list .list-filter-wrapper .list-filter .filter-list .arco-trigger-popup {
|
|
4637
|
+
z-index: 100000 !important;
|
|
4627
4638
|
}
|
|
4628
4639
|
.resource-list .list-filter-wrapper .list-filter .arco-input-prepend {
|
|
4629
4640
|
padding: 0;
|
|
4630
4641
|
}
|
|
4642
|
+
.resource-list .list-filter-wrapper .list-filter .more-btn {
|
|
4643
|
+
position: relative;
|
|
4644
|
+
/** 给 poperjs 一个参考 */
|
|
4645
|
+
}
|
|
4646
|
+
.resource-list .list-filter-wrapper .list-filter .more-btn .filter-pannel {
|
|
4647
|
+
inset: 40px auto auto auto !important;
|
|
4648
|
+
}
|
|
4649
|
+
.resource-list .list-filter-wrapper .filter-extra {
|
|
4650
|
+
display: flex;
|
|
4651
|
+
gap: 10px;
|
|
4652
|
+
}
|
|
4653
|
+
.resource-list .list-filter-wrapper .filter-pannel {
|
|
4654
|
+
z-index: 100000;
|
|
4655
|
+
display: flex;
|
|
4656
|
+
flex-direction: column;
|
|
4657
|
+
gap: 10px;
|
|
4658
|
+
padding: 10px;
|
|
4659
|
+
background-color: #fff;
|
|
4660
|
+
border-radius: 4px;
|
|
4661
|
+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
|
|
4662
|
+
}
|
|
4631
4663
|
.resource-list .title {
|
|
4632
4664
|
display: flex;
|
|
4633
4665
|
gap: 8px;
|
|
@@ -4641,6 +4673,10 @@
|
|
|
4641
4673
|
height: 16px;
|
|
4642
4674
|
background-color: #4886ff;
|
|
4643
4675
|
}
|
|
4676
|
+
.resource-select-wrap {
|
|
4677
|
+
width: 100%;
|
|
4678
|
+
height: 100%;
|
|
4679
|
+
}
|
|
4644
4680
|
.resource-select-modal-body {
|
|
4645
4681
|
height: 80vh;
|
|
4646
4682
|
padding: 0;
|
|
@@ -4669,6 +4705,11 @@
|
|
|
4669
4705
|
.resource-select-container .resource-select-header .arco-tabs-content {
|
|
4670
4706
|
display: none !important;
|
|
4671
4707
|
}
|
|
4708
|
+
.resource-select-container .resource-list-content .resource-list-content-empty {
|
|
4709
|
+
box-sizing: border-box;
|
|
4710
|
+
width: 100%;
|
|
4711
|
+
height: 100%;
|
|
4712
|
+
}
|
|
4672
4713
|
.iframe-container {
|
|
4673
4714
|
position: relative;
|
|
4674
4715
|
height: 95vh;
|
package/es/index.d.ts
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
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';
|
|
30
|
+
export { default as importData } from './importData';
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
declare type KeyValueType = {
|
|
2
|
+
[key: number]: string;
|
|
3
|
+
};
|
|
4
|
+
export declare const approveFlowStatusMap: KeyValueType;
|
|
5
|
+
export declare const provalTypeMap: KeyValueType;
|
|
6
|
+
export declare function getApprovalStateOptions(): {
|
|
7
|
+
value: any;
|
|
8
|
+
label: string;
|
|
9
|
+
}[];
|
|
10
|
+
export declare function getProvalTypeOptions(): {
|
|
11
|
+
value: any;
|
|
12
|
+
label: string;
|
|
13
|
+
}[];
|
|
14
|
+
declare type OSType = {
|
|
15
|
+
value: number | string;
|
|
16
|
+
label: string;
|
|
17
|
+
type?: string;
|
|
18
|
+
key?: string;
|
|
19
|
+
};
|
|
20
|
+
declare type FilterType = 'APV' | 'MINE' | 'CONTENT' | 'STORE';
|
|
21
|
+
export declare function useHighLevelSearch(filterType: FilterType): {
|
|
22
|
+
sortOptions: OSType[];
|
|
23
|
+
showHighLevelSearch: import("vue").ComputedRef<boolean>;
|
|
24
|
+
highLevelSearchOptions: import("vue").ComputedRef<OSType[]>;
|
|
25
|
+
};
|
|
26
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare type FilterType = 'DOC' | 'MEDIA' | 'MP_ACOUNT' | 'MP_CONTENT';
|
|
2
|
+
export declare type DocFilterType = 'APV' | 'MINE' | 'CONTENT' | 'STORE';
|
|
3
|
+
export declare type Keys = 'doc_type' | 'doc_state' | 'doc_thumb' | 'pub_time' | 'doc_banner' | 'apv_state';
|
|
4
|
+
export declare type DocFilterKeys = Keys[];
|
|
5
|
+
export interface FilterValue {
|
|
6
|
+
keywords: string;
|
|
7
|
+
doc_type: string;
|
|
8
|
+
doc_state: string;
|
|
9
|
+
doc_thumb: string;
|
|
10
|
+
pub_time: [];
|
|
11
|
+
highSearch: {
|
|
12
|
+
order: string;
|
|
13
|
+
sort: -1 | 1;
|
|
14
|
+
meta: any;
|
|
15
|
+
};
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.less';
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
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 getNoticeList(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any>>;
|
|
5
|
+
export declare function setAllMsgRead(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any>>;
|
|
6
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.less';
|
|
File without changes
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
interface Params {
|
|
2
|
+
repo_id?: string;
|
|
3
|
+
app_id?: number;
|
|
4
|
+
[key: string]: any;
|
|
5
|
+
}
|
|
6
|
+
export declare function getChildCategorylists(BASE_API: string, params: Params): Promise<import("axios").AxiosResponse<any, any>>;
|
|
7
|
+
export declare function getCategorylists(BASE_API: string, repository_id: string, channel_id: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
8
|
+
export declare function getCategorylistsGroups(BASE_API: string, params: Params, data?: {
|
|
9
|
+
repeatReport: boolean;
|
|
10
|
+
}): Promise<any>;
|
|
11
|
+
export declare function getMlists(BASE_API: string, params: Params, data?: {
|
|
12
|
+
repeatReport: boolean;
|
|
13
|
+
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
14
|
+
export declare function submitTo(BASE_API: string, data: Params): Promise<import("axios").AxiosResponse<any, any>>;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.less';
|
|
File without changes
|
|
File without changes
|
|
@@ -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
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
interface Params {
|
|
2
|
+
[key: string]: any;
|
|
3
|
+
}
|
|
4
|
+
export declare function getAttachmentsAll(BASE_API: string, query?: Params): Promise<import("axios").AxiosResponse<any, any>>;
|
|
5
|
+
export declare function getAttachmentsMy(BASE_API: string, query?: Params): Promise<import("axios").AxiosResponse<any, any>>;
|
|
6
|
+
export declare function getDirectories(BASE_API: string, query?: Params): Promise<import("axios").AxiosResponse<any, any>>;
|
|
7
|
+
export declare function getAccountList(BASE_API: string, id: number, query: Params): Promise<import("axios").AxiosResponse<any, any>>;
|
|
8
|
+
/** @description 系统内置素材部分接口 --- */
|
|
9
|
+
/**
|
|
10
|
+
* ps:
|
|
11
|
+
* 1. 内置素材分类 type:
|
|
12
|
+
* thumb:稿件素材
|
|
13
|
+
* compoIcon:组件 icon
|
|
14
|
+
* pushIcon:品宣 icon
|
|
15
|
+
* navBg:导航背景
|
|
16
|
+
* navIcon:导航 icon
|
|
17
|
+
*/
|
|
18
|
+
export declare function addSysRs(BASE_API: string, data: any, params: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
19
|
+
export declare function setSysRsClassifyName(BASE_API: string, params: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
20
|
+
export declare function getSysRsClassifyList(BASE_API: string, sys_tag: number): Promise<import("axios").AxiosResponse<any, any>>;
|
|
21
|
+
export declare function addSysRsClassify(BASE_API: string, params: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
22
|
+
export declare function delSySRsClassify(BASE_API: string, params: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
23
|
+
export declare function getSysRsByTag(BASE_API: string, params: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
24
|
+
export declare function getSysRsPage(BASE_API: string, params: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
25
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare type BreadCrumbsType = {
|
|
2
|
+
directory_id: number;
|
|
3
|
+
alias: string;
|
|
4
|
+
};
|
|
5
|
+
export declare type FilesQueryParamType = {
|
|
6
|
+
directory_id: number;
|
|
7
|
+
limit: number;
|
|
8
|
+
offset: number;
|
|
9
|
+
catalog: string;
|
|
10
|
+
};
|
|
11
|
+
export declare type MediaUseType = 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
12
|
+
export declare const mediaUseEnum: {
|
|
13
|
+
[key: string]: MediaUseType;
|
|
14
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.less';
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
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 getCategoryPath(BASE_API: string, params: Params): Promise<import("axios").AxiosResponse<any, any>>;
|
|
5
|
+
export declare function getCategoryCategoriesTree(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any>>;
|
|
6
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.less';
|