@blueking/date-picker 0.0.18 → 0.0.20
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/date-picker.vue.d.ts +4 -1
- package/dist/vue2-full.es.js +23 -3
- package/dist/vue2-light.css +2491 -0
- package/dist/vue2-light.es.js +56053 -0
- package/dist/vue3-full.es.js +12 -3
- package/dist/vue3-light.css +0 -309
- package/dist/vue3-light.es.js +127 -12106
- package/package.json +16 -7
package/dist/vue3-full.es.js
CHANGED
|
@@ -47502,7 +47502,7 @@ const getTimezoneDetails = () => {
|
|
|
47502
47502
|
defaultTimezoneList.push({
|
|
47503
47503
|
...option,
|
|
47504
47504
|
...info,
|
|
47505
|
-
label:
|
|
47505
|
+
label: info.label
|
|
47506
47506
|
});
|
|
47507
47507
|
}
|
|
47508
47508
|
return info;
|
|
@@ -47579,7 +47579,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
47579
47579
|
"is-selected": item.label === _ctx.value
|
|
47580
47580
|
})
|
|
47581
47581
|
}, [
|
|
47582
|
-
createElementVNode("span", _hoisted_1$2, toDisplayString(item.label), 1),
|
|
47582
|
+
createElementVNode("span", _hoisted_1$2, toDisplayString(unref(t)("浏览器时间")) + " " + toDisplayString(item.label), 1),
|
|
47583
47583
|
createElementVNode("span", _hoisted_2$2, toDisplayString(item.country) + ", " + toDisplayString(item.abbreviation), 1),
|
|
47584
47584
|
createElementVNode("span", _hoisted_3$2, toDisplayString(item.utc), 1)
|
|
47585
47585
|
], 2)
|
|
@@ -47812,7 +47812,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
47812
47812
|
version: { default: "1.0" }
|
|
47813
47813
|
},
|
|
47814
47814
|
emits: ["update:modelValue", "update:timezone"],
|
|
47815
|
-
setup(__props, { emit: __emit }) {
|
|
47815
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
47816
47816
|
dayjs.locale({
|
|
47817
47817
|
...lang === "en" ? en : cn,
|
|
47818
47818
|
weekStart: 1
|
|
@@ -47861,6 +47861,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
47861
47861
|
};
|
|
47862
47862
|
const handleTimezoneChange = (val, info) => {
|
|
47863
47863
|
emits("update:timezone", val, { ...info });
|
|
47864
|
+
handleHidden();
|
|
47864
47865
|
};
|
|
47865
47866
|
const handleHidden = () => {
|
|
47866
47867
|
datePanelShow.value = false;
|
|
@@ -47891,6 +47892,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
47891
47892
|
handleHidden();
|
|
47892
47893
|
}
|
|
47893
47894
|
};
|
|
47895
|
+
__expose({
|
|
47896
|
+
handleHidePanel: () => {
|
|
47897
|
+
datePanelShow.value = false;
|
|
47898
|
+
},
|
|
47899
|
+
handleShowPanel: () => {
|
|
47900
|
+
datePanelShow.value = true;
|
|
47901
|
+
}
|
|
47902
|
+
});
|
|
47894
47903
|
return (_ctx, _cache) => {
|
|
47895
47904
|
return openBlock(), createElementBlock("div", {
|
|
47896
47905
|
class: normalizeClass({
|
package/dist/vue3-light.css
CHANGED
|
@@ -1,312 +1,3 @@
|
|
|
1
|
-
.scroll-bar-style::-webkit-scrollbar {
|
|
2
|
-
width: 4px;
|
|
3
|
-
height: 4px;
|
|
4
|
-
}
|
|
5
|
-
.scroll-bar-style::-webkit-scrollbar-thumb {
|
|
6
|
-
background: #ddd;
|
|
7
|
-
border-radius: 20px;
|
|
8
|
-
box-shadow: inset 0 0 6px rgba(204, 204, 204, 0.3);
|
|
9
|
-
}
|
|
10
|
-
html,
|
|
11
|
-
body {
|
|
12
|
-
padding: 0;
|
|
13
|
-
margin: 0;
|
|
14
|
-
}
|
|
15
|
-
* {
|
|
16
|
-
box-sizing: border-box;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* HTML5 display definitions
|
|
20
|
-
* ==========================================================================
|
|
21
|
-
*
|
|
22
|
-
* Correct `block` display not defined for any HTML5 element in IE 8/9.
|
|
23
|
-
* Correct `block` display not defined for `details` or `summary` in IE 10/11 and Firefox.
|
|
24
|
-
* Correct `block` display not defined for `main` in IE 11.
|
|
25
|
-
*/
|
|
26
|
-
article,
|
|
27
|
-
aside,
|
|
28
|
-
details,
|
|
29
|
-
figcaption,
|
|
30
|
-
figure,
|
|
31
|
-
footer,
|
|
32
|
-
header,
|
|
33
|
-
hgroup,
|
|
34
|
-
main,
|
|
35
|
-
menu,
|
|
36
|
-
nav,
|
|
37
|
-
section,
|
|
38
|
-
summary {
|
|
39
|
-
display: block;
|
|
40
|
-
}
|
|
41
|
-
/**
|
|
42
|
-
* 1. Correct `inline-block` display not defined in IE 8/9.
|
|
43
|
-
* 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
|
|
44
|
-
*/
|
|
45
|
-
audio,
|
|
46
|
-
canvas,
|
|
47
|
-
progress,
|
|
48
|
-
video {
|
|
49
|
-
/* 1 */
|
|
50
|
-
display: inline-block;
|
|
51
|
-
/* 2 */
|
|
52
|
-
vertical-align: baseline;
|
|
53
|
-
}
|
|
54
|
-
/**
|
|
55
|
-
* Prevent modern browsers from displaying `audio` without controls.
|
|
56
|
-
* Remove excess height in iOS 5 devices.
|
|
57
|
-
*/
|
|
58
|
-
audio:not([controls]) {
|
|
59
|
-
display: none;
|
|
60
|
-
height: 0;
|
|
61
|
-
}
|
|
62
|
-
/**
|
|
63
|
-
* Address `[hidden]` styling not present in IE 8/9/10.
|
|
64
|
-
* Hide the `template` element in IE 8/9/10/11, Safari, and Firefox < 22.
|
|
65
|
-
*/
|
|
66
|
-
[hidden],
|
|
67
|
-
template {
|
|
68
|
-
display: none;
|
|
69
|
-
}
|
|
70
|
-
/**
|
|
71
|
-
* Links
|
|
72
|
-
* ==========================================================================
|
|
73
|
-
*
|
|
74
|
-
* Remove the gray background color from active links in IE 10.
|
|
75
|
-
*/
|
|
76
|
-
a {
|
|
77
|
-
background-color: transparent;
|
|
78
|
-
}
|
|
79
|
-
/**
|
|
80
|
-
* Improve readability of focused elements when they are also in an
|
|
81
|
-
* active/hover state.
|
|
82
|
-
*/
|
|
83
|
-
a:active,
|
|
84
|
-
a:hover {
|
|
85
|
-
outline: 0;
|
|
86
|
-
}
|
|
87
|
-
/**
|
|
88
|
-
* Text-level semantics
|
|
89
|
-
* ==========================================================================
|
|
90
|
-
*
|
|
91
|
-
* Address styling not present in IE 8/9/10/11, Safari, and Chrome.
|
|
92
|
-
*/
|
|
93
|
-
abbr[title] {
|
|
94
|
-
border-bottom: 1px dotted;
|
|
95
|
-
}
|
|
96
|
-
/**
|
|
97
|
-
* Embedded content
|
|
98
|
-
* ==========================================================================
|
|
99
|
-
*
|
|
100
|
-
* Remove border when inside `a` element in IE 8/9/10.
|
|
101
|
-
*/
|
|
102
|
-
img {
|
|
103
|
-
border: 0;
|
|
104
|
-
}
|
|
105
|
-
/**
|
|
106
|
-
* Correct overflow not hidden in IE 9/10/11.
|
|
107
|
-
*/
|
|
108
|
-
svg:not(:root) {
|
|
109
|
-
overflow: hidden;
|
|
110
|
-
}
|
|
111
|
-
/**
|
|
112
|
-
* Grouping content
|
|
113
|
-
* ==========================================================================
|
|
114
|
-
*
|
|
115
|
-
* Address margin not present in IE 8/9 and Safari.
|
|
116
|
-
*/
|
|
117
|
-
figure {
|
|
118
|
-
margin: 1em 40px;
|
|
119
|
-
}
|
|
120
|
-
/**
|
|
121
|
-
* Address differences between Firefox and other browsers.
|
|
122
|
-
*/
|
|
123
|
-
hr {
|
|
124
|
-
height: 0;
|
|
125
|
-
box-sizing: content-box;
|
|
126
|
-
}
|
|
127
|
-
/**
|
|
128
|
-
* Address odd `em`-unit font size rendering in all browsers.
|
|
129
|
-
*
|
|
130
|
-
* Forms
|
|
131
|
-
* ==========================================================================
|
|
132
|
-
*
|
|
133
|
-
* Known limitation: by default, Chrome and Safari on OS X allow very limited
|
|
134
|
-
* styling of `select`, unless a `border` property is set.
|
|
135
|
-
*
|
|
136
|
-
* 1. Correct color not being inherited.
|
|
137
|
-
* Known issue: affects color of disabled elements.
|
|
138
|
-
* 2. Correct font properties not being inherited.
|
|
139
|
-
* 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
|
|
140
|
-
*/
|
|
141
|
-
button,
|
|
142
|
-
input,
|
|
143
|
-
optgroup,
|
|
144
|
-
select,
|
|
145
|
-
textarea {
|
|
146
|
-
/* 3 */
|
|
147
|
-
margin: 0;
|
|
148
|
-
/* 2 */
|
|
149
|
-
font: inherit;
|
|
150
|
-
/* 1 */
|
|
151
|
-
color: inherit;
|
|
152
|
-
}
|
|
153
|
-
/**
|
|
154
|
-
* Address `overflow` set to `hidden` in IE 8/9/10/11.
|
|
155
|
-
*/
|
|
156
|
-
button {
|
|
157
|
-
overflow: visible;
|
|
158
|
-
}
|
|
159
|
-
/**
|
|
160
|
-
* Address inconsistent `text-transform` inheritance for `button` and `select`.
|
|
161
|
-
* All other form control elements do not inherit `text-transform` values.
|
|
162
|
-
* Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
|
|
163
|
-
* Correct `select` style inheritance in Firefox.
|
|
164
|
-
*/
|
|
165
|
-
button,
|
|
166
|
-
select {
|
|
167
|
-
text-transform: none;
|
|
168
|
-
}
|
|
169
|
-
/**
|
|
170
|
-
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` and `video` controls.
|
|
171
|
-
* 2. Correct inability to style clickable `input` types in iOS.
|
|
172
|
-
* 3. Improve usability and consistency of cursor style between image-type `input` and others.
|
|
173
|
-
*/
|
|
174
|
-
button,
|
|
175
|
-
html input[type='button'],
|
|
176
|
-
input[type='reset'],
|
|
177
|
-
input[type='submit'] {
|
|
178
|
-
/* 3 */
|
|
179
|
-
cursor: pointer;
|
|
180
|
-
/* 2 */
|
|
181
|
-
appearance: button;
|
|
182
|
-
}
|
|
183
|
-
/* Re-set default cursor for disabled elements. */
|
|
184
|
-
button[disabled],
|
|
185
|
-
html input[disabled] {
|
|
186
|
-
cursor: default;
|
|
187
|
-
}
|
|
188
|
-
/* Remove inner padding and border in Firefox 4+. */
|
|
189
|
-
button::-moz-focus-inner,
|
|
190
|
-
input::-moz-focus-inner {
|
|
191
|
-
padding: 0;
|
|
192
|
-
border: 0;
|
|
193
|
-
}
|
|
194
|
-
/**
|
|
195
|
-
* Address Firefox 4+ setting `line-height` on `input` using `!important` in the UA stylesheet.
|
|
196
|
-
*/
|
|
197
|
-
input {
|
|
198
|
-
line-height: normal;
|
|
199
|
-
}
|
|
200
|
-
/**
|
|
201
|
-
* It's recommended that you don't attempt to style these elements.
|
|
202
|
-
* Firefox's implementation doesn't respect box-sizing, padding, or width.
|
|
203
|
-
*
|
|
204
|
-
* 1. Address box sizing set to `content-box` in IE 8/9/10.
|
|
205
|
-
* 2. Remove excess padding in IE 8/9/10.
|
|
206
|
-
*/
|
|
207
|
-
input[type='checkbox'],
|
|
208
|
-
input[type='radio'] {
|
|
209
|
-
/* 2 */
|
|
210
|
-
padding: 0;
|
|
211
|
-
/* 1 */
|
|
212
|
-
box-sizing: border-box;
|
|
213
|
-
}
|
|
214
|
-
/**
|
|
215
|
-
* Fix the cursor style for Chrome's increment/decrement buttons. For certain
|
|
216
|
-
* `font-size` values of the `input`, it causes the cursor style of the
|
|
217
|
-
* decrement button to change from `default` to `text`.
|
|
218
|
-
*/
|
|
219
|
-
input[type='number']::-webkit-inner-spin-button,
|
|
220
|
-
input[type='number']::-webkit-outer-spin-button {
|
|
221
|
-
height: auto;
|
|
222
|
-
}
|
|
223
|
-
::-ms-clear,
|
|
224
|
-
::-ms-reveal {
|
|
225
|
-
display: none;
|
|
226
|
-
}
|
|
227
|
-
input[type='text']::-ms-clear {
|
|
228
|
-
display: none;
|
|
229
|
-
}
|
|
230
|
-
input[type='text']::-ms-reveal {
|
|
231
|
-
display: none;
|
|
232
|
-
}
|
|
233
|
-
/**
|
|
234
|
-
* 1. Address `appearance` set to `searchfield` in Safari and Chrome.
|
|
235
|
-
* 2. Address `box-sizing` set to `border-box` in Safari and Chrome.
|
|
236
|
-
*/
|
|
237
|
-
input[type='search'] {
|
|
238
|
-
/* 2 */
|
|
239
|
-
box-sizing: content-box;
|
|
240
|
-
/* 1 */
|
|
241
|
-
appearance: textfield;
|
|
242
|
-
}
|
|
243
|
-
/**
|
|
244
|
-
* Remove inner padding and search cancel button in Safari and Chrome on OS X.
|
|
245
|
-
* Safari (but not Chrome) clips the cancel button when the search input has
|
|
246
|
-
* padding (and `textfield` appearance).
|
|
247
|
-
*/
|
|
248
|
-
input[type='search']::-webkit-search-cancel-button,
|
|
249
|
-
input[type='search']::-webkit-search-decoration {
|
|
250
|
-
appearance: none;
|
|
251
|
-
}
|
|
252
|
-
/**
|
|
253
|
-
* Define consistent border, margin, and padding.
|
|
254
|
-
*/
|
|
255
|
-
fieldset {
|
|
256
|
-
padding: 0.35em 0.625em 0.75em;
|
|
257
|
-
margin: 0 2px;
|
|
258
|
-
border: 1px solid #c0c0c0;
|
|
259
|
-
}
|
|
260
|
-
/**
|
|
261
|
-
* 1. Correct `color` not being inherited in IE 8/9/10/11.
|
|
262
|
-
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
|
|
263
|
-
*/
|
|
264
|
-
legend {
|
|
265
|
-
/* 2 */
|
|
266
|
-
padding: 0;
|
|
267
|
-
/* 1 */
|
|
268
|
-
border: 0;
|
|
269
|
-
}
|
|
270
|
-
/**
|
|
271
|
-
* Remove default vertical scrollbar in IE 8/9/10/11.
|
|
272
|
-
*/
|
|
273
|
-
textarea {
|
|
274
|
-
overflow: auto;
|
|
275
|
-
}
|
|
276
|
-
/**
|
|
277
|
-
* Don't inherit the `font-weight` (applied by a rule above).
|
|
278
|
-
* NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
|
|
279
|
-
*/
|
|
280
|
-
optgroup {
|
|
281
|
-
font-weight: bold;
|
|
282
|
-
}
|
|
283
|
-
/**
|
|
284
|
-
* BK-Scroll-Style
|
|
285
|
-
*/
|
|
286
|
-
.bk-scroll-y {
|
|
287
|
-
overflow-y: auto;
|
|
288
|
-
}
|
|
289
|
-
.bk-scroll-y::-webkit-scrollbar {
|
|
290
|
-
width: 4px;
|
|
291
|
-
height: 4px;
|
|
292
|
-
}
|
|
293
|
-
.bk-scroll-y::-webkit-scrollbar-thumb {
|
|
294
|
-
background: #ddd;
|
|
295
|
-
border-radius: 20px;
|
|
296
|
-
box-shadow: inset 0 0 6px rgba(204, 204, 204, 0.3);
|
|
297
|
-
}
|
|
298
|
-
.bk-scroll-x {
|
|
299
|
-
overflow-x: auto;
|
|
300
|
-
}
|
|
301
|
-
.bk-scroll-x::-webkit-scrollbar {
|
|
302
|
-
width: 4px;
|
|
303
|
-
height: 4px;
|
|
304
|
-
}
|
|
305
|
-
.bk-scroll-x::-webkit-scrollbar-thumb {
|
|
306
|
-
background: #ddd;
|
|
307
|
-
border-radius: 20px;
|
|
308
|
-
box-shadow: inset 0 0 6px rgba(204, 204, 204, 0.3);
|
|
309
|
-
}
|
|
310
1
|
.common-panel-tab .scoped-tab-header,
|
|
311
2
|
.common-panel-tab .bk-tab-header {
|
|
312
3
|
/* stylelint-disable-next-line declaration-no-important */
|