@blueking/ai-ui-sdk 0.1.19-beta.7 → 0.1.19-beta.9

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 (62) hide show
  1. package/dist/components/render-auto-height-textarea/index.vue.css +11 -11
  2. package/dist/components/render-auto-height-textarea/index.vue.js +1 -1
  3. package/dist/components/render-auto-refresh/index.vue.css +8 -8
  4. package/dist/components/render-auto-refresh/index.vue.js +1 -1
  5. package/dist/components/render-checkbox/index.vue.css +9 -9
  6. package/dist/components/render-checkbox/index.vue.js +1 -1
  7. package/dist/components/render-choose-tag/index.script.vue.js.js +7 -2
  8. package/dist/components/render-choose-tag/index.vue.css +7 -7
  9. package/dist/components/render-choose-tag/index.vue.d.ts +3 -0
  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/dataset-form.script.vue.js +5 -2
  23. package/dist/components/render-dataset/components/plus-dataset/index.vue.css +2 -2
  24. package/dist/components/render-dataset/components/plus-dataset/index.vue.js +1 -1
  25. package/dist/components/render-dataset/components/plus-dataset-data/form/api.vue.css +2 -2
  26. package/dist/components/render-dataset/components/plus-dataset-data/form/api.vue.js +1 -1
  27. package/dist/components/render-dataset/components/plus-dataset-data/form/footer.vue.css +1 -1
  28. package/dist/components/render-dataset/components/plus-dataset-data/form/footer.vue.js +1 -1
  29. package/dist/components/render-dataset/components/plus-dataset-data/form/index.vue.css +2 -2
  30. package/dist/components/render-dataset/components/plus-dataset-data/form/index.vue.js +1 -1
  31. package/dist/components/render-dataset/components/review-dataset-data/index.vue.css +10 -10
  32. package/dist/components/render-dataset/components/review-dataset-data/index.vue.js +1 -1
  33. package/dist/components/render-dataset-detail-origin-data/index.vue.css +3 -3
  34. package/dist/components/render-dataset-detail-origin-data/index.vue.js +1 -1
  35. package/dist/components/render-dataset-list/components/main.script.vue.js.js +4 -4
  36. package/dist/components/render-dataset-list/components/main.vue.css +3 -3
  37. package/dist/components/render-dataset-list/components/main.vue.d.ts +1 -1
  38. package/dist/components/render-dataset-list/components/main.vue.js +1 -1
  39. package/dist/components/render-dataset-list/components/table.script.vue.js.js +1 -1
  40. package/dist/components/render-dataset-list/components/table.vue.d.ts +1 -1
  41. package/dist/components/render-dataset-list/index.script.vue.js.js +7 -7
  42. package/dist/components/render-dataset-list/index.vue.css +1 -1
  43. package/dist/components/render-dataset-list/index.vue.js +1 -1
  44. package/dist/components/render-file-card/index.vue.css +11 -11
  45. package/dist/components/render-file-card/index.vue.js +1 -1
  46. package/dist/components/render-file-type-icon/index.vue.css +5 -5
  47. package/dist/components/render-file-type-icon/index.vue.js +1 -1
  48. package/dist/components/render-header/index.vue.css +3 -3
  49. package/dist/components/render-header/index.vue.js +1 -1
  50. package/dist/components/render-like/index.vue.css +5 -5
  51. package/dist/components/render-like/index.vue.js +1 -1
  52. package/dist/components/render-router-tab/index.vue.css +3 -3
  53. package/dist/components/render-router-tab/index.vue.js +1 -1
  54. package/dist/components/render-tag-tree/index.vue.css +7 -7
  55. package/dist/components/render-tag-tree/index.vue.js +1 -1
  56. package/dist/hooks/use-chat.d.ts +2 -0
  57. package/dist/hooks/use-dataset-http.d.ts +2 -1
  58. package/dist/hooks/use-dataset-http.ts.js +3 -1
  59. package/dist/http/helper/tool.ts.js +2 -0
  60. package/dist/types/model.d.ts +4 -4
  61. package/dist/types/tool.d.ts +2 -0
  62. package/package.json +1 -1
@@ -1,40 +1,40 @@
1
1
 
2
- .send-container[data-v-0um1iaut] {
2
+ .send-container[data-v-ev32lw0m] {
3
3
  position: relative;
4
4
  }
5
- .send-container[data-v-0um1iaut]:has(textarea:focus) {
5
+ .send-container[data-v-ev32lw0m]:has(textarea:focus) {
6
6
  z-index: 2;
7
7
  }
8
- .send-container:hover .send-clear[data-v-0um1iaut] {
8
+ .send-container:hover .send-clear[data-v-ev32lw0m] {
9
9
  display: inline-flex !important;
10
10
  }
11
- .send-input[data-v-0um1iaut] {
11
+ .send-input[data-v-ev32lw0m] {
12
12
  width: 100%;
13
13
  flex-direction: row;
14
14
  height: var(--origin-height);
15
15
  }
16
- .send-input[data-v-0um1iaut]:has(textarea:focus) {
16
+ .send-input[data-v-ev32lw0m]:has(textarea:focus) {
17
17
  height: var(--text-height);
18
18
  }
19
- .send-input[data-v-0um1iaut] textarea {
19
+ .send-input[data-v-ev32lw0m] 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-0um1iaut] textarea::-webkit-scrollbar {
25
+ .send-input[data-v-ev32lw0m] textarea::-webkit-scrollbar {
26
26
  width: 4px;
27
27
  height: 4px;
28
28
  }
29
- .send-input[data-v-0um1iaut] textarea::-webkit-scrollbar-thumb {
29
+ .send-input[data-v-ev32lw0m] 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-0um1iaut] textarea::placeholder {
34
+ .send-input[data-v-ev32lw0m] textarea::placeholder {
35
35
  line-height: 16px;
36
36
  }
37
- .send-clear[data-v-0um1iaut] {
37
+ .send-clear[data-v-ev32lw0m] {
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-0um1iaut]:hover {
46
+ .send-clear[data-v-ev32lw0m]: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-0um1iaut";
2
+ script.__scopeId = "data-v-ev32lw0m";
3
3
  script.__file = "./src/components/render-auto-height-textarea/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,12 +1,12 @@
1
1
 
2
- .auto-refresh[data-v-2pfm9q8w] {
2
+ .auto-refresh[data-v-4rlb4aws] {
3
3
  position: relative;
4
4
  cursor: pointer;
5
5
  line-height: 26px;
6
6
  padding: 0 4px;
7
7
  white-space: nowrap;
8
8
  }
9
- .auto-refresh[data-v-2pfm9q8w]:after {
9
+ .auto-refresh[data-v-4rlb4aws]:after {
10
10
  content: '';
11
11
  position: absolute;
12
12
  top: 5px;
@@ -16,31 +16,31 @@
16
16
  background-color: #dcdee5;
17
17
  z-index: 1;
18
18
  }
19
- .auto-refresh[data-v-2pfm9q8w]:hover {
19
+ .auto-refresh[data-v-4rlb4aws]:hover {
20
20
  color: #3A84FF;
21
21
  background-color: #E1ECFF;
22
22
  }
23
- .refresh[data-v-2pfm9q8w] {
23
+ .refresh[data-v-4rlb4aws] {
24
24
  cursor: pointer;
25
25
  line-height: 26px;
26
26
  padding: 0 4px;
27
27
  }
28
- .refresh[data-v-2pfm9q8w]:hover {
28
+ .refresh[data-v-4rlb4aws]:hover {
29
29
  color: #3A84FF;
30
30
  background-color: #E1ECFF;
31
31
  }
32
- .textarea-list[data-v-2pfm9q8w] {
32
+ .textarea-list[data-v-4rlb4aws] {
33
33
  padding: 4px 0;
34
34
  line-height: 32px;
35
35
  max-height: 300px;
36
36
  position: relative;
37
37
  z-index: 2;
38
38
  }
39
- .textarea-list .textarea-item[data-v-2pfm9q8w] {
39
+ .textarea-list .textarea-item[data-v-4rlb4aws] {
40
40
  padding: 0 12px;
41
41
  cursor: pointer;
42
42
  }
43
- .textarea-list .textarea-item[data-v-2pfm9q8w]:hover {
43
+ .textarea-list .textarea-item[data-v-4rlb4aws]:hover {
44
44
  background: #E1ECFF;
45
45
  color: #3A84FF;
46
46
  }
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-2pfm9q8w";
2
+ script.__scopeId = "data-v-4rlb4aws";
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-9rl1cer6] {
2
+ .checkbox[data-v-7x77gorv] {
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-9rl1cer6] {
11
+ .checkbox.disabled[data-v-7x77gorv] {
12
12
  cursor: not-allowed;
13
13
  background: #fafbfd;
14
14
  border-color: #dcdee5;
15
15
  }
16
- .checkbox.disabled.checked[data-v-9rl1cer6] {
16
+ .checkbox.disabled.checked[data-v-7x77gorv] {
17
17
  background-color: #a3c5fd;
18
18
  border-color: #a3c5fd;
19
19
  }
20
- .checkbox.disabled.indeterminate[data-v-9rl1cer6] {
20
+ .checkbox.disabled.indeterminate[data-v-7x77gorv] {
21
21
  background-color: #fafbfd;
22
22
  border-color: #dcdee5;
23
23
  }
24
- .checkbox.disabled.indeterminate[data-v-9rl1cer6]:after {
24
+ .checkbox.disabled.indeterminate[data-v-7x77gorv]:after {
25
25
  background: #dcdee5;
26
26
  }
27
- .checkbox.checked[data-v-9rl1cer6] {
27
+ .checkbox.checked[data-v-7x77gorv] {
28
28
  background-color: #3a84ff;
29
29
  border: 1px solid #3a84ff;
30
30
  }
31
- .checkbox.checked[data-v-9rl1cer6]:after {
31
+ .checkbox.checked[data-v-7x77gorv]: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-9rl1cer6] {
44
+ .checkbox.indeterminate[data-v-7x77gorv] {
45
45
  background-color: #3a84ff;
46
46
  border: 1px solid #3a84ff;
47
47
  }
48
- .checkbox.indeterminate[data-v-9rl1cer6]:after {
48
+ .checkbox.indeterminate[data-v-7x77gorv]: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-9rl1cer6";
2
+ script.__scopeId = "data-v-7x77gorv";
3
3
  script.__file = "./src/components/render-checkbox/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -41,6 +41,10 @@ export default /*@__PURE__*/ _defineComponent({
41
41
  props: {
42
42
  modelValue: {},
43
43
  apiPrefix: {},
44
+ module: {},
45
+ multiple: {
46
+ type: Boolean
47
+ },
44
48
  spaceId: {},
45
49
  isDataset: {
46
50
  type: Boolean
@@ -146,7 +150,7 @@ export default /*@__PURE__*/ _defineComponent({
146
150
  };
147
151
  const handleGetTags = ()=>{
148
152
  isLoadingTag.value = true;
149
- (props.isDataset ? getDatasetTags() : getTags()).then((result)=>{
153
+ (props.isDataset ? getDatasetTags(props.module) : getTags()).then((result)=>{
150
154
  tags.value = result;
151
155
  }).finally(()=>{
152
156
  isLoadingTag.value = false;
@@ -166,7 +170,7 @@ export default /*@__PURE__*/ _defineComponent({
166
170
  "id-key": "tagName",
167
171
  "name-key": "tagName",
168
172
  "ext-cls": "tag-cascader",
169
- multiple: true,
173
+ multiple: _ctx.multiple,
170
174
  loading: isLoadingTag.value,
171
175
  list: tags.value,
172
176
  "model-value": _ctx.modelValue,
@@ -254,6 +258,7 @@ export default /*@__PURE__*/ _defineComponent({
254
258
  ]),
255
259
  _: 1 /* STABLE */
256
260
  }, 8 /* PROPS */ , [
261
+ "multiple",
257
262
  "loading",
258
263
  "list",
259
264
  "model-value"
@@ -1,29 +1,29 @@
1
1
 
2
- .plus-tag-input[data-v-ga4cpke4] {
2
+ .plus-tag-input[data-v-vyzgcb0w] {
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-ga4cpke4] {
8
+ .plus-tag-input .plus-tag-done[data-v-vyzgcb0w] {
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-ga4cpke4] {
14
+ .plus-tag-input .plus-tag-error[data-v-vyzgcb0w] {
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-ga4cpke4] {
20
+ .plus-tag-input .plus-tag-form[data-v-vyzgcb0w] {
21
21
  flex: 1;
22
22
  }
23
- .plus-tag-input .plus-tag-form-item[data-v-ga4cpke4] {
23
+ .plus-tag-input .plus-tag-form-item[data-v-vyzgcb0w] {
24
24
  margin-bottom: 0;
25
25
  }
26
- .plus-tag[data-v-ga4cpke4] {
26
+ .plus-tag[data-v-vyzgcb0w] {
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-ga4cpke4]:hover {
39
+ .plus-tag[data-v-vyzgcb0w]:hover {
40
40
  color: #3A84FF;
41
41
  }
42
42
 
@@ -1,6 +1,9 @@
1
+ import { Module } from '@/types/enum';
1
2
  interface IProps {
2
3
  modelValue: string[][];
3
4
  apiPrefix: string;
5
+ module: Module;
6
+ multiple?: boolean;
4
7
  spaceId?: string;
5
8
  isDataset?: boolean;
6
9
  popoverOptions?: Record<string, unknown>;
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-ga4cpke4";
2
+ script.__scopeId = "data-v-vyzgcb0w";
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-abnpsiiv] {
2
+ .collapse-title[data-v-ydjqrv67] {
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-abnpsiiv] {
8
+ .collapse-title .is-hidden[data-v-ydjqrv67] {
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-abnpsiiv";
2
+ script.__scopeId = "data-v-ydjqrv67";
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-bbr4rz5j><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-bbr4rz5j></i><span class=\"g-text-12 click-full-screen\" data-v-bbr4rz5j>全屏</span></span><span class=\"click-un-full-screen g-cursor-pointer g-flex-row\" data-v-bbr4rz5j><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-bbr4rz5j></i><span class=\"g-text-12 click-un-full-screen\" data-v-bbr4rz5j>取消全屏</span></span>", 2))
42
+ _cache[1] || (_cache[1] = _createStaticVNode("<span class=\"click-full-screen g-cursor-pointer g-flex-row\" data-v-yv3i0fb2><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-yv3i0fb2></i><span class=\"g-text-12 click-full-screen\" data-v-yv3i0fb2>全屏</span></span><span class=\"click-un-full-screen g-cursor-pointer g-flex-row\" data-v-yv3i0fb2><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-yv3i0fb2></i><span class=\"g-text-12 click-un-full-screen\" data-v-yv3i0fb2>取消全屏</span></span>", 2))
43
43
  ]);
44
44
  };
45
45
  }
@@ -1,15 +1,15 @@
1
1
 
2
- .content[data-v-flcbslnp] {
2
+ .content[data-v-ofjt60p2] {
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-flcbslnp] {
7
+ .data-set-edit-slider .value-content[data-v-ofjt60p2] {
8
8
  padding: 16px;
9
9
  border: 1px solid #DCDEE5;
10
10
  line-height: 22px;
11
11
  }
12
- .data-set-edit-slider[data-v-flcbslnp] .bk-sideslider-title {
12
+ .data-set-edit-slider[data-v-ofjt60p2] .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-flcbslnp";
2
+ script.__scopeId = "data-v-ofjt60p2";
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-pyi968vp] {
2
+ .content[data-v-su5ts4iw] {
3
3
  padding: 0 24px 0px 32px;
4
4
  height: 100%;
5
5
  }
6
- .content .toolbar[data-v-pyi968vp] {
6
+ .content .toolbar[data-v-su5ts4iw] {
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-pyi968vp] {
13
+ .content .toolbar .record-search[data-v-su5ts4iw] {
14
14
  width: 360px;
15
15
  }
16
- .content .toolbar .record-data-picker[data-v-pyi968vp] {
16
+ .content .toolbar .record-data-picker[data-v-su5ts4iw] {
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-pyi968vp";
2
+ script.__scopeId = "data-v-su5ts4iw";
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-hwwdqfcj] {
2
+ .text[data-v-dkmpg7s7] {
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-hwwdqfcj";
2
+ script.__scopeId = "data-v-dkmpg7s7";
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-tb1csdmp] {
2
+ .content[data-v-5oxk8djt] {
3
3
  padding: 18px 24px 0;
4
4
  height: 100%;
5
5
  overflow: auto;
6
6
  }
7
- .content .value-content[data-v-tb1csdmp] {
7
+ .content .value-content[data-v-5oxk8djt] {
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-tb1csdmp";
2
+ script.__scopeId = "data-v-5oxk8djt";
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,5 +1,5 @@
1
1
  import { defineComponent as _defineComponent, createVNode as _createVNode2 } from 'vue';
2
- import { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, createBlock as _createBlock, createCommentVNode as _createCommentVNode } from "vue";
2
+ import { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, createBlock as _createBlock, createCommentVNode as _createCommentVNode, unref as _unref } from "vue";
3
3
  const _hoisted_1 = {
4
4
  class: "g-width-full"
5
5
  };
@@ -288,12 +288,15 @@ export default /*@__PURE__*/ _defineComponent({
288
288
  "api-prefix": _ctx.apiPrefix,
289
289
  "space-id": _ctx.spaceId,
290
290
  "is-dataset": true,
291
+ multiple: true,
291
292
  "model-value": _ctx.formData.tagNames,
293
+ module: _unref(Module).Dataset,
292
294
  "onUpdate:modelValue": _cache[4] || (_cache[4] = (value)=>handleChange('tagNames', value))
293
295
  }, null, 8 /* PROPS */ , [
294
296
  "api-prefix",
295
297
  "space-id",
296
- "model-value"
298
+ "model-value",
299
+ "module"
297
300
  ])
298
301
  ]),
299
302
  _: 1 /* STABLE */
@@ -1,8 +1,8 @@
1
1
 
2
- .dataset-data-content[data-v-0gxwnpoq] {
2
+ .dataset-data-content[data-v-igr0lpg3] {
3
3
  padding: 20px 24px;
4
4
  height: 100%;
5
5
  }
6
- .dataset-data-slider[data-v-0gxwnpoq] .bk-modal-content {
6
+ .dataset-data-slider[data-v-igr0lpg3] .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-0gxwnpoq";
2
+ script.__scopeId = "data-v-igr0lpg3";
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-ee7ghhmh] {
2
+ .dataset-data-api-endpoint[data-v-hbfyl3cm] {
3
3
  line-height: 44px;
4
4
  background: #F5F7FA;
5
5
  border-radius: 2px;
6
6
  padding: 0 12px;
7
7
  }
8
- [data-v-ee7ghhmh] .dataset-data-api-demo .v-show-content {
8
+ [data-v-hbfyl3cm] .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-ee7ghhmh";
2
+ script.__scopeId = "data-v-hbfyl3cm";
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-jn83stkw] {
2
+ .footer-button[data-v-ggoqpzcs] {
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-jn83stkw";
2
+ script.__scopeId = "data-v-ggoqpzcs";
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-v3a6of94] {
2
+ .plus-dataset-data[data-v-62kxsndy] {
3
3
  padding: 20px 24px;
4
4
  }
5
- .plus-dataset-sideslider[data-v-v3a6of94] .bk-modal-content {
5
+ .plus-dataset-sideslider[data-v-62kxsndy] .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-v3a6of94";
2
+ script.__scopeId = "data-v-62kxsndy";
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-e6ugvjc3] {
2
+ .content[data-v-0n721lvh] {
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-e6ugvjc3] {
7
+ .data-set-review-slider .value-content[data-v-0n721lvh] {
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-e6ugvjc3] {
12
+ .data-set-review-slider .review-data[data-v-0n721lvh] {
13
13
  height: calc(100% - 337px);
14
14
  padding: 18px 24px;
15
15
  }
16
- .data-set-review-slider .review-level[data-v-e6ugvjc3] {
16
+ .data-set-review-slider .review-level[data-v-0n721lvh] {
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-e6ugvjc3] {
21
+ .data-set-review-slider .review-level .level-score[data-v-0n721lvh] {
22
22
  gap: 50px;
23
23
  }
24
- .data-set-review-slider .review-level .level-score .bk-form-item[data-v-e6ugvjc3] {
24
+ .data-set-review-slider .review-level .level-score .bk-form-item[data-v-0n721lvh] {
25
25
  flex: 1;
26
26
  }
27
- .data-set-review-slider .bold-title[data-v-e6ugvjc3] .bk-form-label {
27
+ .data-set-review-slider .bold-title[data-v-0n721lvh] .bk-form-label {
28
28
  font-weight: bold;
29
29
  font-size: 14px;
30
30
  }
31
- .data-set-review-slider[data-v-e6ugvjc3] .bk-sideslider-title {
31
+ .data-set-review-slider[data-v-0n721lvh] .bk-sideslider-title {
32
32
  justify-content: space-between;
33
33
  width: 100%;
34
34
  }
35
- .data-set-review-slider[data-v-e6ugvjc3] .bk-modal-content {
35
+ .data-set-review-slider[data-v-0n721lvh] .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-e6ugvjc3] .bk-modal-content >div, .data-set-review-slider[data-v-e6ugvjc3] .bk-modal-content .bk-sideslider-content {
39
+ .data-set-review-slider[data-v-0n721lvh] .bk-modal-content >div, .data-set-review-slider[data-v-0n721lvh] .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-e6ugvjc3";
2
+ script.__scopeId = "data-v-0n721lvh";
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,15 +1,15 @@
1
1
 
2
- .origin-data-content[data-v-bk8gdzh4] {
2
+ .origin-data-content[data-v-u3gs4og3] {
3
3
  padding: 24px;
4
4
  height: calc(100% - 52px - 44px);
5
5
  }
6
- .origin-data-panel[data-v-bk8gdzh4] {
6
+ .origin-data-panel[data-v-u3gs4og3] {
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-bk8gdzh4] {
13
+ .origin-data-panel .toolbar-search[data-v-u3gs4og3] {
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-bk8gdzh4";
2
+ script.__scopeId = "data-v-u3gs4og3";
3
3
  script.__file = "./src/components/render-dataset-detail-origin-data/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -55,11 +55,11 @@ export default /*@__PURE__*/ _defineComponent({
55
55
  const handleSuccessEdit = ()=>{
56
56
  emits('success-edit');
57
57
  };
58
- const handleGetDatasetData = ()=>{
59
- tableRef.value.handleGetDatasetData();
58
+ const handleGetDatasetList = ()=>{
59
+ tableRef.value.triggerApi();
60
60
  };
61
61
  __expose({
62
- handleGetDatasetData
62
+ handleGetDatasetList
63
63
  });
64
64
  return (_ctx, _cache)=>{
65
65
  const _component_bk_button = _resolveComponent("bk-button");
@@ -73,7 +73,7 @@ export default /*@__PURE__*/ _defineComponent({
73
73
  "api-prefix": _ctx.apiPrefix,
74
74
  "space-id": _ctx.spaceId,
75
75
  "is-internal": _ctx.isInternal,
76
- onSuccessCreate: handleGetDatasetData
76
+ onSuccessCreate: handleGetDatasetList
77
77
  }, null, 8 /* PROPS */ , [
78
78
  "api-prefix",
79
79
  "space-id",
@@ -1,15 +1,15 @@
1
1
 
2
- .main-content[data-v-stbsidcb] {
2
+ .main-content[data-v-ezcieqal] {
3
3
  padding: 20px 24px;
4
4
  height: 100%;
5
5
  }
6
- .main-panel[data-v-stbsidcb] {
6
+ .main-panel[data-v-ezcieqal] {
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-stbsidcb] {
13
+ .main-search[data-v-ezcieqal] {
14
14
  width: 6.17rem;
15
15
  }
@@ -11,7 +11,7 @@ interface IProps {
11
11
  codePlaceholder?: string;
12
12
  }
13
13
  interface IExpose {
14
- handleGetDatasetData: () => void;
14
+ handleGetDatasetList: () => void;
15
15
  }
16
16
  declare const __VLS_export: import("vue").DefineComponent<IProps, IExpose, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
17
17
  "success-create": () => any;
@@ -1,5 +1,5 @@
1
1
  import script from './main.script.vue.js.js';
2
- script.__scopeId = "data-v-stbsidcb";
2
+ script.__scopeId = "data-v-ezcieqal";
3
3
  script.__file = "./src/components/render-dataset-list/components/main.vue";
4
4
  import './main.vue.css';
5
5
  export default script;
@@ -245,7 +245,7 @@ export default /*@__PURE__*/ _defineComponent({
245
245
  deep: true
246
246
  });
247
247
  __expose({
248
- handleGetDatasetData: triggerApi
248
+ triggerApi
249
249
  });
250
250
  return (_ctx, _cache)=>{
251
251
  var _tempDataset_value;
@@ -11,7 +11,7 @@ interface IProps {
11
11
  tagName: string;
12
12
  }
13
13
  interface IExpose {
14
- handleGetDatasetData: () => void;
14
+ triggerApi: () => void;
15
15
  }
16
16
  declare const __VLS_export: import("vue").DefineComponent<IProps, IExpose, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
17
17
  "success-edit": () => any;
@@ -26,12 +26,12 @@ export default /*@__PURE__*/ _defineComponent({
26
26
  const mainRef = ref();
27
27
  const tagTreeRef = ref();
28
28
  const handleUpdateAll = ()=>{
29
- handleUpdateInfoAndList();
30
- tagTreeRef.value.handleGetTagsTree();
31
- };
32
- const handleUpdateInfoAndList = ()=>{
29
+ handleUpdateListAndTagsTree();
33
30
  headerRef.value.handleGetDatasetMineInfo();
34
- mainRef.value.handleGetDatasetData();
31
+ };
32
+ const handleUpdateListAndTagsTree = ()=>{
33
+ tagTreeRef.value.handleGetTagsTree();
34
+ mainRef.value.handleGetDatasetList();
35
35
  };
36
36
  return (_ctx, _cache)=>{
37
37
  const _component_bk_resize_layout = _resolveComponent("bk-resize-layout");
@@ -98,7 +98,7 @@ export default /*@__PURE__*/ _defineComponent({
98
98
  ref: mainRef,
99
99
  onSuccessCreate: handleUpdateAll,
100
100
  onSuccessDelete: handleUpdateAll,
101
- onSuccessEdit: handleUpdateInfoAndList
101
+ onSuccessEdit: handleUpdateListAndTagsTree
102
102
  }, null, 8 /* PROPS */ , [
103
103
  "api-prefix",
104
104
  "space-id",
@@ -127,7 +127,7 @@ export default /*@__PURE__*/ _defineComponent({
127
127
  ref: mainRef,
128
128
  onSuccessCreate: handleUpdateAll,
129
129
  onSuccessDelete: handleUpdateAll,
130
- onSuccessEdit: handleUpdateInfoAndList
130
+ onSuccessEdit: handleUpdateListAndTagsTree
131
131
  }, null, 8 /* PROPS */ , [
132
132
  "api-prefix",
133
133
  "space-id",
@@ -1,5 +1,5 @@
1
1
 
2
- .dataset-main[data-v-r93ue2fl] {
2
+ .dataset-main[data-v-c1nxec1h] {
3
3
  height: calc(100% - 90px);
4
4
  margin-top: 2px;
5
5
  }
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-r93ue2fl";
2
+ script.__scopeId = "data-v-c1nxec1h";
3
3
  script.__file = "./src/components/render-dataset-list/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-9v4l4218] {
2
+ .upload-file-home[data-v-kibc7vvf] {
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-9v4l4218]:hover {
9
+ .upload-file-home[data-v-kibc7vvf]:hover {
10
10
  border: 1px solid #3A84FF;
11
11
  }
12
- .upload-file-home:hover .file-icons[data-v-9v4l4218] {
12
+ .upload-file-home:hover .file-icons[data-v-kibc7vvf] {
13
13
  display: flex;
14
14
  }
15
- .upload-file-home .file-icon[data-v-9v4l4218] {
15
+ .upload-file-home .file-icon[data-v-kibc7vvf] {
16
16
  font-size: 32px;
17
17
  }
18
- .upload-file-home .file-content[data-v-9v4l4218] {
18
+ .upload-file-home .file-content[data-v-kibc7vvf] {
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-9v4l4218] {
26
+ .upload-file-home .file-content .file-name[data-v-kibc7vvf] {
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-9v4l4218] {
31
+ .upload-file-home .file-content .file-size[data-v-kibc7vvf] {
32
32
  font-size: 12px;
33
33
  color: #979BA5;
34
34
  line-height: 20px;
35
35
  }
36
- .upload-file-home .file-icons[data-v-9v4l4218] {
36
+ .upload-file-home .file-icons[data-v-kibc7vvf] {
37
37
  display: none;
38
38
  color: #979BA5;
39
39
  }
40
- .upload-file-home .file-icons .bkaidev-icon[data-v-9v4l4218] {
40
+ .upload-file-home .file-icons .bkaidev-icon[data-v-kibc7vvf] {
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-9v4l4218]:hover {
45
+ .upload-file-home .file-icons .bkaidev-icon[data-v-kibc7vvf]:hover {
46
46
  color: #3A84FF;
47
47
  }
48
- .upload-file-home .file-icons .bkaidev-delete[data-v-9v4l4218] {
48
+ .upload-file-home .file-icons .bkaidev-delete[data-v-kibc7vvf] {
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-9v4l4218";
2
+ script.__scopeId = "data-v-kibc7vvf";
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-o1t7pk06] {
2
+ .ai-ui-sdk-icon.ai-ui-sdk-pdf[data-v-2u64iyrz] {
3
3
  color: #EA3636;
4
4
  }
5
- .ai-ui-sdk-icon.ai-ui-sdk-doc-2[data-v-o1t7pk06], .ai-ui-sdk-icon.ai-ui-sdk-ppt-2[data-v-o1t7pk06], .ai-ui-sdk-icon.ai-ui-sdk-markdown[data-v-o1t7pk06] {
5
+ .ai-ui-sdk-icon.ai-ui-sdk-doc-2[data-v-2u64iyrz], .ai-ui-sdk-icon.ai-ui-sdk-ppt-2[data-v-2u64iyrz], .ai-ui-sdk-icon.ai-ui-sdk-markdown[data-v-2u64iyrz] {
6
6
  color: #3A84FF;
7
7
  }
8
- .ai-ui-sdk-icon.ai-ui-sdk-folder-fill[data-v-o1t7pk06] {
8
+ .ai-ui-sdk-icon.ai-ui-sdk-folder-fill[data-v-2u64iyrz] {
9
9
  color: #C4C6CC;
10
10
  }
11
- .ai-ui-sdk-icon.ai-ui-sdk-excel[data-v-o1t7pk06] {
11
+ .ai-ui-sdk-icon.ai-ui-sdk-excel[data-v-2u64iyrz] {
12
12
  color: #2DCB56;
13
13
  }
14
- .ai-ui-sdk-icon.ai-ui-sdk-wangye[data-v-o1t7pk06] {
14
+ .ai-ui-sdk-icon.ai-ui-sdk-wangye[data-v-2u64iyrz] {
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-o1t7pk06";
2
+ script.__scopeId = "data-v-2u64iyrz";
3
3
  script.__file = "./src/components/render-file-type-icon/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,13 +1,13 @@
1
1
 
2
- .header-home[data-v-9aybjs29] {
2
+ .header-home[data-v-it86n6kq] {
3
3
  width: 100%;
4
4
  background: #FFFFFF;
5
5
  box-shadow: 0 3px 4px 0 #0000000a;
6
6
  }
7
- .render-tab[data-v-9aybjs29] {
7
+ .render-tab[data-v-it86n6kq] {
8
8
  border-bottom: 2px solid transparent;
9
9
  }
10
- .render-tab.active[data-v-9aybjs29] {
10
+ .render-tab.active[data-v-it86n6kq] {
11
11
  color: #3A84FF;
12
12
  border-bottom: 2px solid #3A84FF;
13
13
  }
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-9aybjs29";
2
+ script.__scopeId = "data-v-it86n6kq";
3
3
  script.__file = "./src/components/render-header/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,19 +1,19 @@
1
1
 
2
- .dislike-icon[data-v-8569c894] {
2
+ .dislike-icon[data-v-msnx88k2] {
3
3
  transform: rotateX(180deg);
4
4
  }
5
- .option-items[data-v-8569c894] {
5
+ .option-items[data-v-msnx88k2] {
6
6
  padding: 1px 8px;
7
7
  background-color: #F0F1F5;
8
8
  border-radius: 2px;
9
9
  }
10
- .option-items[data-v-8569c894]:hover {
10
+ .option-items[data-v-msnx88k2]:hover {
11
11
  background-color: #E1ECFF;
12
12
  color: #3A84FF;
13
13
  }
14
- .option-items-selected[data-v-8569c894]{
14
+ .option-items-selected[data-v-msnx88k2]{
15
15
  background-color: #E1ECFF;
16
16
  }
17
- [data-v-8569c894] .bk-form-item {
17
+ [data-v-msnx88k2] .bk-form-item {
18
18
  margin-bottom: 17px;
19
19
  }
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-8569c894";
2
+ script.__scopeId = "data-v-msnx88k2";
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-7hhhplqz] {
2
+ .router-tab[data-v-bfj7nlwx] {
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-7hhhplqz] {
9
+ .router-tab a[data-v-bfj7nlwx] {
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-7hhhplqz] {
18
+ .router-tab a.router-link-exact-active[data-v-bfj7nlwx] {
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-7hhhplqz";
2
+ script.__scopeId = "data-v-bfj7nlwx";
3
3
  script.__file = "./src/components/render-router-tab/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,27 +1,27 @@
1
1
 
2
- .tag-tree[data-v-k9ubxi0a] {
2
+ .tag-tree[data-v-iijube96] {
3
3
  font-size: 12px;
4
4
  height: auto;
5
5
  }
6
- .tag-tree .manage-tree-item[data-v-k9ubxi0a] {
6
+ .tag-tree .manage-tree-item[data-v-iijube96] {
7
7
  height: 32px;
8
8
  flex: 1;
9
9
  }
10
- .tag-tree .quick-icon[data-v-k9ubxi0a] {
10
+ .tag-tree .quick-icon[data-v-iijube96] {
11
11
  margin-left: -24px;
12
12
  padding-left: 8px;
13
13
  }
14
- .tag-tree[data-v-k9ubxi0a] .tree-item:has(.quick-icon.ai-ui-sdk-wubiaoqian) {
14
+ .tag-tree[data-v-iijube96] .tree-item:has(.quick-icon.ai-ui-sdk-wubiaoqian) {
15
15
  border-bottom: 1px solid #F0F1F5;
16
16
  }
17
- .tag-tree[data-v-k9ubxi0a] .tree-item.active .quick-icon {
17
+ .tag-tree[data-v-iijube96] .tree-item.active .quick-icon {
18
18
  color: #3A84FF;
19
19
  }
20
- .tag-tree[data-v-k9ubxi0a] .tree-item.active .tag-number {
20
+ .tag-tree[data-v-iijube96] .tree-item.active .tag-number {
21
21
  background: #A3C5FD;
22
22
  color: #fff;
23
23
  }
24
- .tag-number[data-v-k9ubxi0a] {
24
+ .tag-number[data-v-iijube96] {
25
25
  line-height: 16px;
26
26
  padding: 0 4px;
27
27
  background-color: #F0F1F5;
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-k9ubxi0a";
2
+ script.__scopeId = "data-v-iijube96";
3
3
  script.__file = "./src/components/render-tag-tree/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -95,6 +95,7 @@ export declare const useChat: ({ handleStart, handleText, handleReferenceDoc, ha
95
95
  updateTime: string;
96
96
  toolCode: string;
97
97
  toolName: string;
98
+ tagNames: string[][];
98
99
  icon: string;
99
100
  description: string;
100
101
  method: string;
@@ -585,6 +586,7 @@ export declare const useChat: ({ handleStart, handleText, handleReferenceDoc, ha
585
586
  updateTime: string;
586
587
  toolCode: string;
587
588
  toolName: string;
589
+ tagNames: string[][];
588
590
  icon: string;
589
591
  description: string;
590
592
  method: string;
@@ -1,5 +1,6 @@
1
1
  import { type Ref } from 'vue';
2
2
  import type { IBatchRetryReviewDatasetData, IBatchReviewDatasetData, IComponent, IDatasetApi, IDatasetDataApi, IDatasetDataForm, IDatasetDataParam, IDatasetForm, IDatasetInfo, IDatasetListParam, IDatasetStatusInfo, IOperatRecordParam, ISchema, IUserInfoForm } from '@/types/dataset';
3
+ import { Module } from '@/types/enum';
3
4
  import type { ITagApi } from '@/types/meta';
4
5
  export declare const useDatasetHttp: (apiPrefix?: string, spaceId?: Ref<string>) => {
5
6
  getCompanyList: () => Promise<import("@/types/dataset").ICompany[]>;
@@ -45,7 +46,7 @@ export declare const useDatasetHttp: (apiPrefix?: string, spaceId?: Ref<string>)
45
46
  }>;
46
47
  batchReviewDatasetData: (data: IBatchReviewDatasetData) => Promise<unknown>;
47
48
  batchRetryReviewDatasetData: (data: IBatchRetryReviewDatasetData) => Promise<unknown>;
48
- getTags: () => Promise<import("@/types/meta").ITag[]>;
49
+ getTags: (module: Module) => Promise<import("@/types/meta").ITag[]>;
49
50
  plusTag: (tagNames: string[][]) => Promise<ITagApi>;
50
51
  checkTag: (tagNames: string[][]) => Promise<boolean>;
51
52
  };
@@ -202,7 +202,9 @@ export const useDatasetHttp = (apiPrefix, spaceId)=>{
202
202
  }
203
203
  });
204
204
  // 获取tag列表
205
- const getTags = ()=>fetch.get(`${apiPrefix}/${datasetPerfix}/tag/`, undefined, {
205
+ const getTags = (module)=>fetch.get(`${apiPrefix}/${datasetPerfix}/tag/`, {
206
+ scope_name: module
207
+ }, {
206
208
  headers: {
207
209
  'x-space-id': spaceId === null || spaceId === void 0 ? void 0 : spaceId.value
208
210
  }
@@ -13,6 +13,7 @@ import { transferResourcePermission } from './permission.ts.js';
13
13
  updateTime: data.updated_at,
14
14
  toolCode: data.tool_code,
15
15
  toolName: data.tool_name,
16
+ tagNames: data.tag_names,
16
17
  icon: data.icon,
17
18
  description: data.description,
18
19
  method: data.method,
@@ -39,6 +40,7 @@ import { transferResourcePermission } from './permission.ts.js';
39
40
  updated_at: data.updateTime,
40
41
  tool_code: data.toolCode,
41
42
  tool_name: data.toolName,
43
+ tag_names: data.tagNames,
42
44
  icon: data.icon,
43
45
  description: data.description,
44
46
  method: data.method,
@@ -4,8 +4,8 @@ export interface IModel {
4
4
  llmName: string;
5
5
  llmType: LLMSupport;
6
6
  id: number;
7
- icon: string;
8
- description: string;
7
+ icon?: string;
8
+ description?: string;
9
9
  baseModel?: string;
10
10
  contextLength?: string;
11
11
  activatedParams?: string;
@@ -34,8 +34,8 @@ export interface IModelApi {
34
34
  llm_name: string;
35
35
  llm_type: LLMSupport;
36
36
  id: number;
37
- icon: string;
38
- description: string;
37
+ icon?: string;
38
+ description?: string;
39
39
  tag_names?: string[][];
40
40
  base_model?: string;
41
41
  context_length?: string;
@@ -29,6 +29,7 @@ export interface IToolApi {
29
29
  updated_at: string;
30
30
  tool_code: string;
31
31
  tool_name: string;
32
+ tag_names: string[][];
32
33
  icon: string;
33
34
  description: string;
34
35
  method: string;
@@ -55,6 +56,7 @@ export interface ITool {
55
56
  updateTime: string;
56
57
  toolCode: string;
57
58
  toolName: string;
59
+ tagNames: string[][];
58
60
  icon: string;
59
61
  description: string;
60
62
  method: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blueking/ai-ui-sdk",
3
- "version": "0.1.19-beta.7",
3
+ "version": "0.1.19-beta.9",
4
4
  "description": "蓝鲸AI UI SDK",
5
5
  "main": "dist/main.js",
6
6
  "types": "dist/main.d.ts",