@coreui/vue-pro 4.5.0 → 4.6.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.
@@ -13,6 +13,18 @@ declare const CCalendar: import("vue").DefineComponent<{
13
13
  type: NumberConstructor;
14
14
  default: number;
15
15
  };
16
+ /**
17
+ * Set the format of day name.
18
+ *
19
+ * @default 'numeric'
20
+ * @since 4.6.0
21
+ */
22
+ dayFormat: {
23
+ type: (StringConstructor | FunctionConstructor)[];
24
+ default: string;
25
+ required: false;
26
+ validator: (value: string) => boolean;
27
+ };
16
28
  /**
17
29
  * Specify the list of dates that cannot be selected.
18
30
  */
@@ -65,6 +77,12 @@ declare const CCalendar: import("vue").DefineComponent<{
65
77
  type: BooleanConstructor;
66
78
  default: boolean;
67
79
  };
80
+ /**
81
+ * Reorder year-month navigation, and render year first.
82
+ *
83
+ * @since 4.6.0
84
+ */
85
+ navYearFirst: BooleanConstructor;
68
86
  /**
69
87
  * Allow range selection.
70
88
  */
@@ -85,7 +103,7 @@ declare const CCalendar: import("vue").DefineComponent<{
85
103
  * @type number | 'long' | 'narrow' | 'short'
86
104
  */
87
105
  weekdayFormat: {
88
- type: (NumberConstructor | StringConstructor)[];
106
+ type: (NumberConstructor | StringConstructor | FunctionConstructor)[];
89
107
  default: number;
90
108
  validator: (value: string | number) => boolean;
91
109
  };
@@ -105,6 +123,18 @@ declare const CCalendar: import("vue").DefineComponent<{
105
123
  type: NumberConstructor;
106
124
  default: number;
107
125
  };
126
+ /**
127
+ * Set the format of day name.
128
+ *
129
+ * @default 'numeric'
130
+ * @since 4.6.0
131
+ */
132
+ dayFormat: {
133
+ type: (StringConstructor | FunctionConstructor)[];
134
+ default: string;
135
+ required: false;
136
+ validator: (value: string) => boolean;
137
+ };
108
138
  /**
109
139
  * Specify the list of dates that cannot be selected.
110
140
  */
@@ -157,6 +187,12 @@ declare const CCalendar: import("vue").DefineComponent<{
157
187
  type: BooleanConstructor;
158
188
  default: boolean;
159
189
  };
190
+ /**
191
+ * Reorder year-month navigation, and render year first.
192
+ *
193
+ * @since 4.6.0
194
+ */
195
+ navYearFirst: BooleanConstructor;
160
196
  /**
161
197
  * Allow range selection.
162
198
  */
@@ -177,7 +213,7 @@ declare const CCalendar: import("vue").DefineComponent<{
177
213
  * @type number | 'long' | 'narrow' | 'short'
178
214
  */
179
215
  weekdayFormat: {
180
- type: (NumberConstructor | StringConstructor)[];
216
+ type: (NumberConstructor | StringConstructor | FunctionConstructor)[];
181
217
  default: number;
182
218
  validator: (value: string | number) => boolean;
183
219
  };
@@ -188,11 +224,13 @@ declare const CCalendar: import("vue").DefineComponent<{
188
224
  "onEnd-date-change"?: ((...args: any[]) => any) | undefined;
189
225
  }, {
190
226
  calendars: number;
227
+ dayFormat: string | Function;
191
228
  firstDayOfWeek: number;
192
229
  locale: string;
193
230
  navigation: boolean;
231
+ navYearFirst: boolean;
194
232
  range: boolean;
195
233
  selectEndDate: boolean;
196
- weekdayFormat: string | number;
234
+ weekdayFormat: string | number | Function;
197
235
  }>;
198
236
  export { CCalendar };
@@ -86,6 +86,18 @@ declare const CDatePicker: import("vue").DefineComponent<{
86
86
  type: StringConstructor;
87
87
  validator: (value: string) => boolean;
88
88
  };
89
+ /**
90
+ * Set the format of day name.
91
+ *
92
+ * @default 'numeric'
93
+ * @since 4.6.0
94
+ */
95
+ dayFormat: {
96
+ type: (StringConstructor | FunctionConstructor)[];
97
+ default: string;
98
+ required: false;
99
+ validator: (value: string) => boolean;
100
+ };
89
101
  /**
90
102
  * Toggle the disabled state for the component.
91
103
  */
@@ -170,6 +182,12 @@ declare const CDatePicker: import("vue").DefineComponent<{
170
182
  type: BooleanConstructor;
171
183
  default: boolean;
172
184
  };
185
+ /**
186
+ * Reorder year-month navigation, and render year first.
187
+ *
188
+ * @since 4.6.0
189
+ */
190
+ navYearFirst: BooleanConstructor;
173
191
  /**
174
192
  * Specifies a short hint that is visible in the input.
175
193
  */
@@ -197,7 +215,7 @@ declare const CDatePicker: import("vue").DefineComponent<{
197
215
  * @type number | 'long' | 'narrow' | 'short'
198
216
  */
199
217
  weekdayFormat: {
200
- type: (NumberConstructor | StringConstructor)[];
218
+ type: (NumberConstructor | StringConstructor | FunctionConstructor)[];
201
219
  default: number;
202
220
  validator: (value: string | number) => boolean;
203
221
  };
@@ -290,6 +308,18 @@ declare const CDatePicker: import("vue").DefineComponent<{
290
308
  type: StringConstructor;
291
309
  validator: (value: string) => boolean;
292
310
  };
311
+ /**
312
+ * Set the format of day name.
313
+ *
314
+ * @default 'numeric'
315
+ * @since 4.6.0
316
+ */
317
+ dayFormat: {
318
+ type: (StringConstructor | FunctionConstructor)[];
319
+ default: string;
320
+ required: false;
321
+ validator: (value: string) => boolean;
322
+ };
293
323
  /**
294
324
  * Toggle the disabled state for the component.
295
325
  */
@@ -374,6 +404,12 @@ declare const CDatePicker: import("vue").DefineComponent<{
374
404
  type: BooleanConstructor;
375
405
  default: boolean;
376
406
  };
407
+ /**
408
+ * Reorder year-month navigation, and render year first.
409
+ *
410
+ * @since 4.6.0
411
+ */
412
+ navYearFirst: BooleanConstructor;
377
413
  /**
378
414
  * Specifies a short hint that is visible in the input.
379
415
  */
@@ -401,7 +437,7 @@ declare const CDatePicker: import("vue").DefineComponent<{
401
437
  * @type number | 'long' | 'narrow' | 'short'
402
438
  */
403
439
  weekdayFormat: {
404
- type: (NumberConstructor | StringConstructor)[];
440
+ type: (NumberConstructor | StringConstructor | FunctionConstructor)[];
405
441
  default: number;
406
442
  validator: (value: string | number) => boolean;
407
443
  };
@@ -409,10 +445,12 @@ declare const CDatePicker: import("vue").DefineComponent<{
409
445
  "onDate-change"?: ((...args: any[]) => any) | undefined;
410
446
  }, {
411
447
  disabled: boolean;
448
+ dayFormat: string | Function;
412
449
  firstDayOfWeek: number;
413
450
  locale: string;
414
451
  navigation: boolean;
415
- weekdayFormat: string | number;
452
+ navYearFirst: boolean;
453
+ weekdayFormat: string | number | Function;
416
454
  cancelButton: string | boolean;
417
455
  cancelButtonColor: string;
418
456
  cancelButtonSize: string;
@@ -93,6 +93,18 @@ declare const CDateRangePicker: import("vue").DefineComponent<{
93
93
  type: StringConstructor;
94
94
  validator: (value: string) => boolean;
95
95
  };
96
+ /**
97
+ * Set the format of day name.
98
+ *
99
+ * @default 'numeric'
100
+ * @since 4.6.0
101
+ */
102
+ dayFormat: {
103
+ type: (StringConstructor | FunctionConstructor)[];
104
+ default: string;
105
+ required: false;
106
+ validator: (value: string) => boolean;
107
+ };
96
108
  /**
97
109
  * Toggle the disabled state for the component.
98
110
  */
@@ -110,6 +122,30 @@ declare const CDateRangePicker: import("vue").DefineComponent<{
110
122
  type: (StringConstructor | DateConstructor)[];
111
123
  required: false;
112
124
  };
125
+ /**
126
+ * Provide valuable, actionable feedback.
127
+ *
128
+ * @since 4.6.0
129
+ */
130
+ feedback: {
131
+ type: StringConstructor;
132
+ };
133
+ /**
134
+ * Provide valuable, actionable feedback.
135
+ *
136
+ * @since 4.6.0
137
+ */
138
+ feedbackInvalid: {
139
+ type: StringConstructor;
140
+ };
141
+ /**
142
+ * Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, `:invalid` and `:valid`.
143
+ *
144
+ * @since 4.6.0
145
+ */
146
+ feedbackValid: {
147
+ type: StringConstructor;
148
+ };
113
149
  /**
114
150
  * Sets the day of start week.
115
151
  * - 0 - Sunday,
@@ -152,6 +188,20 @@ declare const CDateRangePicker: import("vue").DefineComponent<{
152
188
  * Toggle the readonly state for the component.
153
189
  */
154
190
  inputReadOnly: BooleanConstructor;
191
+ /**
192
+ * Set component validation state to invalid.
193
+ *
194
+ * @since 4.6.0
195
+ */
196
+ invalid: BooleanConstructor;
197
+ /**
198
+ * Add a caption for a component.
199
+ *
200
+ * @since 4.6.0
201
+ */
202
+ label: {
203
+ type: StringConstructor;
204
+ };
155
205
  /**
156
206
  * Sets the default locale for components. If not set, it is inherited from the navigator.language.
157
207
  */
@@ -178,6 +228,12 @@ declare const CDateRangePicker: import("vue").DefineComponent<{
178
228
  type: BooleanConstructor;
179
229
  default: boolean;
180
230
  };
231
+ /**
232
+ * Reorder year-month navigation, and render year first.
233
+ *
234
+ * @since 4.6.0
235
+ */
236
+ navYearFirst: BooleanConstructor;
181
237
  /**
182
238
  * Specifies a short hint that is visible in the input.
183
239
  */
@@ -223,6 +279,14 @@ declare const CDateRangePicker: import("vue").DefineComponent<{
223
279
  startDate: {
224
280
  type: (StringConstructor | DateConstructor)[];
225
281
  };
282
+ /**
283
+ * Add helper text to the component.
284
+ *
285
+ * @since 4.6.0
286
+ */
287
+ text: {
288
+ type: StringConstructor;
289
+ };
226
290
  /**
227
291
  * Provide an additional time selection by adding select boxes to choose times.
228
292
  */
@@ -263,13 +327,25 @@ declare const CDateRangePicker: import("vue").DefineComponent<{
263
327
  type: StringConstructor;
264
328
  validator: (value: string) => boolean;
265
329
  };
330
+ /**
331
+ * Display validation feedback in a styled tooltip.
332
+ *
333
+ * @since 4.6.0
334
+ */
335
+ tooltipFeedback: BooleanConstructor;
336
+ /**
337
+ * Set component validation state to valid.
338
+ *
339
+ * @since 4.6.0
340
+ */
341
+ valid: BooleanConstructor;
266
342
  /**
267
343
  * Set length or format of day name.
268
344
  *
269
345
  * @type number | 'long' | 'narrow' | 'short'
270
346
  */
271
347
  weekdayFormat: {
272
- type: (NumberConstructor | StringConstructor)[];
348
+ type: (NumberConstructor | StringConstructor | FunctionConstructor)[];
273
349
  default: number;
274
350
  validator: (value: string | number) => boolean;
275
351
  };
@@ -369,6 +445,18 @@ declare const CDateRangePicker: import("vue").DefineComponent<{
369
445
  type: StringConstructor;
370
446
  validator: (value: string) => boolean;
371
447
  };
448
+ /**
449
+ * Set the format of day name.
450
+ *
451
+ * @default 'numeric'
452
+ * @since 4.6.0
453
+ */
454
+ dayFormat: {
455
+ type: (StringConstructor | FunctionConstructor)[];
456
+ default: string;
457
+ required: false;
458
+ validator: (value: string) => boolean;
459
+ };
372
460
  /**
373
461
  * Toggle the disabled state for the component.
374
462
  */
@@ -386,6 +474,30 @@ declare const CDateRangePicker: import("vue").DefineComponent<{
386
474
  type: (StringConstructor | DateConstructor)[];
387
475
  required: false;
388
476
  };
477
+ /**
478
+ * Provide valuable, actionable feedback.
479
+ *
480
+ * @since 4.6.0
481
+ */
482
+ feedback: {
483
+ type: StringConstructor;
484
+ };
485
+ /**
486
+ * Provide valuable, actionable feedback.
487
+ *
488
+ * @since 4.6.0
489
+ */
490
+ feedbackInvalid: {
491
+ type: StringConstructor;
492
+ };
493
+ /**
494
+ * Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, `:invalid` and `:valid`.
495
+ *
496
+ * @since 4.6.0
497
+ */
498
+ feedbackValid: {
499
+ type: StringConstructor;
500
+ };
389
501
  /**
390
502
  * Sets the day of start week.
391
503
  * - 0 - Sunday,
@@ -428,6 +540,20 @@ declare const CDateRangePicker: import("vue").DefineComponent<{
428
540
  * Toggle the readonly state for the component.
429
541
  */
430
542
  inputReadOnly: BooleanConstructor;
543
+ /**
544
+ * Set component validation state to invalid.
545
+ *
546
+ * @since 4.6.0
547
+ */
548
+ invalid: BooleanConstructor;
549
+ /**
550
+ * Add a caption for a component.
551
+ *
552
+ * @since 4.6.0
553
+ */
554
+ label: {
555
+ type: StringConstructor;
556
+ };
431
557
  /**
432
558
  * Sets the default locale for components. If not set, it is inherited from the navigator.language.
433
559
  */
@@ -454,6 +580,12 @@ declare const CDateRangePicker: import("vue").DefineComponent<{
454
580
  type: BooleanConstructor;
455
581
  default: boolean;
456
582
  };
583
+ /**
584
+ * Reorder year-month navigation, and render year first.
585
+ *
586
+ * @since 4.6.0
587
+ */
588
+ navYearFirst: BooleanConstructor;
457
589
  /**
458
590
  * Specifies a short hint that is visible in the input.
459
591
  */
@@ -499,6 +631,14 @@ declare const CDateRangePicker: import("vue").DefineComponent<{
499
631
  startDate: {
500
632
  type: (StringConstructor | DateConstructor)[];
501
633
  };
634
+ /**
635
+ * Add helper text to the component.
636
+ *
637
+ * @since 4.6.0
638
+ */
639
+ text: {
640
+ type: StringConstructor;
641
+ };
502
642
  /**
503
643
  * Provide an additional time selection by adding select boxes to choose times.
504
644
  */
@@ -539,13 +679,25 @@ declare const CDateRangePicker: import("vue").DefineComponent<{
539
679
  type: StringConstructor;
540
680
  validator: (value: string) => boolean;
541
681
  };
682
+ /**
683
+ * Display validation feedback in a styled tooltip.
684
+ *
685
+ * @since 4.6.0
686
+ */
687
+ tooltipFeedback: BooleanConstructor;
688
+ /**
689
+ * Set component validation state to valid.
690
+ *
691
+ * @since 4.6.0
692
+ */
693
+ valid: BooleanConstructor;
542
694
  /**
543
695
  * Set length or format of day name.
544
696
  *
545
697
  * @type number | 'long' | 'narrow' | 'short'
546
698
  */
547
699
  weekdayFormat: {
548
- type: (NumberConstructor | StringConstructor)[];
700
+ type: (NumberConstructor | StringConstructor | FunctionConstructor)[];
549
701
  default: number;
550
702
  validator: (value: string | number) => boolean;
551
703
  };
@@ -555,14 +707,19 @@ declare const CDateRangePicker: import("vue").DefineComponent<{
555
707
  "onStart-date-change"?: ((...args: any[]) => any) | undefined;
556
708
  "onEnd-date-change"?: ((...args: any[]) => any) | undefined;
557
709
  }, {
710
+ invalid: boolean;
558
711
  disabled: boolean;
559
712
  calendars: number;
713
+ dayFormat: string | Function;
560
714
  firstDayOfWeek: number;
561
715
  locale: string;
562
716
  navigation: boolean;
717
+ navYearFirst: boolean;
563
718
  range: boolean;
564
719
  selectEndDate: boolean;
565
- weekdayFormat: string | number;
720
+ weekdayFormat: string | number | Function;
721
+ valid: boolean;
722
+ tooltipFeedback: boolean;
566
723
  cancelButton: string | boolean;
567
724
  cancelButtonColor: string;
568
725
  cancelButtonSize: string;
@@ -27,6 +27,50 @@ declare const CMultiSelect: import("vue").DefineComponent<{
27
27
  required: false;
28
28
  default: boolean;
29
29
  };
30
+ /**
31
+ * Provide valuable, actionable feedback.
32
+ *
33
+ * @since 4.6.0
34
+ */
35
+ feedback: {
36
+ type: StringConstructor;
37
+ };
38
+ /**
39
+ * Provide valuable, actionable feedback.
40
+ *
41
+ * @since 4.6.0
42
+ */
43
+ feedbackInvalid: {
44
+ type: StringConstructor;
45
+ };
46
+ /**
47
+ * Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, `:invalid` and `:valid`.
48
+ *
49
+ * @since 4.6.0
50
+ */
51
+ feedbackValid: {
52
+ type: StringConstructor;
53
+ };
54
+ /**
55
+ * The id global attribute defines an identifier (ID) that must be unique in the whole document.
56
+ */
57
+ id: {
58
+ type: StringConstructor;
59
+ };
60
+ /**
61
+ * Set component validation state to invalid.
62
+ *
63
+ * @since 4.6.0
64
+ */
65
+ invalid: BooleanConstructor;
66
+ /**
67
+ * Add a caption for a component.
68
+ *
69
+ * @since 4.6.0
70
+ */
71
+ label: {
72
+ type: StringConstructor;
73
+ };
30
74
  /**
31
75
  * It specifies that multiple options can be selected at once.
32
76
  *
@@ -145,6 +189,26 @@ declare const CMultiSelect: import("vue").DefineComponent<{
145
189
  required: false;
146
190
  validator: (value: string) => boolean;
147
191
  };
192
+ /**
193
+ * Add helper text to the component.
194
+ *
195
+ * @since 4.6.0
196
+ */
197
+ text: {
198
+ type: StringConstructor;
199
+ };
200
+ /**
201
+ * Display validation feedback in a styled tooltip.
202
+ *
203
+ * @since 4.6.0
204
+ */
205
+ tooltipFeedback: BooleanConstructor;
206
+ /**
207
+ * Set component validation state to valid.
208
+ *
209
+ * @since 4.6.0
210
+ */
211
+ valid: BooleanConstructor;
148
212
  /**
149
213
  * Toggle the visibility of multi select dropdown.
150
214
  *
@@ -176,6 +240,50 @@ declare const CMultiSelect: import("vue").DefineComponent<{
176
240
  required: false;
177
241
  default: boolean;
178
242
  };
243
+ /**
244
+ * Provide valuable, actionable feedback.
245
+ *
246
+ * @since 4.6.0
247
+ */
248
+ feedback: {
249
+ type: StringConstructor;
250
+ };
251
+ /**
252
+ * Provide valuable, actionable feedback.
253
+ *
254
+ * @since 4.6.0
255
+ */
256
+ feedbackInvalid: {
257
+ type: StringConstructor;
258
+ };
259
+ /**
260
+ * Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, `:invalid` and `:valid`.
261
+ *
262
+ * @since 4.6.0
263
+ */
264
+ feedbackValid: {
265
+ type: StringConstructor;
266
+ };
267
+ /**
268
+ * The id global attribute defines an identifier (ID) that must be unique in the whole document.
269
+ */
270
+ id: {
271
+ type: StringConstructor;
272
+ };
273
+ /**
274
+ * Set component validation state to invalid.
275
+ *
276
+ * @since 4.6.0
277
+ */
278
+ invalid: BooleanConstructor;
279
+ /**
280
+ * Add a caption for a component.
281
+ *
282
+ * @since 4.6.0
283
+ */
284
+ label: {
285
+ type: StringConstructor;
286
+ };
179
287
  /**
180
288
  * It specifies that multiple options can be selected at once.
181
289
  *
@@ -294,6 +402,26 @@ declare const CMultiSelect: import("vue").DefineComponent<{
294
402
  required: false;
295
403
  validator: (value: string) => boolean;
296
404
  };
405
+ /**
406
+ * Add helper text to the component.
407
+ *
408
+ * @since 4.6.0
409
+ */
410
+ text: {
411
+ type: StringConstructor;
412
+ };
413
+ /**
414
+ * Display validation feedback in a styled tooltip.
415
+ *
416
+ * @since 4.6.0
417
+ */
418
+ tooltipFeedback: BooleanConstructor;
419
+ /**
420
+ * Set component validation state to valid.
421
+ *
422
+ * @since 4.6.0
423
+ */
424
+ valid: BooleanConstructor;
297
425
  /**
298
426
  * Toggle the visibility of multi select dropdown.
299
427
  *
@@ -308,8 +436,11 @@ declare const CMultiSelect: import("vue").DefineComponent<{
308
436
  onChange?: ((...args: any[]) => any) | undefined;
309
437
  }, {
310
438
  search: boolean;
439
+ invalid: boolean;
311
440
  visible: boolean;
312
441
  disabled: boolean;
442
+ valid: boolean;
443
+ tooltipFeedback: boolean;
313
444
  multiple: boolean;
314
445
  options: Option[];
315
446
  cleaner: boolean;