@vsn-ux/ngx-gaia 0.7.0 → 0.7.2
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 +191 -99
- package/fesm2022/vsn-ux-ngx-gaia.mjs.map +1 -1
- package/lib/button/button-i18n.service.d.ts +14 -0
- package/lib/button/button.directive.d.ts +7 -1
- package/lib/button/icon-button.directive.d.ts +7 -1
- package/lib/button/index.d.ts +1 -0
- package/lib/modal/modal.component.d.ts +0 -2
- package/package.json +1 -1
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare function GA_BUTTON_I18N_FACTORY(): GaButtonI18nDefault;
|
|
3
|
+
export declare abstract class GaButtonI18n {
|
|
4
|
+
abstract loadingLabel: string;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GaButtonI18n, never>;
|
|
6
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<GaButtonI18n>;
|
|
7
|
+
}
|
|
8
|
+
export declare class GaButtonI18nDefault extends GaButtonI18n {
|
|
9
|
+
/** A label for the default loading state */
|
|
10
|
+
loadingLabel: string;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GaButtonI18nDefault, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<GaButtonI18nDefault>;
|
|
13
|
+
}
|
|
14
|
+
export declare function provideGaButtonI18n(value: GaButtonI18n | (() => GaButtonI18n)): import("@angular/core").EnvironmentProviders;
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export type GaButtonType = 'primary' | 'secondary' | 'ghost' | 'transparent';
|
|
3
3
|
export declare class GaButtonDirective {
|
|
4
|
+
private readonly i18n;
|
|
5
|
+
private readonly el;
|
|
4
6
|
readonly variant: import("@angular/core").InputSignal<"" | GaButtonType>;
|
|
7
|
+
readonly isLoading: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
8
|
+
readonly loadingLabel: import("@angular/core").InputSignal<string>;
|
|
9
|
+
readonly disabledImplicit: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
10
|
+
readonly disabled: import("@angular/core").Signal<"" | null>;
|
|
5
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<GaButtonDirective, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GaButtonDirective, "button[gaButton], a[gaButton]", never, { "variant": { "alias": "gaButton"; "required": true; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GaButtonDirective, "button[gaButton], a[gaButton]", never, { "variant": { "alias": "gaButton"; "required": true; "isSignal": true; }; "isLoading": { "alias": "gaButtonLoading"; "required": false; "isSignal": true; }; "loadingLabel": { "alias": "gaButtonLoadingLabel"; "required": false; "isSignal": true; }; "disabledImplicit": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
7
13
|
}
|
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export type GaIconButtonVariant = 'primary' | 'secondary' | 'ghost' | 'transparent';
|
|
3
3
|
export declare class GaIconButtonDirective {
|
|
4
|
+
private readonly i18n;
|
|
5
|
+
private readonly el;
|
|
4
6
|
readonly icon: import("@angular/core").InputSignal<import("lucide-angular").LucideIconData>;
|
|
5
7
|
readonly variant: import("@angular/core").InputSignal<GaIconButtonVariant>;
|
|
8
|
+
readonly isLoading: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
9
|
+
readonly loadingLabel: import("@angular/core").InputSignal<string>;
|
|
10
|
+
readonly disabledImplicit: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
11
|
+
readonly disabled: import("@angular/core").Signal<"" | null>;
|
|
6
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<GaIconButtonDirective, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GaIconButtonDirective, "button[gaIconButton], a[gaIconButton]", never, { "icon": { "alias": "gaIconButton"; "required": true; "isSignal": true; }; "variant": { "alias": "gaIconButtonVariant"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GaIconButtonDirective, "button[gaIconButton], a[gaIconButton]", never, { "icon": { "alias": "gaIconButton"; "required": true; "isSignal": true; }; "variant": { "alias": "gaIconButtonVariant"; "required": false; "isSignal": true; }; "isLoading": { "alias": "gaIconButtonLoading"; "required": false; "isSignal": true; }; "loadingLabel": { "alias": "gaIconButtonLoadingLabel"; "required": false; "isSignal": true; }; "disabledImplicit": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
8
14
|
}
|
package/lib/button/index.d.ts
CHANGED
|
@@ -6,7 +6,6 @@ export declare abstract class GaModalComponent<I = void, O = void> {
|
|
|
6
6
|
private readonly closeSubject;
|
|
7
7
|
private readonly overlayRef;
|
|
8
8
|
private readonly destroyRef;
|
|
9
|
-
private readonly _modalService;
|
|
10
9
|
private readonly router;
|
|
11
10
|
private readonly globalOptions;
|
|
12
11
|
protected readonly options: GaModalOptions & {
|
|
@@ -17,7 +16,6 @@ export declare abstract class GaModalComponent<I = void, O = void> {
|
|
|
17
16
|
protected readonly data: I;
|
|
18
17
|
protected readonly labelledBy: import("@angular/core").WritableSignal<string | null>;
|
|
19
18
|
protected readonly describedBy: import("@angular/core").WritableSignal<string | null>;
|
|
20
|
-
readonly modalStackIndex: import("@angular/core").Signal<number>;
|
|
21
19
|
constructor();
|
|
22
20
|
close(result?: O): void;
|
|
23
21
|
afterClosed({ closeOnUnsubscribe }?: {
|