@blueking/ai-ui-sdk 0.3.0-beta.29 → 0.3.0-beta.30
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/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/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.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/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/prefix-info-tool.script.vue.js +11 -84
- 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-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/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-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-header/index.vue.css +3 -3
- package/dist/components/render-header/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-like/index.vue.css +5 -5
- package/dist/components/render-like/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-relate-agent/{index.script.vue.js.js → index.script.vue.js} +183 -199
- package/dist/components/render-relate-agent/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-skill/variable-form/index.script.vue.js +136 -0
- package/dist/components/render-skill/variable-form/index.vue.d.ts +14 -0
- package/dist/components/render-skill/variable-form/index.vue.js +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/package.json +1 -1
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
|
|
2
|
-
.agent-type[data-v-
|
|
2
|
+
.agent-type[data-v-di913pb1] {
|
|
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-di913pb1] {
|
|
9
9
|
color: #1768EF;
|
|
10
10
|
background-color: #E1ECFF;
|
|
11
11
|
}
|
|
12
|
-
.agent-type.flow[data-v-
|
|
12
|
+
.agent-type.flow[data-v-di913pb1] {
|
|
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-h927pge9] {
|
|
3
3
|
position: relative;
|
|
4
4
|
}
|
|
5
|
-
.send-container[data-v-
|
|
5
|
+
.send-container[data-v-h927pge9]: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-h927pge9] {
|
|
9
9
|
display: inline-flex !important;
|
|
10
10
|
}
|
|
11
|
-
.send-input[data-v-
|
|
11
|
+
.send-input[data-v-h927pge9] {
|
|
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-h927pge9]:has(textarea:focus) {
|
|
17
17
|
height: var(--text-height);
|
|
18
18
|
}
|
|
19
|
-
.send-input[data-v-
|
|
19
|
+
.send-input[data-v-h927pge9] 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-h927pge9] textarea::-webkit-scrollbar {
|
|
26
26
|
width: 4px;
|
|
27
27
|
height: 4px;
|
|
28
28
|
}
|
|
29
|
-
.send-input[data-v-
|
|
29
|
+
.send-input[data-v-h927pge9] 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-h927pge9] textarea::placeholder {
|
|
35
35
|
line-height: 16px;
|
|
36
36
|
}
|
|
37
|
-
.send-clear[data-v-
|
|
37
|
+
.send-clear[data-v-h927pge9] {
|
|
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-h927pge9]:hover {
|
|
47
47
|
color: #313238;
|
|
48
48
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
.auto-refresh[data-v-
|
|
2
|
+
.auto-refresh[data-v-zquobatf] {
|
|
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-zquobatf]: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-zquobatf]:hover {
|
|
20
20
|
color: #3A84FF;
|
|
21
21
|
background-color: #E1ECFF;
|
|
22
22
|
}
|
|
23
|
-
.refresh[data-v-
|
|
23
|
+
.refresh[data-v-zquobatf] {
|
|
24
24
|
cursor: pointer;
|
|
25
25
|
line-height: 26px;
|
|
26
26
|
padding: 0 4px;
|
|
27
27
|
}
|
|
28
|
-
.refresh[data-v-
|
|
28
|
+
.refresh[data-v-zquobatf]:hover {
|
|
29
29
|
color: #3A84FF;
|
|
30
30
|
background-color: #E1ECFF;
|
|
31
31
|
}
|
|
32
|
-
.textarea-list[data-v-
|
|
32
|
+
.textarea-list[data-v-zquobatf] {
|
|
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-zquobatf] {
|
|
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-zquobatf]:hover {
|
|
44
44
|
background: #E1ECFF;
|
|
45
45
|
color: #3A84FF;
|
|
46
46
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
|
|
2
|
-
.command-number[data-v-
|
|
2
|
+
.command-number[data-v-fm2sf5as] {
|
|
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-fm2sf5as] {
|
|
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-fm2sf5as] {
|
|
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-fm2sf5as] {
|
|
24
24
|
margin: 0 8px 0 68px;
|
|
25
25
|
}
|
|
26
|
-
.command-name-text[data-v-
|
|
26
|
+
.command-name-text[data-v-fm2sf5as] {
|
|
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-fm2sf5as";
|
|
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,53 +1,53 @@
|
|
|
1
1
|
|
|
2
|
-
.resource-card-home[data-v-
|
|
2
|
+
.resource-card-home[data-v-t0gu3cj8] {
|
|
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-t0gu3cj8] {
|
|
6
6
|
margin-right: -4px;
|
|
7
7
|
}
|
|
8
|
-
.resource-card-home.full[data-v-
|
|
8
|
+
.resource-card-home.full[data-v-t0gu3cj8], .resource-card-home.application[data-v-t0gu3cj8], .resource-card-home.market[data-v-t0gu3cj8] {
|
|
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-t0gu3cj8]:hover, .resource-card-home.application[data-v-t0gu3cj8]:hover, .resource-card-home.market[data-v-t0gu3cj8]: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-t0gu3cj8], .resource-card-home.application .resource-card-name[data-v-t0gu3cj8], .resource-card-home.market .resource-card-name[data-v-t0gu3cj8] {
|
|
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-t0gu3cj8], .resource-card-home.application .resource-card-description[data-v-t0gu3cj8], .resource-card-home.market .resource-card-description[data-v-t0gu3cj8] {
|
|
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-t0gu3cj8] {
|
|
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-t0gu3cj8] {
|
|
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-t0gu3cj8] {
|
|
38
38
|
color: #4D4F56;
|
|
39
39
|
height: 20px;
|
|
40
40
|
}
|
|
41
|
-
.resource-card-home.info[data-v-
|
|
41
|
+
.resource-card-home.info[data-v-t0gu3cj8],.resource-card-home.record[data-v-t0gu3cj8] {
|
|
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-t0gu3cj8], .resource-card-home.record .resource-card-name[data-v-t0gu3cj8] {
|
|
47
47
|
font-size: 12px;
|
|
48
48
|
color: #313238;
|
|
49
49
|
}
|
|
50
|
-
.resource-card-actions[data-v-
|
|
50
|
+
.resource-card-actions[data-v-t0gu3cj8] {
|
|
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-inrtn0xn] {
|
|
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-inrtn0xn]: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-inrtn0xn] {
|
|
15
15
|
top: 8px;
|
|
16
16
|
right: 0;
|
|
17
17
|
transform: rotate(45deg);
|
|
@@ -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-mjugiym9], .like-button:hover span[data-v-mjugiym9] {
|
|
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-mjugiym9], .dislike-button:hover span[data-v-mjugiym9], .dislike-button:active .ai-ui-sdk-icon[data-v-mjugiym9], .dislike-button:active span[data-v-mjugiym9] {
|
|
6
6
|
color: #EA3636 !important;
|
|
7
7
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
.tag-item[data-v-
|
|
2
|
+
.tag-item[data-v-u448hrf7] {
|
|
3
3
|
padding: 0 4px;
|
|
4
4
|
}
|
|
5
|
-
.tag-external[data-v-
|
|
5
|
+
.tag-external[data-v-u448hrf7] {
|
|
6
6
|
color: #636a2f;
|
|
7
7
|
background: #EAEFC6;
|
|
8
8
|
}
|
|
9
|
-
.tag-public[data-v-
|
|
9
|
+
.tag-public[data-v-u448hrf7], .tag-private[data-v-u448hrf7] {
|
|
10
10
|
color: #3a84ff;
|
|
11
11
|
background: #e1ecff;
|
|
12
12
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
|
|
2
|
-
.tool-number[data-v-
|
|
2
|
+
.tool-number[data-v-3y25fxjr] {
|
|
3
3
|
background: #E1ECFF;
|
|
4
4
|
border-radius: 2px;
|
|
5
5
|
padding: 0 4px;
|
|
6
6
|
font-size: 10px;
|
|
7
7
|
}
|
|
8
|
-
.tool-number[data-v-
|
|
8
|
+
.tool-number[data-v-3y25fxjr]:hover {
|
|
9
9
|
background: #3A84FF;
|
|
10
10
|
color: #fff;
|
|
11
11
|
}
|
|
@@ -25,12 +25,11 @@ var __awaiter = this && this.__awaiter || function(thisArg, _arguments, P, gener
|
|
|
25
25
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
26
26
|
});
|
|
27
27
|
};
|
|
28
|
-
import { defineComponent as _defineComponent
|
|
28
|
+
import { defineComponent as _defineComponent } from 'vue';
|
|
29
29
|
import { unref as _unref, withModifiers as _withModifiers, normalizeClass as _normalizeClass, resolveDirective as _resolveDirective, createElementVNode as _createElementVNode, withDirectives as _withDirectives, createVNode as _createVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode } from "vue";
|
|
30
|
-
import { Input } from 'tdesign-vue-next';
|
|
31
30
|
import { ref } from 'vue';
|
|
32
31
|
import { isEmpty } from '../../../common/util.ts.js';
|
|
33
|
-
import
|
|
32
|
+
import VariableForm from '../../render-skill/variable-form/index.vue.js';
|
|
34
33
|
export default /*@__PURE__*/ _defineComponent({
|
|
35
34
|
props: {
|
|
36
35
|
skill: {},
|
|
@@ -42,68 +41,9 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
42
41
|
setup (__props, { emit: __emit }) {
|
|
43
42
|
const props = __props;
|
|
44
43
|
const emit = __emit;
|
|
45
|
-
const tableRef = ref();
|
|
46
44
|
const isShow = ref(false);
|
|
47
45
|
const renderEnvs = ref();
|
|
48
|
-
const
|
|
49
|
-
{
|
|
50
|
-
colKey: 'key',
|
|
51
|
-
title: 'Key',
|
|
52
|
-
ellipsis: true,
|
|
53
|
-
className: '!g-bg-FAFBFD'
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
colKey: 'value',
|
|
57
|
-
title: ()=>_createVNode2(_Fragment, null, [
|
|
58
|
-
_createTextVNode("Value"),
|
|
59
|
-
_createVNode2("span", {
|
|
60
|
-
"class": "g-ml-4 g-text-12 g-text-EA3636"
|
|
61
|
-
}, [
|
|
62
|
-
_createTextVNode("*")
|
|
63
|
-
])
|
|
64
|
-
]),
|
|
65
|
-
ellipsis: true,
|
|
66
|
-
edit: {
|
|
67
|
-
component: Input,
|
|
68
|
-
props: {
|
|
69
|
-
clearable: true,
|
|
70
|
-
autofocus: true,
|
|
71
|
-
autoWidth: true,
|
|
72
|
-
placeholder: '请输入 Value'
|
|
73
|
-
},
|
|
74
|
-
validateTrigger: 'change',
|
|
75
|
-
onEdited: (context)=>{
|
|
76
|
-
const newData = [
|
|
77
|
-
...renderEnvs.value
|
|
78
|
-
];
|
|
79
|
-
newData.splice(context.rowIndex, 1, context.newRowData);
|
|
80
|
-
renderEnvs.value = newData;
|
|
81
|
-
},
|
|
82
|
-
rules: ({ row })=>{
|
|
83
|
-
if (row === null || row === void 0 ? void 0 : row.required) {
|
|
84
|
-
return [
|
|
85
|
-
{
|
|
86
|
-
required: true,
|
|
87
|
-
message: `${row.key}值为必填`,
|
|
88
|
-
validator: (val)=>isEmpty(val)
|
|
89
|
-
}
|
|
90
|
-
];
|
|
91
|
-
}
|
|
92
|
-
return [];
|
|
93
|
-
},
|
|
94
|
-
abortEditOnEvent: [
|
|
95
|
-
'onEnter',
|
|
96
|
-
'onBlur'
|
|
97
|
-
]
|
|
98
|
-
}
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
colKey: 'description',
|
|
102
|
-
title: '说明',
|
|
103
|
-
ellipsis: true,
|
|
104
|
-
className: '!g-bg-FAFBFD'
|
|
105
|
-
}
|
|
106
|
-
];
|
|
46
|
+
const formRef = ref();
|
|
107
47
|
const handleShow = ()=>__awaiter(this, void 0, void 0, function*() {
|
|
108
48
|
var _a;
|
|
109
49
|
isShow.value = true;
|
|
@@ -112,15 +52,9 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
112
52
|
const handleCancel = ()=>{
|
|
113
53
|
isShow.value = false;
|
|
114
54
|
};
|
|
115
|
-
const validate = ()=>__awaiter(this, void 0, void 0, function*() {
|
|
116
|
-
var _a;
|
|
117
|
-
const { result } = yield (_a = tableRef.value) === null || _a === void 0 ? void 0 : _a.validate();
|
|
118
|
-
if (!isEmpty(result)) {
|
|
119
|
-
throw new Error('Skill 有必填项未配置');
|
|
120
|
-
}
|
|
121
|
-
});
|
|
122
55
|
const handleConfirm = ()=>__awaiter(this, void 0, void 0, function*() {
|
|
123
|
-
|
|
56
|
+
var _a;
|
|
57
|
+
yield (_a = formRef.value) === null || _a === void 0 ? void 0 : _a.validate();
|
|
124
58
|
handleCancel();
|
|
125
59
|
emit('update:skill', Object.assign(Object.assign({}, props.skill), {
|
|
126
60
|
envs: renderEnvs.value
|
|
@@ -141,20 +75,13 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
141
75
|
onCancel: handleCancel
|
|
142
76
|
}, {
|
|
143
77
|
content: _withCtx(()=>[
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
ref: tableRef,
|
|
150
|
-
"row-key": "key",
|
|
151
|
-
class: "g-mb-12 g-mx-16",
|
|
152
|
-
bordered: true,
|
|
153
|
-
columns: getColumns(),
|
|
154
|
-
"table-data": renderEnvs.value
|
|
78
|
+
_createVNode(VariableForm, {
|
|
79
|
+
"skill-envs": renderEnvs.value,
|
|
80
|
+
"onUpdate:skillEnvs": _cache[0] || (_cache[0] = ($event)=>renderEnvs.value = $event),
|
|
81
|
+
ref_key: "formRef",
|
|
82
|
+
ref: formRef
|
|
155
83
|
}, null, 8 /* PROPS */ , [
|
|
156
|
-
"
|
|
157
|
-
"table-data"
|
|
84
|
+
"skill-envs"
|
|
158
85
|
])
|
|
159
86
|
]),
|
|
160
87
|
default: _withCtx(()=>[
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
|
|
2
|
-
.tag-pass[data-v-
|
|
2
|
+
.tag-pass[data-v-t1szhxlp] {
|
|
3
3
|
color: #299E56;
|
|
4
4
|
background: #DAF6E5;
|
|
5
5
|
}
|
|
6
|
-
.tag-fail[data-v-
|
|
6
|
+
.tag-fail[data-v-t1szhxlp] {
|
|
7
7
|
color: #E71818;
|
|
8
8
|
background: #FFDDDD;
|
|
9
9
|
}
|
|
10
|
-
.tag-error[data-v-
|
|
10
|
+
.tag-error[data-v-t1szhxlp] {
|
|
11
11
|
color: #E38B02;
|
|
12
12
|
background: #FCE5C0;
|
|
13
13
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
.checkbox[data-v-
|
|
2
|
+
.checkbox[data-v-jrbqvoug] {
|
|
3
3
|
position: relative;
|
|
4
4
|
display: inline-block;
|
|
5
5
|
width: 16px;
|
|
@@ -8,27 +8,27 @@
|
|
|
8
8
|
border-radius: 2px;
|
|
9
9
|
cursor: pointer;
|
|
10
10
|
}
|
|
11
|
-
.checkbox.disabled[data-v-
|
|
11
|
+
.checkbox.disabled[data-v-jrbqvoug] {
|
|
12
12
|
cursor: not-allowed;
|
|
13
13
|
background: #fafbfd;
|
|
14
14
|
border-color: #dcdee5;
|
|
15
15
|
}
|
|
16
|
-
.checkbox.disabled.checked[data-v-
|
|
16
|
+
.checkbox.disabled.checked[data-v-jrbqvoug] {
|
|
17
17
|
background-color: #a3c5fd;
|
|
18
18
|
border-color: #a3c5fd;
|
|
19
19
|
}
|
|
20
|
-
.checkbox.disabled.indeterminate[data-v-
|
|
20
|
+
.checkbox.disabled.indeterminate[data-v-jrbqvoug] {
|
|
21
21
|
background-color: #fafbfd;
|
|
22
22
|
border-color: #dcdee5;
|
|
23
23
|
}
|
|
24
|
-
.checkbox.disabled.indeterminate[data-v-
|
|
24
|
+
.checkbox.disabled.indeterminate[data-v-jrbqvoug]:after {
|
|
25
25
|
background: #dcdee5;
|
|
26
26
|
}
|
|
27
|
-
.checkbox.checked[data-v-
|
|
27
|
+
.checkbox.checked[data-v-jrbqvoug] {
|
|
28
28
|
background-color: #3a84ff;
|
|
29
29
|
border: 1px solid #3a84ff;
|
|
30
30
|
}
|
|
31
|
-
.checkbox.checked[data-v-
|
|
31
|
+
.checkbox.checked[data-v-jrbqvoug]:after {
|
|
32
32
|
position: absolute;
|
|
33
33
|
top: 50%;
|
|
34
34
|
left: 50%;
|
|
@@ -41,11 +41,11 @@
|
|
|
41
41
|
transform: translate(-50%, -60%) rotate(45deg);
|
|
42
42
|
transform-origin: center;
|
|
43
43
|
}
|
|
44
|
-
.checkbox.indeterminate[data-v-
|
|
44
|
+
.checkbox.indeterminate[data-v-jrbqvoug] {
|
|
45
45
|
background-color: #3a84ff;
|
|
46
46
|
border: 1px solid #3a84ff;
|
|
47
47
|
}
|
|
48
|
-
.checkbox.indeterminate[data-v-
|
|
48
|
+
.checkbox.indeterminate[data-v-jrbqvoug]:after {
|
|
49
49
|
position: absolute;
|
|
50
50
|
top: 50%;
|
|
51
51
|
left: 50%;
|