@trudb/tru-common-lib 0.0.331 → 0.0.334
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/esm2020/lib/directives/breeze-validator/tru-breeze-validator.mjs +8 -7
- package/fesm2015/trudb-tru-common-lib.mjs +7 -6
- package/fesm2015/trudb-tru-common-lib.mjs.map +1 -1
- package/fesm2020/trudb-tru-common-lib.mjs +7 -6
- package/fesm2020/trudb-tru-common-lib.mjs.map +1 -1
- package/lib/directives/breeze-validator/tru-breeze-validator.d.ts +1 -1
- package/package.json +1 -1
|
@@ -4918,14 +4918,14 @@ class TruBreezeValidator {
|
|
|
4918
4918
|
this.valErrsChanged = (entityToValidate) => {
|
|
4919
4919
|
if (true) {
|
|
4920
4920
|
this.el.nativeElement.setCustomValidity('');
|
|
4921
|
-
let previousErrEl = this.el.nativeElement.
|
|
4922
|
-
let previousFlagEl = this.el.nativeElement.
|
|
4921
|
+
let previousErrEl = this.el.nativeElement.nextElementSibling;
|
|
4922
|
+
let previousFlagEl = this.el.nativeElement.nextElementSibling?.nextElementSibling;
|
|
4923
4923
|
if (previousErrEl?.classList.contains('invalid'))
|
|
4924
4924
|
previousErrEl.remove();
|
|
4925
4925
|
if (previousFlagEl?.classList.contains('invalid-flag'))
|
|
4926
4926
|
previousFlagEl.remove();
|
|
4927
4927
|
let msgEl, flagEl;
|
|
4928
|
-
this.el.nativeElement.
|
|
4928
|
+
this.el.nativeElement.classList.removeC('override-disabled-invalid');
|
|
4929
4929
|
if (this.propertyPath?.includes('/')) {
|
|
4930
4930
|
let propertyNameParts = this.propertyPath.split('/');
|
|
4931
4931
|
let targetProperty;
|
|
@@ -4962,14 +4962,15 @@ class TruBreezeValidator {
|
|
|
4962
4962
|
}
|
|
4963
4963
|
}
|
|
4964
4964
|
TruBreezeValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: TruBreezeValidator, deps: [{ token: i0.ElementRef }, { token: TruDataContext }, { token: i0.ViewContainerRef }, { token: i0.ComponentFactoryResolver }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4965
|
-
TruBreezeValidator.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.1", type: TruBreezeValidator, selector: "[
|
|
4965
|
+
TruBreezeValidator.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.1", type: TruBreezeValidator, selector: "[truBreezeValidator]", inputs: { entity: ["truBreezeValidator", "entity"], propertyPath: "propertyPath" }, ngImport: i0 });
|
|
4966
4966
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: TruBreezeValidator, decorators: [{
|
|
4967
4967
|
type: Directive,
|
|
4968
4968
|
args: [{
|
|
4969
|
-
selector: '[
|
|
4969
|
+
selector: '[truBreezeValidator]'
|
|
4970
4970
|
}]
|
|
4971
4971
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: TruDataContext }, { type: i0.ViewContainerRef }, { type: i0.ComponentFactoryResolver }]; }, propDecorators: { entity: [{
|
|
4972
|
-
type: Input
|
|
4972
|
+
type: Input,
|
|
4973
|
+
args: ['truBreezeValidator']
|
|
4973
4974
|
}], propertyPath: [{
|
|
4974
4975
|
type: Input
|
|
4975
4976
|
}] } });
|