@blueking/ai-ui-sdk 0.2.0-beta.8 → 0.2.1

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 (90) 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.script.vue.js.js +12 -6
  6. package/dist/components/render-checkbox/index.vue.css +9 -9
  7. package/dist/components/render-checkbox/index.vue.d.ts +3 -0
  8. package/dist/components/render-checkbox/index.vue.js +1 -1
  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/batch-delete-dataset-data/index.vue.css +3 -3
  14. package/dist/components/render-dataset/components/batch-delete-dataset-data/index.vue.js +1 -1
  15. package/dist/components/render-dataset/components/batch-edit-valid-dataset-data/index.vue.css +1 -1
  16. package/dist/components/render-dataset/components/batch-edit-valid-dataset-data/index.vue.js +1 -1
  17. package/dist/components/render-dataset/components/dataset-data-tool-icons/index.script.vue.js +1 -1
  18. package/dist/components/render-dataset/components/dataset-data-valid/index.vue.css +1 -1
  19. package/dist/components/render-dataset/components/dataset-data-valid/index.vue.js +1 -1
  20. package/dist/components/render-dataset/components/edit-dataset-data/index.vue.css +3 -3
  21. package/dist/components/render-dataset/components/edit-dataset-data/index.vue.js +1 -1
  22. package/dist/components/render-dataset/components/operation-record/index.vue.css +4 -4
  23. package/dist/components/render-dataset/components/operation-record/index.vue.js +1 -1
  24. package/dist/components/render-dataset/components/operation-record/table/index.script.vue.js +4 -1
  25. package/dist/components/render-dataset/components/operation-record/table/index.vue.css +1 -1
  26. package/dist/components/render-dataset/components/operation-record/table/index.vue.js +1 -1
  27. package/dist/components/render-dataset/components/operation-record/view-op-result/index.vue.css +2 -2
  28. package/dist/components/render-dataset/components/operation-record/view-op-result/index.vue.js +1 -1
  29. package/dist/components/render-dataset/components/plus-dataset/index.vue.css +2 -2
  30. package/dist/components/render-dataset/components/plus-dataset/index.vue.js +1 -1
  31. package/dist/components/render-dataset/components/plus-dataset-data/form/api.vue.css +2 -2
  32. package/dist/components/render-dataset/components/plus-dataset-data/form/api.vue.js +1 -1
  33. package/dist/components/render-dataset/components/plus-dataset-data/form/footer.vue.css +1 -1
  34. package/dist/components/render-dataset/components/plus-dataset-data/form/footer.vue.js +1 -1
  35. package/dist/components/render-dataset/components/plus-dataset-data/form/index.vue.css +2 -2
  36. package/dist/components/render-dataset/components/plus-dataset-data/form/index.vue.js +1 -1
  37. package/dist/components/render-dataset/components/review-dataset-data/index.vue.css +10 -10
  38. package/dist/components/render-dataset/components/review-dataset-data/index.vue.js +1 -1
  39. package/dist/components/render-dataset/components/search-dataset/index.script.vue.js.js +3 -2
  40. package/dist/components/render-dataset/components/search-dataset/index.vue.d.ts +1 -0
  41. package/dist/components/render-dataset-detail-origin-data/components/table/index.script.vue.js +8 -2
  42. package/dist/components/render-dataset-detail-origin-data/index.vue.css +3 -3
  43. package/dist/components/render-dataset-detail-origin-data/index.vue.js +1 -1
  44. package/dist/components/render-dataset-list/components/main.script.vue.js.js +5 -2
  45. package/dist/components/render-dataset-list/components/main.vue.css +3 -3
  46. package/dist/components/render-dataset-list/components/main.vue.d.ts +1 -0
  47. package/dist/components/render-dataset-list/components/main.vue.js +1 -1
  48. package/dist/components/render-dataset-list/components/table.script.vue.js +4 -1
  49. package/dist/components/render-dataset-list/index.script.vue.js.js +5 -2
  50. package/dist/components/render-dataset-list/index.vue.css +2 -2
  51. package/dist/components/render-dataset-list/index.vue.d.ts +1 -0
  52. package/dist/components/render-dataset-list/index.vue.js +1 -1
  53. package/dist/components/render-file-card/index.vue.css +11 -11
  54. package/dist/components/render-file-card/index.vue.js +1 -1
  55. package/dist/components/render-file-type-icon/index.vue.css +5 -5
  56. package/dist/components/render-file-type-icon/index.vue.js +1 -1
  57. package/dist/components/render-header/index.vue.css +3 -3
  58. package/dist/components/render-header/index.vue.js +1 -1
  59. package/dist/components/render-like/index.vue.css +5 -5
  60. package/dist/components/render-like/index.vue.js +1 -1
  61. package/dist/components/render-router-tab/index.vue.css +3 -3
  62. package/dist/components/render-router-tab/index.vue.js +1 -1
  63. package/dist/components/render-t-table/index.vue.css +27 -27
  64. package/dist/components/render-t-table/index.vue.js +1 -1
  65. package/dist/components/render-tag-tree/index.vue.css +7 -7
  66. package/dist/components/render-tag-tree/index.vue.js +1 -1
  67. package/dist/components/render-tree/index.script.vue.js +2 -1
  68. package/dist/css/fonts/iconcool.eot +0 -0
  69. package/dist/css/fonts/iconcool.svg +1 -4
  70. package/dist/css/fonts/iconcool.ttf +0 -0
  71. package/dist/css/fonts/iconcool.woff +0 -0
  72. package/dist/css/iconcool.js +1 -1
  73. package/dist/css/style.css +1 -4
  74. package/dist/css/tailwind.css +15 -3
  75. package/dist/hooks/use-chat.d.ts +2 -0
  76. package/dist/hooks/use-display-name.d.ts +3 -0
  77. package/dist/hooks/use-display-name.ts.js +14 -0
  78. package/dist/hooks/use-ellipsis-tooltip.ts.js +6 -2
  79. package/dist/hooks/use-member-http.d.ts +2 -1
  80. package/dist/hooks/use-member-http.ts.js +27 -23
  81. package/dist/hooks.d.ts +1 -0
  82. package/dist/hooks.ts.js +1 -0
  83. package/dist/http/fetch/index.d.ts +2 -0
  84. package/dist/http/fetch/index.ts.js +4 -2
  85. package/dist/http/fetch/success-interceptor.ts.js +5 -1
  86. package/dist/http/helper/tool.ts.js +2 -1
  87. package/dist/types/enum.d.ts +1 -0
  88. package/dist/types/enum.ts.js +1 -0
  89. package/dist/types/tool.d.ts +2 -0
  90. package/package.json +2 -1
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-vfdl80jp";
2
+ script.__scopeId = "data-v-839zucw8";
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;
@@ -43,7 +43,8 @@ export default /*@__PURE__*/ _defineComponent({
43
43
  isInternal: {
44
44
  type: Boolean
45
45
  },
46
- memberUrl: {}
46
+ memberUrl: {},
47
+ tenantId: {}
47
48
  },
48
49
  emits: [
49
50
  "update:modelValue"
@@ -132,7 +133,7 @@ export default /*@__PURE__*/ _defineComponent({
132
133
  return handleGetSchemaList(search);
133
134
  }
134
135
  if (data.id === 'updatedBy' && props.isInternal) {
135
- return getMemberList(props.memberUrl, search);
136
+ return getMemberList(props.memberUrl, props.tenantId, search);
136
137
  }
137
138
  });
138
139
  return function handleGetMenuList(data, search) {
@@ -5,6 +5,7 @@ interface IProps {
5
5
  spaceId?: string;
6
6
  isInternal?: boolean;
7
7
  memberUrl?: string;
8
+ tenantId?: string;
8
9
  }
9
10
  declare const __VLS_export: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
10
11
  "update:modelValue": (modelValue: IDatasetListParam) => any;
@@ -195,7 +195,10 @@ export default /*@__PURE__*/ _defineComponent({
195
195
  {
196
196
  colKey: 'updatedBy',
197
197
  ellipsis: true,
198
- title: '更新人'
198
+ title: '更新人',
199
+ cell: (h, { row })=>_createVNode2(_resolveComponent("bk-user-display-name"), {
200
+ "user-id": row.updatedBy
201
+ }, null)
199
202
  },
200
203
  {
201
204
  colKey: 'createdAt',
@@ -209,7 +212,10 @@ export default /*@__PURE__*/ _defineComponent({
209
212
  colKey: 'createdBy',
210
213
  ellipsis: true,
211
214
  title: '创建人',
212
- sortKey: 'created_at'
215
+ sortKey: 'created_at',
216
+ cell: (h, { row })=>_createVNode2(_resolveComponent("bk-user-display-name"), {
217
+ "user-id": row.createdBy
218
+ }, null)
213
219
  },
214
220
  {
215
221
  colKey: 'operations',
@@ -1,15 +1,15 @@
1
1
 
2
- .origin-data-content[data-v-g31hgyo0] {
2
+ .origin-data-content[data-v-4supwl3g] {
3
3
  padding: 24px;
4
4
  height: calc(100% - 52px - 44px);
5
5
  }
6
- .origin-data-panel[data-v-g31hgyo0] {
6
+ .origin-data-panel[data-v-4supwl3g] {
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-g31hgyo0] {
13
+ .origin-data-panel .toolbar-search[data-v-4supwl3g] {
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-g31hgyo0";
2
+ script.__scopeId = "data-v-4supwl3g";
3
3
  script.__file = "./src/components/render-dataset-detail-origin-data/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -32,7 +32,8 @@ export default /*@__PURE__*/ _defineComponent({
32
32
  tagName: {},
33
33
  namePlaceholder: {},
34
34
  codePlaceholder: {},
35
- memberUrl: {}
35
+ memberUrl: {},
36
+ tenantId: {}
36
37
  },
37
38
  emits: [
38
39
  "success-create",
@@ -99,13 +100,15 @@ export default /*@__PURE__*/ _defineComponent({
99
100
  "space-id": _ctx.spaceId,
100
101
  "is-internal": _ctx.isInternal,
101
102
  "member-url": _ctx.memberUrl,
103
+ "tenant-id": _ctx.tenantId,
102
104
  class: "main-search"
103
105
  }, null, 8 /* PROPS */ , [
104
106
  "modelValue",
105
107
  "api-prefix",
106
108
  "space-id",
107
109
  "is-internal",
108
- "member-url"
110
+ "member-url",
111
+ "tenant-id"
109
112
  ])
110
113
  ]),
111
114
  _createVNode(RenderTable, {
@@ -1,15 +1,15 @@
1
1
 
2
- .main-content[data-v-qkdhz2t4] {
2
+ .main-content[data-v-ehyb8l9e] {
3
3
  padding: 20px 24px;
4
4
  height: 100%;
5
5
  }
6
- .main-panel[data-v-qkdhz2t4] {
6
+ .main-panel[data-v-ehyb8l9e] {
7
7
  height: 100%;
8
8
  padding: 20px 24px 24px;
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-qkdhz2t4] {
13
+ .main-search[data-v-ehyb8l9e] {
14
14
  width: 6.17rem;
15
15
  }
@@ -10,6 +10,7 @@ interface IProps {
10
10
  namePlaceholder?: string;
11
11
  codePlaceholder?: string;
12
12
  memberUrl?: string;
13
+ tenantId?: string;
13
14
  }
14
15
  interface IExpose {
15
16
  handleGetDatasetList: () => void;
@@ -1,5 +1,5 @@
1
1
  import script from './main.script.vue.js.js';
2
- script.__scopeId = "data-v-qkdhz2t4";
2
+ script.__scopeId = "data-v-ehyb8l9e";
3
3
  script.__file = "./src/components/render-dataset-list/components/main.vue";
4
4
  import './main.vue.css';
5
5
  export default script;
@@ -135,7 +135,10 @@ export default /*@__PURE__*/ _defineComponent({
135
135
  {
136
136
  colKey: 'createdBy',
137
137
  title: '创建人',
138
- ellipsis: true
138
+ ellipsis: true,
139
+ cell: (h, { row })=>_createVNode2(_resolveComponent("bk-user-display-name"), {
140
+ "user-id": row.createdBy
141
+ }, null)
139
142
  },
140
143
  {
141
144
  colKey: 'createdAt',
@@ -17,7 +17,8 @@ export default /*@__PURE__*/ _defineComponent({
17
17
  },
18
18
  namePlaceholder: {},
19
19
  codePlaceholder: {},
20
- memberUrl: {}
20
+ memberUrl: {},
21
+ tenantId: {}
21
22
  },
22
23
  setup (__props) {
23
24
  const groupType = ref(GroupType.All);
@@ -96,6 +97,7 @@ export default /*@__PURE__*/ _defineComponent({
96
97
  "name-placeholder": _ctx.namePlaceholder,
97
98
  "code-placeholder": _ctx.codePlaceholder,
98
99
  "member-url": _ctx.memberUrl,
100
+ "tenant-id": _ctx.tenantId,
99
101
  ref_key: "mainRef",
100
102
  ref: mainRef,
101
103
  onSuccessCreate: handleUpdateAll,
@@ -111,7 +113,8 @@ export default /*@__PURE__*/ _defineComponent({
111
113
  "tag-name",
112
114
  "name-placeholder",
113
115
  "code-placeholder",
114
- "member-url"
116
+ "member-url",
117
+ "tenant-id"
115
118
  ])
116
119
  ]),
117
120
  _: 1 /* STABLE */
@@ -1,8 +1,8 @@
1
1
 
2
- .dataset-main[data-v-0fgyu7ra] {
2
+ .dataset-main[data-v-7tu9l04x] {
3
3
  height: calc(100% - 90px);
4
4
  margin-top: 2px;
5
5
  }
6
- [data-v-0fgyu7ra] .dataset-main>.bk-resize-layout-main {
6
+ [data-v-7tu9l04x] .dataset-main>.bk-resize-layout-main {
7
7
  width: 0;
8
8
  }
@@ -6,6 +6,7 @@ interface IProps {
6
6
  namePlaceholder?: string;
7
7
  codePlaceholder?: string;
8
8
  memberUrl?: string;
9
+ tenantId?: string;
9
10
  }
10
11
  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>;
11
12
  declare const _default: typeof __VLS_export;
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-0fgyu7ra";
2
+ script.__scopeId = "data-v-7tu9l04x";
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-9tdio4aa] {
2
+ .upload-file-home[data-v-uwdiwjsm] {
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-9tdio4aa]:hover {
9
+ .upload-file-home[data-v-uwdiwjsm]:hover {
10
10
  border: 1px solid #3A84FF;
11
11
  }
12
- .upload-file-home:hover .file-icons[data-v-9tdio4aa] {
12
+ .upload-file-home:hover .file-icons[data-v-uwdiwjsm] {
13
13
  display: flex;
14
14
  }
15
- .upload-file-home .file-icon[data-v-9tdio4aa] {
15
+ .upload-file-home .file-icon[data-v-uwdiwjsm] {
16
16
  font-size: 32px;
17
17
  }
18
- .upload-file-home .file-content[data-v-9tdio4aa] {
18
+ .upload-file-home .file-content[data-v-uwdiwjsm] {
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-9tdio4aa] {
26
+ .upload-file-home .file-content .file-name[data-v-uwdiwjsm] {
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-9tdio4aa] {
31
+ .upload-file-home .file-content .file-size[data-v-uwdiwjsm] {
32
32
  font-size: 12px;
33
33
  color: #979BA5;
34
34
  line-height: 20px;
35
35
  }
36
- .upload-file-home .file-icons[data-v-9tdio4aa] {
36
+ .upload-file-home .file-icons[data-v-uwdiwjsm] {
37
37
  display: none;
38
38
  color: #979BA5;
39
39
  }
40
- .upload-file-home .file-icons .bkaidev-icon[data-v-9tdio4aa] {
40
+ .upload-file-home .file-icons .bkaidev-icon[data-v-uwdiwjsm] {
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-9tdio4aa]:hover {
45
+ .upload-file-home .file-icons .bkaidev-icon[data-v-uwdiwjsm]:hover {
46
46
  color: #3A84FF;
47
47
  }
48
- .upload-file-home .file-icons .bkaidev-delete[data-v-9tdio4aa] {
48
+ .upload-file-home .file-icons .bkaidev-delete[data-v-uwdiwjsm] {
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-9tdio4aa";
2
+ script.__scopeId = "data-v-uwdiwjsm";
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-vswut1qh] {
2
+ .ai-ui-sdk-icon.ai-ui-sdk-pdf[data-v-8mgbe6ch] {
3
3
  color: #EA3636;
4
4
  }
5
- .ai-ui-sdk-icon.ai-ui-sdk-doc-2[data-v-vswut1qh], .ai-ui-sdk-icon.ai-ui-sdk-ppt-2[data-v-vswut1qh], .ai-ui-sdk-icon.ai-ui-sdk-markdown[data-v-vswut1qh] {
5
+ .ai-ui-sdk-icon.ai-ui-sdk-doc-2[data-v-8mgbe6ch], .ai-ui-sdk-icon.ai-ui-sdk-ppt-2[data-v-8mgbe6ch], .ai-ui-sdk-icon.ai-ui-sdk-markdown[data-v-8mgbe6ch] {
6
6
  color: #3A84FF;
7
7
  }
8
- .ai-ui-sdk-icon.ai-ui-sdk-folder-fill[data-v-vswut1qh] {
8
+ .ai-ui-sdk-icon.ai-ui-sdk-folder-fill[data-v-8mgbe6ch] {
9
9
  color: #C4C6CC;
10
10
  }
11
- .ai-ui-sdk-icon.ai-ui-sdk-excel[data-v-vswut1qh] {
11
+ .ai-ui-sdk-icon.ai-ui-sdk-excel[data-v-8mgbe6ch] {
12
12
  color: #2DCB56;
13
13
  }
14
- .ai-ui-sdk-icon.ai-ui-sdk-wangye[data-v-vswut1qh] {
14
+ .ai-ui-sdk-icon.ai-ui-sdk-wangye[data-v-8mgbe6ch] {
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-vswut1qh";
2
+ script.__scopeId = "data-v-8mgbe6ch";
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-nmzxpyg7] {
2
+ .header-home[data-v-90ax7uy5] {
3
3
  width: 100%;
4
4
  background: #FFFFFF;
5
5
  box-shadow: 0 3px 4px 0 #0000000a;
6
6
  }
7
- .render-tab[data-v-nmzxpyg7] {
7
+ .render-tab[data-v-90ax7uy5] {
8
8
  border-bottom: 2px solid transparent;
9
9
  }
10
- .render-tab.active[data-v-nmzxpyg7] {
10
+ .render-tab.active[data-v-90ax7uy5] {
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-nmzxpyg7";
2
+ script.__scopeId = "data-v-90ax7uy5";
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-bp407trg] {
2
+ .dislike-icon[data-v-n164zu9i] {
3
3
  transform: rotateX(180deg);
4
4
  }
5
- .option-items[data-v-bp407trg] {
5
+ .option-items[data-v-n164zu9i] {
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-bp407trg]:hover {
11
+ .option-items[data-v-n164zu9i]:hover {
12
12
  background-color: #E1ECFF;
13
13
  color: #3A84FF;
14
14
  }
15
- .option-items-selected[data-v-bp407trg]{
15
+ .option-items-selected[data-v-n164zu9i]{
16
16
  background-color: #E1ECFF;
17
17
  }
18
- [data-v-bp407trg] .bk-form-item {
18
+ [data-v-n164zu9i] .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-bp407trg";
2
+ script.__scopeId = "data-v-n164zu9i";
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-dlwy36j2] {
2
+ .router-tab[data-v-5zyves6i] {
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 24px;
8
8
  }
9
- .router-tab a[data-v-dlwy36j2] {
9
+ .router-tab a[data-v-5zyves6i] {
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-dlwy36j2] {
18
+ .router-tab a.router-link-exact-active[data-v-5zyves6i] {
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-dlwy36j2";
2
+ script.__scopeId = "data-v-5zyves6i";
3
3
  script.__file = "./src/components/render-router-tab/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,12 +1,12 @@
1
1
 
2
- .t-t-pagination[data-v-4w7irnx2] {
2
+ .t-t-pagination[data-v-pku8y4zo] {
3
3
  position: relative;
4
4
  padding: 16px 16px 0 16px;
5
5
  }
6
- .t-t-pagination[data-v-4w7irnx2] .bk-pagination-list.is-last {
6
+ .t-t-pagination[data-v-pku8y4zo] .bk-pagination-list.is-last {
7
7
  margin-left: auto;
8
8
  }
9
- .pagination-loading[data-v-4w7irnx2]::after {
9
+ .pagination-loading[data-v-pku8y4zo]::after {
10
10
  content: '';
11
11
  position: absolute;
12
12
  top: 0;
@@ -16,93 +16,93 @@
16
16
  background-color: rgba(255, 255, 255, 0.6);
17
17
  z-index: 72;
18
18
  }
19
- .pagination-border[data-v-4w7irnx2] {
19
+ .pagination-border[data-v-pku8y4zo] {
20
20
  border-right: 1px solid #dcdee5;
21
21
  border-left: 1px solid #dcdee5;
22
22
  border-bottom: 1px solid #dcdee5;
23
23
  padding-bottom: 16px;
24
24
  }
25
- .t-t-table[data-v-4w7irnx2] {
25
+ .t-t-table[data-v-pku8y4zo] {
26
26
  display: inline;
27
27
  font-size: 12px;
28
28
  }
29
- .t-t-table[data-v-4w7irnx2] .t-table__th-cell-inner {
29
+ .t-t-table[data-v-pku8y4zo] .t-table__th-cell-inner {
30
30
  color: #313238;
31
31
  }
32
- .t-t-table[data-v-4w7irnx2] th {
32
+ .t-t-table[data-v-pku8y4zo] th {
33
33
  padding: 0 16px;
34
34
  height: 42px;
35
35
  background-color: #FAFBFD !important;
36
36
  }
37
- .t-t-table[data-v-4w7irnx2] .t-table__body tr {
37
+ .t-t-table[data-v-pku8y4zo] .t-table__body tr {
38
38
  color: #63656e;
39
39
  font-size: 12px;
40
40
  }
41
- .t-t-table[data-v-4w7irnx2] .t-table__body tr td {
41
+ .t-t-table[data-v-pku8y4zo] .t-table__body tr td {
42
42
  padding: 0 16px;
43
43
  height: 40px;
44
44
  background-color: #fff;
45
45
  }
46
- .t-t-table[data-v-4w7irnx2] .t-table__body tr:hover td {
46
+ .t-t-table[data-v-pku8y4zo] .t-table__body tr:hover td {
47
47
  background-color: #f5f7fa !important;
48
48
  color: #63656E;
49
49
  }
50
- .t-t-table[data-v-4w7irnx2] .t-table__content .t-table__body .t-table__empty-row {
50
+ .t-t-table[data-v-pku8y4zo] .t-table__content .t-table__body .t-table__empty-row {
51
51
  background-color: #fff !important;
52
52
  }
53
- .t-t-table[data-v-4w7irnx2] .t-table__content .t-table__body .t-table__empty-row >td {
53
+ .t-t-table[data-v-pku8y4zo] .t-table__content .t-table__body .t-table__empty-row >td {
54
54
  border: none;
55
55
  }
56
- .t-t-table[data-v-4w7irnx2] th .t-table__ellipsis {
56
+ .t-t-table[data-v-pku8y4zo] th .t-table__ellipsis {
57
57
  width: auto !important;
58
58
  }
59
- .t-t-table[data-v-4w7irnx2] .t-loading__gradient.t-icon-loading {
59
+ .t-t-table[data-v-pku8y4zo] .t-loading__gradient.t-icon-loading {
60
60
  display: none;
61
61
  }
62
- .t-t-table[data-v-4w7irnx2]:first-of-type .t-table__affixed-header-elm-wrap{
62
+ .t-t-table[data-v-pku8y4zo]:first-of-type .t-table__affixed-header-elm-wrap{
63
63
  width: calc(100% - 6px) !important;
64
64
  }
65
- .t-t-table[data-v-4w7irnx2] .t-table__affixed-header-elm-wrap>div {
65
+ .t-t-table[data-v-pku8y4zo] .t-table__affixed-header-elm-wrap>div {
66
66
  width: 100% !important;
67
67
  scrollbar-width: none;
68
68
  }
69
- .t-t-table[data-v-4w7irnx2] .t-table--layout-fixed{
69
+ .t-t-table[data-v-pku8y4zo] .t-table--layout-fixed{
70
70
  width: 100% !important;
71
71
  }
72
- .t-t-table[data-v-4w7irnx2] .bk-exception-description{
72
+ .t-t-table[data-v-pku8y4zo] .bk-exception-description{
73
73
  margin-bottom: 0;
74
74
  }
75
- .t-t-table[data-v-4w7irnx2] .t-table__content{
75
+ .t-t-table[data-v-pku8y4zo] .t-table__content{
76
76
  z-index: 2;
77
77
  max-height: 100%;
78
78
  overflow: auto;
79
79
  }
80
- .t-t-table[data-v-4w7irnx2] .t-table__content::-webkit-scrollbar {
80
+ .t-t-table[data-v-pku8y4zo] .t-table__content::-webkit-scrollbar {
81
81
  width: 6px;
82
82
  height: 6px;
83
83
  }
84
- .t-t-table[data-v-4w7irnx2] .t-table__content::-webkit-scrollbar-thumb {
84
+ .t-t-table[data-v-pku8y4zo] .t-table__content::-webkit-scrollbar-thumb {
85
85
  width: 6px;
86
86
  height: 6px;
87
87
  border-radius: 3px;
88
88
  background-color: #dcdee5;
89
89
  }
90
- .t-t-table[data-v-4w7irnx2] .t-table__content::-webkit-scrollbar-thumb:hover {
90
+ .t-t-table[data-v-pku8y4zo] .t-table__content::-webkit-scrollbar-thumb:hover {
91
91
  background-color: #979ba5;
92
92
  }
93
- .t-t-table[data-v-4w7irnx2] .t-table__ellipsis.t-text-ellipsis:has(.checkbox){
93
+ .t-t-table[data-v-pku8y4zo] .t-table__ellipsis.t-text-ellipsis:has(.checkbox){
94
94
  line-height: 100%;
95
95
  }
96
- .t-t-table[data-v-4w7irnx2] .t-table__cell--sort-trigger.t-table__double-icons{
96
+ .t-t-table[data-v-pku8y4zo] .t-table__cell--sort-trigger.t-table__double-icons{
97
97
  gap: 5px;
98
98
  }
99
- .t-t-table[data-v-4w7irnx2] .t-table__sort-icon--active>i{
99
+ .t-t-table[data-v-pku8y4zo] .t-table__sort-icon--active>i{
100
100
  color: #3a84ff !important;
101
101
  }
102
- .t-t-table[data-v-4w7irnx2] .t-table__cell--fixed-left:has(.checkbox){
102
+ .t-t-table[data-v-pku8y4zo] .t-table__cell--fixed-left:has(.checkbox){
103
103
  line-height: 100%;
104
104
  }
105
- .t-t-table[data-v-4w7irnx2] .t-table__filter-icon.t-is-focus>span{
105
+ .t-t-table[data-v-pku8y4zo] .t-table__filter-icon.t-is-focus>span{
106
106
  color: #3a84ff !important;
107
107
  }
108
108
 
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js';
2
- script.__scopeId = "data-v-4w7irnx2";
2
+ script.__scopeId = "data-v-pku8y4zo";
3
3
  script.__file = "./src/components/render-t-table/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,28 +1,28 @@
1
1
 
2
- .tag-tree[data-v-htqsefat] {
2
+ .tag-tree[data-v-w2swusft] {
3
3
  font-size: 12px;
4
4
  height: auto;
5
5
  max-height: calc(100% - 44px);
6
6
  }
7
- .tag-tree .manage-tree-item[data-v-htqsefat] {
7
+ .tag-tree .manage-tree-item[data-v-w2swusft] {
8
8
  height: 32px;
9
9
  flex: 1;
10
10
  }
11
- .tag-tree .quick-icon[data-v-htqsefat] {
11
+ .tag-tree .quick-icon[data-v-w2swusft] {
12
12
  margin-left: -24px;
13
13
  padding-left: 8px;
14
14
  }
15
- .tag-tree[data-v-htqsefat] .tree-item:has(.bottom-line) {
15
+ .tag-tree[data-v-w2swusft] .tree-item:has(.bottom-line) {
16
16
  border-bottom: 1px solid #F0F1F5;
17
17
  }
18
- .tag-tree[data-v-htqsefat] .tree-item.active .quick-icon {
18
+ .tag-tree[data-v-w2swusft] .tree-item.active .quick-icon {
19
19
  color: #3A84FF;
20
20
  }
21
- .tag-tree[data-v-htqsefat] .tree-item.active .tag-number {
21
+ .tag-tree[data-v-w2swusft] .tree-item.active .tag-number {
22
22
  background: #A3C5FD;
23
23
  color: #fff;
24
24
  }
25
- .tag-number[data-v-htqsefat] {
25
+ .tag-number[data-v-w2swusft] {
26
26
  line-height: 16px;
27
27
  padding: 0 4px;
28
28
  background-color: #F0F1F5;
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-htqsefat";
2
+ script.__scopeId = "data-v-w2swusft";
3
3
  script.__file = "./src/components/render-tag-tree/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -86,7 +86,8 @@ export default /*@__PURE__*/ _defineComponent({
86
86
  // 显示树子节点
87
87
  const handleShowTreeChildren = (data)=>{
88
88
  var _a;
89
- if (props.isNodeHasChildren(data) && ((_a = data.children) === null || _a === void 0 ? void 0 : _a.length) <= 0) {
89
+ if (!props.isNodeHasChildren(data)) return;
90
+ if (((_a = data.children) === null || _a === void 0 ? void 0 : _a.length) <= 0) {
90
91
  emits('async-load', data);
91
92
  }
92
93
  // 计算展开的id
Binary file
@@ -152,15 +152,12 @@
152
152
  <glyph glyph-name="uniE123" unicode="&#xE123;" d="M704 300C704 194 618 108 512 108S320 194 320 300 406 492 512 492 704 406 704 300ZM512 44C653.4 44 768 158.6 768 300 768 159.2 652.8 44 512 44ZM256 300C256 158.6 370.6 44 512 44 371.2 44 256 159.2 256 300ZM768 300C768 441.4 653.4 556 512 556 652.8 556 768 440.8 768 300ZM512 556C370.6 556 256 441.4 256 300 256 440.8 371.2 556 512 556ZM768 300C768 440.8 652.8 556 512 556S256 440.8 256 300 371.2 44 512 44 768 159.2 768 300ZM512 108C403.2 108 320 191.2 320 300S403.2 492 512 492 704 408.8 704 300 620.8 108 512 108Z" horiz-adv-x="1024" vert-adv-y="1024" />
153
153
 
154
154
 
155
- <glyph glyph-name="uniE12C" unicode="&#xE12C;" d="M864 664C899.3462 664 928 635.3462 928 600L928-20.9329C928-56.2791 899.3462-84.9329 864-84.9329L160-84.9329C124.6538-84.9329 96-56.2791 96-20.9329L96 600C96 635.3462 124.6538 664 160 664L864 664ZM428.2684 456L179.0671 456 179.0671 123.0671 262.1342 123.0671 262.1342 248 345.2013 248 345.2013 123.0671 428.2684 123.0671 428.2684 456ZM553.2013 456L470.1342 456 470.1342 123.0671 636.2684 123.0671 636.2684 164.9329 553.2013 164.9329 553.2013 456ZM761.2013 456L678.1342 456 678.1342 123.0671 844.2684 123.0671 844.2684 164.9329 761.2013 164.9329 761.2013 456ZM345.2013 393.6L345.2013 310.5329 262.1342 310.5329 262.1342 393.6 345.2013 393.6Z" horiz-adv-x="1024" vert-adv-y="1024" />
155
+ <glyph glyph-name="uniE130" unicode="&#xE130;" d="M166.4 709.6H857.6C921.2211 709.6 972.8 658.6688 972.8 595.8423V4.1562C972.8-58.6714 921.2211-109.6 857.6-109.6H166.4C102.7768-109.6 51.2-58.6714 51.2 4.1562V595.8423C51.2 658.6688 102.7768 709.6 166.4 709.6ZM345.2093 413.6V330.5326H262.142V413.6H345.2093ZM428.2762 143.0669V476H179.0751V143.0669H262.142V268H345.2093V143.0669H428.2762ZM636.2778 143.0669V184.9331H553.2109V476H470.1425V143.0669H636.2778ZM844.2778 143.0669V184.9331H761.2109V476H678.144V143.0669H844.2778Z" horiz-adv-x="1024" vert-adv-y="1024" />
156
156
 
157
157
 
158
158
  <glyph glyph-name="uniE12E" unicode="&#xE12E;" d="M512 748C759.4 748 960 547.4 960 300 960 52.6 759.4-148 512-148 264.6-148 64 52.6 64 300 64 547.4 264.6 748 512 748ZM647.7645 481.0193L330.9807 164.2355C318.4839 151.7387 318.4839 131.4774 330.9807 118.9807 343.4774 106.4839 363.7387 106.4839 376.2355 118.9807L693.0193 435.7645C705.5161 448.2613 705.5161 468.5226 693.0193 481.0193 680.5226 493.5161 660.2613 493.5161 647.7645 481.0193Z" horiz-adv-x="1024" vert-adv-y="1024" />
159
159
 
160
160
 
161
- <glyph glyph-name="uniE12F" unicode="&#xE12F;" d="M791.7037 534.6667L708.7407 534.6667C708.7407 652.4267 615.8222 748 501.3333 748 386.8444 748 293.9259 652.4267 293.9259 534.6667L210.963 534.6667C165.2805 534.4942 128.3535 496.3213 128.4148 449.3333L128-62.6667C128-109.6 165.3333-148 210.963-148L791.7037-148C837.3333-148 874.6667-109.6 874.6667-62.6667L874.6667 449.3333C874.6667 496.2667 837.3333 534.6667 791.7037 534.6667ZM501.3333 662.6667C570.1926 662.6667 625.7778 605.4933 625.7778 534.6667L376.8889 534.6667C376.8889 605.4933 432.4741 662.6667 501.3333 662.6667L501.3333 662.6667ZM501.3333 236C386.8444 236 293.9259 331.5733 293.9259 449.3333L376.8889 449.3333C376.8889 378.5067 432.4741 321.3333 501.3333 321.3333 570.1926 321.3333 625.7778 378.5067 625.7778 449.3333L708.7407 449.3333C708.7407 331.5733 615.8222 236 501.3333 236Z" horiz-adv-x="1024" vert-adv-y="1024" />
162
-
163
-
164
161
 
165
162
  </font>
166
163
  </defs>
Binary file