@blueking/ai-ui-sdk 0.4.1-beta.9 → 0.4.2
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 +2214 -246
- package/dist/common/util.d.ts +0 -5
- package/dist/common/util.ts.js +0 -8
- 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.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 +51 -28
- package/dist/components/render-card/agent/index.script.vue.js.js +7 -7
- 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/index.script.vue.js.js +4 -4
- package/dist/components/render-card/agent-command/info-tool.script.vue.js.js +4 -3
- package/dist/components/render-card/base/application-base-actions.script.vue.js.js +36 -2
- package/dist/components/render-card/base/application-base-actions.vue.d.ts +12 -0
- package/dist/components/render-card/base.vue.css +12 -12
- package/dist/components/render-card/base.vue.d.ts +2 -2
- package/dist/components/render-card/base.vue.js +1 -1
- package/dist/components/render-card/knowledgebase/actions.script.vue.js.js +13 -5
- package/dist/components/render-card/knowledgebase/actions.vue.d.ts +3 -0
- package/dist/components/render-card/knowledgebase/index.script.vue.js.js +2 -1
- package/dist/components/render-card/knowledgebase/index.vue.d.ts +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.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 +29 -12
- package/dist/components/render-card/mcp/index.vue.d.ts +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/prompt/index.vue.d.ts +1 -1
- package/dist/components/render-card/role/index.vue.d.ts +1 -1
- package/dist/components/render-card/skill/index.vue.d.ts +2 -2
- 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 +23 -3
- package/dist/components/render-card/tool/index.vue.d.ts +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.script.vue.js.js +24 -70
- 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/actions/index.script.vue.js.js +23 -3
- 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.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 +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-dropdown/index.script.vue.js.js +4 -0
- package/dist/components/render-dropdown/index.vue.d.ts +2 -0
- 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-knowledge/search/index.script.vue.js.js +5 -1
- package/dist/components/render-prompt/actions/index.script.vue.js.js +22 -2
- 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 +11 -4
- package/dist/components/render-relate-agent/index.vue.d.ts +2 -0
- 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-skill/actions/index.script.vue.js.js +44 -6
- package/dist/components/render-skill/variable-form/index.script.vue.js +3 -5
- package/dist/components/render-t-table/index.script.vue.js +4 -3
- 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/g-utilities.css +9 -4
- package/dist/css/g-utilities.manifest.json +1 -1
- package/dist/hooks/use-dataset-http.d.ts +1 -2
- package/dist/hooks/use-dataset-http.ts.js +1 -1
- package/dist/hooks/use-form-leave-confirm.d.ts +1 -1
- package/dist/hooks/use-form-leave-confirm.ts.js +34 -5
- package/dist/hooks/use-meta-http.d.ts +1 -2
- package/dist/hooks/use-meta-http.ts.js +1 -1
- package/dist/hooks/use-permission.ts.js +2 -0
- package/dist/types/enum.d.ts +1 -0
- package/dist/types/enum.ts.js +1 -0
- package/package.json +1 -1
|
@@ -39,6 +39,9 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
39
39
|
const getIsFullType = ()=>{
|
|
40
40
|
return props.type === ResourceCardType.Full;
|
|
41
41
|
};
|
|
42
|
+
const getIsMarketType = ()=>{
|
|
43
|
+
return props.type === ResourceCardType.Market;
|
|
44
|
+
};
|
|
42
45
|
const handleSuccessDelete = ()=>{
|
|
43
46
|
emits('success-delete');
|
|
44
47
|
};
|
|
@@ -98,14 +101,17 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
98
101
|
const _directive_bk_tooltips = _resolveDirective("bk-tooltips");
|
|
99
102
|
return props.type === _unref(ResourceCardType).Application ? (_openBlock(), _createBlock(ApplicationBaseActions, {
|
|
100
103
|
key: 0,
|
|
104
|
+
resource: __props.prompt,
|
|
101
105
|
"resource-id": __props.prompt.resourceId,
|
|
102
106
|
module: _unref(Module).Prompt,
|
|
103
107
|
"ticket-url": __props.prompt.ticketUrl,
|
|
104
108
|
status: __props.prompt.status,
|
|
105
109
|
"space-id": props.spaceId,
|
|
106
110
|
"api-prefix": props.apiPrefix,
|
|
107
|
-
onSuccessDelete: handleSuccessDelete
|
|
111
|
+
onSuccessDelete: handleSuccessDelete,
|
|
112
|
+
onNavigate: handleNavigate
|
|
108
113
|
}, null, 8 /* PROPS */ , [
|
|
114
|
+
"resource",
|
|
109
115
|
"resource-id",
|
|
110
116
|
"module",
|
|
111
117
|
"ticket-url",
|
|
@@ -178,8 +184,22 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
178
184
|
}, 8 /* PROPS */ , [
|
|
179
185
|
"is-show"
|
|
180
186
|
])) : _createCommentVNode("v-if", true),
|
|
181
|
-
getIsNotDeleted() ? (_openBlock(), _createBlock(
|
|
187
|
+
getIsNotDeleted() && getIsMarketType() ? (_openBlock(), _createBlock(RelateAgent, {
|
|
182
188
|
key: 2,
|
|
189
|
+
"resource-type": _unref(Module).Prompt,
|
|
190
|
+
resource: __props.prompt,
|
|
191
|
+
text: false,
|
|
192
|
+
"space-id": props.spaceId,
|
|
193
|
+
"api-prefix": props.apiPrefix,
|
|
194
|
+
onNavigate: handleNavigate
|
|
195
|
+
}, null, 8 /* PROPS */ , [
|
|
196
|
+
"resource-type",
|
|
197
|
+
"resource",
|
|
198
|
+
"space-id",
|
|
199
|
+
"api-prefix"
|
|
200
|
+
])) : _createCommentVNode("v-if", true),
|
|
201
|
+
getIsNotDeleted() && !getIsMarketType() ? (_openBlock(), _createBlock(RenderDropdown, {
|
|
202
|
+
key: 3,
|
|
183
203
|
placement: "bottom-start",
|
|
184
204
|
theme: "light",
|
|
185
205
|
ref_key: "dropdownRef",
|
|
@@ -26,7 +26,7 @@ var __awaiter = this && this.__awaiter || function(thisArg, _arguments, P, gener
|
|
|
26
26
|
});
|
|
27
27
|
};
|
|
28
28
|
import { defineComponent as _defineComponent, createVNode as _createVNode2 } from 'vue';
|
|
29
|
-
import { renderSlot as _renderSlot, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, resolveDirective as _resolveDirective, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, withDirectives as _withDirectives, createElementVNode as _createElementVNode, createVNode as _createVNode, unref as _unref } from "vue";
|
|
29
|
+
import { renderSlot as _renderSlot, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withModifiers as _withModifiers, resolveDirective as _resolveDirective, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, withDirectives as _withDirectives, createElementVNode as _createElementVNode, createVNode as _createVNode, unref as _unref } from "vue";
|
|
30
30
|
const _hoisted_1 = {
|
|
31
31
|
class: "g-flex-row g-justify-end g-mt-16"
|
|
32
32
|
};
|
|
@@ -49,6 +49,10 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
49
49
|
disabledText: {
|
|
50
50
|
default: ''
|
|
51
51
|
},
|
|
52
|
+
text: {
|
|
53
|
+
type: Boolean,
|
|
54
|
+
default: true
|
|
55
|
+
},
|
|
52
56
|
boundary: {},
|
|
53
57
|
placement: {
|
|
54
58
|
default: 'right'
|
|
@@ -580,9 +584,11 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
580
584
|
}, ()=>[
|
|
581
585
|
_withDirectives((_openBlock(), _createBlock(_component_bk_button, {
|
|
582
586
|
disabled: props.disabled,
|
|
587
|
+
text: props.text,
|
|
583
588
|
size: "small",
|
|
584
|
-
|
|
585
|
-
|
|
589
|
+
onClick: _withModifiers(handleShow, [
|
|
590
|
+
"stop"
|
|
591
|
+
])
|
|
586
592
|
}, {
|
|
587
593
|
default: _withCtx(()=>[
|
|
588
594
|
..._cache[2] || (_cache[2] = [
|
|
@@ -591,7 +597,8 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
591
597
|
]),
|
|
592
598
|
_: 1 /* STABLE */
|
|
593
599
|
}, 8 /* PROPS */ , [
|
|
594
|
-
"disabled"
|
|
600
|
+
"disabled",
|
|
601
|
+
"text"
|
|
595
602
|
])), [
|
|
596
603
|
[
|
|
597
604
|
_directive_bk_tooltips,
|
|
@@ -12,6 +12,7 @@ interface IProps {
|
|
|
12
12
|
resource: IAgent | IMcp | ISkill | IModel | ITool | IKnowledgebase | IPrompt | ICollection;
|
|
13
13
|
disabled?: boolean;
|
|
14
14
|
disabledText?: string;
|
|
15
|
+
text?: boolean;
|
|
15
16
|
boundary?: string;
|
|
16
17
|
placement?: string;
|
|
17
18
|
spaceId?: string;
|
|
@@ -28,6 +29,7 @@ declare const __VLS_base: import("vue").DefineComponent<IProps, {}, {}, {}, {},
|
|
|
28
29
|
}, string, import("vue").PublicProps, Readonly<IProps> & Readonly<{
|
|
29
30
|
onNavigate?: (value: ISdkNavigateAction) => any;
|
|
30
31
|
}>, {
|
|
32
|
+
text: boolean;
|
|
31
33
|
disabledText: string;
|
|
32
34
|
placement: string;
|
|
33
35
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
|
|
2
|
-
.resource-version[data-v-
|
|
2
|
+
.resource-version[data-v-3xfasp6c] {
|
|
3
3
|
border-radius: 2px;
|
|
4
4
|
text-align: left;
|
|
5
5
|
color: #4D4F56;
|
|
6
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-3xfasp6c] {
|
|
10
10
|
color: #3A84FF;
|
|
11
11
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
.router-tab[data-v-
|
|
2
|
+
.router-tab[data-v-7xtduqjc] {
|
|
3
3
|
margin-top: 2px;
|
|
4
4
|
height: 42px;
|
|
5
5
|
background: #FFFFFF;
|
|
6
6
|
box-shadow: 0 2px 4px 0 #1919290d;
|
|
7
7
|
padding: 0 24px;
|
|
8
8
|
}
|
|
9
|
-
.router-tab a[data-v-
|
|
9
|
+
.router-tab a[data-v-7xtduqjc] {
|
|
10
10
|
padding: 0 8px;
|
|
11
11
|
margin-right: 24px;
|
|
12
12
|
font-size: 14px;
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
color: #4D4F56;
|
|
16
16
|
box-sizing: border-box;
|
|
17
17
|
}
|
|
18
|
-
.router-tab a.router-link-exact-active[data-v-
|
|
18
|
+
.router-tab a.router-link-exact-active[data-v-7xtduqjc] {
|
|
19
19
|
color: #3A84FF;
|
|
20
20
|
border-bottom: 2px solid #3A84FF;
|
|
21
21
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
.select-plus-extension[data-v-
|
|
2
|
+
.select-plus-extension[data-v-fl2hj3oa] {
|
|
3
3
|
cursor: pointer;
|
|
4
4
|
width: 100%;
|
|
5
5
|
display: flex;
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
font-size: 12px;
|
|
9
9
|
line-height: 20px;
|
|
10
10
|
}
|
|
11
|
-
.select-plus-extension .ai-ui-sdk-icon[data-v-
|
|
11
|
+
.select-plus-extension .ai-ui-sdk-icon[data-v-fl2hj3oa] {
|
|
12
12
|
font-size: 14px;
|
|
13
13
|
margin-right: 6px;
|
|
14
14
|
}
|
|
15
|
-
.select-plus-extension[data-v-
|
|
15
|
+
.select-plus-extension[data-v-fl2hj3oa]:hover {
|
|
16
16
|
color: #3A84FF;
|
|
17
17
|
}
|
|
@@ -52,6 +52,9 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
52
52
|
const getIsFullType = ()=>{
|
|
53
53
|
return props.type === ResourceCardType.Full;
|
|
54
54
|
};
|
|
55
|
+
const getIsMarketType = ()=>{
|
|
56
|
+
return props.type === ResourceCardType.Market;
|
|
57
|
+
};
|
|
55
58
|
const getIsNotDeleted = ()=>{
|
|
56
59
|
return props.skill.status !== SkillStatus.Deleted;
|
|
57
60
|
};
|
|
@@ -158,14 +161,17 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
158
161
|
return _openBlock(), _createElementBlock(_Fragment, null, [
|
|
159
162
|
props.type === _unref(ResourceCardType).Application ? (_openBlock(), _createBlock(ApplicationBaseActions, {
|
|
160
163
|
key: 0,
|
|
164
|
+
resource: __props.skill,
|
|
161
165
|
"resource-id": __props.skill.resourceId,
|
|
162
166
|
module: _unref(Module).Skill,
|
|
163
167
|
"ticket-url": __props.skill.ticketUrl,
|
|
164
168
|
status: __props.skill.status,
|
|
165
169
|
"space-id": props.spaceId,
|
|
166
170
|
"api-prefix": props.apiPrefix,
|
|
167
|
-
onSuccessDelete: handleDeleteSkill
|
|
171
|
+
onSuccessDelete: handleDeleteSkill,
|
|
172
|
+
onNavigate: handleNavigate
|
|
168
173
|
}, null, 8 /* PROPS */ , [
|
|
174
|
+
"resource",
|
|
169
175
|
"resource-id",
|
|
170
176
|
"module",
|
|
171
177
|
"ticket-url",
|
|
@@ -249,7 +255,39 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
249
255
|
}
|
|
250
256
|
]
|
|
251
257
|
]),
|
|
252
|
-
|
|
258
|
+
getIsMarketType() ? (_openBlock(), _createBlock(_component_bk_button, {
|
|
259
|
+
key: 1,
|
|
260
|
+
loading: isDownloadingSkill.value,
|
|
261
|
+
size: "small",
|
|
262
|
+
onClick: _withModifiers(handleDownload, [
|
|
263
|
+
"stop"
|
|
264
|
+
])
|
|
265
|
+
}, {
|
|
266
|
+
default: _withCtx(()=>[
|
|
267
|
+
..._cache[8] || (_cache[8] = [
|
|
268
|
+
_createTextVNode(" 下载 ", -1 /* CACHED */ )
|
|
269
|
+
])
|
|
270
|
+
]),
|
|
271
|
+
_: 1 /* STABLE */
|
|
272
|
+
}, 8 /* PROPS */ , [
|
|
273
|
+
"loading"
|
|
274
|
+
])) : _createCommentVNode("v-if", true),
|
|
275
|
+
getIsMarketType() ? (_openBlock(), _createBlock(RenderRelateAgent, {
|
|
276
|
+
key: 2,
|
|
277
|
+
"resource-type": _unref(Module).Skill,
|
|
278
|
+
resource: __props.skill,
|
|
279
|
+
text: false,
|
|
280
|
+
"space-id": props.spaceId,
|
|
281
|
+
"api-prefix": props.apiPrefix,
|
|
282
|
+
onNavigate: handleNavigate
|
|
283
|
+
}, null, 8 /* PROPS */ , [
|
|
284
|
+
"resource-type",
|
|
285
|
+
"resource",
|
|
286
|
+
"space-id",
|
|
287
|
+
"api-prefix"
|
|
288
|
+
])) : _createCommentVNode("v-if", true),
|
|
289
|
+
!getIsMarketType() ? (_openBlock(), _createBlock(RenderDropdown, {
|
|
290
|
+
key: 3,
|
|
253
291
|
placement: "bottom-start",
|
|
254
292
|
theme: "light",
|
|
255
293
|
ref_key: "dropdownRef",
|
|
@@ -264,7 +302,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
264
302
|
]))
|
|
265
303
|
}, {
|
|
266
304
|
default: _withCtx(()=>[
|
|
267
|
-
..._cache[
|
|
305
|
+
..._cache[9] || (_cache[9] = [
|
|
268
306
|
_createElementVNode("i", {
|
|
269
307
|
class: "ai-ui-sdk-icon ai-ui-sdk-gengduo-2 g-text-16"
|
|
270
308
|
}, null, -1 /* CACHED */ )
|
|
@@ -310,7 +348,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
310
348
|
])
|
|
311
349
|
}, {
|
|
312
350
|
default: _withCtx(()=>[
|
|
313
|
-
..._cache[
|
|
351
|
+
..._cache[10] || (_cache[10] = [
|
|
314
352
|
_createTextVNode(" 下载 ", -1 /* CACHED */ )
|
|
315
353
|
])
|
|
316
354
|
]),
|
|
@@ -361,7 +399,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
361
399
|
], 2 /* CLASS */ )
|
|
362
400
|
]),
|
|
363
401
|
_: 1 /* STABLE */
|
|
364
|
-
}, 512 /* NEED_PATCH */ )
|
|
402
|
+
}, 512 /* NEED_PATCH */ )) : _createCommentVNode("v-if", true)
|
|
365
403
|
], 64 /* STABLE_FRAGMENT */ )) : _createCommentVNode("v-if", true),
|
|
366
404
|
getIsCurrentSpace() && getIsFullType() && !getIsNotDeleted() ? (_openBlock(), _createBlock(_component_bk_pop_confirm, {
|
|
367
405
|
key: 2,
|
|
@@ -383,7 +421,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
383
421
|
])
|
|
384
422
|
}, {
|
|
385
423
|
default: _withCtx(()=>[
|
|
386
|
-
..._cache[
|
|
424
|
+
..._cache[11] || (_cache[11] = [
|
|
387
425
|
_createTextVNode(" 恢复 ", -1 /* CACHED */ )
|
|
388
426
|
])
|
|
389
427
|
]),
|
|
@@ -76,7 +76,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
76
76
|
}, " 以下环境变量将在 skill 沙箱启动时自动注入 ", -1 /* CACHED */ )),
|
|
77
77
|
_createVNode(_unref(Ediatable), {
|
|
78
78
|
"thead-list": theadList,
|
|
79
|
-
class: "!g-mb-12 g-mx-16 !g-w-568
|
|
79
|
+
class: "!g-mb-12 g-mx-16 !g-w-568 g-max-h-400 g-scrollbar"
|
|
80
80
|
}, {
|
|
81
81
|
data: _withCtx(()=>[
|
|
82
82
|
_createElementVNode("tbody", null, [
|
|
@@ -88,11 +88,9 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
88
88
|
_createElementVNode("td", _hoisted_2, [
|
|
89
89
|
_createVNode(_unref(InputColumn), {
|
|
90
90
|
"model-value": item.value,
|
|
91
|
-
ref_for: true,
|
|
92
|
-
ref: (el)=>{
|
|
93
|
-
if (el) valueRefs.value[index] = el;
|
|
94
|
-
},
|
|
95
91
|
rules: getValueRule(item),
|
|
92
|
+
ref_for: true,
|
|
93
|
+
ref: (el)=>valueRefs.value[index] = el,
|
|
96
94
|
placeholder: "请输入 Value",
|
|
97
95
|
onChange: (val)=>handleUpdate(index, 'value', val)
|
|
98
96
|
}, null, 8 /* PROPS */ , [
|
|
@@ -213,7 +213,6 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
213
213
|
_createVNode(_component_t_enhanced_table, _mergeProps(_ctx.$attrs, {
|
|
214
214
|
"column-controller-visible": columnControllerVisible.value,
|
|
215
215
|
"onUpdate:columnControllerVisible": _cache[1] || (_cache[1] = ($event)=>columnControllerVisible.value = $event),
|
|
216
|
-
"cell-empty-content": "--",
|
|
217
216
|
"filter-value": {},
|
|
218
217
|
"max-height": getMaxHeight(),
|
|
219
218
|
loading: __props.isLoading,
|
|
@@ -226,6 +225,8 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
226
225
|
columns: getSettingColumns(),
|
|
227
226
|
"row-class-name": getRowClassName,
|
|
228
227
|
"expand-icon": false,
|
|
228
|
+
resizable: true,
|
|
229
|
+
"cell-empty-content": "--",
|
|
229
230
|
onSortChange: handleSortChange,
|
|
230
231
|
onFilterChange: handleFilterChange,
|
|
231
232
|
onDisplayColumnsChange: handleColumnChange,
|
|
@@ -281,8 +282,8 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
281
282
|
]),
|
|
282
283
|
empty: _withCtx(()=>[
|
|
283
284
|
_createVNode(RenderSearchEmpty, {
|
|
284
|
-
scene: "part",
|
|
285
285
|
search: __props.search,
|
|
286
|
+
scene: "part",
|
|
286
287
|
"onUpdate:search": handleUpdateSearch
|
|
287
288
|
}, null, 8 /* PROPS */ , [
|
|
288
289
|
"search"
|
|
@@ -325,7 +326,6 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
325
326
|
]),
|
|
326
327
|
__props.pagination ? (_openBlock(), _createBlock(_component_bk_pagination, {
|
|
327
328
|
key: 0,
|
|
328
|
-
size: "small",
|
|
329
329
|
class: _normalizeClass({
|
|
330
330
|
't-t-pagination': true,
|
|
331
331
|
'pagination-loading': __props.isLoading,
|
|
@@ -335,6 +335,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
335
335
|
count: __props.pagination.count,
|
|
336
336
|
limit: __props.pagination.limit,
|
|
337
337
|
layout: __props.layout,
|
|
338
|
+
size: "small",
|
|
338
339
|
onChange: handlePageChange,
|
|
339
340
|
onLimitChange: handlePageSizeChange
|
|
340
341
|
}, null, 8 /* PROPS */ , [
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
.t-t-pagination[data-v-
|
|
2
|
+
.t-t-pagination[data-v-a2kzaubm] {
|
|
3
3
|
position: relative;
|
|
4
4
|
padding: 16px 16px 0 16px;
|
|
5
5
|
}
|
|
6
|
-
.t-t-pagination[data-v-
|
|
6
|
+
.t-t-pagination[data-v-a2kzaubm] .bk-pagination-list.is-last {
|
|
7
7
|
margin-left: auto;
|
|
8
8
|
}
|
|
9
|
-
.pagination-loading[data-v-
|
|
9
|
+
.pagination-loading[data-v-a2kzaubm]::after {
|
|
10
10
|
content: '';
|
|
11
11
|
position: absolute;
|
|
12
12
|
top: 0;
|
|
@@ -16,92 +16,92 @@
|
|
|
16
16
|
background-color: rgba(255, 255, 255, 0.6);
|
|
17
17
|
z-index: 72;
|
|
18
18
|
}
|
|
19
|
-
.pagination-border[data-v-
|
|
19
|
+
.pagination-border[data-v-a2kzaubm] {
|
|
20
20
|
border-right: 1px solid #dcdee5;
|
|
21
21
|
border-left: 1px solid #dcdee5;
|
|
22
22
|
border-bottom: 1px solid #dcdee5;
|
|
23
23
|
padding-bottom: 16px;
|
|
24
24
|
}
|
|
25
|
-
.t-t-table[data-v-
|
|
25
|
+
.t-t-table[data-v-a2kzaubm] {
|
|
26
26
|
display: inline;
|
|
27
27
|
font-size: 12px;
|
|
28
28
|
}
|
|
29
|
-
.t-t-table[data-v-
|
|
29
|
+
.t-t-table[data-v-a2kzaubm] .t-table__th-cell-inner {
|
|
30
30
|
color: #313238;
|
|
31
31
|
}
|
|
32
|
-
.t-t-table[data-v-
|
|
32
|
+
.t-t-table[data-v-a2kzaubm] th {
|
|
33
33
|
padding: 0 16px;
|
|
34
34
|
height: 42px;
|
|
35
35
|
background-color: #FAFBFD !important;
|
|
36
36
|
}
|
|
37
|
-
.t-t-table[data-v-
|
|
37
|
+
.t-t-table[data-v-a2kzaubm] .t-table__body tr {
|
|
38
38
|
color: #63656e;
|
|
39
39
|
font-size: 12px;
|
|
40
40
|
}
|
|
41
|
-
.t-t-table[data-v-
|
|
41
|
+
.t-t-table[data-v-a2kzaubm] .t-table__body tr td {
|
|
42
42
|
padding: 0 16px;
|
|
43
43
|
height: 40px;
|
|
44
44
|
}
|
|
45
|
-
.t-t-table[data-v-
|
|
45
|
+
.t-t-table[data-v-a2kzaubm] .t-table__body tr:hover td {
|
|
46
46
|
background-color: #f5f7fa !important;
|
|
47
47
|
color: #63656E;
|
|
48
48
|
}
|
|
49
|
-
.t-t-table[data-v-
|
|
49
|
+
.t-t-table[data-v-a2kzaubm] .t-table__content .t-table__body .t-table__empty-row {
|
|
50
50
|
background-color: #fff !important;
|
|
51
51
|
}
|
|
52
|
-
.t-t-table[data-v-
|
|
52
|
+
.t-t-table[data-v-a2kzaubm] .t-table__content .t-table__body .t-table__empty-row >td {
|
|
53
53
|
border: none;
|
|
54
54
|
}
|
|
55
|
-
.t-t-table[data-v-
|
|
55
|
+
.t-t-table[data-v-a2kzaubm] th .t-table__ellipsis {
|
|
56
56
|
width: auto !important;
|
|
57
57
|
}
|
|
58
|
-
.t-t-table[data-v-
|
|
58
|
+
.t-t-table[data-v-a2kzaubm] .t-loading__gradient.t-icon-loading {
|
|
59
59
|
display: none;
|
|
60
60
|
}
|
|
61
|
-
.t-t-table[data-v-
|
|
61
|
+
.t-t-table[data-v-a2kzaubm]:first-of-type .t-table__affixed-header-elm-wrap{
|
|
62
62
|
width: calc(100% - 6px) !important;
|
|
63
63
|
}
|
|
64
|
-
.t-t-table[data-v-
|
|
64
|
+
.t-t-table[data-v-a2kzaubm] .t-table__affixed-header-elm-wrap>div {
|
|
65
65
|
width: 100% !important;
|
|
66
66
|
scrollbar-width: none;
|
|
67
67
|
}
|
|
68
|
-
.t-t-table[data-v-
|
|
68
|
+
.t-t-table[data-v-a2kzaubm] .t-table--layout-fixed{
|
|
69
69
|
width: 100% !important;
|
|
70
70
|
}
|
|
71
|
-
.t-t-table[data-v-
|
|
71
|
+
.t-t-table[data-v-a2kzaubm] .bk-exception-description{
|
|
72
72
|
margin-bottom: 0;
|
|
73
73
|
}
|
|
74
|
-
.t-t-table[data-v-
|
|
74
|
+
.t-t-table[data-v-a2kzaubm] .t-table__content{
|
|
75
75
|
z-index: 2;
|
|
76
76
|
max-height: 100%;
|
|
77
77
|
overflow: auto;
|
|
78
78
|
}
|
|
79
|
-
.t-t-table[data-v-
|
|
79
|
+
.t-t-table[data-v-a2kzaubm] .t-table__content::-webkit-scrollbar {
|
|
80
80
|
width: 6px;
|
|
81
81
|
height: 6px;
|
|
82
82
|
}
|
|
83
|
-
.t-t-table[data-v-
|
|
83
|
+
.t-t-table[data-v-a2kzaubm] .t-table__content::-webkit-scrollbar-thumb {
|
|
84
84
|
width: 6px;
|
|
85
85
|
height: 6px;
|
|
86
86
|
border-radius: 3px;
|
|
87
87
|
background-color: #dcdee5;
|
|
88
88
|
}
|
|
89
|
-
.t-t-table[data-v-
|
|
89
|
+
.t-t-table[data-v-a2kzaubm] .t-table__content::-webkit-scrollbar-thumb:hover {
|
|
90
90
|
background-color: #979ba5;
|
|
91
91
|
}
|
|
92
|
-
.t-t-table[data-v-
|
|
92
|
+
.t-t-table[data-v-a2kzaubm] .t-table__ellipsis.t-text-ellipsis:has(.checkbox){
|
|
93
93
|
line-height: 100%;
|
|
94
94
|
}
|
|
95
|
-
.t-t-table[data-v-
|
|
95
|
+
.t-t-table[data-v-a2kzaubm] .t-table__cell--sort-trigger.t-table__double-icons{
|
|
96
96
|
gap: 5px;
|
|
97
97
|
}
|
|
98
|
-
.t-t-table[data-v-
|
|
98
|
+
.t-t-table[data-v-a2kzaubm] .t-table__sort-icon--active>i{
|
|
99
99
|
color: #3a84ff !important;
|
|
100
100
|
}
|
|
101
|
-
.t-t-table[data-v-
|
|
101
|
+
.t-t-table[data-v-a2kzaubm] .t-table__cell--fixed-left:has(.checkbox){
|
|
102
102
|
line-height: 100%;
|
|
103
103
|
}
|
|
104
|
-
.t-t-table[data-v-
|
|
104
|
+
.t-t-table[data-v-a2kzaubm] .t-table__filter-icon.t-is-focus>span{
|
|
105
105
|
color: #3a84ff !important;
|
|
106
106
|
}
|
|
107
107
|
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
|
|
2
|
-
.tag-tree[data-v-
|
|
2
|
+
.tag-tree[data-v-dfmnkgt3] {
|
|
3
3
|
font-size: 12px;
|
|
4
4
|
height: auto;
|
|
5
5
|
max-height: calc(100% - 44px);
|
|
6
6
|
}
|
|
7
|
-
.tag-tree .manage-tree-item[data-v-
|
|
7
|
+
.tag-tree .manage-tree-item[data-v-dfmnkgt3] {
|
|
8
8
|
height: 32px;
|
|
9
9
|
flex: 1;
|
|
10
10
|
}
|
|
11
|
-
.tag-tree .quick-icon[data-v-
|
|
11
|
+
.tag-tree .quick-icon[data-v-dfmnkgt3] {
|
|
12
12
|
margin-left: -24px;
|
|
13
13
|
padding-left: 8px;
|
|
14
14
|
}
|
|
15
|
-
.tag-tree[data-v-
|
|
15
|
+
.tag-tree[data-v-dfmnkgt3] .tree-item:has(.bottom-line) {
|
|
16
16
|
border-bottom: 1px solid #F0F1F5;
|
|
17
17
|
}
|
|
18
|
-
.tag-tree[data-v-
|
|
18
|
+
.tag-tree[data-v-dfmnkgt3] .tree-item.active .quick-icon {
|
|
19
19
|
color: #3A84FF;
|
|
20
20
|
}
|
|
21
|
-
.tag-tree[data-v-
|
|
21
|
+
.tag-tree[data-v-dfmnkgt3] .tree-item.active .tag-number {
|
|
22
22
|
background: #A3C5FD;
|
|
23
23
|
color: #fff;
|
|
24
24
|
}
|
|
25
|
-
.tag-number[data-v-
|
|
25
|
+
.tag-number[data-v-dfmnkgt3] {
|
|
26
26
|
line-height: 16px;
|
|
27
27
|
padding: 0 4px;
|
|
28
28
|
background-color: #F0F1F5;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
|
|
2
|
-
.tag-container[data-v-
|
|
2
|
+
.tag-container[data-v-932vuia1] {
|
|
3
3
|
visibility: hidden;
|
|
4
4
|
white-space: nowrap;
|
|
5
5
|
column-gap: 4px;
|
|
6
6
|
width: calc(100% - 20px);
|
|
7
7
|
}
|
|
8
|
-
.tag-home[data-v-
|
|
8
|
+
.tag-home[data-v-932vuia1] {
|
|
9
9
|
vertical-align: sub;
|
|
10
10
|
flex-shrink: 0;
|
|
11
11
|
}
|
|
12
|
-
[is-show="true"][data-v-
|
|
12
|
+
[is-show="true"][data-v-932vuia1] {
|
|
13
13
|
visibility: visible;
|
|
14
14
|
}
|
|
15
|
-
[is-show="false"][data-v-
|
|
15
|
+
[is-show="false"][data-v-932vuia1] {
|
|
16
16
|
display: none !important;
|
|
17
17
|
}
|
|
18
|
-
.popover-main[data-v-
|
|
18
|
+
.popover-main[data-v-932vuia1] {
|
|
19
19
|
padding: 8px 8px 10px;
|
|
20
20
|
}
|
|
21
|
-
.tag-list[data-v-
|
|
21
|
+
.tag-list[data-v-932vuia1] {
|
|
22
22
|
border-radius: 2px;
|
|
23
23
|
background: #F0F1F5;
|
|
24
24
|
}
|
package/dist/css/g-utilities.css
CHANGED
|
@@ -105,10 +105,6 @@
|
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
.\!g-overflow-hidden {
|
|
109
|
-
overflow: hidden !important;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
108
|
.\!g-pl-16 {
|
|
113
109
|
padding-left: 16px !important;
|
|
114
110
|
}
|
|
@@ -165,6 +161,15 @@
|
|
|
165
161
|
color: #fff !important;
|
|
166
162
|
}
|
|
167
163
|
|
|
164
|
+
.\!g-top-index {
|
|
165
|
+
z-index: 9999 !important;
|
|
166
|
+
|
|
167
|
+
.bk-modal-mask,
|
|
168
|
+
.bk-modal-wrapper {
|
|
169
|
+
z-index: 9999 !important;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
|
|
168
173
|
.\!g-w-220 {
|
|
169
174
|
width: 220px !important;
|
|
170
175
|
}
|