@kashifd/jwero-components 0.7.85 → 0.7.88

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/index.es.js CHANGED
@@ -41498,7 +41498,7 @@ var Ej = 10, hx = /* @__PURE__ */ function() {
41498
41498
  return c.era = u, s.setUTCFullYear(u, 0, 1), s.setUTCHours(0, 0, 0, 0), s;
41499
41499
  }
41500
41500
  }]), r;
41501
- }(er), jr = {
41501
+ }(er), Nr = {
41502
41502
  month: /^(1[0-2]|0?\d)/,
41503
41503
  // 0 to 12
41504
41504
  date: /^(3[0-1]|[0-2]?\d)/,
@@ -41543,7 +41543,7 @@ var Ej = 10, hx = /* @__PURE__ */ function() {
41543
41543
  extended: /^([+-])(\d{2}):(\d{2})|Z/,
41544
41544
  extendedOptionalSeconds: /^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/
41545
41545
  };
41546
- function Nr(e, t) {
41546
+ function Lr(e, t) {
41547
41547
  return e && {
41548
41548
  value: t(e.value),
41549
41549
  rest: e.rest
@@ -41572,18 +41572,18 @@ function po(e, t) {
41572
41572
  };
41573
41573
  }
41574
41574
  function px(e) {
41575
- return Tr(jr.anyDigitsSigned, e);
41575
+ return Tr(Nr.anyDigitsSigned, e);
41576
41576
  }
41577
41577
  function Ir(e, t) {
41578
41578
  switch (e) {
41579
41579
  case 1:
41580
- return Tr(jr.singleDigit, t);
41580
+ return Tr(Nr.singleDigit, t);
41581
41581
  case 2:
41582
- return Tr(jr.twoDigits, t);
41582
+ return Tr(Nr.twoDigits, t);
41583
41583
  case 3:
41584
- return Tr(jr.threeDigits, t);
41584
+ return Tr(Nr.threeDigits, t);
41585
41585
  case 4:
41586
- return Tr(jr.fourDigits, t);
41586
+ return Tr(Nr.fourDigits, t);
41587
41587
  default:
41588
41588
  return Tr(new RegExp("^\\d{1," + e + "}"), t);
41589
41589
  }
@@ -41591,13 +41591,13 @@ function Ir(e, t) {
41591
41591
  function hc(e, t) {
41592
41592
  switch (e) {
41593
41593
  case 1:
41594
- return Tr(jr.singleDigitSigned, t);
41594
+ return Tr(Nr.singleDigitSigned, t);
41595
41595
  case 2:
41596
- return Tr(jr.twoDigitsSigned, t);
41596
+ return Tr(Nr.twoDigitsSigned, t);
41597
41597
  case 3:
41598
- return Tr(jr.threeDigitsSigned, t);
41598
+ return Tr(Nr.threeDigitsSigned, t);
41599
41599
  case 4:
41600
- return Tr(jr.fourDigitsSigned, t);
41600
+ return Tr(Nr.fourDigitsSigned, t);
41601
41601
  default:
41602
41602
  return Tr(new RegExp("^-?\\d{1," + e + "}"), t);
41603
41603
  }
@@ -41653,13 +41653,13 @@ var Nj = /* @__PURE__ */ function(e) {
41653
41653
  };
41654
41654
  switch (c) {
41655
41655
  case "y":
41656
- return Nr(Ir(4, s), g);
41656
+ return Lr(Ir(4, s), g);
41657
41657
  case "yo":
41658
- return Nr(u.ordinalNumber(s, {
41658
+ return Lr(u.ordinalNumber(s, {
41659
41659
  unit: "year"
41660
41660
  }), g);
41661
41661
  default:
41662
- return Nr(Ir(c.length, s), g);
41662
+ return Lr(Ir(c.length, s), g);
41663
41663
  }
41664
41664
  }
41665
41665
  }, {
@@ -41700,13 +41700,13 @@ var Nj = /* @__PURE__ */ function(e) {
41700
41700
  };
41701
41701
  switch (c) {
41702
41702
  case "Y":
41703
- return Nr(Ir(4, s), g);
41703
+ return Lr(Ir(4, s), g);
41704
41704
  case "Yo":
41705
- return Nr(u.ordinalNumber(s, {
41705
+ return Lr(u.ordinalNumber(s, {
41706
41706
  unit: "year"
41707
41707
  }), g);
41708
41708
  default:
41709
- return Nr(Ir(c.length, s), g);
41709
+ return Lr(Ir(c.length, s), g);
41710
41710
  }
41711
41711
  }
41712
41712
  }, {
@@ -41905,11 +41905,11 @@ var Nj = /* @__PURE__ */ function(e) {
41905
41905
  };
41906
41906
  switch (c) {
41907
41907
  case "M":
41908
- return Nr(Tr(jr.month, s), g);
41908
+ return Lr(Tr(Nr.month, s), g);
41909
41909
  case "MM":
41910
- return Nr(Ir(2, s), g);
41910
+ return Lr(Ir(2, s), g);
41911
41911
  case "Mo":
41912
- return Nr(u.ordinalNumber(s, {
41912
+ return Lr(u.ordinalNumber(s, {
41913
41913
  unit: "month"
41914
41914
  }), g);
41915
41915
  case "MMM":
@@ -41968,11 +41968,11 @@ var Nj = /* @__PURE__ */ function(e) {
41968
41968
  };
41969
41969
  switch (c) {
41970
41970
  case "L":
41971
- return Nr(Tr(jr.month, s), g);
41971
+ return Lr(Tr(Nr.month, s), g);
41972
41972
  case "LL":
41973
- return Nr(Ir(2, s), g);
41973
+ return Lr(Ir(2, s), g);
41974
41974
  case "Lo":
41975
- return Nr(u.ordinalNumber(s, {
41975
+ return Lr(u.ordinalNumber(s, {
41976
41976
  unit: "month"
41977
41977
  }), g);
41978
41978
  case "LLL":
@@ -42034,7 +42034,7 @@ var Uj = /* @__PURE__ */ function(e) {
42034
42034
  value: function(s, c, u) {
42035
42035
  switch (c) {
42036
42036
  case "w":
42037
- return Tr(jr.week, s);
42037
+ return Tr(Nr.week, s);
42038
42038
  case "wo":
42039
42039
  return u.ordinalNumber(s, {
42040
42040
  unit: "week"
@@ -42075,7 +42075,7 @@ var Gj = /* @__PURE__ */ function(e) {
42075
42075
  value: function(s, c, u) {
42076
42076
  switch (c) {
42077
42077
  case "I":
42078
- return Tr(jr.week, s);
42078
+ return Tr(Nr.week, s);
42079
42079
  case "Io":
42080
42080
  return u.ordinalNumber(s, {
42081
42081
  unit: "week"
@@ -42110,7 +42110,7 @@ var Gj = /* @__PURE__ */ function(e) {
42110
42110
  value: function(s, c, u) {
42111
42111
  switch (c) {
42112
42112
  case "d":
42113
- return Tr(jr.date, s);
42113
+ return Tr(Nr.date, s);
42114
42114
  case "do":
42115
42115
  return u.ordinalNumber(s, {
42116
42116
  unit: "date"
@@ -42147,7 +42147,7 @@ var Gj = /* @__PURE__ */ function(e) {
42147
42147
  switch (c) {
42148
42148
  case "D":
42149
42149
  case "DD":
42150
- return Tr(jr.dayOfYear, s);
42150
+ return Tr(Nr.dayOfYear, s);
42151
42151
  case "Do":
42152
42152
  return u.ordinalNumber(s, {
42153
42153
  unit: "date"
@@ -42266,9 +42266,9 @@ var Jj = /* @__PURE__ */ function(e) {
42266
42266
  switch (c) {
42267
42267
  case "e":
42268
42268
  case "ee":
42269
- return Nr(Ir(c.length, s), m);
42269
+ return Lr(Ir(c.length, s), m);
42270
42270
  case "eo":
42271
- return Nr(u.ordinalNumber(s, {
42271
+ return Lr(u.ordinalNumber(s, {
42272
42272
  unit: "day"
42273
42273
  }), m);
42274
42274
  case "eee":
@@ -42343,9 +42343,9 @@ var Jj = /* @__PURE__ */ function(e) {
42343
42343
  switch (c) {
42344
42344
  case "c":
42345
42345
  case "cc":
42346
- return Nr(Ir(c.length, s), m);
42346
+ return Lr(Ir(c.length, s), m);
42347
42347
  case "co":
42348
- return Nr(u.ordinalNumber(s, {
42348
+ return Lr(u.ordinalNumber(s, {
42349
42349
  unit: "day"
42350
42350
  }), m);
42351
42351
  case "ccc":
@@ -42433,7 +42433,7 @@ var tN = /* @__PURE__ */ function(e) {
42433
42433
  unit: "day"
42434
42434
  });
42435
42435
  case "iii":
42436
- return Nr(u.day(s, {
42436
+ return Lr(u.day(s, {
42437
42437
  width: "abbreviated",
42438
42438
  context: "formatting"
42439
42439
  }) || u.day(s, {
@@ -42444,12 +42444,12 @@ var tN = /* @__PURE__ */ function(e) {
42444
42444
  context: "formatting"
42445
42445
  }), g);
42446
42446
  case "iiiii":
42447
- return Nr(u.day(s, {
42447
+ return Lr(u.day(s, {
42448
42448
  width: "narrow",
42449
42449
  context: "formatting"
42450
42450
  }), g);
42451
42451
  case "iiiiii":
42452
- return Nr(u.day(s, {
42452
+ return Lr(u.day(s, {
42453
42453
  width: "short",
42454
42454
  context: "formatting"
42455
42455
  }) || u.day(s, {
@@ -42458,7 +42458,7 @@ var tN = /* @__PURE__ */ function(e) {
42458
42458
  }), g);
42459
42459
  case "iiii":
42460
42460
  default:
42461
- return Nr(u.day(s, {
42461
+ return Lr(u.day(s, {
42462
42462
  width: "wide",
42463
42463
  context: "formatting"
42464
42464
  }) || u.day(s, {
@@ -42646,7 +42646,7 @@ var tN = /* @__PURE__ */ function(e) {
42646
42646
  value: function(s, c, u) {
42647
42647
  switch (c) {
42648
42648
  case "h":
42649
- return Tr(jr.hour12h, s);
42649
+ return Tr(Nr.hour12h, s);
42650
42650
  case "ho":
42651
42651
  return u.ordinalNumber(s, {
42652
42652
  unit: "hour"
@@ -42682,7 +42682,7 @@ var tN = /* @__PURE__ */ function(e) {
42682
42682
  value: function(s, c, u) {
42683
42683
  switch (c) {
42684
42684
  case "H":
42685
- return Tr(jr.hour23h, s);
42685
+ return Tr(Nr.hour23h, s);
42686
42686
  case "Ho":
42687
42687
  return u.ordinalNumber(s, {
42688
42688
  unit: "hour"
@@ -42717,7 +42717,7 @@ var tN = /* @__PURE__ */ function(e) {
42717
42717
  value: function(s, c, u) {
42718
42718
  switch (c) {
42719
42719
  case "K":
42720
- return Tr(jr.hour11h, s);
42720
+ return Tr(Nr.hour11h, s);
42721
42721
  case "Ko":
42722
42722
  return u.ordinalNumber(s, {
42723
42723
  unit: "hour"
@@ -42753,7 +42753,7 @@ var tN = /* @__PURE__ */ function(e) {
42753
42753
  value: function(s, c, u) {
42754
42754
  switch (c) {
42755
42755
  case "k":
42756
- return Tr(jr.hour24h, s);
42756
+ return Tr(Nr.hour24h, s);
42757
42757
  case "ko":
42758
42758
  return u.ordinalNumber(s, {
42759
42759
  unit: "hour"
@@ -42789,7 +42789,7 @@ var tN = /* @__PURE__ */ function(e) {
42789
42789
  value: function(s, c, u) {
42790
42790
  switch (c) {
42791
42791
  case "m":
42792
- return Tr(jr.minute, s);
42792
+ return Tr(Nr.minute, s);
42793
42793
  case "mo":
42794
42794
  return u.ordinalNumber(s, {
42795
42795
  unit: "minute"
@@ -42824,7 +42824,7 @@ var tN = /* @__PURE__ */ function(e) {
42824
42824
  value: function(s, c, u) {
42825
42825
  switch (c) {
42826
42826
  case "s":
42827
- return Tr(jr.second, s);
42827
+ return Tr(Nr.second, s);
42828
42828
  case "so":
42829
42829
  return u.ordinalNumber(s, {
42830
42830
  unit: "second"
@@ -42860,7 +42860,7 @@ var tN = /* @__PURE__ */ function(e) {
42860
42860
  var u = function(m) {
42861
42861
  return Math.floor(m * Math.pow(10, -c.length + 3));
42862
42862
  };
42863
- return Nr(Ir(c.length, s), u);
42863
+ return Lr(Ir(c.length, s), u);
42864
42864
  }
42865
42865
  }, {
42866
42866
  key: "set",
@@ -46491,7 +46491,7 @@ const Na = ({ stroke: e = "#000", ...t }) => /* @__PURE__ */ v.jsxs(
46491
46491
  }
46492
46492
  );
46493
46493
  };
46494
- var Lr = {}, Go = {};
46494
+ var jr = {}, Go = {};
46495
46495
  Object.defineProperty(Go, "__esModule", { value: !0 });
46496
46496
  Go.formatDate = Go.getTimeInMilliSeconds = Go.getTimeInSeconds = void 0;
46497
46497
  const kF = () => Math.floor((/* @__PURE__ */ new Date()).getTime() / 1e3);
@@ -46620,7 +46620,7 @@ Si.capitalizeFirstLetter = NF;
46620
46620
  return s + c;
46621
46621
  }
46622
46622
  e.add = a;
46623
- })(Lr);
46623
+ })(jr);
46624
46624
  const LF = Te(eo)(({ theme: e }) => ({
46625
46625
  borderRadius: "0.75rem",
46626
46626
  overflow: "hidden",
@@ -46738,7 +46738,7 @@ const LF = Te(eo)(({ theme: e }) => ({
46738
46738
  }
46739
46739
  },
46740
46740
  ...s,
46741
- children: Lr.isArrayWithValues(r) ? r == null ? void 0 : r.map((W, $) => {
46741
+ children: jr.isArrayWithValues(r) ? r == null ? void 0 : r.map((W, $) => {
46742
46742
  var ue, de, ae;
46743
46743
  return /* @__PURE__ */ v.jsx(
46744
46744
  ai,
@@ -47365,7 +47365,7 @@ const LF = Te(eo)(({ theme: e }) => ({
47365
47365
  gap: "1rem",
47366
47366
  padding: "1rem 4rem 1rem 1.5rem"
47367
47367
  },
47368
- children: Lr.isArrayWithValues(e) && e.map((a) => /* @__PURE__ */ v.jsxs(
47368
+ children: jr.isArrayWithValues(e) && e.map((a) => /* @__PURE__ */ v.jsxs(
47369
47369
  Fe,
47370
47370
  {
47371
47371
  onClick: () => r(a.value),
@@ -48307,7 +48307,7 @@ const TW = ({
48307
48307
  },
48308
48308
  ...w
48309
48309
  },
48310
- children: Lr.isArrayWithValues(t) && t.map((E, V) => /* @__PURE__ */ v.jsx(
48310
+ children: jr.isArrayWithValues(t) && t.map((E, V) => /* @__PURE__ */ v.jsx(
48311
48311
  $l,
48312
48312
  {
48313
48313
  label: /* @__PURE__ */ v.jsxs(
@@ -48489,22 +48489,23 @@ const TW = ({
48489
48489
  subTitle: t,
48490
48490
  onClose: r,
48491
48491
  titleComponent: a,
48492
- titleIconProps: s,
48493
- endIconProps: c = {
48492
+ subTitleComponent: s,
48493
+ titleIconProps: c,
48494
+ endIconProps: u = {
48494
48495
  flag: !0,
48495
48496
  onClickFunction: r,
48496
48497
  icon: /* @__PURE__ */ v.jsx(Na, {})
48497
48498
  },
48498
- stepProps: u = {
48499
+ stepProps: g = {
48499
48500
  flag: !0,
48500
48501
  custom_name: "Steps",
48501
48502
  total_steps: 1,
48502
48503
  current_step: 1
48503
48504
  },
48504
- sx: g,
48505
- titleSx: m
48505
+ sx: m,
48506
+ titleSx: b
48506
48507
  }) => {
48507
- const b = Ot();
48508
+ const w = Ot();
48508
48509
  return /* @__PURE__ */ v.jsx(
48509
48510
  Fe,
48510
48511
  {
@@ -48515,11 +48516,11 @@ const TW = ({
48515
48516
  padding: "1rem",
48516
48517
  background: "var(--Gradient-4, linear-gradient(135deg, #FFF0EC 24.4%, #F5FFF9 97.75%))",
48517
48518
  borderBottom: "1px solid rgba(85, 87, 112, 0.08)",
48518
- ...g
48519
+ ...m
48519
48520
  },
48520
48521
  children: /* @__PURE__ */ v.jsxs(Fe, { sx: { gap: "0.65rem", width: "100%" }, children: [
48521
48522
  /* @__PURE__ */ v.jsxs(Fe, { direction: "row", alignItems: "center", sx: { gap: "0.5rem" }, children: [
48522
- (c == null ? void 0 : c.flag) && /* @__PURE__ */ v.jsx(
48523
+ (u == null ? void 0 : u.flag) && /* @__PURE__ */ v.jsx(
48523
48524
  dr,
48524
48525
  {
48525
48526
  disableRipple: !0,
@@ -48532,10 +48533,10 @@ const TW = ({
48532
48533
  }
48533
48534
  },
48534
48535
  onClick: r,
48535
- children: (c == null ? void 0 : c.flag) && (c == null ? void 0 : c.icon) && (c == null ? void 0 : c.icon)
48536
+ children: (u == null ? void 0 : u.flag) && (u == null ? void 0 : u.icon) && (u == null ? void 0 : u.icon)
48536
48537
  }
48537
48538
  ),
48538
- (u == null ? void 0 : u.flag) && /* @__PURE__ */ v.jsx(
48539
+ (g == null ? void 0 : g.flag) && /* @__PURE__ */ v.jsx(
48539
48540
  Fe,
48540
48541
  {
48541
48542
  sx: {
@@ -48554,14 +48555,14 @@ const TW = ({
48554
48555
  fontWeight: 500
48555
48556
  },
48556
48557
  children: [
48557
- /* @__PURE__ */ v.jsxs("span", { style: { color: b.colors.text_primary }, children: [
48558
- u != null && u.custom_name ? (u == null ? void 0 : u.custom_name) + " " : "Steps ",
48559
- (u == null ? void 0 : u.current_step) ?? "1 "
48558
+ /* @__PURE__ */ v.jsxs("span", { style: { color: w.colors.text_primary }, children: [
48559
+ g != null && g.custom_name ? (g == null ? void 0 : g.custom_name) + " " : "Steps ",
48560
+ (g == null ? void 0 : g.current_step) ?? "1 "
48560
48561
  ] }),
48561
48562
  /* @__PURE__ */ v.jsxs("span", { style: { color: "rgba(85, 87, 112, 0.5) " }, children: [
48562
48563
  " ",
48563
48564
  "/ ",
48564
- (u == null ? void 0 : u.total_steps) ?? 1
48565
+ (g == null ? void 0 : g.total_steps) ?? 1
48565
48566
  ] })
48566
48567
  ]
48567
48568
  }
@@ -48576,32 +48577,32 @@ const TW = ({
48576
48577
  direction: "row",
48577
48578
  alignItems: "center",
48578
48579
  justifyContent: "space-between",
48579
- sx: { gap: "1rem", width: "100%", ...m },
48580
+ sx: { gap: "1rem", width: "100%", ...b },
48580
48581
  children: [
48581
48582
  /* @__PURE__ */ v.jsxs(Fe, { direction: "row", alignItems: "center", sx: { gap: "0.5rem" }, children: [
48582
- (s == null ? void 0 : s.icon) && (s == null ? void 0 : s.position) === "start" && /* @__PURE__ */ v.jsx(
48583
+ (c == null ? void 0 : c.icon) && (c == null ? void 0 : c.position) === "start" && /* @__PURE__ */ v.jsx(
48583
48584
  Fe,
48584
48585
  {
48585
48586
  sx: {
48586
48587
  borderRadius: "0.5rem",
48587
- backgroundColor: b.colors.white,
48588
+ backgroundColor: w.colors.white,
48588
48589
  padding: "0.5rem",
48589
- ...s == null ? void 0 : s.sx
48590
+ ...c == null ? void 0 : c.sx
48590
48591
  },
48591
- children: s == null ? void 0 : s.icon
48592
+ children: c == null ? void 0 : c.icon
48592
48593
  }
48593
48594
  ),
48594
48595
  /* @__PURE__ */ v.jsx(nt, { sx: { color: "#012687" }, variant: "xxxlSemibold", children: e }),
48595
- (s == null ? void 0 : s.icon) && (s == null ? void 0 : s.position) === "end" && /* @__PURE__ */ v.jsx(
48596
+ (c == null ? void 0 : c.icon) && (c == null ? void 0 : c.position) === "end" && /* @__PURE__ */ v.jsx(
48596
48597
  Fe,
48597
48598
  {
48598
48599
  sx: {
48599
48600
  borderRadius: "0.5rem",
48600
- backgroundColor: b.colors.white,
48601
+ backgroundColor: w.colors.white,
48601
48602
  padding: "0.5rem",
48602
- ...s == null ? void 0 : s.sx
48603
+ ...c == null ? void 0 : c.sx
48603
48604
  },
48604
- children: s == null ? void 0 : s.icon
48605
+ children: c == null ? void 0 : c.icon
48605
48606
  }
48606
48607
  )
48607
48608
  ] }),
@@ -48609,7 +48610,8 @@ const TW = ({
48609
48610
  ]
48610
48611
  }
48611
48612
  ),
48612
- t && /* @__PURE__ */ v.jsx(nt, { sx: { color: "#012687" }, children: t })
48613
+ t && /* @__PURE__ */ v.jsx(nt, { sx: { color: "#012687", mt: "0.25rem" }, children: t }),
48614
+ s && s
48613
48615
  ] })
48614
48616
  ] })
48615
48617
  }
@@ -48823,7 +48825,7 @@ const TW = ({
48823
48825
  });
48824
48826
  }, [t, b, S, r]);
48825
48827
  return /* @__PURE__ */ v.jsx(lv, { component: eo, sx: { boxShadow: "none", ...e }, children: /* @__PURE__ */ v.jsxs(iv, { stickyHeader: !0, children: [
48826
- /* @__PURE__ */ v.jsx(cv, { children: /* @__PURE__ */ v.jsx(xu, { children: Lr.isArrayWithValues(r) && r.map((M) => /* @__PURE__ */ v.jsx(
48828
+ /* @__PURE__ */ v.jsx(cv, { children: /* @__PURE__ */ v.jsx(xu, { children: jr.isArrayWithValues(r) && r.map((M) => /* @__PURE__ */ v.jsx(
48827
48829
  bu,
48828
48830
  {
48829
48831
  align: M.align,
@@ -48864,7 +48866,7 @@ const TW = ({
48864
48866
  },
48865
48867
  M.value
48866
48868
  )) }) }),
48867
- /* @__PURE__ */ v.jsx(sv, { children: Lr.isArrayWithValues(P) && P.map((M, I) => /* @__PURE__ */ v.jsx(
48869
+ /* @__PURE__ */ v.jsx(sv, { children: jr.isArrayWithValues(P) && P.map((M, I) => /* @__PURE__ */ v.jsx(
48868
48870
  xu,
48869
48871
  {
48870
48872
  onClick: (B) => s(B, M),
@@ -49436,7 +49438,7 @@ const dz = /* @__PURE__ */ Jo(cz), uz = ({ ...e }) => /* @__PURE__ */ v.jsxs(
49436
49438
  ) });
49437
49439
  }, Ym = "start", Vm = "end", ty = ({ menuList: e = [], boxSx: t, innerBoxSx: r }) => {
49438
49440
  const a = Ot();
49439
- if (Lr.isArrayWithValues(e))
49441
+ if (jr.isArrayWithValues(e))
49440
49442
  return /* @__PURE__ */ v.jsx(
49441
49443
  Fe,
49442
49444
  {
@@ -58963,7 +58965,7 @@ const Ez = ({ name: e, data: t, labels: r }) => {
58963
58965
  {
58964
58966
  className: "no-scrollbar",
58965
58967
  sx: { gap: "1rem", height: "100%", overflowY: "auto", ...c },
58966
- children: Lr.isArrayWithValues(s) && s.map((S, O) => /* @__PURE__ */ v.jsx(
58968
+ children: jr.isArrayWithValues(s) && s.map((S, O) => /* @__PURE__ */ v.jsx(
58967
58969
  hr,
58968
58970
  {
58969
58971
  title: S.access ? "" : `You don't have permission to edit ${S.label.toLowerCase() || ""}`,
@@ -59267,7 +59269,7 @@ const BW = ({
59267
59269
  (u) => Yz(u),
59268
59270
  []
59269
59271
  );
59270
- return Lr.isArrayWithValues(t) ? /* @__PURE__ */ v.jsx(
59272
+ return jr.isArrayWithValues(t) ? /* @__PURE__ */ v.jsx(
59271
59273
  T1,
59272
59274
  {
59273
59275
  max: e,
@@ -59718,7 +59720,7 @@ const ly = (e, t = 10) => {
59718
59720
  const t = Ot();
59719
59721
  if (e.length === 0) return null;
59720
59722
  const r = ((c = e == null ? void 0 : e[0]) == null ? void 0 : c.name) || "", a = e == null ? void 0 : e.map((u) => u == null ? void 0 : u.name).join(", "), s = (e == null ? void 0 : e.length) - 1;
59721
- return Lr.isArrayWithValues ? /* @__PURE__ */ v.jsx(hr, { title: a, children: /* @__PURE__ */ v.jsxs(
59723
+ return jr.isArrayWithValues ? /* @__PURE__ */ v.jsx(hr, { title: a, children: /* @__PURE__ */ v.jsxs(
59722
59724
  Fe,
59723
59725
  {
59724
59726
  sx: {
@@ -59935,7 +59937,7 @@ const ly = (e, t = 10) => {
59935
59937
  type: t,
59936
59938
  isClosable: r,
59937
59939
  onClose: a,
59938
- variant: s,
59940
+ variant: s = "simple",
59939
59941
  description: c,
59940
59942
  sx: u
59941
59943
  }) => {
@@ -60267,7 +60269,7 @@ const by = ({ ...e }) => /* @__PURE__ */ v.jsxs(
60267
60269
  )
60268
60270
  }
60269
60271
  ),
60270
- Lr.isArrayWithValues(w || []) && /* @__PURE__ */ v.jsx(cH, { channels: w || [] })
60272
+ jr.isArrayWithValues(w || []) && /* @__PURE__ */ v.jsx(cH, { channels: w || [] })
60271
60273
  ] }),
60272
60274
  /* @__PURE__ */ v.jsxs(
60273
60275
  Fe,
@@ -60309,7 +60311,7 @@ const by = ({ ...e }) => /* @__PURE__ */ v.jsxs(
60309
60311
  ]
60310
60312
  }
60311
60313
  ),
60312
- Lr.isArrayWithValues(c) && /* @__PURE__ */ v.jsx(Fe, { sx: { gap: "0.5rem" }, children: c == null ? void 0 : c.map((M, I) => /* @__PURE__ */ v.jsxs(
60314
+ jr.isArrayWithValues(c) && /* @__PURE__ */ v.jsx(Fe, { sx: { gap: "0.5rem" }, children: c == null ? void 0 : c.map((M, I) => /* @__PURE__ */ v.jsxs(
60313
60315
  Fe,
60314
60316
  {
60315
60317
  direction: "row",
@@ -60346,7 +60348,7 @@ const by = ({ ...e }) => /* @__PURE__ */ v.jsxs(
60346
60348
  website: /* @__PURE__ */ v.jsx(by, {}),
60347
60349
  sales_app: /* @__PURE__ */ v.jsx(xy, {})
60348
60350
  };
60349
- return Lr.isArrayWithValues(e) ? /* @__PURE__ */ v.jsx(Fe, { direction: "row", alignItems: "center", sx: { gap: "0.125rem" }, children: e == null ? void 0 : e.map((r) => /* @__PURE__ */ v.jsx(hr, { title: Xh(r), children: /* @__PURE__ */ v.jsx(dr, { sx: { padding: "0.35rem" }, children: t[r] }) }, r)) }) : null;
60351
+ return jr.isArrayWithValues(e) ? /* @__PURE__ */ v.jsx(Fe, { direction: "row", alignItems: "center", sx: { gap: "0.125rem" }, children: e == null ? void 0 : e.map((r) => /* @__PURE__ */ v.jsx(hr, { title: Xh(r), children: /* @__PURE__ */ v.jsx(dr, { sx: { padding: "0.35rem" }, children: t[r] }) }, r)) }) : null;
60350
60352
  }, dH = ({
60351
60353
  data: e,
60352
60354
  sx: t,
@@ -60707,7 +60709,7 @@ const mH = ({
60707
60709
  data: t = [],
60708
60710
  name: r
60709
60711
  }) => {
60710
- const a = Lr.isArrayWithValues(t) && t.length > 1 ? gH(t) : Lr.isArrayWithValues(t) && t.length === 1 ? t[0] * 2 : 0, s = a > 0 ? Math.max(...t) + a : 0, c = {
60712
+ const a = jr.isArrayWithValues(t) && t.length > 1 ? gH(t) : jr.isArrayWithValues(t) && t.length === 1 ? t[0] * 2 : 0, s = a > 0 ? Math.max(...t) + a : 0, c = {
60711
60713
  chart: {
60712
60714
  type: "bar",
60713
60715
  toolbar: {
@@ -61431,7 +61433,7 @@ const OH = ({
61431
61433
  )
61432
61434
  ]
61433
61435
  }
61434
- ), EH = () => `${Lr.getTimeInMilliSeconds()}_${Lr.getRandomString(6)}`, XW = ({
61436
+ ), EH = () => `${jr.getTimeInMilliSeconds()}_${jr.getRandomString(6)}`, XW = ({
61435
61437
  title: e,
61436
61438
  note_text: t,
61437
61439
  attachments: r = [],
@@ -61530,15 +61532,16 @@ const OH = ({
61530
61532
  value: b.note_text,
61531
61533
  onChange: (E) => P("note_text", E.target.value),
61532
61534
  multiline: !0,
61533
- rows: 4,
61535
+ minRows: 4,
61536
+ maxRows: 7,
61534
61537
  fullWidth: !0,
61535
61538
  InputProps: { disableUnderline: !0 }
61536
61539
  }
61537
61540
  ),
61538
- /* @__PURE__ */ v.jsx(
61541
+ jr.isArrayWithValues(b == null ? void 0 : b.attachments) && /* @__PURE__ */ v.jsx(
61539
61542
  OH,
61540
61543
  {
61541
- attachments: b.attachments,
61544
+ attachments: b == null ? void 0 : b.attachments,
61542
61545
  onDelete: I
61543
61546
  }
61544
61547
  )
@@ -61792,7 +61795,7 @@ const zH = ({
61792
61795
  },
61793
61796
  alignItems: "center",
61794
61797
  justifyContent: "center",
61795
- children: Lr.isArrayWithValues(e) && e.map((t, r) => {
61798
+ children: jr.isArrayWithValues(e) && e.map((t, r) => {
61796
61799
  switch (t == null ? void 0 : t.file_type) {
61797
61800
  case "image":
61798
61801
  return /* @__PURE__ */ v.jsx(
@@ -61936,7 +61939,8 @@ const zH = ({
61936
61939
  fontStyle: "normal",
61937
61940
  fontWeight: "400",
61938
61941
  lineHeight: "normal",
61939
- letterSpacing: "-0.0175rem"
61942
+ letterSpacing: "-0.0175rem",
61943
+ whiteSpace: "pre-wrap"
61940
61944
  },
61941
61945
  children: r
61942
61946
  }
@@ -61951,7 +61955,7 @@ const zH = ({
61951
61955
  alignItems: "center",
61952
61956
  spacing: 1.5,
61953
61957
  sx: { overflowWrap: "wrap" },
61954
- children: Lr.isArrayWithValues(a) && a.map((I, B) => /* @__PURE__ */ v.jsx(
61958
+ children: jr.isArrayWithValues(a) && a.map((I, B) => /* @__PURE__ */ v.jsx(
61955
61959
  IH,
61956
61960
  {
61957
61961
  fileName: I == null ? void 0 : I.name,
@@ -62301,7 +62305,7 @@ const zH = ({
62301
62305
  )
62302
62306
  ] })
62303
62307
  ] }) }),
62304
- /* @__PURE__ */ v.jsx(Fe, { sx: { mt: "0.25rem" }, children: Lr.isArrayWithValues(O || []) && /* @__PURE__ */ v.jsx(XH, { channels: O || [] }) })
62308
+ /* @__PURE__ */ v.jsx(Fe, { sx: { mt: "0.25rem" }, children: jr.isArrayWithValues(O || []) && /* @__PURE__ */ v.jsx(XH, { channels: O || [] }) })
62305
62309
  ] })
62306
62310
  ]
62307
62311
  }
@@ -62312,7 +62316,7 @@ const zH = ({
62312
62316
  website: /* @__PURE__ */ v.jsx(by, {}),
62313
62317
  sales_app: /* @__PURE__ */ v.jsx(xy, {})
62314
62318
  };
62315
- if (!Lr.isArrayWithValues(e))
62319
+ if (!jr.isArrayWithValues(e))
62316
62320
  return null;
62317
62321
  const r = "Product viewed on - " + e.map((a) => Xh(a)).join(", ");
62318
62322
  return /* @__PURE__ */ v.jsx(Fe, { width: "fit-content", children: /* @__PURE__ */ v.jsx(hr, { title: r, children: /* @__PURE__ */ v.jsx(