@blueking/ai-ui-sdk 0.1.12-beta.14 → 0.1.12-beta.3

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 (65) hide show
  1. package/dist/components/render-aside/index.vue.css +9 -9
  2. package/dist/components/render-aside/index.vue.js +1 -1
  3. package/dist/components/render-auto-height-textarea/index.vue.css +11 -11
  4. package/dist/components/render-auto-height-textarea/index.vue.js +1 -1
  5. package/dist/components/render-auto-refresh/index.vue.css +8 -8
  6. package/dist/components/render-auto-refresh/index.vue.js +1 -1
  7. package/dist/components/render-checkbox/index.vue.css +9 -9
  8. package/dist/components/render-checkbox/index.vue.js +1 -1
  9. package/dist/components/render-choose-tag/index.script.vue.js.js +9 -22
  10. package/dist/components/render-choose-tag/index.vue.css +7 -7
  11. package/dist/components/render-choose-tag/index.vue.js +1 -1
  12. package/dist/components/render-collapse/index.vue.css +2 -2
  13. package/dist/components/render-collapse/index.vue.js +1 -1
  14. package/dist/components/render-dataset/components/dataset-data-tool-icons/index.script.vue.js +1 -1
  15. package/dist/components/render-dataset/components/edit-dataset-data/index.vue.css +3 -3
  16. package/dist/components/render-dataset/components/edit-dataset-data/index.vue.js +1 -1
  17. package/dist/components/render-dataset/components/operation-record/index.vue.css +4 -4
  18. package/dist/components/render-dataset/components/operation-record/index.vue.js +1 -1
  19. package/dist/components/render-dataset/components/operation-record/table/index.vue.css +1 -1
  20. package/dist/components/render-dataset/components/operation-record/table/index.vue.js +1 -1
  21. package/dist/components/render-dataset/components/operation-record/view-op-result/index.vue.css +2 -2
  22. package/dist/components/render-dataset/components/operation-record/view-op-result/index.vue.js +1 -1
  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/file.script.vue.js.js +1 -4
  26. package/dist/components/render-dataset/components/plus-dataset-data/form/footer.vue.css +1 -1
  27. package/dist/components/render-dataset/components/plus-dataset-data/form/footer.vue.js +1 -1
  28. package/dist/components/render-dataset/components/plus-dataset-data/form/index.vue.css +2 -2
  29. package/dist/components/render-dataset/components/plus-dataset-data/form/index.vue.js +1 -1
  30. package/dist/components/render-dataset/components/review-dataset-data/index.script.vue.js.js +0 -1
  31. package/dist/components/render-dataset/components/review-dataset-data/index.vue.css +11 -11
  32. package/dist/components/render-dataset/components/review-dataset-data/index.vue.js +1 -1
  33. package/dist/components/render-dataset/index.vue.css +1 -1
  34. package/dist/components/render-dataset/index.vue.js +1 -1
  35. package/dist/components/render-dataset-detail-origin-data/components/table/index.script.vue.js +6 -14
  36. package/dist/components/render-dataset-detail-origin-data/components/table/index.vue.css +1 -1
  37. package/dist/components/render-dataset-detail-origin-data/components/table/index.vue.js +1 -1
  38. package/dist/components/render-dataset-detail-origin-data/index.vue.css +3 -3
  39. package/dist/components/render-dataset-detail-origin-data/index.vue.js +1 -1
  40. package/dist/components/render-dataset-list/components/main.vue.css +3 -3
  41. package/dist/components/render-dataset-list/components/main.vue.js +1 -1
  42. package/dist/components/render-dataset-list/components/table.script.vue.js.js +4 -13
  43. package/dist/components/render-expand-collapse/index.vue.css +3 -3
  44. package/dist/components/render-expand-collapse/index.vue.js +1 -1
  45. package/dist/components/render-file-card/index.vue.css +11 -11
  46. package/dist/components/render-file-card/index.vue.js +1 -1
  47. package/dist/components/render-file-type-icon/index.vue.css +5 -5
  48. package/dist/components/render-file-type-icon/index.vue.js +1 -1
  49. package/dist/components/render-header/index.script.vue.js.js +3 -3
  50. package/dist/components/render-header/index.vue.css +5 -5
  51. package/dist/components/render-header/index.vue.d.ts +3 -3
  52. package/dist/components/render-header/index.vue.js +1 -1
  53. package/dist/components/render-router-tab/index.vue.css +3 -3
  54. package/dist/components/render-router-tab/index.vue.js +1 -1
  55. package/dist/components.d.ts +1 -2
  56. package/dist/components.ts.js +1 -2
  57. package/dist/hooks/use-chat.d.ts +1 -1
  58. package/dist/hooks/use-form-rule.ts.js +101 -0
  59. package/dist/http/helper/dataset.ts.js +1 -3
  60. package/dist/types/common.d.ts +0 -4
  61. package/dist/types/dataset.d.ts +5 -5
  62. package/dist/types.d.ts +0 -1
  63. package/dist/types.ts.js +0 -1
  64. package/package.json +2 -2
  65. package/dist/types/agent.ts.js +0 -1
@@ -1,12 +1,12 @@
1
1
 
2
- .aside-home[data-v-38lvfmb6] {
2
+ .aside-home[data-v-yar6hxgd] {
3
3
  width: 300px;
4
4
  height: 100%;
5
5
  background: #FFFFFF;
6
6
  padding: 16px;
7
7
  border-right: 1px solid #eaebf0;
8
8
  }
9
- [data-v-38lvfmb6] .aside-item {
9
+ [data-v-yar6hxgd] .aside-item {
10
10
  width: 268px;
11
11
  line-height: 36px;
12
12
  border-radius: 2px;
@@ -16,30 +16,30 @@
16
16
  justify-content: space-between;
17
17
  color: #979BA5;
18
18
  }
19
- [data-v-38lvfmb6] .aside-item.is-tab {
19
+ [data-v-yar6hxgd] .aside-item.is-tab {
20
20
  background: #F5F7FA;
21
21
  cursor: pointer;
22
22
  color: #4D4F56;
23
23
  }
24
- [data-v-38lvfmb6] .aside-item.is-tab:hover {
24
+ [data-v-yar6hxgd] .aside-item.is-tab:hover {
25
25
  background: #F0F5FF;
26
26
  }
27
- [data-v-38lvfmb6] .aside-item.active {
27
+ [data-v-yar6hxgd] .aside-item.active {
28
28
  background: #F0F5FF;
29
29
  color: #3A84FF;
30
30
  font-weight: 700;
31
31
  }
32
- [data-v-38lvfmb6] .aside-item.active .tab-num {
32
+ [data-v-yar6hxgd] .aside-item.active .tab-num {
33
33
  background: #3A84FF;
34
34
  color: #fff;
35
35
  }
36
- [data-v-38lvfmb6] .aside-item.active .active-text {
36
+ [data-v-yar6hxgd] .aside-item.active .active-text {
37
37
  color: #3A84FF;
38
38
  }
39
- [data-v-38lvfmb6] .aside-item .tab-name {
39
+ [data-v-yar6hxgd] .aside-item .tab-name {
40
40
  flex: 1;
41
41
  }
42
- [data-v-38lvfmb6] .aside-item .tab-num {
42
+ [data-v-yar6hxgd] .aside-item .tab-num {
43
43
  background: #EAEBF0;
44
44
  border-radius: 2px;
45
45
  margin-left: 5px;
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js';
2
- script.__scopeId = "data-v-38lvfmb6";
2
+ script.__scopeId = "data-v-yar6hxgd";
3
3
  script.__file = "./src/components/render-aside/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,40 +1,40 @@
1
1
 
2
- .send-container[data-v-tu9s7l4q] {
2
+ .send-container[data-v-u58t8pgt] {
3
3
  position: relative;
4
4
  }
5
- .send-container[data-v-tu9s7l4q]:has(textarea:focus) {
5
+ .send-container[data-v-u58t8pgt]:has(textarea:focus) {
6
6
  z-index: 2;
7
7
  }
8
- .send-container:hover .send-clear[data-v-tu9s7l4q] {
8
+ .send-container:hover .send-clear[data-v-u58t8pgt] {
9
9
  display: inline-flex !important;
10
10
  }
11
- .send-input[data-v-tu9s7l4q] {
11
+ .send-input[data-v-u58t8pgt] {
12
12
  width: 100%;
13
13
  flex-direction: row;
14
14
  height: var(--origin-height);
15
15
  }
16
- .send-input[data-v-tu9s7l4q]:has(textarea:focus) {
16
+ .send-input[data-v-u58t8pgt]:has(textarea:focus) {
17
17
  height: var(--text-height);
18
18
  }
19
- .send-input[data-v-tu9s7l4q] textarea {
19
+ .send-input[data-v-u58t8pgt] 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-tu9s7l4q] textarea::-webkit-scrollbar {
25
+ .send-input[data-v-u58t8pgt] textarea::-webkit-scrollbar {
26
26
  width: 4px;
27
27
  height: 4px;
28
28
  }
29
- .send-input[data-v-tu9s7l4q] textarea::-webkit-scrollbar-thumb {
29
+ .send-input[data-v-u58t8pgt] 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-tu9s7l4q] textarea::placeholder {
34
+ .send-input[data-v-u58t8pgt] textarea::placeholder {
35
35
  line-height: 16px;
36
36
  }
37
- .send-clear[data-v-tu9s7l4q] {
37
+ .send-clear[data-v-u58t8pgt] {
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-tu9s7l4q]:hover {
46
+ .send-clear[data-v-u58t8pgt]: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-tu9s7l4q";
2
+ script.__scopeId = "data-v-u58t8pgt";
3
3
  script.__file = "./src/components/render-auto-height-textarea/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,11 +1,11 @@
1
1
 
2
- .auto-refresh[data-v-1o1i656q] {
2
+ .auto-refresh[data-v-1za1t80k] {
3
3
  position: relative;
4
4
  cursor: pointer;
5
5
  line-height: 26px;
6
6
  padding: 0 4px;
7
7
  }
8
- .auto-refresh[data-v-1o1i656q]:after {
8
+ .auto-refresh[data-v-1za1t80k]:after {
9
9
  content: '';
10
10
  position: absolute;
11
11
  top: 5px;
@@ -15,31 +15,31 @@
15
15
  background-color: #dcdee5;
16
16
  z-index: 1;
17
17
  }
18
- .auto-refresh[data-v-1o1i656q]:hover {
18
+ .auto-refresh[data-v-1za1t80k]:hover {
19
19
  color: #3A84FF;
20
20
  background-color: #E1ECFF;
21
21
  }
22
- .refresh[data-v-1o1i656q] {
22
+ .refresh[data-v-1za1t80k] {
23
23
  cursor: pointer;
24
24
  line-height: 26px;
25
25
  padding: 0 4px;
26
26
  }
27
- .refresh[data-v-1o1i656q]:hover {
27
+ .refresh[data-v-1za1t80k]:hover {
28
28
  color: #3A84FF;
29
29
  background-color: #E1ECFF;
30
30
  }
31
- .textarea-list[data-v-1o1i656q] {
31
+ .textarea-list[data-v-1za1t80k] {
32
32
  padding: 4px 0;
33
33
  line-height: 32px;
34
34
  max-height: 300px;
35
35
  position: relative;
36
36
  z-index: 2;
37
37
  }
38
- .textarea-list .textarea-item[data-v-1o1i656q] {
38
+ .textarea-list .textarea-item[data-v-1za1t80k] {
39
39
  padding: 0 12px;
40
40
  cursor: pointer;
41
41
  }
42
- .textarea-list .textarea-item[data-v-1o1i656q]:hover {
42
+ .textarea-list .textarea-item[data-v-1za1t80k]:hover {
43
43
  background: #E1ECFF;
44
44
  color: #3A84FF;
45
45
  }
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-1o1i656q";
2
+ script.__scopeId = "data-v-1za1t80k";
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-njfxpyuq] {
2
+ .checkbox[data-v-4tuzujyo] {
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-njfxpyuq] {
11
+ .checkbox.disabled[data-v-4tuzujyo] {
12
12
  cursor: not-allowed;
13
13
  background: #fafbfd;
14
14
  border-color: #dcdee5;
15
15
  }
16
- .checkbox.disabled.checked[data-v-njfxpyuq] {
16
+ .checkbox.disabled.checked[data-v-4tuzujyo] {
17
17
  background-color: #a3c5fd;
18
18
  border-color: #a3c5fd;
19
19
  }
20
- .checkbox.disabled.indeterminate[data-v-njfxpyuq] {
20
+ .checkbox.disabled.indeterminate[data-v-4tuzujyo] {
21
21
  background-color: #fafbfd;
22
22
  border-color: #dcdee5;
23
23
  }
24
- .checkbox.disabled.indeterminate[data-v-njfxpyuq]:after {
24
+ .checkbox.disabled.indeterminate[data-v-4tuzujyo]:after {
25
25
  background: #dcdee5;
26
26
  }
27
- .checkbox.checked[data-v-njfxpyuq] {
27
+ .checkbox.checked[data-v-4tuzujyo] {
28
28
  background-color: #3a84ff;
29
29
  border: 1px solid #3a84ff;
30
30
  }
31
- .checkbox.checked[data-v-njfxpyuq]:after {
31
+ .checkbox.checked[data-v-4tuzujyo]: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-njfxpyuq] {
44
+ .checkbox.indeterminate[data-v-4tuzujyo] {
45
45
  background-color: #3a84ff;
46
46
  border: 1px solid #3a84ff;
47
47
  }
48
- .checkbox.indeterminate[data-v-njfxpyuq]:after {
48
+ .checkbox.indeterminate[data-v-4tuzujyo]: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-njfxpyuq";
2
+ script.__scopeId = "data-v-4tuzujyo";
3
3
  script.__file = "./src/components/render-checkbox/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -36,6 +36,7 @@ const _hoisted_1 = {
36
36
  import { Done, Error } from 'bkui-vue/lib/icon';
37
37
  import { onBeforeMount, ref, toRef, watch } from 'vue';
38
38
  import { useDatasetHttp } from '../../hooks/use-dataset-http.ts.js';
39
+ import { useFormRule } from '../../hooks/use-form-rule.ts.js';
39
40
  import { useMetaHttp } from '../../hooks/use-meta-http.ts.js';
40
41
  export default /*@__PURE__*/ _defineComponent({
41
42
  props: {
@@ -53,6 +54,7 @@ export default /*@__PURE__*/ _defineComponent({
53
54
  setup (__props, { emit: __emit }) {
54
55
  const props = __props;
55
56
  const emits = __emit;
57
+ const { getLengthRule } = useFormRule(props.apiPrefix, toRef(props, 'spaceId'));
56
58
  const { getTags, plusTag, checkTag } = useMetaHttp(props.apiPrefix, toRef(props, 'spaceId'));
57
59
  const { getTags: getDatasetTags, plusTag: plusDatasetTag, checkTag: checkDatasetTag } = useDatasetHttp(props.apiPrefix, toRef(props, 'spaceId'));
58
60
  const isShowEdit = ref(false);
@@ -63,30 +65,15 @@ export default /*@__PURE__*/ _defineComponent({
63
65
  const isLoadingTag = ref(false);
64
66
  const isShow = ref(false);
65
67
  const tags = ref([]);
66
- let templateTagNameErrorMessage = '';
67
68
  const checkTagRule = {
68
- validator: function() {
69
- var _ref = _async_to_generator(function*(value) {
70
- const fun = props.isDataset ? checkDatasetTag : checkTag;
71
- const tagNames = handleGetTagNames(value);
72
- try {
73
- templateTagNameErrorMessage = '';
74
- yield fun(tagNames);
75
- } catch (error) {
76
- templateTagNameErrorMessage = error.message;
77
- return false;
78
- }
79
- });
80
- return function(value) {
81
- return _ref.apply(this, arguments);
82
- };
83
- }(),
84
- message: ()=>templateTagNameErrorMessage,
69
+ validator: (value)=>props.isDataset ? checkDatasetTag(handleGetTagNames(value)) : checkTag(handleGetTagNames(value)).then(()=>true).catch(()=>false),
70
+ message: '标签名称重复',
85
71
  trigger: 'change'
86
72
  };
87
73
  const tagRules = {
88
74
  tempTagName: [
89
- checkTagRule
75
+ checkTagRule,
76
+ getLengthRule('标签名称', 16)
90
77
  ]
91
78
  };
92
79
  const handleFocus = ()=>{
@@ -118,9 +105,8 @@ export default /*@__PURE__*/ _defineComponent({
118
105
  try {
119
106
  isPulsingTag.value = true;
120
107
  const tagNames = handleGetTagNames(tempTagName.value);
121
- const plusTagFun = props.isDataset ? plusDatasetTag : plusTag;
122
108
  yield tagFormRef.value.validate();
123
- yield plusTagFun(tagNames);
109
+ (yield props.isDataset) ? plusDatasetTag(tagNames) : plusTag(tagNames);
124
110
  emits('update:modelValue', [
125
111
  ...props.modelValue,
126
112
  ...tagNames
@@ -146,7 +132,7 @@ export default /*@__PURE__*/ _defineComponent({
146
132
  };
147
133
  const handleGetTags = ()=>{
148
134
  isLoadingTag.value = true;
149
- (props.isDataset ? getDatasetTags() : getTags()).then((result)=>{
135
+ props.isDataset ? getDatasetTags() : getTags().then((result)=>{
150
136
  tags.value = result;
151
137
  }).finally(()=>{
152
138
  isLoadingTag.value = false;
@@ -204,6 +190,7 @@ export default /*@__PURE__*/ _defineComponent({
204
190
  _createVNode(_component_bk_input, {
205
191
  modelValue: tempTagName.value,
206
192
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event)=>tempTagName.value = $event),
193
+ maxlength: 20,
207
194
  ref_key: "tagRef",
208
195
  ref: tagRef,
209
196
  placeholder: "如需定义层级标签,以英文“/”分割层级,多个标签以“、”分隔",
@@ -1,29 +1,29 @@
1
1
 
2
- .plus-tag-input[data-v-n7kv63mm] {
2
+ .plus-tag-input[data-v-qgj1pmub] {
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-n7kv63mm] {
8
+ .plus-tag-input .plus-tag-done[data-v-qgj1pmub] {
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-n7kv63mm] {
14
+ .plus-tag-input .plus-tag-error[data-v-qgj1pmub] {
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-n7kv63mm] {
20
+ .plus-tag-input .plus-tag-form[data-v-qgj1pmub] {
21
21
  flex: 1;
22
22
  }
23
- .plus-tag-input .plus-tag-form-item[data-v-n7kv63mm] {
23
+ .plus-tag-input .plus-tag-form-item[data-v-qgj1pmub] {
24
24
  margin-bottom: 0;
25
25
  }
26
- .plus-tag[data-v-n7kv63mm] {
26
+ .plus-tag[data-v-qgj1pmub] {
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-n7kv63mm]:hover {
39
+ .plus-tag[data-v-qgj1pmub]: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-n7kv63mm";
2
+ script.__scopeId = "data-v-qgj1pmub";
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-n5kl2mq1] {
2
+ .collapse-title[data-v-ou76eq5e] {
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-n5kl2mq1] {
8
+ .collapse-title .is-hidden[data-v-ou76eq5e] {
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-n5kl2mq1";
2
+ script.__scopeId = "data-v-ou76eq5e";
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-qg0y2z7l><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-qg0y2z7l></i><span class=\"g-text-12 click-full-screen\" data-v-qg0y2z7l>全屏</span></span><span class=\"click-un-full-screen g-cursor-pointer g-flex-row\" data-v-qg0y2z7l><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-qg0y2z7l></i><span class=\"g-text-12 click-un-full-screen\" data-v-qg0y2z7l>取消全屏</span></span>", 2))
42
+ _cache[1] || (_cache[1] = _createStaticVNode("<span class=\"click-full-screen g-cursor-pointer g-flex-row\" data-v-yzy2n466><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-yzy2n466></i><span class=\"g-text-12 click-full-screen\" data-v-yzy2n466>全屏</span></span><span class=\"click-un-full-screen g-cursor-pointer g-flex-row\" data-v-yzy2n466><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-yzy2n466></i><span class=\"g-text-12 click-un-full-screen\" data-v-yzy2n466>取消全屏</span></span>", 2))
43
43
  ]);
44
44
  };
45
45
  }
@@ -1,15 +1,15 @@
1
1
 
2
- .content[data-v-3d4o4xjv] {
2
+ .content[data-v-qw08p65i] {
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-3d4o4xjv] {
7
+ .data-set-edit-slider .value-content[data-v-qw08p65i] {
8
8
  padding: 16px;
9
9
  border: 1px solid #DCDEE5;
10
10
  line-height: 22px;
11
11
  }
12
- .data-set-edit-slider[data-v-3d4o4xjv] .bk-sideslider-title {
12
+ .data-set-edit-slider[data-v-qw08p65i] .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-3d4o4xjv";
2
+ script.__scopeId = "data-v-qw08p65i";
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-i065g376] {
2
+ .content[data-v-mxp7a6do] {
3
3
  padding: 0 24px 0px 32px;
4
4
  height: 100%;
5
5
  }
6
- .content .toolbar[data-v-i065g376] {
6
+ .content .toolbar[data-v-mxp7a6do] {
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-i065g376] {
13
+ .content .toolbar .record-search[data-v-mxp7a6do] {
14
14
  width: 360px;
15
15
  }
16
- .content .toolbar .record-data-picker[data-v-i065g376] {
16
+ .content .toolbar .record-data-picker[data-v-mxp7a6do] {
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-i065g376";
2
+ script.__scopeId = "data-v-mxp7a6do";
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-yvvb9z9h] {
2
+ .text[data-v-zx7q6z60] {
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-yvvb9z9h";
2
+ script.__scopeId = "data-v-zx7q6z60";
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-f3zucui9] {
2
+ .content[data-v-ugbq7hqn] {
3
3
  padding: 18px 24px 0;
4
4
  height: 100%;
5
5
  overflow: auto;
6
6
  }
7
- .content .value-content[data-v-f3zucui9] {
7
+ .content .value-content[data-v-ugbq7hqn] {
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-f3zucui9";
2
+ script.__scopeId = "data-v-ugbq7hqn";
3
3
  script.__file = "./src/components/render-dataset/components/operation-record/view-op-result/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,8 +1,8 @@
1
1
 
2
- .dataset-data-content[data-v-39c2w791] {
2
+ .dataset-data-content[data-v-bvv83ook] {
3
3
  padding: 20px 24px;
4
4
  height: 100%;
5
5
  }
6
- .dataset-data-slider[data-v-39c2w791] .bk-modal-content {
6
+ .dataset-data-slider[data-v-bvv83ook] .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-39c2w791";
2
+ script.__scopeId = "data-v-bvv83ook";
3
3
  script.__file = "./src/components/render-dataset/components/plus-dataset/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -120,10 +120,7 @@ export default /*@__PURE__*/ _defineComponent({
120
120
  const files = yield uploadDatasetDataFiles(chooseResult);
121
121
  // update
122
122
  const dataset = _object_spread_props(_object_spread({}, props.modelValue), {
123
- files: [
124
- ...props.modelValue.files || [],
125
- ...files
126
- ]
123
+ files
127
124
  });
128
125
  emits('update:modelValue', dataset);
129
126
  } catch (error) {
@@ -1,5 +1,5 @@
1
1
 
2
- .footer-button[data-v-3n0zojwi] {
2
+ .footer-button[data-v-rgvfie6l] {
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-3n0zojwi";
2
+ script.__scopeId = "data-v-rgvfie6l";
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-3vbc3y1p] {
2
+ .plus-dataset-data[data-v-ifw7x8sa] {
3
3
  padding: 20px 24px;
4
4
  }
5
- .plus-dataset-sideslider[data-v-3vbc3y1p] .bk-modal-content {
5
+ .plus-dataset-sideslider[data-v-ifw7x8sa] .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-3vbc3y1p";
2
+ script.__scopeId = "data-v-ifw7x8sa";
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;
@@ -322,7 +322,6 @@ export default /*@__PURE__*/ _defineComponent({
322
322
  ]),
323
323
  _cache[6] || (_cache[6] = _createTextVNode(", 审核状态:")),
324
324
  _createVNode(DatasetDataStatus, {
325
- class: "g-text-bold",
326
325
  status: (_unref_1 = _unref(tableData)[0]) === null || _unref_1 === void 0 ? void 0 : _unref_1.reviewStatus,
327
326
  name: (_unref_2 = _unref(tableData)[0]) === null || _unref_2 === void 0 ? void 0 : _unref_2.reviewStatusName
328
327
  }, null, 8 /* PROPS */ , [
@@ -1,41 +1,41 @@
1
1
 
2
- .content[data-v-1k55d7y6] {
2
+ .content[data-v-y095j8a0] {
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-1k55d7y6] {
7
+ .data-set-review-slider .value-content[data-v-y095j8a0] {
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-1k55d7y6] {
12
+ .data-set-review-slider .review-data[data-v-y095j8a0] {
13
13
  height: calc(100% - 337px);
14
14
  padding: 18px 24px;
15
15
  }
16
- .data-set-review-slider .review-level[data-v-1k55d7y6] {
16
+ .data-set-review-slider .review-level[data-v-y095j8a0] {
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-1k55d7y6] {
21
+ .data-set-review-slider .review-level .level-score[data-v-y095j8a0] {
22
22
  gap: 50px;
23
23
  }
24
- .data-set-review-slider .review-level .level-score .bk-form-item[data-v-1k55d7y6] {
24
+ .data-set-review-slider .review-level .level-score .bk-form-item[data-v-y095j8a0] {
25
25
  flex: 1;
26
26
  }
27
- .data-set-review-slider .bold-title[data-v-1k55d7y6] .bk-form-label {
27
+ .data-set-review-slider .bold-title[data-v-y095j8a0] .bk-form-label {
28
28
  font-weight: bold;
29
29
  font-size: 14px;
30
30
  }
31
- .data-set-review-slider[data-v-1k55d7y6] .bk-sideslider-title {
31
+ .data-set-review-slider[data-v-y095j8a0] .bk-sideslider-title {
32
32
  justify-content: space-between;
33
33
  width: 100%;
34
34
  }
35
- .data-set-review-slider[data-v-1k55d7y6] .bk-modal-content {
35
+ .data-set-review-slider[data-v-y095j8a0] .bk-modal-content {
36
36
  height: calc(100% - 100px) !important;
37
- scrollbar-gutter: inherit !important;
37
+ scrollbar-gutter: inherit;
38
38
  }
39
- .data-set-review-slider[data-v-1k55d7y6] .bk-modal-content >div, .data-set-review-slider[data-v-1k55d7y6] .bk-modal-content .bk-sideslider-content {
39
+ .data-set-review-slider[data-v-y095j8a0] .bk-modal-content >div, .data-set-review-slider[data-v-y095j8a0] .bk-modal-content .bk-sideslider-content {
40
40
  height: 100%;
41
41
  }