@blueking/ai-ui-sdk 0.1.10-beta.5 → 0.1.10-beta.7
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 +196 -3
- package/dist/components/render-choose-tag/index.vue.css +19 -12
- 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 +3 -2
- 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 +2 -0
- 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.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.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/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 +3 -2
- 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 +2 -0
- 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/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 +4 -5
- 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.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/css/fonts/iconcool.eot +0 -0
- package/dist/css/fonts/iconcool.svg +3 -0
- package/dist/css/fonts/iconcool.ttf +0 -0
- package/dist/css/fonts/iconcool.woff +0 -0
- package/dist/css/iconcool.js +1 -1
- package/dist/css/style.css +3 -0
- package/dist/hooks/use-form-rule.ts.js +101 -0
- package/dist/hooks/use-meta-http.ts.js +1 -1
- package/dist/http/helper/dataset.ts.js +9 -9
- package/dist/types/dataset.d.ts +8 -10
- package/package.json +1 -1
@@ -1,12 +1,12 @@
|
|
1
1
|
|
2
|
-
.aside-home[data-v-
|
2
|
+
.aside-home[data-v-iq8ab5fq] {
|
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-iq8ab5fq] .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-iq8ab5fq] .aside-item.is-tab {
|
20
20
|
background: #F5F7FA;
|
21
21
|
cursor: pointer;
|
22
22
|
color: #4D4F56;
|
23
23
|
}
|
24
|
-
[data-v-
|
24
|
+
[data-v-iq8ab5fq] .aside-item.is-tab:hover {
|
25
25
|
background: #F0F5FF;
|
26
26
|
}
|
27
|
-
[data-v-
|
27
|
+
[data-v-iq8ab5fq] .aside-item.active {
|
28
28
|
background: #F0F5FF;
|
29
29
|
color: #3A84FF;
|
30
30
|
font-weight: 700;
|
31
31
|
}
|
32
|
-
[data-v-
|
32
|
+
[data-v-iq8ab5fq] .aside-item.active .tab-num {
|
33
33
|
background: #3A84FF;
|
34
34
|
color: #fff;
|
35
35
|
}
|
36
|
-
[data-v-
|
36
|
+
[data-v-iq8ab5fq] .aside-item.active .active-text {
|
37
37
|
color: #3A84FF;
|
38
38
|
}
|
39
|
-
[data-v-
|
39
|
+
[data-v-iq8ab5fq] .aside-item .tab-name {
|
40
40
|
flex: 1;
|
41
41
|
}
|
42
|
-
[data-v-
|
42
|
+
[data-v-iq8ab5fq] .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-c4ymeq8j] {
|
3
3
|
position: relative;
|
4
4
|
}
|
5
|
-
.send-container[data-v-
|
5
|
+
.send-container[data-v-c4ymeq8j]: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-c4ymeq8j] {
|
9
9
|
display: inline-flex !important;
|
10
10
|
}
|
11
|
-
.send-input[data-v-
|
11
|
+
.send-input[data-v-c4ymeq8j] {
|
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-c4ymeq8j]:has(textarea:focus) {
|
17
17
|
height: var(--text-height);
|
18
18
|
}
|
19
|
-
.send-input[data-v-
|
19
|
+
.send-input[data-v-c4ymeq8j] 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-c4ymeq8j] textarea::-webkit-scrollbar {
|
26
26
|
width: 4px;
|
27
27
|
height: 4px;
|
28
28
|
}
|
29
|
-
.send-input[data-v-
|
29
|
+
.send-input[data-v-c4ymeq8j] 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-c4ymeq8j] textarea::placeholder {
|
35
35
|
line-height: 16px;
|
36
36
|
}
|
37
|
-
.send-clear[data-v-
|
37
|
+
.send-clear[data-v-c4ymeq8j] {
|
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-c4ymeq8j]:hover {
|
47
47
|
color: #313238;
|
48
48
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
|
2
|
-
.checkbox[data-v-
|
2
|
+
.checkbox[data-v-qaxbl1l3] {
|
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-qaxbl1l3] {
|
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-qaxbl1l3] {
|
17
17
|
background-color: #a3c5fd;
|
18
18
|
border-color: #a3c5fd;
|
19
19
|
}
|
20
|
-
.checkbox.disabled.indeterminate[data-v-
|
20
|
+
.checkbox.disabled.indeterminate[data-v-qaxbl1l3] {
|
21
21
|
background-color: #fafbfd;
|
22
22
|
border-color: #dcdee5;
|
23
23
|
}
|
24
|
-
.checkbox.disabled.indeterminate[data-v-
|
24
|
+
.checkbox.disabled.indeterminate[data-v-qaxbl1l3]:after {
|
25
25
|
background: #dcdee5;
|
26
26
|
}
|
27
|
-
.checkbox.checked[data-v-
|
27
|
+
.checkbox.checked[data-v-qaxbl1l3] {
|
28
28
|
background-color: #3a84ff;
|
29
29
|
border: 1px solid #3a84ff;
|
30
30
|
}
|
31
|
-
.checkbox.checked[data-v-
|
31
|
+
.checkbox.checked[data-v-qaxbl1l3]: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-qaxbl1l3] {
|
45
45
|
background-color: #3a84ff;
|
46
46
|
border: 1px solid #3a84ff;
|
47
47
|
}
|
48
|
-
.checkbox.indeterminate[data-v-
|
48
|
+
.checkbox.indeterminate[data-v-qaxbl1l3]:after {
|
49
49
|
position: absolute;
|
50
50
|
top: 50%;
|
51
51
|
left: 50%;
|
@@ -1,6 +1,41 @@
|
|
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
|
+
}
|
1
30
|
import { defineComponent as _defineComponent } from 'vue';
|
2
|
-
import { resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock } from "vue";
|
31
|
+
import { resolveComponent as _resolveComponent, createVNode as _createVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, unref as _unref, resolveDirective as _resolveDirective, withDirectives as _withDirectives, openBlock as _openBlock, createElementBlock as _createElementBlock, createElementVNode as _createElementVNode, createBlock as _createBlock } from "vue";
|
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';
|
3
37
|
import { onBeforeMount, ref, toRef, watch } from 'vue';
|
38
|
+
import { useFormRule } from '../../hooks/use-form-rule.ts.js';
|
4
39
|
import { useMetaHttp } from '../../hooks/use-meta-http.ts.js';
|
5
40
|
export default /*@__PURE__*/ _defineComponent({
|
6
41
|
props: {
|
@@ -15,12 +50,81 @@ export default /*@__PURE__*/ _defineComponent({
|
|
15
50
|
setup (__props, { emit: __emit }) {
|
16
51
|
const props = __props;
|
17
52
|
const emits = __emit;
|
18
|
-
const {
|
53
|
+
const { getLengthRule } = useFormRule(props.apiPrefix, toRef(props, 'spaceId'));
|
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();
|
19
60
|
const isLoadingTag = ref(false);
|
61
|
+
const isShow = ref(false);
|
20
62
|
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
|
+
};
|
21
80
|
const handleChange = (val)=>{
|
22
81
|
emits('update:modelValue', val);
|
23
82
|
};
|
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
|
+
};
|
24
128
|
const handleGetTags = ()=>{
|
25
129
|
isLoadingTag.value = true;
|
26
130
|
getTags().then((result)=>{
|
@@ -32,17 +136,106 @@ export default /*@__PURE__*/ _defineComponent({
|
|
32
136
|
watch(()=>props.spaceId, handleGetTags);
|
33
137
|
onBeforeMount(handleGetTags);
|
34
138
|
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");
|
35
143
|
const _component_bk_cascader = _resolveComponent("bk-cascader");
|
144
|
+
const _directive_bkloading = _resolveDirective("bkloading");
|
36
145
|
return _openBlock(), _createBlock(_component_bk_cascader, {
|
37
146
|
filterable: "",
|
38
147
|
"id-key": "tagName",
|
39
148
|
"name-key": "tagName",
|
149
|
+
"ext-cls": "tag-cascader",
|
40
150
|
multiple: true,
|
41
151
|
loading: isLoadingTag.value,
|
42
152
|
list: tags.value,
|
43
153
|
"model-value": _ctx.modelValue,
|
44
154
|
"onUpdate:modelValue": handleChange
|
45
|
-
},
|
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 */ , [
|
46
239
|
"loading",
|
47
240
|
"list",
|
48
241
|
"model-value"
|
@@ -1,39 +1,46 @@
|
|
1
1
|
|
2
|
-
.plus-tag-input[data-v-
|
2
|
+
.plus-tag-input[data-v-xmylyztg] {
|
3
3
|
padding: 7px 12px;
|
4
|
-
|
4
|
+
height: 40px;
|
5
|
+
background: #FAFBFD;
|
6
|
+
border-top: 1px solid #DCDEE5;
|
5
7
|
}
|
6
|
-
.plus-tag-input .plus-tag-done[data-v-
|
8
|
+
.plus-tag-input .plus-tag-done[data-v-xmylyztg] {
|
7
9
|
cursor: pointer;
|
8
10
|
font-size: 22px;
|
9
11
|
color: #2DCB56;
|
10
12
|
margin: 0 5px 0 10px;
|
11
13
|
}
|
12
|
-
.plus-tag-input .plus-tag-error[data-v-
|
14
|
+
.plus-tag-input .plus-tag-error[data-v-xmylyztg] {
|
13
15
|
cursor: pointer;
|
14
16
|
font-size: 16px;
|
15
17
|
color: #C4C6CC;
|
16
18
|
margin-right: 5px;
|
17
19
|
}
|
18
|
-
.plus-tag-input .plus-tag-form[data-v-
|
20
|
+
.plus-tag-input .plus-tag-form[data-v-xmylyztg] {
|
19
21
|
flex: 1;
|
20
22
|
}
|
21
|
-
.plus-tag-input .plus-tag-form-item[data-v-
|
23
|
+
.plus-tag-input .plus-tag-form-item[data-v-xmylyztg] {
|
22
24
|
margin-bottom: 0;
|
23
25
|
}
|
24
|
-
.plus-tag[data-v-
|
26
|
+
.plus-tag[data-v-xmylyztg] {
|
25
27
|
cursor: pointer;
|
26
28
|
width: 100%;
|
29
|
+
height: 40px;
|
30
|
+
background: #FAFBFD;
|
31
|
+
border-top: 1px solid #DCDEE5;
|
32
|
+
border-radius: 0 0 2px 2px;
|
27
33
|
display: flex;
|
28
34
|
justify-content: center;
|
29
35
|
align-items: center;
|
30
36
|
font-size: 12px;
|
31
37
|
line-height: 20px;
|
32
38
|
}
|
33
|
-
.plus-tag
|
34
|
-
font-size: 14px;
|
35
|
-
margin-right: 6px;
|
36
|
-
}
|
37
|
-
.plus-tag[data-v-81q9ifvj]:hover {
|
39
|
+
.plus-tag[data-v-xmylyztg]:hover {
|
38
40
|
color: #3A84FF;
|
39
41
|
}
|
42
|
+
|
43
|
+
|
44
|
+
.bk-cascader-popover:has(.render-tag) .bk-cascader-node {
|
45
|
+
width: 240px !important;
|
46
|
+
}
|
@@ -1,10 +1,10 @@
|
|
1
1
|
|
2
|
-
.collapse-title[data-v-
|
2
|
+
.collapse-title[data-v-yxy9vql5] {
|
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-yxy9vql5] {
|
9
9
|
transform: rotate(-90deg);
|
10
10
|
}
|
@@ -103,7 +103,8 @@ export default /*@__PURE__*/ _defineComponent({
|
|
103
103
|
index: {},
|
104
104
|
datasetId: {},
|
105
105
|
apiPrefix: {},
|
106
|
-
spaceId: {}
|
106
|
+
spaceId: {},
|
107
|
+
search: {}
|
107
108
|
},
|
108
109
|
emits: [
|
109
110
|
"success-edit",
|
@@ -121,7 +122,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
121
122
|
const handleGetDatasetDataList = (params)=>{
|
122
123
|
return getDatasetDataList(_object_spread({
|
123
124
|
datasetId: props.datasetId
|
124
|
-
}, params));
|
125
|
+
}, props.search, params));
|
125
126
|
};
|
126
127
|
const { tableData, pagination, isLoading, handlePageChange, triggerApi } = useTable(handleGetDatasetDataList, 'results', {
|
127
128
|
current: 1,
|
@@ -1,15 +1,15 @@
|
|
1
1
|
|
2
|
-
.content[data-v-
|
2
|
+
.content[data-v-knoa5ph2] {
|
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-knoa5ph2] {
|
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-knoa5ph2] .bk-sideslider-title {
|
13
13
|
justify-content: space-between;
|
14
14
|
width: 100%;
|
15
15
|
}
|
@@ -1,9 +1,11 @@
|
|
1
|
+
import type { IDatasetDataParam } from '@/types/dataset';
|
1
2
|
interface IProps {
|
2
3
|
modelValue: boolean;
|
3
4
|
index: number;
|
4
5
|
datasetId: number;
|
5
6
|
apiPrefix: string;
|
6
7
|
spaceId?: string;
|
8
|
+
search: IDatasetDataParam;
|
7
9
|
}
|
8
10
|
declare const _default: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
9
11
|
"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-knoa5ph2";
|
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-8ha47pxz] {
|
3
3
|
padding: 0 24px 0px 32px;
|
4
4
|
height: 100%;
|
5
5
|
}
|
6
|
-
.content .toolbar[data-v-
|
6
|
+
.content .toolbar[data-v-8ha47pxz] {
|
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-8ha47pxz] {
|
14
14
|
width: 360px;
|
15
15
|
}
|
16
|
-
.content .toolbar .record-data-picker[data-v-
|
16
|
+
.content .toolbar .record-data-picker[data-v-8ha47pxz] {
|
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-8ha47pxz";
|
3
3
|
script.__file = "./src/components/render-dataset/components/operation-record/index.vue";
|
4
4
|
import './index.vue.css';
|
5
5
|
export default script;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import script from './index.script.vue.js.js';
|
2
|
-
script.__scopeId = "data-v-
|
2
|
+
script.__scopeId = "data-v-nb1xsulc";
|
3
3
|
script.__file = "./src/components/render-dataset/components/operation-record/table/index.vue";
|
4
4
|
import './index.vue.css';
|
5
5
|
export default script;
|
package/dist/components/render-dataset/components/operation-record/view-op-result/index.vue.css
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
|
2
|
-
.content[data-v-
|
2
|
+
.content[data-v-lc5pliis] {
|
3
3
|
padding: 18px 24px 0;
|
4
4
|
height: 100%;
|
5
5
|
overflow: auto;
|
6
6
|
}
|
7
|
-
.content .value-content[data-v-
|
7
|
+
.content .value-content[data-v-lc5pliis] {
|
8
8
|
margin-top: 8px;
|
9
9
|
padding: 16px;
|
10
10
|
border: 1px solid #DCDEE5;
|
package/dist/components/render-dataset/components/operation-record/view-op-result/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-lc5pliis";
|
3
3
|
script.__file = "./src/components/render-dataset/components/operation-record/view-op-result/index.vue";
|
4
4
|
import './index.vue.css';
|
5
5
|
export default script;
|
@@ -1,8 +1,8 @@
|
|
1
1
|
|
2
|
-
.dataset-data-content[data-v-
|
2
|
+
.dataset-data-content[data-v-xtfmvnf2] {
|
3
3
|
padding: 20px 24px;
|
4
4
|
height: 100%;
|
5
5
|
}
|
6
|
-
.dataset-data-slider[data-v-
|
6
|
+
.dataset-data-slider[data-v-xtfmvnf2] .bk-modal-content {
|
7
7
|
scrollbar-gutter: inherit !important;
|
8
8
|
}
|