bkui-vue 0.0.1-beta.331 → 0.0.1-beta.333
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 +36 -36
- package/dist/index.esm.js +119 -51
- package/dist/index.umd.js +36 -36
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/alert/alert.css +4 -0
- package/lib/alert/alert.less +24 -19
- package/lib/alert/alert.variable.css +4 -0
- package/lib/checkbox/checkbox.css +10 -6
- package/lib/checkbox/checkbox.less +38 -32
- package/lib/checkbox/checkbox.variable.css +10 -6
- package/lib/checkbox/index.js +1 -1
- package/lib/date-picker/date-picker.css +6 -1
- package/lib/date-picker/date-picker.d.ts +2 -0
- package/lib/date-picker/date-picker.less +7 -1
- package/lib/date-picker/date-picker.variable.css +6 -1
- package/lib/date-picker/index.d.ts +6 -0
- package/lib/date-picker/index.js +1 -1
- package/lib/date-picker/panel/date-range.d.ts +1 -0
- package/lib/date-picker/utils.d.ts +0 -1
- package/lib/form/form-item.d.ts +14 -3
- package/lib/form/form.css +13 -7
- package/lib/form/form.less +61 -52
- package/lib/form/form.variable.css +13 -7
- package/lib/form/index.d.ts +11 -2
- package/lib/form/index.js +1 -1
- package/lib/form/type.d.ts +1 -2
- package/lib/form/utils.d.ts +2 -0
- package/lib/message/message.css +1 -1
- package/lib/message/message.less +1 -1
- package/lib/message/message.variable.css +1 -1
- package/lib/pagination/pagination.less +9 -7
- package/lib/radio/index.js +1 -1
- package/lib/radio/radio.css +61 -66
- package/lib/radio/radio.less +75 -81
- package/lib/radio/radio.variable.css +61 -66
- package/lib/select/index.js +1 -1
- package/lib/shared/index.js +1 -1
- package/lib/table/index.js +1 -1
- package/lib/table/table.css +13 -6
- package/lib/table/table.less +6 -0
- package/lib/table/table.variable.css +13 -6
- package/lib/tree/tree.css +10 -6
- package/lib/tree/tree.variable.css +10 -6
- package/package.json +1 -1
package/lib/alert/alert.css
CHANGED
package/lib/alert/alert.less
CHANGED
@@ -16,7 +16,7 @@
|
|
16
16
|
@error-background-color: #ffeded;
|
17
17
|
@error-icon-color: #ea3636;
|
18
18
|
|
19
|
-
|
19
|
+
.@{bk-prefix}-alert {
|
20
20
|
position: relative;
|
21
21
|
font-size: @font-size-base;
|
22
22
|
color: #63656e;
|
@@ -25,90 +25,95 @@
|
|
25
25
|
border: @border-width-base @border-style-base;
|
26
26
|
border-radius: @border-radius-base;
|
27
27
|
|
28
|
-
|
28
|
+
.@{bk-prefix}-alert-icon-info {
|
29
29
|
display: flex; // 修复 svg 对不齐的问题(svg 是一个 inline 元素)
|
30
30
|
margin-right: 8px;
|
31
31
|
font-size: 16px;
|
32
32
|
line-height: 1;
|
33
33
|
}
|
34
34
|
|
35
|
-
|
35
|
+
|
36
36
|
}
|
37
37
|
|
38
|
-
|
38
|
+
.@{bk-prefix}-alert-wraper {
|
39
39
|
display: flex;
|
40
40
|
padding: 8px 10px;
|
41
41
|
}
|
42
42
|
|
43
|
-
|
43
|
+
.@{bk-prefix}-alert-info {
|
44
44
|
background-color: @info-background-color;
|
45
45
|
border-color: @info-border-color;
|
46
46
|
|
47
|
-
|
47
|
+
.@{bk-prefix}-alert-icon-info {
|
48
48
|
color: @info-icon-color;
|
49
49
|
}
|
50
50
|
}
|
51
51
|
|
52
|
-
|
52
|
+
.@{bk-prefix}-alert-success {
|
53
53
|
background-color: @success-background-color;
|
54
54
|
border-color: @success-border-color;
|
55
55
|
|
56
|
-
|
56
|
+
.@{bk-prefix}-alert-icon-info {
|
57
57
|
color: @success-icon-color;
|
58
58
|
}
|
59
59
|
}
|
60
60
|
|
61
|
-
|
61
|
+
.@{bk-prefix}-alert-warning {
|
62
62
|
background-color: @warning-background-color;
|
63
63
|
border-color: @warning-border-color;
|
64
64
|
|
65
|
-
|
65
|
+
.@{bk-prefix}-alert-icon-info {
|
66
66
|
color: @warning-icon-color;
|
67
67
|
}
|
68
68
|
}
|
69
69
|
|
70
|
-
|
70
|
+
.@{bk-prefix}-alert-error {
|
71
71
|
background-color: @error-background-color;
|
72
72
|
border-color: @error-border-color;
|
73
73
|
|
74
|
-
|
74
|
+
.@{bk-prefix}-alert-icon-info {
|
75
75
|
color: @error-icon-color;
|
76
76
|
}
|
77
77
|
}
|
78
78
|
|
79
|
-
|
79
|
+
.@{bk-prefix}-alert-content {
|
80
80
|
display: flex;
|
81
81
|
flex: 1;
|
82
82
|
flex-direction: column;
|
83
83
|
overflow: hidden;
|
84
84
|
}
|
85
85
|
|
86
|
-
|
86
|
+
.@{bk-prefix}-alert-title {
|
87
87
|
line-height: 16px;
|
88
88
|
}
|
89
89
|
|
90
|
-
|
90
|
+
.@{bk-prefix}-alert-close {
|
91
91
|
padding: 8px 12px 0 6px;
|
92
92
|
margin-top: -8px;
|
93
93
|
margin-right: -10px;
|
94
94
|
font-size: 12px;
|
95
|
+
color: #c4c6cc;
|
95
96
|
white-space: nowrap;
|
96
97
|
cursor: pointer;
|
98
|
+
|
99
|
+
&:hover {
|
100
|
+
color: #979ba5;
|
101
|
+
}
|
97
102
|
}
|
98
103
|
|
99
|
-
|
104
|
+
.@{bk-prefix}-alert-close-icon {
|
100
105
|
line-height: 1;
|
101
106
|
}
|
102
107
|
|
103
|
-
|
108
|
+
.@{bk-prefix}-alert-leave-leave {
|
104
109
|
opacity: 1;
|
105
110
|
}
|
106
111
|
|
107
|
-
|
112
|
+
.@{bk-prefix}-alert-leave-leave-active {
|
108
113
|
overflow: hidden;
|
109
114
|
transition: opacity .15s, height .2s;
|
110
115
|
}
|
111
116
|
|
112
|
-
|
117
|
+
.@{bk-prefix}-alert-leave-leave-to {
|
113
118
|
opacity: 0;
|
114
119
|
}
|
@@ -178,9 +178,13 @@
|
|
178
178
|
margin-top: -8px;
|
179
179
|
margin-right: -10px;
|
180
180
|
font-size: 12px;
|
181
|
+
color: #c4c6cc;
|
181
182
|
white-space: nowrap;
|
182
183
|
cursor: pointer;
|
183
184
|
}
|
185
|
+
.bk-alert-close:hover {
|
186
|
+
color: #979ba5;
|
187
|
+
}
|
184
188
|
.bk-alert-close-icon {
|
185
189
|
line-height: 1;
|
186
190
|
}
|
@@ -1,8 +1,12 @@
|
|
1
|
+
.bk-checkbox-group {
|
2
|
+
display: inline-block;
|
3
|
+
letter-spacing: normal;
|
4
|
+
}
|
1
5
|
.bk-checkbox {
|
2
6
|
display: inline-flex;
|
3
7
|
justify-self: center;
|
8
|
+
align-items: center;
|
4
9
|
font-size: 14px;
|
5
|
-
line-height: 18px;
|
6
10
|
letter-spacing: normal;
|
7
11
|
color: #63656e;
|
8
12
|
cursor: pointer;
|
@@ -68,21 +72,20 @@
|
|
68
72
|
.bk-checkbox.is-disabled.is-checked .bk-checkbox-input {
|
69
73
|
background: #dcdee5;
|
70
74
|
}
|
71
|
-
.bk-checkbox
|
75
|
+
.bk-checkbox-input {
|
72
76
|
position: relative;
|
73
77
|
display: inline-block;
|
74
78
|
width: 16px;
|
75
79
|
height: 16px;
|
76
|
-
margin-right: 5px;
|
77
80
|
vertical-align: middle;
|
78
81
|
border: 1px solid #979ba5;
|
79
82
|
border-radius: 2px;
|
80
83
|
}
|
81
|
-
.bk-checkbox
|
84
|
+
.bk-checkbox-input.small {
|
82
85
|
width: 14px;
|
83
86
|
height: 14px;
|
84
87
|
}
|
85
|
-
.bk-checkbox
|
88
|
+
.bk-checkbox-original {
|
86
89
|
position: absolute;
|
87
90
|
top: 0;
|
88
91
|
left: 0;
|
@@ -90,7 +93,8 @@
|
|
90
93
|
width: 0;
|
91
94
|
height: 0;
|
92
95
|
}
|
93
|
-
.bk-checkbox
|
96
|
+
.bk-checkbox-label {
|
94
97
|
display: inline-block;
|
98
|
+
margin-left: 5px;
|
95
99
|
vertical-align: middle;
|
96
100
|
}
|
@@ -1,20 +1,26 @@
|
|
1
1
|
@import '../styles/themes/themes.less';
|
2
2
|
|
3
|
+
.@{bk-prefix}-checkbox-group {
|
4
|
+
display: inline-block;
|
5
|
+
letter-spacing: normal;
|
6
|
+
}
|
7
|
+
|
3
8
|
.@{bk-prefix}-checkbox {
|
4
9
|
display: inline-flex;
|
5
10
|
justify-self: center;
|
11
|
+
align-items: center;
|
6
12
|
font-size: 14px;
|
7
|
-
line-height: 18px;
|
8
13
|
letter-spacing: normal;
|
9
14
|
color: #63656e;
|
10
15
|
cursor: pointer;
|
11
16
|
user-select: none;
|
12
|
-
|
17
|
+
|
18
|
+
& ~ .@{bk-prefix}-checkbox {
|
13
19
|
margin-left: 30px;
|
14
20
|
}
|
15
21
|
|
16
22
|
&.is-checked {
|
17
|
-
|
23
|
+
.@{bk-prefix}-checkbox-input {
|
18
24
|
background: @primary-color;
|
19
25
|
border-color: @primary-color;
|
20
26
|
transition: all .1s;
|
@@ -43,7 +49,7 @@
|
|
43
49
|
}
|
44
50
|
|
45
51
|
&.is-indeterminated {
|
46
|
-
|
52
|
+
.@{bk-prefix}-checkbox-input {
|
47
53
|
background: @primary-color;
|
48
54
|
border-color: @primary-color;
|
49
55
|
transition: all .1s;
|
@@ -74,7 +80,7 @@
|
|
74
80
|
color: #c4c6cc;
|
75
81
|
cursor: not-allowed;
|
76
82
|
|
77
|
-
|
83
|
+
.@{bk-prefix}-checkbox-input {
|
78
84
|
background: #fafbfd;
|
79
85
|
border-color: @disable-color;
|
80
86
|
|
@@ -84,39 +90,39 @@
|
|
84
90
|
}
|
85
91
|
|
86
92
|
&.is-checked {
|
87
|
-
|
93
|
+
.@{bk-prefix}-checkbox-input {
|
88
94
|
background: @disable-color;
|
89
95
|
}
|
90
96
|
}
|
91
97
|
}
|
98
|
+
}
|
92
99
|
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
border-radius: 2px;
|
102
|
-
|
103
|
-
&.small {
|
104
|
-
width: 14px;
|
105
|
-
height: 14px;
|
106
|
-
}
|
107
|
-
}
|
100
|
+
.@{bk-prefix}-checkbox-input {
|
101
|
+
position: relative;
|
102
|
+
display: inline-block;
|
103
|
+
width: 16px;
|
104
|
+
height: 16px;
|
105
|
+
vertical-align: middle;
|
106
|
+
border: 1px solid #979ba5;
|
107
|
+
border-radius: 2px;
|
108
108
|
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
left: 0;
|
113
|
-
z-index: -1;
|
114
|
-
width: 0;
|
115
|
-
height: 0;
|
109
|
+
&.small {
|
110
|
+
width: 14px;
|
111
|
+
height: 14px;
|
116
112
|
}
|
113
|
+
}
|
117
114
|
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
115
|
+
.@{bk-prefix}-checkbox-original {
|
116
|
+
position: absolute;
|
117
|
+
top: 0;
|
118
|
+
left: 0;
|
119
|
+
z-index: -1;
|
120
|
+
width: 0;
|
121
|
+
height: 0;
|
122
|
+
}
|
123
|
+
|
124
|
+
.@{bk-prefix}-checkbox-label {
|
125
|
+
display: inline-block;
|
126
|
+
margin-left: 5px;
|
127
|
+
vertical-align: middle;
|
122
128
|
}
|
@@ -117,11 +117,15 @@
|
|
117
117
|
--search-select-placeholder-color: var(--light-gray);
|
118
118
|
--search-select-message-color: var(--danger-color);
|
119
119
|
}
|
120
|
+
.bk-checkbox-group {
|
121
|
+
display: inline-block;
|
122
|
+
letter-spacing: normal;
|
123
|
+
}
|
120
124
|
.bk-checkbox {
|
121
125
|
display: inline-flex;
|
122
126
|
justify-self: center;
|
127
|
+
align-items: center;
|
123
128
|
font-size: 14px;
|
124
|
-
line-height: 18px;
|
125
129
|
letter-spacing: normal;
|
126
130
|
color: #63656e;
|
127
131
|
cursor: pointer;
|
@@ -187,21 +191,20 @@
|
|
187
191
|
.bk-checkbox.is-disabled.is-checked .bk-checkbox-input {
|
188
192
|
background: var(--disable-color);
|
189
193
|
}
|
190
|
-
.bk-checkbox
|
194
|
+
.bk-checkbox-input {
|
191
195
|
position: relative;
|
192
196
|
display: inline-block;
|
193
197
|
width: 16px;
|
194
198
|
height: 16px;
|
195
|
-
margin-right: 5px;
|
196
199
|
vertical-align: middle;
|
197
200
|
border: 1px solid #979ba5;
|
198
201
|
border-radius: 2px;
|
199
202
|
}
|
200
|
-
.bk-checkbox
|
203
|
+
.bk-checkbox-input.small {
|
201
204
|
width: 14px;
|
202
205
|
height: 14px;
|
203
206
|
}
|
204
|
-
.bk-checkbox
|
207
|
+
.bk-checkbox-original {
|
205
208
|
position: absolute;
|
206
209
|
top: 0;
|
207
210
|
left: 0;
|
@@ -209,7 +212,8 @@
|
|
209
212
|
width: 0;
|
210
213
|
height: 0;
|
211
214
|
}
|
212
|
-
.bk-checkbox
|
215
|
+
.bk-checkbox-label {
|
213
216
|
display: inline-block;
|
217
|
+
margin-left: 5px;
|
214
218
|
vertical-align: middle;
|
215
219
|
}
|
package/lib/checkbox/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
!function(e,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r(require("../shared"),require("vue"));else if("function"==typeof define&&define.amd)define(["../shared","vue"],r);else{var t="object"==typeof exports?r(require("../shared"),require("vue")):r(e["../shared"],e.vue);for(var o in t)("object"==typeof exports?exports:e)[o]=t[o]}}(self,((e,r)=>(()=>{"use strict";var t={4212:r=>{r.exports=e},748:e=>{e.exports=r}},o={};function n(e){var r=o[e];if(void 0!==r)return r.exports;var a=o[e]={exports:{}};return t[e](a,a.exports,n),a.exports}n.d=(e,r)=>{for(var t in r)n.o(r,t)&&!n.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},n.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{n.r(a),n.d(a,{BkCheckbox:()=>c,BkCheckboxGroup:()=>s,default:()=>d});var e=n(4212);function r(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,o=new Array(r);t<r;t++)o[t]=e[t];return o}var t=n(748),o=Symbol("CheckboxGroup"),
|
1
|
+
!function(e,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r(require("../shared"),require("vue"));else if("function"==typeof define&&define.amd)define(["../shared","vue"],r);else{var t="object"==typeof exports?r(require("../shared"),require("vue")):r(e["../shared"],e.vue);for(var o in t)("object"==typeof exports?exports:e)[o]=t[o]}}(self,((e,r)=>(()=>{"use strict";var t={4212:r=>{r.exports=e},748:e=>{e.exports=r}},o={};function n(e){var r=o[e];if(void 0!==r)return r.exports;var a=o[e]={exports:{}};return t[e](a,a.exports,n),a.exports}n.d=(e,r)=>{for(var t in r)n.o(r,t)&&!n.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},n.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{n.r(a),n.d(a,{BkCheckbox:()=>c,BkCheckboxGroup:()=>s,default:()=>d});var e=n(4212);function r(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,o=new Array(r);t<r;t++)o[t]=e[t];return o}var t=n(748),o=Symbol("CheckboxGroup"),l={modelValue:e.PropTypes.oneOfType([String,Number,Boolean]).def(""),label:e.PropTypes.oneOfType([String,Number,Boolean]),trueLabel:e.PropTypes.oneOfType([String,Number,Boolean]).def(!0),falseLabel:e.PropTypes.oneOfType([String,Number,Boolean]).def(""),disabled:e.PropTypes.bool.def(!1),checked:e.PropTypes.bool.def(!1),indeterminate:e.PropTypes.bool,beforeChange:e.PropTypes.func,size:e.PropTypes.size().def("large")};const i=(0,t.defineComponent)({name:"Checkbox",props:l,emits:["update:modelValue","change"],setup:function(n){var a,l,i=function(){var e=(0,t.ref)(!1);return[e,{blur:function(){e.value=!1},focus:function(){e.value=!0}}]}(),u=(l=2,function(e){if(Array.isArray(e))return e}(a=i)||function(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var o,n,a=[],l=!0,i=!1;try{for(t=t.call(e);!(l=(o=t.next()).done)&&(a.push(o.value),!r||a.length!==r);l=!0);}catch(e){i=!0,n=e}finally{try{l||null==t.return||t.return()}finally{if(i)throw n}}return a}}(a,l)||function(e,t){if(e){if("string"==typeof e)return r(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?r(e,t):void 0}}(a,l)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),s=u[0],c=u[1],d=c.blur,p=c.focus,f=function(){var r=(0,t.getCurrentInstance)(),n=r.props,a=r.emit,l=(0,t.inject)(o,e.EMPTY_OBJ),i=!(0,e.isEmptyObj)(l),u=(0,t.ref)(n.checked),s=(0,t.computed)((function(){return!(!i||!l.props.disabled)||n.disabled}));return i?(0,t.watch)((function(){return l.props.modelValue}),(function(e){u.value=e.includes(n.label)}),{deep:!0}):(0,t.watch)((function(){return n.modelValue}),(function(e){""!==e&&(u.value=e===n.trueLabel)}),{immediate:!0}),(0,t.onMounted)((function(){i&&l.register(r.proxy)})),(0,t.onBeforeUnmount)((function(){i&&l.unregister(r.proxy)})),{isChecked:u,isDisabled:s,setChecked:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];u.value=e},handleChange:function(e){if(!s.value){var r=e.target;u.value=r.checked;var o=u.value?n.trueLabel:n.falseLabel;a("change",o),a("update:modelValue",o),i&&l.handleChange(),(0,t.nextTick)((function(){r.checked!==u.value&&(r.checked=u.value)}))}}}}();return{isFocus:s,isChecked:f.isChecked,isDisabled:f.isDisabled,setChecked:f.setChecked,handleBlur:d,handleFocus:p,handleChange:f.handleChange,size:n.size}},render:function(){var r=this,o=(0,e.classes)({"bk-checkbox":!0,"is-focused":this.isFocus,"is-checked":this.isChecked,"is-disabled":this.isDisabled,"is-indeterminated":this.indeterminate});return(0,t.createVNode)("label",{class:o},[(0,t.createVNode)("span",{class:[(0,e.resolveClassName)("checkbox-input"),this.size]},[(0,t.createVNode)("input",{role:"checkbox",type:"checkbox",class:"bk-checkbox-original",disabled:this.isDisabled,checked:this.isChecked,onChange:this.handleChange},null)]),r.label||r.$slots.default?(0,t.createVNode)("span",{class:"bk-checkbox-label"},[r.$slots.default?r.$slots.default():r.label]):null])}});var u={name:e.PropTypes.string.def(""),modelValue:e.PropTypes.array,disabled:e.PropTypes.bool,withValidate:e.PropTypes.bool.def(!0)};const s=(0,t.defineComponent)({name:"CheckboxGroup",props:u,emits:["change","update:modelValue"],setup:function(r,n){var a=(0,e.useFormItem)(),l=[];return(0,t.provide)(o,{name:"CheckboxGroup",props:r,register:function(e){l.push(e)},unregister:function(e){var r=l.indexOf(e);r>-1&&l.splice(r,1)},handleChange:function(){var e=l.reduce((function(e,r){return r.isChecked&&e.push(r.label),e}),[]);n.emit("update:modelValue",e),n.emit("change",e)}}),(0,t.watch)((function(){return r.modelValue}),(function(){var e;r.withValidate&&(null===(e=null==a?void 0:a.validate)||void 0===e||e.call(a,"change"))})),(0,t.onMounted)((function(){var e=r.modelValue||[];l.forEach((function(r){e.includes(r.label)&&r.setChecked(!0)}))})),{}},render:function(){var e;return(0,t.createVNode)("div",{class:"bk-checkbox-group"},[null===(e=this.$slots)||void 0===e?void 0:e.default()])}});var c=(0,e.withInstallProps)(i,{Group:s});const d=c})(),a})()));
|
@@ -182,6 +182,7 @@
|
|
182
182
|
float: left;
|
183
183
|
}
|
184
184
|
.bk-picker-confirm {
|
185
|
+
display: flex;
|
185
186
|
height: 42px;
|
186
187
|
padding: 0 20px;
|
187
188
|
clear: both;
|
@@ -190,6 +191,7 @@
|
|
190
191
|
text-align: right;
|
191
192
|
background-color: #fafbfd;
|
192
193
|
border-top: 1px solid #dcdee5;
|
194
|
+
justify-content: flex-end;
|
193
195
|
}
|
194
196
|
.bk-picker-confirm a {
|
195
197
|
color: #979ba5;
|
@@ -203,13 +205,16 @@
|
|
203
205
|
cursor: not-allowed;
|
204
206
|
}
|
205
207
|
.bk-picker-confirm .bk-picker-confirm-time {
|
206
|
-
float: left;
|
207
208
|
height: 100%;
|
209
|
+
margin-right: auto;
|
208
210
|
color: #979ba5;
|
209
211
|
}
|
210
212
|
.bk-picker-confirm .bk-picker-confirm-time.is-disabled {
|
211
213
|
color: #c4c6cc;
|
212
214
|
}
|
215
|
+
.bk-picker-confirm .bk-picker-confirm-action {
|
216
|
+
flex: 1;
|
217
|
+
}
|
213
218
|
.bk-date-picker-header {
|
214
219
|
height: 46px;
|
215
220
|
font-size: 14px;
|
@@ -126,6 +126,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
126
126
|
hasHeader: import("vue").ComputedRef<boolean>;
|
127
127
|
hasFooter: import("vue").ComputedRef<boolean>;
|
128
128
|
hasShortcuts: import("vue").ComputedRef<boolean>;
|
129
|
+
hasConfirm: import("vue").ComputedRef<boolean>;
|
129
130
|
fontSizeCls: import("vue").ComputedRef<string>;
|
130
131
|
longWidthCls: import("vue").ComputedRef<string>;
|
131
132
|
localReadonly: import("vue").ComputedRef<boolean>;
|
@@ -146,6 +147,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
146
147
|
handleClear: () => void;
|
147
148
|
onPick: (_dates: any, visible: boolean, type: any, shortcut: any) => void;
|
148
149
|
onPickSuccess: () => void;
|
150
|
+
handleToggleTime: () => void;
|
149
151
|
showClose: import("vue").Ref<boolean>;
|
150
152
|
visible: import("vue").Ref<boolean>;
|
151
153
|
internalValue: import("vue").Ref<any>;
|
@@ -221,6 +221,7 @@
|
|
221
221
|
}
|
222
222
|
|
223
223
|
.bk-picker-confirm {
|
224
|
+
display: flex;
|
224
225
|
height: 42px;
|
225
226
|
padding: 0 20px;
|
226
227
|
clear: both;
|
@@ -229,6 +230,7 @@
|
|
229
230
|
text-align: right;
|
230
231
|
background-color: #fafbfd;
|
231
232
|
border-top: 1px solid #dcdee5;
|
233
|
+
justify-content: flex-end;
|
232
234
|
|
233
235
|
a {
|
234
236
|
color: #979ba5;
|
@@ -245,14 +247,18 @@
|
|
245
247
|
}
|
246
248
|
|
247
249
|
.bk-picker-confirm-time {
|
248
|
-
float: left;
|
249
250
|
height: 100%;
|
251
|
+
margin-right: auto;
|
250
252
|
color: #979ba5;
|
251
253
|
|
252
254
|
&.is-disabled {
|
253
255
|
color: #c4c6cc;
|
254
256
|
}
|
255
257
|
}
|
258
|
+
|
259
|
+
.bk-picker-confirm-action {
|
260
|
+
flex: 1;
|
261
|
+
}
|
256
262
|
}
|
257
263
|
|
258
264
|
.bk-date-picker-header {
|
@@ -301,6 +301,7 @@
|
|
301
301
|
float: left;
|
302
302
|
}
|
303
303
|
.bk-picker-confirm {
|
304
|
+
display: flex;
|
304
305
|
height: 42px;
|
305
306
|
padding: 0 20px;
|
306
307
|
clear: both;
|
@@ -309,6 +310,7 @@
|
|
309
310
|
text-align: right;
|
310
311
|
background-color: #fafbfd;
|
311
312
|
border-top: 1px solid #dcdee5;
|
313
|
+
justify-content: flex-end;
|
312
314
|
}
|
313
315
|
.bk-picker-confirm a {
|
314
316
|
color: #979ba5;
|
@@ -322,13 +324,16 @@
|
|
322
324
|
cursor: not-allowed;
|
323
325
|
}
|
324
326
|
.bk-picker-confirm .bk-picker-confirm-time {
|
325
|
-
float: left;
|
326
327
|
height: 100%;
|
328
|
+
margin-right: auto;
|
327
329
|
color: #979ba5;
|
328
330
|
}
|
329
331
|
.bk-picker-confirm .bk-picker-confirm-time.is-disabled {
|
330
332
|
color: #c4c6cc;
|
331
333
|
}
|
334
|
+
.bk-picker-confirm .bk-picker-confirm-action {
|
335
|
+
flex: 1;
|
336
|
+
}
|
332
337
|
.bk-date-picker-header {
|
333
338
|
height: 46px;
|
334
339
|
font-size: 14px;
|
@@ -304,6 +304,7 @@ declare const BkDatePicker: {
|
|
304
304
|
hasHeader: import("vue").ComputedRef<boolean>;
|
305
305
|
hasFooter: import("vue").ComputedRef<boolean>;
|
306
306
|
hasShortcuts: import("vue").ComputedRef<boolean>;
|
307
|
+
hasConfirm: import("vue").ComputedRef<boolean>;
|
307
308
|
fontSizeCls: import("vue").ComputedRef<string>;
|
308
309
|
longWidthCls: import("vue").ComputedRef<string>;
|
309
310
|
localReadonly: import("vue").ComputedRef<boolean>;
|
@@ -324,6 +325,7 @@ declare const BkDatePicker: {
|
|
324
325
|
handleClear: () => void;
|
325
326
|
onPick: (_dates: any, visible: boolean, type: any, shortcut: any) => void;
|
326
327
|
onPickSuccess: () => void;
|
328
|
+
handleToggleTime: () => void;
|
327
329
|
showClose: import("vue").Ref<boolean>;
|
328
330
|
visible: import("vue").Ref<boolean>;
|
329
331
|
internalValue: import("vue").Ref<any>;
|
@@ -525,6 +527,7 @@ declare const BkDatePicker: {
|
|
525
527
|
hasHeader: import("vue").ComputedRef<boolean>;
|
526
528
|
hasFooter: import("vue").ComputedRef<boolean>;
|
527
529
|
hasShortcuts: import("vue").ComputedRef<boolean>;
|
530
|
+
hasConfirm: import("vue").ComputedRef<boolean>;
|
528
531
|
fontSizeCls: import("vue").ComputedRef<string>;
|
529
532
|
longWidthCls: import("vue").ComputedRef<string>;
|
530
533
|
localReadonly: import("vue").ComputedRef<boolean>;
|
@@ -545,6 +548,7 @@ declare const BkDatePicker: {
|
|
545
548
|
handleClear: () => void;
|
546
549
|
onPick: (_dates: any, visible: boolean, type: any, shortcut: any) => void;
|
547
550
|
onPickSuccess: () => void;
|
551
|
+
handleToggleTime: () => void;
|
548
552
|
showClose: import("vue").Ref<boolean>;
|
549
553
|
visible: import("vue").Ref<boolean>;
|
550
554
|
internalValue: import("vue").Ref<any>;
|
@@ -703,6 +707,7 @@ declare const BkDatePicker: {
|
|
703
707
|
hasHeader: import("vue").ComputedRef<boolean>;
|
704
708
|
hasFooter: import("vue").ComputedRef<boolean>;
|
705
709
|
hasShortcuts: import("vue").ComputedRef<boolean>;
|
710
|
+
hasConfirm: import("vue").ComputedRef<boolean>;
|
706
711
|
fontSizeCls: import("vue").ComputedRef<string>;
|
707
712
|
longWidthCls: import("vue").ComputedRef<string>;
|
708
713
|
localReadonly: import("vue").ComputedRef<boolean>;
|
@@ -723,6 +728,7 @@ declare const BkDatePicker: {
|
|
723
728
|
handleClear: () => void;
|
724
729
|
onPick: (_dates: any, visible: boolean, type: any, shortcut: any) => void;
|
725
730
|
onPickSuccess: () => void;
|
731
|
+
handleToggleTime: () => void;
|
726
732
|
showClose: import("vue").Ref<boolean>;
|
727
733
|
visible: import("vue").Ref<boolean>;
|
728
734
|
internalValue: import("vue").Ref<any>;
|