@blueking/ai-ui-sdk 0.2.0-beta.2 → 0.2.0-beta.20
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.script.vue.js.js +30 -5
- package/dist/components/render-checkbox/index.vue.css +9 -9
- package/dist/components/render-checkbox/index.vue.d.ts +4 -0
- package/dist/components/render-checkbox/index.vue.js +1 -1
- package/dist/components/render-choose-tag/index.script.vue.js.js +4 -2
- 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/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.script.vue.js.js +3 -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/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-file-card/index.vue.css +11 -11
- package/dist/components/render-file-card/index.vue.d.ts +9 -5
- 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.d.ts +3 -3
- package/dist/components/render-like/index.vue.js +1 -1
- package/dist/components/render-markdown/mark-down.d.ts +9 -0
- package/dist/components/render-markdown/mark-down.postcss.css +1 -1
- package/dist/components/render-markdown/mark-down.ts.js +8 -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-search-empty/index.vue.d.ts +9 -5
- package/dist/components/render-search-select/index.script.vue.js.js +176 -20
- package/dist/components/render-search-select/index.vue.d.ts +14 -5
- package/dist/components/render-t-table/index.vue.css +27 -27
- package/dist/components/render-t-table/index.vue.d.ts +9 -5
- 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-tree/index.script.vue.js +23 -1
- package/dist/components/render-tree/index.vue.d.ts +9 -5
- package/dist/css/fonts/iconcool.eot +0 -0
- package/dist/css/fonts/iconcool.svg +1 -4
- 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 +1 -4
- package/dist/css/tailwind.css +58 -4
- package/dist/hooks/use-chat.d.ts +22 -12
- package/dist/hooks/use-ellipsis-tooltip.ts.js +6 -2
- package/dist/hooks.d.ts +1 -0
- package/dist/hooks.ts.js +1 -0
- package/dist/http/helper/agent.ts.js +6 -0
- package/dist/http/helper/common.d.ts +7 -1
- package/dist/http/helper/common.ts.js +8 -0
- package/dist/http/helper/tool.ts.js +2 -1
- package/dist/types/agent.d.ts +6 -0
- package/dist/types/common.d.ts +5 -0
- package/dist/types/enum.d.ts +6 -0
- package/dist/types/enum.ts.js +7 -0
- package/dist/types/tool.d.ts +4 -1
- package/package.json +2 -2
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
|
|
2
|
-
.content[data-v-
|
|
2
|
+
.content[data-v-35tbej9g] {
|
|
3
3
|
padding: 18px 24px 0;
|
|
4
4
|
height: 100%;
|
|
5
5
|
overflow: auto;
|
|
6
6
|
}
|
|
7
|
-
.data-set-review-slider .value-content[data-v-
|
|
7
|
+
.data-set-review-slider .value-content[data-v-35tbej9g] {
|
|
8
8
|
padding: 16px;
|
|
9
9
|
border: 1px solid #DCDEE5;
|
|
10
10
|
line-height: 22px;
|
|
11
11
|
}
|
|
12
|
-
.data-set-review-slider .review-data[data-v-
|
|
12
|
+
.data-set-review-slider .review-data[data-v-35tbej9g] {
|
|
13
13
|
height: calc(100% - 337px);
|
|
14
14
|
padding: 18px 24px;
|
|
15
15
|
}
|
|
16
|
-
.data-set-review-slider .review-level[data-v-
|
|
16
|
+
.data-set-review-slider .review-level[data-v-35tbej9g] {
|
|
17
17
|
box-shadow: 0 -2px 4px 0 #1919291f;
|
|
18
18
|
height: 337px;
|
|
19
19
|
padding: 16px 24px 24px;
|
|
20
20
|
}
|
|
21
|
-
.data-set-review-slider .review-level .level-score[data-v-
|
|
21
|
+
.data-set-review-slider .review-level .level-score[data-v-35tbej9g] {
|
|
22
22
|
gap: 50px;
|
|
23
23
|
}
|
|
24
|
-
.data-set-review-slider .review-level .level-score .bk-form-item[data-v-
|
|
24
|
+
.data-set-review-slider .review-level .level-score .bk-form-item[data-v-35tbej9g] {
|
|
25
25
|
flex: 1;
|
|
26
26
|
}
|
|
27
|
-
.data-set-review-slider .bold-title[data-v-
|
|
27
|
+
.data-set-review-slider .bold-title[data-v-35tbej9g] .bk-form-label {
|
|
28
28
|
font-weight: bold;
|
|
29
29
|
font-size: 14px;
|
|
30
30
|
}
|
|
31
|
-
.data-set-review-slider[data-v-
|
|
31
|
+
.data-set-review-slider[data-v-35tbej9g] .bk-sideslider-title {
|
|
32
32
|
justify-content: space-between;
|
|
33
33
|
width: 100%;
|
|
34
34
|
}
|
|
35
|
-
.data-set-review-slider[data-v-
|
|
35
|
+
.data-set-review-slider[data-v-35tbej9g] .bk-modal-content {
|
|
36
36
|
height: calc(100% - 100px) !important;
|
|
37
37
|
scrollbar-gutter: inherit !important;
|
|
38
38
|
}
|
|
39
|
-
.data-set-review-slider[data-v-
|
|
39
|
+
.data-set-review-slider[data-v-35tbej9g] .bk-modal-content >div, .data-set-review-slider[data-v-35tbej9g] .bk-modal-content .bk-sideslider-content {
|
|
40
40
|
height: 100%;
|
|
41
41
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import script from './index.script.vue.js.js';
|
|
2
|
-
script.__scopeId = "data-v-
|
|
2
|
+
script.__scopeId = "data-v-35tbej9g";
|
|
3
3
|
script.__file = "./src/components/render-dataset/components/review-dataset-data/index.vue";
|
|
4
4
|
import './index.vue.css';
|
|
5
5
|
export default script;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
|
|
2
|
-
.origin-data-content[data-v-
|
|
2
|
+
.origin-data-content[data-v-y3vq3i5z] {
|
|
3
3
|
padding: 24px;
|
|
4
4
|
height: calc(100% - 52px - 44px);
|
|
5
5
|
}
|
|
6
|
-
.origin-data-panel[data-v-
|
|
6
|
+
.origin-data-panel[data-v-y3vq3i5z] {
|
|
7
7
|
height: 100%;
|
|
8
8
|
padding: 20px;
|
|
9
9
|
background: #ffffff;
|
|
10
10
|
box-shadow: 0 2px 4px 0 #1919290d;
|
|
11
11
|
border-radius: 2px;
|
|
12
12
|
}
|
|
13
|
-
.origin-data-panel .toolbar-search[data-v-
|
|
13
|
+
.origin-data-panel .toolbar-search[data-v-y3vq3i5z] {
|
|
14
14
|
width: 6.17rem;
|
|
15
15
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
|
|
2
|
-
.main-content[data-v-
|
|
2
|
+
.main-content[data-v-dinb3x8x] {
|
|
3
3
|
padding: 20px 24px;
|
|
4
4
|
height: 100%;
|
|
5
5
|
}
|
|
6
|
-
.main-panel[data-v-
|
|
6
|
+
.main-panel[data-v-dinb3x8x] {
|
|
7
7
|
height: 100%;
|
|
8
8
|
padding: 20px 24px 24px;
|
|
9
9
|
background: #ffffff;
|
|
10
10
|
box-shadow: 0 2px 4px 0 #1919290d;
|
|
11
11
|
border-radius: 2px;
|
|
12
12
|
}
|
|
13
|
-
.main-search[data-v-
|
|
13
|
+
.main-search[data-v-dinb3x8x] {
|
|
14
14
|
width: 6.17rem;
|
|
15
15
|
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
|
|
2
|
-
.upload-file-home[data-v-
|
|
2
|
+
.upload-file-home[data-v-07gccsju] {
|
|
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-07gccsju]: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-07gccsju] {
|
|
13
13
|
display: flex;
|
|
14
14
|
}
|
|
15
|
-
.upload-file-home .file-icon[data-v-
|
|
15
|
+
.upload-file-home .file-icon[data-v-07gccsju] {
|
|
16
16
|
font-size: 32px;
|
|
17
17
|
}
|
|
18
|
-
.upload-file-home .file-content[data-v-
|
|
18
|
+
.upload-file-home .file-content[data-v-07gccsju] {
|
|
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-07gccsju] {
|
|
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-07gccsju] {
|
|
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-07gccsju] {
|
|
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-07gccsju] {
|
|
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-07gccsju]: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-07gccsju] {
|
|
49
49
|
margin: 0;
|
|
50
50
|
}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import type { IFileInfo } from '@/types/file';
|
|
2
|
-
declare const __VLS_export: <T extends IFileInfo>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>,
|
|
3
|
-
props: __VLS_PrettifyLocal<{
|
|
2
|
+
declare const __VLS_export: <T extends IFileInfo>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
3
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<{
|
|
4
4
|
file: T;
|
|
5
5
|
} & {
|
|
6
6
|
onDelete?: (file: T) => any;
|
|
7
|
-
}> &
|
|
7
|
+
}> & (typeof globalThis extends {
|
|
8
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
9
|
+
} ? P : {});
|
|
8
10
|
expose: (exposed: {}) => void;
|
|
9
11
|
attrs: any;
|
|
10
12
|
slots: {
|
|
@@ -16,6 +18,8 @@ declare const __VLS_export: <T extends IFileInfo>(__VLS_props: NonNullable<Await
|
|
|
16
18
|
};
|
|
17
19
|
declare const _default: typeof __VLS_export;
|
|
18
20
|
export default _default;
|
|
19
|
-
type __VLS_PrettifyLocal<T> = {
|
|
21
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
22
|
+
[K in keyof T]: T[K];
|
|
23
|
+
} : {
|
|
20
24
|
[K in keyof T as K]: T[K];
|
|
21
|
-
} & {};
|
|
25
|
+
}) & {};
|
|
@@ -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-kkwygh50] {
|
|
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-kkwygh50], .ai-ui-sdk-icon.ai-ui-sdk-ppt-2[data-v-kkwygh50], .ai-ui-sdk-icon.ai-ui-sdk-markdown[data-v-kkwygh50] {
|
|
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-kkwygh50] {
|
|
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-kkwygh50] {
|
|
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-kkwygh50] {
|
|
15
15
|
color: #14A568;
|
|
16
16
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
|
|
2
|
-
.header-home[data-v-
|
|
2
|
+
.header-home[data-v-nahmowqw] {
|
|
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-nahmowqw] {
|
|
8
8
|
border-bottom: 2px solid transparent;
|
|
9
9
|
}
|
|
10
|
-
.render-tab.active[data-v-
|
|
10
|
+
.render-tab.active[data-v-nahmowqw] {
|
|
11
11
|
color: #3A84FF;
|
|
12
12
|
border-bottom: 2px solid #3A84FF;
|
|
13
13
|
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
|
|
2
|
-
.dislike-icon[data-v-
|
|
2
|
+
.dislike-icon[data-v-p9m7vhbg] {
|
|
3
3
|
transform: rotateX(180deg);
|
|
4
4
|
}
|
|
5
|
-
.option-items[data-v-
|
|
5
|
+
.option-items[data-v-p9m7vhbg] {
|
|
6
6
|
padding: 1px 8px;
|
|
7
7
|
background-color: #F0F1F5;
|
|
8
8
|
line-height: 22px;
|
|
9
9
|
border-radius: 2px;
|
|
10
10
|
}
|
|
11
|
-
.option-items[data-v-
|
|
11
|
+
.option-items[data-v-p9m7vhbg]:hover {
|
|
12
12
|
background-color: #E1ECFF;
|
|
13
13
|
color: #3A84FF;
|
|
14
14
|
}
|
|
15
|
-
.option-items-selected[data-v-
|
|
15
|
+
.option-items-selected[data-v-p9m7vhbg]{
|
|
16
16
|
background-color: #E1ECFF;
|
|
17
17
|
}
|
|
18
|
-
[data-v-
|
|
18
|
+
[data-v-p9m7vhbg] .bk-form-item {
|
|
19
19
|
margin-bottom: 17px;
|
|
20
20
|
}
|
|
@@ -10,11 +10,11 @@ interface IProps {
|
|
|
10
10
|
popoverOptions?: Record<string, unknown>;
|
|
11
11
|
tooltipOptions?: Record<string, unknown>;
|
|
12
12
|
}
|
|
13
|
-
declare var
|
|
13
|
+
declare var __VLS_8: {}, __VLS_10: {};
|
|
14
14
|
type __VLS_Slots = {} & {
|
|
15
|
-
like?: (props: typeof
|
|
15
|
+
like?: (props: typeof __VLS_8) => any;
|
|
16
16
|
} & {
|
|
17
|
-
dislike?: (props: typeof
|
|
17
|
+
dislike?: (props: typeof __VLS_10) => any;
|
|
18
18
|
};
|
|
19
19
|
declare const __VLS_base: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
20
20
|
"update-session-content-list": (data: ISessionFeedback) => any;
|
|
@@ -33,6 +33,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
33
33
|
type: StringConstructor;
|
|
34
34
|
default: string;
|
|
35
35
|
};
|
|
36
|
+
padding: {
|
|
37
|
+
type: StringConstructor;
|
|
38
|
+
default: string;
|
|
39
|
+
};
|
|
36
40
|
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
37
41
|
[key: string]: any;
|
|
38
42
|
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -43,7 +47,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
43
47
|
type: StringConstructor;
|
|
44
48
|
default: string;
|
|
45
49
|
};
|
|
50
|
+
padding: {
|
|
51
|
+
type: StringConstructor;
|
|
52
|
+
default: string;
|
|
53
|
+
};
|
|
46
54
|
}>> & Readonly<{}>, {
|
|
47
55
|
previewBackground: string;
|
|
56
|
+
padding: string;
|
|
48
57
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
49
58
|
export default _default;
|
|
@@ -125,6 +125,10 @@ export default defineComponent({
|
|
|
125
125
|
previewBackground: {
|
|
126
126
|
type: String,
|
|
127
127
|
default: '#fff'
|
|
128
|
+
},
|
|
129
|
+
padding: {
|
|
130
|
+
type: String,
|
|
131
|
+
default: '8px 25px'
|
|
128
132
|
}
|
|
129
133
|
},
|
|
130
134
|
setup (props) {
|
|
@@ -139,7 +143,10 @@ export default defineComponent({
|
|
|
139
143
|
previewBackground: props.previewBackground,
|
|
140
144
|
modelValue: props.value,
|
|
141
145
|
codeStyle: 'atom-one-dark',
|
|
142
|
-
ref: mdRef
|
|
146
|
+
ref: mdRef,
|
|
147
|
+
style: {
|
|
148
|
+
'--content-padding': props.padding
|
|
149
|
+
}
|
|
143
150
|
}));
|
|
144
151
|
}
|
|
145
152
|
});
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
.router-tab[data-v-
|
|
2
|
+
.router-tab[data-v-29xvcqpd] {
|
|
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-29xvcqpd] {
|
|
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-29xvcqpd] {
|
|
19
19
|
color: #3A84FF;
|
|
20
20
|
border-bottom: 2px solid #3A84FF;
|
|
21
21
|
}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
declare const __VLS_export: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>,
|
|
2
|
-
props: __VLS_PrettifyLocal<{
|
|
1
|
+
declare const __VLS_export: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
2
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<{
|
|
3
3
|
search?: T;
|
|
4
4
|
scene?: "page" | "part";
|
|
5
5
|
description?: string;
|
|
6
6
|
} & {
|
|
7
7
|
"onUpdate:search"?: (data: T) => any;
|
|
8
|
-
}> &
|
|
8
|
+
}> & (typeof globalThis extends {
|
|
9
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
10
|
+
} ? P : {});
|
|
9
11
|
expose: (exposed: {}) => void;
|
|
10
12
|
attrs: any;
|
|
11
13
|
slots: {};
|
|
@@ -15,6 +17,8 @@ declare const __VLS_export: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_se
|
|
|
15
17
|
};
|
|
16
18
|
declare const _default: typeof __VLS_export;
|
|
17
19
|
export default _default;
|
|
18
|
-
type __VLS_PrettifyLocal<T> = {
|
|
20
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
21
|
+
[K in keyof T]: T[K];
|
|
22
|
+
} : {
|
|
19
23
|
[K in keyof T as K]: T[K];
|
|
20
|
-
} & {};
|
|
24
|
+
}) & {};
|