'use strict';
import { showDiv, hideDiv, ElementById } from './helpers.js';
import { html, render } from './lit-html.js';
export const showAlertModal = (text) => {
showDiv('overlay');
render(html`
${text}
hideDiv('overlay')}>OK
`, ElementById('overlay'));
};
export const showModal = (title, content) => {
showDiv('overlay');
render(html`
`, ElementById('overlay'));
};
export const showLoader = () => {
showDiv('overlay');
render(html`
`, document.getElementById('overlay'));
};
export const hideLoader = () => hideDiv('overlay');