@blueking/ai-ui-sdk 0.1.19-beta.5 → 0.1.19-beta.7
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-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 +9 -8
- package/dist/components/render-auto-refresh/index.vue.js +1 -1
- 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.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-dataset/components/dataset-data-tool-icons/index.script.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.script.vue.js.js +2 -2
- package/dist/components/render-dataset/components/plus-dataset/index.vue.css +2 -2
- package/dist/components/render-dataset/components/plus-dataset/index.vue.d.ts +2 -2
- 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 +2 -2
- package/dist/components/render-dataset/components/plus-dataset-data/form/index.vue.js +1 -1
- package/dist/components/render-dataset/components/plus-dataset-data/index.script.vue.js.js +2 -2
- package/dist/components/render-dataset/components/plus-dataset-data/index.vue.d.ts +2 -2
- 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.script.vue.js.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/header.script.vue.js.js +4 -1
- package/dist/components/render-dataset-list/components/header.vue.d.ts +4 -1
- package/dist/components/render-dataset-list/components/main.script.vue.js.js +27 -7
- package/dist/components/render-dataset-list/components/main.vue.css +3 -3
- package/dist/components/render-dataset-list/components/main.vue.d.ts +11 -5
- package/dist/components/render-dataset-list/components/main.vue.js +1 -1
- package/dist/components/render-dataset-list/components/table.script.vue.js.js +19 -7
- package/dist/components/render-dataset-list/components/table.vue.d.ts +11 -2
- package/dist/components/render-dataset-list/index.script.vue.js.js +30 -14
- package/dist/components/render-dataset-list/index.vue.css +1 -1
- package/dist/components/render-dataset-list/index.vue.d.ts +1 -6
- package/dist/components/render-dataset-list/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 +5 -5
- package/dist/components/render-file-type-icon/index.vue.js +1 -1
- package/dist/components/render-header/index.vue.css +3 -3
- package/dist/components/render-header/index.vue.js +1 -1
- package/dist/components/render-like/index.vue.css +5 -5
- package/dist/components/render-like/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-tag-tree/index.script.vue.js.js +6 -2
- package/dist/components/render-tag-tree/index.vue.css +7 -7
- package/dist/components/render-tag-tree/index.vue.d.ts +5 -2
- package/dist/components/render-tag-tree/index.vue.js +1 -1
- package/dist/types/enum.d.ts +1 -1
- package/dist/types/enum.ts.js +1 -1
- package/package.json +1 -1
|
@@ -5,7 +5,10 @@ interface IProps {
|
|
|
5
5
|
isInternal?: boolean;
|
|
6
6
|
groupType: GroupType;
|
|
7
7
|
}
|
|
8
|
-
|
|
8
|
+
interface IExpose {
|
|
9
|
+
handleGetDatasetMineInfo: () => void;
|
|
10
|
+
}
|
|
11
|
+
declare const __VLS_export: import("vue").DefineComponent<IProps, IExpose, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
9
12
|
"update:groupType": (groupType: GroupType) => any;
|
|
10
13
|
}, string, import("vue").PublicProps, Readonly<IProps> & Readonly<{
|
|
11
14
|
"onUpdate:groupType"?: (groupType: GroupType) => any;
|
|
@@ -34,18 +34,33 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
34
34
|
codePlaceholder: {}
|
|
35
35
|
},
|
|
36
36
|
emits: [
|
|
37
|
-
"success-
|
|
37
|
+
"success-create",
|
|
38
|
+
"success-delete",
|
|
39
|
+
"success-edit"
|
|
38
40
|
],
|
|
39
|
-
setup (__props, { emit: __emit }) {
|
|
41
|
+
setup (__props, { expose: __expose, emit: __emit }) {
|
|
40
42
|
const emits = __emit;
|
|
41
43
|
const search = ref({});
|
|
42
44
|
const isShowCreateDataset = ref(false);
|
|
45
|
+
const tableRef = ref();
|
|
43
46
|
const handleShowCreateDataset = ()=>{
|
|
44
47
|
isShowCreateDataset.value = true;
|
|
45
48
|
};
|
|
46
|
-
const handleSuccessPlusDataset = (
|
|
47
|
-
emits('success-
|
|
49
|
+
const handleSuccessPlusDataset = ()=>{
|
|
50
|
+
emits('success-create');
|
|
48
51
|
};
|
|
52
|
+
const handleSuccessDelete = ()=>{
|
|
53
|
+
emits('success-delete');
|
|
54
|
+
};
|
|
55
|
+
const handleSuccessEdit = ()=>{
|
|
56
|
+
emits('success-edit');
|
|
57
|
+
};
|
|
58
|
+
const handleGetDatasetData = ()=>{
|
|
59
|
+
tableRef.value.handleGetDatasetData();
|
|
60
|
+
};
|
|
61
|
+
__expose({
|
|
62
|
+
handleGetDatasetData
|
|
63
|
+
});
|
|
49
64
|
return (_ctx, _cache)=>{
|
|
50
65
|
const _component_bk_button = _resolveComponent("bk-button");
|
|
51
66
|
return _openBlock(), _createElementBlock("article", _hoisted_1, [
|
|
@@ -57,7 +72,8 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
57
72
|
"manage-dataset": true,
|
|
58
73
|
"api-prefix": _ctx.apiPrefix,
|
|
59
74
|
"space-id": _ctx.spaceId,
|
|
60
|
-
"is-internal": _ctx.isInternal
|
|
75
|
+
"is-internal": _ctx.isInternal,
|
|
76
|
+
onSuccessCreate: handleGetDatasetData
|
|
61
77
|
}, null, 8 /* PROPS */ , [
|
|
62
78
|
"api-prefix",
|
|
63
79
|
"space-id",
|
|
@@ -97,7 +113,11 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
97
113
|
search: search.value,
|
|
98
114
|
"group-type": _ctx.groupType,
|
|
99
115
|
"tag-id": _ctx.tagId,
|
|
100
|
-
"tag-name": _ctx.tagName
|
|
116
|
+
"tag-name": _ctx.tagName,
|
|
117
|
+
ref_key: "tableRef",
|
|
118
|
+
ref: tableRef,
|
|
119
|
+
onSuccessDelete: handleSuccessDelete,
|
|
120
|
+
onSuccessEdit: handleSuccessEdit
|
|
101
121
|
}, null, 8 /* PROPS */ , [
|
|
102
122
|
"api-prefix",
|
|
103
123
|
"space-id",
|
|
@@ -117,7 +137,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
117
137
|
"is-internal": _ctx.isInternal,
|
|
118
138
|
"name-placeholder": _ctx.namePlaceholder,
|
|
119
139
|
"code-placeholder": _ctx.codePlaceholder,
|
|
120
|
-
|
|
140
|
+
onSuccessSave: handleSuccessPlusDataset
|
|
121
141
|
}, null, 8 /* PROPS */ , [
|
|
122
142
|
"modelValue",
|
|
123
143
|
"api-prefix",
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
|
|
2
|
-
.main-content[data-v-
|
|
2
|
+
.main-content[data-v-stbsidcb] {
|
|
3
3
|
padding: 20px 24px;
|
|
4
4
|
height: 100%;
|
|
5
5
|
}
|
|
6
|
-
.main-panel[data-v-
|
|
6
|
+
.main-panel[data-v-stbsidcb] {
|
|
7
7
|
height: 100%;
|
|
8
8
|
padding: 20px 24px 0;
|
|
9
9
|
background: #ffffff;
|
|
10
10
|
box-shadow: 0 2px 4px 0 #1919290d;
|
|
11
11
|
border-radius: 2px;
|
|
12
12
|
}
|
|
13
|
-
.main-search[data-v-
|
|
13
|
+
.main-search[data-v-stbsidcb] {
|
|
14
14
|
width: 6.17rem;
|
|
15
15
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { IDataset } from '@/types/dataset';
|
|
2
1
|
import { GroupType } from '@/types/enum';
|
|
3
2
|
interface IProps {
|
|
4
3
|
apiPrefix: string;
|
|
@@ -6,15 +5,22 @@ interface IProps {
|
|
|
6
5
|
reviewDataset?: boolean;
|
|
7
6
|
spaceId?: string;
|
|
8
7
|
groupType: GroupType;
|
|
9
|
-
tagId
|
|
8
|
+
tagId?: number;
|
|
10
9
|
tagName: string;
|
|
11
10
|
namePlaceholder?: string;
|
|
12
11
|
codePlaceholder?: string;
|
|
13
12
|
}
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
interface IExpose {
|
|
14
|
+
handleGetDatasetData: () => void;
|
|
15
|
+
}
|
|
16
|
+
declare const __VLS_export: import("vue").DefineComponent<IProps, IExpose, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
17
|
+
"success-create": () => any;
|
|
18
|
+
"success-edit": () => any;
|
|
19
|
+
"success-delete": () => any;
|
|
16
20
|
}, string, import("vue").PublicProps, Readonly<IProps> & Readonly<{
|
|
17
|
-
"onSuccess-
|
|
21
|
+
"onSuccess-create"?: () => any;
|
|
22
|
+
"onSuccess-edit"?: () => any;
|
|
23
|
+
"onSuccess-delete"?: () => any;
|
|
18
24
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
25
|
declare const _default: typeof __VLS_export;
|
|
20
26
|
export default _default;
|
|
@@ -87,8 +87,13 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
87
87
|
tagId: {},
|
|
88
88
|
tagName: {}
|
|
89
89
|
},
|
|
90
|
-
|
|
90
|
+
emits: [
|
|
91
|
+
"success-delete",
|
|
92
|
+
"success-edit"
|
|
93
|
+
],
|
|
94
|
+
setup (__props, { expose: __expose, emit: __emit }) {
|
|
91
95
|
const props = __props;
|
|
96
|
+
const emits = __emit;
|
|
92
97
|
const router = useRouter();
|
|
93
98
|
const { getDatasetList, deleteDataset } = useDatasetHttp(props.apiPrefix, toRef(props, 'spaceId'));
|
|
94
99
|
const { handleMouseEnter, handleMouseMove, handleMouseLeave, handleMouseClick } = usePermission(props.apiPrefix, toRef(props, 'spaceId'), '#4d4f56');
|
|
@@ -206,7 +211,12 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
206
211
|
};
|
|
207
212
|
const handleDeleteDataset = (row)=>{
|
|
208
213
|
handleHidePopover(row);
|
|
209
|
-
deleteDataset(row.id).then(
|
|
214
|
+
deleteDataset(row.id).then(()=>{
|
|
215
|
+
emits('success-delete');
|
|
216
|
+
});
|
|
217
|
+
};
|
|
218
|
+
const handleSuccessEditDataset = ()=>{
|
|
219
|
+
emits('success-edit');
|
|
210
220
|
};
|
|
211
221
|
const handleGetDatasetData = (row)=>{
|
|
212
222
|
return {
|
|
@@ -234,6 +244,9 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
234
244
|
immediate: true,
|
|
235
245
|
deep: true
|
|
236
246
|
});
|
|
247
|
+
__expose({
|
|
248
|
+
handleGetDatasetData: triggerApi
|
|
249
|
+
});
|
|
237
250
|
return (_ctx, _cache)=>{
|
|
238
251
|
var _tempDataset_value;
|
|
239
252
|
const _component_bk_button = _resolveComponent("bk-button");
|
|
@@ -379,14 +392,14 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
379
392
|
"is-internal": _ctx.isInternal,
|
|
380
393
|
"manage-dataset": isDatasetManagePermission(row),
|
|
381
394
|
"dataset-data": handleGetDatasetData(row),
|
|
382
|
-
|
|
395
|
+
onSuccessCreate: _unref(triggerApi)
|
|
383
396
|
}, null, 8 /* PROPS */ , [
|
|
384
397
|
"api-prefix",
|
|
385
398
|
"space-id",
|
|
386
399
|
"is-internal",
|
|
387
400
|
"manage-dataset",
|
|
388
401
|
"dataset-data",
|
|
389
|
-
"
|
|
402
|
+
"onSuccessCreate"
|
|
390
403
|
]),
|
|
391
404
|
_createVNode(_component_bk_button, {
|
|
392
405
|
text: "",
|
|
@@ -553,14 +566,13 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
553
566
|
"space-id": _ctx.spaceId,
|
|
554
567
|
"is-internal": _ctx.isInternal,
|
|
555
568
|
dataset: tempDataset.value,
|
|
556
|
-
|
|
569
|
+
onSuccessSave: handleSuccessEditDataset
|
|
557
570
|
}, null, 8 /* PROPS */ , [
|
|
558
571
|
"modelValue",
|
|
559
572
|
"api-prefix",
|
|
560
573
|
"space-id",
|
|
561
574
|
"is-internal",
|
|
562
|
-
"dataset"
|
|
563
|
-
"onSuccessPlus"
|
|
575
|
+
"dataset"
|
|
564
576
|
]),
|
|
565
577
|
_createVNode(OperationRecord, {
|
|
566
578
|
modelValue: isShowOperationRecord.value,
|
|
@@ -7,9 +7,18 @@ interface IProps {
|
|
|
7
7
|
search: IDatasetListParam;
|
|
8
8
|
spaceId?: string;
|
|
9
9
|
groupType: GroupType;
|
|
10
|
-
tagId
|
|
10
|
+
tagId?: number;
|
|
11
11
|
tagName: string;
|
|
12
12
|
}
|
|
13
|
-
|
|
13
|
+
interface IExpose {
|
|
14
|
+
handleGetDatasetData: () => void;
|
|
15
|
+
}
|
|
16
|
+
declare const __VLS_export: import("vue").DefineComponent<IProps, IExpose, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
17
|
+
"success-edit": () => any;
|
|
18
|
+
"success-delete": () => any;
|
|
19
|
+
}, string, import("vue").PublicProps, Readonly<IProps> & Readonly<{
|
|
20
|
+
"onSuccess-edit"?: () => any;
|
|
21
|
+
"onSuccess-delete"?: () => any;
|
|
22
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
23
|
declare const _default: typeof __VLS_export;
|
|
15
24
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as _defineComponent } from 'vue';
|
|
2
|
-
import { createVNode as _createVNode, unref as _unref, resolveComponent as _resolveComponent, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock,
|
|
2
|
+
import { createVNode as _createVNode, unref as _unref, resolveComponent as _resolveComponent, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createElementBlock as _createElementBlock } from "vue";
|
|
3
3
|
import { ref } from 'vue';
|
|
4
4
|
import RenderHeader from './components/header.vue.js';
|
|
5
5
|
import RenderMain from './components/main.vue.js';
|
|
@@ -18,26 +18,32 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
18
18
|
namePlaceholder: {},
|
|
19
19
|
codePlaceholder: {}
|
|
20
20
|
},
|
|
21
|
-
|
|
22
|
-
"success-plus-dataset"
|
|
23
|
-
],
|
|
24
|
-
setup (__props, { emit: __emit }) {
|
|
25
|
-
const emits = __emit;
|
|
21
|
+
setup (__props) {
|
|
26
22
|
const groupType = ref(GroupType.All);
|
|
27
23
|
const tagId = ref();
|
|
28
24
|
const tagName = ref('');
|
|
29
|
-
const
|
|
30
|
-
|
|
25
|
+
const headerRef = ref();
|
|
26
|
+
const mainRef = ref();
|
|
27
|
+
const tagTreeRef = ref();
|
|
28
|
+
const handleUpdateAll = ()=>{
|
|
29
|
+
handleUpdateInfoAndList();
|
|
30
|
+
tagTreeRef.value.handleGetTagsTree();
|
|
31
|
+
};
|
|
32
|
+
const handleUpdateInfoAndList = ()=>{
|
|
33
|
+
headerRef.value.handleGetDatasetMineInfo();
|
|
34
|
+
mainRef.value.handleGetDatasetData();
|
|
31
35
|
};
|
|
32
36
|
return (_ctx, _cache)=>{
|
|
33
37
|
const _component_bk_resize_layout = _resolveComponent("bk-resize-layout");
|
|
34
|
-
return _openBlock(), _createElementBlock(
|
|
38
|
+
return _openBlock(), _createElementBlock("article", null, [
|
|
35
39
|
_createVNode(RenderHeader, {
|
|
36
40
|
"group-type": groupType.value,
|
|
37
41
|
"onUpdate:groupType": _cache[0] || (_cache[0] = ($event)=>groupType.value = $event),
|
|
38
42
|
"api-prefix": _ctx.apiPrefix,
|
|
39
43
|
"space-id": _ctx.spaceId,
|
|
40
|
-
"is-internal": _ctx.isInternal
|
|
44
|
+
"is-internal": _ctx.isInternal,
|
|
45
|
+
ref_key: "headerRef",
|
|
46
|
+
ref: headerRef
|
|
41
47
|
}, null, 8 /* PROPS */ , [
|
|
42
48
|
"group-type",
|
|
43
49
|
"api-prefix",
|
|
@@ -64,7 +70,9 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
64
70
|
module: _unref(Module).Dataset,
|
|
65
71
|
"sub-module": _unref(Module).Dataset,
|
|
66
72
|
"api-prefix": _ctx.apiPrefix,
|
|
67
|
-
"space-id": _ctx.spaceId
|
|
73
|
+
"space-id": _ctx.spaceId,
|
|
74
|
+
ref_key: "tagTreeRef",
|
|
75
|
+
ref: tagTreeRef
|
|
68
76
|
}, null, 8 /* PROPS */ , [
|
|
69
77
|
"tag-id",
|
|
70
78
|
"tag-name",
|
|
@@ -86,7 +94,11 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
86
94
|
"tag-name": tagName.value,
|
|
87
95
|
"name-placeholder": _ctx.namePlaceholder,
|
|
88
96
|
"code-placeholder": _ctx.codePlaceholder,
|
|
89
|
-
|
|
97
|
+
ref_key: "mainRef",
|
|
98
|
+
ref: mainRef,
|
|
99
|
+
onSuccessCreate: handleUpdateAll,
|
|
100
|
+
onSuccessDelete: handleUpdateAll,
|
|
101
|
+
onSuccessEdit: handleUpdateInfoAndList
|
|
90
102
|
}, null, 8 /* PROPS */ , [
|
|
91
103
|
"api-prefix",
|
|
92
104
|
"space-id",
|
|
@@ -111,7 +123,11 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
111
123
|
"tag-name": tagName.value,
|
|
112
124
|
"name-placeholder": _ctx.namePlaceholder,
|
|
113
125
|
"code-placeholder": _ctx.codePlaceholder,
|
|
114
|
-
|
|
126
|
+
ref_key: "mainRef",
|
|
127
|
+
ref: mainRef,
|
|
128
|
+
onSuccessCreate: handleUpdateAll,
|
|
129
|
+
onSuccessDelete: handleUpdateAll,
|
|
130
|
+
onSuccessEdit: handleUpdateInfoAndList
|
|
115
131
|
}, null, 8 /* PROPS */ , [
|
|
116
132
|
"api-prefix",
|
|
117
133
|
"space-id",
|
|
@@ -123,7 +139,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
123
139
|
"name-placeholder",
|
|
124
140
|
"code-placeholder"
|
|
125
141
|
]))
|
|
126
|
-
]
|
|
142
|
+
]);
|
|
127
143
|
};
|
|
128
144
|
}
|
|
129
145
|
});
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { IDataset } from '@/types/dataset';
|
|
2
1
|
interface IProps {
|
|
3
2
|
apiPrefix: string;
|
|
4
3
|
spaceId?: string;
|
|
@@ -7,10 +6,6 @@ interface IProps {
|
|
|
7
6
|
namePlaceholder?: string;
|
|
8
7
|
codePlaceholder?: string;
|
|
9
8
|
}
|
|
10
|
-
declare const __VLS_export: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
11
|
-
"success-plus-dataset": (data: IDataset) => any;
|
|
12
|
-
}, string, import("vue").PublicProps, Readonly<IProps> & Readonly<{
|
|
13
|
-
"onSuccess-plus-dataset"?: (data: IDataset) => any;
|
|
14
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
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>;
|
|
15
10
|
declare const _default: typeof __VLS_export;
|
|
16
11
|
export default _default;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
|
|
2
|
-
.upload-file-home[data-v-
|
|
2
|
+
.upload-file-home[data-v-9v4l4218] {
|
|
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-
|
|
9
|
+
.upload-file-home[data-v-9v4l4218]:hover {
|
|
10
10
|
border: 1px solid #3A84FF;
|
|
11
11
|
}
|
|
12
|
-
.upload-file-home:hover .file-icons[data-v-
|
|
12
|
+
.upload-file-home:hover .file-icons[data-v-9v4l4218] {
|
|
13
13
|
display: flex;
|
|
14
14
|
}
|
|
15
|
-
.upload-file-home .file-icon[data-v-
|
|
15
|
+
.upload-file-home .file-icon[data-v-9v4l4218] {
|
|
16
16
|
font-size: 32px;
|
|
17
17
|
}
|
|
18
|
-
.upload-file-home .file-content[data-v-
|
|
18
|
+
.upload-file-home .file-content[data-v-9v4l4218] {
|
|
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-
|
|
26
|
+
.upload-file-home .file-content .file-name[data-v-9v4l4218] {
|
|
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-
|
|
31
|
+
.upload-file-home .file-content .file-size[data-v-9v4l4218] {
|
|
32
32
|
font-size: 12px;
|
|
33
33
|
color: #979BA5;
|
|
34
34
|
line-height: 20px;
|
|
35
35
|
}
|
|
36
|
-
.upload-file-home .file-icons[data-v-
|
|
36
|
+
.upload-file-home .file-icons[data-v-9v4l4218] {
|
|
37
37
|
display: none;
|
|
38
38
|
color: #979BA5;
|
|
39
39
|
}
|
|
40
|
-
.upload-file-home .file-icons .bkaidev-icon[data-v-
|
|
40
|
+
.upload-file-home .file-icons .bkaidev-icon[data-v-9v4l4218] {
|
|
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-
|
|
45
|
+
.upload-file-home .file-icons .bkaidev-icon[data-v-9v4l4218]:hover {
|
|
46
46
|
color: #3A84FF;
|
|
47
47
|
}
|
|
48
|
-
.upload-file-home .file-icons .bkaidev-delete[data-v-
|
|
48
|
+
.upload-file-home .file-icons .bkaidev-delete[data-v-9v4l4218] {
|
|
49
49
|
margin: 0;
|
|
50
50
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
|
|
2
|
-
.ai-ui-sdk-icon.ai-ui-sdk-pdf[data-v-
|
|
2
|
+
.ai-ui-sdk-icon.ai-ui-sdk-pdf[data-v-o1t7pk06] {
|
|
3
3
|
color: #EA3636;
|
|
4
4
|
}
|
|
5
|
-
.ai-ui-sdk-icon.ai-ui-sdk-doc-2[data-v-
|
|
5
|
+
.ai-ui-sdk-icon.ai-ui-sdk-doc-2[data-v-o1t7pk06], .ai-ui-sdk-icon.ai-ui-sdk-ppt-2[data-v-o1t7pk06], .ai-ui-sdk-icon.ai-ui-sdk-markdown[data-v-o1t7pk06] {
|
|
6
6
|
color: #3A84FF;
|
|
7
7
|
}
|
|
8
|
-
.ai-ui-sdk-icon.ai-ui-sdk-folder-fill[data-v-
|
|
8
|
+
.ai-ui-sdk-icon.ai-ui-sdk-folder-fill[data-v-o1t7pk06] {
|
|
9
9
|
color: #C4C6CC;
|
|
10
10
|
}
|
|
11
|
-
.ai-ui-sdk-icon.ai-ui-sdk-excel[data-v-
|
|
11
|
+
.ai-ui-sdk-icon.ai-ui-sdk-excel[data-v-o1t7pk06] {
|
|
12
12
|
color: #2DCB56;
|
|
13
13
|
}
|
|
14
|
-
.ai-ui-sdk-icon.ai-ui-sdk-wangye[data-v-
|
|
14
|
+
.ai-ui-sdk-icon.ai-ui-sdk-wangye[data-v-o1t7pk06] {
|
|
15
15
|
color: #14A568;
|
|
16
16
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
|
|
2
|
-
.header-home[data-v-
|
|
2
|
+
.header-home[data-v-9aybjs29] {
|
|
3
3
|
width: 100%;
|
|
4
4
|
background: #FFFFFF;
|
|
5
5
|
box-shadow: 0 3px 4px 0 #0000000a;
|
|
6
6
|
}
|
|
7
|
-
.render-tab[data-v-
|
|
7
|
+
.render-tab[data-v-9aybjs29] {
|
|
8
8
|
border-bottom: 2px solid transparent;
|
|
9
9
|
}
|
|
10
|
-
.render-tab.active[data-v-
|
|
10
|
+
.render-tab.active[data-v-9aybjs29] {
|
|
11
11
|
color: #3A84FF;
|
|
12
12
|
border-bottom: 2px solid #3A84FF;
|
|
13
13
|
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
|
|
2
|
-
.dislike-icon[data-v-
|
|
2
|
+
.dislike-icon[data-v-8569c894] {
|
|
3
3
|
transform: rotateX(180deg);
|
|
4
4
|
}
|
|
5
|
-
.option-items[data-v-
|
|
5
|
+
.option-items[data-v-8569c894] {
|
|
6
6
|
padding: 1px 8px;
|
|
7
7
|
background-color: #F0F1F5;
|
|
8
8
|
border-radius: 2px;
|
|
9
9
|
}
|
|
10
|
-
.option-items[data-v-
|
|
10
|
+
.option-items[data-v-8569c894]:hover {
|
|
11
11
|
background-color: #E1ECFF;
|
|
12
12
|
color: #3A84FF;
|
|
13
13
|
}
|
|
14
|
-
.option-items-selected[data-v-
|
|
14
|
+
.option-items-selected[data-v-8569c894]{
|
|
15
15
|
background-color: #E1ECFF;
|
|
16
16
|
}
|
|
17
|
-
[data-v-
|
|
17
|
+
[data-v-8569c894] .bk-form-item {
|
|
18
18
|
margin-bottom: 17px;
|
|
19
19
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
.router-tab[data-v-
|
|
2
|
+
.router-tab[data-v-7hhhplqz] {
|
|
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-
|
|
9
|
+
.router-tab a[data-v-7hhhplqz] {
|
|
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-7hhhplqz] {
|
|
19
19
|
color: #3A84FF;
|
|
20
20
|
border-bottom: 2px solid #3A84FF;
|
|
21
21
|
}
|
|
@@ -37,7 +37,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
37
37
|
"update:tag-id",
|
|
38
38
|
"update:tagName"
|
|
39
39
|
],
|
|
40
|
-
setup (__props, { emit: __emit }) {
|
|
40
|
+
setup (__props, { expose: __expose, emit: __emit }) {
|
|
41
41
|
const props = __props;
|
|
42
42
|
const emit = __emit;
|
|
43
43
|
const { getTagTree } = useCommonHttp(props.apiPrefix, toRef(props, 'spaceId'));
|
|
@@ -77,10 +77,14 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
77
77
|
};
|
|
78
78
|
watch(()=>[
|
|
79
79
|
props.tagName,
|
|
80
|
-
props.groupType
|
|
80
|
+
props.groupType,
|
|
81
|
+
props.spaceId
|
|
81
82
|
], handleGetTagsTree, {
|
|
82
83
|
immediate: true
|
|
83
84
|
});
|
|
85
|
+
__expose({
|
|
86
|
+
handleGetTagsTree
|
|
87
|
+
});
|
|
84
88
|
return (_ctx, _cache)=>{
|
|
85
89
|
const _component_bk_input = _resolveComponent("bk-input");
|
|
86
90
|
const _directive_bkloading = _resolveDirective("bkloading");
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
|
|
2
|
-
.tag-tree[data-v-
|
|
2
|
+
.tag-tree[data-v-k9ubxi0a] {
|
|
3
3
|
font-size: 12px;
|
|
4
4
|
height: auto;
|
|
5
5
|
}
|
|
6
|
-
.tag-tree .manage-tree-item[data-v-
|
|
6
|
+
.tag-tree .manage-tree-item[data-v-k9ubxi0a] {
|
|
7
7
|
height: 32px;
|
|
8
8
|
flex: 1;
|
|
9
9
|
}
|
|
10
|
-
.tag-tree .quick-icon[data-v-
|
|
10
|
+
.tag-tree .quick-icon[data-v-k9ubxi0a] {
|
|
11
11
|
margin-left: -24px;
|
|
12
12
|
padding-left: 8px;
|
|
13
13
|
}
|
|
14
|
-
.tag-tree[data-v-
|
|
14
|
+
.tag-tree[data-v-k9ubxi0a] .tree-item:has(.quick-icon.ai-ui-sdk-wubiaoqian) {
|
|
15
15
|
border-bottom: 1px solid #F0F1F5;
|
|
16
16
|
}
|
|
17
|
-
.tag-tree[data-v-
|
|
17
|
+
.tag-tree[data-v-k9ubxi0a] .tree-item.active .quick-icon {
|
|
18
18
|
color: #3A84FF;
|
|
19
19
|
}
|
|
20
|
-
.tag-tree[data-v-
|
|
20
|
+
.tag-tree[data-v-k9ubxi0a] .tree-item.active .tag-number {
|
|
21
21
|
background: #A3C5FD;
|
|
22
22
|
color: #fff;
|
|
23
23
|
}
|
|
24
|
-
.tag-number[data-v-
|
|
24
|
+
.tag-number[data-v-k9ubxi0a] {
|
|
25
25
|
line-height: 16px;
|
|
26
26
|
padding: 0 4px;
|
|
27
27
|
background-color: #F0F1F5;
|
|
@@ -3,12 +3,15 @@ interface IProps {
|
|
|
3
3
|
module: Module;
|
|
4
4
|
subModule: Module;
|
|
5
5
|
tagName: string;
|
|
6
|
-
tagId
|
|
6
|
+
tagId?: number;
|
|
7
7
|
groupType?: GroupType;
|
|
8
8
|
apiPrefix: string;
|
|
9
9
|
spaceId?: string;
|
|
10
10
|
}
|
|
11
|
-
|
|
11
|
+
interface IExpose {
|
|
12
|
+
handleGetTagsTree: () => void;
|
|
13
|
+
}
|
|
14
|
+
declare const __VLS_export: import("vue").DefineComponent<IProps, IExpose, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
12
15
|
"update:tag-id": (tagId: number) => any;
|
|
13
16
|
"update:tagName": (tagName: string) => any;
|
|
14
17
|
}, string, import("vue").PublicProps, Readonly<IProps> & Readonly<{
|