add: settings page locales
This commit is contained in:
@@ -0,0 +1,69 @@
|
||||
import { SmartIconType } from "../iconType";
|
||||
|
||||
export interface Item {
|
||||
Label: string;
|
||||
HtmlName: string;
|
||||
Icon?: SmartIconType;
|
||||
}
|
||||
|
||||
export interface Accordion {
|
||||
Heading: string;
|
||||
Icon?: SmartIconType;
|
||||
Items: Item[];
|
||||
}
|
||||
|
||||
export interface TabNotifications {
|
||||
Title: string;
|
||||
Heading: string;
|
||||
Description?: string;
|
||||
Accordions: Accordion[];
|
||||
}
|
||||
|
||||
export interface InputField {
|
||||
Label: string;
|
||||
Placeholder?: string;
|
||||
HtmlName?: string;
|
||||
AutoComplete?: string;
|
||||
}
|
||||
|
||||
export interface RuleGroup {
|
||||
Heading: string;
|
||||
Items: string[];
|
||||
}
|
||||
|
||||
export interface TabPassword {
|
||||
Title: string;
|
||||
Heading: string;
|
||||
Description?: string;
|
||||
Inputs: InputField[];
|
||||
Rules: RuleGroup[];
|
||||
ButtonSubmit: string;
|
||||
}
|
||||
|
||||
export interface GuideItem {
|
||||
Label: string;
|
||||
Mark: string;
|
||||
}
|
||||
|
||||
export interface Guide {
|
||||
Heading: string;
|
||||
Description: string;
|
||||
Items: GuideItem[];
|
||||
Notes: string[];
|
||||
}
|
||||
|
||||
export interface TabAuthenticator {
|
||||
Title: string;
|
||||
Heading: string;
|
||||
Description?: string;
|
||||
Tip: string;
|
||||
Guides: Guide[];
|
||||
ButtonSubmit: string;
|
||||
}
|
||||
|
||||
export interface SettingsData {
|
||||
Heading: string;
|
||||
TabNotifications: TabNotifications;
|
||||
TabPassword: TabPassword;
|
||||
TabAuthenticator: TabAuthenticator;
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
export interface SmartIconType {
|
||||
Name: string;
|
||||
Size?: number;
|
||||
Color?: string;
|
||||
ClassName?: string;
|
||||
Variant?: string;
|
||||
}
|
||||
|
||||
export type IconType =
|
||||
React.ElementType |
|
||||
React.ReactNode |
|
||||
SmartIconType;
|
||||
Reference in New Issue
Block a user