1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 | import { LitElement } from 'lit-element/lit-element.js';
|
15 | import './components/kwc-auth-username.js';
|
16 | import './components/kwc-auth-password.js';
|
17 | import './components/kwc-auth-email.js';
|
18 | import './components/kwc-auth-forgot-username.js';
|
19 | import './components/kwc-auth-forgot-email.js';
|
20 | import './components/kwc-auth-forgot-password.js';
|
21 | import './components/kwc-auth-successful-signup.js';
|
22 | import './components/kwc-auth-login.js';
|
23 | import { UsernameInput } from './components/kwc-auth-username.js';
|
24 | import { ForgotUsernameInput } from './components/kwc-auth-forgot-username.js';
|
25 | import { EmailInput } from './components/kwc-auth-email.js';
|
26 | import { ForgotPassword } from './components/kwc-auth-forgot-password.js';
|
27 | import { Login } from './components/kwc-auth-login.js';
|
28 | interface Form {
|
29 | username: string;
|
30 | password: string;
|
31 | email: string;
|
32 | region: 'row' | 'usa' | 'jpn' | 'eur' | '';
|
33 | }
|
34 | export declare class KwcAuth extends LitElement {
|
35 | loading: boolean;
|
36 | hideLogin: boolean;
|
37 | view: string;
|
38 | locale: string;
|
39 | logo: string;
|
40 | backgroundGlyph: string;
|
41 | allowExit: boolean;
|
42 | form: Form;
|
43 | static readonly styles: import("lit-element").CSSResult[];
|
44 | constructor();
|
45 | connectedCallback(): void;
|
46 | disconnectedCallback(): void;
|
47 | handleLoginRequested(): void;
|
48 | username?: UsernameInput;
|
49 | forgotUsername?: ForgotUsernameInput;
|
50 | email?: EmailInput;
|
51 | forgotPassword?: ForgotPassword;
|
52 | login?: Login;
|
53 | formTemplate(view: string): import("lit-element").TemplateResult;
|
54 | changeView(e: CustomEvent): void;
|
55 | handleSubmit(e: CustomEvent): void;
|
56 | handleExit(): void;
|
57 | render(): import("lit-element").TemplateResult;
|
58 | submit(view: string): void;
|
59 | handleUsernameSubmit(e: CustomEvent): void;
|
60 | handlePasswordSubmit(e: CustomEvent): void;
|
61 | handleUpdateUsername(e: CustomEvent): void;
|
62 | handleRegister(e: CustomEvent): void;
|
63 | handleUpdateEmail(e: CustomEvent): void;
|
64 | handleLogin(e: CustomEvent): void;
|
65 | handleForgotPassword(e: CustomEvent): void;
|
66 | handleForgotUsername(e: CustomEvent): void;
|
67 | handleForgotEmail(e: CustomEvent): void;
|
68 | handleFinishedFlow(): void;
|
69 | handleResendEmail(): void;
|
70 | }
|
71 | export {};
|