@blueking/ai-ui-sdk 0.1.19-beta.5 → 0.1.19-beta.6
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 +8 -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.vue.css +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 +21 -6
- package/dist/components/render-dataset-list/components/main.vue.css +3 -3
- package/dist/components/render-dataset-list/components/main.vue.d.ts +9 -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 +13 -4
- package/dist/components/render-dataset-list/components/table.vue.d.ts +9 -2
- package/dist/components/render-dataset-list/index.script.vue.js.js +22 -11
- 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
|
@@ -34,18 +34,29 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
34
34
|
codePlaceholder: {}
|
|
35
35
|
},
|
|
36
36
|
emits: [
|
|
37
|
-
"success-
|
|
37
|
+
"success-create",
|
|
38
|
+
"success-delete"
|
|
38
39
|
],
|
|
39
|
-
setup (__props, { emit: __emit }) {
|
|
40
|
+
setup (__props, { expose: __expose, emit: __emit }) {
|
|
40
41
|
const emits = __emit;
|
|
41
42
|
const search = ref({});
|
|
42
43
|
const isShowCreateDataset = ref(false);
|
|
44
|
+
const tableRef = ref();
|
|
43
45
|
const handleShowCreateDataset = ()=>{
|
|
44
46
|
isShowCreateDataset.value = true;
|
|
45
47
|
};
|
|
46
|
-
const handleSuccessPlusDataset = (
|
|
47
|
-
emits('success-
|
|
48
|
+
const handleSuccessPlusDataset = ()=>{
|
|
49
|
+
emits('success-create');
|
|
48
50
|
};
|
|
51
|
+
const handleSuccessDelete = ()=>{
|
|
52
|
+
emits('success-delete');
|
|
53
|
+
};
|
|
54
|
+
const handleGetDatasetData = ()=>{
|
|
55
|
+
tableRef.value.handleGetDatasetData();
|
|
56
|
+
};
|
|
57
|
+
__expose({
|
|
58
|
+
handleGetDatasetData
|
|
59
|
+
});
|
|
49
60
|
return (_ctx, _cache)=>{
|
|
50
61
|
const _component_bk_button = _resolveComponent("bk-button");
|
|
51
62
|
return _openBlock(), _createElementBlock("article", _hoisted_1, [
|
|
@@ -57,7 +68,8 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
57
68
|
"manage-dataset": true,
|
|
58
69
|
"api-prefix": _ctx.apiPrefix,
|
|
59
70
|
"space-id": _ctx.spaceId,
|
|
60
|
-
"is-internal": _ctx.isInternal
|
|
71
|
+
"is-internal": _ctx.isInternal,
|
|
72
|
+
onSuccessCreate: handleGetDatasetData
|
|
61
73
|
}, null, 8 /* PROPS */ , [
|
|
62
74
|
"api-prefix",
|
|
63
75
|
"space-id",
|
|
@@ -97,7 +109,10 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
97
109
|
search: search.value,
|
|
98
110
|
"group-type": _ctx.groupType,
|
|
99
111
|
"tag-id": _ctx.tagId,
|
|
100
|
-
"tag-name": _ctx.tagName
|
|
112
|
+
"tag-name": _ctx.tagName,
|
|
113
|
+
ref_key: "tableRef",
|
|
114
|
+
ref: tableRef,
|
|
115
|
+
onSuccessDelete: handleSuccessDelete
|
|
101
116
|
}, null, 8 /* PROPS */ , [
|
|
102
117
|
"api-prefix",
|
|
103
118
|
"space-id",
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
|
|
2
|
-
.main-content[data-v-
|
|
2
|
+
.main-content[data-v-zzp809bt] {
|
|
3
3
|
padding: 20px 24px;
|
|
4
4
|
height: 100%;
|
|
5
5
|
}
|
|
6
|
-
.main-panel[data-v-
|
|
6
|
+
.main-panel[data-v-zzp809bt] {
|
|
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-zzp809bt] {
|
|
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,20 @@ 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-delete": () => any;
|
|
16
19
|
}, string, import("vue").PublicProps, Readonly<IProps> & Readonly<{
|
|
17
|
-
"onSuccess-
|
|
20
|
+
"onSuccess-create"?: () => any;
|
|
21
|
+
"onSuccess-delete"?: () => any;
|
|
18
22
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
23
|
declare const _default: typeof __VLS_export;
|
|
20
24
|
export default _default;
|
|
@@ -87,8 +87,12 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
87
87
|
tagId: {},
|
|
88
88
|
tagName: {}
|
|
89
89
|
},
|
|
90
|
-
|
|
90
|
+
emits: [
|
|
91
|
+
"success-delete"
|
|
92
|
+
],
|
|
93
|
+
setup (__props, { expose: __expose, emit: __emit }) {
|
|
91
94
|
const props = __props;
|
|
95
|
+
const emits = __emit;
|
|
92
96
|
const router = useRouter();
|
|
93
97
|
const { getDatasetList, deleteDataset } = useDatasetHttp(props.apiPrefix, toRef(props, 'spaceId'));
|
|
94
98
|
const { handleMouseEnter, handleMouseMove, handleMouseLeave, handleMouseClick } = usePermission(props.apiPrefix, toRef(props, 'spaceId'), '#4d4f56');
|
|
@@ -206,7 +210,9 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
206
210
|
};
|
|
207
211
|
const handleDeleteDataset = (row)=>{
|
|
208
212
|
handleHidePopover(row);
|
|
209
|
-
deleteDataset(row.id).then(
|
|
213
|
+
deleteDataset(row.id).then(()=>{
|
|
214
|
+
emits('success-delete');
|
|
215
|
+
});
|
|
210
216
|
};
|
|
211
217
|
const handleGetDatasetData = (row)=>{
|
|
212
218
|
return {
|
|
@@ -234,6 +240,9 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
234
240
|
immediate: true,
|
|
235
241
|
deep: true
|
|
236
242
|
});
|
|
243
|
+
__expose({
|
|
244
|
+
handleGetDatasetData: triggerApi
|
|
245
|
+
});
|
|
237
246
|
return (_ctx, _cache)=>{
|
|
238
247
|
var _tempDataset_value;
|
|
239
248
|
const _component_bk_button = _resolveComponent("bk-button");
|
|
@@ -379,14 +388,14 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
379
388
|
"is-internal": _ctx.isInternal,
|
|
380
389
|
"manage-dataset": isDatasetManagePermission(row),
|
|
381
390
|
"dataset-data": handleGetDatasetData(row),
|
|
382
|
-
|
|
391
|
+
onSuccessCreate: _unref(triggerApi)
|
|
383
392
|
}, null, 8 /* PROPS */ , [
|
|
384
393
|
"api-prefix",
|
|
385
394
|
"space-id",
|
|
386
395
|
"is-internal",
|
|
387
396
|
"manage-dataset",
|
|
388
397
|
"dataset-data",
|
|
389
|
-
"
|
|
398
|
+
"onSuccessCreate"
|
|
390
399
|
]),
|
|
391
400
|
_createVNode(_component_bk_button, {
|
|
392
401
|
text: "",
|
|
@@ -7,9 +7,16 @@ 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-delete": () => any;
|
|
18
|
+
}, string, import("vue").PublicProps, Readonly<IProps> & Readonly<{
|
|
19
|
+
"onSuccess-delete"?: () => any;
|
|
20
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
21
|
declare const _default: typeof __VLS_export;
|
|
15
22
|
export default _default;
|
|
@@ -18,16 +18,17 @@ 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 handleUpdate = ()=>{
|
|
29
|
+
headerRef.value.handleGetDatasetMineInfo();
|
|
30
|
+
mainRef.value.handleGetDatasetData();
|
|
31
|
+
tagTreeRef.value.handleGetTagsTree();
|
|
31
32
|
};
|
|
32
33
|
return (_ctx, _cache)=>{
|
|
33
34
|
const _component_bk_resize_layout = _resolveComponent("bk-resize-layout");
|
|
@@ -37,7 +38,9 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
37
38
|
"onUpdate:groupType": _cache[0] || (_cache[0] = ($event)=>groupType.value = $event),
|
|
38
39
|
"api-prefix": _ctx.apiPrefix,
|
|
39
40
|
"space-id": _ctx.spaceId,
|
|
40
|
-
"is-internal": _ctx.isInternal
|
|
41
|
+
"is-internal": _ctx.isInternal,
|
|
42
|
+
ref_key: "headerRef",
|
|
43
|
+
ref: headerRef
|
|
41
44
|
}, null, 8 /* PROPS */ , [
|
|
42
45
|
"group-type",
|
|
43
46
|
"api-prefix",
|
|
@@ -64,7 +67,9 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
64
67
|
module: _unref(Module).Dataset,
|
|
65
68
|
"sub-module": _unref(Module).Dataset,
|
|
66
69
|
"api-prefix": _ctx.apiPrefix,
|
|
67
|
-
"space-id": _ctx.spaceId
|
|
70
|
+
"space-id": _ctx.spaceId,
|
|
71
|
+
ref_key: "tagTreeRef",
|
|
72
|
+
ref: tagTreeRef
|
|
68
73
|
}, null, 8 /* PROPS */ , [
|
|
69
74
|
"tag-id",
|
|
70
75
|
"tag-name",
|
|
@@ -86,7 +91,10 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
86
91
|
"tag-name": tagName.value,
|
|
87
92
|
"name-placeholder": _ctx.namePlaceholder,
|
|
88
93
|
"code-placeholder": _ctx.codePlaceholder,
|
|
89
|
-
|
|
94
|
+
ref_key: "mainRef",
|
|
95
|
+
ref: mainRef,
|
|
96
|
+
onSuccessCreate: handleUpdate,
|
|
97
|
+
onSuccessDelete: handleUpdate
|
|
90
98
|
}, null, 8 /* PROPS */ , [
|
|
91
99
|
"api-prefix",
|
|
92
100
|
"space-id",
|
|
@@ -111,7 +119,10 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
111
119
|
"tag-name": tagName.value,
|
|
112
120
|
"name-placeholder": _ctx.namePlaceholder,
|
|
113
121
|
"code-placeholder": _ctx.codePlaceholder,
|
|
114
|
-
|
|
122
|
+
ref_key: "mainRef",
|
|
123
|
+
ref: mainRef,
|
|
124
|
+
onSuccessCreate: handleUpdate,
|
|
125
|
+
onSuccessDelete: handleUpdate
|
|
115
126
|
}, null, 8 /* PROPS */ , [
|
|
116
127
|
"api-prefix",
|
|
117
128
|
"space-id",
|
|
@@ -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-2zbsm21w] {
|
|
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-2zbsm21w]: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-2zbsm21w] {
|
|
13
13
|
display: flex;
|
|
14
14
|
}
|
|
15
|
-
.upload-file-home .file-icon[data-v-
|
|
15
|
+
.upload-file-home .file-icon[data-v-2zbsm21w] {
|
|
16
16
|
font-size: 32px;
|
|
17
17
|
}
|
|
18
|
-
.upload-file-home .file-content[data-v-
|
|
18
|
+
.upload-file-home .file-content[data-v-2zbsm21w] {
|
|
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-2zbsm21w] {
|
|
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-2zbsm21w] {
|
|
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-2zbsm21w] {
|
|
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-2zbsm21w] {
|
|
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-2zbsm21w]: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-2zbsm21w] {
|
|
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-0p8ysh0z] {
|
|
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-0p8ysh0z], .ai-ui-sdk-icon.ai-ui-sdk-ppt-2[data-v-0p8ysh0z], .ai-ui-sdk-icon.ai-ui-sdk-markdown[data-v-0p8ysh0z] {
|
|
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-0p8ysh0z] {
|
|
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-0p8ysh0z] {
|
|
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-0p8ysh0z] {
|
|
15
15
|
color: #14A568;
|
|
16
16
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
|
|
2
|
-
.header-home[data-v-
|
|
2
|
+
.header-home[data-v-r1i2898e] {
|
|
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-r1i2898e] {
|
|
8
8
|
border-bottom: 2px solid transparent;
|
|
9
9
|
}
|
|
10
|
-
.render-tab.active[data-v-
|
|
10
|
+
.render-tab.active[data-v-r1i2898e] {
|
|
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-w6xdgw2h] {
|
|
3
3
|
transform: rotateX(180deg);
|
|
4
4
|
}
|
|
5
|
-
.option-items[data-v-
|
|
5
|
+
.option-items[data-v-w6xdgw2h] {
|
|
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-w6xdgw2h]:hover {
|
|
11
11
|
background-color: #E1ECFF;
|
|
12
12
|
color: #3A84FF;
|
|
13
13
|
}
|
|
14
|
-
.option-items-selected[data-v-
|
|
14
|
+
.option-items-selected[data-v-w6xdgw2h]{
|
|
15
15
|
background-color: #E1ECFF;
|
|
16
16
|
}
|
|
17
|
-
[data-v-
|
|
17
|
+
[data-v-w6xdgw2h] .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-9ysnyblx] {
|
|
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-9ysnyblx] {
|
|
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-9ysnyblx] {
|
|
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-s5t0uhcg] {
|
|
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-s5t0uhcg] {
|
|
7
7
|
height: 32px;
|
|
8
8
|
flex: 1;
|
|
9
9
|
}
|
|
10
|
-
.tag-tree .quick-icon[data-v-
|
|
10
|
+
.tag-tree .quick-icon[data-v-s5t0uhcg] {
|
|
11
11
|
margin-left: -24px;
|
|
12
12
|
padding-left: 8px;
|
|
13
13
|
}
|
|
14
|
-
.tag-tree[data-v-
|
|
14
|
+
.tag-tree[data-v-s5t0uhcg] .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-s5t0uhcg] .tree-item.active .quick-icon {
|
|
18
18
|
color: #3A84FF;
|
|
19
19
|
}
|
|
20
|
-
.tag-tree[data-v-
|
|
20
|
+
.tag-tree[data-v-s5t0uhcg] .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-s5t0uhcg] {
|
|
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<{
|
package/dist/types/enum.d.ts
CHANGED
package/dist/types/enum.ts.js
CHANGED
|
@@ -267,7 +267,7 @@ export var GroupType;
|
|
|
267
267
|
GroupType["All"] = "all";
|
|
268
268
|
GroupType["Space"] = "space";
|
|
269
269
|
GroupType["User"] = "user";
|
|
270
|
-
GroupType["
|
|
270
|
+
GroupType["Deleted"] = "deleted";
|
|
271
271
|
})(GroupType || (GroupType = {}));
|
|
272
272
|
export var OrderMethod;
|
|
273
273
|
(function(OrderMethod) {
|