@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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, computed, watch, onMounted, openBlock, createElementBlock, createVNode, createElementVNode, unref, withCtx, toDisplayString, renderSlot, withDirectives, vShow } from "vue";
|
|
1
|
+
import { defineComponent, ref, computed, watch, onMounted, openBlock, createElementBlock, createVNode, createElementVNode, unref, withCtx, toDisplayString, renderSlot, withDirectives, vShow, nextTick } from "vue";
|
|
2
2
|
import _imports_0 from "../../images/pic-thumb.js";
|
|
3
3
|
import { Table, Checkbox, Pagination, Message } from "@arco-design/web-vue";
|
|
4
4
|
import _sfc_main$2 from "../../../typeIcons/component.js";
|
|
@@ -8,20 +8,19 @@ import useTableBatch from "../../../hooks/batch.js";
|
|
|
8
8
|
import { timeFormat } from "../../../utils/index.js";
|
|
9
9
|
import { getCategoryMediaNew, checkCommitFulfillment, getCategoryCategoriesTree } from "../../script/api.js";
|
|
10
10
|
const _hoisted_1 = { class: "view-all-column-container" };
|
|
11
|
-
const _hoisted_2 =
|
|
12
|
-
const _hoisted_3 =
|
|
13
|
-
const _hoisted_4 = {
|
|
11
|
+
const _hoisted_2 = ["src"];
|
|
12
|
+
const _hoisted_3 = {
|
|
14
13
|
key: 1,
|
|
15
14
|
alt: "",
|
|
16
15
|
class: "pic-thumb-img",
|
|
17
16
|
src: _imports_0
|
|
18
17
|
};
|
|
19
|
-
const
|
|
20
|
-
const
|
|
18
|
+
const _hoisted_4 = { class: "title-span" };
|
|
19
|
+
const _hoisted_5 = { class: "title" };
|
|
20
|
+
const _hoisted_6 = { class: "title-span" };
|
|
21
21
|
const _hoisted_7 = { class: "title-span" };
|
|
22
|
-
const _hoisted_8 = { class: "
|
|
23
|
-
const _hoisted_9 = { class: "
|
|
24
|
-
const _hoisted_10 = { class: "left" };
|
|
22
|
+
const _hoisted_8 = { class: "bottom-view" };
|
|
23
|
+
const _hoisted_9 = { class: "left" };
|
|
25
24
|
const _sfc_main = defineComponent({
|
|
26
25
|
...{ name: "ViewAllColumn" },
|
|
27
26
|
__name: "index",
|
|
@@ -141,9 +140,25 @@ const _sfc_main = defineComponent({
|
|
|
141
140
|
page.value.index = 1;
|
|
142
141
|
loadData();
|
|
143
142
|
};
|
|
143
|
+
const tableRef = ref(null);
|
|
144
|
+
const tableContainerRef = ref(null);
|
|
145
|
+
const resetScrollPosition = () => {
|
|
146
|
+
nextTick(() => {
|
|
147
|
+
if (tableRef.value) {
|
|
148
|
+
const tableElement = tableRef.value.$el;
|
|
149
|
+
const scrollContainer = tableElement == null ? void 0 : tableElement.querySelector(
|
|
150
|
+
".arco-table-body"
|
|
151
|
+
);
|
|
152
|
+
if (scrollContainer) {
|
|
153
|
+
scrollContainer.scrollTop = 0;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
});
|
|
157
|
+
};
|
|
144
158
|
const pageChangeHandle = (index) => {
|
|
145
159
|
page.value.index = index;
|
|
146
160
|
loadData();
|
|
161
|
+
resetScrollPosition();
|
|
147
162
|
};
|
|
148
163
|
watch(
|
|
149
164
|
() => group_id.value,
|
|
@@ -253,6 +268,7 @@ const _sfc_main = defineComponent({
|
|
|
253
268
|
return v;
|
|
254
269
|
}) || [];
|
|
255
270
|
page.value.total = message.total || message.count;
|
|
271
|
+
resetScrollPosition();
|
|
256
272
|
}
|
|
257
273
|
};
|
|
258
274
|
onMounted(() => {
|
|
@@ -264,15 +280,21 @@ const _sfc_main = defineComponent({
|
|
|
264
280
|
createVNode(_sfc_main$1, {
|
|
265
281
|
group_id: group_id.value,
|
|
266
282
|
"onUpdate:group_id": _cache[0] || (_cache[0] = ($event) => group_id.value = $event),
|
|
267
|
-
banner:
|
|
283
|
+
banner: __props.banner,
|
|
268
284
|
height: listMinHeight.value,
|
|
269
285
|
series: props.series,
|
|
270
286
|
tree: categoryCascaderData.value,
|
|
271
287
|
"user-info": props.userInfo,
|
|
272
288
|
onSearch: search
|
|
273
289
|
}, null, 8, ["group_id", "banner", "height", "series", "tree", "user-info"]),
|
|
274
|
-
createElementVNode("div",
|
|
290
|
+
createElementVNode("div", {
|
|
291
|
+
ref_key: "tableContainerRef",
|
|
292
|
+
ref: tableContainerRef,
|
|
293
|
+
class: "content-table-view"
|
|
294
|
+
}, [
|
|
275
295
|
createVNode(unref(Table), {
|
|
296
|
+
ref_key: "tableRef",
|
|
297
|
+
ref: tableRef,
|
|
276
298
|
bordered: false,
|
|
277
299
|
columns: columns.value,
|
|
278
300
|
data: mediaFileData.value,
|
|
@@ -304,37 +326,37 @@ const _sfc_main = defineComponent({
|
|
|
304
326
|
src: (_f = (_e = (_d = record.cover) == null ? void 0 : _d.data) == null ? void 0 : _e[0]) == null ? void 0 : _f.thumb,
|
|
305
327
|
alt: "",
|
|
306
328
|
class: "pic-thumb-img"
|
|
307
|
-
}, null, 8,
|
|
329
|
+
}, null, 8, _hoisted_2)) : (openBlock(), createElementBlock("img", _hoisted_3))
|
|
308
330
|
];
|
|
309
331
|
}),
|
|
310
332
|
title: withCtx(({ record }) => [
|
|
311
|
-
createElementVNode("span",
|
|
333
|
+
createElementVNode("span", _hoisted_4, [
|
|
312
334
|
createVNode(_sfc_main$2, {
|
|
313
335
|
type: record.series,
|
|
314
336
|
class: "icon",
|
|
315
337
|
doc: ""
|
|
316
338
|
}, null, 8, ["type"]),
|
|
317
|
-
createElementVNode("span",
|
|
339
|
+
createElementVNode("span", _hoisted_5, toDisplayString(record.title || record.alias || "--"), 1)
|
|
318
340
|
])
|
|
319
341
|
]),
|
|
320
342
|
series: withCtx(({ record }) => [
|
|
321
343
|
createVNode(_sfc_main$3, { item: record }, null, 8, ["item"])
|
|
322
344
|
]),
|
|
323
345
|
duty_editor: withCtx(({ record }) => [
|
|
324
|
-
createElementVNode("span",
|
|
346
|
+
createElementVNode("span", _hoisted_6, [
|
|
325
347
|
createElementVNode("span", null, toDisplayString(record.duty_editor || "--"), 1)
|
|
326
348
|
])
|
|
327
349
|
]),
|
|
328
350
|
pub_time: withCtx(({ record }) => [
|
|
329
|
-
createElementVNode("span",
|
|
351
|
+
createElementVNode("span", _hoisted_7, [
|
|
330
352
|
createElementVNode("span", null, toDisplayString(unref(timeFormat)(record.pub_time)), 1)
|
|
331
353
|
])
|
|
332
354
|
]),
|
|
333
355
|
_: 1
|
|
334
356
|
}, 8, ["columns", "data", "loading", "onCellMouseEnter", "onCellMouseLeave"])
|
|
335
|
-
]),
|
|
336
|
-
createElementVNode("div",
|
|
337
|
-
createElementVNode("div",
|
|
357
|
+
], 512),
|
|
358
|
+
createElementVNode("div", _hoisted_8, [
|
|
359
|
+
createElementVNode("div", _hoisted_9, [
|
|
338
360
|
renderSlot(_ctx.$slots, "store"),
|
|
339
361
|
withDirectives(createVNode(unref(Pagination), {
|
|
340
362
|
current: page.value.index,
|
|
File without changes
|
|
@@ -67,8 +67,8 @@ const _sfc_main = defineComponent({
|
|
|
67
67
|
icon: withCtx(() => [
|
|
68
68
|
createVNode(unref(IconCloseCircle), { size: "14" })
|
|
69
69
|
]),
|
|
70
|
-
_:
|
|
71
|
-
},
|
|
70
|
+
_: 1
|
|
71
|
+
}, 8, ["onClick"])
|
|
72
72
|
]);
|
|
73
73
|
}), 128))
|
|
74
74
|
]),
|
|
@@ -80,11 +80,10 @@ const _sfc_main = defineComponent({
|
|
|
80
80
|
type: "text",
|
|
81
81
|
onClick: clear
|
|
82
82
|
}, {
|
|
83
|
-
default: withCtx(() => _cache[1] || (_cache[1] = [
|
|
84
|
-
createTextVNode("\u6E05\u7A7A")
|
|
85
|
-
])),
|
|
86
|
-
_: 1
|
|
87
|
-
__: [1]
|
|
83
|
+
default: withCtx(() => [..._cache[1] || (_cache[1] = [
|
|
84
|
+
createTextVNode("\u6E05\u7A7A", -1)
|
|
85
|
+
])]),
|
|
86
|
+
_: 1
|
|
88
87
|
})
|
|
89
88
|
])
|
|
90
89
|
]),
|
|
@@ -97,11 +96,10 @@ const _sfc_main = defineComponent({
|
|
|
97
96
|
key: 0,
|
|
98
97
|
class: "button"
|
|
99
98
|
}, {
|
|
100
|
-
default: withCtx(() => _cache[0] || (_cache[0] = [
|
|
101
|
-
createTextVNode("\u5DF2\u9009\u6570\u636E")
|
|
102
|
-
])),
|
|
103
|
-
_: 1
|
|
104
|
-
__: [0]
|
|
99
|
+
default: withCtx(() => [..._cache[0] || (_cache[0] = [
|
|
100
|
+
createTextVNode("\u5DF2\u9009\u6570\u636E", -1)
|
|
101
|
+
])]),
|
|
102
|
+
_: 1
|
|
105
103
|
})) : createCommentVNode("v-if", true)
|
|
106
104
|
]),
|
|
107
105
|
_: 1
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
interface Params {
|
|
2
|
+
[key: string]: any;
|
|
3
|
+
}
|
|
4
|
+
export declare function getCategoryCategoriesTree(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
5
|
+
export declare function getCategoryPath(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
6
|
+
export declare function getCategoryMediaNew(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
7
|
+
export declare function checkCommitFulfillment(BASE_API: string, params?: Params): Promise<boolean>;
|
|
8
|
+
export declare function searchMlists(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
9
|
+
export declare function getCategorylistsGroups(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
10
|
+
export declare function searchMpaccount(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
11
|
+
export declare function getBroadcastList(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
12
|
+
export declare function getEqxiuList(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
13
|
+
export declare function getMpContentList(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
14
|
+
export declare function getRevealContent(BASE_API: string, params: any): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
15
|
+
export declare function getConfigurationNew(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
16
|
+
export declare function getReporterContent(BASE_API: string, params: any): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
17
|
+
export declare function getTypeConfig(BASE_API: string, params: any): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
18
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.less';
|
|
File without changes
|
package/es/dataTags/component.js
CHANGED
|
@@ -64,9 +64,9 @@ const _sfc_main = defineComponent({
|
|
|
64
64
|
return (_ctx, _cache) => {
|
|
65
65
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
66
66
|
createCommentVNode(" \u539F\u521B/\u63A8\u8350/\u654F\u611F\u8BCD/\u5C01\u9762\u51E0\u56FE/ "),
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
67
|
+
__props.item ? (openBlock(), createElementBlock("span", _hoisted_1, [
|
|
68
|
+
__props.item.catalog === "doc" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
69
|
+
__props.popverThumb && thumbList.value.length ? (openBlock(), createBlock(unref(Popover), {
|
|
70
70
|
key: 0,
|
|
71
71
|
"content-class": "doc-tags-thumb-popver",
|
|
72
72
|
"arrow-class": "doc-tags-popver-arrow",
|
|
@@ -91,7 +91,7 @@ const _sfc_main = defineComponent({
|
|
|
91
91
|
default: withCtx(() => [
|
|
92
92
|
createVNode(unref(Tag), {
|
|
93
93
|
size: "small",
|
|
94
|
-
class: normalizeClass([{ disabled:
|
|
94
|
+
class: normalizeClass([{ disabled: __props.disabled }, "thumb"])
|
|
95
95
|
}, {
|
|
96
96
|
default: withCtx(() => [
|
|
97
97
|
createTextVNode(toDisplayString(thumbType.value), 1)
|
|
@@ -109,7 +109,7 @@ const _sfc_main = defineComponent({
|
|
|
109
109
|
default: withCtx(() => [
|
|
110
110
|
createVNode(unref(Tag), {
|
|
111
111
|
size: "small",
|
|
112
|
-
class: normalizeClass([{ disabled:
|
|
112
|
+
class: normalizeClass([{ disabled: __props.disabled }, "thumb"])
|
|
113
113
|
}, {
|
|
114
114
|
default: withCtx(() => [
|
|
115
115
|
createTextVNode(toDisplayString(thumbType.value), 1)
|
|
@@ -120,7 +120,7 @@ const _sfc_main = defineComponent({
|
|
|
120
120
|
_: 1
|
|
121
121
|
}, 8, ["content"])) : createCommentVNode("v-if", true)
|
|
122
122
|
], 64)),
|
|
123
|
-
|
|
123
|
+
__props.item.statement ? (openBlock(), createBlock(unref(Tooltip), {
|
|
124
124
|
key: 2,
|
|
125
125
|
content: "\u539F\u521B",
|
|
126
126
|
position: "top"
|
|
@@ -128,18 +128,17 @@ const _sfc_main = defineComponent({
|
|
|
128
128
|
default: withCtx(() => [
|
|
129
129
|
createVNode(unref(Tag), {
|
|
130
130
|
size: "small",
|
|
131
|
-
class: normalizeClass([{ disabled:
|
|
131
|
+
class: normalizeClass([{ disabled: __props.disabled }, "yuanchuang"])
|
|
132
132
|
}, {
|
|
133
|
-
default: withCtx(() => _cache[1] || (_cache[1] = [
|
|
134
|
-
createTextVNode("\u539F\u521B")
|
|
135
|
-
])),
|
|
136
|
-
_: 1
|
|
137
|
-
__: [1]
|
|
133
|
+
default: withCtx(() => [..._cache[1] || (_cache[1] = [
|
|
134
|
+
createTextVNode("\u539F\u521B", -1)
|
|
135
|
+
])]),
|
|
136
|
+
_: 1
|
|
138
137
|
}, 8, ["class"])
|
|
139
138
|
]),
|
|
140
139
|
_: 1
|
|
141
140
|
})) : createCommentVNode("v-if", true),
|
|
142
|
-
|
|
141
|
+
__props.item.recommended ? (openBlock(), createBlock(unref(Tooltip), {
|
|
143
142
|
key: 3,
|
|
144
143
|
content: "\u63A8\u8350",
|
|
145
144
|
position: "top"
|
|
@@ -147,37 +146,35 @@ const _sfc_main = defineComponent({
|
|
|
147
146
|
default: withCtx(() => [
|
|
148
147
|
createVNode(unref(Tag), {
|
|
149
148
|
size: "small",
|
|
150
|
-
class: normalizeClass([{ disabled:
|
|
149
|
+
class: normalizeClass([{ disabled: __props.disabled }, "star"])
|
|
151
150
|
}, {
|
|
152
|
-
default: withCtx(() => _cache[2] || (_cache[2] = [
|
|
153
|
-
createTextVNode("\u63A8\u8350")
|
|
154
|
-
])),
|
|
155
|
-
_: 1
|
|
156
|
-
__: [2]
|
|
151
|
+
default: withCtx(() => [..._cache[2] || (_cache[2] = [
|
|
152
|
+
createTextVNode("\u63A8\u8350", -1)
|
|
153
|
+
])]),
|
|
154
|
+
_: 1
|
|
157
155
|
}, 8, ["class"])
|
|
158
156
|
]),
|
|
159
157
|
_: 1
|
|
160
158
|
})) : createCommentVNode("v-if", true),
|
|
161
|
-
|
|
159
|
+
__props.item.sensitives ? (openBlock(), createBlock(unref(Tooltip), {
|
|
162
160
|
key: 4,
|
|
163
|
-
content: `\u5305\u542B\u654F\u611F\u8BCD\uFF1A${
|
|
161
|
+
content: `\u5305\u542B\u654F\u611F\u8BCD\uFF1A${__props.item.sensitives}`,
|
|
164
162
|
position: "top"
|
|
165
163
|
}, {
|
|
166
164
|
default: withCtx(() => [
|
|
167
165
|
createVNode(unref(Tag), {
|
|
168
166
|
size: "small",
|
|
169
|
-
class: normalizeClass([{ disabled:
|
|
167
|
+
class: normalizeClass([{ disabled: __props.disabled }, "waring"])
|
|
170
168
|
}, {
|
|
171
|
-
default: withCtx(() => _cache[3] || (_cache[3] = [
|
|
172
|
-
createTextVNode("\u654F\u611F")
|
|
173
|
-
])),
|
|
174
|
-
_: 1
|
|
175
|
-
__: [3]
|
|
169
|
+
default: withCtx(() => [..._cache[3] || (_cache[3] = [
|
|
170
|
+
createTextVNode("\u654F\u611F", -1)
|
|
171
|
+
])]),
|
|
172
|
+
_: 1
|
|
176
173
|
}, 8, ["class"])
|
|
177
174
|
]),
|
|
178
175
|
_: 1
|
|
179
176
|
}, 8, ["content"])) : createCommentVNode("v-if", true),
|
|
180
|
-
|
|
177
|
+
__props.item.push_state === 3 ? (openBlock(), createBlock(unref(Tooltip), {
|
|
181
178
|
key: 5,
|
|
182
179
|
content: "\u63A8\u9001\u6210\u529F",
|
|
183
180
|
position: "top"
|
|
@@ -185,13 +182,12 @@ const _sfc_main = defineComponent({
|
|
|
185
182
|
default: withCtx(() => [
|
|
186
183
|
createVNode(unref(Tag), {
|
|
187
184
|
size: "small",
|
|
188
|
-
class: normalizeClass([{ disabled:
|
|
185
|
+
class: normalizeClass([{ disabled: __props.disabled }, "star"])
|
|
189
186
|
}, {
|
|
190
|
-
default: withCtx(() => _cache[4] || (_cache[4] = [
|
|
191
|
-
createTextVNode("\u5DF2\u63A8\u9001")
|
|
192
|
-
])),
|
|
193
|
-
_: 1
|
|
194
|
-
__: [4]
|
|
187
|
+
default: withCtx(() => [..._cache[4] || (_cache[4] = [
|
|
188
|
+
createTextVNode("\u5DF2\u63A8\u9001", -1)
|
|
189
|
+
])]),
|
|
190
|
+
_: 1
|
|
195
191
|
}, 8, ["class"])
|
|
196
192
|
]),
|
|
197
193
|
_: 1
|
|
@@ -204,7 +200,7 @@ const _sfc_main = defineComponent({
|
|
|
204
200
|
default: withCtx(() => [
|
|
205
201
|
createVNode(unref(Tag), {
|
|
206
202
|
size: "small",
|
|
207
|
-
class: normalizeClass([{ disabled:
|
|
203
|
+
class: normalizeClass([{ disabled: __props.disabled }, "star"])
|
|
208
204
|
}, {
|
|
209
205
|
default: withCtx(() => [
|
|
210
206
|
createTextVNode(toDisplayString(localLiveType.value), 1)
|
|
@@ -214,7 +210,7 @@ const _sfc_main = defineComponent({
|
|
|
214
210
|
]),
|
|
215
211
|
_: 1
|
|
216
212
|
}, 8, ["content"])) : createCommentVNode("v-if", true),
|
|
217
|
-
|
|
213
|
+
__props.item.is_matrix ? (openBlock(), createBlock(unref(Tooltip), {
|
|
218
214
|
key: 7,
|
|
219
215
|
content: "\u7A3F\u4EF6\u5B58\u5728\u81EA\u5A92\u4F53\u77E9\u9635\u5206\u53D1\u8BB0\u5F55",
|
|
220
216
|
position: "top"
|
|
@@ -222,39 +218,38 @@ const _sfc_main = defineComponent({
|
|
|
222
218
|
default: withCtx(() => [
|
|
223
219
|
createVNode(unref(Tag), {
|
|
224
220
|
size: "small",
|
|
225
|
-
class: normalizeClass([{ disabled:
|
|
221
|
+
class: normalizeClass([{ disabled: __props.disabled }, "matrix"])
|
|
226
222
|
}, {
|
|
227
|
-
default: withCtx(() => _cache[5] || (_cache[5] = [
|
|
228
|
-
createTextVNode(" \u77E9\u9635\u5206\u53D1 ")
|
|
229
|
-
])),
|
|
230
|
-
_: 1
|
|
231
|
-
__: [5]
|
|
223
|
+
default: withCtx(() => [..._cache[5] || (_cache[5] = [
|
|
224
|
+
createTextVNode(" \u77E9\u9635\u5206\u53D1 ", -1)
|
|
225
|
+
])]),
|
|
226
|
+
_: 1
|
|
232
227
|
}, 8, ["class"])
|
|
233
228
|
]),
|
|
234
229
|
_: 1
|
|
235
230
|
})) : createCommentVNode("v-if", true)
|
|
236
|
-
], 64)) :
|
|
231
|
+
], 64)) : __props.item.catalog === "kongo" ? (openBlock(), createBlock(unref(Tag), {
|
|
237
232
|
key: 1,
|
|
238
233
|
size: "small"
|
|
239
234
|
}, {
|
|
240
235
|
default: withCtx(() => [
|
|
241
|
-
createTextVNode(toDisplayString(unref(kongo_source_map)[
|
|
236
|
+
createTextVNode(toDisplayString(unref(kongo_source_map)[__props.item.series]), 1)
|
|
242
237
|
]),
|
|
243
238
|
_: 1
|
|
244
|
-
})) :
|
|
239
|
+
})) : __props.item.catalog === "mp_account" ? (openBlock(), createBlock(unref(Tag), {
|
|
245
240
|
key: 2,
|
|
246
241
|
size: "small"
|
|
247
242
|
}, {
|
|
248
243
|
default: withCtx(() => [
|
|
249
|
-
createTextVNode(toDisplayString(unref(mp_type_map)[
|
|
244
|
+
createTextVNode(toDisplayString(unref(mp_type_map)[__props.item.mp_type]), 1)
|
|
250
245
|
]),
|
|
251
246
|
_: 1
|
|
252
|
-
})) :
|
|
247
|
+
})) : __props.item.catalog === "mp_content" ? (openBlock(), createBlock(_sfc_main$1, {
|
|
253
248
|
key: 3,
|
|
254
249
|
class: "icon",
|
|
255
250
|
type: "mpdoc"
|
|
256
251
|
})) : (openBlock(), createElementBlock(Fragment, { key: 4 }, [
|
|
257
|
-
|
|
252
|
+
__props.item.list_type ? (openBlock(), createElementBlock("span", _hoisted_4, toDisplayString(unref(contentList_list_type_map)[__props.item.list_type]), 1)) : (openBlock(), createElementBlock("span", _hoisted_5, "--"))
|
|
258
253
|
], 64))
|
|
259
254
|
])) : createCommentVNode("v-if", true)
|
|
260
255
|
], 2112);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.less';
|
|
File without changes
|
|
@@ -88,7 +88,7 @@ const _sfc_main = defineComponent({
|
|
|
88
88
|
}
|
|
89
89
|
});
|
|
90
90
|
return (_ctx, _cache) => {
|
|
91
|
-
return openBlock(), createBlock(resolveDynamicComponent(wrapComponent[
|
|
91
|
+
return openBlock(), createBlock(resolveDynamicComponent(wrapComponent[__props.wrap]), mergeProps({
|
|
92
92
|
visible: vis.value,
|
|
93
93
|
"onUpdate:visible": _cache[0] || (_cache[0] = ($event) => vis.value = $event)
|
|
94
94
|
}, wrapProps.value), {
|
|
@@ -98,11 +98,10 @@ const _sfc_main = defineComponent({
|
|
|
98
98
|
disabled: !unref(current),
|
|
99
99
|
onClick: handeRevert
|
|
100
100
|
}, {
|
|
101
|
-
default: withCtx(() => _cache[1] || (_cache[1] = [
|
|
102
|
-
createTextVNode(" \u8FD8\u539F\u6B64\u7248\u672C ")
|
|
103
|
-
])),
|
|
104
|
-
_: 1
|
|
105
|
-
__: [1]
|
|
101
|
+
default: withCtx(() => [..._cache[1] || (_cache[1] = [
|
|
102
|
+
createTextVNode(" \u8FD8\u539F\u6B64\u7248\u672C ", -1)
|
|
103
|
+
])]),
|
|
104
|
+
_: 1
|
|
106
105
|
}, 8, ["disabled"])
|
|
107
106
|
]),
|
|
108
107
|
default: withCtx(() => [
|
|
File without changes
|
|
@@ -11,11 +11,11 @@ const _sfc_main = defineComponent({
|
|
|
11
11
|
setup(__props) {
|
|
12
12
|
return (_ctx, _cache) => {
|
|
13
13
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
14
|
-
createElementVNode("div", _hoisted_2, toDisplayString(
|
|
14
|
+
createElementVNode("div", _hoisted_2, toDisplayString(__props.doc.title), 1),
|
|
15
15
|
createElementVNode("div", _hoisted_3, [
|
|
16
16
|
createElementVNode("div", {
|
|
17
17
|
class: "doc-content",
|
|
18
|
-
innerHTML:
|
|
18
|
+
innerHTML: __props.doc.content
|
|
19
19
|
}, null, 8, _hoisted_4)
|
|
20
20
|
])
|
|
21
21
|
]);
|
|
File without changes
|
|
@@ -19,10 +19,10 @@ const _sfc_main = defineComponent({
|
|
|
19
19
|
const emits = __emit;
|
|
20
20
|
return (_ctx, _cache) => {
|
|
21
21
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
22
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(
|
|
22
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.list, (item, idx) => {
|
|
23
23
|
return openBlock(), createElementBlock("div", {
|
|
24
24
|
key: item,
|
|
25
|
-
class: normalizeClass(["doc-history-item", { active: idx ===
|
|
25
|
+
class: normalizeClass(["doc-history-item", { active: idx === __props.current }]),
|
|
26
26
|
onClick: ($event) => emits("select", idx)
|
|
27
27
|
}, [
|
|
28
28
|
createElementVNode("div", _hoisted_3, toDisplayString(unref(timeFormat)(item.update_time)), 1),
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function CompareById2(leftNode: HTMLElement, rightNode: HTMLElement): string;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare function getDocHistory(BASE_API: string, id: number, pub: boolean): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
2
|
+
export declare function useDocHistory(BASE_API: string): {
|
|
3
|
+
diffContent: import("vue").Ref<any, any>;
|
|
4
|
+
current: import("vue").Ref<number, number>;
|
|
5
|
+
loading: import("vue").Ref<boolean, boolean>;
|
|
6
|
+
list: import("vue").Ref<any[], any[]>;
|
|
7
|
+
loadData: () => Promise<void>;
|
|
8
|
+
initParams: (mediaId: number, docPub: boolean) => void;
|
|
9
|
+
handleSelect: (idx: number) => Promise<void>;
|
|
10
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.less';
|
|
File without changes
|
|
@@ -91,11 +91,10 @@ const _sfc_main = defineComponent({
|
|
|
91
91
|
type: "text",
|
|
92
92
|
onClick: unref(copy)
|
|
93
93
|
}, {
|
|
94
|
-
default: withCtx(() => _cache[8] || (_cache[8] = [
|
|
95
|
-
createTextVNode(" \u590D\u5236\u94FE\u63A5 ")
|
|
96
|
-
])),
|
|
97
|
-
_: 1
|
|
98
|
-
__: [8]
|
|
94
|
+
default: withCtx(() => [..._cache[8] || (_cache[8] = [
|
|
95
|
+
createTextVNode(" \u590D\u5236\u94FE\u63A5 ", -1)
|
|
96
|
+
])]),
|
|
97
|
+
_: 1
|
|
99
98
|
}, 8, ["onClick"])
|
|
100
99
|
]),
|
|
101
100
|
createCommentVNode(" \u94FE\u63A5 "),
|
|
@@ -108,21 +107,19 @@ const _sfc_main = defineComponent({
|
|
|
108
107
|
createVNode(unref(Button), {
|
|
109
108
|
onClick: _cache[2] || (_cache[2] = ($event) => unref(cancel)())
|
|
110
109
|
}, {
|
|
111
|
-
default: withCtx(() => _cache[10] || (_cache[10] = [
|
|
112
|
-
createTextVNode("\u53D6\u6D88\u9884\u89C8\u94FE\u63A5")
|
|
113
|
-
])),
|
|
114
|
-
_: 1
|
|
115
|
-
__: [10]
|
|
110
|
+
default: withCtx(() => [..._cache[10] || (_cache[10] = [
|
|
111
|
+
createTextVNode("\u53D6\u6D88\u9884\u89C8\u94FE\u63A5", -1)
|
|
112
|
+
])]),
|
|
113
|
+
_: 1
|
|
116
114
|
}),
|
|
117
115
|
createVNode(unref(Button), {
|
|
118
116
|
type: "primary",
|
|
119
117
|
onClick: _cache[3] || (_cache[3] = ($event) => unref(cancel)(true))
|
|
120
118
|
}, {
|
|
121
|
-
default: withCtx(() => _cache[11] || (_cache[11] = [
|
|
122
|
-
createTextVNode(" \u66F4\u65B0\u9884\u89C8\u6709\u6548\u671F ")
|
|
123
|
-
])),
|
|
124
|
-
_: 1
|
|
125
|
-
__: [11]
|
|
119
|
+
default: withCtx(() => [..._cache[11] || (_cache[11] = [
|
|
120
|
+
createTextVNode(" \u66F4\u65B0\u9884\u89C8\u6709\u6548\u671F ", -1)
|
|
121
|
+
])]),
|
|
122
|
+
_: 1
|
|
126
123
|
})
|
|
127
124
|
])
|
|
128
125
|
], 64)) : unref(isPublish) ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
@@ -139,11 +136,10 @@ const _sfc_main = defineComponent({
|
|
|
139
136
|
type: "text",
|
|
140
137
|
onClick: unref(copy)
|
|
141
138
|
}, {
|
|
142
|
-
default: withCtx(() => _cache[13] || (_cache[13] = [
|
|
143
|
-
createTextVNode(" \u590D\u5236\u94FE\u63A5 ")
|
|
144
|
-
])),
|
|
145
|
-
_: 1
|
|
146
|
-
__: [13]
|
|
139
|
+
default: withCtx(() => [..._cache[13] || (_cache[13] = [
|
|
140
|
+
createTextVNode(" \u590D\u5236\u94FE\u63A5 ", -1)
|
|
141
|
+
])]),
|
|
142
|
+
_: 1
|
|
147
143
|
}, 8, ["onClick"])
|
|
148
144
|
]),
|
|
149
145
|
createCommentVNode(" \u94FE\u63A5 "),
|
|
@@ -180,11 +176,10 @@ const _sfc_main = defineComponent({
|
|
|
180
176
|
type: "primary",
|
|
181
177
|
onClick: _cache[5] || (_cache[5] = () => unref(generate)())
|
|
182
178
|
}, {
|
|
183
|
-
default: withCtx(() => _cache[18] || (_cache[18] = [
|
|
184
|
-
createTextVNode(" \u751F\u6210\u9884\u89C8\u94FE\u63A5 ")
|
|
185
|
-
])),
|
|
186
|
-
_: 1
|
|
187
|
-
__: [18]
|
|
179
|
+
default: withCtx(() => [..._cache[18] || (_cache[18] = [
|
|
180
|
+
createTextVNode(" \u751F\u6210\u9884\u89C8\u94FE\u63A5 ", -1)
|
|
181
|
+
])]),
|
|
182
|
+
_: 1
|
|
188
183
|
})
|
|
189
184
|
])
|
|
190
185
|
], 64))
|
|
File without changes
|
|
@@ -21,10 +21,10 @@ const _sfc_main = defineComponent({
|
|
|
21
21
|
alt: ""
|
|
22
22
|
}, null, -1)),
|
|
23
23
|
createElementVNode("div", _hoisted_2, [
|
|
24
|
-
|
|
24
|
+
__props.src ? (openBlock(), createElementBlock("iframe", {
|
|
25
25
|
key: 0,
|
|
26
26
|
style: { "overflow": "hidden" },
|
|
27
|
-
src:
|
|
27
|
+
src: __props.src
|
|
28
28
|
}, null, 8, _hoisted_3)) : (openBlock(), createElementBlock("div", _hoisted_4, [
|
|
29
29
|
createVNode(unref(Spin), { loading: true })
|
|
30
30
|
]))
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function generateDocPreviewLink(BASE_API: string, params: any): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
export declare function generateDocPreviewLink(BASE_API: string, params: any): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
3
|
+
export declare const EXPIRE_TIME_OPTIONS: {
|
|
4
|
+
label: string;
|
|
5
|
+
value: number;
|
|
6
|
+
}[];
|
|
7
|
+
declare type ShareDataType = {
|
|
8
|
+
qrCode: string;
|
|
9
|
+
shareUrl: string;
|
|
10
|
+
expiredAt: number;
|
|
11
|
+
};
|
|
12
|
+
export declare function useDocPreview(BASE_API: string, hashid: Ref<string>): {
|
|
13
|
+
genQrCode: (shareUrl: string, selector: string) => void;
|
|
14
|
+
generate: (cancel?: boolean | undefined) => Promise<boolean>;
|
|
15
|
+
cancel: (update?: boolean | undefined) => Promise<void>;
|
|
16
|
+
copy: () => Promise<void>;
|
|
17
|
+
qrCode: Ref<string, string>;
|
|
18
|
+
isPublish: Ref<boolean, boolean>;
|
|
19
|
+
loading: Ref<boolean, boolean>;
|
|
20
|
+
expireTime: Ref<number, number>;
|
|
21
|
+
innerUrl: Ref<string, string>;
|
|
22
|
+
shareData: Ref<{
|
|
23
|
+
qrCode: string;
|
|
24
|
+
shareUrl: string;
|
|
25
|
+
expiredAt: number;
|
|
26
|
+
} | null, ShareDataType | {
|
|
27
|
+
qrCode: string;
|
|
28
|
+
shareUrl: string;
|
|
29
|
+
expiredAt: number;
|
|
30
|
+
} | null>;
|
|
31
|
+
intervalTime: Ref<string, string>;
|
|
32
|
+
};
|
|
33
|
+
export {};
|