@vsn-ux/ngx-gaia 0.8.7 → 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 +399 -178
- package/fesm2022/vsn-ux-ngx-gaia.mjs.map +1 -1
- package/index.d.ts +117 -67
- 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
|
|
|
@@ -734,25 +746,45 @@ declare class GaSelectValueComponent {
|
|
|
734
746
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GaSelectValueComponent, "ga-select-value", never, {}, {}, never, ["*"], true, never>;
|
|
735
747
|
}
|
|
736
748
|
|
|
737
|
-
declare
|
|
749
|
+
declare function GA_SELECT_I18N_FACTORY(): GaSelectI18nDefault;
|
|
750
|
+
declare abstract class GaSelectI18n {
|
|
751
|
+
abstract clearLabel: string;
|
|
752
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GaSelectI18n, never>;
|
|
753
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<GaSelectI18n>;
|
|
754
|
+
}
|
|
755
|
+
declare class GaSelectI18nDefault extends GaSelectI18n {
|
|
756
|
+
/** A label for the clear button */
|
|
757
|
+
clearLabel: string;
|
|
758
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GaSelectI18nDefault, never>;
|
|
759
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<GaSelectI18nDefault>;
|
|
760
|
+
}
|
|
761
|
+
declare function provideGaSelectI18n(value: GaSelectI18n | (() => GaSelectI18n)): _angular_core.EnvironmentProviders;
|
|
762
|
+
|
|
763
|
+
declare class GaSelectComponent implements ControlValueAccessor, GaFormControl, AfterContentInit {
|
|
738
764
|
private readonly _uniqueId;
|
|
739
|
-
|
|
765
|
+
protected readonly icons: {
|
|
766
|
+
CircleX: lucide_angular.LucideIconData;
|
|
767
|
+
};
|
|
740
768
|
private _onTouched?;
|
|
741
769
|
private _onModelChanged?;
|
|
742
770
|
protected readonly positions: ConnectedPosition[];
|
|
743
771
|
private readonly injector;
|
|
744
772
|
private readonly elementRef;
|
|
773
|
+
protected readonly i18n: GaSelectI18n;
|
|
745
774
|
protected readonly overlayOrigin: CdkOverlayOrigin;
|
|
746
775
|
protected readonly repositionScrollStrategy: _angular_cdk_overlay.RepositionScrollStrategy;
|
|
747
|
-
private readonly
|
|
776
|
+
private readonly implicitNgControlState;
|
|
748
777
|
private readonly _isOpen;
|
|
749
|
-
|
|
778
|
+
private shouldRecoverFocus;
|
|
779
|
+
readonly value: _angular_core.ModelSignal<any>;
|
|
750
780
|
readonly placeholder: _angular_core.InputSignal<string>;
|
|
751
781
|
readonly disabledInput: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
752
782
|
readonly invalidInput: _angular_core.InputSignalWithTransform<boolean | null, unknown>;
|
|
753
783
|
readonly multiple: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
754
784
|
readonly compareWith: _angular_core.InputSignal<((o1: any, o2: any) => boolean) | undefined>;
|
|
755
785
|
readonly searchable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
786
|
+
readonly clearable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
787
|
+
readonly clearableLabel: _angular_core.InputSignal<string | undefined>;
|
|
756
788
|
readonly canSelectNullable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
757
789
|
readonly textValue: _angular_core.ModelSignal<string>;
|
|
758
790
|
readonly leftIcon: _angular_core.InputSignal<lucide_angular.LucideIconData | undefined>;
|
|
@@ -776,7 +808,6 @@ declare class GaSelectComponent implements ControlValueAccessor, GaFormControl,
|
|
|
776
808
|
readonly _formControlDisabled: _angular_core.Signal<boolean>;
|
|
777
809
|
constructor();
|
|
778
810
|
ngAfterContentInit(): void;
|
|
779
|
-
ngDoCheck(): void;
|
|
780
811
|
writeValue(value: any): void;
|
|
781
812
|
registerOnChange(fn: any): void;
|
|
782
813
|
registerOnTouched(fn: any): void;
|
|
@@ -789,6 +820,8 @@ declare class GaSelectComponent implements ControlValueAccessor, GaFormControl,
|
|
|
789
820
|
setPreviousItemActive(): void;
|
|
790
821
|
setNextItemActive(): void;
|
|
791
822
|
setActiveItemAsSelected(): void;
|
|
823
|
+
onOverlayKeydown(event: KeyboardEvent): void;
|
|
824
|
+
protected clearValue(): void;
|
|
792
825
|
protected onInputKeyDown(event: KeyboardEvent): void;
|
|
793
826
|
protected onOverlayAttach(): void;
|
|
794
827
|
protected onOverlayDetach(): void;
|
|
@@ -796,7 +829,7 @@ declare class GaSelectComponent implements ControlValueAccessor, GaFormControl,
|
|
|
796
829
|
private syncValue;
|
|
797
830
|
private setItemActive;
|
|
798
831
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GaSelectComponent, never>;
|
|
799
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GaSelectComponent, "ga-select", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "disabledInput": { "alias": "disabled"; "required": false; "isSignal": true; }; "invalidInput": { "alias": "invalid"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "compareWith": { "alias": "compareWith"; "required": false; "isSignal": true; }; "searchable": { "alias": "searchable"; "required": false; "isSignal": true; }; "canSelectNullable": { "alias": "canSelectNullable"; "required": false; "isSignal": true; }; "textValue": { "alias": "textValue"; "required": false; "isSignal": true; }; "leftIcon": { "alias": "leftIcon"; "required": false; "isSignal": true; }; "idInput": { "alias": "id"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "textValue": "textValueChange"; "opened": "opened"; "closed": "closed"; }, ["gaOptions", "cdkListbox", "customSelectValue"], ["ga-select-value", "ga-select-dropdown"], true, [{ directive: typeof _angular_cdk_overlay.CdkOverlayOrigin; inputs: {}; outputs: {}; }, { directive: typeof GaLabelledByFormFieldDirective; inputs: { "aria-labelledby": "aria-labelledby"; }; outputs: {}; }]>;
|
|
832
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GaSelectComponent, "ga-select", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "disabledInput": { "alias": "disabled"; "required": false; "isSignal": true; }; "invalidInput": { "alias": "invalid"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "compareWith": { "alias": "compareWith"; "required": false; "isSignal": true; }; "searchable": { "alias": "searchable"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "clearableLabel": { "alias": "clearableLabel"; "required": false; "isSignal": true; }; "canSelectNullable": { "alias": "canSelectNullable"; "required": false; "isSignal": true; }; "textValue": { "alias": "textValue"; "required": false; "isSignal": true; }; "leftIcon": { "alias": "leftIcon"; "required": false; "isSignal": true; }; "idInput": { "alias": "id"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "textValue": "textValueChange"; "opened": "opened"; "closed": "closed"; }, ["gaOptions", "cdkListbox", "customSelectValue"], ["ga-select-value", "ga-select-dropdown"], true, [{ directive: typeof _angular_cdk_overlay.CdkOverlayOrigin; inputs: {}; outputs: {}; }, { directive: typeof GaLabelledByFormFieldDirective; inputs: { "aria-labelledby": "aria-labelledby"; }; outputs: {}; }]>;
|
|
800
833
|
}
|
|
801
834
|
|
|
802
835
|
declare class GaOptgroupComponent {
|
|
@@ -848,6 +881,7 @@ declare class GaSpinnerModule {
|
|
|
848
881
|
declare class GaRadioButtonComponent {
|
|
849
882
|
private readonly radioGroup;
|
|
850
883
|
protected readonly tabindex: string | null;
|
|
884
|
+
private readonly implicitNgControlState;
|
|
851
885
|
private _uniqueId;
|
|
852
886
|
/** The value attribute of the native input element */
|
|
853
887
|
readonly value: _angular_core.InputSignal<string | null>;
|
|
@@ -869,6 +903,8 @@ declare class GaRadioButtonComponent {
|
|
|
869
903
|
readonly id: _angular_core.Signal<string>;
|
|
870
904
|
readonly name: _angular_core.Signal<string>;
|
|
871
905
|
readonly disabled: _angular_core.Signal<boolean>;
|
|
906
|
+
/** @ignore */
|
|
907
|
+
readonly invalid: _angular_core.Signal<boolean>;
|
|
872
908
|
protected readonly checked: _angular_core.Signal<boolean>;
|
|
873
909
|
onInputChange(event: Event): void;
|
|
874
910
|
onBlur(): void;
|
|
@@ -920,25 +956,23 @@ declare class GaRadioModule {
|
|
|
920
956
|
}
|
|
921
957
|
|
|
922
958
|
declare const SWITCH_CONTROL_VALUE_ACCESSOR: Provider;
|
|
923
|
-
declare class GaSwitchComponent implements ControlValueAccessor
|
|
959
|
+
declare class GaSwitchComponent implements ControlValueAccessor {
|
|
924
960
|
protected readonly icons: {
|
|
925
961
|
Check: lucide_angular.LucideIconData;
|
|
926
962
|
};
|
|
927
963
|
/** @ignore */
|
|
964
|
+
private readonly implicitNgControlState;
|
|
965
|
+
/** @ignore */
|
|
928
966
|
readonly _uniqueId: string;
|
|
929
|
-
private readonly injector;
|
|
930
967
|
/** @ignore */
|
|
931
968
|
protected readonly tabindex: _angular_core.InputSignal<string | number>;
|
|
932
969
|
/** @ignore */
|
|
933
970
|
private _onTouched?;
|
|
934
971
|
/** @ignore */
|
|
935
972
|
private _onModelChanged?;
|
|
936
|
-
/** @ignore */
|
|
937
|
-
private _invalidNgModel;
|
|
938
|
-
private _ngModelName;
|
|
939
973
|
readonly checked: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
940
974
|
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
941
|
-
readonly ariaInvalid: _angular_core.
|
|
975
|
+
readonly ariaInvalid: _angular_core.InputSignal<string | null>;
|
|
942
976
|
readonly label: _angular_core.InputSignal<string>;
|
|
943
977
|
readonly ariaLabel: _angular_core.InputSignal<string | null>;
|
|
944
978
|
readonly ariaLabelledby: _angular_core.InputSignal<string | null>;
|
|
@@ -955,7 +989,6 @@ declare class GaSwitchComponent implements ControlValueAccessor, DoCheck {
|
|
|
955
989
|
readonly name: _angular_core.Signal<string | number>;
|
|
956
990
|
/** @ignore */
|
|
957
991
|
readonly invalidComputed: _angular_core.Signal<boolean>;
|
|
958
|
-
ngDoCheck(): void;
|
|
959
992
|
/** @ignore */
|
|
960
993
|
onInputChange(event: Event): void;
|
|
961
994
|
/** @ignore */
|
|
@@ -983,6 +1016,25 @@ declare class GaSwitchModule {
|
|
|
983
1016
|
declare const GA_BASE_FONT_SIZE: InjectionToken<number>;
|
|
984
1017
|
declare function provideGaBaseFontSize(fontSize: number): _angular_core.EnvironmentProviders;
|
|
985
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
|
+
|
|
986
1038
|
type GaLinkVariant = 'inline';
|
|
987
1039
|
type GaLinkSize = 'small' | 'medium' | 'large';
|
|
988
1040
|
declare class GaLinkDirective {
|
|
@@ -1004,21 +1056,19 @@ declare class GaLinkModule {
|
|
|
1004
1056
|
static ɵinj: _angular_core.ɵɵInjectorDeclaration<GaLinkModule>;
|
|
1005
1057
|
}
|
|
1006
1058
|
|
|
1007
|
-
declare class GaTextAreaDirective implements
|
|
1059
|
+
declare class GaTextAreaDirective implements GaFormControl {
|
|
1060
|
+
private readonly implicitNgControlState;
|
|
1061
|
+
private readonly generatedUniqueId;
|
|
1008
1062
|
readonly id: _angular_core.InputSignal<string | undefined>;
|
|
1009
|
-
readonly
|
|
1010
|
-
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>;
|
|
1011
1068
|
readonly _formControlId: _angular_core.Signal<string>;
|
|
1012
1069
|
readonly _formControlDisabled: _angular_core.Signal<boolean>;
|
|
1013
|
-
protected readonly uniqueId: _angular_core.Signal<string>;
|
|
1014
|
-
protected readonly invalidInput: _angular_core.Signal<boolean>;
|
|
1015
|
-
private readonly generatedUniqueId;
|
|
1016
|
-
private readonly injector;
|
|
1017
|
-
private readonly implicitInvalid;
|
|
1018
|
-
private readonly disabledModel;
|
|
1019
|
-
ngDoCheck(): void;
|
|
1020
1070
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GaTextAreaDirective, never>;
|
|
1021
|
-
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>;
|
|
1022
1072
|
}
|
|
1023
1073
|
|
|
1024
1074
|
declare class GaTextAreaModule {
|
|
@@ -1027,5 +1077,5 @@ declare class GaTextAreaModule {
|
|
|
1027
1077
|
static ɵinj: _angular_core.ɵɵInjectorDeclaration<GaTextAreaModule>;
|
|
1028
1078
|
}
|
|
1029
1079
|
|
|
1030
|
-
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_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, 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 };
|
|
1031
|
-
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 };
|