@boltic/swirl 1.0.2-uat.117 → 1.0.2-uat.118

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/swirl.es.js CHANGED
@@ -2439,22 +2439,22 @@ Ri.getAdapter = PQ.getAdapter;
2439
2439
  Ri.HttpStatusCode = zI;
2440
2440
  Ri.default = Ri;
2441
2441
  const {
2442
- Axios: Umt,
2443
- AxiosError: Vmt,
2444
- CanceledError: Hmt,
2445
- isCancel: Wmt,
2446
- CancelToken: Gmt,
2447
- VERSION: Qmt,
2448
- all: zmt,
2449
- Cancel: Xmt,
2450
- isAxiosError: qmt,
2451
- spread: Ymt,
2452
- toFormData: Kmt,
2453
- AxiosHeaders: Zmt,
2454
- HttpStatusCode: Jmt,
2455
- formToJSON: e0t,
2456
- getAdapter: t0t,
2457
- mergeConfig: r0t
2442
+ Axios: Hmt,
2443
+ AxiosError: Wmt,
2444
+ CanceledError: Gmt,
2445
+ isCancel: Qmt,
2446
+ CancelToken: zmt,
2447
+ VERSION: Xmt,
2448
+ all: qmt,
2449
+ Cancel: Ymt,
2450
+ isAxiosError: Kmt,
2451
+ spread: Zmt,
2452
+ toFormData: Jmt,
2453
+ AxiosHeaders: e0t,
2454
+ HttpStatusCode: t0t,
2455
+ formToJSON: r0t,
2456
+ getAdapter: n0t,
2457
+ mergeConfig: i0t
2458
2458
  } = Ri;
2459
2459
  var J0 = { exports: {} };
2460
2460
  J0.exports;
@@ -187734,22 +187734,22 @@ zo.getAdapter = _ae.getAdapter;
187734
187734
  zo.HttpStatusCode = $N;
187735
187735
  zo.default = zo;
187736
187736
  const {
187737
- Axios: b0t,
187738
- AxiosError: C0t,
187739
- CanceledError: _0t,
187740
- isCancel: w0t,
187741
- CancelToken: R0t,
187742
- VERSION: I0t,
187743
- all: D0t,
187744
- Cancel: P0t,
187745
- isAxiosError: N0t,
187746
- spread: L0t,
187747
- toFormData: M0t,
187748
- AxiosHeaders: F0t,
187749
- HttpStatusCode: k0t,
187750
- formToJSON: B0t,
187751
- getAdapter: j0t,
187752
- mergeConfig: $0t
187737
+ Axios: _0t,
187738
+ AxiosError: w0t,
187739
+ CanceledError: R0t,
187740
+ isCancel: I0t,
187741
+ CancelToken: D0t,
187742
+ VERSION: P0t,
187743
+ all: N0t,
187744
+ Cancel: L0t,
187745
+ isAxiosError: M0t,
187746
+ spread: F0t,
187747
+ toFormData: k0t,
187748
+ AxiosHeaders: B0t,
187749
+ HttpStatusCode: j0t,
187750
+ formToJSON: $0t,
187751
+ getAdapter: U0t,
187752
+ mergeConfig: V0t
187753
187753
  } = zo, eAt = "https://api.intelligence.fynd.com", tAt = "https://api.intelligence.sit.fyndx1.de", rAt = "application/json", nAt = 6e4, iAt = "https://cdn.prod.website-files.com/67a9c8e5f2c74ac8c2c9b88b/67ebbd36b30e83228583be90_404.avif", oAt = "/service/integration/analytics", sAt = `${oAt}/guest-token`;
187754
187754
  async function aAt({
187755
187755
  authToken: e,
@@ -190319,13 +190319,36 @@ const WG = /* @__PURE__ */ si(SAt), bAt = (e) => {
190319
190319
  }, VAt = "Asia/Kolkata", HAt = (e) => e == null || e === "" ? "-" : ta(String(e).replace(/_/g, " ")), WAt = (e) => {
190320
190320
  const t = Number(e);
190321
190321
  return Number.isFinite(t) ? `${Math.round((t <= 1 ? t * 100 : t) * 100) / 100}%` : "-";
190322
- }, GAt = (e) => {
190322
+ }, GAt = (e) => String(e || "").toLowerCase().replace(/[^a-z]+/g, "_").replace(/^_+|_+$/g, ""), QAt = (e, t) => {
190323
+ const r = GAt(e), n = {
190324
+ backgroundColor: t.palette.neutral.soft.bg,
190325
+ borderColor: t.palette.neutral.outlined.border,
190326
+ color: t.palette.text.secondary
190327
+ };
190328
+ return r === "application_failure" ? {
190329
+ backgroundColor: t.palette.error.soft.bg,
190330
+ borderColor: t.palette.error.outlined.border,
190331
+ color: t.palette.error.main
190332
+ } : r === "infrastructure_failure" ? {
190333
+ backgroundColor: t.palette.warning.soft.bg,
190334
+ borderColor: t.palette.warning.outlined.border,
190335
+ color: t.palette.warning.outlined.color
190336
+ } : r === "external_downstream_failure" ? {
190337
+ backgroundColor: "#EAF2FF",
190338
+ borderColor: "#A9C7F5",
190339
+ color: "#245CA8"
190340
+ } : r === "business_domain_failure" ? {
190341
+ backgroundColor: "#F3F0FF",
190342
+ borderColor: "#C8BDF2",
190343
+ color: "#5B43A8"
190344
+ } : n;
190345
+ }, zAt = (e) => {
190323
190346
  const t = String(e || "").trim();
190324
190347
  if (!t) return "";
190325
190348
  const r = /(?:Z|[+-]\d{2}:?\d{2})$/i.test(t);
190326
190349
  return /^\d{4}-\d{2}-\d{2}[ T]\d{2}:\d{2}:\d{2}(?:\.\d+)?$/.test(t) && !r ? `${t.replace(" ", "T")}Z` : t;
190327
- }, QAt = (e) => {
190328
- const t = GAt(e);
190350
+ }, XAt = (e) => {
190351
+ const t = zAt(e);
190329
190352
  if (!t) return "-";
190330
190353
  const r = new Date(t);
190331
190354
  if (Number.isNaN(r.getTime())) return "-";
@@ -190367,7 +190390,7 @@ const WG = /* @__PURE__ */ si(SAt), bAt = (e) => {
190367
190390
  }
190368
190391
  );
190369
190392
  }, Fae = ({ loading: e, error: t, row: r, data: n, minHeight: i = 220 }) => {
190370
- const o = bt(), s = n?.analysis, a = s?.analyzed_at ? QAt(s.analyzed_at) : "-";
190393
+ const o = bt(), s = n?.analysis, a = s?.analyzed_at ? XAt(s.analyzed_at) : "-", l = QAt(s?.category, o);
190371
190394
  return e ? /* @__PURE__ */ d.jsx(le, { alignItems: "center", justifyContent: "center", sx: { minHeight: i }, children: /* @__PURE__ */ d.jsx(Ci, { size: 42 }) }) : t ? /* @__PURE__ */ d.jsx(qg, { severity: "error", sx: { width: "100%" }, children: t }) : s ? /* @__PURE__ */ d.jsxs(le, { gap: 1.5, children: [
190372
190395
  /* @__PURE__ */ d.jsxs(le, { direction: "row", alignItems: "center", gap: 1, flexWrap: "wrap", children: [
190373
190396
  /* @__PURE__ */ d.jsx(im, { status: n?.status || r?.status || "Failed" }),
@@ -190378,15 +190401,15 @@ const WG = /* @__PURE__ */ si(SAt), bAt = (e) => {
190378
190401
  label: HAt(s.category),
190379
190402
  sx: {
190380
190403
  borderRadius: "1.5rem",
190381
- backgroundColor: o.palette.primary?.soft?.bg || o.palette.primary?.light || o.palette.neutral.soft.bg,
190382
- border: `1px solid ${o.palette.primary?.outlined?.border || o.palette.primary.main}`,
190383
- color: o.palette.primary?.outlined?.color || o.palette.primary.main,
190404
+ backgroundColor: l.backgroundColor,
190405
+ border: `1px solid ${l.borderColor}`,
190406
+ color: l.color,
190384
190407
  fontWeight: 500
190385
190408
  }
190386
190409
  }
190387
190410
  ),
190388
190411
  /* @__PURE__ */ d.jsx(zG, { label: `Confidence ${WAt(s?.confidence_score)}` }),
190389
- /* @__PURE__ */ d.jsx(zG, { label: `Analyzed ${a}` }),
190412
+ /* @__PURE__ */ d.jsx(zG, { label: `Analyzed: ${a}` }),
190390
190413
  s?.used_ai_fallback && /* @__PURE__ */ d.jsx(
190391
190414
  Di,
190392
190415
  {
@@ -190419,7 +190442,7 @@ const WG = /* @__PURE__ */ si(SAt), bAt = (e) => {
190419
190442
  }
190420
190443
  )
190421
190444
  ] }) : /* @__PURE__ */ d.jsx(qg, { severity: "info", children: "No failure analysis was returned for this execution." });
190422
- }, zAt = ({
190445
+ }, qAt = ({
190423
190446
  workflowId: e,
190424
190447
  executionId: t,
190425
190448
  parentExecutionId: r,
@@ -190608,7 +190631,7 @@ const WG = /* @__PURE__ */ si(SAt), bAt = (e) => {
190608
190631
  }
190609
190632
  )
190610
190633
  ] }) });
190611
- }, XAt = (e) => {
190634
+ }, YAt = (e) => {
190612
190635
  const t = bt(), r = Fr(), { WORKFLOW_URLS: n, ENTITY_ID: i, analytics: o } = Hi(), { VORTEX_MAIN_URL: s } = n, { executionId: a, parentExecutionId: l, parentExecutionStatus: c, executionCreatedAt: u } = e, f = f4(), { executionLogs: p } = Jt((Ge) => Ge.workflows), { activities: h, triggers: A } = Jt((Ge) => Ge.activities), [g, m] = ye("Data in"), [E, O] = ye("GUI"), [y, v] = ye(null), [x, S] = ye(""), [b, C] = ye([]), [w, _] = ye(!1), [I, N] = ye(!1), [D, P] = ye(!1), [L, F] = ye(!1), [Q, $] = ye(null), [W, M] = ye(!1), [j, U] = ye(null), { retryExecutions: R } = Lae({
190613
190636
  workflowId: f ?? void 0,
190614
190637
  VORTEX_MAIN_URL: s,
@@ -190949,7 +190972,7 @@ const WG = /* @__PURE__ */ si(SAt), bAt = (e) => {
190949
190972
  ) })
190950
190973
  ] }),
190951
190974
  l && c && f && k && /* @__PURE__ */ d.jsx(
190952
- zAt,
190975
+ qAt,
190953
190976
  {
190954
190977
  workflowId: f,
190955
190978
  executionId: k,
@@ -191161,7 +191184,7 @@ const WG = /* @__PURE__ */ si(SAt), bAt = (e) => {
191161
191184
  }
191162
191185
  ) : /* @__PURE__ */ d.jsx(le, { alignItems: "center", justifyContent: "center", width: "100%", children: /* @__PURE__ */ d.jsx(Mae, { title: "No events found", "data-id": "events-empty-page" }) })
191163
191186
  ] });
191164
- }, qAt = ({
191187
+ }, KAt = ({
191165
191188
  crumbs: e,
191166
191189
  separator: t = /* @__PURE__ */ d.jsx(ze, { src: "ic_arrow_right", width: 24, height: 24 }),
191167
191190
  maxItems: r = 4,
@@ -191214,7 +191237,7 @@ const WG = /* @__PURE__ */ si(SAt), bAt = (e) => {
191214
191237
  }), u;
191215
191238
  };
191216
191239
  return /* @__PURE__ */ d.jsx(rle, { separator: t, "aria-label": "breadcrumb", maxItems: r, ...o, children: l(e) });
191217
- }, YAt = ({ crumbs: e, onBack: t, navigate: r }) => {
191240
+ }, ZAt = ({ crumbs: e, onBack: t, navigate: r }) => {
191218
191241
  const n = bt();
191219
191242
  return /* @__PURE__ */ d.jsxs(
191220
191243
  le,
@@ -191271,7 +191294,7 @@ const WG = /* @__PURE__ */ si(SAt), bAt = (e) => {
191271
191294
  maxHeight: 48,
191272
191295
  height: 48
191273
191296
  },
191274
- children: /* @__PURE__ */ d.jsx(qAt, { "data-testid": "executions-breadcrumbs", crumbs: e, navigate: r })
191297
+ children: /* @__PURE__ */ d.jsx(KAt, { "data-testid": "executions-breadcrumbs", crumbs: e, navigate: r })
191275
191298
  }
191276
191299
  )
191277
191300
  ]
@@ -191366,7 +191389,7 @@ const WG = /* @__PURE__ */ si(SAt), bAt = (e) => {
191366
191389
  }
191367
191390
  }
191368
191391
  ) });
191369
- }, KAt = ({
191392
+ }, JAt = ({
191370
191393
  startDate: e,
191371
191394
  endDate: t,
191372
191395
  onStartDateChange: r,
@@ -191439,7 +191462,7 @@ const WG = /* @__PURE__ */ si(SAt), bAt = (e) => {
191439
191462
  ]
191440
191463
  }
191441
191464
  );
191442
- }, ZAt = ({
191465
+ }, emt = ({
191443
191466
  onClear: e,
191444
191467
  selectedValues: t,
191445
191468
  onToggle: r,
@@ -191519,7 +191542,7 @@ const WG = /* @__PURE__ */ si(SAt), bAt = (e) => {
191519
191542
  }, x = ut(() => {
191520
191543
  n({ target: { value: [] } });
191521
191544
  }, [n]), S = (_) => /* @__PURE__ */ d.jsx(
191522
- ZAt,
191545
+ emt,
191523
191546
  {
191524
191547
  ..._,
191525
191548
  onClear: x,
@@ -191629,7 +191652,7 @@ const WG = /* @__PURE__ */ si(SAt), bAt = (e) => {
191629
191652
  ]
191630
191653
  }
191631
191654
  ) });
191632
- }, JAt = (e) => {
191655
+ }, tmt = (e) => {
191633
191656
  const t = bt(), { status: r, selectedValues: n } = e;
191634
191657
  return /* @__PURE__ */ d.jsxs(le, { direction: "row", justifyContent: "flex-start", alignItems: "center", gap: 1, children: [
191635
191658
  /* @__PURE__ */ d.jsx(
@@ -191666,15 +191689,15 @@ const WG = /* @__PURE__ */ si(SAt), bAt = (e) => {
191666
191689
  ),
191667
191690
  /* @__PURE__ */ d.jsx(le, { children: /* @__PURE__ */ d.jsx(om, { primary: r.title }) })
191668
191691
  ] });
191669
- }, emt = (e) => /* @__PURE__ */ d.jsx(
191692
+ }, rmt = (e) => /* @__PURE__ */ d.jsx(
191670
191693
  kae,
191671
191694
  {
191672
191695
  allValueSelectedText: "All triggers",
191673
191696
  options: Dpe,
191674
- optionUi: JAt,
191697
+ optionUi: tmt,
191675
191698
  ...e
191676
191699
  }
191677
- ), tmt = (e) => {
191700
+ ), nmt = (e) => {
191678
191701
  const { status: t, selectedValues: r, getStatusIcon: n, getStatusBackground: i, getBorderColor: o } = e, s = bt();
191679
191702
  return /* @__PURE__ */ d.jsxs(le, { direction: "row", gap: 1, justifyContent: "flex-start", alignItems: "center", children: [
191680
191703
  /* @__PURE__ */ d.jsx(
@@ -191735,7 +191758,7 @@ const WG = /* @__PURE__ */ si(SAt), bAt = (e) => {
191735
191758
  )
191736
191759
  ] });
191737
191760
  }, qG = (e) => {
191738
- const { options: t, optionUi: r, allValueSelectedText: n, getStatusIcon: i, getStatusBackground: o, getBorderColor: s, ...a } = e, l = t || hpe, c = r || tmt, u = n || "All status";
191761
+ const { options: t, optionUi: r, allValueSelectedText: n, getStatusIcon: i, getStatusBackground: o, getBorderColor: s, ...a } = e, l = t || hpe, c = r || nmt, u = n || "All status";
191739
191762
  return /* @__PURE__ */ d.jsx(
191740
191763
  kae,
191741
191764
  {
@@ -191748,7 +191771,7 @@ const WG = /* @__PURE__ */ si(SAt), bAt = (e) => {
191748
191771
  ...a
191749
191772
  }
191750
191773
  );
191751
- }, rmt = (e) => {
191774
+ }, imt = (e) => {
191752
191775
  const t = bt(), { options: r = [], selectedValue: n, onChange: i, width: o = "11rem", searchable: s = !1, searchPlaceholder: a } = e, [l, c] = ye(!1), [u, f] = ye(""), p = ut(() => c((m) => !m), []), h = (m) => {
191753
191776
  m.currentTarget.contains(m.relatedTarget) || c(!1);
191754
191777
  }, A = Vt(() => {
@@ -191829,7 +191852,7 @@ const WG = /* @__PURE__ */ si(SAt), bAt = (e) => {
191829
191852
  ]
191830
191853
  }
191831
191854
  ) });
191832
- }, nmt = (e) => {
191855
+ }, omt = (e) => {
191833
191856
  const t = bt(), {
191834
191857
  isAccountLevel: r,
191835
191858
  workflowsOptions: n,
@@ -191970,7 +191993,7 @@ const WG = /* @__PURE__ */ si(SAt), bAt = (e) => {
191970
191993
  !r && /* @__PURE__ */ d.jsxs(Me, { children: [
191971
191994
  /* @__PURE__ */ d.jsx(ke, { variant: "xsBold", children: "Version" }),
191972
191995
  /* @__PURE__ */ d.jsx(le, { direction: "row", alignItems: "center", gap: 1, children: /* @__PURE__ */ d.jsx(
191973
- rmt,
191996
+ imt,
191974
191997
  {
191975
191998
  options: (_ || []).map((P) => ({
191976
191999
  value: P.id,
@@ -192094,7 +192117,7 @@ const WG = /* @__PURE__ */ si(SAt), bAt = (e) => {
192094
192117
  }
192095
192118
  },
192096
192119
  children: /* @__PURE__ */ d.jsx(
192097
- KAt,
192120
+ JAt,
192098
192121
  {
192099
192122
  startDate: A,
192100
192123
  endDate: g,
@@ -192124,7 +192147,7 @@ const WG = /* @__PURE__ */ si(SAt), bAt = (e) => {
192124
192147
  /* @__PURE__ */ d.jsxs(Me, { children: [
192125
192148
  /* @__PURE__ */ d.jsx(ke, { variant: "xsBold", children: "Triggers" }),
192126
192149
  /* @__PURE__ */ d.jsx(Me, { children: /* @__PURE__ */ d.jsx(
192127
- emt,
192150
+ rmt,
192128
192151
  {
192129
192152
  handleChange: x,
192130
192153
  selectedValues: v
@@ -192188,7 +192211,7 @@ const WG = /* @__PURE__ */ si(SAt), bAt = (e) => {
192188
192211
  ) }) })
192189
192212
  ] })
192190
192213
  ] }) });
192191
- }, imt = ({ open: e, loading: t, error: r, row: n, data: i, onClose: o }) => {
192214
+ }, smt = ({ open: e, loading: t, error: r, row: n, data: i, onClose: o }) => {
192192
192215
  const s = i?.execution_id || n?.id || "-";
192193
192216
  return /* @__PURE__ */ d.jsx(
192194
192217
  Lo,
@@ -192213,7 +192236,7 @@ const WG = /* @__PURE__ */ si(SAt), bAt = (e) => {
192213
192236
  content: /* @__PURE__ */ d.jsx(Me, { sx: { width: "100%", minHeight: 220 }, children: /* @__PURE__ */ d.jsx(Fae, { loading: t, error: r, row: n, data: i }) })
192214
192237
  }
192215
192238
  );
192216
- }, YG = "420px", omt = ({ data: e }) => {
192239
+ }, YG = "420px", amt = ({ data: e }) => {
192217
192240
  const t = bt(), [r, n] = ye("Payload"), [i, o] = ye("GUI"), [s, a] = ye(""), l = Vt(() => VL(e || {}), [e]), c = l?.payload, u = l?.global_variables, f = Vt(() => {
192218
192241
  const C = {};
192219
192242
  return l?.http && (C.http = l.http), l?.webhook && (C.webhook = l.webhook), Object.keys(C).length ? C : null;
@@ -192381,7 +192404,7 @@ const WG = /* @__PURE__ */ si(SAt), bAt = (e) => {
192381
192404
  }
192382
192405
  ) })
192383
192406
  ] });
192384
- }, smt = {
192407
+ }, lmt = {
192385
192408
  fontWeight: 500,
192386
192409
  backgroundColor: "white",
192387
192410
  textAlign: "left",
@@ -192412,8 +192435,8 @@ const WG = /* @__PURE__ */ si(SAt), bAt = (e) => {
192412
192435
  borderColor: "grey[300]",
192413
192436
  color: "grey.brainstem"
192414
192437
  }, KG = {
192415
- ...smt
192416
- }, amt = {
192438
+ ...lmt
192439
+ }, cmt = {
192417
192440
  maxHeight: "20rem",
192418
192441
  border: "1px solid",
192419
192442
  borderColor: "neutral.300",
@@ -192423,26 +192446,26 @@ const WG = /* @__PURE__ */ si(SAt), bAt = (e) => {
192423
192446
  "ul:nth-of-type(1)": {
192424
192447
  padding: 0
192425
192448
  }
192426
- }, lmt = {
192449
+ }, umt = {
192427
192450
  display: "block",
192428
192451
  borderColor: "neutral.40",
192429
192452
  width: "inherit",
192430
192453
  paddingX: 1.5,
192431
192454
  paddingY: 0.5,
192432
192455
  margin: 0
192433
- }, cmt = {
192456
+ }, dmt = {
192434
192457
  flexWrap: "wrap",
192435
192458
  padding: 0,
192436
192459
  ":hover": {
192437
192460
  backgroundColor: "transparent"
192438
192461
  }
192439
- }, umt = {
192462
+ }, fmt = {
192440
192463
  color: "neutral.800"
192441
- }, dmt = {
192464
+ }, pmt = {
192442
192465
  whiteSpace: "nowrap",
192443
192466
  overflow: "hidden",
192444
192467
  textOverflow: "ellipsis"
192445
- }, fmt = Wr(
192468
+ }, hmt = Wr(
192446
192469
  ({
192447
192470
  onOptionSelect: e,
192448
192471
  isDisabled: t,
@@ -192584,7 +192607,7 @@ const WG = /* @__PURE__ */ si(SAt), bAt = (e) => {
192584
192607
  ke,
192585
192608
  {
192586
192609
  sx: {
192587
- ...umt,
192610
+ ...fmt,
192588
192611
  opacity: t ? 0.4 : 1
192589
192612
  },
192590
192613
  variant: "xsMedium",
@@ -192649,7 +192672,7 @@ const WG = /* @__PURE__ */ si(SAt), bAt = (e) => {
192649
192672
  sx: {
192650
192673
  color: "text.primary",
192651
192674
  width: "auto",
192652
- ...dmt
192675
+ ...pmt
192653
192676
  },
192654
192677
  variant: W[p].props.variant,
192655
192678
  children: A || y || c
@@ -192677,7 +192700,7 @@ const WG = /* @__PURE__ */ si(SAt), bAt = (e) => {
192677
192700
  slotProps: {
192678
192701
  paper: {
192679
192702
  sx: {
192680
- ...amt,
192703
+ ...cmt,
192681
192704
  width: "fit-content"
192682
192705
  }
192683
192706
  }
@@ -192694,7 +192717,7 @@ const WG = /* @__PURE__ */ si(SAt), bAt = (e) => {
192694
192717
  role: "<option>",
192695
192718
  selected: K === !0,
192696
192719
  sx: {
192697
- ...lmt,
192720
+ ...umt,
192698
192721
  width: "100%",
192699
192722
  backgroundColor: x === X ? "neutral.20" : ""
192700
192723
  },
@@ -192714,7 +192737,7 @@ const WG = /* @__PURE__ */ si(SAt), bAt = (e) => {
192714
192737
  qa,
192715
192738
  {
192716
192739
  sx: {
192717
- ...cmt
192740
+ ...dmt
192718
192741
  },
192719
192742
  icon: /* @__PURE__ */ d.jsx(
192720
192743
  ze,
@@ -192806,7 +192829,7 @@ const WG = /* @__PURE__ */ si(SAt), bAt = (e) => {
192806
192829
  )
192807
192830
  ] });
192808
192831
  }
192809
- ), pmt = (e) => {
192832
+ ), Amt = (e) => {
192810
192833
  const t = bt(), {
192811
192834
  name: r = "",
192812
192835
  pageSizeOptions: n = [10, 20, 50, 100],
@@ -192914,7 +192937,7 @@ const WG = /* @__PURE__ */ si(SAt), bAt = (e) => {
192914
192937
  /* @__PURE__ */ d.jsxs(le, { direction: "row", flex: 1, justifyContent: "flex-end", gap: 1, alignItems: "center", children: [
192915
192938
  /* @__PURE__ */ d.jsx(ke, { variant: "smNormal", children: "Rows per page:" }),
192916
192939
  /* @__PURE__ */ d.jsx(
192917
- fmt,
192940
+ hmt,
192918
192941
  {
192919
192942
  value: E.toString(),
192920
192943
  options: v,
@@ -192986,7 +193009,7 @@ const WG = /* @__PURE__ */ si(SAt), bAt = (e) => {
192986
193009
  ]
192987
193010
  }
192988
193011
  ) });
192989
- }, hmt = re.memo(pmt), Amt = ({
193012
+ }, mmt = re.memo(Amt), gmt = ({
192990
193013
  columns: e,
192991
193014
  rows: t,
192992
193015
  id: r,
@@ -193189,9 +193212,9 @@ const WG = /* @__PURE__ */ si(SAt), bAt = (e) => {
193189
193212
  )
193190
193213
  }
193191
193214
  )),
193192
- E.length > 0 && o && /* @__PURE__ */ d.jsx(le, { p: 1.5, children: /* @__PURE__ */ d.jsx(hmt, { ..._, "data-id": "table-pagination" }) })
193215
+ E.length > 0 && o && /* @__PURE__ */ d.jsx(le, { p: 1.5, children: /* @__PURE__ */ d.jsx(mmt, { ..._, "data-id": "table-pagination" }) })
193193
193216
  ] });
193194
- }, mmt = ({ VORTEX_MAIN_URL: e, ENTITY_ID: t }) => {
193217
+ }, Emt = ({ VORTEX_MAIN_URL: e, ENTITY_ID: t }) => {
193195
193218
  const [r, n] = ye({
193196
193219
  data: [],
193197
193220
  pagination: { per_page: 10, prev_id: null, next_id: null },
@@ -193260,7 +193283,7 @@ const WG = /* @__PURE__ */ si(SAt), bAt = (e) => {
193260
193283
  selectedWorkflowIds: s,
193261
193284
  setSelectedWorkflowIds: a
193262
193285
  };
193263
- }, gmt = (e, t = 15) => {
193286
+ }, Omt = (e, t = 15) => {
193264
193287
  const [r, n] = ye(t), i = Nt(null);
193265
193288
  Fe(() => (i.current && window.clearInterval(i.current), n(t), i.current = window.setInterval(() => {
193266
193289
  n((s) => s <= 1 ? (e(), t) : s - 1);
@@ -193274,7 +193297,7 @@ const WG = /* @__PURE__ */ si(SAt), bAt = (e) => {
193274
193297
  refreshCountdown: r,
193275
193298
  resetCountdown: o
193276
193299
  };
193277
- }, Emt = (e, t, r, n, i, o, s, a, l, c) => {
193300
+ }, ymt = (e, t, r, n, i, o, s, a, l, c) => {
193278
193301
  const u = bt(), p = new URLSearchParams(window.location.search).get("source")?.toLowerCase(), h = Dae(window.location.pathname);
193279
193302
  return Vt(
193280
193303
  () => [
@@ -193324,7 +193347,7 @@ const WG = /* @__PURE__ */ si(SAt), bAt = (e) => {
193324
193347
  c
193325
193348
  ]
193326
193349
  );
193327
- }, Omt = (e, t, r, n, i, o, s, a, l) => {
193350
+ }, vmt = (e, t, r, n, i, o, s, a, l) => {
193328
193351
  const c = Fr(), [u, f] = ye(null), [p, h] = ye(!0), [A, g] = ye(!1), [m, E] = ye(!1), O = Nt(!1), y = Nt(!1), v = ut(
193329
193352
  async (S, b) => {
193330
193353
  const C = !!b?.silent, w = !!b?.isPagination, _ = { ...i.current, execution_source: "full", ...S || {} };
@@ -193394,7 +193417,7 @@ const WG = /* @__PURE__ */ si(SAt), bAt = (e) => {
193394
193417
  setInitialLoadComplete: E,
193395
193418
  hasRequestedRef: O
193396
193419
  };
193397
- }, ymt = (e, t, r, n, i, o, s, a, l, c, u, f, p, h) => {
193420
+ }, Tmt = (e, t, r, n, i, o, s, a, l, c, u, f, p, h) => {
193398
193421
  const A = Fr(), g = ut(
193399
193422
  (v) => {
193400
193423
  const x = v.target.value, S = typeof x == "string" ? x.split(",") : x, b = S.length === 0 ? [] : S;
@@ -193508,7 +193531,7 @@ const WG = /* @__PURE__ */ si(SAt), bAt = (e) => {
193508
193531
  handleDateChange: O,
193509
193532
  clearDates: y
193510
193533
  };
193511
- }, vmt = (e, t, r, n, i) => {
193534
+ }, xmt = (e, t, r, n, i) => {
193512
193535
  const o = Fr(), [s, a] = ye(!1), [l, c] = ye(/* @__PURE__ */ new Set()), u = ut((h) => {
193513
193536
  !h || h.length === 0 || (c((A) => /* @__PURE__ */ new Set([...A, ...h])), window.setTimeout(() => {
193514
193537
  c((A) => {
@@ -193586,7 +193609,7 @@ const WG = /* @__PURE__ */ si(SAt), bAt = (e) => {
193586
193609
  retrySelected: f,
193587
193610
  retrySingle: p
193588
193611
  };
193589
- }, Tmt = () => {
193612
+ }, Smt = () => {
193590
193613
  const e = {
193591
193614
  per_page: 10,
193592
193615
  next_id: null,
@@ -193633,7 +193656,7 @@ const WG = /* @__PURE__ */ si(SAt), bAt = (e) => {
193633
193656
  }), S;
193634
193657
  }
193635
193658
  };
193636
- }, xmt = (e, t, r, n, i, o) => {
193659
+ }, bmt = (e, t, r, n, i, o) => {
193637
193660
  const [s, a] = ye({}), l = Nt({});
193638
193661
  Fe(() => {
193639
193662
  l.current = s;
@@ -193686,7 +193709,7 @@ const WG = /* @__PURE__ */ si(SAt), bAt = (e) => {
193686
193709
  toggleExpandRow: p,
193687
193710
  refreshExpandedRetries: h
193688
193711
  };
193689
- }, Smt = (e) => {
193712
+ }, Cmt = (e) => {
193690
193713
  const t = ut(
193691
193714
  (i) => {
193692
193715
  const o = new URLSearchParams(window.location.search);
@@ -193703,7 +193726,7 @@ const WG = /* @__PURE__ */ si(SAt), bAt = (e) => {
193703
193726
  getUrlParam: r,
193704
193727
  getAllUrlParams: n
193705
193728
  };
193706
- }, bmt = (e, t, r, n, i, o, s, a, l, c, u, f) => {
193729
+ }, _mt = (e, t, r, n, i, o, s, a, l, c, u, f) => {
193707
193730
  Fe(() => {
193708
193731
  try {
193709
193732
  const p = {};
@@ -193741,7 +193764,7 @@ const WG = /* @__PURE__ */ si(SAt), bAt = (e) => {
193741
193764
  u(!0);
193742
193765
  }
193743
193766
  }, []);
193744
- }, Cmt = (e) => {
193767
+ }, wmt = (e) => {
193745
193768
  const t = bt(), r = Fr(), { WORKFLOW_URLS: n, ENTITY_ID: i, analytics: o } = Hi(), { VORTEX_MAIN_URL: s } = n, a = "This execution failed before the workflow could start due to a temporary infrastructure issue. Execution logs are unavailable, use the view icon to see the payload it was triggered with.", {
193746
193769
  executionId: l = "",
193747
193770
  token: c,
@@ -193750,7 +193773,7 @@ const WG = /* @__PURE__ */ si(SAt), bAt = (e) => {
193750
193773
  isAccountLevel: p = !1,
193751
193774
  currentSubscription: h,
193752
193775
  openUpgradeModal: A
193753
- } = e, { executions: g } = Jt((Gt) => Gt.workflows), { workflow: m } = Jt((Gt) => Gt.workflows), { versions: E } = Jt((Gt) => Gt.workflows), O = f4(), { updateURLParams: y, getAllUrlParams: v } = Smt(f), x = v(), S = new URLSearchParams(window.location.search), b = S.get("source")?.toLowerCase(), C = typeof window < "u" ? window.location.pathname : "", w = typeof window < "u" ? window.location.search : "", _ = Vt(() => {
193776
+ } = e, { executions: g } = Jt((Gt) => Gt.workflows), { workflow: m } = Jt((Gt) => Gt.workflows), { versions: E } = Jt((Gt) => Gt.workflows), O = f4(), { updateURLParams: y, getAllUrlParams: v } = Cmt(f), x = v(), S = new URLSearchParams(window.location.search), b = S.get("source")?.toLowerCase(), C = typeof window < "u" ? window.location.pathname : "", w = typeof window < "u" ? window.location.search : "", _ = Vt(() => {
193754
193777
  if (l) return l;
193755
193778
  const lr = new URLSearchParams(w).get("executionId");
193756
193779
  return lr || C.match(/\/executions\/([^/?#]+)/)?.[1] || "";
@@ -193774,7 +193797,7 @@ const WG = /* @__PURE__ */ si(SAt), bAt = (e) => {
193774
193797
  setParamsProcessed: z,
193775
193798
  resetIds: V,
193776
193799
  updateDate: H
193777
- } = Tmt(), [G, q] = ye(!1), [K, ee] = ye(!0), [te, ae] = ye(""), [me, ve] = ye(!1), [oe, ie] = ye(null), [Z, Y] = ye(null), [ne, ce] = ye(null), [pe, he] = ye(null), [fe, Se] = ye(!1), [ge, Oe] = ye(null), { selectedExecutionIds: He, setSelectedExecutionIds: Ge, clearSelection: Qe, retryExecutions: rt } = Lae({
193800
+ } = Smt(), [G, q] = ye(!1), [K, ee] = ye(!0), [te, ae] = ye(""), [me, ve] = ye(!1), [oe, ie] = ye(null), [Z, Y] = ye(null), [ne, ce] = ye(null), [pe, he] = ye(null), [fe, Se] = ye(!1), [ge, Oe] = ye(null), { selectedExecutionIds: He, setSelectedExecutionIds: Ge, clearSelection: Qe, retryExecutions: rt } = Lae({
193778
193801
  workflowId: O ?? void 0,
193779
193802
  VORTEX_MAIN_URL: s,
193780
193803
  ENTITY_ID: i
@@ -193785,11 +193808,11 @@ const WG = /* @__PURE__ */ si(SAt), bAt = (e) => {
193785
193808
  fetchWorkflowsOptions: Xe,
193786
193809
  selectedWorkflowIds: qe,
193787
193810
  setSelectedWorkflowIds: Ee
193788
- } = mmt({ VORTEX_MAIN_URL: s, ENTITY_ID: i }), Re = p ? ot : g, we = Nt([]);
193811
+ } = Emt({ VORTEX_MAIN_URL: s, ENTITY_ID: i }), Re = p ? ot : g, we = Nt([]);
193789
193812
  Fe(() => {
193790
193813
  we.current = (p ? ot?.data : g?.data) || [];
193791
193814
  }, [p, ot?.data, g?.data]);
193792
- const { expandedRowIds: J, rowRetriesMap: de, toggleExpandRow: Ce, refreshExpandedRetries: Ye } = xmt(
193815
+ const { expandedRowIds: J, rowRetriesMap: de, toggleExpandRow: Ce, refreshExpandedRetries: Ye } = bmt(
193793
193816
  O,
193794
193817
  s,
193795
193818
  i,
@@ -193797,7 +193820,7 @@ const WG = /* @__PURE__ */ si(SAt), bAt = (e) => {
193797
193820
  ot,
193798
193821
  g
193799
193822
  );
193800
- bmt(
193823
+ _mt(
193801
193824
  x,
193802
193825
  W,
193803
193826
  j,
@@ -193819,7 +193842,7 @@ const WG = /* @__PURE__ */ si(SAt), bAt = (e) => {
193819
193842
  setIsExecutionsLoading: Ie,
193820
193843
  isLoading: ct,
193821
193844
  initialLoadComplete: mt
193822
- } = Omt(
193845
+ } = vmt(
193823
193846
  O,
193824
193847
  s,
193825
193848
  i,
@@ -193893,12 +193916,12 @@ const WG = /* @__PURE__ */ si(SAt), bAt = (e) => {
193893
193916
  return;
193894
193917
  }
193895
193918
  Ot(null), Le(), Ye();
193896
- }, [Le, Ye, Ot]), { refreshCountdown: Ht } = gmt(
193919
+ }, [Le, Ye, Ot]), { refreshCountdown: Ht } = Omt(
193897
193920
  ut(() => {
193898
193921
  Le(void 0, { silent: !0 }), Ye();
193899
193922
  }, [Le, Ye]),
193900
193923
  15
193901
- ), { data: Mt = [] } = Re || { data: {} }, { isRetrying: Ve, cooldownIds: tt, retrySelected: Je, retrySingle: pt } = vmt(
193924
+ ), { data: Mt = [] } = Re || { data: {} }, { isRetrying: Ve, cooldownIds: tt, retrySelected: Je, retrySingle: pt } = xmt(
193902
193925
  rt,
193903
193926
  O,
193904
193927
  Mt,
@@ -193931,7 +193954,7 @@ const WG = /* @__PURE__ */ si(SAt), bAt = (e) => {
193931
193954
  handleExecutionSearch: Ne,
193932
193955
  handleExecutionTypeChange: dt,
193933
193956
  clearDates: it
193934
- } = ymt(
193957
+ } = Tmt(
193935
193958
  D,
193936
193959
  N,
193937
193960
  V,
@@ -194042,7 +194065,7 @@ const WG = /* @__PURE__ */ si(SAt), bAt = (e) => {
194042
194065
  f,
194043
194066
  q,
194044
194067
  ee
194045
- ]), Wt = Emt(
194068
+ ]), Wt = ymt(
194046
194069
  m,
194047
194070
  oe || O,
194048
194071
  te,
@@ -194093,11 +194116,11 @@ const WG = /* @__PURE__ */ si(SAt), bAt = (e) => {
194093
194116
  variant: "xlarge",
194094
194117
  title: "Trigger payload",
194095
194118
  subtitle: Z?.meta?.failed_before_start ? "This execution failed before it could start, so run logs aren't available." : "This execution is still pending, so run logs aren't available yet.",
194096
- content: /* @__PURE__ */ d.jsx(omt, { data: Z?.meta?.request_body })
194119
+ content: /* @__PURE__ */ d.jsx(amt, { data: Z?.meta?.request_body })
194097
194120
  }
194098
194121
  ),
194099
194122
  /* @__PURE__ */ d.jsx(
194100
- imt,
194123
+ smt,
194101
194124
  {
194102
194125
  open: !!ne,
194103
194126
  loading: fe,
@@ -194121,9 +194144,9 @@ const WG = /* @__PURE__ */ si(SAt), bAt = (e) => {
194121
194144
  children: /* @__PURE__ */ d.jsx(Ci, { size: 60 })
194122
194145
  }
194123
194146
  ) : /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
194124
- !p && /* @__PURE__ */ d.jsx(YAt, { crumbs: Wt, onBack: Mn, navigate: f }),
194147
+ !p && /* @__PURE__ */ d.jsx(ZAt, { crumbs: Wt, onBack: Mn, navigate: f }),
194125
194148
  G ? /* @__PURE__ */ d.jsx(
194126
- XAt,
194149
+ YAt,
194127
194150
  {
194128
194151
  executionId: _,
194129
194152
  parentExecutionId: Ln,
@@ -194131,7 +194154,7 @@ const WG = /* @__PURE__ */ si(SAt), bAt = (e) => {
194131
194154
  executionCreatedAt: $r
194132
194155
  }
194133
194156
  ) : /* @__PURE__ */ d.jsx(le, { m: 3, gap: 2, children: /* @__PURE__ */ d.jsx(
194134
- Amt,
194157
+ gmt,
194135
194158
  {
194136
194159
  rows: {
194137
194160
  items: Dn,
@@ -194150,7 +194173,7 @@ const WG = /* @__PURE__ */ si(SAt), bAt = (e) => {
194150
194173
  getRowTooltip: (Gt) => Gt?.meta?.failed_before_start ? a : "",
194151
194174
  tableHeader: /* @__PURE__ */ d.jsxs(le, { children: [
194152
194175
  /* @__PURE__ */ d.jsx(
194153
- nmt,
194176
+ omt,
194154
194177
  {
194155
194178
  isAccountLevel: p,
194156
194179
  workflowsOptions: Pe,
@@ -194242,7 +194265,7 @@ const WG = /* @__PURE__ */ si(SAt), bAt = (e) => {
194242
194265
  ) })
194243
194266
  ] })
194244
194267
  ] });
194245
- }, U0t = (e) => {
194268
+ }, H0t = (e) => {
194246
194269
  const {
194247
194270
  WORKFLOW_URLS: t,
194248
194271
  ENTITY_ID: r,
@@ -194281,7 +194304,7 @@ const WG = /* @__PURE__ */ si(SAt), bAt = (e) => {
194281
194304
  openAddonModal: m
194282
194305
  }
194283
194306
  ) }) });
194284
- }, _mt = (e) => {
194307
+ }, Rmt = (e) => {
194285
194308
  const {
194286
194309
  ENTITY_ID: t,
194287
194310
  WORKFLOW_URLS: r,
@@ -194303,7 +194326,7 @@ const WG = /* @__PURE__ */ si(SAt), bAt = (e) => {
194303
194326
  userData: u,
194304
194327
  currentSubscription: l,
194305
194328
  children: /* @__PURE__ */ d.jsx(YN, { children: /* @__PURE__ */ d.jsx(
194306
- Cmt,
194329
+ wmt,
194307
194330
  {
194308
194331
  navigate: n,
194309
194332
  token: o,
@@ -194315,10 +194338,10 @@ const WG = /* @__PURE__ */ si(SAt), bAt = (e) => {
194315
194338
  ) })
194316
194339
  }
194317
194340
  ) });
194318
- }, V0t = (e) => {
194341
+ }, W0t = (e) => {
194319
194342
  const { TOKEN: t, api: r } = e;
194320
- return fS(t), pS(r), /* @__PURE__ */ d.jsx(re.StrictMode, { children: /* @__PURE__ */ d.jsx(KN, { store: fm, children: /* @__PURE__ */ d.jsx(_mt, { ...e }) }) });
194321
- }, wmt = (e) => {
194343
+ return fS(t), pS(r), /* @__PURE__ */ d.jsx(re.StrictMode, { children: /* @__PURE__ */ d.jsx(KN, { store: fm, children: /* @__PURE__ */ d.jsx(Rmt, { ...e }) }) });
194344
+ }, Imt = (e) => {
194322
194345
  const {
194323
194346
  ENTITY_ID: t,
194324
194347
  WORKFLOW_URLS: r,
@@ -194350,12 +194373,12 @@ const WG = /* @__PURE__ */ si(SAt), bAt = (e) => {
194350
194373
  actionRef: h
194351
194374
  }
194352
194375
  ) }) }) });
194353
- }, H0t = (e) => {
194376
+ }, G0t = (e) => {
194354
194377
  const { TOKEN: t, api: r } = e;
194355
- return fS(t), pS(r), /* @__PURE__ */ d.jsx(re.StrictMode, { children: /* @__PURE__ */ d.jsx(KN, { store: fm, children: /* @__PURE__ */ d.jsx(wmt, { ...e }) }) });
194378
+ return fS(t), pS(r), /* @__PURE__ */ d.jsx(re.StrictMode, { children: /* @__PURE__ */ d.jsx(KN, { store: fm, children: /* @__PURE__ */ d.jsx(Imt, { ...e }) }) });
194356
194379
  };
194357
194380
  export {
194358
- V0t as ExecutionData,
194359
- H0t as IntegrationForm,
194360
- U0t as WorkflowBuilder
194381
+ W0t as ExecutionData,
194382
+ G0t as IntegrationForm,
194383
+ H0t as WorkflowBuilder
194361
194384
  };