@emporix/process-diagram 2.0.0-beta.16 → 2.0.0-beta.18
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/components/common/AlertIcon.d.ts.map +1 -1
- package/dist/components/common/Line.d.ts +2 -1
- package/dist/components/common/Line.d.ts.map +1 -1
- package/dist/components/common/icons/ConditionIcon.d.ts.map +1 -1
- package/dist/components/common/icons/IteratorIcon.d.ts.map +1 -1
- package/dist/components/common/icons/LoopIcon.d.ts.map +1 -1
- package/dist/components/common/icons/MenuFilterIcon.d.ts.map +1 -1
- package/dist/components/condition/Condition.d.ts +4 -1
- package/dist/components/condition/Condition.d.ts.map +1 -1
- package/dist/components/curve/Curve.d.ts +4 -1
- package/dist/components/curve/Curve.d.ts.map +1 -1
- package/dist/components/if-statement/IfStatement.d.ts +3 -0
- package/dist/components/if-statement/IfStatement.d.ts.map +1 -1
- package/dist/components/iterator/Iterator.d.ts +1 -1
- package/dist/components/iterator/Iterator.d.ts.map +1 -1
- package/dist/components/menu/Separator.d.ts.map +1 -1
- package/dist/components/plus-button/PlusButton.d.ts +2 -1
- package/dist/components/plus-button/PlusButton.d.ts.map +1 -1
- package/dist/components/plus-button/PlusIcon.d.ts.map +1 -1
- package/dist/components/process-debugger-diagram/DebuggerIterator.d.ts +11 -0
- package/dist/components/process-debugger-diagram/DebuggerIterator.d.ts.map +1 -0
- package/dist/components/process-debugger-diagram/DebuggerRow.d.ts +12 -0
- package/dist/components/process-debugger-diagram/DebuggerRow.d.ts.map +1 -0
- package/dist/components/process-debugger-diagram/DebuggerSteps.d.ts +16 -0
- package/dist/components/process-debugger-diagram/DebuggerSteps.d.ts.map +1 -0
- package/dist/components/process-debugger-diagram/ProcessDebuggerContext.d.ts +10 -0
- package/dist/components/process-debugger-diagram/ProcessDebuggerContext.d.ts.map +1 -0
- package/dist/components/process-debugger-diagram/ProcessDebuggerDiagram.d.ts +13 -0
- package/dist/components/process-debugger-diagram/ProcessDebuggerDiagram.d.ts.map +1 -0
- package/dist/components/process-debugger-diagram/StepConnector.d.ts +10 -0
- package/dist/components/process-debugger-diagram/StepConnector.d.ts.map +1 -0
- package/dist/components/processDiagram.storyFixtures.d.ts +19 -0
- package/dist/components/processDiagram.storyFixtures.d.ts.map +1 -0
- package/dist/components/row/Row.d.ts.map +1 -1
- package/dist/components/step/Step.d.ts +3 -0
- package/dist/components/step/Step.d.ts.map +1 -1
- package/dist/components/steps/Steps.d.ts.map +1 -1
- package/dist/components/triggers/AddTriggerIcon.d.ts.map +1 -1
- package/dist/components/triggers/Trigger.d.ts +5 -2
- package/dist/components/triggers/Trigger.d.ts.map +1 -1
- package/dist/constants/colors.d.ts +23 -0
- package/dist/constants/colors.d.ts.map +1 -0
- package/dist/helpers/debuggerConnector.helpers.d.ts +4 -0
- package/dist/helpers/debuggerConnector.helpers.d.ts.map +1 -0
- package/dist/helpers/debuggerStatus.helpers.d.ts +15 -0
- package/dist/helpers/debuggerStatus.helpers.d.ts.map +1 -0
- package/dist/helpers/finishedSequentialLine.helpers.d.ts +18 -0
- package/dist/helpers/finishedSequentialLine.helpers.d.ts.map +1 -0
- package/dist/helpers/processGraph.helpers.d.ts +8 -0
- package/dist/helpers/processGraph.helpers.d.ts.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +1887 -953
- package/dist/index.mjs.map +1 -1
- package/dist/setupTests.d.ts +1 -1
- package/dist/setupTests.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/types/index.d.ts +14 -0
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/App.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../src/App.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../src/App.tsx"],"names":[],"mappings":"AAWA,OAAO,mBAAmB,CAAA;AAG1B,QAAA,MAAM,GAAG,+CA+ZR,CAAA;AAED,eAAe,GAAG,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AlertIcon.d.ts","sourceRoot":"","sources":["../../../src/components/common/AlertIcon.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AlertIcon.d.ts","sourceRoot":"","sources":["../../../src/components/common/AlertIcon.tsx"],"names":[],"mappings":"AAGA,UAAU,cAAc;IACtB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,QAAA,MAAM,SAAS,GAAI,WAA8B,cAAc,4CAsB9D,CAAA;AAED,eAAe,SAAS,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Line.d.ts","sourceRoot":"","sources":["../../../src/components/common/Line.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Line.d.ts","sourceRoot":"","sources":["../../../src/components/common/Line.tsx"],"names":[],"mappings":"AAEA,QAAA,MAAM,IAAI,GAAI,mBAGX,QAAQ,CAAC;IAAE,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,4CAW3D,CAAA;AAED,eAAe,IAAI,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConditionIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/common/icons/ConditionIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"ConditionIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/common/icons/ConditionIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,UAAU,kBAAkB;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CA6B/C,CAAA;AAED,eAAe,aAAa,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IteratorIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/common/icons/IteratorIcon.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"IteratorIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/common/icons/IteratorIcon.tsx"],"names":[],"mappings":"AAEA,QAAA,MAAM,YAAY,+CAqBjB,CAAA;AAED,eAAe,YAAY,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LoopIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/common/icons/LoopIcon.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"LoopIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/common/icons/LoopIcon.tsx"],"names":[],"mappings":"AAEA,UAAU,aAAa;IACrB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,QAAA,MAAM,QAAQ,GAAI,2BAIf,aAAa,4CAmBf,CAAA;AAED,eAAe,QAAQ,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MenuFilterIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/common/icons/MenuFilterIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"MenuFilterIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/common/icons/MenuFilterIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,UAAU,mBAAmB;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAuBjD,CAAA;AAED,eAAe,cAAc,CAAA"}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
import type { StepStatus } from '../../types';
|
|
2
|
+
declare const Condition: ({ expression, style, status, debuggerMode, }: Readonly<{
|
|
2
3
|
expression: string;
|
|
3
4
|
style?: React.CSSProperties;
|
|
5
|
+
status?: StepStatus;
|
|
6
|
+
debuggerMode?: boolean;
|
|
4
7
|
}>) => import("react/jsx-runtime").JSX.Element;
|
|
5
8
|
export default Condition;
|
|
6
9
|
//# sourceMappingURL=Condition.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Condition.d.ts","sourceRoot":"","sources":["../../../src/components/condition/Condition.tsx"],"names":[],"mappings":"AAIA,QAAA,MAAM,SAAS,GAAI,
|
|
1
|
+
{"version":3,"file":"Condition.d.ts","sourceRoot":"","sources":["../../../src/components/condition/Condition.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AAG7C,QAAA,MAAM,SAAS,GAAI,8CAKhB,QAAQ,CAAC;IACV,UAAU,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAA;IAC3B,MAAM,CAAC,EAAE,UAAU,CAAA;IACnB,YAAY,CAAC,EAAE,OAAO,CAAA;CACvB,CAAC,4CAgDD,CAAA;AAED,eAAe,SAAS,CAAA"}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
declare const Curve: ({ width, height, }: Readonly<{
|
|
1
|
+
declare const Curve: ({ width, height, strokeColor, fromLocalId, toLocalId, }: Readonly<{
|
|
2
2
|
width: number;
|
|
3
3
|
height: number;
|
|
4
|
+
strokeColor?: string;
|
|
5
|
+
fromLocalId?: string;
|
|
6
|
+
toLocalId?: string;
|
|
4
7
|
}>) => import("react/jsx-runtime").JSX.Element;
|
|
5
8
|
export default Curve;
|
|
6
9
|
//# sourceMappingURL=Curve.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Curve.d.ts","sourceRoot":"","sources":["../../../src/components/curve/Curve.tsx"],"names":[],"mappings":"
|
|
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,7 +1,10 @@
|
|
|
1
|
+
import type { StepStatus } from '../../types';
|
|
1
2
|
export interface IfStatementProps {
|
|
2
3
|
onDelete?: () => void;
|
|
3
4
|
onSelect?: () => void;
|
|
4
5
|
enabled?: boolean;
|
|
6
|
+
debuggerMode?: boolean;
|
|
7
|
+
status?: StepStatus;
|
|
5
8
|
}
|
|
6
9
|
declare const IfStatement: (props: Readonly<IfStatementProps>) => import("react/jsx-runtime").JSX.Element;
|
|
7
10
|
export default IfStatement;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IfStatement.d.ts","sourceRoot":"","sources":["../../../src/components/if-statement/IfStatement.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"IfStatement.d.ts","sourceRoot":"","sources":["../../../src/components/if-statement/IfStatement.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AAI7C,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;IACrB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;IACrB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,MAAM,CAAC,EAAE,UAAU,CAAA;CACpB;AAED,QAAA,MAAM,WAAW,GAAI,OAAO,QAAQ,CAAC,gBAAgB,CAAC,4CA8ErD,CAAA;AAED,eAAe,WAAW,CAAA"}
|
|
@@ -2,7 +2,7 @@ import type { Iterator as IteratorType } from '../../types';
|
|
|
2
2
|
import type { AddStepOperation, AddStepType } from '../../helpers/add-process.helpers';
|
|
3
3
|
export interface IteratorProps {
|
|
4
4
|
/** Iterator data: must include localId; limit is optional. */
|
|
5
|
-
value: Pick<IteratorType, 'localId'> & Partial<Pick<IteratorType, 'limit' | 'steps' | 'condition'>>;
|
|
5
|
+
value: Pick<IteratorType, 'localId'> & Partial<Pick<IteratorType, 'limit' | 'steps' | 'condition' | 'status'>>;
|
|
6
6
|
iteratorEnabled?: boolean;
|
|
7
7
|
conditionsEnabled?: boolean;
|
|
8
8
|
onAddStep?: (id?: 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;
|
|
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,GAClC,OAAO,CAAC,IAAI,CAAC,YAAY,EAAE,OAAO,GAAG,OAAO,GAAG,WAAW,GAAG,QAAQ,CAAC,CAAC,CAAA;IACzE,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,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;CACtB;AAED,QAAA,MAAM,iBAAiB,GAAI,0JAYxB,QAAQ,CAAC,aAAa,CAAC,4CAwGzB,CAAA;AAED,eAAe,iBAAiB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Separator.d.ts","sourceRoot":"","sources":["../../../src/components/menu/Separator.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Separator.d.ts","sourceRoot":"","sources":["../../../src/components/menu/Separator.tsx"],"names":[],"mappings":"AAIA,QAAA,MAAM,SAAS,+CAWd,CAAA;AAED,eAAe,SAAS,CAAA"}
|
|
@@ -3,6 +3,7 @@ export interface PlusButtonProps {
|
|
|
3
3
|
style?: React.CSSProperties;
|
|
4
4
|
iteratorEnabled?: boolean;
|
|
5
5
|
conditionsEnabled?: boolean;
|
|
6
|
+
lineColor?: string;
|
|
6
7
|
onAddStep?: (id?: string, pathId?: string, operation?: AddStepOperation) => void;
|
|
7
8
|
onAddTrigger?: (id?: string, pathId?: string, operation?: AddStepType) => void;
|
|
8
9
|
onAddCondition?: (stepId?: string, pathId?: string, operation?: AddStepOperation) => void;
|
|
@@ -11,6 +12,6 @@ export interface PlusButtonProps {
|
|
|
11
12
|
index?: number;
|
|
12
13
|
pathId?: string;
|
|
13
14
|
}
|
|
14
|
-
declare const PlusButton: ({ onAddStep, onAddTrigger, onAddCondition, onAddLoop, iteratorEnabled, conditionsEnabled, stepId, index, style, pathId, }: PlusButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
declare const PlusButton: ({ onAddStep, onAddTrigger, onAddCondition, onAddLoop, iteratorEnabled, conditionsEnabled, lineColor, stepId, index, style, pathId, }: PlusButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
16
|
export default PlusButton;
|
|
16
17
|
//# sourceMappingURL=PlusButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlusButton.d.ts","sourceRoot":"","sources":["../../../src/components/plus-button/PlusButton.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PlusButton.d.ts","sourceRoot":"","sources":["../../../src/components/plus-button/PlusButton.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EACV,gBAAgB,EAChB,WAAW,EACZ,MAAM,mCAAmC,CAAA;AAE1C,MAAM,WAAW,eAAe;IAC9B,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAA;IAC3B,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,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,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,QAAA,MAAM,UAAU,GAAI,sIAYjB,eAAe,4CA0EjB,CAAA;AAED,eAAe,UAAU,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlusIcon.d.ts","sourceRoot":"","sources":["../../../src/components/plus-button/PlusIcon.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PlusIcon.d.ts","sourceRoot":"","sources":["../../../src/components/plus-button/PlusIcon.tsx"],"names":[],"mappings":"AAGA,QAAA,MAAM,QAAQ,+CAuBb,CAAA;AAED,eAAe,QAAQ,CAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Iterator as IteratorType } from '../../types';
|
|
2
|
+
export interface DebuggerIteratorProps {
|
|
3
|
+
value: Pick<IteratorType, 'localId'> & Partial<Pick<IteratorType, 'limit' | 'steps' | 'condition' | 'status'>>;
|
|
4
|
+
previousLocalId?: string;
|
|
5
|
+
nextLocalId?: string;
|
|
6
|
+
onSelectStep?: (id: string) => void;
|
|
7
|
+
onResize?: () => void;
|
|
8
|
+
}
|
|
9
|
+
declare const DebuggerIterator: ({ value, previousLocalId, nextLocalId, onSelectStep: _onSelectStep, onResize, }: Readonly<DebuggerIteratorProps>) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export default DebuggerIterator;
|
|
11
|
+
//# sourceMappingURL=DebuggerIterator.d.ts.map
|
|
@@ -0,0 +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;CACtB;AAED,QAAA,MAAM,gBAAgB,GAAI,iFAMvB,QAAQ,CAAC,qBAAqB,CAAC,4CA0FjC,CAAA;AAED,eAAe,gBAAgB,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { Path, Step } from '../../types';
|
|
2
|
+
interface Props {
|
|
3
|
+
items: Path[] | Step[];
|
|
4
|
+
pathId?: string;
|
|
5
|
+
previousLocalId?: string;
|
|
6
|
+
nextLocalId?: string;
|
|
7
|
+
onSelectStep: (id: string) => void;
|
|
8
|
+
onResize?: () => void;
|
|
9
|
+
}
|
|
10
|
+
declare const DebuggerRow: (props: Readonly<Props>) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export default DebuggerRow;
|
|
12
|
+
//# sourceMappingURL=DebuggerRow.d.ts.map
|
|
@@ -0,0 +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;CACtB;AAED,QAAA,MAAM,WAAW,GAAI,OAAO,QAAQ,CAAC,KAAK,CAAC,4CA4R1C,CAAA;AAED,eAAe,WAAW,CAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { PropsWithClassName } from '../../helpers/props';
|
|
2
|
+
import type { Step } from '../../types';
|
|
3
|
+
interface Props extends PropsWithClassName {
|
|
4
|
+
steps: Step[];
|
|
5
|
+
centerY?: number;
|
|
6
|
+
previousLocalId?: string;
|
|
7
|
+
nextLocalId?: string;
|
|
8
|
+
onSelectStep: (id: string) => void;
|
|
9
|
+
onResize?: () => void;
|
|
10
|
+
isDescendent?: boolean;
|
|
11
|
+
pathId?: string;
|
|
12
|
+
}
|
|
13
|
+
export declare const STEP_ROW_HEIGHT = 68;
|
|
14
|
+
declare const DebuggerSteps: ({ pathId, steps, centerY, className, previousLocalId, nextLocalId, onSelectStep, onResize, isDescendent, }: Readonly<Props>) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export default DebuggerSteps;
|
|
16
|
+
//# sourceMappingURL=DebuggerSteps.d.ts.map
|
|
@@ -0,0 +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;CAChB;AAED,eAAO,MAAM,eAAe,KAAK,CAAA;AAmBjC,QAAA,MAAM,aAAa,GAAI,4GAUpB,QAAQ,CAAC,KAAK,CAAC,4CAiMjB,CAAA;AAED,eAAe,aAAa,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { Process } from '../../types';
|
|
2
|
+
import type { ProcessDebuggerLineColors } from '../../helpers/debuggerStatus.helpers';
|
|
3
|
+
type ProcessDebuggerContextValue = {
|
|
4
|
+
process: Process;
|
|
5
|
+
lineColors: ProcessDebuggerLineColors;
|
|
6
|
+
};
|
|
7
|
+
export declare const ProcessDebuggerProvider: import("react").Provider<ProcessDebuggerContextValue | null>;
|
|
8
|
+
export declare const useProcessDebuggerContext: () => ProcessDebuggerContextValue;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=ProcessDebuggerContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProcessDebuggerContext.d.ts","sourceRoot":"","sources":["../../../src/components/process-debugger-diagram/ProcessDebuggerContext.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAC1C,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,sCAAsC,CAAA;AAErF,KAAK,2BAA2B,GAAG;IACjC,OAAO,EAAE,OAAO,CAAA;IAChB,UAAU,EAAE,yBAAyB,CAAA;CACtC,CAAA;AAMD,eAAO,MAAM,uBAAuB,8DAAkC,CAAA;AAGtE,eAAO,MAAM,yBAAyB,QAAO,2BAQ5C,CAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { Process, StepStatus } from '../../types';
|
|
2
|
+
export interface ProcessDebuggerDiagramProps {
|
|
3
|
+
process: Process;
|
|
4
|
+
/** Override stroke colors for specific step statuses (defaults from STEP_STATUS_COLORS). */
|
|
5
|
+
statusLineColors?: Partial<Record<StepStatus, string>>;
|
|
6
|
+
/** Line color when a segment has no status (default NAVY). */
|
|
7
|
+
neutralLineColor?: string;
|
|
8
|
+
onResize?: () => void;
|
|
9
|
+
onSelectStep: (id: string) => unknown;
|
|
10
|
+
}
|
|
11
|
+
declare const ProcessDebuggerDiagram: ({ process, statusLineColors, neutralLineColor, onResize, onSelectStep, }: Readonly<ProcessDebuggerDiagramProps>) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export default ProcessDebuggerDiagram;
|
|
13
|
+
//# sourceMappingURL=ProcessDebuggerDiagram.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProcessDebuggerDiagram.d.ts","sourceRoot":"","sources":["../../../src/components/process-debugger-diagram/ProcessDebuggerDiagram.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AAUtD,MAAM,WAAW,2BAA2B;IAC1C,OAAO,EAAE,OAAO,CAAA;IAChB,4FAA4F;IAC5F,gBAAgB,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC,CAAA;IACtD,8DAA8D;IAC9D,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;IACrB,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,OAAO,CAAA;CACtC;AA4CD,QAAA,MAAM,sBAAsB,GAAI,0EAM7B,QAAQ,CAAC,2BAA2B,CAAC,4CAqCvC,CAAA;AAED,eAAe,sBAAsB,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { CSSProperties } from 'react';
|
|
2
|
+
export type StepConnectorProps = {
|
|
3
|
+
lineColor: string;
|
|
4
|
+
style?: CSSProperties;
|
|
5
|
+
fromLocalId?: string;
|
|
6
|
+
toLocalId?: string;
|
|
7
|
+
};
|
|
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;
|
|
10
|
+
//# sourceMappingURL=StepConnector.d.ts.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { Process } from '../types';
|
|
2
|
+
export declare const oneTriggerMultipleSteps: Process;
|
|
3
|
+
export declare const multipleTriggersMultipleSteps: Process;
|
|
4
|
+
export declare const multipleTriggersOneStep: Process;
|
|
5
|
+
export declare const oneTriggerOneStep: Process;
|
|
6
|
+
export declare const oneTriggerNoSteps: Process;
|
|
7
|
+
/** One trigger and a linear sequence plus a 3-way branch to exercise all StepStatus line/chip colors in debugger mode. */
|
|
8
|
+
export declare const mixedStepStatusesProcess: Process;
|
|
9
|
+
export declare const multipleTriggersNoSteps: Process;
|
|
10
|
+
export declare const multipleTriggersStepsWithPaths: Process;
|
|
11
|
+
export declare const oneTriggerWithIteratorEmpty: Process;
|
|
12
|
+
export declare const oneTriggerWithIteratorAndSteps: Process;
|
|
13
|
+
export declare const oneTriggerIteratorThenStepThenIterator: Process;
|
|
14
|
+
export declare const purchaseOrderProcess: Process;
|
|
15
|
+
export declare const multipleTriggersNestedPaths: Process;
|
|
16
|
+
export declare const multipleTriggersComplexNestedPaths: Process;
|
|
17
|
+
export declare const oneTriggerSevenPaths: Process;
|
|
18
|
+
export declare const complexProcess: Process;
|
|
19
|
+
//# sourceMappingURL=processDiagram.storyFixtures.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"processDiagram.storyFixtures.d.ts","sourceRoot":"","sources":["../../src/components/processDiagram.storyFixtures.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA;AAKvC,eAAO,MAAM,uBAAuB,EAAE,OAgDrC,CAAA;AAED,eAAO,MAAM,6BAA6B,EAAE,OAW3C,CAAA;AAED,eAAO,MAAM,uBAAuB,EAAE,OAQrC,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,OAO/B,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,OAK/B,CAAA;AAED,0HAA0H;AAC1H,eAAO,MAAM,wBAAwB,EAAE,OAqHtC,CAAA;AAED,eAAO,MAAM,uBAAuB,EAAE,OAMrC,CAAA;AAED,eAAO,MAAM,8BAA8B,EAAE,OAyB5C,CAAA;AAED,eAAO,MAAM,2BAA2B,EAAE,OAazC,CAAA;AAED,eAAO,MAAM,8BAA8B,EAAE,OAwB5C,CAAA;AAED,eAAO,MAAM,sCAAsC,EAAE,OA+BpD,CAAA;AAED,eAAO,MAAM,oBAAoB,EAAE,OA4LlC,CAAA;AACD,eAAO,MAAM,2BAA2B,EAAE,OA8GzC,CAAA;AACD,eAAO,MAAM,kCAAkC,EAAE,OA0QhD,CAAA;AACD,eAAO,MAAM,oBAAoB,EAAE,OA8BlC,CAAA;AACD,eAAO,MAAM,cAAc,EAAE,OA4Q5B,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Row.d.ts","sourceRoot":"","sources":["../../../src/components/row/Row.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAI7C,OAAO,KAAK,EACV,gBAAgB,EAChB,WAAW,EACZ,MAAM,mCAAmC,CAAA;
|
|
1
|
+
{"version":3,"file":"Row.d.ts","sourceRoot":"","sources":["../../../src/components/row/Row.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAI7C,OAAO,KAAK,EACV,gBAAgB,EAChB,WAAW,EACZ,MAAM,mCAAmC,CAAA;AAO1C,UAAU,KAAK;IACb,KAAK,EAAE,IAAI,EAAE,GAAG,IAAI,EAAE,CAAA;IACtB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,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,EAAE,CACd,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,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;IACpC,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;IAClC,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;CACtB;AAID,QAAA,MAAM,GAAG,GAAI,OAAO,QAAQ,CAAC,KAAK,CAAC,4CAqNlC,CAAA;AAED,eAAe,GAAG,CAAA"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
2
|
import type { PropsWithClassName } from '../../helpers/props';
|
|
3
3
|
import { type MenuItem } from '../menu';
|
|
4
|
+
import type { StepStatus } from '../../types';
|
|
4
5
|
export interface Props extends PropsWithClassName {
|
|
5
6
|
localId: string;
|
|
6
7
|
idx: number;
|
|
@@ -8,6 +9,8 @@ export interface Props extends PropsWithClassName {
|
|
|
8
9
|
isSelected?: boolean;
|
|
9
10
|
isInvalid?: boolean;
|
|
10
11
|
isFilter?: boolean;
|
|
12
|
+
debuggerMode?: boolean;
|
|
13
|
+
status?: StepStatus;
|
|
11
14
|
title: string;
|
|
12
15
|
subtitle?: string;
|
|
13
16
|
icon: ReactNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Step.d.ts","sourceRoot":"","sources":["../../../src/components/step/Step.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,
|
|
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;AAM7C,MAAM,WAAW,KAAM,SAAQ,kBAAkB;IAC/C,OAAO,EAAE,MAAM,CAAA;IACf,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;CACtC;AAED,QAAA,MAAM,IAAI,GAAI,OAAO,KAAK,4CA+KzB,CAAA;AAED,eAAe,IAAI,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Steps.d.ts","sourceRoot":"","sources":["../../../src/components/steps/Steps.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAA;AAE7D,OAAO,KAAK,EAA4B,IAAI,EAAE,MAAM,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"Steps.d.ts","sourceRoot":"","sources":["../../../src/components/steps/Steps.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAA;AAE7D,OAAO,KAAK,EAA4B,IAAI,EAAE,MAAM,aAAa,CAAA;AAIjE,OAAO,KAAK,EACV,gBAAgB,EAChB,WAAW,EACZ,MAAM,mCAAmC,CAAA;AAE1C,UAAU,KAAM,SAAQ,kBAAkB;IACxC,KAAK,EAAE,IAAI,EAAE,CAAA;IACb,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,YAAY,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;IACnC,cAAc,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;IACpC,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,SAAS,EAAE,CACT,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,EAAE,CACd,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,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;CAChB;AAED,eAAO,MAAM,eAAe,KAAK,CAAA;AAGjC,QAAA,MAAM,KAAK,GAAI,oMAgBZ,QAAQ,CAAC,KAAK,CAAC,4CA+MjB,CAAA;AAED,eAAe,KAAK,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AddTriggerIcon.d.ts","sourceRoot":"","sources":["../../../src/components/triggers/AddTriggerIcon.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AddTriggerIcon.d.ts","sourceRoot":"","sources":["../../../src/components/triggers/AddTriggerIcon.tsx"],"names":[],"mappings":"AAEA,QAAA,MAAM,cAAc,+CAenB,CAAA;AAED,eAAe,cAAc,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Step } from '../../types';
|
|
1
|
+
import type { Step, StepStatus } from '../../types';
|
|
2
2
|
import type { PropsWithClassName } from '../../helpers/props';
|
|
3
3
|
export interface TriggerProps extends PropsWithClassName {
|
|
4
4
|
steps: Step[];
|
|
@@ -8,7 +8,10 @@ export interface TriggerProps extends PropsWithClassName {
|
|
|
8
8
|
onSelectStep: (id: string) => unknown;
|
|
9
9
|
onUpdateFilter?: (id: string) => unknown;
|
|
10
10
|
onCenterYUpdate?: (centralNodeY: number) => void;
|
|
11
|
+
debuggerMode?: boolean;
|
|
12
|
+
/** When set, SVG trigger curves use this color instead of status-based debugger stroke colors. */
|
|
13
|
+
resolveCurveStrokeColor?: (status: StepStatus | undefined) => string;
|
|
11
14
|
}
|
|
12
|
-
declare const Trigger: ({ steps, title, className, onDeleteTrigger, onAddTrigger, onSelectStep, onUpdateFilter, onCenterYUpdate, }: Readonly<TriggerProps>) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
declare const Trigger: ({ steps, title, className, onDeleteTrigger, onAddTrigger, onSelectStep, onUpdateFilter, onCenterYUpdate, debuggerMode, resolveCurveStrokeColor, }: Readonly<TriggerProps>) => import("react/jsx-runtime").JSX.Element;
|
|
13
16
|
export default Trigger;
|
|
14
17
|
//# sourceMappingURL=Trigger.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Trigger.d.ts","sourceRoot":"","sources":["../../../src/components/triggers/Trigger.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"Trigger.d.ts","sourceRoot":"","sources":["../../../src/components/triggers/Trigger.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AAKnD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAA;AAI7D,MAAM,WAAW,YAAa,SAAQ,kBAAkB;IACtD,KAAK,EAAE,IAAI,EAAE,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,eAAe,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,OAAO,CAAA;IACzC,YAAY,CAAC,EAAE,MAAM,OAAO,CAAA;IAC5B,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,OAAO,CAAA;IACrC,cAAc,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,OAAO,CAAA;IACxC,eAAe,CAAC,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,CAAA;IAChD,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,kGAAkG;IAClG,uBAAuB,CAAC,EAAE,CAAC,MAAM,EAAE,UAAU,GAAG,SAAS,KAAK,MAAM,CAAA;CACrE;AAaD,QAAA,MAAM,OAAO,GAAI,mJAWd,QAAQ,CAAC,YAAY,CAAC,4CA6RxB,CAAA;AAED,eAAe,OAAO,CAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { StepStatus } from '../types';
|
|
2
|
+
export declare const COLORS: {
|
|
3
|
+
readonly NAVY: "#3B64A0";
|
|
4
|
+
readonly LIGHT_BG: "#fafafa";
|
|
5
|
+
readonly FINISHED_GREEN: "#17a34a";
|
|
6
|
+
readonly ERROR_RED: "#E32012";
|
|
7
|
+
readonly TEAL: "#41B0AC";
|
|
8
|
+
readonly ADD_TRIGGER_FILL: "#0C971F";
|
|
9
|
+
readonly ADD_TRIGGER_STROKE: "#14BC2B";
|
|
10
|
+
readonly SEPARATOR: "#a1bbdc";
|
|
11
|
+
readonly VALIDATING_BLUE: "#2563eb";
|
|
12
|
+
readonly SLATE_500: "#64748b";
|
|
13
|
+
readonly SLATE_400: "#94a3b8";
|
|
14
|
+
readonly AMBER_600: "#ca8a04";
|
|
15
|
+
readonly ORANGE: "#ff9800";
|
|
16
|
+
};
|
|
17
|
+
export declare const isFinishedGreen: (color: string) => boolean;
|
|
18
|
+
export declare const connectorBorder: (color: string) => string;
|
|
19
|
+
/** Stroke / connector color per runtime step status (debugger / trace view). */
|
|
20
|
+
export declare const STEP_STATUS_COLORS: Record<StepStatus, string>;
|
|
21
|
+
/** Soft fills for chips / step cards per status. */
|
|
22
|
+
export declare const STEP_STATUS_BG: Record<StepStatus, string>;
|
|
23
|
+
//# sourceMappingURL=colors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../src/constants/colors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAA;AAE1C,eAAO,MAAM,MAAM;;;;;;;;;;;;;;CAcT,CAAA;AAEV,eAAO,MAAM,eAAe,GAAI,OAAO,MAAM,KAAG,OACa,CAAA;AAE7D,eAAO,MAAM,eAAe,GAAI,OAAO,MAAM,KAAG,MAGtB,CAAA;AAE1B,gFAAgF;AAChF,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,CASzD,CAAA;AAED,oDAAoD;AACpD,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,CASrD,CAAA"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { Process } from '../types';
|
|
2
|
+
import type { ProcessDebuggerLineColors } from './debuggerStatus.helpers';
|
|
3
|
+
export declare const getDebuggerConnectorStrokeColor: (process: Process, lineColors: ProcessDebuggerLineColors, fromLocalId?: string, toLocalId?: string) => string;
|
|
4
|
+
//# sourceMappingURL=debuggerConnector.helpers.d.ts.map
|
|
@@ -0,0 +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,MAyBF,CAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { Path, Step, StepStatus } from '../types';
|
|
2
|
+
/** Order for collapsing multiple branch statuses onto one gateway line (highest first). */
|
|
3
|
+
export declare const STEP_STATUS_PRIORITY: readonly StepStatus[];
|
|
4
|
+
export declare const pickHighestPriorityStatus: (statuses: (StepStatus | undefined)[]) => StepStatus | undefined;
|
|
5
|
+
export declare const getDebuggerStatusLineColor: (status: StepStatus | undefined, debuggerMode: boolean) => string;
|
|
6
|
+
export declare const getOutgoingDebuggerLineColor: (debuggerMode: boolean, currentStatus?: StepStatus, nextStatus?: StepStatus) => string;
|
|
7
|
+
/** Resolver pair for process debugger diagrams (status-colored lines with optional overrides). */
|
|
8
|
+
export type ProcessDebuggerLineColors = {
|
|
9
|
+
statusLine: (status?: StepStatus) => string;
|
|
10
|
+
};
|
|
11
|
+
export declare const resolveProcessDebuggerLineColor: (status: StepStatus | undefined, overrides?: Partial<Record<StepStatus, string>>, neutralColor?: string) => string;
|
|
12
|
+
export declare const resolveOutgoingProcessDebuggerLineColor: (currentStatus: StepStatus | undefined, nextStatus: StepStatus | undefined, overrides?: Partial<Record<StepStatus, string>>, neutralColor?: string) => string;
|
|
13
|
+
export declare const createProcessDebuggerLineColors: (overrides?: Partial<Record<StepStatus, string>>, neutralColor?: string) => ProcessDebuggerLineColors;
|
|
14
|
+
export declare const getRowItemLeadStatus: (item: Path | Step) => StepStatus | undefined;
|
|
15
|
+
//# sourceMappingURL=debuggerStatus.helpers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"debuggerStatus.helpers.d.ts","sourceRoot":"","sources":["../../src/helpers/debuggerStatus.helpers.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,UAAU,CAAA;AAEtD,2FAA2F;AAC3F,eAAO,MAAM,oBAAoB,EAAE,SAAS,UAAU,EAS5C,CAAA;AAEV,eAAO,MAAM,yBAAyB,GACpC,UAAU,CAAC,UAAU,GAAG,SAAS,CAAC,EAAE,KACnC,UAAU,GAAG,SASf,CAAA;AAED,eAAO,MAAM,0BAA0B,GACrC,QAAQ,UAAU,GAAG,SAAS,EAC9B,cAAc,OAAO,KACpB,MAGF,CAAA;AAED,eAAO,MAAM,4BAA4B,GACvC,cAAc,OAAO,EACrB,gBAAgB,UAAU,EAC1B,aAAa,UAAU,KACtB,MACoE,CAAA;AAEvE,kGAAkG;AAClG,MAAM,MAAM,yBAAyB,GAAG;IACtC,UAAU,EAAE,CAAC,MAAM,CAAC,EAAE,UAAU,KAAK,MAAM,CAAA;CAC5C,CAAA;AAED,eAAO,MAAM,+BAA+B,GAC1C,QAAQ,UAAU,GAAG,SAAS,EAC9B,YAAY,OAAO,CAAC,MAAM,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC,EAC/C,eAAc,MAAoB,KACjC,MAGF,CAAA;AAED,eAAO,MAAM,uCAAuC,GAClD,eAAe,UAAU,GAAG,SAAS,EACrC,YAAY,UAAU,GAAG,SAAS,EAClC,YAAY,OAAO,CAAC,MAAM,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC,EAC/C,eAAc,MAAoB,KACjC,MAKA,CAAA;AAEH,eAAO,MAAM,+BAA+B,GAC1C,YAAY,OAAO,CAAC,MAAM,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC,EAC/C,eAAc,MAAoB,KACjC,yBAED,CAAA;AAEF,eAAO,MAAM,oBAAoB,GAAI,MAAM,IAAI,GAAG,IAAI,KAAG,UAAU,GAAG,SAKrE,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
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;
|
|
4
|
+
/**
|
|
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).
|
|
8
|
+
*/
|
|
9
|
+
export declare const shouldFinishedSequentialLineBeGreen: (process: Process, fromLocalId: string, toLocalId: string) => boolean;
|
|
10
|
+
/**
|
|
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.
|
|
14
|
+
*
|
|
15
|
+
* The condition node itself does not need to be `finished`.
|
|
16
|
+
*/
|
|
17
|
+
export declare const shouldGreenForConditionToFirstFinishedStep: (process: Process, fromLocalId: string, toLocalId: string) => boolean;
|
|
18
|
+
//# sourceMappingURL=finishedSequentialLine.helpers.d.ts.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Iterator, Path, Step } from '../types';
|
|
2
|
+
type StepLike = Step | Iterator;
|
|
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;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=processGraph.helpers.d.ts.map
|
|
@@ -0,0 +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"}
|