import { t } from "@lingui/macro";
import { CSSResult, html, LitElement, TemplateResult } from "lit";
import { customElement, property } from "lit/decorators";
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`