@blueking/ai-ui-sdk 0.1.19-beta.1 → 0.1.19-beta.11

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 (156) hide show
  1. package/dist/components/render-auth/auth-dialog.vue.d.ts +2 -1
  2. package/dist/components/render-auto-height-textarea/index.vue.css +11 -11
  3. package/dist/components/render-auto-height-textarea/index.vue.d.ts +2 -1
  4. package/dist/components/render-auto-height-textarea/index.vue.js +1 -1
  5. package/dist/components/render-auto-refresh/index.vue.css +9 -8
  6. package/dist/components/render-auto-refresh/index.vue.d.ts +2 -1
  7. package/dist/components/render-auto-refresh/index.vue.js +1 -1
  8. package/dist/components/render-checkbox/index.vue.css +9 -9
  9. package/dist/components/render-checkbox/index.vue.d.ts +2 -1
  10. package/dist/components/render-checkbox/index.vue.js +1 -1
  11. package/dist/components/render-choose-tag/index.script.vue.js.js +15 -4
  12. package/dist/components/render-choose-tag/index.vue.css +7 -7
  13. package/dist/components/render-choose-tag/index.vue.d.ts +5 -1
  14. package/dist/components/render-choose-tag/index.vue.js +1 -1
  15. package/dist/components/render-collapse/index.vue.css +2 -2
  16. package/dist/components/render-collapse/index.vue.d.ts +3 -2
  17. package/dist/components/render-collapse/index.vue.js +1 -1
  18. package/dist/components/render-dataset/components/batch-review-dataset-data/index.vue.d.ts +2 -1
  19. package/dist/components/render-dataset/components/dataset-data-level/index.vue.d.ts +2 -1
  20. package/dist/components/render-dataset/components/dataset-data-status/index.vue.d.ts +2 -1
  21. package/dist/components/render-dataset/components/dataset-data-tool-icons/index.script.vue.js +1 -1
  22. package/dist/components/render-dataset/components/dataset-data-tool-icons/index.vue.d.ts +2 -1
  23. package/dist/components/render-dataset/components/edit-dataset-data/index.vue.css +3 -3
  24. package/dist/components/render-dataset/components/edit-dataset-data/index.vue.d.ts +2 -1
  25. package/dist/components/render-dataset/components/edit-dataset-data/index.vue.js +1 -1
  26. package/dist/components/render-dataset/components/operation-record/index.vue.css +4 -4
  27. package/dist/components/render-dataset/components/operation-record/index.vue.d.ts +2 -1
  28. package/dist/components/render-dataset/components/operation-record/index.vue.js +1 -1
  29. package/dist/components/render-dataset/components/operation-record/table/index.vue.css +1 -1
  30. package/dist/components/render-dataset/components/operation-record/table/index.vue.d.ts +2 -1
  31. package/dist/components/render-dataset/components/operation-record/table/index.vue.js +1 -1
  32. package/dist/components/render-dataset/components/operation-record/view-op-result/index.vue.css +2 -2
  33. package/dist/components/render-dataset/components/operation-record/view-op-result/index.vue.d.ts +2 -1
  34. package/dist/components/render-dataset/components/operation-record/view-op-result/index.vue.js +1 -1
  35. package/dist/components/render-dataset/components/plus-dataset/dataset-footer.vue.d.ts +2 -1
  36. package/dist/components/render-dataset/components/plus-dataset/dataset-form.script.vue.js +5 -2
  37. package/dist/components/render-dataset/components/plus-dataset/dataset-form.vue.d.ts +4 -2
  38. package/dist/components/render-dataset/components/plus-dataset/index.script.vue.js.js +2 -2
  39. package/dist/components/render-dataset/components/plus-dataset/index.vue.css +2 -2
  40. package/dist/components/render-dataset/components/plus-dataset/index.vue.d.ts +4 -3
  41. package/dist/components/render-dataset/components/plus-dataset/index.vue.js +1 -1
  42. package/dist/components/render-dataset/components/plus-dataset-data/form/api.vue.css +2 -2
  43. package/dist/components/render-dataset/components/plus-dataset-data/form/api.vue.d.ts +2 -1
  44. package/dist/components/render-dataset/components/plus-dataset-data/form/api.vue.js +1 -1
  45. package/dist/components/render-dataset/components/plus-dataset-data/form/category.vue.d.ts +2 -1
  46. package/dist/components/render-dataset/components/plus-dataset-data/form/dataset.vue.d.ts +4 -2
  47. package/dist/components/render-dataset/components/plus-dataset-data/form/file.vue.d.ts +4 -2
  48. package/dist/components/render-dataset/components/plus-dataset-data/form/footer.vue.css +1 -1
  49. package/dist/components/render-dataset/components/plus-dataset-data/form/footer.vue.d.ts +2 -1
  50. package/dist/components/render-dataset/components/plus-dataset-data/form/footer.vue.js +1 -1
  51. package/dist/components/render-dataset/components/plus-dataset-data/form/index.vue.css +2 -2
  52. package/dist/components/render-dataset/components/plus-dataset-data/form/index.vue.d.ts +2 -1
  53. package/dist/components/render-dataset/components/plus-dataset-data/form/index.vue.js +1 -1
  54. package/dist/components/render-dataset/components/plus-dataset-data/form/manual.vue.d.ts +4 -2
  55. package/dist/components/render-dataset/components/plus-dataset-data/index.script.vue.js.js +2 -2
  56. package/dist/components/render-dataset/components/plus-dataset-data/index.vue.d.ts +4 -3
  57. package/dist/components/render-dataset/components/review-dataset-data/index.vue.css +10 -10
  58. package/dist/components/render-dataset/components/review-dataset-data/index.vue.d.ts +2 -1
  59. package/dist/components/render-dataset/components/review-dataset-data/index.vue.js +1 -1
  60. package/dist/components/render-dataset/components/search-dataset/index.vue.d.ts +2 -1
  61. package/dist/components/render-dataset/components/search-dataset-data/index.vue.d.ts +2 -1
  62. package/dist/components/render-dataset/components/search-operation-record/index.vue.d.ts +2 -1
  63. package/dist/components/render-dataset/components/source-type-icon/index.vue.d.ts +2 -1
  64. package/dist/components/render-dataset/index.script.vue.js +5 -0
  65. package/dist/components/render-dataset/index.vue.d.ts +2 -6
  66. package/dist/components/render-dataset/index.vue.js +2 -3
  67. package/dist/components/render-dataset-detail/components/header.script.vue.js.js +2 -4
  68. package/dist/components/render-dataset-detail/components/header.vue.d.ts +4 -2
  69. package/dist/components/render-dataset-detail/components/tab.vue.d.ts +2 -1
  70. package/dist/components/render-dataset-detail/index.vue.d.ts +2 -1
  71. package/dist/components/render-dataset-detail-origin-data/components/batch-operation/index.vue.d.ts +2 -1
  72. package/dist/components/render-dataset-detail-origin-data/components/table/index.vue.d.ts +4 -2
  73. package/dist/components/render-dataset-detail-origin-data/index.script.vue.js.js +1 -1
  74. package/dist/components/render-dataset-detail-origin-data/index.vue.css +3 -3
  75. package/dist/components/render-dataset-detail-origin-data/index.vue.d.ts +2 -1
  76. package/dist/components/render-dataset-detail-origin-data/index.vue.js +1 -1
  77. package/dist/components/render-dataset-list/components/header.script.vue.js.js +60 -15
  78. package/dist/components/render-dataset-list/components/header.vue.d.ts +16 -1
  79. package/dist/components/render-dataset-list/components/main.script.vue.js.js +35 -9
  80. package/dist/components/render-dataset-list/components/main.vue.css +4 -4
  81. package/dist/components/render-dataset-list/components/main.vue.d.ts +15 -6
  82. package/dist/components/render-dataset-list/components/main.vue.js +1 -1
  83. package/dist/components/render-dataset-list/components/table.script.vue.js.js +46 -13
  84. package/dist/components/render-dataset-list/components/table.vue.d.ts +15 -3
  85. package/dist/components/render-dataset-list/index.script.vue.js.js +111 -17
  86. package/dist/components/render-dataset-list/index.vue.css +5 -0
  87. package/dist/components/render-dataset-list/index.vue.d.ts +2 -8
  88. package/dist/components/render-dataset-list/index.vue.js +2 -0
  89. package/dist/components/render-file-card/index.vue.css +11 -11
  90. package/dist/components/render-file-card/index.vue.d.ts +8 -7
  91. package/dist/components/render-file-card/index.vue.js +1 -1
  92. package/dist/components/render-file-type-icon/index.vue.css +5 -5
  93. package/dist/components/render-file-type-icon/index.vue.d.ts +2 -1
  94. package/dist/components/render-file-type-icon/index.vue.js +1 -1
  95. package/dist/components/render-header/index.script.vue.js.js +54 -54
  96. package/dist/components/render-header/index.vue.css +6 -27
  97. package/dist/components/render-header/index.vue.d.ts +19 -49
  98. package/dist/components/render-header/index.vue.js +1 -1
  99. package/dist/components/render-like/index.vue.css +5 -5
  100. package/dist/components/render-like/index.vue.d.ts +6 -5
  101. package/dist/components/render-like/index.vue.js +1 -1
  102. package/dist/components/render-router-tab/index.vue.css +3 -3
  103. package/dist/components/render-router-tab/index.vue.d.ts +2 -1
  104. package/dist/components/render-router-tab/index.vue.js +1 -1
  105. package/dist/components/render-search-select/index.vue.d.ts +8 -7
  106. package/dist/components/render-tag-tree/index.script.vue.js.js +143 -0
  107. package/dist/components/render-tag-tree/index.vue.css +30 -0
  108. package/dist/components/render-tag-tree/index.vue.d.ts +22 -0
  109. package/dist/components/render-tag-tree/index.vue.js +5 -0
  110. package/dist/components/render-tree/index.script.vue.js +162 -0
  111. package/dist/components/render-tree/index.vue.css +24 -0
  112. package/dist/components/render-tree/index.vue.d.ts +43 -0
  113. package/dist/components/render-tree/index.vue.js +4 -0
  114. package/dist/components.d.ts +3 -1
  115. package/dist/components.ts.js +3 -1
  116. package/dist/css/fonts/iconcool.eot +0 -0
  117. package/dist/css/fonts/iconcool.svg +9 -0
  118. package/dist/css/fonts/iconcool.ttf +0 -0
  119. package/dist/css/fonts/iconcool.woff +0 -0
  120. package/dist/css/iconcool.js +1 -1
  121. package/dist/css/style.css +9 -0
  122. package/dist/css/tailwind.css +1 -1
  123. package/dist/hooks/use-chat.d.ts +2 -0
  124. package/dist/hooks/use-common-http.d.ts +5 -0
  125. package/dist/hooks/use-common-http.ts.js +16 -0
  126. package/dist/hooks/use-dataset-http.d.ts +2 -1
  127. package/dist/hooks/use-dataset-http.ts.js +3 -1
  128. package/dist/hooks/use-meta-http.d.ts +1 -1
  129. package/dist/hooks/use-meta-http.ts.js +3 -1
  130. package/dist/hooks/use-table.d.ts +2 -7
  131. package/dist/hooks/use-table.ts.js +3 -3
  132. package/dist/http/helper/common.d.ts +25 -0
  133. package/dist/http/helper/common.ts.js +45 -0
  134. package/dist/http/helper/dataset.ts.js +10 -17
  135. package/dist/http/helper/model.ts.js +4 -4
  136. package/dist/http/helper/tool.ts.js +2 -0
  137. package/dist/images/market.png +0 -0
  138. package/dist/transforms.d.ts +1 -0
  139. package/dist/transforms.ts.js +1 -0
  140. package/dist/types/common.d.ts +37 -4
  141. package/dist/types/dataset.d.ts +12 -10
  142. package/dist/types/enum.d.ts +13 -1
  143. package/dist/types/enum.ts.js +14 -0
  144. package/dist/types/model.d.ts +8 -8
  145. package/dist/types/tool.d.ts +2 -0
  146. package/package.json +2 -2
  147. package/dist/components/render-aside/index.script.vue.js +0 -69
  148. package/dist/components/render-aside/index.vue.css +0 -49
  149. package/dist/components/render-aside/index.vue.d.ts +0 -26
  150. package/dist/components/render-aside/index.vue.js +0 -5
  151. package/dist/components/render-dataset/index.script.vue.js.js +0 -126
  152. package/dist/components/render-dataset/index.vue.css +0 -6
  153. package/dist/components/render-expand-collapse/index.script.vue.js.js +0 -33
  154. package/dist/components/render-expand-collapse/index.vue.css +0 -23
  155. package/dist/components/render-expand-collapse/index.vue.d.ts +0 -12
  156. package/dist/components/render-expand-collapse/index.vue.js +0 -5
@@ -1,5 +1,6 @@
1
1
  import type { IPermissionApplyData } from '@/types/permission';
2
- declare const _default: import("vue").DefineComponent<{}, {
2
+ declare const __VLS_export: import("vue").DefineComponent<{}, {
3
3
  handleShow: (data: IPermissionApplyData, callback?: Function) => void;
4
4
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
5
+ declare const _default: typeof __VLS_export;
5
6
  export default _default;
@@ -1,40 +1,40 @@
1
1
 
2
- .send-container[data-v-9kr229v5] {
2
+ .send-container[data-v-9jg8qxoc] {
3
3
  position: relative;
4
4
  }
5
- .send-container[data-v-9kr229v5]:has(textarea:focus) {
5
+ .send-container[data-v-9jg8qxoc]:has(textarea:focus) {
6
6
  z-index: 2;
7
7
  }
8
- .send-container:hover .send-clear[data-v-9kr229v5] {
8
+ .send-container:hover .send-clear[data-v-9jg8qxoc] {
9
9
  display: inline-flex !important;
10
10
  }
11
- .send-input[data-v-9kr229v5] {
11
+ .send-input[data-v-9jg8qxoc] {
12
12
  width: 100%;
13
13
  flex-direction: row;
14
14
  height: var(--origin-height);
15
15
  }
16
- .send-input[data-v-9kr229v5]:has(textarea:focus) {
16
+ .send-input[data-v-9jg8qxoc]:has(textarea:focus) {
17
17
  height: var(--text-height);
18
18
  }
19
- .send-input[data-v-9kr229v5] textarea {
19
+ .send-input[data-v-9jg8qxoc] 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-9kr229v5] textarea::-webkit-scrollbar {
25
+ .send-input[data-v-9jg8qxoc] textarea::-webkit-scrollbar {
26
26
  width: 4px;
27
27
  height: 4px;
28
28
  }
29
- .send-input[data-v-9kr229v5] textarea::-webkit-scrollbar-thumb {
29
+ .send-input[data-v-9jg8qxoc] 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-9kr229v5] textarea::placeholder {
34
+ .send-input[data-v-9jg8qxoc] textarea::placeholder {
35
35
  line-height: 16px;
36
36
  }
37
- .send-clear[data-v-9kr229v5] {
37
+ .send-clear[data-v-9jg8qxoc] {
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-9kr229v5]:hover {
46
+ .send-clear[data-v-9jg8qxoc]:hover {
47
47
  color: #313238;
48
48
  }
@@ -6,7 +6,7 @@ interface IProps {
6
6
  focusShowHeight?: boolean;
7
7
  disabled?: boolean;
8
8
  }
9
- declare const _default: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
+ declare const __VLS_export: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
10
  input: (...args: any[]) => void;
11
11
  "update:modelValue": (...args: any[]) => void;
12
12
  }, string, import("vue").PublicProps, Readonly<IProps> & Readonly<{
@@ -16,4 +16,5 @@ declare const _default: import("vue").DefineComponent<IProps, {}, {}, {}, {}, im
16
16
  maxHeight: number;
17
17
  focusShowHeight: boolean;
18
18
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
19
+ declare const _default: typeof __VLS_export;
19
20
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-9kr229v5";
2
+ script.__scopeId = "data-v-9jg8qxoc";
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,12 @@
1
1
 
2
- .auto-refresh[data-v-r08tis1e] {
2
+ .auto-refresh[data-v-xnpc79d4] {
3
3
  position: relative;
4
4
  cursor: pointer;
5
5
  line-height: 26px;
6
6
  padding: 0 4px;
7
+ white-space: nowrap;
7
8
  }
8
- .auto-refresh[data-v-r08tis1e]:after {
9
+ .auto-refresh[data-v-xnpc79d4]:after {
9
10
  content: '';
10
11
  position: absolute;
11
12
  top: 5px;
@@ -15,31 +16,31 @@
15
16
  background-color: #dcdee5;
16
17
  z-index: 1;
17
18
  }
18
- .auto-refresh[data-v-r08tis1e]:hover {
19
+ .auto-refresh[data-v-xnpc79d4]:hover {
19
20
  color: #3A84FF;
20
21
  background-color: #E1ECFF;
21
22
  }
22
- .refresh[data-v-r08tis1e] {
23
+ .refresh[data-v-xnpc79d4] {
23
24
  cursor: pointer;
24
25
  line-height: 26px;
25
26
  padding: 0 4px;
26
27
  }
27
- .refresh[data-v-r08tis1e]:hover {
28
+ .refresh[data-v-xnpc79d4]:hover {
28
29
  color: #3A84FF;
29
30
  background-color: #E1ECFF;
30
31
  }
31
- .textarea-list[data-v-r08tis1e] {
32
+ .textarea-list[data-v-xnpc79d4] {
32
33
  padding: 4px 0;
33
34
  line-height: 32px;
34
35
  max-height: 300px;
35
36
  position: relative;
36
37
  z-index: 2;
37
38
  }
38
- .textarea-list .textarea-item[data-v-r08tis1e] {
39
+ .textarea-list .textarea-item[data-v-xnpc79d4] {
39
40
  padding: 0 12px;
40
41
  cursor: pointer;
41
42
  }
42
- .textarea-list .textarea-item[data-v-r08tis1e]:hover {
43
+ .textarea-list .textarea-item[data-v-xnpc79d4]:hover {
43
44
  background: #E1ECFF;
44
45
  color: #3A84FF;
45
46
  }
@@ -1,6 +1,7 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
2
2
  update: () => any;
3
3
  }, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
4
4
  onUpdate?: () => any;
5
5
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
+ declare const _default: typeof __VLS_export;
6
7
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-r08tis1e";
2
+ script.__scopeId = "data-v-xnpc79d4";
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-vgx7yub4] {
2
+ .checkbox[data-v-621sx6ax] {
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-vgx7yub4] {
11
+ .checkbox.disabled[data-v-621sx6ax] {
12
12
  cursor: not-allowed;
13
13
  background: #fafbfd;
14
14
  border-color: #dcdee5;
15
15
  }
16
- .checkbox.disabled.checked[data-v-vgx7yub4] {
16
+ .checkbox.disabled.checked[data-v-621sx6ax] {
17
17
  background-color: #a3c5fd;
18
18
  border-color: #a3c5fd;
19
19
  }
20
- .checkbox.disabled.indeterminate[data-v-vgx7yub4] {
20
+ .checkbox.disabled.indeterminate[data-v-621sx6ax] {
21
21
  background-color: #fafbfd;
22
22
  border-color: #dcdee5;
23
23
  }
24
- .checkbox.disabled.indeterminate[data-v-vgx7yub4]:after {
24
+ .checkbox.disabled.indeterminate[data-v-621sx6ax]:after {
25
25
  background: #dcdee5;
26
26
  }
27
- .checkbox.checked[data-v-vgx7yub4] {
27
+ .checkbox.checked[data-v-621sx6ax] {
28
28
  background-color: #3a84ff;
29
29
  border: 1px solid #3a84ff;
30
30
  }
31
- .checkbox.checked[data-v-vgx7yub4]:after {
31
+ .checkbox.checked[data-v-621sx6ax]: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-vgx7yub4] {
44
+ .checkbox.indeterminate[data-v-621sx6ax] {
45
45
  background-color: #3a84ff;
46
46
  border: 1px solid #3a84ff;
47
47
  }
48
- .checkbox.indeterminate[data-v-vgx7yub4]:after {
48
+ .checkbox.indeterminate[data-v-621sx6ax]:after {
49
49
  position: absolute;
50
50
  top: 50%;
51
51
  left: 50%;
@@ -3,9 +3,10 @@ interface IProps {
3
3
  indeterminate?: boolean;
4
4
  disabled?: boolean;
5
5
  }
6
- declare const _default: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
6
+ declare const __VLS_export: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
7
7
  change: (checked: boolean) => any;
8
8
  }, string, import("vue").PublicProps, Readonly<IProps> & Readonly<{
9
9
  onChange?: (checked: boolean) => any;
10
10
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
+ declare const _default: typeof __VLS_export;
11
12
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-vgx7yub4";
2
+ script.__scopeId = "data-v-621sx6ax";
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
@@ -89,6 +93,9 @@ export default /*@__PURE__*/ _defineComponent({
89
93
  checkTagRule
90
94
  ]
91
95
  };
96
+ const getModuleValue = ()=>{
97
+ return props.multiple ? props.modelValue : props.modelValue[0];
98
+ };
92
99
  const handleFocus = ()=>{
93
100
  isShow.value = true;
94
101
  };
@@ -96,7 +103,10 @@ export default /*@__PURE__*/ _defineComponent({
96
103
  isShow.value = false;
97
104
  };
98
105
  const handleChange = (val)=>{
99
- emits('update:modelValue', val);
106
+ const moduleValue = props.multiple ? val : [
107
+ val
108
+ ];
109
+ emits('update:modelValue', moduleValue);
100
110
  };
101
111
  const handleTagKeyDown = (value, event)=>{
102
112
  if (event.keyCode === 13 || event.key === 'Enter') {
@@ -146,7 +156,7 @@ export default /*@__PURE__*/ _defineComponent({
146
156
  };
147
157
  const handleGetTags = ()=>{
148
158
  isLoadingTag.value = true;
149
- (props.isDataset ? getDatasetTags() : getTags()).then((result)=>{
159
+ (props.isDataset ? getDatasetTags(props.module) : getTags(props.module)).then((result)=>{
150
160
  tags.value = result;
151
161
  }).finally(()=>{
152
162
  isLoadingTag.value = false;
@@ -166,10 +176,10 @@ export default /*@__PURE__*/ _defineComponent({
166
176
  "id-key": "tagName",
167
177
  "name-key": "tagName",
168
178
  "ext-cls": "tag-cascader",
169
- multiple: true,
179
+ multiple: _ctx.multiple,
170
180
  loading: isLoadingTag.value,
171
181
  list: tags.value,
172
- "model-value": _ctx.modelValue,
182
+ "model-value": getModuleValue(),
173
183
  "onUpdate:modelValue": handleChange
174
184
  }, {
175
185
  extension: _withCtx(()=>[
@@ -254,6 +264,7 @@ export default /*@__PURE__*/ _defineComponent({
254
264
  ]),
255
265
  _: 1 /* STABLE */
256
266
  }, 8 /* PROPS */ , [
267
+ "multiple",
257
268
  "loading",
258
269
  "list",
259
270
  "model-value"
@@ -1,29 +1,29 @@
1
1
 
2
- .plus-tag-input[data-v-enu9o2d0] {
2
+ .plus-tag-input[data-v-csa4ho5t] {
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-enu9o2d0] {
8
+ .plus-tag-input .plus-tag-done[data-v-csa4ho5t] {
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-enu9o2d0] {
14
+ .plus-tag-input .plus-tag-error[data-v-csa4ho5t] {
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-enu9o2d0] {
20
+ .plus-tag-input .plus-tag-form[data-v-csa4ho5t] {
21
21
  flex: 1;
22
22
  }
23
- .plus-tag-input .plus-tag-form-item[data-v-enu9o2d0] {
23
+ .plus-tag-input .plus-tag-form-item[data-v-csa4ho5t] {
24
24
  margin-bottom: 0;
25
25
  }
26
- .plus-tag[data-v-enu9o2d0] {
26
+ .plus-tag[data-v-csa4ho5t] {
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-enu9o2d0]:hover {
39
+ .plus-tag[data-v-csa4ho5t]:hover {
40
40
  color: #3A84FF;
41
41
  }
42
42
 
@@ -1,13 +1,17 @@
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>;
7
10
  }
8
- declare const _default: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
11
+ declare const __VLS_export: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
9
12
  "update:modelValue": (value: string[][]) => any;
10
13
  }, string, import("vue").PublicProps, Readonly<IProps> & Readonly<{
11
14
  "onUpdate:modelValue"?: (value: string[][]) => any;
12
15
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
+ declare const _default: typeof __VLS_export;
13
17
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-enu9o2d0";
2
+ script.__scopeId = "data-v-csa4ho5t";
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-g2vggicv] {
2
+ .collapse-title[data-v-cfi66ey5] {
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-g2vggicv] {
8
+ .collapse-title .is-hidden[data-v-cfi66ey5] {
9
9
  transform: rotate(-90deg);
10
10
  }
@@ -8,8 +8,9 @@ type __VLS_Slots = {} & {
8
8
  } & {
9
9
  default?: (props: typeof __VLS_3) => any;
10
10
  };
11
- declare const __VLS_component: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
11
+ declare const __VLS_base: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
13
+ declare const _default: typeof __VLS_export;
13
14
  export default _default;
14
15
  type __VLS_WithSlots<T, S> = T & {
15
16
  new (): {
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-g2vggicv";
2
+ script.__scopeId = "data-v-cfi66ey5";
3
3
  script.__file = "./src/components/render-collapse/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -5,11 +5,12 @@ interface IProps {
5
5
  apiPrefix: string;
6
6
  spaceId?: string;
7
7
  }
8
- declare const _default: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
8
+ declare const __VLS_export: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
9
9
  "update:modelValue": (value: boolean) => any;
10
10
  "success-review": () => any;
11
11
  }, string, import("vue").PublicProps, Readonly<IProps> & Readonly<{
12
12
  "onUpdate:modelValue"?: (value: boolean) => any;
13
13
  "onSuccess-review"?: () => any;
14
14
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
+ declare const _default: typeof __VLS_export;
15
16
  export default _default;
@@ -3,5 +3,6 @@ interface IProps {
3
3
  level: DatasetDataReviewLevel;
4
4
  reviewReason?: string;
5
5
  }
6
- declare const _default: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
+ declare const __VLS_export: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
+ declare const _default: typeof __VLS_export;
7
8
  export default _default;
@@ -3,5 +3,6 @@ interface IProps {
3
3
  status: DatasetDataStatus | DatasetDataReviewStatus;
4
4
  name: string;
5
5
  }
6
- declare const _default: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
+ declare const __VLS_export: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
+ declare const _default: typeof __VLS_export;
7
8
  export default _default;
@@ -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-rp0ondoc><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-rp0ondoc></i><span class=\"g-text-12 click-full-screen\" data-v-rp0ondoc>全屏</span></span><span class=\"click-un-full-screen g-cursor-pointer g-flex-row\" data-v-rp0ondoc><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-rp0ondoc></i><span class=\"g-text-12 click-un-full-screen\" data-v-rp0ondoc>取消全屏</span></span>", 2))
42
+ _cache[1] || (_cache[1] = _createStaticVNode("<span class=\"click-full-screen g-cursor-pointer g-flex-row\" data-v-w44qtzbz><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-w44qtzbz></i><span class=\"g-text-12 click-full-screen\" data-v-w44qtzbz>全屏</span></span><span class=\"click-un-full-screen g-cursor-pointer g-flex-row\" data-v-w44qtzbz><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-w44qtzbz></i><span class=\"g-text-12 click-un-full-screen\" data-v-w44qtzbz>取消全屏</span></span>", 2))
43
43
  ]);
44
44
  };
45
45
  }
@@ -1,5 +1,6 @@
1
1
  interface IProps {
2
2
  tips: string;
3
3
  }
4
- declare const _default: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
4
+ declare const __VLS_export: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
5
+ declare const _default: typeof __VLS_export;
5
6
  export default _default;
@@ -1,15 +1,15 @@
1
1
 
2
- .content[data-v-99cchnuo] {
2
+ .content[data-v-36xcdxaa] {
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-99cchnuo] {
7
+ .data-set-edit-slider .value-content[data-v-36xcdxaa] {
8
8
  padding: 16px;
9
9
  border: 1px solid #DCDEE5;
10
10
  line-height: 22px;
11
11
  }
12
- .data-set-edit-slider[data-v-99cchnuo] .bk-sideslider-title {
12
+ .data-set-edit-slider[data-v-36xcdxaa] .bk-sideslider-title {
13
13
  justify-content: space-between;
14
14
  width: 100%;
15
15
  }
@@ -10,11 +10,12 @@ interface IProps {
10
10
  manageDataset?: boolean;
11
11
  isInternal?: boolean;
12
12
  }
13
- declare const _default: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
13
+ declare const __VLS_export: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
14
14
  "update:modelValue": (modelValue: boolean) => any;
15
15
  "success-edit": () => any;
16
16
  }, string, import("vue").PublicProps, Readonly<IProps> & Readonly<{
17
17
  "onUpdate:modelValue"?: (modelValue: boolean) => any;
18
18
  "onSuccess-edit"?: () => any;
19
19
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
20
+ declare const _default: typeof __VLS_export;
20
21
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-99cchnuo";
2
+ script.__scopeId = "data-v-36xcdxaa";
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-ixew2fk1] {
2
+ .content[data-v-omap0yg0] {
3
3
  padding: 0 24px 0px 32px;
4
4
  height: 100%;
5
5
  }
6
- .content .toolbar[data-v-ixew2fk1] {
6
+ .content .toolbar[data-v-omap0yg0] {
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-ixew2fk1] {
13
+ .content .toolbar .record-search[data-v-omap0yg0] {
14
14
  width: 360px;
15
15
  }
16
- .content .toolbar .record-data-picker[data-v-ixew2fk1] {
16
+ .content .toolbar .record-data-picker[data-v-omap0yg0] {
17
17
  width: 260px;
18
18
  }
@@ -5,9 +5,10 @@ interface IProps {
5
5
  datasetDataId?: number;
6
6
  spaceId?: string;
7
7
  }
8
- declare const _default: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
8
+ declare const __VLS_export: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
9
9
  "update:modelValue": (modelValue: boolean) => any;
10
10
  }, string, import("vue").PublicProps, Readonly<IProps> & Readonly<{
11
11
  "onUpdate:modelValue"?: (modelValue: boolean) => any;
12
12
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
+ declare const _default: typeof __VLS_export;
13
14
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-ixew2fk1";
2
+ script.__scopeId = "data-v-omap0yg0";
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-v5mwbbea] {
2
+ .text[data-v-7el0vf73] {
3
3
  display: -webkit-box;
4
4
  -webkit-line-clamp: 2;
5
5
  -webkit-box-orient: vertical;
@@ -4,5 +4,6 @@ interface IProps {
4
4
  apiPrefix: string;
5
5
  spaceId?: string;
6
6
  }
7
- declare const _default: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
+ declare const __VLS_export: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
8
+ declare const _default: typeof __VLS_export;
8
9
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-v5mwbbea";
2
+ script.__scopeId = "data-v-7el0vf73";
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-pkw6bobf] {
2
+ .content[data-v-tq13n8pq] {
3
3
  padding: 18px 24px 0;
4
4
  height: 100%;
5
5
  overflow: auto;
6
6
  }
7
- .content .value-content[data-v-pkw6bobf] {
7
+ .content .value-content[data-v-tq13n8pq] {
8
8
  margin-top: 8px;
9
9
  padding: 16px;
10
10
  border: 1px solid #DCDEE5;
@@ -3,9 +3,10 @@ interface IProps {
3
3
  isShow: boolean;
4
4
  data: IOperatRecord;
5
5
  }
6
- declare const _default: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
6
+ declare const __VLS_export: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
7
7
  "update:isShow": (value: boolean) => any;
8
8
  }, string, import("vue").PublicProps, Readonly<IProps> & Readonly<{
9
9
  "onUpdate:isShow"?: (value: boolean) => any;
10
10
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
+ declare const _default: typeof __VLS_export;
11
12
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-pkw6bobf";
2
+ script.__scopeId = "data-v-tq13n8pq";
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;
@@ -6,11 +6,12 @@ interface IProps {
6
6
  id?: number;
7
7
  spaceId?: string;
8
8
  }
9
- declare const _default: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
9
+ declare const __VLS_export: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
10
10
  success: (data: IDataset) => any;
11
11
  cancel: () => any;
12
12
  }, string, import("vue").PublicProps, Readonly<IProps> & Readonly<{
13
13
  onSuccess?: (data: IDataset) => any;
14
14
  onCancel?: () => any;
15
15
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
+ declare const _default: typeof __VLS_export;
16
17
  export default _default;