@lenne.tech/ng-base 22.0.1 → 22.0.2
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.
|
@@ -7257,7 +7257,7 @@ var HlmDatePicker = class HlmDatePicker {
|
|
|
7257
7257
|
}
|
|
7258
7258
|
updateDate(value) {
|
|
7259
7259
|
if (this._disabled()) return;
|
|
7260
|
-
const transformedDate = value
|
|
7260
|
+
const transformedDate = value !== null && value !== void 0 ? this.transformDate()(value) : void 0;
|
|
7261
7261
|
this._mutableDate.set(transformedDate);
|
|
7262
7262
|
this._onChange?.(transformedDate ?? null);
|
|
7263
7263
|
this.dateChange.emit(transformedDate ?? null);
|
|
@@ -9477,7 +9477,7 @@ var HlmMonthYearPicker = class HlmMonthYearPicker {
|
|
|
9477
9477
|
}
|
|
9478
9478
|
updateDate(value) {
|
|
9479
9479
|
if (this._disabled()) return;
|
|
9480
|
-
const transformedDate = value
|
|
9480
|
+
const transformedDate = value !== null && value !== void 0 ? this.transformDate()(value) : void 0;
|
|
9481
9481
|
this._mutableDate.set(transformedDate);
|
|
9482
9482
|
this._onChange?.(transformedDate ?? null);
|
|
9483
9483
|
this.dateChange.emit(transformedDate ?? null);
|