import { t } from "@lingui/macro"; import { CSSResult, LitElement, TemplateResult, html } from "lit"; import { customElement, property } from "lit/decorators"; import AKGlobal from "../../authentik.css"; import PFBase from "@patternfly/patternfly/patternfly-base.css"; import { OutpostHealth } from "@goauthentik/api"; import { PFColor } from "../../elements/Label"; import "../../elements/Spinner"; @customElement("ak-outpost-health") export class OutpostHealthElement extends LitElement { @property({ attribute: false }) outpostHealth?: OutpostHealth; static get styles(): CSSResult[] { return [PFBase, AKGlobal]; } render(): TemplateResult { if (!this.outpostHealth) { return html``; } return html` `; } }