+
+ {t('blocks.loop-start', { ns: 'workflow' })} {
const locale = await getLocaleOnServer()
const datasetMap = getDatasetMap()
+ const nonce = IS_PROD ? (await headers()).get('x-nonce') ?? undefined : undefined
return (
@@ -64,6 +67,7 @@ const LocaleLayout = async ({
defaultTheme="system"
enableSystem
disableTransitionOnChange
+ nonce={nonce}
>
diff --git a/web/docs/overlay-migration.md b/web/docs/overlay-migration.md
index 4457d9cddf..3d94d82e64 100644
--- a/web/docs/overlay-migration.md
+++ b/web/docs/overlay-migration.md
@@ -7,15 +7,17 @@ This document tracks the Dify-web migration away from legacy overlay APIs.
## Scope
- Deprecated imports:
- - `@/app/components/base/tooltip`
- `@/app/components/base/modal`
- `@/app/components/base/dialog`
+ - `@/app/components/base/drawer`
+ - `@/app/components/base/drawer-plus`
- Replacement primitives:
- `@langgenius/dify-ui/tooltip`
- `@langgenius/dify-ui/dropdown-menu`
- `@langgenius/dify-ui/context-menu`
- `@langgenius/dify-ui/popover`
- `@langgenius/dify-ui/dialog`
+ - `@langgenius/dify-ui/drawer`
- `@langgenius/dify-ui/alert-dialog`
- `@langgenius/dify-ui/autocomplete`
- `@langgenius/dify-ui/combobox`
@@ -33,6 +35,8 @@ This document tracks the Dify-web migration away from legacy overlay APIs.
1. Business/UI features outside `app/components/base/**`
- Migrate old calls to semantic primitives from `@langgenius/dify-ui/*`.
- Keep deprecated imports out of newly touched files.
+ - Use `@langgenius/dify-ui/tooltip` only for short, non-interactive labels where the trigger already has its own accessible name.
+ - Use `@langgenius/dify-ui/popover` or the web `Infotip` wrapper for explanatory, long-form, structured, or interactive content.
1. Legacy base components
- Migrate legacy base callers gradually.
- Keep deprecated imports out of newly touched files.
@@ -49,12 +53,12 @@ All new overlay primitives in `@langgenius/dify-ui/*` share a single z-index val
During the migration period, legacy and new overlays coexist. Legacy overlays
portal to `document.body` with explicit z-index values:
-| Layer | z-index | Components |
-| --------------------- | ------------ | -------------------------------------------------------------------------------- |
-| Legacy Drawer | `z-30` | `base/drawer` |
-| Legacy Modal | `z-60` | `base/modal` (default) |
-| **New UI primitives** | **`z-1002`** | `@langgenius/dify-ui/*` (Popover, Dialog, Autocomplete, Combobox, Tooltip, etc.) |
-| Toast | `z-1003` | `@langgenius/dify-ui/toast` |
+| Layer | z-index | Components |
+| --------------------- | ------------ | ---------------------------------------------------------------------------------------- |
+| Legacy Drawer | `z-30` | `base/drawer`, `base/drawer-plus` |
+| Legacy Modal | `z-60` | `base/modal` (default) |
+| **New UI primitives** | **`z-1002`** | `@langgenius/dify-ui/*` (Drawer, Popover, Dialog, Autocomplete, Combobox, Tooltip, etc.) |
+| Toast | `z-1003` | `@langgenius/dify-ui/toast` |
`z-1002` sits above all common legacy overlays, so new primitives always
render on top without needing per-call-site z-index hacks. Among themselves,
@@ -72,6 +76,9 @@ back to `z-9999`.
parent legacy overlay should be migrated instead.
- When migrating a legacy overlay that has a high z-index, remove the z-index
entirely — the new primitive's default `z-1002` handles it.
+- When using Base UI trigger `render`, render a real `button` for button-like
+ triggers. If the trigger must render a non-button element, the primitive must
+ explicitly opt out of the native button behavior where that API is available.
### Post-migration cleanup
diff --git a/web/eslint.constants.mjs b/web/eslint.constants.mjs
index a55213ab49..eb85d5d902 100644
--- a/web/eslint.constants.mjs
+++ b/web/eslint.constants.mjs
@@ -45,13 +45,6 @@ export const WEB_RESTRICTED_IMPORT_PATTERNS = [
]
export const OVERLAY_RESTRICTED_IMPORT_PATTERNS = [
- {
- group: [
- '**/base/tooltip',
- '**/base/tooltip/index',
- ],
- message: 'Deprecated: use @langgenius/dify-ui/tooltip instead. See issue #32767.',
- },
{
group: [
'**/base/modal',
@@ -66,6 +59,15 @@ export const OVERLAY_RESTRICTED_IMPORT_PATTERNS = [
],
message: 'Deprecated: use @langgenius/dify-ui/dialog instead. See issue #32767.',
},
+ {
+ group: [
+ '**/base/drawer',
+ '**/base/drawer/index',
+ '**/base/drawer-plus',
+ '**/base/drawer-plus/index',
+ ],
+ message: 'Deprecated: use @langgenius/dify-ui/drawer instead. See issue #32767.',
+ },
]
export const HYOBAN_PREFER_TAILWIND_ICONS_OPTIONS = {
diff --git a/web/i18n/ar-TN/app-debug.json b/web/i18n/ar-TN/app-debug.json
index 8a8da237a7..b0a47ca5e2 100644
--- a/web/i18n/ar-TN/app-debug.json
+++ b/web/i18n/ar-TN/app-debug.json
@@ -337,6 +337,8 @@
"variableConfig.file.image.name": "صورة",
"variableConfig.file.supportFileTypes": "أنواع الملفات المدعومة",
"variableConfig.file.video.name": "فيديو",
+ "variableConfig.hidden": "مخفي ومُعبَّأ مسبقاً",
+ "variableConfig.hiddenDescription": "أخفِ هذا الحقل عن المستخدمين النهائيين وأمد بقيمته بنفسك. خيار يستبعد خيار مطلوب. تعلم المزيد",
"variableConfig.hide": "إخفاء",
"variableConfig.inputPlaceholder": "يرجى الإدخال",
"variableConfig.json": "كود JSON",
diff --git a/web/i18n/ar-TN/app-overview.json b/web/i18n/ar-TN/app-overview.json
index a207abd065..2ecf5420a4 100644
--- a/web/i18n/ar-TN/app-overview.json
+++ b/web/i18n/ar-TN/app-overview.json
@@ -56,6 +56,8 @@
"overview.appInfo.embedded.copy": "نسخ",
"overview.appInfo.embedded.entry": "مضمن",
"overview.appInfo.embedded.explanation": "اختر طريقة لتضمين تطبيق الدردشة في موقعك",
+ "overview.appInfo.embedded.hiddenInputs.description": "أدخل قيمًا للحقول المخفية. تُضاف القيم إلى رابط iframe أو كائن inputs الخاص بالسكريبت.",
+ "overview.appInfo.embedded.hiddenInputs.title": "تعبئة مسبقة للحقول المخفية",
"overview.appInfo.embedded.iframe": "لإضافة تطبيق الدردشة في أي مكان على موقعك، أضف هذا iframe إلى كود html الخاص بك.",
"overview.appInfo.embedded.scripts": "لإضافة تطبيق دردشة إلى أسفل يمين موقعك، أضف هذا الكود إلى html الخاص بك.",
"overview.appInfo.embedded.title": "تضمين في الموقع",
@@ -104,6 +106,8 @@
"overview.appInfo.settings.workflow.subTitle": "تفاصيل سير العمل",
"overview.appInfo.settings.workflow.title": "سير العمل",
"overview.appInfo.title": "تطبيق ويب",
+ "overview.appInfo.workflowLaunchHiddenInputs.description": "أدخل قيمًا للحقول المخفية، ثم انقر على تشغيل لفتح تطبيق الويب مع القيم المدخلة.",
+ "overview.appInfo.workflowLaunchHiddenInputs.title": "تعبئة مسبقة للحقول المخفية",
"overview.disableTooltip.triggerMode": "ميزة {{feature}} غير مدعومة في وضع عقدة المشغل.",
"overview.status.disable": "تعطيل",
"overview.status.running": "في الخدمة",
diff --git a/web/i18n/de-DE/app-debug.json b/web/i18n/de-DE/app-debug.json
index e83678ce70..ca3c212f61 100644
--- a/web/i18n/de-DE/app-debug.json
+++ b/web/i18n/de-DE/app-debug.json
@@ -337,6 +337,8 @@
"variableConfig.file.image.name": "Bild",
"variableConfig.file.supportFileTypes": "Unterstützte Dateitypen",
"variableConfig.file.video.name": "Video",
+ "variableConfig.hidden": "Ausgeblendet und vorausgefüllt",
+ "variableConfig.hiddenDescription": "Blendet dieses Feld für Endbenutzer aus und stellt den Wert selbst bereit. Schließt sich gegenseitig mit Erforderlich aus. Mehr erfahren",
"variableConfig.hide": "Verstecken",
"variableConfig.inputPlaceholder": "Bitte geben Sie ein",
"variableConfig.json": "JSON-Code",
diff --git a/web/i18n/de-DE/app-overview.json b/web/i18n/de-DE/app-overview.json
index 6e16ba7b8d..3a0d90ee74 100644
--- a/web/i18n/de-DE/app-overview.json
+++ b/web/i18n/de-DE/app-overview.json
@@ -56,6 +56,8 @@
"overview.appInfo.embedded.copy": "Kopieren",
"overview.appInfo.embedded.entry": "Eingebettet",
"overview.appInfo.embedded.explanation": "Wählen Sie die Art und Weise, wie die Chat-App auf Ihrer Website eingebettet wird",
+ "overview.appInfo.embedded.hiddenInputs.description": "Geben Sie Werte für die ausgeblendeten Felder ein. Die Werte werden zur iframe-URL oder zum inputs-Objekt des Skripts hinzugefügt.",
+ "overview.appInfo.embedded.hiddenInputs.title": "Ausgeblendete Felder vorausfüllen",
"overview.appInfo.embedded.iframe": "Um die Chat-App an einer beliebigen Stelle auf Ihrer Website hinzuzufügen, fügen Sie diesen iframe in Ihren HTML-Code ein.",
"overview.appInfo.embedded.scripts": "Um eine Chat-App unten rechts auf Ihrer Website hinzuzufügen, fügen Sie diesen Code in Ihren HTML-Code ein.",
"overview.appInfo.embedded.title": "Einbetten auf der Website",
@@ -104,6 +106,8 @@
"overview.appInfo.settings.workflow.subTitle": "Details zum Arbeitsablauf",
"overview.appInfo.settings.workflow.title": "Workflow-Schritte",
"overview.appInfo.title": "Webanwendung",
+ "overview.appInfo.workflowLaunchHiddenInputs.description": "Geben Sie Werte für die ausgeblendeten Felder ein und klicken Sie dann auf Starten, um die WebApp mit den Werten zu öffnen.",
+ "overview.appInfo.workflowLaunchHiddenInputs.title": "Ausgeblendete Felder vorausfüllen",
"overview.disableTooltip.triggerMode": "Die Funktion {{feature}} wird im Trigger-Knoten-Modus nicht unterstützt.",
"overview.status.disable": "Deaktivieren",
"overview.status.running": "In Betrieb",
diff --git a/web/i18n/en-US/app-debug.json b/web/i18n/en-US/app-debug.json
index f010bbd92e..75f131f825 100644
--- a/web/i18n/en-US/app-debug.json
+++ b/web/i18n/en-US/app-debug.json
@@ -337,6 +337,8 @@
"variableConfig.file.image.name": "Image",
"variableConfig.file.supportFileTypes": "Support File Types",
"variableConfig.file.video.name": "Video",
+ "variableConfig.hidden": "Hidden & Pre-Filled",
+ "variableConfig.hiddenDescription": "Hide this field from end users and supply its value yourself. Mutually exclusive with Required. Learn more",
"variableConfig.hide": "Hide",
"variableConfig.inputPlaceholder": "Please input",
"variableConfig.json": "JSON Code",
diff --git a/web/i18n/en-US/app-overview.json b/web/i18n/en-US/app-overview.json
index 81256a769c..2b2a550631 100644
--- a/web/i18n/en-US/app-overview.json
+++ b/web/i18n/en-US/app-overview.json
@@ -56,6 +56,8 @@
"overview.appInfo.embedded.copy": "Copy",
"overview.appInfo.embedded.entry": "Embedded",
"overview.appInfo.embedded.explanation": "Choose the way to embed chat app to your website",
+ "overview.appInfo.embedded.hiddenInputs.description": "Enter values for the hidden fields. The values are added to the iframe URL or the script's inputs object.",
+ "overview.appInfo.embedded.hiddenInputs.title": "Pre-Fill Hidden Fields",
"overview.appInfo.embedded.iframe": "To add the chat app any where on your website, add this iframe to your html code.",
"overview.appInfo.embedded.scripts": "To add a chat app to the bottom right of your website add this code to your html.",
"overview.appInfo.embedded.title": "Embed on website",
@@ -104,6 +106,8 @@
"overview.appInfo.settings.workflow.subTitle": "Workflow Details",
"overview.appInfo.settings.workflow.title": "Workflow",
"overview.appInfo.title": "Web App",
+ "overview.appInfo.workflowLaunchHiddenInputs.description": "Enter values for the hidden fields, then click Launch to open the WebApp with the values.",
+ "overview.appInfo.workflowLaunchHiddenInputs.title": "Pre-Fill Hidden Fields",
"overview.disableTooltip.triggerMode": "The {{feature}} feature is not supported in Trigger Node mode.",
"overview.status.disable": "Disabled",
"overview.status.running": "In Service",
diff --git a/web/i18n/es-ES/app-debug.json b/web/i18n/es-ES/app-debug.json
index 554d705754..27277dc3c9 100644
--- a/web/i18n/es-ES/app-debug.json
+++ b/web/i18n/es-ES/app-debug.json
@@ -337,6 +337,8 @@
"variableConfig.file.image.name": "Imagen",
"variableConfig.file.supportFileTypes": "Tipos de archivos de soporte",
"variableConfig.file.video.name": "Vídeo",
+ "variableConfig.hidden": "Oculto y Prerrellenado",
+ "variableConfig.hiddenDescription": "Oculta este campo a los usuarios finales y proporciona su valor tú mismo. Mutuamente exclusivo con Requerido. Más información",
"variableConfig.hide": "Ocultar",
"variableConfig.inputPlaceholder": "Por favor ingresa",
"variableConfig.json": "Código JSON",
diff --git a/web/i18n/es-ES/app-overview.json b/web/i18n/es-ES/app-overview.json
index 8cd65bed18..ab97cee2b4 100644
--- a/web/i18n/es-ES/app-overview.json
+++ b/web/i18n/es-ES/app-overview.json
@@ -56,6 +56,8 @@
"overview.appInfo.embedded.copy": "Copiar",
"overview.appInfo.embedded.entry": "Incrustado",
"overview.appInfo.embedded.explanation": "Elige la forma de incrustar la aplicación de chat en tu sitio web",
+ "overview.appInfo.embedded.hiddenInputs.description": "Introduce valores para los campos ocultos. Los valores se añaden a la URL del iframe o al objeto de inputs del script.",
+ "overview.appInfo.embedded.hiddenInputs.title": "Prerrellenar Campos Ocultos",
"overview.appInfo.embedded.iframe": "Para agregar la aplicación de chat en cualquier lugar de tu sitio web, agrega este iframe a tu código HTML.",
"overview.appInfo.embedded.scripts": "Para agregar una aplicación de chat en la esquina inferior derecha de tu sitio web, agrega este código a tu HTML.",
"overview.appInfo.embedded.title": "Incrustar en el sitio web",
@@ -104,6 +106,8 @@
"overview.appInfo.settings.workflow.subTitle": "Detalles del flujo de trabajo",
"overview.appInfo.settings.workflow.title": "Pasos del flujo de trabajo",
"overview.appInfo.title": "Aplicación web",
+ "overview.appInfo.workflowLaunchHiddenInputs.description": "Introduce valores para los campos ocultos y haz clic en Iniciar para abrir el WebApp con los valores.",
+ "overview.appInfo.workflowLaunchHiddenInputs.title": "Prerrellenar Campos Ocultos",
"overview.disableTooltip.triggerMode": "La función {{feature}} no es compatible en el modo Nodo de disparo.",
"overview.status.disable": "Deshabilitar",
"overview.status.running": "En servicio",
diff --git a/web/i18n/fa-IR/app-debug.json b/web/i18n/fa-IR/app-debug.json
index 5bd769cd10..60f3ba4c2c 100644
--- a/web/i18n/fa-IR/app-debug.json
+++ b/web/i18n/fa-IR/app-debug.json
@@ -337,6 +337,8 @@
"variableConfig.file.image.name": "تصویر",
"variableConfig.file.supportFileTypes": "انواع فایل های پشتیبانی",
"variableConfig.file.video.name": "ویدئو",
+ "variableConfig.hidden": "پنهان و پیشپر شده",
+ "variableConfig.hiddenDescription": "این فیلد را از کاربران نهایی پنهان کنید و مقدار آن را خودتان تأمین کنید. با اجباری به صورت متقابل انحصاری است. بیشتر بدانید",
"variableConfig.hide": "مخفی کردن",
"variableConfig.inputPlaceholder": "لطفا وارد کنید",
"variableConfig.json": "کد JSON",
diff --git a/web/i18n/fa-IR/app-overview.json b/web/i18n/fa-IR/app-overview.json
index 6fcd633f41..2699f51f00 100644
--- a/web/i18n/fa-IR/app-overview.json
+++ b/web/i18n/fa-IR/app-overview.json
@@ -56,6 +56,8 @@
"overview.appInfo.embedded.copy": "کپی",
"overview.appInfo.embedded.entry": "جاسازی شده",
"overview.appInfo.embedded.explanation": "روشهای جاسازی برنامه چت در وبسایت خود را انتخاب کنید",
+ "overview.appInfo.embedded.hiddenInputs.description": "مقادیری برای فیلدهای پنهان وارد کنید. مقادیر به URL iframe یا شیء inputs اسکریپت اضافه میشوند.",
+ "overview.appInfo.embedded.hiddenInputs.title": "پیشپر کردن فیلدهای پنهان",
"overview.appInfo.embedded.iframe": "برای افزودن برنامه چت در هرجای وبسایت خود، این iframe را به کد HTML خود اضافه کنید.",
"overview.appInfo.embedded.scripts": "برای افزودن برنامه چت به گوشه پایین سمت راست وبسایت خود، این کد را به HTML خود اضافه کنید.",
"overview.appInfo.embedded.title": "جاسازی در وبسایت",
@@ -104,6 +106,8 @@
"overview.appInfo.settings.workflow.subTitle": "جزئیات گردش کار",
"overview.appInfo.settings.workflow.title": "مراحل کاری",
"overview.appInfo.title": "وب اپ",
+ "overview.appInfo.workflowLaunchHiddenInputs.description": "مقادیری برای فیلدهای پنهان وارد کنید، سپس روی راهاندازی کلیک کنید تا WebApp با مقادیر باز شود.",
+ "overview.appInfo.workflowLaunchHiddenInputs.title": "پیشپر کردن فیلدهای پنهان",
"overview.disableTooltip.triggerMode": "ویژگی {{feature}} در حالت گره تریگر پشتیبانی نمیشود.",
"overview.status.disable": "غیرفعال",
"overview.status.running": "در حال سرویسدهی",
diff --git a/web/i18n/fr-FR/app-debug.json b/web/i18n/fr-FR/app-debug.json
index 047b754f23..a9527dcef7 100644
--- a/web/i18n/fr-FR/app-debug.json
+++ b/web/i18n/fr-FR/app-debug.json
@@ -337,6 +337,8 @@
"variableConfig.file.image.name": "Image",
"variableConfig.file.supportFileTypes": "Types de fichiers de support",
"variableConfig.file.video.name": "Vidéo",
+ "variableConfig.hidden": "Masqué et pré-rempli",
+ "variableConfig.hiddenDescription": "Masquez ce champ aux utilisateurs finaux et fournissez sa valeur vous-même. Incompatible avec Requis. En savoir plus",
"variableConfig.hide": "Caché",
"variableConfig.inputPlaceholder": "Please input",
"variableConfig.json": "Code JSON",
diff --git a/web/i18n/fr-FR/app-overview.json b/web/i18n/fr-FR/app-overview.json
index 7b9b2bf36d..d3a5704fb3 100644
--- a/web/i18n/fr-FR/app-overview.json
+++ b/web/i18n/fr-FR/app-overview.json
@@ -56,6 +56,8 @@
"overview.appInfo.embedded.copy": "Copier",
"overview.appInfo.embedded.entry": "Intégré",
"overview.appInfo.embedded.explanation": "Choisissez la manière d'intégrer l'application de chat à votre site Web",
+ "overview.appInfo.embedded.hiddenInputs.description": "Entrez des valeurs pour les champs masqués. Les valeurs sont ajoutées à l'URL de l'iframe ou à l'objet inputs du script.",
+ "overview.appInfo.embedded.hiddenInputs.title": "Pré-remplir les champs masqués",
"overview.appInfo.embedded.iframe": "Pour ajouter l'application de chat n'importe où sur votre site Web, ajoutez cette iframe à votre code HTML.",
"overview.appInfo.embedded.scripts": "Pour ajouter une application de chat en bas à droite de votre site Web, ajoutez ce code à votre HTML.",
"overview.appInfo.embedded.title": "Intégrer sur un site Web",
@@ -104,6 +106,8 @@
"overview.appInfo.settings.workflow.subTitle": "Détails du flux de travail",
"overview.appInfo.settings.workflow.title": "Étapes du workflow",
"overview.appInfo.title": "Application Web",
+ "overview.appInfo.workflowLaunchHiddenInputs.description": "Entrez des valeurs pour les champs masqués, puis cliquez sur Lancer pour ouvrir la WebApp avec ces valeurs.",
+ "overview.appInfo.workflowLaunchHiddenInputs.title": "Pré-remplir les champs masqués",
"overview.disableTooltip.triggerMode": "La fonctionnalité {{feature}} n'est pas prise en charge en mode Nœud Déclencheur.",
"overview.status.disable": "Désactiver",
"overview.status.running": "En service",
diff --git a/web/i18n/hi-IN/app-debug.json b/web/i18n/hi-IN/app-debug.json
index d50ff04d9d..0c6a0f703d 100644
--- a/web/i18n/hi-IN/app-debug.json
+++ b/web/i18n/hi-IN/app-debug.json
@@ -337,6 +337,8 @@
"variableConfig.file.image.name": "छवि",
"variableConfig.file.supportFileTypes": "फ़ाइल प्रकारों का समर्थन करें",
"variableConfig.file.video.name": "वीडियो",
+ "variableConfig.hidden": "छुपाया और पूर्व-भरा हुआ",
+ "variableConfig.hiddenDescription": "इस फ़ील्ड को अंतिम उपयोगकर्ताओं से छुपाएं और मान स्वयं प्रदान करें। आवश्यक के साथ परस्पर अनन्य है। अधिक जानें",
"variableConfig.hide": "छुपाएँ",
"variableConfig.inputPlaceholder": "कृपया इनपुट करें",
"variableConfig.json": "JSON कोड",
diff --git a/web/i18n/hi-IN/app-overview.json b/web/i18n/hi-IN/app-overview.json
index ff3f7b1403..fa3a0c4518 100644
--- a/web/i18n/hi-IN/app-overview.json
+++ b/web/i18n/hi-IN/app-overview.json
@@ -56,6 +56,8 @@
"overview.appInfo.embedded.copy": "कॉपी करें",
"overview.appInfo.embedded.entry": "एम्बेडेड",
"overview.appInfo.embedded.explanation": "अपनी वेबसाइट पर चैट ऐप को एम्बेड करने का तरीका चुनें",
+ "overview.appInfo.embedded.hiddenInputs.description": "छुपे हुए फ़ील्ड के लिए मान दर्ज करें। मान iframe URL या स्क्रिप्ट के inputs ऑब्जेक्ट में जोड़े जाते हैं।",
+ "overview.appInfo.embedded.hiddenInputs.title": "छुपे हुए फ़ील्ड पूर्व-भरें",
"overview.appInfo.embedded.iframe": "अपनी वेबसाइट के किसी भी हिस्से पर चैट ऐप जोड़ने के लिए, इस iframe को अपने HTML कोड में जोड़ें।",
"overview.appInfo.embedded.scripts": "अपनी वेबसाइट के निचले दाएं कोने में चैट ऐप जोड़ने के लिए इस कोड को अपने HTML में जोड़ें।",
"overview.appInfo.embedded.title": "वेबसाइट पर एम्बेड करें",
@@ -104,6 +106,8 @@
"overview.appInfo.settings.workflow.subTitle": "कार्यप्रवाह विवरण",
"overview.appInfo.settings.workflow.title": "वर्कफ़्लो स्टेप्स",
"overview.appInfo.title": "वेब एप",
+ "overview.appInfo.workflowLaunchHiddenInputs.description": "छुपे हुए फ़ील्ड के लिए मान दर्ज करें, फिर लॉन्च पर क्लिक करके WebApp को मानों के साथ खोलें।",
+ "overview.appInfo.workflowLaunchHiddenInputs.title": "छुपे हुए फ़ील्ड पूर्व-भरें",
"overview.disableTooltip.triggerMode": "ट्रिगर नोड मोड में {{feature}} फ़ीचर समर्थित नहीं है।",
"overview.status.disable": "अक्षम करें",
"overview.status.running": "सेवा में",
diff --git a/web/i18n/id-ID/app-debug.json b/web/i18n/id-ID/app-debug.json
index cfdd57004e..1e015ad278 100644
--- a/web/i18n/id-ID/app-debug.json
+++ b/web/i18n/id-ID/app-debug.json
@@ -337,6 +337,8 @@
"variableConfig.file.image.name": "Citra",
"variableConfig.file.supportFileTypes": "Jenis File Dukungan",
"variableConfig.file.video.name": "Video",
+ "variableConfig.hidden": "Tersembunyi dan Diisi Sebelumnya",
+ "variableConfig.hiddenDescription": "Sembunyikan kolom ini dari pengguna akhir dan berikan nilainya sendiri. Saling eksklusif dengan Wajib. Pelajari lebih lanjut",
"variableConfig.hide": "Menyembunyikan",
"variableConfig.inputPlaceholder": "Silakan masukkan",
"variableConfig.json": "Kode JSON",
diff --git a/web/i18n/id-ID/app-overview.json b/web/i18n/id-ID/app-overview.json
index c5f2fd7d24..c0ec482238 100644
--- a/web/i18n/id-ID/app-overview.json
+++ b/web/i18n/id-ID/app-overview.json
@@ -56,6 +56,8 @@
"overview.appInfo.embedded.copy": "Menyalin",
"overview.appInfo.embedded.entry": "Tertanam",
"overview.appInfo.embedded.explanation": "Pilih cara menyematkan aplikasi obrolan ke situs web Anda",
+ "overview.appInfo.embedded.hiddenInputs.description": "Masukkan nilai untuk kolom tersembunyi. Nilai ditambahkan ke URL iframe atau objek inputs skrip.",
+ "overview.appInfo.embedded.hiddenInputs.title": "Isi Kolom Tersembunyi Sebelumnya",
"overview.appInfo.embedded.iframe": "Untuk menambahkan aplikasi obrolan di mana saja di situs web Anda, tambahkan iframe ini ke kode html Anda.",
"overview.appInfo.embedded.scripts": "Untuk menambahkan aplikasi obrolan ke kanan bawah situs web Anda, tambahkan kode ini ke html Anda.",
"overview.appInfo.embedded.title": "Sematkan di situs web",
@@ -104,6 +106,8 @@
"overview.appInfo.settings.workflow.subTitle": "Detail Alur Kerja",
"overview.appInfo.settings.workflow.title": "Alur Kerja",
"overview.appInfo.title": "Aplikasi Web",
+ "overview.appInfo.workflowLaunchHiddenInputs.description": "Masukkan nilai untuk kolom tersembunyi, lalu klik Luncurkan untuk membuka WebApp dengan nilai tersebut.",
+ "overview.appInfo.workflowLaunchHiddenInputs.title": "Isi Kolom Tersembunyi Sebelumnya",
"overview.disableTooltip.triggerMode": "Fitur {{feature}} tidak didukung dalam mode Node Pemicu.",
"overview.status.disable": "Nonaktif",
"overview.status.running": "Berjalan",
diff --git a/web/i18n/it-IT/app-debug.json b/web/i18n/it-IT/app-debug.json
index 379532973d..c111977eda 100644
--- a/web/i18n/it-IT/app-debug.json
+++ b/web/i18n/it-IT/app-debug.json
@@ -337,6 +337,8 @@
"variableConfig.file.image.name": "Immagine",
"variableConfig.file.supportFileTypes": "Tipi di file di supporto",
"variableConfig.file.video.name": "Video",
+ "variableConfig.hidden": "Nascosto e precompilato",
+ "variableConfig.hiddenDescription": "Nascondi questo campo agli utenti finali e fornisci il valore tu stesso. Incompatibile con Obbligatorio. Per saperne di più",
"variableConfig.hide": "Nascondi",
"variableConfig.inputPlaceholder": "Per favore inserisci",
"variableConfig.json": "Codice JSON",
diff --git a/web/i18n/it-IT/app-overview.json b/web/i18n/it-IT/app-overview.json
index 9406d89682..dc44a5d18e 100644
--- a/web/i18n/it-IT/app-overview.json
+++ b/web/i18n/it-IT/app-overview.json
@@ -56,6 +56,8 @@
"overview.appInfo.embedded.copy": "Copia",
"overview.appInfo.embedded.entry": "Incorporato",
"overview.appInfo.embedded.explanation": "Scegli come incorporare l'app chat nel tuo sito web",
+ "overview.appInfo.embedded.hiddenInputs.description": "Inserisci i valori per i campi nascosti. I valori vengono aggiunti all'URL dell'iframe o all'oggetto inputs dello script.",
+ "overview.appInfo.embedded.hiddenInputs.title": "Precompila i campi nascosti",
"overview.appInfo.embedded.iframe": "Per aggiungere l'app chat ovunque sul tuo sito web, aggiungi questo iframe al tuo codice HTML.",
"overview.appInfo.embedded.scripts": "Per aggiungere un'app chat in basso a destra del tuo sito web, aggiungi questo codice al tuo HTML.",
"overview.appInfo.embedded.title": "Incorpora sul sito web",
@@ -104,6 +106,8 @@
"overview.appInfo.settings.workflow.subTitle": "Dettagli del flusso di lavoro",
"overview.appInfo.settings.workflow.title": "Fasi del Workflow",
"overview.appInfo.title": "App Web",
+ "overview.appInfo.workflowLaunchHiddenInputs.description": "Inserisci i valori per i campi nascosti, quindi fai clic su Avvia per aprire la WebApp con i valori.",
+ "overview.appInfo.workflowLaunchHiddenInputs.title": "Precompila i campi nascosti",
"overview.disableTooltip.triggerMode": "La funzionalità {{feature}} non è supportata in modalità Nodo Trigger.",
"overview.status.disable": "Disabilita",
"overview.status.running": "In servizio",
diff --git a/web/i18n/ja-JP/app-debug.json b/web/i18n/ja-JP/app-debug.json
index 8a37ccee9d..f4c58ea5a4 100644
--- a/web/i18n/ja-JP/app-debug.json
+++ b/web/i18n/ja-JP/app-debug.json
@@ -337,6 +337,8 @@
"variableConfig.file.image.name": "画像",
"variableConfig.file.supportFileTypes": "サポートされたファイルタイプ",
"variableConfig.file.video.name": "映像",
+ "variableConfig.hidden": "非表示・事前入力",
+ "variableConfig.hiddenDescription": "エンドユーザーには非表示にし、値はご自身で入力します。必須 とは併用できません。詳細はこちら",
"variableConfig.hide": "非表示",
"variableConfig.inputPlaceholder": "入力してください",
"variableConfig.json": "JSONコード",
diff --git a/web/i18n/ja-JP/app-overview.json b/web/i18n/ja-JP/app-overview.json
index 107d805dda..e7c59e926a 100644
--- a/web/i18n/ja-JP/app-overview.json
+++ b/web/i18n/ja-JP/app-overview.json
@@ -56,6 +56,8 @@
"overview.appInfo.embedded.copy": "コピー",
"overview.appInfo.embedded.entry": "埋め込み",
"overview.appInfo.embedded.explanation": "チャットアプリをウェブサイトに埋め込む方法を選択します。",
+ "overview.appInfo.embedded.hiddenInputs.description": "非表示フィールドに値を入力します。これらの値は iframe の URL または埋め込みスクリプトの inputs オブジェクトに追加されます。",
+ "overview.appInfo.embedded.hiddenInputs.title": "非表示フィールドを事前入力",
"overview.appInfo.embedded.iframe": "ウェブサイトの任意の場所にチャットアプリを追加するには、この iframe を HTML コードに追加してください。",
"overview.appInfo.embedded.scripts": "ウェブサイトの右下にチャットアプリを追加するには、このコードを HTML に追加してください。",
"overview.appInfo.embedded.title": "ウェブサイトに埋め込む",
@@ -104,6 +106,8 @@
"overview.appInfo.settings.workflow.subTitle": "ワークフローの詳細",
"overview.appInfo.settings.workflow.title": "ワークフローステップ",
"overview.appInfo.title": "Web App",
+ "overview.appInfo.workflowLaunchHiddenInputs.description": "非表示フィールドに値を入力後、公開をクリックすると、事前入力された値が適用された WebApp が開きます。",
+ "overview.appInfo.workflowLaunchHiddenInputs.title": "非表示フィールドを事前入力",
"overview.disableTooltip.triggerMode": "トリガーノードモードでは{{feature}}機能を使用できません。",
"overview.status.disable": "無効",
"overview.status.running": "稼働中",
diff --git a/web/i18n/ko-KR/app-debug.json b/web/i18n/ko-KR/app-debug.json
index 0b414189dc..620c16f243 100644
--- a/web/i18n/ko-KR/app-debug.json
+++ b/web/i18n/ko-KR/app-debug.json
@@ -337,6 +337,8 @@
"variableConfig.file.image.name": "이미지",
"variableConfig.file.supportFileTypes": "지원 파일 형식",
"variableConfig.file.video.name": "비디오",
+ "variableConfig.hidden": "숨김 및 미리 채우기",
+ "variableConfig.hiddenDescription": "이 필드를 최종 사용자에게 숨기고 값을 직접 입력하세요. 필수 항목과 함께 사용할 수 없습니다. 자세히 알아보기",
"variableConfig.hide": "숨기기",
"variableConfig.inputPlaceholder": "입력하세요",
"variableConfig.json": "JSON 코드",
diff --git a/web/i18n/ko-KR/app-overview.json b/web/i18n/ko-KR/app-overview.json
index d3de2e8db9..0dcb194088 100644
--- a/web/i18n/ko-KR/app-overview.json
+++ b/web/i18n/ko-KR/app-overview.json
@@ -56,6 +56,8 @@
"overview.appInfo.embedded.copy": "복사",
"overview.appInfo.embedded.entry": "임베드",
"overview.appInfo.embedded.explanation": "챗봇 앱을 웹사이트에 임베드하는 방법을 선택하세요.",
+ "overview.appInfo.embedded.hiddenInputs.description": "숨김 필드에 값을 입력하세요. 값은 iframe URL 또는 스크립트의 inputs 객체에 추가됩니다.",
+ "overview.appInfo.embedded.hiddenInputs.title": "숨김 필드 미리 채우기",
"overview.appInfo.embedded.iframe": "웹사이트의 원하는 위치에 챗봇 앱을 추가하려면 이 iframe 을 HTML 코드에 추가하세요.",
"overview.appInfo.embedded.scripts": "웹사이트의 우측 하단에 챗봇 앱을 추가하려면 이 코드를 HTML 에 추가하세요.",
"overview.appInfo.embedded.title": "웹사이트에 임베드하기",
@@ -104,6 +106,8 @@
"overview.appInfo.settings.workflow.subTitle": "워크플로우 세부 정보",
"overview.appInfo.settings.workflow.title": "워크플로 단계",
"overview.appInfo.title": "웹 앱",
+ "overview.appInfo.workflowLaunchHiddenInputs.description": "숨김 필드에 값을 입력한 후 실행을 클릭하여 해당 값이 적용된 WebApp을 엽니다.",
+ "overview.appInfo.workflowLaunchHiddenInputs.title": "숨김 필드 미리 채우기",
"overview.disableTooltip.triggerMode": "트리거 노드 모드에서는 {{feature}} 기능이 지원되지 않습니다.",
"overview.status.disable": "비활성",
"overview.status.running": "서비스 중",
diff --git a/web/i18n/nl-NL/app-debug.json b/web/i18n/nl-NL/app-debug.json
index 9562ece024..b6af12c3a1 100644
--- a/web/i18n/nl-NL/app-debug.json
+++ b/web/i18n/nl-NL/app-debug.json
@@ -337,6 +337,8 @@
"variableConfig.file.image.name": "Image",
"variableConfig.file.supportFileTypes": "Support File Types",
"variableConfig.file.video.name": "Video",
+ "variableConfig.hidden": "Verborgen en vooraf ingevuld",
+ "variableConfig.hiddenDescription": "Verberg dit veld voor eindgebruikers en geef de waarde zelf op. Wederzijds exclusief met Verplicht. Meer informatie",
"variableConfig.hide": "Hide",
"variableConfig.inputPlaceholder": "Please input",
"variableConfig.json": "JSON Code",
diff --git a/web/i18n/nl-NL/app-overview.json b/web/i18n/nl-NL/app-overview.json
index 81256a769c..400f92bdb3 100644
--- a/web/i18n/nl-NL/app-overview.json
+++ b/web/i18n/nl-NL/app-overview.json
@@ -56,6 +56,8 @@
"overview.appInfo.embedded.copy": "Copy",
"overview.appInfo.embedded.entry": "Embedded",
"overview.appInfo.embedded.explanation": "Choose the way to embed chat app to your website",
+ "overview.appInfo.embedded.hiddenInputs.description": "Voer waarden in voor de verborgen velden. De waarden worden toegevoegd aan de iframe-URL of het inputs-object van het script.",
+ "overview.appInfo.embedded.hiddenInputs.title": "Verborgen velden vooraf invullen",
"overview.appInfo.embedded.iframe": "To add the chat app any where on your website, add this iframe to your html code.",
"overview.appInfo.embedded.scripts": "To add a chat app to the bottom right of your website add this code to your html.",
"overview.appInfo.embedded.title": "Embed on website",
@@ -104,6 +106,8 @@
"overview.appInfo.settings.workflow.subTitle": "Workflow Details",
"overview.appInfo.settings.workflow.title": "Workflow",
"overview.appInfo.title": "Web App",
+ "overview.appInfo.workflowLaunchHiddenInputs.description": "Voer waarden in voor de verborgen velden en klik op Starten om de WebApp te openen met de waarden.",
+ "overview.appInfo.workflowLaunchHiddenInputs.title": "Verborgen velden vooraf invullen",
"overview.disableTooltip.triggerMode": "The {{feature}} feature is not supported in Trigger Node mode.",
"overview.status.disable": "Disabled",
"overview.status.running": "In Service",
diff --git a/web/i18n/pl-PL/app-debug.json b/web/i18n/pl-PL/app-debug.json
index a60c960bc2..aad66ea9f8 100644
--- a/web/i18n/pl-PL/app-debug.json
+++ b/web/i18n/pl-PL/app-debug.json
@@ -337,6 +337,8 @@
"variableConfig.file.image.name": "Obraz",
"variableConfig.file.supportFileTypes": "Obsługa typów plików",
"variableConfig.file.video.name": "Wideo",
+ "variableConfig.hidden": "Ukryte i wstępnie wypełnione",
+ "variableConfig.hiddenDescription": "Ukryj to pole przed użytkownikami końcowymi i sam podaj jego wartość. Wzajemnie wykluczające się z Wymagane. Dowiedz się więcej",
"variableConfig.hide": "Ukryj",
"variableConfig.inputPlaceholder": "Proszę wpisać",
"variableConfig.json": "Kod JSON",
diff --git a/web/i18n/pl-PL/app-overview.json b/web/i18n/pl-PL/app-overview.json
index 1c0aa9d541..219288202c 100644
--- a/web/i18n/pl-PL/app-overview.json
+++ b/web/i18n/pl-PL/app-overview.json
@@ -56,6 +56,8 @@
"overview.appInfo.embedded.copy": "Kopiuj",
"overview.appInfo.embedded.entry": "Osadzone",
"overview.appInfo.embedded.explanation": "Wybierz sposób osadzenia aplikacji czatu na swojej stronie internetowej",
+ "overview.appInfo.embedded.hiddenInputs.description": "Wprowadź wartości dla ukrytych pól. Wartości są dodawane do adresu URL elementu iframe lub do obiektu inputs skryptu.",
+ "overview.appInfo.embedded.hiddenInputs.title": "Wstępnie wypełnij ukryte pola",
"overview.appInfo.embedded.iframe": "Aby dodać aplikację czatu w dowolnym miejscu na swojej stronie internetowej, dodaj ten kod iframe do swojego kodu HTML.",
"overview.appInfo.embedded.scripts": "Aby dodać aplikację czatu w prawym dolnym rogu swojej strony internetowej, dodaj ten kod do swojego HTML.",
"overview.appInfo.embedded.title": "Osadź na stronie internetowej",
@@ -104,6 +106,8 @@
"overview.appInfo.settings.workflow.subTitle": "Szczegóły przepływu pracy",
"overview.appInfo.settings.workflow.title": "Kroki przepływu pracy",
"overview.appInfo.title": "Aplikacja internetowa",
+ "overview.appInfo.workflowLaunchHiddenInputs.description": "Wprowadź wartości dla ukrytych pól, a następnie kliknij Uruchom, aby otworzyć WebApp z tymi wartościami.",
+ "overview.appInfo.workflowLaunchHiddenInputs.title": "Wstępnie wypełnij ukryte pola",
"overview.disableTooltip.triggerMode": "Funkcja {{feature}} nie jest obsługiwana w trybie węzła wyzwalającego.",
"overview.status.disable": "Wyłącz",
"overview.status.running": "W usłudze",
diff --git a/web/i18n/pt-BR/app-debug.json b/web/i18n/pt-BR/app-debug.json
index 22fb13806a..595c55d2ca 100644
--- a/web/i18n/pt-BR/app-debug.json
+++ b/web/i18n/pt-BR/app-debug.json
@@ -337,6 +337,8 @@
"variableConfig.file.image.name": "Imagem",
"variableConfig.file.supportFileTypes": "Tipos de arquivo de suporte",
"variableConfig.file.video.name": "Vídeo",
+ "variableConfig.hidden": "Oculto e Pré-preenchido",
+ "variableConfig.hiddenDescription": "Oculte este campo dos usuários finais e forneça o valor você mesmo. Mutuamente exclusivo com Obrigatório. Saiba mais",
"variableConfig.hide": "Ocultar",
"variableConfig.inputPlaceholder": "Por favor, insira",
"variableConfig.json": "Código JSON",
diff --git a/web/i18n/pt-BR/app-overview.json b/web/i18n/pt-BR/app-overview.json
index 91cd570ce5..9d29ce40fa 100644
--- a/web/i18n/pt-BR/app-overview.json
+++ b/web/i18n/pt-BR/app-overview.json
@@ -56,6 +56,8 @@
"overview.appInfo.embedded.copy": "Copiar",
"overview.appInfo.embedded.entry": "Embutido",
"overview.appInfo.embedded.explanation": "Escolha a maneira de incorporar o aplicativo de chat ao seu site",
+ "overview.appInfo.embedded.hiddenInputs.description": "Insira valores para os campos ocultos. Os valores são adicionados à URL do iframe ou ao objeto de inputs do script.",
+ "overview.appInfo.embedded.hiddenInputs.title": "Pré-preencher Campos Ocultos",
"overview.appInfo.embedded.iframe": "Para adicionar o aplicativo de chat em qualquer lugar do seu site, adicione este iframe ao seu código HTML.",
"overview.appInfo.embedded.scripts": "Para adicionar um aplicativo de chat no canto inferior direito do seu site, adicione este código ao seu HTML.",
"overview.appInfo.embedded.title": "Incorporar no site",
@@ -104,6 +106,8 @@
"overview.appInfo.settings.workflow.subTitle": "Detalhes do fluxo de trabalho",
"overview.appInfo.settings.workflow.title": "Etapas do fluxo de trabalho",
"overview.appInfo.title": "Aplicativo Web",
+ "overview.appInfo.workflowLaunchHiddenInputs.description": "Insira valores para os campos ocultos e clique em Iniciar para abrir o WebApp com os valores.",
+ "overview.appInfo.workflowLaunchHiddenInputs.title": "Pré-preencher Campos Ocultos",
"overview.disableTooltip.triggerMode": "O recurso {{feature}} não é compatível no modo Nó de Gatilho.",
"overview.status.disable": "Desabilitar",
"overview.status.running": "Em serviço",
diff --git a/web/i18n/ro-RO/app-debug.json b/web/i18n/ro-RO/app-debug.json
index 48f606542d..e295d3a813 100644
--- a/web/i18n/ro-RO/app-debug.json
+++ b/web/i18n/ro-RO/app-debug.json
@@ -337,6 +337,8 @@
"variableConfig.file.image.name": "Imagine",
"variableConfig.file.supportFileTypes": "Tipuri de fișiere de asistență",
"variableConfig.file.video.name": "Video",
+ "variableConfig.hidden": "Ascuns și precompletat",
+ "variableConfig.hiddenDescription": "Ascundeți acest câmp de la utilizatorii finali și furnizați valoarea dvs. înșivă. Incompatibil cu Obligatoriu. Aflați mai multe",
"variableConfig.hide": "Ascundeți",
"variableConfig.inputPlaceholder": "Vă rugăm să introduceți",
"variableConfig.json": "Cod JSON",
diff --git a/web/i18n/ro-RO/app-overview.json b/web/i18n/ro-RO/app-overview.json
index 347a799a4e..04d1cd822f 100644
--- a/web/i18n/ro-RO/app-overview.json
+++ b/web/i18n/ro-RO/app-overview.json
@@ -56,6 +56,8 @@
"overview.appInfo.embedded.copy": "Copiați",
"overview.appInfo.embedded.entry": "Încorporat",
"overview.appInfo.embedded.explanation": "Alegeți modul de încorporare a aplicației de chat pe site-ul web",
+ "overview.appInfo.embedded.hiddenInputs.description": "Introduceți valori pentru câmpurile ascunse. Valorile sunt adăugate la URL-ul iframe sau la obiectul inputs al scriptului.",
+ "overview.appInfo.embedded.hiddenInputs.title": "Precompletați câmpurile ascunse",
"overview.appInfo.embedded.iframe": "Pentru a adăuga aplicația de chat oriunde pe site-ul web, adăugați acest iframe la codul HTML.",
"overview.appInfo.embedded.scripts": "Pentru a adăuga o aplicație de chat în colțul din dreapta jos al site-ului web, adăugați acest cod la codul HTML.",
"overview.appInfo.embedded.title": "Încorporați pe site-ul web",
@@ -104,6 +106,8 @@
"overview.appInfo.settings.workflow.subTitle": "Detalii despre fluxul de lucru",
"overview.appInfo.settings.workflow.title": "Pași flux de lucru",
"overview.appInfo.title": "Aplicație web",
+ "overview.appInfo.workflowLaunchHiddenInputs.description": "Introduceți valori pentru câmpurile ascunse, apoi faceți clic pe Lansare pentru a deschide WebApp cu valorile respective.",
+ "overview.appInfo.workflowLaunchHiddenInputs.title": "Precompletați câmpurile ascunse",
"overview.disableTooltip.triggerMode": "Funcționalitatea {{feature}} nu este suportată în modul Nod Trigger.",
"overview.status.disable": "Dezactivat",
"overview.status.running": "În service",
diff --git a/web/i18n/ru-RU/app-debug.json b/web/i18n/ru-RU/app-debug.json
index 74f7c15a32..858c994938 100644
--- a/web/i18n/ru-RU/app-debug.json
+++ b/web/i18n/ru-RU/app-debug.json
@@ -337,6 +337,8 @@
"variableConfig.file.image.name": "Образ",
"variableConfig.file.supportFileTypes": "Типы файлов поддержки",
"variableConfig.file.video.name": "Видео",
+ "variableConfig.hidden": "Скрыто и предзаполнено",
+ "variableConfig.hiddenDescription": "Скройте это поле от конечных пользователей и укажите значение самостоятельно. Взаимно исключает Обязательное. Подробнее",
"variableConfig.hide": "Скрыть",
"variableConfig.inputPlaceholder": "Пожалуйста, введите",
"variableConfig.json": "JSON код",
diff --git a/web/i18n/ru-RU/app-overview.json b/web/i18n/ru-RU/app-overview.json
index c361441ceb..f04f090e65 100644
--- a/web/i18n/ru-RU/app-overview.json
+++ b/web/i18n/ru-RU/app-overview.json
@@ -56,6 +56,8 @@
"overview.appInfo.embedded.copy": "Копировать",
"overview.appInfo.embedded.entry": "Встраивание",
"overview.appInfo.embedded.explanation": "Выберите способ встраивания чат-приложения на свой веб-сайт",
+ "overview.appInfo.embedded.hiddenInputs.description": "Введите значения для скрытых полей. Значения добавляются к URL iframe или в объект inputs скрипта.",
+ "overview.appInfo.embedded.hiddenInputs.title": "Предзаполнить скрытые поля",
"overview.appInfo.embedded.iframe": "Чтобы добавить чат-приложение в любое место на вашем веб-сайте, добавьте этот iframe в свой HTML-код.",
"overview.appInfo.embedded.scripts": "Чтобы добавить чат-приложение в правый нижний угол вашего веб-сайта, добавьте этот код в свой HTML.",
"overview.appInfo.embedded.title": "Встроить на веб-сайт",
@@ -104,6 +106,8 @@
"overview.appInfo.settings.workflow.subTitle": "Подробности рабочего процесса",
"overview.appInfo.settings.workflow.title": "Рабочий процесс",
"overview.appInfo.title": "Веб-приложение",
+ "overview.appInfo.workflowLaunchHiddenInputs.description": "Введите значения для скрытых полей, затем нажмите Запустить, чтобы открыть WebApp с указанными значениями.",
+ "overview.appInfo.workflowLaunchHiddenInputs.title": "Предзаполнить скрытые поля",
"overview.disableTooltip.triggerMode": "Функция {{feature}} не поддерживается в режиме узла триггера.",
"overview.status.disable": "Отключено",
"overview.status.running": "В работе",
diff --git a/web/i18n/sl-SI/app-debug.json b/web/i18n/sl-SI/app-debug.json
index a8abfbd8ac..5fee642be5 100644
--- a/web/i18n/sl-SI/app-debug.json
+++ b/web/i18n/sl-SI/app-debug.json
@@ -337,6 +337,8 @@
"variableConfig.file.image.name": "Podoba",
"variableConfig.file.supportFileTypes": "Podporne vrste datotek",
"variableConfig.file.video.name": "Video",
+ "variableConfig.hidden": "Skrito in vnaprej izpolnjeno",
+ "variableConfig.hiddenDescription": "Skrijte to polje pred končnimi uporabniki in sami navedite vrednost. Se medsebojno izključuje z Zahtevano. Več informacij",
"variableConfig.hide": "Skriti",
"variableConfig.inputPlaceholder": "Prosimo, vnesite",
"variableConfig.json": "JSON koda",
diff --git a/web/i18n/sl-SI/app-overview.json b/web/i18n/sl-SI/app-overview.json
index 05ef1da689..33be7afb32 100644
--- a/web/i18n/sl-SI/app-overview.json
+++ b/web/i18n/sl-SI/app-overview.json
@@ -56,6 +56,8 @@
"overview.appInfo.embedded.copy": "Kopiraj",
"overview.appInfo.embedded.entry": "Vdelano",
"overview.appInfo.embedded.explanation": "Izberite način vdelave klepeta na svojo spletno stran",
+ "overview.appInfo.embedded.hiddenInputs.description": "Vnesite vrednosti za skrita polja. Vrednosti se dodajo v URL iframe ali v objekt inputs skripta.",
+ "overview.appInfo.embedded.hiddenInputs.title": "Vnaprej izpolni skrita polja",
"overview.appInfo.embedded.iframe": "Za dodajanje klepeta kjerkoli na vaši spletni strani dodajte to iframe v vašo HTML kodo.",
"overview.appInfo.embedded.scripts": "Za dodajanje klepeta na spodnji desni del vaše spletne strani dodajte to kodo v vašo HTML kodo.",
"overview.appInfo.embedded.title": "Vdelava na spletno stran",
@@ -104,6 +106,8 @@
"overview.appInfo.settings.workflow.subTitle": "Podrobnosti poteka dela",
"overview.appInfo.settings.workflow.title": "Potek dela",
"overview.appInfo.title": "Spletna aplikacija",
+ "overview.appInfo.workflowLaunchHiddenInputs.description": "Vnesite vrednosti za skrita polja, nato kliknite Zaženi, da odprete WebApp z vrednostmi.",
+ "overview.appInfo.workflowLaunchHiddenInputs.title": "Vnaprej izpolni skrita polja",
"overview.disableTooltip.triggerMode": "Funkcija {{feature}} ni podprta v načinu vozlišča sprožilca.",
"overview.status.disable": "Onemogočeno",
"overview.status.running": "V storitvi",
diff --git a/web/i18n/th-TH/app-debug.json b/web/i18n/th-TH/app-debug.json
index 7db9ef84e0..c7fc48a5e4 100644
--- a/web/i18n/th-TH/app-debug.json
+++ b/web/i18n/th-TH/app-debug.json
@@ -337,6 +337,8 @@
"variableConfig.file.image.name": "ภาพ",
"variableConfig.file.supportFileTypes": "ประเภทไฟล์ที่รองรับ",
"variableConfig.file.video.name": "วีดิทัศน์",
+ "variableConfig.hidden": "ซ่อนและกรอกล่วงหน้า",
+ "variableConfig.hiddenDescription": "ซ่อนช่องนี้จากผู้ใช้ปลายทางและป้อนค่าด้วยตนเอง ไม่สามารถใช้ร่วมกับ จำเป็น ได้ เรียนรู้เพิ่มเติม",
"variableConfig.hide": "ซ่อน",
"variableConfig.inputPlaceholder": "กรุณาป้อน",
"variableConfig.json": "รหัส JSON",
diff --git a/web/i18n/th-TH/app-overview.json b/web/i18n/th-TH/app-overview.json
index 53c5c4bfc5..611360eb29 100644
--- a/web/i18n/th-TH/app-overview.json
+++ b/web/i18n/th-TH/app-overview.json
@@ -56,6 +56,8 @@
"overview.appInfo.embedded.copy": "ลอก",
"overview.appInfo.embedded.entry": "ฝัง ตัว",
"overview.appInfo.embedded.explanation": "เลือกวิธีฝังแอปแชทลงในเว็บไซต์ของคุณ",
+ "overview.appInfo.embedded.hiddenInputs.description": "ป้อนค่าสำหรับช่องที่ซ่อนอยู่ ค่าต่างๆ จะถูกเพิ่มไปยัง URL ของ iframe หรือวัตถุ inputs ของสคริปต์",
+ "overview.appInfo.embedded.hiddenInputs.title": "กรอกช่องที่ซ่อนล่วงหน้า",
"overview.appInfo.embedded.iframe": "หากต้องการเพิ่มแอปแชทที่ใดก็ได้บนเว็บไซต์ของคุณ ให้เพิ่ม iframe นี้ลงในโค้ด html ของคุณ",
"overview.appInfo.embedded.scripts": "หากต้องการเพิ่มแอปแชทที่ด้านขวาล่างของเว็บไซต์ ให้เพิ่มโค้ดนี้ลงใน html ของคุณ",
"overview.appInfo.embedded.title": "ฝังบนเว็บไซต์",
@@ -104,6 +106,8 @@
"overview.appInfo.settings.workflow.subTitle": "รายละเอียดเวิร์กโฟลว์",
"overview.appInfo.settings.workflow.title": "เวิร์กโฟลว์",
"overview.appInfo.title": "เว็บแอป",
+ "overview.appInfo.workflowLaunchHiddenInputs.description": "ป้อนค่าสำหรับช่องที่ซ่อนอยู่ จากนั้นคลิก เปิดใช้งาน เพื่อเปิด WebApp พร้อมค่าดังกล่าว",
+ "overview.appInfo.workflowLaunchHiddenInputs.title": "กรอกช่องที่ซ่อนล่วงหน้า",
"overview.disableTooltip.triggerMode": "โหมดโหนดทริกเกอร์ไม่รองรับฟีเจอร์ {{feature}}.",
"overview.status.disable": "พิการ",
"overview.status.running": "ให้บริการ",
diff --git a/web/i18n/tr-TR/app-debug.json b/web/i18n/tr-TR/app-debug.json
index 4c7b7c85d1..196f7d8320 100644
--- a/web/i18n/tr-TR/app-debug.json
+++ b/web/i18n/tr-TR/app-debug.json
@@ -337,6 +337,8 @@
"variableConfig.file.image.name": "Resim",
"variableConfig.file.supportFileTypes": "Destek Dosya Türleri",
"variableConfig.file.video.name": "Video",
+ "variableConfig.hidden": "Gizlenmiş ve Önceden Doldurulmuş",
+ "variableConfig.hiddenDescription": "Bu alanı son kullanıcılardan gizleyin ve değeri kendiniz girin. Gerekli ile karşılıklı olarak dışlayıcıdır. Daha fazla bilgi",
"variableConfig.hide": "Gizle",
"variableConfig.inputPlaceholder": "Lütfen girin",
"variableConfig.json": "JSON Kodu",
diff --git a/web/i18n/tr-TR/app-overview.json b/web/i18n/tr-TR/app-overview.json
index e48c6c6fe7..60dd97436e 100644
--- a/web/i18n/tr-TR/app-overview.json
+++ b/web/i18n/tr-TR/app-overview.json
@@ -56,6 +56,8 @@
"overview.appInfo.embedded.copy": "Kopyala",
"overview.appInfo.embedded.entry": "Gömülü",
"overview.appInfo.embedded.explanation": "Sohbet uygulamasını web sitenize yerleştirmenin yollarını seçin",
+ "overview.appInfo.embedded.hiddenInputs.description": "Gizli alanlar için değerler girin. Değerler iframe URL'sine veya komut dosyasının inputs nesnesine eklenir.",
+ "overview.appInfo.embedded.hiddenInputs.title": "Gizli Alanları Önceden Doldurun",
"overview.appInfo.embedded.iframe": "Sohbet uygulamasını web sitenizin herhangi bir yerine eklemek için bu iframe'i HTML kodunuza ekleyin.",
"overview.appInfo.embedded.scripts": "Sohbet uygulamasını web sitenizin sağ alt köşesine eklemek için bu kodu HTML'e ekleyin.",
"overview.appInfo.embedded.title": "Siteye Yerleştir",
@@ -104,6 +106,8 @@
"overview.appInfo.settings.workflow.subTitle": "İş Akışı Detayları",
"overview.appInfo.settings.workflow.title": "İş Akışı Adımları",
"overview.appInfo.title": "Web Uygulaması",
+ "overview.appInfo.workflowLaunchHiddenInputs.description": "Gizli alanlar için değerler girin, ardından WebApp'i değerlerle açmak için Başlat'a tıklayın.",
+ "overview.appInfo.workflowLaunchHiddenInputs.title": "Gizli Alanları Önceden Doldurun",
"overview.disableTooltip.triggerMode": "Trigger Düğümü modunda {{feature}} özelliği desteklenmiyor.",
"overview.status.disable": "Devre Dışı",
"overview.status.running": "Çalışıyor",
diff --git a/web/i18n/uk-UA/app-debug.json b/web/i18n/uk-UA/app-debug.json
index 6d5237c073..26d78f51a3 100644
--- a/web/i18n/uk-UA/app-debug.json
+++ b/web/i18n/uk-UA/app-debug.json
@@ -337,6 +337,8 @@
"variableConfig.file.image.name": "Образ",
"variableConfig.file.supportFileTypes": "Підтримка типів файлів",
"variableConfig.file.video.name": "Відео",
+ "variableConfig.hidden": "Приховано та попередньо заповнено",
+ "variableConfig.hiddenDescription": "Приховайте це поле від кінцевих користувачів і введіть значення самостійно. Взаємно виключає Обов'язкове. Дізнатися більше",
"variableConfig.hide": "Приховати",
"variableConfig.inputPlaceholder": "Будь ласка, введіть",
"variableConfig.json": "JSON Код",
diff --git a/web/i18n/uk-UA/app-overview.json b/web/i18n/uk-UA/app-overview.json
index 9b7f7d21f9..99f2caf05a 100644
--- a/web/i18n/uk-UA/app-overview.json
+++ b/web/i18n/uk-UA/app-overview.json
@@ -56,6 +56,8 @@
"overview.appInfo.embedded.copy": "Скопіювати",
"overview.appInfo.embedded.entry": "Вбудоване",
"overview.appInfo.embedded.explanation": "Виберіть спосіб вбудування чат-додатка на ваш веб-сайт",
+ "overview.appInfo.embedded.hiddenInputs.description": "Введіть значення для прихованих полів. Значення додаються до URL iframe або об'єкта inputs скрипта.",
+ "overview.appInfo.embedded.hiddenInputs.title": "Попередньо заповнити приховані поля",
"overview.appInfo.embedded.iframe": "Для додавання чат-додатка в будь-яке місце на вашому веб-сайті, додайте цей iframe до вашого HTML-коду.",
"overview.appInfo.embedded.scripts": "Для додавання чат-додатка в правий нижній кут вашого веб-сайту додайте цей код до вашого HTML.",
"overview.appInfo.embedded.title": "Вбудувати на веб-сайт",
@@ -104,6 +106,8 @@
"overview.appInfo.settings.workflow.subTitle": "Деталі робочого процесу",
"overview.appInfo.settings.workflow.title": "Кроки робочого процесу",
"overview.appInfo.title": "Веб-додаток",
+ "overview.appInfo.workflowLaunchHiddenInputs.description": "Введіть значення для прихованих полів, а потім натисніть Запустити, щоб відкрити WebApp із введеними значеннями.",
+ "overview.appInfo.workflowLaunchHiddenInputs.title": "Попередньо заповнити приховані поля",
"overview.disableTooltip.triggerMode": "Функція {{feature}} не підтримується в режимі вузла тригера.",
"overview.status.disable": "Вимкнути",
"overview.status.running": "У роботі",
diff --git a/web/i18n/vi-VN/app-debug.json b/web/i18n/vi-VN/app-debug.json
index 96e7ecc49c..3168648153 100644
--- a/web/i18n/vi-VN/app-debug.json
+++ b/web/i18n/vi-VN/app-debug.json
@@ -337,6 +337,8 @@
"variableConfig.file.image.name": "Ảnh",
"variableConfig.file.supportFileTypes": "Các loại tệp hỗ trợ",
"variableConfig.file.video.name": "Video",
+ "variableConfig.hidden": "Ẩn và điền sẵn",
+ "variableConfig.hiddenDescription": "Ẩn trường này khỏi người dùng cuối và tự cung cấp giá trị. Loại trừ lẫn nhau với Bắt buộc. Tìm hiểu thêm",
"variableConfig.hide": "Ẩn",
"variableConfig.inputPlaceholder": "Vui lòng nhập",
"variableConfig.json": "Mã JSON",
diff --git a/web/i18n/vi-VN/app-overview.json b/web/i18n/vi-VN/app-overview.json
index 1e18b24a2d..c282758e18 100644
--- a/web/i18n/vi-VN/app-overview.json
+++ b/web/i18n/vi-VN/app-overview.json
@@ -56,6 +56,8 @@
"overview.appInfo.embedded.copy": "Sao chép",
"overview.appInfo.embedded.entry": "Nhúng",
"overview.appInfo.embedded.explanation": "Chọn cách nhúng ứng dụng trò chuyện vào trang web của bạn",
+ "overview.appInfo.embedded.hiddenInputs.description": "Nhập giá trị cho các trường ẩn. Các giá trị được thêm vào URL iframe hoặc đối tượng inputs của script.",
+ "overview.appInfo.embedded.hiddenInputs.title": "Điền sẵn trường ẩn",
"overview.appInfo.embedded.iframe": "Để thêm ứng dụng trò chuyện vào bất kỳ đâu trên trang web của bạn, hãy thêm iframe này vào mã HTML của bạn.",
"overview.appInfo.embedded.scripts": "Để thêm ứng dụng trò chuyện vào góc dưới bên phải của trang web, thêm mã này vào mã HTML của bạn.",
"overview.appInfo.embedded.title": "Nhúng vào trang web",
@@ -104,6 +106,8 @@
"overview.appInfo.settings.workflow.subTitle": "Chi tiết quy trình làm việc",
"overview.appInfo.settings.workflow.title": "Các bước quy trình",
"overview.appInfo.title": "Ứng dụng web",
+ "overview.appInfo.workflowLaunchHiddenInputs.description": "Nhập giá trị cho các trường ẩn, sau đó nhấp Khởi chạy để mở WebApp với các giá trị đó.",
+ "overview.appInfo.workflowLaunchHiddenInputs.title": "Điền sẵn trường ẩn",
"overview.disableTooltip.triggerMode": "Tính năng {{feature}} không được hỗ trợ trong chế độ Nút Kích hoạt.",
"overview.status.disable": "Đã tắt",
"overview.status.running": "Đang hoạt động",
diff --git a/web/i18n/zh-Hans/app-debug.json b/web/i18n/zh-Hans/app-debug.json
index d44af6754a..e9eec99bd9 100644
--- a/web/i18n/zh-Hans/app-debug.json
+++ b/web/i18n/zh-Hans/app-debug.json
@@ -337,6 +337,8 @@
"variableConfig.file.image.name": "图片",
"variableConfig.file.supportFileTypes": "支持的文件类型",
"variableConfig.file.video.name": "视频",
+ "variableConfig.hidden": "隐藏并预填",
+ "variableConfig.hiddenDescription": "对终端用户隐藏此字段,并由你预填字段值。与 必填 互斥。了解更多",
"variableConfig.hide": "隐藏",
"variableConfig.inputPlaceholder": "请输入",
"variableConfig.json": "JSON",
diff --git a/web/i18n/zh-Hans/app-overview.json b/web/i18n/zh-Hans/app-overview.json
index 03a26cb32c..e4d410ad2e 100644
--- a/web/i18n/zh-Hans/app-overview.json
+++ b/web/i18n/zh-Hans/app-overview.json
@@ -56,6 +56,8 @@
"overview.appInfo.embedded.copy": "复制",
"overview.appInfo.embedded.entry": "嵌入",
"overview.appInfo.embedded.explanation": "选择一种方式将聊天应用嵌入到你的网站中",
+ "overview.appInfo.embedded.hiddenInputs.description": "为隐藏字段输入值。这些值将被添加到 iframe URL 或嵌入脚本的 inputs 对象中。",
+ "overview.appInfo.embedded.hiddenInputs.title": "预填隐藏字段",
"overview.appInfo.embedded.iframe": "将以下 iframe 嵌入到你的网站中的目标位置",
"overview.appInfo.embedded.scripts": "将以下代码嵌入到你的网站中",
"overview.appInfo.embedded.title": "嵌入到网站中",
@@ -104,6 +106,8 @@
"overview.appInfo.settings.workflow.subTitle": "工作流详情",
"overview.appInfo.settings.workflow.title": "工作流",
"overview.appInfo.title": "Web App",
+ "overview.appInfo.workflowLaunchHiddenInputs.description": "为隐藏字段输入值后,点击 启动 即可打开已应用这些值的 WebApp。",
+ "overview.appInfo.workflowLaunchHiddenInputs.title": "预填隐藏字段",
"overview.disableTooltip.triggerMode": "触发节点模式下不支持{{feature}}功能。",
"overview.status.disable": "已停用",
"overview.status.running": "运行中",
diff --git a/web/i18n/zh-Hant/app-debug.json b/web/i18n/zh-Hant/app-debug.json
index 69ebfa71c1..35bb03dc96 100644
--- a/web/i18n/zh-Hant/app-debug.json
+++ b/web/i18n/zh-Hant/app-debug.json
@@ -337,6 +337,8 @@
"variableConfig.file.image.name": "圖像",
"variableConfig.file.supportFileTypes": "支援檔案類型",
"variableConfig.file.video.name": "視頻",
+ "variableConfig.hidden": "隱藏並預填",
+ "variableConfig.hiddenDescription": "對終端用戶隱藏此欄位,並由你預填欄位值。與 必填 互斥。了解更多",
"variableConfig.hide": "隱藏",
"variableConfig.inputPlaceholder": "請輸入",
"variableConfig.json": "JSON 代碼",
diff --git a/web/i18n/zh-Hant/app-overview.json b/web/i18n/zh-Hant/app-overview.json
index ccbdb86f19..fcd3569428 100644
--- a/web/i18n/zh-Hant/app-overview.json
+++ b/web/i18n/zh-Hant/app-overview.json
@@ -56,6 +56,8 @@
"overview.appInfo.embedded.copy": "複製",
"overview.appInfo.embedded.entry": "嵌入",
"overview.appInfo.embedded.explanation": "選擇一種方式將聊天應用嵌入到你的網站中",
+ "overview.appInfo.embedded.hiddenInputs.description": "輸入隱藏欄位的值。這些值將被新增至 iframe URL 或嵌入腳本的 inputs 物件中。",
+ "overview.appInfo.embedded.hiddenInputs.title": "預填隱藏欄位",
"overview.appInfo.embedded.iframe": "將以下 iframe 嵌入到你的網站中的目標位置",
"overview.appInfo.embedded.scripts": "將以下程式碼嵌入到你的網站中",
"overview.appInfo.embedded.title": "嵌入到網站中",
@@ -104,6 +106,8 @@
"overview.appInfo.settings.workflow.subTitle": "工作流詳細資訊",
"overview.appInfo.settings.workflow.title": "工作流程步驟",
"overview.appInfo.title": "網頁應用程式",
+ "overview.appInfo.workflowLaunchHiddenInputs.description": "輸入隱藏欄位的值後,點擊 啟動 以使用這些值開啟 WebApp。",
+ "overview.appInfo.workflowLaunchHiddenInputs.title": "預填隱藏欄位",
"overview.disableTooltip.triggerMode": "觸發節點模式不支援 {{feature}} 功能。",
"overview.status.disable": "已停用",
"overview.status.running": "執行中",
diff --git a/web/models/datasets.ts b/web/models/datasets.ts
index 27850e62ad..b9edad48f0 100644
--- a/web/models/datasets.ts
+++ b/web/models/datasets.ts
@@ -5,6 +5,7 @@ import type { MetadataItemWithValue } from '@/app/components/datasets/metadata/t
import type { MetadataFilteringVariableType } from '@/app/components/workflow/nodes/knowledge-retrieval/types'
import type { Tag } from '@/contract/console/tags'
import type { AppIconType, AppModeEnum, RetrievalConfig, TransferMethod } from '@/types/app'
+import type { SegmentImportStatus } from '@/types/dataset'
import type { I18nKeysByPrefix } from '@/types/i18n'
import { ExternalKnowledgeBase, General, ParentChild, Qa } from '@/app/components/base/icons/src/public/knowledge/dataset-card'
@@ -783,7 +784,7 @@ export type UpdateDocumentBatchParams = {
export type BatchImportResponse = {
job_id: string
- job_status: string
+ job_status: SegmentImportStatus
}
export const DOC_FORM_ICON_WITH_BG: Record> = {
diff --git a/web/models/debug.ts b/web/models/debug.ts
index a0dc9831ee..b069c8252f 100644
--- a/web/models/debug.ts
+++ b/web/models/debug.ts
@@ -52,7 +52,7 @@ export type PromptVariable = {
key: string
name: string
type: string // "string" | "number" | "select",
- default?: string | number
+ default?: string | number | boolean
required?: boolean
options?: string[]
max_length?: number
diff --git a/web/models/explore.ts b/web/models/explore.ts
index c05dd1eca1..3a82c589b2 100644
--- a/web/models/explore.ts
+++ b/web/models/explore.ts
@@ -12,7 +12,7 @@ type AppBasicInfo = {
use_icon_as_answer_icon: boolean
}
-export type AppCategory = 'Writing' | 'Translate' | 'HR' | 'Programming' | 'Assistant' | 'Agent' | 'Recommended' | 'Workflow'
+export type AppCategory = string
export type App = {
app: AppBasicInfo
@@ -21,7 +21,7 @@ export type App = {
copyright: string
privacy_policy: string | null
custom_disclaimer: string | null
- category: AppCategory
+ categories: AppCategory[]
position: number
is_listed: boolean
install_count: number
diff --git a/web/proxy.ts b/web/proxy.ts
index 983713fd0e..d735c9f568 100644
--- a/web/proxy.ts
+++ b/web/proxy.ts
@@ -18,15 +18,16 @@ const wrapResponseWithXFrameOptions = (response: NextResponse, pathname: string)
export function proxy(request: NextRequest) {
const { pathname } = request.nextUrl
const requestHeaders = new Headers(request.headers)
- const response = NextResponse.next({
- request: {
- headers: requestHeaders,
- },
- })
const isWhiteListEnabled = !!env.NEXT_PUBLIC_CSP_WHITELIST && process.env.NODE_ENV === 'production'
- if (!isWhiteListEnabled)
+ if (!isWhiteListEnabled) {
+ const response = NextResponse.next({
+ request: {
+ headers: requestHeaders,
+ },
+ })
return wrapResponseWithXFrameOptions(response, pathname)
+ }
const whiteList = `${env.NEXT_PUBLIC_CSP_WHITELIST} ${NECESSARY_DOMAIN}`
const nonce = Buffer.from(crypto.randomUUID()).toString('base64')
@@ -60,6 +61,12 @@ export function proxy(request: NextRequest) {
contentSecurityPolicyHeaderValue,
)
+ const response = NextResponse.next({
+ request: {
+ headers: requestHeaders,
+ },
+ })
+
response.headers.set(
'Content-Security-Policy',
contentSecurityPolicyHeaderValue,
diff --git a/web/types/dataset.ts b/web/types/dataset.ts
new file mode 100644
index 0000000000..167a740098
--- /dev/null
+++ b/web/types/dataset.ts
@@ -0,0 +1,8 @@
+export const segmentImportStatus = {
+ waiting: 'waiting',
+ processing: 'processing',
+ completed: 'completed',
+ error: 'error',
+} as const
+
+export type SegmentImportStatus = typeof segmentImportStatus[keyof typeof segmentImportStatus]