import "@goauthentik/admin/applications/wizard/ak-wizard-title.js"; import "@goauthentik/admin/common/ak-crypto-certificate-search.js"; import "@goauthentik/admin/common/ak-flow-search/ak-flow-search"; import { propertyMappingsProvider, propertyMappingsSelector, } from "@goauthentik/admin/providers/rac/RACProviderFormHelpers.js"; import "@goauthentik/components/ak-text-input"; import "@goauthentik/elements/CodeMirror"; import "@goauthentik/elements/ak-dual-select/ak-dual-select-dynamic-selected-provider.js"; import { msg } from "@lit/localize"; import { html } from "lit"; import { customElement } from "lit/decorators.js"; import { ifDefined } from "lit/directives/if-defined.js"; import { FlowsInstancesListDesignationEnum, type RACProvider } from "@goauthentik/api"; import { ApplicationWizardProviderForm } from "./ApplicationWizardProviderForm.js"; @customElement("ak-application-wizard-provider-for-rac") export class ApplicationWizardRACProviderForm extends ApplicationWizardProviderForm { label = msg("Configure Remote Access Provider"); renderForm(provider: RACProvider) { return html` ${this.label}

${msg("Flow used when authorizing this provider.")}

${msg("Protocol settings")}
`; } render() { if (!(this.wizard.provider && this.wizard.errors)) { throw new Error("RAC Provider Step received uninitialized wizard context."); } return this.renderForm(this.wizard.provider as RACProvider); } } declare global { interface HTMLElementTagNameMap { "ak-application-wizard-provider-for-rac": ApplicationWizardRACProviderForm; } }