@cmstops/pro-compo 3.9.2 → 3.10.5-stable.1
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 +103 -76
- package/dist/index.css +97 -4
- package/dist/index.min.css +1 -1
- package/dist/index.min.js.map +1 -1
- package/es/appCenter/script/api.d.ts +5 -5
- package/es/baseFilter/component.js +71 -14
- package/es/baseFilter/components/FilterGroup.js +1 -1
- package/es/baseFilter/components/filterItem.js +1 -1
- package/es/colorPalette/component.js +1 -1
- package/es/contentDetailList/component.js +33 -9
- package/es/contentDetailList/components/Content/CompoItem/index.js +12 -12
- package/es/contentDetailList/components/Content/ContentListItem/index.js +15 -15
- package/es/contentDetailList/components/Content/DocItem/ApprovalStateMap/index.js +18 -18
- package/es/contentDetailList/components/Content/DocItem/index.js +27 -27
- package/es/contentDetailList/components/Content/DocMpItem/index.js +13 -13
- package/es/contentDetailList/components/Content/GroupPieceItem/index.js +11 -11
- package/es/contentDetailList/components/Content/KongoNavItem/index.js +14 -14
- package/es/contentDetailList/components/Content/LiveItem/index.js +9 -9
- package/es/contentDetailList/components/Content/MaccountItem/index.js +12 -12
- package/es/contentDetailList/components/Content/courseItem/index.js +10 -10
- package/es/contentDetailList/components/Content/funhdItem/index.js +10 -10
- package/es/contentDetailList/components/Content/index.js +118 -117
- package/es/contentDetailList/components/CustomWrp/CustomItem.js +5 -5
- package/es/contentDetailList/components/CustomWrp/index.js +10 -10
- package/es/contentDetailList/components/Doc/index.js +16 -10
- package/es/contentDetailList/components/Records/MatrixItem/index.js +22 -22
- package/es/contentDetailList/components/Records/index.js +8 -8
- package/es/contentDetailList/components/ShowQRCode/QrcodeView/index.js +6 -6
- package/es/contentDetailList/components/ShowQRCode/index.js +1 -1
- package/es/contentDetailList/script/api.d.ts +2 -2
- package/es/contentModal/component.js +40 -40
- package/es/contentModal/components/CompoList/index.js +1 -1
- package/es/contentModal/components/Dejin/index.js +1 -1
- package/es/contentModal/components/MpContentList/MediaFilter/index.js +2 -2
- package/es/contentModal/components/MpContentList/index.js +1 -1
- package/es/contentModal/components/ViewAllColumn/MediaFilter/index.js +3 -3
- package/es/contentModal/components/ViewAllColumn/index.js +7 -3
- package/es/contentModal/components/storeBox/index.js +8 -8
- package/es/contentModal/script/api.d.ts +13 -13
- package/es/dataTags/component.js +38 -38
- package/es/docHistory/component.js +44 -15
- package/es/docHistory/components/DocDiffPanel/index.js +2 -2
- package/es/docHistory/components/DocHistoryList/index.js +2 -2
- package/es/docHistory/scripts/diff.js +4 -3
- package/es/docHistory/scripts/useDocHistory.d.ts +1 -1
- package/es/docHistory/style/index.css +4 -0
- package/es/docHistory/style/index.less +5 -0
- package/es/docPreview/component.js +228 -60
- package/es/docPreview/components/PreviewIframe.js +37 -6
- package/es/docPreview/images/pc.js +2 -0
- package/es/docPreview/scripts/api.d.ts +2 -1
- package/es/docPreview/scripts/hook.d.ts +11 -1
- package/es/docPreview/scripts/hook.js +115 -4
- package/es/docPreview/style/index.css +48 -0
- package/es/docPreview/style/index.less +23 -0
- package/es/docPreview/style/previewIframe.less +31 -0
- package/es/editMetaInfo/components/metaInfoForm.js +11 -11
- package/es/editMetaInfo/script/api.d.ts +2 -2
- package/es/emptyData/component.js +4 -4
- package/es/emptyData/svg/acount.js +2 -2
- 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 -1
- package/es/hooks/source.d.ts +1 -1
- package/es/hooks/useAttachement.d.ts +32 -13
- package/es/hooks/useAttachement.js +42 -2
- package/es/hooks/usePopper.d.ts +1 -1
- package/es/hooks/usePopper.js +3 -3
- package/es/hooks/useUpload.d.ts +53 -5
- package/es/hooks/useUpload.js +43 -4
- package/es/hooks/user.d.ts +1 -1
- package/es/imageCrop/component.js +11 -11
- package/es/imageCrop/script/api.d.ts +1 -1
- package/es/importData/component.js +13 -13
- package/es/index.css +97 -4
- package/es/index.d.ts +1 -0
- package/es/index.js +1 -0
- package/es/mediaFilter/component.js +4 -4
- package/es/mediaFilter/components/DocFilter.js +1 -1
- package/es/mediaFilter/components/FilterGroup.js +1 -1
- package/es/mediaFilter/components/FilterItem.js +1 -1
- package/es/mediaView/component.js +8 -8
- package/es/messageBox/component.js +3 -3
- package/es/messageBox/script/api.d.ts +2 -2
- package/es/previousVersion/script/api.d.ts +4 -4
- package/es/resourceGridList/component.js +16 -16
- package/es/resourceGridList/components/FileTypeThumb/index.js +6 -6
- package/es/resourceModal/component.js +7 -7
- package/es/resourceModal/components/MediaPreviewer/index.js +8 -8
- package/es/resourceModal/components/MediaSelection/DocAiMediaSelected/index.js +5 -5
- package/es/resourceModal/components/MediaSelection/MainContent/FileTypeThumb/index.js +6 -6
- package/es/resourceModal/components/MediaSelection/MainContent/index.js +18 -18
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.js +3 -3
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.js +3 -3
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/index.js +2 -2
- package/es/resourceModal/components/MediaSelection/ToolbarSearch/index.js +4 -4
- package/es/resourceModal/components/MediaSelection/index.js +6 -6
- package/es/resourceModal/script/api.d.ts +11 -11
- package/es/selectAddTo/component.d.ts +0 -0
- 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.d.ts +0 -0
- package/es/selectAddTo/components/SelectAddToView.js +90 -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.d.ts +0 -0
- package/es/selectAddTo/components/ViewAllColumn/MediaFilter/index.js +166 -0
- package/es/selectAddTo/components/ViewAllColumn/index.d.ts +0 -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.d.ts +6 -0
- package/es/selectAddTo/components/ViewAllColumn/script/useTableColumns.js +102 -0
- package/es/selectAddTo/components/ViewAllColumn/script/useViewAllColumnState.d.ts +144 -0
- package/es/selectAddTo/components/ViewAllColumn/script/useViewAllColumnState.js +182 -0
- package/es/selectAddTo/components/ViewAllColumn/types/index.d.ts +55 -0
- package/es/selectAddTo/index.d.ts +2 -0
- package/es/selectAddTo/index.js +7 -0
- package/es/selectAddTo/script/api.d.ts +18 -0
- package/es/selectAddTo/script/api.js +23 -0
- package/es/selectAddTo/script/index.d.ts +2 -0
- package/es/selectAddTo/script/useSelectAddToState.d.ts +13 -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.d.ts +1 -0
- package/es/selectAddTo/style/index.js +1 -0
- package/es/selectAddTo/style/index.less +3 -0
- package/es/selectAddTo/types/index.d.ts +37 -0
- package/es/selectGategory/component.js +5 -5
- package/es/selectGategory/components/ColumnSelection/index.js +6 -6
- package/es/selectGategory/script/api.d.ts +2 -2
- package/es/selectResourceModal/__demo__/module/DivWrapper.d.ts +261 -0
- package/es/selectResourceModal/__demo__/module/basic.d.ts +292 -0
- package/es/selectResourceModal/component.js +26 -34
- package/es/selectResourceModal/components/List/ListCardWrapper.js +6 -6
- package/es/selectResourceModal/components/List/ListLocal/Upload.js +1 -1
- package/es/selectResourceModal/components/List/ListLocal/index.js +8 -3
- package/es/selectResourceModal/components/List/ListNormal/Filter.js +210 -83
- package/es/selectResourceModal/components/List/ListNormal/index.js +23 -7
- package/es/selectResourceModal/components/List/ListSystem/Filter.js +3 -3
- package/es/selectResourceModal/components/List/ListSystem/SubList.js +3 -3
- package/es/selectResourceModal/components/List/ListSystem/index.js +2 -2
- package/es/selectResourceModal/components/List/ListWraper.js +2 -2
- package/es/selectResourceModal/components/ListSelected/index.js +6 -6
- package/es/selectResourceModal/components/ListTabs/index.js +1 -1
- package/es/selectResourceModal/hooks/useResponsiveFilter.d.ts +21 -0
- package/es/selectResourceModal/hooks/useResponsiveFilter.js +142 -0
- package/es/selectResourceModal/scripts/selectionApis.d.ts +2 -2
- package/es/selectResourceModal/scripts/useCompoLf.js +1 -1
- package/es/selectResourceModal/scripts/useTabFilter.js +1 -11
- package/es/selectResourceModal/style/index.css +45 -4
- package/es/selectResourceModal/style/index.less +14 -0
- package/es/selectResourceModal/style/list.less +40 -4
- package/es/selectThumb/component.js +76 -33
- package/es/selectThumb/components/card.js +3 -3
- package/es/style.css +63 -0
- package/es/thumbCard/component.js +7 -7
- package/es/thumbCard/components/ThumbUploading/index.js +3 -3
- package/es/typeIcons/component.js +1 -1
- package/es/uploadBefore/component.js +1 -1
- package/es/uploadBefore/components/UploadBefore.js +9 -9
- package/es/uploadBefore/script/api.d.ts +4 -4
- package/es/uploadStep/component.js +3 -3
- package/es/userAvater/component.js +3 -3
- package/es/userAvater/script/api.d.ts +4 -4
- package/es/userDirector/component.js +5 -5
- package/es/userDirector/components/userTree.js +2 -2
- package/es/userDirector/script/api.d.ts +6 -6
- package/es/utils/index.js +6 -6
- package/es/utils/request.d.ts +1 -1
- package/es/utils/transcodeMedia.d.ts +1 -1
- package/es/videoThumb/scripts/api.d.ts +1 -1
- package/lib/baseFilter/component.js +69 -12
- 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 +33 -9
- package/lib/contentDetailList/components/Content/CompoItem/index.js +12 -12
- package/lib/contentDetailList/components/Content/ContentListItem/index.js +15 -15
- package/lib/contentDetailList/components/Content/DocItem/ApprovalStateMap/index.js +18 -18
- package/lib/contentDetailList/components/Content/DocItem/index.js +27 -27
- package/lib/contentDetailList/components/Content/DocMpItem/index.js +13 -13
- package/lib/contentDetailList/components/Content/GroupPieceItem/index.js +11 -11
- package/lib/contentDetailList/components/Content/KongoNavItem/index.js +14 -14
- package/lib/contentDetailList/components/Content/LiveItem/index.js +9 -9
- package/lib/contentDetailList/components/Content/MaccountItem/index.js +12 -12
- package/lib/contentDetailList/components/Content/courseItem/index.js +10 -10
- package/lib/contentDetailList/components/Content/funhdItem/index.js +10 -10
- package/lib/contentDetailList/components/Content/index.js +118 -117
- package/lib/contentDetailList/components/CustomWrp/CustomItem.js +5 -5
- package/lib/contentDetailList/components/CustomWrp/index.js +10 -10
- package/lib/contentDetailList/components/Doc/index.js +16 -10
- 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 +6 -6
- package/lib/contentDetailList/components/ShowQRCode/index.js +1 -1
- package/lib/contentModal/component.js +40 -40
- 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 +3 -3
- package/lib/contentModal/components/ViewAllColumn/index.js +7 -3
- package/lib/contentModal/components/storeBox/index.js +8 -8
- package/lib/dataTags/component.js +38 -38
- package/lib/docHistory/component.js +42 -13
- package/lib/docHistory/components/DocDiffPanel/index.js +2 -2
- package/lib/docHistory/components/DocHistoryList/index.js +2 -2
- package/lib/docHistory/scripts/diff.js +4 -3
- package/lib/docHistory/style/index.css +4 -0
- package/lib/docHistory/style/index.less +5 -0
- package/lib/docPreview/component.js +227 -59
- package/lib/docPreview/components/PreviewIframe.js +37 -6
- package/lib/docPreview/images/pc.js +3 -0
- package/lib/docPreview/scripts/hook.js +115 -3
- package/lib/docPreview/style/index.css +48 -0
- package/lib/docPreview/style/index.less +23 -0
- package/lib/docPreview/style/previewIframe.less +31 -0
- package/lib/editMetaInfo/components/metaInfoForm.js +11 -11
- 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/hooks/useAttachement.js +42 -0
- package/lib/hooks/usePopper.js +3 -3
- package/lib/hooks/useUpload.js +43 -3
- package/lib/imageCrop/component.js +11 -11
- package/lib/importData/component.js +13 -13
- package/lib/index.css +97 -4
- package/lib/index.js +2 -0
- package/lib/mediaFilter/component.js +4 -4
- package/lib/mediaFilter/components/DocFilter.js +1 -1
- 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 +16 -16
- 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 +5 -5
- package/lib/resourceModal/components/MediaSelection/MainContent/FileTypeThumb/index.js +6 -6
- package/lib/resourceModal/components/MediaSelection/MainContent/index.js +18 -18
- 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/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 +91 -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/selectGategory/component.js +5 -5
- package/lib/selectGategory/components/ColumnSelection/index.js +6 -6
- package/lib/selectResourceModal/component.js +25 -33
- package/lib/selectResourceModal/components/List/ListCardWrapper.js +6 -6
- package/lib/selectResourceModal/components/List/ListLocal/Upload.js +1 -1
- package/lib/selectResourceModal/components/List/ListLocal/index.js +6 -1
- package/lib/selectResourceModal/components/List/ListNormal/Filter.js +207 -80
- package/lib/selectResourceModal/components/List/ListNormal/index.js +22 -6
- package/lib/selectResourceModal/components/List/ListSystem/Filter.js +3 -3
- 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/hooks/useResponsiveFilter.js +144 -0
- package/lib/selectResourceModal/scripts/useCompoLf.js +1 -1
- package/lib/selectResourceModal/scripts/useTabFilter.js +1 -13
- package/lib/selectResourceModal/style/index.css +45 -4
- package/lib/selectResourceModal/style/index.less +14 -0
- package/lib/selectResourceModal/style/list.less +40 -4
- package/lib/selectThumb/component.js +75 -32
- 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/typeIcons/component.js +1 -1
- 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 +3 -3
- package/lib/userDirector/component.js +5 -5
- package/lib/userDirector/components/userTree.js +2 -2
- package/lib/utils/index.js +6 -6
- package/package.json +1 -1
package/lib/index.css
CHANGED
|
@@ -4529,11 +4529,13 @@
|
|
|
4529
4529
|
}
|
|
4530
4530
|
.resource-list-footer,
|
|
4531
4531
|
.resource-list-header,
|
|
4532
|
+
.resource-list-content .resource-list-content-empty,
|
|
4532
4533
|
.resource-list-content .arco-scrollbar-container {
|
|
4533
4534
|
padding: 0 40px;
|
|
4534
4535
|
}
|
|
4535
4536
|
.resource-list-footer {
|
|
4536
4537
|
display: flex;
|
|
4538
|
+
flex-wrap: wrap;
|
|
4537
4539
|
justify-content: space-between;
|
|
4538
4540
|
padding-bottom: 20px;
|
|
4539
4541
|
}
|
|
@@ -4543,6 +4545,10 @@
|
|
|
4543
4545
|
gap: 10px;
|
|
4544
4546
|
align-items: center;
|
|
4545
4547
|
justify-content: flex-end;
|
|
4548
|
+
margin-top: 10px;
|
|
4549
|
+
}
|
|
4550
|
+
.resource-list-footer .footer-right .list-selected-wrapper {
|
|
4551
|
+
font-size: 12px;
|
|
4546
4552
|
}
|
|
4547
4553
|
.resource-list-content-loading {
|
|
4548
4554
|
display: flex;
|
|
@@ -4554,7 +4560,7 @@
|
|
|
4554
4560
|
.resource-list .list-item-grid {
|
|
4555
4561
|
display: grid;
|
|
4556
4562
|
grid-gap: 20px;
|
|
4557
|
-
grid-template-columns: repeat(
|
|
4563
|
+
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
|
|
4558
4564
|
}
|
|
4559
4565
|
.resource-list .list-content {
|
|
4560
4566
|
margin-top: 30px;
|
|
@@ -4597,7 +4603,8 @@
|
|
|
4597
4603
|
}
|
|
4598
4604
|
.resource-list .list-filter-wrapper .list-filter-tags {
|
|
4599
4605
|
display: flex;
|
|
4600
|
-
|
|
4606
|
+
flex-wrap: wrap;
|
|
4607
|
+
gap: 10px;
|
|
4601
4608
|
margin-top: 10px;
|
|
4602
4609
|
}
|
|
4603
4610
|
.resource-list .list-filter-wrapper .list-filter-tags .list-filter-tag {
|
|
@@ -4618,16 +4625,41 @@
|
|
|
4618
4625
|
justify-content: space-between;
|
|
4619
4626
|
}
|
|
4620
4627
|
.resource-list .list-filter-wrapper .list-filter .filter-list {
|
|
4628
|
+
position: relative;
|
|
4629
|
+
/** 给 popup 一个参考 */
|
|
4621
4630
|
display: flex;
|
|
4622
|
-
flex-wrap: wrap;
|
|
4623
|
-
gap: 10px;
|
|
4624
4631
|
}
|
|
4625
4632
|
.resource-list .list-filter-wrapper .list-filter .filter-list .filter-item {
|
|
4626
4633
|
width: 100px;
|
|
4634
|
+
margin-right: 10px;
|
|
4635
|
+
}
|
|
4636
|
+
.resource-list .list-filter-wrapper .list-filter .filter-list .arco-trigger-popup {
|
|
4637
|
+
z-index: 100000 !important;
|
|
4627
4638
|
}
|
|
4628
4639
|
.resource-list .list-filter-wrapper .list-filter .arco-input-prepend {
|
|
4629
4640
|
padding: 0;
|
|
4630
4641
|
}
|
|
4642
|
+
.resource-list .list-filter-wrapper .list-filter .more-btn {
|
|
4643
|
+
position: relative;
|
|
4644
|
+
/** 给 poperjs 一个参考 */
|
|
4645
|
+
}
|
|
4646
|
+
.resource-list .list-filter-wrapper .list-filter .more-btn .filter-pannel {
|
|
4647
|
+
inset: 40px auto auto auto !important;
|
|
4648
|
+
}
|
|
4649
|
+
.resource-list .list-filter-wrapper .filter-extra {
|
|
4650
|
+
display: flex;
|
|
4651
|
+
gap: 10px;
|
|
4652
|
+
}
|
|
4653
|
+
.resource-list .list-filter-wrapper .filter-pannel {
|
|
4654
|
+
z-index: 100000;
|
|
4655
|
+
display: flex;
|
|
4656
|
+
flex-direction: column;
|
|
4657
|
+
gap: 10px;
|
|
4658
|
+
padding: 10px;
|
|
4659
|
+
background-color: #fff;
|
|
4660
|
+
border-radius: 4px;
|
|
4661
|
+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
|
|
4662
|
+
}
|
|
4631
4663
|
.resource-list .title {
|
|
4632
4664
|
display: flex;
|
|
4633
4665
|
gap: 8px;
|
|
@@ -4641,6 +4673,10 @@
|
|
|
4641
4673
|
height: 16px;
|
|
4642
4674
|
background-color: #4886ff;
|
|
4643
4675
|
}
|
|
4676
|
+
.resource-select-wrap {
|
|
4677
|
+
width: 100%;
|
|
4678
|
+
height: 100%;
|
|
4679
|
+
}
|
|
4644
4680
|
.resource-select-modal-body {
|
|
4645
4681
|
height: 80vh;
|
|
4646
4682
|
padding: 0;
|
|
@@ -4669,6 +4705,11 @@
|
|
|
4669
4705
|
.resource-select-container .resource-select-header .arco-tabs-content {
|
|
4670
4706
|
display: none !important;
|
|
4671
4707
|
}
|
|
4708
|
+
.resource-select-container .resource-list-content .resource-list-content-empty {
|
|
4709
|
+
box-sizing: border-box;
|
|
4710
|
+
width: 100%;
|
|
4711
|
+
height: 100%;
|
|
4712
|
+
}
|
|
4672
4713
|
.iframe-container {
|
|
4673
4714
|
position: relative;
|
|
4674
4715
|
height: 95vh;
|
|
@@ -4701,6 +4742,33 @@
|
|
|
4701
4742
|
border: none;
|
|
4702
4743
|
outline: none;
|
|
4703
4744
|
}
|
|
4745
|
+
.iframe-container-pc {
|
|
4746
|
+
position: relative;
|
|
4747
|
+
height: 95vh;
|
|
4748
|
+
overflow: hidden;
|
|
4749
|
+
aspect-ratio: 1920 / 1080;
|
|
4750
|
+
}
|
|
4751
|
+
.iframe-container-pc img {
|
|
4752
|
+
position: absolute;
|
|
4753
|
+
width: 100%;
|
|
4754
|
+
height: 100%;
|
|
4755
|
+
}
|
|
4756
|
+
.iframe-container-pc .iframe-content-pc {
|
|
4757
|
+
position: absolute;
|
|
4758
|
+
top: 70px;
|
|
4759
|
+
left: 56px;
|
|
4760
|
+
width: calc(100% - 106px);
|
|
4761
|
+
height: calc(100% - 140px);
|
|
4762
|
+
overflow: hidden;
|
|
4763
|
+
background-color: white;
|
|
4764
|
+
border-radius: 15px;
|
|
4765
|
+
}
|
|
4766
|
+
.iframe-container-pc iframe {
|
|
4767
|
+
width: 100%;
|
|
4768
|
+
height: 100%;
|
|
4769
|
+
border: none;
|
|
4770
|
+
outline: none;
|
|
4771
|
+
}
|
|
4704
4772
|
.doc-preview-container {
|
|
4705
4773
|
position: fixed;
|
|
4706
4774
|
top: 0;
|
|
@@ -4818,6 +4886,27 @@
|
|
|
4818
4886
|
font-size: 20px;
|
|
4819
4887
|
cursor: pointer;
|
|
4820
4888
|
}
|
|
4889
|
+
.v-bottom {
|
|
4890
|
+
position: absolute;
|
|
4891
|
+
bottom: 24px;
|
|
4892
|
+
left: 100%;
|
|
4893
|
+
z-index: 999;
|
|
4894
|
+
width: 100%;
|
|
4895
|
+
color: #fff;
|
|
4896
|
+
font-size: 12px;
|
|
4897
|
+
transform: translateX(-60%);
|
|
4898
|
+
}
|
|
4899
|
+
.v-bottom span {
|
|
4900
|
+
width: 120px;
|
|
4901
|
+
height: 42px;
|
|
4902
|
+
margin-right: 16px;
|
|
4903
|
+
padding: 10px 16px;
|
|
4904
|
+
font-size: 12px;
|
|
4905
|
+
background: rgba(216, 216, 216, 0.05);
|
|
4906
|
+
background-color: #00000068;
|
|
4907
|
+
border-radius: 6px;
|
|
4908
|
+
opacity: 1;
|
|
4909
|
+
}
|
|
4821
4910
|
.doc-diff-panel-wrap {
|
|
4822
4911
|
box-sizing: border-box;
|
|
4823
4912
|
width: 100% !important;
|
|
@@ -4925,6 +5014,10 @@
|
|
|
4925
5014
|
.doc-history-drawer .arco-drawer-footer {
|
|
4926
5015
|
text-align: left;
|
|
4927
5016
|
}
|
|
5017
|
+
.doc-history-modal-wrap {
|
|
5018
|
+
height: 70vh;
|
|
5019
|
+
padding: 0;
|
|
5020
|
+
}
|
|
4928
5021
|
.video-thumb {
|
|
4929
5022
|
display: flex;
|
|
4930
5023
|
flex-direction: column;
|
package/lib/index.js
CHANGED
|
@@ -30,6 +30,7 @@ var index$p = require("./docPreview/index.js");
|
|
|
30
30
|
var index$q = require("./docHistory/index.js");
|
|
31
31
|
var index$r = require("./videoThumb/index.js");
|
|
32
32
|
var index$s = require("./importData/index.js");
|
|
33
|
+
var index$t = require("./selectAddTo/index.js");
|
|
33
34
|
exports["default"] = components;
|
|
34
35
|
exports.appCenter = index;
|
|
35
36
|
exports.messageBox = index$1;
|
|
@@ -60,3 +61,4 @@ exports.docPreview = index$p;
|
|
|
60
61
|
exports.docHistory = index$q;
|
|
61
62
|
exports.videoThumb = index$r;
|
|
62
63
|
exports.importData = index$s;
|
|
64
|
+
exports.selectAddTo = index$t;
|
|
@@ -28,10 +28,10 @@ const _sfc_main = vue.defineComponent({
|
|
|
28
28
|
}
|
|
29
29
|
return (_ctx, _cache) => {
|
|
30
30
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
|
31
|
-
|
|
31
|
+
__props.filterType === "DOC" ? (vue.openBlock(), vue.createBlock(DocFilter, {
|
|
32
32
|
key: 0,
|
|
33
|
-
"filter-keys":
|
|
34
|
-
"filter-type":
|
|
33
|
+
"filter-keys": __props.docFilterKeys,
|
|
34
|
+
"filter-type": __props.docFilterType,
|
|
35
35
|
onSearch: handleFilterSearch,
|
|
36
36
|
onChange: handleFilterChange
|
|
37
37
|
}, {
|
|
@@ -39,7 +39,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
39
39
|
vue.renderSlot(_ctx.$slots, "right")
|
|
40
40
|
]),
|
|
41
41
|
_: 3
|
|
42
|
-
}, 8, ["filter-keys", "filter-type"])) :
|
|
42
|
+
}, 8, ["filter-keys", "filter-type"])) : __props.filterType === "MEDIA" ? (vue.openBlock(), vue.createBlock(MediaFilter, { key: 1 })) : __props.filterType === "MP_ACOUNT" ? (vue.openBlock(), vue.createBlock(MpAccountFilter, { key: 2 })) : __props.filterType === "MP_CONTENT" ? (vue.openBlock(), vue.createBlock(MpContentFilter, { key: 3 })) : vue.createCommentVNode("v-if", true)
|
|
43
43
|
]);
|
|
44
44
|
};
|
|
45
45
|
}
|
|
@@ -183,7 +183,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
183
183
|
vue.createVNode(vue.unref(icon.IconRefresh))
|
|
184
184
|
]),
|
|
185
185
|
default: vue.withCtx(() => [
|
|
186
|
-
_cache[3] || (_cache[3] = vue.createTextVNode(" \u91CD\u7F6E "))
|
|
186
|
+
_cache[3] || (_cache[3] = vue.createTextVNode(" \u91CD\u7F6E ", -1))
|
|
187
187
|
]),
|
|
188
188
|
_: 1
|
|
189
189
|
})) : vue.createCommentVNode("v-if", true)
|
|
@@ -147,7 +147,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
147
147
|
}, {
|
|
148
148
|
default: vue.withCtx(() => [
|
|
149
149
|
vue.createElementVNode("span", _hoisted_4, [
|
|
150
|
-
_cache[0] || (_cache[0] = vue.createTextVNode(" \u66F4\u591A\u7B5B\u9009 ")),
|
|
150
|
+
_cache[0] || (_cache[0] = vue.createTextVNode(" \u66F4\u591A\u7B5B\u9009 ", -1)),
|
|
151
151
|
vue.createVNode(vue.unref(icon.IconCaretDown))
|
|
152
152
|
])
|
|
153
153
|
]),
|
|
@@ -92,7 +92,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
92
92
|
vue.withDirectives(vue.createVNode(vue.unref(webVue.Button), { type: "secondary" }, {
|
|
93
93
|
default: vue.withCtx(() => [
|
|
94
94
|
vue.createElementVNode("span", _hoisted_5, [
|
|
95
|
-
vue.createTextVNode(vue.toDisplayString(
|
|
95
|
+
vue.createTextVNode(vue.toDisplayString(__props.label) + " ", 1),
|
|
96
96
|
vue.createVNode(vue.unref(icon.IconCaretDown))
|
|
97
97
|
])
|
|
98
98
|
]),
|
|
@@ -29,7 +29,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
29
29
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
30
30
|
vue.createVNode(vue.unref(webVue.ImagePreview), {
|
|
31
31
|
visible: imageVisible.value,
|
|
32
|
-
src:
|
|
32
|
+
src: __props.url,
|
|
33
33
|
onClose: closePreviewer
|
|
34
34
|
}, null, 8, ["visible", "src"]),
|
|
35
35
|
vue.withDirectives(vue.createElementVNode("div", _hoisted_1, [
|
|
@@ -40,22 +40,22 @@ const _sfc_main = vue.defineComponent({
|
|
|
40
40
|
vue.createVNode(vue.unref(icon.IconClose))
|
|
41
41
|
]),
|
|
42
42
|
vue.createElementVNode("div", _hoisted_2, [
|
|
43
|
-
|
|
43
|
+
__props.type === "video" ? (vue.openBlock(), vue.createElementBlock("video", {
|
|
44
44
|
key: 0,
|
|
45
45
|
class: "video",
|
|
46
46
|
controls: "",
|
|
47
|
-
src:
|
|
48
|
-
}, null, 8, _hoisted_3)) :
|
|
47
|
+
src: __props.url
|
|
48
|
+
}, null, 8, _hoisted_3)) : __props.type === "audio" ? (vue.openBlock(), vue.createElementBlock("audio", {
|
|
49
49
|
key: 1,
|
|
50
50
|
class: "audio",
|
|
51
51
|
controls: "",
|
|
52
|
-
src:
|
|
53
|
-
}, null, 8, _hoisted_4)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_5, _cache[0] || (_cache[0] = [
|
|
52
|
+
src: __props.url
|
|
53
|
+
}, null, 8, _hoisted_4)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_5, [..._cache[0] || (_cache[0] = [
|
|
54
54
|
vue.createElementVNode("span", { class: "text" }, "\u6682\u4E0D\u652F\u6301\u8BE5\u7C7B\u578B\u6587\u4EF6\u9884\u89C8", -1)
|
|
55
|
-
])))
|
|
55
|
+
])]))
|
|
56
56
|
])
|
|
57
57
|
], 512), [
|
|
58
|
-
[vue.vShow,
|
|
58
|
+
[vue.vShow, __props.type !== "image"]
|
|
59
59
|
])
|
|
60
60
|
], 64);
|
|
61
61
|
};
|
|
@@ -98,9 +98,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
98
98
|
vue.createVNode(vue.unref(webVue.Tabs), null, {
|
|
99
99
|
default: vue.withCtx(() => [
|
|
100
100
|
vue.withDirectives((vue.openBlock(), vue.createBlock(vue.unref(webVue.TabPane), { key: "1" }, {
|
|
101
|
-
title: vue.withCtx(() => _cache[2] || (_cache[2] = [
|
|
102
|
-
vue.createTextVNode("\u6D88\u606F")
|
|
103
|
-
])),
|
|
101
|
+
title: vue.withCtx(() => [..._cache[2] || (_cache[2] = [
|
|
102
|
+
vue.createTextVNode("\u6D88\u606F", -1)
|
|
103
|
+
])]),
|
|
104
104
|
default: vue.withCtx(() => [
|
|
105
105
|
unreadMessages.value.length === 0 ? (vue.openBlock(), vue.createBlock(list, {
|
|
106
106
|
key: 0,
|
|
@@ -79,9 +79,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
79
79
|
return [
|
|
80
80
|
vue.createElementVNode("div", _hoisted_1, [
|
|
81
81
|
vue.createCommentVNode(" \u6587\u4EF6\u5939 "),
|
|
82
|
-
|
|
82
|
+
__props.folderList ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", _hoisted_2, [
|
|
83
83
|
vue.createCommentVNode(" \u6587\u4EF6\u5939\u6570\u91CF<10 "),
|
|
84
|
-
!isFold.value ? (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 0 }, vue.renderList(
|
|
84
|
+
!isFold.value ? (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 0 }, vue.renderList(__props.folderList, (item, index2) => {
|
|
85
85
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
86
86
|
key: index2,
|
|
87
87
|
class: "item folder-item",
|
|
@@ -109,7 +109,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
109
109
|
], 8, _hoisted_3);
|
|
110
110
|
}), 128)) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
|
|
111
111
|
vue.createCommentVNode(" \u6587\u4EF6\u5939\u6570\u91CF>10 "),
|
|
112
|
-
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList((_a =
|
|
112
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList((_a = __props.folderList) == null ? void 0 : _a.slice(0, 9), (item, index2) => {
|
|
113
113
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
114
114
|
key: index2,
|
|
115
115
|
class: "item folder-item",
|
|
@@ -134,7 +134,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
134
134
|
], 8, _hoisted_5);
|
|
135
135
|
}), 128))
|
|
136
136
|
], 64)),
|
|
137
|
-
((_b =
|
|
137
|
+
((_b = __props.folderList) == null ? void 0 : _b.length) > 10 ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
138
138
|
key: 2,
|
|
139
139
|
class: "folder-more-button",
|
|
140
140
|
onClick: _cache[0] || (_cache[0] = ($event) => isFold.value = !isFold.value)
|
|
@@ -145,11 +145,11 @@ const _sfc_main = vue.defineComponent({
|
|
|
145
145
|
])
|
|
146
146
|
])) : vue.createCommentVNode("v-if", true)
|
|
147
147
|
], 512)), [
|
|
148
|
-
[vue.vShow, ((_c =
|
|
148
|
+
[vue.vShow, ((_c = __props.folderList) == null ? void 0 : _c.length) !== 0 && __props.showFolder]
|
|
149
149
|
]) : vue.createCommentVNode("v-if", true),
|
|
150
150
|
vue.createCommentVNode(" \u6587\u4EF6 "),
|
|
151
151
|
vue.createElementVNode("div", _hoisted_9, [
|
|
152
|
-
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(
|
|
152
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.fileList, (item, index$1) => {
|
|
153
153
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
154
154
|
key: index$1,
|
|
155
155
|
class: "item"
|
|
@@ -164,7 +164,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
164
164
|
}, [
|
|
165
165
|
vue.createVNode(index, {
|
|
166
166
|
"item-data": item,
|
|
167
|
-
preview:
|
|
167
|
+
preview: __props.preview,
|
|
168
168
|
onConfirm: _clickFileItem
|
|
169
169
|
}, null, 8, ["item-data", "preview"])
|
|
170
170
|
]),
|
|
@@ -200,34 +200,34 @@ const _sfc_main = vue.defineComponent({
|
|
|
200
200
|
effect: "dark",
|
|
201
201
|
placement: "bottom"
|
|
202
202
|
}, {
|
|
203
|
-
default: vue.withCtx(() => _cache[1] || (_cache[1] = [
|
|
203
|
+
default: vue.withCtx(() => [..._cache[1] || (_cache[1] = [
|
|
204
204
|
vue.createElementVNode("div", { class: "transcoding-in-progress grid-mode" }, [
|
|
205
205
|
vue.createElementVNode("div", { class: "transcoding-progress" }, "\u8F6C\u7801\u4E2D\u2026")
|
|
206
206
|
], -1)
|
|
207
|
-
])),
|
|
207
|
+
])]),
|
|
208
208
|
_: 1
|
|
209
209
|
})) : vue.createCommentVNode("v-if", true)
|
|
210
210
|
], 10, _hoisted_10)
|
|
211
211
|
]);
|
|
212
212
|
}), 128))
|
|
213
213
|
]),
|
|
214
|
-
|
|
215
|
-
!
|
|
214
|
+
__props.fileListCount ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_12, [
|
|
215
|
+
!__props.isOver ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Button), {
|
|
216
216
|
key: 0,
|
|
217
217
|
class: "loadmore_tips",
|
|
218
218
|
size: "small",
|
|
219
219
|
type: "text",
|
|
220
220
|
onClick: _loadFileMore
|
|
221
221
|
}, {
|
|
222
|
-
default: vue.withCtx(() => _cache[2] || (_cache[2] = [
|
|
223
|
-
vue.createTextVNode("\u52A0\u8F7D\u66F4\u591A\u2026 ")
|
|
224
|
-
])),
|
|
222
|
+
default: vue.withCtx(() => [..._cache[2] || (_cache[2] = [
|
|
223
|
+
vue.createTextVNode("\u52A0\u8F7D\u66F4\u591A\u2026 ", -1)
|
|
224
|
+
])]),
|
|
225
225
|
_: 1
|
|
226
226
|
})) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_13, "\u6CA1\u6709\u66F4\u591A\u4E86\u2026"))
|
|
227
227
|
])) : vue.createCommentVNode("v-if", true),
|
|
228
|
-
!((_d =
|
|
228
|
+
!((_d = __props.fileList) == null ? void 0 : _d.length) && !((_e = __props.folderList) == null ? void 0 : _e.length) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_14, [..._cache[3] || (_cache[3] = [
|
|
229
229
|
vue.createElementVNode("p", null, "\u6682\u65E0\u7D20\u6750", -1)
|
|
230
|
-
]))) : vue.createCommentVNode("v-if", true)
|
|
230
|
+
])])) : vue.createCommentVNode("v-if", true)
|
|
231
231
|
])
|
|
232
232
|
];
|
|
233
233
|
}),
|
|
@@ -103,24 +103,24 @@ const _sfc_main = vue.defineComponent({
|
|
|
103
103
|
return (_ctx, _cache) => {
|
|
104
104
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
105
105
|
vue.createElementVNode("div", _hoisted_1, [
|
|
106
|
-
|
|
106
|
+
__props.itemData.thumb ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
107
107
|
key: 0,
|
|
108
108
|
class: "pic",
|
|
109
|
-
style: vue.normalizeStyle({ "background-image": "url(" +
|
|
109
|
+
style: vue.normalizeStyle({ "background-image": "url(" + __props.itemData.thumb + ")" })
|
|
110
110
|
}, [
|
|
111
111
|
getRate.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2, vue.toDisplayString(getRate.value), 1)) : vue.createCommentVNode("v-if", true),
|
|
112
|
-
|
|
112
|
+
__props.itemData.source === "ai" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3, "AI\u751F\u6210")) : vue.createCommentVNode("v-if", true)
|
|
113
113
|
], 4)) : (vue.openBlock(), vue.createElementBlock("div", {
|
|
114
114
|
key: 1,
|
|
115
|
-
class: vue.normalizeClass(["pic", `${
|
|
115
|
+
class: vue.normalizeClass(["pic", `${__props.itemData.catalog} ${__props.itemData.series}`]),
|
|
116
116
|
style: vue.normalizeStyle(picStyle.value)
|
|
117
117
|
}, [
|
|
118
118
|
getRate.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4, vue.toDisplayString(getRate.value), 1)) : vue.createCommentVNode("v-if", true),
|
|
119
|
-
|
|
119
|
+
__props.itemData.source === "ai" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5, "AI\u751F\u6210")) : vue.createCommentVNode("v-if", true)
|
|
120
120
|
], 6)),
|
|
121
121
|
vue.createVNode(vue.Transition, { name: "el-fade-in" }, {
|
|
122
122
|
default: vue.withCtx(() => [
|
|
123
|
-
|
|
123
|
+
__props.preview ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6, [
|
|
124
124
|
vue.createElementVNode("span", {
|
|
125
125
|
class: "half",
|
|
126
126
|
onClick: vue.withModifiers(openPreview, ["stop"])
|
|
@@ -60,17 +60,17 @@ const _sfc_main = vue.defineComponent({
|
|
|
60
60
|
onOk: handleOk,
|
|
61
61
|
onCancel: handleCancel
|
|
62
62
|
}, {
|
|
63
|
-
title: vue.withCtx(() => _cache[1] || (_cache[1] = [
|
|
64
|
-
vue.createTextVNode("\u9009\u62E9\u7D20\u6750\u6765\u6E90")
|
|
65
|
-
])),
|
|
63
|
+
title: vue.withCtx(() => [..._cache[1] || (_cache[1] = [
|
|
64
|
+
vue.createTextVNode("\u9009\u62E9\u7D20\u6750\u6765\u6E90", -1)
|
|
65
|
+
])]),
|
|
66
66
|
default: vue.withCtx(() => [
|
|
67
67
|
vue.createVNode(index, {
|
|
68
68
|
"selected-max": selectedMax.value,
|
|
69
|
-
"catalog-props":
|
|
69
|
+
"catalog-props": __props.catalogProps,
|
|
70
70
|
BASE_API: vue.unref(BASE_API_R),
|
|
71
|
-
ai_static_covers:
|
|
72
|
-
ai_gif_covers:
|
|
73
|
-
preview:
|
|
71
|
+
ai_static_covers: __props.ai_static_covers,
|
|
72
|
+
ai_gif_covers: __props.ai_gif_covers,
|
|
73
|
+
preview: __props.preview,
|
|
74
74
|
onConfirm: submit,
|
|
75
75
|
onUpload: _cache[0] || (_cache[0] = (cb) => _ctx.$emit("upload", cb))
|
|
76
76
|
}, null, 8, ["selected-max", "catalog-props", "BASE_API", "ai_static_covers", "ai_gif_covers", "preview"])
|
|
@@ -29,7 +29,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
29
29
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
30
30
|
vue.createVNode(vue.unref(webVue.ImagePreview), {
|
|
31
31
|
visible: imageVisible.value,
|
|
32
|
-
src:
|
|
32
|
+
src: __props.url,
|
|
33
33
|
onClose: closePreviewer
|
|
34
34
|
}, null, 8, ["visible", "src"]),
|
|
35
35
|
vue.withDirectives(vue.createElementVNode("div", _hoisted_1, [
|
|
@@ -40,26 +40,26 @@ const _sfc_main = vue.defineComponent({
|
|
|
40
40
|
vue.createVNode(vue.unref(icon.IconClose))
|
|
41
41
|
]),
|
|
42
42
|
vue.createElementVNode("div", _hoisted_2, [
|
|
43
|
-
|
|
43
|
+
__props.type === "video" ? (vue.openBlock(), vue.createElementBlock("video", {
|
|
44
44
|
key: 0,
|
|
45
45
|
class: "video",
|
|
46
46
|
controls: "",
|
|
47
|
-
src:
|
|
48
|
-
}, null, 8, _hoisted_3)) :
|
|
47
|
+
src: __props.url
|
|
48
|
+
}, null, 8, _hoisted_3)) : __props.type === "audio" ? (vue.openBlock(), vue.createElementBlock("audio", {
|
|
49
49
|
key: 1,
|
|
50
50
|
class: "audio",
|
|
51
51
|
controls: "",
|
|
52
|
-
src:
|
|
53
|
-
}, null, 8, _hoisted_4)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_5, _cache[0] || (_cache[0] = [
|
|
52
|
+
src: __props.url
|
|
53
|
+
}, null, 8, _hoisted_4)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_5, [..._cache[0] || (_cache[0] = [
|
|
54
54
|
vue.createElementVNode("img", {
|
|
55
55
|
src: unknown,
|
|
56
56
|
alt: ""
|
|
57
57
|
}, null, -1),
|
|
58
58
|
vue.createElementVNode("span", { class: "text" }, "\u6682\u4E0D\u652F\u6301\u8BE5\u7C7B\u578B\u6587\u4EF6\u9884\u89C8", -1)
|
|
59
|
-
])))
|
|
59
|
+
])]))
|
|
60
60
|
])
|
|
61
61
|
], 512), [
|
|
62
|
-
[vue.vShow,
|
|
62
|
+
[vue.vShow, __props.type !== "image"]
|
|
63
63
|
])
|
|
64
64
|
], 64);
|
|
65
65
|
};
|
|
@@ -35,7 +35,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
35
35
|
return [
|
|
36
36
|
_cache[1] || (_cache[1] = vue.createElementVNode("div", { class: "thumb_type" }, "\u5C01\u9762\u56FE", -1)),
|
|
37
37
|
vue.createElementVNode("div", _hoisted_2, [
|
|
38
|
-
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(
|
|
38
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.ai_static_covers, (item) => {
|
|
39
39
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
40
40
|
key: item,
|
|
41
41
|
class: "thumb-wrap"
|
|
@@ -45,7 +45,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
45
45
|
class: vue.normalizeClass(["pic", { active: selectedUrl.value.includes(item) }])
|
|
46
46
|
}, [
|
|
47
47
|
vue.createVNode(index, {
|
|
48
|
-
preview:
|
|
48
|
+
preview: __props.preview,
|
|
49
49
|
"item-data": {
|
|
50
50
|
catalog: "image",
|
|
51
51
|
alias: item,
|
|
@@ -60,13 +60,13 @@ const _sfc_main = vue.defineComponent({
|
|
|
60
60
|
]);
|
|
61
61
|
}), 128))
|
|
62
62
|
]),
|
|
63
|
-
((_a =
|
|
63
|
+
((_a = __props.ai_gif_covers) == null ? void 0 : _a.length) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4, [
|
|
64
64
|
_cache[0] || (_cache[0] = vue.createElementVNode("div", {
|
|
65
65
|
class: "thumb_type",
|
|
66
66
|
style: { "margin-top": "0px" }
|
|
67
67
|
}, "\u5C01\u9762\u52A8\u56FE", -1)),
|
|
68
68
|
vue.createElementVNode("div", _hoisted_5, [
|
|
69
|
-
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(
|
|
69
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.ai_gif_covers, (item) => {
|
|
70
70
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
71
71
|
key: item,
|
|
72
72
|
class: "thumb-wrap"
|
|
@@ -76,7 +76,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
76
76
|
class: vue.normalizeClass(["pic", { active: selectedUrl.value.includes(item) }])
|
|
77
77
|
}, [
|
|
78
78
|
vue.createVNode(index, {
|
|
79
|
-
preview:
|
|
79
|
+
preview: __props.preview,
|
|
80
80
|
"item-data": {
|
|
81
81
|
catalog: "image",
|
|
82
82
|
alias: item,
|
|
@@ -70,23 +70,23 @@ const _sfc_main = vue.defineComponent({
|
|
|
70
70
|
return (_ctx, _cache) => {
|
|
71
71
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
72
72
|
vue.createElementVNode("div", _hoisted_1, [
|
|
73
|
-
|
|
73
|
+
__props.itemData.thumb ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
74
74
|
key: 0,
|
|
75
75
|
class: "pic",
|
|
76
|
-
style: vue.normalizeStyle({ "background-image": "url(" +
|
|
76
|
+
style: vue.normalizeStyle({ "background-image": "url(" + __props.itemData.thumb + ")" })
|
|
77
77
|
}, [
|
|
78
78
|
getRate.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2, vue.toDisplayString(getRate.value), 1)) : vue.createCommentVNode("v-if", true),
|
|
79
|
-
|
|
79
|
+
__props.itemData.source === "ai" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3, "AI\u751F\u6210")) : vue.createCommentVNode("v-if", true)
|
|
80
80
|
], 4)) : (vue.openBlock(), vue.createElementBlock("div", {
|
|
81
81
|
key: 1,
|
|
82
|
-
class: vue.normalizeClass(["pic", `${
|
|
82
|
+
class: vue.normalizeClass(["pic", `${__props.itemData.catalog} ${__props.itemData.series}`])
|
|
83
83
|
}, [
|
|
84
84
|
getRate.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4, vue.toDisplayString(getRate.value), 1)) : vue.createCommentVNode("v-if", true),
|
|
85
|
-
|
|
85
|
+
__props.itemData.source === "ai" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5, "AI\u751F\u6210")) : vue.createCommentVNode("v-if", true)
|
|
86
86
|
], 2)),
|
|
87
87
|
vue.createVNode(vue.Transition, { name: "el-fade-in" }, {
|
|
88
88
|
default: vue.withCtx(() => [
|
|
89
|
-
|
|
89
|
+
__props.preview ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6, [
|
|
90
90
|
vue.createElementVNode("span", {
|
|
91
91
|
class: "half",
|
|
92
92
|
onClick: vue.withModifiers(openPreview, ["stop"])
|