@cmstops/pro-compo 3.9.2-alpha.26 → 3.9.2-alpha.27
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 +13 -0
- package/dist/index.min.css +1 -1
- package/es/appCenter/component.d.ts +0 -0
- package/es/appCenter/component.js +0 -1
- 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/FilterGroup.js +18 -9
- 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 +6 -3
- 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/DocItem/index.js +46 -24
- 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/Doc/index.js +5 -2
- 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/QrcodeView/index.js +2 -2
- 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/DocItem.less +15 -0
- package/es/contentDetailList/style/index.css +13 -0
- package/es/contentDetailList/style/index.d.ts +1 -0
- package/es/contentModal/component.d.ts +0 -0
- package/es/contentModal/component.js +8 -8
- 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/components/storeBox/index.js +2 -2
- 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/component.js +5 -5
- 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 +1 -1
- 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/component.js +13 -13
- package/es/docPreview/components/PreviewIframe.d.ts +0 -0
- package/es/docPreview/index.d.ts +2 -0
- package/es/docPreview/scripts/api.d.ts +2 -0
- package/es/docPreview/scripts/hook.d.ts +43 -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/components/metaInfoForm.js +2 -2
- 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/useSelection.d.ts +30 -0
- package/es/hooks/useUpload.d.ts +78 -0
- package/es/hooks/user.d.ts +9 -0
- package/es/imageCrop/component.d.ts +0 -0
- package/es/imageCrop/component.js +2 -2
- 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/component.js +4 -4
- package/es/importData/index.d.ts +2 -0
- package/es/importData/style/index.d.ts +1 -0
- package/es/index.css +13 -0
- package/es/index.d.ts +31 -0
- package/es/mediaFilter/component.d.ts +0 -0
- package/es/mediaFilter/components/DocFilter.d.ts +0 -0
- package/es/mediaFilter/components/DocFilter.js +1 -1
- package/es/mediaFilter/components/FilterGroup.d.ts +0 -0
- package/es/mediaFilter/components/FilterGroup.js +1 -1
- 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/component.js +1 -1
- 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/component.js +1 -1
- 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/component.js +1 -1
- 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/MainContent/index.js +1 -1
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.d.ts +0 -0
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.js +1 -1
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.d.ts +0 -0
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.js +1 -1
- 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/ToolbarSearch/index.js +1 -1
- 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/selectAddTo/component.d.ts +0 -0
- package/es/selectAddTo/components/SelectAddToView.d.ts +0 -0
- package/es/selectAddTo/components/SelectAddToView.js +2 -2
- package/es/selectAddTo/components/ViewAllColumn/MediaFilter/index.d.ts +0 -0
- package/es/selectAddTo/components/ViewAllColumn/index.d.ts +0 -0
- package/es/selectAddTo/components/ViewAllColumn/script/useTableColumns.d.ts +6 -0
- package/es/selectAddTo/components/ViewAllColumn/script/useViewAllColumnState.d.ts +144 -0
- package/es/selectAddTo/components/ViewAllColumn/types/index.d.ts +55 -0
- package/es/selectAddTo/index.d.ts +2 -0
- package/es/selectAddTo/script/api.d.ts +18 -0
- package/es/selectAddTo/script/index.d.ts +2 -0
- package/es/selectAddTo/script/useSelectAddToState.d.ts +13 -0
- package/es/selectAddTo/style/index.d.ts +1 -0
- package/es/selectAddTo/types/index.d.ts +37 -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/component.js +1 -1
- 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 +261 -0
- package/es/selectResourceModal/__demo__/module/basic.d.ts +292 -0
- package/es/selectResourceModal/component.d.ts +0 -0
- package/es/selectResourceModal/component.js +7 -15
- 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/Upload.js +1 -1
- 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 +5 -5
- package/es/selectResourceModal/components/List/ListNormal/index.d.ts +0 -0
- package/es/selectResourceModal/components/List/ListSystem/Filter.d.ts +0 -0
- package/es/selectResourceModal/components/List/ListSystem/Filter.js +1 -1
- package/es/selectResourceModal/components/List/ListSystem/SubList.d.ts +0 -0
- package/es/selectResourceModal/components/List/ListSystem/SubList.js +1 -1
- 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/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/scripts/useTabFilter.js +1 -11
- package/es/selectResourceModal/style/index.d.ts +1 -0
- 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/UploadBefore.js +1 -1
- 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/component.js +1 -1
- 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/component.js +1 -1
- 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/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/appCenter/component.js +0 -1
- package/lib/baseFilter/components/FilterGroup.js +17 -8
- package/lib/contentDetailList/component.js +6 -3
- package/lib/contentDetailList/components/Content/DocItem/index.js +46 -24
- package/lib/contentDetailList/components/Doc/index.js +5 -2
- package/lib/contentDetailList/components/ShowQRCode/QrcodeView/index.js +2 -2
- package/lib/contentDetailList/style/DocItem.less +15 -0
- package/lib/contentDetailList/style/index.css +13 -0
- package/lib/contentModal/component.js +8 -8
- package/lib/contentModal/components/storeBox/index.js +2 -2
- package/lib/dataTags/component.js +5 -5
- package/lib/docHistory/component.js +1 -1
- package/lib/docPreview/component.js +13 -13
- package/lib/editMetaInfo/components/metaInfoForm.js +2 -2
- package/lib/imageCrop/component.js +2 -2
- package/lib/importData/component.js +4 -4
- package/lib/index.css +13 -0
- package/lib/mediaFilter/components/DocFilter.js +1 -1
- package/lib/mediaFilter/components/FilterGroup.js +1 -1
- package/lib/messageBox/component.js +1 -1
- package/lib/resourceGridList/component.js +1 -1
- package/lib/resourceModal/component.js +1 -1
- package/lib/resourceModal/components/MediaSelection/MainContent/index.js +1 -1
- package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.js +1 -1
- package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.js +1 -1
- package/lib/resourceModal/components/MediaSelection/ToolbarSearch/index.js +1 -1
- package/lib/selectAddTo/components/SelectAddToView.js +2 -2
- package/lib/selectGategory/component.js +1 -1
- package/lib/selectResourceModal/component.js +6 -14
- package/lib/selectResourceModal/components/List/ListLocal/Upload.js +1 -1
- package/lib/selectResourceModal/components/List/ListNormal/Filter.js +5 -5
- package/lib/selectResourceModal/components/List/ListSystem/Filter.js +1 -1
- package/lib/selectResourceModal/components/List/ListSystem/SubList.js +1 -1
- package/lib/selectResourceModal/scripts/useTabFilter.js +1 -13
- package/lib/uploadBefore/components/UploadBefore.js +1 -1
- package/lib/userAvater/component.js +1 -1
- package/lib/userDirector/component.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
interface Params {
|
|
2
|
+
[key: string]: any;
|
|
3
|
+
}
|
|
4
|
+
export declare function getCategoryCategoriesTree(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any>>;
|
|
5
|
+
export declare function getCategoryPath(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any>>;
|
|
6
|
+
export declare function getCategoryMediaNew(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any>>;
|
|
7
|
+
export declare function checkCommitFulfillment(BASE_API: string, params?: Params): Promise<boolean>;
|
|
8
|
+
export declare function searchMlists(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any>>;
|
|
9
|
+
export declare function getCategorylistsGroups(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any>>;
|
|
10
|
+
export declare function searchMpaccount(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any>>;
|
|
11
|
+
export declare function getBroadcastList(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any>>;
|
|
12
|
+
export declare function getEqxiuList(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any>>;
|
|
13
|
+
export declare function getMpContentList(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any>>;
|
|
14
|
+
export declare function getRevealContent(BASE_API: string, params: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
15
|
+
export declare function getConfigurationNew(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any>>;
|
|
16
|
+
export declare function getReporterContent(BASE_API: string, params: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
17
|
+
export declare function getTypeConfig(BASE_API: string, params: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
18
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.less';
|
|
File without changes
|
package/es/dataTags/component.js
CHANGED
|
@@ -131,7 +131,7 @@ const _sfc_main = defineComponent({
|
|
|
131
131
|
class: normalizeClass([{ disabled: _ctx.disabled }, "yuanchuang"])
|
|
132
132
|
}, {
|
|
133
133
|
default: withCtx(() => _cache[1] || (_cache[1] = [
|
|
134
|
-
createTextVNode("\u539F\u521B")
|
|
134
|
+
createTextVNode("\u539F\u521B", -1)
|
|
135
135
|
])),
|
|
136
136
|
_: 1,
|
|
137
137
|
__: [1]
|
|
@@ -150,7 +150,7 @@ const _sfc_main = defineComponent({
|
|
|
150
150
|
class: normalizeClass([{ disabled: _ctx.disabled }, "star"])
|
|
151
151
|
}, {
|
|
152
152
|
default: withCtx(() => _cache[2] || (_cache[2] = [
|
|
153
|
-
createTextVNode("\u63A8\u8350")
|
|
153
|
+
createTextVNode("\u63A8\u8350", -1)
|
|
154
154
|
])),
|
|
155
155
|
_: 1,
|
|
156
156
|
__: [2]
|
|
@@ -169,7 +169,7 @@ const _sfc_main = defineComponent({
|
|
|
169
169
|
class: normalizeClass([{ disabled: _ctx.disabled }, "waring"])
|
|
170
170
|
}, {
|
|
171
171
|
default: withCtx(() => _cache[3] || (_cache[3] = [
|
|
172
|
-
createTextVNode("\u654F\u611F")
|
|
172
|
+
createTextVNode("\u654F\u611F", -1)
|
|
173
173
|
])),
|
|
174
174
|
_: 1,
|
|
175
175
|
__: [3]
|
|
@@ -188,7 +188,7 @@ const _sfc_main = defineComponent({
|
|
|
188
188
|
class: normalizeClass([{ disabled: _ctx.disabled }, "star"])
|
|
189
189
|
}, {
|
|
190
190
|
default: withCtx(() => _cache[4] || (_cache[4] = [
|
|
191
|
-
createTextVNode("\u5DF2\u63A8\u9001")
|
|
191
|
+
createTextVNode("\u5DF2\u63A8\u9001", -1)
|
|
192
192
|
])),
|
|
193
193
|
_: 1,
|
|
194
194
|
__: [4]
|
|
@@ -225,7 +225,7 @@ const _sfc_main = defineComponent({
|
|
|
225
225
|
class: normalizeClass([{ disabled: _ctx.disabled }, "matrix"])
|
|
226
226
|
}, {
|
|
227
227
|
default: withCtx(() => _cache[5] || (_cache[5] = [
|
|
228
|
-
createTextVNode(" \u77E9\u9635\u5206\u53D1 ")
|
|
228
|
+
createTextVNode(" \u77E9\u9635\u5206\u53D1 ", -1)
|
|
229
229
|
])),
|
|
230
230
|
_: 1,
|
|
231
231
|
__: [5]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.less';
|
|
File without changes
|
|
@@ -99,7 +99,7 @@ const _sfc_main = defineComponent({
|
|
|
99
99
|
onClick: handeRevert
|
|
100
100
|
}, {
|
|
101
101
|
default: withCtx(() => _cache[1] || (_cache[1] = [
|
|
102
|
-
createTextVNode(" \u8FD8\u539F\u6B64\u7248\u672C ")
|
|
102
|
+
createTextVNode(" \u8FD8\u539F\u6B64\u7248\u672C ", -1)
|
|
103
103
|
])),
|
|
104
104
|
_: 1,
|
|
105
105
|
__: [1]
|
|
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): Promise<import("axios").AxiosResponse<any, any>>;
|
|
2
|
+
export declare function useDocHistory(BASE_API: string): {
|
|
3
|
+
diffContent: import("vue").Ref<any, any>;
|
|
4
|
+
current: import("vue").Ref<number, number>;
|
|
5
|
+
loading: import("vue").Ref<boolean, boolean>;
|
|
6
|
+
list: import("vue").Ref<any[], any[]>;
|
|
7
|
+
loadData: () => Promise<void>;
|
|
8
|
+
initParams: (mediaId: number, docPub: boolean) => void;
|
|
9
|
+
handleSelect: (idx: number) => Promise<void>;
|
|
10
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.less';
|
|
File without changes
|
|
@@ -120,7 +120,7 @@ const _sfc_main = defineComponent({
|
|
|
120
120
|
onClick: unref(copy)
|
|
121
121
|
}, {
|
|
122
122
|
default: withCtx(() => _cache[16] || (_cache[16] = [
|
|
123
|
-
createTextVNode(" \u590D\u5236\u94FE\u63A5 ")
|
|
123
|
+
createTextVNode(" \u590D\u5236\u94FE\u63A5 ", -1)
|
|
124
124
|
])),
|
|
125
125
|
_: 1,
|
|
126
126
|
__: [16]
|
|
@@ -137,7 +137,7 @@ const _sfc_main = defineComponent({
|
|
|
137
137
|
onClick: _cache[2] || (_cache[2] = ($event) => unref(cancel)())
|
|
138
138
|
}, {
|
|
139
139
|
default: withCtx(() => _cache[18] || (_cache[18] = [
|
|
140
|
-
createTextVNode("\u53D6\u6D88\u9884\u89C8\u94FE\u63A5")
|
|
140
|
+
createTextVNode("\u53D6\u6D88\u9884\u89C8\u94FE\u63A5", -1)
|
|
141
141
|
])),
|
|
142
142
|
_: 1,
|
|
143
143
|
__: [18]
|
|
@@ -147,7 +147,7 @@ const _sfc_main = defineComponent({
|
|
|
147
147
|
onClick: _cache[3] || (_cache[3] = ($event) => unref(cancel)(true))
|
|
148
148
|
}, {
|
|
149
149
|
default: withCtx(() => _cache[19] || (_cache[19] = [
|
|
150
|
-
createTextVNode(" \u66F4\u65B0\u9884\u89C8\u6709\u6548\u671F ")
|
|
150
|
+
createTextVNode(" \u66F4\u65B0\u9884\u89C8\u6709\u6548\u671F ", -1)
|
|
151
151
|
])),
|
|
152
152
|
_: 1,
|
|
153
153
|
__: [19]
|
|
@@ -168,7 +168,7 @@ const _sfc_main = defineComponent({
|
|
|
168
168
|
onClick: unref(copy)
|
|
169
169
|
}, {
|
|
170
170
|
default: withCtx(() => _cache[21] || (_cache[21] = [
|
|
171
|
-
createTextVNode(" \u590D\u5236\u94FE\u63A5 ")
|
|
171
|
+
createTextVNode(" \u590D\u5236\u94FE\u63A5 ", -1)
|
|
172
172
|
])),
|
|
173
173
|
_: 1,
|
|
174
174
|
__: [21]
|
|
@@ -209,7 +209,7 @@ const _sfc_main = defineComponent({
|
|
|
209
209
|
onClick: _cache[5] || (_cache[5] = () => unref(generate)())
|
|
210
210
|
}, {
|
|
211
211
|
default: withCtx(() => _cache[26] || (_cache[26] = [
|
|
212
|
-
createTextVNode(" \u751F\u6210\u9884\u89C8\u94FE\u63A5 ")
|
|
212
|
+
createTextVNode(" \u751F\u6210\u9884\u89C8\u94FE\u63A5 ", -1)
|
|
213
213
|
])),
|
|
214
214
|
_: 1,
|
|
215
215
|
__: [26]
|
|
@@ -240,7 +240,7 @@ const _sfc_main = defineComponent({
|
|
|
240
240
|
onClick: unref(copyPC)
|
|
241
241
|
}, {
|
|
242
242
|
default: withCtx(() => _cache[29] || (_cache[29] = [
|
|
243
|
-
createTextVNode(" \u590D\u5236\u94FE\u63A5 ")
|
|
243
|
+
createTextVNode(" \u590D\u5236\u94FE\u63A5 ", -1)
|
|
244
244
|
])),
|
|
245
245
|
_: 1,
|
|
246
246
|
__: [29]
|
|
@@ -257,7 +257,7 @@ const _sfc_main = defineComponent({
|
|
|
257
257
|
onClick: _cache[7] || (_cache[7] = ($event) => unref(cancelPc)())
|
|
258
258
|
}, {
|
|
259
259
|
default: withCtx(() => _cache[31] || (_cache[31] = [
|
|
260
|
-
createTextVNode("\u53D6\u6D88\u9884\u89C8\u94FE\u63A5")
|
|
260
|
+
createTextVNode("\u53D6\u6D88\u9884\u89C8\u94FE\u63A5", -1)
|
|
261
261
|
])),
|
|
262
262
|
_: 1,
|
|
263
263
|
__: [31]
|
|
@@ -267,7 +267,7 @@ const _sfc_main = defineComponent({
|
|
|
267
267
|
onClick: _cache[8] || (_cache[8] = ($event) => unref(previewSite)())
|
|
268
268
|
}, {
|
|
269
269
|
default: withCtx(() => _cache[32] || (_cache[32] = [
|
|
270
|
-
createTextVNode("\u7AD9\u70B9\u9884\u89C8")
|
|
270
|
+
createTextVNode("\u7AD9\u70B9\u9884\u89C8", -1)
|
|
271
271
|
])),
|
|
272
272
|
_: 1,
|
|
273
273
|
__: [32]
|
|
@@ -285,7 +285,7 @@ const _sfc_main = defineComponent({
|
|
|
285
285
|
onClick: unref(copyPC)
|
|
286
286
|
}, {
|
|
287
287
|
default: withCtx(() => _cache[33] || (_cache[33] = [
|
|
288
|
-
createTextVNode(" \u590D\u5236\u94FE\u63A5 ")
|
|
288
|
+
createTextVNode(" \u590D\u5236\u94FE\u63A5 ", -1)
|
|
289
289
|
])),
|
|
290
290
|
_: 1,
|
|
291
291
|
__: [33]
|
|
@@ -300,7 +300,7 @@ const _sfc_main = defineComponent({
|
|
|
300
300
|
onClick: _cache[9] || (_cache[9] = ($event) => unref(previewSite)())
|
|
301
301
|
}, {
|
|
302
302
|
default: withCtx(() => _cache[35] || (_cache[35] = [
|
|
303
|
-
createTextVNode("\u7AD9\u70B9\u9884\u89C8")
|
|
303
|
+
createTextVNode("\u7AD9\u70B9\u9884\u89C8", -1)
|
|
304
304
|
])),
|
|
305
305
|
_: 1,
|
|
306
306
|
__: [35]
|
|
@@ -337,7 +337,7 @@ const _sfc_main = defineComponent({
|
|
|
337
337
|
onClick: _cache[11] || (_cache[11] = () => unref(generatePC)())
|
|
338
338
|
}, {
|
|
339
339
|
default: withCtx(() => _cache[38] || (_cache[38] = [
|
|
340
|
-
createTextVNode(" \u751F\u6210\u9884\u89C8\u94FE\u63A5 ")
|
|
340
|
+
createTextVNode(" \u751F\u6210\u9884\u89C8\u94FE\u63A5 ", -1)
|
|
341
341
|
])),
|
|
342
342
|
_: 1,
|
|
343
343
|
__: [38]
|
|
@@ -356,14 +356,14 @@ const _sfc_main = defineComponent({
|
|
|
356
356
|
onClick: _cache[13] || (_cache[13] = withModifiers(($event) => unref(btn_device)("mobile"), ["stop"]))
|
|
357
357
|
}, _cache[40] || (_cache[40] = [
|
|
358
358
|
createElementVNode("i", { class: "iconfont icon-a-shouji51" }, null, -1),
|
|
359
|
-
createTextVNode(" APP\u9884\u89C8 ")
|
|
359
|
+
createTextVNode(" APP\u9884\u89C8 ", -1)
|
|
360
360
|
])),
|
|
361
361
|
createElementVNode("span", {
|
|
362
362
|
style: { "cursor": "pointer" },
|
|
363
363
|
onClick: _cache[14] || (_cache[14] = withModifiers(($event) => unref(btn_device)("pc"), ["stop"]))
|
|
364
364
|
}, _cache[41] || (_cache[41] = [
|
|
365
365
|
createElementVNode("i", { class: "iconfont icon-a-xianshiqi11111x" }, null, -1),
|
|
366
|
-
createTextVNode(" PC\u9884\u89C8 ")
|
|
366
|
+
createTextVNode(" PC\u9884\u89C8 ", -1)
|
|
367
367
|
]))
|
|
368
368
|
])
|
|
369
369
|
]);
|
|
File without changes
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
export declare function generateDocPreviewLink(BASE_API: string, params: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
3
|
+
export declare function generateDocPreviewLinkPC(BASE_API: string, params: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
4
|
+
export declare const EXPIRE_TIME_OPTIONS: {
|
|
5
|
+
label: string;
|
|
6
|
+
value: number;
|
|
7
|
+
}[];
|
|
8
|
+
declare type ShareDataType = {
|
|
9
|
+
qrCode: string;
|
|
10
|
+
shareUrl: string;
|
|
11
|
+
expiredAt: number;
|
|
12
|
+
};
|
|
13
|
+
export declare function useDocPreview(BASE_API: string, hashid: Ref<string>): {
|
|
14
|
+
genQrCode: (shareUrl: string, selector: string) => void;
|
|
15
|
+
generate: (cancel?: boolean | undefined) => Promise<boolean>;
|
|
16
|
+
cancel: (update?: boolean | undefined) => Promise<void>;
|
|
17
|
+
copy: () => Promise<void>;
|
|
18
|
+
copyPC: () => Promise<void>;
|
|
19
|
+
qrCode: Ref<string, string>;
|
|
20
|
+
isPublish: Ref<boolean, boolean>;
|
|
21
|
+
loading: Ref<boolean, boolean>;
|
|
22
|
+
expireTime: Ref<number, number>;
|
|
23
|
+
innerUrl: Ref<string, string>;
|
|
24
|
+
shareData: Ref<{
|
|
25
|
+
qrCode: string;
|
|
26
|
+
shareUrl: string;
|
|
27
|
+
expiredAt: number;
|
|
28
|
+
} | null, ShareDataType | {
|
|
29
|
+
qrCode: string;
|
|
30
|
+
shareUrl: string;
|
|
31
|
+
expiredAt: number;
|
|
32
|
+
} | null>;
|
|
33
|
+
pcShareData: Ref<any, any>;
|
|
34
|
+
intervalTime: Ref<string, string>;
|
|
35
|
+
pcIntervalTime: Ref<string, string>;
|
|
36
|
+
numpc: Ref<number, number>;
|
|
37
|
+
btn_device: (device: string) => void;
|
|
38
|
+
pcInnerUrl: Ref<string, string>;
|
|
39
|
+
generatePC: (cancel?: boolean) => Promise<boolean>;
|
|
40
|
+
previewSite: () => void;
|
|
41
|
+
cancelPc: () => Promise<void>;
|
|
42
|
+
};
|
|
43
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.less';
|
|
File without changes
|
|
File without changes
|
|
@@ -760,14 +760,14 @@ const _sfc_main = defineComponent({
|
|
|
760
760
|
default: withCtx(() => [
|
|
761
761
|
createVNode(unref(Radio), { value: 1 }, {
|
|
762
762
|
default: withCtx(() => _cache[29] || (_cache[29] = [
|
|
763
|
-
createTextVNode(" \u9ED8\u54C0\u6A21\u5F0F")
|
|
763
|
+
createTextVNode(" \u9ED8\u54C0\u6A21\u5F0F", -1)
|
|
764
764
|
])),
|
|
765
765
|
_: 1,
|
|
766
766
|
__: [29]
|
|
767
767
|
}),
|
|
768
768
|
createVNode(unref(Radio), { value: 2 }, {
|
|
769
769
|
default: withCtx(() => _cache[30] || (_cache[30] = [
|
|
770
|
-
createTextVNode("\u975E\u9ED8\u54C0\u6A21\u5F0F")
|
|
770
|
+
createTextVNode("\u975E\u9ED8\u54C0\u6A21\u5F0F", -1)
|
|
771
771
|
])),
|
|
772
772
|
_: 1,
|
|
773
773
|
__: [30]
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
interface Params {
|
|
2
|
+
[key: string]: any;
|
|
3
|
+
}
|
|
4
|
+
export declare function getDocDetailsNew(BASE_API: string, query: Params): Promise<import("axios").AxiosResponse<any, any>>;
|
|
5
|
+
export declare function getAllDutyEditor(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 @@
|
|
|
1
|
+
import './index.less';
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function useGenerateAssets(BASE_API: string, params: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare const useTableBatch: () => {
|
|
2
|
+
hoverTarget: import("vue").Ref<null, 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): Promise<import("axios").AxiosResponse<any, any>>;
|
|
5
|
+
declare const useLoadSourceInfo: (BASE_API: string) => {
|
|
6
|
+
SourceInfo: import("vue").Ref<any, any>;
|
|
7
|
+
getSourceInfoHandle: () => Promise<void>;
|
|
8
|
+
};
|
|
9
|
+
export default useLoadSourceInfo;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
export declare function getAttachmentsAll(BASE_API: string, query?: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
2
|
+
export declare function getAttachmentsMy(BASE_API: string, query?: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
3
|
+
export declare function getAttachmentsMyMessage(BASE_API: string, query: any): Promise<import("axios").AxiosResponse<any, 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[], any[]>;
|
|
10
|
+
total: import("vue").Ref<number, number>;
|
|
11
|
+
limit: import("vue").Ref<number, number>;
|
|
12
|
+
offset: import("vue").Ref<number, number>;
|
|
13
|
+
pageIdx: import("vue").ComputedRef<number>;
|
|
14
|
+
loading: import("vue").Ref<boolean, 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[], any[]>;
|
|
23
|
+
initLocalList: () => void;
|
|
24
|
+
setLocalList: (list: any[]) => void;
|
|
25
|
+
};
|
|
26
|
+
export declare type MediaUseType = 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
27
|
+
export declare const mediaUseEnum: {
|
|
28
|
+
[key: string]: MediaUseType;
|
|
29
|
+
};
|
|
30
|
+
export declare function getSysRsByTag(BASE_API: string, params: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
31
|
+
export declare function getSysRsClassifyList(BASE_API: string, sys_tag: number): Promise<import("axios").AxiosResponse<any, any>>;
|
|
32
|
+
export declare function getSysRsPage(BASE_API: string, params: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
33
|
+
export declare function getDirectory(BASE_API: string, params: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
34
|
+
/**
|
|
35
|
+
* 数据结构:
|
|
36
|
+
* Array<{
|
|
37
|
+
* "id": {dirid},
|
|
38
|
+
* "alias": {dirname},
|
|
39
|
+
* "parent_id": {parent_dirid},
|
|
40
|
+
* "children": [],
|
|
41
|
+
* ...
|
|
42
|
+
* }>
|
|
43
|
+
*/
|
|
44
|
+
declare type DirOptionsType = {
|
|
45
|
+
key?: string;
|
|
46
|
+
BASE_API: string;
|
|
47
|
+
};
|
|
48
|
+
export declare function useDirectory(options: DirOptionsType): {
|
|
49
|
+
tree: import("vue").Ref<any[], any[]>;
|
|
50
|
+
init: () => Promise<void>;
|
|
51
|
+
loadMore: (target: any) => Promise<void>;
|
|
52
|
+
};
|
|
53
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const LOCALSTORAGE_KEYS: {
|
|
2
|
+
LOCAL_RESOURCES: string;
|
|
3
|
+
LOCAL_UPLOAD_CONFIG: string;
|
|
4
|
+
USER_INFO: string;
|
|
5
|
+
};
|
|
6
|
+
export default function useLocalstorage(key: keyof typeof LOCALSTORAGE_KEYS): {
|
|
7
|
+
get: () => any;
|
|
8
|
+
set: (value: any) => void;
|
|
9
|
+
remove: () => void;
|
|
10
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare function useVideoContext(callback: (data?: any) => any): {
|
|
2
|
+
options: import("vue").Ref<any[], any[]>;
|
|
3
|
+
videoContext: import("vue").Ref<HTMLVideoElement | null, HTMLVideoElement | null>;
|
|
4
|
+
loading: import("vue").Ref<boolean, boolean>;
|
|
5
|
+
playing: import("vue").Ref<boolean, boolean>;
|
|
6
|
+
currentTime: import("vue").Ref<number, 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, of?: number[] | undefined) => void;
|
|
5
|
+
show: () => void;
|
|
6
|
+
hide: () => void;
|
|
7
|
+
visible: Ref<boolean, boolean>;
|
|
8
|
+
};
|
|
@@ -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,78 @@
|
|
|
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
|
+
declare type WaterMark = {
|
|
11
|
+
id: string;
|
|
12
|
+
position: string;
|
|
13
|
+
url: string;
|
|
14
|
+
title: string;
|
|
15
|
+
};
|
|
16
|
+
declare type UploadTemplate = {
|
|
17
|
+
watermark?: {
|
|
18
|
+
default?: WaterMark;
|
|
19
|
+
images: WaterMark[];
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
export declare function getSize(value: number): string;
|
|
23
|
+
export declare function addMedia(BASE_API: string, params: TypeAddMediaParam): Promise<import("axios").AxiosResponse<any, any>>;
|
|
24
|
+
export declare function getMediaDetails(BASE_API: string, repoId: number, id: number): Promise<import("axios").AxiosResponse<any, any>>;
|
|
25
|
+
export declare function reTranscodeMedia(BASE_API: string, media_id: number): Promise<import("axios").AxiosResponse<any, any>>;
|
|
26
|
+
declare type UploadOptions = {
|
|
27
|
+
noAddMedia?: boolean;
|
|
28
|
+
};
|
|
29
|
+
declare type UploadFileOptions = {
|
|
30
|
+
template?: UploadTemplate;
|
|
31
|
+
};
|
|
32
|
+
export default function useUpload(options?: UploadOptions): {
|
|
33
|
+
list: import("vue").Ref<any[], any[]>;
|
|
34
|
+
uploadFile: (BASE_API: string, file: any, dir: number | undefined, repoId: number, callback?: CallbackFunc | undefined, upOptions?: UploadFileOptions | undefined) => void;
|
|
35
|
+
reTranscode: (BASE_API: string, file: any) => Promise<boolean>;
|
|
36
|
+
transcodingFile: (BASE_API: string, file: any, repoId: number) => void;
|
|
37
|
+
recordTaskStatusChange: (file: any, progress: number, isTrans?: boolean | undefined) => void;
|
|
38
|
+
removeRecord: (file: any) => void;
|
|
39
|
+
};
|
|
40
|
+
export declare function getWatermarkTemplate(BASE_API: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
41
|
+
export declare function useUploadConfig(): {
|
|
42
|
+
config: import("vue").Ref<any, any>;
|
|
43
|
+
template: import("vue").Ref<{
|
|
44
|
+
watermark?: {
|
|
45
|
+
default?: {
|
|
46
|
+
id: string;
|
|
47
|
+
position: string;
|
|
48
|
+
url: string;
|
|
49
|
+
title: string;
|
|
50
|
+
} | undefined;
|
|
51
|
+
images: {
|
|
52
|
+
id: string;
|
|
53
|
+
position: string;
|
|
54
|
+
url: string;
|
|
55
|
+
title: string;
|
|
56
|
+
}[];
|
|
57
|
+
} | undefined;
|
|
58
|
+
}, UploadTemplate | {
|
|
59
|
+
watermark?: {
|
|
60
|
+
default?: {
|
|
61
|
+
id: string;
|
|
62
|
+
position: string;
|
|
63
|
+
url: string;
|
|
64
|
+
title: string;
|
|
65
|
+
} | undefined;
|
|
66
|
+
images: {
|
|
67
|
+
id: string;
|
|
68
|
+
position: string;
|
|
69
|
+
url: string;
|
|
70
|
+
title: string;
|
|
71
|
+
}[];
|
|
72
|
+
} | undefined;
|
|
73
|
+
}>;
|
|
74
|
+
checkFileSizeOutLimit: (file: File, callback: (msg: string) => void) => boolean;
|
|
75
|
+
initUploadConfig: (BASE_API: string, domainId: number) => Promise<void>;
|
|
76
|
+
initTemplate: (BASE_API: string) => Promise<void>;
|
|
77
|
+
};
|
|
78
|
+
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
|
|
@@ -417,7 +417,7 @@ const _sfc_main = defineComponent({
|
|
|
417
417
|
onClick: cancelDialog
|
|
418
418
|
}, {
|
|
419
419
|
default: withCtx(() => _cache[5] || (_cache[5] = [
|
|
420
|
-
createTextVNode("\u53D6\u6D88")
|
|
420
|
+
createTextVNode("\u53D6\u6D88", -1)
|
|
421
421
|
])),
|
|
422
422
|
_: 1,
|
|
423
423
|
__: [5]
|
|
@@ -429,7 +429,7 @@ const _sfc_main = defineComponent({
|
|
|
429
429
|
onClick: save
|
|
430
430
|
}, {
|
|
431
431
|
default: withCtx(() => _cache[6] || (_cache[6] = [
|
|
432
|
-
createTextVNode("\u88C1\u526A")
|
|
432
|
+
createTextVNode("\u88C1\u526A", -1)
|
|
433
433
|
])),
|
|
434
434
|
_: 1,
|
|
435
435
|
__: [6]
|
|
@@ -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
|