@ebarooni/capacitor-calendar 7.2.0 → 7.3.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 (264) hide show
  1. package/EbarooniCapacitorCalendar.podspec +1 -1
  2. package/Package.swift +2 -2
  3. package/README.md +901 -466
  4. package/android/src/main/java/dev/barooni/capacitor/calendar/CapacitorCalendarPlugin.kt +57 -7
  5. package/android/src/main/java/dev/barooni/capacitor/calendar/PluginError.kt +35 -19
  6. package/android/src/main/java/dev/barooni/capacitor/calendar/implementation/CapacitorCalendar.kt +312 -85
  7. package/android/src/main/java/dev/barooni/capacitor/calendar/models/data/CalendarEvent.kt +4 -0
  8. package/android/src/main/java/dev/barooni/capacitor/calendar/models/data/EventDeleteInfo.kt +8 -0
  9. package/android/src/main/java/dev/barooni/capacitor/calendar/models/data/EventRecurrenceRule.kt +135 -0
  10. package/android/src/main/java/dev/barooni/capacitor/calendar/models/enums/EventSpan.kt +13 -0
  11. package/android/src/main/java/dev/barooni/capacitor/calendar/models/inputs/CheckPermissionInput.kt +0 -4
  12. package/android/src/main/java/dev/barooni/capacitor/calendar/models/inputs/CreateCalendarInput.kt +3 -1
  13. package/android/src/main/java/dev/barooni/capacitor/calendar/models/inputs/CreateEventInput.kt +1 -0
  14. package/android/src/main/java/dev/barooni/capacitor/calendar/models/inputs/CreateEventWithPromptInput.kt +5 -0
  15. package/android/src/main/java/dev/barooni/capacitor/calendar/models/inputs/DeleteCalendarInput.kt +4 -1
  16. package/android/src/main/java/dev/barooni/capacitor/calendar/models/inputs/DeleteEventInput.kt +4 -1
  17. package/android/src/main/java/dev/barooni/capacitor/calendar/models/inputs/DeleteEventWithPromptInput.kt +4 -1
  18. package/android/src/main/java/dev/barooni/capacitor/calendar/models/inputs/DeleteEventsByIdInput.kt +2 -0
  19. package/android/src/main/java/dev/barooni/capacitor/calendar/models/inputs/GetDefaultCalendarInput.kt +9 -0
  20. package/android/src/main/java/dev/barooni/capacitor/calendar/models/inputs/ModifyCalendarInput.kt +10 -1
  21. package/android/src/main/java/dev/barooni/capacitor/calendar/models/inputs/ModifyEvent.kt +3 -1
  22. package/android/src/main/java/dev/barooni/capacitor/calendar/models/inputs/ModifyEventWithPromptInput.kt +3 -0
  23. package/android/src/main/java/dev/barooni/capacitor/calendar/models/inputs/RequestPermissionInput.kt +3 -5
  24. package/android/src/main/java/dev/barooni/capacitor/calendar/models/results/CheckAllPermissionsResult.kt +3 -2
  25. package/android/src/main/java/dev/barooni/capacitor/calendar/models/results/CreateEventResult.kt +1 -0
  26. package/android/src/main/java/dev/barooni/capacitor/calendar/models/results/CreateEventWithPromptResult.kt +1 -0
  27. package/android/src/main/java/dev/barooni/capacitor/calendar/models/results/GetDefaultCalendarResult.kt +1 -0
  28. package/android/src/main/java/dev/barooni/capacitor/calendar/models/results/ListCalendarsResult.kt +1 -0
  29. package/android/src/main/java/dev/barooni/capacitor/calendar/models/results/ListEventsInRangeResult.kt +4 -0
  30. package/android/src/main/java/dev/barooni/capacitor/calendar/models/results/RequestAllPermissionsResult.kt +1 -1
  31. package/android/src/main/java/dev/barooni/capacitor/calendar/models/templates/PluginCompletion.kt +8 -0
  32. package/android/src/main/java/dev/barooni/capacitor/calendar/utils/ImplementationHelper.kt +468 -39
  33. package/dist/docs.json +3046 -1048
  34. package/dist/esm/definitions.d.ts +5 -5
  35. package/dist/esm/definitions.js.map +1 -1
  36. package/dist/esm/index.d.ts +71 -48
  37. package/dist/esm/index.js +17 -17
  38. package/dist/esm/index.js.map +1 -1
  39. package/dist/esm/schemas/enums/attendee-role.js.map +1 -1
  40. package/dist/esm/schemas/enums/attendee-status.js.map +1 -1
  41. package/dist/esm/schemas/enums/attendee-type.js.map +1 -1
  42. package/dist/esm/schemas/enums/calendar-permission-scope.d.ts +9 -1
  43. package/dist/esm/schemas/enums/calendar-permission-scope.js +9 -1
  44. package/dist/esm/schemas/enums/calendar-permission-scope.js.map +1 -1
  45. package/dist/esm/schemas/enums/event-span.d.ts +4 -0
  46. package/dist/esm/schemas/enums/event-span.js +4 -0
  47. package/dist/esm/schemas/enums/event-span.js.map +1 -1
  48. package/dist/esm/schemas/enums/event-status.js.map +1 -1
  49. package/dist/esm/schemas/enums/reminder-recurrence-frequency.d.ts +5 -5
  50. package/dist/esm/schemas/enums/reminder-recurrence-frequency.js +5 -5
  51. package/dist/esm/schemas/enums/reminder-recurrence-frequency.js.map +1 -1
  52. package/dist/esm/schemas/interfaces/calendar-event.d.ts +145 -70
  53. package/dist/esm/schemas/interfaces/calendar-event.js.map +1 -1
  54. package/dist/esm/schemas/interfaces/calendar-source.d.ts +4 -1
  55. package/dist/esm/schemas/interfaces/calendar-source.js.map +1 -1
  56. package/dist/esm/schemas/interfaces/calendar.d.ts +22 -4
  57. package/dist/esm/schemas/interfaces/calendar.js.map +1 -1
  58. package/dist/esm/schemas/interfaces/check-permission-options.d.ts +19 -0
  59. package/dist/esm/schemas/interfaces/check-permission-options.js +2 -0
  60. package/dist/esm/schemas/interfaces/check-permission-options.js.map +1 -0
  61. package/dist/esm/schemas/interfaces/create-calendar-options.d.ts +19 -6
  62. package/dist/esm/schemas/interfaces/create-calendar-options.js.map +1 -1
  63. package/dist/esm/schemas/interfaces/create-calendar-result.d.ts +12 -0
  64. package/dist/esm/schemas/interfaces/create-calendar-result.js +2 -0
  65. package/dist/esm/schemas/interfaces/create-calendar-result.js.map +1 -0
  66. package/dist/esm/schemas/interfaces/create-event-options.d.ts +86 -51
  67. package/dist/esm/schemas/interfaces/create-event-options.js.map +1 -1
  68. package/dist/esm/schemas/interfaces/create-event-result.d.ts +22 -0
  69. package/dist/esm/schemas/interfaces/create-event-result.js +2 -0
  70. package/dist/esm/schemas/interfaces/create-event-result.js.map +1 -0
  71. package/dist/esm/schemas/interfaces/create-event-with-prompt-options.d.ts +73 -36
  72. package/dist/esm/schemas/interfaces/create-event-with-prompt-options.js.map +1 -1
  73. package/dist/esm/schemas/interfaces/create-event-with-prompt-result.d.ts +23 -0
  74. package/dist/esm/schemas/interfaces/create-event-with-prompt-result.js +2 -0
  75. package/dist/esm/schemas/interfaces/create-event-with-prompt-result.js.map +1 -0
  76. package/dist/esm/schemas/interfaces/create-reminder-options.d.ts +42 -12
  77. package/dist/esm/schemas/interfaces/create-reminder-options.js.map +1 -1
  78. package/dist/esm/schemas/interfaces/create-reminder-result.d.ts +12 -0
  79. package/dist/esm/schemas/interfaces/create-reminder-result.js +2 -0
  80. package/dist/esm/schemas/interfaces/create-reminder-result.js.map +1 -0
  81. package/dist/esm/schemas/interfaces/create-reminders-list-options.d.ts +46 -0
  82. package/dist/esm/schemas/interfaces/create-reminders-list-options.js +2 -0
  83. package/dist/esm/schemas/interfaces/create-reminders-list-options.js.map +1 -0
  84. package/dist/esm/schemas/interfaces/create-reminders-list-result.d.ts +12 -0
  85. package/dist/esm/schemas/interfaces/create-reminders-list-result.js +2 -0
  86. package/dist/esm/schemas/interfaces/create-reminders-list-result.js.map +1 -0
  87. package/dist/esm/schemas/interfaces/delete-calendar-options.d.ts +1 -0
  88. package/dist/esm/schemas/interfaces/delete-calendar-options.js.map +1 -1
  89. package/dist/esm/schemas/interfaces/delete-event-options.d.ts +29 -4
  90. package/dist/esm/schemas/interfaces/delete-event-options.js.map +1 -1
  91. package/dist/esm/schemas/interfaces/delete-event-with-prompt-options.d.ts +39 -14
  92. package/dist/esm/schemas/interfaces/delete-event-with-prompt-options.js.map +1 -1
  93. package/dist/esm/schemas/interfaces/delete-events-by-id-options.d.ts +16 -4
  94. package/dist/esm/schemas/interfaces/delete-events-by-id-options.js.map +1 -1
  95. package/dist/esm/schemas/interfaces/delete-reminder-options.d.ts +10 -0
  96. package/dist/esm/schemas/interfaces/delete-reminder-options.js.map +1 -1
  97. package/dist/esm/schemas/interfaces/delete-reminder-with-prompt-result.d.ts +12 -0
  98. package/dist/esm/schemas/interfaces/delete-reminder-with-prompt-result.js +2 -0
  99. package/dist/esm/schemas/interfaces/delete-reminder-with-prompt-result.js.map +1 -0
  100. package/dist/esm/schemas/interfaces/delete-reminders-by-id-result.d.ts +13 -0
  101. package/dist/esm/schemas/interfaces/delete-reminders-by-id-result.js +2 -0
  102. package/dist/esm/schemas/interfaces/delete-reminders-by-id-result.js.map +1 -0
  103. package/dist/esm/schemas/interfaces/delete-reminders-list-options.d.ts +23 -0
  104. package/dist/esm/schemas/interfaces/delete-reminders-list-options.js +2 -0
  105. package/dist/esm/schemas/interfaces/delete-reminders-list-options.js.map +1 -0
  106. package/dist/esm/schemas/interfaces/event-recurrence-rule.d.ts +96 -0
  107. package/dist/esm/schemas/interfaces/event-recurrence-rule.js +2 -0
  108. package/dist/esm/schemas/interfaces/event-recurrence-rule.js.map +1 -0
  109. package/dist/esm/schemas/interfaces/fetch-all-calendar-sources-result.d.ts +13 -0
  110. package/dist/esm/schemas/interfaces/fetch-all-calendar-sources-result.js +2 -0
  111. package/dist/esm/schemas/interfaces/fetch-all-calendar-sources-result.js.map +1 -0
  112. package/dist/esm/schemas/interfaces/get-default-calendar-options.d.ts +13 -0
  113. package/dist/esm/schemas/interfaces/get-default-calendar-options.js +2 -0
  114. package/dist/esm/schemas/interfaces/get-default-calendar-options.js.map +1 -0
  115. package/dist/esm/schemas/interfaces/get-default-reminders-list-result.d.ts +13 -0
  116. package/dist/esm/schemas/interfaces/get-default-reminders-list-result.js +2 -0
  117. package/dist/esm/schemas/interfaces/get-default-reminders-list-result.js.map +1 -0
  118. package/dist/esm/schemas/interfaces/get-reminder-by-id-result.d.ts +13 -0
  119. package/dist/esm/schemas/interfaces/get-reminder-by-id-result.js +2 -0
  120. package/dist/esm/schemas/interfaces/get-reminder-by-id-result.js.map +1 -0
  121. package/dist/esm/schemas/interfaces/get-reminders-from-lists-result.d.ts +13 -0
  122. package/dist/esm/schemas/interfaces/get-reminders-from-lists-result.js +2 -0
  123. package/dist/esm/schemas/interfaces/get-reminders-from-lists-result.js.map +1 -0
  124. package/dist/esm/schemas/interfaces/get-reminders-lists-result.d.ts +13 -0
  125. package/dist/esm/schemas/interfaces/get-reminders-lists-result.js +2 -0
  126. package/dist/esm/schemas/interfaces/get-reminders-lists-result.js.map +1 -0
  127. package/dist/esm/schemas/interfaces/list-calendars-result.d.ts +13 -0
  128. package/dist/esm/schemas/interfaces/list-calendars-result.js +2 -0
  129. package/dist/esm/schemas/interfaces/list-calendars-result.js.map +1 -0
  130. package/dist/esm/schemas/interfaces/list-events-in-range-options.d.ts +7 -2
  131. package/dist/esm/schemas/interfaces/list-events-in-range-options.js.map +1 -1
  132. package/dist/esm/schemas/interfaces/list-events-in-range-result.d.ts +13 -0
  133. package/dist/esm/schemas/interfaces/list-events-in-range-result.js +2 -0
  134. package/dist/esm/schemas/interfaces/list-events-in-range-result.js.map +1 -0
  135. package/dist/esm/schemas/interfaces/modify-calendar-options.d.ts +13 -2
  136. package/dist/esm/schemas/interfaces/modify-calendar-options.js.map +1 -1
  137. package/dist/esm/schemas/interfaces/modify-event-options.d.ts +61 -44
  138. package/dist/esm/schemas/interfaces/modify-event-options.js.map +1 -1
  139. package/dist/esm/schemas/interfaces/modify-event-with-prompt-options.d.ts +77 -2
  140. package/dist/esm/schemas/interfaces/modify-event-with-prompt-options.js.map +1 -1
  141. package/dist/esm/schemas/interfaces/modify-reminder-options.d.ts +77 -13
  142. package/dist/esm/schemas/interfaces/modify-reminder-options.js.map +1 -1
  143. package/dist/esm/schemas/interfaces/open-calendar-options.d.ts +5 -1
  144. package/dist/esm/schemas/interfaces/open-calendar-options.js.map +1 -1
  145. package/dist/esm/schemas/interfaces/recurrence-rule.d.ts +8 -2
  146. package/dist/esm/schemas/interfaces/recurrence-rule.js.map +1 -1
  147. package/dist/esm/schemas/interfaces/reminder-recurrence-rule.d.ts +1 -1
  148. package/dist/esm/schemas/interfaces/reminder-recurrence-rule.js.map +1 -1
  149. package/dist/esm/schemas/interfaces/reminder.d.ts +4 -1
  150. package/dist/esm/schemas/interfaces/reminder.js.map +1 -1
  151. package/dist/esm/schemas/interfaces/reminders-list.d.ts +8 -2
  152. package/dist/esm/schemas/interfaces/reminders-list.js.map +1 -1
  153. package/dist/esm/schemas/interfaces/request-permission-options.d.ts +16 -0
  154. package/dist/esm/schemas/interfaces/request-permission-options.js +2 -0
  155. package/dist/esm/schemas/interfaces/request-permission-options.js.map +1 -0
  156. package/dist/esm/schemas/interfaces/select-calendars-with-prompt-options.d.ts +1 -1
  157. package/dist/esm/schemas/interfaces/select-calendars-with-prompt-options.js.map +1 -1
  158. package/dist/esm/schemas/interfaces/select-calendars-with-prompt-result.d.ts +14 -0
  159. package/dist/esm/schemas/interfaces/select-calendars-with-prompt-result.js +2 -0
  160. package/dist/esm/schemas/interfaces/select-calendars-with-prompt-result.js.map +1 -0
  161. package/dist/esm/schemas/interfaces/update-reminders-list-options.d.ts +43 -0
  162. package/dist/esm/schemas/interfaces/update-reminders-list-options.js +2 -0
  163. package/dist/esm/schemas/interfaces/update-reminders-list-options.js.map +1 -0
  164. package/dist/esm/schemas/interfaces/update-reminders-list-result.d.ts +12 -0
  165. package/dist/esm/schemas/interfaces/update-reminders-list-result.js +2 -0
  166. package/dist/esm/schemas/interfaces/update-reminders-list-result.js.map +1 -0
  167. package/dist/esm/schemas/types/event-edit-action.d.ts +1 -1
  168. package/dist/esm/schemas/types/event-edit-action.js.map +1 -1
  169. package/dist/esm/schemas/types/recurrence-frequency.d.ts +4 -0
  170. package/dist/esm/schemas/types/recurrence-frequency.js +2 -0
  171. package/dist/esm/schemas/types/recurrence-frequency.js.map +1 -0
  172. package/dist/esm/schemas/types/system-color-name.d.ts +6 -0
  173. package/dist/esm/schemas/types/system-color-name.js +2 -0
  174. package/dist/esm/schemas/types/system-color-name.js.map +1 -0
  175. package/dist/esm/sub-definitions/calendar-access.d.ts +26 -14
  176. package/dist/esm/sub-definitions/calendar-access.js.map +1 -1
  177. package/dist/esm/sub-definitions/calendar-operations.d.ts +68 -21
  178. package/dist/esm/sub-definitions/calendar-operations.js.map +1 -1
  179. package/dist/esm/sub-definitions/event-operations.d.ts +46 -25
  180. package/dist/esm/sub-definitions/event-operations.js.map +1 -1
  181. package/dist/esm/sub-definitions/reminders-access.d.ts +6 -2
  182. package/dist/esm/sub-definitions/reminders-access.js.map +1 -1
  183. package/dist/esm/sub-definitions/reminders-operations.d.ts +78 -43
  184. package/dist/esm/sub-definitions/reminders-operations.js.map +1 -1
  185. package/dist/esm/web/download-ics-file.d.ts +18 -0
  186. package/dist/esm/web/download-ics-file.js +33 -0
  187. package/dist/esm/web/download-ics-file.js.map +1 -0
  188. package/dist/esm/web/ics.d.ts +27 -0
  189. package/dist/esm/web/ics.js +294 -0
  190. package/dist/esm/web/ics.js.map +1 -0
  191. package/dist/esm/web.d.ts +70 -82
  192. package/dist/esm/web.js +121 -6
  193. package/dist/esm/web.js.map +1 -1
  194. package/dist/plugin.cjs.js +464 -35
  195. package/dist/plugin.cjs.js.map +1 -1
  196. package/dist/plugin.js +464 -35
  197. package/dist/plugin.js.map +1 -1
  198. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/CapacitorCalendarPlugin.swift +148 -81
  199. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Implementation/CapacitorCalendar.swift +203 -110
  200. package/ios/Plugin/Info.plist +24 -0
  201. package/ios/Plugin/Models/Enums/EventSpan.swift +8 -0
  202. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/CreateCalendarInput.swift +6 -4
  203. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/CreateEventInput.swift +25 -21
  204. package/ios/Plugin/Models/Inputs/CreateEventWithPromptInput.swift +171 -0
  205. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/CreateReminderInput.swift +14 -4
  206. package/ios/Plugin/Models/Inputs/CreateRemindersListInput.swift +43 -0
  207. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/DeleteCalendarInput.swift +1 -1
  208. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/DeleteEventInput.swift +9 -4
  209. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/DeleteEventWithPromptInput.swift +9 -4
  210. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/DeleteEventsByIdInput.swift +9 -4
  211. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/DeleteReminderInput.swift +7 -1
  212. package/ios/Plugin/Models/Inputs/DeleteRemindersListInput.swift +22 -0
  213. package/ios/Plugin/Models/Inputs/GetDefaultCalendarInput.swift +13 -0
  214. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/ModifyCalendarInput.swift +6 -3
  215. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/ModifyEventInput.swift +63 -41
  216. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/ModifyReminderInput.swift +66 -5
  217. package/ios/Plugin/Models/Inputs/UpdateRemindersListInput.swift +41 -0
  218. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/CreateEventResult.swift +1 -0
  219. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/CreateEventWithPromptResult.swift +1 -0
  220. package/ios/Plugin/Models/Results/CreateRemindersListResult.swift +15 -0
  221. package/ios/Plugin/Models/Results/ListEventsInRangeResult.swift +29 -0
  222. package/ios/Plugin/Models/Results/UpdateRemindersListResult.swift +15 -0
  223. package/ios/Plugin/Models/Structs/RecurrenceInput.swift +41 -0
  224. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/PluginConfig.swift +30 -27
  225. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/PluginError.swift +74 -56
  226. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Utils/ImplementationHelper.swift +140 -24
  227. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Utils/UIColorFromHexExtension.swift +5 -0
  228. package/package.json +36 -43
  229. package/dist/esm/schemas/enums/recurrence-frequency.d.ts +0 -21
  230. package/dist/esm/schemas/enums/recurrence-frequency.js +0 -23
  231. package/dist/esm/schemas/enums/recurrence-frequency.js.map +0 -1
  232. package/ios/Sources/CapacitorCalendarPlugin/Models/Inputs/CreateEventWithPromptInput.swift +0 -89
  233. package/ios/Sources/CapacitorCalendarPlugin/Models/Results/ListEventsInRangeResult.swift +0 -16
  234. package/ios/Tests/CapacitorCalendarPluginTests/CapacitorCalendarPluginTests.swift +0 -15
  235. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Enums/CAPPermissionState.swift +0 -0
  236. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Enums/CalendarPermissionScope.swift +0 -0
  237. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Enums/EventEditAction.swift +0 -0
  238. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/CheckPermissionInput.swift +0 -0
  239. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/DeleteReminderWithPromptInput.swift +0 -0
  240. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/DeleteRemindersByIdInput.swift +0 -0
  241. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/GetReminderByIdInput.swift +0 -0
  242. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/GetRemindersFromListsInput.swift +0 -0
  243. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/ListEventsInRangeInput.swift +0 -0
  244. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/ModifyEventWithPromptInput.swift +0 -0
  245. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/OpenCalendarInput.swift +0 -0
  246. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/RequestPermissionInput.swift +0 -0
  247. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/SelectCalendarsWithPromptInput.swift +0 -0
  248. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/CheckAllPermissionsResult.swift +0 -0
  249. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/CheckPermissionResult.swift +0 -0
  250. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/CreateCalendarResult.swift +0 -0
  251. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/CreateReminderResult.swift +0 -0
  252. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/DeleteEventWithPromptResult.swift +0 -0
  253. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/DeleteEventsByIdResult.swift +0 -0
  254. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/DeleteRemindersByIdResult.swift +0 -0
  255. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/FetchAllCalendarSourcesResult.swift +0 -0
  256. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/GetDefaultCalendarResult.swift +0 -0
  257. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/GetReminderByIdResult.swift +0 -0
  258. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/GetRemindersFromListsResult.swift +0 -0
  259. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/ListCalendarsResult.swift +0 -0
  260. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/ModifyEventWithPromptResult.swift +0 -0
  261. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/RequestAllPermissionsResult.swift +0 -0
  262. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/RequestPermissionResult.swift +0 -0
  263. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/SelectCalendarsWithPromptResult.swift +0 -0
  264. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Templates/JSResult.swift +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.js","sources":["esm/schemas/enums/attendee-role.js","esm/schemas/enums/attendee-status.js","esm/schemas/enums/attendee-type.js","esm/schemas/enums/calendar-chooser-display-style.js","esm/schemas/enums/calendar-permission-scope.js","esm/schemas/enums/calendar-source-type.js","esm/schemas/enums/calendar-type.js","esm/schemas/enums/event-availability.js","esm/schemas/enums/event-span.js","esm/schemas/enums/event-status.js","esm/schemas/enums/recurrence-frequency.js","esm/schemas/enums/reminder-recurrence-frequency.js","esm/index.js","esm/web.js"],"sourcesContent":["/**\n * @since 7.1.0\n */\nexport var AttendeeRole;\n(function (AttendeeRole) {\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n AttendeeRole[\"UNKNOWN\"] = \"unknown\";\n /**\n * @platform iOS\n * @since 7.1.0\n */\n AttendeeRole[\"REQUIRED\"] = \"required\";\n /**\n * @platform iOS\n * @since 7.1.0\n */\n AttendeeRole[\"OPTIONAL\"] = \"optional\";\n /**\n * @platform iOS\n * @since 7.1.0\n */\n AttendeeRole[\"CHAIR\"] = \"chair\";\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n AttendeeRole[\"NON_PARTICIPANT\"] = \"nonParticipant\";\n /**\n * @platform Android\n * @since 7.1.0\n */\n AttendeeRole[\"ATTENDEE\"] = \"attendee\";\n /**\n * @platform Android\n * @since 7.1.0\n */\n AttendeeRole[\"ORGANIZER\"] = \"organizer\";\n /**\n * @platform Android\n * @since 7.1.0\n */\n AttendeeRole[\"PERFORMER\"] = \"performer\";\n /**\n * @platform Android\n * @since 7.1.0\n */\n AttendeeRole[\"SPEAKER\"] = \"speaker\";\n})(AttendeeRole || (AttendeeRole = {}));\n//# sourceMappingURL=attendee-role.js.map","/**\n * @since 7.1.0\n */\nexport var AttendeeStatus;\n(function (AttendeeStatus) {\n /**\n * @platform Android\n * @since 7.1.0\n */\n AttendeeStatus[\"NONE\"] = \"none\";\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n AttendeeStatus[\"ACCEPTED\"] = \"accepted\";\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n AttendeeStatus[\"DECLINED\"] = \"declined\";\n /**\n * @platform Android\n * @since 7.1.0\n */\n AttendeeStatus[\"INVITED\"] = \"invited\";\n /**\n * @platform iOS\n * @since 7.1.0\n */\n AttendeeStatus[\"UNKNOWN\"] = \"unknown\";\n /**\n * @platform iOS\n * @since 7.1.0\n */\n AttendeeStatus[\"PENDING\"] = \"pending\";\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n AttendeeStatus[\"TENTATIVE\"] = \"tentative\";\n /**\n * @platform iOS\n * @since 7.1.0\n */\n AttendeeStatus[\"DELEGATED\"] = \"delegated\";\n /**\n * @platform iOS\n * @since 7.1.0\n */\n AttendeeStatus[\"COMPLETED\"] = \"completed\";\n /**\n * @platform iOS\n * @since 7.1.0\n */\n AttendeeStatus[\"IN_PROCESS\"] = \"inProcess\";\n})(AttendeeStatus || (AttendeeStatus = {}));\n//# sourceMappingURL=attendee-status.js.map","/**\n * @since 7.1.0\n */\nexport var AttendeeType;\n(function (AttendeeType) {\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n AttendeeType[\"UNKNOWN\"] = \"unknown\";\n /**\n * @platform iOS\n * @since 7.1.0\n */\n AttendeeType[\"PERSON\"] = \"person\";\n /**\n * @platform iOS\n * @since 7.1.0\n */\n AttendeeType[\"ROOM\"] = \"room\";\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n AttendeeType[\"RESOURCE\"] = \"resource\";\n /**\n * @platform iOS\n * @since 7.1.0\n */\n AttendeeType[\"GROUP\"] = \"group\";\n /**\n * @platform Android\n * @since 7.1.0\n */\n AttendeeType[\"REQUIRED\"] = \"required\";\n /**\n * @platform Android\n * @since 7.1.0\n */\n AttendeeType[\"NONE\"] = \"none\";\n /**\n * @platform Android\n * @since 7.1.0\n */\n AttendeeType[\"OPTIONAL\"] = \"optional\";\n})(AttendeeType || (AttendeeType = {}));\n//# sourceMappingURL=attendee-type.js.map","/**\n * @since 0.2.0\n */\nexport var CalendarChooserDisplayStyle;\n(function (CalendarChooserDisplayStyle) {\n /**\n * @since 0.2.0\n */\n CalendarChooserDisplayStyle[CalendarChooserDisplayStyle[\"ALL_CALENDARS\"] = 0] = \"ALL_CALENDARS\";\n /**\n * @since 0.2.0\n */\n CalendarChooserDisplayStyle[CalendarChooserDisplayStyle[\"WRITABLE_CALENDARS_ONLY\"] = 1] = \"WRITABLE_CALENDARS_ONLY\";\n})(CalendarChooserDisplayStyle || (CalendarChooserDisplayStyle = {}));\n//# sourceMappingURL=calendar-chooser-display-style.js.map","/**\n * Enum defining available calendar and reminders related permissions.\n *\n * @since 7.1.0\n */\nexport var CalendarPermissionScope;\n(function (CalendarPermissionScope) {\n /**\n * Permission required for reading calendar events.\n *\n * @permissions\n * | Platform | Required |\n * |-----------|---------------------|\n * | iOS 17+ | `NSCalendarsFullAccessUsageDescription` |\n * | iOS 13-16 | `NSCalendarsUsageDescription` |\n * | Android | `android.permission.READ_CALENDAR` |\n *\n * @platform Android, iOS\n * @since 7.1.0\n */\n CalendarPermissionScope[\"READ_CALENDAR\"] = \"readCalendar\";\n /**\n * Permission required for reading reminders.\n *\n * @permissions\n * | Platform | Required |\n * |-----------|---------------------|\n * | iOS 17+ | `NSRemindersFullAccessUsageDescription` |\n * | iOS 10-16 | `NSRemindersUsageDescription` |\n * @platform iOS\n * @since 7.1.0\n */\n CalendarPermissionScope[\"READ_REMINDERS\"] = \"readReminders\";\n /**\n * Permission required for adding or modifying calendar events.\n *\n * @permissions\n * | Platform | Required |\n * |-----------|---------------------|\n * | iOS 17+ | `NSCalendarsWriteOnlyAccessUsageDescription` |\n * | iOS 13-16 | `NSCalendarsUsageDescription` |\n * | Android | `android.permission.WRITE_CALENDAR` |\n *\n * @platform Android, iOS\n * @since 7.1.0\n */\n CalendarPermissionScope[\"WRITE_CALENDAR\"] = \"writeCalendar\";\n /**\n * Permission required for adding or modifying reminders.\n *\n * @permissions\n * | Platform | Required |\n * |-----------|---------------------|\n * | iOS 17+ | `NSRemindersFullAccessUsageDescription` |\n * | iOS 13-16 | `NSRemindersUsageDescription` |\n *\n * @platform iOS\n * @since 7.1.0\n */\n CalendarPermissionScope[\"WRITE_REMINDERS\"] = \"writeReminders\";\n})(CalendarPermissionScope || (CalendarPermissionScope = {}));\n//# sourceMappingURL=calendar-permission-scope.js.map","/**\n * @since 7.1.0\n */\nexport var CalendarSourceType;\n(function (CalendarSourceType) {\n /**\n * @since 7.1.0\n */\n CalendarSourceType[CalendarSourceType[\"LOCAL\"] = 0] = \"LOCAL\";\n /**\n * @since 7.1.0\n */\n CalendarSourceType[CalendarSourceType[\"EXCHANGE\"] = 1] = \"EXCHANGE\";\n /**\n * @since 7.1.0\n */\n CalendarSourceType[CalendarSourceType[\"CAL_DAV\"] = 2] = \"CAL_DAV\";\n /**\n * @since 7.1.0\n */\n CalendarSourceType[CalendarSourceType[\"MOBILE_ME\"] = 3] = \"MOBILE_ME\";\n /**\n * @since 7.1.0\n */\n CalendarSourceType[CalendarSourceType[\"SUBSCRIBED\"] = 4] = \"SUBSCRIBED\";\n /**\n * @since 7.1.0\n */\n CalendarSourceType[CalendarSourceType[\"BIRTHDAYS\"] = 5] = \"BIRTHDAYS\";\n})(CalendarSourceType || (CalendarSourceType = {}));\n//# sourceMappingURL=calendar-source-type.js.map","/**\n * @since 7.1.0\n */\nexport var CalendarType;\n(function (CalendarType) {\n /**\n * @since 7.1.0\n */\n CalendarType[CalendarType[\"LOCAL\"] = 0] = \"LOCAL\";\n /**\n * @since 7.1.0\n */\n CalendarType[CalendarType[\"CAL_DAV\"] = 1] = \"CAL_DAV\";\n /**\n * @since 7.1.0\n */\n CalendarType[CalendarType[\"EXCHANGE\"] = 2] = \"EXCHANGE\";\n /**\n * @since 7.1.0\n */\n CalendarType[CalendarType[\"SUBSCRIPTION\"] = 3] = \"SUBSCRIPTION\";\n /**\n * @since 7.1.0\n */\n CalendarType[CalendarType[\"BIRTHDAY\"] = 4] = \"BIRTHDAY\";\n})(CalendarType || (CalendarType = {}));\n//# sourceMappingURL=calendar-type.js.map","/**\n * @since 7.1.0\n */\nexport var EventAvailability;\n(function (EventAvailability) {\n /**\n * @platform iOS\n * @since 7.1.0\n */\n EventAvailability[EventAvailability[\"NOT_SUPPORTED\"] = -1] = \"NOT_SUPPORTED\";\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n EventAvailability[EventAvailability[\"BUSY\"] = 0] = \"BUSY\";\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n EventAvailability[EventAvailability[\"FREE\"] = 1] = \"FREE\";\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n EventAvailability[EventAvailability[\"TENTATIVE\"] = 2] = \"TENTATIVE\";\n /**\n * @platform iOS\n * @since 7.1.0\n */\n EventAvailability[EventAvailability[\"UNAVAILABLE\"] = 3] = \"UNAVAILABLE\";\n})(EventAvailability || (EventAvailability = {}));\n//# sourceMappingURL=event-availability.js.map","/**\n * @since 7.1.0\n */\nexport var EventSpan;\n(function (EventSpan) {\n /**\n * @since 7.1.0\n */\n EventSpan[EventSpan[\"THIS_EVENT\"] = 0] = \"THIS_EVENT\";\n /**\n * @since 7.1.0\n */\n EventSpan[EventSpan[\"THIS_AND_FUTURE_EVENTS\"] = 1] = \"THIS_AND_FUTURE_EVENTS\";\n})(EventSpan || (EventSpan = {}));\n//# sourceMappingURL=event-span.js.map","/**\n * @platform Android, iOS\n * @since 7.1.0\n */\nexport var EventStatus;\n(function (EventStatus) {\n /**\n * @platform iOS\n * @since 7.1.0\n */\n EventStatus[\"NONE\"] = \"none\";\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n EventStatus[\"CONFIRMED\"] = \"confirmed\";\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n EventStatus[\"TENTATIVE\"] = \"tentative\";\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n EventStatus[\"CANCELED\"] = \"canceled\";\n})(EventStatus || (EventStatus = {}));\n//# sourceMappingURL=event-status.js.map","/**\n * @since 7.1.0\n */\nexport var RecurrenceFrequency;\n(function (RecurrenceFrequency) {\n /**\n * @since 7.1.0\n */\n RecurrenceFrequency[RecurrenceFrequency[\"DAILY\"] = 0] = \"DAILY\";\n /**\n * @since 7.1.0\n */\n RecurrenceFrequency[RecurrenceFrequency[\"WEEKLY\"] = 1] = \"WEEKLY\";\n /**\n * @since 7.1.0\n */\n RecurrenceFrequency[RecurrenceFrequency[\"MONTHLY\"] = 2] = \"MONTHLY\";\n /**\n * @since 7.1.0\n */\n RecurrenceFrequency[RecurrenceFrequency[\"YEARLY\"] = 3] = \"YEARLY\";\n})(RecurrenceFrequency || (RecurrenceFrequency = {}));\n//# sourceMappingURL=recurrence-frequency.js.map","/**\n * @deprecated Use `RecurrenceFrequency`.\n */\nexport var ReminderRecurrenceFrequency;\n(function (ReminderRecurrenceFrequency) {\n /**\n * @deprecated Use `RecurrenceFrequency.DAILY`.\n */\n ReminderRecurrenceFrequency[ReminderRecurrenceFrequency[\"DAILY\"] = 0] = \"DAILY\";\n /**\n * @deprecated Use `RecurrenceFrequency.WEEKLY`.\n */\n ReminderRecurrenceFrequency[ReminderRecurrenceFrequency[\"WEEKLY\"] = 1] = \"WEEKLY\";\n /**\n * @deprecated Use `RecurrenceFrequency.MONTHLY`.\n */\n ReminderRecurrenceFrequency[ReminderRecurrenceFrequency[\"MONTHLY\"] = 2] = \"MONTHLY\";\n /**\n * @deprecated Use `RecurrenceFrequency.YEARLY`.\n */\n ReminderRecurrenceFrequency[ReminderRecurrenceFrequency[\"YEARLY\"] = 3] = \"YEARLY\";\n})(ReminderRecurrenceFrequency || (ReminderRecurrenceFrequency = {}));\n//# sourceMappingURL=reminder-recurrence-frequency.js.map","import { AttendeeRole } from \"./schemas/enums/attendee-role\";\nimport { AttendeeStatus } from \"./schemas/enums/attendee-status\";\nimport { AttendeeType } from \"./schemas/enums/attendee-type\";\nimport { CalendarChooserDisplayStyle } from \"./schemas/enums/calendar-chooser-display-style\";\nimport { CalendarPermissionScope } from \"./schemas/enums/calendar-permission-scope\";\nimport { CalendarSourceType } from \"./schemas/enums/calendar-source-type\";\nimport { CalendarType } from \"./schemas/enums/calendar-type\";\nimport { EventAvailability } from \"./schemas/enums/event-availability\";\nimport { EventSpan } from \"./schemas/enums/event-span\";\nimport { EventStatus } from \"./schemas/enums/event-status\";\nimport { RecurrenceFrequency } from \"./schemas/enums/recurrence-frequency\";\nimport { ReminderRecurrenceFrequency } from \"./schemas/enums/reminder-recurrence-frequency\";\nimport { registerPlugin } from \"@capacitor/core\";\nconst CapacitorCalendar = registerPlugin(\"CapacitorCalendar\", {\n web: () => import(\"./web\").then((m) => new m.CapacitorCalendarWeb()),\n});\nexport * from \"./definitions\";\nexport { CalendarPermissionScope, EventAvailability, EventSpan, CalendarChooserDisplayStyle, CalendarType, CalendarSourceType, ReminderRecurrenceFrequency, RecurrenceFrequency, EventStatus, AttendeeRole, AttendeeType, AttendeeStatus, CapacitorCalendar, };\n//# sourceMappingURL=index.js.map","import { WebPlugin } from \"@capacitor/core\";\nexport class CapacitorCalendarWeb extends WebPlugin {\n checkPermission(_options) {\n return this.throwUnimplemented(this.checkPermission.name);\n }\n checkAllPermissions() {\n return this.throwUnimplemented(this.checkAllPermissions.name);\n }\n requestPermission(_options) {\n return this.throwUnimplemented(this.requestPermission.name);\n }\n requestAllPermissions() {\n return this.throwUnimplemented(this.requestAllPermissions.name);\n }\n requestWriteOnlyCalendarAccess() {\n return this.throwUnimplemented(this.requestWriteOnlyCalendarAccess.name);\n }\n requestReadOnlyCalendarAccess() {\n return this.throwUnimplemented(this.requestReadOnlyCalendarAccess.name);\n }\n requestFullCalendarAccess() {\n return this.throwUnimplemented(this.requestFullCalendarAccess.name);\n }\n requestFullRemindersAccess() {\n return this.throwUnimplemented(this.requestFullRemindersAccess.name);\n }\n createEventWithPrompt(_options) {\n return this.throwUnimplemented(this.createEventWithPrompt.name);\n }\n modifyEventWithPrompt(_options) {\n return this.throwUnimplemented(this.modifyEventWithPrompt.name);\n }\n createEvent(_options) {\n return this.throwUnimplemented(this.createEvent.name);\n }\n commit() {\n return this.throwUnimplemented(this.commit.name);\n }\n modifyEvent(_options) {\n return this.throwUnimplemented(this.modifyEvent.name);\n }\n selectCalendarsWithPrompt(_options) {\n return this.throwUnimplemented(this.selectCalendarsWithPrompt.name);\n }\n fetchAllCalendarSources() {\n return this.throwUnimplemented(this.fetchAllCalendarSources.name);\n }\n listCalendars() {\n return this.throwUnimplemented(this.listCalendars.name);\n }\n fetchAllRemindersSources() {\n return this.throwUnimplemented(this.fetchAllRemindersSources.name);\n }\n getDefaultCalendar() {\n return this.throwUnimplemented(this.getDefaultCalendar.name);\n }\n getDefaultRemindersList() {\n return this.throwUnimplemented(this.getDefaultRemindersList.name);\n }\n openReminders() {\n return this.throwUnimplemented(this.openReminders.name);\n }\n getRemindersLists() {\n return this.throwUnimplemented(this.getRemindersLists.name);\n }\n openCalendar(_options) {\n return this.throwUnimplemented(this.openCalendar.name);\n }\n createCalendar(_options) {\n return this.throwUnimplemented(this.createCalendar.name);\n }\n deleteCalendar(_options) {\n return this.throwUnimplemented(this.deleteCalendar.name);\n }\n createReminder(_options) {\n return this.throwUnimplemented(this.createReminder.name);\n }\n deleteRemindersById(_options) {\n return this.throwUnimplemented(this.deleteRemindersById.name);\n }\n deleteReminder(_options) {\n return this.throwUnimplemented(this.deleteReminder.name);\n }\n modifyReminder(_options) {\n return this.throwUnimplemented(this.modifyReminder.name);\n }\n getReminderById(_options) {\n return this.throwUnimplemented(this.getReminderById.name);\n }\n getRemindersFromLists(_options) {\n return this.throwUnimplemented(this.getRemindersFromLists.name);\n }\n deleteEventsById(_options) {\n return this.throwUnimplemented(this.deleteEventsById.name);\n }\n deleteEvent(_options) {\n return this.throwUnimplemented(this.deleteEvent.name);\n }\n deleteEventWithPrompt(_options) {\n return this.throwUnimplemented(this.deleteEventWithPrompt.name);\n }\n listEventsInRange(_options) {\n return this.throwUnimplemented(this.listEventsInRange.name);\n }\n modifyCalendar(_options) {\n return this.throwUnimplemented(this.modifyCalendar.name);\n }\n deleteReminderWithPrompt(_options) {\n return this.throwUnimplemented(this.deleteReminderWithPrompt.name);\n }\n throwUnimplemented(methodName) {\n return Promise.reject(this.unimplemented(`${methodName} is not implemented on the web.`));\n }\n}\n//# sourceMappingURL=web.js.map"],"names":["AttendeeRole","AttendeeStatus","AttendeeType","CalendarChooserDisplayStyle","CalendarPermissionScope","CalendarSourceType","CalendarType","EventAvailability","EventSpan","EventStatus","RecurrenceFrequency","ReminderRecurrenceFrequency","registerPlugin","WebPlugin"],"mappings":";;;IAAA;IACA;IACA;AACWA;IACX,CAAC,UAAU,YAAY,EAAE;IACzB;IACA;IACA;IACA;IACA,IAAI,YAAY,CAAC,SAAS,CAAC,GAAG,SAAS;IACvC;IACA;IACA;IACA;IACA,IAAI,YAAY,CAAC,UAAU,CAAC,GAAG,UAAU;IACzC;IACA;IACA;IACA;IACA,IAAI,YAAY,CAAC,UAAU,CAAC,GAAG,UAAU;IACzC;IACA;IACA;IACA;IACA,IAAI,YAAY,CAAC,OAAO,CAAC,GAAG,OAAO;IACnC;IACA;IACA;IACA;IACA,IAAI,YAAY,CAAC,iBAAiB,CAAC,GAAG,gBAAgB;IACtD;IACA;IACA;IACA;IACA,IAAI,YAAY,CAAC,UAAU,CAAC,GAAG,UAAU;IACzC;IACA;IACA;IACA;IACA,IAAI,YAAY,CAAC,WAAW,CAAC,GAAG,WAAW;IAC3C;IACA;IACA;IACA;IACA,IAAI,YAAY,CAAC,WAAW,CAAC,GAAG,WAAW;IAC3C;IACA;IACA;IACA;IACA,IAAI,YAAY,CAAC,SAAS,CAAC,GAAG,SAAS;IACvC,CAAC,EAAEA,oBAAY,KAAKA,oBAAY,GAAG,EAAE,CAAC,CAAC;;IClDvC;IACA;IACA;AACWC;IACX,CAAC,UAAU,cAAc,EAAE;IAC3B;IACA;IACA;IACA;IACA,IAAI,cAAc,CAAC,MAAM,CAAC,GAAG,MAAM;IACnC;IACA;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B,CAAC,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC;IAClE;IACA,IAAI,WAAW,CAAC,QAAQ,EAAE;IAC1B,QAAQ,OAAO,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IAC7D;IACA,IAAI,qBAAqB,CAAC,QAAQ,EAAE;IACpC,QAAQ,OAAO,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC;IACvE;IACA,IAAI,iBAAiB,CAAC,QAAQ,EAAE;IAChC,QAAQ,OAAO,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC;IACnE;IACA,IAAI,cAAc,CAAC,QAAQ,EAAE;IAC7B,QAAQ,OAAO,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC;IAChE;IACA,IAAI,wBAAwB,CAAC,QAAQ,EAAE;IACvC,QAAQ,OAAO,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,wBAAwB,CAAC,IAAI,CAAC;IAC1E;IACA,IAAI,kBAAkB,CAAC,UAAU,EAAE;IACnC,QAAQ,OAAO,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,EAAE,UAAU,CAAC,+BAA+B,CAAC,CAAC,CAAC;IACjG;IACA;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"plugin.js","sources":["esm/schemas/enums/attendee-role.js","esm/schemas/enums/attendee-status.js","esm/schemas/enums/attendee-type.js","esm/schemas/enums/calendar-chooser-display-style.js","esm/schemas/enums/calendar-permission-scope.js","esm/schemas/enums/calendar-source-type.js","esm/schemas/enums/calendar-type.js","esm/schemas/enums/event-availability.js","esm/schemas/enums/event-span.js","esm/schemas/enums/event-status.js","esm/schemas/enums/reminder-recurrence-frequency.js","esm/web/download-ics-file.js","esm/index.js","esm/web/ics.js","esm/web.js"],"sourcesContent":["/**\n * @since 7.1.0\n */\nexport var AttendeeRole;\n(function (AttendeeRole) {\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n AttendeeRole[\"UNKNOWN\"] = \"unknown\";\n /**\n * @platform iOS\n * @since 7.1.0\n */\n AttendeeRole[\"REQUIRED\"] = \"required\";\n /**\n * @platform iOS\n * @since 7.1.0\n */\n AttendeeRole[\"OPTIONAL\"] = \"optional\";\n /**\n * @platform iOS\n * @since 7.1.0\n */\n AttendeeRole[\"CHAIR\"] = \"chair\";\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n AttendeeRole[\"NON_PARTICIPANT\"] = \"nonParticipant\";\n /**\n * @platform Android\n * @since 7.1.0\n */\n AttendeeRole[\"ATTENDEE\"] = \"attendee\";\n /**\n * @platform Android\n * @since 7.1.0\n */\n AttendeeRole[\"ORGANIZER\"] = \"organizer\";\n /**\n * @platform Android\n * @since 7.1.0\n */\n AttendeeRole[\"PERFORMER\"] = \"performer\";\n /**\n * @platform Android\n * @since 7.1.0\n */\n AttendeeRole[\"SPEAKER\"] = \"speaker\";\n})(AttendeeRole || (AttendeeRole = {}));\n//# sourceMappingURL=attendee-role.js.map","/**\n * @since 7.1.0\n */\nexport var AttendeeStatus;\n(function (AttendeeStatus) {\n /**\n * @platform Android\n * @since 7.1.0\n */\n AttendeeStatus[\"NONE\"] = \"none\";\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n AttendeeStatus[\"ACCEPTED\"] = \"accepted\";\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n AttendeeStatus[\"DECLINED\"] = \"declined\";\n /**\n * @platform Android\n * @since 7.1.0\n */\n AttendeeStatus[\"INVITED\"] = \"invited\";\n /**\n * @platform iOS\n * @since 7.1.0\n */\n AttendeeStatus[\"UNKNOWN\"] = \"unknown\";\n /**\n * @platform iOS\n * @since 7.1.0\n */\n AttendeeStatus[\"PENDING\"] = \"pending\";\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n AttendeeStatus[\"TENTATIVE\"] = \"tentative\";\n /**\n * @platform iOS\n * @since 7.1.0\n */\n AttendeeStatus[\"DELEGATED\"] = \"delegated\";\n /**\n * @platform iOS\n * @since 7.1.0\n */\n AttendeeStatus[\"COMPLETED\"] = \"completed\";\n /**\n * @platform iOS\n * @since 7.1.0\n */\n AttendeeStatus[\"IN_PROCESS\"] = \"inProcess\";\n})(AttendeeStatus || (AttendeeStatus = {}));\n//# sourceMappingURL=attendee-status.js.map","/**\n * @since 7.1.0\n */\nexport var AttendeeType;\n(function (AttendeeType) {\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n AttendeeType[\"UNKNOWN\"] = \"unknown\";\n /**\n * @platform iOS\n * @since 7.1.0\n */\n AttendeeType[\"PERSON\"] = \"person\";\n /**\n * @platform iOS\n * @since 7.1.0\n */\n AttendeeType[\"ROOM\"] = \"room\";\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n AttendeeType[\"RESOURCE\"] = \"resource\";\n /**\n * @platform iOS\n * @since 7.1.0\n */\n AttendeeType[\"GROUP\"] = \"group\";\n /**\n * @platform Android\n * @since 7.1.0\n */\n AttendeeType[\"REQUIRED\"] = \"required\";\n /**\n * @platform Android\n * @since 7.1.0\n */\n AttendeeType[\"NONE\"] = \"none\";\n /**\n * @platform Android\n * @since 7.1.0\n */\n AttendeeType[\"OPTIONAL\"] = \"optional\";\n})(AttendeeType || (AttendeeType = {}));\n//# sourceMappingURL=attendee-type.js.map","/**\n * @since 0.2.0\n */\nexport var CalendarChooserDisplayStyle;\n(function (CalendarChooserDisplayStyle) {\n /**\n * @since 0.2.0\n */\n CalendarChooserDisplayStyle[CalendarChooserDisplayStyle[\"ALL_CALENDARS\"] = 0] = \"ALL_CALENDARS\";\n /**\n * @since 0.2.0\n */\n CalendarChooserDisplayStyle[CalendarChooserDisplayStyle[\"WRITABLE_CALENDARS_ONLY\"] = 1] = \"WRITABLE_CALENDARS_ONLY\";\n})(CalendarChooserDisplayStyle || (CalendarChooserDisplayStyle = {}));\n//# sourceMappingURL=calendar-chooser-display-style.js.map","/**\n * Enum defining available calendar and reminders related permissions.\n *\n * @since 7.1.0\n */\nexport var CalendarPermissionScope;\n(function (CalendarPermissionScope) {\n /**\n * Permission required for reading calendar events.\n *\n * @permissions\n * | Platform | Required |\n * |-----------|---------------------|\n * | iOS 17+ | `NSCalendarsFullAccessUsageDescription` |\n * | iOS 13-16 | `NSCalendarsUsageDescription` |\n * | Android | `android.permission.READ_CALENDAR` |\n *\n * @platform Android, iOS\n * @since 7.1.0\n */\n CalendarPermissionScope[\"READ_CALENDAR\"] = \"readCalendar\";\n /**\n * Permission required for reading reminders.\n *\n * On Android, reminders are not supported. `checkPermission` and\n * `checkAllPermissions` return `\"prompt\"` for this scope.\n * `requestPermission` rejects with `Invalid scope.`.\n *\n * @permissions\n * | Platform | Required |\n * |-----------|---------------------|\n * | iOS 17+ | `NSRemindersFullAccessUsageDescription` |\n * | iOS 13-16 | `NSRemindersUsageDescription` |\n * @platform iOS\n * @since 7.1.0\n */\n CalendarPermissionScope[\"READ_REMINDERS\"] = \"readReminders\";\n /**\n * Permission required for adding or modifying calendar events.\n *\n * @permissions\n * | Platform | Required |\n * |-----------|---------------------|\n * | iOS 17+ | `NSCalendarsWriteOnlyAccessUsageDescription` |\n * | iOS 13-16 | `NSCalendarsUsageDescription` |\n * | Android | `android.permission.WRITE_CALENDAR` |\n *\n * @platform Android, iOS\n * @since 7.1.0\n */\n CalendarPermissionScope[\"WRITE_CALENDAR\"] = \"writeCalendar\";\n /**\n * Permission required for adding or modifying reminders.\n *\n * On Android, reminders are not supported. `checkPermission` and\n * `checkAllPermissions` return `\"prompt\"` for this scope.\n * `requestPermission` rejects with `Invalid scope.`.\n *\n * @permissions\n * | Platform | Required |\n * |-----------|---------------------|\n * | iOS 17+ | `NSRemindersFullAccessUsageDescription` |\n * | iOS 13-16 | `NSRemindersUsageDescription` |\n *\n * @platform iOS\n * @since 7.1.0\n */\n CalendarPermissionScope[\"WRITE_REMINDERS\"] = \"writeReminders\";\n})(CalendarPermissionScope || (CalendarPermissionScope = {}));\n//# sourceMappingURL=calendar-permission-scope.js.map","/**\n * @since 7.1.0\n */\nexport var CalendarSourceType;\n(function (CalendarSourceType) {\n /**\n * @since 7.1.0\n */\n CalendarSourceType[CalendarSourceType[\"LOCAL\"] = 0] = \"LOCAL\";\n /**\n * @since 7.1.0\n */\n CalendarSourceType[CalendarSourceType[\"EXCHANGE\"] = 1] = \"EXCHANGE\";\n /**\n * @since 7.1.0\n */\n CalendarSourceType[CalendarSourceType[\"CAL_DAV\"] = 2] = \"CAL_DAV\";\n /**\n * @since 7.1.0\n */\n CalendarSourceType[CalendarSourceType[\"MOBILE_ME\"] = 3] = \"MOBILE_ME\";\n /**\n * @since 7.1.0\n */\n CalendarSourceType[CalendarSourceType[\"SUBSCRIBED\"] = 4] = \"SUBSCRIBED\";\n /**\n * @since 7.1.0\n */\n CalendarSourceType[CalendarSourceType[\"BIRTHDAYS\"] = 5] = \"BIRTHDAYS\";\n})(CalendarSourceType || (CalendarSourceType = {}));\n//# sourceMappingURL=calendar-source-type.js.map","/**\n * @since 7.1.0\n */\nexport var CalendarType;\n(function (CalendarType) {\n /**\n * @since 7.1.0\n */\n CalendarType[CalendarType[\"LOCAL\"] = 0] = \"LOCAL\";\n /**\n * @since 7.1.0\n */\n CalendarType[CalendarType[\"CAL_DAV\"] = 1] = \"CAL_DAV\";\n /**\n * @since 7.1.0\n */\n CalendarType[CalendarType[\"EXCHANGE\"] = 2] = \"EXCHANGE\";\n /**\n * @since 7.1.0\n */\n CalendarType[CalendarType[\"SUBSCRIPTION\"] = 3] = \"SUBSCRIPTION\";\n /**\n * @since 7.1.0\n */\n CalendarType[CalendarType[\"BIRTHDAY\"] = 4] = \"BIRTHDAY\";\n})(CalendarType || (CalendarType = {}));\n//# sourceMappingURL=calendar-type.js.map","/**\n * @since 7.1.0\n */\nexport var EventAvailability;\n(function (EventAvailability) {\n /**\n * @platform iOS\n * @since 7.1.0\n */\n EventAvailability[EventAvailability[\"NOT_SUPPORTED\"] = -1] = \"NOT_SUPPORTED\";\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n EventAvailability[EventAvailability[\"BUSY\"] = 0] = \"BUSY\";\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n EventAvailability[EventAvailability[\"FREE\"] = 1] = \"FREE\";\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n EventAvailability[EventAvailability[\"TENTATIVE\"] = 2] = \"TENTATIVE\";\n /**\n * @platform iOS\n * @since 7.1.0\n */\n EventAvailability[EventAvailability[\"UNAVAILABLE\"] = 3] = \"UNAVAILABLE\";\n})(EventAvailability || (EventAvailability = {}));\n//# sourceMappingURL=event-availability.js.map","/**\n * @since 7.1.0\n */\nexport var EventSpan;\n(function (EventSpan) {\n /**\n * Only the identified event or occurrence.\n *\n * @since 7.1.0\n */\n EventSpan[EventSpan[\"THIS_EVENT\"] = 0] = \"THIS_EVENT\";\n /**\n * The identified occurrence and future occurrences in the series.\n *\n * @since 7.1.0\n */\n EventSpan[EventSpan[\"THIS_AND_FUTURE_EVENTS\"] = 1] = \"THIS_AND_FUTURE_EVENTS\";\n})(EventSpan || (EventSpan = {}));\n//# sourceMappingURL=event-span.js.map","/**\n * @platform Android, iOS\n * @since 7.1.0\n */\nexport var EventStatus;\n(function (EventStatus) {\n /**\n * @platform iOS\n * @since 7.1.0\n */\n EventStatus[\"NONE\"] = \"none\";\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n EventStatus[\"CONFIRMED\"] = \"confirmed\";\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n EventStatus[\"TENTATIVE\"] = \"tentative\";\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n EventStatus[\"CANCELED\"] = \"canceled\";\n})(EventStatus || (EventStatus = {}));\n//# sourceMappingURL=event-status.js.map","/**\n * @deprecated Use `'daily'`, `'weekly'`, `'monthly'`, or `'yearly'` (`RecurrenceFrequency`).\n */\nexport var ReminderRecurrenceFrequency;\n(function (ReminderRecurrenceFrequency) {\n /**\n * @deprecated Use `'daily'`.\n */\n ReminderRecurrenceFrequency[ReminderRecurrenceFrequency[\"DAILY\"] = 0] = \"DAILY\";\n /**\n * @deprecated Use `'weekly'`.\n */\n ReminderRecurrenceFrequency[ReminderRecurrenceFrequency[\"WEEKLY\"] = 1] = \"WEEKLY\";\n /**\n * @deprecated Use `'monthly'`.\n */\n ReminderRecurrenceFrequency[ReminderRecurrenceFrequency[\"MONTHLY\"] = 2] = \"MONTHLY\";\n /**\n * @deprecated Use `'yearly'`.\n */\n ReminderRecurrenceFrequency[ReminderRecurrenceFrequency[\"YEARLY\"] = 3] = \"YEARLY\";\n})(ReminderRecurrenceFrequency || (ReminderRecurrenceFrequency = {}));\n//# sourceMappingURL=reminder-recurrence-frequency.js.map","/**\n * Triggers a browser download for an `.ics` `File`.\n * Resolves after the object URL is revoked.\n *\n * @throws If `document` or `URL` is not available.\n *\n * @example\n * const { ics } = await CapacitorCalendar.createEvent({\n * title: 'Team standup',\n * icsFileName: 'team-standup.ics',\n * });\n * if (ics) {\n * await downloadIcsFile(ics);\n * }\n *\n * @since 7.3.0\n */\nexport async function downloadIcsFile(file) {\n if (typeof document === 'undefined' || typeof URL === 'undefined') {\n throw new Error('downloadIcsFile requires a browser document environment.');\n }\n const url = URL.createObjectURL(file);\n const link = document.createElement('a');\n link.href = url;\n link.download = file.name.length > 0 ? file.name : 'event.ics';\n document.body.appendChild(link);\n link.click();\n link.remove();\n // Delay revoke so the browser can start the download\n await new Promise((resolve) => setTimeout(resolve, 1000));\n URL.revokeObjectURL(url);\n}\n//# sourceMappingURL=download-ics-file.js.map","import { registerPlugin } from '@capacitor/core';\nimport { AttendeeRole } from './schemas/enums/attendee-role';\nimport { AttendeeStatus } from './schemas/enums/attendee-status';\nimport { AttendeeType } from './schemas/enums/attendee-type';\nimport { CalendarChooserDisplayStyle } from './schemas/enums/calendar-chooser-display-style';\nimport { CalendarPermissionScope } from './schemas/enums/calendar-permission-scope';\nimport { CalendarSourceType } from './schemas/enums/calendar-source-type';\nimport { CalendarType } from './schemas/enums/calendar-type';\nimport { EventAvailability } from './schemas/enums/event-availability';\nimport { EventSpan } from './schemas/enums/event-span';\nimport { EventStatus } from './schemas/enums/event-status';\nimport { ReminderRecurrenceFrequency } from './schemas/enums/reminder-recurrence-frequency';\nimport { downloadIcsFile } from './web/download-ics-file';\nconst CapacitorCalendar = registerPlugin('CapacitorCalendar', {\n web: () => import('./web').then((m) => new m.CapacitorCalendarWeb()),\n});\nexport * from './definitions';\nexport { CalendarPermissionScope, EventAvailability, EventSpan, CalendarChooserDisplayStyle, CalendarType, CalendarSourceType, ReminderRecurrenceFrequency, EventStatus, AttendeeRole, AttendeeType, AttendeeStatus, CapacitorCalendar, downloadIcsFile, };\n//# sourceMappingURL=index.js.map","import { EventAvailability } from '../schemas/enums/event-availability';\nconst HOUR_MS = 60 * 60 * 1000;\nconst DAY_MS = 24 * HOUR_MS;\nconst CRLF = '\\r\\n';\n/**\n * Builds an RFC 5545 `VCALENDAR` document with one `VEVENT` from CreateEventOptions.\n * End comes from `endDate`, else `duration` (RFC 2445), else one hour (or next day if all-day).\n * All-day ends that fall on the start's local day bump to the next day (exclusive `DTEND`).\n */\nexport function buildEventIcs(options) {\n var _a;\n const startDate = (_a = options.startDate) !== null && _a !== void 0 ? _a : Date.now();\n const isAllDay = options.isAllDay === true;\n const endDate = resolveEndDate(startDate, options.endDate, options.duration, isAllDay);\n const lines = [\n 'BEGIN:VCALENDAR',\n 'VERSION:2.0',\n 'PRODID:-//ebarooni/capacitor-calendar//EN',\n 'CALSCALE:GREGORIAN',\n 'METHOD:PUBLISH',\n 'BEGIN:VEVENT',\n `UID:${generateUid()}`,\n `DTSTAMP:${formatDateTimeUtc(Date.now())}`,\n ];\n if (isAllDay) {\n lines.push(`DTSTART;VALUE=DATE:${formatDateOnlyLocal(startDate)}`);\n lines.push(`DTEND;VALUE=DATE:${formatDateOnlyLocal(endDate)}`);\n }\n else {\n lines.push(`DTSTART:${formatDateTimeUtc(startDate)}`);\n lines.push(`DTEND:${formatDateTimeUtc(endDate)}`);\n }\n lines.push(`SUMMARY:${escapeText(options.title)}`);\n if (options.description != null && options.description.length > 0) {\n lines.push(`DESCRIPTION:${escapeText(options.description)}`);\n }\n if (options.location != null && options.location.length > 0) {\n lines.push(`LOCATION:${escapeText(options.location)}`);\n }\n if (options.url != null && options.url.length > 0) {\n lines.push(`URL:${escapeText(options.url)}`);\n }\n if (options.organizer != null && options.organizer.length > 0) {\n lines.push(`ORGANIZER:mailto:${escapeText(options.organizer)}`);\n }\n const transp = mapTransparency(options.availability);\n if (transp != null) {\n lines.push(`TRANSP:${transp}`);\n }\n if (options.recurrence != null) {\n lines.push(`RRULE:${toRRule(options.recurrence, isAllDay)}`);\n }\n if (options.attendees != null) {\n for (const guest of options.attendees) {\n if (guest.email.length === 0) {\n continue;\n }\n const cn = guest.name != null && guest.name.length > 0 ? `;CN=${formatParamValue(guest.name)}` : '';\n lines.push(`ATTENDEE${cn}:mailto:${escapeText(guest.email)}`);\n }\n }\n if (options.alerts != null) {\n for (const minutes of options.alerts) {\n lines.push(...buildAlarm(minutes));\n }\n }\n lines.push('END:VEVENT', 'END:VCALENDAR');\n return lines.map(foldLine).join(CRLF) + CRLF;\n}\n/**\n * Resolves the `.ics` download filename.\n * Uses `icsFileName` when set; otherwise derives a name from `title` (fallback `event.ics`).\n * Appends `.ics` when the chosen name has no such extension.\n */\nexport function resolveIcsFileName(options) {\n var _a;\n const custom = (_a = options.icsFileName) === null || _a === void 0 ? void 0 : _a.trim();\n if (custom != null && custom.length > 0) {\n return /\\.ics$/i.test(custom) ? custom : `${custom}.ics`;\n }\n return fileNameFromTitle(options.title);\n}\nfunction fileNameFromTitle(title) {\n const base = (title !== null && title !== void 0 ? title : 'event')\n .trim()\n .replace(/[^\\w\\s-]+/g, '')\n .replace(/\\s+/g, '-')\n .replace(/-+/g, '-')\n .replace(/^-|-$/g, '')\n .slice(0, 64);\n return `${base.length > 0 ? base : 'event'}.ics`;\n}\n/**\n * Resolves event end milliseconds the same way ICS export does.\n * Prefers `endDate`, else `duration` (RFC 2445), else one hour (or next day if all-day).\n * All-day ends that fall on the start's local day bump to the next day (exclusive `DTEND`).\n */\nexport function resolveEndDate(startDate, endDate, duration, isAllDay) {\n let resolved;\n if (endDate != null) {\n resolved = endDate;\n }\n else if (duration != null && duration.trim().length > 0) {\n resolved = startDate + parseRfc2445DurationMs(duration.trim());\n }\n else {\n resolved = isAllDay ? startDate + DAY_MS : startDate + HOUR_MS;\n }\n if (!isAllDay) {\n return resolved;\n }\n // ICS all-day DTEND is exclusive; same local date as DTSTART is zero-length.\n // Also covers short durations (e.g. PT1H) on all-day events — treat as one whole day.\n if (formatDateOnlyLocal(resolved) <= formatDateOnlyLocal(startDate)) {\n return startDate + DAY_MS;\n }\n return resolved;\n}\n/**\n * Parses an RFC 2445 / RFC 5545 duration string into milliseconds.\n * Supports forms such as `PT1H`, `P1D`, `P3W`, `P2DT4H30M`.\n *\n * @throws If the string is empty, negative, zero-length, or not a valid duration.\n */\nfunction parseRfc2445DurationMs(value) {\n var _a, _b, _c, _d, _e;\n const match = /^([+-])?P(?:(\\d+)W)?(?:(\\d+)D)?(?:T(?:(\\d+)H)?(?:(\\d+)M)?(?:(\\d+)S)?)?$/i.exec(value);\n if (match == null) {\n throw new Error(`Invalid duration: ${value}`);\n }\n const sign = match[1] === '-' ? -1 : 1;\n const weeks = Number((_a = match[2]) !== null && _a !== void 0 ? _a : 0);\n const days = Number((_b = match[3]) !== null && _b !== void 0 ? _b : 0);\n const hours = Number((_c = match[4]) !== null && _c !== void 0 ? _c : 0);\n const minutes = Number((_d = match[5]) !== null && _d !== void 0 ? _d : 0);\n const seconds = Number((_e = match[6]) !== null && _e !== void 0 ? _e : 0);\n // Require at least one unit so bare \"P\" / \"PT\" are rejected.\n if (weeks === 0 && days === 0 && hours === 0 && minutes === 0 && seconds === 0) {\n throw new Error(`Invalid duration: ${value}`);\n }\n const ms = weeks * 7 * DAY_MS + days * DAY_MS + hours * HOUR_MS + minutes * 60 * 1000 + seconds * 1000;\n const signed = sign * ms;\n if (signed <= 0) {\n throw new Error(`Invalid duration: ${value}`);\n }\n return signed;\n}\nfunction mapTransparency(availability) {\n if (availability == null) {\n return null;\n }\n if (availability === EventAvailability.FREE) {\n return 'TRANSPARENT';\n }\n if (availability === EventAvailability.BUSY) {\n return 'OPAQUE';\n }\n return 'OPAQUE';\n}\nfunction toRRule(rule, isAllDay) {\n var _a;\n const parts = [`FREQ=${rule.frequency.toUpperCase()}`, `INTERVAL=${Math.max(1, (_a = rule.interval) !== null && _a !== void 0 ? _a : 1)}`];\n if (rule.count != null) {\n parts.push(`COUNT=${rule.count}`);\n }\n else if (rule.end != null) {\n // RFC 5545: UNTIL must match DTSTART value type (DATE vs DATE-TIME).\n parts.push(`UNTIL=${isAllDay ? formatDateOnlyLocal(rule.end) : formatDateTimeUtc(rule.end)}`);\n }\n if (rule.byWeekDay != null && rule.byWeekDay.length > 0) {\n const mapped = rule.byWeekDay.map(mapWeekday).filter((d) => d != null);\n if (mapped.length > 0) {\n parts.push(`BYDAY=${[...new Set(mapped)].join(',')}`);\n }\n }\n if (rule.byMonthDay != null && rule.byMonthDay.length > 0) {\n parts.push(`BYMONTHDAY=${rule.byMonthDay.join(',')}`);\n }\n if (rule.byMonth != null && rule.byMonth.length > 0) {\n parts.push(`BYMONTH=${rule.byMonth.join(',')}`);\n }\n if (rule.weeksOfTheYear != null && rule.weeksOfTheYear.length > 0) {\n parts.push(`BYWEEKNO=${rule.weeksOfTheYear.join(',')}`);\n }\n if (rule.daysOfTheYear != null && rule.daysOfTheYear.length > 0) {\n parts.push(`BYYEARDAY=${rule.daysOfTheYear.join(',')}`);\n }\n return parts.join(';');\n}\nfunction mapWeekday(day) {\n switch (day) {\n case 1:\n return 'MO';\n case 2:\n return 'TU';\n case 3:\n return 'WE';\n case 4:\n return 'TH';\n case 5:\n return 'FR';\n case 6:\n return 'SA';\n case 7:\n return 'SU';\n default:\n return null;\n }\n}\nfunction buildAlarm(minutes) {\n const trigger = minutes < 0 ? `-PT${Math.abs(minutes)}M` : `PT${minutes}M`;\n return ['BEGIN:VALARM', 'ACTION:DISPLAY', 'DESCRIPTION:Reminder', `TRIGGER:${trigger}`, 'END:VALARM'];\n}\nfunction generateUid() {\n if (typeof crypto !== 'undefined' && typeof crypto.randomUUID === 'function') {\n return `${crypto.randomUUID()}@capacitor-calendar`;\n }\n return `${Date.now()}-${Math.random().toString(36).slice(2, 11)}@capacitor-calendar`;\n}\nfunction formatDateTimeUtc(ms) {\n const date = new Date(ms);\n const fullYear = date.getUTCFullYear();\n const month = padTwoDigits(date.getUTCMonth() + 1);\n const dayOfMonth = padTwoDigits(date.getUTCDate());\n const hours = padTwoDigits(date.getUTCHours());\n const minutes = padTwoDigits(date.getUTCMinutes());\n const seconds = padTwoDigits(date.getUTCSeconds());\n return `${fullYear}${month}${dayOfMonth}T${hours}${minutes}${seconds}Z`;\n}\nfunction formatDateOnlyLocal(ms) {\n const date = new Date(ms);\n return `${date.getFullYear()}${padTwoDigits(date.getMonth() + 1)}${padTwoDigits(date.getDate())}`;\n}\nfunction padTwoDigits(value) {\n return value < 10 ? `0${value}` : String(value);\n}\n/**\n * Escapes TEXT values per RFC 5545 §3.3.11.\n */\nexport function escapeText(value) {\n return value\n .replace(/\\\\/g, '\\\\\\\\')\n .replace(/;/g, '\\\\;')\n .replace(/,/g, '\\\\,')\n .replace(/\\r\\n|\\n|\\r/g, '\\\\n');\n}\n/**\n * Formats a property parameter value per RFC 5545 §3.2.\n * Values with COMMA, SEMICOLON, or COLON are quoted; DQUOTE and line breaks are sanitized.\n */\nfunction formatParamValue(value) {\n const sanitized = value.replace(/[\\r\\n]+/g, ' ').replace(/\"/g, \"'\");\n if (/[;:,]/.test(sanitized)) {\n return `\"${sanitized}\"`;\n }\n return sanitized;\n}\n/**\n * Folds a content line so each physical line is at most 75 octets (RFC 5545 §3.1).\n */\nexport function foldLine(line) {\n const max = 75;\n if (byteLength(line) <= max) {\n return line;\n }\n const chars = [...line];\n let result = '';\n let current = '';\n for (const ch of chars) {\n const next = current + ch;\n if (byteLength(next) > max) {\n result += result.length === 0 ? current : `${CRLF} ${current}`;\n current = ch;\n // Continuations are limited to 74 octets of content + leading space = 75\n while (byteLength(current) > max - 1) {\n // Extremely rare for a single code point; split by taking first unit as-is\n result += `${CRLF} ${current}`;\n current = '';\n break;\n }\n }\n else {\n current = next;\n }\n }\n if (current.length > 0) {\n result += result.length === 0 ? current : `${CRLF} ${current}`;\n }\n return result;\n}\nfunction byteLength(s) {\n return new TextEncoder().encode(s).length;\n}\n//# sourceMappingURL=ics.js.map","import { WebPlugin } from '@capacitor/core';\nimport { downloadIcsFile } from './web/download-ics-file';\nimport { buildEventIcs, resolveEndDate, resolveIcsFileName } from './web/ics';\nconst DAY_MS = 24 * 60 * 60 * 1000;\nexport class CapacitorCalendarWeb extends WebPlugin {\n checkPermission(_options) {\n return this.throwUnimplemented(this.checkPermission.name);\n }\n checkAllPermissions() {\n return this.throwUnimplemented(this.checkAllPermissions.name);\n }\n requestPermission(_options) {\n return this.throwUnimplemented(this.requestPermission.name);\n }\n createRemindersList(_options) {\n return this.throwUnimplemented(this.createRemindersList.name);\n }\n deleteRemindersList(_options) {\n return this.throwUnimplemented(this.deleteRemindersList.name);\n }\n requestAllPermissions() {\n return this.throwUnimplemented(this.requestAllPermissions.name);\n }\n requestWriteOnlyCalendarAccess() {\n return this.throwUnimplemented(this.requestWriteOnlyCalendarAccess.name);\n }\n requestReadOnlyCalendarAccess() {\n return this.throwUnimplemented(this.requestReadOnlyCalendarAccess.name);\n }\n requestFullCalendarAccess() {\n return this.throwUnimplemented(this.requestFullCalendarAccess.name);\n }\n requestFullRemindersAccess() {\n return this.throwUnimplemented(this.requestFullRemindersAccess.name);\n }\n async createEventWithPrompt(options = {}) {\n try {\n const confirmed = window.confirm(buildCreateEventConfirmMessage(options));\n if (!confirmed) {\n return { id: null, ics: null };\n }\n const createOptions = mapPromptOptionsToCreateEvent(options);\n const content = buildEventIcs(createOptions);\n const ics = new File([content], resolveIcsFileName(createOptions), {\n type: 'text/calendar;charset=utf-8',\n });\n if (options.autoDownloadIcsFile !== false) {\n await downloadIcsFile(ics);\n }\n return { id: null, ics };\n }\n catch (error) {\n const message = error instanceof Error ? error.message : String(error);\n return Promise.reject(new Error(message));\n }\n }\n modifyEventWithPrompt(_options) {\n return this.throwUnimplemented(this.modifyEventWithPrompt.name);\n }\n async createEvent(options) {\n try {\n const content = buildEventIcs(options);\n const ics = new File([content], resolveIcsFileName(options), {\n type: 'text/calendar;charset=utf-8',\n });\n if (options.autoDownloadIcsFile === true) {\n await downloadIcsFile(ics);\n }\n return { id: null, ics };\n }\n catch (error) {\n const message = error instanceof Error ? error.message : String(error);\n return Promise.reject(new Error(message));\n }\n }\n commit() {\n return this.throwUnimplemented(this.commit.name);\n }\n modifyEvent(_options) {\n return this.throwUnimplemented(this.modifyEvent.name);\n }\n selectCalendarsWithPrompt(_options) {\n return this.throwUnimplemented(this.selectCalendarsWithPrompt.name);\n }\n fetchAllCalendarSources() {\n return this.throwUnimplemented(this.fetchAllCalendarSources.name);\n }\n listCalendars() {\n return this.throwUnimplemented(this.listCalendars.name);\n }\n fetchAllRemindersSources() {\n return this.throwUnimplemented(this.fetchAllRemindersSources.name);\n }\n getDefaultCalendar(_options) {\n return this.throwUnimplemented(this.getDefaultCalendar.name);\n }\n getDefaultRemindersList() {\n return this.throwUnimplemented(this.getDefaultRemindersList.name);\n }\n openReminders() {\n return this.throwUnimplemented(this.openReminders.name);\n }\n getRemindersLists() {\n return this.throwUnimplemented(this.getRemindersLists.name);\n }\n openCalendar(_options) {\n return this.throwUnimplemented(this.openCalendar.name);\n }\n createCalendar(_options) {\n return this.throwUnimplemented(this.createCalendar.name);\n }\n deleteCalendar(_options) {\n return this.throwUnimplemented(this.deleteCalendar.name);\n }\n createReminder(_options) {\n return this.throwUnimplemented(this.createReminder.name);\n }\n deleteRemindersById(_options) {\n return this.throwUnimplemented(this.deleteRemindersById.name);\n }\n deleteReminder(_options) {\n return this.throwUnimplemented(this.deleteReminder.name);\n }\n modifyReminder(_options) {\n return this.throwUnimplemented(this.modifyReminder.name);\n }\n getReminderById(_options) {\n return this.throwUnimplemented(this.getReminderById.name);\n }\n getRemindersFromLists(_options) {\n return this.throwUnimplemented(this.getRemindersFromLists.name);\n }\n deleteEventsById(_options) {\n return this.throwUnimplemented(this.deleteEventsById.name);\n }\n deleteEvent(_options) {\n return this.throwUnimplemented(this.deleteEvent.name);\n }\n deleteEventWithPrompt(_options) {\n return this.throwUnimplemented(this.deleteEventWithPrompt.name);\n }\n listEventsInRange(_options) {\n return this.throwUnimplemented(this.listEventsInRange.name);\n }\n modifyCalendar(_options) {\n return this.throwUnimplemented(this.modifyCalendar.name);\n }\n deleteReminderWithPrompt(_options) {\n return this.throwUnimplemented(this.deleteReminderWithPrompt.name);\n }\n updateRemindersList(_options) {\n return this.throwUnimplemented(this.updateRemindersList.name);\n }\n throwUnimplemented(methodName) {\n return Promise.reject(this.unimplemented(`${methodName} is not implemented on the web.`));\n }\n}\nfunction mapPromptOptionsToCreateEvent(options) {\n var _a;\n return {\n alerts: options.alerts,\n availability: options.availability,\n description: options.description,\n endDate: options.endDate,\n icsFileName: options.icsFileName,\n isAllDay: options.isAllDay,\n location: options.location,\n recurrence: options.recurrence,\n startDate: options.startDate,\n title: (_a = options.title) !== null && _a !== void 0 ? _a : '',\n url: options.url,\n };\n}\nfunction buildCreateEventConfirmMessage(options) {\n var _a;\n const custom = (_a = options.promptMessage) === null || _a === void 0 ? void 0 : _a.trim();\n if (custom != null && custom.length > 0) {\n return custom;\n }\n const title = normalizeConfirmTitle(options.title);\n const timeSummary = formatEventTimeSummary(options);\n return `Create event?\\n\\n${title}\\n${timeSummary}`;\n}\nfunction normalizeConfirmTitle(title) {\n const collapsed = (title !== null && title !== void 0 ? title : '')\n .replace(/[\\r\\n]+/g, ' ')\n .replace(/\\s+/g, ' ')\n .trim();\n return collapsed.length > 0 ? collapsed : 'Untitled event';\n}\nfunction formatEventTimeSummary(options) {\n var _a;\n const startDate = (_a = options.startDate) !== null && _a !== void 0 ? _a : Date.now();\n const isAllDay = options.isAllDay === true;\n const endDate = resolveEndDate(startDate, options.endDate, undefined, isAllDay);\n if (isAllDay) {\n const startDay = formatLocalDate(startDate);\n const lastInclusiveMs = endDate - DAY_MS;\n const lastDay = formatLocalDate(lastInclusiveMs);\n if (lastDay <= startDay) {\n return `All day · ${formatDisplayDate(startDate)}`;\n }\n return `All day · ${formatDisplayDate(startDate)} – ${formatDisplayDate(lastInclusiveMs)}`;\n }\n return `${formatDisplayDateTime(startDate)} – ${formatDisplayDateTime(endDate)}`;\n}\nfunction formatLocalDate(ms) {\n const date = new Date(ms);\n const fullYear = date.getFullYear();\n const month = String(date.getMonth() + 1).padStart(2, '0');\n const dayOfMonth = String(date.getDate()).padStart(2, '0');\n return `${fullYear}-${month}-${dayOfMonth}`;\n}\nfunction formatDisplayDate(ms) {\n return new Date(ms).toLocaleDateString(undefined, {\n year: 'numeric',\n month: 'short',\n day: 'numeric',\n });\n}\nfunction formatDisplayDateTime(ms) {\n return new Date(ms).toLocaleString(undefined, {\n year: 'numeric',\n month: 'short',\n day: 'numeric',\n hour: 'numeric',\n minute: '2-digit',\n });\n}\n//# sourceMappingURL=web.js.map"],"names":["AttendeeRole","AttendeeStatus","AttendeeType","CalendarChooserDisplayStyle","CalendarPermissionScope","CalendarSourceType","CalendarType","EventAvailability","EventSpan","EventStatus","ReminderRecurrenceFrequency","registerPlugin","DAY_MS","WebPlugin"],"mappings":";;;IAAA;IACA;IACA;AACWA;IACX,CAAC,UAAU,YAAY,EAAE;IACzB;IACA;IACA;IACA;IACA,IAAI,YAAY,CAAC,SAAS,CAAC,GAAG,SAAS;IACvC;IACA;IACA;IACA;IACA,IAAI,YAAY,CAAC,UAAU,CAAC,GAAG,UAAU;IACzC;IACA;IACA;IACA;IACA,IAAI,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