@ngrdt/forms 0.0.62 → 0.0.63
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/fesm2022/ngrdt-forms.mjs +11 -2
- package/fesm2022/ngrdt-forms.mjs.map +1 -1
- package/index.d.ts +3 -1
- package/package.json +3 -3
package/index.d.ts
CHANGED
|
@@ -33,7 +33,8 @@ declare abstract class RdtBaseFormInputComponent<TExt, TInt = TExt> extends RdtI
|
|
|
33
33
|
readonly invalid: Signal<boolean>;
|
|
34
34
|
protected readonly requiredEffect: _angular_core.EffectRef;
|
|
35
35
|
private readonly requiredError;
|
|
36
|
-
|
|
36
|
+
protected readonly controlErrors: Signal<ValidationErrors | null>;
|
|
37
|
+
protected readonly additionalErrors: _angular_core.WritableSignal<ValidationErrors | null>;
|
|
37
38
|
readonly errors: Signal<ValidationErrors | {
|
|
38
39
|
required: boolean;
|
|
39
40
|
} | null>;
|
|
@@ -55,6 +56,7 @@ declare abstract class RdtBaseFormInputComponent<TExt, TInt = TExt> extends RdtI
|
|
|
55
56
|
registerOnValidatorChange(fn: () => void): void;
|
|
56
57
|
protected abstract isEmpty(value: TExt | null): boolean;
|
|
57
58
|
onInternalValueChange(value: TInt | null): void;
|
|
59
|
+
setAdditionalErrors(errors: ValidationErrors | null): void;
|
|
58
60
|
protected listenControlEvents(control: AbstractControl): void;
|
|
59
61
|
protected toExternalValue(internalValue: TInt | null): TExt | null;
|
|
60
62
|
protected toInternalValue(externalValue: TExt | null): TInt | null;
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ngrdt/forms",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.63",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@ngrdt/core": "^0.0.
|
|
6
|
-
"@ngrdt/utils": "^0.0.
|
|
5
|
+
"@ngrdt/core": "^0.0.63",
|
|
6
|
+
"@ngrdt/utils": "^0.0.63",
|
|
7
7
|
"@angular/core": ">=20.0.0",
|
|
8
8
|
"@angular/forms": ">=20.0.0",
|
|
9
9
|
"rxjs": ">=7.0.0",
|