@blueking/ai-ui-sdk 0.1.19-beta.17 → 0.1.19-beta.18

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 (77) hide show
  1. package/dist/components/render-auth/auth-dialog.script.vue.js.js +26 -25
  2. package/dist/components/render-auto-height-textarea/index.vue.css +11 -11
  3. package/dist/components/render-auto-height-textarea/index.vue.js +1 -1
  4. package/dist/components/render-auto-refresh/index.vue.css +8 -8
  5. package/dist/components/render-auto-refresh/index.vue.js +1 -1
  6. package/dist/components/render-checkbox/index.vue.css +9 -9
  7. package/dist/components/render-checkbox/index.vue.js +1 -1
  8. package/dist/components/render-choose-tag/index.script.vue.js.js +3 -3
  9. package/dist/components/render-choose-tag/index.vue.css +7 -7
  10. package/dist/components/render-choose-tag/index.vue.js +1 -1
  11. package/dist/components/render-collapse/index.vue.css +2 -2
  12. package/dist/components/render-collapse/index.vue.js +1 -1
  13. package/dist/components/render-dataset/components/dataset-data-tool-icons/index.script.vue.js +1 -1
  14. package/dist/components/render-dataset/components/edit-dataset-data/index.vue.css +3 -3
  15. package/dist/components/render-dataset/components/edit-dataset-data/index.vue.js +1 -1
  16. package/dist/components/render-dataset/components/operation-record/index.vue.css +4 -4
  17. package/dist/components/render-dataset/components/operation-record/index.vue.js +1 -1
  18. package/dist/components/render-dataset/components/operation-record/table/index.script.vue.js +165 -0
  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 +2 -2
  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/dataset-form.script.vue.js +19 -34
  24. package/dist/components/render-dataset/components/plus-dataset/index.vue.css +2 -2
  25. package/dist/components/render-dataset/components/plus-dataset/index.vue.js +1 -1
  26. package/dist/components/render-dataset/components/plus-dataset-data/form/api.script.vue.js.js +21 -29
  27. package/dist/components/render-dataset/components/plus-dataset-data/form/api.vue.css +2 -2
  28. package/dist/components/render-dataset/components/plus-dataset-data/form/api.vue.js +1 -1
  29. package/dist/components/render-dataset/components/plus-dataset-data/form/footer.vue.css +1 -1
  30. package/dist/components/render-dataset/components/plus-dataset-data/form/footer.vue.js +1 -1
  31. package/dist/components/render-dataset/components/plus-dataset-data/form/index.vue.css +2 -2
  32. package/dist/components/render-dataset/components/plus-dataset-data/form/index.vue.js +1 -1
  33. package/dist/components/render-dataset/components/plus-dataset-data/index.script.vue.js.js +6 -1
  34. package/dist/components/render-dataset/components/plus-dataset-data/index.vue.d.ts +1 -0
  35. package/dist/components/render-dataset/components/review-dataset-data/index.vue.css +10 -10
  36. package/dist/components/render-dataset/components/review-dataset-data/index.vue.js +1 -1
  37. package/dist/components/render-dataset-detail-origin-data/components/table/index.script.vue.js +230 -388
  38. package/dist/components/render-dataset-detail-origin-data/components/table/index.vue.d.ts +3 -1
  39. package/dist/components/render-dataset-detail-origin-data/index.script.vue.js.js +7 -6
  40. package/dist/components/render-dataset-detail-origin-data/index.vue.css +3 -3
  41. package/dist/components/render-dataset-detail-origin-data/index.vue.js +1 -1
  42. package/dist/components/render-dataset-list/components/main.script.vue.js.js +6 -5
  43. package/dist/components/render-dataset-list/components/main.vue.css +3 -3
  44. package/dist/components/render-dataset-list/components/main.vue.js +1 -1
  45. package/dist/components/render-dataset-list/components/table.script.vue.js +404 -0
  46. package/dist/components/render-dataset-list/components/table.vue.d.ts +2 -0
  47. package/dist/components/render-dataset-list/components/table.vue.js +1 -1
  48. package/dist/components/render-dataset-list/index.vue.css +4 -1
  49. package/dist/components/render-dataset-list/index.vue.js +1 -1
  50. package/dist/components/render-file-card/index.vue.css +11 -11
  51. package/dist/components/render-file-card/index.vue.js +1 -1
  52. package/dist/components/render-file-type-icon/index.vue.css +5 -5
  53. package/dist/components/render-file-type-icon/index.vue.js +1 -1
  54. package/dist/components/render-header/index.vue.css +3 -3
  55. package/dist/components/render-header/index.vue.js +1 -1
  56. package/dist/components/render-like/index.vue.css +5 -5
  57. package/dist/components/render-like/index.vue.js +1 -1
  58. package/dist/components/render-router-tab/index.vue.css +3 -3
  59. package/dist/components/render-router-tab/index.vue.js +1 -1
  60. package/dist/components/render-t-table/index.script.vue.js +5 -2
  61. package/dist/components/render-t-table/index.vue.css +19 -19
  62. package/dist/components/render-t-table/index.vue.d.ts +1 -0
  63. package/dist/components/render-t-table/index.vue.js +1 -1
  64. package/dist/components/render-tag-tree/index.vue.css +7 -7
  65. package/dist/components/render-tag-tree/index.vue.js +1 -1
  66. package/dist/css/tailwind.css +8 -0
  67. package/dist/hooks/use-dataset-http.d.ts +2 -2
  68. package/dist/hooks/use-dataset-http.ts.js +6 -4
  69. package/dist/hooks/use-meta-http.d.ts +2 -2
  70. package/dist/hooks/use-meta-http.ts.js +6 -4
  71. package/dist/http/helper/common.ts.js +4 -4
  72. package/dist/http/helper/dataset.ts.js +1 -1
  73. package/dist/http/helper/knowledge.ts.js +2 -1
  74. package/dist/http/helper/tool.ts.js +1 -0
  75. package/package.json +1 -1
  76. package/dist/components/render-dataset/components/operation-record/table/index.script.vue.js.js +0 -226
  77. package/dist/components/render-dataset-list/components/table.script.vue.js.js +0 -590
@@ -1,21 +1,21 @@
1
1
 
2
- .upload-file-home[data-v-d28s9a4m] {
2
+ .upload-file-home[data-v-8aazb3sp] {
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-d28s9a4m]:hover {
9
+ .upload-file-home[data-v-8aazb3sp]:hover {
10
10
  border: 1px solid #3A84FF;
11
11
  }
12
- .upload-file-home:hover .file-icons[data-v-d28s9a4m] {
12
+ .upload-file-home:hover .file-icons[data-v-8aazb3sp] {
13
13
  display: flex;
14
14
  }
15
- .upload-file-home .file-icon[data-v-d28s9a4m] {
15
+ .upload-file-home .file-icon[data-v-8aazb3sp] {
16
16
  font-size: 32px;
17
17
  }
18
- .upload-file-home .file-content[data-v-d28s9a4m] {
18
+ .upload-file-home .file-content[data-v-8aazb3sp] {
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-d28s9a4m] {
26
+ .upload-file-home .file-content .file-name[data-v-8aazb3sp] {
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-d28s9a4m] {
31
+ .upload-file-home .file-content .file-size[data-v-8aazb3sp] {
32
32
  font-size: 12px;
33
33
  color: #979BA5;
34
34
  line-height: 20px;
35
35
  }
36
- .upload-file-home .file-icons[data-v-d28s9a4m] {
36
+ .upload-file-home .file-icons[data-v-8aazb3sp] {
37
37
  display: none;
38
38
  color: #979BA5;
39
39
  }
40
- .upload-file-home .file-icons .bkaidev-icon[data-v-d28s9a4m] {
40
+ .upload-file-home .file-icons .bkaidev-icon[data-v-8aazb3sp] {
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-d28s9a4m]:hover {
45
+ .upload-file-home .file-icons .bkaidev-icon[data-v-8aazb3sp]:hover {
46
46
  color: #3A84FF;
47
47
  }
48
- .upload-file-home .file-icons .bkaidev-delete[data-v-d28s9a4m] {
48
+ .upload-file-home .file-icons .bkaidev-delete[data-v-8aazb3sp] {
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-d28s9a4m";
2
+ script.__scopeId = "data-v-8aazb3sp";
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-8dmc01ov] {
2
+ .ai-ui-sdk-icon.ai-ui-sdk-pdf[data-v-xu4a951d] {
3
3
  color: #EA3636;
4
4
  }
5
- .ai-ui-sdk-icon.ai-ui-sdk-doc-2[data-v-8dmc01ov], .ai-ui-sdk-icon.ai-ui-sdk-ppt-2[data-v-8dmc01ov], .ai-ui-sdk-icon.ai-ui-sdk-markdown[data-v-8dmc01ov] {
5
+ .ai-ui-sdk-icon.ai-ui-sdk-doc-2[data-v-xu4a951d], .ai-ui-sdk-icon.ai-ui-sdk-ppt-2[data-v-xu4a951d], .ai-ui-sdk-icon.ai-ui-sdk-markdown[data-v-xu4a951d] {
6
6
  color: #3A84FF;
7
7
  }
8
- .ai-ui-sdk-icon.ai-ui-sdk-folder-fill[data-v-8dmc01ov] {
8
+ .ai-ui-sdk-icon.ai-ui-sdk-folder-fill[data-v-xu4a951d] {
9
9
  color: #C4C6CC;
10
10
  }
11
- .ai-ui-sdk-icon.ai-ui-sdk-excel[data-v-8dmc01ov] {
11
+ .ai-ui-sdk-icon.ai-ui-sdk-excel[data-v-xu4a951d] {
12
12
  color: #2DCB56;
13
13
  }
14
- .ai-ui-sdk-icon.ai-ui-sdk-wangye[data-v-8dmc01ov] {
14
+ .ai-ui-sdk-icon.ai-ui-sdk-wangye[data-v-xu4a951d] {
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-8dmc01ov";
2
+ script.__scopeId = "data-v-xu4a951d";
3
3
  script.__file = "./src/components/render-file-type-icon/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,13 +1,13 @@
1
1
 
2
- .header-home[data-v-0rk9h9h3] {
2
+ .header-home[data-v-npj1hv09] {
3
3
  width: 100%;
4
4
  background: #FFFFFF;
5
5
  box-shadow: 0 3px 4px 0 #0000000a;
6
6
  }
7
- .render-tab[data-v-0rk9h9h3] {
7
+ .render-tab[data-v-npj1hv09] {
8
8
  border-bottom: 2px solid transparent;
9
9
  }
10
- .render-tab.active[data-v-0rk9h9h3] {
10
+ .render-tab.active[data-v-npj1hv09] {
11
11
  color: #3A84FF;
12
12
  border-bottom: 2px solid #3A84FF;
13
13
  }
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-0rk9h9h3";
2
+ script.__scopeId = "data-v-npj1hv09";
3
3
  script.__file = "./src/components/render-header/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,20 +1,20 @@
1
1
 
2
- .dislike-icon[data-v-uaiwa9gg] {
2
+ .dislike-icon[data-v-aslf63rc] {
3
3
  transform: rotateX(180deg);
4
4
  }
5
- .option-items[data-v-uaiwa9gg] {
5
+ .option-items[data-v-aslf63rc] {
6
6
  padding: 1px 8px;
7
7
  background-color: #F0F1F5;
8
8
  line-height: 22px;
9
9
  border-radius: 2px;
10
10
  }
11
- .option-items[data-v-uaiwa9gg]:hover {
11
+ .option-items[data-v-aslf63rc]:hover {
12
12
  background-color: #E1ECFF;
13
13
  color: #3A84FF;
14
14
  }
15
- .option-items-selected[data-v-uaiwa9gg]{
15
+ .option-items-selected[data-v-aslf63rc]{
16
16
  background-color: #E1ECFF;
17
17
  }
18
- [data-v-uaiwa9gg] .bk-form-item {
18
+ [data-v-aslf63rc] .bk-form-item {
19
19
  margin-bottom: 17px;
20
20
  }
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-uaiwa9gg";
2
+ script.__scopeId = "data-v-aslf63rc";
3
3
  script.__file = "./src/components/render-like/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,12 +1,12 @@
1
1
 
2
- .router-tab[data-v-l0q6tv82] {
2
+ .router-tab[data-v-i7scbl8c] {
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-l0q6tv82] {
9
+ .router-tab a[data-v-i7scbl8c] {
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-l0q6tv82] {
18
+ .router-tab a.router-link-exact-active[data-v-i7scbl8c] {
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-l0q6tv82";
2
+ script.__scopeId = "data-v-i7scbl8c";
3
3
  script.__file = "./src/components/render-router-tab/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -23,7 +23,10 @@ export default /*@__PURE__*/ _defineComponent({
23
23
  containerHeight: {},
24
24
  search: {},
25
25
  rowClassName: {},
26
- rowKey: {}
26
+ rowKey: {},
27
+ rowHeight: {
28
+ default: 'g-height-32'
29
+ }
27
30
  },
28
31
  emits: [
29
32
  "sort-change",
@@ -38,7 +41,7 @@ export default /*@__PURE__*/ _defineComponent({
38
41
  setup (__props, { emit: __emit }) {
39
42
  const props = __props;
40
43
  const emits = __emit;
41
- const rowHeight = ref('g-height-32');
44
+ const rowHeight = ref(props.rowHeight);
42
45
  const columnControllerVisible = ref(false);
43
46
  const getDefaultColumns = ()=>{
44
47
  // 只要有一项配置了 defaultShow 则需要列配置按钮
@@ -1,68 +1,68 @@
1
1
 
2
- .t-t-pagination[data-v-65aao9ar] {
2
+ .t-t-pagination[data-v-1xuilim3] {
3
3
  position: sticky;
4
4
  bottom: 0;
5
5
  }
6
- .t-t-pagination[data-v-65aao9ar] .bk-pagination-list.is-last {
6
+ .t-t-pagination[data-v-1xuilim3] .bk-pagination-list.is-last {
7
7
  margin-left: auto;
8
8
  }
9
- .t-t-table[data-v-65aao9ar] {
9
+ .t-t-table[data-v-1xuilim3] {
10
10
  display: inline;
11
11
  height: calc(100% - 64px);
12
12
  }
13
- .t-t-table[data-v-65aao9ar] .t-table__affixed-header-elm-wrap{
13
+ .t-t-table[data-v-1xuilim3] .t-table__affixed-header-elm-wrap{
14
14
  width: 100% !important;
15
15
  top: -2px;
16
16
  }
17
- .t-t-table[data-v-65aao9ar] .t-table__affixed-header-elm-wrap>div {
17
+ .t-t-table[data-v-1xuilim3] .t-table__affixed-header-elm-wrap>div {
18
18
  width: 100% !important;
19
19
  top: -2px;
20
20
  scrollbar-width: none;
21
21
  }
22
- .t-t-table[data-v-65aao9ar] .t-table--layout-fixed{
22
+ .t-t-table[data-v-1xuilim3] .t-table--layout-fixed{
23
23
  width: 100% !important;
24
24
  }
25
- .t-t-table[data-v-65aao9ar] .bk-exception-description{
25
+ .t-t-table[data-v-1xuilim3] .bk-exception-description{
26
26
  margin-bottom: 0;
27
27
  }
28
- .t-t-table[data-v-65aao9ar] .t-table--layout-fixed .t-table__header{
28
+ .t-t-table[data-v-1xuilim3] .t-table--layout-fixed .t-table__header{
29
29
  position: sticky;
30
30
  top: -4px;
31
31
  }
32
- .t-t-table[data-v-65aao9ar] .t-table__content{
32
+ .t-t-table[data-v-1xuilim3] .t-table__content{
33
33
  z-index: 2;
34
34
  max-height: 100%;
35
35
  overflow: auto;
36
36
  }
37
- .t-t-table[data-v-65aao9ar] .t-table__content::-webkit-scrollbar {
37
+ .t-t-table[data-v-1xuilim3] .t-table__content::-webkit-scrollbar {
38
38
  width: 6px;
39
39
  height: 6px;
40
40
  }
41
- .t-t-table[data-v-65aao9ar] .t-table__content::-webkit-scrollbar-thumb {
41
+ .t-t-table[data-v-1xuilim3] .t-table__content::-webkit-scrollbar-thumb {
42
42
  width: 6px;
43
43
  height: 6px;
44
44
  border-radius: 3px;
45
45
  background-color: #dcdee5;
46
46
  }
47
- .t-t-table[data-v-65aao9ar] .t-table__content::-webkit-scrollbar-thumb:hover {
47
+ .t-t-table[data-v-1xuilim3] .t-table__content::-webkit-scrollbar-thumb:hover {
48
48
  background-color: #979ba5;
49
49
  }
50
- .t-t-table[data-v-65aao9ar] .t-table__ellipsis.t-text-ellipsis:has(.checkbox){
50
+ .t-t-table[data-v-1xuilim3] .t-table__ellipsis.t-text-ellipsis:has(.checkbox){
51
51
  line-height: 100%;
52
52
  }
53
- .t-t-table[data-v-65aao9ar] .t-table__cell--sort-trigger.t-table__double-icons{
53
+ .t-t-table[data-v-1xuilim3] .t-table__cell--sort-trigger.t-table__double-icons{
54
54
  gap: 5px;
55
55
  }
56
- .t-t-table[data-v-65aao9ar] .t-table__sort-icon--active>i{
56
+ .t-t-table[data-v-1xuilim3] .t-table__sort-icon--active>i{
57
57
  color: #3a84ff !important;
58
58
  }
59
- .t-t-table[data-v-65aao9ar] .t-table__cell--fixed-left:has(.checkbox){
59
+ .t-t-table[data-v-1xuilim3] .t-table__cell--fixed-left:has(.checkbox){
60
60
  line-height: 100%;
61
61
  }
62
62
 
63
63
 
64
64
  .t-table-dialog {
65
- padding: 0px;
65
+ padding: 0px !important;
66
66
  border-radius: 0px;
67
67
  box-shadow: 0 0 6px #dcdee5;
68
68
  color: #26323d;
@@ -91,8 +91,8 @@
91
91
  .t-table-dialog .t-table__column-controller-block {
92
92
  justify-content: end;
93
93
  display: flex;
94
- border: none;
95
- padding: 0;
94
+ border: none !important;
95
+ padding: 0 !important;
96
96
  }
97
97
  .t-table-dialog .t-table__column-controller-desc {
98
98
  font-size: 14px;
@@ -10,6 +10,7 @@ declare const __VLS_export: <T, S>(__VLS_props: NonNullable<Awaited<typeof __VLS
10
10
  search?: S;
11
11
  rowClassName?: string | string[] | Record<string, boolean> | ((row: T, index: number) => string | number | string[] | Record<string, boolean>);
12
12
  rowKey: string;
13
+ rowHeight?: string;
13
14
  } & {
14
15
  "onUpdate:search"?: (search: S) => any;
15
16
  "onRow-mouseleave"?: () => any;
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js';
2
- script.__scopeId = "data-v-65aao9ar";
2
+ script.__scopeId = "data-v-1xuilim3";
3
3
  script.__file = "./src/components/render-t-table/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,27 +1,27 @@
1
1
 
2
- .tag-tree[data-v-d81f1qzx] {
2
+ .tag-tree[data-v-wejd9od8] {
3
3
  font-size: 12px;
4
4
  height: auto;
5
5
  }
6
- .tag-tree .manage-tree-item[data-v-d81f1qzx] {
6
+ .tag-tree .manage-tree-item[data-v-wejd9od8] {
7
7
  height: 32px;
8
8
  flex: 1;
9
9
  }
10
- .tag-tree .quick-icon[data-v-d81f1qzx] {
10
+ .tag-tree .quick-icon[data-v-wejd9od8] {
11
11
  margin-left: -24px;
12
12
  padding-left: 8px;
13
13
  }
14
- .tag-tree[data-v-d81f1qzx] .tree-item:has(.quick-icon.ai-ui-sdk-wubiaoqian) {
14
+ .tag-tree[data-v-wejd9od8] .tree-item:has(.quick-icon.ai-ui-sdk-wubiaoqian) {
15
15
  border-bottom: 1px solid #F0F1F5;
16
16
  }
17
- .tag-tree[data-v-d81f1qzx] .tree-item.active .quick-icon {
17
+ .tag-tree[data-v-wejd9od8] .tree-item.active .quick-icon {
18
18
  color: #3A84FF;
19
19
  }
20
- .tag-tree[data-v-d81f1qzx] .tree-item.active .tag-number {
20
+ .tag-tree[data-v-wejd9od8] .tree-item.active .tag-number {
21
21
  background: #A3C5FD;
22
22
  color: #fff;
23
23
  }
24
- .tag-number[data-v-d81f1qzx] {
24
+ .tag-number[data-v-wejd9od8] {
25
25
  line-height: 16px;
26
26
  padding: 0 4px;
27
27
  background-color: #F0F1F5;
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-d81f1qzx";
2
+ script.__scopeId = "data-v-wejd9od8";
3
3
  script.__file = "./src/components/render-tag-tree/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -654,6 +654,10 @@
654
654
  height: 42px;
655
655
  }
656
656
 
657
+ .g-height-56 {
658
+ height: 56px;
659
+ }
660
+
657
661
  .g-height-60 {
658
662
  height: 60px;
659
663
  }
@@ -662,6 +666,10 @@
662
666
  height: 64px;
663
667
  }
664
668
 
669
+ .g-height-70 {
670
+ height: 70px !important;
671
+ }
672
+
665
673
  .g-height-88 {
666
674
  height: 88px;
667
675
  }
@@ -47,6 +47,6 @@ export declare const useDatasetHttp: (apiPrefix?: string, spaceId?: Ref<string>)
47
47
  batchReviewDatasetData: (data: IBatchReviewDatasetData) => Promise<unknown>;
48
48
  batchRetryReviewDatasetData: (data: IBatchRetryReviewDatasetData) => Promise<unknown>;
49
49
  getTags: (module: Module) => Promise<import("@/types/meta").ITag[]>;
50
- plusTag: (tagNames: string[][]) => Promise<ITagApi>;
51
- checkTag: (tagNames: string[][]) => Promise<boolean>;
50
+ plusTag: (tagNames: string[][], module: Module) => Promise<ITagApi>;
51
+ checkTag: (tagNames: string[][], module: Module) => Promise<boolean>;
52
52
  };
@@ -210,8 +210,9 @@ export const useDatasetHttp = (apiPrefix, spaceId)=>{
210
210
  }
211
211
  }).then((result)=>result.map(transferTagApi2Tag));
212
212
  // 新增 tag
213
- const plusTag = (tagNames)=>fetch.post(`${apiPrefix}/${datasetPerfix}/tag/`, {
214
- tag_names: tagNames
213
+ const plusTag = (tagNames, module)=>fetch.post(`${apiPrefix}/${datasetPerfix}/tag/`, {
214
+ tag_names: tagNames,
215
+ scope_name: module
215
216
  }, {
216
217
  globalError: false,
217
218
  headers: {
@@ -219,8 +220,9 @@ export const useDatasetHttp = (apiPrefix, spaceId)=>{
219
220
  }
220
221
  });
221
222
  // check tag
222
- const checkTag = (tagNames)=>fetch.post(`${apiPrefix}/${datasetPerfix}/tag/check/`, {
223
- tag_names: tagNames
223
+ const checkTag = (tagNames, module)=>fetch.post(`${apiPrefix}/${datasetPerfix}/tag/check/`, {
224
+ tag_names: tagNames,
225
+ scope_name: module
224
226
  }, {
225
227
  globalError: false,
226
228
  headers: {
@@ -11,6 +11,6 @@ export declare const useMetaHttp: (apiPrefix: string, spaceId?: Ref<string>) =>
11
11
  message: string;
12
12
  }>;
13
13
  getTags: (module: Module) => Promise<import("@/types/meta").ITag[]>;
14
- plusTag: (tagNames: string[][]) => Promise<ITagApi>;
15
- checkTag: (tagNames: string[][]) => Promise<boolean>;
14
+ plusTag: (tagNames: string[][], module: Module) => Promise<ITagApi>;
15
+ checkTag: (tagNames: string[][], module: Module) => Promise<boolean>;
16
16
  };
@@ -59,8 +59,9 @@ export const useMetaHttp = (apiPrefix, spaceId)=>{
59
59
  }
60
60
  }).then((result)=>result.map(transferTagApi2Tag));
61
61
  // 新增 tag
62
- const plusTag = (tagNames)=>fetch.post(`${apiPrefix}/${metaPerfix}/tag/`, {
63
- tag_names: tagNames
62
+ const plusTag = (tagNames, module)=>fetch.post(`${apiPrefix}/${metaPerfix}/tag/`, {
63
+ tag_names: tagNames,
64
+ scope_name: module
64
65
  }, {
65
66
  globalError: false,
66
67
  headers: {
@@ -68,8 +69,9 @@ export const useMetaHttp = (apiPrefix, spaceId)=>{
68
69
  }
69
70
  });
70
71
  // check tag
71
- const checkTag = (tagNames)=>fetch.post(`${apiPrefix}/${metaPerfix}/tag/check/`, {
72
- tag_names: tagNames
72
+ const checkTag = (tagNames, module)=>fetch.post(`${apiPrefix}/${metaPerfix}/tag/check/`, {
73
+ tag_names: tagNames,
74
+ scope_name: module
73
75
  }, {
74
76
  globalError: false,
75
77
  headers: {
@@ -29,8 +29,8 @@
29
29
  * @returns IPaginationParamApi
30
30
  */ export const transferIPaginationParamToIPaginationParamApi = (data)=>{
31
31
  return {
32
- page: data.page,
33
- page_size: data.pageSize
32
+ page: data === null || data === void 0 ? void 0 : data.page,
33
+ page_size: data === null || data === void 0 ? void 0 : data.pageSize
34
34
  };
35
35
  };
36
36
  /**
@@ -39,7 +39,7 @@
39
39
  * @returns ISortParamApi
40
40
  */ export const transferISortParamToISortParamApi = (data)=>{
41
41
  return {
42
- order_by: data.orderBy,
43
- order_method: data.orderMethod
42
+ order_by: data === null || data === void 0 ? void 0 : data.orderBy,
43
+ order_method: data === null || data === void 0 ? void 0 : data.orderMethod
44
44
  };
45
45
  };
@@ -217,7 +217,7 @@ import { transferResourcePermission } from './permission.ts.js';
217
217
  "statuses",
218
218
  "reviewStatuses"
219
219
  ]);
220
- return _object_spread_props(_object_spread({}, rest), {
220
+ return _object_spread_props(_object_spread({}, rest, transferIPaginationParamToIPaginationParamApi(data), transferISortParamToISortParamApi(data)), {
221
221
  dataset_id: datasetId,
222
222
  created_by: createdBy,
223
223
  source_types: sourceTypes,
@@ -188,7 +188,8 @@ import { transferResourcePermission } from './permission.ts.js';
188
188
  knowledge_count: data.number,
189
189
  anchor_path: data.anchorPath,
190
190
  index_config: data.indexConfig,
191
- status: data.status
191
+ status: data.status,
192
+ space_id: data.spaceId
192
193
  });
193
194
  /**
194
195
  * 转换 ui 文件夹为 IKnowledgeApi,接口使用
@@ -49,6 +49,7 @@ import { transferResourcePermission } from './permission.ts.js';
49
49
  is_public: data.isPublic,
50
50
  tool_id: data.id,
51
51
  status: data.status,
52
+ space_id: data.spaceId,
52
53
  is_sensitive: data.isSensitive,
53
54
  credential_id: data.credentialId,
54
55
  credential_type: data.credentialType,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blueking/ai-ui-sdk",
3
- "version": "0.1.19-beta.17",
3
+ "version": "0.1.19-beta.18",
4
4
  "description": "蓝鲸AI UI SDK",
5
5
  "main": "dist/main.js",
6
6
  "types": "dist/main.d.ts",