@blueking/ai-ui-sdk 0.1.20 → 0.1.21-beta.1
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/components/render-auth/auth-dialog.script.vue.js.js +14 -12
- package/dist/components/render-auto-height-textarea/index.script.vue.js.js +5 -5
- package/dist/components/render-auto-height-textarea/index.vue.css +11 -11
- package/dist/components/render-auto-height-textarea/index.vue.js +1 -1
- package/dist/components/render-auto-refresh/index.script.vue.js.js +6 -8
- package/dist/components/render-auto-refresh/index.vue.css +8 -8
- package/dist/components/render-auto-refresh/index.vue.js +1 -1
- package/dist/components/render-checkbox/index.script.vue.js.js +3 -3
- package/dist/components/render-checkbox/index.vue.css +9 -9
- package/dist/components/render-checkbox/index.vue.js +1 -1
- package/dist/components/render-choose-tag/index.script.vue.js.js +11 -15
- package/dist/components/render-choose-tag/index.vue.css +7 -7
- package/dist/components/render-choose-tag/index.vue.js +1 -1
- package/dist/components/render-collapse/index.script.vue.js.js +3 -3
- package/dist/components/render-collapse/index.vue.css +2 -2
- package/dist/components/render-collapse/index.vue.js +1 -1
- package/dist/components/render-dataset/components/batch-delete-dataset-data/index.script.vue.js +2 -2
- package/dist/components/render-dataset/components/batch-delete-dataset-data/index.vue.css +3 -3
- package/dist/components/render-dataset/components/batch-delete-dataset-data/index.vue.js +1 -1
- package/dist/components/render-dataset/components/batch-edit-valid-dataset-data/index.script.vue.js.js +35 -33
- package/dist/components/render-dataset/components/batch-edit-valid-dataset-data/index.vue.css +1 -1
- package/dist/components/render-dataset/components/batch-edit-valid-dataset-data/index.vue.js +1 -1
- package/dist/components/render-dataset/components/batch-review-dataset-data/index.script.vue.js.js +46 -40
- package/dist/components/render-dataset/components/dataset-data-level/index.script.vue.js +4 -4
- package/dist/components/render-dataset/components/dataset-data-status/index.script.vue.js.js +4 -4
- package/dist/components/render-dataset/components/dataset-data-tool-icons/index.script.vue.js +10 -12
- package/dist/components/render-dataset/components/dataset-data-valid/index.script.vue.js.js +34 -32
- package/dist/components/render-dataset/components/dataset-data-valid/index.vue.css +1 -1
- package/dist/components/render-dataset/components/dataset-data-valid/index.vue.js +1 -1
- package/dist/components/render-dataset/components/edit-dataset-data/index.script.vue.js.js +25 -19
- package/dist/components/render-dataset/components/edit-dataset-data/index.vue.css +3 -3
- package/dist/components/render-dataset/components/edit-dataset-data/index.vue.js +1 -1
- package/dist/components/render-dataset/components/operation-record/index.script.vue.js.js +5 -5
- package/dist/components/render-dataset/components/operation-record/index.vue.css +4 -4
- package/dist/components/render-dataset/components/operation-record/index.vue.js +1 -1
- package/dist/components/render-dataset/components/operation-record/table/index.script.vue.js +1 -1
- package/dist/components/render-dataset/components/operation-record/table/index.vue.css +1 -1
- package/dist/components/render-dataset/components/operation-record/table/index.vue.js +1 -1
- package/dist/components/render-dataset/components/operation-record/view-op-result/index.script.vue.js.js +4 -4
- package/dist/components/render-dataset/components/operation-record/view-op-result/index.vue.css +2 -2
- package/dist/components/render-dataset/components/operation-record/view-op-result/index.vue.js +1 -1
- package/dist/components/render-dataset/components/plus-dataset/dataset-footer.script.vue.js.js +14 -12
- package/dist/components/render-dataset/components/plus-dataset/dataset-form.script.vue.js +17 -17
- package/dist/components/render-dataset/components/plus-dataset/index.script.vue.js.js +15 -15
- package/dist/components/render-dataset/components/plus-dataset/index.vue.css +2 -2
- package/dist/components/render-dataset/components/plus-dataset/index.vue.js +1 -1
- package/dist/components/render-dataset/components/plus-dataset-data/form/api.script.vue.js.js +2 -2
- package/dist/components/render-dataset/components/plus-dataset-data/form/api.vue.css +2 -2
- package/dist/components/render-dataset/components/plus-dataset-data/form/api.vue.js +1 -1
- package/dist/components/render-dataset/components/plus-dataset-data/form/category.script.vue.js.js +1 -1
- package/dist/components/render-dataset/components/plus-dataset-data/form/dataset.script.vue.js.js +3 -3
- package/dist/components/render-dataset/components/plus-dataset-data/form/file.script.vue.js.js +30 -25
- package/dist/components/render-dataset/components/plus-dataset-data/form/footer.script.vue.js.js +16 -14
- package/dist/components/render-dataset/components/plus-dataset-data/form/footer.vue.css +1 -1
- package/dist/components/render-dataset/components/plus-dataset-data/form/footer.vue.js +1 -1
- package/dist/components/render-dataset/components/plus-dataset-data/form/index.script.vue.js.js +15 -15
- package/dist/components/render-dataset/components/plus-dataset-data/form/index.vue.css +2 -2
- package/dist/components/render-dataset/components/plus-dataset-data/form/index.vue.js +1 -1
- package/dist/components/render-dataset/components/plus-dataset-data/form/manual.script.vue.js.js +3 -3
- package/dist/components/render-dataset/components/plus-dataset-data/index.script.vue.js.js +13 -12
- package/dist/components/render-dataset/components/review-dataset-data/index.script.vue.js.js +40 -32
- package/dist/components/render-dataset/components/review-dataset-data/index.vue.css +10 -10
- package/dist/components/render-dataset/components/review-dataset-data/index.vue.js +1 -1
- package/dist/components/render-dataset/components/search-dataset/index.script.vue.js.js +1 -1
- package/dist/components/render-dataset/components/search-dataset-data/index.script.vue.js.js +1 -1
- package/dist/components/render-dataset/components/search-operation-record/index.script.vue.js.js +1 -1
- package/dist/components/render-dataset-detail/components/header.script.vue.js.js +8 -4
- package/dist/components/render-dataset-detail/index.script.vue.js.js +4 -4
- package/dist/components/render-dataset-detail-origin-data/components/batch-operation/index.script.vue.js.js +21 -18
- package/dist/components/render-dataset-detail-origin-data/components/table/index.script.vue.js +15 -15
- package/dist/components/render-dataset-detail-origin-data/index.script.vue.js.js +33 -31
- package/dist/components/render-dataset-detail-origin-data/index.vue.css +3 -3
- package/dist/components/render-dataset-detail-origin-data/index.vue.js +1 -1
- package/dist/components/render-dataset-list/components/header.script.vue.js.js +2 -2
- package/dist/components/render-dataset-list/components/main.script.vue.js.js +26 -25
- package/dist/components/render-dataset-list/components/main.vue.css +3 -3
- package/dist/components/render-dataset-list/components/main.vue.js +1 -1
- package/dist/components/render-dataset-list/components/table.script.vue.js +6 -6
- package/dist/components/render-dataset-list/index.script.vue.js.js +20 -20
- package/dist/components/render-dataset-list/index.vue.css +2 -2
- package/dist/components/render-dataset-list/index.vue.js +1 -1
- package/dist/components/render-file-card/index.script.vue.js.js +3 -3
- package/dist/components/render-file-card/index.vue.css +11 -11
- package/dist/components/render-file-card/index.vue.d.ts +5 -9
- package/dist/components/render-file-card/index.vue.js +1 -1
- package/dist/components/render-file-type-icon/index.script.vue.js.js +1 -1
- package/dist/components/render-file-type-icon/index.vue.css +5 -5
- package/dist/components/render-file-type-icon/index.vue.js +1 -1
- package/dist/components/render-header/index.script.vue.js.js +2 -10
- package/dist/components/render-header/index.vue.css +3 -3
- package/dist/components/render-header/index.vue.js +1 -1
- package/dist/components/render-like/index.script.vue.js.js +21 -16
- package/dist/components/render-like/index.vue.css +5 -5
- package/dist/components/render-like/index.vue.d.ts +3 -3
- package/dist/components/render-like/index.vue.js +1 -1
- package/dist/components/render-router-tab/index.script.vue.js.js +1 -1
- package/dist/components/render-router-tab/index.vue.css +3 -3
- package/dist/components/render-router-tab/index.vue.js +1 -1
- package/dist/components/render-search-empty/index.script.vue.js.js +1 -1
- package/dist/components/render-search-empty/index.vue.d.ts +5 -9
- package/dist/components/render-search-select/index.script.vue.js.js +4 -4
- package/dist/components/render-search-select/index.vue.d.ts +5 -9
- package/dist/components/render-t-table/index.script.vue.js +40 -39
- package/dist/components/render-t-table/index.vue.css +27 -27
- package/dist/components/render-t-table/index.vue.d.ts +5 -9
- package/dist/components/render-t-table/index.vue.js +1 -1
- package/dist/components/render-tag-tree/index.vue.css +7 -8
- package/dist/components/render-tag-tree/index.vue.js +1 -1
- package/dist/components/render-tree/index.script.vue.js +1 -1
- package/dist/components/render-tree/index.vue.d.ts +5 -9
- package/dist/css/tailwind.css +9 -1
- package/dist/hooks/use-chat.d.ts +20 -4
- package/dist/http/helper/model.ts.js +7 -0
- package/dist/http/helper/permission.ts.js +2 -0
- package/dist/types/enum.d.ts +3 -0
- package/dist/types/enum.ts.js +3 -0
- package/dist/types/model.d.ts +44 -0
- package/dist/types/permission.d.ts +4 -0
- package/package.json +1 -1
- package/dist/images/market.png +0 -0
|
@@ -72,23 +72,25 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
72
72
|
theme: "primary",
|
|
73
73
|
onClick: handleApply
|
|
74
74
|
}, {
|
|
75
|
-
default: _withCtx(()=>[
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
75
|
+
default: _withCtx(()=>_cache[0] || (_cache[0] = [
|
|
76
|
+
_createTextVNode(" 去申请 ")
|
|
77
|
+
])),
|
|
78
|
+
_: 1 /* STABLE */ ,
|
|
79
|
+
__: [
|
|
80
|
+
0
|
|
81
|
+
]
|
|
81
82
|
}),
|
|
82
83
|
_createVNode(_component_bk_button, {
|
|
83
84
|
class: "g-ml-8",
|
|
84
85
|
onClick: handleClosed
|
|
85
86
|
}, {
|
|
86
|
-
default: _withCtx(()=>[
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
87
|
+
default: _withCtx(()=>_cache[1] || (_cache[1] = [
|
|
88
|
+
_createTextVNode(" 取消 ")
|
|
89
|
+
])),
|
|
90
|
+
_: 1 /* STABLE */ ,
|
|
91
|
+
__: [
|
|
92
|
+
1
|
|
93
|
+
]
|
|
92
94
|
})
|
|
93
95
|
])
|
|
94
96
|
]),
|
|
@@ -51,7 +51,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
51
51
|
class: "send-container",
|
|
52
52
|
style: _normalizeStyle({
|
|
53
53
|
'--text-height': textHeight.value + 'px',
|
|
54
|
-
'--origin-height': (
|
|
54
|
+
'--origin-height': (_ctx.focusShowHeight ? _ctx.height : textHeight.value) + 'px'
|
|
55
55
|
})
|
|
56
56
|
}, [
|
|
57
57
|
_createVNode(_unref(BkInput), {
|
|
@@ -60,18 +60,18 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
60
60
|
class: "send-input",
|
|
61
61
|
ref_key: "inputRef",
|
|
62
62
|
ref: inputRef,
|
|
63
|
-
disabled:
|
|
63
|
+
disabled: _ctx.disabled,
|
|
64
64
|
clearable: false,
|
|
65
65
|
resize: false,
|
|
66
|
-
placeholder:
|
|
67
|
-
"model-value":
|
|
66
|
+
placeholder: _ctx.placeholder,
|
|
67
|
+
"model-value": _ctx.modelValue,
|
|
68
68
|
onInput: handleValueChange
|
|
69
69
|
}, null, 8 /* PROPS */ , [
|
|
70
70
|
"disabled",
|
|
71
71
|
"placeholder",
|
|
72
72
|
"model-value"
|
|
73
73
|
]),
|
|
74
|
-
|
|
74
|
+
_ctx.modelValue && !_ctx.disabled ? (_openBlock(), _createBlock(_unref(Close), {
|
|
75
75
|
key: 0,
|
|
76
76
|
class: "send-clear",
|
|
77
77
|
onClick: _cache[0] || (_cache[0] = ($event)=>handleValueChange(''))
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
|
|
2
|
-
.send-container[data-v-
|
|
2
|
+
.send-container[data-v-7evjj145] {
|
|
3
3
|
position: relative;
|
|
4
4
|
}
|
|
5
|
-
.send-container[data-v-
|
|
5
|
+
.send-container[data-v-7evjj145]:has(textarea:focus) {
|
|
6
6
|
z-index: 2;
|
|
7
7
|
}
|
|
8
|
-
.send-container:hover .send-clear[data-v-
|
|
8
|
+
.send-container:hover .send-clear[data-v-7evjj145] {
|
|
9
9
|
display: inline-flex !important;
|
|
10
10
|
}
|
|
11
|
-
.send-input[data-v-
|
|
11
|
+
.send-input[data-v-7evjj145] {
|
|
12
12
|
width: 100%;
|
|
13
13
|
flex-direction: row;
|
|
14
14
|
height: var(--origin-height);
|
|
15
15
|
}
|
|
16
|
-
.send-input[data-v-
|
|
16
|
+
.send-input[data-v-7evjj145]:has(textarea:focus) {
|
|
17
17
|
height: var(--text-height);
|
|
18
18
|
}
|
|
19
|
-
.send-input[data-v-
|
|
19
|
+
.send-input[data-v-7evjj145] textarea {
|
|
20
20
|
font-size: 12px;
|
|
21
21
|
line-height: 16px;
|
|
22
22
|
padding: 7px;
|
|
23
23
|
resize: none !important;
|
|
24
24
|
}
|
|
25
|
-
.send-input[data-v-
|
|
25
|
+
.send-input[data-v-7evjj145] textarea::-webkit-scrollbar {
|
|
26
26
|
width: 4px;
|
|
27
27
|
height: 4px;
|
|
28
28
|
}
|
|
29
|
-
.send-input[data-v-
|
|
29
|
+
.send-input[data-v-7evjj145] textarea::-webkit-scrollbar-thumb {
|
|
30
30
|
height: 5px;
|
|
31
31
|
border-radius: 3px;
|
|
32
32
|
background-color: #dcdee5;
|
|
33
33
|
}
|
|
34
|
-
.send-input[data-v-
|
|
34
|
+
.send-input[data-v-7evjj145] textarea::placeholder {
|
|
35
35
|
line-height: 16px;
|
|
36
36
|
}
|
|
37
|
-
.send-clear[data-v-
|
|
37
|
+
.send-clear[data-v-7evjj145] {
|
|
38
38
|
display: none !important;
|
|
39
39
|
position: absolute;
|
|
40
40
|
right: 10px;
|
|
@@ -43,6 +43,6 @@
|
|
|
43
43
|
font-size: 14px;
|
|
44
44
|
cursor: pointer;
|
|
45
45
|
}
|
|
46
|
-
.send-clear[data-v-
|
|
46
|
+
.send-clear[data-v-7evjj145]:hover {
|
|
47
47
|
color: #313238;
|
|
48
48
|
}
|
|
@@ -104,7 +104,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
104
104
|
}, [
|
|
105
105
|
_cache[0] || (_cache[0] = _createElementVNode("i", {
|
|
106
106
|
class: "ai-ui-sdk-icon ai-ui-sdk-auto-refresh-line g-mr-4 g-text-16"
|
|
107
|
-
}, null, -1 /*
|
|
107
|
+
}, null, -1 /* HOISTED */ )),
|
|
108
108
|
_createTextVNode(" " + _toDisplayString((_autoRefreshTimes_find = autoRefreshTimes.find((item)=>item.id === autoRefreshTime.value)) === null || _autoRefreshTimes_find === void 0 ? void 0 : _autoRefreshTimes_find.name), 1 /* TEXT */ )
|
|
109
109
|
], 32 /* NEED_HYDRATION */ )
|
|
110
110
|
];
|
|
@@ -114,13 +114,11 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
114
114
|
_createElementVNode("span", {
|
|
115
115
|
class: "refresh g-mr-10",
|
|
116
116
|
onClick: handleUpdate
|
|
117
|
-
}, [
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
])
|
|
123
|
-
])
|
|
117
|
+
}, _cache[1] || (_cache[1] = [
|
|
118
|
+
_createElementVNode("i", {
|
|
119
|
+
class: "ai-ui-sdk-icon ai-ui-sdk-refresh g-text-16"
|
|
120
|
+
}, null, -1 /* HOISTED */ )
|
|
121
|
+
]))
|
|
124
122
|
], 64 /* STABLE_FRAGMENT */ );
|
|
125
123
|
};
|
|
126
124
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
.auto-refresh[data-v-
|
|
2
|
+
.auto-refresh[data-v-qfqu6mtz] {
|
|
3
3
|
position: relative;
|
|
4
4
|
cursor: pointer;
|
|
5
5
|
line-height: 26px;
|
|
6
6
|
padding: 0 4px;
|
|
7
7
|
white-space: nowrap;
|
|
8
8
|
}
|
|
9
|
-
.auto-refresh[data-v-
|
|
9
|
+
.auto-refresh[data-v-qfqu6mtz]:after {
|
|
10
10
|
content: '';
|
|
11
11
|
position: absolute;
|
|
12
12
|
top: 5px;
|
|
@@ -16,31 +16,31 @@
|
|
|
16
16
|
background-color: #dcdee5;
|
|
17
17
|
z-index: 1;
|
|
18
18
|
}
|
|
19
|
-
.auto-refresh[data-v-
|
|
19
|
+
.auto-refresh[data-v-qfqu6mtz]:hover {
|
|
20
20
|
color: #3A84FF;
|
|
21
21
|
background-color: #E1ECFF;
|
|
22
22
|
}
|
|
23
|
-
.refresh[data-v-
|
|
23
|
+
.refresh[data-v-qfqu6mtz] {
|
|
24
24
|
cursor: pointer;
|
|
25
25
|
line-height: 26px;
|
|
26
26
|
padding: 0 4px;
|
|
27
27
|
}
|
|
28
|
-
.refresh[data-v-
|
|
28
|
+
.refresh[data-v-qfqu6mtz]:hover {
|
|
29
29
|
color: #3A84FF;
|
|
30
30
|
background-color: #E1ECFF;
|
|
31
31
|
}
|
|
32
|
-
.textarea-list[data-v-
|
|
32
|
+
.textarea-list[data-v-qfqu6mtz] {
|
|
33
33
|
padding: 4px 0;
|
|
34
34
|
line-height: 32px;
|
|
35
35
|
max-height: 300px;
|
|
36
36
|
position: relative;
|
|
37
37
|
z-index: 2;
|
|
38
38
|
}
|
|
39
|
-
.textarea-list .textarea-item[data-v-
|
|
39
|
+
.textarea-list .textarea-item[data-v-qfqu6mtz] {
|
|
40
40
|
padding: 0 12px;
|
|
41
41
|
cursor: pointer;
|
|
42
42
|
}
|
|
43
|
-
.textarea-list .textarea-item[data-v-
|
|
43
|
+
.textarea-list .textarea-item[data-v-qfqu6mtz]:hover {
|
|
44
44
|
background: #E1ECFF;
|
|
45
45
|
color: #3A84FF;
|
|
46
46
|
}
|
|
@@ -26,9 +26,9 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
26
26
|
return _openBlock(), _createElementBlock("span", {
|
|
27
27
|
class: _normalizeClass({
|
|
28
28
|
'checkbox': true,
|
|
29
|
-
'checked':
|
|
30
|
-
'indeterminate':
|
|
31
|
-
'disabled':
|
|
29
|
+
'checked': _ctx.checked,
|
|
30
|
+
'indeterminate': _ctx.indeterminate,
|
|
31
|
+
'disabled': _ctx.disabled
|
|
32
32
|
}),
|
|
33
33
|
onClick: handleClick
|
|
34
34
|
}, null, 2 /* CLASS */ );
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
.checkbox[data-v-
|
|
2
|
+
.checkbox[data-v-pu0at99t] {
|
|
3
3
|
position: relative;
|
|
4
4
|
display: inline-block;
|
|
5
5
|
width: 16px;
|
|
@@ -8,27 +8,27 @@
|
|
|
8
8
|
border-radius: 2px;
|
|
9
9
|
cursor: pointer;
|
|
10
10
|
}
|
|
11
|
-
.checkbox.disabled[data-v-
|
|
11
|
+
.checkbox.disabled[data-v-pu0at99t] {
|
|
12
12
|
cursor: not-allowed;
|
|
13
13
|
background: #fafbfd;
|
|
14
14
|
border-color: #dcdee5;
|
|
15
15
|
}
|
|
16
|
-
.checkbox.disabled.checked[data-v-
|
|
16
|
+
.checkbox.disabled.checked[data-v-pu0at99t] {
|
|
17
17
|
background-color: #a3c5fd;
|
|
18
18
|
border-color: #a3c5fd;
|
|
19
19
|
}
|
|
20
|
-
.checkbox.disabled.indeterminate[data-v-
|
|
20
|
+
.checkbox.disabled.indeterminate[data-v-pu0at99t] {
|
|
21
21
|
background-color: #fafbfd;
|
|
22
22
|
border-color: #dcdee5;
|
|
23
23
|
}
|
|
24
|
-
.checkbox.disabled.indeterminate[data-v-
|
|
24
|
+
.checkbox.disabled.indeterminate[data-v-pu0at99t]:after {
|
|
25
25
|
background: #dcdee5;
|
|
26
26
|
}
|
|
27
|
-
.checkbox.checked[data-v-
|
|
27
|
+
.checkbox.checked[data-v-pu0at99t] {
|
|
28
28
|
background-color: #3a84ff;
|
|
29
29
|
border: 1px solid #3a84ff;
|
|
30
30
|
}
|
|
31
|
-
.checkbox.checked[data-v-
|
|
31
|
+
.checkbox.checked[data-v-pu0at99t]:after {
|
|
32
32
|
position: absolute;
|
|
33
33
|
top: 50%;
|
|
34
34
|
left: 50%;
|
|
@@ -41,11 +41,11 @@
|
|
|
41
41
|
transform: translate(-50%, -60%) rotate(45deg);
|
|
42
42
|
transform-origin: center;
|
|
43
43
|
}
|
|
44
|
-
.checkbox.indeterminate[data-v-
|
|
44
|
+
.checkbox.indeterminate[data-v-pu0at99t] {
|
|
45
45
|
background-color: #3a84ff;
|
|
46
46
|
border: 1px solid #3a84ff;
|
|
47
47
|
}
|
|
48
|
-
.checkbox.indeterminate[data-v-
|
|
48
|
+
.checkbox.indeterminate[data-v-pu0at99t]:after {
|
|
49
49
|
position: absolute;
|
|
50
50
|
top: 50%;
|
|
51
51
|
left: 50%;
|
|
@@ -190,7 +190,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
190
190
|
"name-key": "tagName",
|
|
191
191
|
"ext-cls": "tag-cascader",
|
|
192
192
|
placeholder: "请选择标签",
|
|
193
|
-
multiple:
|
|
193
|
+
multiple: _ctx.multiple,
|
|
194
194
|
loading: isLoadingTag.value,
|
|
195
195
|
list: tags.value,
|
|
196
196
|
"model-value": getModuleValue(),
|
|
@@ -199,7 +199,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
199
199
|
}, _createSlots({
|
|
200
200
|
_: 2 /* DYNAMIC */
|
|
201
201
|
}, [
|
|
202
|
-
|
|
202
|
+
_ctx.isEnabledCreateTag ? {
|
|
203
203
|
name: "extension",
|
|
204
204
|
fn: _withCtx(()=>[
|
|
205
205
|
isShowEdit.value ? (_openBlock(), _createElementBlock("section", _hoisted_1, [
|
|
@@ -226,11 +226,9 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
226
226
|
theme: "light",
|
|
227
227
|
trigger: "manual"
|
|
228
228
|
}, {
|
|
229
|
-
content: _withCtx(()=>[
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
])
|
|
233
|
-
]),
|
|
229
|
+
content: _withCtx(()=>_cache[1] || (_cache[1] = [
|
|
230
|
+
_createTextVNode(" 如需定义层级标签,以英文“/”分割层级,多个标签以“、”分隔 ")
|
|
231
|
+
])),
|
|
234
232
|
default: _withCtx(()=>[
|
|
235
233
|
_createVNode(_component_bk_input, {
|
|
236
234
|
modelValue: tempTagName.value,
|
|
@@ -282,14 +280,12 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
282
280
|
onClick: _withModifiers(handleShowPlusTag, [
|
|
283
281
|
"stop"
|
|
284
282
|
])
|
|
285
|
-
}, [
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
])
|
|
292
|
-
]))
|
|
283
|
+
}, _cache[2] || (_cache[2] = [
|
|
284
|
+
_createElementVNode("i", {
|
|
285
|
+
class: "ai-ui-sdk-icon ai-ui-sdk-plus-circle g-text-14 g-mr-6"
|
|
286
|
+
}, null, -1 /* HOISTED */ ),
|
|
287
|
+
_createTextVNode(" 新建标签 ")
|
|
288
|
+
])))
|
|
293
289
|
]),
|
|
294
290
|
key: "0"
|
|
295
291
|
} : undefined
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
|
|
2
|
-
.plus-tag-input[data-v-
|
|
2
|
+
.plus-tag-input[data-v-gtqi5tu8] {
|
|
3
3
|
padding: 7px 12px;
|
|
4
4
|
height: 40px;
|
|
5
5
|
background: #FAFBFD;
|
|
6
6
|
border-top: 1px solid #DCDEE5;
|
|
7
7
|
}
|
|
8
|
-
.plus-tag-input .plus-tag-done[data-v-
|
|
8
|
+
.plus-tag-input .plus-tag-done[data-v-gtqi5tu8] {
|
|
9
9
|
cursor: pointer;
|
|
10
10
|
font-size: 22px;
|
|
11
11
|
color: #2DCB56;
|
|
12
12
|
margin: 0 5px 0 10px;
|
|
13
13
|
}
|
|
14
|
-
.plus-tag-input .plus-tag-error[data-v-
|
|
14
|
+
.plus-tag-input .plus-tag-error[data-v-gtqi5tu8] {
|
|
15
15
|
cursor: pointer;
|
|
16
16
|
font-size: 16px;
|
|
17
17
|
color: #C4C6CC;
|
|
18
18
|
margin-right: 5px;
|
|
19
19
|
}
|
|
20
|
-
.plus-tag-input .plus-tag-form[data-v-
|
|
20
|
+
.plus-tag-input .plus-tag-form[data-v-gtqi5tu8] {
|
|
21
21
|
flex: 1;
|
|
22
22
|
}
|
|
23
|
-
.plus-tag-input .plus-tag-form-item[data-v-
|
|
23
|
+
.plus-tag-input .plus-tag-form-item[data-v-gtqi5tu8] {
|
|
24
24
|
margin-bottom: 0;
|
|
25
25
|
}
|
|
26
|
-
.plus-tag[data-v-
|
|
26
|
+
.plus-tag[data-v-gtqi5tu8] {
|
|
27
27
|
cursor: pointer;
|
|
28
28
|
width: 100%;
|
|
29
29
|
height: 40px;
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
font-size: 12px;
|
|
37
37
|
line-height: 20px;
|
|
38
38
|
}
|
|
39
|
-
.plus-tag[data-v-
|
|
39
|
+
.plus-tag[data-v-gtqi5tu8]:hover {
|
|
40
40
|
color: #3A84FF;
|
|
41
41
|
}
|
|
42
42
|
|
|
@@ -33,12 +33,12 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
33
33
|
'is-hidden': !isShow.value
|
|
34
34
|
})
|
|
35
35
|
}, null, 2 /* CLASS */ ),
|
|
36
|
-
_createElementVNode("span", _hoisted_1, _toDisplayString(
|
|
37
|
-
|
|
36
|
+
_createElementVNode("span", _hoisted_1, _toDisplayString(_ctx.title), 1 /* TEXT */ ),
|
|
37
|
+
_ctx.tips ? _withDirectives((_openBlock(), _createElementBlock("i", _hoisted_2, null, 512 /* NEED_PATCH */ )), [
|
|
38
38
|
[
|
|
39
39
|
_directive_bk_tooltips,
|
|
40
40
|
{
|
|
41
|
-
content:
|
|
41
|
+
content: _ctx.tips,
|
|
42
42
|
placement: 'top'
|
|
43
43
|
}
|
|
44
44
|
]
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
|
|
2
|
-
.collapse-title[data-v-
|
|
2
|
+
.collapse-title[data-v-b25b05nq] {
|
|
3
3
|
height: 28px;
|
|
4
4
|
background: #F0F1F5;
|
|
5
5
|
border-radius: 2px;
|
|
6
6
|
padding: 0 12px;
|
|
7
7
|
}
|
|
8
|
-
.collapse-title .is-hidden[data-v-
|
|
8
|
+
.collapse-title .is-hidden[data-v-b25b05nq] {
|
|
9
9
|
transform: rotate(-90deg);
|
|
10
10
|
}
|
package/dist/components/render-dataset/components/batch-delete-dataset-data/index.script.vue.js
CHANGED
|
@@ -55,7 +55,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
55
55
|
"confirm-button-theme": "danger",
|
|
56
56
|
"confirm-text": "删除",
|
|
57
57
|
class: "delete-dialog",
|
|
58
|
-
"is-show":
|
|
58
|
+
"is-show": _ctx.modelValue,
|
|
59
59
|
title: `确定删除${props.datasetDataIds.length}条原数据?`,
|
|
60
60
|
onClosed: handleClosed,
|
|
61
61
|
onConfirm: handleDeleteDatasetDatas
|
|
@@ -64,7 +64,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
64
64
|
_createElementVNode("section", _hoisted_1, [
|
|
65
65
|
_cache[0] || (_cache[0] = _createElementVNode("span", {
|
|
66
66
|
class: "sub-title g-text-14 g-learning-22 g-mb-16 g-text-center g-width-full"
|
|
67
|
-
}, " 删除后将不可恢复,请谨慎操作! ", -1 /*
|
|
67
|
+
}, " 删除后将不可恢复,请谨慎操作! ", -1 /* HOISTED */ )),
|
|
68
68
|
_createVNode(RenderTTable, {
|
|
69
69
|
class: "select-table g-align-self-center",
|
|
70
70
|
"row-key": "id",
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
|
|
2
|
-
.sub-title[data-v-
|
|
2
|
+
.sub-title[data-v-bcmmsza2] {
|
|
3
3
|
padding: 12px 16px;
|
|
4
4
|
background: #F5F7FA;
|
|
5
5
|
border-radius: 2px;
|
|
6
6
|
}
|
|
7
|
-
.select-table[data-v-
|
|
7
|
+
.select-table[data-v-bcmmsza2] {
|
|
8
8
|
height: 192px;
|
|
9
9
|
border: 1px solid #EAEBF0;
|
|
10
10
|
border-radius: 2px;
|
|
11
11
|
}
|
|
12
|
-
.delete-dialog[data-v-
|
|
12
|
+
.delete-dialog[data-v-bcmmsza2] .bk-dialog-footer {
|
|
13
13
|
padding: 0 16px 24px 16px;
|
|
14
14
|
background-color: #FFFFFF;
|
|
15
15
|
border-top: 1px solid transparent;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import script from './index.script.vue.js';
|
|
2
|
-
script.__scopeId = "data-v-
|
|
2
|
+
script.__scopeId = "data-v-bcmmsza2";
|
|
3
3
|
script.__file = "./src/components/render-dataset/components/batch-delete-dataset-data/index.vue";
|
|
4
4
|
import './index.vue.css';
|
|
5
5
|
export default script;
|
|
@@ -45,7 +45,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
45
45
|
title: "批量编辑有效性",
|
|
46
46
|
width: "508",
|
|
47
47
|
"render-directive": "if",
|
|
48
|
-
"is-show":
|
|
48
|
+
"is-show": _ctx.modelValue,
|
|
49
49
|
onClosed: handleClosed,
|
|
50
50
|
onConfirm: handleBatchEditValidDatasetData
|
|
51
51
|
}, {
|
|
@@ -70,45 +70,47 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
70
70
|
_createVNode(_component_bk_radio, {
|
|
71
71
|
label: false
|
|
72
72
|
}, {
|
|
73
|
-
default: _withCtx(()=>[
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
73
|
+
default: _withCtx(()=>_cache[1] || (_cache[1] = [
|
|
74
|
+
_createElementVNode("div", {
|
|
75
|
+
class: "g-flex-row g-align-items-center"
|
|
76
|
+
}, [
|
|
77
|
+
_createElementVNode("svg", {
|
|
78
|
+
class: "g-mr-4 g-width-16 g-height-16 g-min-width-16 g-text-red"
|
|
77
79
|
}, [
|
|
78
|
-
_createElementVNode("
|
|
79
|
-
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
_: 1 /* STABLE */
|
|
80
|
+
_createElementVNode("use", {
|
|
81
|
+
href: "#ai-ui-sdk-sync-failed"
|
|
82
|
+
})
|
|
83
|
+
]),
|
|
84
|
+
_createTextVNode(" 无效(不参与模型训练) ")
|
|
85
|
+
], -1 /* HOISTED */ )
|
|
86
|
+
])),
|
|
87
|
+
_: 1 /* STABLE */ ,
|
|
88
|
+
__: [
|
|
89
|
+
1
|
|
90
|
+
]
|
|
90
91
|
}),
|
|
91
92
|
_createVNode(_component_bk_radio, {
|
|
92
93
|
class: "radio",
|
|
93
94
|
label: true
|
|
94
95
|
}, {
|
|
95
|
-
default: _withCtx(()=>[
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
96
|
+
default: _withCtx(()=>_cache[2] || (_cache[2] = [
|
|
97
|
+
_createElementVNode("div", {
|
|
98
|
+
class: "g-flex-row g-align-items-center"
|
|
99
|
+
}, [
|
|
100
|
+
_createElementVNode("svg", {
|
|
101
|
+
class: "g-mr-4 g-width-16 g-height-16 g-min-width-16 g-text-green"
|
|
99
102
|
}, [
|
|
100
|
-
_createElementVNode("
|
|
101
|
-
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
_: 1 /* STABLE */
|
|
103
|
+
_createElementVNode("use", {
|
|
104
|
+
href: "#ai-ui-sdk-sync-success"
|
|
105
|
+
})
|
|
106
|
+
]),
|
|
107
|
+
_createTextVNode(" 有效 ")
|
|
108
|
+
], -1 /* HOISTED */ )
|
|
109
|
+
])),
|
|
110
|
+
_: 1 /* STABLE */ ,
|
|
111
|
+
__: [
|
|
112
|
+
2
|
|
113
|
+
]
|
|
112
114
|
})
|
|
113
115
|
]),
|
|
114
116
|
_: 1 /* STABLE */
|
package/dist/components/render-dataset/components/batch-edit-valid-dataset-data/index.vue.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import script from './index.script.vue.js.js';
|
|
2
|
-
script.__scopeId = "data-v-
|
|
2
|
+
script.__scopeId = "data-v-zf5r574l";
|
|
3
3
|
script.__file = "./src/components/render-dataset/components/batch-edit-valid-dataset-data/index.vue";
|
|
4
4
|
import './index.vue.css';
|
|
5
5
|
export default script;
|