@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.
- package/dist/App.d.ts.map +1 -1
- package/dist/Condition.d.ts +6 -0
- package/dist/Condition.d.ts.map +1 -0
- package/dist/Curve.d.ts +6 -0
- package/dist/Curve.d.ts.map +1 -0
- package/dist/Item.d.ts +7 -0
- package/dist/Item.d.ts.map +1 -0
- package/dist/Items.d.ts +6 -0
- package/dist/Items.d.ts.map +1 -0
- package/dist/Row.d.ts +6 -0
- package/dist/Row.d.ts.map +1 -0
- package/dist/Steps.d.ts +13 -0
- package/dist/Steps.d.ts.map +1 -0
- package/dist/components/curve/Curve.d.ts +3 -3
- package/dist/components/curve/Curve.d.ts.map +1 -1
- package/dist/components/iterator/Iterator.d.ts +2 -2
- package/dist/components/iterator/Iterator.d.ts.map +1 -1
- package/dist/components/process-debugger-diagram/DebuggerIterator.d.ts +4 -4
- package/dist/components/process-debugger-diagram/DebuggerIterator.d.ts.map +1 -1
- package/dist/components/process-debugger-diagram/DebuggerRow.d.ts +2 -2
- package/dist/components/process-debugger-diagram/DebuggerRow.d.ts.map +1 -1
- package/dist/components/process-debugger-diagram/DebuggerSteps.d.ts +3 -3
- package/dist/components/process-debugger-diagram/DebuggerSteps.d.ts.map +1 -1
- package/dist/components/process-debugger-diagram/StepConnector.d.ts +3 -3
- package/dist/components/process-debugger-diagram/StepConnector.d.ts.map +1 -1
- package/dist/components/step/Step.d.ts +1 -1
- package/dist/components/step/Step.d.ts.map +1 -1
- package/dist/components/triggers/IfStatement.d.ts +5 -0
- package/dist/components/triggers/IfStatement.d.ts.map +1 -0
- package/dist/helpers/debuggerConnector.helpers.d.ts +1 -1
- package/dist/helpers/debuggerConnector.helpers.d.ts.map +1 -1
- package/dist/helpers/finishedSequentialLine.helpers.d.ts +8 -8
- package/dist/helpers/finishedSequentialLine.helpers.d.ts.map +1 -1
- package/dist/helpers/processGraph.helpers.d.ts +3 -3
- package/dist/helpers/processGraph.helpers.d.ts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +563 -563
- package/dist/index.mjs.map +1 -1
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.d.ts.map +1 -1
- package/dist/utils.d.ts +16 -0
- package/dist/utils.d.ts.map +1 -0
- package/package.json +1 -1
- /package/dist/components/{menu → Menu}/Menu.d.ts +0 -0
- /package/dist/components/{menu → Menu}/Menu.d.ts.map +0 -0
- /package/dist/components/{menu → Menu}/Separator.d.ts +0 -0
- /package/dist/components/{menu → Menu}/Separator.d.ts.map +0 -0
- /package/dist/components/{menu → Menu}/index.d.ts +0 -0
- /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,+
|
|
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 @@
|
|
|
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"}
|
package/dist/Curve.d.ts
ADDED
|
@@ -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 @@
|
|
|
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"}
|
package/dist/Items.d.ts
ADDED
|
@@ -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 @@
|
|
|
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"}
|
package/dist/Steps.d.ts
ADDED
|
@@ -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,
|
|
1
|
+
declare const Curve: ({ width, height, strokeColor, fromId, toId, }: Readonly<{
|
|
2
2
|
width: number;
|
|
3
3
|
height: number;
|
|
4
4
|
strokeColor?: string;
|
|
5
|
-
|
|
6
|
-
|
|
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,
|
|
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
|
|
5
|
-
value: Pick<IteratorType, '
|
|
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,
|
|
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,yDAAyD;IACzD,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,SAAS,CAAC,EAAE,CACV,EAAE,CAAC,EAAE,MAAM,EACX,MAAM,CAAC,EAAE,MAAM,EACf,SAAS,CAAC,EAAE,gBAAgB,KACzB,IAAI,CAAA;IACT,YAAY,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,WAAW,KAAK,IAAI,CAAA;IAC9E,cAAc,CAAC,EAAE,CACf,MAAM,CAAC,EAAE,MAAM,EACf,MAAM,CAAC,EAAE,MAAM,EACf,SAAS,CAAC,EAAE,gBAAgB,KACzB,IAAI,CAAA;IACT,SAAS,CAAC,EAAE,CACV,MAAM,CAAC,EAAE,MAAM,EACf,MAAM,CAAC,EAAE,MAAM,EACf,SAAS,CAAC,EAAE,gBAAgB,KACzB,IAAI,CAAA;IACT,YAAY,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;IACnC,cAAc,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;IACrC,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,iBAAiB,GAAI,uIAWxB,QAAQ,CAAC,aAAa,CAAC,4CA6GzB,CAAA;AAED,eAAe,iBAAiB,CAAA"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type { Iterator as IteratorType } from '../../types';
|
|
2
2
|
export interface DebuggerIteratorProps {
|
|
3
|
-
value: Pick<IteratorType, '
|
|
4
|
-
|
|
5
|
-
|
|
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,
|
|
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,
|
|
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
|
-
|
|
6
|
-
|
|
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,
|
|
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
|
-
|
|
7
|
-
|
|
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,
|
|
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,
|
|
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
|
-
|
|
6
|
-
|
|
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,
|
|
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,
|
|
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
|
-
|
|
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,MAAM,qBAAqB,CAAA;AAG7D,OAAO,EAAQ,KAAK,QAAQ,EAAgB,MAAM,SAAS,CAAA;AAK3D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AAO7C,MAAM,WAAW,KAAM,SAAQ,kBAAkB;IAC/C,
|
|
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,MAAM,qBAAqB,CAAA;AAG7D,OAAO,EAAQ,KAAK,QAAQ,EAAgB,MAAM,SAAS,CAAA;AAK3D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;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 @@
|
|
|
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,
|
|
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,
|
|
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,
|
|
3
|
-
export declare const
|
|
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 `
|
|
7
|
-
* after `
|
|
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,
|
|
9
|
+
export declare const shouldFinishedSequentialLineBeGreen: (process: Process, fromId: string, toId: string) => boolean;
|
|
10
10
|
/**
|
|
11
11
|
* Condition → first-step connector rule:
|
|
12
|
-
* If `
|
|
13
|
-
* (`
|
|
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,
|
|
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,
|
|
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
|
|
5
|
-
export declare const
|
|
6
|
-
export declare const
|
|
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,
|
|
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"}
|