@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
package/es/emptyData/svg/user.js
CHANGED
|
@@ -9,9 +9,9 @@ const _hoisted_1 = {
|
|
|
9
9
|
xmlns: "http://www.w3.org/2000/svg"
|
|
10
10
|
};
|
|
11
11
|
function _sfc_render(_ctx, _cache) {
|
|
12
|
-
return openBlock(), createElementBlock("svg", _hoisted_1, _cache[0] || (_cache[0] = [
|
|
12
|
+
return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [
|
|
13
13
|
createStaticVNode('<rect x="67.4453" y="83.8408" width="15.6984" height="41.8624" fill="#DBDDE3"></rect><path fill-rule="evenodd" clip-rule="evenodd" d="M118.15 11.0173C68.9356 4.45296 69.6987 31.2326 42.263 46.1606C14.8273 61.0886 -3.99271 73.5543 5.05203 93.2984C10.6382 106.7 21.093 100.558 5.05203 135.654C-10.8707 170.49 14.0265 164.749 35.616 180.492C53.7175 193.691 67.41 221.629 99.065 204.871C155.627 174.929 156.177 204.872 189.694 190.091C208.756 181.685 221.701 147.59 219.818 111.537C218.263 81.7458 204.323 75.3542 184.603 56.6392C164.883 37.9242 167.365 17.5817 118.15 11.0173Z" fill="#E8E9F0"></path><mask id="mask0_271985_12259" style="mask-type:alpha;" maskUnits="userSpaceOnUse" x="0" y="10" width="220" height="201"><path fill-rule="evenodd" clip-rule="evenodd" d="M118.15 11.0173C68.9356 4.45296 69.6987 31.2326 42.263 46.1606C14.8273 61.0886 -3.99271 73.5543 5.05203 93.2984C10.6382 106.7 21.093 100.558 5.05203 135.654C-10.8707 170.49 14.0265 164.749 35.616 180.492C53.7175 193.691 67.41 221.629 99.065 204.871C155.627 174.929 156.177 204.872 189.694 190.091C208.756 181.685 221.701 147.59 219.818 111.537C218.263 81.7458 204.323 75.3542 184.603 56.6392C164.883 37.9242 167.365 17.5817 118.15 11.0173Z" fill="white"></path></mask><g mask="url(#mask0_271985_12259)"><path opacity="0.5" d="M-34.8867 115.466H10.8117L11.2271 131.693H49.5193V100.12H87.638L87.6681 125.005H104.231V112.37L125.442 112.578L126.647 195.613H-34.8867V115.466Z" fill="#D0D2D8"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M260.477 79.7705H209.894V140.659L198.77 140.55V158.262H175.59L175.548 123.377H122.199V167.638H68.6081L68.0267 144.89H4.07031V257.244H230.142L229.112 186.171H260.477V79.7705Z" fill="#DFE1E7"></path><path d="M149.206 90.3587C149.206 90.3587 150.413 100.14 145 111.197C139.587 122.255 147.966 132.68 147.966 132.68H84.2674C84.2674 132.68 87.9729 129.644 86.1201 125.927C84.2674 122.211 74.3833 113.791 75.0347 104.32C75.6861 94.8478 80.8739 92.7605 80.8739 89.4257C80.8739 86.0909 80.8739 78.4593 80.8739 78.4593C80.8739 78.4593 94.6617 60.8795 110.348 67.7442C126.035 74.6089 149.206 90.3587 149.206 90.3587Z" fill="#C1C6D4"></path><path d="M103.591 140.238C103.591 140.238 72.4289 150.801 66.7055 156.948C60.2368 163.895 41.5697 205.422 46.8685 218.734C56.286 242.392 62.6979 223.404 65.0308 239.625C65.8596 245.389 75.121 248.383 75.121 248.383L139.94 240.272L149.788 228.782C149.788 228.782 181.557 232.232 181.404 228.782C180.431 206.817 170.295 164.212 163.242 156.948C157.519 151.053 124.792 140.238 124.792 140.238H103.591Z" fill="#C1C5D1"></path><path d="M101.953 127.447H125.967C125.967 127.447 123.923 134.231 124.669 136.896C125.546 140.029 126.263 142.22 127.914 144.478C125.358 150.746 120.937 153.03 113.96 153.03C106.983 153.03 102.804 151.338 100.006 144.478C101.565 142.015 102.367 139.815 103.251 136.712C104.008 134.053 101.953 127.447 101.953 127.447Z" fill="url(#paint0_linear_271985_12259)"></path><circle cx="139.832" cy="101.574" r="7.26777" fill="#CDD1DE"></circle><circle cx="88.0881" cy="101.574" r="7.26777" fill="#CDD1DE"></circle><ellipse cx="113.088" cy="104.481" rx="25.8733" ry="29.3618" fill="#E0E3EA"></ellipse><path d="M89.0003 83.6274C89.0003 83.6274 90.0085 84.8623 104.834 86.6749C119.66 88.4874 120.965 83.9162 126.133 87.244C131.302 90.5718 127.906 92.5392 131.219 96.0617C134.532 99.5843 137.962 100.12 141.142 100.12C144.322 100.12 149.951 99.1882 149.388 92.8363C148.824 86.4845 144.674 58.993 110.398 54.8642C79.4309 52.8879 77.9814 82.4033 80.4761 91.2619C81.42 94.8645 84.3177 92.5436 84.3177 92.5436C84.3177 92.5436 86.2358 91.5822 87.0596 88.2848C87.8834 84.9874 89.0003 83.6274 89.0003 83.6274Z" fill="#C1C6D4"></path></g><path fill-rule="evenodd" clip-rule="evenodd" d="M48.5355 37.1812C44.6826 41.9392 24.8271 50.9173 19.7935 43.7222C14.76 36.5272 21.2897 30.1963 25.4711 30.1963C29.6526 30.1963 38.6118 34.4806 41.9814 28.8229C45.3509 23.1651 52.6107 24.5353 53.4621 27.4424C54.3136 30.3495 52.3885 32.4233 48.5355 37.1812Z" fill="#E8E9F0"></path><path d="M152.332 80.9336H167.449V129.959H152.332V80.9336Z" fill="#DFE1E7"></path><path d="M158.729 68.1426H161.054V117.168H158.729V68.1426Z" fill="#DFE1E7"></path><defs><linearGradient id="paint0_linear_271985_12259" x1="125.394" y1="153.03" x2="125.394" y2="132.068" gradientUnits="userSpaceOnUse"><stop stop-color="#E0E3EA"></stop><stop offset="1" stop-color="#D2D6DF"></stop></linearGradient></defs>', 8)
|
|
14
|
-
]));
|
|
14
|
+
])]);
|
|
15
15
|
}
|
|
16
16
|
var user = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
17
17
|
export { user as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function useGenerateAssets(BASE_API: string, params: any): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare const useTableBatch: () => {
|
|
2
|
+
hoverTarget: import("vue").Ref<null, null>;
|
|
3
|
+
isItemChecked: import("vue").ComputedRef<(selectedData: any, item: any) => any>;
|
|
4
|
+
hoverBatchBox: import("vue").ComputedRef<(selectedData: any, item: any) => any>;
|
|
5
|
+
tableCellMouseEnter: (record: any) => void;
|
|
6
|
+
tableCellMouseLeave: (record: any) => void;
|
|
7
|
+
};
|
|
8
|
+
export default useTableBatch;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
interface Params {
|
|
2
|
+
[key: string]: any;
|
|
3
|
+
}
|
|
4
|
+
export declare function getConfiguration(BASE_API: string, params: Params): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
5
|
+
declare const useLoadSourceInfo: (BASE_API: string) => {
|
|
6
|
+
SourceInfo: import("vue").Ref<any, any>;
|
|
7
|
+
getSourceInfoHandle: () => Promise<void>;
|
|
8
|
+
};
|
|
9
|
+
export default useLoadSourceInfo;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
export declare function getAttachmentsAll(BASE_API: string, query?: any): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
2
|
+
export declare function getAttachmentsMy(BASE_API: string, query?: any): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
3
|
+
export declare function getAttachmentsMyMessage(BASE_API: string, query: any): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
4
|
+
declare type OptionsType = {
|
|
5
|
+
key: string;
|
|
6
|
+
BASE_API: string;
|
|
7
|
+
};
|
|
8
|
+
export default function useAttachement(options: OptionsType): {
|
|
9
|
+
list: import("vue").Ref<any[], any[]>;
|
|
10
|
+
total: import("vue").Ref<number, number>;
|
|
11
|
+
limit: import("vue").Ref<number, number>;
|
|
12
|
+
offset: import("vue").Ref<number, number>;
|
|
13
|
+
pageIdx: import("vue").ComputedRef<number>;
|
|
14
|
+
loading: import("vue").Ref<boolean, boolean>;
|
|
15
|
+
changeFilter: (f: any) => void;
|
|
16
|
+
changeKey: (k: string) => void;
|
|
17
|
+
changePage: (o: number) => void;
|
|
18
|
+
changeSize: (s: number) => void;
|
|
19
|
+
loadData: () => Promise<void>;
|
|
20
|
+
};
|
|
21
|
+
export declare function useLocalRecource(): {
|
|
22
|
+
localList: import("vue").Ref<any[], any[]>;
|
|
23
|
+
initLocalList: () => void;
|
|
24
|
+
setLocalList: (list: any[]) => void;
|
|
25
|
+
};
|
|
26
|
+
export declare type MediaUseType = 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
27
|
+
export declare const mediaUseEnum: {
|
|
28
|
+
[key: string]: MediaUseType;
|
|
29
|
+
};
|
|
30
|
+
export declare function getSysRsByTag(BASE_API: string, params: any): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
31
|
+
export declare function getSysRsClassifyList(BASE_API: string, sys_tag: number): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
32
|
+
export declare function getSysRsPage(BASE_API: string, params: any): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
33
|
+
export declare function getDirectory(BASE_API: string, params: any): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
34
|
+
/**
|
|
35
|
+
* 数据结构:
|
|
36
|
+
* Array<{
|
|
37
|
+
* "id": {dirid},
|
|
38
|
+
* "alias": {dirname},
|
|
39
|
+
* "parent_id": {parent_dirid},
|
|
40
|
+
* "children": [],
|
|
41
|
+
* ...
|
|
42
|
+
* }>
|
|
43
|
+
*/
|
|
44
|
+
declare type DirOptionsType = {
|
|
45
|
+
key?: string;
|
|
46
|
+
BASE_API: string;
|
|
47
|
+
};
|
|
48
|
+
export declare function useDirectory(options: DirOptionsType): {
|
|
49
|
+
tree: import("vue").Ref<any[], any[]>;
|
|
50
|
+
init: () => Promise<void>;
|
|
51
|
+
loadMore: (target: any) => Promise<void>;
|
|
52
|
+
};
|
|
53
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const LOCALSTORAGE_KEYS: {
|
|
2
|
+
LOCAL_RESOURCES: string;
|
|
3
|
+
LOCAL_UPLOAD_CONFIG: string;
|
|
4
|
+
USER_INFO: string;
|
|
5
|
+
};
|
|
6
|
+
export default function useLocalstorage(key: keyof typeof LOCALSTORAGE_KEYS): {
|
|
7
|
+
get: () => any;
|
|
8
|
+
set: (value: any) => void;
|
|
9
|
+
remove: () => void;
|
|
10
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare function useVideoContext(callback: (data?: any) => any): {
|
|
2
|
+
options: import("vue").Ref<any[], any[]>;
|
|
3
|
+
videoContext: import("vue").Ref<HTMLVideoElement | null, HTMLVideoElement | null>;
|
|
4
|
+
loading: import("vue").Ref<boolean, boolean>;
|
|
5
|
+
playing: import("vue").Ref<boolean, boolean>;
|
|
6
|
+
currentTime: import("vue").Ref<number, number>;
|
|
7
|
+
handleOption: (key: string, value: number) => void;
|
|
8
|
+
togglePlay: () => void;
|
|
9
|
+
initVideoContext: (selector: string) => void;
|
|
10
|
+
seekVideo: (time: number) => void;
|
|
11
|
+
handleOnCanPlay: () => void;
|
|
12
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Placement } from '@popperjs/core';
|
|
2
|
+
import { Ref } from 'vue';
|
|
3
|
+
export default function usePopper(pannel: Ref<HTMLElement | undefined>, triggerEl: Ref<HTMLElement | undefined>): {
|
|
4
|
+
initPopper: (placement?: Placement, of?: number[] | undefined) => void;
|
|
5
|
+
show: () => void;
|
|
6
|
+
hide: () => void;
|
|
7
|
+
visible: Ref<boolean, boolean>;
|
|
8
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
declare type SelectOptionsType = {
|
|
2
|
+
label: string;
|
|
3
|
+
value: any;
|
|
4
|
+
};
|
|
5
|
+
declare type QueryParams = {
|
|
6
|
+
limit: number;
|
|
7
|
+
offset: number;
|
|
8
|
+
keyword: string;
|
|
9
|
+
others?: any;
|
|
10
|
+
};
|
|
11
|
+
declare type HookOptionParams = {
|
|
12
|
+
labelStr: string;
|
|
13
|
+
valueStr: string;
|
|
14
|
+
func: (params: QueryParams) => any;
|
|
15
|
+
};
|
|
16
|
+
export default function useSelection(params: HookOptionParams): {
|
|
17
|
+
options: import("vue").Ref<{
|
|
18
|
+
label: string;
|
|
19
|
+
value: any;
|
|
20
|
+
}[], SelectOptionsType[] | {
|
|
21
|
+
label: string;
|
|
22
|
+
value: any;
|
|
23
|
+
}[]>;
|
|
24
|
+
loading: import("vue").Ref<boolean, boolean>;
|
|
25
|
+
keyword: import("vue").Ref<string, string>;
|
|
26
|
+
load: (more?: boolean | undefined) => Promise<void>;
|
|
27
|
+
handleSearch: (kw: string) => void;
|
|
28
|
+
loadMore: () => void;
|
|
29
|
+
};
|
|
30
|
+
export {};
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
export declare type CallbackFunc = (data: any, status?: 'success' | 'fail') => void;
|
|
2
|
+
export declare type TypeAddMediaParam = {
|
|
3
|
+
url: string;
|
|
4
|
+
alias: string;
|
|
5
|
+
catalog: string;
|
|
6
|
+
repository_id: number;
|
|
7
|
+
directory_id: number;
|
|
8
|
+
size: number;
|
|
9
|
+
};
|
|
10
|
+
declare type WaterMark = {
|
|
11
|
+
id: string;
|
|
12
|
+
position: string;
|
|
13
|
+
url: string;
|
|
14
|
+
title: string;
|
|
15
|
+
};
|
|
16
|
+
declare type UploadTemplate = {
|
|
17
|
+
watermark?: {
|
|
18
|
+
default?: WaterMark;
|
|
19
|
+
images: WaterMark[];
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
export declare function getSize(value: number): string;
|
|
23
|
+
export declare function addMedia(BASE_API: string, params: TypeAddMediaParam): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
24
|
+
export declare function getMediaDetails(BASE_API: string, repoId: number, id: number): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
25
|
+
export declare function reTranscodeMedia(BASE_API: string, media_id: number): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
26
|
+
declare type UploadOptions = {
|
|
27
|
+
noAddMedia?: boolean;
|
|
28
|
+
};
|
|
29
|
+
declare type UploadFileOptions = {
|
|
30
|
+
template?: UploadTemplate;
|
|
31
|
+
};
|
|
32
|
+
export default function useUpload(options?: UploadOptions): {
|
|
33
|
+
list: import("vue").Ref<any[], any[]>;
|
|
34
|
+
uploadFile: (BASE_API: string, file: any, dir: number | undefined, repoId: number, callback?: CallbackFunc | undefined, upOptions?: UploadFileOptions | undefined) => void;
|
|
35
|
+
reTranscode: (BASE_API: string, file: any) => Promise<boolean>;
|
|
36
|
+
transcodingFile: (BASE_API: string, file: any, repoId: number) => void;
|
|
37
|
+
recordTaskStatusChange: (file: any, progress: number, isTrans?: boolean | undefined) => void;
|
|
38
|
+
removeRecord: (file: any) => void;
|
|
39
|
+
};
|
|
40
|
+
export declare function getWatermarkTemplate(BASE_API: string): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
41
|
+
export declare function useUploadConfig(): {
|
|
42
|
+
config: import("vue").Ref<any, any>;
|
|
43
|
+
template: import("vue").Ref<{
|
|
44
|
+
watermark?: {
|
|
45
|
+
default?: {
|
|
46
|
+
id: string;
|
|
47
|
+
position: string;
|
|
48
|
+
url: string;
|
|
49
|
+
title: string;
|
|
50
|
+
} | undefined;
|
|
51
|
+
images: {
|
|
52
|
+
id: string;
|
|
53
|
+
position: string;
|
|
54
|
+
url: string;
|
|
55
|
+
title: string;
|
|
56
|
+
}[];
|
|
57
|
+
} | undefined;
|
|
58
|
+
}, UploadTemplate | {
|
|
59
|
+
watermark?: {
|
|
60
|
+
default?: {
|
|
61
|
+
id: string;
|
|
62
|
+
position: string;
|
|
63
|
+
url: string;
|
|
64
|
+
title: string;
|
|
65
|
+
} | undefined;
|
|
66
|
+
images: {
|
|
67
|
+
id: string;
|
|
68
|
+
position: string;
|
|
69
|
+
url: string;
|
|
70
|
+
title: string;
|
|
71
|
+
}[];
|
|
72
|
+
} | undefined;
|
|
73
|
+
}>;
|
|
74
|
+
checkFileSizeOutLimit: (file: File, callback: (msg: string) => void) => boolean;
|
|
75
|
+
initUploadConfig: (BASE_API: string, domainId: number) => Promise<void>;
|
|
76
|
+
initTemplate: (BASE_API: string) => Promise<void>;
|
|
77
|
+
};
|
|
78
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
interface Params {
|
|
2
|
+
[key: string]: any;
|
|
3
|
+
}
|
|
4
|
+
export declare function getChannels(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
5
|
+
declare const useLoadUserInfo: (BASE_API: string) => {
|
|
6
|
+
userInfo: import("vue").Ref<any, any>;
|
|
7
|
+
getUserInfoHandle: () => Promise<void>;
|
|
8
|
+
};
|
|
9
|
+
export default useLoadUserInfo;
|
|
File without changes
|
|
@@ -318,7 +318,7 @@ const _sfc_main = defineComponent({
|
|
|
318
318
|
});
|
|
319
319
|
return (_ctx, _cache) => {
|
|
320
320
|
return openBlock(), createBlock(unref(Modal), {
|
|
321
|
-
visible:
|
|
321
|
+
visible: __props.visible,
|
|
322
322
|
width: "986px",
|
|
323
323
|
"mask-closable": false,
|
|
324
324
|
"title-align": "center",
|
|
@@ -328,7 +328,7 @@ const _sfc_main = defineComponent({
|
|
|
328
328
|
onCancel: _cache[4] || (_cache[4] = ($event) => setVisible(false))
|
|
329
329
|
}, {
|
|
330
330
|
title: withCtx(() => [
|
|
331
|
-
createTextVNode(toDisplayString(
|
|
331
|
+
createTextVNode(toDisplayString(__props.aspectRatioProp ? "\u88C1\u526A\u56FE\u7247" : "\u8BF7\u9009\u62E9\u88C1\u526A\u6BD4\u4F8B"), 1)
|
|
332
332
|
]),
|
|
333
333
|
footer: withCtx(() => [
|
|
334
334
|
createElementVNode("span", _hoisted_7, [
|
|
@@ -416,11 +416,10 @@ const _sfc_main = defineComponent({
|
|
|
416
416
|
size: "medium",
|
|
417
417
|
onClick: cancelDialog
|
|
418
418
|
}, {
|
|
419
|
-
default: withCtx(() => _cache[5] || (_cache[5] = [
|
|
420
|
-
createTextVNode("\u53D6\u6D88")
|
|
421
|
-
])),
|
|
422
|
-
_: 1
|
|
423
|
-
__: [5]
|
|
419
|
+
default: withCtx(() => [..._cache[5] || (_cache[5] = [
|
|
420
|
+
createTextVNode("\u53D6\u6D88", -1)
|
|
421
|
+
])]),
|
|
422
|
+
_: 1
|
|
424
423
|
}),
|
|
425
424
|
withDirectives(createVNode(unref(Button), {
|
|
426
425
|
size: "medium",
|
|
@@ -428,11 +427,10 @@ const _sfc_main = defineComponent({
|
|
|
428
427
|
loading: saveLoading.value,
|
|
429
428
|
onClick: save
|
|
430
429
|
}, {
|
|
431
|
-
default: withCtx(() => _cache[6] || (_cache[6] = [
|
|
432
|
-
createTextVNode("\u88C1\u526A")
|
|
433
|
-
])),
|
|
434
|
-
_: 1
|
|
435
|
-
__: [6]
|
|
430
|
+
default: withCtx(() => [..._cache[6] || (_cache[6] = [
|
|
431
|
+
createTextVNode("\u88C1\u526A", -1)
|
|
432
|
+
])]),
|
|
433
|
+
_: 1
|
|
436
434
|
}, 8, ["loading"]), [
|
|
437
435
|
[vShow, !croppering.value]
|
|
438
436
|
])
|
|
@@ -451,7 +449,7 @@ const _sfc_main = defineComponent({
|
|
|
451
449
|
default: withCtx(() => [
|
|
452
450
|
createElementVNode("div", {
|
|
453
451
|
class: normalizeClass(["edit", {
|
|
454
|
-
fullHeight:
|
|
452
|
+
fullHeight: __props.aspectRatioProp && !Array.isArray(__props.aspectRatioProp)
|
|
455
453
|
}])
|
|
456
454
|
}, [
|
|
457
455
|
createElementVNode("div", _hoisted_1, [
|
|
@@ -465,7 +463,7 @@ const _sfc_main = defineComponent({
|
|
|
465
463
|
}, null, 40, _hoisted_2)) : createCommentVNode("v-if", true)
|
|
466
464
|
])
|
|
467
465
|
], 2),
|
|
468
|
-
!
|
|
466
|
+
!__props.aspectRatioProp ? (openBlock(), createElementBlock("div", _hoisted_3, [
|
|
469
467
|
(openBlock(), createElementBlock(Fragment, null, renderList(aspectRatioList, (item, i) => {
|
|
470
468
|
return createElementVNode("div", {
|
|
471
469
|
key: item.lable,
|
|
@@ -474,7 +472,7 @@ const _sfc_main = defineComponent({
|
|
|
474
472
|
}, toDisplayString(item.label), 11, _hoisted_4);
|
|
475
473
|
}), 64))
|
|
476
474
|
])) : createCommentVNode("v-if", true),
|
|
477
|
-
|
|
475
|
+
__props.aspectRatioProp && Array.isArray(__props.aspectRatioProp) && customizedAspectRatioList.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_5, [
|
|
478
476
|
(openBlock(true), createElementBlock(Fragment, null, renderList(customizedAspectRatioList.value, (item, i) => {
|
|
479
477
|
return openBlock(), createElementBlock("div", {
|
|
480
478
|
key: item.lable,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function getFileRealUrl(BASE_API: string, url: string): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.less';
|
|
File without changes
|
|
@@ -89,7 +89,7 @@ const _sfc_main = defineComponent({
|
|
|
89
89
|
onOk: handleOk
|
|
90
90
|
}, {
|
|
91
91
|
title: withCtx(() => [
|
|
92
|
-
createTextVNode(toDisplayString(
|
|
92
|
+
createTextVNode(toDisplayString(__props.title || "\u5BFC\u5165\u6570\u636E"), 1)
|
|
93
93
|
]),
|
|
94
94
|
default: withCtx(() => {
|
|
95
95
|
var _a, _b;
|
|
@@ -97,16 +97,15 @@ const _sfc_main = defineComponent({
|
|
|
97
97
|
createElementVNode("div", _hoisted_1, [
|
|
98
98
|
_cache[5] || (_cache[5] = createElementVNode("h3", null, "\u4E0B\u8F7D\u5BFC\u5165\u6A21\u7248", -1)),
|
|
99
99
|
createElementVNode("p", _hoisted_2, [
|
|
100
|
-
_cache[2] || (_cache[2] = createTextVNode(" \u4E25\u683C\u6309\u7167\u6A21\u677F\u683C\u5F0F\u53CA\u5185\u5BB9\u51C6\u5907\u5BFC\u5165\u7684\u6570\u636E\u3002 ")),
|
|
100
|
+
_cache[2] || (_cache[2] = createTextVNode(" \u4E25\u683C\u6309\u7167\u6A21\u677F\u683C\u5F0F\u53CA\u5185\u5BB9\u51C6\u5907\u5BFC\u5165\u7684\u6570\u636E\u3002 ", -1)),
|
|
101
101
|
createVNode(unref(Link), {
|
|
102
102
|
target: "_blank",
|
|
103
|
-
href:
|
|
103
|
+
href: __props.importTemplateUrl
|
|
104
104
|
}, {
|
|
105
|
-
default: withCtx(() => _cache[1] || (_cache[1] = [
|
|
106
|
-
createTextVNode("\u4E0B\u8F7D\u6A21\u677F")
|
|
107
|
-
])),
|
|
108
|
-
_: 1
|
|
109
|
-
__: [1]
|
|
105
|
+
default: withCtx(() => [..._cache[1] || (_cache[1] = [
|
|
106
|
+
createTextVNode("\u4E0B\u8F7D\u6A21\u677F", -1)
|
|
107
|
+
])]),
|
|
108
|
+
_: 1
|
|
110
109
|
}, 8, ["href"])
|
|
111
110
|
]),
|
|
112
111
|
_cache[6] || (_cache[6] = createElementVNode("h3", null, "\u4E0A\u4F20\u6587\u4EF6", -1)),
|
|
@@ -124,11 +123,10 @@ const _sfc_main = defineComponent({
|
|
|
124
123
|
target: "_blank",
|
|
125
124
|
href: importData.value.result_url
|
|
126
125
|
}, {
|
|
127
|
-
default: withCtx(() => _cache[3] || (_cache[3] = [
|
|
128
|
-
createTextVNode(" \u4E0B\u8F7D\u5BFC\u5165\u7ED3\u679C ")
|
|
129
|
-
])),
|
|
130
|
-
_: 1
|
|
131
|
-
__: [3]
|
|
126
|
+
default: withCtx(() => [..._cache[3] || (_cache[3] = [
|
|
127
|
+
createTextVNode(" \u4E0B\u8F7D\u5BFC\u5165\u7ED3\u679C ", -1)
|
|
128
|
+
])]),
|
|
129
|
+
_: 1
|
|
132
130
|
}, 8, ["href"])
|
|
133
131
|
])) : createCommentVNode("v-if", true),
|
|
134
132
|
importPercent.value === 1 && ((_b = importData.value) == null ? void 0 : _b.success_count) === void 0 ? (openBlock(), createElementBlock("p", _hoisted_5, " \u5BFC\u5165\u5931\u8D25\uFF0C" + toDisplayString(importErrorInfo.value), 1)) : createCommentVNode("v-if", true)
|
|
@@ -144,7 +142,7 @@ const _sfc_main = defineComponent({
|
|
|
144
142
|
draggable: "",
|
|
145
143
|
"with-credentials": true,
|
|
146
144
|
limit: 1,
|
|
147
|
-
action:
|
|
145
|
+
action: __props.uploadAction,
|
|
148
146
|
accept: ".xls,.xlsx",
|
|
149
147
|
onSuccess: uploadSuccess,
|
|
150
148
|
onChange: uploadChange
|
|
@@ -156,11 +154,10 @@ const _sfc_main = defineComponent({
|
|
|
156
154
|
class: "primary2",
|
|
157
155
|
onClick: importStart
|
|
158
156
|
}, {
|
|
159
|
-
default: withCtx(() => _cache[4] || (_cache[4] = [
|
|
160
|
-
createTextVNode("\u5F00\u59CB\u5BFC\u5165")
|
|
161
|
-
])),
|
|
162
|
-
_: 1
|
|
163
|
-
__: [4]
|
|
157
|
+
default: withCtx(() => [..._cache[4] || (_cache[4] = [
|
|
158
|
+
createTextVNode("\u5F00\u59CB\u5BFC\u5165", -1)
|
|
159
|
+
])]),
|
|
160
|
+
_: 1
|
|
164
161
|
}, 8, ["loading"])) : createCommentVNode("v-if", true)
|
|
165
162
|
]),
|
|
166
163
|
_: 1
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.less';
|
package/es/index.d.ts
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export { default } from './components';
|
|
2
|
+
export { default as appCenter } from './appCenter';
|
|
3
|
+
export { default as messageBox } from './messageBox';
|
|
4
|
+
export { default as userAvater } from './userAvater';
|
|
5
|
+
export { default as typeIcons } from './typeIcons';
|
|
6
|
+
export { default as uploadStep } from './uploadStep';
|
|
7
|
+
export { default as contentModal } from './contentModal';
|
|
8
|
+
export { default as resourceModal } from './resourceModal';
|
|
9
|
+
export { default as previousVersion } from './previousVersion';
|
|
10
|
+
export { default as selectGategory } from './selectGategory';
|
|
11
|
+
export { default as imageCrop } from './imageCrop';
|
|
12
|
+
export { default as uploadBefore } from './uploadBefore';
|
|
13
|
+
export { default as contentDetailList } from './contentDetailList';
|
|
14
|
+
export { default as emptyData } from './emptyData';
|
|
15
|
+
export { default as mediaFilter } from './mediaFilter';
|
|
16
|
+
export { default as selectAvatarList } from './selectAvatarList';
|
|
17
|
+
export { default as userDirector } from './userDirector';
|
|
18
|
+
export { default as selectThumb } from './selectThumb';
|
|
19
|
+
export { default as editMetaInfo } from './editMetaInfo';
|
|
20
|
+
export { default as baseFilter } from './baseFilter';
|
|
21
|
+
export { default as dataTags } from './dataTags';
|
|
22
|
+
export { default as colorPalette } from './colorPalette';
|
|
23
|
+
export { default as resourceGridList } from './resourceGridList';
|
|
24
|
+
export { default as mediaView } from './mediaView';
|
|
25
|
+
export { default as thumbCard } from './thumbCard';
|
|
26
|
+
export { default as selectResourceModal } from './selectResourceModal';
|
|
27
|
+
export { default as docPreview } from './docPreview';
|
|
28
|
+
export { default as docHistory } from './docHistory';
|
|
29
|
+
export { default as videoThumb } from './videoThumb';
|
|
30
|
+
export { default as importData } from './importData';
|
|
31
|
+
export { default as selectAddTo } from './selectAddTo';
|
|
File without changes
|
|
@@ -27,10 +27,10 @@ const _sfc_main = defineComponent({
|
|
|
27
27
|
}
|
|
28
28
|
return (_ctx, _cache) => {
|
|
29
29
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
30
|
-
|
|
30
|
+
__props.filterType === "DOC" ? (openBlock(), createBlock(_sfc_main$1, {
|
|
31
31
|
key: 0,
|
|
32
|
-
"filter-keys":
|
|
33
|
-
"filter-type":
|
|
32
|
+
"filter-keys": __props.docFilterKeys,
|
|
33
|
+
"filter-type": __props.docFilterType,
|
|
34
34
|
onSearch: handleFilterSearch,
|
|
35
35
|
onChange: handleFilterChange
|
|
36
36
|
}, {
|
|
@@ -38,7 +38,7 @@ const _sfc_main = defineComponent({
|
|
|
38
38
|
renderSlot(_ctx.$slots, "right")
|
|
39
39
|
]),
|
|
40
40
|
_: 3
|
|
41
|
-
}, 8, ["filter-keys", "filter-type"])) :
|
|
41
|
+
}, 8, ["filter-keys", "filter-type"])) : __props.filterType === "MEDIA" ? (openBlock(), createBlock(MedFilter, { key: 1 })) : __props.filterType === "MP_ACOUNT" ? (openBlock(), createBlock(_sfc_main$2, { key: 2 })) : __props.filterType === "MP_CONTENT" ? (openBlock(), createBlock(_sfc_main$3, { key: 3 })) : createCommentVNode("v-if", true)
|
|
42
42
|
]);
|
|
43
43
|
};
|
|
44
44
|
}
|
|
File without changes
|
|
@@ -182,10 +182,9 @@ const _sfc_main = defineComponent({
|
|
|
182
182
|
createVNode(unref(IconRefresh))
|
|
183
183
|
]),
|
|
184
184
|
default: withCtx(() => [
|
|
185
|
-
_cache[3] || (_cache[3] = createTextVNode(" \u91CD\u7F6E "))
|
|
185
|
+
_cache[3] || (_cache[3] = createTextVNode(" \u91CD\u7F6E ", -1))
|
|
186
186
|
]),
|
|
187
|
-
_: 1
|
|
188
|
-
__: [3]
|
|
187
|
+
_: 1
|
|
189
188
|
})) : createCommentVNode("v-if", true)
|
|
190
189
|
]),
|
|
191
190
|
right: withCtx(() => [
|
|
File without changes
|
|
@@ -146,7 +146,7 @@ const _sfc_main = defineComponent({
|
|
|
146
146
|
}, {
|
|
147
147
|
default: withCtx(() => [
|
|
148
148
|
createElementVNode("span", _hoisted_4, [
|
|
149
|
-
_cache[0] || (_cache[0] = createTextVNode(" \u66F4\u591A\u7B5B\u9009 ")),
|
|
149
|
+
_cache[0] || (_cache[0] = createTextVNode(" \u66F4\u591A\u7B5B\u9009 ", -1)),
|
|
150
150
|
createVNode(unref(IconCaretDown))
|
|
151
151
|
])
|
|
152
152
|
]),
|
|
File without changes
|
|
@@ -91,7 +91,7 @@ const _sfc_main = defineComponent({
|
|
|
91
91
|
withDirectives(createVNode(unref(Button), { type: "secondary" }, {
|
|
92
92
|
default: withCtx(() => [
|
|
93
93
|
createElementVNode("span", _hoisted_5, [
|
|
94
|
-
createTextVNode(toDisplayString(
|
|
94
|
+
createTextVNode(toDisplayString(__props.label) + " ", 1),
|
|
95
95
|
createVNode(unref(IconCaretDown))
|
|
96
96
|
])
|
|
97
97
|
]),
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
declare type KeyValueType = {
|
|
2
|
+
[key: number]: string;
|
|
3
|
+
};
|
|
4
|
+
export declare const approveFlowStatusMap: KeyValueType;
|
|
5
|
+
export declare const provalTypeMap: KeyValueType;
|
|
6
|
+
export declare function getApprovalStateOptions(): {
|
|
7
|
+
value: any;
|
|
8
|
+
label: string;
|
|
9
|
+
}[];
|
|
10
|
+
export declare function getProvalTypeOptions(): {
|
|
11
|
+
value: any;
|
|
12
|
+
label: string;
|
|
13
|
+
}[];
|
|
14
|
+
declare type OSType = {
|
|
15
|
+
value: number | string;
|
|
16
|
+
label: string;
|
|
17
|
+
type?: string;
|
|
18
|
+
key?: string;
|
|
19
|
+
};
|
|
20
|
+
declare type FilterType = 'APV' | 'MINE' | 'CONTENT' | 'STORE';
|
|
21
|
+
export declare function useHighLevelSearch(filterType: FilterType): {
|
|
22
|
+
sortOptions: OSType[];
|
|
23
|
+
showHighLevelSearch: import("vue").ComputedRef<boolean>;
|
|
24
|
+
highLevelSearchOptions: import("vue").ComputedRef<OSType[]>;
|
|
25
|
+
};
|
|
26
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare type FilterType = 'DOC' | 'MEDIA' | 'MP_ACOUNT' | 'MP_CONTENT';
|
|
2
|
+
export declare type DocFilterType = 'APV' | 'MINE' | 'CONTENT' | 'STORE';
|
|
3
|
+
export declare type Keys = 'doc_type' | 'doc_state' | 'doc_thumb' | 'pub_time' | 'doc_banner' | 'apv_state';
|
|
4
|
+
export declare type DocFilterKeys = Keys[];
|
|
5
|
+
export interface FilterValue {
|
|
6
|
+
keywords: string;
|
|
7
|
+
doc_type: string;
|
|
8
|
+
doc_state: string;
|
|
9
|
+
doc_thumb: string;
|
|
10
|
+
pub_time: [];
|
|
11
|
+
highSearch: {
|
|
12
|
+
order: string;
|
|
13
|
+
sort: -1 | 1;
|
|
14
|
+
meta: any;
|
|
15
|
+
};
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.less';
|
|
File without changes
|