@burdenoff/microfe-calendar 2026.706.2 → 2026.715.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.
Files changed (81) hide show
  1. package/dist/CalendarRoot.d.ts +33 -0
  2. package/dist/CalendarRoot.d.ts.map +1 -0
  3. package/dist/CalendarRoutes.d.ts +21 -0
  4. package/dist/CalendarRoutes.d.ts.map +1 -0
  5. package/dist/components/AgendaView.d.ts +6 -0
  6. package/dist/components/AgendaView.d.ts.map +1 -0
  7. package/dist/components/CalendarErrorState.d.ts +15 -0
  8. package/dist/components/CalendarErrorState.d.ts.map +1 -0
  9. package/dist/components/ConfirmDialog.d.ts +16 -0
  10. package/dist/components/ConfirmDialog.d.ts.map +1 -0
  11. package/dist/components/DayView.d.ts +11 -0
  12. package/dist/components/DayView.d.ts.map +1 -0
  13. package/dist/components/EventBlock.d.ts +8 -0
  14. package/dist/components/EventBlock.d.ts.map +1 -0
  15. package/dist/components/EventFormModal.d.ts +14 -0
  16. package/dist/components/EventFormModal.d.ts.map +1 -0
  17. package/dist/components/MiniCalendar.d.ts +6 -0
  18. package/dist/components/MiniCalendar.d.ts.map +1 -0
  19. package/dist/components/MonthView.d.ts +11 -0
  20. package/dist/components/MonthView.d.ts.map +1 -0
  21. package/dist/components/TaskEventDetail.d.ts +4 -0
  22. package/dist/components/TaskEventDetail.d.ts.map +1 -0
  23. package/dist/components/TimelineView.d.ts +6 -0
  24. package/dist/components/TimelineView.d.ts.map +1 -0
  25. package/dist/components/ViewSwitcher.d.ts +6 -0
  26. package/dist/components/ViewSwitcher.d.ts.map +1 -0
  27. package/dist/components/WeekView.d.ts +11 -0
  28. package/dist/components/WeekView.d.ts.map +1 -0
  29. package/dist/components/YearView.d.ts +6 -0
  30. package/dist/components/YearView.d.ts.map +1 -0
  31. package/dist/constants/permissions.d.ts +90 -0
  32. package/dist/constants/permissions.d.ts.map +1 -0
  33. package/dist/dev/main.d.ts +2 -0
  34. package/dist/dev/main.d.ts.map +1 -0
  35. package/dist/generated/global-operations.d.ts +2 -0
  36. package/dist/generated/global-operations.d.ts.map +1 -0
  37. package/dist/generated/global-types.d.ts +23527 -0
  38. package/dist/generated/global-types.d.ts.map +1 -0
  39. package/dist/generated/wspace-operations.d.ts +906 -0
  40. package/dist/generated/wspace-operations.d.ts.map +1 -0
  41. package/dist/generated/wspace-types.d.ts +57851 -0
  42. package/dist/generated/wspace-types.d.ts.map +1 -0
  43. package/dist/graphql/calendarDocuments.d.ts +36 -0
  44. package/dist/graphql/calendarDocuments.d.ts.map +1 -0
  45. package/dist/hooks/useCalendarPermissions.d.ts +14 -0
  46. package/dist/hooks/useCalendarPermissions.d.ts.map +1 -0
  47. package/dist/hooks/useEventPermissions.d.ts +15 -0
  48. package/dist/hooks/useEventPermissions.d.ts.map +1 -0
  49. package/dist/hooks/useEvents.d.ts +15 -0
  50. package/dist/hooks/useEvents.d.ts.map +1 -0
  51. package/dist/hooks/useOpenEvent.d.ts +4 -0
  52. package/dist/hooks/useOpenEvent.d.ts.map +1 -0
  53. package/dist/hooks/useSafePermissions.d.ts +2 -0
  54. package/dist/hooks/useSafePermissions.d.ts.map +1 -0
  55. package/dist/index.d.ts +16 -0
  56. package/dist/index.d.ts.map +1 -0
  57. package/dist/pages/CalendarPage.d.ts +5 -0
  58. package/dist/pages/CalendarPage.d.ts.map +1 -0
  59. package/dist/pages/EventDetailsPage.d.ts +6 -0
  60. package/dist/pages/EventDetailsPage.d.ts.map +1 -0
  61. package/dist/pages/ResourcesPage.d.ts +6 -0
  62. package/dist/pages/ResourcesPage.d.ts.map +1 -0
  63. package/dist/pages/ResourcesPage.js +11 -11
  64. package/dist/pages/ResourcesPage.js.map +1 -1
  65. package/dist/pages/SettingsPage.d.ts +2 -0
  66. package/dist/pages/SettingsPage.d.ts.map +1 -0
  67. package/dist/pages/SubscriptionsPage.d.ts +6 -0
  68. package/dist/pages/SubscriptionsPage.d.ts.map +1 -0
  69. package/dist/providers/CalendarProvider.d.ts +32 -0
  70. package/dist/providers/CalendarProvider.d.ts.map +1 -0
  71. package/dist/store/calendarStore.d.ts +69 -0
  72. package/dist/store/calendarStore.d.ts.map +1 -0
  73. package/dist/types/index.d.ts +372 -0
  74. package/dist/types/index.d.ts.map +1 -0
  75. package/dist/utils/dateHelpers.d.ts +72 -0
  76. package/dist/utils/dateHelpers.d.ts.map +1 -0
  77. package/dist/utils/icalHelpers.d.ts +19 -0
  78. package/dist/utils/icalHelpers.d.ts.map +1 -0
  79. package/dist/utils/nativeBridge.d.ts +3 -0
  80. package/dist/utils/nativeBridge.d.ts.map +1 -0
  81. package/package.json +2 -2
@@ -0,0 +1,372 @@
1
+ import { MicrofrontendRootProps } from '@burdenoff/fe-libs/shared/types';
2
+ import { NavItem, FooterItem } from '@burdenoff/fe-libs/shared/hooks/shell';
3
+
4
+ export type { NavItem, FooterItem };
5
+ /**
6
+ * Props for the CalendarRoot component
7
+ */
8
+ export interface CalendarRootProps extends MicrofrontendRootProps {
9
+ /**
10
+ * Optional callback when an event is selected
11
+ */
12
+ onEventSelect?: (event: CalendarEventSummary) => void;
13
+ /**
14
+ * Optional callback when an event is created
15
+ */
16
+ onEventCreate?: (event: CalendarEventSummary) => void;
17
+ /**
18
+ * Optional callback when a resource is booked
19
+ */
20
+ onResourceBook?: (booking: ResourceBookingSummary) => void;
21
+ /**
22
+ * Default calendar view to show
23
+ */
24
+ defaultView?: CalendarViewType;
25
+ /**
26
+ * Default time zone
27
+ */
28
+ defaultTimeZone?: string;
29
+ /**
30
+ * Opt into a read-only overlay of the workspace's PlanMagnet tasks +
31
+ * milestones on the calendar. Provided by the host shell (it owns the Tasks
32
+ * route). Omit for no task overlay.
33
+ */
34
+ taskOverlay?: TaskOverlayConfig;
35
+ /**
36
+ * Optional function to register navigation items with the shell
37
+ */
38
+ registerNavItems?: (items: NavItem | NavItem[]) => () => void;
39
+ /**
40
+ * Optional function to register footer items with the shell
41
+ */
42
+ registerFooterItems?: (items: FooterItem | FooterItem[]) => () => void;
43
+ }
44
+ /**
45
+ * Calendar view types
46
+ */
47
+ export type CalendarViewType = 'day' | 'week' | 'month' | 'year' | 'agenda' | 'timeline';
48
+ /**
49
+ * Event privacy levels
50
+ */
51
+ export type EventPrivacy = 'PUBLIC' | 'PRIVATE' | 'CONFIDENTIAL';
52
+ /**
53
+ * Event status
54
+ */
55
+ export type EventStatus = 'CONFIRMED' | 'TENTATIVE' | 'CANCELLED';
56
+ /**
57
+ * RSVP status for attendees
58
+ */
59
+ export type RSVPStatus = 'ACCEPTED' | 'DECLINED' | 'TENTATIVE' | 'PENDING';
60
+ /**
61
+ * Recurrence pattern types
62
+ */
63
+ export type RecurrencePattern = 'DAILY' | 'WEEKLY' | 'MONTHLY' | 'YEARLY' | 'CUSTOM';
64
+ /**
65
+ * Resource types
66
+ */
67
+ export type ResourceType = 'CONFERENCE_ROOM' | 'EQUIPMENT' | 'DESK' | 'VEHICLE' | 'CUSTOM';
68
+ /**
69
+ * Resource booking status
70
+ */
71
+ export type BookingStatus = 'PENDING' | 'APPROVED' | 'REJECTED';
72
+ /**
73
+ * Permission levels for calendar sharing
74
+ */
75
+ export type CalendarPermission = 'VIEW' | 'EDIT' | 'ADMIN';
76
+ /**
77
+ * Calendar visibility options
78
+ */
79
+ export type CalendarVisibility = 'PRIVATE' | 'WORKSPACE' | 'PUBLIC' | 'CUSTOM';
80
+ /**
81
+ * Reminder method
82
+ */
83
+ export type ReminderMethod = 'EMAIL' | 'NOTIFICATION' | 'SMS';
84
+ /**
85
+ * Summary of a calendar event for callbacks
86
+ */
87
+ export interface CalendarEventSummary {
88
+ id: string;
89
+ title: string;
90
+ startTime: Date;
91
+ endTime: Date;
92
+ isAllDay: boolean;
93
+ calendarId: string;
94
+ }
95
+ /**
96
+ * Summary of a resource booking for callbacks
97
+ */
98
+ export interface ResourceBookingSummary {
99
+ id: string;
100
+ resourceId: string;
101
+ resourceName: string;
102
+ eventId: string;
103
+ startTime: Date;
104
+ endTime: Date;
105
+ status: BookingStatus;
106
+ }
107
+ /**
108
+ * Calendar entity
109
+ */
110
+ export interface Calendar {
111
+ id: string;
112
+ name: string;
113
+ description?: string;
114
+ color: string;
115
+ ownerId: string;
116
+ visibility: CalendarVisibility;
117
+ shares?: CalendarShare[];
118
+ settings?: CalendarSettings;
119
+ createdAt: Date;
120
+ updatedAt: Date;
121
+ }
122
+ /**
123
+ * Calendar sharing configuration
124
+ */
125
+ export interface CalendarShare {
126
+ id: string;
127
+ calendarId: string;
128
+ userId: string;
129
+ userEmail: string;
130
+ userName: string;
131
+ permission: CalendarPermission;
132
+ createdAt: Date;
133
+ }
134
+ /**
135
+ * Calendar settings
136
+ */
137
+ export interface CalendarSettings {
138
+ timeZone?: string;
139
+ workingHours?: WorkingHours;
140
+ defaultEventDuration?: number;
141
+ defaultReminders?: Reminder[];
142
+ }
143
+ /**
144
+ * Working hours configuration
145
+ */
146
+ export interface WorkingHours {
147
+ enabled: boolean;
148
+ days: number[];
149
+ startTime: string;
150
+ endTime: string;
151
+ }
152
+ /**
153
+ * Calendar event
154
+ */
155
+ export interface CalendarEvent {
156
+ id: string;
157
+ calendarId: string;
158
+ calendarName?: string;
159
+ calendarColor?: string;
160
+ title: string;
161
+ description?: string;
162
+ location?: string;
163
+ locationAddress?: string;
164
+ locationUrl?: string;
165
+ locationType?: 'PHYSICAL' | 'ONLINE' | 'HYBRID' | 'TBD';
166
+ startTime: Date;
167
+ endTime: Date;
168
+ isAllDay: boolean;
169
+ privacy: EventPrivacy;
170
+ status: EventStatus;
171
+ eventType?: 'MEETING' | 'TASK' | 'MILESTONE' | 'PROMPT';
172
+ isRecurring?: boolean;
173
+ rrule?: string;
174
+ organizerId: string;
175
+ organizer?: User;
176
+ attendees?: Attendee[];
177
+ recurrence?: RecurrenceRule;
178
+ reminders?: Reminder[];
179
+ category?: EventCategory;
180
+ resourceBookings?: ResourceBooking[];
181
+ attachments?: EventAttachment[];
182
+ videoCallLink?: string;
183
+ onlineMeetingProvider?: string;
184
+ maxAttendees?: number;
185
+ currentAttendeeCount?: number;
186
+ checkInEnabled?: boolean;
187
+ tags?: string[];
188
+ metadata?: Record<string, unknown>;
189
+ /**
190
+ * Where the event originated. 'calendar' = a real calendar-svc event;
191
+ * 'scheduler' = a scheduled-jobs overlay; 'task'/'milestone' = a synthetic,
192
+ * read-only projection of a PlanMagnet work item / milestone (see
193
+ * `TaskOverlayConfig`). Non-'calendar' events deep-link out via `deepLink`.
194
+ */
195
+ sourceKind?: 'calendar' | 'scheduler' | 'task' | 'milestone';
196
+ deepLink?: string;
197
+ createdAt: Date;
198
+ updatedAt: Date;
199
+ }
200
+ /**
201
+ * Event attendee
202
+ */
203
+ export interface Attendee {
204
+ userId: string;
205
+ email: string;
206
+ name: string;
207
+ status: RSVPStatus;
208
+ isRequired: boolean;
209
+ responseTime?: Date;
210
+ }
211
+ /**
212
+ * Recurrence rule
213
+ */
214
+ export interface RecurrenceRule {
215
+ pattern: RecurrencePattern;
216
+ interval: number;
217
+ daysOfWeek?: number[];
218
+ dayOfMonth?: number;
219
+ monthOfYear?: number;
220
+ weekOfMonth?: number;
221
+ endDate?: Date;
222
+ count?: number;
223
+ exceptions?: Date[];
224
+ }
225
+ /**
226
+ * Event reminder
227
+ */
228
+ export interface Reminder {
229
+ id?: string;
230
+ minutesBefore: number;
231
+ method: ReminderMethod;
232
+ }
233
+ /**
234
+ * Event category
235
+ */
236
+ export interface EventCategory {
237
+ id: string;
238
+ name: string;
239
+ color: string;
240
+ icon?: string;
241
+ }
242
+ /**
243
+ * Resource entity
244
+ */
245
+ export interface Resource {
246
+ id: string;
247
+ name: string;
248
+ type: ResourceType;
249
+ description?: string;
250
+ capacity?: number;
251
+ location?: string;
252
+ amenities?: string[];
253
+ metadata?: Record<string, unknown>;
254
+ availability?: TimeSlot[];
255
+ bookings?: ResourceBooking[];
256
+ requiresApproval: boolean;
257
+ createdAt: Date;
258
+ updatedAt: Date;
259
+ }
260
+ /**
261
+ * Resource booking
262
+ */
263
+ export interface ResourceBooking {
264
+ id: string;
265
+ resourceId: string;
266
+ resourceName: string;
267
+ resourceType?: string;
268
+ resourceLocation?: string;
269
+ notes?: string;
270
+ eventId: string;
271
+ startTime: Date;
272
+ endTime: Date;
273
+ status: BookingStatus;
274
+ approvedBy?: User;
275
+ approvedAt?: Date;
276
+ createdAt: Date;
277
+ }
278
+ /**
279
+ * Time slot for availability
280
+ */
281
+ export interface TimeSlot {
282
+ start: Date;
283
+ end: Date;
284
+ eventTitle?: string;
285
+ }
286
+ /**
287
+ * User availability
288
+ */
289
+ export interface UserAvailability {
290
+ userId: string;
291
+ freeSlots: TimeSlot[];
292
+ busySlots: TimeSlot[];
293
+ }
294
+ /**
295
+ * Event attachment
296
+ */
297
+ export interface EventAttachment {
298
+ id: string;
299
+ name: string;
300
+ url: string;
301
+ size: number;
302
+ mimeType: string;
303
+ fileId?: string;
304
+ }
305
+ /**
306
+ * User reference
307
+ */
308
+ export interface User {
309
+ id: string;
310
+ email: string;
311
+ name: string;
312
+ avatar?: string;
313
+ }
314
+ /**
315
+ * Calendar filter
316
+ */
317
+ export interface CalendarFilter {
318
+ calendarIds?: string[];
319
+ categoryIds?: string[];
320
+ attendeeIds?: string[];
321
+ search?: string;
322
+ privacy?: EventPrivacy[];
323
+ status?: EventStatus[];
324
+ /** Show the PlanMagnet task overlay (default on when a taskOverlay is configured). */
325
+ showTasks?: boolean;
326
+ /** Show the PlanMagnet milestone overlay (default on when a taskOverlay is configured). */
327
+ showMilestones?: boolean;
328
+ }
329
+ /**
330
+ * Host-injected config that surfaces the workspace's PlanMagnet tasks +
331
+ * milestones as read-only overlay events on the calendar (Option A: a live
332
+ * frontend projection — nothing is written to calendar-svc, so PlanMagnet stays
333
+ * the single source of truth). Provided by the app shell because the Tasks page
334
+ * lives in a different product MFE, so only the host knows its route. Omit it
335
+ * and the calendar shows no task overlay (generic products are unaffected).
336
+ */
337
+ export interface TaskOverlayConfig {
338
+ /**
339
+ * Route to the product's Tasks page, e.g. '/healthybowl/tasks'. A clicked
340
+ * task/milestone deep-links to `${tasksPath}?item=<id>`.
341
+ */
342
+ tasksPath: string;
343
+ }
344
+ /**
345
+ * Suggested meeting time
346
+ */
347
+ export interface SuggestedTime {
348
+ start: Date;
349
+ end: Date;
350
+ availableCount: number;
351
+ totalCount: number;
352
+ unavailableAttendees: string[];
353
+ }
354
+ /**
355
+ * Calendar subscription URL
356
+ */
357
+ export interface CalendarSubscription {
358
+ id: string;
359
+ calendarId: string;
360
+ url: string;
361
+ type: 'ICAL' | 'CALDAV';
362
+ isPublic: boolean;
363
+ createdAt: Date;
364
+ }
365
+ /**
366
+ * Date range
367
+ */
368
+ export interface DateRange {
369
+ start: Date;
370
+ end: Date;
371
+ }
372
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AAC9E,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,uCAAuC,CAAC;AAEjF,YAAY,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC;AAEpC;;GAEG;AACH,MAAM,WAAW,iBAAkB,SAAQ,sBAAsB;IAC/D;;OAEG;IACH,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,oBAAoB,KAAK,IAAI,CAAC;IAEtD;;OAEG;IACH,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,oBAAoB,KAAK,IAAI,CAAC;IAEtD;;OAEG;IACH,cAAc,CAAC,EAAE,CAAC,OAAO,EAAE,sBAAsB,KAAK,IAAI,CAAC;IAE3D;;OAEG;IACH,WAAW,CAAC,EAAE,gBAAgB,CAAC;IAE/B;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB;;;;OAIG;IACH,WAAW,CAAC,EAAE,iBAAiB,CAAC;IAEhC;;OAEG;IACH,gBAAgB,CAAC,EAAE,CA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MAAM,CAAC;IACX,UAAU,EAAE,MAAM,CAAC;IACnB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,GAAG,QAAQ,CAAC;IACxB,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,EAAE,IAAI,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,SAAS;IACxB,KAAK,EAAE,IAAI,CAAC;IACZ,GAAG,EAAE,IAAI,CAAC;CACX"}
@@ -0,0 +1,72 @@
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
+ * Check if two dates are on the same day
42
+ */
43
+ export declare function isSameDay(date1: Date, date2: Date): boolean;
44
+ /**
45
+ * Check if a date is today
46
+ */
47
+ export declare function isToday(date: Date): boolean;
48
+ /**
49
+ * Format time (HH:mm)
50
+ */
51
+ export declare function formatTime(date: Date): string;
52
+ /**
53
+ * Format date (MM/DD/YYYY)
54
+ */
55
+ export declare function formatDate(date: Date): string;
56
+ /**
57
+ * Format date and time
58
+ */
59
+ export declare function formatDateTime(date: Date): string;
60
+ /**
61
+ * Get an array of dates for a given month (including padding)
62
+ */
63
+ export declare function getMonthDates(date: Date): Date[];
64
+ /**
65
+ * Get an array of dates for a given week
66
+ */
67
+ export declare function getWeekDates(date: Date): Date[];
68
+ /**
69
+ * Calculate duration between two dates in hours
70
+ */
71
+ export declare function getDurationHours(start: Date, end: Date): number;
72
+ //# sourceMappingURL=dateHelpers.d.ts.map
@@ -0,0 +1 @@
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,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,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,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,gBAAgB,CAAC,KAAK,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI,GAAG,MAAM,CAE/D"}
@@ -0,0 +1,19 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,3 @@
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
@@ -0,0 +1 @@
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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burdenoff/microfe-calendar",
3
- "version": "2026.706.2",
3
+ "version": "2026.715.1",
4
4
  "description": "Calendar microfrontend for Burdenoff products",
5
5
  "type": "module",
6
6
  "files": [
@@ -20,7 +20,7 @@
20
20
  },
21
21
  "scripts": {
22
22
  "dev": "vite",
23
- "build": "tsc && vite build",
23
+ "build": "tsc && MFE_DTS=1 vite build",
24
24
  "build:types": "tsc && vite build",
25
25
  "schema:pull": "graphql-codegen --project schema-wspace && graphql-codegen --project schema-global",
26
26
  "codegen": "graphql-codegen --project wspace && graphql-codegen --project global",