@solcre-org/core-ui 2.20.15 → 2.20.17
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 {
|
|
@@ -13408,9 +13408,15 @@ class GenericTableComponent {
|
|
|
13408
13408
|
currentFilterValues = signal(new Map());
|
|
13409
13409
|
currentActiveFilters = computed(() => this.generateActiveFilters());
|
|
13410
13410
|
headerFilters = computed(() => {
|
|
13411
|
+
if (this.mobileResolutionService.isMobile()) {
|
|
13412
|
+
return [];
|
|
13413
|
+
}
|
|
13411
13414
|
return this.customFilters();
|
|
13412
13415
|
});
|
|
13413
13416
|
modalFilters = computed(() => {
|
|
13417
|
+
if (this.mobileResolutionService.isMobile()) {
|
|
13418
|
+
return this.customFilters();
|
|
13419
|
+
}
|
|
13414
13420
|
return this.customFilters().filter(f => f.showOutsideFilterModal !== true);
|
|
13415
13421
|
});
|
|
13416
13422
|
isDeletedFilterActive = computed(() => {
|
|
@@ -17251,12 +17257,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImpor
|
|
|
17251
17257
|
// Este archivo es generado automáticamente por scripts/update-version.js
|
|
17252
17258
|
// No edites manualmente este archivo
|
|
17253
17259
|
const VERSION = {
|
|
17254
|
-
full: '2.20.
|
|
17260
|
+
full: '2.20.17',
|
|
17255
17261
|
major: 2,
|
|
17256
17262
|
minor: 20,
|
|
17257
|
-
patch:
|
|
17258
|
-
timestamp: '2026-02-
|
|
17259
|
-
buildDate: '
|
|
17263
|
+
patch: 17,
|
|
17264
|
+
timestamp: '2026-02-09T15:27:02.438Z',
|
|
17265
|
+
buildDate: '9/2/2026'
|
|
17260
17266
|
};
|
|
17261
17267
|
|
|
17262
17268
|
class MainNavComponent {
|