@blueking/ai-ui-sdk 0.1.10-beta.3 → 0.1.10-beta.5

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 (54) 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-checkbox/index.vue.css +9 -9
  6. package/dist/components/render-checkbox/index.vue.js +1 -1
  7. package/dist/components/render-choose-tag/index.vue.css +8 -8
  8. package/dist/components/render-choose-tag/index.vue.js +1 -1
  9. package/dist/components/render-collapse/index.vue.css +2 -2
  10. package/dist/components/render-collapse/index.vue.js +1 -1
  11. package/dist/components/render-dataset/components/edit-dataset-data/index.vue.css +3 -3
  12. package/dist/components/render-dataset/components/edit-dataset-data/index.vue.js +1 -1
  13. package/dist/components/render-dataset/components/operation-record/index.vue.css +4 -4
  14. package/dist/components/render-dataset/components/operation-record/index.vue.js +1 -1
  15. package/dist/components/render-dataset/components/operation-record/table/index.script.vue.js.js +2 -7
  16. package/dist/components/render-dataset/components/operation-record/table/index.vue.css +1 -1
  17. package/dist/components/render-dataset/components/operation-record/table/index.vue.js +1 -1
  18. package/dist/components/render-dataset/components/operation-record/view-op-result/index.script.vue.js.js +1 -7
  19. package/dist/components/render-dataset/components/operation-record/view-op-result/index.vue.css +2 -2
  20. package/dist/components/render-dataset/components/operation-record/view-op-result/index.vue.js +1 -1
  21. package/dist/components/render-dataset/components/plus-dataset/index.vue.css +2 -2
  22. package/dist/components/render-dataset/components/plus-dataset/index.vue.js +1 -1
  23. package/dist/components/render-dataset/components/plus-dataset-data/form/footer.vue.css +1 -1
  24. package/dist/components/render-dataset/components/plus-dataset-data/form/footer.vue.js +1 -1
  25. package/dist/components/render-dataset/components/plus-dataset-data/form/index.vue.css +2 -2
  26. package/dist/components/render-dataset/components/plus-dataset-data/form/index.vue.js +1 -1
  27. package/dist/components/render-dataset/components/review-dataset-data/index.script.vue.js.js +3 -3
  28. package/dist/components/render-dataset/components/review-dataset-data/index.vue.css +10 -10
  29. package/dist/components/render-dataset/components/review-dataset-data/index.vue.js +1 -1
  30. package/dist/components/render-dataset/components/search-operation-record/index.script.vue.js.js +4 -0
  31. package/dist/components/render-dataset/index.vue.css +1 -1
  32. package/dist/components/render-dataset/index.vue.js +1 -1
  33. package/dist/components/render-dataset-detail-origin-data/components/table/index.script.vue.js +2 -1
  34. package/dist/components/render-dataset-detail-origin-data/components/table/index.vue.css +1 -1
  35. package/dist/components/render-dataset-detail-origin-data/components/table/index.vue.js +1 -1
  36. package/dist/components/render-dataset-detail-origin-data/index.vue.css +3 -3
  37. package/dist/components/render-dataset-detail-origin-data/index.vue.js +1 -1
  38. package/dist/components/render-dataset-list/components/main.vue.css +3 -3
  39. package/dist/components/render-dataset-list/components/main.vue.js +1 -1
  40. package/dist/components/render-expand-collapse/index.vue.css +3 -3
  41. package/dist/components/render-expand-collapse/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 +5 -5
  47. package/dist/components/render-header/index.vue.js +1 -1
  48. package/dist/components/render-router-tab/index.vue.css +3 -3
  49. package/dist/components/render-router-tab/index.vue.js +1 -1
  50. package/dist/http/helper/dataset.ts.js +3 -1
  51. package/dist/types/dataset.d.ts +4 -0
  52. package/dist/types/enum.d.ts +2 -1
  53. package/dist/types/enum.ts.js +1 -0
  54. package/package.json +1 -1
@@ -1,12 +1,12 @@
1
1
 
2
- .aside-home[data-v-ypvnqp8e] {
2
+ .aside-home[data-v-yia2q386] {
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-ypvnqp8e] .aside-item {
9
+ [data-v-yia2q386] .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-ypvnqp8e] .aside-item.is-tab {
19
+ [data-v-yia2q386] .aside-item.is-tab {
20
20
  background: #F5F7FA;
21
21
  cursor: pointer;
22
22
  color: #4D4F56;
23
23
  }
24
- [data-v-ypvnqp8e] .aside-item.is-tab:hover {
24
+ [data-v-yia2q386] .aside-item.is-tab:hover {
25
25
  background: #F0F5FF;
26
26
  }
27
- [data-v-ypvnqp8e] .aside-item.active {
27
+ [data-v-yia2q386] .aside-item.active {
28
28
  background: #F0F5FF;
29
29
  color: #3A84FF;
30
30
  font-weight: 700;
31
31
  }
32
- [data-v-ypvnqp8e] .aside-item.active .tab-num {
32
+ [data-v-yia2q386] .aside-item.active .tab-num {
33
33
  background: #3A84FF;
34
34
  color: #fff;
35
35
  }
36
- [data-v-ypvnqp8e] .aside-item.active .active-text {
36
+ [data-v-yia2q386] .aside-item.active .active-text {
37
37
  color: #3A84FF;
38
38
  }
39
- [data-v-ypvnqp8e] .aside-item .tab-name {
39
+ [data-v-yia2q386] .aside-item .tab-name {
40
40
  flex: 1;
41
41
  }
42
- [data-v-ypvnqp8e] .aside-item .tab-num {
42
+ [data-v-yia2q386] .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-ypvnqp8e";
2
+ script.__scopeId = "data-v-yia2q386";
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-qhwdymy8] {
2
+ .send-container[data-v-3zb4yj5k] {
3
3
  position: relative;
4
4
  }
5
- .send-container[data-v-qhwdymy8]:has(textarea:focus) {
5
+ .send-container[data-v-3zb4yj5k]:has(textarea:focus) {
6
6
  z-index: 2;
7
7
  }
8
- .send-container:hover .send-clear[data-v-qhwdymy8] {
8
+ .send-container:hover .send-clear[data-v-3zb4yj5k] {
9
9
  display: inline-flex !important;
10
10
  }
11
- .send-input[data-v-qhwdymy8] {
11
+ .send-input[data-v-3zb4yj5k] {
12
12
  width: 100%;
13
13
  flex-direction: row;
14
14
  height: var(--origin-height);
15
15
  }
16
- .send-input[data-v-qhwdymy8]:has(textarea:focus) {
16
+ .send-input[data-v-3zb4yj5k]:has(textarea:focus) {
17
17
  height: var(--text-height);
18
18
  }
19
- .send-input[data-v-qhwdymy8] textarea {
19
+ .send-input[data-v-3zb4yj5k] 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-qhwdymy8] textarea::-webkit-scrollbar {
25
+ .send-input[data-v-3zb4yj5k] textarea::-webkit-scrollbar {
26
26
  width: 4px;
27
27
  height: 4px;
28
28
  }
29
- .send-input[data-v-qhwdymy8] textarea::-webkit-scrollbar-thumb {
29
+ .send-input[data-v-3zb4yj5k] 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-qhwdymy8] textarea::placeholder {
34
+ .send-input[data-v-3zb4yj5k] textarea::placeholder {
35
35
  line-height: 16px;
36
36
  }
37
- .send-clear[data-v-qhwdymy8] {
37
+ .send-clear[data-v-3zb4yj5k] {
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-qhwdymy8]:hover {
46
+ .send-clear[data-v-3zb4yj5k]: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-qhwdymy8";
2
+ script.__scopeId = "data-v-3zb4yj5k";
3
3
  script.__file = "./src/components/render-auto-height-textarea/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,5 +1,5 @@
1
1
 
2
- .checkbox[data-v-ylju63wf] {
2
+ .checkbox[data-v-fv6u389a] {
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-ylju63wf] {
11
+ .checkbox.disabled[data-v-fv6u389a] {
12
12
  cursor: not-allowed;
13
13
  background: #fafbfd;
14
14
  border-color: #dcdee5;
15
15
  }
16
- .checkbox.disabled.checked[data-v-ylju63wf] {
16
+ .checkbox.disabled.checked[data-v-fv6u389a] {
17
17
  background-color: #a3c5fd;
18
18
  border-color: #a3c5fd;
19
19
  }
20
- .checkbox.disabled.indeterminate[data-v-ylju63wf] {
20
+ .checkbox.disabled.indeterminate[data-v-fv6u389a] {
21
21
  background-color: #fafbfd;
22
22
  border-color: #dcdee5;
23
23
  }
24
- .checkbox.disabled.indeterminate[data-v-ylju63wf]:after {
24
+ .checkbox.disabled.indeterminate[data-v-fv6u389a]:after {
25
25
  background: #dcdee5;
26
26
  }
27
- .checkbox.checked[data-v-ylju63wf] {
27
+ .checkbox.checked[data-v-fv6u389a] {
28
28
  background-color: #3a84ff;
29
29
  border: 1px solid #3a84ff;
30
30
  }
31
- .checkbox.checked[data-v-ylju63wf]:after {
31
+ .checkbox.checked[data-v-fv6u389a]: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-ylju63wf] {
44
+ .checkbox.indeterminate[data-v-fv6u389a] {
45
45
  background-color: #3a84ff;
46
46
  border: 1px solid #3a84ff;
47
47
  }
48
- .checkbox.indeterminate[data-v-ylju63wf]:after {
48
+ .checkbox.indeterminate[data-v-fv6u389a]: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-ylju63wf";
2
+ script.__scopeId = "data-v-fv6u389a";
3
3
  script.__file = "./src/components/render-checkbox/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,27 +1,27 @@
1
1
 
2
- .plus-tag-input[data-v-b8si9wwk] {
2
+ .plus-tag-input[data-v-81q9ifvj] {
3
3
  padding: 7px 12px;
4
4
  width: 100%;
5
5
  }
6
- .plus-tag-input .plus-tag-done[data-v-b8si9wwk] {
6
+ .plus-tag-input .plus-tag-done[data-v-81q9ifvj] {
7
7
  cursor: pointer;
8
8
  font-size: 22px;
9
9
  color: #2DCB56;
10
10
  margin: 0 5px 0 10px;
11
11
  }
12
- .plus-tag-input .plus-tag-error[data-v-b8si9wwk] {
12
+ .plus-tag-input .plus-tag-error[data-v-81q9ifvj] {
13
13
  cursor: pointer;
14
14
  font-size: 16px;
15
15
  color: #C4C6CC;
16
16
  margin-right: 5px;
17
17
  }
18
- .plus-tag-input .plus-tag-form[data-v-b8si9wwk] {
18
+ .plus-tag-input .plus-tag-form[data-v-81q9ifvj] {
19
19
  flex: 1;
20
20
  }
21
- .plus-tag-input .plus-tag-form-item[data-v-b8si9wwk] {
21
+ .plus-tag-input .plus-tag-form-item[data-v-81q9ifvj] {
22
22
  margin-bottom: 0;
23
23
  }
24
- .plus-tag[data-v-b8si9wwk] {
24
+ .plus-tag[data-v-81q9ifvj] {
25
25
  cursor: pointer;
26
26
  width: 100%;
27
27
  display: flex;
@@ -30,10 +30,10 @@
30
30
  font-size: 12px;
31
31
  line-height: 20px;
32
32
  }
33
- .plus-tag .bkaidev-plus-circle[data-v-b8si9wwk] {
33
+ .plus-tag .bkaidev-plus-circle[data-v-81q9ifvj] {
34
34
  font-size: 14px;
35
35
  margin-right: 6px;
36
36
  }
37
- .plus-tag[data-v-b8si9wwk]:hover {
37
+ .plus-tag[data-v-81q9ifvj]:hover {
38
38
  color: #3A84FF;
39
39
  }
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-b8si9wwk";
2
+ script.__scopeId = "data-v-81q9ifvj";
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-otv3ucn2] {
2
+ .collapse-title[data-v-tgvsc2e8] {
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-otv3ucn2] {
8
+ .collapse-title .is-hidden[data-v-tgvsc2e8] {
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-otv3ucn2";
2
+ script.__scopeId = "data-v-tgvsc2e8";
3
3
  script.__file = "./src/components/render-collapse/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,15 +1,15 @@
1
1
 
2
- .content[data-v-crvdz276] {
2
+ .content[data-v-4bkr9n29] {
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-crvdz276] {
7
+ .data-set-edit-slider .value-content[data-v-4bkr9n29] {
8
8
  padding: 16px;
9
9
  border: 1px solid #DCDEE5;
10
10
  line-height: 22px;
11
11
  }
12
- .data-set-edit-slider[data-v-crvdz276] .bk-sideslider-title {
12
+ .data-set-edit-slider[data-v-4bkr9n29] .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-crvdz276";
2
+ script.__scopeId = "data-v-4bkr9n29";
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-oorqaseo] {
2
+ .content[data-v-z4v0erdo] {
3
3
  padding: 0 24px 0px 32px;
4
4
  height: 100%;
5
5
  }
6
- .content .toolbar[data-v-oorqaseo] {
6
+ .content .toolbar[data-v-z4v0erdo] {
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-oorqaseo] {
13
+ .content .toolbar .record-search[data-v-z4v0erdo] {
14
14
  width: 360px;
15
15
  }
16
- .content .toolbar .record-data-picker[data-v-oorqaseo] {
16
+ .content .toolbar .record-data-picker[data-v-z4v0erdo] {
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-oorqaseo";
2
+ script.__scopeId = "data-v-z4v0erdo";
3
3
  script.__file = "./src/components/render-dataset/components/operation-record/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -38,7 +38,7 @@ import { ref, toRef, watch } from 'vue';
38
38
  import ViewOpResult from '../view-op-result/index.vue.js';
39
39
  import { useDatasetHttp } from '../../../../../hooks/use-dataset-http.ts.js';
40
40
  import useTable from '../../../../../hooks/use-table.ts.js';
41
- import { DatasetDataOperatRecordActionId, DatasetDataOperatRecordResultCode } from '../../../../../types/enum.ts.js';
41
+ import { DatasetDataOperatRecordResultCode } from '../../../../../types/enum.ts.js';
42
42
  export default /*@__PURE__*/ _defineComponent({
43
43
  props: {
44
44
  search: {},
@@ -52,11 +52,6 @@ export default /*@__PURE__*/ _defineComponent({
52
52
  [DatasetDataOperatRecordResultCode.Failed]: '失败',
53
53
  [DatasetDataOperatRecordResultCode.Success]: '成功'
54
54
  };
55
- const actionIdMap = {
56
- [DatasetDataOperatRecordActionId.AddDatasetItem]: '新增数据',
57
- [DatasetDataOperatRecordActionId.EditDatasetItem]: '编辑数据',
58
- [DatasetDataOperatRecordActionId.DeleteDatasetItem]: '删除数据'
59
- };
60
55
  const isShowView = ref(false);
61
56
  const viewData = ref();
62
57
  const handleGetOperateRecordList = (params)=>{
@@ -107,7 +102,7 @@ export default /*@__PURE__*/ _defineComponent({
107
102
  width: "142"
108
103
  }, {
109
104
  default: _withCtx(({ row })=>[
110
- _createTextVNode(_toDisplayString(actionIdMap[row.actionId]), 1 /* TEXT */ )
105
+ _createTextVNode(_toDisplayString(row.actionName), 1 /* TEXT */ )
111
106
  ]),
112
107
  _: 1 /* STABLE */
113
108
  }),
@@ -1,5 +1,5 @@
1
1
 
2
- .text[data-v-zo5qm4ad] {
2
+ .text[data-v-csz6opfy] {
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-zo5qm4ad";
2
+ script.__scopeId = "data-v-csz6opfy";
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;
@@ -10,7 +10,6 @@ const _hoisted_3 = {
10
10
  class: "value-content g-white-space-pre-line"
11
11
  };
12
12
  import Collapse from '../../../../render-collapse/index.vue.js';
13
- import { DatasetDataOperatRecordActionId } from '../../../../../types/enum.ts.js';
14
13
  export default /*@__PURE__*/ _defineComponent({
15
14
  props: {
16
15
  isShow: {
@@ -23,11 +22,6 @@ export default /*@__PURE__*/ _defineComponent({
23
22
  ],
24
23
  setup (__props, { emit: __emit }) {
25
24
  const emits = __emit;
26
- const actionIdMap = {
27
- [DatasetDataOperatRecordActionId.AddDatasetItem]: '新增数据',
28
- [DatasetDataOperatRecordActionId.EditDatasetItem]: '编辑数据',
29
- [DatasetDataOperatRecordActionId.DeleteDatasetItem]: '删除数据'
30
- };
31
25
  const handleClose = ()=>{
32
26
  emits('update:isShow', false);
33
27
  return true;
@@ -43,7 +37,7 @@ export default /*@__PURE__*/ _defineComponent({
43
37
  header: _withCtx(()=>[
44
38
  _createElementVNode("div", null, [
45
39
  _cache[0] || (_cache[0] = _createElementVNode("span", null, "查看操作结果", -1 /* HOISTED */ )),
46
- _createElementVNode("span", _hoisted_1, _toDisplayString(`操作类型: ${actionIdMap[_ctx.data.actionId]}`), 1 /* TEXT */ )
40
+ _createElementVNode("span", _hoisted_1, _toDisplayString(`操作类型: ${_ctx.data.actionName}`), 1 /* TEXT */ )
47
41
  ])
48
42
  ]),
49
43
  default: _withCtx(()=>[
@@ -1,10 +1,10 @@
1
1
 
2
- .content[data-v-bhgcw0rt] {
2
+ .content[data-v-grw2ekkt] {
3
3
  padding: 18px 24px 0;
4
4
  height: 100%;
5
5
  overflow: auto;
6
6
  }
7
- .content .value-content[data-v-bhgcw0rt] {
7
+ .content .value-content[data-v-grw2ekkt] {
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-bhgcw0rt";
2
+ script.__scopeId = "data-v-grw2ekkt";
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-yagj7p29] {
2
+ .dataset-data-content[data-v-ho4474hr] {
3
3
  padding: 20px 24px;
4
4
  height: 100%;
5
5
  }
6
- .dataset-data-slider[data-v-yagj7p29] .bk-modal-content {
6
+ .dataset-data-slider[data-v-ho4474hr] .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-yagj7p29";
2
+ script.__scopeId = "data-v-ho4474hr";
3
3
  script.__file = "./src/components/render-dataset/components/plus-dataset/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,5 +1,5 @@
1
1
 
2
- .footer-button[data-v-yqxeewtk] {
2
+ .footer-button[data-v-qawmhp2j] {
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-yqxeewtk";
2
+ script.__scopeId = "data-v-qawmhp2j";
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-9j1em5dy] {
2
+ .plus-dataset-data[data-v-p7r2aji1] {
3
3
  padding: 20px 24px;
4
4
  }
5
- .plus-dataset-sideslider[data-v-9j1em5dy] .bk-modal-content {
5
+ .plus-dataset-sideslider[data-v-p7r2aji1] .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-9j1em5dy";
2
+ script.__scopeId = "data-v-p7r2aji1";
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;
@@ -126,7 +126,7 @@ export default /*@__PURE__*/ _defineComponent({
126
126
  reviewData.id
127
127
  ],
128
128
  datasetId: props.datasetId,
129
- level: reviewData.level || DatasetDataReviewLevel.A,
129
+ level: reviewData.reviewLevel || DatasetDataReviewLevel.A,
130
130
  reviewReason: reviewData.reviewReason
131
131
  };
132
132
  return data;
@@ -315,14 +315,14 @@ export default /*@__PURE__*/ _defineComponent({
315
315
  _createElementVNode("span", _hoisted_5, [
316
316
  _cache[5] || (_cache[5] = _createTextVNode(" 当前审核结果: 质量等级:")),
317
317
  _createVNode(DatasetDataLevel, {
318
- level: (_unref_ = _unref(tableData)[0]) === null || _unref_ === void 0 ? void 0 : _unref_.level
318
+ level: (_unref_ = _unref(tableData)[0]) === null || _unref_ === void 0 ? void 0 : _unref_.reviewLevel
319
319
  }, null, 8 /* PROPS */ , [
320
320
  "level"
321
321
  ]),
322
322
  _cache[6] || (_cache[6] = _createTextVNode(", 审核状态:")),
323
323
  _createVNode(DatasetDataStatus, {
324
324
  status: (_unref_1 = _unref(tableData)[0]) === null || _unref_1 === void 0 ? void 0 : _unref_1.reviewStatus,
325
- name: (_unref_2 = _unref(tableData)[0]) === null || _unref_2 === void 0 ? void 0 : _unref_2.statusName
325
+ name: (_unref_2 = _unref(tableData)[0]) === null || _unref_2 === void 0 ? void 0 : _unref_2.reviewStatusName
326
326
  }, null, 8 /* PROPS */ , [
327
327
  "status",
328
328
  "name"
@@ -1,41 +1,41 @@
1
1
 
2
- .content[data-v-1u3gxymk] {
2
+ .content[data-v-5w7vy1fo] {
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-1u3gxymk] {
7
+ .data-set-review-slider .value-content[data-v-5w7vy1fo] {
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-1u3gxymk] {
12
+ .data-set-review-slider .review-data[data-v-5w7vy1fo] {
13
13
  height: calc(100% - 337px);
14
14
  padding: 18px 24px;
15
15
  }
16
- .data-set-review-slider .review-level[data-v-1u3gxymk] {
16
+ .data-set-review-slider .review-level[data-v-5w7vy1fo] {
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-1u3gxymk] {
21
+ .data-set-review-slider .review-level .level-score[data-v-5w7vy1fo] {
22
22
  gap: 50px;
23
23
  }
24
- .data-set-review-slider .review-level .level-score .bk-form-item[data-v-1u3gxymk] {
24
+ .data-set-review-slider .review-level .level-score .bk-form-item[data-v-5w7vy1fo] {
25
25
  flex: 1;
26
26
  }
27
- .data-set-review-slider .bold-title[data-v-1u3gxymk] .bk-form-label {
27
+ .data-set-review-slider .bold-title[data-v-5w7vy1fo] .bk-form-label {
28
28
  font-weight: bold;
29
29
  font-size: 14px;
30
30
  }
31
- .data-set-review-slider[data-v-1u3gxymk] .bk-sideslider-title {
31
+ .data-set-review-slider[data-v-5w7vy1fo] .bk-sideslider-title {
32
32
  justify-content: space-between;
33
33
  width: 100%;
34
34
  }
35
- .data-set-review-slider[data-v-1u3gxymk] .bk-modal-content {
35
+ .data-set-review-slider[data-v-5w7vy1fo] .bk-modal-content {
36
36
  height: calc(100% - 100px) !important;
37
37
  scrollbar-gutter: inherit;
38
38
  }
39
- .data-set-review-slider[data-v-1u3gxymk] .bk-modal-content >div, .data-set-review-slider[data-v-1u3gxymk] .bk-modal-content .bk-sideslider-content {
39
+ .data-set-review-slider[data-v-5w7vy1fo] .bk-modal-content >div, .data-set-review-slider[data-v-5w7vy1fo] .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-1u3gxymk";
2
+ script.__scopeId = "data-v-5w7vy1fo";
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;
@@ -29,6 +29,10 @@ export default /*@__PURE__*/ _defineComponent({
29
29
  {
30
30
  id: DatasetDataOperatRecordActionId.EditDatasetItem,
31
31
  name: '删除数据'
32
+ },
33
+ {
34
+ id: DatasetDataOperatRecordActionId.ReviewDatasetItem,
35
+ name: '审核数据'
32
36
  }
33
37
  ]
34
38
  },
@@ -1,5 +1,5 @@
1
1
 
2
- .dataset-main[data-v-rg0v4gex] {
2
+ .dataset-main[data-v-h9oezfgl] {
3
3
  flex: 1;
4
4
  width: calc(100vw - 300px);
5
5
  height: 100%;
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-rg0v4gex";
2
+ script.__scopeId = "data-v-h9oezfgl";
3
3
  script.__file = "./src/components/render-dataset/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -257,7 +257,8 @@ export default /*@__PURE__*/ _defineComponent({
257
257
  }),
258
258
  _createVNode(_component_bk_table_column, {
259
259
  label: "审核方式",
260
- field: "reviewTypeName"
260
+ field: "reviewTypeName",
261
+ width: "100"
261
262
  })
262
263
  ], 64 /* STABLE_FRAGMENT */ )) : _createCommentVNode("v-if", true),
263
264
  (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(Object.keys(_ctx.schema), (key)=>{
@@ -1,5 +1,5 @@
1
1
 
2
- .ellipsis-text[data-v-qwjbs6if] {
2
+ .ellipsis-text[data-v-rpdgbj6z] {
3
3
  display: -webkit-box;
4
4
  -webkit-line-clamp: 2;
5
5
  -webkit-box-orient: vertical;
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js';
2
- script.__scopeId = "data-v-qwjbs6if";
2
+ script.__scopeId = "data-v-rpdgbj6z";
3
3
  script.__file = "./src/components/render-dataset-detail-origin-data/components/table/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,15 +1,15 @@
1
1
 
2
- .origin-data-content[data-v-13u9eoeu] {
2
+ .origin-data-content[data-v-sewz1j3c] {
3
3
  padding: 24px;
4
4
  height: calc(100% - 52px - 44px);
5
5
  }
6
- .origin-data-panel[data-v-13u9eoeu] {
6
+ .origin-data-panel[data-v-sewz1j3c] {
7
7
  height: 100%;
8
8
  padding: 20px;
9
9
  background: #ffffff;
10
10
  box-shadow: 0 2px 4px 0 #1919290d;
11
11
  border-radius: 2px;
12
12
  }
13
- .origin-data-panel .toolbar-search[data-v-13u9eoeu] {
13
+ .origin-data-panel .toolbar-search[data-v-sewz1j3c] {
14
14
  width: 6.17rem;
15
15
  }
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-13u9eoeu";
2
+ script.__scopeId = "data-v-sewz1j3c";
3
3
  script.__file = "./src/components/render-dataset-detail-origin-data/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,15 +1,15 @@
1
1
 
2
- .main-content[data-v-g1e8y3kk] {
2
+ .main-content[data-v-vezo6pw7] {
3
3
  padding: 20px 24px;
4
4
  height: calc(100% - 52px);
5
5
  }
6
- .main-panel[data-v-g1e8y3kk] {
6
+ .main-panel[data-v-vezo6pw7] {
7
7
  height: 100%;
8
8
  padding: 20px 24px 0;
9
9
  background: #ffffff;
10
10
  box-shadow: 0 2px 4px 0 #1919290d;
11
11
  border-radius: 2px;
12
12
  }
13
- .main-search[data-v-g1e8y3kk] {
13
+ .main-search[data-v-vezo6pw7] {
14
14
  width: 6.17rem;
15
15
  }
@@ -1,5 +1,5 @@
1
1
  import script from './main.script.vue.js.js';
2
- script.__scopeId = "data-v-g1e8y3kk";
2
+ script.__scopeId = "data-v-vezo6pw7";
3
3
  script.__file = "./src/components/render-dataset-list/components/main.vue";
4
4
  import './main.vue.css';
5
5
  export default script;
@@ -1,5 +1,5 @@
1
1
 
2
- .expend-collapse-home[data-v-mbabxzq0] {
2
+ .expend-collapse-home[data-v-0rjgc330] {
3
3
  width: 16px;
4
4
  height: 64px;
5
5
  background: #DCDEE5;
@@ -15,9 +15,9 @@
15
15
  cursor: pointer;
16
16
  z-index: 1550;
17
17
  }
18
- .expend-collapse-home[data-v-mbabxzq0]:hover {
18
+ .expend-collapse-home[data-v-0rjgc330]:hover {
19
19
  background: #979BA5;
20
20
  }
21
- .expend-collapse-home.is-close[data-v-mbabxzq0] {
21
+ .expend-collapse-home.is-close[data-v-0rjgc330] {
22
22
  left: 0;
23
23
  }
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-mbabxzq0";
2
+ script.__scopeId = "data-v-0rjgc330";
3
3
  script.__file = "./src/components/render-expand-collapse/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,21 +1,21 @@
1
1
 
2
- .upload-file-home[data-v-y1rpfjod] {
2
+ .upload-file-home[data-v-v69iiucm] {
3
3
  position: relative;
4
4
  background: #FFFFFF;
5
5
  border: 1px solid #DCDEE5;
6
6
  border-radius: 4px;
7
7
  padding: 12px 12px 10px 12px;
8
8
  }
9
- .upload-file-home[data-v-y1rpfjod]:hover {
9
+ .upload-file-home[data-v-v69iiucm]:hover {
10
10
  border: 1px solid #3A84FF;
11
11
  }
12
- .upload-file-home:hover .file-icons[data-v-y1rpfjod] {
12
+ .upload-file-home:hover .file-icons[data-v-v69iiucm] {
13
13
  display: flex;
14
14
  }
15
- .upload-file-home .file-icon[data-v-y1rpfjod] {
15
+ .upload-file-home .file-icon[data-v-v69iiucm] {
16
16
  font-size: 32px;
17
17
  }
18
- .upload-file-home .file-content[data-v-y1rpfjod] {
18
+ .upload-file-home .file-content[data-v-v69iiucm] {
19
19
  font-size: 12px;
20
20
  flex: 1;
21
21
  align-items: flex-start;
@@ -23,28 +23,28 @@
23
23
  font-weight: normal;
24
24
  width: 0;
25
25
  }
26
- .upload-file-home .file-content .file-name[data-v-y1rpfjod] {
26
+ .upload-file-home .file-content .file-name[data-v-v69iiucm] {
27
27
  width: 100%;
28
28
  font-size: 14px;
29
29
  line-height: 20px;
30
30
  }
31
- .upload-file-home .file-content .file-size[data-v-y1rpfjod] {
31
+ .upload-file-home .file-content .file-size[data-v-v69iiucm] {
32
32
  font-size: 12px;
33
33
  color: #979BA5;
34
34
  line-height: 20px;
35
35
  }
36
- .upload-file-home .file-icons[data-v-y1rpfjod] {
36
+ .upload-file-home .file-icons[data-v-v69iiucm] {
37
37
  display: none;
38
38
  color: #979BA5;
39
39
  }
40
- .upload-file-home .file-icons .bkaidev-icon[data-v-y1rpfjod] {
40
+ .upload-file-home .file-icons .bkaidev-icon[data-v-v69iiucm] {
41
41
  cursor: pointer;
42
42
  margin-right: 15px;
43
43
  font-size: 16px;
44
44
  }
45
- .upload-file-home .file-icons .bkaidev-icon[data-v-y1rpfjod]:hover {
45
+ .upload-file-home .file-icons .bkaidev-icon[data-v-v69iiucm]:hover {
46
46
  color: #3A84FF;
47
47
  }
48
- .upload-file-home .file-icons .bkaidev-delete[data-v-y1rpfjod] {
48
+ .upload-file-home .file-icons .bkaidev-delete[data-v-v69iiucm] {
49
49
  margin: 0;
50
50
  }
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-y1rpfjod";
2
+ script.__scopeId = "data-v-v69iiucm";
3
3
  script.__file = "./src/components/render-file-card/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,16 +1,16 @@
1
1
 
2
- .ai-ui-sdk-icon.ai-ui-sdk-pdf[data-v-4yofqsd9] {
2
+ .ai-ui-sdk-icon.ai-ui-sdk-pdf[data-v-j2z2f8c4] {
3
3
  color: #EA3636;
4
4
  }
5
- .ai-ui-sdk-icon.ai-ui-sdk-doc-2[data-v-4yofqsd9], .ai-ui-sdk-icon.ai-ui-sdk-ppt-2[data-v-4yofqsd9], .ai-ui-sdk-icon.ai-ui-sdk-markdown[data-v-4yofqsd9] {
5
+ .ai-ui-sdk-icon.ai-ui-sdk-doc-2[data-v-j2z2f8c4], .ai-ui-sdk-icon.ai-ui-sdk-ppt-2[data-v-j2z2f8c4], .ai-ui-sdk-icon.ai-ui-sdk-markdown[data-v-j2z2f8c4] {
6
6
  color: #3A84FF;
7
7
  }
8
- .ai-ui-sdk-icon.ai-ui-sdk-folder-fill[data-v-4yofqsd9] {
8
+ .ai-ui-sdk-icon.ai-ui-sdk-folder-fill[data-v-j2z2f8c4] {
9
9
  color: #C4C6CC;
10
10
  }
11
- .ai-ui-sdk-icon.ai-ui-sdk-excel[data-v-4yofqsd9] {
11
+ .ai-ui-sdk-icon.ai-ui-sdk-excel[data-v-j2z2f8c4] {
12
12
  color: #2DCB56;
13
13
  }
14
- .ai-ui-sdk-icon.ai-ui-sdk-wangye[data-v-4yofqsd9] {
14
+ .ai-ui-sdk-icon.ai-ui-sdk-wangye[data-v-j2z2f8c4] {
15
15
  color: #14A568;
16
16
  }
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-4yofqsd9";
2
+ script.__scopeId = "data-v-j2z2f8c4";
3
3
  script.__file = "./src/components/render-file-type-icon/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,5 +1,5 @@
1
1
 
2
- .header-home[data-v-h6o2anoc] {
2
+ .header-home[data-v-uzhe6g5t] {
3
3
  width: 100%;
4
4
  height: 52px;
5
5
  background: #FFFFFF;
@@ -7,14 +7,14 @@
7
7
  position: relative;
8
8
  z-index: 2;
9
9
  }
10
- .header-title[data-v-h6o2anoc] {
10
+ .header-title[data-v-uzhe6g5t] {
11
11
  position: absolute;
12
12
  left: 24px;
13
13
  top: 14px;
14
14
  font-size: 16px;
15
15
  color: #313238;
16
16
  }
17
- .header-main[data-v-h6o2anoc] {
17
+ .header-main[data-v-uzhe6g5t] {
18
18
  display: flex;
19
19
  align-items: center;
20
20
  justify-content: flex-end;
@@ -22,13 +22,13 @@
22
22
  height: 100%;
23
23
  margin: 0 auto;
24
24
  }
25
- .header-select[data-v-h6o2anoc] {
25
+ .header-select[data-v-uzhe6g5t] {
26
26
  width: 300px;
27
27
  margin-right: 8px;
28
28
  z-index: 9;
29
29
  font-size: 12px;
30
30
  }
31
- .header-input[data-v-h6o2anoc] {
31
+ .header-input[data-v-uzhe6g5t] {
32
32
  width: 300px;
33
33
  font-size: 12px;
34
34
  }
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-h6o2anoc";
2
+ script.__scopeId = "data-v-uzhe6g5t";
3
3
  script.__file = "./src/components/render-header/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,12 +1,12 @@
1
1
 
2
- .router-tab[data-v-fygz8zei] {
2
+ .router-tab[data-v-0khc2332] {
3
3
  margin-top: 2px;
4
4
  height: 42px;
5
5
  background: #FFFFFF;
6
6
  box-shadow: 0 2px 4px 0 #1919290d;
7
7
  padding: 0 45px;
8
8
  }
9
- .router-tab a[data-v-fygz8zei] {
9
+ .router-tab a[data-v-0khc2332] {
10
10
  padding: 0 8px;
11
11
  margin-right: 24px;
12
12
  font-size: 14px;
@@ -15,7 +15,7 @@
15
15
  color: #4D4F56;
16
16
  box-sizing: border-box;
17
17
  }
18
- .router-tab a.router-link-exact-active[data-v-fygz8zei] {
18
+ .router-tab a.router-link-exact-active[data-v-0khc2332] {
19
19
  color: #3A84FF;
20
20
  border-bottom: 2px solid #3A84FF;
21
21
  }
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-fygz8zei";
2
+ script.__scopeId = "data-v-0khc2332";
3
3
  script.__file = "./src/components/render-router-tab/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -243,7 +243,8 @@ import { transferResourcePermission } from './permission.ts.js';
243
243
  reviewStatus: data.review_status,
244
244
  reviewStatusName: data.review_status_name,
245
245
  reviewSource: data.review_source,
246
- reviewReason: data.review_reason
246
+ reviewReason: data.review_reason,
247
+ reviewLevel: data.review_level
247
248
  };
248
249
  };
249
250
  /**
@@ -308,6 +309,7 @@ import { transferResourcePermission } from './permission.ts.js';
308
309
  return {
309
310
  id: data.id,
310
311
  actionId: data.action_id,
312
+ actionName: data.action_name,
311
313
  instanceId: data.instance_id,
312
314
  username: data.username,
313
315
  resultCode: data.result_code,
@@ -102,6 +102,7 @@ export interface IDatasetDataApi extends IDatasetDataFormApi {
102
102
  review_status_name: string;
103
103
  review_source: string;
104
104
  review_reason: string;
105
+ review_level: DatasetDataReviewLevel;
105
106
  id: number;
106
107
  }
107
108
  export interface IDatasetData extends IDatasetDataForm {
@@ -116,6 +117,7 @@ export interface IDatasetData extends IDatasetDataForm {
116
117
  reviewStatusName: string;
117
118
  reviewSource: string;
118
119
  reviewReason: string;
120
+ reviewLevel: DatasetDataReviewLevel;
119
121
  id: number;
120
122
  }
121
123
  export interface IDatasetDataParam extends IPage {
@@ -218,6 +220,7 @@ export interface IOperatRecordApi {
218
220
  username: string;
219
221
  instance_id: number;
220
222
  action_id: DatasetDataOperatRecordActionId;
223
+ action_name: string;
221
224
  result_code: DatasetDataOperatRecordResultCode;
222
225
  instance_data: Record<string, string>;
223
226
  end_time: string;
@@ -227,6 +230,7 @@ export interface IOperatRecord {
227
230
  username: string;
228
231
  instanceId: number;
229
232
  actionId: DatasetDataOperatRecordActionId;
233
+ actionName: string;
230
234
  resultCode: DatasetDataOperatRecordResultCode;
231
235
  instanceData: Record<string, string>;
232
236
  endTime: string;
@@ -124,7 +124,8 @@ export declare enum UserStatus {
124
124
  export declare enum DatasetDataOperatRecordActionId {
125
125
  AddDatasetItem = "add_dataset_item",
126
126
  EditDatasetItem = "edit_dataset_item",
127
- DeleteDatasetItem = "delete_dataset_item"
127
+ DeleteDatasetItem = "delete_dataset_item",
128
+ ReviewDatasetItem = "review_dataset_item"
128
129
  }
129
130
  export declare enum DatasetDataOperatRecordResultCode {
130
131
  Success = 0,
@@ -143,6 +143,7 @@ export var DatasetDataOperatRecordActionId;
143
143
  DatasetDataOperatRecordActionId["AddDatasetItem"] = "add_dataset_item";
144
144
  DatasetDataOperatRecordActionId["EditDatasetItem"] = "edit_dataset_item";
145
145
  DatasetDataOperatRecordActionId["DeleteDatasetItem"] = "delete_dataset_item";
146
+ DatasetDataOperatRecordActionId["ReviewDatasetItem"] = "review_dataset_item";
146
147
  })(DatasetDataOperatRecordActionId || (DatasetDataOperatRecordActionId = {}));
147
148
  export var DatasetDataOperatRecordResultCode;
148
149
  (function(DatasetDataOperatRecordResultCode) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blueking/ai-ui-sdk",
3
- "version": "0.1.10-beta.3",
3
+ "version": "0.1.10-beta.5",
4
4
  "description": "蓝鲸AI UI SDK",
5
5
  "main": "dist/main.js",
6
6
  "types": "dist/main.d.ts",