@notmrabhi/flowforge 0.1.24 → 0.1.25

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.
@@ -3,7 +3,7 @@ import * as K from "react";
3
3
  import Ue, { createContext as Rt, useContext as Et, useState as L, useRef as Y, useCallback as H, useEffect as q, useMemo as se, useLayoutEffect as lo, Component as Ar, Fragment as Ut, forwardRef as dn, Suspense as Sr } from "react";
4
4
  import { Formik as uo, Form as co, useFormikContext as Rr } from "formik";
5
5
  import { MdInfoOutline as fo, MdDataObject as Ot, MdClose as Be, MdSearch as fn, MdKeyboardArrowRight as pn, MdContentCopy as po, MdCheckCircle as go, MdAdd as Qe, MdDeleteOutline as gn, MdUploadFile as bo, MdInsertDriveFile as ho, MdKeyboardArrowDown as mo } from "react-icons/md";
6
- import { Tooltip as Se, IconButton as Er, Box as N, Typography as ue, InputBase as vo, Divider as bn, Collapse as Or, Snackbar as Io, Alert as xo, Select as Fr, MenuItem as pt, TextField as wr, FormControlLabel as Tr, Switch as yo, RadioGroup as Co, Radio as Ao, Slider as So, Chip as Ro, Button as Dn } from "@mui/material";
6
+ import { Tooltip as Se, IconButton as Er, Box as N, Typography as ce, InputBase as vo, Divider as bn, Collapse as Or, Snackbar as Io, Alert as xo, Select as Fr, MenuItem as pt, TextField as wr, FormControlLabel as Tr, Switch as yo, RadioGroup as Co, Radio as Ao, Slider as So, Chip as Ro, Button as Dn } from "@mui/material";
7
7
  import Eo, { createPortal as Oo } from "react-dom";
8
8
  import hn, { components as mn } from "react-select";
9
9
  import { jsx as _, css as Gr, keyframes as Fo } from "@emotion/react";
@@ -106,7 +106,7 @@ const de = {
106
106
  fontSize: A.FONT_SIZE_HELPER,
107
107
  marginTop: A.HELPER_MT,
108
108
  lineHeight: 1.4
109
- }, ce = {
109
+ }, ue = {
110
110
  color: A.COLOR_HELPER,
111
111
  fontSize: A.FONT_SIZE_HELPER,
112
112
  marginTop: A.HELPER_MT,
@@ -459,14 +459,14 @@ function ko({ item: t }) {
459
459
  alignItems: "center"
460
460
  }, children: /* @__PURE__ */ d(Ot, { size: 14 }) }),
461
461
  /* @__PURE__ */ O(N, { sx: { minWidth: 0 }, children: [
462
- /* @__PURE__ */ d(ue, { sx: {
462
+ /* @__PURE__ */ d(ce, { sx: {
463
463
  fontSize: 13,
464
464
  fontWeight: 500,
465
465
  color: "#0f172a",
466
466
  lineHeight: 1.35,
467
467
  overflowWrap: "anywhere"
468
468
  }, children: t.label }),
469
- t.description && /* @__PURE__ */ d(ue, { sx: {
469
+ t.description && /* @__PURE__ */ d(ce, { sx: {
470
470
  fontSize: 11,
471
471
  color: "#64748b",
472
472
  lineHeight: 1.4,
@@ -508,7 +508,7 @@ function Hr({
508
508
  display: "flex"
509
509
  }, children: /* @__PURE__ */ d(pn, { size: 14 }) }),
510
510
  t.icon && /* @__PURE__ */ d(N, { sx: { color: "#64748b", display: "flex", mr: 0.25 }, children: t.icon }),
511
- /* @__PURE__ */ d(ue, { sx: {
511
+ /* @__PURE__ */ d(ce, { sx: {
512
512
  fontSize: 11,
513
513
  fontWeight: 700,
514
514
  color: "#64748b",
@@ -586,7 +586,7 @@ function pd({
586
586
  flexShrink: 0
587
587
  }, children: [
588
588
  /* @__PURE__ */ d(Ot, { size: 16, color: "#6366f1" }),
589
- /* @__PURE__ */ d(ue, { sx: { fontSize: 13, fontWeight: 700, flex: 1, color: "#e2e8f0" }, children: e }),
589
+ /* @__PURE__ */ d(ce, { sx: { fontSize: 13, fontWeight: 700, flex: 1, color: "#e2e8f0" }, children: e }),
590
590
  n === "popover" && /* @__PURE__ */ d(
591
591
  N,
592
592
  {
@@ -663,7 +663,7 @@ function pd({
663
663
  "&::-webkit-scrollbar-thumb": { background: "rgba(255,255,255,0.12)", borderRadius: 4 }
664
664
  }, children: /* @__PURE__ */ d(N, { sx: {
665
665
  "& .MuiTypography-root": { color: "#cbd5e1" }
666
- }, children: l ? i.groups.map((f, g) => /* @__PURE__ */ d(Hr, { group: f, searchQuery: r }, g)) : /* @__PURE__ */ d(N, { sx: { px: 2, py: 3, textAlign: "center" }, children: /* @__PURE__ */ O(ue, { sx: { fontSize: 12, color: "#475569" }, children: [
666
+ }, children: l ? i.groups.map((f, g) => /* @__PURE__ */ d(Hr, { group: f, searchQuery: r }, g)) : /* @__PURE__ */ d(N, { sx: { px: 2, py: 3, textAlign: "center" }, children: /* @__PURE__ */ O(ce, { sx: { fontSize: 12, color: "#475569" }, children: [
667
667
  'No variables match "',
668
668
  r,
669
669
  '"'
@@ -673,7 +673,7 @@ function pd({
673
673
  py: 1,
674
674
  borderTop: "1px solid rgba(255,255,255,0.06)",
675
675
  flexShrink: 0
676
- }, children: /* @__PURE__ */ d(ue, { sx: { fontSize: 10, color: "#475569", lineHeight: 1.4 }, children: "Click to insert · Drag onto any field" }) })
676
+ }, children: /* @__PURE__ */ d(ce, { sx: { fontSize: 10, color: "#475569", lineHeight: 1.4 }, children: "Click to insert · Drag onto any field" }) })
677
677
  ]
678
678
  }
679
679
  );
@@ -871,7 +871,7 @@ function Zr({
871
871
  },
872
872
  children: [
873
873
  h && i && /* @__PURE__ */ d(
874
- ue,
874
+ ce,
875
875
  {
876
876
  component: "span",
877
877
  sx: {
@@ -1077,7 +1077,7 @@ function _r({
1077
1077
  }
1078
1078
  );
1079
1079
  if (f) {
1080
- const R = l.helperText && !s ? /* @__PURE__ */ d("small", { style: ce, children: l.helperText }) : null, P = /* @__PURE__ */ O(He, { children: [
1080
+ const R = l.helperText && !s ? /* @__PURE__ */ d("small", { style: ue, children: l.helperText }) : null, P = /* @__PURE__ */ O(He, { children: [
1081
1081
  R,
1082
1082
  /* @__PURE__ */ d(
1083
1083
  Zr,
@@ -1282,7 +1282,7 @@ function _r({
1282
1282
  }
1283
1283
  }
1284
1284
  ), ie = /* @__PURE__ */ O(He, { children: [
1285
- l.helperText && !S && !s && /* @__PURE__ */ d("small", { style: ce, children: l.helperText }),
1285
+ l.helperText && !S && !s && /* @__PURE__ */ d("small", { style: ue, children: l.helperText }),
1286
1286
  re,
1287
1287
  S && /* @__PURE__ */ d("small", { "data-testid": `${c}-error`, style: de, children: r })
1288
1288
  ] });
@@ -4562,7 +4562,7 @@ function Ei({
4562
4562
  }
4563
4563
  )
4564
4564
  ] }),
4565
- o && /* @__PURE__ */ d("small", { style: ce, children: o }),
4565
+ o && /* @__PURE__ */ d("small", { style: ue, children: o }),
4566
4566
  p ? /* @__PURE__ */ d(
4567
4567
  Zr,
4568
4568
  {
@@ -4588,7 +4588,7 @@ function Ei({
4588
4588
  dataTestId: t.dataTestId
4589
4589
  }
4590
4590
  ),
4591
- o && /* @__PURE__ */ d("small", { style: ce, children: o }),
4591
+ o && /* @__PURE__ */ d("small", { style: ue, children: o }),
4592
4592
  l()
4593
4593
  ] });
4594
4594
  }
@@ -4995,7 +4995,7 @@ function Fi({
4995
4995
  return /* @__PURE__ */ d(N, { sx: { display: "flex", gap: 1, flexWrap: "wrap" }, children: t.map((a) => {
4996
4996
  const o = a.id ?? a.name ?? "", u = a.colSpan ?? Math.max(2, Math.floor(12 / t.length)), s = `${Math.round(u / 12 * 100)}%`;
4997
4997
  return /* @__PURE__ */ O(N, { sx: { flex: `0 0 calc(${s} - 8px)`, minWidth: 100 }, children: [
4998
- a.label && /* @__PURE__ */ O(ue, { sx: { fontSize: 11, color: "#64748b", mb: 0.25, fontWeight: 500 }, children: [
4998
+ a.label && /* @__PURE__ */ O(ce, { sx: { fontSize: 11, color: "#64748b", mb: 0.25, fontWeight: 500 }, children: [
4999
4999
  a.label,
5000
5000
  a.required && /* @__PURE__ */ d("span", { style: { color: "#ef4444" }, children: " *" })
5001
5001
  ] }),
@@ -5066,25 +5066,48 @@ function wi({
5066
5066
  }) {
5067
5067
  return /* @__PURE__ */ O(N, { sx: {
5068
5068
  position: "relative",
5069
- px: 1,
5070
- pt: 0.75,
5071
- pb: 0.5,
5069
+ // Match the breathing room of the host's "Conditional / Fallback" blocks:
5070
+ // generous interior padding, comfortable inter-block gap.
5071
+ px: 2,
5072
+ pt: 1.75,
5073
+ pb: 1.5,
5072
5074
  bgcolor: "#fff",
5073
5075
  border: "1px solid #e2e8f0",
5074
- borderRadius: "6px",
5075
- mb: 0.5,
5076
+ borderRadius: "8px",
5077
+ mb: 1.5,
5076
5078
  // Children render with normal 32px bottom margin (ff-form-mb-4) so siblings
5077
5079
  // are well-separated. Kill the LAST child's trailing margin so the row hugs
5078
5080
  // its content with no extra gap below.
5079
5081
  "& .ff-form-mb-4:last-of-type": { marginBottom: "0 !important" }
5080
5082
  }, children: [
5081
- e && /* @__PURE__ */ O(ue, { sx: { fontSize: 11, fontWeight: 600, color: "#94a3b8", mb: 0.5, textTransform: "uppercase", letterSpacing: 0.5 }, children: [
5082
- e,
5083
- " ",
5084
- t + 1
5085
- ] }),
5083
+ e && // Pill chip visually consistent with the host's "Conditional" /
5084
+ // "Fallback" tags. Sits above the first field with a 12px gap.
5085
+ /* @__PURE__ */ O(
5086
+ N,
5087
+ {
5088
+ component: "span",
5089
+ sx: {
5090
+ display: "inline-block",
5091
+ fontSize: 11,
5092
+ fontWeight: 600,
5093
+ color: "#475569",
5094
+ bgcolor: "#e2e8f0",
5095
+ px: 1,
5096
+ py: "2px",
5097
+ borderRadius: "6px",
5098
+ mb: 1.5,
5099
+ textTransform: "uppercase",
5100
+ letterSpacing: 0.5
5101
+ },
5102
+ children: [
5103
+ e,
5104
+ " ",
5105
+ t + 1
5106
+ ]
5107
+ }
5108
+ ),
5086
5109
  r,
5087
- /* @__PURE__ */ d(Se, { title: "Remove", children: /* @__PURE__ */ d("span", { style: { position: "absolute", top: 6, right: 6 }, children: /* @__PURE__ */ d(
5110
+ /* @__PURE__ */ d(Se, { title: "Remove", children: /* @__PURE__ */ d("span", { style: { position: "absolute", top: 10, right: 10 }, children: /* @__PURE__ */ d(
5088
5111
  Er,
5089
5112
  {
5090
5113
  size: "small",
@@ -5141,7 +5164,7 @@ function su({
5141
5164
  htmlFor: t.id
5142
5165
  }
5143
5166
  ),
5144
- t.helperText && /* @__PURE__ */ d(ue, { sx: { fontSize: 12, color: "#6c757d", mb: 0.75 }, children: t.helperText }),
5167
+ t.helperText && /* @__PURE__ */ d(ce, { sx: { fontSize: 12, color: "#6c757d", mb: 0.75 }, children: t.helperText }),
5145
5168
  i.length === 0 && /* @__PURE__ */ d(N, { sx: {
5146
5169
  py: 2.5,
5147
5170
  textAlign: "center",
@@ -5278,7 +5301,7 @@ function Gt(t) {
5278
5301
  htmlFor: e.id
5279
5302
  }
5280
5303
  ),
5281
- e.helperText && /* @__PURE__ */ d(ue, { sx: { fontSize: 12, color: "#6c757d", mb: 0.75 }, children: e.helperText }),
5304
+ e.helperText && /* @__PURE__ */ d(ce, { sx: { fontSize: 12, color: "#6c757d", mb: 0.75 }, children: e.helperText }),
5282
5305
  I.length === 0 && /* @__PURE__ */ d(N, { sx: {
5283
5306
  py: 2.5,
5284
5307
  textAlign: "center",
@@ -5437,7 +5460,7 @@ function cu({ field: t, value: e, onChange: n, onBlur: i }) {
5437
5460
  info: t.info
5438
5461
  }
5439
5462
  ),
5440
- t.helperText && /* @__PURE__ */ d(ue, { sx: { fontSize: 12, color: "#6c757d", mb: 0.75 }, children: t.helperText }),
5463
+ t.helperText && /* @__PURE__ */ d(ce, { sx: { fontSize: 12, color: "#6c757d", mb: 0.75 }, children: t.helperText }),
5441
5464
  r.length === 0 ? /* @__PURE__ */ d(N, { sx: {
5442
5465
  py: 2.5,
5443
5466
  textAlign: "center",
@@ -5530,7 +5553,7 @@ function du({
5530
5553
  dataTestId: o.dataTestId
5531
5554
  }
5532
5555
  ),
5533
- o.helperText && !s && /* @__PURE__ */ d("small", { style: ce, children: o.helperText }),
5556
+ o.helperText && !s && /* @__PURE__ */ d("small", { style: ue, children: o.helperText }),
5534
5557
  /* @__PURE__ */ O(
5535
5558
  "div",
5536
5559
  {
@@ -5616,7 +5639,7 @@ function fu({
5616
5639
  );
5617
5640
  return /* @__PURE__ */ O("div", { children: [
5618
5641
  f,
5619
- o.helperText && !s && /* @__PURE__ */ d("small", { style: ce, children: o.helperText }),
5642
+ o.helperText && !s && /* @__PURE__ */ d("small", { style: ue, children: o.helperText }),
5620
5643
  s && /* @__PURE__ */ d("small", { "data-testid": `${u}-error`, style: de, children: r })
5621
5644
  ] });
5622
5645
  }
@@ -5641,7 +5664,7 @@ function pu({
5641
5664
  dataTestId: o.dataTestId
5642
5665
  }
5643
5666
  ),
5644
- o.helperText && !s && /* @__PURE__ */ d("small", { style: ce, children: o.helperText }),
5667
+ o.helperText && !s && /* @__PURE__ */ d("small", { style: ue, children: o.helperText }),
5645
5668
  /* @__PURE__ */ d(
5646
5669
  Co,
5647
5670
  {
@@ -5714,7 +5737,7 @@ function wn({
5714
5737
  dataTestId: o.dataTestId
5715
5738
  }
5716
5739
  ),
5717
- o.helperText && !s && /* @__PURE__ */ d("small", { style: ce, children: o.helperText }),
5740
+ o.helperText && !s && /* @__PURE__ */ d("small", { style: ue, children: o.helperText }),
5718
5741
  /* @__PURE__ */ d(
5719
5742
  "input",
5720
5743
  {
@@ -5769,7 +5792,7 @@ function gu({
5769
5792
  dataTestId: o.dataTestId
5770
5793
  }
5771
5794
  ),
5772
- o.helperText && !s && /* @__PURE__ */ d("small", { style: ce, children: o.helperText }),
5795
+ o.helperText && !s && /* @__PURE__ */ d("small", { style: ue, children: o.helperText }),
5773
5796
  /* @__PURE__ */ O(
5774
5797
  "div",
5775
5798
  {
@@ -5887,7 +5910,7 @@ function bu({
5887
5910
  dataTestId: o.dataTestId
5888
5911
  }
5889
5912
  ),
5890
- o.helperText && !s && /* @__PURE__ */ d("small", { style: ce, children: o.helperText }),
5913
+ o.helperText && !s && /* @__PURE__ */ d("small", { style: ue, children: o.helperText }),
5891
5914
  /* @__PURE__ */ O("div", { style: { display: "flex", alignItems: "center", gap: 12, px: 1 }, children: [
5892
5915
  /* @__PURE__ */ d(
5893
5916
  So,
@@ -5949,7 +5972,7 @@ function hu({
5949
5972
  dataTestId: o.dataTestId
5950
5973
  }
5951
5974
  ),
5952
- o.helperText && !s && /* @__PURE__ */ d("small", { style: ce, children: o.helperText }),
5975
+ o.helperText && !s && /* @__PURE__ */ d("small", { style: ue, children: o.helperText }),
5953
5976
  /* @__PURE__ */ O("div", { style: { display: "flex", alignItems: "center", gap: 8 }, children: [
5954
5977
  /* @__PURE__ */ O(
5955
5978
  "div",
@@ -6062,7 +6085,7 @@ function vu({
6062
6085
  dataTestId: o.dataTestId
6063
6086
  }
6064
6087
  ),
6065
- o.helperText && !s && /* @__PURE__ */ d("small", { style: ce, children: o.helperText }),
6088
+ o.helperText && !s && /* @__PURE__ */ d("small", { style: ue, children: o.helperText }),
6066
6089
  /* @__PURE__ */ O(
6067
6090
  "div",
6068
6091
  {
@@ -6125,7 +6148,7 @@ function vu({
6125
6148
  (s || p) && /* @__PURE__ */ d("small", { "data-testid": `${u}-error`, style: de, children: p ?? r })
6126
6149
  ] });
6127
6150
  }
6128
- const Iu = Ue.lazy(async () => ({ default: (await import("./index-BtDjZ-I6.js")).default }));
6151
+ const Iu = Ue.lazy(async () => ({ default: (await import("./index-aY0_Mo-L.js")).default }));
6129
6152
  async function xu(t) {
6130
6153
  switch (t) {
6131
6154
  case "python":
@@ -6226,7 +6249,7 @@ function yu({
6226
6249
  }
6227
6250
  )
6228
6251
  ] }),
6229
- o.helperText && !s && /* @__PURE__ */ d("small", { style: ce, children: o.helperText }),
6252
+ o.helperText && !s && /* @__PURE__ */ d("small", { style: ue, children: o.helperText }),
6230
6253
  /* @__PURE__ */ d(
6231
6254
  "div",
6232
6255
  {
@@ -6303,7 +6326,7 @@ function Au({
6303
6326
  marginBottom: 4
6304
6327
  }, children: v })
6305
6328
  ] }),
6306
- o.helperText && !s && /* @__PURE__ */ d("small", { style: ce, children: o.helperText }),
6329
+ o.helperText && !s && /* @__PURE__ */ d("small", { style: ue, children: o.helperText }),
6307
6330
  /* @__PURE__ */ d(
6308
6331
  "div",
6309
6332
  {
@@ -6334,7 +6357,7 @@ function Au({
6334
6357
  ] });
6335
6358
  }
6336
6359
  const Su = Ue.lazy(
6337
- () => import("./index-C0P8B5d0.js").then((t) => t.i).then((t) => (Promise.resolve({ }), { default: t.default }))
6360
+ () => import("./index-CSWLKuPF.js").then((t) => t.i).then((t) => (Promise.resolve({ }), { default: t.default }))
6338
6361
  ), Ru = [
6339
6362
  [{ header: [1, 2, 3, !1] }],
6340
6363
  ["bold", "italic", "underline", "strike"],
@@ -6369,7 +6392,7 @@ function Eu({
6369
6392
  dataTestId: o.dataTestId
6370
6393
  }
6371
6394
  ),
6372
- o.helperText && !s && /* @__PURE__ */ d("small", { style: ce, children: o.helperText }),
6395
+ o.helperText && !s && /* @__PURE__ */ d("small", { style: ue, children: o.helperText }),
6373
6396
  /* @__PURE__ */ d(
6374
6397
  "div",
6375
6398
  {
@@ -6600,7 +6623,7 @@ function Gu({
6600
6623
  htmlFor: s
6601
6624
  }
6602
6625
  ),
6603
- o.helperText && !l && /* @__PURE__ */ d("small", { style: ce, children: o.helperText }),
6626
+ o.helperText && !l && /* @__PURE__ */ d("small", { style: ue, children: o.helperText }),
6604
6627
  /* @__PURE__ */ d(
6605
6628
  hn,
6606
6629
  {
@@ -9017,7 +9040,7 @@ function Fc({ field: t, value: e, onChange: n, onBlur: i, error: r, touched: a }
9017
9040
  ] })
9018
9041
  ] })
9019
9042
  ] }),
9020
- o.helperText && !u && /* @__PURE__ */ d("small", { style: ce, children: o.helperText }),
9043
+ o.helperText && !u && /* @__PURE__ */ d("small", { style: ue, children: o.helperText }),
9021
9044
  u && /* @__PURE__ */ d("small", { "data-testid": `${c}-error`, style: de, children: r }),
9022
9045
  S && /* @__PURE__ */ d(
9023
9046
  Oc,
@@ -9283,7 +9306,7 @@ function Dc({
9283
9306
  /* @__PURE__ */ O(N, { sx: { flex: 1, minWidth: 0 }, children: [
9284
9307
  /* @__PURE__ */ O(N, { sx: { display: "flex", alignItems: "center", gap: 1, flexWrap: "wrap" }, children: [
9285
9308
  /* @__PURE__ */ d(
9286
- ue,
9309
+ ce,
9287
9310
  {
9288
9311
  sx: {
9289
9312
  fontSize: n >= 2 ? 13 : 14,
@@ -9312,7 +9335,7 @@ function Dc({
9312
9335
  )
9313
9336
  ] }),
9314
9337
  h && /* @__PURE__ */ d(
9315
- ue,
9338
+ ce,
9316
9339
  {
9317
9340
  sx: {
9318
9341
  mt: 0.35,
@@ -9687,8 +9710,8 @@ function Hc({ node: t, conditionDef: e, depth: n, fieldPath: i, onUpdate: r, onR
9687
9710
  onClick: () => u((l) => !l),
9688
9711
  children: [
9689
9712
  /* @__PURE__ */ d(N, { sx: { color: "#94a3b8", display: "flex", alignItems: "center" }, children: o ? /* @__PURE__ */ d(pn, { size: 15 }) : /* @__PURE__ */ d(mo, { size: 15 }) }),
9690
- /* @__PURE__ */ d(ue, { sx: { fontSize: 11, fontWeight: 700, color: "#94a3b8", fontFamily: "monospace", letterSpacing: -1 }, children: "( )" }),
9691
- /* @__PURE__ */ O(ue, { sx: { fontSize: 11, color: "#64748b" }, children: [
9713
+ /* @__PURE__ */ d(ce, { sx: { fontSize: 11, fontWeight: 700, color: "#94a3b8", fontFamily: "monospace", letterSpacing: -1 }, children: "( )" }),
9714
+ /* @__PURE__ */ O(ce, { sx: { fontSize: 11, color: "#64748b" }, children: [
9692
9715
  "Group",
9693
9716
  o && /* @__PURE__ */ O(N, { component: "span", sx: { ml: 0.5, color: "#94a3b8" }, children: [
9694
9717
  "· ",
@@ -9730,9 +9753,9 @@ function no({ conditionDef: t, entries: e, onUpdate: n, depth: i = 0, fieldPath:
9730
9753
  }]), s = (g) => n(e.filter((p, m) => m !== g)), l = (g, p) => n(e.map((m, h) => h === g ? { ...m, connector: p } : m)), c = (g, p) => n(e.map((m, h) => h === g ? { ...m, ...p } : m)), f = (g, p) => n(e.map(
9731
9754
  (m, h) => h === g ? { ...m, entries: p } : m
9732
9755
  ));
9733
- return /* @__PURE__ */ O(N, { sx: { mt: i === 0 ? 0.75 : 0.25 }, children: [
9756
+ return /* @__PURE__ */ O(N, { sx: { mt: i === 0 ? 1.25 : 0.25 }, children: [
9734
9757
  e.map((g, p) => /* @__PURE__ */ O(N, { children: [
9735
- p > 0 && /* @__PURE__ */ d(N, { sx: { display: "flex", alignItems: "center", my: "8px" }, children: /* @__PURE__ */ d(
9758
+ p > 0 && /* @__PURE__ */ d(N, { sx: { display: "flex", alignItems: "center", my: "10px" }, children: /* @__PURE__ */ d(
9736
9759
  Xc,
9737
9760
  {
9738
9761
  connector: g.connector ?? "and",
@@ -9750,7 +9773,7 @@ function no({ conditionDef: t, entries: e, onUpdate: n, depth: i = 0, fieldPath:
9750
9773
  onRemove: () => s(p)
9751
9774
  }
9752
9775
  ) : /* @__PURE__ */ O(N, { children: [
9753
- p === 0 && /* @__PURE__ */ d(ue, { sx: { fontSize: 11, fontWeight: 700, color: "#64748b", mb: 0.5 }, children: "When" }),
9776
+ p === 0 && /* @__PURE__ */ d(ce, { sx: { fontSize: 12, fontWeight: 600, color: "#475569", mb: 0.75 }, children: "When" }),
9754
9777
  /* @__PURE__ */ O(N, { sx: { display: "flex", alignItems: "center", gap: 0.75 }, children: [
9755
9778
  /* @__PURE__ */ d(N, { sx: { display: "grid", gridTemplateColumns: "repeat(12, 1fr)", gap: 0.75, flex: 1 }, children: t.fields.map((m) => /* @__PURE__ */ d(N, { sx: { gridColumn: `span ${m.colSpan ?? 4}` }, children: /* @__PURE__ */ d(
9756
9779
  zc,
@@ -9775,7 +9798,7 @@ function no({ conditionDef: t, entries: e, onUpdate: n, depth: i = 0, fieldPath:
9775
9798
  ] })
9776
9799
  ] })
9777
9800
  ] }, p)),
9778
- /* @__PURE__ */ O(N, { sx: { display: "flex", alignItems: "center", gap: 1, mt: e.length > 0 ? 1 : 0 }, children: [
9801
+ /* @__PURE__ */ O(N, { sx: { display: "flex", alignItems: "center", gap: 1, mt: e.length > 0 ? 1.5 : 0 }, children: [
9779
9802
  /* @__PURE__ */ d(
9780
9803
  Dn,
9781
9804
  {
@@ -10160,7 +10183,7 @@ export {
10160
10183
  Go as m,
10161
10184
  te as n,
10162
10185
  sd as o,
10163
- ce as p,
10186
+ ue as p,
10164
10187
  rd as q,
10165
10188
  ud as r,
10166
10189
  we as s,
@@ -1,4 +1,4 @@
1
- import { H as ct, J as Fe } from "./index-clDu4NYb.js";
1
+ import { H as ct, J as Fe } from "./index-CDhW7gZx.js";
2
2
  import Ue from "react";
3
3
  import He from "react-dom";
4
4
  function $e(S, R) {