@cmstops/pro-compo 0.1.29 → 0.1.31
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 +42 -10
- package/dist/index.min.css +1 -1
- package/es/baseFilter/component.js +2 -1
- package/es/contentDetailList/component.js +3 -1
- package/es/contentDetailList/components/Content/CompoItem/index.js +2 -1
- package/es/contentDetailList/components/Content/ContentListItem/index.js +2 -1
- package/es/contentDetailList/components/Content/DocItem/ApprovalStateMap/index.js +2 -1
- package/es/contentDetailList/components/Content/DocItem/index.js +2 -1
- package/es/contentDetailList/components/Content/DocMpItem/index.js +5 -2
- package/es/contentDetailList/components/Content/KongoNavItem/index.js +2 -1
- package/es/contentDetailList/components/Content/LiveItem/index.js +2 -1
- package/es/contentDetailList/components/Content/MaccountItem/index.js +2 -1
- package/es/contentDetailList/components/Content/index.js +7 -2
- package/es/contentDetailList/components/Doc/index.js +2 -1
- package/es/contentDetailList/style/DocItem.less +4 -3
- package/es/contentDetailList/style/index.css +3 -3
- package/es/contentModal/component.js +12 -7
- package/es/contentModal/components/CompoList/CompoFilter/index.js +3 -2
- package/es/contentModal/components/CompoList/index.js +10 -3
- package/es/contentModal/components/ContentList/MediaFilter/index.js +2 -1
- package/es/contentModal/components/ContentList/index.js +2 -1
- package/es/contentModal/components/LiveList/MediaFilter/index.js +2 -1
- package/es/contentModal/components/LiveList/index.js +2 -1
- package/es/contentModal/components/MpAccountList/MpAccountFilter/index.js +6 -3
- package/es/contentModal/components/MpAccountList/index.js +5 -2
- package/es/contentModal/components/MpContentList/MediaFilter/index.js +6 -3
- package/es/contentModal/components/MpContentList/index.js +5 -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/dataTags/component.js +26 -5
- package/es/editMetaInfo/component.js +2 -1
- package/es/editMetaInfo/components/metaInfoForm.js +92 -7
- package/es/editMetaInfo/style/index.css +18 -1
- package/es/editMetaInfo/style/index.less +31 -1
- package/es/hooks/source.d.ts +9 -0
- package/es/hooks/source.js +31 -0
- package/es/hooks/user.d.ts +1 -1
- package/es/imageCrop/component.js +16 -9
- package/es/index.css +42 -10
- package/es/mediaFilter/component.js +5 -4
- package/es/mediaFilter/components/DocFilter.js +2 -1
- package/es/mediaFilter/components/FilterGroup.js +1 -1
- package/es/mediaFilter/components/MpAccountFilter.d.ts +0 -0
- package/es/mediaFilter/components/MpAccountFilter.js +12 -8
- package/es/mediaFilter/components/MpContentFilter.d.ts +0 -0
- package/es/mediaFilter/components/MpContentFilter.js +12 -8
- package/es/messageBox/list.js +2 -1
- package/es/previousVersion/component.js +2 -1
- 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 -7
- package/es/resourceModal/components/MediaSelection/MainContent/index.js +87 -34
- package/es/resourceModal/components/MediaSelection/ToolbarSearch/index.js +2 -1
- package/es/resourceModal/components/MediaSelection/index.js +2 -1
- package/es/resourceModal/style/MainContent.less +25 -5
- package/es/resourceModal/style/index.css +21 -6
- package/es/selectAvatarList/component.js +2 -1
- package/es/selectGategory/component.js +2 -1
- package/es/selectGategory/components/ColumnSelection/index.js +2 -1
- package/es/selectThumb/component.js +2 -1
- package/es/selectThumb/components/card.js +5 -7
- package/es/selectThumb/components/colorPalette.js +2 -1
- package/es/selectThumb/components/colorPicker.js +2 -1
- package/es/typeIcons/component.js +10 -7
- package/es/uploadBefore/component.js +3 -2
- package/es/uploadBefore/components/UploadBefore.js +2 -1
- package/es/uploadBefore/components/UploadForClick.js +2 -1
- package/es/uploadStep/component.js +3 -2
- package/es/userDirector/component.js +2 -1
- package/es/userDirector/components/userTree.js +2 -1
- package/es/utils/doc.d.ts +1 -0
- package/es/utils/doc.js +2 -1
- package/es/utils/request.js +1 -1
- package/es/utils/typeMap.d.ts +2 -1
- package/es/utils/typeMap.js +5 -2
- package/lib/baseFilter/component.js +2 -1
- package/lib/contentDetailList/component.js +3 -1
- package/lib/contentDetailList/components/Content/CompoItem/index.js +2 -1
- package/lib/contentDetailList/components/Content/ContentListItem/index.js +2 -1
- package/lib/contentDetailList/components/Content/DocItem/ApprovalStateMap/index.js +2 -1
- package/lib/contentDetailList/components/Content/DocItem/index.js +2 -1
- package/lib/contentDetailList/components/Content/DocMpItem/index.js +5 -2
- package/lib/contentDetailList/components/Content/KongoNavItem/index.js +2 -1
- package/lib/contentDetailList/components/Content/LiveItem/index.js +2 -1
- package/lib/contentDetailList/components/Content/MaccountItem/index.js +2 -1
- package/lib/contentDetailList/components/Content/index.js +6 -1
- package/lib/contentDetailList/components/Doc/index.js +2 -1
- package/lib/contentDetailList/style/DocItem.less +4 -3
- package/lib/contentDetailList/style/index.css +3 -3
- package/lib/contentModal/component.js +12 -7
- package/lib/contentModal/components/CompoList/CompoFilter/index.js +3 -2
- package/lib/contentModal/components/CompoList/index.js +10 -3
- package/lib/contentModal/components/ContentList/MediaFilter/index.js +2 -1
- package/lib/contentModal/components/ContentList/index.js +2 -1
- package/lib/contentModal/components/LiveList/MediaFilter/index.js +2 -1
- package/lib/contentModal/components/LiveList/index.js +2 -1
- package/lib/contentModal/components/MpAccountList/MpAccountFilter/index.js +6 -3
- package/lib/contentModal/components/MpAccountList/index.js +5 -2
- package/lib/contentModal/components/MpContentList/MediaFilter/index.js +6 -3
- package/lib/contentModal/components/MpContentList/index.js +5 -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/dataTags/component.js +25 -4
- package/lib/editMetaInfo/component.js +2 -1
- package/lib/editMetaInfo/components/metaInfoForm.js +90 -5
- package/lib/editMetaInfo/style/index.css +18 -1
- package/lib/editMetaInfo/style/index.less +31 -1
- package/lib/hooks/source.js +34 -0
- package/lib/imageCrop/component.js +16 -9
- package/lib/index.css +42 -10
- package/lib/mediaFilter/component.js +2 -1
- package/lib/mediaFilter/components/DocFilter.js +2 -1
- package/lib/mediaFilter/components/FilterGroup.js +1 -1
- package/lib/mediaFilter/components/MpAccountFilter.js +11 -7
- package/lib/mediaFilter/components/MpContentFilter.js +11 -7
- package/lib/messageBox/list.js +2 -1
- package/lib/previousVersion/component.js +2 -1
- 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 -7
- package/lib/resourceModal/components/MediaSelection/MainContent/index.js +86 -33
- package/lib/resourceModal/components/MediaSelection/ToolbarSearch/index.js +2 -1
- package/lib/resourceModal/components/MediaSelection/index.js +2 -1
- package/lib/resourceModal/style/MainContent.less +25 -5
- package/lib/resourceModal/style/index.css +21 -6
- package/lib/selectAvatarList/component.js +2 -1
- package/lib/selectGategory/component.js +2 -1
- package/lib/selectGategory/components/ColumnSelection/index.js +2 -1
- package/lib/selectThumb/component.js +2 -1
- package/lib/selectThumb/components/card.js +5 -7
- package/lib/selectThumb/components/colorPalette.js +2 -1
- package/lib/selectThumb/components/colorPicker.js +2 -1
- package/lib/typeIcons/component.js +9 -6
- package/lib/uploadBefore/component.js +3 -2
- package/lib/uploadBefore/components/UploadBefore.js +2 -1
- package/lib/uploadBefore/components/UploadForClick.js +2 -1
- package/lib/uploadStep/component.js +3 -2
- package/lib/userDirector/component.js +2 -1
- package/lib/userDirector/components/userTree.js +2 -1
- package/lib/utils/doc.js +2 -1
- package/lib/utils/request.js +1 -1
- package/lib/utils/typeMap.js +5 -2
- package/package.json +5 -3
- package/es/contentDetailList/scripts/index.d.ts +0 -48
- package/es/editMetaInfo/script/restaurants.js +0 -127
- package/lib/editMetaInfo/script/restaurants.js +0 -128
|
@@ -62,6 +62,29 @@
|
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
|
+
|
|
66
|
+
.folder-more-button {
|
|
67
|
+
width: 20%;
|
|
68
|
+
overflow: hidden;
|
|
69
|
+
|
|
70
|
+
.folder-more-wrap {
|
|
71
|
+
box-sizing: border-box;
|
|
72
|
+
height: 52px;
|
|
73
|
+
margin-right: 20px;
|
|
74
|
+
padding: 14px 16px;
|
|
75
|
+
line-height: 24px;
|
|
76
|
+
background: #f7f8fa;
|
|
77
|
+
border: 1px solid #ebeef5;
|
|
78
|
+
border-radius: 4px;
|
|
79
|
+
|
|
80
|
+
&:hover {
|
|
81
|
+
color: #165dff;
|
|
82
|
+
background: #f2f3f5;
|
|
83
|
+
box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.1);
|
|
84
|
+
cursor: pointer;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
65
88
|
}
|
|
66
89
|
|
|
67
90
|
.file-list {
|
|
@@ -88,14 +111,11 @@
|
|
|
88
111
|
border-radius: 4px;
|
|
89
112
|
|
|
90
113
|
&:hover {
|
|
114
|
+
border: 1px solid #4886ff;
|
|
91
115
|
box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.1);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
&.active {
|
|
95
|
-
border: 2px solid #4886ff;
|
|
96
116
|
|
|
97
117
|
h4 {
|
|
98
|
-
color: #1a67d2;
|
|
118
|
+
//color: #1a67d2;
|
|
99
119
|
}
|
|
100
120
|
}
|
|
101
121
|
|
|
@@ -180,6 +180,26 @@
|
|
|
180
180
|
word-wrap: normal;
|
|
181
181
|
opacity: 0.85;
|
|
182
182
|
}
|
|
183
|
+
.simple-resources .arco-scrollbar .dialog-media-selection-scroll .file-wrap .folder-list .folder-more-button {
|
|
184
|
+
width: 20%;
|
|
185
|
+
overflow: hidden;
|
|
186
|
+
}
|
|
187
|
+
.simple-resources .arco-scrollbar .dialog-media-selection-scroll .file-wrap .folder-list .folder-more-button .folder-more-wrap {
|
|
188
|
+
box-sizing: border-box;
|
|
189
|
+
height: 52px;
|
|
190
|
+
margin-right: 20px;
|
|
191
|
+
padding: 14px 16px;
|
|
192
|
+
line-height: 24px;
|
|
193
|
+
background: #f7f8fa;
|
|
194
|
+
border: 1px solid #ebeef5;
|
|
195
|
+
border-radius: 4px;
|
|
196
|
+
}
|
|
197
|
+
.simple-resources .arco-scrollbar .dialog-media-selection-scroll .file-wrap .folder-list .folder-more-button .folder-more-wrap:hover {
|
|
198
|
+
color: #165dff;
|
|
199
|
+
background: #f2f3f5;
|
|
200
|
+
box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.1);
|
|
201
|
+
cursor: pointer;
|
|
202
|
+
}
|
|
183
203
|
.simple-resources .arco-scrollbar .dialog-media-selection-scroll .file-wrap .file-list {
|
|
184
204
|
display: flex;
|
|
185
205
|
flex-wrap: wrap;
|
|
@@ -203,14 +223,9 @@
|
|
|
203
223
|
border-radius: 4px;
|
|
204
224
|
}
|
|
205
225
|
.simple-resources .arco-scrollbar .dialog-media-selection-scroll .file-wrap .file-list .item .shadow-wrap:hover {
|
|
226
|
+
border: 1px solid #4886ff;
|
|
206
227
|
box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.1);
|
|
207
228
|
}
|
|
208
|
-
.simple-resources .arco-scrollbar .dialog-media-selection-scroll .file-wrap .file-list .item .shadow-wrap.active {
|
|
209
|
-
border: 2px solid #4886ff;
|
|
210
|
-
}
|
|
211
|
-
.simple-resources .arco-scrollbar .dialog-media-selection-scroll .file-wrap .file-list .item .shadow-wrap.active h4 {
|
|
212
|
-
color: #1a67d2;
|
|
213
|
-
}
|
|
214
229
|
.simple-resources .arco-scrollbar .dialog-media-selection-scroll .file-wrap .file-list .item .shadow-wrap .transcoding-in-progress {
|
|
215
230
|
position: absolute;
|
|
216
231
|
top: 0;
|
|
@@ -13,9 +13,10 @@ const _sfc_main = defineComponent({
|
|
|
13
13
|
repositoryId: {}
|
|
14
14
|
},
|
|
15
15
|
emits: ["update:list"],
|
|
16
|
-
setup(__props, { emit }) {
|
|
16
|
+
setup(__props, { emit: __emit }) {
|
|
17
17
|
const props = __props;
|
|
18
18
|
const BASE_API = props.BASE_API || DEFAULT_BASE_API;
|
|
19
|
+
const emit = __emit;
|
|
19
20
|
const visible = ref(false);
|
|
20
21
|
const list = computed({
|
|
21
22
|
get() {
|
|
@@ -15,8 +15,9 @@ const _sfc_main = defineComponent({
|
|
|
15
15
|
columnWithData: {}
|
|
16
16
|
},
|
|
17
17
|
emits: ["update:visible", "submit"],
|
|
18
|
-
setup(__props, { emit }) {
|
|
18
|
+
setup(__props, { emit: __emit }) {
|
|
19
19
|
const props = __props;
|
|
20
|
+
const emit = __emit;
|
|
20
21
|
const BASE_API = props.base_api || DEFAULT_BASE_API;
|
|
21
22
|
const selectColumnData = ref(props.columnData || []);
|
|
22
23
|
const selectColumnWithData = ref(props.columnWithData || []);
|
|
@@ -31,8 +31,9 @@ const _sfc_main = defineComponent({
|
|
|
31
31
|
"update:selectColumnData",
|
|
32
32
|
"update:selectColumnWithData"
|
|
33
33
|
],
|
|
34
|
-
setup(__props, { emit }) {
|
|
34
|
+
setup(__props, { emit: __emit }) {
|
|
35
35
|
const props = __props;
|
|
36
|
+
const emit = __emit;
|
|
36
37
|
const popoverShow = ref(false);
|
|
37
38
|
const treeData = ref([]);
|
|
38
39
|
const listMinHeight = ref(0);
|
|
@@ -53,7 +53,8 @@ const _sfc_main = defineComponent({
|
|
|
53
53
|
series: {}
|
|
54
54
|
},
|
|
55
55
|
emits: ["update:dataValue"],
|
|
56
|
-
setup(__props, { emit }) {
|
|
56
|
+
setup(__props, { emit: __emit }) {
|
|
57
|
+
const emit = __emit;
|
|
57
58
|
const props = __props;
|
|
58
59
|
const BASE_API = props.BASE_API || DEFAULT_BASE_API;
|
|
59
60
|
const useCropper = ref(props.cropper || false);
|
|
@@ -5,9 +5,6 @@ const _hoisted_1 = {
|
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "img-v"
|
|
7
7
|
};
|
|
8
|
-
const _hoisted_2 = ["onClick"];
|
|
9
|
-
const _hoisted_3 = ["onClick"];
|
|
10
|
-
const _hoisted_4 = ["onClick"];
|
|
11
8
|
const _sfc_main = defineComponent({
|
|
12
9
|
...{ name: "thumbCard" },
|
|
13
10
|
__name: "card",
|
|
@@ -19,8 +16,9 @@ const _sfc_main = defineComponent({
|
|
|
19
16
|
model: {}
|
|
20
17
|
},
|
|
21
18
|
emits: ["open", "remove"],
|
|
22
|
-
setup(__props, { emit }) {
|
|
19
|
+
setup(__props, { emit: __emit }) {
|
|
23
20
|
const props = __props;
|
|
21
|
+
const emit = __emit;
|
|
24
22
|
const classObj = computed(() => {
|
|
25
23
|
var _a;
|
|
26
24
|
if (!props.model)
|
|
@@ -60,14 +58,14 @@ const _sfc_main = defineComponent({
|
|
|
60
58
|
onClick: withModifiers(openDialogMediaSelection, ["stop"])
|
|
61
59
|
}, [
|
|
62
60
|
createVNode(unref(IconEdit))
|
|
63
|
-
]
|
|
61
|
+
]),
|
|
64
62
|
_ctx.along ? (openBlock(), createElementBlock("span", {
|
|
65
63
|
key: 0,
|
|
66
64
|
class: "half",
|
|
67
65
|
onClick: withModifiers(remove, ["stop"])
|
|
68
66
|
}, [
|
|
69
67
|
createVNode(unref(IconDelete))
|
|
70
|
-
]
|
|
68
|
+
])) : createCommentVNode("v-if", true)
|
|
71
69
|
])
|
|
72
70
|
]),
|
|
73
71
|
_: 1
|
|
@@ -78,7 +76,7 @@ const _sfc_main = defineComponent({
|
|
|
78
76
|
onClick: withModifiers(openDialogMediaSelection, ["stop"])
|
|
79
77
|
}, [
|
|
80
78
|
createVNode(unref(IconPlus))
|
|
81
|
-
]
|
|
79
|
+
]))
|
|
82
80
|
], 2);
|
|
83
81
|
};
|
|
84
82
|
}
|
|
@@ -12,8 +12,9 @@ const _sfc_main = defineComponent({
|
|
|
12
12
|
model: {}
|
|
13
13
|
},
|
|
14
14
|
emits: ["change"],
|
|
15
|
-
setup(__props, { emit }) {
|
|
15
|
+
setup(__props, { emit: __emit }) {
|
|
16
16
|
const props = __props;
|
|
17
|
+
const emit = __emit;
|
|
17
18
|
const color = ref("rgb(101,121,109)");
|
|
18
19
|
const colorList = ref([]);
|
|
19
20
|
const colorChange = (_color) => {
|
|
@@ -6,8 +6,9 @@ const _sfc_main = defineComponent({
|
|
|
6
6
|
modelValue: String
|
|
7
7
|
},
|
|
8
8
|
emits: ["update:modelValue", "change"],
|
|
9
|
-
setup(__props, { emit }) {
|
|
9
|
+
setup(__props, { emit: __emit }) {
|
|
10
10
|
const props = __props;
|
|
11
|
+
const emit = __emit;
|
|
11
12
|
const color = ref(props.modelValue || "#ffffff");
|
|
12
13
|
watch(
|
|
13
14
|
() => props.modelValue,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createElementBlock, createCommentVNode, createBlock, unref, Fragment, createVNode } from "vue";
|
|
2
|
-
import { IconXinwen, IconShipin, IconYinyue, IconTuji, IconXiaoshipin, IconZhuanti, IconYinpinji, IconShipinji, IconH5, IconZhibo,
|
|
2
|
+
import { IconXinwen, IconShipin, IconYinyue, IconTuji, IconXiaoshipin, IconZhuanti, IconYinpinji, IconShipinji, IconMiniprogram, IconH5, IconZhibo, IconPicture, IconGongzhonghao, IconGaojian } from "@arco-iconbox/vue-cmstop-icons";
|
|
3
3
|
const _hoisted_1 = { class: "type-icons-container" };
|
|
4
4
|
const _sfc_main = defineComponent({
|
|
5
5
|
...{ name: "typeIcons" },
|
|
@@ -36,21 +36,24 @@ const _sfc_main = defineComponent({
|
|
|
36
36
|
], 2112)) : props.doc && props.type === "video_album" ? (openBlock(), createElementBlock(Fragment, { key: 7 }, [
|
|
37
37
|
createCommentVNode(" \u89C6\u9891\u96C6 "),
|
|
38
38
|
createVNode(unref(IconShipinji))
|
|
39
|
-
], 2112)) : props.doc && props.type === "
|
|
39
|
+
], 2112)) : props.doc && props.type === "mini_program" ? (openBlock(), createElementBlock(Fragment, { key: 8 }, [
|
|
40
|
+
createCommentVNode(" \u89C6\u9891\u96C6 "),
|
|
41
|
+
createVNode(unref(IconMiniprogram))
|
|
42
|
+
], 2112)) : props.doc && props.type === "h5" ? (openBlock(), createElementBlock(Fragment, { key: 9 }, [
|
|
40
43
|
createCommentVNode(" h5 "),
|
|
41
44
|
createVNode(unref(IconH5))
|
|
42
|
-
], 2112)) : props.doc && props.type === "live" ? (openBlock(), createElementBlock(Fragment, { key:
|
|
45
|
+
], 2112)) : props.doc && props.type === "live" ? (openBlock(), createElementBlock(Fragment, { key: 10 }, [
|
|
43
46
|
createCommentVNode(" \u76F4\u64AD "),
|
|
44
47
|
createVNode(unref(IconZhibo))
|
|
45
|
-
], 2112)) : props.resource && props.type === "image" ? (openBlock(), createElementBlock(Fragment, { key:
|
|
48
|
+
], 2112)) : props.resource && props.type === "image" ? (openBlock(), createElementBlock(Fragment, { key: 11 }, [
|
|
46
49
|
createCommentVNode("------------------------------- \u7D20\u6750\u7C7B\u578B --------------------------------------"),
|
|
47
50
|
createCommentVNode(" \u56FE\u7247 "),
|
|
48
|
-
createVNode(unref(
|
|
49
|
-
], 2112)) : props.type === "mpdoc" ? (openBlock(), createElementBlock(Fragment, { key:
|
|
51
|
+
createVNode(unref(IconPicture))
|
|
52
|
+
], 2112)) : props.type === "mpdoc" ? (openBlock(), createElementBlock(Fragment, { key: 12 }, [
|
|
50
53
|
createCommentVNode("------------------------------- \u5176\u4ED6\u7C7B\u578B --------------------------------------"),
|
|
51
54
|
createCommentVNode(" \u516C\u4F17\u53F7\u7A3F\u4EF6 "),
|
|
52
55
|
createVNode(unref(IconGongzhonghao))
|
|
53
|
-
], 2112)) : (openBlock(), createElementBlock(Fragment, { key:
|
|
56
|
+
], 2112)) : (openBlock(), createElementBlock(Fragment, { key: 13 }, [
|
|
54
57
|
createCommentVNode(" \u5FAE\u4FE1\u7A3F\u4EF6 "),
|
|
55
58
|
createCommentVNode(" <icon-weixingaojian /> "),
|
|
56
59
|
createCommentVNode(" \u8F6E\u535A\u56FE\u96C6 "),
|
|
@@ -15,10 +15,11 @@ const _sfc_main = defineComponent({
|
|
|
15
15
|
uploadMethod: {}
|
|
16
16
|
},
|
|
17
17
|
emits: ["onProgress", "onListReady"],
|
|
18
|
-
setup(__props, { emit:
|
|
19
|
-
const props = __props;
|
|
18
|
+
setup(__props, { emit: __emit }) {
|
|
20
19
|
const { state: visBeforeUpload, open: openBeforePannel } = useToggle();
|
|
21
20
|
const { state: visUploadList, open: openListPannel } = useToggle();
|
|
21
|
+
const props = __props;
|
|
22
|
+
const emits = __emit;
|
|
22
23
|
const baseApi = ref(props.BASE_API || DEFAULT_BASE_API);
|
|
23
24
|
const { preOptionsList, uploadFileToShowFileTrans } = usePreUploadOptions();
|
|
24
25
|
const { fileList, uploadFileAdd } = useUplaodList();
|
|
@@ -13,8 +13,9 @@ const _sfc_main = defineComponent({
|
|
|
13
13
|
BASE_API: {}
|
|
14
14
|
},
|
|
15
15
|
emits: ["confirm", "update:visable", "update:file-list"],
|
|
16
|
-
setup(__props, { emit:
|
|
16
|
+
setup(__props, { emit: __emit }) {
|
|
17
17
|
const props = __props;
|
|
18
|
+
const emits = __emit;
|
|
18
19
|
const modalVis = toRef(props, "visable");
|
|
19
20
|
const fileList = toRef(props, "fileList");
|
|
20
21
|
const column = [
|
|
@@ -6,7 +6,8 @@ const _sfc_main = defineComponent({
|
|
|
6
6
|
uploadMethod: {}
|
|
7
7
|
},
|
|
8
8
|
emits: ["after-choose"],
|
|
9
|
-
setup(__props, { emit:
|
|
9
|
+
setup(__props, { emit: __emit }) {
|
|
10
|
+
const emits = __emit;
|
|
10
11
|
const tusUpload = (option) => {
|
|
11
12
|
const { fileItem } = option;
|
|
12
13
|
emits("after-choose", fileItem);
|
|
@@ -26,8 +26,7 @@ const _sfc_main = defineComponent({
|
|
|
26
26
|
global: { type: Boolean }
|
|
27
27
|
},
|
|
28
28
|
emits: ["update:visable"],
|
|
29
|
-
setup(__props, { emit:
|
|
30
|
-
const props = __props;
|
|
29
|
+
setup(__props, { emit: __emit }) {
|
|
31
30
|
const progressEnum = {
|
|
32
31
|
UPLOADING: "normal",
|
|
33
32
|
WATING: "normal",
|
|
@@ -40,6 +39,8 @@ const _sfc_main = defineComponent({
|
|
|
40
39
|
SUCCESS: "\u4E0A\u4F20\u5B8C\u6210",
|
|
41
40
|
ERROR: "\u4E0A\u4F20\u5931\u8D25"
|
|
42
41
|
};
|
|
42
|
+
const emits = __emit;
|
|
43
|
+
const props = __props;
|
|
43
44
|
const showList = toRef(props, "fileList");
|
|
44
45
|
const { state: expend, toggle: toggleExp } = useToggle(true);
|
|
45
46
|
const { state: scale, toggle: toggleSca } = useToggle();
|
|
@@ -22,9 +22,10 @@ const _sfc_main = defineComponent({
|
|
|
22
22
|
title: {}
|
|
23
23
|
},
|
|
24
24
|
emits: ["update:visible", "submit"],
|
|
25
|
-
setup(__props, { emit }) {
|
|
25
|
+
setup(__props, { emit: __emit }) {
|
|
26
26
|
const props = __props;
|
|
27
27
|
const BASE_API = props.BASE_API || DEFAULT_BASE_API;
|
|
28
|
+
const emit = __emit;
|
|
28
29
|
const RoleTreeData = ref([]);
|
|
29
30
|
const DepartTreeData = ref([]);
|
|
30
31
|
const userSelectedList = ref([]);
|
|
@@ -9,7 +9,7 @@ const _sfc_main = defineComponent({
|
|
|
9
9
|
list: {}
|
|
10
10
|
},
|
|
11
11
|
emits: ["select", "expand", "add"],
|
|
12
|
-
setup(__props, { emit }) {
|
|
12
|
+
setup(__props, { emit: __emit }) {
|
|
13
13
|
const props = __props;
|
|
14
14
|
const loadMore = () => {
|
|
15
15
|
};
|
|
@@ -18,6 +18,7 @@ const _sfc_main = defineComponent({
|
|
|
18
18
|
title: "alias",
|
|
19
19
|
key: "node_key"
|
|
20
20
|
};
|
|
21
|
+
const emit = __emit;
|
|
21
22
|
const select = (selectedKeys, data) => {
|
|
22
23
|
emit("select", selectedKeys, data);
|
|
23
24
|
};
|
package/es/utils/doc.d.ts
CHANGED
|
@@ -55,6 +55,7 @@ export declare const editDocTypeToRouteMap: {
|
|
|
55
55
|
audio_album: string;
|
|
56
56
|
special_v3: string;
|
|
57
57
|
h5: string;
|
|
58
|
+
mini_program: string;
|
|
58
59
|
};
|
|
59
60
|
export declare const approvalItem: (item: any) => any;
|
|
60
61
|
export declare const getPublishParmas: (categories: any[], categories_with: any[], docData: any) => {
|
package/es/utils/doc.js
CHANGED
|
@@ -81,7 +81,8 @@ const docSeries = {
|
|
|
81
81
|
audio: "\u97F3\u9891\u7A3F\u4EF6",
|
|
82
82
|
audio_album: "\u97F3\u9891\u96C6\u7A3F\u4EF6",
|
|
83
83
|
h5: "H5\u7A3F\u4EF6",
|
|
84
|
-
special_v3: "\u4E13\u9898\u7A3F\u4EF6"
|
|
84
|
+
special_v3: "\u4E13\u9898\u7A3F\u4EF6",
|
|
85
|
+
mini_program: "\u5C0F\u7A0B\u5E8F\u7A3F\u4EF6"
|
|
85
86
|
};
|
|
86
87
|
const typeOptions = () => {
|
|
87
88
|
const arr = Object.keys(docSeries).map((key) => {
|
package/es/utils/request.js
CHANGED
package/es/utils/typeMap.d.ts
CHANGED
|
@@ -56,7 +56,7 @@ export declare const target_type_map: {
|
|
|
56
56
|
9: string;
|
|
57
57
|
10: string;
|
|
58
58
|
13: string;
|
|
59
|
-
14:
|
|
59
|
+
14: any;
|
|
60
60
|
15: string;
|
|
61
61
|
16: string;
|
|
62
62
|
};
|
|
@@ -120,6 +120,7 @@ export declare const kongo_source_map: {
|
|
|
120
120
|
document: string;
|
|
121
121
|
category_list: string;
|
|
122
122
|
service: string;
|
|
123
|
+
political: string;
|
|
123
124
|
};
|
|
124
125
|
export declare const calcApprovingUser: (data: any) => any;
|
|
125
126
|
export declare const calcApprovingDependent: (data: any) => string;
|
package/es/utils/typeMap.js
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
var _a, _b, _c;
|
|
2
|
+
const mpName = ((_c = (_b = (_a = window.situoyun) == null ? void 0 : _a.config) == null ? void 0 : _b.oem_config) == null ? void 0 : _c.mp_name) || "\u516C\u4F17\u53F7";
|
|
1
3
|
const key_target_type_map = {
|
|
2
4
|
3: "doc",
|
|
3
5
|
4: "column",
|
|
@@ -33,7 +35,7 @@ const componentsColumns = {
|
|
|
33
35
|
focus: { value: "focus", label: "\u70ED\u70B9\u7EC4\u4EF6" },
|
|
34
36
|
radio: { value: "radio", label: "\u5E7F\u64AD\u7EC4\u4EF6", simple: true },
|
|
35
37
|
tv: { value: "tv", label: "\u7535\u89C6\u7EC4\u4EF6", simple: true },
|
|
36
|
-
mp_account: { value: "mp_account", label:
|
|
38
|
+
mp_account: { value: "mp_account", label: `${mpName}\u7EC4\u4EF6` },
|
|
37
39
|
column: { value: "column", label: "\u5206\u680F\u7EC4\u4EF6" },
|
|
38
40
|
kongo: { value: "kongo", label: "\u529F\u80FD\u5BFC\u822A\u7EC4\u4EF6" },
|
|
39
41
|
picture: { value: "picture", label: "\u56FE\u7247\u7EC4\u4EF6", simple: true },
|
|
@@ -92,7 +94,8 @@ const kongo_source_map = {
|
|
|
92
94
|
url: "\u94FE\u63A5",
|
|
93
95
|
document: "\u7A3F\u4EF6",
|
|
94
96
|
category_list: "\u9891\u9053",
|
|
95
|
-
service: "\u670D\u52A1"
|
|
97
|
+
service: "\u670D\u52A1",
|
|
98
|
+
political: "\u653F\u60C5"
|
|
96
99
|
};
|
|
97
100
|
const calcApprovingUser = (data) => {
|
|
98
101
|
if (data.current_processes[0] && data.current_processes[0].users && data.current_processes[0].users[0]) {
|
|
@@ -21,8 +21,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
21
21
|
formatQuery: { type: Boolean }
|
|
22
22
|
},
|
|
23
23
|
emits: ["search"],
|
|
24
|
-
setup(__props, { emit }) {
|
|
24
|
+
setup(__props, { emit: __emit }) {
|
|
25
25
|
const props = __props;
|
|
26
|
+
const emit = __emit;
|
|
26
27
|
props.BASE_API || config.DEFAULT_BASE_API;
|
|
27
28
|
const render = vue.ref(false);
|
|
28
29
|
const form = vue.ref({});
|
|
@@ -31,8 +31,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
31
31
|
"scroll",
|
|
32
32
|
"scrollReachEnd"
|
|
33
33
|
],
|
|
34
|
-
setup(__props, { emit }) {
|
|
34
|
+
setup(__props, { emit: __emit }) {
|
|
35
35
|
const props = __props;
|
|
36
|
+
const emit = __emit;
|
|
36
37
|
const parmasProps = props.parmas || {};
|
|
37
38
|
const dragalbeProps = props.dragalbe || false;
|
|
38
39
|
const abttritesProps = props.abttrites || [];
|
|
@@ -44,6 +45,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
44
45
|
});
|
|
45
46
|
const dataList = vue.computed({
|
|
46
47
|
get() {
|
|
48
|
+
console.log("dataList", props.data);
|
|
47
49
|
return props.data;
|
|
48
50
|
},
|
|
49
51
|
set(value) {
|
|
@@ -22,8 +22,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
22
22
|
item: {}
|
|
23
23
|
},
|
|
24
24
|
emits: ["clickTitle"],
|
|
25
|
-
setup(__props, { emit }) {
|
|
25
|
+
setup(__props, { emit: __emit }) {
|
|
26
26
|
const props = __props;
|
|
27
|
+
const emit = __emit;
|
|
27
28
|
const comColumnsMap = vue.ref(typeMap.compoColumnsMap().value);
|
|
28
29
|
const hide = vue.computed(() => {
|
|
29
30
|
const { hide: hide2 } = props.item;
|
|
@@ -30,8 +30,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
30
30
|
parmas: {}
|
|
31
31
|
},
|
|
32
32
|
emits: ["clickTitle"],
|
|
33
|
-
setup(__props, { emit }) {
|
|
33
|
+
setup(__props, { emit: __emit }) {
|
|
34
34
|
const props = __props;
|
|
35
|
+
const emit = __emit;
|
|
35
36
|
const hide = vue.computed(() => {
|
|
36
37
|
const { hide: hide2 } = props.item;
|
|
37
38
|
return hide2 === 7 || hide2 === 6;
|
|
@@ -15,7 +15,8 @@ const _sfc_main = vue.defineComponent({
|
|
|
15
15
|
item: {}
|
|
16
16
|
},
|
|
17
17
|
emits: ["showUserInfo"],
|
|
18
|
-
setup(__props, { emit }) {
|
|
18
|
+
setup(__props, { emit: __emit }) {
|
|
19
|
+
const emit = __emit;
|
|
19
20
|
const calcIsRobot = (data) => {
|
|
20
21
|
if (data.current_processes[0] && data.current_processes[0].users && data.current_processes[0].users[0]) {
|
|
21
22
|
const ApvUser = data.current_processes[0].users[0];
|
|
@@ -34,8 +34,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
34
34
|
abttrites: {}
|
|
35
35
|
},
|
|
36
36
|
emits: ["clickTitle", "cellMouseEnter", "cellMouseLeave"],
|
|
37
|
-
setup(__props, { emit }) {
|
|
37
|
+
setup(__props, { emit: __emit }) {
|
|
38
38
|
const props = __props;
|
|
39
|
+
const emit = __emit;
|
|
39
40
|
const hide = vue.computed(() => {
|
|
40
41
|
const { hide: hide2 } = props.item;
|
|
41
42
|
return hide2 === 7 || hide2 === 6;
|
|
@@ -24,12 +24,15 @@ const _sfc_main = vue.defineComponent({
|
|
|
24
24
|
abttrites: {}
|
|
25
25
|
},
|
|
26
26
|
emits: ["clickTitle"],
|
|
27
|
-
setup(__props, { emit }) {
|
|
27
|
+
setup(__props, { emit: __emit }) {
|
|
28
|
+
var _a, _b, _c;
|
|
28
29
|
const props = __props;
|
|
30
|
+
const emit = __emit;
|
|
29
31
|
const hide = vue.computed(() => {
|
|
30
32
|
const { hide: hide2 } = props.item;
|
|
31
33
|
return hide2 === 7 || hide2 === 6;
|
|
32
34
|
});
|
|
35
|
+
const mpName = ((_c = (_b = (_a = window.situoyun) == null ? void 0 : _a.config) == null ? void 0 : _b.oem_config) == null ? void 0 : _c.mp_name) || "\u516C\u4F17\u53F7";
|
|
33
36
|
const thumb = vue.computed(() => {
|
|
34
37
|
if (!props.item)
|
|
35
38
|
return null;
|
|
@@ -86,7 +89,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
86
89
|
vue.createElementVNode("span", _hoisted_8, [
|
|
87
90
|
vue.createVNode(vue.unref(webVue.Tooltip), {
|
|
88
91
|
position: "top",
|
|
89
|
-
content: `\u6240\u5C5E
|
|
92
|
+
content: `\u6240\u5C5E${vue.unref(mpName)}: ${_ctx.item.account_name || _ctx.item.mp_user_name}`
|
|
90
93
|
}, {
|
|
91
94
|
default: vue.withCtx(() => [
|
|
92
95
|
vue.createElementVNode("span", null, vue.toDisplayString(_ctx.item.account_name || _ctx.item.mp_user_name), 1)
|
|
@@ -24,8 +24,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
24
24
|
item: {}
|
|
25
25
|
},
|
|
26
26
|
emits: ["clickTitle"],
|
|
27
|
-
setup(__props, { emit }) {
|
|
27
|
+
setup(__props, { emit: __emit }) {
|
|
28
28
|
const props = __props;
|
|
29
|
+
const emit = __emit;
|
|
29
30
|
const hide = vue.computed(() => {
|
|
30
31
|
const { hide: hide2 } = props.item;
|
|
31
32
|
return hide2 === 7 || hide2 === 6;
|
|
@@ -21,8 +21,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
21
21
|
item: {}
|
|
22
22
|
},
|
|
23
23
|
emits: ["clickTitle"],
|
|
24
|
-
setup(__props, { emit }) {
|
|
24
|
+
setup(__props, { emit: __emit }) {
|
|
25
25
|
const props = __props;
|
|
26
|
+
const emit = __emit;
|
|
26
27
|
const hide = vue.computed(() => {
|
|
27
28
|
const { hide: hide2 } = props.item;
|
|
28
29
|
return hide2 === 7 || hide2 === 6;
|
|
@@ -18,8 +18,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
18
18
|
abttrites: {}
|
|
19
19
|
},
|
|
20
20
|
emits: ["clickTitle"],
|
|
21
|
-
setup(__props, { emit }) {
|
|
21
|
+
setup(__props, { emit: __emit }) {
|
|
22
22
|
const props = __props;
|
|
23
|
+
const emit = __emit;
|
|
23
24
|
const hide = vue.computed(() => {
|
|
24
25
|
const { hide: hide2 } = props.item;
|
|
25
26
|
return hide2 === 7 || hide2 === 6;
|
|
@@ -96,10 +96,15 @@ const _sfc_main = vue.defineComponent({
|
|
|
96
96
|
parmas: {}
|
|
97
97
|
},
|
|
98
98
|
emits: ["sortChange", "clickTitle", "dragstart"],
|
|
99
|
-
setup(__props, { emit }) {
|
|
99
|
+
setup(__props, { emit: __emit }) {
|
|
100
|
+
const props = __props;
|
|
101
|
+
const emit = __emit;
|
|
100
102
|
const clickTitle = (item) => {
|
|
101
103
|
emit("clickTitle", item);
|
|
102
104
|
};
|
|
105
|
+
vue.onMounted(() => {
|
|
106
|
+
console.log("props", props.item);
|
|
107
|
+
});
|
|
103
108
|
return (_ctx, _cache) => {
|
|
104
109
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
105
110
|
vue.createCommentVNode(" \u7A3F\u4EF6 "),
|
|
@@ -9,7 +9,8 @@ const _sfc_main = vue.defineComponent({
|
|
|
9
9
|
index: {}
|
|
10
10
|
},
|
|
11
11
|
emits: ["cellMouseEnter", "cellMouseLeave", "clickTitle"],
|
|
12
|
-
setup(__props, { emit }) {
|
|
12
|
+
setup(__props, { emit: __emit }) {
|
|
13
|
+
const emit = __emit;
|
|
13
14
|
const cellMouseEnter = (params) => {
|
|
14
15
|
emit("cellMouseEnter", params);
|
|
15
16
|
};
|
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
width: 100%;
|
|
21
21
|
height: 100%;
|
|
22
22
|
border-radius: 4px;
|
|
23
|
+
|
|
23
24
|
img {
|
|
24
25
|
width: 100%;
|
|
25
26
|
height: 100%;
|
|
@@ -51,15 +52,15 @@
|
|
|
51
52
|
padding: 2px 0;
|
|
52
53
|
|
|
53
54
|
.title {
|
|
54
|
-
width: calc(100% - 50px);
|
|
55
55
|
display: flex;
|
|
56
56
|
align-items: center;
|
|
57
|
+
width: calc(100% - 50px);
|
|
57
58
|
margin-bottom: 10px;
|
|
58
59
|
overflow: hidden;
|
|
59
60
|
color: #1d2129;
|
|
61
|
+
font-weight: 400;
|
|
60
62
|
font-size: 14px;
|
|
61
63
|
font-style: normal;
|
|
62
|
-
font-weight: 400;
|
|
63
64
|
line-height: 22px;
|
|
64
65
|
cursor: pointer;
|
|
65
66
|
-webkit-line-clamp: 2;
|
|
@@ -93,7 +94,7 @@
|
|
|
93
94
|
|
|
94
95
|
.tags {
|
|
95
96
|
display: inline-block;
|
|
96
|
-
width:
|
|
97
|
+
width: 200px;
|
|
97
98
|
}
|
|
98
99
|
|
|
99
100
|
.abttr {
|
|
@@ -557,15 +557,15 @@
|
|
|
557
557
|
padding: 2px 0;
|
|
558
558
|
}
|
|
559
559
|
.medialist-doc-item-view .info-view .title {
|
|
560
|
-
width: calc(100% - 50px);
|
|
561
560
|
display: flex;
|
|
562
561
|
align-items: center;
|
|
562
|
+
width: calc(100% - 50px);
|
|
563
563
|
margin-bottom: 10px;
|
|
564
564
|
overflow: hidden;
|
|
565
565
|
color: #1d2129;
|
|
566
|
+
font-weight: 400;
|
|
566
567
|
font-size: 14px;
|
|
567
568
|
font-style: normal;
|
|
568
|
-
font-weight: 400;
|
|
569
569
|
line-height: 22px;
|
|
570
570
|
cursor: pointer;
|
|
571
571
|
-webkit-line-clamp: 2;
|
|
@@ -595,7 +595,7 @@
|
|
|
595
595
|
}
|
|
596
596
|
.medialist-doc-item-view .info-view .abttrite-v .left .tags {
|
|
597
597
|
display: inline-block;
|
|
598
|
-
width:
|
|
598
|
+
width: 200px;
|
|
599
599
|
}
|
|
600
600
|
.medialist-doc-item-view .info-view .abttrite-v .left .abttr {
|
|
601
601
|
display: inline-block;
|