@blueking/ai-ui-sdk 0.1.18-beta.14 → 0.1.18-beta.16

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.
Files changed (56) hide show
  1. package/dist/components/render-aside/index.vue.css +9 -9
  2. package/dist/components/render-aside/index.vue.js +1 -1
  3. package/dist/components/render-auto-height-textarea/index.vue.css +11 -11
  4. package/dist/components/render-auto-height-textarea/index.vue.js +1 -1
  5. package/dist/components/render-auto-refresh/index.vue.css +8 -8
  6. package/dist/components/render-auto-refresh/index.vue.js +1 -1
  7. package/dist/components/render-checkbox/index.vue.css +9 -9
  8. package/dist/components/render-checkbox/index.vue.js +1 -1
  9. package/dist/components/render-choose-tag/index.vue.css +7 -7
  10. package/dist/components/render-choose-tag/index.vue.js +1 -1
  11. package/dist/components/render-collapse/index.vue.css +2 -2
  12. package/dist/components/render-collapse/index.vue.js +1 -1
  13. package/dist/components/render-dataset/components/dataset-data-tool-icons/index.script.vue.js +1 -1
  14. package/dist/components/render-dataset/components/edit-dataset-data/index.vue.css +3 -3
  15. package/dist/components/render-dataset/components/edit-dataset-data/index.vue.js +1 -1
  16. package/dist/components/render-dataset/components/operation-record/index.vue.css +4 -4
  17. package/dist/components/render-dataset/components/operation-record/index.vue.js +1 -1
  18. package/dist/components/render-dataset/components/operation-record/table/index.vue.css +1 -1
  19. package/dist/components/render-dataset/components/operation-record/table/index.vue.js +1 -1
  20. package/dist/components/render-dataset/components/operation-record/view-op-result/index.vue.css +2 -2
  21. package/dist/components/render-dataset/components/operation-record/view-op-result/index.vue.js +1 -1
  22. package/dist/components/render-dataset/components/plus-dataset/index.vue.css +2 -2
  23. package/dist/components/render-dataset/components/plus-dataset/index.vue.js +1 -1
  24. package/dist/components/render-dataset/components/plus-dataset-data/form/api.vue.css +2 -2
  25. package/dist/components/render-dataset/components/plus-dataset-data/form/api.vue.js +1 -1
  26. package/dist/components/render-dataset/components/plus-dataset-data/form/footer.vue.css +1 -1
  27. package/dist/components/render-dataset/components/plus-dataset-data/form/footer.vue.js +1 -1
  28. package/dist/components/render-dataset/components/plus-dataset-data/form/index.vue.css +2 -2
  29. package/dist/components/render-dataset/components/plus-dataset-data/form/index.vue.js +1 -1
  30. package/dist/components/render-dataset/components/review-dataset-data/index.vue.css +10 -10
  31. package/dist/components/render-dataset/components/review-dataset-data/index.vue.js +1 -1
  32. package/dist/components/render-dataset/index.vue.css +1 -1
  33. package/dist/components/render-dataset/index.vue.js +1 -1
  34. package/dist/components/render-dataset-detail-origin-data/index.vue.css +3 -3
  35. package/dist/components/render-dataset-detail-origin-data/index.vue.js +1 -1
  36. package/dist/components/render-dataset-list/components/main.vue.css +3 -3
  37. package/dist/components/render-dataset-list/components/main.vue.js +1 -1
  38. package/dist/components/render-expand-collapse/index.vue.css +3 -3
  39. package/dist/components/render-expand-collapse/index.vue.js +1 -1
  40. package/dist/components/render-file-card/index.vue.css +11 -11
  41. package/dist/components/render-file-card/index.vue.js +1 -1
  42. package/dist/components/render-file-type-icon/index.vue.css +5 -5
  43. package/dist/components/render-file-type-icon/index.vue.js +1 -1
  44. package/dist/components/render-header/index.vue.css +5 -5
  45. package/dist/components/render-header/index.vue.js +1 -1
  46. package/dist/components/render-like/index.script.vue.js.js +4 -4
  47. package/dist/components/render-like/index.vue.css +5 -5
  48. package/dist/components/render-like/index.vue.d.ts +3 -2
  49. package/dist/components/render-like/index.vue.js +1 -1
  50. package/dist/components/render-router-tab/index.vue.css +3 -3
  51. package/dist/components/render-router-tab/index.vue.js +1 -1
  52. package/dist/hooks/use-session-http.d.ts +8 -2
  53. package/dist/hooks/use-session-http.ts.js +2 -2
  54. package/dist/hooks/use-think.ts.js +1 -0
  55. package/dist/http/helper/session.ts.js +4 -0
  56. package/package.json +1 -1
@@ -1,12 +1,12 @@
1
1
 
2
- .aside-home[data-v-iey6h65v] {
2
+ .aside-home[data-v-rwo7mp0p] {
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-iey6h65v] .aside-item {
9
+ [data-v-rwo7mp0p] .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-iey6h65v] .aside-item.is-tab {
19
+ [data-v-rwo7mp0p] .aside-item.is-tab {
20
20
  background: #F5F7FA;
21
21
  cursor: pointer;
22
22
  color: #4D4F56;
23
23
  }
24
- [data-v-iey6h65v] .aside-item.is-tab:hover {
24
+ [data-v-rwo7mp0p] .aside-item.is-tab:hover {
25
25
  background: #F0F5FF;
26
26
  }
27
- [data-v-iey6h65v] .aside-item.active {
27
+ [data-v-rwo7mp0p] .aside-item.active {
28
28
  background: #F0F5FF;
29
29
  color: #3A84FF;
30
30
  font-weight: 700;
31
31
  }
32
- [data-v-iey6h65v] .aside-item.active .tab-num {
32
+ [data-v-rwo7mp0p] .aside-item.active .tab-num {
33
33
  background: #3A84FF;
34
34
  color: #fff;
35
35
  }
36
- [data-v-iey6h65v] .aside-item.active .active-text {
36
+ [data-v-rwo7mp0p] .aside-item.active .active-text {
37
37
  color: #3A84FF;
38
38
  }
39
- [data-v-iey6h65v] .aside-item .tab-name {
39
+ [data-v-rwo7mp0p] .aside-item .tab-name {
40
40
  flex: 1;
41
41
  }
42
- [data-v-iey6h65v] .aside-item .tab-num {
42
+ [data-v-rwo7mp0p] .aside-item .tab-num {
43
43
  background: #EAEBF0;
44
44
  border-radius: 2px;
45
45
  margin-left: 5px;
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js';
2
- script.__scopeId = "data-v-iey6h65v";
2
+ script.__scopeId = "data-v-rwo7mp0p";
3
3
  script.__file = "./src/components/render-aside/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,40 +1,40 @@
1
1
 
2
- .send-container[data-v-6org1yud] {
2
+ .send-container[data-v-7opc9pre] {
3
3
  position: relative;
4
4
  }
5
- .send-container[data-v-6org1yud]:has(textarea:focus) {
5
+ .send-container[data-v-7opc9pre]:has(textarea:focus) {
6
6
  z-index: 2;
7
7
  }
8
- .send-container:hover .send-clear[data-v-6org1yud] {
8
+ .send-container:hover .send-clear[data-v-7opc9pre] {
9
9
  display: inline-flex !important;
10
10
  }
11
- .send-input[data-v-6org1yud] {
11
+ .send-input[data-v-7opc9pre] {
12
12
  width: 100%;
13
13
  flex-direction: row;
14
14
  height: var(--origin-height);
15
15
  }
16
- .send-input[data-v-6org1yud]:has(textarea:focus) {
16
+ .send-input[data-v-7opc9pre]:has(textarea:focus) {
17
17
  height: var(--text-height);
18
18
  }
19
- .send-input[data-v-6org1yud] textarea {
19
+ .send-input[data-v-7opc9pre] 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-6org1yud] textarea::-webkit-scrollbar {
25
+ .send-input[data-v-7opc9pre] textarea::-webkit-scrollbar {
26
26
  width: 4px;
27
27
  height: 4px;
28
28
  }
29
- .send-input[data-v-6org1yud] textarea::-webkit-scrollbar-thumb {
29
+ .send-input[data-v-7opc9pre] 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-6org1yud] textarea::placeholder {
34
+ .send-input[data-v-7opc9pre] textarea::placeholder {
35
35
  line-height: 16px;
36
36
  }
37
- .send-clear[data-v-6org1yud] {
37
+ .send-clear[data-v-7opc9pre] {
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-6org1yud]:hover {
46
+ .send-clear[data-v-7opc9pre]:hover {
47
47
  color: #313238;
48
48
  }
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-6org1yud";
2
+ script.__scopeId = "data-v-7opc9pre";
3
3
  script.__file = "./src/components/render-auto-height-textarea/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,11 +1,11 @@
1
1
 
2
- .auto-refresh[data-v-3zqkh2mk] {
2
+ .auto-refresh[data-v-8wssuovd] {
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-3zqkh2mk]:after {
8
+ .auto-refresh[data-v-8wssuovd]: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-3zqkh2mk]:hover {
18
+ .auto-refresh[data-v-8wssuovd]:hover {
19
19
  color: #3A84FF;
20
20
  background-color: #E1ECFF;
21
21
  }
22
- .refresh[data-v-3zqkh2mk] {
22
+ .refresh[data-v-8wssuovd] {
23
23
  cursor: pointer;
24
24
  line-height: 26px;
25
25
  padding: 0 4px;
26
26
  }
27
- .refresh[data-v-3zqkh2mk]:hover {
27
+ .refresh[data-v-8wssuovd]:hover {
28
28
  color: #3A84FF;
29
29
  background-color: #E1ECFF;
30
30
  }
31
- .textarea-list[data-v-3zqkh2mk] {
31
+ .textarea-list[data-v-8wssuovd] {
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-3zqkh2mk] {
38
+ .textarea-list .textarea-item[data-v-8wssuovd] {
39
39
  padding: 0 12px;
40
40
  cursor: pointer;
41
41
  }
42
- .textarea-list .textarea-item[data-v-3zqkh2mk]:hover {
42
+ .textarea-list .textarea-item[data-v-8wssuovd]:hover {
43
43
  background: #E1ECFF;
44
44
  color: #3A84FF;
45
45
  }
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-3zqkh2mk";
2
+ script.__scopeId = "data-v-8wssuovd";
3
3
  script.__file = "./src/components/render-auto-refresh/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,5 +1,5 @@
1
1
 
2
- .checkbox[data-v-mjyozeuu] {
2
+ .checkbox[data-v-urzf59l4] {
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-mjyozeuu] {
11
+ .checkbox.disabled[data-v-urzf59l4] {
12
12
  cursor: not-allowed;
13
13
  background: #fafbfd;
14
14
  border-color: #dcdee5;
15
15
  }
16
- .checkbox.disabled.checked[data-v-mjyozeuu] {
16
+ .checkbox.disabled.checked[data-v-urzf59l4] {
17
17
  background-color: #a3c5fd;
18
18
  border-color: #a3c5fd;
19
19
  }
20
- .checkbox.disabled.indeterminate[data-v-mjyozeuu] {
20
+ .checkbox.disabled.indeterminate[data-v-urzf59l4] {
21
21
  background-color: #fafbfd;
22
22
  border-color: #dcdee5;
23
23
  }
24
- .checkbox.disabled.indeterminate[data-v-mjyozeuu]:after {
24
+ .checkbox.disabled.indeterminate[data-v-urzf59l4]:after {
25
25
  background: #dcdee5;
26
26
  }
27
- .checkbox.checked[data-v-mjyozeuu] {
27
+ .checkbox.checked[data-v-urzf59l4] {
28
28
  background-color: #3a84ff;
29
29
  border: 1px solid #3a84ff;
30
30
  }
31
- .checkbox.checked[data-v-mjyozeuu]:after {
31
+ .checkbox.checked[data-v-urzf59l4]: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-mjyozeuu] {
44
+ .checkbox.indeterminate[data-v-urzf59l4] {
45
45
  background-color: #3a84ff;
46
46
  border: 1px solid #3a84ff;
47
47
  }
48
- .checkbox.indeterminate[data-v-mjyozeuu]:after {
48
+ .checkbox.indeterminate[data-v-urzf59l4]:after {
49
49
  position: absolute;
50
50
  top: 50%;
51
51
  left: 50%;
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-mjyozeuu";
2
+ script.__scopeId = "data-v-urzf59l4";
3
3
  script.__file = "./src/components/render-checkbox/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,29 +1,29 @@
1
1
 
2
- .plus-tag-input[data-v-zreoo3ye] {
2
+ .plus-tag-input[data-v-wgkvawcn] {
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-zreoo3ye] {
8
+ .plus-tag-input .plus-tag-done[data-v-wgkvawcn] {
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-zreoo3ye] {
14
+ .plus-tag-input .plus-tag-error[data-v-wgkvawcn] {
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-zreoo3ye] {
20
+ .plus-tag-input .plus-tag-form[data-v-wgkvawcn] {
21
21
  flex: 1;
22
22
  }
23
- .plus-tag-input .plus-tag-form-item[data-v-zreoo3ye] {
23
+ .plus-tag-input .plus-tag-form-item[data-v-wgkvawcn] {
24
24
  margin-bottom: 0;
25
25
  }
26
- .plus-tag[data-v-zreoo3ye] {
26
+ .plus-tag[data-v-wgkvawcn] {
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-zreoo3ye]:hover {
39
+ .plus-tag[data-v-wgkvawcn]:hover {
40
40
  color: #3A84FF;
41
41
  }
42
42
 
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-zreoo3ye";
2
+ script.__scopeId = "data-v-wgkvawcn";
3
3
  script.__file = "./src/components/render-choose-tag/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,10 +1,10 @@
1
1
 
2
- .collapse-title[data-v-wnlqebob] {
2
+ .collapse-title[data-v-fq0634hq] {
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-wnlqebob] {
8
+ .collapse-title .is-hidden[data-v-fq0634hq] {
9
9
  transform: rotate(-90deg);
10
10
  }
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-wnlqebob";
2
+ script.__scopeId = "data-v-fq0634hq";
3
3
  script.__file = "./src/components/render-collapse/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -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-rb1fyw1x><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-rb1fyw1x></i><span class=\"g-text-12 click-full-screen\" data-v-rb1fyw1x>全屏</span></span><span class=\"click-un-full-screen g-cursor-pointer g-flex-row\" data-v-rb1fyw1x><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-rb1fyw1x></i><span class=\"g-text-12 click-un-full-screen\" data-v-rb1fyw1x>取消全屏</span></span>", 2))
42
+ _cache[1] || (_cache[1] = _createStaticVNode("<span class=\"click-full-screen g-cursor-pointer g-flex-row\" data-v-slv4b6xw><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-slv4b6xw></i><span class=\"g-text-12 click-full-screen\" data-v-slv4b6xw>全屏</span></span><span class=\"click-un-full-screen g-cursor-pointer g-flex-row\" data-v-slv4b6xw><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-slv4b6xw></i><span class=\"g-text-12 click-un-full-screen\" data-v-slv4b6xw>取消全屏</span></span>", 2))
43
43
  ]);
44
44
  };
45
45
  }
@@ -1,15 +1,15 @@
1
1
 
2
- .content[data-v-cchm49bg] {
2
+ .content[data-v-c5in3u2n] {
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-cchm49bg] {
7
+ .data-set-edit-slider .value-content[data-v-c5in3u2n] {
8
8
  padding: 16px;
9
9
  border: 1px solid #DCDEE5;
10
10
  line-height: 22px;
11
11
  }
12
- .data-set-edit-slider[data-v-cchm49bg] .bk-sideslider-title {
12
+ .data-set-edit-slider[data-v-c5in3u2n] .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-cchm49bg";
2
+ script.__scopeId = "data-v-c5in3u2n";
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-bfe3vc6v] {
2
+ .content[data-v-tao1qj5r] {
3
3
  padding: 0 24px 0px 32px;
4
4
  height: 100%;
5
5
  }
6
- .content .toolbar[data-v-bfe3vc6v] {
6
+ .content .toolbar[data-v-tao1qj5r] {
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-bfe3vc6v] {
13
+ .content .toolbar .record-search[data-v-tao1qj5r] {
14
14
  width: 360px;
15
15
  }
16
- .content .toolbar .record-data-picker[data-v-bfe3vc6v] {
16
+ .content .toolbar .record-data-picker[data-v-tao1qj5r] {
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-bfe3vc6v";
2
+ script.__scopeId = "data-v-tao1qj5r";
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
 
2
- .text[data-v-aplz758g] {
2
+ .text[data-v-sq1w5yfm] {
3
3
  display: -webkit-box;
4
4
  -webkit-line-clamp: 2;
5
5
  -webkit-box-orient: vertical;
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-aplz758g";
2
+ script.__scopeId = "data-v-sq1w5yfm";
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;
@@ -1,10 +1,10 @@
1
1
 
2
- .content[data-v-pbght22f] {
2
+ .content[data-v-q5s99hzq] {
3
3
  padding: 18px 24px 0;
4
4
  height: 100%;
5
5
  overflow: auto;
6
6
  }
7
- .content .value-content[data-v-pbght22f] {
7
+ .content .value-content[data-v-q5s99hzq] {
8
8
  margin-top: 8px;
9
9
  padding: 16px;
10
10
  border: 1px solid #DCDEE5;
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-pbght22f";
2
+ script.__scopeId = "data-v-q5s99hzq";
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-mk88rgd9] {
2
+ .dataset-data-content[data-v-tqrih3ge] {
3
3
  padding: 20px 24px;
4
4
  height: 100%;
5
5
  }
6
- .dataset-data-slider[data-v-mk88rgd9] .bk-modal-content {
6
+ .dataset-data-slider[data-v-tqrih3ge] .bk-modal-content {
7
7
  scrollbar-gutter: inherit !important;
8
8
  }
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-mk88rgd9";
2
+ script.__scopeId = "data-v-tqrih3ge";
3
3
  script.__file = "./src/components/render-dataset/components/plus-dataset/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,10 +1,10 @@
1
1
 
2
- .dataset-data-api-endpoint[data-v-d5xuw0rj] {
2
+ .dataset-data-api-endpoint[data-v-hlehv50y] {
3
3
  line-height: 44px;
4
4
  background: #F5F7FA;
5
5
  border-radius: 2px;
6
6
  padding: 0 12px;
7
7
  }
8
- [data-v-d5xuw0rj] .dataset-data-api-demo .v-show-content {
8
+ [data-v-hlehv50y] .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-d5xuw0rj";
2
+ script.__scopeId = "data-v-hlehv50y";
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;
@@ -1,5 +1,5 @@
1
1
 
2
- .footer-button[data-v-40tw5a3f] {
2
+ .footer-button[data-v-ioeugg5r] {
3
3
  width: 88px;
4
4
  margin-right: 8px;
5
5
  }
@@ -1,5 +1,5 @@
1
1
  import script from './footer.script.vue.js.js';
2
- script.__scopeId = "data-v-40tw5a3f";
2
+ script.__scopeId = "data-v-ioeugg5r";
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-xe52qpbd] {
2
+ .plus-dataset-data[data-v-d9sn6xh3] {
3
3
  padding: 20px 24px;
4
4
  }
5
- .plus-dataset-sideslider[data-v-xe52qpbd] .bk-modal-content {
5
+ .plus-dataset-sideslider[data-v-d9sn6xh3] .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-xe52qpbd";
2
+ script.__scopeId = "data-v-d9sn6xh3";
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,41 +1,41 @@
1
1
 
2
- .content[data-v-l5ywuzvg] {
2
+ .content[data-v-nev48ddd] {
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-l5ywuzvg] {
7
+ .data-set-review-slider .value-content[data-v-nev48ddd] {
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-l5ywuzvg] {
12
+ .data-set-review-slider .review-data[data-v-nev48ddd] {
13
13
  height: calc(100% - 337px);
14
14
  padding: 18px 24px;
15
15
  }
16
- .data-set-review-slider .review-level[data-v-l5ywuzvg] {
16
+ .data-set-review-slider .review-level[data-v-nev48ddd] {
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-l5ywuzvg] {
21
+ .data-set-review-slider .review-level .level-score[data-v-nev48ddd] {
22
22
  gap: 50px;
23
23
  }
24
- .data-set-review-slider .review-level .level-score .bk-form-item[data-v-l5ywuzvg] {
24
+ .data-set-review-slider .review-level .level-score .bk-form-item[data-v-nev48ddd] {
25
25
  flex: 1;
26
26
  }
27
- .data-set-review-slider .bold-title[data-v-l5ywuzvg] .bk-form-label {
27
+ .data-set-review-slider .bold-title[data-v-nev48ddd] .bk-form-label {
28
28
  font-weight: bold;
29
29
  font-size: 14px;
30
30
  }
31
- .data-set-review-slider[data-v-l5ywuzvg] .bk-sideslider-title {
31
+ .data-set-review-slider[data-v-nev48ddd] .bk-sideslider-title {
32
32
  justify-content: space-between;
33
33
  width: 100%;
34
34
  }
35
- .data-set-review-slider[data-v-l5ywuzvg] .bk-modal-content {
35
+ .data-set-review-slider[data-v-nev48ddd] .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-l5ywuzvg] .bk-modal-content >div, .data-set-review-slider[data-v-l5ywuzvg] .bk-modal-content .bk-sideslider-content {
39
+ .data-set-review-slider[data-v-nev48ddd] .bk-modal-content >div, .data-set-review-slider[data-v-nev48ddd] .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-l5ywuzvg";
2
+ script.__scopeId = "data-v-nev48ddd";
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;
@@ -1,5 +1,5 @@
1
1
 
2
- .dataset-main[data-v-fq7tub28] {
2
+ .dataset-main[data-v-4dfzd4kw] {
3
3
  flex: 1;
4
4
  width: calc(100vw - 300px);
5
5
  height: 100%;
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-fq7tub28";
2
+ script.__scopeId = "data-v-4dfzd4kw";
3
3
  script.__file = "./src/components/render-dataset/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-9kivd5xy] {
2
+ .origin-data-content[data-v-08te9dle] {
3
3
  padding: 24px;
4
4
  height: calc(100% - 52px - 44px);
5
5
  }
6
- .origin-data-panel[data-v-9kivd5xy] {
6
+ .origin-data-panel[data-v-08te9dle] {
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-9kivd5xy] {
13
+ .origin-data-panel .toolbar-search[data-v-08te9dle] {
14
14
  width: 6.17rem;
15
15
  }
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-9kivd5xy";
2
+ script.__scopeId = "data-v-08te9dle";
3
3
  script.__file = "./src/components/render-dataset-detail-origin-data/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,15 +1,15 @@
1
1
 
2
- .main-content[data-v-5zqrm1nz] {
2
+ .main-content[data-v-hn0d39yy] {
3
3
  padding: 20px 24px;
4
4
  height: calc(100% - 52px);
5
5
  }
6
- .main-panel[data-v-5zqrm1nz] {
6
+ .main-panel[data-v-hn0d39yy] {
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-5zqrm1nz] {
13
+ .main-search[data-v-hn0d39yy] {
14
14
  width: 6.17rem;
15
15
  }
@@ -1,5 +1,5 @@
1
1
  import script from './main.script.vue.js.js';
2
- script.__scopeId = "data-v-5zqrm1nz";
2
+ script.__scopeId = "data-v-hn0d39yy";
3
3
  script.__file = "./src/components/render-dataset-list/components/main.vue";
4
4
  import './main.vue.css';
5
5
  export default script;
@@ -1,5 +1,5 @@
1
1
 
2
- .expend-collapse-home[data-v-lwygl6f8] {
2
+ .expend-collapse-home[data-v-6fl77ayk] {
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-lwygl6f8]:hover {
18
+ .expend-collapse-home[data-v-6fl77ayk]:hover {
19
19
  background: #979BA5;
20
20
  }
21
- .expend-collapse-home.is-close[data-v-lwygl6f8] {
21
+ .expend-collapse-home.is-close[data-v-6fl77ayk] {
22
22
  left: 0;
23
23
  }
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-lwygl6f8";
2
+ script.__scopeId = "data-v-6fl77ayk";
3
3
  script.__file = "./src/components/render-expand-collapse/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,21 +1,21 @@
1
1
 
2
- .upload-file-home[data-v-a4qbfkmm] {
2
+ .upload-file-home[data-v-ju256jbg] {
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-a4qbfkmm]:hover {
9
+ .upload-file-home[data-v-ju256jbg]:hover {
10
10
  border: 1px solid #3A84FF;
11
11
  }
12
- .upload-file-home:hover .file-icons[data-v-a4qbfkmm] {
12
+ .upload-file-home:hover .file-icons[data-v-ju256jbg] {
13
13
  display: flex;
14
14
  }
15
- .upload-file-home .file-icon[data-v-a4qbfkmm] {
15
+ .upload-file-home .file-icon[data-v-ju256jbg] {
16
16
  font-size: 32px;
17
17
  }
18
- .upload-file-home .file-content[data-v-a4qbfkmm] {
18
+ .upload-file-home .file-content[data-v-ju256jbg] {
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-a4qbfkmm] {
26
+ .upload-file-home .file-content .file-name[data-v-ju256jbg] {
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-a4qbfkmm] {
31
+ .upload-file-home .file-content .file-size[data-v-ju256jbg] {
32
32
  font-size: 12px;
33
33
  color: #979BA5;
34
34
  line-height: 20px;
35
35
  }
36
- .upload-file-home .file-icons[data-v-a4qbfkmm] {
36
+ .upload-file-home .file-icons[data-v-ju256jbg] {
37
37
  display: none;
38
38
  color: #979BA5;
39
39
  }
40
- .upload-file-home .file-icons .bkaidev-icon[data-v-a4qbfkmm] {
40
+ .upload-file-home .file-icons .bkaidev-icon[data-v-ju256jbg] {
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-a4qbfkmm]:hover {
45
+ .upload-file-home .file-icons .bkaidev-icon[data-v-ju256jbg]:hover {
46
46
  color: #3A84FF;
47
47
  }
48
- .upload-file-home .file-icons .bkaidev-delete[data-v-a4qbfkmm] {
48
+ .upload-file-home .file-icons .bkaidev-delete[data-v-ju256jbg] {
49
49
  margin: 0;
50
50
  }
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-a4qbfkmm";
2
+ script.__scopeId = "data-v-ju256jbg";
3
3
  script.__file = "./src/components/render-file-card/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,16 +1,16 @@
1
1
 
2
- .ai-ui-sdk-icon.ai-ui-sdk-pdf[data-v-hqq2sq6t] {
2
+ .ai-ui-sdk-icon.ai-ui-sdk-pdf[data-v-nm5z66pg] {
3
3
  color: #EA3636;
4
4
  }
5
- .ai-ui-sdk-icon.ai-ui-sdk-doc-2[data-v-hqq2sq6t], .ai-ui-sdk-icon.ai-ui-sdk-ppt-2[data-v-hqq2sq6t], .ai-ui-sdk-icon.ai-ui-sdk-markdown[data-v-hqq2sq6t] {
5
+ .ai-ui-sdk-icon.ai-ui-sdk-doc-2[data-v-nm5z66pg], .ai-ui-sdk-icon.ai-ui-sdk-ppt-2[data-v-nm5z66pg], .ai-ui-sdk-icon.ai-ui-sdk-markdown[data-v-nm5z66pg] {
6
6
  color: #3A84FF;
7
7
  }
8
- .ai-ui-sdk-icon.ai-ui-sdk-folder-fill[data-v-hqq2sq6t] {
8
+ .ai-ui-sdk-icon.ai-ui-sdk-folder-fill[data-v-nm5z66pg] {
9
9
  color: #C4C6CC;
10
10
  }
11
- .ai-ui-sdk-icon.ai-ui-sdk-excel[data-v-hqq2sq6t] {
11
+ .ai-ui-sdk-icon.ai-ui-sdk-excel[data-v-nm5z66pg] {
12
12
  color: #2DCB56;
13
13
  }
14
- .ai-ui-sdk-icon.ai-ui-sdk-wangye[data-v-hqq2sq6t] {
14
+ .ai-ui-sdk-icon.ai-ui-sdk-wangye[data-v-nm5z66pg] {
15
15
  color: #14A568;
16
16
  }
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-hqq2sq6t";
2
+ script.__scopeId = "data-v-nm5z66pg";
3
3
  script.__file = "./src/components/render-file-type-icon/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,5 +1,5 @@
1
1
 
2
- .header-home[data-v-jemrx37r] {
2
+ .header-home[data-v-ppfk4xv1] {
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-jemrx37r] {
10
+ .header-title[data-v-ppfk4xv1] {
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-jemrx37r] {
17
+ .header-main[data-v-ppfk4xv1] {
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-jemrx37r] {
25
+ .header-select[data-v-ppfk4xv1] {
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-jemrx37r] {
31
+ .header-input[data-v-ppfk4xv1] {
32
32
  width: 300px;
33
33
  font-size: 12px;
34
34
  }
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-jemrx37r";
2
+ script.__scopeId = "data-v-ppfk4xv1";
3
3
  script.__file = "./src/components/render-header/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -29,8 +29,8 @@ export default /*@__PURE__*/ _defineComponent({
29
29
  popoverOptions: {}
30
30
  },
31
31
  emits: [
32
- "update-session-content-list",
33
- "close"
32
+ "close",
33
+ "update-session-content-list"
34
34
  ],
35
35
  setup (__props, { emit: __emit }) {
36
36
  const props = __props;
@@ -98,8 +98,8 @@ export default /*@__PURE__*/ _defineComponent({
98
98
  };
99
99
  const handleSubmit = ()=>{
100
100
  submitting.value = true;
101
- postSessionFeedback(formData.value).then(()=>{
102
- emit('update-session-content-list');
101
+ postSessionFeedback(formData.value).then((data)=>{
102
+ emit('update-session-content-list', data);
103
103
  handleClose();
104
104
  }).finally(()=>{
105
105
  submitting.value = false;
@@ -1,19 +1,19 @@
1
1
 
2
- .dislike-icon[data-v-7sm3cgt8] {
2
+ .dislike-icon[data-v-42cpu1re] {
3
3
  transform: rotateX(180deg);
4
4
  }
5
- .option-items[data-v-7sm3cgt8] {
5
+ .option-items[data-v-42cpu1re] {
6
6
  padding: 1px 8px;
7
7
  background-color: #F0F1F5;
8
8
  border-radius: 2px;
9
9
  }
10
- .option-items[data-v-7sm3cgt8]:hover {
10
+ .option-items[data-v-42cpu1re]:hover {
11
11
  background-color: #E1ECFF;
12
12
  color: #3A84FF;
13
13
  }
14
- .option-items-selected[data-v-7sm3cgt8]{
14
+ .option-items-selected[data-v-42cpu1re]{
15
15
  background-color: #E1ECFF;
16
16
  }
17
- [data-v-7sm3cgt8] .bk-form-item {
17
+ [data-v-42cpu1re] .bk-form-item {
18
18
  margin-bottom: 17px;
19
19
  }
@@ -1,3 +1,4 @@
1
+ import type { ISessionFeedback } from '@/types/session';
1
2
  interface IProps {
2
3
  apiPrefix: string;
3
4
  sessionCode: string;
@@ -16,10 +17,10 @@ type __VLS_Slots = {} & {
16
17
  };
17
18
  declare const __VLS_component: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
18
19
  close: () => any;
19
- "update-session-content-list": () => any;
20
+ "update-session-content-list": (data: ISessionFeedback) => any;
20
21
  }, string, import("vue").PublicProps, Readonly<IProps> & Readonly<{
21
22
  onClose?: () => any;
22
- "onUpdate-session-content-list"?: () => any;
23
+ "onUpdate-session-content-list"?: (data: ISessionFeedback) => any;
23
24
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
24
25
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
25
26
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-7sm3cgt8";
2
+ script.__scopeId = "data-v-42cpu1re";
3
3
  script.__file = "./src/components/render-like/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,12 +1,12 @@
1
1
 
2
- .router-tab[data-v-g2i18bf7] {
2
+ .router-tab[data-v-uxpiblwh] {
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-g2i18bf7] {
9
+ .router-tab a[data-v-uxpiblwh] {
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-g2i18bf7] {
18
+ .router-tab a.router-link-exact-active[data-v-uxpiblwh] {
19
19
  color: #3A84FF;
20
20
  border-bottom: 2px solid #3A84FF;
21
21
  }
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-g2i18bf7";
2
+ script.__scopeId = "data-v-uxpiblwh";
3
3
  script.__file = "./src/components/render-router-tab/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,5 +1,5 @@
1
1
  import type { RequestHookData } from '@/types/common';
2
- import type { IChatGroup, IChatGroupRequest, ISession, ISessionApi, ISessionContent, ISessionFeedback } from '@/types/session';
2
+ import type { IChatGroup, IChatGroupRequest, ISession, ISessionContent, ISessionFeedback } from '@/types/session';
3
3
  export declare const useSessionHttp: ({ apiPrefix, headers, beforeRequest, afterRequest, }: {
4
4
  apiPrefix: string;
5
5
  headers?: Record<string, string>;
@@ -21,7 +21,13 @@ export declare const useSessionHttp: ({ apiPrefix, headers, beforeRequest, after
21
21
  batchDeleteSessionContents: (ids: number[]) => Promise<number>;
22
22
  renameSession: (sessionCode: string) => Promise<ISession>;
23
23
  getChatGroup: (data: IChatGroupRequest) => Promise<IChatGroup>;
24
- postSessionFeedback: (data: ISessionFeedback) => Promise<ISessionApi>;
24
+ postSessionFeedback: (data: ISessionFeedback) => Promise<{
25
+ sessionCode: string;
26
+ sessionContentIds: number[];
27
+ rate: number;
28
+ comment: string;
29
+ labels: string[];
30
+ }>;
25
31
  getSessionFeedbackLabels: (rate: number) => Promise<string[]>;
26
32
  stopSessionContent: () => Promise<unknown>;
27
33
  };
@@ -1,6 +1,6 @@
1
1
  import fetch from '../http/fetch/index.ts.js';
2
2
  import { transferAgentInfoApi2AgentInfo } from '../http/helper/agent.ts.js';
3
- import { transferSession2SessionApi, transferSessionApi2Session, transferSessionContent2SessionContentApi, transferSessionContentApi2SessionContent, transferSessionFeedback2SessionFeedbackApi } from '../http/helper/session.ts.js';
3
+ import { transferSession2SessionApi, transferSessionApi2Session, transferSessionContent2SessionContentApi, transferSessionContentApi2SessionContent, transferSessionFeedback2SessionFeedbackApi, transferSessionFeedbackApi2SessionFeedback } from '../http/helper/session.ts.js';
4
4
  // session 相关接口
5
5
  export const useSessionHttp = ({ apiPrefix, headers, beforeRequest, afterRequest })=>{
6
6
  // 获取 agent 信息
@@ -58,7 +58,7 @@ export const useSessionHttp = ({ apiPrefix, headers, beforeRequest, afterRequest
58
58
  headers,
59
59
  beforeRequest,
60
60
  afterRequest
61
- });
61
+ }).then((res)=>transferSessionFeedbackApi2SessionFeedback(res));
62
62
  // 获取反馈标签列表
63
63
  const getSessionFeedbackLabels = (rate)=>fetch.get(`${apiPrefix}/session_feedback/reasons/`, {
64
64
  rate
@@ -30,6 +30,7 @@ import { durationFormatter } from '../common/util.ts.js';
30
30
  // 思考结束
31
31
  if (elapsedTime) {
32
32
  htmlContent = htmlContent.replace('思考中...', `已完成思考 (耗时:${durationFormatter(elapsedTime)})`);
33
+ htmlContent = htmlContent.replace('think-head click-close', 'think-head click-close closed');
33
34
  }
34
35
  return htmlContent;
35
36
  };
@@ -186,7 +186,9 @@ import { SessionContentRole, SessionPromptRole } from '../../types/enum.ts.js';
186
186
  role: data.role,
187
187
  content: data.content,
188
188
  spaceId: data.space_id,
189
+ labels: data.labels,
189
190
  rate: data.rate,
191
+ comment: data.comment,
190
192
  status: data.status,
191
193
  property: {
192
194
  extra: {
@@ -219,6 +221,8 @@ import { SessionContentRole, SessionPromptRole } from '../../types/enum.ts.js';
219
221
  content: data.content,
220
222
  space_id: data.spaceId,
221
223
  rate: data.rate,
224
+ comment: data.comment,
225
+ labels: data.labels,
222
226
  status: data.status,
223
227
  property: {
224
228
  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), {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blueking/ai-ui-sdk",
3
- "version": "0.1.18-beta.14",
3
+ "version": "0.1.18-beta.16",
4
4
  "description": "蓝鲸AI UI SDK",
5
5
  "main": "dist/main.js",
6
6
  "types": "dist/main.d.ts",