@rebilly/revel 10.0.10 → 10.0.11
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/CHANGELOG.md +2 -2
- package/dist/components/r-date-input/r-calendar.vue.d.ts +8 -4
- package/dist/components/r-date-input/r-date-input.vue.d.ts +13 -9
- package/dist/components/r-date-input/r-date-range-button-group.vue.d.ts +1 -1
- package/dist/components/r-date-input/r-range-calendar.vue.d.ts +1 -1
- package/dist/components/r-input/r-input.vue.d.ts +2 -2
- package/dist/components/r-select/r-select.vue.d.ts +1 -1
- package/dist/revel.mjs +5423 -5230
- package/dist/revel.umd.js +3 -3
- package/dist/style.css +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
## [10.0.
|
|
1
|
+
## [10.0.11](https://github.com/Rebilly/rebilly/compare/revel-v10.0.10...revel-v10.0.11) (2025-08-12)
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
### Bug Fixes
|
|
5
5
|
|
|
6
|
-
* **revel
|
|
6
|
+
* **revel:** Fix r-date-input clearing behaviour ([#14020](https://github.com/Rebilly/rebilly/issues/14020)) ([c8d5038](https://github.com/Rebilly/rebilly/commit/c8d5038603b91bb265e9c7aa389230ade632d6b4))
|
|
@@ -3,7 +3,7 @@ interface Props {
|
|
|
3
3
|
/**
|
|
4
4
|
* Date value
|
|
5
5
|
*/
|
|
6
|
-
modelValue?: Date | string;
|
|
6
|
+
modelValue?: Date | string | null;
|
|
7
7
|
/**
|
|
8
8
|
* Disable
|
|
9
9
|
*/
|
|
@@ -24,15 +24,19 @@ interface Props {
|
|
|
24
24
|
* Masks are used to properly format and parse different sections of the calendar and date picker components.
|
|
25
25
|
*/
|
|
26
26
|
masks?: object;
|
|
27
|
+
/**
|
|
28
|
+
* Whether the value can be null
|
|
29
|
+
*/
|
|
30
|
+
allowEmpty?: boolean;
|
|
27
31
|
}
|
|
28
32
|
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
29
|
-
"update:modelValue": (value: string | Date) => any;
|
|
33
|
+
"update:modelValue": (value: string | Date | null) => any;
|
|
30
34
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
31
|
-
"onUpdate:modelValue"?: ((value: string | Date) => any) | undefined;
|
|
35
|
+
"onUpdate:modelValue"?: ((value: string | Date | null) => any) | undefined;
|
|
32
36
|
}>, {
|
|
33
37
|
type: string;
|
|
34
38
|
disabled: boolean;
|
|
35
|
-
modelValue: Date | string;
|
|
39
|
+
modelValue: Date | string | null;
|
|
36
40
|
timezone: string;
|
|
37
41
|
modelConfig: object;
|
|
38
42
|
masks: object;
|
|
@@ -17,7 +17,7 @@ interface Props {
|
|
|
17
17
|
* Used to specify selected dates
|
|
18
18
|
* @model
|
|
19
19
|
*/
|
|
20
|
-
modelValue?: Date | object | string;
|
|
20
|
+
modelValue?: Date | object | string | null;
|
|
21
21
|
/**
|
|
22
22
|
* Disable
|
|
23
23
|
*/
|
|
@@ -83,11 +83,15 @@ interface Props {
|
|
|
83
83
|
* Masks are used to properly format and parse different sections of the calendar and date picker components.
|
|
84
84
|
*/
|
|
85
85
|
masks?: object;
|
|
86
|
+
/**
|
|
87
|
+
* Whether the value can be null for single date inputs
|
|
88
|
+
*/
|
|
89
|
+
allowEmpty?: boolean;
|
|
86
90
|
}
|
|
87
91
|
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
88
|
-
"update:modelValue": (value: string | Date | DateRange) => any;
|
|
92
|
+
"update:modelValue": (value: string | Date | DateRange | null) => any;
|
|
89
93
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
90
|
-
"onUpdate:modelValue"?: ((value: string | Date | DateRange) => any) | undefined;
|
|
94
|
+
"onUpdate:modelValue"?: ((value: string | Date | DateRange | null) => any) | undefined;
|
|
91
95
|
}>, {
|
|
92
96
|
columns: number;
|
|
93
97
|
id: string;
|
|
@@ -95,19 +99,19 @@ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
95
99
|
label: string;
|
|
96
100
|
type: string;
|
|
97
101
|
disabled: boolean;
|
|
98
|
-
modelValue: Date | object | string;
|
|
102
|
+
modelValue: Date | object | string | null;
|
|
99
103
|
validate: Nullable<ValidationState>;
|
|
100
104
|
placement: string;
|
|
101
105
|
timezone: string;
|
|
102
106
|
masks: object;
|
|
107
|
+
is24hr: boolean;
|
|
108
|
+
hideTimeHeader: boolean;
|
|
109
|
+
locale: string;
|
|
110
|
+
minDate: Date | string | object;
|
|
111
|
+
maxDate: Date | string | object;
|
|
103
112
|
placeholder: string;
|
|
104
113
|
timePicker: boolean;
|
|
105
|
-
is24hr: boolean;
|
|
106
114
|
showValidateMessages: boolean;
|
|
107
115
|
availableDates: object;
|
|
108
|
-
minDate: Date | string | object;
|
|
109
|
-
maxDate: Date | string | object;
|
|
110
|
-
hideTimeHeader: boolean;
|
|
111
|
-
locale: string;
|
|
112
116
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
113
117
|
export default _default;
|
|
@@ -41,10 +41,10 @@ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
41
41
|
disabled: boolean;
|
|
42
42
|
modelValue: DateRange | string;
|
|
43
43
|
timezone: string;
|
|
44
|
+
is24hr: boolean;
|
|
44
45
|
placeholder: string;
|
|
45
46
|
calendarToggle: () => void;
|
|
46
47
|
timePicker: boolean;
|
|
47
|
-
is24hr: boolean;
|
|
48
48
|
showPresets: boolean;
|
|
49
49
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
50
50
|
export default _default;
|
|
@@ -36,8 +36,8 @@ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
36
36
|
disabled: boolean;
|
|
37
37
|
modelValue: Date | string | DateRange;
|
|
38
38
|
timezone: string;
|
|
39
|
+
is24hr: boolean;
|
|
39
40
|
placeholder: string;
|
|
40
41
|
timePicker: boolean;
|
|
41
|
-
is24hr: boolean;
|
|
42
42
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
43
43
|
export default _default;
|
|
@@ -10,21 +10,21 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {
|
|
|
10
10
|
blur: (...args: any[]) => void;
|
|
11
11
|
focus: (...args: any[]) => void;
|
|
12
12
|
"update:modelValue": (...args: any[]) => void;
|
|
13
|
+
"right-icon-click": (...args: any[]) => void;
|
|
13
14
|
"key-press": (...args: any[]) => void;
|
|
14
15
|
"key-down": (...args: any[]) => void;
|
|
15
16
|
"key-submit": (...args: any[]) => void;
|
|
16
17
|
"left-icon-click": (...args: any[]) => void;
|
|
17
|
-
"right-icon-click": (...args: any[]) => void;
|
|
18
18
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
19
19
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
20
20
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
21
21
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
22
22
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
23
|
+
"onRight-icon-click"?: ((...args: any[]) => any) | undefined;
|
|
23
24
|
"onKey-press"?: ((...args: any[]) => any) | undefined;
|
|
24
25
|
"onKey-down"?: ((...args: any[]) => any) | undefined;
|
|
25
26
|
"onKey-submit"?: ((...args: any[]) => any) | undefined;
|
|
26
27
|
"onLeft-icon-click"?: ((...args: any[]) => any) | undefined;
|
|
27
|
-
"onRight-icon-click"?: ((...args: any[]) => any) | undefined;
|
|
28
28
|
}>, {
|
|
29
29
|
label: Nullable<string>;
|
|
30
30
|
modelValue: Nullable<string | number | boolean>;
|
|
@@ -723,6 +723,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
723
723
|
disabled: boolean;
|
|
724
724
|
modelValue: Nullable<OptionItem | Options>;
|
|
725
725
|
validate: ValidationState;
|
|
726
|
+
allowEmpty: boolean;
|
|
726
727
|
placeholder: string;
|
|
727
728
|
showValidateMessages: boolean;
|
|
728
729
|
name: string;
|
|
@@ -733,7 +734,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
733
734
|
limit: number;
|
|
734
735
|
asyncFind: AsyncSearchFn;
|
|
735
736
|
options: Options;
|
|
736
|
-
allowEmpty: boolean;
|
|
737
737
|
blockKeys: string[];
|
|
738
738
|
clearOnSelect: boolean;
|
|
739
739
|
closeOnSelect: boolean;
|