@coreui/vue-pro 4.3.0-beta.1 → 4.3.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 +15 -2
- package/dist/components/carousel/CCarousel.d.ts +1 -1
- package/dist/components/date-picker/CDatePicker.d.ts +10 -2
- package/dist/components/date-range-picker/CDateRangePicker.d.ts +86 -3
- package/dist/components/form/CFormCheck.d.ts +88 -39
- package/dist/components/form/CFormControlValidation.d.ts +98 -0
- package/dist/components/form/CFormControlWrapper.d.ts +6 -0
- package/dist/components/form/CFormFeedback.d.ts +2 -2
- package/dist/components/form/CFormInput.d.ts +125 -25
- package/dist/components/form/CFormRange.d.ts +18 -16
- package/dist/components/form/CFormSelect.d.ts +125 -16
- package/dist/components/form/CFormSwitch.d.ts +0 -23
- package/dist/components/form/CFormTextarea.d.ts +125 -24
- package/dist/components/modal/CModal.d.ts +1 -1
- package/dist/components/offcanvas/COffcanvas.d.ts +1 -1
- package/dist/components/time-picker/CTimePicker.d.ts +1 -1
- package/dist/components/toast/CToast.d.ts +7 -1
- package/dist/index.es.js +3583 -577
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +3582 -576
- package/dist/index.js.map +1 -1
- package/dist/utils/calendar.d.ts +3 -1
- package/dist/utils/time.d.ts +6 -2
- package/dist/utils/transition.d.ts +3 -0
- package/package.json +11 -10
- package/src/components/backdrop/CBackdrop.ts +8 -6
- package/src/components/button/CButton.ts +2 -2
- package/src/components/calendar/CCalendar.ts +132 -62
- package/src/components/collapse/CCollapse.ts +5 -6
- package/src/components/date-picker/CDatePicker.ts +7 -10
- package/src/components/date-range-picker/CDateRangePicker.ts +198 -100
- package/src/components/form/CFormCheck.ts +119 -94
- package/src/components/form/CFormControlValidation.ts +97 -0
- package/src/components/form/CFormControlWrapper.ts +106 -0
- package/src/components/form/CFormInput.ts +113 -29
- package/src/components/form/CFormRange.ts +25 -11
- package/src/components/form/CFormSelect.ts +126 -41
- package/src/components/form/CFormSwitch.ts +2 -21
- package/src/components/form/CFormTextarea.ts +105 -25
- package/src/components/modal/CModal.ts +14 -6
- package/src/components/nav/CNavGroup.ts +4 -6
- package/src/components/offcanvas/COffcanvas.ts +5 -7
- package/src/components/picker/CPicker.ts +1 -0
- package/src/components/popover/CPopover.ts +5 -5
- package/src/components/tabs/CTabPane.ts +4 -6
- package/src/components/time-picker/CTimePicker.ts +12 -17
- package/src/components/toast/CToast.ts +17 -12
- package/src/components/tooltip/CTooltip.ts +5 -5
- package/src/utils/calendar.ts +86 -9
- package/src/utils/time.ts +29 -3
- package/src/utils/transition.ts +65 -0
package/README.md
CHANGED
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
|
|
44
44
|
Several quick start options are available:
|
|
45
45
|
|
|
46
|
-
- [Download the latest release](https://github.com/coreui/coreui-vue-pro/archive/v4.3.0
|
|
46
|
+
- [Download the latest release](https://github.com/coreui/coreui-vue-pro/archive/v4.3.0.zip)
|
|
47
47
|
- Clone the repo: `git clone https://github.com/coreui/coreui-vue-pro.git`
|
|
48
48
|
- Install with [npm](https://www.npmjs.com/): `npm install @coreui/vue-pro`
|
|
49
49
|
- Install with [yarn](https://yarnpkg.com/): `yarn add @coreui/vue-pro`
|
|
@@ -6,6 +6,13 @@ declare const CCalendar: import("vue").DefineComponent<{
|
|
|
6
6
|
calendarDate: {
|
|
7
7
|
type: (StringConstructor | DateConstructor)[];
|
|
8
8
|
};
|
|
9
|
+
/**
|
|
10
|
+
* The number of calendars that render on desktop devices.
|
|
11
|
+
*/
|
|
12
|
+
calendars: {
|
|
13
|
+
type: NumberConstructor;
|
|
14
|
+
default: number;
|
|
15
|
+
};
|
|
9
16
|
/**
|
|
10
17
|
* Specify the list of dates that cannot be selected.
|
|
11
18
|
*/
|
|
@@ -27,7 +34,6 @@ declare const CCalendar: import("vue").DefineComponent<{
|
|
|
27
34
|
* - 4 - Thursday,
|
|
28
35
|
* - 5 - Friday,
|
|
29
36
|
* - 6 - Saturday,
|
|
30
|
-
* - 7 - Sunday
|
|
31
37
|
*/
|
|
32
38
|
firstDayOfWeek: {
|
|
33
39
|
type: NumberConstructor;
|
|
@@ -92,6 +98,13 @@ declare const CCalendar: import("vue").DefineComponent<{
|
|
|
92
98
|
calendarDate: {
|
|
93
99
|
type: (StringConstructor | DateConstructor)[];
|
|
94
100
|
};
|
|
101
|
+
/**
|
|
102
|
+
* The number of calendars that render on desktop devices.
|
|
103
|
+
*/
|
|
104
|
+
calendars: {
|
|
105
|
+
type: NumberConstructor;
|
|
106
|
+
default: number;
|
|
107
|
+
};
|
|
95
108
|
/**
|
|
96
109
|
* Specify the list of dates that cannot be selected.
|
|
97
110
|
*/
|
|
@@ -113,7 +126,6 @@ declare const CCalendar: import("vue").DefineComponent<{
|
|
|
113
126
|
* - 4 - Thursday,
|
|
114
127
|
* - 5 - Friday,
|
|
115
128
|
* - 6 - Saturday,
|
|
116
|
-
* - 7 - Sunday
|
|
117
129
|
*/
|
|
118
130
|
firstDayOfWeek: {
|
|
119
131
|
type: NumberConstructor;
|
|
@@ -175,6 +187,7 @@ declare const CCalendar: import("vue").DefineComponent<{
|
|
|
175
187
|
"onStart-date-change"?: ((...args: any[]) => any) | undefined;
|
|
176
188
|
"onEnd-date-change"?: ((...args: any[]) => any) | undefined;
|
|
177
189
|
}, {
|
|
190
|
+
calendars: number;
|
|
178
191
|
firstDayOfWeek: number;
|
|
179
192
|
locale: string;
|
|
180
193
|
navigation: boolean;
|
|
@@ -117,12 +117,12 @@ declare const CCarousel: import("vue").DefineComponent<{
|
|
|
117
117
|
};
|
|
118
118
|
}>>, {
|
|
119
119
|
transition: string;
|
|
120
|
+
pause: string | boolean;
|
|
120
121
|
dark: boolean;
|
|
121
122
|
controls: boolean;
|
|
122
123
|
index: number;
|
|
123
124
|
indicators: boolean;
|
|
124
125
|
interval: number | boolean;
|
|
125
|
-
pause: string | boolean;
|
|
126
126
|
wrap: boolean;
|
|
127
127
|
}>;
|
|
128
128
|
export { CCarousel };
|
|
@@ -112,12 +112,16 @@ declare const CDatePicker: import("vue").DefineComponent<{
|
|
|
112
112
|
* - 4 - Thursday,
|
|
113
113
|
* - 5 - Friday,
|
|
114
114
|
* - 6 - Saturday,
|
|
115
|
-
* - 7 - Sunday
|
|
116
115
|
*/
|
|
117
116
|
firstDayOfWeek: {
|
|
118
117
|
type: NumberConstructor;
|
|
119
118
|
default: number;
|
|
120
119
|
};
|
|
120
|
+
/**
|
|
121
|
+
* Set date format.
|
|
122
|
+
* We use date-fns to format dates. Visit https://date-fns.org/v2.28.0/docs/format to check accepted patterns.
|
|
123
|
+
*/
|
|
124
|
+
format: StringConstructor;
|
|
121
125
|
/**
|
|
122
126
|
* Toggle visibility of footer element or set the content of footer.
|
|
123
127
|
*/
|
|
@@ -305,12 +309,16 @@ declare const CDatePicker: import("vue").DefineComponent<{
|
|
|
305
309
|
* - 4 - Thursday,
|
|
306
310
|
* - 5 - Friday,
|
|
307
311
|
* - 6 - Saturday,
|
|
308
|
-
* - 7 - Sunday
|
|
309
312
|
*/
|
|
310
313
|
firstDayOfWeek: {
|
|
311
314
|
type: NumberConstructor;
|
|
312
315
|
default: number;
|
|
313
316
|
};
|
|
317
|
+
/**
|
|
318
|
+
* Set date format.
|
|
319
|
+
* We use date-fns to format dates. Visit https://date-fns.org/v2.28.0/docs/format to check accepted patterns.
|
|
320
|
+
*/
|
|
321
|
+
format: StringConstructor;
|
|
314
322
|
/**
|
|
315
323
|
* Toggle visibility of footer element or set the content of footer.
|
|
316
324
|
*/
|
|
@@ -119,12 +119,16 @@ declare const CDateRangePicker: import("vue").DefineComponent<{
|
|
|
119
119
|
* - 4 - Thursday,
|
|
120
120
|
* - 5 - Friday,
|
|
121
121
|
* - 6 - Saturday,
|
|
122
|
-
* - 7 - Sunday
|
|
123
122
|
*/
|
|
124
123
|
firstDayOfWeek: {
|
|
125
124
|
type: NumberConstructor;
|
|
126
125
|
default: number;
|
|
127
126
|
};
|
|
127
|
+
/**
|
|
128
|
+
* Set date format.
|
|
129
|
+
* We use date-fns to format dates. Visit https://date-fns.org/v2.28.0/docs/format to check accepted patterns.
|
|
130
|
+
*/
|
|
131
|
+
format: StringConstructor;
|
|
128
132
|
/**
|
|
129
133
|
* Toggle visibility of footer element or set the content of footer.
|
|
130
134
|
*/
|
|
@@ -215,6 +219,42 @@ declare const CDateRangePicker: import("vue").DefineComponent<{
|
|
|
215
219
|
* Provide an additional time selection by adding select boxes to choose times.
|
|
216
220
|
*/
|
|
217
221
|
timepicker: BooleanConstructor;
|
|
222
|
+
/**
|
|
223
|
+
* Toggle visibility or set the content of today button.
|
|
224
|
+
*/
|
|
225
|
+
todayButton: {
|
|
226
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
227
|
+
default: string;
|
|
228
|
+
};
|
|
229
|
+
/**
|
|
230
|
+
* Sets the color context of the today button to one of CoreUI’s themed colors.
|
|
231
|
+
*
|
|
232
|
+
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'
|
|
233
|
+
*/
|
|
234
|
+
todayButtonColor: {
|
|
235
|
+
default: string;
|
|
236
|
+
type: StringConstructor;
|
|
237
|
+
validator: (value: string) => boolean;
|
|
238
|
+
};
|
|
239
|
+
/**
|
|
240
|
+
* Size the today button small or large.
|
|
241
|
+
*
|
|
242
|
+
* @values 'sm', 'lg'
|
|
243
|
+
*/
|
|
244
|
+
todayButtonSize: {
|
|
245
|
+
type: StringConstructor;
|
|
246
|
+
default: string;
|
|
247
|
+
validator: (value: string) => boolean;
|
|
248
|
+
};
|
|
249
|
+
/**
|
|
250
|
+
* Set the today button variant to an outlined button or a ghost button.
|
|
251
|
+
*
|
|
252
|
+
* @values 'ghost', 'outline'
|
|
253
|
+
*/
|
|
254
|
+
todayButtonVariant: {
|
|
255
|
+
type: StringConstructor;
|
|
256
|
+
validator: (value: string) => boolean;
|
|
257
|
+
};
|
|
218
258
|
/**
|
|
219
259
|
* Set length or format of day name.
|
|
220
260
|
*
|
|
@@ -347,12 +387,16 @@ declare const CDateRangePicker: import("vue").DefineComponent<{
|
|
|
347
387
|
* - 4 - Thursday,
|
|
348
388
|
* - 5 - Friday,
|
|
349
389
|
* - 6 - Saturday,
|
|
350
|
-
* - 7 - Sunday
|
|
351
390
|
*/
|
|
352
391
|
firstDayOfWeek: {
|
|
353
392
|
type: NumberConstructor;
|
|
354
393
|
default: number;
|
|
355
394
|
};
|
|
395
|
+
/**
|
|
396
|
+
* Set date format.
|
|
397
|
+
* We use date-fns to format dates. Visit https://date-fns.org/v2.28.0/docs/format to check accepted patterns.
|
|
398
|
+
*/
|
|
399
|
+
format: StringConstructor;
|
|
356
400
|
/**
|
|
357
401
|
* Toggle visibility of footer element or set the content of footer.
|
|
358
402
|
*/
|
|
@@ -443,6 +487,42 @@ declare const CDateRangePicker: import("vue").DefineComponent<{
|
|
|
443
487
|
* Provide an additional time selection by adding select boxes to choose times.
|
|
444
488
|
*/
|
|
445
489
|
timepicker: BooleanConstructor;
|
|
490
|
+
/**
|
|
491
|
+
* Toggle visibility or set the content of today button.
|
|
492
|
+
*/
|
|
493
|
+
todayButton: {
|
|
494
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
495
|
+
default: string;
|
|
496
|
+
};
|
|
497
|
+
/**
|
|
498
|
+
* Sets the color context of the today button to one of CoreUI’s themed colors.
|
|
499
|
+
*
|
|
500
|
+
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'
|
|
501
|
+
*/
|
|
502
|
+
todayButtonColor: {
|
|
503
|
+
default: string;
|
|
504
|
+
type: StringConstructor;
|
|
505
|
+
validator: (value: string) => boolean;
|
|
506
|
+
};
|
|
507
|
+
/**
|
|
508
|
+
* Size the today button small or large.
|
|
509
|
+
*
|
|
510
|
+
* @values 'sm', 'lg'
|
|
511
|
+
*/
|
|
512
|
+
todayButtonSize: {
|
|
513
|
+
type: StringConstructor;
|
|
514
|
+
default: string;
|
|
515
|
+
validator: (value: string) => boolean;
|
|
516
|
+
};
|
|
517
|
+
/**
|
|
518
|
+
* Set the today button variant to an outlined button or a ghost button.
|
|
519
|
+
*
|
|
520
|
+
* @values 'ghost', 'outline'
|
|
521
|
+
*/
|
|
522
|
+
todayButtonVariant: {
|
|
523
|
+
type: StringConstructor;
|
|
524
|
+
validator: (value: string) => boolean;
|
|
525
|
+
};
|
|
446
526
|
/**
|
|
447
527
|
* Set length or format of day name.
|
|
448
528
|
*
|
|
@@ -455,6 +535,7 @@ declare const CDateRangePicker: import("vue").DefineComponent<{
|
|
|
455
535
|
};
|
|
456
536
|
}>>, {
|
|
457
537
|
disabled: boolean;
|
|
538
|
+
calendars: number;
|
|
458
539
|
firstDayOfWeek: number;
|
|
459
540
|
locale: string;
|
|
460
541
|
navigation: boolean;
|
|
@@ -473,8 +554,10 @@ declare const CDateRangePicker: import("vue").DefineComponent<{
|
|
|
473
554
|
indicator: boolean;
|
|
474
555
|
inputReadOnly: boolean;
|
|
475
556
|
placeholder: String | String[];
|
|
476
|
-
calendars: number;
|
|
477
557
|
separator: boolean;
|
|
478
558
|
timepicker: boolean;
|
|
559
|
+
todayButton: string | boolean;
|
|
560
|
+
todayButtonColor: string;
|
|
561
|
+
todayButtonSize: string;
|
|
479
562
|
}>;
|
|
480
563
|
export { CDateRangePicker };
|
|
@@ -1,20 +1,48 @@
|
|
|
1
1
|
declare const CFormCheck: import("vue").DefineComponent<{
|
|
2
2
|
/**
|
|
3
3
|
* Create button-like checkboxes and radio buttons.
|
|
4
|
+
*
|
|
5
|
+
* @see http://coreui.io/vue/docs/components/button.html
|
|
6
|
+
*/
|
|
7
|
+
button: {
|
|
8
|
+
type: ObjectConstructor;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Provide valuable, actionable feedback.
|
|
12
|
+
*
|
|
13
|
+
* @since 4.3.0
|
|
14
|
+
*/
|
|
15
|
+
feedback: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Provide valuable, actionable feedback.
|
|
20
|
+
*
|
|
21
|
+
* @since 4.3.0
|
|
4
22
|
*/
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
23
|
+
feedbackInvalid: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, `:invalid` and `:valid`.
|
|
28
|
+
*
|
|
29
|
+
* @since 4.3.0
|
|
30
|
+
*/
|
|
31
|
+
feedbackValid: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* Sets hit area to the full area of the component.
|
|
36
|
+
*/
|
|
37
|
+
hitArea: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
validator: (value: string) => boolean;
|
|
40
|
+
};
|
|
11
41
|
/**
|
|
12
42
|
* The id global attribute defines an identifier (ID) that must be unique in the whole document.
|
|
13
43
|
*/
|
|
14
44
|
id: {
|
|
15
45
|
type: StringConstructor;
|
|
16
|
-
default: undefined;
|
|
17
|
-
required: false;
|
|
18
46
|
};
|
|
19
47
|
/**
|
|
20
48
|
* Input Checkbox indeterminate Property
|
|
@@ -25,22 +53,16 @@ declare const CFormCheck: import("vue").DefineComponent<{
|
|
|
25
53
|
*/
|
|
26
54
|
inline: {
|
|
27
55
|
type: BooleanConstructor;
|
|
28
|
-
required: false;
|
|
29
56
|
};
|
|
30
57
|
/**
|
|
31
58
|
* Set component validation state to invalid.
|
|
32
59
|
*/
|
|
33
|
-
invalid:
|
|
34
|
-
type: BooleanConstructor;
|
|
35
|
-
required: false;
|
|
36
|
-
};
|
|
60
|
+
invalid: BooleanConstructor;
|
|
37
61
|
/**
|
|
38
62
|
* The element represents a caption for a component.
|
|
39
63
|
*/
|
|
40
64
|
label: {
|
|
41
65
|
type: StringConstructor;
|
|
42
|
-
default: undefined;
|
|
43
|
-
required: false;
|
|
44
66
|
};
|
|
45
67
|
/**
|
|
46
68
|
* The default name for a value passed using v-model.
|
|
@@ -48,8 +70,13 @@ declare const CFormCheck: import("vue").DefineComponent<{
|
|
|
48
70
|
modelValue: {
|
|
49
71
|
type: (StringConstructor | BooleanConstructor)[];
|
|
50
72
|
value: undefined;
|
|
51
|
-
required: false;
|
|
52
73
|
};
|
|
74
|
+
/**
|
|
75
|
+
* Display validation feedback in a styled tooltip.
|
|
76
|
+
*
|
|
77
|
+
* @since 4.3.0
|
|
78
|
+
*/
|
|
79
|
+
tooltipFeedback: BooleanConstructor;
|
|
53
80
|
/**
|
|
54
81
|
* Specifies the type of component.
|
|
55
82
|
*
|
|
@@ -58,14 +85,12 @@ declare const CFormCheck: import("vue").DefineComponent<{
|
|
|
58
85
|
type: {
|
|
59
86
|
type: StringConstructor;
|
|
60
87
|
default: string;
|
|
61
|
-
required: false;
|
|
62
88
|
};
|
|
63
89
|
/**
|
|
64
90
|
* Set component validation state to valid.
|
|
65
91
|
*/
|
|
66
92
|
valid: {
|
|
67
93
|
type: BooleanConstructor;
|
|
68
|
-
required: false;
|
|
69
94
|
};
|
|
70
95
|
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
71
96
|
[key: string]: any;
|
|
@@ -74,20 +99,48 @@ declare const CFormCheck: import("vue").DefineComponent<{
|
|
|
74
99
|
}> | undefined)[], unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
75
100
|
/**
|
|
76
101
|
* Create button-like checkboxes and radio buttons.
|
|
102
|
+
*
|
|
103
|
+
* @see http://coreui.io/vue/docs/components/button.html
|
|
77
104
|
*/
|
|
78
|
-
button:
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
105
|
+
button: {
|
|
106
|
+
type: ObjectConstructor;
|
|
107
|
+
};
|
|
108
|
+
/**
|
|
109
|
+
* Provide valuable, actionable feedback.
|
|
110
|
+
*
|
|
111
|
+
* @since 4.3.0
|
|
112
|
+
*/
|
|
113
|
+
feedback: {
|
|
114
|
+
type: StringConstructor;
|
|
115
|
+
};
|
|
116
|
+
/**
|
|
117
|
+
* Provide valuable, actionable feedback.
|
|
118
|
+
*
|
|
119
|
+
* @since 4.3.0
|
|
120
|
+
*/
|
|
121
|
+
feedbackInvalid: {
|
|
122
|
+
type: StringConstructor;
|
|
123
|
+
};
|
|
124
|
+
/**
|
|
125
|
+
* Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, `:invalid` and `:valid`.
|
|
126
|
+
*
|
|
127
|
+
* @since 4.3.0
|
|
128
|
+
*/
|
|
129
|
+
feedbackValid: {
|
|
130
|
+
type: StringConstructor;
|
|
131
|
+
};
|
|
132
|
+
/**
|
|
133
|
+
* Sets hit area to the full area of the component.
|
|
134
|
+
*/
|
|
135
|
+
hitArea: {
|
|
136
|
+
type: StringConstructor;
|
|
137
|
+
validator: (value: string) => boolean;
|
|
138
|
+
};
|
|
84
139
|
/**
|
|
85
140
|
* The id global attribute defines an identifier (ID) that must be unique in the whole document.
|
|
86
141
|
*/
|
|
87
142
|
id: {
|
|
88
143
|
type: StringConstructor;
|
|
89
|
-
default: undefined;
|
|
90
|
-
required: false;
|
|
91
144
|
};
|
|
92
145
|
/**
|
|
93
146
|
* Input Checkbox indeterminate Property
|
|
@@ -98,22 +151,16 @@ declare const CFormCheck: import("vue").DefineComponent<{
|
|
|
98
151
|
*/
|
|
99
152
|
inline: {
|
|
100
153
|
type: BooleanConstructor;
|
|
101
|
-
required: false;
|
|
102
154
|
};
|
|
103
155
|
/**
|
|
104
156
|
* Set component validation state to invalid.
|
|
105
157
|
*/
|
|
106
|
-
invalid:
|
|
107
|
-
type: BooleanConstructor;
|
|
108
|
-
required: false;
|
|
109
|
-
};
|
|
158
|
+
invalid: BooleanConstructor;
|
|
110
159
|
/**
|
|
111
160
|
* The element represents a caption for a component.
|
|
112
161
|
*/
|
|
113
162
|
label: {
|
|
114
163
|
type: StringConstructor;
|
|
115
|
-
default: undefined;
|
|
116
|
-
required: false;
|
|
117
164
|
};
|
|
118
165
|
/**
|
|
119
166
|
* The default name for a value passed using v-model.
|
|
@@ -121,8 +168,13 @@ declare const CFormCheck: import("vue").DefineComponent<{
|
|
|
121
168
|
modelValue: {
|
|
122
169
|
type: (StringConstructor | BooleanConstructor)[];
|
|
123
170
|
value: undefined;
|
|
124
|
-
required: false;
|
|
125
171
|
};
|
|
172
|
+
/**
|
|
173
|
+
* Display validation feedback in a styled tooltip.
|
|
174
|
+
*
|
|
175
|
+
* @since 4.3.0
|
|
176
|
+
*/
|
|
177
|
+
tooltipFeedback: BooleanConstructor;
|
|
126
178
|
/**
|
|
127
179
|
* Specifies the type of component.
|
|
128
180
|
*
|
|
@@ -131,25 +183,22 @@ declare const CFormCheck: import("vue").DefineComponent<{
|
|
|
131
183
|
type: {
|
|
132
184
|
type: StringConstructor;
|
|
133
185
|
default: string;
|
|
134
|
-
required: false;
|
|
135
186
|
};
|
|
136
187
|
/**
|
|
137
188
|
* Set component validation state to valid.
|
|
138
189
|
*/
|
|
139
190
|
valid: {
|
|
140
191
|
type: BooleanConstructor;
|
|
141
|
-
required: false;
|
|
142
192
|
};
|
|
143
193
|
}>> & {
|
|
144
194
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
145
195
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
146
196
|
}, {
|
|
147
197
|
type: string;
|
|
148
|
-
id: string;
|
|
149
198
|
invalid: boolean;
|
|
150
|
-
|
|
199
|
+
valid: boolean;
|
|
200
|
+
tooltipFeedback: boolean;
|
|
151
201
|
indeterminate: boolean;
|
|
152
202
|
inline: boolean;
|
|
153
|
-
valid: boolean;
|
|
154
203
|
}>;
|
|
155
204
|
export { CFormCheck };
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
declare const CFormControlValidation: import("vue").DefineComponent<{
|
|
2
|
+
/**
|
|
3
|
+
* @ignore
|
|
4
|
+
*/
|
|
5
|
+
describedby: {
|
|
6
|
+
type: StringConstructor;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Provide valuable, actionable feedback.
|
|
10
|
+
*
|
|
11
|
+
* @since 4.3.0
|
|
12
|
+
*/
|
|
13
|
+
feedback: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* Provide valuable, actionable feedback.
|
|
18
|
+
*
|
|
19
|
+
* @since 4.3.0
|
|
20
|
+
*/
|
|
21
|
+
feedbackInvalid: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, `:invalid` and `:valid`.
|
|
26
|
+
*
|
|
27
|
+
* @since 4.3.0
|
|
28
|
+
*/
|
|
29
|
+
feedbackValid: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Set component validation state to invalid.
|
|
34
|
+
*/
|
|
35
|
+
invalid: BooleanConstructor;
|
|
36
|
+
/**
|
|
37
|
+
* Display validation feedback in a styled tooltip.
|
|
38
|
+
*
|
|
39
|
+
* @since 4.3.0
|
|
40
|
+
*/
|
|
41
|
+
tooltipFeedback: BooleanConstructor;
|
|
42
|
+
/**
|
|
43
|
+
* Set component validation state to valid.
|
|
44
|
+
*/
|
|
45
|
+
valid: BooleanConstructor;
|
|
46
|
+
}, () => (false | "" | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
47
|
+
[key: string]: any;
|
|
48
|
+
}> | undefined)[], unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
49
|
+
/**
|
|
50
|
+
* @ignore
|
|
51
|
+
*/
|
|
52
|
+
describedby: {
|
|
53
|
+
type: StringConstructor;
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* Provide valuable, actionable feedback.
|
|
57
|
+
*
|
|
58
|
+
* @since 4.3.0
|
|
59
|
+
*/
|
|
60
|
+
feedback: {
|
|
61
|
+
type: StringConstructor;
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* Provide valuable, actionable feedback.
|
|
65
|
+
*
|
|
66
|
+
* @since 4.3.0
|
|
67
|
+
*/
|
|
68
|
+
feedbackInvalid: {
|
|
69
|
+
type: StringConstructor;
|
|
70
|
+
};
|
|
71
|
+
/**
|
|
72
|
+
* Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, `:invalid` and `:valid`.
|
|
73
|
+
*
|
|
74
|
+
* @since 4.3.0
|
|
75
|
+
*/
|
|
76
|
+
feedbackValid: {
|
|
77
|
+
type: StringConstructor;
|
|
78
|
+
};
|
|
79
|
+
/**
|
|
80
|
+
* Set component validation state to invalid.
|
|
81
|
+
*/
|
|
82
|
+
invalid: BooleanConstructor;
|
|
83
|
+
/**
|
|
84
|
+
* Display validation feedback in a styled tooltip.
|
|
85
|
+
*
|
|
86
|
+
* @since 4.3.0
|
|
87
|
+
*/
|
|
88
|
+
tooltipFeedback: BooleanConstructor;
|
|
89
|
+
/**
|
|
90
|
+
* Set component validation state to valid.
|
|
91
|
+
*/
|
|
92
|
+
valid: BooleanConstructor;
|
|
93
|
+
}>>, {
|
|
94
|
+
invalid: boolean;
|
|
95
|
+
valid: boolean;
|
|
96
|
+
tooltipFeedback: boolean;
|
|
97
|
+
}>;
|
|
98
|
+
export { CFormControlValidation };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
declare const CFormControlWrapper: import("vue").DefineComponent<any, () => any[] | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
2
|
+
[key: string]: any;
|
|
3
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<any>, {} | {
|
|
4
|
+
[x: string]: any;
|
|
5
|
+
}>;
|
|
6
|
+
export { CFormControlWrapper };
|
|
@@ -43,9 +43,9 @@ declare const CFormFeedback: import("vue").DefineComponent<{
|
|
|
43
43
|
*/
|
|
44
44
|
valid: BooleanConstructor;
|
|
45
45
|
}>>, {
|
|
46
|
-
component: string;
|
|
47
46
|
invalid: boolean;
|
|
48
|
-
|
|
47
|
+
component: string;
|
|
49
48
|
tooltip: boolean;
|
|
49
|
+
valid: boolean;
|
|
50
50
|
}>;
|
|
51
51
|
export { CFormFeedback };
|