@blueking/ai-ui-sdk 0.3.0-beta.3 → 0.3.0-beta.4
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/README.md +290 -290
- package/dist/common/util.ts.js +102 -102
- package/dist/components/render-agent/agent-download.vue.css +2 -2
- package/dist/components/render-agent/agent-type.vue.css +9 -9
- package/dist/components/render-agent/agent-type.vue.js +1 -1
- package/dist/components/render-auth/auth-dialog.vue.css +2 -2
- package/dist/components/render-auto-height-textarea/index.vue.css +26 -26
- package/dist/components/render-auto-height-textarea/index.vue.js +1 -1
- package/dist/components/render-auto-refresh/index.vue.css +30 -30
- package/dist/components/render-auto-refresh/index.vue.js +1 -1
- package/dist/components/render-card/agent/prefix-info-tool.vue.css +18 -18
- package/dist/components/render-card/agent/prefix-info-tool.vue.js +1 -1
- package/dist/components/render-card/base.script.vue.js +1 -1
- package/dist/components/render-card/base.vue.css +30 -30
- package/dist/components/render-card/base.vue.js +1 -1
- package/dist/components/render-card/llm/corner-badge.vue.css +12 -12
- package/dist/components/render-card/llm/corner-badge.vue.js +1 -1
- package/dist/components/render-card/llm/icons.vue.css +3 -3
- package/dist/components/render-card/llm/icons.vue.js +1 -1
- package/dist/components/render-card/llm/info.vue.css +8 -8
- package/dist/components/render-card/llm/info.vue.js +1 -1
- package/dist/components/render-card/llm/tag-prefix.vue.css +6 -6
- package/dist/components/render-card/llm/tag-prefix.vue.js +1 -1
- package/dist/components/render-card/mcp/name-suffix.vue.css +7 -7
- package/dist/components/render-card/mcp/name-suffix.vue.js +1 -1
- package/dist/components/render-card/prompt/icons.vue.css +2 -2
- package/dist/components/render-card/prompt/icons.vue.js +1 -1
- package/dist/components/render-card/skill/tag-prefix.vue.css +7 -7
- package/dist/components/render-card/skill/tag-prefix.vue.js +1 -1
- package/dist/components/render-checkbox/index.vue.css +41 -41
- package/dist/components/render-checkbox/index.vue.js +1 -1
- package/dist/components/render-choose-tag/index.vue.css +29 -29
- package/dist/components/render-choose-tag/index.vue.js +1 -1
- package/dist/components/render-collapse/index.vue.css +6 -6
- package/dist/components/render-collapse/index.vue.js +1 -1
- package/dist/components/render-collection/content/index.vue.css +15 -15
- package/dist/components/render-collection/content/index.vue.js +1 -1
- package/dist/components/render-dataset/components/batch-delete-dataset-data/index.script.vue.js +1 -1
- package/dist/components/render-dataset/components/batch-delete-dataset-data/index.vue.css +10 -10
- 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.script.vue.js.js +1 -1
- package/dist/components/render-dataset/components/batch-edit-valid-dataset-data/index.vue.css +2 -2
- 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.script.vue.js.js +1 -1
- package/dist/components/render-dataset/components/dataset-data-valid/index.vue.css +2 -2
- 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 +9 -9
- 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 +10 -10
- 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 +8 -8
- 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 +8 -8
- 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 +4 -4
- 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 +6 -6
- 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 +3 -3
- 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 +3 -3
- package/dist/components/render-dataset/components/plus-dataset-data/form/index.vue.js +1 -1
- package/dist/components/render-dataset/components/plus-dataset-data/form/manual.vue.css +4 -4
- package/dist/components/render-dataset/components/review-dataset-data/index.vue.css +21 -21
- 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 +9 -9
- package/dist/components/render-dataset-detail-origin-data/index.vue.js +1 -1
- package/dist/components/render-dataset-list/components/main.vue.css +9 -9
- package/dist/components/render-dataset-list/components/main.vue.js +1 -1
- package/dist/components/render-dataset-list/index.vue.css +4 -4
- package/dist/components/render-dataset-list/index.vue.js +1 -1
- package/dist/components/render-dialog/choose-resource.vue.css +4 -4
- package/dist/components/render-dialog/choose-resource.vue.js +1 -1
- package/dist/components/render-dialog/choose-result.script.vue.js +1 -1
- package/dist/components/render-dialog/choose-result.vue.css +31 -31
- package/dist/components/render-dialog/choose-result.vue.js +1 -1
- package/dist/components/render-dialog/choose-space.vue.css +17 -17
- package/dist/components/render-dialog/choose-space.vue.js +1 -1
- package/dist/components/render-dialog/index.vue.css +12 -12
- package/dist/components/render-dialog/index.vue.js +1 -1
- package/dist/components/render-dropdown/index.vue.css +15 -15
- package/dist/components/render-file-card/index.script.vue.js.js +1 -1
- package/dist/components/render-file-card/index.vue.css +28 -28
- package/dist/components/render-file-card/index.vue.js +1 -1
- package/dist/components/render-file-type-icon/index.vue.css +6 -6
- package/dist/components/render-file-type-icon/index.vue.js +1 -1
- package/dist/components/render-generate-tag/index.vue.css +12 -12
- package/dist/components/render-generate-tag/index.vue.js +1 -1
- package/dist/components/render-header/index.vue.css +7 -7
- package/dist/components/render-header/index.vue.js +1 -1
- package/dist/components/render-knowledge/icon/index.vue.css +2 -2
- package/dist/components/render-knowledge/icon/index.vue.js +1 -1
- package/dist/components/render-like/index.vue.css +10 -10
- package/dist/components/render-like/index.vue.js +1 -1
- package/dist/components/render-markdown/edit.postcss.css +92 -92
- package/dist/components/render-markdown/katex.ts.js +8 -8
- package/dist/components/render-markdown/prism-atom-one-dark.postcss.css +192 -192
- package/dist/components/render-markdown/view.postcss.css +99 -99
- package/dist/components/render-permission-tag/index.vue.css +2 -2
- package/dist/components/render-prompt/content/index.vue.css +5 -5
- package/dist/components/render-prompt/content/index.vue.js +1 -1
- package/dist/components/render-reference/index.vue.css +4 -4
- package/dist/components/render-reference/index.vue.js +1 -1
- package/dist/components/render-resource-version/index.vue.css +7 -7
- package/dist/components/render-resource-version/index.vue.js +1 -1
- package/dist/components/render-router-tab/index.vue.css +15 -15
- package/dist/components/render-router-tab/index.vue.js +1 -1
- package/dist/components/render-search-empty/index.script.vue.js.js +1 -1
- package/dist/components/render-select-plus-extension/index.vue.css +11 -11
- package/dist/components/render-select-plus-extension/index.vue.js +1 -1
- package/dist/components/render-t-table/index.vue.css +118 -118
- package/dist/components/render-t-table/index.vue.js +1 -1
- package/dist/components/render-tag-tree/index.vue.css +17 -17
- package/dist/components/render-tag-tree/index.vue.js +1 -1
- package/dist/components/render-tags/index.vue.css +12 -12
- package/dist/components/render-tags/index.vue.js +1 -1
- package/dist/components/render-tree/index.vue.css +12 -12
- package/dist/css/fonts/iconcool.svg +163 -163
- package/dist/css/g-utilities.css +5 -1
- package/dist/css/g-utilities.manifest.json +1 -0
- package/dist/css/style.css +154 -154
- package/dist/hooks/use-chat.ts.js +6 -6
- package/dist/hooks/use-ellipsis-tooltip.ts.js +28 -28
- package/dist/hooks/use-loading-version.ts.js +4 -4
- package/dist/hooks/use-reference-doc.ts.js +137 -137
- package/dist/hooks/use-think.ts.js +67 -67
- package/dist/http/helper/agent.ts.js +36 -36
- package/dist/http/helper/collection.ts.js +12 -12
- package/dist/http/helper/common.ts.js +36 -36
- package/dist/http/helper/dataset.ts.js +76 -76
- package/dist/http/helper/knowledge.ts.js +41 -41
- package/dist/http/helper/mcp.ts.js +36 -36
- package/dist/http/helper/permission.ts.js +12 -12
- package/dist/http/helper/prompt.ts.js +12 -12
- package/dist/http/helper/session.ts.js +32 -32
- package/dist/http/helper/skill.ts.js +20 -20
- package/dist/http/helper/space.ts.js +12 -12
- package/dist/http/helper/tool.ts.js +20 -20
- package/package.json +115 -115
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
|
|
2
|
-
.tippy-box[data-theme~='light'] {
|
|
3
|
-
background-color: #fff;
|
|
4
|
-
color: #333;
|
|
5
|
-
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
|
|
2
|
+
.tippy-box[data-theme~='light'] {
|
|
3
|
+
background-color: #fff;
|
|
4
|
+
color: #333;
|
|
5
|
+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
|
|
6
6
|
border-radius: 2px;
|
|
7
7
|
}
|
|
8
|
-
.tippy-box[data-theme~='light'] .tippy-arrow {
|
|
8
|
+
.tippy-box[data-theme~='light'] .tippy-arrow {
|
|
9
9
|
color: #fff;
|
|
10
10
|
}
|
|
11
|
-
.tippy-box[data-theme~='light'] .tippy-content {
|
|
11
|
+
.tippy-box[data-theme~='light'] .tippy-content {
|
|
12
12
|
padding: 0;
|
|
13
13
|
}
|
|
14
|
-
.tippy-box[data-theme~='light-border'] {
|
|
15
|
-
background-color: #fff;
|
|
16
|
-
color: #333;
|
|
17
|
-
border: 1px solid #dcdee5;
|
|
18
|
-
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
14
|
+
.tippy-box[data-theme~='light-border'] {
|
|
15
|
+
background-color: #fff;
|
|
16
|
+
color: #333;
|
|
17
|
+
border: 1px solid #dcdee5;
|
|
18
|
+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
19
19
|
border-radius: 2px;
|
|
20
20
|
}
|
|
21
|
-
.tippy-box[data-theme~='light-border'] .tippy-arrow {
|
|
21
|
+
.tippy-box[data-theme~='light-border'] .tippy-arrow {
|
|
22
22
|
color: #fff;
|
|
23
23
|
}
|
|
24
|
-
.tippy-box[data-theme~='light-border'] .tippy-arrow::before {
|
|
24
|
+
.tippy-box[data-theme~='light-border'] .tippy-arrow::before {
|
|
25
25
|
border-color: transparent transparent #dcdee5 transparent;
|
|
26
26
|
}
|
|
27
|
-
.tippy-box[data-theme~='light-border'] .tippy-content {
|
|
27
|
+
.tippy-box[data-theme~='light-border'] .tippy-content {
|
|
28
28
|
padding: 0;
|
|
29
|
-
}
|
|
29
|
+
}
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
|
|
2
|
-
.upload-file-home[data-v-
|
|
3
|
-
position: relative;
|
|
4
|
-
background: #FFFFFF;
|
|
5
|
-
border: 1px solid #DCDEE5;
|
|
6
|
-
border-radius: 4px;
|
|
2
|
+
.upload-file-home[data-v-t1ntmy20] {
|
|
3
|
+
position: relative;
|
|
4
|
+
background: #FFFFFF;
|
|
5
|
+
border: 1px solid #DCDEE5;
|
|
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-t1ntmy20]: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-t1ntmy20] {
|
|
13
13
|
display: flex;
|
|
14
14
|
}
|
|
15
|
-
.upload-file-home .file-icon[data-v-
|
|
15
|
+
.upload-file-home .file-icon[data-v-t1ntmy20] {
|
|
16
16
|
font-size: 32px;
|
|
17
17
|
}
|
|
18
|
-
.upload-file-home .file-content[data-v-
|
|
19
|
-
font-size: 12px;
|
|
20
|
-
flex: 1;
|
|
21
|
-
align-items: flex-start;
|
|
22
|
-
margin: 0 12px;
|
|
23
|
-
font-weight: normal;
|
|
18
|
+
.upload-file-home .file-content[data-v-t1ntmy20] {
|
|
19
|
+
font-size: 12px;
|
|
20
|
+
flex: 1;
|
|
21
|
+
align-items: flex-start;
|
|
22
|
+
margin: 0 12px;
|
|
23
|
+
font-weight: normal;
|
|
24
24
|
width: 0;
|
|
25
25
|
}
|
|
26
|
-
.upload-file-home .file-content .file-name[data-v-
|
|
27
|
-
width: 100%;
|
|
28
|
-
font-size: 14px;
|
|
26
|
+
.upload-file-home .file-content .file-name[data-v-t1ntmy20] {
|
|
27
|
+
width: 100%;
|
|
28
|
+
font-size: 14px;
|
|
29
29
|
line-height: 20px;
|
|
30
30
|
}
|
|
31
|
-
.upload-file-home .file-content .file-size[data-v-
|
|
32
|
-
font-size: 12px;
|
|
33
|
-
color: #979BA5;
|
|
31
|
+
.upload-file-home .file-content .file-size[data-v-t1ntmy20] {
|
|
32
|
+
font-size: 12px;
|
|
33
|
+
color: #979BA5;
|
|
34
34
|
line-height: 20px;
|
|
35
35
|
}
|
|
36
|
-
.upload-file-home .file-icons[data-v-
|
|
37
|
-
display: none;
|
|
36
|
+
.upload-file-home .file-icons[data-v-t1ntmy20] {
|
|
37
|
+
display: none;
|
|
38
38
|
color: #979BA5;
|
|
39
39
|
}
|
|
40
|
-
.upload-file-home .file-icons .bkaidev-icon[data-v-
|
|
41
|
-
cursor: pointer;
|
|
42
|
-
margin-right: 15px;
|
|
40
|
+
.upload-file-home .file-icons .bkaidev-icon[data-v-t1ntmy20] {
|
|
41
|
+
cursor: pointer;
|
|
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-t1ntmy20]: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-t1ntmy20] {
|
|
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-ph4ok4p5] {
|
|
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-ph4ok4p5], .ai-ui-sdk-icon.ai-ui-sdk-ppt-2[data-v-ph4ok4p5], .ai-ui-sdk-icon.ai-ui-sdk-markdown[data-v-ph4ok4p5] {
|
|
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-ph4ok4p5] {
|
|
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-ph4ok4p5] {
|
|
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-ph4ok4p5] {
|
|
15
15
|
color: #14A568;
|
|
16
|
-
}
|
|
16
|
+
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
|
|
2
|
-
.generate-type-tag[data-v-
|
|
3
|
-
border-radius: 2px;
|
|
4
|
-
text-align: left;
|
|
2
|
+
.generate-type-tag[data-v-r0nb0uqt] {
|
|
3
|
+
border-radius: 2px;
|
|
4
|
+
text-align: left;
|
|
5
5
|
white-space: nowrap;
|
|
6
6
|
}
|
|
7
|
-
.generate-type-tag.public[data-v-
|
|
8
|
-
color: #2CAF5E;
|
|
7
|
+
.generate-type-tag.public[data-v-r0nb0uqt] {
|
|
8
|
+
color: #2CAF5E;
|
|
9
9
|
background-color: #DAF6E5;
|
|
10
10
|
}
|
|
11
|
-
.generate-type-tag.public[data-v-
|
|
12
|
-
color: #299E56;
|
|
11
|
+
.generate-type-tag.public[data-v-r0nb0uqt]:hover {
|
|
12
|
+
color: #299E56;
|
|
13
13
|
background-color: #CBF0DA;
|
|
14
14
|
}
|
|
15
|
-
.generate-type-tag.space[data-v-
|
|
16
|
-
color: #45A0A5;
|
|
15
|
+
.generate-type-tag.space[data-v-r0nb0uqt] {
|
|
16
|
+
color: #45A0A5;
|
|
17
17
|
background-color: #D8F4F5;
|
|
18
18
|
}
|
|
19
|
-
.generate-type-tag.space[data-v-
|
|
20
|
-
color: #388A8E;
|
|
19
|
+
.generate-type-tag.space[data-v-r0nb0uqt]:hover {
|
|
20
|
+
color: #388A8E;
|
|
21
21
|
background-color: #B6E7E9;
|
|
22
|
-
}
|
|
22
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
|
|
2
|
-
.header-home[data-v-
|
|
3
|
-
width: 100%;
|
|
4
|
-
background: #FFFFFF;
|
|
2
|
+
.header-home[data-v-tjvkelt7] {
|
|
3
|
+
width: 100%;
|
|
4
|
+
background: #FFFFFF;
|
|
5
5
|
box-shadow: 0 3px 4px 0 #0000000a;
|
|
6
6
|
}
|
|
7
|
-
.render-tab[data-v-
|
|
7
|
+
.render-tab[data-v-tjvkelt7] {
|
|
8
8
|
border-bottom: 2px solid transparent;
|
|
9
9
|
}
|
|
10
|
-
.render-tab.active[data-v-
|
|
11
|
-
color: #3A84FF;
|
|
10
|
+
.render-tab.active[data-v-tjvkelt7] {
|
|
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-x1m3c851] {
|
|
3
3
|
transform: rotateX(180deg);
|
|
4
4
|
}
|
|
5
|
-
.option-items[data-v-
|
|
6
|
-
padding: 1px 8px;
|
|
7
|
-
background-color: #F0F1F5;
|
|
8
|
-
line-height: 22px;
|
|
5
|
+
.option-items[data-v-x1m3c851] {
|
|
6
|
+
padding: 1px 8px;
|
|
7
|
+
background-color: #F0F1F5;
|
|
8
|
+
line-height: 22px;
|
|
9
9
|
border-radius: 2px;
|
|
10
10
|
}
|
|
11
|
-
.option-items[data-v-
|
|
12
|
-
background-color: #E1ECFF;
|
|
11
|
+
.option-items[data-v-x1m3c851]:hover {
|
|
12
|
+
background-color: #E1ECFF;
|
|
13
13
|
color: #3A84FF;
|
|
14
14
|
}
|
|
15
|
-
.option-items-selected[data-v-
|
|
15
|
+
.option-items-selected[data-v-x1m3c851]{
|
|
16
16
|
background-color: #E1ECFF;
|
|
17
17
|
}
|
|
18
|
-
[data-v-
|
|
18
|
+
[data-v-x1m3c851] .bk-form-item {
|
|
19
19
|
margin-bottom: 17px;
|
|
20
|
-
}
|
|
20
|
+
}
|
|
@@ -1,92 +1,92 @@
|
|
|
1
|
-
.toastui-editor-defaultUI,
|
|
2
|
-
.ProseMirror {
|
|
3
|
-
font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
|
|
4
|
-
-webkit-font-smoothing: antialiased;
|
|
5
|
-
-moz-osx-font-smoothing: grayscale;
|
|
6
|
-
color: #4d4f56;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.toastui-editor-defaultUI .toastui-editor-toolbar {
|
|
10
|
-
height: 40px;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.toastui-editor-defaultUI .ProseMirror {
|
|
14
|
-
padding: 12px 16px;
|
|
15
|
-
overflow-y: auto;
|
|
16
|
-
height: 100%;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.toastui-editor-defaultUI .ProseMirror::-webkit-scrollbar {
|
|
20
|
-
width: 6px;
|
|
21
|
-
height: 6px;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.toastui-editor-defaultUI .ProseMirror::-webkit-scrollbar-thumb {
|
|
25
|
-
width: 6px;
|
|
26
|
-
height: 6px;
|
|
27
|
-
border-radius: 3px;
|
|
28
|
-
background-color: #dcdee5;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.toastui-editor-defaultUI .ProseMirror::-webkit-scrollbar-thumb:hover {
|
|
32
|
-
background-color: #979ba5;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.toastui-editor-defaultUI .toastui-editor-md-preview::-webkit-scrollbar {
|
|
36
|
-
width: 6px;
|
|
37
|
-
height: 6px;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.toastui-editor-defaultUI .toastui-editor-md-preview::-webkit-scrollbar-thumb {
|
|
41
|
-
width: 6px;
|
|
42
|
-
height: 6px;
|
|
43
|
-
border-radius: 3px;
|
|
44
|
-
background-color: #dcdee5;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.toastui-editor-defaultUI .toastui-editor-md-preview::-webkit-scrollbar-thumb:hover {
|
|
48
|
-
background-color: #979ba5;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.toastui-editor-defaultUI-toolbar {
|
|
52
|
-
height: 40px;
|
|
53
|
-
padding: 0 12px !important;
|
|
54
|
-
background: #fff;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.toastui-editor-defaultUI-toolbar button {
|
|
58
|
-
width: 32px !important;
|
|
59
|
-
height: 32px !important;
|
|
60
|
-
margin: 4px 3px !important;
|
|
61
|
-
padding: 0 !important;
|
|
62
|
-
overflow: visible !important;
|
|
63
|
-
display: inline-flex !important;
|
|
64
|
-
align-items: center !important;
|
|
65
|
-
justify-content: center !important;
|
|
66
|
-
border: none !important;
|
|
67
|
-
font-size: 12px !important;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.toastui-editor-defaultUI-toolbar .toastui-editor-toolbar-custom-button {
|
|
71
|
-
width: auto !important;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.toastui-editor-defaultUI-toolbar .toastui-editor-toolbar-icons {
|
|
75
|
-
transform: scale(.65) !important;
|
|
76
|
-
transform-origin: center center !important;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.toastui-editor-defaultUI-toolbar .toastui-editor-toolbar-divider {
|
|
80
|
-
height: 16px !important;
|
|
81
|
-
margin: 12px 6px !important;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.toastui-editor-defaultUI-toolbar .toastui-editor-toolbar-item-wrapper {
|
|
85
|
-
height: 40px;
|
|
86
|
-
margin: 0;
|
|
87
|
-
line-height: 40px;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.bk-form-item.is-error .toastui-editor-defaultUI {
|
|
91
|
-
border: 1px solid #ea3636 !important;
|
|
92
|
-
}
|
|
1
|
+
.toastui-editor-defaultUI,
|
|
2
|
+
.ProseMirror {
|
|
3
|
+
font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
|
|
4
|
+
-webkit-font-smoothing: antialiased;
|
|
5
|
+
-moz-osx-font-smoothing: grayscale;
|
|
6
|
+
color: #4d4f56;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.toastui-editor-defaultUI .toastui-editor-toolbar {
|
|
10
|
+
height: 40px;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.toastui-editor-defaultUI .ProseMirror {
|
|
14
|
+
padding: 12px 16px;
|
|
15
|
+
overflow-y: auto;
|
|
16
|
+
height: 100%;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.toastui-editor-defaultUI .ProseMirror::-webkit-scrollbar {
|
|
20
|
+
width: 6px;
|
|
21
|
+
height: 6px;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.toastui-editor-defaultUI .ProseMirror::-webkit-scrollbar-thumb {
|
|
25
|
+
width: 6px;
|
|
26
|
+
height: 6px;
|
|
27
|
+
border-radius: 3px;
|
|
28
|
+
background-color: #dcdee5;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.toastui-editor-defaultUI .ProseMirror::-webkit-scrollbar-thumb:hover {
|
|
32
|
+
background-color: #979ba5;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.toastui-editor-defaultUI .toastui-editor-md-preview::-webkit-scrollbar {
|
|
36
|
+
width: 6px;
|
|
37
|
+
height: 6px;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.toastui-editor-defaultUI .toastui-editor-md-preview::-webkit-scrollbar-thumb {
|
|
41
|
+
width: 6px;
|
|
42
|
+
height: 6px;
|
|
43
|
+
border-radius: 3px;
|
|
44
|
+
background-color: #dcdee5;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.toastui-editor-defaultUI .toastui-editor-md-preview::-webkit-scrollbar-thumb:hover {
|
|
48
|
+
background-color: #979ba5;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.toastui-editor-defaultUI-toolbar {
|
|
52
|
+
height: 40px;
|
|
53
|
+
padding: 0 12px !important;
|
|
54
|
+
background: #fff;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.toastui-editor-defaultUI-toolbar button {
|
|
58
|
+
width: 32px !important;
|
|
59
|
+
height: 32px !important;
|
|
60
|
+
margin: 4px 3px !important;
|
|
61
|
+
padding: 0 !important;
|
|
62
|
+
overflow: visible !important;
|
|
63
|
+
display: inline-flex !important;
|
|
64
|
+
align-items: center !important;
|
|
65
|
+
justify-content: center !important;
|
|
66
|
+
border: none !important;
|
|
67
|
+
font-size: 12px !important;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.toastui-editor-defaultUI-toolbar .toastui-editor-toolbar-custom-button {
|
|
71
|
+
width: auto !important;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.toastui-editor-defaultUI-toolbar .toastui-editor-toolbar-icons {
|
|
75
|
+
transform: scale(.65) !important;
|
|
76
|
+
transform-origin: center center !important;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.toastui-editor-defaultUI-toolbar .toastui-editor-toolbar-divider {
|
|
80
|
+
height: 16px !important;
|
|
81
|
+
margin: 12px 6px !important;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.toastui-editor-defaultUI-toolbar .toastui-editor-toolbar-item-wrapper {
|
|
85
|
+
height: 40px;
|
|
86
|
+
margin: 0;
|
|
87
|
+
line-height: 40px;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.bk-form-item.is-error .toastui-editor-defaultUI {
|
|
91
|
+
border: 1px solid #ea3636 !important;
|
|
92
|
+
}
|
|
@@ -294,15 +294,15 @@ export function createTuiKatexCustomRenderer(options = {}) {
|
|
|
294
294
|
}
|
|
295
295
|
return context.origin();
|
|
296
296
|
},
|
|
297
|
-
/**
|
|
298
|
-
* 支持 TUI custom block:
|
|
299
|
-
*
|
|
300
|
-
* $$katex
|
|
301
|
-
* \frac{15}{5000}\times 100\%=0.3\%
|
|
302
|
-
* $$
|
|
297
|
+
/**
|
|
298
|
+
* 支持 TUI custom block:
|
|
299
|
+
*
|
|
300
|
+
* $$katex
|
|
301
|
+
* \frac{15}{5000}\times 100\%=0.3\%
|
|
302
|
+
* $$
|
|
303
303
|
*/ katex: renderBlock,
|
|
304
|
-
/**
|
|
305
|
-
* 这里 latex 也按数学公式处理,不走 latex.js。
|
|
304
|
+
/**
|
|
305
|
+
* 这里 latex 也按数学公式处理,不走 latex.js。
|
|
306
306
|
*/ latex: renderBlock
|
|
307
307
|
};
|
|
308
308
|
return renderer;
|