bkui-vue 0.0.1-beta.217 → 0.0.1-beta.218
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 +40 -40
- package/dist/index.esm.js +444 -81
- package/dist/index.umd.js +54 -54
- 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 +5 -0
- package/lib/date-picker/date-picker.d.ts +2 -2
- package/lib/date-picker/date-picker.less +6 -0
- package/lib/date-picker/date-picker.variable.css +5 -0
- package/lib/date-picker/index.d.ts +4 -4
- package/lib/date-picker/index.js +1 -1
- package/lib/date-picker/interface.d.ts +3 -2
- package/lib/date-picker/panel/date-range.d.ts +39 -183
- package/lib/date-picker/panel/date.d.ts +20 -364
- package/lib/date-picker/panel/time-range.d.ts +489 -0
- package/lib/date-picker/panel/time.d.ts +1 -3
- package/lib/date-picker/props.d.ts +2 -2
- package/lib/date-picker/time-picker.d.ts +2 -2
- package/lib/table/const.d.ts +2 -1
- package/lib/table/index.d.ts +16 -1
- package/lib/table/index.js +1 -1
- package/lib/table/plugins/head-filter.css +2 -3
- package/lib/table/plugins/head-filter.less +9 -10
- package/lib/table/plugins/head-filter.variable.css +2 -3
- package/lib/table/plugins/head-sort.css +6 -3
- package/lib/table/plugins/head-sort.less +6 -3
- package/lib/table/plugins/head-sort.variable.css +6 -3
- package/lib/table/props.d.ts +19 -0
- package/lib/table/table.css +8 -6
- package/lib/table/table.d.ts +7 -0
- package/lib/table/table.variable.css +8 -6
- package/lib/table/use-common.d.ts +1 -0
- package/lib/table/utils.d.ts +8 -0
- package/lib/table-column/index.js +1 -1
- package/lib/time-picker/index.d.ts +4 -4
- package/package.json +1 -1
@@ -0,0 +1,489 @@
|
|
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
|
+
fontSize: "large" | "normal" | "medium";
|
461
|
+
open: boolean;
|
462
|
+
multiple: boolean;
|
463
|
+
clearable: boolean;
|
464
|
+
readonly: boolean;
|
465
|
+
behavior: "normal" | "simplicity";
|
466
|
+
withValidate: boolean;
|
467
|
+
extPopoverCls: string;
|
468
|
+
format: string;
|
469
|
+
editable: boolean;
|
470
|
+
timePickerOptions: {};
|
471
|
+
splitPanels: boolean;
|
472
|
+
transfer: 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;
|
@@ -175,7 +175,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
175
175
|
readonly default: "normal";
|
176
176
|
readonly validator: (v: any) => boolean;
|
177
177
|
};
|
178
|
-
disableDate: PropType<import("../interface").DisableDateType>;
|
179
178
|
withValidate: {
|
180
179
|
readonly type: BooleanConstructor;
|
181
180
|
readonly default: true;
|
@@ -401,7 +400,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
401
400
|
readonly default: "normal";
|
402
401
|
readonly validator: (v: any) => boolean;
|
403
402
|
};
|
404
|
-
disableDate: PropType<import("../interface").DisableDateType>;
|
405
403
|
withValidate: {
|
406
404
|
readonly type: BooleanConstructor;
|
407
405
|
readonly default: true;
|
@@ -438,6 +436,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
438
436
|
headerSlotCls: string;
|
439
437
|
footerSlotCls: string;
|
440
438
|
allowCrossDay: boolean;
|
439
|
+
disabledDate: Function;
|
441
440
|
disabledHours: unknown[];
|
442
441
|
disabledMinutes: unknown[];
|
443
442
|
disabledSeconds: unknown[];
|
@@ -445,6 +444,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
445
444
|
enterMode: boolean;
|
446
445
|
confirm: boolean;
|
447
446
|
steps: number[];
|
448
|
-
disabledDate: Function;
|
449
447
|
}>;
|
450
448
|
export default _default;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import type { ExtractPropTypes } from 'vue';
|
2
2
|
import { PropType } from 'vue';
|
3
|
-
import type { DatePickerShortcutsType, DatePickerValueType,
|
3
|
+
import type { DatePickerShortcutsType, DatePickerValueType, DisabledDateType, PickerTypeType } from './interface';
|
4
4
|
export declare const datePickerProps: {
|
5
5
|
readonly type: {
|
6
6
|
readonly type: PropType<PickerTypeType>;
|
@@ -113,7 +113,7 @@ export declare const datePickerProps: {
|
|
113
113
|
readonly default: "normal";
|
114
114
|
readonly validator: (v: any) => boolean;
|
115
115
|
};
|
116
|
-
readonly
|
116
|
+
readonly disabledDate: PropType<DisabledDateType>;
|
117
117
|
readonly withValidate: {
|
118
118
|
readonly type: BooleanConstructor;
|
119
119
|
readonly default: true;
|
@@ -135,7 +135,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
135
135
|
readonly default: "normal";
|
136
136
|
readonly validator: (v: any) => boolean;
|
137
137
|
};
|
138
|
-
|
138
|
+
disabledDate: import("vue").PropType<import("./interface").DisabledDateType>;
|
139
139
|
withValidate: {
|
140
140
|
readonly type: BooleanConstructor;
|
141
141
|
readonly default: true;
|
@@ -331,7 +331,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
331
331
|
readonly default: "normal";
|
332
332
|
readonly validator: (v: any) => boolean;
|
333
333
|
};
|
334
|
-
|
334
|
+
disabledDate: import("vue").PropType<import("./interface").DisabledDateType>;
|
335
335
|
withValidate: {
|
336
336
|
readonly type: BooleanConstructor;
|
337
337
|
readonly default: true;
|
package/lib/table/const.d.ts
CHANGED
@@ -100,6 +100,7 @@ export declare const PROVIDE_KEY_INIT_COL = "InitColumns";
|
|
100
100
|
export declare const enum SORT_OPTION {
|
101
101
|
ASC = "asc",
|
102
102
|
DESC = "desc",
|
103
|
-
NULL = "null"
|
103
|
+
NULL = "null",
|
104
|
+
CUSTOM = "custom"
|
104
105
|
}
|
105
106
|
export declare const SORT_OPTIONS: SORT_OPTION[];
|
package/lib/table/index.d.ts
CHANGED
@@ -35,6 +35,7 @@ declare const BkTable: {
|
|
35
35
|
asyncData: boolean;
|
36
36
|
rowHover: import("./const").ROW_HOVER;
|
37
37
|
defaultSort: import("./props").ISortOption;
|
38
|
+
isRowSelectEnable: any;
|
38
39
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
39
40
|
data: import("vue-types").VueTypeDef<any[]> & {
|
40
41
|
default: () => any[];
|
@@ -148,6 +149,9 @@ declare const BkTable: {
|
|
148
149
|
defaultSort: import("vue-types").VueTypeShape<import("./props").ISortOption> & {
|
149
150
|
default: () => Partial<import("./props").ISortOption>;
|
150
151
|
};
|
152
|
+
isRowSelectEnable: import("vue-types").VueTypeDef<any> & {
|
153
|
+
default: any;
|
154
|
+
};
|
151
155
|
}>> & {
|
152
156
|
onSelect?: (...args: any[]) => any;
|
153
157
|
onColumnPick?: (...args: any[]) => any;
|
@@ -163,7 +167,7 @@ declare const BkTable: {
|
|
163
167
|
onScrollBottom?: (...args: any[]) => any;
|
164
168
|
onSelectAll?: (...args: any[]) => any;
|
165
169
|
onSelectionChange?: (...args: any[]) => any;
|
166
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "data" | "height" | "maxHeight" | "minHeight" | "border" | "columns" | "headHeight" | "pagination" | "scrollLoading" | "showOverflowTooltip" | "columnPick" | "rowHeight" | "showHead" | "virtualEnabled" | "remotePagination" | "emptyText" | "settings" | "rowClass" | "rowStyle" | "cellStyle" | "cellClass" | "reserveExpand" | "selectionKey" | "isSelectedFn" | "rowKey" | "asyncData" | "rowHover" | "defaultSort">;
|
170
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "data" | "height" | "maxHeight" | "minHeight" | "border" | "columns" | "headHeight" | "pagination" | "scrollLoading" | "showOverflowTooltip" | "columnPick" | "rowHeight" | "showHead" | "virtualEnabled" | "remotePagination" | "emptyText" | "settings" | "rowClass" | "rowStyle" | "cellStyle" | "cellClass" | "reserveExpand" | "selectionKey" | "isSelectedFn" | "rowKey" | "asyncData" | "rowHover" | "defaultSort" | "isRowSelectEnable">;
|
167
171
|
$attrs: {
|
168
172
|
[x: string]: unknown;
|
169
173
|
};
|
@@ -290,6 +294,9 @@ declare const BkTable: {
|
|
290
294
|
defaultSort: import("vue-types").VueTypeShape<import("./props").ISortOption> & {
|
291
295
|
default: () => Partial<import("./props").ISortOption>;
|
292
296
|
};
|
297
|
+
isRowSelectEnable: import("vue-types").VueTypeDef<any> & {
|
298
|
+
default: any;
|
299
|
+
};
|
293
300
|
}>> & {
|
294
301
|
onSelect?: (...args: any[]) => any;
|
295
302
|
onColumnPick?: (...args: any[]) => any;
|
@@ -353,6 +360,7 @@ declare const BkTable: {
|
|
353
360
|
asyncData: boolean;
|
354
361
|
rowHover: import("./const").ROW_HOVER;
|
355
362
|
defaultSort: import("./props").ISortOption;
|
363
|
+
isRowSelectEnable: any;
|
356
364
|
}> & {
|
357
365
|
beforeCreate?: (() => void) | (() => void)[];
|
358
366
|
created?: (() => void) | (() => void)[];
|
@@ -486,6 +494,9 @@ declare const BkTable: {
|
|
486
494
|
defaultSort: import("vue-types").VueTypeShape<import("./props").ISortOption> & {
|
487
495
|
default: () => Partial<import("./props").ISortOption>;
|
488
496
|
};
|
497
|
+
isRowSelectEnable: import("vue-types").VueTypeDef<any> & {
|
498
|
+
default: any;
|
499
|
+
};
|
489
500
|
}>> & {
|
490
501
|
onSelect?: (...args: any[]) => any;
|
491
502
|
onColumnPick?: (...args: any[]) => any;
|
@@ -618,6 +629,9 @@ declare const BkTable: {
|
|
618
629
|
defaultSort: import("vue-types").VueTypeShape<import("./props").ISortOption> & {
|
619
630
|
default: () => Partial<import("./props").ISortOption>;
|
620
631
|
};
|
632
|
+
isRowSelectEnable: import("vue-types").VueTypeDef<any> & {
|
633
|
+
default: any;
|
634
|
+
};
|
621
635
|
}>> & {
|
622
636
|
onSelect?: (...args: any[]) => any;
|
623
637
|
onColumnPick?: (...args: any[]) => any;
|
@@ -681,6 +695,7 @@ declare const BkTable: {
|
|
681
695
|
asyncData: boolean;
|
682
696
|
rowHover: import("./const").ROW_HOVER;
|
683
697
|
defaultSort: import("./props").ISortOption;
|
698
|
+
isRowSelectEnable: any;
|
684
699
|
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
|
685
700
|
export default BkTable;
|
686
701
|
declare const BkColumn: {
|