@blueking/ai-ui-sdk 0.1.10-beta.12 → 0.1.10-beta.3
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-aside/index.vue.css +9 -9
- package/dist/components/render-aside/index.vue.js +1 -1
- 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-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 +3 -196
- package/dist/components/render-choose-tag/index.vue.css +12 -19
- package/dist/components/render-choose-tag/index.vue.js +1 -1
- 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/edit-dataset-data/index.script.vue.js.js +2 -3
- 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.d.ts +0 -2
- package/dist/components/render-dataset/components/edit-dataset-data/index.vue.js +1 -1
- 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.js +12 -23
- 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 +7 -1
- 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-form.script.vue.js +1 -1
- 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/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.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/review-dataset-data/index.script.vue.js.js +7 -8
- 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.d.ts +0 -2
- package/dist/components/render-dataset/components/review-dataset-data/index.vue.js +1 -1
- package/dist/components/render-dataset/components/search-dataset-data/index.script.vue.js.js +4 -4
- package/dist/components/render-dataset/components/search-operation-record/index.script.vue.js.js +0 -4
- package/dist/components/render-dataset/index.vue.css +1 -1
- package/dist/components/render-dataset/index.vue.js +1 -1
- package/dist/components/render-dataset-detail-origin-data/components/table/index.script.vue.js +6 -10
- package/dist/components/render-dataset-detail-origin-data/components/table/index.vue.css +1 -1
- package/dist/components/render-dataset-detail-origin-data/components/table/index.vue.js +1 -1
- package/dist/components/render-dataset-detail-origin-data/index.script.vue.js.js +10 -19
- 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/main.vue.css +3 -3
- package/dist/components/render-dataset-list/components/main.vue.js +1 -1
- package/dist/components/render-expand-collapse/index.vue.css +3 -3
- package/dist/components/render-expand-collapse/index.vue.js +1 -1
- package/dist/components/render-file-card/index.vue.css +11 -11
- package/dist/components/render-file-card/index.vue.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.vue.css +5 -5
- package/dist/components/render-header/index.vue.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.d.ts +1 -2
- package/dist/components.ts.js +1 -2
- package/dist/css/fonts/iconcool.eot +0 -0
- package/dist/css/fonts/iconcool.svg +0 -9
- package/dist/css/fonts/iconcool.ttf +0 -0
- package/dist/css/fonts/iconcool.woff +0 -0
- package/dist/css/iconcool.js +2 -2
- package/dist/css/style.css +0 -9
- package/dist/hooks/use-chat.d.ts +1 -3
- package/dist/hooks/use-chat.ts.js +2 -24
- package/dist/hooks/use-meta-http.ts.js +1 -1
- package/dist/hooks/use-reference-doc.d.ts +1 -1
- package/dist/hooks/use-reference-doc.ts.js +6 -2
- package/dist/http/helper/dataset.ts.js +10 -12
- package/dist/types/dataset.d.ts +10 -12
- package/dist/types/enum.d.ts +1 -2
- package/dist/types/enum.ts.js +0 -1
- package/dist/types/session.d.ts +0 -3
- package/package.json +1 -1
- package/dist/components/render-auto-refresh/index.script.vue.js.js +0 -125
- package/dist/components/render-auto-refresh/index.vue.css +0 -45
- package/dist/components/render-auto-refresh/index.vue.d.ts +0 -6
- package/dist/components/render-auto-refresh/index.vue.js +0 -5
- package/dist/hooks/use-form-rule.ts.js +0 -101
@@ -1,12 +1,12 @@
|
|
1
1
|
|
2
|
-
.aside-home[data-v-
|
2
|
+
.aside-home[data-v-ypvnqp8e] {
|
3
3
|
width: 300px;
|
4
4
|
height: 100%;
|
5
5
|
background: #FFFFFF;
|
6
6
|
padding: 16px;
|
7
7
|
border-right: 1px solid #eaebf0;
|
8
8
|
}
|
9
|
-
[data-v-
|
9
|
+
[data-v-ypvnqp8e] .aside-item {
|
10
10
|
width: 268px;
|
11
11
|
line-height: 36px;
|
12
12
|
border-radius: 2px;
|
@@ -16,30 +16,30 @@
|
|
16
16
|
justify-content: space-between;
|
17
17
|
color: #979BA5;
|
18
18
|
}
|
19
|
-
[data-v-
|
19
|
+
[data-v-ypvnqp8e] .aside-item.is-tab {
|
20
20
|
background: #F5F7FA;
|
21
21
|
cursor: pointer;
|
22
22
|
color: #4D4F56;
|
23
23
|
}
|
24
|
-
[data-v-
|
24
|
+
[data-v-ypvnqp8e] .aside-item.is-tab:hover {
|
25
25
|
background: #F0F5FF;
|
26
26
|
}
|
27
|
-
[data-v-
|
27
|
+
[data-v-ypvnqp8e] .aside-item.active {
|
28
28
|
background: #F0F5FF;
|
29
29
|
color: #3A84FF;
|
30
30
|
font-weight: 700;
|
31
31
|
}
|
32
|
-
[data-v-
|
32
|
+
[data-v-ypvnqp8e] .aside-item.active .tab-num {
|
33
33
|
background: #3A84FF;
|
34
34
|
color: #fff;
|
35
35
|
}
|
36
|
-
[data-v-
|
36
|
+
[data-v-ypvnqp8e] .aside-item.active .active-text {
|
37
37
|
color: #3A84FF;
|
38
38
|
}
|
39
|
-
[data-v-
|
39
|
+
[data-v-ypvnqp8e] .aside-item .tab-name {
|
40
40
|
flex: 1;
|
41
41
|
}
|
42
|
-
[data-v-
|
42
|
+
[data-v-ypvnqp8e] .aside-item .tab-num {
|
43
43
|
background: #EAEBF0;
|
44
44
|
border-radius: 2px;
|
45
45
|
margin-left: 5px;
|
@@ -1,40 +1,40 @@
|
|
1
1
|
|
2
|
-
.send-container[data-v-
|
2
|
+
.send-container[data-v-qhwdymy8] {
|
3
3
|
position: relative;
|
4
4
|
}
|
5
|
-
.send-container[data-v-
|
5
|
+
.send-container[data-v-qhwdymy8]: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-qhwdymy8] {
|
9
9
|
display: inline-flex !important;
|
10
10
|
}
|
11
|
-
.send-input[data-v-
|
11
|
+
.send-input[data-v-qhwdymy8] {
|
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-qhwdymy8]:has(textarea:focus) {
|
17
17
|
height: var(--text-height);
|
18
18
|
}
|
19
|
-
.send-input[data-v-
|
19
|
+
.send-input[data-v-qhwdymy8] 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-qhwdymy8] textarea::-webkit-scrollbar {
|
26
26
|
width: 4px;
|
27
27
|
height: 4px;
|
28
28
|
}
|
29
|
-
.send-input[data-v-
|
29
|
+
.send-input[data-v-qhwdymy8] 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-qhwdymy8] textarea::placeholder {
|
35
35
|
line-height: 16px;
|
36
36
|
}
|
37
|
-
.send-clear[data-v-
|
37
|
+
.send-clear[data-v-qhwdymy8] {
|
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-qhwdymy8]:hover {
|
47
47
|
color: #313238;
|
48
48
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
|
2
|
-
.checkbox[data-v-
|
2
|
+
.checkbox[data-v-ylju63wf] {
|
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-ylju63wf] {
|
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-ylju63wf] {
|
17
17
|
background-color: #a3c5fd;
|
18
18
|
border-color: #a3c5fd;
|
19
19
|
}
|
20
|
-
.checkbox.disabled.indeterminate[data-v-
|
20
|
+
.checkbox.disabled.indeterminate[data-v-ylju63wf] {
|
21
21
|
background-color: #fafbfd;
|
22
22
|
border-color: #dcdee5;
|
23
23
|
}
|
24
|
-
.checkbox.disabled.indeterminate[data-v-
|
24
|
+
.checkbox.disabled.indeterminate[data-v-ylju63wf]:after {
|
25
25
|
background: #dcdee5;
|
26
26
|
}
|
27
|
-
.checkbox.checked[data-v-
|
27
|
+
.checkbox.checked[data-v-ylju63wf] {
|
28
28
|
background-color: #3a84ff;
|
29
29
|
border: 1px solid #3a84ff;
|
30
30
|
}
|
31
|
-
.checkbox.checked[data-v-
|
31
|
+
.checkbox.checked[data-v-ylju63wf]: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-ylju63wf] {
|
45
45
|
background-color: #3a84ff;
|
46
46
|
border: 1px solid #3a84ff;
|
47
47
|
}
|
48
|
-
.checkbox.indeterminate[data-v-
|
48
|
+
.checkbox.indeterminate[data-v-ylju63wf]:after {
|
49
49
|
position: absolute;
|
50
50
|
top: 50%;
|
51
51
|
left: 50%;
|
@@ -1,41 +1,6 @@
|
|
1
|
-
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
2
|
-
try {
|
3
|
-
var info = gen[key](arg);
|
4
|
-
var value = info.value;
|
5
|
-
} catch (error) {
|
6
|
-
reject(error);
|
7
|
-
return;
|
8
|
-
}
|
9
|
-
if (info.done) {
|
10
|
-
resolve(value);
|
11
|
-
} else {
|
12
|
-
Promise.resolve(value).then(_next, _throw);
|
13
|
-
}
|
14
|
-
}
|
15
|
-
function _async_to_generator(fn) {
|
16
|
-
return function() {
|
17
|
-
var self = this, args = arguments;
|
18
|
-
return new Promise(function(resolve, reject) {
|
19
|
-
var gen = fn.apply(self, args);
|
20
|
-
function _next(value) {
|
21
|
-
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
22
|
-
}
|
23
|
-
function _throw(err) {
|
24
|
-
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
25
|
-
}
|
26
|
-
_next(undefined);
|
27
|
-
});
|
28
|
-
};
|
29
|
-
}
|
30
1
|
import { defineComponent as _defineComponent } from 'vue';
|
31
|
-
import { resolveComponent as _resolveComponent,
|
32
|
-
const _hoisted_1 = {
|
33
|
-
key: 0,
|
34
|
-
class: "g-flex-row plus-tag-input render-tag"
|
35
|
-
};
|
36
|
-
import { Done, Error } from 'bkui-vue/lib/icon';
|
2
|
+
import { resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock } from "vue";
|
37
3
|
import { onBeforeMount, ref, toRef, watch } from 'vue';
|
38
|
-
import { useFormRule } from '../../hooks/use-form-rule.ts.js';
|
39
4
|
import { useMetaHttp } from '../../hooks/use-meta-http.ts.js';
|
40
5
|
export default /*@__PURE__*/ _defineComponent({
|
41
6
|
props: {
|
@@ -50,81 +15,12 @@ export default /*@__PURE__*/ _defineComponent({
|
|
50
15
|
setup (__props, { emit: __emit }) {
|
51
16
|
const props = __props;
|
52
17
|
const emits = __emit;
|
53
|
-
const {
|
54
|
-
const { getTags, plusTag, checkTag } = useMetaHttp(props.apiPrefix, toRef(props, 'spaceId'));
|
55
|
-
const isShowEdit = ref(false);
|
56
|
-
const isPulsingTag = ref(false);
|
57
|
-
const tempTagName = ref('');
|
58
|
-
const tagRef = ref();
|
59
|
-
const tagFormRef = ref();
|
18
|
+
const { getTags } = useMetaHttp(props.apiPrefix, toRef(props, 'spaceId'));
|
60
19
|
const isLoadingTag = ref(false);
|
61
|
-
const isShow = ref(false);
|
62
20
|
const tags = ref([]);
|
63
|
-
const checkTagRule = {
|
64
|
-
validator: (value)=>checkTag(handleGetTagNames(value)).then(()=>true).catch(()=>false),
|
65
|
-
message: '标签名称重复',
|
66
|
-
trigger: 'change'
|
67
|
-
};
|
68
|
-
const tagRules = {
|
69
|
-
tempTagName: [
|
70
|
-
checkTagRule,
|
71
|
-
getLengthRule('标签名称', 16)
|
72
|
-
]
|
73
|
-
};
|
74
|
-
const handleFocus = ()=>{
|
75
|
-
isShow.value = true;
|
76
|
-
};
|
77
|
-
const handleBlur = ()=>{
|
78
|
-
isShow.value = false;
|
79
|
-
};
|
80
21
|
const handleChange = (val)=>{
|
81
22
|
emits('update:modelValue', val);
|
82
23
|
};
|
83
|
-
const handleTagKeyDown = (value, event)=>{
|
84
|
-
if (event.keyCode === 13 || event.key === 'Enter') {
|
85
|
-
handlePlusTag();
|
86
|
-
}
|
87
|
-
};
|
88
|
-
const handleGetTagNames = (tagName)=>{
|
89
|
-
const tagGroups = tagName.split('、');
|
90
|
-
return tagGroups.reduce((acc, cur)=>{
|
91
|
-
if (cur.trim()) {
|
92
|
-
const tagNames = cur.split('/').filter(Boolean);
|
93
|
-
acc.push(tagNames);
|
94
|
-
}
|
95
|
-
return acc;
|
96
|
-
}, []);
|
97
|
-
};
|
98
|
-
const handlePlusTag = function() {
|
99
|
-
var _ref = _async_to_generator(function*() {
|
100
|
-
try {
|
101
|
-
isPulsingTag.value = true;
|
102
|
-
const tagNames = handleGetTagNames(tempTagName.value);
|
103
|
-
yield tagFormRef.value.validate();
|
104
|
-
yield plusTag(tagNames);
|
105
|
-
emits('update:modelValue', [
|
106
|
-
...props.modelValue,
|
107
|
-
...tagNames
|
108
|
-
]);
|
109
|
-
handleGetTags();
|
110
|
-
handleHidePlusTag();
|
111
|
-
} catch (error) {
|
112
|
-
console.error(error.message || error);
|
113
|
-
} finally{
|
114
|
-
isPulsingTag.value = false;
|
115
|
-
}
|
116
|
-
});
|
117
|
-
return function handlePlusTag() {
|
118
|
-
return _ref.apply(this, arguments);
|
119
|
-
};
|
120
|
-
}();
|
121
|
-
const handleShowPlusTag = ()=>{
|
122
|
-
isShowEdit.value = true;
|
123
|
-
};
|
124
|
-
const handleHidePlusTag = ()=>{
|
125
|
-
isShowEdit.value = false;
|
126
|
-
tempTagName.value = '';
|
127
|
-
};
|
128
24
|
const handleGetTags = ()=>{
|
129
25
|
isLoadingTag.value = true;
|
130
26
|
getTags().then((result)=>{
|
@@ -136,106 +32,17 @@ export default /*@__PURE__*/ _defineComponent({
|
|
136
32
|
watch(()=>props.spaceId, handleGetTags);
|
137
33
|
onBeforeMount(handleGetTags);
|
138
34
|
return (_ctx, _cache)=>{
|
139
|
-
const _component_bk_input = _resolveComponent("bk-input");
|
140
|
-
const _component_bk_popover = _resolveComponent("bk-popover");
|
141
|
-
const _component_bk_form_item = _resolveComponent("bk-form-item");
|
142
|
-
const _component_bk_form = _resolveComponent("bk-form");
|
143
35
|
const _component_bk_cascader = _resolveComponent("bk-cascader");
|
144
|
-
const _directive_bkloading = _resolveDirective("bkloading");
|
145
36
|
return _openBlock(), _createBlock(_component_bk_cascader, {
|
146
37
|
filterable: "",
|
147
38
|
"id-key": "tagName",
|
148
39
|
"name-key": "tagName",
|
149
|
-
"ext-cls": "tag-cascader",
|
150
40
|
multiple: true,
|
151
41
|
loading: isLoadingTag.value,
|
152
42
|
list: tags.value,
|
153
43
|
"model-value": _ctx.modelValue,
|
154
44
|
"onUpdate:modelValue": handleChange
|
155
|
-
},
|
156
|
-
extension: _withCtx(()=>[
|
157
|
-
isShowEdit.value ? (_openBlock(), _createElementBlock("section", _hoisted_1, [
|
158
|
-
_createVNode(_component_bk_form, {
|
159
|
-
class: "plus-tag-form",
|
160
|
-
ref_key: "tagFormRef",
|
161
|
-
ref: tagFormRef,
|
162
|
-
model: {
|
163
|
-
tempTagName: tempTagName.value
|
164
|
-
},
|
165
|
-
rules: tagRules
|
166
|
-
}, {
|
167
|
-
default: _withCtx(()=>[
|
168
|
-
_createVNode(_component_bk_form_item, {
|
169
|
-
class: "plus-tag-form-item",
|
170
|
-
"label-width": 0,
|
171
|
-
property: "tempTagName",
|
172
|
-
"error-display-type": "tooltips",
|
173
|
-
required: ""
|
174
|
-
}, {
|
175
|
-
default: _withCtx(()=>[
|
176
|
-
_createVNode(_component_bk_popover, {
|
177
|
-
"is-show": isShow.value,
|
178
|
-
theme: "light",
|
179
|
-
trigger: "manual"
|
180
|
-
}, {
|
181
|
-
content: _withCtx(()=>_cache[1] || (_cache[1] = [
|
182
|
-
_createTextVNode(" 如需定义层级标签,以英文“/”分割层级,多个标签以“、”分隔 ")
|
183
|
-
])),
|
184
|
-
default: _withCtx(()=>[
|
185
|
-
_createVNode(_component_bk_input, {
|
186
|
-
modelValue: tempTagName.value,
|
187
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event)=>tempTagName.value = $event),
|
188
|
-
maxlength: 20,
|
189
|
-
ref_key: "tagRef",
|
190
|
-
ref: tagRef,
|
191
|
-
placeholder: "如需定义层级标签,以英文“/”分割层级,多个标签以“、”分隔",
|
192
|
-
onKeydown: handleTagKeyDown,
|
193
|
-
onFocus: handleFocus,
|
194
|
-
onBlur: handleBlur
|
195
|
-
}, null, 8 /* PROPS */ , [
|
196
|
-
"modelValue"
|
197
|
-
])
|
198
|
-
]),
|
199
|
-
_: 1 /* STABLE */
|
200
|
-
}, 8 /* PROPS */ , [
|
201
|
-
"is-show"
|
202
|
-
])
|
203
|
-
]),
|
204
|
-
_: 1 /* STABLE */
|
205
|
-
})
|
206
|
-
]),
|
207
|
-
_: 1 /* STABLE */
|
208
|
-
}, 8 /* PROPS */ , [
|
209
|
-
"model"
|
210
|
-
]),
|
211
|
-
_withDirectives(_createVNode(_unref(Done), {
|
212
|
-
class: "plus-tag-done",
|
213
|
-
onClick: handlePlusTag
|
214
|
-
}, null, 512 /* NEED_PATCH */ ), [
|
215
|
-
[
|
216
|
-
_directive_bkloading,
|
217
|
-
{
|
218
|
-
loading: isPulsingTag.value
|
219
|
-
}
|
220
|
-
]
|
221
|
-
]),
|
222
|
-
_createVNode(_unref(Error), {
|
223
|
-
class: "plus-tag-error",
|
224
|
-
onClick: handleHidePlusTag
|
225
|
-
})
|
226
|
-
])) : (_openBlock(), _createElementBlock("span", {
|
227
|
-
key: 1,
|
228
|
-
class: "plus-tag render-tag",
|
229
|
-
onClick: handleShowPlusTag
|
230
|
-
}, _cache[2] || (_cache[2] = [
|
231
|
-
_createElementVNode("i", {
|
232
|
-
class: "ai-ui-sdk-icon ai-ui-sdk-plus-circle g-text-14 g-mr-6"
|
233
|
-
}, null, -1 /* HOISTED */ ),
|
234
|
-
_createTextVNode(" 新建标签 ")
|
235
|
-
])))
|
236
|
-
]),
|
237
|
-
_: 1 /* STABLE */
|
238
|
-
}, 8 /* PROPS */ , [
|
45
|
+
}, null, 8 /* PROPS */ , [
|
239
46
|
"loading",
|
240
47
|
"list",
|
241
48
|
"model-value"
|
@@ -1,46 +1,39 @@
|
|
1
1
|
|
2
|
-
.plus-tag-input[data-v-
|
2
|
+
.plus-tag-input[data-v-b8si9wwk] {
|
3
3
|
padding: 7px 12px;
|
4
|
-
|
5
|
-
background: #FAFBFD;
|
6
|
-
border-top: 1px solid #DCDEE5;
|
4
|
+
width: 100%;
|
7
5
|
}
|
8
|
-
.plus-tag-input .plus-tag-done[data-v-
|
6
|
+
.plus-tag-input .plus-tag-done[data-v-b8si9wwk] {
|
9
7
|
cursor: pointer;
|
10
8
|
font-size: 22px;
|
11
9
|
color: #2DCB56;
|
12
10
|
margin: 0 5px 0 10px;
|
13
11
|
}
|
14
|
-
.plus-tag-input .plus-tag-error[data-v-
|
12
|
+
.plus-tag-input .plus-tag-error[data-v-b8si9wwk] {
|
15
13
|
cursor: pointer;
|
16
14
|
font-size: 16px;
|
17
15
|
color: #C4C6CC;
|
18
16
|
margin-right: 5px;
|
19
17
|
}
|
20
|
-
.plus-tag-input .plus-tag-form[data-v-
|
18
|
+
.plus-tag-input .plus-tag-form[data-v-b8si9wwk] {
|
21
19
|
flex: 1;
|
22
20
|
}
|
23
|
-
.plus-tag-input .plus-tag-form-item[data-v-
|
21
|
+
.plus-tag-input .plus-tag-form-item[data-v-b8si9wwk] {
|
24
22
|
margin-bottom: 0;
|
25
23
|
}
|
26
|
-
.plus-tag[data-v-
|
24
|
+
.plus-tag[data-v-b8si9wwk] {
|
27
25
|
cursor: pointer;
|
28
26
|
width: 100%;
|
29
|
-
height: 40px;
|
30
|
-
background: #FAFBFD;
|
31
|
-
border-top: 1px solid #DCDEE5;
|
32
|
-
border-radius: 0 0 2px 2px;
|
33
27
|
display: flex;
|
34
28
|
justify-content: center;
|
35
29
|
align-items: center;
|
36
30
|
font-size: 12px;
|
37
31
|
line-height: 20px;
|
38
32
|
}
|
39
|
-
.plus-tag[data-v-
|
40
|
-
|
33
|
+
.plus-tag .bkaidev-plus-circle[data-v-b8si9wwk] {
|
34
|
+
font-size: 14px;
|
35
|
+
margin-right: 6px;
|
41
36
|
}
|
42
|
-
|
43
|
-
|
44
|
-
.bk-cascader-popover:has(.render-tag) .bk-cascader-node {
|
45
|
-
width: 240px !important;
|
37
|
+
.plus-tag[data-v-b8si9wwk]:hover {
|
38
|
+
color: #3A84FF;
|
46
39
|
}
|
@@ -1,10 +1,10 @@
|
|
1
1
|
|
2
|
-
.collapse-title[data-v-
|
2
|
+
.collapse-title[data-v-otv3ucn2] {
|
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-otv3ucn2] {
|
9
9
|
transform: rotate(-90deg);
|
10
10
|
}
|
@@ -103,8 +103,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
103
103
|
index: {},
|
104
104
|
datasetId: {},
|
105
105
|
apiPrefix: {},
|
106
|
-
spaceId: {}
|
107
|
-
search: {}
|
106
|
+
spaceId: {}
|
108
107
|
},
|
109
108
|
emits: [
|
110
109
|
"success-edit",
|
@@ -122,7 +121,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
122
121
|
const handleGetDatasetDataList = (params)=>{
|
123
122
|
return getDatasetDataList(_object_spread({
|
124
123
|
datasetId: props.datasetId
|
125
|
-
},
|
124
|
+
}, params));
|
126
125
|
};
|
127
126
|
const { tableData, pagination, isLoading, handlePageChange, triggerApi } = useTable(handleGetDatasetDataList, 'results', {
|
128
127
|
current: 1,
|
@@ -1,15 +1,15 @@
|
|
1
1
|
|
2
|
-
.content[data-v-
|
2
|
+
.content[data-v-crvdz276] {
|
3
3
|
padding: 18px 24px 0;
|
4
4
|
height: 100%;
|
5
5
|
overflow: auto;
|
6
6
|
}
|
7
|
-
.data-set-edit-slider .value-content[data-v-
|
7
|
+
.data-set-edit-slider .value-content[data-v-crvdz276] {
|
8
8
|
padding: 16px;
|
9
9
|
border: 1px solid #DCDEE5;
|
10
10
|
line-height: 22px;
|
11
11
|
}
|
12
|
-
.data-set-edit-slider[data-v-
|
12
|
+
.data-set-edit-slider[data-v-crvdz276] .bk-sideslider-title {
|
13
13
|
justify-content: space-between;
|
14
14
|
width: 100%;
|
15
15
|
}
|
@@ -1,11 +1,9 @@
|
|
1
|
-
import type { IDatasetDataParam } from '@/types/dataset';
|
2
1
|
interface IProps {
|
3
2
|
modelValue: boolean;
|
4
3
|
index: number;
|
5
4
|
datasetId: number;
|
6
5
|
apiPrefix: string;
|
7
6
|
spaceId?: string;
|
8
|
-
search: IDatasetDataParam;
|
9
7
|
}
|
10
8
|
declare const _default: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
11
9
|
"update:modelValue": (modelValue: boolean) => any;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import script from './index.script.vue.js.js';
|
2
|
-
script.__scopeId = "data-v-
|
2
|
+
script.__scopeId = "data-v-crvdz276";
|
3
3
|
script.__file = "./src/components/render-dataset/components/edit-dataset-data/index.vue";
|
4
4
|
import './index.vue.css';
|
5
5
|
export default script;
|
@@ -1,18 +1,18 @@
|
|
1
1
|
|
2
|
-
.content[data-v-
|
2
|
+
.content[data-v-oorqaseo] {
|
3
3
|
padding: 0 24px 0px 32px;
|
4
4
|
height: 100%;
|
5
5
|
}
|
6
|
-
.content .toolbar[data-v-
|
6
|
+
.content .toolbar[data-v-oorqaseo] {
|
7
7
|
margin: 16px 0;
|
8
8
|
display: flex;
|
9
9
|
align-items: center;
|
10
10
|
justify-content: right;
|
11
11
|
gap: 8px;
|
12
12
|
}
|
13
|
-
.content .toolbar .record-search[data-v-
|
13
|
+
.content .toolbar .record-search[data-v-oorqaseo] {
|
14
14
|
width: 360px;
|
15
15
|
}
|
16
|
-
.content .toolbar .record-data-picker[data-v-
|
16
|
+
.content .toolbar .record-data-picker[data-v-oorqaseo] {
|
17
17
|
width: 260px;
|
18
18
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import script from './index.script.vue.js.js';
|
2
|
-
script.__scopeId = "data-v-
|
2
|
+
script.__scopeId = "data-v-oorqaseo";
|
3
3
|
script.__file = "./src/components/render-dataset/components/operation-record/index.vue";
|
4
4
|
import './index.vue.css';
|
5
5
|
export default script;
|