@emporix/process-diagram 2.0.0-beta.29 → 2.0.0-beta.30

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 (50) hide show
  1. package/dist/App.d.ts.map +1 -1
  2. package/dist/Condition.d.ts +6 -0
  3. package/dist/Condition.d.ts.map +1 -0
  4. package/dist/Curve.d.ts +6 -0
  5. package/dist/Curve.d.ts.map +1 -0
  6. package/dist/Item.d.ts +7 -0
  7. package/dist/Item.d.ts.map +1 -0
  8. package/dist/Items.d.ts +6 -0
  9. package/dist/Items.d.ts.map +1 -0
  10. package/dist/Row.d.ts +6 -0
  11. package/dist/Row.d.ts.map +1 -0
  12. package/dist/Steps.d.ts +13 -0
  13. package/dist/Steps.d.ts.map +1 -0
  14. package/dist/components/curve/Curve.d.ts +3 -3
  15. package/dist/components/curve/Curve.d.ts.map +1 -1
  16. package/dist/components/iterator/Iterator.d.ts +2 -2
  17. package/dist/components/iterator/Iterator.d.ts.map +1 -1
  18. package/dist/components/process-debugger-diagram/DebuggerIterator.d.ts +4 -4
  19. package/dist/components/process-debugger-diagram/DebuggerIterator.d.ts.map +1 -1
  20. package/dist/components/process-debugger-diagram/DebuggerRow.d.ts +2 -2
  21. package/dist/components/process-debugger-diagram/DebuggerRow.d.ts.map +1 -1
  22. package/dist/components/process-debugger-diagram/DebuggerSteps.d.ts +3 -3
  23. package/dist/components/process-debugger-diagram/DebuggerSteps.d.ts.map +1 -1
  24. package/dist/components/process-debugger-diagram/StepConnector.d.ts +3 -3
  25. package/dist/components/process-debugger-diagram/StepConnector.d.ts.map +1 -1
  26. package/dist/components/step/Step.d.ts +1 -1
  27. package/dist/components/step/Step.d.ts.map +1 -1
  28. package/dist/components/triggers/IfStatement.d.ts +5 -0
  29. package/dist/components/triggers/IfStatement.d.ts.map +1 -0
  30. package/dist/helpers/debuggerConnector.helpers.d.ts +1 -1
  31. package/dist/helpers/debuggerConnector.helpers.d.ts.map +1 -1
  32. package/dist/helpers/finishedSequentialLine.helpers.d.ts +8 -8
  33. package/dist/helpers/finishedSequentialLine.helpers.d.ts.map +1 -1
  34. package/dist/helpers/processGraph.helpers.d.ts +3 -3
  35. package/dist/helpers/processGraph.helpers.d.ts.map +1 -1
  36. package/dist/index.cjs +1 -1
  37. package/dist/index.cjs.map +1 -1
  38. package/dist/index.mjs +563 -563
  39. package/dist/index.mjs.map +1 -1
  40. package/dist/types/index.d.ts +2 -2
  41. package/dist/types/index.d.ts.map +1 -1
  42. package/dist/utils.d.ts +16 -0
  43. package/dist/utils.d.ts.map +1 -0
  44. package/package.json +1 -1
  45. /package/dist/components/{menu → Menu}/Menu.d.ts +0 -0
  46. /package/dist/components/{menu → Menu}/Menu.d.ts.map +0 -0
  47. /package/dist/components/{menu → Menu}/Separator.d.ts +0 -0
  48. /package/dist/components/{menu → Menu}/Separator.d.ts.map +0 -0
  49. /package/dist/components/{menu → Menu}/index.d.ts +0 -0
  50. /package/dist/components/{menu → Menu}/index.d.ts.map +0 -0
package/dist/App.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../src/App.tsx"],"names":[],"mappings":"AAWA,OAAO,mBAAmB,CAAA;AAG1B,QAAA,MAAM,GAAG,+CAgaR,CAAA;AAED,eAAe,GAAG,CAAA"}
1
+ {"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../src/App.tsx"],"names":[],"mappings":"AAWA,OAAO,mBAAmB,CAAA;AAG1B,QAAA,MAAM,GAAG,+CA0aR,CAAA;AAED,eAAe,GAAG,CAAA"}
@@ -0,0 +1,6 @@
1
+ declare const Condition: ({ expression, style, }: Readonly<{
2
+ expression: string;
3
+ style?: React.CSSProperties;
4
+ }>) => import("react/jsx-runtime").JSX.Element;
5
+ export default Condition;
6
+ //# sourceMappingURL=Condition.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Condition.d.ts","sourceRoot":"","sources":["../src/Condition.tsx"],"names":[],"mappings":"AAEA,QAAA,MAAM,SAAS,GAAI,wBAGhB,QAAQ,CAAC;IAAE,UAAU,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAA;CAAE,CAAC,4CA0B/D,CAAA;AAED,eAAe,SAAS,CAAA"}
@@ -0,0 +1,6 @@
1
+ declare const Curve: ({ width, height, }: Readonly<{
2
+ width: number;
3
+ height: number;
4
+ }>) => import("react/jsx-runtime").JSX.Element;
5
+ export default Curve;
6
+ //# sourceMappingURL=Curve.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Curve.d.ts","sourceRoot":"","sources":["../src/Curve.tsx"],"names":[],"mappings":"AAkBA,QAAA,MAAM,KAAK,GAAI,oBAGZ,QAAQ,CAAC;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC,4CAyB7C,CAAA;AAED,eAAe,KAAK,CAAA"}
package/dist/Item.d.ts ADDED
@@ -0,0 +1,7 @@
1
+ declare const Item: ({ title, className, style, }: Readonly<{
2
+ title: string;
3
+ className?: string;
4
+ style?: React.CSSProperties;
5
+ }>) => import("react/jsx-runtime").JSX.Element;
6
+ export default Item;
7
+ //# sourceMappingURL=Item.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Item.d.ts","sourceRoot":"","sources":["../src/Item.tsx"],"names":[],"mappings":"AAEA,QAAA,MAAM,IAAI,GAAI,8BAIX,QAAQ,CAAC;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAA;CAAE,CAAC,4CAE9E,CAAA;AAED,eAAe,IAAI,CAAA"}
@@ -0,0 +1,6 @@
1
+ import type { Step } from './types';
2
+ declare const Items: ({ items }: Readonly<{
3
+ items: Step[];
4
+ }>) => import("react/jsx-runtime").JSX.Element;
5
+ export default Items;
6
+ //# sourceMappingURL=Items.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Items.d.ts","sourceRoot":"","sources":["../src/Items.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAGnC,QAAA,MAAM,KAAK,GAAI,WAAW,QAAQ,CAAC;IAAE,KAAK,EAAE,IAAI,EAAE,CAAA;CAAE,CAAC,4CAuBpD,CAAA;AAED,eAAe,KAAK,CAAA"}
package/dist/Row.d.ts ADDED
@@ -0,0 +1,6 @@
1
+ import type { Path, Step } from './types';
2
+ declare const Row: ({ items }: Readonly<{
3
+ items: Path[] | Step[];
4
+ }>) => import("react/jsx-runtime").JSX.Element;
5
+ export default Row;
6
+ //# sourceMappingURL=Row.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Row.d.ts","sourceRoot":"","sources":["../src/Row.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAMzC,QAAA,MAAM,GAAG,GAAI,WAAW,QAAQ,CAAC;IAAE,KAAK,EAAE,IAAI,EAAE,GAAG,IAAI,EAAE,CAAA;CAAE,CAAC,4CAoI3D,CAAA;AAED,eAAe,GAAG,CAAA"}
@@ -0,0 +1,13 @@
1
+ import type { PropsWithClassName } from './helpers/props';
2
+ import type { Step } from './types';
3
+ interface Props extends PropsWithClassName {
4
+ steps: Step[];
5
+ onDeleteStep?: (id: string) => void;
6
+ onUpdateFilter?: (id: string) => void;
7
+ onAddStep?: (index: number) => void;
8
+ onAddTrigger?: (index: number) => void;
9
+ onSelectStep: (id: string) => void;
10
+ }
11
+ declare const Steps: ({ steps, className, onDeleteStep, onUpdateFilter, onAddStep, onAddTrigger, onSelectStep, }: Readonly<Props>) => import("react/jsx-runtime").JSX.Element;
12
+ export default Steps;
13
+ //# sourceMappingURL=Steps.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Steps.d.ts","sourceRoot":"","sources":["../src/Steps.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAEzD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAEnC,UAAU,KAAM,SAAQ,kBAAkB;IACxC,KAAK,EAAE,IAAI,EAAE,CAAA;IACb,YAAY,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;IACnC,cAAc,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;IACrC,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACnC,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACtC,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;CACnC;AAED,QAAA,MAAM,KAAK,GAAI,4FAQZ,QAAQ,CAAC,KAAK,CAAC,4CA4DjB,CAAA;AAED,eAAe,KAAK,CAAA"}
@@ -1,9 +1,9 @@
1
- declare const Curve: ({ width, height, strokeColor, fromLocalId, toLocalId, }: Readonly<{
1
+ declare const Curve: ({ width, height, strokeColor, fromId, toId, }: Readonly<{
2
2
  width: number;
3
3
  height: number;
4
4
  strokeColor?: string;
5
- fromLocalId?: string;
6
- toLocalId?: string;
5
+ fromId?: string;
6
+ toId?: string;
7
7
  }>) => import("react/jsx-runtime").JSX.Element;
8
8
  export default Curve;
9
9
  //# sourceMappingURL=Curve.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Curve.d.ts","sourceRoot":"","sources":["../../../src/components/curve/Curve.tsx"],"names":[],"mappings":"AAoBA,QAAA,MAAM,KAAK,GAAI,yDAMZ,QAAQ,CAAC;IACV,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAC,4CAiCD,CAAA;AAED,eAAe,KAAK,CAAA"}
1
+ {"version":3,"file":"Curve.d.ts","sourceRoot":"","sources":["../../../src/components/curve/Curve.tsx"],"names":[],"mappings":"AAoBA,QAAA,MAAM,KAAK,GAAI,+CAMZ,QAAQ,CAAC;IACV,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,IAAI,CAAC,EAAE,MAAM,CAAA;CACd,CAAC,4CAiCD,CAAA;AAED,eAAe,KAAK,CAAA"}
@@ -1,8 +1,8 @@
1
1
  import type { Iterator as IteratorType } from '../../types';
2
2
  import type { AddStepOperation, AddStepType } from '../../helpers/add-process.helpers';
3
3
  export interface IteratorProps {
4
- /** Iterator data: must include localId; limit is optional. */
5
- value: Pick<IteratorType, 'localId'> & Partial<Pick<IteratorType, 'limit' | 'steps' | 'condition' | 'status'>>;
4
+ /** Iterator data: must include id; limit is optional. */
5
+ value: Pick<IteratorType, 'id'> & Partial<Pick<IteratorType, 'limit' | 'steps' | 'condition' | 'status'>>;
6
6
  onAddStep?: (id?: string, pathId?: string, operation?: AddStepOperation) => void;
7
7
  onAddTrigger?: (id?: string, pathId?: string, operation?: AddStepType) => void;
8
8
  onAddCondition?: (stepId?: string, pathId?: string, operation?: AddStepOperation) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"Iterator.d.ts","sourceRoot":"","sources":["../../../src/components/iterator/Iterator.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,QAAQ,IAAI,YAAY,EAAE,MAAM,aAAa,CAAA;AAC3D,OAAO,KAAK,EACV,gBAAgB,EAChB,WAAW,EACZ,MAAM,mCAAmC,CAAA;AAI1C,MAAM,WAAW,aAAa;IAC5B,8DAA8D;IAC9D,KAAK,EAAE,IAAI,CAAC,YAAY,EAAE,SAAS,CAAC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types';
2
2
  export interface DebuggerIteratorProps {
3
- value: Pick<IteratorType, 'localId'> & Partial<Pick<IteratorType, 'limit' | 'steps' | 'condition' | 'status'>>;
4
- previousLocalId?: string;
5
- nextLocalId?: string;
3
+ value: Pick<IteratorType, 'id'> & Partial<Pick<IteratorType, 'limit' | 'steps' | 'condition' | 'status'>>;
4
+ previousId?: string;
5
+ nextId?: string;
6
6
  onSelectStep?: (id: string) => void;
7
7
  onResize?: () => void;
8
8
  onCheckScenario?: (id: string) => void;
9
9
  }
10
- declare const DebuggerIterator: ({ value, previousLocalId, nextLocalId, onSelectStep: _onSelectStep, onResize, onCheckScenario, }: Readonly<DebuggerIteratorProps>) => import("react/jsx-runtime").JSX.Element;
10
+ declare const DebuggerIterator: ({ value, previousId, nextId, onSelectStep: _onSelectStep, onResize, onCheckScenario, }: Readonly<DebuggerIteratorProps>) => import("react/jsx-runtime").JSX.Element;
11
11
  export default DebuggerIterator;
12
12
  //# sourceMappingURL=DebuggerIterator.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DebuggerIterator.d.ts","sourceRoot":"","sources":["../../../src/components/process-debugger-diagram/DebuggerIterator.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,QAAQ,IAAI,YAAY,EAAE,MAAM,aAAa,CAAA;AAW3D,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,IAAI,CAAC,YAAY,EAAE,SAAS,CAAC,GAClC,OAAO,CAAC,IAAI,CAAC,YAAY,EAAE,OAAO,GAAG,OAAO,GAAG,WAAW,GAAG,QAAQ,CAAC,CAAC,CAAA;IACzE,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,YAAY,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;IACnC,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;IACrB,eAAe,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;CACvC;AAED,QAAA,MAAM,gBAAgB,GAAI,kGAOvB,QAAQ,CAAC,qBAAqB,CAAC,4CA4FjC,CAAA;AAED,eAAe,gBAAgB,CAAA"}
1
+ {"version":3,"file":"DebuggerIterator.d.ts","sourceRoot":"","sources":["../../../src/components/process-debugger-diagram/DebuggerIterator.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,QAAQ,IAAI,YAAY,EAAE,MAAM,aAAa,CAAA;AAW3D,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,IAAI,CAAC,YAAY,EAAE,IAAI,CAAC,GAC7B,OAAO,CAAC,IAAI,CAAC,YAAY,EAAE,OAAO,GAAG,OAAO,GAAG,WAAW,GAAG,QAAQ,CAAC,CAAC,CAAA;IACzE,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,YAAY,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;IACnC,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;IACrB,eAAe,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;CACvC;AAED,QAAA,MAAM,gBAAgB,GAAI,wFAOvB,QAAQ,CAAC,qBAAqB,CAAC,4CA4FjC,CAAA;AAED,eAAe,gBAAgB,CAAA"}
@@ -2,8 +2,8 @@ import type { Path, Step } from '../../types';
2
2
  interface Props {
3
3
  items: Path[] | Step[];
4
4
  pathId?: string;
5
- previousLocalId?: string;
6
- nextLocalId?: string;
5
+ previousId?: string;
6
+ nextId?: string;
7
7
  onSelectStep: (id: string) => void;
8
8
  onResize?: () => void;
9
9
  onCheckScenario: (id: string) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"DebuggerRow.d.ts","sourceRoot":"","sources":["../../../src/components/process-debugger-diagram/DebuggerRow.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAY,IAAI,EAAE,IAAI,EAAc,MAAM,aAAa,CAAA;AAsBnE,UAAU,KAAK;IACb,KAAK,EAAE,IAAI,EAAE,GAAG,IAAI,EAAE,CAAA;IACtB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;IAClC,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;IACrB,eAAe,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;CACtC;AAED,QAAA,MAAM,WAAW,GAAI,OAAO,QAAQ,CAAC,KAAK,CAAC,4CA0T1C,CAAA;AAED,eAAe,WAAW,CAAA"}
1
+ {"version":3,"file":"DebuggerRow.d.ts","sourceRoot":"","sources":["../../../src/components/process-debugger-diagram/DebuggerRow.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAY,IAAI,EAAE,IAAI,EAAc,MAAM,aAAa,CAAA;AAsBnE,UAAU,KAAK;IACb,KAAK,EAAE,IAAI,EAAE,GAAG,IAAI,EAAE,CAAA;IACtB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;IAClC,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;IACrB,eAAe,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;CACtC;AAED,QAAA,MAAM,WAAW,GAAI,OAAO,QAAQ,CAAC,KAAK,CAAC,4CA0T1C,CAAA;AAED,eAAe,WAAW,CAAA"}
@@ -3,8 +3,8 @@ import type { Step } from '../../types';
3
3
  interface Props extends PropsWithClassName {
4
4
  steps: Step[];
5
5
  centerY?: number;
6
- previousLocalId?: string;
7
- nextLocalId?: string;
6
+ previousId?: string;
7
+ nextId?: string;
8
8
  onSelectStep: (id: string) => void;
9
9
  onResize?: () => void;
10
10
  isDescendent?: boolean;
@@ -12,6 +12,6 @@ interface Props extends PropsWithClassName {
12
12
  onCheckScenario: (id: string) => void;
13
13
  }
14
14
  export declare const STEP_ROW_HEIGHT = 68;
15
- declare const DebuggerSteps: ({ pathId, steps, centerY, className, previousLocalId, nextLocalId, onSelectStep, onResize, onCheckScenario, isDescendent, }: Readonly<Props>) => import("react/jsx-runtime").JSX.Element;
15
+ declare const DebuggerSteps: ({ pathId, steps, centerY, className, previousId, nextId, onSelectStep, onResize, onCheckScenario, isDescendent, }: Readonly<Props>) => import("react/jsx-runtime").JSX.Element;
16
16
  export default DebuggerSteps;
17
17
  //# sourceMappingURL=DebuggerSteps.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DebuggerSteps.d.ts","sourceRoot":"","sources":["../../../src/components/process-debugger-diagram/DebuggerSteps.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAA;AAE7D,OAAO,KAAK,EAAkC,IAAI,EAAE,MAAM,aAAa,CAAA;AAgBvE,UAAU,KAAM,SAAQ,kBAAkB;IACxC,KAAK,EAAE,IAAI,EAAE,CAAA;IACb,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;IAClC,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;IACrB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,eAAe,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;CACtC;AAED,eAAO,MAAM,eAAe,KAAK,CAAA;AAmBjC,QAAA,MAAM,aAAa,GAAI,6HAWpB,QAAQ,CAAC,KAAK,CAAC,4CAoMjB,CAAA;AAED,eAAe,aAAa,CAAA"}
1
+ {"version":3,"file":"DebuggerSteps.d.ts","sourceRoot":"","sources":["../../../src/components/process-debugger-diagram/DebuggerSteps.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAA;AAE7D,OAAO,KAAK,EAAkC,IAAI,EAAE,MAAM,aAAa,CAAA;AAgBvE,UAAU,KAAM,SAAQ,kBAAkB;IACxC,KAAK,EAAE,IAAI,EAAE,CAAA;IACb,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;IAClC,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;IACrB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,eAAe,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;CACtC;AAED,eAAO,MAAM,eAAe,KAAK,CAAA;AAmBjC,QAAA,MAAM,aAAa,GAAI,mHAWpB,QAAQ,CAAC,KAAK,CAAC,4CAoMjB,CAAA;AAED,eAAe,aAAa,CAAA"}
@@ -2,9 +2,9 @@ import type { CSSProperties } from 'react';
2
2
  export type StepConnectorProps = {
3
3
  lineColor: string;
4
4
  style?: CSSProperties;
5
- fromLocalId?: string;
6
- toLocalId?: string;
5
+ fromId?: string;
6
+ toId?: string;
7
7
  };
8
8
  /** Read-only horizontal link matching debugger-mode PlusButton layout (no menu, no icon). */
9
- export declare const StepConnector: ({ lineColor, style, fromLocalId, toLocalId, }: Readonly<StepConnectorProps>) => import("react/jsx-runtime").JSX.Element;
9
+ export declare const StepConnector: ({ lineColor, style, fromId, toId, }: Readonly<StepConnectorProps>) => import("react/jsx-runtime").JSX.Element;
10
10
  //# sourceMappingURL=StepConnector.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"StepConnector.d.ts","sourceRoot":"","sources":["../../../src/components/process-debugger-diagram/StepConnector.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAI1C,MAAM,MAAM,kBAAkB,GAAG;IAC/B,SAAS,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,aAAa,CAAA;IACrB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,6FAA6F;AAC7F,eAAO,MAAM,aAAa,GAAI,+CAK3B,QAAQ,CAAC,kBAAkB,CAAC,4CAsB9B,CAAA"}
1
+ {"version":3,"file":"StepConnector.d.ts","sourceRoot":"","sources":["../../../src/components/process-debugger-diagram/StepConnector.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAI1C,MAAM,MAAM,kBAAkB,GAAG;IAC/B,SAAS,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,aAAa,CAAA;IACrB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,IAAI,CAAC,EAAE,MAAM,CAAA;CACd,CAAA;AAED,6FAA6F;AAC7F,eAAO,MAAM,aAAa,GAAI,qCAK3B,QAAQ,CAAC,kBAAkB,CAAC,4CAsB9B,CAAA"}
@@ -3,7 +3,7 @@ import type { PropsWithClassName } from '../../helpers/props';
3
3
  import { type MenuItem } from '../menu';
4
4
  import type { StepStatus } from '../../types';
5
5
  export interface Props extends PropsWithClassName {
6
- localId: string;
6
+ id: string;
7
7
  idx: number;
8
8
  isSet?: boolean;
9
9
  isSelected?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"Step.d.ts","sourceRoot":"","sources":["../../../src/components/step/Step.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAiB,SAAS,EAAE,MAAM,OAAO,CAAA;AACrD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MA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A;AAO7C,MAAM,WAAW,KAAM,SAAQ,kBAAkB;IAC/C,EAAE,EAAE,MAAM,CAAA;IACV,GAAG,EAAE,MAAM,CAAA;IACX,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,MAAM,CAAC,EAAE,UAAU,CAAA;IACnB,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE,SAAS,CAAA;IACf,gBAAgB,CAAC,EAAE,QAAQ,EAAE,CAAA;IAC7B,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;IAClC,YAAY,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;IACnC,cAAc,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;IACrC,eAAe,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;CACtC;AAED,QAAA,MAAM,IAAI,GAAI,OAAO,KAAK,4CAsLzB,CAAA;AAED,eAAe,IAAI,CAAA"}
@@ -0,0 +1,5 @@
1
+ declare const IfStatement: ({ expression }: Readonly<{
2
+ expression: string;
3
+ }>) => import("react/jsx-runtime").JSX.Element;
4
+ export default IfStatement;
5
+ //# sourceMappingURL=IfStatement.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IfStatement.d.ts","sourceRoot":"","sources":["../../../src/components/triggers/IfStatement.tsx"],"names":[],"mappings":"AAMA,QAAA,MAAM,WAAW,GAAI,gBAAgB,QAAQ,CAAC;IAAE,UAAU,EAAE,MAAM,CAAA;CAAE,CAAC,4CAgBpE,CAAA;AAED,eAAe,WAAW,CAAA"}
@@ -1,4 +1,4 @@
1
1
  import type { Process } from '../types';
2
2
  import type { ProcessDebuggerLineColors } from './debuggerStatus.helpers';
3
- export declare const getDebuggerConnectorStrokeColor: (process: Process, lineColors: ProcessDebuggerLineColors, fromLocalId?: string, toLocalId?: string) => string;
3
+ export declare const getDebuggerConnectorStrokeColor: (process: Process, lineColors: ProcessDebuggerLineColors, fromId?: string, toId?: string) => string;
4
4
  //# sourceMappingURL=debuggerConnector.helpers.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"debuggerConnector.helpers.d.ts","sourceRoot":"","sources":["../../src/helpers/debuggerConnector.helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA;AACvC,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAA;AAOzE,eAAO,MAAM,+BAA+B,GAC1C,SAAS,OAAO,EAChB,YAAY,yBAAyB,EACrC,cAAc,MAAM,EACpB,YAAY,MAAM,KACjB,MAqCF,CAAA"}
1
+ {"version":3,"file":"debuggerConnector.helpers.d.ts","sourceRoot":"","sources":["../../src/helpers/debuggerConnector.helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA;AACvC,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAA;AAOzE,eAAO,MAAM,+BAA+B,GAC1C,SAAS,OAAO,EAChB,YAAY,yBAAyB,EACrC,SAAS,MAAM,EACf,OAAO,MAAM,KACZ,MAqCF,CAAA"}
@@ -1,18 +1,18 @@
1
1
  import type { Process, StepStatus } from '../types';
2
- export declare const isImmediatelyAfterInProcess: (process: Process, fromLocalId: string, toLocalId: string) => boolean;
3
- export declare const getStatusByLocalId: (process: Process, localId: string) => StepStatus | undefined;
2
+ export declare const isImmediatelyAfterInProcess: (process: Process, fromId: string, toId: string) => boolean;
3
+ export declare const getStatusById: (process: Process, id: string) => StepStatus | undefined;
4
4
  /**
5
5
  * Whether the segment between two nodes should use the “finished” green styling:
6
- * both ends have status `finished`, and `toLocalId` is the immediate next sibling
7
- * after `fromLocalId` in the same `steps` array (root flow, loop body, or path branch).
6
+ * both ends have status `finished`, and `toId` is the immediate next sibling
7
+ * after `fromId` in the same `steps` array (root flow, loop body, or path branch).
8
8
  */
9
- export declare const shouldFinishedSequentialLineBeGreen: (process: Process, fromLocalId: string, toLocalId: string) => boolean;
9
+ export declare const shouldFinishedSequentialLineBeGreen: (process: Process, fromId: string, toId: string) => boolean;
10
10
  /**
11
11
  * Condition → first-step connector rule:
12
- * If `fromLocalId` is a `Path` (condition node) and the immediate next step
13
- * (`toLocalId`) is `finished`, then draw the green connector.
12
+ * If `fromId` is a `Path` (condition node) and the immediate next step
13
+ * (`toId`) is `finished`, then draw the green connector.
14
14
  *
15
15
  * The condition node itself does not need to be `finished`.
16
16
  */
17
- export declare const shouldGreenForConditionToFirstFinishedStep: (process: Process, fromLocalId: string, toLocalId: string) => boolean;
17
+ export declare const shouldGreenForConditionToFirstFinishedStep: (process: Process, fromId: string, toId: string) => boolean;
18
18
  //# sourceMappingURL=finishedSequentialLine.helpers.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"finishedSequentialLine.helpers.d.ts","sourceRoot":"","sources":["../../src/helpers/finishedSequentialLine.helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAkB,OAAO,EAAQ,UAAU,EAAE,MAAM,UAAU,CAAA;AAIzE,eAAO,MAAM,2BAA2B,GACtC,SAAS,OAAO,EAChB,aAAa,MAAM,EACnB,WAAW,MAAM,KAChB,OAyHF,CAAA;AAuCD,eAAO,MAAM,kBAAkB,GAC7B,SAAS,OAAO,EAChB,SAAS,MAAM,KACd,UAAU,GAAG,SASf,CAAA;AAyCD;;;;GAIG;AACH,eAAO,MAAM,mCAAmC,GAC9C,SAAS,OAAO,EAChB,aAAa,MAAM,EACnB,WAAW,MAAM,KAChB,OAMF,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,0CAA0C,GACrD,SAAS,OAAO,EAChB,aAAa,MAAM,EACnB,WAAW,MAAM,KAChB,OAKF,CAAA"}
1
+ {"version":3,"file":"finishedSequentialLine.helpers.d.ts","sourceRoot":"","sources":["../../src/helpers/finishedSequentialLine.helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAkB,OAAO,EAAQ,UAAU,EAAE,MAAM,UAAU,CAAA;AAIzE,eAAO,MAAM,2BAA2B,GACtC,SAAS,OAAO,EAChB,QAAQ,MAAM,EACd,MAAM,MAAM,KACX,OAyHF,CAAA;AAuCD,eAAO,MAAM,aAAa,GACxB,SAAS,OAAO,EAChB,IAAI,MAAM,KACT,UAAU,GAAG,SASf,CAAA;AAyCD;;;;GAIG;AACH,eAAO,MAAM,mCAAmC,GAC9C,SAAS,OAAO,EAChB,QAAQ,MAAM,EACd,MAAM,MAAM,KACX,OAMF,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,0CAA0C,GACrD,SAAS,OAAO,EAChB,QAAQ,MAAM,EACd,MAAM,MAAM,KACX,OAKF,CAAA"}
@@ -1,8 +1,8 @@
1
1
  import type { Iterator, Path, Step } from '../types';
2
2
  type StepLike = Step | Iterator;
3
3
  type RowNode = Path | Step | Iterator;
4
- export declare const getLastLeafLocalIdFromPath: (path: Path) => string;
5
- export declare const getLastLeafLocalIdFromStepLike: (node: StepLike) => string;
6
- export declare const getLastLeafLocalIdFromRowNode: (node: RowNode) => string;
4
+ export declare const getLastLeafIdFromPath: (path: Path) => string;
5
+ export declare const getLastLeafIdFromStepLike: (node: StepLike) => string;
6
+ export declare const getLastLeafIdFromRowNode: (node: RowNode) => string;
7
7
  export {};
8
8
  //# sourceMappingURL=processGraph.helpers.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"processGraph.helpers.d.ts","sourceRoot":"","sources":["../../src/helpers/processGraph.helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,UAAU,CAAA;AAEpD,KAAK,QAAQ,GAAG,IAAI,GAAG,QAAQ,CAAA;AAC/B,KAAK,OAAO,GAAG,IAAI,GAAG,IAAI,GAAG,QAAQ,CAAA;AAErC,eAAO,MAAM,0BAA0B,GAAI,MAAM,IAAI,KAAG,MAUvD,CAAA;AAED,eAAO,MAAM,8BAA8B,GACzC,MAAM,QAAQ,KACb,MAUF,CAAA;AAED,eAAO,MAAM,6BAA6B,GAAI,MAAM,OAAO,KAAG,MAU7D,CAAA"}
1
+ {"version":3,"file":"processGraph.helpers.d.ts","sourceRoot":"","sources":["../../src/helpers/processGraph.helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,UAAU,CAAA;AAEpD,KAAK,QAAQ,GAAG,IAAI,GAAG,QAAQ,CAAA;AAC/B,KAAK,OAAO,GAAG,IAAI,GAAG,IAAI,GAAG,QAAQ,CAAA;AAErC,eAAO,MAAM,qBAAqB,GAAI,MAAM,IAAI,KAAG,MAUlD,CAAA;AAED,eAAO,MAAM,yBAAyB,GACpC,MAAM,QAAQ,KACb,MAUF,CAAA;AAED,eAAO,MAAM,wBAAwB,GAAI,MAAM,OAAO,KAAG,MAUxD,CAAA"}