@notmrabhi/flowforge 0.1.56 → 0.1.57

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 (27) hide show
  1. package/dist/{SchemaBuilderDrawer-BqNqYbVF.js → SchemaBuilderDrawer-9m1q_f4y.js} +2 -2
  2. package/dist/{SchemaBuilderDrawer-BqNqYbVF.js.map → SchemaBuilderDrawer-9m1q_f4y.js.map} +1 -1
  3. package/dist/{SchemaBuilderDrawer-C1VhNFEm.js → SchemaBuilderDrawer-C54xKa-P.js} +2 -2
  4. package/dist/{SchemaBuilderDrawer-C1VhNFEm.js.map → SchemaBuilderDrawer-C54xKa-P.js.map} +1 -1
  5. package/dist/{WorkflowExecutionHistory-BuTFR_lG.js → WorkflowExecutionHistory-DsrLtY5i.js} +2 -2
  6. package/dist/{WorkflowExecutionHistory-BuTFR_lG.js.map → WorkflowExecutionHistory-DsrLtY5i.js.map} +1 -1
  7. package/dist/{WorkflowExecutionHistory-DeakdR2x.js → WorkflowExecutionHistory-n2xLZdI9.js} +2 -2
  8. package/dist/{WorkflowExecutionHistory-DeakdR2x.js.map → WorkflowExecutionHistory-n2xLZdI9.js.map} +1 -1
  9. package/dist/canvas.cjs +1 -1
  10. package/dist/canvas.js +1 -1
  11. package/dist/form.cjs +1 -1
  12. package/dist/form.js +2 -2
  13. package/dist/{index-DgFeszTW.js → index-BQHjXZIn.js} +2 -2
  14. package/dist/{index-DgFeszTW.js.map → index-BQHjXZIn.js.map} +1 -1
  15. package/dist/{index-DKZKHw5W.js → index-BypSWEYO.js} +5 -5
  16. package/dist/{index-DKZKHw5W.js.map → index-BypSWEYO.js.map} +1 -1
  17. package/dist/{index-CEDP3md_.js → index-D-ObmLY1.js} +99 -89
  18. package/dist/{index-CEDP3md_.js.map → index-D-ObmLY1.js.map} +1 -1
  19. package/dist/{index-BEgvjJKb.js → index-DNBDuEzF.js} +2 -2
  20. package/dist/{index-BEgvjJKb.js.map → index-DNBDuEzF.js.map} +1 -1
  21. package/dist/{index-Cgy0mjGX.js → index-b0hy-r3d.js} +2 -2
  22. package/dist/{index-Cgy0mjGX.js.map → index-b0hy-r3d.js.map} +1 -1
  23. package/dist/{index-DXoOohrF.js → index-hByI0uXP.js} +2 -2
  24. package/dist/{index-DXoOohrF.js.map → index-hByI0uXP.js.map} +1 -1
  25. package/dist/index.cjs +1 -1
  26. package/dist/index.js +3 -3
  27. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  import { jsxs as E, jsx as d, Fragment as Te } from "react/jsx-runtime";
2
2
  import * as K from "react";
3
- import tt, { createContext as rt, useContext as Je, useState as W, useRef as z, useCallback as k, useEffect as q, useMemo as re, useLayoutEffect as vo, Component as Gr, Fragment as Kt, forwardRef as Gt, Suspense as Br, useImperativeHandle as Io } from "react";
3
+ import Je, { createContext as rt, useContext as Ye, useState as W, useRef as z, useCallback as k, useEffect as q, useMemo as re, useLayoutEffect as vo, Component as Gr, Fragment as Kt, forwardRef as Gt, Suspense as Br, useImperativeHandle as Io } from "react";
4
4
  import { FormikProvider as Mn, Formik as yo, Form as xo, useField as Co, useFormikContext as Bt } from "formik";
5
5
  import { MdInfoOutline as Ao, MdDataObject as Vt, MdClose as Ge, MdSearch as bn, MdKeyboardArrowRight as hn, MdContentCopy as So, MdCheckCircle as Ro, MdAdd as nt, MdUploadFile as Eo, MdInsertDriveFile as Oo, MdDeleteOutline as Vr, MdKeyboardArrowDown as Fo } from "react-icons/md";
6
6
  import { Tooltip as Ee, IconButton as Dr, Box as D, Typography as fe, InputBase as wo, Divider as mn, Collapse as Nr, Snackbar as To, Alert as Go, Select as Pr, MenuItem as vt, TextField as Lr, FormControlLabel as Mr, Switch as Bo, RadioGroup as Vo, Radio as Do, Slider as No, Chip as Po, Button as Wn } from "@mui/material";
@@ -397,7 +397,7 @@ function qo({ groups: t, children: e }) {
397
397
  }, children: e });
398
398
  }
399
399
  function it() {
400
- return Je(jr);
400
+ return Ye(jr);
401
401
  }
402
402
  function Ko(t, e) {
403
403
  return Cn({ expr: Yr(t), label: e, path: t });
@@ -1865,7 +1865,7 @@ function Za(t) {
1865
1865
  function _a(t) {
1866
1866
  return Array.isArray(t);
1867
1867
  }
1868
- function qe(t, e, n) {
1868
+ function Ke(t, e, n) {
1869
1869
  return t ? e : n;
1870
1870
  }
1871
1871
  var Ja = function(e) {
@@ -1969,7 +1969,7 @@ var fi = function(e) {
1969
1969
  marginTop: u.menuGutter
1970
1970
  });
1971
1971
  }, pi = /* @__PURE__ */ rt(null), qa = function(e) {
1972
- var n = e.children, i = e.minMenuHeight, r = e.maxMenuHeight, a = e.menuPlacement, o = e.menuPosition, u = e.menuShouldScrollIntoView, s = e.theme, l = Je(pi) || {}, c = l.setPortalPlacement, f = z(null), g = W(r), p = le(g, 2), m = p[0], b = p[1], h = W(null), v = le(h, 2), A = v[0], x = v[1], I = s.spacing.controlHeight;
1972
+ var n = e.children, i = e.minMenuHeight, r = e.maxMenuHeight, a = e.menuPlacement, o = e.menuPosition, u = e.menuShouldScrollIntoView, s = e.theme, l = Ye(pi) || {}, c = l.setPortalPlacement, f = z(null), g = W(r), p = le(g, 2), m = p[0], b = p[1], h = W(null), v = le(h, 2), A = v[0], x = v[1], I = s.spacing.controlHeight;
1973
1973
  return on(function() {
1974
1974
  var C = f.current;
1975
1975
  if (C) {
@@ -3101,7 +3101,7 @@ function rr() {
3101
3101
  function ir() {
3102
3102
  return "ontouchstart" in window || navigator.maxTouchPoints;
3103
3103
  }
3104
- var or = !!(typeof window < "u" && window.document && window.document.createElement), Qe = 0, Xe = {
3104
+ var or = !!(typeof window < "u" && window.document && window.document.createElement), qe = 0, Xe = {
3105
3105
  capture: !1,
3106
3106
  passive: !1
3107
3107
  };
@@ -3112,19 +3112,19 @@ function Rl(t) {
3112
3112
  if (i && Kn.forEach(function(m) {
3113
3113
  var b = c && c[m];
3114
3114
  r.current[m] = b;
3115
- }), i && Qe < 1) {
3115
+ }), i && qe < 1) {
3116
3116
  var f = parseInt(r.current.paddingRight, 10) || 0, g = document.body ? document.body.clientWidth : 0, p = window.innerWidth - g + f || 0;
3117
3117
  Object.keys(er).forEach(function(m) {
3118
3118
  var b = er[m];
3119
3119
  c && (c[m] = b);
3120
3120
  }), c && (c.paddingRight = "".concat(p, "px"));
3121
3121
  }
3122
- l && ir() && (l.addEventListener("touchmove", tr, Xe), s && (s.addEventListener("touchstart", rr, Xe), s.addEventListener("touchmove", nr, Xe))), Qe += 1;
3122
+ l && ir() && (l.addEventListener("touchmove", tr, Xe), s && (s.addEventListener("touchstart", rr, Xe), s.addEventListener("touchmove", nr, Xe))), qe += 1;
3123
3123
  }
3124
3124
  }, [i]), u = k(function(s) {
3125
3125
  if (or) {
3126
3126
  var l = document.body, c = l && l.style;
3127
- Qe = Math.max(Qe - 1, 0), i && Qe < 1 && Kn.forEach(function(f) {
3127
+ qe = Math.max(qe - 1, 0), i && qe < 1 && Kn.forEach(function(f) {
3128
3128
  var g = r.current[f];
3129
3129
  c && (c[f] = g);
3130
3130
  }), l && ir() && (l.removeEventListener("touchmove", tr, Xe), s && (s.removeEventListener("touchstart", rr, Xe), s.removeEventListener("touchmove", nr, Xe)));
@@ -3493,19 +3493,19 @@ var Gi = function(e) {
3493
3493
  }, r.removeValue = function(s) {
3494
3494
  var l = r.props.isMulti, c = r.state.selectValue, f = r.getOptionValue(s), g = c.filter(function(m) {
3495
3495
  return r.getOptionValue(m) !== f;
3496
- }), p = qe(l, g, g[0] || null);
3496
+ }), p = Ke(l, g, g[0] || null);
3497
3497
  r.onChange(p, {
3498
3498
  action: "remove-value",
3499
3499
  removedValue: s
3500
3500
  }), r.focusInput();
3501
3501
  }, r.clearValue = function() {
3502
3502
  var s = r.state.selectValue;
3503
- r.onChange(qe(r.props.isMulti, [], null), {
3503
+ r.onChange(Ke(r.props.isMulti, [], null), {
3504
3504
  action: "clear",
3505
3505
  removedValues: s
3506
3506
  });
3507
3507
  }, r.popValue = function() {
3508
- var s = r.props.isMulti, l = r.state.selectValue, c = l[l.length - 1], f = l.slice(0, l.length - 1), g = qe(s, f, f[0] || null);
3508
+ var s = r.props.isMulti, l = r.state.selectValue, c = l[l.length - 1], f = l.slice(0, l.length - 1), g = Ke(s, f, f[0] || null);
3509
3509
  c && r.onChange(g, {
3510
3510
  action: "pop-value",
3511
3511
  removedValue: c
@@ -4117,22 +4117,22 @@ var Gi = function(e) {
4117
4117
  var r = this, a = this.getComponents(), o = a.Group, u = a.GroupHeading, s = a.Menu, l = a.MenuList, c = a.MenuPortal, f = a.LoadingMessage, g = a.NoOptionsMessage, p = a.Option, m = this.commonProps, b = this.state.focusedOption, h = this.props, v = h.captureMenuScroll, A = h.inputValue, x = h.isLoading, I = h.loadingMessage, C = h.minMenuHeight, y = h.maxMenuHeight, S = h.menuIsOpen, O = h.menuPlacement, G = h.menuPosition, M = h.menuPortalTarget, N = h.menuShouldBlockScroll, L = h.menuShouldScrollIntoView, B = h.noOptionsMessage, F = h.onMenuScrollToTop, V = h.onMenuScrollToBottom;
4118
4118
  if (!S) return null;
4119
4119
  var Z = function(_, T) {
4120
- var P = _.type, j = _.data, Q = _.isDisabled, ne = _.isSelected, oe = _.label, Ce = _.value, Ie = b === j, je = Q ? void 0 : function() {
4120
+ var P = _.type, j = _.data, Q = _.isDisabled, ne = _.isSelected, oe = _.label, Ce = _.value, Ie = b === j, $e = Q ? void 0 : function() {
4121
4121
  return r.onOptionHover(j);
4122
4122
  }, Wt = Q ? void 0 : function() {
4123
4123
  return r.selectOption(j);
4124
- }, ot = "".concat(r.getElementId("option"), "-").concat(T), $e = {
4124
+ }, ot = "".concat(r.getElementId("option"), "-").concat(T), Ue = {
4125
4125
  id: ot,
4126
4126
  onClick: Wt,
4127
- onMouseMove: je,
4128
- onMouseOver: je,
4127
+ onMouseMove: $e,
4128
+ onMouseOver: $e,
4129
4129
  tabIndex: -1,
4130
4130
  role: "option",
4131
4131
  "aria-selected": r.state.isAppleDevice ? void 0 : ne
4132
4132
  // is not supported on Apple devices
4133
4133
  };
4134
4134
  return /* @__PURE__ */ K.createElement(p, Y({}, m, {
4135
- innerProps: $e,
4135
+ innerProps: Ue,
4136
4136
  data: j,
4137
4137
  isDisabled: Q,
4138
4138
  isSelected: ne,
@@ -4327,7 +4327,7 @@ var Gi = function(e) {
4327
4327
  inputIsHiddenAfterUpdate: void 0
4328
4328
  } : {}, M = l, N = c && f;
4329
4329
  return c && !N && (M = {
4330
- value: qe(v, A, A[0] || null),
4330
+ value: Ke(v, A, A[0] || null),
4331
4331
  options: A,
4332
4332
  action: "initial-input-focus"
4333
4333
  }, N = !f), (l == null ? void 0 : l.action) === "initial-input-focus" && (M = null), H(H(H({}, x), G), {}, {
@@ -4365,26 +4365,26 @@ var ql = ["defaultOptions", "cacheOptions", "loadOptions", "options", "isLoading
4365
4365
  function Bi(t) {
4366
4366
  var e = t.defaultOptions, n = e === void 0 ? !1 : e, i = t.cacheOptions, r = i === void 0 ? !1 : i, a = t.loadOptions;
4367
4367
  t.options;
4368
- var o = t.isLoading, u = o === void 0 ? !1 : o, s = t.onInputChange, l = t.filterOption, c = l === void 0 ? null : l, f = ve(t, ql), g = f.inputValue, p = z(void 0), m = z(!1), b = W(Array.isArray(n) ? n : void 0), h = le(b, 2), v = h[0], A = h[1], x = W(typeof g < "u" ? g : ""), I = le(x, 2), C = I[0], y = I[1], S = W(n === !0), O = le(S, 2), G = O[0], M = O[1], N = W(void 0), L = le(N, 2), B = L[0], F = L[1], V = W([]), Z = le(V, 2), U = Z[0], $ = Z[1], ie = W(!1), se = le(ie, 2), X = se[0], w = se[1], _ = W({}), T = le(_, 2), P = T[0], j = T[1], Q = W(void 0), ne = le(Q, 2), oe = ne[0], Ce = ne[1], Ie = W(void 0), je = le(Ie, 2), Wt = je[0], ot = je[1];
4368
+ var o = t.isLoading, u = o === void 0 ? !1 : o, s = t.onInputChange, l = t.filterOption, c = l === void 0 ? null : l, f = ve(t, ql), g = f.inputValue, p = z(void 0), m = z(!1), b = W(Array.isArray(n) ? n : void 0), h = le(b, 2), v = h[0], A = h[1], x = W(typeof g < "u" ? g : ""), I = le(x, 2), C = I[0], y = I[1], S = W(n === !0), O = le(S, 2), G = O[0], M = O[1], N = W(void 0), L = le(N, 2), B = L[0], F = L[1], V = W([]), Z = le(V, 2), U = Z[0], $ = Z[1], ie = W(!1), se = le(ie, 2), X = se[0], w = se[1], _ = W({}), T = le(_, 2), P = T[0], j = T[1], Q = W(void 0), ne = le(Q, 2), oe = ne[0], Ce = ne[1], Ie = W(void 0), $e = le(Ie, 2), Wt = $e[0], ot = $e[1];
4369
4369
  r !== Wt && (j({}), ot(r)), n !== oe && (A(Array.isArray(n) ? n : void 0), Ce(n)), q(function() {
4370
4370
  return m.current = !0, function() {
4371
4371
  m.current = !1;
4372
4372
  };
4373
4373
  }, []);
4374
- var $e = k(function(Ue, We) {
4374
+ var Ue = k(function(Qe, We) {
4375
4375
  if (!a) return We();
4376
- var be = a(Ue, We);
4376
+ var be = a(Qe, We);
4377
4377
  be && typeof be.then == "function" && be.then(We, function() {
4378
4378
  return We();
4379
4379
  });
4380
4380
  }, [a]);
4381
4381
  q(function() {
4382
- n === !0 && $e(C, function(Ue) {
4383
- m.current && (A(Ue || []), M(!!p.current));
4382
+ n === !0 && Ue(C, function(Qe) {
4383
+ m.current && (A(Qe || []), M(!!p.current));
4384
4384
  });
4385
4385
  }, []);
4386
- var bo = k(function(Ue, We) {
4387
- var be = Pa(Ue, We, s);
4386
+ var bo = k(function(Qe, We) {
4387
+ var be = Pa(Qe, We, s);
4388
4388
  if (!be) {
4389
4389
  p.current = void 0, y(""), F(""), $([]), M(!1), w(!1);
4390
4390
  return;
@@ -4393,11 +4393,11 @@ function Bi(t) {
4393
4393
  y(be), F(be), $(P[be]), M(!1), w(!1);
4394
4394
  else {
4395
4395
  var mo = p.current = {};
4396
- y(be), M(!0), w(!B), $e(be, function(Xt) {
4396
+ y(be), M(!0), w(!B), Ue(be, function(Xt) {
4397
4397
  m && mo === p.current && (p.current = void 0, M(!1), F(be), $(Xt || []), w(!1), j(Xt ? H(H({}, P), {}, He({}, be, Xt)) : P));
4398
4398
  });
4399
4399
  }
4400
- }, [r, $e, B, P, s]), ho = X ? [] : C && B ? U : v || [];
4400
+ }, [r, Ue, B, P, s]), ho = X ? [] : C && B ? U : v || [];
4401
4401
  return H(H({}, f), {}, {
4402
4402
  options: ho,
4403
4403
  isLoading: G || u,
@@ -4452,7 +4452,7 @@ function Vi(t) {
4452
4452
  name: O,
4453
4453
  option: V
4454
4454
  };
4455
- m(qe(y, [].concat(_e(Rt(S)), [V]), V), Z);
4455
+ m(Ke(y, [].concat(_e(Rt(S)), [V]), V), Z);
4456
4456
  }
4457
4457
  return;
4458
4458
  }
@@ -4638,7 +4638,7 @@ function cr(t) {
4638
4638
  );
4639
4639
  }
4640
4640
  function lu({ source: t, values: e }) {
4641
- const n = Je(Gn), i = n[Ni], r = t == null ? void 0 : t.id, a = r ? n.resolvers[r] : void 0, o = re(
4641
+ const n = Ye(Gn), i = n[Ni], r = t == null ? void 0 : t.id, a = r ? n.resolvers[r] : void 0, o = re(
4642
4642
  () => t ? su(t.dependsOn, e, t.params) : {},
4643
4643
  // eslint-disable-next-line react-hooks/exhaustive-deps
4644
4644
  [t, ...Object.values(e ?? {})]
@@ -4705,7 +4705,7 @@ function lu({ source: t, values: e }) {
4705
4705
  };
4706
4706
  }
4707
4707
  function Gd() {
4708
- return Je(Gn);
4708
+ return Ye(Gn);
4709
4709
  }
4710
4710
  function uu({ field: t, value: e, values: n, onChange: i, onBlur: r, error: a, touched: o, formulaConfig: u, onFormulaConfigChange: s }) {
4711
4711
  var B;
@@ -5520,7 +5520,7 @@ function Lt(t) {
5520
5520
  function Cu(t) {
5521
5521
  return `ff-form-col-${t}`;
5522
5522
  }
5523
- function Ke({ field: t, children: e, compact: n }) {
5523
+ function et({ field: t, children: e, compact: n }) {
5524
5524
  const i = typeof t.colSpan == "number" ? t.colSpan : 12;
5525
5525
  return /* @__PURE__ */ E(Te, { children: [
5526
5526
  /* @__PURE__ */ d(
@@ -5553,7 +5553,7 @@ function Au({
5553
5553
  onBlur: r
5554
5554
  }) {
5555
5555
  const a = te.get(t.type);
5556
- return a ? /* @__PURE__ */ d(Ke, { field: t, children: /* @__PURE__ */ d(
5556
+ return a ? /* @__PURE__ */ d(et, { field: t, children: /* @__PURE__ */ d(
5557
5557
  a,
5558
5558
  {
5559
5559
  field: t,
@@ -6269,7 +6269,7 @@ function Bu({
6269
6269
  (s || p) && /* @__PURE__ */ d("small", { "data-testid": `${u}-error`, style: pe, children: p ?? r })
6270
6270
  ] });
6271
6271
  }
6272
- const Vu = tt.lazy(async () => ({ default: (await import("./index-Cgy0mjGX.js")).default }));
6272
+ const Vu = Je.lazy(async () => ({ default: (await import("./index-b0hy-r3d.js")).default }));
6273
6273
  async function Du(t) {
6274
6274
  switch (t) {
6275
6275
  case "python":
@@ -6294,8 +6294,8 @@ function Xi({
6294
6294
  style: s,
6295
6295
  fallbackHeight: l
6296
6296
  }) {
6297
- const [c, f] = tt.useState(null);
6298
- tt.useEffect(() => {
6297
+ const [c, f] = Je.useState(null);
6298
+ Je.useEffect(() => {
6299
6299
  let p = !0;
6300
6300
  return Du(t).then((m) => {
6301
6301
  p && f(m);
@@ -6477,8 +6477,8 @@ function Lu({
6477
6477
  s && /* @__PURE__ */ d("small", { "data-testid": `${u}-error`, style: pe, children: r })
6478
6478
  ] });
6479
6479
  }
6480
- const Mu = tt.lazy(
6481
- () => import("./index-DgFeszTW.js").then((t) => t.i).then((t) => (Promise.resolve({ }), { default: t.default }))
6480
+ const Mu = Je.lazy(
6481
+ () => import("./index-BQHjXZIn.js").then((t) => t.i).then((t) => (Promise.resolve({ }), { default: t.default }))
6482
6482
  ), Wu = [
6483
6483
  [{ header: [1, 2, 3, !1] }],
6484
6484
  ["bold", "italic", "underline", "strike"],
@@ -6551,7 +6551,7 @@ if (typeof document < "u" && !document.getElementById("ff-spin-style")) {
6551
6551
  t.id = "ff-spin-style", t.textContent = "@keyframes ff-spin { to { transform: rotate(360deg); } }", document.head.appendChild(t);
6552
6552
  }
6553
6553
  function zu(t) {
6554
- const { onScrollBottom: e, isLoading: n, hasMore: i, innerRef: r, children: a, ...o } = t, u = tt.Children.count(a) > 0, s = z(null), l = k((c) => {
6554
+ const { onScrollBottom: e, isLoading: n, hasMore: i, innerRef: r, children: a, ...o } = t, u = Je.Children.count(a) > 0, s = z(null), l = k((c) => {
6555
6555
  s.current = c, typeof r == "function" ? r(c) : r && "current" in r && (r.current = c);
6556
6556
  }, [r]);
6557
6557
  return q(() => {
@@ -6801,21 +6801,21 @@ var Bd = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
6801
6801
  function Ju(t) {
6802
6802
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
6803
6803
  }
6804
- function Ye(t) {
6804
+ function je(t) {
6805
6805
  this._maxSize = t, this.clear();
6806
6806
  }
6807
- Ye.prototype.clear = function() {
6807
+ je.prototype.clear = function() {
6808
6808
  this._size = 0, this._values = /* @__PURE__ */ Object.create(null);
6809
6809
  };
6810
- Ye.prototype.get = function(t) {
6810
+ je.prototype.get = function(t) {
6811
6811
  return this._values[t];
6812
6812
  };
6813
- Ye.prototype.set = function(t, e) {
6813
+ je.prototype.set = function(t, e) {
6814
6814
  return this._size >= this._maxSize && this.clear(), t in this._values || this._size++, this._values[t] = e;
6815
6815
  };
6816
- var Yu = /[^.^\]^[]+|(?=\[\]|\.\.)/g, ki = /^\d+$/, ju = /^\d/, $u = /[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g, Uu = /^\s*(['"]?)(.*?)(\1)\s*$/, Vn = 512, br = new Ye(Vn);
6817
- new Ye(Vn);
6818
- var hr = new Ye(Vn), Ne = {
6816
+ var Yu = /[^.^\]^[]+|(?=\[\]|\.\.)/g, ki = /^\d+$/, ju = /^\d/, $u = /[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g, Uu = /^\s*(['"]?)(.*?)(\1)\s*$/, Vn = 512, br = new je(Vn);
6817
+ new je(Vn);
6818
+ var hr = new je(Vn), Ne = {
6819
6819
  split: ln,
6820
6820
  normalizePath: mr,
6821
6821
  getter: function(t, e) {
@@ -9523,7 +9523,7 @@ function $c({
9523
9523
  }
9524
9524
  const Uc = rt(null);
9525
9525
  function Qc() {
9526
- return Je(Uc);
9526
+ return Ye(Uc);
9527
9527
  }
9528
9528
  function qc({
9529
9529
  field: t,
@@ -9993,7 +9993,7 @@ function fo({
9993
9993
  return /* @__PURE__ */ d(co.Provider, { value: { formulaConfig: t, onFormulaConfigChange: e, conditionConfig: n, onConditionConfigChange: i }, children: r });
9994
9994
  }
9995
9995
  function id() {
9996
- return Je(co);
9996
+ return Ye(co);
9997
9997
  }
9998
9998
  function Pe(t, e) {
9999
9999
  return e.split(".").reduce((n, i) => {
@@ -10218,7 +10218,7 @@ function go({
10218
10218
  return /* @__PURE__ */ d("div", { className: "ff-form-grid", children: s.map((l) => {
10219
10219
  const c = Tt(l);
10220
10220
  return /* @__PURE__ */ d(po, { fieldId: c, children: /* @__PURE__ */ d(
10221
- et,
10221
+ tt,
10222
10222
  {
10223
10223
  field: l,
10224
10224
  pathPrefix: c,
@@ -10257,29 +10257,19 @@ function cd({
10257
10257
  return p(i);
10258
10258
  }, [i, l]);
10259
10259
  return /* @__PURE__ */ E("div", { className: "ff-form-grid", children: [
10260
- /* @__PURE__ */ d(
10261
- "div",
10262
- {
10263
- style: {
10264
- display: "flex",
10265
- gap: 8,
10266
- marginBottom: 16,
10267
- paddingBottom: 12,
10268
- borderBottom: "1px solid #e5e7eb"
10269
- },
10270
- children: t.map((f, g) => /* @__PURE__ */ E(
10260
+ /* @__PURE__ */ d("div", { style: { marginBottom: 16, paddingTop: 4 }, children: /* @__PURE__ */ d("div", { style: { display: "flex", alignItems: "center", position: "relative" }, children: t.map((f, g) => {
10261
+ const p = g < u, m = g === u, b = g <= u, h = p || m ? "#1976d2" : "#e2e8f0", v = p || m ? "#fff" : "#64748b";
10262
+ return /* @__PURE__ */ E(Je.Fragment, { children: [
10263
+ /* @__PURE__ */ E(
10271
10264
  "div",
10272
10265
  {
10273
- onClick: () => g <= u && s(g),
10266
+ onClick: () => b && s(g),
10274
10267
  style: {
10275
10268
  display: "flex",
10269
+ flexDirection: "column",
10276
10270
  alignItems: "center",
10277
- gap: 8,
10278
- padding: "6px 12px",
10279
- borderRadius: 6,
10280
- cursor: g <= u ? "pointer" : "default",
10281
- background: g === u ? "#eff6ff" : "transparent",
10282
- border: g === u ? "1px solid #bfdbfe" : "1px solid transparent"
10271
+ cursor: b ? "pointer" : "default",
10272
+ minWidth: 100
10283
10273
  },
10284
10274
  children: [
10285
10275
  /* @__PURE__ */ d(
@@ -10289,39 +10279,59 @@ function cd({
10289
10279
  display: "inline-flex",
10290
10280
  alignItems: "center",
10291
10281
  justifyContent: "center",
10292
- width: 22,
10293
- height: 22,
10282
+ width: 28,
10283
+ height: 28,
10294
10284
  borderRadius: "50%",
10295
- background: g <= u ? "#1976d2" : "#e2e8f0",
10296
- color: g <= u ? "#fff" : "#64748b",
10297
- fontSize: 12,
10298
- fontWeight: 700
10285
+ background: h,
10286
+ color: v,
10287
+ fontSize: 13,
10288
+ fontWeight: 700,
10289
+ transition: "background 120ms"
10299
10290
  },
10300
- children: g + 1
10291
+ children: p ? "✓" : g + 1
10301
10292
  }
10302
10293
  ),
10303
10294
  /* @__PURE__ */ d(
10304
10295
  "span",
10305
10296
  {
10306
10297
  style: {
10298
+ marginTop: 8,
10307
10299
  fontSize: 13,
10308
- fontWeight: g === u ? 700 : 500,
10309
- color: g === u ? "#0f172a" : "#475569"
10300
+ fontWeight: m ? 700 : 500,
10301
+ color: m ? "#0f172a" : "#64748b",
10302
+ textAlign: "center"
10310
10303
  },
10311
10304
  children: f.label
10312
10305
  }
10313
10306
  )
10314
10307
  ]
10315
- },
10316
- g
10317
- ))
10318
- }
10319
- ),
10308
+ }
10309
+ ),
10310
+ g < t.length - 1 && // Connecting line between circles. Sits at the vertical
10311
+ // center of the circle (14px from top of the column),
10312
+ // not stretched across the labels below.
10313
+ /* @__PURE__ */ d(
10314
+ "div",
10315
+ {
10316
+ style: {
10317
+ flex: 1,
10318
+ height: 2,
10319
+ background: g < u ? "#1976d2" : "#e2e8f0",
10320
+ marginTop: -22,
10321
+ // pull up to align with circle center
10322
+ alignSelf: "flex-start",
10323
+ transform: "translateY(14px)",
10324
+ transition: "background 120ms"
10325
+ }
10326
+ }
10327
+ )
10328
+ ] }, g);
10329
+ }) }) }),
10320
10330
  l.hint && /* @__PURE__ */ d("div", { style: { fontSize: 12, color: "#64748b", marginBottom: 12 }, children: l.hint }),
10321
10331
  l.fields.map((f) => {
10322
10332
  const g = Tt(f);
10323
10333
  return /* @__PURE__ */ d(po, { fieldId: g, children: /* @__PURE__ */ d(
10324
- et,
10334
+ tt,
10325
10335
  {
10326
10336
  field: f,
10327
10337
  pathPrefix: g,
@@ -10379,7 +10389,7 @@ function cd({
10379
10389
  ] })
10380
10390
  ] });
10381
10391
  }
10382
- function et({
10392
+ function tt({
10383
10393
  field: t,
10384
10394
  pathPrefix: e,
10385
10395
  depth: n = 0,
@@ -10413,7 +10423,7 @@ function et({
10413
10423
  if (I.current = x, !x || y === !0 || !t.clearOnHide) return;
10414
10424
  const S = Pe(h.current, e);
10415
10425
  S == null || S === "" || Array.isArray(S) && S.length === 0 || o(e, t.defaultValue);
10416
- }, [x, e, t.clearOnHide, t.defaultValue, o]), x ? null : t.type === "object" ? /* @__PURE__ */ d(Ke, { field: t, compact: s, children: /* @__PURE__ */ d(
10426
+ }, [x, e, t.clearOnHide, t.defaultValue, o]), x ? null : t.type === "object" ? /* @__PURE__ */ d(et, { field: t, compact: s, children: /* @__PURE__ */ d(
10417
10427
  $c,
10418
10428
  {
10419
10429
  field: t,
@@ -10427,7 +10437,7 @@ function et({
10427
10437
  compact: s,
10428
10438
  item: c,
10429
10439
  renderFieldRouter: (y) => /* @__PURE__ */ d(
10430
- et,
10440
+ tt,
10431
10441
  {
10432
10442
  field: y.field,
10433
10443
  pathPrefix: y.pathPrefix,
@@ -10444,7 +10454,7 @@ function et({
10444
10454
  y.pathPrefix
10445
10455
  )
10446
10456
  }
10447
- ) }) : t.type === "array" && Array.isArray(t.children ?? t.itemFields) ? /* @__PURE__ */ d(Ke, { field: t, compact: s, children: /* @__PURE__ */ d(
10457
+ ) }) : t.type === "array" && Array.isArray(t.children ?? t.itemFields) ? /* @__PURE__ */ d(et, { field: t, compact: s, children: /* @__PURE__ */ d(
10448
10458
  Lt,
10449
10459
  {
10450
10460
  field: t,
@@ -10460,7 +10470,7 @@ function et({
10460
10470
  parentSetFieldValue: o,
10461
10471
  parentSetFieldTouched: u,
10462
10472
  renderFieldRouter: (y) => /* @__PURE__ */ d(
10463
- et,
10473
+ tt,
10464
10474
  {
10465
10475
  field: y.field,
10466
10476
  pathPrefix: y.pathPrefix,
@@ -10477,7 +10487,7 @@ function et({
10477
10487
  y.pathPrefix
10478
10488
  )
10479
10489
  }
10480
- ) }) : t.type === "tabs" ? /* @__PURE__ */ d(Ke, { field: t, compact: s, children: /* @__PURE__ */ d(
10490
+ ) }) : t.type === "tabs" ? /* @__PURE__ */ d(et, { field: t, compact: s, children: /* @__PURE__ */ d(
10481
10491
  qc,
10482
10492
  {
10483
10493
  field: t,
@@ -10490,7 +10500,7 @@ function et({
10490
10500
  setFieldTouched: u,
10491
10501
  compact: s,
10492
10502
  renderFieldRouter: (y) => /* @__PURE__ */ d(
10493
- et,
10503
+ tt,
10494
10504
  {
10495
10505
  field: y.field,
10496
10506
  pathPrefix: y.pathPrefix,
@@ -10577,7 +10587,7 @@ function dd({
10577
10587
  formulaConfig: c,
10578
10588
  onFormulaConfigChange: f
10579
10589
  };
10580
- return s ? /* @__PURE__ */ d(v, { ...N, inlineLabel: !0 }) : /* @__PURE__ */ E(Ke, { field: t, compact: u, children: [
10590
+ return s ? /* @__PURE__ */ d(v, { ...N, inlineLabel: !0 }) : /* @__PURE__ */ E(et, { field: t, compact: u, children: [
10581
10591
  /* @__PURE__ */ d(v, { ...N, touched: I }),
10582
10592
  t.condition && /* @__PURE__ */ d(
10583
10593
  uo,
@@ -10636,4 +10646,4 @@ export {
10636
10646
  Fd as y,
10637
10647
  lu as z
10638
10648
  };
10639
- //# sourceMappingURL=index-CEDP3md_.js.map
10649
+ //# sourceMappingURL=index-D-ObmLY1.js.map