@blueking/ai-ui-sdk 0.1.16-beta.1 → 0.1.16-beta.2
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.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/dataset-data-level/{index.script.vue.js.js → index.script.vue.js} +12 -2
- package/dist/components/render-dataset/components/dataset-data-level/index.vue.js +1 -1
- 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.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.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-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 +8 -2
- 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/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.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-origin-data/components/table/index.script.vue.js +5 -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.script.vue.js.js +8 -2
- 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 +8 -3
- 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-chat.d.ts +1 -0
- package/dist/hooks/use-chat.ts.js +1 -0
- package/dist/hooks/use-form-rule.d.ts +1 -1
- package/dist/hooks/use-form-rule.ts.js +101 -0
- package/dist/hooks/use-session-http.d.ts +2 -1
- package/dist/hooks/use-session-http.ts.js +8 -1
- package/dist/http/helper/agent.ts.js +5 -1
- package/dist/types/agent.d.ts +8 -0
- 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/dist/types/session.d.ts +14 -0
- package/package.json +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
.aside-home[data-v-
|
|
2
|
+
.aside-home[data-v-yxu7dkt1] {
|
|
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-yxu7dkt1] .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-yxu7dkt1] .aside-item.is-tab {
|
|
20
20
|
background: #F5F7FA;
|
|
21
21
|
cursor: pointer;
|
|
22
22
|
color: #4D4F56;
|
|
23
23
|
}
|
|
24
|
-
[data-v-
|
|
24
|
+
[data-v-yxu7dkt1] .aside-item.is-tab:hover {
|
|
25
25
|
background: #F0F5FF;
|
|
26
26
|
}
|
|
27
|
-
[data-v-
|
|
27
|
+
[data-v-yxu7dkt1] .aside-item.active {
|
|
28
28
|
background: #F0F5FF;
|
|
29
29
|
color: #3A84FF;
|
|
30
30
|
font-weight: 700;
|
|
31
31
|
}
|
|
32
|
-
[data-v-
|
|
32
|
+
[data-v-yxu7dkt1] .aside-item.active .tab-num {
|
|
33
33
|
background: #3A84FF;
|
|
34
34
|
color: #fff;
|
|
35
35
|
}
|
|
36
|
-
[data-v-
|
|
36
|
+
[data-v-yxu7dkt1] .aside-item.active .active-text {
|
|
37
37
|
color: #3A84FF;
|
|
38
38
|
}
|
|
39
|
-
[data-v-
|
|
39
|
+
[data-v-yxu7dkt1] .aside-item .tab-name {
|
|
40
40
|
flex: 1;
|
|
41
41
|
}
|
|
42
|
-
[data-v-
|
|
42
|
+
[data-v-yxu7dkt1] .aside-item .tab-num {
|
|
43
43
|
background: #EAEBF0;
|
|
44
44
|
border-radius: 2px;
|
|
45
45
|
margin-left: 5px;
|
|
@@ -71,7 +71,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
71
71
|
"placeholder",
|
|
72
72
|
"model-value"
|
|
73
73
|
]),
|
|
74
|
-
_ctx.modelValue ? (_openBlock(), _createBlock(_unref(Close), {
|
|
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-v5z1dbye] {
|
|
3
3
|
position: relative;
|
|
4
4
|
}
|
|
5
|
-
.send-container[data-v-
|
|
5
|
+
.send-container[data-v-v5z1dbye]: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-v5z1dbye] {
|
|
9
9
|
display: inline-flex !important;
|
|
10
10
|
}
|
|
11
|
-
.send-input[data-v-
|
|
11
|
+
.send-input[data-v-v5z1dbye] {
|
|
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-v5z1dbye]:has(textarea:focus) {
|
|
17
17
|
height: var(--text-height);
|
|
18
18
|
}
|
|
19
|
-
.send-input[data-v-
|
|
19
|
+
.send-input[data-v-v5z1dbye] 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-v5z1dbye] textarea::-webkit-scrollbar {
|
|
26
26
|
width: 4px;
|
|
27
27
|
height: 4px;
|
|
28
28
|
}
|
|
29
|
-
.send-input[data-v-
|
|
29
|
+
.send-input[data-v-v5z1dbye] 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-v5z1dbye] textarea::placeholder {
|
|
35
35
|
line-height: 16px;
|
|
36
36
|
}
|
|
37
|
-
.send-clear[data-v-
|
|
37
|
+
.send-clear[data-v-v5z1dbye] {
|
|
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-v5z1dbye]:hover {
|
|
47
47
|
color: #313238;
|
|
48
48
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
|
|
2
|
-
.auto-refresh[data-v-
|
|
2
|
+
.auto-refresh[data-v-ogtougdc] {
|
|
3
3
|
position: relative;
|
|
4
4
|
cursor: pointer;
|
|
5
5
|
line-height: 26px;
|
|
6
6
|
padding: 0 4px;
|
|
7
7
|
}
|
|
8
|
-
.auto-refresh[data-v-
|
|
8
|
+
.auto-refresh[data-v-ogtougdc]:after {
|
|
9
9
|
content: '';
|
|
10
10
|
position: absolute;
|
|
11
11
|
top: 5px;
|
|
@@ -15,31 +15,31 @@
|
|
|
15
15
|
background-color: #dcdee5;
|
|
16
16
|
z-index: 1;
|
|
17
17
|
}
|
|
18
|
-
.auto-refresh[data-v-
|
|
18
|
+
.auto-refresh[data-v-ogtougdc]:hover {
|
|
19
19
|
color: #3A84FF;
|
|
20
20
|
background-color: #E1ECFF;
|
|
21
21
|
}
|
|
22
|
-
.refresh[data-v-
|
|
22
|
+
.refresh[data-v-ogtougdc] {
|
|
23
23
|
cursor: pointer;
|
|
24
24
|
line-height: 26px;
|
|
25
25
|
padding: 0 4px;
|
|
26
26
|
}
|
|
27
|
-
.refresh[data-v-
|
|
27
|
+
.refresh[data-v-ogtougdc]:hover {
|
|
28
28
|
color: #3A84FF;
|
|
29
29
|
background-color: #E1ECFF;
|
|
30
30
|
}
|
|
31
|
-
.textarea-list[data-v-
|
|
31
|
+
.textarea-list[data-v-ogtougdc] {
|
|
32
32
|
padding: 4px 0;
|
|
33
33
|
line-height: 32px;
|
|
34
34
|
max-height: 300px;
|
|
35
35
|
position: relative;
|
|
36
36
|
z-index: 2;
|
|
37
37
|
}
|
|
38
|
-
.textarea-list .textarea-item[data-v-
|
|
38
|
+
.textarea-list .textarea-item[data-v-ogtougdc] {
|
|
39
39
|
padding: 0 12px;
|
|
40
40
|
cursor: pointer;
|
|
41
41
|
}
|
|
42
|
-
.textarea-list .textarea-item[data-v-
|
|
42
|
+
.textarea-list .textarea-item[data-v-ogtougdc]:hover {
|
|
43
43
|
background: #E1ECFF;
|
|
44
44
|
color: #3A84FF;
|
|
45
45
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
.checkbox[data-v-
|
|
2
|
+
.checkbox[data-v-al08huoq] {
|
|
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-al08huoq] {
|
|
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-al08huoq] {
|
|
17
17
|
background-color: #a3c5fd;
|
|
18
18
|
border-color: #a3c5fd;
|
|
19
19
|
}
|
|
20
|
-
.checkbox.disabled.indeterminate[data-v-
|
|
20
|
+
.checkbox.disabled.indeterminate[data-v-al08huoq] {
|
|
21
21
|
background-color: #fafbfd;
|
|
22
22
|
border-color: #dcdee5;
|
|
23
23
|
}
|
|
24
|
-
.checkbox.disabled.indeterminate[data-v-
|
|
24
|
+
.checkbox.disabled.indeterminate[data-v-al08huoq]:after {
|
|
25
25
|
background: #dcdee5;
|
|
26
26
|
}
|
|
27
|
-
.checkbox.checked[data-v-
|
|
27
|
+
.checkbox.checked[data-v-al08huoq] {
|
|
28
28
|
background-color: #3a84ff;
|
|
29
29
|
border: 1px solid #3a84ff;
|
|
30
30
|
}
|
|
31
|
-
.checkbox.checked[data-v-
|
|
31
|
+
.checkbox.checked[data-v-al08huoq]: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-al08huoq] {
|
|
45
45
|
background-color: #3a84ff;
|
|
46
46
|
border: 1px solid #3a84ff;
|
|
47
47
|
}
|
|
48
|
-
.checkbox.indeterminate[data-v-
|
|
48
|
+
.checkbox.indeterminate[data-v-al08huoq]:after {
|
|
49
49
|
position: absolute;
|
|
50
50
|
top: 50%;
|
|
51
51
|
left: 50%;
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
|
|
2
|
-
.plus-tag-input[data-v-
|
|
2
|
+
.plus-tag-input[data-v-so3tg3lr] {
|
|
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-so3tg3lr] {
|
|
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-so3tg3lr] {
|
|
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-so3tg3lr] {
|
|
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-so3tg3lr] {
|
|
24
24
|
margin-bottom: 0;
|
|
25
25
|
}
|
|
26
|
-
.plus-tag[data-v-
|
|
26
|
+
.plus-tag[data-v-so3tg3lr] {
|
|
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-so3tg3lr]:hover {
|
|
40
40
|
color: #3A84FF;
|
|
41
41
|
}
|
|
42
42
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
|
|
2
|
-
.collapse-title[data-v-
|
|
2
|
+
.collapse-title[data-v-3yo0giqj] {
|
|
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-3yo0giqj] {
|
|
9
9
|
transform: rotate(-90deg);
|
|
10
10
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as _defineComponent } from 'vue';
|
|
1
|
+
import { defineComponent as _defineComponent, createTextVNode as _createTextVNode2, createVNode as _createVNode } from 'vue';
|
|
2
2
|
import { unref as _unref, toDisplayString as _toDisplayString, resolveDirective as _resolveDirective, withDirectives as _withDirectives, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, mergeProps as _mergeProps, normalizeProps as _normalizeProps } from "vue";
|
|
3
3
|
const _hoisted_1 = {
|
|
4
4
|
key: 0,
|
|
@@ -11,6 +11,15 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
11
11
|
reviewReason: {}
|
|
12
12
|
},
|
|
13
13
|
setup (__props) {
|
|
14
|
+
const props = __props;
|
|
15
|
+
const getTooltipContent = ()=>{
|
|
16
|
+
return _createVNode("section", {
|
|
17
|
+
"class": "g-white-space-pre-line g-learning-22 g-font-normal g-max-height-80vh g-max-width-400 g-scrollbar-page"
|
|
18
|
+
}, [
|
|
19
|
+
_createTextVNode2("\u5BA1\u6838\u8BF4\u660E\uFF1A"),
|
|
20
|
+
props.reviewReason
|
|
21
|
+
]);
|
|
22
|
+
};
|
|
14
23
|
return (_ctx, _cache)=>{
|
|
15
24
|
const _directive_bk_tooltips = _resolveDirective("bk-tooltips");
|
|
16
25
|
return _ctx.level ? (_openBlock(), _createElementBlock("span", _mergeProps({
|
|
@@ -23,7 +32,8 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
23
32
|
[
|
|
24
33
|
_directive_bk_tooltips,
|
|
25
34
|
{
|
|
26
|
-
content:
|
|
35
|
+
content: getTooltipContent(),
|
|
36
|
+
theme: 'light'
|
|
27
37
|
}
|
|
28
38
|
]
|
|
29
39
|
]) : _createCommentVNode("v-if", true)
|
package/dist/components/render-dataset/components/dataset-data-tool-icons/index.script.vue.js
CHANGED
|
@@ -39,7 +39,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
39
39
|
}
|
|
40
40
|
]
|
|
41
41
|
]),
|
|
42
|
-
_cache[1] || (_cache[1] = _createStaticVNode("<span class=\"click-full-screen g-cursor-pointer g-flex-row\" data-v-
|
|
42
|
+
_cache[1] || (_cache[1] = _createStaticVNode("<span class=\"click-full-screen g-cursor-pointer g-flex-row\" data-v-0tlz1koj><i class=\"ai-ui-sdk-icon ai-ui-sdk-full-screen click-full-screen g-text-14 g-ml-24 g-mr-2\" data-v-0tlz1koj></i><span class=\"g-text-12 click-full-screen\" data-v-0tlz1koj>全屏</span></span><span class=\"click-un-full-screen g-cursor-pointer g-flex-row\" data-v-0tlz1koj><i class=\"ai-ui-sdk-icon ai-ui-sdk-un-full-screen click-un-full-screen g-text-14 g-ml-24 g-mr-2\" data-v-0tlz1koj></i><span class=\"g-text-12 click-un-full-screen\" data-v-0tlz1koj>取消全屏</span></span>", 2))
|
|
43
43
|
]);
|
|
44
44
|
};
|
|
45
45
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
|
|
2
|
-
.content[data-v-
|
|
2
|
+
.content[data-v-3sqqpyv0] {
|
|
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-3sqqpyv0] {
|
|
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-3sqqpyv0] .bk-sideslider-title {
|
|
13
13
|
justify-content: space-between;
|
|
14
14
|
width: 100%;
|
|
15
15
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import script from './index.script.vue.js.js';
|
|
2
|
-
script.__scopeId = "data-v-
|
|
2
|
+
script.__scopeId = "data-v-3sqqpyv0";
|
|
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-rourgann] {
|
|
3
3
|
padding: 0 24px 0px 32px;
|
|
4
4
|
height: 100%;
|
|
5
5
|
}
|
|
6
|
-
.content .toolbar[data-v-
|
|
6
|
+
.content .toolbar[data-v-rourgann] {
|
|
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-rourgann] {
|
|
14
14
|
width: 360px;
|
|
15
15
|
}
|
|
16
|
-
.content .toolbar .record-data-picker[data-v-
|
|
16
|
+
.content .toolbar .record-data-picker[data-v-rourgann] {
|
|
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-rourgann";
|
|
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-v3c8kkxj";
|
|
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-v42j92xz] {
|
|
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-v42j92xz] {
|
|
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-v42j92xz";
|
|
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;
|
|
@@ -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",
|
|
@@ -107,7 +109,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
107
109
|
}, {
|
|
108
110
|
header: _withCtx(()=>[
|
|
109
111
|
_createElementVNode("span", null, _toDisplayString(_ctx.dataset ? '编辑数据集' : '创建数据集'), 1 /* TEXT */ ),
|
|
110
|
-
!_ctx.dataset ? (_openBlock(), _createElementBlock("span", _hoisted_1, "
|
|
112
|
+
!_ctx.dataset ? (_openBlock(), _createElementBlock("span", _hoisted_1, " 用于对模型进行预训练、微调、偏好对齐、预估等 ")) : _createCommentVNode("v-if", true)
|
|
111
113
|
]),
|
|
112
114
|
footer: _withCtx(()=>{
|
|
113
115
|
var _ctx_dataset;
|
|
@@ -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-jny2skfo] {
|
|
3
3
|
padding: 20px 24px;
|
|
4
4
|
height: 100%;
|
|
5
5
|
}
|
|
6
|
-
.dataset-data-slider[data-v-
|
|
6
|
+
.dataset-data-slider[data-v-jny2skfo] .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;
|