@blueking/ai-ui-sdk 0.5.1-beta.2 → 0.5.1-beta.4
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 +4 -4
- package/dist/components/render-agent/agent-type.vue.js +1 -1
- package/dist/components/render-auth/auth-dialog.script.vue.js.js +4 -4
- 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/agent/upgrade.vue.css +2 -2
- package/dist/components/render-card/agent/upgrade.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 +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/skill/scanner.vue.css +3 -3
- package/dist/components/render-card/skill/scanner.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.script.vue.js +6 -6
- 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.script.vue.js +11 -15
- 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/dataset-form.script.vue.js +16 -16
- 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.script.vue.js.js +2 -2
- 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/components/table/index.script.vue.js +24 -29
- 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/components/table.script.vue.js +24 -26
- package/dist/components/render-dataset-list/index.vue.css +2 -2
- package/dist/components/render-dataset-list/index.vue.js +1 -1
- package/dist/components/render-dialog/choose-resource.vue.css +3 -3
- package/dist/components/render-dialog/choose-resource.vue.js +1 -1
- package/dist/components/render-dialog/choose-result.vue.css +14 -14
- package/dist/components/render-dialog/choose-result.vue.js +1 -1
- package/dist/components/render-dialog/choose-space.vue.css +9 -9
- package/dist/components/render-dialog/choose-space.vue.js +1 -1
- package/dist/components/render-dialog/index.vue.css +6 -6
- package/dist/components/render-dialog/index.vue.js +1 -1
- package/dist/components/render-dropdown/index.vue.d.ts +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.script.vue.js +33 -33
- 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.js +437 -0
- package/dist/components/render-t-table/index.vue.css +154 -190
- package/dist/components/render-t-table/index.vue.d.ts +23 -42
- package/dist/components/render-t-table/index.vue.js +2 -2
- 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 +6 -33
- package/dist/css/g-utilities.manifest.json +2 -3
- package/dist/hooks/use-dataset-http.d.ts +21 -12
- package/dist/hooks/use-dataset-http.ts.js +13 -10
- package/dist/hooks/use-t-table.d.ts +11 -31
- package/dist/hooks/use-t-table.ts.js +27 -53
- package/dist/http/helper/mcp.ts.js +3 -1
- package/dist/types/common.d.ts +11 -23
- package/dist/types/common.ts.js +1 -1
- package/dist/types/enum.d.ts +13 -5
- package/dist/types/enum.ts.js +16 -6
- package/dist/types/mcp.d.ts +1 -0
- package/package.json +2 -2
- package/dist/components/render-t-table/index.script.vue.js +0 -365
|
@@ -1,223 +1,187 @@
|
|
|
1
1
|
|
|
2
|
-
.t-
|
|
2
|
+
.t-table[data-v-2c6n569h] {
|
|
3
|
+
--td-font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC',
|
|
4
|
+
'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
|
|
3
5
|
position: relative;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-direction: column;
|
|
8
|
+
font-family: var(--td-font-family);
|
|
9
|
+
font-size: 12px;
|
|
10
|
+
}
|
|
11
|
+
[data-v-2c6n569h] .t-loading__gradient {
|
|
12
|
+
display: none;
|
|
13
|
+
}
|
|
14
|
+
[data-v-2c6n569h] .t-loading__text {
|
|
15
|
+
margin-left: 0;
|
|
16
|
+
}
|
|
17
|
+
[data-v-2c6n569h] .t-table__content {
|
|
18
|
+
flex: 1 1 auto;
|
|
19
|
+
min-height: 0;
|
|
20
|
+
overflow: auto;
|
|
21
|
+
}
|
|
22
|
+
[data-v-2c6n569h] .t-loading--full {
|
|
23
|
+
top: 0;
|
|
24
|
+
height: calc(100% - 60px);
|
|
25
|
+
}
|
|
26
|
+
[data-v-2c6n569h] .t-table__top-content {
|
|
27
|
+
position: absolute;
|
|
28
|
+
top: 0;
|
|
29
|
+
right: 0;
|
|
30
|
+
z-index: 60;
|
|
31
|
+
display: flex;
|
|
32
|
+
align-items: center;
|
|
33
|
+
justify-content: center;
|
|
34
|
+
box-sizing: border-box;
|
|
35
|
+
width: 42px;
|
|
36
|
+
height: 42px;
|
|
37
|
+
margin: 0;
|
|
38
|
+
padding: 0;
|
|
39
|
+
background: #fafbfd;
|
|
21
40
|
border-left: 1px solid #dcdee5;
|
|
22
|
-
border-bottom: 1px solid #dcdee5;
|
|
23
|
-
padding-bottom: 16px;
|
|
24
41
|
}
|
|
25
|
-
.t-
|
|
26
|
-
display: inline;
|
|
42
|
+
.t-table-setting-trigger[data-v-2c6n569h] {
|
|
43
|
+
display: inline-flex;
|
|
44
|
+
align-items: center;
|
|
45
|
+
justify-content: center;
|
|
46
|
+
font-size: 14px;
|
|
47
|
+
color: #c4c6cc;
|
|
48
|
+
cursor: pointer;
|
|
49
|
+
}
|
|
50
|
+
.t-table-setting-trigger[data-v-2c6n569h]:hover {
|
|
51
|
+
color: #3a84ff;
|
|
52
|
+
}
|
|
53
|
+
[data-v-2c6n569h] .t-table__header th:last-child {
|
|
54
|
+
padding-right: 42px !important;
|
|
55
|
+
}
|
|
56
|
+
[data-v-2c6n569h] .t-table__header th {
|
|
57
|
+
height: 42px;
|
|
58
|
+
padding-top: 0;
|
|
59
|
+
padding-bottom: 0;
|
|
60
|
+
background-color: #FAFBFD !important;
|
|
61
|
+
color: #313238;
|
|
62
|
+
font-family: inherit;
|
|
27
63
|
font-size: 12px;
|
|
28
64
|
}
|
|
29
|
-
|
|
30
|
-
|
|
65
|
+
[data-v-2c6n569h] .t-table__th-cell-inner {
|
|
66
|
+
color: #313238;
|
|
31
67
|
}
|
|
32
|
-
|
|
33
|
-
|
|
68
|
+
[data-v-2c6n569h] .t-table__cell--sort-trigger.t-table__double-icons {
|
|
69
|
+
gap: 2px;
|
|
34
70
|
}
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
height: 42px;
|
|
38
|
-
background-color: #FAFBFD !important;
|
|
71
|
+
[data-v-2c6n569h] .t-table__sort-icon--active > i {
|
|
72
|
+
color: #3a84ff !important;
|
|
39
73
|
}
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
}
|
|
43
|
-
.t-t-table[data-v-132j3zbe] thead.t-table__header:hover th:not(:last-child) {
|
|
44
|
-
border-right-color: transparent !important;
|
|
74
|
+
[data-v-2c6n569h] .t-table__header th:hover {
|
|
75
|
+
background-color: #f0f1f5 !important;
|
|
45
76
|
}
|
|
46
|
-
.t-
|
|
77
|
+
.t-table--column-resizable[data-v-2c6n569h]:not(.t-table--bordered) thead.t-table__header:hover th {
|
|
47
78
|
border-top-color: transparent !important;
|
|
48
79
|
}
|
|
49
|
-
.t-
|
|
50
|
-
color:
|
|
51
|
-
font-size: 12px;
|
|
52
|
-
}
|
|
53
|
-
.t-t-table[data-v-132j3zbe] .t-table__body tr td {
|
|
54
|
-
padding: 0 16px;
|
|
55
|
-
height: 40px;
|
|
56
|
-
}
|
|
57
|
-
.t-t-table[data-v-132j3zbe] .t-table__body tr:hover td {
|
|
58
|
-
background-color: #f5f7fa !important;
|
|
59
|
-
color: #63656E;
|
|
60
|
-
}
|
|
61
|
-
.t-t-table[data-v-132j3zbe] .t-table__content .t-table__body .t-table__empty-row {
|
|
62
|
-
background-color: #fff !important;
|
|
63
|
-
}
|
|
64
|
-
.t-t-table[data-v-132j3zbe] .t-table__content .t-table__body .t-table__empty-row >td {
|
|
65
|
-
border: none;
|
|
66
|
-
}
|
|
67
|
-
.t-t-table[data-v-132j3zbe] th .t-table__ellipsis {
|
|
68
|
-
width: auto !important;
|
|
69
|
-
}
|
|
70
|
-
.t-t-table[data-v-132j3zbe] .t-loading__gradient.t-icon-loading {
|
|
71
|
-
display: none;
|
|
72
|
-
}
|
|
73
|
-
.t-t-table.t-table__content--scrollable-to-right[data-v-132j3zbe] th.t-table__cell--fixed-right-first::after,
|
|
74
|
-
.t-t-table.t-table__content--scrollable-to-right[data-v-132j3zbe] td.t-table__cell--fixed-right-first::after {
|
|
75
|
-
border-left: 2px solid #dcdee5;
|
|
76
|
-
}
|
|
77
|
-
.t-t-table[data-v-132j3zbe] .t-table__affixed-header-elm-wrap>div {
|
|
78
|
-
width: 100% !important;
|
|
79
|
-
scrollbar-width: none;
|
|
80
|
-
}
|
|
81
|
-
.t-t-table[data-v-132j3zbe] .t-table--layout-fixed{
|
|
82
|
-
width: 100% !important;
|
|
83
|
-
}
|
|
84
|
-
.t-t-table[data-v-132j3zbe] .bk-exception-description{
|
|
85
|
-
margin-bottom: 0;
|
|
86
|
-
}
|
|
87
|
-
.t-t-table[data-v-132j3zbe] .t-table__content{
|
|
88
|
-
z-index: 2;
|
|
89
|
-
max-height: 100%;
|
|
90
|
-
overflow: auto;
|
|
80
|
+
.t-table--column-resizable[data-v-2c6n569h]:not(.t-table--bordered) thead.t-table__header:hover th:not(:last-child) {
|
|
81
|
+
border-right-color: transparent !important;
|
|
91
82
|
}
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
83
|
+
[data-v-2c6n569h] .t-table__body td {
|
|
84
|
+
height: 42px;
|
|
85
|
+
padding-top: 0;
|
|
86
|
+
padding-bottom: 0;
|
|
87
|
+
color: #63656e;
|
|
88
|
+
font-family: inherit;
|
|
89
|
+
font-size: 12px;
|
|
95
90
|
}
|
|
96
|
-
.t-t-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
91
|
+
[data-v-2c6n569h] .t-table__body tr:not(.t-table__empty-row):hover,[data-v-2c6n569h] .t-table__body tr.t-table__row--hover {
|
|
92
|
+
background-color: #f5f7fa;
|
|
93
|
+
}
|
|
94
|
+
[data-v-2c6n569h] .t-table__pagination {
|
|
95
|
+
box-sizing: border-box;
|
|
96
|
+
display: flex;
|
|
97
|
+
flex-shrink: 0;
|
|
98
|
+
align-items: center;
|
|
99
|
+
height: 60px;
|
|
100
|
+
padding-top: 0;
|
|
101
|
+
padding-bottom: 0;
|
|
102
|
+
font-family: inherit;
|
|
103
|
+
font-size: 12px;
|
|
101
104
|
}
|
|
102
|
-
|
|
103
|
-
|
|
105
|
+
[data-v-2c6n569h] .t-pagination {
|
|
106
|
+
font-family: inherit;
|
|
107
|
+
font-size: 12px;
|
|
104
108
|
}
|
|
105
|
-
.t-t-
|
|
106
|
-
|
|
109
|
+
[data-v-2c6n569h] .t-pagination__total,[data-v-2c6n569h] .t-pagination__select,[data-v-2c6n569h] .t-pagination__number,[data-v-2c6n569h] .t-pagination__jump {
|
|
110
|
+
font-family: inherit;
|
|
111
|
+
font-size: 12px;
|
|
107
112
|
}
|
|
108
|
-
.t-t-
|
|
109
|
-
|
|
113
|
+
[data-v-2c6n569h] .t-pagination__select,[data-v-2c6n569h] .t-pagination__select .t-input,[data-v-2c6n569h] .t-pagination__select .t-input__inner,[data-v-2c6n569h] .t-pagination__select .t-select-input,[data-v-2c6n569h] .t-pagination__select .t-select__single {
|
|
114
|
+
font-size: 12px;
|
|
115
|
+
color: #63656e;
|
|
110
116
|
}
|
|
111
|
-
|
|
112
|
-
|
|
117
|
+
[data-v-2c6n569h] .t-pagination__select .t-input--focused {
|
|
118
|
+
border-color: #3a84ff !important;
|
|
113
119
|
}
|
|
114
|
-
|
|
115
|
-
|
|
120
|
+
[data-v-2c6n569h] .t-table--loading .t-table__content {
|
|
121
|
+
min-height: 42px !important;
|
|
116
122
|
}
|
|
117
|
-
.t-t-
|
|
118
|
-
|
|
123
|
+
[data-v-2c6n569h] .t-pagination__number.t-is-current,[data-v-2c6n569h] .t-pagination__number.t-is-current:hover,[data-v-2c6n569h] .t-pagination__number.t-is-current:active,[data-v-2c6n569h] .t-pagination__number:active {
|
|
124
|
+
background-color: #e1ecff;
|
|
125
|
+
border-color: #e1ecff;
|
|
126
|
+
color: #3a84ff;
|
|
127
|
+
font-size: 12px;
|
|
119
128
|
}
|
|
120
129
|
|
|
121
130
|
|
|
122
131
|
.t-table-dialog {
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
.t-table-dialog .t-checkbox-group .t-checkbox .bkaidev-shezhi {
|
|
129
|
-
display: none;
|
|
130
|
-
}
|
|
131
|
-
.t-table-dialog .t-checkbox-group label:has(input[value="checkbox"]){
|
|
132
|
-
display: none;
|
|
133
|
-
}
|
|
134
|
-
.t-table-dialog .t-table-dialog-header {
|
|
135
|
-
margin: 24px;
|
|
136
|
-
font-weight: 400;
|
|
137
|
-
display: inline-block;
|
|
138
|
-
height: 26px;
|
|
139
|
-
font-size: 20px;
|
|
140
|
-
line-height: 26px;
|
|
141
|
-
color: #313238;
|
|
142
|
-
}
|
|
143
|
-
.t-table-dialog .t-dialog__close {
|
|
144
|
-
width: 30px;
|
|
145
|
-
height: 30px;
|
|
146
|
-
position: absolute;
|
|
147
|
-
top: 2px;
|
|
148
|
-
right: 9px;
|
|
149
|
-
}
|
|
150
|
-
.t-table-dialog .t-checkbox__label {
|
|
151
|
-
display: flex;
|
|
152
|
-
align-items: center;
|
|
153
|
-
color: #63656e;
|
|
132
|
+
--td-font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC',
|
|
133
|
+
'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
|
|
134
|
+
font-family: var(--td-font-family);
|
|
135
|
+
font-size: 12px !important;
|
|
136
|
+
padding: 16px !important;
|
|
154
137
|
}
|
|
155
|
-
.t-table-dialog .t-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
border: none !important;
|
|
159
|
-
padding: 0 !important;
|
|
138
|
+
.t-table-dialog .t-dialog__header {
|
|
139
|
+
font-size: 18px;
|
|
140
|
+
font-weight: normal;
|
|
160
141
|
}
|
|
161
142
|
.t-table-dialog .t-table__column-controller-desc {
|
|
162
|
-
|
|
163
|
-
line-height: 22px;
|
|
164
|
-
color: #313238;
|
|
165
|
-
text-align: left;
|
|
166
|
-
position: absolute;
|
|
167
|
-
top: 74px;
|
|
168
|
-
left: 24px;
|
|
169
|
-
font-weight: 400;
|
|
170
|
-
}
|
|
171
|
-
.t-table-dialog .t-table__column-controller-body {
|
|
172
|
-
padding: 0 24px;
|
|
173
|
-
}
|
|
174
|
-
.t-table-dialog .t-table-row-height {
|
|
175
|
-
display: flex;
|
|
176
|
-
height: 76px;
|
|
177
|
-
font-size: 14px;
|
|
178
|
-
border-top: solid 1px #f0f1f5;
|
|
179
|
-
align-items: center;
|
|
180
|
-
color: #26323d;
|
|
181
|
-
}
|
|
182
|
-
.t-table-dialog .t-table-row-height .bk-radio-button {
|
|
183
|
-
width: 68px;
|
|
184
|
-
height: 26px;
|
|
185
|
-
}
|
|
186
|
-
.t-table-dialog .t-table-row-height .bk-radio-button .bk-radio-button-label {
|
|
187
|
-
line-height: 26px;
|
|
188
|
-
height: 100%;
|
|
189
|
-
}
|
|
190
|
-
.t-table-dialog .t-dialog__footer {
|
|
191
|
-
display: flex;
|
|
192
|
-
height: 50px;
|
|
193
|
-
padding: 0 24px;
|
|
194
|
-
border-top: 1px solid #dcdee5;
|
|
195
|
-
border-radius: 0 0 2px 2px;
|
|
196
|
-
justify-content: flex-end;
|
|
197
|
-
align-items: center;
|
|
198
|
-
}
|
|
199
|
-
.t-table-dialog .t-dialog__footer .t-button--theme-primary {
|
|
200
|
-
background-color: #3a84ff;
|
|
201
|
-
border: none;
|
|
202
|
-
}
|
|
203
|
-
.t-table-dialog .t-dialog__footer .t-button--theme-default {
|
|
204
|
-
background-color: #fff;
|
|
205
|
-
color: #63656e;
|
|
206
|
-
border: 1px solid #c4c6cc;
|
|
143
|
+
margin-bottom: 16px;
|
|
207
144
|
}
|
|
208
145
|
.t-table-dialog .t-dialog__body {
|
|
209
|
-
|
|
146
|
+
padding: 16px 0 0 0 !important;
|
|
147
|
+
}
|
|
148
|
+
.t-table-dialog .t-dialog__body,
|
|
149
|
+
.t-table-dialog .t-dialog__footer,
|
|
150
|
+
.t-table-dialog .t-checkbox,
|
|
151
|
+
.t-table-dialog .t-checkbox__label,
|
|
152
|
+
.t-table-dialog .t-table__column-controller-desc,
|
|
153
|
+
.t-table-dialog .t-button {
|
|
154
|
+
font-family: inherit;
|
|
155
|
+
font-size: 12px;
|
|
210
156
|
}
|
|
211
|
-
.t-table-dialog .t-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
157
|
+
.t-table-dialog .t-is-checked:not(.t-is-disabled) .t-checkbox__input,
|
|
158
|
+
.t-table-dialog .t-is-indeterminate:not(.t-is-disabled) .t-checkbox__input,
|
|
159
|
+
.t-table-dialog .t-button--theme-primary {
|
|
160
|
+
background-color: #3a84ff !important;
|
|
161
|
+
border-color: #3a84ff !important;
|
|
215
162
|
}
|
|
216
|
-
.t-table-dialog .t-
|
|
217
|
-
|
|
218
|
-
|
|
163
|
+
.t-table-dialog .t-dialog__header,
|
|
164
|
+
.t-table-dialog .t-dialog__header-content {
|
|
165
|
+
color: #313238;
|
|
166
|
+
}
|
|
167
|
+
.t-table-dialog .t-dialog__body,
|
|
168
|
+
.t-table-dialog .t-checkbox__label,
|
|
169
|
+
.t-table-dialog .t-table__column-controller-desc {
|
|
170
|
+
color: #63656e;
|
|
219
171
|
}
|
|
220
|
-
.t-table-
|
|
221
|
-
|
|
222
|
-
|
|
172
|
+
.t-table-pagination-select-popup .t-select-option,
|
|
173
|
+
.t-table-pagination-select-popup .t-select-option.t-size-s,
|
|
174
|
+
.t-table-pagination-select-popup .t-select-option.t-size-m,
|
|
175
|
+
.t-table-pagination-select-popup .t-select-option > span {
|
|
176
|
+
font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC',
|
|
177
|
+
'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif !important;
|
|
178
|
+
font-size: 12px !important;
|
|
179
|
+
color: #63656e !important;
|
|
180
|
+
}
|
|
181
|
+
.t-table-pagination-select-popup .t-select-option.t-is-selected:not(.t-is-disabled),
|
|
182
|
+
.t-table-pagination-select-popup .t-select-option.t-is-selected:not(.t-is-disabled) > span {
|
|
183
|
+
color: #3a84ff !important;
|
|
184
|
+
}
|
|
185
|
+
.t-table-dialog .t-table__column-controller-block {
|
|
186
|
+
padding: 12px !important;
|
|
223
187
|
}
|
|
@@ -1,32 +1,26 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
import type { TdEnhancedTableProps } from 'tdesign-vue-next';
|
|
2
|
+
import type { IPagination, ITTableColumn } from '@/types/common';
|
|
3
|
+
import { OrderMethod } from '@/types/enum';
|
|
4
|
+
export interface IProps<T, S, O> extends Omit<TdEnhancedTableProps<T>, 'pagination' | 'sort' | 'columns' | 'selectedRowKeys' | 'onPageChange' | 'onSortChange' | 'onSelectChange' | 'onFilterChange'> {
|
|
5
|
+
columns?: Array<ITTableColumn<T>>;
|
|
6
|
+
search?: S;
|
|
7
|
+
pagination?: IPagination;
|
|
8
|
+
orderBy?: O;
|
|
9
|
+
orderMethod?: OrderMethod;
|
|
10
|
+
selectedDatas?: T[];
|
|
11
|
+
}
|
|
12
|
+
export interface IEmits<T, S, O> {
|
|
13
|
+
(e: 'update:search', search: S): void;
|
|
14
|
+
(e: 'update:selectedDatas', selectedDatas: T[]): void;
|
|
15
|
+
(e: 'sort-change', orderBy: O | undefined, orderMethod: OrderMethod | undefined): void;
|
|
16
|
+
(e: 'page-change', page: number, pageSize: number): void;
|
|
17
|
+
}
|
|
18
|
+
declare const __VLS_export: <T, S, O>(__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<{
|
|
19
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<IProps<T, S, O> & {
|
|
16
20
|
"onUpdate:search"?: (search: S) => any;
|
|
17
|
-
"
|
|
18
|
-
"onSort-change"?: (
|
|
19
|
-
|
|
20
|
-
}, val: {
|
|
21
|
-
col: {
|
|
22
|
-
sortKey: string;
|
|
23
|
-
};
|
|
24
|
-
}) => any;
|
|
25
|
-
"onSelect-change"?: (keys: string | number[], selectedRowData: T[]) => any;
|
|
26
|
-
"onPage-change"?: (val: number) => any;
|
|
27
|
-
"onPage-size-change"?: (val: number) => any;
|
|
28
|
-
"onRow-click"?: (row: T) => any;
|
|
29
|
-
"onRow-mouseenter"?: (row: T) => any;
|
|
21
|
+
"onUpdate:selectedDatas"?: (selectedDatas: T[]) => any;
|
|
22
|
+
"onSort-change"?: (orderBy: O, orderMethod: OrderMethod) => any;
|
|
23
|
+
"onPage-change"?: (page: number, pageSize: number) => any;
|
|
30
24
|
}> & (typeof globalThis extends {
|
|
31
25
|
__VLS_PROPS_FALLBACK: infer P;
|
|
32
26
|
} ? P : {});
|
|
@@ -37,20 +31,7 @@ declare const __VLS_export: <T, S>(__VLS_props: NonNullable<Awaited<typeof __VLS
|
|
|
37
31
|
row: T;
|
|
38
32
|
}) => any;
|
|
39
33
|
};
|
|
40
|
-
emit:
|
|
41
|
-
(event: "sort-change", config: {
|
|
42
|
-
descending: boolean;
|
|
43
|
-
}, val: {
|
|
44
|
-
col: {
|
|
45
|
-
sortKey: string;
|
|
46
|
-
};
|
|
47
|
-
}): void;
|
|
48
|
-
(event: "page-change" | "page-size-change", val: number): void;
|
|
49
|
-
(event: "row-mouseleave"): void;
|
|
50
|
-
(event: "select-change", keys: string | number[], selectedRowData: T[]): void;
|
|
51
|
-
(event: "row-click" | "row-mouseenter", row: T): void;
|
|
52
|
-
(event: "update:search", search: S): void;
|
|
53
|
-
};
|
|
34
|
+
emit: IEmits<T, S, O>;
|
|
54
35
|
}>) => import("vue").VNode & {
|
|
55
36
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
56
37
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import script from './index.script.vue.js';
|
|
2
|
-
script.__scopeId = "data-v-
|
|
1
|
+
import script from './index.script.vue.js.js';
|
|
2
|
+
script.__scopeId = "data-v-2c6n569h";
|
|
3
3
|
script.__file = "./src/components/render-t-table/index.vue";
|
|
4
4
|
import './index.vue.css';
|
|
5
5
|
export default script;
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
|
|
2
|
-
.tag-tree[data-v-
|
|
2
|
+
.tag-tree[data-v-2h9rwmy1] {
|
|
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-2h9rwmy1] {
|
|
8
8
|
height: 32px;
|
|
9
9
|
flex: 1;
|
|
10
10
|
}
|
|
11
|
-
.tag-tree .quick-icon[data-v-
|
|
11
|
+
.tag-tree .quick-icon[data-v-2h9rwmy1] {
|
|
12
12
|
margin-left: -24px;
|
|
13
13
|
padding-left: 8px;
|
|
14
14
|
}
|
|
15
|
-
.tag-tree[data-v-
|
|
15
|
+
.tag-tree[data-v-2h9rwmy1] .tree-item:has(.bottom-line) {
|
|
16
16
|
border-bottom: 1px solid #F0F1F5;
|
|
17
17
|
}
|
|
18
|
-
.tag-tree[data-v-
|
|
18
|
+
.tag-tree[data-v-2h9rwmy1] .tree-item.active .quick-icon {
|
|
19
19
|
color: #3A84FF;
|
|
20
20
|
}
|
|
21
|
-
.tag-tree[data-v-
|
|
21
|
+
.tag-tree[data-v-2h9rwmy1] .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-2h9rwmy1] {
|
|
26
26
|
line-height: 16px;
|
|
27
27
|
padding: 0 4px;
|
|
28
28
|
background-color: #F0F1F5;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
|
|
2
|
-
.tag-container[data-v-
|
|
2
|
+
.tag-container[data-v-knijflpy] {
|
|
3
3
|
visibility: hidden;
|
|
4
4
|
white-space: nowrap;
|
|
5
5
|
column-gap: 4px;
|
|
6
6
|
width: calc(100% - 20px);
|
|
7
7
|
}
|
|
8
|
-
.tag-home[data-v-
|
|
8
|
+
.tag-home[data-v-knijflpy] {
|
|
9
9
|
vertical-align: sub;
|
|
10
10
|
flex-shrink: 0;
|
|
11
11
|
}
|
|
12
|
-
[is-show="true"][data-v-
|
|
12
|
+
[is-show="true"][data-v-knijflpy] {
|
|
13
13
|
visibility: visible;
|
|
14
14
|
}
|
|
15
|
-
[is-show="false"][data-v-
|
|
15
|
+
[is-show="false"][data-v-knijflpy] {
|
|
16
16
|
display: none !important;
|
|
17
17
|
}
|
|
18
|
-
.popover-main[data-v-
|
|
18
|
+
.popover-main[data-v-knijflpy] {
|
|
19
19
|
padding: 8px 8px 10px;
|
|
20
20
|
}
|
|
21
|
-
.tag-list[data-v-
|
|
21
|
+
.tag-list[data-v-knijflpy] {
|
|
22
22
|
border-radius: 2px;
|
|
23
23
|
background: #F0F1F5;
|
|
24
24
|
}
|
package/dist/css/g-utilities.css
CHANGED
|
@@ -467,16 +467,16 @@
|
|
|
467
467
|
height: 56px;
|
|
468
468
|
}
|
|
469
469
|
|
|
470
|
-
.g-h-60 {
|
|
471
|
-
height: 60px;
|
|
472
|
-
}
|
|
473
|
-
|
|
474
470
|
.g-h-70 {
|
|
475
471
|
height: 70px;
|
|
476
472
|
}
|
|
477
473
|
|
|
478
|
-
.g-h-
|
|
479
|
-
height:
|
|
474
|
+
.g-h-\[calc\(100\%_-_48px\)\] {
|
|
475
|
+
height: calc(100% - 48px);
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
.g-h-\[calc\(100vh_-_140px\)\] {
|
|
479
|
+
height: calc(100vh - 140px);
|
|
480
480
|
}
|
|
481
481
|
|
|
482
482
|
.g-h-full {
|
|
@@ -1099,33 +1099,6 @@ padding: 0px !important;
|
|
|
1099
1099
|
}
|
|
1100
1100
|
}
|
|
1101
1101
|
|
|
1102
|
-
.g-t-table-filter {
|
|
1103
|
-
.t-radio.t-is-checked .t-radio__input::after {
|
|
1104
|
-
background-color: #3a84ff;
|
|
1105
|
-
}
|
|
1106
|
-
.t-radio__label {
|
|
1107
|
-
font-size: 12px;
|
|
1108
|
-
color: #63656e;
|
|
1109
|
-
font-size: 12px;;
|
|
1110
|
-
}
|
|
1111
|
-
.t-table__filter--bottom-buttons {
|
|
1112
|
-
.t-button--theme-primary {
|
|
1113
|
-
background-color: #3a84ff;
|
|
1114
|
-
color: #fff;
|
|
1115
|
-
border-color: #3a84ff;
|
|
1116
|
-
border-radius: 2px;
|
|
1117
|
-
padding: 0 12px;
|
|
1118
|
-
}
|
|
1119
|
-
.t-button--theme-default {
|
|
1120
|
-
background-color: #fff;
|
|
1121
|
-
border: 1px solid #c4c6cc;
|
|
1122
|
-
border-radius: 2px;
|
|
1123
|
-
color: #63656e;
|
|
1124
|
-
padding: 0 12px;
|
|
1125
|
-
}
|
|
1126
|
-
}
|
|
1127
|
-
}
|
|
1128
|
-
|
|
1129
1102
|
.g-text-10 {
|
|
1130
1103
|
font-size: 10px;
|
|
1131
1104
|
}
|
|
@@ -86,9 +86,9 @@
|
|
|
86
86
|
"g-h-42",
|
|
87
87
|
"g-h-48",
|
|
88
88
|
"g-h-56",
|
|
89
|
-
"g-h-60",
|
|
90
89
|
"g-h-70",
|
|
91
|
-
"g-h-
|
|
90
|
+
"g-h-[calc(100%_-_48px)]",
|
|
91
|
+
"g-h-[calc(100vh_-_140px)]",
|
|
92
92
|
"g-h-full",
|
|
93
93
|
"g-hidden",
|
|
94
94
|
"g-inline",
|
|
@@ -198,7 +198,6 @@
|
|
|
198
198
|
"g-shrink-0",
|
|
199
199
|
"g-small-form",
|
|
200
200
|
"g-small-gap-form",
|
|
201
|
-
"g-t-table-filter",
|
|
202
201
|
"g-text-10",
|
|
203
202
|
"g-text-12",
|
|
204
203
|
"g-text-14",
|