import { t } from "@lingui/macro"; import { CSSResult, customElement, html, LitElement, property, TemplateResult } from "lit-element"; import { OutpostHealth } from "@goauthentik/api"; import PFBase from "@patternfly/patternfly/patternfly-base.css"; import "../../elements/Spinner"; import AKGlobal from "../../authentik.css"; import { PFColor } from "../../elements/Label"; @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` `; } }