Spracherkennung für: .ts vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]
import { html, nothing } from "lit";
import { t } from "../../i18n/index.ts";
import type { AppViewState } from "../app-view-state.ts";
export function renderGatewayUrlConfirmation(state: AppViewState) {
const { pendingGatewayUrl } = state;
if (!pendingGatewayUrl) {
return nothing;
}
return html`
<div class="exec-approval-overlay" role="dialog" aria-modal="true" aria-live="polite">
<div class="exec-approval-card">
<div class="exec-approval-header">
<div>
<div class="exec-approval-title">${t("channels.gatewayUrlConfirmation.title")}</div>
<div class="exec-approval-sub">${t("channels.gatewayUrlConfirmation.subtitle")}</div>
</div>
</div>
<div class="exec-approval-command mono">${pendingGatewayUrl}</div>
<div class="callout danger" style="margin-top: 12px;">
${t("channels.gatewayUrlConfirmation.warning")}
</div>
<div class="exec-approval-actions">
<button class="btn primary" @click=${() => state.handleGatewayUrlConfirm()}>
${t("common.confirm")}
</button>
<button class="btn" @click=${() => state.handleGatewayUrlCancel()}>
${t("common.cancel")}
</button>
</div>
</div>
</div>
`;
}
¤ Dauer der Verarbeitung: 0.17 Sekunden
(vorverarbeitet am 2026-04-27)
¤
*© Formatika GbR, Deutschland