@blueking/ai-ui-sdk 0.1.19-beta.3 → 0.1.19-beta.4

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 (141) hide show
  1. package/dist/components/render-auth/auth-dialog.vue.d.ts +2 -1
  2. package/dist/components/render-auto-height-textarea/index.vue.css +11 -11
  3. package/dist/components/render-auto-height-textarea/index.vue.d.ts +2 -1
  4. package/dist/components/render-auto-height-textarea/index.vue.js +1 -1
  5. package/dist/components/render-auto-refresh/index.vue.css +8 -8
  6. package/dist/components/render-auto-refresh/index.vue.d.ts +2 -1
  7. package/dist/components/render-auto-refresh/index.vue.js +1 -1
  8. package/dist/components/render-checkbox/index.vue.css +9 -9
  9. package/dist/components/render-checkbox/index.vue.d.ts +2 -1
  10. package/dist/components/render-checkbox/index.vue.js +1 -1
  11. package/dist/components/render-choose-tag/index.vue.css +7 -7
  12. package/dist/components/render-choose-tag/index.vue.d.ts +2 -1
  13. package/dist/components/render-choose-tag/index.vue.js +1 -1
  14. package/dist/components/render-collapse/index.vue.css +2 -2
  15. package/dist/components/render-collapse/index.vue.d.ts +3 -2
  16. package/dist/components/render-collapse/index.vue.js +1 -1
  17. package/dist/components/render-dataset/components/batch-review-dataset-data/index.vue.d.ts +2 -1
  18. package/dist/components/render-dataset/components/dataset-data-level/index.vue.d.ts +2 -1
  19. package/dist/components/render-dataset/components/dataset-data-status/index.vue.d.ts +2 -1
  20. package/dist/components/render-dataset/components/dataset-data-tool-icons/index.script.vue.js +1 -1
  21. package/dist/components/render-dataset/components/dataset-data-tool-icons/index.vue.d.ts +2 -1
  22. package/dist/components/render-dataset/components/edit-dataset-data/index.vue.css +3 -3
  23. package/dist/components/render-dataset/components/edit-dataset-data/index.vue.d.ts +2 -1
  24. package/dist/components/render-dataset/components/edit-dataset-data/index.vue.js +1 -1
  25. package/dist/components/render-dataset/components/operation-record/index.vue.css +4 -4
  26. package/dist/components/render-dataset/components/operation-record/index.vue.d.ts +2 -1
  27. package/dist/components/render-dataset/components/operation-record/index.vue.js +1 -1
  28. package/dist/components/render-dataset/components/operation-record/table/index.vue.css +1 -1
  29. package/dist/components/render-dataset/components/operation-record/table/index.vue.d.ts +2 -1
  30. package/dist/components/render-dataset/components/operation-record/table/index.vue.js +1 -1
  31. package/dist/components/render-dataset/components/operation-record/view-op-result/index.vue.css +2 -2
  32. package/dist/components/render-dataset/components/operation-record/view-op-result/index.vue.d.ts +2 -1
  33. package/dist/components/render-dataset/components/operation-record/view-op-result/index.vue.js +1 -1
  34. package/dist/components/render-dataset/components/plus-dataset/dataset-footer.vue.d.ts +2 -1
  35. package/dist/components/render-dataset/components/plus-dataset/dataset-form.vue.d.ts +4 -2
  36. package/dist/components/render-dataset/components/plus-dataset/index.vue.css +2 -2
  37. package/dist/components/render-dataset/components/plus-dataset/index.vue.d.ts +2 -1
  38. package/dist/components/render-dataset/components/plus-dataset/index.vue.js +1 -1
  39. package/dist/components/render-dataset/components/plus-dataset-data/form/api.vue.css +2 -2
  40. package/dist/components/render-dataset/components/plus-dataset-data/form/api.vue.d.ts +2 -1
  41. package/dist/components/render-dataset/components/plus-dataset-data/form/api.vue.js +1 -1
  42. package/dist/components/render-dataset/components/plus-dataset-data/form/category.vue.d.ts +2 -1
  43. package/dist/components/render-dataset/components/plus-dataset-data/form/dataset.vue.d.ts +4 -2
  44. package/dist/components/render-dataset/components/plus-dataset-data/form/file.vue.d.ts +4 -2
  45. package/dist/components/render-dataset/components/plus-dataset-data/form/footer.vue.css +1 -1
  46. package/dist/components/render-dataset/components/plus-dataset-data/form/footer.vue.d.ts +2 -1
  47. package/dist/components/render-dataset/components/plus-dataset-data/form/footer.vue.js +1 -1
  48. package/dist/components/render-dataset/components/plus-dataset-data/form/index.vue.css +2 -2
  49. package/dist/components/render-dataset/components/plus-dataset-data/form/index.vue.d.ts +2 -1
  50. package/dist/components/render-dataset/components/plus-dataset-data/form/index.vue.js +1 -1
  51. package/dist/components/render-dataset/components/plus-dataset-data/form/manual.vue.d.ts +4 -2
  52. package/dist/components/render-dataset/components/plus-dataset-data/index.vue.d.ts +2 -1
  53. package/dist/components/render-dataset/components/review-dataset-data/index.vue.css +10 -10
  54. package/dist/components/render-dataset/components/review-dataset-data/index.vue.d.ts +2 -1
  55. package/dist/components/render-dataset/components/review-dataset-data/index.vue.js +1 -1
  56. package/dist/components/render-dataset/components/search-dataset/index.vue.d.ts +2 -1
  57. package/dist/components/render-dataset/components/search-dataset-data/index.vue.d.ts +2 -1
  58. package/dist/components/render-dataset/components/search-operation-record/index.vue.d.ts +2 -1
  59. package/dist/components/render-dataset/components/source-type-icon/index.vue.d.ts +2 -1
  60. package/dist/components/render-dataset/index.script.vue.js +5 -0
  61. package/dist/components/render-dataset/index.vue.d.ts +2 -6
  62. package/dist/components/render-dataset/index.vue.js +2 -3
  63. package/dist/components/render-dataset-detail/components/header.script.vue.js.js +1 -1
  64. package/dist/components/render-dataset-detail/components/header.vue.d.ts +4 -2
  65. package/dist/components/render-dataset-detail/components/tab.vue.d.ts +2 -1
  66. package/dist/components/render-dataset-detail/index.vue.d.ts +2 -1
  67. package/dist/components/render-dataset-detail-origin-data/components/batch-operation/index.vue.d.ts +2 -1
  68. package/dist/components/render-dataset-detail-origin-data/components/table/index.vue.d.ts +4 -2
  69. package/dist/components/render-dataset-detail-origin-data/index.vue.css +3 -3
  70. package/dist/components/render-dataset-detail-origin-data/index.vue.d.ts +2 -1
  71. package/dist/components/render-dataset-detail-origin-data/index.vue.js +1 -1
  72. package/dist/components/render-dataset-list/components/header.script.vue.js.js +65 -0
  73. package/dist/components/render-dataset-list/components/header.vue.d.ts +14 -0
  74. package/dist/components/render-dataset-list/components/header.vue.js +3 -0
  75. package/dist/components/render-dataset-list/components/main.script.vue.js.js +9 -3
  76. package/dist/components/render-dataset-list/components/main.vue.css +4 -4
  77. package/dist/components/render-dataset-list/components/main.vue.d.ts +6 -3
  78. package/dist/components/render-dataset-list/components/main.vue.js +1 -1
  79. package/dist/components/render-dataset-list/components/table.script.vue.js.js +27 -6
  80. package/dist/components/render-dataset-list/components/table.vue.d.ts +6 -3
  81. package/dist/components/render-dataset-list/index.script.vue.js.js +85 -9
  82. package/dist/components/render-dataset-list/index.vue.css +5 -0
  83. package/dist/components/render-dataset-list/index.vue.d.ts +2 -3
  84. package/dist/components/render-dataset-list/index.vue.js +2 -0
  85. package/dist/components/render-file-card/index.vue.css +11 -11
  86. package/dist/components/render-file-card/index.vue.d.ts +8 -7
  87. package/dist/components/render-file-card/index.vue.js +1 -1
  88. package/dist/components/render-file-type-icon/index.vue.css +5 -5
  89. package/dist/components/render-file-type-icon/index.vue.d.ts +2 -1
  90. package/dist/components/render-file-type-icon/index.vue.js +1 -1
  91. package/dist/components/render-header/index.script.vue.js.js +23 -3
  92. package/dist/components/render-header/index.vue.css +3 -3
  93. package/dist/components/render-header/index.vue.d.ts +4 -2
  94. package/dist/components/render-header/index.vue.js +1 -1
  95. package/dist/components/render-like/index.vue.css +5 -5
  96. package/dist/components/render-like/index.vue.d.ts +6 -5
  97. package/dist/components/render-like/index.vue.js +1 -1
  98. package/dist/components/render-router-tab/index.vue.css +3 -3
  99. package/dist/components/render-router-tab/index.vue.d.ts +2 -1
  100. package/dist/components/render-router-tab/index.vue.js +1 -1
  101. package/dist/components/render-search-select/index.vue.d.ts +8 -7
  102. package/dist/components/render-tag-tree/index.script.vue.js.js +139 -0
  103. package/dist/components/render-tag-tree/index.vue.css +30 -0
  104. package/dist/components/render-tag-tree/index.vue.d.ts +19 -0
  105. package/dist/components/render-tag-tree/index.vue.js +5 -0
  106. package/dist/components/render-tree/index.script.vue.js +162 -0
  107. package/dist/components/render-tree/index.vue.css +24 -0
  108. package/dist/components/render-tree/index.vue.d.ts +43 -0
  109. package/dist/components/render-tree/index.vue.js +4 -0
  110. package/dist/components.d.ts +3 -1
  111. package/dist/components.ts.js +3 -1
  112. package/dist/css/fonts/iconcool.eot +0 -0
  113. package/dist/css/fonts/iconcool.svg +6 -0
  114. package/dist/css/fonts/iconcool.ttf +0 -0
  115. package/dist/css/fonts/iconcool.woff +0 -0
  116. package/dist/css/iconcool.js +1 -1
  117. package/dist/css/style.css +6 -0
  118. package/dist/hooks/use-common-http.d.ts +5 -0
  119. package/dist/hooks/use-common-http.ts.js +16 -0
  120. package/dist/hooks/use-table.d.ts +2 -7
  121. package/dist/hooks/use-table.ts.js +3 -3
  122. package/dist/http/helper/common.d.ts +25 -0
  123. package/dist/http/helper/common.ts.js +45 -0
  124. package/dist/http/helper/dataset.ts.js +10 -17
  125. package/dist/transforms.d.ts +1 -0
  126. package/dist/transforms.ts.js +1 -0
  127. package/dist/types/common.d.ts +37 -4
  128. package/dist/types/dataset.d.ts +12 -10
  129. package/dist/types/enum.d.ts +7 -1
  130. package/dist/types/enum.ts.js +7 -0
  131. package/package.json +2 -2
  132. package/dist/components/render-aside/index.script.vue.js +0 -69
  133. package/dist/components/render-aside/index.vue.css +0 -49
  134. package/dist/components/render-aside/index.vue.d.ts +0 -26
  135. package/dist/components/render-aside/index.vue.js +0 -5
  136. package/dist/components/render-dataset/index.script.vue.js.js +0 -126
  137. package/dist/components/render-dataset/index.vue.css +0 -6
  138. package/dist/components/render-expand-collapse/index.script.vue.js.js +0 -33
  139. package/dist/components/render-expand-collapse/index.vue.css +0 -23
  140. package/dist/components/render-expand-collapse/index.vue.d.ts +0 -12
  141. package/dist/components/render-expand-collapse/index.vue.js +0 -5
@@ -83,7 +83,9 @@ export default /*@__PURE__*/ _defineComponent({
83
83
  },
84
84
  search: {},
85
85
  spaceId: {},
86
- tabId: {}
86
+ groupType: {},
87
+ tagId: {},
88
+ tagName: {}
87
89
  },
88
90
  setup (__props) {
89
91
  const props = __props;
@@ -178,7 +180,9 @@ export default /*@__PURE__*/ _defineComponent({
178
180
  };
179
181
  const handleGetDatasetList = (params)=>{
180
182
  return getDatasetList(_object_spread_props(_object_spread({}, props.search, params), {
181
- generateType: props.tabId
183
+ groupType: props.groupType,
184
+ tagId: props.tagId,
185
+ tagName: props.tagName
182
186
  }));
183
187
  };
184
188
  const { tableData, pagination, isLoading, handlePageChange, handleSort, handlePageSizeChange, resetPagination, triggerApi } = useTable(handleGetDatasetList, 'results', {
@@ -220,7 +224,9 @@ export default /*@__PURE__*/ _defineComponent({
220
224
  watch([
221
225
  ()=>props.search,
222
226
  ()=>props.spaceId,
223
- ()=>props.tabId
227
+ ()=>props.tagId,
228
+ ()=>props.tagName,
229
+ ()=>props.groupType
224
230
  ], ()=>{
225
231
  resetPagination();
226
232
  triggerApi();
@@ -287,16 +293,26 @@ export default /*@__PURE__*/ _defineComponent({
287
293
  }),
288
294
  _createVNode(_component_bk_table_column, {
289
295
  label: "数据量",
290
- field: "datasetItemCount",
296
+ field: "dataset_item_count",
291
297
  width: "80",
292
298
  sort: true
299
+ }, {
300
+ default: _withCtx(({ row })=>[
301
+ _createTextVNode(_toDisplayString(row.datasetItemCount || '--'), 1 /* TEXT */ )
302
+ ]),
303
+ _: 1 /* STABLE */
293
304
  }),
294
305
  _ctx.reviewDataset ? (_openBlock(), _createBlock(_component_bk_table_column, {
295
306
  key: 0,
296
307
  label: "待审核数据量",
297
- field: "datasetItemUnreviewedCount",
308
+ field: "dataset_item_unreviewed_count",
298
309
  width: "120",
299
310
  sort: true
311
+ }, {
312
+ default: _withCtx(({ row })=>[
313
+ _createTextVNode(_toDisplayString(row.datasetItemUnreviewedCount || '--'), 1 /* TEXT */ )
314
+ ]),
315
+ _: 1 /* STABLE */
300
316
  })) : _createCommentVNode("v-if", true),
301
317
  _createVNode(_component_bk_table_column, {
302
318
  label: "类型",
@@ -340,9 +356,14 @@ export default /*@__PURE__*/ _defineComponent({
340
356
  }),
341
357
  _createVNode(_component_bk_table_column, {
342
358
  label: "创建时间",
343
- field: "createdAt",
359
+ field: "created_at",
344
360
  "min-width": "180",
345
361
  sort: true
362
+ }, {
363
+ default: _withCtx(({ row })=>[
364
+ _createTextVNode(_toDisplayString(row.createdAt || '--'), 1 /* TEXT */ )
365
+ ]),
366
+ _: 1 /* STABLE */
346
367
  }),
347
368
  _createVNode(_component_bk_table_column, {
348
369
  label: "操作",
@@ -1,12 +1,15 @@
1
1
  import type { IDatasetListParam } from '@/types/dataset';
2
- import { EnumCharacter } from '@/types/enum';
2
+ import { GroupType } from '@/types/enum';
3
3
  interface IProps {
4
4
  apiPrefix: string;
5
5
  isInternal?: boolean;
6
6
  reviewDataset?: boolean;
7
7
  search: IDatasetListParam;
8
8
  spaceId?: string;
9
- tabId: EnumCharacter;
9
+ groupType: GroupType;
10
+ tagId: number;
11
+ tagName: string;
10
12
  }
11
- declare const _default: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
+ declare const __VLS_export: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
+ declare const _default: typeof __VLS_export;
12
15
  export default _default;
@@ -1,7 +1,10 @@
1
1
  import { defineComponent as _defineComponent } from 'vue';
2
- import { createVNode as _createVNode, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue";
2
+ import { createVNode as _createVNode, unref as _unref, resolveComponent as _resolveComponent, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, Fragment as _Fragment, createElementBlock as _createElementBlock } from "vue";
3
+ import { ref } from 'vue';
4
+ import RenderHeader from './components/header.vue.js';
3
5
  import RenderMain from './components/main.vue.js';
4
- import RenderHeader from '../render-header/index.vue.js';
6
+ import RenderTagTree from '../render-tag-tree/index.vue.js';
7
+ import { GroupType, Module } from '../../types/enum.ts.js';
5
8
  export default /*@__PURE__*/ _defineComponent({
6
9
  props: {
7
10
  apiPrefix: {},
@@ -12,7 +15,6 @@ export default /*@__PURE__*/ _defineComponent({
12
15
  reviewDataset: {
13
16
  type: Boolean
14
17
  },
15
- tabId: {},
16
18
  namePlaceholder: {},
17
19
  codePlaceholder: {}
18
20
  },
@@ -21,20 +23,92 @@ export default /*@__PURE__*/ _defineComponent({
21
23
  ],
22
24
  setup (__props, { emit: __emit }) {
23
25
  const emits = __emit;
26
+ const groupType = ref(GroupType.All);
27
+ const tagId = ref();
28
+ const tagName = ref('');
24
29
  const handleSuccessPlusDataset = (data)=>{
25
30
  emits('success-plus-dataset', data);
26
31
  };
27
32
  return (_ctx, _cache)=>{
33
+ const _component_bk_resize_layout = _resolveComponent("bk-resize-layout");
28
34
  return _openBlock(), _createElementBlock(_Fragment, null, [
29
35
  _createVNode(RenderHeader, {
30
- title: "全部数据集"
31
- }),
32
- _createVNode(RenderMain, {
36
+ "group-type": groupType.value,
37
+ "onUpdate:groupType": _cache[0] || (_cache[0] = ($event)=>groupType.value = $event),
38
+ "api-prefix": _ctx.apiPrefix,
39
+ "space-id": _ctx.spaceId,
40
+ "is-internal": _ctx.isInternal
41
+ }, null, 8 /* PROPS */ , [
42
+ "group-type",
43
+ "api-prefix",
44
+ "space-id",
45
+ "is-internal"
46
+ ]),
47
+ _ctx.isInternal ? (_openBlock(), _createBlock(_component_bk_resize_layout, {
48
+ key: 0,
49
+ max: 400,
50
+ min: 260,
51
+ collapsible: true,
52
+ border: false,
53
+ "initial-divide": "260px",
54
+ class: "dataset-main",
55
+ immediate: ""
56
+ }, {
57
+ aside: _withCtx(()=>[
58
+ _createVNode(RenderTagTree, {
59
+ "tag-id": tagId.value,
60
+ "onUpdate:tagId": _cache[1] || (_cache[1] = ($event)=>tagId.value = $event),
61
+ "tag-name": tagName.value,
62
+ "onUpdate:tagName": _cache[2] || (_cache[2] = ($event)=>tagName.value = $event),
63
+ "group-type": groupType.value,
64
+ module: _unref(Module).Dataset,
65
+ "sub-module": _unref(Module).Dataset,
66
+ "api-prefix": _ctx.apiPrefix,
67
+ "space-id": _ctx.spaceId
68
+ }, null, 8 /* PROPS */ , [
69
+ "tag-id",
70
+ "tag-name",
71
+ "group-type",
72
+ "module",
73
+ "sub-module",
74
+ "api-prefix",
75
+ "space-id"
76
+ ])
77
+ ]),
78
+ main: _withCtx(()=>[
79
+ _createVNode(RenderMain, {
80
+ "api-prefix": _ctx.apiPrefix,
81
+ "space-id": _ctx.spaceId,
82
+ "is-internal": _ctx.isInternal,
83
+ "review-dataset": _ctx.reviewDataset,
84
+ "group-type": groupType.value,
85
+ "tag-id": tagId.value,
86
+ "tag-name": tagName.value,
87
+ "name-placeholder": _ctx.namePlaceholder,
88
+ "code-placeholder": _ctx.codePlaceholder,
89
+ onSuccessPlusDataset: handleSuccessPlusDataset
90
+ }, null, 8 /* PROPS */ , [
91
+ "api-prefix",
92
+ "space-id",
93
+ "is-internal",
94
+ "review-dataset",
95
+ "group-type",
96
+ "tag-id",
97
+ "tag-name",
98
+ "name-placeholder",
99
+ "code-placeholder"
100
+ ])
101
+ ]),
102
+ _: 1 /* STABLE */
103
+ })) : (_openBlock(), _createBlock(RenderMain, {
104
+ key: 1,
33
105
  "api-prefix": _ctx.apiPrefix,
34
106
  "space-id": _ctx.spaceId,
35
107
  "is-internal": _ctx.isInternal,
36
108
  "review-dataset": _ctx.reviewDataset,
37
- "tab-id": _ctx.tabId,
109
+ "group-type": groupType.value,
110
+ "tag-id": tagId.value,
111
+ "tag-name": tagName.value,
38
112
  "name-placeholder": _ctx.namePlaceholder,
39
113
  "code-placeholder": _ctx.codePlaceholder,
40
114
  onSuccessPlusDataset: handleSuccessPlusDataset
@@ -43,10 +117,12 @@ export default /*@__PURE__*/ _defineComponent({
43
117
  "space-id",
44
118
  "is-internal",
45
119
  "review-dataset",
46
- "tab-id",
120
+ "group-type",
121
+ "tag-id",
122
+ "tag-name",
47
123
  "name-placeholder",
48
124
  "code-placeholder"
49
- ])
125
+ ]))
50
126
  ], 64 /* STABLE_FRAGMENT */ );
51
127
  };
52
128
  }
@@ -0,0 +1,5 @@
1
+
2
+ .dataset-main[data-v-d289kf41] {
3
+ height: calc(100% - 90px);
4
+ margin-top: 2px;
5
+ }
@@ -1,17 +1,16 @@
1
1
  import type { IDataset } from '@/types/dataset';
2
- import { EnumCharacter } from '@/types/enum';
3
2
  interface IProps {
4
3
  apiPrefix: string;
5
4
  spaceId?: string;
6
5
  isInternal?: boolean;
7
6
  reviewDataset?: boolean;
8
- tabId: EnumCharacter;
9
7
  namePlaceholder?: string;
10
8
  codePlaceholder?: string;
11
9
  }
12
- declare const _default: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
10
+ declare const __VLS_export: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
13
11
  "success-plus-dataset": (data: IDataset) => any;
14
12
  }, string, import("vue").PublicProps, Readonly<IProps> & Readonly<{
15
13
  "onSuccess-plus-dataset"?: (data: IDataset) => any;
16
14
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
+ declare const _default: typeof __VLS_export;
17
16
  export default _default;
@@ -1,3 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
+ script.__scopeId = "data-v-d289kf41";
2
3
  script.__file = "./src/components/render-dataset-list/index.vue";
4
+ import './index.vue.css';
3
5
  export default script;
@@ -1,21 +1,21 @@
1
1
 
2
- .upload-file-home[data-v-yaw2b6xu] {
2
+ .upload-file-home[data-v-wv4jnayh] {
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-yaw2b6xu]:hover {
9
+ .upload-file-home[data-v-wv4jnayh]:hover {
10
10
  border: 1px solid #3A84FF;
11
11
  }
12
- .upload-file-home:hover .file-icons[data-v-yaw2b6xu] {
12
+ .upload-file-home:hover .file-icons[data-v-wv4jnayh] {
13
13
  display: flex;
14
14
  }
15
- .upload-file-home .file-icon[data-v-yaw2b6xu] {
15
+ .upload-file-home .file-icon[data-v-wv4jnayh] {
16
16
  font-size: 32px;
17
17
  }
18
- .upload-file-home .file-content[data-v-yaw2b6xu] {
18
+ .upload-file-home .file-content[data-v-wv4jnayh] {
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-yaw2b6xu] {
26
+ .upload-file-home .file-content .file-name[data-v-wv4jnayh] {
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-yaw2b6xu] {
31
+ .upload-file-home .file-content .file-size[data-v-wv4jnayh] {
32
32
  font-size: 12px;
33
33
  color: #979BA5;
34
34
  line-height: 20px;
35
35
  }
36
- .upload-file-home .file-icons[data-v-yaw2b6xu] {
36
+ .upload-file-home .file-icons[data-v-wv4jnayh] {
37
37
  display: none;
38
38
  color: #979BA5;
39
39
  }
40
- .upload-file-home .file-icons .bkaidev-icon[data-v-yaw2b6xu] {
40
+ .upload-file-home .file-icons .bkaidev-icon[data-v-wv4jnayh] {
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-yaw2b6xu]:hover {
45
+ .upload-file-home .file-icons .bkaidev-icon[data-v-wv4jnayh]:hover {
46
46
  color: #3A84FF;
47
47
  }
48
- .upload-file-home .file-icons .bkaidev-delete[data-v-yaw2b6xu] {
48
+ .upload-file-home .file-icons .bkaidev-delete[data-v-wv4jnayh] {
49
49
  margin: 0;
50
50
  }
@@ -1,11 +1,11 @@
1
1
  import type { IFileInfo } from '@/types/file';
2
- declare const _default: <T extends IFileInfo>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3
- props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
4
- readonly onDelete?: (file: T) => any;
5
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onDelete"> & {
2
+ declare const __VLS_export: <T extends IFileInfo>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3
+ props: __VLS_PrettifyLocal<{
6
4
  file: T;
7
- } & Partial<{}>> & import("vue").PublicProps;
8
- expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
5
+ } & {
6
+ onDelete?: (file: T) => any;
7
+ }> & import("vue").PublicProps;
8
+ expose: (exposed: {}) => void;
9
9
  attrs: any;
10
10
  slots: {
11
11
  tool?: (props: {}) => any;
@@ -14,7 +14,8 @@ declare const _default: <T extends IFileInfo>(__VLS_props: NonNullable<Awaited<t
14
14
  }>) => import("vue").VNode & {
15
15
  __ctx?: Awaited<typeof __VLS_setup>;
16
16
  };
17
+ declare const _default: typeof __VLS_export;
17
18
  export default _default;
18
19
  type __VLS_PrettifyLocal<T> = {
19
- [K in keyof T]: T[K];
20
+ [K in keyof T as K]: T[K];
20
21
  } & {};
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-yaw2b6xu";
2
+ script.__scopeId = "data-v-wv4jnayh";
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-22dcvyem] {
2
+ .ai-ui-sdk-icon.ai-ui-sdk-pdf[data-v-i11j3mq2] {
3
3
  color: #EA3636;
4
4
  }
5
- .ai-ui-sdk-icon.ai-ui-sdk-doc-2[data-v-22dcvyem], .ai-ui-sdk-icon.ai-ui-sdk-ppt-2[data-v-22dcvyem], .ai-ui-sdk-icon.ai-ui-sdk-markdown[data-v-22dcvyem] {
5
+ .ai-ui-sdk-icon.ai-ui-sdk-doc-2[data-v-i11j3mq2], .ai-ui-sdk-icon.ai-ui-sdk-ppt-2[data-v-i11j3mq2], .ai-ui-sdk-icon.ai-ui-sdk-markdown[data-v-i11j3mq2] {
6
6
  color: #3A84FF;
7
7
  }
8
- .ai-ui-sdk-icon.ai-ui-sdk-folder-fill[data-v-22dcvyem] {
8
+ .ai-ui-sdk-icon.ai-ui-sdk-folder-fill[data-v-i11j3mq2] {
9
9
  color: #C4C6CC;
10
10
  }
11
- .ai-ui-sdk-icon.ai-ui-sdk-excel[data-v-22dcvyem] {
11
+ .ai-ui-sdk-icon.ai-ui-sdk-excel[data-v-i11j3mq2] {
12
12
  color: #2DCB56;
13
13
  }
14
- .ai-ui-sdk-icon.ai-ui-sdk-wangye[data-v-22dcvyem] {
14
+ .ai-ui-sdk-icon.ai-ui-sdk-wangye[data-v-i11j3mq2] {
15
15
  color: #14A568;
16
16
  }
@@ -1,5 +1,6 @@
1
1
  type __VLS_Props = {
2
2
  type: string;
3
3
  };
4
- declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
4
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
5
+ declare const _default: typeof __VLS_export;
5
6
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-22dcvyem";
2
+ script.__scopeId = "data-v-i11j3mq2";
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
  import { defineComponent as _defineComponent } from 'vue';
2
- import { renderSlot as _renderSlot, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, normalizeClass as _normalizeClass, createCommentVNode as _createCommentVNode } from "vue";
2
+ import { renderSlot as _renderSlot, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, normalizeClass as _normalizeClass, createCommentVNode as _createCommentVNode } from "vue";
3
3
  const _hoisted_1 = {
4
4
  class: "header-home g-pl-24"
5
5
  };
@@ -17,6 +17,9 @@ export default /*@__PURE__*/ _defineComponent({
17
17
  props: {
18
18
  title: {},
19
19
  groupType: {},
20
+ loading: {
21
+ type: Boolean
22
+ },
20
23
  tabs: {}
21
24
  },
22
25
  emits: [
@@ -30,6 +33,7 @@ export default /*@__PURE__*/ _defineComponent({
30
33
  };
31
34
  return (_ctx, _cache)=>{
32
35
  var _props_tabs;
36
+ const _component_bk_loading = _resolveComponent("bk-loading");
33
37
  return _openBlock(), _createElementBlock("section", _hoisted_1, [
34
38
  _renderSlot(_ctx.$slots, "title", {}, ()=>[
35
39
  _createElementVNode("section", _hoisted_2, _toDisplayString(props.title), 1 /* TEXT */ )
@@ -39,11 +43,27 @@ export default /*@__PURE__*/ _defineComponent({
39
43
  return _openBlock(), _createElementBlock("li", {
40
44
  key: tab.id,
41
45
  class: _normalizeClass({
42
- 'render-tab g-pl-8 g-pr-8 g-pb-8 g-learning-22 g-mr-24 g-text-14 g-cursor-pointer': true,
46
+ 'render-tab g-flex-row g-pl-8 g-pr-8 g-pb-8 g-learning-22 g-mr-24 g-text-14 g-cursor-pointer': true,
43
47
  active: props.groupType === tab.id
44
48
  }),
45
49
  onClick: ($event)=>handleChoose(tab.id)
46
- }, _toDisplayString(tab.name) + "(" + _toDisplayString(tab.number) + ") ", 11 /* TEXT, CLASS, PROPS */ , _hoisted_4);
50
+ }, [
51
+ _createTextVNode(_toDisplayString(tab.name) + " ", 1 /* TEXT */ ),
52
+ _createVNode(_component_bk_loading, {
53
+ class: "g-number-font",
54
+ mode: "spin",
55
+ size: "mini",
56
+ theme: "primary",
57
+ loading: props.loading
58
+ }, {
59
+ default: _withCtx(()=>[
60
+ _createTextVNode(" (" + _toDisplayString(tab.number) + ") ", 1 /* TEXT */ )
61
+ ]),
62
+ _: 2 /* DYNAMIC */
63
+ }, 1032 /* PROPS, DYNAMIC_SLOTS */ , [
64
+ "loading"
65
+ ])
66
+ ], 10 /* CLASS, PROPS */ , _hoisted_4);
47
67
  }), 128 /* KEYED_FRAGMENT */ ))
48
68
  ])) : _createCommentVNode("v-if", true)
49
69
  ]);
@@ -1,13 +1,13 @@
1
1
 
2
- .header-home[data-v-t4ltchtq] {
2
+ .header-home[data-v-e99pgxak] {
3
3
  width: 100%;
4
4
  background: #FFFFFF;
5
5
  box-shadow: 0 3px 4px 0 #0000000a;
6
6
  }
7
- .render-tab[data-v-t4ltchtq] {
7
+ .render-tab[data-v-e99pgxak] {
8
8
  border-bottom: 2px solid transparent;
9
9
  }
10
- .render-tab.active[data-v-t4ltchtq] {
10
+ .render-tab.active[data-v-e99pgxak] {
11
11
  color: #3A84FF;
12
12
  border-bottom: 2px solid #3A84FF;
13
13
  }
@@ -2,6 +2,7 @@ import type { GroupType } from '@/types/enum';
2
2
  interface IProps {
3
3
  title?: string;
4
4
  groupType?: GroupType;
5
+ loading?: boolean;
5
6
  tabs?: {
6
7
  id: GroupType;
7
8
  name: string;
@@ -12,12 +13,13 @@ declare var __VLS_1: {};
12
13
  type __VLS_Slots = {} & {
13
14
  title?: (props: typeof __VLS_1) => any;
14
15
  };
15
- declare const __VLS_component: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
16
+ declare const __VLS_base: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
16
17
  "update:groupType": (val: GroupType) => any;
17
18
  }, string, import("vue").PublicProps, Readonly<IProps> & Readonly<{
18
19
  "onUpdate:groupType"?: (val: GroupType) => any;
19
20
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
20
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
21
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
22
+ declare const _default: typeof __VLS_export;
21
23
  export default _default;
22
24
  type __VLS_WithSlots<T, S> = T & {
23
25
  new (): {
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-t4ltchtq";
2
+ script.__scopeId = "data-v-e99pgxak";
3
3
  script.__file = "./src/components/render-header/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,19 +1,19 @@
1
1
 
2
- .dislike-icon[data-v-y4pikz1x] {
2
+ .dislike-icon[data-v-cgj7h30w] {
3
3
  transform: rotateX(180deg);
4
4
  }
5
- .option-items[data-v-y4pikz1x] {
5
+ .option-items[data-v-cgj7h30w] {
6
6
  padding: 1px 8px;
7
7
  background-color: #F0F1F5;
8
8
  border-radius: 2px;
9
9
  }
10
- .option-items[data-v-y4pikz1x]:hover {
10
+ .option-items[data-v-cgj7h30w]:hover {
11
11
  background-color: #E1ECFF;
12
12
  color: #3A84FF;
13
13
  }
14
- .option-items-selected[data-v-y4pikz1x]{
14
+ .option-items-selected[data-v-cgj7h30w]{
15
15
  background-color: #E1ECFF;
16
16
  }
17
- [data-v-y4pikz1x] .bk-form-item {
17
+ [data-v-cgj7h30w] .bk-form-item {
18
18
  margin-bottom: 17px;
19
19
  }
@@ -10,18 +10,19 @@ interface IProps {
10
10
  popoverOptions?: Record<string, unknown>;
11
11
  tooltipOptions?: Record<string, unknown>;
12
12
  }
13
- declare var __VLS_6: {}, __VLS_8: {};
13
+ declare var __VLS_7: {}, __VLS_9: {};
14
14
  type __VLS_Slots = {} & {
15
- like?: (props: typeof __VLS_6) => any;
15
+ like?: (props: typeof __VLS_7) => any;
16
16
  } & {
17
- dislike?: (props: typeof __VLS_8) => any;
17
+ dislike?: (props: typeof __VLS_9) => any;
18
18
  };
19
- declare const __VLS_component: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
19
+ declare const __VLS_base: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
20
20
  "update-session-content-list": (data: ISessionFeedback) => any;
21
21
  }, string, import("vue").PublicProps, Readonly<IProps> & Readonly<{
22
22
  "onUpdate-session-content-list"?: (data: ISessionFeedback) => any;
23
23
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
24
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
24
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
25
+ declare const _default: typeof __VLS_export;
25
26
  export default _default;
26
27
  type __VLS_WithSlots<T, S> = T & {
27
28
  new (): {
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-y4pikz1x";
2
+ script.__scopeId = "data-v-cgj7h30w";
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-8p5r8gd5] {
2
+ .router-tab[data-v-45h4ihb9] {
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-8p5r8gd5] {
9
+ .router-tab a[data-v-45h4ihb9] {
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-8p5r8gd5] {
18
+ .router-tab a.router-link-exact-active[data-v-45h4ihb9] {
19
19
  color: #3A84FF;
20
20
  border-bottom: 2px solid #3A84FF;
21
21
  }
@@ -4,5 +4,6 @@ interface IProps {
4
4
  name: string;
5
5
  }>;
6
6
  }
7
- declare const _default: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
+ declare const __VLS_export: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
8
+ declare const _default: typeof __VLS_export;
8
9
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-8p5r8gd5";
2
+ script.__scopeId = "data-v-45h4ihb9";
3
3
  script.__file = "./src/components/render-router-tab/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,8 +1,6 @@
1
1
  import type { ISearchSelectItem } from '@/types/common';
2
- declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3
- props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
4
- readonly "onUpdate:modelValue"?: (value: T) => any;
5
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue"> & {
2
+ declare const __VLS_export: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3
+ props: __VLS_PrettifyLocal<{
6
4
  data: ISearchSelectItem[];
7
5
  modelValue: T;
8
6
  placeholder?: string;
@@ -14,15 +12,18 @@ declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>
14
12
  id: number;
15
13
  }[]) => Promise<boolean | string> | boolean | string;
16
14
  getMenuList?: Function;
17
- } & Partial<{}>> & import("vue").PublicProps;
18
- expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
15
+ } & {
16
+ "onUpdate:modelValue"?: (value: T) => any;
17
+ }> & import("vue").PublicProps;
18
+ expose: (exposed: {}) => void;
19
19
  attrs: any;
20
20
  slots: {};
21
21
  emit: (event: "update:modelValue", value: T) => void;
22
22
  }>) => import("vue").VNode & {
23
23
  __ctx?: Awaited<typeof __VLS_setup>;
24
24
  };
25
+ declare const _default: typeof __VLS_export;
25
26
  export default _default;
26
27
  type __VLS_PrettifyLocal<T> = {
27
- [K in keyof T]: T[K];
28
+ [K in keyof T as K]: T[K];
28
29
  } & {};