bmi-next-brokers 3.1.2 → 3.1.4
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/assets/index14.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._overlay_bbapj_1{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#fff;display:flex;justify-content:center;align-items:center;z-index:2000;animation:_fadeIn_bbapj_1 .25s ease-in-out;overflow:hidden}._overlay_bbapj_1._closing_bbapj_16{animation:_fadeOut_bbapj_1 .25s ease-in-out forwards}._nav_bbapj_20{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;width:100%;gap:10px;margin-block:16px;color:#2054a5;padding-inline:16px}._arrowBack_bbapj_32{cursor:pointer}._title_bbapj_36{font-family:var(--font-medium);font-size:22px;font-weight:600;line-height:normal}._content_bbapj_43{width:100%;display:flex;flex-direction:column;padding-bottom:env(safe-area-inset-bottom);background-color:#fff}._mainContent_bbapj_51{display:flex;height:100%;width:100%;animation:_slideIn_bbapj_1 .45s cubic-bezier(.4,0,.2,1) forwards;transform:translate(0)}._closing_bbapj_16{animation:_slideOut_bbapj_1 .45s cubic-bezier(.4,0,.2,1) forwards}._contentInner_bbapj_63{display:flex;flex-direction:column;align-items:center;box-sizing:border-box;overflow-y:auto;overscroll-behavior:none;flex:1;padding-inline:16px;padding-bottom:16px}._contentInner_bbapj_63::-webkit-scrollbar{display:none}@keyframes _fadeIn_bbapj_1{0%{opacity:0}to{opacity:1}}@keyframes _fadeOut_bbapj_1{0%{opacity:1}to{opacity:0}}@keyframes _slideIn_bbapj_1{0%{transform:translate(100%)}to{transform:translate(0)}}@keyframes _slideOut_bbapj_1{0%{transform:translate(0)}to{transform:translate(100%)}}@media (max-width: 439px){._title_bbapj_36{font-size:16px}}
|
|
@@ -1,53 +1,53 @@
|
|
|
1
|
-
import { jsx as t, jsxs as
|
|
2
|
-
import { useState as
|
|
3
|
-
import { CloseContext as
|
|
4
|
-
import { useScrollLock as
|
|
5
|
-
import { Icon as
|
|
6
|
-
import { createPortal as
|
|
7
|
-
import '../../assets/index14.css';const I = "
|
|
8
|
-
overlay:
|
|
9
|
-
closing:
|
|
10
|
-
nav:
|
|
11
|
-
arrowBack:
|
|
12
|
-
title:
|
|
13
|
-
content:
|
|
14
|
-
mainContent:
|
|
15
|
-
contentInner:
|
|
16
|
-
},
|
|
1
|
+
import { jsx as t, jsxs as c } from "react/jsx-runtime";
|
|
2
|
+
import { useState as u } from "react";
|
|
3
|
+
import { CloseContext as C } from "../../hooks/useClose.js";
|
|
4
|
+
import { useScrollLock as j } from "../../hooks/useScrollLock.js";
|
|
5
|
+
import { Icon as h } from "../../icons/Icon.js";
|
|
6
|
+
import { createPortal as y } from "react-dom";
|
|
7
|
+
import '../../assets/index14.css';const g = "_overlay_bbapj_1", I = "_closing_bbapj_16", N = "_nav_bbapj_20", $ = "_arrowBack_bbapj_32", w = "_title_bbapj_36", k = "_content_bbapj_43", x = "_mainContent_bbapj_51", B = "_contentInner_bbapj_63", n = {
|
|
8
|
+
overlay: g,
|
|
9
|
+
closing: I,
|
|
10
|
+
nav: N,
|
|
11
|
+
arrowBack: $,
|
|
12
|
+
title: w,
|
|
13
|
+
content: k,
|
|
14
|
+
mainContent: x,
|
|
15
|
+
contentInner: B
|
|
16
|
+
}, T = ({
|
|
17
17
|
isOpen: o,
|
|
18
18
|
setIsOpen: l,
|
|
19
19
|
title: i,
|
|
20
20
|
children: m,
|
|
21
21
|
navClassName: _,
|
|
22
22
|
className: d,
|
|
23
|
-
withAutoClose:
|
|
23
|
+
withAutoClose: b = !0,
|
|
24
24
|
onBack: e,
|
|
25
|
-
navIcon:
|
|
26
|
-
...
|
|
25
|
+
navIcon: f = "ArrowBackIosNew",
|
|
26
|
+
...p
|
|
27
27
|
}) => {
|
|
28
|
-
const [
|
|
29
|
-
|
|
30
|
-
const
|
|
31
|
-
|
|
32
|
-
l(!1),
|
|
28
|
+
const [a, s] = u(!1);
|
|
29
|
+
j(o);
|
|
30
|
+
const r = () => {
|
|
31
|
+
b && (s(!0), setTimeout(() => {
|
|
32
|
+
l(!1), s(!1);
|
|
33
33
|
}, 450));
|
|
34
|
-
},
|
|
35
|
-
e !== !1 && (typeof e == "function" && await e(),
|
|
34
|
+
}, v = async () => {
|
|
35
|
+
e !== !1 && (typeof e == "function" && await e(), r());
|
|
36
36
|
};
|
|
37
|
-
return o ?
|
|
38
|
-
/* @__PURE__ */ t("div", { className: `${n.overlay} ${
|
|
37
|
+
return o ? y(
|
|
38
|
+
/* @__PURE__ */ t("div", { className: `${n.overlay} ${a ? n.closing : ""}`, children: /* @__PURE__ */ t(
|
|
39
39
|
"div",
|
|
40
40
|
{
|
|
41
|
-
className: `${n.mainContent} ${
|
|
42
|
-
children: /* @__PURE__ */
|
|
43
|
-
/* @__PURE__ */
|
|
41
|
+
className: `${n.mainContent} ${a ? n.closing : ""}`,
|
|
42
|
+
children: /* @__PURE__ */ c("div", { className: n.content, children: [
|
|
43
|
+
/* @__PURE__ */ c("div", { className: `${n.nav} ${_ || ""}`, children: [
|
|
44
44
|
e !== !1 && /* @__PURE__ */ t(
|
|
45
|
-
|
|
45
|
+
h,
|
|
46
46
|
{
|
|
47
|
-
name:
|
|
47
|
+
name: f,
|
|
48
48
|
size: 24,
|
|
49
49
|
className: n.arrowBack,
|
|
50
|
-
onClick:
|
|
50
|
+
onClick: v
|
|
51
51
|
}
|
|
52
52
|
),
|
|
53
53
|
/* @__PURE__ */ t("span", { className: n.title, children: i })
|
|
@@ -56,8 +56,8 @@ import '../../assets/index14.css';const I = "_overlay_q0941_1", N = "_closing_q0
|
|
|
56
56
|
"div",
|
|
57
57
|
{
|
|
58
58
|
className: `${n.contentInner} ${d || ""}`,
|
|
59
|
-
...
|
|
60
|
-
children: /* @__PURE__ */ t(
|
|
59
|
+
...p,
|
|
60
|
+
children: /* @__PURE__ */ t(C.Provider, { value: r, children: m })
|
|
61
61
|
}
|
|
62
62
|
)
|
|
63
63
|
] })
|
|
@@ -67,5 +67,5 @@ import '../../assets/index14.css';const I = "_overlay_q0941_1", N = "_closing_q0
|
|
|
67
67
|
) : null;
|
|
68
68
|
};
|
|
69
69
|
export {
|
|
70
|
-
|
|
70
|
+
T as Sheet
|
|
71
71
|
};
|
package/package.json
CHANGED