@zydon/common 1.0.17 → 1.0.18
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.js +59 -50
- package/dist/index.umd.cjs +6 -6
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/routes.d.ts +2 -0
- package/dist/utils/routes.d.ts.map +1 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9683,7 +9683,7 @@ const MM = ({
|
|
|
9683
9683
|
}
|
|
9684
9684
|
)
|
|
9685
9685
|
] });
|
|
9686
|
-
},
|
|
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
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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
|
-
}),
|
|
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
|
-
},
|
|
21488
|
+
}, Hj = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
21489
21489
|
__proto__: null,
|
|
21490
21490
|
bgBlur: ac,
|
|
21491
21491
|
bgGradient: _I,
|
|
@@ -21726,7 +21726,7 @@ const II = ({ data: e, depth: t }) => /* @__PURE__ */ y.jsx(y.Fragment, { childr
|
|
|
21726
21726
|
n.subheader
|
|
21727
21727
|
))
|
|
21728
21728
|
}
|
|
21729
|
-
),
|
|
21729
|
+
), Wj = Rs(LI), NI = Et(Ds, {
|
|
21730
21730
|
shouldForwardProp: (e) => e !== "active" && e !== "caption"
|
|
21731
21731
|
})(({ active: e, disabled: t, depth: r, caption: n, theme: a }) => {
|
|
21732
21732
|
const o = a.palette.mode === "light", i = r !== 1, s = {
|
|
@@ -21888,7 +21888,7 @@ const II = ({ data: e, depth: t }) => /* @__PURE__ */ y.jsx(y.Fragment, { childr
|
|
|
21888
21888
|
),
|
|
21889
21889
|
r && /* @__PURE__ */ y.jsx(h0, { in: i, unmountOnExit: !0, children: /* @__PURE__ */ y.jsx(WI, { data: e.children, depth: t }) })
|
|
21890
21890
|
] });
|
|
21891
|
-
},
|
|
21891
|
+
}, zj = ({
|
|
21892
21892
|
data: e,
|
|
21893
21893
|
sx: t,
|
|
21894
21894
|
...r
|
|
@@ -22102,7 +22102,7 @@ const GI = ({ data: e, depth: t }) => /* @__PURE__ */ y.jsx(y.Fragment, { childr
|
|
|
22102
22102
|
...r,
|
|
22103
22103
|
children: e.map((n) => /* @__PURE__ */ y.jsx(VI, { items: n.items }, n.subheader))
|
|
22104
22104
|
}
|
|
22105
|
-
),
|
|
22105
|
+
), Uj = Rs(qI), Yj = (e) => {
|
|
22106
22106
|
const [t, r] = Zt(!1);
|
|
22107
22107
|
return /* @__PURE__ */ y.jsx(
|
|
22108
22108
|
xI,
|
|
@@ -22127,7 +22127,7 @@ const GI = ({ data: e, depth: t }) => /* @__PURE__ */ y.jsx(y.Fragment, { childr
|
|
|
22127
22127
|
}
|
|
22128
22128
|
}
|
|
22129
22129
|
);
|
|
22130
|
-
},
|
|
22130
|
+
}, Gj = ({
|
|
22131
22131
|
children: e,
|
|
22132
22132
|
container: t
|
|
22133
22133
|
}) => M0(
|
|
@@ -22560,7 +22560,7 @@ const ej = Et("div")(() => ({
|
|
|
22560
22560
|
return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(
|
|
22561
22561
|
n
|
|
22562
22562
|
) ? /* @__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
|
-
},
|
|
22563
|
+
}, Vj = Rs(rj), qj = ({ name: e, ...t }) => {
|
|
22564
22564
|
const { control: r } = Nn();
|
|
22565
22565
|
return /* @__PURE__ */ y.jsx(
|
|
22566
22566
|
Fn,
|
|
@@ -22598,7 +22598,7 @@ const ej = Et("div")(() => ({
|
|
|
22598
22598
|
}
|
|
22599
22599
|
}
|
|
22600
22600
|
);
|
|
22601
|
-
},
|
|
22601
|
+
}, Xj = () => {
|
|
22602
22602
|
const [e, t] = Zt(!1), [r, n] = Zt(
|
|
22603
22603
|
document.activeElement
|
|
22604
22604
|
);
|
|
@@ -22620,9 +22620,9 @@ var oj = aj;
|
|
|
22620
22620
|
const ij = /* @__PURE__ */ ka(oj), sj = (e, t) => ij(e, t), lj = (e) => {
|
|
22621
22621
|
const t = No();
|
|
22622
22622
|
return sj(e, t.current) || (t.current = e), t.current;
|
|
22623
|
-
},
|
|
22623
|
+
}, Kj = (e, t) => {
|
|
22624
22624
|
yr(e, t.map(lj));
|
|
22625
|
-
},
|
|
22625
|
+
}, Qj = () => {
|
|
22626
22626
|
const e = No(!0);
|
|
22627
22627
|
return e.current ? (e.current = !1, !0) : e.current;
|
|
22628
22628
|
};
|
|
@@ -22684,13 +22684,13 @@ function io(e, t = {}) {
|
|
|
22684
22684
|
match: u
|
|
22685
22685
|
}), u;
|
|
22686
22686
|
}
|
|
22687
|
-
const
|
|
22687
|
+
const Zj = (e, t, r) => {
|
|
22688
22688
|
const n = rc(), a = io(n.breakpoints.up(t)), o = io(n.breakpoints.down(t)), i = io(
|
|
22689
22689
|
n.breakpoints.between(t, r)
|
|
22690
22690
|
), s = io(n.breakpoints.only(t));
|
|
22691
22691
|
return e === "up" ? a : e === "down" ? o : e === "between" ? i : s;
|
|
22692
22692
|
};
|
|
22693
|
-
function
|
|
22693
|
+
function Jj(e) {
|
|
22694
22694
|
const [t, r] = Zt(e || "");
|
|
22695
22695
|
return {
|
|
22696
22696
|
currentTab: t,
|
|
@@ -22700,13 +22700,13 @@ function Zj(e) {
|
|
|
22700
22700
|
setCurrentTab: r
|
|
22701
22701
|
};
|
|
22702
22702
|
}
|
|
22703
|
-
const
|
|
22703
|
+
const eL = (e = !1) => {
|
|
22704
22704
|
const [t, r] = Zt(e), n = n0(() => r((a) => !a), []);
|
|
22705
22705
|
return [t, n, r];
|
|
22706
22706
|
}, fj = (e, t, r) => {
|
|
22707
22707
|
const n = `data:application/octet-stream;base64,${r}`, a = document.createElement("a"), o = `${e.replace(t, "")}.${t}`;
|
|
22708
22708
|
a.href = n, a.download = o, a.click();
|
|
22709
|
-
},
|
|
22709
|
+
}, tL = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
22710
22710
|
__proto__: null,
|
|
22711
22711
|
downloadFile: fj
|
|
22712
22712
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -22779,52 +22779,61 @@ function wj(e) {
|
|
|
22779
22779
|
addSuffix: !0
|
|
22780
22780
|
}) : null;
|
|
22781
22781
|
}
|
|
22782
|
-
const
|
|
22782
|
+
const rL = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
22783
22783
|
__proto__: null,
|
|
22784
22784
|
fDate: bj,
|
|
22785
22785
|
fDateTime: yj,
|
|
22786
22786
|
fTimestamp: xj,
|
|
22787
22787
|
fToNow: wj
|
|
22788
|
-
}, Symbol.toStringTag, { value: "Module" }))
|
|
22788
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
22789
|
+
function Oj(e) {
|
|
22790
|
+
const t = e.match(/\/([^/]+)/);
|
|
22791
|
+
return t ? t[0] : e;
|
|
22792
|
+
}
|
|
22793
|
+
const nL = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
22794
|
+
__proto__: null,
|
|
22795
|
+
getRoot: Oj
|
|
22796
|
+
}, Symbol.toStringTag, { value: "Module" })), aL = (e) => (
|
|
22789
22797
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
22790
22798
|
function(r) {
|
|
22791
22799
|
return /* @__PURE__ */ y.jsx(a0, { fallback: /* @__PURE__ */ y.jsx(v0, {}), children: /* @__PURE__ */ y.jsx(e, { ...r }) });
|
|
22792
22800
|
}
|
|
22793
22801
|
);
|
|
22794
22802
|
export {
|
|
22795
|
-
|
|
22803
|
+
Aj as ColorPickerField,
|
|
22796
22804
|
MM as ColorPickerInput,
|
|
22797
|
-
|
|
22805
|
+
Rj as Common,
|
|
22798
22806
|
mI as CustomAvatar,
|
|
22799
22807
|
bI as CustomAvatarGroup,
|
|
22800
|
-
|
|
22801
|
-
|
|
22802
|
-
|
|
22803
|
-
|
|
22804
|
-
|
|
22808
|
+
Dj as DataGrid,
|
|
22809
|
+
Ij as DatePicker,
|
|
22810
|
+
jj as DateRangePicker,
|
|
22811
|
+
Lj as DateTimePicker,
|
|
22812
|
+
Nj as Delayed,
|
|
22805
22813
|
xI as Field,
|
|
22806
|
-
|
|
22814
|
+
Fj as Form,
|
|
22807
22815
|
Or as Iconify,
|
|
22808
22816
|
TI as Image,
|
|
22809
22817
|
SI as Label,
|
|
22810
|
-
|
|
22811
|
-
|
|
22812
|
-
|
|
22813
|
-
|
|
22814
|
-
|
|
22815
|
-
|
|
22816
|
-
|
|
22818
|
+
Bj as MenuPopover,
|
|
22819
|
+
Uj as NavSectionHorizontal,
|
|
22820
|
+
Wj as NavSectionMini,
|
|
22821
|
+
zj as NavSectionVertical,
|
|
22822
|
+
Yj as PasswordField,
|
|
22823
|
+
Gj as Portal,
|
|
22824
|
+
Vj as Scrollbar,
|
|
22817
22825
|
gI as ThemeProvider,
|
|
22818
|
-
|
|
22819
|
-
|
|
22820
|
-
|
|
22821
|
-
|
|
22822
|
-
|
|
22823
|
-
|
|
22826
|
+
qj as TimePicker,
|
|
22827
|
+
Hj as cssStyles,
|
|
22828
|
+
tL as file,
|
|
22829
|
+
rL as formatTime,
|
|
22830
|
+
aL as loadable,
|
|
22831
|
+
nL as routes,
|
|
22832
|
+
Xj as useActiveElement,
|
|
22824
22833
|
nc as useActiveLink,
|
|
22825
|
-
|
|
22826
|
-
|
|
22827
|
-
|
|
22828
|
-
|
|
22829
|
-
|
|
22834
|
+
Kj as useDeepCompareEffect,
|
|
22835
|
+
Qj as useIsMounting,
|
|
22836
|
+
Zj as useResponsive,
|
|
22837
|
+
Jj as useTabs,
|
|
22838
|
+
eL as useToggle
|
|
22830
22839
|
};
|