import { LitElement, html, css, CSSResult, TemplateResult, nothing } from 'lit'; import { property, customElement } from 'lit/decorators.js'; import '@internetarchive/ia-activity-indicator'; import '@internetarchive/icon-close'; import { ModalConfig } from './modal-config'; import IALogoIcon from './assets/ia-logo-icon'; import arrowLeftIcon from './assets/arrow-left-icon'; @customElement('modal-template') export class ModalTemplate extends LitElement { /** * The ModalConfig that displayed the template * * @type {ModalConfig} * @memberof ModalTemplate */ @property({ type: Object }) config: ModalConfig = new ModalConfig(); /** @inheritdoc */ render(): TemplateResult { return html`