@coreui/vue-pro 4.2.0 → 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 +198 -0
- package/dist/components/calendar/index.d.ts +6 -0
- package/dist/components/carousel/CCarousel.d.ts +1 -1
- package/dist/components/date-picker/CDatePicker.d.ts +414 -0
- package/dist/components/date-picker/index.d.ts +6 -0
- package/dist/components/date-range-picker/CDateRangePicker.d.ts +563 -0
- package/dist/components/date-range-picker/index.d.ts +6 -0
- 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/index.d.ts +5 -0
- package/dist/components/modal/CModal.d.ts +1 -1
- package/dist/components/multi-select/CMultiSelect.d.ts +2 -2
- package/dist/components/offcanvas/COffcanvas.d.ts +1 -1
- 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 +35 -99
- package/dist/components/smart-table/CSmartTableInterface.d.ts +3 -3
- 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 +8 -2
- package/dist/index.es.js +6249 -1276
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +6256 -1273
- package/dist/index.js.map +1 -1
- package/dist/utils/calendar.d.ts +23 -0
- package/dist/utils/time.d.ts +21 -0
- 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 +616 -0
- package/src/components/calendar/index.ts +10 -0
- package/src/components/collapse/CCollapse.ts +5 -6
- package/src/components/date-picker/CDatePicker.ts +240 -0
- package/src/components/date-picker/index.ts +10 -0
- package/src/components/date-range-picker/CDateRangePicker.ts +733 -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/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/index.ts +5 -0
- 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/pagination/CSmartPagination.ts +4 -4
- package/src/components/picker/CPicker.ts +221 -0
- package/src/components/picker/index.ts +10 -0
- package/src/components/popover/CPopover.ts +5 -5
- package/src/components/smart-table/CSmartTable.ts +17 -49
- package/src/components/smart-table/CSmartTableInterface.ts +5 -3
- package/src/components/tabs/CTabPane.ts +4 -6
- package/src/components/time-picker/CTimePicker.ts +405 -0
- package/src/components/time-picker/CTimePickerRollCol.ts +58 -0
- package/src/components/time-picker/index.ts +10 -0
- package/src/components/toast/CToast.ts +17 -12
- package/src/components/tooltip/CTooltip.ts +5 -5
- package/src/utils/calendar.ts +270 -0
- package/src/utils/time.ts +84 -0
- package/src/utils/transition.ts +65 -0
|
@@ -6,6 +6,38 @@ declare type Option = {
|
|
|
6
6
|
value?: string;
|
|
7
7
|
};
|
|
8
8
|
declare const CFormSelect: import("vue").DefineComponent<{
|
|
9
|
+
/**
|
|
10
|
+
* Provide valuable, actionable feedback.
|
|
11
|
+
*
|
|
12
|
+
* @since 4.3.0
|
|
13
|
+
*/
|
|
14
|
+
feedback: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Provide valuable, actionable feedback.
|
|
19
|
+
*
|
|
20
|
+
* @since 4.3.0
|
|
21
|
+
*/
|
|
22
|
+
feedbackInvalid: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, `:invalid` and `:valid`.
|
|
27
|
+
*
|
|
28
|
+
* @since 4.3.0
|
|
29
|
+
*/
|
|
30
|
+
feedbackValid: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Provide valuable, actionable valid feedback when using standard HTML form validation which applied two CSS pseudo-classes, `:invalid` and `:valid`.
|
|
35
|
+
*
|
|
36
|
+
* @since 4.3.0
|
|
37
|
+
*/
|
|
38
|
+
floatingLabel: {
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
};
|
|
9
41
|
/**
|
|
10
42
|
* Specifies the number of visible options in a drop-down list.
|
|
11
43
|
*/
|
|
@@ -14,12 +46,23 @@ declare const CFormSelect: import("vue").DefineComponent<{
|
|
|
14
46
|
default: undefined;
|
|
15
47
|
required: false;
|
|
16
48
|
};
|
|
49
|
+
/**
|
|
50
|
+
* The id global attribute defines an identifier (ID) that must be unique in the whole document.
|
|
51
|
+
*/
|
|
52
|
+
id: {
|
|
53
|
+
type: StringConstructor;
|
|
54
|
+
};
|
|
17
55
|
/**
|
|
18
56
|
* Set component validation state to invalid.
|
|
19
57
|
*/
|
|
20
|
-
invalid:
|
|
21
|
-
|
|
22
|
-
|
|
58
|
+
invalid: BooleanConstructor;
|
|
59
|
+
/**
|
|
60
|
+
* Add a caption for a component.
|
|
61
|
+
*
|
|
62
|
+
* @since 4.3.0
|
|
63
|
+
*/
|
|
64
|
+
label: {
|
|
65
|
+
type: StringConstructor;
|
|
23
66
|
};
|
|
24
67
|
/**
|
|
25
68
|
* The default name for a value passed using v-model.
|
|
@@ -56,15 +99,58 @@ declare const CFormSelect: import("vue").DefineComponent<{
|
|
|
56
99
|
validator: (value: string) => boolean;
|
|
57
100
|
};
|
|
58
101
|
/**
|
|
59
|
-
*
|
|
102
|
+
* Add helper text to the component.
|
|
103
|
+
*
|
|
104
|
+
* @since 4.3.0
|
|
60
105
|
*/
|
|
61
|
-
|
|
62
|
-
type:
|
|
63
|
-
required: false;
|
|
106
|
+
text: {
|
|
107
|
+
type: StringConstructor;
|
|
64
108
|
};
|
|
109
|
+
/**
|
|
110
|
+
* Display validation feedback in a styled tooltip.
|
|
111
|
+
*
|
|
112
|
+
* @since 4.3.0
|
|
113
|
+
*/
|
|
114
|
+
tooltipFeedback: BooleanConstructor;
|
|
115
|
+
/**
|
|
116
|
+
* Set component validation state to valid.
|
|
117
|
+
*/
|
|
118
|
+
valid: BooleanConstructor;
|
|
65
119
|
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
66
120
|
[key: string]: any;
|
|
67
121
|
}>, 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<{
|
|
122
|
+
/**
|
|
123
|
+
* Provide valuable, actionable feedback.
|
|
124
|
+
*
|
|
125
|
+
* @since 4.3.0
|
|
126
|
+
*/
|
|
127
|
+
feedback: {
|
|
128
|
+
type: StringConstructor;
|
|
129
|
+
};
|
|
130
|
+
/**
|
|
131
|
+
* Provide valuable, actionable feedback.
|
|
132
|
+
*
|
|
133
|
+
* @since 4.3.0
|
|
134
|
+
*/
|
|
135
|
+
feedbackInvalid: {
|
|
136
|
+
type: StringConstructor;
|
|
137
|
+
};
|
|
138
|
+
/**
|
|
139
|
+
* Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, `:invalid` and `:valid`.
|
|
140
|
+
*
|
|
141
|
+
* @since 4.3.0
|
|
142
|
+
*/
|
|
143
|
+
feedbackValid: {
|
|
144
|
+
type: StringConstructor;
|
|
145
|
+
};
|
|
146
|
+
/**
|
|
147
|
+
* Provide valuable, actionable valid feedback when using standard HTML form validation which applied two CSS pseudo-classes, `:invalid` and `:valid`.
|
|
148
|
+
*
|
|
149
|
+
* @since 4.3.0
|
|
150
|
+
*/
|
|
151
|
+
floatingLabel: {
|
|
152
|
+
type: StringConstructor;
|
|
153
|
+
};
|
|
68
154
|
/**
|
|
69
155
|
* Specifies the number of visible options in a drop-down list.
|
|
70
156
|
*/
|
|
@@ -73,12 +159,23 @@ declare const CFormSelect: import("vue").DefineComponent<{
|
|
|
73
159
|
default: undefined;
|
|
74
160
|
required: false;
|
|
75
161
|
};
|
|
162
|
+
/**
|
|
163
|
+
* The id global attribute defines an identifier (ID) that must be unique in the whole document.
|
|
164
|
+
*/
|
|
165
|
+
id: {
|
|
166
|
+
type: StringConstructor;
|
|
167
|
+
};
|
|
76
168
|
/**
|
|
77
169
|
* Set component validation state to invalid.
|
|
78
170
|
*/
|
|
79
|
-
invalid:
|
|
80
|
-
|
|
81
|
-
|
|
171
|
+
invalid: BooleanConstructor;
|
|
172
|
+
/**
|
|
173
|
+
* Add a caption for a component.
|
|
174
|
+
*
|
|
175
|
+
* @since 4.3.0
|
|
176
|
+
*/
|
|
177
|
+
label: {
|
|
178
|
+
type: StringConstructor;
|
|
82
179
|
};
|
|
83
180
|
/**
|
|
84
181
|
* The default name for a value passed using v-model.
|
|
@@ -115,20 +212,32 @@ declare const CFormSelect: import("vue").DefineComponent<{
|
|
|
115
212
|
validator: (value: string) => boolean;
|
|
116
213
|
};
|
|
117
214
|
/**
|
|
118
|
-
*
|
|
215
|
+
* Add helper text to the component.
|
|
216
|
+
*
|
|
217
|
+
* @since 4.3.0
|
|
119
218
|
*/
|
|
120
|
-
|
|
121
|
-
type:
|
|
122
|
-
required: false;
|
|
219
|
+
text: {
|
|
220
|
+
type: StringConstructor;
|
|
123
221
|
};
|
|
222
|
+
/**
|
|
223
|
+
* Display validation feedback in a styled tooltip.
|
|
224
|
+
*
|
|
225
|
+
* @since 4.3.0
|
|
226
|
+
*/
|
|
227
|
+
tooltipFeedback: BooleanConstructor;
|
|
228
|
+
/**
|
|
229
|
+
* Set component validation state to valid.
|
|
230
|
+
*/
|
|
231
|
+
valid: BooleanConstructor;
|
|
124
232
|
}>> & {
|
|
125
233
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
126
234
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
127
235
|
}, {
|
|
128
|
-
size: string;
|
|
129
236
|
invalid: boolean;
|
|
130
|
-
|
|
237
|
+
size: string;
|
|
131
238
|
valid: boolean;
|
|
239
|
+
tooltipFeedback: boolean;
|
|
240
|
+
modelValue: string | string[];
|
|
132
241
|
htmlSize: number;
|
|
133
242
|
multiple: boolean;
|
|
134
243
|
options: string[] | Option[];
|
|
@@ -4,23 +4,18 @@ declare const CFormSwitch: import("vue").DefineComponent<{
|
|
|
4
4
|
*/
|
|
5
5
|
id: {
|
|
6
6
|
type: StringConstructor;
|
|
7
|
-
default: undefined;
|
|
8
|
-
required: false;
|
|
9
7
|
};
|
|
10
8
|
/**
|
|
11
9
|
* Set component validation state to invalid.
|
|
12
10
|
*/
|
|
13
11
|
invalid: {
|
|
14
12
|
type: BooleanConstructor;
|
|
15
|
-
required: false;
|
|
16
13
|
};
|
|
17
14
|
/**
|
|
18
15
|
* The element represents a caption for a component.
|
|
19
16
|
*/
|
|
20
17
|
label: {
|
|
21
18
|
type: StringConstructor;
|
|
22
|
-
default: undefined;
|
|
23
|
-
required: false;
|
|
24
19
|
};
|
|
25
20
|
/**
|
|
26
21
|
* The default name for a value passed using v-model.
|
|
@@ -28,7 +23,6 @@ declare const CFormSwitch: import("vue").DefineComponent<{
|
|
|
28
23
|
modelValue: {
|
|
29
24
|
type: (StringConstructor | BooleanConstructor)[];
|
|
30
25
|
value: undefined;
|
|
31
|
-
required: false;
|
|
32
26
|
};
|
|
33
27
|
/**
|
|
34
28
|
* Size the component large or extra large. Works only with `switch`.
|
|
@@ -37,8 +31,6 @@ declare const CFormSwitch: import("vue").DefineComponent<{
|
|
|
37
31
|
*/
|
|
38
32
|
size: {
|
|
39
33
|
type: StringConstructor;
|
|
40
|
-
default: undefined;
|
|
41
|
-
required: false;
|
|
42
34
|
validator: (value: string) => boolean;
|
|
43
35
|
};
|
|
44
36
|
/**
|
|
@@ -49,14 +41,12 @@ declare const CFormSwitch: import("vue").DefineComponent<{
|
|
|
49
41
|
type: {
|
|
50
42
|
type: StringConstructor;
|
|
51
43
|
default: string;
|
|
52
|
-
required: false;
|
|
53
44
|
};
|
|
54
45
|
/**
|
|
55
46
|
* Set component validation state to valid.
|
|
56
47
|
*/
|
|
57
48
|
valid: {
|
|
58
49
|
type: BooleanConstructor;
|
|
59
|
-
required: false;
|
|
60
50
|
};
|
|
61
51
|
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
62
52
|
[key: string]: any;
|
|
@@ -66,23 +56,18 @@ declare const CFormSwitch: import("vue").DefineComponent<{
|
|
|
66
56
|
*/
|
|
67
57
|
id: {
|
|
68
58
|
type: StringConstructor;
|
|
69
|
-
default: undefined;
|
|
70
|
-
required: false;
|
|
71
59
|
};
|
|
72
60
|
/**
|
|
73
61
|
* Set component validation state to invalid.
|
|
74
62
|
*/
|
|
75
63
|
invalid: {
|
|
76
64
|
type: BooleanConstructor;
|
|
77
|
-
required: false;
|
|
78
65
|
};
|
|
79
66
|
/**
|
|
80
67
|
* The element represents a caption for a component.
|
|
81
68
|
*/
|
|
82
69
|
label: {
|
|
83
70
|
type: StringConstructor;
|
|
84
|
-
default: undefined;
|
|
85
|
-
required: false;
|
|
86
71
|
};
|
|
87
72
|
/**
|
|
88
73
|
* The default name for a value passed using v-model.
|
|
@@ -90,7 +75,6 @@ declare const CFormSwitch: import("vue").DefineComponent<{
|
|
|
90
75
|
modelValue: {
|
|
91
76
|
type: (StringConstructor | BooleanConstructor)[];
|
|
92
77
|
value: undefined;
|
|
93
|
-
required: false;
|
|
94
78
|
};
|
|
95
79
|
/**
|
|
96
80
|
* Size the component large or extra large. Works only with `switch`.
|
|
@@ -99,8 +83,6 @@ declare const CFormSwitch: import("vue").DefineComponent<{
|
|
|
99
83
|
*/
|
|
100
84
|
size: {
|
|
101
85
|
type: StringConstructor;
|
|
102
|
-
default: undefined;
|
|
103
|
-
required: false;
|
|
104
86
|
validator: (value: string) => boolean;
|
|
105
87
|
};
|
|
106
88
|
/**
|
|
@@ -111,24 +93,19 @@ declare const CFormSwitch: import("vue").DefineComponent<{
|
|
|
111
93
|
type: {
|
|
112
94
|
type: StringConstructor;
|
|
113
95
|
default: string;
|
|
114
|
-
required: false;
|
|
115
96
|
};
|
|
116
97
|
/**
|
|
117
98
|
* Set component validation state to valid.
|
|
118
99
|
*/
|
|
119
100
|
valid: {
|
|
120
101
|
type: BooleanConstructor;
|
|
121
|
-
required: false;
|
|
122
102
|
};
|
|
123
103
|
}>> & {
|
|
124
104
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
125
105
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
126
106
|
}, {
|
|
127
107
|
type: string;
|
|
128
|
-
size: string;
|
|
129
|
-
id: string;
|
|
130
108
|
invalid: boolean;
|
|
131
|
-
label: string;
|
|
132
109
|
valid: boolean;
|
|
133
110
|
}>;
|
|
134
111
|
export { CFormSwitch };
|
|
@@ -4,14 +4,56 @@ declare const CFormTextarea: import("vue").DefineComponent<{
|
|
|
4
4
|
*/
|
|
5
5
|
disabled: {
|
|
6
6
|
type: BooleanConstructor;
|
|
7
|
-
|
|
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
|
+
* Provide valuable, actionable valid feedback when using standard HTML form validation which applied two CSS pseudo-classes, `:invalid` and `:valid`.
|
|
34
|
+
*
|
|
35
|
+
* @since 4.3.0
|
|
36
|
+
*/
|
|
37
|
+
floatingLabel: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* The id global attribute defines an identifier (ID) that must be unique in the whole document.
|
|
42
|
+
*/
|
|
43
|
+
id: {
|
|
44
|
+
type: StringConstructor;
|
|
8
45
|
};
|
|
9
46
|
/**
|
|
10
47
|
* Set component validation state to invalid.
|
|
11
48
|
*/
|
|
12
|
-
invalid:
|
|
13
|
-
|
|
14
|
-
|
|
49
|
+
invalid: BooleanConstructor;
|
|
50
|
+
/**
|
|
51
|
+
* Add a caption for a component.
|
|
52
|
+
*
|
|
53
|
+
* @since 4.3.0
|
|
54
|
+
*/
|
|
55
|
+
label: {
|
|
56
|
+
type: StringConstructor;
|
|
15
57
|
};
|
|
16
58
|
/**
|
|
17
59
|
* The default name for a value passed using v-model.
|
|
@@ -19,29 +61,37 @@ declare const CFormTextarea: import("vue").DefineComponent<{
|
|
|
19
61
|
modelValue: {
|
|
20
62
|
type: StringConstructor;
|
|
21
63
|
default: undefined;
|
|
22
|
-
require: boolean;
|
|
23
64
|
};
|
|
24
65
|
/**
|
|
25
66
|
* Render the component styled as plain text. Removes the default form field styling and preserve the correct margin and padding. Recommend to use only along side `readonly`.
|
|
26
67
|
*/
|
|
27
68
|
plainText: {
|
|
28
69
|
type: BooleanConstructor;
|
|
29
|
-
required: false;
|
|
30
70
|
};
|
|
31
71
|
/**
|
|
32
72
|
* Toggle the readonly state for the component.
|
|
33
73
|
*/
|
|
34
74
|
readonly: {
|
|
35
75
|
type: BooleanConstructor;
|
|
36
|
-
required: false;
|
|
37
76
|
};
|
|
38
77
|
/**
|
|
39
|
-
*
|
|
78
|
+
* Add helper text to the component.
|
|
79
|
+
*
|
|
80
|
+
* @since 4.3.0
|
|
40
81
|
*/
|
|
41
|
-
|
|
42
|
-
type:
|
|
43
|
-
required: false;
|
|
82
|
+
text: {
|
|
83
|
+
type: StringConstructor;
|
|
44
84
|
};
|
|
85
|
+
/**
|
|
86
|
+
* Display validation feedback in a styled tooltip.
|
|
87
|
+
*
|
|
88
|
+
* @since 4.3.0
|
|
89
|
+
*/
|
|
90
|
+
tooltipFeedback: BooleanConstructor;
|
|
91
|
+
/**
|
|
92
|
+
* Set component validation state to valid.
|
|
93
|
+
*/
|
|
94
|
+
valid: BooleanConstructor;
|
|
45
95
|
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
46
96
|
[key: string]: any;
|
|
47
97
|
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "input" | "update:modelValue")[], "change" | "input" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -50,14 +100,56 @@ declare const CFormTextarea: import("vue").DefineComponent<{
|
|
|
50
100
|
*/
|
|
51
101
|
disabled: {
|
|
52
102
|
type: BooleanConstructor;
|
|
53
|
-
|
|
103
|
+
};
|
|
104
|
+
/**
|
|
105
|
+
* Provide valuable, actionable feedback.
|
|
106
|
+
*
|
|
107
|
+
* @since 4.3.0
|
|
108
|
+
*/
|
|
109
|
+
feedback: {
|
|
110
|
+
type: StringConstructor;
|
|
111
|
+
};
|
|
112
|
+
/**
|
|
113
|
+
* Provide valuable, actionable feedback.
|
|
114
|
+
*
|
|
115
|
+
* @since 4.3.0
|
|
116
|
+
*/
|
|
117
|
+
feedbackInvalid: {
|
|
118
|
+
type: StringConstructor;
|
|
119
|
+
};
|
|
120
|
+
/**
|
|
121
|
+
* Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, `:invalid` and `:valid`.
|
|
122
|
+
*
|
|
123
|
+
* @since 4.3.0
|
|
124
|
+
*/
|
|
125
|
+
feedbackValid: {
|
|
126
|
+
type: StringConstructor;
|
|
127
|
+
};
|
|
128
|
+
/**
|
|
129
|
+
* Provide valuable, actionable valid feedback when using standard HTML form validation which applied two CSS pseudo-classes, `:invalid` and `:valid`.
|
|
130
|
+
*
|
|
131
|
+
* @since 4.3.0
|
|
132
|
+
*/
|
|
133
|
+
floatingLabel: {
|
|
134
|
+
type: StringConstructor;
|
|
135
|
+
};
|
|
136
|
+
/**
|
|
137
|
+
* The id global attribute defines an identifier (ID) that must be unique in the whole document.
|
|
138
|
+
*/
|
|
139
|
+
id: {
|
|
140
|
+
type: StringConstructor;
|
|
54
141
|
};
|
|
55
142
|
/**
|
|
56
143
|
* Set component validation state to invalid.
|
|
57
144
|
*/
|
|
58
|
-
invalid:
|
|
59
|
-
|
|
60
|
-
|
|
145
|
+
invalid: BooleanConstructor;
|
|
146
|
+
/**
|
|
147
|
+
* Add a caption for a component.
|
|
148
|
+
*
|
|
149
|
+
* @since 4.3.0
|
|
150
|
+
*/
|
|
151
|
+
label: {
|
|
152
|
+
type: StringConstructor;
|
|
61
153
|
};
|
|
62
154
|
/**
|
|
63
155
|
* The default name for a value passed using v-model.
|
|
@@ -65,38 +157,47 @@ declare const CFormTextarea: import("vue").DefineComponent<{
|
|
|
65
157
|
modelValue: {
|
|
66
158
|
type: StringConstructor;
|
|
67
159
|
default: undefined;
|
|
68
|
-
require: boolean;
|
|
69
160
|
};
|
|
70
161
|
/**
|
|
71
162
|
* Render the component styled as plain text. Removes the default form field styling and preserve the correct margin and padding. Recommend to use only along side `readonly`.
|
|
72
163
|
*/
|
|
73
164
|
plainText: {
|
|
74
165
|
type: BooleanConstructor;
|
|
75
|
-
required: false;
|
|
76
166
|
};
|
|
77
167
|
/**
|
|
78
168
|
* Toggle the readonly state for the component.
|
|
79
169
|
*/
|
|
80
170
|
readonly: {
|
|
81
171
|
type: BooleanConstructor;
|
|
82
|
-
required: false;
|
|
83
172
|
};
|
|
84
173
|
/**
|
|
85
|
-
*
|
|
174
|
+
* Add helper text to the component.
|
|
175
|
+
*
|
|
176
|
+
* @since 4.3.0
|
|
86
177
|
*/
|
|
87
|
-
|
|
88
|
-
type:
|
|
89
|
-
required: false;
|
|
178
|
+
text: {
|
|
179
|
+
type: StringConstructor;
|
|
90
180
|
};
|
|
181
|
+
/**
|
|
182
|
+
* Display validation feedback in a styled tooltip.
|
|
183
|
+
*
|
|
184
|
+
* @since 4.3.0
|
|
185
|
+
*/
|
|
186
|
+
tooltipFeedback: BooleanConstructor;
|
|
187
|
+
/**
|
|
188
|
+
* Set component validation state to valid.
|
|
189
|
+
*/
|
|
190
|
+
valid: BooleanConstructor;
|
|
91
191
|
}>> & {
|
|
92
192
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
93
193
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
94
194
|
onInput?: ((...args: any[]) => any) | undefined;
|
|
95
195
|
}, {
|
|
96
|
-
disabled: boolean;
|
|
97
196
|
invalid: boolean;
|
|
98
|
-
|
|
197
|
+
disabled: boolean;
|
|
99
198
|
valid: boolean;
|
|
199
|
+
tooltipFeedback: boolean;
|
|
200
|
+
modelValue: string;
|
|
100
201
|
plainText: boolean;
|
|
101
202
|
readonly: boolean;
|
|
102
203
|
}>;
|
|
@@ -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';
|
|
@@ -87,7 +87,7 @@ declare const CModal: import("vue").DefineComponent<{
|
|
|
87
87
|
visible: BooleanConstructor;
|
|
88
88
|
}, () => (false | "" | import("vue").VNode<import("vue").RendererNode, RendererElement, {
|
|
89
89
|
[key: string]: any;
|
|
90
|
-
}>)[], unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
90
|
+
}>)[], unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "show" | "close-prevented")[], "close" | "show" | "close-prevented", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
91
91
|
/**
|
|
92
92
|
* Align the modal in the center or top of the screen.
|
|
93
93
|
*
|
|
@@ -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
|
}>;
|
|
@@ -91,8 +91,8 @@ declare const COffcanvas: import("vue").DefineComponent<{
|
|
|
91
91
|
onHide?: ((...args: any[]) => any) | undefined;
|
|
92
92
|
onShow?: ((...args: any[]) => any) | undefined;
|
|
93
93
|
}, {
|
|
94
|
-
visible: boolean;
|
|
95
94
|
scroll: boolean;
|
|
95
|
+
visible: boolean;
|
|
96
96
|
placement: string;
|
|
97
97
|
backdrop: boolean;
|
|
98
98
|
keyboard: boolean;
|
|
@@ -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
|
}>;
|