@blueking/ai-ui-sdk 0.4.3-beta.10 → 0.4.3-beta.13
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 +2258 -2258
- package/dist/assets/svg/lock.svg +43 -43
- package/dist/common/util.ts.js +103 -103
- package/dist/components/{render-card/agent/actions.script.vue.js.js → render-agent/action/index.script.vue.js.js} +33 -9
- package/dist/components/{render-card/agent/actions.vue.d.ts → render-agent/action/index.vue.d.ts} +1 -0
- package/dist/components/render-agent/action/index.vue.js +3 -0
- package/dist/components/render-agent/agent-download.vue.css +2 -2
- package/dist/components/render-agent/agent-share.script.vue.js.js +8 -5
- package/dist/components/render-agent/agent-share.vue.d.ts +1 -0
- package/dist/components/render-agent/agent-type.script.vue.js.js +3 -9
- package/dist/components/render-agent/agent-type.vue.css +9 -13
- package/dist/components/render-agent/agent-type.vue.d.ts +1 -1
- package/dist/components/render-agent/agent-type.vue.js +1 -1
- package/dist/components/render-auth/auth-dialog.script.vue.js.js +6 -3
- 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/index.script.vue.js.js +55 -22
- package/dist/components/render-card/agent/index.vue.d.ts +4 -2
- 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/application-base-actions.script.vue.js.js +1 -1
- package/dist/components/render-card/base/collection-icon.script.vue.js.js +149 -0
- package/dist/components/render-card/base/collection-icon.vue.d.ts +20 -0
- package/dist/components/render-card/base/collection-icon.vue.js +3 -0
- 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.vue.d.ts +1 -1
- package/dist/components/render-card/knowledgebase/index.vue.d.ts +1 -1
- package/dist/components/render-card/llm/actions.script.vue.js.js +15 -3
- package/dist/components/render-card/llm/actions.vue.d.ts +1 -0
- 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/index.script.vue.js.js +9 -8
- package/dist/components/render-card/llm/index.vue.d.ts +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.script.vue.js.js +18 -14
- package/dist/components/render-card/llm/tag-prefix.vue.css +5 -8
- package/dist/components/render-card/llm/tag-prefix.vue.d.ts +4 -1
- package/dist/components/render-card/llm/tag-prefix.vue.js +1 -1
- package/dist/components/render-card/mcp/actions.script.vue.js.js +35 -7
- package/dist/components/render-card/mcp/actions.vue.d.ts +1 -0
- package/dist/components/render-card/mcp/index.script.vue.js.js +35 -9
- package/dist/components/render-card/mcp/index.vue.d.ts +5 -4
- 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/selected-tools-info.script.vue.js.js +3 -7
- package/dist/components/render-card/mcp/selected-tools-info.vue.d.ts +1 -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 +48 -14
- package/dist/components/render-card/prompt/index.vue.d.ts +4 -2
- package/dist/components/render-card/role/index.script.vue.js.js +53 -20
- package/dist/components/render-card/role/index.vue.d.ts +4 -2
- package/dist/components/render-card/skill/index.script.vue.js.js +58 -24
- package/dist/components/render-card/skill/index.vue.d.ts +8 -4
- package/dist/components/render-card/skill/scanner.script.vue.js.js +66 -0
- package/dist/components/render-card/skill/{tag-prefix.vue.css → scanner.vue.css} +7 -7
- package/dist/components/render-card/skill/scanner.vue.d.ts +11 -0
- package/dist/components/render-card/skill/scanner.vue.js +5 -0
- package/dist/components/render-card/skill/tag-prefix.script.vue.js.js +11 -50
- package/dist/components/render-card/skill/tag-prefix.vue.js +0 -2
- package/dist/components/render-card/tool/actions.script.vue.js.js +26 -4
- package/dist/components/render-card/tool/actions.vue.d.ts +1 -0
- package/dist/components/render-card/tool/index.script.vue.js.js +53 -20
- package/dist/components/render-card/tool/index.vue.d.ts +4 -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.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 +22 -4
- package/dist/components/render-collection/actions/index.vue.d.ts +1 -0
- 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/dataset-data-tool-icons/index.script.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 +2 -2
- package/dist/components/render-dataset/components/plus-dataset/index.vue.js +1 -1
- package/dist/components/render-dataset/components/plus-dataset-data/form/api.vue.css +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 +2 -2
- package/dist/components/render-dataset/components/plus-dataset-data/form/index.vue.js +1 -1
- package/dist/components/render-dataset/components/plus-dataset-data/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 +18 -18
- 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 -18
- package/dist/components/render-dropdown/index.vue.d.ts +5 -5
- package/dist/components/render-file-card/index.vue.css +28 -28
- package/dist/components/render-file-card/index.vue.d.ts +1 -1
- package/dist/components/render-file-card/index.vue.js +1 -1
- package/dist/components/render-file-type-icon/index.vue.css +7 -7
- 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.d.ts +1 -1
- package/dist/components/render-generate-tag/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-markdown/edit.d.ts +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.d.ts +1 -1
- 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/actions/index.script.vue.js.js +22 -4
- package/dist/components/render-prompt/actions/index.vue.d.ts +1 -0
- 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-relate-agent/index.script.vue.js +8 -6
- package/dist/components/render-relate-agent/index.vue.d.ts +2 -2
- package/dist/components/render-resource-version/index.script.vue.js.js +6 -3
- package/dist/components/render-resource-version/index.vue.css +7 -7
- package/dist/components/render-resource-version/index.vue.d.ts +1 -1
- 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 -2
- package/dist/components/render-search-empty/index.vue.d.ts +1 -1
- package/dist/components/render-search-select/index.vue.d.ts +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 +38 -7
- package/dist/components/render-skill/actions/index.vue.d.ts +3 -2
- package/dist/components/render-t-table/index.script.vue.js +32 -12
- package/dist/components/render-t-table/index.vue.css +117 -117
- package/dist/components/render-t-table/index.vue.d.ts +1 -1
- 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.script.vue.js +6 -6
- package/dist/components/render-tags/index.vue.css +12 -12
- package/dist/components/render-tags/index.vue.d.ts +1 -1
- package/dist/components/render-tags/index.vue.js +1 -1
- package/dist/components/render-tree/index.vue.css +12 -12
- package/dist/components/render-tree/index.vue.d.ts +1 -1
- package/dist/components.d.ts +15 -1
- package/dist/components.ts.js +15 -1
- package/dist/css/fonts/iconcool.svg +268 -268
- package/dist/css/g-utilities.css +39 -16
- package/dist/css/g-utilities.manifest.json +7 -0
- package/dist/css/style.css +259 -259
- package/dist/hooks/use-agent-http.d.ts +2 -0
- package/dist/hooks/use-agent-http.ts.js +15 -1
- package/dist/hooks/use-collection-http.d.ts +2 -0
- package/dist/hooks/use-collection-http.ts.js +15 -1
- package/dist/hooks/use-ellipsis-tooltip.ts.js +28 -28
- package/dist/hooks/use-loading-version.ts.js +4 -4
- package/dist/hooks/use-market-http.d.ts +10 -0
- package/dist/hooks/use-market-http.ts.js +71 -1
- package/dist/hooks/use-mcp-http.d.ts +2 -0
- package/dist/hooks/use-mcp-http.ts.js +15 -1
- package/dist/hooks/use-prompt-http.d.ts +2 -0
- package/dist/hooks/use-prompt-http.ts.js +15 -1
- package/dist/hooks/use-skill-http.d.ts +2 -0
- package/dist/hooks/use-skill-http.ts.js +15 -1
- package/dist/hooks/use-t-table.d.ts +11 -5
- package/dist/hooks/use-t-table.ts.js +25 -3
- package/dist/hooks/use-tool-http.d.ts +2 -0
- package/dist/hooks/use-tool-http.ts.js +15 -1
- package/dist/http/helper/agent.ts.js +46 -47
- package/dist/http/helper/collection.ts.js +14 -13
- package/dist/http/helper/common.d.ts +1 -1
- package/dist/http/helper/common.ts.js +48 -44
- package/dist/http/helper/dataset.ts.js +76 -76
- package/dist/http/helper/knowledge.ts.js +45 -45
- package/dist/http/helper/mcp.ts.js +42 -38
- package/dist/http/helper/permission.ts.js +12 -12
- package/dist/http/helper/prompt.ts.js +14 -13
- package/dist/http/helper/skill.ts.js +28 -24
- package/dist/http/helper/space.ts.js +24 -24
- package/dist/http/helper/tool.ts.js +26 -22
- package/dist/types/agent.d.ts +3 -3
- package/dist/types/collection.d.ts +3 -1
- package/dist/types/common.d.ts +4 -0
- package/dist/types/enum.d.ts +5 -7
- package/dist/types/enum.ts.js +3 -6
- package/dist/types/mcp.d.ts +4 -0
- package/dist/types/prompt.d.ts +3 -1
- package/dist/types/skill.d.ts +4 -0
- package/dist/types/tool.d.ts +4 -0
- package/package.json +112 -112
- package/dist/components/render-card/agent/actions.vue.js +0 -3
|
@@ -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: 36px 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: 32px 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: 24px 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: 18px 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: 14px 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: 36px 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: 32px 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: 24px 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: 18px 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: 14px 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
|
+
}
|
|
@@ -17,7 +17,10 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
17
17
|
manageSpace: {
|
|
18
18
|
type: Boolean
|
|
19
19
|
},
|
|
20
|
-
username: {}
|
|
20
|
+
username: {},
|
|
21
|
+
isTextButton: {
|
|
22
|
+
type: Boolean
|
|
23
|
+
}
|
|
21
24
|
},
|
|
22
25
|
emits: [
|
|
23
26
|
"success-delete",
|
|
@@ -139,6 +142,8 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
139
142
|
class: _normalizeClass({
|
|
140
143
|
'!g-disabled': !__props.prompt.permission.managePrompt
|
|
141
144
|
}),
|
|
145
|
+
text: props.isTextButton,
|
|
146
|
+
theme: __props.isTextButton ? 'primary' : '',
|
|
142
147
|
size: "small",
|
|
143
148
|
onMouseenter: handleManagePermissionMouseEnter,
|
|
144
149
|
onMousemove: handleManagePermissionMouseMove,
|
|
@@ -155,6 +160,8 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
155
160
|
_: 1 /* STABLE */
|
|
156
161
|
}, 8 /* PROPS */ , [
|
|
157
162
|
"class",
|
|
163
|
+
"text",
|
|
164
|
+
"theme",
|
|
158
165
|
"onMouseleave"
|
|
159
166
|
])) : _createCommentVNode("v-if", true),
|
|
160
167
|
getIsCurrentSpace() && !getIsNotDeleted() ? (_openBlock(), _createBlock(_component_bk_pop_confirm, {
|
|
@@ -170,6 +177,8 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
170
177
|
default: _withCtx(()=>[
|
|
171
178
|
_withDirectives((_openBlock(), _createBlock(_component_bk_button, {
|
|
172
179
|
disabled: !__props.prompt.permission.managePrompt,
|
|
180
|
+
theme: __props.isTextButton ? 'primary' : '',
|
|
181
|
+
text: props.isTextButton,
|
|
173
182
|
size: "small",
|
|
174
183
|
onClick: _withModifiers(handleShowRestore, [
|
|
175
184
|
"stop"
|
|
@@ -182,7 +191,9 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
182
191
|
]),
|
|
183
192
|
_: 1 /* STABLE */
|
|
184
193
|
}, 8 /* PROPS */ , [
|
|
185
|
-
"disabled"
|
|
194
|
+
"disabled",
|
|
195
|
+
"theme",
|
|
196
|
+
"text"
|
|
186
197
|
])), [
|
|
187
198
|
[
|
|
188
199
|
_directive_bk_tooltips,
|
|
@@ -201,14 +212,17 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
201
212
|
key: 2,
|
|
202
213
|
"resource-type": _unref(Module).Prompt,
|
|
203
214
|
resource: __props.prompt,
|
|
204
|
-
text:
|
|
215
|
+
"is-text-button": props.isTextButton,
|
|
205
216
|
"space-id": props.spaceId,
|
|
217
|
+
theme: __props.isTextButton ? 'primary' : '',
|
|
206
218
|
"api-prefix": props.apiPrefix,
|
|
207
219
|
onNavigate: handleNavigate
|
|
208
220
|
}, null, 8 /* PROPS */ , [
|
|
209
221
|
"resource-type",
|
|
210
222
|
"resource",
|
|
223
|
+
"is-text-button",
|
|
211
224
|
"space-id",
|
|
225
|
+
"theme",
|
|
212
226
|
"api-prefix"
|
|
213
227
|
])) : _createCommentVNode("v-if", true),
|
|
214
228
|
getIsNotDeleted() && !getIsMarketType() ? (_openBlock(), _createBlock(RenderDropdown, {
|
|
@@ -220,6 +234,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
220
234
|
}, {
|
|
221
235
|
trigger: _withCtx(()=>[
|
|
222
236
|
_createVNode(_component_bk_button, {
|
|
237
|
+
text: props.isTextButton,
|
|
223
238
|
class: "!g-pl-5 !g-pr-5",
|
|
224
239
|
size: "small",
|
|
225
240
|
onClick: _cache[1] || (_cache[1] = _withModifiers(()=>{}, [
|
|
@@ -234,7 +249,9 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
234
249
|
])
|
|
235
250
|
]),
|
|
236
251
|
_: 1 /* STABLE */
|
|
237
|
-
}
|
|
252
|
+
}, 8 /* PROPS */ , [
|
|
253
|
+
"text"
|
|
254
|
+
])
|
|
238
255
|
]),
|
|
239
256
|
content: _withCtx(()=>[
|
|
240
257
|
_createElementVNode("ul", {
|
|
@@ -252,6 +269,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
252
269
|
boundary: `.prompt-card-menu-${__props.prompt.id}`,
|
|
253
270
|
"resource-type": _unref(Module).Prompt,
|
|
254
271
|
resource: __props.prompt,
|
|
272
|
+
"is-text-button": true,
|
|
255
273
|
"space-id": props.spaceId,
|
|
256
274
|
"api-prefix": props.apiPrefix,
|
|
257
275
|
onNavigate: handleNavigate
|
|
@@ -9,6 +9,7 @@ interface IProps {
|
|
|
9
9
|
apiPrefix: string;
|
|
10
10
|
manageSpace?: boolean;
|
|
11
11
|
username?: string;
|
|
12
|
+
isTextButton?: boolean;
|
|
12
13
|
}
|
|
13
14
|
declare const __VLS_export: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
14
15
|
edit: (val: IPrompt) => any;
|
|
@@ -49,16 +49,16 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
49
49
|
disabledText: {
|
|
50
50
|
default: ''
|
|
51
51
|
},
|
|
52
|
-
|
|
53
|
-
type: Boolean
|
|
54
|
-
default: true
|
|
52
|
+
isTextButton: {
|
|
53
|
+
type: Boolean
|
|
55
54
|
},
|
|
56
55
|
boundary: {},
|
|
57
56
|
placement: {
|
|
58
57
|
default: 'right'
|
|
59
58
|
},
|
|
60
59
|
spaceId: {},
|
|
61
|
-
apiPrefix: {}
|
|
60
|
+
apiPrefix: {},
|
|
61
|
+
theme: {}
|
|
62
62
|
},
|
|
63
63
|
emits: [
|
|
64
64
|
"navigate"
|
|
@@ -584,7 +584,8 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
584
584
|
}, ()=>[
|
|
585
585
|
_withDirectives((_openBlock(), _createBlock(_component_bk_button, {
|
|
586
586
|
disabled: props.disabled,
|
|
587
|
-
text: props.
|
|
587
|
+
text: props.isTextButton,
|
|
588
|
+
theme: __props.theme,
|
|
588
589
|
size: "small",
|
|
589
590
|
onClick: _withModifiers(handleShow, [
|
|
590
591
|
"stop"
|
|
@@ -598,7 +599,8 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
598
599
|
_: 1 /* STABLE */
|
|
599
600
|
}, 8 /* PROPS */ , [
|
|
600
601
|
"disabled",
|
|
601
|
-
"text"
|
|
602
|
+
"text",
|
|
603
|
+
"theme"
|
|
602
604
|
])), [
|
|
603
605
|
[
|
|
604
606
|
_directive_bk_tooltips,
|
|
@@ -12,11 +12,12 @@ interface IProps {
|
|
|
12
12
|
resource: IAgent | IMcp | ISkill | IModel | ITool | IKnowledgebase | IPrompt | ICollection;
|
|
13
13
|
disabled?: boolean;
|
|
14
14
|
disabledText?: string;
|
|
15
|
-
|
|
15
|
+
isTextButton?: boolean;
|
|
16
16
|
boundary?: string;
|
|
17
17
|
placement?: string;
|
|
18
18
|
spaceId?: string;
|
|
19
19
|
apiPrefix: string;
|
|
20
|
+
theme?: string;
|
|
20
21
|
}
|
|
21
22
|
declare var __VLS_8: {
|
|
22
23
|
handleShow: () => Promise<void>;
|
|
@@ -29,7 +30,6 @@ declare const __VLS_base: import("vue").DefineComponent<IProps, {}, {}, {}, {},
|
|
|
29
30
|
}, string, import("vue").PublicProps, Readonly<IProps> & Readonly<{
|
|
30
31
|
onNavigate?: (value: ISdkNavigateAction) => any;
|
|
31
32
|
}>, {
|
|
32
|
-
text: boolean;
|
|
33
33
|
disabledText: string;
|
|
34
34
|
placement: string;
|
|
35
35
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as _defineComponent } from 'vue';
|
|
2
|
-
import { toDisplayString as _toDisplayString, normalizeStyle as _normalizeStyle, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue";
|
|
2
|
+
import { toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue";
|
|
3
3
|
export default /*@__PURE__*/ _defineComponent({
|
|
4
4
|
props: {
|
|
5
5
|
version: {},
|
|
@@ -23,14 +23,17 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
23
23
|
};
|
|
24
24
|
return (_ctx, _cache)=>{
|
|
25
25
|
return _openBlock(), _createElementBlock("span", {
|
|
26
|
-
class:
|
|
26
|
+
class: _normalizeClass({
|
|
27
|
+
'resource-version g-inline-flex-row': true,
|
|
28
|
+
'!g-bg-f6ebda !g-text-b17432': props.version
|
|
29
|
+
}),
|
|
27
30
|
style: _normalizeStyle({
|
|
28
31
|
height: `${__props.height}px`,
|
|
29
32
|
lineHeight: `${__props.height}px`,
|
|
30
33
|
fontSize: `${__props.fontSize}px`,
|
|
31
34
|
padding: `0 ${__props.padding}px`
|
|
32
35
|
})
|
|
33
|
-
}, _toDisplayString(getVersionName()),
|
|
36
|
+
}, _toDisplayString(getVersionName()), 7 /* TEXT, CLASS, STYLE */ );
|
|
34
37
|
};
|
|
35
38
|
}
|
|
36
39
|
});
|
|
@@ -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-m1ajtmgv] {
|
|
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-m1ajtmgv] {
|
|
10
10
|
color: #3A84FF;
|
|
11
|
-
}
|
|
11
|
+
}
|
|
@@ -6,8 +6,8 @@ interface IProps {
|
|
|
6
6
|
}
|
|
7
7
|
declare const __VLS_export: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IProps> & Readonly<{}>, {
|
|
8
8
|
height: number | string;
|
|
9
|
-
fontSize: number | string;
|
|
10
9
|
padding: number | string;
|
|
10
|
+
fontSize: number | string;
|
|
11
11
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
12
|
declare const _default: typeof __VLS_export;
|
|
13
13
|
export default _default;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
|
|
2
|
-
.router-tab[data-v-
|
|
3
|
-
margin-top: 2px;
|
|
4
|
-
height: 42px;
|
|
5
|
-
background: #FFFFFF;
|
|
6
|
-
box-shadow: 0 2px 4px 0 #1919290d;
|
|
2
|
+
.router-tab[data-v-zcabdf5m] {
|
|
3
|
+
margin-top: 2px;
|
|
4
|
+
height: 42px;
|
|
5
|
+
background: #FFFFFF;
|
|
6
|
+
box-shadow: 0 2px 4px 0 #1919290d;
|
|
7
7
|
padding: 0 24px;
|
|
8
8
|
}
|
|
9
|
-
.router-tab a[data-v-
|
|
10
|
-
padding: 0 8px;
|
|
11
|
-
margin-right: 24px;
|
|
12
|
-
font-size: 14px;
|
|
13
|
-
line-height: 42px;
|
|
14
|
-
height: 42px;
|
|
15
|
-
color: #4D4F56;
|
|
9
|
+
.router-tab a[data-v-zcabdf5m] {
|
|
10
|
+
padding: 0 8px;
|
|
11
|
+
margin-right: 24px;
|
|
12
|
+
font-size: 14px;
|
|
13
|
+
line-height: 42px;
|
|
14
|
+
height: 42px;
|
|
15
|
+
color: #4D4F56;
|
|
16
16
|
box-sizing: border-box;
|
|
17
17
|
}
|
|
18
|
-
.router-tab a.router-link-exact-active[data-v-
|
|
19
|
-
color: #3A84FF;
|
|
18
|
+
.router-tab a.router-link-exact-active[data-v-zcabdf5m] {
|
|
19
|
+
color: #3A84FF;
|
|
20
20
|
border-bottom: 2px solid #3A84FF;
|
|
21
|
-
}
|
|
21
|
+
}
|
|
@@ -48,12 +48,13 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
48
48
|
"type",
|
|
49
49
|
"description"
|
|
50
50
|
]),
|
|
51
|
+
_cache[1] || (_cache[1] = _createTextVNode()),
|
|
51
52
|
!_unref(isEmpty)(props.search) ? (_openBlock(), _createElementBlock("div", _hoisted_2, [
|
|
52
|
-
_cache[0] || (_cache[0] = _createTextVNode("
|
|
53
|
+
_cache[0] || (_cache[0] = _createTextVNode("\r\n 可以尝试调整筛选条件或\r\n ", -1 /* CACHED */ )),
|
|
53
54
|
_createElementVNode("button", {
|
|
54
55
|
class: "g-text-blue !g-cursor-pointer g-ml-4",
|
|
55
56
|
onClick: handleClearSearch
|
|
56
|
-
}, "
|
|
57
|
+
}, "\r\n 清空筛选条件\r\n ")
|
|
57
58
|
])) : _createCommentVNode("v-if", true)
|
|
58
59
|
]);
|
|
59
60
|
};
|
|
@@ -13,7 +13,7 @@ declare const __VLS_export: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_se
|
|
|
13
13
|
slots: {};
|
|
14
14
|
emit: (e: "update:search", data: T) => void;
|
|
15
15
|
}>) => import("vue").VNode & {
|
|
16
|
-
__ctx?:
|
|
16
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
17
17
|
};
|
|
18
18
|
declare const _default: typeof __VLS_export;
|
|
19
19
|
export default _default;
|
|
@@ -29,7 +29,7 @@ declare const __VLS_export: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_se
|
|
|
29
29
|
slots: {};
|
|
30
30
|
emit: (event: "update:modelValue", value: T) => void;
|
|
31
31
|
}>) => import("vue").VNode & {
|
|
32
|
-
__ctx?:
|
|
32
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
33
33
|
};
|
|
34
34
|
declare const _default: typeof __VLS_export;
|
|
35
35
|
export default _default;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
|
|
2
|
-
.select-plus-extension[data-v-
|
|
3
|
-
cursor: pointer;
|
|
4
|
-
width: 100%;
|
|
5
|
-
display: flex;
|
|
6
|
-
justify-content: center;
|
|
7
|
-
align-items: center;
|
|
8
|
-
font-size: 12px;
|
|
2
|
+
.select-plus-extension[data-v-nn1rjffr] {
|
|
3
|
+
cursor: pointer;
|
|
4
|
+
width: 100%;
|
|
5
|
+
display: flex;
|
|
6
|
+
justify-content: center;
|
|
7
|
+
align-items: center;
|
|
8
|
+
font-size: 12px;
|
|
9
9
|
line-height: 20px;
|
|
10
10
|
}
|
|
11
|
-
.select-plus-extension .ai-ui-sdk-icon[data-v-
|
|
12
|
-
font-size: 14px;
|
|
11
|
+
.select-plus-extension .ai-ui-sdk-icon[data-v-nn1rjffr] {
|
|
12
|
+
font-size: 14px;
|
|
13
13
|
margin-right: 6px;
|
|
14
14
|
}
|
|
15
|
-
.select-plus-extension[data-v-
|
|
15
|
+
.select-plus-extension[data-v-nn1rjffr]:hover {
|
|
16
16
|
color: #3A84FF;
|
|
17
|
-
}
|
|
17
|
+
}
|