@burdenoff/microfe-calendar 2026.525.2 → 2026.527.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/CalendarRoutes.js +1 -1
- package/dist/CalendarRoutes.js.map +1 -1
- package/dist/components/AgendaView.js +47 -42
- package/dist/components/AgendaView.js.map +1 -1
- package/dist/components/ConfirmDialog.js +3 -0
- package/dist/components/ConfirmDialog.js.map +1 -1
- package/dist/components/EventBlock.js.map +1 -1
- package/dist/components/EventFormModal.js +292 -261
- package/dist/components/EventFormModal.js.map +1 -1
- package/dist/components/MiniCalendar.js +3 -0
- package/dist/components/MiniCalendar.js.map +1 -1
- package/dist/components/TimelineView.js +38 -33
- package/dist/components/TimelineView.js.map +1 -1
- package/dist/components/ViewSwitcher.js +1 -0
- package/dist/components/ViewSwitcher.js.map +1 -1
- package/dist/components/WeekView.js +37 -32
- package/dist/components/WeekView.js.map +1 -1
- package/dist/hooks/useEvents.js +1 -1
- package/dist/hooks/useEvents.js.map +1 -1
- package/dist/hooks/useSafePermissions.js +1 -9
- package/dist/hooks/useSafePermissions.js.map +1 -1
- package/dist/pages/CalendarPage.js +8 -1
- package/dist/pages/CalendarPage.js.map +1 -1
- package/dist/pages/EventDetailsPage.js +12 -3
- package/dist/pages/EventDetailsPage.js.map +1 -1
- package/dist/pages/ResourcesPage.js +192 -182
- package/dist/pages/ResourcesPage.js.map +1 -1
- package/dist/pages/SettingsPage.js +26 -10
- package/dist/pages/SettingsPage.js.map +1 -1
- package/dist/pages/SubscriptionsPage.js +2 -0
- package/dist/pages/SubscriptionsPage.js.map +1 -1
- package/dist/providers/CalendarProvider.js +1 -1
- package/dist/providers/CalendarProvider.js.map +1 -1
- package/dist/utils/dateHelpers.js +2 -5
- package/dist/utils/dateHelpers.js.map +1 -1
- package/package.json +1 -3
- package/dist/CalendarRoot.d.ts +0 -33
- package/dist/CalendarRoot.d.ts.map +0 -1
- package/dist/CalendarRoutes.d.ts +0 -21
- package/dist/CalendarRoutes.d.ts.map +0 -1
- package/dist/components/AgendaView.d.ts +0 -6
- package/dist/components/AgendaView.d.ts.map +0 -1
- package/dist/components/ConfirmDialog.d.ts +0 -16
- package/dist/components/ConfirmDialog.d.ts.map +0 -1
- package/dist/components/DayView.d.ts +0 -6
- package/dist/components/DayView.d.ts.map +0 -1
- package/dist/components/EventBlock.d.ts +0 -8
- package/dist/components/EventBlock.d.ts.map +0 -1
- package/dist/components/EventFormModal.d.ts +0 -14
- package/dist/components/EventFormModal.d.ts.map +0 -1
- package/dist/components/MiniCalendar.d.ts +0 -6
- package/dist/components/MiniCalendar.d.ts.map +0 -1
- package/dist/components/MonthView.d.ts +0 -6
- package/dist/components/MonthView.d.ts.map +0 -1
- package/dist/components/TimelineView.d.ts +0 -6
- package/dist/components/TimelineView.d.ts.map +0 -1
- package/dist/components/ViewSwitcher.d.ts +0 -6
- package/dist/components/ViewSwitcher.d.ts.map +0 -1
- package/dist/components/WeekView.d.ts +0 -6
- package/dist/components/WeekView.d.ts.map +0 -1
- package/dist/components/YearView.d.ts +0 -6
- package/dist/components/YearView.d.ts.map +0 -1
- package/dist/constants/permissions.d.ts +0 -90
- package/dist/constants/permissions.d.ts.map +0 -1
- package/dist/dev/main.d.ts +0 -2
- package/dist/dev/main.d.ts.map +0 -1
- package/dist/generated/global-operations.d.ts +0 -2
- package/dist/generated/global-operations.d.ts.map +0 -1
- package/dist/generated/global-types.d.ts +0 -23527
- package/dist/generated/global-types.d.ts.map +0 -1
- package/dist/generated/wspace-operations.d.ts +0 -906
- package/dist/generated/wspace-operations.d.ts.map +0 -1
- package/dist/generated/wspace-types.d.ts +0 -57851
- package/dist/generated/wspace-types.d.ts.map +0 -1
- package/dist/graphql/calendarDocuments.d.ts +0 -25
- package/dist/graphql/calendarDocuments.d.ts.map +0 -1
- package/dist/hooks/index.d.ts +0 -11
- package/dist/hooks/index.d.ts.map +0 -1
- package/dist/hooks/useCalendarPermissions.d.ts +0 -14
- package/dist/hooks/useCalendarPermissions.d.ts.map +0 -1
- package/dist/hooks/useEventPermissions.d.ts +0 -15
- package/dist/hooks/useEventPermissions.d.ts.map +0 -1
- package/dist/hooks/useEvents.d.ts +0 -15
- package/dist/hooks/useEvents.d.ts.map +0 -1
- package/dist/hooks/useSafePermissions.d.ts +0 -6
- package/dist/hooks/useSafePermissions.d.ts.map +0 -1
- package/dist/index.d.ts +0 -16
- package/dist/index.d.ts.map +0 -1
- package/dist/pages/CalendarPage.d.ts +0 -5
- package/dist/pages/CalendarPage.d.ts.map +0 -1
- package/dist/pages/EventDetailsPage.d.ts +0 -6
- package/dist/pages/EventDetailsPage.d.ts.map +0 -1
- package/dist/pages/ResourcesPage.d.ts +0 -6
- package/dist/pages/ResourcesPage.d.ts.map +0 -1
- package/dist/pages/SettingsPage.d.ts +0 -2
- package/dist/pages/SettingsPage.d.ts.map +0 -1
- package/dist/pages/SubscriptionsPage.d.ts +0 -6
- package/dist/pages/SubscriptionsPage.d.ts.map +0 -1
- package/dist/providers/CalendarProvider.d.ts +0 -31
- package/dist/providers/CalendarProvider.d.ts.map +0 -1
- package/dist/store/calendarStore.d.ts +0 -69
- package/dist/store/calendarStore.d.ts.map +0 -1
- package/dist/types/index.d.ts +0 -341
- package/dist/types/index.d.ts.map +0 -1
- package/dist/utils/dateHelpers.d.ts +0 -115
- package/dist/utils/dateHelpers.d.ts.map +0 -1
- package/dist/utils/icalHelpers.d.ts +0 -19
- package/dist/utils/icalHelpers.d.ts.map +0 -1
- package/dist/utils/nativeBridge.d.ts +0 -3
- package/dist/utils/nativeBridge.d.ts.map +0 -1
- package/dist/utils/recurrenceHelpers.d.ts +0 -15
- package/dist/utils/recurrenceHelpers.d.ts.map +0 -1
- package/dist/utils/timezoneHelpers.d.ts +0 -39
- package/dist/utils/timezoneHelpers.d.ts.map +0 -1
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Date manipulation helpers for calendar operations
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* Get the start of the day
|
|
6
|
-
*/
|
|
7
|
-
export declare function startOfDay(date: Date): Date;
|
|
8
|
-
/**
|
|
9
|
-
* Get the end of the day
|
|
10
|
-
*/
|
|
11
|
-
export declare function endOfDay(date: Date): Date;
|
|
12
|
-
/**
|
|
13
|
-
* Get the start of the week (Sunday)
|
|
14
|
-
*/
|
|
15
|
-
export declare function startOfWeek(date: Date): Date;
|
|
16
|
-
/**
|
|
17
|
-
* Get the end of the week (Saturday)
|
|
18
|
-
*/
|
|
19
|
-
export declare function endOfWeek(date: Date): Date;
|
|
20
|
-
/**
|
|
21
|
-
* Get the start of the month
|
|
22
|
-
*/
|
|
23
|
-
export declare function startOfMonth(date: Date): Date;
|
|
24
|
-
/**
|
|
25
|
-
* Get the end of the month
|
|
26
|
-
*/
|
|
27
|
-
export declare function endOfMonth(date: Date): Date;
|
|
28
|
-
/**
|
|
29
|
-
* Get the start of the year
|
|
30
|
-
*/
|
|
31
|
-
export declare function startOfYear(date: Date): Date;
|
|
32
|
-
/**
|
|
33
|
-
* Get the end of the year
|
|
34
|
-
*/
|
|
35
|
-
export declare function endOfYear(date: Date): Date;
|
|
36
|
-
/**
|
|
37
|
-
* Add days to a date
|
|
38
|
-
*/
|
|
39
|
-
export declare function addDays(date: Date, days: number): Date;
|
|
40
|
-
/**
|
|
41
|
-
* Add hours to a date
|
|
42
|
-
*/
|
|
43
|
-
export declare function addHours(date: Date, hours: number): Date;
|
|
44
|
-
/**
|
|
45
|
-
* Add minutes to a date
|
|
46
|
-
*/
|
|
47
|
-
export declare function addMinutes(date: Date, minutes: number): Date;
|
|
48
|
-
/**
|
|
49
|
-
* Check if two dates are on the same day
|
|
50
|
-
*/
|
|
51
|
-
export declare function isSameDay(date1: Date, date2: Date): boolean;
|
|
52
|
-
/**
|
|
53
|
-
* Check if a date is today
|
|
54
|
-
*/
|
|
55
|
-
export declare function isToday(date: Date): boolean;
|
|
56
|
-
/**
|
|
57
|
-
* Check if a date is in the past
|
|
58
|
-
*/
|
|
59
|
-
export declare function isPast(date: Date): boolean;
|
|
60
|
-
/**
|
|
61
|
-
* Check if a date is in the future
|
|
62
|
-
*/
|
|
63
|
-
export declare function isFuture(date: Date): boolean;
|
|
64
|
-
/**
|
|
65
|
-
* Format time (HH:mm)
|
|
66
|
-
*/
|
|
67
|
-
export declare function formatTime(date: Date): string;
|
|
68
|
-
/**
|
|
69
|
-
* Format date (MM/DD/YYYY)
|
|
70
|
-
*/
|
|
71
|
-
export declare function formatDate(date: Date): string;
|
|
72
|
-
/**
|
|
73
|
-
* Format date and time
|
|
74
|
-
*/
|
|
75
|
-
export declare function formatDateTime(date: Date): string;
|
|
76
|
-
/**
|
|
77
|
-
* Format time range
|
|
78
|
-
*/
|
|
79
|
-
export declare function formatTimeRange(start: Date, end: Date): string;
|
|
80
|
-
/**
|
|
81
|
-
* Get the number of days in a month
|
|
82
|
-
*/
|
|
83
|
-
export declare function getDaysInMonth(date: Date): number;
|
|
84
|
-
/**
|
|
85
|
-
* Get an array of dates for a given month (including padding)
|
|
86
|
-
*/
|
|
87
|
-
export declare function getMonthDates(date: Date): Date[];
|
|
88
|
-
/**
|
|
89
|
-
* Get an array of dates for a given week
|
|
90
|
-
*/
|
|
91
|
-
export declare function getWeekDates(date: Date): Date[];
|
|
92
|
-
/**
|
|
93
|
-
* Calculate duration between two dates in minutes
|
|
94
|
-
*/
|
|
95
|
-
export declare function getDurationMinutes(start: Date, end: Date): number;
|
|
96
|
-
/**
|
|
97
|
-
* Calculate duration between two dates in hours
|
|
98
|
-
*/
|
|
99
|
-
export declare function getDurationHours(start: Date, end: Date): number;
|
|
100
|
-
/**
|
|
101
|
-
* Format duration (e.g., "1h 30m", "30m", "2h")
|
|
102
|
-
*/
|
|
103
|
-
export declare function formatDuration(minutes: number): string;
|
|
104
|
-
/**
|
|
105
|
-
* Parse time string (HH:mm) to hours and minutes
|
|
106
|
-
*/
|
|
107
|
-
export declare function parseTime(time: string): {
|
|
108
|
-
hours: number;
|
|
109
|
-
minutes: number;
|
|
110
|
-
};
|
|
111
|
-
/**
|
|
112
|
-
* Create a date from time string
|
|
113
|
-
*/
|
|
114
|
-
export declare function dateFromTime(date: Date, time: string): Date;
|
|
115
|
-
//# sourceMappingURL=dateHelpers.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dateHelpers.d.ts","sourceRoot":"","sources":["../../src/utils/dateHelpers.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;GAEG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,CAI3C;AAED;;GAEG;AACH,wBAAgB,QAAQ,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,CAIzC;AAED;;GAEG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,CAM5C;AAED;;GAEG;AACH,wBAAgB,SAAS,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,CAI1C;AAED;;GAEG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,CAI7C;AAED;;GAEG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,CAI3C;AAED;;GAEG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,CAI5C;AAED;;GAEG;AACH,wBAAgB,SAAS,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,CAI1C;AAED;;GAEG;AACH,wBAAgB,OAAO,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,GAAG,IAAI,CAItD;AAED;;GAEG;AACH,wBAAgB,QAAQ,CAAC,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAIxD;AAED;;GAEG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,GAAG,IAAI,CAI5D;AAED;;GAEG;AACH,wBAAgB,SAAS,CAAC,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,GAAG,OAAO,CAM3D;AAED;;GAEG;AACH,wBAAgB,OAAO,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO,CAE3C;AAED;;GAEG;AACH,wBAAgB,MAAM,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO,CAE1C;AAED;;GAEG;AACH,wBAAgB,QAAQ,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO,CAE5C;AAED;;GAEG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,CAM7C;AAED;;GAEG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,CAM7C;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,CAQjD;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI,GAAG,MAAM,CAE9D;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,CAEjD;AAED;;GAEG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,EAAE,CAehD;AAED;;GAEG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,EAAE,CAS/C;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI,GAAG,MAAM,CAEjE;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI,GAAG,MAAM,CAE/D;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAatD;AAED;;GAEG;AACH,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAG1E;AAED;;GAEG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,GAAG,IAAI,CAK3D"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { CalendarEvent } from '../types';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Generate iCal format string for an event
|
|
5
|
-
*/
|
|
6
|
-
export declare function generateICalEvent(event: CalendarEvent): string;
|
|
7
|
-
/**
|
|
8
|
-
* Generate full iCal calendar
|
|
9
|
-
*/
|
|
10
|
-
export declare function generateICalCalendar(events: CalendarEvent[], calendarName?: string): string;
|
|
11
|
-
/**
|
|
12
|
-
* Download iCal file
|
|
13
|
-
*/
|
|
14
|
-
export declare function downloadICalFile(content: string, filename?: string): void;
|
|
15
|
-
/**
|
|
16
|
-
* Parse simple iCal content (basic implementation)
|
|
17
|
-
*/
|
|
18
|
-
export declare function parseICalContent(content: string): Partial<CalendarEvent>[];
|
|
19
|
-
//# sourceMappingURL=icalHelpers.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"icalHelpers.d.ts","sourceRoot":"","sources":["../../src/utils/icalHelpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAkB,MAAM,UAAU,CAAC;AAE9D;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,aAAa,GAAG,MAAM,CAyF9D;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAClC,MAAM,EAAE,aAAa,EAAE,EACvB,YAAY,GAAE,MAAmB,GAChC,MAAM,CAmBR;AAgFD;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,GAAE,MAAuB,GAAG,IAAI,CAUzF;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC,EAAE,CA+B1E"}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export { getPlatform, isNative, isIOS, isAndroid, isWeb, nativeImpact, nativeNotify, nativeToast, nativeConfirm, nativeCopyText, nativeShare, nativeOpenUrl, useNativePlatform, useSafeArea, useNativeKeyboard, useAppState, useDeviceInfo, useHaptics, useStatusBar, } from '@burdenoff/fe-libs/shared/native';
|
|
2
|
-
export type { BurdenoffNativePlatform, BurdenoffNativeBridge, SafeAreaInsets, DeviceInfo, HapticImpactStyle, HapticNotificationType, ToastDuration, ConfirmOptions, ShareOptions, AppState, StatusBarTheme, } from '@burdenoff/fe-libs/shared/native';
|
|
3
|
-
//# sourceMappingURL=nativeBridge.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"nativeBridge.d.ts","sourceRoot":"","sources":["../../src/utils/nativeBridge.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,QAAQ,EACR,KAAK,EACL,SAAS,EACT,KAAK,EACL,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,aAAa,EACb,cAAc,EACd,WAAW,EACX,aAAa,EACb,iBAAiB,EACjB,WAAW,EACX,iBAAiB,EACjB,WAAW,EACX,aAAa,EACb,UAAU,EACV,YAAY,GACb,MAAM,kCAAkC,CAAC;AAE1C,YAAY,EACV,uBAAuB,EACvB,qBAAqB,EACrB,cAAc,EACd,UAAU,EACV,iBAAiB,EACjB,sBAAsB,EACtB,aAAa,EACb,cAAc,EACd,YAAY,EACZ,QAAQ,EACR,cAAc,GACf,MAAM,kCAAkC,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { RecurrenceRule } from '../types';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Generate occurrences for a recurring event
|
|
5
|
-
*/
|
|
6
|
-
export declare function generateOccurrences(startDate: Date, _endDate: Date, rule: RecurrenceRule, rangeStart: Date, rangeEnd: Date, maxOccurrences?: number): Date[];
|
|
7
|
-
/**
|
|
8
|
-
* Format recurrence rule as human-readable text
|
|
9
|
-
*/
|
|
10
|
-
export declare function formatRecurrenceRule(rule: RecurrenceRule): string;
|
|
11
|
-
/**
|
|
12
|
-
* Validate recurrence rule
|
|
13
|
-
*/
|
|
14
|
-
export declare function validateRecurrenceRule(rule: RecurrenceRule): boolean;
|
|
15
|
-
//# sourceMappingURL=recurrenceHelpers.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"recurrenceHelpers.d.ts","sourceRoot":"","sources":["../../src/utils/recurrenceHelpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAG/C;;GAEG;AACH,wBAAgB,mBAAmB,CACjC,SAAS,EAAE,IAAI,EACf,QAAQ,EAAE,IAAI,EACd,IAAI,EAAE,cAAc,EACpB,UAAU,EAAE,IAAI,EAChB,QAAQ,EAAE,IAAI,EACd,cAAc,GAAE,MAAY,GAC3B,IAAI,EAAE,CAsCR;AAiGD;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,cAAc,GAAG,MAAM,CAmEjE;AA2CD;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,cAAc,GAAG,OAAO,CA2BpE"}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Timezone manipulation helpers
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* Convert a date to a specific timezone
|
|
6
|
-
*/
|
|
7
|
-
export declare function toTimeZone(date: Date, timeZone: string): Date;
|
|
8
|
-
/**
|
|
9
|
-
* Get the current timezone
|
|
10
|
-
*/
|
|
11
|
-
export declare function getCurrentTimeZone(): string;
|
|
12
|
-
/**
|
|
13
|
-
* Get timezone offset in minutes
|
|
14
|
-
*/
|
|
15
|
-
export declare function getTimeZoneOffset(timeZone: string, date?: Date): number;
|
|
16
|
-
/**
|
|
17
|
-
* Format timezone offset (e.g., "UTC+05:30", "UTC-08:00")
|
|
18
|
-
*/
|
|
19
|
-
export declare function formatTimeZoneOffset(timeZone: string): string;
|
|
20
|
-
/**
|
|
21
|
-
* Get the timezone abbreviation (e.g., "PST", "EST")
|
|
22
|
-
*/
|
|
23
|
-
export declare function getTimeZoneAbbreviation(timeZone: string, date?: Date): string;
|
|
24
|
-
/**
|
|
25
|
-
* Common timezone list
|
|
26
|
-
*/
|
|
27
|
-
export declare const COMMON_TIMEZONES: {
|
|
28
|
-
value: string;
|
|
29
|
-
label: string;
|
|
30
|
-
}[];
|
|
31
|
-
/**
|
|
32
|
-
* Format date in a specific timezone
|
|
33
|
-
*/
|
|
34
|
-
export declare function formatInTimeZone(date: Date, timeZone: string, options?: Intl.DateTimeFormatOptions): string;
|
|
35
|
-
/**
|
|
36
|
-
* Check if a timezone observes daylight saving time
|
|
37
|
-
*/
|
|
38
|
-
export declare function hasDaylightSaving(timeZone: string): boolean;
|
|
39
|
-
//# sourceMappingURL=timezoneHelpers.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"timezoneHelpers.d.ts","sourceRoot":"","sources":["../../src/utils/timezoneHelpers.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;GAEG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,GAAG,IAAI,CAG7D;AAED;;GAEG;AACH,wBAAgB,kBAAkB,IAAI,MAAM,CAE3C;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,IAAI,GAAG,MAAM,CAKvE;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAO7D;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,IAAI,GAAG,MAAM,CAU7E;AAED;;GAEG;AACH,eAAO,MAAM,gBAAgB;;;GAgB5B,CAAC;AAEF;;GAEG;AACH,wBAAgB,gBAAgB,CAC9B,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,IAAI,CAAC,qBAAqB,GACnC,MAAM,CAKR;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAQ3D"}
|