@cmstops/pro-compo 3.9.2-alpha.9 → 3.10.5-nanning.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +103 -76
- package/dist/index.css +52 -0
- 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/components/FilterGroup.js +1 -1
- package/es/baseFilter/components/filterItem.js +1 -1
- package/es/colorPalette/component.js +1 -1
- package/es/config.js +1 -1
- package/es/contentDetailList/component.js +9 -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 +169 -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 +11 -11
- 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 +7 -7
- package/es/hooks/useUpload.d.ts +4 -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 +52 -0
- 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 +153 -160
- package/es/selectResourceModal/__demo__/module/basic.d.ts +153 -160
- 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/ListNormal/Filter.js +22 -16
- 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/scripts/selectionApis.d.ts +2 -2
- package/es/selectResourceModal/scripts/useTabFilter.js +1 -11
- package/es/selectThumb/component.js +45 -56
- 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/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/components/FilterGroup.js +1 -1
- package/lib/baseFilter/components/filterItem.js +1 -1
- package/lib/colorPalette/component.js +1 -1
- package/lib/config.js +1 -1
- package/lib/contentDetailList/component.js +9 -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 +169 -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 +11 -11
- package/lib/contentDetailList/components/Records/MatrixItem/index.js +22 -22
- package/lib/contentDetailList/components/Records/index.js +8 -8
- package/lib/contentDetailList/components/ShowQRCode/QrcodeView/index.js +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/imageCrop/component.js +11 -11
- package/lib/importData/component.js +13 -13
- package/lib/index.css +52 -0
- 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/ListNormal/Filter.js +22 -16
- 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/scripts/useTabFilter.js +1 -13
- package/lib/selectThumb/component.js +45 -56
- 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/package.json +1 -1
|
@@ -54,10 +54,10 @@ const _sfc_main = defineComponent({
|
|
|
54
54
|
key: 0,
|
|
55
55
|
class: "item-load-more",
|
|
56
56
|
onClick: loadMore
|
|
57
|
-
}, _cache[0] || (_cache[0] = [
|
|
57
|
+
}, [..._cache[0] || (_cache[0] = [
|
|
58
58
|
createElementVNode("img", { src: _imports_0 }, null, -1),
|
|
59
|
-
createTextVNode(" \u70B9\u51FB\u52A0\u8F7D\u66F4\u591A ")
|
|
60
|
-
]))) : createCommentVNode("v-if", true)
|
|
59
|
+
createTextVNode(" \u70B9\u51FB\u52A0\u8F7D\u66F4\u591A ", -1)
|
|
60
|
+
])])) : createCommentVNode("v-if", true)
|
|
61
61
|
])
|
|
62
62
|
], 2112);
|
|
63
63
|
};
|
|
@@ -91,8 +91,8 @@ const _sfc_main = defineComponent({
|
|
|
91
91
|
item: withCtx(({ item }) => [
|
|
92
92
|
renderSlot(_ctx.$slots, "item", { item })
|
|
93
93
|
]),
|
|
94
|
-
_:
|
|
95
|
-
},
|
|
94
|
+
_: 3
|
|
95
|
+
}, 8, ["outside-filter", "sceniro"])
|
|
96
96
|
], 512)), [
|
|
97
97
|
[vShow, [sceniro.classify_id, ""].includes(choseScen.value)]
|
|
98
98
|
]) : createCommentVNode("v-if", true)
|
|
@@ -33,12 +33,12 @@ const _sfc_main = defineComponent({
|
|
|
33
33
|
renderSlot(_ctx.$slots, "header")
|
|
34
34
|
])) : createCommentVNode("v-if", true),
|
|
35
35
|
createElementVNode("div", _hoisted_3, [
|
|
36
|
-
|
|
36
|
+
__props.loading ? (openBlock(), createElementBlock("div", _hoisted_4, [
|
|
37
37
|
createVNode(unref(Spin), {
|
|
38
38
|
tip: "\u7D20\u6750\u52A0\u8F7D\u4E2D",
|
|
39
39
|
loading: true
|
|
40
40
|
})
|
|
41
|
-
])) :
|
|
41
|
+
])) : __props.isEmpty ? (openBlock(), createElementBlock("div", _hoisted_5, [
|
|
42
42
|
createVNode(_sfc_main$1, { type: "empty" })
|
|
43
43
|
])) : (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
44
44
|
createCommentVNode(" \u5185\u5BB9\u6837\u5F0F\u4E00\uFF1A\u6805\u683C\u6837\u5F0F\uFF0C\u5916\u90E8 props \u4F20 list "),
|
|
@@ -26,7 +26,7 @@ const _sfc_main = defineComponent({
|
|
|
26
26
|
const visible = ref(false);
|
|
27
27
|
return (_ctx, _cache) => {
|
|
28
28
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
29
|
-
|
|
29
|
+
__props.maxcount ? (openBlock(), createElementBlock("span", _hoisted_2, "\u6700\u591A\u9009\u62E9 " + toDisplayString(__props.maxcount) + " \u4E2A\u7D20\u6750\uFF0C ", 1)) : createCommentVNode("v-if", true),
|
|
30
30
|
createVNode(unref(Popover), {
|
|
31
31
|
"popup-visible": visible.value,
|
|
32
32
|
"onUpdate:popupVisible": _cache[2] || (_cache[2] = ($event) => visible.value = $event),
|
|
@@ -36,7 +36,7 @@ const _sfc_main = defineComponent({
|
|
|
36
36
|
content: withCtx(() => [
|
|
37
37
|
createCommentVNode(" header "),
|
|
38
38
|
createElementVNode("div", _hoisted_3, [
|
|
39
|
-
createElementVNode("div", null, "\u5DF2\u9009\u62E9 " + toDisplayString(
|
|
39
|
+
createElementVNode("div", null, "\u5DF2\u9009\u62E9 " + toDisplayString(__props.selected.length) + " \u4E2A\u7D20\u6750", 1),
|
|
40
40
|
createElementVNode("div", _hoisted_4, [
|
|
41
41
|
createElementVNode("div", {
|
|
42
42
|
onClick: _cache[0] || (_cache[0] = ($event) => emits("clear"))
|
|
@@ -50,7 +50,7 @@ const _sfc_main = defineComponent({
|
|
|
50
50
|
]),
|
|
51
51
|
createCommentVNode(" content "),
|
|
52
52
|
createElementVNode("div", _hoisted_5, [
|
|
53
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(
|
|
53
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.selected, (item) => {
|
|
54
54
|
return openBlock(), createElementBlock("div", {
|
|
55
55
|
key: item.id,
|
|
56
56
|
class: "list-selected-item"
|
|
@@ -83,8 +83,8 @@ const _sfc_main = defineComponent({
|
|
|
83
83
|
icon: withCtx(() => [
|
|
84
84
|
createVNode(unref(IconClose))
|
|
85
85
|
]),
|
|
86
|
-
_:
|
|
87
|
-
},
|
|
86
|
+
_: 1
|
|
87
|
+
}, 8, ["onClick"])
|
|
88
88
|
]);
|
|
89
89
|
}), 128))
|
|
90
90
|
])
|
|
@@ -92,7 +92,7 @@ const _sfc_main = defineComponent({
|
|
|
92
92
|
default: withCtx(() => [
|
|
93
93
|
createVNode(unref(Link), null, {
|
|
94
94
|
default: withCtx(() => [
|
|
95
|
-
createTextVNode("\u5DF2\u9009\u62E9 " + toDisplayString(
|
|
95
|
+
createTextVNode("\u5DF2\u9009\u62E9 " + toDisplayString(__props.selected.length) + " \u4E2A\u7D20\u6750", 1)
|
|
96
96
|
]),
|
|
97
97
|
_: 1
|
|
98
98
|
})
|
|
@@ -40,7 +40,7 @@ const _sfc_main = defineComponent({
|
|
|
40
40
|
})) : createCommentVNode("v-if", true)
|
|
41
41
|
]),
|
|
42
42
|
default: withCtx(() => [
|
|
43
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(
|
|
43
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.tabList, (tab) => {
|
|
44
44
|
return openBlock(), createBlock(unref(TabPane), {
|
|
45
45
|
key: tab.key,
|
|
46
46
|
title: tab.title
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare function getAccountList(BASE_API: string, id: number, query: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
2
|
-
export declare function getSysRsClassifyList(BASE_API: string, sys_tag: number): Promise<import("axios").AxiosResponse<any, any>>;
|
|
1
|
+
export declare function getAccountList(BASE_API: string, id: number, query: any): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
2
|
+
export declare function getSysRsClassifyList(BASE_API: string, sys_tag: number): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
@@ -4,16 +4,6 @@ import _sfc_main from "../components/List/ListNormal/index.js";
|
|
|
4
4
|
import _sfc_main$2 from "../components/List/ListSystem/index.js";
|
|
5
5
|
import _sfc_main$1 from "../components/List/ListLocal/index.js";
|
|
6
6
|
import _sfc_main$3 from "../components/List/ListAi/index.js";
|
|
7
|
-
var TabEnum = /* @__PURE__ */ ((TabEnum2) => {
|
|
8
|
-
TabEnum2["ALL"] = "all";
|
|
9
|
-
TabEnum2["MY"] = "my";
|
|
10
|
-
TabEnum2["REMIND"] = "remind";
|
|
11
|
-
TabEnum2["LOCAL"] = "local";
|
|
12
|
-
TabEnum2["SYSTEM"] = "system";
|
|
13
|
-
TabEnum2["AI"] = "ai";
|
|
14
|
-
TabEnum2["VIDEO"] = "video";
|
|
15
|
-
return TabEnum2;
|
|
16
|
-
})(TabEnum || {});
|
|
17
7
|
const DEFAULT_TABS = ["all", "my", "remind", "local"];
|
|
18
8
|
const TAB_DICT = {
|
|
19
9
|
["all"]: { title: "\u5168\u90E8\u7D20\u6750", component: _sfc_main },
|
|
@@ -53,4 +43,4 @@ function useTabFilter(props) {
|
|
|
53
43
|
handelChangeTab
|
|
54
44
|
};
|
|
55
45
|
}
|
|
56
|
-
export {
|
|
46
|
+
export { useTabFilter as default };
|
|
@@ -351,9 +351,11 @@ const _sfc_main = defineComponent({
|
|
|
351
351
|
if (!props.dataValue)
|
|
352
352
|
return;
|
|
353
353
|
if (styleData.value.model === oldData.value.model) {
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
354
|
+
nextTick(() => {
|
|
355
|
+
styleData.value.data = oldData.value.data;
|
|
356
|
+
styleData.value.cover_theme_color = oldData.value.cover_theme_color;
|
|
357
|
+
styleData.value.cover_colorList = oldData.value.cover_colorList;
|
|
358
|
+
});
|
|
357
359
|
} else {
|
|
358
360
|
styleData.value.data = [];
|
|
359
361
|
}
|
|
@@ -409,21 +411,8 @@ const _sfc_main = defineComponent({
|
|
|
409
411
|
callback(styleData2);
|
|
410
412
|
};
|
|
411
413
|
onMounted(() => {
|
|
412
|
-
if (!styleData.value.cover_url)
|
|
413
|
-
|
|
414
|
-
styleData.value.cover_url = styleData.value.data[0].url;
|
|
415
|
-
const getColors = getThemeColor(BASE_API, styleData.value.data[0].url);
|
|
416
|
-
getColors.then((themes) => {
|
|
417
|
-
styleData.value.cover_colorList = JSON.parse(JSON.stringify(themes));
|
|
418
|
-
styleData.value.cover_theme_color = `rgb(${themes[1]})`;
|
|
419
|
-
oldData.value = JSON.parse(JSON.stringify(styleData.value));
|
|
420
|
-
callback(styleData.value);
|
|
421
|
-
}).catch((e) => {
|
|
422
|
-
styleData.value.banner_theme_color = `rgb(255, 255, 255)`;
|
|
423
|
-
callback(styleData.value);
|
|
424
|
-
});
|
|
425
|
-
}, 700);
|
|
426
|
-
}
|
|
414
|
+
if (!styleData.value.cover_url)
|
|
415
|
+
;
|
|
427
416
|
});
|
|
428
417
|
return (_ctx, _cache) => {
|
|
429
418
|
var _a, _b, _c, _d, _e, _f;
|
|
@@ -434,20 +423,20 @@ const _sfc_main = defineComponent({
|
|
|
434
423
|
}, [
|
|
435
424
|
createCommentVNode(" \u5C01\u9762\u6807\u9898"),
|
|
436
425
|
createElementVNode("div", {
|
|
437
|
-
class: normalizeClass(["banner-view", { flex:
|
|
426
|
+
class: normalizeClass(["banner-view", { flex: __props.flex }])
|
|
438
427
|
}, [
|
|
439
|
-
|
|
428
|
+
__props.mode !== "smiple" && __props.showTitle ? (openBlock(), createElementBlock("div", {
|
|
440
429
|
key: 0,
|
|
441
430
|
class: "title",
|
|
442
|
-
style: normalizeStyle({ width:
|
|
431
|
+
style: normalizeStyle({ width: __props.offset })
|
|
443
432
|
}, [
|
|
444
|
-
|
|
445
|
-
createElementVNode("span", null, toDisplayString(
|
|
433
|
+
__props.titleValid ? (openBlock(), createElementBlock("span", _hoisted_1, "*")) : createCommentVNode("v-if", true),
|
|
434
|
+
createElementVNode("span", null, toDisplayString(__props.title ? __props.title : "\u5C01\u9762"), 1),
|
|
446
435
|
createCommentVNode(" \u4E0A\u4E0B\u5E03\u5C40\u663E\u793A tip"),
|
|
447
|
-
((_a = curtemplate.value) == null ? void 0 : _a.value) !== "4" && !
|
|
436
|
+
((_a = curtemplate.value) == null ? void 0 : _a.value) !== "4" && !__props.flex ? (openBlock(), createElementBlock("span", _hoisted_2, " (" + toDisplayString((_b = curtemplate.value) == null ? void 0 : _b.alias) + "\u6BD4\u4F8B\uFF1A" + toDisplayString((_c = curtemplate.value) == null ? void 0 : _c.ratioStr) + ") ", 1)) : createCommentVNode("v-if", true)
|
|
448
437
|
], 4)) : createCommentVNode("v-if", true),
|
|
449
438
|
createElementVNode("div", _hoisted_3, [
|
|
450
|
-
["thumbs"].includes(
|
|
439
|
+
["thumbs"].includes(__props.mode) ? (openBlock(), createElementBlock("div", _hoisted_4, [
|
|
451
440
|
(openBlock(true), createElementBlock(Fragment, null, renderList(thumbsLengthList.value, (item, index) => {
|
|
452
441
|
return openBlock(), createBlock(_sfc_main$1, {
|
|
453
442
|
key: index,
|
|
@@ -457,7 +446,7 @@ const _sfc_main = defineComponent({
|
|
|
457
446
|
parentRef: selectThumbRef.value,
|
|
458
447
|
idx: index,
|
|
459
448
|
"preview-list": previewList.value,
|
|
460
|
-
"is-popover":
|
|
449
|
+
"is-popover": __props.localUpload,
|
|
461
450
|
"thumb-model": "thumb",
|
|
462
451
|
onFileForShowThumb: fileForShowThumb,
|
|
463
452
|
onChangeThumbType: changeThumbType,
|
|
@@ -478,7 +467,7 @@ const _sfc_main = defineComponent({
|
|
|
478
467
|
model: model.value,
|
|
479
468
|
idx: index,
|
|
480
469
|
"preview-list": previewList.value,
|
|
481
|
-
"is-popover":
|
|
470
|
+
"is-popover": __props.localUpload,
|
|
482
471
|
"thumb-model": "thumb",
|
|
483
472
|
onFileForShowThumb: fileForShowThumb,
|
|
484
473
|
onChangeThumbType: changeThumbType,
|
|
@@ -490,9 +479,9 @@ const _sfc_main = defineComponent({
|
|
|
490
479
|
], 2112)) : createCommentVNode("v-if", true),
|
|
491
480
|
createCommentVNode(" \u5DE6\u53F3\u5E03\u5C40\u663E\u793Atip "),
|
|
492
481
|
createElementVNode("div", _hoisted_6, [
|
|
493
|
-
((_d = curtemplate.value) == null ? void 0 : _d.value) !== "4" &&
|
|
482
|
+
((_d = curtemplate.value) == null ? void 0 : _d.value) !== "4" && __props.flex ? (openBlock(), createElementBlock("span", _hoisted_7, " (" + toDisplayString((_e = curtemplate.value) == null ? void 0 : _e.alias) + "\u6BD4\u4F8B\uFF1A" + toDisplayString((_f = curtemplate.value) == null ? void 0 : _f.ratioStr) + ") ", 1)) : createCommentVNode("v-if", true)
|
|
494
483
|
]),
|
|
495
|
-
["doc"].includes(
|
|
484
|
+
["doc"].includes(__props.mode) ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
496
485
|
createCommentVNode(" \u9009\u62E9\u5927\u56FE\u3001\u4E09\u56FE\u3001\u5355\u56FE...\u7B49\u6A21\u5F0F "),
|
|
497
486
|
createVNode(unref(RadioGroup), {
|
|
498
487
|
modelValue: model.value,
|
|
@@ -516,29 +505,29 @@ const _sfc_main = defineComponent({
|
|
|
516
505
|
}), 128))
|
|
517
506
|
]),
|
|
518
507
|
_: 1
|
|
519
|
-
}, 8, ["modelValue"])
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
508
|
+
}, 8, ["modelValue"]),
|
|
509
|
+
hasCover.value ? (openBlock(), createBlock(_sfc_main$2, {
|
|
510
|
+
key: 0,
|
|
511
|
+
"style-data": styleData.value,
|
|
512
|
+
model: "cover",
|
|
513
|
+
style: { "margin-top": "10px" },
|
|
514
|
+
onChange: colorChange
|
|
515
|
+
}, null, 8, ["style-data"])) : createCommentVNode("v-if", true)
|
|
516
|
+
], 64)) : createCommentVNode("v-if", true)
|
|
528
517
|
])
|
|
529
518
|
], 2),
|
|
530
|
-
|
|
519
|
+
__props.mode === "doc" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
531
520
|
createCommentVNode(" \u72EC\u7ACB\u8F6E\u535A\u56FE "),
|
|
532
521
|
createElementVNode("div", {
|
|
533
|
-
class: normalizeClass(["banner-view", { flex:
|
|
522
|
+
class: normalizeClass(["banner-view", { flex: __props.flex }])
|
|
534
523
|
}, [
|
|
535
524
|
createElementVNode("div", {
|
|
536
525
|
class: "title",
|
|
537
|
-
style: normalizeStyle({ width:
|
|
526
|
+
style: normalizeStyle({ width: __props.offset })
|
|
538
527
|
}, [
|
|
539
528
|
_cache[11] || (_cache[11] = createElementVNode("span", { style: { "margin-right": "10px" } }, "\u72EC\u7ACB\u8F6E\u64AD\u56FE", -1)),
|
|
540
529
|
createCommentVNode(" \u4E0A\u4E0B\u5E03\u5C40\u5F00\u5173\u5728\u6807\u9898\u540E "),
|
|
541
|
-
!
|
|
530
|
+
!__props.flex ? (openBlock(), createBlock(unref(Switch), {
|
|
542
531
|
key: 0,
|
|
543
532
|
modelValue: hasBanner.value,
|
|
544
533
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => hasBanner.value = $event),
|
|
@@ -547,7 +536,7 @@ const _sfc_main = defineComponent({
|
|
|
547
536
|
], 4),
|
|
548
537
|
createElementVNode("div", _hoisted_8, [
|
|
549
538
|
createCommentVNode(" \u5DE6\u53F3\u5E03\u5C40\u5F00\u5173\u663E\u793A "),
|
|
550
|
-
|
|
539
|
+
__props.flex ? (openBlock(), createBlock(unref(Switch), {
|
|
551
540
|
key: 0,
|
|
552
541
|
modelValue: hasBanner.value,
|
|
553
542
|
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => hasBanner.value = $event),
|
|
@@ -561,16 +550,16 @@ const _sfc_main = defineComponent({
|
|
|
561
550
|
"onUpdate:data": _cache[5] || (_cache[5] = ($event) => banner.value = $event),
|
|
562
551
|
parentRef: selectThumbRef.value,
|
|
563
552
|
"preview-list": previewList.value,
|
|
564
|
-
"is-popover":
|
|
553
|
+
"is-popover": __props.localUpload,
|
|
565
554
|
"thumb-model": "banner",
|
|
566
555
|
onFileForShowThumb: fileForShowThumb,
|
|
567
556
|
onChangeThumbType: changeThumbType,
|
|
568
557
|
onUploadLocal: _cache[6] || (_cache[6] = (cb) => _ctx.$emit("upload", cb)),
|
|
569
558
|
onOpen: openDialogMediaSelection
|
|
570
559
|
}, null, 8, ["data", "parentRef", "preview-list", "is-popover"])) : createCommentVNode("v-if", true),
|
|
571
|
-
hasBanner.value && styleData.value.banner_theme_color ? (openBlock(), createElementBlock("div", _hoisted_9, _cache[12] || (_cache[12] = [
|
|
560
|
+
hasBanner.value && styleData.value.banner_theme_color ? (openBlock(), createElementBlock("div", _hoisted_9, [..._cache[12] || (_cache[12] = [
|
|
572
561
|
createElementVNode("span", null, "\u72EC\u7ACB\u8F6E\u64AD\u56FE\u80CC\u666F\u989C\u8272", -1)
|
|
573
|
-
]))) : createCommentVNode("v-if", true),
|
|
562
|
+
])])) : createCommentVNode("v-if", true),
|
|
574
563
|
createCommentVNode(" banner\u8C03\u8272\u677F "),
|
|
575
564
|
hasBanner.value ? (openBlock(), createBlock(_sfc_main$2, {
|
|
576
565
|
key: 3,
|
|
@@ -582,17 +571,17 @@ const _sfc_main = defineComponent({
|
|
|
582
571
|
], 2),
|
|
583
572
|
createCommentVNode(" pc\u5C01\u9762\u56FE\uFF08\u4E13\u9898\u5934\u56FE\u5171\u7528\u4E00\u4E2A\u5B57\u6BB5\uFF09 "),
|
|
584
573
|
createElementVNode("div", {
|
|
585
|
-
class: normalizeClass(["banner-view", { flex:
|
|
574
|
+
class: normalizeClass(["banner-view", { flex: __props.flex }])
|
|
586
575
|
}, [
|
|
587
576
|
createElementVNode("div", {
|
|
588
577
|
class: "title",
|
|
589
|
-
style: normalizeStyle({ width:
|
|
578
|
+
style: normalizeStyle({ width: __props.offset })
|
|
590
579
|
}, [
|
|
591
580
|
docSeriesShowTopThemeColor.value ? (openBlock(), createElementBlock("span", _hoisted_10, [
|
|
592
|
-
|
|
593
|
-
createElementVNode("span", null, toDisplayString(
|
|
581
|
+
__props.topImageTitleValid ? (openBlock(), createElementBlock("span", _hoisted_11, "*")) : createCommentVNode("v-if", true),
|
|
582
|
+
createElementVNode("span", null, toDisplayString(__props.topImageTitle || "\u5C01\u9762\u5934\u56FE"), 1)
|
|
594
583
|
])) : (openBlock(), createElementBlock("span", _hoisted_12, "PC\u5C01\u9762\u56FE")),
|
|
595
|
-
!
|
|
584
|
+
!__props.flex ? (openBlock(), createElementBlock("span", _hoisted_13, " (\u5EFA\u8BAE\u5C3A\u5BF8\uFF1A1242px*662px) ")) : createCommentVNode("v-if", true)
|
|
596
585
|
], 4),
|
|
597
586
|
createElementVNode("div", _hoisted_14, [
|
|
598
587
|
createVNode(_sfc_main$1, {
|
|
@@ -601,17 +590,17 @@ const _sfc_main = defineComponent({
|
|
|
601
590
|
"onUpdate:data": _cache[7] || (_cache[7] = ($event) => pcBanner.value = $event),
|
|
602
591
|
parentRef: selectThumbRef.value,
|
|
603
592
|
previewList: previewList.value,
|
|
604
|
-
"is-popover":
|
|
593
|
+
"is-popover": __props.localUpload,
|
|
605
594
|
thumbModel: "pcBanner",
|
|
606
595
|
onFileForShowThumb: fileForShowThumb,
|
|
607
596
|
onChangeThumbType: changeThumbType,
|
|
608
597
|
onUploadLocal: _cache[8] || (_cache[8] = (cb) => _ctx.$emit("upload", cb)),
|
|
609
598
|
onOpen: openDialogMediaSelection
|
|
610
599
|
}, null, 8, ["data", "parentRef", "previewList", "is-popover"]),
|
|
611
|
-
|
|
612
|
-
docSeriesShowTopThemeColor.value && styleData.value.top_theme_color ? (openBlock(), createElementBlock("div", _hoisted_16, _cache[13] || (_cache[13] = [
|
|
600
|
+
__props.flex ? (openBlock(), createElementBlock("span", _hoisted_15, "(\u5EFA\u8BAE\u5C3A\u5BF8\uFF1A1242px*662px)")) : createCommentVNode("v-if", true),
|
|
601
|
+
docSeriesShowTopThemeColor.value && styleData.value.top_theme_color ? (openBlock(), createElementBlock("div", _hoisted_16, [..._cache[13] || (_cache[13] = [
|
|
613
602
|
createElementVNode("span", null, "\u56FE\u7247\u80CC\u666F\u989C\u8272", -1)
|
|
614
|
-
]))) : createCommentVNode("v-if", true),
|
|
603
|
+
])])) : createCommentVNode("v-if", true),
|
|
615
604
|
docSeriesShowTopThemeColor.value ? (openBlock(), createBlock(_sfc_main$2, {
|
|
616
605
|
key: 2,
|
|
617
606
|
model: "top",
|
|
@@ -637,7 +626,7 @@ const _sfc_main = defineComponent({
|
|
|
637
626
|
visible: dialogMediaSelectionShow.value,
|
|
638
627
|
"onUpdate:visible": _cache[9] || (_cache[9] = ($event) => dialogMediaSelectionShow.value = $event),
|
|
639
628
|
maxcount: 1,
|
|
640
|
-
"media-use-type":
|
|
629
|
+
"media-use-type": __props.mediaUseType,
|
|
641
630
|
userInfo: { domain_id: 1, repository_id: 4 },
|
|
642
631
|
filterOptions: { mediaType: "image", mediaTypeStrict: true },
|
|
643
632
|
wrap: "modal",
|
|
@@ -70,7 +70,7 @@ const _sfc_main = defineComponent({
|
|
|
70
70
|
return (_ctx, _cache) => {
|
|
71
71
|
var _a;
|
|
72
72
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
73
|
-
|
|
73
|
+
__props.isPopover ? (openBlock(), createBlock(unref(Popover), {
|
|
74
74
|
key: 0,
|
|
75
75
|
trigger: "hover",
|
|
76
76
|
position: "bottom",
|
|
@@ -105,7 +105,7 @@ const _sfc_main = defineComponent({
|
|
|
105
105
|
}, [
|
|
106
106
|
createVNode(unref(IconEdit))
|
|
107
107
|
]),
|
|
108
|
-
|
|
108
|
+
__props.along ? (openBlock(), createElementBlock("span", {
|
|
109
109
|
key: 0,
|
|
110
110
|
class: "half",
|
|
111
111
|
onClick: withModifiers(remove, ["stop"])
|
|
@@ -151,7 +151,7 @@ const _sfc_main = defineComponent({
|
|
|
151
151
|
}, [
|
|
152
152
|
createVNode(unref(IconEdit))
|
|
153
153
|
]),
|
|
154
|
-
|
|
154
|
+
__props.along ? (openBlock(), createElementBlock("span", {
|
|
155
155
|
key: 0,
|
|
156
156
|
class: "half",
|
|
157
157
|
onClick: withModifiers(remove, ["stop"])
|
package/es/style.css
CHANGED
|
@@ -4,3 +4,66 @@
|
|
|
4
4
|
line-height: 12px;
|
|
5
5
|
font-size: 18px;
|
|
6
6
|
}
|
|
7
|
+
.content-tabs[data-v-7f81762c] .arco-tabs-content {
|
|
8
|
+
padding: 0;
|
|
9
|
+
}
|
|
10
|
+
.add-content-modal-body[data-v-7f81762c] {
|
|
11
|
+
padding: 0;
|
|
12
|
+
}
|
|
13
|
+
.content-tabs[data-v-00adfb7c] .arco-tabs-content {
|
|
14
|
+
padding: 0;
|
|
15
|
+
}
|
|
16
|
+
.add-content-modal-body[data-v-00adfb7c] {
|
|
17
|
+
padding: 0;
|
|
18
|
+
}
|
|
19
|
+
.view-all-column-container[data-v-01c2d0b8] {
|
|
20
|
+
display: flex;
|
|
21
|
+
flex-direction: column;
|
|
22
|
+
height: 100%;
|
|
23
|
+
}
|
|
24
|
+
.content-table-view[data-v-01c2d0b8] {
|
|
25
|
+
flex: 1;
|
|
26
|
+
overflow: auto;
|
|
27
|
+
margin: 16px 0;
|
|
28
|
+
}
|
|
29
|
+
.bottom-view[data-v-01c2d0b8] {
|
|
30
|
+
display: flex;
|
|
31
|
+
justify-content: space-between;
|
|
32
|
+
align-items: center;
|
|
33
|
+
padding: 16px 0;
|
|
34
|
+
}
|
|
35
|
+
.bottom-view .left[data-v-01c2d0b8] {
|
|
36
|
+
display: flex;
|
|
37
|
+
align-items: center;
|
|
38
|
+
gap: 16px;
|
|
39
|
+
}
|
|
40
|
+
.title-span[data-v-01c2d0b8] {
|
|
41
|
+
display: flex;
|
|
42
|
+
align-items: center;
|
|
43
|
+
gap: 8px;
|
|
44
|
+
}
|
|
45
|
+
.title-span .icon[data-v-01c2d0b8] {
|
|
46
|
+
font-size: 16px;
|
|
47
|
+
}
|
|
48
|
+
.title-span .title[data-v-01c2d0b8] {
|
|
49
|
+
flex: 1;
|
|
50
|
+
overflow: hidden;
|
|
51
|
+
text-overflow: ellipsis;
|
|
52
|
+
white-space: nowrap;
|
|
53
|
+
}
|
|
54
|
+
.pic-thumb-img[data-v-01c2d0b8] {
|
|
55
|
+
width: 80px;
|
|
56
|
+
height: 80px;
|
|
57
|
+
object-fit: cover;
|
|
58
|
+
border-radius: 4px;
|
|
59
|
+
}
|
|
60
|
+
.pic-thumb-img.placeholder[data-v-01c2d0b8] {
|
|
61
|
+
background-color: #f5f5f5;
|
|
62
|
+
display: flex;
|
|
63
|
+
align-items: center;
|
|
64
|
+
justify-content: center;
|
|
65
|
+
}
|
|
66
|
+
.pic-thumb-img.placeholder .placeholder-text[data-v-01c2d0b8] {
|
|
67
|
+
color: #999;
|
|
68
|
+
font-size: 12px;
|
|
69
|
+
}
|
|
@@ -81,26 +81,26 @@ const _sfc_main = defineComponent({
|
|
|
81
81
|
}, [
|
|
82
82
|
isUploading.value ? (openBlock(), createBlock(_sfc_main$1, {
|
|
83
83
|
key: 0,
|
|
84
|
-
meta:
|
|
85
|
-
}, null, 8, ["meta"])) :
|
|
84
|
+
meta: __props.meta
|
|
85
|
+
}, null, 8, ["meta"])) : __props.catalog && __props.url ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
86
86
|
createCommentVNode(" \u6709\u7C7B\u578B\u7684\u5C01\u9762 "),
|
|
87
87
|
createCommentVNode(" \u56FE\u7247 "),
|
|
88
|
-
|
|
88
|
+
__props.catalog ? (openBlock(), createBlock(unref(Image), mergeProps({
|
|
89
89
|
key: 0,
|
|
90
90
|
class: "thumb-image",
|
|
91
91
|
src: realThumb.value
|
|
92
92
|
}, aImageAttr.value), null, 16, ["src"])) : createCommentVNode("v-if", true)
|
|
93
93
|
], 64)) : createCommentVNode("v-if", true),
|
|
94
94
|
createCommentVNode(" \u4E00\u4E9B\u6807\u7B7E\uFF08\u56DB\u4E2A\u89D2\uFF09 "),
|
|
95
|
-
["video", "audio"].includes(
|
|
96
|
-
|
|
97
|
-
createTextVNode(" " + toDisplayString(unref(mediaTime)((_a =
|
|
95
|
+
["video", "audio"].includes(__props.catalog) && __props.meta ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
96
|
+
__props.catalog === "video" ? (openBlock(), createBlock(unref(IconVideoTag), { key: 0 })) : (openBlock(), createBlock(unref(IconAudioTag), { key: 1 })),
|
|
97
|
+
createTextVNode(" " + toDisplayString(unref(mediaTime)((_a = __props.meta) == null ? void 0 : _a.length)), 1)
|
|
98
98
|
])) : createCommentVNode("v-if", true),
|
|
99
99
|
createCommentVNode(" \u5916\u6302\u9009\u9879 "),
|
|
100
100
|
createElementVNode("div", {
|
|
101
101
|
class: normalizeClass(["thumb-handler-list", thumbHandlerClass.value])
|
|
102
102
|
}, [
|
|
103
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(
|
|
103
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.handlersKey, (item) => {
|
|
104
104
|
return openBlock(), createElementBlock("div", {
|
|
105
105
|
key: item.key,
|
|
106
106
|
class: "handler-item",
|
|
@@ -29,12 +29,12 @@ const _sfc_main = defineComponent({
|
|
|
29
29
|
!isFaild.value ? (openBlock(), createBlock(unref(Progress), {
|
|
30
30
|
key: 0,
|
|
31
31
|
type: "circle",
|
|
32
|
-
percent: (_a =
|
|
32
|
+
percent: (_a = __props.meta) == null ? void 0 : _a.progress
|
|
33
33
|
}, null, 8, ["percent"])) : createCommentVNode("v-if", true),
|
|
34
|
-
|
|
34
|
+
__props.meta.msg ? (openBlock(), createElementBlock("div", {
|
|
35
35
|
key: 1,
|
|
36
36
|
class: normalizeClass(["thumb-upload-text", textStatusClass.value])
|
|
37
|
-
}, toDisplayString((_b =
|
|
37
|
+
}, toDisplayString((_b = __props.meta) == null ? void 0 : _b.msg), 3)) : createCommentVNode("v-if", true)
|
|
38
38
|
]);
|
|
39
39
|
};
|
|
40
40
|
}
|
|
@@ -35,7 +35,7 @@ const _sfc_main = defineComponent({
|
|
|
35
35
|
createVNode(unref(IconYinpinji), { style: { "color": "#1fb7c2" } })
|
|
36
36
|
], 2112)) : props.doc && props.type === "video_album" ? (openBlock(), createElementBlock(Fragment, { key: 7 }, [
|
|
37
37
|
createCommentVNode(" \u89C6\u9891\u96C6 "),
|
|
38
|
-
createVNode(unref(IconShipinji))
|
|
38
|
+
createVNode(unref(IconShipinji), { style: { "color": "#f05050" } })
|
|
39
39
|
], 2112)) : props.doc && props.type === "mini_program" ? (openBlock(), createElementBlock(Fragment, { key: 8 }, [
|
|
40
40
|
createCommentVNode(" \u89C6\u9891\u96C6 "),
|
|
41
41
|
createVNode(unref(IconMiniprogram))
|
|
@@ -62,7 +62,7 @@ const _sfc_main = defineComponent({
|
|
|
62
62
|
return (_ctx, _cache) => {
|
|
63
63
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
64
64
|
createVNode(_sfc_main$1, {
|
|
65
|
-
"upload-method":
|
|
65
|
+
"upload-method": __props.uploadMethod,
|
|
66
66
|
onAfterChoose: afterChoose
|
|
67
67
|
}, null, 8, ["upload-method"]),
|
|
68
68
|
createVNode(_sfc_main$2, {
|
|
@@ -121,9 +121,9 @@ const _sfc_main = defineComponent({
|
|
|
121
121
|
onOk: handleOk,
|
|
122
122
|
onCancel: handleClose
|
|
123
123
|
}, {
|
|
124
|
-
title: withCtx(() => _cache[1] || (_cache[1] = [
|
|
125
|
-
createTextVNode("\u4E0A\u4F20\u914D\u7F6E")
|
|
126
|
-
])),
|
|
124
|
+
title: withCtx(() => [..._cache[1] || (_cache[1] = [
|
|
125
|
+
createTextVNode("\u4E0A\u4F20\u914D\u7F6E", -1)
|
|
126
|
+
])]),
|
|
127
127
|
default: withCtx(() => [
|
|
128
128
|
createElementVNode("div", _hoisted_1, [
|
|
129
129
|
createVNode(unref(Table), {
|
|
@@ -162,8 +162,8 @@ const _sfc_main = defineComponent({
|
|
|
162
162
|
}, 1032, ["value"]);
|
|
163
163
|
}), 128))
|
|
164
164
|
]),
|
|
165
|
-
_:
|
|
166
|
-
},
|
|
165
|
+
_: 1
|
|
166
|
+
}, 8, ["modelValue", "onUpdate:modelValue"])) : (openBlock(), createElementBlock("div", _hoisted_2, "\u2014 \u2014"))
|
|
167
167
|
]),
|
|
168
168
|
vTransTemp: withCtx(({ rowIndex, record }) => [
|
|
169
169
|
["dir", "video"].includes(record.type) ? (openBlock(), createBlock(unref(Select), {
|
|
@@ -187,8 +187,8 @@ const _sfc_main = defineComponent({
|
|
|
187
187
|
}, 1032, ["value"]);
|
|
188
188
|
}), 128))
|
|
189
189
|
]),
|
|
190
|
-
_:
|
|
191
|
-
},
|
|
190
|
+
_: 1
|
|
191
|
+
}, 8, ["modelValue", "onUpdate:modelValue"])) : (openBlock(), createElementBlock("div", _hoisted_3, "\u2014 \u2014"))
|
|
192
192
|
]),
|
|
193
193
|
aTransTemp: withCtx(({ record, rowIndex }) => [
|
|
194
194
|
["dir", "audio"].includes(record.type) ? (openBlock(), createBlock(unref(Select), {
|
|
@@ -212,8 +212,8 @@ const _sfc_main = defineComponent({
|
|
|
212
212
|
}, 1032, ["value"]);
|
|
213
213
|
}), 128))
|
|
214
214
|
]),
|
|
215
|
-
_:
|
|
216
|
-
},
|
|
215
|
+
_: 1
|
|
216
|
+
}, 8, ["modelValue", "onUpdate:modelValue"])) : (openBlock(), createElementBlock("div", _hoisted_4, "\u2014 \u2014"))
|
|
217
217
|
]),
|
|
218
218
|
_: 1
|
|
219
219
|
}, 8, ["data"])
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export declare function getWaterMark(BASE_API: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
2
|
-
export declare function getVideoTransTemplate(BASE_API: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
3
|
-
export declare function getAudioTransTrempalte(BASE_API: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
1
|
+
export declare function getWaterMark(BASE_API: string): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
2
|
+
export declare function getVideoTransTemplate(BASE_API: string): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
3
|
+
export declare function getAudioTransTrempalte(BASE_API: string): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
4
4
|
export declare type TypeAddMediaParam = {
|
|
5
5
|
url: string;
|
|
6
6
|
alias: string;
|
|
@@ -13,4 +13,4 @@ export declare type TypeAddMediaParam = {
|
|
|
13
13
|
video_transcode_template?: any;
|
|
14
14
|
audio_transcode_template?: any;
|
|
15
15
|
};
|
|
16
|
-
export declare function addMedia(BASE_API: string, params: TypeAddMediaParam): Promise<import("axios").AxiosResponse<any, any>>;
|
|
16
|
+
export declare function addMedia(BASE_API: string, params: TypeAddMediaParam): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
@@ -62,7 +62,7 @@ const _sfc_main = defineComponent({
|
|
|
62
62
|
const uploadingFilter = (state) => [3, 5].includes(state);
|
|
63
63
|
return (_ctx, _cache) => {
|
|
64
64
|
return withDirectives((openBlock(), createElementBlock("div", {
|
|
65
|
-
class: normalizeClass(["panel_wrp", { global:
|
|
65
|
+
class: normalizeClass(["panel_wrp", { global: __props.global }])
|
|
66
66
|
}, [
|
|
67
67
|
createVNode(unref(Card), {
|
|
68
68
|
hoverable: "",
|
|
@@ -99,7 +99,7 @@ const _sfc_main = defineComponent({
|
|
|
99
99
|
createElementVNode("div", {
|
|
100
100
|
class: normalizeClass(["panel_list", { un_expend: !unref(expend) }])
|
|
101
101
|
}, [
|
|
102
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(
|
|
102
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.fileList, (file) => {
|
|
103
103
|
return openBlock(), createElementBlock("div", {
|
|
104
104
|
key: file.id,
|
|
105
105
|
class: "panel_item"
|
|
@@ -141,7 +141,7 @@ const _sfc_main = defineComponent({
|
|
|
141
141
|
_: 1
|
|
142
142
|
}, 8, ["class", "body-style"])
|
|
143
143
|
], 2)), [
|
|
144
|
-
[vShow,
|
|
144
|
+
[vShow, __props.visable]
|
|
145
145
|
]);
|
|
146
146
|
};
|
|
147
147
|
}
|
|
@@ -137,9 +137,9 @@ const _sfc_main = defineComponent({
|
|
|
137
137
|
type: "text",
|
|
138
138
|
onClick: _cache[1] || (_cache[1] = ($event) => loginOut())
|
|
139
139
|
}, {
|
|
140
|
-
default: withCtx(() => _cache[2] || (_cache[2] = [
|
|
141
|
-
createTextVNode("\u9000\u51FA")
|
|
142
|
-
])),
|
|
140
|
+
default: withCtx(() => [..._cache[2] || (_cache[2] = [
|
|
141
|
+
createTextVNode("\u9000\u51FA", -1)
|
|
142
|
+
])]),
|
|
143
143
|
_: 1
|
|
144
144
|
})
|
|
145
145
|
])
|