@blofin/blofin-ui 0.7.0 → 0.7.1
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-795d166c.js → index-0135abac.js} +1 -1
- package/dist/{index-e469eb80.js → index-020763d2.js} +1 -1
- package/dist/{index-14741ae0.js → index-02cea48f.js} +1 -1
- package/dist/{index-cc30c575.js → index-06fdf5c3.js} +1 -1
- package/dist/{index-e7e8b823.js → index-0764d403.js} +124 -112
- package/dist/{index-a9f4fd00.js → index-101f2e6d.js} +1 -1
- package/dist/{index-9d032057.js → index-13d57f5d.js} +2 -2
- package/dist/{index-5d9f3313.js → index-14a55609.js} +1 -1
- package/dist/{index-d9512f95.js → index-1ef53efd.js} +2 -2
- package/dist/{index-e677616c.js → index-215c6c73.js} +1 -1
- package/dist/{index-606d6948.js → index-221503d0.js} +1 -1
- package/dist/{index-cc8e8488.js → index-22c5c768.js} +2 -2
- package/dist/{index-0a18effe.js → index-22f73c28.js} +1 -1
- package/dist/{index-0974da5f.js → index-29339beb.js} +1 -1
- package/dist/{index-9bb4d73a.js → index-293ebe5d.js} +2 -2
- package/dist/{index-a24c380a.js → index-2e2d8f45.js} +1 -1
- package/dist/{index-571dc44c.js → index-3376d6b1.js} +1 -1
- package/dist/{index-8a813849.js → index-39021104.js} +1 -1
- package/dist/{index-8edd263d.js → index-3cf34fcb.js} +1 -1
- package/dist/{index-3cc2f3b2.js → index-3dfe8bd6.js} +1 -1
- package/dist/{index-70055a5f.js → index-43dc0a06.js} +1 -1
- package/dist/{index-023ec10d.js → index-45507938.js} +1 -1
- package/dist/{index-cf3b403f.js → index-46bdc557.js} +2 -2
- package/dist/{index-395e0983.js → index-4dc55948.js} +1 -1
- package/dist/{index-3620716f.js → index-5387c13a.js} +1 -1
- package/dist/{index-5fbb581c.js → index-57f9e99b.js} +1 -1
- package/dist/{index-c9ebb264.js → index-5988283b.js} +1 -1
- package/dist/{index-ce67b772.js → index-5e932288.js} +1 -1
- package/dist/{index-1a0615d3.js → index-63512833.js} +1 -1
- package/dist/{index-8bdbfac0.js → index-660c36f4.js} +1 -1
- package/dist/{index-527b4fa1.js → index-69144bc0.js} +1 -1
- package/dist/{index-6fa0b618.js → index-6ce372ec.js} +1 -1
- package/dist/{index-53428a61.js → index-6ed2b058.js} +1 -1
- package/dist/{index-10f50205.js → index-6edd509a.js} +1 -1
- package/dist/{index-daae55fd.js → index-70bfa357.js} +1 -1
- package/dist/{index-78f51829.js → index-7642369f.js} +3 -3
- package/dist/{index-0dcea69f.js → index-7aec6f36.js} +2 -2
- package/dist/{index-294328a1.js → index-7d88b762.js} +1 -1
- package/dist/{index-dec13ec7.js → index-7f430c15.js} +2 -2
- package/dist/{index-14deffe5.js → index-8017bdbe.js} +1 -1
- package/dist/{index-2b172b47.js → index-8351215d.js} +1 -1
- package/dist/{index-5283e88c.js → index-84be64b7.js} +1 -1
- package/dist/{index-9a275451.js → index-8d2702cd.js} +1 -1
- package/dist/{index-2475bd34.js → index-8fda8dd5.js} +1 -1
- package/dist/{index-8dd34d30.js → index-9334550a.js} +1 -1
- package/dist/{index-f52bf1fd.js → index-934fc28c.js} +2 -2
- package/dist/{index-f0b3039b.js → index-98b3fad8.js} +1 -1
- package/dist/{index-14f79982.js → index-9a3bef5a.js} +1 -1
- package/dist/{index-df23df84.js → index-9f83e582.js} +1 -1
- package/dist/{index-cc0e0b04.js → index-a481dcbf.js} +1 -1
- package/dist/{index-df3c7f21.js → index-a59c5543.js} +1 -1
- package/dist/{index-510f971a.js → index-a7e68e4d.js} +2 -2
- package/dist/{index-bfce8fb6.js → index-a86dbb0c.js} +1 -1
- package/dist/{index-b2927b21.js → index-a8bcf873.js} +1 -1
- package/dist/{index-18a53d5a.js → index-b17ec0a6.js} +1 -1
- package/dist/{index-110be974.js → index-b4b8fcc1.js} +1 -1
- package/dist/{index-0f0d1ec0.js → index-b4faea4e.js} +1 -1
- package/dist/{index-ce007a7b.js → index-bb68bbbc.js} +1 -1
- package/dist/{index-e8530728.js → index-bc99581b.js} +2 -2
- package/dist/{index-0e698292.js → index-bd767df4.js} +2 -2
- package/dist/{index-43a7cf13.js → index-be0fe558.js} +1 -1
- package/dist/{index-bf88ae1d.js → index-bef522c3.js} +1 -1
- package/dist/{index-f9a50685.js → index-bf0fbeec.js} +3 -3
- package/dist/{index-27320820.js → index-bf40b058.js} +1 -1
- package/dist/{index-c61fe772.js → index-c17aa6c5.js} +1 -1
- package/dist/{index-7acc107d.js → index-c481f140.js} +1 -1
- package/dist/{index-bd2f651d.js → index-c641f52c.js} +1 -1
- package/dist/{index-028853cd.js → index-c94eabff.js} +1 -1
- package/dist/{index-ed3b07d0.js → index-cafa91d1.js} +1 -1
- package/dist/{index-ae3dc30f.js → index-d40b8ca6.js} +1 -1
- package/dist/{index-0df78e2c.js → index-d633e879.js} +1 -1
- package/dist/{index-356049ec.js → index-dc670a78.js} +1 -1
- package/dist/{index-ac9994fe.js → index-dea196ad.js} +2 -2
- package/dist/{index-bcfc86bf.js → index-e293b782.js} +1 -1
- package/dist/{index-31b96aab.js → index-ea9c5cbc.js} +2 -2
- package/dist/{index-a4417915.js → index-eb0d2abf.js} +1 -1
- package/dist/{index-9280644e.js → index-ecba7f96.js} +2 -2
- package/dist/{index-324da02a.js → index-ed7b457c.js} +1 -1
- package/dist/{index-a6d00220.js → index-ef7d2a24.js} +1 -1
- package/dist/{index-8913c443.js → index-efbe0e5e.js} +1 -1
- package/dist/{index-59960eeb.js → index-f50bf6dc.js} +2 -2
- package/dist/{index-f3e692d1.js → index-fa949616.js} +1 -1
- package/dist/{index-af3e41dd.js → index-fb77f63b.js} +1 -1
- package/dist/{index-0d030ae0.js → index-fc39b795.js} +2 -2
- package/dist/{index-99259b37.js → index-fd0148a9.js} +1 -1
- package/dist/{index-c2043b59.js → index-fe238f51.js} +1 -1
- package/dist/{index-9fd3eabe.js → index-fe42b888.js} +1 -1
- package/dist/{index-e7fd935e.js → index-fe591bda.js} +1 -1
- package/dist/index.es.js +1 -1
- package/dist/provider/NoticeProvider.d.ts +4 -0
- package/package.json +1 -1
|
@@ -3547,89 +3547,89 @@ const Qf = je((e, t) => {
|
|
|
3547
3547
|
}
|
|
3548
3548
|
}), eh = {
|
|
3549
3549
|
en: () => Promise.resolve().then(() => Nu),
|
|
3550
|
-
"zh-tw": () => import("./index-
|
|
3551
|
-
"ko-kr": () => import("./index-
|
|
3552
|
-
"uk-ua": () => import("./index-
|
|
3553
|
-
vi: () => import("./index-
|
|
3554
|
-
ru: () => import("./index-
|
|
3555
|
-
es: () => import("./index-
|
|
3556
|
-
de: () => import("./index-
|
|
3557
|
-
fr: () => import("./index-
|
|
3558
|
-
tr: () => import("./index-
|
|
3559
|
-
af: () => import("./index-
|
|
3560
|
-
ar: () => import("./index-
|
|
3561
|
-
az: () => import("./index-
|
|
3562
|
-
"ar-dz": () => import("./index-
|
|
3563
|
-
"ar-eg": () => import("./index-
|
|
3564
|
-
"ar-ma": () => import("./index-
|
|
3565
|
-
"ar-sa": () => import("./index-
|
|
3566
|
-
"ar-tn": () => import("./index-
|
|
3567
|
-
"be-tarask": () => import("./index-
|
|
3568
|
-
be: () => import("./index-
|
|
3569
|
-
bg: () => import("./index-
|
|
3570
|
-
bn: () => import("./index-
|
|
3571
|
-
bs: () => import("./index-
|
|
3572
|
-
ca: () => import("./index-
|
|
3573
|
-
cs: () => import("./index-
|
|
3574
|
-
cy: () => import("./index-
|
|
3575
|
-
da: () => import("./index-
|
|
3576
|
-
"de-at": () => import("./index-
|
|
3577
|
-
el: () => import("./index-
|
|
3578
|
-
eo: () => import("./index-
|
|
3579
|
-
et: () => import("./index-
|
|
3580
|
-
eu: () => import("./index-
|
|
3581
|
-
"fa-ir": () => import("./index-
|
|
3582
|
-
fi: () => import("./index-
|
|
3583
|
-
"fr-ca": () => import("./index-
|
|
3584
|
-
"fr-ch": () => import("./index-
|
|
3585
|
-
fy: () => import("./index-
|
|
3586
|
-
gd: () => import("./index-
|
|
3587
|
-
gl: () => import("./index-
|
|
3588
|
-
gu: () => import("./index-
|
|
3589
|
-
he: () => import("./index-
|
|
3590
|
-
hi: () => import("./index-
|
|
3591
|
-
hr: () => import("./index-
|
|
3592
|
-
ht: () => import("./index-
|
|
3593
|
-
hu: () => import("./index-
|
|
3594
|
-
hy: () => import("./index-
|
|
3595
|
-
id: () => import("./index-
|
|
3596
|
-
is: () => import("./index-
|
|
3597
|
-
"it-ch": () => import("./index-
|
|
3598
|
-
it: () => import("./index-
|
|
3599
|
-
"ja-hira": () => import("./index-
|
|
3600
|
-
ja: () => import("./index-
|
|
3601
|
-
ka: () => import("./index-
|
|
3602
|
-
kk: () => import("./index-
|
|
3603
|
-
km: () => import("./index-
|
|
3604
|
-
kn: () => import("./index-
|
|
3605
|
-
lb: () => import("./index-
|
|
3606
|
-
lt: () => import("./index-
|
|
3607
|
-
lv: () => import("./index-
|
|
3608
|
-
mk: () => import("./index-
|
|
3609
|
-
mn: () => import("./index-
|
|
3610
|
-
ms: () => import("./index-
|
|
3611
|
-
mt: () => import("./index-
|
|
3612
|
-
nb: () => import("./index-
|
|
3613
|
-
"nl-be": () => import("./index-
|
|
3614
|
-
nl: () => import("./index-
|
|
3615
|
-
nn: () => import("./index-
|
|
3616
|
-
oc: () => import("./index-
|
|
3617
|
-
pl: () => import("./index-
|
|
3618
|
-
"pt-br": () => import("./index-
|
|
3619
|
-
pt: () => import("./index-
|
|
3620
|
-
ro: () => import("./index-
|
|
3621
|
-
sk: () => import("./index-
|
|
3622
|
-
sl: () => import("./index-
|
|
3623
|
-
sq: () => import("./index-
|
|
3624
|
-
"sr-latn": () => import("./index-
|
|
3625
|
-
sr: () => import("./index-
|
|
3626
|
-
sv: () => import("./index-
|
|
3627
|
-
ta: () => import("./index-
|
|
3628
|
-
te: () => import("./index-
|
|
3629
|
-
th: () => import("./index-
|
|
3630
|
-
ug: () => import("./index-
|
|
3631
|
-
"uz-cyrl": () => import("./index-
|
|
3632
|
-
uz: () => import("./index-
|
|
3550
|
+
"zh-tw": () => import("./index-3dfe8bd6.js"),
|
|
3551
|
+
"ko-kr": () => import("./index-98b3fad8.js"),
|
|
3552
|
+
"uk-ua": () => import("./index-fc39b795.js"),
|
|
3553
|
+
vi: () => import("./index-8d2702cd.js"),
|
|
3554
|
+
ru: () => import("./index-46bdc557.js"),
|
|
3555
|
+
es: () => import("./index-fa949616.js"),
|
|
3556
|
+
de: () => import("./index-7aec6f36.js"),
|
|
3557
|
+
fr: () => import("./index-1ef53efd.js"),
|
|
3558
|
+
tr: () => import("./index-c641f52c.js"),
|
|
3559
|
+
af: () => import("./index-4dc55948.js"),
|
|
3560
|
+
ar: () => import("./index-9a3bef5a.js"),
|
|
3561
|
+
az: () => import("./index-69144bc0.js"),
|
|
3562
|
+
"ar-dz": () => import("./index-8fda8dd5.js"),
|
|
3563
|
+
"ar-eg": () => import("./index-9f83e582.js"),
|
|
3564
|
+
"ar-ma": () => import("./index-c481f140.js"),
|
|
3565
|
+
"ar-sa": () => import("./index-6edd509a.js"),
|
|
3566
|
+
"ar-tn": () => import("./index-eb0d2abf.js"),
|
|
3567
|
+
"be-tarask": () => import("./index-293ebe5d.js"),
|
|
3568
|
+
be: () => import("./index-bd767df4.js"),
|
|
3569
|
+
bg: () => import("./index-f50bf6dc.js"),
|
|
3570
|
+
bn: () => import("./index-ed7b457c.js"),
|
|
3571
|
+
bs: () => import("./index-14a55609.js"),
|
|
3572
|
+
ca: () => import("./index-fe591bda.js"),
|
|
3573
|
+
cs: () => import("./index-a86dbb0c.js"),
|
|
3574
|
+
cy: () => import("./index-6ce372ec.js"),
|
|
3575
|
+
da: () => import("./index-101f2e6d.js"),
|
|
3576
|
+
"de-at": () => import("./index-dea196ad.js"),
|
|
3577
|
+
el: () => import("./index-39021104.js"),
|
|
3578
|
+
eo: () => import("./index-3cf34fcb.js"),
|
|
3579
|
+
et: () => import("./index-02cea48f.js"),
|
|
3580
|
+
eu: () => import("./index-020763d2.js"),
|
|
3581
|
+
"fa-ir": () => import("./index-fb77f63b.js"),
|
|
3582
|
+
fi: () => import("./index-5387c13a.js"),
|
|
3583
|
+
"fr-ca": () => import("./index-22c5c768.js"),
|
|
3584
|
+
"fr-ch": () => import("./index-13d57f5d.js"),
|
|
3585
|
+
fy: () => import("./index-6ed2b058.js"),
|
|
3586
|
+
gd: () => import("./index-5e932288.js"),
|
|
3587
|
+
gl: () => import("./index-5988283b.js"),
|
|
3588
|
+
gu: () => import("./index-c17aa6c5.js"),
|
|
3589
|
+
he: () => import("./index-c94eabff.js"),
|
|
3590
|
+
hi: () => import("./index-660c36f4.js"),
|
|
3591
|
+
hr: () => import("./index-84be64b7.js"),
|
|
3592
|
+
ht: () => import("./index-d40b8ca6.js"),
|
|
3593
|
+
hu: () => import("./index-efbe0e5e.js"),
|
|
3594
|
+
hy: () => import("./index-a481dcbf.js"),
|
|
3595
|
+
id: () => import("./index-dc670a78.js"),
|
|
3596
|
+
is: () => import("./index-b17ec0a6.js"),
|
|
3597
|
+
"it-ch": () => import("./index-7642369f.js"),
|
|
3598
|
+
it: () => import("./index-bf0fbeec.js"),
|
|
3599
|
+
"ja-hira": () => import("./index-0135abac.js"),
|
|
3600
|
+
ja: () => import("./index-06fdf5c3.js"),
|
|
3601
|
+
ka: () => import("./index-fe42b888.js"),
|
|
3602
|
+
kk: () => import("./index-7f430c15.js"),
|
|
3603
|
+
km: () => import("./index-bf40b058.js"),
|
|
3604
|
+
kn: () => import("./index-cafa91d1.js"),
|
|
3605
|
+
lb: () => import("./index-fd0148a9.js"),
|
|
3606
|
+
lt: () => import("./index-fe238f51.js"),
|
|
3607
|
+
lv: () => import("./index-934fc28c.js"),
|
|
3608
|
+
mk: () => import("./index-ea9c5cbc.js"),
|
|
3609
|
+
mn: () => import("./index-b4b8fcc1.js"),
|
|
3610
|
+
ms: () => import("./index-e293b782.js"),
|
|
3611
|
+
mt: () => import("./index-45507938.js"),
|
|
3612
|
+
nb: () => import("./index-63512833.js"),
|
|
3613
|
+
"nl-be": () => import("./index-7d88b762.js"),
|
|
3614
|
+
nl: () => import("./index-bb68bbbc.js"),
|
|
3615
|
+
nn: () => import("./index-70bfa357.js"),
|
|
3616
|
+
oc: () => import("./index-3376d6b1.js"),
|
|
3617
|
+
pl: () => import("./index-ecba7f96.js"),
|
|
3618
|
+
"pt-br": () => import("./index-43dc0a06.js"),
|
|
3619
|
+
pt: () => import("./index-a8bcf873.js"),
|
|
3620
|
+
ro: () => import("./index-bef522c3.js"),
|
|
3621
|
+
sk: () => import("./index-bc99581b.js"),
|
|
3622
|
+
sl: () => import("./index-9334550a.js"),
|
|
3623
|
+
sq: () => import("./index-be0fe558.js"),
|
|
3624
|
+
"sr-latn": () => import("./index-57f9e99b.js"),
|
|
3625
|
+
sr: () => import("./index-b4faea4e.js"),
|
|
3626
|
+
sv: () => import("./index-221503d0.js"),
|
|
3627
|
+
ta: () => import("./index-8017bdbe.js"),
|
|
3628
|
+
te: () => import("./index-2e2d8f45.js"),
|
|
3629
|
+
th: () => import("./index-22f73c28.js"),
|
|
3630
|
+
ug: () => import("./index-d633e879.js"),
|
|
3631
|
+
"uz-cyrl": () => import("./index-29339beb.js"),
|
|
3632
|
+
uz: () => import("./index-a59c5543.js")
|
|
3633
3633
|
}, rs = async (e) => {
|
|
3634
3634
|
const t = eh[e];
|
|
3635
3635
|
if (t)
|
|
@@ -10570,41 +10570,49 @@ const Cr = go, $e = {
|
|
|
10570
10570
|
danger: /* @__PURE__ */ d.jsx(Gs, { className: tn(e, t) })
|
|
10571
10571
|
};
|
|
10572
10572
|
return /* @__PURE__ */ d.jsx(d.Fragment, { children: r[e] });
|
|
10573
|
-
}, rn = ({
|
|
10574
|
-
|
|
10573
|
+
}, rn = ({
|
|
10574
|
+
title: e,
|
|
10575
|
+
children: t,
|
|
10576
|
+
autoClose: r,
|
|
10577
|
+
type: n,
|
|
10578
|
+
remove: a
|
|
10579
|
+
}) => {
|
|
10580
|
+
const { theme: o } = me();
|
|
10575
10581
|
se(() => {
|
|
10576
|
-
|
|
10577
|
-
|
|
10578
|
-
|
|
10582
|
+
if (r === !1)
|
|
10583
|
+
return;
|
|
10584
|
+
const l = setTimeout(() => {
|
|
10585
|
+
a();
|
|
10586
|
+
}, typeof r == "number" ? r : 3e3);
|
|
10579
10587
|
return () => {
|
|
10580
|
-
clearTimeout(
|
|
10588
|
+
clearTimeout(l);
|
|
10581
10589
|
};
|
|
10582
10590
|
}, []);
|
|
10583
|
-
const
|
|
10584
|
-
|
|
10591
|
+
const i = () => {
|
|
10592
|
+
a();
|
|
10585
10593
|
};
|
|
10586
10594
|
return /* @__PURE__ */ d.jsx(
|
|
10587
10595
|
"div",
|
|
10588
10596
|
{
|
|
10589
10597
|
className: `bu-mb-[12px] bu-w-full bu-rounded-[8px] ${wv({
|
|
10590
|
-
theme:
|
|
10598
|
+
theme: o
|
|
10591
10599
|
})}`,
|
|
10592
10600
|
children: /* @__PURE__ */ d.jsxs("div", { className: "bu-flex bu-rounded-[8px] bu-px-[16px] bu-py-[12px]", children: [
|
|
10593
|
-
/* @__PURE__ */ d.jsx(Dv, { type:
|
|
10601
|
+
/* @__PURE__ */ d.jsx(Dv, { type: n }),
|
|
10594
10602
|
/* @__PURE__ */ d.jsxs("div", { className: "w-full bu-flex bu-flex-col", children: [
|
|
10595
10603
|
/* @__PURE__ */ d.jsxs("div", { className: "bu-mb-[4px] bu-flex bu-justify-between", children: [
|
|
10596
10604
|
/* @__PURE__ */ d.jsx(
|
|
10597
10605
|
"span",
|
|
10598
10606
|
{
|
|
10599
10607
|
className: `bu-w-[260px] bu-break-words bu-text-[16px] bu-font-medium bu-leading-[24px] bu-tracking-[-0.2px] ${_v(
|
|
10600
|
-
{ theme:
|
|
10608
|
+
{ theme: o }
|
|
10601
10609
|
)}`,
|
|
10602
10610
|
children: e
|
|
10603
10611
|
}
|
|
10604
10612
|
),
|
|
10605
|
-
/* @__PURE__ */ d.jsx(Oi, { onClick:
|
|
10613
|
+
/* @__PURE__ */ d.jsx(Oi, { onClick: i, className: Cv({ theme: o }) })
|
|
10606
10614
|
] }),
|
|
10607
|
-
/* @__PURE__ */ d.jsx("span", { className: kv({ theme:
|
|
10615
|
+
/* @__PURE__ */ d.jsx("span", { className: kv({ theme: o }), children: t })
|
|
10608
10616
|
] })
|
|
10609
10617
|
] })
|
|
10610
10618
|
}
|
|
@@ -10622,7 +10630,7 @@ const Cr = go, $e = {
|
|
|
10622
10630
|
Cr,
|
|
10623
10631
|
{
|
|
10624
10632
|
className: "bu-fixed bu-bottom-[32px] bu-left-[32px] bu-z-[99999] bu-w-[360px]",
|
|
10625
|
-
children: e.map(({ title: o, node: i, id: s, type: l }) => /* @__PURE__ */ d.jsx(
|
|
10633
|
+
children: e.map(({ title: o, node: i, id: s, type: l, autoClose: u, onClose: c }) => /* @__PURE__ */ d.jsx(
|
|
10626
10634
|
_r,
|
|
10627
10635
|
{
|
|
10628
10636
|
timeout: 300,
|
|
@@ -10638,8 +10646,9 @@ const Cr = go, $e = {
|
|
|
10638
10646
|
{
|
|
10639
10647
|
type: l,
|
|
10640
10648
|
title: o,
|
|
10649
|
+
autoClose: u,
|
|
10641
10650
|
remove: () => {
|
|
10642
|
-
a(s);
|
|
10651
|
+
c == null || c(), a(s);
|
|
10643
10652
|
},
|
|
10644
10653
|
children: i
|
|
10645
10654
|
}
|
|
@@ -10653,7 +10662,7 @@ const Cr = go, $e = {
|
|
|
10653
10662
|
Cr,
|
|
10654
10663
|
{
|
|
10655
10664
|
className: "bu-fixed bu-left-[32px] bu-top-[32px] bu-z-[99999] bu-w-[360px]",
|
|
10656
|
-
children: t.map(({ title: o, node: i, id: s, type: l }) => /* @__PURE__ */ d.jsx(
|
|
10665
|
+
children: t.map(({ title: o, node: i, id: s, type: l, autoClose: u, onClose: c }) => /* @__PURE__ */ d.jsx(
|
|
10657
10666
|
_r,
|
|
10658
10667
|
{
|
|
10659
10668
|
timeout: 300,
|
|
@@ -10669,8 +10678,9 @@ const Cr = go, $e = {
|
|
|
10669
10678
|
{
|
|
10670
10679
|
type: l,
|
|
10671
10680
|
title: o,
|
|
10681
|
+
autoClose: u,
|
|
10672
10682
|
remove: () => {
|
|
10673
|
-
a(s);
|
|
10683
|
+
c == null || c(), a(s);
|
|
10674
10684
|
},
|
|
10675
10685
|
children: i
|
|
10676
10686
|
}
|
|
@@ -10684,7 +10694,7 @@ const Cr = go, $e = {
|
|
|
10684
10694
|
Cr,
|
|
10685
10695
|
{
|
|
10686
10696
|
className: "bu-fixed bu-bottom-[32px] bu-right-[8px] bu-z-[99999] bu-w-[360px]",
|
|
10687
|
-
children: r.map(({ title: o, node: i, id: s, type: l }) => /* @__PURE__ */ d.jsx(
|
|
10697
|
+
children: r.map(({ title: o, node: i, id: s, type: l, autoClose: u, onClose: c }) => /* @__PURE__ */ d.jsx(
|
|
10688
10698
|
_r,
|
|
10689
10699
|
{
|
|
10690
10700
|
timeout: 300,
|
|
@@ -10700,8 +10710,9 @@ const Cr = go, $e = {
|
|
|
10700
10710
|
{
|
|
10701
10711
|
type: l,
|
|
10702
10712
|
title: o,
|
|
10713
|
+
autoClose: u,
|
|
10703
10714
|
remove: () => {
|
|
10704
|
-
a(s);
|
|
10715
|
+
c == null || c(), a(s);
|
|
10705
10716
|
},
|
|
10706
10717
|
children: i
|
|
10707
10718
|
}
|
|
@@ -10715,7 +10726,7 @@ const Cr = go, $e = {
|
|
|
10715
10726
|
Cr,
|
|
10716
10727
|
{
|
|
10717
10728
|
className: "bu-fixed bu-right-[8px] bu-top-[32px] bu-z-[99999] bu-w-[360px]",
|
|
10718
|
-
children: n.map(({ title: o, node: i, id: s, type: l }) => /* @__PURE__ */ d.jsx(
|
|
10729
|
+
children: n.map(({ title: o, node: i, id: s, type: l, autoClose: u, onClose: c }) => /* @__PURE__ */ d.jsx(
|
|
10719
10730
|
_r,
|
|
10720
10731
|
{
|
|
10721
10732
|
timeout: 300,
|
|
@@ -10731,8 +10742,9 @@ const Cr = go, $e = {
|
|
|
10731
10742
|
{
|
|
10732
10743
|
type: l,
|
|
10733
10744
|
title: o,
|
|
10745
|
+
autoClose: u,
|
|
10734
10746
|
remove: () => {
|
|
10735
|
-
a(s);
|
|
10747
|
+
c == null || c(), a(s);
|
|
10736
10748
|
},
|
|
10737
10749
|
children: i
|
|
10738
10750
|
}
|
|
@@ -10912,44 +10924,44 @@ const Ur = pt({
|
|
|
10912
10924
|
a((y) => (y.length >= on && y.shift(), [
|
|
10913
10925
|
...y,
|
|
10914
10926
|
{
|
|
10915
|
-
title: D.title,
|
|
10916
10927
|
node: D.msg,
|
|
10917
10928
|
id: p.current,
|
|
10918
10929
|
type: k,
|
|
10919
|
-
position: "leftTop"
|
|
10930
|
+
position: "leftTop",
|
|
10931
|
+
...D
|
|
10920
10932
|
}
|
|
10921
10933
|
]));
|
|
10922
10934
|
}) : D.position === "rightBottom" ? qr(() => {
|
|
10923
10935
|
i((y) => (y.length >= on && y.shift(), [
|
|
10924
10936
|
...y,
|
|
10925
10937
|
{
|
|
10926
|
-
title: D.title,
|
|
10927
10938
|
node: D.msg,
|
|
10928
10939
|
id: p.current,
|
|
10929
10940
|
type: k,
|
|
10930
|
-
position: "rightBottom"
|
|
10941
|
+
position: "rightBottom",
|
|
10942
|
+
...D
|
|
10931
10943
|
}
|
|
10932
10944
|
]));
|
|
10933
10945
|
}) : D.position === "rightTop" ? qr(() => {
|
|
10934
10946
|
l((y) => (y.length >= on && y.shift(), [
|
|
10935
10947
|
...y,
|
|
10936
10948
|
{
|
|
10937
|
-
title: D.title,
|
|
10938
10949
|
node: D.msg,
|
|
10939
10950
|
id: p.current,
|
|
10940
10951
|
type: k,
|
|
10941
|
-
position: "rightTop"
|
|
10952
|
+
position: "rightTop",
|
|
10953
|
+
...D
|
|
10942
10954
|
}
|
|
10943
10955
|
]));
|
|
10944
10956
|
}) : qr(() => {
|
|
10945
10957
|
r((y) => (y.length >= on && y.shift(), [
|
|
10946
10958
|
...y,
|
|
10947
10959
|
{
|
|
10948
|
-
title: D.title,
|
|
10949
10960
|
node: D.msg,
|
|
10950
10961
|
id: p.current,
|
|
10951
10962
|
type: k,
|
|
10952
|
-
position: "leftBottom"
|
|
10963
|
+
position: "leftBottom",
|
|
10964
|
+
...D
|
|
10953
10965
|
}
|
|
10954
10966
|
]));
|
|
10955
10967
|
}), p.current += 1;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { f as a, l as o, m } from "./index-
|
|
2
|
-
import { a as t } from "./index-
|
|
1
|
+
import { f as a, l as o, m } from "./index-215c6c73.js";
|
|
2
|
+
import { a as t } from "./index-0764d403.js";
|
|
3
3
|
import "./Badge.es.js";
|
|
4
4
|
import "./jsx-runtime-944c88e2.js";
|
|
5
5
|
import "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { f as m, l as o, m as a } from "./index-
|
|
2
|
-
import { a as t } from "./index-
|
|
1
|
+
import { f as m, l as o, m as a } from "./index-215c6c73.js";
|
|
2
|
+
import { a as t } from "./index-0764d403.js";
|
|
3
3
|
import { f as r } from "./index-0f855a91.js";
|
|
4
4
|
import "./Badge.es.js";
|
|
5
5
|
import "./jsx-runtime-944c88e2.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { f as m, l as o, m as a } from "./index-
|
|
1
|
+
import { f as m, l as o, m as a } from "./index-215c6c73.js";
|
|
2
2
|
import { f as r } from "./index-0f855a91.js";
|
|
3
|
-
import { a as t } from "./index-
|
|
3
|
+
import { a as t } from "./index-0764d403.js";
|
|
4
4
|
import "./Badge.es.js";
|
|
5
5
|
import "./jsx-runtime-944c88e2.js";
|
|
6
6
|
import "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as v, t as m, b as o, c as f, d as l } from "./index-
|
|
2
|
-
import { i as d } from "./index-
|
|
1
|
+
import { a as v, t as m, b as o, c as f, d as l } from "./index-0764d403.js";
|
|
2
|
+
import { i as d } from "./index-ef7d2a24.js";
|
|
3
3
|
import "./Badge.es.js";
|
|
4
4
|
import "./jsx-runtime-944c88e2.js";
|
|
5
5
|
import "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as v, b as o, c as g, d as l } from "./index-
|
|
2
|
-
import { i as m } from "./index-
|
|
1
|
+
import { a as v, b as o, c as g, d as l } from "./index-0764d403.js";
|
|
2
|
+
import { i as m } from "./index-ef7d2a24.js";
|
|
3
3
|
import "./Badge.es.js";
|
|
4
4
|
import "./jsx-runtime-944c88e2.js";
|
|
5
5
|
import "react";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { f as m, a, l as o, m as r } from "./index-
|
|
2
|
-
import { a as t } from "./index-
|
|
3
|
-
import "./index-
|
|
1
|
+
import { f as m, a, l as o, m as r } from "./index-a7e68e4d.js";
|
|
2
|
+
import { a as t } from "./index-0764d403.js";
|
|
3
|
+
import "./index-ef7d2a24.js";
|
|
4
4
|
import "./Badge.es.js";
|
|
5
5
|
import "./jsx-runtime-944c88e2.js";
|
|
6
6
|
import "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { f as i, a as o, b as m, m as g } from "./index-
|
|
2
|
-
import { b as a } from "./index-
|
|
1
|
+
import { f as i, a as o, b as m, m as g } from "./index-8351215d.js";
|
|
2
|
+
import { b as a } from "./index-0764d403.js";
|
|
3
3
|
import "./Badge.es.js";
|
|
4
4
|
import "./jsx-runtime-944c88e2.js";
|
|
5
5
|
import "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as s, b as u, c as f, d as o } from "./index-
|
|
2
|
-
import { i as m } from "./index-
|
|
1
|
+
import { a as s, b as u, c as f, d as o } from "./index-0764d403.js";
|
|
2
|
+
import { i as m } from "./index-ef7d2a24.js";
|
|
3
3
|
import "./Badge.es.js";
|
|
4
4
|
import "./jsx-runtime-944c88e2.js";
|
|
5
5
|
import "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as o, b as s, c as l, d } from "./index-
|
|
2
|
-
import { i as u } from "./index-
|
|
1
|
+
import { a as o, b as s, c as l, d } from "./index-0764d403.js";
|
|
2
|
+
import { i as u } from "./index-ef7d2a24.js";
|
|
3
3
|
import "./Badge.es.js";
|
|
4
4
|
import "./jsx-runtime-944c88e2.js";
|
|
5
5
|
import "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as d } from "./index-
|
|
2
|
-
import { b as o, c as l, d as m } from "./index-
|
|
1
|
+
import { i as d } from "./index-ef7d2a24.js";
|
|
2
|
+
import { b as o, c as l, d as m } from "./index-0764d403.js";
|
|
3
3
|
var c = {
|
|
4
4
|
lessThanXSeconds: {
|
|
5
5
|
one: "meno di un secondo",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as m, b as i, c as h, d as u } from "./index-
|
|
2
|
-
import { i as f } from "./index-
|
|
1
|
+
import { a as m, b as i, c as h, d as u } from "./index-0764d403.js";
|
|
2
|
+
import { i as f } from "./index-ef7d2a24.js";
|
|
3
3
|
import "./Badge.es.js";
|
|
4
4
|
import "./jsx-runtime-944c88e2.js";
|
|
5
5
|
import "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as v, t as m, b as o, c as f, d as l } from "./index-
|
|
2
|
-
import { i as d } from "./index-
|
|
1
|
+
import { a as v, t as m, b as o, c as f, d as l } from "./index-0764d403.js";
|
|
2
|
+
import { i as d } from "./index-ef7d2a24.js";
|
|
3
3
|
import "./Badge.es.js";
|
|
4
4
|
import "./jsx-runtime-944c88e2.js";
|
|
5
5
|
import "react";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { f as m, a, l as o, m as r } from "./index-
|
|
2
|
-
import { a as t } from "./index-
|
|
3
|
-
import "./index-
|
|
1
|
+
import { f as m, a, l as o, m as r } from "./index-a7e68e4d.js";
|
|
2
|
+
import { a as t } from "./index-0764d403.js";
|
|
3
|
+
import "./index-ef7d2a24.js";
|
|
4
4
|
import "./Badge.es.js";
|
|
5
5
|
import "./jsx-runtime-944c88e2.js";
|
|
6
6
|
import "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { f as i, a as o, b as m, m as g } from "./index-
|
|
2
|
-
import { b as a } from "./index-
|
|
1
|
+
import { f as i, a as o, b as m, m as g } from "./index-8351215d.js";
|
|
2
|
+
import { b as a } from "./index-0764d403.js";
|
|
3
3
|
import "./Badge.es.js";
|
|
4
4
|
import "./jsx-runtime-944c88e2.js";
|
|
5
5
|
import "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as u, b as o, c as m, d as s } from "./index-
|
|
2
|
-
import { i as c } from "./index-
|
|
1
|
+
import { a as u, b as o, c as m, d as s } from "./index-0764d403.js";
|
|
2
|
+
import { i as c } from "./index-ef7d2a24.js";
|
|
3
3
|
import "./Badge.es.js";
|
|
4
4
|
import "./jsx-runtime-944c88e2.js";
|
|
5
5
|
import "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as u, b as r, c as p, d as s } from "./index-
|
|
2
|
-
import { i as w } from "./index-
|
|
1
|
+
import { a as u, b as r, c as p, d as s } from "./index-0764d403.js";
|
|
2
|
+
import { i as w } from "./index-ef7d2a24.js";
|
|
3
3
|
import "./Badge.es.js";
|
|
4
4
|
import "./jsx-runtime-944c88e2.js";
|
|
5
5
|
import "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as d, t as l, b as s, c as h, d as u } from "./index-
|
|
2
|
-
import { i as m } from "./index-
|
|
1
|
+
import { a as d, t as l, b as s, c as h, d as u } from "./index-0764d403.js";
|
|
2
|
+
import { i as m } from "./index-ef7d2a24.js";
|
|
3
3
|
import "./Badge.es.js";
|
|
4
4
|
import "./jsx-runtime-944c88e2.js";
|
|
5
5
|
import "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as v, t as m, b as o, c as f, d as l } from "./index-
|
|
2
|
-
import { i as d } from "./index-
|
|
1
|
+
import { a as v, t as m, b as o, c as f, d as l } from "./index-0764d403.js";
|
|
2
|
+
import { i as d } from "./index-ef7d2a24.js";
|
|
3
3
|
import "./Badge.es.js";
|
|
4
4
|
import "./jsx-runtime-944c88e2.js";
|
|
5
5
|
import "react";
|
package/dist/index.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Badge as m } from "./Badge.es.js";
|
|
2
2
|
import { Button as x } from "./Button.es.js";
|
|
3
|
-
import { A as d, C as f, e as n, D as u, f as D, g as S, L as c, N as P, P as g, h, w as b, R as v, S as w, i as k, j as B, v as y, u as A, k as C, T as N, l as R, m as F, n as L, o as j, x as q, p as z, q as G, y as I, z as E } from "./index-
|
|
3
|
+
import { A as d, C as f, e as n, D as u, f as D, g as S, L as c, N as P, P as g, h, w as b, R as v, S as w, i as k, j as B, v as y, u as A, k as C, T as N, l as R, m as F, n as L, o as j, x as q, p as z, q as G, y as I, z as E } from "./index-0764d403.js";
|
|
4
4
|
import { D as J } from "./index-6fcd0a0b.js";
|
|
5
5
|
import { Divider as M } from "./Divider.es.js";
|
|
6
6
|
import { Drawer as Q } from "./Drawer.es.js";
|
|
@@ -5,6 +5,8 @@ export interface NotificationType {
|
|
|
5
5
|
node: React.ReactNode;
|
|
6
6
|
id: number;
|
|
7
7
|
type: BUIComponentType;
|
|
8
|
+
autoClose?: number | boolean;
|
|
9
|
+
onClose?: () => void;
|
|
8
10
|
}
|
|
9
11
|
export interface ToastType {
|
|
10
12
|
node: React.ReactNode;
|
|
@@ -14,7 +16,9 @@ export interface ToastType {
|
|
|
14
16
|
export type configType = {
|
|
15
17
|
title: React.ReactNode;
|
|
16
18
|
msg: React.ReactNode;
|
|
19
|
+
autoClose?: number | boolean;
|
|
17
20
|
position?: string;
|
|
21
|
+
onClose?: () => void;
|
|
18
22
|
};
|
|
19
23
|
export type Methods = (config: configType, type: BUIComponentType, position?: string) => void;
|
|
20
24
|
export type ToastMthods = (msg: string, type: BUIComponentType) => void;
|