// SPDX-FileCopyrightText: 2024 John Livingston // // SPDX-License-Identifier: AGPL-3.0-only import { __ } from 'i18n' import BaseModal from 'plugins/modal/modal.js' import { api } from '@converse/headless' import { modal_close_button as ModalCloseButton } from 'plugins/modal/templates/buttons.js' import { html } from 'lit' class PollFormModal extends BaseModal { initialize () { super.initialize() } close () { super.close() api.modal.remove('livechat-converse-poll-form-modal') } renderModal () { return html`` } getModalTitle () { // eslint-disable-next-line no-undef return __(LOC_new_poll) } renderModalFooter () { return html` ` } } api.elements.define('livechat-converse-poll-form-modal', PollFormModal)