@cmstops/pro-compo 3.9.2 → 3.10.5-nanning.2
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/CircleItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/CircleItem/index.js +92 -0
- 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 +173 -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/component.js +24 -4
- package/es/editMetaInfo/components/metaInfoForm.js +358 -17
- package/es/editMetaInfo/script/api.d.ts +9 -2
- package/es/editMetaInfo/script/api.js +20 -1
- 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/CircleItem/index.js +93 -0
- 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 +173 -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/component.js +23 -3
- package/lib/editMetaInfo/components/metaInfoForm.js +356 -15
- package/lib/editMetaInfo/script/api.js +21 -0
- 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
|
@@ -68,8 +68,8 @@ const _sfc_main = vue.defineComponent({
|
|
|
68
68
|
icon: vue.withCtx(() => [
|
|
69
69
|
vue.createVNode(vue.unref(icon.IconCloseCircle), { size: "14" })
|
|
70
70
|
]),
|
|
71
|
-
_:
|
|
72
|
-
},
|
|
71
|
+
_: 1
|
|
72
|
+
}, 8, ["onClick"])
|
|
73
73
|
]);
|
|
74
74
|
}), 128))
|
|
75
75
|
]),
|
|
@@ -81,9 +81,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
81
81
|
type: "text",
|
|
82
82
|
onClick: clear
|
|
83
83
|
}, {
|
|
84
|
-
default: vue.withCtx(() => _cache[1] || (_cache[1] = [
|
|
85
|
-
vue.createTextVNode("\u6E05\u7A7A")
|
|
86
|
-
])),
|
|
84
|
+
default: vue.withCtx(() => [..._cache[1] || (_cache[1] = [
|
|
85
|
+
vue.createTextVNode("\u6E05\u7A7A", -1)
|
|
86
|
+
])]),
|
|
87
87
|
_: 1
|
|
88
88
|
})
|
|
89
89
|
])
|
|
@@ -97,9 +97,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
97
97
|
key: 0,
|
|
98
98
|
class: "button"
|
|
99
99
|
}, {
|
|
100
|
-
default: vue.withCtx(() => _cache[0] || (_cache[0] = [
|
|
101
|
-
vue.createTextVNode("\u5DF2\u9009\u6570\u636E")
|
|
102
|
-
])),
|
|
100
|
+
default: vue.withCtx(() => [..._cache[0] || (_cache[0] = [
|
|
101
|
+
vue.createTextVNode("\u5DF2\u9009\u6570\u636E", -1)
|
|
102
|
+
])]),
|
|
103
103
|
_: 1
|
|
104
104
|
})) : vue.createCommentVNode("v-if", true)
|
|
105
105
|
]),
|
|
@@ -65,9 +65,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
65
65
|
return (_ctx, _cache) => {
|
|
66
66
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
67
67
|
vue.createCommentVNode(" \u539F\u521B/\u63A8\u8350/\u654F\u611F\u8BCD/\u5C01\u9762\u51E0\u56FE/ "),
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
68
|
+
__props.item ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1, [
|
|
69
|
+
__props.item.catalog === "doc" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
70
|
+
__props.popverThumb && thumbList.value.length ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Popover), {
|
|
71
71
|
key: 0,
|
|
72
72
|
"content-class": "doc-tags-thumb-popver",
|
|
73
73
|
"arrow-class": "doc-tags-popver-arrow",
|
|
@@ -92,7 +92,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
92
92
|
default: vue.withCtx(() => [
|
|
93
93
|
vue.createVNode(vue.unref(webVue.Tag), {
|
|
94
94
|
size: "small",
|
|
95
|
-
class: vue.normalizeClass([{ disabled:
|
|
95
|
+
class: vue.normalizeClass([{ disabled: __props.disabled }, "thumb"])
|
|
96
96
|
}, {
|
|
97
97
|
default: vue.withCtx(() => [
|
|
98
98
|
vue.createTextVNode(vue.toDisplayString(thumbType.value), 1)
|
|
@@ -110,7 +110,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
110
110
|
default: vue.withCtx(() => [
|
|
111
111
|
vue.createVNode(vue.unref(webVue.Tag), {
|
|
112
112
|
size: "small",
|
|
113
|
-
class: vue.normalizeClass([{ disabled:
|
|
113
|
+
class: vue.normalizeClass([{ disabled: __props.disabled }, "thumb"])
|
|
114
114
|
}, {
|
|
115
115
|
default: vue.withCtx(() => [
|
|
116
116
|
vue.createTextVNode(vue.toDisplayString(thumbType.value), 1)
|
|
@@ -121,7 +121,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
121
121
|
_: 1
|
|
122
122
|
}, 8, ["content"])) : vue.createCommentVNode("v-if", true)
|
|
123
123
|
], 64)),
|
|
124
|
-
|
|
124
|
+
__props.item.statement ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Tooltip), {
|
|
125
125
|
key: 2,
|
|
126
126
|
content: "\u539F\u521B",
|
|
127
127
|
position: "top"
|
|
@@ -129,17 +129,17 @@ const _sfc_main = vue.defineComponent({
|
|
|
129
129
|
default: vue.withCtx(() => [
|
|
130
130
|
vue.createVNode(vue.unref(webVue.Tag), {
|
|
131
131
|
size: "small",
|
|
132
|
-
class: vue.normalizeClass([{ disabled:
|
|
132
|
+
class: vue.normalizeClass([{ disabled: __props.disabled }, "yuanchuang"])
|
|
133
133
|
}, {
|
|
134
|
-
default: vue.withCtx(() => _cache[1] || (_cache[1] = [
|
|
135
|
-
vue.createTextVNode("\u539F\u521B")
|
|
136
|
-
])),
|
|
134
|
+
default: vue.withCtx(() => [..._cache[1] || (_cache[1] = [
|
|
135
|
+
vue.createTextVNode("\u539F\u521B", -1)
|
|
136
|
+
])]),
|
|
137
137
|
_: 1
|
|
138
138
|
}, 8, ["class"])
|
|
139
139
|
]),
|
|
140
140
|
_: 1
|
|
141
141
|
})) : vue.createCommentVNode("v-if", true),
|
|
142
|
-
|
|
142
|
+
__props.item.recommended ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Tooltip), {
|
|
143
143
|
key: 3,
|
|
144
144
|
content: "\u63A8\u8350",
|
|
145
145
|
position: "top"
|
|
@@ -147,35 +147,35 @@ const _sfc_main = vue.defineComponent({
|
|
|
147
147
|
default: vue.withCtx(() => [
|
|
148
148
|
vue.createVNode(vue.unref(webVue.Tag), {
|
|
149
149
|
size: "small",
|
|
150
|
-
class: vue.normalizeClass([{ disabled:
|
|
150
|
+
class: vue.normalizeClass([{ disabled: __props.disabled }, "star"])
|
|
151
151
|
}, {
|
|
152
|
-
default: vue.withCtx(() => _cache[2] || (_cache[2] = [
|
|
153
|
-
vue.createTextVNode("\u63A8\u8350")
|
|
154
|
-
])),
|
|
152
|
+
default: vue.withCtx(() => [..._cache[2] || (_cache[2] = [
|
|
153
|
+
vue.createTextVNode("\u63A8\u8350", -1)
|
|
154
|
+
])]),
|
|
155
155
|
_: 1
|
|
156
156
|
}, 8, ["class"])
|
|
157
157
|
]),
|
|
158
158
|
_: 1
|
|
159
159
|
})) : vue.createCommentVNode("v-if", true),
|
|
160
|
-
|
|
160
|
+
__props.item.sensitives ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Tooltip), {
|
|
161
161
|
key: 4,
|
|
162
|
-
content: `\u5305\u542B\u654F\u611F\u8BCD\uFF1A${
|
|
162
|
+
content: `\u5305\u542B\u654F\u611F\u8BCD\uFF1A${__props.item.sensitives}`,
|
|
163
163
|
position: "top"
|
|
164
164
|
}, {
|
|
165
165
|
default: vue.withCtx(() => [
|
|
166
166
|
vue.createVNode(vue.unref(webVue.Tag), {
|
|
167
167
|
size: "small",
|
|
168
|
-
class: vue.normalizeClass([{ disabled:
|
|
168
|
+
class: vue.normalizeClass([{ disabled: __props.disabled }, "waring"])
|
|
169
169
|
}, {
|
|
170
|
-
default: vue.withCtx(() => _cache[3] || (_cache[3] = [
|
|
171
|
-
vue.createTextVNode("\u654F\u611F")
|
|
172
|
-
])),
|
|
170
|
+
default: vue.withCtx(() => [..._cache[3] || (_cache[3] = [
|
|
171
|
+
vue.createTextVNode("\u654F\u611F", -1)
|
|
172
|
+
])]),
|
|
173
173
|
_: 1
|
|
174
174
|
}, 8, ["class"])
|
|
175
175
|
]),
|
|
176
176
|
_: 1
|
|
177
177
|
}, 8, ["content"])) : vue.createCommentVNode("v-if", true),
|
|
178
|
-
|
|
178
|
+
__props.item.push_state === 3 ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Tooltip), {
|
|
179
179
|
key: 5,
|
|
180
180
|
content: "\u63A8\u9001\u6210\u529F",
|
|
181
181
|
position: "top"
|
|
@@ -183,11 +183,11 @@ const _sfc_main = vue.defineComponent({
|
|
|
183
183
|
default: vue.withCtx(() => [
|
|
184
184
|
vue.createVNode(vue.unref(webVue.Tag), {
|
|
185
185
|
size: "small",
|
|
186
|
-
class: vue.normalizeClass([{ disabled:
|
|
186
|
+
class: vue.normalizeClass([{ disabled: __props.disabled }, "star"])
|
|
187
187
|
}, {
|
|
188
|
-
default: vue.withCtx(() => _cache[4] || (_cache[4] = [
|
|
189
|
-
vue.createTextVNode("\u5DF2\u63A8\u9001")
|
|
190
|
-
])),
|
|
188
|
+
default: vue.withCtx(() => [..._cache[4] || (_cache[4] = [
|
|
189
|
+
vue.createTextVNode("\u5DF2\u63A8\u9001", -1)
|
|
190
|
+
])]),
|
|
191
191
|
_: 1
|
|
192
192
|
}, 8, ["class"])
|
|
193
193
|
]),
|
|
@@ -201,7 +201,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
201
201
|
default: vue.withCtx(() => [
|
|
202
202
|
vue.createVNode(vue.unref(webVue.Tag), {
|
|
203
203
|
size: "small",
|
|
204
|
-
class: vue.normalizeClass([{ disabled:
|
|
204
|
+
class: vue.normalizeClass([{ disabled: __props.disabled }, "star"])
|
|
205
205
|
}, {
|
|
206
206
|
default: vue.withCtx(() => [
|
|
207
207
|
vue.createTextVNode(vue.toDisplayString(localLiveType.value), 1)
|
|
@@ -211,7 +211,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
211
211
|
]),
|
|
212
212
|
_: 1
|
|
213
213
|
}, 8, ["content"])) : vue.createCommentVNode("v-if", true),
|
|
214
|
-
|
|
214
|
+
__props.item.is_matrix ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Tooltip), {
|
|
215
215
|
key: 7,
|
|
216
216
|
content: "\u7A3F\u4EF6\u5B58\u5728\u81EA\u5A92\u4F53\u77E9\u9635\u5206\u53D1\u8BB0\u5F55",
|
|
217
217
|
position: "top"
|
|
@@ -219,38 +219,38 @@ const _sfc_main = vue.defineComponent({
|
|
|
219
219
|
default: vue.withCtx(() => [
|
|
220
220
|
vue.createVNode(vue.unref(webVue.Tag), {
|
|
221
221
|
size: "small",
|
|
222
|
-
class: vue.normalizeClass([{ disabled:
|
|
222
|
+
class: vue.normalizeClass([{ disabled: __props.disabled }, "matrix"])
|
|
223
223
|
}, {
|
|
224
|
-
default: vue.withCtx(() => _cache[5] || (_cache[5] = [
|
|
225
|
-
vue.createTextVNode(" \u77E9\u9635\u5206\u53D1 ")
|
|
226
|
-
])),
|
|
224
|
+
default: vue.withCtx(() => [..._cache[5] || (_cache[5] = [
|
|
225
|
+
vue.createTextVNode(" \u77E9\u9635\u5206\u53D1 ", -1)
|
|
226
|
+
])]),
|
|
227
227
|
_: 1
|
|
228
228
|
}, 8, ["class"])
|
|
229
229
|
]),
|
|
230
230
|
_: 1
|
|
231
231
|
})) : vue.createCommentVNode("v-if", true)
|
|
232
|
-
], 64)) :
|
|
232
|
+
], 64)) : __props.item.catalog === "kongo" ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Tag), {
|
|
233
233
|
key: 1,
|
|
234
234
|
size: "small"
|
|
235
235
|
}, {
|
|
236
236
|
default: vue.withCtx(() => [
|
|
237
|
-
vue.createTextVNode(vue.toDisplayString(vue.unref(typeMap.kongo_source_map)[
|
|
237
|
+
vue.createTextVNode(vue.toDisplayString(vue.unref(typeMap.kongo_source_map)[__props.item.series]), 1)
|
|
238
238
|
]),
|
|
239
239
|
_: 1
|
|
240
|
-
})) :
|
|
240
|
+
})) : __props.item.catalog === "mp_account" ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Tag), {
|
|
241
241
|
key: 2,
|
|
242
242
|
size: "small"
|
|
243
243
|
}, {
|
|
244
244
|
default: vue.withCtx(() => [
|
|
245
|
-
vue.createTextVNode(vue.toDisplayString(vue.unref(typeMap.mp_type_map)[
|
|
245
|
+
vue.createTextVNode(vue.toDisplayString(vue.unref(typeMap.mp_type_map)[__props.item.mp_type]), 1)
|
|
246
246
|
]),
|
|
247
247
|
_: 1
|
|
248
|
-
})) :
|
|
248
|
+
})) : __props.item.catalog === "mp_content" ? (vue.openBlock(), vue.createBlock(component, {
|
|
249
249
|
key: 3,
|
|
250
250
|
class: "icon",
|
|
251
251
|
type: "mpdoc"
|
|
252
252
|
})) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 4 }, [
|
|
253
|
-
|
|
253
|
+
__props.item.list_type ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4, vue.toDisplayString(vue.unref(typeMap.contentList_list_type_map)[__props.item.list_type]), 1)) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_5, "--"))
|
|
254
254
|
], 64))
|
|
255
255
|
])) : vue.createCommentVNode("v-if", true)
|
|
256
256
|
], 2112);
|
|
@@ -14,9 +14,11 @@ const _sfc_main = vue.defineComponent({
|
|
|
14
14
|
__name: "component",
|
|
15
15
|
props: {
|
|
16
16
|
BASE_API: {},
|
|
17
|
+
wrap: { default: "drawer" },
|
|
17
18
|
visible: { type: Boolean },
|
|
18
19
|
docInfo: {},
|
|
19
|
-
pub: { type: Boolean }
|
|
20
|
+
pub: { type: Boolean },
|
|
21
|
+
currentIdx: {}
|
|
20
22
|
},
|
|
21
23
|
emits: ["update:visible", "select"],
|
|
22
24
|
setup(__props, { emit: __emit }) {
|
|
@@ -28,6 +30,20 @@ const _sfc_main = vue.defineComponent({
|
|
|
28
30
|
emits("update:visible", val);
|
|
29
31
|
}
|
|
30
32
|
});
|
|
33
|
+
const wrapProps = vue.computed(() => {
|
|
34
|
+
if (props.wrap === "drawer") {
|
|
35
|
+
return {
|
|
36
|
+
class: "doc-history-drawer-wrap",
|
|
37
|
+
title: "\u7248\u672C\u8BB0\u5F55",
|
|
38
|
+
width: 1e3
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
bodyClass: "doc-history-modal-wrap",
|
|
43
|
+
title: "\u7248\u672C\u8BB0\u5F55",
|
|
44
|
+
width: 1e3
|
|
45
|
+
};
|
|
46
|
+
});
|
|
31
47
|
const BASE_API = props.BASE_API || config.DEFAULT_BASE_API;
|
|
32
48
|
const {
|
|
33
49
|
initParams,
|
|
@@ -38,6 +54,10 @@ const _sfc_main = vue.defineComponent({
|
|
|
38
54
|
list,
|
|
39
55
|
current
|
|
40
56
|
} = useDocHistory.useDocHistory(BASE_API);
|
|
57
|
+
const wrapComponent = {
|
|
58
|
+
drawer: webVue.Drawer,
|
|
59
|
+
modal: webVue.Modal
|
|
60
|
+
};
|
|
41
61
|
function handeRevert() {
|
|
42
62
|
emits("select", list.value[current.value]);
|
|
43
63
|
}
|
|
@@ -50,29 +70,38 @@ const _sfc_main = vue.defineComponent({
|
|
|
50
70
|
},
|
|
51
71
|
{ immediate: true }
|
|
52
72
|
);
|
|
53
|
-
vue.
|
|
73
|
+
vue.watch(
|
|
74
|
+
() => props.currentIdx,
|
|
75
|
+
(val) => {
|
|
76
|
+
if (val) {
|
|
77
|
+
handleSelect(val);
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
{ immediate: true }
|
|
81
|
+
);
|
|
82
|
+
vue.onMounted(async () => {
|
|
54
83
|
if (!props.docInfo)
|
|
55
84
|
return;
|
|
56
85
|
initParams(props.docInfo.id, props.pub);
|
|
57
|
-
loadData();
|
|
86
|
+
await loadData();
|
|
87
|
+
if (props.currentIdx) {
|
|
88
|
+
handleSelect(props.currentIdx);
|
|
89
|
+
}
|
|
58
90
|
});
|
|
59
91
|
return (_ctx, _cache) => {
|
|
60
|
-
return vue.openBlock(), vue.createBlock(vue.
|
|
92
|
+
return vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(wrapComponent[__props.wrap]), vue.mergeProps({
|
|
61
93
|
visible: vis.value,
|
|
62
|
-
"onUpdate:visible": _cache[0] || (_cache[0] = ($event) => vis.value = $event)
|
|
63
|
-
|
|
64
|
-
title: "\u7248\u672C\u8BB0\u5F55",
|
|
65
|
-
width: 1e3
|
|
66
|
-
}, {
|
|
94
|
+
"onUpdate:visible": _cache[0] || (_cache[0] = ($event) => vis.value = $event)
|
|
95
|
+
}, wrapProps.value), {
|
|
67
96
|
footer: vue.withCtx(() => [
|
|
68
97
|
vue.createVNode(vue.unref(webVue.Button), {
|
|
69
98
|
type: "primary",
|
|
70
99
|
disabled: !vue.unref(current),
|
|
71
100
|
onClick: handeRevert
|
|
72
101
|
}, {
|
|
73
|
-
default: vue.withCtx(() => _cache[1] || (_cache[1] = [
|
|
74
|
-
vue.createTextVNode(" \u8FD8\u539F\u6B64\u7248\u672C ")
|
|
75
|
-
])),
|
|
102
|
+
default: vue.withCtx(() => [..._cache[1] || (_cache[1] = [
|
|
103
|
+
vue.createTextVNode(" \u8FD8\u539F\u6B64\u7248\u672C ", -1)
|
|
104
|
+
])]),
|
|
76
105
|
_: 1
|
|
77
106
|
}, 8, ["disabled"])
|
|
78
107
|
]),
|
|
@@ -124,7 +153,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
124
153
|
])
|
|
125
154
|
]),
|
|
126
155
|
_: 1
|
|
127
|
-
},
|
|
156
|
+
}, 16, ["visible"]);
|
|
128
157
|
};
|
|
129
158
|
}
|
|
130
159
|
});
|
|
@@ -12,11 +12,11 @@ const _sfc_main = vue.defineComponent({
|
|
|
12
12
|
setup(__props) {
|
|
13
13
|
return (_ctx, _cache) => {
|
|
14
14
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
|
15
|
-
vue.createElementVNode("div", _hoisted_2, vue.toDisplayString(
|
|
15
|
+
vue.createElementVNode("div", _hoisted_2, vue.toDisplayString(__props.doc.title), 1),
|
|
16
16
|
vue.createElementVNode("div", _hoisted_3, [
|
|
17
17
|
vue.createElementVNode("div", {
|
|
18
18
|
class: "doc-content",
|
|
19
|
-
innerHTML:
|
|
19
|
+
innerHTML: __props.doc.content
|
|
20
20
|
}, null, 8, _hoisted_4)
|
|
21
21
|
])
|
|
22
22
|
]);
|
|
@@ -20,10 +20,10 @@ const _sfc_main = vue.defineComponent({
|
|
|
20
20
|
const emits = __emit;
|
|
21
21
|
return (_ctx, _cache) => {
|
|
22
22
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
|
23
|
-
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(
|
|
23
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.list, (item, idx) => {
|
|
24
24
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
25
25
|
key: item,
|
|
26
|
-
class: vue.normalizeClass(["doc-history-item", { active: idx ===
|
|
26
|
+
class: vue.normalizeClass(["doc-history-item", { active: idx === __props.current }]),
|
|
27
27
|
onClick: ($event) => emits("select", idx)
|
|
28
28
|
}, [
|
|
29
29
|
vue.createElementVNode("div", _hoisted_3, vue.toDisplayString(vue.unref(index.timeFormat)(item.update_time)), 1),
|
|
@@ -40,15 +40,16 @@ function CompareText(v_LeftList, v_RightList, lftPNode = null) {
|
|
|
40
40
|
for (let i = 0; i < rightLen; i++) {
|
|
41
41
|
if (!rightFather)
|
|
42
42
|
rightFather = v_RightList[i].parentNode;
|
|
43
|
-
const node = v_RightList[i].
|
|
43
|
+
const node = v_RightList[i].cloneNode(true);
|
|
44
44
|
try {
|
|
45
45
|
rightFather.removeChild(v_RightList[i]);
|
|
46
46
|
} catch (e) {
|
|
47
47
|
console.log(e);
|
|
48
48
|
}
|
|
49
|
-
if (lftPNode)
|
|
49
|
+
if (lftPNode && lftPNode.nodeType !== 3) {
|
|
50
50
|
lftPNode.appendChild(node);
|
|
51
|
-
|
|
51
|
+
PaintRemove(node);
|
|
52
|
+
}
|
|
52
53
|
}
|
|
53
54
|
} else if (rightLen === 0) {
|
|
54
55
|
for (let i = 0; i < leftLen; i++)
|