bkui-vue 0.0.1-beta.122 → 0.0.1-beta.125
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/index.cjs.js +145 -31
- package/dist/index.esm.js +3494 -467
- package/dist/index.umd.js +145 -31
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -0
- package/lib/affix/affix.variable.css +2 -2
- package/lib/alert/alert.variable.css +2 -2
- package/lib/backtop/backtop.variable.css +2 -2
- package/lib/badge/badge.variable.css +2 -2
- package/lib/breadcrumb/breadcrumb.variable.css +2 -2
- package/lib/button/button.css +4 -0
- package/lib/button/button.less +13 -7
- package/lib/button/button.variable.css +6 -2
- package/lib/card/card.variable.css +2 -2
- package/lib/cascader/cascader.variable.css +2 -2
- package/lib/checkbox/checkbox.css +16 -4
- package/lib/checkbox/checkbox.d.ts +11 -3
- package/lib/checkbox/checkbox.less +22 -4
- package/lib/checkbox/checkbox.variable.css +18 -6
- package/lib/checkbox/index.d.ts +19 -5
- package/lib/checkbox/index.js +1 -1
- package/lib/code-diff/code-diff.variable.css +2 -2
- package/lib/collapse/collapse.variable.css +2 -2
- package/lib/components.d.ts +1 -0
- package/lib/components.js +1 -1
- package/lib/container/container.variable.css +2 -2
- package/lib/date-picker/date-picker.variable.css +2 -2
- package/lib/directives/index.js +1 -1
- package/lib/directives/tooltips.d.ts +0 -1
- package/lib/divider/divider.variable.css +2 -2
- package/lib/dropdown/dropdown.variable.css +2 -2
- package/lib/exception/exception.variable.css +2 -2
- package/lib/fixed-navbar/fixed-navbar.variable.css +2 -2
- package/lib/form/form.variable.css +2 -2
- package/lib/input/index.js +1 -1
- package/lib/input/input.css +13 -5
- package/lib/input/input.less +12 -2
- package/lib/input/input.variable.css +12 -4
- package/lib/link/link.variable.css +2 -2
- package/lib/loading/loading.css +0 -2
- package/lib/loading/loading.less +2 -2
- package/lib/loading/loading.variable.css +2 -4
- package/lib/menu/menu.variable.css +2 -2
- package/lib/menu/submenu.variable.css +2 -2
- package/lib/message/message.variable.css +2 -2
- package/lib/navigation/navigation.variable.css +2 -2
- package/lib/notify/notify.variable.css +2 -2
- package/lib/pagination/pagination.variable.css +2 -2
- package/lib/popover/popover.variable.css +2 -2
- package/lib/popover2/popover2.variable.css +2 -2
- package/lib/process/process.variable.css +2 -2
- package/lib/progress/progress.variable.css +2 -2
- package/lib/radio/radio.variable.css +2 -2
- package/lib/resize-layout/resize-layout.variable.css +2 -2
- package/lib/select/select.variable.css +2 -2
- package/lib/sideslider/sideslider.variable.css +2 -2
- package/lib/slider/slider.variable.css +2 -2
- package/lib/steps/steps.variable.css +2 -2
- package/lib/styles/mixins/scroll.css +17 -0
- package/lib/styles/mixins/scroll.less +22 -0
- package/lib/styles/mixins/scroll.variable.css +119 -0
- package/lib/styles/themes/themes.less +2 -2
- package/lib/switcher/switcher.variable.css +2 -2
- package/lib/tab/tab.variable.css +2 -2
- package/lib/table/const.d.ts +4 -0
- package/lib/table/index.d.ts +5 -16
- package/lib/table/index.js +1 -1
- package/lib/table/plugins/head-filter.less +1 -1
- package/lib/table/plugins/head-filter.variable.css +2 -2
- package/lib/table/plugins/head-sort.less +1 -1
- package/lib/table/plugins/head-sort.variable.css +2 -2
- package/lib/table/plugins/settings.css +22 -4
- package/lib/table/plugins/settings.less +25 -5
- package/lib/table/plugins/settings.variable.css +24 -6
- package/lib/table/props.d.ts +7 -3
- package/lib/table/table.css +683 -7
- package/lib/table/table.d.ts +2 -7
- package/lib/table/table.less +9 -4
- package/lib/table/table.variable.css +685 -9
- package/lib/table/use-common.d.ts +4 -2
- package/lib/tag/tag.variable.css +2 -2
- package/lib/tag-input/tag-input.variable.css +2 -2
- package/lib/timeline/timeline.variable.css +2 -2
- package/lib/transfer/transfer.variable.css +2 -2
- package/lib/tree/constant.d.ts +3 -1
- package/lib/tree/index.d.ts +54 -2
- package/lib/tree/index.js +1 -1
- package/lib/tree/props.d.ts +16 -0
- package/lib/tree/tree.css +141 -0
- package/lib/tree/tree.d.ts +24 -0
- package/lib/tree/tree.less +26 -0
- package/lib/tree/tree.variable.css +143 -2
- package/lib/tree/use-node-action.d.ts +2 -1
- package/lib/tree/use-node-attribute.d.ts +2 -0
- package/lib/upload/upload.variable.css +2 -2
- package/lib/virtual-render/index.js +1 -1
- package/lib/virtual-render/virtual-render.css +17 -17
- package/lib/virtual-render/virtual-render.less +2 -23
- package/lib/virtual-render/virtual-render.variable.css +119 -17
- package/package.json +2 -2
@@ -1,4 +1,4 @@
|
|
1
|
-
@import '
|
1
|
+
@import '../../styles/themes/themes.less';
|
2
2
|
|
3
3
|
.@{bk-prefix}-table-settings {
|
4
4
|
&[data-bk-table-settings-theme='true'] {
|
@@ -26,6 +26,15 @@
|
|
26
26
|
right: 15px;
|
27
27
|
cursor: pointer;
|
28
28
|
}
|
29
|
+
|
30
|
+
.head-title {
|
31
|
+
display: inline-block;
|
32
|
+
height: 26px;
|
33
|
+
margin: 24px 0;
|
34
|
+
font-size: 20px;
|
35
|
+
line-height: 26px;
|
36
|
+
color: #313238;
|
37
|
+
}
|
29
38
|
}
|
30
39
|
|
31
40
|
.setting-body {
|
@@ -38,6 +47,14 @@
|
|
38
47
|
color: #63656e;
|
39
48
|
justify-content: space-between;
|
40
49
|
|
50
|
+
.field-setting-label {
|
51
|
+
height: 22px;
|
52
|
+
font-size: 14px;
|
53
|
+
line-height: 22px;
|
54
|
+
color: #313238;
|
55
|
+
text-align: left;
|
56
|
+
}
|
57
|
+
|
41
58
|
.limit {
|
42
59
|
color: #c4c6cc;
|
43
60
|
}
|
@@ -56,8 +73,9 @@
|
|
56
73
|
|
57
74
|
.field-item {
|
58
75
|
width: 150px;
|
59
|
-
height:
|
60
|
-
|
76
|
+
height: 16px;
|
77
|
+
margin-top: 16px;
|
78
|
+
line-height: 16px;
|
61
79
|
|
62
80
|
> label {
|
63
81
|
overflow: hidden;
|
@@ -125,9 +143,11 @@
|
|
125
143
|
|
126
144
|
.setting-footer {
|
127
145
|
display: flex;
|
128
|
-
height:
|
146
|
+
height: 50px;
|
129
147
|
padding: 0 24px;
|
130
|
-
background
|
148
|
+
background: #fafbfd;
|
149
|
+
border: 1px solid #dcdee5;
|
150
|
+
border-radius: 0px 0px 2px 2px;
|
131
151
|
justify-content: flex-end;
|
132
152
|
align-items: center;
|
133
153
|
}
|
@@ -19,7 +19,7 @@
|
|
19
19
|
--line-height-large: 18px;
|
20
20
|
--component-size-small: 26px;
|
21
21
|
--component-size-base: 32px;
|
22
|
-
--component-size-large:
|
22
|
+
--component-size-large: 40px;
|
23
23
|
--border-width-base: 1px;
|
24
24
|
--border-style-base: solid;
|
25
25
|
--border-radius-base: 2px;
|
@@ -34,7 +34,7 @@
|
|
34
34
|
--input-horizontal-padding: 10px;
|
35
35
|
--input-block-color: #f5f7fa;
|
36
36
|
--input-block-hover-color: #eaebf0;
|
37
|
-
--input-icon-size: var(--font-size-
|
37
|
+
--input-icon-size: var(--font-size-medium);
|
38
38
|
--input-maxlength-color: #979ba5;
|
39
39
|
--button-primary-hover-color: #5594fa;
|
40
40
|
--button-danger-hover-color: #ff5656;
|
@@ -125,6 +125,14 @@
|
|
125
125
|
right: 15px;
|
126
126
|
cursor: pointer;
|
127
127
|
}
|
128
|
+
.bk-table-settings[data-bk-table-settings-theme='true'] .setting-content .setting-head .head-title {
|
129
|
+
display: inline-block;
|
130
|
+
height: 26px;
|
131
|
+
margin: 24px 0;
|
132
|
+
font-size: 20px;
|
133
|
+
line-height: 26px;
|
134
|
+
color: #313238;
|
135
|
+
}
|
128
136
|
.bk-table-settings[data-bk-table-settings-theme='true'] .setting-content .setting-body {
|
129
137
|
padding: 0 24px;
|
130
138
|
}
|
@@ -135,6 +143,13 @@
|
|
135
143
|
color: #63656e;
|
136
144
|
justify-content: space-between;
|
137
145
|
}
|
146
|
+
.bk-table-settings[data-bk-table-settings-theme='true'] .setting-content .setting-body .setting-body-title .field-setting-label {
|
147
|
+
height: 22px;
|
148
|
+
font-size: 14px;
|
149
|
+
line-height: 22px;
|
150
|
+
color: #313238;
|
151
|
+
text-align: left;
|
152
|
+
}
|
138
153
|
.bk-table-settings[data-bk-table-settings-theme='true'] .setting-content .setting-body .setting-body-title .limit {
|
139
154
|
color: #c4c6cc;
|
140
155
|
}
|
@@ -150,8 +165,9 @@
|
|
150
165
|
}
|
151
166
|
.bk-table-settings[data-bk-table-settings-theme='true'] .setting-content .setting-body .setting-body-fields .field-item {
|
152
167
|
width: 150px;
|
153
|
-
height:
|
154
|
-
|
168
|
+
height: 16px;
|
169
|
+
margin-top: 16px;
|
170
|
+
line-height: 16px;
|
155
171
|
}
|
156
172
|
.bk-table-settings[data-bk-table-settings-theme='true'] .setting-content .setting-body .setting-body-fields .field-item > label {
|
157
173
|
overflow: hidden;
|
@@ -204,9 +220,11 @@
|
|
204
220
|
}
|
205
221
|
.bk-table-settings[data-bk-table-settings-theme='true'] .setting-content .setting-footer {
|
206
222
|
display: flex;
|
207
|
-
height:
|
223
|
+
height: 50px;
|
208
224
|
padding: 0 24px;
|
209
|
-
background
|
225
|
+
background: #fafbfd;
|
226
|
+
border: 1px solid #dcdee5;
|
227
|
+
border-radius: 0px 0px 2px 2px;
|
210
228
|
justify-content: flex-end;
|
211
229
|
align-items: center;
|
212
230
|
}
|
package/lib/table/props.d.ts
CHANGED
@@ -129,9 +129,7 @@ export declare const tableProps: {
|
|
129
129
|
/**
|
130
130
|
* bk-table-setting-content
|
131
131
|
*/
|
132
|
-
settings: import("vue-types").
|
133
|
-
default: boolean | (() => Settings);
|
134
|
-
};
|
132
|
+
settings: import("vue-types").VueTypeValidableDef<any>;
|
135
133
|
/**
|
136
134
|
* 行的 class 的回调方法,也可以使用一个固定的 Object 为所有行设置一样的 Style
|
137
135
|
*/
|
@@ -202,6 +200,7 @@ export declare type Settings = {
|
|
202
200
|
export declare type Field = {
|
203
201
|
label: string;
|
204
202
|
field?: string;
|
203
|
+
disabled?: boolean;
|
205
204
|
};
|
206
205
|
export declare type Column = {
|
207
206
|
label: Function | string;
|
@@ -241,3 +240,8 @@ export declare type IColumnActive = {
|
|
241
240
|
export declare type IReactiveProp = {
|
242
241
|
activeColumns: IColumnActive[];
|
243
242
|
};
|
243
|
+
export declare type Colgroups = Column & {
|
244
|
+
calcWidth: number;
|
245
|
+
resizeWidth: number;
|
246
|
+
listeners: Map<string, Function>;
|
247
|
+
};
|