@blueking/ai-ui-sdk 0.4.3-beta.22 → 0.4.3-beta.24
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-type.vue.css +4 -4
- package/dist/components/render-agent/agent-type.vue.js +1 -1
- 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/index.script.vue.js.js +2 -2
- 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/{corner-badge.script.vue.js.js → upgrade.script.vue.js.js} +55 -15
- package/dist/components/render-card/agent/{corner-badge.vue.css → upgrade.vue.css} +2 -2
- package/dist/components/render-card/agent/{corner-badge.vue.d.ts → upgrade.vue.d.ts} +1 -0
- package/dist/components/render-card/agent/upgrade.vue.js +5 -0
- package/dist/components/render-card/base/collection-icon.script.vue.js.js +3 -3
- package/dist/components/render-card/base/reference-icon.script.vue.js.js +9 -6
- 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/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 +6 -14
- 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 +2 -2
- package/dist/components/render-card/llm/tag-prefix.vue.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/prompt/icons.vue.css +1 -1
- package/dist/components/render-card/prompt/icons.vue.js +1 -1
- package/dist/components/render-card/skill/scanner.vue.css +3 -3
- package/dist/components/render-card/skill/scanner.vue.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.vue.css +2 -2
- package/dist/components/render-collapse/index.vue.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/dataset-data-tool-icons/index.script.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 +1 -1
- 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 +1 -1
- 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-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.vue.css +9 -9
- 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.vue.css +6 -6
- package/dist/components/render-file-type-icon/index.vue.js +1 -1
- package/dist/components/render-generate-tag/index.vue.css +5 -5
- package/dist/components/render-generate-tag/index.vue.js +1 -1
- 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-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-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.vue.css +3 -3
- package/dist/components/render-select-plus-extension/index.vue.js +1 -1
- package/dist/components/render-t-table/index.vue.css +32 -32
- 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/components.d.ts +2 -1
- package/dist/components.ts.js +2 -1
- package/dist/css/g-utilities.css +15 -2
- package/dist/css/g-utilities.manifest.json +7 -3
- package/dist/hooks/use-scroll-load.ts.js +1 -1
- package/dist/http/helper/common.ts.js +1 -0
- package/dist/types/common.d.ts +6 -1
- package/package.json +2 -2
- package/dist/components/render-card/agent/corner-badge.vue.js +0 -5
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
|
|
2
|
-
.agent-type[data-v-
|
|
2
|
+
.agent-type[data-v-oatpyzjo] {
|
|
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-oatpyzjo] {
|
|
9
9
|
color: #1768EF;
|
|
10
10
|
background-color: #E1ECFF;
|
|
11
11
|
}
|
|
12
|
-
.agent-type.flow[data-v-
|
|
12
|
+
.agent-type.flow[data-v-oatpyzjo] {
|
|
13
13
|
color: #7573E6;
|
|
14
14
|
background: #E8E6FF;
|
|
15
15
|
}
|
|
16
|
-
.agent-type.craw[data-v-
|
|
16
|
+
.agent-type.craw[data-v-oatpyzjo] {
|
|
17
17
|
color: #E38B02;
|
|
18
18
|
background: #FDEED8;
|
|
19
19
|
}
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
|
|
2
|
-
.send-container[data-v-
|
|
2
|
+
.send-container[data-v-ntjcz48k] {
|
|
3
3
|
position: relative;
|
|
4
4
|
}
|
|
5
|
-
.send-container[data-v-
|
|
5
|
+
.send-container[data-v-ntjcz48k]: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-ntjcz48k] {
|
|
9
9
|
display: inline-flex !important;
|
|
10
10
|
}
|
|
11
|
-
.send-input[data-v-
|
|
11
|
+
.send-input[data-v-ntjcz48k] {
|
|
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-ntjcz48k]:has(textarea:focus) {
|
|
17
17
|
height: var(--text-height);
|
|
18
18
|
}
|
|
19
|
-
.send-input[data-v-
|
|
19
|
+
.send-input[data-v-ntjcz48k] 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-ntjcz48k] textarea::-webkit-scrollbar {
|
|
26
26
|
width: 4px;
|
|
27
27
|
height: 4px;
|
|
28
28
|
}
|
|
29
|
-
.send-input[data-v-
|
|
29
|
+
.send-input[data-v-ntjcz48k] 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-ntjcz48k] textarea::placeholder {
|
|
35
35
|
line-height: 16px;
|
|
36
36
|
}
|
|
37
|
-
.send-clear[data-v-
|
|
37
|
+
.send-clear[data-v-ntjcz48k] {
|
|
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-ntjcz48k]:hover {
|
|
47
47
|
color: #313238;
|
|
48
48
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
.auto-refresh[data-v-
|
|
2
|
+
.auto-refresh[data-v-33ed59il] {
|
|
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-33ed59il]: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-33ed59il]:hover {
|
|
20
20
|
color: #3A84FF;
|
|
21
21
|
background-color: #E1ECFF;
|
|
22
22
|
}
|
|
23
|
-
.refresh[data-v-
|
|
23
|
+
.refresh[data-v-33ed59il] {
|
|
24
24
|
cursor: pointer;
|
|
25
25
|
line-height: 26px;
|
|
26
26
|
padding: 0 4px;
|
|
27
27
|
}
|
|
28
|
-
.refresh[data-v-
|
|
28
|
+
.refresh[data-v-33ed59il]:hover {
|
|
29
29
|
color: #3A84FF;
|
|
30
30
|
background-color: #E1ECFF;
|
|
31
31
|
}
|
|
32
|
-
.textarea-list[data-v-
|
|
32
|
+
.textarea-list[data-v-33ed59il] {
|
|
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-33ed59il] {
|
|
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-33ed59il]:hover {
|
|
44
44
|
background: #E1ECFF;
|
|
45
45
|
color: #3A84FF;
|
|
46
46
|
}
|
|
@@ -2,9 +2,9 @@ import { defineComponent as _defineComponent } from 'vue';
|
|
|
2
2
|
import { unref as _unref, createVNode as _createVNode, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, renderSlot as _renderSlot, withCtx as _withCtx, createSlots as _createSlots, createBlock as _createBlock } from "vue";
|
|
3
3
|
import RenderBase from '../base.vue.js';
|
|
4
4
|
import RenderReferenceIcon from '../base/reference-icon.vue.js';
|
|
5
|
-
import RenderCornerBadge from './corner-badge.vue.js';
|
|
6
5
|
import RenderPrefixInfoTool from './prefix-info-tool.vue.js';
|
|
7
6
|
import RenderTagPrefix from './tag-prefix.vue.js';
|
|
7
|
+
import RenderUpgrade from './upgrade.vue.js';
|
|
8
8
|
import RenderActions from '../../render-agent/action/index.vue.js';
|
|
9
9
|
import RenderCollectionIcon from '../base/collection-icon.vue.js';
|
|
10
10
|
import { Module, ResourceCardType, ResourceStatus } from '../../../types/enum.ts.js';
|
|
@@ -229,7 +229,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
229
229
|
props.type === _unref(ResourceCardType).Full ? {
|
|
230
230
|
name: "corner-badge",
|
|
231
231
|
fn: _withCtx(()=>[
|
|
232
|
-
_createVNode(
|
|
232
|
+
_createVNode(RenderUpgrade, {
|
|
233
233
|
agent: props.agent,
|
|
234
234
|
"group-type": props.groupType,
|
|
235
235
|
"space-id": props.spaceId,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
|
|
2
|
-
.command-number[data-v-
|
|
2
|
+
.command-number[data-v-we8n09uf] {
|
|
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-we8n09uf] {
|
|
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-we8n09uf] {
|
|
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-we8n09uf] {
|
|
24
24
|
margin: 0 8px 0 68px;
|
|
25
25
|
}
|
|
26
|
-
.command-name-text[data-v-
|
|
26
|
+
.command-name-text[data-v-we8n09uf] {
|
|
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-we8n09uf";
|
|
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;
|
package/dist/components/render-card/agent/{corner-badge.script.vue.js.js → upgrade.script.vue.js.js}
RENAMED
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import { defineComponent as _defineComponent } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import { createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, unref as _unref, withModifiers as _withModifiers, normalizeClass as _normalizeClass, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString } from "vue";
|
|
3
3
|
import { toRef } from 'vue';
|
|
4
4
|
import { usePermission } from '../../../hooks/use-permission.ts.js';
|
|
5
5
|
import { ResourcePermissionAction, SdkNavigateActionType } from '../../../types/enum.ts.js';
|
|
6
6
|
export default /*@__PURE__*/ _defineComponent({
|
|
7
7
|
props: {
|
|
8
8
|
agent: {},
|
|
9
|
+
isTag: {
|
|
10
|
+
type: Boolean
|
|
11
|
+
},
|
|
9
12
|
groupType: {},
|
|
10
13
|
spaceId: {},
|
|
11
14
|
apiPrefix: {}
|
|
@@ -39,42 +42,79 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
39
42
|
});
|
|
40
43
|
};
|
|
41
44
|
return (_ctx, _cache)=>{
|
|
45
|
+
const _component_bk_tag = _resolveComponent("bk-tag");
|
|
42
46
|
const _component_bk_popover = _resolveComponent("bk-popover");
|
|
43
47
|
return props.agent.latestVersion && props.agent.needUpgrade ? (_openBlock(), _createBlock(_component_bk_popover, {
|
|
44
48
|
key: 0,
|
|
45
49
|
placement: "top"
|
|
46
50
|
}, {
|
|
47
|
-
content: _withCtx(()=>
|
|
51
|
+
content: _withCtx(()=>{
|
|
52
|
+
var _props_agent_permission;
|
|
53
|
+
return [
|
|
48
54
|
_createElementVNode("span", null, "当前智能体线上服务依赖框架版本为 " + _toDisplayString(__props.agent.agentSdkVersion) + ",可升级至 " + _toDisplayString(__props.agent.latestSdkVersion), 1 /* TEXT */ ),
|
|
49
55
|
_createElementVNode("span", {
|
|
50
|
-
class:
|
|
56
|
+
class: _normalizeClass({
|
|
57
|
+
'g-cursor-pointer g-text-blue': true,
|
|
58
|
+
'g-disabled': !((_props_agent_permission = props.agent.permission) === null || _props_agent_permission === void 0 ? void 0 : _props_agent_permission.manageAgent)
|
|
59
|
+
}),
|
|
51
60
|
onMouseenter: handleManagePermissionMouseEnter,
|
|
52
61
|
onMousemove: handleManagePermissionMouseMove,
|
|
53
|
-
onMouseleave: _cache[
|
|
62
|
+
onMouseleave: _cache[3] || (_cache[3] = //@ts-ignore
|
|
54
63
|
(...args)=>_unref(handleMouseLeave) && _unref(handleMouseLeave)(...args)),
|
|
55
|
-
onClick: _cache[
|
|
64
|
+
onClick: _cache[4] || (_cache[4] = _withModifiers(($event)=>handleManagePermissionMouseClick(handleGoToRelease), [
|
|
56
65
|
"stop"
|
|
57
66
|
]))
|
|
58
|
-
}, " 去升级 ",
|
|
59
|
-
]
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
67
|
+
}, " 去升级 ", 34 /* CLASS, NEED_HYDRATION */ )
|
|
68
|
+
];
|
|
69
|
+
}),
|
|
70
|
+
default: _withCtx(()=>{
|
|
71
|
+
var _props_agent_permission, _props_agent_permission1;
|
|
72
|
+
return [
|
|
73
|
+
props.isTag ? (_openBlock(), _createBlock(_component_bk_tag, {
|
|
74
|
+
key: 0,
|
|
75
|
+
class: _normalizeClass({
|
|
76
|
+
'g-text-12 g-px-8 g-flex-shrink-0 !g-cursor-pointer': true,
|
|
77
|
+
'g-disabled': !((_props_agent_permission = props.agent.permission) === null || _props_agent_permission === void 0 ? void 0 : _props_agent_permission.manageAgent)
|
|
78
|
+
}),
|
|
79
|
+
theme: "warning",
|
|
63
80
|
onMouseenter: handleManagePermissionMouseEnter,
|
|
64
81
|
onMousemove: handleManagePermissionMouseMove,
|
|
65
|
-
onMouseleave:
|
|
82
|
+
onMouseleave: _unref(handleMouseLeave),
|
|
83
|
+
onClick: _cache[0] || (_cache[0] = _withModifiers(($event)=>handleManagePermissionMouseClick(handleGoToRelease), [
|
|
84
|
+
"stop"
|
|
85
|
+
]))
|
|
86
|
+
}, {
|
|
87
|
+
default: _withCtx(()=>[
|
|
88
|
+
..._cache[5] || (_cache[5] = [
|
|
89
|
+
_createTextVNode(" 可升级 ", -1 /* CACHED */ )
|
|
90
|
+
])
|
|
91
|
+
]),
|
|
92
|
+
_: 1 /* STABLE */
|
|
93
|
+
}, 8 /* PROPS */ , [
|
|
94
|
+
"class",
|
|
95
|
+
"onMouseleave"
|
|
96
|
+
])) : (_openBlock(), _createElementBlock("section", {
|
|
97
|
+
key: 1,
|
|
98
|
+
class: _normalizeClass({
|
|
99
|
+
'agent-corner-badge g-absolute g-top-0 g-right-0 g-w-48 g-h-48 !g-cursor-pointer': true,
|
|
100
|
+
'g-disabled': !((_props_agent_permission1 = props.agent.permission) === null || _props_agent_permission1 === void 0 ? void 0 : _props_agent_permission1.manageAgent)
|
|
101
|
+
}),
|
|
102
|
+
onMouseenter: handleManagePermissionMouseEnter,
|
|
103
|
+
onMousemove: handleManagePermissionMouseMove,
|
|
104
|
+
onMouseleave: _cache[1] || (_cache[1] = //@ts-ignore
|
|
66
105
|
(...args)=>_unref(handleMouseLeave) && _unref(handleMouseLeave)(...args)),
|
|
67
|
-
onClick: _cache[
|
|
106
|
+
onClick: _cache[2] || (_cache[2] = _withModifiers(($event)=>handleManagePermissionMouseClick(handleGoToRelease), [
|
|
68
107
|
"stop"
|
|
69
108
|
]))
|
|
70
109
|
}, [
|
|
71
|
-
..._cache[
|
|
110
|
+
..._cache[6] || (_cache[6] = [
|
|
72
111
|
_createElementVNode("span", {
|
|
73
112
|
class: "g-absolute g-top-8 g-right-0 g-rotate-45 g-text-10 !g-text-white"
|
|
74
113
|
}, "可升级", -1 /* CACHED */ )
|
|
75
114
|
])
|
|
76
|
-
],
|
|
77
|
-
]
|
|
115
|
+
], 34 /* CLASS, NEED_HYDRATION */ ))
|
|
116
|
+
];
|
|
117
|
+
}),
|
|
78
118
|
_: 1 /* STABLE */
|
|
79
119
|
})) : _createCommentVNode("v-if", true);
|
|
80
120
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
|
-
.agent-corner-badge[data-v-
|
|
2
|
+
.agent-corner-badge[data-v-mrlt6k2q] {
|
|
3
3
|
background: linear-gradient(142.7deg, #fdf4e8 0%, #f8b64f 100%);
|
|
4
4
|
clip-path: polygon(100% 0, 0 0, 100% 100%);
|
|
5
5
|
border-radius: 0 8px;
|
|
6
6
|
}
|
|
7
|
-
.agent-corner-badge[data-v-
|
|
7
|
+
.agent-corner-badge[data-v-mrlt6k2q]:hover {
|
|
8
8
|
background: linear-gradient(142.7deg, #fdf4e8 0%, #e5a239 100%);
|
|
9
9
|
}
|
|
@@ -98,7 +98,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
98
98
|
return props.type !== _unref(ResourceCardType).Application ? _withDirectives((_openBlock(), _createBlock(_component_bk_loading, {
|
|
99
99
|
key: 0,
|
|
100
100
|
class: _normalizeClass([
|
|
101
|
-
'g-group g-flex-row !g-cursor-pointer',
|
|
101
|
+
'g-group/collection-icon g-flex-row !g-cursor-pointer',
|
|
102
102
|
props.favorite ? 'g-text-fc943b hover:g-text-e38b02' : 'g-text-gray hover:g-text-normal'
|
|
103
103
|
]),
|
|
104
104
|
loading: loading.value,
|
|
@@ -118,13 +118,13 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
118
118
|
{
|
|
119
119
|
'g-mr-4': props.isShowCount
|
|
120
120
|
},
|
|
121
|
-
props.favorite ? 'ai-ui-sdk-favorite g-group-hover:g-text-e38b02' : 'ai-ui-sdk-weishoucang g-group-hover:g-text-f59500'
|
|
121
|
+
props.favorite ? 'ai-ui-sdk-favorite g-group-hover/collection-icon:g-text-e38b02' : 'ai-ui-sdk-weishoucang g-group-hover/collection-icon:g-text-f59500'
|
|
122
122
|
])
|
|
123
123
|
}, null, 2 /* CLASS */ ),
|
|
124
124
|
props.isShowCount ? (_openBlock(), _createElementBlock(_Fragment, {
|
|
125
125
|
key: 0
|
|
126
126
|
}, [
|
|
127
|
-
_createTextVNode(_toDisplayString((_props_favoriteCount = props.favoriteCount) !== null && _props_favoriteCount !== void 0 ? _props_favoriteCount :
|
|
127
|
+
_createTextVNode(_toDisplayString((_props_favoriteCount = props.favoriteCount) !== null && _props_favoriteCount !== void 0 ? _props_favoriteCount : '--'), 1 /* TEXT */ )
|
|
128
128
|
], 64 /* STABLE_FRAGMENT */ )) : _createCommentVNode("v-if", true)
|
|
129
129
|
];
|
|
130
130
|
}),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as _defineComponent } from 'vue';
|
|
2
|
-
import { unref as _unref, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withModifiers as _withModifiers, mergeProps as _mergeProps, resolveDirective as _resolveDirective, openBlock as _openBlock, createElementBlock as _createElementBlock, withDirectives as _withDirectives, createCommentVNode as _createCommentVNode, createVNode as _createVNode, Fragment as _Fragment } from "vue";
|
|
2
|
+
import { unref as _unref, normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withModifiers as _withModifiers, mergeProps as _mergeProps, resolveDirective as _resolveDirective, openBlock as _openBlock, createElementBlock as _createElementBlock, withDirectives as _withDirectives, createCommentVNode as _createCommentVNode, createVNode as _createVNode, Fragment as _Fragment } from "vue";
|
|
3
3
|
import { ref } from 'vue';
|
|
4
4
|
import RenderReference from '../../render-reference/index.vue.js';
|
|
5
5
|
import { Module, ResourceCardType } from '../../../types/enum.ts.js';
|
|
@@ -39,16 +39,19 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
39
39
|
key: 0
|
|
40
40
|
}, _ctx.$attrs, {
|
|
41
41
|
class: {
|
|
42
|
-
'g-flex-row !g-mr-12 g-text-gray': true,
|
|
43
|
-
'hover
|
|
42
|
+
'g-group/reference-icon g-flex-row !g-mr-12 g-text-gray': true,
|
|
43
|
+
'hover:g-text-normal !g-cursor-pointer': getIsClickable()
|
|
44
44
|
},
|
|
45
45
|
onClick: _withModifiers(handleClickReference, [
|
|
46
46
|
"stop"
|
|
47
47
|
])
|
|
48
48
|
}), [
|
|
49
|
-
|
|
50
|
-
class:
|
|
51
|
-
|
|
49
|
+
_createElementVNode("i", {
|
|
50
|
+
class: _normalizeClass({
|
|
51
|
+
'ai-ui-sdk-icon ai-ui-sdk-yinyongchuangjian g-text-16 g-mr-4': true,
|
|
52
|
+
'g-group-hover/reference-icon:g-text-blue': getIsClickable()
|
|
53
|
+
})
|
|
54
|
+
}, null, 2 /* CLASS */ ),
|
|
52
55
|
_createTextVNode(" " + _toDisplayString((_props_refCount = props.refCount) !== null && _props_refCount !== void 0 ? _props_refCount : '--'), 1 /* TEXT */ )
|
|
53
56
|
], 16 /* FULL_PROPS */ )), [
|
|
54
57
|
[
|
|
@@ -1,53 +1,53 @@
|
|
|
1
1
|
|
|
2
|
-
.resource-card-home[data-v-
|
|
2
|
+
.resource-card-home[data-v-qk2kvoze] {
|
|
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-qk2kvoze] {
|
|
6
6
|
margin-right: -4px;
|
|
7
7
|
}
|
|
8
|
-
.resource-card-home.full[data-v-
|
|
8
|
+
.resource-card-home.full[data-v-qk2kvoze], .resource-card-home.application[data-v-qk2kvoze], .resource-card-home.market[data-v-qk2kvoze] {
|
|
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-qk2kvoze]:hover, .resource-card-home.application[data-v-qk2kvoze]:hover, .resource-card-home.market[data-v-qk2kvoze]: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-qk2kvoze], .resource-card-home.application .resource-card-name[data-v-qk2kvoze], .resource-card-home.market .resource-card-name[data-v-qk2kvoze] {
|
|
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-qk2kvoze], .resource-card-home.application .resource-card-description[data-v-qk2kvoze], .resource-card-home.market .resource-card-description[data-v-qk2kvoze] {
|
|
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-qk2kvoze] {
|
|
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-qk2kvoze] {
|
|
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-qk2kvoze] {
|
|
38
38
|
color: #4D4F56;
|
|
39
39
|
height: 20px;
|
|
40
40
|
}
|
|
41
|
-
.resource-card-home.info[data-v-
|
|
41
|
+
.resource-card-home.info[data-v-qk2kvoze],.resource-card-home.record[data-v-qk2kvoze] {
|
|
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-qk2kvoze], .resource-card-home.record .resource-card-name[data-v-qk2kvoze] {
|
|
47
47
|
font-size: 12px;
|
|
48
48
|
color: #313238;
|
|
49
49
|
}
|
|
50
|
-
.resource-card-actions[data-v-
|
|
50
|
+
.resource-card-actions[data-v-qk2kvoze] {
|
|
51
51
|
border-top: 1px solid #F5F7FA;
|
|
52
52
|
height: 58px;
|
|
53
53
|
gap: 0 8px;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
.llm-corner-badge[data-v-
|
|
2
|
+
.llm-corner-badge[data-v-63c5vw0y] {
|
|
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-63c5vw0y]: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-63c5vw0y] {
|
|
15
15
|
top: 8px;
|
|
16
16
|
right: 0;
|
|
17
17
|
transform: rotate(45deg);
|
|
@@ -44,12 +44,12 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
44
44
|
const _directive_bk_tooltips = _resolveDirective("bk-tooltips");
|
|
45
45
|
return _openBlock(), _createElementBlock(_Fragment, null, [
|
|
46
46
|
_withDirectives((_openBlock(), _createBlock(_component_bk_button, {
|
|
47
|
-
size: "small",
|
|
48
|
-
text: "",
|
|
49
47
|
class: _normalizeClass({
|
|
50
48
|
'like-button g-mr-12': true,
|
|
51
49
|
'active': __props.model.like
|
|
52
50
|
}),
|
|
51
|
+
size: "small",
|
|
52
|
+
text: "",
|
|
53
53
|
onClick: _withModifiers(handleClickLike, [
|
|
54
54
|
"stop"
|
|
55
55
|
])
|
|
@@ -61,11 +61,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
61
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
|
-
_createElementVNode("span",
|
|
65
|
-
class: _normalizeClass([
|
|
66
|
-
__props.model.like ? 'g-text-blue' : 'g-text-gray'
|
|
67
|
-
])
|
|
68
|
-
}, _toDisplayString(__props.model.likeCount || 0), 3 /* TEXT, CLASS */ )
|
|
64
|
+
_createElementVNode("span", null, _toDisplayString(__props.model.likeCount || 0), 1 /* TEXT */ )
|
|
69
65
|
]),
|
|
70
66
|
_: 1 /* STABLE */
|
|
71
67
|
}, 8 /* PROPS */ , [
|
|
@@ -80,12 +76,12 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
80
76
|
]
|
|
81
77
|
]),
|
|
82
78
|
_withDirectives((_openBlock(), _createBlock(_component_bk_button, {
|
|
83
|
-
size: "small",
|
|
84
|
-
text: "",
|
|
85
79
|
class: _normalizeClass({
|
|
86
80
|
'dislike-button': true,
|
|
87
81
|
'active': __props.model.dislike
|
|
88
82
|
}),
|
|
83
|
+
size: "small",
|
|
84
|
+
text: "",
|
|
89
85
|
onClick: _withModifiers(handleClickDisLike, [
|
|
90
86
|
"stop"
|
|
91
87
|
])
|
|
@@ -97,11 +93,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
97
93
|
__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'
|
|
98
94
|
])
|
|
99
95
|
}, null, 2 /* CLASS */ ),
|
|
100
|
-
_createElementVNode("span",
|
|
101
|
-
class: _normalizeClass([
|
|
102
|
-
__props.model.dislike ? 'g-text-red' : 'g-text-gray'
|
|
103
|
-
])
|
|
104
|
-
}, _toDisplayString(__props.model.dislikeCount || 0), 3 /* TEXT, CLASS */ )
|
|
96
|
+
_createElementVNode("span", null, _toDisplayString(__props.model.dislikeCount || 0), 1 /* TEXT */ )
|
|
105
97
|
]),
|
|
106
98
|
_: 1 /* STABLE */
|
|
107
99
|
}, 8 /* PROPS */ , [
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
|
-
.like-button:hover .ai-ui-sdk-icon[data-v-
|
|
2
|
+
.like-button:hover .ai-ui-sdk-icon[data-v-vnweclaj], .like-button:hover span[data-v-vnweclaj] {
|
|
3
3
|
color: #3A84FF !important;
|
|
4
4
|
}
|
|
5
|
-
.dislike-button:hover .ai-ui-sdk-icon[data-v-
|
|
5
|
+
.dislike-button:hover .ai-ui-sdk-icon[data-v-vnweclaj], .dislike-button:hover span[data-v-vnweclaj], .dislike-button:active .ai-ui-sdk-icon[data-v-vnweclaj], .dislike-button:active span[data-v-vnweclaj] {
|
|
6
6
|
color: #EA3636 !important;
|
|
7
7
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
|
-
.tag-external[data-v-
|
|
2
|
+
.tag-external[data-v-dtagbofk] {
|
|
3
3
|
color: #636a2f;
|
|
4
4
|
background: #EAEFC6;
|
|
5
5
|
}
|
|
6
|
-
.tag-public[data-v-
|
|
6
|
+
.tag-public[data-v-dtagbofk], .tag-private[data-v-dtagbofk] {
|
|
7
7
|
color: #3a84ff;
|
|
8
8
|
background: #e1ecff;
|
|
9
9
|
}
|