@3sc/common-component 0.0.85 → 0.0.86

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
@@ -10957,13 +10957,13 @@ process.env.NODE_ENV !== "production" && (Ou.propTypes = {
10957
10957
  */
10958
10958
  variant: i.oneOfType([i.oneOf(["dot", "standard"]), i.string])
10959
10959
  });
10960
- const tS = Ce("MuiBox", ["root"]), nS = Ps(), be = hC({
10960
+ const tS = Ce("MuiBox", ["root"]), nS = Ps(), ge = hC({
10961
10961
  themeId: tr,
10962
10962
  defaultTheme: nS,
10963
10963
  defaultClassName: tS.root,
10964
10964
  generateClassName: yg.generate
10965
10965
  });
10966
- process.env.NODE_ENV !== "production" && (be.propTypes = {
10966
+ process.env.NODE_ENV !== "production" && (ge.propTypes = {
10967
10967
  // ┌────────────────────────────── Warning ──────────────────────────────┐
10968
10968
  // │ These PropTypes are generated from the TypeScript type definitions. │
10969
10969
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -20813,7 +20813,7 @@ const mO = ({ columns: e }) => {
20813
20813
  Download: yO,
20814
20814
  More: IO
20815
20815
  }, Jb = ({ sortKey: e, sortField: t, sortDir: n, handleSortClick: o }) => {
20816
- const r = (s) => /* @__PURE__ */ x.jsx(Ai, { onClick: o, children: /* @__PURE__ */ x.jsx(be, { component: "img", src: s }) });
20816
+ const r = (s) => /* @__PURE__ */ x.jsx(Ai, { onClick: o, children: /* @__PURE__ */ x.jsx(ge, { component: "img", src: s }) });
20817
20817
  return /* @__PURE__ */ x.jsx(x.Fragment, { children: r(t === e ? n === "asc" ? ln.AscSort : ln.DescSort : ln.Unsort) });
20818
20818
  };
20819
20819
  Jb.propTypes = {
@@ -20825,7 +20825,7 @@ Jb.propTypes = {
20825
20825
  function qb({ column: e, sort: t, handleMenuClick: n, isManageable: o }) {
20826
20826
  const r = e == null ? void 0 : e.isMandatory, s = e == null ? void 0 : e.label, a = e == null ? void 0 : e.isSortable, c = t == null ? void 0 : t.sortField, l = t == null ? void 0 : t.sortDir, u = t == null ? void 0 : t.onSort;
20827
20827
  return /* @__PURE__ */ x.jsxs(
20828
- be,
20828
+ ge,
20829
20829
  {
20830
20830
  sx: {
20831
20831
  display: "flex",
@@ -20844,7 +20844,7 @@ function qb({ column: e, sort: t, handleMenuClick: n, isManageable: o }) {
20844
20844
  handleSortClick: () => u({ column: e, sortDir: l, sortField: c })
20845
20845
  }
20846
20846
  ),
20847
- o && !r && /* @__PURE__ */ x.jsx(Ai, { onClick: (d) => n(d, e), children: /* @__PURE__ */ x.jsx(be, { component: "img", src: ln.Menu }) })
20847
+ o && !r && /* @__PURE__ */ x.jsx(Ai, { onClick: (d) => n(d, e), children: /* @__PURE__ */ x.jsx(ge, { component: "img", src: ln.Menu }) })
20848
20848
  ]
20849
20849
  }
20850
20850
  );
@@ -20906,8 +20906,8 @@ const Uu = (e) => {
20906
20906
  }, BO = (e, t = 20) => (e == null ? void 0 : e.length) > t ? `${e.slice(0, t)}...` : e;
20907
20907
  function Kb({ isRenderCellContent: e, column: t, row: n }) {
20908
20908
  const o = n[t.key];
20909
- return /* @__PURE__ */ x.jsx(Lb, { title: (o == null ? void 0 : o.length) > 20 ? o : "", arrow: !0, children: /* @__PURE__ */ x.jsx(
20910
- be,
20909
+ return /* @__PURE__ */ x.jsx(x.Fragment, { children: e ? /* @__PURE__ */ x.jsx(
20910
+ ge,
20911
20911
  {
20912
20912
  sx: {
20913
20913
  display: "flex",
@@ -20921,9 +20921,26 @@ function Kb({ isRenderCellContent: e, column: t, row: n }) {
20921
20921
  fontSize: "1.1rem"
20922
20922
  },
20923
20923
  component: "label",
20924
- children: e ? t == null ? void 0 : t.cellRenderer(n) : BO(o)
20924
+ children: t == null ? void 0 : t.cellRenderer(n)
20925
20925
  }
20926
- ) });
20926
+ ) : /* @__PURE__ */ x.jsx(Lb, { title: (o == null ? void 0 : o.length) > 20 ? o : "", arrow: !0, children: /* @__PURE__ */ x.jsx(
20927
+ ge,
20928
+ {
20929
+ sx: {
20930
+ display: "flex",
20931
+ alignItems: "center",
20932
+ justifyContent: "center",
20933
+ width: "100%",
20934
+ overflow: "hidden",
20935
+ whiteSpace: "nowrap",
20936
+ textOverflow: "ellipsis",
20937
+ textTransform: "none",
20938
+ fontSize: "1.1rem"
20939
+ },
20940
+ component: "label",
20941
+ children: BO(o)
20942
+ }
20943
+ ) }) });
20927
20944
  }
20928
20945
  Kb.propTypes = {
20929
20946
  isRenderCellContent: i.bool,
@@ -25687,7 +25704,7 @@ const iD = (e, t) => sd(e) ? new rD(t) : new oD(t, {
25687
25704
  }, I = () => {
25688
25705
  p(null), s(r), f(r);
25689
25706
  };
25690
- return /* @__PURE__ */ x.jsx(be, { sx: { position: "relative", flexShrink: 0 }, children: /* @__PURE__ */ x.jsx(be, { position: "absolute", top: 0, zIndex: 10, children: /* @__PURE__ */ x.jsxs(
25707
+ return /* @__PURE__ */ x.jsx(ge, { sx: { position: "relative", flexShrink: 0 }, children: /* @__PURE__ */ x.jsx(ge, { position: "absolute", top: 0, zIndex: 10, children: /* @__PURE__ */ x.jsxs(
25691
25708
  xo.div,
25692
25709
  {
25693
25710
  style: {
@@ -25704,7 +25721,7 @@ const iD = (e, t) => sd(e) ? new rD(t) : new oD(t, {
25704
25721
  transition: { duration: 0.2, ease: "easeInOut" },
25705
25722
  children: [
25706
25723
  /* @__PURE__ */ x.jsxs(
25707
- be,
25724
+ ge,
25708
25725
  {
25709
25726
  sx: {
25710
25727
  padding: "0.65rem",
@@ -25717,7 +25734,7 @@ const iD = (e, t) => sd(e) ? new rD(t) : new oD(t, {
25717
25734
  onClick: () => p(!d),
25718
25735
  children: [
25719
25736
  /* @__PURE__ */ x.jsx(
25720
- be,
25737
+ ge,
25721
25738
  {
25722
25739
  component: "img",
25723
25740
  layout: !0,
@@ -25738,7 +25755,7 @@ const iD = (e, t) => sd(e) ? new rD(t) : new oD(t, {
25738
25755
  }
25739
25756
  ),
25740
25757
  /* @__PURE__ */ x.jsx(
25741
- be,
25758
+ ge,
25742
25759
  {
25743
25760
  component: "img",
25744
25761
  layout: !0,
@@ -25905,7 +25922,7 @@ const iD = (e, t) => sd(e) ? new rD(t) : new oD(t, {
25905
25922
  onPageSizeChange: s
25906
25923
  } = e, a = bt();
25907
25924
  return /* @__PURE__ */ x.jsxs(
25908
- be,
25925
+ ge,
25909
25926
  {
25910
25927
  sx: {
25911
25928
  display: "flex",
@@ -25913,7 +25930,7 @@ const iD = (e, t) => sd(e) ? new rD(t) : new oD(t, {
25913
25930
  },
25914
25931
  children: [
25915
25932
  /* @__PURE__ */ x.jsxs(
25916
- be,
25933
+ ge,
25917
25934
  {
25918
25935
  sx: {
25919
25936
  zIndex: 10,
@@ -25924,7 +25941,7 @@ const iD = (e, t) => sd(e) ? new rD(t) : new oD(t, {
25924
25941
  },
25925
25942
  children: [
25926
25943
  /* @__PURE__ */ x.jsx(
25927
- be,
25944
+ ge,
25928
25945
  {
25929
25946
  sx: {
25930
25947
  display: "flex",
@@ -25948,7 +25965,7 @@ const iD = (e, t) => sd(e) ? new rD(t) : new oD(t, {
25948
25965
  }
25949
25966
  ),
25950
25967
  /* @__PURE__ */ x.jsx(
25951
- be,
25968
+ ge,
25952
25969
  {
25953
25970
  sx: {
25954
25971
  display: "flex",
@@ -25957,7 +25974,7 @@ const iD = (e, t) => sd(e) ? new rD(t) : new oD(t, {
25957
25974
  justifyContent: "space-between"
25958
25975
  },
25959
25976
  children: /* @__PURE__ */ x.jsx(
25960
- be,
25977
+ ge,
25961
25978
  {
25962
25979
  sx: {
25963
25980
  display: "flex",
@@ -25970,7 +25987,7 @@ const iD = (e, t) => sd(e) ? new rD(t) : new oD(t, {
25970
25987
  }
25971
25988
  ),
25972
25989
  /* @__PURE__ */ x.jsx(
25973
- be,
25990
+ ge,
25974
25991
  {
25975
25992
  sx: {
25976
25993
  display: "flex",
@@ -26071,7 +26088,7 @@ const N0 = ({ menuOpen: e, handleClose: t, onHideClick: n }) => {
26071
26088
  onClose: t,
26072
26089
  anchorOrigin: { vertical: "bottom", horizontal: "left" },
26073
26090
  children: /* @__PURE__ */ x.jsx(
26074
- be,
26091
+ ge,
26075
26092
  {
26076
26093
  sx: {
26077
26094
  p: "0.4rem 1rem",
@@ -26150,7 +26167,7 @@ const pD = Z((e) => /* @__PURE__ */ x.jsx(zu, { ...e }))(
26150
26167
  color: e.palette.primary.notifyTextColor,
26151
26168
  backgroundColor: e.palette.primary.notifyBackground,
26152
26169
  borderColor: e.palette.primary.notifyBorderColor,
26153
- padding: "0.8rem 1rem",
26170
+ padding: "0.5rem 1rem",
26154
26171
  borderTopLeftRadius: "1.4rem",
26155
26172
  borderTopRightRadius: "1.4rem",
26156
26173
  textAlign: "center"
@@ -26158,7 +26175,7 @@ const pD = Z((e) => /* @__PURE__ */ x.jsx(zu, { ...e }))(
26158
26175
  [`&.${hc.body}`]: {
26159
26176
  color: e.palette.primary.notifyTextColor,
26160
26177
  borderColor: e.palette.primary.notifyBorderColor,
26161
- padding: "0.8rem 1rem",
26178
+ padding: "0.5rem 1rem",
26162
26179
  textAlign: "center"
26163
26180
  }
26164
26181
  })
@@ -26232,7 +26249,7 @@ const fD = Z(Cb)(({ theme: e }) => ({
26232
26249
  role: "tabpanel",
26233
26250
  hidden: n !== o,
26234
26251
  ...r,
26235
- children: n === o && /* @__PURE__ */ x.jsx(be, { sx: { pl: "0.5rem", pb: "0.5rem" }, children: t })
26252
+ children: n === o && /* @__PURE__ */ x.jsx(ge, { sx: { pl: "0.5rem", pb: "0.5rem" }, children: t })
26236
26253
  }
26237
26254
  );
26238
26255
  }, gD = Z(Bu)(({ theme: e }) => ({
@@ -26403,7 +26420,7 @@ const Gr = ({
26403
26420
  alignItems: "center"
26404
26421
  },
26405
26422
  ...n,
26406
- children: /* @__PURE__ */ x.jsx(be, { component: "img", src: e == null ? void 0 : e.icon })
26423
+ children: /* @__PURE__ */ x.jsx(ge, { component: "img", src: e == null ? void 0 : e.icon })
26407
26424
  }
26408
26425
  );
26409
26426
  if (t)
@@ -26428,8 +26445,8 @@ const Gr = ({
26428
26445
  boxShadow: "none"
26429
26446
  }
26430
26447
  },
26431
- startIcon: (e == null ? void 0 : e.iconPosition) === "start" && /* @__PURE__ */ x.jsx(be, { component: "img", src: e == null ? void 0 : e.icon }),
26432
- endIcon: (e == null ? void 0 : e.iconPosition) === "end" && /* @__PURE__ */ x.jsx(be, { component: "img", src: e == null ? void 0 : e.icon }),
26448
+ startIcon: (e == null ? void 0 : e.iconPosition) === "start" && /* @__PURE__ */ x.jsx(ge, { component: "img", src: e == null ? void 0 : e.icon }),
26449
+ endIcon: (e == null ? void 0 : e.iconPosition) === "end" && /* @__PURE__ */ x.jsx(ge, { component: "img", src: e == null ? void 0 : e.icon }),
26433
26450
  ...n,
26434
26451
  children: /* @__PURE__ */ x.jsx(dn, { sx: { fontSize: "1.1rem" }, children: t })
26435
26452
  }
@@ -26473,7 +26490,7 @@ const Gr = ({
26473
26490
  }, ID = ({ defaultTools: e, isManageable: t, customTools: n }) => {
26474
26491
  var o, r, s, a, c, l, u;
26475
26492
  return bt(), xo(Gr), Ve(!1), /* @__PURE__ */ x.jsxs(
26476
- be,
26493
+ ge,
26477
26494
  {
26478
26495
  sx: {
26479
26496
  margin: "1rem 0",
@@ -26486,7 +26503,7 @@ const Gr = ({
26486
26503
  },
26487
26504
  children: [
26488
26505
  /* @__PURE__ */ x.jsxs(
26489
- be,
26506
+ ge,
26490
26507
  {
26491
26508
  sx: {
26492
26509
  display: "flex",
@@ -26509,7 +26526,7 @@ const Gr = ({
26509
26526
  }
26510
26527
  ),
26511
26528
  /* @__PURE__ */ x.jsx(
26512
- be,
26529
+ ge,
26513
26530
  {
26514
26531
  sx: {
26515
26532
  display: "flex",
@@ -26521,7 +26538,7 @@ const Gr = ({
26521
26538
  width: "27rem"
26522
26539
  },
26523
26540
  children: /* @__PURE__ */ x.jsx(
26524
- be,
26541
+ ge,
26525
26542
  {
26526
26543
  sx: {
26527
26544
  display: "flex",
@@ -26538,7 +26555,7 @@ const Gr = ({
26538
26555
  }
26539
26556
  ),
26540
26557
  /* @__PURE__ */ x.jsxs(
26541
- be,
26558
+ ge,
26542
26559
  {
26543
26560
  sx: {
26544
26561
  display: "flex",
@@ -28444,7 +28461,7 @@ var i5 = function(t) {
28444
28461
  };
28445
28462
  const s5 = ({ count: e }) => (bt(), /* @__PURE__ */ x.jsxs(x.Fragment, { children: [
28446
28463
  /* @__PURE__ */ x.jsx(
28447
- be,
28464
+ ge,
28448
28465
  {
28449
28466
  sx: {
28450
28467
  gap: "0.5rem",
@@ -28521,9 +28538,9 @@ const hm = ({
28521
28538
  }, w = () => {
28522
28539
  switch (d) {
28523
28540
  case zs.REFRESH:
28524
- return /* @__PURE__ */ x.jsx(be, { component: "img", src: ln.Refresh, alt: "refresh", onClick: o, sx: { cursor: "pointer" } });
28541
+ return /* @__PURE__ */ x.jsx(ge, { component: "img", src: ln.Refresh, alt: "refresh", onClick: o, sx: { cursor: "pointer" } });
28525
28542
  case zs.CLOSE:
28526
- return /* @__PURE__ */ x.jsx(be, { component: "img", src: ln.Close, alt: "refresh", onClick: r, sx: { cursor: "pointer" } });
28543
+ return /* @__PURE__ */ x.jsx(ge, { component: "img", src: ln.Close, alt: "refresh", onClick: r, sx: { cursor: "pointer" } });
28527
28544
  default:
28528
28545
  return null;
28529
28546
  }
@@ -28542,7 +28559,7 @@ const hm = ({
28542
28559
  dialogType: !0,
28543
28560
  children: [
28544
28561
  /* @__PURE__ */ x.jsxs(
28545
- be,
28562
+ ge,
28546
28563
  {
28547
28564
  sx: g === "notifcation-dialog" ? {
28548
28565
  gap: 1,
@@ -28558,7 +28575,7 @@ const hm = ({
28558
28575
  paddingBottom: 1.2
28559
28576
  },
28560
28577
  children: [
28561
- /* @__PURE__ */ x.jsxs(be, { className: "title-container", children: [
28578
+ /* @__PURE__ */ x.jsxs(ge, { className: "title-container", children: [
28562
28579
  /* @__PURE__ */ x.jsx(Vn, { variant: "h6", component: "h6", className: "title", children: e }),
28563
28580
  t && /* @__PURE__ */ x.jsx(Vn, { variant: "h6", className: "title sub-title", children: t })
28564
28581
  ] }),
@@ -28568,7 +28585,7 @@ const hm = ({
28568
28585
  ),
28569
28586
  v ? /* @__PURE__ */ x.jsx(x.Fragment, { children: n }) : /* @__PURE__ */ x.jsxs(x.Fragment, { children: [
28570
28587
  /* @__PURE__ */ x.jsx(
28571
- be,
28588
+ ge,
28572
28589
  {
28573
28590
  sx: {
28574
28591
  borderBottom: 1,
@@ -28579,7 +28596,7 @@ const hm = ({
28579
28596
  yD,
28580
28597
  {
28581
28598
  label: /* @__PURE__ */ x.jsxs(
28582
- be,
28599
+ ge,
28583
28600
  {
28584
28601
  sx: {
28585
28602
  display: "flex",
@@ -28699,7 +28716,7 @@ const ay = ({
28699
28716
  }) => {
28700
28717
  var f, b;
28701
28718
  const g = bt(), m = (b = (f = JSON.parse(localStorage.getItem("settings"))) == null ? void 0 : f.platform) == null ? void 0 : b.theme;
28702
- return /* @__PURE__ */ x.jsxs(be, { className: "cards", children: [
28719
+ return /* @__PURE__ */ x.jsxs(ge, { className: "cards", children: [
28703
28720
  /* @__PURE__ */ x.jsxs(Uo, { display: "flex", flexDirection: "row", alignItems: "start", justifyContent: "space-between", gap: 1, children: [
28704
28721
  s && /* @__PURE__ */ x.jsx(
28705
28722
  Nu,
@@ -28827,7 +28844,7 @@ const ly = ({ data: e, handleRead: t, handleShowDetails: n, clickId: o, mode: r,
28827
28844
  return f.current && v.observe(f.current), () => {
28828
28845
  f.current && v.unobserve(f.current);
28829
28846
  };
28830
- }, [p, g]), /* @__PURE__ */ x.jsxs(be, { sx: u.length ? {
28847
+ }, [p, g]), /* @__PURE__ */ x.jsxs(ge, { sx: u.length ? {
28831
28848
  py: "0.5rem"
28832
28849
  } : {
28833
28850
  py: "0.5rem",
@@ -28856,7 +28873,7 @@ const ly = ({ data: e, handleRead: t, handleShowDetails: n, clickId: o, mode: r,
28856
28873
  C.id || I
28857
28874
  ))
28858
28875
  ] }, v)),
28859
- p && s > 1 && !!(u != null && u.length) && /* @__PURE__ */ x.jsx(be, { sx: {
28876
+ p && s > 1 && !!(u != null && u.length) && /* @__PURE__ */ x.jsx(ge, { sx: {
28860
28877
  display: "flex",
28861
28878
  justifyContent: "center",
28862
28879
  alignItems: "center",
@@ -28870,7 +28887,7 @@ const ly = ({ data: e, handleRead: t, handleShowDetails: n, clickId: o, mode: r,
28870
28887
  px: "0.8rem"
28871
28888
  }, children: "You don't have any unread notification here. Use the toggle to switch between read and unread notification." }),
28872
28889
  /* @__PURE__ */ x.jsx(
28873
- be,
28890
+ ge,
28874
28891
  {
28875
28892
  ref: f,
28876
28893
  style: { height: "0.1rem", backgroundColor: "transparent" }
@@ -28901,7 +28918,7 @@ function vm(e, t) {
28901
28918
  }
28902
28919
  return n;
28903
28920
  }
28904
- function ge(e) {
28921
+ function be(e) {
28905
28922
  for (var t = 1; t < arguments.length; t++) {
28906
28923
  var n = arguments[t] != null ? arguments[t] : {};
28907
28924
  t % 2 ? vm(Object(n), !0).forEach(function(o) {
@@ -28976,7 +28993,7 @@ function h5(e) {
28976
28993
  }, [h]), V = ht(function() {
28977
28994
  typeof p == "function" && p(), R(!1);
28978
28995
  }, [p]), L = c !== void 0 ? c : v, j = l !== void 0 ? l : y, $ = g !== void 0 ? g : P;
28979
- return ge(ge({}, m), {}, {
28996
+ return be(be({}, m), {}, {
28980
28997
  inputValue: L,
28981
28998
  menuIsOpen: j,
28982
28999
  onChange: B,
@@ -29314,7 +29331,7 @@ var Em = function(t) {
29314
29331
  }, gy = function(t) {
29315
29332
  t.className, t.clearValue, t.cx, t.getStyles, t.getClassNames, t.getValue, t.hasValue, t.isMulti, t.isRtl, t.options, t.selectOption, t.selectProps, t.setValue, t.theme;
29316
29333
  var n = Un(t, j5);
29317
- return ge({}, n);
29334
+ return be({}, n);
29318
29335
  }, pt = function(t, n, o) {
29319
29336
  var r = t.cx, s = t.getStyles, a = t.getClassNames, c = t.className;
29320
29337
  return {
@@ -29494,7 +29511,7 @@ var yy = function(t) {
29494
29511
  return t === "auto" ? "bottom" : t;
29495
29512
  }, eF = function(t, n) {
29496
29513
  var o, r = t.placement, s = t.theme, a = s.borderRadius, c = s.spacing, l = s.colors;
29497
- return ge((o = {
29514
+ return be((o = {
29498
29515
  label: "menu"
29499
29516
  }, zr(o, Q5(r), "100%"), zr(o, "position", "absolute"), zr(o, "width", "100%"), zr(o, "zIndex", 1), o), n ? {} : {
29500
29517
  backgroundColor: l.neutral0,
@@ -29521,7 +29538,7 @@ var yy = function(t) {
29521
29538
  }
29522
29539
  }, [r, s, a, c, o, d, I]), n({
29523
29540
  ref: p,
29524
- placerProps: ge(ge({}, t), {}, {
29541
+ placerProps: be(be({}, t), {}, {
29525
29542
  placement: S || yy(s),
29526
29543
  maxHeight: m
29527
29544
  })
@@ -29535,7 +29552,7 @@ var yy = function(t) {
29535
29552
  }, r), n);
29536
29553
  }, oF = nF, rF = function(t, n) {
29537
29554
  var o = t.maxHeight, r = t.theme.spacing.baseUnit;
29538
- return ge({
29555
+ return be({
29539
29556
  maxHeight: o,
29540
29557
  overflowY: "auto",
29541
29558
  position: "relative",
@@ -29555,7 +29572,7 @@ var yy = function(t) {
29555
29572
  }, o), n);
29556
29573
  }, Cy = function(t, n) {
29557
29574
  var o = t.theme, r = o.spacing.baseUnit, s = o.colors;
29558
- return ge({
29575
+ return be({
29559
29576
  textAlign: "center"
29560
29577
  }, n ? {} : {
29561
29578
  color: s.neutral40,
@@ -29563,7 +29580,7 @@ var yy = function(t) {
29563
29580
  });
29564
29581
  }, sF = Cy, aF = Cy, lF = function(t) {
29565
29582
  var n = t.children, o = n === void 0 ? "No options" : n, r = t.innerProps, s = Un(t, J5);
29566
- return he("div", T({}, pt(ge(ge({}, s), {}, {
29583
+ return he("div", T({}, pt(be(be({}, s), {}, {
29567
29584
  children: o,
29568
29585
  innerProps: r
29569
29586
  }), "noOptionsMessage", {
@@ -29572,7 +29589,7 @@ var yy = function(t) {
29572
29589
  }), r), o);
29573
29590
  }, cF = function(t) {
29574
29591
  var n = t.children, o = n === void 0 ? "Loading..." : n, r = t.innerProps, s = Un(t, q5);
29575
- return he("div", T({}, pt(ge(ge({}, s), {}, {
29592
+ return he("div", T({}, pt(be(be({}, s), {}, {
29576
29593
  children: o,
29577
29594
  innerProps: r
29578
29595
  }), "loadingMessage", {
@@ -29619,7 +29636,7 @@ var yy = function(t) {
29619
29636
  if (!n && c !== "fixed" || !v) return null;
29620
29637
  var R = he("div", T({
29621
29638
  ref: y
29622
- }, pt(ge(ge({}, t), {}, {
29639
+ }, pt(be(be({}, t), {}, {
29623
29640
  offset: v.offset,
29624
29641
  position: c,
29625
29642
  rect: v.rect
@@ -29646,7 +29663,7 @@ var yy = function(t) {
29646
29663
  }), o), n);
29647
29664
  }, hF = function(t, n) {
29648
29665
  var o = t.theme.spacing, r = t.isMulti, s = t.hasValue, a = t.selectProps.controlShouldRenderValue;
29649
- return ge({
29666
+ return be({
29650
29667
  alignItems: "center",
29651
29668
  display: r && s && a ? "flex" : "grid",
29652
29669
  flex: 1,
@@ -29712,7 +29729,7 @@ var CF = process.env.NODE_ENV === "production" ? {
29712
29729
  }));
29713
29730
  }, Iy = function(t, n) {
29714
29731
  var o = t.isFocused, r = t.theme, s = r.spacing.baseUnit, a = r.colors;
29715
- return ge({
29732
+ return be({
29716
29733
  label: "indicatorContainer",
29717
29734
  display: "flex",
29718
29735
  transition: "color 150ms"
@@ -29737,7 +29754,7 @@ var CF = process.env.NODE_ENV === "production" ? {
29737
29754
  }), o), n || he(Gd, null));
29738
29755
  }, wF = function(t, n) {
29739
29756
  var o = t.isDisabled, r = t.theme, s = r.spacing.baseUnit, a = r.colors;
29740
- return ge({
29757
+ return be({
29741
29758
  label: "indicatorSeparator",
29742
29759
  alignSelf: "stretch",
29743
29760
  width: 1
@@ -29756,7 +29773,7 @@ var CF = process.env.NODE_ENV === "production" ? {
29756
29773
  40% { opacity: 1; }
29757
29774
  `]))), OF = function(t, n) {
29758
29775
  var o = t.isFocused, r = t.size, s = t.theme, a = s.colors, c = s.spacing.baseUnit;
29759
- return ge({
29776
+ return be({
29760
29777
  label: "loadingIndicator",
29761
29778
  display: "flex",
29762
29779
  transition: "color 150ms",
@@ -29786,7 +29803,7 @@ var CF = process.env.NODE_ENV === "production" ? {
29786
29803
  });
29787
29804
  }, PF = function(t) {
29788
29805
  var n = t.innerProps, o = t.isRtl, r = t.size, s = r === void 0 ? 4 : r, a = Un(t, yF);
29789
- return he("div", T({}, pt(ge(ge({}, a), {}, {
29806
+ return he("div", T({}, pt(be(be({}, a), {}, {
29790
29807
  innerProps: n,
29791
29808
  isRtl: o,
29792
29809
  size: s
@@ -29805,7 +29822,7 @@ var CF = process.env.NODE_ENV === "production" ? {
29805
29822
  }));
29806
29823
  }, NF = function(t, n) {
29807
29824
  var o = t.isDisabled, r = t.isFocused, s = t.theme, a = s.colors, c = s.borderRadius, l = s.spacing;
29808
- return ge({
29825
+ return be({
29809
29826
  label: "control",
29810
29827
  alignItems: "center",
29811
29828
  cursor: "default",
@@ -29858,7 +29875,7 @@ var CF = process.env.NODE_ENV === "production" ? {
29858
29875
  }), u), he("div", null, n));
29859
29876
  }, jF = function(t, n) {
29860
29877
  var o = t.theme, r = o.colors, s = o.spacing;
29861
- return ge({
29878
+ return be({
29862
29879
  label: "group",
29863
29880
  cursor: "default",
29864
29881
  display: "block"
@@ -29880,7 +29897,7 @@ var CF = process.env.NODE_ENV === "production" ? {
29880
29897
  }), o));
29881
29898
  }, LF = FF, $F = ["innerRef", "isDisabled", "isHidden", "inputClassName"], _F = function(t, n) {
29882
29899
  var o = t.isDisabled, r = t.value, s = t.theme, a = s.spacing, c = s.colors;
29883
- return ge(ge({
29900
+ return be(be({
29884
29901
  visibility: o ? "hidden" : "visible",
29885
29902
  // force css to recompute when value change due to @emotion bug.
29886
29903
  // We can remove it whenever the bug is fixed.
@@ -29904,13 +29921,13 @@ var CF = process.env.NODE_ENV === "production" ? {
29904
29921
  display: "inline-grid",
29905
29922
  gridArea: "1 / 1 / 2 / 3",
29906
29923
  gridTemplateColumns: "0 min-content",
29907
- "&:after": ge({
29924
+ "&:after": be({
29908
29925
  content: 'attr(data-value) " "',
29909
29926
  visibility: "hidden",
29910
29927
  whiteSpace: "pre"
29911
29928
  }, Sy)
29912
29929
  }, GF = function(t) {
29913
- return ge({
29930
+ return be({
29914
29931
  label: "input",
29915
29932
  color: "inherit",
29916
29933
  background: 0,
@@ -29933,7 +29950,7 @@ var CF = process.env.NODE_ENV === "production" ? {
29933
29950
  }, u)));
29934
29951
  }, HF = zF, XF = function(t, n) {
29935
29952
  var o = t.theme, r = o.spacing, s = o.borderRadius, a = o.colors;
29936
- return ge({
29953
+ return be({
29937
29954
  label: "multiValue",
29938
29955
  display: "flex",
29939
29956
  minWidth: 0
@@ -29944,7 +29961,7 @@ var CF = process.env.NODE_ENV === "production" ? {
29944
29961
  });
29945
29962
  }, UF = function(t, n) {
29946
29963
  var o = t.theme, r = o.borderRadius, s = o.colors, a = t.cropWithEllipsis;
29947
- return ge({
29964
+ return be({
29948
29965
  overflow: "hidden",
29949
29966
  textOverflow: a || a === void 0 ? "ellipsis" : void 0,
29950
29967
  whiteSpace: "nowrap"
@@ -29957,7 +29974,7 @@ var CF = process.env.NODE_ENV === "production" ? {
29957
29974
  });
29958
29975
  }, ZF = function(t, n) {
29959
29976
  var o = t.theme, r = o.spacing, s = o.borderRadius, a = o.colors, c = t.isFocused;
29960
- return ge({
29977
+ return be({
29961
29978
  alignItems: "center",
29962
29979
  display: "flex"
29963
29980
  }, n ? {} : {
@@ -29986,20 +30003,20 @@ var KF = function(t) {
29986
30003
  var n = t.children, o = t.components, r = t.data, s = t.innerProps, a = t.isDisabled, c = t.removeProps, l = t.selectProps, u = o.Container, d = o.Label, p = o.Remove;
29987
30004
  return he(u, {
29988
30005
  data: r,
29989
- innerProps: ge(ge({}, pt(t, "multiValue", {
30006
+ innerProps: be(be({}, pt(t, "multiValue", {
29990
30007
  "multi-value": !0,
29991
30008
  "multi-value--is-disabled": a
29992
30009
  })), s),
29993
30010
  selectProps: l
29994
30011
  }, he(d, {
29995
30012
  data: r,
29996
- innerProps: ge({}, pt(t, "multiValueLabel", {
30013
+ innerProps: be({}, pt(t, "multiValueLabel", {
29997
30014
  "multi-value__label": !0
29998
30015
  })),
29999
30016
  selectProps: l
30000
30017
  }, n), he(p, {
30001
30018
  data: r,
30002
- innerProps: ge(ge({}, pt(t, "multiValueRemove", {
30019
+ innerProps: be(be({}, pt(t, "multiValueRemove", {
30003
30020
  "multi-value__remove": !0
30004
30021
  })), {}, {
30005
30022
  "aria-label": "Remove ".concat(n || "option")
@@ -30008,7 +30025,7 @@ var KF = function(t) {
30008
30025
  }));
30009
30026
  }, QF = KF, ej = function(t, n) {
30010
30027
  var o = t.isDisabled, r = t.isFocused, s = t.isSelected, a = t.theme, c = a.spacing, l = a.colors;
30011
- return ge({
30028
+ return be({
30012
30029
  label: "option",
30013
30030
  cursor: "default",
30014
30031
  display: "block",
@@ -30038,7 +30055,7 @@ var KF = function(t) {
30038
30055
  }, c), n);
30039
30056
  }, nj = tj, oj = function(t, n) {
30040
30057
  var o = t.theme, r = o.spacing, s = o.colors;
30041
- return ge({
30058
+ return be({
30042
30059
  label: "placeholder",
30043
30060
  gridArea: "1 / 1 / 2 / 3"
30044
30061
  }, n ? {} : {
@@ -30053,7 +30070,7 @@ var KF = function(t) {
30053
30070
  }), o), n);
30054
30071
  }, ij = rj, sj = function(t, n) {
30055
30072
  var o = t.isDisabled, r = t.theme, s = r.spacing, a = r.colors;
30056
- return ge({
30073
+ return be({
30057
30074
  label: "singleValue",
30058
30075
  gridArea: "1 / 1 / 2 / 3",
30059
30076
  maxWidth: "100%",
@@ -30098,7 +30115,7 @@ var KF = function(t) {
30098
30115
  SingleValue: lj,
30099
30116
  ValueContainer: mF
30100
30117
  }, uj = function(t) {
30101
- return ge(ge({}, cj), t.components);
30118
+ return be(be({}, cj), t.components);
30102
30119
  }, Rm = Number.isNaN || function(t) {
30103
30120
  return typeof t == "number" && t !== t;
30104
30121
  };
@@ -30196,13 +30213,13 @@ var mj = process.env.NODE_ENV === "production" ? {
30196
30213
  }
30197
30214
  }, vj = function(t) {
30198
30215
  var n = t.ariaSelection, o = t.focusedOption, r = t.focusedValue, s = t.focusableOptions, a = t.isFocused, c = t.selectValue, l = t.selectProps, u = t.id, d = t.isAppleDevice, p = l.ariaLiveMessages, h = l.getOptionLabel, g = l.inputValue, m = l.isMulti, f = l.isOptionDisabled, b = l.isSearchable, v = l.menuIsOpen, S = l.options, C = l.screenReaderStatus, I = l.tabSelectsValue, y = l.isLoading, R = l["aria-label"], w = l["aria-live"], A = Rn(function() {
30199
- return ge(ge({}, bj), p || {});
30216
+ return be(be({}, bj), p || {});
30200
30217
  }, [p]), P = Rn(function() {
30201
30218
  var L = "";
30202
30219
  if (n && A.onChange) {
30203
30220
  var j = n.option, $ = n.options, k = n.removedValue, H = n.removedValues, M = n.value, G = function(ee) {
30204
30221
  return Array.isArray(ee) ? null : ee;
30205
- }, U = k || j || G(M), K = U ? h(U) : "", X = $ || H || void 0, Q = X ? X.map(h) : [], Y = ge({
30222
+ }, U = k || j || G(M), K = U ? h(U) : "", X = $ || H || void 0, Q = X ? X.map(h) : [], Y = be({
30206
30223
  // multiSelected items are usually items that have already been selected
30207
30224
  // or set by the user as a default value so we assume they are not disabled
30208
30225
  isDisabled: U && f(U, c),
@@ -30541,7 +30558,7 @@ var Ay = function(t) {
30541
30558
  }, Ej = function(t) {
30542
30559
  return function(n, o) {
30543
30560
  if (n.data.__isNew__) return !0;
30544
- var r = ge({
30561
+ var r = be({
30545
30562
  ignoreCase: !0,
30546
30563
  ignoreAccents: !0,
30547
30564
  stringify: Tj,
@@ -31080,7 +31097,7 @@ var Fy = function(t) {
31080
31097
  return r.props.menuIsOpen ? r.buildFocusableOptions() : [];
31081
31098
  }, r.ariaOnChange = function(l, u) {
31082
31099
  r.setState({
31083
- ariaSelection: ge({
31100
+ ariaSelection: be({
31084
31101
  value: l
31085
31102
  }, u)
31086
31103
  });
@@ -31375,7 +31392,7 @@ var Fy = function(t) {
31375
31392
  // Getters
31376
31393
  // ==============================
31377
31394
  function() {
31378
- return this.props.theme ? typeof this.props.theme == "function" ? this.props.theme(Xl) : ge(ge({}, Xl), this.props.theme) : Xl;
31395
+ return this.props.theme ? typeof this.props.theme == "function" ? this.props.theme(Xl) : be(be({}, Xl), this.props.theme) : Xl;
31379
31396
  }
31380
31397
  )
31381
31398
  }, {
@@ -31488,7 +31505,7 @@ var Fy = function(t) {
31488
31505
  // Renderers
31489
31506
  // ==============================
31490
31507
  function() {
31491
- var r = this.props, s = r.isDisabled, a = r.isSearchable, c = r.inputId, l = r.inputValue, u = r.tabIndex, d = r.form, p = r.menuIsOpen, h = r.required, g = this.getComponents(), m = g.Input, f = this.state, b = f.inputIsHidden, v = f.ariaSelection, S = this.commonProps, C = c || this.getElementId("input"), I = ge(ge(ge({
31508
+ var r = this.props, s = r.isDisabled, a = r.isSearchable, c = r.inputId, l = r.inputValue, u = r.tabIndex, d = r.form, p = r.menuIsOpen, h = r.required, g = this.getComponents(), m = g.Input, f = this.state, b = f.inputIsHidden, v = f.ariaSelection, S = this.commonProps, C = c || this.getElementId("input"), I = be(be(be({
31492
31509
  "aria-autocomplete": "list",
31493
31510
  "aria-expanded": p,
31494
31511
  "aria-haspopup": !0,
@@ -31862,7 +31879,7 @@ var Fy = function(t) {
31862
31879
  value: as(v, S, S[0] || null),
31863
31880
  options: S,
31864
31881
  action: "initial-input-focus"
31865
- }, B = !p), (u == null ? void 0 : u.action) === "initial-input-focus" && (N = null), ge(ge(ge({}, C), P), {}, {
31882
+ }, B = !p), (u == null ? void 0 : u.action) === "initial-input-focus" && (N = null), be(be(be({}, C), P), {}, {
31866
31883
  prevProps: r,
31867
31884
  ariaSelection: N,
31868
31885
  prevWasFocused: B
@@ -31996,7 +32013,7 @@ const i4 = ({
31996
32013
  };
31997
32014
  function s4({ ...e }) {
31998
32015
  return /* @__PURE__ */ x.jsxs(
31999
- be,
32016
+ ge,
32000
32017
  {
32001
32018
  sx: {
32002
32019
  border: (t) => `1px solid ${t.palette.primary.notifyBorderColor}`,
@@ -32007,7 +32024,7 @@ function s4({ ...e }) {
32007
32024
  alignItems: "center"
32008
32025
  },
32009
32026
  children: [
32010
- /* @__PURE__ */ x.jsx(Ai, { type: "button", "aria-label": "search", children: /* @__PURE__ */ x.jsx(be, { component: "img", src: ln.Search, alt: "search" }) }),
32027
+ /* @__PURE__ */ x.jsx(Ai, { type: "button", "aria-label": "search", children: /* @__PURE__ */ x.jsx(ge, { component: "img", src: ln.Search, alt: "search" }) }),
32011
32028
  /* @__PURE__ */ x.jsx(
32012
32029
  Ra,
32013
32030
  {
@@ -32032,7 +32049,7 @@ const a4 = ({
32032
32049
  }) => {
32033
32050
  const s = bt();
32034
32051
  return /* @__PURE__ */ x.jsxs(
32035
- be,
32052
+ ge,
32036
32053
  {
32037
32054
  sx: {
32038
32055
  display: "flex",
@@ -32040,7 +32057,7 @@ const a4 = ({
32040
32057
  },
32041
32058
  children: [
32042
32059
  /* @__PURE__ */ x.jsxs(
32043
- be,
32060
+ ge,
32044
32061
  {
32045
32062
  sx: {
32046
32063
  zIndex: 10,
@@ -32050,7 +32067,7 @@ const a4 = ({
32050
32067
  width: "100%"
32051
32068
  },
32052
32069
  children: [
32053
- /* @__PURE__ */ x.jsx(be, { sx: {
32070
+ /* @__PURE__ */ x.jsx(ge, { sx: {
32054
32071
  display: "flex",
32055
32072
  justifyContent: "center",
32056
32073
  alignItems: "center"
@@ -32069,7 +32086,7 @@ const a4 = ({
32069
32086
  }
32070
32087
  ) }),
32071
32088
  /* @__PURE__ */ x.jsx(
32072
- be,
32089
+ ge,
32073
32090
  {
32074
32091
  sx: {
32075
32092
  display: "flex",
@@ -32079,14 +32096,14 @@ const a4 = ({
32079
32096
  justifyContent: "space-between"
32080
32097
  },
32081
32098
  children: /* @__PURE__ */ x.jsx(
32082
- be,
32099
+ ge,
32083
32100
  {
32084
32101
  sx: {
32085
32102
  display: "flex",
32086
32103
  flexDirection: "row",
32087
32104
  width: "5.5rem"
32088
32105
  },
32089
- children: /* @__PURE__ */ x.jsx(be, { sx: { position: "relative", flexShrink: 0 }, children: /* @__PURE__ */ x.jsx(
32106
+ children: /* @__PURE__ */ x.jsx(ge, { sx: { position: "relative", flexShrink: 0 }, children: /* @__PURE__ */ x.jsx(
32090
32107
  Va,
32091
32108
  {
32092
32109
  label: 10,
@@ -32097,7 +32114,7 @@ const a4 = ({
32097
32114
  )
32098
32115
  }
32099
32116
  ),
32100
- /* @__PURE__ */ x.jsx(be, { sx: {
32117
+ /* @__PURE__ */ x.jsx(ge, { sx: {
32101
32118
  display: "flex",
32102
32119
  justifyContent: "center",
32103
32120
  alignItems: "center"
@@ -32263,7 +32280,7 @@ const a4 = ({
32263
32280
  ] }, l)) }) })
32264
32281
  ] });
32265
32282
  }, [e]);
32266
- return /* @__PURE__ */ x.jsx(be, { className: "scai-common-component-table-container", children: /* @__PURE__ */ x.jsx(c4, { children: r() }) });
32283
+ return /* @__PURE__ */ x.jsx(ge, { className: "scai-common-component-table-container", children: /* @__PURE__ */ x.jsx(c4, { children: r() }) });
32267
32284
  }, d4 = ({ loading: e, isEmpty: t, data: n, subTitle: o }) => {
32268
32285
  const [r, s] = Ve(""), [a, c] = Ve(1), [l, u] = Ve(10), [d, p] = Ve(0), [h, g] = Ve([]), [m, f] = Ve(!1), [b, v] = Ve(""), S = bt(), { showMoreRowsJSX: C } = i4({
32269
32286
  rowLength: l,
@@ -32310,7 +32327,7 @@ const a4 = ({
32310
32327
  borderBottom: `0.1rem solid ${S.palette.primary.notifyBorderColor}`
32311
32328
  },
32312
32329
  children: /* @__PURE__ */ x.jsx(
32313
- be,
32330
+ ge,
32314
32331
  {
32315
32332
  sx: e || t ? {
32316
32333
  position: "relative",
@@ -32320,7 +32337,7 @@ const a4 = ({
32320
32337
  alignItems: "center"
32321
32338
  } : {},
32322
32339
  children: e ? /* @__PURE__ */ x.jsx(Ni, { size: 30, className: "circular-loader" }) : t ? /* @__PURE__ */ x.jsx(dn, { className: "no-record", children: bn.NRF }) : /* @__PURE__ */ x.jsxs(x.Fragment, { children: [
32323
- /* @__PURE__ */ x.jsxs(be, { className: "sticky-input-select", sx: { gap: 1, backgroundColor: S.palette.primary.notifyBackground }, children: [
32340
+ /* @__PURE__ */ x.jsxs(ge, { className: "sticky-input-select", sx: { gap: 1, backgroundColor: S.palette.primary.notifyBackground }, children: [
32324
32341
  /* @__PURE__ */ x.jsx(
32325
32342
  s4,
32326
32343
  {
@@ -32496,9 +32513,9 @@ const a4 = ({
32496
32513
  t({ type: tt.LOADING, loading: !1 });
32497
32514
  }
32498
32515
  };
32499
- return /* @__PURE__ */ x.jsxs(be, { children: [
32516
+ return /* @__PURE__ */ x.jsxs(ge, { children: [
32500
32517
  /* @__PURE__ */ x.jsx(
32501
- be,
32518
+ ge,
32502
32519
  {
32503
32520
  sx: {
32504
32521
  display: "flex",
@@ -32534,7 +32551,7 @@ const a4 = ({
32534
32551
  borderTop: "none",
32535
32552
  borderBottom: `0.1rem solid ${R.palette.primary.notifyBorderColor}`
32536
32553
  }, children: /* @__PURE__ */ x.jsx(
32537
- be,
32554
+ ge,
32538
32555
  {
32539
32556
  sx: n || y ? {
32540
32557
  display: "flex",