@uipath/apollo-react 4.37.1 → 4.39.0

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.
Files changed (46) hide show
  1. package/dist/canvas/components/AgentCanvas/agent-flow.manifest.d.ts +2 -0
  2. package/dist/canvas/components/AgentCanvas/agent-flow.manifest.d.ts.map +1 -1
  3. package/dist/canvas/components/BaseNode/BaseNode.cjs +33 -3
  4. package/dist/canvas/components/BaseNode/BaseNode.d.ts.map +1 -1
  5. package/dist/canvas/components/BaseNode/BaseNode.js +35 -5
  6. package/dist/canvas/components/BaseNode/BaseNodeConfigContext.d.ts +1 -0
  7. package/dist/canvas/components/BaseNode/BaseNodeConfigContext.d.ts.map +1 -1
  8. package/dist/canvas/components/BaseNode/BaseNodeContainer.cjs +5 -3
  9. package/dist/canvas/components/BaseNode/BaseNodeContainer.d.ts +2 -1
  10. package/dist/canvas/components/BaseNode/BaseNodeContainer.d.ts.map +1 -1
  11. package/dist/canvas/components/BaseNode/BaseNodeContainer.js +5 -3
  12. package/dist/canvas/components/CaseFlow/case-flow.manifest.cjs +12 -3
  13. package/dist/canvas/components/CaseFlow/case-flow.manifest.d.ts +2 -0
  14. package/dist/canvas/components/CaseFlow/case-flow.manifest.d.ts.map +1 -1
  15. package/dist/canvas/components/CaseFlow/case-flow.manifest.js +12 -3
  16. package/dist/canvas/components/Edges/EdgeUtils.cjs +1 -0
  17. package/dist/canvas/components/Edges/EdgeUtils.d.ts.map +1 -1
  18. package/dist/canvas/components/Edges/EdgeUtils.js +1 -0
  19. package/dist/canvas/components/ExecutionStatusIcon/ExecutionStatusIcon.cjs +7 -0
  20. package/dist/canvas/components/ExecutionStatusIcon/ExecutionStatusIcon.d.ts +1 -1
  21. package/dist/canvas/components/ExecutionStatusIcon/ExecutionStatusIcon.d.ts.map +1 -1
  22. package/dist/canvas/components/ExecutionStatusIcon/ExecutionStatusIcon.js +7 -0
  23. package/dist/canvas/schema/node-definition/node-manifest.cjs +3 -1
  24. package/dist/canvas/schema/node-definition/node-manifest.d.ts +3 -0
  25. package/dist/canvas/schema/node-definition/node-manifest.d.ts.map +1 -1
  26. package/dist/canvas/schema/node-definition/node-manifest.js +3 -1
  27. package/dist/canvas/schema/node-instance/base.cjs +2 -1
  28. package/dist/canvas/schema/node-instance/base.d.ts +1 -0
  29. package/dist/canvas/schema/node-instance/base.d.ts.map +1 -1
  30. package/dist/canvas/schema/node-instance/base.js +2 -1
  31. package/dist/canvas/schema/node-instance/node.d.ts +1 -0
  32. package/dist/canvas/schema/node-instance/node.d.ts.map +1 -1
  33. package/dist/canvas/storybook-utils/manifests/index.d.ts +2 -0
  34. package/dist/canvas/storybook-utils/manifests/index.d.ts.map +1 -1
  35. package/dist/canvas/styles/execution-status.cjs +1 -0
  36. package/dist/canvas/styles/execution-status.d.ts.map +1 -1
  37. package/dist/canvas/styles/execution-status.js +1 -0
  38. package/dist/canvas/styles/tailwind.canvas.css +1 -1
  39. package/dist/canvas/types/execution.cjs +1 -0
  40. package/dist/canvas/types/execution.d.ts +1 -0
  41. package/dist/canvas/types/execution.d.ts.map +1 -1
  42. package/dist/canvas/types/execution.js +1 -0
  43. package/dist/canvas/utils/toolbar-resolver.cjs +7 -2
  44. package/dist/canvas/utils/toolbar-resolver.d.ts.map +1 -1
  45. package/dist/canvas/utils/toolbar-resolver.js +7 -2
  46. package/package.json +1 -1
@@ -36,6 +36,7 @@ export declare const agentFlowManifest: {
36
36
  iconBackground?: string | undefined;
37
37
  iconBackgroundDark?: string | undefined;
38
38
  iconColor?: string | undefined;
39
+ shadow?: boolean | undefined;
39
40
  };
40
41
  handleConfiguration: {
41
42
  position: "top" | "right" | "bottom" | "left";
@@ -123,6 +124,7 @@ export declare const agentFlowManifest: {
123
124
  } | undefined;
124
125
  }[] | undefined;
125
126
  }> | undefined;
127
+ suppressDefaultToolbarActions?: Record<string, string[]> | undefined;
126
128
  inputDefaults?: Record<string, unknown> | undefined;
127
129
  inputDefinition?: Record<string, any> | undefined;
128
130
  outputDefinition?: Record<string, any> | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"agent-flow.manifest.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/AgentCanvas/agent-flow.manifest.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAMnF,eAAO,MAAM,mBAAmB,EAAE,gBAAgB,EAmBjD,CAAC;AAMF,eAAO,MAAM,2BAA2B,EAAE,YAsDzC,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,YAqDrC,CAAC;AAMF,eAAO,MAAM,uBAAuB,EAAE,YAwBrC,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,YAwBlC,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,YAwBjC,CAAC;AAEF,eAAO,MAAM,0BAA0B,EAAE,YAwBxC,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,YAwBpC,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,YAwBjC,CAAC;AAMF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAa7B,CAAC"}
1
+ {"version":3,"file":"agent-flow.manifest.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/AgentCanvas/agent-flow.manifest.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAMnF,eAAO,MAAM,mBAAmB,EAAE,gBAAgB,EAmBjD,CAAC;AAMF,eAAO,MAAM,2BAA2B,EAAE,YAsDzC,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,YAqDrC,CAAC;AAMF,eAAO,MAAM,uBAAuB,EAAE,YAwBrC,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,YAwBlC,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,YAwBjC,CAAC;AAEF,eAAO,MAAM,0BAA0B,EAAE,YAwBxC,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,YAwBpC,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,YAwBjC,CAAC;AAMF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAa7B,CAAC"}
@@ -71,7 +71,7 @@ const getContainerHeight = (height, hasFooter, footerVariant)=>{
71
71
  };
72
72
  const BaseNodeComponent = (props)=>{
73
73
  const { type, data, selected, id, dragging, width, height, parentId } = props;
74
- const { onHandleAction: onHandleActionProp, onHandleMouseEnter: onHandleMouseEnterProp, onHandleMouseLeave: onHandleMouseLeaveProp, shouldShowAddButtonFn: shouldShowAddButtonFnProp, shouldShowButtonHandleNotchesFn: shouldShowButtonHandleNotchesFnProp, toolbarConfig: toolbarConfigProp, handleConfigurations: handleConfigurationsProp, adornments: adornmentsProp, suggestionType, disabled, executionStatusOverride, labelTooltip, labelBackgroundColor, footerVariant, footerComponent, subLabelComponent, iconComponent } = (0, external_BaseNodeConfigContext_cjs_namespaceObject.useBaseNodeOverrideConfig)();
74
+ const { onHandleAction: onHandleActionProp, onHandleMouseEnter: onHandleMouseEnterProp, onHandleMouseLeave: onHandleMouseLeaveProp, onActionNeeded, shouldShowAddButtonFn: shouldShowAddButtonFnProp, shouldShowButtonHandleNotchesFn: shouldShowButtonHandleNotchesFnProp, toolbarConfig: toolbarConfigProp, handleConfigurations: handleConfigurationsProp, adornments: adornmentsProp, suggestionType, disabled, executionStatusOverride, labelTooltip, labelBackgroundColor, footerVariant, footerComponent, subLabelComponent, iconComponent } = (0, external_BaseNodeConfigContext_cjs_namespaceObject.useBaseNodeOverrideConfig)();
75
75
  const updateNodeInternals = (0, react_cjs_namespaceObject.useUpdateNodeInternals)();
76
76
  const { updateNodeData, updateNode } = (0, react_cjs_namespaceObject.useReactFlow)();
77
77
  const containerRef = (0, external_react_namespaceObject.useRef)(null);
@@ -226,6 +226,7 @@ const BaseNodeComponent = (props)=>{
226
226
  const displayShape = display.shape ?? 'square';
227
227
  const displayBackground = display.background;
228
228
  const displayColor = display.color;
229
+ const displayShadow = display.shadow ?? true;
229
230
  const displayIconBackground = isDarkMode ? display.iconBackgroundDark ?? display.iconBackground : display.iconBackground;
230
231
  const displayLabelTooltip = labelTooltip;
231
232
  const displayLabelBackgroundColor = labelBackgroundColor;
@@ -432,6 +433,7 @@ const BaseNodeComponent = (props)=>{
432
433
  hasFooter: hasFooter,
433
434
  background: displayBackground,
434
435
  loading: data.loading,
436
+ shadow: displayShadow,
435
437
  children: [
436
438
  (Icon || data.loading) && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_BaseNodeInnerShape_cjs_namespaceObject.BaseInnerShape, {
437
439
  color: displayColor,
@@ -444,7 +446,7 @@ const BaseNodeComponent = (props)=>{
444
446
  shape: displayShape,
445
447
  children: adornments.topLeft
446
448
  }),
447
- adornments?.topRight && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_BaseNodeBadgeSlot_cjs_namespaceObject.BaseBadgeSlot, {
449
+ adornments?.topRight && 'ActionNeeded' !== executionStatus && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_BaseNodeBadgeSlot_cjs_namespaceObject.BaseBadgeSlot, {
448
450
  position: "top-right",
449
451
  shape: displayShape,
450
452
  children: adornments.topRight
@@ -484,7 +486,35 @@ const BaseNodeComponent = (props)=>{
484
486
  })
485
487
  ]
486
488
  }),
487
- handleElements
489
+ handleElements,
490
+ 'ActionNeeded' === executionStatus && (()=>{
491
+ const badgeInset = 'circle' === displayShape ? external_constants_cjs_namespaceObject.NODE_BADGE_INSET_CIRCLE : external_constants_cjs_namespaceObject.NODE_BADGE_INSET_SQUARE;
492
+ return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("button", {
493
+ type: "button",
494
+ className: "absolute z-10 flex items-center gap-1 rounded-full bg-amber-400 text-[11px] font-semibold text-stone-900 shadow-sm transition-colors hover:bg-amber-300",
495
+ style: {
496
+ top: badgeInset,
497
+ left: `calc(var(--node-w) - ${badgeInset + external_constants_cjs_namespaceObject.NODE_BADGE_SIZE}px)`,
498
+ height: external_constants_cjs_namespaceObject.NODE_BADGE_SIZE,
499
+ minWidth: external_constants_cjs_namespaceObject.NODE_BADGE_SIZE,
500
+ paddingInline: '4px 10px'
501
+ },
502
+ onClick: (e)=>{
503
+ e.stopPropagation();
504
+ onActionNeeded?.(id);
505
+ },
506
+ children: [
507
+ /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(icon_registry_cjs_namespaceObject.CanvasIcon, {
508
+ icon: "flag",
509
+ size: 12
510
+ }),
511
+ /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
512
+ className: "whitespace-nowrap",
513
+ children: "Action needed"
514
+ })
515
+ ]
516
+ });
517
+ })()
488
518
  ]
489
519
  });
490
520
  if (useSmartHandles) return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(SmartHandle_cjs_namespaceObject.SmartHandleProvider, {
@@ -1 +1 @@
1
- {"version":3,"file":"BaseNode.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/BaseNode/BaseNode.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,0CAA0C,CAAC;AAwChF,OAAO,KAAK,EACV,YAAY,EAIb,MAAM,kBAAkB,CAAC;AA6nB1B,eAAO,MAAM,QAAQ,8CAvlBa,SAAS,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,6CAulBhB,CAAC"}
1
+ {"version":3,"file":"BaseNode.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/BaseNode/BaseNode.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,0CAA0C,CAAC;AA2ChF,OAAO,KAAK,EACV,YAAY,EAIb,MAAM,kBAAkB,CAAC;AAupB1B,eAAO,MAAM,QAAQ,8CAjnBa,SAAS,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,6CAinBhB,CAAC"}
@@ -1,11 +1,11 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { Position, useReactFlow, useStore, useUpdateNodeInternals } from "../../xyflow/react.js";
3
3
  import { memo, useCallback, useEffect, useMemo, useRef, useState } from "react";
4
- import { DEFAULT_NODE_SIZE, DEFAULT_RECTANGLE_NODE_WIDTH, GRID_SPACING, NODE_BORDER_SIZE, NODE_CONTAINER_RADIUS_RATIO, NODE_HEIGHT_DEFAULT, NODE_HEIGHT_FOOTER_BUTTON, NODE_HEIGHT_FOOTER_DOUBLE, NODE_HEIGHT_FOOTER_SINGLE, NODE_INNER_ICON_RATIO, NODE_INNER_RADIUS_RATIO, NODE_INNER_SHAPE_RATIO } from "../../constants.js";
4
+ import { DEFAULT_NODE_SIZE, DEFAULT_RECTANGLE_NODE_WIDTH, GRID_SPACING, NODE_BADGE_INSET_CIRCLE, NODE_BADGE_INSET_SQUARE, NODE_BADGE_SIZE, NODE_BORDER_SIZE, NODE_CONTAINER_RADIUS_RATIO, NODE_HEIGHT_DEFAULT, NODE_HEIGHT_FOOTER_BUTTON, NODE_HEIGHT_FOOTER_DOUBLE, NODE_HEIGHT_FOOTER_SINGLE, NODE_INNER_ICON_RATIO, NODE_INNER_RADIUS_RATIO, NODE_INNER_SHAPE_RATIO } from "../../constants.js";
5
5
  import { useNodeTypeRegistry } from "../../core/index.js";
6
6
  import { useElementValidationStatus, useNodeExecutionState } from "../../hooks/index.js";
7
7
  import { resolveAdornments } from "../../utils/adornment-resolver.js";
8
- import { getIcon } from "../../utils/icon-registry.js";
8
+ import { CanvasIcon, getIcon } from "../../utils/icon-registry.js";
9
9
  import { resolveDisplay, resolveHandles } from "../../utils/manifest-resolver.js";
10
10
  import { selectIsConnecting } from "../../utils/NodeUtils.js";
11
11
  import { resolveToolbar } from "../../utils/toolbar-resolver.js";
@@ -43,7 +43,7 @@ const getContainerHeight = (height, hasFooter, footerVariant)=>{
43
43
  };
44
44
  const BaseNodeComponent = (props)=>{
45
45
  const { type, data, selected, id, dragging, width, height, parentId } = props;
46
- const { onHandleAction: onHandleActionProp, onHandleMouseEnter: onHandleMouseEnterProp, onHandleMouseLeave: onHandleMouseLeaveProp, shouldShowAddButtonFn: shouldShowAddButtonFnProp, shouldShowButtonHandleNotchesFn: shouldShowButtonHandleNotchesFnProp, toolbarConfig: toolbarConfigProp, handleConfigurations: handleConfigurationsProp, adornments: adornmentsProp, suggestionType, disabled, executionStatusOverride, labelTooltip, labelBackgroundColor, footerVariant, footerComponent, subLabelComponent, iconComponent } = useBaseNodeOverrideConfig();
46
+ const { onHandleAction: onHandleActionProp, onHandleMouseEnter: onHandleMouseEnterProp, onHandleMouseLeave: onHandleMouseLeaveProp, onActionNeeded, shouldShowAddButtonFn: shouldShowAddButtonFnProp, shouldShowButtonHandleNotchesFn: shouldShowButtonHandleNotchesFnProp, toolbarConfig: toolbarConfigProp, handleConfigurations: handleConfigurationsProp, adornments: adornmentsProp, suggestionType, disabled, executionStatusOverride, labelTooltip, labelBackgroundColor, footerVariant, footerComponent, subLabelComponent, iconComponent } = useBaseNodeOverrideConfig();
47
47
  const updateNodeInternals = useUpdateNodeInternals();
48
48
  const { updateNodeData, updateNode } = useReactFlow();
49
49
  const containerRef = useRef(null);
@@ -198,6 +198,7 @@ const BaseNodeComponent = (props)=>{
198
198
  const displayShape = display.shape ?? 'square';
199
199
  const displayBackground = display.background;
200
200
  const displayColor = display.color;
201
+ const displayShadow = display.shadow ?? true;
201
202
  const displayIconBackground = isDarkMode ? display.iconBackgroundDark ?? display.iconBackground : display.iconBackground;
202
203
  const displayLabelTooltip = labelTooltip;
203
204
  const displayLabelBackgroundColor = labelBackgroundColor;
@@ -404,6 +405,7 @@ const BaseNodeComponent = (props)=>{
404
405
  hasFooter: hasFooter,
405
406
  background: displayBackground,
406
407
  loading: data.loading,
408
+ shadow: displayShadow,
407
409
  children: [
408
410
  (Icon || data.loading) && /*#__PURE__*/ jsx(BaseInnerShape, {
409
411
  color: displayColor,
@@ -416,7 +418,7 @@ const BaseNodeComponent = (props)=>{
416
418
  shape: displayShape,
417
419
  children: adornments.topLeft
418
420
  }),
419
- adornments?.topRight && /*#__PURE__*/ jsx(BaseBadgeSlot, {
421
+ adornments?.topRight && 'ActionNeeded' !== executionStatus && /*#__PURE__*/ jsx(BaseBadgeSlot, {
420
422
  position: "top-right",
421
423
  shape: displayShape,
422
424
  children: adornments.topRight
@@ -456,7 +458,35 @@ const BaseNodeComponent = (props)=>{
456
458
  })
457
459
  ]
458
460
  }),
459
- handleElements
461
+ handleElements,
462
+ 'ActionNeeded' === executionStatus && (()=>{
463
+ const badgeInset = 'circle' === displayShape ? NODE_BADGE_INSET_CIRCLE : NODE_BADGE_INSET_SQUARE;
464
+ return /*#__PURE__*/ jsxs("button", {
465
+ type: "button",
466
+ className: "absolute z-10 flex items-center gap-1 rounded-full bg-amber-400 text-[11px] font-semibold text-stone-900 shadow-sm transition-colors hover:bg-amber-300",
467
+ style: {
468
+ top: badgeInset,
469
+ left: `calc(var(--node-w) - ${badgeInset + NODE_BADGE_SIZE}px)`,
470
+ height: NODE_BADGE_SIZE,
471
+ minWidth: NODE_BADGE_SIZE,
472
+ paddingInline: '4px 10px'
473
+ },
474
+ onClick: (e)=>{
475
+ e.stopPropagation();
476
+ onActionNeeded?.(id);
477
+ },
478
+ children: [
479
+ /*#__PURE__*/ jsx(CanvasIcon, {
480
+ icon: "flag",
481
+ size: 12
482
+ }),
483
+ /*#__PURE__*/ jsx("span", {
484
+ className: "whitespace-nowrap",
485
+ children: "Action needed"
486
+ })
487
+ ]
488
+ });
489
+ })()
460
490
  ]
461
491
  });
462
492
  if (useSmartHandles) return /*#__PURE__*/ jsx(SmartHandleProvider, {
@@ -7,6 +7,7 @@ export interface BaseNodeOverrideConfig {
7
7
  onHandleAction?: (event: HandleActionEvent) => void;
8
8
  onHandleMouseEnter?: (event: HandleMouseEvent) => void;
9
9
  onHandleMouseLeave?: (event: HandleMouseEvent) => void;
10
+ onActionNeeded?: (nodeId: string) => void;
10
11
  shouldShowAddButtonFn?: (opts: {
11
12
  showAddButton: boolean;
12
13
  selected: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"BaseNodeConfigContext.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/BaseNode/BaseNodeConfigContext.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AACxE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AACxF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AACpD,OAAO,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AActE,MAAM,WAAW,sBAAsB;IAErC,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,iBAAiB,KAAK,IAAI,CAAC;IAEpD,kBAAkB,CAAC,EAAE,CAAC,KAAK,EAAE,gBAAgB,KAAK,IAAI,CAAC;IAEvD,kBAAkB,CAAC,EAAE,CAAC,KAAK,EAAE,gBAAgB,KAAK,IAAI,CAAC;IACvD,qBAAqB,CAAC,EAAE,CAAC,IAAI,EAAE;QAAE,aAAa,EAAE,OAAO,CAAC;QAAC,QAAQ,EAAE,OAAO,CAAA;KAAE,KAAK,OAAO,CAAC;IACzF,+BAA+B,CAAC,EAAE,CAAC,IAAI,EAAE;QACvC,YAAY,EAAE,OAAO,CA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ActionNeeded':
40
41
  case 'Paused':
41
42
  case 'Warning':
42
43
  case 'WARNING':
@@ -53,12 +54,12 @@ const getStatusBorder = (status)=>{
53
54
  return '';
54
55
  }
55
56
  };
56
- const BaseContainer = ({ isSelected, isHovered, isStacked, shape, interactionState, executionStatus, validationStatus, suggestionType, hasFooter, background, loading, children })=>{
57
+ const BaseContainer = ({ isSelected, isHovered, isStacked, shape, interactionState, executionStatus, validationStatus, suggestionType, hasFooter, background, loading, shadow = true, children })=>{
57
58
  const activeStatus = suggestionType ?? validationStatus ?? executionStatus;
58
59
  const className = (0, external_react_namespaceObject.useMemo)(()=>{
59
60
  const statusBorder = getStatusBorder(activeStatus);
60
61
  const hasStatusBorder = statusBorder.length > 0;
61
- return (0, apollo_wind_namespaceObject.cn)('relative flex items-center cursor-pointer bg-surface-overlay border border-border', 'w-(--node-w) h-(--node-h) rounded-(--node-radius)', 'shadow-(--canvas-node-shadow-rest) outline-offset-0 transition-[box-shadow,border-color] duration-150', 'rectangle' === shape ? 'flex-row justify-start gap-3 p-(--node-gap)' : 'flex-col justify-center', hasFooter && 'flex-wrap', statusBorder, isHovered && 'shadow-(--canvas-node-shadow-hover)', isHovered && !hasStatusBorder && 'border-border-hover', isSelected && 'outline outline-2 outline-foreground-accent-muted', 'disabled' === interactionState && 'opacity-50 cursor-not-allowed', 'drag' === interactionState && 'cursor-grabbing shadow-(--canvas-node-shadow-lifted)', isStacked && 'before:content-[""] before:absolute before:inset-x-0 before:top-0 before:h-full before:rounded-[inherit] before:bg-surface-overlay before:border before:border-brand before:translate-y-[6px] before:-z-10 before:pointer-events-none');
62
+ return (0, apollo_wind_namespaceObject.cn)('relative flex items-center cursor-pointer bg-surface-overlay border border-border', 'w-(--node-w) h-(--node-h) rounded-(--node-radius)', 'outline-offset-0 transition-[box-shadow,border-color] duration-150', shadow && 'shadow-(--canvas-node-shadow-rest)', 'rectangle' === shape ? 'flex-row justify-start gap-3 p-(--node-gap)' : 'flex-col justify-center', hasFooter && 'flex-wrap', statusBorder, shadow && isHovered && 'shadow-(--canvas-node-shadow-hover)', isHovered && !hasStatusBorder && 'border-border-hover', isSelected && 'outline outline-2 outline-foreground-accent-muted', 'disabled' === interactionState && 'opacity-50 cursor-not-allowed', 'drag' === interactionState && (0, apollo_wind_namespaceObject.cn)('cursor-grabbing', shadow && 'shadow-(--canvas-node-shadow-lifted)'), isStacked && 'before:content-[""] before:absolute before:inset-x-0 before:top-0 before:h-full before:rounded-[inherit] before:bg-surface-overlay before:border before:border-brand before:translate-y-[6px] before:-z-10 before:pointer-events-none');
62
63
  }, [
63
64
  shape,
64
65
  hasFooter,
@@ -66,7 +67,8 @@ const BaseContainer = ({ isSelected, isHovered, isStacked, shape, interactionSta
66
67
  isSelected,
67
68
  isHovered,
68
69
  isStacked,
69
- interactionState
70
+ interactionState,
71
+ shadow
70
72
  ]);
71
73
  return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
72
74
  "data-testid": "base-container",
@@ -15,8 +15,9 @@ interface BaseContainerProps {
15
15
  hasFooter?: boolean;
16
16
  background?: string;
17
17
  loading?: boolean;
18
+ shadow?: boolean;
18
19
  children: React.ReactNode;
19
20
  }
20
- export declare const BaseContainer: ({ isSelected, isHovered, isStacked, shape, interactionState, executionStatus, validationStatus, suggestionType, hasFooter, background, loading, children, }: BaseContainerProps) => import("react/jsx-runtime").JSX.Element;
21
+ export declare const BaseContainer: ({ isSelected, isHovered, isStacked, shape, interactionState, executionStatus, validationStatus, suggestionType, hasFooter, background, loading, shadow, children, }: BaseContainerProps) => import("react/jsx-runtime").JSX.Element;
21
22
  export {};
22
23
  //# sourceMappingURL=BaseNodeContainer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"BaseNodeContainer.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/BaseNode/BaseNodeContainer.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,EAAE,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C1B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,eAAe,CAAC,EAAE,mBAAmB,CAAC;IACtC,gBAAgB,CAAC,EAAE,uBAAuB,CAAC;IAC3C,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,eAAO,MAAM,aAAa,GAAI,qKAc3B,kBAAkB,4CAgDpB,CAAC"}
@@ -8,6 +8,7 @@ const getStatusBorder = (status)=>{
8
8
  case 'Completed':
9
9
  case 'add':
10
10
  return 'border-success';
11
+ case 'ActionNeeded':
11
12
  case 'Paused':
12
13
  case 'Warning':
13
14
  case 'WARNING':
@@ -24,12 +25,12 @@ const getStatusBorder = (status)=>{
24
25
  return '';
25
26
  }
26
27
  };
27
- const BaseContainer = ({ isSelected, isHovered, isStacked, shape, interactionState, executionStatus, validationStatus, suggestionType, hasFooter, background, loading, children })=>{
28
+ const BaseContainer = ({ isSelected, isHovered, isStacked, shape, interactionState, executionStatus, validationStatus, suggestionType, hasFooter, background, loading, shadow = true, children })=>{
28
29
  const activeStatus = suggestionType ?? validationStatus ?? executionStatus;
29
30
  const className = useMemo(()=>{
30
31
  const statusBorder = getStatusBorder(activeStatus);
31
32
  const hasStatusBorder = statusBorder.length > 0;
32
- return cn('relative flex items-center cursor-pointer bg-surface-overlay border border-border', 'w-(--node-w) h-(--node-h) rounded-(--node-radius)', 'shadow-(--canvas-node-shadow-rest) outline-offset-0 transition-[box-shadow,border-color] duration-150', 'rectangle' === shape ? 'flex-row justify-start gap-3 p-(--node-gap)' : 'flex-col justify-center', hasFooter && 'flex-wrap', statusBorder, isHovered && 'shadow-(--canvas-node-shadow-hover)', isHovered && !hasStatusBorder && 'border-border-hover', isSelected && 'outline outline-2 outline-foreground-accent-muted', 'disabled' === interactionState && 'opacity-50 cursor-not-allowed', 'drag' === interactionState && 'cursor-grabbing shadow-(--canvas-node-shadow-lifted)', isStacked && 'before:content-[""] before:absolute before:inset-x-0 before:top-0 before:h-full before:rounded-[inherit] before:bg-surface-overlay before:border before:border-brand before:translate-y-[6px] before:-z-10 before:pointer-events-none');
33
+ return cn('relative flex items-center cursor-pointer bg-surface-overlay border border-border', 'w-(--node-w) h-(--node-h) rounded-(--node-radius)', 'outline-offset-0 transition-[box-shadow,border-color] duration-150', shadow && 'shadow-(--canvas-node-shadow-rest)', 'rectangle' === shape ? 'flex-row justify-start gap-3 p-(--node-gap)' : 'flex-col justify-center', hasFooter && 'flex-wrap', statusBorder, shadow && isHovered && 'shadow-(--canvas-node-shadow-hover)', isHovered && !hasStatusBorder && 'border-border-hover', isSelected && 'outline outline-2 outline-foreground-accent-muted', 'disabled' === interactionState && 'opacity-50 cursor-not-allowed', 'drag' === interactionState && cn('cursor-grabbing', shadow && 'shadow-(--canvas-node-shadow-lifted)'), isStacked && 'before:content-[""] before:absolute before:inset-x-0 before:top-0 before:h-full before:rounded-[inherit] before:bg-surface-overlay before:border before:border-brand before:translate-y-[6px] before:-z-10 before:pointer-events-none');
33
34
  }, [
34
35
  shape,
35
36
  hasFooter,
@@ -37,7 +38,8 @@ const BaseContainer = ({ isSelected, isHovered, isStacked, shape, interactionSta
37
38
  isSelected,
38
39
  isHovered,
39
40
  isStacked,
40
- interactionState
41
+ interactionState,
42
+ shadow
41
43
  ]);
42
44
  return /*#__PURE__*/ jsx("div", {
43
45
  "data-testid": "base-container",
@@ -35,7 +35,7 @@ const caseFlowCategories = [
35
35
  sortOrder: 0,
36
36
  color: 'linear-gradient(135deg, #FFF3E0 0%, #FFE0B2 100%)',
37
37
  colorDark: 'linear-gradient(135deg, #E65100 0%, #EF6C00 100%)',
38
- icon: 'bolt',
38
+ icon: 'zap',
39
39
  tags: [
40
40
  'trigger',
41
41
  'start',
@@ -60,8 +60,9 @@ const caseManagementTriggerManifest = {
60
60
  display: {
61
61
  label: 'Trigger',
62
62
  description: 'Starts a case instance and triggers a case entered event',
63
- icon: 'bolt',
64
- shape: 'circle'
63
+ icon: 'zap',
64
+ shape: 'circle',
65
+ shadow: false
65
66
  },
66
67
  handleConfiguration: [
67
68
  {
@@ -127,6 +128,14 @@ const caseManagementTriggerManifest = {
127
128
  }
128
129
  ]
129
130
  }
131
+ },
132
+ suppressDefaultToolbarActions: {
133
+ design: [
134
+ 'breakpoint'
135
+ ],
136
+ debug: [
137
+ 'breakpoint'
138
+ ]
130
139
  }
131
140
  };
132
141
  const caseFlowManifest = {
@@ -29,6 +29,7 @@ export declare const caseFlowManifest: {
29
29
  iconBackground?: string | undefined;
30
30
  iconBackgroundDark?: string | undefined;
31
31
  iconColor?: string | undefined;
32
+ shadow?: boolean | undefined;
32
33
  };
33
34
  handleConfiguration: {
34
35
  position: "top" | "right" | "bottom" | "left";
@@ -116,6 +117,7 @@ export declare const caseFlowManifest: {
116
117
  } | undefined;
117
118
  }[] | undefined;
118
119
  }> | undefined;
120
+ suppressDefaultToolbarActions?: Record<string, string[]> | undefined;
119
121
  inputDefaults?: Record<string, unknown> | undefined;
120
122
  inputDefinition?: Record<string, any> | undefined;
121
123
  outputDefinition?: Record<string, any> | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"case-flow.manifest.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/CaseFlow/case-flow.manifest.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAMnF,eAAO,MAAM,kBAAkB,EAAE,gBAAgB,EAUhD,CAAC;AAMF,eAAO,MAAM,6BAA6B,EAAE,YAsD3C,CAAC;AAMF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAI5B,CAAC"}
1
+ {"version":3,"file":"case-flow.manifest.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/CaseFlow/case-flow.manifest.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAMnF,eAAO,MAAM,kBAAkB,EAAE,gBAAgB,EAUhD,CAAC;AAMF,eAAO,MAAM,6BAA6B,EAAE,YA2D3C,CAAC;AAMF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAI5B,CAAC"}
@@ -5,7 +5,7 @@ const caseFlowCategories = [
5
5
  sortOrder: 0,
6
6
  color: 'linear-gradient(135deg, #FFF3E0 0%, #FFE0B2 100%)',
7
7
  colorDark: 'linear-gradient(135deg, #E65100 0%, #EF6C00 100%)',
8
- icon: 'bolt',
8
+ icon: 'zap',
9
9
  tags: [
10
10
  'trigger',
11
11
  'start',
@@ -30,8 +30,9 @@ const caseManagementTriggerManifest = {
30
30
  display: {
31
31
  label: 'Trigger',
32
32
  description: 'Starts a case instance and triggers a case entered event',
33
- icon: 'bolt',
34
- shape: 'circle'
33
+ icon: 'zap',
34
+ shape: 'circle',
35
+ shadow: false
35
36
  },
36
37
  handleConfiguration: [
37
38
  {
@@ -97,6 +98,14 @@ const caseManagementTriggerManifest = {
97
98
  }
98
99
  ]
99
100
  }
101
+ },
102
+ suppressDefaultToolbarActions: {
103
+ design: [
104
+ 'breakpoint'
105
+ ],
106
+ debug: [
107
+ 'breakpoint'
108
+ ]
100
109
  }
101
110
  };
102
111
  const caseFlowManifest = {
@@ -30,6 +30,7 @@ __webpack_require__.d(__webpack_exports__, {
30
30
  const jsx_runtime_namespaceObject = require("react/jsx-runtime");
31
31
  const execution_cjs_namespaceObject = require("../../types/execution.cjs");
32
32
  const edgeTargetStatusToEdgeColor = {
33
+ ActionNeeded: 'var(--canvas-warning-icon)',
33
34
  Cancelled: 'var(--canvas-error-icon)',
34
35
  Completed: 'var(--canvas-success-icon)',
35
36
  CRITICAL: 'var(--canvas-error-icon)',
@@ -1 +1 @@
1
- {"version":3,"file":"EdgeUtils.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/Edges/EdgeUtils.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAAuB,MAAM,uBAAuB,CAAC;AAChF,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AAEtE,eAAO,MAAM,2BAA2B,EAAE;KACvC,GAAG,IAAI,aAAa,GAAG,uBAAuB,GAAG,MAAM;CAgBzD,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAC7B,QAAQ,aAAa,GAAG,uBAAuB,GAAG,SAAS,EAC3D,UAAU,MAAM,mDAYjB,CAAC"}
1
+ {"version":3,"file":"EdgeUtils.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/Edges/EdgeUtils.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAAuB,MAAM,uBAAuB,CAAC;AAChF,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AAEtE,eAAO,MAAM,2BAA2B,EAAE;KACvC,GAAG,IAAI,aAAa,GAAG,uBAAuB,GAAG,MAAM;CAiBzD,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAC7B,QAAQ,aAAa,GAAG,uBAAuB,GAAG,SAAS,EAC3D,UAAU,MAAM,mDAYjB,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { ElementStatusValues } from "../../types/execution.js";
3
3
  const edgeTargetStatusToEdgeColor = {
4
+ ActionNeeded: 'var(--canvas-warning-icon)',
4
5
  Cancelled: 'var(--canvas-error-icon)',
5
6
  Completed: 'var(--canvas-success-icon)',
6
7
  CRITICAL: 'var(--canvas-error-icon)',
@@ -39,6 +39,7 @@ function getExecutionStatusColor(status) {
39
39
  return 'var(--color-info-icon)';
40
40
  case 'Completed':
41
41
  return 'var(--color-success-icon)';
42
+ case 'ActionNeeded':
42
43
  case 'Paused':
43
44
  case 'Warning':
44
45
  return 'var(--color-warning-icon)';
@@ -89,6 +90,12 @@ function ExecutionStatusIcon({ status, size = 16 }) {
89
90
  size: size,
90
91
  color: color
91
92
  });
93
+ case 'ActionNeeded':
94
+ return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(icon_registry_cjs_namespaceObject.CanvasIcon, {
95
+ icon: "hand",
96
+ size: size,
97
+ color: color
98
+ });
92
99
  case 'Paused':
93
100
  return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(icon_registry_cjs_namespaceObject.CanvasIcon, {
94
101
  icon: "circle-pause",
@@ -1,6 +1,6 @@
1
1
  export declare function getExecutionStatusColor(status: string | undefined): string;
2
2
  export declare function ExecutionStatusIcon({ status, size, }: {
3
- status?: 'InProgress' | 'Cancelled' | 'UserCancelled' | 'Completed' | 'Paused' | 'Failed' | 'NotExecuted' | 'Terminated' | 'Warning' | string;
3
+ status?: 'ActionNeeded' | 'InProgress' | 'Cancelled' | 'UserCancelled' | 'Completed' | 'Paused' | 'Failed' | 'NotExecuted' | 'Terminated' | 'Warning' | string;
4
4
  size?: number;
5
5
  }): import("react/jsx-runtime").JSX.Element | null;
6
6
  //# sourceMappingURL=ExecutionStatusIcon.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ExecutionStatusIcon.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/ExecutionStatusIcon/ExecutionStatusIcon.tsx"],"names":[],"mappings":"AAIA,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,CAsC1E;AAED,wBAAgB,mBAAmB,CAAC,EAClC,MAAM,EACN,IAAS,GACV,EAAE;IACD,MAAM,CAAC,EACH,YAAY,GACZ,WAAW,GACX,eAAe,GACf,WAAW,GACX,QAAQ,GACR,QAAQ,GACR,aAAa,GACb,YAAY,GACZ,SAAS,GACT,MAAM,CAAC;IACX,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,kDA+BA"}
1
+ {"version":3,"file":"ExecutionStatusIcon.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/ExecutionStatusIcon/ExecutionStatusIcon.tsx"],"names":[],"mappings":"AAIA,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,CAuC1E;AAED,wBAAgB,mBAAmB,CAAC,EAClC,MAAM,EACN,IAAS,GACV,EAAE;IACD,MAAM,CAAC,EACH,cAAc,GACd,YAAY,GACZ,WAAW,GACX,eAAe,GACf,WAAW,GACX,QAAQ,GACR,QAAQ,GACR,aAAa,GACb,YAAY,GACZ,SAAS,GACT,MAAM,CAAC;IACX,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,kDAiCA"}
@@ -10,6 +10,7 @@ function getExecutionStatusColor(status) {
10
10
  return 'var(--color-info-icon)';
11
11
  case 'Completed':
12
12
  return 'var(--color-success-icon)';
13
+ case 'ActionNeeded':
13
14
  case 'Paused':
14
15
  case 'Warning':
15
16
  return 'var(--color-warning-icon)';
@@ -60,6 +61,12 @@ function ExecutionStatusIcon({ status, size = 16 }) {
60
61
  size: size,
61
62
  color: color
62
63
  });
64
+ case 'ActionNeeded':
65
+ return /*#__PURE__*/ jsx(CanvasIcon, {
66
+ icon: "hand",
67
+ size: size,
68
+ color: color
69
+ });
63
70
  case 'Paused':
64
71
  return /*#__PURE__*/ jsx(CanvasIcon, {
65
72
  icon: "circle-pause",
@@ -52,7 +52,8 @@ const nodeDisplayManifestSchema = external_zod_namespaceObject.z.object({
52
52
  background: external_zod_namespaceObject.z.string().optional(),
53
53
  iconBackground: external_zod_namespaceObject.z.string().optional(),
54
54
  iconBackgroundDark: external_zod_namespaceObject.z.string().optional(),
55
- iconColor: external_zod_namespaceObject.z.string().optional()
55
+ iconColor: external_zod_namespaceObject.z.string().optional(),
56
+ shadow: external_zod_namespaceObject.z.boolean().optional()
56
57
  });
57
58
  const nodeRuntimeConstraintsManifestSchema = external_zod_namespaceObject.z.union([
58
59
  external_zod_namespaceObject.z.object({
@@ -72,6 +73,7 @@ const nodeManifestSchema = external_zod_namespaceObject.z.object({
72
73
  display: nodeDisplayManifestSchema,
73
74
  handleConfiguration: external_zod_namespaceObject.z.array(external_handle_cjs_namespaceObject.handleGroupManifestSchema),
74
75
  toolbarExtensions: external_toolbar_cjs_namespaceObject.toolbarConfigurationSchema.optional(),
76
+ suppressDefaultToolbarActions: external_zod_namespaceObject.z.record(external_zod_namespaceObject.z.string(), external_zod_namespaceObject.z.array(external_zod_namespaceObject.z.string())).optional(),
75
77
  inputDefaults: external_zod_namespaceObject.z.record(external_zod_namespaceObject.z.string(), external_zod_namespaceObject.z.unknown()).optional(),
76
78
  inputDefinition: external_zod_namespaceObject.z.record(external_zod_namespaceObject.z.string(), external_zod_namespaceObject.z.any()).optional(),
77
79
  outputDefinition: external_zod_namespaceObject.z.record(external_zod_namespaceObject.z.string(), external_zod_namespaceObject.z.any()).optional(),
@@ -25,6 +25,7 @@ export declare const nodeDisplayManifestSchema: z.ZodObject<{
25
25
  iconBackground: z.ZodOptional<z.ZodString>;
26
26
  iconBackgroundDark: z.ZodOptional<z.ZodString>;
27
27
  iconColor: z.ZodOptional<z.ZodString>;
28
+ shadow: z.ZodOptional<z.ZodBoolean>;
28
29
  }, z.core.$strip>;
29
30
  export declare const nodeRuntimeConstraintsManifestSchema: z.ZodUnion<readonly [z.ZodObject<{
30
31
  include: z.ZodArray<z.ZodString>;
@@ -54,6 +55,7 @@ export declare const nodeManifestSchema: z.ZodObject<{
54
55
  iconBackground: z.ZodOptional<z.ZodString>;
55
56
  iconBackgroundDark: z.ZodOptional<z.ZodString>;
56
57
  iconColor: z.ZodOptional<z.ZodString>;
58
+ shadow: z.ZodOptional<z.ZodBoolean>;
57
59
  }, z.core.$strip>;
58
60
  handleConfiguration: z.ZodArray<z.ZodObject<{
59
61
  position: z.ZodEnum<{
@@ -173,6 +175,7 @@ export declare const nodeManifestSchema: z.ZodObject<{
173
175
  }, z.core.$strip>>;
174
176
  }, z.core.$strip>>>;
175
177
  }, z.core.$strip>>>;
178
+ suppressDefaultToolbarActions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
176
179
  inputDefaults: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
177
180
  inputDefinition: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
178
181
  outputDefinition: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
@@ -1 +1 @@
1
- {"version":3,"file":"node-manifest.d.ts","sourceRoot":"","sources":["../../../../src/canvas/schema/node-definition/node-manifest.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,eAAe;;;;;EAAyD,CAAC;AAKtF,eAAO,MAAM,uBAAuB;;iBAGlC,CAAC;AAKH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;iBA8BpC,CAAC;AAQH,eAAO,MAAM,oCAAoC;;;;mBAG/C,CAAC;AAKH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAC9D,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oCAAoC,CAAC,CAAC"}
@@ -20,7 +20,8 @@ const nodeDisplayManifestSchema = z.object({
20
20
  background: z.string().optional(),
21
21
  iconBackground: z.string().optional(),
22
22
  iconBackgroundDark: z.string().optional(),
23
- iconColor: z.string().optional()
23
+ iconColor: z.string().optional(),
24
+ shadow: z.boolean().optional()
24
25
  });
25
26
  const nodeRuntimeConstraintsManifestSchema = z.union([
26
27
  z.object({
@@ -40,6 +41,7 @@ const nodeManifestSchema = z.object({
40
41
  display: nodeDisplayManifestSchema,
41
42
  handleConfiguration: z.array(handleGroupManifestSchema),
42
43
  toolbarExtensions: toolbarConfigurationSchema.optional(),
44
+ suppressDefaultToolbarActions: z.record(z.string(), z.array(z.string())).optional(),
43
45
  inputDefaults: z.record(z.string(), z.unknown()).optional(),
44
46
  inputDefinition: z.record(z.string(), z.any()).optional(),
45
47
  outputDefinition: z.record(z.string(), z.any()).optional(),
@@ -50,7 +50,8 @@ const displayConfigSchema = external_zod_namespaceObject.z.object({
50
50
  labelBackgroundColor: external_zod_namespaceObject.z.string().optional(),
51
51
  centerAdornmentComponent: external_zod_namespaceObject.z.any().optional(),
52
52
  footerComponent: external_zod_namespaceObject.z.any().optional(),
53
- footerVariant: external_zod_namespaceObject.z.string().optional()
53
+ footerVariant: external_zod_namespaceObject.z.string().optional(),
54
+ shadow: external_zod_namespaceObject.z.boolean().optional()
54
55
  }).catchall(external_zod_namespaceObject.z.unknown());
55
56
  exports.displayConfigSchema = __webpack_exports__.displayConfigSchema;
56
57
  exports.idSchema = __webpack_exports__.idSchema;
@@ -24,6 +24,7 @@ export declare const displayConfigSchema: z.ZodObject<{
24
24
  centerAdornmentComponent: z.ZodOptional<z.ZodAny>;
25
25
  footerComponent: z.ZodOptional<z.ZodAny>;
26
26
  footerVariant: z.ZodOptional<z.ZodString>;
27
+ shadow: z.ZodOptional<z.ZodBoolean>;
27
28
  }, z.core.$catchall<z.ZodUnknown>>;
28
29
  export type InstanceId = z.infer<typeof idSchema>;
29
30
  export type InstanceVersion = z.infer<typeof versionSchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../src/canvas/schema/node-instance/base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,QAAQ,aAAoB,CAAC;AAK1C,eAAO,MAAM,aAAa,aAEqD,CAAC;AAKhF,eAAO,MAAM,oBAAoB,aAK9B,CAAC;AAKJ,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;kCAwBR,CAAC;AAGzB,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,QAAQ,CAAC,CAAC;AAClD,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAC5D,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAC1E,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../src/canvas/schema/node-instance/base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,QAAQ,aAAoB,CAAC;AAK1C,eAAO,MAAM,aAAa,aAEqD,CAAC;AAKhF,eAAO,MAAM,oBAAoB,aAK9B,CAAC;AAKJ,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;kCAyBR,CAAC;AAGzB,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,QAAQ,CAAC,CAAC;AAClD,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAC5D,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAC1E,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
@@ -19,6 +19,7 @@ const displayConfigSchema = z.object({
19
19
  labelBackgroundColor: z.string().optional(),
20
20
  centerAdornmentComponent: z.any().optional(),
21
21
  footerComponent: z.any().optional(),
22
- footerVariant: z.string().optional()
22
+ footerVariant: z.string().optional(),
23
+ shadow: z.boolean().optional()
23
24
  }).catchall(z.unknown());
24
25
  export { displayConfigSchema, idSchema, typeVersionKeySchema, versionSchema };
@@ -47,6 +47,7 @@ export declare const nodeSchema: z.ZodObject<{
47
47
  centerAdornmentComponent: z.ZodOptional<z.ZodAny>;
48
48
  footerComponent: z.ZodOptional<z.ZodAny>;
49
49
  footerVariant: z.ZodOptional<z.ZodString>;
50
+ shadow: z.ZodOptional<z.ZodBoolean>;
50
51
  }, z.core.$catchall<z.ZodUnknown>>;
51
52
  inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
52
53
  outputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -1 +1 @@
1
- {"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../../../../src/canvas/schema/node-instance/node.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,QAAQ;;;;;;;;;;kCAeG,CAAC;AAKzB,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAiCrB,CAAC;AAGH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,QAAQ,CAAC,CAAC;AAExD,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC"}
1
+ {"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../../../../src/canvas/schema/node-instance/node.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,QAAQ;;;;;;;;;;kCAeG,CAAC;AAKzB,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAiCrB,CAAC;AAGH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,QAAQ,CAAC,CAAC;AAExD,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC"}
@@ -28,6 +28,7 @@ export declare const defaultWorkflowManifest: {
28
28
  iconBackground?: string | undefined;
29
29
  iconBackgroundDark?: string | undefined;
30
30
  iconColor?: string | undefined;
31
+ shadow?: boolean | undefined;
31
32
  };
32
33
  handleConfiguration: {
33
34
  position: "top" | "right" | "bottom" | "left";
@@ -115,6 +116,7 @@ export declare const defaultWorkflowManifest: {
115
116
  } | undefined;
116
117
  }[] | undefined;
117
118
  }> | undefined;
119
+ suppressDefaultToolbarActions?: Record<string, string[]> | undefined;
118
120
  inputDefaults?: Record<string, unknown> | undefined;
119
121
  inputDefinition?: Record<string, any> | undefined;
120
122
  outputDefinition?: Record<string, any> | undefined;