@notmrabhi/flowforge 0.1.58 → 0.1.60
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-9m1q_f4y.js → SchemaBuilderDrawer-BCZAxB01.js} +2 -2
- package/dist/{SchemaBuilderDrawer-9m1q_f4y.js.map → SchemaBuilderDrawer-BCZAxB01.js.map} +1 -1
- package/dist/{SchemaBuilderDrawer-C54xKa-P.js → SchemaBuilderDrawer-BozM7nhx.js} +2 -2
- package/dist/{SchemaBuilderDrawer-C54xKa-P.js.map → SchemaBuilderDrawer-BozM7nhx.js.map} +1 -1
- package/dist/{WorkflowExecutionHistory-DwIjOwPH.js → WorkflowExecutionHistory-B0XHABca.js} +2 -2
- package/dist/{WorkflowExecutionHistory-DwIjOwPH.js.map → WorkflowExecutionHistory-B0XHABca.js.map} +1 -1
- package/dist/{WorkflowExecutionHistory-6N7KWqCG.js → WorkflowExecutionHistory-BVlQAWW-.js} +3 -3
- package/dist/{WorkflowExecutionHistory-6N7KWqCG.js.map → WorkflowExecutionHistory-BVlQAWW-.js.map} +1 -1
- package/dist/canvas.cjs +1 -1
- package/dist/canvas.js +1 -1
- package/dist/form.cjs +1 -1
- package/dist/form.js +2 -2
- package/dist/{index-DNBDuEzF.js → index-BvPTrU6o.js} +2 -2
- package/dist/{index-DNBDuEzF.js.map → index-BvPTrU6o.js.map} +1 -1
- package/dist/{index-D-ObmLY1.js → index-CkYzT9Tt.js} +653 -715
- package/dist/index-CkYzT9Tt.js.map +1 -0
- package/dist/{index-b0hy-r3d.js → index-CxCA0plQ.js} +2 -2
- package/dist/{index-b0hy-r3d.js.map → index-CxCA0plQ.js.map} +1 -1
- package/dist/{index-hByI0uXP.js → index-DEGreMhU.js} +2 -2
- package/dist/{index-hByI0uXP.js.map → index-DEGreMhU.js.map} +1 -1
- package/dist/{index-BypSWEYO.js → index-DLqj7x9J.js} +5 -5
- package/dist/index-DLqj7x9J.js.map +1 -0
- package/dist/{index-BQHjXZIn.js → index-DaTwRxEL.js} +2 -2
- package/dist/{index-BQHjXZIn.js.map → index-DaTwRxEL.js.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +3 -3
- package/package.json +1 -1
- package/dist/index-BypSWEYO.js.map +0 -1
- package/dist/index-D-ObmLY1.js.map +0 -1
package/dist/index.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-DLqj7x9J.js"),F=require("./SchemaBuilderDrawer-BozM7nhx.js");require("react/jsx-runtime");require("react");require("@mui/material");require("react-icons/md");const i=require("./nodeRegistry.cjs"),f=require("./templateRegistry.cjs"),p=require("./WorkflowExecutionHistory-B0XHABca.js"),S=require("./messages-Bg7b9RbI.js"),y=require("./bpmn-CcuE2X_Q.js"),s=require("./GatewayBranchEdge-6rCziASt.js"),D=require("./buildBackendPayload-BvrjW1uM.js");class N{constructor(){this.channels=new Map}register(o,t){this.channels.set(o,t)}get(o){return this.channels.get(o)}list(){return Array.from(this.channels.entries()).map(([o,t])=>({key:o,...t}))}has(o){return this.channels.has(o)}}const P=new N;function R(r){const{currentNodeId:o,nodes:t,getParents:l,getOutputSchema:a,nodePath:d,nodeLabel:c,getNodeId:u=n=>n.id}=r,g=t.find(n=>u(n)===o);if(!g)return[];const w=v(g,t,l,u),h=[];for(const n of w){const m=a(n);if(!m||m.length===0)continue;const b=d(n);h.push({label:c?c(n):b,items:m.map(k=>T(k,b))})}return h}function v(r,o,t,l){const a=new Set,d=[],c=[...t(r,o)];for(;c.length>0;){const u=c.shift(),g=l(u);a.has(g)||(a.add(g),d.push(u),c.push(...t(u,o)))}return d}function T(r,o){const t=`${o}.${r.key}`,l=r.description??(r.sample!==void 0&&r.sample!==null?String(r.sample):void 0),a={label:r.label,path:t};return l!==void 0&&(a.description=l),r.children&&r.children.length>0&&(a.children=r.children.map(d=>T(d,t))),a}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.dataSourceRegistry=e.dataSourceRegistry;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.parseToAST=e.parseToAST;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.wrapFormula=e.wrapFormula;exports.FIELD_TYPE_OPTIONS=F.FIELD_TYPE_OPTIONS;exports.SchemaBuilder=F.SchemaBuilder;exports.SchemaBuilderDrawer=F.SchemaBuilderDrawer;exports.useFlowForm=F.useFlowForm;exports.NodeTypeRegistry=i.NodeTypeRegistry;exports.baseNodeDefaults=i.baseNodeDefaults;exports.conditionBranchDescriptor=i.conditionBranchDescriptor;exports.defineNode=i.defineNode;exports.endEventDescriptor=i.endEventDescriptor;exports.makeSubWorkflowDescriptor=i.makeSubWorkflowDescriptor;exports.nodeTypeRegistry=i.nodeTypeRegistry;exports.notificationDescriptor=i.notificationDescriptor;exports.restApiDescriptor=i.restApiDescriptor;exports.startEventDescriptor=i.startEventDescriptor;exports.subWorkflowDescriptor=i.subWorkflowDescriptor;exports.webhookTriggerDescriptor=i.webhookTriggerDescriptor;exports.webhookTriggerTemplate=i.webhookTriggerTemplate;exports.TemplateRegistry=f.TemplateRegistry;exports.templateRegistry=f.templateRegistry;exports.FlowForgeCanvas=p.FlowForgeCanvas;exports.FlowForgeHeader=p.FlowForgeHeader;exports.SubWorkflowPreviewDrawer=p.SubWorkflowPreviewDrawer;exports.WorkflowCanvas=p.FlowForgeCanvas;exports.WorkflowExecutionHistory=p.WorkflowExecutionHistory;exports.WorkflowTemplateLibrary=p.WorkflowTemplateLibrary;exports.defaultFlowForgeMessages=S.defaultFlowForgeMessages;exports.loadWorkflowFromBpmn=y.loadWorkflowFromBpmn;exports.saveWorkflowToBpmn=y.saveWorkflowToBpmn;exports.ActionNode=s.ActionNode;exports.ApprovalNode=s.ApprovalNode;exports.EdgeWithPlusLabel=s.EdgeWithPlusLabel;exports.EndNode=s.EndNode;exports.FilterNode=s.FilterNode;exports.RestApiNode=s.RestApiNode;exports.StartNode=s.StartNode;exports.TriggerNode=s.TriggerNode;exports.WebhookTriggerNode=s.WebhookTriggerNode;exports.builtInNodeTypes=s.builtInNodeTypes;exports.buildBackendPayload=D.buildBackendPayload;exports.buildVariableGroups=R;exports.notificationChannelRegistry=P;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { D as N, F as D, a as R, b as P, c as W, I as A, O as E, T as C, V as I, d as B, e as O, f as V, g as z, h as L, i as H, j as q, k as M, E as _, l as $, m as j, n as G, o as U, p as Y, q as J, r as K, s as Q, t as X, u as Z, v as ee, w as se, x as re, y as oe, z as ae, A as te, B as ie, C as ne } from "./index-
|
|
2
|
-
import { F as ce, S as de, a as pe, u as ue } from "./SchemaBuilderDrawer-
|
|
1
|
+
import { D as N, F as D, a as R, b as P, c as W, I as A, O as E, T as C, V as I, d as B, e as O, f as V, g as z, h as L, i as H, j as q, k as M, E as _, l as $, m as j, n as G, o as U, p as Y, q as J, r as K, s as Q, t as X, u as Z, v as ee, w as se, x as re, y as oe, z as ae, A as te, B as ie, C as ne } from "./index-CkYzT9Tt.js";
|
|
2
|
+
import { F as ce, S as de, a as pe, u as ue } from "./SchemaBuilderDrawer-BCZAxB01.js";
|
|
3
3
|
import "react/jsx-runtime";
|
|
4
4
|
import "react";
|
|
5
5
|
import "@mui/material";
|
|
6
6
|
import "react-icons/md";
|
|
7
7
|
import { NodeTypeRegistry as he, baseNodeDefaults as me, conditionBranchDescriptor as ge, defineNode as Fe, endEventDescriptor as be, makeSubWorkflowDescriptor as Te, nodeTypeRegistry as we, notificationDescriptor as ye, restApiDescriptor as ke, startEventDescriptor as Se, subWorkflowDescriptor as xe, webhookTriggerDescriptor as ve, webhookTriggerTemplate as Ne } from "./nodeRegistry.js";
|
|
8
8
|
import { TemplateRegistry as Re, templateRegistry as Pe } from "./templateRegistry.js";
|
|
9
|
-
import { F as Ae, a as Ee, S as Ce, F as Ie, W as Be, b as Oe } from "./WorkflowExecutionHistory-
|
|
9
|
+
import { F as Ae, a as Ee, S as Ce, F as Ie, W as Be, b as Oe } from "./WorkflowExecutionHistory-BVlQAWW-.js";
|
|
10
10
|
import { d as ze } from "./messages-CRZgWFU-.js";
|
|
11
11
|
import { l as He, s as qe } from "./bpmn-CtfWDaOY.js";
|
|
12
12
|
import { A as _e, b as $e, E as je, c as Ge, F as Ue, R as Ye, S as Je, T as Ke, W as Qe, e as Xe } from "./GatewayBranchEdge-PsxBbEky.js";
|