@cmstops/pro-compo 3.9.2 → 3.10.5-nanning.1
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/README.md +103 -76
- package/dist/index.css +97 -4
- package/dist/index.min.css +1 -1
- package/dist/index.min.js.map +1 -1
- package/es/appCenter/script/api.d.ts +5 -5
- package/es/baseFilter/component.js +71 -14
- package/es/baseFilter/components/FilterGroup.js +1 -1
- package/es/baseFilter/components/filterItem.js +1 -1
- package/es/colorPalette/component.js +1 -1
- package/es/contentDetailList/component.js +33 -9
- package/es/contentDetailList/components/Content/CircleItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/CircleItem/index.js +92 -0
- package/es/contentDetailList/components/Content/CompoItem/index.js +12 -12
- package/es/contentDetailList/components/Content/ContentListItem/index.js +15 -15
- package/es/contentDetailList/components/Content/DocItem/ApprovalStateMap/index.js +18 -18
- package/es/contentDetailList/components/Content/DocItem/index.js +27 -27
- package/es/contentDetailList/components/Content/DocMpItem/index.js +13 -13
- package/es/contentDetailList/components/Content/GroupPieceItem/index.js +11 -11
- package/es/contentDetailList/components/Content/KongoNavItem/index.js +14 -14
- package/es/contentDetailList/components/Content/LiveItem/index.js +9 -9
- package/es/contentDetailList/components/Content/MaccountItem/index.js +12 -12
- package/es/contentDetailList/components/Content/courseItem/index.js +10 -10
- package/es/contentDetailList/components/Content/funhdItem/index.js +10 -10
- package/es/contentDetailList/components/Content/index.js +170 -117
- package/es/contentDetailList/components/CustomWrp/CustomItem.js +5 -5
- package/es/contentDetailList/components/CustomWrp/index.js +10 -10
- package/es/contentDetailList/components/Doc/index.js +16 -10
- package/es/contentDetailList/components/Records/MatrixItem/index.js +22 -22
- package/es/contentDetailList/components/Records/index.js +8 -8
- package/es/contentDetailList/components/ShowQRCode/QrcodeView/index.js +6 -6
- package/es/contentDetailList/components/ShowQRCode/index.js +1 -1
- package/es/contentDetailList/script/api.d.ts +2 -2
- package/es/contentModal/component.js +40 -40
- package/es/contentModal/components/CompoList/index.js +1 -1
- package/es/contentModal/components/Dejin/index.js +1 -1
- package/es/contentModal/components/MpContentList/MediaFilter/index.js +2 -2
- package/es/contentModal/components/MpContentList/index.js +1 -1
- package/es/contentModal/components/ViewAllColumn/MediaFilter/index.js +3 -3
- package/es/contentModal/components/ViewAllColumn/index.js +7 -3
- package/es/contentModal/components/storeBox/index.js +8 -8
- package/es/contentModal/script/api.d.ts +13 -13
- package/es/dataTags/component.js +38 -38
- package/es/docHistory/component.js +44 -15
- package/es/docHistory/components/DocDiffPanel/index.js +2 -2
- package/es/docHistory/components/DocHistoryList/index.js +2 -2
- package/es/docHistory/scripts/diff.js +4 -3
- package/es/docHistory/scripts/useDocHistory.d.ts +1 -1
- package/es/docHistory/style/index.css +4 -0
- package/es/docHistory/style/index.less +5 -0
- package/es/docPreview/component.js +228 -60
- package/es/docPreview/components/PreviewIframe.js +37 -6
- package/es/docPreview/images/pc.js +2 -0
- package/es/docPreview/scripts/api.d.ts +2 -1
- package/es/docPreview/scripts/hook.d.ts +11 -1
- package/es/docPreview/scripts/hook.js +115 -4
- package/es/docPreview/style/index.css +48 -0
- package/es/docPreview/style/index.less +23 -0
- package/es/docPreview/style/previewIframe.less +31 -0
- package/es/editMetaInfo/component.js +24 -4
- package/es/editMetaInfo/components/metaInfoForm.js +358 -17
- package/es/editMetaInfo/script/api.d.ts +9 -2
- package/es/editMetaInfo/script/api.js +20 -1
- package/es/emptyData/component.js +4 -4
- package/es/emptyData/svg/acount.js +2 -2
- package/es/emptyData/svg/add.js +2 -2
- package/es/emptyData/svg/analize.js +2 -2
- package/es/emptyData/svg/analize_fail.js +2 -2
- package/es/emptyData/svg/empty.js +2 -2
- package/es/emptyData/svg/file.js +2 -2
- package/es/emptyData/svg/manager.js +2 -2
- package/es/emptyData/svg/message.js +2 -2
- package/es/emptyData/svg/noanalize.js +2 -2
- package/es/emptyData/svg/null.js +2 -2
- package/es/emptyData/svg/search.js +2 -2
- package/es/emptyData/svg/star.js +2 -2
- package/es/emptyData/svg/trash.js +2 -2
- package/es/emptyData/svg/user.js +2 -2
- package/es/hooks/assets.d.ts +1 -1
- package/es/hooks/source.d.ts +1 -1
- package/es/hooks/useAttachement.d.ts +32 -13
- package/es/hooks/useAttachement.js +42 -2
- package/es/hooks/usePopper.d.ts +1 -1
- package/es/hooks/usePopper.js +3 -3
- package/es/hooks/useUpload.d.ts +53 -5
- package/es/hooks/useUpload.js +43 -4
- package/es/hooks/user.d.ts +1 -1
- package/es/imageCrop/component.js +11 -11
- package/es/imageCrop/script/api.d.ts +1 -1
- package/es/importData/component.js +13 -13
- package/es/index.css +97 -4
- package/es/index.d.ts +1 -0
- package/es/index.js +1 -0
- package/es/mediaFilter/component.js +4 -4
- package/es/mediaFilter/components/DocFilter.js +1 -1
- package/es/mediaFilter/components/FilterGroup.js +1 -1
- package/es/mediaFilter/components/FilterItem.js +1 -1
- package/es/mediaView/component.js +8 -8
- package/es/messageBox/component.js +3 -3
- package/es/messageBox/script/api.d.ts +2 -2
- package/es/previousVersion/script/api.d.ts +4 -4
- package/es/resourceGridList/component.js +16 -16
- package/es/resourceGridList/components/FileTypeThumb/index.js +6 -6
- package/es/resourceModal/component.js +7 -7
- package/es/resourceModal/components/MediaPreviewer/index.js +8 -8
- package/es/resourceModal/components/MediaSelection/DocAiMediaSelected/index.js +5 -5
- package/es/resourceModal/components/MediaSelection/MainContent/FileTypeThumb/index.js +6 -6
- package/es/resourceModal/components/MediaSelection/MainContent/index.js +18 -18
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.js +3 -3
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.js +3 -3
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/index.js +2 -2
- package/es/resourceModal/components/MediaSelection/ToolbarSearch/index.js +4 -4
- package/es/resourceModal/components/MediaSelection/index.js +6 -6
- package/es/resourceModal/script/api.d.ts +11 -11
- package/es/selectAddTo/component.d.ts +0 -0
- package/es/selectAddTo/component.js +47 -0
- package/es/selectAddTo/component.vue_vue_type_style_index_0_scoped_true_lang.js +2 -0
- package/es/selectAddTo/components/SelectAddToView.d.ts +0 -0
- package/es/selectAddTo/components/SelectAddToView.js +90 -0
- package/es/selectAddTo/components/SelectAddToView.vue_vue_type_style_index_0_scoped_true_lang.js +2 -0
- package/es/selectAddTo/components/ViewAllColumn/MediaFilter/index.d.ts +0 -0
- package/es/selectAddTo/components/ViewAllColumn/MediaFilter/index.js +166 -0
- package/es/selectAddTo/components/ViewAllColumn/index.d.ts +0 -0
- package/es/selectAddTo/components/ViewAllColumn/index.js +212 -0
- package/es/selectAddTo/components/ViewAllColumn/index.vue_vue_type_style_index_0_scoped_true_lang.js +2 -0
- package/es/selectAddTo/components/ViewAllColumn/script/useTableColumns.d.ts +6 -0
- package/es/selectAddTo/components/ViewAllColumn/script/useTableColumns.js +102 -0
- package/es/selectAddTo/components/ViewAllColumn/script/useViewAllColumnState.d.ts +144 -0
- package/es/selectAddTo/components/ViewAllColumn/script/useViewAllColumnState.js +182 -0
- package/es/selectAddTo/components/ViewAllColumn/types/index.d.ts +55 -0
- package/es/selectAddTo/index.d.ts +2 -0
- package/es/selectAddTo/index.js +7 -0
- package/es/selectAddTo/script/api.d.ts +18 -0
- package/es/selectAddTo/script/api.js +23 -0
- package/es/selectAddTo/script/index.d.ts +2 -0
- package/es/selectAddTo/script/useSelectAddToState.d.ts +13 -0
- package/es/selectAddTo/script/useSelectAddToState.js +55 -0
- package/es/selectAddTo/style/css.js +1 -0
- package/es/selectAddTo/style/index.css +3 -0
- package/es/selectAddTo/style/index.d.ts +1 -0
- package/es/selectAddTo/style/index.js +1 -0
- package/es/selectAddTo/style/index.less +3 -0
- package/es/selectAddTo/types/index.d.ts +37 -0
- package/es/selectGategory/component.js +5 -5
- package/es/selectGategory/components/ColumnSelection/index.js +6 -6
- package/es/selectGategory/script/api.d.ts +2 -2
- package/es/selectResourceModal/__demo__/module/DivWrapper.d.ts +261 -0
- package/es/selectResourceModal/__demo__/module/basic.d.ts +292 -0
- package/es/selectResourceModal/component.js +26 -34
- package/es/selectResourceModal/components/List/ListCardWrapper.js +6 -6
- package/es/selectResourceModal/components/List/ListLocal/Upload.js +1 -1
- package/es/selectResourceModal/components/List/ListLocal/index.js +8 -3
- package/es/selectResourceModal/components/List/ListNormal/Filter.js +210 -83
- package/es/selectResourceModal/components/List/ListNormal/index.js +23 -7
- package/es/selectResourceModal/components/List/ListSystem/Filter.js +3 -3
- package/es/selectResourceModal/components/List/ListSystem/SubList.js +3 -3
- package/es/selectResourceModal/components/List/ListSystem/index.js +2 -2
- package/es/selectResourceModal/components/List/ListWraper.js +2 -2
- package/es/selectResourceModal/components/ListSelected/index.js +6 -6
- package/es/selectResourceModal/components/ListTabs/index.js +1 -1
- package/es/selectResourceModal/hooks/useResponsiveFilter.d.ts +21 -0
- package/es/selectResourceModal/hooks/useResponsiveFilter.js +142 -0
- package/es/selectResourceModal/scripts/selectionApis.d.ts +2 -2
- package/es/selectResourceModal/scripts/useCompoLf.js +1 -1
- package/es/selectResourceModal/scripts/useTabFilter.js +1 -11
- package/es/selectResourceModal/style/index.css +45 -4
- package/es/selectResourceModal/style/index.less +14 -0
- package/es/selectResourceModal/style/list.less +40 -4
- package/es/selectThumb/component.js +76 -33
- package/es/selectThumb/components/card.js +3 -3
- package/es/style.css +63 -0
- package/es/thumbCard/component.js +7 -7
- package/es/thumbCard/components/ThumbUploading/index.js +3 -3
- package/es/typeIcons/component.js +1 -1
- package/es/uploadBefore/component.js +1 -1
- package/es/uploadBefore/components/UploadBefore.js +9 -9
- package/es/uploadBefore/script/api.d.ts +4 -4
- package/es/uploadStep/component.js +3 -3
- package/es/userAvater/component.js +3 -3
- package/es/userAvater/script/api.d.ts +4 -4
- package/es/userDirector/component.js +5 -5
- package/es/userDirector/components/userTree.js +2 -2
- package/es/userDirector/script/api.d.ts +6 -6
- package/es/utils/index.js +6 -6
- package/es/utils/request.d.ts +1 -1
- package/es/utils/transcodeMedia.d.ts +1 -1
- package/es/videoThumb/scripts/api.d.ts +1 -1
- package/lib/baseFilter/component.js +69 -12
- package/lib/baseFilter/components/FilterGroup.js +1 -1
- package/lib/baseFilter/components/filterItem.js +1 -1
- package/lib/colorPalette/component.js +1 -1
- package/lib/contentDetailList/component.js +33 -9
- package/lib/contentDetailList/components/Content/CircleItem/index.js +93 -0
- package/lib/contentDetailList/components/Content/CompoItem/index.js +12 -12
- package/lib/contentDetailList/components/Content/ContentListItem/index.js +15 -15
- package/lib/contentDetailList/components/Content/DocItem/ApprovalStateMap/index.js +18 -18
- package/lib/contentDetailList/components/Content/DocItem/index.js +27 -27
- package/lib/contentDetailList/components/Content/DocMpItem/index.js +13 -13
- package/lib/contentDetailList/components/Content/GroupPieceItem/index.js +11 -11
- package/lib/contentDetailList/components/Content/KongoNavItem/index.js +14 -14
- package/lib/contentDetailList/components/Content/LiveItem/index.js +9 -9
- package/lib/contentDetailList/components/Content/MaccountItem/index.js +12 -12
- package/lib/contentDetailList/components/Content/courseItem/index.js +10 -10
- package/lib/contentDetailList/components/Content/funhdItem/index.js +10 -10
- package/lib/contentDetailList/components/Content/index.js +170 -117
- package/lib/contentDetailList/components/CustomWrp/CustomItem.js +5 -5
- package/lib/contentDetailList/components/CustomWrp/index.js +10 -10
- package/lib/contentDetailList/components/Doc/index.js +16 -10
- package/lib/contentDetailList/components/Records/MatrixItem/index.js +22 -22
- package/lib/contentDetailList/components/Records/index.js +8 -8
- package/lib/contentDetailList/components/ShowQRCode/QrcodeView/index.js +6 -6
- package/lib/contentDetailList/components/ShowQRCode/index.js +1 -1
- package/lib/contentModal/component.js +40 -40
- package/lib/contentModal/components/CompoList/index.js +1 -1
- package/lib/contentModal/components/Dejin/index.js +1 -1
- package/lib/contentModal/components/MpContentList/MediaFilter/index.js +2 -2
- package/lib/contentModal/components/MpContentList/index.js +1 -1
- package/lib/contentModal/components/ViewAllColumn/MediaFilter/index.js +3 -3
- package/lib/contentModal/components/ViewAllColumn/index.js +7 -3
- package/lib/contentModal/components/storeBox/index.js +8 -8
- package/lib/dataTags/component.js +38 -38
- package/lib/docHistory/component.js +42 -13
- package/lib/docHistory/components/DocDiffPanel/index.js +2 -2
- package/lib/docHistory/components/DocHistoryList/index.js +2 -2
- package/lib/docHistory/scripts/diff.js +4 -3
- package/lib/docHistory/style/index.css +4 -0
- package/lib/docHistory/style/index.less +5 -0
- package/lib/docPreview/component.js +227 -59
- package/lib/docPreview/components/PreviewIframe.js +37 -6
- package/lib/docPreview/images/pc.js +3 -0
- package/lib/docPreview/scripts/hook.js +115 -3
- package/lib/docPreview/style/index.css +48 -0
- package/lib/docPreview/style/index.less +23 -0
- package/lib/docPreview/style/previewIframe.less +31 -0
- package/lib/editMetaInfo/component.js +23 -3
- package/lib/editMetaInfo/components/metaInfoForm.js +356 -15
- package/lib/editMetaInfo/script/api.js +21 -0
- package/lib/emptyData/component.js +4 -4
- package/lib/emptyData/svg/acount.js +2 -2
- package/lib/emptyData/svg/add.js +2 -2
- package/lib/emptyData/svg/analize.js +2 -2
- package/lib/emptyData/svg/analize_fail.js +2 -2
- package/lib/emptyData/svg/empty.js +2 -2
- package/lib/emptyData/svg/file.js +2 -2
- package/lib/emptyData/svg/manager.js +2 -2
- package/lib/emptyData/svg/message.js +2 -2
- package/lib/emptyData/svg/noanalize.js +2 -2
- package/lib/emptyData/svg/null.js +2 -2
- package/lib/emptyData/svg/search.js +2 -2
- package/lib/emptyData/svg/star.js +2 -2
- package/lib/emptyData/svg/trash.js +2 -2
- package/lib/emptyData/svg/user.js +2 -2
- package/lib/hooks/useAttachement.js +42 -0
- package/lib/hooks/usePopper.js +3 -3
- package/lib/hooks/useUpload.js +43 -3
- package/lib/imageCrop/component.js +11 -11
- package/lib/importData/component.js +13 -13
- package/lib/index.css +97 -4
- package/lib/index.js +2 -0
- package/lib/mediaFilter/component.js +4 -4
- package/lib/mediaFilter/components/DocFilter.js +1 -1
- package/lib/mediaFilter/components/FilterGroup.js +1 -1
- package/lib/mediaFilter/components/FilterItem.js +1 -1
- package/lib/mediaView/component.js +8 -8
- package/lib/messageBox/component.js +3 -3
- package/lib/resourceGridList/component.js +16 -16
- package/lib/resourceGridList/components/FileTypeThumb/index.js +6 -6
- package/lib/resourceModal/component.js +7 -7
- package/lib/resourceModal/components/MediaPreviewer/index.js +8 -8
- package/lib/resourceModal/components/MediaSelection/DocAiMediaSelected/index.js +5 -5
- package/lib/resourceModal/components/MediaSelection/MainContent/FileTypeThumb/index.js +6 -6
- package/lib/resourceModal/components/MediaSelection/MainContent/index.js +18 -18
- package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.js +3 -3
- package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.js +3 -3
- package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/index.js +2 -2
- package/lib/resourceModal/components/MediaSelection/ToolbarSearch/index.js +4 -4
- package/lib/resourceModal/components/MediaSelection/index.js +6 -6
- package/lib/selectAddTo/component.js +48 -0
- package/lib/selectAddTo/component.vue_vue_type_style_index_0_scoped_true_lang.js +3 -0
- package/lib/selectAddTo/components/SelectAddToView.js +91 -0
- package/lib/selectAddTo/components/SelectAddToView.vue_vue_type_style_index_0_scoped_true_lang.js +3 -0
- package/lib/selectAddTo/components/ViewAllColumn/MediaFilter/index.js +167 -0
- package/lib/selectAddTo/components/ViewAllColumn/index.js +213 -0
- package/lib/selectAddTo/components/ViewAllColumn/index.vue_vue_type_style_index_0_scoped_true_lang.js +3 -0
- package/lib/selectAddTo/components/ViewAllColumn/script/useTableColumns.js +108 -0
- package/lib/selectAddTo/components/ViewAllColumn/script/useViewAllColumnState.js +184 -0
- package/lib/selectAddTo/index.js +8 -0
- package/lib/selectAddTo/script/api.js +27 -0
- package/lib/selectAddTo/script/useSelectAddToState.js +57 -0
- package/lib/selectAddTo/style/css.js +2 -0
- package/lib/selectAddTo/style/index.css +3 -0
- package/lib/selectAddTo/style/index.js +2 -0
- package/lib/selectAddTo/style/index.less +3 -0
- package/lib/selectGategory/component.js +5 -5
- package/lib/selectGategory/components/ColumnSelection/index.js +6 -6
- package/lib/selectResourceModal/component.js +25 -33
- package/lib/selectResourceModal/components/List/ListCardWrapper.js +6 -6
- package/lib/selectResourceModal/components/List/ListLocal/Upload.js +1 -1
- package/lib/selectResourceModal/components/List/ListLocal/index.js +6 -1
- package/lib/selectResourceModal/components/List/ListNormal/Filter.js +207 -80
- package/lib/selectResourceModal/components/List/ListNormal/index.js +22 -6
- package/lib/selectResourceModal/components/List/ListSystem/Filter.js +3 -3
- package/lib/selectResourceModal/components/List/ListSystem/SubList.js +3 -3
- package/lib/selectResourceModal/components/List/ListSystem/index.js +2 -2
- package/lib/selectResourceModal/components/List/ListWraper.js +2 -2
- package/lib/selectResourceModal/components/ListSelected/index.js +6 -6
- package/lib/selectResourceModal/components/ListTabs/index.js +1 -1
- package/lib/selectResourceModal/hooks/useResponsiveFilter.js +144 -0
- package/lib/selectResourceModal/scripts/useCompoLf.js +1 -1
- package/lib/selectResourceModal/scripts/useTabFilter.js +1 -13
- 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/selectThumb/component.js +75 -32
- package/lib/selectThumb/components/card.js +3 -3
- package/lib/thumbCard/component.js +7 -7
- package/lib/thumbCard/components/ThumbUploading/index.js +3 -3
- package/lib/typeIcons/component.js +1 -1
- package/lib/uploadBefore/component.js +1 -1
- package/lib/uploadBefore/components/UploadBefore.js +9 -9
- package/lib/uploadStep/component.js +3 -3
- package/lib/userAvater/component.js +3 -3
- package/lib/userDirector/component.js +5 -5
- package/lib/userDirector/components/userTree.js +2 -2
- package/lib/utils/index.js +6 -6
- package/package.json +1 -1
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
interface Params {
|
|
2
2
|
[key: string]: any;
|
|
3
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>>;
|
|
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
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>>;
|
|
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
18
|
export {};
|
package/es/dataTags/component.js
CHANGED
|
@@ -64,9 +64,9 @@ const _sfc_main = defineComponent({
|
|
|
64
64
|
return (_ctx, _cache) => {
|
|
65
65
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
66
66
|
createCommentVNode(" \u539F\u521B/\u63A8\u8350/\u654F\u611F\u8BCD/\u5C01\u9762\u51E0\u56FE/ "),
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
67
|
+
__props.item ? (openBlock(), createElementBlock("span", _hoisted_1, [
|
|
68
|
+
__props.item.catalog === "doc" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
69
|
+
__props.popverThumb && thumbList.value.length ? (openBlock(), createBlock(unref(Popover), {
|
|
70
70
|
key: 0,
|
|
71
71
|
"content-class": "doc-tags-thumb-popver",
|
|
72
72
|
"arrow-class": "doc-tags-popver-arrow",
|
|
@@ -91,7 +91,7 @@ const _sfc_main = defineComponent({
|
|
|
91
91
|
default: withCtx(() => [
|
|
92
92
|
createVNode(unref(Tag), {
|
|
93
93
|
size: "small",
|
|
94
|
-
class: normalizeClass([{ disabled:
|
|
94
|
+
class: normalizeClass([{ disabled: __props.disabled }, "thumb"])
|
|
95
95
|
}, {
|
|
96
96
|
default: withCtx(() => [
|
|
97
97
|
createTextVNode(toDisplayString(thumbType.value), 1)
|
|
@@ -109,7 +109,7 @@ const _sfc_main = defineComponent({
|
|
|
109
109
|
default: withCtx(() => [
|
|
110
110
|
createVNode(unref(Tag), {
|
|
111
111
|
size: "small",
|
|
112
|
-
class: normalizeClass([{ disabled:
|
|
112
|
+
class: normalizeClass([{ disabled: __props.disabled }, "thumb"])
|
|
113
113
|
}, {
|
|
114
114
|
default: withCtx(() => [
|
|
115
115
|
createTextVNode(toDisplayString(thumbType.value), 1)
|
|
@@ -120,7 +120,7 @@ const _sfc_main = defineComponent({
|
|
|
120
120
|
_: 1
|
|
121
121
|
}, 8, ["content"])) : createCommentVNode("v-if", true)
|
|
122
122
|
], 64)),
|
|
123
|
-
|
|
123
|
+
__props.item.statement ? (openBlock(), createBlock(unref(Tooltip), {
|
|
124
124
|
key: 2,
|
|
125
125
|
content: "\u539F\u521B",
|
|
126
126
|
position: "top"
|
|
@@ -128,17 +128,17 @@ const _sfc_main = defineComponent({
|
|
|
128
128
|
default: withCtx(() => [
|
|
129
129
|
createVNode(unref(Tag), {
|
|
130
130
|
size: "small",
|
|
131
|
-
class: normalizeClass([{ disabled:
|
|
131
|
+
class: normalizeClass([{ disabled: __props.disabled }, "yuanchuang"])
|
|
132
132
|
}, {
|
|
133
|
-
default: withCtx(() => _cache[1] || (_cache[1] = [
|
|
134
|
-
createTextVNode("\u539F\u521B")
|
|
135
|
-
])),
|
|
133
|
+
default: withCtx(() => [..._cache[1] || (_cache[1] = [
|
|
134
|
+
createTextVNode("\u539F\u521B", -1)
|
|
135
|
+
])]),
|
|
136
136
|
_: 1
|
|
137
137
|
}, 8, ["class"])
|
|
138
138
|
]),
|
|
139
139
|
_: 1
|
|
140
140
|
})) : createCommentVNode("v-if", true),
|
|
141
|
-
|
|
141
|
+
__props.item.recommended ? (openBlock(), createBlock(unref(Tooltip), {
|
|
142
142
|
key: 3,
|
|
143
143
|
content: "\u63A8\u8350",
|
|
144
144
|
position: "top"
|
|
@@ -146,35 +146,35 @@ const _sfc_main = defineComponent({
|
|
|
146
146
|
default: withCtx(() => [
|
|
147
147
|
createVNode(unref(Tag), {
|
|
148
148
|
size: "small",
|
|
149
|
-
class: normalizeClass([{ disabled:
|
|
149
|
+
class: normalizeClass([{ disabled: __props.disabled }, "star"])
|
|
150
150
|
}, {
|
|
151
|
-
default: withCtx(() => _cache[2] || (_cache[2] = [
|
|
152
|
-
createTextVNode("\u63A8\u8350")
|
|
153
|
-
])),
|
|
151
|
+
default: withCtx(() => [..._cache[2] || (_cache[2] = [
|
|
152
|
+
createTextVNode("\u63A8\u8350", -1)
|
|
153
|
+
])]),
|
|
154
154
|
_: 1
|
|
155
155
|
}, 8, ["class"])
|
|
156
156
|
]),
|
|
157
157
|
_: 1
|
|
158
158
|
})) : createCommentVNode("v-if", true),
|
|
159
|
-
|
|
159
|
+
__props.item.sensitives ? (openBlock(), createBlock(unref(Tooltip), {
|
|
160
160
|
key: 4,
|
|
161
|
-
content: `\u5305\u542B\u654F\u611F\u8BCD\uFF1A${
|
|
161
|
+
content: `\u5305\u542B\u654F\u611F\u8BCD\uFF1A${__props.item.sensitives}`,
|
|
162
162
|
position: "top"
|
|
163
163
|
}, {
|
|
164
164
|
default: withCtx(() => [
|
|
165
165
|
createVNode(unref(Tag), {
|
|
166
166
|
size: "small",
|
|
167
|
-
class: normalizeClass([{ disabled:
|
|
167
|
+
class: normalizeClass([{ disabled: __props.disabled }, "waring"])
|
|
168
168
|
}, {
|
|
169
|
-
default: withCtx(() => _cache[3] || (_cache[3] = [
|
|
170
|
-
createTextVNode("\u654F\u611F")
|
|
171
|
-
])),
|
|
169
|
+
default: withCtx(() => [..._cache[3] || (_cache[3] = [
|
|
170
|
+
createTextVNode("\u654F\u611F", -1)
|
|
171
|
+
])]),
|
|
172
172
|
_: 1
|
|
173
173
|
}, 8, ["class"])
|
|
174
174
|
]),
|
|
175
175
|
_: 1
|
|
176
176
|
}, 8, ["content"])) : createCommentVNode("v-if", true),
|
|
177
|
-
|
|
177
|
+
__props.item.push_state === 3 ? (openBlock(), createBlock(unref(Tooltip), {
|
|
178
178
|
key: 5,
|
|
179
179
|
content: "\u63A8\u9001\u6210\u529F",
|
|
180
180
|
position: "top"
|
|
@@ -182,11 +182,11 @@ const _sfc_main = defineComponent({
|
|
|
182
182
|
default: withCtx(() => [
|
|
183
183
|
createVNode(unref(Tag), {
|
|
184
184
|
size: "small",
|
|
185
|
-
class: normalizeClass([{ disabled:
|
|
185
|
+
class: normalizeClass([{ disabled: __props.disabled }, "star"])
|
|
186
186
|
}, {
|
|
187
|
-
default: withCtx(() => _cache[4] || (_cache[4] = [
|
|
188
|
-
createTextVNode("\u5DF2\u63A8\u9001")
|
|
189
|
-
])),
|
|
187
|
+
default: withCtx(() => [..._cache[4] || (_cache[4] = [
|
|
188
|
+
createTextVNode("\u5DF2\u63A8\u9001", -1)
|
|
189
|
+
])]),
|
|
190
190
|
_: 1
|
|
191
191
|
}, 8, ["class"])
|
|
192
192
|
]),
|
|
@@ -200,7 +200,7 @@ const _sfc_main = defineComponent({
|
|
|
200
200
|
default: withCtx(() => [
|
|
201
201
|
createVNode(unref(Tag), {
|
|
202
202
|
size: "small",
|
|
203
|
-
class: normalizeClass([{ disabled:
|
|
203
|
+
class: normalizeClass([{ disabled: __props.disabled }, "star"])
|
|
204
204
|
}, {
|
|
205
205
|
default: withCtx(() => [
|
|
206
206
|
createTextVNode(toDisplayString(localLiveType.value), 1)
|
|
@@ -210,7 +210,7 @@ const _sfc_main = defineComponent({
|
|
|
210
210
|
]),
|
|
211
211
|
_: 1
|
|
212
212
|
}, 8, ["content"])) : createCommentVNode("v-if", true),
|
|
213
|
-
|
|
213
|
+
__props.item.is_matrix ? (openBlock(), createBlock(unref(Tooltip), {
|
|
214
214
|
key: 7,
|
|
215
215
|
content: "\u7A3F\u4EF6\u5B58\u5728\u81EA\u5A92\u4F53\u77E9\u9635\u5206\u53D1\u8BB0\u5F55",
|
|
216
216
|
position: "top"
|
|
@@ -218,38 +218,38 @@ const _sfc_main = defineComponent({
|
|
|
218
218
|
default: withCtx(() => [
|
|
219
219
|
createVNode(unref(Tag), {
|
|
220
220
|
size: "small",
|
|
221
|
-
class: normalizeClass([{ disabled:
|
|
221
|
+
class: normalizeClass([{ disabled: __props.disabled }, "matrix"])
|
|
222
222
|
}, {
|
|
223
|
-
default: withCtx(() => _cache[5] || (_cache[5] = [
|
|
224
|
-
createTextVNode(" \u77E9\u9635\u5206\u53D1 ")
|
|
225
|
-
])),
|
|
223
|
+
default: withCtx(() => [..._cache[5] || (_cache[5] = [
|
|
224
|
+
createTextVNode(" \u77E9\u9635\u5206\u53D1 ", -1)
|
|
225
|
+
])]),
|
|
226
226
|
_: 1
|
|
227
227
|
}, 8, ["class"])
|
|
228
228
|
]),
|
|
229
229
|
_: 1
|
|
230
230
|
})) : createCommentVNode("v-if", true)
|
|
231
|
-
], 64)) :
|
|
231
|
+
], 64)) : __props.item.catalog === "kongo" ? (openBlock(), createBlock(unref(Tag), {
|
|
232
232
|
key: 1,
|
|
233
233
|
size: "small"
|
|
234
234
|
}, {
|
|
235
235
|
default: withCtx(() => [
|
|
236
|
-
createTextVNode(toDisplayString(unref(kongo_source_map)[
|
|
236
|
+
createTextVNode(toDisplayString(unref(kongo_source_map)[__props.item.series]), 1)
|
|
237
237
|
]),
|
|
238
238
|
_: 1
|
|
239
|
-
})) :
|
|
239
|
+
})) : __props.item.catalog === "mp_account" ? (openBlock(), createBlock(unref(Tag), {
|
|
240
240
|
key: 2,
|
|
241
241
|
size: "small"
|
|
242
242
|
}, {
|
|
243
243
|
default: withCtx(() => [
|
|
244
|
-
createTextVNode(toDisplayString(unref(mp_type_map)[
|
|
244
|
+
createTextVNode(toDisplayString(unref(mp_type_map)[__props.item.mp_type]), 1)
|
|
245
245
|
]),
|
|
246
246
|
_: 1
|
|
247
|
-
})) :
|
|
247
|
+
})) : __props.item.catalog === "mp_content" ? (openBlock(), createBlock(_sfc_main$1, {
|
|
248
248
|
key: 3,
|
|
249
249
|
class: "icon",
|
|
250
250
|
type: "mpdoc"
|
|
251
251
|
})) : (openBlock(), createElementBlock(Fragment, { key: 4 }, [
|
|
252
|
-
|
|
252
|
+
__props.item.list_type ? (openBlock(), createElementBlock("span", _hoisted_4, toDisplayString(unref(contentList_list_type_map)[__props.item.list_type]), 1)) : (openBlock(), createElementBlock("span", _hoisted_5, "--"))
|
|
253
253
|
], 64))
|
|
254
254
|
])) : createCommentVNode("v-if", true)
|
|
255
255
|
], 2112);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent, computed, watch, onMounted, openBlock, createBlock,
|
|
2
|
-
import {
|
|
1
|
+
import { defineComponent, computed, watch, onMounted, openBlock, createBlock, resolveDynamicComponent, mergeProps, withCtx, createVNode, unref, createTextVNode, createElementVNode, createElementBlock, Fragment, createCommentVNode } from "vue";
|
|
2
|
+
import { Button, Spin, Scrollbar, Drawer, Modal } from "@arco-design/web-vue";
|
|
3
3
|
import { DEFAULT_BASE_API } from "../config.js";
|
|
4
4
|
import { useDocHistory } from "./scripts/useDocHistory.js";
|
|
5
5
|
import _sfc_main$2 from "./components/DocHistoryList/index.js";
|
|
@@ -13,9 +13,11 @@ const _sfc_main = defineComponent({
|
|
|
13
13
|
__name: "component",
|
|
14
14
|
props: {
|
|
15
15
|
BASE_API: {},
|
|
16
|
+
wrap: { default: "drawer" },
|
|
16
17
|
visible: { type: Boolean },
|
|
17
18
|
docInfo: {},
|
|
18
|
-
pub: { type: Boolean }
|
|
19
|
+
pub: { type: Boolean },
|
|
20
|
+
currentIdx: {}
|
|
19
21
|
},
|
|
20
22
|
emits: ["update:visible", "select"],
|
|
21
23
|
setup(__props, { emit: __emit }) {
|
|
@@ -27,6 +29,20 @@ const _sfc_main = defineComponent({
|
|
|
27
29
|
emits("update:visible", val);
|
|
28
30
|
}
|
|
29
31
|
});
|
|
32
|
+
const wrapProps = computed(() => {
|
|
33
|
+
if (props.wrap === "drawer") {
|
|
34
|
+
return {
|
|
35
|
+
class: "doc-history-drawer-wrap",
|
|
36
|
+
title: "\u7248\u672C\u8BB0\u5F55",
|
|
37
|
+
width: 1e3
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
bodyClass: "doc-history-modal-wrap",
|
|
42
|
+
title: "\u7248\u672C\u8BB0\u5F55",
|
|
43
|
+
width: 1e3
|
|
44
|
+
};
|
|
45
|
+
});
|
|
30
46
|
const BASE_API = props.BASE_API || DEFAULT_BASE_API;
|
|
31
47
|
const {
|
|
32
48
|
initParams,
|
|
@@ -37,6 +53,10 @@ const _sfc_main = defineComponent({
|
|
|
37
53
|
list,
|
|
38
54
|
current
|
|
39
55
|
} = useDocHistory(BASE_API);
|
|
56
|
+
const wrapComponent = {
|
|
57
|
+
drawer: Drawer,
|
|
58
|
+
modal: Modal
|
|
59
|
+
};
|
|
40
60
|
function handeRevert() {
|
|
41
61
|
emits("select", list.value[current.value]);
|
|
42
62
|
}
|
|
@@ -49,29 +69,38 @@ const _sfc_main = defineComponent({
|
|
|
49
69
|
},
|
|
50
70
|
{ immediate: true }
|
|
51
71
|
);
|
|
52
|
-
|
|
72
|
+
watch(
|
|
73
|
+
() => props.currentIdx,
|
|
74
|
+
(val) => {
|
|
75
|
+
if (val) {
|
|
76
|
+
handleSelect(val);
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
{ immediate: true }
|
|
80
|
+
);
|
|
81
|
+
onMounted(async () => {
|
|
53
82
|
if (!props.docInfo)
|
|
54
83
|
return;
|
|
55
84
|
initParams(props.docInfo.id, props.pub);
|
|
56
|
-
loadData();
|
|
85
|
+
await loadData();
|
|
86
|
+
if (props.currentIdx) {
|
|
87
|
+
handleSelect(props.currentIdx);
|
|
88
|
+
}
|
|
57
89
|
});
|
|
58
90
|
return (_ctx, _cache) => {
|
|
59
|
-
return openBlock(), createBlock(
|
|
91
|
+
return openBlock(), createBlock(resolveDynamicComponent(wrapComponent[__props.wrap]), mergeProps({
|
|
60
92
|
visible: vis.value,
|
|
61
|
-
"onUpdate:visible": _cache[0] || (_cache[0] = ($event) => vis.value = $event)
|
|
62
|
-
|
|
63
|
-
title: "\u7248\u672C\u8BB0\u5F55",
|
|
64
|
-
width: 1e3
|
|
65
|
-
}, {
|
|
93
|
+
"onUpdate:visible": _cache[0] || (_cache[0] = ($event) => vis.value = $event)
|
|
94
|
+
}, wrapProps.value), {
|
|
66
95
|
footer: withCtx(() => [
|
|
67
96
|
createVNode(unref(Button), {
|
|
68
97
|
type: "primary",
|
|
69
98
|
disabled: !unref(current),
|
|
70
99
|
onClick: handeRevert
|
|
71
100
|
}, {
|
|
72
|
-
default: withCtx(() => _cache[1] || (_cache[1] = [
|
|
73
|
-
createTextVNode(" \u8FD8\u539F\u6B64\u7248\u672C ")
|
|
74
|
-
])),
|
|
101
|
+
default: withCtx(() => [..._cache[1] || (_cache[1] = [
|
|
102
|
+
createTextVNode(" \u8FD8\u539F\u6B64\u7248\u672C ", -1)
|
|
103
|
+
])]),
|
|
75
104
|
_: 1
|
|
76
105
|
}, 8, ["disabled"])
|
|
77
106
|
]),
|
|
@@ -123,7 +152,7 @@ const _sfc_main = defineComponent({
|
|
|
123
152
|
])
|
|
124
153
|
]),
|
|
125
154
|
_: 1
|
|
126
|
-
},
|
|
155
|
+
}, 16, ["visible"]);
|
|
127
156
|
};
|
|
128
157
|
}
|
|
129
158
|
});
|
|
@@ -11,11 +11,11 @@ const _sfc_main = defineComponent({
|
|
|
11
11
|
setup(__props) {
|
|
12
12
|
return (_ctx, _cache) => {
|
|
13
13
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
14
|
-
createElementVNode("div", _hoisted_2, toDisplayString(
|
|
14
|
+
createElementVNode("div", _hoisted_2, toDisplayString(__props.doc.title), 1),
|
|
15
15
|
createElementVNode("div", _hoisted_3, [
|
|
16
16
|
createElementVNode("div", {
|
|
17
17
|
class: "doc-content",
|
|
18
|
-
innerHTML:
|
|
18
|
+
innerHTML: __props.doc.content
|
|
19
19
|
}, null, 8, _hoisted_4)
|
|
20
20
|
])
|
|
21
21
|
]);
|
|
@@ -19,10 +19,10 @@ const _sfc_main = defineComponent({
|
|
|
19
19
|
const emits = __emit;
|
|
20
20
|
return (_ctx, _cache) => {
|
|
21
21
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
22
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(
|
|
22
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.list, (item, idx) => {
|
|
23
23
|
return openBlock(), createElementBlock("div", {
|
|
24
24
|
key: item,
|
|
25
|
-
class: normalizeClass(["doc-history-item", { active: idx ===
|
|
25
|
+
class: normalizeClass(["doc-history-item", { active: idx === __props.current }]),
|
|
26
26
|
onClick: ($event) => emits("select", idx)
|
|
27
27
|
}, [
|
|
28
28
|
createElementVNode("div", _hoisted_3, toDisplayString(unref(timeFormat)(item.update_time)), 1),
|
|
@@ -38,15 +38,16 @@ function CompareText(v_LeftList, v_RightList, lftPNode = null) {
|
|
|
38
38
|
for (let i = 0; i < rightLen; i++) {
|
|
39
39
|
if (!rightFather)
|
|
40
40
|
rightFather = v_RightList[i].parentNode;
|
|
41
|
-
const node = v_RightList[i].
|
|
41
|
+
const node = v_RightList[i].cloneNode(true);
|
|
42
42
|
try {
|
|
43
43
|
rightFather.removeChild(v_RightList[i]);
|
|
44
44
|
} catch (e) {
|
|
45
45
|
console.log(e);
|
|
46
46
|
}
|
|
47
|
-
if (lftPNode)
|
|
47
|
+
if (lftPNode && lftPNode.nodeType !== 3) {
|
|
48
48
|
lftPNode.appendChild(node);
|
|
49
|
-
|
|
49
|
+
PaintRemove(node);
|
|
50
|
+
}
|
|
50
51
|
}
|
|
51
52
|
} else if (rightLen === 0) {
|
|
52
53
|
for (let i = 0; i < leftLen; i++)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare function getDocHistory(BASE_API: string, id: number, pub: boolean): Promise<import("axios").AxiosResponse<any, any>>;
|
|
1
|
+
export declare function getDocHistory(BASE_API: string, id: number, pub: boolean): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
2
2
|
export declare function useDocHistory(BASE_API: string): {
|
|
3
3
|
diffContent: import("vue").Ref<any, any>;
|
|
4
4
|
current: import("vue").Ref<number, number>;
|