@emporix/process-diagram 2.0.0-beta.2 → 2.0.0-beta.20
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/{menu → Menu}/Separator.d.ts.map +1 -1
- package/dist/components/ProcessDiagram.d.ts +4 -1
- package/dist/components/ProcessDiagram.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 +5 -2
- package/dist/components/if-statement/IfStatement.d.ts.map +1 -1
- package/dist/components/iterator/Iterator.d.ts +5 -2
- package/dist/components/iterator/Iterator.d.ts.map +1 -1
- package/dist/components/plus-button/PlusButton.d.ts +4 -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 +12 -0
- package/dist/components/process-debugger-diagram/DebuggerIterator.d.ts.map +1 -0
- package/dist/components/process-debugger-diagram/DebuggerRow.d.ts +13 -0
- package/dist/components/process-debugger-diagram/DebuggerRow.d.ts.map +1 -0
- package/dist/components/process-debugger-diagram/DebuggerSteps.d.ts +17 -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 +14 -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 +6 -2
- package/dist/components/row/Row.d.ts.map +1 -1
- package/dist/components/step/Step.d.ts +4 -0
- package/dist/components/step/Step.d.ts.map +1 -1
- package/dist/components/steps/Steps.d.ts +4 -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/IfStatement.d.ts +5 -0
- package/dist/components/triggers/IfStatement.d.ts.map +1 -0
- package/dist/components/triggers/Trigger.d.ts +6 -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 +2024 -994
- 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/dist/utils.d.ts +16 -0
- package/dist/utils.d.ts.map +1 -0
- package/package.json +5 -5
- package/dist/components/iterator/LoopBoxIcon.d.ts +0 -8
- package/dist/components/iterator/LoopBoxIcon.d.ts.map +0 -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}/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":"
|
|
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"}
|
|
@@ -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 +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"}
|
|
@@ -2,6 +2,8 @@ import type { Process } from '../types';
|
|
|
2
2
|
import type { AddStepOperation, AddStepType } from '../helpers/add-process.helpers';
|
|
3
3
|
export interface ProcessDiagramProps {
|
|
4
4
|
process: Process;
|
|
5
|
+
iteratorEnabled?: boolean;
|
|
6
|
+
conditionsEnabled?: boolean;
|
|
5
7
|
onAddTrigger: (id?: string, pathId?: string, operation?: AddStepType) => unknown;
|
|
6
8
|
onAddStep: (id?: string, pathId?: string, operation?: AddStepOperation) => unknown;
|
|
7
9
|
onAddCondition: (stepId?: string, pathId?: string, operation?: AddStepOperation) => void;
|
|
@@ -12,7 +14,8 @@ export interface ProcessDiagramProps {
|
|
|
12
14
|
onUpdateFilter: (id: string) => unknown;
|
|
13
15
|
addMultipleTriggers: () => unknown;
|
|
14
16
|
onSelectStep: (id: string) => unknown;
|
|
17
|
+
onCheckScenario: (id: string) => unknown;
|
|
15
18
|
}
|
|
16
|
-
declare const ProcessDiagram: ({ process, addMultipleTriggers, onAddStep, onAddTrigger, onAddCondition, onAddLoop, onResize, onDeleteTrigger, onDeleteStep, onUpdateFilter, onSelectStep, }: Readonly<ProcessDiagramProps>) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
declare const ProcessDiagram: ({ process, iteratorEnabled, conditionsEnabled, addMultipleTriggers, onAddStep, onAddTrigger, onAddCondition, onAddLoop, onResize, onDeleteTrigger, onDeleteStep, onUpdateFilter, onSelectStep, onCheckScenario, }: Readonly<ProcessDiagramProps>) => import("react/jsx-runtime").JSX.Element;
|
|
17
20
|
export default ProcessDiagram;
|
|
18
21
|
//# sourceMappingURL=ProcessDiagram.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProcessDiagram.d.ts","sourceRoot":"","sources":["../../src/components/ProcessDiagram.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA;AAGvC,OAAO,KAAK,EACV,gBAAgB,EAChB,WAAW,EACZ,MAAM,gCAAgC,CAAA;AAEvC,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,OAAO,CAAA;IAChB,YAAY,EAAE,CACZ,EAAE,CAAC,EAAE,MAAM,EACX,MAAM,CAAC,EAAE,MAAM,EACf,SAAS,CAAC,EAAE,WAAW,KACpB,OAAO,CAAA;IACZ,SAAS,EAAE,CACT,EAAE,CAAC,EAAE,MAAM,EACX,MAAM,CAAC,EAAE,MAAM,EACf,SAAS,CAAC,EAAE,gBAAgB,KACzB,OAAO,CAAA;IACZ,cAAc,EAAE,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,gBAAgB,KAAK,IAAI,CAAA;IACxF,SAAS,EAAE,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,gBAAgB,KAAK,IAAI,CAAA;IACnF,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;IACrB,eAAe,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,OAAO,CAAA;IACxC,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,OAAO,CAAA;IACrC,cAAc,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,OAAO,CAAA;IACvC,mBAAmB,EAAE,MAAM,OAAO,CAAA;IAClC,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"ProcessDiagram.d.ts","sourceRoot":"","sources":["../../src/components/ProcessDiagram.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA;AAGvC,OAAO,KAAK,EACV,gBAAgB,EAChB,WAAW,EACZ,MAAM,gCAAgC,CAAA;AAEvC,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,OAAO,CAAA;IAChB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,YAAY,EAAE,CACZ,EAAE,CAAC,EAAE,MAAM,EACX,MAAM,CAAC,EAAE,MAAM,EACf,SAAS,CAAC,EAAE,WAAW,KACpB,OAAO,CAAA;IACZ,SAAS,EAAE,CACT,EAAE,CAAC,EAAE,MAAM,EACX,MAAM,CAAC,EAAE,MAAM,EACf,SAAS,CAAC,EAAE,gBAAgB,KACzB,OAAO,CAAA;IACZ,cAAc,EAAE,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,gBAAgB,KAAK,IAAI,CAAA;IACxF,SAAS,EAAE,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,gBAAgB,KAAK,IAAI,CAAA;IACnF,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;IACrB,eAAe,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,OAAO,CAAA;IACxC,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,OAAO,CAAA;IACrC,cAAc,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,OAAO,CAAA;IACvC,mBAAmB,EAAE,MAAM,OAAO,CAAA;IAClC,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,OAAO,CAAA;IACrC,eAAe,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,OAAO,CAAA;CACzC;AAED,QAAA,MAAM,cAAc,GAAI,mNAerB,QAAQ,CAAC,mBAAmB,CAAC,4CA+C/B,CAAA;AAED,eAAe,cAAc,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,8 +1,11 @@
|
|
|
1
|
+
import type { StepStatus } from '../../types';
|
|
1
2
|
export interface IfStatementProps {
|
|
2
|
-
onEdit?: () => void;
|
|
3
3
|
onDelete?: () => void;
|
|
4
4
|
onSelect?: () => void;
|
|
5
|
+
enabled?: boolean;
|
|
6
|
+
debuggerMode?: boolean;
|
|
7
|
+
status?: StepStatus;
|
|
5
8
|
}
|
|
6
|
-
declare const IfStatement: (
|
|
9
|
+
declare const IfStatement: (props: Readonly<IfStatementProps>) => import("react/jsx-runtime").JSX.Element;
|
|
7
10
|
export default IfStatement;
|
|
8
11
|
//# sourceMappingURL=IfStatement.d.ts.map
|
|
@@ -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,9 @@ 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'>>;
|
|
5
|
+
value: Pick<IteratorType, 'localId'> & Partial<Pick<IteratorType, 'limit' | 'steps' | 'condition' | 'status'>>;
|
|
6
|
+
iteratorEnabled?: boolean;
|
|
7
|
+
conditionsEnabled?: boolean;
|
|
6
8
|
onAddStep?: (id?: string, pathId?: string, operation?: AddStepOperation) => void;
|
|
7
9
|
onAddTrigger?: (id?: string, pathId?: string, operation?: AddStepType) => void;
|
|
8
10
|
onAddCondition?: (stepId?: string, pathId?: string, operation?: AddStepOperation) => void;
|
|
@@ -11,7 +13,8 @@ export interface IteratorProps {
|
|
|
11
13
|
onUpdateFilter?: (id: string) => void;
|
|
12
14
|
onSelectStep?: (id: string) => void;
|
|
13
15
|
onResize?: () => void;
|
|
16
|
+
onCheckScenario?: (id: string) => void;
|
|
14
17
|
}
|
|
15
|
-
declare const IteratorComponent: ({ value, onAddStep, onAddTrigger, onAddCondition, onAddLoop, onDeleteStep, onUpdateFilter, onSelectStep, onResize, }: Readonly<IteratorProps>) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
declare const IteratorComponent: ({ value, iteratorEnabled, conditionsEnabled, onAddStep, onAddTrigger, onAddCondition, onAddLoop, onDeleteStep, onUpdateFilter, onSelectStep, onResize, onCheckScenario, }: Readonly<IteratorProps>) => import("react/jsx-runtime").JSX.Element;
|
|
16
19
|
export default IteratorComponent;
|
|
17
20
|
//# sourceMappingURL=Iterator.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Iterator.d.ts","sourceRoot":"","sources":["../../../src/components/iterator/Iterator.tsx"],"names":[],"mappings":"
|
|
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;IACrB,eAAe,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;CACvC;AAED,QAAA,MAAM,iBAAiB,GAAI,2KAaxB,QAAQ,CAAC,aAAa,CAAC,4CAyGzB,CAAA;AAED,eAAe,iBAAiB,CAAA"}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import type { AddStepOperation, AddStepType } from '../../helpers/add-process.helpers';
|
|
2
2
|
export interface PlusButtonProps {
|
|
3
3
|
style?: React.CSSProperties;
|
|
4
|
+
iteratorEnabled?: boolean;
|
|
5
|
+
conditionsEnabled?: boolean;
|
|
6
|
+
lineColor?: string;
|
|
4
7
|
onAddStep?: (id?: string, pathId?: string, operation?: AddStepOperation) => void;
|
|
5
8
|
onAddTrigger?: (id?: string, pathId?: string, operation?: AddStepType) => void;
|
|
6
9
|
onAddCondition?: (stepId?: string, pathId?: string, operation?: AddStepOperation) => void;
|
|
@@ -9,6 +12,6 @@ export interface PlusButtonProps {
|
|
|
9
12
|
index?: number;
|
|
10
13
|
pathId?: string;
|
|
11
14
|
}
|
|
12
|
-
declare const PlusButton: ({ onAddStep, onAddTrigger, onAddCondition, onAddLoop, 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;
|
|
13
16
|
export default PlusButton;
|
|
14
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,12 @@
|
|
|
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
|
+
onCheckScenario?: (id: string) => void;
|
|
9
|
+
}
|
|
10
|
+
declare const DebuggerIterator: ({ value, previousLocalId, nextLocalId, onSelectStep: _onSelectStep, onResize, onCheckScenario, }: Readonly<DebuggerIteratorProps>) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export default DebuggerIterator;
|
|
12
|
+
//# 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;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"}
|
|
@@ -0,0 +1,13 @@
|
|
|
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
|
+
onCheckScenario: (id: string) => void;
|
|
10
|
+
}
|
|
11
|
+
declare const DebuggerRow: (props: Readonly<Props>) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export default DebuggerRow;
|
|
13
|
+
//# 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;IACrB,eAAe,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;CACtC;AAED,QAAA,MAAM,WAAW,GAAI,OAAO,QAAQ,CAAC,KAAK,CAAC,4CAgS1C,CAAA;AAED,eAAe,WAAW,CAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
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
|
+
onCheckScenario: (id: string) => void;
|
|
13
|
+
}
|
|
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;
|
|
16
|
+
export default DebuggerSteps;
|
|
17
|
+
//# 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;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"}
|
|
@@ -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,14 @@
|
|
|
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
|
+
onCheckScenario?: (id: string) => unknown;
|
|
11
|
+
}
|
|
12
|
+
declare const ProcessDebuggerDiagram: ({ process, statusLineColors, neutralLineColor, onResize, onSelectStep, onCheckScenario, }: Readonly<ProcessDebuggerDiagramProps>) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export default ProcessDebuggerDiagram;
|
|
14
|
+
//# 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;IACrC,eAAe,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,OAAO,CAAA;CAC1C;AA4CD,QAAA,MAAM,sBAAsB,GAAI,2FAO7B,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,8 +1,10 @@
|
|
|
1
1
|
import type { Path, Step } from '../../types';
|
|
2
2
|
import type { AddStepOperation, AddStepType } from '../../helpers/add-process.helpers';
|
|
3
|
-
|
|
3
|
+
interface Props {
|
|
4
4
|
items: Path[] | Step[];
|
|
5
5
|
pathId?: string;
|
|
6
|
+
iteratorEnabled?: boolean;
|
|
7
|
+
conditionsEnabled?: boolean;
|
|
6
8
|
onAddStep?: (id?: string, pathId?: string, operation?: AddStepOperation) => void;
|
|
7
9
|
onAddTrigger?: (id?: string, pathId?: string, operation?: AddStepType) => void;
|
|
8
10
|
onAddCondition: (stepId?: string, pathId?: string, operation?: AddStepOperation) => void;
|
|
@@ -11,6 +13,8 @@ declare const Row: ({ items, pathId, onAddStep, onAddTrigger, onAddCondition, on
|
|
|
11
13
|
onUpdateFilter: (id: string) => void;
|
|
12
14
|
onSelectStep: (id: string) => void;
|
|
13
15
|
onResize?: () => void;
|
|
14
|
-
|
|
16
|
+
onCheckScenario: (id: string) => void;
|
|
17
|
+
}
|
|
18
|
+
declare const Row: (props: Readonly<Props>) => import("react/jsx-runtime").JSX.Element;
|
|
15
19
|
export default Row;
|
|
16
20
|
//# sourceMappingURL=Row.d.ts.map
|
|
@@ -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;IACrB,eAAe,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;CACtC;AAID,QAAA,MAAM,GAAG,GAAI,OAAO,QAAQ,CAAC,KAAK,CAAC,4CAyNlC,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;
|
|
@@ -15,6 +18,7 @@ export interface Props extends PropsWithClassName {
|
|
|
15
18
|
onSelectStep: (id: string) => void;
|
|
16
19
|
onDeleteStep?: (id: string) => void;
|
|
17
20
|
onUpdateFilter?: (id: string) => void;
|
|
21
|
+
onCheckScenario: (id: string) => void;
|
|
18
22
|
}
|
|
19
23
|
declare const Step: (props: Props) => import("react/jsx-runtime").JSX.Element;
|
|
20
24
|
export default Step;
|
|
@@ -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;AAO7C,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;IACrC,eAAe,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;CACtC;AAED,QAAA,MAAM,IAAI,GAAI,OAAO,KAAK,4CAsLzB,CAAA;AAED,eAAe,IAAI,CAAA"}
|
|
@@ -6,6 +6,8 @@ interface Props extends PropsWithClassName {
|
|
|
6
6
|
centerY?: number;
|
|
7
7
|
onDeleteStep?: (id: string) => void;
|
|
8
8
|
onUpdateFilter: (id: string) => void;
|
|
9
|
+
iteratorEnabled?: boolean;
|
|
10
|
+
conditionsEnabled?: boolean;
|
|
9
11
|
onAddStep: (id?: string, pathId?: string, operation?: AddStepOperation) => void;
|
|
10
12
|
onAddTrigger?: (id?: string, pathId?: string, operation?: AddStepType) => void;
|
|
11
13
|
onAddCondition: (stepId?: string, pathId?: string, operation?: AddStepOperation) => void;
|
|
@@ -14,8 +16,9 @@ interface Props extends PropsWithClassName {
|
|
|
14
16
|
onResize?: () => void;
|
|
15
17
|
isDescendent?: boolean;
|
|
16
18
|
pathId?: string;
|
|
19
|
+
onCheckScenario: (id: string) => void;
|
|
17
20
|
}
|
|
18
21
|
export declare const STEP_ROW_HEIGHT = 68;
|
|
19
|
-
declare const Steps: ({ pathId, steps, centerY, className, onAddStep, onDeleteStep, onUpdateFilter, onAddTrigger, onAddCondition, onAddLoop, onSelectStep, onResize, isDescendent, }: Readonly<Props>) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
declare const Steps: ({ pathId, steps, centerY, className, iteratorEnabled, conditionsEnabled, onAddStep, onDeleteStep, onUpdateFilter, onAddTrigger, onAddCondition, onAddLoop, onSelectStep, onResize, onCheckScenario, isDescendent, }: Readonly<Props>) => import("react/jsx-runtime").JSX.Element;
|
|
20
23
|
export default Steps;
|
|
21
24
|
//# sourceMappingURL=Steps.d.ts.map
|
|
@@ -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;IACf,eAAe,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;CACtC;AAED,eAAO,MAAM,eAAe,KAAK,CAAA;AAGjC,QAAA,MAAM,KAAK,GAAI,qNAiBZ,QAAQ,CAAC,KAAK,CAAC,4CAkNjB,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"}
|
|
@@ -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
|
-
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,11 @@ 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;
|
|
14
|
+
isAdmin?: boolean;
|
|
11
15
|
}
|
|
12
|
-
declare const Trigger: ({ steps, title, className, onDeleteTrigger, onAddTrigger, onSelectStep, onUpdateFilter, onCenterYUpdate, }: Readonly<TriggerProps>) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
declare const Trigger: ({ steps, title, className, onDeleteTrigger, onAddTrigger, onSelectStep, onUpdateFilter, onCenterYUpdate, debuggerMode, resolveCurveStrokeColor, isAdmin, }: Readonly<TriggerProps>) => import("react/jsx-runtime").JSX.Element;
|
|
13
17
|
export default Trigger;
|
|
14
18
|
//# 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;IACpE,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAaD,QAAA,MAAM,OAAO,GAAI,4JAYd,QAAQ,CAAC,YAAY,CAAC,4CAgSxB,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 | undefined) => 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,GAAG,SAAS,KAAG,OAE3D,CAAA;AAED,eAAO,MAAM,eAAe,GAAI,OAAO,MAAM,KAAG,MACuB,CAAA;AAEvE,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"}
|