// SPDX-FileCopyrightText: 2024 Mehdi Benadel // SPDX-FileCopyrightText: 2024 John Livingston // // SPDX-License-Identifier: AGPL-3.0-only import { ptTr } from '../directives/translation' import { html } from 'lit' import { customElement, property } from 'lit/decorators.js' import { LivechatElement } from './livechat' @customElement('livechat-configuration-section-header') export class ConfigurationSectionHeaderElement extends LivechatElement { @property({ attribute: false }) public label: string | ReturnType = '???' @property({ attribute: false }) public description?: string | ReturnType @property({ attribute: false }) public helpPage?: string protected override render = (): unknown => { return html`

${this.label} ${ this.helpPage === undefined ? '' : html`` }

${ this.description === undefined ? '' : html`

${this.description}

` }` } }