@vsn-ux/ngx-gaia 0.8.6 → 0.8.8

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/index.d.ts CHANGED
@@ -734,14 +734,32 @@ declare class GaSelectValueComponent {
734
734
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<GaSelectValueComponent, "ga-select-value", never, {}, {}, never, ["*"], true, never>;
735
735
  }
736
736
 
737
+ declare function GA_SELECT_I18N_FACTORY(): GaSelectI18nDefault;
738
+ declare abstract class GaSelectI18n {
739
+ abstract clearLabel: string;
740
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<GaSelectI18n, never>;
741
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<GaSelectI18n>;
742
+ }
743
+ declare class GaSelectI18nDefault extends GaSelectI18n {
744
+ /** A label for the clear button */
745
+ clearLabel: string;
746
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<GaSelectI18nDefault, never>;
747
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<GaSelectI18nDefault>;
748
+ }
749
+ declare function provideGaSelectI18n(value: GaSelectI18n | (() => GaSelectI18n)): _angular_core.EnvironmentProviders;
750
+
737
751
  declare class GaSelectComponent implements ControlValueAccessor, GaFormControl, DoCheck, AfterContentInit {
738
752
  private readonly _uniqueId;
753
+ protected readonly icons: {
754
+ CircleX: lucide_angular.LucideIconData;
755
+ };
739
756
  private focusedTriggerElement;
740
757
  private _onTouched?;
741
758
  private _onModelChanged?;
742
759
  protected readonly positions: ConnectedPosition[];
743
760
  private readonly injector;
744
761
  private readonly elementRef;
762
+ protected readonly i18n: GaSelectI18n;
745
763
  protected readonly overlayOrigin: CdkOverlayOrigin;
746
764
  protected readonly repositionScrollStrategy: _angular_cdk_overlay.RepositionScrollStrategy;
747
765
  private readonly implicitInvalid;
@@ -753,6 +771,8 @@ declare class GaSelectComponent implements ControlValueAccessor, GaFormControl,
753
771
  readonly multiple: _angular_core.InputSignalWithTransform<boolean, unknown>;
754
772
  readonly compareWith: _angular_core.InputSignal<((o1: any, o2: any) => boolean) | undefined>;
755
773
  readonly searchable: _angular_core.InputSignalWithTransform<boolean, unknown>;
774
+ readonly clearable: _angular_core.InputSignalWithTransform<boolean, unknown>;
775
+ readonly clearableLabel: _angular_core.InputSignal<string | undefined>;
756
776
  readonly canSelectNullable: _angular_core.InputSignalWithTransform<boolean, unknown>;
757
777
  readonly textValue: _angular_core.ModelSignal<string>;
758
778
  readonly leftIcon: _angular_core.InputSignal<lucide_angular.LucideIconData | undefined>;
@@ -789,6 +809,7 @@ declare class GaSelectComponent implements ControlValueAccessor, GaFormControl,
789
809
  setPreviousItemActive(): void;
790
810
  setNextItemActive(): void;
791
811
  setActiveItemAsSelected(): void;
812
+ protected clearValue(): void;
792
813
  protected onInputKeyDown(event: KeyboardEvent): void;
793
814
  protected onOverlayAttach(): void;
794
815
  protected onOverlayDetach(): void;
@@ -796,7 +817,7 @@ declare class GaSelectComponent implements ControlValueAccessor, GaFormControl,
796
817
  private syncValue;
797
818
  private setItemActive;
798
819
  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: {}; outputs: {}; }]>;
820
+ 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
821
  }
801
822
 
802
823
  declare class GaOptgroupComponent {
@@ -1027,5 +1048,5 @@ declare class GaTextAreaModule {
1027
1048
  static ɵinj: _angular_core.ɵɵInjectorDeclaration<GaTextAreaModule>;
1028
1049
  }
1029
1050
 
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 };
1051
+ export { CHECKBOX_CONTROL_VALUE_ACCESSOR, DEFAULT_MODAL_OPTIONS, GA_ALERT_I18N_FACTORY, GA_BASE_FONT_SIZE, GA_BUTTON_I18N_FACTORY, GA_CHECKBOX_REQUIRED_VALIDATOR, GA_FORM_CONTROL, GA_ICON_DEFAULT_SIZE, GA_MODAL_DATA, GA_MODAL_I18N_FACTORY, GA_SELECT_I18N_FACTORY, GA_SELECT_REQUIRED_VALIDATOR, GA_TOOLTIP_DEFAULT_OFFSET, GaAlertComponent, GaAlertI18n, GaAlertI18nDefault, GaAlertModule, GaAlertTitleActionsComponent, GaAlertTitleComponent, GaBadgeComponent, GaBadgeModule, GaButtonDirective, GaButtonI18n, GaButtonI18nDefault, GaButtonModule, GaCardComponent, GaCardModule, GaCheckboxComponent, GaCheckboxModule, GaCheckboxRequiredValidator, GaFieldInfoComponent, GaFieldLabelComponent, GaFormControlDirective, GaFormFieldComponent, GaFormFieldModule, GaIconButtonDirective, GaIconComponent, GaIconModule, GaInputComponent, GaInputDirective, GaInputModule, GaLabelledByFormFieldDirective, GaLinkDirective, GaLinkModule, GaMenuComponent, GaMenuItemComponent, GaMenuModule, GaMenuSeparatorComponent, GaMenuTitleComponent, GaMenuTriggerDirective, GaMenuTriggerIconComponent, GaModalActionsComponent, GaModalCloseDirective, GaModalComponent, GaModalContentComponent, GaModalDescriptionComponent, GaModalDescriptionDirective, GaModalHeaderComponent, GaModalI18n, GaModalI18nDefault, GaModalLabelDirective, GaModalModule, GaModalOptions, GaModalRef, GaModalService, GaModalTitleDirective, GaOptgroupComponent, GaOptionComponent, GaRadioButtonComponent, GaRadioGroupComponent, GaRadioModule, GaSegmentedControlButtonDirective, GaSegmentedControlComponent, GaSegmentedControlIconButtonComponent, GaSegmentedControlModule, GaSegmentedControlTextButtonComponent, GaSelectComponent, GaSelectDropdownComponent, GaSelectDropdownSpinnerComponent, GaSelectI18n, GaSelectI18nDefault, GaSelectModule, GaSelectRequiredValidator, GaSelectValueComponent, GaSpinnerComponent, GaSpinnerModule, GaSwitchComponent, GaSwitchModule, GaTextAreaDirective, GaTextAreaModule, GaTooltipComponent, GaTooltipDirective, GaTooltipModule, RADIO_CONTROL_VALUE_ACCESSOR, SWITCH_CONTROL_VALUE_ACCESSOR, provideGaAlertI18n, provideGaBaseFontSize, provideGaButtonI18n, provideGaModalI18n, provideGaModalOptions, provideGaSelectI18n };
1031
1052
  export type { GaAlertVariant, GaBadgeType, GaBadgeVariant, GaButtonType, GaFormControl, GaIconButtonVariant, GaIconData, GaLinkSize, GaLinkVariant, GaModalRole, GaModalSize, GaModalType, GaTooltipControlMode, GaTooltipDirection, GaTooltipPlacement, GaTooltipPosition };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vsn-ux/ngx-gaia",
3
- "version": "0.8.6",
3
+ "version": "0.8.8",
4
4
  "peerDependencies": {
5
5
  "@angular/cdk": "^20.0.0",
6
6
  "@angular/common": "^20.0.0",