bkui-vue 0.0.1-beta.229 → 0.0.1-beta.230
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 +52 -52
- package/dist/index.esm.js +37 -301
- package/dist/index.umd.js +53 -53
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/date-picker/base/date-table.d.ts +4 -4
- package/lib/date-picker/date-picker.css +0 -5
- package/lib/date-picker/date-picker.d.ts +2 -2
- package/lib/date-picker/date-picker.less +0 -6
- package/lib/date-picker/date-picker.variable.css +0 -5
- package/lib/date-picker/index.d.ts +4 -4
- package/lib/date-picker/index.js +1 -1
- package/lib/date-picker/interface.d.ts +2 -3
- package/lib/date-picker/panel/date-range.d.ts +183 -39
- package/lib/date-picker/panel/date.d.ts +364 -20
- package/lib/date-picker/panel/time.d.ts +3 -1
- package/lib/date-picker/props.d.ts +2 -2
- package/lib/date-picker/time-picker.d.ts +2 -2
- package/lib/time-picker/index.d.ts +4 -4
- package/package.json +1 -1
- package/lib/date-picker/panel/time-range.d.ts +0 -489
@@ -1,489 +0,0 @@
|
|
1
|
-
import type { ExtractPropTypes, PropType } from 'vue';
|
2
|
-
declare const timeRangeProps: {
|
3
|
-
steps: {
|
4
|
-
type: PropType<number[]>;
|
5
|
-
default: () => any[];
|
6
|
-
};
|
7
|
-
format: {
|
8
|
-
type: StringConstructor;
|
9
|
-
default: string;
|
10
|
-
};
|
11
|
-
value: {
|
12
|
-
type: ArrayConstructor;
|
13
|
-
required: boolean;
|
14
|
-
};
|
15
|
-
allowCrossDay: {
|
16
|
-
type: BooleanConstructor;
|
17
|
-
default: boolean;
|
18
|
-
};
|
19
|
-
};
|
20
|
-
export declare type TimeRangePanelProps = Readonly<ExtractPropTypes<typeof timeRangeProps>>;
|
21
|
-
declare const _default: import("vue").DefineComponent<{
|
22
|
-
steps: {
|
23
|
-
type: PropType<number[]>;
|
24
|
-
default: () => any[];
|
25
|
-
};
|
26
|
-
format: {
|
27
|
-
type: StringConstructor;
|
28
|
-
default: string;
|
29
|
-
};
|
30
|
-
value: {
|
31
|
-
type: ArrayConstructor;
|
32
|
-
required: boolean;
|
33
|
-
};
|
34
|
-
allowCrossDay: {
|
35
|
-
type: BooleanConstructor;
|
36
|
-
default: boolean;
|
37
|
-
};
|
38
|
-
disabledHours: {
|
39
|
-
readonly type: ArrayConstructor;
|
40
|
-
readonly default: () => any[];
|
41
|
-
};
|
42
|
-
disabledMinutes: {
|
43
|
-
readonly type: ArrayConstructor;
|
44
|
-
readonly default: () => any[];
|
45
|
-
};
|
46
|
-
disabledSeconds: {
|
47
|
-
readonly type: ArrayConstructor;
|
48
|
-
readonly default: () => any[];
|
49
|
-
};
|
50
|
-
hideDisabledOptions: {
|
51
|
-
readonly type: BooleanConstructor;
|
52
|
-
readonly default: false;
|
53
|
-
};
|
54
|
-
width: {
|
55
|
-
readonly type: NumberConstructor;
|
56
|
-
readonly default: 261;
|
57
|
-
};
|
58
|
-
enterMode: {
|
59
|
-
readonly type: BooleanConstructor;
|
60
|
-
readonly default: true;
|
61
|
-
};
|
62
|
-
type: {
|
63
|
-
readonly type: PropType<import("../interface").PickerTypeType>;
|
64
|
-
readonly default: "date";
|
65
|
-
readonly validator: (value: any) => boolean;
|
66
|
-
};
|
67
|
-
extPopoverCls: {
|
68
|
-
readonly type: StringConstructor;
|
69
|
-
readonly default: "";
|
70
|
-
};
|
71
|
-
readonly: {
|
72
|
-
readonly type: BooleanConstructor;
|
73
|
-
readonly default: false;
|
74
|
-
};
|
75
|
-
disabled: {
|
76
|
-
readonly type: BooleanConstructor;
|
77
|
-
readonly default: false;
|
78
|
-
};
|
79
|
-
editable: {
|
80
|
-
readonly type: BooleanConstructor;
|
81
|
-
readonly default: true;
|
82
|
-
};
|
83
|
-
clearable: {
|
84
|
-
readonly type: BooleanConstructor;
|
85
|
-
readonly default: true;
|
86
|
-
};
|
87
|
-
open: {
|
88
|
-
readonly type: () => boolean;
|
89
|
-
readonly default: any;
|
90
|
-
};
|
91
|
-
multiple: {
|
92
|
-
readonly type: BooleanConstructor;
|
93
|
-
readonly default: false;
|
94
|
-
};
|
95
|
-
timePickerOptions: {
|
96
|
-
readonly type: PropType<Record<string, any>>;
|
97
|
-
readonly default: () => {};
|
98
|
-
};
|
99
|
-
splitPanels: {
|
100
|
-
readonly type: BooleanConstructor;
|
101
|
-
readonly default: true;
|
102
|
-
};
|
103
|
-
startDate: DateConstructor;
|
104
|
-
placeholder: {
|
105
|
-
readonly type: StringConstructor;
|
106
|
-
readonly default: "";
|
107
|
-
};
|
108
|
-
placement: {
|
109
|
-
readonly type: PropType<import("@popperjs/core").ComputedPlacement>;
|
110
|
-
readonly default: "bottom-start";
|
111
|
-
readonly validator: (value: any) => boolean;
|
112
|
-
};
|
113
|
-
transfer: {
|
114
|
-
readonly type: BooleanConstructor;
|
115
|
-
readonly default: false;
|
116
|
-
};
|
117
|
-
appendToBody: {
|
118
|
-
readonly type: BooleanConstructor;
|
119
|
-
readonly default: false;
|
120
|
-
};
|
121
|
-
shortcuts: {
|
122
|
-
readonly type: PropType<import("../interface").DatePickerShortcutsType>;
|
123
|
-
readonly default: () => any[];
|
124
|
-
};
|
125
|
-
shortcutClose: {
|
126
|
-
readonly type: BooleanConstructor;
|
127
|
-
readonly default: false;
|
128
|
-
};
|
129
|
-
modelValue: {
|
130
|
-
readonly type: PropType<import("../interface").DatePickerValueType>;
|
131
|
-
};
|
132
|
-
options: {
|
133
|
-
readonly type: ObjectConstructor;
|
134
|
-
readonly default: () => {};
|
135
|
-
};
|
136
|
-
fontSize: {
|
137
|
-
readonly type: PropType<"large" | "normal" | "medium">;
|
138
|
-
readonly default: "normal";
|
139
|
-
};
|
140
|
-
upToNow: {
|
141
|
-
readonly type: BooleanConstructor;
|
142
|
-
readonly default: false;
|
143
|
-
};
|
144
|
-
useShortcutText: {
|
145
|
-
readonly type: BooleanConstructor;
|
146
|
-
readonly default: false;
|
147
|
-
};
|
148
|
-
shortcutSelectedIndex: {
|
149
|
-
readonly type: NumberConstructor;
|
150
|
-
readonly default: -1;
|
151
|
-
};
|
152
|
-
headerSlotCls: {
|
153
|
-
readonly type: StringConstructor;
|
154
|
-
readonly default: "";
|
155
|
-
};
|
156
|
-
footerSlotCls: {
|
157
|
-
readonly type: StringConstructor;
|
158
|
-
readonly default: "";
|
159
|
-
};
|
160
|
-
behavior: {
|
161
|
-
readonly type: PropType<"normal" | "simplicity">;
|
162
|
-
readonly default: "normal";
|
163
|
-
readonly validator: (v: any) => boolean;
|
164
|
-
};
|
165
|
-
disabledDate: PropType<import("../interface").DisabledDateType>;
|
166
|
-
withValidate: {
|
167
|
-
readonly type: BooleanConstructor;
|
168
|
-
readonly default: true;
|
169
|
-
};
|
170
|
-
}, {
|
171
|
-
showSeconds: import("vue").ComputedRef<boolean>;
|
172
|
-
leftDatePanelLabel: import("vue").ComputedRef<any>;
|
173
|
-
rightDatePanelLabel: import("vue").ComputedRef<any>;
|
174
|
-
handleStartChange: (date: any) => void;
|
175
|
-
handleEndChange: (date: any) => void;
|
176
|
-
handlePickClick: () => void;
|
177
|
-
updateScroll: () => void;
|
178
|
-
timeSpinnerRef: any;
|
179
|
-
timeSpinnerEndRef: any;
|
180
|
-
showDate: import("vue").Ref<boolean>;
|
181
|
-
dateStart: import("vue").Ref<{
|
182
|
-
toString: () => string;
|
183
|
-
toDateString: () => string;
|
184
|
-
toTimeString: () => string;
|
185
|
-
toLocaleString: {
|
186
|
-
(): string;
|
187
|
-
(locales?: string | string[], options?: Intl.DateTimeFormatOptions): string;
|
188
|
-
};
|
189
|
-
toLocaleDateString: {
|
190
|
-
(): string;
|
191
|
-
(locales?: string | string[], options?: Intl.DateTimeFormatOptions): string;
|
192
|
-
};
|
193
|
-
toLocaleTimeString: {
|
194
|
-
(): string;
|
195
|
-
(locales?: string | string[], options?: Intl.DateTimeFormatOptions): string;
|
196
|
-
};
|
197
|
-
valueOf: () => number;
|
198
|
-
getTime: () => number;
|
199
|
-
getFullYear: () => number;
|
200
|
-
getUTCFullYear: () => number;
|
201
|
-
getMonth: () => number;
|
202
|
-
getUTCMonth: () => number;
|
203
|
-
getDate: () => number;
|
204
|
-
getUTCDate: () => number;
|
205
|
-
getDay: () => number;
|
206
|
-
getUTCDay: () => number;
|
207
|
-
getHours: () => number;
|
208
|
-
getUTCHours: () => number;
|
209
|
-
getMinutes: () => number;
|
210
|
-
getUTCMinutes: () => number;
|
211
|
-
getSeconds: () => number;
|
212
|
-
getUTCSeconds: () => number;
|
213
|
-
getMilliseconds: () => number;
|
214
|
-
getUTCMilliseconds: () => number;
|
215
|
-
getTimezoneOffset: () => number;
|
216
|
-
setTime: (time: number) => number;
|
217
|
-
setMilliseconds: (ms: number) => number;
|
218
|
-
setUTCMilliseconds: (ms: number) => number;
|
219
|
-
setSeconds: (sec: number, ms?: number) => number;
|
220
|
-
setUTCSeconds: (sec: number, ms?: number) => number;
|
221
|
-
setMinutes: (min: number, sec?: number, ms?: number) => number;
|
222
|
-
setUTCMinutes: (min: number, sec?: number, ms?: number) => number;
|
223
|
-
setHours: (hours: number, min?: number, sec?: number, ms?: number) => number;
|
224
|
-
setUTCHours: (hours: number, min?: number, sec?: number, ms?: number) => number;
|
225
|
-
setDate: (date: number) => number;
|
226
|
-
setUTCDate: (date: number) => number;
|
227
|
-
setMonth: (month: number, date?: number) => number;
|
228
|
-
setUTCMonth: (month: number, date?: number) => number;
|
229
|
-
setFullYear: (year: number, month?: number, date?: number) => number;
|
230
|
-
setUTCFullYear: (year: number, month?: number, date?: number) => number;
|
231
|
-
toUTCString: () => string;
|
232
|
-
toISOString: () => string;
|
233
|
-
toJSON: (key?: any) => string;
|
234
|
-
[Symbol.toPrimitive]: {
|
235
|
-
(hint: "default"): string;
|
236
|
-
(hint: "string"): string;
|
237
|
-
(hint: "number"): number;
|
238
|
-
(hint: string): string | number;
|
239
|
-
};
|
240
|
-
}>;
|
241
|
-
dateEnd: import("vue").Ref<{
|
242
|
-
toString: () => string;
|
243
|
-
toDateString: () => string;
|
244
|
-
toTimeString: () => string;
|
245
|
-
toLocaleString: {
|
246
|
-
(): string;
|
247
|
-
(locales?: string | string[], options?: Intl.DateTimeFormatOptions): string;
|
248
|
-
};
|
249
|
-
toLocaleDateString: {
|
250
|
-
(): string;
|
251
|
-
(locales?: string | string[], options?: Intl.DateTimeFormatOptions): string;
|
252
|
-
};
|
253
|
-
toLocaleTimeString: {
|
254
|
-
(): string;
|
255
|
-
(locales?: string | string[], options?: Intl.DateTimeFormatOptions): string;
|
256
|
-
};
|
257
|
-
valueOf: () => number;
|
258
|
-
getTime: () => number;
|
259
|
-
getFullYear: () => number;
|
260
|
-
getUTCFullYear: () => number;
|
261
|
-
getMonth: () => number;
|
262
|
-
getUTCMonth: () => number;
|
263
|
-
getDate: () => number;
|
264
|
-
getUTCDate: () => number;
|
265
|
-
getDay: () => number;
|
266
|
-
getUTCDay: () => number;
|
267
|
-
getHours: () => number;
|
268
|
-
getUTCHours: () => number;
|
269
|
-
getMinutes: () => number;
|
270
|
-
getUTCMinutes: () => number;
|
271
|
-
getSeconds: () => number;
|
272
|
-
getUTCSeconds: () => number;
|
273
|
-
getMilliseconds: () => number;
|
274
|
-
getUTCMilliseconds: () => number;
|
275
|
-
getTimezoneOffset: () => number;
|
276
|
-
setTime: (time: number) => number;
|
277
|
-
setMilliseconds: (ms: number) => number;
|
278
|
-
setUTCMilliseconds: (ms: number) => number;
|
279
|
-
setSeconds: (sec: number, ms?: number) => number;
|
280
|
-
setUTCSeconds: (sec: number, ms?: number) => number;
|
281
|
-
setMinutes: (min: number, sec?: number, ms?: number) => number;
|
282
|
-
setUTCMinutes: (min: number, sec?: number, ms?: number) => number;
|
283
|
-
setHours: (hours: number, min?: number, sec?: number, ms?: number) => number;
|
284
|
-
setUTCHours: (hours: number, min?: number, sec?: number, ms?: number) => number;
|
285
|
-
setDate: (date: number) => number;
|
286
|
-
setUTCDate: (date: number) => number;
|
287
|
-
setMonth: (month: number, date?: number) => number;
|
288
|
-
setUTCMonth: (month: number, date?: number) => number;
|
289
|
-
setFullYear: (year: number, month?: number, date?: number) => number;
|
290
|
-
setUTCFullYear: (year: number, month?: number, date?: number) => number;
|
291
|
-
toUTCString: () => string;
|
292
|
-
toISOString: () => string;
|
293
|
-
toJSON: (key?: any) => string;
|
294
|
-
[Symbol.toPrimitive]: {
|
295
|
-
(hint: "default"): string;
|
296
|
-
(hint: "string"): string;
|
297
|
-
(hint: "number"): number;
|
298
|
-
(hint: string): string | number;
|
299
|
-
};
|
300
|
-
}>;
|
301
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("pick" | "pick-click")[], "pick" | "pick-click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
302
|
-
steps: {
|
303
|
-
type: PropType<number[]>;
|
304
|
-
default: () => any[];
|
305
|
-
};
|
306
|
-
format: {
|
307
|
-
type: StringConstructor;
|
308
|
-
default: string;
|
309
|
-
};
|
310
|
-
value: {
|
311
|
-
type: ArrayConstructor;
|
312
|
-
required: boolean;
|
313
|
-
};
|
314
|
-
allowCrossDay: {
|
315
|
-
type: BooleanConstructor;
|
316
|
-
default: boolean;
|
317
|
-
};
|
318
|
-
disabledHours: {
|
319
|
-
readonly type: ArrayConstructor;
|
320
|
-
readonly default: () => any[];
|
321
|
-
};
|
322
|
-
disabledMinutes: {
|
323
|
-
readonly type: ArrayConstructor;
|
324
|
-
readonly default: () => any[];
|
325
|
-
};
|
326
|
-
disabledSeconds: {
|
327
|
-
readonly type: ArrayConstructor;
|
328
|
-
readonly default: () => any[];
|
329
|
-
};
|
330
|
-
hideDisabledOptions: {
|
331
|
-
readonly type: BooleanConstructor;
|
332
|
-
readonly default: false;
|
333
|
-
};
|
334
|
-
width: {
|
335
|
-
readonly type: NumberConstructor;
|
336
|
-
readonly default: 261;
|
337
|
-
};
|
338
|
-
enterMode: {
|
339
|
-
readonly type: BooleanConstructor;
|
340
|
-
readonly default: true;
|
341
|
-
};
|
342
|
-
type: {
|
343
|
-
readonly type: PropType<import("../interface").PickerTypeType>;
|
344
|
-
readonly default: "date";
|
345
|
-
readonly validator: (value: any) => boolean;
|
346
|
-
};
|
347
|
-
extPopoverCls: {
|
348
|
-
readonly type: StringConstructor;
|
349
|
-
readonly default: "";
|
350
|
-
};
|
351
|
-
readonly: {
|
352
|
-
readonly type: BooleanConstructor;
|
353
|
-
readonly default: false;
|
354
|
-
};
|
355
|
-
disabled: {
|
356
|
-
readonly type: BooleanConstructor;
|
357
|
-
readonly default: false;
|
358
|
-
};
|
359
|
-
editable: {
|
360
|
-
readonly type: BooleanConstructor;
|
361
|
-
readonly default: true;
|
362
|
-
};
|
363
|
-
clearable: {
|
364
|
-
readonly type: BooleanConstructor;
|
365
|
-
readonly default: true;
|
366
|
-
};
|
367
|
-
open: {
|
368
|
-
readonly type: () => boolean;
|
369
|
-
readonly default: any;
|
370
|
-
};
|
371
|
-
multiple: {
|
372
|
-
readonly type: BooleanConstructor;
|
373
|
-
readonly default: false;
|
374
|
-
};
|
375
|
-
timePickerOptions: {
|
376
|
-
readonly type: PropType<Record<string, any>>;
|
377
|
-
readonly default: () => {};
|
378
|
-
};
|
379
|
-
splitPanels: {
|
380
|
-
readonly type: BooleanConstructor;
|
381
|
-
readonly default: true;
|
382
|
-
};
|
383
|
-
startDate: DateConstructor;
|
384
|
-
placeholder: {
|
385
|
-
readonly type: StringConstructor;
|
386
|
-
readonly default: "";
|
387
|
-
};
|
388
|
-
placement: {
|
389
|
-
readonly type: PropType<import("@popperjs/core").ComputedPlacement>;
|
390
|
-
readonly default: "bottom-start";
|
391
|
-
readonly validator: (value: any) => boolean;
|
392
|
-
};
|
393
|
-
transfer: {
|
394
|
-
readonly type: BooleanConstructor;
|
395
|
-
readonly default: false;
|
396
|
-
};
|
397
|
-
appendToBody: {
|
398
|
-
readonly type: BooleanConstructor;
|
399
|
-
readonly default: false;
|
400
|
-
};
|
401
|
-
shortcuts: {
|
402
|
-
readonly type: PropType<import("../interface").DatePickerShortcutsType>;
|
403
|
-
readonly default: () => any[];
|
404
|
-
};
|
405
|
-
shortcutClose: {
|
406
|
-
readonly type: BooleanConstructor;
|
407
|
-
readonly default: false;
|
408
|
-
};
|
409
|
-
modelValue: {
|
410
|
-
readonly type: PropType<import("../interface").DatePickerValueType>;
|
411
|
-
};
|
412
|
-
options: {
|
413
|
-
readonly type: ObjectConstructor;
|
414
|
-
readonly default: () => {};
|
415
|
-
};
|
416
|
-
fontSize: {
|
417
|
-
readonly type: PropType<"large" | "normal" | "medium">;
|
418
|
-
readonly default: "normal";
|
419
|
-
};
|
420
|
-
upToNow: {
|
421
|
-
readonly type: BooleanConstructor;
|
422
|
-
readonly default: false;
|
423
|
-
};
|
424
|
-
useShortcutText: {
|
425
|
-
readonly type: BooleanConstructor;
|
426
|
-
readonly default: false;
|
427
|
-
};
|
428
|
-
shortcutSelectedIndex: {
|
429
|
-
readonly type: NumberConstructor;
|
430
|
-
readonly default: -1;
|
431
|
-
};
|
432
|
-
headerSlotCls: {
|
433
|
-
readonly type: StringConstructor;
|
434
|
-
readonly default: "";
|
435
|
-
};
|
436
|
-
footerSlotCls: {
|
437
|
-
readonly type: StringConstructor;
|
438
|
-
readonly default: "";
|
439
|
-
};
|
440
|
-
behavior: {
|
441
|
-
readonly type: PropType<"normal" | "simplicity">;
|
442
|
-
readonly default: "normal";
|
443
|
-
readonly validator: (v: any) => boolean;
|
444
|
-
};
|
445
|
-
disabledDate: PropType<import("../interface").DisabledDateType>;
|
446
|
-
withValidate: {
|
447
|
-
readonly type: BooleanConstructor;
|
448
|
-
readonly default: true;
|
449
|
-
};
|
450
|
-
}>> & {
|
451
|
-
onPick?: (...args: any[]) => any;
|
452
|
-
"onPick-click"?: (...args: any[]) => any;
|
453
|
-
}, {
|
454
|
-
placement: import("@popperjs/core").ComputedPlacement;
|
455
|
-
options: Record<string, any>;
|
456
|
-
type: import("../interface").PickerTypeType;
|
457
|
-
disabled: boolean;
|
458
|
-
width: number;
|
459
|
-
placeholder: string;
|
460
|
-
transfer: boolean;
|
461
|
-
fontSize: "large" | "normal" | "medium";
|
462
|
-
open: boolean;
|
463
|
-
multiple: boolean;
|
464
|
-
clearable: boolean;
|
465
|
-
readonly: boolean;
|
466
|
-
behavior: "normal" | "simplicity";
|
467
|
-
withValidate: boolean;
|
468
|
-
extPopoverCls: string;
|
469
|
-
format: string;
|
470
|
-
editable: boolean;
|
471
|
-
timePickerOptions: {};
|
472
|
-
splitPanels: boolean;
|
473
|
-
appendToBody: boolean;
|
474
|
-
shortcuts: import("../interface").DatePickerShortcutsType;
|
475
|
-
shortcutClose: boolean;
|
476
|
-
upToNow: boolean;
|
477
|
-
useShortcutText: boolean;
|
478
|
-
shortcutSelectedIndex: number;
|
479
|
-
headerSlotCls: string;
|
480
|
-
footerSlotCls: string;
|
481
|
-
allowCrossDay: boolean;
|
482
|
-
disabledHours: unknown[];
|
483
|
-
disabledMinutes: unknown[];
|
484
|
-
disabledSeconds: unknown[];
|
485
|
-
hideDisabledOptions: boolean;
|
486
|
-
enterMode: boolean;
|
487
|
-
steps: number[];
|
488
|
-
}>;
|
489
|
-
export default _default;
|