@blueking/ai-ui-sdk 0.3.0-beta.5 → 0.3.0-beta.6
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 +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 +16 -17
- package/dist/components/render-card/agent/actions.vue.d.ts +3 -0
- package/dist/components/render-card/agent/index.script.vue.js.js +23 -6
- package/dist/components/render-card/agent/index.vue.d.ts +8 -1
- package/dist/components/render-card/agent/prefix-info-tool.script.vue.js.js +5 -2
- package/dist/components/render-card/agent/prefix-info-tool.vue.css +5 -5
- package/dist/components/render-card/agent/prefix-info-tool.vue.d.ts +1 -0
- 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 +15 -4
- package/dist/components/render-card/agent-command/index.vue.d.ts +13 -1
- package/dist/components/render-card/base/reference-icon.script.vue.js.js +10 -2
- package/dist/components/render-card/base/reference-icon.vue.d.ts +6 -1
- package/dist/components/render-card/base.script.vue.js +10 -3
- package/dist/components/render-card/base.vue.css +12 -12
- package/dist/components/render-card/base.vue.d.ts +6 -2
- package/dist/components/render-card/base.vue.js +1 -1
- package/dist/components/render-card/knowledge/index.script.vue.js.js +19 -6
- package/dist/components/render-card/knowledge/index.vue.d.ts +10 -2
- package/dist/components/render-card/knowledge/info-tool.script.vue.js.js +16 -14
- package/dist/components/render-card/knowledge/info-tool.vue.d.ts +6 -1
- package/dist/components/render-card/knowledgebase/actions.script.vue.js.js +38 -18
- package/dist/components/render-card/knowledgebase/actions.vue.d.ts +3 -0
- package/dist/components/render-card/knowledgebase/index.script.vue.js.js +21 -7
- package/dist/components/render-card/knowledgebase/index.vue.d.ts +7 -1
- package/dist/components/render-card/knowledgebase/info-tool.script.vue.js.js +15 -13
- package/dist/components/render-card/knowledgebase/info-tool.vue.d.ts +6 -1
- package/dist/components/render-card/llm/actions.script.vue.js.js +10 -2
- package/dist/components/render-card/llm/actions.vue.d.ts +6 -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/index.script.vue.js.js +12 -4
- package/dist/components/render-card/llm/index.vue.d.ts +4 -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 +12 -14
- package/dist/components/render-card/mcp/actions.vue.d.ts +3 -0
- package/dist/components/render-card/mcp/index.script.vue.js.js +22 -5
- package/dist/components/render-card/mcp/index.vue.d.ts +8 -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.script.vue.js.js +19 -6
- package/dist/components/render-card/prompt/index.vue.d.ts +7 -1
- package/dist/components/render-card/role/index.script.vue.js.js +20 -6
- package/dist/components/render-card/role/index.vue.d.ts +7 -1
- package/dist/components/render-card/skill/index.script.vue.js.js +24 -7
- package/dist/components/render-card/skill/index.vue.d.ts +16 -1
- 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 +7 -2
- package/dist/components/render-card/tool/actions.vue.d.ts +3 -0
- package/dist/components/render-card/tool/index.script.vue.js.js +18 -5
- package/dist/components/render-card/tool/index.vue.d.ts +7 -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 +2 -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/actions/index.script.vue.js.js +10 -11
- package/dist/components/render-collection/actions/index.vue.d.ts +3 -0
- 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 +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/components/header.script.vue.js.js +8 -6
- package/dist/components/render-dataset-detail/components/header.vue.d.ts +6 -1
- package/dist/components/render-dataset-detail/index.script.vue.js.js +16 -10
- package/dist/components/render-dataset-detail/index.vue.d.ts +6 -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.script.vue.js.js +7 -2
- package/dist/components/render-dataset-list/components/main.vue.css +3 -3
- package/dist/components/render-dataset-list/components/main.vue.d.ts +3 -0
- package/dist/components/render-dataset-list/components/main.vue.js +1 -1
- package/dist/components/render-dataset-list/components/table.script.vue.js +6 -9
- package/dist/components/render-dataset-list/components/table.vue.d.ts +3 -0
- package/dist/components/render-dataset-list/index.script.vue.js.js +12 -3
- package/dist/components/render-dataset-list/index.vue.css +2 -2
- package/dist/components/render-dataset-list/index.vue.d.ts +6 -1
- package/dist/components/render-dataset-list/index.vue.js +1 -1
- package/dist/components/render-dialog/choose-footer.script.vue.js.js +9 -17
- package/dist/components/render-dialog/choose-footer.vue.d.ts +3 -0
- package/dist/components/render-dialog/choose-resource.script.vue.js +75 -25
- package/dist/components/render-dialog/choose-resource.vue.css +5 -3
- package/dist/components/render-dialog/choose-resource.vue.d.ts +6 -0
- 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 +8 -8
- package/dist/components/render-dialog/choose-space.vue.js +1 -1
- package/dist/components/render-dialog/{index.script.vue.js.js → index.script.vue.js} +73 -73
- package/dist/components/render-dialog/index.vue.css +6 -6
- package/dist/components/render-dialog/index.vue.d.ts +6 -0
- package/dist/components/render-dialog/index.vue.js +2 -2
- 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 +5 -5
- 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-header/index.vue.css +3 -3
- package/dist/components/render-header/index.vue.js +1 -1
- package/dist/components/render-image/index.script.vue.js.js +16 -4
- package/dist/components/render-image/index.vue.d.ts +1 -0
- 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-prompt/actions/index.script.vue.js.js +10 -11
- package/dist/components/render-prompt/actions/index.vue.d.ts +3 -0
- 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.script.vue.js +40 -41
- package/dist/components/render-reference/index.vue.css +2 -2
- package/dist/components/render-reference/index.vue.d.ts +3 -0
- package/dist/components/render-reference/index.vue.js +1 -1
- package/dist/components/render-relate-agent/index.script.vue.js.js +59 -23
- package/dist/components/render-relate-agent/index.vue.d.ts +10 -4
- 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.script.vue.js.js +5 -3
- 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 +11 -13
- package/dist/components/render-skill/actions/index.vue.d.ts +3 -0
- 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 +0 -4
- package/dist/css/g-utilities.manifest.json +0 -1
- package/dist/node_modules/@vue/devtools-api/lib/cjs/api/api.js +2 -0
- package/dist/node_modules/@vue/devtools-api/lib/cjs/api/app.js +2 -0
- package/dist/node_modules/@vue/devtools-api/lib/cjs/api/component.js +2 -0
- package/dist/node_modules/@vue/devtools-api/lib/cjs/api/context.js +2 -0
- package/dist/node_modules/@vue/devtools-api/lib/cjs/api/hooks.js +2 -0
- package/dist/node_modules/@vue/devtools-api/lib/cjs/api/index.js +22 -0
- package/dist/node_modules/@vue/devtools-api/lib/cjs/api/util.js +2 -0
- package/dist/node_modules/@vue/devtools-api/lib/cjs/const.js +5 -0
- package/dist/node_modules/@vue/devtools-api/lib/cjs/env.js +17 -0
- package/dist/node_modules/@vue/devtools-api/lib/cjs/index.js +45 -0
- package/dist/node_modules/@vue/devtools-api/lib/cjs/plugin.js +2 -0
- package/dist/node_modules/@vue/devtools-api/lib/cjs/proxy.js +111 -0
- package/dist/node_modules/@vue/devtools-api/lib/cjs/time.js +28 -0
- package/dist/node_modules/vue-router/dist/vue-router.cjs.js +2774 -0
- package/dist/node_modules/vue-router/dist/vue-router.prod.cjs.js +23 -0
- package/dist/node_modules/vue-router/index.js +7 -0
- package/dist/types/enum.d.ts +23 -0
- package/dist/types/enum.ts.js +24 -0
- package/dist/types/navigate.d.ts +82 -0
- package/dist/types/navigate.ts.js +1 -0
- package/dist/types.d.ts +1 -0
- package/dist/types.ts.js +1 -0
- package/package.json +2 -2
- package/dist/components/render-card/base/application-code-suffix.vue.d.ts +0 -13
- package/dist/components/render-card/base/base-info.vue.d.ts +0 -26
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
|
|
2
|
-
.agent-type[data-v-
|
|
2
|
+
.agent-type[data-v-6hs8uwc6] {
|
|
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-6hs8uwc6] {
|
|
9
9
|
color: #1768EF;
|
|
10
10
|
background-color: #E1ECFF;
|
|
11
11
|
}
|
|
12
|
-
.agent-type.flow[data-v-
|
|
12
|
+
.agent-type.flow[data-v-6hs8uwc6] {
|
|
13
13
|
color: #E38B02;
|
|
14
14
|
background: #FDEED8;
|
|
15
15
|
}
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
|
|
2
|
-
.send-container[data-v-
|
|
2
|
+
.send-container[data-v-zffxo7l1] {
|
|
3
3
|
position: relative;
|
|
4
4
|
}
|
|
5
|
-
.send-container[data-v-
|
|
5
|
+
.send-container[data-v-zffxo7l1]: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-zffxo7l1] {
|
|
9
9
|
display: inline-flex !important;
|
|
10
10
|
}
|
|
11
|
-
.send-input[data-v-
|
|
11
|
+
.send-input[data-v-zffxo7l1] {
|
|
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-zffxo7l1]:has(textarea:focus) {
|
|
17
17
|
height: var(--text-height);
|
|
18
18
|
}
|
|
19
|
-
.send-input[data-v-
|
|
19
|
+
.send-input[data-v-zffxo7l1] 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-zffxo7l1] textarea::-webkit-scrollbar {
|
|
26
26
|
width: 4px;
|
|
27
27
|
height: 4px;
|
|
28
28
|
}
|
|
29
|
-
.send-input[data-v-
|
|
29
|
+
.send-input[data-v-zffxo7l1] 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-zffxo7l1] textarea::placeholder {
|
|
35
35
|
line-height: 16px;
|
|
36
36
|
}
|
|
37
|
-
.send-clear[data-v-
|
|
37
|
+
.send-clear[data-v-zffxo7l1] {
|
|
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-zffxo7l1]:hover {
|
|
47
47
|
color: #313238;
|
|
48
48
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
.auto-refresh[data-v-
|
|
2
|
+
.auto-refresh[data-v-jhmn9byc] {
|
|
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-jhmn9byc]: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-jhmn9byc]:hover {
|
|
20
20
|
color: #3A84FF;
|
|
21
21
|
background-color: #E1ECFF;
|
|
22
22
|
}
|
|
23
|
-
.refresh[data-v-
|
|
23
|
+
.refresh[data-v-jhmn9byc] {
|
|
24
24
|
cursor: pointer;
|
|
25
25
|
line-height: 26px;
|
|
26
26
|
padding: 0 4px;
|
|
27
27
|
}
|
|
28
|
-
.refresh[data-v-
|
|
28
|
+
.refresh[data-v-jhmn9byc]:hover {
|
|
29
29
|
color: #3A84FF;
|
|
30
30
|
background-color: #E1ECFF;
|
|
31
31
|
}
|
|
32
|
-
.textarea-list[data-v-
|
|
32
|
+
.textarea-list[data-v-jhmn9byc] {
|
|
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-jhmn9byc] {
|
|
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-jhmn9byc]:hover {
|
|
44
44
|
background: #E1ECFF;
|
|
45
45
|
color: #3A84FF;
|
|
46
46
|
}
|
|
@@ -4,7 +4,6 @@ const _hoisted_1 = {
|
|
|
4
4
|
class: "g-text-14 g-text-gray"
|
|
5
5
|
};
|
|
6
6
|
import { ref, toRef } from 'vue';
|
|
7
|
-
import { useRouter } from 'vue-router';
|
|
8
7
|
import ApplicationBaseActions from '../base/application-base-actions.vue.js';
|
|
9
8
|
import { RenderDropdown, RenderMarkdown } from '../../../components.ts.js';
|
|
10
9
|
import AgentDownload from '../../render-agent/agent-download.vue.js';
|
|
@@ -12,7 +11,7 @@ import AgentShare from '../../render-agent/agent-share.vue.js';
|
|
|
12
11
|
import RelateAgent from '../../render-relate-agent/index.vue.js';
|
|
13
12
|
import { useAgentHttp } from '../../../hooks/use-agent-http.ts.js';
|
|
14
13
|
import { usePermission } from '../../../hooks/use-permission.ts.js';
|
|
15
|
-
import { Module, ResourceCardType, ResourcePermissionAction, ResourceStatus } from '../../../types/enum.ts.js';
|
|
14
|
+
import { Module, ResourceCardType, ResourcePermissionAction, ResourceStatus, SdkNavigateActionType } from '../../../types/enum.ts.js';
|
|
16
15
|
export default /*@__PURE__*/ _defineComponent({
|
|
17
16
|
props: {
|
|
18
17
|
agent: {},
|
|
@@ -25,12 +24,12 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
25
24
|
emits: [
|
|
26
25
|
"success-delete",
|
|
27
26
|
"success-restore",
|
|
28
|
-
"edit"
|
|
27
|
+
"edit",
|
|
28
|
+
"navigate"
|
|
29
29
|
],
|
|
30
30
|
setup (__props, { emit: __emit }) {
|
|
31
31
|
const props = __props;
|
|
32
32
|
const emits = __emit;
|
|
33
|
-
const router = useRouter();
|
|
34
33
|
const { handleMouseEnter, handleMouseMove, handleMouseLeave, handleMouseClick } = usePermission(props.apiPrefix, toRef(props, 'spaceId'), '#4d4f56');
|
|
35
34
|
const { deleteAgent, restoreAgent } = useAgentHttp(props.apiPrefix, toRef(props, 'spaceId'));
|
|
36
35
|
const dropdownRef = ref();
|
|
@@ -112,21 +111,17 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
112
111
|
isShowRestore.value = false;
|
|
113
112
|
};
|
|
114
113
|
const handleGoToSetting = ()=>{
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
group_type: props.groupType
|
|
120
|
-
}
|
|
114
|
+
emits('navigate', {
|
|
115
|
+
type: SdkNavigateActionType.AgentDetailSetting,
|
|
116
|
+
id: props.agent.id,
|
|
117
|
+
groupType: props.groupType
|
|
121
118
|
});
|
|
122
119
|
};
|
|
123
120
|
const handleGoToPublish = ()=>{
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
group_type: props.groupType
|
|
129
|
-
}
|
|
121
|
+
emits('navigate', {
|
|
122
|
+
type: SdkNavigateActionType.AgentDetailRelease,
|
|
123
|
+
id: props.agent.id,
|
|
124
|
+
groupType: props.groupType
|
|
130
125
|
});
|
|
131
126
|
};
|
|
132
127
|
const handleGoToSharePage = ()=>{
|
|
@@ -149,6 +144,9 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
149
144
|
handleHideRestore();
|
|
150
145
|
});
|
|
151
146
|
};
|
|
147
|
+
const handleNavigate = (route)=>{
|
|
148
|
+
emits('navigate', route);
|
|
149
|
+
};
|
|
152
150
|
return (_ctx, _cache)=>{
|
|
153
151
|
var __props_agent_permission, __props_agent;
|
|
154
152
|
const _component_bk_button = _resolveComponent("bk-button");
|
|
@@ -312,7 +310,8 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
312
310
|
disabled: !__props.agent.latestVersion,
|
|
313
311
|
"space-id": props.spaceId,
|
|
314
312
|
spaces: props.spaces,
|
|
315
|
-
"api-prefix": __props.apiPrefix
|
|
313
|
+
"api-prefix": __props.apiPrefix,
|
|
314
|
+
onNavigate: handleNavigate
|
|
316
315
|
}, null, 8 /* PROPS */ , [
|
|
317
316
|
"boundary",
|
|
318
317
|
"resource-type",
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { IAgent } from '@/types/agent';
|
|
2
2
|
import { GroupType, ResourceCardType } from '@/types/enum';
|
|
3
|
+
import type { ISdkNavigateAction } from '@/types/navigate';
|
|
3
4
|
import type { ISpace } from '@/types/space';
|
|
4
5
|
interface IProps {
|
|
5
6
|
agent: IAgent;
|
|
@@ -11,10 +12,12 @@ interface IProps {
|
|
|
11
12
|
}
|
|
12
13
|
declare const __VLS_export: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
13
14
|
edit: () => any;
|
|
15
|
+
navigate: (route: ISdkNavigateAction) => any;
|
|
14
16
|
"success-delete": () => any;
|
|
15
17
|
"success-restore": () => any;
|
|
16
18
|
}, string, import("vue").PublicProps, Readonly<IProps> & Readonly<{
|
|
17
19
|
onEdit?: () => any;
|
|
20
|
+
onNavigate?: (route: ISdkNavigateAction) => any;
|
|
18
21
|
"onSuccess-delete"?: () => any;
|
|
19
22
|
"onSuccess-restore"?: () => any;
|
|
20
23
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as _defineComponent } from 'vue';
|
|
2
|
-
import { unref as _unref, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, withCtx as _withCtx } from "vue";
|
|
2
|
+
import { unref as _unref, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, renderSlot as _renderSlot, withCtx as _withCtx } from "vue";
|
|
3
3
|
import RenderBase from '../base.vue.js';
|
|
4
4
|
import RenderReferenceIcon from '../base/reference-icon.vue.js';
|
|
5
5
|
import RenderActions from './actions.vue.js';
|
|
@@ -30,7 +30,11 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
30
30
|
},
|
|
31
31
|
spaceId: {},
|
|
32
32
|
spaces: {},
|
|
33
|
-
apiPrefix: {}
|
|
33
|
+
apiPrefix: {},
|
|
34
|
+
defaultIcon: {},
|
|
35
|
+
showGenerateType: {
|
|
36
|
+
type: Boolean
|
|
37
|
+
}
|
|
34
38
|
},
|
|
35
39
|
emits: [
|
|
36
40
|
"delete",
|
|
@@ -38,7 +42,8 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
38
42
|
"edit",
|
|
39
43
|
"success-delete",
|
|
40
44
|
"success-restore",
|
|
41
|
-
"update:commands"
|
|
45
|
+
"update:commands",
|
|
46
|
+
"navigate"
|
|
42
47
|
],
|
|
43
48
|
setup (__props, { emit: __emit }) {
|
|
44
49
|
const props = __props;
|
|
@@ -63,6 +68,9 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
63
68
|
const handleChoose = ()=>{
|
|
64
69
|
emits('choose', props.agent);
|
|
65
70
|
};
|
|
71
|
+
const handleNavigate = (route)=>{
|
|
72
|
+
emits('navigate', route);
|
|
73
|
+
};
|
|
66
74
|
return (_ctx, _cache)=>{
|
|
67
75
|
return _openBlock(), _createBlock(RenderBase, {
|
|
68
76
|
class: "g-relative",
|
|
@@ -91,6 +99,8 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
91
99
|
"used-by": props.agent.usedBy,
|
|
92
100
|
"resource-id": props.agent.resourceId,
|
|
93
101
|
spaces: props.spaces,
|
|
102
|
+
"default-icon": __props.defaultIcon,
|
|
103
|
+
"show-generate-type": __props.showGenerateType,
|
|
94
104
|
onDelete: handleDelete,
|
|
95
105
|
onChoose: handleChoose
|
|
96
106
|
}, {
|
|
@@ -131,7 +141,8 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
131
141
|
name: props.agent.agentName,
|
|
132
142
|
module: _unref(Module).Agent,
|
|
133
143
|
"space-id": props.spaceId,
|
|
134
|
-
"api-prefix": props.apiPrefix
|
|
144
|
+
"api-prefix": props.apiPrefix,
|
|
145
|
+
onNavigate: handleNavigate
|
|
135
146
|
}, null, 8 /* PROPS */ , [
|
|
136
147
|
"type",
|
|
137
148
|
"ref-count",
|
|
@@ -142,6 +153,9 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
142
153
|
"api-prefix"
|
|
143
154
|
])) : _createCommentVNode("v-if", true)
|
|
144
155
|
]),
|
|
156
|
+
"pre-actions": _withCtx(()=>[
|
|
157
|
+
_renderSlot(_ctx.$slots, "pre-actions", {}, undefined, true)
|
|
158
|
+
]),
|
|
145
159
|
actions: _withCtx(()=>[
|
|
146
160
|
_createVNode(RenderActions, {
|
|
147
161
|
type: __props.type,
|
|
@@ -150,6 +164,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
150
164
|
"space-id": props.spaceId,
|
|
151
165
|
spaces: props.spaces,
|
|
152
166
|
"api-prefix": __props.apiPrefix,
|
|
167
|
+
onNavigate: handleNavigate,
|
|
153
168
|
onEdit: handleEdit,
|
|
154
169
|
onSuccessDelete: handleSuccessDelete,
|
|
155
170
|
onSuccessRestore: handleSuccessRestore
|
|
@@ -162,7 +177,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
162
177
|
"api-prefix"
|
|
163
178
|
])
|
|
164
179
|
]),
|
|
165
|
-
_:
|
|
180
|
+
_: 3 /* FORWARDED */
|
|
166
181
|
}, 8 /* PROPS */ , [
|
|
167
182
|
"module",
|
|
168
183
|
"type",
|
|
@@ -188,7 +203,9 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
188
203
|
"applied-at",
|
|
189
204
|
"used-by",
|
|
190
205
|
"resource-id",
|
|
191
|
-
"spaces"
|
|
206
|
+
"spaces",
|
|
207
|
+
"default-icon",
|
|
208
|
+
"show-generate-type"
|
|
192
209
|
]);
|
|
193
210
|
};
|
|
194
211
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { IAgent, IAgentCommand, IApplicationAgent } from '@/types/agent';
|
|
2
2
|
import { GroupType, ResourceCardType } from '@/types/enum';
|
|
3
|
+
import type { ISdkNavigateAction } from '@/types/navigate';
|
|
3
4
|
import type { ISpace } from '@/types/space';
|
|
4
5
|
declare const __VLS_export: <T extends IAgent | IApplicationAgent>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
5
6
|
props: import("vue").PublicProps & __VLS_PrettifyLocal<{
|
|
@@ -16,10 +17,13 @@ declare const __VLS_export: <T extends IAgent | IApplicationAgent>(__VLS_props:
|
|
|
16
17
|
spaceId?: string;
|
|
17
18
|
spaces?: ISpace[];
|
|
18
19
|
apiPrefix: string;
|
|
20
|
+
defaultIcon?: string;
|
|
21
|
+
showGenerateType?: boolean;
|
|
19
22
|
} & {
|
|
20
23
|
onChoose?: (agent: T) => any;
|
|
21
24
|
onEdit?: (agent: T) => any;
|
|
22
25
|
onDelete?: (agent: T) => any;
|
|
26
|
+
onNavigate?: (route: ISdkNavigateAction) => any;
|
|
23
27
|
"onSuccess-delete"?: () => any;
|
|
24
28
|
"onSuccess-restore"?: () => any;
|
|
25
29
|
"onUpdate:commands"?: (commands: IAgentCommand[]) => any;
|
|
@@ -28,11 +32,14 @@ declare const __VLS_export: <T extends IAgent | IApplicationAgent>(__VLS_props:
|
|
|
28
32
|
} ? P : {});
|
|
29
33
|
expose: (exposed: {}) => void;
|
|
30
34
|
attrs: any;
|
|
31
|
-
slots: {
|
|
35
|
+
slots: {
|
|
36
|
+
'pre-actions'?: (props: {}) => any;
|
|
37
|
+
};
|
|
32
38
|
emit: {
|
|
33
39
|
(event: "delete" | "choose" | "edit", agent: T): void;
|
|
34
40
|
(event: "success-delete" | "success-restore"): void;
|
|
35
41
|
(event: "update:commands", commands: IAgentCommand[]): void;
|
|
42
|
+
(event: "navigate", route: ISdkNavigateAction): void;
|
|
36
43
|
};
|
|
37
44
|
}>) => import("vue").VNode & {
|
|
38
45
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
@@ -26,7 +26,8 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
26
26
|
type: Boolean
|
|
27
27
|
},
|
|
28
28
|
apiPrefix: {},
|
|
29
|
-
spaceId: {}
|
|
29
|
+
spaceId: {},
|
|
30
|
+
defaultIcon: {}
|
|
30
31
|
},
|
|
31
32
|
emits: [
|
|
32
33
|
"update:commands",
|
|
@@ -153,9 +154,11 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
153
154
|
_createVNode(RenderImage, {
|
|
154
155
|
url: command.icon,
|
|
155
156
|
size: 12,
|
|
157
|
+
"default-url": props.defaultIcon,
|
|
156
158
|
class: "g-mr-6"
|
|
157
159
|
}, null, 8 /* PROPS */ , [
|
|
158
|
-
"url"
|
|
160
|
+
"url",
|
|
161
|
+
"default-url"
|
|
159
162
|
]),
|
|
160
163
|
_createElementVNode("p", _hoisted_2, [
|
|
161
164
|
_createElementVNode("span", _hoisted_3, _toDisplayString(command.name), 1 /* TEXT */ ),
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
|
|
2
|
-
.command-number[data-v-
|
|
2
|
+
.command-number[data-v-zvqhb2ez] {
|
|
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-zvqhb2ez] {
|
|
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-zvqhb2ez] {
|
|
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-zvqhb2ez] {
|
|
24
24
|
margin: 0 8px 0 68px;
|
|
25
25
|
}
|
|
26
|
-
.command-name-text[data-v-
|
|
26
|
+
.command-name-text[data-v-zvqhb2ez] {
|
|
27
27
|
max-width: 165px;
|
|
28
28
|
}
|
|
@@ -6,6 +6,7 @@ interface IProps {
|
|
|
6
6
|
disabled?: boolean;
|
|
7
7
|
apiPrefix: string;
|
|
8
8
|
spaceId?: string;
|
|
9
|
+
defaultIcon?: string;
|
|
9
10
|
}
|
|
10
11
|
declare const __VLS_export: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
11
12
|
delete: () => any;
|
|
@@ -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-zvqhb2ez";
|
|
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;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as _defineComponent } from 'vue';
|
|
2
|
-
import { unref as _unref, createVNode as _createVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock } from "vue";
|
|
2
|
+
import { unref as _unref, createVNode as _createVNode, renderSlot as _renderSlot, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock } from "vue";
|
|
3
3
|
import RenderBase from '../base.vue.js';
|
|
4
4
|
import RenderInfoTool from './info-tool.vue.js';
|
|
5
5
|
import RenderNameSuffix from './name-suffix.vue.js';
|
|
@@ -18,7 +18,11 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
18
18
|
isShowOperation: {
|
|
19
19
|
type: Boolean
|
|
20
20
|
},
|
|
21
|
-
spaces: {}
|
|
21
|
+
spaces: {},
|
|
22
|
+
defaultIcon: {},
|
|
23
|
+
showGenerateType: {
|
|
24
|
+
type: Boolean
|
|
25
|
+
}
|
|
22
26
|
},
|
|
23
27
|
emits: [
|
|
24
28
|
"choose",
|
|
@@ -58,6 +62,8 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
58
62
|
"updated-at": props.command.updatedAt,
|
|
59
63
|
"updated-by": props.command.updatedBy,
|
|
60
64
|
spaces: props.spaces,
|
|
65
|
+
"default-icon": __props.defaultIcon,
|
|
66
|
+
"show-generate-type": __props.showGenerateType,
|
|
61
67
|
onChoose: handleChoose,
|
|
62
68
|
onDelete: handleDelete
|
|
63
69
|
}, {
|
|
@@ -86,7 +92,10 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
86
92
|
"disabled"
|
|
87
93
|
])
|
|
88
94
|
]),
|
|
89
|
-
|
|
95
|
+
"pre-actions": _withCtx(()=>[
|
|
96
|
+
_renderSlot(_ctx.$slots, "pre-actions", {}, undefined, true)
|
|
97
|
+
]),
|
|
98
|
+
_: 3 /* FORWARDED */
|
|
90
99
|
}, 8 /* PROPS */ , [
|
|
91
100
|
"module",
|
|
92
101
|
"type",
|
|
@@ -101,7 +110,9 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
101
110
|
"is-show-operation",
|
|
102
111
|
"updated-at",
|
|
103
112
|
"updated-by",
|
|
104
|
-
"spaces"
|
|
113
|
+
"spaces",
|
|
114
|
+
"default-icon",
|
|
115
|
+
"show-generate-type"
|
|
105
116
|
]);
|
|
106
117
|
};
|
|
107
118
|
}
|
|
@@ -9,8 +9,14 @@ interface IProps {
|
|
|
9
9
|
checked?: boolean;
|
|
10
10
|
isShowOperation?: boolean;
|
|
11
11
|
spaces?: ISpace[];
|
|
12
|
+
defaultIcon?: string;
|
|
13
|
+
showGenerateType?: boolean;
|
|
12
14
|
}
|
|
13
|
-
declare
|
|
15
|
+
declare var __VLS_28: {};
|
|
16
|
+
type __VLS_Slots = {} & {
|
|
17
|
+
'pre-actions'?: (props: typeof __VLS_28) => any;
|
|
18
|
+
};
|
|
19
|
+
declare const __VLS_base: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
14
20
|
choose: (command: IAgentCommand) => any;
|
|
15
21
|
edit: (command: IAgentCommand) => any;
|
|
16
22
|
delete: (command: IAgentCommand) => any;
|
|
@@ -21,5 +27,11 @@ declare const __VLS_export: import("vue").DefineComponent<IProps, {}, {}, {}, {}
|
|
|
21
27
|
onDelete?: (command: IAgentCommand) => any;
|
|
22
28
|
"onEdit-alias"?: (command: IAgentCommand) => any;
|
|
23
29
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
30
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
24
31
|
declare const _default: typeof __VLS_export;
|
|
25
32
|
export default _default;
|
|
33
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
34
|
+
new (): {
|
|
35
|
+
$slots: S;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
@@ -14,12 +14,19 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
14
14
|
spaceName: {},
|
|
15
15
|
apiPrefix: {}
|
|
16
16
|
},
|
|
17
|
-
|
|
17
|
+
emits: [
|
|
18
|
+
"navigate"
|
|
19
|
+
],
|
|
20
|
+
setup (__props, { emit: __emit }) {
|
|
18
21
|
const props = __props;
|
|
22
|
+
const emits = __emit;
|
|
19
23
|
const isShowReferenceDetail = ref(false);
|
|
20
24
|
const handleClickReference = ()=>{
|
|
21
25
|
isShowReferenceDetail.value = true;
|
|
22
26
|
};
|
|
27
|
+
const handleNavigate = (route)=>{
|
|
28
|
+
emits('navigate', route);
|
|
29
|
+
};
|
|
23
30
|
return (_ctx, _cache)=>{
|
|
24
31
|
const _directive_bk_tooltips = _resolveDirective("bk-tooltips");
|
|
25
32
|
var _props_refCount, _props_refCount1;
|
|
@@ -51,7 +58,8 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
51
58
|
id: props.id,
|
|
52
59
|
module: props.module,
|
|
53
60
|
"space-id": props.spaceId,
|
|
54
|
-
"api-prefix": props.apiPrefix
|
|
61
|
+
"api-prefix": props.apiPrefix,
|
|
62
|
+
onNavigate: handleNavigate
|
|
55
63
|
}, null, 8 /* PROPS */ , [
|
|
56
64
|
"is-show",
|
|
57
65
|
"name",
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Module, ResourceCardType } from '@/types/enum';
|
|
2
|
+
import type { ISdkNavigateAction } from '@/types/navigate';
|
|
2
3
|
interface IProps {
|
|
3
4
|
module: Module;
|
|
4
5
|
type: ResourceCardType;
|
|
@@ -9,6 +10,10 @@ interface IProps {
|
|
|
9
10
|
spaceName?: string;
|
|
10
11
|
apiPrefix: string;
|
|
11
12
|
}
|
|
12
|
-
declare const __VLS_export: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}
|
|
13
|
+
declare const __VLS_export: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
14
|
+
navigate: (value: ISdkNavigateAction) => any;
|
|
15
|
+
}, string, import("vue").PublicProps, Readonly<IProps> & Readonly<{
|
|
16
|
+
onNavigate?: (value: ISdkNavigateAction) => any;
|
|
17
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
18
|
declare const _default: typeof __VLS_export;
|
|
14
19
|
export default _default;
|
|
@@ -79,7 +79,11 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
79
79
|
isClickToView: {
|
|
80
80
|
type: Boolean
|
|
81
81
|
},
|
|
82
|
-
spaces: {}
|
|
82
|
+
spaces: {},
|
|
83
|
+
defaultIcon: {},
|
|
84
|
+
showGenerateType: {
|
|
85
|
+
type: Boolean
|
|
86
|
+
}
|
|
83
87
|
},
|
|
84
88
|
emits: [
|
|
85
89
|
"delete",
|
|
@@ -135,10 +139,12 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
135
139
|
_unref(ResourceCardType).Application,
|
|
136
140
|
_unref(ResourceCardType).Market
|
|
137
141
|
].includes(props.type) ? 40 : 32,
|
|
142
|
+
"default-url": props.defaultIcon,
|
|
138
143
|
class: "g-border-radio-100 g-mr-8"
|
|
139
144
|
}, null, 8 /* PROPS */ , [
|
|
140
145
|
"url",
|
|
141
|
-
"size"
|
|
146
|
+
"size",
|
|
147
|
+
"default-url"
|
|
142
148
|
])) : _createCommentVNode("v-if", true)
|
|
143
149
|
], true),
|
|
144
150
|
_createElementVNode("section", _hoisted_4, [
|
|
@@ -155,7 +161,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
155
161
|
![
|
|
156
162
|
_unref(ResourceCardType).Record,
|
|
157
163
|
_unref(ResourceCardType).Market
|
|
158
|
-
].includes(props.type) ? (_openBlock(), _createBlock(RenderGenerateTag, {
|
|
164
|
+
].includes(props.type) && props.showGenerateType ? (_openBlock(), _createBlock(RenderGenerateTag, {
|
|
159
165
|
key: 0,
|
|
160
166
|
"generate-type": props.generateType,
|
|
161
167
|
module: props.module,
|
|
@@ -369,6 +375,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
369
375
|
_cache[2] || (_cache[2] = _createElementVNode("span", {
|
|
370
376
|
class: "g-flex-1"
|
|
371
377
|
}, null, -1 /* CACHED */ )),
|
|
378
|
+
_renderSlot(_ctx.$slots, "pre-actions", {}, undefined, true),
|
|
372
379
|
_renderSlot(_ctx.$slots, "actions", {}, undefined, true)
|
|
373
380
|
])) : _createCommentVNode("v-if", true)
|
|
374
381
|
], 2 /* CLASS */ );
|