@blueking/ai-ui-sdk 0.3.0-beta.32 → 0.3.0-beta.33
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.script.vue.js.js +2 -2
- 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 +0 -3
- package/dist/components/render-card/agent/actions.vue.d.ts +0 -2
- package/dist/components/render-card/agent/index.script.vue.js.js +0 -2
- package/dist/components/render-card/agent/prefix-info-tool.vue.css +5 -5
- package/dist/components/render-card/agent/prefix-info-tool.vue.js +1 -1
- package/dist/components/render-card/base/approval-strategy-popover.script.vue.js.js +15 -4
- 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/actions.script.vue.js.js +0 -3
- package/dist/components/render-card/llm/actions.vue.d.ts +0 -2
- 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 +0 -2
- 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 +4 -4
- package/dist/components/render-card/mcp/actions.vue.d.ts +0 -2
- package/dist/components/render-card/mcp/index.script.vue.js.js +0 -2
- 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/index.script.vue.js.js +0 -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 +1 -4
- package/dist/components/render-card/tool/actions.vue.d.ts +0 -2
- package/dist/components/render-card/tool/index.script.vue.js.js +1 -3
- 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.script.vue.js.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-mcp/install/index.script.vue.js.js +1 -1
- package/dist/components/render-prompt/content/index.vue.css +1 -1
- package/dist/components/render-prompt/content/index.vue.js +1 -1
- package/dist/components/render-reference/index.vue.css +2 -2
- package/dist/components/render-reference/index.vue.js +1 -1
- package/dist/components/render-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-search-select/index.script.vue.js.js +31 -12
- package/dist/components/render-search-select/index.vue.d.ts +2 -0
- 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 +0 -3
- package/dist/components/render-skill/actions/index.vue.d.ts +0 -2
- package/dist/components/render-t-table/index.vue.css +27 -27
- package/dist/components/render-t-table/index.vue.js +1 -1
- package/dist/components/render-tag-tree/index.vue.css +7 -7
- package/dist/components/render-tag-tree/index.vue.js +1 -1
- package/dist/components/render-tags/index.vue.css +6 -6
- package/dist/components/render-tags/index.vue.js +1 -1
- package/dist/components.d.ts +1 -1
- package/dist/components.ts.js +1 -1
- package/dist/http/helper/dataset.ts.js +1 -0
- package/dist/types/dataset.d.ts +4 -0
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
|
|
2
|
-
.choose-resource[data-v-
|
|
2
|
+
.choose-resource[data-v-1t88lufo] {
|
|
3
3
|
padding: 0 16px;
|
|
4
4
|
}
|
|
5
|
-
.choose-resource .resource-cards[data-v-
|
|
5
|
+
.choose-resource .resource-cards[data-v-1t88lufo] {
|
|
6
6
|
max-height: calc(100% - 44px);
|
|
7
7
|
}
|
|
8
|
-
.no-space-height[data-v-
|
|
8
|
+
.no-space-height[data-v-1t88lufo] {
|
|
9
9
|
height: calc(100% - 57px);
|
|
10
10
|
}
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
|
|
2
|
-
.choose-result[data-v-
|
|
2
|
+
.choose-result[data-v-llm2k2ln] {
|
|
3
3
|
height: 100%;
|
|
4
4
|
background: #F5F7FA;
|
|
5
5
|
padding: 16px 24px;
|
|
6
6
|
font-size: 12px;
|
|
7
7
|
}
|
|
8
|
-
.result-title[data-v-
|
|
8
|
+
.result-title[data-v-llm2k2ln] {
|
|
9
9
|
line-height: 28px;
|
|
10
10
|
font-size: 20px;
|
|
11
11
|
color: #313238;
|
|
12
12
|
}
|
|
13
|
-
.result-main[data-v-
|
|
13
|
+
.result-main[data-v-llm2k2ln] {
|
|
14
14
|
margin-top: 12px;
|
|
15
15
|
}
|
|
16
|
-
.result-main .result-head[data-v-
|
|
16
|
+
.result-main .result-head[data-v-llm2k2ln] {
|
|
17
17
|
justify-content: space-between;
|
|
18
18
|
line-height: 32px;
|
|
19
19
|
}
|
|
20
|
-
.result-main .result-head .title-num[data-v-
|
|
20
|
+
.result-main .result-head .title-num[data-v-llm2k2ln] {
|
|
21
21
|
color: #3A84FF;
|
|
22
22
|
font-weight: 700;
|
|
23
23
|
}
|
|
24
|
-
.result-main .result-head .head-clear[data-v-
|
|
24
|
+
.result-main .result-head .head-clear[data-v-llm2k2ln] {
|
|
25
25
|
cursor: pointer;
|
|
26
26
|
color: #3A84FF;
|
|
27
27
|
}
|
|
28
|
-
.result-item[data-v-
|
|
28
|
+
.result-item[data-v-llm2k2ln] {
|
|
29
29
|
line-height: 32px;
|
|
30
30
|
background: #FFFFFF;
|
|
31
31
|
border-radius: 2px;
|
|
@@ -33,27 +33,27 @@
|
|
|
33
33
|
margin-top: 4px;
|
|
34
34
|
padding: 0 8px;
|
|
35
35
|
}
|
|
36
|
-
.result-item:hover .item-close[data-v-
|
|
36
|
+
.result-item:hover .item-close[data-v-llm2k2ln] {
|
|
37
37
|
display: block !important;
|
|
38
38
|
}
|
|
39
|
-
.result-item[data-v-
|
|
39
|
+
.result-item[data-v-llm2k2ln]:hover {
|
|
40
40
|
box-shadow: 0 2px 6px 0 #1919291a;
|
|
41
41
|
}
|
|
42
|
-
.result-item .result-space-name[data-v-
|
|
42
|
+
.result-item .result-space-name[data-v-llm2k2ln] {
|
|
43
43
|
max-width: 40%;
|
|
44
44
|
}
|
|
45
|
-
.result-item .item-close[data-v-
|
|
45
|
+
.result-item .item-close[data-v-llm2k2ln] {
|
|
46
46
|
cursor: pointer;
|
|
47
47
|
font-size: 16px;
|
|
48
48
|
color: #C4C6CC;
|
|
49
49
|
display: none !important;
|
|
50
50
|
}
|
|
51
|
-
.result-item .item-close[data-v-
|
|
51
|
+
.result-item .item-close[data-v-llm2k2ln]:hover {
|
|
52
52
|
color: #979BA5;
|
|
53
53
|
}
|
|
54
|
-
.hover-shadow-strong[data-v-
|
|
54
|
+
.hover-shadow-strong[data-v-llm2k2ln]:hover {
|
|
55
55
|
transition: box-shadow 0.2s;
|
|
56
56
|
}
|
|
57
|
-
.popover-main[data-v-
|
|
57
|
+
.popover-main[data-v-llm2k2ln] {
|
|
58
58
|
padding: 8px 8px 10px;
|
|
59
59
|
}
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
|
|
2
|
-
.choose-space[data-v-
|
|
2
|
+
.choose-space[data-v-sma3a478] {
|
|
3
3
|
padding: 0 18px 0 24px;
|
|
4
4
|
height: 100%;
|
|
5
5
|
font-size: 12px;
|
|
6
6
|
}
|
|
7
|
-
.space-list[data-v-
|
|
7
|
+
.space-list[data-v-sma3a478] {
|
|
8
8
|
margin-top: 12px;
|
|
9
9
|
height: calc(100% - 44px);
|
|
10
10
|
}
|
|
11
|
-
.space-list .space-item[data-v-
|
|
11
|
+
.space-list .space-item[data-v-sma3a478] {
|
|
12
12
|
line-height: 32px;
|
|
13
13
|
padding-left: 8px;
|
|
14
14
|
}
|
|
15
|
-
.space-list .space-item[data-v-
|
|
15
|
+
.space-list .space-item[data-v-sma3a478]:hover {
|
|
16
16
|
background: #f5f7fa;
|
|
17
17
|
}
|
|
18
|
-
.space-list .space-item.space-item-active[data-v-
|
|
18
|
+
.space-list .space-item.space-item-active[data-v-sma3a478] {
|
|
19
19
|
background: #F0F5FF;
|
|
20
20
|
color: #3A84FF;
|
|
21
21
|
}
|
|
22
|
-
.space-list .space-item.space-item-active .space-tool-number[data-v-
|
|
22
|
+
.space-list .space-item.space-item-active .space-tool-number[data-v-sma3a478] {
|
|
23
23
|
background: #A3C5FD;
|
|
24
24
|
color: #FFFFFF;
|
|
25
25
|
}
|
|
26
|
-
.space-list .space-item.space-item-active .bkaidev-guanlikongjian-3[data-v-
|
|
26
|
+
.space-list .space-item.space-item-active .bkaidev-guanlikongjian-3[data-v-sma3a478] {
|
|
27
27
|
color: #3A84FF;
|
|
28
28
|
}
|
|
29
|
-
.space-list .space-item.space-item-active .ai-ui-sdk-icon[data-v-
|
|
29
|
+
.space-list .space-item.space-item-active .ai-ui-sdk-icon[data-v-sma3a478] {
|
|
30
30
|
color: #3A84FF;
|
|
31
31
|
}
|
|
32
|
-
.space-list .space-tool-number[data-v-
|
|
32
|
+
.space-list .space-tool-number[data-v-sma3a478] {
|
|
33
33
|
padding: 0 6px;
|
|
34
34
|
border-radius: 2px;
|
|
35
35
|
background: #F0F1F5;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
|
|
2
|
-
.resource-dialog[data-v-
|
|
2
|
+
.resource-dialog[data-v-dpm8xsbe] .bk-modal-wrapper {
|
|
3
3
|
max-width: 1600px;
|
|
4
4
|
}
|
|
5
|
-
.resource-dialog-main[data-v-
|
|
5
|
+
.resource-dialog-main[data-v-dpm8xsbe] {
|
|
6
6
|
height: 60vh;
|
|
7
7
|
}
|
|
8
|
-
.resource-dialog-choose[data-v-
|
|
8
|
+
.resource-dialog-choose[data-v-dpm8xsbe] {
|
|
9
9
|
width: 75%;
|
|
10
10
|
height: 100%;
|
|
11
11
|
}
|
|
12
|
-
.resource-dialog-title[data-v-
|
|
12
|
+
.resource-dialog-title[data-v-dpm8xsbe] {
|
|
13
13
|
font-size: 20px;
|
|
14
14
|
line-height: 28px;
|
|
15
15
|
color: #313238;
|
|
16
16
|
padding: 15px 24px 14px;
|
|
17
17
|
}
|
|
18
|
-
.resource-dialog-layout[data-v-
|
|
18
|
+
.resource-dialog-layout[data-v-dpm8xsbe] {
|
|
19
19
|
height: calc(100% - 57px);
|
|
20
20
|
}
|
|
21
|
-
.resource-dialog-result[data-v-
|
|
21
|
+
.resource-dialog-result[data-v-dpm8xsbe] {
|
|
22
22
|
width: 25%;
|
|
23
23
|
height: 100%;
|
|
24
24
|
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
|
|
2
|
-
.upload-file-home[data-v-
|
|
2
|
+
.upload-file-home[data-v-0lin7ocn] {
|
|
3
3
|
position: relative;
|
|
4
4
|
background: #FFFFFF;
|
|
5
5
|
border: 1px solid #DCDEE5;
|
|
6
6
|
border-radius: 4px;
|
|
7
7
|
padding: 12px 12px 10px 12px;
|
|
8
8
|
}
|
|
9
|
-
.upload-file-home[data-v-
|
|
9
|
+
.upload-file-home[data-v-0lin7ocn]:hover {
|
|
10
10
|
border: 1px solid #3A84FF;
|
|
11
11
|
}
|
|
12
|
-
.upload-file-home:hover .file-icons[data-v-
|
|
12
|
+
.upload-file-home:hover .file-icons[data-v-0lin7ocn] {
|
|
13
13
|
display: flex;
|
|
14
14
|
}
|
|
15
|
-
.upload-file-home .file-icon[data-v-
|
|
15
|
+
.upload-file-home .file-icon[data-v-0lin7ocn] {
|
|
16
16
|
font-size: 32px;
|
|
17
17
|
}
|
|
18
|
-
.upload-file-home .file-content[data-v-
|
|
18
|
+
.upload-file-home .file-content[data-v-0lin7ocn] {
|
|
19
19
|
font-size: 12px;
|
|
20
20
|
flex: 1;
|
|
21
21
|
align-items: flex-start;
|
|
@@ -23,28 +23,28 @@
|
|
|
23
23
|
font-weight: normal;
|
|
24
24
|
width: 0;
|
|
25
25
|
}
|
|
26
|
-
.upload-file-home .file-content .file-name[data-v-
|
|
26
|
+
.upload-file-home .file-content .file-name[data-v-0lin7ocn] {
|
|
27
27
|
width: 100%;
|
|
28
28
|
font-size: 14px;
|
|
29
29
|
line-height: 20px;
|
|
30
30
|
}
|
|
31
|
-
.upload-file-home .file-content .file-size[data-v-
|
|
31
|
+
.upload-file-home .file-content .file-size[data-v-0lin7ocn] {
|
|
32
32
|
font-size: 12px;
|
|
33
33
|
color: #979BA5;
|
|
34
34
|
line-height: 20px;
|
|
35
35
|
}
|
|
36
|
-
.upload-file-home .file-icons[data-v-
|
|
36
|
+
.upload-file-home .file-icons[data-v-0lin7ocn] {
|
|
37
37
|
display: none;
|
|
38
38
|
color: #979BA5;
|
|
39
39
|
}
|
|
40
|
-
.upload-file-home .file-icons .ai-ui-sdk-icon[data-v-
|
|
40
|
+
.upload-file-home .file-icons .ai-ui-sdk-icon[data-v-0lin7ocn] {
|
|
41
41
|
cursor: pointer;
|
|
42
42
|
margin-right: 15px;
|
|
43
43
|
font-size: 16px;
|
|
44
44
|
}
|
|
45
|
-
.upload-file-home .file-icons .ai-ui-sdk-icon[data-v-
|
|
45
|
+
.upload-file-home .file-icons .ai-ui-sdk-icon[data-v-0lin7ocn]:hover {
|
|
46
46
|
color: #3A84FF;
|
|
47
47
|
}
|
|
48
|
-
.upload-file-home .file-icons .ai-ui-sdk-delete[data-v-
|
|
48
|
+
.upload-file-home .file-icons .ai-ui-sdk-delete[data-v-0lin7ocn] {
|
|
49
49
|
margin: 0;
|
|
50
50
|
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
|
|
2
|
-
.ai-ui-sdk-icon.ai-ui-sdk-pdf[data-v-
|
|
2
|
+
.ai-ui-sdk-icon.ai-ui-sdk-pdf[data-v-74phkvko] {
|
|
3
3
|
color: #EA3636;
|
|
4
4
|
}
|
|
5
|
-
.ai-ui-sdk-icon.ai-ui-sdk-doc-2[data-v-
|
|
5
|
+
.ai-ui-sdk-icon.ai-ui-sdk-doc-2[data-v-74phkvko], .ai-ui-sdk-icon.ai-ui-sdk-ppt-2[data-v-74phkvko], .ai-ui-sdk-icon.ai-ui-sdk-markdown[data-v-74phkvko] {
|
|
6
6
|
color: #3A84FF;
|
|
7
7
|
}
|
|
8
|
-
.ai-ui-sdk-icon.ai-ui-sdk-folder-fill[data-v-
|
|
8
|
+
.ai-ui-sdk-icon.ai-ui-sdk-folder-fill[data-v-74phkvko] {
|
|
9
9
|
color: #C4C6CC;
|
|
10
10
|
}
|
|
11
|
-
.ai-ui-sdk-icon.ai-ui-sdk-archive-line[data-v-
|
|
11
|
+
.ai-ui-sdk-icon.ai-ui-sdk-archive-line[data-v-74phkvko] {
|
|
12
12
|
color: #979BA5;
|
|
13
13
|
}
|
|
14
|
-
.ai-ui-sdk-icon.ai-ui-sdk-excel[data-v-
|
|
14
|
+
.ai-ui-sdk-icon.ai-ui-sdk-excel[data-v-74phkvko] {
|
|
15
15
|
color: #2DCB56;
|
|
16
16
|
}
|
|
17
|
-
.ai-ui-sdk-icon.ai-ui-sdk-wangye[data-v-
|
|
17
|
+
.ai-ui-sdk-icon.ai-ui-sdk-wangye[data-v-74phkvko] {
|
|
18
18
|
color: #14A568;
|
|
19
19
|
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
|
|
2
|
-
.generate-type-tag[data-v-
|
|
2
|
+
.generate-type-tag[data-v-wi84xsqg] {
|
|
3
3
|
border-radius: 2px;
|
|
4
4
|
text-align: left;
|
|
5
5
|
white-space: nowrap;
|
|
6
6
|
}
|
|
7
|
-
.generate-type-tag.public[data-v-
|
|
7
|
+
.generate-type-tag.public[data-v-wi84xsqg] {
|
|
8
8
|
color: #2CAF5E;
|
|
9
9
|
background-color: #DAF6E5;
|
|
10
10
|
}
|
|
11
|
-
.generate-type-tag.public[data-v-
|
|
11
|
+
.generate-type-tag.public[data-v-wi84xsqg]:hover {
|
|
12
12
|
color: #299E56;
|
|
13
13
|
background-color: #CBF0DA;
|
|
14
14
|
}
|
|
15
|
-
.generate-type-tag.space[data-v-
|
|
15
|
+
.generate-type-tag.space[data-v-wi84xsqg] {
|
|
16
16
|
color: #45A0A5;
|
|
17
17
|
background-color: #D8F4F5;
|
|
18
18
|
}
|
|
19
|
-
.generate-type-tag.space[data-v-
|
|
19
|
+
.generate-type-tag.space[data-v-wi84xsqg]:hover {
|
|
20
20
|
color: #388A8E;
|
|
21
21
|
background-color: #B6E7E9;
|
|
22
22
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
|
|
2
|
-
.header-home[data-v-
|
|
2
|
+
.header-home[data-v-3xk2i1qj] {
|
|
3
3
|
width: 100%;
|
|
4
4
|
background: #FFFFFF;
|
|
5
5
|
box-shadow: 0 3px 4px 0 #0000000a;
|
|
6
6
|
}
|
|
7
|
-
.render-tab[data-v-
|
|
7
|
+
.render-tab[data-v-3xk2i1qj] {
|
|
8
8
|
border-bottom: 2px solid transparent;
|
|
9
9
|
}
|
|
10
|
-
.render-tab.active[data-v-
|
|
10
|
+
.render-tab.active[data-v-3xk2i1qj] {
|
|
11
11
|
color: #3A84FF;
|
|
12
12
|
border-bottom: 2px solid #3A84FF;
|
|
13
13
|
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
|
|
2
|
-
.dislike-icon[data-v-
|
|
2
|
+
.dislike-icon[data-v-r8x00poe] {
|
|
3
3
|
transform: rotateX(180deg);
|
|
4
4
|
}
|
|
5
|
-
.option-items[data-v-
|
|
5
|
+
.option-items[data-v-r8x00poe] {
|
|
6
6
|
padding: 1px 8px;
|
|
7
7
|
background-color: #F0F1F5;
|
|
8
8
|
line-height: 22px;
|
|
9
9
|
border-radius: 2px;
|
|
10
10
|
}
|
|
11
|
-
.option-items[data-v-
|
|
11
|
+
.option-items[data-v-r8x00poe]:hover {
|
|
12
12
|
background-color: #E1ECFF;
|
|
13
13
|
color: #3A84FF;
|
|
14
14
|
}
|
|
15
|
-
.option-items-selected[data-v-
|
|
15
|
+
.option-items-selected[data-v-r8x00poe]{
|
|
16
16
|
background-color: #E1ECFF;
|
|
17
17
|
}
|
|
18
|
-
[data-v-
|
|
18
|
+
[data-v-r8x00poe] .bk-form-item {
|
|
19
19
|
margin-bottom: 17px;
|
|
20
20
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
|
|
2
|
-
.resource-version[data-v-
|
|
2
|
+
.resource-version[data-v-1euwt4yd] {
|
|
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-1euwt4yd] {
|
|
10
10
|
color: #3A84FF;
|
|
11
11
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
.router-tab[data-v-
|
|
2
|
+
.router-tab[data-v-gjxaq8bt] {
|
|
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-gjxaq8bt] {
|
|
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-gjxaq8bt] {
|
|
19
19
|
color: #3A84FF;
|
|
20
20
|
border-bottom: 2px solid #3A84FF;
|
|
21
21
|
}
|
|
@@ -56,6 +56,7 @@ const _hoisted_1 = {
|
|
|
56
56
|
class: "g-flex-row"
|
|
57
57
|
};
|
|
58
58
|
import { computed, onBeforeMount, ref, toRef } from 'vue';
|
|
59
|
+
import { isEmpty } from '../../common/util.ts.js';
|
|
59
60
|
import { useCommonHttp } from '../../hooks/use-common-http.ts.js';
|
|
60
61
|
import { GroupType, Module } from '../../types/enum.ts.js';
|
|
61
62
|
export default /*@__PURE__*/ _defineComponent({
|
|
@@ -63,18 +64,21 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
63
64
|
data: {},
|
|
64
65
|
modelValue: {},
|
|
65
66
|
placeholder: {},
|
|
66
|
-
validateValues: {
|
|
67
|
-
|
|
68
|
-
},
|
|
69
|
-
getMenuList: {
|
|
70
|
-
type: Function
|
|
71
|
-
},
|
|
67
|
+
validateValues: {},
|
|
68
|
+
getMenuList: {},
|
|
72
69
|
isShowTagSearch: {
|
|
73
70
|
type: Boolean
|
|
74
71
|
},
|
|
75
72
|
apiPrefix: {},
|
|
76
73
|
spaceId: {},
|
|
77
|
-
module: {}
|
|
74
|
+
module: {},
|
|
75
|
+
fuzzyKey: {
|
|
76
|
+
default: 'fuzzy'
|
|
77
|
+
},
|
|
78
|
+
isFuzzyEnabled: {
|
|
79
|
+
type: Boolean,
|
|
80
|
+
default: true
|
|
81
|
+
}
|
|
78
82
|
},
|
|
79
83
|
emits: [
|
|
80
84
|
"update:modelValue"
|
|
@@ -122,7 +126,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
122
126
|
}))
|
|
123
127
|
});
|
|
124
128
|
}
|
|
125
|
-
} else if (item) {
|
|
129
|
+
} else if (!isEmpty(item)) {
|
|
126
130
|
var _item_children1;
|
|
127
131
|
const chidItem = item === null || item === void 0 ? void 0 : (_item_children1 = item.children) === null || _item_children1 === void 0 ? void 0 : _item_children1.find((childItem)=>childItem.id === value);
|
|
128
132
|
acc.push({
|
|
@@ -135,9 +139,18 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
135
139
|
}
|
|
136
140
|
]
|
|
137
141
|
});
|
|
142
|
+
} else if (isEmpty(item) && props.isFuzzyEnabled) {
|
|
143
|
+
acc.push({
|
|
144
|
+
id: value,
|
|
145
|
+
name: value,
|
|
146
|
+
type: 'text'
|
|
147
|
+
});
|
|
138
148
|
}
|
|
139
149
|
return acc;
|
|
140
150
|
}, []));
|
|
151
|
+
const getBehaviorValue = ()=>{
|
|
152
|
+
return props.isFuzzyEnabled ? 'all' : 'need-key';
|
|
153
|
+
};
|
|
141
154
|
const getTagIds = ()=>{
|
|
142
155
|
const tagId = props.modelValue.tagId;
|
|
143
156
|
if (tagId) {
|
|
@@ -171,8 +184,9 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
171
184
|
const handleUpdateSearchSelectValue = (values)=>{
|
|
172
185
|
// 不在模型中的数据,直接保留
|
|
173
186
|
const keepModelValue = Object.keys(props.modelValue).reduce((acc, cur)=>{
|
|
174
|
-
const
|
|
175
|
-
|
|
187
|
+
const isNotInData = isEmpty(props.data.find((item)=>item.id === cur || (item === null || item === void 0 ? void 0 : item.multipleKey) === cur));
|
|
188
|
+
const isNotFuzzy = !props.isFuzzyEnabled || cur !== props.fuzzyKey;
|
|
189
|
+
if (isNotInData && isNotFuzzy) {
|
|
176
190
|
acc[cur] = props.modelValue[cur];
|
|
177
191
|
}
|
|
178
192
|
return acc;
|
|
@@ -182,7 +196,11 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
182
196
|
const item = props.data.find((item)=>item.id === cur.id || (item === null || item === void 0 ? void 0 : item.multipleKey) === cur.id);
|
|
183
197
|
let filedValue = undefined;
|
|
184
198
|
let fieldKey = cur.id;
|
|
185
|
-
if (item
|
|
199
|
+
if (isEmpty(item) && props.isFuzzyEnabled) {
|
|
200
|
+
// 模糊搜索
|
|
201
|
+
fieldKey = props.fuzzyKey;
|
|
202
|
+
filedValue = cur.name;
|
|
203
|
+
} else if (item === null || item === void 0 ? void 0 : item.multiple) {
|
|
186
204
|
if (item.children && Array.isArray(item.children)) {
|
|
187
205
|
// 多选
|
|
188
206
|
filedValue = cur.values.map((value)=>hackValue(value.id, item.valueType));
|
|
@@ -256,8 +274,8 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
256
274
|
return _openBlock(), _createElementBlock("section", _hoisted_1, [
|
|
257
275
|
_createVNode(_component_bk_search_select, {
|
|
258
276
|
"unique-select": "",
|
|
259
|
-
"value-behavior": "need-key",
|
|
260
277
|
class: "g-flex-1",
|
|
278
|
+
"value-behavior": getBehaviorValue(),
|
|
261
279
|
"model-value": renderSearchSelectValue.value,
|
|
262
280
|
data: __props.data,
|
|
263
281
|
placeholder: __props.placeholder,
|
|
@@ -265,6 +283,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
265
283
|
"get-menu-list": __props.getMenuList,
|
|
266
284
|
"onUpdate:modelValue": handleUpdateSearchSelectValue
|
|
267
285
|
}, null, 8 /* PROPS */ , [
|
|
286
|
+
"value-behavior",
|
|
268
287
|
"model-value",
|
|
269
288
|
"data",
|
|
270
289
|
"placeholder",
|