@vsn-ux/ngx-gaia 0.9.10 → 0.9.12
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/LICENSE +21 -0
- package/fesm2022/vsn-ux-ngx-gaia.mjs +170 -55
- package/fesm2022/vsn-ux-ngx-gaia.mjs.map +1 -1
- package/index.d.ts +44 -9
- package/package.json +3 -2
package/index.d.ts
CHANGED
|
@@ -368,6 +368,7 @@ declare class GaInputDirective {
|
|
|
368
368
|
readonly id: _angular_core.Signal<string>;
|
|
369
369
|
readonly disabled: _angular_core.Signal<boolean>;
|
|
370
370
|
constructor(placeholder?: string);
|
|
371
|
+
focus(): void;
|
|
371
372
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GaInputDirective, [{ attribute: "placeholder"; }]>;
|
|
372
373
|
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>;
|
|
373
374
|
}
|
|
@@ -1091,6 +1092,14 @@ declare class GaSelectI18nDefault extends GaSelectI18n {
|
|
|
1091
1092
|
}
|
|
1092
1093
|
declare function provideGaSelectI18n(value: GaSelectI18n | (() => GaSelectI18n)): _angular_core.EnvironmentProviders;
|
|
1093
1094
|
|
|
1095
|
+
declare class GaSelectDropdownComponent {
|
|
1096
|
+
private readonly elementRef;
|
|
1097
|
+
readonly loading: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1098
|
+
resetScroll(): void;
|
|
1099
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GaSelectDropdownComponent, never>;
|
|
1100
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GaSelectDropdownComponent, "ga-select-dropdown", never, { "loading": { "alias": "loading"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1$3.CdkListbox; inputs: {}; outputs: {}; }]>;
|
|
1101
|
+
}
|
|
1102
|
+
|
|
1094
1103
|
declare class GaSelectComponent implements ControlValueAccessor, AfterContentInit {
|
|
1095
1104
|
private readonly _uniqueId;
|
|
1096
1105
|
protected readonly icons: {
|
|
@@ -1125,6 +1134,7 @@ declare class GaSelectComponent implements ControlValueAccessor, AfterContentIni
|
|
|
1125
1134
|
readonly closed: _angular_core.OutputEmitterRef<void>;
|
|
1126
1135
|
readonly gaOptions: _angular_core.Signal<readonly GaOptionComponent<any>[]>;
|
|
1127
1136
|
protected readonly cdkListbox: _angular_core.Signal<CdkListbox<any>>;
|
|
1137
|
+
protected readonly gaDropdown: _angular_core.Signal<GaSelectDropdownComponent>;
|
|
1128
1138
|
protected readonly customSelectValue: _angular_core.Signal<GaSelectValueComponent | undefined>;
|
|
1129
1139
|
protected readonly inputSearch: _angular_core.Signal<ElementRef<HTMLInputElement> | undefined>;
|
|
1130
1140
|
protected readonly content: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
@@ -1162,7 +1172,7 @@ declare class GaSelectComponent implements ControlValueAccessor, AfterContentIni
|
|
|
1162
1172
|
private setItemActive;
|
|
1163
1173
|
private scrollActiveOptionIntoView;
|
|
1164
1174
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GaSelectComponent, never>;
|
|
1165
|
-
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: {}; }]>;
|
|
1175
|
+
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", "gaDropdown", "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: {}; }]>;
|
|
1166
1176
|
}
|
|
1167
1177
|
|
|
1168
1178
|
declare class GaOptgroupComponent {
|
|
@@ -1171,12 +1181,6 @@ declare class GaOptgroupComponent {
|
|
|
1171
1181
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GaOptgroupComponent, "ga-optgroup", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
1172
1182
|
}
|
|
1173
1183
|
|
|
1174
|
-
declare class GaSelectDropdownComponent {
|
|
1175
|
-
readonly loading: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1176
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GaSelectDropdownComponent, never>;
|
|
1177
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GaSelectDropdownComponent, "ga-select-dropdown", never, { "loading": { "alias": "loading"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1$3.CdkListbox; inputs: {}; outputs: {}; }]>;
|
|
1178
|
-
}
|
|
1179
|
-
|
|
1180
1184
|
declare class GaSelectDropdownSpinnerComponent {
|
|
1181
1185
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GaSelectDropdownSpinnerComponent, never>;
|
|
1182
1186
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GaSelectDropdownSpinnerComponent, "ga-select-dropdown-spinner", never, {}, {}, never, never, true, never>;
|
|
@@ -1421,5 +1425,36 @@ declare class GaTextAreaModule {
|
|
|
1421
1425
|
static ɵinj: _angular_core.ɵɵInjectorDeclaration<GaTextAreaModule>;
|
|
1422
1426
|
}
|
|
1423
1427
|
|
|
1424
|
-
|
|
1425
|
-
|
|
1428
|
+
type GaChipVariant = 'default' | 'transparent';
|
|
1429
|
+
declare class GaChipListboxComponent<ValueT = any | readonly any[]> {
|
|
1430
|
+
protected readonly cdkListbox: CdkListbox<any>;
|
|
1431
|
+
readonly orientation: _angular_core.InputSignal<"horizontal" | "vertical">;
|
|
1432
|
+
readonly variant: _angular_core.InputSignal<GaChipVariant>;
|
|
1433
|
+
readonly valueChange: _angular_core.OutputEmitterRef<ValueT>;
|
|
1434
|
+
readonly disabled: _angular_core.Signal<boolean>;
|
|
1435
|
+
constructor();
|
|
1436
|
+
focus(): void;
|
|
1437
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GaChipListboxComponent<any>, never>;
|
|
1438
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GaChipListboxComponent<any>, "ga-chip-listbox", never, { "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; }, never, ["*"], true, [{ directive: typeof i1$3.CdkListbox; inputs: { "cdkListboxMultiple": "multiple"; "cdkListboxValue": "value"; "cdkListboxDisabled": "disabled"; "cdkListboxCompareWith": "compareWith"; }; outputs: {}; }]>;
|
|
1439
|
+
}
|
|
1440
|
+
|
|
1441
|
+
declare class GaChipComponent {
|
|
1442
|
+
private readonly cdkOption;
|
|
1443
|
+
protected readonly listbox: GaChipListboxComponent<any>;
|
|
1444
|
+
protected readonly _isSelected: _angular_core.WritableSignal<boolean | null>;
|
|
1445
|
+
readonly selected: _angular_core.Signal<boolean | null>;
|
|
1446
|
+
readonly value: _angular_core.InputSignal<any>;
|
|
1447
|
+
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1448
|
+
constructor();
|
|
1449
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GaChipComponent, never>;
|
|
1450
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GaChipComponent, "ga-chip", never, { "value": { "alias": "value"; "required": true; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1$3.CdkOption; inputs: { "cdkOption": "value"; "cdkOptionDisabled": "disabled"; }; outputs: {}; }]>;
|
|
1451
|
+
}
|
|
1452
|
+
|
|
1453
|
+
declare class GaChipModule {
|
|
1454
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GaChipModule, never>;
|
|
1455
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<GaChipModule, never, [typeof GaChipComponent, typeof GaChipListboxComponent], [typeof GaChipComponent, typeof GaChipListboxComponent]>;
|
|
1456
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<GaChipModule>;
|
|
1457
|
+
}
|
|
1458
|
+
|
|
1459
|
+
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_DATEPICKER_I18N_FACTORY, GA_DATEPICKER_PARSER_FORMATTER_FACTORY, GA_DATEPICKER_VALUE_ADAPTER_FACTORY, GA_DATE_PARSER_FORMATTER_CONFIG, GA_DEFAULT_DATEPICKER_FORMATS, GA_FORM_CONTROL_ADAPTER, GA_FORM_ERRORS, 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, GaChipComponent, GaChipListboxComponent, GaChipModule, GaDatepickerComponent, GaDatepickerI18n, GaDatepickerI18nDefault, GaDatepickerInputDirective, GaDatepickerModule, GaDatepickerNativeUtcIsoValueAdapter, GaDatepickerNativeUtcValueAdapter, GaDatepickerParserFormatter, GaDatepickerParserFormatterDefault, GaDatepickerStructValueAdapter, GaDatepickerToggleComponent, GaDatepickerValueAdapter, 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, compareStructs, extendGaDateParserFormatter, injectNgControlState, provideGaAlertI18n, provideGaBaseFontSize, provideGaButtonI18n, provideGaDatepickerI18n, provideGaDatepickerParserFormatter, provideGaDatepickerValueAdapter, provideGaFormErrors, provideGaModalI18n, provideGaModalOptions, provideGaSelectI18n };
|
|
1460
|
+
export type { GaAlertVariant, GaBadgeType, GaBadgeVariant, GaButtonType, GaChipVariant, GaDatepickerFormats, GaDatepickerStruct, GaFormControlAdapter, GaFormErrorMessage, GaFormErrorsConfig, GaFormErrorsMap, GaIconButtonVariant, GaIconData, GaLinkSize, GaLinkVariant, GaModalRole, GaModalSize, GaModalType, GaTooltipControlMode, GaTooltipDirection, GaTooltipPlacement, GaTooltipPosition, IGaDatepickerI18n };
|
package/package.json
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vsn-ux/ngx-gaia",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.12",
|
|
4
|
+
"license": "MIT",
|
|
4
5
|
"peerDependencies": {
|
|
5
6
|
"@angular/cdk": "^20.0.0",
|
|
6
7
|
"@angular/common": "^20.0.0",
|
|
7
8
|
"@angular/core": "^20.0.0",
|
|
8
|
-
"@vsn-ux/gaia-styles": "^0.5.
|
|
9
|
+
"@vsn-ux/gaia-styles": "^0.5.11",
|
|
9
10
|
"lucide-angular": ">=0.518.0 <1.0.0"
|
|
10
11
|
},
|
|
11
12
|
"dependencies": {
|