@cmstops/pro-compo 0.1.13 → 0.1.15
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/gif.worker.js +3 -0
- package/dist/index.css +486 -6
- package/dist/index.min.css +1 -1
- package/es/contentDetailList/component.js +1 -2
- package/es/contentDetailList/components/Content/CompoItem/index.js +1 -2
- package/es/contentDetailList/components/Content/ContentListItem/index.js +1 -2
- package/es/contentDetailList/components/Content/DocItem/ApprovalStateMap/index.js +1 -2
- package/es/contentDetailList/components/Content/DocItem/index.js +1 -2
- package/es/contentDetailList/components/Content/KongoNavItem/index.js +1 -2
- package/es/contentDetailList/components/Content/LiveItem/index.js +1 -2
- package/es/contentDetailList/components/Content/MaccountItem/index.js +1 -2
- package/es/contentDetailList/components/Content/index.js +1 -2
- package/es/contentDetailList/components/Doc/index.js +1 -2
- package/es/contentModal/component.js +1 -2
- package/es/contentModal/components/CompoList/CompoFilter/index.js +2 -3
- package/es/contentModal/components/CompoList/index.js +2 -3
- package/es/contentModal/components/ViewAllColumn/MediaFilter/index.js +1 -2
- package/es/contentModal/components/ViewAllColumn/columnTree/index.js +1 -2
- package/es/contentModal/components/ViewAllColumn/index.js +1 -2
- package/es/contentModal/components/storeBox/index.js +1 -2
- package/es/gif.worker.js +3 -0
- package/es/hooks/assets.d.ts +1 -0
- package/es/hooks/assets.js +9 -0
- package/es/hooks/user.d.ts +1 -3
- package/es/imageCrop/component.d.ts +0 -0
- package/es/imageCrop/component.js +472 -0
- package/es/imageCrop/index.d.ts +2 -0
- package/es/imageCrop/index.js +7 -0
- package/es/imageCrop/script/api.d.ts +1 -0
- package/es/imageCrop/script/api.js +11 -0
- package/es/imageCrop/style/cropper.less +291 -0
- package/es/imageCrop/style/css.js +1 -0
- package/es/imageCrop/style/imageCropper.less +133 -0
- package/es/imageCrop/style/index.css +366 -0
- package/es/imageCrop/style/index.d.ts +1 -0
- package/es/imageCrop/style/index.js +1 -0
- package/es/imageCrop/style/index.less +2 -0
- package/es/index.css +486 -6
- package/es/index.d.ts +2 -0
- package/es/index.js +2 -0
- package/es/index.less +2 -0
- package/es/mediaFilter/component.js +1 -2
- package/es/mediaFilter/components/DocFilter.js +1 -2
- package/es/messageBox/list.js +1 -2
- package/es/previousVersion/component.js +1 -2
- package/es/resourceModal/component.js +4 -7
- package/es/resourceModal/components/MediaPreviewer/index.js +1 -2
- package/es/resourceModal/components/MediaSelection/DocAiMediaSelected/index.js +10 -19
- package/es/resourceModal/components/MediaSelection/MainContent/FileTypeThumb/index.js +4 -9
- package/es/resourceModal/components/MediaSelection/MainContent/index.js +7 -15
- package/es/resourceModal/components/MediaSelection/ToolbarSearch/index.js +1 -2
- package/es/resourceModal/components/MediaSelection/index.js +8 -12
- package/es/selectAvatarList/component.js +67 -48
- package/es/selectGategory/component.js +1 -2
- package/es/selectGategory/components/ColumnSelection/index.js +1 -2
- package/es/selectThumb/component.d.ts +0 -0
- package/es/selectThumb/component.js +410 -0
- package/es/selectThumb/components/card.d.ts +0 -0
- package/es/selectThumb/components/card.js +86 -0
- package/es/selectThumb/components/colorPalette.d.ts +0 -0
- package/es/selectThumb/components/colorPalette.js +75 -0
- package/es/selectThumb/index.d.ts +2 -0
- package/es/selectThumb/index.js +7 -0
- package/es/selectThumb/style/card.less +79 -0
- package/es/selectThumb/style/colorPalette.less +0 -0
- package/es/selectThumb/style/css.js +1 -0
- package/es/selectThumb/style/index.css +101 -0
- package/es/selectThumb/style/index.d.ts +1 -0
- package/es/selectThumb/style/index.js +1 -0
- package/es/selectThumb/style/index.less +27 -0
- package/es/uploadBefore/component.js +2 -3
- package/es/uploadBefore/components/UploadBefore.js +1 -2
- package/es/uploadBefore/components/UploadForClick.js +1 -2
- package/es/uploadStep/component.js +2 -3
- package/es/userDirector/component.js +15 -14
- package/es/userDirector/components/userTree.js +2 -2
- package/es/userDirector/style/index.css +19 -6
- package/es/userDirector/style/index.less +25 -12
- package/es/utils/doc.js +30 -7
- package/es/utils/index.d.ts +1 -0
- package/es/utils/index.js +6 -1
- package/es/utils/tusUpload.d.ts +1 -1
- package/es/utils/tusUpload.js +1 -1
- package/es/utils/uploadCatalog.d.ts +1 -0
- package/lib/contentDetailList/component.js +1 -2
- package/lib/contentDetailList/components/Content/CompoItem/index.js +1 -2
- package/lib/contentDetailList/components/Content/ContentListItem/index.js +1 -2
- package/lib/contentDetailList/components/Content/DocItem/ApprovalStateMap/index.js +1 -2
- package/lib/contentDetailList/components/Content/DocItem/index.js +1 -2
- package/lib/contentDetailList/components/Content/KongoNavItem/index.js +1 -2
- package/lib/contentDetailList/components/Content/LiveItem/index.js +1 -2
- package/lib/contentDetailList/components/Content/MaccountItem/index.js +1 -2
- package/lib/contentDetailList/components/Content/index.js +1 -2
- package/lib/contentDetailList/components/Doc/index.js +1 -2
- package/lib/contentModal/component.js +1 -2
- package/lib/contentModal/components/CompoList/CompoFilter/index.js +2 -3
- package/lib/contentModal/components/CompoList/index.js +2 -3
- package/lib/contentModal/components/ViewAllColumn/MediaFilter/index.js +1 -2
- package/lib/contentModal/components/ViewAllColumn/columnTree/index.js +1 -2
- package/lib/contentModal/components/ViewAllColumn/index.js +1 -2
- package/lib/contentModal/components/storeBox/index.js +1 -2
- package/lib/hooks/assets.js +11 -0
- package/lib/imageCrop/component.js +479 -0
- package/lib/imageCrop/index.js +8 -0
- package/lib/imageCrop/script/api.js +13 -0
- package/lib/imageCrop/style/cropper.less +291 -0
- package/lib/imageCrop/style/css.js +2 -0
- package/lib/imageCrop/style/imageCropper.less +133 -0
- package/lib/imageCrop/style/index.css +366 -0
- package/lib/imageCrop/style/index.js +2 -0
- package/lib/imageCrop/style/index.less +2 -0
- package/lib/index.css +486 -6
- package/lib/index.js +16 -12
- package/lib/index.less +2 -0
- package/lib/mediaFilter/component.js +1 -2
- package/lib/mediaFilter/components/DocFilter.js +1 -2
- package/lib/messageBox/list.js +1 -2
- package/lib/previousVersion/component.js +1 -2
- package/lib/resourceModal/component.js +4 -7
- package/lib/resourceModal/components/MediaPreviewer/index.js +1 -2
- package/lib/resourceModal/components/MediaSelection/DocAiMediaSelected/index.js +10 -19
- package/lib/resourceModal/components/MediaSelection/MainContent/FileTypeThumb/index.js +4 -9
- package/lib/resourceModal/components/MediaSelection/MainContent/index.js +7 -15
- package/lib/resourceModal/components/MediaSelection/ToolbarSearch/index.js +1 -2
- package/lib/resourceModal/components/MediaSelection/index.js +8 -12
- package/lib/selectAvatarList/component.js +67 -48
- package/lib/selectGategory/component.js +1 -2
- package/lib/selectGategory/components/ColumnSelection/index.js +1 -2
- package/lib/selectThumb/component.js +411 -0
- package/lib/selectThumb/components/card.js +87 -0
- package/lib/selectThumb/components/colorPalette.js +76 -0
- package/lib/selectThumb/index.js +8 -0
- package/lib/selectThumb/style/card.less +79 -0
- package/lib/selectThumb/style/colorPalette.less +0 -0
- package/lib/selectThumb/style/css.js +2 -0
- package/lib/selectThumb/style/index.css +101 -0
- package/lib/selectThumb/style/index.js +2 -0
- package/lib/selectThumb/style/index.less +27 -0
- package/lib/uploadBefore/component.js +2 -3
- package/lib/uploadBefore/components/UploadBefore.js +1 -2
- package/lib/uploadBefore/components/UploadForClick.js +1 -2
- package/lib/uploadStep/component.js +2 -3
- package/lib/userDirector/component.js +15 -14
- package/lib/userDirector/components/userTree.js +2 -2
- package/lib/userDirector/style/index.css +19 -6
- package/lib/userDirector/style/index.less +25 -12
- package/lib/utils/doc.js +31 -6
- package/lib/utils/index.js +6 -0
- package/lib/utils/tusUpload.js +1 -1
- package/package.json +16 -2
|
@@ -22,20 +22,13 @@ const _sfc_main = vue.defineComponent({
|
|
|
22
22
|
selectedMax: {},
|
|
23
23
|
ai_static_covers: {},
|
|
24
24
|
ai_gif_covers: {},
|
|
25
|
-
preview: { type: Boolean }
|
|
26
|
-
addType: {}
|
|
25
|
+
preview: { type: Boolean }
|
|
27
26
|
},
|
|
28
|
-
emits: ["
|
|
29
|
-
setup(__props, { emit
|
|
30
|
-
const
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
selectedUrl.value = [];
|
|
34
|
-
emit("add", null);
|
|
35
|
-
} else {
|
|
36
|
-
selectedUrl.value = [itemData.url];
|
|
37
|
-
emit("add", itemData);
|
|
38
|
-
}
|
|
27
|
+
emits: ["confirm"],
|
|
28
|
+
setup(__props, { emit }) {
|
|
29
|
+
const confirm = (itemData) => {
|
|
30
|
+
selectedUrl.value = [itemData.url];
|
|
31
|
+
emit("confirm", itemData);
|
|
39
32
|
};
|
|
40
33
|
const selectedUrl = vue.ref([]);
|
|
41
34
|
return (_ctx, _cache) => {
|
|
@@ -57,7 +50,6 @@ const _sfc_main = vue.defineComponent({
|
|
|
57
50
|
}, [
|
|
58
51
|
vue.createVNode(index, {
|
|
59
52
|
preview: _ctx.preview,
|
|
60
|
-
"add-type": _ctx.addType,
|
|
61
53
|
"item-data": {
|
|
62
54
|
catalog: "image",
|
|
63
55
|
alias: item,
|
|
@@ -65,8 +57,8 @@ const _sfc_main = vue.defineComponent({
|
|
|
65
57
|
url: item,
|
|
66
58
|
realUrl: item
|
|
67
59
|
},
|
|
68
|
-
|
|
69
|
-
}, null, 8, ["preview", "
|
|
60
|
+
onConfirm: confirm
|
|
61
|
+
}, null, 8, ["preview", "item-data"])
|
|
70
62
|
], 2)
|
|
71
63
|
])
|
|
72
64
|
]);
|
|
@@ -86,7 +78,6 @@ const _sfc_main = vue.defineComponent({
|
|
|
86
78
|
}, [
|
|
87
79
|
vue.createVNode(index, {
|
|
88
80
|
preview: _ctx.preview,
|
|
89
|
-
"add-type": _ctx.addType,
|
|
90
81
|
"item-data": {
|
|
91
82
|
catalog: "image",
|
|
92
83
|
alias: item,
|
|
@@ -94,8 +85,8 @@ const _sfc_main = vue.defineComponent({
|
|
|
94
85
|
url: item,
|
|
95
86
|
realUrl: item
|
|
96
87
|
},
|
|
97
|
-
|
|
98
|
-
}, null, 8, ["preview", "
|
|
88
|
+
onConfirm: confirm
|
|
89
|
+
}, null, 8, ["preview", "item-data"])
|
|
99
90
|
], 2)
|
|
100
91
|
])
|
|
101
92
|
]);
|
|
@@ -15,23 +15,18 @@ const _sfc_main = vue.defineComponent({
|
|
|
15
15
|
__name: "index",
|
|
16
16
|
props: {
|
|
17
17
|
itemData: {},
|
|
18
|
-
preview: { type: Boolean }
|
|
19
|
-
addType: {}
|
|
18
|
+
preview: { type: Boolean }
|
|
20
19
|
},
|
|
21
|
-
emits: ["
|
|
22
|
-
setup(__props, { emit
|
|
20
|
+
emits: ["confirm"],
|
|
21
|
+
setup(__props, { emit }) {
|
|
23
22
|
const props = __props;
|
|
24
|
-
const emit = __emit;
|
|
25
23
|
const visible = vue.ref(false);
|
|
26
24
|
const previewType = vue.computed(() => props.itemData.catalog);
|
|
27
25
|
const previewUrl = vue.computed(() => props.itemData.url || "");
|
|
28
26
|
const openPreview = () => visible.value = true;
|
|
29
27
|
const closePreviewer = (val) => visible.value = val;
|
|
30
28
|
const add = () => {
|
|
31
|
-
|
|
32
|
-
console.log("copper");
|
|
33
|
-
}
|
|
34
|
-
emit("add", props.itemData);
|
|
29
|
+
emit("confirm", props.itemData);
|
|
35
30
|
};
|
|
36
31
|
return (_ctx, _cache) => {
|
|
37
32
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
@@ -44,21 +44,14 @@ const _sfc_main = vue.defineComponent({
|
|
|
44
44
|
fileListCount: {},
|
|
45
45
|
isOver: { type: Boolean },
|
|
46
46
|
preview: { type: Boolean },
|
|
47
|
-
addType: {},
|
|
48
47
|
changeDirectory: { type: Function },
|
|
49
48
|
loadFileMore: { type: Function }
|
|
50
49
|
},
|
|
51
|
-
emits: ["
|
|
52
|
-
setup(__props, { emit
|
|
53
|
-
const
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
selectedData.value = [];
|
|
57
|
-
emit("add", null);
|
|
58
|
-
} else {
|
|
59
|
-
selectedData.value = [itemData];
|
|
60
|
-
emit("add", itemData);
|
|
61
|
-
}
|
|
50
|
+
emits: ["confirm"],
|
|
51
|
+
setup(__props, { emit }) {
|
|
52
|
+
const confirm = (itemData) => {
|
|
53
|
+
selectedData.value = [itemData];
|
|
54
|
+
emit("confirm", selectedData.value);
|
|
62
55
|
};
|
|
63
56
|
const selectedData = vue.ref([]);
|
|
64
57
|
return (_ctx, _cache) => {
|
|
@@ -107,10 +100,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
107
100
|
vue.createElementVNode("div", _hoisted_7, [
|
|
108
101
|
vue.createVNode(index, {
|
|
109
102
|
preview: _ctx.preview,
|
|
110
|
-
"add-type": _ctx.addType,
|
|
111
103
|
"item-data": item,
|
|
112
|
-
|
|
113
|
-
}, null, 8, ["preview", "
|
|
104
|
+
onConfirm: confirm
|
|
105
|
+
}, null, 8, ["preview", "item-data"])
|
|
114
106
|
]),
|
|
115
107
|
vue.createElementVNode("h4", null, [
|
|
116
108
|
vue.createVNode(component, {
|
|
@@ -19,7 +19,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
19
19
|
base_api: {}
|
|
20
20
|
},
|
|
21
21
|
emits: ["search"],
|
|
22
|
-
setup(__props, { expose: __expose, emit
|
|
22
|
+
setup(__props, { expose: __expose, emit }) {
|
|
23
23
|
const props = __props;
|
|
24
24
|
const filter$1 = vue.ref({
|
|
25
25
|
keyword: "",
|
|
@@ -59,7 +59,6 @@ const _sfc_main = vue.defineComponent({
|
|
|
59
59
|
() => contentSearch(),
|
|
60
60
|
{ deep: true }
|
|
61
61
|
);
|
|
62
|
-
const emit = __emit;
|
|
63
62
|
const contentSearch = () => {
|
|
64
63
|
if (filter$1.value.keyword === "" && filter$1.value.upload_by === "" && filter$1.value.sf === "" && filter$1.value.wh_rate === "" && filter$1.value.uploadTime === null) {
|
|
65
64
|
emit("search", null);
|
|
@@ -21,16 +21,14 @@ const _sfc_main = vue.defineComponent({
|
|
|
21
21
|
base_api: {},
|
|
22
22
|
catalogProps: {},
|
|
23
23
|
preview: { type: Boolean },
|
|
24
|
-
addType: {},
|
|
25
24
|
ai_static_covers: {},
|
|
26
25
|
ai_gif_covers: {}
|
|
27
26
|
},
|
|
28
|
-
emits: ["
|
|
29
|
-
setup(__props, { emit
|
|
27
|
+
emits: ["confirm"],
|
|
28
|
+
setup(__props, { emit }) {
|
|
30
29
|
const props = __props;
|
|
31
|
-
const
|
|
32
|
-
|
|
33
|
-
emit("add", itemData);
|
|
30
|
+
const confirm = (itemData) => {
|
|
31
|
+
emit("confirm", itemData);
|
|
34
32
|
};
|
|
35
33
|
const breadCrumbs = vue.ref([
|
|
36
34
|
{ directory_id: 0, alias: "\u6839\u76EE\u5F55" }
|
|
@@ -197,9 +195,8 @@ const _sfc_main = vue.defineComponent({
|
|
|
197
195
|
ai_gif_covers: _ctx.ai_gif_covers,
|
|
198
196
|
"selected-max": _ctx.selectedMax,
|
|
199
197
|
preview: _ctx.preview,
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
}, null, 8, ["ai_static_covers", "ai_gif_covers", "selected-max", "preview", "add-type"])) : vue.createCommentVNode("v-if", true),
|
|
198
|
+
onConfirm: confirm
|
|
199
|
+
}, null, 8, ["ai_static_covers", "ai_gif_covers", "selected-max", "preview"])) : vue.createCommentVNode("v-if", true),
|
|
203
200
|
vue.createCommentVNode(" \u7D20\u6750\u5E93\u7D20\u6750 "),
|
|
204
201
|
vue.createCommentVNode(" \u7EC4\u7EC7\u3001\u6587\u4EF6\u5939\u9762\u5305\u5C51 "),
|
|
205
202
|
vue.withDirectives(vue.createElementVNode("div", _hoisted_4, [
|
|
@@ -257,11 +254,10 @@ const _sfc_main = vue.defineComponent({
|
|
|
257
254
|
"file-list-count": fileListCount.value,
|
|
258
255
|
"is-over": isOver.value,
|
|
259
256
|
preview: _ctx.preview,
|
|
260
|
-
"add-type": _ctx.addType,
|
|
261
257
|
"change-directory": changeDirectory,
|
|
262
258
|
"load-file-more": loadFileMore,
|
|
263
|
-
|
|
264
|
-
}, null, 8, ["folder-list", "file-list", "file-list-count", "is-over", "preview"
|
|
259
|
+
onConfirm: confirm
|
|
260
|
+
}, null, 8, ["folder-list", "file-list", "file-list-count", "is-over", "preview"])
|
|
265
261
|
], 512), [
|
|
266
262
|
[vue.vShow, ["all", "my"].includes(activeMediaType.value)]
|
|
267
263
|
])
|
|
@@ -2,76 +2,95 @@
|
|
|
2
2
|
var vue = require("vue");
|
|
3
3
|
var webVue = require("@arco-design/web-vue");
|
|
4
4
|
var icon = require("@arco-design/web-vue/es/icon");
|
|
5
|
+
var index = require("../userDirector/index.js");
|
|
6
|
+
var config = require("../config.js");
|
|
5
7
|
const _hoisted_1 = { class: "select-avatar-list" };
|
|
6
8
|
const _sfc_main = vue.defineComponent({
|
|
7
9
|
...{ name: "selectAvatarList" },
|
|
8
10
|
__name: "component",
|
|
9
11
|
props: {
|
|
10
|
-
|
|
12
|
+
list: {},
|
|
13
|
+
BASE_API: {},
|
|
14
|
+
repositoryId: {}
|
|
11
15
|
},
|
|
12
|
-
emits: ["update:
|
|
13
|
-
setup(__props, { emit
|
|
16
|
+
emits: ["update:list"],
|
|
17
|
+
setup(__props, { emit }) {
|
|
14
18
|
const props = __props;
|
|
15
|
-
const
|
|
19
|
+
const BASE_API = props.BASE_API || config.DEFAULT_BASE_API;
|
|
20
|
+
const visible = vue.ref(false);
|
|
16
21
|
const list = vue.computed({
|
|
17
22
|
get() {
|
|
18
|
-
return props.
|
|
23
|
+
return props.list;
|
|
19
24
|
},
|
|
20
|
-
set() {
|
|
21
|
-
emit("update:
|
|
25
|
+
set(value) {
|
|
26
|
+
emit("update:list", value);
|
|
22
27
|
}
|
|
23
28
|
});
|
|
24
|
-
const dell = (
|
|
25
|
-
list.value.splice(
|
|
29
|
+
const dell = (index2) => {
|
|
30
|
+
list.value.splice(index2, 1);
|
|
26
31
|
};
|
|
27
32
|
const content = (item) => {
|
|
28
33
|
return item.uid ? item.alias : `\u89D2\u8272\uFF1A${item.alias}`;
|
|
29
34
|
};
|
|
30
35
|
const addUser = () => {
|
|
36
|
+
visible.value = true;
|
|
37
|
+
};
|
|
38
|
+
const submit = (data) => {
|
|
39
|
+
list.value = data;
|
|
40
|
+
visible.value = false;
|
|
31
41
|
};
|
|
32
42
|
return (_ctx, _cache) => {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
+
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
44
|
+
vue.createElementVNode("div", _hoisted_1, [
|
|
45
|
+
vue.createVNode(vue.unref(webVue.Space), null, {
|
|
46
|
+
default: vue.withCtx(() => [
|
|
47
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(list.value, (item, index2) => {
|
|
48
|
+
return vue.openBlock(), vue.createBlock(vue.unref(webVue.Tooltip), {
|
|
49
|
+
key: index2,
|
|
50
|
+
content: content(item),
|
|
51
|
+
position: "top",
|
|
52
|
+
mini: ""
|
|
53
|
+
}, {
|
|
54
|
+
default: vue.withCtx(() => [
|
|
55
|
+
vue.createVNode(vue.unref(webVue.Avatar), {
|
|
56
|
+
"trigger-type": "mask",
|
|
57
|
+
"image-url": item.avatar
|
|
58
|
+
}, {
|
|
59
|
+
"trigger-icon": vue.withCtx(() => [
|
|
60
|
+
vue.createVNode(vue.unref(icon.IconDelete), {
|
|
61
|
+
onClick: ($event) => dell(index2)
|
|
62
|
+
}, null, 8, ["onClick"])
|
|
63
|
+
]),
|
|
64
|
+
_: 2
|
|
65
|
+
}, 1032, ["image-url"])
|
|
66
|
+
]),
|
|
67
|
+
_: 2
|
|
68
|
+
}, 1032, ["content"]);
|
|
69
|
+
}), 128)),
|
|
70
|
+
vue.createVNode(vue.unref(webVue.Button), {
|
|
71
|
+
class: "large",
|
|
72
|
+
shape: "circle",
|
|
73
|
+
size: "large",
|
|
74
|
+
onClick: addUser
|
|
43
75
|
}, {
|
|
44
76
|
default: vue.withCtx(() => [
|
|
45
|
-
vue.createVNode(vue.unref(
|
|
46
|
-
"trigger-type": "mask",
|
|
47
|
-
"image-url": item.avatar
|
|
48
|
-
}, {
|
|
49
|
-
"trigger-icon": vue.withCtx(() => [
|
|
50
|
-
vue.createVNode(vue.unref(icon.IconDelete), {
|
|
51
|
-
onClick: ($event) => dell(index)
|
|
52
|
-
}, null, 8, ["onClick"])
|
|
53
|
-
]),
|
|
54
|
-
_: 2
|
|
55
|
-
}, 1032, ["image-url"])
|
|
77
|
+
vue.createVNode(vue.unref(icon.IconPlus))
|
|
56
78
|
]),
|
|
57
|
-
_:
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
_: 1
|
|
73
|
-
})
|
|
74
|
-
]);
|
|
79
|
+
_: 1
|
|
80
|
+
})
|
|
81
|
+
]),
|
|
82
|
+
_: 1
|
|
83
|
+
})
|
|
84
|
+
]),
|
|
85
|
+
vue.createVNode(vue.unref(index), {
|
|
86
|
+
visible: visible.value,
|
|
87
|
+
"onUpdate:visible": _cache[0] || (_cache[0] = ($event) => visible.value = $event),
|
|
88
|
+
BASE_API: vue.unref(BASE_API),
|
|
89
|
+
"default-data": list.value,
|
|
90
|
+
"repository-id": props.repositoryId,
|
|
91
|
+
onSubmit: submit
|
|
92
|
+
}, null, 8, ["visible", "BASE_API", "default-data", "repository-id"])
|
|
93
|
+
], 64);
|
|
75
94
|
};
|
|
76
95
|
}
|
|
77
96
|
});
|
|
@@ -16,9 +16,8 @@ const _sfc_main = vue.defineComponent({
|
|
|
16
16
|
columnWithData: {}
|
|
17
17
|
},
|
|
18
18
|
emits: ["update:visible", "submit"],
|
|
19
|
-
setup(__props, { emit
|
|
19
|
+
setup(__props, { emit }) {
|
|
20
20
|
const props = __props;
|
|
21
|
-
const emit = __emit;
|
|
22
21
|
const BASE_API = props.base_api || config.DEFAULT_BASE_API;
|
|
23
22
|
const selectColumnData = vue.ref(props.columnData || []);
|
|
24
23
|
const selectColumnWithData = vue.ref(props.columnWithData || []);
|
|
@@ -32,9 +32,8 @@ const _sfc_main = vue.defineComponent({
|
|
|
32
32
|
"update:selectColumnData",
|
|
33
33
|
"update:selectColumnWithData"
|
|
34
34
|
],
|
|
35
|
-
setup(__props, { emit
|
|
35
|
+
setup(__props, { emit }) {
|
|
36
36
|
const props = __props;
|
|
37
|
-
const emit = __emit;
|
|
38
37
|
const popoverShow = vue.ref(false);
|
|
39
38
|
const treeData = vue.ref([]);
|
|
40
39
|
const listMinHeight = vue.ref(0);
|