treege 3.0.0-beta.44 → 3.0.0-beta.46
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-7fXlu0uL.js +1734 -0
- package/dist/ThemeContext-CNsS53ku.js +1454 -0
- package/dist/editor/constants/nodeTypes.d.ts +1 -1
- 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/NodeGroupBadge.d.ts +5 -0
- 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/nodes/layout/NodeWrapper.d.ts +1 -2
- 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/dagreLayout.d.ts +5 -2
- package/dist/editor/utils/groupColor.d.ts +14 -0
- package/dist/editor/utils/openapi.d.ts +35 -0
- package/dist/editor-DLKg7ri7.js +5209 -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/native/components/DefaultStep.d.ts +3 -0
- package/dist/renderer/features/TreegeRenderer/useTreegeRenderer.d.ts +15 -6
- 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/features/TreegeRenderer/web/components/DefaultStep.d.ts +3 -0
- package/dist/renderer/hooks/useInputOptions.d.ts +28 -0
- package/dist/renderer/hooks/useRenderNode.d.ts +7 -5
- package/dist/renderer/hooks/useSubmitHandler.d.ts +3 -2
- package/dist/renderer/index.d.ts +1 -1
- package/dist/renderer/index.native.d.ts +1 -1
- package/dist/renderer/types/renderer.d.ts +55 -29
- package/dist/renderer/utils/http.d.ts +29 -1
- package/dist/renderer/utils/step.d.ts +27 -0
- package/dist/renderer/utils/submit.d.ts +3 -2
- package/dist/renderer-native.js +961 -877
- 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 +86 -1
- package/dist/shared/locales/de.json.d.ts +86 -1
- package/dist/shared/locales/en.json.d.ts +86 -1
- package/dist/shared/locales/es.json.d.ts +86 -1
- package/dist/shared/locales/fr.json.d.ts +86 -1
- package/dist/shared/locales/it.json.d.ts +86 -1
- package/dist/shared/locales/pt.json.d.ts +86 -1
- 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/GroupNode.d.ts +0 -6
- 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/features/TreegeRenderer/native/components/DefaultGroup.d.ts +0 -7
- package/dist/renderer/features/TreegeRenderer/web/components/DefaultGroup.d.ts +0 -6
package/dist/renderer.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { C as e, D as t,
|
|
2
|
-
import { C as S,
|
|
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-CNsS53ku.js";
|
|
2
|
+
import { C as S, E as C, S as w, T, _ as E, a as D, b as O, d as k, f as A, i as j, l as M, m as N, n as P, p as F, r as I, s as L, t as R, u as z, v as B, w as V, x as H, y as U } from "./DefaultInputs-7fXlu0uL.js";
|
|
3
|
+
export { C as DefaultAddressInput, T as DefaultAutocompleteInput, V as DefaultCheckboxInput, S as DefaultDateInput, w as DefaultDateRangeInput, H as DefaultFileInput, O as DefaultHiddenInput, U as DefaultHttpInput, B as DefaultNumberInput, E as DefaultPasswordInput, N as DefaultRadioInput, F as DefaultSelectInput, L as DefaultSwitchInput, D as DefaultTextAreaInput, j as DefaultTextInput, I as DefaultTimeInput, P as DefaultTimeRangeInput, z as Divider, y as ThemeProvider, k as Title, u as TreegeConfigProvider, M as TreegeRenderer, b as applyReferenceTransformation, c as calculateReferenceFieldUpdates, n as checkFormFieldHasValue, t as convertFormValuesToNamedFormat, R 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
|
},
|
|
@@ -223,7 +297,8 @@ declare const _default: {
|
|
|
223
297
|
"groupNamePlaceholder": "مثال: الخطوة 1 - معلومات شخصية",
|
|
224
298
|
"newGroup": "مجموعة جديدة",
|
|
225
299
|
"newGroupDescription": "سيتم إنشاء المجموعة حول العقدة المحددة.",
|
|
226
|
-
"noGroup": "بدون مجموعة"
|
|
300
|
+
"noGroup": "بدون مجموعة",
|
|
301
|
+
"renameGroup": "إعادة تسمية المجموعة"
|
|
227
302
|
},
|
|
228
303
|
"selectNodeType": {
|
|
229
304
|
"nodeType": "نوع العقدة",
|
|
@@ -290,6 +365,9 @@ declare const _default: {
|
|
|
290
365
|
"search": "بحث...",
|
|
291
366
|
"selectOption": "اختر خياراً"
|
|
292
367
|
},
|
|
368
|
+
"defaultCheckboxInput": {
|
|
369
|
+
"loadingOptions": "جاري تحميل الخيارات..."
|
|
370
|
+
},
|
|
293
371
|
"defaultHttpInput": {
|
|
294
372
|
"fetchFailed": "فشل في جلب البيانات. يرجى التحقق من اتصالك بالشبكة.",
|
|
295
373
|
"httpError": "خطأ HTTP {status}: {statusText}",
|
|
@@ -318,12 +396,19 @@ declare const _default: {
|
|
|
318
396
|
"startDate": "تاريخ البدء",
|
|
319
397
|
"startTime": "وقت البدء"
|
|
320
398
|
},
|
|
399
|
+
"defaultRadioInput": {
|
|
400
|
+
"loadingOptions": "جاري تحميل الخيارات..."
|
|
401
|
+
},
|
|
321
402
|
"defaultSelectInput": {
|
|
322
403
|
"selectOption": "اختر خياراً"
|
|
323
404
|
},
|
|
324
405
|
"defaultSubmitButton": {
|
|
325
406
|
"requiredFieldsMissing": "حقول مطلوبة مفقودة:",
|
|
326
407
|
"submit": "إرسال"
|
|
408
|
+
},
|
|
409
|
+
"step": {
|
|
410
|
+
"back": "رجوع",
|
|
411
|
+
"continue": "متابعة"
|
|
327
412
|
}
|
|
328
413
|
},
|
|
329
414
|
"validation": {
|
|
@@ -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
|
},
|
|
@@ -223,7 +297,8 @@ declare const _default: {
|
|
|
223
297
|
"groupNamePlaceholder": "z.B.: Schritt 1 - Persönliche Informationen",
|
|
224
298
|
"newGroup": "Neue Gruppe",
|
|
225
299
|
"newGroupDescription": "Die Gruppe wird um den ausgewählten Knoten herum erstellt.",
|
|
226
|
-
"noGroup": "Keine Gruppe"
|
|
300
|
+
"noGroup": "Keine Gruppe",
|
|
301
|
+
"renameGroup": "Gruppe umbenennen"
|
|
227
302
|
},
|
|
228
303
|
"selectNodeType": {
|
|
229
304
|
"nodeType": "Knotentyp",
|
|
@@ -290,6 +365,9 @@ declare const _default: {
|
|
|
290
365
|
"search": "Suchen...",
|
|
291
366
|
"selectOption": "Option auswählen"
|
|
292
367
|
},
|
|
368
|
+
"defaultCheckboxInput": {
|
|
369
|
+
"loadingOptions": "Optionen werden geladen..."
|
|
370
|
+
},
|
|
293
371
|
"defaultHttpInput": {
|
|
294
372
|
"fetchFailed": "Fehler beim Abrufen der Daten. Bitte überprüfen Sie Ihre Netzwerkverbindung.",
|
|
295
373
|
"httpError": "HTTP-Fehler {status}: {statusText}",
|
|
@@ -318,12 +396,19 @@ declare const _default: {
|
|
|
318
396
|
"startDate": "Startdatum",
|
|
319
397
|
"startTime": "Startzeit"
|
|
320
398
|
},
|
|
399
|
+
"defaultRadioInput": {
|
|
400
|
+
"loadingOptions": "Optionen werden geladen..."
|
|
401
|
+
},
|
|
321
402
|
"defaultSelectInput": {
|
|
322
403
|
"selectOption": "Option auswählen"
|
|
323
404
|
},
|
|
324
405
|
"defaultSubmitButton": {
|
|
325
406
|
"requiredFieldsMissing": "Erforderliche Felder fehlen",
|
|
326
407
|
"submit": "Senden"
|
|
408
|
+
},
|
|
409
|
+
"step": {
|
|
410
|
+
"back": "Zurück",
|
|
411
|
+
"continue": "Weiter"
|
|
327
412
|
}
|
|
328
413
|
},
|
|
329
414
|
"validation": {
|
|
@@ -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
|
},
|
|
@@ -223,7 +297,8 @@ declare const _default: {
|
|
|
223
297
|
"groupNamePlaceholder": "Ex: Step 1 - Personal info",
|
|
224
298
|
"newGroup": "New group",
|
|
225
299
|
"newGroupDescription": "The group will be created around the selected node.",
|
|
226
|
-
"noGroup": "No group"
|
|
300
|
+
"noGroup": "No group",
|
|
301
|
+
"renameGroup": "Rename group"
|
|
227
302
|
},
|
|
228
303
|
"selectNodeType": {
|
|
229
304
|
"nodeType": "Node Type",
|
|
@@ -290,6 +365,9 @@ declare const _default: {
|
|
|
290
365
|
"search": "Search...",
|
|
291
366
|
"selectOption": "Select an option"
|
|
292
367
|
},
|
|
368
|
+
"defaultCheckboxInput": {
|
|
369
|
+
"loadingOptions": "Loading options..."
|
|
370
|
+
},
|
|
293
371
|
"defaultHttpInput": {
|
|
294
372
|
"fetchFailed": "Failed to fetch data. Please check your network connection.",
|
|
295
373
|
"httpError": "HTTP Error {status}: {statusText}",
|
|
@@ -318,12 +396,19 @@ declare const _default: {
|
|
|
318
396
|
"startDate": "Start date",
|
|
319
397
|
"startTime": "Start time"
|
|
320
398
|
},
|
|
399
|
+
"defaultRadioInput": {
|
|
400
|
+
"loadingOptions": "Loading options..."
|
|
401
|
+
},
|
|
321
402
|
"defaultSelectInput": {
|
|
322
403
|
"selectOption": "Select an option"
|
|
323
404
|
},
|
|
324
405
|
"defaultSubmitButton": {
|
|
325
406
|
"requiredFieldsMissing": "Required fields missing",
|
|
326
407
|
"submit": "Submit"
|
|
408
|
+
},
|
|
409
|
+
"step": {
|
|
410
|
+
"back": "Back",
|
|
411
|
+
"continue": "Continue"
|
|
327
412
|
}
|
|
328
413
|
},
|
|
329
414
|
"validation": {
|