@mindlogic-ai/logician-ui 3.1.0-alpha.9 → 3.2.0-alpha.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.
- package/dist/components/Icon/_constants/iconList.d.ts +1 -1
- package/dist/components/Icon/_constants/iconList.d.ts.map +1 -1
- package/dist/components/Icon/_constants/iconList.js +18 -0
- package/dist/components/Icon/_constants/iconList.js.map +1 -1
- package/dist/components/Icon/_constants/iconList.mjs +20 -2
- package/dist/components/Icon/_constants/iconList.mjs.map +1 -1
- package/dist/components/Icon/index.d.ts +2 -1
- package/dist/components/Icon/index.d.ts.map +1 -1
- package/dist/components/Icon/index.js +20 -1
- package/dist/components/Icon/index.js.map +1 -1
- package/dist/components/Icon/index.mjs +4 -2
- package/dist/components/Icon/index.mjs.map +1 -1
- package/dist/components/SegmentedControl/SegmentedControl.d.ts.map +1 -1
- package/dist/components/SegmentedControl/SegmentedControl.js +20 -4
- package/dist/components/SegmentedControl/SegmentedControl.js.map +1 -1
- package/dist/components/SegmentedControl/SegmentedControl.mjs +20 -4
- package/dist/components/SegmentedControl/SegmentedControl.mjs.map +1 -1
- package/dist/components/Workflow/Workflow.d.ts +3 -0
- package/dist/components/Workflow/Workflow.d.ts.map +1 -0
- package/dist/components/Workflow/Workflow.js +109 -0
- package/dist/components/Workflow/Workflow.js.map +1 -0
- package/dist/components/Workflow/Workflow.mjs +107 -0
- package/dist/components/Workflow/Workflow.mjs.map +1 -0
- package/dist/components/Workflow/Workflow.translations.json.js +164 -0
- package/dist/components/Workflow/Workflow.translations.json.js.map +1 -0
- package/dist/components/Workflow/Workflow.translations.json.mjs +138 -0
- package/dist/components/Workflow/Workflow.translations.json.mjs.map +1 -0
- package/dist/components/Workflow/Workflow.types.d.ts +435 -0
- package/dist/components/Workflow/Workflow.types.d.ts.map +1 -0
- package/dist/components/Workflow/Workflow.types.js +19 -0
- package/dist/components/Workflow/Workflow.types.js.map +1 -0
- package/dist/components/Workflow/Workflow.types.mjs +16 -0
- package/dist/components/Workflow/Workflow.types.mjs.map +1 -0
- package/dist/components/Workflow/WorkflowContext/WorkflowContext.d.ts +10 -0
- package/dist/components/Workflow/WorkflowContext/WorkflowContext.d.ts.map +1 -0
- package/dist/components/Workflow/WorkflowContext/WorkflowContext.js +163 -0
- package/dist/components/Workflow/WorkflowContext/WorkflowContext.js.map +1 -0
- package/dist/components/Workflow/WorkflowContext/WorkflowContext.mjs +159 -0
- package/dist/components/Workflow/WorkflowContext/WorkflowContext.mjs.map +1 -0
- package/dist/components/Workflow/WorkflowContext/WorkflowContext.types.d.ts +117 -0
- package/dist/components/Workflow/WorkflowContext/WorkflowContext.types.d.ts.map +1 -0
- package/dist/components/Workflow/WorkflowContext/index.d.ts +3 -0
- package/dist/components/Workflow/WorkflowContext/index.d.ts.map +1 -0
- package/dist/components/Workflow/canvas/Canvas/BranchLabelBadge.d.ts +19 -0
- package/dist/components/Workflow/canvas/Canvas/BranchLabelBadge.d.ts.map +1 -0
- package/dist/components/Workflow/canvas/Canvas/BranchLabelBadge.js +44 -0
- package/dist/components/Workflow/canvas/Canvas/BranchLabelBadge.js.map +1 -0
- package/dist/components/Workflow/canvas/Canvas/BranchLabelBadge.mjs +42 -0
- package/dist/components/Workflow/canvas/Canvas/BranchLabelBadge.mjs.map +1 -0
- package/dist/components/Workflow/canvas/Canvas/Canvas.d.ts +10 -0
- package/dist/components/Workflow/canvas/Canvas/Canvas.d.ts.map +1 -0
- package/dist/components/Workflow/canvas/Canvas/Canvas.js +531 -0
- package/dist/components/Workflow/canvas/Canvas/Canvas.js.map +1 -0
- package/dist/components/Workflow/canvas/Canvas/Canvas.mjs +529 -0
- package/dist/components/Workflow/canvas/Canvas/Canvas.mjs.map +1 -0
- package/dist/components/Workflow/canvas/Canvas/Canvas.styles.d.ts +53 -0
- package/dist/components/Workflow/canvas/Canvas/Canvas.styles.d.ts.map +1 -0
- package/dist/components/Workflow/canvas/Canvas/Canvas.styles.js +96 -0
- package/dist/components/Workflow/canvas/Canvas/Canvas.styles.js.map +1 -0
- package/dist/components/Workflow/canvas/Canvas/Canvas.styles.mjs +93 -0
- package/dist/components/Workflow/canvas/Canvas/Canvas.styles.mjs.map +1 -0
- package/dist/components/Workflow/canvas/Canvas/CanvasControls.d.ts +27 -0
- package/dist/components/Workflow/canvas/Canvas/CanvasControls.d.ts.map +1 -0
- package/dist/components/Workflow/canvas/Canvas/CanvasControls.js +70 -0
- package/dist/components/Workflow/canvas/Canvas/CanvasControls.js.map +1 -0
- package/dist/components/Workflow/canvas/Canvas/CanvasControls.mjs +68 -0
- package/dist/components/Workflow/canvas/Canvas/CanvasControls.mjs.map +1 -0
- package/dist/components/Workflow/canvas/Canvas/LabeledEdge.d.ts +10 -0
- package/dist/components/Workflow/canvas/Canvas/LabeledEdge.d.ts.map +1 -0
- package/dist/components/Workflow/canvas/Canvas/LabeledEdge.js +106 -0
- package/dist/components/Workflow/canvas/Canvas/LabeledEdge.js.map +1 -0
- package/dist/components/Workflow/canvas/Canvas/LabeledEdge.mjs +104 -0
- package/dist/components/Workflow/canvas/Canvas/LabeledEdge.mjs.map +1 -0
- package/dist/components/Workflow/canvas/Canvas/edgeLabelVariant.d.ts +13 -0
- package/dist/components/Workflow/canvas/Canvas/edgeLabelVariant.d.ts.map +1 -0
- package/dist/components/Workflow/canvas/Canvas/edgeLabelVariant.js +18 -0
- package/dist/components/Workflow/canvas/Canvas/edgeLabelVariant.js.map +1 -0
- package/dist/components/Workflow/canvas/Canvas/edgeLabelVariant.mjs +16 -0
- package/dist/components/Workflow/canvas/Canvas/edgeLabelVariant.mjs.map +1 -0
- package/dist/components/Workflow/canvas/Canvas/index.d.ts +2 -0
- package/dist/components/Workflow/canvas/Canvas/index.d.ts.map +1 -0
- package/dist/components/Workflow/canvas/CollapsibleSection/CollapsibleSection.d.ts +30 -0
- package/dist/components/Workflow/canvas/CollapsibleSection/CollapsibleSection.d.ts.map +1 -0
- package/dist/components/Workflow/canvas/CollapsibleSection/CollapsibleSection.js +34 -0
- package/dist/components/Workflow/canvas/CollapsibleSection/CollapsibleSection.js.map +1 -0
- package/dist/components/Workflow/canvas/CollapsibleSection/CollapsibleSection.mjs +32 -0
- package/dist/components/Workflow/canvas/CollapsibleSection/CollapsibleSection.mjs.map +1 -0
- package/dist/components/Workflow/canvas/CollapsibleSection/index.d.ts +2 -0
- package/dist/components/Workflow/canvas/CollapsibleSection/index.d.ts.map +1 -0
- package/dist/components/Workflow/canvas/DrawerShell/DrawerHeader.d.ts +37 -0
- package/dist/components/Workflow/canvas/DrawerShell/DrawerHeader.d.ts.map +1 -0
- package/dist/components/Workflow/canvas/DrawerShell/DrawerHeader.js +33 -0
- package/dist/components/Workflow/canvas/DrawerShell/DrawerHeader.js.map +1 -0
- package/dist/components/Workflow/canvas/DrawerShell/DrawerHeader.mjs +31 -0
- package/dist/components/Workflow/canvas/DrawerShell/DrawerHeader.mjs.map +1 -0
- package/dist/components/Workflow/canvas/DrawerShell/DrawerIssues.d.ts +16 -0
- package/dist/components/Workflow/canvas/DrawerShell/DrawerIssues.d.ts.map +1 -0
- package/dist/components/Workflow/canvas/DrawerShell/DrawerIssues.js +54 -0
- package/dist/components/Workflow/canvas/DrawerShell/DrawerIssues.js.map +1 -0
- package/dist/components/Workflow/canvas/DrawerShell/DrawerIssues.mjs +52 -0
- package/dist/components/Workflow/canvas/DrawerShell/DrawerIssues.mjs.map +1 -0
- package/dist/components/Workflow/canvas/DrawerShell/DrawerShell.d.ts +27 -0
- package/dist/components/Workflow/canvas/DrawerShell/DrawerShell.d.ts.map +1 -0
- package/dist/components/Workflow/canvas/DrawerShell/DrawerShell.js +178 -0
- package/dist/components/Workflow/canvas/DrawerShell/DrawerShell.js.map +1 -0
- package/dist/components/Workflow/canvas/DrawerShell/DrawerShell.mjs +176 -0
- package/dist/components/Workflow/canvas/DrawerShell/DrawerShell.mjs.map +1 -0
- package/dist/components/Workflow/canvas/DrawerShell/index.d.ts +3 -0
- package/dist/components/Workflow/canvas/DrawerShell/index.d.ts.map +1 -0
- package/dist/components/Workflow/canvas/EdgeInspector/BuiltInEdgeInspector.d.ts +12 -0
- package/dist/components/Workflow/canvas/EdgeInspector/BuiltInEdgeInspector.d.ts.map +1 -0
- package/dist/components/Workflow/canvas/EdgeInspector/BuiltInEdgeInspector.js +68 -0
- package/dist/components/Workflow/canvas/EdgeInspector/BuiltInEdgeInspector.js.map +1 -0
- package/dist/components/Workflow/canvas/EdgeInspector/BuiltInEdgeInspector.mjs +66 -0
- package/dist/components/Workflow/canvas/EdgeInspector/BuiltInEdgeInspector.mjs.map +1 -0
- package/dist/components/Workflow/canvas/EdgeInspector/endpointTitle.d.ts +19 -0
- package/dist/components/Workflow/canvas/EdgeInspector/endpointTitle.d.ts.map +1 -0
- package/dist/components/Workflow/canvas/EdgeInspector/endpointTitle.js +35 -0
- package/dist/components/Workflow/canvas/EdgeInspector/endpointTitle.js.map +1 -0
- package/dist/components/Workflow/canvas/EdgeInspector/endpointTitle.mjs +32 -0
- package/dist/components/Workflow/canvas/EdgeInspector/endpointTitle.mjs.map +1 -0
- package/dist/components/Workflow/canvas/EdgeInspector/index.d.ts +3 -0
- package/dist/components/Workflow/canvas/EdgeInspector/index.d.ts.map +1 -0
- package/dist/components/Workflow/canvas/FieldWrapper/FieldWrapper.d.ts +54 -0
- package/dist/components/Workflow/canvas/FieldWrapper/FieldWrapper.d.ts.map +1 -0
- package/dist/components/Workflow/canvas/FieldWrapper/FieldWrapper.js +56 -0
- package/dist/components/Workflow/canvas/FieldWrapper/FieldWrapper.js.map +1 -0
- package/dist/components/Workflow/canvas/FieldWrapper/FieldWrapper.mjs +54 -0
- package/dist/components/Workflow/canvas/FieldWrapper/FieldWrapper.mjs.map +1 -0
- package/dist/components/Workflow/canvas/FieldWrapper/index.d.ts +3 -0
- package/dist/components/Workflow/canvas/FieldWrapper/index.d.ts.map +1 -0
- package/dist/components/Workflow/canvas/FloatingCard/FloatingCard.d.ts +16 -0
- package/dist/components/Workflow/canvas/FloatingCard/FloatingCard.d.ts.map +1 -0
- package/dist/components/Workflow/canvas/FloatingCard/FloatingCard.js +25 -0
- package/dist/components/Workflow/canvas/FloatingCard/FloatingCard.js.map +1 -0
- package/dist/components/Workflow/canvas/FloatingCard/FloatingCard.mjs +22 -0
- package/dist/components/Workflow/canvas/FloatingCard/FloatingCard.mjs.map +1 -0
- package/dist/components/Workflow/canvas/FloatingCard/index.d.ts +2 -0
- package/dist/components/Workflow/canvas/FloatingCard/index.d.ts.map +1 -0
- package/dist/components/Workflow/canvas/GenericNode/GenericNode.d.ts +14 -0
- package/dist/components/Workflow/canvas/GenericNode/GenericNode.d.ts.map +1 -0
- package/dist/components/Workflow/canvas/GenericNode/GenericNode.js +61 -0
- package/dist/components/Workflow/canvas/GenericNode/GenericNode.js.map +1 -0
- package/dist/components/Workflow/canvas/GenericNode/GenericNode.mjs +59 -0
- package/dist/components/Workflow/canvas/GenericNode/GenericNode.mjs.map +1 -0
- package/dist/components/Workflow/canvas/GenericNode/GenericNode.types.d.ts +11 -0
- package/dist/components/Workflow/canvas/GenericNode/GenericNode.types.d.ts.map +1 -0
- package/dist/components/Workflow/canvas/GenericNode/index.d.ts +3 -0
- package/dist/components/Workflow/canvas/GenericNode/index.d.ts.map +1 -0
- package/dist/components/Workflow/canvas/GraphErrorBanner/GraphErrorBanner.d.ts +15 -0
- package/dist/components/Workflow/canvas/GraphErrorBanner/GraphErrorBanner.d.ts.map +1 -0
- package/dist/components/Workflow/canvas/GraphErrorBanner/GraphErrorBanner.js +145 -0
- package/dist/components/Workflow/canvas/GraphErrorBanner/GraphErrorBanner.js.map +1 -0
- package/dist/components/Workflow/canvas/GraphErrorBanner/GraphErrorBanner.mjs +143 -0
- package/dist/components/Workflow/canvas/GraphErrorBanner/GraphErrorBanner.mjs.map +1 -0
- package/dist/components/Workflow/canvas/GraphErrorBanner/index.d.ts +2 -0
- package/dist/components/Workflow/canvas/GraphErrorBanner/index.d.ts.map +1 -0
- package/dist/components/Workflow/canvas/IconTile/IconTile.d.ts +10 -0
- package/dist/components/Workflow/canvas/IconTile/IconTile.d.ts.map +1 -0
- package/dist/components/Workflow/canvas/IconTile/IconTile.js +21 -0
- package/dist/components/Workflow/canvas/IconTile/IconTile.js.map +1 -0
- package/dist/components/Workflow/canvas/IconTile/IconTile.mjs +19 -0
- package/dist/components/Workflow/canvas/IconTile/IconTile.mjs.map +1 -0
- package/dist/components/Workflow/canvas/IconTile/IconTile.styles.d.ts +18 -0
- package/dist/components/Workflow/canvas/IconTile/IconTile.styles.d.ts.map +1 -0
- package/dist/components/Workflow/canvas/IconTile/IconTile.styles.js +40 -0
- package/dist/components/Workflow/canvas/IconTile/IconTile.styles.js.map +1 -0
- package/dist/components/Workflow/canvas/IconTile/IconTile.styles.mjs +37 -0
- package/dist/components/Workflow/canvas/IconTile/IconTile.styles.mjs.map +1 -0
- package/dist/components/Workflow/canvas/IconTile/IconTile.types.d.ts +15 -0
- package/dist/components/Workflow/canvas/IconTile/IconTile.types.d.ts.map +1 -0
- package/dist/components/Workflow/canvas/IconTile/index.d.ts +4 -0
- package/dist/components/Workflow/canvas/IconTile/index.d.ts.map +1 -0
- package/dist/components/Workflow/canvas/IssueList/IssueList.d.ts +24 -0
- package/dist/components/Workflow/canvas/IssueList/IssueList.d.ts.map +1 -0
- package/dist/components/Workflow/canvas/IssueList/IssueList.js +34 -0
- package/dist/components/Workflow/canvas/IssueList/IssueList.js.map +1 -0
- package/dist/components/Workflow/canvas/IssueList/IssueList.mjs +32 -0
- package/dist/components/Workflow/canvas/IssueList/IssueList.mjs.map +1 -0
- package/dist/components/Workflow/canvas/IssueList/index.d.ts +2 -0
- package/dist/components/Workflow/canvas/IssueList/index.d.ts.map +1 -0
- package/dist/components/Workflow/canvas/NodePalette/NodePalette.d.ts +9 -0
- package/dist/components/Workflow/canvas/NodePalette/NodePalette.d.ts.map +1 -0
- package/dist/components/Workflow/canvas/NodePalette/NodePalette.js +94 -0
- package/dist/components/Workflow/canvas/NodePalette/NodePalette.js.map +1 -0
- package/dist/components/Workflow/canvas/NodePalette/NodePalette.mjs +92 -0
- package/dist/components/Workflow/canvas/NodePalette/NodePalette.mjs.map +1 -0
- package/dist/components/Workflow/canvas/NodePalette/NodePalette.styles.d.ts +7 -0
- package/dist/components/Workflow/canvas/NodePalette/NodePalette.styles.d.ts.map +1 -0
- package/dist/components/Workflow/canvas/NodePalette/NodePalette.styles.js +13 -0
- package/dist/components/Workflow/canvas/NodePalette/NodePalette.styles.js.map +1 -0
- package/dist/components/Workflow/canvas/NodePalette/NodePalette.styles.mjs +10 -0
- package/dist/components/Workflow/canvas/NodePalette/NodePalette.styles.mjs.map +1 -0
- package/dist/components/Workflow/canvas/NodePalette/NodePaletteToggle.d.ts +10 -0
- package/dist/components/Workflow/canvas/NodePalette/NodePaletteToggle.d.ts.map +1 -0
- package/dist/components/Workflow/canvas/NodePalette/NodePaletteToggle.js +28 -0
- package/dist/components/Workflow/canvas/NodePalette/NodePaletteToggle.js.map +1 -0
- package/dist/components/Workflow/canvas/NodePalette/NodePaletteToggle.mjs +26 -0
- package/dist/components/Workflow/canvas/NodePalette/NodePaletteToggle.mjs.map +1 -0
- package/dist/components/Workflow/canvas/NodePalette/index.d.ts +4 -0
- package/dist/components/Workflow/canvas/NodePalette/index.d.ts.map +1 -0
- package/dist/components/Workflow/canvas/NodeShell/NodeShell.d.ts +3 -0
- package/dist/components/Workflow/canvas/NodeShell/NodeShell.d.ts.map +1 -0
- package/dist/components/Workflow/canvas/NodeShell/NodeShell.js +137 -0
- package/dist/components/Workflow/canvas/NodeShell/NodeShell.js.map +1 -0
- package/dist/components/Workflow/canvas/NodeShell/NodeShell.mjs +135 -0
- package/dist/components/Workflow/canvas/NodeShell/NodeShell.mjs.map +1 -0
- package/dist/components/Workflow/canvas/NodeShell/NodeShell.styles.d.ts +66 -0
- package/dist/components/Workflow/canvas/NodeShell/NodeShell.styles.d.ts.map +1 -0
- package/dist/components/Workflow/canvas/NodeShell/NodeShell.styles.js +87 -0
- package/dist/components/Workflow/canvas/NodeShell/NodeShell.styles.js.map +1 -0
- package/dist/components/Workflow/canvas/NodeShell/NodeShell.styles.mjs +77 -0
- package/dist/components/Workflow/canvas/NodeShell/NodeShell.styles.mjs.map +1 -0
- package/dist/components/Workflow/canvas/NodeShell/NodeShell.types.d.ts +35 -0
- package/dist/components/Workflow/canvas/NodeShell/NodeShell.types.d.ts.map +1 -0
- package/dist/components/Workflow/canvas/NodeShell/index.d.ts +4 -0
- package/dist/components/Workflow/canvas/NodeShell/index.d.ts.map +1 -0
- package/dist/components/Workflow/canvas/SeverityDot/SeverityDot.d.ts +15 -0
- package/dist/components/Workflow/canvas/SeverityDot/SeverityDot.d.ts.map +1 -0
- package/dist/components/Workflow/canvas/SeverityDot/SeverityDot.js +14 -0
- package/dist/components/Workflow/canvas/SeverityDot/SeverityDot.js.map +1 -0
- package/dist/components/Workflow/canvas/SeverityDot/SeverityDot.mjs +12 -0
- package/dist/components/Workflow/canvas/SeverityDot/SeverityDot.mjs.map +1 -0
- package/dist/components/Workflow/canvas/SeverityDot/index.d.ts +2 -0
- package/dist/components/Workflow/canvas/SeverityDot/index.d.ts.map +1 -0
- package/dist/components/Workflow/canvas/issueSeverity.d.ts +23 -0
- package/dist/components/Workflow/canvas/issueSeverity.d.ts.map +1 -0
- package/dist/components/Workflow/canvas/issueSeverity.js +51 -0
- package/dist/components/Workflow/canvas/issueSeverity.js.map +1 -0
- package/dist/components/Workflow/canvas/issueSeverity.mjs +47 -0
- package/dist/components/Workflow/canvas/issueSeverity.mjs.map +1 -0
- package/dist/components/Workflow/canvas/useFieldFocusRequest.d.ts +14 -0
- package/dist/components/Workflow/canvas/useFieldFocusRequest.d.ts.map +1 -0
- package/dist/components/Workflow/canvas/useFieldFocusRequest.js +48 -0
- package/dist/components/Workflow/canvas/useFieldFocusRequest.js.map +1 -0
- package/dist/components/Workflow/canvas/useFieldFocusRequest.mjs +46 -0
- package/dist/components/Workflow/canvas/useFieldFocusRequest.mjs.map +1 -0
- package/dist/components/Workflow/canvas/workflowLabelProps.d.ts +12 -0
- package/dist/components/Workflow/canvas/workflowLabelProps.d.ts.map +1 -0
- package/dist/components/Workflow/canvas/workflowLabelProps.js +17 -0
- package/dist/components/Workflow/canvas/workflowLabelProps.js.map +1 -0
- package/dist/components/Workflow/canvas/workflowLabelProps.mjs +15 -0
- package/dist/components/Workflow/canvas/workflowLabelProps.mjs.map +1 -0
- package/dist/components/Workflow/connectionRules.d.ts +59 -0
- package/dist/components/Workflow/connectionRules.d.ts.map +1 -0
- package/dist/components/Workflow/connectionRules.js +150 -0
- package/dist/components/Workflow/connectionRules.js.map +1 -0
- package/dist/components/Workflow/connectionRules.mjs +145 -0
- package/dist/components/Workflow/connectionRules.mjs.map +1 -0
- package/dist/components/Workflow/createNode.d.ts +27 -0
- package/dist/components/Workflow/createNode.d.ts.map +1 -0
- package/dist/components/Workflow/createNode.js +66 -0
- package/dist/components/Workflow/createNode.js.map +1 -0
- package/dist/components/Workflow/createNode.mjs +62 -0
- package/dist/components/Workflow/createNode.mjs.map +1 -0
- package/dist/components/Workflow/graphHistory.d.ts +23 -0
- package/dist/components/Workflow/graphHistory.d.ts.map +1 -0
- package/dist/components/Workflow/graphHistory.js +73 -0
- package/dist/components/Workflow/graphHistory.js.map +1 -0
- package/dist/components/Workflow/graphHistory.mjs +70 -0
- package/dist/components/Workflow/graphHistory.mjs.map +1 -0
- package/dist/components/Workflow/graphObserver.d.ts +13 -0
- package/dist/components/Workflow/graphObserver.d.ts.map +1 -0
- package/dist/components/Workflow/graphObserver.js +11 -0
- package/dist/components/Workflow/graphObserver.js.map +1 -0
- package/dist/components/Workflow/graphObserver.mjs +8 -0
- package/dist/components/Workflow/graphObserver.mjs.map +1 -0
- package/dist/components/Workflow/graphReducer.d.ts +75 -0
- package/dist/components/Workflow/graphReducer.d.ts.map +1 -0
- package/dist/components/Workflow/graphReducer.js +122 -0
- package/dist/components/Workflow/graphReducer.js.map +1 -0
- package/dist/components/Workflow/graphReducer.mjs +119 -0
- package/dist/components/Workflow/graphReducer.mjs.map +1 -0
- package/dist/components/Workflow/index.d.ts +22 -0
- package/dist/components/Workflow/index.d.ts.map +1 -0
- package/dist/components/Workflow/layout/autoLayout.d.ts +49 -0
- package/dist/components/Workflow/layout/autoLayout.d.ts.map +1 -0
- package/dist/components/Workflow/layout/autoLayout.js +149 -0
- package/dist/components/Workflow/layout/autoLayout.js.map +1 -0
- package/dist/components/Workflow/layout/autoLayout.mjs +146 -0
- package/dist/components/Workflow/layout/autoLayout.mjs.map +1 -0
- package/dist/components/Workflow/stories/toyNodeTypes.d.ts +40 -0
- package/dist/components/Workflow/stories/toyNodeTypes.d.ts.map +1 -0
- package/dist/components/Workflow/useWorkflowIssueMessage.d.ts +15 -0
- package/dist/components/Workflow/useWorkflowIssueMessage.d.ts.map +1 -0
- package/dist/components/Workflow/useWorkflowIssueMessage.js +45 -0
- package/dist/components/Workflow/useWorkflowIssueMessage.js.map +1 -0
- package/dist/components/Workflow/useWorkflowIssueMessage.mjs +43 -0
- package/dist/components/Workflow/useWorkflowIssueMessage.mjs.map +1 -0
- package/dist/components/Workflow/useWorkflowKeyboard.d.ts +10 -0
- package/dist/components/Workflow/useWorkflowKeyboard.d.ts.map +1 -0
- package/dist/components/Workflow/useWorkflowKeyboard.js +116 -0
- package/dist/components/Workflow/useWorkflowKeyboard.js.map +1 -0
- package/dist/components/Workflow/useWorkflowKeyboard.mjs +114 -0
- package/dist/components/Workflow/useWorkflowKeyboard.mjs.map +1 -0
- package/dist/icons.js +17 -0
- package/dist/icons.js.map +1 -1
- package/dist/icons.mjs +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +38 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +14 -0
- package/dist/index.mjs.map +1 -1
- package/dist/test-support/setup.d.ts +5 -0
- package/dist/test-support/setup.d.ts.map +1 -0
- package/dist/theme/colors.d.ts +196 -44
- package/dist/theme/colors.d.ts.map +1 -1
- package/dist/theme/colors.js +184 -22
- package/dist/theme/colors.js.map +1 -1
- package/dist/theme/colors.mjs +184 -22
- package/dist/theme/colors.mjs.map +1 -1
- package/dist/theme/global.d.ts.map +1 -1
- package/dist/theme/global.js +30 -2
- package/dist/theme/global.js.map +1 -1
- package/dist/theme/global.mjs +30 -2
- package/dist/theme/global.mjs.map +1 -1
- package/package.json +10 -2
- package/src/components/Icon/_constants/iconList.ts +35 -0
- package/src/components/Icon/index.tsx +20 -0
- package/src/components/SegmentedControl/SegmentedControl.tsx +21 -4
- package/src/components/Workflow/README.md +362 -0
- package/src/components/Workflow/Workflow.translations.json +112 -0
- package/src/components/Workflow/Workflow.tsx +189 -0
- package/src/components/Workflow/Workflow.types.ts +496 -0
- package/src/components/Workflow/WorkflowContext/WorkflowContext.tsx +215 -0
- package/src/components/Workflow/WorkflowContext/WorkflowContext.types.ts +122 -0
- package/src/components/Workflow/WorkflowContext/index.ts +10 -0
- package/src/components/Workflow/WorkflowContext/workflowSelection.test.tsx +93 -0
- package/src/components/Workflow/canvas/Canvas/BranchLabelBadge.tsx +69 -0
- package/src/components/Workflow/canvas/Canvas/Canvas.styles.ts +91 -0
- package/src/components/Workflow/canvas/Canvas/Canvas.tsx +773 -0
- package/src/components/Workflow/canvas/Canvas/CanvasControls.tsx +178 -0
- package/src/components/Workflow/canvas/Canvas/LabeledEdge.tsx +198 -0
- package/src/components/Workflow/canvas/Canvas/edgeLabelVariant.test.ts +26 -0
- package/src/components/Workflow/canvas/Canvas/edgeLabelVariant.ts +23 -0
- package/src/components/Workflow/canvas/Canvas/index.ts +1 -0
- package/src/components/Workflow/canvas/CollapsibleSection/CollapsibleSection.tsx +96 -0
- package/src/components/Workflow/canvas/CollapsibleSection/index.ts +4 -0
- package/src/components/Workflow/canvas/DrawerShell/DrawerHeader.tsx +104 -0
- package/src/components/Workflow/canvas/DrawerShell/DrawerIssues.tsx +115 -0
- package/src/components/Workflow/canvas/DrawerShell/DrawerShell.tsx +408 -0
- package/src/components/Workflow/canvas/DrawerShell/index.ts +2 -0
- package/src/components/Workflow/canvas/EdgeInspector/BuiltInEdgeInspector.tsx +135 -0
- package/src/components/Workflow/canvas/EdgeInspector/endpointTitle.ts +38 -0
- package/src/components/Workflow/canvas/EdgeInspector/index.ts +2 -0
- package/src/components/Workflow/canvas/FieldWrapper/FieldWrapper.tsx +118 -0
- package/src/components/Workflow/canvas/FieldWrapper/index.ts +6 -0
- package/src/components/Workflow/canvas/FloatingCard/FloatingCard.tsx +37 -0
- package/src/components/Workflow/canvas/FloatingCard/index.ts +1 -0
- package/src/components/Workflow/canvas/GenericNode/GenericNode.tsx +114 -0
- package/src/components/Workflow/canvas/GenericNode/GenericNode.types.ts +10 -0
- package/src/components/Workflow/canvas/GenericNode/index.ts +5 -0
- package/src/components/Workflow/canvas/GraphErrorBanner/GraphErrorBanner.tsx +284 -0
- package/src/components/Workflow/canvas/GraphErrorBanner/index.ts +1 -0
- package/src/components/Workflow/canvas/IconTile/IconTile.styles.ts +40 -0
- package/src/components/Workflow/canvas/IconTile/IconTile.tsx +36 -0
- package/src/components/Workflow/canvas/IconTile/IconTile.types.ts +13 -0
- package/src/components/Workflow/canvas/IconTile/index.ts +7 -0
- package/src/components/Workflow/canvas/IssueList/IssueList.tsx +84 -0
- package/src/components/Workflow/canvas/IssueList/index.ts +1 -0
- package/src/components/Workflow/canvas/NodePalette/NodePalette.styles.ts +7 -0
- package/src/components/Workflow/canvas/NodePalette/NodePalette.tsx +180 -0
- package/src/components/Workflow/canvas/NodePalette/NodePaletteToggle.tsx +39 -0
- package/src/components/Workflow/canvas/NodePalette/index.ts +3 -0
- package/src/components/Workflow/canvas/NodeShell/NodeShell.styles.ts +84 -0
- package/src/components/Workflow/canvas/NodeShell/NodeShell.tsx +321 -0
- package/src/components/Workflow/canvas/NodeShell/NodeShell.types.ts +45 -0
- package/src/components/Workflow/canvas/NodeShell/index.ts +8 -0
- package/src/components/Workflow/canvas/SeverityDot/SeverityDot.tsx +33 -0
- package/src/components/Workflow/canvas/SeverityDot/index.ts +1 -0
- package/src/components/Workflow/canvas/issueSeverity.ts +48 -0
- package/src/components/Workflow/canvas/useFieldFocusRequest.ts +54 -0
- package/src/components/Workflow/canvas/workflowLabelProps.ts +11 -0
- package/src/components/Workflow/connectionRules.test.ts +326 -0
- package/src/components/Workflow/connectionRules.ts +190 -0
- package/src/components/Workflow/createNode.test.ts +61 -0
- package/src/components/Workflow/createNode.ts +67 -0
- package/src/components/Workflow/graphHistory.test.ts +178 -0
- package/src/components/Workflow/graphHistory.ts +91 -0
- package/src/components/Workflow/graphObserver.ts +21 -0
- package/src/components/Workflow/graphReducer.test.ts +314 -0
- package/src/components/Workflow/graphReducer.ts +196 -0
- package/src/components/Workflow/index.ts +74 -0
- package/src/components/Workflow/layout/autoLayout.test.ts +170 -0
- package/src/components/Workflow/layout/autoLayout.ts +200 -0
- package/src/components/Workflow/stories/Workflow.stories.tsx +111 -0
- package/src/components/Workflow/stories/toyNodeTypes.tsx +146 -0
- package/src/components/Workflow/useWorkflowIssueMessage.test.ts +101 -0
- package/src/components/Workflow/useWorkflowIssueMessage.ts +49 -0
- package/src/components/Workflow/useWorkflowKeyboard.ts +126 -0
- package/src/index.ts +1 -0
- package/src/test-support/setup.ts +11 -0
- package/src/theme/SemanticTokens.mdx +61 -7
- package/src/theme/colors.ts +216 -26
- package/src/theme/global.ts +31 -2
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
5
|
+
var React = require('react');
|
|
6
|
+
var react = require('@chakra-ui/react');
|
|
7
|
+
var useTranslate = require('../../hooks/useTranslate.js');
|
|
8
|
+
var Canvas = require('./canvas/Canvas/Canvas.js');
|
|
9
|
+
var graphHistory = require('./graphHistory.js');
|
|
10
|
+
var graphObserver = require('./graphObserver.js');
|
|
11
|
+
var graphReducer = require('./graphReducer.js');
|
|
12
|
+
var Workflow_translations = require('./Workflow.translations.json.js');
|
|
13
|
+
var WorkflowContext = require('./WorkflowContext/WorkflowContext.js');
|
|
14
|
+
|
|
15
|
+
const EMPTY_ISSUES = [];
|
|
16
|
+
function Workflow({ nodeTypes: nodeTypeList, graph: controlledGraph, onGraphChange, onArrange, onHistoryNavigate, defaultGraph, issues: providedIssues, readOnly = false, validating = false, showPalette = true, onNodeClick, onEdgeClick, onSelectionChange, onIssuesChange, footer, children, categoryTokens, hostBridge, translate: providedTranslate, minHeight = '500px', }) {
|
|
17
|
+
const isControlled = controlledGraph !== undefined;
|
|
18
|
+
// Chrome copy is host-injected so the core carries no app i18n dependency.
|
|
19
|
+
// The host translator also resolves the node-type `descriptionKey`s it
|
|
20
|
+
// registers. Without one, fall back to the bundled defaults.
|
|
21
|
+
const fallbackTranslate = useTranslate.useTranslate(Workflow_translations.default);
|
|
22
|
+
const translate = providedTranslate ?? fallbackTranslate;
|
|
23
|
+
// Internal reducer is always the source of truth — even in controlled mode.
|
|
24
|
+
// This avoids race conditions when multiple actions fire in the same React
|
|
25
|
+
// batch: with a stale-closure dispatch wrapper around the host's setState,
|
|
26
|
+
// the second action would compute from the original graph. By always
|
|
27
|
+
// reducing locally and notifying the host via effect, both actions see the
|
|
28
|
+
// updated state in sequence.
|
|
29
|
+
const [history, dispatch] = React.useReducer(graphHistory.historyReducer, controlledGraph ?? defaultGraph ?? graphReducer.emptyGraph, graphHistory.initHistory);
|
|
30
|
+
const graph = history.present;
|
|
31
|
+
const canUndo = history.past.length > 0;
|
|
32
|
+
const canRedo = history.future.length > 0;
|
|
33
|
+
// An undo/redo can revert to a graph that differs from the saved baseline
|
|
34
|
+
// ONLY in node positions (e.g. undoing an auto-arrange). The host's autosave
|
|
35
|
+
// ignores position-only diffs, so we flag the navigation and hand the host the
|
|
36
|
+
// result via `onHistoryNavigate` to force-persist it. We gate out no-op
|
|
37
|
+
// presses: they never change `graph`, so the flag would otherwise strand and
|
|
38
|
+
// mis-fire on the next edit.
|
|
39
|
+
const pendingHistoryNavRef = React.useRef(false);
|
|
40
|
+
const undo = React.useCallback(() => {
|
|
41
|
+
if (!canUndo)
|
|
42
|
+
return;
|
|
43
|
+
pendingHistoryNavRef.current = true;
|
|
44
|
+
dispatch({ type: 'undo' });
|
|
45
|
+
}, [canUndo]);
|
|
46
|
+
const redo = React.useCallback(() => {
|
|
47
|
+
if (!canRedo)
|
|
48
|
+
return;
|
|
49
|
+
pendingHistoryNavRef.current = true;
|
|
50
|
+
dispatch({ type: 'redo' });
|
|
51
|
+
}, [canRedo]);
|
|
52
|
+
// Sync controlled prop INTO internal state when the host updates externally
|
|
53
|
+
// (e.g. undo from outside, server-pushed change). Identity-based skip avoids
|
|
54
|
+
// loops with our own onGraphChange.
|
|
55
|
+
const lastControlledRef = React.useRef(controlledGraph);
|
|
56
|
+
React.useEffect(() => {
|
|
57
|
+
if (!isControlled || controlledGraph === undefined)
|
|
58
|
+
return;
|
|
59
|
+
if (controlledGraph === graph)
|
|
60
|
+
return;
|
|
61
|
+
if (controlledGraph === lastControlledRef.current)
|
|
62
|
+
return;
|
|
63
|
+
lastControlledRef.current = controlledGraph;
|
|
64
|
+
dispatch({ type: 'replace', graph: controlledGraph });
|
|
65
|
+
}, [controlledGraph, isControlled, graph]);
|
|
66
|
+
// Notify host OUT when internal graph changes (controlled mode only).
|
|
67
|
+
const firstNotifyRef = React.useRef(true);
|
|
68
|
+
React.useEffect(() => {
|
|
69
|
+
if (!isControlled)
|
|
70
|
+
return;
|
|
71
|
+
if (firstNotifyRef.current) {
|
|
72
|
+
firstNotifyRef.current = false;
|
|
73
|
+
return;
|
|
74
|
+
}
|
|
75
|
+
if (graph === lastControlledRef.current)
|
|
76
|
+
return;
|
|
77
|
+
lastControlledRef.current = graph;
|
|
78
|
+
onGraphChange?.(graph);
|
|
79
|
+
// A position-only undo/redo settles to 'saved' via onGraphChange above and
|
|
80
|
+
// would otherwise not persist; let the host force-save the result.
|
|
81
|
+
if (pendingHistoryNavRef.current) {
|
|
82
|
+
pendingHistoryNavRef.current = false;
|
|
83
|
+
onHistoryNavigate?.(graph);
|
|
84
|
+
}
|
|
85
|
+
}, [graph, isControlled, onGraphChange, onHistoryNavigate]);
|
|
86
|
+
const registry = React.useMemo(() => {
|
|
87
|
+
const map = {};
|
|
88
|
+
for (const def of nodeTypeList)
|
|
89
|
+
map[def.kind] = def;
|
|
90
|
+
return map;
|
|
91
|
+
}, [nodeTypeList]);
|
|
92
|
+
// Validation lives on the backend — the editor just renders whatever the
|
|
93
|
+
// most recent save response returned. `providedIssues` is the only source.
|
|
94
|
+
const issues = providedIssues ?? EMPTY_ISSUES;
|
|
95
|
+
React.useEffect(() => {
|
|
96
|
+
onIssuesChange?.(issues);
|
|
97
|
+
}, [issues, onIssuesChange]);
|
|
98
|
+
// Optional ancestor-provided observer — lets a parent watch the graph
|
|
99
|
+
// without taking control of it. Used by the Storybook JSON-preview
|
|
100
|
+
// decorator; no provider exists in production, so this is a no-op there.
|
|
101
|
+
const observeGraph = graphObserver.useWorkflowGraphObserver();
|
|
102
|
+
React.useEffect(() => {
|
|
103
|
+
observeGraph?.(graph);
|
|
104
|
+
}, [graph, observeGraph]);
|
|
105
|
+
return (jsxRuntime.jsx(WorkflowContext.WorkflowProvider, { graph: graph, dispatch: dispatch, undo: undo, redo: redo, canUndo: canUndo, canRedo: canRedo, nodeTypes: registry, translate: translate, issues: issues, onArrange: onArrange, readOnly: readOnly, onSelectionChange: onSelectionChange, validating: validating, categoryTokens: categoryTokens, hostBridge: hostBridge, children: jsxRuntime.jsxs(react.Box, { display: "flex", flexDirection: "column", height: "100%", width: "100%", minHeight: minHeight, children: [jsxRuntime.jsx(Canvas.Canvas, { showPalette: showPalette && !readOnly, onNodeClick: onNodeClick, onEdgeClick: onEdgeClick, children: children }), footer ? (jsxRuntime.jsx(react.Box, { borderTop: "1px solid", borderColor: "slate.200", bg: "bg.surface", px: 4, py: 2, children: footer })) : null] }) }));
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
exports.Workflow = Workflow;
|
|
109
|
+
//# sourceMappingURL=Workflow.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Workflow.js","sources":["../../../src/components/Workflow/Workflow.tsx"],"sourcesContent":[null],"names":["useTranslate","WorkflowTranslations","useReducer","historyReducer","emptyGraph","initHistory","useRef","useCallback","useEffect","useMemo","useWorkflowGraphObserver","_jsx","WorkflowProvider","_jsxs","Box","Canvas"],"mappings":";;;;;;;;;;;;;;AAqBA,MAAM,YAAY,GAAY,EAAE;AAE1B,SAAU,QAAQ,CAAC,EACvB,SAAS,EAAE,YAAY,EACvB,KAAK,EAAE,eAAe,EACtB,aAAa,EACb,SAAS,EACT,iBAAiB,EACjB,YAAY,EACZ,MAAM,EAAE,cAAc,EACtB,QAAQ,GAAG,KAAK,EAChB,UAAU,GAAG,KAAK,EAClB,WAAW,GAAG,IAAI,EAClB,WAAW,EACX,WAAW,EACX,iBAAiB,EACjB,cAAc,EACd,MAAM,EACN,QAAQ,EACR,cAAc,EACd,UAAU,EACV,SAAS,EAAE,iBAAiB,EAC5B,SAAS,GAAG,OAAO,GACL,EAAA;AACd,IAAA,MAAM,YAAY,GAAG,eAAe,KAAK,SAAS;;;;AAKlD,IAAA,MAAM,iBAAiB,GAAGA,yBAAY,CACpCC,6BAAoB,CACA;AACtB,IAAA,MAAM,SAAS,GAAG,iBAAiB,IAAI,iBAAiB;;;;;;;AAQxD,IAAA,MAAM,CAAC,OAAO,EAAE,QAAQ,CAAC,GAAGC,gBAAU,CACpCC,2BAAc,EACd,eAAe,IAAI,YAAY,IAAIC,uBAAU,EAC7CC,wBAAW,CACZ;AACD,IAAA,MAAM,KAAK,GAAG,OAAO,CAAC,OAAO;IAE7B,MAAM,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC;IACvC,MAAM,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC;;;;;;;AAQzC,IAAA,MAAM,o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EACpC,UAAU,EAAE,UAAU,EACtB,cAAc,EAAE,cAAc,EAC9B,UAAU,EAAE,UAAU,EAAA,QAAA,EAEtBC,eAAA,CAACC,SAAG,EAAA,EACF,OAAO,EAAC,MAAM,EACd,aAAa,EAAC,QAAQ,EACtB,MAAM,EAAC,MAAM,EACb,KAAK,EAAC,MAAM,EACZ,SAAS,EAAE,SAAS,EAAA,QAAA,EAAA,CAEpBH,cAAA,CAACI,aAAM,EAAA,EACL,WAAW,EAAE,WAAW,IAAI,CAAC,QAAQ,EACrC,WAAW,EAAE,WAAW,EACxB,WAAW,EAAE,WAAW,EAAA,QAAA,EAEvB,QAAQ,EAAA,CACF,EACR,MAAM,IACLJ,cAAA,CAACG,SAAG,EAAA,EACF,SAAS,EAAC,WAAW,EACrB,WAAW,EAAC,WAAW,EACvB,EAAE,EAAC,YAAY,EACf,EAAE,EAAE,CAAC,EACL,EAAE,EAAE,CAAC,YAEJ,MAAM,EAAA,CACH,IACJ,IAAI,CAAA,EAAA,CACJ,EAAA,CACW;AAEvB;;;;"}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
3
|
+
import { useReducer, useRef, useCallback, useEffect, useMemo } from 'react';
|
|
4
|
+
import { Box } from '@chakra-ui/react';
|
|
5
|
+
import { useTranslate } from '../../hooks/useTranslate.mjs';
|
|
6
|
+
import { Canvas } from './canvas/Canvas/Canvas.mjs';
|
|
7
|
+
import { historyReducer, initHistory } from './graphHistory.mjs';
|
|
8
|
+
import { useWorkflowGraphObserver } from './graphObserver.mjs';
|
|
9
|
+
import { emptyGraph } from './graphReducer.mjs';
|
|
10
|
+
import WorkflowTranslations from './Workflow.translations.json.mjs';
|
|
11
|
+
import { WorkflowProvider } from './WorkflowContext/WorkflowContext.mjs';
|
|
12
|
+
|
|
13
|
+
const EMPTY_ISSUES = [];
|
|
14
|
+
function Workflow({ nodeTypes: nodeTypeList, graph: controlledGraph, onGraphChange, onArrange, onHistoryNavigate, defaultGraph, issues: providedIssues, readOnly = false, validating = false, showPalette = true, onNodeClick, onEdgeClick, onSelectionChange, onIssuesChange, footer, children, categoryTokens, hostBridge, translate: providedTranslate, minHeight = '500px', }) {
|
|
15
|
+
const isControlled = controlledGraph !== undefined;
|
|
16
|
+
// Chrome copy is host-injected so the core carries no app i18n dependency.
|
|
17
|
+
// The host translator also resolves the node-type `descriptionKey`s it
|
|
18
|
+
// registers. Without one, fall back to the bundled defaults.
|
|
19
|
+
const fallbackTranslate = useTranslate(WorkflowTranslations);
|
|
20
|
+
const translate = providedTranslate ?? fallbackTranslate;
|
|
21
|
+
// Internal reducer is always the source of truth — even in controlled mode.
|
|
22
|
+
// This avoids race conditions when multiple actions fire in the same React
|
|
23
|
+
// batch: with a stale-closure dispatch wrapper around the host's setState,
|
|
24
|
+
// the second action would compute from the original graph. By always
|
|
25
|
+
// reducing locally and notifying the host via effect, both actions see the
|
|
26
|
+
// updated state in sequence.
|
|
27
|
+
const [history, dispatch] = useReducer(historyReducer, controlledGraph ?? defaultGraph ?? emptyGraph, initHistory);
|
|
28
|
+
const graph = history.present;
|
|
29
|
+
const canUndo = history.past.length > 0;
|
|
30
|
+
const canRedo = history.future.length > 0;
|
|
31
|
+
// An undo/redo can revert to a graph that differs from the saved baseline
|
|
32
|
+
// ONLY in node positions (e.g. undoing an auto-arrange). The host's autosave
|
|
33
|
+
// ignores position-only diffs, so we flag the navigation and hand the host the
|
|
34
|
+
// result via `onHistoryNavigate` to force-persist it. We gate out no-op
|
|
35
|
+
// presses: they never change `graph`, so the flag would otherwise strand and
|
|
36
|
+
// mis-fire on the next edit.
|
|
37
|
+
const pendingHistoryNavRef = useRef(false);
|
|
38
|
+
const undo = useCallback(() => {
|
|
39
|
+
if (!canUndo)
|
|
40
|
+
return;
|
|
41
|
+
pendingHistoryNavRef.current = true;
|
|
42
|
+
dispatch({ type: 'undo' });
|
|
43
|
+
}, [canUndo]);
|
|
44
|
+
const redo = useCallback(() => {
|
|
45
|
+
if (!canRedo)
|
|
46
|
+
return;
|
|
47
|
+
pendingHistoryNavRef.current = true;
|
|
48
|
+
dispatch({ type: 'redo' });
|
|
49
|
+
}, [canRedo]);
|
|
50
|
+
// Sync controlled prop INTO internal state when the host updates externally
|
|
51
|
+
// (e.g. undo from outside, server-pushed change). Identity-based skip avoids
|
|
52
|
+
// loops with our own onGraphChange.
|
|
53
|
+
const lastControlledRef = useRef(controlledGraph);
|
|
54
|
+
useEffect(() => {
|
|
55
|
+
if (!isControlled || controlledGraph === undefined)
|
|
56
|
+
return;
|
|
57
|
+
if (controlledGraph === graph)
|
|
58
|
+
return;
|
|
59
|
+
if (controlledGraph === lastControlledRef.current)
|
|
60
|
+
return;
|
|
61
|
+
lastControlledRef.current = controlledGraph;
|
|
62
|
+
dispatch({ type: 'replace', graph: controlledGraph });
|
|
63
|
+
}, [controlledGraph, isControlled, graph]);
|
|
64
|
+
// Notify host OUT when internal graph changes (controlled mode only).
|
|
65
|
+
const firstNotifyRef = useRef(true);
|
|
66
|
+
useEffect(() => {
|
|
67
|
+
if (!isControlled)
|
|
68
|
+
return;
|
|
69
|
+
if (firstNotifyRef.current) {
|
|
70
|
+
firstNotifyRef.current = false;
|
|
71
|
+
return;
|
|
72
|
+
}
|
|
73
|
+
if (graph === lastControlledRef.current)
|
|
74
|
+
return;
|
|
75
|
+
lastControlledRef.current = graph;
|
|
76
|
+
onGraphChange?.(graph);
|
|
77
|
+
// A position-only undo/redo settles to 'saved' via onGraphChange above and
|
|
78
|
+
// would otherwise not persist; let the host force-save the result.
|
|
79
|
+
if (pendingHistoryNavRef.current) {
|
|
80
|
+
pendingHistoryNavRef.current = false;
|
|
81
|
+
onHistoryNavigate?.(graph);
|
|
82
|
+
}
|
|
83
|
+
}, [graph, isControlled, onGraphChange, onHistoryNavigate]);
|
|
84
|
+
const registry = useMemo(() => {
|
|
85
|
+
const map = {};
|
|
86
|
+
for (const def of nodeTypeList)
|
|
87
|
+
map[def.kind] = def;
|
|
88
|
+
return map;
|
|
89
|
+
}, [nodeTypeList]);
|
|
90
|
+
// Validation lives on the backend — the editor just renders whatever the
|
|
91
|
+
// most recent save response returned. `providedIssues` is the only source.
|
|
92
|
+
const issues = providedIssues ?? EMPTY_ISSUES;
|
|
93
|
+
useEffect(() => {
|
|
94
|
+
onIssuesChange?.(issues);
|
|
95
|
+
}, [issues, onIssuesChange]);
|
|
96
|
+
// Optional ancestor-provided observer — lets a parent watch the graph
|
|
97
|
+
// without taking control of it. Used by the Storybook JSON-preview
|
|
98
|
+
// decorator; no provider exists in production, so this is a no-op there.
|
|
99
|
+
const observeGraph = useWorkflowGraphObserver();
|
|
100
|
+
useEffect(() => {
|
|
101
|
+
observeGraph?.(graph);
|
|
102
|
+
}, [graph, observeGraph]);
|
|
103
|
+
return (jsx(WorkflowProvider, { graph: graph, dispatch: dispatch, undo: undo, redo: redo, canUndo: canUndo, canRedo: canRedo, nodeTypes: registry, translate: translate, issues: issues, onArrange: onArrange, readOnly: readOnly, onSelectionChange: onSelectionChange, validating: validating, categoryTokens: categoryTokens, hostBridge: hostBridge, children: jsxs(Box, { display: "flex", flexDirection: "column", height: "100%", width: "100%", minHeight: minHeight, children: [jsx(Canvas, { showPalette: showPalette && !readOnly, onNodeClick: onNodeClick, onEdgeClick: onEdgeClick, children: children }), footer ? (jsx(Box, { borderTop: "1px solid", borderColor: "slate.200", bg: "bg.surface", px: 4, py: 2, children: footer })) : null] }) }));
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
export { Workflow };
|
|
107
|
+
//# sourceMappingURL=Workflow.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Workflow.mjs","sources":["../../../src/components/Workflow/Workflow.tsx"],"sourcesContent":[null],"names":["_jsx","_jsxs"],"mappings":";;;;;;;;;;;;AAqBA,MAAM,YAAY,GAAY,EAAE;AAE1B,SAAU,QAAQ,CAAC,EACvB,SAAS,EAAE,YAAY,EACvB,KAAK,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,GAAA,CAAC,GAAG,EAAA,EACF,SAAS,EAAC,WAAW,EACrB,WAAW,EAAC,WAAW,EACvB,EAAE,EAAC,YAAY,EACf,EAAE,EAAE,CAAC,EACL,EAAE,EAAE,CAAC,YAEJ,MAAM,EAAA,CACH,IACJ,IAAI,CAAA,EAAA,CACJ,EAAA,CACW;AAEvB;;;;"}
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
|
+
|
|
6
|
+
var workflow_drawer_empty_settings = {
|
|
7
|
+
ko: "이 노드는 편집할 수 있는 설정이 없습니다.",
|
|
8
|
+
en: "This node has no editable settings.",
|
|
9
|
+
ja: "このノードには編集できる設定がありません。"
|
|
10
|
+
};
|
|
11
|
+
var workflow_drawer_graph_group_title = {
|
|
12
|
+
ko: "그래프",
|
|
13
|
+
en: "Graph",
|
|
14
|
+
ja: "グラフ"
|
|
15
|
+
};
|
|
16
|
+
var workflow_drawer_issues_error_title = {
|
|
17
|
+
ko: "수정이 필요해요",
|
|
18
|
+
en: "Fixes needed",
|
|
19
|
+
ja: "修正が必要です"
|
|
20
|
+
};
|
|
21
|
+
var workflow_drawer_issues_warning_title = {
|
|
22
|
+
ko: "확인해 주세요",
|
|
23
|
+
en: "Worth checking",
|
|
24
|
+
ja: "確認してください"
|
|
25
|
+
};
|
|
26
|
+
var workflow_edge_connection = {
|
|
27
|
+
ko: "{source} → {target}",
|
|
28
|
+
en: "{source} → {target}",
|
|
29
|
+
ja: "{source} → {target}"
|
|
30
|
+
};
|
|
31
|
+
var workflow_edge_delete = {
|
|
32
|
+
ko: "연결 삭제",
|
|
33
|
+
en: "Delete connection",
|
|
34
|
+
ja: "接続を削除"
|
|
35
|
+
};
|
|
36
|
+
var workflow_edge_endpoints_heading = {
|
|
37
|
+
ko: "연결 지점",
|
|
38
|
+
en: "Endpoints",
|
|
39
|
+
ja: "接続ポイント"
|
|
40
|
+
};
|
|
41
|
+
var workflow_edge_label_label = {
|
|
42
|
+
ko: "라벨",
|
|
43
|
+
en: "Label",
|
|
44
|
+
ja: "ラベル"
|
|
45
|
+
};
|
|
46
|
+
var workflow_edge_label_placeholder = {
|
|
47
|
+
ko: "연결 라벨 (선택)",
|
|
48
|
+
en: "Connection label (optional)",
|
|
49
|
+
ja: "接続ラベル(任意)"
|
|
50
|
+
};
|
|
51
|
+
var workflow_edge_source_label = {
|
|
52
|
+
ko: "출발",
|
|
53
|
+
en: "Source",
|
|
54
|
+
ja: "送信元"
|
|
55
|
+
};
|
|
56
|
+
var workflow_edge_target_label = {
|
|
57
|
+
ko: "도착",
|
|
58
|
+
en: "Target",
|
|
59
|
+
ja: "送信先"
|
|
60
|
+
};
|
|
61
|
+
var workflow_issues_errors_label = {
|
|
62
|
+
ko: "오류",
|
|
63
|
+
en: "Errors",
|
|
64
|
+
ja: "エラー"
|
|
65
|
+
};
|
|
66
|
+
var workflow_issues_summary_errors = {
|
|
67
|
+
ko: "오류 {count}개",
|
|
68
|
+
en: "{count} error(s)",
|
|
69
|
+
ja: "エラー {count}件"
|
|
70
|
+
};
|
|
71
|
+
var workflow_issues_summary_warnings = {
|
|
72
|
+
ko: "경고 {count}개",
|
|
73
|
+
en: "{count} warning(s)",
|
|
74
|
+
ja: "警告 {count}件"
|
|
75
|
+
};
|
|
76
|
+
var workflow_issues_validating = {
|
|
77
|
+
ko: "변경 사항 검증 중…",
|
|
78
|
+
en: "Validating changes…",
|
|
79
|
+
ja: "変更内容を検証中…"
|
|
80
|
+
};
|
|
81
|
+
var workflow_issues_warnings_label = {
|
|
82
|
+
ko: "경고",
|
|
83
|
+
en: "Warnings",
|
|
84
|
+
ja: "警告"
|
|
85
|
+
};
|
|
86
|
+
var workflow_node_close = {
|
|
87
|
+
ko: "노드 설정 닫기",
|
|
88
|
+
en: "Close node settings",
|
|
89
|
+
ja: "ノード設定を閉じる"
|
|
90
|
+
};
|
|
91
|
+
var workflow_node_delete = {
|
|
92
|
+
ko: "노드 삭제",
|
|
93
|
+
en: "Delete node",
|
|
94
|
+
ja: "ノードを削除"
|
|
95
|
+
};
|
|
96
|
+
var workflow_node_duplicate = {
|
|
97
|
+
ko: "노드 복제",
|
|
98
|
+
en: "Duplicate node",
|
|
99
|
+
ja: "ノードを複製"
|
|
100
|
+
};
|
|
101
|
+
var workflow_node_overflow_label = {
|
|
102
|
+
ko: "더보기",
|
|
103
|
+
en: "More actions",
|
|
104
|
+
ja: "その他の操作"
|
|
105
|
+
};
|
|
106
|
+
var workflow_palette_close = {
|
|
107
|
+
ko: "노드 추가 닫기",
|
|
108
|
+
en: "Close node panel",
|
|
109
|
+
ja: "ノードパネルを閉じる"
|
|
110
|
+
};
|
|
111
|
+
var workflow_palette_title = {
|
|
112
|
+
ko: "노드 추가",
|
|
113
|
+
en: "Create node",
|
|
114
|
+
ja: "ノードを追加"
|
|
115
|
+
};
|
|
116
|
+
var WorkflowTranslations = {
|
|
117
|
+
workflow_drawer_empty_settings: workflow_drawer_empty_settings,
|
|
118
|
+
workflow_drawer_graph_group_title: workflow_drawer_graph_group_title,
|
|
119
|
+
workflow_drawer_issues_error_title: workflow_drawer_issues_error_title,
|
|
120
|
+
workflow_drawer_issues_warning_title: workflow_drawer_issues_warning_title,
|
|
121
|
+
workflow_edge_connection: workflow_edge_connection,
|
|
122
|
+
workflow_edge_delete: workflow_edge_delete,
|
|
123
|
+
workflow_edge_endpoints_heading: workflow_edge_endpoints_heading,
|
|
124
|
+
workflow_edge_label_label: workflow_edge_label_label,
|
|
125
|
+
workflow_edge_label_placeholder: workflow_edge_label_placeholder,
|
|
126
|
+
workflow_edge_source_label: workflow_edge_source_label,
|
|
127
|
+
workflow_edge_target_label: workflow_edge_target_label,
|
|
128
|
+
workflow_issues_errors_label: workflow_issues_errors_label,
|
|
129
|
+
workflow_issues_summary_errors: workflow_issues_summary_errors,
|
|
130
|
+
workflow_issues_summary_warnings: workflow_issues_summary_warnings,
|
|
131
|
+
workflow_issues_validating: workflow_issues_validating,
|
|
132
|
+
workflow_issues_warnings_label: workflow_issues_warnings_label,
|
|
133
|
+
workflow_node_close: workflow_node_close,
|
|
134
|
+
workflow_node_delete: workflow_node_delete,
|
|
135
|
+
workflow_node_duplicate: workflow_node_duplicate,
|
|
136
|
+
workflow_node_overflow_label: workflow_node_overflow_label,
|
|
137
|
+
workflow_palette_close: workflow_palette_close,
|
|
138
|
+
workflow_palette_title: workflow_palette_title
|
|
139
|
+
};
|
|
140
|
+
|
|
141
|
+
exports.default = WorkflowTranslations;
|
|
142
|
+
exports.workflow_drawer_empty_settings = workflow_drawer_empty_settings;
|
|
143
|
+
exports.workflow_drawer_graph_group_title = workflow_drawer_graph_group_title;
|
|
144
|
+
exports.workflow_drawer_issues_error_title = workflow_drawer_issues_error_title;
|
|
145
|
+
exports.workflow_drawer_issues_warning_title = workflow_drawer_issues_warning_title;
|
|
146
|
+
exports.workflow_edge_connection = workflow_edge_connection;
|
|
147
|
+
exports.workflow_edge_delete = workflow_edge_delete;
|
|
148
|
+
exports.workflow_edge_endpoints_heading = workflow_edge_endpoints_heading;
|
|
149
|
+
exports.workflow_edge_label_label = workflow_edge_label_label;
|
|
150
|
+
exports.workflow_edge_label_placeholder = workflow_edge_label_placeholder;
|
|
151
|
+
exports.workflow_edge_source_label = workflow_edge_source_label;
|
|
152
|
+
exports.workflow_edge_target_label = workflow_edge_target_label;
|
|
153
|
+
exports.workflow_issues_errors_label = workflow_issues_errors_label;
|
|
154
|
+
exports.workflow_issues_summary_errors = workflow_issues_summary_errors;
|
|
155
|
+
exports.workflow_issues_summary_warnings = workflow_issues_summary_warnings;
|
|
156
|
+
exports.workflow_issues_validating = workflow_issues_validating;
|
|
157
|
+
exports.workflow_issues_warnings_label = workflow_issues_warnings_label;
|
|
158
|
+
exports.workflow_node_close = workflow_node_close;
|
|
159
|
+
exports.workflow_node_delete = workflow_node_delete;
|
|
160
|
+
exports.workflow_node_duplicate = workflow_node_duplicate;
|
|
161
|
+
exports.workflow_node_overflow_label = workflow_node_overflow_label;
|
|
162
|
+
exports.workflow_palette_close = workflow_palette_close;
|
|
163
|
+
exports.workflow_palette_title = workflow_palette_title;
|
|
164
|
+
//# sourceMappingURL=Workflow.translations.json.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Workflow.translations.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
var workflow_drawer_empty_settings = {
|
|
3
|
+
ko: "이 노드는 편집할 수 있는 설정이 없습니다.",
|
|
4
|
+
en: "This node has no editable settings.",
|
|
5
|
+
ja: "このノードには編集できる設定がありません。"
|
|
6
|
+
};
|
|
7
|
+
var workflow_drawer_graph_group_title = {
|
|
8
|
+
ko: "그래프",
|
|
9
|
+
en: "Graph",
|
|
10
|
+
ja: "グラフ"
|
|
11
|
+
};
|
|
12
|
+
var workflow_drawer_issues_error_title = {
|
|
13
|
+
ko: "수정이 필요해요",
|
|
14
|
+
en: "Fixes needed",
|
|
15
|
+
ja: "修正が必要です"
|
|
16
|
+
};
|
|
17
|
+
var workflow_drawer_issues_warning_title = {
|
|
18
|
+
ko: "확인해 주세요",
|
|
19
|
+
en: "Worth checking",
|
|
20
|
+
ja: "確認してください"
|
|
21
|
+
};
|
|
22
|
+
var workflow_edge_connection = {
|
|
23
|
+
ko: "{source} → {target}",
|
|
24
|
+
en: "{source} → {target}",
|
|
25
|
+
ja: "{source} → {target}"
|
|
26
|
+
};
|
|
27
|
+
var workflow_edge_delete = {
|
|
28
|
+
ko: "연결 삭제",
|
|
29
|
+
en: "Delete connection",
|
|
30
|
+
ja: "接続を削除"
|
|
31
|
+
};
|
|
32
|
+
var workflow_edge_endpoints_heading = {
|
|
33
|
+
ko: "연결 지점",
|
|
34
|
+
en: "Endpoints",
|
|
35
|
+
ja: "接続ポイント"
|
|
36
|
+
};
|
|
37
|
+
var workflow_edge_label_label = {
|
|
38
|
+
ko: "라벨",
|
|
39
|
+
en: "Label",
|
|
40
|
+
ja: "ラベル"
|
|
41
|
+
};
|
|
42
|
+
var workflow_edge_label_placeholder = {
|
|
43
|
+
ko: "연결 라벨 (선택)",
|
|
44
|
+
en: "Connection label (optional)",
|
|
45
|
+
ja: "接続ラベル(任意)"
|
|
46
|
+
};
|
|
47
|
+
var workflow_edge_source_label = {
|
|
48
|
+
ko: "출발",
|
|
49
|
+
en: "Source",
|
|
50
|
+
ja: "送信元"
|
|
51
|
+
};
|
|
52
|
+
var workflow_edge_target_label = {
|
|
53
|
+
ko: "도착",
|
|
54
|
+
en: "Target",
|
|
55
|
+
ja: "送信先"
|
|
56
|
+
};
|
|
57
|
+
var workflow_issues_errors_label = {
|
|
58
|
+
ko: "오류",
|
|
59
|
+
en: "Errors",
|
|
60
|
+
ja: "エラー"
|
|
61
|
+
};
|
|
62
|
+
var workflow_issues_summary_errors = {
|
|
63
|
+
ko: "오류 {count}개",
|
|
64
|
+
en: "{count} error(s)",
|
|
65
|
+
ja: "エラー {count}件"
|
|
66
|
+
};
|
|
67
|
+
var workflow_issues_summary_warnings = {
|
|
68
|
+
ko: "경고 {count}개",
|
|
69
|
+
en: "{count} warning(s)",
|
|
70
|
+
ja: "警告 {count}件"
|
|
71
|
+
};
|
|
72
|
+
var workflow_issues_validating = {
|
|
73
|
+
ko: "변경 사항 검증 중…",
|
|
74
|
+
en: "Validating changes…",
|
|
75
|
+
ja: "変更内容を検証中…"
|
|
76
|
+
};
|
|
77
|
+
var workflow_issues_warnings_label = {
|
|
78
|
+
ko: "경고",
|
|
79
|
+
en: "Warnings",
|
|
80
|
+
ja: "警告"
|
|
81
|
+
};
|
|
82
|
+
var workflow_node_close = {
|
|
83
|
+
ko: "노드 설정 닫기",
|
|
84
|
+
en: "Close node settings",
|
|
85
|
+
ja: "ノード設定を閉じる"
|
|
86
|
+
};
|
|
87
|
+
var workflow_node_delete = {
|
|
88
|
+
ko: "노드 삭제",
|
|
89
|
+
en: "Delete node",
|
|
90
|
+
ja: "ノードを削除"
|
|
91
|
+
};
|
|
92
|
+
var workflow_node_duplicate = {
|
|
93
|
+
ko: "노드 복제",
|
|
94
|
+
en: "Duplicate node",
|
|
95
|
+
ja: "ノードを複製"
|
|
96
|
+
};
|
|
97
|
+
var workflow_node_overflow_label = {
|
|
98
|
+
ko: "더보기",
|
|
99
|
+
en: "More actions",
|
|
100
|
+
ja: "その他の操作"
|
|
101
|
+
};
|
|
102
|
+
var workflow_palette_close = {
|
|
103
|
+
ko: "노드 추가 닫기",
|
|
104
|
+
en: "Close node panel",
|
|
105
|
+
ja: "ノードパネルを閉じる"
|
|
106
|
+
};
|
|
107
|
+
var workflow_palette_title = {
|
|
108
|
+
ko: "노드 추가",
|
|
109
|
+
en: "Create node",
|
|
110
|
+
ja: "ノードを追加"
|
|
111
|
+
};
|
|
112
|
+
var WorkflowTranslations = {
|
|
113
|
+
workflow_drawer_empty_settings: workflow_drawer_empty_settings,
|
|
114
|
+
workflow_drawer_graph_group_title: workflow_drawer_graph_group_title,
|
|
115
|
+
workflow_drawer_issues_error_title: workflow_drawer_issues_error_title,
|
|
116
|
+
workflow_drawer_issues_warning_title: workflow_drawer_issues_warning_title,
|
|
117
|
+
workflow_edge_connection: workflow_edge_connection,
|
|
118
|
+
workflow_edge_delete: workflow_edge_delete,
|
|
119
|
+
workflow_edge_endpoints_heading: workflow_edge_endpoints_heading,
|
|
120
|
+
workflow_edge_label_label: workflow_edge_label_label,
|
|
121
|
+
workflow_edge_label_placeholder: workflow_edge_label_placeholder,
|
|
122
|
+
workflow_edge_source_label: workflow_edge_source_label,
|
|
123
|
+
workflow_edge_target_label: workflow_edge_target_label,
|
|
124
|
+
workflow_issues_errors_label: workflow_issues_errors_label,
|
|
125
|
+
workflow_issues_summary_errors: workflow_issues_summary_errors,
|
|
126
|
+
workflow_issues_summary_warnings: workflow_issues_summary_warnings,
|
|
127
|
+
workflow_issues_validating: workflow_issues_validating,
|
|
128
|
+
workflow_issues_warnings_label: workflow_issues_warnings_label,
|
|
129
|
+
workflow_node_close: workflow_node_close,
|
|
130
|
+
workflow_node_delete: workflow_node_delete,
|
|
131
|
+
workflow_node_duplicate: workflow_node_duplicate,
|
|
132
|
+
workflow_node_overflow_label: workflow_node_overflow_label,
|
|
133
|
+
workflow_palette_close: workflow_palette_close,
|
|
134
|
+
workflow_palette_title: workflow_palette_title
|
|
135
|
+
};
|
|
136
|
+
|
|
137
|
+
export { WorkflowTranslations as default, workflow_drawer_empty_settings, workflow_drawer_graph_group_title, workflow_drawer_issues_error_title, workflow_drawer_issues_warning_title, workflow_edge_connection, workflow_edge_delete, workflow_edge_endpoints_heading, workflow_edge_label_label, workflow_edge_label_placeholder, workflow_edge_source_label, workflow_edge_target_label, workflow_issues_errors_label, workflow_issues_summary_errors, workflow_issues_summary_warnings, workflow_issues_validating, workflow_issues_warnings_label, workflow_node_close, workflow_node_delete, workflow_node_duplicate, workflow_node_overflow_label, workflow_palette_close, workflow_palette_title };
|
|
138
|
+
//# sourceMappingURL=Workflow.translations.json.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Workflow.translations.json.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|