zek 16.1.0 → 16.1.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/README.md +24 -24
- package/esm2022/lib/modules/google-login-button/google-login-button.mjs +45 -4
- package/esm2022/lib/utils/math-helper.mjs +4 -1
- package/fesm2022/zek.mjs +47 -3
- package/fesm2022/zek.mjs.map +1 -1
- package/lib/modules/google-login-button/google-login-button.d.ts +15 -2
- package/lib/utils/math-helper.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,15 +1,28 @@
|
|
|
1
1
|
import { EventEmitter } from "@angular/core";
|
|
2
|
-
import { CoreComponent, BooleanInput, StringInput } from "../../components";
|
|
2
|
+
import { CoreComponent, BooleanInput, StringInput, NumberInput } from "../../components";
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export interface GoogleLoginConfig {
|
|
5
5
|
client_id: string;
|
|
6
6
|
}
|
|
7
|
+
export type GoogleLoginButtonTextInput = 'signin_with' | 'signup_with' | 'continue_with' | 'signin' | null | undefined;
|
|
7
8
|
export declare class ZekGoogleLoginButton extends CoreComponent {
|
|
8
9
|
private readonly client_id;
|
|
9
10
|
constructor(client_id: string);
|
|
10
11
|
private _prompt;
|
|
11
12
|
get prompt(): BooleanInput;
|
|
12
13
|
set prompt(v: BooleanInput);
|
|
14
|
+
private _autoSelect;
|
|
15
|
+
get autoSelect(): BooleanInput;
|
|
16
|
+
set autoSelect(v: BooleanInput);
|
|
17
|
+
private _cancelOnTapOutside;
|
|
18
|
+
get cancelOnTapOutside(): BooleanInput;
|
|
19
|
+
set cancelOnTapOutside(v: BooleanInput);
|
|
20
|
+
private _width;
|
|
21
|
+
get width(): NumberInput;
|
|
22
|
+
set width(v: NumberInput);
|
|
23
|
+
private _text;
|
|
24
|
+
get text(): GoogleLoginButtonTextInput;
|
|
25
|
+
set text(v: GoogleLoginButtonTextInput);
|
|
13
26
|
onLoginResponse: EventEmitter<any>;
|
|
14
27
|
onLogin: EventEmitter<any>;
|
|
15
28
|
private _buttonContainer;
|
|
@@ -23,5 +36,5 @@ export declare class ZekGoogleLoginButton extends CoreComponent {
|
|
|
23
36
|
autoPrompt(): void;
|
|
24
37
|
handleCredentialResponse(response: any): void;
|
|
25
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<ZekGoogleLoginButton, never>;
|
|
26
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ZekGoogleLoginButton, "zek-google-login", never, { "prompt": { "alias": "prompt"; "required": false; }; "buttonContainer": { "alias": "buttonContainer"; "required": false; }; }, { "onLoginResponse": "onLoginResponse"; "onLogin": "onLogin"; }, never, never, false, never>;
|
|
39
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ZekGoogleLoginButton, "zek-google-login", never, { "prompt": { "alias": "prompt"; "required": false; }; "autoSelect": { "alias": "autoSelect"; "required": false; }; "cancelOnTapOutside": { "alias": "cancelOnTapOutside"; "required": false; }; "width": { "alias": "width"; "required": false; }; "text": { "alias": "text"; "required": false; }; "buttonContainer": { "alias": "buttonContainer"; "required": false; }; }, { "onLoginResponse": "onLoginResponse"; "onLogin": "onLogin"; }, never, never, false, never>;
|
|
27
40
|
}
|