@datatechsolutions/ui 2.11.4 → 2.11.5
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/dist/astrlabe/index.d.mts +14 -14
- package/dist/astrlabe/index.d.ts +14 -14
- package/dist/astrlabe/index.js +108 -108
- package/dist/astrlabe/index.js.map +1 -1
- package/dist/astrlabe/index.mjs +6 -6
- package/dist/astrlabe/index.mjs.map +1 -1
- package/dist/astrlabe/workflow-canvas.d.mts +1 -1
- package/dist/astrlabe/workflow-canvas.d.ts +1 -1
- package/dist/astrlabe/workflow-canvas.js +2 -2
- package/dist/astrlabe/workflow-canvas.mjs +1 -1
- package/dist/{chunk-BHKBEP2Y.mjs → chunk-45UHTVTJ.mjs} +12 -12
- package/dist/chunk-45UHTVTJ.mjs.map +1 -0
- package/dist/{chunk-AZ3BXAI6.js → chunk-BONTO5LJ.js} +12 -12
- package/dist/chunk-BONTO5LJ.js.map +1 -0
- package/dist/{workflow-canvas-D9kHlmev.d.mts → workflow-canvas-CJwGehdk.d.mts} +3 -3
- package/dist/{workflow-canvas-CQtkR4Y6.d.ts → workflow-canvas-DSm0iyof.d.ts} +3 -3
- package/package.json +1 -1
- package/dist/chunk-AZ3BXAI6.js.map +0 -1
- package/dist/chunk-BHKBEP2Y.mjs.map +0 -1
|
@@ -187,7 +187,7 @@ type GroupNodeData = {
|
|
|
187
187
|
onRemoveFromCanvas?: (nodeId: string) => void;
|
|
188
188
|
};
|
|
189
189
|
|
|
190
|
-
type
|
|
190
|
+
type AgentModalRenderProps = {
|
|
191
191
|
agent: AgentWithPrompts | null;
|
|
192
192
|
models: AgentModel[];
|
|
193
193
|
open: boolean;
|
|
@@ -222,8 +222,8 @@ type WorkflowCanvasProps = {
|
|
|
222
222
|
isCreatingAgent?: boolean;
|
|
223
223
|
/** Custom node type components — merged with built-in edge types */
|
|
224
224
|
nodeTypes?: NodeTypes;
|
|
225
|
-
/** Optional: render the
|
|
226
|
-
|
|
225
|
+
/** Optional: render the AgentModal externally (frontend provides the component) */
|
|
226
|
+
renderAgentModal?: (props: AgentModalRenderProps) => React.ReactNode;
|
|
227
227
|
/** Optional: render a custom LogicNodeModal; defaults to internal modal */
|
|
228
228
|
renderLogicNodeModal?: (props: LogicNodeModalRenderProps) => React.ReactNode;
|
|
229
229
|
};
|
|
@@ -187,7 +187,7 @@ type GroupNodeData = {
|
|
|
187
187
|
onRemoveFromCanvas?: (nodeId: string) => void;
|
|
188
188
|
};
|
|
189
189
|
|
|
190
|
-
type
|
|
190
|
+
type AgentModalRenderProps = {
|
|
191
191
|
agent: AgentWithPrompts | null;
|
|
192
192
|
models: AgentModel[];
|
|
193
193
|
open: boolean;
|
|
@@ -222,8 +222,8 @@ type WorkflowCanvasProps = {
|
|
|
222
222
|
isCreatingAgent?: boolean;
|
|
223
223
|
/** Custom node type components — merged with built-in edge types */
|
|
224
224
|
nodeTypes?: NodeTypes;
|
|
225
|
-
/** Optional: render the
|
|
226
|
-
|
|
225
|
+
/** Optional: render the AgentModal externally (frontend provides the component) */
|
|
226
|
+
renderAgentModal?: (props: AgentModalRenderProps) => React.ReactNode;
|
|
227
227
|
/** Optional: render a custom LogicNodeModal; defaults to internal modal */
|
|
228
228
|
renderLogicNodeModal?: (props: LogicNodeModalRenderProps) => React.ReactNode;
|
|
229
229
|
};
|