@cmstops/pro-compo 0.1.9 → 0.1.11
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/dist/index.css +949 -0
- package/dist/index.min.css +1 -1
- package/es/_virtual/plugin-vue_export-helper.js +7 -0
- package/es/config.d.ts +2 -0
- package/es/config.js +5 -3
- package/es/contentDetailList/component.d.ts +0 -0
- package/es/contentDetailList/component.js +89 -0
- package/es/contentDetailList/components/Content/CompoItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/CompoItem/index.js +76 -0
- package/es/contentDetailList/components/Content/ContentListItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/ContentListItem/index.js +99 -0
- package/es/contentDetailList/components/Content/DocItem/ApprovalStateMap/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/DocItem/ApprovalStateMap/index.js +71 -0
- package/es/contentDetailList/components/Content/DocItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/DocItem/index.js +199 -0
- package/es/contentDetailList/components/Content/KongoNavItem/DocTags/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/KongoNavItem/DocTags/index.js +184 -0
- package/es/contentDetailList/components/Content/KongoNavItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/KongoNavItem/index.js +131 -0
- package/es/contentDetailList/components/Content/LiveItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/LiveItem/index.js +82 -0
- package/es/contentDetailList/components/Content/MaccountItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/MaccountItem/index.js +84 -0
- package/es/contentDetailList/components/Content/MaccountItem/temp/user.js +2 -0
- package/es/contentDetailList/components/Content/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/index.js +308 -0
- package/es/contentDetailList/components/Doc/index.d.ts +0 -0
- package/es/contentDetailList/components/Doc/index.js +58 -0
- package/es/contentDetailList/index.d.ts +2 -0
- package/es/contentDetailList/index.js +7 -0
- package/es/contentDetailList/scripts/data.d.ts +254 -0
- package/es/contentDetailList/scripts/index.d.ts +58 -0
- package/es/contentDetailList/scripts/index.js +137 -0
- package/es/contentDetailList/style/ComoItem.less +106 -0
- package/es/contentDetailList/style/Content.less +49 -0
- package/es/contentDetailList/style/ContentListItem.less +131 -0
- package/es/contentDetailList/style/Doc.less +8 -0
- package/es/contentDetailList/style/DocItem.less +145 -0
- package/es/contentDetailList/style/DocTags.less +63 -0
- package/es/contentDetailList/style/KongoNavItem.less +110 -0
- package/es/contentDetailList/style/LiveItem.less +115 -0
- package/es/contentDetailList/style/MaccountItem.less +114 -0
- package/es/contentDetailList/style/css.js +1 -0
- package/es/contentDetailList/style/index.css +683 -0
- package/es/contentDetailList/style/index.d.ts +1 -0
- package/es/contentDetailList/style/index.js +1 -0
- package/es/contentDetailList/style/index.less +9 -0
- package/es/contentModal/component.js +2 -1
- package/es/contentModal/components/CompoList/CompoFilter/index.js +3 -2
- package/es/contentModal/components/CompoList/index.js +3 -2
- package/es/contentModal/components/ViewAllColumn/MediaFilter/index.js +2 -1
- package/es/contentModal/components/ViewAllColumn/columnTree/index.js +2 -1
- package/es/contentModal/components/ViewAllColumn/index.js +2 -1
- package/es/contentModal/components/storeBox/index.js +2 -1
- package/es/emptyData/component.d.ts +0 -0
- package/es/emptyData/component.js +48 -0
- package/es/emptyData/index.d.ts +2 -0
- package/es/emptyData/index.js +7 -0
- package/es/emptyData/style/css.js +1 -0
- package/es/emptyData/style/index.css +26 -0
- package/es/emptyData/style/index.d.ts +1 -0
- package/es/emptyData/style/index.js +1 -0
- package/es/emptyData/style/index.less +30 -0
- package/es/hooks/toggle.d.ts +6 -0
- package/es/hooks/toggle.js +9 -0
- package/es/hooks/user.js +2 -0
- package/es/index.css +949 -0
- package/es/index.d.ts +6 -0
- package/es/index.js +6 -0
- package/es/index.less +6 -0
- package/es/mediaFilter/component.d.ts +0 -0
- package/es/mediaFilter/component.js +41 -0
- package/es/mediaFilter/components/DocFilter.d.ts +0 -0
- package/es/mediaFilter/components/DocFilter.js +251 -0
- package/es/mediaFilter/components/DocFilter.vue_vue_type_style_index_0_scoped_true_lang.js +2 -0
- package/es/mediaFilter/components/FilterGroup.d.ts +0 -0
- package/es/mediaFilter/components/FilterGroup.js +187 -0
- package/es/mediaFilter/components/FilterGroup.vue_vue_type_style_index_0_scoped_true_lang.js +2 -0
- package/es/mediaFilter/components/FilterItem.d.ts +0 -0
- package/es/mediaFilter/components/FilterItem.js +116 -0
- package/es/mediaFilter/components/FilterItem.vue_vue_type_style_index_0_scoped_true_lang.js +2 -0
- package/es/mediaFilter/components/MediaFilter.js +8 -0
- package/es/mediaFilter/components/MpAccountFilter.js +8 -0
- package/es/mediaFilter/components/MpContentFilter.js +8 -0
- package/es/mediaFilter/index.d.ts +2 -0
- package/es/mediaFilter/index.js +7 -0
- package/es/mediaFilter/script/optionsGetter.d.ts +26 -0
- package/es/mediaFilter/script/optionsGetter.js +82 -0
- package/es/mediaFilter/style/css.js +1 -0
- package/es/mediaFilter/style/index.css +4 -0
- package/es/mediaFilter/style/index.d.ts +1 -0
- package/es/mediaFilter/style/index.js +1 -0
- package/es/mediaFilter/style/index.less +4 -0
- package/es/messageBox/list.js +2 -1
- package/es/previousVersion/component.js +2 -1
- package/es/previousVersion/style/index.less +1 -0
- package/es/resourceModal/component.js +2 -1
- package/es/resourceModal/components/MediaPreviewer/index.js +2 -1
- package/es/resourceModal/components/MediaSelection/DocAiMediaSelected/index.js +2 -1
- package/es/resourceModal/components/MediaSelection/MainContent/FileTypeThumb/index.js +5 -3
- package/es/resourceModal/components/MediaSelection/MainContent/index.js +4 -2
- package/es/resourceModal/components/MediaSelection/ToolbarSearch/index.js +2 -1
- package/es/resourceModal/components/MediaSelection/index.js +3 -2
- package/es/resourceModal/script/filter.d.ts +1 -0
- package/es/resourceModal/script/filter.js +15 -2
- package/es/selectAvatarList/component.d.ts +0 -0
- package/es/selectAvatarList/component.js +77 -0
- package/es/selectAvatarList/index.d.ts +2 -0
- package/es/selectAvatarList/index.js +7 -0
- package/es/selectAvatarList/style/css.js +1 -0
- package/es/selectAvatarList/style/index.css +4 -0
- package/es/selectAvatarList/style/index.d.ts +1 -0
- package/es/selectAvatarList/style/index.js +1 -0
- package/es/selectAvatarList/style/index.less +4 -0
- package/es/selectGategory/component.js +5 -12
- package/es/selectGategory/components/ColumnSelection/index.js +5 -1
- package/es/style.css +89 -0
- package/es/uploadBefore/component.d.ts +0 -0
- package/es/uploadBefore/component.js +81 -0
- package/es/uploadBefore/components/UploadBefore.d.ts +0 -0
- package/es/uploadBefore/components/UploadBefore.js +228 -0
- package/es/uploadBefore/components/UploadForClick.d.ts +0 -0
- package/es/uploadBefore/components/UploadForClick.js +28 -0
- package/es/uploadBefore/index.d.ts +2 -0
- package/es/uploadBefore/index.js +7 -0
- package/es/uploadBefore/script/api.d.ts +16 -0
- package/es/uploadBefore/script/api.js +27 -0
- package/es/uploadBefore/script/fileTypeAdapter.d.ts +39 -0
- package/es/uploadBefore/script/fileTypeAdapter.js +48 -0
- package/es/uploadBefore/script/fileUpload.d.ts +7 -0
- package/es/uploadBefore/script/fileUpload.js +39 -0
- package/es/uploadBefore/script/uploadHooks.d.ts +55 -0
- package/es/uploadBefore/script/uploadHooks.js +33 -0
- package/es/uploadBefore/style/css.js +1 -0
- package/es/uploadBefore/style/index.css +111 -0
- package/es/uploadBefore/style/index.d.ts +1 -0
- package/es/uploadBefore/style/index.js +1 -0
- package/es/uploadBefore/style/index.less +144 -0
- package/es/uploadBefore/utils/dragUploadEvent.d.ts +0 -0
- package/es/uploadStep/component.js +139 -4
- package/es/uploadStep/script/fileTypeAdapter.d.ts +20 -0
- package/es/uploadStep/style/index.css +113 -0
- package/es/uploadStep/style/index.less +148 -0
- package/es/userDirector/component.d.ts +0 -0
- package/es/userDirector/component.js +200 -0
- package/es/userDirector/index.d.ts +2 -0
- package/es/userDirector/index.js +7 -0
- package/es/userDirector/script/api.d.ts +9 -0
- package/es/userDirector/script/api.js +32 -0
- package/es/userDirector/style/css.js +1 -0
- package/es/userDirector/style/index.css +8 -0
- package/es/userDirector/style/index.d.ts +1 -0
- package/es/userDirector/style/index.js +1 -0
- package/es/userDirector/style/index.less +8 -0
- package/es/utils/doc.d.ts +18 -16
- package/es/utils/doc.js +52 -0
- package/es/utils/index.d.ts +8 -0
- package/es/utils/index.js +22 -1
- package/es/utils/tusUpload.d.ts +8 -0
- package/es/utils/tusUpload.js +52 -0
- package/lib/_virtual/plugin-vue_export-helper.js +8 -0
- package/lib/config.js +6 -2
- package/lib/contentDetailList/component.js +90 -0
- package/lib/contentDetailList/components/Content/CompoItem/index.js +77 -0
- package/lib/contentDetailList/components/Content/ContentListItem/index.js +100 -0
- package/lib/contentDetailList/components/Content/DocItem/ApprovalStateMap/index.js +72 -0
- package/lib/contentDetailList/components/Content/DocItem/index.js +200 -0
- package/lib/contentDetailList/components/Content/KongoNavItem/DocTags/index.js +185 -0
- package/lib/contentDetailList/components/Content/KongoNavItem/index.js +132 -0
- package/lib/contentDetailList/components/Content/LiveItem/index.js +83 -0
- package/lib/contentDetailList/components/Content/MaccountItem/index.js +85 -0
- package/lib/contentDetailList/components/Content/MaccountItem/temp/user.js +3 -0
- package/lib/contentDetailList/components/Content/index.js +313 -0
- package/lib/contentDetailList/components/Doc/index.js +59 -0
- package/lib/contentDetailList/index.js +8 -0
- package/lib/contentDetailList/scripts/index.js +153 -0
- package/lib/contentDetailList/style/ComoItem.less +106 -0
- package/lib/contentDetailList/style/Content.less +49 -0
- package/lib/contentDetailList/style/ContentListItem.less +131 -0
- package/lib/contentDetailList/style/Doc.less +8 -0
- package/lib/contentDetailList/style/DocItem.less +145 -0
- package/lib/contentDetailList/style/DocTags.less +63 -0
- package/lib/contentDetailList/style/KongoNavItem.less +110 -0
- package/lib/contentDetailList/style/LiveItem.less +115 -0
- package/lib/contentDetailList/style/MaccountItem.less +114 -0
- package/lib/contentDetailList/style/css.js +2 -0
- package/lib/contentDetailList/style/index.css +683 -0
- package/lib/contentDetailList/style/index.js +2 -0
- package/lib/contentDetailList/style/index.less +9 -0
- package/lib/contentModal/component.js +2 -1
- package/lib/contentModal/components/CompoList/CompoFilter/index.js +3 -2
- package/lib/contentModal/components/CompoList/index.js +3 -2
- package/lib/contentModal/components/ViewAllColumn/MediaFilter/index.js +2 -1
- package/lib/contentModal/components/ViewAllColumn/columnTree/index.js +2 -1
- package/lib/contentModal/components/ViewAllColumn/index.js +2 -1
- package/lib/contentModal/components/storeBox/index.js +2 -1
- package/lib/emptyData/component.js +49 -0
- package/lib/emptyData/index.js +8 -0
- package/lib/emptyData/style/css.js +2 -0
- package/lib/emptyData/style/index.css +26 -0
- package/lib/emptyData/style/index.js +2 -0
- package/lib/emptyData/style/index.less +30 -0
- package/lib/hooks/toggle.js +11 -0
- package/lib/hooks/user.js +2 -0
- package/lib/index.css +949 -0
- package/lib/index.js +12 -0
- package/lib/index.less +6 -0
- package/lib/mediaFilter/component.js +42 -0
- package/lib/mediaFilter/components/DocFilter.js +252 -0
- package/lib/mediaFilter/components/DocFilter.vue_vue_type_style_index_0_scoped_true_lang.js +3 -0
- package/lib/mediaFilter/components/FilterGroup.js +188 -0
- package/lib/mediaFilter/components/FilterGroup.vue_vue_type_style_index_0_scoped_true_lang.js +3 -0
- package/lib/mediaFilter/components/FilterItem.js +117 -0
- package/lib/mediaFilter/components/FilterItem.vue_vue_type_style_index_0_scoped_true_lang.js +3 -0
- package/lib/mediaFilter/components/MediaFilter.js +9 -0
- package/lib/mediaFilter/components/MpAccountFilter.js +9 -0
- package/lib/mediaFilter/components/MpContentFilter.js +9 -0
- package/lib/mediaFilter/index.js +8 -0
- package/lib/mediaFilter/script/optionsGetter.js +88 -0
- package/lib/mediaFilter/style/css.js +2 -0
- package/lib/mediaFilter/style/index.css +4 -0
- package/lib/mediaFilter/style/index.js +2 -0
- package/lib/mediaFilter/style/index.less +4 -0
- package/lib/messageBox/list.js +2 -1
- package/lib/previousVersion/component.js +2 -1
- package/lib/previousVersion/style/index.less +1 -0
- package/lib/resourceModal/component.js +2 -1
- package/lib/resourceModal/components/MediaPreviewer/index.js +2 -1
- package/lib/resourceModal/components/MediaSelection/DocAiMediaSelected/index.js +2 -1
- package/lib/resourceModal/components/MediaSelection/MainContent/FileTypeThumb/index.js +5 -3
- package/lib/resourceModal/components/MediaSelection/MainContent/index.js +4 -2
- package/lib/resourceModal/components/MediaSelection/ToolbarSearch/index.js +2 -1
- package/lib/resourceModal/components/MediaSelection/index.js +3 -2
- package/lib/resourceModal/script/filter.js +14 -0
- package/lib/selectAvatarList/component.js +78 -0
- package/lib/selectAvatarList/index.js +8 -0
- package/lib/selectAvatarList/style/css.js +2 -0
- package/lib/selectAvatarList/style/index.css +4 -0
- package/lib/selectAvatarList/style/index.js +2 -0
- package/lib/selectAvatarList/style/index.less +4 -0
- package/lib/selectGategory/component.js +4 -11
- package/lib/selectGategory/components/ColumnSelection/index.js +5 -1
- package/lib/uploadBefore/component.js +82 -0
- package/lib/uploadBefore/components/UploadBefore.js +229 -0
- package/lib/uploadBefore/components/UploadForClick.js +29 -0
- package/lib/uploadBefore/index.js +8 -0
- package/lib/uploadBefore/script/api.js +32 -0
- package/lib/uploadBefore/script/fileTypeAdapter.js +53 -0
- package/lib/uploadBefore/script/fileUpload.js +42 -0
- package/lib/uploadBefore/script/uploadHooks.js +36 -0
- package/lib/uploadBefore/style/css.js +2 -0
- package/lib/uploadBefore/style/index.css +111 -0
- package/lib/uploadBefore/style/index.js +2 -0
- package/lib/uploadBefore/style/index.less +144 -0
- package/lib/uploadStep/component.js +138 -3
- package/lib/uploadStep/style/index.css +113 -0
- package/lib/uploadStep/style/index.less +148 -0
- package/lib/userDirector/component.js +201 -0
- package/lib/userDirector/index.js +8 -0
- package/lib/userDirector/script/api.js +38 -0
- package/lib/userDirector/style/css.js +2 -0
- package/lib/userDirector/style/index.css +8 -0
- package/lib/userDirector/style/index.js +2 -0
- package/lib/userDirector/style/index.less +8 -0
- package/lib/utils/doc.js +59 -0
- package/lib/utils/index.js +23 -0
- package/lib/utils/tusUpload.js +75 -0
- package/package.json +8 -1
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var vue = require("vue");
|
|
3
|
+
var webVue = require("@arco-design/web-vue");
|
|
4
|
+
var component = require("../../../../typeIcons/component.js");
|
|
5
|
+
var index = require("../../../scripts/index.js");
|
|
6
|
+
const _hoisted_1 = { class: "cover-view" };
|
|
7
|
+
const _hoisted_2 = {
|
|
8
|
+
key: 1,
|
|
9
|
+
class: "no-img"
|
|
10
|
+
};
|
|
11
|
+
const _hoisted_3 = { class: "info-view" };
|
|
12
|
+
const _hoisted_4 = { class: "title_i" };
|
|
13
|
+
const _hoisted_5 = { class: "abttrite-v" };
|
|
14
|
+
const _hoisted_6 = { class: "left" };
|
|
15
|
+
const _hoisted_7 = { class: "abttr tags" };
|
|
16
|
+
const _hoisted_8 = { class: "abttr time" };
|
|
17
|
+
const _hoisted_9 = { class: "right" };
|
|
18
|
+
const _sfc_main = vue.defineComponent({
|
|
19
|
+
__name: "index",
|
|
20
|
+
props: {
|
|
21
|
+
item: {}
|
|
22
|
+
},
|
|
23
|
+
emits: ["clickTitle"],
|
|
24
|
+
setup(__props, { emit: __emit }) {
|
|
25
|
+
const props = __props;
|
|
26
|
+
const emit = __emit;
|
|
27
|
+
const comColumnsMap = vue.ref(index.compoColumnsMap().value);
|
|
28
|
+
const hide = vue.computed(() => {
|
|
29
|
+
const { hide: hide2 } = props.item;
|
|
30
|
+
return hide2 === 7 || hide2 === 6;
|
|
31
|
+
});
|
|
32
|
+
const clickTitle = () => {
|
|
33
|
+
emit("clickTitle", props.item);
|
|
34
|
+
};
|
|
35
|
+
return (_ctx, _cache) => {
|
|
36
|
+
return vue.openBlock(), vue.createElementBlock("div", {
|
|
37
|
+
class: vue.normalizeClass(["medialist-component-item-view", { gray_for_hide: hide.value }])
|
|
38
|
+
}, [
|
|
39
|
+
vue.createElementVNode("div", _hoisted_1, [
|
|
40
|
+
_ctx.item.cover && _ctx.item.cover.data && _ctx.item.cover.data[0] ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Image), {
|
|
41
|
+
key: 0,
|
|
42
|
+
src: _ctx.item.cover.data[0].thumb,
|
|
43
|
+
fit: "cover",
|
|
44
|
+
class: "image"
|
|
45
|
+
}, null, 8, ["src"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_2, vue.toDisplayString(vue.unref(index.noCoverText)(_ctx.item)), 1))
|
|
46
|
+
]),
|
|
47
|
+
vue.createElementVNode("div", _hoisted_3, [
|
|
48
|
+
vue.createElementVNode("div", {
|
|
49
|
+
class: "title",
|
|
50
|
+
onClick: clickTitle
|
|
51
|
+
}, [
|
|
52
|
+
vue.renderSlot(_ctx.$slots, "index"),
|
|
53
|
+
vue.createElementVNode("span", _hoisted_4, vue.toDisplayString(_ctx.item.alias || _ctx.item.title), 1)
|
|
54
|
+
]),
|
|
55
|
+
vue.createElementVNode("div", _hoisted_5, [
|
|
56
|
+
vue.createElementVNode("div", _hoisted_6, [
|
|
57
|
+
vue.createVNode(component, {
|
|
58
|
+
class: "icon",
|
|
59
|
+
doc: true,
|
|
60
|
+
type: _ctx.item.series
|
|
61
|
+
}, null, 8, ["type"]),
|
|
62
|
+
vue.createElementVNode("span", _hoisted_7, [
|
|
63
|
+
vue.createTextVNode(vue.toDisplayString(comColumnsMap.value[_ctx.item.columns]) + "\u7EC4\u4EF6", 1),
|
|
64
|
+
vue.renderSlot(_ctx.$slots, "tip")
|
|
65
|
+
]),
|
|
66
|
+
vue.createElementVNode("span", _hoisted_8, "\u53D1\u5E03\u65F6\u95F4: " + vue.toDisplayString(vue.unref(index.timeFormat)(_ctx.item.pub_time)), 1)
|
|
67
|
+
]),
|
|
68
|
+
vue.createElementVNode("div", _hoisted_9, [
|
|
69
|
+
vue.renderSlot(_ctx.$slots, "option", { row: _ctx.item })
|
|
70
|
+
])
|
|
71
|
+
])
|
|
72
|
+
])
|
|
73
|
+
], 2);
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
});
|
|
77
|
+
module.exports = _sfc_main;
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var vue = require("vue");
|
|
3
|
+
var webVue = require("@arco-design/web-vue");
|
|
4
|
+
var icon = require("@arco-design/web-vue/es/icon");
|
|
5
|
+
var component = require("../../../../typeIcons/component.js");
|
|
6
|
+
var index = require("../../../scripts/index.js");
|
|
7
|
+
const _hoisted_1 = { class: "cover-view" };
|
|
8
|
+
const _hoisted_2 = {
|
|
9
|
+
key: 1,
|
|
10
|
+
class: "no-img"
|
|
11
|
+
};
|
|
12
|
+
const _hoisted_3 = { class: "info-view" };
|
|
13
|
+
const _hoisted_4 = { class: "title_i" };
|
|
14
|
+
const _hoisted_5 = { class: "lbs_tips" };
|
|
15
|
+
const _hoisted_6 = {
|
|
16
|
+
key: 0,
|
|
17
|
+
class: "lbs_tips red"
|
|
18
|
+
};
|
|
19
|
+
const _hoisted_7 = { class: "abttrite-v" };
|
|
20
|
+
const _hoisted_8 = { class: "left" };
|
|
21
|
+
const _hoisted_9 = { class: "abttr tags" };
|
|
22
|
+
const _hoisted_10 = { class: "abttr" };
|
|
23
|
+
const _hoisted_11 = { class: "abttr time" };
|
|
24
|
+
const _hoisted_12 = { class: "right" };
|
|
25
|
+
const _sfc_main = vue.defineComponent({
|
|
26
|
+
__name: "index",
|
|
27
|
+
props: {
|
|
28
|
+
item: {},
|
|
29
|
+
query: {}
|
|
30
|
+
},
|
|
31
|
+
emits: ["clickTitle"],
|
|
32
|
+
setup(__props, { emit: __emit }) {
|
|
33
|
+
const props = __props;
|
|
34
|
+
const emit = __emit;
|
|
35
|
+
const hide = vue.computed(() => {
|
|
36
|
+
const { hide: hide2 } = props.item;
|
|
37
|
+
return hide2 === 7 || hide2 === 6;
|
|
38
|
+
});
|
|
39
|
+
const clickTitle = () => {
|
|
40
|
+
emit("clickTitle", props.item);
|
|
41
|
+
};
|
|
42
|
+
return (_ctx, _cache) => {
|
|
43
|
+
return vue.openBlock(), vue.createElementBlock("div", {
|
|
44
|
+
class: vue.normalizeClass(["medialist-component-item-view", { gray_for_hide: hide.value }])
|
|
45
|
+
}, [
|
|
46
|
+
vue.createElementVNode("div", _hoisted_1, [
|
|
47
|
+
_ctx.item.cover && _ctx.item.cover.data && _ctx.item.cover.data[0] ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Image), {
|
|
48
|
+
key: 0,
|
|
49
|
+
src: _ctx.item.cover.data[0].thumb,
|
|
50
|
+
fit: "cover"
|
|
51
|
+
}, null, 8, ["src"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_2, vue.toDisplayString(vue.unref(index.noCoverText)(_ctx.item)), 1))
|
|
52
|
+
]),
|
|
53
|
+
vue.createElementVNode("div", _hoisted_3, [
|
|
54
|
+
vue.createElementVNode("div", {
|
|
55
|
+
class: "title",
|
|
56
|
+
onClick: clickTitle
|
|
57
|
+
}, [
|
|
58
|
+
vue.renderSlot(_ctx.$slots, "index"),
|
|
59
|
+
vue.createElementVNode("span", _hoisted_4, vue.toDisplayString(_ctx.item.alias || _ctx.item.title), 1),
|
|
60
|
+
vue.createElementVNode("span", _hoisted_5, [
|
|
61
|
+
vue.renderSlot(_ctx.$slots, "tips")
|
|
62
|
+
]),
|
|
63
|
+
vue.createVNode(vue.unref(webVue.Tooltip), {
|
|
64
|
+
content: "\u5F53\u524D\u9891\u9053\u6682\u672A\u7ED1\u5B9A\u5730\u7406\u4F4D\u7F6E\uFF0C\u53EF\u70B9\u51FB\u540E\u65B9\u201C\u7F16\u8F91\u9891\u9053\u201D\uFF0C\u4E3A\u9891\u9053\u5339\u914D\u5730\u7406\u4F4D\u7F6E",
|
|
65
|
+
position: "top",
|
|
66
|
+
trigger: "hover"
|
|
67
|
+
}, {
|
|
68
|
+
default: vue.withCtx(() => [
|
|
69
|
+
_ctx.query === "lbs" && _ctx.item.geo_code.length === 0 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_6, [
|
|
70
|
+
vue.createVNode(vue.unref(icon.IconInfoCircle), { size: "16" }),
|
|
71
|
+
vue.createTextVNode(" \u9891\u9053\u6682\u672A\u7ED1\u5B9A\u5730\u7406\u4F4D\u7F6E ")
|
|
72
|
+
])) : vue.createCommentVNode("v-if", true)
|
|
73
|
+
]),
|
|
74
|
+
_: 1
|
|
75
|
+
})
|
|
76
|
+
]),
|
|
77
|
+
vue.createElementVNode("div", _hoisted_7, [
|
|
78
|
+
vue.createElementVNode("div", _hoisted_8, [
|
|
79
|
+
vue.createVNode(component, {
|
|
80
|
+
class: "icon",
|
|
81
|
+
doc: true,
|
|
82
|
+
type: _ctx.item.series
|
|
83
|
+
}, null, 8, ["type"]),
|
|
84
|
+
vue.createElementVNode("span", _hoisted_9, [
|
|
85
|
+
vue.createTextVNode(vue.toDisplayString(vue.unref(index.contentList_relation_type_map)[_ctx.item.relation_type]) + "\u9891\u9053", 1),
|
|
86
|
+
vue.renderSlot(_ctx.$slots, "tip")
|
|
87
|
+
]),
|
|
88
|
+
vue.createElementVNode("span", _hoisted_10, vue.toDisplayString(vue.unref(index.contentList_layout_map)[_ctx.item.list_layout || "blank"]), 1),
|
|
89
|
+
vue.createElementVNode("span", _hoisted_11, "\u53D1\u5E03\u65F6\u95F4: " + vue.toDisplayString(vue.unref(index.timeFormat)(_ctx.item.pub_time)), 1)
|
|
90
|
+
]),
|
|
91
|
+
vue.createElementVNode("div", _hoisted_12, [
|
|
92
|
+
vue.renderSlot(_ctx.$slots, "option", { row: _ctx.item })
|
|
93
|
+
])
|
|
94
|
+
])
|
|
95
|
+
])
|
|
96
|
+
], 2);
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
});
|
|
100
|
+
module.exports = _sfc_main;
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var vue = require("vue");
|
|
3
|
+
var index = require("../../../../scripts/index.js");
|
|
4
|
+
const _hoisted_1 = {
|
|
5
|
+
key: 0,
|
|
6
|
+
class: "approval-state-view"
|
|
7
|
+
};
|
|
8
|
+
const _hoisted_2 = {
|
|
9
|
+
key: 0,
|
|
10
|
+
class: "checking"
|
|
11
|
+
};
|
|
12
|
+
const _sfc_main = vue.defineComponent({
|
|
13
|
+
__name: "index",
|
|
14
|
+
props: {
|
|
15
|
+
item: {}
|
|
16
|
+
},
|
|
17
|
+
emits: ["showUserInfo"],
|
|
18
|
+
setup(__props, { emit: __emit }) {
|
|
19
|
+
const emit = __emit;
|
|
20
|
+
const calcIsRobot = (data) => {
|
|
21
|
+
if (data.current_processes[0] && data.current_processes[0].users && data.current_processes[0].users[0]) {
|
|
22
|
+
const ApvUser = data.current_processes[0].users[0];
|
|
23
|
+
if (ApvUser.uid === "__smart_robot") {
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
return false;
|
|
27
|
+
}
|
|
28
|
+
return false;
|
|
29
|
+
};
|
|
30
|
+
const showUserInfo = (data) => {
|
|
31
|
+
emit("showUserInfo", data);
|
|
32
|
+
};
|
|
33
|
+
return (_ctx, _cache) => {
|
|
34
|
+
return _ctx.item ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1, [
|
|
35
|
+
_ctx.item.status === 1 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2, [
|
|
36
|
+
_ctx.item.current_processes ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
37
|
+
key: 0,
|
|
38
|
+
class: vue.normalizeClass({
|
|
39
|
+
"checking-user": !calcIsRobot(_ctx.item),
|
|
40
|
+
"checking-ai": calcIsRobot(_ctx.item)
|
|
41
|
+
}),
|
|
42
|
+
onClick: _cache[0] || (_cache[0] = vue.withModifiers(($event) => showUserInfo(_ctx.item), ["stop"]))
|
|
43
|
+
}, [
|
|
44
|
+
vue.createElementVNode("span", null, vue.toDisplayString(vue.unref(index.calcApprovingUser)(_ctx.item)), 1),
|
|
45
|
+
vue.createElementVNode("span", null, [
|
|
46
|
+
vue.createTextVNode(vue.toDisplayString(vue.unref(index.approveFlowStatusMap)[_ctx.item.status]) + " ", 1),
|
|
47
|
+
vue.createElementVNode("span", null, vue.toDisplayString(vue.unref(index.calcApprovingDependent)(_ctx.item)), 1)
|
|
48
|
+
]),
|
|
49
|
+
vue.createCommentVNode(' <img\n v-show="calcIsRobot(item)"\n class="ai-iconfont"\n src="static/images/icon-ai.png"\n /> ')
|
|
50
|
+
], 2)) : vue.createCommentVNode("v-if", true)
|
|
51
|
+
])) : [2, 3].includes(_ctx.item.status) ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
52
|
+
key: 1,
|
|
53
|
+
class: vue.normalizeClass({
|
|
54
|
+
failure: _ctx.item.status === 2,
|
|
55
|
+
pass: _ctx.item.status === 3
|
|
56
|
+
})
|
|
57
|
+
}, [
|
|
58
|
+
vue.createTextVNode(vue.toDisplayString(vue.unref(index.approveFlowStatusMap)[_ctx.item.status]) + " ", 1),
|
|
59
|
+
vue.createElementVNode("span", null, vue.toDisplayString(vue.unref(index.calcApprovingDependent)(_ctx.item)), 1)
|
|
60
|
+
], 2)) : (vue.openBlock(), vue.createElementBlock("span", {
|
|
61
|
+
key: 2,
|
|
62
|
+
class: vue.normalizeClass({
|
|
63
|
+
revoke: [0, 4].includes(_ctx.item.status),
|
|
64
|
+
pass: _ctx.item.status === 5,
|
|
65
|
+
checking: [6, 7].includes(_ctx.item.status)
|
|
66
|
+
})
|
|
67
|
+
}, vue.toDisplayString(vue.unref(index.approveFlowStatusMap)[_ctx.item.status]), 3))
|
|
68
|
+
])) : vue.createCommentVNode("v-if", true);
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
module.exports = _sfc_main;
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var vue = require("vue");
|
|
3
|
+
var webVue = require("@arco-design/web-vue");
|
|
4
|
+
var index = require("../../../scripts/index.js");
|
|
5
|
+
var component = require("../../../../typeIcons/component.js");
|
|
6
|
+
var index$1 = require("../KongoNavItem/DocTags/index.js");
|
|
7
|
+
var index$2 = require("./ApprovalStateMap/index.js");
|
|
8
|
+
const _hoisted_1 = { class: "cover-view" };
|
|
9
|
+
const _hoisted_2 = {
|
|
10
|
+
key: 1,
|
|
11
|
+
class: "no-img"
|
|
12
|
+
};
|
|
13
|
+
const _hoisted_3 = { class: "batch-select" };
|
|
14
|
+
const _hoisted_4 = { class: "info-view" };
|
|
15
|
+
const _hoisted_5 = { class: "abttrite-v" };
|
|
16
|
+
const _hoisted_6 = { class: "left" };
|
|
17
|
+
const _hoisted_7 = { class: "tags" };
|
|
18
|
+
const _hoisted_8 = { key: 0 };
|
|
19
|
+
const _hoisted_9 = /* @__PURE__ */ vue.createElementVNode("span", null, "\u5BA1\u6838\u72B6\u6001: ", -1);
|
|
20
|
+
const _hoisted_10 = { key: 1 };
|
|
21
|
+
const _hoisted_11 = { class: "abttr" };
|
|
22
|
+
const _hoisted_12 = { style: { "font-size": "14px", "margin-bottom": "5px", "font-weight": "bold" } };
|
|
23
|
+
const _hoisted_13 = /* @__PURE__ */ vue.createElementVNode("span", { style: { "font-size": "10px" } }, "\u540C\u65F6\u53D1\u5E03\u5230:", -1);
|
|
24
|
+
const _hoisted_14 = {
|
|
25
|
+
key: 1,
|
|
26
|
+
style: { "font-size": "10px" }
|
|
27
|
+
};
|
|
28
|
+
const _hoisted_15 = { class: "right" };
|
|
29
|
+
const _sfc_main = vue.defineComponent({
|
|
30
|
+
__name: "index",
|
|
31
|
+
props: {
|
|
32
|
+
item: {},
|
|
33
|
+
abttrites: {}
|
|
34
|
+
},
|
|
35
|
+
emits: ["clickTitle", "cellMouseEnter", "cellMouseLeave"],
|
|
36
|
+
setup(__props, { emit: __emit }) {
|
|
37
|
+
const props = __props;
|
|
38
|
+
const emit = __emit;
|
|
39
|
+
const hide = vue.computed(() => {
|
|
40
|
+
const { hide: hide2 } = props.item;
|
|
41
|
+
return hide2 === 7 || hide2 === 6;
|
|
42
|
+
});
|
|
43
|
+
const thumb = vue.computed(() => {
|
|
44
|
+
if (!props.item)
|
|
45
|
+
return null;
|
|
46
|
+
if (props.item.preview_url) {
|
|
47
|
+
return props.item.preview_url;
|
|
48
|
+
}
|
|
49
|
+
if (props.item.style) {
|
|
50
|
+
let { style } = props.item;
|
|
51
|
+
if (typeof style === "string") {
|
|
52
|
+
style = JSON.parse(style);
|
|
53
|
+
return style.data && style.data[0] && style.data[0].thumb;
|
|
54
|
+
}
|
|
55
|
+
return style.data && style.data[0] && style.data[0].thumb;
|
|
56
|
+
}
|
|
57
|
+
return props.item.cover && props.item.cover.data && props.item.cover.data[0] && props.item.cover.data[0].thumb;
|
|
58
|
+
});
|
|
59
|
+
const mouseEnterFun = (event, row) => {
|
|
60
|
+
emit("cellMouseEnter", { row, event });
|
|
61
|
+
};
|
|
62
|
+
const mouseLeaveFun = (event, row) => {
|
|
63
|
+
emit("cellMouseLeave", { row, event });
|
|
64
|
+
};
|
|
65
|
+
const clickTitle = () => {
|
|
66
|
+
emit("clickTitle", props.item);
|
|
67
|
+
};
|
|
68
|
+
return (_ctx, _cache) => {
|
|
69
|
+
return vue.openBlock(), vue.createElementBlock("div", {
|
|
70
|
+
class: vue.normalizeClass(["medialist-doc-item-view", { gray_for_hide: hide.value }]),
|
|
71
|
+
onMouseenter: _cache[0] || (_cache[0] = ($event) => mouseEnterFun($event, _ctx.item)),
|
|
72
|
+
onMouseleave: _cache[1] || (_cache[1] = ($event) => mouseLeaveFun($event, _ctx.item))
|
|
73
|
+
}, [
|
|
74
|
+
vue.createElementVNode("div", _hoisted_1, [
|
|
75
|
+
thumb.value ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Image), {
|
|
76
|
+
key: 0,
|
|
77
|
+
src: thumb.value,
|
|
78
|
+
fit: "cover"
|
|
79
|
+
}, null, 8, ["src"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_2, vue.toDisplayString(vue.unref(index.noCoverText)(_ctx.item)), 1)),
|
|
80
|
+
vue.createElementVNode("div", _hoisted_3, [
|
|
81
|
+
vue.renderSlot(_ctx.$slots, "batch", { row: _ctx.item })
|
|
82
|
+
])
|
|
83
|
+
]),
|
|
84
|
+
vue.createElementVNode("div", _hoisted_4, [
|
|
85
|
+
vue.createElementVNode("div", {
|
|
86
|
+
class: "title",
|
|
87
|
+
onClick: clickTitle
|
|
88
|
+
}, [
|
|
89
|
+
vue.renderSlot(_ctx.$slots, "index"),
|
|
90
|
+
vue.createTextVNode(vue.toDisplayString(_ctx.item.alias || _ctx.item.title), 1)
|
|
91
|
+
]),
|
|
92
|
+
vue.createElementVNode("div", _hoisted_5, [
|
|
93
|
+
vue.createElementVNode("div", _hoisted_6, [
|
|
94
|
+
vue.createVNode(component, {
|
|
95
|
+
class: "icon",
|
|
96
|
+
doc: true,
|
|
97
|
+
type: _ctx.item.series
|
|
98
|
+
}, null, 8, ["type"]),
|
|
99
|
+
vue.createElementVNode("span", _hoisted_7, [
|
|
100
|
+
vue.createVNode(index$1, { item: _ctx.item }, null, 8, ["item"]),
|
|
101
|
+
vue.renderSlot(_ctx.$slots, "tip")
|
|
102
|
+
]),
|
|
103
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.abttrites, (column, i) => {
|
|
104
|
+
return vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: i }, [
|
|
105
|
+
vue.createCommentVNode(" \u5BA1\u6838\u72B6\u6001 "),
|
|
106
|
+
column.key === "approval_status" ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_8, [
|
|
107
|
+
_hoisted_9,
|
|
108
|
+
vue.unref(index.approvalItem)(_ctx.item) ? (vue.openBlock(), vue.createBlock(index$2, {
|
|
109
|
+
key: 0,
|
|
110
|
+
item: vue.unref(index.approvalItem)(_ctx.item)
|
|
111
|
+
}, null, 8, ["item"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_10, "--"))
|
|
112
|
+
])) : column.key === "state" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
|
|
113
|
+
vue.createCommentVNode(" \u72B6\u6001 "),
|
|
114
|
+
vue.createElementVNode("span", _hoisted_11, [
|
|
115
|
+
vue.createVNode(vue.unref(webVue.Tooltip), {
|
|
116
|
+
content: `\u72B6\u6001: ${vue.unref(index.docStateMap)[_ctx.item.state]}`,
|
|
117
|
+
position: "top"
|
|
118
|
+
}, {
|
|
119
|
+
default: vue.withCtx(() => [
|
|
120
|
+
vue.createElementVNode("span", null, vue.toDisplayString(vue.unref(index.docStateMap)[_ctx.item.state]), 1)
|
|
121
|
+
]),
|
|
122
|
+
_: 1
|
|
123
|
+
}, 8, ["content"])
|
|
124
|
+
])
|
|
125
|
+
], 2112)) : column.key === "primary_category" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 2 }, [
|
|
126
|
+
vue.createCommentVNode(" \u680F\u76EE\u4FE1\u606F "),
|
|
127
|
+
vue.createVNode(vue.unref(webVue.Popover), {
|
|
128
|
+
position: "top",
|
|
129
|
+
trigger: "hover",
|
|
130
|
+
class: "popper-categories abttr"
|
|
131
|
+
}, {
|
|
132
|
+
content: vue.withCtx(() => [
|
|
133
|
+
_ctx.item.other_categories ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
134
|
+
vue.createElementVNode("div", _hoisted_12, "\u680F\u76EE: " + vue.toDisplayString(_ctx.item.primary_category || "--"), 1),
|
|
135
|
+
vue.createElementVNode("span", null, [
|
|
136
|
+
_hoisted_13,
|
|
137
|
+
vue.createTextVNode(" " + vue.toDisplayString(_ctx.item.other_categories.join("\u3001")), 1)
|
|
138
|
+
])
|
|
139
|
+
], 64)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_14, "\u680F\u76EE: " + vue.toDisplayString(_ctx.item.primary_category || "--"), 1))
|
|
140
|
+
]),
|
|
141
|
+
default: vue.withCtx(() => [
|
|
142
|
+
vue.createVNode(vue.unref(webVue.Button), {
|
|
143
|
+
class: "btn",
|
|
144
|
+
type: "text",
|
|
145
|
+
size: "mini"
|
|
146
|
+
}, {
|
|
147
|
+
default: vue.withCtx(() => [
|
|
148
|
+
vue.createTextVNode(vue.toDisplayString(_ctx.item.primary_category || "--"), 1)
|
|
149
|
+
]),
|
|
150
|
+
_: 1
|
|
151
|
+
})
|
|
152
|
+
]),
|
|
153
|
+
_: 1
|
|
154
|
+
})
|
|
155
|
+
], 64)) : (vue.openBlock(), vue.createElementBlock("span", {
|
|
156
|
+
key: 3,
|
|
157
|
+
class: vue.normalizeClass(["abttr", { time: column.time }])
|
|
158
|
+
}, [
|
|
159
|
+
column.time ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Tooltip), {
|
|
160
|
+
key: 0,
|
|
161
|
+
content: `${column.label}: ${vue.unref(index.timeFormat)(_ctx.item[column.key])}`,
|
|
162
|
+
position: "top"
|
|
163
|
+
}, {
|
|
164
|
+
default: vue.withCtx(() => [
|
|
165
|
+
vue.createElementVNode("span", null, vue.toDisplayString(vue.unref(index.timeFormat)(_ctx.item[column.key])), 1)
|
|
166
|
+
]),
|
|
167
|
+
_: 2
|
|
168
|
+
}, 1032, ["content"])) : column.pv ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Tooltip), {
|
|
169
|
+
key: column.key,
|
|
170
|
+
position: "top",
|
|
171
|
+
content: `${column.label}: ${column.keys.map((key) => _ctx.item[key] || 0).join("/")}`
|
|
172
|
+
}, {
|
|
173
|
+
default: vue.withCtx(() => [
|
|
174
|
+
vue.createElementVNode("span", null, vue.toDisplayString(column.keys.map((key) => _ctx.item[key] || 0).join("/")), 1)
|
|
175
|
+
]),
|
|
176
|
+
_: 2
|
|
177
|
+
}, 1032, ["content"])) : (vue.openBlock(), vue.createBlock(vue.unref(webVue.Tooltip), {
|
|
178
|
+
key: 2,
|
|
179
|
+
content: `${column.label}: ${_ctx.item[column.key] || "--"}`,
|
|
180
|
+
position: "top"
|
|
181
|
+
}, {
|
|
182
|
+
default: vue.withCtx(() => [
|
|
183
|
+
vue.createElementVNode("span", null, vue.toDisplayString(_ctx.item[column.key] || "--"), 1)
|
|
184
|
+
]),
|
|
185
|
+
_: 2
|
|
186
|
+
}, 1032, ["content"]))
|
|
187
|
+
], 2))
|
|
188
|
+
], 64);
|
|
189
|
+
}), 128))
|
|
190
|
+
]),
|
|
191
|
+
vue.createElementVNode("div", _hoisted_15, [
|
|
192
|
+
vue.renderSlot(_ctx.$slots, "option", { row: _ctx.item })
|
|
193
|
+
])
|
|
194
|
+
])
|
|
195
|
+
])
|
|
196
|
+
], 34);
|
|
197
|
+
};
|
|
198
|
+
}
|
|
199
|
+
});
|
|
200
|
+
module.exports = _sfc_main;
|
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var vue = require("vue");
|
|
3
|
+
var webVue = require("@arco-design/web-vue");
|
|
4
|
+
var index = require("../../../../scripts/index.js");
|
|
5
|
+
const _hoisted_1 = { class: "doc-tags-container" };
|
|
6
|
+
const _hoisted_2 = { class: "doc-tags-thumb-ul" };
|
|
7
|
+
const _hoisted_3 = ["src"];
|
|
8
|
+
const _hoisted_4 = { key: 0 };
|
|
9
|
+
const _hoisted_5 = { key: 1 };
|
|
10
|
+
const _sfc_main = vue.defineComponent({
|
|
11
|
+
__name: "index",
|
|
12
|
+
props: {
|
|
13
|
+
item: {},
|
|
14
|
+
popverThumb: { type: Boolean },
|
|
15
|
+
disabled: { type: Boolean }
|
|
16
|
+
},
|
|
17
|
+
setup(__props) {
|
|
18
|
+
const props = __props;
|
|
19
|
+
const thumbs = vue.ref([]);
|
|
20
|
+
const thumbType = vue.computed(() => {
|
|
21
|
+
if (props.item.style) {
|
|
22
|
+
const style = JSON.parse(props.item.style);
|
|
23
|
+
if (style.model === 0)
|
|
24
|
+
return "\u65E0\u56FE";
|
|
25
|
+
return index.docThumbMap()[style.model];
|
|
26
|
+
}
|
|
27
|
+
if (props.item.cover) {
|
|
28
|
+
if (props.item.cover.model === 0)
|
|
29
|
+
return "\u65E0\u56FE";
|
|
30
|
+
return index.docThumbMap()[props.item.cover.model];
|
|
31
|
+
}
|
|
32
|
+
return "\u65E0\u56FE";
|
|
33
|
+
});
|
|
34
|
+
const thumbList = vue.computed(() => {
|
|
35
|
+
if (thumbType.value === "\u65E0\u56FE")
|
|
36
|
+
return [];
|
|
37
|
+
if (props.item.style) {
|
|
38
|
+
const style = JSON.parse(props.item.style);
|
|
39
|
+
return style.data || [];
|
|
40
|
+
}
|
|
41
|
+
if (props.item.cover) {
|
|
42
|
+
return props.item.cover.data || [];
|
|
43
|
+
}
|
|
44
|
+
return [];
|
|
45
|
+
});
|
|
46
|
+
const showThumbs = () => {
|
|
47
|
+
thumbs.value = thumbList.value;
|
|
48
|
+
};
|
|
49
|
+
return (_ctx, _cache) => {
|
|
50
|
+
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
51
|
+
vue.createCommentVNode(" \u539F\u521B/\u63A8\u8350/\u654F\u611F\u8BCD/\u5C01\u9762\u51E0\u56FE/ "),
|
|
52
|
+
vue.createElementVNode("span", _hoisted_1, [
|
|
53
|
+
_ctx.item.catalog === "doc" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
54
|
+
_ctx.popverThumb && thumbList.value.length ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Popover), {
|
|
55
|
+
key: 0,
|
|
56
|
+
"content-class": "doc-tags-thumb-popver",
|
|
57
|
+
duration: 500,
|
|
58
|
+
position: "top",
|
|
59
|
+
class: "no-margin",
|
|
60
|
+
trigger: "hover",
|
|
61
|
+
onShow: _cache[0] || (_cache[0] = ($event) => showThumbs())
|
|
62
|
+
}, {
|
|
63
|
+
content: vue.withCtx(() => [
|
|
64
|
+
vue.createElementVNode("div", _hoisted_2, [
|
|
65
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(thumbs.value, (thumb, index2) => {
|
|
66
|
+
return vue.openBlock(), vue.createElementBlock("img", {
|
|
67
|
+
key: index2,
|
|
68
|
+
src: thumb.thumb || thumb.url,
|
|
69
|
+
fit: "cover",
|
|
70
|
+
lazy: true
|
|
71
|
+
}, null, 8, _hoisted_3);
|
|
72
|
+
}), 128))
|
|
73
|
+
])
|
|
74
|
+
]),
|
|
75
|
+
default: vue.withCtx(() => [
|
|
76
|
+
vue.createVNode(vue.unref(webVue.Tag), {
|
|
77
|
+
class: vue.normalizeClass({ disabled: _ctx.disabled }),
|
|
78
|
+
size: "mini"
|
|
79
|
+
}, {
|
|
80
|
+
default: vue.withCtx(() => [
|
|
81
|
+
vue.createTextVNode(vue.toDisplayString(thumbType.value), 1)
|
|
82
|
+
]),
|
|
83
|
+
_: 1
|
|
84
|
+
}, 8, ["class"])
|
|
85
|
+
]),
|
|
86
|
+
_: 1
|
|
87
|
+
})) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
|
|
88
|
+
thumbType.value ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Tooltip), {
|
|
89
|
+
key: 0,
|
|
90
|
+
content: thumbType.value,
|
|
91
|
+
position: "top"
|
|
92
|
+
}, {
|
|
93
|
+
default: vue.withCtx(() => [
|
|
94
|
+
vue.createVNode(vue.unref(webVue.Tag), {
|
|
95
|
+
size: "mini",
|
|
96
|
+
class: vue.normalizeClass([{ disabled: _ctx.disabled }, "thumb"])
|
|
97
|
+
}, {
|
|
98
|
+
default: vue.withCtx(() => [
|
|
99
|
+
vue.createTextVNode(vue.toDisplayString(thumbType.value), 1)
|
|
100
|
+
]),
|
|
101
|
+
_: 1
|
|
102
|
+
}, 8, ["class"])
|
|
103
|
+
]),
|
|
104
|
+
_: 1
|
|
105
|
+
}, 8, ["content"])) : vue.createCommentVNode("v-if", true)
|
|
106
|
+
], 64)),
|
|
107
|
+
_ctx.item.statement ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Tooltip), {
|
|
108
|
+
key: 2,
|
|
109
|
+
content: "\u539F\u521B",
|
|
110
|
+
position: "top"
|
|
111
|
+
}, {
|
|
112
|
+
default: vue.withCtx(() => [
|
|
113
|
+
vue.createVNode(vue.unref(webVue.Tag), {
|
|
114
|
+
size: "mini",
|
|
115
|
+
class: vue.normalizeClass([{ disabled: _ctx.disabled }, "yuanchuang"])
|
|
116
|
+
}, {
|
|
117
|
+
default: vue.withCtx(() => [
|
|
118
|
+
vue.createTextVNode("\u539F\u521B")
|
|
119
|
+
]),
|
|
120
|
+
_: 1
|
|
121
|
+
}, 8, ["class"])
|
|
122
|
+
]),
|
|
123
|
+
_: 1
|
|
124
|
+
})) : vue.createCommentVNode("v-if", true),
|
|
125
|
+
_ctx.item.recommended ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Tooltip), {
|
|
126
|
+
key: 3,
|
|
127
|
+
content: "\u63A8\u8350",
|
|
128
|
+
position: "top"
|
|
129
|
+
}, {
|
|
130
|
+
default: vue.withCtx(() => [
|
|
131
|
+
vue.createVNode(vue.unref(webVue.Tag), {
|
|
132
|
+
size: "mini",
|
|
133
|
+
class: vue.normalizeClass([{ disabled: _ctx.disabled }, "star"])
|
|
134
|
+
}, {
|
|
135
|
+
default: vue.withCtx(() => [
|
|
136
|
+
vue.createTextVNode("\u63A8\u8350")
|
|
137
|
+
]),
|
|
138
|
+
_: 1
|
|
139
|
+
}, 8, ["class"])
|
|
140
|
+
]),
|
|
141
|
+
_: 1
|
|
142
|
+
})) : vue.createCommentVNode("v-if", true),
|
|
143
|
+
_ctx.item.sensitives ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Tooltip), {
|
|
144
|
+
key: 4,
|
|
145
|
+
content: _ctx.item.sensitives,
|
|
146
|
+
position: "top"
|
|
147
|
+
}, {
|
|
148
|
+
default: vue.withCtx(() => [
|
|
149
|
+
vue.createVNode(vue.unref(webVue.Tag), {
|
|
150
|
+
size: "mini",
|
|
151
|
+
class: vue.normalizeClass([{ disabled: _ctx.disabled }, "waring"])
|
|
152
|
+
}, {
|
|
153
|
+
default: vue.withCtx(() => [
|
|
154
|
+
vue.createTextVNode("\u654F\u611F")
|
|
155
|
+
]),
|
|
156
|
+
_: 1
|
|
157
|
+
}, 8, ["class"])
|
|
158
|
+
]),
|
|
159
|
+
_: 1
|
|
160
|
+
}, 8, ["content"])) : vue.createCommentVNode("v-if", true)
|
|
161
|
+
], 64)) : _ctx.item.catalog === "kongo" ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Tag), {
|
|
162
|
+
key: 1,
|
|
163
|
+
size: "mini"
|
|
164
|
+
}, {
|
|
165
|
+
default: vue.withCtx(() => [
|
|
166
|
+
vue.createTextVNode(vue.toDisplayString(vue.unref(index.kongo_source_map)[_ctx.item.series]), 1)
|
|
167
|
+
]),
|
|
168
|
+
_: 1
|
|
169
|
+
})) : _ctx.item.catalog === "mp_account" ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Tag), {
|
|
170
|
+
key: 2,
|
|
171
|
+
size: "mini"
|
|
172
|
+
}, {
|
|
173
|
+
default: vue.withCtx(() => [
|
|
174
|
+
vue.createTextVNode(vue.toDisplayString(vue.unref(index.contentList_list_type_map)[_ctx.item.mp_type]), 1)
|
|
175
|
+
]),
|
|
176
|
+
_: 1
|
|
177
|
+
})) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 3 }, [
|
|
178
|
+
_ctx.item.list_type ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4, vue.toDisplayString(vue.unref(index.contentList_list_type_map)[_ctx.item.list_type]), 1)) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_5, "--"))
|
|
179
|
+
], 64))
|
|
180
|
+
])
|
|
181
|
+
], 2112);
|
|
182
|
+
};
|
|
183
|
+
}
|
|
184
|
+
});
|
|
185
|
+
module.exports = _sfc_main;
|