@blueking/ai-ui-sdk 0.1.2 → 0.1.4
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-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.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/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/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.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/hooks/use-chat.ts.js +1 -1
- package/dist/hooks/use-dataset-http.ts.js +1 -1
- package/dist/http/helper/session.ts.js +64 -10
- package/dist/types/enum.d.ts +0 -1
- package/dist/types/enum.ts.js +0 -1
- package/dist/types/session.d.ts +5 -0
- package/package.json +2 -3
@@ -1,12 +1,12 @@
|
|
1
1
|
|
2
|
-
.aside-home[data-v-
|
2
|
+
.aside-home[data-v-pusvjp8h] {
|
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-pusvjp8h] .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-pusvjp8h] .aside-item.is-tab {
|
20
20
|
background: #F5F7FA;
|
21
21
|
cursor: pointer;
|
22
22
|
color: #4D4F56;
|
23
23
|
}
|
24
|
-
[data-v-
|
24
|
+
[data-v-pusvjp8h] .aside-item.is-tab:hover {
|
25
25
|
background: #F0F5FF;
|
26
26
|
}
|
27
|
-
[data-v-
|
27
|
+
[data-v-pusvjp8h] .aside-item.active {
|
28
28
|
background: #F0F5FF;
|
29
29
|
color: #3A84FF;
|
30
30
|
font-weight: 700;
|
31
31
|
}
|
32
|
-
[data-v-
|
32
|
+
[data-v-pusvjp8h] .aside-item.active .tab-num {
|
33
33
|
background: #3A84FF;
|
34
34
|
color: #fff;
|
35
35
|
}
|
36
|
-
[data-v-
|
36
|
+
[data-v-pusvjp8h] .aside-item.active .active-text {
|
37
37
|
color: #3A84FF;
|
38
38
|
}
|
39
|
-
[data-v-
|
39
|
+
[data-v-pusvjp8h] .aside-item .tab-name {
|
40
40
|
flex: 1;
|
41
41
|
}
|
42
|
-
[data-v-
|
42
|
+
[data-v-pusvjp8h] .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-nf018fec] {
|
3
3
|
position: relative;
|
4
4
|
}
|
5
|
-
.send-container[data-v-
|
5
|
+
.send-container[data-v-nf018fec]: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-nf018fec] {
|
9
9
|
display: inline-flex !important;
|
10
10
|
}
|
11
|
-
.send-input[data-v-
|
11
|
+
.send-input[data-v-nf018fec] {
|
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-nf018fec]:has(textarea:focus) {
|
17
17
|
height: var(--text-height);
|
18
18
|
}
|
19
|
-
.send-input[data-v-
|
19
|
+
.send-input[data-v-nf018fec] 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-nf018fec] textarea::-webkit-scrollbar {
|
26
26
|
width: 4px;
|
27
27
|
height: 4px;
|
28
28
|
}
|
29
|
-
.send-input[data-v-
|
29
|
+
.send-input[data-v-nf018fec] 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-nf018fec] textarea::placeholder {
|
35
35
|
line-height: 16px;
|
36
36
|
}
|
37
|
-
.send-clear[data-v-
|
37
|
+
.send-clear[data-v-nf018fec] {
|
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-nf018fec]: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-gr5mzrtc] {
|
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-gr5mzrtc] {
|
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-gr5mzrtc] {
|
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-gr5mzrtc] {
|
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-gr5mzrtc] {
|
22
22
|
margin-bottom: 0;
|
23
23
|
}
|
24
|
-
.plus-tag[data-v-
|
24
|
+
.plus-tag[data-v-gr5mzrtc] {
|
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-gr5mzrtc] {
|
34
34
|
font-size: 14px;
|
35
35
|
margin-right: 6px;
|
36
36
|
}
|
37
|
-
.plus-tag[data-v-
|
37
|
+
.plus-tag[data-v-gr5mzrtc]:hover {
|
38
38
|
color: #3A84FF;
|
39
39
|
}
|
@@ -1,10 +1,10 @@
|
|
1
1
|
|
2
|
-
.collapse-title[data-v-
|
2
|
+
.collapse-title[data-v-8oz7edc5] {
|
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-8oz7edc5] {
|
9
9
|
transform: rotate(-90deg);
|
10
10
|
}
|
@@ -1,15 +1,15 @@
|
|
1
1
|
|
2
|
-
.content[data-v-
|
2
|
+
.content[data-v-ze2mr4l8] {
|
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-ze2mr4l8] {
|
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-ze2mr4l8] .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-ze2mr4l8";
|
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-y9kkcc0u] {
|
3
3
|
padding: 0 24px 0px 32px;
|
4
4
|
height: 100%;
|
5
5
|
}
|
6
|
-
.content .toolbar[data-v-
|
6
|
+
.content .toolbar[data-v-y9kkcc0u] {
|
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-y9kkcc0u] {
|
14
14
|
width: 360px;
|
15
15
|
}
|
16
|
-
.content .toolbar .record-data-picker[data-v-
|
16
|
+
.content .toolbar .record-data-picker[data-v-y9kkcc0u] {
|
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-y9kkcc0u";
|
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-g2ge7c2x";
|
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-zwiqspup] {
|
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-zwiqspup] {
|
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-zwiqspup";
|
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-hgp5y3pd] {
|
3
3
|
padding: 20px 24px;
|
4
4
|
height: 100%;
|
5
5
|
}
|
6
|
-
.dataset-data-slider[data-v-
|
6
|
+
.dataset-data-slider[data-v-hgp5y3pd] .bk-modal-content {
|
7
7
|
scrollbar-gutter: inherit !important;
|
8
8
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import script from './footer.script.vue.js.js';
|
2
|
-
script.__scopeId = "data-v-
|
2
|
+
script.__scopeId = "data-v-z9dpnark";
|
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-op8mib8f] {
|
3
3
|
padding: 20px 24px;
|
4
4
|
}
|
5
|
-
.plus-dataset-sideslider[data-v-
|
5
|
+
.plus-dataset-sideslider[data-v-op8mib8f] .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-op8mib8f";
|
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;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import script from './index.script.vue.js';
|
2
|
-
script.__scopeId = "data-v-
|
2
|
+
script.__scopeId = "data-v-41rwu8nx";
|
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-s1gqmosk] {
|
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-s1gqmosk] {
|
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-s1gqmosk] {
|
14
14
|
width: 6.17rem;
|
15
15
|
}
|
@@ -1,15 +1,15 @@
|
|
1
1
|
|
2
|
-
.main-content[data-v-
|
2
|
+
.main-content[data-v-vyc60oz5] {
|
3
3
|
padding: 20px 24px;
|
4
4
|
height: calc(100% - 52px);
|
5
5
|
}
|
6
|
-
.main-panel[data-v-
|
6
|
+
.main-panel[data-v-vyc60oz5] {
|
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-vyc60oz5] {
|
14
14
|
width: 6.17rem;
|
15
15
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
|
2
|
-
.expend-collapse-home[data-v-
|
2
|
+
.expend-collapse-home[data-v-jkxr0vwr] {
|
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-jkxr0vwr]:hover {
|
19
19
|
background: #979BA5;
|
20
20
|
}
|
21
|
-
.expend-collapse-home.is-close[data-v-
|
21
|
+
.expend-collapse-home.is-close[data-v-jkxr0vwr] {
|
22
22
|
left: 0;
|
23
23
|
}
|
@@ -1,21 +1,21 @@
|
|
1
1
|
|
2
|
-
.upload-file-home[data-v-
|
2
|
+
.upload-file-home[data-v-zepnuggw] {
|
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-zepnuggw]: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-zepnuggw] {
|
13
13
|
display: flex;
|
14
14
|
}
|
15
|
-
.upload-file-home .file-icon[data-v-
|
15
|
+
.upload-file-home .file-icon[data-v-zepnuggw] {
|
16
16
|
font-size: 32px;
|
17
17
|
}
|
18
|
-
.upload-file-home .file-content[data-v-
|
18
|
+
.upload-file-home .file-content[data-v-zepnuggw] {
|
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-zepnuggw] {
|
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-zepnuggw] {
|
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-zepnuggw] {
|
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-zepnuggw] {
|
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-zepnuggw]: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-zepnuggw] {
|
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-igbwgfda] {
|
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-igbwgfda], .ai-ui-sdk-icon.ai-ui-sdk-ppt-2[data-v-igbwgfda], .ai-ui-sdk-icon.ai-ui-sdk-markdown[data-v-igbwgfda] {
|
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-igbwgfda] {
|
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-igbwgfda] {
|
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-igbwgfda] {
|
15
15
|
color: #14A568;
|
16
16
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
|
2
|
-
.header-home[data-v-
|
2
|
+
.header-home[data-v-2vszgxjh] {
|
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-2vszgxjh] {
|
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-2vszgxjh] {
|
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-2vszgxjh] {
|
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-2vszgxjh] {
|
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-hjv6ms32] {
|
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-hjv6ms32] {
|
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-hjv6ms32] {
|
19
19
|
color: #3A84FF;
|
20
20
|
border-bottom: 2px solid #3A84FF;
|
21
21
|
}
|
@@ -542,7 +542,7 @@ export const useChat = ({ handleStart, handleText, handleReferenceDoc, handleThi
|
|
542
542
|
execute_kwargs: {
|
543
543
|
stream: true
|
544
544
|
}
|
545
|
-
}, data),
|
545
|
+
}, data, currentRequestOptions.value.data),
|
546
546
|
headers: headers || ((_currentRequestOptions_value = currentRequestOptions.value) === null || _currentRequestOptions_value === void 0 ? void 0 : _currentRequestOptions_value.headers)
|
547
547
|
});
|
548
548
|
}
|
@@ -154,7 +154,7 @@ export const useDatasetHttp = (apiPrefix, spaceId)=>{
|
|
154
154
|
};
|
155
155
|
// 下载数据集数据模板文件
|
156
156
|
const downloadDatasetDataTemplateFile = (id)=>{
|
157
|
-
const url = `${apiPrefix}/${datasetPerfix}/dataset/${id}/download
|
157
|
+
const url = `${apiPrefix}/${datasetPerfix}/dataset/${id}/download/?responseType=arraybuffer`;
|
158
158
|
window.open(url, '_blank');
|
159
159
|
};
|
160
160
|
// 获取schema列表
|
@@ -1,3 +1,55 @@
|
|
1
|
+
function _define_property(obj, key, value) {
|
2
|
+
if (key in obj) {
|
3
|
+
Object.defineProperty(obj, key, {
|
4
|
+
value: value,
|
5
|
+
enumerable: true,
|
6
|
+
configurable: true,
|
7
|
+
writable: true
|
8
|
+
});
|
9
|
+
} else {
|
10
|
+
obj[key] = value;
|
11
|
+
}
|
12
|
+
return obj;
|
13
|
+
}
|
14
|
+
function _object_spread(target) {
|
15
|
+
for(var i = 1; i < arguments.length; i++){
|
16
|
+
var source = arguments[i] != null ? arguments[i] : {};
|
17
|
+
var ownKeys = Object.keys(source);
|
18
|
+
if (typeof Object.getOwnPropertySymbols === "function") {
|
19
|
+
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
20
|
+
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
21
|
+
}));
|
22
|
+
}
|
23
|
+
ownKeys.forEach(function(key) {
|
24
|
+
_define_property(target, key, source[key]);
|
25
|
+
});
|
26
|
+
}
|
27
|
+
return target;
|
28
|
+
}
|
29
|
+
function ownKeys(object, enumerableOnly) {
|
30
|
+
var keys = Object.keys(object);
|
31
|
+
if (Object.getOwnPropertySymbols) {
|
32
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
33
|
+
if (enumerableOnly) {
|
34
|
+
symbols = symbols.filter(function(sym) {
|
35
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
36
|
+
});
|
37
|
+
}
|
38
|
+
keys.push.apply(keys, symbols);
|
39
|
+
}
|
40
|
+
return keys;
|
41
|
+
}
|
42
|
+
function _object_spread_props(target, source) {
|
43
|
+
source = source != null ? source : {};
|
44
|
+
if (Object.getOwnPropertyDescriptors) {
|
45
|
+
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
46
|
+
} else {
|
47
|
+
ownKeys(Object(source)).forEach(function(key) {
|
48
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
49
|
+
});
|
50
|
+
}
|
51
|
+
return target;
|
52
|
+
}
|
1
53
|
import { transferKnowledge, transferKnowledgeApi, transferKnowledgeApi2Knowledgebase, transferKnowledgebase, transferKnowledgebase2KnowledgeApi, transferKnowledgebaseApi } from './knowledge.ts.js';
|
2
54
|
import { transferTool, transferToolApi } from './tool.ts.js';
|
3
55
|
import { SessionContentRole, SessionPromptRole } from '../../types/enum.ts.js';
|
@@ -71,6 +123,8 @@ import { SessionContentRole, SessionPromptRole } from '../../types/enum.ts.js';
|
|
71
123
|
sessionCode: data.session_code,
|
72
124
|
sessionName: data.session_name,
|
73
125
|
model: data.model,
|
126
|
+
updatedAt: data.updated_at,
|
127
|
+
createdAt: data.created_at,
|
74
128
|
roleInfo: data.role_info ? {
|
75
129
|
collectionId: data.role_info.collection_id,
|
76
130
|
collectionName: data.role_info.collection_name,
|
@@ -99,6 +153,8 @@ import { SessionContentRole, SessionPromptRole } from '../../types/enum.ts.js';
|
|
99
153
|
session_code: data.sessionCode,
|
100
154
|
session_name: data.sessionName,
|
101
155
|
model: data.model || undefined,
|
156
|
+
updated_at: data.updatedAt,
|
157
|
+
created_at: data.createdAt,
|
102
158
|
role_info: data.roleInfo ? {
|
103
159
|
collection_id: data.roleInfo.collectionId,
|
104
160
|
collection_name: data.roleInfo.collectionName,
|
@@ -147,7 +203,7 @@ import { SessionContentRole, SessionPromptRole } from '../../types/enum.ts.js';
|
|
147
203
|
* @param data 前端使用的 session 内容数据
|
148
204
|
* @returns API 使用的 session 内容数据
|
149
205
|
*/ export const transferSessionContent2SessionContentApi = (data)=>{
|
150
|
-
var _data_property_extra_tools, _data_property_extra,
|
206
|
+
var _data_property, _data_property_extra_tools, _data_property_extra, _data_property1, _data_property_extra_anchorPathResources_knowledges, _data_property_extra_anchorPathResources, _data_property_extra1, _data_property2, _data_property_extra_anchorPathResources_knowledgebases, _data_property_extra_anchorPathResources1, _data_property_extra2, _data_property3, _data_property_extra_anchorPathResources_knowledgeFolders, _data_property_extra_anchorPathResources2, _data_property_extra3, _data_property4;
|
151
207
|
return {
|
152
208
|
id: data.id,
|
153
209
|
session_code: data.sessionCode,
|
@@ -162,16 +218,14 @@ import { SessionContentRole, SessionPromptRole } from '../../types/enum.ts.js';
|
|
162
218
|
rate: data.rate,
|
163
219
|
status: data.status,
|
164
220
|
property: {
|
165
|
-
extra: {
|
166
|
-
tools: (
|
221
|
+
extra: _object_spread_props(_object_spread({}, data === null || data === void 0 ? void 0 : (_data_property = data.property) === null || _data_property === void 0 ? void 0 : _data_property.extra), {
|
222
|
+
tools: (_data_property1 = data.property) === null || _data_property1 === void 0 ? void 0 : (_data_property_extra = _data_property1.extra) === null || _data_property_extra === void 0 ? void 0 : (_data_property_extra_tools = _data_property_extra.tools) === null || _data_property_extra_tools === void 0 ? void 0 : _data_property_extra_tools.map(transferTool),
|
167
223
|
anchor_path_resources: {
|
168
|
-
knowledges: (
|
169
|
-
knowledgebases: (
|
170
|
-
knowledge_folders: (
|
171
|
-
}
|
172
|
-
|
173
|
-
shortcut: (_data_property5 = data.property) === null || _data_property5 === void 0 ? void 0 : (_data_property_extra5 = _data_property5.extra) === null || _data_property_extra5 === void 0 ? void 0 : _data_property_extra5.shortcut
|
174
|
-
}
|
224
|
+
knowledges: (_data_property2 = data.property) === null || _data_property2 === void 0 ? void 0 : (_data_property_extra1 = _data_property2.extra) === null || _data_property_extra1 === void 0 ? void 0 : (_data_property_extra_anchorPathResources = _data_property_extra1.anchorPathResources) === null || _data_property_extra_anchorPathResources === void 0 ? void 0 : (_data_property_extra_anchorPathResources_knowledges = _data_property_extra_anchorPathResources.knowledges) === null || _data_property_extra_anchorPathResources_knowledges === void 0 ? void 0 : _data_property_extra_anchorPathResources_knowledges.map(transferKnowledge),
|
225
|
+
knowledgebases: (_data_property3 = data.property) === null || _data_property3 === void 0 ? void 0 : (_data_property_extra2 = _data_property3.extra) === null || _data_property_extra2 === void 0 ? void 0 : (_data_property_extra_anchorPathResources1 = _data_property_extra2.anchorPathResources) === null || _data_property_extra_anchorPathResources1 === void 0 ? void 0 : (_data_property_extra_anchorPathResources_knowledgebases = _data_property_extra_anchorPathResources1.knowledgebases) === null || _data_property_extra_anchorPathResources_knowledgebases === void 0 ? void 0 : _data_property_extra_anchorPathResources_knowledgebases.map(transferKnowledgebase),
|
226
|
+
knowledge_folders: (_data_property4 = data.property) === null || _data_property4 === void 0 ? void 0 : (_data_property_extra3 = _data_property4.extra) === null || _data_property_extra3 === void 0 ? void 0 : (_data_property_extra_anchorPathResources2 = _data_property_extra3.anchorPathResources) === null || _data_property_extra_anchorPathResources2 === void 0 ? void 0 : (_data_property_extra_anchorPathResources_knowledgeFolders = _data_property_extra_anchorPathResources2.knowledgeFolders) === null || _data_property_extra_anchorPathResources_knowledgeFolders === void 0 ? void 0 : _data_property_extra_anchorPathResources_knowledgeFolders.map(transferKnowledgebase2KnowledgeApi)
|
227
|
+
}
|
228
|
+
})
|
175
229
|
}
|
176
230
|
};
|
177
231
|
};
|
package/dist/types/enum.d.ts
CHANGED
@@ -165,7 +165,6 @@ export declare enum ResourcePermissionAction {
|
|
165
165
|
}
|
166
166
|
export declare enum PlatformPermissionAction {
|
167
167
|
AccessPlatform = "access_platform",
|
168
|
-
AccessDataset = "access_dataset",
|
169
168
|
ManagePlatform = "manage_platform",
|
170
169
|
ManageModel = "manage_model",
|
171
170
|
ManageAuthorization = "manage_authorization",
|
package/dist/types/enum.ts.js
CHANGED
@@ -186,7 +186,6 @@ export var ResourcePermissionAction;
|
|
186
186
|
export var PlatformPermissionAction;
|
187
187
|
(function(PlatformPermissionAction) {
|
188
188
|
PlatformPermissionAction["AccessPlatform"] = "access_platform";
|
189
|
-
PlatformPermissionAction["AccessDataset"] = "access_dataset";
|
190
189
|
PlatformPermissionAction["ManagePlatform"] = "manage_platform";
|
191
190
|
PlatformPermissionAction["ManageModel"] = "manage_model";
|
192
191
|
PlatformPermissionAction["ManageAuthorization"] = "manage_authorization";
|
package/dist/types/session.d.ts
CHANGED
@@ -62,6 +62,8 @@ export interface ISessionApi {
|
|
62
62
|
session_code: string;
|
63
63
|
session_name: string;
|
64
64
|
model?: string;
|
65
|
+
updated_at: string;
|
66
|
+
created_at: string;
|
65
67
|
role_info?: {
|
66
68
|
collection_id: number;
|
67
69
|
collection_name: string;
|
@@ -86,6 +88,8 @@ export interface ISession {
|
|
86
88
|
sessionCode: string;
|
87
89
|
sessionName: string;
|
88
90
|
model?: string;
|
91
|
+
updatedAt: string;
|
92
|
+
createdAt: string;
|
89
93
|
roleInfo?: {
|
90
94
|
collectionId: number;
|
91
95
|
collectionName: string;
|
@@ -120,6 +124,7 @@ export interface ChatCallbacks<T extends ISessionContent = ISessionContent> {
|
|
120
124
|
requestOptions: {
|
121
125
|
url: string;
|
122
126
|
headers?: Record<string, string>;
|
127
|
+
data?: Record<string, unknown>;
|
123
128
|
};
|
124
129
|
}
|
125
130
|
export interface SummaryCallbacks {
|
package/package.json
CHANGED
@@ -1,12 +1,11 @@
|
|
1
1
|
{
|
2
2
|
"name": "@blueking/ai-ui-sdk",
|
3
|
-
"version": "0.1.
|
3
|
+
"version": "0.1.4",
|
4
4
|
"description": "蓝鲸AI UI SDK",
|
5
5
|
"main": "dist/main.js",
|
6
6
|
"types": "dist/main.d.ts",
|
7
7
|
"scripts": {
|
8
|
-
"build": "bk-cli-service build &&
|
9
|
-
"cp": "rm -rf /data/home/home/bk-aidev/src/frontend/website/node_modules/@blueking/ai-ui-sdk/dist && cp -r dist /data/home/home/bk-aidev/src/frontend/website/node_modules/@blueking/ai-ui-sdk"
|
8
|
+
"build": "bk-cli-service build && vue-tsc --emitDeclarationOnly"
|
10
9
|
},
|
11
10
|
"files": [
|
12
11
|
"dist"
|