// Copyright 2026 Arctel.net // SPDX-License-Identifier: Apache-2.0 'use client'; import { useTranslations } from 'next-intl'; import { Input } from '@/components/ui/input'; import { Label } from '@/components/ui/label'; export interface QQFormValue { app_id: string; app_secret: string; portal_host: string; } interface QQFormProps { value: QQFormValue; onChange: (value: QQFormValue) => void; keepSecretHint?: boolean; } export function QQForm({ value, onChange, keepSecretHint }: QQFormProps) { const t = useTranslations('admin.messageGateway'); return (