@notmrabhi/flowforge 0.1.33 → 0.1.35
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/README.md +2 -0
- package/dist/{SchemaBuilderDrawer-CkUfYbGB.js → SchemaBuilderDrawer-CUzYWGCN.js} +2 -2
- package/dist/{SchemaBuilderDrawer-CkUfYbGB.js.map → SchemaBuilderDrawer-CUzYWGCN.js.map} +1 -1
- package/dist/{SchemaBuilderDrawer-B1dLgTM1.js → SchemaBuilderDrawer-CiSdfXzJ.js} +2 -2
- package/dist/{SchemaBuilderDrawer-B1dLgTM1.js.map → SchemaBuilderDrawer-CiSdfXzJ.js.map} +1 -1
- package/dist/canvas.cjs +1 -1
- package/dist/canvas.d.ts +24 -0
- package/dist/canvas.js +1 -1
- package/dist/core.d.ts +12 -0
- package/dist/form.cjs +1 -1
- package/dist/form.d.ts +15 -0
- package/dist/form.js +2 -2
- package/dist/{index-8bqYHvzi.js → index-B74jTc2b.js} +1001 -989
- package/dist/index-B74jTc2b.js.map +1 -0
- package/dist/{index-BAiSdZW3.js → index-B8-KKaH_.js} +2 -2
- package/dist/{index-BAiSdZW3.js.map → index-B8-KKaH_.js.map} +1 -1
- package/dist/{index-Dlw7CMau.js → index-Buv1ylwP.js} +2 -2
- package/dist/{index-Dlw7CMau.js.map → index-Buv1ylwP.js.map} +1 -1
- package/dist/{index-DNDp8nLT.js → index-CiU9_8f1.js} +2 -2
- package/dist/{index-DNDp8nLT.js.map → index-CiU9_8f1.js.map} +1 -1
- package/dist/{index-BAg_DA8n.js → index-CqMPyOkL.js} +5 -5
- package/dist/index-CqMPyOkL.js.map +1 -0
- package/dist/{index-Dpl-Q8a4.js → index-DjKhaaWf.js} +2 -2
- package/dist/{index-Dpl-Q8a4.js.map → index-DjKhaaWf.js.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +15 -0
- package/dist/index.js +3 -3
- package/dist/nodeRegistry.d.ts +12 -0
- package/dist/{templateSkeletons-B5x8nV9i.js → templateSkeletons-BTC2fk5u.js} +2 -2
- package/dist/{templateSkeletons-B5x8nV9i.js.map → templateSkeletons-BTC2fk5u.js.map} +1 -1
- package/dist/{templateSkeletons-BdFN__gr.js → templateSkeletons-DCvfog6-.js} +2 -2
- package/dist/{templateSkeletons-BdFN__gr.js.map → templateSkeletons-DCvfog6-.js.map} +1 -1
- package/package.json +1 -1
- package/dist/index-8bqYHvzi.js.map +0 -1
- package/dist/index-BAg_DA8n.js.map +0 -1
package/dist/canvas.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./templateSkeletons-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./templateSkeletons-BTC2fk5u.js"),t=require("./messages-O9Tw_XXR.js"),r=require("./bpmn-CcuE2X_Q.js"),e=require("./GatewayBranchEdge-9YF32wwN.js");exports.FlowForgeCanvas=o.FlowForgeCanvas;exports.SubWorkflowPreviewDrawer=o.SubWorkflowPreviewDrawer;exports.WorkflowCanvas=o.FlowForgeCanvas;exports.WorkflowExecutionHistory=o.WorkflowExecutionHistory;exports.WorkflowTemplateLibrary=o.WorkflowTemplateLibrary;exports.accessRequestSkeleton=o.accessRequestSkeleton;exports.offboardingSkeleton=o.offboardingSkeleton;exports.userOnboardingSkeleton=o.userOnboardingSkeleton;exports.webhookIntegrationSkeleton=o.webhookIntegrationSkeleton;exports.defaultFlowForgeMessages=t.defaultFlowForgeMessages;exports.loadWorkflowFromBpmn=r.loadWorkflowFromBpmn;exports.saveWorkflowToBpmn=r.saveWorkflowToBpmn;exports.ActionNode=e.ActionNode;exports.ApprovalNode=e.ApprovalNode;exports.EdgeWithPlusLabel=e.EdgeWithPlusLabel;exports.EndNode=e.EndNode;exports.FilterNode=e.FilterNode;exports.RestApiNode=e.RestApiNode;exports.StartNode=e.StartNode;exports.TriggerNode=e.TriggerNode;exports.WebhookTriggerNode=e.WebhookTriggerNode;exports.builtInNodeTypes=e.builtInNodeTypes;
|
|
2
2
|
//# sourceMappingURL=canvas.cjs.map
|
package/dist/canvas.d.ts
CHANGED
|
@@ -284,6 +284,18 @@ declare interface FieldDescriptor {
|
|
|
284
284
|
shouldHide?: (ctx: FieldContext) => boolean;
|
|
285
285
|
shouldDisable?: (ctx: FieldContext) => boolean;
|
|
286
286
|
shouldRequire?: (ctx: FieldContext) => boolean;
|
|
287
|
+
/**
|
|
288
|
+
* When true, the field's value is auto-cleared (reset to `defaultValue`,
|
|
289
|
+
* or removed if no default) any time `shouldHide` evaluates to true —
|
|
290
|
+
* including on mount when the saved data has orphan values from a prior
|
|
291
|
+
* configuration. Default: false (values persist while hidden, preserving
|
|
292
|
+
* legacy behavior).
|
|
293
|
+
*
|
|
294
|
+
* Use this on conditional fields where stale data would corrupt the
|
|
295
|
+
* payload (e.g. `template` should be empty when `valueSource !== 'template'`).
|
|
296
|
+
*/
|
|
297
|
+
clearOnHide?: boolean;
|
|
298
|
+
defaultValue?: unknown;
|
|
287
299
|
compute?: (ctx: FieldContext) => unknown;
|
|
288
300
|
transform?: FieldTransform;
|
|
289
301
|
onChange?: (value: unknown, ctx: FieldContext & {
|
|
@@ -320,6 +332,18 @@ declare interface FieldDescriptor_2 {
|
|
|
320
332
|
shouldHide?: (ctx: FieldContext_2) => boolean;
|
|
321
333
|
shouldDisable?: (ctx: FieldContext_2) => boolean;
|
|
322
334
|
shouldRequire?: (ctx: FieldContext_2) => boolean;
|
|
335
|
+
/**
|
|
336
|
+
* When true, the field's value is auto-cleared (reset to `defaultValue`,
|
|
337
|
+
* or removed if no default) any time `shouldHide` evaluates to true —
|
|
338
|
+
* including on mount when the saved data has orphan values from a prior
|
|
339
|
+
* configuration. Default: false (values persist while hidden, preserving
|
|
340
|
+
* legacy behavior).
|
|
341
|
+
*
|
|
342
|
+
* Use this on conditional fields where stale data would corrupt the
|
|
343
|
+
* payload (e.g. `template` should be empty when `valueSource !== 'template'`).
|
|
344
|
+
*/
|
|
345
|
+
clearOnHide?: boolean;
|
|
346
|
+
defaultValue?: unknown;
|
|
323
347
|
compute?: (ctx: FieldContext_2) => unknown;
|
|
324
348
|
transform?: FieldTransform_2;
|
|
325
349
|
onChange?: (value: unknown, ctx: FieldContext_2 & {
|
package/dist/canvas.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as a, S as s, F as r, W as t, a as l, b as n, o as d, u as i, w as f } from "./templateSkeletons-
|
|
1
|
+
import { F as a, S as s, F as r, W as t, a as l, b as n, o as d, u as i, w as f } from "./templateSkeletons-DCvfog6-.js";
|
|
2
2
|
import { d as w } from "./messages-CO299wPN.js";
|
|
3
3
|
import { l as p, s as b } from "./bpmn-CtfWDaOY.js";
|
|
4
4
|
import { A as F, b as N, E as m, c as u, F as S, R as T, S as c, T as v, W as x, e as A } from "./GatewayBranchEdge-Dxoy5B1A.js";
|
package/dist/core.d.ts
CHANGED
|
@@ -156,6 +156,18 @@ declare interface FieldDescriptor {
|
|
|
156
156
|
shouldHide?: (ctx: FieldContext) => boolean;
|
|
157
157
|
shouldDisable?: (ctx: FieldContext) => boolean;
|
|
158
158
|
shouldRequire?: (ctx: FieldContext) => boolean;
|
|
159
|
+
/**
|
|
160
|
+
* When true, the field's value is auto-cleared (reset to `defaultValue`,
|
|
161
|
+
* or removed if no default) any time `shouldHide` evaluates to true —
|
|
162
|
+
* including on mount when the saved data has orphan values from a prior
|
|
163
|
+
* configuration. Default: false (values persist while hidden, preserving
|
|
164
|
+
* legacy behavior).
|
|
165
|
+
*
|
|
166
|
+
* Use this on conditional fields where stale data would corrupt the
|
|
167
|
+
* payload (e.g. `template` should be empty when `valueSource !== 'template'`).
|
|
168
|
+
*/
|
|
169
|
+
clearOnHide?: boolean;
|
|
170
|
+
defaultValue?: unknown;
|
|
159
171
|
compute?: (ctx: FieldContext) => unknown;
|
|
160
172
|
transform?: FieldTransform;
|
|
161
173
|
onChange?: (value: unknown, ctx: FieldContext & {
|
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-CqMPyOkL.js"),r=require("./SchemaBuilderDrawer-CiSdfXzJ.js");require("react/jsx-runtime");require("react");require("@mui/material");require("react-icons/md");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.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.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.useVariablePickerContext=e.useVariablePickerContext;exports.wrapFormula=e.wrapFormula;exports.FIELD_TYPE_OPTIONS=r.FIELD_TYPE_OPTIONS;exports.SchemaBuilder=r.SchemaBuilder;exports.SchemaBuilderDrawer=r.SchemaBuilderDrawer;exports.useFlowForm=r.useFlowForm;
|
|
2
2
|
//# sourceMappingURL=form.cjs.map
|
package/dist/form.d.ts
CHANGED
|
@@ -339,6 +339,18 @@ export declare interface FieldDescriptor {
|
|
|
339
339
|
shouldHide?: (ctx: FieldContext) => boolean;
|
|
340
340
|
shouldDisable?: (ctx: FieldContext) => boolean;
|
|
341
341
|
shouldRequire?: (ctx: FieldContext) => boolean;
|
|
342
|
+
/**
|
|
343
|
+
* When true, the field's value is auto-cleared (reset to `defaultValue`,
|
|
344
|
+
* or removed if no default) any time `shouldHide` evaluates to true —
|
|
345
|
+
* including on mount when the saved data has orphan values from a prior
|
|
346
|
+
* configuration. Default: false (values persist while hidden, preserving
|
|
347
|
+
* legacy behavior).
|
|
348
|
+
*
|
|
349
|
+
* Use this on conditional fields where stale data would corrupt the
|
|
350
|
+
* payload (e.g. `template` should be empty when `valueSource !== 'template'`).
|
|
351
|
+
*/
|
|
352
|
+
clearOnHide?: boolean;
|
|
353
|
+
defaultValue?: unknown;
|
|
342
354
|
compute?: (ctx: FieldContext) => unknown;
|
|
343
355
|
transform?: FieldTransform;
|
|
344
356
|
onChange?: (value: unknown, ctx: FieldContext & {
|
|
@@ -361,6 +373,9 @@ export declare const fieldRegistry: {
|
|
|
361
373
|
register(type: string, component: FieldComponent): void;
|
|
362
374
|
get(type: string): FieldComponent | undefined;
|
|
363
375
|
has(type: string): boolean;
|
|
376
|
+
/** List every registered field type. Used by the DEV-mode "did you mean…"
|
|
377
|
+
* suggestion when a schema specifies an unknown `type`. */
|
|
378
|
+
keys(): string[];
|
|
364
379
|
};
|
|
365
380
|
|
|
366
381
|
/** Optional pre-defined field suggestions (e.g. common fields for this node type) */
|
package/dist/form.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as o, F as t, a as u, b as F, c as m, I as n, T as d, V as p, d as S, e as T, f as c, g as b, h as k, i as y, j as P, k as f, l as x, m as h, n as w, o as g, p as z, q as A, r as I, s as V, t as C, u as D, v as E, w as R, x as v, y as B, z as L, A as O } from "./index-
|
|
2
|
-
import { F as j, S as q, a as H, u as N } from "./SchemaBuilderDrawer-
|
|
1
|
+
import { D as o, F as t, a as u, b as F, c as m, I as n, T as d, V as p, d as S, e as T, f as c, g as b, h as k, i as y, j as P, k as f, l as x, m as h, n as w, o as g, p as z, q as A, r as I, s as V, t as C, u as D, v as E, w as R, x as v, y as B, z as L, A as O } from "./index-B74jTc2b.js";
|
|
2
|
+
import { F as j, S as q, a as H, u as N } from "./SchemaBuilderDrawer-CUzYWGCN.js";
|
|
3
3
|
import "react/jsx-runtime";
|
|
4
4
|
import "react";
|
|
5
5
|
import "@mui/material";
|