@blueking/ai-ui-sdk 0.1.4 → 0.1.5-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) 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-choose-tag/index.vue.css +8 -8
  6. package/dist/components/render-choose-tag/index.vue.js +1 -1
  7. package/dist/components/render-collapse/index.vue.css +2 -2
  8. package/dist/components/render-collapse/index.vue.js +1 -1
  9. package/dist/components/render-dataset/components/edit-dataset-data/index.vue.css +3 -3
  10. package/dist/components/render-dataset/components/edit-dataset-data/index.vue.js +1 -1
  11. package/dist/components/render-dataset/components/operation-record/index.vue.css +4 -4
  12. package/dist/components/render-dataset/components/operation-record/index.vue.js +1 -1
  13. package/dist/components/render-dataset/components/operation-record/table/index.vue.css +1 -1
  14. package/dist/components/render-dataset/components/operation-record/table/index.vue.js +1 -1
  15. package/dist/components/render-dataset/components/operation-record/view-op-result/index.vue.css +2 -2
  16. package/dist/components/render-dataset/components/operation-record/view-op-result/index.vue.js +1 -1
  17. package/dist/components/render-dataset/components/plus-dataset/index.vue.css +2 -2
  18. package/dist/components/render-dataset/components/plus-dataset/index.vue.js +1 -1
  19. package/dist/components/render-dataset/components/plus-dataset-data/form/footer.vue.css +1 -1
  20. package/dist/components/render-dataset/components/plus-dataset-data/form/footer.vue.js +1 -1
  21. package/dist/components/render-dataset/components/plus-dataset-data/form/index.vue.css +2 -2
  22. package/dist/components/render-dataset/components/plus-dataset-data/form/index.vue.js +1 -1
  23. package/dist/components/render-dataset/index.vue.css +1 -1
  24. package/dist/components/render-dataset/index.vue.js +1 -1
  25. package/dist/components/render-dataset-detail-origin-data/components/table/index.vue.css +1 -1
  26. package/dist/components/render-dataset-detail-origin-data/components/table/index.vue.js +1 -1
  27. package/dist/components/render-dataset-detail-origin-data/index.vue.css +3 -3
  28. package/dist/components/render-dataset-detail-origin-data/index.vue.js +1 -1
  29. package/dist/components/render-dataset-list/components/main.vue.css +3 -3
  30. package/dist/components/render-dataset-list/components/main.vue.js +1 -1
  31. package/dist/components/render-expand-collapse/index.vue.css +3 -3
  32. package/dist/components/render-expand-collapse/index.vue.js +1 -1
  33. package/dist/components/render-file-card/index.vue.css +11 -11
  34. package/dist/components/render-file-card/index.vue.js +1 -1
  35. package/dist/components/render-file-type-icon/index.vue.css +5 -5
  36. package/dist/components/render-file-type-icon/index.vue.js +1 -1
  37. package/dist/components/render-header/index.vue.css +5 -5
  38. package/dist/components/render-header/index.vue.js +1 -1
  39. package/dist/components/render-router-tab/index.vue.css +3 -3
  40. package/dist/components/render-router-tab/index.vue.js +1 -1
  41. package/dist/hooks/use-chat.d.ts +4 -0
  42. package/dist/hooks/use-reference-doc.ts.js +1 -3
  43. package/dist/http/helper/knowledge.ts.js +4 -3
  44. package/dist/types/enum.d.ts +3 -0
  45. package/dist/types/enum.ts.js +4 -0
  46. package/dist/types/knowledge.d.ts +3 -1
  47. package/package.json +1 -1
@@ -1,12 +1,12 @@
1
1
 
2
- .aside-home[data-v-pusvjp8h] {
2
+ .aside-home[data-v-87lvyamm] {
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-pusvjp8h] .aside-item {
9
+ [data-v-87lvyamm] .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-pusvjp8h] .aside-item.is-tab {
19
+ [data-v-87lvyamm] .aside-item.is-tab {
20
20
  background: #F5F7FA;
21
21
  cursor: pointer;
22
22
  color: #4D4F56;
23
23
  }
24
- [data-v-pusvjp8h] .aside-item.is-tab:hover {
24
+ [data-v-87lvyamm] .aside-item.is-tab:hover {
25
25
  background: #F0F5FF;
26
26
  }
27
- [data-v-pusvjp8h] .aside-item.active {
27
+ [data-v-87lvyamm] .aside-item.active {
28
28
  background: #F0F5FF;
29
29
  color: #3A84FF;
30
30
  font-weight: 700;
31
31
  }
32
- [data-v-pusvjp8h] .aside-item.active .tab-num {
32
+ [data-v-87lvyamm] .aside-item.active .tab-num {
33
33
  background: #3A84FF;
34
34
  color: #fff;
35
35
  }
36
- [data-v-pusvjp8h] .aside-item.active .active-text {
36
+ [data-v-87lvyamm] .aside-item.active .active-text {
37
37
  color: #3A84FF;
38
38
  }
39
- [data-v-pusvjp8h] .aside-item .tab-name {
39
+ [data-v-87lvyamm] .aside-item .tab-name {
40
40
  flex: 1;
41
41
  }
42
- [data-v-pusvjp8h] .aside-item .tab-num {
42
+ [data-v-87lvyamm] .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-pusvjp8h";
2
+ script.__scopeId = "data-v-87lvyamm";
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-nf018fec] {
2
+ .send-container[data-v-2w77gpm0] {
3
3
  position: relative;
4
4
  }
5
- .send-container[data-v-nf018fec]:has(textarea:focus) {
5
+ .send-container[data-v-2w77gpm0]:has(textarea:focus) {
6
6
  z-index: 2;
7
7
  }
8
- .send-container:hover .send-clear[data-v-nf018fec] {
8
+ .send-container:hover .send-clear[data-v-2w77gpm0] {
9
9
  display: inline-flex !important;
10
10
  }
11
- .send-input[data-v-nf018fec] {
11
+ .send-input[data-v-2w77gpm0] {
12
12
  width: 100%;
13
13
  flex-direction: row;
14
14
  height: var(--origin-height);
15
15
  }
16
- .send-input[data-v-nf018fec]:has(textarea:focus) {
16
+ .send-input[data-v-2w77gpm0]:has(textarea:focus) {
17
17
  height: var(--text-height);
18
18
  }
19
- .send-input[data-v-nf018fec] textarea {
19
+ .send-input[data-v-2w77gpm0] 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-nf018fec] textarea::-webkit-scrollbar {
25
+ .send-input[data-v-2w77gpm0] textarea::-webkit-scrollbar {
26
26
  width: 4px;
27
27
  height: 4px;
28
28
  }
29
- .send-input[data-v-nf018fec] textarea::-webkit-scrollbar-thumb {
29
+ .send-input[data-v-2w77gpm0] 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-nf018fec] textarea::placeholder {
34
+ .send-input[data-v-2w77gpm0] textarea::placeholder {
35
35
  line-height: 16px;
36
36
  }
37
- .send-clear[data-v-nf018fec] {
37
+ .send-clear[data-v-2w77gpm0] {
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-nf018fec]:hover {
46
+ .send-clear[data-v-2w77gpm0]: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-nf018fec";
2
+ script.__scopeId = "data-v-2w77gpm0";
3
3
  script.__file = "./src/components/render-auto-height-textarea/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,27 +1,27 @@
1
1
 
2
- .plus-tag-input[data-v-gr5mzrtc] {
2
+ .plus-tag-input[data-v-ewx9emk4] {
3
3
  padding: 7px 12px;
4
4
  width: 100%;
5
5
  }
6
- .plus-tag-input .plus-tag-done[data-v-gr5mzrtc] {
6
+ .plus-tag-input .plus-tag-done[data-v-ewx9emk4] {
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-gr5mzrtc] {
12
+ .plus-tag-input .plus-tag-error[data-v-ewx9emk4] {
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-gr5mzrtc] {
18
+ .plus-tag-input .plus-tag-form[data-v-ewx9emk4] {
19
19
  flex: 1;
20
20
  }
21
- .plus-tag-input .plus-tag-form-item[data-v-gr5mzrtc] {
21
+ .plus-tag-input .plus-tag-form-item[data-v-ewx9emk4] {
22
22
  margin-bottom: 0;
23
23
  }
24
- .plus-tag[data-v-gr5mzrtc] {
24
+ .plus-tag[data-v-ewx9emk4] {
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-gr5mzrtc] {
33
+ .plus-tag .bkaidev-plus-circle[data-v-ewx9emk4] {
34
34
  font-size: 14px;
35
35
  margin-right: 6px;
36
36
  }
37
- .plus-tag[data-v-gr5mzrtc]:hover {
37
+ .plus-tag[data-v-ewx9emk4]:hover {
38
38
  color: #3A84FF;
39
39
  }
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-gr5mzrtc";
2
+ script.__scopeId = "data-v-ewx9emk4";
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-8oz7edc5] {
2
+ .collapse-title[data-v-gs5kfjx3] {
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-8oz7edc5] {
8
+ .collapse-title .is-hidden[data-v-gs5kfjx3] {
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-8oz7edc5";
2
+ script.__scopeId = "data-v-gs5kfjx3";
3
3
  script.__file = "./src/components/render-collapse/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,15 +1,15 @@
1
1
 
2
- .content[data-v-ze2mr4l8] {
2
+ .content[data-v-vqaozgu4] {
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-ze2mr4l8] {
7
+ .data-set-edit-slider .value-content[data-v-vqaozgu4] {
8
8
  padding: 16px;
9
9
  border: 1px solid #DCDEE5;
10
10
  line-height: 22px;
11
11
  }
12
- .data-set-edit-slider[data-v-ze2mr4l8] .bk-sideslider-title {
12
+ .data-set-edit-slider[data-v-vqaozgu4] .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-ze2mr4l8";
2
+ script.__scopeId = "data-v-vqaozgu4";
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-y9kkcc0u] {
2
+ .content[data-v-hqcdqita] {
3
3
  padding: 0 24px 0px 32px;
4
4
  height: 100%;
5
5
  }
6
- .content .toolbar[data-v-y9kkcc0u] {
6
+ .content .toolbar[data-v-hqcdqita] {
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-y9kkcc0u] {
13
+ .content .toolbar .record-search[data-v-hqcdqita] {
14
14
  width: 360px;
15
15
  }
16
- .content .toolbar .record-data-picker[data-v-y9kkcc0u] {
16
+ .content .toolbar .record-data-picker[data-v-hqcdqita] {
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-y9kkcc0u";
2
+ script.__scopeId = "data-v-hqcdqita";
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-g2ge7c2x] {
2
+ .text[data-v-g7j79wc2] {
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-g2ge7c2x";
2
+ script.__scopeId = "data-v-g7j79wc2";
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-zwiqspup] {
2
+ .content[data-v-x762n7rr] {
3
3
  padding: 18px 24px 0;
4
4
  height: 100%;
5
5
  overflow: auto;
6
6
  }
7
- .content .value-content[data-v-zwiqspup] {
7
+ .content .value-content[data-v-x762n7rr] {
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-zwiqspup";
2
+ script.__scopeId = "data-v-x762n7rr";
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-hgp5y3pd] {
2
+ .dataset-data-content[data-v-nvqunebn] {
3
3
  padding: 20px 24px;
4
4
  height: 100%;
5
5
  }
6
- .dataset-data-slider[data-v-hgp5y3pd] .bk-modal-content {
6
+ .dataset-data-slider[data-v-nvqunebn] .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-hgp5y3pd";
2
+ script.__scopeId = "data-v-nvqunebn";
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,5 +1,5 @@
1
1
 
2
- .footer-button[data-v-z9dpnark] {
2
+ .footer-button[data-v-oswlmg7c] {
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-z9dpnark";
2
+ script.__scopeId = "data-v-oswlmg7c";
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-op8mib8f] {
2
+ .plus-dataset-data[data-v-c13i00n8] {
3
3
  padding: 20px 24px;
4
4
  }
5
- .plus-dataset-sideslider[data-v-op8mib8f] .bk-modal-content {
5
+ .plus-dataset-sideslider[data-v-c13i00n8] .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-op8mib8f";
2
+ script.__scopeId = "data-v-c13i00n8";
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
 
2
- .dataset-main[data-v-p23c9yet] {
2
+ .dataset-main[data-v-s2ry2xyv] {
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-p23c9yet";
2
+ script.__scopeId = "data-v-s2ry2xyv";
3
3
  script.__file = "./src/components/render-dataset/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,5 +1,5 @@
1
1
 
2
- .ellipsis-text[data-v-41rwu8nx] {
2
+ .ellipsis-text[data-v-db2bnepd] {
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';
2
- script.__scopeId = "data-v-41rwu8nx";
2
+ script.__scopeId = "data-v-db2bnepd";
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-s1gqmosk] {
2
+ .origin-data-content[data-v-armvllqi] {
3
3
  padding: 24px;
4
4
  height: calc(100% - 52px - 44px);
5
5
  }
6
- .origin-data-panel[data-v-s1gqmosk] {
6
+ .origin-data-panel[data-v-armvllqi] {
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-s1gqmosk] {
13
+ .origin-data-panel .toolbar-search[data-v-armvllqi] {
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-s1gqmosk";
2
+ script.__scopeId = "data-v-armvllqi";
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-vyc60oz5] {
2
+ .main-content[data-v-eplmfc07] {
3
3
  padding: 20px 24px;
4
4
  height: calc(100% - 52px);
5
5
  }
6
- .main-panel[data-v-vyc60oz5] {
6
+ .main-panel[data-v-eplmfc07] {
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-vyc60oz5] {
13
+ .main-search[data-v-eplmfc07] {
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-vyc60oz5";
2
+ script.__scopeId = "data-v-eplmfc07";
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-jkxr0vwr] {
2
+ .expend-collapse-home[data-v-cqw9xa4r] {
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-jkxr0vwr]:hover {
18
+ .expend-collapse-home[data-v-cqw9xa4r]:hover {
19
19
  background: #979BA5;
20
20
  }
21
- .expend-collapse-home.is-close[data-v-jkxr0vwr] {
21
+ .expend-collapse-home.is-close[data-v-cqw9xa4r] {
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-jkxr0vwr";
2
+ script.__scopeId = "data-v-cqw9xa4r";
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-zepnuggw] {
2
+ .upload-file-home[data-v-4tdusz4d] {
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-zepnuggw]:hover {
9
+ .upload-file-home[data-v-4tdusz4d]:hover {
10
10
  border: 1px solid #3A84FF;
11
11
  }
12
- .upload-file-home:hover .file-icons[data-v-zepnuggw] {
12
+ .upload-file-home:hover .file-icons[data-v-4tdusz4d] {
13
13
  display: flex;
14
14
  }
15
- .upload-file-home .file-icon[data-v-zepnuggw] {
15
+ .upload-file-home .file-icon[data-v-4tdusz4d] {
16
16
  font-size: 32px;
17
17
  }
18
- .upload-file-home .file-content[data-v-zepnuggw] {
18
+ .upload-file-home .file-content[data-v-4tdusz4d] {
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-zepnuggw] {
26
+ .upload-file-home .file-content .file-name[data-v-4tdusz4d] {
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-zepnuggw] {
31
+ .upload-file-home .file-content .file-size[data-v-4tdusz4d] {
32
32
  font-size: 12px;
33
33
  color: #979BA5;
34
34
  line-height: 20px;
35
35
  }
36
- .upload-file-home .file-icons[data-v-zepnuggw] {
36
+ .upload-file-home .file-icons[data-v-4tdusz4d] {
37
37
  display: none;
38
38
  color: #979BA5;
39
39
  }
40
- .upload-file-home .file-icons .bkaidev-icon[data-v-zepnuggw] {
40
+ .upload-file-home .file-icons .bkaidev-icon[data-v-4tdusz4d] {
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-zepnuggw]:hover {
45
+ .upload-file-home .file-icons .bkaidev-icon[data-v-4tdusz4d]:hover {
46
46
  color: #3A84FF;
47
47
  }
48
- .upload-file-home .file-icons .bkaidev-delete[data-v-zepnuggw] {
48
+ .upload-file-home .file-icons .bkaidev-delete[data-v-4tdusz4d] {
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-zepnuggw";
2
+ script.__scopeId = "data-v-4tdusz4d";
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-igbwgfda] {
2
+ .ai-ui-sdk-icon.ai-ui-sdk-pdf[data-v-o1plqra0] {
3
3
  color: #EA3636;
4
4
  }
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] {
5
+ .ai-ui-sdk-icon.ai-ui-sdk-doc-2[data-v-o1plqra0], .ai-ui-sdk-icon.ai-ui-sdk-ppt-2[data-v-o1plqra0], .ai-ui-sdk-icon.ai-ui-sdk-markdown[data-v-o1plqra0] {
6
6
  color: #3A84FF;
7
7
  }
8
- .ai-ui-sdk-icon.ai-ui-sdk-folder-fill[data-v-igbwgfda] {
8
+ .ai-ui-sdk-icon.ai-ui-sdk-folder-fill[data-v-o1plqra0] {
9
9
  color: #C4C6CC;
10
10
  }
11
- .ai-ui-sdk-icon.ai-ui-sdk-excel[data-v-igbwgfda] {
11
+ .ai-ui-sdk-icon.ai-ui-sdk-excel[data-v-o1plqra0] {
12
12
  color: #2DCB56;
13
13
  }
14
- .ai-ui-sdk-icon.ai-ui-sdk-wangye[data-v-igbwgfda] {
14
+ .ai-ui-sdk-icon.ai-ui-sdk-wangye[data-v-o1plqra0] {
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-igbwgfda";
2
+ script.__scopeId = "data-v-o1plqra0";
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-2vszgxjh] {
2
+ .header-home[data-v-77o9b0v6] {
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-2vszgxjh] {
10
+ .header-title[data-v-77o9b0v6] {
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-2vszgxjh] {
17
+ .header-main[data-v-77o9b0v6] {
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-2vszgxjh] {
25
+ .header-select[data-v-77o9b0v6] {
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-2vszgxjh] {
31
+ .header-input[data-v-77o9b0v6] {
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-2vszgxjh";
2
+ script.__scopeId = "data-v-77o9b0v6";
3
3
  script.__file = "./src/components/render-header/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,12 +1,12 @@
1
1
 
2
- .router-tab[data-v-hjv6ms32] {
2
+ .router-tab[data-v-9m5v7rz0] {
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-hjv6ms32] {
9
+ .router-tab a[data-v-9m5v7rz0] {
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-hjv6ms32] {
18
+ .router-tab a.router-link-exact-active[data-v-9m5v7rz0] {
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-hjv6ms32";
2
+ script.__scopeId = "data-v-9m5v7rz0";
3
3
  script.__file = "./src/components/render-router-tab/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -272,6 +272,7 @@ export declare const useChat: ({ handleStart, handleText, handleReferenceDoc, ha
272
272
  handleType?: string[];
273
273
  updateFrequency?: number;
274
274
  name: string;
275
+ status?: import("../types/enum").ResourceStatus;
275
276
  generateType?: import("../types/enum").EnumCharacter;
276
277
  pathType?: import("../types/enum").KnowledgePathType;
277
278
  createdType?: import("../types/enum").KnowledgeType;
@@ -352,6 +353,7 @@ export declare const useChat: ({ handleStart, handleText, handleReferenceDoc, ha
352
353
  handleType?: string[];
353
354
  updateFrequency?: number;
354
355
  name: string;
356
+ status?: import("../types/enum").ResourceStatus;
355
357
  generateType?: import("../types/enum").EnumCharacter;
356
358
  pathType?: import("../types/enum").KnowledgePathType;
357
359
  createdType?: import("../types/enum").KnowledgeType;
@@ -687,6 +689,7 @@ export declare const useChat: ({ handleStart, handleText, handleReferenceDoc, ha
687
689
  handleType?: string[];
688
690
  updateFrequency?: number;
689
691
  name: string;
692
+ status?: import("../types/enum").ResourceStatus;
690
693
  generateType?: import("../types/enum").EnumCharacter;
691
694
  pathType?: import("../types/enum").KnowledgePathType;
692
695
  createdType?: import("../types/enum").KnowledgeType;
@@ -767,6 +770,7 @@ export declare const useChat: ({ handleStart, handleText, handleReferenceDoc, ha
767
770
  handleType?: string[];
768
771
  updateFrequency?: number;
769
772
  name: string;
773
+ status?: import("../types/enum").ResourceStatus;
770
774
  generateType?: import("../types/enum").EnumCharacter;
771
775
  pathType?: import("../types/enum").KnowledgePathType;
772
776
  createdType?: import("../types/enum").KnowledgeType;
@@ -12,9 +12,7 @@ import { onBeforeMount, onBeforeUnmount } from 'vue';
12
12
  class="knowledge-item"
13
13
  >
14
14
  <i class="ai-ui-sdk-icon ai-ui-sdk-zhishiku"></i>
15
- <a href="${previewPath}" title="${title} (${previewPath})" target="_blank" class="knowledge-link g-flex-truncate">
16
- ${title}
17
- </a>
15
+ <a href="${previewPath}" title="${title} (${previewPath})" target="_blank" class="knowledge-link g-flex-truncate">${title}</a>
18
16
  <a href="${path}" title="预览原文" target="_blank" class="knowledge-link hover-show">
19
17
  <i class="ai-ui-sdk-icon ai-ui-sdk-yanjing-kejian"></i>
20
18
  </a>
@@ -50,7 +50,7 @@ function _object_spread_props(target, source) {
50
50
  }
51
51
  return target;
52
52
  }
53
- import { mergeStringWithoutLeadingSlash, mergeStringWithoutLastSlash } from '../../common/util.ts.js';
53
+ import { mergeStringWithoutLastSlash, mergeStringWithoutLeadingSlash } from '../../common/util.ts.js';
54
54
  import { transferResourcePermission } from './permission.ts.js';
55
55
  /**
56
56
  * 从路径中获取文件信息
@@ -159,7 +159,6 @@ import { transferResourcePermission } from './permission.ts.js';
159
159
  indexConfig: knowledge.index_config,
160
160
  anchorPath: knowledge.anchor_path,
161
161
  parentAnchorPath: knowledge.parent_anchor_path,
162
- status: knowledge.status,
163
162
  permission: knowledgebase === null || knowledgebase === void 0 ? void 0 : knowledgebase.permission,
164
163
  knowledgebaseId: knowledgebase === null || knowledgebase === void 0 ? void 0 : knowledgebase.id
165
164
  };
@@ -181,7 +180,8 @@ import { transferResourcePermission } from './permission.ts.js';
181
180
  generate_type: data.generateType,
182
181
  knowledge_count: data.number,
183
182
  anchor_path: data.anchorPath,
184
- index_config: data.indexConfig
183
+ index_config: data.indexConfig,
184
+ status: data.status
185
185
  });
186
186
  /**
187
187
  * 转换 ui 文件夹为 IKnowledgeApi,接口使用
@@ -212,6 +212,7 @@ import { transferResourcePermission } from './permission.ts.js';
212
212
  filePath: '',
213
213
  handleType: (_data_config = data.config) === null || _data_config === void 0 ? void 0 : _data_config.handle_type,
214
214
  name: data.name,
215
+ status: data.status,
215
216
  generateType: data.generate_type,
216
217
  number: data.knowledge_count,
217
218
  folderNumber: data.folder_num,
@@ -77,6 +77,9 @@ export declare enum FileStatus {
77
77
  Deleted = "deleted",
78
78
  Failed = "failed"
79
79
  }
80
+ export declare enum ResourceStatus {
81
+ Deleted = "deleted"
82
+ }
80
83
  export declare enum KnowledgePathType {
81
84
  File = "file",
82
85
  Folder = "folder"
@@ -85,6 +85,10 @@ export var FileStatus;
85
85
  FileStatus["Deleted"] = "deleted";
86
86
  FileStatus["Failed"] = "failed";
87
87
  })(FileStatus || (FileStatus = {}));
88
+ export var ResourceStatus;
89
+ (function(ResourceStatus) {
90
+ ResourceStatus["Deleted"] = "deleted";
91
+ })(ResourceStatus || (ResourceStatus = {}));
88
92
  export var KnowledgePathType;
89
93
  (function(KnowledgePathType) {
90
94
  KnowledgePathType["File"] = "file";
@@ -1,4 +1,4 @@
1
- import { EnumCharacter, FileStatus, KnowledgePathType, KnowledgeType } from './enum';
1
+ import { EnumCharacter, FileStatus, KnowledgePathType, KnowledgeType, ResourceStatus } from './enum';
2
2
  import type { ILinkFile } from './file';
3
3
  import type { IResourcePermission, IResourcePermissionApi } from './permission';
4
4
  export interface IKnowledgeLinkFile extends ILinkFile {
@@ -98,6 +98,7 @@ export interface IKnowledgebaseApi {
98
98
  handle_type?: string[];
99
99
  };
100
100
  name: string;
101
+ status?: ResourceStatus;
101
102
  description?: string;
102
103
  generate_type?: EnumCharacter;
103
104
  knowledge_count?: number;
@@ -119,6 +120,7 @@ export interface IKnowledgebase {
119
120
  handleType?: string[];
120
121
  updateFrequency?: number;
121
122
  name: string;
123
+ status?: ResourceStatus;
122
124
  generateType?: EnumCharacter;
123
125
  pathType?: KnowledgePathType;
124
126
  createdType?: KnowledgeType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blueking/ai-ui-sdk",
3
- "version": "0.1.4",
3
+ "version": "0.1.5-beta.2",
4
4
  "description": "蓝鲸AI UI SDK",
5
5
  "main": "dist/main.js",
6
6
  "types": "dist/main.d.ts",