@baishuyun/ui-mobile 0.4.0 → 0.6.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 (86) hide show
  1. package/README.md +2 -11
  2. package/dist/AMap/AMap-BWZ2lhXr.js +683 -0
  3. package/dist/AMap/index.js +5 -0
  4. package/dist/ActionSheet/ActionSheet-DbrKxa_y.js +133 -0
  5. package/dist/ActionSheet/index.js +5 -0
  6. package/dist/Calendar/Calendar-Bd6CS8y7.js +1580 -0
  7. package/dist/Calendar/index.js +4 -3
  8. package/dist/Calendar/timeUtils-t4A3-Hr6.js +27 -0
  9. package/dist/ConfigProvider/ConfigProvider-DnlakyRE.js +208 -0
  10. package/dist/ConfigProvider/index.js +4 -4
  11. package/dist/ConfigProvider/useLocale-CP8NRZoj.js +115 -0
  12. package/dist/Gantt/Gantt-CR7eRNVP.js +1094 -0
  13. package/dist/Gantt/index.js +7 -3
  14. package/dist/Icon/Icon-CFvcrGGg.js +23 -0
  15. package/dist/Icon/index.js +3 -0
  16. package/dist/components/AMap/AMap.d.ts +3 -0
  17. package/dist/components/AMap/Controls/Controls.d.ts +3 -0
  18. package/dist/components/AMap/Controls/index.d.ts +1 -0
  19. package/dist/components/AMap/Locate/Locate.d.ts +3 -0
  20. package/dist/components/AMap/Locate/index.d.ts +1 -0
  21. package/dist/components/AMap/Markers/Markers.d.ts +3 -0
  22. package/dist/components/AMap/Markers/index.d.ts +1 -0
  23. package/dist/components/AMap/PoiSearch/PoiSearch.d.ts +3 -0
  24. package/dist/components/AMap/PoiSearch/index.d.ts +1 -0
  25. package/dist/components/AMap/context.d.ts +7 -0
  26. package/dist/components/AMap/ensureAMap.d.ts +7 -0
  27. package/dist/components/AMap/index.d.ts +15 -0
  28. package/dist/components/AMap/interface.d.ts +66 -0
  29. package/dist/components/AMap/utils/cx.d.ts +1 -0
  30. package/dist/components/AMap/utils/geometry.d.ts +21 -0
  31. package/dist/components/AMap/utils/markerHtml.d.ts +21 -0
  32. package/dist/components/AMap/utils/searchPois.d.ts +6 -0
  33. package/dist/components/ActionSheet/ActionSheet.d.ts +3 -0
  34. package/dist/components/ActionSheet/index.d.ts +2 -0
  35. package/dist/components/ActionSheet/interface.d.ts +75 -0
  36. package/dist/components/Calendar/index.d.ts +1 -1
  37. package/dist/components/Calendar/interface.d.ts +59 -1
  38. package/dist/components/ConfigProvider/ConfigContext.d.ts +11 -0
  39. package/dist/components/ConfigProvider/ConfigProvider.d.ts +1 -1
  40. package/dist/components/ConfigProvider/context.d.ts +18 -0
  41. package/dist/components/ConfigProvider/index.d.ts +2 -1
  42. package/dist/components/Gantt/Gantt.d.ts +1 -1
  43. package/dist/components/Gantt/GanttBar.d.ts +12 -0
  44. package/dist/components/Gantt/GanttHeader.d.ts +2 -0
  45. package/dist/components/Gantt/GanttTimeLine.d.ts +9 -0
  46. package/dist/components/Gantt/HeaderToolbar.d.ts +6 -0
  47. package/dist/components/Gantt/OffscreenIndicatorArrow.d.ts +8 -0
  48. package/dist/components/Gantt/OffscreenIndicatorOverlay.d.ts +14 -0
  49. package/dist/components/Gantt/StickyLabel.d.ts +10 -0
  50. package/dist/components/Gantt/TodayIndicator.d.ts +14 -0
  51. package/dist/components/Gantt/context.d.ts +27 -0
  52. package/dist/components/Gantt/hooks/useGanttScroll.d.ts +23 -0
  53. package/dist/components/Gantt/hooks/useGanttViewport.d.ts +20 -0
  54. package/dist/components/Gantt/hooks/useTodayTracker.d.ts +7 -0
  55. package/dist/components/Gantt/index.d.ts +2 -1
  56. package/dist/components/Gantt/interface.d.ts +27 -2
  57. package/dist/components/Gantt/utils/calcTodayLeft.d.ts +8 -0
  58. package/dist/components/Gantt/utils/color.d.ts +2 -0
  59. package/dist/components/Gantt/utils/cx.d.ts +1 -0
  60. package/dist/components/Gantt/utils/dateRangeNormalizer.d.ts +25 -0
  61. package/dist/components/Gantt/utils/dayScale.d.ts +30 -0
  62. package/dist/components/Gantt/utils/headerTimeUtils.d.ts +43 -0
  63. package/dist/components/Gantt/utils/layoutBars.d.ts +26 -0
  64. package/dist/components/Gantt/utils/msUntilNextDay.d.ts +2 -0
  65. package/dist/components/Gantt/utils/time.d.ts +4 -0
  66. package/dist/components/Gantt/utils/viewportDateUtils.d.ts +11 -0
  67. package/dist/components/Gantt/utils/zoomReanchor.d.ts +18 -0
  68. package/dist/components/Icon/Icon.d.ts +6 -0
  69. package/dist/components/Icon/index.d.ts +2 -0
  70. package/dist/components/Icon/interface.d.ts +19 -0
  71. package/dist/components/Icon/loadIconfont.d.ts +1 -0
  72. package/dist/components/index.d.ts +10 -3
  73. package/dist/index.js +10 -6
  74. package/dist/locale/index.d.ts +3 -0
  75. package/dist/locale/lang/en-US.json.d.ts +52 -0
  76. package/dist/locale/lang/zh-CN.json.d.ts +52 -0
  77. package/dist/locale/lang/zh-TW.json.d.ts +52 -0
  78. package/dist/style.css +1 -1
  79. package/dist/vendors/{version-v6TU1ff1.js → version-qi3OapTz.js} +1 -1
  80. package/dist/vite-env.d.ts +1 -0
  81. package/package.json +7 -1
  82. package/dist/Calendar/Calendar-C63wg0aw.js +0 -1601
  83. package/dist/ConfigProvider/ConfigProvider-E792q6ny.js +0 -99
  84. package/dist/Gantt/Gantt-DLmqZPAQ.js +0 -8
  85. package/dist/locale/context/LocaleContext.d.ts +0 -7
  86. package/dist/vendors/useLocale-BbUDQCzl.js +0 -57
@@ -1,5 +1,30 @@
1
- import { ReactNode } from 'react';
1
+ import { Dayjs } from 'dayjs';
2
+ export declare const CALENDAR_ZOOM_LEVELS: readonly ["day", "week", "month", "quarter", "quarterMonth", "year"];
3
+ export declare const SUB_DAY_ZOOM_LEVELS: readonly ["halfDay", "sixHour", "hour", "halfHour", "tenMinute", "oneMinute"];
4
+ export declare const ALL_ZOOM_LEVELS: readonly ["day", "week", "month", "quarter", "quarterMonth", "year", "halfDay", "sixHour", "hour", "halfHour", "tenMinute", "oneMinute"];
5
+ export type ZoomLevel = (typeof ALL_ZOOM_LEVELS)[number];
6
+ export type SubDayZoomLevel = (typeof SUB_DAY_ZOOM_LEVELS)[number];
7
+ export declare const ZOOM_LEVEL_LABEL_MAP: Record<ZoomLevel, string>;
8
+ /** 工具栏展示顺序:亚日(细)→ 年(粗) */
9
+ export declare const ZOOM_LEVEL_DISPLAY_ORDER: readonly ZoomLevel[];
10
+ export type GanttTimeInput = number | string | Date | Dayjs;
11
+ /**
12
+ * 甘特任务的公开模型。不含业务字段;点击只回传这些字段。
13
+ */
14
+ export interface GanttTask {
15
+ id: string;
16
+ label: string;
17
+ startTime: GanttTimeInput;
18
+ endTime: GanttTimeInput;
19
+ progress?: number;
20
+ color?: string;
21
+ }
2
22
  export interface GanttProps {
23
+ tasks?: GanttTask[];
24
+ timeZone?: string;
25
+ zoomLevel?: ZoomLevel;
26
+ defaultZoomLevel?: ZoomLevel;
27
+ onZoomChange?: (level: ZoomLevel) => void;
28
+ onTaskClick?: (task: GanttTask) => void;
3
29
  className?: string;
4
- children?: ReactNode;
5
30
  }
@@ -0,0 +1,8 @@
1
+ import { Dayjs } from 'dayjs';
2
+ import { ZoomLevel } from '../interface';
3
+ /**
4
+ * 计算今天/当前时刻在时间窗里的横向位置。
5
+ * - 日历档:今天列视觉中心
6
+ * - 亚日档:当前 bottom 格中心
7
+ */
8
+ export declare function calcTodayLeft(today: Dayjs, startDate: Dayjs, pxPerDay: number, totalDays: number, zoomLevel?: ZoomLevel): number | null;
@@ -0,0 +1,2 @@
1
+ export declare const hexToRgba: (hex: string, alpha: number) => string | null;
2
+ export declare const getContrastColor: (color: string, minContrastRatio?: number) => string;
@@ -0,0 +1 @@
1
+ export declare const cx: (...parts: Array<string | false | null | undefined>) => string;
@@ -0,0 +1,25 @@
1
+ import { Dayjs } from 'dayjs';
2
+ import { ZoomLevel } from '../interface';
3
+ import { MS_PER_DAY } from './dayScale';
4
+ export declare const hasTimeComponent: (date: Dayjs | null) => boolean;
5
+ export interface NormalizedTaskRange {
6
+ rawStart: Dayjs | null;
7
+ rawEnd: Dayjs | null;
8
+ baseStart: Dayjs | null;
9
+ baseEnd: Dayjs | null;
10
+ invalid: boolean;
11
+ }
12
+ /**
13
+ * 归一化任务起止:base 为日历整天闭区间包络(end 日 +1 天)。
14
+ */
15
+ export declare const normalizeTaskDateRange: (start: Dayjs | null, end: Dayjs | null) => NormalizedTaskRange;
16
+ /**
17
+ * 对齐 ui-base resolveRenderRange:
18
+ * - 亚日 + 起/止含时分 → 连续 raw
19
+ * - 其余 → 整天包络 base
20
+ */
21
+ export declare const resolveRenderRange: (range: NormalizedTaskRange, zoomLevel: ZoomLevel) => {
22
+ start: Dayjs | null;
23
+ end: Dayjs | null;
24
+ };
25
+ export { MS_PER_DAY };
@@ -0,0 +1,30 @@
1
+ import { Dayjs } from 'dayjs';
2
+ import { SubDayZoomLevel, ZoomLevel } from '../interface';
3
+ export declare const MS_PER_DAY: number;
4
+ export declare const MS_HOUR: number;
5
+ export declare const MS_MIN: number;
6
+ /** 亚日档 bottom 格时长(ms) */
7
+ export declare const BOTTOM_CELL_MS: Record<SubDayZoomLevel, number>;
8
+ /** mobile「按日」列宽锚点;tenMinute / oneMinute 单格宽与此一致 */
9
+ export declare const MOBILE_DAY_COLUMN_WIDTH_PX = 30;
10
+ /**
11
+ * 所有缩放级别都共享同一条“按天连续缩放”的比例尺。
12
+ * 日历档为 mobile 独立取值;亚日档在 ui-base 层次上按 day 锚点缩放。
13
+ */
14
+ export declare const PX_PER_DAY_MAP: Record<ZoomLevel, number>;
15
+ /**
16
+ * 亚日档初始缓冲天数(单侧)。
17
+ * 细档必须收窄窗口,避免初次构建上万列表头格。
18
+ */
19
+ export declare const SUBDAY_BUFFER_DAYS: Record<SubDayZoomLevel, number>;
20
+ export declare function isSubDayZoom(level: ZoomLevel): level is SubDayZoomLevel;
21
+ export declare function getBottomCellMs(level: ZoomLevel): number;
22
+ export declare function getBottomCellWidthPx(level: ZoomLevel, pxPerDay: number): number;
23
+ /**
24
+ * 在连续日尺度上把日期映射成像素偏移(保留时分秒,不做日截断)。
25
+ */
26
+ export declare function dateToPx(date: Dayjs, originDate: Dayjs, pxPerDay: number): number;
27
+ /**
28
+ * `dateToPx` 的逆过程,用于从当前视口位置反推日期锚点。
29
+ */
30
+ export declare function pxToDate(px: number, originDate: Dayjs, pxPerDay: number): Dayjs;
@@ -0,0 +1,43 @@
1
+ import { Dayjs } from 'dayjs';
2
+ import { LocaleKeys } from '../../../hooks/useLocale';
3
+ import { LocaleParams } from '../../../locale/formatLocaleMessage';
4
+ import { ZoomLevel } from '../interface';
5
+ export type GanttTranslate = (key: LocaleKeys, params?: LocaleParams) => string;
6
+ /**
7
+ * Row1 只是 Row2 的视觉聚合层;真正的滚动、today 和宽度都仍以 Row2 为准。
8
+ */
9
+ export interface Row1Cell {
10
+ label: string;
11
+ startIndex: number;
12
+ span: number;
13
+ widthPx: number;
14
+ }
15
+ /**
16
+ * Row2 是时间轴的最小真实网格;所有横向定位都要回到这层定义。
17
+ */
18
+ export interface Row2Cell {
19
+ label: string;
20
+ isToday: boolean;
21
+ isWeekend: boolean;
22
+ date: Dayjs;
23
+ endDate: Dayjs;
24
+ days: number;
25
+ }
26
+ /**
27
+ * Row1 宽度必须严格等于底下 Row2 宽度之和,否则 sticky 标题会和列线错位。
28
+ */
29
+ export declare function generateRow1Cells(row2Cells: Row2Cell[], zoomLevel: ZoomLevel, pxPerDay: number, t?: GanttTranslate): Row1Cell[];
30
+ /**
31
+ * 按当前 zoom 生成底层时间网格;上层标题、today 指示器和滚动定位都共用这份列定义。
32
+ */
33
+ export declare function generateRow2Cells(startDate: Dayjs, count: number, zoomLevel: ZoomLevel, todayDate: Dayjs, t?: GanttTranslate): Row2Cell[];
34
+ export declare function getTodayColumnIndex(row2Cells: Row2Cell[]): number;
35
+ /**
36
+ * 以 `anchorDate` 为中心扩出一段稳定的时间窗口。
37
+ * 日历档按“屏数”扩容;亚日档按固定 buffer 天数收窄,避免细粒度列爆炸。
38
+ */
39
+ export declare function calcTimeRange(anchorDate: Dayjs, zoomLevel: ZoomLevel, pxPerDay: number, viewportWidth: number, bufferScreens?: number): {
40
+ startDate: Dayjs;
41
+ count: number;
42
+ totalDays: number;
43
+ };
@@ -0,0 +1,26 @@
1
+ import { Dayjs } from 'dayjs';
2
+ import { GanttTask, ZoomLevel } from '../interface';
3
+ export declare const DEFAULT_BAR_COLOR = "#5170E8";
4
+ export interface LayoutGanttBar {
5
+ id: string;
6
+ label: string;
7
+ hasTimeRange: boolean;
8
+ left: number;
9
+ width: number;
10
+ color: string;
11
+ bgColor: string;
12
+ progress: number;
13
+ rowIndex: number;
14
+ startDate: Dayjs | null;
15
+ endDate: Dayjs | null;
16
+ task: GanttTask;
17
+ }
18
+ export interface GanttTimeAxis {
19
+ startDate: Dayjs;
20
+ pxPerDay: number;
21
+ zoomLevel: ZoomLevel;
22
+ }
23
+ /**
24
+ * 把 GanttTask 转成可渲染的像素条:颜色、进度、left/width。
25
+ */
26
+ export declare function layoutGanttBars(tasks: GanttTask[], timeAxis: GanttTimeAxis, timeZone?: string): LayoutGanttBar[];
@@ -0,0 +1,2 @@
1
+ export declare function msUntilNextDay(timeZone?: string): number;
2
+ export declare function msUntilNextCell(timeZone: string | undefined, cellMs: number): number;
@@ -0,0 +1,4 @@
1
+ import { Dayjs } from 'dayjs';
2
+ import { GanttTimeInput } from '../interface';
3
+ export declare const nowInTz: (timeZone?: string) => Dayjs;
4
+ export declare const parseGanttTime: (value: GanttTimeInput | null | undefined, timeZone?: string) => Dayjs;
@@ -0,0 +1,11 @@
1
+ import { Dayjs } from 'dayjs';
2
+ /**
3
+ * 把“当前正盯着哪一天”从滚动位置里反算出来。
4
+ * zoom 切换和 re-anchor 都依赖这个日期来保持视口焦点不跳。
5
+ */
6
+ export declare function calcViewportCenterDate(scrollLeft: number, viewportWidth: number, startDate: Dayjs, pxPerDay: number): Dayjs;
7
+ /**
8
+ * 反过来把“想盯住的日期”换成 scrollLeft。
9
+ * 这样时间窗结构变了以后,仍能把同一个日期放回视口中心。
10
+ */
11
+ export declare function calcScrollLeftForAnchor(anchorDate: Dayjs, newStartDate: Dayjs, pxPerDay: number, viewportWidth: number): number;
@@ -0,0 +1,18 @@
1
+ import { Dayjs } from 'dayjs';
2
+ import { ZoomLevel } from '../interface';
3
+ interface CalcReanchoredZoomStateParams {
4
+ currentZoomLevel: ZoomLevel;
5
+ nextZoomLevel: ZoomLevel;
6
+ currentAnchorDate: Dayjs;
7
+ currentScrollLeft: number;
8
+ viewportWidth: number;
9
+ }
10
+ interface ReanchoredZoomState {
11
+ anchorDate: Dayjs;
12
+ scrollLeft: number;
13
+ }
14
+ /**
15
+ * 用当前视口中心日期重建缩放后的时间窗,保证 zoom 切换时视觉焦点稳定。
16
+ */
17
+ export declare function calcReanchoredZoomState({ currentZoomLevel, nextZoomLevel, currentAnchorDate, currentScrollLeft, viewportWidth, }: CalcReanchoredZoomStateParams): ReanchoredZoomState;
18
+ export {};
@@ -0,0 +1,6 @@
1
+ import { IconProps } from './interface';
2
+ declare const Icon: {
3
+ ({ name, size, color, className }: IconProps): import("react").JSX.Element;
4
+ displayName: string;
5
+ };
6
+ export default Icon;
@@ -0,0 +1,2 @@
1
+ export { default } from './Icon';
2
+ export type { IconProps } from './interface';
@@ -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,13 @@
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 { ALL_ZOOM_LEVELS } 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';
8
+ export { default as AMap, useAMap } from './AMap';
9
+ export type { AMapControlsProps, AMapLabelColor, AMapLocateProps, AMapMarker, AMapMarkerDisplayChange, AMapMarkerSize, AMapMarkersProps, AMapPoiItem, AMapPoiSearchProps, AMapRootProps, Location, } from './AMap';
5
10
  export { ConfigProvider, useLocale } from './ConfigProvider';
6
- export type { ConfigProviderProps, LocaleKeys, Locale } from './ConfigProvider';
11
+ export type { ConfigProviderProps, AMapConfig, LocaleKeys, Locale } from './ConfigProvider';
12
+ export { default as Icon } from './Icon';
13
+ export type { IconProps } from './Icon';
package/dist/index.js CHANGED
@@ -1,6 +1,10 @@
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-qi3OapTz.js";
2
+ import { t as e } from "./ActionSheet/ActionSheet-DbrKxa_y.js";
3
+ import { n as t, t as n } from "./Gantt/Gantt-CR7eRNVP.js";
4
+ import { t as r } from "./Calendar/Calendar-Bd6CS8y7.js";
5
+ import { t as i } from "./Icon/Icon-CFvcrGGg.js";
6
+ import { n as a, t as o } from "./AMap/AMap-BWZ2lhXr.js";
7
+ import { t as s } from "./ConfigProvider/useLocale-CP8NRZoj.js";
8
+ import "./Calendar/timeUtils-t4A3-Hr6.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,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,55 @@ 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
+ }
83
+ },
84
+ "amap": {
85
+ "poi": {
86
+ "placeholder": "Search location center",
87
+ "loading": "Searching...",
88
+ "empty": "No results"
89
+ },
90
+ "locate": {
91
+ "ariaLabel": "Locate",
92
+ "failed": "Location failed. Check that location access is enabled"
93
+ }
42
94
  }
43
95
  }
44
96
  ;
@@ -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,55 @@ 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
+ }
83
+ },
84
+ "amap": {
85
+ "poi": {
86
+ "placeholder": "搜索定位中心",
87
+ "loading": "搜索中...",
88
+ "empty": "暂无结果"
89
+ },
90
+ "locate": {
91
+ "ariaLabel": "定位",
92
+ "failed": "定位失败,请检查是否开启定位权限"
93
+ }
42
94
  }
43
95
  }
44
96
  ;
@@ -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,55 @@ 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
+ }
83
+ },
84
+ "amap": {
85
+ "poi": {
86
+ "placeholder": "搜尋定位中心",
87
+ "loading": "搜尋中...",
88
+ "empty": "暫無結果"
89
+ },
90
+ "locate": {
91
+ "ariaLabel": "定位",
92
+ "failed": "定位失敗,請檢查是否開啟定位權限"
93
+ }
42
94
  }
43
95
  }
44
96
  ;
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-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_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_1ni8r_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_1ni8r_18{-webkit-overflow-scrolling:touch;scrollbar-width:none;height:100%;overflow:auto hidden}._bsy-mobile-gantt__scroll_1ni8r_18::-webkit-scrollbar{display:none}._bsy-mobile-gantt__canvas_1ni8r_28{flex-direction:column;min-width:100%;height:100%;display:flex}._bsy-mobile-gantt__overlay-host_1ni8r_34{pointer-events:none;z-index:3;position:absolute;bottom:0;left:0;right:0;overflow:hidden}._bsy-mobile-gantt__header_1ni8r_43{background:#fff;border-bottom:1px solid #e0e0e0;flex-shrink:0;height:88px;position:relative}._bsy-mobile-gantt__header-row1_1ni8r_50{height:44px;display:flex}._bsy-mobile-gantt__header-row2_1ni8r_54{position:relative}._bsy-mobile-gantt__header-cell_1ni8r_57{box-sizing:border-box;position:absolute;top:0}._bsy-mobile-gantt__header-cell-label_1ni8r_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_1ni8r_73{color:#0265ff;font-weight:600}._bsy-mobile-gantt__today-dot_1ni8r_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_1ni8r_87{box-sizing:border-box;flex-shrink:0;align-items:center;height:100%;padding-right:10px;display:flex}._bsy-mobile-gantt__sticky-label-text_1ni8r_95{white-space:nowrap;color:#030303;font-size:14px;position:sticky;left:10px}._bsy-mobile-gantt__toolbar_1ni8r_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_1ni8r_115,._bsy-mobile-gantt__toolbar-today_1ni8r_115,._bsy-mobile-gantt__toolbar-nav_1ni8r_115{color:#666;cursor:pointer;-webkit-user-select:none;user-select:none;background:0 0;border:none;padding:0}._bsy-mobile-gantt__toolbar-zoom_1ni8r_115{white-space:nowrap;align-items:center;gap:4px;font-size:14px;display:flex}._bsy-mobile-gantt__toolbar-divider_1ni8r_130{background:#e0e0e0;flex-shrink:0;width:1px;height:14px}._bsy-mobile-gantt__toolbar-today_1ni8r_115{white-space:nowrap;border-radius:4px;padding:3px 5px;font-size:14px}._bsy-mobile-gantt__toolbar-today_1ni8r_115:active{background:#f5f5f5}._bsy-mobile-gantt__toolbar-nav_1ni8r_115{border-radius:4px;justify-content:center;align-items:center;width:26px;height:26px;display:flex}._bsy-mobile-gantt__toolbar-nav_1ni8r_115:active{background:#f5f5f5}._bsy-mobile-gantt__chevron_1ni8r_156{color:#666;display:block}._bsy-mobile-gantt__chevron--left_1ni8r_160{transform:rotate(90deg)}._bsy-mobile-gantt__chevron--right_1ni8r_163{transform:rotate(-90deg)}._bsy-mobile-gantt__timeline_1ni8r_166{-webkit-overflow-scrolling:touch;scrollbar-width:none;flex:1;min-width:100%;overflow:hidden auto}._bsy-mobile-gantt__timeline_1ni8r_166::-webkit-scrollbar{display:none}._bsy-mobile-gantt__timeline-inner_1ni8r_177{min-height:100%;position:relative}._bsy-mobile-gantt__column_1ni8r_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_1ni8r_192{background:#fafafa}._bsy-mobile-gantt__today-line_1ni8r_195{pointer-events:none;z-index:2;background:#0265ff33;height:100%;position:absolute;top:0}._bsy-mobile-gantt__bar_1ni8r_203{cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;position:absolute;overflow:visible}._bsy-mobile-gantt__bar-track_1ni8r_210,._bsy-mobile-gantt__bar-progress_1ni8r_210{border-radius:4px;height:100%;position:absolute;top:0;left:0}._bsy-mobile-gantt__bar-track_1ni8r_210{width:100%}._bsy-mobile-gantt__bar-label_1ni8r_220{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_1ni8r_230{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_1ni8r_242{pointer-events:none;z-index:11;width:100%;height:100%;position:absolute;top:0;left:0}._bsy-mobile-gantt__offscreen-layer_1ni8r_251{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_1ni8r_261{pointer-events:none;align-items:center;width:100%;display:flex;position:absolute;left:0}._bsy-mobile-gantt__offscreen-arrow_1ni8r_269{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_1ni8r_1;display:flex;position:sticky}._bsy-mobile-gantt__offscreen-arrow--right_1ni8r_289{margin-left:auto}._bsy-mobile-gantt__offscreen-arrow_1ni8r_269:active{background:#e0e2ef}@keyframes _bsy-mobile-gantt-arrow-enter_1ni8r_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.4.0";
4
+ e["@baishuyun/ui-mobile"] = "0.6.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.6.0",
4
4
  "type": "module",
5
5
  "description": "百数云 H5 / Mobile UI 组件库",
6
6
  "author": "bsy-fe team",
@@ -46,6 +46,7 @@
46
46
  "react-dom": ">=18.3.0"
47
47
  },
48
48
  "dependencies": {
49
+ "@amap/amap-jsapi-loader": "^1.0.1",
49
50
  "@tanstack/react-virtual": "^3.14.3"
50
51
  },
51
52
  "devDependencies": {
@@ -62,6 +63,11 @@
62
63
  "vite": "^8.0.0",
63
64
  "vite-plugin-dts": "^4.5.3"
64
65
  },
66
+ "project": {
67
+ "iconfont": {
68
+ "scriptUrl": "https://at.alicdn.com/t/c/font_4786625_7yye49rghck.js"
69
+ }
70
+ },
65
71
  "scripts": {
66
72
  "build": "vite build",
67
73
  "build:debug": "vite build --mode debug",