@cmstops/pro-compo 3.9.1-stable.8 → 3.9.1-stable.9
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/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/FilterGroup.js +1 -1
- package/es/baseFilter/components/filterItem.d.ts +0 -0
- package/es/baseFilter/components/filterItem.js +1 -1
- 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/component.js +1 -1
- package/es/colorPalette/components/colorPicker.d.ts +0 -0
- package/es/colorPalette/index.d.ts +2 -0
- package/es/colorPalette/style/index.d.ts +1 -0
- package/es/components.d.ts +5 -0
- package/es/config.d.ts +4 -0
- package/es/contentDetailList/__demo__/matrix/platform.d.ts +36 -0
- package/es/contentDetailList/component.d.ts +0 -0
- package/es/contentDetailList/component.js +8 -8
- package/es/contentDetailList/components/Content/CompoItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/CompoItem/index.js +11 -11
- package/es/contentDetailList/components/Content/ContentListItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/ContentListItem/index.js +14 -14
- package/es/contentDetailList/components/Content/DocItem/ApprovalStateMap/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/DocItem/ApprovalStateMap/index.js +18 -18
- package/es/contentDetailList/components/Content/DocItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/DocItem/index.js +26 -26
- package/es/contentDetailList/components/Content/DocMpItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/DocMpItem/index.js +12 -12
- package/es/contentDetailList/components/Content/GroupPieceItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/GroupPieceItem/index.js +10 -10
- package/es/contentDetailList/components/Content/KongoNavItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/KongoNavItem/index.js +13 -13
- package/es/contentDetailList/components/Content/LiveItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/LiveItem/index.js +8 -8
- package/es/contentDetailList/components/Content/MaccountItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/MaccountItem/index.js +11 -11
- package/es/contentDetailList/components/Content/courseItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/courseItem/index.js +9 -9
- package/es/contentDetailList/components/Content/funhdItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/funhdItem/index.js +9 -9
- package/es/contentDetailList/components/Content/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/index.js +117 -117
- package/es/contentDetailList/components/CustomWrp/CustomItem.d.ts +0 -0
- package/es/contentDetailList/components/CustomWrp/CustomItem.js +4 -4
- package/es/contentDetailList/components/CustomWrp/index.d.ts +0 -0
- package/es/contentDetailList/components/CustomWrp/index.js +10 -10
- package/es/contentDetailList/components/Doc/index.d.ts +0 -0
- package/es/contentDetailList/components/Doc/index.js +11 -11
- package/es/contentDetailList/components/Records/MatrixItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Records/MatrixItem/index.js +22 -22
- package/es/contentDetailList/components/Records/index.d.ts +0 -0
- package/es/contentDetailList/components/Records/index.js +8 -8
- package/es/contentDetailList/components/ShowQRCode/QrcodeView/index.d.ts +0 -0
- package/es/contentDetailList/components/ShowQRCode/QrcodeView/index.js +8 -10
- package/es/contentDetailList/components/ShowQRCode/index.d.ts +0 -0
- package/es/contentDetailList/components/ShowQRCode/index.js +1 -1
- 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 +48 -56
- 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/CompoList/index.js +1 -1
- 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/Dejin/index.js +1 -1
- 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/MediaFilter/index.js +2 -2
- package/es/contentModal/components/MpContentList/index.d.ts +0 -0
- package/es/contentModal/components/MpContentList/index.js +1 -1
- package/es/contentModal/components/ViewAllColumn/MediaFilter/index.d.ts +0 -0
- package/es/contentModal/components/ViewAllColumn/MediaFilter/index.js +4 -5
- 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/ViewAllColumn/index.js +41 -19
- package/es/contentModal/components/storeBox/index.d.ts +0 -0
- package/es/contentModal/components/storeBox/index.js +10 -12
- 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 +43 -48
- 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 +5 -6
- package/es/docHistory/components/DocDiffPanel/index.d.ts +0 -0
- package/es/docHistory/components/DocDiffPanel/index.js +2 -2
- package/es/docHistory/components/DocHistoryList/index.d.ts +0 -0
- package/es/docHistory/components/DocHistoryList/index.js +2 -2
- package/es/docHistory/index.d.ts +2 -0
- package/es/docHistory/scripts/diff.d.ts +1 -0
- package/es/docHistory/scripts/useDocHistory.d.ts +10 -0
- package/es/docHistory/style/index.d.ts +1 -0
- package/es/docPreview/component.d.ts +0 -0
- package/es/docPreview/component.js +20 -25
- package/es/docPreview/components/PreviewIframe.d.ts +0 -0
- package/es/docPreview/components/PreviewIframe.js +2 -2
- 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 +13 -15
- 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/component.js +4 -4
- package/es/emptyData/index.d.ts +2 -0
- package/es/emptyData/style/index.d.ts +1 -0
- package/es/emptyData/svg/acount.js +2 -2
- package/es/emptyData/svg/add.d.ts +0 -0
- 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 -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 +13 -15
- 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 +16 -19
- 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/mediaFilter/component.d.ts +0 -0
- package/es/mediaFilter/component.js +4 -4
- package/es/mediaFilter/components/DocFilter.d.ts +0 -0
- package/es/mediaFilter/components/DocFilter.js +2 -3
- package/es/mediaFilter/components/FilterGroup.d.ts +0 -0
- package/es/mediaFilter/components/FilterGroup.js +1 -1
- package/es/mediaFilter/components/FilterItem.d.ts +0 -0
- package/es/mediaFilter/components/FilterItem.js +1 -1
- 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/component.js +8 -8
- package/es/mediaView/index.d.ts +2 -0
- package/es/mediaView/style/index.d.ts +1 -0
- package/es/messageBox/component.d.ts +0 -0
- package/es/messageBox/component.js +3 -3
- 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 +18 -20
- package/es/resourceGridList/components/FileTypeThumb/index.d.ts +0 -0
- package/es/resourceGridList/components/FileTypeThumb/index.js +6 -6
- package/es/resourceGridList/index.d.ts +2 -0
- package/es/resourceGridList/style/index.d.ts +1 -0
- package/es/resourceModal/component.d.ts +0 -0
- package/es/resourceModal/component.js +7 -7
- package/es/resourceModal/components/MediaPreviewer/index.d.ts +0 -0
- package/es/resourceModal/components/MediaPreviewer/index.js +8 -8
- package/es/resourceModal/components/MediaSelection/DocAiMediaSelected/index.d.ts +0 -0
- package/es/resourceModal/components/MediaSelection/DocAiMediaSelected/index.js +6 -7
- package/es/resourceModal/components/MediaSelection/MainContent/FileTypeThumb/index.d.ts +0 -0
- package/es/resourceModal/components/MediaSelection/MainContent/FileTypeThumb/index.js +6 -6
- package/es/resourceModal/components/MediaSelection/MainContent/index.d.ts +0 -0
- package/es/resourceModal/components/MediaSelection/MainContent/index.js +20 -22
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.d.ts +0 -0
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.js +3 -3
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.d.ts +0 -0
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.js +3 -3
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/index.d.ts +0 -0
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/index.js +2 -2
- package/es/resourceModal/components/MediaSelection/ToolbarSearch/index.d.ts +0 -0
- package/es/resourceModal/components/MediaSelection/ToolbarSearch/index.js +4 -4
- package/es/resourceModal/components/MediaSelection/index.d.ts +0 -0
- package/es/resourceModal/components/MediaSelection/index.js +6 -6
- package/es/resourceModal/index.d.ts +2 -0
- package/es/resourceModal/script/api.d.ts +25 -0
- package/es/resourceModal/script/mediaSelection.d.ts +14 -0
- package/es/resourceModal/style/index.d.ts +1 -0
- package/es/selectAddTo/component.d.ts +0 -0
- package/es/selectAddTo/components/SelectAddToView.d.ts +0 -0
- package/es/selectAddTo/components/SelectAddToView.js +14 -15
- package/es/selectAddTo/components/ViewAllColumn/MediaFilter/index.d.ts +0 -0
- package/es/selectAddTo/components/ViewAllColumn/MediaFilter/index.js +3 -3
- package/es/selectAddTo/components/ViewAllColumn/index.d.ts +0 -0
- package/es/selectAddTo/components/ViewAllColumn/index.js +3 -3
- package/es/selectAddTo/components/ViewAllColumn/script/useTableColumns.d.ts +6 -0
- package/es/selectAddTo/components/ViewAllColumn/script/useViewAllColumnState.d.ts +144 -0
- package/es/selectAddTo/components/ViewAllColumn/types/index.d.ts +55 -0
- package/es/selectAddTo/index.d.ts +2 -0
- package/es/selectAddTo/script/api.d.ts +18 -0
- package/es/selectAddTo/script/index.d.ts +2 -0
- package/es/selectAddTo/script/useSelectAddToState.d.ts +13 -0
- package/es/selectAddTo/style/index.d.ts +1 -0
- package/es/selectAddTo/types/index.d.ts +37 -0
- package/es/selectAvatarList/component.d.ts +0 -0
- package/es/selectAvatarList/index.d.ts +2 -0
- package/es/selectAvatarList/style/index.d.ts +1 -0
- package/es/selectGategory/component.d.ts +0 -0
- package/es/selectGategory/component.js +5 -5
- package/es/selectGategory/components/ColumnSelection/index.d.ts +0 -0
- package/es/selectGategory/components/ColumnSelection/index.js +6 -6
- package/es/selectGategory/index.d.ts +2 -0
- package/es/selectGategory/script/api.d.ts +6 -0
- package/es/selectGategory/style/index.d.ts +1 -0
- package/es/selectResourceModal/__demo__/module/DivWrapper.d.ts +261 -0
- package/es/selectResourceModal/__demo__/module/basic.d.ts +292 -0
- package/es/selectResourceModal/component.d.ts +0 -0
- package/es/selectResourceModal/component.js +27 -32
- 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/ListCardWrapper.js +6 -6
- package/es/selectResourceModal/components/List/ListLocal/Upload.d.ts +0 -0
- package/es/selectResourceModal/components/List/ListLocal/Upload.js +2 -3
- package/es/selectResourceModal/components/List/ListLocal/index.d.ts +0 -0
- package/es/selectResourceModal/components/List/ListNormal/Filter.d.ts +0 -0
- package/es/selectResourceModal/components/List/ListNormal/Filter.js +18 -22
- 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 +4 -5
- package/es/selectResourceModal/components/List/ListSystem/SubList.d.ts +0 -0
- package/es/selectResourceModal/components/List/ListSystem/SubList.js +3 -3
- package/es/selectResourceModal/components/List/ListSystem/index.d.ts +0 -0
- package/es/selectResourceModal/components/List/ListSystem/index.js +2 -2
- 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/List/ListWraper.js +2 -2
- package/es/selectResourceModal/components/ListSelected/index.d.ts +0 -0
- package/es/selectResourceModal/components/ListSelected/index.js +6 -6
- package/es/selectResourceModal/components/ListTabs/index.d.ts +0 -0
- package/es/selectResourceModal/components/ListTabs/index.js +1 -1
- 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/selectThumb/component.d.ts +0 -0
- package/es/selectThumb/component.js +29 -29
- package/es/selectThumb/components/card.d.ts +0 -0
- package/es/selectThumb/components/card.js +3 -3
- package/es/selectThumb/components/colorPalette.d.ts +0 -0
- package/es/selectThumb/components/colorPicker.d.ts +0 -0
- package/es/selectThumb/index.d.ts +2 -0
- package/es/selectThumb/style/index.d.ts +1 -0
- package/es/thumbCard/component.d.ts +0 -0
- package/es/thumbCard/component.js +7 -7
- package/es/thumbCard/components/ThumbUploading/index.d.ts +0 -0
- package/es/thumbCard/components/ThumbUploading/index.js +3 -3
- package/es/thumbCard/index.d.ts +2 -0
- package/es/thumbCard/style/index.d.ts +1 -0
- package/es/typeIcons/component.d.ts +0 -0
- package/es/typeIcons/index.d.ts +2 -0
- package/es/typeIcons/style/index.d.ts +1 -0
- package/es/uploadBefore/component.d.ts +0 -0
- package/es/uploadBefore/component.js +1 -1
- package/es/uploadBefore/components/UploadBefore.d.ts +0 -0
- package/es/uploadBefore/components/UploadBefore.js +9 -9
- 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/component.js +3 -3
- 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 +4 -5
- 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 +6 -7
- package/es/userDirector/components/userTree.d.ts +0 -0
- package/es/userDirector/components/userTree.js +2 -2
- 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/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 +8 -8
- package/lib/contentDetailList/components/Content/CompoItem/index.js +11 -11
- package/lib/contentDetailList/components/Content/ContentListItem/index.js +14 -14
- package/lib/contentDetailList/components/Content/DocItem/ApprovalStateMap/index.js +18 -18
- package/lib/contentDetailList/components/Content/DocItem/index.js +26 -26
- package/lib/contentDetailList/components/Content/DocMpItem/index.js +12 -12
- package/lib/contentDetailList/components/Content/GroupPieceItem/index.js +10 -10
- package/lib/contentDetailList/components/Content/KongoNavItem/index.js +13 -13
- package/lib/contentDetailList/components/Content/LiveItem/index.js +8 -8
- package/lib/contentDetailList/components/Content/MaccountItem/index.js +11 -11
- package/lib/contentDetailList/components/Content/courseItem/index.js +9 -9
- package/lib/contentDetailList/components/Content/funhdItem/index.js +9 -9
- package/lib/contentDetailList/components/Content/index.js +117 -117
- package/lib/contentDetailList/components/CustomWrp/CustomItem.js +4 -4
- package/lib/contentDetailList/components/CustomWrp/index.js +10 -10
- package/lib/contentDetailList/components/Doc/index.js +11 -11
- 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 +8 -10
- package/lib/contentDetailList/components/ShowQRCode/index.js +1 -1
- package/lib/contentModal/component.js +48 -56
- 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 +4 -5
- package/lib/contentModal/components/ViewAllColumn/index.js +40 -18
- package/lib/contentModal/components/storeBox/index.js +10 -12
- package/lib/dataTags/component.js +43 -48
- package/lib/docHistory/component.js +5 -6
- package/lib/docHistory/components/DocDiffPanel/index.js +2 -2
- package/lib/docHistory/components/DocHistoryList/index.js +2 -2
- package/lib/docPreview/component.js +20 -25
- package/lib/docPreview/components/PreviewIframe.js +2 -2
- package/lib/editMetaInfo/components/metaInfoForm.js +13 -15
- 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/imageCrop/component.js +13 -15
- package/lib/importData/component.js +16 -19
- package/lib/mediaFilter/component.js +4 -4
- package/lib/mediaFilter/components/DocFilter.js +2 -3
- 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 +18 -20
- 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 +6 -7
- package/lib/resourceModal/components/MediaSelection/MainContent/FileTypeThumb/index.js +6 -6
- package/lib/resourceModal/components/MediaSelection/MainContent/index.js +20 -22
- 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/components/SelectAddToView.js +14 -15
- package/lib/selectAddTo/components/ViewAllColumn/MediaFilter/index.js +3 -3
- package/lib/selectAddTo/components/ViewAllColumn/index.js +3 -3
- package/lib/selectGategory/component.js +5 -5
- package/lib/selectGategory/components/ColumnSelection/index.js +6 -6
- package/lib/selectResourceModal/component.js +27 -32
- package/lib/selectResourceModal/components/List/ListCardWrapper.js +6 -6
- package/lib/selectResourceModal/components/List/ListLocal/Upload.js +2 -3
- package/lib/selectResourceModal/components/List/ListNormal/Filter.js +18 -22
- package/lib/selectResourceModal/components/List/ListSystem/Filter.js +4 -5
- 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/selectThumb/component.js +29 -29
- 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/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 +4 -5
- package/lib/userDirector/component.js +6 -7
- package/lib/userDirector/components/userTree.js +2 -2
- package/package.json +1 -1
|
@@ -29,12 +29,12 @@ const _sfc_main = defineComponent({
|
|
|
29
29
|
!isFaild.value ? (openBlock(), createBlock(unref(Progress), {
|
|
30
30
|
key: 0,
|
|
31
31
|
type: "circle",
|
|
32
|
-
percent: (_a =
|
|
32
|
+
percent: (_a = __props.meta) == null ? void 0 : _a.progress
|
|
33
33
|
}, null, 8, ["percent"])) : createCommentVNode("v-if", true),
|
|
34
|
-
|
|
34
|
+
__props.meta.msg ? (openBlock(), createElementBlock("div", {
|
|
35
35
|
key: 1,
|
|
36
36
|
class: normalizeClass(["thumb-upload-text", textStatusClass.value])
|
|
37
|
-
}, toDisplayString((_b =
|
|
37
|
+
}, toDisplayString((_b = __props.meta) == null ? void 0 : _b.msg), 3)) : createCommentVNode("v-if", true)
|
|
38
38
|
]);
|
|
39
39
|
};
|
|
40
40
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.less';
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.less';
|
|
File without changes
|
|
@@ -62,7 +62,7 @@ const _sfc_main = defineComponent({
|
|
|
62
62
|
return (_ctx, _cache) => {
|
|
63
63
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
64
64
|
createVNode(_sfc_main$1, {
|
|
65
|
-
"upload-method":
|
|
65
|
+
"upload-method": __props.uploadMethod,
|
|
66
66
|
onAfterChoose: afterChoose
|
|
67
67
|
}, null, 8, ["upload-method"]),
|
|
68
68
|
createVNode(_sfc_main$2, {
|
|
File without changes
|
|
@@ -121,9 +121,9 @@ const _sfc_main = defineComponent({
|
|
|
121
121
|
onOk: handleOk,
|
|
122
122
|
onCancel: handleClose
|
|
123
123
|
}, {
|
|
124
|
-
title: withCtx(() => _cache[1] || (_cache[1] = [
|
|
125
|
-
createTextVNode("\u4E0A\u4F20\u914D\u7F6E")
|
|
126
|
-
])),
|
|
124
|
+
title: withCtx(() => [..._cache[1] || (_cache[1] = [
|
|
125
|
+
createTextVNode("\u4E0A\u4F20\u914D\u7F6E", -1)
|
|
126
|
+
])]),
|
|
127
127
|
default: withCtx(() => [
|
|
128
128
|
createElementVNode("div", _hoisted_1, [
|
|
129
129
|
createVNode(unref(Table), {
|
|
@@ -162,8 +162,8 @@ const _sfc_main = defineComponent({
|
|
|
162
162
|
}, 1032, ["value"]);
|
|
163
163
|
}), 128))
|
|
164
164
|
]),
|
|
165
|
-
_:
|
|
166
|
-
},
|
|
165
|
+
_: 1
|
|
166
|
+
}, 8, ["modelValue", "onUpdate:modelValue"])) : (openBlock(), createElementBlock("div", _hoisted_2, "\u2014 \u2014"))
|
|
167
167
|
]),
|
|
168
168
|
vTransTemp: withCtx(({ rowIndex, record }) => [
|
|
169
169
|
["dir", "video"].includes(record.type) ? (openBlock(), createBlock(unref(Select), {
|
|
@@ -187,8 +187,8 @@ const _sfc_main = defineComponent({
|
|
|
187
187
|
}, 1032, ["value"]);
|
|
188
188
|
}), 128))
|
|
189
189
|
]),
|
|
190
|
-
_:
|
|
191
|
-
},
|
|
190
|
+
_: 1
|
|
191
|
+
}, 8, ["modelValue", "onUpdate:modelValue"])) : (openBlock(), createElementBlock("div", _hoisted_3, "\u2014 \u2014"))
|
|
192
192
|
]),
|
|
193
193
|
aTransTemp: withCtx(({ record, rowIndex }) => [
|
|
194
194
|
["dir", "audio"].includes(record.type) ? (openBlock(), createBlock(unref(Select), {
|
|
@@ -212,8 +212,8 @@ const _sfc_main = defineComponent({
|
|
|
212
212
|
}, 1032, ["value"]);
|
|
213
213
|
}), 128))
|
|
214
214
|
]),
|
|
215
|
-
_:
|
|
216
|
-
},
|
|
215
|
+
_: 1
|
|
216
|
+
}, 8, ["modelValue", "onUpdate:modelValue"])) : (openBlock(), createElementBlock("div", _hoisted_4, "\u2014 \u2014"))
|
|
217
217
|
]),
|
|
218
218
|
_: 1
|
|
219
219
|
}, 8, ["data"])
|
|
File without changes
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare function getWaterMark(BASE_API: string): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
2
|
+
export declare function getVideoTransTemplate(BASE_API: string): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
3
|
+
export declare function getAudioTransTrempalte(BASE_API: string): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
4
|
+
export declare type TypeAddMediaParam = {
|
|
5
|
+
url: string;
|
|
6
|
+
alias: string;
|
|
7
|
+
catalog: string;
|
|
8
|
+
repository_id: number;
|
|
9
|
+
directory_id: number;
|
|
10
|
+
size: number;
|
|
11
|
+
enable_ai_catalog?: 0 | 1;
|
|
12
|
+
watermark?: any;
|
|
13
|
+
video_transcode_template?: any;
|
|
14
|
+
audio_transcode_template?: any;
|
|
15
|
+
};
|
|
16
|
+
export declare function addMedia(BASE_API: string, params: TypeAddMediaParam): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/** @description 文件类型适配器 @author LilMartin */
|
|
2
|
+
import type { FileItem } from '@arco-design/web-vue';
|
|
3
|
+
export interface CFileItem {
|
|
4
|
+
file: File;
|
|
5
|
+
id: string;
|
|
6
|
+
url?: string;
|
|
7
|
+
dirId?: string;
|
|
8
|
+
}
|
|
9
|
+
export interface SFileItem {
|
|
10
|
+
name: string;
|
|
11
|
+
size: number;
|
|
12
|
+
sizeCN: string;
|
|
13
|
+
type: string;
|
|
14
|
+
typeCN?: string;
|
|
15
|
+
id: string;
|
|
16
|
+
dirId?: string;
|
|
17
|
+
}
|
|
18
|
+
export interface BFileItem extends SFileItem {
|
|
19
|
+
isAnalize?: 0 | 1;
|
|
20
|
+
watermark?: any;
|
|
21
|
+
videotemp?: any;
|
|
22
|
+
audiotemp?: any;
|
|
23
|
+
}
|
|
24
|
+
export interface LFileItem extends BFileItem {
|
|
25
|
+
percent: number;
|
|
26
|
+
state: number;
|
|
27
|
+
count?: number;
|
|
28
|
+
}
|
|
29
|
+
declare type FileMaybeType = File | FileItem;
|
|
30
|
+
export declare function fileAdapter(fileMeta: FileMaybeType): {
|
|
31
|
+
url: string;
|
|
32
|
+
file: File;
|
|
33
|
+
id: string;
|
|
34
|
+
dirId?: string | undefined;
|
|
35
|
+
} | undefined;
|
|
36
|
+
export declare function checkType(type: string): "图片" | "目录" | "其他";
|
|
37
|
+
export declare function getMediaType(type: string): string;
|
|
38
|
+
export declare function getSize(value: number): string;
|
|
39
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BFileItem } from './fileTypeAdapter';
|
|
2
|
+
export declare function uploadFile(file: File, cb: (p: number) => void): Promise<false | import("tus-js-client").Upload>;
|
|
3
|
+
export declare function uploadAddRequest(file: BFileItem, metaData: {
|
|
4
|
+
rid: number;
|
|
5
|
+
dirId: number;
|
|
6
|
+
url: string;
|
|
7
|
+
}, BASE_API: string, cb?: (cbData: any) => void): Promise<void>;
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { BFileItem, CFileItem, LFileItem } from './fileTypeAdapter';
|
|
2
|
+
export declare function usePannelList(): {
|
|
3
|
+
panelList: import("vue").Ref<{
|
|
4
|
+
percent: number;
|
|
5
|
+
state: number;
|
|
6
|
+
count?: number | undefined;
|
|
7
|
+
isAnalize?: 0 | 1 | undefined;
|
|
8
|
+
watermark?: any;
|
|
9
|
+
videotemp?: any;
|
|
10
|
+
audiotemp?: any;
|
|
11
|
+
name: string;
|
|
12
|
+
size: number;
|
|
13
|
+
sizeCN: string;
|
|
14
|
+
type: string;
|
|
15
|
+
typeCN?: string | undefined;
|
|
16
|
+
id: string;
|
|
17
|
+
dirId?: string | undefined;
|
|
18
|
+
}[], LFileItem[] | {
|
|
19
|
+
percent: number;
|
|
20
|
+
state: number;
|
|
21
|
+
count?: number | undefined;
|
|
22
|
+
isAnalize?: 0 | 1 | undefined;
|
|
23
|
+
watermark?: any;
|
|
24
|
+
videotemp?: any;
|
|
25
|
+
audiotemp?: any;
|
|
26
|
+
name: string;
|
|
27
|
+
size: number;
|
|
28
|
+
sizeCN: string;
|
|
29
|
+
type: string;
|
|
30
|
+
typeCN?: string | undefined;
|
|
31
|
+
id: string;
|
|
32
|
+
dirId?: string | undefined;
|
|
33
|
+
}[]>;
|
|
34
|
+
panelFIleAdd: (fileMetaData: LFileItem) => void;
|
|
35
|
+
panelFileStatusChange: (id: string, p: number, s: number) => void;
|
|
36
|
+
};
|
|
37
|
+
export declare function usePreUploadOptions(): {
|
|
38
|
+
preOptionsList: import("vue").Ref<{
|
|
39
|
+
isAnalize?: 0 | 1 | undefined;
|
|
40
|
+
watermark?: any;
|
|
41
|
+
videotemp?: any;
|
|
42
|
+
audiotemp?: any;
|
|
43
|
+
name: string;
|
|
44
|
+
size: number;
|
|
45
|
+
sizeCN: string;
|
|
46
|
+
type: string;
|
|
47
|
+
typeCN?: string | undefined;
|
|
48
|
+
id: string;
|
|
49
|
+
dirId?: string | undefined;
|
|
50
|
+
}[], BFileItem[] | {
|
|
51
|
+
isAnalize?: 0 | 1 | undefined;
|
|
52
|
+
watermark?: any;
|
|
53
|
+
videotemp?: any;
|
|
54
|
+
audiotemp?: any;
|
|
55
|
+
name: string;
|
|
56
|
+
size: number;
|
|
57
|
+
sizeCN: string;
|
|
58
|
+
type: string;
|
|
59
|
+
typeCN?: string | undefined;
|
|
60
|
+
id: string;
|
|
61
|
+
dirId?: string | undefined;
|
|
62
|
+
}[]>;
|
|
63
|
+
uploadFileToShowFileTrans: (file: CFileItem) => void;
|
|
64
|
+
};
|
|
65
|
+
export declare function useUplaodList(): {
|
|
66
|
+
fileList: import("vue").Ref<{
|
|
67
|
+
file: {
|
|
68
|
+
readonly lastModified: number;
|
|
69
|
+
readonly name: string;
|
|
70
|
+
readonly size: number;
|
|
71
|
+
readonly type: string;
|
|
72
|
+
arrayBuffer: () => Promise<ArrayBuffer>;
|
|
73
|
+
slice: (start?: number | undefined, end?: number | undefined, contentType?: string | undefined) => Blob;
|
|
74
|
+
stream: () => ReadableStream<any>;
|
|
75
|
+
text: () => Promise<string>;
|
|
76
|
+
};
|
|
77
|
+
id: string;
|
|
78
|
+
url?: string | undefined;
|
|
79
|
+
dirId?: string | undefined;
|
|
80
|
+
}[], CFileItem[] | {
|
|
81
|
+
file: {
|
|
82
|
+
readonly lastModified: number;
|
|
83
|
+
readonly name: string;
|
|
84
|
+
readonly size: number;
|
|
85
|
+
readonly type: string;
|
|
86
|
+
arrayBuffer: () => Promise<ArrayBuffer>;
|
|
87
|
+
slice: (start?: number | undefined, end?: number | undefined, contentType?: string | undefined) => Blob;
|
|
88
|
+
stream: () => ReadableStream<any>;
|
|
89
|
+
text: () => Promise<string>;
|
|
90
|
+
};
|
|
91
|
+
id: string;
|
|
92
|
+
url?: string | undefined;
|
|
93
|
+
dirId?: string | undefined;
|
|
94
|
+
}[]>;
|
|
95
|
+
uploadFileAdd: (file: CFileItem) => void;
|
|
96
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.less';
|
|
File without changes
|
|
File without changes
|
|
@@ -62,7 +62,7 @@ const _sfc_main = defineComponent({
|
|
|
62
62
|
const uploadingFilter = (state) => [3, 5].includes(state);
|
|
63
63
|
return (_ctx, _cache) => {
|
|
64
64
|
return withDirectives((openBlock(), createElementBlock("div", {
|
|
65
|
-
class: normalizeClass(["panel_wrp", { global:
|
|
65
|
+
class: normalizeClass(["panel_wrp", { global: __props.global }])
|
|
66
66
|
}, [
|
|
67
67
|
createVNode(unref(Card), {
|
|
68
68
|
hoverable: "",
|
|
@@ -99,7 +99,7 @@ const _sfc_main = defineComponent({
|
|
|
99
99
|
createElementVNode("div", {
|
|
100
100
|
class: normalizeClass(["panel_list", { un_expend: !unref(expend) }])
|
|
101
101
|
}, [
|
|
102
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(
|
|
102
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.fileList, (file) => {
|
|
103
103
|
return openBlock(), createElementBlock("div", {
|
|
104
104
|
key: file.id,
|
|
105
105
|
class: "panel_item"
|
|
@@ -141,7 +141,7 @@ const _sfc_main = defineComponent({
|
|
|
141
141
|
_: 1
|
|
142
142
|
}, 8, ["class", "body-style"])
|
|
143
143
|
], 2)), [
|
|
144
|
-
[vShow,
|
|
144
|
+
[vShow, __props.visable]
|
|
145
145
|
]);
|
|
146
146
|
};
|
|
147
147
|
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export interface CFileItem {
|
|
2
|
+
file: File;
|
|
3
|
+
id: string;
|
|
4
|
+
url?: string;
|
|
5
|
+
dirId?: string;
|
|
6
|
+
}
|
|
7
|
+
export interface SFileItem {
|
|
8
|
+
name: string;
|
|
9
|
+
size: number;
|
|
10
|
+
sizeCN: string;
|
|
11
|
+
type: string;
|
|
12
|
+
typeCN?: string;
|
|
13
|
+
id: string;
|
|
14
|
+
dirId?: string;
|
|
15
|
+
}
|
|
16
|
+
export interface LFileItem extends SFileItem {
|
|
17
|
+
percent: number;
|
|
18
|
+
state: number;
|
|
19
|
+
count?: number;
|
|
20
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.less';
|
|
File without changes
|
|
@@ -137,11 +137,10 @@ const _sfc_main = defineComponent({
|
|
|
137
137
|
type: "text",
|
|
138
138
|
onClick: _cache[1] || (_cache[1] = ($event) => loginOut())
|
|
139
139
|
}, {
|
|
140
|
-
default: withCtx(() => _cache[2] || (_cache[2] = [
|
|
141
|
-
createTextVNode("\u9000\u51FA")
|
|
142
|
-
])),
|
|
143
|
-
_: 1
|
|
144
|
-
__: [2]
|
|
140
|
+
default: withCtx(() => [..._cache[2] || (_cache[2] = [
|
|
141
|
+
createTextVNode("\u9000\u51FA", -1)
|
|
142
|
+
])]),
|
|
143
|
+
_: 1
|
|
145
144
|
})
|
|
146
145
|
])
|
|
147
146
|
])
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
interface Params {
|
|
2
|
+
[key: string]: any;
|
|
3
|
+
}
|
|
4
|
+
export declare function getUserInfo(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
5
|
+
export declare function getUserDetails(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
6
|
+
export declare function domainSelect(BASE_API: string, did: number): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
7
|
+
export declare function accountLogout(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.less';
|
|
File without changes
|
|
@@ -225,11 +225,10 @@ const _sfc_main = defineComponent({
|
|
|
225
225
|
size: "mini",
|
|
226
226
|
onClick: clearUserSelectedList
|
|
227
227
|
}, {
|
|
228
|
-
default: withCtx(() => _cache[0] || (_cache[0] = [
|
|
229
|
-
createTextVNode("\u5168\u90E8\u6E05\u9664")
|
|
230
|
-
])),
|
|
231
|
-
_: 1
|
|
232
|
-
__: [0]
|
|
228
|
+
default: withCtx(() => [..._cache[0] || (_cache[0] = [
|
|
229
|
+
createTextVNode("\u5168\u90E8\u6E05\u9664", -1)
|
|
230
|
+
])]),
|
|
231
|
+
_: 1
|
|
233
232
|
})
|
|
234
233
|
]),
|
|
235
234
|
createVNode(unref(Scrollbar), {
|
|
@@ -260,8 +259,8 @@ const _sfc_main = defineComponent({
|
|
|
260
259
|
default: withCtx(() => [
|
|
261
260
|
createVNode(unref(IconDelete))
|
|
262
261
|
]),
|
|
263
|
-
_:
|
|
264
|
-
},
|
|
262
|
+
_: 1
|
|
263
|
+
}, 8, ["onClick"])
|
|
265
264
|
])
|
|
266
265
|
]);
|
|
267
266
|
}), 128))
|
|
File without changes
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
interface Params {
|
|
2
|
+
[key: string]: any;
|
|
3
|
+
}
|
|
4
|
+
export declare function getRepoRoleList(BASE_API: string, params: Params): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
5
|
+
export declare function getRoleAllUser(BASE_API: string, params: Params): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
6
|
+
export declare function getDepartList(BASE_API: string): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
7
|
+
export declare function getDepartUserList(BASE_API: string, params: Params): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
8
|
+
export declare function getRepoUserList(BASE_API: string, params: Params): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
9
|
+
export declare function getDepartChildren(BASE_API: string, params: Params): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.less';
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
declare type KeyValue = {
|
|
2
|
+
[key: string]: string;
|
|
3
|
+
};
|
|
4
|
+
export declare const docStateMap: {
|
|
5
|
+
0: string;
|
|
6
|
+
10: string;
|
|
7
|
+
12: string;
|
|
8
|
+
13: string;
|
|
9
|
+
14: string;
|
|
10
|
+
15: string;
|
|
11
|
+
16: string;
|
|
12
|
+
17: string;
|
|
13
|
+
19: string;
|
|
14
|
+
22: string;
|
|
15
|
+
};
|
|
16
|
+
export declare const docPubStateMap: KeyValue;
|
|
17
|
+
export declare const stateOptions: () => {
|
|
18
|
+
value: string;
|
|
19
|
+
label: string;
|
|
20
|
+
}[];
|
|
21
|
+
export declare const docThumbObjMap: any;
|
|
22
|
+
export declare const docThumbRatioMap: () => any;
|
|
23
|
+
export declare const docThumbArrMap: () => unknown[];
|
|
24
|
+
export declare const docThumbOptions: () => {
|
|
25
|
+
label: any;
|
|
26
|
+
value: string;
|
|
27
|
+
}[];
|
|
28
|
+
export declare const docThumbMap: () => any;
|
|
29
|
+
export declare const docThumbTypeMap: () => {
|
|
30
|
+
value: string;
|
|
31
|
+
label: any;
|
|
32
|
+
}[];
|
|
33
|
+
export declare const docSeries: KeyValue;
|
|
34
|
+
export declare const typeOptions: () => {
|
|
35
|
+
value: string;
|
|
36
|
+
label: string;
|
|
37
|
+
}[];
|
|
38
|
+
export declare const otherSeries: {
|
|
39
|
+
wechat: string;
|
|
40
|
+
ad: string;
|
|
41
|
+
activity: string;
|
|
42
|
+
booklink: string;
|
|
43
|
+
vote_activity: string;
|
|
44
|
+
vote: string;
|
|
45
|
+
cloud_lottery: string;
|
|
46
|
+
cloud_form: string;
|
|
47
|
+
};
|
|
48
|
+
export declare const editDocTypeToRouteMap: {
|
|
49
|
+
imagetext: string;
|
|
50
|
+
atlas: string;
|
|
51
|
+
video: string;
|
|
52
|
+
video_album: string;
|
|
53
|
+
svideo: string;
|
|
54
|
+
audio: string;
|
|
55
|
+
audio_album: string;
|
|
56
|
+
special_v3: string;
|
|
57
|
+
h5: string;
|
|
58
|
+
mini_program: string;
|
|
59
|
+
sp_topic: string;
|
|
60
|
+
local_live: string;
|
|
61
|
+
};
|
|
62
|
+
export declare const approvalItem: (item: any) => any;
|
|
63
|
+
export declare const getPublishParmas: (categories: any[], categories_with: any[], docData: any) => {
|
|
64
|
+
category: {
|
|
65
|
+
id: any;
|
|
66
|
+
repo_id: any;
|
|
67
|
+
};
|
|
68
|
+
category_with: {
|
|
69
|
+
id: any;
|
|
70
|
+
repo_id: any;
|
|
71
|
+
}[];
|
|
72
|
+
clean_offline_time: boolean;
|
|
73
|
+
id: any;
|
|
74
|
+
};
|
|
75
|
+
export declare function getDocThumb(item: any): any;
|
|
76
|
+
export {};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export declare const rateOptions: import("vue").Ref<{
|
|
2
|
+
label: string;
|
|
3
|
+
value: string;
|
|
4
|
+
}[], {
|
|
5
|
+
label: string;
|
|
6
|
+
value: string;
|
|
7
|
+
}[] | {
|
|
8
|
+
label: string;
|
|
9
|
+
value: string;
|
|
10
|
+
}[]>;
|
|
11
|
+
export declare const keywordsSelection: import("vue").Ref<{
|
|
12
|
+
name: string;
|
|
13
|
+
value: string;
|
|
14
|
+
}[], {
|
|
15
|
+
name: string;
|
|
16
|
+
value: string;
|
|
17
|
+
}[] | {
|
|
18
|
+
name: string;
|
|
19
|
+
value: string;
|
|
20
|
+
}[]>;
|
|
21
|
+
export declare const timeFormat: import("vue").ComputedRef<(value: any) => string>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare const dateYYYYDDMMHHmm: (date: any) => string;
|
|
2
|
+
export declare const generateUUID: () => string;
|
|
3
|
+
/**
|
|
4
|
+
* @description await 回调处理
|
|
5
|
+
* @param { Promise } promise
|
|
6
|
+
* @param { Object= } errorExt - Additional Information you can pass to the err object
|
|
7
|
+
* @return { Promise }
|
|
8
|
+
*/
|
|
9
|
+
export declare const to: <T, U = Error>(promise: Promise<T>, errorExt?: any) => Promise<[U, undefined] | [null, T]>;
|
|
10
|
+
export declare function replaceSuffix(str: string, insert: string): string;
|
|
11
|
+
export declare const noCoverText: (item: any) => any;
|
|
12
|
+
export declare const timeFormat: (value: any) => string;
|
|
13
|
+
export declare const validateForm: (formRef: any) => Promise<unknown>;
|
|
14
|
+
export declare function getRealUrl(BASE_API: string, url: string): Promise<unknown>;
|
|
15
|
+
export declare function getThemeColor(BASE_API: string, src: string): Promise<unknown>;
|
|
16
|
+
export declare function copyContent(content: string | Blob): Promise<boolean>;
|
|
17
|
+
export declare function mediaTime(v: number): string;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare module 'axios' {
|
|
2
|
+
interface AxiosResponse<T = any> {
|
|
3
|
+
code: number;
|
|
4
|
+
data: T;
|
|
5
|
+
message: T;
|
|
6
|
+
}
|
|
7
|
+
function create(config?: AxiosRequestConfig): AxiosInstance;
|
|
8
|
+
}
|
|
9
|
+
export default function (BASE_API: string, options: any): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare function getTranscodingProgress(BASE_API: string, id: number): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
2
|
+
/**
|
|
3
|
+
* 转码逻辑
|
|
4
|
+
* @description 转码逻辑抽离,后期所有涉及到转码的地方都可用该方法
|
|
5
|
+
*/
|
|
6
|
+
export declare class TranscodingTask {
|
|
7
|
+
file: any;
|
|
8
|
+
pollCount: number;
|
|
9
|
+
taskInterval: any;
|
|
10
|
+
constructor(file: any);
|
|
11
|
+
start(BASE_API: string, callback: (progress: number) => any): Promise<unknown>;
|
|
12
|
+
abort(): void;
|
|
13
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as TUS from 'tus-js-client';
|
|
2
|
+
/**
|
|
3
|
+
* @description 通过 TUS 实现大文件分片上传
|
|
4
|
+
* @param file 要上传的文件
|
|
5
|
+
* @param progressCallback 上传进度回调函数
|
|
6
|
+
* @returns
|
|
7
|
+
*/
|
|
8
|
+
export declare function uploadByTUS(file: File, progressCallback?: (b: number, t: number) => void): Promise<TUS.Upload>;
|
|
9
|
+
export declare class TusUploadTask {
|
|
10
|
+
file: any;
|
|
11
|
+
upload: any;
|
|
12
|
+
platformKey?: string;
|
|
13
|
+
constructor(file: any, platformKey?: string);
|
|
14
|
+
start(callback: (bytesUploaded: any, bytesTotal: any) => any): Promise<unknown>;
|
|
15
|
+
abort(): any;
|
|
16
|
+
}
|