@blueking/ai-ui-sdk 0.4.3-beta.11 → 0.4.3-beta.14
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/actions.script.vue.js.js +7 -5
- package/dist/components/render-card/llm/actions.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/index.script.vue.js.js +1 -1
- package/dist/components/render-card/llm/info.vue.css +1 -1
- package/dist/components/render-card/llm/info.vue.js +1 -1
- package/dist/components/render-card/llm/tag-prefix.vue.css +2 -2
- package/dist/components/render-card/llm/tag-prefix.vue.js +1 -1
- package/dist/components/render-card/mcp/name-suffix.vue.css +2 -2
- package/dist/components/render-card/mcp/name-suffix.vue.js +1 -1
- package/dist/components/render-card/prompt/icons.vue.css +1 -1
- package/dist/components/render-card/prompt/icons.vue.js +1 -1
- package/dist/components/render-card/prompt/index.script.vue.js.js +6 -1
- package/dist/components/render-card/prompt/index.vue.d.ts +1 -0
- package/dist/components/render-card/role/index.script.vue.js.js +6 -1
- package/dist/components/render-card/role/index.vue.d.ts +1 -0
- package/dist/components/render-card/skill/scanner.vue.css +3 -3
- package/dist/components/render-card/skill/scanner.vue.js +1 -1
- package/dist/components/render-card/tool/index.script.vue.js.js +6 -1
- package/dist/components/render-card/tool/index.vue.d.ts +1 -0
- package/dist/components/render-checkbox/index.vue.css +9 -9
- package/dist/components/render-checkbox/index.vue.js +1 -1
- package/dist/components/render-choose-tag/index.vue.css +7 -7
- package/dist/components/render-choose-tag/index.vue.js +1 -1
- package/dist/components/render-collapse/index.vue.css +2 -2
- package/dist/components/render-collapse/index.vue.js +1 -1
- package/dist/components/render-collection/content/index.vue.css +4 -4
- package/dist/components/render-collection/content/index.vue.js +1 -1
- package/dist/components/render-dataset/components/batch-delete-dataset-data/index.vue.css +3 -3
- package/dist/components/render-dataset/components/batch-delete-dataset-data/index.vue.js +1 -1
- package/dist/components/render-dataset/components/dataset-data-tool-icons/index.script.vue.js +1 -1
- package/dist/components/render-dataset/components/edit-dataset-data/index.vue.css +3 -3
- package/dist/components/render-dataset/components/edit-dataset-data/index.vue.js +1 -1
- package/dist/components/render-dataset/components/operation-record/index.vue.css +4 -4
- package/dist/components/render-dataset/components/operation-record/index.vue.js +1 -1
- package/dist/components/render-dataset/components/operation-record/table/index.vue.css +1 -1
- package/dist/components/render-dataset/components/operation-record/table/index.vue.js +1 -1
- package/dist/components/render-dataset/components/operation-record/view-op-result/index.vue.css +2 -2
- package/dist/components/render-dataset/components/operation-record/view-op-result/index.vue.js +1 -1
- package/dist/components/render-dataset/components/plus-dataset/index.vue.css +1 -1
- package/dist/components/render-dataset/components/plus-dataset/index.vue.js +1 -1
- package/dist/components/render-dataset/components/plus-dataset-data/form/api.vue.css +2 -2
- package/dist/components/render-dataset/components/plus-dataset-data/form/api.vue.js +1 -1
- package/dist/components/render-dataset/components/plus-dataset-data/form/footer.vue.css +1 -1
- package/dist/components/render-dataset/components/plus-dataset-data/form/footer.vue.js +1 -1
- package/dist/components/render-dataset/components/plus-dataset-data/form/index.vue.css +1 -1
- package/dist/components/render-dataset/components/plus-dataset-data/form/index.vue.js +1 -1
- package/dist/components/render-dataset/components/review-dataset-data/index.vue.css +10 -10
- package/dist/components/render-dataset/components/review-dataset-data/index.vue.js +1 -1
- package/dist/components/render-dataset-detail-origin-data/index.vue.css +3 -3
- package/dist/components/render-dataset-detail-origin-data/index.vue.js +1 -1
- package/dist/components/render-dataset-list/components/main.vue.css +3 -3
- package/dist/components/render-dataset-list/components/main.vue.js +1 -1
- package/dist/components/render-dataset-list/index.vue.css +2 -2
- package/dist/components/render-dataset-list/index.vue.js +1 -1
- package/dist/components/render-dialog/choose-resource.vue.css +3 -3
- package/dist/components/render-dialog/choose-resource.vue.js +1 -1
- package/dist/components/render-dialog/choose-result.vue.css +14 -14
- package/dist/components/render-dialog/choose-result.vue.js +1 -1
- package/dist/components/render-dialog/choose-space.script.vue.js.js +10 -10
- package/dist/components/render-dialog/choose-space.vue.css +10 -10
- package/dist/components/render-dialog/choose-space.vue.js +1 -1
- package/dist/components/render-dialog/index.vue.css +6 -6
- package/dist/components/render-dialog/index.vue.js +1 -1
- package/dist/components/render-file-card/index.vue.css +11 -11
- package/dist/components/render-file-card/index.vue.js +1 -1
- package/dist/components/render-file-type-icon/index.vue.css +6 -6
- package/dist/components/render-file-type-icon/index.vue.js +1 -1
- package/dist/components/render-generate-tag/index.vue.css +5 -5
- package/dist/components/render-generate-tag/index.vue.js +1 -1
- package/dist/components/render-knowledge/icon/index.vue.css +1 -1
- package/dist/components/render-knowledge/icon/index.vue.js +1 -1
- package/dist/components/render-prompt/content/index.vue.css +1 -1
- package/dist/components/render-prompt/content/index.vue.js +1 -1
- package/dist/components/render-reference/index.vue.css +2 -2
- package/dist/components/render-reference/index.vue.js +1 -1
- package/dist/components/render-resource-version/index.vue.css +2 -2
- package/dist/components/render-resource-version/index.vue.js +1 -1
- package/dist/components/render-router-tab/index.vue.css +3 -3
- package/dist/components/render-router-tab/index.vue.js +1 -1
- package/dist/components/render-select-plus-extension/index.vue.css +3 -3
- package/dist/components/render-select-plus-extension/index.vue.js +1 -1
- package/dist/components/render-t-table/index.script.vue.js +24 -7
- 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/http/helper/collection.ts.js +1 -0
- package/dist/http/helper/mcp.ts.js +2 -0
- package/dist/http/helper/prompt.ts.js +1 -0
- package/dist/http/helper/tool.ts.js +2 -0
- package/dist/types/collection.d.ts +2 -0
- package/dist/types/mcp.d.ts +2 -0
- package/dist/types/prompt.d.ts +2 -0
- package/dist/types/tool.d.ts +2 -0
- package/package.json +1 -1
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
|
|
2
|
-
.choose-space[data-v-
|
|
2
|
+
.choose-space[data-v-l87jsngs] {
|
|
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-l87jsngs] {
|
|
8
8
|
margin-top: 12px;
|
|
9
|
-
height: calc(100% -
|
|
9
|
+
height: calc(100% - 88px);
|
|
10
10
|
}
|
|
11
|
-
.space-list .space-item[data-v-
|
|
11
|
+
.space-list .space-item[data-v-l87jsngs] {
|
|
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-l87jsngs]: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-l87jsngs] {
|
|
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-l87jsngs] {
|
|
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-l87jsngs] {
|
|
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-l87jsngs] {
|
|
30
30
|
color: #3A84FF;
|
|
31
31
|
}
|
|
32
|
-
.space-list .space-tool-number[data-v-
|
|
32
|
+
.space-list .space-tool-number[data-v-l87jsngs] {
|
|
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-e93wwif7] .bk-modal-wrapper {
|
|
3
3
|
max-width: 1600px;
|
|
4
4
|
}
|
|
5
|
-
.resource-dialog-main[data-v-
|
|
5
|
+
.resource-dialog-main[data-v-e93wwif7] {
|
|
6
6
|
height: 60vh;
|
|
7
7
|
}
|
|
8
|
-
.resource-dialog-choose[data-v-
|
|
8
|
+
.resource-dialog-choose[data-v-e93wwif7] {
|
|
9
9
|
width: 75%;
|
|
10
10
|
height: 100%;
|
|
11
11
|
}
|
|
12
|
-
.resource-dialog-title[data-v-
|
|
12
|
+
.resource-dialog-title[data-v-e93wwif7] {
|
|
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-e93wwif7] {
|
|
19
19
|
height: calc(100% - 57px);
|
|
20
20
|
}
|
|
21
|
-
.resource-dialog-result[data-v-
|
|
21
|
+
.resource-dialog-result[data-v-e93wwif7] {
|
|
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-ok1k1486] {
|
|
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-ok1k1486]: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-ok1k1486] {
|
|
13
13
|
display: flex;
|
|
14
14
|
}
|
|
15
|
-
.upload-file-home .file-icon[data-v-
|
|
15
|
+
.upload-file-home .file-icon[data-v-ok1k1486] {
|
|
16
16
|
font-size: 32px;
|
|
17
17
|
}
|
|
18
|
-
.upload-file-home .file-content[data-v-
|
|
18
|
+
.upload-file-home .file-content[data-v-ok1k1486] {
|
|
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-ok1k1486] {
|
|
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-ok1k1486] {
|
|
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-ok1k1486] {
|
|
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-ok1k1486] {
|
|
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-ok1k1486]: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-ok1k1486] {
|
|
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-z8xg45kn] {
|
|
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-z8xg45kn], .ai-ui-sdk-icon.ai-ui-sdk-ppt-2[data-v-z8xg45kn], .ai-ui-sdk-icon.ai-ui-sdk-markdown[data-v-z8xg45kn] {
|
|
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-z8xg45kn] {
|
|
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-z8xg45kn] {
|
|
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-z8xg45kn] {
|
|
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-z8xg45kn] {
|
|
18
18
|
color: #14A568;
|
|
19
19
|
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
|
|
2
|
-
.generate-type-tag[data-v-
|
|
2
|
+
.generate-type-tag[data-v-8bwk12vs] {
|
|
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-8bwk12vs] {
|
|
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-8bwk12vs]: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-8bwk12vs] {
|
|
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-8bwk12vs]:hover {
|
|
20
20
|
color: #388A8E;
|
|
21
21
|
background-color: #B6E7E9;
|
|
22
22
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
|
|
2
|
-
.resource-version[data-v-
|
|
2
|
+
.resource-version[data-v-c6qr20ax] {
|
|
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-c6qr20ax] {
|
|
10
10
|
color: #3A84FF;
|
|
11
11
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
.router-tab[data-v-
|
|
2
|
+
.router-tab[data-v-3t7acpra] {
|
|
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-3t7acpra] {
|
|
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-3t7acpra] {
|
|
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-kpbp5uqg] {
|
|
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-kpbp5uqg] {
|
|
12
12
|
font-size: 14px;
|
|
13
13
|
margin-right: 6px;
|
|
14
14
|
}
|
|
15
|
-
.select-plus-extension[data-v-
|
|
15
|
+
.select-plus-extension[data-v-kpbp5uqg]:hover {
|
|
16
16
|
color: #3A84FF;
|
|
17
17
|
}
|
|
@@ -1,13 +1,23 @@
|
|
|
1
|
+
var __rest = this && this.__rest || function(s, e) {
|
|
2
|
+
var t = {};
|
|
3
|
+
for(var p in s)if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
4
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function") for(var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++){
|
|
5
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
6
|
+
}
|
|
7
|
+
return t;
|
|
8
|
+
};
|
|
1
9
|
import { defineComponent as _defineComponent, Fragment as _Fragment, createVNode as _createVNode2, createTextVNode as _createTextVNode2 } from 'vue';
|
|
2
10
|
import { createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, createElementVNode as _createElementVNode, renderSlot as _renderSlot, unref as _unref, mergeProps as _mergeProps, normalizeClass as _normalizeClass, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, normalizeStyle as _normalizeStyle, createElementBlock as _createElementBlock } from "vue";
|
|
3
11
|
const _hoisted_1 = {
|
|
4
12
|
class: "t-table-row-height"
|
|
5
13
|
};
|
|
6
14
|
import { Funnel } from 'bkui-vue/lib/icon';
|
|
7
|
-
import { ref, watch } from 'vue';
|
|
15
|
+
import { ref, useAttrs, watch } from 'vue';
|
|
8
16
|
import RenderSearchEmpty from '../render-search-empty/index.vue.js';
|
|
9
17
|
import { isEmpty, isObject } from '../../util.ts.js';
|
|
10
|
-
export default /*@__PURE__*/ _defineComponent({
|
|
18
|
+
export default /*@__PURE__*/ _defineComponent(Object.assign({
|
|
19
|
+
inheritAttrs: false
|
|
20
|
+
}, {
|
|
11
21
|
props: {
|
|
12
22
|
columns: {},
|
|
13
23
|
isLoading: {
|
|
@@ -44,8 +54,15 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
44
54
|
setup (__props, { emit: __emit }) {
|
|
45
55
|
const props = __props;
|
|
46
56
|
const emits = __emit;
|
|
57
|
+
const attrs = useAttrs();
|
|
47
58
|
const rowHeight = ref();
|
|
48
59
|
const columnControllerVisible = ref(false);
|
|
60
|
+
const getTableAttrs = ()=>{
|
|
61
|
+
const _a = attrs, { class: _class } = _a, rest = __rest(_a, [
|
|
62
|
+
"class"
|
|
63
|
+
]);
|
|
64
|
+
return rest;
|
|
65
|
+
};
|
|
49
66
|
const getMaxHeight = ()=>{
|
|
50
67
|
return props.pagination ? 'calc(100% - 48px)' : '100%';
|
|
51
68
|
};
|
|
@@ -206,11 +223,12 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
206
223
|
const _component_t_enhanced_table = _resolveComponent("t-enhanced-table");
|
|
207
224
|
const _component_bk_pagination = _resolveComponent("bk-pagination");
|
|
208
225
|
return _openBlock(), _createElementBlock("section", {
|
|
226
|
+
class: _normalizeClass(_ctx.$attrs.class),
|
|
209
227
|
style: _normalizeStyle({
|
|
210
228
|
height: __props.height
|
|
211
229
|
})
|
|
212
230
|
}, [
|
|
213
|
-
_createVNode(_component_t_enhanced_table, _mergeProps(
|
|
231
|
+
_createVNode(_component_t_enhanced_table, _mergeProps(getTableAttrs(), {
|
|
214
232
|
"column-controller-visible": columnControllerVisible.value,
|
|
215
233
|
"onUpdate:columnControllerVisible": _cache[1] || (_cache[1] = ($event)=>columnControllerVisible.value = $event),
|
|
216
234
|
"filter-value": {},
|
|
@@ -219,13 +237,13 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
219
237
|
"row-key": __props.rowKey,
|
|
220
238
|
"header-affixed-top": !!((_a = __props.tableData) === null || _a === void 0 ? void 0 : _a.length),
|
|
221
239
|
"display-columns": displayColumns.value,
|
|
222
|
-
class: `t-t-table ${_ctx.$attrs.class}`,
|
|
223
240
|
data: __props.tableData,
|
|
224
241
|
"column-controller": getColumnControllerConfig(),
|
|
225
242
|
columns: getSettingColumns(),
|
|
226
243
|
"row-class-name": getRowClassName,
|
|
227
244
|
"expand-icon": false,
|
|
228
245
|
resizable: true,
|
|
246
|
+
class: "t-t-table",
|
|
229
247
|
"cell-empty-content": "--",
|
|
230
248
|
onSortChange: handleSortChange,
|
|
231
249
|
onFilterChange: handleFilterChange,
|
|
@@ -319,7 +337,6 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
319
337
|
"row-key",
|
|
320
338
|
"header-affixed-top",
|
|
321
339
|
"display-columns",
|
|
322
|
-
"class",
|
|
323
340
|
"data",
|
|
324
341
|
"column-controller",
|
|
325
342
|
"columns"
|
|
@@ -345,7 +362,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
345
362
|
"limit",
|
|
346
363
|
"layout"
|
|
347
364
|
])) : _createCommentVNode("v-if", true)
|
|
348
|
-
],
|
|
365
|
+
], 6 /* CLASS, STYLE */ );
|
|
349
366
|
};
|
|
350
367
|
}
|
|
351
|
-
});
|
|
368
|
+
}));
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
.t-t-pagination[data-v-
|
|
2
|
+
.t-t-pagination[data-v-gvajxqyu] {
|
|
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-gvajxqyu] .bk-pagination-list.is-last {
|
|
7
7
|
margin-left: auto;
|
|
8
8
|
}
|
|
9
|
-
.pagination-loading[data-v-
|
|
9
|
+
.pagination-loading[data-v-gvajxqyu]::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-gvajxqyu] {
|
|
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-gvajxqyu] {
|
|
26
26
|
display: inline;
|
|
27
27
|
font-size: 12px;
|
|
28
28
|
}
|
|
29
|
-
.t-t-table[data-v-
|
|
29
|
+
.t-t-table[data-v-gvajxqyu] .t-table__th-cell-inner {
|
|
30
30
|
color: #313238;
|
|
31
31
|
}
|
|
32
|
-
.t-t-table[data-v-
|
|
32
|
+
.t-t-table[data-v-gvajxqyu] 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-gvajxqyu] .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-gvajxqyu] .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-gvajxqyu] .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-gvajxqyu] .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-gvajxqyu] .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-gvajxqyu] th .t-table__ellipsis {
|
|
56
56
|
width: auto !important;
|
|
57
57
|
}
|
|
58
|
-
.t-t-table[data-v-
|
|
58
|
+
.t-t-table[data-v-gvajxqyu] .t-loading__gradient.t-icon-loading {
|
|
59
59
|
display: none;
|
|
60
60
|
}
|
|
61
|
-
.t-t-table[data-v-
|
|
61
|
+
.t-t-table[data-v-gvajxqyu]: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-gvajxqyu] .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-gvajxqyu] .t-table--layout-fixed{
|
|
69
69
|
width: 100% !important;
|
|
70
70
|
}
|
|
71
|
-
.t-t-table[data-v-
|
|
71
|
+
.t-t-table[data-v-gvajxqyu] .bk-exception-description{
|
|
72
72
|
margin-bottom: 0;
|
|
73
73
|
}
|
|
74
|
-
.t-t-table[data-v-
|
|
74
|
+
.t-t-table[data-v-gvajxqyu] .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-gvajxqyu] .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-gvajxqyu] .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-gvajxqyu] .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-gvajxqyu] .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-gvajxqyu] .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-gvajxqyu] .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-gvajxqyu] .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-gvajxqyu] .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-d4yk18zt] {
|
|
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-d4yk18zt] {
|
|
8
8
|
height: 32px;
|
|
9
9
|
flex: 1;
|
|
10
10
|
}
|
|
11
|
-
.tag-tree .quick-icon[data-v-
|
|
11
|
+
.tag-tree .quick-icon[data-v-d4yk18zt] {
|
|
12
12
|
margin-left: -24px;
|
|
13
13
|
padding-left: 8px;
|
|
14
14
|
}
|
|
15
|
-
.tag-tree[data-v-
|
|
15
|
+
.tag-tree[data-v-d4yk18zt] .tree-item:has(.bottom-line) {
|
|
16
16
|
border-bottom: 1px solid #F0F1F5;
|
|
17
17
|
}
|
|
18
|
-
.tag-tree[data-v-
|
|
18
|
+
.tag-tree[data-v-d4yk18zt] .tree-item.active .quick-icon {
|
|
19
19
|
color: #3A84FF;
|
|
20
20
|
}
|
|
21
|
-
.tag-tree[data-v-
|
|
21
|
+
.tag-tree[data-v-d4yk18zt] .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-d4yk18zt] {
|
|
26
26
|
line-height: 16px;
|
|
27
27
|
padding: 0 4px;
|
|
28
28
|
background-color: #F0F1F5;
|