@blueking/ai-ui-sdk 0.1.19-beta.4 → 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.script.vue.js.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 +8 -4
- 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/css/fonts/iconcool.eot +0 -0
- package/dist/css/fonts/iconcool.svg +2 -2
- package/dist/css/fonts/iconcool.ttf +0 -0
- package/dist/css/fonts/iconcool.woff +0 -0
- package/dist/css/iconcool.js +1 -1
- package/dist/css/style.css +2 -2
- package/dist/css/tailwind.css +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,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as _defineComponent } from 'vue';
|
|
2
2
|
import { renderSlot as _renderSlot, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, normalizeClass as _normalizeClass, createCommentVNode as _createCommentVNode } from "vue";
|
|
3
3
|
const _hoisted_1 = {
|
|
4
|
-
class: "header-home g-pl-24"
|
|
4
|
+
class: "header-home g-pl-24 g-pr-24"
|
|
5
5
|
};
|
|
6
6
|
const _hoisted_2 = {
|
|
7
7
|
class: "g-learning-24 g-text-black g-text-16 g-pt-14 g-pb-14"
|
|
@@ -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
|
}
|
|
@@ -5,11 +5,11 @@ const _hoisted_1 = {
|
|
|
5
5
|
};
|
|
6
6
|
const _hoisted_2 = {
|
|
7
7
|
key: 0,
|
|
8
|
-
class: "quick-icon ai-ui-sdk-icon ai-ui-sdk-quanbu-xuanzhong g-text-
|
|
8
|
+
class: "quick-icon ai-ui-sdk-icon ai-ui-sdk-quanbu-xuanzhong g-text-18 g-mr-8 g-text-gray"
|
|
9
9
|
};
|
|
10
10
|
const _hoisted_3 = {
|
|
11
11
|
key: 1,
|
|
12
|
-
class: "quick-icon ai-ui-sdk-icon ai-ui-sdk-wubiaoqian g-text-
|
|
12
|
+
class: "quick-icon ai-ui-sdk-icon ai-ui-sdk-wubiaoqian g-text-18 g-mr-8 g-text-gray"
|
|
13
13
|
};
|
|
14
14
|
const _hoisted_4 = {
|
|
15
15
|
class: "g-flex-row manage-tree-item"
|
|
@@ -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<{
|
|
Binary file
|
|
@@ -152,10 +152,10 @@
|
|
|
152
152
|
<glyph glyph-name="uniE123" unicode="" 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="
|
|
155
|
+
<glyph glyph-name="uniE12C" unicode="" 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" />
|
|
156
156
|
|
|
157
157
|
|
|
158
|
-
<glyph glyph-name="
|
|
158
|
+
<glyph glyph-name="uniE12E" unicode="" 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
161
|
|
|
Binary file
|
|
Binary file
|