mapa-library-ui 1.1.2 → 1.1.3
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/fesm2022/mapa-library-ui-src-lib-components-datepicker-range.mjs +5 -6
- package/fesm2022/mapa-library-ui-src-lib-components-datepicker-range.mjs.map +1 -1
- package/fesm2022/mapa-library-ui-src-lib-components-form.mjs +5 -6
- package/fesm2022/mapa-library-ui-src-lib-components-form.mjs.map +1 -1
- package/fesm2022/mapa-library-ui.mjs +5 -6
- package/fesm2022/mapa-library-ui.mjs.map +1 -1
- package/mapa-library-ui-1.1.3.tgz +0 -0
- package/package.json +1 -1
- package/mapa-library-ui-1.1.2.tgz +0 -0
|
@@ -5909,14 +5909,13 @@ class MapaDatepickerRange {
|
|
|
5909
5909
|
return first.getTime() === second.getTime();
|
|
5910
5910
|
}
|
|
5911
5911
|
cleanDatepicker() {
|
|
5912
|
-
const defaultRange =
|
|
5913
|
-
|
|
5914
|
-
|
|
5915
|
-
endDate: formatDateAsDayMonthYear(defaultRange.endDate),
|
|
5912
|
+
const defaultRange = {
|
|
5913
|
+
startDate: null,
|
|
5914
|
+
endDate: null,
|
|
5916
5915
|
};
|
|
5917
5916
|
this.formDatepicker.patchValue(defaultRange, { emitEvent: false });
|
|
5918
|
-
this.formDisplay.patchValue(
|
|
5919
|
-
this.patchExternalValue(
|
|
5917
|
+
this.formDisplay.patchValue(defaultRange, { emitEvent: false });
|
|
5918
|
+
this.patchExternalValue(defaultRange);
|
|
5920
5919
|
this.cdr.markForCheck();
|
|
5921
5920
|
}
|
|
5922
5921
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: MapaDatepickerRange, deps: [{ token: MapaI18nService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|