@zydon/common 1.0.17 → 1.0.19

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.
@@ -1 +1 @@
1
- {"version":3,"file":"NavItem.d.ts","sourceRoot":"","sources":["../../../../src/components/nav-section/NavSectionHorizontal/NavItem.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAIxC,QAAA,MAAM,OAAO,sHAqEZ,CAAC;AAIF,eAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"NavItem.d.ts","sourceRoot":"","sources":["../../../../src/components/nav-section/NavSectionHorizontal/NavItem.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAIxC,QAAA,MAAM,OAAO,sHA0EZ,CAAC;AAIF,eAAe,OAAO,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"NavItem.d.ts","sourceRoot":"","sources":["../../../../src/components/nav-section/NavSectionMini/NavItem.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAIxC,QAAA,MAAM,OAAO,sHAqFZ,CAAC;AAIF,eAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"NavItem.d.ts","sourceRoot":"","sources":["../../../../src/components/nav-section/NavSectionMini/NavItem.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAIxC,QAAA,MAAM,OAAO,sHAyFZ,CAAC;AAIF,eAAe,OAAO,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"NavItem.d.ts","sourceRoot":"","sources":["../../../../src/components/nav-section/NavSectionVertical/NavItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAGxC,QAAA,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAyFnC,CAAC;AAEF,eAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"NavItem.d.ts","sourceRoot":"","sources":["../../../../src/components/nav-section/NavSectionVertical/NavItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAGxC,QAAA,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CA8FnC,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -10,6 +10,7 @@ export type INavItem = {
10
10
  export type NavItemProps = INavItem & ListItemButtonProps;
11
11
  export type NavListProps = {
12
12
  title: string;
13
+ baseUrl?: string;
13
14
  path: string;
14
15
  icon?: React.ReactElement;
15
16
  info?: React.ReactElement;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/nav-section/types.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAEhE,MAAM,MAAM,QAAQ,GAAG;IACrB,IAAI,EAAE,YAAY,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG,QAAQ,GAAG,mBAAmB,CAAC;AAE1D,MAAM,MAAM,YAAY,GAAG;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAC1B,IAAI,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAC1B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IAEjB,QAAQ,CAAC,EAAE,GAAG,CAAC;CAChB,CAAC;AAEF,MAAM,WAAW,eAAgB,SAAQ,UAAU;IACjD,IAAI,EAAE;QACJ,SAAS,EAAE,MAAM,CAAC;QAClB,KAAK,EAAE,YAAY,EAAE,CAAC;KACvB,EAAE,CAAC;CACL"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/nav-section/types.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAEhE,MAAM,MAAM,QAAQ,GAAG;IACrB,IAAI,EAAE,YAAY,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG,QAAQ,GAAG,mBAAmB,CAAC;AAE1D,MAAM,MAAM,YAAY,GAAG;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAC1B,IAAI,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAC1B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IAEjB,QAAQ,CAAC,EAAE,GAAG,CAAC;CAChB,CAAC;AAEF,MAAM,WAAW,eAAgB,SAAQ,UAAU;IACjD,IAAI,EAAE;QACJ,SAAS,EAAE,MAAM,CAAC;QAClB,KAAK,EAAE,YAAY,EAAE,CAAC;KACvB,EAAE,CAAC;CACL"}
package/dist/index.js CHANGED
@@ -9683,7 +9683,7 @@ const MM = ({
9683
9683
  }
9684
9684
  )
9685
9685
  ] });
9686
- }, kj = ({
9686
+ }, Aj = ({
9687
9687
  name: e,
9688
9688
  rules: t,
9689
9689
  helperText: r,
@@ -19774,7 +19774,7 @@ const pI = "Public Sans, sans-serif", hI = {
19774
19774
  e
19775
19775
  ] }) });
19776
19776
  };
19777
- const Aj = ({
19777
+ const Rj = ({
19778
19778
  themeColor: e,
19779
19779
  children: t
19780
19780
  }) => /* @__PURE__ */ y.jsx(
@@ -19923,7 +19923,7 @@ const Qf = f0(At)({
19923
19923
  children: l
19924
19924
  }
19925
19925
  );
19926
- }, Rj = ({ columns: e, ...t }) => {
19926
+ }, Dj = ({ columns: e, ...t }) => {
19927
19927
  const r = [
19928
19928
  {
19929
19929
  ...$0,
@@ -19999,7 +19999,7 @@ const Qf = f0(At)({
19999
19999
  ...t
20000
20000
  }
20001
20001
  );
20002
- }, Dj = ({ name: e, ...t }) => {
20002
+ }, Ij = ({ name: e, ...t }) => {
20003
20003
  const { control: r } = Nn();
20004
20004
  return /* @__PURE__ */ y.jsx(
20005
20005
  Fn,
@@ -20039,7 +20039,7 @@ const Qf = f0(At)({
20039
20039
  }
20040
20040
  }
20041
20041
  );
20042
- }, Ij = ({
20042
+ }, jj = ({
20043
20043
  name: e,
20044
20044
  label: t,
20045
20045
  ...r
@@ -20091,7 +20091,7 @@ const Qf = f0(At)({
20091
20091
  )
20092
20092
  }
20093
20093
  );
20094
- }, jj = ({ name: e, ...t }) => {
20094
+ }, Lj = ({ name: e, ...t }) => {
20095
20095
  const { control: r } = Nn();
20096
20096
  return /* @__PURE__ */ y.jsx(
20097
20097
  Fn,
@@ -20133,7 +20133,7 @@ const Qf = f0(At)({
20133
20133
  }
20134
20134
  }
20135
20135
  );
20136
- }, Lj = ({
20136
+ }, Nj = ({
20137
20137
  children: e,
20138
20138
  waitBeforeShow: t = 500
20139
20139
  }) => {
@@ -20162,7 +20162,7 @@ const Qf = f0(At)({
20162
20162
  )
20163
20163
  }
20164
20164
  );
20165
- }, Nj = ({
20165
+ }, Fj = ({
20166
20166
  id: e,
20167
20167
  children: t,
20168
20168
  onSubmit: r,
@@ -21365,7 +21365,7 @@ const $I = Et("span")(({
21365
21365
  },
21366
21366
  ...e === "right-bottom" && { ...l, bottom: 20 }
21367
21367
  };
21368
- }), Fj = ({
21368
+ }), Bj = ({
21369
21369
  open: e,
21370
21370
  children: t,
21371
21371
  arrow: r = "top-right",
@@ -21485,7 +21485,7 @@ const Ih = {
21485
21485
  "&::-webkit-scrollbar": {
21486
21486
  display: "none"
21487
21487
  }
21488
- }, Bj = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
21488
+ }, Hj = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
21489
21489
  __proto__: null,
21490
21490
  bgBlur: ac,
21491
21491
  bgGradient: _I,
@@ -21565,17 +21565,17 @@ const Ih = {
21565
21565
  }
21566
21566
  })), jh = Dr(
21567
21567
  ({ item: e, depth: t, open: r, active: n, isExternalLink: a, ...o }, i) => {
21568
- const { title: s, path: l, icon: c, children: u, disabled: f, caption: d } = e, p = t !== 1, m = /* @__PURE__ */ y.jsxs(
21568
+ const { title: s, baseUrl: l, path: c, icon: u, children: f, disabled: d, caption: p } = e, m = t !== 1, g = /* @__PURE__ */ y.jsxs(
21569
21569
  AI,
21570
21570
  {
21571
21571
  ref: i,
21572
21572
  open: r,
21573
21573
  depth: t,
21574
21574
  active: n,
21575
- disabled: f,
21575
+ disabled: d,
21576
21576
  ...o,
21577
21577
  children: [
21578
- c && /* @__PURE__ */ y.jsx(RI, { children: c }),
21578
+ u && /* @__PURE__ */ y.jsx(RI, { children: u }),
21579
21579
  /* @__PURE__ */ y.jsx(
21580
21580
  js,
21581
21581
  {
@@ -21590,7 +21590,7 @@ const Ih = {
21590
21590
  ...n && {
21591
21591
  fontWeight: "fontWeightMedium"
21592
21592
  },
21593
- ...p && {
21593
+ ...m && {
21594
21594
  fontSize: 14,
21595
21595
  width: "auto",
21596
21596
  textAlign: "left"
@@ -21599,7 +21599,7 @@ const Ih = {
21599
21599
  }
21600
21600
  }
21601
21601
  ),
21602
- d && /* @__PURE__ */ y.jsx(Ls, { title: d, arrow: !0, placement: "right", children: /* @__PURE__ */ y.jsx(
21602
+ p && /* @__PURE__ */ y.jsx(Ls, { title: p, arrow: !0, placement: "right", children: /* @__PURE__ */ y.jsx(
21603
21603
  Or,
21604
21604
  {
21605
21605
  icon: "eva:info-outline",
@@ -21611,7 +21611,7 @@ const Ih = {
21611
21611
  }
21612
21612
  }
21613
21613
  ) }),
21614
- !!u && /* @__PURE__ */ y.jsx(
21614
+ !!f && /* @__PURE__ */ y.jsx(
21615
21615
  Or,
21616
21616
  {
21617
21617
  width: 16,
@@ -21626,7 +21626,15 @@ const Ih = {
21626
21626
  ]
21627
21627
  }
21628
21628
  );
21629
- return (() => a ? /* @__PURE__ */ y.jsx(kn, { href: l, target: "_blank", rel: "noopener", underline: "none", children: m }) : /* @__PURE__ */ y.jsx(kn, { component: Ns, to: l, underline: "none", children: m }))();
21629
+ return (() => a ? /* @__PURE__ */ y.jsx(kn, { href: c, target: "_blank", rel: "noopener", underline: "none", children: g }) : /* @__PURE__ */ y.jsx(
21630
+ kn,
21631
+ {
21632
+ component: Ns,
21633
+ to: l ? `${l}/${c}` : c,
21634
+ underline: "none",
21635
+ children: g
21636
+ }
21637
+ ))();
21630
21638
  }
21631
21639
  );
21632
21640
  jh.displayName = "NavItem";
@@ -21726,7 +21734,7 @@ const II = ({ data: e, depth: t }) => /* @__PURE__ */ y.jsx(y.Fragment, { childr
21726
21734
  n.subheader
21727
21735
  ))
21728
21736
  }
21729
- ), Hj = Rs(LI), NI = Et(Ds, {
21737
+ ), Wj = Rs(LI), NI = Et(Ds, {
21730
21738
  shouldForwardProp: (e) => e !== "active" && e !== "caption"
21731
21739
  })(({ active: e, disabled: t, depth: r, caption: n, theme: a }) => {
21732
21740
  const o = a.palette.mode === "light", i = r !== 1, s = {
@@ -21816,22 +21824,22 @@ const II = ({ data: e, depth: t }) => /* @__PURE__ */ y.jsx(y.Fragment, { childr
21816
21824
  isExternalLink: a,
21817
21825
  ...o
21818
21826
  }) => {
21819
- const { title: i, path: s, icon: l, info: c, children: u, disabled: f, caption: d } = e, p = t !== 1, m = /* @__PURE__ */ y.jsxs(
21827
+ const { title: i, baseUrl: s, path: l, icon: c, info: u, children: f, disabled: d, caption: p } = e, m = t !== 1, g = /* @__PURE__ */ y.jsxs(
21820
21828
  NI,
21821
21829
  {
21822
21830
  depth: t,
21823
21831
  active: n,
21824
- disabled: f,
21825
- caption: !!d,
21832
+ disabled: d,
21833
+ caption: !!p,
21826
21834
  ...o,
21827
21835
  children: [
21828
- l && /* @__PURE__ */ y.jsx(Zf, { children: l }),
21829
- p && /* @__PURE__ */ y.jsx(Zf, { children: /* @__PURE__ */ y.jsx(FI, { active: n && p }) }),
21836
+ c && /* @__PURE__ */ y.jsx(Zf, { children: c }),
21837
+ m && /* @__PURE__ */ y.jsx(Zf, { children: /* @__PURE__ */ y.jsx(FI, { active: n && m }) }),
21830
21838
  /* @__PURE__ */ y.jsx(
21831
21839
  js,
21832
21840
  {
21833
21841
  primary: i,
21834
- secondary: d && /* @__PURE__ */ y.jsx(Ls, { title: d, placement: "top-start", children: /* @__PURE__ */ y.jsx("span", { children: d }) }),
21842
+ secondary: p && /* @__PURE__ */ y.jsx(Ls, { title: p, placement: "top-start", children: /* @__PURE__ */ y.jsx("span", { children: p }) }),
21835
21843
  primaryTypographyProps: {
21836
21844
  noWrap: !0,
21837
21845
  component: "span",
@@ -21843,8 +21851,8 @@ const II = ({ data: e, depth: t }) => /* @__PURE__ */ y.jsx(y.Fragment, { childr
21843
21851
  }
21844
21852
  }
21845
21853
  ),
21846
- c && /* @__PURE__ */ y.jsx(At, { component: "span", sx: { lineHeight: 0 }, children: c }),
21847
- !!u && /* @__PURE__ */ y.jsx(
21854
+ u && /* @__PURE__ */ y.jsx(At, { component: "span", sx: { lineHeight: 0 }, children: u }),
21855
+ !!f && /* @__PURE__ */ y.jsx(
21848
21856
  Or,
21849
21857
  {
21850
21858
  width: 16,
@@ -21855,7 +21863,15 @@ const II = ({ data: e, depth: t }) => /* @__PURE__ */ y.jsx(y.Fragment, { childr
21855
21863
  ]
21856
21864
  }
21857
21865
  );
21858
- return (() => a ? /* @__PURE__ */ y.jsx(kn, { href: s, target: "_blank", rel: "noopener", underline: "none", children: m }) : u ? m : /* @__PURE__ */ y.jsx(kn, { component: Ns, to: s, underline: "none", children: m }))();
21866
+ return (() => a ? /* @__PURE__ */ y.jsx(kn, { href: l, target: "_blank", rel: "noopener", underline: "none", children: g }) : f ? g : /* @__PURE__ */ y.jsx(
21867
+ kn,
21868
+ {
21869
+ component: Ns,
21870
+ to: s ? `${s}/${l}` : l,
21871
+ underline: "none",
21872
+ children: g
21873
+ }
21874
+ ))();
21859
21875
  }, WI = ({ data: e, depth: t }) => /* @__PURE__ */ y.jsx(y.Fragment, { children: e.map((r) => /* @__PURE__ */ y.jsx(
21860
21876
  Nh,
21861
21877
  {
@@ -21888,7 +21904,7 @@ const II = ({ data: e, depth: t }) => /* @__PURE__ */ y.jsx(y.Fragment, { childr
21888
21904
  ),
21889
21905
  r && /* @__PURE__ */ y.jsx(h0, { in: i, unmountOnExit: !0, children: /* @__PURE__ */ y.jsx(WI, { data: e.children, depth: t }) })
21890
21906
  ] });
21891
- }, Wj = ({
21907
+ }, zj = ({
21892
21908
  data: e,
21893
21909
  sx: t,
21894
21910
  ...r
@@ -21982,17 +21998,17 @@ const II = ({ data: e, depth: t }) => /* @__PURE__ */ y.jsx(y.Fragment, { childr
21982
21998
  }
21983
21999
  })), Fh = Dr(
21984
22000
  ({ item: e, depth: t, open: r, active: n, isExternalLink: a, ...o }, i) => {
21985
- const { title: s, path: l, icon: c, info: u, children: f, disabled: d, caption: p } = e, m = t !== 1, g = /* @__PURE__ */ y.jsxs(
22001
+ const { title: s, baseUrl: l, path: c, icon: u, info: f, children: d, disabled: p, caption: m } = e, g = t !== 1, v = /* @__PURE__ */ y.jsxs(
21986
22002
  zI,
21987
22003
  {
21988
22004
  ref: i,
21989
22005
  open: r,
21990
22006
  depth: t,
21991
22007
  active: n,
21992
- disabled: d,
22008
+ disabled: p,
21993
22009
  ...o,
21994
22010
  children: [
21995
- c && /* @__PURE__ */ y.jsx(UI, { children: c }),
22011
+ u && /* @__PURE__ */ y.jsx(UI, { children: u }),
21996
22012
  /* @__PURE__ */ y.jsx(
21997
22013
  js,
21998
22014
  {
@@ -22004,12 +22020,12 @@ const II = ({ data: e, depth: t }) => /* @__PURE__ */ y.jsx(y.Fragment, { childr
22004
22020
  }
22005
22021
  }
22006
22022
  ),
22007
- u && /* @__PURE__ */ y.jsx(At, { component: "span", sx: { ml: 1, lineHeight: 0 }, children: u }),
22008
- p && /* @__PURE__ */ y.jsx(Ls, { title: p, arrow: !0, children: /* @__PURE__ */ y.jsx(At, { component: "span", sx: { ml: 0.5, lineHeight: 0 }, children: /* @__PURE__ */ y.jsx(Or, { icon: "eva:info-outline", width: 16 }) }) }),
22009
- !!f && /* @__PURE__ */ y.jsx(
22023
+ f && /* @__PURE__ */ y.jsx(At, { component: "span", sx: { ml: 1, lineHeight: 0 }, children: f }),
22024
+ m && /* @__PURE__ */ y.jsx(Ls, { title: m, arrow: !0, children: /* @__PURE__ */ y.jsx(At, { component: "span", sx: { ml: 0.5, lineHeight: 0 }, children: /* @__PURE__ */ y.jsx(Or, { icon: "eva:info-outline", width: 16 }) }) }),
22025
+ !!d && /* @__PURE__ */ y.jsx(
22010
22026
  Or,
22011
22027
  {
22012
- icon: m ? "eva:chevron-right-fill" : "eva:chevron-down-fill",
22028
+ icon: g ? "eva:chevron-right-fill" : "eva:chevron-down-fill",
22013
22029
  width: 16,
22014
22030
  sx: { ml: 0.5, flexShrink: 0 }
22015
22031
  }
@@ -22017,7 +22033,15 @@ const II = ({ data: e, depth: t }) => /* @__PURE__ */ y.jsx(y.Fragment, { childr
22017
22033
  ]
22018
22034
  }
22019
22035
  );
22020
- return (() => a ? /* @__PURE__ */ y.jsx(kn, { href: l, target: "_blank", rel: "noopener", underline: "none", children: g }) : /* @__PURE__ */ y.jsx(kn, { component: Ns, to: l, underline: "none", children: g }))();
22036
+ return (() => a ? /* @__PURE__ */ y.jsx(kn, { href: c, target: "_blank", rel: "noopener", underline: "none", children: v }) : /* @__PURE__ */ y.jsx(
22037
+ kn,
22038
+ {
22039
+ component: Ns,
22040
+ to: l ? `${l}/${c}` : c,
22041
+ underline: "none",
22042
+ children: v
22043
+ }
22044
+ ))();
22021
22045
  }
22022
22046
  );
22023
22047
  Fh.displayName = "NavItem";
@@ -22102,7 +22126,7 @@ const GI = ({ data: e, depth: t }) => /* @__PURE__ */ y.jsx(y.Fragment, { childr
22102
22126
  ...r,
22103
22127
  children: e.map((n) => /* @__PURE__ */ y.jsx(VI, { items: n.items }, n.subheader))
22104
22128
  }
22105
- ), zj = Rs(qI), Uj = (e) => {
22129
+ ), Uj = Rs(qI), Yj = (e) => {
22106
22130
  const [t, r] = Zt(!1);
22107
22131
  return /* @__PURE__ */ y.jsx(
22108
22132
  xI,
@@ -22127,7 +22151,7 @@ const GI = ({ data: e, depth: t }) => /* @__PURE__ */ y.jsx(y.Fragment, { childr
22127
22151
  }
22128
22152
  }
22129
22153
  );
22130
- }, Yj = ({
22154
+ }, Gj = ({
22131
22155
  children: e,
22132
22156
  container: t
22133
22157
  }) => M0(
@@ -22560,7 +22584,7 @@ const ej = Et("div")(() => ({
22560
22584
  return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(
22561
22585
  n
22562
22586
  ) ? /* @__PURE__ */ y.jsx(At, { sx: { overflowX: "auto", ...t }, ...r, children: e }) : /* @__PURE__ */ y.jsx(ej, { children: /* @__PURE__ */ y.jsx(tj, { clickOnTrack: !1, sx: t, ...r, children: e }) });
22563
- }, Gj = Rs(rj), Vj = ({ name: e, ...t }) => {
22587
+ }, Vj = Rs(rj), qj = ({ name: e, ...t }) => {
22564
22588
  const { control: r } = Nn();
22565
22589
  return /* @__PURE__ */ y.jsx(
22566
22590
  Fn,
@@ -22598,7 +22622,7 @@ const ej = Et("div")(() => ({
22598
22622
  }
22599
22623
  }
22600
22624
  );
22601
- }, qj = () => {
22625
+ }, Xj = () => {
22602
22626
  const [e, t] = Zt(!1), [r, n] = Zt(
22603
22627
  document.activeElement
22604
22628
  );
@@ -22620,9 +22644,9 @@ var oj = aj;
22620
22644
  const ij = /* @__PURE__ */ ka(oj), sj = (e, t) => ij(e, t), lj = (e) => {
22621
22645
  const t = No();
22622
22646
  return sj(e, t.current) || (t.current = e), t.current;
22623
- }, Xj = (e, t) => {
22647
+ }, Kj = (e, t) => {
22624
22648
  yr(e, t.map(lj));
22625
- }, Kj = () => {
22649
+ }, Qj = () => {
22626
22650
  const e = No(!0);
22627
22651
  return e.current ? (e.current = !1, !0) : e.current;
22628
22652
  };
@@ -22684,13 +22708,13 @@ function io(e, t = {}) {
22684
22708
  match: u
22685
22709
  }), u;
22686
22710
  }
22687
- const Qj = (e, t, r) => {
22711
+ const Zj = (e, t, r) => {
22688
22712
  const n = rc(), a = io(n.breakpoints.up(t)), o = io(n.breakpoints.down(t)), i = io(
22689
22713
  n.breakpoints.between(t, r)
22690
22714
  ), s = io(n.breakpoints.only(t));
22691
22715
  return e === "up" ? a : e === "down" ? o : e === "between" ? i : s;
22692
22716
  };
22693
- function Zj(e) {
22717
+ function Jj(e) {
22694
22718
  const [t, r] = Zt(e || "");
22695
22719
  return {
22696
22720
  currentTab: t,
@@ -22700,13 +22724,13 @@ function Zj(e) {
22700
22724
  setCurrentTab: r
22701
22725
  };
22702
22726
  }
22703
- const Jj = (e = !1) => {
22727
+ const eL = (e = !1) => {
22704
22728
  const [t, r] = Zt(e), n = n0(() => r((a) => !a), []);
22705
22729
  return [t, n, r];
22706
22730
  }, fj = (e, t, r) => {
22707
22731
  const n = `data:application/octet-stream;base64,${r}`, a = document.createElement("a"), o = `${e.replace(t, "")}.${t}`;
22708
22732
  a.href = n, a.download = o, a.click();
22709
- }, eL = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
22733
+ }, tL = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
22710
22734
  __proto__: null,
22711
22735
  downloadFile: fj
22712
22736
  }, Symbol.toStringTag, { value: "Module" }));
@@ -22779,52 +22803,61 @@ function wj(e) {
22779
22803
  addSuffix: !0
22780
22804
  }) : null;
22781
22805
  }
22782
- const tL = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
22806
+ const rL = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
22783
22807
  __proto__: null,
22784
22808
  fDate: bj,
22785
22809
  fDateTime: yj,
22786
22810
  fTimestamp: xj,
22787
22811
  fToNow: wj
22788
- }, Symbol.toStringTag, { value: "Module" })), rL = (e) => (
22812
+ }, Symbol.toStringTag, { value: "Module" }));
22813
+ function Oj(e) {
22814
+ const t = e.match(/\/([^/]+)/);
22815
+ return t ? t[0] : e;
22816
+ }
22817
+ const nL = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
22818
+ __proto__: null,
22819
+ getRoot: Oj
22820
+ }, Symbol.toStringTag, { value: "Module" })), aL = (e) => (
22789
22821
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
22790
22822
  function(r) {
22791
22823
  return /* @__PURE__ */ y.jsx(a0, { fallback: /* @__PURE__ */ y.jsx(v0, {}), children: /* @__PURE__ */ y.jsx(e, { ...r }) });
22792
22824
  }
22793
22825
  );
22794
22826
  export {
22795
- kj as ColorPickerField,
22827
+ Aj as ColorPickerField,
22796
22828
  MM as ColorPickerInput,
22797
- Aj as Common,
22829
+ Rj as Common,
22798
22830
  mI as CustomAvatar,
22799
22831
  bI as CustomAvatarGroup,
22800
- Rj as DataGrid,
22801
- Dj as DatePicker,
22802
- Ij as DateRangePicker,
22803
- jj as DateTimePicker,
22804
- Lj as Delayed,
22832
+ Dj as DataGrid,
22833
+ Ij as DatePicker,
22834
+ jj as DateRangePicker,
22835
+ Lj as DateTimePicker,
22836
+ Nj as Delayed,
22805
22837
  xI as Field,
22806
- Nj as Form,
22838
+ Fj as Form,
22807
22839
  Or as Iconify,
22808
22840
  TI as Image,
22809
22841
  SI as Label,
22810
- Fj as MenuPopover,
22811
- zj as NavSectionHorizontal,
22812
- Hj as NavSectionMini,
22813
- Wj as NavSectionVertical,
22814
- Uj as PasswordField,
22815
- Yj as Portal,
22816
- Gj as Scrollbar,
22842
+ Bj as MenuPopover,
22843
+ Uj as NavSectionHorizontal,
22844
+ Wj as NavSectionMini,
22845
+ zj as NavSectionVertical,
22846
+ Yj as PasswordField,
22847
+ Gj as Portal,
22848
+ Vj as Scrollbar,
22817
22849
  gI as ThemeProvider,
22818
- Vj as TimePicker,
22819
- Bj as cssStyles,
22820
- eL as file,
22821
- tL as formatTime,
22822
- rL as loadable,
22823
- qj as useActiveElement,
22850
+ qj as TimePicker,
22851
+ Hj as cssStyles,
22852
+ tL as file,
22853
+ rL as formatTime,
22854
+ aL as loadable,
22855
+ nL as routes,
22856
+ Xj as useActiveElement,
22824
22857
  nc as useActiveLink,
22825
- Xj as useDeepCompareEffect,
22826
- Kj as useIsMounting,
22827
- Qj as useResponsive,
22828
- Zj as useTabs,
22829
- Jj as useToggle
22858
+ Kj as useDeepCompareEffect,
22859
+ Qj as useIsMounting,
22860
+ Zj as useResponsive,
22861
+ Jj as useTabs,
22862
+ eL as useToggle
22830
22863
  };