inviton-powerduck 0.0.186 → 0.0.187
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.
|
@@ -49,7 +49,7 @@ interface DaterangePickerArgs extends FormItemWrapperArgs {
|
|
|
49
49
|
minDate?: Temporal.PlainDateTime;
|
|
50
50
|
alwaysOpen?: boolean;
|
|
51
51
|
singleDate?: boolean;
|
|
52
|
-
pickerRootCssClass?: string
|
|
52
|
+
pickerRootCssClass?: string;
|
|
53
53
|
maxDate?: Temporal.PlainDateTime;
|
|
54
54
|
prevIcon?: string;
|
|
55
55
|
nextIcon?: string;
|
|
@@ -105,7 +105,7 @@ class DaterangePickerComponent extends TsxComponent<DaterangePickerArgs> impleme
|
|
|
105
105
|
@Prop() inputReadOnly?: boolean;
|
|
106
106
|
@Prop() alwaysOpen!: boolean;
|
|
107
107
|
@Prop() singleDate!: boolean;
|
|
108
|
-
@Prop() pickerRootCssClass!: string
|
|
108
|
+
@Prop() pickerRootCssClass!: string;
|
|
109
109
|
@Prop() wrap!: boolean;
|
|
110
110
|
@Prop() hint: string;
|
|
111
111
|
@Prop() appendIcon: string;
|
|
@@ -226,6 +226,10 @@ class DaterangePickerComponent extends TsxComponent<DaterangePickerArgs> impleme
|
|
|
226
226
|
}
|
|
227
227
|
|
|
228
228
|
useModalMode(): boolean {
|
|
229
|
+
if (this.alwaysOpen && (this.calendarPlacement != null && this.calendarPlacement != 'body')) {
|
|
230
|
+
return false;
|
|
231
|
+
}
|
|
232
|
+
|
|
229
233
|
return PortalUtils.treatAsMobileDevice();
|
|
230
234
|
}
|
|
231
235
|
|