Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • SwissdataLogin

Implements

  • UxComponent

Index

Constructors

constructor

  • new SwissdataLogin(element: HTMLElement, styleEngine: StyleEngine, eventAggregator: EventAggregator, swissdataApi: SwissdataApi, forgotPasswordValidationController: any): SwissdataLogin

Properties

Private countries

countries: {}[] = ...

Private countryCode

countryCode: string = 'ch'

Private countryPrefix

countryPrefix: string = '+41'

Private countrySearchTerm

countrySearchTerm: string = ''

Private countrySelectorOpened

countrySelectorOpened: boolean = false

createAccountMobile

createAccountMobile: string = ''

createAccountPassword

createAccountPassword: string = ''

createAccountValidation

createAccountValidation: "emailOrMobile" | "emailAndMobile" | "emailOnly" | "mobileOnly" | "none" = 'emailOrMobile'

doubleAuthCode

doubleAuthCode: string = ''

element

element: HTMLElement

emailValidated

emailValidated: boolean = false

forgotPasswordEmail

forgotPasswordEmail: string = ''

forgotPasswordMobile

forgotPasswordMobile: string = ''

forgotPasswordMobileInput

forgotPasswordMobileInput: string = ''

Private log

log: Logger

loginInput

loginInput: string = ''

loginPassword

loginPassword: string = ''

mobileValidated

mobileValidated: boolean = false

newAccountInstance

newAccountInstance: UserModel

Private phonePlaceholder

phonePlaceholder: string = '079 000 00 00'

processing

processing: boolean = false

requireEmail

requireEmail: boolean = true

requireMobile

requireMobile: boolean = true

resetPasswordCode

resetPasswordCode: string = ''

resetPasswordNewPassword

resetPasswordNewPassword: string = ''

resetPasswordToken

resetPasswordToken: string = ''

step

step: "login" | "double-auth" | "create-account" | "validate-account" | "account-created" | "forgot-password" | "reset-password" = 'login'

subscription

subscription: Subscription

theme

validateEmailCode

validateEmailCode: string = ''

validateMobileCode

validateMobileCode: string = ''

Accessors

countryCodeFlag

  • get countryCodeFlag(): string

Methods

attached

  • attached(): void

backToLogin

  • backToLogin(): void

bind

  • bind(): void

closeCountrySelector

  • closeCountrySelector(): boolean

createAccount

  • createAccount(): void

detached

  • detached(): void

doubleAuth

  • doubleAuth(): void

fixInputs

  • fixInputs(): void

focusLoginField

  • focusLoginField(): void

forgotPasswordEmailChanged

  • forgotPasswordEmailChanged(): void

forgotPasswordMobileInputChanged

  • forgotPasswordMobileInputChanged(): void

goToAccountCreatedScreen

  • goToAccountCreatedScreen(): Promise<void>

login

  • login(): void

loginOk

  • loginOk(): void

processValidationResponse

  • processValidationResponse(response: any): void

requestResetPassword

  • requestResetPassword(): void

resendCode

  • resendCode(method: "email" | "mobile"): Promise<void>

resetPassword

  • resetPassword(): void

resetStep

  • resetStep(): void

saveNewAccountInstanceInState

  • saveNewAccountInstanceInState(): Promise<void>

saveNewAccountPhoneInState

  • saveNewAccountPhoneInState(): void

selectCountry

  • selectCountry(country: any): void

skipSecondValidation

  • skipSecondValidation(): void

startCreateAccount

  • startCreateAccount(): void

startForgotPassword

  • startForgotPassword(): void

stepChanged

  • stepChanged(): Promise<void>

stopForgotPassword

  • stopForgotPassword(): void

themeChanged

  • themeChanged(newValue: any): void

validateEmail

  • validateEmail(): any

validateMobile

  • validateMobile(): any

Generated using TypeDoc