@blueking/ai-ui-sdk 0.1.12-beta.53 → 0.1.12-beta.54
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-auth/auth-dialog.script.vue.js.js +8 -2
- package/dist/components/render-auto-height-textarea/index.script.vue.js.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-auto-refresh/index.vue.css +8 -8
- package/dist/components/render-auto-refresh/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.vue.css +7 -7
- 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/batch-review-dataset-data/index.script.vue.js.js +24 -6
- package/dist/components/render-dataset/components/dataset-data-tool-icons/index.script.vue.js +1 -1
- package/dist/components/render-dataset/components/edit-dataset-data/index.script.vue.js.js +13 -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.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 +4 -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/dataset-footer.script.vue.js.js +8 -2
- package/dist/components/render-dataset/components/plus-dataset/dataset-form.script.vue.js +12 -23
- package/dist/components/render-dataset/components/plus-dataset/dataset-form.vue.d.ts +2 -0
- package/dist/components/render-dataset/components/plus-dataset/index.script.vue.js.js +7 -1
- package/dist/components/render-dataset/components/plus-dataset/index.vue.css +2 -2
- package/dist/components/render-dataset/components/plus-dataset/index.vue.d.ts +2 -0
- package/dist/components/render-dataset/components/plus-dataset/index.vue.js +1 -1
- 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/file.script.vue.js.js +12 -3
- package/dist/components/render-dataset/components/plus-dataset-data/form/footer.script.vue.js.js +8 -2
- 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/plus-dataset-data/index.script.vue.js.js +4 -1
- package/dist/components/render-dataset/components/review-dataset-data/index.script.vue.js.js +21 -5
- 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/index.vue.css +1 -1
- package/dist/components/render-dataset/index.vue.js +1 -1
- package/dist/components/render-dataset-detail/components/header.script.vue.js.js +5 -1
- package/dist/components/render-dataset-detail-origin-data/components/batch-operation/index.script.vue.js.js +4 -1
- package/dist/components/render-dataset-detail-origin-data/components/table/index.script.vue.js +25 -6
- package/dist/components/render-dataset-detail-origin-data/index.script.vue.js.js +8 -2
- 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.script.vue.js.js +12 -3
- package/dist/components/render-dataset-list/components/main.vue.css +3 -3
- package/dist/components/render-dataset-list/components/main.vue.d.ts +2 -0
- package/dist/components/render-dataset-list/components/main.vue.js +1 -1
- package/dist/components/render-dataset-list/components/table.script.vue.js.js +20 -6
- package/dist/components/render-dataset-list/index.script.vue.js.js +8 -2
- package/dist/components/render-dataset-list/index.vue.d.ts +2 -0
- 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/hooks/use-form-rule.d.ts +1 -1
- package/dist/hooks/use-form-rule.ts.js +101 -0
- package/dist/types/agent.d.ts +0 -2
- package/dist/types/common.d.ts +1 -1
- package/dist/types/enum.d.ts +6 -1
- package/dist/types/enum.ts.js +5 -0
- package/package.json +1 -1
|
@@ -9,7 +9,9 @@ const _hoisted_2 = {
|
|
|
9
9
|
import { onBeforeMount, ref, toRef } from 'vue';
|
|
10
10
|
import RenderAutoHeightTextarea from '../../../render-auto-height-textarea/index.vue.js';
|
|
11
11
|
import RenderChooseTag from '../../../render-choose-tag/index.vue.js';
|
|
12
|
+
import { Modules } from '../../../../enums.ts.js';
|
|
12
13
|
import { useDatasetHttp } from '../../../../hooks/use-dataset-http.ts.js';
|
|
14
|
+
import { useFormRule } from '../../../../hooks/use-form-rule.ts.js';
|
|
13
15
|
export default /*@__PURE__*/ _defineComponent({
|
|
14
16
|
props: {
|
|
15
17
|
id: {},
|
|
@@ -18,7 +20,9 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
18
20
|
spaceId: {},
|
|
19
21
|
isInternal: {
|
|
20
22
|
type: Boolean
|
|
21
|
-
}
|
|
23
|
+
},
|
|
24
|
+
namePlaceholder: {},
|
|
25
|
+
codePlaceholder: {}
|
|
22
26
|
},
|
|
23
27
|
emits: [
|
|
24
28
|
"update:formData"
|
|
@@ -27,30 +31,13 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
27
31
|
const props = __props;
|
|
28
32
|
const emits = __emit;
|
|
29
33
|
const { getComponentList, getSchemaList } = useDatasetHttp(props.apiPrefix, toRef(props, 'spaceId'));
|
|
34
|
+
const { getNameRule, getCodeRule } = useFormRule(props.apiPrefix, toRef(props, 'spaceId'));
|
|
30
35
|
const rules = {
|
|
31
36
|
datasetName: [
|
|
32
|
-
|
|
33
|
-
validator: (value)=>!/[\\/:*?"<>|]/.test(value),
|
|
34
|
-
message: '禁止包含下列字符 \\ /:*?"<>|',
|
|
35
|
-
trigger: 'change'
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
validator: (value)=>value.length <= 50,
|
|
39
|
-
message: '不能超过50个字符',
|
|
40
|
-
trigger: 'change'
|
|
41
|
-
}
|
|
37
|
+
getNameRule(Modules.Default)
|
|
42
38
|
],
|
|
43
39
|
datasetCode: [
|
|
44
|
-
|
|
45
|
-
validator: (value)=>/^[a-zA-Z0-9-]+$/.test(value),
|
|
46
|
-
message: '需要是英文字符、数字、中划线',
|
|
47
|
-
trigger: 'change'
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
validator: (value)=>value.length <= 50,
|
|
51
|
-
message: '不能超过50个字符',
|
|
52
|
-
trigger: 'change'
|
|
53
|
-
}
|
|
40
|
+
getCodeRule(Modules.Default)
|
|
54
41
|
]
|
|
55
42
|
};
|
|
56
43
|
const isLoadingComponentList = ref(false);
|
|
@@ -134,10 +121,11 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
134
121
|
default: _withCtx(()=>[
|
|
135
122
|
_createVNode(_component_bk_input, {
|
|
136
123
|
clearable: "",
|
|
137
|
-
placeholder:
|
|
124
|
+
placeholder: _ctx.namePlaceholder,
|
|
138
125
|
"model-value": _ctx.formData.datasetName,
|
|
139
126
|
onChange: _cache[0] || (_cache[0] = (value)=>handleChange('datasetName', value))
|
|
140
127
|
}, null, 8 /* PROPS */ , [
|
|
128
|
+
"placeholder",
|
|
141
129
|
"model-value"
|
|
142
130
|
])
|
|
143
131
|
]),
|
|
@@ -151,11 +139,12 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
151
139
|
default: _withCtx(()=>[
|
|
152
140
|
_createVNode(_component_bk_input, {
|
|
153
141
|
clearable: "",
|
|
154
|
-
placeholder:
|
|
142
|
+
placeholder: _ctx.codePlaceholder,
|
|
155
143
|
disabled: !!_ctx.id,
|
|
156
144
|
"model-value": _ctx.formData.datasetCode,
|
|
157
145
|
onChange: _cache[1] || (_cache[1] = (value)=>handleChange('datasetCode', value))
|
|
158
146
|
}, null, 8 /* PROPS */ , [
|
|
147
|
+
"placeholder",
|
|
159
148
|
"disabled",
|
|
160
149
|
"model-value"
|
|
161
150
|
])
|
|
@@ -50,7 +50,9 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
50
50
|
spaceId: {},
|
|
51
51
|
isInternal: {
|
|
52
52
|
type: Boolean
|
|
53
|
-
}
|
|
53
|
+
},
|
|
54
|
+
namePlaceholder: {},
|
|
55
|
+
codePlaceholder: {}
|
|
54
56
|
},
|
|
55
57
|
emits: [
|
|
56
58
|
"update:modelValue",
|
|
@@ -139,6 +141,8 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
139
141
|
"api-prefix": _ctx.apiPrefix,
|
|
140
142
|
"space-id": _ctx.spaceId,
|
|
141
143
|
"is-internal": _ctx.isInternal,
|
|
144
|
+
"name-placeholder": _ctx.namePlaceholder,
|
|
145
|
+
"code-placeholder": _ctx.codePlaceholder,
|
|
142
146
|
"form-data": formData.value,
|
|
143
147
|
"onUpdate:formData": _cache[0] || (_cache[0] = ($event)=>formData.value = $event)
|
|
144
148
|
}, null, 8 /* PROPS */ , [
|
|
@@ -146,6 +150,8 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
146
150
|
"api-prefix",
|
|
147
151
|
"space-id",
|
|
148
152
|
"is-internal",
|
|
153
|
+
"name-placeholder",
|
|
154
|
+
"code-placeholder",
|
|
149
155
|
"form-data"
|
|
150
156
|
])
|
|
151
157
|
])) : _createCommentVNode("v-if", true)
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
|
-
.dataset-data-content[data-v-
|
|
2
|
+
.dataset-data-content[data-v-9ccg0eim] {
|
|
3
3
|
padding: 20px 24px;
|
|
4
4
|
height: 100%;
|
|
5
5
|
}
|
|
6
|
-
.dataset-data-slider[data-v-
|
|
6
|
+
.dataset-data-slider[data-v-9ccg0eim] .bk-modal-content {
|
|
7
7
|
scrollbar-gutter: inherit !important;
|
|
8
8
|
}
|
|
@@ -5,6 +5,8 @@ interface IProps {
|
|
|
5
5
|
dataset?: IDataset;
|
|
6
6
|
spaceId?: string;
|
|
7
7
|
isInternal?: boolean;
|
|
8
|
+
namePlaceholder?: string;
|
|
9
|
+
codePlaceholder?: string;
|
|
8
10
|
}
|
|
9
11
|
declare const _default: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
10
12
|
"update:modelValue": (modelValue: boolean) => any;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
|
|
2
|
-
.dataset-data-api-endpoint[data-v-
|
|
2
|
+
.dataset-data-api-endpoint[data-v-szo9pcbg] {
|
|
3
3
|
line-height: 44px;
|
|
4
4
|
background: #F5F7FA;
|
|
5
5
|
border-radius: 2px;
|
|
6
6
|
padding: 0 12px;
|
|
7
7
|
}
|
|
8
|
-
[data-v-
|
|
8
|
+
[data-v-szo9pcbg] .dataset-data-api-demo .v-show-content {
|
|
9
9
|
padding: 0 !important;
|
|
10
10
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import script from './api.script.vue.js.js';
|
|
2
|
-
script.__scopeId = "data-v-
|
|
2
|
+
script.__scopeId = "data-v-szo9pcbg";
|
|
3
3
|
script.__file = "./src/components/render-dataset/components/plus-dataset-data/form/api.vue";
|
|
4
4
|
import './api.vue.css';
|
|
5
5
|
export default script;
|
package/dist/components/render-dataset/components/plus-dataset-data/form/file.script.vue.js.js
CHANGED
|
@@ -188,7 +188,10 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
188
188
|
}, null, -1 /* HOISTED */ ),
|
|
189
189
|
_createTextVNode(" 上传文件 ")
|
|
190
190
|
])),
|
|
191
|
-
_: 1 /* STABLE */
|
|
191
|
+
_: 1 /* STABLE */ ,
|
|
192
|
+
__: [
|
|
193
|
+
0
|
|
194
|
+
]
|
|
192
195
|
}, 8 /* PROPS */ , [
|
|
193
196
|
"loading"
|
|
194
197
|
]),
|
|
@@ -204,7 +207,10 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
204
207
|
}, null, -1 /* HOISTED */ ),
|
|
205
208
|
_createTextVNode(" 下载示例 ")
|
|
206
209
|
])),
|
|
207
|
-
_: 1 /* STABLE */
|
|
210
|
+
_: 1 /* STABLE */ ,
|
|
211
|
+
__: [
|
|
212
|
+
1
|
|
213
|
+
]
|
|
208
214
|
}, 8 /* PROPS */ , [
|
|
209
215
|
"loading",
|
|
210
216
|
"disabled"
|
|
@@ -230,7 +236,10 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
230
236
|
]);
|
|
231
237
|
}), 128 /* KEYED_FRAGMENT */ ))
|
|
232
238
|
]),
|
|
233
|
-
_: 1 /* STABLE */
|
|
239
|
+
_: 1 /* STABLE */ ,
|
|
240
|
+
__: [
|
|
241
|
+
2
|
|
242
|
+
]
|
|
234
243
|
})
|
|
235
244
|
]),
|
|
236
245
|
_: 1 /* STABLE */
|
package/dist/components/render-dataset/components/plus-dataset-data/form/footer.script.vue.js.js
CHANGED
|
@@ -111,7 +111,10 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
111
111
|
default: _withCtx(()=>_cache[0] || (_cache[0] = [
|
|
112
112
|
_createTextVNode(" 确定 ")
|
|
113
113
|
])),
|
|
114
|
-
_: 1 /* STABLE */
|
|
114
|
+
_: 1 /* STABLE */ ,
|
|
115
|
+
__: [
|
|
116
|
+
0
|
|
117
|
+
]
|
|
115
118
|
}, 8 /* PROPS */ , [
|
|
116
119
|
"loading"
|
|
117
120
|
])) : _createCommentVNode("v-if", true),
|
|
@@ -124,7 +127,10 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
124
127
|
default: _withCtx(()=>_cache[1] || (_cache[1] = [
|
|
125
128
|
_createTextVNode(" 取消 ")
|
|
126
129
|
])),
|
|
127
|
-
_: 1 /* STABLE */
|
|
130
|
+
_: 1 /* STABLE */ ,
|
|
131
|
+
__: [
|
|
132
|
+
1
|
|
133
|
+
]
|
|
128
134
|
}, 8 /* PROPS */ , [
|
|
129
135
|
"disabled"
|
|
130
136
|
])) : _createCommentVNode("v-if", true)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import script from './footer.script.vue.js.js';
|
|
2
|
-
script.__scopeId = "data-v-
|
|
2
|
+
script.__scopeId = "data-v-13f7pfki";
|
|
3
3
|
script.__file = "./src/components/render-dataset/components/plus-dataset-data/form/footer.vue";
|
|
4
4
|
import './footer.vue.css';
|
|
5
5
|
export default script;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
|
-
.plus-dataset-data[data-v-
|
|
2
|
+
.plus-dataset-data[data-v-d09bda5s] {
|
|
3
3
|
padding: 20px 24px;
|
|
4
4
|
}
|
|
5
|
-
.plus-dataset-sideslider[data-v-
|
|
5
|
+
.plus-dataset-sideslider[data-v-d09bda5s] .bk-modal-content {
|
|
6
6
|
scrollbar-gutter: inherit !important;
|
|
7
7
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import script from './index.script.vue.js.js';
|
|
2
|
-
script.__scopeId = "data-v-
|
|
2
|
+
script.__scopeId = "data-v-d09bda5s";
|
|
3
3
|
script.__file = "./src/components/render-dataset/components/plus-dataset-data/form/index.vue";
|
|
4
4
|
import './index.vue.css';
|
|
5
5
|
export default script;
|
package/dist/components/render-dataset/components/review-dataset-data/index.script.vue.js.js
CHANGED
|
@@ -205,7 +205,11 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
205
205
|
}, null, -1 /* HOISTED */ )),
|
|
206
206
|
_unref(tableData)[0] ? (_openBlock(), _createElementBlock("span", _hoisted_1, _toDisplayString(`#${_unref(tableData)[0].id}`), 1 /* TEXT */ )) : _createCommentVNode("v-if", true)
|
|
207
207
|
]),
|
|
208
|
-
_: 1 /* STABLE */
|
|
208
|
+
_: 1 /* STABLE */ ,
|
|
209
|
+
__: [
|
|
210
|
+
3,
|
|
211
|
+
4
|
|
212
|
+
]
|
|
209
213
|
}, 8 /* PROPS */ , [
|
|
210
214
|
"loading"
|
|
211
215
|
]),
|
|
@@ -237,7 +241,10 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
237
241
|
default: _withCtx(()=>_cache[10] || (_cache[10] = [
|
|
238
242
|
_createTextVNode(" 保存 ")
|
|
239
243
|
])),
|
|
240
|
-
_: 1 /* STABLE */
|
|
244
|
+
_: 1 /* STABLE */ ,
|
|
245
|
+
__: [
|
|
246
|
+
10
|
|
247
|
+
]
|
|
241
248
|
}, 8 /* PROPS */ , [
|
|
242
249
|
"loading"
|
|
243
250
|
]),
|
|
@@ -249,7 +256,10 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
249
256
|
default: _withCtx(()=>_cache[11] || (_cache[11] = [
|
|
250
257
|
_createTextVNode(" 取消 ")
|
|
251
258
|
])),
|
|
252
|
-
_: 1 /* STABLE */
|
|
259
|
+
_: 1 /* STABLE */ ,
|
|
260
|
+
__: [
|
|
261
|
+
11
|
|
262
|
+
]
|
|
253
263
|
}, 8 /* PROPS */ , [
|
|
254
264
|
"disabled"
|
|
255
265
|
])
|
|
@@ -380,7 +390,10 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
380
390
|
default: _withCtx(()=>_cache[7] || (_cache[7] = [
|
|
381
391
|
_createTextVNode(" 采纳 ")
|
|
382
392
|
])),
|
|
383
|
-
_: 1 /* STABLE */
|
|
393
|
+
_: 1 /* STABLE */ ,
|
|
394
|
+
__: [
|
|
395
|
+
7
|
|
396
|
+
]
|
|
384
397
|
}),
|
|
385
398
|
_createVNode(_component_bk_radio_button, {
|
|
386
399
|
label: false
|
|
@@ -388,7 +401,10 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
388
401
|
default: _withCtx(()=>_cache[8] || (_cache[8] = [
|
|
389
402
|
_createTextVNode(" 拒绝 ")
|
|
390
403
|
])),
|
|
391
|
-
_: 1 /* STABLE */
|
|
404
|
+
_: 1 /* STABLE */ ,
|
|
405
|
+
__: [
|
|
406
|
+
8
|
|
407
|
+
]
|
|
392
408
|
})
|
|
393
409
|
]),
|
|
394
410
|
_: 1 /* STABLE */
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
|
|
2
|
-
.content[data-v-
|
|
2
|
+
.content[data-v-bwhg1ayz] {
|
|
3
3
|
padding: 18px 24px 0;
|
|
4
4
|
height: 100%;
|
|
5
5
|
overflow: auto;
|
|
6
6
|
}
|
|
7
|
-
.data-set-review-slider .value-content[data-v-
|
|
7
|
+
.data-set-review-slider .value-content[data-v-bwhg1ayz] {
|
|
8
8
|
padding: 16px;
|
|
9
9
|
border: 1px solid #DCDEE5;
|
|
10
10
|
line-height: 22px;
|
|
11
11
|
}
|
|
12
|
-
.data-set-review-slider .review-data[data-v-
|
|
12
|
+
.data-set-review-slider .review-data[data-v-bwhg1ayz] {
|
|
13
13
|
height: calc(100% - 337px);
|
|
14
14
|
padding: 18px 24px;
|
|
15
15
|
}
|
|
16
|
-
.data-set-review-slider .review-level[data-v-
|
|
16
|
+
.data-set-review-slider .review-level[data-v-bwhg1ayz] {
|
|
17
17
|
box-shadow: 0 -2px 4px 0 #1919291f;
|
|
18
18
|
height: 337px;
|
|
19
19
|
padding: 16px 24px 24px;
|
|
20
20
|
}
|
|
21
|
-
.data-set-review-slider .review-level .level-score[data-v-
|
|
21
|
+
.data-set-review-slider .review-level .level-score[data-v-bwhg1ayz] {
|
|
22
22
|
gap: 50px;
|
|
23
23
|
}
|
|
24
|
-
.data-set-review-slider .review-level .level-score .bk-form-item[data-v-
|
|
24
|
+
.data-set-review-slider .review-level .level-score .bk-form-item[data-v-bwhg1ayz] {
|
|
25
25
|
flex: 1;
|
|
26
26
|
}
|
|
27
|
-
.data-set-review-slider .bold-title[data-v-
|
|
27
|
+
.data-set-review-slider .bold-title[data-v-bwhg1ayz] .bk-form-label {
|
|
28
28
|
font-weight: bold;
|
|
29
29
|
font-size: 14px;
|
|
30
30
|
}
|
|
31
|
-
.data-set-review-slider[data-v-
|
|
31
|
+
.data-set-review-slider[data-v-bwhg1ayz] .bk-sideslider-title {
|
|
32
32
|
justify-content: space-between;
|
|
33
33
|
width: 100%;
|
|
34
34
|
}
|
|
35
|
-
.data-set-review-slider[data-v-
|
|
35
|
+
.data-set-review-slider[data-v-bwhg1ayz] .bk-modal-content {
|
|
36
36
|
height: calc(100% - 100px) !important;
|
|
37
37
|
scrollbar-gutter: inherit !important;
|
|
38
38
|
}
|
|
39
|
-
.data-set-review-slider[data-v-
|
|
39
|
+
.data-set-review-slider[data-v-bwhg1ayz] .bk-modal-content >div, .data-set-review-slider[data-v-bwhg1ayz] .bk-modal-content .bk-sideslider-content {
|
|
40
40
|
height: 100%;
|
|
41
41
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import script from './index.script.vue.js.js';
|
|
2
|
-
script.__scopeId = "data-v-
|
|
2
|
+
script.__scopeId = "data-v-bwhg1ayz";
|
|
3
3
|
script.__file = "./src/components/render-dataset/components/review-dataset-data/index.vue";
|
|
4
4
|
import './index.vue.css';
|
|
5
5
|
export default script;
|
|
@@ -100,7 +100,11 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
100
100
|
}), 128 /* KEYED_FRAGMENT */ )),
|
|
101
101
|
_cache[1] || (_cache[1] = _createTextVNode(") "))
|
|
102
102
|
]),
|
|
103
|
-
_: 1 /* STABLE */
|
|
103
|
+
_: 1 /* STABLE */ ,
|
|
104
|
+
__: [
|
|
105
|
+
0,
|
|
106
|
+
1
|
|
107
|
+
]
|
|
104
108
|
}, 8 /* PROPS */ , [
|
|
105
109
|
"loading"
|
|
106
110
|
])
|
package/dist/components/render-dataset-detail-origin-data/components/table/index.script.vue.js
CHANGED
|
@@ -472,7 +472,10 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
472
472
|
default: _withCtx(()=>_cache[10] || (_cache[10] = [
|
|
473
473
|
_createTextVNode(" 编辑 ")
|
|
474
474
|
])),
|
|
475
|
-
_: 2 /* DYNAMIC */
|
|
475
|
+
_: 2 /* DYNAMIC */ ,
|
|
476
|
+
__: [
|
|
477
|
+
10
|
|
478
|
+
]
|
|
476
479
|
}, 1032 /* PROPS, DYNAMIC_SLOTS */ , [
|
|
477
480
|
"class",
|
|
478
481
|
"onMouseleave",
|
|
@@ -488,7 +491,10 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
488
491
|
default: _withCtx(()=>_cache[11] || (_cache[11] = [
|
|
489
492
|
_createTextVNode(" 人工审核 ")
|
|
490
493
|
])),
|
|
491
|
-
_: 2 /* DYNAMIC */
|
|
494
|
+
_: 2 /* DYNAMIC */ ,
|
|
495
|
+
__: [
|
|
496
|
+
11
|
|
497
|
+
]
|
|
492
498
|
}, 1032 /* PROPS, DYNAMIC_SLOTS */ , [
|
|
493
499
|
"onClick"
|
|
494
500
|
])) : _createCommentVNode("v-if", true),
|
|
@@ -502,7 +508,10 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
502
508
|
default: _withCtx(()=>_cache[12] || (_cache[12] = [
|
|
503
509
|
_createTextVNode(" 重试 ")
|
|
504
510
|
])),
|
|
505
|
-
_: 2 /* DYNAMIC */
|
|
511
|
+
_: 2 /* DYNAMIC */ ,
|
|
512
|
+
__: [
|
|
513
|
+
12
|
|
514
|
+
]
|
|
506
515
|
}, 1032 /* PROPS, DYNAMIC_SLOTS */ , [
|
|
507
516
|
"onClick"
|
|
508
517
|
])) : _createCommentVNode("v-if", true),
|
|
@@ -537,7 +546,10 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
537
546
|
default: _withCtx(()=>_cache[13] || (_cache[13] = [
|
|
538
547
|
_createTextVNode(" 操作记录 ")
|
|
539
548
|
])),
|
|
540
|
-
_: 2 /* DYNAMIC */
|
|
549
|
+
_: 2 /* DYNAMIC */ ,
|
|
550
|
+
__: [
|
|
551
|
+
13
|
|
552
|
+
]
|
|
541
553
|
}, 1032 /* PROPS, DYNAMIC_SLOTS */ , [
|
|
542
554
|
"class",
|
|
543
555
|
"onMouseleave",
|
|
@@ -576,10 +588,17 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
576
588
|
]),
|
|
577
589
|
default: _withCtx(()=>[
|
|
578
590
|
_cache[14] || (_cache[14] = _createElementVNode("i", {
|
|
579
|
-
class:
|
|
591
|
+
class: _normalizeClass([
|
|
592
|
+
'ai-ui-sdk-icon ai-ui-sdk-gengduo-2',
|
|
593
|
+
'g-text-16 g-p-2 g-ml-12 g-text-blue g-cursor-pointer',
|
|
594
|
+
'g-hover-bg-light-gray g-hover-round'
|
|
595
|
+
])
|
|
580
596
|
}, null, -1 /* HOISTED */ ))
|
|
581
597
|
]),
|
|
582
|
-
_: 2 /* DYNAMIC */
|
|
598
|
+
_: 2 /* DYNAMIC */ ,
|
|
599
|
+
__: [
|
|
600
|
+
14
|
|
601
|
+
]
|
|
583
602
|
}, 1536 /* NEED_PATCH, DYNAMIC_SLOTS */ )
|
|
584
603
|
]),
|
|
585
604
|
_: 1 /* STABLE */
|
|
@@ -138,7 +138,10 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
138
138
|
default: _withCtx(()=>_cache[4] || (_cache[4] = [
|
|
139
139
|
_createTextVNode(" 一键失败重试 ")
|
|
140
140
|
])),
|
|
141
|
-
_: 1 /* STABLE */
|
|
141
|
+
_: 1 /* STABLE */ ,
|
|
142
|
+
__: [
|
|
143
|
+
4
|
|
144
|
+
]
|
|
142
145
|
}, 8 /* PROPS */ , [
|
|
143
146
|
"loading"
|
|
144
147
|
])), [
|
|
@@ -156,7 +159,10 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
156
159
|
default: _withCtx(()=>_cache[5] || (_cache[5] = [
|
|
157
160
|
_createTextVNode(" 导出 ")
|
|
158
161
|
])),
|
|
159
|
-
_: 1 /* STABLE */
|
|
162
|
+
_: 1 /* STABLE */ ,
|
|
163
|
+
__: [
|
|
164
|
+
5
|
|
165
|
+
]
|
|
160
166
|
})
|
|
161
167
|
]),
|
|
162
168
|
_createElementVNode("section", _hoisted_4, [
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
|
|
2
|
-
.origin-data-content[data-v-
|
|
2
|
+
.origin-data-content[data-v-pcyp8llw] {
|
|
3
3
|
padding: 24px;
|
|
4
4
|
height: calc(100% - 52px - 44px);
|
|
5
5
|
}
|
|
6
|
-
.origin-data-panel[data-v-
|
|
6
|
+
.origin-data-panel[data-v-pcyp8llw] {
|
|
7
7
|
height: 100%;
|
|
8
8
|
padding: 20px;
|
|
9
9
|
background: #ffffff;
|
|
10
10
|
box-shadow: 0 2px 4px 0 #1919290d;
|
|
11
11
|
border-radius: 2px;
|
|
12
12
|
}
|
|
13
|
-
.origin-data-panel .toolbar-search[data-v-
|
|
13
|
+
.origin-data-panel .toolbar-search[data-v-pcyp8llw] {
|
|
14
14
|
width: 6.17rem;
|
|
15
15
|
}
|
|
@@ -27,7 +27,9 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
27
27
|
type: Boolean
|
|
28
28
|
},
|
|
29
29
|
spaceId: {},
|
|
30
|
-
tabId: {}
|
|
30
|
+
tabId: {},
|
|
31
|
+
namePlaceholder: {},
|
|
32
|
+
codePlaceholder: {}
|
|
31
33
|
},
|
|
32
34
|
emits: [
|
|
33
35
|
"success-plus-dataset"
|
|
@@ -65,7 +67,10 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
65
67
|
default: _withCtx(()=>_cache[2] || (_cache[2] = [
|
|
66
68
|
_createTextVNode(" 创建数据集 ")
|
|
67
69
|
])),
|
|
68
|
-
_: 1 /* STABLE */
|
|
70
|
+
_: 1 /* STABLE */ ,
|
|
71
|
+
__: [
|
|
72
|
+
2
|
|
73
|
+
]
|
|
69
74
|
})
|
|
70
75
|
]),
|
|
71
76
|
_createVNode(RenderSearchDataset, {
|
|
@@ -104,12 +109,16 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
104
109
|
"api-prefix": _ctx.apiPrefix,
|
|
105
110
|
"space-id": _ctx.spaceId,
|
|
106
111
|
"is-internal": _ctx.isInternal,
|
|
112
|
+
"name-placeholder": _ctx.namePlaceholder,
|
|
113
|
+
"code-placeholder": _ctx.codePlaceholder,
|
|
107
114
|
onSuccessPlus: handleSuccessPlusDataset
|
|
108
115
|
}, null, 8 /* PROPS */ , [
|
|
109
116
|
"modelValue",
|
|
110
117
|
"api-prefix",
|
|
111
118
|
"space-id",
|
|
112
|
-
"is-internal"
|
|
119
|
+
"is-internal",
|
|
120
|
+
"name-placeholder",
|
|
121
|
+
"code-placeholder"
|
|
113
122
|
])
|
|
114
123
|
]);
|
|
115
124
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
|
|
2
|
-
.main-content[data-v-
|
|
2
|
+
.main-content[data-v-2j226xzi] {
|
|
3
3
|
padding: 20px 24px;
|
|
4
4
|
height: calc(100% - 52px);
|
|
5
5
|
}
|
|
6
|
-
.main-panel[data-v-
|
|
6
|
+
.main-panel[data-v-2j226xzi] {
|
|
7
7
|
height: 100%;
|
|
8
8
|
padding: 20px 24px 0;
|
|
9
9
|
background: #ffffff;
|
|
10
10
|
box-shadow: 0 2px 4px 0 #1919290d;
|
|
11
11
|
border-radius: 2px;
|
|
12
12
|
}
|
|
13
|
-
.main-search[data-v-
|
|
13
|
+
.main-search[data-v-2j226xzi] {
|
|
14
14
|
width: 6.17rem;
|
|
15
15
|
}
|
|
@@ -6,6 +6,8 @@ interface IProps {
|
|
|
6
6
|
reviewDataset?: boolean;
|
|
7
7
|
spaceId?: string;
|
|
8
8
|
tabId: EnumCharacter;
|
|
9
|
+
namePlaceholder?: string;
|
|
10
|
+
codePlaceholder?: string;
|
|
9
11
|
}
|
|
10
12
|
declare const _default: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
11
13
|
"success-plus-dataset": (data: IDataset) => any;
|