@notmrabhi/flowforge 0.1.53 → 0.1.54

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/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