@blueking/ai-ui-sdk 0.1.0-beta.10 → 0.1.0-beta.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) 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-collapse/index.vue.css +2 -2
  6. package/dist/components/render-collapse/index.vue.js +1 -1
  7. package/dist/components/render-dataset/components/edit-dataset-data/index.vue.css +3 -3
  8. package/dist/components/render-dataset/components/edit-dataset-data/index.vue.js +1 -1
  9. package/dist/components/render-dataset/components/operation-record/index.vue.css +4 -4
  10. package/dist/components/render-dataset/components/operation-record/index.vue.js +1 -1
  11. package/dist/components/render-dataset/components/operation-record/table/index.vue.css +1 -1
  12. package/dist/components/render-dataset/components/operation-record/table/index.vue.js +1 -1
  13. package/dist/components/render-dataset/components/operation-record/view-op-result/index.vue.css +2 -2
  14. package/dist/components/render-dataset/components/operation-record/view-op-result/index.vue.js +1 -1
  15. package/dist/components/render-dataset/components/plus-dataset/dataset-form.script.vue.js +7 -8
  16. package/dist/components/render-dataset/components/plus-dataset/index.script.vue.js.js +1 -1
  17. package/dist/components/render-dataset/components/plus-dataset/index.vue.css +2 -2
  18. package/dist/components/render-dataset/components/plus-dataset/index.vue.js +1 -1
  19. package/dist/components/render-dataset/components/plus-dataset-data/form/footer.vue.css +1 -1
  20. package/dist/components/render-dataset/components/plus-dataset-data/form/footer.vue.js +1 -1
  21. package/dist/components/render-dataset/components/plus-dataset-data/form/index.vue.css +2 -2
  22. package/dist/components/render-dataset/components/plus-dataset-data/form/index.vue.js +1 -1
  23. package/dist/components/render-dataset/components/search-dataset/index.script.vue.js.js +64 -7
  24. package/dist/components/render-dataset/components/search-operation-record/index.script.vue.js.js +0 -4
  25. package/dist/components/render-dataset/components/source-type-icon/index.vue.css +3 -3
  26. package/dist/components/render-dataset/components/source-type-icon/index.vue.js +1 -1
  27. package/dist/components/render-dataset/index.vue.css +1 -1
  28. package/dist/components/render-dataset/index.vue.js +1 -1
  29. package/dist/components/render-dataset-detail-origin-data/components/table/index.vue.css +1 -1
  30. package/dist/components/render-dataset-detail-origin-data/components/table/index.vue.js +1 -1
  31. package/dist/components/render-dataset-detail-origin-data/index.vue.css +3 -3
  32. package/dist/components/render-dataset-detail-origin-data/index.vue.js +1 -1
  33. package/dist/components/render-dataset-list/components/main.vue.css +3 -3
  34. package/dist/components/render-dataset-list/components/main.vue.js +1 -1
  35. package/dist/components/render-dataset-list/components/table.script.vue.js.js +6 -1
  36. package/dist/components/render-expand-collapse/index.vue.css +3 -3
  37. package/dist/components/render-expand-collapse/index.vue.js +1 -1
  38. package/dist/components/render-file-card/index.vue.css +11 -11
  39. package/dist/components/render-file-card/index.vue.js +1 -1
  40. package/dist/components/render-file-type-icon/index.vue.css +5 -5
  41. package/dist/components/render-file-type-icon/index.vue.js +1 -1
  42. package/dist/components/render-header/index.vue.css +5 -5
  43. package/dist/components/render-header/index.vue.js +1 -1
  44. package/dist/components/render-router-tab/index.vue.css +3 -3
  45. package/dist/components/render-router-tab/index.vue.js +1 -1
  46. package/dist/hooks/use-dataset-http.d.ts +1 -1
  47. package/dist/hooks/use-dataset-http.ts.js +4 -4
  48. package/dist/http/helper/dataset.d.ts +1 -13
  49. package/dist/http/helper/dataset.ts.js +5 -30
  50. package/dist/types/common.d.ts +1 -0
  51. package/dist/types/dataset.d.ts +12 -38
  52. package/package.json +1 -1
@@ -1,12 +1,12 @@
1
1
 
2
- .aside-home[data-v-4bn8ma4b] {
2
+ .aside-home[data-v-fapvn6kr] {
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-4bn8ma4b] .aside-item {
9
+ [data-v-fapvn6kr] .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-4bn8ma4b] .aside-item.is-tab {
19
+ [data-v-fapvn6kr] .aside-item.is-tab {
20
20
  background: #F5F7FA;
21
21
  cursor: pointer;
22
22
  color: #4D4F56;
23
23
  }
24
- [data-v-4bn8ma4b] .aside-item.is-tab:hover {
24
+ [data-v-fapvn6kr] .aside-item.is-tab:hover {
25
25
  background: #F0F5FF;
26
26
  }
27
- [data-v-4bn8ma4b] .aside-item.active {
27
+ [data-v-fapvn6kr] .aside-item.active {
28
28
  background: #F0F5FF;
29
29
  color: #3A84FF;
30
30
  font-weight: 700;
31
31
  }
32
- [data-v-4bn8ma4b] .aside-item.active .tab-num {
32
+ [data-v-fapvn6kr] .aside-item.active .tab-num {
33
33
  background: #3A84FF;
34
34
  color: #fff;
35
35
  }
36
- [data-v-4bn8ma4b] .aside-item.active .active-text {
36
+ [data-v-fapvn6kr] .aside-item.active .active-text {
37
37
  color: #3A84FF;
38
38
  }
39
- [data-v-4bn8ma4b] .aside-item .tab-name {
39
+ [data-v-fapvn6kr] .aside-item .tab-name {
40
40
  flex: 1;
41
41
  }
42
- [data-v-4bn8ma4b] .aside-item .tab-num {
42
+ [data-v-fapvn6kr] .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-4bn8ma4b";
2
+ script.__scopeId = "data-v-fapvn6kr";
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-01mw9h41] {
2
+ .send-container[data-v-uo486154] {
3
3
  position: relative;
4
4
  }
5
- .send-container[data-v-01mw9h41]:has(textarea:focus) {
5
+ .send-container[data-v-uo486154]:has(textarea:focus) {
6
6
  z-index: 2;
7
7
  }
8
- .send-container:hover .send-clear[data-v-01mw9h41] {
8
+ .send-container:hover .send-clear[data-v-uo486154] {
9
9
  display: inline-flex !important;
10
10
  }
11
- .send-input[data-v-01mw9h41] {
11
+ .send-input[data-v-uo486154] {
12
12
  width: 100%;
13
13
  flex-direction: row;
14
14
  height: var(--origin-height);
15
15
  }
16
- .send-input[data-v-01mw9h41]:has(textarea:focus) {
16
+ .send-input[data-v-uo486154]:has(textarea:focus) {
17
17
  height: var(--text-height);
18
18
  }
19
- .send-input[data-v-01mw9h41] textarea {
19
+ .send-input[data-v-uo486154] 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-01mw9h41] textarea::-webkit-scrollbar {
25
+ .send-input[data-v-uo486154] textarea::-webkit-scrollbar {
26
26
  width: 4px;
27
27
  height: 4px;
28
28
  }
29
- .send-input[data-v-01mw9h41] textarea::-webkit-scrollbar-thumb {
29
+ .send-input[data-v-uo486154] 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-01mw9h41] textarea::placeholder {
34
+ .send-input[data-v-uo486154] textarea::placeholder {
35
35
  line-height: 16px;
36
36
  }
37
- .send-clear[data-v-01mw9h41] {
37
+ .send-clear[data-v-uo486154] {
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-01mw9h41]:hover {
46
+ .send-clear[data-v-uo486154]: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-01mw9h41";
2
+ script.__scopeId = "data-v-uo486154";
3
3
  script.__file = "./src/components/render-auto-height-textarea/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,10 +1,10 @@
1
1
 
2
- .collapse-title[data-v-5lepjunl] {
2
+ .collapse-title[data-v-6fs9ou4n] {
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-5lepjunl] {
8
+ .collapse-title .is-hidden[data-v-6fs9ou4n] {
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-5lepjunl";
2
+ script.__scopeId = "data-v-6fs9ou4n";
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-87a6gpz7] {
2
+ .content[data-v-radhf568] {
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-87a6gpz7] {
7
+ .data-set-edit-slider .value-content[data-v-radhf568] {
8
8
  padding: 16px;
9
9
  border: 1px solid #DCDEE5;
10
10
  line-height: 22px;
11
11
  }
12
- .data-set-edit-slider[data-v-87a6gpz7] .bk-sideslider-title {
12
+ .data-set-edit-slider[data-v-radhf568] .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-87a6gpz7";
2
+ script.__scopeId = "data-v-radhf568";
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-0vxs3cm0] {
2
+ .content[data-v-nf9jvsst] {
3
3
  padding: 0 24px 0px 32px;
4
4
  height: 100%;
5
5
  }
6
- .content .toolbar[data-v-0vxs3cm0] {
6
+ .content .toolbar[data-v-nf9jvsst] {
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-0vxs3cm0] {
13
+ .content .toolbar .record-search[data-v-nf9jvsst] {
14
14
  width: 360px;
15
15
  }
16
- .content .toolbar .record-data-picker[data-v-0vxs3cm0] {
16
+ .content .toolbar .record-data-picker[data-v-nf9jvsst] {
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-0vxs3cm0";
2
+ script.__scopeId = "data-v-nf9jvsst";
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-ktb2v0c7] {
2
+ .text[data-v-af4s30pr] {
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-ktb2v0c7";
2
+ script.__scopeId = "data-v-af4s30pr";
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-64g5md4f] {
2
+ .content[data-v-rnfhmh60] {
3
3
  padding: 18px 24px 0;
4
4
  height: 100%;
5
5
  overflow: auto;
6
6
  }
7
- .content .value-content[data-v-64g5md4f] {
7
+ .content .value-content[data-v-rnfhmh60] {
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-64g5md4f";
2
+ script.__scopeId = "data-v-rnfhmh60";
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;
@@ -102,6 +102,7 @@ export default /*@__PURE__*/ _defineComponent({
102
102
  const _component_bk_select = _resolveComponent("bk-select");
103
103
  const _component_bk_table_column = _resolveComponent("bk-table-column");
104
104
  const _component_bk_table = _resolveComponent("bk-table");
105
+ const _component_bk_cascader = _resolveComponent("bk-cascader");
105
106
  const _component_bk_form = _resolveComponent("bk-form");
106
107
  return _openBlock(), _createBlock(_component_bk_form, {
107
108
  "form-type": "vertical",
@@ -241,22 +242,20 @@ export default /*@__PURE__*/ _defineComponent({
241
242
  _createCommentVNode(" <bk-form-item\n label=\"来源团队\"\n property=\"sourceTeam\"\n required\n >\n <bk-select\n id-key=\"id\"\n display-key=\"companyName\"\n :model-value=\"formData.sourceTeam\"\n :list=\"companyList\"\n @change=\"(value: string) => handleChange('sourceTeam', value)\"\n />\n </bk-form-item> "),
242
243
  _createVNode(_component_bk_form_item, {
243
244
  label: "组件",
244
- property: "componentId",
245
+ property: "componentIds",
245
246
  class: "g-last-form-item",
246
247
  required: ""
247
248
  }, {
248
249
  default: _withCtx(()=>[
249
- _createVNode(_component_bk_select, {
250
- "id-key": "id",
251
- "display-key": "name",
250
+ _createVNode(_component_bk_cascader, {
251
+ filterable: "",
252
252
  list: componentList.value,
253
- "model-value": _ctx.formData.componentId,
254
- onChange: _cache[2] || (_cache[2] = (value)=>handleChange('componentId', value))
253
+ "model-value": _ctx.formData.componentIds,
254
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = (value)=>handleChange('componentIds', value))
255
255
  }, null, 8 /* PROPS */ , [
256
256
  "list",
257
257
  "model-value"
258
- ]),
259
- _createCommentVNode(" <bk-cascader\n filterable\n :list=\"componentList\"\n :model-value=\"formData.componentId\"\n @change=\"(value: string) => handleChange('componentId', value)\"\n /> ")
258
+ ])
260
259
  ]),
261
260
  _: 1 /* STABLE */
262
261
  })
@@ -41,7 +41,7 @@ export default /*@__PURE__*/ _defineComponent({
41
41
  datasetName: '',
42
42
  type: undefined,
43
43
  companyId: undefined,
44
- componentId: undefined
44
+ componentIds: []
45
45
  };
46
46
  };
47
47
  const handleClearValidate = ()=>{
@@ -1,8 +1,8 @@
1
1
 
2
- .dataset-data-content[data-v-5uip0fta] {
2
+ .dataset-data-content[data-v-cz161dbo] {
3
3
  padding: 20px 24px;
4
4
  height: 100%;
5
5
  }
6
- .dataset-data-slider[data-v-5uip0fta] .bk-modal-content {
6
+ .dataset-data-slider[data-v-cz161dbo] .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-5uip0fta";
2
+ script.__scopeId = "data-v-cz161dbo";
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-qlz68h3r] {
2
+ .footer-button[data-v-89aoxzkz] {
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-qlz68h3r";
2
+ script.__scopeId = "data-v-89aoxzkz";
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-3urqxqxe] {
2
+ .plus-dataset-data[data-v-bxs696g9] {
3
3
  padding: 20px 24px;
4
4
  }
5
- .plus-dataset-sideslider[data-v-3urqxqxe] .bk-modal-content {
5
+ .plus-dataset-sideslider[data-v-bxs696g9] .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-3urqxqxe";
2
+ script.__scopeId = "data-v-bxs696g9";
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,6 +1,35 @@
1
+ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
2
+ try {
3
+ var info = gen[key](arg);
4
+ var value = info.value;
5
+ } catch (error) {
6
+ reject(error);
7
+ return;
8
+ }
9
+ if (info.done) {
10
+ resolve(value);
11
+ } else {
12
+ Promise.resolve(value).then(_next, _throw);
13
+ }
14
+ }
15
+ function _async_to_generator(fn) {
16
+ return function() {
17
+ var self = this, args = arguments;
18
+ return new Promise(function(resolve, reject) {
19
+ var gen = fn.apply(self, args);
20
+ function _next(value) {
21
+ asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
22
+ }
23
+ function _throw(err) {
24
+ asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
25
+ }
26
+ _next(undefined);
27
+ });
28
+ };
29
+ }
1
30
  import { defineComponent as _defineComponent } from 'vue';
2
31
  import { openBlock as _openBlock, createBlock as _createBlock } from "vue";
3
- import { onBeforeMount, ref } from 'vue';
32
+ import { ref } from 'vue';
4
33
  import RenderSearchSelect from '../../../render-search-select/index.vue.js';
5
34
  import { useDatasetHttp } from '../../../../hooks/use-dataset-http.ts.js';
6
35
  export default /*@__PURE__*/ _defineComponent({
@@ -14,7 +43,7 @@ export default /*@__PURE__*/ _defineComponent({
14
43
  setup (__props, { emit: __emit }) {
15
44
  const props = __props;
16
45
  const emits = __emit;
17
- const { getSchemaList } = useDatasetHttp(props.apiPrefix);
46
+ const { getSchemaList, getComponentList } = useDatasetHttp(props.apiPrefix);
18
47
  const data = ref([
19
48
  {
20
49
  id: 'datasetName',
@@ -24,11 +53,15 @@ export default /*@__PURE__*/ _defineComponent({
24
53
  id: 'type',
25
54
  name: '数据集类型',
26
55
  multiple: true,
56
+ async: true,
27
57
  children: []
28
58
  },
29
59
  {
30
- id: 'componentName',
31
- name: '组件'
60
+ id: 'componentIds',
61
+ name: '组件',
62
+ multiple: true,
63
+ async: true,
64
+ children: []
32
65
  },
33
66
  {
34
67
  id: 'createdBy',
@@ -38,20 +71,44 @@ export default /*@__PURE__*/ _defineComponent({
38
71
  const handleUpdate = (modelValue)=>{
39
72
  emits('update:modelValue', modelValue);
40
73
  };
74
+ const handleGetMenuList = function() {
75
+ var _ref = _async_to_generator(function*(data) {
76
+ if (!data.async) {
77
+ return [];
78
+ }
79
+ if (data.id === 'componentIds') {
80
+ return handleGetComponentList();
81
+ }
82
+ if (data.id === 'type') {
83
+ return handleGetSchemaList();
84
+ }
85
+ });
86
+ return function handleGetMenuList(data) {
87
+ return _ref.apply(this, arguments);
88
+ };
89
+ }();
41
90
  const handleGetSchemaList = ()=>{
42
- getSchemaList().then((schemaList)=>{
43
- data.value[1].children = schemaList.map((schema)=>({
91
+ return getSchemaList().then((schemaList)=>{
92
+ const children = schemaList.map((schema)=>({
44
93
  id: schema.id,
45
94
  name: schema.name
46
95
  }));
96
+ data.value[1].children = children;
97
+ return children;
98
+ });
99
+ };
100
+ const handleGetComponentList = ()=>{
101
+ return getComponentList().then((componentList)=>{
102
+ data.value[2].children = componentList;
103
+ return componentList;
47
104
  });
48
105
  };
49
- onBeforeMount(handleGetSchemaList);
50
106
  return (_ctx, _cache)=>{
51
107
  return _openBlock(), _createBlock(RenderSearchSelect, {
52
108
  placeholder: "按关键字搜索",
53
109
  data: data.value,
54
110
  "model-value": _ctx.modelValue,
111
+ "get-menu-list": handleGetMenuList,
55
112
  "onUpdate:modelValue": handleUpdate
56
113
  }, null, 8 /* PROPS */ , [
57
114
  "data",
@@ -49,10 +49,6 @@ export default /*@__PURE__*/ _defineComponent({
49
49
  {
50
50
  id: 'instanceData',
51
51
  name: '操作结果'
52
- },
53
- {
54
- id: 'username',
55
- name: '操作人'
56
52
  }
57
53
  ]);
58
54
  const handleUpdate = (modelValue)=>{
@@ -1,10 +1,10 @@
1
1
 
2
- .bkaidev-markdown[data-v-dzmk9rr9] {
2
+ .bkaidev-markdown[data-v-kznel9g2] {
3
3
  color: #3a84ff;
4
4
  }
5
- .bkaidev-wangye[data-v-dzmk9rr9] {
5
+ .bkaidev-wangye[data-v-kznel9g2] {
6
6
  color: #14A568;
7
7
  }
8
- .bkaidev-wenben[data-v-dzmk9rr9] {
8
+ .bkaidev-wenben[data-v-kznel9g2] {
9
9
  color: #979ba5;
10
10
  }
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-dzmk9rr9";
2
+ script.__scopeId = "data-v-kznel9g2";
3
3
  script.__file = "./src/components/render-dataset/components/source-type-icon/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,5 +1,5 @@
1
1
 
2
- .dataset-main[data-v-qa5s3vx1] {
2
+ .dataset-main[data-v-prsosygu] {
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-qa5s3vx1";
2
+ script.__scopeId = "data-v-prsosygu";
3
3
  script.__file = "./src/components/render-dataset/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,5 +1,5 @@
1
1
 
2
- .ellipsis-text[data-v-6ddh2pl2] {
2
+ .ellipsis-text[data-v-bffo3w2d] {
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-6ddh2pl2";
2
+ script.__scopeId = "data-v-bffo3w2d";
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-05oivf6c] {
2
+ .origin-data-content[data-v-p0otrwg0] {
3
3
  padding: 24px;
4
4
  height: calc(100% - 52px - 44px);
5
5
  }
6
- .origin-data-panel[data-v-05oivf6c] {
6
+ .origin-data-panel[data-v-p0otrwg0] {
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-05oivf6c] {
13
+ .origin-data-panel .toolbar-search[data-v-p0otrwg0] {
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-05oivf6c";
2
+ script.__scopeId = "data-v-p0otrwg0";
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-5uimw112] {
2
+ .main-content[data-v-onnlkawo] {
3
3
  padding: 20px 24px;
4
4
  height: calc(100% - 52px);
5
5
  }
6
- .main-panel[data-v-5uimw112] {
6
+ .main-panel[data-v-onnlkawo] {
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-5uimw112] {
13
+ .main-search[data-v-onnlkawo] {
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-5uimw112";
2
+ script.__scopeId = "data-v-onnlkawo";
3
3
  script.__file = "./src/components/render-dataset-list/components/main.vue";
4
4
  import './main.vue.css';
5
5
  export default script;
@@ -177,7 +177,12 @@ export default /*@__PURE__*/ _defineComponent({
177
177
  }),
178
178
  _createVNode(_component_bk_table_column, {
179
179
  label: "组件",
180
- field: "componentName"
180
+ field: "componentNames"
181
+ }, {
182
+ default: _withCtx(({ row })=>[
183
+ _createTextVNode(_toDisplayString(row.componentNames.join(' / ')), 1 /* TEXT */ )
184
+ ]),
185
+ _: 1 /* STABLE */
181
186
  }),
182
187
  _createVNode(_component_bk_table_column, {
183
188
  label: "创建人",
@@ -1,5 +1,5 @@
1
1
 
2
- .expend-collapse-home[data-v-fqv15nkk] {
2
+ .expend-collapse-home[data-v-k5b38l6k] {
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-fqv15nkk]:hover {
18
+ .expend-collapse-home[data-v-k5b38l6k]:hover {
19
19
  background: #979BA5;
20
20
  }
21
- .expend-collapse-home.is-close[data-v-fqv15nkk] {
21
+ .expend-collapse-home.is-close[data-v-k5b38l6k] {
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-fqv15nkk";
2
+ script.__scopeId = "data-v-k5b38l6k";
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-r8kqchgj] {
2
+ .upload-file-home[data-v-kxtrpdgi] {
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-r8kqchgj]:hover {
9
+ .upload-file-home[data-v-kxtrpdgi]:hover {
10
10
  border: 1px solid #3A84FF;
11
11
  }
12
- .upload-file-home:hover .file-icons[data-v-r8kqchgj] {
12
+ .upload-file-home:hover .file-icons[data-v-kxtrpdgi] {
13
13
  display: flex;
14
14
  }
15
- .upload-file-home .file-icon[data-v-r8kqchgj] {
15
+ .upload-file-home .file-icon[data-v-kxtrpdgi] {
16
16
  font-size: 32px;
17
17
  }
18
- .upload-file-home .file-content[data-v-r8kqchgj] {
18
+ .upload-file-home .file-content[data-v-kxtrpdgi] {
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-r8kqchgj] {
26
+ .upload-file-home .file-content .file-name[data-v-kxtrpdgi] {
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-r8kqchgj] {
31
+ .upload-file-home .file-content .file-size[data-v-kxtrpdgi] {
32
32
  font-size: 12px;
33
33
  color: #979BA5;
34
34
  line-height: 20px;
35
35
  }
36
- .upload-file-home .file-icons[data-v-r8kqchgj] {
36
+ .upload-file-home .file-icons[data-v-kxtrpdgi] {
37
37
  display: none;
38
38
  color: #979BA5;
39
39
  }
40
- .upload-file-home .file-icons .bkaidev-icon[data-v-r8kqchgj] {
40
+ .upload-file-home .file-icons .bkaidev-icon[data-v-kxtrpdgi] {
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-r8kqchgj]:hover {
45
+ .upload-file-home .file-icons .bkaidev-icon[data-v-kxtrpdgi]:hover {
46
46
  color: #3A84FF;
47
47
  }
48
- .upload-file-home .file-icons .bkaidev-delete[data-v-r8kqchgj] {
48
+ .upload-file-home .file-icons .bkaidev-delete[data-v-kxtrpdgi] {
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-r8kqchgj";
2
+ script.__scopeId = "data-v-kxtrpdgi";
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-maqdzp5q] {
2
+ .ai-ui-sdk-icon.ai-ui-sdk-pdf[data-v-gsod4y5j] {
3
3
  color: #EA3636;
4
4
  }
5
- .ai-ui-sdk-icon.ai-ui-sdk-doc-2[data-v-maqdzp5q], .ai-ui-sdk-icon.ai-ui-sdk-ppt-2[data-v-maqdzp5q], .ai-ui-sdk-icon.ai-ui-sdk-markdown[data-v-maqdzp5q] {
5
+ .ai-ui-sdk-icon.ai-ui-sdk-doc-2[data-v-gsod4y5j], .ai-ui-sdk-icon.ai-ui-sdk-ppt-2[data-v-gsod4y5j], .ai-ui-sdk-icon.ai-ui-sdk-markdown[data-v-gsod4y5j] {
6
6
  color: #3A84FF;
7
7
  }
8
- .ai-ui-sdk-icon.ai-ui-sdk-folder-fill[data-v-maqdzp5q] {
8
+ .ai-ui-sdk-icon.ai-ui-sdk-folder-fill[data-v-gsod4y5j] {
9
9
  color: #C4C6CC;
10
10
  }
11
- .ai-ui-sdk-icon.ai-ui-sdk-excel[data-v-maqdzp5q] {
11
+ .ai-ui-sdk-icon.ai-ui-sdk-excel[data-v-gsod4y5j] {
12
12
  color: #2DCB56;
13
13
  }
14
- .ai-ui-sdk-icon.ai-ui-sdk-wangye[data-v-maqdzp5q] {
14
+ .ai-ui-sdk-icon.ai-ui-sdk-wangye[data-v-gsod4y5j] {
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-maqdzp5q";
2
+ script.__scopeId = "data-v-gsod4y5j";
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-5cpse8h2] {
2
+ .header-home[data-v-b7x5sajo] {
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-5cpse8h2] {
10
+ .header-title[data-v-b7x5sajo] {
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-5cpse8h2] {
17
+ .header-main[data-v-b7x5sajo] {
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-5cpse8h2] {
25
+ .header-select[data-v-b7x5sajo] {
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-5cpse8h2] {
31
+ .header-input[data-v-b7x5sajo] {
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-5cpse8h2";
2
+ script.__scopeId = "data-v-b7x5sajo";
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-hs9os1fh] {
2
+ .router-tab[data-v-2o4slg5m] {
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-hs9os1fh] {
9
+ .router-tab a[data-v-2o4slg5m] {
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-hs9os1fh] {
18
+ .router-tab a.router-link-exact-active[data-v-2o4slg5m] {
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-hs9os1fh";
2
+ script.__scopeId = "data-v-2o4slg5m";
3
3
  script.__file = "./src/components/render-router-tab/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -31,7 +31,7 @@ export declare const useDatasetHttp: (apiPrefix?: string) => {
31
31
  results: import("@/types/dataset").IOperatRecord[];
32
32
  }>;
33
33
  getCompanyParticipantList: (fuzzy?: string) => Promise<{
34
- companies: import("@/types/dataset").IParticipantCompany[];
34
+ companyNames: string[];
35
35
  list: import("@/types/dataset").ICompanyParticipant[];
36
36
  }>;
37
37
  };
@@ -1,5 +1,5 @@
1
1
  import fetch from '../http/fetch/index.ts.js';
2
- import { transferCompanyApi2Company, transferCompanyParticipantApi2CompanyParticipantList, transferDatasetApi2Dataset, transferDatasetDataApi2DatasetData, transferDatasetDataFileApi2DatasetDataFile, transferDatasetDataForm2DatasetDataFormApi, transferDatasetDataParam2DatasetDataParamApi, transferDatasetForm2DatasetFormApi, transferDatasetListParam2DatasetListParamApi, transferOperatRecordApi2OperatRecord, transferOperatRecordParam2OperatRecordParamApi, transferParticipantCompanyApi2ParticipantCompany, transferUserInfoApi2UserInfo, transferUserInfoForm2UserInfoFormApi } from '../http/helper/dataset.ts.js';
2
+ import { transferCompanyApi2Company, transferCompanyParticipantApi2CompanyParticipantList, transferDatasetApi2Dataset, transferDatasetDataApi2DatasetData, transferDatasetDataFileApi2DatasetDataFile, transferDatasetDataForm2DatasetDataFormApi, transferDatasetDataParam2DatasetDataParamApi, transferDatasetForm2DatasetFormApi, transferDatasetListParam2DatasetListParamApi, transferOperatRecordApi2OperatRecord, transferOperatRecordParam2OperatRecordParamApi, transferUserInfoApi2UserInfo, transferUserInfoForm2UserInfoFormApi } from '../http/helper/dataset.ts.js';
3
3
  const datasetPerfix = 'dataset/v1';
4
4
  const metaPerfix = 'meta/v1';
5
5
  // 数据集相关接口
@@ -17,8 +17,8 @@ export const useDatasetHttp = (apiPrefix)=>{
17
17
  // 获取来源团队-组件和参与方列表
18
18
  const getCompanyParticipantList = (fuzzy)=>fetch.get(`${apiPrefix}/${metaPerfix}/company/participant_list/`, {
19
19
  fuzzy
20
- }).then(({ list, companies })=>({
21
- companies: companies.map(transferParticipantCompanyApi2ParticipantCompany),
20
+ }).then(({ list, company_names })=>({
21
+ companyNames: company_names,
22
22
  list: transferCompanyParticipantApi2CompanyParticipantList(list)
23
23
  }));
24
24
  // 平台用户-更新用户信息
@@ -31,7 +31,7 @@ export const useDatasetHttp = (apiPrefix)=>{
31
31
  // 获取数据集数据信息
32
32
  const getDatasetMineInfo = ()=>fetch.get(`${apiPrefix}/${datasetPerfix}/dataset/mine_info/`);
33
33
  // 获取数据集列表
34
- const getDatasetList = (query)=>fetch.get(`${apiPrefix}/${datasetPerfix}/dataset/`, transferDatasetListParam2DatasetListParamApi(query)).then(({ count, results })=>({
34
+ const getDatasetList = (query)=>fetch.post(`${apiPrefix}/${datasetPerfix}/dataset/`, transferDatasetListParam2DatasetListParamApi(query)).then(({ count, results })=>({
35
35
  count,
36
36
  results: results.map(transferDatasetApi2Dataset)
37
37
  }));
@@ -1,4 +1,4 @@
1
- import { ICompany, ICompanyApi, ICompanyParticipant, ICompanyParticipantApi, IDataset, IDatasetApi, IDatasetData, IDatasetDataApi, IDatasetDataFile, IDatasetDataFileApi, IDatasetDataForm, IDatasetDataFormApi, IDatasetDataParam, IDatasetDataParamApi, IDatasetForm, IDatasetFormApi, IDatasetListParam, IDatasetListParamApi, IOperatRecord, IOperatRecordApi, IOperatRecordParam, IOperatRecordParamApi, IParticipant, IParticipantApi, IParticipantCompany, IParticipantCompanyApi, IUserInfo, IUserInfoApi, IUserInfoForm, IUserInfoFormApi } from '@/types/dataset';
1
+ import { ICompany, ICompanyApi, ICompanyParticipant, ICompanyParticipantApi, IDataset, IDatasetApi, IDatasetData, IDatasetDataApi, IDatasetDataFile, IDatasetDataFileApi, IDatasetDataForm, IDatasetDataFormApi, IDatasetDataParam, IDatasetDataParamApi, IDatasetForm, IDatasetFormApi, IDatasetListParam, IDatasetListParamApi, IOperatRecord, IOperatRecordApi, IOperatRecordParam, IOperatRecordParamApi, IUserInfo, IUserInfoApi, IUserInfoForm, IUserInfoFormApi } from '@/types/dataset';
2
2
  /**
3
3
  * 接口转换为ui使用
4
4
  * @param data ICompanyApi
@@ -83,15 +83,3 @@ export declare const transferOperatRecordApi2OperatRecord: (data: IOperatRecordA
83
83
  * @returns ICompanyParticipant[]
84
84
  */
85
85
  export declare const transferCompanyParticipantApi2CompanyParticipantList: (data: ICompanyParticipantApi[]) => ICompanyParticipant[];
86
- /**
87
- * 接口转换为ui使用
88
- * @param data IParticipantApi
89
- * @returns IParticipant
90
- */
91
- export declare const transferParticipantApi2Participant: (data: IParticipantApi) => IParticipant;
92
- /**
93
- * 接口转换为ui使用
94
- * @param data IParticipantCompanyApi
95
- * @returns IParticipantCompany
96
- */
97
- export declare const transferParticipantCompanyApi2ParticipantCompany: (data: IParticipantCompanyApi) => IParticipantCompany;
@@ -117,8 +117,8 @@ function _object_without_properties_loose(source, excluded) {
117
117
  * @returns IDataset
118
118
  */ export const transferDatasetApi2Dataset = (data)=>{
119
119
  return {
120
- componentId: data.component_id,
121
- componentName: data.component_name,
120
+ componentIds: data.component_ids,
121
+ componentNames: data.component_names,
122
122
  datasetItemCount: data.dataset_item_count,
123
123
  updatedAt: data.updated_at,
124
124
  updatedBy: data.updated_by,
@@ -141,7 +141,7 @@ function _object_without_properties_loose(source, excluded) {
141
141
  company_name: data === null || data === void 0 ? void 0 : data.companyName,
142
142
  dataset_name: data === null || data === void 0 ? void 0 : data.datasetName,
143
143
  type: data === null || data === void 0 ? void 0 : data.type,
144
- component_name: data === null || data === void 0 ? void 0 : data.componentName,
144
+ component_ids: data === null || data === void 0 ? void 0 : data.componentIds,
145
145
  created_by: data === null || data === void 0 ? void 0 : data.createdBy,
146
146
  fuzzy: data === null || data === void 0 ? void 0 : data.fuzzy
147
147
  };
@@ -152,7 +152,7 @@ function _object_without_properties_loose(source, excluded) {
152
152
  * @returns IDatasetFormApi
153
153
  */ export const transferDatasetForm2DatasetFormApi = (data)=>{
154
154
  return {
155
- component_id: data.componentId,
155
+ component_ids: data.componentIds,
156
156
  company_id: data.companyId,
157
157
  dataset_name: data.datasetName,
158
158
  type: data.type
@@ -287,32 +287,7 @@ function _object_without_properties_loose(source, excluded) {
287
287
  componentName: item.component_name,
288
288
  description: item.description,
289
289
  totalParticipants: item.total_participants,
290
- participants: item.participants.map(transferParticipantApi2Participant),
290
+ participants: item.participants,
291
291
  rowspan: countMap[item.category]
292
292
  }));
293
293
  };
294
- /**
295
- * 接口转换为ui使用
296
- * @param data IParticipantApi
297
- * @returns IParticipant
298
- */ export const transferParticipantApi2Participant = (data)=>{
299
- return {
300
- id: data.id,
301
- children: data.children,
302
- createdAt: data.created_at,
303
- createdBy: data.created_by,
304
- updatedAt: data.updated_at,
305
- updatedBy: data.updated_by,
306
- companyName: data.company_name
307
- };
308
- };
309
- /**
310
- * 接口转换为ui使用
311
- * @param data IParticipantCompanyApi
312
- * @returns IParticipantCompany
313
- */ export const transferParticipantCompanyApi2ParticipantCompany = (data)=>{
314
- return {
315
- isUserCompany: data.is_user_company,
316
- companyName: data.company_name
317
- };
318
- };
@@ -11,6 +11,7 @@ export interface IPage {
11
11
  export interface ISearchSelectItem {
12
12
  id: string | number;
13
13
  name: string;
14
+ async?: boolean;
14
15
  valueType?: string;
15
16
  multiple?: boolean;
16
17
  children?: ISearchSelectItem[];
@@ -5,19 +5,19 @@ export interface IDatasetInfo {
5
5
  all: number;
6
6
  }
7
7
  export interface IDatasetFormApi {
8
- component_id: number;
8
+ component_ids: number[];
9
9
  company_id: string;
10
10
  dataset_name: string;
11
11
  type: DatasetType;
12
12
  }
13
13
  export interface IDatasetForm {
14
- componentId: number;
14
+ componentIds: number[];
15
15
  companyId?: string;
16
16
  datasetName: string;
17
17
  type: DatasetType;
18
18
  }
19
19
  export interface IDatasetApi extends IDatasetFormApi {
20
- component_name: string;
20
+ component_names: string[];
21
21
  company_name: string;
22
22
  dataset_item_count: number;
23
23
  updated_at: string;
@@ -27,7 +27,7 @@ export interface IDatasetApi extends IDatasetFormApi {
27
27
  id: number;
28
28
  }
29
29
  export interface IDataset extends IDatasetForm {
30
- componentName: string;
30
+ componentNames: string[];
31
31
  companyName: string;
32
32
  datasetItemCount: number;
33
33
  updatedAt: string;
@@ -37,7 +37,7 @@ export interface IDataset extends IDatasetForm {
37
37
  id: number;
38
38
  }
39
39
  export interface IDatasetListParam extends IPage {
40
- componentName?: string;
40
+ componentIds?: string;
41
41
  createdBy?: string;
42
42
  datasetName?: string;
43
43
  fuzzy?: string;
@@ -46,7 +46,7 @@ export interface IDatasetListParam extends IPage {
46
46
  type?: DatasetType;
47
47
  }
48
48
  export interface IDatasetListParamApi extends IPage {
49
- component_name?: string;
49
+ component_ids?: string;
50
50
  created_by?: string;
51
51
  dataset_name?: string;
52
52
  fuzzy?: string;
@@ -114,13 +114,13 @@ export interface IUserInfoForm {
114
114
  phone: string;
115
115
  email: string;
116
116
  }
117
- export interface IUserInfoApi extends IUserInfoFormApi {
117
+ export interface IUserInfoApi extends Partial<IUserInfoFormApi> {
118
118
  nickname: string;
119
- company_name: string;
119
+ company_name?: string;
120
120
  }
121
- export interface IUserInfo extends IUserInfoForm {
121
+ export interface IUserInfo extends Partial<IUserInfoForm> {
122
122
  nickname: string;
123
- companyName: string;
123
+ companyName?: string;
124
124
  }
125
125
  export interface ISchema {
126
126
  id: string;
@@ -173,47 +173,21 @@ export interface IOperatRecord {
173
173
  instanceData: Record<string, string>;
174
174
  endTime: string;
175
175
  }
176
- export interface IParticipantCompanyApi {
177
- is_user_company: number;
178
- company_name: string;
179
- }
180
- export interface IParticipantCompany {
181
- isUserCompany: number;
182
- companyName: string;
183
- }
184
176
  export interface ICompanyParticipantApi {
185
177
  category: string;
186
178
  component_name: string;
187
179
  description: string;
188
180
  total_participants: number;
189
- participants: IParticipantApi[];
190
- }
191
- export interface IParticipantApi {
192
- id: number;
193
- children: string[];
194
- created_at: string;
195
- created_by: string;
196
- updated_at: string;
197
- updated_by: string;
198
- company_name: string;
181
+ participants: string[];
199
182
  }
200
183
  export interface ICompanyParticipant {
201
184
  category: string;
202
185
  componentName: string;
203
186
  description: string;
204
187
  totalParticipants: number;
205
- participants: IParticipant[];
188
+ participants: string[];
206
189
  rowspan: number;
207
190
  }
208
- export interface IParticipant {
209
- id: number;
210
- children: string[];
211
- createdAt: string;
212
- createdBy: string;
213
- updatedAt: string;
214
- updatedBy: string;
215
- companyName: string;
216
- }
217
191
  export interface ICompanyApi {
218
192
  id: number;
219
193
  company_name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blueking/ai-ui-sdk",
3
- "version": "0.1.0-beta.10",
3
+ "version": "0.1.0-beta.11",
4
4
  "description": "蓝鲸AI UI SDK",
5
5
  "main": "dist/main.js",
6
6
  "types": "dist/main.d.ts",