@vallift/ngl 22.0.11 → 22.0.12
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/package.json
CHANGED
package/types/vallift-ngl.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ import { ComponentType, CdkPortal } from '@angular/cdk/portal';
|
|
|
11
11
|
import * as _angular_cdk_overlay from '@angular/cdk/overlay';
|
|
12
12
|
import { Overlay } from '@angular/cdk/overlay';
|
|
13
13
|
import { SafeHtml, DomSanitizer } from '@angular/platform-browser';
|
|
14
|
-
import { FormValueControl, ValidationError, PathKind, SchemaPath, SchemaPathRules, LogicFn, FieldValidator, FieldTree } from '@angular/forms/signals';
|
|
14
|
+
import { FormValueControl, ValidationError, PathKind, SchemaPath, SchemaPathRules, LogicFn, FieldValidator, Field, FieldTree } from '@angular/forms/signals';
|
|
15
15
|
|
|
16
16
|
declare class BaseApiService {
|
|
17
17
|
config: _vallift_ngl.NglConfig;
|
|
@@ -3175,7 +3175,7 @@ declare const defaultSignalFormErrors: SignalFormErrorMap;
|
|
|
3175
3175
|
declare const SIGNAL_FORM_ERRORS: InjectionToken<SignalFormErrorMap>;
|
|
3176
3176
|
|
|
3177
3177
|
declare function getSignalValidationErrorMessage(errors: readonly ValidationError.WithOptionalFieldTree[], customMessages?: SignalFormErrorMap): string | null;
|
|
3178
|
-
declare function getSignalFieldErrorMessage<TValue>(field:
|
|
3178
|
+
declare function getSignalFieldErrorMessage<TValue>(field: Field<TValue>, customMessages?: SignalFormErrorMap): string | null;
|
|
3179
3179
|
|
|
3180
3180
|
declare function validateSignalForm<TModel>(signalForm: FieldTree<TModel>): boolean;
|
|
3181
3181
|
|
|
@@ -3213,7 +3213,7 @@ declare class SignalButton {
|
|
|
3213
3213
|
|
|
3214
3214
|
declare class SignalError {
|
|
3215
3215
|
protected readonly getSignalFieldErrorMessage: typeof getSignalFieldErrorMessage;
|
|
3216
|
-
formField: _angular_core.InputSignal<
|
|
3216
|
+
formField: _angular_core.InputSignal<Field<unknown>>;
|
|
3217
3217
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SignalError, never>;
|
|
3218
3218
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SignalError, "lib-signal-error", never, { "formField": { "alias": "formField"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
3219
3219
|
}
|