@progressive-development/pd-page
Version:
Progressive development page helper, teaser, menu, footer.
57 lines • 1.22 kB
TypeScript
/**
* Datentyp für einen Footer-Link.
*/
export interface PdFooterLink {
key: string;
name: string;
}
/**
* A footer section with a heading and a list of links.
* Used for hierarchical (2-level) footer navigation columns.
*/
export interface PdFooterSection {
heading: string;
links: PdFooterLink[];
}
/**
* Datentyp für den "madeBy"-Block.
*/
export interface PdFooterMadeBy {
txt: string;
email?: string;
link?: string;
}
export interface PdMenuItem {
key: string;
name: string;
route?: string;
sec?: string;
icon?: string;
action?: () => void;
ref?: HTMLElement;
}
/**
* Detail object for the login-attempt event.
*/
export interface LoginAttemptDetail {
email: string;
password: string;
}
/**
* Detail object for the forgot-password-attempt event.
*/
export interface ForgotPasswordAttemptDetail {
email: string;
}
/**
* The active view of the login form.
*/
export type PdLoginView = "login" | "forgot-password";
/**
* Detail object for the view-change event.
*/
export interface ViewChangeDetail {
view: PdLoginView;
}
export type { BgConfig, BgMode } from '@progressive-development/pd-model';
//# sourceMappingURL=types.d.ts.map