@baishuyun/ui-mobile 0.7.0 → 0.8.0

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.
Files changed (36) hide show
  1. package/dist/AMap/{AMap-DwrSlwyV.js → AMap-BwIa29WQ.js} +2 -2
  2. package/dist/AMap/index.js +4 -4
  3. package/dist/ActionSheet/ActionSheet-8cPpwho3.js +85 -0
  4. package/dist/ActionSheet/index.js +6 -4
  5. package/dist/Calendar/{Calendar-tYjpphMo.js → Calendar-B9IuDHRd.js} +2 -2
  6. package/dist/Calendar/index.js +4 -4
  7. package/dist/ConfigProvider/{ConfigProvider-DnlakyRE.js → ConfigProvider-CCXPxdJt.js} +29 -21
  8. package/dist/ConfigProvider/index.js +4 -3
  9. package/dist/ConfigProvider/{useLocale-CP8NRZoj.js → useLocale-D12uIZ9q.js} +1 -0
  10. package/dist/Gantt/{Gantt-D2ZGpS5p.js → Gantt-fRNTYViS.js} +3 -3
  11. package/dist/Gantt/index.js +8 -6
  12. package/dist/Icon/{Icon-CFvcrGGg.js → Icon-OUPXAIEn.js} +1 -1
  13. package/dist/Icon/index.js +2 -2
  14. package/dist/Overlay/Overlay-YzAfhILA.js +61 -0
  15. package/dist/Overlay/index.js +3 -0
  16. package/dist/Popup/Popup-C1uwPnxj.js +78 -0
  17. package/dist/Popup/index.js +5 -0
  18. package/dist/components/ActionSheet/ActionSheet.d.ts +1 -1
  19. package/dist/components/ActionSheet/interface.d.ts +1 -2
  20. package/dist/components/ConfigProvider/ConfigProvider.d.ts +1 -1
  21. package/dist/components/ConfigProvider/context.d.ts +14 -0
  22. package/dist/components/Overlay/OverlayContext.d.ts +17 -0
  23. package/dist/components/Overlay/index.d.ts +2 -0
  24. package/dist/components/Popup/Popup.d.ts +3 -0
  25. package/dist/components/Popup/index.d.ts +2 -0
  26. package/dist/components/Popup/interface.d.ts +46 -0
  27. package/dist/components/index.d.ts +4 -0
  28. package/dist/index.js +12 -10
  29. package/dist/locale/lang/en-US.json.d.ts +3 -0
  30. package/dist/locale/lang/zh-CN.json.d.ts +3 -0
  31. package/dist/locale/lang/zh-TW.json.d.ts +3 -0
  32. package/dist/style.css +1 -1
  33. package/dist/vendors/{version-Dg7dOJFj.js → version-DdP63VFD.js} +1 -1
  34. package/package.json +2 -2
  35. package/dist/ActionSheet/ActionSheet-DbrKxa_y.js +0 -133
  36. /package/dist/Calendar/{cssVars-UpgK6spf.js → cssVars-E8Cq0tta.js} +0 -0
@@ -1,5 +1,5 @@
1
- import { t as e } from "../Icon/Icon-CFvcrGGg.js";
2
- import { r as t, t as n } from "../ConfigProvider/useLocale-CP8NRZoj.js";
1
+ import { t as e } from "../Icon/Icon-OUPXAIEn.js";
2
+ import { r as t, t as n } from "../ConfigProvider/useLocale-D12uIZ9q.js";
3
3
  import { createContext as r, useCallback as i, useContext as a, useEffect as o, useMemo as s, useRef as c, useState as l } from "react";
4
4
  import { jsx as u, jsxs as d } from "react/jsx-runtime";
5
5
  //#region src/components/AMap/AMap.module.scss
@@ -1,5 +1,5 @@
1
- import "../vendors/version-Dg7dOJFj.js";
2
- import "../Icon/Icon-CFvcrGGg.js";
3
- import { n as e, t } from "./AMap-DwrSlwyV.js";
4
- import "../ConfigProvider/useLocale-CP8NRZoj.js";
1
+ import "../vendors/version-DdP63VFD.js";
2
+ import "../Icon/Icon-OUPXAIEn.js";
3
+ import { n as e, t } from "./AMap-BwIa29WQ.js";
4
+ import "../ConfigProvider/useLocale-D12uIZ9q.js";
5
5
  export { t as default, e as useAMap };
@@ -0,0 +1,85 @@
1
+ import { t as e } from "../Popup/Popup-C1uwPnxj.js";
2
+ import { t } from "../Icon/Icon-OUPXAIEn.js";
3
+ import { t as n } from "../ConfigProvider/useLocale-D12uIZ9q.js";
4
+ import { useId as r } from "react";
5
+ import { jsx as i, jsxs as a } from "react/jsx-runtime";
6
+ //#region src/components/ActionSheet/ActionSheet.module.scss
7
+ var o = {
8
+ "bsy-mobile-action-sheet": "_bsy-mobile-action-sheet_o2a6g_1",
9
+ "bsy-mobile-action-sheet__header": "_bsy-mobile-action-sheet__header_o2a6g_9",
10
+ "bsy-mobile-action-sheet__title": "_bsy-mobile-action-sheet__title_o2a6g_19",
11
+ "bsy-mobile-action-sheet__close": "_bsy-mobile-action-sheet__close_o2a6g_30",
12
+ "bsy-mobile-action-sheet__body": "_bsy-mobile-action-sheet__body_o2a6g_44",
13
+ "bsy-mobile-action-sheet__list": "_bsy-mobile-action-sheet__list_o2a6g_49",
14
+ "bsy-mobile-action-sheet--menu": "_bsy-mobile-action-sheet--menu_o2a6g_52",
15
+ "bsy-mobile-action-sheet__item": "_bsy-mobile-action-sheet__item_o2a6g_52",
16
+ "bsy-mobile-action-sheet__item--selected": "_bsy-mobile-action-sheet__item--selected_o2a6g_76",
17
+ "bsy-mobile-action-sheet__item--disabled": "_bsy-mobile-action-sheet__item--disabled_o2a6g_79",
18
+ "bsy-mobile-action-sheet__item-inner": "_bsy-mobile-action-sheet__item-inner_o2a6g_83",
19
+ "bsy-mobile-action-sheet--select": "_bsy-mobile-action-sheet--select_o2a6g_89",
20
+ "bsy-mobile-action-sheet__item-icon": "_bsy-mobile-action-sheet__item-icon_o2a6g_92",
21
+ "bsy-mobile-action-sheet__item-label": "_bsy-mobile-action-sheet__item-label_o2a6g_101",
22
+ "bsy-mobile-action-sheet__check": "_bsy-mobile-action-sheet__check_o2a6g_110"
23
+ }, s = (...e) => e.filter(Boolean).join(" "), c = ({ open: c, onClose: l, mode: u = "select", title: d, actions: f, onAction: p, children: m, zIndex: h, getPopupContainer: g, className: _ }) => {
24
+ let { t: v } = n(), y = r(), b = u === "menu", x = v("actionSheet.close");
25
+ return /* @__PURE__ */ i(e, {
26
+ open: c,
27
+ onClose: l,
28
+ position: "bottom",
29
+ zIndex: h,
30
+ getPopupContainer: g,
31
+ className: _,
32
+ children: /* @__PURE__ */ a("div", {
33
+ className: s(o["bsy-mobile-action-sheet"], b ? o["bsy-mobile-action-sheet--menu"] : o["bsy-mobile-action-sheet--select"]),
34
+ children: [/* @__PURE__ */ a("div", {
35
+ className: o["bsy-mobile-action-sheet__header"],
36
+ children: [/* @__PURE__ */ i("div", {
37
+ id: y,
38
+ className: o["bsy-mobile-action-sheet__title"],
39
+ children: d
40
+ }), /* @__PURE__ */ i("button", {
41
+ type: "button",
42
+ className: o["bsy-mobile-action-sheet__close"],
43
+ "aria-label": x,
44
+ onClick: l,
45
+ children: /* @__PURE__ */ i(t, {
46
+ name: "close",
47
+ size: 18
48
+ })
49
+ })]
50
+ }), /* @__PURE__ */ i("div", {
51
+ className: o["bsy-mobile-action-sheet__body"],
52
+ children: m ?? /* @__PURE__ */ i("div", {
53
+ className: o["bsy-mobile-action-sheet__list"],
54
+ children: f?.map((e) => /* @__PURE__ */ a("button", {
55
+ type: "button",
56
+ disabled: e.disabled,
57
+ className: s(o["bsy-mobile-action-sheet__item"], !b && e.selected && o["bsy-mobile-action-sheet__item--selected"], e.disabled && o["bsy-mobile-action-sheet__item--disabled"]),
58
+ style: b && !e.disabled && e.color ? { color: e.color } : void 0,
59
+ onClick: () => {
60
+ p?.(e), l();
61
+ },
62
+ children: [/* @__PURE__ */ a("span", {
63
+ className: o["bsy-mobile-action-sheet__item-inner"],
64
+ children: [b && e.icon ? /* @__PURE__ */ i("span", {
65
+ className: o["bsy-mobile-action-sheet__item-icon"],
66
+ children: e.icon
67
+ }) : null, /* @__PURE__ */ i("span", {
68
+ className: o["bsy-mobile-action-sheet__item-label"],
69
+ children: e.text
70
+ })]
71
+ }), !b && e.selected ? /* @__PURE__ */ i("span", {
72
+ className: o["bsy-mobile-action-sheet__check"],
73
+ children: /* @__PURE__ */ i(t, {
74
+ name: "checkthebox",
75
+ size: 16
76
+ })
77
+ }) : null]
78
+ }, e.key))
79
+ })
80
+ })]
81
+ })
82
+ });
83
+ };
84
+ //#endregion
85
+ export { c as t };
@@ -1,5 +1,7 @@
1
- import "../vendors/version-Dg7dOJFj.js";
2
- import { t as e } from "./ActionSheet-DbrKxa_y.js";
3
- import "../Icon/Icon-CFvcrGGg.js";
4
- import "../ConfigProvider/useLocale-CP8NRZoj.js";
1
+ import "../vendors/version-DdP63VFD.js";
2
+ import "../Popup/Popup-C1uwPnxj.js";
3
+ import { t as e } from "./ActionSheet-8cPpwho3.js";
4
+ import "../Icon/Icon-OUPXAIEn.js";
5
+ import "../Overlay/Overlay-YzAfhILA.js";
6
+ import "../ConfigProvider/useLocale-D12uIZ9q.js";
5
7
  export { e as default };
@@ -1,5 +1,5 @@
1
- import { t as e } from "../ConfigProvider/useLocale-CP8NRZoj.js";
2
- import { i as t, n, r, t as i } from "./cssVars-UpgK6spf.js";
1
+ import { t as e } from "../ConfigProvider/useLocale-D12uIZ9q.js";
2
+ import { i as t, n, r, t as i } from "./cssVars-E8Cq0tta.js";
3
3
  import a, { createContext as o, forwardRef as s, useCallback as c, useContext as l, useEffect as u, useLayoutEffect as d, useMemo as f, useRef as p, useState as m } from "react";
4
4
  import { jsx as h, jsxs as g } from "react/jsx-runtime";
5
5
  import { useControllableValue as _, useLatest as v, useSize as y } from "ahooks";
@@ -1,5 +1,5 @@
1
- import "../vendors/version-Dg7dOJFj.js";
2
- import { t as e } from "./Calendar-tYjpphMo.js";
3
- import "../ConfigProvider/useLocale-CP8NRZoj.js";
4
- import "./cssVars-UpgK6spf.js";
1
+ import "../vendors/version-DdP63VFD.js";
2
+ import { t as e } from "./Calendar-B9IuDHRd.js";
3
+ import "../ConfigProvider/useLocale-D12uIZ9q.js";
4
+ import "./cssVars-E8Cq0tta.js";
5
5
  export { e as default };
@@ -1,8 +1,10 @@
1
- import { a as e, i as t, n } from "./useLocale-CP8NRZoj.js";
2
- import { useCallback as r, useContext as i, useMemo as a } from "react";
3
- import { jsx as o } from "react/jsx-runtime";
4
- var s = {
1
+ import { r as e } from "../Overlay/Overlay-YzAfhILA.js";
2
+ import { a as t, i as n, n as r } from "./useLocale-D12uIZ9q.js";
3
+ import { useCallback as i, useContext as a, useMemo as o } from "react";
4
+ import { jsx as s } from "react/jsx-runtime";
5
+ var c = {
5
6
  actionSheet: { close: "關閉" },
7
+ popup: { close: "關閉" },
6
8
  calendar: {
7
9
  today: "今天",
8
10
  viewDay: "日",
@@ -93,8 +95,9 @@ var s = {
93
95
  failed: "定位失敗,請檢查是否開啟定位權限"
94
96
  }
95
97
  }
96
- }, c = {
98
+ }, l = {
97
99
  actionSheet: { close: "Close" },
100
+ popup: { close: "Close" },
98
101
  calendar: {
99
102
  today: "Today",
100
103
  viewDay: "Day",
@@ -185,24 +188,29 @@ var s = {
185
188
  failed: "Location failed. Check that location access is enabled"
186
189
  }
187
190
  }
188
- }, l = {
189
- "zh-CN": e,
190
- "zh-TW": s,
191
- "en-US": c
192
- }, u = ({ locale: e, amap: s, children: c }) => {
193
- let u = i(n), d = e ?? u.locale, f = s ?? u.amap, p = r((e, n) => t(l[d], e, n), [d]), m = a(() => ({
194
- locale: d,
195
- t: p,
196
- amap: f
191
+ }, u = {
192
+ "zh-CN": t,
193
+ "zh-TW": c,
194
+ "en-US": l
195
+ }, d = ({ locale: t, amap: c, overlayOffset: l, overlayStep: d, overlayMax: f, children: p }) => {
196
+ let m = a(r), h = t ?? m.locale, g = c ?? m.amap, _ = i((e, t) => n(u[h], e, t), [h]), v = o(() => ({
197
+ locale: h,
198
+ t: _,
199
+ amap: g
197
200
  }), [
198
- d,
199
- p,
200
- f
201
+ h,
202
+ _,
203
+ g
201
204
  ]);
202
- return /* @__PURE__ */ o(n.Provider, {
203
- value: m,
204
- children: c
205
+ return /* @__PURE__ */ s(e, {
206
+ offset: l,
207
+ step: d,
208
+ max: f,
209
+ children: /* @__PURE__ */ s(r.Provider, {
210
+ value: v,
211
+ children: p
212
+ })
205
213
  });
206
214
  };
207
215
  //#endregion
208
- export { u as t };
216
+ export { d as t };
@@ -1,4 +1,5 @@
1
- import "../vendors/version-Dg7dOJFj.js";
2
- import { r as e, t } from "./useLocale-CP8NRZoj.js";
3
- import { t as n } from "./ConfigProvider-DnlakyRE.js";
1
+ import "../vendors/version-DdP63VFD.js";
2
+ import "../Overlay/Overlay-YzAfhILA.js";
3
+ import { r as e, t } from "./useLocale-D12uIZ9q.js";
4
+ import { t as n } from "./ConfigProvider-CCXPxdJt.js";
4
5
  export { n as ConfigProvider, n as default, e as useAMapConfig, t as useLocale };
@@ -1,6 +1,7 @@
1
1
  import { createContext as e, useContext as t } from "react";
2
2
  var n = {
3
3
  actionSheet: { close: "关闭" },
4
+ popup: { close: "关闭" },
4
5
  calendar: {
5
6
  today: "今天",
6
7
  viewDay: "日",
@@ -1,6 +1,6 @@
1
- import { t as e } from "../ActionSheet/ActionSheet-DbrKxa_y.js";
2
- import { a as t, i as n, t as r } from "../ConfigProvider/useLocale-CP8NRZoj.js";
3
- import { i, t as a } from "../Calendar/cssVars-UpgK6spf.js";
1
+ import { t as e } from "../ActionSheet/ActionSheet-8cPpwho3.js";
2
+ import { a as t, i as n, t as r } from "../ConfigProvider/useLocale-D12uIZ9q.js";
3
+ import { i, t as a } from "../Calendar/cssVars-E8Cq0tta.js";
4
4
  import { createContext as o, memo as s, useCallback as c, useContext as l, useEffect as u, useLayoutEffect as d, useMemo as f, useRef as p, useState as m } from "react";
5
5
  import { createPortal as h } from "react-dom";
6
6
  import { Fragment as g, jsx as _, jsxs as v } from "react/jsx-runtime";
@@ -1,7 +1,9 @@
1
- import "../vendors/version-Dg7dOJFj.js";
2
- import "../ActionSheet/ActionSheet-DbrKxa_y.js";
3
- import { n as e, t } from "./Gantt-D2ZGpS5p.js";
4
- import "../Icon/Icon-CFvcrGGg.js";
5
- import "../ConfigProvider/useLocale-CP8NRZoj.js";
6
- import "../Calendar/cssVars-UpgK6spf.js";
1
+ import "../vendors/version-DdP63VFD.js";
2
+ import "../Popup/Popup-C1uwPnxj.js";
3
+ import "../ActionSheet/ActionSheet-8cPpwho3.js";
4
+ import { n as e, t } from "./Gantt-fRNTYViS.js";
5
+ import "../Icon/Icon-OUPXAIEn.js";
6
+ import "../Overlay/Overlay-YzAfhILA.js";
7
+ import "../ConfigProvider/useLocale-D12uIZ9q.js";
8
+ import "../Calendar/cssVars-E8Cq0tta.js";
7
9
  export { e as ALL_ZOOM_LEVELS, t as default };
@@ -7,7 +7,7 @@ var t = { "bsy-icon": "_bsy-icon_gwzb9_1" }, n = /* @__PURE__ */ new Set();
7
7
  if (!e || n.has(e) || (n.add(e), [...document.scripts].some((t) => t.getAttribute("src") === e))) return;
8
8
  let t = document.createElement("script");
9
9
  t.setAttribute("src", e), document.body.appendChild(t);
10
- })("https://at.alicdn.com/t/c/font_4786625_7yye49rghck.js");
10
+ })("https://at.alicdn.com/t/c/font_4786625_ymyxnlj0j89.js");
11
11
  var r = ({ name: n, size: r = 16, color: i, className: a }) => /* @__PURE__ */ e("svg", {
12
12
  className: [t["bsy-icon"], a].filter(Boolean).join(" "),
13
13
  style: {
@@ -1,3 +1,3 @@
1
- import "../vendors/version-Dg7dOJFj.js";
2
- import { t as e } from "./Icon-CFvcrGGg.js";
1
+ import "../vendors/version-DdP63VFD.js";
2
+ import { t as e } from "./Icon-OUPXAIEn.js";
3
3
  export { e as default };
@@ -0,0 +1,61 @@
1
+ import { createContext as e, useContext as t, useEffect as n, useMemo as r } from "react";
2
+ import { jsx as i } from "react/jsx-runtime";
3
+ //#region src/components/Overlay/OverlayContext.tsx
4
+ var a = 1e3, o = 10, s = e({
5
+ offset: 0,
6
+ step: 10
7
+ }), c = /* @__PURE__ */ new Map(), l = (e, t) => t === void 0 ? e : Math.min(e, t), u = () => {
8
+ if (c.size === 0) return;
9
+ let e = Math.max(...c.keys()), t = c.get(e);
10
+ return l(e + t.step, t.max);
11
+ }, d = (e) => {
12
+ let t = e ?? u();
13
+ return t === void 0 ? void 0 : { zIndex: t };
14
+ }, f = ({ zIndex: e, offset: a, step: o, max: l, children: u }) => {
15
+ let d = t(s), f = r(() => ({
16
+ parentZ: e ?? d.parentZ,
17
+ offset: a ?? d.offset,
18
+ step: o ?? d.step,
19
+ max: l ?? d.max
20
+ }), [
21
+ l,
22
+ a,
23
+ d.max,
24
+ d.offset,
25
+ d.parentZ,
26
+ d.step,
27
+ o,
28
+ e
29
+ ]);
30
+ return n(() => {
31
+ if (e === void 0) return;
32
+ let t = c.get(e);
33
+ return c.set(e, {
34
+ count: (t?.count ?? 0) + 1,
35
+ step: f.step,
36
+ max: f.max
37
+ }), () => {
38
+ let t = c.get(e);
39
+ if (t === void 0 || t.count <= 1) {
40
+ c.delete(e);
41
+ return;
42
+ }
43
+ c.set(e, {
44
+ ...t,
45
+ count: t.count - 1
46
+ });
47
+ };
48
+ }, [
49
+ e,
50
+ f.max,
51
+ f.step
52
+ ]), /* @__PURE__ */ i(s.Provider, {
53
+ value: f,
54
+ children: u
55
+ });
56
+ }, p = (e) => {
57
+ let { parentZ: n, offset: r, step: i, max: o } = t(s);
58
+ return e === void 0 ? n === void 0 ? r + a : l(n + i, o) : e;
59
+ };
60
+ //#endregion
61
+ export { d as a, u as i, o as n, p as o, f as r, a as t };
@@ -0,0 +1,3 @@
1
+ import "../vendors/version-DdP63VFD.js";
2
+ import { a as e, i as t, n, o as r, r as i, t as a } from "./Overlay-YzAfhILA.js";
3
+ export { a as OVERLAY_Z_BASE, n as OVERLAY_Z_STEP, i as OverlayProvider, t as getNextImperativeOverlayZIndex, e as imperativeOverlayStyle, r as useOverlayZIndex };
@@ -0,0 +1,78 @@
1
+ import { o as e, r as t } from "../Overlay/Overlay-YzAfhILA.js";
2
+ import { t as n } from "../ConfigProvider/useLocale-D12uIZ9q.js";
3
+ import { useEffect as r, useLayoutEffect as i, useRef as a, useState as o } from "react";
4
+ import { createPortal as s } from "react-dom";
5
+ import { jsx as c, jsxs as l } from "react/jsx-runtime";
6
+ //#region src/components/Popup/Popup.module.scss
7
+ var u = {
8
+ "bsy-mobile-popup": "_bsy-mobile-popup_103dr_2",
9
+ "bsy-mobile-popup__mask": "_bsy-mobile-popup__mask_103dr_8",
10
+ "bsy-mobile-popup__panel": "_bsy-mobile-popup__panel_103dr_19",
11
+ "bsy-mobile-popup--bottom": "_bsy-mobile-popup--bottom_103dr_32",
12
+ "bsy-mobile-popup--top": "_bsy-mobile-popup--top_103dr_37",
13
+ "bsy-mobile-popup--round": "_bsy-mobile-popup--round_103dr_42",
14
+ "bsy-mobile-popup--open": "_bsy-mobile-popup--open_103dr_45"
15
+ }, d = (...e) => e.filter(Boolean).join(" "), f = ({ open: f, onClose: p, position: m = "bottom", round: h = !0, zIndex: g, closeOnClickOverlay: _ = !0, getPopupContainer: v, className: y, children: b }) => {
16
+ let { t: x } = n(), S = e(g), [C, w] = o(f), [T, E] = o(!1), D = a(!1), O = a({
17
+ children: b,
18
+ position: m,
19
+ round: h
20
+ });
21
+ f && (O.current = {
22
+ children: b,
23
+ position: m,
24
+ round: h
25
+ });
26
+ let k = O.current;
27
+ r(() => {
28
+ if (f) {
29
+ w(!0);
30
+ return;
31
+ }
32
+ E(!1), D.current || w(!1);
33
+ }, [f]), i(() => {
34
+ if (!C || !f) return;
35
+ let e = 0, t = requestAnimationFrame(() => {
36
+ e = requestAnimationFrame(() => {
37
+ D.current = !0, E(!0);
38
+ });
39
+ });
40
+ return () => {
41
+ cancelAnimationFrame(t), cancelAnimationFrame(e);
42
+ };
43
+ }, [C, f]), r(() => {
44
+ if (!C) return;
45
+ let e = document.body.style.overflow;
46
+ return document.body.style.overflow = "hidden", () => {
47
+ document.body.style.overflow = e;
48
+ };
49
+ }, [C]);
50
+ let A = typeof document > "u" ? null : v?.() || document.body;
51
+ if (!C || !A) return null;
52
+ let j = x("popup.close"), M = k.position === "top";
53
+ return s(/* @__PURE__ */ l("div", {
54
+ className: d(u["bsy-mobile-popup"], M ? u["bsy-mobile-popup--top"] : u["bsy-mobile-popup--bottom"], k.round && u["bsy-mobile-popup--round"], T && f && u["bsy-mobile-popup--open"], y),
55
+ style: { zIndex: S },
56
+ children: [/* @__PURE__ */ c("button", {
57
+ type: "button",
58
+ className: u["bsy-mobile-popup__mask"],
59
+ "aria-label": j,
60
+ onClick: () => {
61
+ _ && p();
62
+ }
63
+ }), /* @__PURE__ */ c("div", {
64
+ className: u["bsy-mobile-popup__panel"],
65
+ role: "dialog",
66
+ "aria-modal": "true",
67
+ onTransitionEnd: (e) => {
68
+ e.propertyName === "transform" && (f || (D.current = !1, w(!1)));
69
+ },
70
+ children: /* @__PURE__ */ c(t, {
71
+ zIndex: S,
72
+ children: k.children
73
+ })
74
+ })]
75
+ }), A);
76
+ };
77
+ //#endregion
78
+ export { f as t };
@@ -0,0 +1,5 @@
1
+ import "../vendors/version-DdP63VFD.js";
2
+ import { t as e } from "./Popup-C1uwPnxj.js";
3
+ import "../Overlay/Overlay-YzAfhILA.js";
4
+ import "../ConfigProvider/useLocale-D12uIZ9q.js";
5
+ export { e as default };
@@ -1,3 +1,3 @@
1
1
  import { ActionSheetProps } from './interface';
2
- declare const ActionSheet: ({ open, onClose, mode, title, actions, onAction, children, zIndex, getPopupContainer, className, }: ActionSheetProps) => import('react').ReactPortal | null;
2
+ declare const ActionSheet: ({ open, onClose, mode, title, actions, onAction, children, zIndex, getPopupContainer, className, }: ActionSheetProps) => import("react").JSX.Element;
3
3
  export default ActionSheet;
@@ -60,8 +60,7 @@ export interface ActionSheetProps {
60
60
  */
61
61
  children?: ReactNode;
62
62
  /**
63
- * @description 根节点层级
64
- * @default 1000
63
+ * @description 透传给 Popup;未传则跟 Overlay
65
64
  */
66
65
  zIndex?: number;
67
66
  /**
@@ -1,3 +1,3 @@
1
1
  import { ConfigProviderProps } from './context';
2
- export declare const ConfigProvider: ({ locale: localeProp, amap, children }: ConfigProviderProps) => import("react").JSX.Element;
2
+ export declare const ConfigProvider: ({ locale: localeProp, amap, overlayOffset, overlayStep, overlayMax, children, }: ConfigProviderProps) => import("react").JSX.Element;
3
3
  export default ConfigProvider;
@@ -20,5 +20,19 @@ export type ConfigProviderProps = {
20
20
  * @description 高德地图配置。任意 App 接入 AMap 的正式入口。
21
21
  */
22
22
  amap?: AMapConfig;
23
+ /**
24
+ * @description 全局浮层 z-index 偏移,第一层 = offset + 1000
25
+ * @default 0
26
+ */
27
+ overlayOffset?: number;
28
+ /**
29
+ * @description 嵌套浮层步长
30
+ * @default 10
31
+ */
32
+ overlayStep?: number;
33
+ /**
34
+ * @description 嵌套浮层 z-index 上限;不传则不封顶
35
+ */
36
+ overlayMax?: number;
23
37
  children?: ReactNode;
24
38
  };
@@ -0,0 +1,17 @@
1
+ import { CSSProperties, PropsWithChildren } from 'react';
2
+ /** 第一层浮层底座。嵌套时改为 parentZ + step */
3
+ export declare const OVERLAY_Z_BASE = 1000;
4
+ export declare const OVERLAY_Z_STEP = 10;
5
+ export type OverlayProviderProps = PropsWithChildren<{
6
+ zIndex?: number;
7
+ offset?: number;
8
+ step?: number;
9
+ max?: number;
10
+ }>;
11
+ /** 无已挂载浮层时返回 undefined,调用方应保持默认层级 */
12
+ export declare const getNextImperativeOverlayZIndex: () => number | undefined;
13
+ /** 只写内联 z-index,不改 CSS 变量 */
14
+ export declare const imperativeOverlayStyle: (zIndex?: number) => CSSProperties | undefined;
15
+ export declare const resetOverlayZIndexRegistryForTest: () => void;
16
+ export declare const OverlayProvider: ({ zIndex, offset, step, max, children }: OverlayProviderProps) => import("react").JSX.Element;
17
+ export declare const useOverlayZIndex: (override?: number) => number;
@@ -0,0 +1,2 @@
1
+ export { OverlayProvider, useOverlayZIndex, OVERLAY_Z_BASE, OVERLAY_Z_STEP, getNextImperativeOverlayZIndex, imperativeOverlayStyle, } from './OverlayContext';
2
+ export type { OverlayProviderProps } from './OverlayContext';
@@ -0,0 +1,3 @@
1
+ import { PopupProps } from './interface';
2
+ declare const Popup: ({ open, onClose, position, round, zIndex: zIndexProp, closeOnClickOverlay, getPopupContainer, className, children, }: PopupProps) => import('react').ReactPortal | null;
3
+ export default Popup;
@@ -0,0 +1,2 @@
1
+ export { default } from './Popup';
2
+ export type { PopupProps, PopupPosition } from './interface';
@@ -0,0 +1,46 @@
1
+ import { ReactNode } from 'react';
2
+ /**
3
+ * @description 弹出方向,仅顶 / 底
4
+ */
5
+ export type PopupPosition = 'top' | 'bottom';
6
+ export interface PopupProps {
7
+ /**
8
+ * @description 是否打开
9
+ */
10
+ open: boolean;
11
+ /**
12
+ * @description 点蒙层关闭;`closeOnClickOverlay` 为 `false` 时蒙层不关
13
+ */
14
+ onClose: () => void;
15
+ /**
16
+ * @description 弹出方向
17
+ * @default 'bottom'
18
+ */
19
+ position?: PopupPosition;
20
+ /**
21
+ * @description 为 `true` 时左上、右上圆角 20px
22
+ * @default true
23
+ */
24
+ round?: boolean;
25
+ /**
26
+ * @description 根节点层级;未传则走 Overlay(无父层为 1000,有父层为 parent + step)
27
+ */
28
+ zIndex?: number;
29
+ /**
30
+ * @description 点蒙层是否关闭
31
+ * @default true
32
+ */
33
+ closeOnClickOverlay?: boolean;
34
+ /**
35
+ * @description 挂载节点;未传或返回空则用 `document.body`
36
+ */
37
+ getPopupContainer?: () => HTMLElement;
38
+ /**
39
+ * @description 根节点 class
40
+ */
41
+ className?: string;
42
+ /**
43
+ * @description 面板内容
44
+ */
45
+ children?: ReactNode;
46
+ }
@@ -1,3 +1,5 @@
1
+ export { default as Popup } from './Popup';
2
+ export type { PopupProps, PopupPosition } from './Popup';
1
3
  export { default as ActionSheet } from './ActionSheet';
2
4
  export type { ActionSheetProps, ActionSheetAction, ActionSheetMode } from './ActionSheet';
3
5
  export { default as Gantt } from './Gantt';
@@ -9,5 +11,7 @@ export { default as AMap, useAMap } from './AMap';
9
11
  export type { AMapControlsProps, AMapLabelColor, AMapLocateProps, AMapMarker, AMapMarkerDisplayChange, AMapMarkerSize, AMapMarkersProps, AMapPoiItem, AMapPoiSearchProps, AMapRootProps, Location, } from './AMap';
10
12
  export { ConfigProvider, useLocale } from './ConfigProvider';
11
13
  export type { ConfigProviderProps, AMapConfig, LocaleKeys, Locale } from './ConfigProvider';
14
+ export { OverlayProvider, useOverlayZIndex, OVERLAY_Z_BASE, OVERLAY_Z_STEP, getNextImperativeOverlayZIndex, imperativeOverlayStyle, } from './Overlay';
15
+ export type { OverlayProviderProps } from './Overlay';
12
16
  export { default as Icon } from './Icon';
13
17
  export type { IconProps } from './Icon';
package/dist/index.js CHANGED
@@ -1,10 +1,12 @@
1
- import "./vendors/version-Dg7dOJFj.js";
2
- import { t as e } from "./ActionSheet/ActionSheet-DbrKxa_y.js";
3
- import { n as t, t as n } from "./Gantt/Gantt-D2ZGpS5p.js";
4
- import { t as r } from "./Calendar/Calendar-tYjpphMo.js";
5
- import { t as i } from "./Icon/Icon-CFvcrGGg.js";
6
- import { n as a, t as o } from "./AMap/AMap-DwrSlwyV.js";
7
- import { t as s } from "./ConfigProvider/useLocale-CP8NRZoj.js";
8
- import "./Calendar/cssVars-UpgK6spf.js";
9
- import { t as c } from "./ConfigProvider/ConfigProvider-DnlakyRE.js";
10
- export { t as ALL_ZOOM_LEVELS, o as AMap, e as ActionSheet, r as Calendar, c as ConfigProvider, n as Gantt, i as Icon, a as useAMap, s as useLocale };
1
+ import "./vendors/version-DdP63VFD.js";
2
+ import { t as e } from "./Popup/Popup-C1uwPnxj.js";
3
+ import { t } from "./ActionSheet/ActionSheet-8cPpwho3.js";
4
+ import { n, t as r } from "./Gantt/Gantt-fRNTYViS.js";
5
+ import { t as i } from "./Calendar/Calendar-B9IuDHRd.js";
6
+ import { t as a } from "./Icon/Icon-OUPXAIEn.js";
7
+ import { n as o, t as s } from "./AMap/AMap-BwIa29WQ.js";
8
+ import { a as c, i as l, n as u, o as d, r as f, t as p } from "./Overlay/Overlay-YzAfhILA.js";
9
+ import { t as m } from "./ConfigProvider/useLocale-D12uIZ9q.js";
10
+ import "./Calendar/cssVars-E8Cq0tta.js";
11
+ import { t as h } from "./ConfigProvider/ConfigProvider-CCXPxdJt.js";
12
+ export { n as ALL_ZOOM_LEVELS, s as AMap, t as ActionSheet, i as Calendar, h as ConfigProvider, r as Gantt, a as Icon, p as OVERLAY_Z_BASE, u as OVERLAY_Z_STEP, f as OverlayProvider, e as Popup, l as getNextImperativeOverlayZIndex, c as imperativeOverlayStyle, o as useAMap, m as useLocale, d as useOverlayZIndex };
@@ -2,6 +2,9 @@ declare const _default: {
2
2
  "actionSheet": {
3
3
  "close": "Close"
4
4
  },
5
+ "popup": {
6
+ "close": "Close"
7
+ },
5
8
  "calendar": {
6
9
  "today": "Today",
7
10
  "viewDay": "Day",
@@ -2,6 +2,9 @@ declare const _default: {
2
2
  "actionSheet": {
3
3
  "close": "关闭"
4
4
  },
5
+ "popup": {
6
+ "close": "关闭"
7
+ },
5
8
  "calendar": {
6
9
  "today": "今天",
7
10
  "viewDay": "日",
@@ -2,6 +2,9 @@ declare const _default: {
2
2
  "actionSheet": {
3
3
  "close": "關閉"
4
4
  },
5
+ "popup": {
6
+ "close": "關閉"
7
+ },
5
8
  "calendar": {
6
9
  "today": "今天",
7
10
  "viewDay": "日",
package/dist/style.css CHANGED
@@ -1,2 +1,2 @@
1
- ._bsy-icon_gwzb9_1{vertical-align:-.15em;fill:currentColor;width:1em;height:1em;display:inline-block;overflow:hidden}._bsy-mobile-amap_1j885_1{width:100%;height:100%;position:relative}._bsy-mobile-amap__canvas_1j885_6{width:100%;height:100%}._bsy-mobile-amap__controls_8fnp9_1{z-index:100;flex-direction:column;gap:10px;display:flex;position:absolute;top:60px;right:10px}._bsy-mobile-amap__control-btn_wwc06_1{cursor:pointer;background:#fff;border:none;border-radius:4px;justify-content:center;align-items:center;width:40px;height:40px;padding:0;display:flex;box-shadow:0 0 16px #0000001a}._bsy-mobile-amap__control-btn_wwc06_1:active{background:#f7f7f7}._bsy-mobile-amap__poi_138ca_1{z-index:120;pointer-events:none;position:absolute;top:10px;left:10px;right:10px}._bsy-mobile-amap__poi-box_138ca_9{pointer-events:auto;box-sizing:border-box;background:#fff;border:1px solid #0000;border-radius:4px;justify-content:space-between;align-items:center;width:100%;height:36px;padding:5px 10px;transition:border-color .25s;display:flex;box-shadow:0 0 16px #0000001a}._bsy-mobile-amap__poi-box_138ca_9:focus-within{border-color:#0265ff}._bsy-mobile-amap__poi-input_138ca_27{color:#121111;background:0 0;border:none;outline:none;flex:1;min-width:0;height:20px;padding:0;font-size:14px;line-height:20px}._bsy-mobile-amap__poi-input_138ca_27::placeholder{color:#999}._bsy-mobile-amap__poi-clear_138ca_42{color:#666;background:0 0;border:none;justify-content:center;align-items:center;padding:0;display:flex}._bsy-mobile-amap__poi-dropdown_138ca_51{opacity:0;pointer-events:none;grid-template-rows:0fr;margin-top:0;transition:opacity .24s,margin-top .24s;display:grid}._bsy-mobile-amap__poi-dropdown--open_138ca_59{opacity:1;pointer-events:auto;grid-template-rows:1fr;margin-top:6px}._bsy-mobile-amap__poi-dropdown--closing_138ca_65{opacity:1;pointer-events:none;grid-template-rows:1fr;margin-top:6px}._bsy-mobile-amap__poi-dropdown-clip_138ca_71{min-height:0;overflow:hidden}._bsy-mobile-amap__poi-panel_138ca_75{transform-origin:top;will-change:transform, opacity;background:#fff;border-radius:4px;transition:transform .24s,opacity .24s;box-shadow:0 0 16px #0000001a}._bsy-mobile-amap__poi-list_138ca_83{padding:4px;overflow:hidden auto}._bsy-mobile-amap__poi-option_138ca_88{text-align:left;cursor:pointer;background:0 0;border:none;border-radius:4px;align-items:center;width:100%;min-height:50px;padding:0 10px;display:flex}._bsy-mobile-amap__poi-option_138ca_88:active{background:#eff0f6}._bsy-mobile-amap__poi-option-body_138ca_103{align-items:center;gap:10px;width:100%;min-width:0;display:flex}._bsy-mobile-amap__poi-title-wrap_138ca_110{flex-shrink:0;align-items:center;gap:6px;min-width:0;display:flex}._bsy-mobile-amap__poi-title_138ca_110{color:#121111;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:14px;line-height:20px;overflow:hidden}._bsy-mobile-amap__poi-address_138ca_126{color:#666;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:12px;line-height:17px;overflow:hidden}._bsy-mobile-amap__poi-highlight_138ca_136{color:#0265ff}._bsy-mobile-amap__poi-status_138ca_139{color:#999;justify-content:center;align-items:center;padding:20px 0;font-size:14px;line-height:20px;display:flex}._bsy-action-sheet_1uhjc_2{z-index:1000;pointer-events:none;position:fixed;inset:0}._bsy-action-sheet__mask_1uhjc_8{opacity:0;pointer-events:auto;background:#00000073;border:none;padding:0;transition:opacity .38s;position:absolute;inset:0}._bsy-action-sheet__panel_1uhjc_19{max-height:78%;padding-bottom:max(env(safe-area-inset-bottom,0px), var(--safe-area-inset-bottom,0px));pointer-events:auto;will-change:transform;background:#fff;border-radius:20px 20px 0 0;flex-direction:column;transition:transform .5s cubic-bezier(.32,.72,0,1);display:flex;position:absolute;bottom:0;left:0;right:0;transform:translateY(100%)}._bsy-action-sheet--open_1uhjc_36 ._bsy-action-sheet__mask_1uhjc_8{opacity:1}._bsy-action-sheet--open_1uhjc_36 ._bsy-action-sheet__panel_1uhjc_19{transform:translate(0,0)}._bsy-action-sheet__header_1uhjc_42{box-sizing:border-box;border-bottom:1px solid #e0e0e0;flex-shrink:0;justify-content:space-between;align-items:flex-start;height:56px;padding:19px 10px 0;display:flex}._bsy-action-sheet__title_1uhjc_52{text-overflow:ellipsis;white-space:nowrap;color:#030303;flex:1;min-width:0;font-size:18px;font-weight:700;line-height:18px;overflow:hidden}._bsy-action-sheet__close_1uhjc_63{color:#666;cursor:pointer;-webkit-tap-highlight-color:transparent;background:0 0;border:none;flex-shrink:0;justify-content:center;align-items:center;width:18px;height:18px;padding:0;display:flex}._bsy-action-sheet__body_1uhjc_77{-webkit-overflow-scrolling:touch;min-height:0;overflow-y:auto}._bsy-action-sheet__list_1uhjc_82{padding:10px 12px 12px}._bsy-action-sheet--menu_1uhjc_85 ._bsy-action-sheet__item_1uhjc_85{justify-content:center}._bsy-action-sheet--menu_1uhjc_85 ._bsy-action-sheet__item_1uhjc_85:active:not(:disabled){background:#eff0f6}._bsy-action-sheet__item_1uhjc_85{color:#030303;text-align:left;cursor:pointer;-webkit-tap-highlight-color:transparent;background:#fff;border:none;border-radius:4px;justify-content:space-between;align-items:center;width:100%;height:50px;padding:5px 10px;display:flex}._bsy-action-sheet__item_1uhjc_85:active:not(:disabled){background:#f3f3f3}._bsy-action-sheet__item--selected_1uhjc_109{color:#0265ff}._bsy-action-sheet__item--disabled_1uhjc_112{color:#bbb;cursor:not-allowed}._bsy-action-sheet__item-inner_1uhjc_116{align-items:center;gap:6px;min-width:0;display:flex}._bsy-action-sheet--select_1uhjc_122 ._bsy-action-sheet__item-inner_1uhjc_116{flex:1}._bsy-action-sheet__item-icon_1uhjc_125{width:16px;height:16px;color:inherit;flex-shrink:0;justify-content:center;align-items:center;display:flex}._bsy-action-sheet__item-label_1uhjc_134{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:15px;font-weight:400;line-height:22px;overflow:hidden}._bsy-action-sheet__check_1uhjc_143{color:#0265ff;flex-shrink:0;justify-content:center;align-items:center;width:16px;height:16px;display:flex}._bsy-mobile-calendar_1c2fd_1{box-sizing:border-box;width:100%;min-width:0;height:100%;min-height:320px;color:var(--bsy-mobile-calendar-title-color,#121111);background-color:var(--bsy-mobile-calendar-background-color,#fff);background-image:var(--bsy-mobile-calendar-background-image,none);background-position:var(--bsy-mobile-calendar-background-position,center center);background-size:var(--bsy-mobile-calendar-background-size,auto);background-repeat:var(--bsy-mobile-calendar-background-repeat,no-repeat);flex-direction:column;font-size:14px;line-height:1.5;display:flex;overflow:hidden}._bsy-mobile-calendar__body_1c2fd_19{flex:1;min-height:0;overflow:hidden}._bsy-mobile-calendar-header_arzu9_1{flex-shrink:0;justify-content:space-between;align-items:center;gap:8px;min-width:0;height:44px;padding:0 10px;font-size:14px;display:flex}._bsy-mobile-calendar-header__left_arzu9_12{align-items:center;gap:10px;min-width:0;display:flex}._bsy-mobile-calendar-header__year-month_arzu9_18{color:var(--bsy-mobile-calendar-title-color,#121211);font-size:16px;font-weight:700}._bsy-mobile-calendar-header__today_arzu9_23{color:var(--bsy-mobile-calendar-title-color,#121111);cursor:pointer;background:0 0;border:none;align-items:center;padding:0 10px;display:flex}._bsy-mobile-calendar-segmented_arzu9_33{background:var(--bsy-mobile-calendar-header-background,#f2f3f5);border-radius:6px;padding:2px;display:inline-flex}._bsy-mobile-calendar-segmented__item_arzu9_39{min-width:40px;height:28px;color:var(--bsy-mobile-calendar-title-color,#666);cursor:pointer;background:0 0;border:none;border-radius:4px;padding:0 10px;font-size:13px}._bsy-mobile-calendar-segmented__item--active_arzu9_50{background:var(--bsy-mobile-calendar-highlight-color,#fff);color:var(--bsy-mobile-calendar-segmented-active-color,var(--bsy-mobile-calendar-title-color,#121111));font-weight:500;box-shadow:0 1px 2px #0000000f}._bsy-mobile-calendar-month_1t8o8_1{flex-direction:column;height:100%;display:flex}._bsy-mobile-calendar-weekday-header_1t8o8_7{flex-shrink:0;height:34px;padding-bottom:10px;display:flex}._bsy-mobile-calendar-weekday-header__item_1t8o8_13{color:var(--bsy-mobile-calendar-title-color,#121111);flex:1;padding-left:10px;font-size:14px;line-height:24px}._bsy-mobile-calendar-carousel_1t8o8_21{touch-action:pan-y;border-top:1px solid var(--bsy-mobile-calendar-border-color,#e0e0e0);flex:1;position:relative;overflow:hidden}._bsy-mobile-calendar-month-slide_1t8o8_29{flex-direction:column;width:100%;height:100%;display:flex}._bsy-mobile-calendar-week-row_1t8o8_36{border-bottom:1px solid var(--bsy-mobile-calendar-border-color,#e0e0e0);flex:1;min-height:48px;position:relative}._bsy-mobile-calendar-week-row_1t8o8_36:last-child{border-bottom:none}._bsy-mobile-calendar-week-row__cells_1t8o8_45{height:100%;display:flex}._bsy-mobile-calendar-day-cell_1t8o8_50{flex-direction:column;flex:1;display:flex;position:relative}._bsy-mobile-calendar-day-cell__header_1t8o8_56{justify-content:flex-start;align-items:center;height:24px;padding-left:10px;display:flex;position:relative}._bsy-mobile-calendar-day-cell__body_1t8o8_64{flex:1;overflow:auto}._bsy-mobile-calendar-day-cell__text_1t8o8_68{width:24px;height:24px;color:var(--bsy-mobile-calendar-title-color,#121111);border-radius:50%;font-size:14px;font-weight:700;line-height:24px}._bsy-mobile-calendar-day-cell__text--today_1t8o8_77{background-color:var(--bsy-mobile-calendar-highlight-color,#0265ff);color:var(--bsy-mobile-calendar-highlight-text-color,#fff);text-align:center;font-weight:500}._bsy-mobile-calendar-day-cell__text--other_1t8o8_83{color:var(--bsy-mobile-calendar-over-title-color,#666)}._bsy-mobile-calendar-day-cell__badge_1t8o8_86{background-color:var(--bsy-mobile-calendar-header-background,#eff0f6);color:var(--bsy-mobile-calendar-title-color,#121111);border-radius:4px;justify-content:center;align-items:center;min-width:22px;height:14px;margin-left:4px;padding:0 2px;font-size:10px;display:flex;position:absolute;right:0}._bsy-mobile-calendar-week-events_1t8o8_102{pointer-events:none;position:absolute;inset:0}._bsy-mobile-calendar-week-events_1t8o8_102>*{pointer-events:auto}._bsy-mobile-calendar-week-events__segment_1t8o8_113{position:absolute}._bsy-mobile-calendar-event-card_v4uo1_1{border-left:2px solid var(--bsy-mobile-calendar-color,#0265ff);text-overflow:ellipsis;white-space:nowrap;cursor:pointer;box-sizing:border-box;color:var(--bsy-mobile-calendar-title-color,#121111);background-color:var(--bsy-mobile-calendar-bg,#eff5ff);padding-left:4px;padding-right:4px;font-size:12px;overflow:hidden}._bsy-mobile-calendar-event-card_v4uo1_1:active{background-color:var(--bsy-mobile-calendar-hover,#d9e8ff)}._bsy-mobile-calendar-event-card--timed_v4uo1_17{white-space:normal;text-overflow:clip;border-left-width:3px;border-radius:4px;flex-direction:column;justify-content:flex-start;align-items:flex-start;padding-top:2px;padding-bottom:2px;line-height:normal;display:flex}._bsy-mobile-calendar-event-card--start_v4uo1_30{border-top-left-radius:2px;border-bottom-left-radius:2px}._bsy-mobile-calendar-event-card--end_v4uo1_34{border-top-right-radius:2px;border-bottom-right-radius:2px}._bsy-mobile-calendar-event-card--continue_v4uo1_38{border-left:none;padding-left:4px}._bsy-mobile-calendar-event-card__timed-body_v4uo1_42{max-width:100%;overflow:hidden}._bsy-mobile-calendar-event-card__title_v4uo1_46{text-overflow:ellipsis;white-space:nowrap;width:100%;font-size:12px;line-height:16px;overflow:hidden}._bsy-mobile-calendar-event-card__time_v4uo1_42{color:var(--bsy-mobile-calendar-title-color,#121111);text-overflow:ellipsis;white-space:nowrap;width:100%;font-size:11px;line-height:14px;overflow:hidden}._bsy-mobile-calendar-day_dugny_1{flex-direction:column;height:100%;display:flex;overflow:hidden}._bsy-mobile-calendar-day__header-wrap_dugny_7{flex-shrink:0;box-shadow:0 4px 4px #0000000f}._bsy-mobile-calendar-day__header_dugny_7{height:78px;display:flex}._bsy-mobile-calendar-day__tz_dugny_15{width:56px;color:var(--bsy-mobile-calendar-specifically-color,#999);flex-shrink:0;justify-content:center;align-items:flex-end;padding-bottom:18px;font-size:12px;display:flex}._bsy-mobile-calendar-day__body_dugny_25{flex:1;overflow:hidden auto}._bsy-mobile-calendar-day__time-grid_dugny_30{display:flex;position:relative}._bsy-mobile-calendar-day__time-col_dugny_34{flex-shrink:0;width:56px;position:relative}._bsy-mobile-calendar-day__time-label_dugny_39{width:100%;color:var(--bsy-mobile-calendar-title-color,#121111);text-align:center;font-size:12px;position:absolute;transform:translateY(-50%)}._bsy-mobile-calendar-day__content-col_dugny_47{border-left:1px solid var(--bsy-mobile-calendar-border-color,#e0e0e0);flex:1;position:relative}._bsy-mobile-calendar-day__hour-cell_dugny_52{border-top:1px solid var(--bsy-mobile-calendar-border-color,#e0e0e0);height:60px;position:relative}._bsy-mobile-calendar-day__timed-layer_dugny_57{pointer-events:none;z-index:2;position:absolute;inset:20px 0 0}._bsy-mobile-calendar-day__timed-layer_dugny_57>*{pointer-events:auto}._bsy-mobile-calendar-day__timed-item_dugny_69{box-sizing:border-box;padding-right:2px;position:absolute}._bsy-mobile-calendar-week-carousel_dugny_75{touch-action:pan-y;flex:1;overflow:hidden}._bsy-mobile-calendar-week-slide_dugny_81{flex-direction:column;flex-shrink:0;display:flex}._bsy-mobile-calendar-week-slide__weekdays_dugny_86{align-items:center;height:34px;display:flex}._bsy-mobile-calendar-week-slide__dates_dugny_91{align-items:center;display:flex}._bsy-mobile-calendar-week-slide__weekday_dugny_86{color:var(--bsy-mobile-calendar-title-color,#121111);flex:1;justify-content:center;align-items:center;font-size:14px;display:flex}._bsy-mobile-calendar-week-slide__weekday--today_dugny_103{color:var(--bsy-mobile-calendar-highlight-color,#0265ff)}._bsy-mobile-calendar-week-slide__weekday--past_dugny_106{color:var(--bsy-mobile-calendar-over-title-color,#666)}._bsy-mobile-calendar-week-slide__weekday--future_dugny_109{color:var(--bsy-mobile-calendar-title-color,#121111)}._bsy-mobile-calendar-week-slide__date-item_dugny_112{flex:1;justify-content:center;align-items:center;display:flex}._bsy-mobile-calendar-week-slide__date-circle_dugny_118{border-radius:50%;justify-content:center;align-items:center;width:34px;height:34px;font-size:16px;font-weight:700;display:flex}._bsy-mobile-calendar-week-slide__date-circle--today_dugny_128{background-color:var(--bsy-mobile-calendar-highlight-color,#0265ff);color:var(--bsy-mobile-calendar-highlight-text-color,#fff)}._bsy-mobile-calendar-week-slide__date-circle--today-idle_dugny_132{color:var(--bsy-mobile-calendar-highlight-color,#0265ff);background-color:#0000}._bsy-mobile-calendar-week-slide__date-circle--past_dugny_136{color:var(--bsy-mobile-calendar-over-title-color,#666)}._bsy-mobile-calendar-week-slide__date-circle--future_dugny_139{color:var(--bsy-mobile-calendar-title-color,#121111)}._bsy-mobile-calendar-week-slide__date-circle--selected_dugny_142{background-color:var(--bsy-mobile-calendar-header-background,#eff0f6)}._bsy-mobile-calendar-now-line_dugny_146{z-index:3;pointer-events:none;background-color:#f24848;height:1px;position:absolute;left:0;right:0}._bsy-mobile-calendar-now-dot_dugny_156{background-color:#f24848;border-radius:50%;width:6px;height:6px;position:absolute;top:-2.5px;left:-3px}._bsy-mobile-calendar-allday_dugny_166{transition:height .3s ease-in-out;overflow:hidden}._bsy-mobile-calendar-allday__content_dugny_170{flex-direction:column;gap:4px;padding:6px 10px 6px 60px;display:flex}._bsy-mobile-calendar-allday__list_dugny_176{gap:4px;display:grid}._bsy-mobile-calendar-allday__expand_dugny_180{color:var(--bsy-mobile-calendar-more-record-color,#666);cursor:pointer;align-items:center;gap:6px;padding:4px 0;font-size:12px;display:flex}._bsy-mobile-calendar-threeday_1alic_1{flex-direction:column;height:100%;display:flex;overflow:hidden}._bsy-mobile-calendar-threeday__header-wrap_1alic_7{flex-shrink:0;box-shadow:0 4px 4px #0000000f}._bsy-mobile-calendar-threeday__header_1alic_7{height:68px;display:flex}._bsy-mobile-calendar-threeday__tz_1alic_15{flex-direction:column;flex-shrink:0;width:56px;display:flex}._bsy-mobile-calendar-threeday__tz-empty_1alic_21{height:34px}._bsy-mobile-calendar-threeday__tz-label_1alic_24{height:34px;color:var(--bsy-mobile-calendar-specifically-color,#999);justify-content:center;align-items:center;font-size:12px;display:flex}._bsy-mobile-calendar-threeday__dates_1alic_32{touch-action:pan-y;flex:1;position:relative;overflow:hidden}._bsy-mobile-calendar-threeday__dates-track_1alic_38{will-change:transform;height:100%;display:flex}._bsy-mobile-calendar-threeday__date-col_1alic_43{flex-direction:column;flex-shrink:0;align-items:flex-start;padding-left:10px;display:flex}._bsy-mobile-calendar-threeday__weekday_1alic_50{color:var(--bsy-mobile-calendar-title-color,#121111);font-size:14px;line-height:34px}._bsy-mobile-calendar-threeday__weekday--today_1alic_55{color:var(--bsy-mobile-calendar-highlight-color,#0265ff)}._bsy-mobile-calendar-threeday__weekday--past_1alic_58{color:var(--bsy-mobile-calendar-over-title-color,#666)}._bsy-mobile-calendar-threeday__date-num_1alic_61{color:var(--bsy-mobile-calendar-over-title-color,#666);font-size:18px;font-weight:700;line-height:34px;display:flex}._bsy-mobile-calendar-threeday__date-num--today_1alic_68{color:var(--bsy-mobile-calendar-highlight-color,#0265ff)}._bsy-mobile-calendar-threeday__date-num--past_1alic_71{color:var(--bsy-mobile-calendar-over-title-color,#666)}._bsy-mobile-calendar-threeday__date-num--future_1alic_74{color:var(--bsy-mobile-calendar-title-color,#121111)}._bsy-mobile-calendar-threeday__allday_1alic_77{min-height:0;padding-left:56px;transition:height .4s cubic-bezier(.25,.8,.25,1);display:flex;position:relative;overflow:hidden}._bsy-mobile-calendar-threeday__allday-area_1alic_85{touch-action:pan-y;flex:1;position:relative;overflow:hidden}._bsy-mobile-calendar-threeday__allday-track_1alic_91{will-change:transform;display:flex;position:relative}._bsy-mobile-calendar-threeday__allday-card_1alic_96{box-sizing:border-box;height:22px;transition:none;position:absolute;top:4px;overflow:hidden}._bsy-mobile-calendar-threeday__expand-btn_1alic_104{color:var(--bsy-mobile-calendar-more-record-color,#666);box-sizing:border-box;cursor:pointer;align-items:center;gap:4px;height:22px;font-size:12px;display:flex;position:absolute}._bsy-mobile-calendar-threeday__collapse_1alic_115{cursor:pointer;z-index:2;justify-content:center;align-items:center;width:56px;height:26px;display:flex;position:absolute;bottom:10px;left:0}._bsy-mobile-calendar-threeday__body_1alic_127{flex:1;overflow:hidden auto}._bsy-mobile-calendar-threeday__body-content_1alic_132{display:flex;position:relative}._bsy-mobile-calendar-threeday__body-time_1alic_136{flex-shrink:0;width:56px;position:relative}._bsy-mobile-calendar-threeday__body-time_1alic_136:after{content:"";background-color:var(--bsy-mobile-calendar-border-color,#e0e0e0);width:1px;position:absolute;top:0;bottom:0;right:0}._bsy-mobile-calendar-threeday__time-label_1alic_150{width:100%;color:var(--bsy-mobile-calendar-title-color,#121111);text-align:center;font-size:12px;position:absolute;transform:translateY(-50%)}._bsy-mobile-calendar-threeday__grid_1alic_158{touch-action:pan-y;flex:1;padding:0 4px;position:relative;overflow:hidden}._bsy-mobile-calendar-threeday__grid-track_1alic_165{will-change:transform;height:1460px;display:flex}._bsy-mobile-calendar-threeday__day-col_1alic_170{flex-shrink:0;position:relative}._bsy-mobile-calendar-threeday__hour-cell_1alic_174{border-top:1px solid var(--bsy-mobile-calendar-border-color,#e0e0e0);height:60px;position:relative}._bsy-mobile-calendar-threeday__timed-layer_1alic_179{pointer-events:none;z-index:2;position:absolute;inset:20px 0 0;overflow:hidden}._bsy-mobile-calendar-threeday__timed-layer_1alic_179>*{pointer-events:auto}._bsy-mobile-calendar-threeday__timed-item_1alic_192{box-sizing:border-box;padding-right:2px;position:absolute}._bsy-mobile-calendar-threeday__now-line_1alic_197{z-index:3;pointer-events:none;background-color:#f24848;height:1px;position:absolute;left:3px;right:3px}._bsy-mobile-calendar-threeday__now-dot_1alic_206{background-color:#f24848;border-radius:50%;width:6px;height:6px;position:absolute;top:-2.5px;left:0}._bsy-mobile-gantt_1gpx8_1{box-sizing:border-box;width:100%;min-width:0;height:100%;min-height:240px;color:var(--bsy-mobile-gantt-color-text,#1f2329);background:var(--bsy-mobile-gantt-color-bg-container,#fff);border:1px solid var(--bsy-mobile-gantt-color-border,#e0e0e0);border-radius:4px;flex-direction:column;font-size:14px;line-height:1.5;display:flex;position:relative;overflow:hidden}._bsy-mobile-gantt__scroll_1gpx8_18{-webkit-overflow-scrolling:touch;scrollbar-width:none;height:100%;overflow:auto hidden}._bsy-mobile-gantt__scroll_1gpx8_18::-webkit-scrollbar{display:none}._bsy-mobile-gantt__canvas_1gpx8_28{flex-direction:column;min-width:100%;height:100%;display:flex}._bsy-mobile-gantt__overlay-host_1gpx8_34{pointer-events:none;z-index:3;position:absolute;bottom:0;left:0;right:0;overflow:hidden}._bsy-mobile-gantt__header_1gpx8_43{background:var(--bsy-mobile-gantt-color-bg-container,#fff);border-bottom:1px solid var(--bsy-mobile-gantt-color-border,#e0e0e0);flex-shrink:0;height:88px;position:relative}._bsy-mobile-gantt__header-row1_1gpx8_50{height:44px;display:flex}._bsy-mobile-gantt__header-row2_1gpx8_54{position:relative}._bsy-mobile-gantt__header-cell_1gpx8_57{box-sizing:border-box;position:absolute;top:0}._bsy-mobile-gantt__header-cell-label_1gpx8_62{text-align:center;width:100%;height:100%;color:var(--bsy-mobile-gantt-color-text-secondary,#666);text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:400;overflow:hidden}._bsy-mobile-gantt__header-cell-label--today_1gpx8_73{color:var(--bsy-mobile-gantt-color-primary,#0265ff);font-weight:600}._bsy-mobile-gantt__today-dot_1gpx8_77{background:var(--bsy-mobile-gantt-color-primary,#0265ff);pointer-events:none;z-index:1;border-radius:50%;width:8px;height:8px;position:absolute;bottom:-4px}._bsy-mobile-gantt__sticky-label_1gpx8_87{box-sizing:border-box;flex-shrink:0;align-items:center;height:100%;padding-right:10px;display:flex}._bsy-mobile-gantt__sticky-label-text_1gpx8_95{white-space:nowrap;color:var(--bsy-mobile-gantt-color-text,#030303);font-size:14px;position:sticky;left:10px}._bsy-mobile-gantt__toolbar_1gpx8_102{--bsy-mobile-gantt-toolbar-fill:var(--bsy-mobile-gantt-toolbar-bg,var(--bsy-mobile-gantt-color-bg-container,#fff));background:linear-gradient(to right, transparent 0%, var(--bsy-mobile-gantt-toolbar-fill) 12px, var(--bsy-mobile-gantt-toolbar-fill) 100%);z-index:2;align-items:center;gap:6px;height:44px;padding-left:16px;padding-right:10px;display:flex;position:absolute;top:0;right:0}._bsy-mobile-gantt__toolbar-zoom_1gpx8_119,._bsy-mobile-gantt__toolbar-today_1gpx8_119,._bsy-mobile-gantt__toolbar-nav_1gpx8_119{cursor:pointer;-webkit-user-select:none;user-select:none;background:0 0;border:none;padding:0}._bsy-mobile-gantt__toolbar-zoom_1gpx8_119{white-space:nowrap;color:var(--bsy-mobile-gantt-color-primary,#666);align-items:center;gap:4px;font-size:14px;display:flex}._bsy-mobile-gantt__toolbar-zoom_1gpx8_119 svg{color:var(--bsy-mobile-gantt-toolbar-icon-color,var(--bsy-mobile-gantt-color-text-secondary,#666))}._bsy-mobile-gantt__toolbar-divider_1gpx8_137{background:var(--bsy-mobile-gantt-color-border,#e0e0e0);flex-shrink:0;width:1px;height:14px}._bsy-mobile-gantt__toolbar-today_1gpx8_119{white-space:nowrap;color:var(--bsy-mobile-gantt-color-primary,#666);border-radius:4px;padding:3px 5px;font-size:14px}._bsy-mobile-gantt__toolbar-today_1gpx8_119:active{background:var(--bsy-mobile-gantt-toolbar-today-hover-bg,#f5f5f5)}._bsy-mobile-gantt__toolbar-nav_1gpx8_119{width:26px;height:26px;color:var(--bsy-mobile-gantt-toolbar-icon-color,var(--bsy-mobile-gantt-color-text-secondary,#666));border-radius:4px;justify-content:center;align-items:center;display:flex}._bsy-mobile-gantt__toolbar-nav_1gpx8_119:active{background:var(--bsy-mobile-gantt-toolbar-today-hover-bg,#f5f5f5);color:var(--bsy-mobile-gantt-toolbar-icon-hover-color,var(--bsy-mobile-gantt-color-primary,#0265ff))}._bsy-mobile-gantt__chevron_1gpx8_166{color:inherit;display:block}._bsy-mobile-gantt__chevron--left_1gpx8_170{transform:rotate(90deg)}._bsy-mobile-gantt__chevron--right_1gpx8_173{transform:rotate(-90deg)}._bsy-mobile-gantt__timeline_1gpx8_176{-webkit-overflow-scrolling:touch;scrollbar-width:none;flex:1;min-width:100%;overflow:hidden auto}._bsy-mobile-gantt__timeline_1gpx8_176::-webkit-scrollbar{display:none}._bsy-mobile-gantt__timeline-inner_1gpx8_187{min-height:100%;position:relative}._bsy-mobile-gantt__column_1gpx8_191{box-sizing:border-box;border-right:1px solid var(--bsy-mobile-gantt-color-split,#e0e0e0);pointer-events:none;will-change:transform;background:0 0;height:100%;position:absolute;top:0;left:0}._bsy-mobile-gantt__column--weekend_1gpx8_202{background:var(--bsy-mobile-gantt-color-bg-weekend,#fafafa)}._bsy-mobile-gantt__today-line_1gpx8_205{background:var(--bsy-mobile-gantt-color-today-line,#0265ff33);pointer-events:none;z-index:2;height:100%;position:absolute;top:0}._bsy-mobile-gantt__bar_1gpx8_213{cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;position:absolute;overflow:visible}._bsy-mobile-gantt__bar-track_1gpx8_220,._bsy-mobile-gantt__bar-progress_1gpx8_220{border-radius:4px;height:100%;position:absolute;top:0;left:0}._bsy-mobile-gantt__bar-track_1gpx8_220{width:100%}._bsy-mobile-gantt__bar-label_1gpx8_230{white-space:nowrap;text-overflow:ellipsis;pointer-events:none;font-size:12px;position:absolute;top:50%;overflow:hidden;transform:translateY(-50%)}._bsy-mobile-gantt__bar-label-overlay_1gpx8_240{white-space:nowrap;text-overflow:ellipsis;pointer-events:none;z-index:4;height:26px;font-size:12px;line-height:26px;position:absolute;left:4px;overflow:hidden}._bsy-mobile-gantt__offscreen_1gpx8_252{pointer-events:none;z-index:11;width:100%;height:100%;position:absolute;top:0;left:0}._bsy-mobile-gantt__offscreen-layer_1gpx8_261{width:100%;height:100%;transform:translateY(var(--gantt-overlay-translate-y,0px));will-change:transform;pointer-events:none;position:absolute;top:0;left:0}._bsy-mobile-gantt__offscreen-row_1gpx8_271{pointer-events:none;align-items:center;width:100%;display:flex;position:absolute;left:0}._bsy-mobile-gantt__offscreen-arrow_1gpx8_279{background:var(--bsy-mobile-gantt-arrow-bg,#eff0f6);z-index:10;cursor:pointer;-webkit-user-select:none;user-select:none;pointer-events:auto;touch-action:manipulation;-webkit-tap-highlight-color:transparent;width:24px;height:24px;color:var(--bsy-mobile-gantt-color-text-secondary,#666);border:none;border-radius:5px;justify-content:center;align-items:center;margin-left:0;padding:0;animation:.14s ease-out _bsy-mobile-gantt-arrow-enter_1gpx8_1;display:flex;position:sticky}._bsy-mobile-gantt__offscreen-arrow--right_1gpx8_300{margin-left:auto}._bsy-mobile-gantt__offscreen-arrow_1gpx8_279:active{background:var(--bsy-mobile-gantt-color-primary,#e0e2ef)}@keyframes _bsy-mobile-gantt-arrow-enter_1gpx8_1{0%{opacity:0;transform:scale(.92)}to{opacity:1;transform:scale(1)}}
1
+ ._bsy-icon_gwzb9_1{vertical-align:-.15em;fill:currentColor;width:1em;height:1em;display:inline-block;overflow:hidden}._bsy-mobile-amap_1j885_1{width:100%;height:100%;position:relative}._bsy-mobile-amap__canvas_1j885_6{width:100%;height:100%}._bsy-mobile-amap__controls_8fnp9_1{z-index:100;flex-direction:column;gap:10px;display:flex;position:absolute;top:60px;right:10px}._bsy-mobile-amap__control-btn_wwc06_1{cursor:pointer;background:#fff;border:none;border-radius:4px;justify-content:center;align-items:center;width:40px;height:40px;padding:0;display:flex;box-shadow:0 0 16px #0000001a}._bsy-mobile-amap__control-btn_wwc06_1:active{background:#f7f7f7}._bsy-mobile-amap__poi_138ca_1{z-index:120;pointer-events:none;position:absolute;top:10px;left:10px;right:10px}._bsy-mobile-amap__poi-box_138ca_9{pointer-events:auto;box-sizing:border-box;background:#fff;border:1px solid #0000;border-radius:4px;justify-content:space-between;align-items:center;width:100%;height:36px;padding:5px 10px;transition:border-color .25s;display:flex;box-shadow:0 0 16px #0000001a}._bsy-mobile-amap__poi-box_138ca_9:focus-within{border-color:#0265ff}._bsy-mobile-amap__poi-input_138ca_27{color:#121111;background:0 0;border:none;outline:none;flex:1;min-width:0;height:20px;padding:0;font-size:14px;line-height:20px}._bsy-mobile-amap__poi-input_138ca_27::placeholder{color:#999}._bsy-mobile-amap__poi-clear_138ca_42{color:#666;background:0 0;border:none;justify-content:center;align-items:center;padding:0;display:flex}._bsy-mobile-amap__poi-dropdown_138ca_51{opacity:0;pointer-events:none;grid-template-rows:0fr;margin-top:0;transition:opacity .24s,margin-top .24s;display:grid}._bsy-mobile-amap__poi-dropdown--open_138ca_59{opacity:1;pointer-events:auto;grid-template-rows:1fr;margin-top:6px}._bsy-mobile-amap__poi-dropdown--closing_138ca_65{opacity:1;pointer-events:none;grid-template-rows:1fr;margin-top:6px}._bsy-mobile-amap__poi-dropdown-clip_138ca_71{min-height:0;overflow:hidden}._bsy-mobile-amap__poi-panel_138ca_75{transform-origin:top;will-change:transform, opacity;background:#fff;border-radius:4px;transition:transform .24s,opacity .24s;box-shadow:0 0 16px #0000001a}._bsy-mobile-amap__poi-list_138ca_83{padding:4px;overflow:hidden auto}._bsy-mobile-amap__poi-option_138ca_88{text-align:left;cursor:pointer;background:0 0;border:none;border-radius:4px;align-items:center;width:100%;min-height:50px;padding:0 10px;display:flex}._bsy-mobile-amap__poi-option_138ca_88:active{background:#eff0f6}._bsy-mobile-amap__poi-option-body_138ca_103{align-items:center;gap:10px;width:100%;min-width:0;display:flex}._bsy-mobile-amap__poi-title-wrap_138ca_110{flex-shrink:0;align-items:center;gap:6px;min-width:0;display:flex}._bsy-mobile-amap__poi-title_138ca_110{color:#121111;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:14px;line-height:20px;overflow:hidden}._bsy-mobile-amap__poi-address_138ca_126{color:#666;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:12px;line-height:17px;overflow:hidden}._bsy-mobile-amap__poi-highlight_138ca_136{color:#0265ff}._bsy-mobile-amap__poi-status_138ca_139{color:#999;justify-content:center;align-items:center;padding:20px 0;font-size:14px;line-height:20px;display:flex}._bsy-mobile-popup_103dr_2{z-index:1000;pointer-events:none;position:fixed;inset:0}._bsy-mobile-popup__mask_103dr_8{opacity:0;pointer-events:auto;background:#00000073;border:none;padding:0;transition:opacity .38s;position:absolute;inset:0}._bsy-mobile-popup__panel_103dr_19{pointer-events:auto;will-change:transform;background:#fff;flex-direction:column;transition:transform .5s cubic-bezier(.32,.72,0,1);display:flex;position:absolute;left:0;right:0;overflow:hidden}._bsy-mobile-popup--bottom_103dr_32 ._bsy-mobile-popup__panel_103dr_19{padding-bottom:max(env(safe-area-inset-bottom,0px), var(--safe-area-inset-bottom,0px));bottom:0;transform:translateY(100%)}._bsy-mobile-popup--top_103dr_37 ._bsy-mobile-popup__panel_103dr_19{padding-top:max(env(safe-area-inset-top,0px), var(--safe-area-inset-top,0px));top:0;transform:translateY(-100%)}._bsy-mobile-popup--round_103dr_42 ._bsy-mobile-popup__panel_103dr_19{border-radius:20px 20px 0 0}._bsy-mobile-popup--open_103dr_45 ._bsy-mobile-popup__mask_103dr_8{opacity:1}._bsy-mobile-popup--open_103dr_45 ._bsy-mobile-popup__panel_103dr_19{transform:translate(0,0)}._bsy-mobile-action-sheet_o2a6g_1{flex-direction:column;width:100%;min-height:0;max-height:78vh;display:flex;overflow:hidden}._bsy-mobile-action-sheet__header_o2a6g_9{box-sizing:border-box;border-bottom:1px solid #e0e0e0;flex-shrink:0;justify-content:space-between;align-items:flex-start;height:56px;padding:19px 10px 0;display:flex}._bsy-mobile-action-sheet__title_o2a6g_19{text-overflow:ellipsis;white-space:nowrap;color:#030303;flex:1;min-width:0;font-size:18px;font-weight:700;line-height:18px;overflow:hidden}._bsy-mobile-action-sheet__close_o2a6g_30{color:#666;cursor:pointer;-webkit-tap-highlight-color:transparent;background:0 0;border:none;flex-shrink:0;justify-content:center;align-items:center;width:18px;height:18px;padding:0;display:flex}._bsy-mobile-action-sheet__body_o2a6g_44{-webkit-overflow-scrolling:touch;min-height:0;overflow-y:auto}._bsy-mobile-action-sheet__list_o2a6g_49{padding:10px 12px 12px}._bsy-mobile-action-sheet--menu_o2a6g_52 ._bsy-mobile-action-sheet__item_o2a6g_52{justify-content:center}._bsy-mobile-action-sheet--menu_o2a6g_52 ._bsy-mobile-action-sheet__item_o2a6g_52:active:not(:disabled){background:#eff0f6}._bsy-mobile-action-sheet__item_o2a6g_52{color:#030303;text-align:left;cursor:pointer;-webkit-tap-highlight-color:transparent;background:#fff;border:none;border-radius:4px;justify-content:space-between;align-items:center;width:100%;height:50px;padding:5px 10px;display:flex}._bsy-mobile-action-sheet__item_o2a6g_52:active:not(:disabled){background:#f3f3f3}._bsy-mobile-action-sheet__item--selected_o2a6g_76{color:#0265ff}._bsy-mobile-action-sheet__item--disabled_o2a6g_79{color:#bbb;cursor:not-allowed}._bsy-mobile-action-sheet__item-inner_o2a6g_83{align-items:center;gap:6px;min-width:0;display:flex}._bsy-mobile-action-sheet--select_o2a6g_89 ._bsy-mobile-action-sheet__item-inner_o2a6g_83{flex:1}._bsy-mobile-action-sheet__item-icon_o2a6g_92{width:16px;height:16px;color:inherit;flex-shrink:0;justify-content:center;align-items:center;display:flex}._bsy-mobile-action-sheet__item-label_o2a6g_101{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:15px;font-weight:400;line-height:22px;overflow:hidden}._bsy-mobile-action-sheet__check_o2a6g_110{color:#0265ff;flex-shrink:0;justify-content:center;align-items:center;width:16px;height:16px;display:flex}._bsy-mobile-calendar_1c2fd_1{box-sizing:border-box;width:100%;min-width:0;height:100%;min-height:320px;color:var(--bsy-mobile-calendar-title-color,#121111);background-color:var(--bsy-mobile-calendar-background-color,#fff);background-image:var(--bsy-mobile-calendar-background-image,none);background-position:var(--bsy-mobile-calendar-background-position,center center);background-size:var(--bsy-mobile-calendar-background-size,auto);background-repeat:var(--bsy-mobile-calendar-background-repeat,no-repeat);flex-direction:column;font-size:14px;line-height:1.5;display:flex;overflow:hidden}._bsy-mobile-calendar__body_1c2fd_19{flex:1;min-height:0;overflow:hidden}._bsy-mobile-calendar-header_arzu9_1{flex-shrink:0;justify-content:space-between;align-items:center;gap:8px;min-width:0;height:44px;padding:0 10px;font-size:14px;display:flex}._bsy-mobile-calendar-header__left_arzu9_12{align-items:center;gap:10px;min-width:0;display:flex}._bsy-mobile-calendar-header__year-month_arzu9_18{color:var(--bsy-mobile-calendar-title-color,#121211);font-size:16px;font-weight:700}._bsy-mobile-calendar-header__today_arzu9_23{color:var(--bsy-mobile-calendar-title-color,#121111);cursor:pointer;background:0 0;border:none;align-items:center;padding:0 10px;display:flex}._bsy-mobile-calendar-segmented_arzu9_33{background:var(--bsy-mobile-calendar-header-background,#f2f3f5);border-radius:6px;padding:2px;display:inline-flex}._bsy-mobile-calendar-segmented__item_arzu9_39{min-width:40px;height:28px;color:var(--bsy-mobile-calendar-title-color,#666);cursor:pointer;background:0 0;border:none;border-radius:4px;padding:0 10px;font-size:13px}._bsy-mobile-calendar-segmented__item--active_arzu9_50{background:var(--bsy-mobile-calendar-highlight-color,#fff);color:var(--bsy-mobile-calendar-segmented-active-color,var(--bsy-mobile-calendar-title-color,#121111));font-weight:500;box-shadow:0 1px 2px #0000000f}._bsy-mobile-calendar-month_1t8o8_1{flex-direction:column;height:100%;display:flex}._bsy-mobile-calendar-weekday-header_1t8o8_7{flex-shrink:0;height:34px;padding-bottom:10px;display:flex}._bsy-mobile-calendar-weekday-header__item_1t8o8_13{color:var(--bsy-mobile-calendar-title-color,#121111);flex:1;padding-left:10px;font-size:14px;line-height:24px}._bsy-mobile-calendar-carousel_1t8o8_21{touch-action:pan-y;border-top:1px solid var(--bsy-mobile-calendar-border-color,#e0e0e0);flex:1;position:relative;overflow:hidden}._bsy-mobile-calendar-month-slide_1t8o8_29{flex-direction:column;width:100%;height:100%;display:flex}._bsy-mobile-calendar-week-row_1t8o8_36{border-bottom:1px solid var(--bsy-mobile-calendar-border-color,#e0e0e0);flex:1;min-height:48px;position:relative}._bsy-mobile-calendar-week-row_1t8o8_36:last-child{border-bottom:none}._bsy-mobile-calendar-week-row__cells_1t8o8_45{height:100%;display:flex}._bsy-mobile-calendar-day-cell_1t8o8_50{flex-direction:column;flex:1;display:flex;position:relative}._bsy-mobile-calendar-day-cell__header_1t8o8_56{justify-content:flex-start;align-items:center;height:24px;padding-left:10px;display:flex;position:relative}._bsy-mobile-calendar-day-cell__body_1t8o8_64{flex:1;overflow:auto}._bsy-mobile-calendar-day-cell__text_1t8o8_68{width:24px;height:24px;color:var(--bsy-mobile-calendar-title-color,#121111);border-radius:50%;font-size:14px;font-weight:700;line-height:24px}._bsy-mobile-calendar-day-cell__text--today_1t8o8_77{background-color:var(--bsy-mobile-calendar-highlight-color,#0265ff);color:var(--bsy-mobile-calendar-highlight-text-color,#fff);text-align:center;font-weight:500}._bsy-mobile-calendar-day-cell__text--other_1t8o8_83{color:var(--bsy-mobile-calendar-over-title-color,#666)}._bsy-mobile-calendar-day-cell__badge_1t8o8_86{background-color:var(--bsy-mobile-calendar-header-background,#eff0f6);color:var(--bsy-mobile-calendar-title-color,#121111);border-radius:4px;justify-content:center;align-items:center;min-width:22px;height:14px;margin-left:4px;padding:0 2px;font-size:10px;display:flex;position:absolute;right:0}._bsy-mobile-calendar-week-events_1t8o8_102{pointer-events:none;position:absolute;inset:0}._bsy-mobile-calendar-week-events_1t8o8_102>*{pointer-events:auto}._bsy-mobile-calendar-week-events__segment_1t8o8_113{position:absolute}._bsy-mobile-calendar-event-card_v4uo1_1{border-left:2px solid var(--bsy-mobile-calendar-color,#0265ff);text-overflow:ellipsis;white-space:nowrap;cursor:pointer;box-sizing:border-box;color:var(--bsy-mobile-calendar-title-color,#121111);background-color:var(--bsy-mobile-calendar-bg,#eff5ff);padding-left:4px;padding-right:4px;font-size:12px;overflow:hidden}._bsy-mobile-calendar-event-card_v4uo1_1:active{background-color:var(--bsy-mobile-calendar-hover,#d9e8ff)}._bsy-mobile-calendar-event-card--timed_v4uo1_17{white-space:normal;text-overflow:clip;border-left-width:3px;border-radius:4px;flex-direction:column;justify-content:flex-start;align-items:flex-start;padding-top:2px;padding-bottom:2px;line-height:normal;display:flex}._bsy-mobile-calendar-event-card--start_v4uo1_30{border-top-left-radius:2px;border-bottom-left-radius:2px}._bsy-mobile-calendar-event-card--end_v4uo1_34{border-top-right-radius:2px;border-bottom-right-radius:2px}._bsy-mobile-calendar-event-card--continue_v4uo1_38{border-left:none;padding-left:4px}._bsy-mobile-calendar-event-card__timed-body_v4uo1_42{max-width:100%;overflow:hidden}._bsy-mobile-calendar-event-card__title_v4uo1_46{text-overflow:ellipsis;white-space:nowrap;width:100%;font-size:12px;line-height:16px;overflow:hidden}._bsy-mobile-calendar-event-card__time_v4uo1_42{color:var(--bsy-mobile-calendar-title-color,#121111);text-overflow:ellipsis;white-space:nowrap;width:100%;font-size:11px;line-height:14px;overflow:hidden}._bsy-mobile-calendar-day_dugny_1{flex-direction:column;height:100%;display:flex;overflow:hidden}._bsy-mobile-calendar-day__header-wrap_dugny_7{flex-shrink:0;box-shadow:0 4px 4px #0000000f}._bsy-mobile-calendar-day__header_dugny_7{height:78px;display:flex}._bsy-mobile-calendar-day__tz_dugny_15{width:56px;color:var(--bsy-mobile-calendar-specifically-color,#999);flex-shrink:0;justify-content:center;align-items:flex-end;padding-bottom:18px;font-size:12px;display:flex}._bsy-mobile-calendar-day__body_dugny_25{flex:1;overflow:hidden auto}._bsy-mobile-calendar-day__time-grid_dugny_30{display:flex;position:relative}._bsy-mobile-calendar-day__time-col_dugny_34{flex-shrink:0;width:56px;position:relative}._bsy-mobile-calendar-day__time-label_dugny_39{width:100%;color:var(--bsy-mobile-calendar-title-color,#121111);text-align:center;font-size:12px;position:absolute;transform:translateY(-50%)}._bsy-mobile-calendar-day__content-col_dugny_47{border-left:1px solid var(--bsy-mobile-calendar-border-color,#e0e0e0);flex:1;position:relative}._bsy-mobile-calendar-day__hour-cell_dugny_52{border-top:1px solid var(--bsy-mobile-calendar-border-color,#e0e0e0);height:60px;position:relative}._bsy-mobile-calendar-day__timed-layer_dugny_57{pointer-events:none;z-index:2;position:absolute;inset:20px 0 0}._bsy-mobile-calendar-day__timed-layer_dugny_57>*{pointer-events:auto}._bsy-mobile-calendar-day__timed-item_dugny_69{box-sizing:border-box;padding-right:2px;position:absolute}._bsy-mobile-calendar-week-carousel_dugny_75{touch-action:pan-y;flex:1;overflow:hidden}._bsy-mobile-calendar-week-slide_dugny_81{flex-direction:column;flex-shrink:0;display:flex}._bsy-mobile-calendar-week-slide__weekdays_dugny_86{align-items:center;height:34px;display:flex}._bsy-mobile-calendar-week-slide__dates_dugny_91{align-items:center;display:flex}._bsy-mobile-calendar-week-slide__weekday_dugny_86{color:var(--bsy-mobile-calendar-title-color,#121111);flex:1;justify-content:center;align-items:center;font-size:14px;display:flex}._bsy-mobile-calendar-week-slide__weekday--today_dugny_103{color:var(--bsy-mobile-calendar-highlight-color,#0265ff)}._bsy-mobile-calendar-week-slide__weekday--past_dugny_106{color:var(--bsy-mobile-calendar-over-title-color,#666)}._bsy-mobile-calendar-week-slide__weekday--future_dugny_109{color:var(--bsy-mobile-calendar-title-color,#121111)}._bsy-mobile-calendar-week-slide__date-item_dugny_112{flex:1;justify-content:center;align-items:center;display:flex}._bsy-mobile-calendar-week-slide__date-circle_dugny_118{border-radius:50%;justify-content:center;align-items:center;width:34px;height:34px;font-size:16px;font-weight:700;display:flex}._bsy-mobile-calendar-week-slide__date-circle--today_dugny_128{background-color:var(--bsy-mobile-calendar-highlight-color,#0265ff);color:var(--bsy-mobile-calendar-highlight-text-color,#fff)}._bsy-mobile-calendar-week-slide__date-circle--today-idle_dugny_132{color:var(--bsy-mobile-calendar-highlight-color,#0265ff);background-color:#0000}._bsy-mobile-calendar-week-slide__date-circle--past_dugny_136{color:var(--bsy-mobile-calendar-over-title-color,#666)}._bsy-mobile-calendar-week-slide__date-circle--future_dugny_139{color:var(--bsy-mobile-calendar-title-color,#121111)}._bsy-mobile-calendar-week-slide__date-circle--selected_dugny_142{background-color:var(--bsy-mobile-calendar-header-background,#eff0f6)}._bsy-mobile-calendar-now-line_dugny_146{z-index:3;pointer-events:none;background-color:#f24848;height:1px;position:absolute;left:0;right:0}._bsy-mobile-calendar-now-dot_dugny_156{background-color:#f24848;border-radius:50%;width:6px;height:6px;position:absolute;top:-2.5px;left:-3px}._bsy-mobile-calendar-allday_dugny_166{transition:height .3s ease-in-out;overflow:hidden}._bsy-mobile-calendar-allday__content_dugny_170{flex-direction:column;gap:4px;padding:6px 10px 6px 60px;display:flex}._bsy-mobile-calendar-allday__list_dugny_176{gap:4px;display:grid}._bsy-mobile-calendar-allday__expand_dugny_180{color:var(--bsy-mobile-calendar-more-record-color,#666);cursor:pointer;align-items:center;gap:6px;padding:4px 0;font-size:12px;display:flex}._bsy-mobile-calendar-threeday_1alic_1{flex-direction:column;height:100%;display:flex;overflow:hidden}._bsy-mobile-calendar-threeday__header-wrap_1alic_7{flex-shrink:0;box-shadow:0 4px 4px #0000000f}._bsy-mobile-calendar-threeday__header_1alic_7{height:68px;display:flex}._bsy-mobile-calendar-threeday__tz_1alic_15{flex-direction:column;flex-shrink:0;width:56px;display:flex}._bsy-mobile-calendar-threeday__tz-empty_1alic_21{height:34px}._bsy-mobile-calendar-threeday__tz-label_1alic_24{height:34px;color:var(--bsy-mobile-calendar-specifically-color,#999);justify-content:center;align-items:center;font-size:12px;display:flex}._bsy-mobile-calendar-threeday__dates_1alic_32{touch-action:pan-y;flex:1;position:relative;overflow:hidden}._bsy-mobile-calendar-threeday__dates-track_1alic_38{will-change:transform;height:100%;display:flex}._bsy-mobile-calendar-threeday__date-col_1alic_43{flex-direction:column;flex-shrink:0;align-items:flex-start;padding-left:10px;display:flex}._bsy-mobile-calendar-threeday__weekday_1alic_50{color:var(--bsy-mobile-calendar-title-color,#121111);font-size:14px;line-height:34px}._bsy-mobile-calendar-threeday__weekday--today_1alic_55{color:var(--bsy-mobile-calendar-highlight-color,#0265ff)}._bsy-mobile-calendar-threeday__weekday--past_1alic_58{color:var(--bsy-mobile-calendar-over-title-color,#666)}._bsy-mobile-calendar-threeday__date-num_1alic_61{color:var(--bsy-mobile-calendar-over-title-color,#666);font-size:18px;font-weight:700;line-height:34px;display:flex}._bsy-mobile-calendar-threeday__date-num--today_1alic_68{color:var(--bsy-mobile-calendar-highlight-color,#0265ff)}._bsy-mobile-calendar-threeday__date-num--past_1alic_71{color:var(--bsy-mobile-calendar-over-title-color,#666)}._bsy-mobile-calendar-threeday__date-num--future_1alic_74{color:var(--bsy-mobile-calendar-title-color,#121111)}._bsy-mobile-calendar-threeday__allday_1alic_77{min-height:0;padding-left:56px;transition:height .4s cubic-bezier(.25,.8,.25,1);display:flex;position:relative;overflow:hidden}._bsy-mobile-calendar-threeday__allday-area_1alic_85{touch-action:pan-y;flex:1;position:relative;overflow:hidden}._bsy-mobile-calendar-threeday__allday-track_1alic_91{will-change:transform;display:flex;position:relative}._bsy-mobile-calendar-threeday__allday-card_1alic_96{box-sizing:border-box;height:22px;transition:none;position:absolute;top:4px;overflow:hidden}._bsy-mobile-calendar-threeday__expand-btn_1alic_104{color:var(--bsy-mobile-calendar-more-record-color,#666);box-sizing:border-box;cursor:pointer;align-items:center;gap:4px;height:22px;font-size:12px;display:flex;position:absolute}._bsy-mobile-calendar-threeday__collapse_1alic_115{cursor:pointer;z-index:2;justify-content:center;align-items:center;width:56px;height:26px;display:flex;position:absolute;bottom:10px;left:0}._bsy-mobile-calendar-threeday__body_1alic_127{flex:1;overflow:hidden auto}._bsy-mobile-calendar-threeday__body-content_1alic_132{display:flex;position:relative}._bsy-mobile-calendar-threeday__body-time_1alic_136{flex-shrink:0;width:56px;position:relative}._bsy-mobile-calendar-threeday__body-time_1alic_136:after{content:"";background-color:var(--bsy-mobile-calendar-border-color,#e0e0e0);width:1px;position:absolute;top:0;bottom:0;right:0}._bsy-mobile-calendar-threeday__time-label_1alic_150{width:100%;color:var(--bsy-mobile-calendar-title-color,#121111);text-align:center;font-size:12px;position:absolute;transform:translateY(-50%)}._bsy-mobile-calendar-threeday__grid_1alic_158{touch-action:pan-y;flex:1;padding:0 4px;position:relative;overflow:hidden}._bsy-mobile-calendar-threeday__grid-track_1alic_165{will-change:transform;height:1460px;display:flex}._bsy-mobile-calendar-threeday__day-col_1alic_170{flex-shrink:0;position:relative}._bsy-mobile-calendar-threeday__hour-cell_1alic_174{border-top:1px solid var(--bsy-mobile-calendar-border-color,#e0e0e0);height:60px;position:relative}._bsy-mobile-calendar-threeday__timed-layer_1alic_179{pointer-events:none;z-index:2;position:absolute;inset:20px 0 0;overflow:hidden}._bsy-mobile-calendar-threeday__timed-layer_1alic_179>*{pointer-events:auto}._bsy-mobile-calendar-threeday__timed-item_1alic_192{box-sizing:border-box;padding-right:2px;position:absolute}._bsy-mobile-calendar-threeday__now-line_1alic_197{z-index:3;pointer-events:none;background-color:#f24848;height:1px;position:absolute;left:3px;right:3px}._bsy-mobile-calendar-threeday__now-dot_1alic_206{background-color:#f24848;border-radius:50%;width:6px;height:6px;position:absolute;top:-2.5px;left:0}._bsy-mobile-gantt_1gpx8_1{box-sizing:border-box;width:100%;min-width:0;height:100%;min-height:240px;color:var(--bsy-mobile-gantt-color-text,#1f2329);background:var(--bsy-mobile-gantt-color-bg-container,#fff);border:1px solid var(--bsy-mobile-gantt-color-border,#e0e0e0);border-radius:4px;flex-direction:column;font-size:14px;line-height:1.5;display:flex;position:relative;overflow:hidden}._bsy-mobile-gantt__scroll_1gpx8_18{-webkit-overflow-scrolling:touch;scrollbar-width:none;height:100%;overflow:auto hidden}._bsy-mobile-gantt__scroll_1gpx8_18::-webkit-scrollbar{display:none}._bsy-mobile-gantt__canvas_1gpx8_28{flex-direction:column;min-width:100%;height:100%;display:flex}._bsy-mobile-gantt__overlay-host_1gpx8_34{pointer-events:none;z-index:3;position:absolute;bottom:0;left:0;right:0;overflow:hidden}._bsy-mobile-gantt__header_1gpx8_43{background:var(--bsy-mobile-gantt-color-bg-container,#fff);border-bottom:1px solid var(--bsy-mobile-gantt-color-border,#e0e0e0);flex-shrink:0;height:88px;position:relative}._bsy-mobile-gantt__header-row1_1gpx8_50{height:44px;display:flex}._bsy-mobile-gantt__header-row2_1gpx8_54{position:relative}._bsy-mobile-gantt__header-cell_1gpx8_57{box-sizing:border-box;position:absolute;top:0}._bsy-mobile-gantt__header-cell-label_1gpx8_62{text-align:center;width:100%;height:100%;color:var(--bsy-mobile-gantt-color-text-secondary,#666);text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:400;overflow:hidden}._bsy-mobile-gantt__header-cell-label--today_1gpx8_73{color:var(--bsy-mobile-gantt-color-primary,#0265ff);font-weight:600}._bsy-mobile-gantt__today-dot_1gpx8_77{background:var(--bsy-mobile-gantt-color-primary,#0265ff);pointer-events:none;z-index:1;border-radius:50%;width:8px;height:8px;position:absolute;bottom:-4px}._bsy-mobile-gantt__sticky-label_1gpx8_87{box-sizing:border-box;flex-shrink:0;align-items:center;height:100%;padding-right:10px;display:flex}._bsy-mobile-gantt__sticky-label-text_1gpx8_95{white-space:nowrap;color:var(--bsy-mobile-gantt-color-text,#030303);font-size:14px;position:sticky;left:10px}._bsy-mobile-gantt__toolbar_1gpx8_102{--bsy-mobile-gantt-toolbar-fill:var(--bsy-mobile-gantt-toolbar-bg,var(--bsy-mobile-gantt-color-bg-container,#fff));background:linear-gradient(to right, transparent 0%, var(--bsy-mobile-gantt-toolbar-fill) 12px, var(--bsy-mobile-gantt-toolbar-fill) 100%);z-index:2;align-items:center;gap:6px;height:44px;padding-left:16px;padding-right:10px;display:flex;position:absolute;top:0;right:0}._bsy-mobile-gantt__toolbar-zoom_1gpx8_119,._bsy-mobile-gantt__toolbar-today_1gpx8_119,._bsy-mobile-gantt__toolbar-nav_1gpx8_119{cursor:pointer;-webkit-user-select:none;user-select:none;background:0 0;border:none;padding:0}._bsy-mobile-gantt__toolbar-zoom_1gpx8_119{white-space:nowrap;color:var(--bsy-mobile-gantt-color-primary,#666);align-items:center;gap:4px;font-size:14px;display:flex}._bsy-mobile-gantt__toolbar-zoom_1gpx8_119 svg{color:var(--bsy-mobile-gantt-toolbar-icon-color,var(--bsy-mobile-gantt-color-text-secondary,#666))}._bsy-mobile-gantt__toolbar-divider_1gpx8_137{background:var(--bsy-mobile-gantt-color-border,#e0e0e0);flex-shrink:0;width:1px;height:14px}._bsy-mobile-gantt__toolbar-today_1gpx8_119{white-space:nowrap;color:var(--bsy-mobile-gantt-color-primary,#666);border-radius:4px;padding:3px 5px;font-size:14px}._bsy-mobile-gantt__toolbar-today_1gpx8_119:active{background:var(--bsy-mobile-gantt-toolbar-today-hover-bg,#f5f5f5)}._bsy-mobile-gantt__toolbar-nav_1gpx8_119{width:26px;height:26px;color:var(--bsy-mobile-gantt-toolbar-icon-color,var(--bsy-mobile-gantt-color-text-secondary,#666));border-radius:4px;justify-content:center;align-items:center;display:flex}._bsy-mobile-gantt__toolbar-nav_1gpx8_119:active{background:var(--bsy-mobile-gantt-toolbar-today-hover-bg,#f5f5f5);color:var(--bsy-mobile-gantt-toolbar-icon-hover-color,var(--bsy-mobile-gantt-color-primary,#0265ff))}._bsy-mobile-gantt__chevron_1gpx8_166{color:inherit;display:block}._bsy-mobile-gantt__chevron--left_1gpx8_170{transform:rotate(90deg)}._bsy-mobile-gantt__chevron--right_1gpx8_173{transform:rotate(-90deg)}._bsy-mobile-gantt__timeline_1gpx8_176{-webkit-overflow-scrolling:touch;scrollbar-width:none;flex:1;min-width:100%;overflow:hidden auto}._bsy-mobile-gantt__timeline_1gpx8_176::-webkit-scrollbar{display:none}._bsy-mobile-gantt__timeline-inner_1gpx8_187{min-height:100%;position:relative}._bsy-mobile-gantt__column_1gpx8_191{box-sizing:border-box;border-right:1px solid var(--bsy-mobile-gantt-color-split,#e0e0e0);pointer-events:none;will-change:transform;background:0 0;height:100%;position:absolute;top:0;left:0}._bsy-mobile-gantt__column--weekend_1gpx8_202{background:var(--bsy-mobile-gantt-color-bg-weekend,#fafafa)}._bsy-mobile-gantt__today-line_1gpx8_205{background:var(--bsy-mobile-gantt-color-today-line,#0265ff33);pointer-events:none;z-index:2;height:100%;position:absolute;top:0}._bsy-mobile-gantt__bar_1gpx8_213{cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;position:absolute;overflow:visible}._bsy-mobile-gantt__bar-track_1gpx8_220,._bsy-mobile-gantt__bar-progress_1gpx8_220{border-radius:4px;height:100%;position:absolute;top:0;left:0}._bsy-mobile-gantt__bar-track_1gpx8_220{width:100%}._bsy-mobile-gantt__bar-label_1gpx8_230{white-space:nowrap;text-overflow:ellipsis;pointer-events:none;font-size:12px;position:absolute;top:50%;overflow:hidden;transform:translateY(-50%)}._bsy-mobile-gantt__bar-label-overlay_1gpx8_240{white-space:nowrap;text-overflow:ellipsis;pointer-events:none;z-index:4;height:26px;font-size:12px;line-height:26px;position:absolute;left:4px;overflow:hidden}._bsy-mobile-gantt__offscreen_1gpx8_252{pointer-events:none;z-index:11;width:100%;height:100%;position:absolute;top:0;left:0}._bsy-mobile-gantt__offscreen-layer_1gpx8_261{width:100%;height:100%;transform:translateY(var(--gantt-overlay-translate-y,0px));will-change:transform;pointer-events:none;position:absolute;top:0;left:0}._bsy-mobile-gantt__offscreen-row_1gpx8_271{pointer-events:none;align-items:center;width:100%;display:flex;position:absolute;left:0}._bsy-mobile-gantt__offscreen-arrow_1gpx8_279{background:var(--bsy-mobile-gantt-arrow-bg,#eff0f6);z-index:10;cursor:pointer;-webkit-user-select:none;user-select:none;pointer-events:auto;touch-action:manipulation;-webkit-tap-highlight-color:transparent;width:24px;height:24px;color:var(--bsy-mobile-gantt-color-text-secondary,#666);border:none;border-radius:5px;justify-content:center;align-items:center;margin-left:0;padding:0;animation:.14s ease-out _bsy-mobile-gantt-arrow-enter_1gpx8_1;display:flex;position:sticky}._bsy-mobile-gantt__offscreen-arrow--right_1gpx8_300{margin-left:auto}._bsy-mobile-gantt__offscreen-arrow_1gpx8_279:active{background:var(--bsy-mobile-gantt-color-primary,#e0e2ef)}@keyframes _bsy-mobile-gantt-arrow-enter_1gpx8_1{0%{opacity:0;transform:scale(.92)}to{opacity:1;transform:scale(1)}}
2
2
  /*$vite$:1*/
@@ -1,6 +1,6 @@
1
1
  //#region src/version.ts
2
2
  if (typeof window < "u") {
3
3
  let e = window.__BSY_UI__ ??= {};
4
- e["@baishuyun/ui-mobile"] = "0.7.0";
4
+ e["@baishuyun/ui-mobile"] = "0.8.0";
5
5
  }
6
6
  //#endregion
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@baishuyun/ui-mobile",
3
- "version": "0.7.0",
3
+ "version": "0.8.0",
4
4
  "type": "module",
5
5
  "description": "百数云 H5 / Mobile UI 组件库",
6
6
  "author": "bsy-fe team",
@@ -65,7 +65,7 @@
65
65
  },
66
66
  "project": {
67
67
  "iconfont": {
68
- "scriptUrl": "https://at.alicdn.com/t/c/font_4786625_7yye49rghck.js"
68
+ "scriptUrl": "https://at.alicdn.com/t/c/font_4786625_ymyxnlj0j89.js"
69
69
  }
70
70
  },
71
71
  "scripts": {
@@ -1,133 +0,0 @@
1
- import { t as e } from "../Icon/Icon-CFvcrGGg.js";
2
- import { t } from "../ConfigProvider/useLocale-CP8NRZoj.js";
3
- import { useEffect as n, useId as r, useLayoutEffect as i, useRef as a, useState as o } from "react";
4
- import { createPortal as s } from "react-dom";
5
- import { jsx as c, jsxs as l } from "react/jsx-runtime";
6
- //#region src/components/ActionSheet/ActionSheet.module.scss
7
- var u = {
8
- "bsy-action-sheet": "_bsy-action-sheet_1uhjc_2",
9
- "bsy-action-sheet__mask": "_bsy-action-sheet__mask_1uhjc_8",
10
- "bsy-action-sheet__panel": "_bsy-action-sheet__panel_1uhjc_19",
11
- "bsy-action-sheet--open": "_bsy-action-sheet--open_1uhjc_36",
12
- "bsy-action-sheet__header": "_bsy-action-sheet__header_1uhjc_42",
13
- "bsy-action-sheet__title": "_bsy-action-sheet__title_1uhjc_52",
14
- "bsy-action-sheet__close": "_bsy-action-sheet__close_1uhjc_63",
15
- "bsy-action-sheet__body": "_bsy-action-sheet__body_1uhjc_77",
16
- "bsy-action-sheet__list": "_bsy-action-sheet__list_1uhjc_82",
17
- "bsy-action-sheet--menu": "_bsy-action-sheet--menu_1uhjc_85",
18
- "bsy-action-sheet__item": "_bsy-action-sheet__item_1uhjc_85",
19
- "bsy-action-sheet__item--selected": "_bsy-action-sheet__item--selected_1uhjc_109",
20
- "bsy-action-sheet__item--disabled": "_bsy-action-sheet__item--disabled_1uhjc_112",
21
- "bsy-action-sheet__item-inner": "_bsy-action-sheet__item-inner_1uhjc_116",
22
- "bsy-action-sheet--select": "_bsy-action-sheet--select_1uhjc_122",
23
- "bsy-action-sheet__item-icon": "_bsy-action-sheet__item-icon_1uhjc_125",
24
- "bsy-action-sheet__item-label": "_bsy-action-sheet__item-label_1uhjc_134",
25
- "bsy-action-sheet__check": "_bsy-action-sheet__check_1uhjc_143"
26
- }, d = (...e) => e.filter(Boolean).join(" "), f = ({ open: f, onClose: p, mode: m = "select", title: h, actions: g, onAction: _, children: v, zIndex: y = 1e3, getPopupContainer: b, className: x }) => {
27
- let { t: S } = t(), C = r(), [w, T] = o(f), [E, D] = o(!1), O = a(!1), k = a({
28
- title: h,
29
- actions: g,
30
- children: v,
31
- mode: m
32
- });
33
- f && (k.current = {
34
- title: h,
35
- actions: g,
36
- children: v,
37
- mode: m
38
- });
39
- let A = k.current, j = A.mode === "menu";
40
- n(() => {
41
- if (f) {
42
- T(!0);
43
- return;
44
- }
45
- D(!1), O.current || T(!1);
46
- }, [f]), i(() => {
47
- if (!w || !f) return;
48
- let e = 0, t = requestAnimationFrame(() => {
49
- e = requestAnimationFrame(() => {
50
- O.current = !0, D(!0);
51
- });
52
- });
53
- return () => {
54
- cancelAnimationFrame(t), cancelAnimationFrame(e);
55
- };
56
- }, [w, f]), n(() => {
57
- if (!w) return;
58
- let e = document.body.style.overflow;
59
- return document.body.style.overflow = "hidden", () => {
60
- document.body.style.overflow = e;
61
- };
62
- }, [w]);
63
- let M = typeof document > "u" ? null : b?.() || document.body;
64
- if (!w || !M) return null;
65
- let N = A.children !== void 0 && A.children !== null, P = S("actionSheet.close");
66
- return s(/* @__PURE__ */ l("div", {
67
- className: d(u["bsy-action-sheet"], j ? u["bsy-action-sheet--menu"] : u["bsy-action-sheet--select"], E && f && u["bsy-action-sheet--open"], x),
68
- style: { zIndex: y },
69
- children: [/* @__PURE__ */ c("button", {
70
- type: "button",
71
- className: u["bsy-action-sheet__mask"],
72
- "aria-label": P,
73
- onClick: p
74
- }), /* @__PURE__ */ l("div", {
75
- className: u["bsy-action-sheet__panel"],
76
- role: "dialog",
77
- "aria-modal": "true",
78
- "aria-labelledby": A.title !== void 0 && A.title !== null ? C : void 0,
79
- onTransitionEnd: (e) => {
80
- e.propertyName === "transform" && (f || (O.current = !1, T(!1)));
81
- },
82
- children: [/* @__PURE__ */ l("div", {
83
- className: u["bsy-action-sheet__header"],
84
- children: [/* @__PURE__ */ c("div", {
85
- id: C,
86
- className: u["bsy-action-sheet__title"],
87
- children: A.title
88
- }), /* @__PURE__ */ c("button", {
89
- type: "button",
90
- className: u["bsy-action-sheet__close"],
91
- "aria-label": P,
92
- onClick: p,
93
- children: /* @__PURE__ */ c(e, {
94
- name: "close",
95
- size: 18
96
- })
97
- })]
98
- }), /* @__PURE__ */ c("div", {
99
- className: u["bsy-action-sheet__body"],
100
- children: N ? A.children : /* @__PURE__ */ c("div", {
101
- className: u["bsy-action-sheet__list"],
102
- children: A.actions?.map((t) => /* @__PURE__ */ l("button", {
103
- type: "button",
104
- disabled: t.disabled,
105
- className: d(u["bsy-action-sheet__item"], !j && t.selected && u["bsy-action-sheet__item--selected"], t.disabled && u["bsy-action-sheet__item--disabled"]),
106
- style: j && !t.disabled && t.color ? { color: t.color } : void 0,
107
- onClick: () => {
108
- _?.(t), p();
109
- },
110
- children: [/* @__PURE__ */ l("span", {
111
- className: u["bsy-action-sheet__item-inner"],
112
- children: [j && t.icon ? /* @__PURE__ */ c("span", {
113
- className: u["bsy-action-sheet__item-icon"],
114
- children: t.icon
115
- }) : null, /* @__PURE__ */ c("span", {
116
- className: u["bsy-action-sheet__item-label"],
117
- children: t.text
118
- })]
119
- }), !j && t.selected ? /* @__PURE__ */ c("span", {
120
- className: u["bsy-action-sheet__check"],
121
- children: /* @__PURE__ */ c(e, {
122
- name: "checkthebox",
123
- size: 16
124
- })
125
- }) : null]
126
- }, t.key))
127
- })
128
- })]
129
- })]
130
- }), M);
131
- };
132
- //#endregion
133
- export { f as t };