@testgorilla/tgo-ui 2.3.8 → 2.3.10
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/components/autocomplete/autocomplete.component.d.ts +1 -1
- package/components/autocomplete/autocomplete.component.module.d.ts +2 -1
- package/components/checkbox/checkbox.component.d.ts +1 -1
- package/components/checkbox/checkbox.component.module.d.ts +2 -1
- package/components/datepicker/datepicker.component.d.ts +5 -3
- package/components/dropdown/dropdown.component.d.ts +1 -1
- package/components/dropdown/dropdown.component.module.d.ts +2 -1
- package/components/field/field.component.d.ts +1 -1
- package/components/field/field.component.module.d.ts +2 -1
- package/components/phone-input/phone-input.component.d.ts +1 -1
- package/components/phone-input/phone-input.component.module.d.ts +2 -1
- package/components/table/table.model.d.ts +1 -0
- package/esm2022/components/autocomplete/autocomplete.component.mjs +12 -9
- package/esm2022/components/autocomplete/autocomplete.component.module.mjs +5 -2
- package/esm2022/components/checkbox/checkbox.component.mjs +6 -5
- package/esm2022/components/checkbox/checkbox.component.module.mjs +4 -3
- package/esm2022/components/datepicker/datepicker.component.mjs +16 -14
- package/esm2022/components/dropdown/dropdown.component.mjs +6 -5
- package/esm2022/components/dropdown/dropdown.component.module.mjs +5 -2
- package/esm2022/components/field/field.component.mjs +7 -6
- package/esm2022/components/field/field.component.module.mjs +5 -2
- package/esm2022/components/password-criteria/password.component.mjs +5 -5
- package/esm2022/components/phone-input/phone-input.component.mjs +8 -7
- package/esm2022/components/phone-input/phone-input.component.module.mjs +5 -2
- package/esm2022/components/table/table.component.mjs +3 -3
- package/esm2022/components/table/table.model.mjs +1 -1
- package/esm2022/pipes/has-validation-error.pipe.mjs +27 -0
- package/fesm2022/testgorilla-tgo-ui.mjs +97 -61
- package/fesm2022/testgorilla-tgo-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/pipes/has-validation-error.pipe.d.ts +15 -0
package/package.json
CHANGED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class HasValidationErrorPipe implements PipeTransform {
|
|
4
|
+
/**
|
|
5
|
+
* List of the error types that are handled
|
|
6
|
+
*/
|
|
7
|
+
private readonly errorTypes;
|
|
8
|
+
/**
|
|
9
|
+
* Checks if the error on the NgControl is in the list of handled error types
|
|
10
|
+
* @param value
|
|
11
|
+
*/
|
|
12
|
+
transform(value: Record<string, any> | null | undefined): boolean;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HasValidationErrorPipe, never>;
|
|
14
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<HasValidationErrorPipe, "hasValidationError", true>;
|
|
15
|
+
}
|