@coreui/vue-pro 4.2.0 → 4.3.0-beta.0
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/README.md +1 -1
- package/dist/components/calendar/CCalendar.d.ts +185 -0
- package/dist/components/calendar/index.d.ts +6 -0
- package/dist/components/date-picker/CDatePicker.d.ts +406 -0
- package/dist/components/date-picker/index.d.ts +6 -0
- package/dist/components/date-range-picker/CDateRangePicker.d.ts +480 -0
- package/dist/components/date-range-picker/index.d.ts +6 -0
- package/dist/components/index.d.ts +5 -0
- package/dist/components/multi-select/CMultiSelect.d.ts +2 -2
- package/dist/components/picker/CPicker.d.ts +11 -0
- package/dist/components/picker/index.d.ts +6 -0
- package/dist/components/popover/CPopover.d.ts +1 -1
- package/dist/components/sidebar/CSidebar.d.ts +1 -1
- package/dist/components/smart-table/CSmartTable.d.ts +1 -1
- package/dist/components/time-picker/CTimePicker.d.ts +10 -0
- package/dist/components/time-picker/CTimePickerRollCol.d.ts +27 -0
- package/dist/components/time-picker/index.d.ts +6 -0
- package/dist/components/toast/CToast.d.ts +1 -1
- package/dist/index.es.js +2849 -850
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +2858 -849
- package/dist/index.js.map +1 -1
- package/dist/utils/calendar.d.ts +21 -0
- package/dist/utils/time.d.ts +17 -0
- package/package.json +1 -1
- package/src/components/calendar/CCalendar.ts +546 -0
- package/src/components/calendar/index.ts +10 -0
- package/src/components/date-picker/CDatePicker.ts +243 -0
- package/src/components/date-picker/index.ts +10 -0
- package/src/components/date-range-picker/CDateRangePicker.ts +635 -0
- package/src/components/date-range-picker/index.ts +10 -0
- package/src/components/dropdown/CDropdownMenu.ts +4 -2
- package/src/components/dropdown/CDropdownToggle.ts +24 -9
- package/src/components/index.ts +5 -0
- package/src/components/picker/CPicker.ts +220 -0
- package/src/components/picker/index.ts +10 -0
- package/src/components/time-picker/CTimePicker.ts +410 -0
- package/src/components/time-picker/CTimePickerRollCol.ts +58 -0
- package/src/components/time-picker/index.ts +10 -0
- package/src/utils/calendar.ts +193 -0
- package/src/utils/time.ts +58 -0
|
@@ -0,0 +1,480 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
declare const CDateRangePicker: import("vue").DefineComponent<{
|
|
3
|
+
/**
|
|
4
|
+
* The number of calendars that render on desktop devices.
|
|
5
|
+
*/
|
|
6
|
+
calendars: {
|
|
7
|
+
type: NumberConstructor;
|
|
8
|
+
default: number;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Default date of the component
|
|
12
|
+
*/
|
|
13
|
+
calendarDate: {
|
|
14
|
+
type: (StringConstructor | DateConstructor)[];
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* Toggle visibility or set the content of cancel button.
|
|
18
|
+
*/
|
|
19
|
+
cancelButton: {
|
|
20
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Sets the color context of the cancel button to one of CoreUI’s themed colors.
|
|
25
|
+
*
|
|
26
|
+
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'
|
|
27
|
+
*/
|
|
28
|
+
cancelButtonColor: {
|
|
29
|
+
default: string;
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
validator: (value: string) => boolean;
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Size the cancel button small or large.
|
|
35
|
+
*
|
|
36
|
+
* @values 'sm', 'lg'
|
|
37
|
+
*/
|
|
38
|
+
cancelButtonSize: {
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
default: string;
|
|
41
|
+
validator: (value: string) => boolean;
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* Set the cancel button variant to an outlined button or a ghost button.
|
|
45
|
+
*
|
|
46
|
+
* @values 'ghost', 'outline'
|
|
47
|
+
*/
|
|
48
|
+
cancelButtonVariant: {
|
|
49
|
+
type: StringConstructor;
|
|
50
|
+
default: string;
|
|
51
|
+
validator: (value: string) => boolean;
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
* Toggle visibility of the cleaner button.
|
|
55
|
+
*/
|
|
56
|
+
cleaner: {
|
|
57
|
+
type: BooleanConstructor;
|
|
58
|
+
default: boolean;
|
|
59
|
+
};
|
|
60
|
+
/**
|
|
61
|
+
* Toggle visibility or set the content of confirm button.
|
|
62
|
+
*/
|
|
63
|
+
confirmButton: {
|
|
64
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
65
|
+
default: string;
|
|
66
|
+
};
|
|
67
|
+
/**
|
|
68
|
+
* Sets the color context of the confirm button to one of CoreUI’s themed colors.
|
|
69
|
+
*
|
|
70
|
+
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'
|
|
71
|
+
*/
|
|
72
|
+
confirmButtonColor: {
|
|
73
|
+
default: string;
|
|
74
|
+
type: StringConstructor;
|
|
75
|
+
validator: (value: string) => boolean;
|
|
76
|
+
};
|
|
77
|
+
/**
|
|
78
|
+
* Size the confirm button small or large.
|
|
79
|
+
*
|
|
80
|
+
* @values 'sm', 'lg'
|
|
81
|
+
*/
|
|
82
|
+
confirmButtonSize: {
|
|
83
|
+
type: StringConstructor;
|
|
84
|
+
default: string;
|
|
85
|
+
validator: (value: string) => boolean;
|
|
86
|
+
};
|
|
87
|
+
/**
|
|
88
|
+
* Set the confirm button variant to an outlined button or a ghost button.
|
|
89
|
+
*
|
|
90
|
+
* @values 'ghost', 'outline'
|
|
91
|
+
*/
|
|
92
|
+
confirmButtonVariant: {
|
|
93
|
+
type: StringConstructor;
|
|
94
|
+
validator: (value: string) => boolean;
|
|
95
|
+
};
|
|
96
|
+
/**
|
|
97
|
+
* Toggle the disabled state for the component.
|
|
98
|
+
*/
|
|
99
|
+
disabled: BooleanConstructor;
|
|
100
|
+
/**
|
|
101
|
+
* Specify the list of dates that cannot be selected.
|
|
102
|
+
*/
|
|
103
|
+
disabledDates: {
|
|
104
|
+
type: PropType<Date[] | Date[][]>;
|
|
105
|
+
};
|
|
106
|
+
/**
|
|
107
|
+
* Initial selected to date (range).
|
|
108
|
+
*/
|
|
109
|
+
endDate: {
|
|
110
|
+
type: (StringConstructor | DateConstructor)[];
|
|
111
|
+
required: false;
|
|
112
|
+
};
|
|
113
|
+
/**
|
|
114
|
+
* Sets the day of start week.
|
|
115
|
+
* - 0 - Sunday,
|
|
116
|
+
* - 1 - Monday,
|
|
117
|
+
* - 2 - Tuesday,
|
|
118
|
+
* - 3 - Wednesday,
|
|
119
|
+
* - 4 - Thursday,
|
|
120
|
+
* - 5 - Friday,
|
|
121
|
+
* - 6 - Saturday,
|
|
122
|
+
* - 7 - Sunday
|
|
123
|
+
*/
|
|
124
|
+
firstDayOfWeek: {
|
|
125
|
+
type: NumberConstructor;
|
|
126
|
+
default: number;
|
|
127
|
+
};
|
|
128
|
+
/**
|
|
129
|
+
* Toggle visibility of footer element or set the content of footer.
|
|
130
|
+
*/
|
|
131
|
+
footer: BooleanConstructor;
|
|
132
|
+
/**
|
|
133
|
+
* Toggle visibility or set the content of the input indicator.
|
|
134
|
+
*/
|
|
135
|
+
indicator: {
|
|
136
|
+
type: BooleanConstructor;
|
|
137
|
+
default: boolean;
|
|
138
|
+
};
|
|
139
|
+
/**
|
|
140
|
+
* Toggle the readonly state for the component.
|
|
141
|
+
*/
|
|
142
|
+
inputReadOnly: BooleanConstructor;
|
|
143
|
+
/**
|
|
144
|
+
* Sets the default locale for components. If not set, it is inherited from the navigator.language.
|
|
145
|
+
*/
|
|
146
|
+
locale: {
|
|
147
|
+
type: StringConstructor;
|
|
148
|
+
default: string;
|
|
149
|
+
};
|
|
150
|
+
/**
|
|
151
|
+
* Max selectable date.
|
|
152
|
+
*/
|
|
153
|
+
maxDate: {
|
|
154
|
+
type: (StringConstructor | DateConstructor)[];
|
|
155
|
+
};
|
|
156
|
+
/**
|
|
157
|
+
* Min selectable date.
|
|
158
|
+
*/
|
|
159
|
+
minDate: {
|
|
160
|
+
type: (StringConstructor | DateConstructor)[];
|
|
161
|
+
};
|
|
162
|
+
/**
|
|
163
|
+
* Show arrows navigation.
|
|
164
|
+
*/
|
|
165
|
+
navigation: {
|
|
166
|
+
type: BooleanConstructor;
|
|
167
|
+
default: boolean;
|
|
168
|
+
};
|
|
169
|
+
/**
|
|
170
|
+
* Specifies a short hint that is visible in the input.
|
|
171
|
+
*/
|
|
172
|
+
placeholder: {
|
|
173
|
+
type: PropType<String | String[]>;
|
|
174
|
+
default: () => string[];
|
|
175
|
+
};
|
|
176
|
+
/**
|
|
177
|
+
* @ignore
|
|
178
|
+
*/
|
|
179
|
+
range: {
|
|
180
|
+
type: BooleanConstructor;
|
|
181
|
+
default: boolean;
|
|
182
|
+
};
|
|
183
|
+
/**
|
|
184
|
+
* Predefined date ranges the user can select from.
|
|
185
|
+
*/
|
|
186
|
+
ranges: ObjectConstructor;
|
|
187
|
+
/**
|
|
188
|
+
* Toggle select mode between start and end date.
|
|
189
|
+
*/
|
|
190
|
+
selectEndDate: BooleanConstructor;
|
|
191
|
+
/**
|
|
192
|
+
* Default icon or character character that separates two dates.
|
|
193
|
+
*/
|
|
194
|
+
separator: {
|
|
195
|
+
type: BooleanConstructor;
|
|
196
|
+
default: boolean;
|
|
197
|
+
};
|
|
198
|
+
/**
|
|
199
|
+
* Size the component small or large.
|
|
200
|
+
*
|
|
201
|
+
* @values 'sm', 'lg'
|
|
202
|
+
*/
|
|
203
|
+
size: {
|
|
204
|
+
type: StringConstructor;
|
|
205
|
+
required: false;
|
|
206
|
+
validator: (value: string) => boolean;
|
|
207
|
+
};
|
|
208
|
+
/**
|
|
209
|
+
* Initial selected date.
|
|
210
|
+
*/
|
|
211
|
+
startDate: {
|
|
212
|
+
type: (StringConstructor | DateConstructor)[];
|
|
213
|
+
};
|
|
214
|
+
/**
|
|
215
|
+
* Provide an additional time selection by adding select boxes to choose times.
|
|
216
|
+
*/
|
|
217
|
+
timepicker: BooleanConstructor;
|
|
218
|
+
/**
|
|
219
|
+
* Set length or format of day name.
|
|
220
|
+
*
|
|
221
|
+
* @type number | 'long' | 'narrow' | 'short'
|
|
222
|
+
*/
|
|
223
|
+
weekdayFormat: {
|
|
224
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
225
|
+
default: number;
|
|
226
|
+
validator: (value: string | number) => boolean;
|
|
227
|
+
};
|
|
228
|
+
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
229
|
+
[key: string]: any;
|
|
230
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
231
|
+
/**
|
|
232
|
+
* The number of calendars that render on desktop devices.
|
|
233
|
+
*/
|
|
234
|
+
calendars: {
|
|
235
|
+
type: NumberConstructor;
|
|
236
|
+
default: number;
|
|
237
|
+
};
|
|
238
|
+
/**
|
|
239
|
+
* Default date of the component
|
|
240
|
+
*/
|
|
241
|
+
calendarDate: {
|
|
242
|
+
type: (StringConstructor | DateConstructor)[];
|
|
243
|
+
};
|
|
244
|
+
/**
|
|
245
|
+
* Toggle visibility or set the content of cancel button.
|
|
246
|
+
*/
|
|
247
|
+
cancelButton: {
|
|
248
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
249
|
+
default: string;
|
|
250
|
+
};
|
|
251
|
+
/**
|
|
252
|
+
* Sets the color context of the cancel button to one of CoreUI’s themed colors.
|
|
253
|
+
*
|
|
254
|
+
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'
|
|
255
|
+
*/
|
|
256
|
+
cancelButtonColor: {
|
|
257
|
+
default: string;
|
|
258
|
+
type: StringConstructor;
|
|
259
|
+
validator: (value: string) => boolean;
|
|
260
|
+
};
|
|
261
|
+
/**
|
|
262
|
+
* Size the cancel button small or large.
|
|
263
|
+
*
|
|
264
|
+
* @values 'sm', 'lg'
|
|
265
|
+
*/
|
|
266
|
+
cancelButtonSize: {
|
|
267
|
+
type: StringConstructor;
|
|
268
|
+
default: string;
|
|
269
|
+
validator: (value: string) => boolean;
|
|
270
|
+
};
|
|
271
|
+
/**
|
|
272
|
+
* Set the cancel button variant to an outlined button or a ghost button.
|
|
273
|
+
*
|
|
274
|
+
* @values 'ghost', 'outline'
|
|
275
|
+
*/
|
|
276
|
+
cancelButtonVariant: {
|
|
277
|
+
type: StringConstructor;
|
|
278
|
+
default: string;
|
|
279
|
+
validator: (value: string) => boolean;
|
|
280
|
+
};
|
|
281
|
+
/**
|
|
282
|
+
* Toggle visibility of the cleaner button.
|
|
283
|
+
*/
|
|
284
|
+
cleaner: {
|
|
285
|
+
type: BooleanConstructor;
|
|
286
|
+
default: boolean;
|
|
287
|
+
};
|
|
288
|
+
/**
|
|
289
|
+
* Toggle visibility or set the content of confirm button.
|
|
290
|
+
*/
|
|
291
|
+
confirmButton: {
|
|
292
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
293
|
+
default: string;
|
|
294
|
+
};
|
|
295
|
+
/**
|
|
296
|
+
* Sets the color context of the confirm button to one of CoreUI’s themed colors.
|
|
297
|
+
*
|
|
298
|
+
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'
|
|
299
|
+
*/
|
|
300
|
+
confirmButtonColor: {
|
|
301
|
+
default: string;
|
|
302
|
+
type: StringConstructor;
|
|
303
|
+
validator: (value: string) => boolean;
|
|
304
|
+
};
|
|
305
|
+
/**
|
|
306
|
+
* Size the confirm button small or large.
|
|
307
|
+
*
|
|
308
|
+
* @values 'sm', 'lg'
|
|
309
|
+
*/
|
|
310
|
+
confirmButtonSize: {
|
|
311
|
+
type: StringConstructor;
|
|
312
|
+
default: string;
|
|
313
|
+
validator: (value: string) => boolean;
|
|
314
|
+
};
|
|
315
|
+
/**
|
|
316
|
+
* Set the confirm button variant to an outlined button or a ghost button.
|
|
317
|
+
*
|
|
318
|
+
* @values 'ghost', 'outline'
|
|
319
|
+
*/
|
|
320
|
+
confirmButtonVariant: {
|
|
321
|
+
type: StringConstructor;
|
|
322
|
+
validator: (value: string) => boolean;
|
|
323
|
+
};
|
|
324
|
+
/**
|
|
325
|
+
* Toggle the disabled state for the component.
|
|
326
|
+
*/
|
|
327
|
+
disabled: BooleanConstructor;
|
|
328
|
+
/**
|
|
329
|
+
* Specify the list of dates that cannot be selected.
|
|
330
|
+
*/
|
|
331
|
+
disabledDates: {
|
|
332
|
+
type: PropType<Date[] | Date[][]>;
|
|
333
|
+
};
|
|
334
|
+
/**
|
|
335
|
+
* Initial selected to date (range).
|
|
336
|
+
*/
|
|
337
|
+
endDate: {
|
|
338
|
+
type: (StringConstructor | DateConstructor)[];
|
|
339
|
+
required: false;
|
|
340
|
+
};
|
|
341
|
+
/**
|
|
342
|
+
* Sets the day of start week.
|
|
343
|
+
* - 0 - Sunday,
|
|
344
|
+
* - 1 - Monday,
|
|
345
|
+
* - 2 - Tuesday,
|
|
346
|
+
* - 3 - Wednesday,
|
|
347
|
+
* - 4 - Thursday,
|
|
348
|
+
* - 5 - Friday,
|
|
349
|
+
* - 6 - Saturday,
|
|
350
|
+
* - 7 - Sunday
|
|
351
|
+
*/
|
|
352
|
+
firstDayOfWeek: {
|
|
353
|
+
type: NumberConstructor;
|
|
354
|
+
default: number;
|
|
355
|
+
};
|
|
356
|
+
/**
|
|
357
|
+
* Toggle visibility of footer element or set the content of footer.
|
|
358
|
+
*/
|
|
359
|
+
footer: BooleanConstructor;
|
|
360
|
+
/**
|
|
361
|
+
* Toggle visibility or set the content of the input indicator.
|
|
362
|
+
*/
|
|
363
|
+
indicator: {
|
|
364
|
+
type: BooleanConstructor;
|
|
365
|
+
default: boolean;
|
|
366
|
+
};
|
|
367
|
+
/**
|
|
368
|
+
* Toggle the readonly state for the component.
|
|
369
|
+
*/
|
|
370
|
+
inputReadOnly: BooleanConstructor;
|
|
371
|
+
/**
|
|
372
|
+
* Sets the default locale for components. If not set, it is inherited from the navigator.language.
|
|
373
|
+
*/
|
|
374
|
+
locale: {
|
|
375
|
+
type: StringConstructor;
|
|
376
|
+
default: string;
|
|
377
|
+
};
|
|
378
|
+
/**
|
|
379
|
+
* Max selectable date.
|
|
380
|
+
*/
|
|
381
|
+
maxDate: {
|
|
382
|
+
type: (StringConstructor | DateConstructor)[];
|
|
383
|
+
};
|
|
384
|
+
/**
|
|
385
|
+
* Min selectable date.
|
|
386
|
+
*/
|
|
387
|
+
minDate: {
|
|
388
|
+
type: (StringConstructor | DateConstructor)[];
|
|
389
|
+
};
|
|
390
|
+
/**
|
|
391
|
+
* Show arrows navigation.
|
|
392
|
+
*/
|
|
393
|
+
navigation: {
|
|
394
|
+
type: BooleanConstructor;
|
|
395
|
+
default: boolean;
|
|
396
|
+
};
|
|
397
|
+
/**
|
|
398
|
+
* Specifies a short hint that is visible in the input.
|
|
399
|
+
*/
|
|
400
|
+
placeholder: {
|
|
401
|
+
type: PropType<String | String[]>;
|
|
402
|
+
default: () => string[];
|
|
403
|
+
};
|
|
404
|
+
/**
|
|
405
|
+
* @ignore
|
|
406
|
+
*/
|
|
407
|
+
range: {
|
|
408
|
+
type: BooleanConstructor;
|
|
409
|
+
default: boolean;
|
|
410
|
+
};
|
|
411
|
+
/**
|
|
412
|
+
* Predefined date ranges the user can select from.
|
|
413
|
+
*/
|
|
414
|
+
ranges: ObjectConstructor;
|
|
415
|
+
/**
|
|
416
|
+
* Toggle select mode between start and end date.
|
|
417
|
+
*/
|
|
418
|
+
selectEndDate: BooleanConstructor;
|
|
419
|
+
/**
|
|
420
|
+
* Default icon or character character that separates two dates.
|
|
421
|
+
*/
|
|
422
|
+
separator: {
|
|
423
|
+
type: BooleanConstructor;
|
|
424
|
+
default: boolean;
|
|
425
|
+
};
|
|
426
|
+
/**
|
|
427
|
+
* Size the component small or large.
|
|
428
|
+
*
|
|
429
|
+
* @values 'sm', 'lg'
|
|
430
|
+
*/
|
|
431
|
+
size: {
|
|
432
|
+
type: StringConstructor;
|
|
433
|
+
required: false;
|
|
434
|
+
validator: (value: string) => boolean;
|
|
435
|
+
};
|
|
436
|
+
/**
|
|
437
|
+
* Initial selected date.
|
|
438
|
+
*/
|
|
439
|
+
startDate: {
|
|
440
|
+
type: (StringConstructor | DateConstructor)[];
|
|
441
|
+
};
|
|
442
|
+
/**
|
|
443
|
+
* Provide an additional time selection by adding select boxes to choose times.
|
|
444
|
+
*/
|
|
445
|
+
timepicker: BooleanConstructor;
|
|
446
|
+
/**
|
|
447
|
+
* Set length or format of day name.
|
|
448
|
+
*
|
|
449
|
+
* @type number | 'long' | 'narrow' | 'short'
|
|
450
|
+
*/
|
|
451
|
+
weekdayFormat: {
|
|
452
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
453
|
+
default: number;
|
|
454
|
+
validator: (value: string | number) => boolean;
|
|
455
|
+
};
|
|
456
|
+
}>>, {
|
|
457
|
+
disabled: boolean;
|
|
458
|
+
firstDayOfWeek: number;
|
|
459
|
+
locale: string;
|
|
460
|
+
navigation: boolean;
|
|
461
|
+
range: boolean;
|
|
462
|
+
selectEndDate: boolean;
|
|
463
|
+
weekdayFormat: string | number;
|
|
464
|
+
cancelButton: string | boolean;
|
|
465
|
+
cancelButtonColor: string;
|
|
466
|
+
cancelButtonSize: string;
|
|
467
|
+
cancelButtonVariant: string;
|
|
468
|
+
confirmButton: string | boolean;
|
|
469
|
+
confirmButtonColor: string;
|
|
470
|
+
confirmButtonSize: string;
|
|
471
|
+
footer: boolean;
|
|
472
|
+
cleaner: boolean;
|
|
473
|
+
indicator: boolean;
|
|
474
|
+
inputReadOnly: boolean;
|
|
475
|
+
placeholder: String | String[];
|
|
476
|
+
calendars: number;
|
|
477
|
+
separator: boolean;
|
|
478
|
+
timepicker: boolean;
|
|
479
|
+
}>;
|
|
480
|
+
export { CDateRangePicker };
|
|
@@ -6,11 +6,14 @@ export * from './badge';
|
|
|
6
6
|
export * from './breadcrumb';
|
|
7
7
|
export * from './button';
|
|
8
8
|
export * from './button-group';
|
|
9
|
+
export * from './calendar';
|
|
9
10
|
export * from './callout';
|
|
10
11
|
export * from './card';
|
|
11
12
|
export * from './carousel';
|
|
12
13
|
export * from './close-button';
|
|
13
14
|
export * from './collapse';
|
|
15
|
+
export * from './date-picker';
|
|
16
|
+
export * from './date-range-picker';
|
|
14
17
|
export * from './dropdown';
|
|
15
18
|
export * from './element-cover';
|
|
16
19
|
export * from './footer';
|
|
@@ -27,6 +30,7 @@ export * from './nav';
|
|
|
27
30
|
export * from './navbar';
|
|
28
31
|
export * from './offcanvas';
|
|
29
32
|
export * from './pagination';
|
|
33
|
+
export * from './picker';
|
|
30
34
|
export * from './placeholder';
|
|
31
35
|
export * from './progress';
|
|
32
36
|
export * from './popover';
|
|
@@ -35,6 +39,7 @@ export * from './smart-table';
|
|
|
35
39
|
export * from './spinner';
|
|
36
40
|
export * from './table';
|
|
37
41
|
export * from './tabs';
|
|
42
|
+
export * from './time-picker';
|
|
38
43
|
export * from './toast';
|
|
39
44
|
export * from './tooltip';
|
|
40
45
|
export * from './widgets';
|
|
@@ -275,13 +275,13 @@ declare const CMultiSelect: import("vue").DefineComponent<{
|
|
|
275
275
|
visible: boolean;
|
|
276
276
|
multiple: boolean;
|
|
277
277
|
options: Option[];
|
|
278
|
+
cleaner: boolean;
|
|
279
|
+
placeholder: string;
|
|
278
280
|
optionsMaxHeight: string | number;
|
|
279
281
|
optionsStyle: string;
|
|
280
282
|
searchNoResultsLabel: string;
|
|
281
283
|
selectionType: string;
|
|
282
284
|
selectionTypeCounterText: string;
|
|
283
|
-
cleaner: boolean;
|
|
284
|
-
placeholder: string;
|
|
285
285
|
selectAll: boolean;
|
|
286
286
|
selectAllLabel: string;
|
|
287
287
|
}>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
declare const CPicker: import("vue").DefineComponent<any, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
2
|
+
[key: string]: any;
|
|
3
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("hide" | "show" | "cancel" | "confirm")[], "hide" | "show" | "cancel" | "confirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<any> & {
|
|
4
|
+
onHide?: ((...args: any[]) => any) | undefined;
|
|
5
|
+
onShow?: ((...args: any[]) => any) | undefined;
|
|
6
|
+
onCancel?: ((...args: any[]) => any) | undefined;
|
|
7
|
+
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
8
|
+
}, {} | {
|
|
9
|
+
[x: string]: any;
|
|
10
|
+
}>;
|
|
11
|
+
export { CPicker };
|
|
@@ -107,9 +107,9 @@ declare const CPopover: import("vue").DefineComponent<{
|
|
|
107
107
|
onShow?: ((...args: any[]) => any) | undefined;
|
|
108
108
|
}, {
|
|
109
109
|
visible: boolean;
|
|
110
|
+
title: string;
|
|
110
111
|
placement: Placement;
|
|
111
112
|
trigger: string | string[];
|
|
112
|
-
title: string;
|
|
113
113
|
content: string;
|
|
114
114
|
offset: unknown[];
|
|
115
115
|
}>;
|
|
@@ -122,9 +122,9 @@ declare const CSidebar: import("vue").DefineComponent<{
|
|
|
122
122
|
visible: boolean;
|
|
123
123
|
size: string;
|
|
124
124
|
position: string;
|
|
125
|
+
narrow: boolean;
|
|
125
126
|
placement: string;
|
|
126
127
|
colorScheme: string;
|
|
127
|
-
narrow: boolean;
|
|
128
128
|
overlaid: boolean;
|
|
129
129
|
unfoldable: boolean;
|
|
130
130
|
}>;
|
|
@@ -567,8 +567,8 @@ declare const CSmartTable: import("vue").DefineComponent<{
|
|
|
567
567
|
items: Item[];
|
|
568
568
|
footer: boolean;
|
|
569
569
|
header: boolean;
|
|
570
|
-
loading: boolean;
|
|
571
570
|
cleaner: boolean;
|
|
571
|
+
loading: boolean;
|
|
572
572
|
pagination: boolean;
|
|
573
573
|
activePage: number;
|
|
574
574
|
clickableRows: boolean;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare const CTimePicker: import("vue").DefineComponent<any, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
2
|
+
[key: string]: any;
|
|
3
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("hide" | "show" | "change")[], "hide" | "show" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<any> & {
|
|
4
|
+
onHide?: ((...args: any[]) => any) | undefined;
|
|
5
|
+
onShow?: ((...args: any[]) => any) | undefined;
|
|
6
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
7
|
+
}, {} | {
|
|
8
|
+
[x: string]: any;
|
|
9
|
+
}>;
|
|
10
|
+
export { CTimePicker };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
export interface Element {
|
|
3
|
+
value: number | string;
|
|
4
|
+
label: number | string;
|
|
5
|
+
}
|
|
6
|
+
declare const CTimePickerRollCol: import("vue").DefineComponent<{
|
|
7
|
+
elements: {
|
|
8
|
+
type: PropType<Element[]>;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
selected: {
|
|
12
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
13
|
+
};
|
|
14
|
+
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
15
|
+
[key: string]: any;
|
|
16
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
|
+
elements: {
|
|
18
|
+
type: PropType<Element[]>;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
21
|
+
selected: {
|
|
22
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
23
|
+
};
|
|
24
|
+
}>> & {
|
|
25
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
26
|
+
}, {}>;
|
|
27
|
+
export { CTimePickerRollCol };
|