@cmstops/pro-compo 3.9.0-beta.1 → 3.9.1-harbin.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +107 -107
- package/dist/gif.worker.js +3 -3
- package/dist/index.css +10 -0
- package/dist/index.js.map +1 -1
- package/dist/index.min.css +1 -1
- package/dist/index.min.js.map +1 -1
- package/es/appCenter/style/index.less +120 -120
- package/es/baseFilter/component.js +71 -14
- package/es/baseFilter/components/FilterGroup.js +1 -1
- package/es/baseFilter/style/filterGroup.less +53 -53
- package/es/baseFilter/style/index.less +45 -45
- package/es/colorPalette/style/index.less +44 -44
- package/es/contentDetailList/component.js +24 -0
- package/es/contentDetailList/components/Content/CompoItem/index.js +1 -1
- package/es/contentDetailList/components/Content/ContentListItem/index.js +1 -1
- package/es/contentDetailList/components/Content/DocItem/index.js +1 -1
- package/es/contentDetailList/components/Content/DocMpItem/index.js +1 -1
- package/es/contentDetailList/components/Content/GroupPieceItem/index.js +1 -1
- package/es/contentDetailList/components/Content/KongoNavItem/index.js +1 -1
- package/es/contentDetailList/components/Content/LiveItem/index.js +1 -1
- package/es/contentDetailList/components/Content/MaccountItem/index.js +1 -1
- package/es/contentDetailList/components/Content/courseItem/index.js +1 -1
- package/es/contentDetailList/components/Content/funhdItem/index.js +1 -1
- package/es/contentDetailList/components/Content/index.js +2 -1
- package/es/contentDetailList/components/CustomWrp/CustomItem.js +1 -1
- package/es/contentDetailList/components/Doc/index.js +6 -0
- package/es/contentDetailList/components/ShowQRCode/QrcodeView/index.js +6 -4
- package/es/contentDetailList/style/ComoItem.less +99 -99
- package/es/contentDetailList/style/Content.less +49 -49
- package/es/contentDetailList/style/ContentListItem.less +132 -132
- package/es/contentDetailList/style/CustomItem.less +25 -25
- package/es/contentDetailList/style/Doc.less +3 -3
- package/es/contentDetailList/style/DocItem.less +152 -152
- package/es/contentDetailList/style/DocMpItem.less +135 -135
- package/es/contentDetailList/style/GroupPieceItem.less +108 -108
- package/es/contentDetailList/style/KongoNavItem.less +104 -104
- package/es/contentDetailList/style/LiveItem.less +108 -108
- package/es/contentDetailList/style/MaccountItem.less +111 -111
- package/es/contentDetailList/style/MatrixItem.less +214 -214
- package/es/contentDetailList/style/QrCodeView.less +93 -93
- package/es/contentDetailList/style/ShowQRCode.less +3 -3
- package/es/contentDetailList/style/courseItem.less +108 -108
- package/es/contentDetailList/style/funhdItem.less +108 -108
- package/es/contentDetailList/style/index.less +30 -30
- package/es/contentModal/component.js +24 -16
- package/es/contentModal/components/ViewAllColumn/MediaFilter/index.js +6 -176
- package/es/contentModal/components/ViewAllColumn/index.js +0 -1
- package/es/contentModal/components/storeBox/index.js +6 -4
- package/es/contentModal/script/api.js +1 -7
- package/es/contentModal/style/MediaFilter.less +47 -47
- package/es/contentModal/style/ViewAllColumn.less +68 -68
- package/es/contentModal/style/columnTree.less +32 -32
- package/es/contentModal/style/index.less +23 -23
- package/es/contentModal/style/storeBox.less +55 -55
- package/es/dataTags/component.js +15 -10
- package/es/dataTags/style/index.less +73 -73
- package/es/docHistory/component.js +44 -14
- package/es/docHistory/scripts/diff.js +4 -3
- package/es/docHistory/style/docDiffPanel.less +43 -43
- package/es/docHistory/style/docHistoryList.less +58 -58
- package/es/docHistory/style/index.css +4 -0
- package/es/docHistory/style/index.less +37 -32
- package/es/docPreview/component.js +15 -10
- package/es/docPreview/style/index.less +140 -140
- package/es/docPreview/style/previewIframe.less +36 -36
- package/es/editMetaInfo/components/metaInfoForm.js +6 -4
- package/es/editMetaInfo/style/index.less +60 -60
- package/es/emptyData/style/index.less +34 -34
- package/es/gif.worker.js +3 -3
- package/es/hooks/useUpload.js +43 -4
- package/es/imageCrop/component.js +6 -4
- package/es/imageCrop/style/cropper.less +291 -291
- package/es/imageCrop/style/imageCropper.less +133 -133
- package/es/imageCrop/style/index.less +2 -2
- package/es/importData/component.js +10 -7
- package/es/importData/style/index.less +48 -48
- package/es/index.css +10 -0
- package/es/index.js +1 -0
- package/es/index.less +30 -30
- package/es/mediaFilter/components/DocFilter.js +3 -2
- package/es/mediaFilter/components/FilterGroup.js +1 -1
- package/es/mediaFilter/style/index.less +115 -115
- package/es/mediaView/style/index.less +71 -71
- package/es/messageBox/component.js +1 -1
- package/es/messageBox/list.js +1 -1
- package/es/messageBox/style/index.less +76 -76
- package/es/previousVersion/style/index.less +209 -209
- package/es/resourceGridList/component.js +5 -3
- package/es/resourceGridList/style/FileTypeThumb.less +96 -96
- package/es/resourceGridList/style/index.less +233 -233
- package/es/resourceModal/component.js +1 -1
- package/es/resourceModal/components/MediaSelection/DocAiMediaSelected/index.js +2 -1
- package/es/resourceModal/components/MediaSelection/MainContent/index.js +5 -3
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.js +1 -1
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.js +1 -1
- package/es/resourceModal/components/MediaSelection/ToolbarSearch/index.js +1 -1
- package/es/resourceModal/style/DocAiMediaSelected.less +55 -55
- package/es/resourceModal/style/FileTypeThumb.less +205 -205
- package/es/resourceModal/style/MainContent.less +222 -222
- package/es/resourceModal/style/MediaPreviewer.less +71 -71
- package/es/resourceModal/style/MediaSelection.less +69 -69
- package/es/resourceModal/style/SystemResourceSelected.less +154 -154
- package/es/resourceModal/style/ToolbarSearch.less +53 -53
- package/es/resourceModal/style/index.less +18 -18
- package/es/selectAddTo/component.js +47 -0
- package/es/selectAddTo/component.vue_vue_type_style_index_0_scoped_true_lang.js +2 -0
- package/es/selectAddTo/components/SelectAddToView.js +91 -0
- package/es/selectAddTo/components/SelectAddToView.vue_vue_type_style_index_0_scoped_true_lang.js +2 -0
- package/es/selectAddTo/components/ViewAllColumn/MediaFilter/index.js +166 -0
- package/es/selectAddTo/components/ViewAllColumn/index.js +212 -0
- package/es/selectAddTo/components/ViewAllColumn/index.vue_vue_type_style_index_0_scoped_true_lang.js +2 -0
- package/es/selectAddTo/components/ViewAllColumn/script/useTableColumns.js +102 -0
- package/es/selectAddTo/components/ViewAllColumn/script/useViewAllColumnState.js +182 -0
- package/es/selectAddTo/index.js +7 -0
- package/es/selectAddTo/script/api.js +23 -0
- package/es/selectAddTo/script/useSelectAddToState.js +55 -0
- package/es/selectAddTo/style/css.js +1 -0
- package/es/selectAddTo/style/index.css +3 -0
- package/es/selectAddTo/style/index.js +1 -0
- package/es/selectAddTo/style/index.less +3 -0
- package/es/selectAvatarList/style/index.less +4 -4
- package/es/selectGategory/component.js +1 -1
- package/es/selectGategory/style/ColumnSelection.less +190 -190
- package/es/selectGategory/style/index.less +40 -40
- package/es/selectResourceModal/component.js +15 -10
- package/es/selectResourceModal/components/List/ListLocal/Upload.js +4 -3
- package/es/selectResourceModal/components/List/ListLocal/index.js +9 -4
- package/es/selectResourceModal/components/List/ListNormal/Filter.js +66 -33
- package/es/selectResourceModal/components/List/ListNormal/index.js +5 -4
- package/es/selectResourceModal/components/List/ListSystem/Filter.js +3 -2
- package/es/selectResourceModal/components/List/ListSystem/SubList.js +1 -1
- package/es/selectResourceModal/hooks/useResponsiveFilter.js +1 -1
- package/es/selectResourceModal/style/index.css +6 -0
- package/es/selectResourceModal/style/index.less +55 -46
- package/es/selectResourceModal/style/list.less +203 -202
- package/es/selectResourceModal/style/listCardWrapper.less +97 -97
- package/es/selectResourceModal/style/listSelected.less +94 -94
- package/es/selectThumb/component.js +17 -17
- package/es/selectThumb/style/card.less +95 -95
- package/es/selectThumb/style/colorPalette.less +30 -30
- package/es/selectThumb/style/index.less +62 -62
- package/es/style/index.less +1 -1
- package/es/style.css +63 -0
- package/es/thumbCard/style/index.less +90 -90
- package/es/thumbCard/style/thumbUploading.less +26 -26
- package/es/typeIcons/component.js +1 -1
- package/es/typeIcons/style/index.less +6 -6
- package/es/uploadBefore/components/UploadBefore.js +1 -1
- package/es/uploadBefore/style/index.less +144 -144
- package/es/uploadStep/style/index.less +152 -152
- package/es/userAvater/component.js +3 -2
- package/es/userAvater/style/index.less +54 -54
- package/es/userDirector/component.js +3 -2
- package/es/userDirector/style/index.less +96 -96
- package/es/utils/index.js +6 -6
- package/es/videoThumb/style/index.less +77 -77
- package/lib/appCenter/style/index.less +120 -120
- package/lib/baseFilter/component.js +69 -12
- package/lib/baseFilter/components/FilterGroup.js +1 -1
- package/lib/baseFilter/style/filterGroup.less +53 -53
- package/lib/baseFilter/style/index.less +45 -45
- package/lib/colorPalette/style/index.less +44 -44
- package/lib/contentDetailList/component.js +24 -0
- package/lib/contentDetailList/components/Content/CompoItem/index.js +1 -1
- package/lib/contentDetailList/components/Content/ContentListItem/index.js +1 -1
- package/lib/contentDetailList/components/Content/DocItem/index.js +1 -1
- package/lib/contentDetailList/components/Content/DocMpItem/index.js +1 -1
- package/lib/contentDetailList/components/Content/GroupPieceItem/index.js +1 -1
- package/lib/contentDetailList/components/Content/KongoNavItem/index.js +1 -1
- package/lib/contentDetailList/components/Content/LiveItem/index.js +1 -1
- package/lib/contentDetailList/components/Content/MaccountItem/index.js +1 -1
- package/lib/contentDetailList/components/Content/courseItem/index.js +1 -1
- package/lib/contentDetailList/components/Content/funhdItem/index.js +1 -1
- package/lib/contentDetailList/components/Content/index.js +2 -1
- package/lib/contentDetailList/components/CustomWrp/CustomItem.js +1 -1
- package/lib/contentDetailList/components/Doc/index.js +6 -0
- package/lib/contentDetailList/components/ShowQRCode/QrcodeView/index.js +6 -4
- package/lib/contentDetailList/style/ComoItem.less +99 -99
- package/lib/contentDetailList/style/Content.less +49 -49
- package/lib/contentDetailList/style/ContentListItem.less +132 -132
- package/lib/contentDetailList/style/CustomItem.less +25 -25
- package/lib/contentDetailList/style/Doc.less +3 -3
- package/lib/contentDetailList/style/DocItem.less +152 -152
- package/lib/contentDetailList/style/DocMpItem.less +135 -135
- package/lib/contentDetailList/style/GroupPieceItem.less +108 -108
- package/lib/contentDetailList/style/KongoNavItem.less +104 -104
- package/lib/contentDetailList/style/LiveItem.less +108 -108
- package/lib/contentDetailList/style/MaccountItem.less +111 -111
- package/lib/contentDetailList/style/MatrixItem.less +214 -214
- package/lib/contentDetailList/style/QrCodeView.less +93 -93
- package/lib/contentDetailList/style/ShowQRCode.less +3 -3
- package/lib/contentDetailList/style/courseItem.less +108 -108
- package/lib/contentDetailList/style/funhdItem.less +108 -108
- package/lib/contentDetailList/style/index.less +30 -30
- package/lib/contentModal/component.js +24 -16
- package/lib/contentModal/components/ViewAllColumn/MediaFilter/index.js +5 -175
- package/lib/contentModal/components/ViewAllColumn/index.js +0 -1
- package/lib/contentModal/components/storeBox/index.js +6 -4
- package/lib/contentModal/script/api.js +0 -7
- package/lib/contentModal/style/MediaFilter.less +47 -47
- package/lib/contentModal/style/ViewAllColumn.less +68 -68
- package/lib/contentModal/style/columnTree.less +32 -32
- package/lib/contentModal/style/index.less +23 -23
- package/lib/contentModal/style/storeBox.less +55 -55
- package/lib/dataTags/component.js +15 -10
- package/lib/dataTags/style/index.less +73 -73
- package/lib/docHistory/component.js +42 -12
- package/lib/docHistory/scripts/diff.js +4 -3
- package/lib/docHistory/style/docDiffPanel.less +43 -43
- package/lib/docHistory/style/docHistoryList.less +58 -58
- package/lib/docHistory/style/index.css +4 -0
- package/lib/docHistory/style/index.less +37 -32
- package/lib/docPreview/component.js +15 -10
- package/lib/docPreview/style/index.less +140 -140
- package/lib/docPreview/style/previewIframe.less +36 -36
- package/lib/editMetaInfo/components/metaInfoForm.js +6 -4
- package/lib/editMetaInfo/style/index.less +60 -60
- package/lib/emptyData/style/index.less +34 -34
- package/lib/hooks/useUpload.js +43 -3
- package/lib/imageCrop/component.js +6 -4
- package/lib/imageCrop/style/cropper.less +291 -291
- package/lib/imageCrop/style/imageCropper.less +133 -133
- package/lib/imageCrop/style/index.less +2 -2
- package/lib/importData/component.js +10 -7
- package/lib/importData/style/index.less +48 -48
- package/lib/index.css +10 -0
- package/lib/index.js +2 -0
- package/lib/index.less +30 -30
- package/lib/mediaFilter/components/DocFilter.js +3 -2
- package/lib/mediaFilter/components/FilterGroup.js +1 -1
- package/lib/mediaFilter/style/index.less +115 -115
- package/lib/mediaView/style/index.less +71 -71
- package/lib/messageBox/component.js +1 -1
- package/lib/messageBox/list.js +1 -1
- package/lib/messageBox/style/index.less +76 -76
- package/lib/previousVersion/style/index.less +209 -209
- package/lib/resourceGridList/component.js +5 -3
- package/lib/resourceGridList/style/FileTypeThumb.less +96 -96
- package/lib/resourceGridList/style/index.less +233 -233
- package/lib/resourceModal/component.js +1 -1
- package/lib/resourceModal/components/MediaSelection/DocAiMediaSelected/index.js +2 -1
- package/lib/resourceModal/components/MediaSelection/MainContent/index.js +5 -3
- package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.js +1 -1
- package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.js +1 -1
- package/lib/resourceModal/components/MediaSelection/ToolbarSearch/index.js +1 -1
- package/lib/resourceModal/style/DocAiMediaSelected.less +55 -55
- package/lib/resourceModal/style/FileTypeThumb.less +205 -205
- package/lib/resourceModal/style/MainContent.less +222 -222
- package/lib/resourceModal/style/MediaPreviewer.less +71 -71
- package/lib/resourceModal/style/MediaSelection.less +69 -69
- package/lib/resourceModal/style/SystemResourceSelected.less +154 -154
- package/lib/resourceModal/style/ToolbarSearch.less +53 -53
- package/lib/resourceModal/style/index.less +18 -18
- package/lib/selectAddTo/component.js +48 -0
- package/lib/selectAddTo/component.vue_vue_type_style_index_0_scoped_true_lang.js +3 -0
- package/lib/selectAddTo/components/SelectAddToView.js +92 -0
- package/lib/selectAddTo/components/SelectAddToView.vue_vue_type_style_index_0_scoped_true_lang.js +3 -0
- package/lib/selectAddTo/components/ViewAllColumn/MediaFilter/index.js +167 -0
- package/lib/selectAddTo/components/ViewAllColumn/index.js +213 -0
- package/lib/selectAddTo/components/ViewAllColumn/index.vue_vue_type_style_index_0_scoped_true_lang.js +3 -0
- package/lib/selectAddTo/components/ViewAllColumn/script/useTableColumns.js +108 -0
- package/lib/selectAddTo/components/ViewAllColumn/script/useViewAllColumnState.js +184 -0
- package/lib/selectAddTo/index.js +8 -0
- package/lib/selectAddTo/script/api.js +27 -0
- package/lib/selectAddTo/script/useSelectAddToState.js +57 -0
- package/lib/selectAddTo/style/css.js +2 -0
- package/lib/selectAddTo/style/index.css +3 -0
- package/lib/selectAddTo/style/index.js +2 -0
- package/lib/selectAddTo/style/index.less +3 -0
- package/lib/selectAvatarList/style/index.less +4 -4
- package/lib/selectGategory/component.js +1 -1
- package/lib/selectGategory/style/ColumnSelection.less +190 -190
- package/lib/selectGategory/style/index.less +40 -40
- package/lib/selectResourceModal/component.js +15 -10
- package/lib/selectResourceModal/components/List/ListLocal/Upload.js +4 -3
- package/lib/selectResourceModal/components/List/ListLocal/index.js +7 -2
- package/lib/selectResourceModal/components/List/ListNormal/Filter.js +65 -32
- package/lib/selectResourceModal/components/List/ListNormal/index.js +5 -4
- package/lib/selectResourceModal/components/List/ListSystem/Filter.js +3 -2
- package/lib/selectResourceModal/components/List/ListSystem/SubList.js +1 -1
- package/lib/selectResourceModal/hooks/useResponsiveFilter.js +1 -1
- package/lib/selectResourceModal/style/index.css +6 -0
- package/lib/selectResourceModal/style/index.less +55 -46
- package/lib/selectResourceModal/style/list.less +203 -202
- package/lib/selectResourceModal/style/listCardWrapper.less +97 -97
- package/lib/selectResourceModal/style/listSelected.less +94 -94
- package/lib/selectThumb/component.js +17 -17
- package/lib/selectThumb/style/card.less +95 -95
- package/lib/selectThumb/style/colorPalette.less +30 -30
- package/lib/selectThumb/style/index.less +62 -62
- package/lib/style/index.less +1 -1
- package/lib/thumbCard/style/index.less +90 -90
- package/lib/thumbCard/style/thumbUploading.less +26 -26
- package/lib/typeIcons/component.js +1 -1
- package/lib/typeIcons/style/index.less +6 -6
- package/lib/uploadBefore/components/UploadBefore.js +1 -1
- package/lib/uploadBefore/style/index.less +144 -144
- package/lib/uploadStep/style/index.less +152 -152
- package/lib/userAvater/component.js +3 -2
- package/lib/userAvater/style/index.less +54 -54
- package/lib/userDirector/component.js +3 -2
- package/lib/userDirector/style/index.less +96 -96
- package/lib/utils/index.js +6 -6
- package/lib/videoThumb/style/index.less +77 -77
- package/package.json +138 -138
- package/es/appCenter/component.d.ts +0 -0
- package/es/appCenter/index.d.ts +0 -2
- package/es/appCenter/script/api.d.ts +0 -11
- package/es/appCenter/script/apps.d.ts +0 -14
- package/es/appCenter/script/permissionMap.d.ts +0 -6
- package/es/appCenter/script/routeMap.d.ts +0 -4
- package/es/appCenter/style/index.d.ts +0 -1
- package/es/baseFilter/component.d.ts +0 -0
- package/es/baseFilter/components/FilterGroup.d.ts +0 -0
- package/es/baseFilter/components/filterItem.d.ts +0 -0
- package/es/baseFilter/index.d.ts +0 -2
- package/es/baseFilter/style/index.d.ts +0 -1
- package/es/baseFilter/useCalcWidth.d.ts +0 -16
- package/es/colorPalette/component.d.ts +0 -0
- package/es/colorPalette/components/colorPicker.d.ts +0 -0
- package/es/colorPalette/index.d.ts +0 -2
- package/es/colorPalette/style/index.d.ts +0 -1
- package/es/components.d.ts +0 -5
- package/es/config.d.ts +0 -4
- package/es/contentDetailList/__demo__/matrix/platform.d.ts +0 -36
- package/es/contentDetailList/component.d.ts +0 -0
- package/es/contentDetailList/components/Content/CompoItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/ContentListItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/DocItem/ApprovalStateMap/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/DocItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/DocMpItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/GroupPieceItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/KongoNavItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/LiveItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/MaccountItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/courseItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/funhdItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/index.d.ts +0 -0
- package/es/contentDetailList/components/CustomWrp/CustomItem.d.ts +0 -0
- package/es/contentDetailList/components/CustomWrp/index.d.ts +0 -0
- package/es/contentDetailList/components/Doc/index.d.ts +0 -0
- package/es/contentDetailList/components/Records/MatrixItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Records/index.d.ts +0 -0
- package/es/contentDetailList/components/ShowQRCode/QrcodeView/index.d.ts +0 -0
- package/es/contentDetailList/components/ShowQRCode/index.d.ts +0 -0
- package/es/contentDetailList/index.d.ts +0 -2
- package/es/contentDetailList/script/api.d.ts +0 -6
- package/es/contentDetailList/style/index.d.ts +0 -1
- package/es/contentModal/component.d.ts +0 -0
- package/es/contentModal/components/CompoList/CompoFilter/index.d.ts +0 -0
- package/es/contentModal/components/CompoList/index.d.ts +0 -0
- package/es/contentModal/components/ContentList/MediaFilter/index.d.ts +0 -0
- package/es/contentModal/components/ContentList/index.d.ts +0 -0
- package/es/contentModal/components/Dejin/MediaFilter/index.d.ts +0 -0
- package/es/contentModal/components/Dejin/index.d.ts +0 -0
- package/es/contentModal/components/EqxiuList/MediaFilter/index.d.ts +0 -0
- package/es/contentModal/components/EqxiuList/index.d.ts +0 -0
- package/es/contentModal/components/LiveList/MediaFilter/index.d.ts +0 -0
- package/es/contentModal/components/LiveList/index.d.ts +0 -0
- package/es/contentModal/components/MpAccountList/MpAccountFilter/index.d.ts +0 -0
- package/es/contentModal/components/MpAccountList/index.d.ts +0 -0
- package/es/contentModal/components/MpContentList/MediaFilter/index.d.ts +0 -0
- package/es/contentModal/components/MpContentList/index.d.ts +0 -0
- package/es/contentModal/components/ViewAllColumn/MediaFilter/index.d.ts +0 -0
- package/es/contentModal/components/ViewAllColumn/columnTree/index.d.ts +0 -0
- package/es/contentModal/components/ViewAllColumn/columnTree/index.js +0 -151
- package/es/contentModal/components/ViewAllColumn/index.d.ts +0 -0
- package/es/contentModal/components/storeBox/index.d.ts +0 -0
- package/es/contentModal/index.d.ts +0 -2
- package/es/contentModal/script/api.d.ts +0 -18
- package/es/contentModal/style/index.d.ts +0 -1
- package/es/dataTags/component.d.ts +0 -0
- package/es/dataTags/index.d.ts +0 -2
- package/es/dataTags/style/index.d.ts +0 -1
- package/es/docHistory/component.d.ts +0 -0
- package/es/docHistory/components/DocDiffPanel/index.d.ts +0 -0
- package/es/docHistory/components/DocHistoryList/index.d.ts +0 -0
- package/es/docHistory/index.d.ts +0 -2
- package/es/docHistory/scripts/diff.d.ts +0 -1
- package/es/docHistory/scripts/useDocHistory.d.ts +0 -10
- package/es/docHistory/style/index.d.ts +0 -1
- package/es/docPreview/component.d.ts +0 -0
- package/es/docPreview/components/PreviewIframe.d.ts +0 -0
- package/es/docPreview/index.d.ts +0 -2
- package/es/docPreview/scripts/api.d.ts +0 -1
- package/es/docPreview/scripts/hook.d.ts +0 -33
- package/es/docPreview/style/index.d.ts +0 -1
- package/es/editMetaInfo/component.d.ts +0 -0
- package/es/editMetaInfo/components/metaInfoForm.d.ts +0 -0
- package/es/editMetaInfo/index.d.ts +0 -2
- package/es/editMetaInfo/script/api.d.ts +0 -6
- package/es/editMetaInfo/script/restaurants.d.ts +0 -4
- package/es/editMetaInfo/style/index.d.ts +0 -1
- package/es/emptyData/component.d.ts +0 -0
- package/es/emptyData/index.d.ts +0 -2
- package/es/emptyData/style/index.d.ts +0 -1
- package/es/emptyData/svg/add.d.ts +0 -0
- package/es/hooks/assets.d.ts +0 -1
- package/es/hooks/batch.d.ts +0 -8
- package/es/hooks/dialogVisible.d.ts +0 -8
- package/es/hooks/source.d.ts +0 -9
- package/es/hooks/toggle.d.ts +0 -6
- package/es/hooks/useAttachement.d.ts +0 -53
- package/es/hooks/useLocalStorage.d.ts +0 -10
- package/es/hooks/useMediaContext.d.ts +0 -12
- package/es/hooks/usePopper.d.ts +0 -8
- package/es/hooks/useSelection.d.ts +0 -30
- package/es/hooks/useUpload.d.ts +0 -30
- package/es/hooks/user.d.ts +0 -9
- package/es/imageCrop/component.d.ts +0 -0
- package/es/imageCrop/index.d.ts +0 -2
- package/es/imageCrop/script/api.d.ts +0 -1
- package/es/imageCrop/style/index.d.ts +0 -1
- package/es/importData/component.d.ts +0 -0
- package/es/importData/index.d.ts +0 -2
- package/es/importData/style/index.d.ts +0 -1
- package/es/index.d.ts +0 -30
- package/es/mediaFilter/component.d.ts +0 -0
- package/es/mediaFilter/components/DocFilter.d.ts +0 -0
- package/es/mediaFilter/components/FilterGroup.d.ts +0 -0
- package/es/mediaFilter/components/FilterItem.d.ts +0 -0
- package/es/mediaFilter/components/MpAccountFilter.d.ts +0 -0
- package/es/mediaFilter/components/MpContentFilter.d.ts +0 -0
- package/es/mediaFilter/index.d.ts +0 -3
- package/es/mediaFilter/script/optionsGetter.d.ts +0 -26
- package/es/mediaFilter/script/types.d.ts +0 -16
- package/es/mediaFilter/style/index.d.ts +0 -1
- package/es/mediaView/component.d.ts +0 -0
- package/es/mediaView/index.d.ts +0 -2
- package/es/mediaView/style/index.d.ts +0 -1
- package/es/messageBox/component.d.ts +0 -0
- package/es/messageBox/index.d.ts +0 -2
- package/es/messageBox/list.d.ts +0 -0
- package/es/messageBox/script/api.d.ts +0 -6
- package/es/messageBox/style/index.d.ts +0 -1
- package/es/previousVersion/component.d.ts +0 -0
- package/es/previousVersion/index.d.ts +0 -2
- package/es/previousVersion/script/api.d.ts +0 -15
- package/es/previousVersion/script/tool.d.ts +0 -6
- package/es/previousVersion/style/index.d.ts +0 -1
- package/es/resourceGridList/component.d.ts +0 -0
- package/es/resourceGridList/components/FileTypeThumb/index.d.ts +0 -0
- package/es/resourceGridList/index.d.ts +0 -2
- package/es/resourceGridList/style/index.d.ts +0 -1
- package/es/resourceModal/component.d.ts +0 -0
- package/es/resourceModal/components/MediaPreviewer/index.d.ts +0 -0
- package/es/resourceModal/components/MediaSelection/DocAiMediaSelected/index.d.ts +0 -0
- package/es/resourceModal/components/MediaSelection/MainContent/FileTypeThumb/index.d.ts +0 -0
- package/es/resourceModal/components/MediaSelection/MainContent/index.d.ts +0 -0
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.d.ts +0 -0
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.d.ts +0 -0
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/index.d.ts +0 -0
- package/es/resourceModal/components/MediaSelection/ToolbarSearch/index.d.ts +0 -0
- package/es/resourceModal/components/MediaSelection/index.d.ts +0 -0
- package/es/resourceModal/index.d.ts +0 -2
- package/es/resourceModal/script/api.d.ts +0 -25
- package/es/resourceModal/script/mediaSelection.d.ts +0 -14
- package/es/resourceModal/style/index.d.ts +0 -1
- package/es/selectAvatarList/component.d.ts +0 -0
- package/es/selectAvatarList/index.d.ts +0 -2
- package/es/selectAvatarList/style/index.d.ts +0 -1
- package/es/selectGategory/component.d.ts +0 -0
- package/es/selectGategory/components/ColumnSelection/index.d.ts +0 -0
- package/es/selectGategory/index.d.ts +0 -2
- package/es/selectGategory/script/api.d.ts +0 -6
- package/es/selectGategory/style/index.d.ts +0 -1
- package/es/selectResourceModal/__demo__/module/DivWrapper.d.ts +0 -268
- package/es/selectResourceModal/__demo__/module/basic.d.ts +0 -299
- package/es/selectResourceModal/component.d.ts +0 -0
- package/es/selectResourceModal/components/List/ListAi/index.d.ts +0 -0
- package/es/selectResourceModal/components/List/ListCardWrapper.d.ts +0 -0
- package/es/selectResourceModal/components/List/ListLocal/Upload.d.ts +0 -0
- package/es/selectResourceModal/components/List/ListLocal/index.d.ts +0 -0
- package/es/selectResourceModal/components/List/ListNormal/Filter.d.ts +0 -0
- 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/SubList.d.ts +0 -0
- package/es/selectResourceModal/components/List/ListSystem/index.d.ts +0 -0
- package/es/selectResourceModal/components/List/ListVideo/index.d.ts +0 -0
- package/es/selectResourceModal/components/List/ListWraper.d.ts +0 -0
- package/es/selectResourceModal/components/ListSelected/index.d.ts +0 -0
- package/es/selectResourceModal/components/ListTabs/index.d.ts +0 -0
- package/es/selectResourceModal/hooks/useResponsiveFilter.d.ts +0 -21
- package/es/selectResourceModal/index.d.ts +0 -2
- package/es/selectResourceModal/scripts/selectionApis.d.ts +0 -2
- package/es/selectResourceModal/scripts/useCompoLf.d.ts +0 -27
- package/es/selectResourceModal/scripts/useResourceSelect.d.ts +0 -7
- package/es/selectResourceModal/scripts/useTabFilter.d.ts +0 -22
- package/es/selectResourceModal/style/index.d.ts +0 -1
- package/es/selectThumb/component.d.ts +0 -0
- package/es/selectThumb/components/card.d.ts +0 -0
- package/es/selectThumb/components/colorPalette.d.ts +0 -0
- package/es/selectThumb/components/colorPicker.d.ts +0 -0
- package/es/selectThumb/index.d.ts +0 -2
- package/es/selectThumb/style/index.d.ts +0 -1
- package/es/thumbCard/component.d.ts +0 -0
- package/es/thumbCard/components/ThumbUploading/index.d.ts +0 -0
- package/es/thumbCard/index.d.ts +0 -2
- package/es/thumbCard/style/index.d.ts +0 -1
- package/es/typeIcons/component.d.ts +0 -0
- package/es/typeIcons/index.d.ts +0 -2
- package/es/typeIcons/style/index.d.ts +0 -1
- package/es/uploadBefore/component.d.ts +0 -0
- package/es/uploadBefore/components/UploadBefore.d.ts +0 -0
- package/es/uploadBefore/components/UploadForClick.d.ts +0 -0
- package/es/uploadBefore/index.d.ts +0 -2
- package/es/uploadBefore/script/api.d.ts +0 -16
- package/es/uploadBefore/script/fileTypeAdapter.d.ts +0 -39
- package/es/uploadBefore/script/fileUpload.d.ts +0 -7
- package/es/uploadBefore/script/uploadHooks.d.ts +0 -96
- package/es/uploadBefore/style/index.d.ts +0 -1
- package/es/uploadBefore/utils/dragUploadEvent.d.ts +0 -0
- package/es/uploadStep/component.d.ts +0 -0
- package/es/uploadStep/index.d.ts +0 -2
- package/es/uploadStep/script/fileTypeAdapter.d.ts +0 -20
- package/es/uploadStep/style/index.d.ts +0 -1
- package/es/userAvater/component.d.ts +0 -0
- package/es/userAvater/index.d.ts +0 -2
- package/es/userAvater/script/api.d.ts +0 -8
- package/es/userAvater/style/index.d.ts +0 -1
- package/es/userDirector/component.d.ts +0 -0
- package/es/userDirector/components/userTree.d.ts +0 -0
- package/es/userDirector/index.d.ts +0 -2
- package/es/userDirector/script/api.d.ts +0 -10
- package/es/userDirector/style/index.d.ts +0 -1
- package/es/utils/auth.d.ts +0 -5
- package/es/utils/date.d.ts +0 -3
- package/es/utils/doc.d.ts +0 -76
- package/es/utils/filter.d.ts +0 -21
- package/es/utils/index.d.ts +0 -17
- package/es/utils/request.d.ts +0 -9
- package/es/utils/resource.d.ts +0 -4
- package/es/utils/transcodeMedia.d.ts +0 -13
- package/es/utils/tusUpload.d.ts +0 -16
- package/es/utils/typeMap.d.ts +0 -185
- package/es/utils/uploadCatalog.d.ts +0 -1
- package/es/videoThumb/component.d.ts +0 -0
- package/es/videoThumb/index.d.ts +0 -2
- package/es/videoThumb/scripts/api.d.ts +0 -9
- package/es/videoThumb/scripts/useVideoThumbs.d.ts +0 -12
- package/es/videoThumb/style/index.d.ts +0 -1
- package/lib/contentModal/components/ViewAllColumn/columnTree/index.js +0 -152
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
@import './ColumnSelection.less';
|
|
2
|
-
|
|
3
|
-
.add-category-modal-wrapper {
|
|
4
|
-
.arco-modal-header {
|
|
5
|
-
border-bottom: none;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.arco-modal-body {
|
|
9
|
-
min-height: 200px;
|
|
10
|
-
padding: 20px;
|
|
11
|
-
padding-bottom: 0;
|
|
12
|
-
|
|
13
|
-
.form-view {
|
|
14
|
-
padding: 0 20px;
|
|
15
|
-
|
|
16
|
-
.title {
|
|
17
|
-
padding: 20px 0;
|
|
18
|
-
font-weight: bold;
|
|
19
|
-
font-size: 14px;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.item-title {
|
|
23
|
-
display: inline-block;
|
|
24
|
-
color: #4e5969;
|
|
25
|
-
font-weight: 700;
|
|
26
|
-
font-size: 14px;
|
|
27
|
-
line-height: 40px;
|
|
28
|
-
text-align: left;
|
|
29
|
-
|
|
30
|
-
&.big {
|
|
31
|
-
line-height: 60px;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.arco-modal-footer {
|
|
38
|
-
border-top: 0;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
1
|
+
@import './ColumnSelection.less';
|
|
2
|
+
|
|
3
|
+
.add-category-modal-wrapper {
|
|
4
|
+
.arco-modal-header {
|
|
5
|
+
border-bottom: none;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.arco-modal-body {
|
|
9
|
+
min-height: 200px;
|
|
10
|
+
padding: 20px;
|
|
11
|
+
padding-bottom: 0;
|
|
12
|
+
|
|
13
|
+
.form-view {
|
|
14
|
+
padding: 0 20px;
|
|
15
|
+
|
|
16
|
+
.title {
|
|
17
|
+
padding: 20px 0;
|
|
18
|
+
font-weight: bold;
|
|
19
|
+
font-size: 14px;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.item-title {
|
|
23
|
+
display: inline-block;
|
|
24
|
+
color: #4e5969;
|
|
25
|
+
font-weight: 700;
|
|
26
|
+
font-size: 14px;
|
|
27
|
+
line-height: 40px;
|
|
28
|
+
text-align: left;
|
|
29
|
+
|
|
30
|
+
&.big {
|
|
31
|
+
line-height: 60px;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.arco-modal-footer {
|
|
38
|
+
border-top: 0;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -123,18 +123,20 @@ const _sfc_main = vue.defineComponent({
|
|
|
123
123
|
}, null, 8, ["maxcount", "selected", "onRemove", "onClear"]),
|
|
124
124
|
vue.createVNode(vue.unref(webVue.Button), { onClick: vue.unref(close) }, {
|
|
125
125
|
default: vue.withCtx(() => _cache[1] || (_cache[1] = [
|
|
126
|
-
vue.createTextVNode("\u53D6\u6D88")
|
|
126
|
+
vue.createTextVNode("\u53D6\u6D88", -1)
|
|
127
127
|
])),
|
|
128
|
-
_: 1
|
|
128
|
+
_: 1,
|
|
129
|
+
__: [1]
|
|
129
130
|
}, 8, ["onClick"]),
|
|
130
131
|
vue.createVNode(vue.unref(webVue.Button), {
|
|
131
132
|
type: "primary",
|
|
132
133
|
onClick: confirm
|
|
133
134
|
}, {
|
|
134
135
|
default: vue.withCtx(() => _cache[2] || (_cache[2] = [
|
|
135
|
-
vue.createTextVNode(" \u786E\u5B9A ")
|
|
136
|
+
vue.createTextVNode(" \u786E\u5B9A ", -1)
|
|
136
137
|
])),
|
|
137
|
-
_: 1
|
|
138
|
+
_: 1,
|
|
139
|
+
__: [2]
|
|
138
140
|
})
|
|
139
141
|
], 64)) : vue.createCommentVNode("v-if", true)
|
|
140
142
|
], 64)) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
|
|
@@ -142,9 +144,10 @@ const _sfc_main = vue.defineComponent({
|
|
|
142
144
|
vue.createCommentVNode(" \u89C6\u9891\u5C01\u9762\u7C7B\u578B\u4E0D\u5B58\u5728\u591A\u9009\u7684\u903B\u8F91\uFF0C\u65E0\u8BBA\u662F\u70B9\u51FB\u88C1\u526A\u8FD8\u662F\u4F7F\u7528\uFF0C\u90FD\u662F\u5355\u9009 "),
|
|
143
145
|
vue.createVNode(vue.unref(webVue.Button), { onClick: vue.unref(close) }, {
|
|
144
146
|
default: vue.withCtx(() => _cache[3] || (_cache[3] = [
|
|
145
|
-
vue.createTextVNode("\u53D6\u6D88")
|
|
147
|
+
vue.createTextVNode("\u53D6\u6D88", -1)
|
|
146
148
|
])),
|
|
147
|
-
_: 1
|
|
149
|
+
_: 1,
|
|
150
|
+
__: [3]
|
|
148
151
|
}, 8, ["onClick"]),
|
|
149
152
|
vue.createVNode(vue.unref(webVue.Button), {
|
|
150
153
|
disabled: isEmpty,
|
|
@@ -152,9 +155,10 @@ const _sfc_main = vue.defineComponent({
|
|
|
152
155
|
onClick: ($event) => confirm("crop", onConfirm)
|
|
153
156
|
}, {
|
|
154
157
|
default: vue.withCtx(() => _cache[4] || (_cache[4] = [
|
|
155
|
-
vue.createTextVNode(" \u7F16\u8F91 ")
|
|
158
|
+
vue.createTextVNode(" \u7F16\u8F91 ", -1)
|
|
156
159
|
])),
|
|
157
|
-
_: 2
|
|
160
|
+
_: 2,
|
|
161
|
+
__: [4]
|
|
158
162
|
}, 1032, ["disabled", "onClick"]),
|
|
159
163
|
vue.createVNode(vue.unref(webVue.Button), {
|
|
160
164
|
disabled: isEmpty,
|
|
@@ -162,9 +166,10 @@ const _sfc_main = vue.defineComponent({
|
|
|
162
166
|
onClick: ($event) => confirm("use", onConfirm)
|
|
163
167
|
}, {
|
|
164
168
|
default: vue.withCtx(() => _cache[5] || (_cache[5] = [
|
|
165
|
-
vue.createTextVNode(" \u4F7F\u7528 ")
|
|
169
|
+
vue.createTextVNode(" \u4F7F\u7528 ", -1)
|
|
166
170
|
])),
|
|
167
|
-
_: 2
|
|
171
|
+
_: 2,
|
|
172
|
+
__: [5]
|
|
168
173
|
}, 1032, ["disabled", "onClick"])
|
|
169
174
|
], 64))
|
|
170
175
|
]),
|
|
@@ -46,14 +46,15 @@ const _sfc_main = vue.defineComponent({
|
|
|
46
46
|
vue.createVNode(vue.unref(vueCmstopIcons.IconComputer))
|
|
47
47
|
]),
|
|
48
48
|
default: vue.withCtx(() => [
|
|
49
|
-
_cache[0] || (_cache[0] = vue.createTextVNode(" \u672C\u5730\u4E0A\u4F20 "))
|
|
49
|
+
_cache[0] || (_cache[0] = vue.createTextVNode(" \u672C\u5730\u4E0A\u4F20 ", -1))
|
|
50
50
|
]),
|
|
51
|
-
_: 1
|
|
51
|
+
_: 1,
|
|
52
|
+
__: [0]
|
|
52
53
|
})
|
|
53
54
|
]),
|
|
54
55
|
_: 1
|
|
55
56
|
}),
|
|
56
|
-
vue.createCommentVNode(' <a-button type="primary"> \u626B\u7801\u4E0A\u4F20 </a-button>\n <a-button type="primary"> \u5206\u4EAB\u4E0A\u4F20 </a-button> ')
|
|
57
|
+
vue.createCommentVNode(' <a-button type="primary"> \u626B\u7801\u4E0A\u4F20 </a-button>\r\n <a-button type="primary"> \u5206\u4EAB\u4E0A\u4F20 </a-button> ')
|
|
57
58
|
]),
|
|
58
59
|
vue.createElementVNode("div", _hoisted_3, [
|
|
59
60
|
vue.createVNode(vue.unref(webVue.Upload), {
|
|
@@ -23,6 +23,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
23
23
|
var _a;
|
|
24
24
|
return (_a = userInfo == null ? void 0 : userInfo.value) == null ? void 0 : _a.repository_id;
|
|
25
25
|
});
|
|
26
|
+
const { template, initTemplate } = useUpload.useUploadConfig();
|
|
26
27
|
const { list, uploadFile, reTranscode, transcodingFile, removeRecord } = useUpload["default"]();
|
|
27
28
|
function handleChange(file) {
|
|
28
29
|
if (!baseAPI || !repoId.value)
|
|
@@ -32,7 +33,8 @@ const _sfc_main = vue.defineComponent({
|
|
|
32
33
|
file.file,
|
|
33
34
|
0,
|
|
34
35
|
repoId.value,
|
|
35
|
-
(media) => transcodingFile(baseAPI, media, repoId.value)
|
|
36
|
+
(media) => transcodingFile(baseAPI, media, repoId.value),
|
|
37
|
+
{ template: template.value }
|
|
36
38
|
);
|
|
37
39
|
}
|
|
38
40
|
async function handleOptions(e) {
|
|
@@ -55,6 +57,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
55
57
|
removeRecord(e.item);
|
|
56
58
|
}
|
|
57
59
|
}
|
|
60
|
+
vue.onMounted(() => {
|
|
61
|
+
initTemplate(baseAPI);
|
|
62
|
+
});
|
|
58
63
|
return (_ctx, _cache) => {
|
|
59
64
|
return vue.openBlock(), vue.createBlock(ListWraper, null, {
|
|
60
65
|
"footer-extra": vue.withCtx(() => [
|
|
@@ -74,7 +79,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
74
79
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, {
|
|
75
80
|
key: item.sig_id
|
|
76
81
|
}, [
|
|
77
|
-
vue.createCommentVNode(" \n onOptions \u7528\u4E8E\u5904\u7406\u5361\u7247\u91CC\u5916\u90E8\u4E0D\u80FD\u6355\u83B7\u7684\u64CD\u4F5C\n 1. \u6BD4\u5982\u5916\u90E8\u65E0\u6CD5\u5904\u7406\u9700\u8981\u91CD\u65B0\u4E0A\u4F20/\u8F6C\u7801/\u5220\u9664\u7684\u903B\u8F91 \n 2. \u90A3\u4E48\u5C31\u5C06\u5904\u7406\u7684\u65B9\u6CD5\u4E5F\u4E00\u540C\u629B\u51FA\uFF0C\u7531\u5916\u90E8\u8C03\u7528\n "),
|
|
82
|
+
vue.createCommentVNode(" \r\n onOptions \u7528\u4E8E\u5904\u7406\u5361\u7247\u91CC\u5916\u90E8\u4E0D\u80FD\u6355\u83B7\u7684\u64CD\u4F5C\r\n 1. \u6BD4\u5982\u5916\u90E8\u65E0\u6CD5\u5904\u7406\u9700\u8981\u91CD\u65B0\u4E0A\u4F20/\u8F6C\u7801/\u5220\u9664\u7684\u903B\u8F91 \r\n 2. \u90A3\u4E48\u5C31\u5C06\u5904\u7406\u7684\u65B9\u6CD5\u4E5F\u4E00\u540C\u629B\u51FA\uFF0C\u7531\u5916\u90E8\u8C03\u7528\r\n "),
|
|
78
83
|
vue.renderSlot(_ctx.$slots, "item", {
|
|
79
84
|
item,
|
|
80
85
|
onOptions: handleOptions
|
|
@@ -46,10 +46,12 @@ const _hoisted_14 = ["onClick"];
|
|
|
46
46
|
const _sfc_main = vue.defineComponent({
|
|
47
47
|
__name: "Filter",
|
|
48
48
|
props: {
|
|
49
|
+
smallScreen: { type: Boolean },
|
|
49
50
|
disableUploadBy: { type: Boolean }
|
|
50
51
|
},
|
|
51
52
|
emits: ["upload", "change"],
|
|
52
53
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
54
|
+
var _a, _b, _c;
|
|
53
55
|
const props = __props;
|
|
54
56
|
const emits = __emit;
|
|
55
57
|
const userInfo = vue.inject("userInfo");
|
|
@@ -63,8 +65,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
63
65
|
hiddenElementList,
|
|
64
66
|
visible,
|
|
65
67
|
show,
|
|
66
|
-
hide
|
|
67
|
-
refreshLayout
|
|
68
|
+
hide
|
|
68
69
|
} = useResponsiveFilter.useResponsiveFilter(filterItemsRef);
|
|
69
70
|
const { options, loading, load, loadMore, handleSearch } = useSelection({
|
|
70
71
|
labelStr: "alias",
|
|
@@ -99,7 +100,17 @@ const _sfc_main = vue.defineComponent({
|
|
|
99
100
|
sf: "",
|
|
100
101
|
directory_id: void 0
|
|
101
102
|
};
|
|
102
|
-
|
|
103
|
+
if ((_a = filterOptions == null ? void 0 : filterOptions.value) == null ? void 0 : _a.mediaTypeStrict) {
|
|
104
|
+
originFilter.catalog = filterOptions.value.mediaType.split(",");
|
|
105
|
+
}
|
|
106
|
+
const filter = vue.ref(
|
|
107
|
+
JSON.parse(
|
|
108
|
+
JSON.stringify({
|
|
109
|
+
...originFilter,
|
|
110
|
+
catalog: ((_c = (_b = filterOptions == null ? void 0 : filterOptions.value) == null ? void 0 : _b.mediaType) == null ? void 0 : _c.split(",")) || []
|
|
111
|
+
})
|
|
112
|
+
)
|
|
113
|
+
);
|
|
103
114
|
const handleReset = () => {
|
|
104
115
|
filter.value = JSON.parse(JSON.stringify(originFilter));
|
|
105
116
|
};
|
|
@@ -178,27 +189,18 @@ const _sfc_main = vue.defineComponent({
|
|
|
178
189
|
}
|
|
179
190
|
}
|
|
180
191
|
emits("change", result);
|
|
181
|
-
refreshLayout();
|
|
182
192
|
},
|
|
183
193
|
{ deep: true, immediate: true }
|
|
184
194
|
);
|
|
185
195
|
vue.onMounted(() => {
|
|
186
|
-
var _a;
|
|
187
196
|
load();
|
|
188
|
-
if ((_a = filterOptions == null ? void 0 : filterOptions.value) == null ? void 0 : _a.mediaType) {
|
|
189
|
-
const initialCatalog = filterOptions.value.mediaType.split(",");
|
|
190
|
-
filter.value.catalog = initialCatalog;
|
|
191
|
-
if (filterOptions.value.mediaTypeStrict) {
|
|
192
|
-
originFilter.catalog = initialCatalog;
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
197
|
});
|
|
196
198
|
__expose({
|
|
197
199
|
filter,
|
|
198
200
|
handleReset
|
|
199
201
|
});
|
|
200
202
|
return (_ctx, _cache) => {
|
|
201
|
-
var
|
|
203
|
+
var _a2;
|
|
202
204
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
|
203
205
|
vue.createCommentVNode(" Use filterItemsRef's parentElement as the container for boundary checks "),
|
|
204
206
|
vue.createElementVNode("div", _hoisted_2, [
|
|
@@ -221,7 +223,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
221
223
|
}, {
|
|
222
224
|
default: vue.withCtx(() => [
|
|
223
225
|
vue.createElementVNode("span", _hoisted_4, [
|
|
224
|
-
_cache[
|
|
226
|
+
_cache[11] || (_cache[11] = vue.createTextVNode(" \u66F4\u591A ", -1)),
|
|
225
227
|
vue.createVNode(vue.unref(icon.IconCaretDown))
|
|
226
228
|
])
|
|
227
229
|
]),
|
|
@@ -254,16 +256,18 @@ const _sfc_main = vue.defineComponent({
|
|
|
254
256
|
}, {
|
|
255
257
|
content: vue.withCtx(() => [
|
|
256
258
|
vue.createVNode(vue.unref(webVue.Doption), { value: 0 }, {
|
|
257
|
-
default: vue.withCtx(() => _cache[
|
|
258
|
-
vue.createTextVNode("\u7CBE\u51C6\u641C")
|
|
259
|
+
default: vue.withCtx(() => _cache[12] || (_cache[12] = [
|
|
260
|
+
vue.createTextVNode("\u7CBE\u51C6\u641C", -1)
|
|
259
261
|
])),
|
|
260
|
-
_: 1
|
|
262
|
+
_: 1,
|
|
263
|
+
__: [12]
|
|
261
264
|
}),
|
|
262
265
|
vue.createVNode(vue.unref(webVue.Doption), { value: 1 }, {
|
|
263
|
-
default: vue.withCtx(() => _cache[
|
|
264
|
-
vue.createTextVNode("\u6A21\u7CCA\u641C")
|
|
266
|
+
default: vue.withCtx(() => _cache[13] || (_cache[13] = [
|
|
267
|
+
vue.createTextVNode("\u6A21\u7CCA\u641C", -1)
|
|
265
268
|
])),
|
|
266
|
-
_: 1
|
|
269
|
+
_: 1,
|
|
270
|
+
__: [13]
|
|
267
271
|
})
|
|
268
272
|
]),
|
|
269
273
|
default: vue.withCtx(() => [
|
|
@@ -292,15 +296,22 @@ const _sfc_main = vue.defineComponent({
|
|
|
292
296
|
title: "alias",
|
|
293
297
|
key: "id"
|
|
294
298
|
},
|
|
295
|
-
"allow-clear": ""
|
|
296
|
-
|
|
299
|
+
"allow-clear": "",
|
|
300
|
+
"allow-search": "",
|
|
301
|
+
"filter-tree-node": (searchValue, nodeData) => {
|
|
302
|
+
console.log(nodeData);
|
|
303
|
+
if (!nodeData.alias)
|
|
304
|
+
return false;
|
|
305
|
+
return nodeData.alias.toLowerCase().indexOf(searchValue.toLowerCase()) > -1;
|
|
306
|
+
}
|
|
307
|
+
}, null, 8, ["modelValue", "data", "filter-tree-node"])
|
|
297
308
|
]),
|
|
298
309
|
vue.createCommentVNode(" \u7D20\u6750\u7C7B\u578B "),
|
|
299
310
|
vue.createElementVNode("div", _hoisted_7, [
|
|
300
311
|
vue.createVNode(vue.unref(webVue.Select), {
|
|
301
312
|
modelValue: filter.value.catalog,
|
|
302
313
|
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => filter.value.catalog = $event),
|
|
303
|
-
disabled: (
|
|
314
|
+
disabled: (_a2 = vue.unref(filterOptions)) == null ? void 0 : _a2.mediaTypeStrict,
|
|
304
315
|
"popup-container": "#resource-filter-pannel",
|
|
305
316
|
"allow-clear": "",
|
|
306
317
|
placeholder: "\u7C7B\u578B",
|
|
@@ -378,30 +389,52 @@ const _sfc_main = vue.defineComponent({
|
|
|
378
389
|
vue.createElementVNode("div", _hoisted_11, [
|
|
379
390
|
vue.createCommentVNode(" \u91CD\u7F6E\u6309\u94AE - Wrap in filter-item to be managed by the hook "),
|
|
380
391
|
vue.withDirectives(vue.createElementVNode("div", _hoisted_12, [
|
|
381
|
-
vue.
|
|
392
|
+
_ctx.smallScreen ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Button), {
|
|
393
|
+
key: 0,
|
|
382
394
|
type: "text",
|
|
383
395
|
onClick: handleReset
|
|
384
396
|
}, {
|
|
385
|
-
|
|
386
|
-
vue.
|
|
387
|
-
])
|
|
397
|
+
icon: vue.withCtx(() => [
|
|
398
|
+
vue.createVNode(vue.unref(icon.IconRefresh))
|
|
399
|
+
]),
|
|
388
400
|
_: 1
|
|
389
|
-
})
|
|
401
|
+
})) : (vue.openBlock(), vue.createBlock(vue.unref(webVue.Button), {
|
|
402
|
+
key: 1,
|
|
403
|
+
type: "text",
|
|
404
|
+
onClick: handleReset
|
|
405
|
+
}, {
|
|
406
|
+
default: vue.withCtx(() => _cache[14] || (_cache[14] = [
|
|
407
|
+
vue.createTextVNode(" \u91CD\u7F6E ", -1)
|
|
408
|
+
])),
|
|
409
|
+
_: 1,
|
|
410
|
+
__: [14]
|
|
411
|
+
}))
|
|
390
412
|
], 512), [
|
|
391
413
|
[vue.vShow, !isEmpty.value]
|
|
392
414
|
]),
|
|
393
|
-
vue.
|
|
415
|
+
_ctx.smallScreen ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Button), {
|
|
416
|
+
key: 0,
|
|
394
417
|
type: "primary",
|
|
395
418
|
onClick: _cache[9] || (_cache[9] = ($event) => emits("upload"))
|
|
419
|
+
}, {
|
|
420
|
+
icon: vue.withCtx(() => [
|
|
421
|
+
vue.createVNode(vue.unref(icon.IconUpload))
|
|
422
|
+
]),
|
|
423
|
+
_: 1
|
|
424
|
+
})) : (vue.openBlock(), vue.createBlock(vue.unref(webVue.Button), {
|
|
425
|
+
key: 1,
|
|
426
|
+
type: "primary",
|
|
427
|
+
onClick: _cache[10] || (_cache[10] = ($event) => emits("upload"))
|
|
396
428
|
}, {
|
|
397
429
|
icon: vue.withCtx(() => [
|
|
398
430
|
vue.createVNode(vue.unref(icon.IconUpload))
|
|
399
431
|
]),
|
|
400
432
|
default: vue.withCtx(() => [
|
|
401
|
-
_cache[
|
|
433
|
+
_cache[15] || (_cache[15] = vue.createTextVNode(" \u4E0A\u4F20 ", -1))
|
|
402
434
|
]),
|
|
403
|
-
_: 1
|
|
404
|
-
|
|
435
|
+
_: 1,
|
|
436
|
+
__: [15]
|
|
437
|
+
}))
|
|
405
438
|
])
|
|
406
439
|
]),
|
|
407
440
|
searchInput.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_13, [
|
|
@@ -28,14 +28,14 @@ const _sfc_main = vue.defineComponent({
|
|
|
28
28
|
} = useAttachement["default"]({ key: props.activeKey, BASE_API });
|
|
29
29
|
vue.watch(() => props.activeKey, changeKey);
|
|
30
30
|
const listWrapper = vue.ref(null);
|
|
31
|
-
const
|
|
31
|
+
const smallScreen = vue.ref(false);
|
|
32
32
|
vue.watch(
|
|
33
33
|
() => {
|
|
34
34
|
var _a;
|
|
35
35
|
return (_a = listWrapper.value) == null ? void 0 : _a.offsetWidth;
|
|
36
36
|
},
|
|
37
37
|
(val) => {
|
|
38
|
-
|
|
38
|
+
smallScreen.value = !!(val && val < 600);
|
|
39
39
|
},
|
|
40
40
|
{ immediate: true }
|
|
41
41
|
);
|
|
@@ -52,9 +52,10 @@ const _sfc_main = vue.defineComponent({
|
|
|
52
52
|
]),
|
|
53
53
|
header: vue.withCtx(() => [
|
|
54
54
|
vue.createVNode(Filter, {
|
|
55
|
+
smallScreen: smallScreen.value,
|
|
55
56
|
onChange: vue.unref(changeFilter),
|
|
56
57
|
onUpload: _cache[0] || (_cache[0] = ($event) => emits("change-tab", "local"))
|
|
57
|
-
}, null, 8, ["onChange"])
|
|
58
|
+
}, null, 8, ["smallScreen", "onChange"])
|
|
58
59
|
]),
|
|
59
60
|
footer: vue.withCtx(() => [
|
|
60
61
|
vue.createVNode(vue.unref(webVue.Pagination), {
|
|
@@ -63,7 +64,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
63
64
|
total: vue.unref(total),
|
|
64
65
|
"page-size": vue.unref(limit),
|
|
65
66
|
"show-total": "",
|
|
66
|
-
"show-page-size":
|
|
67
|
+
"show-page-size": !smallScreen.value,
|
|
67
68
|
"base-size": 3,
|
|
68
69
|
"buffer-size": 1,
|
|
69
70
|
onChange: _cache[2] || (_cache[2] = (e) => vue.unref(changePage)((e - 1) * vue.unref(limit))),
|
|
@@ -129,9 +129,10 @@ const _sfc_main = vue.defineComponent({
|
|
|
129
129
|
onClick: handleReset
|
|
130
130
|
}, {
|
|
131
131
|
default: vue.withCtx(() => _cache[3] || (_cache[3] = [
|
|
132
|
-
vue.createTextVNode(" \u91CD\u7F6E ")
|
|
132
|
+
vue.createTextVNode(" \u91CD\u7F6E ", -1)
|
|
133
133
|
])),
|
|
134
|
-
_: 1
|
|
134
|
+
_: 1,
|
|
135
|
+
__: [3]
|
|
135
136
|
})) : vue.createCommentVNode("v-if", true)
|
|
136
137
|
])
|
|
137
138
|
])
|
|
@@ -57,7 +57,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
57
57
|
onClick: loadMore
|
|
58
58
|
}, _cache[0] || (_cache[0] = [
|
|
59
59
|
vue.createElementVNode("img", { src: sys_load_more }, null, -1),
|
|
60
|
-
vue.createTextVNode(" \u70B9\u51FB\u52A0\u8F7D\u66F4\u591A ")
|
|
60
|
+
vue.createTextVNode(" \u70B9\u51FB\u52A0\u8F7D\u66F4\u591A ", -1)
|
|
61
61
|
]))) : vue.createCommentVNode("v-if", true)
|
|
62
62
|
])
|
|
63
63
|
], 2112);
|
|
@@ -69,7 +69,7 @@ function useResponsiveFilter(filterItemsRef) {
|
|
|
69
69
|
if (!item || !item.classList || !item.classList.contains("filter-item"))
|
|
70
70
|
continue;
|
|
71
71
|
const itemRect = getRect(item);
|
|
72
|
-
if (itemRect.right > containerRight -
|
|
72
|
+
if (itemRect.right > containerRight - 400) {
|
|
73
73
|
hideElement(item);
|
|
74
74
|
} else {
|
|
75
75
|
currentRightmostBoundary = Math.max(
|
|
@@ -172,6 +172,7 @@
|
|
|
172
172
|
}
|
|
173
173
|
.resource-list-footer,
|
|
174
174
|
.resource-list-header,
|
|
175
|
+
.resource-list-content .resource-list-content-empty,
|
|
175
176
|
.resource-list-content .arco-scrollbar-container {
|
|
176
177
|
padding: 0 40px;
|
|
177
178
|
}
|
|
@@ -347,3 +348,8 @@
|
|
|
347
348
|
.resource-select-container .resource-select-header .arco-tabs-content {
|
|
348
349
|
display: none !important;
|
|
349
350
|
}
|
|
351
|
+
.resource-select-container .resource-list-content .resource-list-content-empty {
|
|
352
|
+
box-sizing: border-box;
|
|
353
|
+
width: 100%;
|
|
354
|
+
height: 100%;
|
|
355
|
+
}
|
|
@@ -1,46 +1,55 @@
|
|
|
1
|
-
@import './listSelected.less';
|
|
2
|
-
@import './listCardWrapper.less';
|
|
3
|
-
@import './list.less';
|
|
4
|
-
|
|
5
|
-
.resource-select-wrap {
|
|
6
|
-
width: 100%;
|
|
7
|
-
height: 100%;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.resource-select-modal-body {
|
|
11
|
-
height: 80vh;
|
|
12
|
-
padding: 0;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.resource-select-main {
|
|
16
|
-
height: 100%;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.resource-select-drawer {
|
|
20
|
-
.arco-drawer-body {
|
|
21
|
-
box-sizing: border-box;
|
|
22
|
-
padding: 0;
|
|
23
|
-
overflow: hidden;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.resource-select-container {
|
|
28
|
-
display: flex;
|
|
29
|
-
flex-direction: column;
|
|
30
|
-
gap: 10px;
|
|
31
|
-
box-sizing: border-box;
|
|
32
|
-
height: 100%;
|
|
33
|
-
|
|
34
|
-
// 头部 tab 样式
|
|
35
|
-
.resource-select-header {
|
|
36
|
-
padding: 10px 24px 0 24px;
|
|
37
|
-
|
|
38
|
-
.arco-tabs-nav::before {
|
|
39
|
-
display: none;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.arco-tabs-content {
|
|
43
|
-
display: none !important;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
|
|
1
|
+
@import './listSelected.less';
|
|
2
|
+
@import './listCardWrapper.less';
|
|
3
|
+
@import './list.less';
|
|
4
|
+
|
|
5
|
+
.resource-select-wrap {
|
|
6
|
+
width: 100%;
|
|
7
|
+
height: 100%;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.resource-select-modal-body {
|
|
11
|
+
height: 80vh;
|
|
12
|
+
padding: 0;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.resource-select-main {
|
|
16
|
+
height: 100%;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.resource-select-drawer {
|
|
20
|
+
.arco-drawer-body {
|
|
21
|
+
box-sizing: border-box;
|
|
22
|
+
padding: 0;
|
|
23
|
+
overflow: hidden;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.resource-select-container {
|
|
28
|
+
display: flex;
|
|
29
|
+
flex-direction: column;
|
|
30
|
+
gap: 10px;
|
|
31
|
+
box-sizing: border-box;
|
|
32
|
+
height: 100%;
|
|
33
|
+
|
|
34
|
+
// 头部 tab 样式
|
|
35
|
+
.resource-select-header {
|
|
36
|
+
padding: 10px 24px 0 24px;
|
|
37
|
+
|
|
38
|
+
.arco-tabs-nav::before {
|
|
39
|
+
display: none;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.arco-tabs-content {
|
|
43
|
+
display: none !important;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
// 内容区域样式
|
|
48
|
+
.resource-list-content {
|
|
49
|
+
.resource-list-content-empty {
|
|
50
|
+
box-sizing: border-box;
|
|
51
|
+
width: 100%;
|
|
52
|
+
height: 100%;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|