kwikid-components
Version:
KwikID's Components Library
173 lines (172 loc) • 3.83 kB
TypeScript
export declare const LOGIN_PAGE_CONFIG: {
footerConfig: {
showPowerBy: boolean;
label: string;
logo: string;
};
subtitle: string;
title: string;
};
export declare const LOGIN_FORM_CONFIG: {
title: string;
key: string;
fields: any[];
properties: {
header: {
logo: {
hidden: boolean;
};
backButton: {
hidden: boolean;
};
title: {
hidden: boolean;
};
steps: {
hidden: boolean;
};
};
main: {
styles: string;
};
footer: {
viewFormsButton: {
hidden: boolean;
};
saveButton: {
hidden: boolean;
label: string;
};
};
};
};
export declare const LOGIN_FORM_FIELDS: {
USER_ID_FIELD: {
label: string;
key: string;
type: string;
default: {};
disabled: boolean;
validators: {
required: boolean;
};
properties: {
placeholder: string;
containerStyles: string;
};
};
MOBILE_FIELD: {
label: string;
key: string;
type: string;
default: {};
disabled: boolean;
validators: {
required: boolean;
minLength: number;
};
properties: {
countryCode: string;
prefix: string;
postfix: string;
removeCountryCodeFromValue: boolean;
phoneMaskAfterCountryCode: string;
placeholder: string;
containerStyles: string;
};
};
TNC_FIELD: {
label: string;
key: string;
type: string;
validators: {
required: boolean;
};
properties: {
placeholder: string;
containerStyles: string;
};
};
OTP_FIELD: {
label: string;
key: string;
type: string;
messages: any[];
properties: {
mask: string;
hidePlaceholder: boolean;
placeholder: string;
mode: string;
otpLength: number;
containerStyles: string;
};
};
RESEND_OTP_FIELD: {
label: string;
key: string;
type: string;
disabled: boolean;
properties: {
appearance: string;
size: string;
containerStyles: string;
};
};
USERNAME_FIELD: {
label: string;
key: string;
type: string;
validators: {
required: boolean;
};
properties: {
placeholder: string;
containerStyles: string;
};
};
PASSWORD_FIELD: {
label: string;
key: string;
type: string;
validators: {
required: boolean;
};
properties: {
placeholder: string;
containerStyles: string;
};
};
OLD_PASSWORD_FIELD: {
label: string;
key: string;
type: string;
validators: {
required: boolean;
};
properties: {
placeholder: string;
};
};
NEW_PASSWORD_FIELD: {
label: string;
key: string;
type: string;
validators: {
required: boolean;
};
properties: {
placeholder: string;
};
};
REPEAT_PASSWORD_FIELD: {
label: string;
key: string;
type: string;
validators: {
required: boolean;
};
properties: {
placeholder: string;
};
};
};