@vsn-ux/ngx-gaia 0.8.8 → 0.8.9
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/vsn-ux-ngx-gaia.mjs +342 -177
- package/fesm2022/vsn-ux-ngx-gaia.mjs.map +1 -1
- package/index.d.ts +95 -66
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import * as lucide_angular from 'lucide-angular';
|
|
2
2
|
import { X, LucideIconData } from 'lucide-angular';
|
|
3
3
|
import * as _angular_core from '@angular/core';
|
|
4
|
-
import { Provider,
|
|
5
|
-
import
|
|
4
|
+
import { Provider, Signal, InjectionToken, TemplateRef, WritableSignal, AfterViewInit, Renderer2, ElementRef, OnDestroy, AfterContentInit } from '@angular/core';
|
|
5
|
+
import * as _angular_forms from '@angular/forms';
|
|
6
|
+
import { ControlValueAccessor, CheckboxRequiredValidator, NgControl, ValidationErrors, RequiredValidator, FormGroupDirective, NgForm } from '@angular/forms';
|
|
6
7
|
import * as _vsn_ux_ngx_gaia from '@vsn-ux/ngx-gaia';
|
|
7
8
|
import * as i1 from '@angular/cdk/menu';
|
|
8
9
|
import * as rxjs from 'rxjs';
|
|
@@ -145,11 +146,11 @@ declare class GaCardModule {
|
|
|
145
146
|
}
|
|
146
147
|
|
|
147
148
|
declare const CHECKBOX_CONTROL_VALUE_ACCESSOR: Provider;
|
|
148
|
-
declare class GaCheckboxComponent implements ControlValueAccessor
|
|
149
|
+
declare class GaCheckboxComponent implements ControlValueAccessor {
|
|
149
150
|
/** @ignore */
|
|
150
151
|
private readonly _uniqueId;
|
|
151
152
|
/** @ignore */
|
|
152
|
-
private readonly
|
|
153
|
+
private readonly implicitNgControlState;
|
|
153
154
|
/** @ignore */
|
|
154
155
|
protected readonly tabindex: string | null;
|
|
155
156
|
readonly icons: {
|
|
@@ -160,13 +161,10 @@ declare class GaCheckboxComponent implements ControlValueAccessor, DoCheck {
|
|
|
160
161
|
private _onTouched?;
|
|
161
162
|
/** @ignore */
|
|
162
163
|
private _onModelChanged?;
|
|
163
|
-
/** @ignore */
|
|
164
|
-
private _invalidNgModel;
|
|
165
|
-
private _ngModelName;
|
|
166
164
|
/** The value attribute of the native input element */
|
|
167
165
|
readonly value: _angular_core.InputSignal<string | null>;
|
|
168
|
-
readonly
|
|
169
|
-
readonly
|
|
166
|
+
readonly disabledInput: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
167
|
+
readonly checkedInput: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
170
168
|
readonly nameInput: _angular_core.InputSignal<string | null>;
|
|
171
169
|
readonly id: _angular_core.InputSignal<string | null>;
|
|
172
170
|
readonly indeterminate: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
@@ -176,8 +174,8 @@ declare class GaCheckboxComponent implements ControlValueAccessor, DoCheck {
|
|
|
176
174
|
readonly ariaInvalid: _angular_core.InputSignal<string | null>;
|
|
177
175
|
readonly ariaErrormessage: _angular_core.InputSignal<string | null>;
|
|
178
176
|
readonly required: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
179
|
-
readonly
|
|
180
|
-
readonly
|
|
177
|
+
readonly disabled: _angular_core.WritableSignal<boolean>;
|
|
178
|
+
readonly checked: _angular_core.WritableSignal<boolean>;
|
|
181
179
|
readonly change: _angular_core.OutputEmitterRef<boolean>;
|
|
182
180
|
readonly indeterminateChange: _angular_core.OutputEmitterRef<boolean>;
|
|
183
181
|
/** @ignore */
|
|
@@ -186,7 +184,6 @@ declare class GaCheckboxComponent implements ControlValueAccessor, DoCheck {
|
|
|
186
184
|
readonly name: _angular_core.Signal<string | number>;
|
|
187
185
|
/** @ignore */
|
|
188
186
|
readonly invalid: _angular_core.Signal<boolean>;
|
|
189
|
-
ngDoCheck(): void;
|
|
190
187
|
/** @ignore */
|
|
191
188
|
onInputChange(event: Event): void;
|
|
192
189
|
/** @ignore */
|
|
@@ -202,7 +199,7 @@ declare class GaCheckboxComponent implements ControlValueAccessor, DoCheck {
|
|
|
202
199
|
/** @ignore */
|
|
203
200
|
private updateModel;
|
|
204
201
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GaCheckboxComponent, never>;
|
|
205
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GaCheckboxComponent, "ga-checkbox", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "
|
|
202
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GaCheckboxComponent, "ga-checkbox", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "disabledInput": { "alias": "disabled"; "required": false; "isSignal": true; }; "checkedInput": { "alias": "checked"; "required": false; "isSignal": true; }; "nameInput": { "alias": "name"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "indeterminate": { "alias": "indeterminate"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "aria-label"; "required": false; "isSignal": true; }; "ariaLabelledby": { "alias": "aria-labelledby"; "required": false; "isSignal": true; }; "ariaDescribedby": { "alias": "aria-describedby"; "required": false; "isSignal": true; }; "ariaInvalid": { "alias": "aria-invalid"; "required": false; "isSignal": true; }; "ariaErrormessage": { "alias": "aria-errormessage"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; }, { "change": "change"; "indeterminateChange": "indeterminateChange"; }, never, ["*"], true, never>;
|
|
206
203
|
}
|
|
207
204
|
|
|
208
205
|
declare const GA_CHECKBOX_REQUIRED_VALIDATOR: Provider;
|
|
@@ -280,60 +277,73 @@ declare class GaIconModule {
|
|
|
280
277
|
static ɵinj: _angular_core.ɵɵInjectorDeclaration<GaIconModule>;
|
|
281
278
|
}
|
|
282
279
|
|
|
283
|
-
declare class GaInputComponent implements DoCheck {
|
|
284
|
-
private readonly implicitNgControl;
|
|
285
|
-
private readonly implicitInvalid;
|
|
286
|
-
readonly invalidInput: _angular_core.InputSignalWithTransform<boolean | null, unknown>;
|
|
287
|
-
readonly invalid: _angular_core.Signal<boolean>;
|
|
288
|
-
ngDoCheck(): void;
|
|
289
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GaInputComponent, never>;
|
|
290
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GaInputComponent, "ga-input", never, { "invalidInput": { "alias": "invalidInput"; "required": false; "isSignal": true; }; }, {}, ["implicitNgControl"], ["*"], true, never>;
|
|
291
|
-
}
|
|
292
|
-
|
|
293
280
|
interface GaFormControl {
|
|
294
281
|
readonly _formControlId: Signal<string | null | undefined>;
|
|
295
282
|
readonly _formControlDisabled: Signal<boolean | null | undefined>;
|
|
296
283
|
}
|
|
297
284
|
declare const GA_FORM_CONTROL: InjectionToken<GaFormControl>;
|
|
298
|
-
declare class GaFormControlDirective
|
|
299
|
-
readonly
|
|
300
|
-
readonly
|
|
285
|
+
declare class GaFormControlDirective {
|
|
286
|
+
private readonly formFieldId;
|
|
287
|
+
readonly ngControlInput: _angular_core.InputSignal<string | NgControl | undefined>;
|
|
288
|
+
private readonly explicitNgControl;
|
|
289
|
+
private readonly ngControlState;
|
|
290
|
+
readonly inError: Signal<boolean>;
|
|
291
|
+
readonly errors: Signal<_angular_forms.ValidationErrors>;
|
|
292
|
+
readonly ariaErrorMessageId: Signal<string | null>;
|
|
301
293
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GaFormControlDirective, never>;
|
|
302
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<GaFormControlDirective, "[gaFormControl]",
|
|
294
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<GaFormControlDirective, "[gaFormControl]", ["gaFormControl"], { "ngControlInput": { "alias": "gaFormControl"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
303
295
|
}
|
|
304
296
|
|
|
305
|
-
declare class GaInputDirective implements
|
|
297
|
+
declare class GaInputDirective implements GaFormControl {
|
|
306
298
|
readonly uniqueId: string;
|
|
307
|
-
private readonly implicitNgControl;
|
|
308
299
|
protected readonly hasWrapper: GaInputComponent | null;
|
|
309
|
-
private readonly
|
|
310
|
-
private readonly implicitErrors;
|
|
300
|
+
private readonly implicitNgControlState;
|
|
311
301
|
readonly invalidInput: _angular_core.InputSignalWithTransform<boolean | null, unknown>;
|
|
312
302
|
readonly idInput: _angular_core.InputSignal<string | undefined>;
|
|
313
|
-
readonly disabledInput: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
303
|
+
readonly disabledInput: _angular_core.InputSignalWithTransform<boolean | undefined, unknown>;
|
|
314
304
|
readonly invalid: _angular_core.Signal<boolean>;
|
|
315
305
|
readonly id: _angular_core.Signal<string>;
|
|
316
|
-
readonly disabled: _angular_core.
|
|
317
|
-
readonly errors: _angular_core.Signal<ValidationErrors | null>;
|
|
306
|
+
readonly disabled: _angular_core.Signal<boolean>;
|
|
318
307
|
readonly _formControlId: _angular_core.Signal<string>;
|
|
319
308
|
readonly _formControlDisabled: _angular_core.Signal<boolean>;
|
|
320
|
-
ngDoCheck(): void;
|
|
321
309
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GaInputDirective, never>;
|
|
322
310
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GaInputDirective, "[gaInput]", never, { "invalidInput": { "alias": "invalid"; "required": false; "isSignal": true; }; "idInput": { "alias": "id"; "required": false; "isSignal": true; }; "disabledInput": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
323
311
|
}
|
|
324
312
|
|
|
313
|
+
declare class GaInputComponent {
|
|
314
|
+
protected readonly gaInput: _angular_core.Signal<GaInputDirective>;
|
|
315
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GaInputComponent, never>;
|
|
316
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GaInputComponent, "ga-input", never, {}, {}, ["gaInput"], ["*"], true, never>;
|
|
317
|
+
}
|
|
318
|
+
|
|
325
319
|
declare class GaInputModule {
|
|
326
320
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GaInputModule, never>;
|
|
327
321
|
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<GaInputModule, never, [typeof GaInputComponent, typeof GaInputDirective], [typeof GaInputComponent, typeof GaInputDirective]>;
|
|
328
322
|
static ɵinj: _angular_core.ɵɵInjectorDeclaration<GaInputModule>;
|
|
329
323
|
}
|
|
330
324
|
|
|
325
|
+
declare class GaFieldInfoComponent {
|
|
326
|
+
readonly templateRef: _angular_core.Signal<TemplateRef<any>>;
|
|
327
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GaFieldInfoComponent, never>;
|
|
328
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GaFieldInfoComponent, "ga-info", never, {}, {}, never, ["*"], true, never>;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
declare class GaFieldErrorDirective {
|
|
332
|
+
readonly templateRef: TemplateRef<any>;
|
|
333
|
+
readonly key: _angular_core.InputSignal<string>;
|
|
334
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GaFieldErrorDirective, never>;
|
|
335
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<GaFieldErrorDirective, "[gaError]", never, { "key": { "alias": "gaError"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
336
|
+
}
|
|
337
|
+
|
|
331
338
|
declare class GaFormFieldComponent {
|
|
332
339
|
readonly uniqueId: string;
|
|
333
340
|
readonly disabled: _angular_core.InputSignalWithTransform<boolean | undefined, unknown>;
|
|
334
|
-
readonly
|
|
341
|
+
readonly implicitFormControl: _angular_core.Signal<_vsn_ux_ngx_gaia.GaFormControl | undefined>;
|
|
342
|
+
readonly formControl: _angular_core.Signal<GaFormControlDirective | undefined>;
|
|
343
|
+
readonly fieldInfo: _angular_core.Signal<GaFieldInfoComponent | undefined>;
|
|
344
|
+
readonly fieldErrors: _angular_core.Signal<readonly GaFieldErrorDirective[]>;
|
|
335
345
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GaFormFieldComponent, never>;
|
|
336
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GaFormFieldComponent, "ga-form-field", ["gaFormField"], { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, ["formControl"], ["*"], true, never>;
|
|
346
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GaFormFieldComponent, "ga-form-field", ["gaFormField"], { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, ["implicitFormControl", "formControl", "fieldInfo", "fieldErrors"], ["ga-label", "*"], true, never>;
|
|
337
347
|
}
|
|
338
348
|
|
|
339
349
|
declare class GaFieldLabelComponent {
|
|
@@ -351,9 +361,11 @@ declare class GaFieldLabelComponent {
|
|
|
351
361
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GaFieldLabelComponent, "ga-label", never, { "for": { "alias": "for"; "required": false; "isSignal": true; }; "definition": { "alias": "definition"; "required": false; "isSignal": true; }; "state": { "alias": "state"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
352
362
|
}
|
|
353
363
|
|
|
354
|
-
declare class
|
|
355
|
-
|
|
356
|
-
|
|
364
|
+
declare class GaFormControlErrorsDirective {
|
|
365
|
+
readonly customErrorsInput: _angular_core.InputSignal<ValidationErrors>;
|
|
366
|
+
readonly customErrors: _angular_core.Signal<ValidationErrors>;
|
|
367
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GaFormControlErrorsDirective, never>;
|
|
368
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<GaFormControlErrorsDirective, "[gaFormControlErrors]", never, { "customErrorsInput": { "alias": "gaFormControlErrors"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
357
369
|
}
|
|
358
370
|
|
|
359
371
|
declare class GaLabelledByFormFieldDirective {
|
|
@@ -366,7 +378,7 @@ declare class GaLabelledByFormFieldDirective {
|
|
|
366
378
|
|
|
367
379
|
declare class GaFormFieldModule {
|
|
368
380
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GaFormFieldModule, never>;
|
|
369
|
-
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<GaFormFieldModule, never, [typeof GaFormFieldComponent, typeof GaFieldLabelComponent, typeof GaFieldInfoComponent, typeof GaFormControlDirective], [typeof GaFormFieldComponent, typeof GaFieldLabelComponent, typeof GaFieldInfoComponent, typeof GaFormControlDirective]>;
|
|
381
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<GaFormFieldModule, never, [typeof GaFormFieldComponent, typeof GaFieldLabelComponent, typeof GaFieldInfoComponent, typeof GaFieldErrorDirective, typeof GaFormControlErrorsDirective, typeof GaFormControlDirective], [typeof GaFormFieldComponent, typeof GaFieldLabelComponent, typeof GaFieldInfoComponent, typeof GaFieldErrorDirective, typeof GaFormControlErrorsDirective, typeof GaFormControlDirective]>;
|
|
370
382
|
static ɵinj: _angular_core.ɵɵInjectorDeclaration<GaFormFieldModule>;
|
|
371
383
|
}
|
|
372
384
|
|
|
@@ -748,12 +760,11 @@ declare class GaSelectI18nDefault extends GaSelectI18n {
|
|
|
748
760
|
}
|
|
749
761
|
declare function provideGaSelectI18n(value: GaSelectI18n | (() => GaSelectI18n)): _angular_core.EnvironmentProviders;
|
|
750
762
|
|
|
751
|
-
declare class GaSelectComponent implements ControlValueAccessor, GaFormControl,
|
|
763
|
+
declare class GaSelectComponent implements ControlValueAccessor, GaFormControl, AfterContentInit {
|
|
752
764
|
private readonly _uniqueId;
|
|
753
765
|
protected readonly icons: {
|
|
754
766
|
CircleX: lucide_angular.LucideIconData;
|
|
755
767
|
};
|
|
756
|
-
private focusedTriggerElement;
|
|
757
768
|
private _onTouched?;
|
|
758
769
|
private _onModelChanged?;
|
|
759
770
|
protected readonly positions: ConnectedPosition[];
|
|
@@ -762,9 +773,10 @@ declare class GaSelectComponent implements ControlValueAccessor, GaFormControl,
|
|
|
762
773
|
protected readonly i18n: GaSelectI18n;
|
|
763
774
|
protected readonly overlayOrigin: CdkOverlayOrigin;
|
|
764
775
|
protected readonly repositionScrollStrategy: _angular_cdk_overlay.RepositionScrollStrategy;
|
|
765
|
-
private readonly
|
|
776
|
+
private readonly implicitNgControlState;
|
|
766
777
|
private readonly _isOpen;
|
|
767
|
-
|
|
778
|
+
private shouldRecoverFocus;
|
|
779
|
+
readonly value: _angular_core.ModelSignal<any>;
|
|
768
780
|
readonly placeholder: _angular_core.InputSignal<string>;
|
|
769
781
|
readonly disabledInput: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
770
782
|
readonly invalidInput: _angular_core.InputSignalWithTransform<boolean | null, unknown>;
|
|
@@ -796,7 +808,6 @@ declare class GaSelectComponent implements ControlValueAccessor, GaFormControl,
|
|
|
796
808
|
readonly _formControlDisabled: _angular_core.Signal<boolean>;
|
|
797
809
|
constructor();
|
|
798
810
|
ngAfterContentInit(): void;
|
|
799
|
-
ngDoCheck(): void;
|
|
800
811
|
writeValue(value: any): void;
|
|
801
812
|
registerOnChange(fn: any): void;
|
|
802
813
|
registerOnTouched(fn: any): void;
|
|
@@ -809,6 +820,7 @@ declare class GaSelectComponent implements ControlValueAccessor, GaFormControl,
|
|
|
809
820
|
setPreviousItemActive(): void;
|
|
810
821
|
setNextItemActive(): void;
|
|
811
822
|
setActiveItemAsSelected(): void;
|
|
823
|
+
onOverlayKeydown(event: KeyboardEvent): void;
|
|
812
824
|
protected clearValue(): void;
|
|
813
825
|
protected onInputKeyDown(event: KeyboardEvent): void;
|
|
814
826
|
protected onOverlayAttach(): void;
|
|
@@ -869,6 +881,7 @@ declare class GaSpinnerModule {
|
|
|
869
881
|
declare class GaRadioButtonComponent {
|
|
870
882
|
private readonly radioGroup;
|
|
871
883
|
protected readonly tabindex: string | null;
|
|
884
|
+
private readonly implicitNgControlState;
|
|
872
885
|
private _uniqueId;
|
|
873
886
|
/** The value attribute of the native input element */
|
|
874
887
|
readonly value: _angular_core.InputSignal<string | null>;
|
|
@@ -890,6 +903,8 @@ declare class GaRadioButtonComponent {
|
|
|
890
903
|
readonly id: _angular_core.Signal<string>;
|
|
891
904
|
readonly name: _angular_core.Signal<string>;
|
|
892
905
|
readonly disabled: _angular_core.Signal<boolean>;
|
|
906
|
+
/** @ignore */
|
|
907
|
+
readonly invalid: _angular_core.Signal<boolean>;
|
|
893
908
|
protected readonly checked: _angular_core.Signal<boolean>;
|
|
894
909
|
onInputChange(event: Event): void;
|
|
895
910
|
onBlur(): void;
|
|
@@ -941,25 +956,23 @@ declare class GaRadioModule {
|
|
|
941
956
|
}
|
|
942
957
|
|
|
943
958
|
declare const SWITCH_CONTROL_VALUE_ACCESSOR: Provider;
|
|
944
|
-
declare class GaSwitchComponent implements ControlValueAccessor
|
|
959
|
+
declare class GaSwitchComponent implements ControlValueAccessor {
|
|
945
960
|
protected readonly icons: {
|
|
946
961
|
Check: lucide_angular.LucideIconData;
|
|
947
962
|
};
|
|
948
963
|
/** @ignore */
|
|
964
|
+
private readonly implicitNgControlState;
|
|
965
|
+
/** @ignore */
|
|
949
966
|
readonly _uniqueId: string;
|
|
950
|
-
private readonly injector;
|
|
951
967
|
/** @ignore */
|
|
952
968
|
protected readonly tabindex: _angular_core.InputSignal<string | number>;
|
|
953
969
|
/** @ignore */
|
|
954
970
|
private _onTouched?;
|
|
955
971
|
/** @ignore */
|
|
956
972
|
private _onModelChanged?;
|
|
957
|
-
/** @ignore */
|
|
958
|
-
private _invalidNgModel;
|
|
959
|
-
private _ngModelName;
|
|
960
973
|
readonly checked: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
961
974
|
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
962
|
-
readonly ariaInvalid: _angular_core.
|
|
975
|
+
readonly ariaInvalid: _angular_core.InputSignal<string | null>;
|
|
963
976
|
readonly label: _angular_core.InputSignal<string>;
|
|
964
977
|
readonly ariaLabel: _angular_core.InputSignal<string | null>;
|
|
965
978
|
readonly ariaLabelledby: _angular_core.InputSignal<string | null>;
|
|
@@ -976,7 +989,6 @@ declare class GaSwitchComponent implements ControlValueAccessor, DoCheck {
|
|
|
976
989
|
readonly name: _angular_core.Signal<string | number>;
|
|
977
990
|
/** @ignore */
|
|
978
991
|
readonly invalidComputed: _angular_core.Signal<boolean>;
|
|
979
|
-
ngDoCheck(): void;
|
|
980
992
|
/** @ignore */
|
|
981
993
|
onInputChange(event: Event): void;
|
|
982
994
|
/** @ignore */
|
|
@@ -1004,6 +1016,25 @@ declare class GaSwitchModule {
|
|
|
1004
1016
|
declare const GA_BASE_FONT_SIZE: InjectionToken<number>;
|
|
1005
1017
|
declare function provideGaBaseFontSize(fontSize: number): _angular_core.EnvironmentProviders;
|
|
1006
1018
|
|
|
1019
|
+
interface GaFormControlAdapter {
|
|
1020
|
+
readonly ngControlErrors: Signal<ValidationErrors | null | undefined>;
|
|
1021
|
+
readonly ngControlTouched: Signal<boolean>;
|
|
1022
|
+
readonly ngControlDisabled: Signal<boolean>;
|
|
1023
|
+
readonly ngControlName: Signal<string | number | null>;
|
|
1024
|
+
readonly ngFormSubmitted: Signal<boolean>;
|
|
1025
|
+
}
|
|
1026
|
+
declare const GA_FORM_CONTROL_ADAPTER: InjectionToken<GaFormControlAdapter>;
|
|
1027
|
+
declare function injectNgControlState({ implicitChildNgControl, explicitNgControl, explicitNgForm, }?: {
|
|
1028
|
+
implicitChildNgControl?: Signal<NgControl | undefined | null>;
|
|
1029
|
+
explicitNgControl?: NgControl | Signal<NgControl | undefined | null> | null;
|
|
1030
|
+
explicitNgForm?: FormGroupDirective | NgForm;
|
|
1031
|
+
}): {
|
|
1032
|
+
inError: Signal<boolean>;
|
|
1033
|
+
errors: Signal<ValidationErrors>;
|
|
1034
|
+
disabled: Signal<boolean>;
|
|
1035
|
+
name: Signal<string | number | null>;
|
|
1036
|
+
};
|
|
1037
|
+
|
|
1007
1038
|
type GaLinkVariant = 'inline';
|
|
1008
1039
|
type GaLinkSize = 'small' | 'medium' | 'large';
|
|
1009
1040
|
declare class GaLinkDirective {
|
|
@@ -1025,21 +1056,19 @@ declare class GaLinkModule {
|
|
|
1025
1056
|
static ɵinj: _angular_core.ɵɵInjectorDeclaration<GaLinkModule>;
|
|
1026
1057
|
}
|
|
1027
1058
|
|
|
1028
|
-
declare class GaTextAreaDirective implements
|
|
1059
|
+
declare class GaTextAreaDirective implements GaFormControl {
|
|
1060
|
+
private readonly implicitNgControlState;
|
|
1061
|
+
private readonly generatedUniqueId;
|
|
1029
1062
|
readonly id: _angular_core.InputSignal<string | undefined>;
|
|
1030
|
-
readonly
|
|
1031
|
-
readonly
|
|
1063
|
+
readonly disabledInput: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1064
|
+
readonly invalidInput: _angular_core.InputSignalWithTransform<boolean | undefined, unknown>;
|
|
1065
|
+
private readonly disabled;
|
|
1066
|
+
protected readonly invalid: _angular_core.Signal<boolean>;
|
|
1067
|
+
protected readonly uniqueId: _angular_core.Signal<string>;
|
|
1032
1068
|
readonly _formControlId: _angular_core.Signal<string>;
|
|
1033
1069
|
readonly _formControlDisabled: _angular_core.Signal<boolean>;
|
|
1034
|
-
protected readonly uniqueId: _angular_core.Signal<string>;
|
|
1035
|
-
protected readonly invalidInput: _angular_core.Signal<boolean>;
|
|
1036
|
-
private readonly generatedUniqueId;
|
|
1037
|
-
private readonly injector;
|
|
1038
|
-
private readonly implicitInvalid;
|
|
1039
|
-
private readonly disabledModel;
|
|
1040
|
-
ngDoCheck(): void;
|
|
1041
1070
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GaTextAreaDirective, never>;
|
|
1042
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<GaTextAreaDirective, "[gaTextArea]", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "
|
|
1071
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<GaTextAreaDirective, "[gaTextArea]", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "disabledInput": { "alias": "disabled"; "required": false; "isSignal": true; }; "invalidInput": { "alias": "invalid"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1043
1072
|
}
|
|
1044
1073
|
|
|
1045
1074
|
declare class GaTextAreaModule {
|
|
@@ -1048,5 +1077,5 @@ declare class GaTextAreaModule {
|
|
|
1048
1077
|
static ɵinj: _angular_core.ɵɵInjectorDeclaration<GaTextAreaModule>;
|
|
1049
1078
|
}
|
|
1050
1079
|
|
|
1051
|
-
export { CHECKBOX_CONTROL_VALUE_ACCESSOR, DEFAULT_MODAL_OPTIONS, GA_ALERT_I18N_FACTORY, GA_BASE_FONT_SIZE, GA_BUTTON_I18N_FACTORY, GA_CHECKBOX_REQUIRED_VALIDATOR, GA_FORM_CONTROL, GA_ICON_DEFAULT_SIZE, GA_MODAL_DATA, GA_MODAL_I18N_FACTORY, GA_SELECT_I18N_FACTORY, GA_SELECT_REQUIRED_VALIDATOR, GA_TOOLTIP_DEFAULT_OFFSET, GaAlertComponent, GaAlertI18n, GaAlertI18nDefault, GaAlertModule, GaAlertTitleActionsComponent, GaAlertTitleComponent, GaBadgeComponent, GaBadgeModule, GaButtonDirective, GaButtonI18n, GaButtonI18nDefault, GaButtonModule, GaCardComponent, GaCardModule, GaCheckboxComponent, GaCheckboxModule, GaCheckboxRequiredValidator, GaFieldInfoComponent, GaFieldLabelComponent, GaFormControlDirective, GaFormFieldComponent, GaFormFieldModule, GaIconButtonDirective, GaIconComponent, GaIconModule, GaInputComponent, GaInputDirective, GaInputModule, GaLabelledByFormFieldDirective, GaLinkDirective, GaLinkModule, GaMenuComponent, GaMenuItemComponent, GaMenuModule, GaMenuSeparatorComponent, GaMenuTitleComponent, GaMenuTriggerDirective, GaMenuTriggerIconComponent, GaModalActionsComponent, GaModalCloseDirective, GaModalComponent, GaModalContentComponent, GaModalDescriptionComponent, GaModalDescriptionDirective, GaModalHeaderComponent, GaModalI18n, GaModalI18nDefault, GaModalLabelDirective, GaModalModule, GaModalOptions, GaModalRef, GaModalService, GaModalTitleDirective, GaOptgroupComponent, GaOptionComponent, GaRadioButtonComponent, GaRadioGroupComponent, GaRadioModule, GaSegmentedControlButtonDirective, GaSegmentedControlComponent, GaSegmentedControlIconButtonComponent, GaSegmentedControlModule, GaSegmentedControlTextButtonComponent, GaSelectComponent, GaSelectDropdownComponent, GaSelectDropdownSpinnerComponent, GaSelectI18n, GaSelectI18nDefault, GaSelectModule, GaSelectRequiredValidator, GaSelectValueComponent, GaSpinnerComponent, GaSpinnerModule, GaSwitchComponent, GaSwitchModule, GaTextAreaDirective, GaTextAreaModule, GaTooltipComponent, GaTooltipDirective, GaTooltipModule, RADIO_CONTROL_VALUE_ACCESSOR, SWITCH_CONTROL_VALUE_ACCESSOR, provideGaAlertI18n, provideGaBaseFontSize, provideGaButtonI18n, provideGaModalI18n, provideGaModalOptions, provideGaSelectI18n };
|
|
1052
|
-
export type { GaAlertVariant, GaBadgeType, GaBadgeVariant, GaButtonType, GaFormControl, GaIconButtonVariant, GaIconData, GaLinkSize, GaLinkVariant, GaModalRole, GaModalSize, GaModalType, GaTooltipControlMode, GaTooltipDirection, GaTooltipPlacement, GaTooltipPosition };
|
|
1080
|
+
export { CHECKBOX_CONTROL_VALUE_ACCESSOR, DEFAULT_MODAL_OPTIONS, GA_ALERT_I18N_FACTORY, GA_BASE_FONT_SIZE, GA_BUTTON_I18N_FACTORY, GA_CHECKBOX_REQUIRED_VALIDATOR, GA_FORM_CONTROL, GA_FORM_CONTROL_ADAPTER, GA_ICON_DEFAULT_SIZE, GA_MODAL_DATA, GA_MODAL_I18N_FACTORY, GA_SELECT_I18N_FACTORY, GA_SELECT_REQUIRED_VALIDATOR, GA_TOOLTIP_DEFAULT_OFFSET, GaAlertComponent, GaAlertI18n, GaAlertI18nDefault, GaAlertModule, GaAlertTitleActionsComponent, GaAlertTitleComponent, GaBadgeComponent, GaBadgeModule, GaButtonDirective, GaButtonI18n, GaButtonI18nDefault, GaButtonModule, GaCardComponent, GaCardModule, GaCheckboxComponent, GaCheckboxModule, GaCheckboxRequiredValidator, GaFieldErrorDirective, GaFieldInfoComponent, GaFieldLabelComponent, GaFormControlDirective, GaFormControlErrorsDirective, GaFormFieldComponent, GaFormFieldModule, GaIconButtonDirective, GaIconComponent, GaIconModule, GaInputComponent, GaInputDirective, GaInputModule, GaLabelledByFormFieldDirective, GaLinkDirective, GaLinkModule, GaMenuComponent, GaMenuItemComponent, GaMenuModule, GaMenuSeparatorComponent, GaMenuTitleComponent, GaMenuTriggerDirective, GaMenuTriggerIconComponent, GaModalActionsComponent, GaModalCloseDirective, GaModalComponent, GaModalContentComponent, GaModalDescriptionComponent, GaModalDescriptionDirective, GaModalHeaderComponent, GaModalI18n, GaModalI18nDefault, GaModalLabelDirective, GaModalModule, GaModalOptions, GaModalRef, GaModalService, GaModalTitleDirective, GaOptgroupComponent, GaOptionComponent, GaRadioButtonComponent, GaRadioGroupComponent, GaRadioModule, GaSegmentedControlButtonDirective, GaSegmentedControlComponent, GaSegmentedControlIconButtonComponent, GaSegmentedControlModule, GaSegmentedControlTextButtonComponent, GaSelectComponent, GaSelectDropdownComponent, GaSelectDropdownSpinnerComponent, GaSelectI18n, GaSelectI18nDefault, GaSelectModule, GaSelectRequiredValidator, GaSelectValueComponent, GaSpinnerComponent, GaSpinnerModule, GaSwitchComponent, GaSwitchModule, GaTextAreaDirective, GaTextAreaModule, GaTooltipComponent, GaTooltipDirective, GaTooltipModule, RADIO_CONTROL_VALUE_ACCESSOR, SWITCH_CONTROL_VALUE_ACCESSOR, injectNgControlState, provideGaAlertI18n, provideGaBaseFontSize, provideGaButtonI18n, provideGaModalI18n, provideGaModalOptions, provideGaSelectI18n };
|
|
1081
|
+
export type { GaAlertVariant, GaBadgeType, GaBadgeVariant, GaButtonType, GaFormControl, GaFormControlAdapter, GaIconButtonVariant, GaIconData, GaLinkSize, GaLinkVariant, GaModalRole, GaModalSize, GaModalType, GaTooltipControlMode, GaTooltipDirection, GaTooltipPlacement, GaTooltipPosition };
|