@notmrabhi/flowforge 0.1.103 → 0.1.105
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/{SchemaBuilderDrawer-BlZudF-G.js → SchemaBuilderDrawer-CtGanHvg.js} +2 -2
- package/dist/{SchemaBuilderDrawer-BlZudF-G.js.map → SchemaBuilderDrawer-CtGanHvg.js.map} +1 -1
- package/dist/{SchemaBuilderDrawer-BTTVCnm_.js → SchemaBuilderDrawer-OJFOTZv7.js} +2 -2
- package/dist/{SchemaBuilderDrawer-BTTVCnm_.js.map → SchemaBuilderDrawer-OJFOTZv7.js.map} +1 -1
- package/dist/{WorkflowExecutionHistory-BQ7W4WXX.js → WorkflowExecutionHistory-CsBnVxC5.js} +2 -2
- package/dist/{WorkflowExecutionHistory-BQ7W4WXX.js.map → WorkflowExecutionHistory-CsBnVxC5.js.map} +1 -1
- package/dist/{WorkflowExecutionHistory-CmZHRJdi.js → WorkflowExecutionHistory-DYp-l7mk.js} +2 -2
- package/dist/{WorkflowExecutionHistory-CmZHRJdi.js.map → WorkflowExecutionHistory-DYp-l7mk.js.map} +1 -1
- package/dist/buildBackendPayload-DoRFqe2X.js +2 -0
- package/dist/buildBackendPayload-DoRFqe2X.js.map +1 -0
- package/dist/buildBackendPayload-c7Arn1ji.js +371 -0
- package/dist/buildBackendPayload-c7Arn1ji.js.map +1 -0
- package/dist/canvas.cjs +1 -1
- package/dist/canvas.js +1 -1
- package/dist/core.cjs +1 -1
- package/dist/core.d.ts +24 -0
- package/dist/core.js +1 -1
- package/dist/form.cjs +1 -1
- package/dist/form.js +2 -2
- package/dist/{index-DfM3lQ0R.js → index-BEeNnzsK.js} +2 -2
- package/dist/{index-DfM3lQ0R.js.map → index-BEeNnzsK.js.map} +1 -1
- package/dist/{index-D4LWy_bT.js → index-BJmw-A6O.js} +2 -2
- package/dist/{index-D4LWy_bT.js.map → index-BJmw-A6O.js.map} +1 -1
- package/dist/{index-BH3lAQXx.js → index-BhhUO6Ue.js} +7 -7
- package/dist/{index-BH3lAQXx.js.map → index-BhhUO6Ue.js.map} +1 -1
- package/dist/{index-DxnhBosZ.js → index-C6t1hp3u.js} +1384 -1370
- package/dist/{index-DxnhBosZ.js.map → index-C6t1hp3u.js.map} +1 -1
- package/dist/{index-1pRdFITB.js → index-DnbdxT7Y.js} +2 -2
- package/dist/{index-1pRdFITB.js.map → index-DnbdxT7Y.js.map} +1 -1
- package/dist/{index-vtWDtEUr.js → index-Ypat0iFV.js} +2 -2
- package/dist/{index-vtWDtEUr.js.map → index-Ypat0iFV.js.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +24 -0
- package/dist/index.js +4 -4
- package/package.json +1 -1
- package/dist/buildBackendPayload-BKnT4KL8.js +0 -2
- package/dist/buildBackendPayload-BKnT4KL8.js.map +0 -1
- package/dist/buildBackendPayload-BU4ZV563.js +0 -351
- package/dist/buildBackendPayload-BU4ZV563.js.map +0 -1
package/dist/core.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./nodeRegistry.cjs"),r=require("./templateRegistry.cjs"),t=require("./messages-Bg7b9RbI.js"),o=require("./bpmn-CcuE2X_Q.js"),i=require("./buildBackendPayload-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./nodeRegistry.cjs"),r=require("./templateRegistry.cjs"),t=require("./messages-Bg7b9RbI.js"),o=require("./bpmn-CcuE2X_Q.js"),i=require("./buildBackendPayload-DoRFqe2X.js");exports.NodeTypeRegistry=e.NodeTypeRegistry;exports.baseNodeDefaults=e.baseNodeDefaults;exports.conditionBranchDescriptor=e.conditionBranchDescriptor;exports.defineNode=e.defineNode;exports.endEventDescriptor=e.endEventDescriptor;exports.makeSubWorkflowDescriptor=e.makeSubWorkflowDescriptor;exports.nodeTypeRegistry=e.nodeTypeRegistry;exports.notificationDescriptor=e.notificationDescriptor;exports.restApiDescriptor=e.restApiDescriptor;exports.startEventDescriptor=e.startEventDescriptor;exports.subWorkflowDescriptor=e.subWorkflowDescriptor;exports.webhookTriggerDescriptor=e.webhookTriggerDescriptor;exports.webhookTriggerTemplate=e.webhookTriggerTemplate;exports.TemplateRegistry=r.TemplateRegistry;exports.templateRegistry=r.templateRegistry;exports.defaultFlowForgeMessages=t.defaultFlowForgeMessages;exports.loadWorkflowFromBpmn=o.loadWorkflowFromBpmn;exports.saveWorkflowToBpmn=o.saveWorkflowToBpmn;exports.buildBackendPayload=i.buildBackendPayload;
|
|
2
2
|
//# sourceMappingURL=core.cjs.map
|
package/dist/core.d.ts
CHANGED
|
@@ -52,6 +52,8 @@ export declare interface BpmnEmitSpec {
|
|
|
52
52
|
templateFlows?: TemplateFlowSpec[];
|
|
53
53
|
outgoingConditions?: Record<string, string>;
|
|
54
54
|
dmnEmit?: DmnEmitSpec;
|
|
55
|
+
/** Build a pass/fail JUEL expression from saved conditions (filter gateway). */
|
|
56
|
+
conditionEmit?: ConditionEmitSpec;
|
|
55
57
|
callActivity?: Record<string, unknown>;
|
|
56
58
|
}
|
|
57
59
|
|
|
@@ -183,6 +185,28 @@ declare type CanvasState_2 = {
|
|
|
183
185
|
|
|
184
186
|
export declare const conditionBranchDescriptor: NodeDescriptor;
|
|
185
187
|
|
|
188
|
+
/**
|
|
189
|
+
* Builds a single JUEL boolean expression from a slot's saved conditions —
|
|
190
|
+
* for a pass/fail filter gateway. Fully data-driven: the host supplies the
|
|
191
|
+
* operator map (e.g. `{ eq: '==', contains: '.contains' }`) at registration,
|
|
192
|
+
* and the LHS path prefix comes from `config.conditionPathPrefix`. The package
|
|
193
|
+
* hardcodes nothing about field names, operators, or targets.
|
|
194
|
+
*
|
|
195
|
+
* The computed expression is exposed to `templateFlows` / `outgoingConditions`
|
|
196
|
+
* as the interpolation tokens `${pass}` (the expression) and `${fail}` (its
|
|
197
|
+
* negation), so the registration declares the wiring:
|
|
198
|
+
* outgoingConditions: { pass: '${pass}' }
|
|
199
|
+
* templateFlows: [{ from: '${id}', to: '${endFailure}', condition: '${fail}' }]
|
|
200
|
+
*/
|
|
201
|
+
declare interface ConditionEmitSpec {
|
|
202
|
+
/** formData key holding the condition rows. Default `'conditions'`. */
|
|
203
|
+
conditionsField?: string;
|
|
204
|
+
/** operator token → JUEL operator (e.g. `{ eq: '==', contains: '.contains' }`). */
|
|
205
|
+
operatorMap?: Record<string, string>;
|
|
206
|
+
/** LHS path prefix; defaults to `config.conditionPathPrefix`. */
|
|
207
|
+
pathPrefix?: string;
|
|
208
|
+
}
|
|
209
|
+
|
|
186
210
|
/** One column in a per-field condition row */
|
|
187
211
|
declare interface ConditionFieldDef {
|
|
188
212
|
/** Key used to store this column's value in ConditionEntry */
|
package/dist/core.js
CHANGED
|
@@ -2,7 +2,7 @@ import { NodeTypeRegistry as r, baseNodeDefaults as t, conditionBranchDescriptor
|
|
|
2
2
|
import { TemplateRegistry as k, templateRegistry as b } from "./templateRegistry.js";
|
|
3
3
|
import { d as y } from "./messages-CRZgWFU-.js";
|
|
4
4
|
import { l as u, s as x } from "./bpmn-CtfWDaOY.js";
|
|
5
|
-
import { b as R } from "./buildBackendPayload-
|
|
5
|
+
import { b as R } from "./buildBackendPayload-c7Arn1ji.js";
|
|
6
6
|
export {
|
|
7
7
|
r as NodeTypeRegistry,
|
|
8
8
|
k as TemplateRegistry,
|
package/dist/form.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-BhhUO6Ue.js"),i=require("./SchemaBuilderDrawer-CtGanHvg.js");require("react/jsx-runtime");require("react");require("@mui/material");require("react-icons/md");exports.DRAG_DATA_KEY=e.DRAG_DATA_KEY;exports.DynamicFormRenderer=e.DynamicFormRenderer;exports.FF=e.FF;exports.FlowForgeRegistry=e.FlowForgeRegistry;exports.FlowForm=e.FlowForm;exports.FormulaInput=e.FormulaInput;exports.InfiniteSelectField=e.InfiniteSelectField;exports.OptionsResolversProvider=e.OptionsResolversProvider;exports.TablePickerField=e.TablePickerField;exports.VariablePicker=e.VariablePicker;exports.VariablePickerProvider=e.VariablePickerProvider;exports.astHasRefs=e.astHasRefs;exports.astToTokens=e.astToTokens;exports.buildEvaluationPayload=e.buildEvaluationPayload;exports.buildFieldConfig=e.buildFieldConfig;exports.buildFormulaPath=e.buildFormulaPath;exports.buildSelectStyles=e.buildSelectStyles;exports.buildValidationSchema=e.buildValidationSchema;exports.conditionConfigToRulePayload=e.conditionConfigToRulePayload;exports.conditionNodesToRuleTree=e.conditionNodesToRuleTree;exports.errorTextStyle=e.errorTextStyle;exports.extractLabel=e.extractLabel;exports.fieldRegistry=e.fieldRegistry;exports.hasFormulaTokens=e.hasFormulaTokens;exports.helperTextStyle=e.helperTextStyle;exports.inputStyle=e.inputStyle;exports.isFormula=e.isFormula;exports.leafReference=e.leafReference;exports.parseToAST=e.parseToAST;exports.ruleConditionsToNodes=e.ruleConditionsToNodes;exports.rulePayloadToConditionConfig=e.rulePayloadToConditionConfig;exports.serializeAST=e.serializeAST;exports.serializeASTAsConfig=e.serializeASTAsConfig;exports.serializeConditionExpressions=e.serializeConditionExpressions;exports.stripFormulaTokens=e.stripFormulaTokens;exports.tokenize=e.tokenize;exports.unwrapFormula=e.unwrapFormula;exports.useDynamicOptions=e.useDynamicOptions;exports.useOptionsResolvers=e.useOptionsResolvers;exports.useVariablePickerContext=e.useVariablePickerContext;exports.variableSubtreeToValue=e.variableSubtreeToValue;exports.wrapFormula=e.wrapFormula;exports.FIELD_TYPE_OPTIONS=i.FIELD_TYPE_OPTIONS;exports.SchemaBuilder=i.SchemaBuilder;exports.SchemaBuilderDrawer=i.SchemaBuilderDrawer;exports.useFlowForm=i.useFlowForm;
|
|
2
2
|
//# sourceMappingURL=form.cjs.map
|
package/dist/form.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as l, a as t, F as n, b as u, c as d, d as m, I as F, O as T, T as p, V as c, e as S, f as b, g as f, h as y, i as P, j as R, k, l as C, m as g, n as x, o as A, p as h, q as v, r as w, s as D, t as E, u as O, v as V, w as z, x as I, y as _, z as B, A as L, B as N, C as G, E as H, G as K, H as Y, J as j, K as q, L as J, M } from "./index-
|
|
2
|
-
import { F as U, S as W, a as X, u as Z } from "./SchemaBuilderDrawer-
|
|
1
|
+
import { D as l, a as t, F as n, b as u, c as d, d as m, I as F, O as T, T as p, V as c, e as S, f as b, g as f, h as y, i as P, j as R, k, l as C, m as g, n as x, o as A, p as h, q as v, r as w, s as D, t as E, u as O, v as V, w as z, x as I, y as _, z as B, A as L, B as N, C as G, E as H, G as K, H as Y, J as j, K as q, L as J, M } from "./index-C6t1hp3u.js";
|
|
2
|
+
import { F as U, S as W, a as X, u as Z } from "./SchemaBuilderDrawer-OJFOTZv7.js";
|
|
3
3
|
import "react/jsx-runtime";
|
|
4
4
|
import "react";
|
|
5
5
|
import "@mui/material";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as ct, U as Fe } from "./index-
|
|
1
|
+
import { S as ct, U as Fe } from "./index-C6t1hp3u.js";
|
|
2
2
|
import Ue from "react";
|
|
3
3
|
import He from "react-dom";
|
|
4
4
|
function $e(S, R) {
|
|
@@ -8130,4 +8130,4 @@ const wu = /* @__PURE__ */ Fe(Be), Su = /* @__PURE__ */ $e({
|
|
|
8130
8130
|
export {
|
|
8131
8131
|
Su as i
|
|
8132
8132
|
};
|
|
8133
|
-
//# sourceMappingURL=index-
|
|
8133
|
+
//# sourceMappingURL=index-BEeNnzsK.js.map
|