@baishuyun/ui-mobile 0.4.0 → 0.5.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 (63) hide show
  1. package/README.md +2 -11
  2. package/dist/ActionSheet/ActionSheet-Ok-UTVMn.js +133 -0
  3. package/dist/ActionSheet/index.js +5 -0
  4. package/dist/Calendar/Calendar-ipjycVqK.js +1580 -0
  5. package/dist/Calendar/index.js +4 -3
  6. package/dist/Calendar/timeUtils-CPYfw0pt.js +27 -0
  7. package/dist/ConfigProvider/ConfigProvider-CNhaKMJa.js +181 -0
  8. package/dist/ConfigProvider/index.js +3 -3
  9. package/dist/Gantt/Gantt-DDItjDkR.js +1099 -0
  10. package/dist/Gantt/index.js +7 -3
  11. package/dist/Icon/Icon-CFvcrGGg.js +23 -0
  12. package/dist/Icon/index.js +3 -0
  13. package/dist/components/ActionSheet/ActionSheet.d.ts +3 -0
  14. package/dist/components/ActionSheet/index.d.ts +2 -0
  15. package/dist/components/ActionSheet/interface.d.ts +75 -0
  16. package/dist/components/Calendar/index.d.ts +1 -1
  17. package/dist/components/Calendar/interface.d.ts +59 -1
  18. package/dist/components/ConfigProvider/context.d.ts +4 -0
  19. package/dist/components/Gantt/Gantt.d.ts +1 -1
  20. package/dist/components/Gantt/GanttBar.d.ts +10 -0
  21. package/dist/components/Gantt/GanttHeader.d.ts +2 -0
  22. package/dist/components/Gantt/GanttTimeLine.d.ts +9 -0
  23. package/dist/components/Gantt/HeaderToolbar.d.ts +6 -0
  24. package/dist/components/Gantt/OffscreenIndicatorArrow.d.ts +8 -0
  25. package/dist/components/Gantt/OffscreenIndicatorOverlay.d.ts +14 -0
  26. package/dist/components/Gantt/StickyLabel.d.ts +10 -0
  27. package/dist/components/Gantt/TodayIndicator.d.ts +14 -0
  28. package/dist/components/Gantt/calcTodayLeft.d.ts +8 -0
  29. package/dist/components/Gantt/context.d.ts +27 -0
  30. package/dist/components/Gantt/hooks/useGanttScroll.d.ts +23 -0
  31. package/dist/components/Gantt/hooks/useGanttViewport.d.ts +20 -0
  32. package/dist/components/Gantt/hooks/useTodayTracker.d.ts +7 -0
  33. package/dist/components/Gantt/index.d.ts +2 -1
  34. package/dist/components/Gantt/interface.d.ts +27 -2
  35. package/dist/components/Gantt/msUntilNextDay.d.ts +2 -0
  36. package/dist/components/Gantt/utils/color.d.ts +2 -0
  37. package/dist/components/Gantt/utils/cx.d.ts +1 -0
  38. package/dist/components/Gantt/utils/dateRangeNormalizer.d.ts +25 -0
  39. package/dist/components/Gantt/utils/dayScale.d.ts +30 -0
  40. package/dist/components/Gantt/utils/headerTimeUtils.d.ts +43 -0
  41. package/dist/components/Gantt/utils/layoutBars.d.ts +26 -0
  42. package/dist/components/Gantt/utils/time.d.ts +4 -0
  43. package/dist/components/Gantt/utils/viewportDateUtils.d.ts +11 -0
  44. package/dist/components/Gantt/utils/zoomReanchor.d.ts +18 -0
  45. package/dist/components/Icon/Icon.d.ts +6 -0
  46. package/dist/components/Icon/index.d.ts +2 -0
  47. package/dist/components/Icon/interface.d.ts +19 -0
  48. package/dist/components/Icon/loadIconfont.d.ts +1 -0
  49. package/dist/components/index.d.ts +7 -2
  50. package/dist/index.js +9 -6
  51. package/dist/locale/index.d.ts +3 -0
  52. package/dist/locale/lang/en-US.json.d.ts +41 -0
  53. package/dist/locale/lang/zh-CN.json.d.ts +41 -0
  54. package/dist/locale/lang/zh-TW.json.d.ts +41 -0
  55. package/dist/style.css +1 -1
  56. package/dist/vendors/useLocale-CMHIlzlj.js +98 -0
  57. package/dist/vendors/{version-v6TU1ff1.js → version-3D9AaDf3.js} +1 -1
  58. package/dist/vite-env.d.ts +1 -0
  59. package/package.json +6 -1
  60. package/dist/Calendar/Calendar-C63wg0aw.js +0 -1601
  61. package/dist/ConfigProvider/ConfigProvider-E792q6ny.js +0 -99
  62. package/dist/Gantt/Gantt-DLmqZPAQ.js +0 -8
  63. package/dist/vendors/useLocale-BbUDQCzl.js +0 -57
@@ -0,0 +1,19 @@
1
+ export interface IconProps {
2
+ /**
3
+ * @description 图标名,不含 `icon-` 前缀
4
+ */
5
+ name: string;
6
+ /**
7
+ * @description 边长,单位 px
8
+ * @default 16
9
+ */
10
+ size?: number;
11
+ /**
12
+ * @description 颜色,走 `currentColor`
13
+ */
14
+ color?: string;
15
+ /**
16
+ * @description 根节点 class
17
+ */
18
+ className?: string;
19
+ }
@@ -0,0 +1 @@
1
+ export declare const ensureIconfont: (url: string) => void;
@@ -1,6 +1,11 @@
1
+ export { default as ActionSheet } from './ActionSheet';
2
+ export type { ActionSheetProps, ActionSheetAction, ActionSheetMode } from './ActionSheet';
1
3
  export { default as Gantt } from './Gantt';
2
- export type { GanttProps } from './Gantt';
4
+ export type { GanttProps, GanttTask, ZoomLevel } from './Gantt';
5
+ export { CALENDAR_ZOOM_LEVELS, SUB_DAY_ZOOM_LEVELS, ALL_ZOOM_LEVELS, ZOOM_LEVEL_LABEL_MAP, ZOOM_LEVEL_DISPLAY_ORDER, } from './Gantt';
3
6
  export { default as Calendar } from './Calendar';
4
- export type { CalendarProps, CalendarEvent, CalendarViewMode, NormalizedCalendarEvent, } from './Calendar';
7
+ export type { CalendarProps, CalendarEvent, CalendarViewMode } from './Calendar';
5
8
  export { ConfigProvider, useLocale } from './ConfigProvider';
6
9
  export type { ConfigProviderProps, LocaleKeys, Locale } from './ConfigProvider';
10
+ export { default as Icon } from './Icon';
11
+ export type { IconProps } from './Icon';
package/dist/index.js CHANGED
@@ -1,6 +1,9 @@
1
- import "./vendors/version-v6TU1ff1.js";
2
- import { t as e } from "./Gantt/Gantt-DLmqZPAQ.js";
3
- import { t } from "./Calendar/Calendar-C63wg0aw.js";
4
- import { t as n } from "./vendors/useLocale-BbUDQCzl.js";
5
- import { t as r } from "./ConfigProvider/ConfigProvider-E792q6ny.js";
6
- export { t as Calendar, r as ConfigProvider, e as Gantt, n as useLocale };
1
+ import "./vendors/version-3D9AaDf3.js";
2
+ import { t as e } from "./ActionSheet/ActionSheet-Ok-UTVMn.js";
3
+ import { a as t, i as n, n as r, o as i, r as a, t as o } from "./Gantt/Gantt-DDItjDkR.js";
4
+ import { t as s } from "./Calendar/Calendar-ipjycVqK.js";
5
+ import { t as c } from "./Icon/Icon-CFvcrGGg.js";
6
+ import { t as l } from "./vendors/useLocale-CMHIlzlj.js";
7
+ import "./Calendar/timeUtils-CPYfw0pt.js";
8
+ import { t as u } from "./ConfigProvider/ConfigProvider-CNhaKMJa.js";
9
+ export { r as ALL_ZOOM_LEVELS, e as ActionSheet, a as CALENDAR_ZOOM_LEVELS, s as Calendar, u as ConfigProvider, o as Gantt, c as Icon, n as SUB_DAY_ZOOM_LEVELS, t as ZOOM_LEVEL_DISPLAY_ORDER, i as ZOOM_LEVEL_LABEL_MAP, l as useLocale };
@@ -1,3 +1,6 @@
1
+ /**
2
+ * @description 组件文案语言
3
+ */
1
4
  export type Locale = 'zh-CN' | 'zh-TW' | 'en-US';
2
5
  export declare const LOCALES: Locale[];
3
6
  export declare const isLocale: (value: string) => value is Locale;
@@ -1,4 +1,7 @@
1
1
  declare const _default: {
2
+ "actionSheet": {
3
+ "close": "Close"
4
+ },
2
5
  "calendar": {
3
6
  "today": "Today",
4
7
  "viewDay": "Day",
@@ -39,6 +42,44 @@ declare const _default: {
39
42
  },
40
43
  "collapse": "Show less",
41
44
  "moreRecords": "{count} more"
45
+ },
46
+ "gantt": {
47
+ "today": "Today",
48
+ "zoomSheetTitle": "Change time scale",
49
+ "prevScreen": "Previous screen",
50
+ "nextScreen": "Next screen",
51
+ "locateTask": "Jump to task",
52
+ "week": "W{week}",
53
+ "year": "{year}",
54
+ "yearMonthDay": "{monthShort} {day}, {year}",
55
+ "hour": "{hour}:00",
56
+ "hourRange": "{start}–{end}h",
57
+ "monthDayHour": "{monthShort} {day}, {hour}:00",
58
+ "am": "AM",
59
+ "pm": "PM",
60
+ "firstHalfYear": "H1",
61
+ "secondHalfYear": "H2",
62
+ "yearQuarter": "{quarter} {year}",
63
+ "quarter": {
64
+ "1": "Q1",
65
+ "2": "Q2",
66
+ "3": "Q3",
67
+ "4": "Q4"
68
+ },
69
+ "zoom": {
70
+ "oneMinute": "Minute view",
71
+ "tenMinute": "10-minute view",
72
+ "halfHour": "Half-hour view",
73
+ "hour": "Hour view",
74
+ "sixHour": "6-hour view",
75
+ "halfDay": "Half-day view",
76
+ "day": "Day view",
77
+ "week": "Week view",
78
+ "month": "Month view",
79
+ "quarter": "Quarter view",
80
+ "quarterMonth": "Quarter/month view",
81
+ "year": "Year view"
82
+ }
42
83
  }
43
84
  }
44
85
  ;
@@ -1,4 +1,7 @@
1
1
  declare const _default: {
2
+ "actionSheet": {
3
+ "close": "关闭"
4
+ },
2
5
  "calendar": {
3
6
  "today": "今天",
4
7
  "viewDay": "日",
@@ -39,6 +42,44 @@ declare const _default: {
39
42
  },
40
43
  "collapse": "收起",
41
44
  "moreRecords": "还有{count}条记录"
45
+ },
46
+ "gantt": {
47
+ "today": "今天",
48
+ "zoomSheetTitle": "切换时间查看",
49
+ "prevScreen": "上一屏",
50
+ "nextScreen": "下一屏",
51
+ "locateTask": "定位到任务",
52
+ "week": "{week}周",
53
+ "year": "{year}年",
54
+ "yearMonthDay": "{year}年{month}月{day}日",
55
+ "hour": "{hour}点",
56
+ "hourRange": "{start}-{end}时",
57
+ "monthDayHour": "{month}月{day}日{hour}点",
58
+ "am": "上午",
59
+ "pm": "下午",
60
+ "firstHalfYear": "上半年",
61
+ "secondHalfYear": "下半年",
62
+ "yearQuarter": "{year}年{quarter}",
63
+ "quarter": {
64
+ "1": "一季度",
65
+ "2": "二季度",
66
+ "3": "三季度",
67
+ "4": "四季度"
68
+ },
69
+ "zoom": {
70
+ "oneMinute": "按分钟查看",
71
+ "tenMinute": "按10分钟查看",
72
+ "halfHour": "按半小时查看",
73
+ "hour": "按小时查看",
74
+ "sixHour": "按6小时查看",
75
+ "halfDay": "按半天查看",
76
+ "day": "按日查看",
77
+ "week": "按周查看",
78
+ "month": "按月查看",
79
+ "quarter": "按季查看",
80
+ "quarterMonth": "按季/月查看",
81
+ "year": "按年查看"
82
+ }
42
83
  }
43
84
  }
44
85
  ;
@@ -1,4 +1,7 @@
1
1
  declare const _default: {
2
+ "actionSheet": {
3
+ "close": "關閉"
4
+ },
2
5
  "calendar": {
3
6
  "today": "今天",
4
7
  "viewDay": "日",
@@ -39,6 +42,44 @@ declare const _default: {
39
42
  },
40
43
  "collapse": "收合",
41
44
  "moreRecords": "還有 {count} 筆"
45
+ },
46
+ "gantt": {
47
+ "today": "今天",
48
+ "zoomSheetTitle": "切換時間查看",
49
+ "prevScreen": "上一屏",
50
+ "nextScreen": "下一屏",
51
+ "locateTask": "定位到任務",
52
+ "week": "{week}週",
53
+ "year": "{year}年",
54
+ "yearMonthDay": "{year}年{month}月{day}日",
55
+ "hour": "{hour}點",
56
+ "hourRange": "{start}-{end}時",
57
+ "monthDayHour": "{month}月{day}日{hour}點",
58
+ "am": "上午",
59
+ "pm": "下午",
60
+ "firstHalfYear": "上半年",
61
+ "secondHalfYear": "下半年",
62
+ "yearQuarter": "{year}年{quarter}",
63
+ "quarter": {
64
+ "1": "一季度",
65
+ "2": "二季度",
66
+ "3": "三季度",
67
+ "4": "四季度"
68
+ },
69
+ "zoom": {
70
+ "oneMinute": "按分鐘查看",
71
+ "tenMinute": "按10分鐘查看",
72
+ "halfHour": "按半小時查看",
73
+ "hour": "按小時查看",
74
+ "sixHour": "按6小時查看",
75
+ "halfDay": "按半天查看",
76
+ "day": "按日查看",
77
+ "week": "按週查看",
78
+ "month": "按月查看",
79
+ "quarter": "按季查看",
80
+ "quarterMonth": "按季/月查看",
81
+ "year": "按年查看"
82
+ }
42
83
  }
43
84
  }
44
85
  ;
package/dist/style.css CHANGED
@@ -1,2 +1,2 @@
1
- ._bsy-mobile-calendar_12jhk_1{box-sizing:border-box;color:#121111;background:#fff;flex-direction:column;width:100%;min-width:0;height:100%;min-height:320px;font-size:14px;line-height:1.5;display:flex;overflow:hidden}._bsy-mobile-calendar__body_12jhk_15{flex:1;min-height:0;overflow:hidden}._bsy-mobile-calendar-header_r7swj_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_r7swj_12{align-items:center;gap:10px;min-width:0;display:flex}._bsy-mobile-calendar-header__year-month_r7swj_18{color:#121211;font-size:16px;font-weight:700}._bsy-mobile-calendar-header__today_r7swj_23{color:#666;cursor:pointer;background:0 0;border:none;align-items:center;padding:0 10px;display:flex}._bsy-mobile-calendar-segmented_r7swj_33{background:#f2f3f5;border-radius:6px;padding:2px;display:inline-flex}._bsy-mobile-calendar-segmented__item_r7swj_39{color:#666;cursor:pointer;background:0 0;border:none;border-radius:4px;min-width:40px;height:28px;padding:0 10px;font-size:13px}._bsy-mobile-calendar-segmented__item--active_r7swj_50{color:#121111;background:#fff;font-weight:500;box-shadow:0 1px 2px #0000000f}._bsy-mobile-calendar-month_lsyxr_1{flex-direction:column;height:100%;display:flex}._bsy-mobile-calendar-weekday-header_lsyxr_7{flex-shrink:0;height:34px;padding-bottom:10px;display:flex}._bsy-mobile-calendar-weekday-header__item_lsyxr_13{color:#121111;flex:1;padding-left:10px;font-size:14px;line-height:24px}._bsy-mobile-calendar-carousel_lsyxr_21{touch-action:pan-y;flex:1;position:relative;overflow:hidden}._bsy-mobile-calendar-month-slide_lsyxr_28{flex-direction:column;width:100%;height:100%;display:flex}._bsy-mobile-calendar-week-row_lsyxr_35{flex:1;min-height:48px;position:relative}._bsy-mobile-calendar-week-row__cells_lsyxr_40{height:100%;display:flex}._bsy-mobile-calendar-day-cell_lsyxr_45{flex-direction:column;flex:1;display:flex;position:relative}._bsy-mobile-calendar-day-cell__header_lsyxr_51{justify-content:flex-start;align-items:center;height:24px;padding-left:10px;display:flex;position:relative}._bsy-mobile-calendar-day-cell__body_lsyxr_59{flex:1;overflow:auto}._bsy-mobile-calendar-day-cell__text_lsyxr_63{color:#121111;border-radius:50%;width:24px;height:24px;font-size:14px;font-weight:700;line-height:24px}._bsy-mobile-calendar-day-cell__text--today_lsyxr_72{color:#fff;text-align:center;background-color:#0265ff;font-weight:500}._bsy-mobile-calendar-day-cell__text--other_lsyxr_78{color:#999}._bsy-mobile-calendar-day-cell__badge_lsyxr_81{color:#666;background-color:#eff0f6;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_lsyxr_97{pointer-events:none;position:absolute;inset:0}._bsy-mobile-calendar-week-events_lsyxr_97>*{pointer-events:auto}._bsy-mobile-calendar-week-events__segment_lsyxr_108{position:absolute}._bsy-mobile-calendar-event-card_r9n00_1{border-left:2px solid var(--bsy-mobile-calendar-color,#005eef);text-overflow:ellipsis;white-space:nowrap;cursor:pointer;box-sizing:border-box;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_r9n00_1:active{background-color:var(--bsy-mobile-calendar-hover,#d9e8ff)}._bsy-mobile-calendar-event-card--timed_r9n00_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_r9n00_30{border-top-left-radius:2px;border-bottom-left-radius:2px}._bsy-mobile-calendar-event-card--end_r9n00_34{border-top-right-radius:2px;border-bottom-right-radius:2px}._bsy-mobile-calendar-event-card--continue_r9n00_38{border-left:none;padding-left:4px}._bsy-mobile-calendar-event-card__timed-body_r9n00_42{max-width:100%;overflow:hidden}._bsy-mobile-calendar-event-card__title_r9n00_46{text-overflow:ellipsis;white-space:nowrap;width:100%;font-size:12px;line-height:16px;overflow:hidden}._bsy-mobile-calendar-event-card__time_r9n00_42{color:#666;text-overflow:ellipsis;white-space:nowrap;width:100%;font-size:11px;line-height:14px;overflow:hidden}._bsy-mobile-calendar-day_12vkp_1{flex-direction:column;height:100%;display:flex;overflow:hidden}._bsy-mobile-calendar-day__header-wrap_12vkp_7{flex-shrink:0;box-shadow:0 4px 4px #0000000f}._bsy-mobile-calendar-day__header_12vkp_7{height:78px;display:flex}._bsy-mobile-calendar-day__tz_12vkp_15{color:#999;flex-shrink:0;justify-content:center;align-items:flex-end;width:56px;padding-bottom:18px;font-size:12px;display:flex}._bsy-mobile-calendar-day__body_12vkp_25{flex:1;overflow:hidden auto}._bsy-mobile-calendar-day__time-grid_12vkp_30{display:flex;position:relative}._bsy-mobile-calendar-day__time-col_12vkp_34{flex-shrink:0;width:56px;position:relative}._bsy-mobile-calendar-day__time-label_12vkp_39{color:#999;text-align:center;width:100%;font-size:12px;position:absolute;transform:translateY(-50%)}._bsy-mobile-calendar-day__content-col_12vkp_47{border-left:1px solid #e0e0e0;flex:1;position:relative}._bsy-mobile-calendar-day__hour-cell_12vkp_52{border-top:1px solid #e0e0e0;height:60px;position:relative}._bsy-mobile-calendar-day__timed-layer_12vkp_57{pointer-events:none;z-index:2;position:absolute;inset:20px 0 0}._bsy-mobile-calendar-day__timed-layer_12vkp_57>*{pointer-events:auto}._bsy-mobile-calendar-day__timed-item_12vkp_69{box-sizing:border-box;padding-right:2px;position:absolute}._bsy-mobile-calendar-week-carousel_12vkp_75{touch-action:pan-y;flex:1;overflow:hidden}._bsy-mobile-calendar-week-slide_12vkp_81{flex-direction:column;flex-shrink:0;display:flex}._bsy-mobile-calendar-week-slide__weekdays_12vkp_86{align-items:center;height:34px;display:flex}._bsy-mobile-calendar-week-slide__dates_12vkp_91{align-items:center;display:flex}._bsy-mobile-calendar-week-slide__weekday_12vkp_86{color:#666;flex:1;justify-content:center;align-items:center;font-size:14px;display:flex}._bsy-mobile-calendar-week-slide__weekday--weekend_12vkp_103{color:#121111}._bsy-mobile-calendar-week-slide__weekday--today_12vkp_106{color:#0265ff}._bsy-mobile-calendar-week-slide__weekday--future_12vkp_109{color:#121111}._bsy-mobile-calendar-week-slide__date-item_12vkp_112{flex:1;justify-content:center;align-items:center;display:flex}._bsy-mobile-calendar-week-slide__date-circle_12vkp_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_12vkp_128{color:#fff;background-color:#0265ff}._bsy-mobile-calendar-week-slide__date-circle--today-idle_12vkp_132{color:#0265ff;background-color:#0000}._bsy-mobile-calendar-week-slide__date-circle--past_12vkp_136{color:#666}._bsy-mobile-calendar-week-slide__date-circle--future_12vkp_139{color:#121111}._bsy-mobile-calendar-week-slide__date-circle--selected_12vkp_142{background-color:#eff0f6}._bsy-mobile-calendar-now-line_12vkp_146{z-index:3;pointer-events:none;background-color:#f24848;height:1px;position:absolute;left:0;right:0}._bsy-mobile-calendar-now-dot_12vkp_156{background-color:#f24848;border-radius:50%;width:6px;height:6px;position:absolute;top:-2.5px;left:-3px}._bsy-mobile-calendar-allday_12vkp_166{transition:height .3s ease-in-out;overflow:hidden}._bsy-mobile-calendar-allday__content_12vkp_170{background-color:#fff;flex-direction:column;gap:4px;padding:6px 10px 6px 60px;display:flex}._bsy-mobile-calendar-allday__list_12vkp_177{gap:4px;display:grid}._bsy-mobile-calendar-allday__expand_12vkp_181{color:#666;cursor:pointer;align-items:center;gap:6px;padding:4px 0;font-size:12px;display:flex}._bsy-mobile-calendar-threeday_bnwsm_1{flex-direction:column;height:100%;display:flex;overflow:hidden}._bsy-mobile-calendar-threeday__header-wrap_bnwsm_7{flex-shrink:0;box-shadow:0 4px 4px #0000000f}._bsy-mobile-calendar-threeday__header_bnwsm_7{height:68px;display:flex}._bsy-mobile-calendar-threeday__tz_bnwsm_15{flex-direction:column;flex-shrink:0;width:56px;display:flex}._bsy-mobile-calendar-threeday__tz-empty_bnwsm_21{height:34px}._bsy-mobile-calendar-threeday__tz-label_bnwsm_24{color:#999;justify-content:center;align-items:center;height:34px;font-size:12px;display:flex}._bsy-mobile-calendar-threeday__dates_bnwsm_32{touch-action:pan-y;flex:1;position:relative;overflow:hidden}._bsy-mobile-calendar-threeday__dates-track_bnwsm_38{will-change:transform;height:100%;display:flex}._bsy-mobile-calendar-threeday__date-col_bnwsm_43{flex-direction:column;flex-shrink:0;align-items:flex-start;padding-left:10px;display:flex}._bsy-mobile-calendar-threeday__weekday_bnwsm_50{color:#121111;font-size:14px;line-height:34px}._bsy-mobile-calendar-threeday__weekday--weekend_bnwsm_55{color:#030303}._bsy-mobile-calendar-threeday__weekday--today_bnwsm_58{color:#0265ff}._bsy-mobile-calendar-threeday__weekday--past_bnwsm_61{color:#666}._bsy-mobile-calendar-threeday__date-num_bnwsm_64{color:#666;font-size:18px;font-weight:700;line-height:34px;display:flex}._bsy-mobile-calendar-threeday__date-num--today_bnwsm_71{color:#0265ff}._bsy-mobile-calendar-threeday__date-num--past_bnwsm_74{color:#666}._bsy-mobile-calendar-threeday__date-num--future_bnwsm_77{color:#121111}._bsy-mobile-calendar-threeday__allday_bnwsm_80{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_bnwsm_88{touch-action:pan-y;flex:1;position:relative;overflow:hidden}._bsy-mobile-calendar-threeday__allday-track_bnwsm_94{will-change:transform;display:flex;position:relative}._bsy-mobile-calendar-threeday__allday-card_bnwsm_99{box-sizing:border-box;height:22px;transition:none;position:absolute;top:4px;overflow:hidden}._bsy-mobile-calendar-threeday__expand-btn_bnwsm_107{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_bnwsm_118{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_bnwsm_130{flex:1;overflow:hidden auto}._bsy-mobile-calendar-threeday__body-content_bnwsm_135{display:flex;position:relative}._bsy-mobile-calendar-threeday__body-time_bnwsm_139{flex-shrink:0;width:56px;position:relative}._bsy-mobile-calendar-threeday__body-time_bnwsm_139:after{content:"";background-color:#e0e0e0;width:1px;position:absolute;top:0;bottom:0;right:0}._bsy-mobile-calendar-threeday__time-label_bnwsm_153{color:#999;text-align:center;width:100%;font-size:12px;position:absolute;transform:translateY(-50%)}._bsy-mobile-calendar-threeday__grid_bnwsm_161{touch-action:pan-y;flex:1;padding:0 4px;position:relative;overflow:hidden}._bsy-mobile-calendar-threeday__grid-track_bnwsm_168{will-change:transform;height:1460px;display:flex}._bsy-mobile-calendar-threeday__day-col_bnwsm_173{flex-shrink:0;position:relative}._bsy-mobile-calendar-threeday__hour-cell_bnwsm_177{border-top:1px solid #e0e0e0;height:60px;position:relative}._bsy-mobile-calendar-threeday__timed-layer_bnwsm_182{pointer-events:none;z-index:2;position:absolute;inset:20px 0 0;overflow:hidden}._bsy-mobile-calendar-threeday__timed-layer_bnwsm_182>*{pointer-events:auto}._bsy-mobile-calendar-threeday__timed-item_bnwsm_195{box-sizing:border-box;padding-right:2px;position:absolute}._bsy-mobile-calendar-threeday__now-line_bnwsm_200{z-index:3;pointer-events:none;background-color:#f24848;height:1px;position:absolute;left:3px;right:3px}._bsy-mobile-calendar-threeday__now-dot_bnwsm_209{background-color:#f24848;border-radius:50%;width:6px;height:6px;position:absolute;top:-2.5px;left:0}._bsy-mobile-gantt_cgvph_1{box-sizing:border-box;color:#1f2329;background:#f7f8fa;border:1px dashed #c8c9cc;border-radius:8px;min-height:120px;padding:16px;font-size:14px;line-height:1.5}
1
+ ._bsy-icon_gwzb9_1{vertical-align:-.15em;fill:currentColor;width:1em;height:1em;display:inline-block;overflow:hidden}._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_12jhk_1{box-sizing:border-box;color:#121111;background:#fff;flex-direction:column;width:100%;min-width:0;height:100%;min-height:320px;font-size:14px;line-height:1.5;display:flex;overflow:hidden}._bsy-mobile-calendar__body_12jhk_15{flex:1;min-height:0;overflow:hidden}._bsy-mobile-calendar-header_r7swj_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_r7swj_12{align-items:center;gap:10px;min-width:0;display:flex}._bsy-mobile-calendar-header__year-month_r7swj_18{color:#121211;font-size:16px;font-weight:700}._bsy-mobile-calendar-header__today_r7swj_23{color:#666;cursor:pointer;background:0 0;border:none;align-items:center;padding:0 10px;display:flex}._bsy-mobile-calendar-segmented_r7swj_33{background:#f2f3f5;border-radius:6px;padding:2px;display:inline-flex}._bsy-mobile-calendar-segmented__item_r7swj_39{color:#666;cursor:pointer;background:0 0;border:none;border-radius:4px;min-width:40px;height:28px;padding:0 10px;font-size:13px}._bsy-mobile-calendar-segmented__item--active_r7swj_50{color:#121111;background:#fff;font-weight:500;box-shadow:0 1px 2px #0000000f}._bsy-mobile-calendar-month_lsyxr_1{flex-direction:column;height:100%;display:flex}._bsy-mobile-calendar-weekday-header_lsyxr_7{flex-shrink:0;height:34px;padding-bottom:10px;display:flex}._bsy-mobile-calendar-weekday-header__item_lsyxr_13{color:#121111;flex:1;padding-left:10px;font-size:14px;line-height:24px}._bsy-mobile-calendar-carousel_lsyxr_21{touch-action:pan-y;flex:1;position:relative;overflow:hidden}._bsy-mobile-calendar-month-slide_lsyxr_28{flex-direction:column;width:100%;height:100%;display:flex}._bsy-mobile-calendar-week-row_lsyxr_35{flex:1;min-height:48px;position:relative}._bsy-mobile-calendar-week-row__cells_lsyxr_40{height:100%;display:flex}._bsy-mobile-calendar-day-cell_lsyxr_45{flex-direction:column;flex:1;display:flex;position:relative}._bsy-mobile-calendar-day-cell__header_lsyxr_51{justify-content:flex-start;align-items:center;height:24px;padding-left:10px;display:flex;position:relative}._bsy-mobile-calendar-day-cell__body_lsyxr_59{flex:1;overflow:auto}._bsy-mobile-calendar-day-cell__text_lsyxr_63{color:#121111;border-radius:50%;width:24px;height:24px;font-size:14px;font-weight:700;line-height:24px}._bsy-mobile-calendar-day-cell__text--today_lsyxr_72{color:#fff;text-align:center;background-color:#0265ff;font-weight:500}._bsy-mobile-calendar-day-cell__text--other_lsyxr_78{color:#999}._bsy-mobile-calendar-day-cell__badge_lsyxr_81{color:#666;background-color:#eff0f6;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_lsyxr_97{pointer-events:none;position:absolute;inset:0}._bsy-mobile-calendar-week-events_lsyxr_97>*{pointer-events:auto}._bsy-mobile-calendar-week-events__segment_lsyxr_108{position:absolute}._bsy-mobile-calendar-event-card_r9n00_1{border-left:2px solid var(--bsy-mobile-calendar-color,#005eef);text-overflow:ellipsis;white-space:nowrap;cursor:pointer;box-sizing:border-box;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_r9n00_1:active{background-color:var(--bsy-mobile-calendar-hover,#d9e8ff)}._bsy-mobile-calendar-event-card--timed_r9n00_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_r9n00_30{border-top-left-radius:2px;border-bottom-left-radius:2px}._bsy-mobile-calendar-event-card--end_r9n00_34{border-top-right-radius:2px;border-bottom-right-radius:2px}._bsy-mobile-calendar-event-card--continue_r9n00_38{border-left:none;padding-left:4px}._bsy-mobile-calendar-event-card__timed-body_r9n00_42{max-width:100%;overflow:hidden}._bsy-mobile-calendar-event-card__title_r9n00_46{text-overflow:ellipsis;white-space:nowrap;width:100%;font-size:12px;line-height:16px;overflow:hidden}._bsy-mobile-calendar-event-card__time_r9n00_42{color:#666;text-overflow:ellipsis;white-space:nowrap;width:100%;font-size:11px;line-height:14px;overflow:hidden}._bsy-mobile-calendar-day_12vkp_1{flex-direction:column;height:100%;display:flex;overflow:hidden}._bsy-mobile-calendar-day__header-wrap_12vkp_7{flex-shrink:0;box-shadow:0 4px 4px #0000000f}._bsy-mobile-calendar-day__header_12vkp_7{height:78px;display:flex}._bsy-mobile-calendar-day__tz_12vkp_15{color:#999;flex-shrink:0;justify-content:center;align-items:flex-end;width:56px;padding-bottom:18px;font-size:12px;display:flex}._bsy-mobile-calendar-day__body_12vkp_25{flex:1;overflow:hidden auto}._bsy-mobile-calendar-day__time-grid_12vkp_30{display:flex;position:relative}._bsy-mobile-calendar-day__time-col_12vkp_34{flex-shrink:0;width:56px;position:relative}._bsy-mobile-calendar-day__time-label_12vkp_39{color:#999;text-align:center;width:100%;font-size:12px;position:absolute;transform:translateY(-50%)}._bsy-mobile-calendar-day__content-col_12vkp_47{border-left:1px solid #e0e0e0;flex:1;position:relative}._bsy-mobile-calendar-day__hour-cell_12vkp_52{border-top:1px solid #e0e0e0;height:60px;position:relative}._bsy-mobile-calendar-day__timed-layer_12vkp_57{pointer-events:none;z-index:2;position:absolute;inset:20px 0 0}._bsy-mobile-calendar-day__timed-layer_12vkp_57>*{pointer-events:auto}._bsy-mobile-calendar-day__timed-item_12vkp_69{box-sizing:border-box;padding-right:2px;position:absolute}._bsy-mobile-calendar-week-carousel_12vkp_75{touch-action:pan-y;flex:1;overflow:hidden}._bsy-mobile-calendar-week-slide_12vkp_81{flex-direction:column;flex-shrink:0;display:flex}._bsy-mobile-calendar-week-slide__weekdays_12vkp_86{align-items:center;height:34px;display:flex}._bsy-mobile-calendar-week-slide__dates_12vkp_91{align-items:center;display:flex}._bsy-mobile-calendar-week-slide__weekday_12vkp_86{color:#666;flex:1;justify-content:center;align-items:center;font-size:14px;display:flex}._bsy-mobile-calendar-week-slide__weekday--weekend_12vkp_103{color:#121111}._bsy-mobile-calendar-week-slide__weekday--today_12vkp_106{color:#0265ff}._bsy-mobile-calendar-week-slide__weekday--future_12vkp_109{color:#121111}._bsy-mobile-calendar-week-slide__date-item_12vkp_112{flex:1;justify-content:center;align-items:center;display:flex}._bsy-mobile-calendar-week-slide__date-circle_12vkp_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_12vkp_128{color:#fff;background-color:#0265ff}._bsy-mobile-calendar-week-slide__date-circle--today-idle_12vkp_132{color:#0265ff;background-color:#0000}._bsy-mobile-calendar-week-slide__date-circle--past_12vkp_136{color:#666}._bsy-mobile-calendar-week-slide__date-circle--future_12vkp_139{color:#121111}._bsy-mobile-calendar-week-slide__date-circle--selected_12vkp_142{background-color:#eff0f6}._bsy-mobile-calendar-now-line_12vkp_146{z-index:3;pointer-events:none;background-color:#f24848;height:1px;position:absolute;left:0;right:0}._bsy-mobile-calendar-now-dot_12vkp_156{background-color:#f24848;border-radius:50%;width:6px;height:6px;position:absolute;top:-2.5px;left:-3px}._bsy-mobile-calendar-allday_12vkp_166{transition:height .3s ease-in-out;overflow:hidden}._bsy-mobile-calendar-allday__content_12vkp_170{background-color:#fff;flex-direction:column;gap:4px;padding:6px 10px 6px 60px;display:flex}._bsy-mobile-calendar-allday__list_12vkp_177{gap:4px;display:grid}._bsy-mobile-calendar-allday__expand_12vkp_181{color:#666;cursor:pointer;align-items:center;gap:6px;padding:4px 0;font-size:12px;display:flex}._bsy-mobile-calendar-threeday_bnwsm_1{flex-direction:column;height:100%;display:flex;overflow:hidden}._bsy-mobile-calendar-threeday__header-wrap_bnwsm_7{flex-shrink:0;box-shadow:0 4px 4px #0000000f}._bsy-mobile-calendar-threeday__header_bnwsm_7{height:68px;display:flex}._bsy-mobile-calendar-threeday__tz_bnwsm_15{flex-direction:column;flex-shrink:0;width:56px;display:flex}._bsy-mobile-calendar-threeday__tz-empty_bnwsm_21{height:34px}._bsy-mobile-calendar-threeday__tz-label_bnwsm_24{color:#999;justify-content:center;align-items:center;height:34px;font-size:12px;display:flex}._bsy-mobile-calendar-threeday__dates_bnwsm_32{touch-action:pan-y;flex:1;position:relative;overflow:hidden}._bsy-mobile-calendar-threeday__dates-track_bnwsm_38{will-change:transform;height:100%;display:flex}._bsy-mobile-calendar-threeday__date-col_bnwsm_43{flex-direction:column;flex-shrink:0;align-items:flex-start;padding-left:10px;display:flex}._bsy-mobile-calendar-threeday__weekday_bnwsm_50{color:#121111;font-size:14px;line-height:34px}._bsy-mobile-calendar-threeday__weekday--weekend_bnwsm_55{color:#030303}._bsy-mobile-calendar-threeday__weekday--today_bnwsm_58{color:#0265ff}._bsy-mobile-calendar-threeday__weekday--past_bnwsm_61{color:#666}._bsy-mobile-calendar-threeday__date-num_bnwsm_64{color:#666;font-size:18px;font-weight:700;line-height:34px;display:flex}._bsy-mobile-calendar-threeday__date-num--today_bnwsm_71{color:#0265ff}._bsy-mobile-calendar-threeday__date-num--past_bnwsm_74{color:#666}._bsy-mobile-calendar-threeday__date-num--future_bnwsm_77{color:#121111}._bsy-mobile-calendar-threeday__allday_bnwsm_80{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_bnwsm_88{touch-action:pan-y;flex:1;position:relative;overflow:hidden}._bsy-mobile-calendar-threeday__allday-track_bnwsm_94{will-change:transform;display:flex;position:relative}._bsy-mobile-calendar-threeday__allday-card_bnwsm_99{box-sizing:border-box;height:22px;transition:none;position:absolute;top:4px;overflow:hidden}._bsy-mobile-calendar-threeday__expand-btn_bnwsm_107{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_bnwsm_118{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_bnwsm_130{flex:1;overflow:hidden auto}._bsy-mobile-calendar-threeday__body-content_bnwsm_135{display:flex;position:relative}._bsy-mobile-calendar-threeday__body-time_bnwsm_139{flex-shrink:0;width:56px;position:relative}._bsy-mobile-calendar-threeday__body-time_bnwsm_139:after{content:"";background-color:#e0e0e0;width:1px;position:absolute;top:0;bottom:0;right:0}._bsy-mobile-calendar-threeday__time-label_bnwsm_153{color:#999;text-align:center;width:100%;font-size:12px;position:absolute;transform:translateY(-50%)}._bsy-mobile-calendar-threeday__grid_bnwsm_161{touch-action:pan-y;flex:1;padding:0 4px;position:relative;overflow:hidden}._bsy-mobile-calendar-threeday__grid-track_bnwsm_168{will-change:transform;height:1460px;display:flex}._bsy-mobile-calendar-threeday__day-col_bnwsm_173{flex-shrink:0;position:relative}._bsy-mobile-calendar-threeday__hour-cell_bnwsm_177{border-top:1px solid #e0e0e0;height:60px;position:relative}._bsy-mobile-calendar-threeday__timed-layer_bnwsm_182{pointer-events:none;z-index:2;position:absolute;inset:20px 0 0;overflow:hidden}._bsy-mobile-calendar-threeday__timed-layer_bnwsm_182>*{pointer-events:auto}._bsy-mobile-calendar-threeday__timed-item_bnwsm_195{box-sizing:border-box;padding-right:2px;position:absolute}._bsy-mobile-calendar-threeday__now-line_bnwsm_200{z-index:3;pointer-events:none;background-color:#f24848;height:1px;position:absolute;left:3px;right:3px}._bsy-mobile-calendar-threeday__now-dot_bnwsm_209{background-color:#f24848;border-radius:50%;width:6px;height:6px;position:absolute;top:-2.5px;left:0}._bsy-mobile-gantt_10w5l_1{box-sizing:border-box;color:#1f2329;background:#fff;border:1px solid #e0e0e0;border-radius:4px;flex-direction:column;width:100%;min-width:0;height:100%;min-height:240px;font-size:14px;line-height:1.5;display:flex;position:relative;overflow:hidden}._bsy-mobile-gantt__scroll_10w5l_18{-webkit-overflow-scrolling:touch;scrollbar-width:none;height:100%;overflow:auto hidden}._bsy-mobile-gantt__scroll_10w5l_18::-webkit-scrollbar{display:none}._bsy-mobile-gantt__canvas_10w5l_28{flex-direction:column;min-width:100%;height:100%;display:flex}._bsy-mobile-gantt__overlay-host_10w5l_34{pointer-events:none;z-index:3;position:absolute;bottom:0;left:0;right:0;overflow:hidden}._bsy-mobile-gantt__header_10w5l_43{background:#fff;border-bottom:1px solid #e0e0e0;flex-shrink:0;height:88px;position:relative}._bsy-mobile-gantt__header-row1_10w5l_50{height:44px;display:flex}._bsy-mobile-gantt__header-row2_10w5l_54{position:relative}._bsy-mobile-gantt__header-cell_10w5l_57{box-sizing:border-box;position:absolute;top:0}._bsy-mobile-gantt__header-cell-label_10w5l_62{text-align:center;color:#666;text-overflow:ellipsis;white-space:nowrap;width:100%;height:100%;font-size:12px;font-weight:400;overflow:hidden}._bsy-mobile-gantt__header-cell-label--today_10w5l_73{color:#0265ff;font-weight:600}._bsy-mobile-gantt__today-dot_10w5l_77{pointer-events:none;z-index:1;background:#0265ff;border-radius:50%;width:8px;height:8px;position:absolute;bottom:-4px}._bsy-mobile-gantt__sticky-label_10w5l_87{box-sizing:border-box;flex-shrink:0;align-items:center;height:100%;padding-right:10px;display:flex}._bsy-mobile-gantt__sticky-label-text_10w5l_95{white-space:nowrap;color:#030303;font-size:14px;position:sticky;left:10px}._bsy-mobile-gantt__toolbar_10w5l_102{z-index:2;background:linear-gradient(90deg,#fff0 0%,#fff 12px 100%);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_10w5l_115,._bsy-mobile-gantt__toolbar-today_10w5l_115,._bsy-mobile-gantt__toolbar-nav_10w5l_115{color:#666;cursor:pointer;-webkit-user-select:none;user-select:none;background:0 0;border:none;padding:0}._bsy-mobile-gantt__toolbar-zoom_10w5l_115{white-space:nowrap;align-items:center;gap:4px;font-size:14px;display:flex}._bsy-mobile-gantt__toolbar-divider_10w5l_130{background:#e0e0e0;flex-shrink:0;width:1px;height:14px}._bsy-mobile-gantt__toolbar-today_10w5l_115{white-space:nowrap;border-radius:4px;padding:3px 5px;font-size:14px}._bsy-mobile-gantt__toolbar-today_10w5l_115:active{background:#f5f5f5}._bsy-mobile-gantt__toolbar-nav_10w5l_115{border-radius:4px;justify-content:center;align-items:center;width:26px;height:26px;display:flex}._bsy-mobile-gantt__toolbar-nav_10w5l_115:active{background:#f5f5f5}._bsy-mobile-gantt__chevron_10w5l_156{color:#666;display:block}._bsy-mobile-gantt__chevron--left_10w5l_160{transform:rotate(90deg)}._bsy-mobile-gantt__chevron--right_10w5l_163{transform:rotate(-90deg)}._bsy-mobile-gantt__timeline_10w5l_166{-webkit-overflow-scrolling:touch;scrollbar-width:none;flex:1;min-width:100%;overflow:hidden auto}._bsy-mobile-gantt__timeline_10w5l_166::-webkit-scrollbar{display:none}._bsy-mobile-gantt__timeline-inner_10w5l_177{min-height:100%;position:relative}._bsy-mobile-gantt__column_10w5l_181{box-sizing:border-box;pointer-events:none;will-change:transform;background:0 0;border-right:1px solid #e0e0e0;height:100%;position:absolute;top:0;left:0}._bsy-mobile-gantt__column--weekend_10w5l_192{background:#fafafa}._bsy-mobile-gantt__today-line_10w5l_195{pointer-events:none;z-index:2;background:#0265ff33;height:100%;position:absolute;top:0}._bsy-mobile-gantt__bar_10w5l_203{cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;position:absolute;overflow:visible}._bsy-mobile-gantt__bar-track_10w5l_210,._bsy-mobile-gantt__bar-progress_10w5l_210{border-radius:4px;height:100%;position:absolute;top:0;left:0}._bsy-mobile-gantt__bar-track_10w5l_210{width:100%}._bsy-mobile-gantt__bar-label_10w5l_220{white-space:nowrap;text-overflow:ellipsis;pointer-events:none;will-change:transform;font-size:12px;position:absolute;top:50%;overflow:hidden;transform:translateY(-50%)}._bsy-mobile-gantt__offscreen_10w5l_231{pointer-events:none;z-index:11;width:100%;height:100%;position:absolute;top:0;left:0}._bsy-mobile-gantt__offscreen-layer_10w5l_240{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_10w5l_250{pointer-events:none;align-items:center;width:100%;display:flex;position:absolute;left:0}._bsy-mobile-gantt__offscreen-arrow_10w5l_258{z-index:10;cursor:pointer;-webkit-user-select:none;user-select:none;pointer-events:auto;touch-action:manipulation;-webkit-tap-highlight-color:transparent;background:#eff0f6;border:none;border-radius:5px;justify-content:center;align-items:center;width:24px;height:24px;margin-left:0;padding:0;animation:.14s ease-out _bsy-mobile-gantt-arrow-enter_10w5l_1;display:flex;position:sticky}._bsy-mobile-gantt__offscreen-arrow--right_10w5l_278{margin-left:auto}._bsy-mobile-gantt__offscreen-arrow_10w5l_258:active{background:#e0e2ef}@keyframes _bsy-mobile-gantt-arrow-enter_10w5l_1{0%{opacity:0;transform:scale(.92)}to{opacity:1;transform:scale(1)}}
2
2
  /*$vite$:1*/
@@ -0,0 +1,98 @@
1
+ import { createContext as e, useContext as t } from "react";
2
+ var n = {
3
+ actionSheet: { close: "关闭" },
4
+ calendar: {
5
+ today: "今天",
6
+ viewDay: "日",
7
+ viewThreeDay: "三日",
8
+ viewMonth: "月",
9
+ yearMonth: "{year}年{monthShort}",
10
+ monthShort: {
11
+ 1: "1月",
12
+ 2: "2月",
13
+ 3: "3月",
14
+ 4: "4月",
15
+ 5: "5月",
16
+ 6: "6月",
17
+ 7: "7月",
18
+ 8: "8月",
19
+ 9: "9月",
20
+ 10: "10月",
21
+ 11: "11月",
22
+ 12: "12月"
23
+ },
24
+ weekday: {
25
+ 1: "一",
26
+ 2: "二",
27
+ 3: "三",
28
+ 4: "四",
29
+ 5: "五",
30
+ 6: "六",
31
+ 7: "日"
32
+ },
33
+ weekdayPrefixed: {
34
+ 1: "周一",
35
+ 2: "周二",
36
+ 3: "周三",
37
+ 4: "周四",
38
+ 5: "周五",
39
+ 6: "周六",
40
+ 7: "周日"
41
+ },
42
+ collapse: "收起",
43
+ moreRecords: "还有{count}条记录"
44
+ },
45
+ gantt: {
46
+ today: "今天",
47
+ zoomSheetTitle: "切换时间查看",
48
+ prevScreen: "上一屏",
49
+ nextScreen: "下一屏",
50
+ locateTask: "定位到任务",
51
+ week: "{week}周",
52
+ year: "{year}年",
53
+ yearMonthDay: "{year}年{month}月{day}日",
54
+ hour: "{hour}点",
55
+ hourRange: "{start}-{end}时",
56
+ monthDayHour: "{month}月{day}日{hour}点",
57
+ am: "上午",
58
+ pm: "下午",
59
+ firstHalfYear: "上半年",
60
+ secondHalfYear: "下半年",
61
+ yearQuarter: "{year}年{quarter}",
62
+ quarter: {
63
+ 1: "一季度",
64
+ 2: "二季度",
65
+ 3: "三季度",
66
+ 4: "四季度"
67
+ },
68
+ zoom: {
69
+ oneMinute: "按分钟查看",
70
+ tenMinute: "按10分钟查看",
71
+ halfHour: "按半小时查看",
72
+ hour: "按小时查看",
73
+ sixHour: "按6小时查看",
74
+ halfDay: "按半天查看",
75
+ day: "按日查看",
76
+ week: "按周查看",
77
+ month: "按月查看",
78
+ quarter: "按季查看",
79
+ quarterMonth: "按季/月查看",
80
+ year: "按年查看"
81
+ }
82
+ }
83
+ }, r = (e, t) => t ? e.replace(/\{\{(\w+)\}\}|\{(\w+)\}/g, (e, n, r) => {
84
+ let i = t[n || r];
85
+ return i === void 0 ? e : String(i);
86
+ }) : e, i = (e, t, n) => {
87
+ let i = t.split("."), a = e;
88
+ for (let e of i) {
89
+ if (!a || typeof a != "object" || !(e in a)) return console.warn(`[ConfigProvider] Cannot find translation for key: ${t}`), t;
90
+ a = a[e];
91
+ }
92
+ return typeof a == "string" ? r(a, n) : t;
93
+ }, a = e({
94
+ locale: "zh-CN",
95
+ t: (e, t) => i(n, e, t)
96
+ }), o = () => t(a);
97
+ //#endregion
98
+ export { n as i, a as n, i as r, o as t };
@@ -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.4.0";
4
+ e["@baishuyun/ui-mobile"] = "0.5.0";
5
5
  }
6
6
  //#endregion
@@ -1,5 +1,6 @@
1
1
  /// <reference types="vite/client" />
2
2
 
3
+ declare const __ICONFONT_SCRIPT_URL__: string;
3
4
  declare const __BSY_PKG_NAME__: string;
4
5
  declare const __BSY_PKG_VERSION__: string;
5
6
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@baishuyun/ui-mobile",
3
- "version": "0.4.0",
3
+ "version": "0.5.0",
4
4
  "type": "module",
5
5
  "description": "百数云 H5 / Mobile UI 组件库",
6
6
  "author": "bsy-fe team",
@@ -62,6 +62,11 @@
62
62
  "vite": "^8.0.0",
63
63
  "vite-plugin-dts": "^4.5.3"
64
64
  },
65
+ "project": {
66
+ "iconfont": {
67
+ "scriptUrl": "https://at.alicdn.com/t/c/font_4786625_7yye49rghck.js"
68
+ }
69
+ },
65
70
  "scripts": {
66
71
  "build": "vite build",
67
72
  "build:debug": "vite build --mode debug",