@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
|
@@ -21,20 +21,13 @@ const _sfc_main = defineComponent({
|
|
|
21
21
|
selectedMax: {},
|
|
22
22
|
ai_static_covers: {},
|
|
23
23
|
ai_gif_covers: {},
|
|
24
|
-
preview: { type: Boolean }
|
|
25
|
-
addType: {}
|
|
24
|
+
preview: { type: Boolean }
|
|
26
25
|
},
|
|
27
|
-
emits: ["
|
|
28
|
-
setup(__props, { emit
|
|
29
|
-
const
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
selectedUrl.value = [];
|
|
33
|
-
emit("add", null);
|
|
34
|
-
} else {
|
|
35
|
-
selectedUrl.value = [itemData.url];
|
|
36
|
-
emit("add", itemData);
|
|
37
|
-
}
|
|
26
|
+
emits: ["confirm"],
|
|
27
|
+
setup(__props, { emit }) {
|
|
28
|
+
const confirm = (itemData) => {
|
|
29
|
+
selectedUrl.value = [itemData.url];
|
|
30
|
+
emit("confirm", itemData);
|
|
38
31
|
};
|
|
39
32
|
const selectedUrl = ref([]);
|
|
40
33
|
return (_ctx, _cache) => {
|
|
@@ -56,7 +49,6 @@ const _sfc_main = defineComponent({
|
|
|
56
49
|
}, [
|
|
57
50
|
createVNode(_sfc_main$1, {
|
|
58
51
|
preview: _ctx.preview,
|
|
59
|
-
"add-type": _ctx.addType,
|
|
60
52
|
"item-data": {
|
|
61
53
|
catalog: "image",
|
|
62
54
|
alias: item,
|
|
@@ -64,8 +56,8 @@ const _sfc_main = defineComponent({
|
|
|
64
56
|
url: item,
|
|
65
57
|
realUrl: item
|
|
66
58
|
},
|
|
67
|
-
|
|
68
|
-
}, null, 8, ["preview", "
|
|
59
|
+
onConfirm: confirm
|
|
60
|
+
}, null, 8, ["preview", "item-data"])
|
|
69
61
|
], 2)
|
|
70
62
|
])
|
|
71
63
|
]);
|
|
@@ -85,7 +77,6 @@ const _sfc_main = defineComponent({
|
|
|
85
77
|
}, [
|
|
86
78
|
createVNode(_sfc_main$1, {
|
|
87
79
|
preview: _ctx.preview,
|
|
88
|
-
"add-type": _ctx.addType,
|
|
89
80
|
"item-data": {
|
|
90
81
|
catalog: "image",
|
|
91
82
|
alias: item,
|
|
@@ -93,8 +84,8 @@ const _sfc_main = defineComponent({
|
|
|
93
84
|
url: item,
|
|
94
85
|
realUrl: item
|
|
95
86
|
},
|
|
96
|
-
|
|
97
|
-
}, null, 8, ["preview", "
|
|
87
|
+
onConfirm: confirm
|
|
88
|
+
}, null, 8, ["preview", "item-data"])
|
|
98
89
|
], 2)
|
|
99
90
|
])
|
|
100
91
|
]);
|
|
@@ -14,23 +14,18 @@ const _sfc_main = defineComponent({
|
|
|
14
14
|
__name: "index",
|
|
15
15
|
props: {
|
|
16
16
|
itemData: {},
|
|
17
|
-
preview: { type: Boolean }
|
|
18
|
-
addType: {}
|
|
17
|
+
preview: { type: Boolean }
|
|
19
18
|
},
|
|
20
|
-
emits: ["
|
|
21
|
-
setup(__props, { emit
|
|
19
|
+
emits: ["confirm"],
|
|
20
|
+
setup(__props, { emit }) {
|
|
22
21
|
const props = __props;
|
|
23
|
-
const emit = __emit;
|
|
24
22
|
const visible = ref(false);
|
|
25
23
|
const previewType = computed(() => props.itemData.catalog);
|
|
26
24
|
const previewUrl = computed(() => props.itemData.url || "");
|
|
27
25
|
const openPreview = () => visible.value = true;
|
|
28
26
|
const closePreviewer = (val) => visible.value = val;
|
|
29
27
|
const add = () => {
|
|
30
|
-
|
|
31
|
-
console.log("copper");
|
|
32
|
-
}
|
|
33
|
-
emit("add", props.itemData);
|
|
28
|
+
emit("confirm", props.itemData);
|
|
34
29
|
};
|
|
35
30
|
return (_ctx, _cache) => {
|
|
36
31
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
@@ -43,21 +43,14 @@ const _sfc_main = defineComponent({
|
|
|
43
43
|
fileListCount: {},
|
|
44
44
|
isOver: { type: Boolean },
|
|
45
45
|
preview: { type: Boolean },
|
|
46
|
-
addType: {},
|
|
47
46
|
changeDirectory: { type: Function },
|
|
48
47
|
loadFileMore: { type: Function }
|
|
49
48
|
},
|
|
50
|
-
emits: ["
|
|
51
|
-
setup(__props, { emit
|
|
52
|
-
const
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
selectedData.value = [];
|
|
56
|
-
emit("add", null);
|
|
57
|
-
} else {
|
|
58
|
-
selectedData.value = [itemData];
|
|
59
|
-
emit("add", itemData);
|
|
60
|
-
}
|
|
49
|
+
emits: ["confirm"],
|
|
50
|
+
setup(__props, { emit }) {
|
|
51
|
+
const confirm = (itemData) => {
|
|
52
|
+
selectedData.value = [itemData];
|
|
53
|
+
emit("confirm", selectedData.value);
|
|
61
54
|
};
|
|
62
55
|
const selectedData = ref([]);
|
|
63
56
|
return (_ctx, _cache) => {
|
|
@@ -106,10 +99,9 @@ const _sfc_main = defineComponent({
|
|
|
106
99
|
createElementVNode("div", _hoisted_7, [
|
|
107
100
|
createVNode(_sfc_main$1, {
|
|
108
101
|
preview: _ctx.preview,
|
|
109
|
-
"add-type": _ctx.addType,
|
|
110
102
|
"item-data": item,
|
|
111
|
-
|
|
112
|
-
}, null, 8, ["preview", "
|
|
103
|
+
onConfirm: confirm
|
|
104
|
+
}, null, 8, ["preview", "item-data"])
|
|
113
105
|
]),
|
|
114
106
|
createElementVNode("h4", null, [
|
|
115
107
|
createVNode(_sfc_main$2, {
|
|
@@ -18,7 +18,7 @@ const _sfc_main = defineComponent({
|
|
|
18
18
|
base_api: {}
|
|
19
19
|
},
|
|
20
20
|
emits: ["search"],
|
|
21
|
-
setup(__props, { expose: __expose, emit
|
|
21
|
+
setup(__props, { expose: __expose, emit }) {
|
|
22
22
|
const props = __props;
|
|
23
23
|
const filter = ref({
|
|
24
24
|
keyword: "",
|
|
@@ -58,7 +58,6 @@ const _sfc_main = defineComponent({
|
|
|
58
58
|
() => contentSearch(),
|
|
59
59
|
{ deep: true }
|
|
60
60
|
);
|
|
61
|
-
const emit = __emit;
|
|
62
61
|
const contentSearch = () => {
|
|
63
62
|
if (filter.value.keyword === "" && filter.value.upload_by === "" && filter.value.sf === "" && filter.value.wh_rate === "" && filter.value.uploadTime === null) {
|
|
64
63
|
emit("search", null);
|
|
@@ -20,16 +20,14 @@ const _sfc_main = defineComponent({
|
|
|
20
20
|
base_api: {},
|
|
21
21
|
catalogProps: {},
|
|
22
22
|
preview: { type: Boolean },
|
|
23
|
-
addType: {},
|
|
24
23
|
ai_static_covers: {},
|
|
25
24
|
ai_gif_covers: {}
|
|
26
25
|
},
|
|
27
|
-
emits: ["
|
|
28
|
-
setup(__props, { emit
|
|
26
|
+
emits: ["confirm"],
|
|
27
|
+
setup(__props, { emit }) {
|
|
29
28
|
const props = __props;
|
|
30
|
-
const
|
|
31
|
-
|
|
32
|
-
emit("add", itemData);
|
|
29
|
+
const confirm = (itemData) => {
|
|
30
|
+
emit("confirm", itemData);
|
|
33
31
|
};
|
|
34
32
|
const breadCrumbs = ref([
|
|
35
33
|
{ directory_id: 0, alias: "\u6839\u76EE\u5F55" }
|
|
@@ -196,9 +194,8 @@ const _sfc_main = defineComponent({
|
|
|
196
194
|
ai_gif_covers: _ctx.ai_gif_covers,
|
|
197
195
|
"selected-max": _ctx.selectedMax,
|
|
198
196
|
preview: _ctx.preview,
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
}, null, 8, ["ai_static_covers", "ai_gif_covers", "selected-max", "preview", "add-type"])) : createCommentVNode("v-if", true),
|
|
197
|
+
onConfirm: confirm
|
|
198
|
+
}, null, 8, ["ai_static_covers", "ai_gif_covers", "selected-max", "preview"])) : createCommentVNode("v-if", true),
|
|
202
199
|
createCommentVNode(" \u7D20\u6750\u5E93\u7D20\u6750 "),
|
|
203
200
|
createCommentVNode(" \u7EC4\u7EC7\u3001\u6587\u4EF6\u5939\u9762\u5305\u5C51 "),
|
|
204
201
|
withDirectives(createElementVNode("div", _hoisted_4, [
|
|
@@ -256,11 +253,10 @@ const _sfc_main = defineComponent({
|
|
|
256
253
|
"file-list-count": fileListCount.value,
|
|
257
254
|
"is-over": isOver.value,
|
|
258
255
|
preview: _ctx.preview,
|
|
259
|
-
"add-type": _ctx.addType,
|
|
260
256
|
"change-directory": changeDirectory,
|
|
261
257
|
"load-file-more": loadFileMore,
|
|
262
|
-
|
|
263
|
-
}, null, 8, ["folder-list", "file-list", "file-list-count", "is-over", "preview"
|
|
258
|
+
onConfirm: confirm
|
|
259
|
+
}, null, 8, ["folder-list", "file-list", "file-list-count", "is-over", "preview"])
|
|
264
260
|
], 512), [
|
|
265
261
|
[vShow, ["all", "my"].includes(activeMediaType.value)]
|
|
266
262
|
])
|
|
@@ -1,23 +1,28 @@
|
|
|
1
|
-
import { defineComponent,
|
|
2
|
-
import { Space, Avatar, Button } from "@arco-design/web-vue";
|
|
1
|
+
import { defineComponent, ref, computed, openBlock, createElementBlock, Fragment, createElementVNode, createVNode, unref, withCtx, renderList, createBlock } from "vue";
|
|
2
|
+
import { Space, Tooltip, Avatar, Button } from "@arco-design/web-vue";
|
|
3
3
|
import { IconDelete, IconPlus } from "@arco-design/web-vue/es/icon";
|
|
4
|
+
import userDirector from "../userDirector/index.js";
|
|
5
|
+
import { DEFAULT_BASE_API } from "../config.js";
|
|
4
6
|
const _hoisted_1 = { class: "select-avatar-list" };
|
|
5
7
|
const _sfc_main = defineComponent({
|
|
6
8
|
...{ name: "selectAvatarList" },
|
|
7
9
|
__name: "component",
|
|
8
10
|
props: {
|
|
9
|
-
|
|
11
|
+
list: {},
|
|
12
|
+
BASE_API: {},
|
|
13
|
+
repositoryId: {}
|
|
10
14
|
},
|
|
11
|
-
emits: ["update:
|
|
12
|
-
setup(__props, { emit
|
|
15
|
+
emits: ["update:list"],
|
|
16
|
+
setup(__props, { emit }) {
|
|
13
17
|
const props = __props;
|
|
14
|
-
const
|
|
18
|
+
const BASE_API = props.BASE_API || DEFAULT_BASE_API;
|
|
19
|
+
const visible = ref(false);
|
|
15
20
|
const list = computed({
|
|
16
21
|
get() {
|
|
17
|
-
return props.
|
|
22
|
+
return props.list;
|
|
18
23
|
},
|
|
19
|
-
set() {
|
|
20
|
-
emit("update:
|
|
24
|
+
set(value) {
|
|
25
|
+
emit("update:list", value);
|
|
21
26
|
}
|
|
22
27
|
});
|
|
23
28
|
const dell = (index) => {
|
|
@@ -27,50 +32,64 @@ const _sfc_main = defineComponent({
|
|
|
27
32
|
return item.uid ? item.alias : `\u89D2\u8272\uFF1A${item.alias}`;
|
|
28
33
|
};
|
|
29
34
|
const addUser = () => {
|
|
35
|
+
visible.value = true;
|
|
36
|
+
};
|
|
37
|
+
const submit = (data) => {
|
|
38
|
+
list.value = data;
|
|
39
|
+
visible.value = false;
|
|
30
40
|
};
|
|
31
41
|
return (_ctx, _cache) => {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
+
return openBlock(), createElementBlock(Fragment, null, [
|
|
43
|
+
createElementVNode("div", _hoisted_1, [
|
|
44
|
+
createVNode(unref(Space), null, {
|
|
45
|
+
default: withCtx(() => [
|
|
46
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(list.value, (item, index) => {
|
|
47
|
+
return openBlock(), createBlock(unref(Tooltip), {
|
|
48
|
+
key: index,
|
|
49
|
+
content: content(item),
|
|
50
|
+
position: "top",
|
|
51
|
+
mini: ""
|
|
52
|
+
}, {
|
|
53
|
+
default: withCtx(() => [
|
|
54
|
+
createVNode(unref(Avatar), {
|
|
55
|
+
"trigger-type": "mask",
|
|
56
|
+
"image-url": item.avatar
|
|
57
|
+
}, {
|
|
58
|
+
"trigger-icon": withCtx(() => [
|
|
59
|
+
createVNode(unref(IconDelete), {
|
|
60
|
+
onClick: ($event) => dell(index)
|
|
61
|
+
}, null, 8, ["onClick"])
|
|
62
|
+
]),
|
|
63
|
+
_: 2
|
|
64
|
+
}, 1032, ["image-url"])
|
|
65
|
+
]),
|
|
66
|
+
_: 2
|
|
67
|
+
}, 1032, ["content"]);
|
|
68
|
+
}), 128)),
|
|
69
|
+
createVNode(unref(Button), {
|
|
70
|
+
class: "large",
|
|
71
|
+
shape: "circle",
|
|
72
|
+
size: "large",
|
|
73
|
+
onClick: addUser
|
|
42
74
|
}, {
|
|
43
75
|
default: withCtx(() => [
|
|
44
|
-
createVNode(unref(
|
|
45
|
-
"trigger-type": "mask",
|
|
46
|
-
"image-url": item.avatar
|
|
47
|
-
}, {
|
|
48
|
-
"trigger-icon": withCtx(() => [
|
|
49
|
-
createVNode(unref(IconDelete), {
|
|
50
|
-
onClick: ($event) => dell(index)
|
|
51
|
-
}, null, 8, ["onClick"])
|
|
52
|
-
]),
|
|
53
|
-
_: 2
|
|
54
|
-
}, 1032, ["image-url"])
|
|
76
|
+
createVNode(unref(IconPlus))
|
|
55
77
|
]),
|
|
56
|
-
_:
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
_: 1
|
|
72
|
-
})
|
|
73
|
-
]);
|
|
78
|
+
_: 1
|
|
79
|
+
})
|
|
80
|
+
]),
|
|
81
|
+
_: 1
|
|
82
|
+
})
|
|
83
|
+
]),
|
|
84
|
+
createVNode(unref(userDirector), {
|
|
85
|
+
visible: visible.value,
|
|
86
|
+
"onUpdate:visible": _cache[0] || (_cache[0] = ($event) => visible.value = $event),
|
|
87
|
+
BASE_API: unref(BASE_API),
|
|
88
|
+
"default-data": list.value,
|
|
89
|
+
"repository-id": props.repositoryId,
|
|
90
|
+
onSubmit: submit
|
|
91
|
+
}, null, 8, ["visible", "BASE_API", "default-data", "repository-id"])
|
|
92
|
+
], 64);
|
|
74
93
|
};
|
|
75
94
|
}
|
|
76
95
|
});
|
|
@@ -15,9 +15,8 @@ const _sfc_main = defineComponent({
|
|
|
15
15
|
columnWithData: {}
|
|
16
16
|
},
|
|
17
17
|
emits: ["update:visible", "submit"],
|
|
18
|
-
setup(__props, { emit
|
|
18
|
+
setup(__props, { emit }) {
|
|
19
19
|
const props = __props;
|
|
20
|
-
const emit = __emit;
|
|
21
20
|
const BASE_API = props.base_api || DEFAULT_BASE_API;
|
|
22
21
|
const selectColumnData = ref(props.columnData || []);
|
|
23
22
|
const selectColumnWithData = ref(props.columnWithData || []);
|
|
@@ -31,9 +31,8 @@ const _sfc_main = defineComponent({
|
|
|
31
31
|
"update:selectColumnData",
|
|
32
32
|
"update:selectColumnWithData"
|
|
33
33
|
],
|
|
34
|
-
setup(__props, { emit
|
|
34
|
+
setup(__props, { emit }) {
|
|
35
35
|
const props = __props;
|
|
36
|
-
const emit = __emit;
|
|
37
36
|
const popoverShow = ref(false);
|
|
38
37
|
const treeData = ref([]);
|
|
39
38
|
const listMinHeight = ref(0);
|
|
File without changes
|