@notmrabhi/flowforge 0.1.53 → 0.1.55

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.
Files changed (39) hide show
  1. package/dist/GatewayBranchEdge-6rCziASt.js +2 -0
  2. package/dist/GatewayBranchEdge-6rCziASt.js.map +1 -0
  3. package/dist/GatewayBranchEdge-PsxBbEky.js +1538 -0
  4. package/dist/GatewayBranchEdge-PsxBbEky.js.map +1 -0
  5. package/dist/{templateSkeletons-f-XQQvyE.js → WorkflowExecutionHistory-CF0-D-7q.js} +805 -859
  6. package/dist/WorkflowExecutionHistory-CF0-D-7q.js.map +1 -0
  7. package/dist/{templateSkeletons-gOva2Xus.js → WorkflowExecutionHistory-CQkhhFQr.js} +2 -2
  8. package/dist/WorkflowExecutionHistory-CQkhhFQr.js.map +1 -0
  9. package/dist/buildBackendPayload-4SwOp7St.js.map +1 -1
  10. package/dist/buildBackendPayload-BvrjW1uM.js.map +1 -1
  11. package/dist/canvas.cjs +1 -1
  12. package/dist/canvas.d.ts +7 -61
  13. package/dist/canvas.js +21 -25
  14. package/dist/core.cjs +1 -1
  15. package/dist/core.d.ts +7 -24
  16. package/dist/core.js +1 -1
  17. package/dist/defaultUi.cjs +1 -1
  18. package/dist/defaultUi.js +1 -1
  19. package/dist/form.d.ts +0 -35
  20. package/dist/index-B-D9UuLO.js.map +1 -1
  21. package/dist/index-DUbQPmIx.js.map +1 -1
  22. package/dist/index.cjs +1 -1
  23. package/dist/index.cjs.map +1 -1
  24. package/dist/index.d.ts +7 -43
  25. package/dist/index.js +65 -69
  26. package/dist/{messages-O9Tw_XXR.js → messages-Bg7b9RbI.js} +2 -2
  27. package/dist/messages-Bg7b9RbI.js.map +1 -0
  28. package/dist/{messages-CO299wPN.js → messages-CRZgWFU-.js} +15 -8
  29. package/dist/messages-CRZgWFU-.js.map +1 -0
  30. package/dist/nodeRegistry.d.ts +0 -24
  31. package/package.json +1 -1
  32. package/dist/GatewayBranchEdge-CMY30xhz.js +0 -2
  33. package/dist/GatewayBranchEdge-CMY30xhz.js.map +0 -1
  34. package/dist/GatewayBranchEdge-CrgczPYJ.js +0 -1414
  35. package/dist/GatewayBranchEdge-CrgczPYJ.js.map +0 -1
  36. package/dist/messages-CO299wPN.js.map +0 -1
  37. package/dist/messages-O9Tw_XXR.js.map +0 -1
  38. package/dist/templateSkeletons-f-XQQvyE.js.map +0 -1
  39. package/dist/templateSkeletons-gOva2Xus.js.map +0 -1
package/dist/core.d.ts CHANGED
@@ -190,12 +190,6 @@ declare interface ConditionFieldDef {
190
190
  value: string;
191
191
  label: string;
192
192
  }>;
193
- /**
194
- * Declarative dynamic options — same shape as `FieldDescriptor.optionsSource`.
195
- * `dependsOn` resolves against the OUTER form values (not the condition entry),
196
- * so a condition column can depend on another top-level field (e.g. attributes
197
- * scoped by `applicationUuid`).
198
- */
199
193
  optionsSource?: OptionsSource;
200
194
  /** When true, renders a FormulaInput chip editor instead of a plain <input> */
201
195
  formula?: boolean;
@@ -383,6 +377,13 @@ export declare interface FlowForgeMessages {
383
377
  noConfigurationNeeded: string;
384
378
  save: string;
385
379
  cancel: string;
380
+ eventTriggerSourceTitle: string;
381
+ selectTriggerTitle: string;
382
+ schedulerTriggerTitle: string;
383
+ schedulerToBeConfigured: string;
384
+ noSourceSelected: string;
385
+ selectTriggerCta: string;
386
+ clickEditToConfigure: string;
386
387
  }
387
388
 
388
389
  export declare interface GatewaySpec {
@@ -488,26 +489,8 @@ export declare const notificationDescriptor: NodeDescriptor;
488
489
  declare interface OptionsSource {
489
490
  /** Resolver id — must match a key in the host's `optionsResolvers` map. */
490
491
  id: string;
491
- /**
492
- * Other field values this resolver depends on. Two shapes accepted:
493
- * - `string[]` — pass through verbatim ({ fieldA: values.fieldA, ... })
494
- * - `Record<arg, fieldName>` — rename parent values for the resolver
495
- *
496
- * When any dep value changes, the cache key for this field invalidates
497
- * and the resolver re-fires.
498
- */
499
492
  dependsOn?: string[] | Record<string, string>;
500
- /**
501
- * Static params merged into the deps object for every call. Use for
502
- * "URL template via the generic resolver" style:
503
- * { id: 'default', params: { url: '/groups', valueKey: 'uuid' } }
504
- */
505
493
  params?: Record<string, unknown>;
506
- /**
507
- * Lookup individual options by value (edit-mode hydration). When set,
508
- * the field calls this resolver with `{ ids: [...] }` to render labels
509
- * for already-selected values that aren't in the current page.
510
- */
511
494
  resolveValueId?: string;
512
495
  }
513
496
 
package/dist/core.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { NodeTypeRegistry as r, baseNodeDefaults as t, conditionBranchDescriptor as s, defineNode as i, endEventDescriptor as p, makeSubWorkflowDescriptor as a, nodeTypeRegistry as l, notificationDescriptor as d, restApiDescriptor as f, startEventDescriptor as n, subWorkflowDescriptor as c, webhookTriggerDescriptor as m, webhookTriggerTemplate as g } from "./nodeRegistry.js";
2
2
  import { TemplateRegistry as k, templateRegistry as b } from "./templateRegistry.js";
3
- import { d as y } from "./messages-CO299wPN.js";
3
+ import { d as y } from "./messages-CRZgWFU-.js";
4
4
  import { l as u, s as x } from "./bpmn-CtfWDaOY.js";
5
5
  import { b as R } from "./buildBackendPayload-4SwOp7St.js";
6
6
  export {
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GatewayBranchEdge-CMY30xhz.js");exports.ActionNode=e.ActionNode;exports.AddTriggerNode=e.AddTriggerNode;exports.ApprovalNode=e.ApprovalNode;exports.DelayNode=e.DelayNode;exports.EdgeWithPlusLabel=e.EdgeWithPlusLabel;exports.EndNode=e.EndNode;exports.FilterNode=e.FilterNode;exports.GatewayBranchEdge=e.GatewayBranchEdge;exports.LabelPlusEdge=e.LabelPlusEdge;exports.NotificationNode=e.NotificationNode;exports.PlainEdge=e.PlainEdge;exports.PlusEdge=e.PlusEdge;exports.StartNode=e.StartNode;exports.TriggerNode=e.TriggerNode;exports.builtInNodeTypes=e.builtInNodeTypes;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GatewayBranchEdge-6rCziASt.js");exports.ActionNode=e.ActionNode;exports.AddTriggerNode=e.AddTriggerNode;exports.ApprovalNode=e.ApprovalNode;exports.DelayNode=e.DelayNode;exports.EdgeWithPlusLabel=e.EdgeWithPlusLabel;exports.EndNode=e.EndNode;exports.FilterNode=e.FilterNode;exports.GatewayBranchEdge=e.GatewayBranchEdge;exports.LabelPlusEdge=e.LabelPlusEdge;exports.NotificationNode=e.NotificationNode;exports.PlainEdge=e.PlainEdge;exports.PlusEdge=e.PlusEdge;exports.StartNode=e.StartNode;exports.TriggerNode=e.TriggerNode;exports.builtInNodeTypes=e.builtInNodeTypes;
2
2
  //# sourceMappingURL=defaultUi.cjs.map
package/dist/defaultUi.js CHANGED
@@ -1,4 +1,4 @@
1
- import { A as d, a as s, b as o, D as N, E as i, c as l, F as r, G as t, L as g, N as E, P as n, d as P, S as b, T as c, e as p } from "./GatewayBranchEdge-CrgczPYJ.js";
1
+ import { A as d, a as s, b as o, D as N, E as i, c as l, F as r, G as t, L as g, N as E, P as n, d as P, S as b, T as c, e as p } from "./GatewayBranchEdge-PsxBbEky.js";
2
2
  export {
3
3
  d as ActionNode,
4
4
  s as AddTriggerNode,
package/dist/form.d.ts CHANGED
@@ -161,12 +161,6 @@ export declare interface ConditionFieldDef {
161
161
  value: string;
162
162
  label: string;
163
163
  }>;
164
- /**
165
- * Declarative dynamic options — same shape as `FieldDescriptor.optionsSource`.
166
- * `dependsOn` resolves against the OUTER form values (not the condition entry),
167
- * so a condition column can depend on another top-level field (e.g. attributes
168
- * scoped by `applicationUuid`).
169
- */
170
164
  optionsSource?: OptionsSource;
171
165
  /** When true, renders a FormulaInput chip editor instead of a plain <input> */
172
166
  formula?: boolean;
@@ -660,7 +654,6 @@ export declare interface ObjectFieldRendererProps {
660
654
  /** A resolver function — transport-agnostic. */
661
655
  export declare type OptionsResolver = (deps: Record<string, unknown>, ctx: OptionsResolverContext) => Promise<OptionsResolverResult>;
662
656
 
663
- /** Args passed to a resolver per call — cursor for pagination, input for typeahead. */
664
657
  export declare interface OptionsResolverContext {
665
658
  cursor?: unknown;
666
659
  input?: string;
@@ -682,10 +675,6 @@ export declare interface OptionsResolverResult {
682
675
  nextCursor?: unknown;
683
676
  }
684
677
 
685
- /**
686
- * Map of named resolvers — the host registers these once on the canvas / form.
687
- * Keys are the `optionsSource.id` strings referenced by field descriptors.
688
- */
689
678
  export declare type OptionsResolvers = Record<string, OptionsResolver>;
690
679
 
691
680
  declare interface OptionsResolversContextValue {
@@ -702,26 +691,8 @@ export declare function OptionsResolversProvider({ resolvers, children }: Provid
702
691
  export declare interface OptionsSource {
703
692
  /** Resolver id — must match a key in the host's `optionsResolvers` map. */
704
693
  id: string;
705
- /**
706
- * Other field values this resolver depends on. Two shapes accepted:
707
- * - `string[]` — pass through verbatim ({ fieldA: values.fieldA, ... })
708
- * - `Record<arg, fieldName>` — rename parent values for the resolver
709
- *
710
- * When any dep value changes, the cache key for this field invalidates
711
- * and the resolver re-fires.
712
- */
713
694
  dependsOn?: string[] | Record<string, string>;
714
- /**
715
- * Static params merged into the deps object for every call. Use for
716
- * "URL template via the generic resolver" style:
717
- * { id: 'default', params: { url: '/groups', valueKey: 'uuid' } }
718
- */
719
695
  params?: Record<string, unknown>;
720
- /**
721
- * Lookup individual options by value (edit-mode hydration). When set,
722
- * the field calls this resolver with `{ ids: [...] }` to render labels
723
- * for already-selected values that aren't in the current page.
724
- */
725
696
  resolveValueId?: string;
726
697
  }
727
698
 
@@ -1063,12 +1034,6 @@ export declare interface VariablePickerProps {
1063
1034
  * 'popover' — absolutely positioned, shown/hidden via isOpen.
1064
1035
  */
1065
1036
  mode?: 'drawer' | 'popover';
1066
- /**
1067
- * Render the panel via a body-level Portal and fix-position it next to
1068
- * the nearest MUI Drawer (`.MuiDrawer-paper`) so it escapes clipping
1069
- * parents. Only meaningful for `mode='drawer'`; popover mode already
1070
- * portals itself. Default: false.
1071
- */
1072
1037
  floating?: boolean;
1073
1038
  }
1074
1039