@cmstops/pro-compo 3.9.0 → 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 +49 -4
- 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/config.js +1 -1
- 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/useAttachement.js +42 -2
- package/es/hooks/usePopper.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 +49 -4
- 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 +215 -84
- package/es/selectResourceModal/components/List/ListNormal/index.js +23 -7
- 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 +142 -0
- package/es/selectResourceModal/scripts/useCompoLf.js +1 -1
- package/es/selectResourceModal/style/index.css +45 -4
- package/es/selectResourceModal/style/index.less +55 -41
- package/es/selectResourceModal/style/list.less +203 -167
- package/es/selectResourceModal/style/listCardWrapper.less +97 -97
- package/es/selectResourceModal/style/listSelected.less +94 -94
- package/es/selectThumb/component.js +65 -11
- 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/config.js +1 -1
- 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/useAttachement.js +42 -0
- package/lib/hooks/usePopper.js +3 -3
- 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 +49 -4
- 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 +212 -81
- package/lib/selectResourceModal/components/List/ListNormal/index.js +22 -6
- 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 +144 -0
- package/lib/selectResourceModal/scripts/useCompoLf.js +1 -1
- package/lib/selectResourceModal/style/index.css +45 -4
- package/lib/selectResourceModal/style/index.less +55 -41
- package/lib/selectResourceModal/style/list.less +203 -167
- package/lib/selectResourceModal/style/listCardWrapper.less +97 -97
- package/lib/selectResourceModal/style/listSelected.less +94 -94
- package/lib/selectThumb/component.js +64 -10
- 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 -34
- 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/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/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
|
|
@@ -3,41 +3,70 @@ var vue = require("vue");
|
|
|
3
3
|
var webVue = require("@arco-design/web-vue");
|
|
4
4
|
var icon = require("@arco-design/web-vue/es/icon");
|
|
5
5
|
var useSelection = require("../../../../hooks/useSelection.js");
|
|
6
|
+
var useAttachement = require("../../../../hooks/useAttachement.js");
|
|
6
7
|
var typeMap = require("../../../../utils/typeMap.js");
|
|
7
8
|
var selectionApis = require("../../../scripts/selectionApis.js");
|
|
8
9
|
var resource = require("../../../../utils/resource.js");
|
|
10
|
+
var useResponsiveFilter = require("../../../hooks/useResponsiveFilter.js");
|
|
9
11
|
const _hoisted_1 = { class: "list-filter-wrapper" };
|
|
10
12
|
const _hoisted_2 = { class: "list-filter" };
|
|
11
|
-
const _hoisted_3 = { class: "
|
|
12
|
-
const _hoisted_4 = {
|
|
13
|
+
const _hoisted_3 = { class: "more-btn" };
|
|
14
|
+
const _hoisted_4 = { class: "right-prefix" };
|
|
13
15
|
const _hoisted_5 = {
|
|
14
16
|
class: "filter-item",
|
|
15
17
|
style: { "width": "200px" }
|
|
16
18
|
};
|
|
17
|
-
const _hoisted_6 = {
|
|
19
|
+
const _hoisted_6 = {
|
|
20
|
+
class: "filter-item",
|
|
21
|
+
style: { "width": "180px" }
|
|
22
|
+
};
|
|
18
23
|
const _hoisted_7 = {
|
|
24
|
+
class: "filter-item",
|
|
25
|
+
style: { "width": "170px" }
|
|
26
|
+
};
|
|
27
|
+
const _hoisted_8 = {
|
|
28
|
+
class: "filter-item",
|
|
29
|
+
style: { "width": "240px" }
|
|
30
|
+
};
|
|
31
|
+
const _hoisted_9 = {
|
|
32
|
+
class: "filter-item",
|
|
33
|
+
style: { "width": "240px" }
|
|
34
|
+
};
|
|
35
|
+
const _hoisted_10 = {
|
|
19
36
|
key: 0,
|
|
20
37
|
class: "filter-item"
|
|
21
38
|
};
|
|
22
|
-
const
|
|
23
|
-
const
|
|
39
|
+
const _hoisted_11 = { class: "filter-extra" };
|
|
40
|
+
const _hoisted_12 = { class: "filter-item" };
|
|
41
|
+
const _hoisted_13 = {
|
|
24
42
|
key: 0,
|
|
25
43
|
class: "list-filter-tags"
|
|
26
44
|
};
|
|
27
|
-
const
|
|
45
|
+
const _hoisted_14 = ["onClick"];
|
|
28
46
|
const _sfc_main = vue.defineComponent({
|
|
29
47
|
__name: "Filter",
|
|
30
48
|
props: {
|
|
49
|
+
smallScreen: { type: Boolean },
|
|
31
50
|
disableUploadBy: { type: Boolean }
|
|
32
51
|
},
|
|
33
52
|
emits: ["upload", "change"],
|
|
34
53
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
54
|
+
var _a, _b, _c;
|
|
35
55
|
const props = __props;
|
|
36
56
|
const emits = __emit;
|
|
37
57
|
const userInfo = vue.inject("userInfo");
|
|
38
58
|
const baseAPI = vue.inject("baseAPI");
|
|
39
59
|
const filterOptions = vue.inject("filterOptions");
|
|
40
60
|
const domainId = vue.computed(() => userInfo == null ? void 0 : userInfo.value.domain_id);
|
|
61
|
+
const filterItemsRef = vue.ref();
|
|
62
|
+
const {
|
|
63
|
+
moreBtnRef,
|
|
64
|
+
popperPanelRef,
|
|
65
|
+
hiddenElementList,
|
|
66
|
+
visible,
|
|
67
|
+
show,
|
|
68
|
+
hide
|
|
69
|
+
} = useResponsiveFilter.useResponsiveFilter(filterItemsRef);
|
|
41
70
|
const { options, loading, load, loadMore, handleSearch } = useSelection({
|
|
42
71
|
labelStr: "alias",
|
|
43
72
|
valueStr: "id",
|
|
@@ -57,6 +86,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
57
86
|
});
|
|
58
87
|
const resourceSource = typeMap.RESOURCE_SOURCE_OPTIONS;
|
|
59
88
|
const resourceCatalog = typeMap.RESOURCE_CATALOG_OPTIONS;
|
|
89
|
+
const { tree } = useAttachement.useDirectory({
|
|
90
|
+
BASE_API: baseAPI
|
|
91
|
+
});
|
|
60
92
|
const originFilter = {
|
|
61
93
|
catalog: [],
|
|
62
94
|
source: "",
|
|
@@ -65,9 +97,20 @@ const _sfc_main = vue.defineComponent({
|
|
|
65
97
|
keyword: "",
|
|
66
98
|
precise_keyword: "",
|
|
67
99
|
upload_by: null,
|
|
68
|
-
sf: ""
|
|
100
|
+
sf: "",
|
|
101
|
+
directory_id: void 0
|
|
69
102
|
};
|
|
70
|
-
|
|
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
|
+
);
|
|
71
114
|
const handleReset = () => {
|
|
72
115
|
filter.value = JSON.parse(JSON.stringify(originFilter));
|
|
73
116
|
};
|
|
@@ -112,85 +155,119 @@ const _sfc_main = vue.defineComponent({
|
|
|
112
155
|
filter.value.keyword = val;
|
|
113
156
|
filter.value.precise_keyword = "";
|
|
114
157
|
}
|
|
158
|
+
filter.value.sf = "";
|
|
115
159
|
}
|
|
116
160
|
});
|
|
117
|
-
vue.watch(
|
|
118
|
-
() => searchType.value,
|
|
119
|
-
() => {
|
|
120
|
-
searchInput.value = filter.value.keyword || filter.value.precise_keyword;
|
|
121
|
-
}
|
|
122
|
-
);
|
|
123
161
|
const isEmpty = vue.computed(() => {
|
|
124
|
-
return Object.keys(
|
|
162
|
+
return Object.keys(originFilter).every((key) => {
|
|
163
|
+
if (key === "catalog") {
|
|
164
|
+
const currentCatalog = filter.value[key] || [];
|
|
165
|
+
const originCatalog = originFilter[key] || [];
|
|
166
|
+
return currentCatalog.length === originCatalog.length && currentCatalog.every((v) => originCatalog.includes(v));
|
|
167
|
+
}
|
|
125
168
|
return filter.value[key] === originFilter[key];
|
|
126
169
|
});
|
|
127
170
|
});
|
|
128
171
|
vue.watch(
|
|
129
172
|
() => filter.value,
|
|
130
|
-
() => {
|
|
131
|
-
const result = { ...
|
|
173
|
+
(val) => {
|
|
174
|
+
const result = { ...val };
|
|
132
175
|
Object.keys(result).forEach((key) => {
|
|
133
176
|
if (props.disableUploadBy && key === "upload_by")
|
|
134
177
|
delete result[key];
|
|
135
|
-
if (
|
|
136
|
-
|
|
178
|
+
if (result[key] === "" || result[key] === null || result[key] === void 0) {
|
|
179
|
+
if (key !== "catalog") {
|
|
180
|
+
delete result[key];
|
|
181
|
+
}
|
|
182
|
+
}
|
|
137
183
|
});
|
|
138
|
-
if (
|
|
139
|
-
result.catalog
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
},
|
|
144
|
-
{ deep: true, immediate: true }
|
|
145
|
-
);
|
|
146
|
-
vue.watch(
|
|
147
|
-
() => filterOptions == null ? void 0 : filterOptions.value,
|
|
148
|
-
() => {
|
|
149
|
-
var _a;
|
|
150
|
-
if ((_a = filterOptions == null ? void 0 : filterOptions.value) == null ? void 0 : _a.mediaType) {
|
|
151
|
-
filter.value.catalog = filterOptions == null ? void 0 : filterOptions.value.mediaType.split(",");
|
|
152
|
-
if (filterOptions == null ? void 0 : filterOptions.value.mediaTypeStrict) {
|
|
153
|
-
originFilter.catalog = filterOptions == null ? void 0 : filterOptions.value.mediaType.split(",");
|
|
184
|
+
if (result.catalog && Array.isArray(result.catalog)) {
|
|
185
|
+
if (result.catalog.length > 0) {
|
|
186
|
+
result.catalog = result.catalog.join(",");
|
|
187
|
+
} else {
|
|
188
|
+
delete result.catalog;
|
|
154
189
|
}
|
|
155
190
|
}
|
|
191
|
+
emits("change", result);
|
|
156
192
|
},
|
|
157
|
-
{
|
|
193
|
+
{ deep: true, immediate: true }
|
|
158
194
|
);
|
|
159
195
|
vue.onMounted(() => {
|
|
160
196
|
load();
|
|
161
197
|
});
|
|
162
198
|
__expose({
|
|
163
|
-
|
|
199
|
+
filter,
|
|
200
|
+
handleReset
|
|
164
201
|
});
|
|
165
202
|
return (_ctx, _cache) => {
|
|
166
|
-
var
|
|
203
|
+
var _a2;
|
|
167
204
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
|
205
|
+
vue.createCommentVNode(" Use filterItemsRef's parentElement as the container for boundary checks "),
|
|
168
206
|
vue.createElementVNode("div", _hoisted_2, [
|
|
169
|
-
vue.
|
|
207
|
+
vue.createCommentVNode(" Filter Items Container "),
|
|
208
|
+
vue.createElementVNode("div", {
|
|
209
|
+
id: "resource-filter-pannel",
|
|
210
|
+
ref_key: "filterItemsRef",
|
|
211
|
+
ref: filterItemsRef,
|
|
212
|
+
class: "filter-list"
|
|
213
|
+
}, [
|
|
214
|
+
vue.createCommentVNode(" More Filters Button and Popper Panel "),
|
|
215
|
+
vue.createElementVNode("div", _hoisted_3, [
|
|
216
|
+
vue.createElementVNode("div", {
|
|
217
|
+
ref_key: "moreBtnRef",
|
|
218
|
+
ref: moreBtnRef
|
|
219
|
+
}, [
|
|
220
|
+
vue.withDirectives(vue.createVNode(vue.unref(webVue.Button), {
|
|
221
|
+
style: { marginRight: "10px" },
|
|
222
|
+
onClick: _cache[0] || (_cache[0] = vue.withModifiers(() => vue.unref(visible) ? vue.unref(hide)() : vue.unref(show)(), ["stop"]))
|
|
223
|
+
}, {
|
|
224
|
+
default: vue.withCtx(() => [
|
|
225
|
+
vue.createElementVNode("span", _hoisted_4, [
|
|
226
|
+
_cache[11] || (_cache[11] = vue.createTextVNode(" \u66F4\u591A ", -1)),
|
|
227
|
+
vue.createVNode(vue.unref(icon.IconCaretDown))
|
|
228
|
+
])
|
|
229
|
+
]),
|
|
230
|
+
_: 1
|
|
231
|
+
}, 512), [
|
|
232
|
+
[vue.vShow, vue.unref(hiddenElementList).length]
|
|
233
|
+
])
|
|
234
|
+
], 512),
|
|
235
|
+
vue.withDirectives(vue.createElementVNode("div", {
|
|
236
|
+
ref_key: "popperPanelRef",
|
|
237
|
+
ref: popperPanelRef,
|
|
238
|
+
class: "filter-pannel",
|
|
239
|
+
onClick: _cache[1] || (_cache[1] = vue.withModifiers(() => {
|
|
240
|
+
}, ["stop"]))
|
|
241
|
+
}, null, 512), [
|
|
242
|
+
[vue.vShow, vue.unref(visible)]
|
|
243
|
+
])
|
|
244
|
+
]),
|
|
170
245
|
vue.createCommentVNode(" \u5173\u952E\u8BCD "),
|
|
171
|
-
vue.createElementVNode("div",
|
|
246
|
+
vue.createElementVNode("div", _hoisted_5, [
|
|
172
247
|
vue.createVNode(vue.unref(webVue.Input), {
|
|
173
248
|
modelValue: searchInput.value,
|
|
174
|
-
"onUpdate:modelValue": _cache[
|
|
249
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => searchInput.value = $event),
|
|
175
250
|
"allow-clear": "",
|
|
176
251
|
placeholder: "\u8BF7\u8F93\u5165\u5173\u952E\u8BCD"
|
|
177
252
|
}, {
|
|
178
253
|
prepend: vue.withCtx(() => [
|
|
179
254
|
vue.createVNode(vue.unref(webVue.Dropdown), {
|
|
180
|
-
onSelect: _cache[
|
|
255
|
+
onSelect: _cache[2] || (_cache[2] = (e) => searchType.value = e)
|
|
181
256
|
}, {
|
|
182
257
|
content: vue.withCtx(() => [
|
|
183
258
|
vue.createVNode(vue.unref(webVue.Doption), { value: 0 }, {
|
|
184
|
-
default: vue.withCtx(() => _cache[
|
|
185
|
-
vue.createTextVNode("\u7CBE\u51C6\u641C")
|
|
259
|
+
default: vue.withCtx(() => _cache[12] || (_cache[12] = [
|
|
260
|
+
vue.createTextVNode("\u7CBE\u51C6\u641C", -1)
|
|
186
261
|
])),
|
|
187
|
-
_: 1
|
|
262
|
+
_: 1,
|
|
263
|
+
__: [12]
|
|
188
264
|
}),
|
|
189
265
|
vue.createVNode(vue.unref(webVue.Doption), { value: 1 }, {
|
|
190
|
-
default: vue.withCtx(() => _cache[
|
|
191
|
-
vue.createTextVNode("\u6A21\u7CCA\u641C")
|
|
266
|
+
default: vue.withCtx(() => _cache[13] || (_cache[13] = [
|
|
267
|
+
vue.createTextVNode("\u6A21\u7CCA\u641C", -1)
|
|
192
268
|
])),
|
|
193
|
-
_: 1
|
|
269
|
+
_: 1,
|
|
270
|
+
__: [13]
|
|
194
271
|
})
|
|
195
272
|
]),
|
|
196
273
|
default: vue.withCtx(() => [
|
|
@@ -207,15 +284,39 @@ const _sfc_main = vue.defineComponent({
|
|
|
207
284
|
_: 1
|
|
208
285
|
}, 8, ["modelValue"])
|
|
209
286
|
]),
|
|
287
|
+
vue.createCommentVNode(" \u76EE\u5F55 "),
|
|
288
|
+
vue.createElementVNode("div", _hoisted_6, [
|
|
289
|
+
vue.createVNode(vue.unref(webVue.TreeSelect), {
|
|
290
|
+
modelValue: filter.value.directory_id,
|
|
291
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => filter.value.directory_id = $event),
|
|
292
|
+
data: vue.unref(tree),
|
|
293
|
+
"popup-container": "#resource-filter-pannel",
|
|
294
|
+
placeholder: "\u8BF7\u9009\u62E9\u76EE\u5F55",
|
|
295
|
+
"field-names": {
|
|
296
|
+
title: "alias",
|
|
297
|
+
key: "id"
|
|
298
|
+
},
|
|
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"])
|
|
308
|
+
]),
|
|
210
309
|
vue.createCommentVNode(" \u7D20\u6750\u7C7B\u578B "),
|
|
211
|
-
vue.createElementVNode("div",
|
|
310
|
+
vue.createElementVNode("div", _hoisted_7, [
|
|
212
311
|
vue.createVNode(vue.unref(webVue.Select), {
|
|
213
312
|
modelValue: filter.value.catalog,
|
|
214
|
-
"onUpdate:modelValue": _cache[
|
|
215
|
-
disabled: (
|
|
313
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => filter.value.catalog = $event),
|
|
314
|
+
disabled: (_a2 = vue.unref(filterOptions)) == null ? void 0 : _a2.mediaTypeStrict,
|
|
315
|
+
"popup-container": "#resource-filter-pannel",
|
|
216
316
|
"allow-clear": "",
|
|
217
317
|
placeholder: "\u7C7B\u578B",
|
|
218
|
-
multiple: ""
|
|
318
|
+
multiple: "",
|
|
319
|
+
"max-tag-count": 1
|
|
219
320
|
}, {
|
|
220
321
|
default: vue.withCtx(() => [
|
|
221
322
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(resourceCatalog), (item) => {
|
|
@@ -230,19 +331,22 @@ const _sfc_main = vue.defineComponent({
|
|
|
230
331
|
}, 8, ["modelValue", "disabled"])
|
|
231
332
|
]),
|
|
232
333
|
vue.createCommentVNode(" \u65F6\u95F4\u8303\u56F4 "),
|
|
233
|
-
vue.
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
334
|
+
vue.createElementVNode("div", _hoisted_8, [
|
|
335
|
+
vue.createVNode(vue.unref(webVue.RangePicker), {
|
|
336
|
+
modelValue: rangeTime.value,
|
|
337
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => rangeTime.value = $event),
|
|
338
|
+
"allow-clear": "",
|
|
339
|
+
"popup-container": "#resource-filter-pannel"
|
|
340
|
+
}, null, 8, ["modelValue"])
|
|
341
|
+
]),
|
|
239
342
|
vue.createCommentVNode(" \u7D20\u6750\u4E0A\u4F20\u6765\u6E90 "),
|
|
240
|
-
vue.createElementVNode("div",
|
|
343
|
+
vue.createElementVNode("div", _hoisted_9, [
|
|
241
344
|
vue.createVNode(vue.unref(webVue.Select), {
|
|
242
345
|
modelValue: filter.value.source,
|
|
243
|
-
"onUpdate:modelValue": _cache[
|
|
346
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => filter.value.source = $event),
|
|
244
347
|
"allow-clear": "",
|
|
245
|
-
placeholder: "\u6765\u6E90"
|
|
348
|
+
placeholder: "\u6765\u6E90",
|
|
349
|
+
"popup-container": "#resource-filter-pannel"
|
|
246
350
|
}, {
|
|
247
351
|
default: vue.withCtx(() => [
|
|
248
352
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(resourceSource), (item) => {
|
|
@@ -257,14 +361,15 @@ const _sfc_main = vue.defineComponent({
|
|
|
257
361
|
}, 8, ["modelValue"])
|
|
258
362
|
]),
|
|
259
363
|
vue.createCommentVNode(" \u7D20\u6750\u4E0A\u4F20\u4EBA "),
|
|
260
|
-
!_ctx.disableUploadBy ? (vue.openBlock(), vue.createElementBlock("div",
|
|
364
|
+
!_ctx.disableUploadBy ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_10, [
|
|
261
365
|
vue.createVNode(vue.unref(webVue.Select), {
|
|
262
366
|
modelValue: filter.value.upload_by,
|
|
263
|
-
"onUpdate:modelValue": _cache[
|
|
367
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => filter.value.upload_by = $event),
|
|
264
368
|
"allow-clear": "",
|
|
265
369
|
placeholder: "\u4E0A\u4F20\u4EBA",
|
|
266
370
|
loading: vue.unref(loading),
|
|
267
371
|
"allow-search": "",
|
|
372
|
+
"popup-container": "#resource-filter-pannel",
|
|
268
373
|
onSearch: vue.unref(handleSearch),
|
|
269
374
|
onDropdownReachBottom: vue.unref(loadMore)
|
|
270
375
|
}, {
|
|
@@ -279,40 +384,66 @@ const _sfc_main = vue.defineComponent({
|
|
|
279
384
|
]),
|
|
280
385
|
_: 1
|
|
281
386
|
}, 8, ["modelValue", "loading", "onSearch", "onDropdownReachBottom"])
|
|
282
|
-
])) : vue.createCommentVNode("v-if", true)
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
387
|
+
])) : vue.createCommentVNode("v-if", true)
|
|
388
|
+
], 512),
|
|
389
|
+
vue.createElementVNode("div", _hoisted_11, [
|
|
390
|
+
vue.createCommentVNode(" \u91CD\u7F6E\u6309\u94AE - Wrap in filter-item to be managed by the hook "),
|
|
391
|
+
vue.withDirectives(vue.createElementVNode("div", _hoisted_12, [
|
|
392
|
+
_ctx.smallScreen ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Button), {
|
|
393
|
+
key: 0,
|
|
394
|
+
type: "text",
|
|
395
|
+
onClick: handleReset
|
|
396
|
+
}, {
|
|
397
|
+
icon: vue.withCtx(() => [
|
|
398
|
+
vue.createVNode(vue.unref(icon.IconRefresh))
|
|
399
|
+
]),
|
|
400
|
+
_: 1
|
|
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
|
+
}))
|
|
412
|
+
], 512), [
|
|
413
|
+
[vue.vShow, !isEmpty.value]
|
|
414
|
+
]),
|
|
415
|
+
_ctx.smallScreen ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Button), {
|
|
416
|
+
key: 0,
|
|
417
|
+
type: "primary",
|
|
418
|
+
onClick: _cache[9] || (_cache[9] = ($event) => emits("upload"))
|
|
287
419
|
}, {
|
|
288
|
-
|
|
289
|
-
vue.
|
|
290
|
-
])
|
|
420
|
+
icon: vue.withCtx(() => [
|
|
421
|
+
vue.createVNode(vue.unref(icon.IconUpload))
|
|
422
|
+
]),
|
|
291
423
|
_: 1
|
|
292
|
-
})) : vue.
|
|
293
|
-
|
|
294
|
-
vue.createElementVNode("div", _hoisted_8, [
|
|
295
|
-
vue.createVNode(vue.unref(webVue.Button), {
|
|
424
|
+
})) : (vue.openBlock(), vue.createBlock(vue.unref(webVue.Button), {
|
|
425
|
+
key: 1,
|
|
296
426
|
type: "primary",
|
|
297
|
-
onClick: _cache[
|
|
427
|
+
onClick: _cache[10] || (_cache[10] = ($event) => emits("upload"))
|
|
298
428
|
}, {
|
|
299
429
|
icon: vue.withCtx(() => [
|
|
300
430
|
vue.createVNode(vue.unref(icon.IconUpload))
|
|
301
431
|
]),
|
|
302
432
|
default: vue.withCtx(() => [
|
|
303
|
-
_cache[
|
|
433
|
+
_cache[15] || (_cache[15] = vue.createTextVNode(" \u4E0A\u4F20 ", -1))
|
|
304
434
|
]),
|
|
305
|
-
_: 1
|
|
306
|
-
|
|
435
|
+
_: 1,
|
|
436
|
+
__: [15]
|
|
437
|
+
}))
|
|
307
438
|
])
|
|
308
439
|
]),
|
|
309
|
-
searchInput.value ? (vue.openBlock(), vue.createElementBlock("div",
|
|
440
|
+
searchInput.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_13, [
|
|
310
441
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(resource.keywordsSelection), (item) => {
|
|
311
442
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
312
443
|
key: item.value,
|
|
313
444
|
class: vue.normalizeClass(["list-filter-tag", { active: filter.value.sf === item.value }]),
|
|
314
445
|
onClick: ($event) => filter.value.sf = item.value
|
|
315
|
-
}, vue.toDisplayString(item.name), 11,
|
|
446
|
+
}, vue.toDisplayString(item.name), 11, _hoisted_14);
|
|
316
447
|
}), 128))
|
|
317
448
|
])) : vue.createCommentVNode("v-if", true)
|
|
318
449
|
]);
|