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

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 (53) hide show
  1. package/dist/components/render-auto-height-textarea/index.vue.css +11 -11
  2. package/dist/components/render-auto-height-textarea/index.vue.js +1 -1
  3. package/dist/components/render-auto-refresh/index.vue.css +8 -8
  4. package/dist/components/render-auto-refresh/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 +7 -7
  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/dataset-data-tool-icons/index.script.vue.js +1 -1
  12. package/dist/components/render-dataset/components/edit-dataset-data/index.vue.css +3 -3
  13. package/dist/components/render-dataset/components/edit-dataset-data/index.vue.js +1 -1
  14. package/dist/components/render-dataset/components/operation-record/index.vue.css +4 -4
  15. package/dist/components/render-dataset/components/operation-record/index.vue.js +1 -1
  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.vue.css +2 -2
  19. package/dist/components/render-dataset/components/operation-record/view-op-result/index.vue.js +1 -1
  20. package/dist/components/render-dataset/components/plus-dataset/index.vue.css +2 -2
  21. package/dist/components/render-dataset/components/plus-dataset/index.vue.js +1 -1
  22. package/dist/components/render-dataset/components/plus-dataset-data/form/api.vue.css +2 -2
  23. package/dist/components/render-dataset/components/plus-dataset-data/form/api.vue.js +1 -1
  24. package/dist/components/render-dataset/components/plus-dataset-data/form/footer.vue.css +1 -1
  25. package/dist/components/render-dataset/components/plus-dataset-data/form/footer.vue.js +1 -1
  26. package/dist/components/render-dataset/components/plus-dataset-data/form/index.vue.css +2 -2
  27. package/dist/components/render-dataset/components/plus-dataset-data/form/index.vue.js +1 -1
  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-detail-origin-data/index.vue.css +3 -3
  31. package/dist/components/render-dataset-detail-origin-data/index.vue.js +1 -1
  32. package/dist/components/render-dataset-list/components/main.vue.css +3 -3
  33. package/dist/components/render-dataset-list/components/main.vue.js +1 -1
  34. package/dist/components/render-dataset-list/index.vue.css +1 -1
  35. package/dist/components/render-dataset-list/index.vue.js +1 -1
  36. package/dist/components/render-file-card/index.vue.css +11 -11
  37. package/dist/components/render-file-card/index.vue.js +1 -1
  38. package/dist/components/render-file-type-icon/index.vue.css +5 -5
  39. package/dist/components/render-file-type-icon/index.vue.js +1 -1
  40. package/dist/components/render-header/index.vue.css +3 -3
  41. package/dist/components/render-header/index.vue.js +1 -1
  42. package/dist/components/render-like/index.vue.css +5 -5
  43. package/dist/components/render-like/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/components/render-t-table/index.vue.css +16 -16
  47. package/dist/components/render-t-table/index.vue.js +1 -1
  48. package/dist/components/render-tag-tree/index.vue.css +7 -7
  49. package/dist/components/render-tag-tree/index.vue.js +1 -1
  50. package/dist/hooks/use-t-table.ts.js +86 -0
  51. package/dist/hooks.d.ts +1 -0
  52. package/dist/hooks.ts.js +1 -0
  53. package/package.json +1 -1
@@ -1,40 +1,40 @@
1
1
 
2
- .send-container[data-v-mgxru0jq] {
2
+ .send-container[data-v-v2x6q6wh] {
3
3
  position: relative;
4
4
  }
5
- .send-container[data-v-mgxru0jq]:has(textarea:focus) {
5
+ .send-container[data-v-v2x6q6wh]:has(textarea:focus) {
6
6
  z-index: 2;
7
7
  }
8
- .send-container:hover .send-clear[data-v-mgxru0jq] {
8
+ .send-container:hover .send-clear[data-v-v2x6q6wh] {
9
9
  display: inline-flex !important;
10
10
  }
11
- .send-input[data-v-mgxru0jq] {
11
+ .send-input[data-v-v2x6q6wh] {
12
12
  width: 100%;
13
13
  flex-direction: row;
14
14
  height: var(--origin-height);
15
15
  }
16
- .send-input[data-v-mgxru0jq]:has(textarea:focus) {
16
+ .send-input[data-v-v2x6q6wh]:has(textarea:focus) {
17
17
  height: var(--text-height);
18
18
  }
19
- .send-input[data-v-mgxru0jq] textarea {
19
+ .send-input[data-v-v2x6q6wh] 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-mgxru0jq] textarea::-webkit-scrollbar {
25
+ .send-input[data-v-v2x6q6wh] textarea::-webkit-scrollbar {
26
26
  width: 4px;
27
27
  height: 4px;
28
28
  }
29
- .send-input[data-v-mgxru0jq] textarea::-webkit-scrollbar-thumb {
29
+ .send-input[data-v-v2x6q6wh] 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-mgxru0jq] textarea::placeholder {
34
+ .send-input[data-v-v2x6q6wh] textarea::placeholder {
35
35
  line-height: 16px;
36
36
  }
37
- .send-clear[data-v-mgxru0jq] {
37
+ .send-clear[data-v-v2x6q6wh] {
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-mgxru0jq]:hover {
46
+ .send-clear[data-v-v2x6q6wh]: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-mgxru0jq";
2
+ script.__scopeId = "data-v-v2x6q6wh";
3
3
  script.__file = "./src/components/render-auto-height-textarea/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,12 +1,12 @@
1
1
 
2
- .auto-refresh[data-v-g5y41iyh] {
2
+ .auto-refresh[data-v-1p8gcuep] {
3
3
  position: relative;
4
4
  cursor: pointer;
5
5
  line-height: 26px;
6
6
  padding: 0 4px;
7
7
  white-space: nowrap;
8
8
  }
9
- .auto-refresh[data-v-g5y41iyh]:after {
9
+ .auto-refresh[data-v-1p8gcuep]:after {
10
10
  content: '';
11
11
  position: absolute;
12
12
  top: 5px;
@@ -16,31 +16,31 @@
16
16
  background-color: #dcdee5;
17
17
  z-index: 1;
18
18
  }
19
- .auto-refresh[data-v-g5y41iyh]:hover {
19
+ .auto-refresh[data-v-1p8gcuep]:hover {
20
20
  color: #3A84FF;
21
21
  background-color: #E1ECFF;
22
22
  }
23
- .refresh[data-v-g5y41iyh] {
23
+ .refresh[data-v-1p8gcuep] {
24
24
  cursor: pointer;
25
25
  line-height: 26px;
26
26
  padding: 0 4px;
27
27
  }
28
- .refresh[data-v-g5y41iyh]:hover {
28
+ .refresh[data-v-1p8gcuep]:hover {
29
29
  color: #3A84FF;
30
30
  background-color: #E1ECFF;
31
31
  }
32
- .textarea-list[data-v-g5y41iyh] {
32
+ .textarea-list[data-v-1p8gcuep] {
33
33
  padding: 4px 0;
34
34
  line-height: 32px;
35
35
  max-height: 300px;
36
36
  position: relative;
37
37
  z-index: 2;
38
38
  }
39
- .textarea-list .textarea-item[data-v-g5y41iyh] {
39
+ .textarea-list .textarea-item[data-v-1p8gcuep] {
40
40
  padding: 0 12px;
41
41
  cursor: pointer;
42
42
  }
43
- .textarea-list .textarea-item[data-v-g5y41iyh]:hover {
43
+ .textarea-list .textarea-item[data-v-1p8gcuep]:hover {
44
44
  background: #E1ECFF;
45
45
  color: #3A84FF;
46
46
  }
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-g5y41iyh";
2
+ script.__scopeId = "data-v-1p8gcuep";
3
3
  script.__file = "./src/components/render-auto-refresh/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,5 +1,5 @@
1
1
 
2
- .checkbox[data-v-04h8affo] {
2
+ .checkbox[data-v-extp1e3y] {
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-04h8affo] {
11
+ .checkbox.disabled[data-v-extp1e3y] {
12
12
  cursor: not-allowed;
13
13
  background: #fafbfd;
14
14
  border-color: #dcdee5;
15
15
  }
16
- .checkbox.disabled.checked[data-v-04h8affo] {
16
+ .checkbox.disabled.checked[data-v-extp1e3y] {
17
17
  background-color: #a3c5fd;
18
18
  border-color: #a3c5fd;
19
19
  }
20
- .checkbox.disabled.indeterminate[data-v-04h8affo] {
20
+ .checkbox.disabled.indeterminate[data-v-extp1e3y] {
21
21
  background-color: #fafbfd;
22
22
  border-color: #dcdee5;
23
23
  }
24
- .checkbox.disabled.indeterminate[data-v-04h8affo]:after {
24
+ .checkbox.disabled.indeterminate[data-v-extp1e3y]:after {
25
25
  background: #dcdee5;
26
26
  }
27
- .checkbox.checked[data-v-04h8affo] {
27
+ .checkbox.checked[data-v-extp1e3y] {
28
28
  background-color: #3a84ff;
29
29
  border: 1px solid #3a84ff;
30
30
  }
31
- .checkbox.checked[data-v-04h8affo]:after {
31
+ .checkbox.checked[data-v-extp1e3y]: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-04h8affo] {
44
+ .checkbox.indeterminate[data-v-extp1e3y] {
45
45
  background-color: #3a84ff;
46
46
  border: 1px solid #3a84ff;
47
47
  }
48
- .checkbox.indeterminate[data-v-04h8affo]:after {
48
+ .checkbox.indeterminate[data-v-extp1e3y]: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-04h8affo";
2
+ script.__scopeId = "data-v-extp1e3y";
3
3
  script.__file = "./src/components/render-checkbox/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,29 +1,29 @@
1
1
 
2
- .plus-tag-input[data-v-l1i8u6zb] {
2
+ .plus-tag-input[data-v-ux4k6tz1] {
3
3
  padding: 7px 12px;
4
4
  height: 40px;
5
5
  background: #FAFBFD;
6
6
  border-top: 1px solid #DCDEE5;
7
7
  }
8
- .plus-tag-input .plus-tag-done[data-v-l1i8u6zb] {
8
+ .plus-tag-input .plus-tag-done[data-v-ux4k6tz1] {
9
9
  cursor: pointer;
10
10
  font-size: 22px;
11
11
  color: #2DCB56;
12
12
  margin: 0 5px 0 10px;
13
13
  }
14
- .plus-tag-input .plus-tag-error[data-v-l1i8u6zb] {
14
+ .plus-tag-input .plus-tag-error[data-v-ux4k6tz1] {
15
15
  cursor: pointer;
16
16
  font-size: 16px;
17
17
  color: #C4C6CC;
18
18
  margin-right: 5px;
19
19
  }
20
- .plus-tag-input .plus-tag-form[data-v-l1i8u6zb] {
20
+ .plus-tag-input .plus-tag-form[data-v-ux4k6tz1] {
21
21
  flex: 1;
22
22
  }
23
- .plus-tag-input .plus-tag-form-item[data-v-l1i8u6zb] {
23
+ .plus-tag-input .plus-tag-form-item[data-v-ux4k6tz1] {
24
24
  margin-bottom: 0;
25
25
  }
26
- .plus-tag[data-v-l1i8u6zb] {
26
+ .plus-tag[data-v-ux4k6tz1] {
27
27
  cursor: pointer;
28
28
  width: 100%;
29
29
  height: 40px;
@@ -36,7 +36,7 @@
36
36
  font-size: 12px;
37
37
  line-height: 20px;
38
38
  }
39
- .plus-tag[data-v-l1i8u6zb]:hover {
39
+ .plus-tag[data-v-ux4k6tz1]:hover {
40
40
  color: #3A84FF;
41
41
  }
42
42
 
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-l1i8u6zb";
2
+ script.__scopeId = "data-v-ux4k6tz1";
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-kgpqj2ve] {
2
+ .collapse-title[data-v-vuct33wx] {
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-kgpqj2ve] {
8
+ .collapse-title .is-hidden[data-v-vuct33wx] {
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-kgpqj2ve";
2
+ script.__scopeId = "data-v-vuct33wx";
3
3
  script.__file = "./src/components/render-collapse/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -39,7 +39,7 @@ export default /*@__PURE__*/ _defineComponent({
39
39
  }
40
40
  ]
41
41
  ]),
42
- _cache[1] || (_cache[1] = _createStaticVNode("<span class=\"click-full-screen g-cursor-pointer g-flex-row\" data-v-5emkp4dy><i class=\"ai-ui-sdk-icon ai-ui-sdk-full-screen click-full-screen g-text-14 g-ml-24 g-mr-2\" data-v-5emkp4dy></i><span class=\"g-text-12 click-full-screen\" data-v-5emkp4dy>全屏</span></span><span class=\"click-un-full-screen g-cursor-pointer g-flex-row\" data-v-5emkp4dy><i class=\"ai-ui-sdk-icon ai-ui-sdk-un-full-screen click-un-full-screen g-text-14 g-ml-24 g-mr-2\" data-v-5emkp4dy></i><span class=\"g-text-12 click-un-full-screen\" data-v-5emkp4dy>取消全屏</span></span>", 2))
42
+ _cache[1] || (_cache[1] = _createStaticVNode("<span class=\"click-full-screen g-cursor-pointer g-flex-row\" data-v-nt01ndu5><i class=\"ai-ui-sdk-icon ai-ui-sdk-full-screen click-full-screen g-text-14 g-ml-24 g-mr-2\" data-v-nt01ndu5></i><span class=\"g-text-12 click-full-screen\" data-v-nt01ndu5>全屏</span></span><span class=\"click-un-full-screen g-cursor-pointer g-flex-row\" data-v-nt01ndu5><i class=\"ai-ui-sdk-icon ai-ui-sdk-un-full-screen click-un-full-screen g-text-14 g-ml-24 g-mr-2\" data-v-nt01ndu5></i><span class=\"g-text-12 click-un-full-screen\" data-v-nt01ndu5>取消全屏</span></span>", 2))
43
43
  ]);
44
44
  };
45
45
  }
@@ -1,15 +1,15 @@
1
1
 
2
- .content[data-v-2tbtz7s7] {
2
+ .content[data-v-x2cr841h] {
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-2tbtz7s7] {
7
+ .data-set-edit-slider .value-content[data-v-x2cr841h] {
8
8
  padding: 16px;
9
9
  border: 1px solid #DCDEE5;
10
10
  line-height: 22px;
11
11
  }
12
- .data-set-edit-slider[data-v-2tbtz7s7] .bk-sideslider-title {
12
+ .data-set-edit-slider[data-v-x2cr841h] .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-2tbtz7s7";
2
+ script.__scopeId = "data-v-x2cr841h";
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-5d5u77dx] {
2
+ .content[data-v-0wuiz1s0] {
3
3
  padding: 0 24px 0px 32px;
4
4
  height: 100%;
5
5
  }
6
- .content .toolbar[data-v-5d5u77dx] {
6
+ .content .toolbar[data-v-0wuiz1s0] {
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-5d5u77dx] {
13
+ .content .toolbar .record-search[data-v-0wuiz1s0] {
14
14
  width: 360px;
15
15
  }
16
- .content .toolbar .record-data-picker[data-v-5d5u77dx] {
16
+ .content .toolbar .record-data-picker[data-v-0wuiz1s0] {
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-5d5u77dx";
2
+ script.__scopeId = "data-v-0wuiz1s0";
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-83n27dtd] {
2
+ .text[data-v-dt78npdb] {
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-83n27dtd";
2
+ script.__scopeId = "data-v-dt78npdb";
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-xcdmmrs2] {
2
+ .content[data-v-kzm4zyqi] {
3
3
  padding: 18px 24px 0;
4
4
  height: 100%;
5
5
  overflow: auto;
6
6
  }
7
- .content .value-content[data-v-xcdmmrs2] {
7
+ .content .value-content[data-v-kzm4zyqi] {
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-xcdmmrs2";
2
+ script.__scopeId = "data-v-kzm4zyqi";
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-rn9ndnou] {
2
+ .dataset-data-content[data-v-u166d8lo] {
3
3
  padding: 20px 24px;
4
4
  height: 100%;
5
5
  }
6
- .dataset-data-slider[data-v-rn9ndnou] .bk-modal-content {
6
+ .dataset-data-slider[data-v-u166d8lo] .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-rn9ndnou";
2
+ script.__scopeId = "data-v-u166d8lo";
3
3
  script.__file = "./src/components/render-dataset/components/plus-dataset/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,10 +1,10 @@
1
1
 
2
- .dataset-data-api-endpoint[data-v-xz71qn56] {
2
+ .dataset-data-api-endpoint[data-v-tduy2ggc] {
3
3
  line-height: 44px;
4
4
  background: #F5F7FA;
5
5
  border-radius: 2px;
6
6
  padding: 0 12px;
7
7
  }
8
- [data-v-xz71qn56] .dataset-data-api-demo .v-show-content {
8
+ [data-v-tduy2ggc] .dataset-data-api-demo .v-show-content {
9
9
  padding: 0 !important;
10
10
  }
@@ -1,5 +1,5 @@
1
1
  import script from './api.script.vue.js.js';
2
- script.__scopeId = "data-v-xz71qn56";
2
+ script.__scopeId = "data-v-tduy2ggc";
3
3
  script.__file = "./src/components/render-dataset/components/plus-dataset-data/form/api.vue";
4
4
  import './api.vue.css';
5
5
  export default script;
@@ -1,5 +1,5 @@
1
1
 
2
- .footer-button[data-v-4kz2hege] {
2
+ .footer-button[data-v-1fwi10cu] {
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-4kz2hege";
2
+ script.__scopeId = "data-v-1fwi10cu";
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-813v0plm] {
2
+ .plus-dataset-data[data-v-p1wh437k] {
3
3
  padding: 20px 24px;
4
4
  }
5
- .plus-dataset-sideslider[data-v-813v0plm] .bk-modal-content {
5
+ .plus-dataset-sideslider[data-v-p1wh437k] .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-813v0plm";
2
+ script.__scopeId = "data-v-p1wh437k";
3
3
  script.__file = "./src/components/render-dataset/components/plus-dataset-data/form/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,41 +1,41 @@
1
1
 
2
- .content[data-v-dpystewk] {
2
+ .content[data-v-u2vz8ei2] {
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-dpystewk] {
7
+ .data-set-review-slider .value-content[data-v-u2vz8ei2] {
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-dpystewk] {
12
+ .data-set-review-slider .review-data[data-v-u2vz8ei2] {
13
13
  height: calc(100% - 337px);
14
14
  padding: 18px 24px;
15
15
  }
16
- .data-set-review-slider .review-level[data-v-dpystewk] {
16
+ .data-set-review-slider .review-level[data-v-u2vz8ei2] {
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-dpystewk] {
21
+ .data-set-review-slider .review-level .level-score[data-v-u2vz8ei2] {
22
22
  gap: 50px;
23
23
  }
24
- .data-set-review-slider .review-level .level-score .bk-form-item[data-v-dpystewk] {
24
+ .data-set-review-slider .review-level .level-score .bk-form-item[data-v-u2vz8ei2] {
25
25
  flex: 1;
26
26
  }
27
- .data-set-review-slider .bold-title[data-v-dpystewk] .bk-form-label {
27
+ .data-set-review-slider .bold-title[data-v-u2vz8ei2] .bk-form-label {
28
28
  font-weight: bold;
29
29
  font-size: 14px;
30
30
  }
31
- .data-set-review-slider[data-v-dpystewk] .bk-sideslider-title {
31
+ .data-set-review-slider[data-v-u2vz8ei2] .bk-sideslider-title {
32
32
  justify-content: space-between;
33
33
  width: 100%;
34
34
  }
35
- .data-set-review-slider[data-v-dpystewk] .bk-modal-content {
35
+ .data-set-review-slider[data-v-u2vz8ei2] .bk-modal-content {
36
36
  height: calc(100% - 100px) !important;
37
37
  scrollbar-gutter: inherit !important;
38
38
  }
39
- .data-set-review-slider[data-v-dpystewk] .bk-modal-content >div, .data-set-review-slider[data-v-dpystewk] .bk-modal-content .bk-sideslider-content {
39
+ .data-set-review-slider[data-v-u2vz8ei2] .bk-modal-content >div, .data-set-review-slider[data-v-u2vz8ei2] .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-dpystewk";
2
+ script.__scopeId = "data-v-u2vz8ei2";
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;
@@ -1,15 +1,15 @@
1
1
 
2
- .origin-data-content[data-v-me0cw5sg] {
2
+ .origin-data-content[data-v-gbq4qoi6] {
3
3
  padding: 24px;
4
4
  height: calc(100% - 52px - 44px);
5
5
  }
6
- .origin-data-panel[data-v-me0cw5sg] {
6
+ .origin-data-panel[data-v-gbq4qoi6] {
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-me0cw5sg] {
13
+ .origin-data-panel .toolbar-search[data-v-gbq4qoi6] {
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-me0cw5sg";
2
+ script.__scopeId = "data-v-gbq4qoi6";
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-upjlk58e] {
2
+ .main-content[data-v-hrdr5nsu] {
3
3
  padding: 20px 24px;
4
4
  height: 100%;
5
5
  }
6
- .main-panel[data-v-upjlk58e] {
6
+ .main-panel[data-v-hrdr5nsu] {
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-upjlk58e] {
13
+ .main-search[data-v-hrdr5nsu] {
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-upjlk58e";
2
+ script.__scopeId = "data-v-hrdr5nsu";
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
- .dataset-main[data-v-hcucxmq9] {
2
+ .dataset-main[data-v-7tasxyl9] {
3
3
  height: calc(100% - 90px);
4
4
  margin-top: 2px;
5
5
  }
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-hcucxmq9";
2
+ script.__scopeId = "data-v-7tasxyl9";
3
3
  script.__file = "./src/components/render-dataset-list/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-4h55j2b8] {
2
+ .upload-file-home[data-v-0j345l0h] {
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-4h55j2b8]:hover {
9
+ .upload-file-home[data-v-0j345l0h]:hover {
10
10
  border: 1px solid #3A84FF;
11
11
  }
12
- .upload-file-home:hover .file-icons[data-v-4h55j2b8] {
12
+ .upload-file-home:hover .file-icons[data-v-0j345l0h] {
13
13
  display: flex;
14
14
  }
15
- .upload-file-home .file-icon[data-v-4h55j2b8] {
15
+ .upload-file-home .file-icon[data-v-0j345l0h] {
16
16
  font-size: 32px;
17
17
  }
18
- .upload-file-home .file-content[data-v-4h55j2b8] {
18
+ .upload-file-home .file-content[data-v-0j345l0h] {
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-4h55j2b8] {
26
+ .upload-file-home .file-content .file-name[data-v-0j345l0h] {
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-4h55j2b8] {
31
+ .upload-file-home .file-content .file-size[data-v-0j345l0h] {
32
32
  font-size: 12px;
33
33
  color: #979BA5;
34
34
  line-height: 20px;
35
35
  }
36
- .upload-file-home .file-icons[data-v-4h55j2b8] {
36
+ .upload-file-home .file-icons[data-v-0j345l0h] {
37
37
  display: none;
38
38
  color: #979BA5;
39
39
  }
40
- .upload-file-home .file-icons .bkaidev-icon[data-v-4h55j2b8] {
40
+ .upload-file-home .file-icons .bkaidev-icon[data-v-0j345l0h] {
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-4h55j2b8]:hover {
45
+ .upload-file-home .file-icons .bkaidev-icon[data-v-0j345l0h]:hover {
46
46
  color: #3A84FF;
47
47
  }
48
- .upload-file-home .file-icons .bkaidev-delete[data-v-4h55j2b8] {
48
+ .upload-file-home .file-icons .bkaidev-delete[data-v-0j345l0h] {
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-4h55j2b8";
2
+ script.__scopeId = "data-v-0j345l0h";
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-kaqqvw1m] {
2
+ .ai-ui-sdk-icon.ai-ui-sdk-pdf[data-v-h604d4rt] {
3
3
  color: #EA3636;
4
4
  }
5
- .ai-ui-sdk-icon.ai-ui-sdk-doc-2[data-v-kaqqvw1m], .ai-ui-sdk-icon.ai-ui-sdk-ppt-2[data-v-kaqqvw1m], .ai-ui-sdk-icon.ai-ui-sdk-markdown[data-v-kaqqvw1m] {
5
+ .ai-ui-sdk-icon.ai-ui-sdk-doc-2[data-v-h604d4rt], .ai-ui-sdk-icon.ai-ui-sdk-ppt-2[data-v-h604d4rt], .ai-ui-sdk-icon.ai-ui-sdk-markdown[data-v-h604d4rt] {
6
6
  color: #3A84FF;
7
7
  }
8
- .ai-ui-sdk-icon.ai-ui-sdk-folder-fill[data-v-kaqqvw1m] {
8
+ .ai-ui-sdk-icon.ai-ui-sdk-folder-fill[data-v-h604d4rt] {
9
9
  color: #C4C6CC;
10
10
  }
11
- .ai-ui-sdk-icon.ai-ui-sdk-excel[data-v-kaqqvw1m] {
11
+ .ai-ui-sdk-icon.ai-ui-sdk-excel[data-v-h604d4rt] {
12
12
  color: #2DCB56;
13
13
  }
14
- .ai-ui-sdk-icon.ai-ui-sdk-wangye[data-v-kaqqvw1m] {
14
+ .ai-ui-sdk-icon.ai-ui-sdk-wangye[data-v-h604d4rt] {
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-kaqqvw1m";
2
+ script.__scopeId = "data-v-h604d4rt";
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-4l5d1w88] {
2
+ .header-home[data-v-6dzllhju] {
3
3
  width: 100%;
4
4
  background: #FFFFFF;
5
5
  box-shadow: 0 3px 4px 0 #0000000a;
6
6
  }
7
- .render-tab[data-v-4l5d1w88] {
7
+ .render-tab[data-v-6dzllhju] {
8
8
  border-bottom: 2px solid transparent;
9
9
  }
10
- .render-tab.active[data-v-4l5d1w88] {
10
+ .render-tab.active[data-v-6dzllhju] {
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-4l5d1w88";
2
+ script.__scopeId = "data-v-6dzllhju";
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-koyqr5ge] {
2
+ .dislike-icon[data-v-7i8l7mf8] {
3
3
  transform: rotateX(180deg);
4
4
  }
5
- .option-items[data-v-koyqr5ge] {
5
+ .option-items[data-v-7i8l7mf8] {
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-koyqr5ge]:hover {
11
+ .option-items[data-v-7i8l7mf8]:hover {
12
12
  background-color: #E1ECFF;
13
13
  color: #3A84FF;
14
14
  }
15
- .option-items-selected[data-v-koyqr5ge]{
15
+ .option-items-selected[data-v-7i8l7mf8]{
16
16
  background-color: #E1ECFF;
17
17
  }
18
- [data-v-koyqr5ge] .bk-form-item {
18
+ [data-v-7i8l7mf8] .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-koyqr5ge";
2
+ script.__scopeId = "data-v-7i8l7mf8";
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-vf2otu5e] {
2
+ .router-tab[data-v-hs0p2ouw] {
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-vf2otu5e] {
9
+ .router-tab a[data-v-hs0p2ouw] {
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-vf2otu5e] {
18
+ .router-tab a.router-link-exact-active[data-v-hs0p2ouw] {
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-vf2otu5e";
2
+ script.__scopeId = "data-v-hs0p2ouw";
3
3
  script.__file = "./src/components/render-router-tab/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,62 +1,62 @@
1
1
 
2
- .t-t-pagination[data-v-yye6bndq] {
2
+ .t-t-pagination[data-v-fyj82wsl] {
3
3
  position: sticky;
4
4
  bottom: 0;
5
5
  }
6
- .t-t-pagination[data-v-yye6bndq] .bk-pagination-list.is-last {
6
+ .t-t-pagination[data-v-fyj82wsl] .bk-pagination-list.is-last {
7
7
  margin-left: auto;
8
8
  }
9
- .t-t-table[data-v-yye6bndq] {
9
+ .t-t-table[data-v-fyj82wsl] {
10
10
  display: inline;
11
11
  height: calc(100% - 64px);
12
12
  }
13
- .t-t-table[data-v-yye6bndq] .t-table__affixed-header-elm-wrap{
13
+ .t-t-table[data-v-fyj82wsl] .t-table__affixed-header-elm-wrap{
14
14
  width: 100% !important;
15
15
  top: -2px;
16
16
  }
17
- .t-t-table[data-v-yye6bndq] .t-table__affixed-header-elm-wrap>div {
17
+ .t-t-table[data-v-fyj82wsl] .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-yye6bndq] .t-table--layout-fixed{
22
+ .t-t-table[data-v-fyj82wsl] .t-table--layout-fixed{
23
23
  width: 100% !important;
24
24
  }
25
- .t-t-table[data-v-yye6bndq] .bk-exception-description{
25
+ .t-t-table[data-v-fyj82wsl] .bk-exception-description{
26
26
  margin-bottom: 0;
27
27
  }
28
- .t-t-table[data-v-yye6bndq] .t-table--layout-fixed .t-table__header{
28
+ .t-t-table[data-v-fyj82wsl] .t-table--layout-fixed .t-table__header{
29
29
  position: sticky;
30
30
  top: -4px;
31
31
  }
32
- .t-t-table[data-v-yye6bndq] .t-table__content{
32
+ .t-t-table[data-v-fyj82wsl] .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-yye6bndq] .t-table__content::-webkit-scrollbar {
37
+ .t-t-table[data-v-fyj82wsl] .t-table__content::-webkit-scrollbar {
38
38
  width: 6px;
39
39
  height: 6px;
40
40
  }
41
- .t-t-table[data-v-yye6bndq] .t-table__content::-webkit-scrollbar-thumb {
41
+ .t-t-table[data-v-fyj82wsl] .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-yye6bndq] .t-table__content::-webkit-scrollbar-thumb:hover {
47
+ .t-t-table[data-v-fyj82wsl] .t-table__content::-webkit-scrollbar-thumb:hover {
48
48
  background-color: #979ba5;
49
49
  }
50
- .t-t-table[data-v-yye6bndq] .t-table__ellipsis.t-text-ellipsis:has(.checkbox){
50
+ .t-t-table[data-v-fyj82wsl] .t-table__ellipsis.t-text-ellipsis:has(.checkbox){
51
51
  line-height: 100%;
52
52
  }
53
- .t-t-table[data-v-yye6bndq] .t-table__cell--sort-trigger.t-table__double-icons{
53
+ .t-t-table[data-v-fyj82wsl] .t-table__cell--sort-trigger.t-table__double-icons{
54
54
  gap: 5px;
55
55
  }
56
- .t-t-table[data-v-yye6bndq] .t-table__sort-icon--active>i{
56
+ .t-t-table[data-v-fyj82wsl] .t-table__sort-icon--active>i{
57
57
  color: #3a84ff !important;
58
58
  }
59
- .t-t-table[data-v-yye6bndq] .t-table__cell--fixed-left:has(.checkbox){
59
+ .t-t-table[data-v-fyj82wsl] .t-table__cell--fixed-left:has(.checkbox){
60
60
  line-height: 100%;
61
61
  }
62
62
 
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js';
2
- script.__scopeId = "data-v-yye6bndq";
2
+ script.__scopeId = "data-v-fyj82wsl";
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-7yx29n7f] {
2
+ .tag-tree[data-v-a26j7dbe] {
3
3
  font-size: 12px;
4
4
  height: auto;
5
5
  }
6
- .tag-tree .manage-tree-item[data-v-7yx29n7f] {
6
+ .tag-tree .manage-tree-item[data-v-a26j7dbe] {
7
7
  height: 32px;
8
8
  flex: 1;
9
9
  }
10
- .tag-tree .quick-icon[data-v-7yx29n7f] {
10
+ .tag-tree .quick-icon[data-v-a26j7dbe] {
11
11
  margin-left: -24px;
12
12
  padding-left: 8px;
13
13
  }
14
- .tag-tree[data-v-7yx29n7f] .tree-item:has(.quick-icon.ai-ui-sdk-wubiaoqian) {
14
+ .tag-tree[data-v-a26j7dbe] .tree-item:has(.quick-icon.ai-ui-sdk-wubiaoqian) {
15
15
  border-bottom: 1px solid #F0F1F5;
16
16
  }
17
- .tag-tree[data-v-7yx29n7f] .tree-item.active .quick-icon {
17
+ .tag-tree[data-v-a26j7dbe] .tree-item.active .quick-icon {
18
18
  color: #3A84FF;
19
19
  }
20
- .tag-tree[data-v-7yx29n7f] .tree-item.active .tag-number {
20
+ .tag-tree[data-v-a26j7dbe] .tree-item.active .tag-number {
21
21
  background: #A3C5FD;
22
22
  color: #fff;
23
23
  }
24
- .tag-number[data-v-7yx29n7f] {
24
+ .tag-number[data-v-a26j7dbe] {
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-7yx29n7f";
2
+ script.__scopeId = "data-v-a26j7dbe";
3
3
  script.__file = "./src/components/render-tag-tree/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -0,0 +1,86 @@
1
+ import { ref } from 'vue';
2
+ import { OrderMethod } from '../types/enum.ts.js';
3
+ export const useTTable = ()=>{
4
+ const isLoading = ref(false);
5
+ const isPagination = ref(false);
6
+ let callBack;
7
+ const sort = ref({});
8
+ const tableData = ref([]);
9
+ const pagination = ref({
10
+ current: 1,
11
+ limit: 20,
12
+ count: 0
13
+ });
14
+ // 更新数据
15
+ const triggerApi = ()=>{
16
+ if (!callBack) {
17
+ console.error('先调用initHook初始化回调函数');
18
+ return;
19
+ }
20
+ isLoading.value = true;
21
+ callBack({
22
+ page: pagination.value.current,
23
+ pageSize: pagination.value.limit,
24
+ orderBy: sort.value.sortKey,
25
+ orderMethod: sort.value.descending
26
+ }).then((apiResult)=>{
27
+ if (isPagination.value) {
28
+ tableData.value = apiResult.results;
29
+ pagination.value.count = apiResult.count;
30
+ } else {
31
+ tableData.value = apiResult;
32
+ }
33
+ }).finally(()=>{
34
+ isLoading.value = false;
35
+ });
36
+ };
37
+ const initHook = (callBackFn, isShowPagination)=>{
38
+ callBack = callBackFn;
39
+ isPagination.value = isShowPagination;
40
+ };
41
+ // sortKey 为必传
42
+ const handleSortChange = (config, { col })=>{
43
+ if (!config) {
44
+ sort.value = {};
45
+ return triggerApi();
46
+ }
47
+ const { descending } = config;
48
+ sort.value = {
49
+ sortKey: col.sortKey,
50
+ descending: descending ? OrderMethod.Desc : OrderMethod.Asc
51
+ };
52
+ triggerApi();
53
+ };
54
+ // 分页器 当前页变化处理
55
+ const handlePageChange = (current)=>{
56
+ if (pagination.value.current === current) return;
57
+ pagination.value.current = current;
58
+ triggerApi();
59
+ };
60
+ // 分页器 页码大小变化处理
61
+ const handlePageSizeChange = (pageSize)=>{
62
+ if (pagination.value.limit === pageSize) return;
63
+ pagination.value.limit = pageSize;
64
+ pagination.value.current = 1;
65
+ triggerApi();
66
+ };
67
+ const resetPagination = ()=>{
68
+ pagination.value = {
69
+ current: 1,
70
+ limit: 20,
71
+ count: 0
72
+ };
73
+ };
74
+ return {
75
+ isLoading,
76
+ initHook,
77
+ sort,
78
+ handleSortChange,
79
+ triggerApi,
80
+ pagination,
81
+ resetPagination,
82
+ tableData,
83
+ handlePageChange,
84
+ handlePageSizeChange
85
+ };
86
+ };
package/dist/hooks.d.ts CHANGED
@@ -8,3 +8,4 @@ export * from './hooks/use-permission';
8
8
  export * from './hooks/use-think';
9
9
  export * from './hooks/use-reference-doc';
10
10
  export * from './hooks/use-member-http';
11
+ export * from './hooks/use-t-table';
package/dist/hooks.ts.js CHANGED
@@ -8,3 +8,4 @@ export * from './hooks/use-permission.ts.js';
8
8
  export * from './hooks/use-think.ts.js';
9
9
  export * from './hooks/use-reference-doc.ts.js';
10
10
  export * from './hooks/use-member-http.ts.js';
11
+ export * from './hooks/use-t-table.ts.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blueking/ai-ui-sdk",
3
- "version": "0.1.19-beta.14",
3
+ "version": "0.1.19-beta.15",
4
4
  "description": "蓝鲸AI UI SDK",
5
5
  "main": "dist/main.js",
6
6
  "types": "dist/main.d.ts",