@cmstops/pro-compo 3.9.1-rc.10 → 3.9.1-rc.11
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 +134 -134
- package/dist/index.min.js.map +1 -1
- package/es/appCenter/component.d.ts +0 -0
- package/es/appCenter/index.d.ts +2 -0
- package/es/appCenter/script/api.d.ts +11 -0
- package/es/appCenter/script/apps.d.ts +14 -0
- package/es/appCenter/script/permissionMap.d.ts +6 -0
- package/es/appCenter/script/routeMap.d.ts +4 -0
- package/es/appCenter/style/index.d.ts +1 -0
- package/es/baseFilter/component.d.ts +0 -0
- package/es/baseFilter/components/FilterGroup.d.ts +0 -0
- package/es/baseFilter/components/filterItem.d.ts +0 -0
- package/es/baseFilter/index.d.ts +2 -0
- package/es/baseFilter/style/index.d.ts +1 -0
- package/es/baseFilter/useCalcWidth.d.ts +16 -0
- package/es/colorPalette/component.d.ts +0 -0
- package/es/colorPalette/components/colorPicker.d.ts +0 -0
- package/es/colorPalette/index.d.ts +2 -0
- package/es/colorPalette/style/index.d.ts +1 -0
- package/es/components.d.ts +5 -0
- package/es/config.d.ts +4 -0
- package/es/contentDetailList/__demo__/matrix/platform.d.ts +36 -0
- package/es/contentDetailList/component.d.ts +0 -0
- package/es/contentDetailList/components/Content/CompoItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/ContentListItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/DocItem/ApprovalStateMap/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/DocItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/DocMpItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/GroupPieceItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/KongoNavItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/LiveItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/MaccountItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/courseItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/funhdItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/index.d.ts +0 -0
- package/es/contentDetailList/components/CustomWrp/CustomItem.d.ts +0 -0
- package/es/contentDetailList/components/CustomWrp/index.d.ts +0 -0
- package/es/contentDetailList/components/Doc/index.d.ts +0 -0
- package/es/contentDetailList/components/Records/MatrixItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Records/index.d.ts +0 -0
- package/es/contentDetailList/components/ShowQRCode/QrcodeView/index.d.ts +0 -0
- package/es/contentDetailList/components/ShowQRCode/QrcodeView/index.js +2 -4
- 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/component.js +8 -16
- 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/MediaFilter/index.js +1 -2
- 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 -4
- 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 -10
- 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 -2
- 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/docHistory/style/index.less +37 -37
- package/es/docPreview/component.d.ts +0 -0
- package/es/docPreview/component.js +5 -10
- 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/components/metaInfoForm.js +2 -4
- 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 -4
- 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 +3 -6
- package/es/importData/index.d.ts +2 -0
- package/es/importData/style/index.d.ts +1 -0
- package/es/index.d.ts +31 -0
- package/es/index.js +1 -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 -2
- 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/component.js +2 -4
- 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/DocAiMediaSelected/index.js +1 -2
- 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 +2 -4
- 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/selectAddTo/component.d.ts +0 -0
- package/es/selectAddTo/component.js +125 -0
- package/es/selectAddTo/component.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 +169 -0
- package/es/selectAddTo/components/ViewAllColumn/columnTree/index.d.ts +0 -0
- package/es/selectAddTo/components/ViewAllColumn/index.d.ts +0 -0
- package/es/selectAddTo/components/ViewAllColumn/index.js +209 -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.js +78 -0
- package/es/selectAddTo/components/ViewAllColumn/script/useViewAllColumnState.d.ts +144 -0
- package/es/selectAddTo/components/ViewAllColumn/script/useViewAllColumnState.js +193 -0
- package/es/selectAddTo/components/ViewAllColumn/types/index.d.ts +59 -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 +30 -0
- package/es/selectAddTo/script/index.d.ts +2 -0
- package/es/selectAddTo/script/useSelectAddToState.d.ts +21 -0
- package/es/selectAddTo/script/useSelectAddToState.js +106 -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 +42 -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/component.js +5 -10
- 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 -2
- package/es/selectResourceModal/components/List/ListLocal/index.d.ts +0 -0
- package/es/selectResourceModal/components/List/ListLocal/index.js +1 -1
- package/es/selectResourceModal/components/List/ListNormal/Filter.d.ts +0 -0
- package/es/selectResourceModal/components/List/ListNormal/Filter.js +4 -8
- 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 -2
- 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/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.d.ts +1 -0
- package/es/selectResourceModal/style/index.less +55 -55
- package/es/selectResourceModal/style/list.less +203 -203
- 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/style.css +57 -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/component.js +1 -1
- 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/component.js +1 -2
- 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 -2
- 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/contentDetailList/components/ShowQRCode/QrcodeView/index.js +2 -4
- package/lib/contentModal/component.js +8 -16
- package/lib/contentModal/components/ViewAllColumn/MediaFilter/index.js +1 -2
- package/lib/contentModal/components/storeBox/index.js +2 -4
- package/lib/dataTags/component.js +5 -10
- package/lib/docHistory/component.js +1 -2
- package/lib/docHistory/style/index.less +37 -37
- package/lib/docPreview/component.js +5 -10
- package/lib/editMetaInfo/components/metaInfoForm.js +2 -4
- package/lib/imageCrop/component.js +2 -4
- package/lib/importData/component.js +3 -6
- package/lib/index.js +2 -0
- package/lib/mediaFilter/components/DocFilter.js +1 -2
- package/lib/resourceGridList/component.js +2 -4
- package/lib/resourceModal/components/MediaSelection/DocAiMediaSelected/index.js +1 -2
- package/lib/resourceModal/components/MediaSelection/MainContent/index.js +2 -4
- package/lib/selectAddTo/component.js +126 -0
- package/lib/selectAddTo/component.vue_vue_type_style_index_0_scoped_true_lang.js +3 -0
- package/lib/selectAddTo/components/ViewAllColumn/MediaFilter/index.js +170 -0
- package/lib/selectAddTo/components/ViewAllColumn/index.js +210 -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 +80 -0
- package/lib/selectAddTo/components/ViewAllColumn/script/useViewAllColumnState.js +195 -0
- package/lib/selectAddTo/index.js +8 -0
- package/lib/selectAddTo/script/api.js +35 -0
- package/lib/selectAddTo/script/useSelectAddToState.js +108 -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/selectResourceModal/component.js +5 -10
- package/lib/selectResourceModal/components/List/ListLocal/Upload.js +1 -2
- package/lib/selectResourceModal/components/List/ListLocal/index.js +1 -1
- package/lib/selectResourceModal/components/List/ListNormal/Filter.js +4 -8
- package/lib/selectResourceModal/components/List/ListSystem/Filter.js +1 -2
- package/lib/selectResourceModal/style/index.less +55 -55
- package/lib/selectResourceModal/style/list.less +203 -203
- package/lib/typeIcons/component.js +1 -1
- package/lib/userAvater/component.js +1 -2
- package/lib/userDirector/component.js +1 -2
- package/package.json +138 -138
|
File without changes
|
|
@@ -419,8 +419,7 @@ const _sfc_main = defineComponent({
|
|
|
419
419
|
default: withCtx(() => _cache[5] || (_cache[5] = [
|
|
420
420
|
createTextVNode("\u53D6\u6D88")
|
|
421
421
|
])),
|
|
422
|
-
_: 1
|
|
423
|
-
__: [5]
|
|
422
|
+
_: 1
|
|
424
423
|
}),
|
|
425
424
|
withDirectives(createVNode(unref(Button), {
|
|
426
425
|
size: "medium",
|
|
@@ -431,8 +430,7 @@ const _sfc_main = defineComponent({
|
|
|
431
430
|
default: withCtx(() => _cache[6] || (_cache[6] = [
|
|
432
431
|
createTextVNode("\u88C1\u526A")
|
|
433
432
|
])),
|
|
434
|
-
_: 1
|
|
435
|
-
__: [6]
|
|
433
|
+
_: 1
|
|
436
434
|
}, 8, ["loading"]), [
|
|
437
435
|
[vShow, !croppering.value]
|
|
438
436
|
])
|
|
@@ -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
|
|
@@ -105,8 +105,7 @@ const _sfc_main = defineComponent({
|
|
|
105
105
|
default: withCtx(() => _cache[1] || (_cache[1] = [
|
|
106
106
|
createTextVNode("\u4E0B\u8F7D\u6A21\u677F")
|
|
107
107
|
])),
|
|
108
|
-
_: 1
|
|
109
|
-
__: [1]
|
|
108
|
+
_: 1
|
|
110
109
|
}, 8, ["href"])
|
|
111
110
|
]),
|
|
112
111
|
_cache[6] || (_cache[6] = createElementVNode("h3", null, "\u4E0A\u4F20\u6587\u4EF6", -1)),
|
|
@@ -127,8 +126,7 @@ const _sfc_main = defineComponent({
|
|
|
127
126
|
default: withCtx(() => _cache[3] || (_cache[3] = [
|
|
128
127
|
createTextVNode(" \u4E0B\u8F7D\u5BFC\u5165\u7ED3\u679C ")
|
|
129
128
|
])),
|
|
130
|
-
_: 1
|
|
131
|
-
__: [3]
|
|
129
|
+
_: 1
|
|
132
130
|
}, 8, ["href"])
|
|
133
131
|
])) : createCommentVNode("v-if", true),
|
|
134
132
|
importPercent.value === 1 && ((_b = importData.value) == null ? void 0 : _b.success_count) === void 0 ? (openBlock(), createElementBlock("p", _hoisted_5, " \u5BFC\u5165\u5931\u8D25\uFF0C" + toDisplayString(importErrorInfo.value), 1)) : createCommentVNode("v-if", true)
|
|
@@ -159,8 +157,7 @@ const _sfc_main = defineComponent({
|
|
|
159
157
|
default: withCtx(() => _cache[4] || (_cache[4] = [
|
|
160
158
|
createTextVNode("\u5F00\u59CB\u5BFC\u5165")
|
|
161
159
|
])),
|
|
162
|
-
_: 1
|
|
163
|
-
__: [4]
|
|
160
|
+
_: 1
|
|
164
161
|
}, 8, ["loading"])) : createCommentVNode("v-if", true)
|
|
165
162
|
]),
|
|
166
163
|
_: 1
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.less';
|
package/es/index.d.ts
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
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';
|
|
31
|
+
export { default as selectAddTo } from './selectAddTo';
|
package/es/index.js
CHANGED
|
@@ -28,3 +28,4 @@ export { default as docPreview } from "./docPreview/index.js";
|
|
|
28
28
|
export { default as docHistory } from "./docHistory/index.js";
|
|
29
29
|
export { default as videoThumb } from "./videoThumb/index.js";
|
|
30
30
|
export { default as importData } from "./importData/index.js";
|
|
31
|
+
export { default as selectAddTo } from "./selectAddTo/index.js";
|
|
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
|
|
@@ -204,8 +204,7 @@ const _sfc_main = defineComponent({
|
|
|
204
204
|
createElementVNode("div", { class: "transcoding-progress" }, "\u8F6C\u7801\u4E2D\u2026")
|
|
205
205
|
], -1)
|
|
206
206
|
])),
|
|
207
|
-
_: 1
|
|
208
|
-
__: [1]
|
|
207
|
+
_: 1
|
|
209
208
|
})) : createCommentVNode("v-if", true)
|
|
210
209
|
], 10, _hoisted_10)
|
|
211
210
|
]);
|
|
@@ -222,8 +221,7 @@ const _sfc_main = defineComponent({
|
|
|
222
221
|
default: withCtx(() => _cache[2] || (_cache[2] = [
|
|
223
222
|
createTextVNode("\u52A0\u8F7D\u66F4\u591A\u2026 ")
|
|
224
223
|
])),
|
|
225
|
-
_: 1
|
|
226
|
-
__: [2]
|
|
224
|
+
_: 1
|
|
227
225
|
})) : (openBlock(), createElementBlock("div", _hoisted_13, "\u6CA1\u6709\u66F4\u591A\u4E86\u2026"))
|
|
228
226
|
])) : createCommentVNode("v-if", true),
|
|
229
227
|
!((_d = _ctx.fileList) == null ? void 0 : _d.length) && !((_e = _ctx.folderList) == null ? void 0 : _e.length) ? (openBlock(), createElementBlock("div", _hoisted_14, _cache[3] || (_cache[3] = [
|
|
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
|
|
@@ -177,8 +177,7 @@ const _sfc_main = defineComponent({
|
|
|
177
177
|
createElementVNode("div", { class: "transcoding-progress" }, "\u8F6C\u7801\u4E2D\u2026")
|
|
178
178
|
], -1)
|
|
179
179
|
])),
|
|
180
|
-
_: 1
|
|
181
|
-
__: [1]
|
|
180
|
+
_: 1
|
|
182
181
|
})) : createCommentVNode("v-if", true)
|
|
183
182
|
], 2)
|
|
184
183
|
]);
|
|
@@ -195,8 +194,7 @@ const _sfc_main = defineComponent({
|
|
|
195
194
|
default: withCtx(() => _cache[2] || (_cache[2] = [
|
|
196
195
|
createTextVNode("\u52A0\u8F7D\u66F4\u591A\u2026 ")
|
|
197
196
|
])),
|
|
198
|
-
_: 1
|
|
199
|
-
__: [2]
|
|
197
|
+
_: 1
|
|
200
198
|
}, 8, ["onClick"])) : (openBlock(), createElementBlock("div", _hoisted_13, "\u6CA1\u6709\u66F4\u591A\u4E86\u2026"))
|
|
201
199
|
])) : createCommentVNode("v-if", true),
|
|
202
200
|
!_ctx.fileList.length && !_ctx.folderList.length ? (openBlock(), createElementBlock("div", _hoisted_14, _cache[3] || (_cache[3] = [
|
|
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,125 @@
|
|
|
1
|
+
import { defineComponent, onMounted, resolveComponent, openBlock, createBlock, unref, withCtx, createTextVNode, toDisplayString, createVNode, isRef, createCommentVNode } from "vue";
|
|
2
|
+
import { Modal, Tabs, Button } from "@arco-design/web-vue";
|
|
3
|
+
import ViewAllColumn from "./components/ViewAllColumn/index.js";
|
|
4
|
+
import "../typeIcons/style/index.js";
|
|
5
|
+
import { useSelectAddToState } from "./script/useSelectAddToState.js";
|
|
6
|
+
import "./component.vue_vue_type_style_index_0_scoped_true_lang.js";
|
|
7
|
+
import _export_sfc from "../_virtual/plugin-vue_export-helper.js";
|
|
8
|
+
const _sfc_main = defineComponent({
|
|
9
|
+
...{ name: "selectAddTo" },
|
|
10
|
+
__name: "component",
|
|
11
|
+
props: {
|
|
12
|
+
BASE_API: {},
|
|
13
|
+
visible: { type: Boolean },
|
|
14
|
+
title: {},
|
|
15
|
+
outsideSelectData: {},
|
|
16
|
+
defaultSelectedData: {},
|
|
17
|
+
maxSelect: {},
|
|
18
|
+
typeData: {},
|
|
19
|
+
userStore: {},
|
|
20
|
+
compoFilter: { type: Boolean, default: false },
|
|
21
|
+
typeKey: {},
|
|
22
|
+
rid: {}
|
|
23
|
+
},
|
|
24
|
+
emits: ["update:visible", "comfirm"],
|
|
25
|
+
setup(__props, { emit: __emit }) {
|
|
26
|
+
const emit = __emit;
|
|
27
|
+
const props = __props;
|
|
28
|
+
const {
|
|
29
|
+
visible,
|
|
30
|
+
title,
|
|
31
|
+
selectedData,
|
|
32
|
+
hasSelected,
|
|
33
|
+
typeDataController,
|
|
34
|
+
userInfo,
|
|
35
|
+
handleOk,
|
|
36
|
+
handleCancel,
|
|
37
|
+
comfirm,
|
|
38
|
+
HandleOpen,
|
|
39
|
+
HandleClose,
|
|
40
|
+
tabsChange,
|
|
41
|
+
selectedDataChangeHandle,
|
|
42
|
+
loadConfig,
|
|
43
|
+
getUserInfoHandle
|
|
44
|
+
} = useSelectAddToState(props, emit);
|
|
45
|
+
onMounted(() => {
|
|
46
|
+
if (props.userStore) {
|
|
47
|
+
userInfo.value = { BASE_API: props.BASE_API, ...props.userStore };
|
|
48
|
+
} else {
|
|
49
|
+
getUserInfoHandle();
|
|
50
|
+
}
|
|
51
|
+
loadConfig();
|
|
52
|
+
});
|
|
53
|
+
return (_ctx, _cache) => {
|
|
54
|
+
const _component_storeBox = resolveComponent("storeBox");
|
|
55
|
+
return openBlock(), createBlock(unref(Modal), {
|
|
56
|
+
footer: false,
|
|
57
|
+
"mask-closable": false,
|
|
58
|
+
visible: unref(visible),
|
|
59
|
+
"body-class": "add-content-modal-body",
|
|
60
|
+
"modal-class": "add-content-modal-wrapper",
|
|
61
|
+
"title-align": "start",
|
|
62
|
+
"unmount-on-close": "",
|
|
63
|
+
width: "1020px",
|
|
64
|
+
onCancel: unref(handleCancel),
|
|
65
|
+
onClose: unref(HandleClose),
|
|
66
|
+
onOk: unref(handleOk),
|
|
67
|
+
onOpen: unref(HandleOpen)
|
|
68
|
+
}, {
|
|
69
|
+
title: withCtx(() => [
|
|
70
|
+
createTextVNode(toDisplayString(unref(title)), 1)
|
|
71
|
+
]),
|
|
72
|
+
default: withCtx(() => [
|
|
73
|
+
createVNode(unref(Tabs), {
|
|
74
|
+
class: "content-tabs",
|
|
75
|
+
justify: "",
|
|
76
|
+
"lazy-load": "",
|
|
77
|
+
onTabClick: unref(tabsChange)
|
|
78
|
+
}, {
|
|
79
|
+
default: withCtx(() => {
|
|
80
|
+
var _a, _b;
|
|
81
|
+
return [
|
|
82
|
+
_ctx.rid ? (openBlock(), createBlock(ViewAllColumn, {
|
|
83
|
+
key: 0,
|
|
84
|
+
rid: _ctx.rid,
|
|
85
|
+
"default-selected-data": unref(selectedData),
|
|
86
|
+
"max-select": _ctx.maxSelect,
|
|
87
|
+
"user-info": unref(userInfo),
|
|
88
|
+
"type-key": _ctx.typeKey || "",
|
|
89
|
+
"type-data": unref(typeDataController),
|
|
90
|
+
series: ((_a = unref(typeDataController)) == null ? void 0 : _a.docSeries) || "all",
|
|
91
|
+
banner: ((_b = unref(typeDataController)) == null ? void 0 : _b.docBanner) || "all",
|
|
92
|
+
onChange: unref(selectedDataChangeHandle)
|
|
93
|
+
}, {
|
|
94
|
+
store: withCtx(() => [
|
|
95
|
+
createVNode(_component_storeBox, {
|
|
96
|
+
selectData: unref(selectedData),
|
|
97
|
+
"onUpdate:selectData": _cache[0] || (_cache[0] = ($event) => isRef(selectedData) ? selectedData.value = $event : null)
|
|
98
|
+
}, null, 8, ["selectData"])
|
|
99
|
+
]),
|
|
100
|
+
options: withCtx(() => [
|
|
101
|
+
createVNode(unref(Button), {
|
|
102
|
+
disabled: !unref(hasSelected),
|
|
103
|
+
type: "primary",
|
|
104
|
+
onClick: unref(comfirm)
|
|
105
|
+
}, {
|
|
106
|
+
default: withCtx(() => _cache[1] || (_cache[1] = [
|
|
107
|
+
createTextVNode(" \u6DFB\u52A0 ")
|
|
108
|
+
])),
|
|
109
|
+
_: 1
|
|
110
|
+
}, 8, ["disabled", "onClick"])
|
|
111
|
+
]),
|
|
112
|
+
_: 1
|
|
113
|
+
}, 8, ["rid", "default-selected-data", "max-select", "user-info", "type-key", "type-data", "series", "banner", "onChange"])) : createCommentVNode("v-if", true)
|
|
114
|
+
];
|
|
115
|
+
}),
|
|
116
|
+
_: 1
|
|
117
|
+
}, 8, ["onTabClick"])
|
|
118
|
+
]),
|
|
119
|
+
_: 1
|
|
120
|
+
}, 8, ["visible", "onCancel", "onClose", "onOk", "onOpen"]);
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
});
|
|
124
|
+
var _selectAddTo = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-4e1a01f6"]]);
|
|
125
|
+
export { _selectAddTo as default };
|
|
File without changes
|