@vsn-ux/ngx-gaia 0.1.4 → 0.1.6
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 +317 -80
- package/fesm2022/vsn-ux-ngx-gaia.mjs.map +1 -1
- package/lib/alert/alert-i18n.service.d.ts +14 -0
- package/lib/alert/alert.component.d.ts +10 -3
- package/lib/alert/index.d.ts +1 -0
- package/lib/menu/index.d.ts +1 -0
- package/lib/menu/menu-trigger-icon.component.d.ts +9 -0
- package/lib/menu/menu-trigger.directive.d.ts +2 -1
- package/lib/menu/menu.module.d.ts +2 -1
- package/lib/radio/index.d.ts +3 -0
- package/lib/radio/radio-button.component.d.ts +32 -0
- package/lib/radio/radio-group.component.d.ts +39 -0
- package/lib/radio/radio.module.d.ts +8 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -0,0 +1,32 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
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
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED