@solcre-org/core-ui 2.20.15 → 2.20.16
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.
|
@@ -692,7 +692,7 @@ class DateFieldComponent extends BaseFieldComponent {
|
|
|
692
692
|
super();
|
|
693
693
|
this.elementRef = elementRef;
|
|
694
694
|
effect(() => {
|
|
695
|
-
const shouldDisable = this.mode() === ModalMode.VIEW || this.evaluateReadonly();
|
|
695
|
+
const shouldDisable = this.isReadonly() || this.mode() === ModalMode.VIEW || this.evaluateReadonly();
|
|
696
696
|
const control = this.formControl();
|
|
697
697
|
if (shouldDisable && control.enabled) {
|
|
698
698
|
control.disable();
|
|
@@ -828,11 +828,11 @@ class DateFieldComponent extends BaseFieldComponent {
|
|
|
828
828
|
}
|
|
829
829
|
}
|
|
830
830
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: DateFieldComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
831
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.6", type: DateFieldComponent, isStandalone: true, selector: "core-date-field", usesInheritance: true, hostDirectives: [{ directive: CoreHostDirective }], ngImport: i0, template: "<label class=\"c-entry-item\" [class.c-entry-item--inline]=\"field().inline\">\n <span class=\"c-entry-text\" *ngIf=\"field().label\">\n {{ field().label | translate }}\n @if (hasRequiredValidators()) {\n
|
|
831
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.6", type: DateFieldComponent, isStandalone: true, selector: "core-date-field", usesInheritance: true, hostDirectives: [{ directive: CoreHostDirective }], ngImport: i0, template: "<label class=\"c-entry-item\" [class.c-entry-item--inline]=\"field().inline\">\n <span class=\"c-entry-text\" *ngIf=\"field().label\">\n {{ field().label | translate }}\n @if (hasRequiredValidators()) {\n <span class=\"c-required\">*</span>\n }\n </span>\n\n <span class=\"c-entry-input\" [class.is-placeholder]=\"!formControl().value\" [class.is-invalid]=\"hasError()\"\n [class.is-disabled]=\"isReadonly()\" [class.is-readonly]=\"isReadonly()\">\n\n <input type=\"date\" [id]=\"field().key.toString()\" [name]=\"field().key.toString()\" [formControl]=\"formControl()\"\n [min]=\"minDate()\" [max]=\"maxDate()\" (blur)=\"onBlurInput()\"\n [placeholder]=\"(field().placeholder ?? '') | translate\">\n\n <button class=\"c-entry-input__addon icon-calendar-thin\" tabindex=\"-1\" type=\"button\" [disabled]=\"isReadonly()\"\n (click)=\"onCalendarClick($event)\"></button>\n\n\n </span>\n <core-field-errors [errors]=\"errors()\" />\n</label>", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i3$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i3$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i3$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: FieldErrorsComponent, selector: "core-field-errors", inputs: ["errors"] }] });
|
|
832
832
|
}
|
|
833
833
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: DateFieldComponent, decorators: [{
|
|
834
834
|
type: Component,
|
|
835
|
-
args: [{ selector: 'core-date-field', standalone: true, imports: [CommonModule, FormsModule, TranslateModule, ReactiveFormsModule, FieldErrorsComponent], hostDirectives: [CoreHostDirective], template: "<label class=\"c-entry-item\" [class.c-entry-item--inline]=\"field().inline\">\n <span class=\"c-entry-text\" *ngIf=\"field().label\">\n {{ field().label | translate }}\n @if (hasRequiredValidators()) {\n
|
|
835
|
+
args: [{ selector: 'core-date-field', standalone: true, imports: [CommonModule, FormsModule, TranslateModule, ReactiveFormsModule, FieldErrorsComponent], hostDirectives: [CoreHostDirective], template: "<label class=\"c-entry-item\" [class.c-entry-item--inline]=\"field().inline\">\n <span class=\"c-entry-text\" *ngIf=\"field().label\">\n {{ field().label | translate }}\n @if (hasRequiredValidators()) {\n <span class=\"c-required\">*</span>\n }\n </span>\n\n <span class=\"c-entry-input\" [class.is-placeholder]=\"!formControl().value\" [class.is-invalid]=\"hasError()\"\n [class.is-disabled]=\"isReadonly()\" [class.is-readonly]=\"isReadonly()\">\n\n <input type=\"date\" [id]=\"field().key.toString()\" [name]=\"field().key.toString()\" [formControl]=\"formControl()\"\n [min]=\"minDate()\" [max]=\"maxDate()\" (blur)=\"onBlurInput()\"\n [placeholder]=\"(field().placeholder ?? '') | translate\">\n\n <button class=\"c-entry-input__addon icon-calendar-thin\" tabindex=\"-1\" type=\"button\" [disabled]=\"isReadonly()\"\n (click)=\"onCalendarClick($event)\"></button>\n\n\n </span>\n <core-field-errors [errors]=\"errors()\" />\n</label>" }]
|
|
836
836
|
}], ctorParameters: () => [{ type: i0.ElementRef }] });
|
|
837
837
|
|
|
838
838
|
class DateRangeFieldComponent extends BaseFieldComponent {
|
|
@@ -17251,12 +17251,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImpor
|
|
|
17251
17251
|
// Este archivo es generado automáticamente por scripts/update-version.js
|
|
17252
17252
|
// No edites manualmente este archivo
|
|
17253
17253
|
const VERSION = {
|
|
17254
|
-
full: '2.20.
|
|
17254
|
+
full: '2.20.16',
|
|
17255
17255
|
major: 2,
|
|
17256
17256
|
minor: 20,
|
|
17257
|
-
patch:
|
|
17258
|
-
timestamp: '2026-02-
|
|
17259
|
-
buildDate: '
|
|
17257
|
+
patch: 16,
|
|
17258
|
+
timestamp: '2026-02-09T14:00:15.771Z',
|
|
17259
|
+
buildDate: '9/2/2026'
|
|
17260
17260
|
};
|
|
17261
17261
|
|
|
17262
17262
|
class MainNavComponent {
|