treege 3.0.0-beta.44 → 3.0.0-beta.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -9
- package/dist/DefaultInputs-DYKtphqY.js +1701 -0
- package/dist/ThemeContext-O482h1XZ.js +1397 -0
- package/dist/editor/context/OpenApiContext.d.ts +79 -0
- package/dist/editor/context/TreegeEditorContext.d.ts +7 -0
- package/dist/editor/features/TreegeEditor/TreegeEditor.d.ts +1 -1
- package/dist/editor/features/TreegeEditor/dialogs/AuthorizeDialog.d.ts +20 -0
- package/dist/editor/features/TreegeEditor/dialogs/HeadersDialog.d.ts +19 -0
- package/dist/editor/features/TreegeEditor/dialogs/OpenApiDialog.d.ts +6 -0
- package/dist/editor/features/TreegeEditor/forms/OptionsSourceForm.d.ts +7 -0
- package/dist/editor/features/TreegeEditor/inputs/ApiUrlCombobox.d.ts +30 -0
- package/dist/editor/features/TreegeEditor/nodes/TreegeNode.d.ts +0 -1
- package/dist/editor/features/TreegeEditor/nodes/components/NodeImage.d.ts +5 -0
- package/dist/editor/features/TreegeEditor/nodes/components/NodeImageButton.d.ts +6 -0
- package/dist/editor/features/TreegeEditor/nodes/components/NodeOptions.d.ts +12 -0
- package/dist/editor/features/TreegeEditor/nodes/components/NodeRequiredButton.d.ts +6 -0
- package/dist/editor/features/TreegeEditor/panel/ActionsPanel.d.ts +5 -2
- package/dist/editor/types/editor.d.ts +39 -1
- package/dist/editor/types/openapi.d.ts +81 -0
- package/dist/editor/utils/openapi.d.ts +35 -0
- package/dist/editor-DBCMmZtt.js +5147 -0
- package/dist/editor.js +2 -2
- package/dist/main.js +4 -4
- package/dist/renderer/context/TreegeConfigContext.d.ts +3 -27
- package/dist/renderer/context/TreegeRendererContext.d.ts +99 -2
- package/dist/renderer/features/TreegeRenderer/native/components/DefaultInputWrapper.d.ts +9 -0
- package/dist/renderer/features/TreegeRenderer/useTreegeRenderer.d.ts +3 -2
- package/dist/renderer/features/TreegeRenderer/web/TreegeRenderer.d.ts +1 -1
- package/dist/renderer/features/TreegeRenderer/web/components/DefaultFormWrapper.d.ts +1 -1
- package/dist/renderer/features/TreegeRenderer/web/components/DefaultInputWrapper.d.ts +9 -0
- package/dist/renderer/hooks/useInputOptions.d.ts +28 -0
- package/dist/renderer/hooks/useRenderNode.d.ts +7 -3
- package/dist/renderer/hooks/useSubmitHandler.d.ts +3 -2
- package/dist/renderer/types/renderer.d.ts +13 -25
- package/dist/renderer/utils/http.d.ts +29 -1
- package/dist/renderer/utils/submit.d.ts +3 -2
- package/dist/renderer-native.js +794 -782
- package/dist/renderer.js +3 -3
- package/dist/shared/components/ui/button.d.ts +1 -1
- package/dist/shared/components/ui/field.d.ts +24 -0
- package/dist/shared/components/ui/toggle-group.d.ts +7 -0
- package/dist/shared/components/ui/toggle.d.ts +9 -0
- package/dist/shared/locales/ar.json.d.ts +80 -0
- package/dist/shared/locales/de.json.d.ts +80 -0
- package/dist/shared/locales/en.json.d.ts +80 -0
- package/dist/shared/locales/es.json.d.ts +80 -0
- package/dist/shared/locales/fr.json.d.ts +80 -0
- package/dist/shared/locales/it.json.d.ts +80 -0
- package/dist/shared/locales/pt.json.d.ts +80 -0
- package/dist/shared/types/node.d.ts +44 -0
- package/package.json +3 -1
- package/dist/DefaultInputs-D6a1ESW-.js +0 -1562
- package/dist/ThemeContext-CUHjGVUf.js +0 -1602
- package/dist/editor/features/TreegeEditor/nodes/components/OptionsEditor.d.ts +0 -7
- package/dist/editor/features/TreegeEditor/nodes/components/RequiredBadge.d.ts +0 -6
- package/dist/editor-DjtjUgyb.js +0 -4041
package/dist/renderer.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { C as e, D as t,
|
|
2
|
-
import { C as S, D as C, E as w,
|
|
3
|
-
export {
|
|
1
|
+
import { C as e, D as t, E as n, M as r, N as i, O as a, R as o, S as s, T as c, _ as l, a as u, b as d, c as f, g as p, i as m, l as h, n as g, o as _, s as v, t as y, w as b, x } from "./ThemeContext-O482h1XZ.js";
|
|
2
|
+
import { C as S, D as C, E as w, S as T, T as E, a as D, b as O, d as k, f as A, h as j, i as M, l as N, m as P, n as F, p as I, r as L, s as R, t as z, u as B, v as V, w as H, x as U, y as W } from "./DefaultInputs-DYKtphqY.js";
|
|
3
|
+
export { C as DefaultAddressInput, w as DefaultAutocompleteInput, E as DefaultCheckboxInput, H as DefaultDateInput, S as DefaultDateRangeInput, T as DefaultFileInput, I as DefaultGroup, U as DefaultHiddenInput, O as DefaultHttpInput, W as DefaultNumberInput, V as DefaultPasswordInput, j as DefaultRadioInput, P as DefaultSelectInput, R as DefaultSwitchInput, D as DefaultTextAreaInput, M as DefaultTextInput, L as DefaultTimeInput, F as DefaultTimeRangeInput, B as Divider, y as ThemeProvider, k as Title, u as TreegeConfigProvider, N as TreegeRenderer, b as applyReferenceTransformation, c as calculateReferenceFieldUpdates, n as checkFormFieldHasValue, t as convertFormValuesToNamedFormat, z as defaultInputRenderers, A as defaultUI, r as evaluateCondition, i as evaluateConditions, v as fileToSerializable, f as filesToSerializable, d as findStartNode, x as getFlowRenderState, o as getTranslatedText, a as isFieldEmpty, s as isStartNode, e as mergeFlows, p as sanitize, l as sanitizeHttpResponse, h as serializableToFile, g as useTheme, _ as useTreegeConfig, m as useTreegeRenderer };
|
|
@@ -2,7 +2,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
declare const buttonVariants: (props?: ({
|
|
4
4
|
size?: "default" | "icon" | "icon-lg" | "icon-sm" | "lg" | "sm" | "xs" | null | undefined;
|
|
5
|
-
variant?: "default" | "link" | "destructive" | "ghost" | "outline" | "secondary" | null | undefined;
|
|
5
|
+
variant?: "default" | "link" | "icon" | "destructive" | "ghost" | "outline" | "secondary" | null | undefined;
|
|
6
6
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
7
|
declare function Button({ className, variant, size, asChild, ...props }: React.ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {
|
|
8
8
|
asChild?: boolean;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import { Label } from './label';
|
|
3
|
+
declare function FieldSet({ className, ...props }: React.ComponentProps<"fieldset">): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare function FieldLegend({ className, variant, ...props }: React.ComponentProps<"legend"> & {
|
|
5
|
+
variant?: "legend" | "label";
|
|
6
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
declare function FieldGroup({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
declare const fieldVariants: (props?: ({
|
|
9
|
+
orientation?: "horizontal" | "vertical" | "responsive" | null | undefined;
|
|
10
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
11
|
+
declare function Field({ className, orientation, ...props }: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
declare function FieldContent({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
declare function FieldLabel({ className, ...props }: React.ComponentProps<typeof Label>): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
declare function FieldTitle({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
declare function FieldDescription({ className, ...props }: React.ComponentProps<"p">): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
declare function FieldSeparator({ children, className, ...props }: React.ComponentProps<"div"> & {
|
|
17
|
+
children?: React.ReactNode;
|
|
18
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
declare function FieldError({ className, children, errors, ...props }: React.ComponentProps<"div"> & {
|
|
20
|
+
errors?: Array<{
|
|
21
|
+
message?: string;
|
|
22
|
+
} | undefined>;
|
|
23
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
24
|
+
export { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import { toggleVariants } from './toggle';
|
|
3
|
+
import * as ToggleGroupPrimitive from "@radix-ui/react-toggle-group";
|
|
4
|
+
import * as React from "react";
|
|
5
|
+
declare function ToggleGroup({ className, variant, size, children, ...props }: React.ComponentProps<typeof ToggleGroupPrimitive.Root> & VariantProps<typeof toggleVariants>): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
declare function ToggleGroupItem({ className, children, variant, size, ...props }: React.ComponentProps<typeof ToggleGroupPrimitive.Item> & VariantProps<typeof toggleVariants>): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export { ToggleGroup, ToggleGroupItem };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import * as TogglePrimitive from "@radix-ui/react-toggle";
|
|
3
|
+
import * as React from "react";
|
|
4
|
+
declare const toggleVariants: (props?: ({
|
|
5
|
+
size?: "default" | "lg" | "sm" | null | undefined;
|
|
6
|
+
variant?: "default" | "outline" | null | undefined;
|
|
7
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
8
|
+
declare function Toggle({ className, variant, size, ...props }: React.ComponentProps<typeof TogglePrimitive.Root> & VariantProps<typeof toggleVariants>): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export { Toggle, toggleVariants };
|
|
@@ -15,6 +15,7 @@ declare const _default: {
|
|
|
15
15
|
"editor": {
|
|
16
16
|
"actionsPanel": {
|
|
17
17
|
"addNode": "إضافة عنصر",
|
|
18
|
+
"authorize": "Authorize",
|
|
18
19
|
"clear": "مسح التدفق",
|
|
19
20
|
"clearSuccess": "تم مسح التدفق!",
|
|
20
21
|
"clearSuccessDesc": "تم إزالة جميع العقد والحواف.",
|
|
@@ -22,12 +23,14 @@ declare const _default: {
|
|
|
22
23
|
"downloadSuccess": "تم التنزيل بنجاح.",
|
|
23
24
|
"downloadSuccessDesc": "تم تصدير التدفق بنجاح.",
|
|
24
25
|
"exportJson": "تصدير JSON",
|
|
26
|
+
"globalHeaders": "Global headers",
|
|
25
27
|
"idCopied": "تم نسخ معرف التدفق!",
|
|
26
28
|
"importJson": "استيراد JSON",
|
|
27
29
|
"importSuccess": "تم الاستيراد بنجاح!",
|
|
28
30
|
"importSuccessDesc": "تم استيراد التدفق بنجاح.",
|
|
29
31
|
"invalidJson": "ملف JSON غير صالح.",
|
|
30
32
|
"invalidJsonDesc": "يجب أن يحتوي الملف على مصفوفات من العقد والحواف.",
|
|
33
|
+
"openApi": "OpenAPI",
|
|
31
34
|
"parseError": "خطأ في تحليل ملف JSON.",
|
|
32
35
|
"parseErrorDesc": "حاول إصلاح الملف واستيراده مرة أخرى."
|
|
33
36
|
},
|
|
@@ -51,6 +54,24 @@ declare const _default: {
|
|
|
51
54
|
"titleDescription": "صف النموذج أو شجرة القرار التي تريد إنشاءها، وسيقوم الذكاء الاصطناعي بإنشائها لك.",
|
|
52
55
|
"unknownError": "حدث خطأ غير معروف"
|
|
53
56
|
},
|
|
57
|
+
"apiUrlCombobox": {
|
|
58
|
+
"browseRoutes": "Browse OpenAPI routes",
|
|
59
|
+
"noRoutes": "No matching route",
|
|
60
|
+
"searchRoutes": "Search by method, path, or summary"
|
|
61
|
+
},
|
|
62
|
+
"authorizeDialog": {
|
|
63
|
+
"apiKeyLabel": "API key",
|
|
64
|
+
"apply": "Apply",
|
|
65
|
+
"bearerLabel": "Bearer token",
|
|
66
|
+
"clear": "Clear",
|
|
67
|
+
"description": "Authenticate against the API to forward credentials to every request issued by the form.",
|
|
68
|
+
"exchangeFailed": "Failed to fetch access token",
|
|
69
|
+
"noSchemes": "No supported security schemes are declared in this OpenAPI document.",
|
|
70
|
+
"oauth2PasswordLabel": "OAuth2 password",
|
|
71
|
+
"passwordPlaceholder": "Password",
|
|
72
|
+
"title": "Authorize",
|
|
73
|
+
"usernamePlaceholder": "Username"
|
|
74
|
+
},
|
|
54
75
|
"changeNodeTypeDialog": {
|
|
55
76
|
"description": "يحتوي هذا العنصر على عدة فروع صادرة. النوع الجديد يدعم فرعاً واحداً فقط. اختر الفرع الذي تريد الاحتفاظ به؛ سيتم حذف الفروع الأخرى.",
|
|
56
77
|
"keepBranch": "الاحتفاظ بهذا الفرع",
|
|
@@ -101,6 +122,15 @@ declare const _default: {
|
|
|
101
122
|
"groupNodeForm": {
|
|
102
123
|
"label": "التسمية"
|
|
103
124
|
},
|
|
125
|
+
"headersDialog": {
|
|
126
|
+
"addHeader": "Add header",
|
|
127
|
+
"description": "These headers are forwarded to every HTTP request issued by the form (HTTP inputs, submit, options sources). Field-level headers with the same key override these.",
|
|
128
|
+
"empty": "No headers yet.",
|
|
129
|
+
"keyPlaceholder": "Authorization",
|
|
130
|
+
"removeHeader": "Remove header",
|
|
131
|
+
"title": "Global headers",
|
|
132
|
+
"valuePlaceholder": "Bearer ..."
|
|
133
|
+
},
|
|
104
134
|
"httpConfigForm": {
|
|
105
135
|
"addHeader": "إضافة رأس",
|
|
106
136
|
"apiUrl": "رابط API",
|
|
@@ -153,7 +183,9 @@ declare const _default: {
|
|
|
153
183
|
"defaultValueTypeNone": "لا شيء",
|
|
154
184
|
"defaultValueTypeReference": "حقل مرجعي",
|
|
155
185
|
"defaultValueTypeStatic": "قيمة ثابتة",
|
|
186
|
+
"deleteOption": "حذف الخيار",
|
|
156
187
|
"disablePast": "تعطيل التواريخ الماضية",
|
|
188
|
+
"editOption": "تعديل الخيار",
|
|
157
189
|
"errorMessage": "رسالة خطأ",
|
|
158
190
|
"helperText": "نص مساعد",
|
|
159
191
|
"httpConfiguration": "تكوين HTTP",
|
|
@@ -209,6 +241,48 @@ declare const _default: {
|
|
|
209
241
|
"deleteNodeSuccess": "تم حذف العقدة بنجاح",
|
|
210
242
|
"editNode": "تعديل العقدة"
|
|
211
243
|
},
|
|
244
|
+
"openApiDialog": {
|
|
245
|
+
"baseUrlHint": "Optional. Overrides the document's first server URL — useful when the spec points at a different environment.",
|
|
246
|
+
"baseUrlLabel": "Base URL override",
|
|
247
|
+
"clear": "Clear",
|
|
248
|
+
"cleared": "OpenAPI cleared.",
|
|
249
|
+
"description": "Provide an OpenAPI 3.x document to power URL suggestions and Authorize.",
|
|
250
|
+
"emptyInput": "Please provide a URL or paste a JSON document.",
|
|
251
|
+
"jsonLabel": "Paste your OpenAPI JSON",
|
|
252
|
+
"load": "Load",
|
|
253
|
+
"loadFailed": "Failed to load OpenAPI document",
|
|
254
|
+
"loadSuccess": "OpenAPI loaded.",
|
|
255
|
+
"modeJson": "Paste JSON",
|
|
256
|
+
"modeUrl": "From URL",
|
|
257
|
+
"title": "OpenAPI source",
|
|
258
|
+
"urlLabel": "OpenAPI document URL"
|
|
259
|
+
},
|
|
260
|
+
"optionsSourceForm": {
|
|
261
|
+
"descriptionField": "Description",
|
|
262
|
+
"descriptionFieldPlaceholder": "Path to description (optional)",
|
|
263
|
+
"detect": "Detect fields",
|
|
264
|
+
"detectFailed": "Failed to fetch the API.",
|
|
265
|
+
"detectSuccess": "Fields detected.",
|
|
266
|
+
"disable": "Use static options",
|
|
267
|
+
"dynamicHint": "Options are fetched from this API at runtime.",
|
|
268
|
+
"enable": "Fetch from API",
|
|
269
|
+
"imageField": "Image",
|
|
270
|
+
"imageFieldPlaceholder": "Path to image URL (optional)",
|
|
271
|
+
"labelField": "Label",
|
|
272
|
+
"labelFieldPlaceholder": "Path to label (e.g., name)",
|
|
273
|
+
"noFieldsDetected": "No fields detected — check the URL or response path.",
|
|
274
|
+
"none": "— None —",
|
|
275
|
+
"previewCount": "{count} options detected",
|
|
276
|
+
"responsePath": "Response path",
|
|
277
|
+
"responsePathHint": "Optional. Use a path like \"data.users\" if the array is nested.",
|
|
278
|
+
"responsePathPlaceholder": "e.g., data.users",
|
|
279
|
+
"staticOptions": "Static options",
|
|
280
|
+
"staticOptionsHint": "Options are defined manually in the editor.",
|
|
281
|
+
"title": "Options source",
|
|
282
|
+
"urlRequired": "URL is required.",
|
|
283
|
+
"valueField": "Value",
|
|
284
|
+
"valueFieldPlaceholder": "Path to value (e.g., id)"
|
|
285
|
+
},
|
|
212
286
|
"selectInputType": {
|
|
213
287
|
"type": "النوع"
|
|
214
288
|
},
|
|
@@ -290,6 +364,9 @@ declare const _default: {
|
|
|
290
364
|
"search": "بحث...",
|
|
291
365
|
"selectOption": "اختر خياراً"
|
|
292
366
|
},
|
|
367
|
+
"defaultCheckboxInput": {
|
|
368
|
+
"loadingOptions": "جاري تحميل الخيارات..."
|
|
369
|
+
},
|
|
293
370
|
"defaultHttpInput": {
|
|
294
371
|
"fetchFailed": "فشل في جلب البيانات. يرجى التحقق من اتصالك بالشبكة.",
|
|
295
372
|
"httpError": "خطأ HTTP {status}: {statusText}",
|
|
@@ -318,6 +395,9 @@ declare const _default: {
|
|
|
318
395
|
"startDate": "تاريخ البدء",
|
|
319
396
|
"startTime": "وقت البدء"
|
|
320
397
|
},
|
|
398
|
+
"defaultRadioInput": {
|
|
399
|
+
"loadingOptions": "جاري تحميل الخيارات..."
|
|
400
|
+
},
|
|
321
401
|
"defaultSelectInput": {
|
|
322
402
|
"selectOption": "اختر خياراً"
|
|
323
403
|
},
|
|
@@ -15,6 +15,7 @@ declare const _default: {
|
|
|
15
15
|
"editor": {
|
|
16
16
|
"actionsPanel": {
|
|
17
17
|
"addNode": "Element hinzufügen",
|
|
18
|
+
"authorize": "Authorize",
|
|
18
19
|
"clear": "Löschen",
|
|
19
20
|
"clearSuccess": "Fluss geleert!",
|
|
20
21
|
"clearSuccessDesc": "Alle Knoten und Kanten wurden entfernt.",
|
|
@@ -22,12 +23,14 @@ declare const _default: {
|
|
|
22
23
|
"downloadSuccess": "Download erfolgreich.",
|
|
23
24
|
"downloadSuccessDesc": "Der Ablauf wurde erfolgreich exportiert.",
|
|
24
25
|
"exportJson": "JSON exportieren",
|
|
26
|
+
"globalHeaders": "Global headers",
|
|
25
27
|
"idCopied": "Flow‑ID kopiert!",
|
|
26
28
|
"importJson": "JSON importieren",
|
|
27
29
|
"importSuccess": "Import erfolgreich!",
|
|
28
30
|
"importSuccessDesc": "Der Ablauf wurde erfolgreich importiert.",
|
|
29
31
|
"invalidJson": "Ungültige JSON-Datei.",
|
|
30
32
|
"invalidJsonDesc": "Die Datei muss Knoten- und Kanten-Arrays enthalten.",
|
|
33
|
+
"openApi": "OpenAPI",
|
|
31
34
|
"parseError": "Fehler beim Parsen der JSON-Datei.",
|
|
32
35
|
"parseErrorDesc": "Versuchen Sie, die Datei zu korrigieren und erneut zu importieren."
|
|
33
36
|
},
|
|
@@ -51,6 +54,24 @@ declare const _default: {
|
|
|
51
54
|
"titleDescription": "Beschreiben Sie das Formular oder den Entscheidungsbaum, den Sie erstellen möchten, und die KI wird ihn für Sie generieren.",
|
|
52
55
|
"unknownError": "Unbekannter Fehler aufgetreten"
|
|
53
56
|
},
|
|
57
|
+
"apiUrlCombobox": {
|
|
58
|
+
"browseRoutes": "Browse OpenAPI routes",
|
|
59
|
+
"noRoutes": "No matching route",
|
|
60
|
+
"searchRoutes": "Search by method, path, or summary"
|
|
61
|
+
},
|
|
62
|
+
"authorizeDialog": {
|
|
63
|
+
"apiKeyLabel": "API key",
|
|
64
|
+
"apply": "Apply",
|
|
65
|
+
"bearerLabel": "Bearer token",
|
|
66
|
+
"clear": "Clear",
|
|
67
|
+
"description": "Authenticate against the API to forward credentials to every request issued by the form.",
|
|
68
|
+
"exchangeFailed": "Failed to fetch access token",
|
|
69
|
+
"noSchemes": "No supported security schemes are declared in this OpenAPI document.",
|
|
70
|
+
"oauth2PasswordLabel": "OAuth2 password",
|
|
71
|
+
"passwordPlaceholder": "Password",
|
|
72
|
+
"title": "Authorize",
|
|
73
|
+
"usernamePlaceholder": "Username"
|
|
74
|
+
},
|
|
54
75
|
"changeNodeTypeDialog": {
|
|
55
76
|
"description": "Dieser Knoten hat mehrere ausgehende Verzweigungen. Der neue Typ unterstützt nur eine. Wählen Sie, welche Verzweigung beibehalten werden soll; die anderen werden entfernt.",
|
|
56
77
|
"keepBranch": "Diese Verzweigung behalten",
|
|
@@ -101,6 +122,15 @@ declare const _default: {
|
|
|
101
122
|
"groupNodeForm": {
|
|
102
123
|
"label": "Bezeichnung"
|
|
103
124
|
},
|
|
125
|
+
"headersDialog": {
|
|
126
|
+
"addHeader": "Add header",
|
|
127
|
+
"description": "These headers are forwarded to every HTTP request issued by the form (HTTP inputs, submit, options sources). Field-level headers with the same key override these.",
|
|
128
|
+
"empty": "No headers yet.",
|
|
129
|
+
"keyPlaceholder": "Authorization",
|
|
130
|
+
"removeHeader": "Remove header",
|
|
131
|
+
"title": "Global headers",
|
|
132
|
+
"valuePlaceholder": "Bearer ..."
|
|
133
|
+
},
|
|
104
134
|
"httpConfigForm": {
|
|
105
135
|
"addHeader": "Header hinzufügen",
|
|
106
136
|
"apiUrl": "API-URL",
|
|
@@ -153,7 +183,9 @@ declare const _default: {
|
|
|
153
183
|
"defaultValueTypeNone": "Keiner",
|
|
154
184
|
"defaultValueTypeReference": "Referenzfeld",
|
|
155
185
|
"defaultValueTypeStatic": "Statischer Wert",
|
|
186
|
+
"deleteOption": "Option löschen",
|
|
156
187
|
"disablePast": "Vergangene Daten deaktivieren",
|
|
188
|
+
"editOption": "Option bearbeiten",
|
|
157
189
|
"errorMessage": "Fehlermeldung",
|
|
158
190
|
"helperText": "Hilfetext",
|
|
159
191
|
"httpConfiguration": "HTTP-Konfiguration",
|
|
@@ -209,6 +241,48 @@ declare const _default: {
|
|
|
209
241
|
"deleteNodeSuccess": "Knoten erfolgreich gelöscht",
|
|
210
242
|
"editNode": "Knoten bearbeiten"
|
|
211
243
|
},
|
|
244
|
+
"openApiDialog": {
|
|
245
|
+
"baseUrlHint": "Optional. Overrides the document's first server URL — useful when the spec points at a different environment.",
|
|
246
|
+
"baseUrlLabel": "Base URL override",
|
|
247
|
+
"clear": "Clear",
|
|
248
|
+
"cleared": "OpenAPI cleared.",
|
|
249
|
+
"description": "Provide an OpenAPI 3.x document to power URL suggestions and Authorize.",
|
|
250
|
+
"emptyInput": "Please provide a URL or paste a JSON document.",
|
|
251
|
+
"jsonLabel": "Paste your OpenAPI JSON",
|
|
252
|
+
"load": "Load",
|
|
253
|
+
"loadFailed": "Failed to load OpenAPI document",
|
|
254
|
+
"loadSuccess": "OpenAPI loaded.",
|
|
255
|
+
"modeJson": "Paste JSON",
|
|
256
|
+
"modeUrl": "From URL",
|
|
257
|
+
"title": "OpenAPI source",
|
|
258
|
+
"urlLabel": "OpenAPI document URL"
|
|
259
|
+
},
|
|
260
|
+
"optionsSourceForm": {
|
|
261
|
+
"descriptionField": "Description",
|
|
262
|
+
"descriptionFieldPlaceholder": "Path to description (optional)",
|
|
263
|
+
"detect": "Detect fields",
|
|
264
|
+
"detectFailed": "Failed to fetch the API.",
|
|
265
|
+
"detectSuccess": "Fields detected.",
|
|
266
|
+
"disable": "Use static options",
|
|
267
|
+
"dynamicHint": "Options are fetched from this API at runtime.",
|
|
268
|
+
"enable": "Fetch from API",
|
|
269
|
+
"imageField": "Image",
|
|
270
|
+
"imageFieldPlaceholder": "Path to image URL (optional)",
|
|
271
|
+
"labelField": "Label",
|
|
272
|
+
"labelFieldPlaceholder": "Path to label (e.g., name)",
|
|
273
|
+
"noFieldsDetected": "No fields detected — check the URL or response path.",
|
|
274
|
+
"none": "— None —",
|
|
275
|
+
"previewCount": "{count} options detected",
|
|
276
|
+
"responsePath": "Response path",
|
|
277
|
+
"responsePathHint": "Optional. Use a path like \"data.users\" if the array is nested.",
|
|
278
|
+
"responsePathPlaceholder": "e.g., data.users",
|
|
279
|
+
"staticOptions": "Static options",
|
|
280
|
+
"staticOptionsHint": "Options are defined manually in the editor.",
|
|
281
|
+
"title": "Options source",
|
|
282
|
+
"urlRequired": "URL is required.",
|
|
283
|
+
"valueField": "Value",
|
|
284
|
+
"valueFieldPlaceholder": "Path to value (e.g., id)"
|
|
285
|
+
},
|
|
212
286
|
"selectInputType": {
|
|
213
287
|
"type": "Typ"
|
|
214
288
|
},
|
|
@@ -290,6 +364,9 @@ declare const _default: {
|
|
|
290
364
|
"search": "Suchen...",
|
|
291
365
|
"selectOption": "Option auswählen"
|
|
292
366
|
},
|
|
367
|
+
"defaultCheckboxInput": {
|
|
368
|
+
"loadingOptions": "Optionen werden geladen..."
|
|
369
|
+
},
|
|
293
370
|
"defaultHttpInput": {
|
|
294
371
|
"fetchFailed": "Fehler beim Abrufen der Daten. Bitte überprüfen Sie Ihre Netzwerkverbindung.",
|
|
295
372
|
"httpError": "HTTP-Fehler {status}: {statusText}",
|
|
@@ -318,6 +395,9 @@ declare const _default: {
|
|
|
318
395
|
"startDate": "Startdatum",
|
|
319
396
|
"startTime": "Startzeit"
|
|
320
397
|
},
|
|
398
|
+
"defaultRadioInput": {
|
|
399
|
+
"loadingOptions": "Optionen werden geladen..."
|
|
400
|
+
},
|
|
321
401
|
"defaultSelectInput": {
|
|
322
402
|
"selectOption": "Option auswählen"
|
|
323
403
|
},
|
|
@@ -15,6 +15,7 @@ declare const _default: {
|
|
|
15
15
|
"editor": {
|
|
16
16
|
"actionsPanel": {
|
|
17
17
|
"addNode": "Add Element",
|
|
18
|
+
"authorize": "Authorize",
|
|
18
19
|
"clear": "Clear",
|
|
19
20
|
"clearSuccess": "Flow cleared!",
|
|
20
21
|
"clearSuccessDesc": "All nodes and edges have been removed.",
|
|
@@ -22,12 +23,14 @@ declare const _default: {
|
|
|
22
23
|
"downloadSuccess": "Download successfully.",
|
|
23
24
|
"downloadSuccessDesc": "The flow has been exported successfully.",
|
|
24
25
|
"exportJson": "Export JSON",
|
|
26
|
+
"globalHeaders": "Global headers",
|
|
25
27
|
"idCopied": "Flow ID copied!",
|
|
26
28
|
"importJson": "Import JSON",
|
|
27
29
|
"importSuccess": "Import successful!",
|
|
28
30
|
"importSuccessDesc": "The flow has been imported successfully.",
|
|
29
31
|
"invalidJson": "Invalid JSON file.",
|
|
30
32
|
"invalidJsonDesc": "The file must contain nodes and edges arrays.",
|
|
33
|
+
"openApi": "OpenAPI",
|
|
31
34
|
"parseError": "Error parsing JSON file.",
|
|
32
35
|
"parseErrorDesc": "Try to fix the file and import it again."
|
|
33
36
|
},
|
|
@@ -51,6 +54,24 @@ declare const _default: {
|
|
|
51
54
|
"titleDescription": "Describe the form or decision tree you want to create, and AI will generate it for you.",
|
|
52
55
|
"unknownError": "Unknown error occurred"
|
|
53
56
|
},
|
|
57
|
+
"apiUrlCombobox": {
|
|
58
|
+
"browseRoutes": "Browse OpenAPI routes",
|
|
59
|
+
"noRoutes": "No matching route",
|
|
60
|
+
"searchRoutes": "Search by method, path, or summary"
|
|
61
|
+
},
|
|
62
|
+
"authorizeDialog": {
|
|
63
|
+
"apiKeyLabel": "API key",
|
|
64
|
+
"apply": "Apply",
|
|
65
|
+
"bearerLabel": "Bearer token",
|
|
66
|
+
"clear": "Clear",
|
|
67
|
+
"description": "Authenticate against the API to forward credentials to every request issued by the form.",
|
|
68
|
+
"exchangeFailed": "Failed to fetch access token",
|
|
69
|
+
"noSchemes": "No supported security schemes are declared in this OpenAPI document.",
|
|
70
|
+
"oauth2PasswordLabel": "OAuth2 password",
|
|
71
|
+
"passwordPlaceholder": "Password",
|
|
72
|
+
"title": "Authorize",
|
|
73
|
+
"usernamePlaceholder": "Username"
|
|
74
|
+
},
|
|
54
75
|
"changeNodeTypeDialog": {
|
|
55
76
|
"description": "This node has several outgoing branches. The new type only supports one. Choose which branch to keep; the others will be removed.",
|
|
56
77
|
"keepBranch": "Keep this branch",
|
|
@@ -101,6 +122,15 @@ declare const _default: {
|
|
|
101
122
|
"groupNodeForm": {
|
|
102
123
|
"label": "Label"
|
|
103
124
|
},
|
|
125
|
+
"headersDialog": {
|
|
126
|
+
"addHeader": "Add header",
|
|
127
|
+
"description": "These headers are forwarded to every HTTP request issued by the form (HTTP inputs, submit, options sources). Field-level headers with the same key override these.",
|
|
128
|
+
"empty": "No headers yet.",
|
|
129
|
+
"keyPlaceholder": "Authorization",
|
|
130
|
+
"removeHeader": "Remove header",
|
|
131
|
+
"title": "Global headers",
|
|
132
|
+
"valuePlaceholder": "Bearer ..."
|
|
133
|
+
},
|
|
104
134
|
"httpConfigForm": {
|
|
105
135
|
"addHeader": "Add header",
|
|
106
136
|
"apiUrl": "API URL",
|
|
@@ -153,7 +183,9 @@ declare const _default: {
|
|
|
153
183
|
"defaultValueTypeNone": "None",
|
|
154
184
|
"defaultValueTypeReference": "Reference Field",
|
|
155
185
|
"defaultValueTypeStatic": "Static Value",
|
|
186
|
+
"deleteOption": "Delete option",
|
|
156
187
|
"disablePast": "Disable past dates",
|
|
188
|
+
"editOption": "Edit option",
|
|
157
189
|
"errorMessage": "Error message",
|
|
158
190
|
"helperText": "Helper text",
|
|
159
191
|
"httpConfiguration": "HTTP Configuration",
|
|
@@ -209,6 +241,48 @@ declare const _default: {
|
|
|
209
241
|
"deleteNodeSuccess": "Node deleted successfully",
|
|
210
242
|
"editNode": "Edit node"
|
|
211
243
|
},
|
|
244
|
+
"openApiDialog": {
|
|
245
|
+
"baseUrlHint": "Optional. Overrides the document's first server URL — useful when the spec points at a different environment.",
|
|
246
|
+
"baseUrlLabel": "Base URL override",
|
|
247
|
+
"clear": "Clear",
|
|
248
|
+
"cleared": "OpenAPI cleared.",
|
|
249
|
+
"description": "Provide an OpenAPI 3.x document to power URL suggestions and Authorize.",
|
|
250
|
+
"emptyInput": "Please provide a URL or paste a JSON document.",
|
|
251
|
+
"jsonLabel": "Paste your OpenAPI JSON",
|
|
252
|
+
"load": "Load",
|
|
253
|
+
"loadFailed": "Failed to load OpenAPI document",
|
|
254
|
+
"loadSuccess": "OpenAPI loaded.",
|
|
255
|
+
"modeJson": "Paste JSON",
|
|
256
|
+
"modeUrl": "From URL",
|
|
257
|
+
"title": "OpenAPI source",
|
|
258
|
+
"urlLabel": "OpenAPI document URL"
|
|
259
|
+
},
|
|
260
|
+
"optionsSourceForm": {
|
|
261
|
+
"descriptionField": "Description",
|
|
262
|
+
"descriptionFieldPlaceholder": "Path to description (optional)",
|
|
263
|
+
"detect": "Detect fields",
|
|
264
|
+
"detectFailed": "Failed to fetch the API.",
|
|
265
|
+
"detectSuccess": "Fields detected.",
|
|
266
|
+
"disable": "Use static options",
|
|
267
|
+
"dynamicHint": "Options are fetched from this API at runtime.",
|
|
268
|
+
"enable": "Fetch from API",
|
|
269
|
+
"imageField": "Image",
|
|
270
|
+
"imageFieldPlaceholder": "Path to image URL (optional)",
|
|
271
|
+
"labelField": "Label",
|
|
272
|
+
"labelFieldPlaceholder": "Path to label (e.g., name)",
|
|
273
|
+
"noFieldsDetected": "No fields detected — check the URL or response path.",
|
|
274
|
+
"none": "— None —",
|
|
275
|
+
"previewCount": "{count} options detected",
|
|
276
|
+
"responsePath": "Response path",
|
|
277
|
+
"responsePathHint": "Optional. Use a path like \"data.users\" if the array is nested.",
|
|
278
|
+
"responsePathPlaceholder": "e.g., data.users",
|
|
279
|
+
"staticOptions": "Static options",
|
|
280
|
+
"staticOptionsHint": "Options are defined manually in the editor.",
|
|
281
|
+
"title": "Options source",
|
|
282
|
+
"urlRequired": "URL is required.",
|
|
283
|
+
"valueField": "Value",
|
|
284
|
+
"valueFieldPlaceholder": "Path to value (e.g., id)"
|
|
285
|
+
},
|
|
212
286
|
"selectInputType": {
|
|
213
287
|
"type": "Type"
|
|
214
288
|
},
|
|
@@ -290,6 +364,9 @@ declare const _default: {
|
|
|
290
364
|
"search": "Search...",
|
|
291
365
|
"selectOption": "Select an option"
|
|
292
366
|
},
|
|
367
|
+
"defaultCheckboxInput": {
|
|
368
|
+
"loadingOptions": "Loading options..."
|
|
369
|
+
},
|
|
293
370
|
"defaultHttpInput": {
|
|
294
371
|
"fetchFailed": "Failed to fetch data. Please check your network connection.",
|
|
295
372
|
"httpError": "HTTP Error {status}: {statusText}",
|
|
@@ -318,6 +395,9 @@ declare const _default: {
|
|
|
318
395
|
"startDate": "Start date",
|
|
319
396
|
"startTime": "Start time"
|
|
320
397
|
},
|
|
398
|
+
"defaultRadioInput": {
|
|
399
|
+
"loadingOptions": "Loading options..."
|
|
400
|
+
},
|
|
321
401
|
"defaultSelectInput": {
|
|
322
402
|
"selectOption": "Select an option"
|
|
323
403
|
},
|
|
@@ -15,6 +15,7 @@ declare const _default: {
|
|
|
15
15
|
"editor": {
|
|
16
16
|
"actionsPanel": {
|
|
17
17
|
"addNode": "Agregar elemento",
|
|
18
|
+
"authorize": "Authorize",
|
|
18
19
|
"clear": "Limpiar",
|
|
19
20
|
"clearSuccess": "¡Flujo limpiado!",
|
|
20
21
|
"clearSuccessDesc": "Todos los nodos y aristas han sido eliminados.",
|
|
@@ -22,12 +23,14 @@ declare const _default: {
|
|
|
22
23
|
"downloadSuccess": "Descarga exitosa.",
|
|
23
24
|
"downloadSuccessDesc": "El flujo se ha exportado correctamente.",
|
|
24
25
|
"exportJson": "Exportar JSON",
|
|
26
|
+
"globalHeaders": "Global headers",
|
|
25
27
|
"idCopied": "ID del flujo copiado!",
|
|
26
28
|
"importJson": "Importar JSON",
|
|
27
29
|
"importSuccess": "¡Importación exitosa!",
|
|
28
30
|
"importSuccessDesc": "El flujo se ha importado correctamente.",
|
|
29
31
|
"invalidJson": "Archivo JSON inválido.",
|
|
30
32
|
"invalidJsonDesc": "El archivo debe contener matrices de nodos y aristas.",
|
|
33
|
+
"openApi": "OpenAPI",
|
|
31
34
|
"parseError": "Error al analizar el archivo JSON.",
|
|
32
35
|
"parseErrorDesc": "Intenta corregir el archivo e importarlo nuevamente."
|
|
33
36
|
},
|
|
@@ -51,6 +54,24 @@ declare const _default: {
|
|
|
51
54
|
"titleDescription": "Describa el formulario o árbol de decisión que desea crear, y la IA lo generará por usted.",
|
|
52
55
|
"unknownError": "Error desconocido"
|
|
53
56
|
},
|
|
57
|
+
"apiUrlCombobox": {
|
|
58
|
+
"browseRoutes": "Browse OpenAPI routes",
|
|
59
|
+
"noRoutes": "No matching route",
|
|
60
|
+
"searchRoutes": "Search by method, path, or summary"
|
|
61
|
+
},
|
|
62
|
+
"authorizeDialog": {
|
|
63
|
+
"apiKeyLabel": "API key",
|
|
64
|
+
"apply": "Apply",
|
|
65
|
+
"bearerLabel": "Bearer token",
|
|
66
|
+
"clear": "Clear",
|
|
67
|
+
"description": "Authenticate against the API to forward credentials to every request issued by the form.",
|
|
68
|
+
"exchangeFailed": "Failed to fetch access token",
|
|
69
|
+
"noSchemes": "No supported security schemes are declared in this OpenAPI document.",
|
|
70
|
+
"oauth2PasswordLabel": "OAuth2 password",
|
|
71
|
+
"passwordPlaceholder": "Password",
|
|
72
|
+
"title": "Authorize",
|
|
73
|
+
"usernamePlaceholder": "Username"
|
|
74
|
+
},
|
|
54
75
|
"changeNodeTypeDialog": {
|
|
55
76
|
"description": "Este nodo tiene varias ramas salientes. El nuevo tipo solo admite una. Elige qué rama conservar; las demás serán eliminadas.",
|
|
56
77
|
"keepBranch": "Conservar esta rama",
|
|
@@ -101,6 +122,15 @@ declare const _default: {
|
|
|
101
122
|
"groupNodeForm": {
|
|
102
123
|
"label": "Etiqueta"
|
|
103
124
|
},
|
|
125
|
+
"headersDialog": {
|
|
126
|
+
"addHeader": "Add header",
|
|
127
|
+
"description": "These headers are forwarded to every HTTP request issued by the form (HTTP inputs, submit, options sources). Field-level headers with the same key override these.",
|
|
128
|
+
"empty": "No headers yet.",
|
|
129
|
+
"keyPlaceholder": "Authorization",
|
|
130
|
+
"removeHeader": "Remove header",
|
|
131
|
+
"title": "Global headers",
|
|
132
|
+
"valuePlaceholder": "Bearer ..."
|
|
133
|
+
},
|
|
104
134
|
"httpConfigForm": {
|
|
105
135
|
"addHeader": "Agregar encabezado",
|
|
106
136
|
"apiUrl": "URL de la API",
|
|
@@ -153,7 +183,9 @@ declare const _default: {
|
|
|
153
183
|
"defaultValueTypeNone": "Ninguno",
|
|
154
184
|
"defaultValueTypeReference": "Campo de referencia",
|
|
155
185
|
"defaultValueTypeStatic": "Valor estático",
|
|
186
|
+
"deleteOption": "Eliminar opción",
|
|
156
187
|
"disablePast": "Desactivar fechas pasadas",
|
|
188
|
+
"editOption": "Editar opción",
|
|
157
189
|
"errorMessage": "Mensaje de error",
|
|
158
190
|
"helperText": "Texto de ayuda",
|
|
159
191
|
"httpConfiguration": "Configuración HTTP",
|
|
@@ -209,6 +241,48 @@ declare const _default: {
|
|
|
209
241
|
"deleteNodeSuccess": "Nodo eliminado exitosamente",
|
|
210
242
|
"editNode": "Editar nodo"
|
|
211
243
|
},
|
|
244
|
+
"openApiDialog": {
|
|
245
|
+
"baseUrlHint": "Optional. Overrides the document's first server URL — useful when the spec points at a different environment.",
|
|
246
|
+
"baseUrlLabel": "Base URL override",
|
|
247
|
+
"clear": "Clear",
|
|
248
|
+
"cleared": "OpenAPI cleared.",
|
|
249
|
+
"description": "Provide an OpenAPI 3.x document to power URL suggestions and Authorize.",
|
|
250
|
+
"emptyInput": "Please provide a URL or paste a JSON document.",
|
|
251
|
+
"jsonLabel": "Paste your OpenAPI JSON",
|
|
252
|
+
"load": "Load",
|
|
253
|
+
"loadFailed": "Failed to load OpenAPI document",
|
|
254
|
+
"loadSuccess": "OpenAPI loaded.",
|
|
255
|
+
"modeJson": "Paste JSON",
|
|
256
|
+
"modeUrl": "From URL",
|
|
257
|
+
"title": "OpenAPI source",
|
|
258
|
+
"urlLabel": "OpenAPI document URL"
|
|
259
|
+
},
|
|
260
|
+
"optionsSourceForm": {
|
|
261
|
+
"descriptionField": "Description",
|
|
262
|
+
"descriptionFieldPlaceholder": "Path to description (optional)",
|
|
263
|
+
"detect": "Detect fields",
|
|
264
|
+
"detectFailed": "Failed to fetch the API.",
|
|
265
|
+
"detectSuccess": "Fields detected.",
|
|
266
|
+
"disable": "Use static options",
|
|
267
|
+
"dynamicHint": "Options are fetched from this API at runtime.",
|
|
268
|
+
"enable": "Fetch from API",
|
|
269
|
+
"imageField": "Image",
|
|
270
|
+
"imageFieldPlaceholder": "Path to image URL (optional)",
|
|
271
|
+
"labelField": "Label",
|
|
272
|
+
"labelFieldPlaceholder": "Path to label (e.g., name)",
|
|
273
|
+
"noFieldsDetected": "No fields detected — check the URL or response path.",
|
|
274
|
+
"none": "— None —",
|
|
275
|
+
"previewCount": "{count} options detected",
|
|
276
|
+
"responsePath": "Response path",
|
|
277
|
+
"responsePathHint": "Optional. Use a path like \"data.users\" if the array is nested.",
|
|
278
|
+
"responsePathPlaceholder": "e.g., data.users",
|
|
279
|
+
"staticOptions": "Static options",
|
|
280
|
+
"staticOptionsHint": "Options are defined manually in the editor.",
|
|
281
|
+
"title": "Options source",
|
|
282
|
+
"urlRequired": "URL is required.",
|
|
283
|
+
"valueField": "Value",
|
|
284
|
+
"valueFieldPlaceholder": "Path to value (e.g., id)"
|
|
285
|
+
},
|
|
212
286
|
"selectInputType": {
|
|
213
287
|
"type": "Tipo"
|
|
214
288
|
},
|
|
@@ -290,6 +364,9 @@ declare const _default: {
|
|
|
290
364
|
"search": "Buscar...",
|
|
291
365
|
"selectOption": "Seleccionar una opción"
|
|
292
366
|
},
|
|
367
|
+
"defaultCheckboxInput": {
|
|
368
|
+
"loadingOptions": "Cargando opciones..."
|
|
369
|
+
},
|
|
293
370
|
"defaultHttpInput": {
|
|
294
371
|
"fetchFailed": "Error al obtener los datos. Por favor, verifique su conexión de red.",
|
|
295
372
|
"httpError": "Error HTTP {status}: {statusText}",
|
|
@@ -318,6 +395,9 @@ declare const _default: {
|
|
|
318
395
|
"startDate": "Fecha de inicio",
|
|
319
396
|
"startTime": "Hora de inicio"
|
|
320
397
|
},
|
|
398
|
+
"defaultRadioInput": {
|
|
399
|
+
"loadingOptions": "Cargando opciones..."
|
|
400
|
+
},
|
|
321
401
|
"defaultSelectInput": {
|
|
322
402
|
"selectOption": "Seleccionar una opción"
|
|
323
403
|
},
|