@vsn-ux/ngx-gaia 0.8.8 → 0.9.0
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 +420 -215
- package/fesm2022/vsn-ux-ngx-gaia.mjs.map +1 -1
- package/index.d.ts +123 -88
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
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
|
|
6
|
-
import
|
|
4
|
+
import { Provider, TemplateRef, WritableSignal, AfterViewInit, Renderer2, ElementRef, InjectionToken, OnDestroy, AfterContentInit, Signal } from '@angular/core';
|
|
5
|
+
import * as _angular_forms from '@angular/forms';
|
|
6
|
+
import { ControlValueAccessor, CheckboxRequiredValidator, NgControl, ValidationErrors, RequiredValidator, FormGroupDirective, NgForm } from '@angular/forms';
|
|
7
7
|
import * as i1 from '@angular/cdk/menu';
|
|
8
|
+
import * as _vsn_ux_ngx_gaia from '@vsn-ux/ngx-gaia';
|
|
8
9
|
import * as rxjs from 'rxjs';
|
|
9
10
|
import { Observable, Subject } from 'rxjs';
|
|
10
11
|
import * as i1$1 from '@angular/cdk/a11y';
|
|
@@ -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,93 +277,115 @@ declare class GaIconModule {
|
|
|
280
277
|
static ɵinj: _angular_core.ɵɵInjectorDeclaration<GaIconModule>;
|
|
281
278
|
}
|
|
282
279
|
|
|
283
|
-
declare class
|
|
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
|
-
interface GaFormControl {
|
|
294
|
-
readonly _formControlId: Signal<string | null | undefined>;
|
|
295
|
-
readonly _formControlDisabled: Signal<boolean | null | undefined>;
|
|
296
|
-
}
|
|
297
|
-
declare const GA_FORM_CONTROL: InjectionToken<GaFormControl>;
|
|
298
|
-
declare class GaFormControlDirective implements GaFormControl {
|
|
299
|
-
readonly _formControlId: _angular_core.InputSignal<string | undefined>;
|
|
300
|
-
readonly _formControlDisabled: _angular_core.InputSignal<boolean | undefined>;
|
|
301
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GaFormControlDirective, never>;
|
|
302
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<GaFormControlDirective, "[gaFormControl]", never, { "_formControlId": { "alias": "gaFormControl"; "required": false; "isSignal": true; }; "_formControlDisabled": { "alias": "gaFormControlDisabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
declare class GaInputDirective implements DoCheck, GaFormControl {
|
|
280
|
+
declare class GaInputDirective {
|
|
306
281
|
readonly uniqueId: string;
|
|
307
|
-
private readonly
|
|
282
|
+
private readonly formFieldConnector;
|
|
308
283
|
protected readonly hasWrapper: GaInputComponent | null;
|
|
309
|
-
private readonly
|
|
310
|
-
private readonly implicitErrors;
|
|
284
|
+
private readonly implicitNgControlState;
|
|
311
285
|
readonly invalidInput: _angular_core.InputSignalWithTransform<boolean | null, unknown>;
|
|
312
286
|
readonly idInput: _angular_core.InputSignal<string | undefined>;
|
|
313
|
-
readonly disabledInput: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
287
|
+
readonly disabledInput: _angular_core.InputSignalWithTransform<boolean | undefined, unknown>;
|
|
314
288
|
readonly invalid: _angular_core.Signal<boolean>;
|
|
315
289
|
readonly id: _angular_core.Signal<string>;
|
|
316
|
-
readonly disabled: _angular_core.
|
|
317
|
-
|
|
318
|
-
readonly _formControlId: _angular_core.Signal<string>;
|
|
319
|
-
readonly _formControlDisabled: _angular_core.Signal<boolean>;
|
|
320
|
-
ngDoCheck(): void;
|
|
290
|
+
readonly disabled: _angular_core.Signal<boolean>;
|
|
291
|
+
constructor();
|
|
321
292
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GaInputDirective, never>;
|
|
322
293
|
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
294
|
}
|
|
324
295
|
|
|
296
|
+
declare class GaInputComponent {
|
|
297
|
+
protected readonly gaInput: _angular_core.Signal<GaInputDirective>;
|
|
298
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GaInputComponent, never>;
|
|
299
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GaInputComponent, "ga-input", never, {}, {}, ["gaInput"], ["*"], true, never>;
|
|
300
|
+
}
|
|
301
|
+
|
|
325
302
|
declare class GaInputModule {
|
|
326
303
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GaInputModule, never>;
|
|
327
304
|
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<GaInputModule, never, [typeof GaInputComponent, typeof GaInputDirective], [typeof GaInputComponent, typeof GaInputDirective]>;
|
|
328
305
|
static ɵinj: _angular_core.ɵɵInjectorDeclaration<GaInputModule>;
|
|
329
306
|
}
|
|
330
307
|
|
|
308
|
+
declare class GaFormControlDirective {
|
|
309
|
+
private readonly formFieldId;
|
|
310
|
+
readonly ngControlInput: _angular_core.InputSignal<string | NgControl | undefined>;
|
|
311
|
+
private readonly explicitNgControl;
|
|
312
|
+
private readonly ngControlState;
|
|
313
|
+
readonly inError: _angular_core.Signal<boolean>;
|
|
314
|
+
readonly errors: _angular_core.Signal<_angular_forms.ValidationErrors>;
|
|
315
|
+
readonly ariaErrorMessageId: _angular_core.Signal<string | null>;
|
|
316
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GaFormControlDirective, never>;
|
|
317
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<GaFormControlDirective, "[gaFormControl]", ["gaFormControl"], { "ngControlInput": { "alias": "gaFormControl"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
declare class GaFieldInfoComponent {
|
|
321
|
+
readonly templateRef: _angular_core.Signal<TemplateRef<any>>;
|
|
322
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GaFieldInfoComponent, never>;
|
|
323
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GaFieldInfoComponent, "ga-info", never, {}, {}, never, ["*"], true, never>;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
declare class GaFieldErrorDirective {
|
|
327
|
+
readonly templateRef: TemplateRef<any>;
|
|
328
|
+
readonly key: _angular_core.InputSignal<string>;
|
|
329
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GaFieldErrorDirective, never>;
|
|
330
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<GaFieldErrorDirective, "[gaError]", never, { "key": { "alias": "gaError"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
declare class GaFormFieldConnector {
|
|
334
|
+
readonly controlDisabled: _angular_core.WritableSignal<boolean>;
|
|
335
|
+
readonly controlId: _angular_core.WritableSignal<string | null>;
|
|
336
|
+
readonly labelId: _angular_core.WritableSignal<string | null>;
|
|
337
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GaFormFieldConnector, never>;
|
|
338
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<GaFormFieldConnector>;
|
|
339
|
+
}
|
|
340
|
+
|
|
331
341
|
declare class GaFormFieldComponent {
|
|
332
342
|
readonly uniqueId: string;
|
|
333
|
-
readonly
|
|
334
|
-
readonly
|
|
343
|
+
readonly formFieldConnector: GaFormFieldConnector;
|
|
344
|
+
readonly disabledInput: _angular_core.InputSignalWithTransform<boolean | undefined, unknown>;
|
|
345
|
+
readonly disabled: _angular_core.Signal<boolean>;
|
|
346
|
+
readonly formControl: _angular_core.Signal<GaFormControlDirective | undefined>;
|
|
347
|
+
readonly fieldInfo: _angular_core.Signal<GaFieldInfoComponent | undefined>;
|
|
348
|
+
readonly fieldErrors: _angular_core.Signal<readonly GaFieldErrorDirective[]>;
|
|
335
349
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GaFormFieldComponent, never>;
|
|
336
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GaFormFieldComponent, "ga-form-field", ["gaFormField"], { "
|
|
350
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GaFormFieldComponent, "ga-form-field", ["gaFormField"], { "disabledInput": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, ["formControl", "fieldInfo", "fieldErrors"], ["ga-label", "*"], true, never>;
|
|
337
351
|
}
|
|
338
352
|
|
|
339
353
|
declare class GaFieldLabelComponent {
|
|
340
354
|
private readonly document;
|
|
341
355
|
readonly formField: GaFormFieldComponent;
|
|
356
|
+
private readonly formFieldConnector;
|
|
342
357
|
readonly uniqueId: string;
|
|
343
358
|
readonly for: _angular_core.InputSignal<string | undefined>;
|
|
344
359
|
readonly definition: _angular_core.InputSignal<string | TemplateRef<any> | null>;
|
|
345
360
|
readonly state: _angular_core.InputSignal<string | undefined>;
|
|
361
|
+
readonly idInput: _angular_core.InputSignal<string | undefined>;
|
|
362
|
+
readonly id: _angular_core.Signal<string>;
|
|
346
363
|
protected readonly controlId: _angular_core.Signal<string | null | undefined>;
|
|
347
|
-
protected readonly disabled: _angular_core.Signal<boolean>;
|
|
348
364
|
readonly controlElement: _angular_core.Signal<HTMLElement | null>;
|
|
365
|
+
constructor();
|
|
349
366
|
focusControl(): void;
|
|
350
367
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GaFieldLabelComponent, never>;
|
|
351
|
-
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>;
|
|
368
|
+
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; }; "idInput": { "alias": "id"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
352
369
|
}
|
|
353
370
|
|
|
354
|
-
declare class
|
|
355
|
-
|
|
356
|
-
|
|
371
|
+
declare class GaFormControlErrorsDirective {
|
|
372
|
+
readonly customErrorsInput: _angular_core.InputSignal<ValidationErrors>;
|
|
373
|
+
readonly customErrors: _angular_core.Signal<ValidationErrors>;
|
|
374
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GaFormControlErrorsDirective, never>;
|
|
375
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<GaFormControlErrorsDirective, "[gaFormControlErrors]", never, { "customErrorsInput": { "alias": "gaFormControlErrors"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
357
376
|
}
|
|
358
377
|
|
|
359
378
|
declare class GaLabelledByFormFieldDirective {
|
|
360
|
-
|
|
379
|
+
private readonly formFieldConnector;
|
|
361
380
|
readonly ariaLabelledBy: _angular_core.InputSignal<string | null>;
|
|
362
|
-
protected readonly labelledBy: _angular_core.Signal<string | null>;
|
|
381
|
+
protected readonly labelledBy: _angular_core.Signal<string | null | undefined>;
|
|
363
382
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GaLabelledByFormFieldDirective, never>;
|
|
364
383
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<GaLabelledByFormFieldDirective, "[gaLabelledByFormField]", never, { "ariaLabelledBy": { "alias": "aria-labelledby"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
365
384
|
}
|
|
366
385
|
|
|
367
386
|
declare class GaFormFieldModule {
|
|
368
387
|
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]>;
|
|
388
|
+
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
389
|
static ɵinj: _angular_core.ɵɵInjectorDeclaration<GaFormFieldModule>;
|
|
371
390
|
}
|
|
372
391
|
|
|
@@ -748,23 +767,24 @@ declare class GaSelectI18nDefault extends GaSelectI18n {
|
|
|
748
767
|
}
|
|
749
768
|
declare function provideGaSelectI18n(value: GaSelectI18n | (() => GaSelectI18n)): _angular_core.EnvironmentProviders;
|
|
750
769
|
|
|
751
|
-
declare class GaSelectComponent implements ControlValueAccessor,
|
|
770
|
+
declare class GaSelectComponent implements ControlValueAccessor, AfterContentInit {
|
|
752
771
|
private readonly _uniqueId;
|
|
753
772
|
protected readonly icons: {
|
|
754
773
|
CircleX: lucide_angular.LucideIconData;
|
|
755
774
|
};
|
|
756
|
-
private focusedTriggerElement;
|
|
757
775
|
private _onTouched?;
|
|
758
776
|
private _onModelChanged?;
|
|
759
777
|
protected readonly positions: ConnectedPosition[];
|
|
760
778
|
private readonly injector;
|
|
761
779
|
private readonly elementRef;
|
|
780
|
+
private readonly formFieldConnector;
|
|
762
781
|
protected readonly i18n: GaSelectI18n;
|
|
763
782
|
protected readonly overlayOrigin: CdkOverlayOrigin;
|
|
764
783
|
protected readonly repositionScrollStrategy: _angular_cdk_overlay.RepositionScrollStrategy;
|
|
765
|
-
private readonly
|
|
784
|
+
private readonly implicitNgControlState;
|
|
766
785
|
private readonly _isOpen;
|
|
767
|
-
|
|
786
|
+
private shouldRecoverFocus;
|
|
787
|
+
readonly value: _angular_core.ModelSignal<any>;
|
|
768
788
|
readonly placeholder: _angular_core.InputSignal<string>;
|
|
769
789
|
readonly disabledInput: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
770
790
|
readonly invalidInput: _angular_core.InputSignalWithTransform<boolean | null, unknown>;
|
|
@@ -792,11 +812,8 @@ declare class GaSelectComponent implements ControlValueAccessor, GaFormControl,
|
|
|
792
812
|
readonly activeDescendantId: _angular_core.Signal<string | undefined>;
|
|
793
813
|
readonly hasValue: _angular_core.Signal<boolean>;
|
|
794
814
|
readonly invalid: _angular_core.Signal<boolean>;
|
|
795
|
-
readonly _formControlId: _angular_core.Signal<null>;
|
|
796
|
-
readonly _formControlDisabled: _angular_core.Signal<boolean>;
|
|
797
815
|
constructor();
|
|
798
816
|
ngAfterContentInit(): void;
|
|
799
|
-
ngDoCheck(): void;
|
|
800
817
|
writeValue(value: any): void;
|
|
801
818
|
registerOnChange(fn: any): void;
|
|
802
819
|
registerOnTouched(fn: any): void;
|
|
@@ -809,6 +826,7 @@ declare class GaSelectComponent implements ControlValueAccessor, GaFormControl,
|
|
|
809
826
|
setPreviousItemActive(): void;
|
|
810
827
|
setNextItemActive(): void;
|
|
811
828
|
setActiveItemAsSelected(): void;
|
|
829
|
+
onOverlayKeydown(event: KeyboardEvent): void;
|
|
812
830
|
protected clearValue(): void;
|
|
813
831
|
protected onInputKeyDown(event: KeyboardEvent): void;
|
|
814
832
|
protected onOverlayAttach(): void;
|
|
@@ -869,6 +887,7 @@ declare class GaSpinnerModule {
|
|
|
869
887
|
declare class GaRadioButtonComponent {
|
|
870
888
|
private readonly radioGroup;
|
|
871
889
|
protected readonly tabindex: string | null;
|
|
890
|
+
private readonly implicitNgControlState;
|
|
872
891
|
private _uniqueId;
|
|
873
892
|
/** The value attribute of the native input element */
|
|
874
893
|
readonly value: _angular_core.InputSignal<string | null>;
|
|
@@ -890,6 +909,8 @@ declare class GaRadioButtonComponent {
|
|
|
890
909
|
readonly id: _angular_core.Signal<string>;
|
|
891
910
|
readonly name: _angular_core.Signal<string>;
|
|
892
911
|
readonly disabled: _angular_core.Signal<boolean>;
|
|
912
|
+
/** @ignore */
|
|
913
|
+
readonly invalid: _angular_core.Signal<boolean>;
|
|
893
914
|
protected readonly checked: _angular_core.Signal<boolean>;
|
|
894
915
|
onInputChange(event: Event): void;
|
|
895
916
|
onBlur(): void;
|
|
@@ -941,25 +962,23 @@ declare class GaRadioModule {
|
|
|
941
962
|
}
|
|
942
963
|
|
|
943
964
|
declare const SWITCH_CONTROL_VALUE_ACCESSOR: Provider;
|
|
944
|
-
declare class GaSwitchComponent implements ControlValueAccessor
|
|
965
|
+
declare class GaSwitchComponent implements ControlValueAccessor {
|
|
945
966
|
protected readonly icons: {
|
|
946
967
|
Check: lucide_angular.LucideIconData;
|
|
947
968
|
};
|
|
948
969
|
/** @ignore */
|
|
970
|
+
private readonly implicitNgControlState;
|
|
971
|
+
/** @ignore */
|
|
949
972
|
readonly _uniqueId: string;
|
|
950
|
-
private readonly injector;
|
|
951
973
|
/** @ignore */
|
|
952
|
-
|
|
974
|
+
readonly tabindex: _angular_core.InputSignal<string | number>;
|
|
953
975
|
/** @ignore */
|
|
954
976
|
private _onTouched?;
|
|
955
977
|
/** @ignore */
|
|
956
978
|
private _onModelChanged?;
|
|
957
|
-
/** @ignore */
|
|
958
|
-
private _invalidNgModel;
|
|
959
|
-
private _ngModelName;
|
|
960
979
|
readonly checked: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
961
980
|
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
962
|
-
readonly ariaInvalid: _angular_core.
|
|
981
|
+
readonly ariaInvalid: _angular_core.InputSignal<string | null>;
|
|
963
982
|
readonly label: _angular_core.InputSignal<string>;
|
|
964
983
|
readonly ariaLabel: _angular_core.InputSignal<string | null>;
|
|
965
984
|
readonly ariaLabelledby: _angular_core.InputSignal<string | null>;
|
|
@@ -976,7 +995,6 @@ declare class GaSwitchComponent implements ControlValueAccessor, DoCheck {
|
|
|
976
995
|
readonly name: _angular_core.Signal<string | number>;
|
|
977
996
|
/** @ignore */
|
|
978
997
|
readonly invalidComputed: _angular_core.Signal<boolean>;
|
|
979
|
-
ngDoCheck(): void;
|
|
980
998
|
/** @ignore */
|
|
981
999
|
onInputChange(event: Event): void;
|
|
982
1000
|
/** @ignore */
|
|
@@ -1004,6 +1022,25 @@ declare class GaSwitchModule {
|
|
|
1004
1022
|
declare const GA_BASE_FONT_SIZE: InjectionToken<number>;
|
|
1005
1023
|
declare function provideGaBaseFontSize(fontSize: number): _angular_core.EnvironmentProviders;
|
|
1006
1024
|
|
|
1025
|
+
interface GaFormControlAdapter {
|
|
1026
|
+
readonly ngControlErrors: Signal<ValidationErrors | null | undefined>;
|
|
1027
|
+
readonly ngControlTouched: Signal<boolean>;
|
|
1028
|
+
readonly ngControlDisabled: Signal<boolean>;
|
|
1029
|
+
readonly ngControlName: Signal<string | number | null>;
|
|
1030
|
+
readonly ngFormSubmitted: Signal<boolean>;
|
|
1031
|
+
}
|
|
1032
|
+
declare const GA_FORM_CONTROL_ADAPTER: InjectionToken<GaFormControlAdapter>;
|
|
1033
|
+
declare function injectNgControlState({ implicitChildNgControl, explicitNgControl, explicitNgForm, }?: {
|
|
1034
|
+
implicitChildNgControl?: Signal<NgControl | undefined | null>;
|
|
1035
|
+
explicitNgControl?: NgControl | Signal<NgControl | undefined | null> | null;
|
|
1036
|
+
explicitNgForm?: FormGroupDirective | NgForm;
|
|
1037
|
+
}): {
|
|
1038
|
+
inError: Signal<boolean>;
|
|
1039
|
+
errors: Signal<ValidationErrors>;
|
|
1040
|
+
disabled: Signal<boolean>;
|
|
1041
|
+
name: Signal<string | number | null>;
|
|
1042
|
+
};
|
|
1043
|
+
|
|
1007
1044
|
type GaLinkVariant = 'inline';
|
|
1008
1045
|
type GaLinkSize = 'small' | 'medium' | 'large';
|
|
1009
1046
|
declare class GaLinkDirective {
|
|
@@ -1025,21 +1062,19 @@ declare class GaLinkModule {
|
|
|
1025
1062
|
static ɵinj: _angular_core.ɵɵInjectorDeclaration<GaLinkModule>;
|
|
1026
1063
|
}
|
|
1027
1064
|
|
|
1028
|
-
declare class GaTextAreaDirective
|
|
1029
|
-
readonly
|
|
1030
|
-
readonly
|
|
1031
|
-
readonly
|
|
1032
|
-
readonly
|
|
1033
|
-
readonly
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
private readonly disabledModel;
|
|
1040
|
-
ngDoCheck(): void;
|
|
1065
|
+
declare class GaTextAreaDirective {
|
|
1066
|
+
private readonly implicitNgControlState;
|
|
1067
|
+
private readonly formFieldConnector;
|
|
1068
|
+
private readonly uniqueId;
|
|
1069
|
+
readonly idInput: _angular_core.InputSignal<string | undefined>;
|
|
1070
|
+
readonly disabledInput: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1071
|
+
readonly invalidInput: _angular_core.InputSignalWithTransform<boolean | undefined, unknown>;
|
|
1072
|
+
private readonly disabled;
|
|
1073
|
+
protected readonly invalid: _angular_core.Signal<boolean>;
|
|
1074
|
+
protected readonly id: _angular_core.Signal<string>;
|
|
1075
|
+
constructor();
|
|
1041
1076
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GaTextAreaDirective, never>;
|
|
1042
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<GaTextAreaDirective, "[gaTextArea]", never, { "
|
|
1077
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<GaTextAreaDirective, "[gaTextArea]", never, { "idInput": { "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
1078
|
}
|
|
1044
1079
|
|
|
1045
1080
|
declare class GaTextAreaModule {
|
|
@@ -1048,5 +1083,5 @@ declare class GaTextAreaModule {
|
|
|
1048
1083
|
static ɵinj: _angular_core.ɵɵInjectorDeclaration<GaTextAreaModule>;
|
|
1049
1084
|
}
|
|
1050
1085
|
|
|
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,
|
|
1052
|
-
export type { GaAlertVariant, GaBadgeType, GaBadgeVariant, GaButtonType,
|
|
1086
|
+
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_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, GaFormFieldConnector, 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 };
|
|
1087
|
+
export type { GaAlertVariant, GaBadgeType, GaBadgeVariant, GaButtonType, GaFormControlAdapter, GaIconButtonVariant, GaIconData, GaLinkSize, GaLinkVariant, GaModalRole, GaModalSize, GaModalType, GaTooltipControlMode, GaTooltipDirection, GaTooltipPlacement, GaTooltipPosition };
|