@notmrabhi/flowforge 0.1.50 → 0.1.51
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-BZ7-GVP_.js → SchemaBuilderDrawer-BP7aZgFe.js} +2 -2
- package/dist/{SchemaBuilderDrawer-BZ7-GVP_.js.map → SchemaBuilderDrawer-BP7aZgFe.js.map} +1 -1
- package/dist/{SchemaBuilderDrawer-CLZy4ZoT.js → SchemaBuilderDrawer-CIxQGffa.js} +2 -2
- package/dist/{SchemaBuilderDrawer-CLZy4ZoT.js.map → SchemaBuilderDrawer-CIxQGffa.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.d.ts +7 -0
- package/dist/form.js +2 -2
- package/dist/{index-tyzgIY9U.js → index-B-D9UuLO.js} +152 -144
- package/dist/{index-tyzgIY9U.js.map → index-B-D9UuLO.js.map} +1 -1
- package/dist/{index-h1mUpS7l.js → index-B-vpguq_.js} +2 -2
- package/dist/{index-h1mUpS7l.js.map → index-B-vpguq_.js.map} +1 -1
- package/dist/{index-Cjql1zwT.js → index-BbYsmgpo.js} +2 -2
- package/dist/{index-Cjql1zwT.js.map → index-BbYsmgpo.js.map} +1 -1
- package/dist/{index-idr4zHMF.js → index-BsgdZXaY.js} +2 -2
- package/dist/{index-idr4zHMF.js.map → index-BsgdZXaY.js.map} +1 -1
- package/dist/{index-cwtx0Uej.js → index-DUbQPmIx.js} +6 -6
- package/dist/{index-cwtx0Uej.js.map → index-DUbQPmIx.js.map} +1 -1
- package/dist/{index-B-K6-s8t.js → index-hv7IJZ9j.js} +2 -2
- package/dist/{index-B-K6-s8t.js.map → index-hv7IJZ9j.js.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +7 -0
- package/dist/index.js +3 -3
- package/dist/{templateSkeletons-Dj88q55j.js → templateSkeletons-f-XQQvyE.js} +2 -2
- package/dist/{templateSkeletons-Dj88q55j.js.map → templateSkeletons-f-XQQvyE.js.map} +1 -1
- package/dist/{templateSkeletons-DfkoJMrg.js → templateSkeletons-gOva2Xus.js} +2 -2
- package/dist/{templateSkeletons-DfkoJMrg.js.map → templateSkeletons-gOva2Xus.js.map} +1 -1
- package/package.json +1 -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-DUbQPmIx.js"),b=require("./SchemaBuilderDrawer-CIxQGffa.js");require("react/jsx-runtime");require("react");require("@mui/material");require("react-icons/md");const i=require("./nodeRegistry.cjs"),f=require("./templateRegistry.cjs"),s=require("./templateSkeletons-gOva2Xus.js"),y=require("./messages-O9Tw_XXR.js"),k=require("./bpmn-CcuE2X_Q.js"),n=require("./GatewayBranchEdge-CMY30xhz.js");class R{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 D=new R;function N(r){const{currentNodeId:o,nodes:t,getParents:d,getOutputSchema:a,nodePath:c,nodeLabel:u,getNodeId:p=l=>l.id}=r,g=t.find(l=>p(l)===o);if(!g)return[];const T=v(g,t,d,p),m=[];for(const l of T){const h=a(l);if(!h||h.length===0)continue;const F=c(l);m.push({label:u?u(l):F,items:h.map(S=>w(S,F))})}return m}function v(r,o,t,d){const a=new Set,c=[],u=[...t(r,o)];for(;u.length>0;){const p=u.shift(),g=d(p);a.has(g)||(a.add(g),c.push(p),u.push(...t(p,o)))}return c}function w(r,o){const t=`${o}.${r.key}`,d=r.description??(r.sample!==void 0&&r.sample!==null?String(r.sample):void 0),a={label:r.label,path:t};return d!==void 0&&(a.description=d),r.children&&r.children.length>0&&(a.children=r.children.map(c=>w(c,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=b.FIELD_TYPE_OPTIONS;exports.SchemaBuilder=b.SchemaBuilder;exports.SchemaBuilderDrawer=b.SchemaBuilderDrawer;exports.useFlowForm=b.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=s.FlowForgeCanvas;exports.FlowForgeHeader=s.FlowForgeHeader;exports.SubWorkflowPreviewDrawer=s.SubWorkflowPreviewDrawer;exports.WorkflowCanvas=s.FlowForgeCanvas;exports.WorkflowExecutionHistory=s.WorkflowExecutionHistory;exports.WorkflowTemplateLibrary=s.WorkflowTemplateLibrary;exports.accessRequestSkeleton=s.accessRequestSkeleton;exports.offboardingSkeleton=s.offboardingSkeleton;exports.userOnboardingSkeleton=s.userOnboardingSkeleton;exports.webhookIntegrationSkeleton=s.webhookIntegrationSkeleton;exports.defaultFlowForgeMessages=y.defaultFlowForgeMessages;exports.loadWorkflowFromBpmn=k.loadWorkflowFromBpmn;exports.saveWorkflowToBpmn=k.saveWorkflowToBpmn;exports.ActionNode=n.ActionNode;exports.ApprovalNode=n.ApprovalNode;exports.EdgeWithPlusLabel=n.EdgeWithPlusLabel;exports.EndNode=n.EndNode;exports.FilterNode=n.FilterNode;exports.RestApiNode=n.RestApiNode;exports.StartNode=n.StartNode;exports.TriggerNode=n.TriggerNode;exports.WebhookTriggerNode=n.WebhookTriggerNode;exports.builtInNodeTypes=n.builtInNodeTypes;exports.buildVariableGroups=N;exports.notificationChannelRegistry=D;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.d.ts
CHANGED
|
@@ -948,6 +948,13 @@ export declare interface FormulaInputProps {
|
|
|
948
948
|
declare interface FormulaProps {
|
|
949
949
|
formulaConfig?: FormulaConfig;
|
|
950
950
|
onFormulaConfigChange?: (config: FormulaConfig) => void;
|
|
951
|
+
/**
|
|
952
|
+
* Key under `formik.values` where formulaConfig is auto-roundtripped
|
|
953
|
+
* when the host doesn't supply explicit `formulaConfig` /
|
|
954
|
+
* `onFormulaConfigChange`. Defaults to `_formulaConfig`. Mirrors
|
|
955
|
+
* `conditionConfigKey`.
|
|
956
|
+
*/
|
|
957
|
+
formulaConfigKey?: string;
|
|
951
958
|
/**
|
|
952
959
|
* Optional variable groups for the built-in Smart Values picker.
|
|
953
960
|
* When provided, DynamicFormRenderer automatically wraps itself in
|
package/dist/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { D as N, F as R, a as D, b as P, c as W, I as A, O as E, T as I, V as C, d as O, e as V, f as B, g as z, h as L, i as q, j as H, 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 oe, y as re, 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 R, a as D, b as P, c as W, I as A, O as E, T as I, V as C, d as O, e as V, f as B, g as z, h as L, i as q, j as H, 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 oe, y as re, z as ae, A as te, B as ie, C as ne } from "./index-B-D9UuLO.js";
|
|
2
|
+
import { F as ce, S as de, a as pe, u as ue } from "./SchemaBuilderDrawer-BP7aZgFe.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 be, endEventDescriptor as Fe, makeSubWorkflowDescriptor as we, nodeTypeRegistry as ke, notificationDescriptor as Se, restApiDescriptor as Te, startEventDescriptor as ye, subWorkflowDescriptor as xe, webhookTriggerDescriptor as ve, webhookTriggerTemplate as Ne } from "./nodeRegistry.js";
|
|
8
8
|
import { TemplateRegistry as De, templateRegistry as Pe } from "./templateRegistry.js";
|
|
9
|
-
import { F as Ae, a as Ee, S as Ie, F as Ce, W as Oe, b as Ve, c as Be, o as ze, u as Le, w as qe } from "./templateSkeletons-
|
|
9
|
+
import { F as Ae, a as Ee, S as Ie, F as Ce, W as Oe, b as Ve, c as Be, o as ze, u as Le, w as qe } from "./templateSkeletons-f-XQQvyE.js";
|
|
10
10
|
import { d as Me } from "./messages-CO299wPN.js";
|
|
11
11
|
import { l as $e, s as je } from "./bpmn-CtfWDaOY.js";
|
|
12
12
|
import { A as Ue, b as Ye, E as Je, c as Ke, F as Qe, R as Xe, S as Ze, T as es, W as ss, e as os } from "./GatewayBranchEdge-CrgczPYJ.js";
|
|
@@ -8,7 +8,7 @@ import er from "react-select";
|
|
|
8
8
|
import { MdClose as tr, MdCalendarToday as nr, MdBolt as rr, MdArrowBack as Kt, MdChevronRight as Ut, MdAddCircleOutline as or, MdApps as ir, MdErrorOutline as sr, MdAccountTree as lr, MdAdd as ar, MdSearch as dr, MdCategory as cr, MdCancel as Ht, MdError as Vt, MdCheckCircle as qt, MdPlayArrow as Xt, MdHourglassEmpty as fr, MdSchedule as Nt, MdPerson as ur, MdExpandLess as hr, MdExpandMore as gr } from "react-icons/md";
|
|
9
9
|
import { GrTrigger as pr } from "react-icons/gr";
|
|
10
10
|
import { BiCollapse as br, BiExpand as yr } from "react-icons/bi";
|
|
11
|
-
import { j as mr, b as wr, O as vr } from "./index-
|
|
11
|
+
import { j as mr, b as wr, O as vr } from "./index-B-D9UuLO.js";
|
|
12
12
|
import { m as Er } from "./messages-CO299wPN.js";
|
|
13
13
|
import { T as kr, E as ee } from "./canvasTokens-CAD6G24b.js";
|
|
14
14
|
var Jt = Object.defineProperty, xr = (e, t, n) => t in e ? Jt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Tr = (e, t) => {
|
|
@@ -3135,4 +3135,4 @@ export {
|
|
|
3135
3135
|
Cs as u,
|
|
3136
3136
|
js as w
|
|
3137
3137
|
};
|
|
3138
|
-
//# sourceMappingURL=templateSkeletons-
|
|
3138
|
+
//# sourceMappingURL=templateSkeletons-f-XQQvyE.js.map
|