@vsn-ux/ngx-gaia 0.8.9 → 0.9.1
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 +133 -89
- package/fesm2022/vsn-ux-ngx-gaia.mjs.map +1 -1
- package/index.d.ts +48 -42
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1,11 +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,
|
|
4
|
+
import { Provider, TemplateRef, WritableSignal, AfterViewInit, Renderer2, ElementRef, InjectionToken, OnDestroy, AfterContentInit, Signal } from '@angular/core';
|
|
5
5
|
import * as _angular_forms from '@angular/forms';
|
|
6
6
|
import { ControlValueAccessor, CheckboxRequiredValidator, NgControl, ValidationErrors, RequiredValidator, FormGroupDirective, NgForm } from '@angular/forms';
|
|
7
|
-
import * as _vsn_ux_ngx_gaia from '@vsn-ux/ngx-gaia';
|
|
8
7
|
import * as i1 from '@angular/cdk/menu';
|
|
8
|
+
import * as _vsn_ux_ngx_gaia from '@vsn-ux/ngx-gaia';
|
|
9
9
|
import * as rxjs from 'rxjs';
|
|
10
10
|
import { Observable, Subject } from 'rxjs';
|
|
11
11
|
import * as i1$1 from '@angular/cdk/a11y';
|
|
@@ -277,25 +277,9 @@ declare class GaIconModule {
|
|
|
277
277
|
static ɵinj: _angular_core.ɵɵInjectorDeclaration<GaIconModule>;
|
|
278
278
|
}
|
|
279
279
|
|
|
280
|
-
|
|
281
|
-
readonly _formControlId: Signal<string | null | undefined>;
|
|
282
|
-
readonly _formControlDisabled: Signal<boolean | null | undefined>;
|
|
283
|
-
}
|
|
284
|
-
declare const GA_FORM_CONTROL: InjectionToken<GaFormControl>;
|
|
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>;
|
|
293
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GaFormControlDirective, never>;
|
|
294
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<GaFormControlDirective, "[gaFormControl]", ["gaFormControl"], { "ngControlInput": { "alias": "gaFormControl"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
declare class GaInputDirective implements GaFormControl {
|
|
280
|
+
declare class GaInputDirective {
|
|
298
281
|
readonly uniqueId: string;
|
|
282
|
+
private readonly formFieldConnector;
|
|
299
283
|
protected readonly hasWrapper: GaInputComponent | null;
|
|
300
284
|
private readonly implicitNgControlState;
|
|
301
285
|
readonly invalidInput: _angular_core.InputSignalWithTransform<boolean | null, unknown>;
|
|
@@ -304,8 +288,7 @@ declare class GaInputDirective implements GaFormControl {
|
|
|
304
288
|
readonly invalid: _angular_core.Signal<boolean>;
|
|
305
289
|
readonly id: _angular_core.Signal<string>;
|
|
306
290
|
readonly disabled: _angular_core.Signal<boolean>;
|
|
307
|
-
|
|
308
|
-
readonly _formControlDisabled: _angular_core.Signal<boolean>;
|
|
291
|
+
constructor();
|
|
309
292
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GaInputDirective, never>;
|
|
310
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>;
|
|
311
294
|
}
|
|
@@ -322,6 +305,18 @@ declare class GaInputModule {
|
|
|
322
305
|
static ɵinj: _angular_core.ɵɵInjectorDeclaration<GaInputModule>;
|
|
323
306
|
}
|
|
324
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
|
+
|
|
325
320
|
declare class GaFieldInfoComponent {
|
|
326
321
|
readonly templateRef: _angular_core.Signal<TemplateRef<any>>;
|
|
327
322
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GaFieldInfoComponent, never>;
|
|
@@ -335,30 +330,42 @@ declare class GaFieldErrorDirective {
|
|
|
335
330
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<GaFieldErrorDirective, "[gaError]", never, { "key": { "alias": "gaError"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
336
331
|
}
|
|
337
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
|
+
|
|
338
341
|
declare class GaFormFieldComponent {
|
|
339
342
|
readonly uniqueId: string;
|
|
340
|
-
readonly
|
|
341
|
-
readonly
|
|
343
|
+
readonly formFieldConnector: GaFormFieldConnector;
|
|
344
|
+
readonly disabledInput: _angular_core.InputSignalWithTransform<boolean | undefined, unknown>;
|
|
345
|
+
readonly disabled: _angular_core.Signal<boolean>;
|
|
342
346
|
readonly formControl: _angular_core.Signal<GaFormControlDirective | undefined>;
|
|
343
347
|
readonly fieldInfo: _angular_core.Signal<GaFieldInfoComponent | undefined>;
|
|
344
348
|
readonly fieldErrors: _angular_core.Signal<readonly GaFieldErrorDirective[]>;
|
|
345
349
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GaFormFieldComponent, never>;
|
|
346
|
-
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>;
|
|
347
351
|
}
|
|
348
352
|
|
|
349
353
|
declare class GaFieldLabelComponent {
|
|
350
354
|
private readonly document;
|
|
351
355
|
readonly formField: GaFormFieldComponent;
|
|
356
|
+
private readonly formFieldConnector;
|
|
352
357
|
readonly uniqueId: string;
|
|
353
358
|
readonly for: _angular_core.InputSignal<string | undefined>;
|
|
354
359
|
readonly definition: _angular_core.InputSignal<string | TemplateRef<any> | null>;
|
|
355
360
|
readonly state: _angular_core.InputSignal<string | undefined>;
|
|
361
|
+
readonly idInput: _angular_core.InputSignal<string | undefined>;
|
|
362
|
+
readonly id: _angular_core.Signal<string>;
|
|
356
363
|
protected readonly controlId: _angular_core.Signal<string | null | undefined>;
|
|
357
|
-
protected readonly disabled: _angular_core.Signal<boolean>;
|
|
358
364
|
readonly controlElement: _angular_core.Signal<HTMLElement | null>;
|
|
365
|
+
constructor();
|
|
359
366
|
focusControl(): void;
|
|
360
367
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GaFieldLabelComponent, never>;
|
|
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>;
|
|
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>;
|
|
362
369
|
}
|
|
363
370
|
|
|
364
371
|
declare class GaFormControlErrorsDirective {
|
|
@@ -369,9 +376,9 @@ declare class GaFormControlErrorsDirective {
|
|
|
369
376
|
}
|
|
370
377
|
|
|
371
378
|
declare class GaLabelledByFormFieldDirective {
|
|
372
|
-
|
|
379
|
+
private readonly formFieldConnector;
|
|
373
380
|
readonly ariaLabelledBy: _angular_core.InputSignal<string | null>;
|
|
374
|
-
protected readonly labelledBy: _angular_core.Signal<string | null>;
|
|
381
|
+
protected readonly labelledBy: _angular_core.Signal<string | null | undefined>;
|
|
375
382
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GaLabelledByFormFieldDirective, never>;
|
|
376
383
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<GaLabelledByFormFieldDirective, "[gaLabelledByFormField]", never, { "ariaLabelledBy": { "alias": "aria-labelledby"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
377
384
|
}
|
|
@@ -760,7 +767,7 @@ declare class GaSelectI18nDefault extends GaSelectI18n {
|
|
|
760
767
|
}
|
|
761
768
|
declare function provideGaSelectI18n(value: GaSelectI18n | (() => GaSelectI18n)): _angular_core.EnvironmentProviders;
|
|
762
769
|
|
|
763
|
-
declare class GaSelectComponent implements ControlValueAccessor,
|
|
770
|
+
declare class GaSelectComponent implements ControlValueAccessor, AfterContentInit {
|
|
764
771
|
private readonly _uniqueId;
|
|
765
772
|
protected readonly icons: {
|
|
766
773
|
CircleX: lucide_angular.LucideIconData;
|
|
@@ -770,6 +777,7 @@ declare class GaSelectComponent implements ControlValueAccessor, GaFormControl,
|
|
|
770
777
|
protected readonly positions: ConnectedPosition[];
|
|
771
778
|
private readonly injector;
|
|
772
779
|
private readonly elementRef;
|
|
780
|
+
private readonly formFieldConnector;
|
|
773
781
|
protected readonly i18n: GaSelectI18n;
|
|
774
782
|
protected readonly overlayOrigin: CdkOverlayOrigin;
|
|
775
783
|
protected readonly repositionScrollStrategy: _angular_cdk_overlay.RepositionScrollStrategy;
|
|
@@ -804,8 +812,6 @@ declare class GaSelectComponent implements ControlValueAccessor, GaFormControl,
|
|
|
804
812
|
readonly activeDescendantId: _angular_core.Signal<string | undefined>;
|
|
805
813
|
readonly hasValue: _angular_core.Signal<boolean>;
|
|
806
814
|
readonly invalid: _angular_core.Signal<boolean>;
|
|
807
|
-
readonly _formControlId: _angular_core.Signal<null>;
|
|
808
|
-
readonly _formControlDisabled: _angular_core.Signal<boolean>;
|
|
809
815
|
constructor();
|
|
810
816
|
ngAfterContentInit(): void;
|
|
811
817
|
writeValue(value: any): void;
|
|
@@ -965,7 +971,7 @@ declare class GaSwitchComponent implements ControlValueAccessor {
|
|
|
965
971
|
/** @ignore */
|
|
966
972
|
readonly _uniqueId: string;
|
|
967
973
|
/** @ignore */
|
|
968
|
-
|
|
974
|
+
readonly tabindex: _angular_core.InputSignal<string | number>;
|
|
969
975
|
/** @ignore */
|
|
970
976
|
private _onTouched?;
|
|
971
977
|
/** @ignore */
|
|
@@ -1056,19 +1062,19 @@ declare class GaLinkModule {
|
|
|
1056
1062
|
static ɵinj: _angular_core.ɵɵInjectorDeclaration<GaLinkModule>;
|
|
1057
1063
|
}
|
|
1058
1064
|
|
|
1059
|
-
declare class GaTextAreaDirective
|
|
1065
|
+
declare class GaTextAreaDirective {
|
|
1060
1066
|
private readonly implicitNgControlState;
|
|
1061
|
-
private readonly
|
|
1062
|
-
readonly
|
|
1067
|
+
private readonly formFieldConnector;
|
|
1068
|
+
private readonly uniqueId;
|
|
1069
|
+
readonly idInput: _angular_core.InputSignal<string | undefined>;
|
|
1063
1070
|
readonly disabledInput: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1064
1071
|
readonly invalidInput: _angular_core.InputSignalWithTransform<boolean | undefined, unknown>;
|
|
1065
1072
|
private readonly disabled;
|
|
1066
1073
|
protected readonly invalid: _angular_core.Signal<boolean>;
|
|
1067
|
-
protected readonly
|
|
1068
|
-
|
|
1069
|
-
readonly _formControlDisabled: _angular_core.Signal<boolean>;
|
|
1074
|
+
protected readonly id: _angular_core.Signal<string>;
|
|
1075
|
+
constructor();
|
|
1070
1076
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GaTextAreaDirective, never>;
|
|
1071
|
-
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>;
|
|
1072
1078
|
}
|
|
1073
1079
|
|
|
1074
1080
|
declare class GaTextAreaModule {
|
|
@@ -1077,5 +1083,5 @@ declare class GaTextAreaModule {
|
|
|
1077
1083
|
static ɵinj: _angular_core.ɵɵInjectorDeclaration<GaTextAreaModule>;
|
|
1078
1084
|
}
|
|
1079
1085
|
|
|
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,
|
|
1081
|
-
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 };
|