@blueking/ai-ui-sdk 0.1.19-beta.13 → 0.1.19-beta.14

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 (70) hide show
  1. package/dist/common/util.d.ts +6 -0
  2. package/dist/common/util.ts.js +16 -0
  3. package/dist/components/render-auto-height-textarea/index.vue.css +11 -11
  4. package/dist/components/render-auto-height-textarea/index.vue.js +1 -1
  5. package/dist/components/render-auto-refresh/index.vue.css +8 -8
  6. package/dist/components/render-auto-refresh/index.vue.js +1 -1
  7. package/dist/components/render-checkbox/index.vue.css +9 -9
  8. package/dist/components/render-checkbox/index.vue.js +1 -1
  9. package/dist/components/render-choose-tag/index.vue.css +7 -7
  10. package/dist/components/render-choose-tag/index.vue.js +1 -1
  11. package/dist/components/render-collapse/index.vue.css +2 -2
  12. package/dist/components/render-collapse/index.vue.js +1 -1
  13. package/dist/components/render-dataset/components/dataset-data-tool-icons/index.script.vue.js +1 -1
  14. package/dist/components/render-dataset/components/edit-dataset-data/index.vue.css +3 -3
  15. package/dist/components/render-dataset/components/edit-dataset-data/index.vue.js +1 -1
  16. package/dist/components/render-dataset/components/operation-record/index.vue.css +4 -4
  17. package/dist/components/render-dataset/components/operation-record/index.vue.js +1 -1
  18. package/dist/components/render-dataset/components/operation-record/table/index.vue.css +1 -1
  19. package/dist/components/render-dataset/components/operation-record/table/index.vue.js +1 -1
  20. package/dist/components/render-dataset/components/operation-record/view-op-result/index.vue.css +2 -2
  21. package/dist/components/render-dataset/components/operation-record/view-op-result/index.vue.js +1 -1
  22. package/dist/components/render-dataset/components/plus-dataset/index.script.vue.js.js +24 -6
  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/components/search-dataset/index.script.vue.js.js +3 -26
  34. package/dist/components/render-dataset-detail-origin-data/index.vue.css +3 -3
  35. package/dist/components/render-dataset-detail-origin-data/index.vue.js +1 -1
  36. package/dist/components/render-dataset-list/components/header.script.vue.js.js +0 -1
  37. package/dist/components/render-dataset-list/components/main.vue.css +3 -3
  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 -3
  40. package/dist/components/render-dataset-list/index.vue.css +1 -1
  41. package/dist/components/render-dataset-list/index.vue.js +1 -1
  42. package/dist/components/render-file-card/index.vue.css +11 -11
  43. package/dist/components/render-file-card/index.vue.js +1 -1
  44. package/dist/components/render-file-type-icon/index.vue.css +5 -5
  45. package/dist/components/render-file-type-icon/index.vue.js +1 -1
  46. package/dist/components/render-header/index.vue.css +3 -3
  47. package/dist/components/render-header/index.vue.js +1 -1
  48. package/dist/components/render-like/index.vue.css +5 -5
  49. package/dist/components/render-like/index.vue.js +1 -1
  50. package/dist/components/render-router-tab/index.vue.css +3 -3
  51. package/dist/components/render-router-tab/index.vue.js +1 -1
  52. package/dist/components/render-search-empty/index.script.vue.js.js +61 -0
  53. package/dist/components/render-search-empty/index.vue.d.ts +20 -0
  54. package/dist/components/render-search-empty/index.vue.js +3 -0
  55. package/dist/components/render-t-table/index.script.vue.js +311 -0
  56. package/dist/components/render-t-table/index.vue.css +160 -0
  57. package/dist/components/render-t-table/index.vue.d.ts +57 -0
  58. package/dist/components/render-t-table/index.vue.js +5 -0
  59. package/dist/components/render-tag-tree/index.script.vue.js.js +5 -2
  60. package/dist/components/render-tag-tree/index.vue.css +7 -7
  61. package/dist/components/render-tag-tree/index.vue.js +1 -1
  62. package/dist/components/render-tree/index.script.vue.js +17 -8
  63. package/dist/components/render-tree/index.vue.d.ts +4 -1
  64. package/dist/components.d.ts +3 -1
  65. package/dist/components.ts.js +3 -1
  66. package/dist/hooks/use-t-table.d.ts +39 -0
  67. package/dist/http/helper/dataset.ts.js +3 -1
  68. package/dist/types/common.d.ts +17 -0
  69. package/dist/types/dataset.d.ts +2 -0
  70. package/package.json +2 -1
@@ -102,3 +102,9 @@ export declare const getFullScreenWrap: (target: HTMLElement) => HTMLElement;
102
102
  * @returns 是否有
103
103
  */
104
104
  export declare const isParentHasClass: (ele: HTMLElement, cls: string) => boolean;
105
+ /**
106
+ * 判断值是否为空
107
+ * @param { string | array | object | null | undefined } value 值
108
+ * @returns boolean
109
+ */
110
+ export declare function isEmpty(value: string | Array<any> | Object | null | undefined): boolean;
@@ -259,3 +259,19 @@ export const handleCopy = (text)=>{
259
259
  }
260
260
  return result;
261
261
  };
262
+ /**
263
+ * 判断值是否为空
264
+ * @param { string | array | object | null | undefined } value 值
265
+ * @returns boolean
266
+ */ export function isEmpty(value) {
267
+ if (value === '' || value === null || value === undefined) {
268
+ return true;
269
+ }
270
+ if (Array.isArray(value) && value.length < 1) {
271
+ return true;
272
+ }
273
+ if (Object.prototype.toString.call(value) === '[object Object]' && Object.keys(value).length < 1) {
274
+ return true;
275
+ }
276
+ return false;
277
+ }
@@ -1,40 +1,40 @@
1
1
 
2
- .send-container[data-v-9vfgt6az] {
2
+ .send-container[data-v-mgxru0jq] {
3
3
  position: relative;
4
4
  }
5
- .send-container[data-v-9vfgt6az]:has(textarea:focus) {
5
+ .send-container[data-v-mgxru0jq]:has(textarea:focus) {
6
6
  z-index: 2;
7
7
  }
8
- .send-container:hover .send-clear[data-v-9vfgt6az] {
8
+ .send-container:hover .send-clear[data-v-mgxru0jq] {
9
9
  display: inline-flex !important;
10
10
  }
11
- .send-input[data-v-9vfgt6az] {
11
+ .send-input[data-v-mgxru0jq] {
12
12
  width: 100%;
13
13
  flex-direction: row;
14
14
  height: var(--origin-height);
15
15
  }
16
- .send-input[data-v-9vfgt6az]:has(textarea:focus) {
16
+ .send-input[data-v-mgxru0jq]:has(textarea:focus) {
17
17
  height: var(--text-height);
18
18
  }
19
- .send-input[data-v-9vfgt6az] textarea {
19
+ .send-input[data-v-mgxru0jq] 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-9vfgt6az] textarea::-webkit-scrollbar {
25
+ .send-input[data-v-mgxru0jq] textarea::-webkit-scrollbar {
26
26
  width: 4px;
27
27
  height: 4px;
28
28
  }
29
- .send-input[data-v-9vfgt6az] textarea::-webkit-scrollbar-thumb {
29
+ .send-input[data-v-mgxru0jq] 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-9vfgt6az] textarea::placeholder {
34
+ .send-input[data-v-mgxru0jq] textarea::placeholder {
35
35
  line-height: 16px;
36
36
  }
37
- .send-clear[data-v-9vfgt6az] {
37
+ .send-clear[data-v-mgxru0jq] {
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-9vfgt6az]:hover {
46
+ .send-clear[data-v-mgxru0jq]: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-9vfgt6az";
2
+ script.__scopeId = "data-v-mgxru0jq";
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-51vimokc] {
2
+ .auto-refresh[data-v-g5y41iyh] {
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-51vimokc]:after {
9
+ .auto-refresh[data-v-g5y41iyh]: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-51vimokc]:hover {
19
+ .auto-refresh[data-v-g5y41iyh]:hover {
20
20
  color: #3A84FF;
21
21
  background-color: #E1ECFF;
22
22
  }
23
- .refresh[data-v-51vimokc] {
23
+ .refresh[data-v-g5y41iyh] {
24
24
  cursor: pointer;
25
25
  line-height: 26px;
26
26
  padding: 0 4px;
27
27
  }
28
- .refresh[data-v-51vimokc]:hover {
28
+ .refresh[data-v-g5y41iyh]:hover {
29
29
  color: #3A84FF;
30
30
  background-color: #E1ECFF;
31
31
  }
32
- .textarea-list[data-v-51vimokc] {
32
+ .textarea-list[data-v-g5y41iyh] {
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-51vimokc] {
39
+ .textarea-list .textarea-item[data-v-g5y41iyh] {
40
40
  padding: 0 12px;
41
41
  cursor: pointer;
42
42
  }
43
- .textarea-list .textarea-item[data-v-51vimokc]:hover {
43
+ .textarea-list .textarea-item[data-v-g5y41iyh]: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-51vimokc";
2
+ script.__scopeId = "data-v-g5y41iyh";
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-or05ubfk] {
2
+ .checkbox[data-v-04h8affo] {
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-or05ubfk] {
11
+ .checkbox.disabled[data-v-04h8affo] {
12
12
  cursor: not-allowed;
13
13
  background: #fafbfd;
14
14
  border-color: #dcdee5;
15
15
  }
16
- .checkbox.disabled.checked[data-v-or05ubfk] {
16
+ .checkbox.disabled.checked[data-v-04h8affo] {
17
17
  background-color: #a3c5fd;
18
18
  border-color: #a3c5fd;
19
19
  }
20
- .checkbox.disabled.indeterminate[data-v-or05ubfk] {
20
+ .checkbox.disabled.indeterminate[data-v-04h8affo] {
21
21
  background-color: #fafbfd;
22
22
  border-color: #dcdee5;
23
23
  }
24
- .checkbox.disabled.indeterminate[data-v-or05ubfk]:after {
24
+ .checkbox.disabled.indeterminate[data-v-04h8affo]:after {
25
25
  background: #dcdee5;
26
26
  }
27
- .checkbox.checked[data-v-or05ubfk] {
27
+ .checkbox.checked[data-v-04h8affo] {
28
28
  background-color: #3a84ff;
29
29
  border: 1px solid #3a84ff;
30
30
  }
31
- .checkbox.checked[data-v-or05ubfk]:after {
31
+ .checkbox.checked[data-v-04h8affo]: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-or05ubfk] {
44
+ .checkbox.indeterminate[data-v-04h8affo] {
45
45
  background-color: #3a84ff;
46
46
  border: 1px solid #3a84ff;
47
47
  }
48
- .checkbox.indeterminate[data-v-or05ubfk]:after {
48
+ .checkbox.indeterminate[data-v-04h8affo]: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-or05ubfk";
2
+ script.__scopeId = "data-v-04h8affo";
3
3
  script.__file = "./src/components/render-checkbox/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,29 +1,29 @@
1
1
 
2
- .plus-tag-input[data-v-lfvdfzwa] {
2
+ .plus-tag-input[data-v-l1i8u6zb] {
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-lfvdfzwa] {
8
+ .plus-tag-input .plus-tag-done[data-v-l1i8u6zb] {
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-lfvdfzwa] {
14
+ .plus-tag-input .plus-tag-error[data-v-l1i8u6zb] {
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-lfvdfzwa] {
20
+ .plus-tag-input .plus-tag-form[data-v-l1i8u6zb] {
21
21
  flex: 1;
22
22
  }
23
- .plus-tag-input .plus-tag-form-item[data-v-lfvdfzwa] {
23
+ .plus-tag-input .plus-tag-form-item[data-v-l1i8u6zb] {
24
24
  margin-bottom: 0;
25
25
  }
26
- .plus-tag[data-v-lfvdfzwa] {
26
+ .plus-tag[data-v-l1i8u6zb] {
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-lfvdfzwa]:hover {
39
+ .plus-tag[data-v-l1i8u6zb]:hover {
40
40
  color: #3A84FF;
41
41
  }
42
42
 
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-lfvdfzwa";
2
+ script.__scopeId = "data-v-l1i8u6zb";
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-7k056701] {
2
+ .collapse-title[data-v-kgpqj2ve] {
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-7k056701] {
8
+ .collapse-title .is-hidden[data-v-kgpqj2ve] {
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-7k056701";
2
+ script.__scopeId = "data-v-kgpqj2ve";
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-72zjfdsg><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-72zjfdsg></i><span class=\"g-text-12 click-full-screen\" data-v-72zjfdsg>全屏</span></span><span class=\"click-un-full-screen g-cursor-pointer g-flex-row\" data-v-72zjfdsg><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-72zjfdsg></i><span class=\"g-text-12 click-un-full-screen\" data-v-72zjfdsg>取消全屏</span></span>", 2))
42
+ _cache[1] || (_cache[1] = _createStaticVNode("<span class=\"click-full-screen g-cursor-pointer g-flex-row\" data-v-5emkp4dy><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-5emkp4dy></i><span class=\"g-text-12 click-full-screen\" data-v-5emkp4dy>全屏</span></span><span class=\"click-un-full-screen g-cursor-pointer g-flex-row\" data-v-5emkp4dy><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-5emkp4dy></i><span class=\"g-text-12 click-un-full-screen\" data-v-5emkp4dy>取消全屏</span></span>", 2))
43
43
  ]);
44
44
  };
45
45
  }
@@ -1,15 +1,15 @@
1
1
 
2
- .content[data-v-jo9311qr] {
2
+ .content[data-v-2tbtz7s7] {
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-jo9311qr] {
7
+ .data-set-edit-slider .value-content[data-v-2tbtz7s7] {
8
8
  padding: 16px;
9
9
  border: 1px solid #DCDEE5;
10
10
  line-height: 22px;
11
11
  }
12
- .data-set-edit-slider[data-v-jo9311qr] .bk-sideslider-title {
12
+ .data-set-edit-slider[data-v-2tbtz7s7] .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-jo9311qr";
2
+ script.__scopeId = "data-v-2tbtz7s7";
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-q5c79ta3] {
2
+ .content[data-v-5d5u77dx] {
3
3
  padding: 0 24px 0px 32px;
4
4
  height: 100%;
5
5
  }
6
- .content .toolbar[data-v-q5c79ta3] {
6
+ .content .toolbar[data-v-5d5u77dx] {
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-q5c79ta3] {
13
+ .content .toolbar .record-search[data-v-5d5u77dx] {
14
14
  width: 360px;
15
15
  }
16
- .content .toolbar .record-data-picker[data-v-q5c79ta3] {
16
+ .content .toolbar .record-data-picker[data-v-5d5u77dx] {
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-q5c79ta3";
2
+ script.__scopeId = "data-v-5d5u77dx";
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-n501o1b1] {
2
+ .text[data-v-83n27dtd] {
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-n501o1b1";
2
+ script.__scopeId = "data-v-83n27dtd";
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-3zu7qc2a] {
2
+ .content[data-v-xcdmmrs2] {
3
3
  padding: 18px 24px 0;
4
4
  height: 100%;
5
5
  overflow: auto;
6
6
  }
7
- .content .value-content[data-v-3zu7qc2a] {
7
+ .content .value-content[data-v-xcdmmrs2] {
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-3zu7qc2a";
2
+ script.__scopeId = "data-v-xcdmmrs2";
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;
@@ -27,12 +27,21 @@ function _object_spread(target) {
27
27
  return target;
28
28
  }
29
29
  import { defineComponent as _defineComponent } from 'vue';
30
- import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createVNode as _createVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createBlock as _createBlock } from "vue";
30
+ import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createVNode as _createVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createBlock as _createBlock } from "vue";
31
31
  const _hoisted_1 = {
32
- key: 0,
33
- class: "g-text-gray g-text-14 g-ml-6"
32
+ class: "g-flex-row"
34
33
  };
35
34
  const _hoisted_2 = {
35
+ class: "title"
36
+ };
37
+ const _hoisted_3 = {
38
+ class: "g-text-14 g-text-gray"
39
+ };
40
+ const _hoisted_4 = {
41
+ key: 1,
42
+ class: "g-text-gray g-text-14 g-ml-6"
43
+ };
44
+ const _hoisted_5 = {
36
45
  key: 0,
37
46
  class: "dataset-data-content"
38
47
  };
@@ -108,8 +117,17 @@ export default /*@__PURE__*/ _defineComponent({
108
117
  class: "dataset-data-slider"
109
118
  }, {
110
119
  header: _withCtx(()=>[
111
- _createElementVNode("span", null, _toDisplayString(_ctx.dataset ? '编辑数据集' : '创建数据集'), 1 /* TEXT */ ),
112
- !_ctx.dataset ? (_openBlock(), _createElementBlock("span", _hoisted_1, " 用于对模型进行预训练、微调、偏好对齐、预估等 ")) : _createCommentVNode("v-if", true)
120
+ _createElementVNode("section", _hoisted_1, [
121
+ _createElementVNode("span", _hoisted_2, _toDisplayString(_ctx.dataset ? '编辑数据集' : '创建数据集'), 1 /* TEXT */ ),
122
+ _ctx.dataset ? (_openBlock(), _createElementBlock(_Fragment, {
123
+ key: 0
124
+ }, [
125
+ _cache[1] || (_cache[1] = _createElementVNode("span", {
126
+ class: "g-gap g-ml-14 g-mr-8"
127
+ }, null, -1 /* HOISTED */ )),
128
+ _createElementVNode("span", _hoisted_3, _toDisplayString(formData.value.datasetName), 1 /* TEXT */ )
129
+ ], 64 /* STABLE_FRAGMENT */ )) : (_openBlock(), _createElementBlock("span", _hoisted_4, " 用于对模型进行预训练、微调、偏好对齐、预估等 "))
130
+ ])
113
131
  ]),
114
132
  footer: _withCtx(()=>{
115
133
  var _ctx_dataset;
@@ -133,7 +151,7 @@ export default /*@__PURE__*/ _defineComponent({
133
151
  default: _withCtx(()=>{
134
152
  var _ctx_dataset;
135
153
  return [
136
- formData.value ? (_openBlock(), _createElementBlock("section", _hoisted_2, [
154
+ formData.value ? (_openBlock(), _createElementBlock("section", _hoisted_5, [
137
155
  _createVNode(DatasetForm, {
138
156
  ref_key: "formRef",
139
157
  ref: formRef,
@@ -1,8 +1,8 @@
1
1
 
2
- .dataset-data-content[data-v-ojk0sldl] {
2
+ .dataset-data-content[data-v-rn9ndnou] {
3
3
  padding: 20px 24px;
4
4
  height: 100%;
5
5
  }
6
- .dataset-data-slider[data-v-ojk0sldl] .bk-modal-content {
6
+ .dataset-data-slider[data-v-rn9ndnou] .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-ojk0sldl";
2
+ script.__scopeId = "data-v-rn9ndnou";
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-mp2wsgbt] {
2
+ .dataset-data-api-endpoint[data-v-xz71qn56] {
3
3
  line-height: 44px;
4
4
  background: #F5F7FA;
5
5
  border-radius: 2px;
6
6
  padding: 0 12px;
7
7
  }
8
- [data-v-mp2wsgbt] .dataset-data-api-demo .v-show-content {
8
+ [data-v-xz71qn56] .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-mp2wsgbt";
2
+ script.__scopeId = "data-v-xz71qn56";
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-tlzomdw1] {
2
+ .footer-button[data-v-4kz2hege] {
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-tlzomdw1";
2
+ script.__scopeId = "data-v-4kz2hege";
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-l8zh40cc] {
2
+ .plus-dataset-data[data-v-813v0plm] {
3
3
  padding: 20px 24px;
4
4
  }
5
- .plus-dataset-sideslider[data-v-l8zh40cc] .bk-modal-content {
5
+ .plus-dataset-sideslider[data-v-813v0plm] .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-l8zh40cc";
2
+ script.__scopeId = "data-v-813v0plm";
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-5pueorls] {
2
+ .content[data-v-dpystewk] {
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-5pueorls] {
7
+ .data-set-review-slider .value-content[data-v-dpystewk] {
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-5pueorls] {
12
+ .data-set-review-slider .review-data[data-v-dpystewk] {
13
13
  height: calc(100% - 337px);
14
14
  padding: 18px 24px;
15
15
  }
16
- .data-set-review-slider .review-level[data-v-5pueorls] {
16
+ .data-set-review-slider .review-level[data-v-dpystewk] {
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-5pueorls] {
21
+ .data-set-review-slider .review-level .level-score[data-v-dpystewk] {
22
22
  gap: 50px;
23
23
  }
24
- .data-set-review-slider .review-level .level-score .bk-form-item[data-v-5pueorls] {
24
+ .data-set-review-slider .review-level .level-score .bk-form-item[data-v-dpystewk] {
25
25
  flex: 1;
26
26
  }
27
- .data-set-review-slider .bold-title[data-v-5pueorls] .bk-form-label {
27
+ .data-set-review-slider .bold-title[data-v-dpystewk] .bk-form-label {
28
28
  font-weight: bold;
29
29
  font-size: 14px;
30
30
  }
31
- .data-set-review-slider[data-v-5pueorls] .bk-sideslider-title {
31
+ .data-set-review-slider[data-v-dpystewk] .bk-sideslider-title {
32
32
  justify-content: space-between;
33
33
  width: 100%;
34
34
  }
35
- .data-set-review-slider[data-v-5pueorls] .bk-modal-content {
35
+ .data-set-review-slider[data-v-dpystewk] .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-5pueorls] .bk-modal-content >div, .data-set-review-slider[data-v-5pueorls] .bk-modal-content .bk-sideslider-content {
39
+ .data-set-review-slider[data-v-dpystewk] .bk-modal-content >div, .data-set-review-slider[data-v-dpystewk] .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-5pueorls";
2
+ script.__scopeId = "data-v-dpystewk";
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;
@@ -34,7 +34,7 @@ import { isMatchSearch } from '../../../../common/util.ts.js';
34
34
  import RenderSearchSelect from '../../../render-search-select/index.vue.js';
35
35
  import { useDatasetHttp } from '../../../../hooks/use-dataset-http.ts.js';
36
36
  import { useMemberHttp } from '../../../../hooks/use-member-http.ts.js';
37
- import { DatasetDataSourceType, EnumCharacter } from '../../../../types/enum.ts.js';
37
+ import { DatasetDataSourceType } from '../../../../types/enum.ts.js';
38
38
  export default /*@__PURE__*/ _defineComponent({
39
39
  props: {
40
40
  modelValue: {},
@@ -115,30 +115,7 @@ export default /*@__PURE__*/ _defineComponent({
115
115
  async: true,
116
116
  children: []
117
117
  }
118
- ],
119
- {
120
- id: 'generateType',
121
- name: '公开范围',
122
- multiple: true,
123
- children: [
124
- {
125
- id: EnumCharacter.All,
126
- name: '全部'
127
- },
128
- {
129
- id: EnumCharacter.Space,
130
- name: '当前空间'
131
- },
132
- {
133
- id: EnumCharacter.User,
134
- name: '用户'
135
- },
136
- {
137
- id: EnumCharacter.Public,
138
- name: '公开'
139
- }
140
- ]
141
- }
118
+ ]
142
119
  ]);
143
120
  const handleUpdate = (modelValue)=>{
144
121
  emits('update:modelValue', modelValue);
@@ -187,7 +164,7 @@ export default /*@__PURE__*/ _defineComponent({
187
164
  };
188
165
  return (_ctx, _cache)=>{
189
166
  return _openBlock(), _createBlock(RenderSearchSelect, {
190
- placeholder: "搜索中英文名称、类型、创建方式、描述、更新人、公开范围",
167
+ placeholder: "搜索中英文名称、类型、创建方式、描述、更新人",
191
168
  data: data.value,
192
169
  "model-value": _ctx.modelValue,
193
170
  "get-menu-list": handleGetMenuList,