@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
|
@@ -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;
|
|
@@ -14,9 +14,10 @@ const _sfc_main = vue.defineComponent({
|
|
|
14
14
|
repositoryId: {}
|
|
15
15
|
},
|
|
16
16
|
emits: ["update:list"],
|
|
17
|
-
setup(__props, { emit }) {
|
|
17
|
+
setup(__props, { emit: __emit }) {
|
|
18
18
|
const props = __props;
|
|
19
19
|
const BASE_API = props.BASE_API || config.DEFAULT_BASE_API;
|
|
20
|
+
const emit = __emit;
|
|
20
21
|
const visible = vue.ref(false);
|
|
21
22
|
const list = vue.computed({
|
|
22
23
|
get() {
|
|
@@ -16,8 +16,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
16
16
|
columnWithData: {}
|
|
17
17
|
},
|
|
18
18
|
emits: ["update:visible", "submit"],
|
|
19
|
-
setup(__props, { emit }) {
|
|
19
|
+
setup(__props, { emit: __emit }) {
|
|
20
20
|
const props = __props;
|
|
21
|
+
const emit = __emit;
|
|
21
22
|
const BASE_API = props.base_api || config.DEFAULT_BASE_API;
|
|
22
23
|
const selectColumnData = vue.ref(props.columnData || []);
|
|
23
24
|
const selectColumnWithData = vue.ref(props.columnWithData || []);
|
|
@@ -32,8 +32,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
32
32
|
"update:selectColumnData",
|
|
33
33
|
"update:selectColumnWithData"
|
|
34
34
|
],
|
|
35
|
-
setup(__props, { emit }) {
|
|
35
|
+
setup(__props, { emit: __emit }) {
|
|
36
36
|
const props = __props;
|
|
37
|
+
const emit = __emit;
|
|
37
38
|
const popoverShow = vue.ref(false);
|
|
38
39
|
const treeData = vue.ref([]);
|
|
39
40
|
const listMinHeight = vue.ref(0);
|
|
@@ -54,7 +54,8 @@ const _sfc_main = vue.defineComponent({
|
|
|
54
54
|
series: {}
|
|
55
55
|
},
|
|
56
56
|
emits: ["update:dataValue"],
|
|
57
|
-
setup(__props, { emit }) {
|
|
57
|
+
setup(__props, { emit: __emit }) {
|
|
58
|
+
const emit = __emit;
|
|
58
59
|
const props = __props;
|
|
59
60
|
const BASE_API = props.BASE_API || config.DEFAULT_BASE_API;
|
|
60
61
|
const useCropper = vue.ref(props.cropper || false);
|
|
@@ -6,9 +6,6 @@ const _hoisted_1 = {
|
|
|
6
6
|
key: 0,
|
|
7
7
|
class: "img-v"
|
|
8
8
|
};
|
|
9
|
-
const _hoisted_2 = ["onClick"];
|
|
10
|
-
const _hoisted_3 = ["onClick"];
|
|
11
|
-
const _hoisted_4 = ["onClick"];
|
|
12
9
|
const _sfc_main = vue.defineComponent({
|
|
13
10
|
...{ name: "thumbCard" },
|
|
14
11
|
__name: "card",
|
|
@@ -20,8 +17,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
20
17
|
model: {}
|
|
21
18
|
},
|
|
22
19
|
emits: ["open", "remove"],
|
|
23
|
-
setup(__props, { emit }) {
|
|
20
|
+
setup(__props, { emit: __emit }) {
|
|
24
21
|
const props = __props;
|
|
22
|
+
const emit = __emit;
|
|
25
23
|
const classObj = vue.computed(() => {
|
|
26
24
|
var _a;
|
|
27
25
|
if (!props.model)
|
|
@@ -61,14 +59,14 @@ const _sfc_main = vue.defineComponent({
|
|
|
61
59
|
onClick: vue.withModifiers(openDialogMediaSelection, ["stop"])
|
|
62
60
|
}, [
|
|
63
61
|
vue.createVNode(vue.unref(icon.IconEdit))
|
|
64
|
-
]
|
|
62
|
+
]),
|
|
65
63
|
_ctx.along ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
66
64
|
key: 0,
|
|
67
65
|
class: "half",
|
|
68
66
|
onClick: vue.withModifiers(remove, ["stop"])
|
|
69
67
|
}, [
|
|
70
68
|
vue.createVNode(vue.unref(icon.IconDelete))
|
|
71
|
-
]
|
|
69
|
+
])) : vue.createCommentVNode("v-if", true)
|
|
72
70
|
])
|
|
73
71
|
]),
|
|
74
72
|
_: 1
|
|
@@ -79,7 +77,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
79
77
|
onClick: vue.withModifiers(openDialogMediaSelection, ["stop"])
|
|
80
78
|
}, [
|
|
81
79
|
vue.createVNode(vue.unref(icon.IconPlus))
|
|
82
|
-
]
|
|
80
|
+
]))
|
|
83
81
|
], 2);
|
|
84
82
|
};
|
|
85
83
|
}
|
|
@@ -13,8 +13,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
13
13
|
model: {}
|
|
14
14
|
},
|
|
15
15
|
emits: ["change"],
|
|
16
|
-
setup(__props, { emit }) {
|
|
16
|
+
setup(__props, { emit: __emit }) {
|
|
17
17
|
const props = __props;
|
|
18
|
+
const emit = __emit;
|
|
18
19
|
const color = vue.ref("rgb(101,121,109)");
|
|
19
20
|
const colorList = vue.ref([]);
|
|
20
21
|
const colorChange = (_color) => {
|
|
@@ -7,8 +7,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
7
7
|
modelValue: String
|
|
8
8
|
},
|
|
9
9
|
emits: ["update:modelValue", "change"],
|
|
10
|
-
setup(__props, { emit }) {
|
|
10
|
+
setup(__props, { emit: __emit }) {
|
|
11
11
|
const props = __props;
|
|
12
|
+
const emit = __emit;
|
|
12
13
|
const color = vue.ref(props.modelValue || "#ffffff");
|
|
13
14
|
vue.watch(
|
|
14
15
|
() => props.modelValue,
|
|
@@ -37,21 +37,24 @@ const _sfc_main = vue.defineComponent({
|
|
|
37
37
|
], 2112)) : props.doc && props.type === "video_album" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 7 }, [
|
|
38
38
|
vue.createCommentVNode(" \u89C6\u9891\u96C6 "),
|
|
39
39
|
vue.createVNode(vue.unref(vueCmstopIcons.IconShipinji))
|
|
40
|
-
], 2112)) : props.doc && props.type === "
|
|
40
|
+
], 2112)) : props.doc && props.type === "mini_program" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 8 }, [
|
|
41
|
+
vue.createCommentVNode(" \u89C6\u9891\u96C6 "),
|
|
42
|
+
vue.createVNode(vue.unref(vueCmstopIcons.IconMiniprogram))
|
|
43
|
+
], 2112)) : props.doc && props.type === "h5" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 9 }, [
|
|
41
44
|
vue.createCommentVNode(" h5 "),
|
|
42
45
|
vue.createVNode(vue.unref(vueCmstopIcons.IconH5))
|
|
43
|
-
], 2112)) : props.doc && props.type === "live" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key:
|
|
46
|
+
], 2112)) : props.doc && props.type === "live" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 10 }, [
|
|
44
47
|
vue.createCommentVNode(" \u76F4\u64AD "),
|
|
45
48
|
vue.createVNode(vue.unref(vueCmstopIcons.IconZhibo))
|
|
46
|
-
], 2112)) : props.resource && props.type === "image" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key:
|
|
49
|
+
], 2112)) : props.resource && props.type === "image" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 11 }, [
|
|
47
50
|
vue.createCommentVNode("------------------------------- \u7D20\u6750\u7C7B\u578B --------------------------------------"),
|
|
48
51
|
vue.createCommentVNode(" \u56FE\u7247 "),
|
|
49
|
-
vue.createVNode(vue.unref(vueCmstopIcons.
|
|
50
|
-
], 2112)) : props.type === "mpdoc" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key:
|
|
52
|
+
vue.createVNode(vue.unref(vueCmstopIcons.IconPicture))
|
|
53
|
+
], 2112)) : props.type === "mpdoc" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 12 }, [
|
|
51
54
|
vue.createCommentVNode("------------------------------- \u5176\u4ED6\u7C7B\u578B --------------------------------------"),
|
|
52
55
|
vue.createCommentVNode(" \u516C\u4F17\u53F7\u7A3F\u4EF6 "),
|
|
53
56
|
vue.createVNode(vue.unref(vueCmstopIcons.IconGongzhonghao))
|
|
54
|
-
], 2112)) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key:
|
|
57
|
+
], 2112)) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 13 }, [
|
|
55
58
|
vue.createCommentVNode(" \u5FAE\u4FE1\u7A3F\u4EF6 "),
|
|
56
59
|
vue.createCommentVNode(" <icon-weixingaojian /> "),
|
|
57
60
|
vue.createCommentVNode(" \u8F6E\u535A\u56FE\u96C6 "),
|
|
@@ -16,10 +16,11 @@ const _sfc_main = vue.defineComponent({
|
|
|
16
16
|
uploadMethod: {}
|
|
17
17
|
},
|
|
18
18
|
emits: ["onProgress", "onListReady"],
|
|
19
|
-
setup(__props, { emit:
|
|
20
|
-
const props = __props;
|
|
19
|
+
setup(__props, { emit: __emit }) {
|
|
21
20
|
const { state: visBeforeUpload, open: openBeforePannel } = toggle.useToggle();
|
|
22
21
|
const { state: visUploadList, open: openListPannel } = toggle.useToggle();
|
|
22
|
+
const props = __props;
|
|
23
|
+
const emits = __emit;
|
|
23
24
|
const baseApi = vue.ref(props.BASE_API || config.DEFAULT_BASE_API);
|
|
24
25
|
const { preOptionsList, uploadFileToShowFileTrans } = uploadHooks.usePreUploadOptions();
|
|
25
26
|
const { fileList, uploadFileAdd } = uploadHooks.useUplaodList();
|
|
@@ -14,8 +14,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
14
14
|
BASE_API: {}
|
|
15
15
|
},
|
|
16
16
|
emits: ["confirm", "update:visable", "update:file-list"],
|
|
17
|
-
setup(__props, { emit:
|
|
17
|
+
setup(__props, { emit: __emit }) {
|
|
18
18
|
const props = __props;
|
|
19
|
+
const emits = __emit;
|
|
19
20
|
const modalVis = vue.toRef(props, "visable");
|
|
20
21
|
const fileList = vue.toRef(props, "fileList");
|
|
21
22
|
const column = [
|
|
@@ -7,7 +7,8 @@ const _sfc_main = vue.defineComponent({
|
|
|
7
7
|
uploadMethod: {}
|
|
8
8
|
},
|
|
9
9
|
emits: ["after-choose"],
|
|
10
|
-
setup(__props, { emit:
|
|
10
|
+
setup(__props, { emit: __emit }) {
|
|
11
|
+
const emits = __emit;
|
|
11
12
|
const tusUpload = (option) => {
|
|
12
13
|
const { fileItem } = option;
|
|
13
14
|
emits("after-choose", fileItem);
|
|
@@ -27,8 +27,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
27
27
|
global: { type: Boolean }
|
|
28
28
|
},
|
|
29
29
|
emits: ["update:visable"],
|
|
30
|
-
setup(__props, { emit:
|
|
31
|
-
const props = __props;
|
|
30
|
+
setup(__props, { emit: __emit }) {
|
|
32
31
|
const progressEnum = {
|
|
33
32
|
UPLOADING: "normal",
|
|
34
33
|
WATING: "normal",
|
|
@@ -41,6 +40,8 @@ const _sfc_main = vue.defineComponent({
|
|
|
41
40
|
SUCCESS: "\u4E0A\u4F20\u5B8C\u6210",
|
|
42
41
|
ERROR: "\u4E0A\u4F20\u5931\u8D25"
|
|
43
42
|
};
|
|
43
|
+
const emits = __emit;
|
|
44
|
+
const props = __props;
|
|
44
45
|
const showList = vue.toRef(props, "fileList");
|
|
45
46
|
const { state: expend, toggle: toggleExp } = toggle.useToggle(true);
|
|
46
47
|
const { state: scale, toggle: toggleSca } = toggle.useToggle();
|
|
@@ -23,9 +23,10 @@ const _sfc_main = vue.defineComponent({
|
|
|
23
23
|
title: {}
|
|
24
24
|
},
|
|
25
25
|
emits: ["update:visible", "submit"],
|
|
26
|
-
setup(__props, { emit }) {
|
|
26
|
+
setup(__props, { emit: __emit }) {
|
|
27
27
|
const props = __props;
|
|
28
28
|
const BASE_API = props.BASE_API || config.DEFAULT_BASE_API;
|
|
29
|
+
const emit = __emit;
|
|
29
30
|
const RoleTreeData = vue.ref([]);
|
|
30
31
|
const DepartTreeData = vue.ref([]);
|
|
31
32
|
const userSelectedList = vue.ref([]);
|
|
@@ -10,7 +10,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
10
10
|
list: {}
|
|
11
11
|
},
|
|
12
12
|
emits: ["select", "expand", "add"],
|
|
13
|
-
setup(__props, { emit }) {
|
|
13
|
+
setup(__props, { emit: __emit }) {
|
|
14
14
|
const props = __props;
|
|
15
15
|
const loadMore = () => {
|
|
16
16
|
};
|
|
@@ -19,6 +19,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
19
19
|
title: "alias",
|
|
20
20
|
key: "node_key"
|
|
21
21
|
};
|
|
22
|
+
const emit = __emit;
|
|
22
23
|
const select = (selectedKeys, data) => {
|
|
23
24
|
emit("select", selectedKeys, data);
|
|
24
25
|
};
|
package/lib/utils/doc.js
CHANGED
|
@@ -83,7 +83,8 @@ const docSeries = {
|
|
|
83
83
|
audio: "\u97F3\u9891\u7A3F\u4EF6",
|
|
84
84
|
audio_album: "\u97F3\u9891\u96C6\u7A3F\u4EF6",
|
|
85
85
|
h5: "H5\u7A3F\u4EF6",
|
|
86
|
-
special_v3: "\u4E13\u9898\u7A3F\u4EF6"
|
|
86
|
+
special_v3: "\u4E13\u9898\u7A3F\u4EF6",
|
|
87
|
+
mini_program: "\u5C0F\u7A0B\u5E8F\u7A3F\u4EF6"
|
|
87
88
|
};
|
|
88
89
|
const typeOptions = () => {
|
|
89
90
|
const arr = Object.keys(docSeries).map((key) => {
|
package/lib/utils/request.js
CHANGED
|
@@ -8,7 +8,7 @@ var axios__default = /* @__PURE__ */ _interopDefaultLegacy(axios);
|
|
|
8
8
|
function request(BASE_API, options) {
|
|
9
9
|
const service = axios__default["default"].create({
|
|
10
10
|
baseURL: BASE_API,
|
|
11
|
-
timeout:
|
|
11
|
+
timeout: 5e4,
|
|
12
12
|
withCredentials: true
|
|
13
13
|
});
|
|
14
14
|
service.interceptors.request.use(
|
package/lib/utils/typeMap.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var _a, _b, _c;
|
|
2
3
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
4
|
+
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";
|
|
3
5
|
const key_target_type_map = {
|
|
4
6
|
3: "doc",
|
|
5
7
|
4: "column",
|
|
@@ -35,7 +37,7 @@ const componentsColumns = {
|
|
|
35
37
|
focus: { value: "focus", label: "\u70ED\u70B9\u7EC4\u4EF6" },
|
|
36
38
|
radio: { value: "radio", label: "\u5E7F\u64AD\u7EC4\u4EF6", simple: true },
|
|
37
39
|
tv: { value: "tv", label: "\u7535\u89C6\u7EC4\u4EF6", simple: true },
|
|
38
|
-
mp_account: { value: "mp_account", label:
|
|
40
|
+
mp_account: { value: "mp_account", label: `${mpName}\u7EC4\u4EF6` },
|
|
39
41
|
column: { value: "column", label: "\u5206\u680F\u7EC4\u4EF6" },
|
|
40
42
|
kongo: { value: "kongo", label: "\u529F\u80FD\u5BFC\u822A\u7EC4\u4EF6" },
|
|
41
43
|
picture: { value: "picture", label: "\u56FE\u7247\u7EC4\u4EF6", simple: true },
|
|
@@ -94,7 +96,8 @@ const kongo_source_map = {
|
|
|
94
96
|
url: "\u94FE\u63A5",
|
|
95
97
|
document: "\u7A3F\u4EF6",
|
|
96
98
|
category_list: "\u9891\u9053",
|
|
97
|
-
service: "\u670D\u52A1"
|
|
99
|
+
service: "\u670D\u52A1",
|
|
100
|
+
political: "\u653F\u60C5"
|
|
98
101
|
};
|
|
99
102
|
const calcApprovingUser = (data) => {
|
|
100
103
|
if (data.current_processes[0] && data.current_processes[0].users && data.current_processes[0].users[0]) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cmstops/pro-compo",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.31",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"vue",
|
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
"build:style": "arco-vue-scripts build:style -M",
|
|
24
24
|
"dtsgen": "arco-vue-scripts dtsgen 'components/**/*.{ts,tsx,vue}'",
|
|
25
25
|
"docgen": "arco-vue-scripts docgen",
|
|
26
|
+
"build:doc": "npx storybook build",
|
|
26
27
|
"test": "arco-vue-scripts test",
|
|
27
28
|
"add:component": "node ./scripts/add-component.js",
|
|
28
29
|
"prepublishOnly": "npm run build"
|
|
@@ -45,7 +46,7 @@
|
|
|
45
46
|
},
|
|
46
47
|
"peerDependencies": {
|
|
47
48
|
"@arco-design/web-vue": "~2",
|
|
48
|
-
"@arco-iconbox/vue-cmstop-icons": "^0.0.
|
|
49
|
+
"@arco-iconbox/vue-cmstop-icons": "^0.0.15",
|
|
49
50
|
"@popperjs/core": "^2.11.8",
|
|
50
51
|
"colorthief": "^2.4.0",
|
|
51
52
|
"cropperjs": "^1.6.1",
|
|
@@ -58,7 +59,7 @@
|
|
|
58
59
|
},
|
|
59
60
|
"devDependencies": {
|
|
60
61
|
"@arco-design/web-vue": "~2",
|
|
61
|
-
"@arco-iconbox/vue-cmstop-icons": "^0.0.
|
|
62
|
+
"@arco-iconbox/vue-cmstop-icons": "^0.0.18",
|
|
62
63
|
"@babel/core": "^7.14.6",
|
|
63
64
|
"@babel/plugin-proposal-class-properties": "^7.14.5",
|
|
64
65
|
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
|
@@ -69,6 +70,7 @@
|
|
|
69
70
|
"@commitlint/config-conventional": "^12.0.1",
|
|
70
71
|
"@popperjs/core": "^2.11.8",
|
|
71
72
|
"@storybook/addon-actions": "^6.3.0",
|
|
73
|
+
"@storybook/addon-docs": "^7.6.7",
|
|
72
74
|
"@storybook/addon-essentials": "^6.3.0",
|
|
73
75
|
"@storybook/addon-links": "^6.3.0",
|
|
74
76
|
"@storybook/builder-webpack5": "^6.5.9",
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
export declare const componentsColumns: any;
|
|
2
|
-
export declare const docThumbObjMap: any;
|
|
3
|
-
export declare const contentList_relation_type_map: any;
|
|
4
|
-
export declare const contentList_layout_map: any;
|
|
5
|
-
export declare const kongo_source_map: {
|
|
6
|
-
app: string;
|
|
7
|
-
url: string;
|
|
8
|
-
document: string;
|
|
9
|
-
category_list: string;
|
|
10
|
-
service: string;
|
|
11
|
-
};
|
|
12
|
-
export declare const contentList_list_type_map: {
|
|
13
|
-
1: string;
|
|
14
|
-
2: string;
|
|
15
|
-
3: string;
|
|
16
|
-
4: string;
|
|
17
|
-
5: string;
|
|
18
|
-
6: string;
|
|
19
|
-
7: string;
|
|
20
|
-
};
|
|
21
|
-
export declare const mp_type_map: {
|
|
22
|
-
1: string;
|
|
23
|
-
2: string;
|
|
24
|
-
};
|
|
25
|
-
export declare const ilive_type_map: {
|
|
26
|
-
1: string;
|
|
27
|
-
2: string;
|
|
28
|
-
3: string;
|
|
29
|
-
};
|
|
30
|
-
export declare const docStateMap: {
|
|
31
|
-
0: string;
|
|
32
|
-
10: string;
|
|
33
|
-
12: string;
|
|
34
|
-
13: string;
|
|
35
|
-
14: string;
|
|
36
|
-
15: string;
|
|
37
|
-
16: string;
|
|
38
|
-
17: string;
|
|
39
|
-
19: string;
|
|
40
|
-
22: string;
|
|
41
|
-
};
|
|
42
|
-
export declare const compoColumnsMap: () => any;
|
|
43
|
-
export declare const docThumbMap: () => any;
|
|
44
|
-
export declare const noCoverText: (item: any) => any;
|
|
45
|
-
export declare const timeFormat: import("vue").ComputedRef<(value: any) => string>;
|
|
46
|
-
export declare const approvalItem: (item: any) => any;
|
|
47
|
-
export declare const calcApprovingUser: (data: any) => any;
|
|
48
|
-
export declare const calcApprovingDependent: (data: any) => string;
|
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
var restaurants = [
|
|
2
|
-
{ value: "\u4EBA\u6C11\u89C6\u9891\u5BA2\u6237\u7AEF" },
|
|
3
|
-
{ value: "\u4E2D\u56FD\u9752\u5E74\u62A5\u5BA2\u6237\u7AEF" },
|
|
4
|
-
{ value: "\u592E\u89C6\u65B0\u95FB\u5BA2\u6237\u7AEF" },
|
|
5
|
-
{ value: "\u592E\u89C6\u7F51" },
|
|
6
|
-
{ value: "\u65B0\u534E\u793E" },
|
|
7
|
-
{ value: "\u65B0\u534E\u7F51" },
|
|
8
|
-
{ value: "\u4EBA\u6C11\u7F51" },
|
|
9
|
-
{ value: "\u68A8\u89C6\u9891" },
|
|
10
|
-
{ value: "\u5317\u9752\u7F51" },
|
|
11
|
-
{ value: "21\u4E16\u7EAA\u7ECF\u6D4E\u62A5\u9053" },
|
|
12
|
-
{ value: "\u4E0A\u89C2\u65B0\u95FB" },
|
|
13
|
-
{ value: "\u4E1C\u5317\u65B0\u95FB\u7F51" },
|
|
14
|
-
{ value: "\u4E1C\u5317\u7F51" },
|
|
15
|
-
{ value: "\u4E1C\u5357\u7F51" },
|
|
16
|
-
{ value: "\u4E1C\u65B9\u7F51" },
|
|
17
|
-
{ value: "\u4E2D\u534E\u5973\u6027\u7F51" },
|
|
18
|
-
{ value: "\u4E2D\u56FD\u53F0\u6E7E\u7F51" },
|
|
19
|
-
{ value: "\u4E2D\u56FD\u5409\u6797\u7F51" },
|
|
20
|
-
{ value: "\u4E2D\u56FD\u5546\u52A1\u65B0\u95FB\u7F51" },
|
|
21
|
-
{ value: "\u4E2D\u56FD\u5C71\u4E1C\u7F51" },
|
|
22
|
-
{ value: "\u4E2D\u56FD\u6444\u5F71\u62A5" },
|
|
23
|
-
{ value: "\u4E2D\u56FD\u6559\u80B2\u5728\u7EBF" },
|
|
24
|
-
{ value: "\u4E2D\u56FD\u6559\u80B2\u65B0\u95FB\u7F51" },
|
|
25
|
-
{ value: "\u4E2D\u56FD\u65E5\u62A5\u7F51" },
|
|
26
|
-
{ value: "\u4E2D\u56FD\u6C5F\u82CF\u7F51" },
|
|
27
|
-
{ value: "\u4E2D\u56FD\u6C5F\u897F\u7F51" },
|
|
28
|
-
{ value: "\u4E2D\u56FD\u7518\u8083\u7F51" },
|
|
29
|
-
{ value: "\u4E2D\u56FD\u7ECF\u8425\u7F51" },
|
|
30
|
-
{ value: "\u4E2D\u56FD\u7F51" },
|
|
31
|
-
{ value: "\u4E2D\u56FD\u822A\u5929\u79D1\u6280\u96C6\u56E2\u6709\u9650\u516C\u53F8\u7F51\u7AD9" },
|
|
32
|
-
{ value: "\u4E2D\u56FD\u897F\u85CF\u7F51" },
|
|
33
|
-
{ value: "\u4E2D\u56FD\u8B66\u5BDF\u7F51" },
|
|
34
|
-
{ value: "\u4E2D\u56FD\u8D28\u91CF\u65B0\u95FB\u7F51" },
|
|
35
|
-
{ value: "\u4E2D\u592E\u53A8\u623F" },
|
|
36
|
-
{ value: "\u4E2D\u5DE5\u7F51" },
|
|
37
|
-
{ value: "\u4E2D\u65B0\u7ECF\u7EAC" },
|
|
38
|
-
{ value: "\u4E2D\u65B0\u7F51" },
|
|
39
|
-
{ value: "\u4E2D\u7ECF\u7F51" },
|
|
40
|
-
{ value: "\u4E91\u5357\u7F51" },
|
|
41
|
-
{ value: "\u4EA4\u6C47\u70B9" },
|
|
42
|
-
{ value: "\u5149\u660E\u7F51" },
|
|
43
|
-
{ value: "\u5317\u4EAC\u5546\u62A5" },
|
|
44
|
-
{ value: "\u5317\u4EAC\u65F6\u95F4" },
|
|
45
|
-
{ value: "\u5317\u4EAC\u6668\u62A5\u7F51" },
|
|
46
|
-
{ value: "\u5317\u56FD\u7F51" },
|
|
47
|
-
{ value: "\u5317\u65B9\u7F51" },
|
|
48
|
-
{ value: "\u5343\u9F99\u65B0\u95FB\u7F51" },
|
|
49
|
-
{ value: "\u534E\u58F0\u5728\u7EBF" },
|
|
50
|
-
{ value: "\u534E\u9F99\u7F51" },
|
|
51
|
-
{ value: "\u5357\u4EAC\u6668\u62A5\u7F51" },
|
|
52
|
-
{ value: "\u5357\u65B9\u65E5\u62A5" },
|
|
53
|
-
{ value: "\u5357\u6D77\u7F51" },
|
|
54
|
-
{ value: "\u53F0\u6D77\u7F51" },
|
|
55
|
-
{ value: "\u56DB\u5DDD\u65B0\u95FB\u7F51" },
|
|
56
|
-
{ value: "\u56FD\u9645\u5728\u7EBF" },
|
|
57
|
-
{ value: "\u591A\u5F69\u8D35\u5DDE\u7F51" },
|
|
58
|
-
{ value: "\u5927\u4F17\u7F51" },
|
|
59
|
-
{ value: "\u5927\u516C\u7F51" },
|
|
60
|
-
{ value: "\u5927\u6CB3\u7F51" },
|
|
61
|
-
{ value: "\u5B81\u590F\u65B0\u95FB\u7F51" },
|
|
62
|
-
{ value: "\u5BA2\u5BB6\u65B0\u95FB\u7F51" },
|
|
63
|
-
{ value: "\u5C01\u9762\u65B0\u95FB\u7F51" },
|
|
64
|
-
{ value: "\u5E02\u573A\u77AD\u671B" },
|
|
65
|
-
{ value: "\u5E02\u573A\u89C2\u5BDF\u7F51" },
|
|
66
|
-
{ value: "\u5E7F\u897F\u65B0\u95FB\u7F51" },
|
|
67
|
-
{ value: "\u626C\u5B50\u665A\u62A5\u7F51" },
|
|
68
|
-
{ value: "\u6536\u85CF\u5FEB\u62A5" },
|
|
69
|
-
{ value: "\u6587\u6C47\u62A5" },
|
|
70
|
-
{ value: "\u65B0\u534E\u62A5\u4E1A\u7F51" },
|
|
71
|
-
{ value: "\u65B0\u534E\u65E5\u62A5\u8D22\u7ECF\u7F51" },
|
|
72
|
-
{ value: "\u65B0\u6C11\u665A\u62A5/\u65B0\u6C11\u7F51" },
|
|
73
|
-
{ value: "\u65B0\u6D6A\u4E50\u5C45" },
|
|
74
|
-
{ value: "\u65B0\u7586\u5929\u5C71\u7F51" },
|
|
75
|
-
{ value: "\u664B\u6C5F\u7ECF\u6D4E\u62A5" },
|
|
76
|
-
{ value: "\u6B63\u4E49\u7F51" },
|
|
77
|
-
{ value: "\u6BCF\u5468\u6587\u6458" },
|
|
78
|
-
{ value: "\u6C5F\u5357\u65F6\u62A5\u7F51" },
|
|
79
|
-
{ value: "\u6C5F\u82CF\u7ECF\u6D4E\u7F51" },
|
|
80
|
-
{ value: "\u6C5F\u82CF\u8206\u60C5\u89C2\u5BDF" },
|
|
81
|
-
{ value: "\u6CB3\u5317\u5171\u4EA7\u515A\u5458\u7F51" },
|
|
82
|
-
{ value: "\u6CB3\u5317\u65B0\u95FB\u7F51" },
|
|
83
|
-
{ value: "\u6CB3\u5317\u7ECF\u6D4E\u7F51" },
|
|
84
|
-
{ value: "\u6CB3\u9752\u7F51" },
|
|
85
|
-
{ value: "\u6CD5\u5236\u7F51" },
|
|
86
|
-
{ value: "\u6D59\u6C5F\u5728\u7EBF" },
|
|
87
|
-
{ value: "\u6D77\u4E1D\u5546\u62A5" },
|
|
88
|
-
{ value: "\u6D77\u5916\u7F51" },
|
|
89
|
-
{ value: "\u6D77\u5CE1\u5BFC\u62A5" },
|
|
90
|
-
{ value: "\u6D77\u5CE1\u6559\u80B2\u62A5" },
|
|
91
|
-
{ value: "\u6D77\u5CE1\u6CD5\u6CBB\u5728\u7EBF" },
|
|
92
|
-
{ value: "\u6D77\u5CE1\u6D88\u8D39\u62A5" },
|
|
93
|
-
{ value: "\u6D77\u5CE1\u7F51" },
|
|
94
|
-
{ value: "\u6D77\u5CE1\u90FD\u5E02\u62A5" },
|
|
95
|
-
{ value: "\u6DF1\u5733\u65B0\u95FB\u7F51" },
|
|
96
|
-
{ value: "\u6DF1\u5733\u65E5\u62A5" },
|
|
97
|
-
{ value: "\u6F8E\u6E43\u65B0\u95FB" },
|
|
98
|
-
{ value: "\u73AF\u7403\u7F51" },
|
|
99
|
-
{ value: "\u7709\u5C71\u7F51" },
|
|
100
|
-
{ value: "\u77F3\u5BB6\u5E84\u65B0\u95FB\u7F51" },
|
|
101
|
-
{ value: "\u77F3\u72EE\u65E5\u62A5" },
|
|
102
|
-
{ value: "\u798F\u5EFA\u65E5\u62A5" },
|
|
103
|
-
{ value: "\u798F\u5EFA\u6CD5\u6CBB\u62A5" },
|
|
104
|
-
{ value: "\u79D1\u6280\u65E5\u62A5" },
|
|
105
|
-
{ value: "\u79D1\u666E\u4E2D\u56FD" },
|
|
106
|
-
{ value: "\u79E6\u7687\u5C9B\u65B0\u95FB\u7F51" },
|
|
107
|
-
{ value: "\u7B2C\u4E00\u751F\u6D3B\u7F51\uFF08\u77E5\u97F3\uFF09" },
|
|
108
|
-
{ value: "\u7EA2\u7F51" },
|
|
109
|
-
{ value: "\u7ECF\u6D4E\u89C2\u5BDF\u62A5" },
|
|
110
|
-
{ value: "\u897F\u90E8\u7F51" },
|
|
111
|
-
{ value: "\u89C2\u5BDF\u8005\u7F51" },
|
|
112
|
-
{ value: "\u8D22\u7ECF\u7F51" },
|
|
113
|
-
{ value: "\u90D1\u5DDE\u665A\u62A5" },
|
|
114
|
-
{ value: "\u91CD\u5E86\u534E\u9F99\u7F51" },
|
|
115
|
-
{ value: "\u91D1\u7F8A\u7F51" },
|
|
116
|
-
{ value: "\u91D1\u878D\u754C" },
|
|
117
|
-
{ value: "\u957F\u57CE\u7F51" },
|
|
118
|
-
{ value: "\u957F\u6C5F\u4E91" },
|
|
119
|
-
{ value: "\u957F\u6C5F\u7F51" },
|
|
120
|
-
{ value: "\u95FD\u5357\u7F51" },
|
|
121
|
-
{ value: "\u9655\u897F\u5934\u6761" },
|
|
122
|
-
{ value: "\u9C81\u7F51" },
|
|
123
|
-
{ value: "\u9EC4\u6CB3\u65B0\u95FB\u7F51" },
|
|
124
|
-
{ value: "\u9F50\u9C81\u665A\u62A5" },
|
|
125
|
-
{ value: "\u9F50\u9C81\u7F51" }
|
|
126
|
-
];
|
|
127
|
-
export { restaurants as default };
|