@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
|
@@ -286,8 +286,7 @@ const _sfc_main = defineComponent({
|
|
|
286
286
|
createVNode(unref(IconRefresh), { class: "reset-icon" }),
|
|
287
287
|
_cache[7] || (_cache[7] = createTextVNode(" \u91CD\u7F6E "))
|
|
288
288
|
]),
|
|
289
|
-
_: 1
|
|
290
|
-
__: [7]
|
|
289
|
+
_: 1
|
|
291
290
|
}, 512), [
|
|
292
291
|
[vShow, showReset.value]
|
|
293
292
|
])
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -83,8 +83,7 @@ const _sfc_main = defineComponent({
|
|
|
83
83
|
default: withCtx(() => _cache[1] || (_cache[1] = [
|
|
84
84
|
createTextVNode("\u6E05\u7A7A")
|
|
85
85
|
])),
|
|
86
|
-
_: 1
|
|
87
|
-
__: [1]
|
|
86
|
+
_: 1
|
|
88
87
|
})
|
|
89
88
|
])
|
|
90
89
|
]),
|
|
@@ -100,8 +99,7 @@ const _sfc_main = defineComponent({
|
|
|
100
99
|
default: withCtx(() => _cache[0] || (_cache[0] = [
|
|
101
100
|
createTextVNode("\u5DF2\u9009\u6570\u636E")
|
|
102
101
|
])),
|
|
103
|
-
_: 1
|
|
104
|
-
__: [0]
|
|
102
|
+
_: 1
|
|
105
103
|
})) : createCommentVNode("v-if", true)
|
|
106
104
|
]),
|
|
107
105
|
_: 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
|
@@ -133,8 +133,7 @@ const _sfc_main = defineComponent({
|
|
|
133
133
|
default: withCtx(() => _cache[1] || (_cache[1] = [
|
|
134
134
|
createTextVNode("\u539F\u521B")
|
|
135
135
|
])),
|
|
136
|
-
_: 1
|
|
137
|
-
__: [1]
|
|
136
|
+
_: 1
|
|
138
137
|
}, 8, ["class"])
|
|
139
138
|
]),
|
|
140
139
|
_: 1
|
|
@@ -152,8 +151,7 @@ const _sfc_main = defineComponent({
|
|
|
152
151
|
default: withCtx(() => _cache[2] || (_cache[2] = [
|
|
153
152
|
createTextVNode("\u63A8\u8350")
|
|
154
153
|
])),
|
|
155
|
-
_: 1
|
|
156
|
-
__: [2]
|
|
154
|
+
_: 1
|
|
157
155
|
}, 8, ["class"])
|
|
158
156
|
]),
|
|
159
157
|
_: 1
|
|
@@ -171,8 +169,7 @@ const _sfc_main = defineComponent({
|
|
|
171
169
|
default: withCtx(() => _cache[3] || (_cache[3] = [
|
|
172
170
|
createTextVNode("\u654F\u611F")
|
|
173
171
|
])),
|
|
174
|
-
_: 1
|
|
175
|
-
__: [3]
|
|
172
|
+
_: 1
|
|
176
173
|
}, 8, ["class"])
|
|
177
174
|
]),
|
|
178
175
|
_: 1
|
|
@@ -190,8 +187,7 @@ const _sfc_main = defineComponent({
|
|
|
190
187
|
default: withCtx(() => _cache[4] || (_cache[4] = [
|
|
191
188
|
createTextVNode("\u5DF2\u63A8\u9001")
|
|
192
189
|
])),
|
|
193
|
-
_: 1
|
|
194
|
-
__: [4]
|
|
190
|
+
_: 1
|
|
195
191
|
}, 8, ["class"])
|
|
196
192
|
]),
|
|
197
193
|
_: 1
|
|
@@ -227,8 +223,7 @@ const _sfc_main = defineComponent({
|
|
|
227
223
|
default: withCtx(() => _cache[5] || (_cache[5] = [
|
|
228
224
|
createTextVNode(" \u77E9\u9635\u5206\u53D1 ")
|
|
229
225
|
])),
|
|
230
|
-
_: 1
|
|
231
|
-
__: [5]
|
|
226
|
+
_: 1
|
|
232
227
|
}, 8, ["class"])
|
|
233
228
|
]),
|
|
234
229
|
_: 1
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.less';
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function CompareById2(leftNode: HTMLElement, rightNode: HTMLElement): string;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare function getDocHistory(BASE_API: string, id: number, pub: boolean): 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';
|
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
@import './docDiffPanel.less';
|
|
2
|
-
@import './docHistoryList.less';
|
|
3
|
-
|
|
4
|
-
.doc-history-wrap {
|
|
5
|
-
display: flex;
|
|
6
|
-
width: 100%;
|
|
7
|
-
height: 100%;
|
|
8
|
-
overflow: hidden;
|
|
9
|
-
|
|
10
|
-
.doc-diff-panel {
|
|
11
|
-
flex: 1;
|
|
12
|
-
height: 100%;
|
|
13
|
-
|
|
14
|
-
.doc-diff-panel-wrap {
|
|
15
|
-
padding: 24px;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.doc-history-list {
|
|
20
|
-
height: 100%;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.doc-history-drawer {
|
|
25
|
-
.arco-drawer-body {
|
|
26
|
-
padding: 0;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.arco-drawer-footer {
|
|
30
|
-
text-align: left;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.doc-history-modal-wrap {
|
|
35
|
-
height: 70vh;
|
|
36
|
-
padding: 0;
|
|
37
|
-
}
|
|
1
|
+
@import './docDiffPanel.less';
|
|
2
|
+
@import './docHistoryList.less';
|
|
3
|
+
|
|
4
|
+
.doc-history-wrap {
|
|
5
|
+
display: flex;
|
|
6
|
+
width: 100%;
|
|
7
|
+
height: 100%;
|
|
8
|
+
overflow: hidden;
|
|
9
|
+
|
|
10
|
+
.doc-diff-panel {
|
|
11
|
+
flex: 1;
|
|
12
|
+
height: 100%;
|
|
13
|
+
|
|
14
|
+
.doc-diff-panel-wrap {
|
|
15
|
+
padding: 24px;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.doc-history-list {
|
|
20
|
+
height: 100%;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.doc-history-drawer {
|
|
25
|
+
.arco-drawer-body {
|
|
26
|
+
padding: 0;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.arco-drawer-footer {
|
|
30
|
+
text-align: left;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.doc-history-modal-wrap {
|
|
35
|
+
height: 70vh;
|
|
36
|
+
padding: 0;
|
|
37
|
+
}
|
|
File without changes
|
|
@@ -94,8 +94,7 @@ const _sfc_main = defineComponent({
|
|
|
94
94
|
default: withCtx(() => _cache[8] || (_cache[8] = [
|
|
95
95
|
createTextVNode(" \u590D\u5236\u94FE\u63A5 ")
|
|
96
96
|
])),
|
|
97
|
-
_: 1
|
|
98
|
-
__: [8]
|
|
97
|
+
_: 1
|
|
99
98
|
}, 8, ["onClick"])
|
|
100
99
|
]),
|
|
101
100
|
createCommentVNode(" \u94FE\u63A5 "),
|
|
@@ -111,8 +110,7 @@ const _sfc_main = defineComponent({
|
|
|
111
110
|
default: withCtx(() => _cache[10] || (_cache[10] = [
|
|
112
111
|
createTextVNode("\u53D6\u6D88\u9884\u89C8\u94FE\u63A5")
|
|
113
112
|
])),
|
|
114
|
-
_: 1
|
|
115
|
-
__: [10]
|
|
113
|
+
_: 1
|
|
116
114
|
}),
|
|
117
115
|
createVNode(unref(Button), {
|
|
118
116
|
type: "primary",
|
|
@@ -121,8 +119,7 @@ const _sfc_main = defineComponent({
|
|
|
121
119
|
default: withCtx(() => _cache[11] || (_cache[11] = [
|
|
122
120
|
createTextVNode(" \u66F4\u65B0\u9884\u89C8\u6709\u6548\u671F ")
|
|
123
121
|
])),
|
|
124
|
-
_: 1
|
|
125
|
-
__: [11]
|
|
122
|
+
_: 1
|
|
126
123
|
})
|
|
127
124
|
])
|
|
128
125
|
], 64)) : unref(isPublish) ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
@@ -142,8 +139,7 @@ const _sfc_main = defineComponent({
|
|
|
142
139
|
default: withCtx(() => _cache[13] || (_cache[13] = [
|
|
143
140
|
createTextVNode(" \u590D\u5236\u94FE\u63A5 ")
|
|
144
141
|
])),
|
|
145
|
-
_: 1
|
|
146
|
-
__: [13]
|
|
142
|
+
_: 1
|
|
147
143
|
}, 8, ["onClick"])
|
|
148
144
|
]),
|
|
149
145
|
createCommentVNode(" \u94FE\u63A5 "),
|
|
@@ -183,8 +179,7 @@ const _sfc_main = defineComponent({
|
|
|
183
179
|
default: withCtx(() => _cache[18] || (_cache[18] = [
|
|
184
180
|
createTextVNode(" \u751F\u6210\u9884\u89C8\u94FE\u63A5 ")
|
|
185
181
|
])),
|
|
186
|
-
_: 1
|
|
187
|
-
__: [18]
|
|
182
|
+
_: 1
|
|
188
183
|
})
|
|
189
184
|
])
|
|
190
185
|
], 64))
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function generateDocPreviewLink(BASE_API: string, params: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
export declare function generateDocPreviewLink(BASE_API: string, params: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
3
|
+
export declare const EXPIRE_TIME_OPTIONS: {
|
|
4
|
+
label: string;
|
|
5
|
+
value: number;
|
|
6
|
+
}[];
|
|
7
|
+
declare type ShareDataType = {
|
|
8
|
+
qrCode: string;
|
|
9
|
+
shareUrl: string;
|
|
10
|
+
expiredAt: number;
|
|
11
|
+
};
|
|
12
|
+
export declare function useDocPreview(BASE_API: string, hashid: Ref<string>): {
|
|
13
|
+
genQrCode: (shareUrl: string, selector: string) => void;
|
|
14
|
+
generate: (cancel?: boolean | undefined) => Promise<boolean>;
|
|
15
|
+
cancel: (update?: boolean | undefined) => Promise<void>;
|
|
16
|
+
copy: () => Promise<void>;
|
|
17
|
+
qrCode: Ref<string, string>;
|
|
18
|
+
isPublish: Ref<boolean, boolean>;
|
|
19
|
+
loading: Ref<boolean, boolean>;
|
|
20
|
+
expireTime: Ref<number, number>;
|
|
21
|
+
innerUrl: Ref<string, string>;
|
|
22
|
+
shareData: Ref<{
|
|
23
|
+
qrCode: string;
|
|
24
|
+
shareUrl: string;
|
|
25
|
+
expiredAt: number;
|
|
26
|
+
} | null, ShareDataType | {
|
|
27
|
+
qrCode: string;
|
|
28
|
+
shareUrl: string;
|
|
29
|
+
expiredAt: number;
|
|
30
|
+
} | null>;
|
|
31
|
+
intervalTime: Ref<string, string>;
|
|
32
|
+
};
|
|
33
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.less';
|
|
File without changes
|
|
File without changes
|
|
@@ -762,15 +762,13 @@ const _sfc_main = defineComponent({
|
|
|
762
762
|
default: withCtx(() => _cache[29] || (_cache[29] = [
|
|
763
763
|
createTextVNode(" \u9ED8\u54C0\u6A21\u5F0F")
|
|
764
764
|
])),
|
|
765
|
-
_: 1
|
|
766
|
-
__: [29]
|
|
765
|
+
_: 1
|
|
767
766
|
}),
|
|
768
767
|
createVNode(unref(Radio), { value: 2 }, {
|
|
769
768
|
default: withCtx(() => _cache[30] || (_cache[30] = [
|
|
770
769
|
createTextVNode("\u975E\u9ED8\u54C0\u6A21\u5F0F")
|
|
771
770
|
])),
|
|
772
|
-
_: 1
|
|
773
|
-
__: [30]
|
|
771
|
+
_: 1
|
|
774
772
|
})
|
|
775
773
|
]),
|
|
776
774
|
_: 1
|
|
@@ -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;
|