@blueking/ai-ui-sdk 0.3.0-beta.4 → 0.3.0-beta.5
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.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.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.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.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.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.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-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/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 +117 -115
|
@@ -1,192 +1,192 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Prism.js theme like highlight.js atom-one-dark
|
|
3
|
-
* Background: #282c34
|
|
4
|
-
* Foreground: #abb2bf
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
code[class*='language-'],
|
|
8
|
-
pre[class*='language-'] {
|
|
9
|
-
color: #abb2bf;
|
|
10
|
-
background: none;
|
|
11
|
-
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
|
|
12
|
-
font-size: 14px;
|
|
13
|
-
line-height: 1.6;
|
|
14
|
-
text-align: left;
|
|
15
|
-
white-space: pre;
|
|
16
|
-
word-spacing: normal;
|
|
17
|
-
word-break: normal;
|
|
18
|
-
word-wrap: normal;
|
|
19
|
-
tab-size: 2;
|
|
20
|
-
hyphens: none;
|
|
21
|
-
text-shadow: none;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
pre[class*='language-'] {
|
|
25
|
-
margin: 12px 0;
|
|
26
|
-
padding: 16px;
|
|
27
|
-
overflow: auto;
|
|
28
|
-
border-radius: 8px;
|
|
29
|
-
background: #282c34;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
:not(pre) > code[class*='language-'],
|
|
33
|
-
pre[class*='language-'] {
|
|
34
|
-
background: #282c34;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
:not(pre) > code[class*='language-'] {
|
|
38
|
-
padding: 2px 6px;
|
|
39
|
-
border-radius: 4px;
|
|
40
|
-
color: #e06c75;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
/* Toast UI Editor preview / viewer 兜底 */
|
|
44
|
-
.toastui-editor-contents pre,
|
|
45
|
-
.tui-editor-contents pre {
|
|
46
|
-
background: #282c34 !important;
|
|
47
|
-
color: #abb2bf !important;
|
|
48
|
-
border-radius: 8px;
|
|
49
|
-
padding: 16px;
|
|
50
|
-
overflow-x: auto;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.toastui-editor-contents pre code,
|
|
54
|
-
.tui-editor-contents pre code {
|
|
55
|
-
background: transparent !important;
|
|
56
|
-
color: #abb2bf !important;
|
|
57
|
-
text-shadow: none !important;
|
|
58
|
-
font-family: Consolas,
|
|
59
|
-
Monaco,
|
|
60
|
-
'Andale Mono',
|
|
61
|
-
'Ubuntu Mono',
|
|
62
|
-
monospace;
|
|
63
|
-
font-size: 14px;
|
|
64
|
-
line-height: 1.6;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.toastui-editor-contents pre code span,
|
|
68
|
-
.tui-editor-contents pre code span,
|
|
69
|
-
.toastui-editor-contents .token,
|
|
70
|
-
.tui-editor-contents .token {
|
|
71
|
-
text-shadow: none !important;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
/* 注释 */
|
|
75
|
-
.token.comment,
|
|
76
|
-
.token.prolog,
|
|
77
|
-
.token.doctype,
|
|
78
|
-
.token.cdata {
|
|
79
|
-
color: #5c6370;
|
|
80
|
-
font-style: italic;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
/* 标点 */
|
|
84
|
-
.token.punctuation {
|
|
85
|
-
color: #abb2bf;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
/* 命名空间 */
|
|
89
|
-
.token.namespace {
|
|
90
|
-
opacity: .7;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
/* 标签、属性、选择器 */
|
|
94
|
-
.token.tag,
|
|
95
|
-
.token.selector {
|
|
96
|
-
color: #e06c75;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.token.attr-name {
|
|
100
|
-
color: #d19a66;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.token.attr-value,
|
|
104
|
-
.token.string,
|
|
105
|
-
.token.char,
|
|
106
|
-
.token.inserted {
|
|
107
|
-
color: #98c379;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
/* 关键字 */
|
|
111
|
-
.token.keyword,
|
|
112
|
-
.token.atrule {
|
|
113
|
-
color: #c678dd;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
/* 布尔、数字、常量 */
|
|
117
|
-
.token.boolean,
|
|
118
|
-
.token.number,
|
|
119
|
-
.token.constant,
|
|
120
|
-
.token.symbol {
|
|
121
|
-
color: #d19a66;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
/* 函数 */
|
|
125
|
-
.token.function {
|
|
126
|
-
color: #61afef;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
/* 类名、类型 */
|
|
130
|
-
.token.class-name,
|
|
131
|
-
.token.builtin {
|
|
132
|
-
color: #e5c07b;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
/* 属性、变量 */
|
|
136
|
-
.token.property,
|
|
137
|
-
.token.variable {
|
|
138
|
-
color: #e06c75;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
/* 操作符 */
|
|
142
|
-
.token.operator {
|
|
143
|
-
color: #56b6c2;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
/* 正则、重要内容 */
|
|
147
|
-
.token.regex,
|
|
148
|
-
.token.important {
|
|
149
|
-
color: #c678dd;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
/* URL / 实体 */
|
|
153
|
-
.token.url,
|
|
154
|
-
.token.entity {
|
|
155
|
-
color: #56b6c2;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
/* 删除 */
|
|
159
|
-
.token.deleted {
|
|
160
|
-
color: #e06c75;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
/* bold / italic */
|
|
164
|
-
.token.bold {
|
|
165
|
-
font-weight: 700;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
.token.italic {
|
|
169
|
-
font-style: italic;
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
/* Prism line numbers 插件兼容 */
|
|
173
|
-
pre[class*='language-'].line-numbers {
|
|
174
|
-
position: relative;
|
|
175
|
-
padding-left: 3.8em;
|
|
176
|
-
counter-reset: linenumber;
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
.line-numbers .line-numbers-rows {
|
|
180
|
-
border-right: 1px solid #3e4451;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
.line-numbers-rows > span::before {
|
|
184
|
-
color: #636d83;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
/* 选中文本 */
|
|
188
|
-
pre[class*='language-'] ::selection,
|
|
189
|
-
code[class*='language-'] ::selection {
|
|
190
|
-
background: #3e4451;
|
|
191
|
-
color: inherit;
|
|
192
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* Prism.js theme like highlight.js atom-one-dark
|
|
3
|
+
* Background: #282c34
|
|
4
|
+
* Foreground: #abb2bf
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
code[class*='language-'],
|
|
8
|
+
pre[class*='language-'] {
|
|
9
|
+
color: #abb2bf;
|
|
10
|
+
background: none;
|
|
11
|
+
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
|
|
12
|
+
font-size: 14px;
|
|
13
|
+
line-height: 1.6;
|
|
14
|
+
text-align: left;
|
|
15
|
+
white-space: pre;
|
|
16
|
+
word-spacing: normal;
|
|
17
|
+
word-break: normal;
|
|
18
|
+
word-wrap: normal;
|
|
19
|
+
tab-size: 2;
|
|
20
|
+
hyphens: none;
|
|
21
|
+
text-shadow: none;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
pre[class*='language-'] {
|
|
25
|
+
margin: 12px 0;
|
|
26
|
+
padding: 16px;
|
|
27
|
+
overflow: auto;
|
|
28
|
+
border-radius: 8px;
|
|
29
|
+
background: #282c34;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
:not(pre) > code[class*='language-'],
|
|
33
|
+
pre[class*='language-'] {
|
|
34
|
+
background: #282c34;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
:not(pre) > code[class*='language-'] {
|
|
38
|
+
padding: 2px 6px;
|
|
39
|
+
border-radius: 4px;
|
|
40
|
+
color: #e06c75;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/* Toast UI Editor preview / viewer 兜底 */
|
|
44
|
+
.toastui-editor-contents pre,
|
|
45
|
+
.tui-editor-contents pre {
|
|
46
|
+
background: #282c34 !important;
|
|
47
|
+
color: #abb2bf !important;
|
|
48
|
+
border-radius: 8px;
|
|
49
|
+
padding: 16px;
|
|
50
|
+
overflow-x: auto;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.toastui-editor-contents pre code,
|
|
54
|
+
.tui-editor-contents pre code {
|
|
55
|
+
background: transparent !important;
|
|
56
|
+
color: #abb2bf !important;
|
|
57
|
+
text-shadow: none !important;
|
|
58
|
+
font-family: Consolas,
|
|
59
|
+
Monaco,
|
|
60
|
+
'Andale Mono',
|
|
61
|
+
'Ubuntu Mono',
|
|
62
|
+
monospace;
|
|
63
|
+
font-size: 14px;
|
|
64
|
+
line-height: 1.6;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.toastui-editor-contents pre code span,
|
|
68
|
+
.tui-editor-contents pre code span,
|
|
69
|
+
.toastui-editor-contents .token,
|
|
70
|
+
.tui-editor-contents .token {
|
|
71
|
+
text-shadow: none !important;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/* 注释 */
|
|
75
|
+
.token.comment,
|
|
76
|
+
.token.prolog,
|
|
77
|
+
.token.doctype,
|
|
78
|
+
.token.cdata {
|
|
79
|
+
color: #5c6370;
|
|
80
|
+
font-style: italic;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
/* 标点 */
|
|
84
|
+
.token.punctuation {
|
|
85
|
+
color: #abb2bf;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
/* 命名空间 */
|
|
89
|
+
.token.namespace {
|
|
90
|
+
opacity: .7;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/* 标签、属性、选择器 */
|
|
94
|
+
.token.tag,
|
|
95
|
+
.token.selector {
|
|
96
|
+
color: #e06c75;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.token.attr-name {
|
|
100
|
+
color: #d19a66;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.token.attr-value,
|
|
104
|
+
.token.string,
|
|
105
|
+
.token.char,
|
|
106
|
+
.token.inserted {
|
|
107
|
+
color: #98c379;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
/* 关键字 */
|
|
111
|
+
.token.keyword,
|
|
112
|
+
.token.atrule {
|
|
113
|
+
color: #c678dd;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
/* 布尔、数字、常量 */
|
|
117
|
+
.token.boolean,
|
|
118
|
+
.token.number,
|
|
119
|
+
.token.constant,
|
|
120
|
+
.token.symbol {
|
|
121
|
+
color: #d19a66;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
/* 函数 */
|
|
125
|
+
.token.function {
|
|
126
|
+
color: #61afef;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
/* 类名、类型 */
|
|
130
|
+
.token.class-name,
|
|
131
|
+
.token.builtin {
|
|
132
|
+
color: #e5c07b;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
/* 属性、变量 */
|
|
136
|
+
.token.property,
|
|
137
|
+
.token.variable {
|
|
138
|
+
color: #e06c75;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
/* 操作符 */
|
|
142
|
+
.token.operator {
|
|
143
|
+
color: #56b6c2;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
/* 正则、重要内容 */
|
|
147
|
+
.token.regex,
|
|
148
|
+
.token.important {
|
|
149
|
+
color: #c678dd;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
/* URL / 实体 */
|
|
153
|
+
.token.url,
|
|
154
|
+
.token.entity {
|
|
155
|
+
color: #56b6c2;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
/* 删除 */
|
|
159
|
+
.token.deleted {
|
|
160
|
+
color: #e06c75;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
/* bold / italic */
|
|
164
|
+
.token.bold {
|
|
165
|
+
font-weight: 700;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.token.italic {
|
|
169
|
+
font-style: italic;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
/* Prism line numbers 插件兼容 */
|
|
173
|
+
pre[class*='language-'].line-numbers {
|
|
174
|
+
position: relative;
|
|
175
|
+
padding-left: 3.8em;
|
|
176
|
+
counter-reset: linenumber;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.line-numbers .line-numbers-rows {
|
|
180
|
+
border-right: 1px solid #3e4451;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.line-numbers-rows > span::before {
|
|
184
|
+
color: #636d83;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
/* 选中文本 */
|
|
188
|
+
pre[class*='language-'] ::selection,
|
|
189
|
+
code[class*='language-'] ::selection {
|
|
190
|
+
background: #3e4451;
|
|
191
|
+
color: inherit;
|
|
192
|
+
}
|
|
@@ -1,99 +1,99 @@
|
|
|
1
|
-
.aidev-markdown-preview .toastui-editor-contents,
|
|
2
|
-
.toastui-editor .toastui-editor-contents,
|
|
3
|
-
.toastui-editor-md-preview .toastui-editor-contents {
|
|
4
|
-
font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.aidev-markdown-preview .toastui-editor-contents pre, .toastui-editor .toastui-editor-contents pre, .toastui-editor-md-preview .toastui-editor-contents pre {
|
|
8
|
-
max-height: 500px;
|
|
9
|
-
overflow-y: auto;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.aidev-markdown-preview .toastui-editor-contents pre::-webkit-scrollbar, .toastui-editor .toastui-editor-contents pre::-webkit-scrollbar, .toastui-editor-md-preview .toastui-editor-contents pre::-webkit-scrollbar {
|
|
13
|
-
width: 6px;
|
|
14
|
-
height: 6px;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.aidev-markdown-preview .toastui-editor-contents pre::-webkit-scrollbar-thumb, .toastui-editor .toastui-editor-contents pre::-webkit-scrollbar-thumb, .toastui-editor-md-preview .toastui-editor-contents pre::-webkit-scrollbar-thumb {
|
|
18
|
-
width: 6px;
|
|
19
|
-
height: 6px;
|
|
20
|
-
border-radius: 3px;
|
|
21
|
-
background-color: #dcdee5;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.aidev-markdown-preview .toastui-editor-contents pre::-webkit-scrollbar-thumb:hover, .toastui-editor .toastui-editor-contents pre::-webkit-scrollbar-thumb:hover, .toastui-editor-md-preview .toastui-editor-contents pre::-webkit-scrollbar-thumb:hover {
|
|
25
|
-
background-color: #979ba5;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.aidev-markdown-preview .toastui-editor-contents p,
|
|
29
|
-
.aidev-markdown-preview .toastui-editor-contents td,
|
|
30
|
-
.toastui-editor .toastui-editor-contents p,
|
|
31
|
-
.toastui-editor .toastui-editor-contents td,
|
|
32
|
-
.toastui-editor-md-preview .toastui-editor-contents p,
|
|
33
|
-
.toastui-editor-md-preview .toastui-editor-contents td {
|
|
34
|
-
color: #4d4f56;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.aidev-markdown-preview .toastui-editor-contents h1, .toastui-editor .toastui-editor-contents h1, .toastui-editor-md-preview .toastui-editor-contents h1 {
|
|
38
|
-
margin: 32px 0 20px;
|
|
39
|
-
border-bottom: 2px solid #eaecef;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.aidev-markdown-preview .toastui-editor-contents h2, .toastui-editor .toastui-editor-contents h2, .toastui-editor-md-preview .toastui-editor-contents h2 {
|
|
43
|
-
margin: 24px 0 16px;
|
|
44
|
-
border-bottom: 1px solid #eaecef;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.aidev-markdown-preview .toastui-editor-contents h3, .toastui-editor .toastui-editor-contents h3, .toastui-editor-md-preview .toastui-editor-contents h3 {
|
|
48
|
-
margin: 18px 0 12px;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.aidev-markdown-preview .toastui-editor-contents h4, .toastui-editor .toastui-editor-contents h4, .toastui-editor-md-preview .toastui-editor-contents h4 {
|
|
52
|
-
margin: 14px 0 8px;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.aidev-markdown-preview .toastui-editor-contents h5,
|
|
56
|
-
.aidev-markdown-preview .toastui-editor-contents h6,
|
|
57
|
-
.toastui-editor .toastui-editor-contents h5,
|
|
58
|
-
.toastui-editor .toastui-editor-contents h6,
|
|
59
|
-
.toastui-editor-md-preview .toastui-editor-contents h5,
|
|
60
|
-
.toastui-editor-md-preview .toastui-editor-contents h6 {
|
|
61
|
-
margin: 10px 0 4px;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.aidev-markdown-preview .toastui-editor-contents i, .toastui-editor .toastui-editor-contents i, .toastui-editor-md-preview .toastui-editor-contents i {
|
|
65
|
-
font-style: normal;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.aidev-markdown-preview .toastui-editor-contents table th, .toastui-editor .toastui-editor-contents table th, .toastui-editor-md-preview .toastui-editor-contents table th {
|
|
69
|
-
background-color: #fff;
|
|
70
|
-
color: #4d4f56;
|
|
71
|
-
font-weight: bold;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.aidev-markdown-preview .toastui-editor-contents table tr:nth-of-type(odd), .toastui-editor .toastui-editor-contents table tr:nth-of-type(odd), .toastui-editor-md-preview .toastui-editor-contents table tr:nth-of-type(odd) {
|
|
75
|
-
background-color: #f6f8fa;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.aidev-markdown-preview .toastui-editor-contents table tr:nth-of-type(even), .toastui-editor .toastui-editor-contents table tr:nth-of-type(even), .toastui-editor-md-preview .toastui-editor-contents table tr:nth-of-type(even) {
|
|
79
|
-
background-color: #fff;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.aidev-markdown-preview .toastui-editor-contents .markdown-code-copy-wrap, .toastui-editor .toastui-editor-contents .markdown-code-copy-wrap, .toastui-editor-md-preview .toastui-editor-contents .markdown-code-copy-wrap {
|
|
83
|
-
position: relative;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.aidev-markdown-preview .toastui-editor-contents .markdown-code-copy-button, .toastui-editor .toastui-editor-contents .markdown-code-copy-button, .toastui-editor-md-preview .toastui-editor-contents .markdown-code-copy-button {
|
|
87
|
-
position: sticky;
|
|
88
|
-
top: -16px;
|
|
89
|
-
float: right;
|
|
90
|
-
margin: -25px -12px 0 0;
|
|
91
|
-
font-size: 14px;
|
|
92
|
-
color: #979ba5;
|
|
93
|
-
cursor: pointer;
|
|
94
|
-
user-select: none;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.aidev-markdown-preview .toastui-editor-contents .markdown-code-copy-button:hover, .toastui-editor .toastui-editor-contents .markdown-code-copy-button:hover, .toastui-editor-md-preview .toastui-editor-contents .markdown-code-copy-button:hover {
|
|
98
|
-
color: #3a84ff;
|
|
99
|
-
}
|
|
1
|
+
.aidev-markdown-preview .toastui-editor-contents,
|
|
2
|
+
.toastui-editor .toastui-editor-contents,
|
|
3
|
+
.toastui-editor-md-preview .toastui-editor-contents {
|
|
4
|
+
font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.aidev-markdown-preview .toastui-editor-contents pre, .toastui-editor .toastui-editor-contents pre, .toastui-editor-md-preview .toastui-editor-contents pre {
|
|
8
|
+
max-height: 500px;
|
|
9
|
+
overflow-y: auto;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.aidev-markdown-preview .toastui-editor-contents pre::-webkit-scrollbar, .toastui-editor .toastui-editor-contents pre::-webkit-scrollbar, .toastui-editor-md-preview .toastui-editor-contents pre::-webkit-scrollbar {
|
|
13
|
+
width: 6px;
|
|
14
|
+
height: 6px;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.aidev-markdown-preview .toastui-editor-contents pre::-webkit-scrollbar-thumb, .toastui-editor .toastui-editor-contents pre::-webkit-scrollbar-thumb, .toastui-editor-md-preview .toastui-editor-contents pre::-webkit-scrollbar-thumb {
|
|
18
|
+
width: 6px;
|
|
19
|
+
height: 6px;
|
|
20
|
+
border-radius: 3px;
|
|
21
|
+
background-color: #dcdee5;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.aidev-markdown-preview .toastui-editor-contents pre::-webkit-scrollbar-thumb:hover, .toastui-editor .toastui-editor-contents pre::-webkit-scrollbar-thumb:hover, .toastui-editor-md-preview .toastui-editor-contents pre::-webkit-scrollbar-thumb:hover {
|
|
25
|
+
background-color: #979ba5;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.aidev-markdown-preview .toastui-editor-contents p,
|
|
29
|
+
.aidev-markdown-preview .toastui-editor-contents td,
|
|
30
|
+
.toastui-editor .toastui-editor-contents p,
|
|
31
|
+
.toastui-editor .toastui-editor-contents td,
|
|
32
|
+
.toastui-editor-md-preview .toastui-editor-contents p,
|
|
33
|
+
.toastui-editor-md-preview .toastui-editor-contents td {
|
|
34
|
+
color: #4d4f56;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.aidev-markdown-preview .toastui-editor-contents h1, .toastui-editor .toastui-editor-contents h1, .toastui-editor-md-preview .toastui-editor-contents h1 {
|
|
38
|
+
margin: 32px 0 20px;
|
|
39
|
+
border-bottom: 2px solid #eaecef;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.aidev-markdown-preview .toastui-editor-contents h2, .toastui-editor .toastui-editor-contents h2, .toastui-editor-md-preview .toastui-editor-contents h2 {
|
|
43
|
+
margin: 24px 0 16px;
|
|
44
|
+
border-bottom: 1px solid #eaecef;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.aidev-markdown-preview .toastui-editor-contents h3, .toastui-editor .toastui-editor-contents h3, .toastui-editor-md-preview .toastui-editor-contents h3 {
|
|
48
|
+
margin: 18px 0 12px;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.aidev-markdown-preview .toastui-editor-contents h4, .toastui-editor .toastui-editor-contents h4, .toastui-editor-md-preview .toastui-editor-contents h4 {
|
|
52
|
+
margin: 14px 0 8px;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.aidev-markdown-preview .toastui-editor-contents h5,
|
|
56
|
+
.aidev-markdown-preview .toastui-editor-contents h6,
|
|
57
|
+
.toastui-editor .toastui-editor-contents h5,
|
|
58
|
+
.toastui-editor .toastui-editor-contents h6,
|
|
59
|
+
.toastui-editor-md-preview .toastui-editor-contents h5,
|
|
60
|
+
.toastui-editor-md-preview .toastui-editor-contents h6 {
|
|
61
|
+
margin: 10px 0 4px;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.aidev-markdown-preview .toastui-editor-contents i, .toastui-editor .toastui-editor-contents i, .toastui-editor-md-preview .toastui-editor-contents i {
|
|
65
|
+
font-style: normal;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.aidev-markdown-preview .toastui-editor-contents table th, .toastui-editor .toastui-editor-contents table th, .toastui-editor-md-preview .toastui-editor-contents table th {
|
|
69
|
+
background-color: #fff;
|
|
70
|
+
color: #4d4f56;
|
|
71
|
+
font-weight: bold;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.aidev-markdown-preview .toastui-editor-contents table tr:nth-of-type(odd), .toastui-editor .toastui-editor-contents table tr:nth-of-type(odd), .toastui-editor-md-preview .toastui-editor-contents table tr:nth-of-type(odd) {
|
|
75
|
+
background-color: #f6f8fa;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.aidev-markdown-preview .toastui-editor-contents table tr:nth-of-type(even), .toastui-editor .toastui-editor-contents table tr:nth-of-type(even), .toastui-editor-md-preview .toastui-editor-contents table tr:nth-of-type(even) {
|
|
79
|
+
background-color: #fff;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.aidev-markdown-preview .toastui-editor-contents .markdown-code-copy-wrap, .toastui-editor .toastui-editor-contents .markdown-code-copy-wrap, .toastui-editor-md-preview .toastui-editor-contents .markdown-code-copy-wrap {
|
|
83
|
+
position: relative;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.aidev-markdown-preview .toastui-editor-contents .markdown-code-copy-button, .toastui-editor .toastui-editor-contents .markdown-code-copy-button, .toastui-editor-md-preview .toastui-editor-contents .markdown-code-copy-button {
|
|
87
|
+
position: sticky;
|
|
88
|
+
top: -16px;
|
|
89
|
+
float: right;
|
|
90
|
+
margin: -25px -12px 0 0;
|
|
91
|
+
font-size: 14px;
|
|
92
|
+
color: #979ba5;
|
|
93
|
+
cursor: pointer;
|
|
94
|
+
user-select: none;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.aidev-markdown-preview .toastui-editor-contents .markdown-code-copy-button:hover, .toastui-editor .toastui-editor-contents .markdown-code-copy-button:hover, .toastui-editor-md-preview .toastui-editor-contents .markdown-code-copy-button:hover {
|
|
98
|
+
color: #3a84ff;
|
|
99
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
|
|
2
|
-
.resource-version[data-v-
|
|
3
|
-
border-radius: 2px;
|
|
4
|
-
text-align: left;
|
|
5
|
-
color: #4D4F56;
|
|
6
|
-
background-color: #F0F1F5;
|
|
2
|
+
.resource-version[data-v-86imoa0d] {
|
|
3
|
+
border-radius: 2px;
|
|
4
|
+
text-align: left;
|
|
5
|
+
color: #4D4F56;
|
|
6
|
+
background-color: #F0F1F5;
|
|
7
7
|
white-space: nowrap;
|
|
8
8
|
}
|
|
9
|
-
.resource-version .bkaidev-rizhifenxi[data-v-
|
|
9
|
+
.resource-version .bkaidev-rizhifenxi[data-v-86imoa0d] {
|
|
10
10
|
color: #3A84FF;
|
|
11
|
-
}
|
|
11
|
+
}
|