@vsn-ux/ngx-gaia 0.7.2 → 0.8.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.
Files changed (96) hide show
  1. package/fesm2022/vsn-ux-ngx-gaia.mjs +241 -241
  2. package/fesm2022/vsn-ux-ngx-gaia.mjs.map +1 -1
  3. package/index.d.ts +951 -3
  4. package/package.json +5 -5
  5. package/lib/alert/alert-i18n.service.d.ts +0 -14
  6. package/lib/alert/alert-title-actions.component.d.ts +0 -5
  7. package/lib/alert/alert-title.component.d.ts +0 -5
  8. package/lib/alert/alert.component.d.ts +0 -25
  9. package/lib/alert/alert.module.d.ts +0 -9
  10. package/lib/alert/index.d.ts +0 -5
  11. package/lib/badge/badge.component.d.ts +0 -10
  12. package/lib/badge/badge.module.d.ts +0 -7
  13. package/lib/badge/index.d.ts +0 -2
  14. package/lib/button/button-i18n.service.d.ts +0 -14
  15. package/lib/button/button.directive.d.ts +0 -13
  16. package/lib/button/button.module.d.ts +0 -8
  17. package/lib/button/icon-button.directive.d.ts +0 -14
  18. package/lib/button/index.d.ts +0 -4
  19. package/lib/card/card.component.d.ts +0 -8
  20. package/lib/card/card.module.d.ts +0 -7
  21. package/lib/card/index.d.ts +0 -2
  22. package/lib/checkbox/checkbox-required.validator.d.ts +0 -13
  23. package/lib/checkbox/checkbox.component.d.ts +0 -66
  24. package/lib/checkbox/checkbox.module.d.ts +0 -8
  25. package/lib/checkbox/index.d.ts +0 -3
  26. package/lib/form-field/field-info.component.d.ts +0 -5
  27. package/lib/form-field/field-label.component.d.ts +0 -15
  28. package/lib/form-field/form-control.di.d.ts +0 -13
  29. package/lib/form-field/form-field.component.d.ts +0 -8
  30. package/lib/form-field/form-field.module.d.ts +0 -10
  31. package/lib/form-field/index.d.ts +0 -5
  32. package/lib/icon/icon.component.d.ts +0 -16
  33. package/lib/icon/icon.module.d.ts +0 -7
  34. package/lib/icon/index.d.ts +0 -2
  35. package/lib/input/index.d.ts +0 -3
  36. package/lib/input/input.component.d.ts +0 -11
  37. package/lib/input/input.directive.d.ts +0 -24
  38. package/lib/input/input.module.d.ts +0 -8
  39. package/lib/link/index.d.ts +0 -2
  40. package/lib/link/link.directive.d.ts +0 -16
  41. package/lib/link/link.module.d.ts +0 -7
  42. package/lib/menu/index.d.ts +0 -7
  43. package/lib/menu/menu-item.component.d.ts +0 -9
  44. package/lib/menu/menu-separator.component.d.ts +0 -5
  45. package/lib/menu/menu-title.component.d.ts +0 -5
  46. package/lib/menu/menu-trigger-icon.component.d.ts +0 -8
  47. package/lib/menu/menu-trigger.directive.d.ts +0 -11
  48. package/lib/menu/menu.component.d.ts +0 -6
  49. package/lib/menu/menu.module.d.ts +0 -12
  50. package/lib/modal/index.d.ts +0 -12
  51. package/lib/modal/modal-actions.component.d.ts +0 -5
  52. package/lib/modal/modal-content.component.d.ts +0 -5
  53. package/lib/modal/modal-data.token.d.ts +0 -2
  54. package/lib/modal/modal-description.component.d.ts +0 -6
  55. package/lib/modal/modal-header.component.d.ts +0 -16
  56. package/lib/modal/modal-i18n.service.d.ts +0 -14
  57. package/lib/modal/modal-ref.d.ts +0 -4
  58. package/lib/modal/modal.component.d.ts +0 -46
  59. package/lib/modal/modal.directives.d.ts +0 -29
  60. package/lib/modal/modal.module.d.ts +0 -11
  61. package/lib/modal/modal.options.d.ts +0 -47
  62. package/lib/modal/modal.service.d.ts +0 -26
  63. package/lib/modal/modal.utils.d.ts +0 -3
  64. package/lib/radio/index.d.ts +0 -3
  65. package/lib/radio/radio-button.component.d.ts +0 -32
  66. package/lib/radio/radio-group.component.d.ts +0 -39
  67. package/lib/radio/radio.module.d.ts +0 -8
  68. package/lib/segmented-control/index.d.ts +0 -5
  69. package/lib/segmented-control/segmented-control-button.directive.d.ts +0 -10
  70. package/lib/segmented-control/segmented-control-icon-button.component.d.ts +0 -7
  71. package/lib/segmented-control/segmented-control-text-button.component.d.ts +0 -6
  72. package/lib/segmented-control/segmented-control.component.d.ts +0 -7
  73. package/lib/segmented-control/segmented-control.module.d.ts +0 -9
  74. package/lib/select/index.d.ts +0 -8
  75. package/lib/select/opt-group.component.d.ts +0 -6
  76. package/lib/select/option.component.d.ts +0 -19
  77. package/lib/select/select-default-value.component.d.ts +0 -13
  78. package/lib/select/select-dropdown-spinner.component.d.ts +0 -5
  79. package/lib/select/select-dropdown.component.d.ts +0 -7
  80. package/lib/select/select-required.validator.d.ts +0 -8
  81. package/lib/select/select-value.component.d.ts +0 -5
  82. package/lib/select/select.component.d.ts +0 -70
  83. package/lib/select/select.module.d.ts +0 -13
  84. package/lib/spinner/index.d.ts +0 -2
  85. package/lib/spinner/spinner.component.d.ts +0 -11
  86. package/lib/spinner/spinner.module.d.ts +0 -7
  87. package/lib/text-area/index.d.ts +0 -2
  88. package/lib/text-area/text-area.directive.d.ts +0 -19
  89. package/lib/text-area/text-area.module.d.ts +0 -7
  90. package/lib/tooltip/index.d.ts +0 -3
  91. package/lib/tooltip/tooltip.component.d.ts +0 -25
  92. package/lib/tooltip/tooltip.directive.d.ts +0 -62
  93. package/lib/tooltip/tooltip.module.d.ts +0 -7
  94. package/lib/utils/index.d.ts +0 -1
  95. package/lib/utils/root-font-size.token.d.ts +0 -9
  96. package/public-api.d.ts +0 -18
@@ -1,6 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./modal.directives";
3
- export declare class GaModalDescriptionComponent {
4
- static ɵfac: i0.ɵɵFactoryDeclaration<GaModalDescriptionComponent, never>;
5
- static ɵcmp: i0.ɵɵComponentDeclaration<GaModalDescriptionComponent, "ga-modal-description", never, {}, {}, never, ["*"], true, [{ directive: typeof i1.GaModalDescriptionDirective; inputs: {}; outputs: {}; }]>;
6
- }
@@ -1,16 +0,0 @@
1
- import { GaModalRef } from './modal-ref';
2
- import { GaModalI18n } from './modal-i18n.service';
3
- import * as i0 from "@angular/core";
4
- export declare class GaModalHeaderComponent {
5
- protected readonly icons: {
6
- X: import("lucide-angular").LucideIconData;
7
- Info: import("lucide-angular").LucideIconData;
8
- CircleCheck: import("lucide-angular").LucideIconData;
9
- TriangleAlert: import("lucide-angular").LucideIconData;
10
- OctagonAlert: import("lucide-angular").LucideIconData;
11
- };
12
- protected readonly modalRef: GaModalRef<any>;
13
- protected readonly i18n: GaModalI18n;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<GaModalHeaderComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<GaModalHeaderComponent, "ga-modal-header", never, {}, {}, never, ["[gaModalTitle]", "ga-modal-description"], true, never>;
16
- }
@@ -1,14 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare function GA_MODAL_I18N_FACTORY(): GaModalI18nDefault;
3
- export declare abstract class GaModalI18n {
4
- abstract dismissLabel: string;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<GaModalI18n, never>;
6
- static ɵprov: i0.ɵɵInjectableDeclaration<GaModalI18n>;
7
- }
8
- export declare class GaModalI18nDefault extends GaModalI18n {
9
- /** A label for the dismiss button */
10
- dismissLabel: string;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<GaModalI18nDefault, never>;
12
- static ɵprov: i0.ɵɵInjectableDeclaration<GaModalI18nDefault>;
13
- }
14
- export declare function provideGaModalI18n(value: GaModalI18n | (() => GaModalI18n)): import("@angular/core").EnvironmentProviders;
@@ -1,4 +0,0 @@
1
- import { GaModalComponent } from './modal.component';
2
- export declare class GaModalRef<C extends GaModalComponent<any, any>> {
3
- instance: C;
4
- }
@@ -1,46 +0,0 @@
1
- import { Observable } from 'rxjs';
2
- import { GaModalOptions } from './modal.options';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "@angular/cdk/a11y";
5
- export declare abstract class GaModalComponent<I = void, O = void> {
6
- private readonly closeSubject;
7
- private readonly overlayRef;
8
- private readonly destroyRef;
9
- private readonly router;
10
- private readonly globalOptions;
11
- protected readonly options: GaModalOptions & {
12
- labelledBy?: string;
13
- describedBy?: string;
14
- };
15
- private readonly trapfocus;
16
- protected readonly data: I;
17
- protected readonly labelledBy: import("@angular/core").WritableSignal<string | null>;
18
- protected readonly describedBy: import("@angular/core").WritableSignal<string | null>;
19
- constructor();
20
- close(result?: O): void;
21
- afterClosed({ closeOnUnsubscribe }?: {
22
- closeOnUnsubscribe: boolean;
23
- }): Observable<O | undefined>;
24
- /**
25
- * "Soft close" hook which is called whenever the modal is being closed
26
- * by "Escape" key or Backdrop click.
27
- * Return true to permit closing. False - to refuse.
28
- */
29
- protected onSoftClose(): boolean | Observable<boolean>;
30
- private softClose;
31
- protected createOptions(options?: GaModalOptions & {
32
- labelledBy?: string;
33
- describedBy?: string;
34
- }): {
35
- size: import("@vsn-ux/ngx-gaia").GaModalSize;
36
- type: import("@vsn-ux/ngx-gaia").GaModalType;
37
- role: import("@vsn-ux/ngx-gaia").GaModalRole;
38
- closeOnEscape: boolean;
39
- closeOnOutsideClick: boolean;
40
- closeOnNavigation: boolean;
41
- labelledBy?: string;
42
- describedBy?: string;
43
- };
44
- static ɵfac: i0.ɵɵFactoryDeclaration<GaModalComponent<any, any>, never>;
45
- static ɵcmp: i0.ɵɵComponentDeclaration<GaModalComponent<any, any>, "ng-component", never, {}, {}, never, never, true, [{ directive: typeof i1.CdkTrapFocus; inputs: {}; outputs: {}; }]>;
46
- }
@@ -1,29 +0,0 @@
1
- import { AfterViewInit, ElementRef, Renderer2 } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class GaModalCloseDirective {
4
- private readonly modalRef;
5
- readonly modalResult: import("@angular/core").InputSignal<any>;
6
- onClick(): void;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<GaModalCloseDirective, never>;
8
- static ɵdir: i0.ɵɵDirectiveDeclaration<GaModalCloseDirective, "[gaModalClose]", never, { "modalResult": { "alias": "modalResult"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
9
- }
10
- export declare class GaModalTitleDirective implements AfterViewInit {
11
- private readonly renderer;
12
- private readonly elementRef;
13
- private readonly modalRef;
14
- private readonly id;
15
- constructor(id?: string);
16
- ngAfterViewInit(): void;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<GaModalTitleDirective, [{ attribute: "id"; }]>;
18
- static ɵdir: i0.ɵɵDirectiveDeclaration<GaModalTitleDirective, "[gaModalTitle]", never, {}, {}, never, never, true, never>;
19
- }
20
- export declare class GaModalDescriptionDirective implements AfterViewInit {
21
- readonly renderer: Renderer2;
22
- readonly elementRef: ElementRef<any>;
23
- private readonly modalRef;
24
- private readonly id;
25
- constructor(id?: string);
26
- ngAfterViewInit(): void;
27
- static ɵfac: i0.ɵɵFactoryDeclaration<GaModalDescriptionDirective, [{ attribute: "id"; }]>;
28
- static ɵdir: i0.ɵɵDirectiveDeclaration<GaModalDescriptionDirective, "[gaModalDescription]", never, {}, {}, never, never, true, never>;
29
- }
@@ -1,11 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./modal.directives";
3
- import * as i2 from "./modal-description.component";
4
- import * as i3 from "./modal-content.component";
5
- import * as i4 from "./modal-actions.component";
6
- import * as i5 from "./modal-header.component";
7
- export declare class GaModalModule {
8
- static ɵfac: i0.ɵɵFactoryDeclaration<GaModalModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<GaModalModule, never, [typeof i1.GaModalCloseDirective, typeof i1.GaModalTitleDirective, typeof i1.GaModalDescriptionDirective, typeof i2.GaModalDescriptionComponent, typeof i3.GaModalContentComponent, typeof i4.GaModalActionsComponent, typeof i5.GaModalHeaderComponent], [typeof i1.GaModalCloseDirective, typeof i1.GaModalTitleDirective, typeof i1.GaModalDescriptionDirective, typeof i2.GaModalDescriptionComponent, typeof i3.GaModalContentComponent, typeof i4.GaModalActionsComponent, typeof i5.GaModalHeaderComponent]>;
10
- static ɵinj: i0.ɵɵInjectorDeclaration<GaModalModule>;
11
- }
@@ -1,47 +0,0 @@
1
- import { Provider } from '@angular/core';
2
- export type GaModalRole = 'dialog' | 'alertdialog';
3
- export type GaModalSize = 'sm' | 'md' | 'lg';
4
- export type GaModalType = 'none' | 'info' | 'danger' | 'warning' | 'success';
5
- export declare class GaModalOptions {
6
- /**
7
- * Defines the predefined size of the modal.
8
- *
9
- * @default `md`
10
- */
11
- size?: GaModalSize;
12
- /**
13
- * Defines the type of the modal:
14
- * - `none` for no icon.
15
- * - `information` for info dialog.
16
- * - `danger` for danger dialog.
17
- * - `warning` for warning dialog.
18
- * - `success` for success dialog.
19
- */
20
- type?: GaModalType;
21
- /**
22
- * The ARIA role of the dialog element.
23
- *
24
- * @default `dialog`
25
- */
26
- role?: GaModalRole;
27
- /**
28
- * Defines if the modal should be closed when the escape key is pressed.
29
- *
30
- * @default `true`
31
- */
32
- closeOnEscape?: boolean;
33
- /**
34
- * Defines if the modal should be closed when the backdrop is clicked.
35
- *
36
- * @default `true`
37
- */
38
- closeOnOutsideClick?: boolean;
39
- /**
40
- * Defines if the modal should be closed when the route changes.
41
- *
42
- * @default `true`
43
- */
44
- closeOnNavigation?: boolean;
45
- }
46
- export declare const DEFAULT_MODAL_OPTIONS: Required<GaModalOptions>;
47
- export declare function provideGaModalOptions(options: GaModalOptions): Provider;
@@ -1,26 +0,0 @@
1
- import { ComponentType } from '@angular/cdk/portal';
2
- import { WritableSignal } from '@angular/core';
3
- import { GaModalComponent } from './modal.component';
4
- import { ExtractInput } from './modal.utils';
5
- import * as i0 from "@angular/core";
6
- export declare class GaModalService {
7
- /** @ignore */
8
- private overlay;
9
- /** @ignore */
10
- private injector;
11
- /** @ignore */
12
- private parentModalService;
13
- /** @ignore */
14
- private openModalsAtThisLevel;
15
- get activeModals(): WritableSignal<GaModalComponent<any, any>[]>;
16
- open<C extends GaModalComponent<any, any>>(component: ComponentType<C>, ...args: ExtractInput<C> extends void ? [(undefined | null)?] : [ExtractInput<C>]): C;
17
- closeAll(): void;
18
- /** @ignore */
19
- private attachContent;
20
- /** @ignore */
21
- private createOverlay;
22
- /** @ignore */
23
- private createInjector;
24
- static ɵfac: i0.ɵɵFactoryDeclaration<GaModalService, never>;
25
- static ɵprov: i0.ɵɵInjectableDeclaration<GaModalService>;
26
- }
@@ -1,3 +0,0 @@
1
- import { GaModalComponent } from './modal.component';
2
- export type ExtractInput<C extends GaModalComponent<any>> = C extends GaModalComponent<infer I, any> ? I : never;
3
- export type ExtractOutput<C extends GaModalComponent<any>> = C extends GaModalComponent<any, infer O> ? O : never;
@@ -1,3 +0,0 @@
1
- export * from './radio-button.component';
2
- export * from './radio-group.component';
3
- export * from './radio.module';
@@ -1,32 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class GaRadioButtonComponent {
3
- protected readonly tabindex?: string | undefined;
4
- private readonly radioGroup;
5
- private _uniqueId;
6
- /** The value attribute of the native input element */
7
- readonly value: import("@angular/core").InputSignal<string | null>;
8
- readonly inputId: import("@angular/core").InputSignal<string | null>;
9
- readonly inputName: import("@angular/core").InputSignal<string | null>;
10
- readonly inputChecked: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
11
- readonly inputDisabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
12
- readonly ariaLabel: import("@angular/core").InputSignal<string | null>;
13
- readonly ariaLabelledby: import("@angular/core").InputSignal<string | null>;
14
- readonly ariaDescribedby: import("@angular/core").InputSignal<string | null>;
15
- readonly ariaInvalid: import("@angular/core").InputSignal<string | null>;
16
- readonly ariaErrormessage: import("@angular/core").InputSignal<string | null>;
17
- /**
18
- * Event emitted when the group value changes.
19
- * Change events are only emitted when the value changes due to user interaction with
20
- * a radio button (the same behavior as `<input type="radio">`).
21
- */
22
- readonly change: import("@angular/core").OutputEmitterRef<string | null>;
23
- readonly id: import("@angular/core").Signal<string>;
24
- readonly name: import("@angular/core").Signal<string>;
25
- readonly disabled: import("@angular/core").Signal<boolean>;
26
- protected readonly checked: import("@angular/core").Signal<boolean>;
27
- constructor(tabindex?: string | undefined);
28
- onInputChange(event: Event): void;
29
- onBlur(): void;
30
- static ɵfac: i0.ɵɵFactoryDeclaration<GaRadioButtonComponent, [{ attribute: "tabindex"; }]>;
31
- static ɵcmp: i0.ɵɵComponentDeclaration<GaRadioButtonComponent, "ga-radio-button", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "inputId": { "alias": "id"; "required": false; "isSignal": true; }; "inputName": { "alias": "name"; "required": false; "isSignal": true; }; "inputChecked": { "alias": "checked"; "required": false; "isSignal": true; }; "inputDisabled": { "alias": "disabled"; "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; }; }, { "change": "change"; }, never, ["*"], true, never>;
32
- }
@@ -1,39 +0,0 @@
1
- import { Provider } from '@angular/core';
2
- import { ControlValueAccessor } from '@angular/forms';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * Provider Expression that allows ga-radio-group to register as a ControlValueAccessor.
6
- * This allows it to support [(ngModel)] and ngControl.
7
- */
8
- export declare const RADIO_CONTROL_VALUE_ACCESSOR: Provider;
9
- export declare class GaRadioGroupComponent implements ControlValueAccessor {
10
- /** Name of the radio button group. All radio buttons inside this group will use this name. */
11
- readonly name: import("@angular/core").InputSignal<string>;
12
- /**
13
- * Value for the radio-group. Should equal the value of the selected radio button if there is
14
- * a corresponding radio button with a matching value. If there is not such a corresponding
15
- * radio button, this value persists to be applied in case a new radio button is added with a
16
- * matching value.
17
- */
18
- readonly value: import("@angular/core").InputSignal<string | null>;
19
- /** Whether the radio group is disabled */
20
- readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
21
- /**
22
- * Event emitted when the group value changes.
23
- * Change events are only emitted when the value changes due to user interaction with
24
- * a radio button (the same behavior as `<input type="radio">`).
25
- */
26
- readonly change: import("@angular/core").OutputEmitterRef<string | null>;
27
- readonly valueModel: import("@angular/core").WritableSignal<string | null>;
28
- readonly disabledModel: import("@angular/core").WritableSignal<boolean>;
29
- private _onTouched?;
30
- private _onModelChanged?;
31
- registerOnChange(fn: (value: any) => void): void;
32
- registerOnTouched(fn: any): void;
33
- writeValue(value: any): void;
34
- setDisabledState(isDisabled: boolean): void;
35
- onValueChange(value: string | null): void;
36
- onBlur(): void;
37
- static ɵfac: i0.ɵɵFactoryDeclaration<GaRadioGroupComponent, never>;
38
- static ɵcmp: i0.ɵɵComponentDeclaration<GaRadioGroupComponent, "ga-radio-group", never, { "name": { "alias": "name"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "change": "change"; }, never, ["*"], true, never>;
39
- }
@@ -1,8 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./radio-button.component";
3
- import * as i2 from "./radio-group.component";
4
- export declare class GaRadioModule {
5
- static ɵfac: i0.ɵɵFactoryDeclaration<GaRadioModule, never>;
6
- static ɵmod: i0.ɵɵNgModuleDeclaration<GaRadioModule, never, [typeof i1.GaRadioButtonComponent, typeof i2.GaRadioGroupComponent], [typeof i1.GaRadioButtonComponent, typeof i2.GaRadioGroupComponent]>;
7
- static ɵinj: i0.ɵɵInjectorDeclaration<GaRadioModule>;
8
- }
@@ -1,5 +0,0 @@
1
- export * from './segmented-control.component';
2
- export * from './segmented-control-button.directive';
3
- export * from './segmented-control-icon-button.component';
4
- export * from './segmented-control-text-button.component';
5
- export * from './segmented-control.module';
@@ -1,10 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class GaSegmentedControlButtonDirective {
3
- /** @ignore */
4
- private readonly group;
5
- readonly value: import("@angular/core").InputSignal<string | undefined>;
6
- readonly selected: import("@angular/core").Signal<boolean>;
7
- onClick(): void;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<GaSegmentedControlButtonDirective, never>;
9
- static ɵdir: i0.ɵɵDirectiveDeclaration<GaSegmentedControlButtonDirective, "[gaSegmentedControlButton]", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
10
- }
@@ -1,7 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class GaSegmentedControlIconButtonComponent {
3
- readonly value: import("@angular/core").InputSignal<string>;
4
- readonly icon: import("@angular/core").InputSignal<import("lucide-angular").LucideIconData>;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<GaSegmentedControlIconButtonComponent, never>;
6
- static ɵcmp: i0.ɵɵComponentDeclaration<GaSegmentedControlIconButtonComponent, "ga-segmented-control-icon-button", never, { "value": { "alias": "value"; "required": true; "isSignal": true; }; "icon": { "alias": "icon"; "required": true; "isSignal": true; }; }, {}, never, ["*"], true, never>;
7
- }
@@ -1,6 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class GaSegmentedControlTextButtonComponent {
3
- readonly value: import("@angular/core").InputSignal<string>;
4
- static ɵfac: i0.ɵɵFactoryDeclaration<GaSegmentedControlTextButtonComponent, never>;
5
- static ɵcmp: i0.ɵɵComponentDeclaration<GaSegmentedControlTextButtonComponent, "ga-segmented-control-text-button", never, { "value": { "alias": "value"; "required": true; "isSignal": true; }; }, {}, never, ["*"], true, never>;
6
- }
@@ -1,7 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class GaSegmentedControlComponent {
3
- readonly selected: import("@angular/core").ModelSignal<string | undefined>;
4
- readonly change: import("@angular/core").OutputEmitterRef<string | undefined>;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<GaSegmentedControlComponent, never>;
6
- static ɵcmp: i0.ɵɵComponentDeclaration<GaSegmentedControlComponent, "ga-segmented-control", never, { "selected": { "alias": "selected"; "required": false; "isSignal": true; }; }, { "selected": "selectedChange"; "change": "change"; }, never, ["*"], true, never>;
7
- }
@@ -1,9 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./segmented-control.component";
3
- import * as i2 from "./segmented-control-icon-button.component";
4
- import * as i3 from "./segmented-control-text-button.component";
5
- export declare class GaSegmentedControlModule {
6
- static ɵfac: i0.ɵɵFactoryDeclaration<GaSegmentedControlModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<GaSegmentedControlModule, never, [typeof i1.GaSegmentedControlComponent, typeof i2.GaSegmentedControlIconButtonComponent, typeof i3.GaSegmentedControlTextButtonComponent], [typeof i1.GaSegmentedControlComponent, typeof i2.GaSegmentedControlIconButtonComponent, typeof i3.GaSegmentedControlTextButtonComponent]>;
8
- static ɵinj: i0.ɵɵInjectorDeclaration<GaSegmentedControlModule>;
9
- }
@@ -1,8 +0,0 @@
1
- export * from './select.component';
2
- export * from './option.component';
3
- export * from './opt-group.component';
4
- export * from './select-dropdown.component';
5
- export * from './select-dropdown-spinner.component';
6
- export * from './select-value.component';
7
- export * from './select-required.validator';
8
- export * from './select.module';
@@ -1,6 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class GaOptgroupComponent {
3
- readonly label: import("@angular/core").InputSignal<string | undefined>;
4
- static ɵfac: i0.ɵɵFactoryDeclaration<GaOptgroupComponent, never>;
5
- static ɵcmp: i0.ɵɵComponentDeclaration<GaOptgroupComponent, "ga-optgroup", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
6
- }
@@ -1,19 +0,0 @@
1
- import { CdkOption } from '@angular/cdk/listbox';
2
- import { GaSelectComponent } from './select.component';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "@angular/cdk/listbox";
5
- export declare class GaOptionComponent<InputType = any> {
6
- private readonly _isSelected;
7
- private readonly _isActive;
8
- protected readonly selectComponent: GaSelectComponent;
9
- readonly cdkOption: CdkOption<any>;
10
- readonly value: import("@angular/core").InputSignal<InputType | null>;
11
- readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
12
- readonly withInput: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
13
- readonly selected: import("@angular/core").Signal<boolean>;
14
- readonly active: import("@angular/core").Signal<boolean>;
15
- constructor();
16
- onClick(): void;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<GaOptionComponent<any>, never>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<GaOptionComponent<any>, "ga-option", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "withInput": { "alias": "withInput"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.CdkOption; inputs: { "cdkOption": "value"; "cdkOptionDisabled": "disabled"; "cdkOptionTypeaheadLabel": "typeaheadLabel"; }; outputs: {}; }]>;
19
- }
@@ -1,13 +0,0 @@
1
- import { GaSelectComponent } from './select.component';
2
- import { GaOptionComponent } from './option.component';
3
- import * as i0 from "@angular/core";
4
- export declare class GaSelectDefaultValueComponent {
5
- protected readonly selectComponent: GaSelectComponent;
6
- protected readonly icons: {
7
- X: import("lucide-angular").LucideIconData;
8
- };
9
- protected readonly singleViewValue: import("@angular/core").Signal<string>;
10
- protected deselectOption(option: GaOptionComponent): void;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<GaSelectDefaultValueComponent, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<GaSelectDefaultValueComponent, "ga-select-default-value", never, {}, {}, never, never, true, never>;
13
- }
@@ -1,5 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class GaSelectDropdownSpinnerComponent {
3
- static ɵfac: i0.ɵɵFactoryDeclaration<GaSelectDropdownSpinnerComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<GaSelectDropdownSpinnerComponent, "ga-select-dropdown-spinner", never, {}, {}, never, never, true, never>;
5
- }
@@ -1,7 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "@angular/cdk/listbox";
3
- export declare class GaSelectDropdownComponent {
4
- readonly loading: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<GaSelectDropdownComponent, never>;
6
- static ɵcmp: i0.ɵɵComponentDeclaration<GaSelectDropdownComponent, "ga-select-dropdown", never, { "loading": { "alias": "loading"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.CdkListbox; inputs: {}; outputs: {}; }]>;
7
- }
@@ -1,8 +0,0 @@
1
- import { Provider } from '@angular/core';
2
- import { RequiredValidator } from '@angular/forms';
3
- import * as i0 from "@angular/core";
4
- export declare const GA_SELECT_REQUIRED_VALIDATOR: Provider;
5
- export declare class GaSelectRequiredValidator extends RequiredValidator {
6
- static ɵfac: i0.ɵɵFactoryDeclaration<GaSelectRequiredValidator, never>;
7
- static ɵdir: i0.ɵɵDirectiveDeclaration<GaSelectRequiredValidator, "ga-select[required][formControlName], ga-select[required][formControl], ga-select[required][ngModel]", never, {}, {}, never, never, true, never>;
8
- }
@@ -1,5 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class GaSelectValueComponent {
3
- static ɵfac: i0.ɵɵFactoryDeclaration<GaSelectValueComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<GaSelectValueComponent, "ga-select-value", never, {}, {}, never, ["*"], true, never>;
5
- }
@@ -1,70 +0,0 @@
1
- import { AfterContentInit, DoCheck, ElementRef } from '@angular/core';
2
- import { CdkOverlayOrigin, ConnectedPosition } from '@angular/cdk/overlay';
3
- import { GaOptionComponent } from './option.component';
4
- import { CdkListbox } from '@angular/cdk/listbox';
5
- import { ControlValueAccessor } from '@angular/forms';
6
- import { GaFormControl } from '../form-field/form-control.di';
7
- import { GaSelectValueComponent } from './select-value.component';
8
- import * as i0 from "@angular/core";
9
- import * as i1 from "@angular/cdk/overlay";
10
- export declare class GaSelectComponent implements ControlValueAccessor, GaFormControl, DoCheck, AfterContentInit {
11
- private readonly _uniqueId;
12
- private focusedTriggerElement;
13
- private _onTouched?;
14
- private _onModelChanged?;
15
- protected readonly positions: ConnectedPosition[];
16
- private readonly injector;
17
- protected readonly overlayOrigin: CdkOverlayOrigin;
18
- private readonly implicitInvalid;
19
- private readonly _isOpen;
20
- readonly value: import("@angular/core").ModelSignal<unknown>;
21
- readonly placeholder: import("@angular/core").InputSignal<string>;
22
- readonly disabledInput: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
23
- readonly invalidInput: import("@angular/core").InputSignalWithTransform<boolean | null, unknown>;
24
- readonly multiple: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
25
- readonly compareWith: import("@angular/core").InputSignal<((o1: any, o2: any) => boolean) | undefined>;
26
- readonly searchable: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
27
- readonly textValue: import("@angular/core").ModelSignal<string>;
28
- readonly leftIcon: import("@angular/core").InputSignal<import("lucide-angular").LucideIconData | undefined>;
29
- readonly idInput: import("@angular/core").InputSignal<string | null>;
30
- readonly opened: import("@angular/core").OutputEmitterRef<void>;
31
- readonly closed: import("@angular/core").OutputEmitterRef<void>;
32
- readonly gaOptions: import("@angular/core").Signal<readonly GaOptionComponent<any>[]>;
33
- protected readonly cdkListbox: import("@angular/core").Signal<CdkListbox<any>>;
34
- protected readonly customSelectValue: import("@angular/core").Signal<GaSelectValueComponent | undefined>;
35
- protected readonly inputSearch: import("@angular/core").Signal<ElementRef<HTMLInputElement> | undefined>;
36
- protected readonly content: import("@angular/core").Signal<ElementRef<any> | undefined>;
37
- readonly id: import("@angular/core").Signal<string>;
38
- readonly isOpen: import("@angular/core").Signal<boolean>;
39
- readonly disabled: import("@angular/core").WritableSignal<boolean>;
40
- protected readonly menuStatusIcon: import("@angular/core").Signal<import("lucide-angular").LucideIconData>;
41
- readonly selectedOptions: import("@angular/core").Signal<GaOptionComponent<any>[]>;
42
- readonly activeDescendantId: import("@angular/core").Signal<string | undefined>;
43
- readonly hasValue: import("@angular/core").Signal<boolean>;
44
- readonly invalid: import("@angular/core").Signal<boolean>;
45
- readonly _formControlId: import("@angular/core").Signal<string>;
46
- readonly _formControlDisabled: import("@angular/core").Signal<boolean>;
47
- constructor();
48
- ngAfterContentInit(): void;
49
- ngDoCheck(): void;
50
- writeValue(value: any): void;
51
- registerOnChange(fn: any): void;
52
- registerOnTouched(fn: any): void;
53
- setDisabledState(disabled: boolean): void;
54
- toggle(): void;
55
- open(): void;
56
- close(): void;
57
- autoClose(): void;
58
- focusListbox(): void;
59
- setPreviousItemActive(): void;
60
- setNextItemActive(): void;
61
- setActiveItemAsSelected(): void;
62
- protected onInputKeyDown(event: KeyboardEvent): void;
63
- protected onOverlayAttach(): void;
64
- protected onOverlayDetach(): void;
65
- deselectValue(value: any): void;
66
- private syncValue;
67
- private setItemActive;
68
- static ɵfac: i0.ɵɵFactoryDeclaration<GaSelectComponent, never>;
69
- static ɵcmp: i0.ɵɵ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; }; "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 i1.CdkOverlayOrigin; inputs: {}; outputs: {}; }]>;
70
- }
@@ -1,13 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./select.component";
3
- import * as i2 from "./option.component";
4
- import * as i3 from "./opt-group.component";
5
- import * as i4 from "./select-dropdown.component";
6
- import * as i5 from "./select-dropdown-spinner.component";
7
- import * as i6 from "./select-value.component";
8
- import * as i7 from "./select-required.validator";
9
- export declare class GaSelectModule {
10
- static ɵfac: i0.ɵɵFactoryDeclaration<GaSelectModule, never>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<GaSelectModule, never, [typeof i1.GaSelectComponent, typeof i2.GaOptionComponent, typeof i3.GaOptgroupComponent, typeof i4.GaSelectDropdownComponent, typeof i5.GaSelectDropdownSpinnerComponent, typeof i6.GaSelectValueComponent, typeof i7.GaSelectRequiredValidator], [typeof i1.GaSelectComponent, typeof i2.GaOptionComponent, typeof i3.GaOptgroupComponent, typeof i4.GaSelectDropdownComponent, typeof i5.GaSelectDropdownSpinnerComponent, typeof i6.GaSelectValueComponent, typeof i7.GaSelectRequiredValidator]>;
12
- static ɵinj: i0.ɵɵInjectorDeclaration<GaSelectModule>;
13
- }
@@ -1,2 +0,0 @@
1
- export * from './spinner.component';
2
- export * from './spinner.module';
@@ -1,11 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class GaSpinnerComponent {
3
- readonly size: import("@angular/core").InputSignalWithTransform<number, unknown>;
4
- readonly strokeWidth: import("@angular/core").Signal<number>;
5
- readonly center: import("@angular/core").Signal<number>;
6
- readonly radius: import("@angular/core").Signal<number>;
7
- readonly circumference: import("@angular/core").Signal<number>;
8
- readonly arcCircumference: import("@angular/core").Signal<number>;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<GaSpinnerComponent, never>;
10
- static ɵcmp: i0.ɵɵComponentDeclaration<GaSpinnerComponent, "ga-spinner", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
11
- }
@@ -1,7 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./spinner.component";
3
- export declare class GaSpinnerModule {
4
- static ɵfac: i0.ɵɵFactoryDeclaration<GaSpinnerModule, never>;
5
- static ɵmod: i0.ɵɵNgModuleDeclaration<GaSpinnerModule, never, [typeof i1.GaSpinnerComponent], [typeof i1.GaSpinnerComponent]>;
6
- static ɵinj: i0.ɵɵInjectorDeclaration<GaSpinnerModule>;
7
- }
@@ -1,2 +0,0 @@
1
- export * from './text-area.directive';
2
- export * from './text-area.module';
@@ -1,19 +0,0 @@
1
- import { DoCheck } from '@angular/core';
2
- import { GaFormControl } from '../form-field';
3
- import * as i0 from "@angular/core";
4
- export declare class GaTextAreaDirective implements DoCheck, GaFormControl {
5
- readonly id: import("@angular/core").InputSignal<string | undefined>;
6
- readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
7
- readonly invalid: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
8
- readonly _formControlId: import("@angular/core").Signal<string>;
9
- readonly _formControlDisabled: import("@angular/core").Signal<boolean>;
10
- protected readonly uniqueId: import("@angular/core").Signal<string>;
11
- protected readonly invalidInput: import("@angular/core").Signal<boolean>;
12
- private readonly generatedUniqueId;
13
- private readonly injector;
14
- private readonly implicitInvalid;
15
- private readonly disabledModel;
16
- ngDoCheck(): void;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<GaTextAreaDirective, never>;
18
- static ɵdir: i0.ɵɵDirectiveDeclaration<GaTextAreaDirective, "[gaTextArea]", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
19
- }
@@ -1,7 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./text-area.directive";
3
- export declare class GaTextAreaModule {
4
- static ɵfac: i0.ɵɵFactoryDeclaration<GaTextAreaModule, never>;
5
- static ɵmod: i0.ɵɵNgModuleDeclaration<GaTextAreaModule, never, [typeof i1.GaTextAreaDirective], [typeof i1.GaTextAreaDirective]>;
6
- static ɵinj: i0.ɵɵInjectorDeclaration<GaTextAreaModule>;
7
- }
@@ -1,3 +0,0 @@
1
- export * from './tooltip.directive';
2
- export * from './tooltip.component';
3
- export * from './tooltip.module';