treege 3.0.0-beta.59 → 3.0.0-beta.60
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 +11 -13
- package/dist/{DefaultInputs-CoDN_KvC.js → DefaultInputs-nRQc9BHG.js} +1 -1
- package/dist/ThemeContext-Ddk_Y-Dz.js +1402 -0
- package/dist/editor/context/{TreegeEditorContext.d.ts → TreegeEditorRuntimeProvider.d.ts} +6 -6
- package/dist/editor/hooks/useTranslate.d.ts +1 -1
- package/dist/editor/types/editor.d.ts +1 -1
- package/dist/{editor-Cd_ifJTX.js → editor-D2pBjE7E.js} +2 -2
- package/dist/editor.js +2 -2
- package/dist/main.js +4 -4
- package/dist/renderer/context/{TreegeRendererContext.d.ts → TreegeRenderRuntimeProvider.d.ts} +7 -7
- package/dist/renderer/context/TreegeRendererProvider.d.ts +15 -0
- package/dist/renderer/hooks/useTranslate.d.ts +1 -1
- package/dist/renderer/index.d.ts +1 -1
- package/dist/renderer/index.native.d.ts +1 -1
- package/dist/renderer/types/renderer.d.ts +1 -1
- package/dist/renderer-native.js +2 -2
- package/dist/renderer.js +3 -3
- package/dist/shared/locales/ar.json.d.ts +2 -2
- package/dist/shared/locales/de.json.d.ts +2 -2
- package/dist/shared/locales/en.json.d.ts +2 -2
- package/dist/shared/locales/es.json.d.ts +2 -2
- package/dist/shared/locales/fr.json.d.ts +2 -2
- package/dist/shared/locales/it.json.d.ts +2 -2
- package/dist/shared/locales/pt.json.d.ts +2 -2
- package/package.json +1 -1
- package/dist/ThemeContext-ClYtPOGK.js +0 -1402
- package/dist/renderer/context/TreegeConfigContext.d.ts +0 -15
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PropsWithChildren } from 'react';
|
|
2
2
|
import { AIConfig } from '../types/ai';
|
|
3
3
|
import { HttpHeader } from '../../shared/types/node';
|
|
4
|
-
export interface
|
|
4
|
+
export interface TreegeEditorRuntimeContextValue {
|
|
5
5
|
/**
|
|
6
6
|
* Current language of the editor UI. Also used as the default language for
|
|
7
7
|
* the per-node translation editor in `InputNodeForm`.
|
|
@@ -70,9 +70,9 @@ export interface PendingNodeTypeChange {
|
|
|
70
70
|
type: string;
|
|
71
71
|
subType?: string;
|
|
72
72
|
}
|
|
73
|
-
export interface
|
|
74
|
-
value: Omit<
|
|
73
|
+
export interface TreegeEditorRuntimeProviderProps extends PropsWithChildren {
|
|
74
|
+
value: Omit<TreegeEditorRuntimeContextValue, "isNodeSheetOpen" | "setIsNodeSheetOpen" | "pendingDeleteNodeId" | "openDeleteNodeConfirmation" | "closeDeleteNodeConfirmation" | "pendingNodeTypeChange" | "openNodeTypeChangeConfirmation" | "closeNodeTypeChangeConfirmation">;
|
|
75
75
|
}
|
|
76
|
-
export declare const
|
|
77
|
-
export declare const
|
|
78
|
-
export declare const
|
|
76
|
+
export declare const TreegeEditorRuntimeContext: import('react').Context<TreegeEditorRuntimeContextValue | null>;
|
|
77
|
+
export declare const TreegeEditorRuntimeProvider: ({ children, value }: TreegeEditorRuntimeProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
78
|
+
export declare const useTreegeEditorRuntime: () => TreegeEditorRuntimeContextValue;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hook for translating text in the editor with context-aware language preference.
|
|
3
3
|
*
|
|
4
|
-
* This hook uses the language from
|
|
4
|
+
* This hook uses the language from TreegeEditorRuntimeContext and delegates to the shared useTranslate hook.
|
|
5
5
|
*
|
|
6
6
|
* @returns A function that translates either a translation key or a Translatable object
|
|
7
7
|
*
|
|
@@ -115,7 +115,7 @@ export interface TreegeEditorProps {
|
|
|
115
115
|
/**
|
|
116
116
|
* Called when the user submits the Authorize dialog. Receives the resulting
|
|
117
117
|
* HTTP headers (`Authorization`, API key headers…). The consumer is expected
|
|
118
|
-
* to forward those headers to `TreegeRenderer` (or `
|
|
118
|
+
* to forward those headers to `TreegeRenderer` (or `TreegeRendererProvider`)
|
|
119
119
|
* via its `headers` prop so every request issued by the form is authenticated.
|
|
120
120
|
*/
|
|
121
121
|
onAuthorize?: (headers: HttpHeader[]) => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as e, C as t, E as n, F as r, H as i, I as a, L as o, M as s, N as c, O as l, T as u, V as d, _ as f, t as p, v as m, w as h, z as g } from "./ThemeContext-
|
|
2
|
-
import { $ as _, A as v, B as y, D as b, F as x, G as S, H as C, I as w, J as T, K as E, L as D, M as O, N as k, O as A, P as j, Q as M, R as ee, U as te, V as ne, W as N, X as re, Y as ie, Z as P, at as F, c as ae, ct as I, et as oe, g as se, h as ce, it as L, j as le, k as ue, nt as R, o as de, ot as fe, q as pe, rt as z, st as B, t as me, tt as he, z as ge } from "./DefaultInputs-
|
|
1
|
+
import { B as e, C as t, E as n, F as r, H as i, I as a, L as o, M as s, N as c, O as l, T as u, V as d, _ as f, t as p, v as m, w as h, z as g } from "./ThemeContext-Ddk_Y-Dz.js";
|
|
2
|
+
import { $ as _, A as v, B as y, D as b, F as x, G as S, H as C, I as w, J as T, K as E, L as D, M as O, N as k, O as A, P as j, Q as M, R as ee, U as te, V as ne, W as N, X as re, Y as ie, Z as P, at as F, c as ae, ct as I, et as oe, g as se, h as ce, it as L, j as le, k as ue, nt as R, o as de, ot as fe, q as pe, rt as z, st as B, t as me, tt as he, z as ge } from "./DefaultInputs-nRQc9BHG.js";
|
|
3
3
|
import { Background as _e, BackgroundVariant as ve, BaseEdge as ye, ControlButton as be, Controls as xe, EdgeLabelRenderer as Se, Handle as Ce, MiniMap as we, Panel as Te, Position as Ee, ReactFlow as De, ReactFlowProvider as Oe, addEdge as ke, getBezierPath as Ae, useConnection as je, useEdges as Me, useNodes as Ne, useNodesInitialized as Pe, useReactFlow as Fe, useStore as Ie, useUpdateNodeInternals as Le } from "@xyflow/react";
|
|
4
4
|
import * as Re from "react";
|
|
5
5
|
import ze, { createContext as Be, memo as Ve, useCallback as V, useContext as He, useEffect as H, useId as Ue, useMemo as U, useRef as We, useState as W } from "react";
|
package/dist/editor.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as e } from "./editor-
|
|
2
|
-
import { n as t, t as n } from "./ThemeContext-
|
|
1
|
+
import { t as e } from "./editor-D2pBjE7E.js";
|
|
2
|
+
import { n as t, t as n } from "./ThemeContext-Ddk_Y-Dz.js";
|
|
3
3
|
export { n as ThemeProvider, e as TreegeEditor, t as useTheme };
|
package/dist/main.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./editor-
|
|
2
|
-
import { A as t, B as n, H as r, R as i, V as a, a as o, b as s, c, d as l, f as u, g as d, h as f, i as p, j as m, l as h, m as g, n as _, o as v, p as y, s as b, t as x, u as S, x as C, y as w, z as T } from "./ThemeContext-
|
|
3
|
-
import { C as E, E as D, S as O, T as k, _ as A, a as j, b as M, d as N, f as P, i as F, l as I, m as L, n as R, p as z, r as B, s as V, t as H, u as U, v as W, w as G, x as K, y as q } from "./DefaultInputs-
|
|
4
|
-
export { D as DefaultAddressInput, k as DefaultAutocompleteInput, G as DefaultCheckboxInput, E as DefaultDateInput, O as DefaultDateRangeInput, K as DefaultFileInput, M as DefaultHiddenInput, q as DefaultHttpInput, W as DefaultNumberInput, A as DefaultPasswordInput, L as DefaultRadioInput, z as DefaultSelectInput, V as DefaultSwitchInput, j as DefaultTextAreaInput, F as DefaultTextInput, B as DefaultTimeInput, R as DefaultTimeRangeInput, U as Divider, x as ThemeProvider, N as Title,
|
|
1
|
+
import { t as e } from "./editor-D2pBjE7E.js";
|
|
2
|
+
import { A as t, B as n, H as r, R as i, V as a, a as o, b as s, c, d as l, f as u, g as d, h as f, i as p, j as m, l as h, m as g, n as _, o as v, p as y, s as b, t as x, u as S, x as C, y as w, z as T } from "./ThemeContext-Ddk_Y-Dz.js";
|
|
3
|
+
import { C as E, E as D, S as O, T as k, _ as A, a as j, b as M, d as N, f as P, i as F, l as I, m as L, n as R, p as z, r as B, s as V, t as H, u as U, v as W, w as G, x as K, y as q } from "./DefaultInputs-nRQc9BHG.js";
|
|
4
|
+
export { D as DefaultAddressInput, k as DefaultAutocompleteInput, G as DefaultCheckboxInput, E as DefaultDateInput, O as DefaultDateRangeInput, K as DefaultFileInput, M as DefaultHiddenInput, q as DefaultHttpInput, W as DefaultNumberInput, A as DefaultPasswordInput, L as DefaultRadioInput, z as DefaultSelectInput, V as DefaultSwitchInput, j as DefaultTextAreaInput, F as DefaultTextInput, B as DefaultTimeInput, R as DefaultTimeRangeInput, U as Divider, x as ThemeProvider, N as Title, e as TreegeEditor, I as TreegeRenderer, S as TreegeRendererProvider, u as applyReferenceTransformation, y as calculateReferenceFieldUpdates, g as checkFormFieldHasValue, f as convertFormValuesToNamedFormat, H as defaultInputRenderers, P as defaultUI, c as evaluateCondition, h as evaluateConditions, w as fileToSerializable, s as filesToSerializable, o as findStartNode, v as getFlowRenderState, i as getStaticTranslations, T as getTranslatedText, d as isFieldEmpty, n as isGroupNode, a as isInputNode, b as isStartNode, r as isUINode, t as sanitize, m as sanitizeHttpResponse, C as serializableToFile, _ as useTheme, p as useTreegeRenderer, l as useTreegeRendererConfig };
|
package/dist/renderer/context/{TreegeRendererContext.d.ts → TreegeRenderRuntimeProvider.d.ts}
RENAMED
|
@@ -2,7 +2,7 @@ import { Node } from '@xyflow/react';
|
|
|
2
2
|
import { PropsWithChildren } from 'react';
|
|
3
3
|
import { FormValues } from '../types/renderer';
|
|
4
4
|
import { Flow, HttpHeader, InputNodeData } from '../../shared/types/node';
|
|
5
|
-
export interface
|
|
5
|
+
export interface TreegeRenderRuntimeContextValue {
|
|
6
6
|
/**
|
|
7
7
|
* Base URL prepended to every relative HTTP url issued by inputs. Absolute
|
|
8
8
|
* urls are left untouched. Resolved from the renderer config and applied
|
|
@@ -62,17 +62,17 @@ export interface TreegeRendererContextValue {
|
|
|
62
62
|
*/
|
|
63
63
|
setFieldValue: (fieldName: string, value: unknown) => void;
|
|
64
64
|
}
|
|
65
|
-
export interface
|
|
65
|
+
export interface TreegeRenderRuntimeProviderProps extends PropsWithChildren {
|
|
66
66
|
/**
|
|
67
|
-
* Any subset of `
|
|
67
|
+
* Any subset of `TreegeRenderRuntimeContextValue`. Missing fields default to
|
|
68
68
|
* sensible no-op values, so callers only need to supply what they actually
|
|
69
69
|
* want to expose to descendants.
|
|
70
70
|
*/
|
|
71
|
-
value: Partial<
|
|
71
|
+
value: Partial<TreegeRenderRuntimeContextValue>;
|
|
72
72
|
}
|
|
73
|
-
export declare const
|
|
74
|
-
export declare const
|
|
75
|
-
export declare const
|
|
73
|
+
export declare const TreegeRenderRuntimeContext: import('react').Context<TreegeRenderRuntimeContextValue | null>;
|
|
74
|
+
export declare const TreegeRenderRuntimeProvider: ({ children, value }: TreegeRenderRuntimeProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
75
|
+
export declare const useTreegeRenderRuntime: () => {
|
|
76
76
|
edges: import('@xyflow/react').Edge[];
|
|
77
77
|
/**
|
|
78
78
|
* Base URL prepended to every relative HTTP url issued by inputs. Absolute
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { TreegeRendererConfig } from '../types/renderer';
|
|
3
|
+
/**
|
|
4
|
+
* Hook to access the global Treege configuration
|
|
5
|
+
* Returns undefined if used outside of TreegeRendererProvider
|
|
6
|
+
*/
|
|
7
|
+
export declare const useTreegeRendererConfig: () => TreegeRendererConfig | undefined;
|
|
8
|
+
export type TreegeRendererProviderProps = TreegeRendererConfig & {
|
|
9
|
+
children: ReactNode;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* Provider for global Treege configuration
|
|
13
|
+
* Wrap your app with this provider to set default options for all TreegeRenderer instances
|
|
14
|
+
*/
|
|
15
|
+
export declare const TreegeRendererProvider: ({ children, ...config }: TreegeRendererProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -2,7 +2,7 @@ import { Translatable } from '../../shared/types/translate';
|
|
|
2
2
|
/**
|
|
3
3
|
* Hook for translating text in the renderer with context-aware language preference.
|
|
4
4
|
*
|
|
5
|
-
* This hook uses the language from
|
|
5
|
+
* This hook uses the language from TreegeRenderRuntimeContext (or explicit override) and delegates to the shared useTranslate hook.
|
|
6
6
|
* All translations are automatically sanitized to prevent XSS attacks.
|
|
7
7
|
*
|
|
8
8
|
* @param language - Optional language override. If not provided, uses language from context.
|
package/dist/renderer/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { TreegeRendererProvider, useTreegeRendererConfig } from './context/TreegeRendererProvider';
|
|
2
2
|
export type { UseTreegeRendererReturn } from './features/TreegeRenderer/useTreegeRenderer';
|
|
3
3
|
export { useTreegeRenderer } from './features/TreegeRenderer/useTreegeRenderer';
|
|
4
4
|
export * from './features/TreegeRenderer/web/components/DefaultFormWrapper';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { TreegeRendererProvider, useTreegeRendererConfig } from './context/TreegeRendererProvider';
|
|
2
2
|
export * from './features/TreegeRenderer/native/components/DefaultFormWrapper';
|
|
3
3
|
export * from './features/TreegeRenderer/native/components/DefaultInputs';
|
|
4
4
|
export * from './features/TreegeRenderer/native/components/DefaultStep';
|
|
@@ -262,7 +262,7 @@ export type TreegeRendererComponents = {
|
|
|
262
262
|
loadingSkeleton?: () => ReactNode;
|
|
263
263
|
};
|
|
264
264
|
/**
|
|
265
|
-
* Configuration options that can be set globally via
|
|
265
|
+
* Configuration options that can be set globally via TreegeRendererProvider
|
|
266
266
|
* or locally via TreegeRenderer config prop
|
|
267
267
|
*/
|
|
268
268
|
export type TreegeRendererConfig = {
|
package/dist/renderer-native.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as e, N as t, O as n, P as r, S as i, a, b as o, c as s, d as c, f as l, g as u, h as d, i as f, k as p, l as m, m as h, n as g, o as _, p as v, r as y, s as b, t as x, u as S, w as C, x as w, y as T, z as E } from "./ThemeContext-
|
|
1
|
+
import { E as e, N as t, O as n, P as r, S as i, a, b as o, c as s, d as c, f as l, g as u, h as d, i as f, k as p, l as m, m as h, n as g, o as _, p as v, r as y, s as b, t as x, u as S, w as C, x as w, y as T, z as E } from "./ThemeContext-Ddk_Y-Dz.js";
|
|
2
2
|
import { useCallback as ee, useEffect as D, useMemo as O, useRef as k, useState as A } from "react";
|
|
3
3
|
import { Fragment as te, jsx as j, jsxs as M } from "react/jsx-runtime";
|
|
4
4
|
import { ActivityIndicator as N, Alert as P, Animated as F, FlatList as I, Image as ne, Modal as re, ScrollView as ie, StyleSheet as L, Switch as R, Text as z, TextInput as B, TouchableOpacity as V, View as H } from "react-native";
|
|
@@ -3699,4 +3699,4 @@ var ae = ({ children: e }) => /* @__PURE__ */ j(H, {
|
|
|
3699
3699
|
}
|
|
3700
3700
|
});
|
|
3701
3701
|
//#endregion
|
|
3702
|
-
export { le as DefaultAddressInput, ue as DefaultAutocompleteInput, de as DefaultCheckboxInput, fe as DefaultDateInput, pe as DefaultDateRangeInput, Ye as DefaultDividerUI, me as DefaultFileInput, he as DefaultHiddenInput, Ee as DefaultHttpInput, De as DefaultNumberInput, ke as DefaultPasswordInput, je as DefaultRadioInput, Me as DefaultSelectInput, Ve as DefaultSubmitInput, Ne as DefaultSwitchInput, Le as DefaultTextInput, Fe as DefaultTextareaInput, ze as DefaultTimeInput, Be as DefaultTimeRangeInput, Je as DefaultTitleUI,
|
|
3702
|
+
export { le as DefaultAddressInput, ue as DefaultAutocompleteInput, de as DefaultCheckboxInput, fe as DefaultDateInput, pe as DefaultDateRangeInput, Ye as DefaultDividerUI, me as DefaultFileInput, he as DefaultHiddenInput, Ee as DefaultHttpInput, De as DefaultNumberInput, ke as DefaultPasswordInput, je as DefaultRadioInput, Me as DefaultSelectInput, Ve as DefaultSubmitInput, Ne as DefaultSwitchInput, Le as DefaultTextInput, Fe as DefaultTextareaInput, ze as DefaultTimeInput, Be as DefaultTimeRangeInput, Je as DefaultTitleUI, it as TreegeRenderer, S as TreegeRendererProvider, l as applyReferenceTransformation, v as calculateReferenceFieldUpdates, h as checkFormFieldHasValue, d as convertFormValuesToNamedFormat, He as defaultInputRenderers, Ze as defaultUI, s as evaluateCondition, m as evaluateConditions, T as fileToSerializable, o as filesToSerializable, a as findStartNode, _ as getFlowRenderState, E as getTranslatedText, u as isFieldEmpty, b as isStartNode, be as sanitize, Se as sanitizeHttpResponse, w as serializableToFile, f as useTreegeRenderer, c as useTreegeRendererConfig };
|
package/dist/renderer.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { A as e, a as t, b as n, c as r, d as i, f as a, g as o, h as s, i as c, j as l, l as u, m as d, n as f, o as p, p as m, s as h, t as g, u as _, x as v, y, z as b } from "./ThemeContext-
|
|
2
|
-
import { C as x, E as S, S as C, T as w, _ as T, a as E, b as D, d as O, f as k, i as A, l as j, m as M, n as N, p as P, r as F, s as I, t as L, u as R, v as z, w as B, x as V, y as H } from "./DefaultInputs-
|
|
3
|
-
export { S as DefaultAddressInput, w as DefaultAutocompleteInput, B as DefaultCheckboxInput, x as DefaultDateInput, C as DefaultDateRangeInput, V as DefaultFileInput, D as DefaultHiddenInput, H as DefaultHttpInput, z as DefaultNumberInput, T as DefaultPasswordInput, M as DefaultRadioInput, P as DefaultSelectInput, I as DefaultSwitchInput, E as DefaultTextAreaInput, A as DefaultTextInput, F as DefaultTimeInput, N as DefaultTimeRangeInput, R as Divider, g as ThemeProvider, O as Title,
|
|
1
|
+
import { A as e, a as t, b as n, c as r, d as i, f as a, g as o, h as s, i as c, j as l, l as u, m as d, n as f, o as p, p as m, s as h, t as g, u as _, x as v, y, z as b } from "./ThemeContext-Ddk_Y-Dz.js";
|
|
2
|
+
import { C as x, E as S, S as C, T as w, _ as T, a as E, b as D, d as O, f as k, i as A, l as j, m as M, n as N, p as P, r as F, s as I, t as L, u as R, v as z, w as B, x as V, y as H } from "./DefaultInputs-nRQc9BHG.js";
|
|
3
|
+
export { S as DefaultAddressInput, w as DefaultAutocompleteInput, B as DefaultCheckboxInput, x as DefaultDateInput, C as DefaultDateRangeInput, V as DefaultFileInput, D as DefaultHiddenInput, H as DefaultHttpInput, z as DefaultNumberInput, T as DefaultPasswordInput, M as DefaultRadioInput, P as DefaultSelectInput, I as DefaultSwitchInput, E as DefaultTextAreaInput, A as DefaultTextInput, F as DefaultTimeInput, N as DefaultTimeRangeInput, R as Divider, g as ThemeProvider, O as Title, j as TreegeRenderer, _ as TreegeRendererProvider, a as applyReferenceTransformation, m as calculateReferenceFieldUpdates, d as checkFormFieldHasValue, s as convertFormValuesToNamedFormat, L as defaultInputRenderers, k as defaultUI, r as evaluateCondition, u as evaluateConditions, y as fileToSerializable, n as filesToSerializable, t as findStartNode, p as getFlowRenderState, b as getTranslatedText, o as isFieldEmpty, h as isStartNode, e as sanitize, l as sanitizeHttpResponse, v as serializableToFile, f as useTheme, c as useTreegeRenderer, i as useTreegeRendererConfig };
|
|
@@ -37,7 +37,7 @@ declare const _default: {
|
|
|
37
37
|
},
|
|
38
38
|
"aiGenerator": {
|
|
39
39
|
"aiNotConfigured": "الذكاء الاصطناعي غير مُهيأ",
|
|
40
|
-
"aiNotConfiguredDesc": "أضف خاصية {code} إلى
|
|
40
|
+
"aiNotConfiguredDesc": "أضف خاصية {code} إلى TreegeEditor",
|
|
41
41
|
"buttonLabel": "إنشاء باستخدام الذكاء الاصطناعي",
|
|
42
42
|
"cancel": "إلغاء",
|
|
43
43
|
"description": "الوصف",
|
|
@@ -48,7 +48,7 @@ declare const _default: {
|
|
|
48
48
|
"generating": "جارٍ الإنشاء...",
|
|
49
49
|
"keyboardShortcut": "اضغط {cmdEnter} أو {ctrlEnter} للإنشاء",
|
|
50
50
|
"missingApiKey": "تكوين الذكاء الاصطناعي مفقود",
|
|
51
|
-
"missingApiKeyDesc": "الرجاء تكوين مفتاح API الخاص بالذكاء الاصطناعي في
|
|
51
|
+
"missingApiKeyDesc": "الرجاء تكوين مفتاح API الخاص بالذكاء الاصطناعي في TreegeEditor",
|
|
52
52
|
"successDescription": "تم إنشاء {nodes} عقدة و {edges} حافة",
|
|
53
53
|
"successTitle": "تم إنشاء الشجرة بنجاح!",
|
|
54
54
|
"title": "إنشاء تدفق باستخدام الذكاء الاصطناعي",
|
|
@@ -37,7 +37,7 @@ declare const _default: {
|
|
|
37
37
|
},
|
|
38
38
|
"aiGenerator": {
|
|
39
39
|
"aiNotConfigured": "KI nicht konfiguriert",
|
|
40
|
-
"aiNotConfiguredDesc": "Fügen Sie {code} Prop zu
|
|
40
|
+
"aiNotConfiguredDesc": "Fügen Sie {code} Prop zu TreegeEditor hinzu",
|
|
41
41
|
"buttonLabel": "Mit KI generieren",
|
|
42
42
|
"cancel": "Abbrechen",
|
|
43
43
|
"description": "Beschreibung",
|
|
@@ -48,7 +48,7 @@ declare const _default: {
|
|
|
48
48
|
"generating": "Wird generiert...",
|
|
49
49
|
"keyboardShortcut": "Drücken Sie {cmdEnter} oder {ctrlEnter} zum Generieren",
|
|
50
50
|
"missingApiKey": "KI-Konfiguration fehlt",
|
|
51
|
-
"missingApiKeyDesc": "Bitte konfigurieren Sie Ihren KI-API-Schlüssel in
|
|
51
|
+
"missingApiKeyDesc": "Bitte konfigurieren Sie Ihren KI-API-Schlüssel in TreegeEditor",
|
|
52
52
|
"successDescription": "{nodes} Knoten und {edges} Kanten erstellt",
|
|
53
53
|
"successTitle": "Baum erfolgreich generiert!",
|
|
54
54
|
"title": "Flow mit KI generieren",
|
|
@@ -37,7 +37,7 @@ declare const _default: {
|
|
|
37
37
|
},
|
|
38
38
|
"aiGenerator": {
|
|
39
39
|
"aiNotConfigured": "AI not configured",
|
|
40
|
-
"aiNotConfiguredDesc": "Add {code} prop to
|
|
40
|
+
"aiNotConfiguredDesc": "Add {code} prop to TreegeEditor",
|
|
41
41
|
"buttonLabel": "Generate with AI",
|
|
42
42
|
"cancel": "Cancel",
|
|
43
43
|
"description": "Description",
|
|
@@ -48,7 +48,7 @@ declare const _default: {
|
|
|
48
48
|
"generating": "Generating...",
|
|
49
49
|
"keyboardShortcut": "Press {cmdEnter} or {ctrlEnter} to generate",
|
|
50
50
|
"missingApiKey": "AI configuration missing",
|
|
51
|
-
"missingApiKeyDesc": "Please configure your AI API key in
|
|
51
|
+
"missingApiKeyDesc": "Please configure your AI API key in TreegeEditor",
|
|
52
52
|
"successDescription": "Created {nodes} nodes and {edges} edges",
|
|
53
53
|
"successTitle": "Tree generated successfully!",
|
|
54
54
|
"title": "Generate Flow with AI",
|
|
@@ -37,7 +37,7 @@ declare const _default: {
|
|
|
37
37
|
},
|
|
38
38
|
"aiGenerator": {
|
|
39
39
|
"aiNotConfigured": "IA no configurada",
|
|
40
|
-
"aiNotConfiguredDesc": "Agregue la prop {code} a
|
|
40
|
+
"aiNotConfiguredDesc": "Agregue la prop {code} a TreegeEditor",
|
|
41
41
|
"buttonLabel": "Generar con IA",
|
|
42
42
|
"cancel": "Cancelar",
|
|
43
43
|
"description": "Descripción",
|
|
@@ -48,7 +48,7 @@ declare const _default: {
|
|
|
48
48
|
"generating": "Generando...",
|
|
49
49
|
"keyboardShortcut": "Presione {cmdEnter} o {ctrlEnter} para generar",
|
|
50
50
|
"missingApiKey": "Falta configuración de IA",
|
|
51
|
-
"missingApiKeyDesc": "Por favor configure su clave API de IA en
|
|
51
|
+
"missingApiKeyDesc": "Por favor configure su clave API de IA en TreegeEditor",
|
|
52
52
|
"successDescription": "{nodes} nodos y {edges} aristas creados",
|
|
53
53
|
"successTitle": "¡Árbol generado exitosamente!",
|
|
54
54
|
"title": "Generar flujo con IA",
|
|
@@ -37,7 +37,7 @@ declare const _default: {
|
|
|
37
37
|
},
|
|
38
38
|
"aiGenerator": {
|
|
39
39
|
"aiNotConfigured": "IA non configurée",
|
|
40
|
-
"aiNotConfiguredDesc": "Ajoutez la prop {code} à
|
|
40
|
+
"aiNotConfiguredDesc": "Ajoutez la prop {code} à TreegeEditor",
|
|
41
41
|
"buttonLabel": "Générer avec l'IA",
|
|
42
42
|
"cancel": "Annuler",
|
|
43
43
|
"description": "Description",
|
|
@@ -48,7 +48,7 @@ declare const _default: {
|
|
|
48
48
|
"generating": "Génération...",
|
|
49
49
|
"keyboardShortcut": "Appuyez sur {cmdEnter} ou {ctrlEnter} pour générer",
|
|
50
50
|
"missingApiKey": "Configuration IA manquante",
|
|
51
|
-
"missingApiKeyDesc": "Veuillez configurer votre clé API IA dans
|
|
51
|
+
"missingApiKeyDesc": "Veuillez configurer votre clé API IA dans TreegeEditor",
|
|
52
52
|
"successDescription": "{nodes} nœuds et {edges} arêtes créés",
|
|
53
53
|
"successTitle": "Arbre généré avec succès !",
|
|
54
54
|
"title": "Générer un flux avec l'IA",
|
|
@@ -37,7 +37,7 @@ declare const _default: {
|
|
|
37
37
|
},
|
|
38
38
|
"aiGenerator": {
|
|
39
39
|
"aiNotConfigured": "IA non configurata",
|
|
40
|
-
"aiNotConfiguredDesc": "Aggiungi la prop {code} a
|
|
40
|
+
"aiNotConfiguredDesc": "Aggiungi la prop {code} a TreegeEditor",
|
|
41
41
|
"buttonLabel": "Genera con IA",
|
|
42
42
|
"cancel": "Annulla",
|
|
43
43
|
"description": "Descrizione",
|
|
@@ -48,7 +48,7 @@ declare const _default: {
|
|
|
48
48
|
"generating": "Generazione...",
|
|
49
49
|
"keyboardShortcut": "Premi {cmdEnter} o {ctrlEnter} per generare",
|
|
50
50
|
"missingApiKey": "Configurazione IA mancante",
|
|
51
|
-
"missingApiKeyDesc": "Configura la tua chiave API IA in
|
|
51
|
+
"missingApiKeyDesc": "Configura la tua chiave API IA in TreegeEditor",
|
|
52
52
|
"successDescription": "{nodes} nodi e {edges} archi creati",
|
|
53
53
|
"successTitle": "Albero generato con successo!",
|
|
54
54
|
"title": "Genera flusso con IA",
|
|
@@ -37,7 +37,7 @@ declare const _default: {
|
|
|
37
37
|
},
|
|
38
38
|
"aiGenerator": {
|
|
39
39
|
"aiNotConfigured": "IA não configurada",
|
|
40
|
-
"aiNotConfiguredDesc": "Adicione a prop {code} ao
|
|
40
|
+
"aiNotConfiguredDesc": "Adicione a prop {code} ao TreegeEditor",
|
|
41
41
|
"buttonLabel": "Gerar com IA",
|
|
42
42
|
"cancel": "Cancelar",
|
|
43
43
|
"description": "Descrição",
|
|
@@ -48,7 +48,7 @@ declare const _default: {
|
|
|
48
48
|
"generating": "Gerando...",
|
|
49
49
|
"keyboardShortcut": "Pressione {cmdEnter} ou {ctrlEnter} para gerar",
|
|
50
50
|
"missingApiKey": "Configuração de IA ausente",
|
|
51
|
-
"missingApiKeyDesc": "Por favor configure sua chave API de IA no
|
|
51
|
+
"missingApiKeyDesc": "Por favor configure sua chave API de IA no TreegeEditor",
|
|
52
52
|
"successDescription": "{nodes} nós e {edges} arestas criados",
|
|
53
53
|
"successTitle": "Árvore gerada com sucesso!",
|
|
54
54
|
"title": "Gerar fluxo com IA",
|