/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ import { MozLitElement } from "chrome://global/content/lit-utils.mjs"; import { html } from "chrome://global/content/vendor/lit.all.mjs"; class PlaceholderMessage extends MozLitElement { static properties = { imageSrc: { type: String }, label: { type: String, fluent: true }, description: { type: String, fluent: true }, supportPage: { type: String, attribute: "support-page" }, }; constructor() { super(); /** @type {string} */ this.imageSrc = ""; /** @type {string} */ this.label = ""; /** @type {string} */ this.description = ""; /** @type {string} */ this.supportPage = ""; } labelTemplate() { if (!this.label) { return ""; } return html`