@blueking/ai-ui-sdk 0.3.0-beta.2 → 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/assets/svg/lock.svg +43 -0
- 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-search.script.vue.js.js +1 -1
- package/dist/components/render-agent/agent-share.script.vue.js.js +1 -1
- 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/actions.script.vue.js.js +9 -9
- package/dist/components/render-card/agent/index.script.vue.js.js +1 -1
- package/dist/components/render-card/agent/prefix-info-tool.script.vue.js.js +9 -9
- 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/agent-command/index.script.vue.js.js +1 -1
- package/dist/components/render-card/agent-command/info-tool.script.vue.js.js +8 -8
- package/dist/components/render-card/base/reference-icon.script.vue.js.js +1 -1
- package/dist/components/render-card/base/tag-suffix.script.vue.js.js +1 -1
- package/dist/components/render-card/base.script.vue.js +16 -16
- 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/knowledge/index.script.vue.js.js +1 -1
- package/dist/components/render-card/knowledge/info-tool.script.vue.js.js +1 -1
- package/dist/components/render-card/knowledgebase/index.script.vue.js.js +1 -1
- package/dist/components/render-card/knowledgebase/info-tool.script.vue.js.js +1 -1
- package/dist/components/render-card/llm/actions.script.vue.js.js +1 -1
- package/dist/components/render-card/llm/corner-badge.script.vue.js +3 -3
- 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.script.vue.js.js +2 -2
- 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/index.script.vue.js.js +1 -1
- package/dist/components/render-card/llm/info.script.vue.js.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/actions.script.vue.js.js +2 -2
- package/dist/components/render-card/mcp/code-suffix.script.vue.js +2 -2
- package/dist/components/render-card/mcp/index.script.vue.js.js +1 -1
- package/dist/components/render-card/mcp/name-suffix.script.vue.js +2 -2
- 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/mcp/prefix-info-tool.script.vue.js.js +2 -2
- 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/prompt/index.script.vue.js.js +3 -3
- package/dist/components/render-card/role/index.script.vue.js.js +2 -2
- package/dist/components/render-card/skill/index.script.vue.js.js +1 -1
- package/dist/components/render-card/skill/tag-prefix.script.vue.js.js +2 -2
- 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-card/tool/actions.script.vue.js.js +3 -3
- package/dist/components/render-card/tool/index.script.vue.js.js +1 -1
- package/dist/components/render-card/tool/prefix-info-tool.script.vue.js.js +2 -2
- package/dist/components/render-checkbox/index.script.vue.js.js +2 -2
- 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.script.vue.js.js +3 -3
- 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/actions/index.script.vue.js.js +4 -4
- package/dist/components/render-collection/content/index.script.vue.js +5 -5
- 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-collection/search/index.script.vue.js.js +1 -1
- package/dist/components/render-dataset/components/batch-delete-dataset-data/index.script.vue.js +3 -3
- 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 +5 -5
- 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/batch-review-dataset-data/index.script.vue.js.js +1 -1
- package/dist/components/render-dataset/components/dataset-data-level/index.script.vue.js +1 -1
- package/dist/components/render-dataset/components/dataset-data-status/index.script.vue.js.js +1 -1
- package/dist/components/render-dataset/components/dataset-data-tool-icons/index.script.vue.js +3 -3
- package/dist/components/render-dataset/components/dataset-data-valid/index.script.vue.js.js +8 -8
- 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.script.vue.js.js +8 -8
- 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.script.vue.js +4 -4
- 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.script.vue.js.js +2 -2
- 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/dataset-footer.script.vue.js.js +2 -2
- package/dist/components/render-dataset/components/plus-dataset/dataset-form.script.vue.js +4 -4
- 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.script.vue.js.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/file.script.vue.js.js +2 -2
- 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.script.vue.js.js +2 -2
- package/dist/components/render-dataset/components/plus-dataset-data/form/manual.vue.css +4 -4
- package/dist/components/render-dataset/components/plus-dataset-data/index.script.vue.js.js +1 -1
- package/dist/components/render-dataset/components/review-dataset-data/index.script.vue.js.js +6 -6
- 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/components/header.script.vue.js.js +2 -2
- package/dist/components/render-dataset-detail/index.script.vue.js.js +1 -1
- package/dist/components/render-dataset-detail-origin-data/components/batch-operation/index.script.vue.js.js +2 -2
- package/dist/components/render-dataset-detail-origin-data/components/table/index.script.vue.js +7 -7
- 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 +9 -9
- package/dist/components/render-dataset-detail-origin-data/index.vue.js +1 -1
- package/dist/components/render-dataset-list/components/main.script.vue.js.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/components/table.script.vue.js +7 -7
- 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-footer.script.vue.js.js +3 -3
- package/dist/components/render-dialog/choose-resource.script.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 +3 -3
- 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.script.vue.js.js +8 -8
- 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.script.vue.js.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.script.vue.js.js +4 -4
- 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-knowledge/search/index.script.vue.js.js +1 -1
- package/dist/components/render-knowledgebase/search/index.script.vue.js.js +1 -1
- package/dist/components/render-like/index.script.vue.js.js +8 -8
- 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/edit.ts.js +2 -2
- 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-markdown/view.ts.js +1 -1
- package/dist/components/render-mcp/search/index.script.vue.js.js +1 -1
- package/dist/components/render-permission-tag/index.script.vue.js +2 -2
- package/dist/components/render-permission-tag/index.vue.css +2 -2
- package/dist/components/render-prompt/actions/index.script.vue.js.js +4 -4
- package/dist/components/render-prompt/content/index.script.vue.js.js +1 -1
- 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-prompt/search/index.script.vue.js.js +1 -1
- package/dist/components/render-reference/index.script.vue.js +2 -2
- package/dist/components/render-reference/index.vue.css +4 -4
- package/dist/components/render-reference/index.vue.js +1 -1
- package/dist/components/render-relate-agent/index.script.vue.js.js +3 -3
- package/dist/components/render-resource-info/index.script.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 +3 -3
- package/dist/components/render-search-select/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-skill/actions/index.script.vue.js.js +2 -2
- package/dist/components/render-skill/icons/index.script.vue.js.js +1 -1
- package/dist/components/render-skill/search/index.script.vue.js.js +1 -1
- package/dist/components/render-t-table/index.script.vue.js +6 -6
- 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.script.vue.js.js +3 -3
- 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.script.vue.js +3 -3
- package/dist/components/render-tags/index.vue.css +12 -12
- package/dist/components/render-tags/index.vue.js +1 -1
- package/dist/components/render-tool/search/index.script.vue.js.js +1 -1
- package/dist/components/render-tree/index.script.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 +920 -0
- package/dist/css/g-utilities.manifest.json +163 -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-style.d.ts +1 -1
- package/dist/hooks/use-style.ts.js +1 -1
- 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
- package/dist/css/tailwind.css +0 -1115
|
@@ -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
|
+
}
|
|
@@ -157,7 +157,7 @@ export default defineComponent({
|
|
|
157
157
|
onUnmounted(handleDestroy);
|
|
158
158
|
return ()=>h('section', {
|
|
159
159
|
ref: viewerRef,
|
|
160
|
-
class: 'g-
|
|
160
|
+
class: '!g-h-full g-scrollbar aidev-markdown-preview',
|
|
161
161
|
style: {
|
|
162
162
|
'background-color': props.previewBackground,
|
|
163
163
|
padding: props.padding
|
|
@@ -92,7 +92,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
92
92
|
};
|
|
93
93
|
return (_ctx, _cache)=>{
|
|
94
94
|
return _openBlock(), _createBlock(RenderSearchSelect, {
|
|
95
|
-
class: "g-bg-white",
|
|
95
|
+
class: "!g-bg-white",
|
|
96
96
|
placeholder: "搜索中英文名称、描述、更新人",
|
|
97
97
|
"model-value": props.search,
|
|
98
98
|
data: searchOptions.value,
|
|
@@ -2,8 +2,8 @@ import { defineComponent as _defineComponent } from 'vue';
|
|
|
2
2
|
import { unref as _unref, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, mergeProps as _mergeProps, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, createVNode as _createVNode } from "vue";
|
|
3
3
|
const _hoisted_1 = {
|
|
4
4
|
class: /*@__PURE__*/ _normalizeClass([
|
|
5
|
-
'g-
|
|
6
|
-
'g-max-
|
|
5
|
+
'g-whitespace-pre-line g-leading-22 g-font-normal',
|
|
6
|
+
'g-max-h-80vh g-max-w-400 g-scrollbar-page'
|
|
7
7
|
])
|
|
8
8
|
};
|
|
9
9
|
const _hoisted_2 = {
|
|
@@ -151,7 +151,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
151
151
|
key: 0,
|
|
152
152
|
size: "small",
|
|
153
153
|
class: _normalizeClass({
|
|
154
|
-
'g-disabled': !__props.prompt.permission.managePrompt
|
|
154
|
+
'!g-disabled': !__props.prompt.permission.managePrompt
|
|
155
155
|
}),
|
|
156
156
|
onMouseenter: handleManagePermissionMouseEnter,
|
|
157
157
|
onMousemove: handleManagePermissionMouseMove,
|
|
@@ -174,7 +174,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
174
174
|
key: 1,
|
|
175
175
|
size: "small",
|
|
176
176
|
class: _normalizeClass({
|
|
177
|
-
'g-disabled': !__props.prompt.permission.usePrompt
|
|
177
|
+
'!g-disabled': !__props.prompt.permission.usePrompt
|
|
178
178
|
}),
|
|
179
179
|
loading: isStartingChat.value,
|
|
180
180
|
onMouseenter: handleUsePermissionMouseEnter,
|
|
@@ -199,7 +199,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
199
199
|
key: 2,
|
|
200
200
|
size: "small",
|
|
201
201
|
class: _normalizeClass({
|
|
202
|
-
'g-disabled': !__props.prompt.permission.usePrompt
|
|
202
|
+
'!g-disabled': !__props.prompt.permission.usePrompt
|
|
203
203
|
}),
|
|
204
204
|
onMouseenter: handleUsePermissionMouseEnter,
|
|
205
205
|
onMousemove: handleUsePermissionMouseMove,
|
|
@@ -267,7 +267,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
267
267
|
}, {
|
|
268
268
|
trigger: _withCtx(()=>[
|
|
269
269
|
_createVNode(_component_bk_button, {
|
|
270
|
-
class: "g-pl-5 g-pr-5",
|
|
270
|
+
class: "!g-pl-5 !g-pr-5",
|
|
271
271
|
size: "small",
|
|
272
272
|
onClick: _cache[3] || (_cache[3] = _withModifiers(()=>{}, [
|
|
273
273
|
"stop"
|
|
@@ -14,7 +14,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
14
14
|
].includes(props.type) ? (_openBlock(), _createElementBlock("p", {
|
|
15
15
|
key: 0,
|
|
16
16
|
class: _normalizeClass({
|
|
17
|
-
'g-
|
|
17
|
+
'g-leading-20 !g-text-12 g-resource-description resource-card-description': true,
|
|
18
18
|
'g-scrollbar': [
|
|
19
19
|
_unref(ResourceCardType).Full,
|
|
20
20
|
_unref(ResourceCardType).Market,
|