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
|
@@ -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
|
},
|
|
@@ -223,7 +297,8 @@ declare const _default: {
|
|
|
223
297
|
"groupNamePlaceholder": "Ej: Paso 1 - Información personal",
|
|
224
298
|
"newGroup": "Nuevo grupo",
|
|
225
299
|
"newGroupDescription": "El grupo se creará alrededor del nodo seleccionado.",
|
|
226
|
-
"noGroup": "Sin grupo"
|
|
300
|
+
"noGroup": "Sin grupo",
|
|
301
|
+
"renameGroup": "Renombrar grupo"
|
|
227
302
|
},
|
|
228
303
|
"selectNodeType": {
|
|
229
304
|
"nodeType": "Tipo de nodo",
|
|
@@ -290,6 +365,9 @@ declare const _default: {
|
|
|
290
365
|
"search": "Buscar...",
|
|
291
366
|
"selectOption": "Seleccionar una opción"
|
|
292
367
|
},
|
|
368
|
+
"defaultCheckboxInput": {
|
|
369
|
+
"loadingOptions": "Cargando opciones..."
|
|
370
|
+
},
|
|
293
371
|
"defaultHttpInput": {
|
|
294
372
|
"fetchFailed": "Error al obtener los datos. Por favor, verifique su conexión de red.",
|
|
295
373
|
"httpError": "Error HTTP {status}: {statusText}",
|
|
@@ -318,12 +396,19 @@ declare const _default: {
|
|
|
318
396
|
"startDate": "Fecha de inicio",
|
|
319
397
|
"startTime": "Hora de inicio"
|
|
320
398
|
},
|
|
399
|
+
"defaultRadioInput": {
|
|
400
|
+
"loadingOptions": "Cargando opciones..."
|
|
401
|
+
},
|
|
321
402
|
"defaultSelectInput": {
|
|
322
403
|
"selectOption": "Seleccionar una opción"
|
|
323
404
|
},
|
|
324
405
|
"defaultSubmitButton": {
|
|
325
406
|
"requiredFieldsMissing": "Faltan campos obligatorios",
|
|
326
407
|
"submit": "Enviar"
|
|
408
|
+
},
|
|
409
|
+
"step": {
|
|
410
|
+
"back": "Atrás",
|
|
411
|
+
"continue": "Continuar"
|
|
327
412
|
}
|
|
328
413
|
},
|
|
329
414
|
"validation": {
|
|
@@ -15,6 +15,7 @@ declare const _default: {
|
|
|
15
15
|
"editor": {
|
|
16
16
|
"actionsPanel": {
|
|
17
17
|
"addNode": "Ajouter un élément",
|
|
18
|
+
"authorize": "Autoriser",
|
|
18
19
|
"clear": "Supprimer",
|
|
19
20
|
"clearSuccess": "Flux vidé !",
|
|
20
21
|
"clearSuccessDesc": "Tous les nœuds et arêtes ont été supprimés.",
|
|
@@ -22,12 +23,14 @@ declare const _default: {
|
|
|
22
23
|
"downloadSuccess": "Téléchargement réussi.",
|
|
23
24
|
"downloadSuccessDesc": "Le flux a été exporté avec succès.",
|
|
24
25
|
"exportJson": "Exporter JSON",
|
|
26
|
+
"globalHeaders": "Headers globaux",
|
|
25
27
|
"idCopied": "ID du flux copié !",
|
|
26
28
|
"importJson": "Importer JSON",
|
|
27
29
|
"importSuccess": "Importation réussie !",
|
|
28
30
|
"importSuccessDesc": "Le flux a été importé avec succès.",
|
|
29
31
|
"invalidJson": "Fichier JSON invalide.",
|
|
30
32
|
"invalidJsonDesc": "Le fichier doit contenir des tableaux de nœuds et d'arêtes.",
|
|
33
|
+
"openApi": "OpenAPI",
|
|
31
34
|
"parseError": "Erreur d'analyse du fichier JSON.",
|
|
32
35
|
"parseErrorDesc": "Essayez de corriger le fichier et de l'importer à nouveau."
|
|
33
36
|
},
|
|
@@ -51,6 +54,24 @@ declare const _default: {
|
|
|
51
54
|
"titleDescription": "Décrivez le formulaire ou l'arbre de décision que vous souhaitez créer, et l'IA le générera pour vous.",
|
|
52
55
|
"unknownError": "Erreur inconnue"
|
|
53
56
|
},
|
|
57
|
+
"apiUrlCombobox": {
|
|
58
|
+
"browseRoutes": "Parcourir les routes OpenAPI",
|
|
59
|
+
"noRoutes": "Aucune route correspondante",
|
|
60
|
+
"searchRoutes": "Rechercher par méthode, chemin ou résumé"
|
|
61
|
+
},
|
|
62
|
+
"authorizeDialog": {
|
|
63
|
+
"apiKeyLabel": "Clé d'API",
|
|
64
|
+
"apply": "Appliquer",
|
|
65
|
+
"bearerLabel": "Jeton Bearer",
|
|
66
|
+
"clear": "Effacer",
|
|
67
|
+
"description": "Authentifiez-vous auprès de l'API pour transmettre les identifiants à chaque requête émise par le formulaire.",
|
|
68
|
+
"exchangeFailed": "Échec de l'obtention du token d'accès",
|
|
69
|
+
"noSchemes": "Aucun schéma de sécurité supporté n'est déclaré dans ce document OpenAPI.",
|
|
70
|
+
"oauth2PasswordLabel": "OAuth2 mot de passe",
|
|
71
|
+
"passwordPlaceholder": "Mot de passe",
|
|
72
|
+
"title": "Autoriser",
|
|
73
|
+
"usernamePlaceholder": "Nom d'utilisateur"
|
|
74
|
+
},
|
|
54
75
|
"changeNodeTypeDialog": {
|
|
55
76
|
"description": "Ce nœud possède plusieurs branches sortantes. Le nouveau type n'en supporte qu'une seule. Choisissez la branche à conserver ; les autres seront supprimées.",
|
|
56
77
|
"keepBranch": "Conserver cette branche",
|
|
@@ -101,6 +122,15 @@ declare const _default: {
|
|
|
101
122
|
"groupNodeForm": {
|
|
102
123
|
"label": "Libellé"
|
|
103
124
|
},
|
|
125
|
+
"headersDialog": {
|
|
126
|
+
"addHeader": "Ajouter un header",
|
|
127
|
+
"description": "Ces headers sont transmis à chaque requête HTTP émise par le formulaire (inputs HTTP, submit, sources d'options). Les headers field-level avec la même clé prennent le dessus.",
|
|
128
|
+
"empty": "Aucun header pour l'instant.",
|
|
129
|
+
"keyPlaceholder": "Authorization",
|
|
130
|
+
"removeHeader": "Supprimer le header",
|
|
131
|
+
"title": "Headers globaux",
|
|
132
|
+
"valuePlaceholder": "Bearer ..."
|
|
133
|
+
},
|
|
104
134
|
"httpConfigForm": {
|
|
105
135
|
"addHeader": "Ajouter un en-tête",
|
|
106
136
|
"apiUrl": "URL de l'API",
|
|
@@ -153,7 +183,9 @@ declare const _default: {
|
|
|
153
183
|
"defaultValueTypeNone": "Aucun",
|
|
154
184
|
"defaultValueTypeReference": "Champ de référence",
|
|
155
185
|
"defaultValueTypeStatic": "Valeur statique",
|
|
186
|
+
"deleteOption": "Supprimer l'option",
|
|
156
187
|
"disablePast": "Désactiver les dates passées",
|
|
188
|
+
"editOption": "Modifier l'option",
|
|
157
189
|
"errorMessage": "Message d'erreur",
|
|
158
190
|
"helperText": "Texte d'aide",
|
|
159
191
|
"httpConfiguration": "Configuration HTTP",
|
|
@@ -209,6 +241,48 @@ declare const _default: {
|
|
|
209
241
|
"deleteNodeSuccess": "Nœud supprimé avec succès",
|
|
210
242
|
"editNode": "Modifier le nœud"
|
|
211
243
|
},
|
|
244
|
+
"openApiDialog": {
|
|
245
|
+
"baseUrlHint": "Optionnel. Remplace l'URL du premier serveur du document — utile quand la spec pointe vers un autre environnement.",
|
|
246
|
+
"baseUrlLabel": "Override de l'URL de base",
|
|
247
|
+
"clear": "Effacer",
|
|
248
|
+
"cleared": "OpenAPI effacé.",
|
|
249
|
+
"description": "Fournissez un document OpenAPI 3.x pour activer les suggestions d'URL et l'autorisation.",
|
|
250
|
+
"emptyInput": "Veuillez fournir une URL ou coller un document JSON.",
|
|
251
|
+
"jsonLabel": "Collez votre OpenAPI JSON",
|
|
252
|
+
"load": "Charger",
|
|
253
|
+
"loadFailed": "Échec du chargement du document OpenAPI",
|
|
254
|
+
"loadSuccess": "OpenAPI chargé.",
|
|
255
|
+
"modeJson": "Coller JSON",
|
|
256
|
+
"modeUrl": "Depuis URL",
|
|
257
|
+
"title": "Source OpenAPI",
|
|
258
|
+
"urlLabel": "URL du document OpenAPI"
|
|
259
|
+
},
|
|
260
|
+
"optionsSourceForm": {
|
|
261
|
+
"descriptionField": "Description",
|
|
262
|
+
"descriptionFieldPlaceholder": "Chemin vers la description (optionnel)",
|
|
263
|
+
"detect": "Détecter les champs",
|
|
264
|
+
"detectFailed": "Échec de la requête.",
|
|
265
|
+
"detectSuccess": "Champs détectés.",
|
|
266
|
+
"disable": "Utiliser des options statiques",
|
|
267
|
+
"dynamicHint": "Les options sont récupérées depuis cette API au runtime.",
|
|
268
|
+
"enable": "Récupérer depuis une API",
|
|
269
|
+
"imageField": "Image",
|
|
270
|
+
"imageFieldPlaceholder": "Chemin vers l'URL de l'image (optionnel)",
|
|
271
|
+
"labelField": "Label",
|
|
272
|
+
"labelFieldPlaceholder": "Chemin vers le label (ex. name)",
|
|
273
|
+
"noFieldsDetected": "Aucun champ détecté — vérifiez l'URL ou le chemin de réponse.",
|
|
274
|
+
"none": "— Aucun —",
|
|
275
|
+
"previewCount": "{count} options détectées",
|
|
276
|
+
"responsePath": "Chemin de réponse",
|
|
277
|
+
"responsePathHint": "Optionnel. Utilisez un chemin comme \"data.users\" si le tableau est imbriqué.",
|
|
278
|
+
"responsePathPlaceholder": "ex. data.users",
|
|
279
|
+
"staticOptions": "Options statiques",
|
|
280
|
+
"staticOptionsHint": "Les options sont définies manuellement dans l'éditeur.",
|
|
281
|
+
"title": "Source des options",
|
|
282
|
+
"urlRequired": "L'URL est requise.",
|
|
283
|
+
"valueField": "Valeur",
|
|
284
|
+
"valueFieldPlaceholder": "Chemin vers la valeur (ex. id)"
|
|
285
|
+
},
|
|
212
286
|
"selectInputType": {
|
|
213
287
|
"type": "Type"
|
|
214
288
|
},
|
|
@@ -223,7 +297,8 @@ declare const _default: {
|
|
|
223
297
|
"groupNamePlaceholder": "Ex : Étape 1 - Informations personnelles",
|
|
224
298
|
"newGroup": "Nouveau groupe",
|
|
225
299
|
"newGroupDescription": "Le groupe sera créé autour du nœud sélectionné.",
|
|
226
|
-
"noGroup": "Aucun groupe"
|
|
300
|
+
"noGroup": "Aucun groupe",
|
|
301
|
+
"renameGroup": "Renommer le groupe"
|
|
227
302
|
},
|
|
228
303
|
"selectNodeType": {
|
|
229
304
|
"nodeType": "Type de nœud",
|
|
@@ -290,6 +365,9 @@ declare const _default: {
|
|
|
290
365
|
"search": "Recherche...",
|
|
291
366
|
"selectOption": "Sélectionner une option"
|
|
292
367
|
},
|
|
368
|
+
"defaultCheckboxInput": {
|
|
369
|
+
"loadingOptions": "Chargement des options..."
|
|
370
|
+
},
|
|
293
371
|
"defaultHttpInput": {
|
|
294
372
|
"fetchFailed": "Échec de la récupération des données. Veuillez vérifier votre connexion réseau.",
|
|
295
373
|
"httpError": "Erreur HTTP {status} : {statusText}",
|
|
@@ -318,12 +396,19 @@ declare const _default: {
|
|
|
318
396
|
"startDate": "Date de début",
|
|
319
397
|
"startTime": "Heure de début"
|
|
320
398
|
},
|
|
399
|
+
"defaultRadioInput": {
|
|
400
|
+
"loadingOptions": "Chargement des options..."
|
|
401
|
+
},
|
|
321
402
|
"defaultSelectInput": {
|
|
322
403
|
"selectOption": "Sélectionner une option"
|
|
323
404
|
},
|
|
324
405
|
"defaultSubmitButton": {
|
|
325
406
|
"requiredFieldsMissing": "Champs requis manquants",
|
|
326
407
|
"submit": "Envoyer"
|
|
408
|
+
},
|
|
409
|
+
"step": {
|
|
410
|
+
"back": "Retour",
|
|
411
|
+
"continue": "Continuer"
|
|
327
412
|
}
|
|
328
413
|
},
|
|
329
414
|
"validation": {
|
|
@@ -15,6 +15,7 @@ declare const _default: {
|
|
|
15
15
|
"editor": {
|
|
16
16
|
"actionsPanel": {
|
|
17
17
|
"addNode": "Aggiungi elemento",
|
|
18
|
+
"authorize": "Authorize",
|
|
18
19
|
"clear": "Pulisci",
|
|
19
20
|
"clearSuccess": "Flusso pulito!",
|
|
20
21
|
"clearSuccessDesc": "Tutti i nodi e gli archi sono stati rimossi.",
|
|
@@ -22,12 +23,14 @@ declare const _default: {
|
|
|
22
23
|
"downloadSuccess": "Download riuscito.",
|
|
23
24
|
"downloadSuccessDesc": "Il flusso è stato esportato con successo.",
|
|
24
25
|
"exportJson": "Esporta JSON",
|
|
26
|
+
"globalHeaders": "Global headers",
|
|
25
27
|
"idCopied": "ID del flusso copiato!",
|
|
26
28
|
"importJson": "Importa JSON",
|
|
27
29
|
"importSuccess": "Importazione riuscita!",
|
|
28
30
|
"importSuccessDesc": "Il flusso è stato importato con successo.",
|
|
29
31
|
"invalidJson": "File JSON non valido.",
|
|
30
32
|
"invalidJsonDesc": "Il file deve contenere array di nodi e archi.",
|
|
33
|
+
"openApi": "OpenAPI",
|
|
31
34
|
"parseError": "Errore nell'analisi del file JSON.",
|
|
32
35
|
"parseErrorDesc": "Prova a correggere il file e importarlo di nuovo."
|
|
33
36
|
},
|
|
@@ -51,6 +54,24 @@ declare const _default: {
|
|
|
51
54
|
"titleDescription": "Descrivi il modulo o l'albero decisionale che vuoi creare, e l'IA lo genererà per te.",
|
|
52
55
|
"unknownError": "Errore sconosciuto"
|
|
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": "Questo nodo ha più rami in uscita. Il nuovo tipo ne supporta solo uno. Scegli quale ramo mantenere; gli altri verranno rimossi.",
|
|
56
77
|
"keepBranch": "Mantieni questo ramo",
|
|
@@ -101,6 +122,15 @@ declare const _default: {
|
|
|
101
122
|
"groupNodeForm": {
|
|
102
123
|
"label": "Etichetta"
|
|
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": "Aggiungi intestazione",
|
|
106
136
|
"apiUrl": "URL API",
|
|
@@ -153,7 +183,9 @@ declare const _default: {
|
|
|
153
183
|
"defaultValueTypeNone": "Nessuno",
|
|
154
184
|
"defaultValueTypeReference": "Campo di riferimento",
|
|
155
185
|
"defaultValueTypeStatic": "Valore statico",
|
|
186
|
+
"deleteOption": "Elimina opzione",
|
|
156
187
|
"disablePast": "Disabilita date passate",
|
|
188
|
+
"editOption": "Modifica opzione",
|
|
157
189
|
"errorMessage": "Messaggio di errore",
|
|
158
190
|
"helperText": "Testo di aiuto",
|
|
159
191
|
"httpConfiguration": "Configurazione HTTP",
|
|
@@ -209,6 +241,48 @@ declare const _default: {
|
|
|
209
241
|
"deleteNodeSuccess": "Nodo eliminato con successo",
|
|
210
242
|
"editNode": "Modifica 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
|
},
|
|
@@ -223,7 +297,8 @@ declare const _default: {
|
|
|
223
297
|
"groupNamePlaceholder": "Es: Passo 1 - Informazioni personali",
|
|
224
298
|
"newGroup": "Nuovo gruppo",
|
|
225
299
|
"newGroupDescription": "Il gruppo verrà creato attorno al nodo selezionato.",
|
|
226
|
-
"noGroup": "Nessun gruppo"
|
|
300
|
+
"noGroup": "Nessun gruppo",
|
|
301
|
+
"renameGroup": "Rinomina gruppo"
|
|
227
302
|
},
|
|
228
303
|
"selectNodeType": {
|
|
229
304
|
"nodeType": "Tipo di nodo",
|
|
@@ -290,6 +365,9 @@ declare const _default: {
|
|
|
290
365
|
"search": "Cerca...",
|
|
291
366
|
"selectOption": "Seleziona un'opzione"
|
|
292
367
|
},
|
|
368
|
+
"defaultCheckboxInput": {
|
|
369
|
+
"loadingOptions": "Caricamento opzioni..."
|
|
370
|
+
},
|
|
293
371
|
"defaultHttpInput": {
|
|
294
372
|
"fetchFailed": "Impossibile recuperare i dati. Controlla la tua connessione di rete.",
|
|
295
373
|
"httpError": "Errore HTTP {status}: {statusText}",
|
|
@@ -318,12 +396,19 @@ declare const _default: {
|
|
|
318
396
|
"startDate": "Data di inizio",
|
|
319
397
|
"startTime": "Ora di inizio"
|
|
320
398
|
},
|
|
399
|
+
"defaultRadioInput": {
|
|
400
|
+
"loadingOptions": "Caricamento opzioni..."
|
|
401
|
+
},
|
|
321
402
|
"defaultSelectInput": {
|
|
322
403
|
"selectOption": "Seleziona un'opzione"
|
|
323
404
|
},
|
|
324
405
|
"defaultSubmitButton": {
|
|
325
406
|
"requiredFieldsMissing": "Campi obbligatori mancanti",
|
|
326
407
|
"submit": "Invia"
|
|
408
|
+
},
|
|
409
|
+
"step": {
|
|
410
|
+
"back": "Indietro",
|
|
411
|
+
"continue": "Continua"
|
|
327
412
|
}
|
|
328
413
|
},
|
|
329
414
|
"validation": {
|
|
@@ -15,6 +15,7 @@ declare const _default: {
|
|
|
15
15
|
"editor": {
|
|
16
16
|
"actionsPanel": {
|
|
17
17
|
"addNode": "Adicionar elemento",
|
|
18
|
+
"authorize": "Authorize",
|
|
18
19
|
"clear": "Limpar",
|
|
19
20
|
"clearSuccess": "Fluxo limpo!",
|
|
20
21
|
"clearSuccessDesc": "Todos os nós e arestas foram removidos.",
|
|
@@ -22,12 +23,14 @@ declare const _default: {
|
|
|
22
23
|
"downloadSuccess": "Download bem-sucedido.",
|
|
23
24
|
"downloadSuccessDesc": "O fluxo foi exportado com sucesso.",
|
|
24
25
|
"exportJson": "Exportar JSON",
|
|
26
|
+
"globalHeaders": "Global headers",
|
|
25
27
|
"idCopied": "ID do fluxo copiado!",
|
|
26
28
|
"importJson": "Importar JSON",
|
|
27
29
|
"importSuccess": "Importação bem-sucedida!",
|
|
28
30
|
"importSuccessDesc": "O fluxo foi importado com sucesso.",
|
|
29
31
|
"invalidJson": "Arquivo JSON inválido.",
|
|
30
32
|
"invalidJsonDesc": "O arquivo deve conter arrays de nós e arestas.",
|
|
33
|
+
"openApi": "OpenAPI",
|
|
31
34
|
"parseError": "Erro ao analisar o arquivo JSON.",
|
|
32
35
|
"parseErrorDesc": "Tente corrigir o arquivo e importá-lo novamente."
|
|
33
36
|
},
|
|
@@ -51,6 +54,24 @@ declare const _default: {
|
|
|
51
54
|
"titleDescription": "Descreva o formulário ou árvore de decisão que deseja criar, e a IA irá gerá-lo para você.",
|
|
52
55
|
"unknownError": "Erro desconhecido"
|
|
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 nó possui várias ramificações de saída. O novo tipo suporta apenas uma. Escolha qual ramificação manter; as outras serão removidas.",
|
|
56
77
|
"keepBranch": "Manter esta ramificação",
|
|
@@ -101,6 +122,15 @@ declare const _default: {
|
|
|
101
122
|
"groupNodeForm": {
|
|
102
123
|
"label": "Rótulo"
|
|
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": "Adicionar cabeçalho",
|
|
106
136
|
"apiUrl": "URL da API",
|
|
@@ -153,7 +183,9 @@ declare const _default: {
|
|
|
153
183
|
"defaultValueTypeNone": "Nenhum",
|
|
154
184
|
"defaultValueTypeReference": "Campo de referência",
|
|
155
185
|
"defaultValueTypeStatic": "Valor estático",
|
|
186
|
+
"deleteOption": "Excluir opção",
|
|
156
187
|
"disablePast": "Desativar datas passadas",
|
|
188
|
+
"editOption": "Editar opção",
|
|
157
189
|
"errorMessage": "Mensagem de erro",
|
|
158
190
|
"helperText": "Texto de ajuda",
|
|
159
191
|
"httpConfiguration": "Configuração HTTP",
|
|
@@ -209,6 +241,48 @@ declare const _default: {
|
|
|
209
241
|
"deleteNodeSuccess": "Nó excluído com sucesso",
|
|
210
242
|
"editNode": "Editar nó"
|
|
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
|
},
|
|
@@ -223,7 +297,8 @@ declare const _default: {
|
|
|
223
297
|
"groupNamePlaceholder": "Ex: Passo 1 - Informações pessoais",
|
|
224
298
|
"newGroup": "Novo grupo",
|
|
225
299
|
"newGroupDescription": "O grupo será criado em torno do nó selecionado.",
|
|
226
|
-
"noGroup": "Sem grupo"
|
|
300
|
+
"noGroup": "Sem grupo",
|
|
301
|
+
"renameGroup": "Renomear grupo"
|
|
227
302
|
},
|
|
228
303
|
"selectNodeType": {
|
|
229
304
|
"nodeType": "Tipo de nó",
|
|
@@ -290,6 +365,9 @@ declare const _default: {
|
|
|
290
365
|
"search": "Pesquisar...",
|
|
291
366
|
"selectOption": "Selecione uma opção"
|
|
292
367
|
},
|
|
368
|
+
"defaultCheckboxInput": {
|
|
369
|
+
"loadingOptions": "Carregando opções..."
|
|
370
|
+
},
|
|
293
371
|
"defaultHttpInput": {
|
|
294
372
|
"fetchFailed": "Falha ao buscar dados. Por favor, verifique sua conexão de rede.",
|
|
295
373
|
"httpError": "Erro HTTP {status}: {statusText}",
|
|
@@ -318,12 +396,19 @@ declare const _default: {
|
|
|
318
396
|
"startDate": "Data de início",
|
|
319
397
|
"startTime": "Hora de início"
|
|
320
398
|
},
|
|
399
|
+
"defaultRadioInput": {
|
|
400
|
+
"loadingOptions": "Carregando opções..."
|
|
401
|
+
},
|
|
321
402
|
"defaultSelectInput": {
|
|
322
403
|
"selectOption": "Selecione uma opção"
|
|
323
404
|
},
|
|
324
405
|
"defaultSubmitButton": {
|
|
325
406
|
"requiredFieldsMissing": "Campos obrigatórios ausentes",
|
|
326
407
|
"submit": "Enviar"
|
|
408
|
+
},
|
|
409
|
+
"step": {
|
|
410
|
+
"back": "Voltar",
|
|
411
|
+
"continue": "Continuar"
|
|
327
412
|
}
|
|
328
413
|
},
|
|
329
414
|
"validation": {
|