@cmstops/pro-compo 3.9.1-stable.7 → 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 +29 -42
- 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/scripts/useTabFilter.js +1 -11
- package/es/selectResourceModal/style/index.d.ts +1 -0
- package/es/selectThumb/component.d.ts +0 -0
- package/es/selectThumb/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 +28 -41
- 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/selectResourceModal/scripts/useTabFilter.js +1 -13
- 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
|
@@ -434,20 +434,20 @@ const _sfc_main = defineComponent({
|
|
|
434
434
|
}, [
|
|
435
435
|
createCommentVNode(" \u5C01\u9762\u6807\u9898"),
|
|
436
436
|
createElementVNode("div", {
|
|
437
|
-
class: normalizeClass(["banner-view", { flex:
|
|
437
|
+
class: normalizeClass(["banner-view", { flex: __props.flex }])
|
|
438
438
|
}, [
|
|
439
|
-
|
|
439
|
+
__props.mode !== "smiple" && __props.showTitle ? (openBlock(), createElementBlock("div", {
|
|
440
440
|
key: 0,
|
|
441
441
|
class: "title",
|
|
442
|
-
style: normalizeStyle({ width:
|
|
442
|
+
style: normalizeStyle({ width: __props.offset })
|
|
443
443
|
}, [
|
|
444
|
-
|
|
445
|
-
createElementVNode("span", null, toDisplayString(
|
|
444
|
+
__props.titleValid ? (openBlock(), createElementBlock("span", _hoisted_1, "*")) : createCommentVNode("v-if", true),
|
|
445
|
+
createElementVNode("span", null, toDisplayString(__props.title ? __props.title : "\u5C01\u9762"), 1),
|
|
446
446
|
createCommentVNode(" \u4E0A\u4E0B\u5E03\u5C40\u663E\u793A tip"),
|
|
447
|
-
((_a = curtemplate.value) == null ? void 0 : _a.value) !== "4" && !
|
|
447
|
+
((_a = curtemplate.value) == null ? void 0 : _a.value) !== "4" && !__props.flex ? (openBlock(), createElementBlock("span", _hoisted_2, " (" + toDisplayString((_b = curtemplate.value) == null ? void 0 : _b.alias) + "\u6BD4\u4F8B\uFF1A" + toDisplayString((_c = curtemplate.value) == null ? void 0 : _c.ratioStr) + ") ", 1)) : createCommentVNode("v-if", true)
|
|
448
448
|
], 4)) : createCommentVNode("v-if", true),
|
|
449
449
|
createElementVNode("div", _hoisted_3, [
|
|
450
|
-
["thumbs"].includes(
|
|
450
|
+
["thumbs"].includes(__props.mode) ? (openBlock(), createElementBlock("div", _hoisted_4, [
|
|
451
451
|
(openBlock(true), createElementBlock(Fragment, null, renderList(thumbsLengthList.value, (item, index) => {
|
|
452
452
|
return openBlock(), createBlock(_sfc_main$1, {
|
|
453
453
|
key: index,
|
|
@@ -457,7 +457,7 @@ const _sfc_main = defineComponent({
|
|
|
457
457
|
parentRef: selectThumbRef.value,
|
|
458
458
|
idx: index,
|
|
459
459
|
"preview-list": previewList.value,
|
|
460
|
-
"is-popover":
|
|
460
|
+
"is-popover": __props.localUpload,
|
|
461
461
|
"thumb-model": "thumb",
|
|
462
462
|
onFileForShowThumb: fileForShowThumb,
|
|
463
463
|
onChangeThumbType: changeThumbType,
|
|
@@ -478,7 +478,7 @@ const _sfc_main = defineComponent({
|
|
|
478
478
|
model: model.value,
|
|
479
479
|
idx: index,
|
|
480
480
|
"preview-list": previewList.value,
|
|
481
|
-
"is-popover":
|
|
481
|
+
"is-popover": __props.localUpload,
|
|
482
482
|
"thumb-model": "thumb",
|
|
483
483
|
onFileForShowThumb: fileForShowThumb,
|
|
484
484
|
onChangeThumbType: changeThumbType,
|
|
@@ -490,9 +490,9 @@ const _sfc_main = defineComponent({
|
|
|
490
490
|
], 2112)) : createCommentVNode("v-if", true),
|
|
491
491
|
createCommentVNode(" \u5DE6\u53F3\u5E03\u5C40\u663E\u793Atip "),
|
|
492
492
|
createElementVNode("div", _hoisted_6, [
|
|
493
|
-
((_d = curtemplate.value) == null ? void 0 : _d.value) !== "4" &&
|
|
493
|
+
((_d = curtemplate.value) == null ? void 0 : _d.value) !== "4" && __props.flex ? (openBlock(), createElementBlock("span", _hoisted_7, " (" + toDisplayString((_e = curtemplate.value) == null ? void 0 : _e.alias) + "\u6BD4\u4F8B\uFF1A" + toDisplayString((_f = curtemplate.value) == null ? void 0 : _f.ratioStr) + ") ", 1)) : createCommentVNode("v-if", true)
|
|
494
494
|
]),
|
|
495
|
-
["doc"].includes(
|
|
495
|
+
["doc"].includes(__props.mode) ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
496
496
|
createCommentVNode(" \u9009\u62E9\u5927\u56FE\u3001\u4E09\u56FE\u3001\u5355\u56FE...\u7B49\u6A21\u5F0F "),
|
|
497
497
|
createVNode(unref(RadioGroup), {
|
|
498
498
|
modelValue: model.value,
|
|
@@ -527,18 +527,18 @@ const _sfc_main = defineComponent({
|
|
|
527
527
|
], 64)) : createCommentVNode("v-if", true)
|
|
528
528
|
])
|
|
529
529
|
], 2),
|
|
530
|
-
|
|
530
|
+
__props.mode === "doc" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
531
531
|
createCommentVNode(" \u72EC\u7ACB\u8F6E\u535A\u56FE "),
|
|
532
532
|
createElementVNode("div", {
|
|
533
|
-
class: normalizeClass(["banner-view", { flex:
|
|
533
|
+
class: normalizeClass(["banner-view", { flex: __props.flex }])
|
|
534
534
|
}, [
|
|
535
535
|
createElementVNode("div", {
|
|
536
536
|
class: "title",
|
|
537
|
-
style: normalizeStyle({ width:
|
|
537
|
+
style: normalizeStyle({ width: __props.offset })
|
|
538
538
|
}, [
|
|
539
539
|
_cache[11] || (_cache[11] = createElementVNode("span", { style: { "margin-right": "10px" } }, "\u72EC\u7ACB\u8F6E\u64AD\u56FE", -1)),
|
|
540
540
|
createCommentVNode(" \u4E0A\u4E0B\u5E03\u5C40\u5F00\u5173\u5728\u6807\u9898\u540E "),
|
|
541
|
-
!
|
|
541
|
+
!__props.flex ? (openBlock(), createBlock(unref(Switch), {
|
|
542
542
|
key: 0,
|
|
543
543
|
modelValue: hasBanner.value,
|
|
544
544
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => hasBanner.value = $event),
|
|
@@ -547,7 +547,7 @@ const _sfc_main = defineComponent({
|
|
|
547
547
|
], 4),
|
|
548
548
|
createElementVNode("div", _hoisted_8, [
|
|
549
549
|
createCommentVNode(" \u5DE6\u53F3\u5E03\u5C40\u5F00\u5173\u663E\u793A "),
|
|
550
|
-
|
|
550
|
+
__props.flex ? (openBlock(), createBlock(unref(Switch), {
|
|
551
551
|
key: 0,
|
|
552
552
|
modelValue: hasBanner.value,
|
|
553
553
|
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => hasBanner.value = $event),
|
|
@@ -561,16 +561,16 @@ const _sfc_main = defineComponent({
|
|
|
561
561
|
"onUpdate:data": _cache[5] || (_cache[5] = ($event) => banner.value = $event),
|
|
562
562
|
parentRef: selectThumbRef.value,
|
|
563
563
|
"preview-list": previewList.value,
|
|
564
|
-
"is-popover":
|
|
564
|
+
"is-popover": __props.localUpload,
|
|
565
565
|
"thumb-model": "banner",
|
|
566
566
|
onFileForShowThumb: fileForShowThumb,
|
|
567
567
|
onChangeThumbType: changeThumbType,
|
|
568
568
|
onUploadLocal: _cache[6] || (_cache[6] = (cb) => _ctx.$emit("upload", cb)),
|
|
569
569
|
onOpen: openDialogMediaSelection
|
|
570
570
|
}, null, 8, ["data", "parentRef", "preview-list", "is-popover"])) : createCommentVNode("v-if", true),
|
|
571
|
-
hasBanner.value && styleData.value.banner_theme_color ? (openBlock(), createElementBlock("div", _hoisted_9, _cache[12] || (_cache[12] = [
|
|
571
|
+
hasBanner.value && styleData.value.banner_theme_color ? (openBlock(), createElementBlock("div", _hoisted_9, [..._cache[12] || (_cache[12] = [
|
|
572
572
|
createElementVNode("span", null, "\u72EC\u7ACB\u8F6E\u64AD\u56FE\u80CC\u666F\u989C\u8272", -1)
|
|
573
|
-
]))) : createCommentVNode("v-if", true),
|
|
573
|
+
])])) : createCommentVNode("v-if", true),
|
|
574
574
|
createCommentVNode(" banner\u8C03\u8272\u677F "),
|
|
575
575
|
hasBanner.value ? (openBlock(), createBlock(_sfc_main$2, {
|
|
576
576
|
key: 3,
|
|
@@ -582,17 +582,17 @@ const _sfc_main = defineComponent({
|
|
|
582
582
|
], 2),
|
|
583
583
|
createCommentVNode(" pc\u5C01\u9762\u56FE\uFF08\u4E13\u9898\u5934\u56FE\u5171\u7528\u4E00\u4E2A\u5B57\u6BB5\uFF09 "),
|
|
584
584
|
createElementVNode("div", {
|
|
585
|
-
class: normalizeClass(["banner-view", { flex:
|
|
585
|
+
class: normalizeClass(["banner-view", { flex: __props.flex }])
|
|
586
586
|
}, [
|
|
587
587
|
createElementVNode("div", {
|
|
588
588
|
class: "title",
|
|
589
|
-
style: normalizeStyle({ width:
|
|
589
|
+
style: normalizeStyle({ width: __props.offset })
|
|
590
590
|
}, [
|
|
591
591
|
docSeriesShowTopThemeColor.value ? (openBlock(), createElementBlock("span", _hoisted_10, [
|
|
592
|
-
|
|
593
|
-
createElementVNode("span", null, toDisplayString(
|
|
592
|
+
__props.topImageTitleValid ? (openBlock(), createElementBlock("span", _hoisted_11, "*")) : createCommentVNode("v-if", true),
|
|
593
|
+
createElementVNode("span", null, toDisplayString(__props.topImageTitle || "\u5C01\u9762\u5934\u56FE"), 1)
|
|
594
594
|
])) : (openBlock(), createElementBlock("span", _hoisted_12, "PC\u5C01\u9762\u56FE")),
|
|
595
|
-
!
|
|
595
|
+
!__props.flex ? (openBlock(), createElementBlock("span", _hoisted_13, " (\u5EFA\u8BAE\u5C3A\u5BF8\uFF1A1242px*662px) ")) : createCommentVNode("v-if", true)
|
|
596
596
|
], 4),
|
|
597
597
|
createElementVNode("div", _hoisted_14, [
|
|
598
598
|
createVNode(_sfc_main$1, {
|
|
@@ -601,17 +601,17 @@ const _sfc_main = defineComponent({
|
|
|
601
601
|
"onUpdate:data": _cache[7] || (_cache[7] = ($event) => pcBanner.value = $event),
|
|
602
602
|
parentRef: selectThumbRef.value,
|
|
603
603
|
previewList: previewList.value,
|
|
604
|
-
"is-popover":
|
|
604
|
+
"is-popover": __props.localUpload,
|
|
605
605
|
thumbModel: "pcBanner",
|
|
606
606
|
onFileForShowThumb: fileForShowThumb,
|
|
607
607
|
onChangeThumbType: changeThumbType,
|
|
608
608
|
onUploadLocal: _cache[8] || (_cache[8] = (cb) => _ctx.$emit("upload", cb)),
|
|
609
609
|
onOpen: openDialogMediaSelection
|
|
610
610
|
}, null, 8, ["data", "parentRef", "previewList", "is-popover"]),
|
|
611
|
-
|
|
612
|
-
docSeriesShowTopThemeColor.value && styleData.value.top_theme_color ? (openBlock(), createElementBlock("div", _hoisted_16, _cache[13] || (_cache[13] = [
|
|
611
|
+
__props.flex ? (openBlock(), createElementBlock("span", _hoisted_15, "(\u5EFA\u8BAE\u5C3A\u5BF8\uFF1A1242px*662px)")) : createCommentVNode("v-if", true),
|
|
612
|
+
docSeriesShowTopThemeColor.value && styleData.value.top_theme_color ? (openBlock(), createElementBlock("div", _hoisted_16, [..._cache[13] || (_cache[13] = [
|
|
613
613
|
createElementVNode("span", null, "\u56FE\u7247\u80CC\u666F\u989C\u8272", -1)
|
|
614
|
-
]))) : createCommentVNode("v-if", true),
|
|
614
|
+
])])) : createCommentVNode("v-if", true),
|
|
615
615
|
docSeriesShowTopThemeColor.value ? (openBlock(), createBlock(_sfc_main$2, {
|
|
616
616
|
key: 2,
|
|
617
617
|
model: "top",
|
|
@@ -637,7 +637,7 @@ const _sfc_main = defineComponent({
|
|
|
637
637
|
visible: dialogMediaSelectionShow.value,
|
|
638
638
|
"onUpdate:visible": _cache[9] || (_cache[9] = ($event) => dialogMediaSelectionShow.value = $event),
|
|
639
639
|
maxcount: 1,
|
|
640
|
-
"media-use-type":
|
|
640
|
+
"media-use-type": __props.mediaUseType,
|
|
641
641
|
userInfo: { domain_id: 1, repository_id: 4 },
|
|
642
642
|
filterOptions: { mediaType: "image", mediaTypeStrict: true },
|
|
643
643
|
wrap: "modal",
|
|
File without changes
|
|
@@ -70,7 +70,7 @@ const _sfc_main = defineComponent({
|
|
|
70
70
|
return (_ctx, _cache) => {
|
|
71
71
|
var _a;
|
|
72
72
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
73
|
-
|
|
73
|
+
__props.isPopover ? (openBlock(), createBlock(unref(Popover), {
|
|
74
74
|
key: 0,
|
|
75
75
|
trigger: "hover",
|
|
76
76
|
position: "bottom",
|
|
@@ -105,7 +105,7 @@ const _sfc_main = defineComponent({
|
|
|
105
105
|
}, [
|
|
106
106
|
createVNode(unref(IconEdit))
|
|
107
107
|
]),
|
|
108
|
-
|
|
108
|
+
__props.along ? (openBlock(), createElementBlock("span", {
|
|
109
109
|
key: 0,
|
|
110
110
|
class: "half",
|
|
111
111
|
onClick: withModifiers(remove, ["stop"])
|
|
@@ -151,7 +151,7 @@ const _sfc_main = defineComponent({
|
|
|
151
151
|
}, [
|
|
152
152
|
createVNode(unref(IconEdit))
|
|
153
153
|
]),
|
|
154
|
-
|
|
154
|
+
__props.along ? (openBlock(), createElementBlock("span", {
|
|
155
155
|
key: 0,
|
|
156
156
|
class: "half",
|
|
157
157
|
onClick: withModifiers(remove, ["stop"])
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.less';
|
|
File without changes
|
|
@@ -81,26 +81,26 @@ const _sfc_main = defineComponent({
|
|
|
81
81
|
}, [
|
|
82
82
|
isUploading.value ? (openBlock(), createBlock(_sfc_main$1, {
|
|
83
83
|
key: 0,
|
|
84
|
-
meta:
|
|
85
|
-
}, null, 8, ["meta"])) :
|
|
84
|
+
meta: __props.meta
|
|
85
|
+
}, null, 8, ["meta"])) : __props.catalog && __props.url ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
86
86
|
createCommentVNode(" \u6709\u7C7B\u578B\u7684\u5C01\u9762 "),
|
|
87
87
|
createCommentVNode(" \u56FE\u7247 "),
|
|
88
|
-
|
|
88
|
+
__props.catalog ? (openBlock(), createBlock(unref(Image), mergeProps({
|
|
89
89
|
key: 0,
|
|
90
90
|
class: "thumb-image",
|
|
91
91
|
src: realThumb.value
|
|
92
92
|
}, aImageAttr.value), null, 16, ["src"])) : createCommentVNode("v-if", true)
|
|
93
93
|
], 64)) : createCommentVNode("v-if", true),
|
|
94
94
|
createCommentVNode(" \u4E00\u4E9B\u6807\u7B7E\uFF08\u56DB\u4E2A\u89D2\uFF09 "),
|
|
95
|
-
["video", "audio"].includes(
|
|
96
|
-
|
|
97
|
-
createTextVNode(" " + toDisplayString(unref(mediaTime)((_a =
|
|
95
|
+
["video", "audio"].includes(__props.catalog) && __props.meta ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
96
|
+
__props.catalog === "video" ? (openBlock(), createBlock(unref(IconVideoTag), { key: 0 })) : (openBlock(), createBlock(unref(IconAudioTag), { key: 1 })),
|
|
97
|
+
createTextVNode(" " + toDisplayString(unref(mediaTime)((_a = __props.meta) == null ? void 0 : _a.length)), 1)
|
|
98
98
|
])) : createCommentVNode("v-if", true),
|
|
99
99
|
createCommentVNode(" \u5916\u6302\u9009\u9879 "),
|
|
100
100
|
createElementVNode("div", {
|
|
101
101
|
class: normalizeClass(["thumb-handler-list", thumbHandlerClass.value])
|
|
102
102
|
}, [
|
|
103
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(
|
|
103
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.handlersKey, (item) => {
|
|
104
104
|
return openBlock(), createElementBlock("div", {
|
|
105
105
|
key: item.key,
|
|
106
106
|
class: "handler-item",
|
|
File without changes
|
|
@@ -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
|