@coreui/vue-pro 4.9.0-rc.0 → 4.9.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/dropdown/CDropdown.d.ts +2 -2
- package/dist/components/form/CFormCheck.d.ts +1 -1
- package/dist/components/form/CFormControl.d.ts +1 -1
- package/dist/components/form/CFormInput.d.ts +2 -2
- package/dist/components/form/CFormTextarea.d.ts +2 -2
- package/dist/components/multi-select/CMultiSelect.d.ts +7 -7
- package/dist/components/multi-select/CMultiSelectNativeSelect.d.ts +1 -1
- package/dist/components/multi-select/CMultiSelectSelection.d.ts +1 -1
- package/dist/components/picker/CPicker.d.ts +3 -3
- package/dist/components/popover/CPopover.d.ts +6 -6
- package/dist/components/tooltip/CTooltip.d.ts +6 -6
- package/dist/index.es.js +2882 -2864
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +2881 -2863
- package/dist/index.js.map +1 -1
- package/package.json +9 -9
- package/src/components/date-range-picker/CDateRangePicker.ts +86 -73
- package/src/components/dropdown/CDropdown.ts +1 -1
- package/src/components/multi-select/CMultiSelect.ts +3 -3
- package/src/components/popover/CPopover.ts +3 -3
- package/src/components/time-picker/CTimePicker.ts +63 -52
- package/src/components/tooltip/CTooltip.ts +3 -3
- package/src/utils/getRTLPlacement.ts +1 -1
package/README.md
CHANGED
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
|
|
47
47
|
Several quick start options are available:
|
|
48
48
|
|
|
49
|
-
- [Download the latest release](https://github.com/coreui/coreui-vue-pro/archive/v4.9.0
|
|
49
|
+
- [Download the latest release](https://github.com/coreui/coreui-vue-pro/archive/v4.9.0.zip)
|
|
50
50
|
- Clone the repo: `git clone https://github.com/coreui/coreui-vue-pro.git`
|
|
51
51
|
- Install with [npm](https://www.npmjs.com/): `npm install @coreui/vue-pro`
|
|
52
52
|
- Install with [yarn](https://yarnpkg.com/): `yarn add @coreui/vue-pro`
|
|
@@ -70,7 +70,7 @@ declare const CDropdown: import("vue").DefineComponent<{
|
|
|
70
70
|
/**
|
|
71
71
|
* Offset of the dropdown menu relative to its target.
|
|
72
72
|
*
|
|
73
|
-
* @since 4.9.0
|
|
73
|
+
* @since 4.9.0
|
|
74
74
|
*/
|
|
75
75
|
offset: {
|
|
76
76
|
type: ArrayConstructor;
|
|
@@ -171,7 +171,7 @@ declare const CDropdown: import("vue").DefineComponent<{
|
|
|
171
171
|
/**
|
|
172
172
|
* Offset of the dropdown menu relative to its target.
|
|
173
173
|
*
|
|
174
|
-
* @since 4.9.0
|
|
174
|
+
* @since 4.9.0
|
|
175
175
|
*/
|
|
176
176
|
offset: {
|
|
177
177
|
type: ArrayConstructor;
|
|
@@ -355,15 +355,15 @@ declare const CFormInput: import("vue").DefineComponent<{
|
|
|
355
355
|
valid: BooleanConstructor;
|
|
356
356
|
}>> & {
|
|
357
357
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
358
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
359
358
|
onInput?: ((...args: any[]) => any) | undefined;
|
|
359
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
360
360
|
}, {
|
|
361
361
|
invalid: boolean;
|
|
362
362
|
type: string;
|
|
363
363
|
disabled: boolean;
|
|
364
364
|
valid: boolean;
|
|
365
365
|
tooltipFeedback: boolean;
|
|
366
|
-
plainText: boolean;
|
|
367
366
|
readonly: boolean;
|
|
367
|
+
plainText: boolean;
|
|
368
368
|
}, {}>;
|
|
369
369
|
export { CFormInput };
|
|
@@ -144,14 +144,14 @@ declare const CFormTextarea: import("vue").DefineComponent<{
|
|
|
144
144
|
valid: BooleanConstructor;
|
|
145
145
|
}>> & {
|
|
146
146
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
147
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
148
147
|
onInput?: ((...args: any[]) => any) | undefined;
|
|
148
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
149
149
|
}, {
|
|
150
150
|
invalid: boolean;
|
|
151
151
|
disabled: boolean;
|
|
152
152
|
valid: boolean;
|
|
153
153
|
tooltipFeedback: boolean;
|
|
154
|
-
plainText: boolean;
|
|
155
154
|
readonly: boolean;
|
|
155
|
+
plainText: boolean;
|
|
156
156
|
}, {}>;
|
|
157
157
|
export { CFormTextarea };
|
|
@@ -4,7 +4,7 @@ declare const CMultiSelect: import("vue").DefineComponent<{
|
|
|
4
4
|
/**
|
|
5
5
|
* Allow users to create options if they are not in the list of options.
|
|
6
6
|
*
|
|
7
|
-
* @since 4.9.0
|
|
7
|
+
* @since 4.9.0
|
|
8
8
|
*/
|
|
9
9
|
allowCreateOptions: BooleanConstructor;
|
|
10
10
|
/**
|
|
@@ -19,7 +19,7 @@ declare const CMultiSelect: import("vue").DefineComponent<{
|
|
|
19
19
|
/**
|
|
20
20
|
* Clear current search on selecting an item.
|
|
21
21
|
*
|
|
22
|
-
* @since 4.9.0
|
|
22
|
+
* @since 4.9.0
|
|
23
23
|
*/
|
|
24
24
|
clearSearchOnSelect: BooleanConstructor;
|
|
25
25
|
/**
|
|
@@ -63,7 +63,7 @@ declare const CMultiSelect: import("vue").DefineComponent<{
|
|
|
63
63
|
/**
|
|
64
64
|
* When set, the options list will have a loading style: loading spinner and reduced opacity.
|
|
65
65
|
*
|
|
66
|
-
* @since 4.9.0
|
|
66
|
+
* @since 4.9.0
|
|
67
67
|
*/
|
|
68
68
|
loading: BooleanConstructor;
|
|
69
69
|
/**
|
|
@@ -223,7 +223,7 @@ declare const CMultiSelect: import("vue").DefineComponent<{
|
|
|
223
223
|
/**
|
|
224
224
|
* Allow users to create options if they are not in the list of options.
|
|
225
225
|
*
|
|
226
|
-
* @since 4.9.0
|
|
226
|
+
* @since 4.9.0
|
|
227
227
|
*/
|
|
228
228
|
allowCreateOptions: BooleanConstructor;
|
|
229
229
|
/**
|
|
@@ -238,7 +238,7 @@ declare const CMultiSelect: import("vue").DefineComponent<{
|
|
|
238
238
|
/**
|
|
239
239
|
* Clear current search on selecting an item.
|
|
240
240
|
*
|
|
241
|
-
* @since 4.9.0
|
|
241
|
+
* @since 4.9.0
|
|
242
242
|
*/
|
|
243
243
|
clearSearchOnSelect: BooleanConstructor;
|
|
244
244
|
/**
|
|
@@ -282,7 +282,7 @@ declare const CMultiSelect: import("vue").DefineComponent<{
|
|
|
282
282
|
/**
|
|
283
283
|
* When set, the options list will have a loading style: loading spinner and reduced opacity.
|
|
284
284
|
*
|
|
285
|
-
* @since 4.9.0
|
|
285
|
+
* @since 4.9.0
|
|
286
286
|
*/
|
|
287
287
|
loading: BooleanConstructor;
|
|
288
288
|
/**
|
|
@@ -449,10 +449,10 @@ declare const CMultiSelect: import("vue").DefineComponent<{
|
|
|
449
449
|
required: boolean;
|
|
450
450
|
valid: boolean;
|
|
451
451
|
tooltipFeedback: boolean;
|
|
452
|
-
multiple: boolean;
|
|
453
452
|
options: (Option | OptionsGroup)[];
|
|
454
453
|
cleaner: boolean;
|
|
455
454
|
placeholder: string;
|
|
455
|
+
multiple: boolean;
|
|
456
456
|
loading: boolean;
|
|
457
457
|
visibleItems: number;
|
|
458
458
|
optionsMaxHeight: string | number;
|
|
@@ -30,7 +30,7 @@ declare const CMultiSelectNativeSelect: import("vue").DefineComponent<{
|
|
|
30
30
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
31
31
|
}, {
|
|
32
32
|
required: boolean;
|
|
33
|
-
multiple: boolean;
|
|
34
33
|
options: Option[];
|
|
34
|
+
multiple: boolean;
|
|
35
35
|
}, {}>;
|
|
36
36
|
export { CMultiSelectNativeSelect };
|
|
@@ -45,8 +45,8 @@ declare const CMultiSelectSelection: import("vue").DefineComponent<{
|
|
|
45
45
|
}>> & {
|
|
46
46
|
onRemove?: ((...args: any[]) => any) | undefined;
|
|
47
47
|
}, {
|
|
48
|
-
multiple: boolean;
|
|
49
48
|
selected: Option[];
|
|
49
|
+
multiple: boolean;
|
|
50
50
|
selectionType: string;
|
|
51
51
|
selectionTypeCounterText: string;
|
|
52
52
|
}, {}>;
|
|
@@ -4,7 +4,7 @@ declare const CPicker: import("vue").DefineComponent<{
|
|
|
4
4
|
* Set container type for the component.
|
|
5
5
|
*/
|
|
6
6
|
container: {
|
|
7
|
-
type: PropType<"
|
|
7
|
+
type: PropType<"dropdown" | "inline">;
|
|
8
8
|
default: string;
|
|
9
9
|
};
|
|
10
10
|
/**
|
|
@@ -30,7 +30,7 @@ declare const CPicker: import("vue").DefineComponent<{
|
|
|
30
30
|
* Set container type for the component.
|
|
31
31
|
*/
|
|
32
32
|
container: {
|
|
33
|
-
type: PropType<"
|
|
33
|
+
type: PropType<"dropdown" | "inline">;
|
|
34
34
|
default: string;
|
|
35
35
|
};
|
|
36
36
|
/**
|
|
@@ -56,6 +56,6 @@ declare const CPicker: import("vue").DefineComponent<{
|
|
|
56
56
|
visible: boolean;
|
|
57
57
|
disabled: boolean;
|
|
58
58
|
footer: boolean;
|
|
59
|
-
container: "
|
|
59
|
+
container: "dropdown" | "inline";
|
|
60
60
|
}, {}>;
|
|
61
61
|
export { CPicker };
|
|
@@ -5,7 +5,7 @@ declare const CPopover: import("vue").DefineComponent<{
|
|
|
5
5
|
/**
|
|
6
6
|
* Apply a CSS fade transition to the popover.
|
|
7
7
|
*
|
|
8
|
-
* @since 4.9.0
|
|
8
|
+
* @since 4.9.0
|
|
9
9
|
*/
|
|
10
10
|
animation: {
|
|
11
11
|
type: BooleanConstructor;
|
|
@@ -18,7 +18,7 @@ declare const CPopover: import("vue").DefineComponent<{
|
|
|
18
18
|
/**
|
|
19
19
|
* The delay for displaying and hiding the popover (in milliseconds). When a numerical value is provided, the delay applies to both the hide and show actions. The object structure for specifying the delay is as follows: delay: `{ 'show': 500, 'hide': 100 }`.
|
|
20
20
|
*
|
|
21
|
-
* @since 4.9.0
|
|
21
|
+
* @since 4.9.0
|
|
22
22
|
*/
|
|
23
23
|
delay: {
|
|
24
24
|
type: PropType<number | {
|
|
@@ -30,7 +30,7 @@ declare const CPopover: import("vue").DefineComponent<{
|
|
|
30
30
|
/**
|
|
31
31
|
* Specify the desired order of fallback placements by providing a list of placements as an array. The placements should be prioritized based on preference.
|
|
32
32
|
*
|
|
33
|
-
* @since 4.9.0
|
|
33
|
+
* @since 4.9.0
|
|
34
34
|
*/
|
|
35
35
|
fallbackPlacements: {
|
|
36
36
|
type: PropType<string | string[]>;
|
|
@@ -78,7 +78,7 @@ declare const CPopover: import("vue").DefineComponent<{
|
|
|
78
78
|
/**
|
|
79
79
|
* Apply a CSS fade transition to the popover.
|
|
80
80
|
*
|
|
81
|
-
* @since 4.9.0
|
|
81
|
+
* @since 4.9.0
|
|
82
82
|
*/
|
|
83
83
|
animation: {
|
|
84
84
|
type: BooleanConstructor;
|
|
@@ -91,7 +91,7 @@ declare const CPopover: import("vue").DefineComponent<{
|
|
|
91
91
|
/**
|
|
92
92
|
* The delay for displaying and hiding the popover (in milliseconds). When a numerical value is provided, the delay applies to both the hide and show actions. The object structure for specifying the delay is as follows: delay: `{ 'show': 500, 'hide': 100 }`.
|
|
93
93
|
*
|
|
94
|
-
* @since 4.9.0
|
|
94
|
+
* @since 4.9.0
|
|
95
95
|
*/
|
|
96
96
|
delay: {
|
|
97
97
|
type: PropType<number | {
|
|
@@ -103,7 +103,7 @@ declare const CPopover: import("vue").DefineComponent<{
|
|
|
103
103
|
/**
|
|
104
104
|
* Specify the desired order of fallback placements by providing a list of placements as an array. The placements should be prioritized based on preference.
|
|
105
105
|
*
|
|
106
|
-
* @since 4.9.0
|
|
106
|
+
* @since 4.9.0
|
|
107
107
|
*/
|
|
108
108
|
fallbackPlacements: {
|
|
109
109
|
type: PropType<string | string[]>;
|
|
@@ -5,7 +5,7 @@ declare const CTooltip: import("vue").DefineComponent<{
|
|
|
5
5
|
/**
|
|
6
6
|
* Apply a CSS fade transition to the tooltip.
|
|
7
7
|
*
|
|
8
|
-
* @since 4.9.0
|
|
8
|
+
* @since 4.9.0
|
|
9
9
|
*/
|
|
10
10
|
animation: {
|
|
11
11
|
type: BooleanConstructor;
|
|
@@ -18,7 +18,7 @@ declare const CTooltip: import("vue").DefineComponent<{
|
|
|
18
18
|
/**
|
|
19
19
|
* The delay for displaying and hiding the popover (in milliseconds). When a numerical value is provided, the delay applies to both the hide and show actions. The object structure for specifying the delay is as follows: delay: `{ 'show': 500, 'hide': 100 }`.
|
|
20
20
|
*
|
|
21
|
-
* @since 4.9.0
|
|
21
|
+
* @since 4.9.0
|
|
22
22
|
*/
|
|
23
23
|
delay: {
|
|
24
24
|
type: PropType<number | {
|
|
@@ -30,7 +30,7 @@ declare const CTooltip: import("vue").DefineComponent<{
|
|
|
30
30
|
/**
|
|
31
31
|
* Specify the desired order of fallback placements by providing a list of placements as an array. The placements should be prioritized based on preference.
|
|
32
32
|
*
|
|
33
|
-
* @since 4.9.0
|
|
33
|
+
* @since 4.9.0
|
|
34
34
|
*/
|
|
35
35
|
fallbackPlacements: {
|
|
36
36
|
type: PropType<string | string[]>;
|
|
@@ -74,7 +74,7 @@ declare const CTooltip: import("vue").DefineComponent<{
|
|
|
74
74
|
/**
|
|
75
75
|
* Apply a CSS fade transition to the tooltip.
|
|
76
76
|
*
|
|
77
|
-
* @since 4.9.0
|
|
77
|
+
* @since 4.9.0
|
|
78
78
|
*/
|
|
79
79
|
animation: {
|
|
80
80
|
type: BooleanConstructor;
|
|
@@ -87,7 +87,7 @@ declare const CTooltip: import("vue").DefineComponent<{
|
|
|
87
87
|
/**
|
|
88
88
|
* The delay for displaying and hiding the popover (in milliseconds). When a numerical value is provided, the delay applies to both the hide and show actions. The object structure for specifying the delay is as follows: delay: `{ 'show': 500, 'hide': 100 }`.
|
|
89
89
|
*
|
|
90
|
-
* @since 4.9.0
|
|
90
|
+
* @since 4.9.0
|
|
91
91
|
*/
|
|
92
92
|
delay: {
|
|
93
93
|
type: PropType<number | {
|
|
@@ -99,7 +99,7 @@ declare const CTooltip: import("vue").DefineComponent<{
|
|
|
99
99
|
/**
|
|
100
100
|
* Specify the desired order of fallback placements by providing a list of placements as an array. The placements should be prioritized based on preference.
|
|
101
101
|
*
|
|
102
|
-
* @since 4.9.0
|
|
102
|
+
* @since 4.9.0
|
|
103
103
|
*/
|
|
104
104
|
fallbackPlacements: {
|
|
105
105
|
type: PropType<string | string[]>;
|