@blueking/ai-ui-sdk 0.3.0-beta.16 → 0.3.0-beta.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/render-agent/agent-share.script.vue.js.js +1 -1
- package/dist/components/render-agent/agent-type.vue.css +3 -3
- package/dist/components/render-agent/agent-type.vue.js +1 -1
- package/dist/components/render-auto-height-textarea/index.script.vue.js.js +5 -3
- package/dist/components/render-auto-height-textarea/index.vue.css +11 -11
- package/dist/components/render-auto-height-textarea/index.vue.js +1 -1
- package/dist/components/render-auto-refresh/index.vue.css +8 -8
- package/dist/components/render-auto-refresh/index.vue.js +1 -1
- package/dist/components/render-card/agent/actions.script.vue.js.js +1 -1
- package/dist/components/render-card/agent/prefix-info-tool.script.vue.js.js +1 -1
- package/dist/components/render-card/agent/prefix-info-tool.vue.css +5 -5
- package/dist/components/render-card/agent/prefix-info-tool.vue.js +1 -1
- package/dist/components/render-card/agent-command/info-tool.script.vue.js.js +4 -4
- package/dist/components/render-card/base/reference-icon.script.vue.js.js +1 -1
- package/dist/components/render-card/base.script.vue.js +2 -2
- package/dist/components/render-card/base.vue.css +12 -12
- package/dist/components/render-card/base.vue.js +1 -1
- package/dist/components/render-card/knowledge/info-tool.script.vue.js.js +2 -2
- package/dist/components/render-card/knowledgebase/info-tool.script.vue.js.js +1 -1
- package/dist/components/render-card/llm/corner-badge.script.vue.js +1 -1
- package/dist/components/render-card/llm/corner-badge.vue.css +3 -3
- 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 +2 -2
- package/dist/components/render-card/llm/icons.vue.js +1 -1
- package/dist/components/render-card/llm/info.vue.css +1 -1
- package/dist/components/render-card/llm/info.vue.js +1 -1
- package/dist/components/render-card/llm/tag-prefix.vue.css +3 -3
- package/dist/components/render-card/llm/tag-prefix.vue.js +1 -1
- package/dist/components/render-card/mcp/actions.script.vue.js.js +1 -1
- package/dist/components/render-card/mcp/name-suffix.vue.css +2 -2
- 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 +1 -1
- package/dist/components/render-card/prompt/icons.script.vue.js.js +1 -1
- package/dist/components/render-card/prompt/icons.vue.css +1 -1
- package/dist/components/render-card/prompt/icons.vue.js +1 -1
- package/dist/components/render-card/skill/tag-prefix.script.vue.js.js +3 -3
- package/dist/components/render-card/skill/tag-prefix.vue.css +3 -3
- package/dist/components/render-card/skill/tag-prefix.vue.js +1 -1
- package/dist/components/render-card/tool/actions.script.vue.js.js +1 -1
- package/dist/components/render-card/tool/prefix-info-tool.script.vue.js.js +1 -1
- package/dist/components/render-checkbox/index.vue.css +9 -9
- package/dist/components/render-checkbox/index.vue.js +1 -1
- package/dist/components/render-choose-tag/index.vue.css +7 -7
- package/dist/components/render-choose-tag/index.vue.js +1 -1
- package/dist/components/render-collapse/index.script.vue.js.js +2 -2
- package/dist/components/render-collapse/index.vue.css +2 -2
- package/dist/components/render-collapse/index.vue.js +1 -1
- package/dist/components/render-collection/actions/index.script.vue.js.js +1 -1
- package/dist/components/render-collection/content/index.vue.css +4 -4
- package/dist/components/render-collection/content/index.vue.js +1 -1
- package/dist/components/render-dataset/components/batch-delete-dataset-data/index.vue.css +3 -3
- package/dist/components/render-dataset/components/batch-delete-dataset-data/index.vue.js +1 -1
- package/dist/components/render-dataset/components/batch-edit-valid-dataset-data/index.vue.css +1 -1
- package/dist/components/render-dataset/components/batch-edit-valid-dataset-data/index.vue.js +1 -1
- package/dist/components/render-dataset/components/dataset-data-tool-icons/index.script.vue.js +1 -1
- package/dist/components/render-dataset/components/dataset-data-valid/index.script.vue.js.js +1 -1
- package/dist/components/render-dataset/components/dataset-data-valid/index.vue.css +1 -1
- package/dist/components/render-dataset/components/dataset-data-valid/index.vue.js +1 -1
- package/dist/components/render-dataset/components/edit-dataset-data/index.vue.css +3 -3
- package/dist/components/render-dataset/components/edit-dataset-data/index.vue.js +1 -1
- package/dist/components/render-dataset/components/operation-record/index.vue.css +4 -4
- package/dist/components/render-dataset/components/operation-record/index.vue.js +1 -1
- package/dist/components/render-dataset/components/operation-record/table/index.vue.css +1 -1
- package/dist/components/render-dataset/components/operation-record/table/index.vue.js +1 -1
- package/dist/components/render-dataset/components/operation-record/view-op-result/index.vue.css +2 -2
- package/dist/components/render-dataset/components/operation-record/view-op-result/index.vue.js +1 -1
- package/dist/components/render-dataset/components/plus-dataset/index.vue.css +2 -2
- package/dist/components/render-dataset/components/plus-dataset/index.vue.js +1 -1
- package/dist/components/render-dataset/components/plus-dataset-data/form/api.vue.css +2 -2
- package/dist/components/render-dataset/components/plus-dataset-data/form/api.vue.js +1 -1
- package/dist/components/render-dataset/components/plus-dataset-data/form/footer.vue.css +1 -1
- package/dist/components/render-dataset/components/plus-dataset-data/form/footer.vue.js +1 -1
- package/dist/components/render-dataset/components/plus-dataset-data/form/index.vue.css +2 -2
- package/dist/components/render-dataset/components/plus-dataset-data/form/index.vue.js +1 -1
- package/dist/components/render-dataset/components/review-dataset-data/index.vue.css +10 -10
- package/dist/components/render-dataset/components/review-dataset-data/index.vue.js +1 -1
- package/dist/components/render-dataset-detail-origin-data/index.vue.css +3 -3
- package/dist/components/render-dataset-detail-origin-data/index.vue.js +1 -1
- package/dist/components/render-dataset-list/components/main.vue.css +3 -3
- package/dist/components/render-dataset-list/components/main.vue.js +1 -1
- package/dist/components/render-dataset-list/index.vue.css +2 -2
- package/dist/components/render-dataset-list/index.vue.js +1 -1
- package/dist/components/render-dialog/choose-footer.script.vue.js.js +75 -8
- package/dist/components/render-dialog/choose-resource.vue.css +3 -3
- package/dist/components/render-dialog/choose-resource.vue.js +1 -1
- package/dist/components/render-dialog/choose-result.vue.css +14 -14
- package/dist/components/render-dialog/choose-result.vue.js +1 -1
- package/dist/components/render-dialog/choose-space.script.vue.js.js +2 -2
- package/dist/components/render-dialog/choose-space.vue.css +8 -8
- package/dist/components/render-dialog/choose-space.vue.js +1 -1
- package/dist/components/render-dialog/index.vue.css +6 -6
- package/dist/components/render-dialog/index.vue.js +1 -1
- package/dist/components/render-file-card/index.vue.css +11 -11
- package/dist/components/render-file-card/index.vue.js +1 -1
- package/dist/components/render-file-type-icon/index.script.vue.js.js +2 -1
- package/dist/components/render-file-type-icon/index.vue.css +8 -5
- package/dist/components/render-file-type-icon/index.vue.js +1 -1
- package/dist/components/render-generate-tag/index.script.vue.js.js +3 -3
- package/dist/components/render-generate-tag/index.vue.css +5 -5
- package/dist/components/render-generate-tag/index.vue.js +1 -1
- package/dist/components/render-header/index.script.vue.js.js +1 -1
- package/dist/components/render-header/index.vue.css +3 -3
- package/dist/components/render-header/index.vue.js +1 -1
- package/dist/components/render-knowledge/icon/index.script.vue.js.js +3 -3
- package/dist/components/render-knowledge/icon/index.vue.css +1 -1
- package/dist/components/render-knowledge/icon/index.vue.js +1 -1
- package/dist/components/render-like/index.vue.css +5 -5
- package/dist/components/render-like/index.vue.js +1 -1
- package/dist/components/render-markdown/edit.ts.js +3 -3
- package/dist/components/render-permission-tag/index.script.vue.js +2 -2
- package/dist/components/render-prompt/actions/index.script.vue.js.js +1 -1
- package/dist/components/render-prompt/content/index.vue.css +1 -1
- package/dist/components/render-prompt/content/index.vue.js +1 -1
- package/dist/components/render-reference/index.vue.css +2 -2
- package/dist/components/render-reference/index.vue.js +1 -1
- package/dist/components/render-relate-agent/index.script.vue.js.js +3 -1
- package/dist/components/render-relate-agent/index.vue.d.ts +1 -0
- package/dist/components/render-resource-info/index.script.vue.js +1 -1
- package/dist/components/render-resource-version/index.vue.css +2 -2
- package/dist/components/render-resource-version/index.vue.js +1 -1
- package/dist/components/render-router-tab/index.vue.css +3 -3
- package/dist/components/render-router-tab/index.vue.js +1 -1
- package/dist/components/render-select-plus-extension/index.script.vue.js.js +1 -1
- package/dist/components/render-select-plus-extension/index.vue.css +3 -3
- package/dist/components/render-select-plus-extension/index.vue.js +1 -1
- package/dist/components/render-skill/actions/index.script.vue.js.js +1 -1
- package/dist/components/render-skill/icons/index.script.vue.js.js +1 -1
- package/dist/components/render-t-table/index.script.vue.js +2 -2
- package/dist/components/render-t-table/index.vue.css +27 -27
- package/dist/components/render-t-table/index.vue.js +1 -1
- package/dist/components/render-tag-tree/index.vue.css +7 -7
- package/dist/components/render-tag-tree/index.vue.js +1 -1
- package/dist/components/render-tags/index.vue.css +6 -6
- package/dist/components/render-tags/index.vue.js +1 -1
- package/dist/css/fonts/iconcool.eot +0 -0
- package/dist/css/fonts/iconcool.svg +102 -0
- package/dist/css/fonts/iconcool.ttf +0 -0
- package/dist/css/fonts/iconcool.woff +0 -0
- package/dist/css/g-utilities.css +4 -4
- package/dist/css/g-utilities.manifest.json +1 -1
- package/dist/css/iconcool.js +1 -1
- package/dist/css/style.css +102 -0
- package/dist/hooks/use-agent-http.d.ts +1 -1
- package/dist/hooks/use-agent-http.ts.js +2 -2
- package/dist/hooks/use-scroll-load.d.ts +3 -1
- package/dist/hooks/use-scroll-load.ts.js +12 -2
- package/dist/http/helper/agent.d.ts +1 -0
- package/dist/http/helper/agent.ts.js +5 -0
- package/dist/types/agent.d.ts +2 -0
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import { defineComponent as _defineComponent } from 'vue';
|
|
|
2
2
|
import { openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, unref as _unref, mergeProps as _mergeProps, resolveDirective as _resolveDirective, withCtx as _withCtx, createBlock as _createBlock, withDirectives as _withDirectives } from "vue";
|
|
3
3
|
const _hoisted_1 = {
|
|
4
4
|
key: 0,
|
|
5
|
-
class: "
|
|
5
|
+
class: "ai-ui-sdk-icon ai-ui-sdk-fenxiang g-text-16 g-mr-4"
|
|
6
6
|
};
|
|
7
7
|
import { ref, toRef } from 'vue';
|
|
8
8
|
import { handleCopy } from '../../common/util.ts.js';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
|
|
2
|
-
.agent-type[data-v-
|
|
2
|
+
.agent-type[data-v-zt729p9y] {
|
|
3
3
|
display: inline-block;
|
|
4
4
|
border-radius: 2px;
|
|
5
5
|
text-align: left;
|
|
6
6
|
white-space: nowrap;
|
|
7
7
|
}
|
|
8
|
-
.agent-type.single[data-v-
|
|
8
|
+
.agent-type.single[data-v-zt729p9y] {
|
|
9
9
|
color: #1768EF;
|
|
10
10
|
background-color: #E1ECFF;
|
|
11
11
|
}
|
|
12
|
-
.agent-type.flow[data-v-
|
|
12
|
+
.agent-type.flow[data-v-zt729p9y] {
|
|
13
13
|
color: #E38B02;
|
|
14
14
|
background: #FDEED8;
|
|
15
15
|
}
|
|
@@ -34,8 +34,9 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
34
34
|
nextTick(handleCalcHeight);
|
|
35
35
|
};
|
|
36
36
|
const handleCalcHeight = ()=>{
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
var _inputRef_value;
|
|
38
|
+
const elm = (_inputRef_value = inputRef.value) === null || _inputRef_value === void 0 ? void 0 : _inputRef_value.$el.firstElementChild;
|
|
39
|
+
if ((elm === null || elm === void 0 ? void 0 : elm.scrollHeight) > props.height && props.modelValue) {
|
|
39
40
|
textHeight.value = elm.scrollHeight <= props.maxHeight ? elm.scrollHeight : props.maxHeight;
|
|
40
41
|
} else {
|
|
41
42
|
textHeight.value = props.height;
|
|
@@ -56,12 +57,13 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
56
57
|
}, [
|
|
57
58
|
_createVNode(_unref(BkInput), {
|
|
58
59
|
type: "textarea",
|
|
60
|
+
row: "1",
|
|
59
61
|
class: "send-input",
|
|
60
62
|
ref_key: "inputRef",
|
|
61
63
|
ref: inputRef,
|
|
62
|
-
rows: 1,
|
|
63
64
|
disabled: __props.disabled,
|
|
64
65
|
clearable: false,
|
|
66
|
+
resize: false,
|
|
65
67
|
placeholder: __props.placeholder,
|
|
66
68
|
"model-value": __props.modelValue,
|
|
67
69
|
onInput: handleValueChange
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
|
|
2
|
-
.send-container[data-v-
|
|
2
|
+
.send-container[data-v-j7m6lzrs] {
|
|
3
3
|
position: relative;
|
|
4
4
|
}
|
|
5
|
-
.send-container[data-v-
|
|
5
|
+
.send-container[data-v-j7m6lzrs]:has(textarea:focus) {
|
|
6
6
|
z-index: 2;
|
|
7
7
|
}
|
|
8
|
-
.send-container:hover .send-clear[data-v-
|
|
8
|
+
.send-container:hover .send-clear[data-v-j7m6lzrs] {
|
|
9
9
|
display: inline-flex !important;
|
|
10
10
|
}
|
|
11
|
-
.send-input[data-v-
|
|
11
|
+
.send-input[data-v-j7m6lzrs] {
|
|
12
12
|
width: 100%;
|
|
13
13
|
flex-direction: row;
|
|
14
14
|
height: var(--origin-height);
|
|
15
15
|
}
|
|
16
|
-
.send-input[data-v-
|
|
16
|
+
.send-input[data-v-j7m6lzrs]:has(textarea:focus) {
|
|
17
17
|
height: var(--text-height);
|
|
18
18
|
}
|
|
19
|
-
.send-input[data-v-
|
|
19
|
+
.send-input[data-v-j7m6lzrs] textarea {
|
|
20
20
|
font-size: 12px;
|
|
21
21
|
line-height: 16px;
|
|
22
22
|
padding: 7px;
|
|
23
23
|
resize: none !important;
|
|
24
24
|
}
|
|
25
|
-
.send-input[data-v-
|
|
25
|
+
.send-input[data-v-j7m6lzrs] textarea::-webkit-scrollbar {
|
|
26
26
|
width: 4px;
|
|
27
27
|
height: 4px;
|
|
28
28
|
}
|
|
29
|
-
.send-input[data-v-
|
|
29
|
+
.send-input[data-v-j7m6lzrs] textarea::-webkit-scrollbar-thumb {
|
|
30
30
|
height: 5px;
|
|
31
31
|
border-radius: 3px;
|
|
32
32
|
background-color: #dcdee5;
|
|
33
33
|
}
|
|
34
|
-
.send-input[data-v-
|
|
34
|
+
.send-input[data-v-j7m6lzrs] textarea::placeholder {
|
|
35
35
|
line-height: 16px;
|
|
36
36
|
}
|
|
37
|
-
.send-clear[data-v-
|
|
37
|
+
.send-clear[data-v-j7m6lzrs] {
|
|
38
38
|
display: none !important;
|
|
39
39
|
position: absolute;
|
|
40
40
|
right: 10px;
|
|
@@ -43,6 +43,6 @@
|
|
|
43
43
|
font-size: 14px;
|
|
44
44
|
cursor: pointer;
|
|
45
45
|
}
|
|
46
|
-
.send-clear[data-v-
|
|
46
|
+
.send-clear[data-v-j7m6lzrs]:hover {
|
|
47
47
|
color: #313238;
|
|
48
48
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
.auto-refresh[data-v-
|
|
2
|
+
.auto-refresh[data-v-n15nwkf5] {
|
|
3
3
|
position: relative;
|
|
4
4
|
cursor: pointer;
|
|
5
5
|
line-height: 26px;
|
|
6
6
|
padding: 0 4px;
|
|
7
7
|
white-space: nowrap;
|
|
8
8
|
}
|
|
9
|
-
.auto-refresh[data-v-
|
|
9
|
+
.auto-refresh[data-v-n15nwkf5]:after {
|
|
10
10
|
content: '';
|
|
11
11
|
position: absolute;
|
|
12
12
|
top: 5px;
|
|
@@ -16,31 +16,31 @@
|
|
|
16
16
|
background-color: #dcdee5;
|
|
17
17
|
z-index: 1;
|
|
18
18
|
}
|
|
19
|
-
.auto-refresh[data-v-
|
|
19
|
+
.auto-refresh[data-v-n15nwkf5]:hover {
|
|
20
20
|
color: #3A84FF;
|
|
21
21
|
background-color: #E1ECFF;
|
|
22
22
|
}
|
|
23
|
-
.refresh[data-v-
|
|
23
|
+
.refresh[data-v-n15nwkf5] {
|
|
24
24
|
cursor: pointer;
|
|
25
25
|
line-height: 26px;
|
|
26
26
|
padding: 0 4px;
|
|
27
27
|
}
|
|
28
|
-
.refresh[data-v-
|
|
28
|
+
.refresh[data-v-n15nwkf5]:hover {
|
|
29
29
|
color: #3A84FF;
|
|
30
30
|
background-color: #E1ECFF;
|
|
31
31
|
}
|
|
32
|
-
.textarea-list[data-v-
|
|
32
|
+
.textarea-list[data-v-n15nwkf5] {
|
|
33
33
|
padding: 4px 0;
|
|
34
34
|
line-height: 32px;
|
|
35
35
|
max-height: 300px;
|
|
36
36
|
position: relative;
|
|
37
37
|
z-index: 2;
|
|
38
38
|
}
|
|
39
|
-
.textarea-list .textarea-item[data-v-
|
|
39
|
+
.textarea-list .textarea-item[data-v-n15nwkf5] {
|
|
40
40
|
padding: 0 12px;
|
|
41
41
|
cursor: pointer;
|
|
42
42
|
}
|
|
43
|
-
.textarea-list .textarea-item[data-v-
|
|
43
|
+
.textarea-list .textarea-item[data-v-n15nwkf5]:hover {
|
|
44
44
|
background: #E1ECFF;
|
|
45
45
|
color: #3A84FF;
|
|
46
46
|
}
|
|
@@ -284,7 +284,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
284
284
|
default: _withCtx(()=>[
|
|
285
285
|
..._cache[11] || (_cache[11] = [
|
|
286
286
|
_createElementVNode("i", {
|
|
287
|
-
class: "
|
|
287
|
+
class: "ai-ui-sdk-icon ai-ui-sdk-gengduo-2 g-text-16"
|
|
288
288
|
}, null, -1 /* CACHED */ )
|
|
289
289
|
])
|
|
290
290
|
]),
|
|
@@ -233,7 +233,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
233
233
|
_withDirectives(_createElementVNode("i", {
|
|
234
234
|
class: _normalizeClass({
|
|
235
235
|
'!g-disabled': getIsDisabled(),
|
|
236
|
-
'
|
|
236
|
+
'ai-ui-sdk-icon ai-ui-sdk-kuaijiezhiling g-text-16 g-mr-16 g-ml-16': true,
|
|
237
237
|
'g-text-gray !g-cursor-pointer': true,
|
|
238
238
|
'hover:!g-text-blue': !getIsDisabled()
|
|
239
239
|
})
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
|
|
2
|
-
.command-number[data-v-
|
|
2
|
+
.command-number[data-v-m5yz9ork] {
|
|
3
3
|
width: 24px;
|
|
4
4
|
border-radius: 2px;
|
|
5
5
|
background: #A3C5FD;
|
|
6
6
|
}
|
|
7
|
-
.delete-icon[data-v-
|
|
7
|
+
.delete-icon[data-v-m5yz9ork] {
|
|
8
8
|
width: 18px;
|
|
9
9
|
height: 17px;
|
|
10
10
|
background: #C4C6CC;
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
top: 0;
|
|
13
13
|
right: 0;
|
|
14
14
|
}
|
|
15
|
-
.li-content[data-v-
|
|
15
|
+
.li-content[data-v-m5yz9ork] {
|
|
16
16
|
width: 220px;
|
|
17
17
|
border: 1px solid #DCDEE5;
|
|
18
18
|
border-radius: 12px;
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
margin-left: 15px;
|
|
21
21
|
padding: 0 10px;
|
|
22
22
|
}
|
|
23
|
-
.confirm-button[data-v-
|
|
23
|
+
.confirm-button[data-v-m5yz9ork] {
|
|
24
24
|
margin: 0 8px 0 68px;
|
|
25
25
|
}
|
|
26
|
-
.command-name-text[data-v-
|
|
26
|
+
.command-name-text[data-v-m5yz9ork] {
|
|
27
27
|
max-width: 165px;
|
|
28
28
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import script from './prefix-info-tool.script.vue.js.js';
|
|
2
|
-
script.__scopeId = "data-v-
|
|
2
|
+
script.__scopeId = "data-v-m5yz9ork";
|
|
3
3
|
script.__file = "./src/components/render-card/agent/prefix-info-tool.vue";
|
|
4
4
|
import './prefix-info-tool.vue.css';
|
|
5
5
|
export default script;
|
|
@@ -117,7 +117,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
117
117
|
getIsNewCommand() && getIsSelfCommand() ? _withDirectives((_openBlock(), _createElementBlock("i", {
|
|
118
118
|
key: 0,
|
|
119
119
|
class: _normalizeClass([
|
|
120
|
-
'
|
|
120
|
+
'ai-ui-sdk-icon ai-ui-sdk-edit-line g-text-16 g-text-gray !g-cursor-pointer g-ml-16 g-mr-16',
|
|
121
121
|
props.disabled ? '!g-disabled' : 'hover:!g-text-blue'
|
|
122
122
|
]),
|
|
123
123
|
onClick: handleEdit
|
|
@@ -165,7 +165,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
165
165
|
default: _withCtx(()=>[
|
|
166
166
|
_withDirectives(_createElementVNode("i", {
|
|
167
167
|
class: _normalizeClass([
|
|
168
|
-
'
|
|
168
|
+
'ai-ui-sdk-icon ai-ui-sdk-edit-line g-text-16 g-text-gray !g-cursor-pointer g-ml-16 g-mr-16',
|
|
169
169
|
props.disabled ? '!g-disabled' : 'hover:!g-text-blue'
|
|
170
170
|
])
|
|
171
171
|
}, null, 2 /* CLASS */ ), [
|
|
@@ -183,7 +183,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
183
183
|
])),
|
|
184
184
|
_withDirectives(_createElementVNode("i", {
|
|
185
185
|
class: _normalizeClass([
|
|
186
|
-
'
|
|
186
|
+
'ai-ui-sdk-icon ai-ui-sdk-delete g-text-16 g-text-gray !g-cursor-pointer g-mr-16',
|
|
187
187
|
props.disabled ? '!g-disabled' : 'hover:!g-text-blue'
|
|
188
188
|
]),
|
|
189
189
|
onClick: handleDelete
|
|
@@ -197,7 +197,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
197
197
|
]),
|
|
198
198
|
_createElementVNode("i", {
|
|
199
199
|
class: _normalizeClass([
|
|
200
|
-
'
|
|
200
|
+
'ai-ui-sdk-icon ai-ui-sdk-drag',
|
|
201
201
|
'g-text-light g-text-16 g-cursor-grab',
|
|
202
202
|
props.disabled ? '!g-disabled' : 'command-drag hover:!g-text-blue'
|
|
203
203
|
])
|
|
@@ -39,7 +39,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
39
39
|
])
|
|
40
40
|
}, [
|
|
41
41
|
_cache[1] || (_cache[1] = _createElementVNode("i", {
|
|
42
|
-
class: "
|
|
42
|
+
class: "ai-ui-sdk-icon ai-ui-sdk-yinyongchuangjian g-text-16 g-mr-4"
|
|
43
43
|
}, null, -1 /* CACHED */ )),
|
|
44
44
|
_createTextVNode(" " + _toDisplayString((_props_refCount = props.refCount) !== null && _props_refCount !== void 0 ? _props_refCount : '--'), 1 /* TEXT */ )
|
|
45
45
|
])), [
|
|
@@ -295,7 +295,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
295
295
|
default: _withCtx(()=>[
|
|
296
296
|
_withDirectives(_createElementVNode("i", {
|
|
297
297
|
class: _normalizeClass({
|
|
298
|
-
'
|
|
298
|
+
'ai-ui-sdk-icon ai-ui-sdk-delete': true,
|
|
299
299
|
'g-text-16 g-text-gray !g-cursor-pointer': true,
|
|
300
300
|
'hover:!g-text-blue': !__props.disabled,
|
|
301
301
|
'!g-disabled': __props.disabled
|
|
@@ -319,7 +319,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
319
319
|
])) : _withDirectives((_openBlock(), _createElementBlock("i", {
|
|
320
320
|
key: 1,
|
|
321
321
|
class: _normalizeClass({
|
|
322
|
-
'
|
|
322
|
+
'ai-ui-sdk-icon ai-ui-sdk-delete': true,
|
|
323
323
|
'g-text-16 g-text-gray !g-cursor-pointer': true,
|
|
324
324
|
'hover:!g-text-blue': !__props.disabled,
|
|
325
325
|
'!g-disabled': __props.disabled
|
|
@@ -1,53 +1,53 @@
|
|
|
1
1
|
|
|
2
|
-
.resource-card-home[data-v-
|
|
2
|
+
.resource-card-home[data-v-ls17kpfv] {
|
|
3
3
|
background: #FFFFFF;
|
|
4
4
|
}
|
|
5
|
-
.resource-card-home .resource-card-sub-name[data-v-
|
|
5
|
+
.resource-card-home .resource-card-sub-name[data-v-ls17kpfv] {
|
|
6
6
|
margin-right: -4px;
|
|
7
7
|
}
|
|
8
|
-
.resource-card-home.full[data-v-
|
|
8
|
+
.resource-card-home.full[data-v-ls17kpfv], .resource-card-home.application[data-v-ls17kpfv], .resource-card-home.market[data-v-ls17kpfv] {
|
|
9
9
|
padding: 16px 16px 0;
|
|
10
10
|
box-shadow: 0 2px 4px 0 #0000000d;
|
|
11
11
|
border-radius: 8px;
|
|
12
12
|
}
|
|
13
|
-
.resource-card-home.full[data-v-
|
|
13
|
+
.resource-card-home.full[data-v-ls17kpfv]:hover, .resource-card-home.application[data-v-ls17kpfv]:hover, .resource-card-home.market[data-v-ls17kpfv]:hover {
|
|
14
14
|
box-shadow: 0 2px 10px 0 #0000001f;
|
|
15
15
|
}
|
|
16
|
-
.resource-card-home.full .resource-card-name[data-v-
|
|
16
|
+
.resource-card-home.full .resource-card-name[data-v-ls17kpfv], .resource-card-home.application .resource-card-name[data-v-ls17kpfv], .resource-card-home.market .resource-card-name[data-v-ls17kpfv] {
|
|
17
17
|
font-size: 14px;
|
|
18
18
|
color: #313238;
|
|
19
19
|
font-weight: bold;
|
|
20
20
|
}
|
|
21
|
-
.resource-card-home.full .resource-card-description[data-v-
|
|
21
|
+
.resource-card-home.full .resource-card-description[data-v-ls17kpfv], .resource-card-home.application .resource-card-description[data-v-ls17kpfv], .resource-card-home.market .resource-card-description[data-v-ls17kpfv] {
|
|
22
22
|
color: #4D4F56;
|
|
23
23
|
height: 60px;
|
|
24
24
|
white-space: pre-wrap;
|
|
25
25
|
word-break: break-all;
|
|
26
26
|
}
|
|
27
|
-
.resource-card-home.choose[data-v-
|
|
27
|
+
.resource-card-home.choose[data-v-ls17kpfv] {
|
|
28
28
|
padding: 10px 12px 0;
|
|
29
29
|
border: 1px solid #DCDEE5;
|
|
30
30
|
border-radius: 4px;
|
|
31
31
|
}
|
|
32
|
-
.resource-card-home.choose .resource-card-name[data-v-
|
|
32
|
+
.resource-card-home.choose .resource-card-name[data-v-ls17kpfv] {
|
|
33
33
|
font-size: 14px;
|
|
34
34
|
color: #000000;
|
|
35
35
|
font-weight: bold;
|
|
36
36
|
}
|
|
37
|
-
.resource-card-home.choose .resource-card-description[data-v-
|
|
37
|
+
.resource-card-home.choose .resource-card-description[data-v-ls17kpfv] {
|
|
38
38
|
color: #4D4F56;
|
|
39
39
|
height: 20px;
|
|
40
40
|
}
|
|
41
|
-
.resource-card-home.info[data-v-
|
|
41
|
+
.resource-card-home.info[data-v-ls17kpfv],.resource-card-home.record[data-v-ls17kpfv] {
|
|
42
42
|
padding: 10px 12px;
|
|
43
43
|
border: 1px solid #DCDEE5;
|
|
44
44
|
border-radius: 4px;
|
|
45
45
|
}
|
|
46
|
-
.resource-card-home.info .resource-card-name[data-v-
|
|
46
|
+
.resource-card-home.info .resource-card-name[data-v-ls17kpfv], .resource-card-home.record .resource-card-name[data-v-ls17kpfv] {
|
|
47
47
|
font-size: 12px;
|
|
48
48
|
color: #313238;
|
|
49
49
|
}
|
|
50
|
-
.resource-card-actions[data-v-
|
|
50
|
+
.resource-card-actions[data-v-ls17kpfv] {
|
|
51
51
|
border-top: 1px solid #F5F7FA;
|
|
52
52
|
height: 58px;
|
|
53
53
|
gap: 0 8px;
|
|
@@ -29,8 +29,8 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
29
29
|
__props.type === _unref(ResourceCardType).Info ? _withDirectives((_openBlock(), _createElementBlock("i", {
|
|
30
30
|
key: 0,
|
|
31
31
|
class: _normalizeClass([
|
|
32
|
-
'
|
|
33
|
-
'
|
|
32
|
+
'ai-ui-sdk-icon ai-ui-sdk-kejian g-hidden group-hover:g-inline',
|
|
33
|
+
'g-text-16 g-text-gray !g-cursor-pointer hover:!g-text-blue g-mr-8'
|
|
34
34
|
]),
|
|
35
35
|
onClick: handleShow
|
|
36
36
|
}, null, 512 /* NEED_PATCH */ )), [
|
|
@@ -28,7 +28,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
28
28
|
__props.type === _unref(ResourceCardType).Info ? _withDirectives((_openBlock(), _createElementBlock("i", {
|
|
29
29
|
key: 0,
|
|
30
30
|
class: _normalizeClass([
|
|
31
|
-
'
|
|
31
|
+
'ai-ui-sdk-icon ai-ui-sdk-kejian g-hidden group-hover:g-inline',
|
|
32
32
|
'!g-cursor-pointer hover:!g-text-blue g-mr-8 g-text-16 g-text-gray'
|
|
33
33
|
]),
|
|
34
34
|
onClick: handleShow
|
|
@@ -27,7 +27,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
27
27
|
}, {
|
|
28
28
|
default: ()=>[
|
|
29
29
|
_createVNode("i", {
|
|
30
|
-
"class": "
|
|
30
|
+
"class": "ai-ui-sdk-icon ai-ui-sdk-jump-link-line g-mr-4"
|
|
31
31
|
}, null),
|
|
32
32
|
_createTextVNode("\u53BB\u7533\u8BF7")
|
|
33
33
|
]
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
.llm-corner-badge[data-v-
|
|
2
|
+
.llm-corner-badge[data-v-o7u9qqgz] {
|
|
3
3
|
top: 0;
|
|
4
4
|
right: 0;
|
|
5
5
|
width: 48px;
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
clip-path: polygon(100% 0, 0 0, 100% 100%);
|
|
9
9
|
border-radius: 0 8px;
|
|
10
10
|
}
|
|
11
|
-
.llm-corner-badge[data-v-
|
|
11
|
+
.llm-corner-badge[data-v-o7u9qqgz]:hover {
|
|
12
12
|
background: linear-gradient(142.7deg, #fdf4e8 0%, #e5a239 100%);
|
|
13
13
|
}
|
|
14
|
-
.llm-corner-badge-text[data-v-
|
|
14
|
+
.llm-corner-badge-text[data-v-o7u9qqgz] {
|
|
15
15
|
top: 8px;
|
|
16
16
|
right: 0;
|
|
17
17
|
transform: rotate(45deg);
|
|
@@ -58,7 +58,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
58
58
|
_createElementVNode("i", {
|
|
59
59
|
class: _normalizeClass([
|
|
60
60
|
'g-text-16 g-mr-4 !g-cursor-pointer',
|
|
61
|
-
__props.model.like ? '
|
|
61
|
+
__props.model.like ? 'ai-ui-sdk-icon ai-ui-sdk-dizanshixin g-text-blue' : 'ai-ui-sdk-icon ai-ui-sdk-dizan-2 g-text-gray'
|
|
62
62
|
])
|
|
63
63
|
}, null, 2 /* CLASS */ ),
|
|
64
64
|
_createElementVNode("span", {
|
|
@@ -95,7 +95,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
95
95
|
_createElementVNode("i", {
|
|
96
96
|
class: _normalizeClass([
|
|
97
97
|
'g-text-16 g-mr-4 !g-cursor-pointer',
|
|
98
|
-
__props.model.dislike ? '
|
|
98
|
+
__props.model.dislike ? 'ai-ui-sdk-icon ai-ui-sdk-dicaishixin g-text-red' : 'ai-ui-sdk-icon ai-ui-sdk-dicai-2 g-text-gray'
|
|
99
99
|
])
|
|
100
100
|
}, null, 2 /* CLASS */ ),
|
|
101
101
|
_createElementVNode("span", {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
|
-
.like-button:hover .
|
|
2
|
+
.like-button:hover .ai-ui-sdk-icon[data-v-l35pscoy], .like-button:hover span[data-v-l35pscoy] {
|
|
3
3
|
color: #3A84FF !important;
|
|
4
4
|
}
|
|
5
|
-
.dislike-button:hover .
|
|
5
|
+
.dislike-button:hover .ai-ui-sdk-icon[data-v-l35pscoy], .dislike-button:hover span[data-v-l35pscoy], .dislike-button:active .ai-ui-sdk-icon[data-v-l35pscoy], .dislike-button:active span[data-v-l35pscoy] {
|
|
6
6
|
color: #EA3636 !important;
|
|
7
7
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
.tag-item[data-v-
|
|
2
|
+
.tag-item[data-v-7i41xqx0] {
|
|
3
3
|
padding: 0 4px;
|
|
4
4
|
}
|
|
5
|
-
.tag-external[data-v-
|
|
5
|
+
.tag-external[data-v-7i41xqx0] {
|
|
6
6
|
color: #636a2f;
|
|
7
7
|
background: #EAEFC6;
|
|
8
8
|
}
|
|
9
|
-
.tag-public[data-v-
|
|
9
|
+
.tag-public[data-v-7i41xqx0], .tag-private[data-v-7i41xqx0] {
|
|
10
10
|
color: #3a84ff;
|
|
11
11
|
background: #e1ecff;
|
|
12
12
|
}
|
|
@@ -309,7 +309,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
309
309
|
default: _withCtx(()=>[
|
|
310
310
|
..._cache[13] || (_cache[13] = [
|
|
311
311
|
_createElementVNode("i", {
|
|
312
|
-
class: "
|
|
312
|
+
class: "ai-ui-sdk-icon ai-ui-sdk-gengduo-2 g-text-16"
|
|
313
313
|
}, null, -1 /* CACHED */ )
|
|
314
314
|
])
|
|
315
315
|
]),
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
|
|
2
|
-
.tool-number[data-v-
|
|
2
|
+
.tool-number[data-v-48lv375g] {
|
|
3
3
|
background: #E1ECFF;
|
|
4
4
|
border-radius: 2px;
|
|
5
5
|
padding: 0 4px;
|
|
6
6
|
font-size: 10px;
|
|
7
7
|
}
|
|
8
|
-
.tool-number[data-v-
|
|
8
|
+
.tool-number[data-v-48lv375g]:hover {
|
|
9
9
|
background: #3A84FF;
|
|
10
10
|
color: #fff;
|
|
11
11
|
}
|
|
@@ -33,7 +33,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
33
33
|
return __props.mcp.status !== _unref(ResourceStatus).Deleted ? _withDirectives((_openBlock(), _createElementBlock("i", {
|
|
34
34
|
key: 0,
|
|
35
35
|
class: _normalizeClass({
|
|
36
|
-
'
|
|
36
|
+
'ai-ui-sdk-icon ai-ui-sdk-setting-2 g-text-16 g-text-gray g-ml-16 g-mr-16': true,
|
|
37
37
|
'!g-cursor-pointer hover:!g-text-blue': !getIsDisabled(),
|
|
38
38
|
'!g-disabled': getIsDisabled()
|
|
39
39
|
}),
|
|
@@ -38,7 +38,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
38
38
|
_createElementVNode("i", {
|
|
39
39
|
class: _normalizeClass([
|
|
40
40
|
'g-text-16 g-p-2 g-mr-4',
|
|
41
|
-
__props.prompt.liked ? '
|
|
41
|
+
__props.prompt.liked ? 'ai-ui-sdk-icon ai-ui-sdk-dizanshixin g-text-blue' : 'ai-ui-sdk-icon ai-ui-sdk-dizan-2 g-text-gray'
|
|
42
42
|
])
|
|
43
43
|
}, null, 2 /* CLASS */ ),
|
|
44
44
|
_createElementVNode("span", {
|
|
@@ -17,17 +17,17 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
17
17
|
const statusConfig = {
|
|
18
18
|
[SkillEffectiveStatus.Pass]: {
|
|
19
19
|
tagClass: 'tag-pass',
|
|
20
|
-
iconClass: '
|
|
20
|
+
iconClass: 'ai-ui-sdk-icon ai-ui-sdk-anquanrenzheng',
|
|
21
21
|
tooltipContent: '安全扫描通过,可放心使用'
|
|
22
22
|
},
|
|
23
23
|
[SkillEffectiveStatus.Fail]: {
|
|
24
24
|
tagClass: 'tag-fail',
|
|
25
|
-
iconClass: '
|
|
25
|
+
iconClass: 'ai-ui-sdk-icon ai-ui-sdk-weixian',
|
|
26
26
|
tooltipContent: '安全扫描未通过,存在风险,请注意使用'
|
|
27
27
|
},
|
|
28
28
|
[SkillEffectiveStatus.Error]: {
|
|
29
29
|
tagClass: 'tag-error',
|
|
30
|
-
iconClass: '
|
|
30
|
+
iconClass: 'ai-ui-sdk-icon ai-ui-sdk-warning-circle-fill',
|
|
31
31
|
tooltipContent: '安全扫描失败,请联系管理员'
|
|
32
32
|
}
|
|
33
33
|
};
|