@blueking/ai-ui-sdk 0.1.5-beta.6 → 0.1.6
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.vue.css +11 -11
- package/dist/components/render-auto-height-textarea/index.vue.js +1 -1
- package/dist/components/render-choose-tag/index.vue.css +8 -8
- 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 +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/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/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/index.vue.css +1 -1
- package/dist/components/render-dataset/index.vue.js +1 -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 +12 -3
- 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.script.vue.js.js +4 -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-dataset-list/components/table.script.vue.js.js +16 -4
- 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 +0 -2
- package/dist/hooks/use-chat.ts.js +0 -22
- package/dist/types/session.d.ts +4 -4
- package/package.json +1 -1
@@ -1,12 +1,12 @@
|
|
1
1
|
|
2
|
-
.aside-home[data-v-
|
2
|
+
.aside-home[data-v-m8l6qdxh] {
|
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-m8l6qdxh] .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-m8l6qdxh] .aside-item.is-tab {
|
20
20
|
background: #F5F7FA;
|
21
21
|
cursor: pointer;
|
22
22
|
color: #4D4F56;
|
23
23
|
}
|
24
|
-
[data-v-
|
24
|
+
[data-v-m8l6qdxh] .aside-item.is-tab:hover {
|
25
25
|
background: #F0F5FF;
|
26
26
|
}
|
27
|
-
[data-v-
|
27
|
+
[data-v-m8l6qdxh] .aside-item.active {
|
28
28
|
background: #F0F5FF;
|
29
29
|
color: #3A84FF;
|
30
30
|
font-weight: 700;
|
31
31
|
}
|
32
|
-
[data-v-
|
32
|
+
[data-v-m8l6qdxh] .aside-item.active .tab-num {
|
33
33
|
background: #3A84FF;
|
34
34
|
color: #fff;
|
35
35
|
}
|
36
|
-
[data-v-
|
36
|
+
[data-v-m8l6qdxh] .aside-item.active .active-text {
|
37
37
|
color: #3A84FF;
|
38
38
|
}
|
39
|
-
[data-v-
|
39
|
+
[data-v-m8l6qdxh] .aside-item .tab-name {
|
40
40
|
flex: 1;
|
41
41
|
}
|
42
|
-
[data-v-
|
42
|
+
[data-v-m8l6qdxh] .aside-item .tab-num {
|
43
43
|
background: #EAEBF0;
|
44
44
|
border-radius: 2px;
|
45
45
|
margin-left: 5px;
|
@@ -59,7 +59,10 @@ export default /*@__PURE__*/ _defineComponent({
|
|
59
59
|
default: _withCtx(()=>_cache[0] || (_cache[0] = [
|
60
60
|
_createTextVNode(" 去申请 ")
|
61
61
|
])),
|
62
|
-
_: 1 /* STABLE */
|
62
|
+
_: 1 /* STABLE */ ,
|
63
|
+
__: [
|
64
|
+
0
|
65
|
+
]
|
63
66
|
}),
|
64
67
|
_createVNode(_component_bk_button, {
|
65
68
|
class: "g-ml-8",
|
@@ -68,7 +71,10 @@ export default /*@__PURE__*/ _defineComponent({
|
|
68
71
|
default: _withCtx(()=>_cache[1] || (_cache[1] = [
|
69
72
|
_createTextVNode(" 取消 ")
|
70
73
|
])),
|
71
|
-
_: 1 /* STABLE */
|
74
|
+
_: 1 /* STABLE */ ,
|
75
|
+
__: [
|
76
|
+
1
|
77
|
+
]
|
72
78
|
})
|
73
79
|
])
|
74
80
|
]),
|
@@ -1,40 +1,40 @@
|
|
1
1
|
|
2
|
-
.send-container[data-v-
|
2
|
+
.send-container[data-v-gfyfupjh] {
|
3
3
|
position: relative;
|
4
4
|
}
|
5
|
-
.send-container[data-v-
|
5
|
+
.send-container[data-v-gfyfupjh]: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-gfyfupjh] {
|
9
9
|
display: inline-flex !important;
|
10
10
|
}
|
11
|
-
.send-input[data-v-
|
11
|
+
.send-input[data-v-gfyfupjh] {
|
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-gfyfupjh]:has(textarea:focus) {
|
17
17
|
height: var(--text-height);
|
18
18
|
}
|
19
|
-
.send-input[data-v-
|
19
|
+
.send-input[data-v-gfyfupjh] 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-gfyfupjh] textarea::-webkit-scrollbar {
|
26
26
|
width: 4px;
|
27
27
|
height: 4px;
|
28
28
|
}
|
29
|
-
.send-input[data-v-
|
29
|
+
.send-input[data-v-gfyfupjh] 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-gfyfupjh] textarea::placeholder {
|
35
35
|
line-height: 16px;
|
36
36
|
}
|
37
|
-
.send-clear[data-v-
|
37
|
+
.send-clear[data-v-gfyfupjh] {
|
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-gfyfupjh]:hover {
|
47
47
|
color: #313238;
|
48
48
|
}
|
@@ -1,27 +1,27 @@
|
|
1
1
|
|
2
|
-
.plus-tag-input[data-v-
|
2
|
+
.plus-tag-input[data-v-armvbr86] {
|
3
3
|
padding: 7px 12px;
|
4
4
|
width: 100%;
|
5
5
|
}
|
6
|
-
.plus-tag-input .plus-tag-done[data-v-
|
6
|
+
.plus-tag-input .plus-tag-done[data-v-armvbr86] {
|
7
7
|
cursor: pointer;
|
8
8
|
font-size: 22px;
|
9
9
|
color: #2DCB56;
|
10
10
|
margin: 0 5px 0 10px;
|
11
11
|
}
|
12
|
-
.plus-tag-input .plus-tag-error[data-v-
|
12
|
+
.plus-tag-input .plus-tag-error[data-v-armvbr86] {
|
13
13
|
cursor: pointer;
|
14
14
|
font-size: 16px;
|
15
15
|
color: #C4C6CC;
|
16
16
|
margin-right: 5px;
|
17
17
|
}
|
18
|
-
.plus-tag-input .plus-tag-form[data-v-
|
18
|
+
.plus-tag-input .plus-tag-form[data-v-armvbr86] {
|
19
19
|
flex: 1;
|
20
20
|
}
|
21
|
-
.plus-tag-input .plus-tag-form-item[data-v-
|
21
|
+
.plus-tag-input .plus-tag-form-item[data-v-armvbr86] {
|
22
22
|
margin-bottom: 0;
|
23
23
|
}
|
24
|
-
.plus-tag[data-v-
|
24
|
+
.plus-tag[data-v-armvbr86] {
|
25
25
|
cursor: pointer;
|
26
26
|
width: 100%;
|
27
27
|
display: flex;
|
@@ -30,10 +30,10 @@
|
|
30
30
|
font-size: 12px;
|
31
31
|
line-height: 20px;
|
32
32
|
}
|
33
|
-
.plus-tag .bkaidev-plus-circle[data-v-
|
33
|
+
.plus-tag .bkaidev-plus-circle[data-v-armvbr86] {
|
34
34
|
font-size: 14px;
|
35
35
|
margin-right: 6px;
|
36
36
|
}
|
37
|
-
.plus-tag[data-v-
|
37
|
+
.plus-tag[data-v-armvbr86]:hover {
|
38
38
|
color: #3A84FF;
|
39
39
|
}
|
@@ -1,10 +1,10 @@
|
|
1
1
|
|
2
|
-
.collapse-title[data-v-
|
2
|
+
.collapse-title[data-v-b74ikn2e] {
|
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-b74ikn2e] {
|
9
9
|
transform: rotate(-90deg);
|
10
10
|
}
|
@@ -219,7 +219,11 @@ export default /*@__PURE__*/ _defineComponent({
|
|
219
219
|
}, null, -1 /* HOISTED */ )),
|
220
220
|
_unref(tableData)[0] ? (_openBlock(), _createElementBlock("span", _hoisted_1, _toDisplayString(`#${_unref(tableData)[0].id}`), 1 /* TEXT */ )) : _createCommentVNode("v-if", true)
|
221
221
|
]),
|
222
|
-
_: 1 /* STABLE */
|
222
|
+
_: 1 /* STABLE */ ,
|
223
|
+
__: [
|
224
|
+
0,
|
225
|
+
1
|
226
|
+
]
|
223
227
|
}, 8 /* PROPS */ , [
|
224
228
|
"loading"
|
225
229
|
]),
|
@@ -319,7 +323,10 @@ export default /*@__PURE__*/ _defineComponent({
|
|
319
323
|
default: _withCtx(()=>_cache[2] || (_cache[2] = [
|
320
324
|
_createTextVNode(" 保存 ")
|
321
325
|
])),
|
322
|
-
_: 1 /* STABLE */
|
326
|
+
_: 1 /* STABLE */ ,
|
327
|
+
__: [
|
328
|
+
2
|
329
|
+
]
|
323
330
|
}, 8 /* PROPS */ , [
|
324
331
|
"loading"
|
325
332
|
])), [
|
@@ -339,7 +346,10 @@ export default /*@__PURE__*/ _defineComponent({
|
|
339
346
|
default: _withCtx(()=>_cache[3] || (_cache[3] = [
|
340
347
|
_createTextVNode(" 取消 ")
|
341
348
|
])),
|
342
|
-
_: 1 /* STABLE */
|
349
|
+
_: 1 /* STABLE */ ,
|
350
|
+
__: [
|
351
|
+
3
|
352
|
+
]
|
343
353
|
}, 8 /* PROPS */ , [
|
344
354
|
"disabled"
|
345
355
|
])
|
@@ -1,15 +1,15 @@
|
|
1
1
|
|
2
|
-
.content[data-v-
|
2
|
+
.content[data-v-3yrn2uci] {
|
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-3yrn2uci] {
|
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-3yrn2uci] .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-3yrn2uci";
|
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-6miwr3et] {
|
3
3
|
padding: 0 24px 0px 32px;
|
4
4
|
height: 100%;
|
5
5
|
}
|
6
|
-
.content .toolbar[data-v-
|
6
|
+
.content .toolbar[data-v-6miwr3et] {
|
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-6miwr3et] {
|
14
14
|
width: 360px;
|
15
15
|
}
|
16
|
-
.content .toolbar .record-data-picker[data-v-
|
16
|
+
.content .toolbar .record-data-picker[data-v-6miwr3et] {
|
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-6miwr3et";
|
3
3
|
script.__file = "./src/components/render-dataset/components/operation-record/index.vue";
|
4
4
|
import './index.vue.css';
|
5
5
|
export default script;
|
package/dist/components/render-dataset/components/operation-record/table/index.script.vue.js.js
CHANGED
@@ -134,7 +134,10 @@ export default /*@__PURE__*/ _defineComponent({
|
|
134
134
|
default: _withCtx(()=>_cache[1] || (_cache[1] = [
|
135
135
|
_createTextVNode(" [查看] ")
|
136
136
|
])),
|
137
|
-
_: 2 /* DYNAMIC */
|
137
|
+
_: 2 /* DYNAMIC */ ,
|
138
|
+
__: [
|
139
|
+
1
|
140
|
+
]
|
138
141
|
}, 1032 /* PROPS, DYNAMIC_SLOTS */ , [
|
139
142
|
"onClick"
|
140
143
|
])
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import script from './index.script.vue.js.js';
|
2
|
-
script.__scopeId = "data-v-
|
2
|
+
script.__scopeId = "data-v-nzkel6bj";
|
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-a1jphsri] {
|
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-a1jphsri] {
|
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-a1jphsri";
|
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;
|
package/dist/components/render-dataset/components/plus-dataset/dataset-footer.script.vue.js.js
CHANGED
@@ -82,7 +82,10 @@ export default /*@__PURE__*/ _defineComponent({
|
|
82
82
|
default: _withCtx(()=>_cache[0] || (_cache[0] = [
|
83
83
|
_createTextVNode(" 确定 ")
|
84
84
|
])),
|
85
|
-
_: 1 /* STABLE */
|
85
|
+
_: 1 /* STABLE */ ,
|
86
|
+
__: [
|
87
|
+
0
|
88
|
+
]
|
86
89
|
}, 8 /* PROPS */ , [
|
87
90
|
"loading"
|
88
91
|
]),
|
@@ -94,7 +97,10 @@ export default /*@__PURE__*/ _defineComponent({
|
|
94
97
|
default: _withCtx(()=>_cache[1] || (_cache[1] = [
|
95
98
|
_createTextVNode(" 取消 ")
|
96
99
|
])),
|
97
|
-
_: 1 /* STABLE */
|
100
|
+
_: 1 /* STABLE */ ,
|
101
|
+
__: [
|
102
|
+
1
|
103
|
+
]
|
98
104
|
}, 8 /* PROPS */ , [
|
99
105
|
"disabled"
|
100
106
|
])
|
@@ -1,8 +1,8 @@
|
|
1
1
|
|
2
|
-
.dataset-data-content[data-v-
|
2
|
+
.dataset-data-content[data-v-am6y3n4u] {
|
3
3
|
padding: 20px 24px;
|
4
4
|
height: 100%;
|
5
5
|
}
|
6
|
-
.dataset-data-slider[data-v-
|
6
|
+
.dataset-data-slider[data-v-am6y3n4u] .bk-modal-content {
|
7
7
|
scrollbar-gutter: inherit !important;
|
8
8
|
}
|
package/dist/components/render-dataset/components/plus-dataset-data/form/file.script.vue.js.js
CHANGED
@@ -185,7 +185,10 @@ export default /*@__PURE__*/ _defineComponent({
|
|
185
185
|
}, null, -1 /* HOISTED */ ),
|
186
186
|
_createTextVNode(" 上传文件 ")
|
187
187
|
])),
|
188
|
-
_: 1 /* STABLE */
|
188
|
+
_: 1 /* STABLE */ ,
|
189
|
+
__: [
|
190
|
+
0
|
191
|
+
]
|
189
192
|
}, 8 /* PROPS */ , [
|
190
193
|
"loading"
|
191
194
|
]),
|
@@ -201,7 +204,10 @@ export default /*@__PURE__*/ _defineComponent({
|
|
201
204
|
}, null, -1 /* HOISTED */ ),
|
202
205
|
_createTextVNode(" 下载示例 ")
|
203
206
|
])),
|
204
|
-
_: 1 /* STABLE */
|
207
|
+
_: 1 /* STABLE */ ,
|
208
|
+
__: [
|
209
|
+
1
|
210
|
+
]
|
205
211
|
}, 8 /* PROPS */ , [
|
206
212
|
"loading",
|
207
213
|
"disabled"
|
@@ -227,7 +233,10 @@ export default /*@__PURE__*/ _defineComponent({
|
|
227
233
|
]);
|
228
234
|
}), 128 /* KEYED_FRAGMENT */ ))
|
229
235
|
]),
|
230
|
-
_: 1 /* STABLE */
|
236
|
+
_: 1 /* STABLE */ ,
|
237
|
+
__: [
|
238
|
+
2
|
239
|
+
]
|
231
240
|
})
|
232
241
|
]),
|
233
242
|
_: 1 /* STABLE */
|
package/dist/components/render-dataset/components/plus-dataset-data/form/footer.script.vue.js.js
CHANGED
@@ -110,7 +110,10 @@ export default /*@__PURE__*/ _defineComponent({
|
|
110
110
|
default: _withCtx(()=>_cache[0] || (_cache[0] = [
|
111
111
|
_createTextVNode(" 确定 ")
|
112
112
|
])),
|
113
|
-
_: 1 /* STABLE */
|
113
|
+
_: 1 /* STABLE */ ,
|
114
|
+
__: [
|
115
|
+
0
|
116
|
+
]
|
114
117
|
}, 8 /* PROPS */ , [
|
115
118
|
"loading"
|
116
119
|
]),
|
@@ -122,7 +125,10 @@ export default /*@__PURE__*/ _defineComponent({
|
|
122
125
|
default: _withCtx(()=>_cache[1] || (_cache[1] = [
|
123
126
|
_createTextVNode(" 取消 ")
|
124
127
|
])),
|
125
|
-
_: 1 /* STABLE */
|
128
|
+
_: 1 /* STABLE */ ,
|
129
|
+
__: [
|
130
|
+
1
|
131
|
+
]
|
126
132
|
}, 8 /* PROPS */ , [
|
127
133
|
"disabled"
|
128
134
|
])
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import script from './footer.script.vue.js.js';
|
2
|
-
script.__scopeId = "data-v-
|
2
|
+
script.__scopeId = "data-v-3s97hp9q";
|
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-xhe02l0r] {
|
3
3
|
padding: 20px 24px;
|
4
4
|
}
|
5
|
-
.plus-dataset-sideslider[data-v-
|
5
|
+
.plus-dataset-sideslider[data-v-xhe02l0r] .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-xhe02l0r";
|
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-detail-origin-data/components/table/index.script.vue.js
CHANGED
@@ -221,7 +221,10 @@ export default /*@__PURE__*/ _defineComponent({
|
|
221
221
|
default: _withCtx(()=>_cache[9] || (_cache[9] = [
|
222
222
|
_createTextVNode(" 编辑 ")
|
223
223
|
])),
|
224
|
-
_: 2 /* DYNAMIC */
|
224
|
+
_: 2 /* DYNAMIC */ ,
|
225
|
+
__: [
|
226
|
+
9
|
227
|
+
]
|
225
228
|
}, 1032 /* PROPS, DYNAMIC_SLOTS */ , [
|
226
229
|
"class",
|
227
230
|
"onMouseleave",
|
@@ -253,7 +256,10 @@ export default /*@__PURE__*/ _defineComponent({
|
|
253
256
|
default: _withCtx(()=>_cache[10] || (_cache[10] = [
|
254
257
|
_createTextVNode(" 操作记录 ")
|
255
258
|
])),
|
256
|
-
_: 2 /* DYNAMIC */
|
259
|
+
_: 2 /* DYNAMIC */ ,
|
260
|
+
__: [
|
261
|
+
10
|
262
|
+
]
|
257
263
|
}, 1032 /* PROPS, DYNAMIC_SLOTS */ , [
|
258
264
|
"class",
|
259
265
|
"onMouseleave",
|
@@ -292,7 +298,10 @@ export default /*@__PURE__*/ _defineComponent({
|
|
292
298
|
class: "ai-ui-sdk-icon ai-ui-sdk-gengduo-2 g-text-16 g-ml-12 g-cursor-pointer"
|
293
299
|
}, null, -1 /* HOISTED */ ))
|
294
300
|
]),
|
295
|
-
_: 2 /* DYNAMIC */
|
301
|
+
_: 2 /* DYNAMIC */ ,
|
302
|
+
__: [
|
303
|
+
11
|
304
|
+
]
|
296
305
|
}, 1536 /* NEED_PATCH, DYNAMIC_SLOTS */ )
|
297
306
|
]),
|
298
307
|
_: 1 /* STABLE */
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import script from './index.script.vue.js';
|
2
|
-
script.__scopeId = "data-v-
|
2
|
+
script.__scopeId = "data-v-nqfbtr0f";
|
3
3
|
script.__file = "./src/components/render-dataset-detail-origin-data/components/table/index.vue";
|
4
4
|
import './index.vue.css';
|
5
5
|
export default script;
|
@@ -1,15 +1,15 @@
|
|
1
1
|
|
2
|
-
.origin-data-content[data-v-
|
2
|
+
.origin-data-content[data-v-m9nmyhys] {
|
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-m9nmyhys] {
|
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-m9nmyhys] {
|
14
14
|
width: 6.17rem;
|
15
15
|
}
|
@@ -62,7 +62,10 @@ export default /*@__PURE__*/ _defineComponent({
|
|
62
62
|
default: _withCtx(()=>_cache[2] || (_cache[2] = [
|
63
63
|
_createTextVNode(" 创建数据集 ")
|
64
64
|
])),
|
65
|
-
_: 1 /* STABLE */
|
65
|
+
_: 1 /* STABLE */ ,
|
66
|
+
__: [
|
67
|
+
2
|
68
|
+
]
|
66
69
|
})
|
67
70
|
]),
|
68
71
|
_createVNode(RenderSearchDataset, {
|
@@ -1,15 +1,15 @@
|
|
1
1
|
|
2
|
-
.main-content[data-v-
|
2
|
+
.main-content[data-v-1nup2jyd] {
|
3
3
|
padding: 20px 24px;
|
4
4
|
height: calc(100% - 52px);
|
5
5
|
}
|
6
|
-
.main-panel[data-v-
|
6
|
+
.main-panel[data-v-1nup2jyd] {
|
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-1nup2jyd] {
|
14
14
|
width: 6.17rem;
|
15
15
|
}
|
@@ -380,7 +380,10 @@ export default /*@__PURE__*/ _defineComponent({
|
|
380
380
|
default: _withCtx(()=>_cache[3] || (_cache[3] = [
|
381
381
|
_createTextVNode(" 查看详情 ")
|
382
382
|
])),
|
383
|
-
_: 2 /* DYNAMIC */
|
383
|
+
_: 2 /* DYNAMIC */ ,
|
384
|
+
__: [
|
385
|
+
3
|
386
|
+
]
|
384
387
|
}, 1032 /* PROPS, DYNAMIC_SLOTS */ , [
|
385
388
|
"class",
|
386
389
|
"onMouseenter",
|
@@ -414,7 +417,10 @@ export default /*@__PURE__*/ _defineComponent({
|
|
414
417
|
default: _withCtx(()=>_cache[4] || (_cache[4] = [
|
415
418
|
_createTextVNode(" 编辑数据集 ")
|
416
419
|
])),
|
417
|
-
_: 2 /* DYNAMIC */
|
420
|
+
_: 2 /* DYNAMIC */ ,
|
421
|
+
__: [
|
422
|
+
4
|
423
|
+
]
|
418
424
|
}, 1032 /* PROPS, DYNAMIC_SLOTS */ , [
|
419
425
|
"class",
|
420
426
|
"onMouseenter",
|
@@ -439,7 +445,10 @@ export default /*@__PURE__*/ _defineComponent({
|
|
439
445
|
default: _withCtx(()=>_cache[5] || (_cache[5] = [
|
440
446
|
_createTextVNode(" 操作记录 ")
|
441
447
|
])),
|
442
|
-
_: 2 /* DYNAMIC */
|
448
|
+
_: 2 /* DYNAMIC */ ,
|
449
|
+
__: [
|
450
|
+
5
|
451
|
+
]
|
443
452
|
}, 1032 /* PROPS, DYNAMIC_SLOTS */ , [
|
444
453
|
"class",
|
445
454
|
"onMouseenter",
|
@@ -490,7 +499,10 @@ export default /*@__PURE__*/ _defineComponent({
|
|
490
499
|
class: "ai-ui-sdk-icon ai-ui-sdk-gengduo-2 g-text-16 g-ml-12 g-cursor-pointer"
|
491
500
|
}, null, -1 /* HOISTED */ ))
|
492
501
|
]),
|
493
|
-
_: 2 /* DYNAMIC */
|
502
|
+
_: 2 /* DYNAMIC */ ,
|
503
|
+
__: [
|
504
|
+
7
|
505
|
+
]
|
494
506
|
}, 1536 /* NEED_PATCH, DYNAMIC_SLOTS */ )
|
495
507
|
]),
|
496
508
|
_: 1 /* STABLE */
|
@@ -1,5 +1,5 @@
|
|
1
1
|
|
2
|
-
.expend-collapse-home[data-v-
|
2
|
+
.expend-collapse-home[data-v-sj8q41z6] {
|
3
3
|
width: 16px;
|
4
4
|
height: 64px;
|
5
5
|
background: #DCDEE5;
|
@@ -15,9 +15,9 @@
|
|
15
15
|
cursor: pointer;
|
16
16
|
z-index: 1550;
|
17
17
|
}
|
18
|
-
.expend-collapse-home[data-v-
|
18
|
+
.expend-collapse-home[data-v-sj8q41z6]:hover {
|
19
19
|
background: #979BA5;
|
20
20
|
}
|
21
|
-
.expend-collapse-home.is-close[data-v-
|
21
|
+
.expend-collapse-home.is-close[data-v-sj8q41z6] {
|
22
22
|
left: 0;
|
23
23
|
}
|
@@ -1,21 +1,21 @@
|
|
1
1
|
|
2
|
-
.upload-file-home[data-v-
|
2
|
+
.upload-file-home[data-v-ebakpul1] {
|
3
3
|
position: relative;
|
4
4
|
background: #FFFFFF;
|
5
5
|
border: 1px solid #DCDEE5;
|
6
6
|
border-radius: 4px;
|
7
7
|
padding: 12px 12px 10px 12px;
|
8
8
|
}
|
9
|
-
.upload-file-home[data-v-
|
9
|
+
.upload-file-home[data-v-ebakpul1]:hover {
|
10
10
|
border: 1px solid #3A84FF;
|
11
11
|
}
|
12
|
-
.upload-file-home:hover .file-icons[data-v-
|
12
|
+
.upload-file-home:hover .file-icons[data-v-ebakpul1] {
|
13
13
|
display: flex;
|
14
14
|
}
|
15
|
-
.upload-file-home .file-icon[data-v-
|
15
|
+
.upload-file-home .file-icon[data-v-ebakpul1] {
|
16
16
|
font-size: 32px;
|
17
17
|
}
|
18
|
-
.upload-file-home .file-content[data-v-
|
18
|
+
.upload-file-home .file-content[data-v-ebakpul1] {
|
19
19
|
font-size: 12px;
|
20
20
|
flex: 1;
|
21
21
|
align-items: flex-start;
|
@@ -23,28 +23,28 @@
|
|
23
23
|
font-weight: normal;
|
24
24
|
width: 0;
|
25
25
|
}
|
26
|
-
.upload-file-home .file-content .file-name[data-v-
|
26
|
+
.upload-file-home .file-content .file-name[data-v-ebakpul1] {
|
27
27
|
width: 100%;
|
28
28
|
font-size: 14px;
|
29
29
|
line-height: 20px;
|
30
30
|
}
|
31
|
-
.upload-file-home .file-content .file-size[data-v-
|
31
|
+
.upload-file-home .file-content .file-size[data-v-ebakpul1] {
|
32
32
|
font-size: 12px;
|
33
33
|
color: #979BA5;
|
34
34
|
line-height: 20px;
|
35
35
|
}
|
36
|
-
.upload-file-home .file-icons[data-v-
|
36
|
+
.upload-file-home .file-icons[data-v-ebakpul1] {
|
37
37
|
display: none;
|
38
38
|
color: #979BA5;
|
39
39
|
}
|
40
|
-
.upload-file-home .file-icons .bkaidev-icon[data-v-
|
40
|
+
.upload-file-home .file-icons .bkaidev-icon[data-v-ebakpul1] {
|
41
41
|
cursor: pointer;
|
42
42
|
margin-right: 15px;
|
43
43
|
font-size: 16px;
|
44
44
|
}
|
45
|
-
.upload-file-home .file-icons .bkaidev-icon[data-v-
|
45
|
+
.upload-file-home .file-icons .bkaidev-icon[data-v-ebakpul1]:hover {
|
46
46
|
color: #3A84FF;
|
47
47
|
}
|
48
|
-
.upload-file-home .file-icons .bkaidev-delete[data-v-
|
48
|
+
.upload-file-home .file-icons .bkaidev-delete[data-v-ebakpul1] {
|
49
49
|
margin: 0;
|
50
50
|
}
|
@@ -1,16 +1,16 @@
|
|
1
1
|
|
2
|
-
.ai-ui-sdk-icon.ai-ui-sdk-pdf[data-v-
|
2
|
+
.ai-ui-sdk-icon.ai-ui-sdk-pdf[data-v-g34tiw1p] {
|
3
3
|
color: #EA3636;
|
4
4
|
}
|
5
|
-
.ai-ui-sdk-icon.ai-ui-sdk-doc-2[data-v-
|
5
|
+
.ai-ui-sdk-icon.ai-ui-sdk-doc-2[data-v-g34tiw1p], .ai-ui-sdk-icon.ai-ui-sdk-ppt-2[data-v-g34tiw1p], .ai-ui-sdk-icon.ai-ui-sdk-markdown[data-v-g34tiw1p] {
|
6
6
|
color: #3A84FF;
|
7
7
|
}
|
8
|
-
.ai-ui-sdk-icon.ai-ui-sdk-folder-fill[data-v-
|
8
|
+
.ai-ui-sdk-icon.ai-ui-sdk-folder-fill[data-v-g34tiw1p] {
|
9
9
|
color: #C4C6CC;
|
10
10
|
}
|
11
|
-
.ai-ui-sdk-icon.ai-ui-sdk-excel[data-v-
|
11
|
+
.ai-ui-sdk-icon.ai-ui-sdk-excel[data-v-g34tiw1p] {
|
12
12
|
color: #2DCB56;
|
13
13
|
}
|
14
|
-
.ai-ui-sdk-icon.ai-ui-sdk-wangye[data-v-
|
14
|
+
.ai-ui-sdk-icon.ai-ui-sdk-wangye[data-v-g34tiw1p] {
|
15
15
|
color: #14A568;
|
16
16
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
|
2
|
-
.header-home[data-v-
|
2
|
+
.header-home[data-v-i91x800g] {
|
3
3
|
width: 100%;
|
4
4
|
height: 52px;
|
5
5
|
background: #FFFFFF;
|
@@ -7,14 +7,14 @@
|
|
7
7
|
position: relative;
|
8
8
|
z-index: 2;
|
9
9
|
}
|
10
|
-
.header-title[data-v-
|
10
|
+
.header-title[data-v-i91x800g] {
|
11
11
|
position: absolute;
|
12
12
|
left: 24px;
|
13
13
|
top: 14px;
|
14
14
|
font-size: 16px;
|
15
15
|
color: #313238;
|
16
16
|
}
|
17
|
-
.header-main[data-v-
|
17
|
+
.header-main[data-v-i91x800g] {
|
18
18
|
display: flex;
|
19
19
|
align-items: center;
|
20
20
|
justify-content: flex-end;
|
@@ -22,13 +22,13 @@
|
|
22
22
|
height: 100%;
|
23
23
|
margin: 0 auto;
|
24
24
|
}
|
25
|
-
.header-select[data-v-
|
25
|
+
.header-select[data-v-i91x800g] {
|
26
26
|
width: 300px;
|
27
27
|
margin-right: 8px;
|
28
28
|
z-index: 9;
|
29
29
|
font-size: 12px;
|
30
30
|
}
|
31
|
-
.header-input[data-v-
|
31
|
+
.header-input[data-v-i91x800g] {
|
32
32
|
width: 300px;
|
33
33
|
font-size: 12px;
|
34
34
|
}
|
@@ -1,12 +1,12 @@
|
|
1
1
|
|
2
|
-
.router-tab[data-v-
|
2
|
+
.router-tab[data-v-h87dqd24] {
|
3
3
|
margin-top: 2px;
|
4
4
|
height: 42px;
|
5
5
|
background: #FFFFFF;
|
6
6
|
box-shadow: 0 2px 4px 0 #1919290d;
|
7
7
|
padding: 0 45px;
|
8
8
|
}
|
9
|
-
.router-tab a[data-v-
|
9
|
+
.router-tab a[data-v-h87dqd24] {
|
10
10
|
padding: 0 8px;
|
11
11
|
margin-right: 24px;
|
12
12
|
font-size: 14px;
|
@@ -15,7 +15,7 @@
|
|
15
15
|
color: #4D4F56;
|
16
16
|
box-sizing: border-box;
|
17
17
|
}
|
18
|
-
.router-tab a.router-link-exact-active[data-v-
|
18
|
+
.router-tab a.router-link-exact-active[data-v-h87dqd24] {
|
19
19
|
color: #3A84FF;
|
20
20
|
border-bottom: 2px solid #3A84FF;
|
21
21
|
}
|
package/dist/hooks/use-chat.d.ts
CHANGED
@@ -847,7 +847,6 @@ export declare const useChat: ({ handleStart, handleText, handleReferenceDoc, ha
|
|
847
847
|
sessionLoadingMap: import("vue").Ref<SessionLoadingMap, SessionLoadingMap>;
|
848
848
|
prompts: import("vue").ComputedRef<ISessionPrompt[]>;
|
849
849
|
currentSessionLoading: import("vue").ComputedRef<boolean>;
|
850
|
-
isLoadingSessionContents: import("vue").Ref<boolean, boolean>;
|
851
850
|
chat: ({ sessionCode, url, data, headers, }: {
|
852
851
|
sessionCode: string;
|
853
852
|
url?: string;
|
@@ -861,7 +860,6 @@ export declare const useChat: ({ handleStart, handleText, handleReferenceDoc, ha
|
|
861
860
|
getLastSessionContentBySessionCode: (sessionCode: string) => ISessionContent;
|
862
861
|
getSessionContentsBySessionCode: (sessionCode: string) => ISessionContent[];
|
863
862
|
setCurrentSession: (session?: ISession) => void;
|
864
|
-
setCurrentSessionChain: (session: ISession) => Promise<void>;
|
865
863
|
setSessionContents: (data: ISessionContent[]) => void;
|
866
864
|
deleteSessionContent: (sessionCode: string, contentId: number) => Promise<number>;
|
867
865
|
deleteSessionContents: (sessionCode: string, contentIds: number[]) => Promise<number>;
|
@@ -101,7 +101,6 @@ export const useChat = ({ handleStart, handleText, handleReferenceDoc, handleThi
|
|
101
101
|
const sessionContents = ref([]);
|
102
102
|
const sessionContentsMap = {};
|
103
103
|
const sessionWaitingPromptsMap = {};
|
104
|
-
const isLoadingSessionContents = ref(false);
|
105
104
|
// 通过计算得到的会话列表
|
106
105
|
const calculatedSessionContents = computed(()=>{
|
107
106
|
const calculatedSessionContents = [];
|
@@ -250,25 +249,6 @@ export const useChat = ({ handleStart, handleText, handleReferenceDoc, handleThi
|
|
250
249
|
sessionContentsMap[currentSession.value.sessionCode] = data;
|
251
250
|
sessionContents.value = data;
|
252
251
|
}
|
253
|
-
function setCurrentSessionChain(session) {
|
254
|
-
return _setCurrentSessionChain.apply(this, arguments);
|
255
|
-
}
|
256
|
-
function _setCurrentSessionChain() {
|
257
|
-
_setCurrentSessionChain = // 自动设置 currentSession 以及当然 sessionConetnts内容
|
258
|
-
_async_to_generator(function*(session) {
|
259
|
-
currentSession.value = session;
|
260
|
-
try {
|
261
|
-
isLoadingSessionContents.value = true;
|
262
|
-
const data = yield apiImpl.getSessionContents(session.sessionCode);
|
263
|
-
sessionContentsMap[currentSession.value.sessionCode] = data;
|
264
|
-
sessionContents.value = data;
|
265
|
-
isLoadingSessionContents.value = false;
|
266
|
-
} catch (error) {
|
267
|
-
isLoadingSessionContents.value = false;
|
268
|
-
}
|
269
|
-
});
|
270
|
-
return _setCurrentSessionChain.apply(this, arguments);
|
271
|
-
}
|
272
252
|
// 获取 SessionContent 通过 id
|
273
253
|
function getSessionContentById(id, sessionCode) {
|
274
254
|
const sessionContents = getSessionContentsBySessionCode(sessionCode);
|
@@ -623,7 +603,6 @@ export const useChat = ({ handleStart, handleText, handleReferenceDoc, handleThi
|
|
623
603
|
sessionLoadingMap,
|
624
604
|
prompts,
|
625
605
|
currentSessionLoading,
|
626
|
-
isLoadingSessionContents,
|
627
606
|
chat,
|
628
607
|
stopChat,
|
629
608
|
plusSessionContent,
|
@@ -632,7 +611,6 @@ export const useChat = ({ handleStart, handleText, handleReferenceDoc, handleThi
|
|
632
611
|
getLastSessionContentBySessionCode,
|
633
612
|
getSessionContentsBySessionCode,
|
634
613
|
setCurrentSession,
|
635
|
-
setCurrentSessionChain,
|
636
614
|
setSessionContents,
|
637
615
|
deleteSessionContent,
|
638
616
|
deleteSessionContents,
|
package/dist/types/session.d.ts
CHANGED
@@ -62,8 +62,8 @@ export interface ISessionApi {
|
|
62
62
|
session_code: string;
|
63
63
|
session_name: string;
|
64
64
|
model?: string;
|
65
|
-
updated_at
|
66
|
-
created_at
|
65
|
+
updated_at?: string;
|
66
|
+
created_at?: string;
|
67
67
|
role_info?: {
|
68
68
|
collection_id: number;
|
69
69
|
collection_name: string;
|
@@ -88,8 +88,8 @@ export interface ISession {
|
|
88
88
|
sessionCode: string;
|
89
89
|
sessionName: string;
|
90
90
|
model?: string;
|
91
|
-
updatedAt
|
92
|
-
createdAt
|
91
|
+
updatedAt?: string;
|
92
|
+
createdAt?: string;
|
93
93
|
roleInfo?: {
|
94
94
|
collectionId: number;
|
95
95
|
collectionName: string;
|