UNPKG

@geogirafe/lib-geoportal

Version:

GeoGirafe is a flexible application to build online geoportals.

27 lines (26 loc) 801 B
import GirafeHTMLElement from '../../base/GirafeHTMLElement'; import I18nManager from '../../tools/i18n/i18nmanager'; type ModalType = 'alert' | 'confirm' | 'prompt'; declare class ModalsComponent extends GirafeHTMLElement { template: () => import("uhtml").Hole; visible: boolean; boxType?: ModalType; boxTitle?: string; boxMessage?: string; boxPlaceholder?: string; resolveAlertConfirm: (value: boolean) => void; resolvePrompt: (value: string | false) => void; i18nManager: I18nManager; constructor(); private initBox; private resetBox; private promptBox; private alertConfirmBox; ok(): void; nok(): void; promptOk(): void; promptNok(): void; render(): void; connectedCallback(): void; } export default ModalsComponent;