@solcre-org/core-ui 2.18.3 → 2.18.4
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.
|
@@ -886,6 +886,23 @@ class DateRangeFieldComponent extends BaseFieldComponent {
|
|
|
886
886
|
constructor(elementRef) {
|
|
887
887
|
super();
|
|
888
888
|
this.elementRef = elementRef;
|
|
889
|
+
effect(() => {
|
|
890
|
+
const newValue = this.value();
|
|
891
|
+
const startControl = this.startDateControl();
|
|
892
|
+
const endControl = this.endDateControl();
|
|
893
|
+
if (newValue) {
|
|
894
|
+
const newStartDate = this.formatDateValue(newValue.startDate);
|
|
895
|
+
const newEndDate = this.formatDateValue(newValue.endDate);
|
|
896
|
+
if (startControl.value !== newStartDate) {
|
|
897
|
+
startControl.setValue(newStartDate, { emitEvent: false });
|
|
898
|
+
this.startDateValue.set(newStartDate || null);
|
|
899
|
+
}
|
|
900
|
+
if (endControl.value !== newEndDate) {
|
|
901
|
+
endControl.setValue(newEndDate, { emitEvent: false });
|
|
902
|
+
this.endDateValue.set(newEndDate || null);
|
|
903
|
+
}
|
|
904
|
+
}
|
|
905
|
+
});
|
|
889
906
|
effect(() => {
|
|
890
907
|
const shouldDisable = this.mode() === ModalMode.VIEW || this.evaluateReadonly();
|
|
891
908
|
const startControl = this.startDateControl();
|
|
@@ -16865,11 +16882,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImpor
|
|
|
16865
16882
|
// Este archivo es generado automáticamente por scripts/update-version.js
|
|
16866
16883
|
// No edites manualmente este archivo
|
|
16867
16884
|
const VERSION = {
|
|
16868
|
-
full: '2.18.
|
|
16885
|
+
full: '2.18.4',
|
|
16869
16886
|
major: 2,
|
|
16870
16887
|
minor: 18,
|
|
16871
|
-
patch:
|
|
16872
|
-
timestamp: '2026-01-
|
|
16888
|
+
patch: 4,
|
|
16889
|
+
timestamp: '2026-01-02T16:17:54.821Z',
|
|
16873
16890
|
buildDate: '2/1/2026'
|
|
16874
16891
|
};
|
|
16875
16892
|
|