@blueking/ai-ui-sdk 0.4.1-beta.11 → 0.4.1-beta.13
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.
- package/dist/components/render-agent/agent-type.vue.css +3 -3
- package/dist/components/render-agent/agent-type.vue.js +1 -1
- package/dist/components/render-auto-height-textarea/index.vue.css +11 -11
- package/dist/components/render-auto-height-textarea/index.vue.js +1 -1
- package/dist/components/render-auto-refresh/index.vue.css +8 -8
- package/dist/components/render-auto-refresh/index.vue.js +1 -1
- package/dist/components/render-card/agent/actions.script.vue.js.js +47 -27
- package/dist/components/render-card/agent/index.script.vue.js.js +7 -7
- package/dist/components/render-card/agent/prefix-info-tool.vue.css +5 -5
- package/dist/components/render-card/agent/prefix-info-tool.vue.js +1 -1
- package/dist/components/render-card/base.vue.css +12 -12
- package/dist/components/render-card/base.vue.js +1 -1
- package/dist/components/render-card/llm/corner-badge.vue.css +3 -3
- package/dist/components/render-card/llm/corner-badge.vue.js +1 -1
- package/dist/components/render-card/llm/icons.vue.css +2 -2
- package/dist/components/render-card/llm/icons.vue.js +1 -1
- package/dist/components/render-card/llm/info.vue.css +1 -1
- package/dist/components/render-card/llm/info.vue.js +1 -1
- package/dist/components/render-card/llm/tag-prefix.vue.css +3 -3
- package/dist/components/render-card/llm/tag-prefix.vue.js +1 -1
- package/dist/components/render-card/mcp/actions.script.vue.js.js +25 -11
- package/dist/components/render-card/mcp/name-suffix.vue.css +2 -2
- package/dist/components/render-card/mcp/name-suffix.vue.js +1 -1
- package/dist/components/render-card/prompt/icons.vue.css +1 -1
- package/dist/components/render-card/prompt/icons.vue.js +1 -1
- package/dist/components/render-card/skill/tag-prefix.vue.css +3 -3
- package/dist/components/render-card/skill/tag-prefix.vue.js +1 -1
- package/dist/components/render-card/tool/actions.script.vue.js.js +19 -2
- package/dist/components/render-checkbox/index.vue.css +9 -9
- package/dist/components/render-checkbox/index.vue.js +1 -1
- package/dist/components/render-choose-tag/index.script.vue.js.js +23 -15
- package/dist/components/render-choose-tag/index.vue.css +7 -7
- package/dist/components/render-choose-tag/index.vue.js +1 -1
- package/dist/components/render-collapse/index.vue.css +2 -2
- package/dist/components/render-collapse/index.vue.js +1 -1
- package/dist/components/render-collection/actions/index.script.vue.js.js +19 -2
- package/dist/components/render-collection/content/index.vue.css +4 -4
- package/dist/components/render-collection/content/index.vue.js +1 -1
- package/dist/components/render-dataset/components/batch-delete-dataset-data/index.vue.css +3 -3
- package/dist/components/render-dataset/components/batch-delete-dataset-data/index.vue.js +1 -1
- package/dist/components/render-dataset/components/batch-edit-valid-dataset-data/index.vue.css +1 -1
- package/dist/components/render-dataset/components/batch-edit-valid-dataset-data/index.vue.js +1 -1
- package/dist/components/render-dataset/components/dataset-data-tool-icons/index.script.vue.js +1 -1
- package/dist/components/render-dataset/components/dataset-data-valid/index.vue.css +1 -1
- package/dist/components/render-dataset/components/dataset-data-valid/index.vue.js +1 -1
- package/dist/components/render-dataset/components/edit-dataset-data/index.vue.css +3 -3
- package/dist/components/render-dataset/components/edit-dataset-data/index.vue.js +1 -1
- package/dist/components/render-dataset/components/operation-record/index.vue.css +4 -4
- package/dist/components/render-dataset/components/operation-record/index.vue.js +1 -1
- package/dist/components/render-dataset/components/operation-record/table/index.vue.css +1 -1
- package/dist/components/render-dataset/components/operation-record/table/index.vue.js +1 -1
- package/dist/components/render-dataset/components/operation-record/view-op-result/index.vue.css +2 -2
- package/dist/components/render-dataset/components/operation-record/view-op-result/index.vue.js +1 -1
- package/dist/components/render-dataset/components/plus-dataset/index.vue.css +1 -1
- package/dist/components/render-dataset/components/plus-dataset/index.vue.js +1 -1
- package/dist/components/render-dataset/components/plus-dataset-data/form/api.vue.css +2 -2
- package/dist/components/render-dataset/components/plus-dataset-data/form/api.vue.js +1 -1
- package/dist/components/render-dataset/components/plus-dataset-data/form/footer.vue.css +1 -1
- package/dist/components/render-dataset/components/plus-dataset-data/form/footer.vue.js +1 -1
- package/dist/components/render-dataset/components/plus-dataset-data/form/index.vue.css +1 -1
- package/dist/components/render-dataset/components/plus-dataset-data/form/index.vue.js +1 -1
- package/dist/components/render-dataset/components/review-dataset-data/index.vue.css +10 -10
- package/dist/components/render-dataset/components/review-dataset-data/index.vue.js +1 -1
- package/dist/components/render-dataset-detail-origin-data/index.vue.css +3 -3
- package/dist/components/render-dataset-detail-origin-data/index.vue.js +1 -1
- package/dist/components/render-dataset-list/components/main.vue.css +3 -3
- package/dist/components/render-dataset-list/components/main.vue.js +1 -1
- package/dist/components/render-dataset-list/index.vue.css +2 -2
- package/dist/components/render-dataset-list/index.vue.js +1 -1
- package/dist/components/render-dialog/choose-resource.vue.css +3 -3
- package/dist/components/render-dialog/choose-resource.vue.js +1 -1
- package/dist/components/render-dialog/choose-result.vue.css +14 -14
- package/dist/components/render-dialog/choose-result.vue.js +1 -1
- package/dist/components/render-dialog/choose-space.vue.css +9 -9
- package/dist/components/render-dialog/choose-space.vue.js +1 -1
- package/dist/components/render-dialog/index.vue.css +6 -6
- package/dist/components/render-dialog/index.vue.js +1 -1
- package/dist/components/render-file-card/index.vue.css +11 -11
- package/dist/components/render-file-card/index.vue.js +1 -1
- package/dist/components/render-file-type-icon/index.vue.css +6 -6
- package/dist/components/render-file-type-icon/index.vue.js +1 -1
- package/dist/components/render-generate-tag/index.vue.css +5 -5
- package/dist/components/render-generate-tag/index.vue.js +1 -1
- package/dist/components/render-knowledge/icon/index.vue.css +1 -1
- package/dist/components/render-knowledge/icon/index.vue.js +1 -1
- package/dist/components/render-prompt/actions/index.script.vue.js.js +18 -1
- package/dist/components/render-prompt/content/index.vue.css +1 -1
- package/dist/components/render-prompt/content/index.vue.js +1 -1
- package/dist/components/render-reference/index.vue.css +2 -2
- package/dist/components/render-reference/index.vue.js +1 -1
- package/dist/components/render-relate-agent/index.script.vue.js +7 -2
- package/dist/components/render-relate-agent/index.vue.d.ts +2 -0
- package/dist/components/render-resource-version/index.vue.css +2 -2
- package/dist/components/render-resource-version/index.vue.js +1 -1
- package/dist/components/render-router-tab/index.vue.css +3 -3
- package/dist/components/render-router-tab/index.vue.js +1 -1
- package/dist/components/render-select-plus-extension/index.vue.css +3 -3
- package/dist/components/render-select-plus-extension/index.vue.js +1 -1
- package/dist/components/render-skill/actions/index.script.vue.js.js +40 -5
- package/dist/components/render-t-table/index.script.vue.js +4 -3
- package/dist/components/render-t-table/index.vue.css +27 -27
- package/dist/components/render-t-table/index.vue.js +1 -1
- package/dist/components/render-tag-tree/index.vue.css +7 -7
- package/dist/components/render-tag-tree/index.vue.js +1 -1
- package/dist/components/render-tags/index.vue.css +6 -6
- package/dist/components/render-tags/index.vue.js +1 -1
- package/dist/hooks/use-dataset-http.d.ts +1 -2
- package/dist/hooks/use-dataset-http.ts.js +1 -1
- package/dist/hooks/use-meta-http.d.ts +1 -2
- package/dist/hooks/use-meta-http.ts.js +1 -1
- package/dist/hooks/use-permission.ts.js +2 -0
- package/package.json +1 -1
|
@@ -49,6 +49,10 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
49
49
|
disabledText: {
|
|
50
50
|
default: ''
|
|
51
51
|
},
|
|
52
|
+
text: {
|
|
53
|
+
type: Boolean,
|
|
54
|
+
default: true
|
|
55
|
+
},
|
|
52
56
|
boundary: {},
|
|
53
57
|
placement: {
|
|
54
58
|
default: 'right'
|
|
@@ -580,8 +584,8 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
580
584
|
}, ()=>[
|
|
581
585
|
_withDirectives((_openBlock(), _createBlock(_component_bk_button, {
|
|
582
586
|
disabled: props.disabled,
|
|
587
|
+
text: props.text,
|
|
583
588
|
size: "small",
|
|
584
|
-
text: "",
|
|
585
589
|
onClick: handleShow
|
|
586
590
|
}, {
|
|
587
591
|
default: _withCtx(()=>[
|
|
@@ -591,7 +595,8 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
591
595
|
]),
|
|
592
596
|
_: 1 /* STABLE */
|
|
593
597
|
}, 8 /* PROPS */ , [
|
|
594
|
-
"disabled"
|
|
598
|
+
"disabled",
|
|
599
|
+
"text"
|
|
595
600
|
])), [
|
|
596
601
|
[
|
|
597
602
|
_directive_bk_tooltips,
|
|
@@ -12,6 +12,7 @@ interface IProps {
|
|
|
12
12
|
resource: IAgent | IMcp | ISkill | IModel | ITool | IKnowledgebase | IPrompt | ICollection;
|
|
13
13
|
disabled?: boolean;
|
|
14
14
|
disabledText?: string;
|
|
15
|
+
text?: boolean;
|
|
15
16
|
boundary?: string;
|
|
16
17
|
placement?: string;
|
|
17
18
|
spaceId?: string;
|
|
@@ -28,6 +29,7 @@ declare const __VLS_base: import("vue").DefineComponent<IProps, {}, {}, {}, {},
|
|
|
28
29
|
}, string, import("vue").PublicProps, Readonly<IProps> & Readonly<{
|
|
29
30
|
onNavigate?: (value: ISdkNavigateAction) => any;
|
|
30
31
|
}>, {
|
|
32
|
+
text: boolean;
|
|
31
33
|
disabledText: string;
|
|
32
34
|
placement: string;
|
|
33
35
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
|
|
2
|
-
.resource-version[data-v-
|
|
2
|
+
.resource-version[data-v-yr5v16i7] {
|
|
3
3
|
border-radius: 2px;
|
|
4
4
|
text-align: left;
|
|
5
5
|
color: #4D4F56;
|
|
6
6
|
background-color: #F0F1F5;
|
|
7
7
|
white-space: nowrap;
|
|
8
8
|
}
|
|
9
|
-
.resource-version .bkaidev-rizhifenxi[data-v-
|
|
9
|
+
.resource-version .bkaidev-rizhifenxi[data-v-yr5v16i7] {
|
|
10
10
|
color: #3A84FF;
|
|
11
11
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
.router-tab[data-v-
|
|
2
|
+
.router-tab[data-v-ijluvjiq] {
|
|
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-
|
|
9
|
+
.router-tab a[data-v-ijluvjiq] {
|
|
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-
|
|
18
|
+
.router-tab a.router-link-exact-active[data-v-ijluvjiq] {
|
|
19
19
|
color: #3A84FF;
|
|
20
20
|
border-bottom: 2px solid #3A84FF;
|
|
21
21
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
.select-plus-extension[data-v-
|
|
2
|
+
.select-plus-extension[data-v-xgu02aw7] {
|
|
3
3
|
cursor: pointer;
|
|
4
4
|
width: 100%;
|
|
5
5
|
display: flex;
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
font-size: 12px;
|
|
9
9
|
line-height: 20px;
|
|
10
10
|
}
|
|
11
|
-
.select-plus-extension .ai-ui-sdk-icon[data-v-
|
|
11
|
+
.select-plus-extension .ai-ui-sdk-icon[data-v-xgu02aw7] {
|
|
12
12
|
font-size: 14px;
|
|
13
13
|
margin-right: 6px;
|
|
14
14
|
}
|
|
15
|
-
.select-plus-extension[data-v-
|
|
15
|
+
.select-plus-extension[data-v-xgu02aw7]:hover {
|
|
16
16
|
color: #3A84FF;
|
|
17
17
|
}
|
|
@@ -52,6 +52,9 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
52
52
|
const getIsFullType = ()=>{
|
|
53
53
|
return props.type === ResourceCardType.Full;
|
|
54
54
|
};
|
|
55
|
+
const getIsMarketType = ()=>{
|
|
56
|
+
return props.type === ResourceCardType.Market;
|
|
57
|
+
};
|
|
55
58
|
const getIsNotDeleted = ()=>{
|
|
56
59
|
return props.skill.status !== SkillStatus.Deleted;
|
|
57
60
|
};
|
|
@@ -249,7 +252,39 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
249
252
|
}
|
|
250
253
|
]
|
|
251
254
|
]),
|
|
252
|
-
|
|
255
|
+
getIsMarketType() ? (_openBlock(), _createBlock(_component_bk_button, {
|
|
256
|
+
key: 1,
|
|
257
|
+
loading: isDownloadingSkill.value,
|
|
258
|
+
size: "small",
|
|
259
|
+
onClick: _withModifiers(handleDownload, [
|
|
260
|
+
"stop"
|
|
261
|
+
])
|
|
262
|
+
}, {
|
|
263
|
+
default: _withCtx(()=>[
|
|
264
|
+
..._cache[8] || (_cache[8] = [
|
|
265
|
+
_createTextVNode(" 下载 ", -1 /* CACHED */ )
|
|
266
|
+
])
|
|
267
|
+
]),
|
|
268
|
+
_: 1 /* STABLE */
|
|
269
|
+
}, 8 /* PROPS */ , [
|
|
270
|
+
"loading"
|
|
271
|
+
])) : _createCommentVNode("v-if", true),
|
|
272
|
+
getIsMarketType() ? (_openBlock(), _createBlock(RenderRelateAgent, {
|
|
273
|
+
key: 2,
|
|
274
|
+
"resource-type": _unref(Module).Skill,
|
|
275
|
+
resource: __props.skill,
|
|
276
|
+
text: false,
|
|
277
|
+
"space-id": props.spaceId,
|
|
278
|
+
"api-prefix": props.apiPrefix,
|
|
279
|
+
onNavigate: handleNavigate
|
|
280
|
+
}, null, 8 /* PROPS */ , [
|
|
281
|
+
"resource-type",
|
|
282
|
+
"resource",
|
|
283
|
+
"space-id",
|
|
284
|
+
"api-prefix"
|
|
285
|
+
])) : _createCommentVNode("v-if", true),
|
|
286
|
+
!getIsMarketType() ? (_openBlock(), _createBlock(RenderDropdown, {
|
|
287
|
+
key: 3,
|
|
253
288
|
placement: "bottom-start",
|
|
254
289
|
theme: "light",
|
|
255
290
|
ref_key: "dropdownRef",
|
|
@@ -264,7 +299,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
264
299
|
]))
|
|
265
300
|
}, {
|
|
266
301
|
default: _withCtx(()=>[
|
|
267
|
-
..._cache[
|
|
302
|
+
..._cache[9] || (_cache[9] = [
|
|
268
303
|
_createElementVNode("i", {
|
|
269
304
|
class: "ai-ui-sdk-icon ai-ui-sdk-gengduo-2 g-text-16"
|
|
270
305
|
}, null, -1 /* CACHED */ )
|
|
@@ -310,7 +345,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
310
345
|
])
|
|
311
346
|
}, {
|
|
312
347
|
default: _withCtx(()=>[
|
|
313
|
-
..._cache[
|
|
348
|
+
..._cache[10] || (_cache[10] = [
|
|
314
349
|
_createTextVNode(" 下载 ", -1 /* CACHED */ )
|
|
315
350
|
])
|
|
316
351
|
]),
|
|
@@ -361,7 +396,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
361
396
|
], 2 /* CLASS */ )
|
|
362
397
|
]),
|
|
363
398
|
_: 1 /* STABLE */
|
|
364
|
-
}, 512 /* NEED_PATCH */ )
|
|
399
|
+
}, 512 /* NEED_PATCH */ )) : _createCommentVNode("v-if", true)
|
|
365
400
|
], 64 /* STABLE_FRAGMENT */ )) : _createCommentVNode("v-if", true),
|
|
366
401
|
getIsCurrentSpace() && getIsFullType() && !getIsNotDeleted() ? (_openBlock(), _createBlock(_component_bk_pop_confirm, {
|
|
367
402
|
key: 2,
|
|
@@ -383,7 +418,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
383
418
|
])
|
|
384
419
|
}, {
|
|
385
420
|
default: _withCtx(()=>[
|
|
386
|
-
..._cache[
|
|
421
|
+
..._cache[11] || (_cache[11] = [
|
|
387
422
|
_createTextVNode(" 恢复 ", -1 /* CACHED */ )
|
|
388
423
|
])
|
|
389
424
|
]),
|
|
@@ -213,7 +213,6 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
213
213
|
_createVNode(_component_t_enhanced_table, _mergeProps(_ctx.$attrs, {
|
|
214
214
|
"column-controller-visible": columnControllerVisible.value,
|
|
215
215
|
"onUpdate:columnControllerVisible": _cache[1] || (_cache[1] = ($event)=>columnControllerVisible.value = $event),
|
|
216
|
-
"cell-empty-content": "--",
|
|
217
216
|
"filter-value": {},
|
|
218
217
|
"max-height": getMaxHeight(),
|
|
219
218
|
loading: __props.isLoading,
|
|
@@ -226,6 +225,8 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
226
225
|
columns: getSettingColumns(),
|
|
227
226
|
"row-class-name": getRowClassName,
|
|
228
227
|
"expand-icon": false,
|
|
228
|
+
resizable: true,
|
|
229
|
+
"cell-empty-content": "--",
|
|
229
230
|
onSortChange: handleSortChange,
|
|
230
231
|
onFilterChange: handleFilterChange,
|
|
231
232
|
onDisplayColumnsChange: handleColumnChange,
|
|
@@ -281,8 +282,8 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
281
282
|
]),
|
|
282
283
|
empty: _withCtx(()=>[
|
|
283
284
|
_createVNode(RenderSearchEmpty, {
|
|
284
|
-
scene: "part",
|
|
285
285
|
search: __props.search,
|
|
286
|
+
scene: "part",
|
|
286
287
|
"onUpdate:search": handleUpdateSearch
|
|
287
288
|
}, null, 8 /* PROPS */ , [
|
|
288
289
|
"search"
|
|
@@ -325,7 +326,6 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
325
326
|
]),
|
|
326
327
|
__props.pagination ? (_openBlock(), _createBlock(_component_bk_pagination, {
|
|
327
328
|
key: 0,
|
|
328
|
-
size: "small",
|
|
329
329
|
class: _normalizeClass({
|
|
330
330
|
't-t-pagination': true,
|
|
331
331
|
'pagination-loading': __props.isLoading,
|
|
@@ -335,6 +335,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
335
335
|
count: __props.pagination.count,
|
|
336
336
|
limit: __props.pagination.limit,
|
|
337
337
|
layout: __props.layout,
|
|
338
|
+
size: "small",
|
|
338
339
|
onChange: handlePageChange,
|
|
339
340
|
onLimitChange: handlePageSizeChange
|
|
340
341
|
}, null, 8 /* PROPS */ , [
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
.t-t-pagination[data-v-
|
|
2
|
+
.t-t-pagination[data-v-md9cenad] {
|
|
3
3
|
position: relative;
|
|
4
4
|
padding: 16px 16px 0 16px;
|
|
5
5
|
}
|
|
6
|
-
.t-t-pagination[data-v-
|
|
6
|
+
.t-t-pagination[data-v-md9cenad] .bk-pagination-list.is-last {
|
|
7
7
|
margin-left: auto;
|
|
8
8
|
}
|
|
9
|
-
.pagination-loading[data-v-
|
|
9
|
+
.pagination-loading[data-v-md9cenad]::after {
|
|
10
10
|
content: '';
|
|
11
11
|
position: absolute;
|
|
12
12
|
top: 0;
|
|
@@ -16,92 +16,92 @@
|
|
|
16
16
|
background-color: rgba(255, 255, 255, 0.6);
|
|
17
17
|
z-index: 72;
|
|
18
18
|
}
|
|
19
|
-
.pagination-border[data-v-
|
|
19
|
+
.pagination-border[data-v-md9cenad] {
|
|
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-
|
|
25
|
+
.t-t-table[data-v-md9cenad] {
|
|
26
26
|
display: inline;
|
|
27
27
|
font-size: 12px;
|
|
28
28
|
}
|
|
29
|
-
.t-t-table[data-v-
|
|
29
|
+
.t-t-table[data-v-md9cenad] .t-table__th-cell-inner {
|
|
30
30
|
color: #313238;
|
|
31
31
|
}
|
|
32
|
-
.t-t-table[data-v-
|
|
32
|
+
.t-t-table[data-v-md9cenad] th {
|
|
33
33
|
padding: 0 16px;
|
|
34
34
|
height: 42px;
|
|
35
35
|
background-color: #FAFBFD !important;
|
|
36
36
|
}
|
|
37
|
-
.t-t-table[data-v-
|
|
37
|
+
.t-t-table[data-v-md9cenad] .t-table__body tr {
|
|
38
38
|
color: #63656e;
|
|
39
39
|
font-size: 12px;
|
|
40
40
|
}
|
|
41
|
-
.t-t-table[data-v-
|
|
41
|
+
.t-t-table[data-v-md9cenad] .t-table__body tr td {
|
|
42
42
|
padding: 0 16px;
|
|
43
43
|
height: 40px;
|
|
44
44
|
}
|
|
45
|
-
.t-t-table[data-v-
|
|
45
|
+
.t-t-table[data-v-md9cenad] .t-table__body tr:hover td {
|
|
46
46
|
background-color: #f5f7fa !important;
|
|
47
47
|
color: #63656E;
|
|
48
48
|
}
|
|
49
|
-
.t-t-table[data-v-
|
|
49
|
+
.t-t-table[data-v-md9cenad] .t-table__content .t-table__body .t-table__empty-row {
|
|
50
50
|
background-color: #fff !important;
|
|
51
51
|
}
|
|
52
|
-
.t-t-table[data-v-
|
|
52
|
+
.t-t-table[data-v-md9cenad] .t-table__content .t-table__body .t-table__empty-row >td {
|
|
53
53
|
border: none;
|
|
54
54
|
}
|
|
55
|
-
.t-t-table[data-v-
|
|
55
|
+
.t-t-table[data-v-md9cenad] th .t-table__ellipsis {
|
|
56
56
|
width: auto !important;
|
|
57
57
|
}
|
|
58
|
-
.t-t-table[data-v-
|
|
58
|
+
.t-t-table[data-v-md9cenad] .t-loading__gradient.t-icon-loading {
|
|
59
59
|
display: none;
|
|
60
60
|
}
|
|
61
|
-
.t-t-table[data-v-
|
|
61
|
+
.t-t-table[data-v-md9cenad]:first-of-type .t-table__affixed-header-elm-wrap{
|
|
62
62
|
width: calc(100% - 6px) !important;
|
|
63
63
|
}
|
|
64
|
-
.t-t-table[data-v-
|
|
64
|
+
.t-t-table[data-v-md9cenad] .t-table__affixed-header-elm-wrap>div {
|
|
65
65
|
width: 100% !important;
|
|
66
66
|
scrollbar-width: none;
|
|
67
67
|
}
|
|
68
|
-
.t-t-table[data-v-
|
|
68
|
+
.t-t-table[data-v-md9cenad] .t-table--layout-fixed{
|
|
69
69
|
width: 100% !important;
|
|
70
70
|
}
|
|
71
|
-
.t-t-table[data-v-
|
|
71
|
+
.t-t-table[data-v-md9cenad] .bk-exception-description{
|
|
72
72
|
margin-bottom: 0;
|
|
73
73
|
}
|
|
74
|
-
.t-t-table[data-v-
|
|
74
|
+
.t-t-table[data-v-md9cenad] .t-table__content{
|
|
75
75
|
z-index: 2;
|
|
76
76
|
max-height: 100%;
|
|
77
77
|
overflow: auto;
|
|
78
78
|
}
|
|
79
|
-
.t-t-table[data-v-
|
|
79
|
+
.t-t-table[data-v-md9cenad] .t-table__content::-webkit-scrollbar {
|
|
80
80
|
width: 6px;
|
|
81
81
|
height: 6px;
|
|
82
82
|
}
|
|
83
|
-
.t-t-table[data-v-
|
|
83
|
+
.t-t-table[data-v-md9cenad] .t-table__content::-webkit-scrollbar-thumb {
|
|
84
84
|
width: 6px;
|
|
85
85
|
height: 6px;
|
|
86
86
|
border-radius: 3px;
|
|
87
87
|
background-color: #dcdee5;
|
|
88
88
|
}
|
|
89
|
-
.t-t-table[data-v-
|
|
89
|
+
.t-t-table[data-v-md9cenad] .t-table__content::-webkit-scrollbar-thumb:hover {
|
|
90
90
|
background-color: #979ba5;
|
|
91
91
|
}
|
|
92
|
-
.t-t-table[data-v-
|
|
92
|
+
.t-t-table[data-v-md9cenad] .t-table__ellipsis.t-text-ellipsis:has(.checkbox){
|
|
93
93
|
line-height: 100%;
|
|
94
94
|
}
|
|
95
|
-
.t-t-table[data-v-
|
|
95
|
+
.t-t-table[data-v-md9cenad] .t-table__cell--sort-trigger.t-table__double-icons{
|
|
96
96
|
gap: 5px;
|
|
97
97
|
}
|
|
98
|
-
.t-t-table[data-v-
|
|
98
|
+
.t-t-table[data-v-md9cenad] .t-table__sort-icon--active>i{
|
|
99
99
|
color: #3a84ff !important;
|
|
100
100
|
}
|
|
101
|
-
.t-t-table[data-v-
|
|
101
|
+
.t-t-table[data-v-md9cenad] .t-table__cell--fixed-left:has(.checkbox){
|
|
102
102
|
line-height: 100%;
|
|
103
103
|
}
|
|
104
|
-
.t-t-table[data-v-
|
|
104
|
+
.t-t-table[data-v-md9cenad] .t-table__filter-icon.t-is-focus>span{
|
|
105
105
|
color: #3a84ff !important;
|
|
106
106
|
}
|
|
107
107
|
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
|
|
2
|
-
.tag-tree[data-v-
|
|
2
|
+
.tag-tree[data-v-ga4g21xx] {
|
|
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-
|
|
7
|
+
.tag-tree .manage-tree-item[data-v-ga4g21xx] {
|
|
8
8
|
height: 32px;
|
|
9
9
|
flex: 1;
|
|
10
10
|
}
|
|
11
|
-
.tag-tree .quick-icon[data-v-
|
|
11
|
+
.tag-tree .quick-icon[data-v-ga4g21xx] {
|
|
12
12
|
margin-left: -24px;
|
|
13
13
|
padding-left: 8px;
|
|
14
14
|
}
|
|
15
|
-
.tag-tree[data-v-
|
|
15
|
+
.tag-tree[data-v-ga4g21xx] .tree-item:has(.bottom-line) {
|
|
16
16
|
border-bottom: 1px solid #F0F1F5;
|
|
17
17
|
}
|
|
18
|
-
.tag-tree[data-v-
|
|
18
|
+
.tag-tree[data-v-ga4g21xx] .tree-item.active .quick-icon {
|
|
19
19
|
color: #3A84FF;
|
|
20
20
|
}
|
|
21
|
-
.tag-tree[data-v-
|
|
21
|
+
.tag-tree[data-v-ga4g21xx] .tree-item.active .tag-number {
|
|
22
22
|
background: #A3C5FD;
|
|
23
23
|
color: #fff;
|
|
24
24
|
}
|
|
25
|
-
.tag-number[data-v-
|
|
25
|
+
.tag-number[data-v-ga4g21xx] {
|
|
26
26
|
line-height: 16px;
|
|
27
27
|
padding: 0 4px;
|
|
28
28
|
background-color: #F0F1F5;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
|
|
2
|
-
.tag-container[data-v-
|
|
2
|
+
.tag-container[data-v-7anfi8ve] {
|
|
3
3
|
visibility: hidden;
|
|
4
4
|
white-space: nowrap;
|
|
5
5
|
column-gap: 4px;
|
|
6
6
|
width: calc(100% - 20px);
|
|
7
7
|
}
|
|
8
|
-
.tag-home[data-v-
|
|
8
|
+
.tag-home[data-v-7anfi8ve] {
|
|
9
9
|
vertical-align: sub;
|
|
10
10
|
flex-shrink: 0;
|
|
11
11
|
}
|
|
12
|
-
[is-show="true"][data-v-
|
|
12
|
+
[is-show="true"][data-v-7anfi8ve] {
|
|
13
13
|
visibility: visible;
|
|
14
14
|
}
|
|
15
|
-
[is-show="false"][data-v-
|
|
15
|
+
[is-show="false"][data-v-7anfi8ve] {
|
|
16
16
|
display: none !important;
|
|
17
17
|
}
|
|
18
|
-
.popover-main[data-v-
|
|
18
|
+
.popover-main[data-v-7anfi8ve] {
|
|
19
19
|
padding: 8px 8px 10px;
|
|
20
20
|
}
|
|
21
|
-
.tag-list[data-v-
|
|
21
|
+
.tag-list[data-v-7anfi8ve] {
|
|
22
22
|
border-radius: 2px;
|
|
23
23
|
background: #F0F1F5;
|
|
24
24
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { type Ref } from 'vue';
|
|
2
2
|
import type { IBatchRetryReviewDatasetData, IBatchReviewDatasetData, IBatchUpdateDatasetDataValidity, IComponent, IDatasetApi, IDatasetDataApi, IDatasetDataForm, IDatasetDataParam, IDatasetForm, IDatasetInfo, IDatasetListParam, IDatasetStatusInfo, IOperatRecordParam, ISchema, IUserInfoForm } from '@/types/dataset';
|
|
3
3
|
import { Module } from '@/types/enum';
|
|
4
|
-
import type { ITagApi } from '@/types/meta';
|
|
5
4
|
export declare const useDatasetHttp: (apiPrefix?: string, spaceId?: Ref<string>) => {
|
|
6
5
|
getCompanyList: () => Promise<import("@/types/dataset").ICompany[]>;
|
|
7
6
|
getDatasetMineInfo: () => Promise<IDatasetInfo>;
|
|
@@ -48,6 +47,6 @@ export declare const useDatasetHttp: (apiPrefix?: string, spaceId?: Ref<string>)
|
|
|
48
47
|
batchRetryReviewDatasetData: (data: IBatchRetryReviewDatasetData) => Promise<unknown>;
|
|
49
48
|
batchUpdateDatasetDataValidity: (data: IBatchUpdateDatasetDataValidity) => Promise<unknown>;
|
|
50
49
|
getTags: (module: Module) => Promise<import("@/types/meta").ITag[]>;
|
|
51
|
-
plusTag: (tagNames: string[][], module: Module) => Promise<
|
|
50
|
+
plusTag: (tagNames: string[][], module: Module) => Promise<import("@/types/meta").ITag[]>;
|
|
52
51
|
checkTag: (tagNames: string[][], module: Module) => Promise<boolean>;
|
|
53
52
|
};
|
|
@@ -224,7 +224,7 @@ export const useDatasetHttp = (apiPrefix, spaceId)=>{
|
|
|
224
224
|
headers: {
|
|
225
225
|
'x-space-id': spaceId === null || spaceId === void 0 ? void 0 : spaceId.value
|
|
226
226
|
}
|
|
227
|
-
});
|
|
227
|
+
}).then((res)=>res.map(transferTagApi2Tag));
|
|
228
228
|
// check tag
|
|
229
229
|
const checkTag = (tagNames, module)=>fetch.post(`${apiPrefix}/${datasetPerfix}/tag/check/`, {
|
|
230
230
|
tag_names: tagNames,
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { type Ref } from 'vue';
|
|
2
2
|
import { Module } from '@/types/enum';
|
|
3
|
-
import type { ITagApi } from '@/types/meta';
|
|
4
3
|
export declare const useMetaHttp: (apiPrefix: string, spaceId?: Ref<string>) => {
|
|
5
4
|
nameValidator: (name: string, type: Module) => () => Promise<{
|
|
6
5
|
data: boolean;
|
|
@@ -11,6 +10,6 @@ export declare const useMetaHttp: (apiPrefix: string, spaceId?: Ref<string>) =>
|
|
|
11
10
|
message: string;
|
|
12
11
|
}>;
|
|
13
12
|
getTags: (module: Module) => Promise<import("@/types/meta").ITag[]>;
|
|
14
|
-
plusTag: (tagNames: string[][], module: Module) => Promise<
|
|
13
|
+
plusTag: (tagNames: string[][], module: Module) => Promise<import("@/types/meta").ITag[]>;
|
|
15
14
|
checkTag: (tagNames: string[][], module: Module) => Promise<boolean>;
|
|
16
15
|
};
|
|
@@ -67,7 +67,7 @@ export const useMetaHttp = (apiPrefix, spaceId)=>{
|
|
|
67
67
|
headers: {
|
|
68
68
|
'x-space-id': spaceId === null || spaceId === void 0 ? void 0 : spaceId.value
|
|
69
69
|
}
|
|
70
|
-
});
|
|
70
|
+
}).then((res)=>res.map(transferTagApi2Tag));
|
|
71
71
|
// check tag
|
|
72
72
|
const checkTag = (tagNames, module)=>fetch.post(`${apiPrefix}/${metaPerfix}/tag/check/`, {
|
|
73
73
|
tag_names: tagNames,
|
|
@@ -27,6 +27,7 @@ function _async_to_generator(fn) {
|
|
|
27
27
|
});
|
|
28
28
|
};
|
|
29
29
|
}
|
|
30
|
+
import { hideAll } from 'tippy.js';
|
|
30
31
|
import { renderAuthDialog } from '../components/render-auth/auth-dialog-fn.ts.js';
|
|
31
32
|
import { usePermissionHttp } from './use-permission-http.ts.js';
|
|
32
33
|
const element = document.createElement('div');
|
|
@@ -40,6 +41,7 @@ document.body.appendChild(element);
|
|
|
40
41
|
export function usePermission(apiPrefix, spaceId, backgroundColor) {
|
|
41
42
|
const { checkPermission, getPermissionData } = usePermissionHttp(apiPrefix, spaceId);
|
|
42
43
|
const hideAllPopover = ()=>{
|
|
44
|
+
hideAll();
|
|
43
45
|
document.querySelectorAll('.bk-popover').forEach((item)=>{
|
|
44
46
|
item.remove();
|
|
45
47
|
});
|