@ebarooni/capacitor-calendar 7.2.0 → 8.0.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 (140) hide show
  1. package/EbarooniCapacitorCalendar.podspec +2 -2
  2. package/Package.swift +4 -4
  3. package/README.md +176 -162
  4. package/android/build.gradle +20 -18
  5. package/android/src/main/java/dev/barooni/capacitor/calendar/implementation/CapacitorCalendar.kt +90 -61
  6. package/android/src/main/java/dev/barooni/capacitor/calendar/models/data/EventRecurrenceRule.kt +135 -0
  7. package/android/src/main/java/dev/barooni/capacitor/calendar/models/inputs/CreateEventInput.kt +1 -0
  8. package/android/src/main/java/dev/barooni/capacitor/calendar/models/inputs/CreateEventWithPromptInput.kt +5 -0
  9. package/android/src/main/java/dev/barooni/capacitor/calendar/models/inputs/ModifyEvent.kt +2 -0
  10. package/android/src/main/java/dev/barooni/capacitor/calendar/models/inputs/ModifyEventWithPromptInput.kt +3 -0
  11. package/android/src/main/java/dev/barooni/capacitor/calendar/utils/ImplementationHelper.kt +48 -4
  12. package/dist/docs.json +584 -324
  13. package/dist/esm/definitions.d.ts +5 -5
  14. package/dist/esm/definitions.js.map +1 -1
  15. package/dist/esm/index.d.ts +46 -46
  16. package/dist/esm/index.js +16 -17
  17. package/dist/esm/index.js.map +1 -1
  18. package/dist/esm/schemas/enums/attendee-role.js.map +1 -1
  19. package/dist/esm/schemas/enums/attendee-status.js.map +1 -1
  20. package/dist/esm/schemas/enums/attendee-type.js.map +1 -1
  21. package/dist/esm/schemas/enums/calendar-permission-scope.js.map +1 -1
  22. package/dist/esm/schemas/enums/event-status.js.map +1 -1
  23. package/dist/esm/schemas/interfaces/calendar-event.d.ts +7 -5
  24. package/dist/esm/schemas/interfaces/calendar-event.js.map +1 -1
  25. package/dist/esm/schemas/interfaces/calendar-source.d.ts +1 -1
  26. package/dist/esm/schemas/interfaces/calendar-source.js.map +1 -1
  27. package/dist/esm/schemas/interfaces/calendar.d.ts +2 -2
  28. package/dist/esm/schemas/interfaces/calendar.js.map +1 -1
  29. package/dist/esm/schemas/interfaces/create-event-options.d.ts +63 -46
  30. package/dist/esm/schemas/interfaces/create-event-options.js.map +1 -1
  31. package/dist/esm/schemas/interfaces/create-event-with-prompt-options.d.ts +42 -31
  32. package/dist/esm/schemas/interfaces/create-event-with-prompt-options.js.map +1 -1
  33. package/dist/esm/schemas/interfaces/create-reminder-options.d.ts +10 -1
  34. package/dist/esm/schemas/interfaces/create-reminder-options.js.map +1 -1
  35. package/dist/esm/schemas/interfaces/delete-event-options.d.ts +1 -1
  36. package/dist/esm/schemas/interfaces/delete-event-options.js.map +1 -1
  37. package/dist/esm/schemas/interfaces/delete-event-with-prompt-options.d.ts +1 -1
  38. package/dist/esm/schemas/interfaces/delete-event-with-prompt-options.js.map +1 -1
  39. package/dist/esm/schemas/interfaces/delete-events-by-id-options.d.ts +1 -1
  40. package/dist/esm/schemas/interfaces/delete-events-by-id-options.js.map +1 -1
  41. package/dist/esm/schemas/interfaces/event-recurrence-rule.d.ts +96 -0
  42. package/dist/esm/schemas/interfaces/event-recurrence-rule.js +2 -0
  43. package/dist/esm/schemas/interfaces/event-recurrence-rule.js.map +1 -0
  44. package/dist/esm/schemas/interfaces/modify-event-options.d.ts +61 -44
  45. package/dist/esm/schemas/interfaces/modify-event-options.js.map +1 -1
  46. package/dist/esm/schemas/interfaces/modify-event-with-prompt-options.d.ts +1 -1
  47. package/dist/esm/schemas/interfaces/modify-event-with-prompt-options.js.map +1 -1
  48. package/dist/esm/schemas/interfaces/modify-reminder-options.d.ts +12 -1
  49. package/dist/esm/schemas/interfaces/modify-reminder-options.js.map +1 -1
  50. package/dist/esm/schemas/interfaces/recurrence-rule.d.ts +1 -1
  51. package/dist/esm/schemas/interfaces/recurrence-rule.js.map +1 -1
  52. package/dist/esm/schemas/interfaces/reminder-recurrence-rule.d.ts +1 -1
  53. package/dist/esm/schemas/interfaces/reminder-recurrence-rule.js.map +1 -1
  54. package/dist/esm/schemas/interfaces/reminder.d.ts +1 -1
  55. package/dist/esm/schemas/interfaces/reminder.js.map +1 -1
  56. package/dist/esm/schemas/interfaces/reminders-list.d.ts +2 -2
  57. package/dist/esm/schemas/interfaces/reminders-list.js.map +1 -1
  58. package/dist/esm/schemas/interfaces/select-calendars-with-prompt-options.d.ts +1 -1
  59. package/dist/esm/schemas/interfaces/select-calendars-with-prompt-options.js.map +1 -1
  60. package/dist/esm/schemas/types/event-edit-action.d.ts +1 -1
  61. package/dist/esm/schemas/types/event-edit-action.js.map +1 -1
  62. package/dist/esm/schemas/types/recurrence-frequency.d.ts +4 -0
  63. package/dist/esm/schemas/types/recurrence-frequency.js +2 -0
  64. package/dist/esm/schemas/types/recurrence-frequency.js.map +1 -0
  65. package/dist/esm/sub-definitions/calendar-access.d.ts +4 -4
  66. package/dist/esm/sub-definitions/calendar-access.js.map +1 -1
  67. package/dist/esm/sub-definitions/calendar-operations.d.ts +7 -7
  68. package/dist/esm/sub-definitions/calendar-operations.js.map +1 -1
  69. package/dist/esm/sub-definitions/event-operations.d.ts +10 -10
  70. package/dist/esm/sub-definitions/event-operations.js.map +1 -1
  71. package/dist/esm/sub-definitions/reminders-access.d.ts +1 -1
  72. package/dist/esm/sub-definitions/reminders-access.js.map +1 -1
  73. package/dist/esm/sub-definitions/reminders-operations.d.ts +10 -10
  74. package/dist/esm/sub-definitions/reminders-operations.js.map +1 -1
  75. package/dist/esm/web.d.ts +33 -32
  76. package/dist/esm/web.js +1 -1
  77. package/dist/esm/web.js.map +1 -1
  78. package/dist/plugin.cjs.js +1 -24
  79. package/dist/plugin.cjs.js.map +1 -1
  80. package/dist/plugin.js +1 -24
  81. package/dist/plugin.js.map +1 -1
  82. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/CapacitorCalendarPlugin.swift +90 -71
  83. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Implementation/CapacitorCalendar.swift +45 -63
  84. package/ios/Plugin/Info.plist +24 -0
  85. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/CreateEventInput.swift +25 -21
  86. package/ios/Plugin/Models/Inputs/CreateEventWithPromptInput.swift +171 -0
  87. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/CreateReminderInput.swift +2 -2
  88. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/ModifyEventInput.swift +63 -41
  89. package/ios/Plugin/Models/Structs/RecurrenceInput.swift +31 -0
  90. package/package.json +37 -45
  91. package/dist/esm/schemas/enums/recurrence-frequency.d.ts +0 -21
  92. package/dist/esm/schemas/enums/recurrence-frequency.js +0 -23
  93. package/dist/esm/schemas/enums/recurrence-frequency.js.map +0 -1
  94. package/ios/Sources/CapacitorCalendarPlugin/Models/Inputs/CreateEventWithPromptInput.swift +0 -89
  95. package/ios/Tests/CapacitorCalendarPluginTests/CapacitorCalendarPluginTests.swift +0 -15
  96. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Enums/CAPPermissionState.swift +0 -0
  97. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Enums/CalendarPermissionScope.swift +0 -0
  98. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Enums/EventEditAction.swift +0 -0
  99. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/CheckPermissionInput.swift +0 -0
  100. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/CreateCalendarInput.swift +0 -0
  101. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/DeleteCalendarInput.swift +0 -0
  102. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/DeleteEventInput.swift +0 -0
  103. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/DeleteEventWithPromptInput.swift +0 -0
  104. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/DeleteEventsByIdInput.swift +0 -0
  105. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/DeleteReminderInput.swift +0 -0
  106. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/DeleteReminderWithPromptInput.swift +0 -0
  107. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/DeleteRemindersByIdInput.swift +0 -0
  108. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/GetReminderByIdInput.swift +0 -0
  109. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/GetRemindersFromListsInput.swift +0 -0
  110. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/ListEventsInRangeInput.swift +0 -0
  111. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/ModifyCalendarInput.swift +0 -0
  112. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/ModifyEventWithPromptInput.swift +0 -0
  113. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/ModifyReminderInput.swift +0 -0
  114. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/OpenCalendarInput.swift +0 -0
  115. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/RequestPermissionInput.swift +0 -0
  116. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/SelectCalendarsWithPromptInput.swift +0 -0
  117. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/CheckAllPermissionsResult.swift +0 -0
  118. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/CheckPermissionResult.swift +0 -0
  119. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/CreateCalendarResult.swift +0 -0
  120. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/CreateEventResult.swift +0 -0
  121. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/CreateEventWithPromptResult.swift +0 -0
  122. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/CreateReminderResult.swift +0 -0
  123. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/DeleteEventWithPromptResult.swift +0 -0
  124. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/DeleteEventsByIdResult.swift +0 -0
  125. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/DeleteRemindersByIdResult.swift +0 -0
  126. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/FetchAllCalendarSourcesResult.swift +0 -0
  127. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/GetDefaultCalendarResult.swift +0 -0
  128. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/GetReminderByIdResult.swift +0 -0
  129. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/GetRemindersFromListsResult.swift +0 -0
  130. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/ListCalendarsResult.swift +0 -0
  131. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/ListEventsInRangeResult.swift +0 -0
  132. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/ModifyEventWithPromptResult.swift +0 -0
  133. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/RequestAllPermissionsResult.swift +0 -0
  134. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/RequestPermissionResult.swift +0 -0
  135. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/SelectCalendarsWithPromptResult.swift +0 -0
  136. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Templates/JSResult.swift +0 -0
  137. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/PluginConfig.swift +0 -0
  138. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/PluginError.swift +0 -0
  139. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Utils/ImplementationHelper.swift +0 -0
  140. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Utils/UIColorFromHexExtension.swift +0 -0
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=recurrence-frequency.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recurrence-frequency.js","sourceRoot":"","sources":["../../../../src/schemas/types/recurrence-frequency.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * @since 7.3.0\n */\nexport type RecurrenceFrequency = 'daily' | 'weekly' | 'monthly' | 'yearly';\n"]}
@@ -1,5 +1,5 @@
1
- import { CalendarPermissionScope } from "../schemas/enums/calendar-permission-scope";
2
- import type { PermissionState } from "@capacitor/core";
1
+ import type { PermissionState } from '@capacitor/core';
2
+ import type { CalendarPermissionScope } from '../schemas/enums/calendar-permission-scope';
3
3
  /**
4
4
  * @since 7.1.0
5
5
  */
@@ -106,9 +106,9 @@ export interface CalendarAccess {
106
106
  * @platform Android, iOS
107
107
  * @since 7.1.0
108
108
  */
109
- export declare type CheckAllPermissionsResult = Record<CalendarPermissionScope, PermissionState>;
109
+ export type CheckAllPermissionsResult = Record<CalendarPermissionScope, PermissionState>;
110
110
  /**
111
111
  * @platform Android, iOS
112
112
  * @since 7.1.0
113
113
  */
114
- export declare type RequestAllPermissionsResult = CheckAllPermissionsResult;
114
+ export type RequestAllPermissionsResult = CheckAllPermissionsResult;
@@ -1 +1 @@
1
- {"version":3,"file":"calendar-access.js","sourceRoot":"","sources":["../../../src/sub-definitions/calendar-access.ts"],"names":[],"mappings":"","sourcesContent":["import { CalendarPermissionScope } from \"../schemas/enums/calendar-permission-scope\";\nimport type { PermissionState } from \"@capacitor/core\";\n\n/**\n * @since 7.1.0\n */\nexport interface CalendarAccess {\n /**\n * Retrieves the current permission state for a given scope.\n *\n * @example\n * CapacitorCalendar.checkPermission({ scope: CalendarPermissionScope.READ_CALENDAR });\n *\n * @platform Android, iOS\n * @since 0.1.0\n *\n */\n checkPermission(options: {\n scope: CalendarPermissionScope;\n }): Promise<{ result: PermissionState }>;\n\n /**\n * Retrieves the current state of all permissions.\n *\n * @platform Android, iOS\n * @since 0.1.0\n */\n checkAllPermissions(): Promise<{ result: CheckAllPermissionsResult }>;\n\n /**\n * Requests permission for a given scope.\n *\n * @example\n * this.requestPermission({ scope: CalendarPermissionScope.READ_CALENDAR });\n *\n * @deprecated Use {@link requestWriteOnlyCalendarAccess}, {@link requestReadOnlyCalendarAccess},\n * {@link requestFullCalendarAccess} or {@link requestFullRemindersAccess} instead.\n *\n * @platform Android, iOS\n * @since 0.1.0\n */\n requestPermission(options: {\n scope: CalendarPermissionScope;\n }): Promise<{ result: PermissionState }>;\n\n /**\n * Requests permission for all calendar and reminder permissions.\n *\n * @deprecated Use {@link requestFullCalendarAccess} or {@link requestFullRemindersAccess} instead.\n * @platform Android, iOS\n * @since 0.1.0\n */\n requestAllPermissions(): Promise<{ result: RequestAllPermissionsResult }>;\n\n /**\n * Requests write access to the calendar.\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 5.4.0\n */\n requestWriteOnlyCalendarAccess(): Promise<{ result: PermissionState }>;\n\n /**\n * Requests read access to the calendar.\n *\n * @permissions\n * | Platform | Required |\n * |-----------|---------------------|\n * | Android | `android.permission.READ_CALENDAR` |\n *\n * @platform Android\n * @since 5.4.0\n */\n requestReadOnlyCalendarAccess(): Promise<{ result: PermissionState }>;\n\n /**\n * Requests read and write access to the calendar.\n *\n * @permissions\n * | Platform | Required |\n * |-----------|---------------------|\n * | iOS 17+ | `NSCalendarsFullAccessUsageDescription` |\n * | iOS 13-16 | `NSCalendarsUsageDescription` |\n * | Android | `android.permission.READ_CALENDAR` & `android.permission.WRITE_CALENDAR` |\n *\n * @platform Android, iOS\n * @since 5.4.0\n */\n requestFullCalendarAccess(): Promise<{ result: PermissionState }>;\n}\n\n/**\n * @platform Android, iOS\n * @since 7.1.0\n */\nexport type CheckAllPermissionsResult = Record<\n CalendarPermissionScope,\n PermissionState\n>;\n\n/**\n * @platform Android, iOS\n * @since 7.1.0\n */\nexport type RequestAllPermissionsResult = CheckAllPermissionsResult;\n"]}
1
+ {"version":3,"file":"calendar-access.js","sourceRoot":"","sources":["../../../src/sub-definitions/calendar-access.ts"],"names":[],"mappings":"","sourcesContent":["import type { PermissionState } from '@capacitor/core';\n\nimport type { CalendarPermissionScope } from '../schemas/enums/calendar-permission-scope';\n\n/**\n * @since 7.1.0\n */\nexport interface CalendarAccess {\n /**\n * Retrieves the current permission state for a given scope.\n *\n * @example\n * CapacitorCalendar.checkPermission({ scope: CalendarPermissionScope.READ_CALENDAR });\n *\n * @platform Android, iOS\n * @since 0.1.0\n *\n */\n checkPermission(options: { scope: CalendarPermissionScope }): Promise<{ result: PermissionState }>;\n\n /**\n * Retrieves the current state of all permissions.\n *\n * @platform Android, iOS\n * @since 0.1.0\n */\n checkAllPermissions(): Promise<{ result: CheckAllPermissionsResult }>;\n\n /**\n * Requests permission for a given scope.\n *\n * @example\n * this.requestPermission({ scope: CalendarPermissionScope.READ_CALENDAR });\n *\n * @deprecated Use {@link requestWriteOnlyCalendarAccess}, {@link requestReadOnlyCalendarAccess},\n * {@link requestFullCalendarAccess} or {@link requestFullRemindersAccess} instead.\n *\n * @platform Android, iOS\n * @since 0.1.0\n */\n requestPermission(options: { scope: CalendarPermissionScope }): Promise<{ result: PermissionState }>;\n\n /**\n * Requests permission for all calendar and reminder permissions.\n *\n * @deprecated Use {@link requestFullCalendarAccess} or {@link requestFullRemindersAccess} instead.\n * @platform Android, iOS\n * @since 0.1.0\n */\n requestAllPermissions(): Promise<{ result: RequestAllPermissionsResult }>;\n\n /**\n * Requests write access to the calendar.\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 5.4.0\n */\n requestWriteOnlyCalendarAccess(): Promise<{ result: PermissionState }>;\n\n /**\n * Requests read access to the calendar.\n *\n * @permissions\n * | Platform | Required |\n * |-----------|---------------------|\n * | Android | `android.permission.READ_CALENDAR` |\n *\n * @platform Android\n * @since 5.4.0\n */\n requestReadOnlyCalendarAccess(): Promise<{ result: PermissionState }>;\n\n /**\n * Requests read and write access to the calendar.\n *\n * @permissions\n * | Platform | Required |\n * |-----------|---------------------|\n * | iOS 17+ | `NSCalendarsFullAccessUsageDescription` |\n * | iOS 13-16 | `NSCalendarsUsageDescription` |\n * | Android | `android.permission.READ_CALENDAR` & `android.permission.WRITE_CALENDAR` |\n *\n * @platform Android, iOS\n * @since 5.4.0\n */\n requestFullCalendarAccess(): Promise<{ result: PermissionState }>;\n}\n\n/**\n * @platform Android, iOS\n * @since 7.1.0\n */\nexport type CheckAllPermissionsResult = Record<CalendarPermissionScope, PermissionState>;\n\n/**\n * @platform Android, iOS\n * @since 7.1.0\n */\nexport type RequestAllPermissionsResult = CheckAllPermissionsResult;\n"]}
@@ -1,10 +1,10 @@
1
- import type { Calendar } from "../schemas/interfaces/calendar";
2
- import type { CalendarSource } from "../schemas/interfaces/calendar-source";
3
- import type { CreateCalendarOptions } from "../schemas/interfaces/create-calendar-options";
4
- import type { DeleteCalendarOptions } from "../schemas/interfaces/delete-calendar-options";
5
- import type { ModifyCalendarOptions } from "../schemas/interfaces/modify-calendar-options";
6
- import type { OpenCalendarOptions } from "../schemas/interfaces/open-calendar-options";
7
- import type { SelectCalendarsWithPromptOptions } from "../schemas/interfaces/select-calendars-with-prompt-options";
1
+ import type { Calendar } from '../schemas/interfaces/calendar';
2
+ import type { CalendarSource } from '../schemas/interfaces/calendar-source';
3
+ import type { CreateCalendarOptions } from '../schemas/interfaces/create-calendar-options';
4
+ import type { DeleteCalendarOptions } from '../schemas/interfaces/delete-calendar-options';
5
+ import type { ModifyCalendarOptions } from '../schemas/interfaces/modify-calendar-options';
6
+ import type { OpenCalendarOptions } from '../schemas/interfaces/open-calendar-options';
7
+ import type { SelectCalendarsWithPromptOptions } from '../schemas/interfaces/select-calendars-with-prompt-options';
8
8
  export interface CalendarOperations {
9
9
  /**
10
10
  * Save the changes to the calendar.
@@ -1 +1 @@
1
- {"version":3,"file":"calendar-operations.js","sourceRoot":"","sources":["../../../src/sub-definitions/calendar-operations.ts"],"names":[],"mappings":"","sourcesContent":["import type { Calendar } from \"../schemas/interfaces/calendar\";\nimport type { CalendarSource } from \"../schemas/interfaces/calendar-source\";\nimport type { CreateCalendarOptions } from \"../schemas/interfaces/create-calendar-options\";\nimport type { DeleteCalendarOptions } from \"../schemas/interfaces/delete-calendar-options\";\nimport type { ModifyCalendarOptions } from \"../schemas/interfaces/modify-calendar-options\";\nimport type { OpenCalendarOptions } from \"../schemas/interfaces/open-calendar-options\";\nimport type { SelectCalendarsWithPromptOptions } from \"../schemas/interfaces/select-calendars-with-prompt-options\";\n\nexport interface CalendarOperations {\n /**\n * Save the changes to the calendar.\n *\n * @platform iOS\n * @since 7.1.0\n */\n commit(): Promise<void>;\n /**\n * Opens a system interface to choose one or multiple calendars.\n *\n * @platform iOS\n * @since 0.2.0\n */\n selectCalendarsWithPrompt(\n options?: SelectCalendarsWithPromptOptions,\n ): Promise<{ result: Calendar[] }>;\n /**\n * Retrieves a list of calendar sources.\n *\n * @platform iOS\n * @since 6.6.0\n */\n fetchAllCalendarSources(): Promise<{ result: CalendarSource[] }>;\n /**\n * Retrieves a list of all available calendars.\n *\n * @platform Android, iOS\n * @since 7.1.0\n */\n listCalendars(): Promise<{ result: Calendar[] }>;\n /**\n * Retrieves the default calendar.\n *\n * @platform Android, iOS\n * @since 0.3.0\n */\n getDefaultCalendar(): Promise<{ result: Calendar | null }>;\n /**\n * Opens the calendar app.\n *\n * @example\n * CapacitorCalendar.openCalendar({ date: Date.now() });\n *\n * @platform Android, iOS\n * @since 7.1.0\n */\n openCalendar(options?: OpenCalendarOptions): Promise<void>;\n /**\n * Creates a calendar.\n *\n * @platform Android, iOS\n * @since 5.2.0\n */\n createCalendar(options: CreateCalendarOptions): Promise<{ id: string }>;\n /**\n * Deletes a calendar by id.\n *\n * @platform Android, iOS\n * @since 5.2.0\n */\n deleteCalendar(options: DeleteCalendarOptions): Promise<void>;\n /**\n * Modifies a calendar with options.\n *\n * @platform Android, iOS\n * @since 7.2.0\n */\n modifyCalendar(options: ModifyCalendarOptions): Promise<void>;\n}\n"]}
1
+ {"version":3,"file":"calendar-operations.js","sourceRoot":"","sources":["../../../src/sub-definitions/calendar-operations.ts"],"names":[],"mappings":"","sourcesContent":["import type { Calendar } from '../schemas/interfaces/calendar';\nimport type { CalendarSource } from '../schemas/interfaces/calendar-source';\nimport type { CreateCalendarOptions } from '../schemas/interfaces/create-calendar-options';\nimport type { DeleteCalendarOptions } from '../schemas/interfaces/delete-calendar-options';\nimport type { ModifyCalendarOptions } from '../schemas/interfaces/modify-calendar-options';\nimport type { OpenCalendarOptions } from '../schemas/interfaces/open-calendar-options';\nimport type { SelectCalendarsWithPromptOptions } from '../schemas/interfaces/select-calendars-with-prompt-options';\n\nexport interface CalendarOperations {\n /**\n * Save the changes to the calendar.\n *\n * @platform iOS\n * @since 7.1.0\n */\n commit(): Promise<void>;\n /**\n * Opens a system interface to choose one or multiple calendars.\n *\n * @platform iOS\n * @since 0.2.0\n */\n selectCalendarsWithPrompt(options?: SelectCalendarsWithPromptOptions): Promise<{ result: Calendar[] }>;\n /**\n * Retrieves a list of calendar sources.\n *\n * @platform iOS\n * @since 6.6.0\n */\n fetchAllCalendarSources(): Promise<{ result: CalendarSource[] }>;\n /**\n * Retrieves a list of all available calendars.\n *\n * @platform Android, iOS\n * @since 7.1.0\n */\n listCalendars(): Promise<{ result: Calendar[] }>;\n /**\n * Retrieves the default calendar.\n *\n * @platform Android, iOS\n * @since 0.3.0\n */\n getDefaultCalendar(): Promise<{ result: Calendar | null }>;\n /**\n * Opens the calendar app.\n *\n * @example\n * CapacitorCalendar.openCalendar({ date: Date.now() });\n *\n * @platform Android, iOS\n * @since 7.1.0\n */\n openCalendar(options?: OpenCalendarOptions): Promise<void>;\n /**\n * Creates a calendar.\n *\n * @platform Android, iOS\n * @since 5.2.0\n */\n createCalendar(options: CreateCalendarOptions): Promise<{ id: string }>;\n /**\n * Deletes a calendar by id.\n *\n * @platform Android, iOS\n * @since 5.2.0\n */\n deleteCalendar(options: DeleteCalendarOptions): Promise<void>;\n /**\n * Modifies a calendar with options.\n *\n * @platform Android, iOS\n * @since 7.2.0\n */\n modifyCalendar(options: ModifyCalendarOptions): Promise<void>;\n}\n"]}
@@ -1,13 +1,13 @@
1
- import type { CalendarEvent } from "../schemas/interfaces/calendar-event";
2
- import type { CreateEventOptions } from "../schemas/interfaces/create-event-options";
3
- import type { CreateEventWithPromptOptions } from "../schemas/interfaces/create-event-with-prompt-options";
4
- import type { DeleteEventOptions } from "../schemas/interfaces/delete-event-options";
5
- import type { DeleteEventWithPromptOptions } from "../schemas/interfaces/delete-event-with-prompt-options";
6
- import type { DeleteEventsByIdOptions } from "../schemas/interfaces/delete-events-by-id-options";
7
- import type { EventEditAction } from "../schemas/types/event-edit-action";
8
- import type { ListEventsInRangeOptions } from "../schemas/interfaces/list-events-in-range-options";
9
- import type { ModifyEventOptions } from "../schemas/interfaces/modify-event-options";
10
- import type { ModifyEventWithPromptOptions } from "../schemas/interfaces/modify-event-with-prompt-options";
1
+ import type { CalendarEvent } from '../schemas/interfaces/calendar-event';
2
+ import type { CreateEventOptions } from '../schemas/interfaces/create-event-options';
3
+ import type { CreateEventWithPromptOptions } from '../schemas/interfaces/create-event-with-prompt-options';
4
+ import type { DeleteEventOptions } from '../schemas/interfaces/delete-event-options';
5
+ import type { DeleteEventWithPromptOptions } from '../schemas/interfaces/delete-event-with-prompt-options';
6
+ import type { DeleteEventsByIdOptions } from '../schemas/interfaces/delete-events-by-id-options';
7
+ import type { ListEventsInRangeOptions } from '../schemas/interfaces/list-events-in-range-options';
8
+ import type { ModifyEventOptions } from '../schemas/interfaces/modify-event-options';
9
+ import type { ModifyEventWithPromptOptions } from '../schemas/interfaces/modify-event-with-prompt-options';
10
+ import type { EventEditAction } from '../schemas/types/event-edit-action';
11
11
  export interface EventOperations {
12
12
  /**
13
13
  * Opens the system calendar interface to create a new event.
@@ -1 +1 @@
1
- {"version":3,"file":"event-operations.js","sourceRoot":"","sources":["../../../src/sub-definitions/event-operations.ts"],"names":[],"mappings":"","sourcesContent":["import type { CalendarEvent } from \"../schemas/interfaces/calendar-event\";\nimport type { CreateEventOptions } from \"../schemas/interfaces/create-event-options\";\nimport type { CreateEventWithPromptOptions } from \"../schemas/interfaces/create-event-with-prompt-options\";\nimport type { DeleteEventOptions } from \"../schemas/interfaces/delete-event-options\";\nimport type { DeleteEventWithPromptOptions } from \"../schemas/interfaces/delete-event-with-prompt-options\";\nimport type { DeleteEventsByIdOptions } from \"../schemas/interfaces/delete-events-by-id-options\";\nimport type { EventEditAction } from \"../schemas/types/event-edit-action\";\nimport type { ListEventsInRangeOptions } from \"../schemas/interfaces/list-events-in-range-options\";\nimport type { ModifyEventOptions } from \"../schemas/interfaces/modify-event-options\";\nimport type { ModifyEventWithPromptOptions } from \"../schemas/interfaces/modify-event-with-prompt-options\";\n\nexport interface EventOperations {\n /**\n * Opens the system calendar interface to create a new event.\n * On Android always returns `null`.\n * Fetch the events to find the ID of the newly created event.\n *\n * @example\n * const options = {\n * title: 'Test event',\n * startDate: Date.now(),\n * }\n * await CapacitorCalendar.createEventWithPrompt(options)\n *\n * @platform Android, iOS\n * @since 0.1.0\n */\n createEventWithPrompt(\n options?: CreateEventWithPromptOptions,\n ): Promise<{ id: string | null }>;\n /**\n * Opens a system calendar interface to modify an event.\n * On Android always returns `null`.\n *\n * @example\n * const options = {\n * id: 'EVENT_ID',\n * title: 'New title',\n * }\n * await CapacitorCalendar.modifyEventWithPrompt(options);\n *\n * @platform Android, iOS\n * @since 6.6.0\n */\n modifyEventWithPrompt(\n options: ModifyEventWithPromptOptions,\n ): Promise<{ result: EventEditAction | null }>;\n /**\n * Creates an event in the calendar.\n *\n * @platform iOS, Android\n * @since 0.4.0\n */\n createEvent(options: CreateEventOptions): Promise<{ id: string }>;\n /**\n * Modifies an event.\n *\n * @platform Android, iOS\n * @since 6.6.0\n */\n modifyEvent(options: ModifyEventOptions): Promise<void>;\n /**\n * Deletes multiple events.\n *\n * @deprecated Use `deleteEvent(...)`.\n * @platform Android, iOS\n * @since 0.11.0\n */\n deleteEventsById(\n options: DeleteEventsByIdOptions,\n ): Promise<{ result: DeleteEventsByIdResult }>;\n /**\n * Deletes an event.\n *\n * @platform Android, iOS\n * @since 7.1.0\n */\n deleteEvent(options: DeleteEventOptions): Promise<void>;\n /**\n * Opens a dialog to delete an event.\n *\n * @platform Android, iOS\n * @since 7.1.0\n */\n deleteEventWithPrompt(\n options: DeleteEventWithPromptOptions,\n ): Promise<{ deleted: boolean }>;\n /**\n * Retrieves the events within a date range.\n *\n * @platform Android, iOS\n * @since 0.10.0\n */\n listEventsInRange(\n options: ListEventsInRangeOptions,\n ): Promise<{ result: CalendarEvent[] }>;\n}\n\n/**\n * @since 7.1.0\n */\nexport interface DeleteEventsByIdResult {\n /**\n * @since 7.1.0\n */\n deleted: string[];\n /**\n * @since 7.1.0\n */\n failed: string[];\n}\n"]}
1
+ {"version":3,"file":"event-operations.js","sourceRoot":"","sources":["../../../src/sub-definitions/event-operations.ts"],"names":[],"mappings":"","sourcesContent":["import type { CalendarEvent } from '../schemas/interfaces/calendar-event';\nimport type { CreateEventOptions } from '../schemas/interfaces/create-event-options';\nimport type { CreateEventWithPromptOptions } from '../schemas/interfaces/create-event-with-prompt-options';\nimport type { DeleteEventOptions } from '../schemas/interfaces/delete-event-options';\nimport type { DeleteEventWithPromptOptions } from '../schemas/interfaces/delete-event-with-prompt-options';\nimport type { DeleteEventsByIdOptions } from '../schemas/interfaces/delete-events-by-id-options';\nimport type { ListEventsInRangeOptions } from '../schemas/interfaces/list-events-in-range-options';\nimport type { ModifyEventOptions } from '../schemas/interfaces/modify-event-options';\nimport type { ModifyEventWithPromptOptions } from '../schemas/interfaces/modify-event-with-prompt-options';\nimport type { EventEditAction } from '../schemas/types/event-edit-action';\n\nexport interface EventOperations {\n /**\n * Opens the system calendar interface to create a new event.\n * On Android always returns `null`.\n * Fetch the events to find the ID of the newly created event.\n *\n * @example\n * const options = {\n * title: 'Test event',\n * startDate: Date.now(),\n * }\n * await CapacitorCalendar.createEventWithPrompt(options)\n *\n * @platform Android, iOS\n * @since 0.1.0\n */\n createEventWithPrompt(options?: CreateEventWithPromptOptions): Promise<{ id: string | null }>;\n /**\n * Opens a system calendar interface to modify an event.\n * On Android always returns `null`.\n *\n * @example\n * const options = {\n * id: 'EVENT_ID',\n * title: 'New title',\n * }\n * await CapacitorCalendar.modifyEventWithPrompt(options);\n *\n * @platform Android, iOS\n * @since 6.6.0\n */\n modifyEventWithPrompt(options: ModifyEventWithPromptOptions): Promise<{ result: EventEditAction | null }>;\n /**\n * Creates an event in the calendar.\n *\n * @platform iOS, Android\n * @since 0.4.0\n */\n createEvent(options: CreateEventOptions): Promise<{ id: string }>;\n /**\n * Modifies an event.\n *\n * @platform Android, iOS\n * @since 6.6.0\n */\n modifyEvent(options: ModifyEventOptions): Promise<void>;\n /**\n * Deletes multiple events.\n *\n * @deprecated Use `deleteEvent(...)`.\n * @platform Android, iOS\n * @since 0.11.0\n */\n deleteEventsById(options: DeleteEventsByIdOptions): Promise<{ result: DeleteEventsByIdResult }>;\n /**\n * Deletes an event.\n *\n * @platform Android, iOS\n * @since 7.1.0\n */\n deleteEvent(options: DeleteEventOptions): Promise<void>;\n /**\n * Opens a dialog to delete an event.\n *\n * @platform Android, iOS\n * @since 7.1.0\n */\n deleteEventWithPrompt(options: DeleteEventWithPromptOptions): Promise<{ deleted: boolean }>;\n /**\n * Retrieves the events within a date range.\n *\n * @platform Android, iOS\n * @since 0.10.0\n */\n listEventsInRange(options: ListEventsInRangeOptions): Promise<{ result: CalendarEvent[] }>;\n}\n\n/**\n * @since 7.1.0\n */\nexport interface DeleteEventsByIdResult {\n /**\n * @since 7.1.0\n */\n deleted: string[];\n /**\n * @since 7.1.0\n */\n failed: string[];\n}\n"]}
@@ -1,4 +1,4 @@
1
- import type { PermissionState } from "@capacitor/core";
1
+ import type { PermissionState } from '@capacitor/core';
2
2
  /**
3
3
  * @since 7.1.0
4
4
  */
@@ -1 +1 @@
1
- {"version":3,"file":"reminders-access.js","sourceRoot":"","sources":["../../../src/sub-definitions/reminders-access.ts"],"names":[],"mappings":"","sourcesContent":["import type { PermissionState } from \"@capacitor/core\";\n\n/**\n * @since 7.1.0\n */\nexport interface RemindersAccess {\n /**\n * Requests read and write access to the reminders.\n *\n * @permissions\n * | Platform | Required |\n * |-----------|---------------------|\n * | iOS 17+ | `NSRemindersFullAccessUsageDescription` |\n * | iOS 10-16 | `NSRemindersUsageDescription` |\n *\n * @platform iOS\n * @see {@link CalendarPermissionScope}\n * @since 5.4.0\n */\n requestFullRemindersAccess(): Promise<{ result: PermissionState }>;\n}\n"]}
1
+ {"version":3,"file":"reminders-access.js","sourceRoot":"","sources":["../../../src/sub-definitions/reminders-access.ts"],"names":[],"mappings":"","sourcesContent":["import type { PermissionState } from '@capacitor/core';\n\n/**\n * @since 7.1.0\n */\nexport interface RemindersAccess {\n /**\n * Requests read and write access to the reminders.\n *\n * @permissions\n * | Platform | Required |\n * |-----------|---------------------|\n * | iOS 17+ | `NSRemindersFullAccessUsageDescription` |\n * | iOS 10-16 | `NSRemindersUsageDescription` |\n *\n * @platform iOS\n * @see {@link CalendarPermissionScope}\n * @since 5.4.0\n */\n requestFullRemindersAccess(): Promise<{ result: PermissionState }>;\n}\n"]}
@@ -1,13 +1,13 @@
1
- import type { CalendarSource } from "../schemas/interfaces/calendar-source";
2
- import type { CreateReminderOptions } from "../schemas/interfaces/create-reminder-options";
3
- import type { DeleteReminderOptions } from "../schemas/interfaces/delete-reminder-options";
4
- import type { DeleteReminderWithPromptOptions } from "../schemas/interfaces/delete-reminder-with-prompt-options";
5
- import type { DeleteRemindersByIdOptions } from "../schemas/interfaces/delete-reminders-by-id-options";
6
- import type { GetReminderByIdOptions } from "../schemas/interfaces/get-reminder-by-id-options";
7
- import type { GetRemindersFromListsOptions } from "../schemas/interfaces/get-reminders-from-lists-options";
8
- import type { ModifyReminderOptions } from "../schemas/interfaces/modify-reminder-options";
9
- import type { Reminder } from "../schemas/interfaces/reminder";
10
- import type { RemindersList } from "../schemas/interfaces/reminders-list";
1
+ import type { CalendarSource } from '../schemas/interfaces/calendar-source';
2
+ import type { CreateReminderOptions } from '../schemas/interfaces/create-reminder-options';
3
+ import type { DeleteReminderOptions } from '../schemas/interfaces/delete-reminder-options';
4
+ import type { DeleteReminderWithPromptOptions } from '../schemas/interfaces/delete-reminder-with-prompt-options';
5
+ import type { DeleteRemindersByIdOptions } from '../schemas/interfaces/delete-reminders-by-id-options';
6
+ import type { GetReminderByIdOptions } from '../schemas/interfaces/get-reminder-by-id-options';
7
+ import type { GetRemindersFromListsOptions } from '../schemas/interfaces/get-reminders-from-lists-options';
8
+ import type { ModifyReminderOptions } from '../schemas/interfaces/modify-reminder-options';
9
+ import type { Reminder } from '../schemas/interfaces/reminder';
10
+ import type { RemindersList } from '../schemas/interfaces/reminders-list';
11
11
  export interface RemindersOperations {
12
12
  /**
13
13
  * Retrieves a list of calendar sources.
@@ -1 +1 @@
1
- {"version":3,"file":"reminders-operations.js","sourceRoot":"","sources":["../../../src/sub-definitions/reminders-operations.ts"],"names":[],"mappings":"","sourcesContent":["import type { CalendarSource } from \"../schemas/interfaces/calendar-source\";\nimport type { CreateReminderOptions } from \"../schemas/interfaces/create-reminder-options\";\nimport type { DeleteReminderOptions } from \"../schemas/interfaces/delete-reminder-options\";\nimport type { DeleteReminderWithPromptOptions } from \"../schemas/interfaces/delete-reminder-with-prompt-options\";\nimport type { DeleteRemindersByIdOptions } from \"../schemas/interfaces/delete-reminders-by-id-options\";\nimport type { GetReminderByIdOptions } from \"../schemas/interfaces/get-reminder-by-id-options\";\nimport type { GetRemindersFromListsOptions } from \"../schemas/interfaces/get-reminders-from-lists-options\";\nimport type { ModifyReminderOptions } from \"../schemas/interfaces/modify-reminder-options\";\nimport type { Reminder } from \"../schemas/interfaces/reminder\";\nimport type { RemindersList } from \"../schemas/interfaces/reminders-list\";\n\nexport interface RemindersOperations {\n /**\n * Retrieves a list of calendar sources.\n *\n * @deprecated Duplicates {@link CalendarOperations#fetchAllCalendarSources}\n * @platform iOS\n * @since 6.6.0\n */\n fetchAllRemindersSources(): Promise<{ result: CalendarSource[] }>;\n /**\n * Opens the reminders app.\n *\n * @platform iOS\n * @since 7.1.0\n */\n openReminders(): Promise<void>;\n /**\n * Retrieves the default reminders list.\n *\n * @platform iOS\n * @since 7.1.0\n */\n getDefaultRemindersList(): Promise<{ result: RemindersList | null }>;\n /**\n * Retrieves all available reminders lists.\n *\n * @platform iOS\n * @since 7.1.0\n */\n getRemindersLists(): Promise<{ result: RemindersList[] }>;\n /**\n * Creates a reminder.\n *\n * @platform iOS\n * @since 0.5.0\n */\n createReminder(options: CreateReminderOptions): Promise<{ id: string }>;\n /**\n * Deletes multiple reminders.\n *\n * @deprecated Use `deleteReminder(...)`.\n * @platform iOS\n * @since 5.3.0\n */\n deleteRemindersById(\n options: DeleteRemindersByIdOptions,\n ): Promise<{ result: DeleteRemindersByIdResult }>;\n /**\n * Deletes a reminder.\n *\n * @platform iOS\n * @since 7.1.0\n */\n deleteReminder(options: DeleteReminderOptions): Promise<void>;\n /**\n * Modifies a reminder.\n *\n * @platform iOS\n * @since 6.7.0\n */\n modifyReminder(options: ModifyReminderOptions): Promise<void>;\n /**\n * Retrieve a reminder by ID.\n *\n * @platform iOS\n * @since 7.1.0\n */\n getReminderById(\n options: GetReminderByIdOptions,\n ): Promise<{ result: Reminder | null }>;\n /**\n * Retrieves reminders from multiple lists.\n *\n * @platform iOS\n * @since 5.3.0\n */\n getRemindersFromLists(\n options: GetRemindersFromListsOptions,\n ): Promise<{ result: Reminder[] }>;\n /**\n * Opens a dialog to delete a reminder.\n *\n * @platform iOS\n * @since 7.2.0\n */\n deleteReminderWithPrompt(\n options: DeleteReminderWithPromptOptions,\n ): Promise<{ deleted: boolean }>;\n}\n\n/**\n * @since 7.1.0\n */\nexport interface DeleteRemindersByIdResult {\n /**\n * @since 7.1.0\n */\n deleted: string[];\n /**\n * @since 7.1.0\n */\n failed: string[];\n}\n"]}
1
+ {"version":3,"file":"reminders-operations.js","sourceRoot":"","sources":["../../../src/sub-definitions/reminders-operations.ts"],"names":[],"mappings":"","sourcesContent":["import type { CalendarSource } from '../schemas/interfaces/calendar-source';\nimport type { CreateReminderOptions } from '../schemas/interfaces/create-reminder-options';\nimport type { DeleteReminderOptions } from '../schemas/interfaces/delete-reminder-options';\nimport type { DeleteReminderWithPromptOptions } from '../schemas/interfaces/delete-reminder-with-prompt-options';\nimport type { DeleteRemindersByIdOptions } from '../schemas/interfaces/delete-reminders-by-id-options';\nimport type { GetReminderByIdOptions } from '../schemas/interfaces/get-reminder-by-id-options';\nimport type { GetRemindersFromListsOptions } from '../schemas/interfaces/get-reminders-from-lists-options';\nimport type { ModifyReminderOptions } from '../schemas/interfaces/modify-reminder-options';\nimport type { Reminder } from '../schemas/interfaces/reminder';\nimport type { RemindersList } from '../schemas/interfaces/reminders-list';\n\nexport interface RemindersOperations {\n /**\n * Retrieves a list of calendar sources.\n *\n * @deprecated Duplicates {@link CalendarOperations#fetchAllCalendarSources}\n * @platform iOS\n * @since 6.6.0\n */\n fetchAllRemindersSources(): Promise<{ result: CalendarSource[] }>;\n /**\n * Opens the reminders app.\n *\n * @platform iOS\n * @since 7.1.0\n */\n openReminders(): Promise<void>;\n /**\n * Retrieves the default reminders list.\n *\n * @platform iOS\n * @since 7.1.0\n */\n getDefaultRemindersList(): Promise<{ result: RemindersList | null }>;\n /**\n * Retrieves all available reminders lists.\n *\n * @platform iOS\n * @since 7.1.0\n */\n getRemindersLists(): Promise<{ result: RemindersList[] }>;\n /**\n * Creates a reminder.\n *\n * @platform iOS\n * @since 0.5.0\n */\n createReminder(options: CreateReminderOptions): Promise<{ id: string }>;\n /**\n * Deletes multiple reminders.\n *\n * @deprecated Use `deleteReminder(...)`.\n * @platform iOS\n * @since 5.3.0\n */\n deleteRemindersById(options: DeleteRemindersByIdOptions): Promise<{ result: DeleteRemindersByIdResult }>;\n /**\n * Deletes a reminder.\n *\n * @platform iOS\n * @since 7.1.0\n */\n deleteReminder(options: DeleteReminderOptions): Promise<void>;\n /**\n * Modifies a reminder.\n *\n * @platform iOS\n * @since 6.7.0\n */\n modifyReminder(options: ModifyReminderOptions): Promise<void>;\n /**\n * Retrieve a reminder by ID.\n *\n * @platform iOS\n * @since 7.1.0\n */\n getReminderById(options: GetReminderByIdOptions): Promise<{ result: Reminder | null }>;\n /**\n * Retrieves reminders from multiple lists.\n *\n * @platform iOS\n * @since 5.3.0\n */\n getRemindersFromLists(options: GetRemindersFromListsOptions): Promise<{ result: Reminder[] }>;\n /**\n * Opens a dialog to delete a reminder.\n *\n * @platform iOS\n * @since 7.2.0\n */\n deleteReminderWithPrompt(options: DeleteReminderWithPromptOptions): Promise<{ deleted: boolean }>;\n}\n\n/**\n * @since 7.1.0\n */\nexport interface DeleteRemindersByIdResult {\n /**\n * @since 7.1.0\n */\n deleted: string[];\n /**\n * @since 7.1.0\n */\n failed: string[];\n}\n"]}
package/dist/esm/web.d.ts CHANGED
@@ -1,35 +1,36 @@
1
- import { CheckAllPermissionsResult, RequestAllPermissionsResult } from "./sub-definitions/calendar-access";
2
- import { PermissionState, WebPlugin } from "@capacitor/core";
3
- import type { Calendar } from "./schemas/interfaces/calendar";
4
- import type { CalendarEvent } from "./schemas/interfaces/calendar-event";
5
- import { CalendarPermissionScope } from "./schemas/enums/calendar-permission-scope";
6
- import type { CalendarSource } from "./schemas/interfaces/calendar-source";
7
- import type { CapacitorCalendarPlugin } from "./definitions";
8
- import type { CreateCalendarOptions } from "./schemas/interfaces/create-calendar-options";
9
- import type { CreateEventOptions } from "./schemas/interfaces/create-event-options";
10
- import type { CreateEventWithPromptOptions } from "./schemas/interfaces/create-event-with-prompt-options";
11
- import type { CreateReminderOptions } from "./schemas/interfaces/create-reminder-options";
12
- import type { DeleteCalendarOptions } from "./schemas/interfaces/delete-calendar-options";
13
- import type { DeleteEventOptions } from "./schemas/interfaces/delete-event-options";
14
- import type { DeleteEventWithPromptOptions } from "./schemas/interfaces/delete-event-with-prompt-options";
15
- import type { DeleteEventsByIdOptions } from "./schemas/interfaces/delete-events-by-id-options";
16
- import type { DeleteEventsByIdResult } from "./sub-definitions/event-operations";
17
- import type { DeleteReminderOptions } from "./schemas/interfaces/delete-reminder-options";
18
- import type { DeleteReminderWithPromptOptions } from "./schemas/interfaces/delete-reminder-with-prompt-options";
19
- import type { DeleteRemindersByIdOptions } from "./schemas/interfaces/delete-reminders-by-id-options";
20
- import type { DeleteRemindersByIdResult } from "./sub-definitions/reminders-operations";
21
- import type { EventEditAction } from "./schemas/types/event-edit-action";
22
- import type { GetReminderByIdOptions } from "./schemas/interfaces/get-reminder-by-id-options";
23
- import type { GetRemindersFromListsOptions } from "./schemas/interfaces/get-reminders-from-lists-options";
24
- import type { ListEventsInRangeOptions } from "./schemas/interfaces/list-events-in-range-options";
25
- import type { ModifyCalendarOptions } from "./schemas/interfaces/modify-calendar-options";
26
- import type { ModifyEventOptions } from "./schemas/interfaces/modify-event-options";
27
- import type { ModifyEventWithPromptOptions } from "./schemas/interfaces/modify-event-with-prompt-options";
28
- import type { ModifyReminderOptions } from "./schemas/interfaces/modify-reminder-options";
29
- import type { OpenCalendarOptions } from "./schemas/interfaces/open-calendar-options";
30
- import type { Reminder } from "./schemas/interfaces/reminder";
31
- import type { RemindersList } from "./schemas/interfaces/reminders-list";
32
- import type { SelectCalendarsWithPromptOptions } from "./schemas/interfaces/select-calendars-with-prompt-options";
1
+ import type { PermissionState } from '@capacitor/core';
2
+ import { WebPlugin } from '@capacitor/core';
3
+ import type { CapacitorCalendarPlugin } from './definitions';
4
+ import type { CalendarPermissionScope } from './schemas/enums/calendar-permission-scope';
5
+ import type { Calendar } from './schemas/interfaces/calendar';
6
+ import type { CalendarEvent } from './schemas/interfaces/calendar-event';
7
+ import type { CalendarSource } from './schemas/interfaces/calendar-source';
8
+ import type { CreateCalendarOptions } from './schemas/interfaces/create-calendar-options';
9
+ import type { CreateEventOptions } from './schemas/interfaces/create-event-options';
10
+ import type { CreateEventWithPromptOptions } from './schemas/interfaces/create-event-with-prompt-options';
11
+ import type { CreateReminderOptions } from './schemas/interfaces/create-reminder-options';
12
+ import type { DeleteCalendarOptions } from './schemas/interfaces/delete-calendar-options';
13
+ import type { DeleteEventOptions } from './schemas/interfaces/delete-event-options';
14
+ import type { DeleteEventWithPromptOptions } from './schemas/interfaces/delete-event-with-prompt-options';
15
+ import type { DeleteEventsByIdOptions } from './schemas/interfaces/delete-events-by-id-options';
16
+ import type { DeleteReminderOptions } from './schemas/interfaces/delete-reminder-options';
17
+ import type { DeleteReminderWithPromptOptions } from './schemas/interfaces/delete-reminder-with-prompt-options';
18
+ import type { DeleteRemindersByIdOptions } from './schemas/interfaces/delete-reminders-by-id-options';
19
+ import type { GetReminderByIdOptions } from './schemas/interfaces/get-reminder-by-id-options';
20
+ import type { GetRemindersFromListsOptions } from './schemas/interfaces/get-reminders-from-lists-options';
21
+ import type { ListEventsInRangeOptions } from './schemas/interfaces/list-events-in-range-options';
22
+ import type { ModifyCalendarOptions } from './schemas/interfaces/modify-calendar-options';
23
+ import type { ModifyEventOptions } from './schemas/interfaces/modify-event-options';
24
+ import type { ModifyEventWithPromptOptions } from './schemas/interfaces/modify-event-with-prompt-options';
25
+ import type { ModifyReminderOptions } from './schemas/interfaces/modify-reminder-options';
26
+ import type { OpenCalendarOptions } from './schemas/interfaces/open-calendar-options';
27
+ import type { Reminder } from './schemas/interfaces/reminder';
28
+ import type { RemindersList } from './schemas/interfaces/reminders-list';
29
+ import type { SelectCalendarsWithPromptOptions } from './schemas/interfaces/select-calendars-with-prompt-options';
30
+ import type { EventEditAction } from './schemas/types/event-edit-action';
31
+ import type { CheckAllPermissionsResult, RequestAllPermissionsResult } from './sub-definitions/calendar-access';
32
+ import type { DeleteEventsByIdResult } from './sub-definitions/event-operations';
33
+ import type { DeleteRemindersByIdResult } from './sub-definitions/reminders-operations';
33
34
  export declare class CapacitorCalendarWeb extends WebPlugin implements CapacitorCalendarPlugin {
34
35
  checkPermission(_options: {
35
36
  scope: CalendarPermissionScope;
package/dist/esm/web.js CHANGED
@@ -1,4 +1,4 @@
1
- import { WebPlugin } from "@capacitor/core";
1
+ import { WebPlugin } from '@capacitor/core';
2
2
  export class CapacitorCalendarWeb extends WebPlugin {
3
3
  checkPermission(_options) {
4
4
  return this.throwUnimplemented(this.checkPermission.name);
@@ -1 +1 @@
1
- {"version":3,"file":"web.js","sourceRoot":"","sources":["../../src/web.ts"],"names":[],"mappings":"AAIA,OAAO,EAAmB,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAgC7D,MAAM,OAAO,oBACX,SAAQ,SAAS;IAGV,eAAe,CAAC,QAEtB;QACC,OAAO,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC;IAC5D,CAAC;IAEM,mBAAmB;QACxB,OAAO,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,mBAAmB,CAAC,IAAI,CAAC,CAAC;IAChE,CAAC;IAEM,iBAAiB,CAAC,QAExB;QACC,OAAO,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;IAC9D,CAAC;IAEM,qBAAqB;QAG1B,OAAO,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAAC;IAClE,CAAC;IAEM,8BAA8B;QAGnC,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C,IAAI,CAAC,CAAC;IACrE,CAAC;IAEO,kBAAkB,CAAI,UAAkB;QAC9C,OAAO,OAAO,CAAC,MAAM,CACnB,IAAI,CAAC,aAAa,CAAC,GAAG,UAAU,iCAAiC,CAAC,CACnE,CAAC;IACJ,CAAC;CACF","sourcesContent":["import {\n CheckAllPermissionsResult,\n RequestAllPermissionsResult,\n} from \"./sub-definitions/calendar-access\";\nimport { PermissionState, WebPlugin } from \"@capacitor/core\";\nimport type { Calendar } from \"./schemas/interfaces/calendar\";\nimport type { CalendarEvent } from \"./schemas/interfaces/calendar-event\";\nimport { CalendarPermissionScope } from \"./schemas/enums/calendar-permission-scope\";\nimport type { CalendarSource } from \"./schemas/interfaces/calendar-source\";\nimport type { CapacitorCalendarPlugin } from \"./definitions\";\nimport type { CreateCalendarOptions } from \"./schemas/interfaces/create-calendar-options\";\nimport type { CreateEventOptions } from \"./schemas/interfaces/create-event-options\";\nimport type { CreateEventWithPromptOptions } from \"./schemas/interfaces/create-event-with-prompt-options\";\nimport type { CreateReminderOptions } from \"./schemas/interfaces/create-reminder-options\";\nimport type { DeleteCalendarOptions } from \"./schemas/interfaces/delete-calendar-options\";\nimport type { DeleteEventOptions } from \"./schemas/interfaces/delete-event-options\";\nimport type { DeleteEventWithPromptOptions } from \"./schemas/interfaces/delete-event-with-prompt-options\";\nimport type { DeleteEventsByIdOptions } from \"./schemas/interfaces/delete-events-by-id-options\";\nimport type { DeleteEventsByIdResult } from \"./sub-definitions/event-operations\";\nimport type { DeleteReminderOptions } from \"./schemas/interfaces/delete-reminder-options\";\nimport type { DeleteReminderWithPromptOptions } from \"./schemas/interfaces/delete-reminder-with-prompt-options\";\nimport type { DeleteRemindersByIdOptions } from \"./schemas/interfaces/delete-reminders-by-id-options\";\nimport type { DeleteRemindersByIdResult } from \"./sub-definitions/reminders-operations\";\nimport type { EventEditAction } from \"./schemas/types/event-edit-action\";\nimport type { GetReminderByIdOptions } from \"./schemas/interfaces/get-reminder-by-id-options\";\nimport type { GetRemindersFromListsOptions } from \"./schemas/interfaces/get-reminders-from-lists-options\";\nimport type { ListEventsInRangeOptions } from \"./schemas/interfaces/list-events-in-range-options\";\nimport type { ModifyCalendarOptions } from \"./schemas/interfaces/modify-calendar-options\";\nimport type { ModifyEventOptions } from \"./schemas/interfaces/modify-event-options\";\nimport type { ModifyEventWithPromptOptions } from \"./schemas/interfaces/modify-event-with-prompt-options\";\nimport type { ModifyReminderOptions } from \"./schemas/interfaces/modify-reminder-options\";\nimport type { OpenCalendarOptions } from \"./schemas/interfaces/open-calendar-options\";\nimport type { Reminder } from \"./schemas/interfaces/reminder\";\nimport type { RemindersList } from \"./schemas/interfaces/reminders-list\";\nimport type { SelectCalendarsWithPromptOptions } from \"./schemas/interfaces/select-calendars-with-prompt-options\";\n\nexport class CapacitorCalendarWeb\n extends WebPlugin\n implements CapacitorCalendarPlugin\n{\n public checkPermission(_options: {\n scope: CalendarPermissionScope;\n }): Promise<{ result: PermissionState }> {\n return this.throwUnimplemented(this.checkPermission.name);\n }\n\n public checkAllPermissions(): Promise<{ result: CheckAllPermissionsResult }> {\n return this.throwUnimplemented(this.checkAllPermissions.name);\n }\n\n public requestPermission(_options: {\n scope: CalendarPermissionScope;\n }): Promise<{ result: PermissionState }> {\n return this.throwUnimplemented(this.requestPermission.name);\n }\n\n public requestAllPermissions(): Promise<{\n result: RequestAllPermissionsResult;\n }> {\n return this.throwUnimplemented(this.requestAllPermissions.name);\n }\n\n public requestWriteOnlyCalendarAccess(): Promise<{\n result: PermissionState;\n }> {\n return this.throwUnimplemented(this.requestWriteOnlyCalendarAccess.name);\n }\n\n public requestReadOnlyCalendarAccess(): Promise<{ result: PermissionState }> {\n return this.throwUnimplemented(this.requestReadOnlyCalendarAccess.name);\n }\n\n public requestFullCalendarAccess(): Promise<{ result: PermissionState }> {\n return this.throwUnimplemented(this.requestFullCalendarAccess.name);\n }\n\n public requestFullRemindersAccess(): Promise<{ result: PermissionState }> {\n return this.throwUnimplemented(this.requestFullRemindersAccess.name);\n }\n\n public createEventWithPrompt(\n _options: CreateEventWithPromptOptions,\n ): Promise<{ id: string | null }> {\n return this.throwUnimplemented(this.createEventWithPrompt.name);\n }\n\n public modifyEventWithPrompt(\n _options: ModifyEventWithPromptOptions,\n ): Promise<{ result: EventEditAction | null }> {\n return this.throwUnimplemented(this.modifyEventWithPrompt.name);\n }\n\n public createEvent(_options: CreateEventOptions): Promise<{\n id: string;\n }> {\n return this.throwUnimplemented(this.createEvent.name);\n }\n\n public commit(): Promise<void> {\n return this.throwUnimplemented(this.commit.name);\n }\n\n public modifyEvent(_options: ModifyEventOptions): Promise<void> {\n return this.throwUnimplemented(this.modifyEvent.name);\n }\n\n public selectCalendarsWithPrompt(\n _options?: SelectCalendarsWithPromptOptions,\n ): Promise<{ result: Calendar[] }> {\n return this.throwUnimplemented(this.selectCalendarsWithPrompt.name);\n }\n\n public fetchAllCalendarSources(): Promise<{ result: CalendarSource[] }> {\n return this.throwUnimplemented(this.fetchAllCalendarSources.name);\n }\n\n public listCalendars(): Promise<{ result: Calendar[] }> {\n return this.throwUnimplemented(this.listCalendars.name);\n }\n\n public fetchAllRemindersSources(): Promise<{ result: CalendarSource[] }> {\n return this.throwUnimplemented(this.fetchAllRemindersSources.name);\n }\n\n public getDefaultCalendar(): Promise<{ result: Calendar | null }> {\n return this.throwUnimplemented(this.getDefaultCalendar.name);\n }\n\n public getDefaultRemindersList(): Promise<{ result: RemindersList | null }> {\n return this.throwUnimplemented(this.getDefaultRemindersList.name);\n }\n\n public openReminders(): Promise<void> {\n return this.throwUnimplemented(this.openReminders.name);\n }\n\n public getRemindersLists(): Promise<{ result: RemindersList[] }> {\n return this.throwUnimplemented(this.getRemindersLists.name);\n }\n\n public openCalendar(_options: OpenCalendarOptions): Promise<void> {\n return this.throwUnimplemented(this.openCalendar.name);\n }\n\n public createCalendar(\n _options: CreateCalendarOptions,\n ): Promise<{ id: string }> {\n return this.throwUnimplemented(this.createCalendar.name);\n }\n\n public deleteCalendar(_options: DeleteCalendarOptions): Promise<void> {\n return this.throwUnimplemented(this.deleteCalendar.name);\n }\n\n public createReminder(\n _options: CreateReminderOptions,\n ): Promise<{ id: string }> {\n return this.throwUnimplemented(this.createReminder.name);\n }\n\n public deleteRemindersById(\n _options: DeleteRemindersByIdOptions,\n ): Promise<{ result: DeleteRemindersByIdResult }> {\n return this.throwUnimplemented(this.deleteRemindersById.name);\n }\n\n public deleteReminder(_options: DeleteReminderOptions): Promise<void> {\n return this.throwUnimplemented(this.deleteReminder.name);\n }\n\n public modifyReminder(_options: ModifyReminderOptions): Promise<void> {\n return this.throwUnimplemented(this.modifyReminder.name);\n }\n\n public getReminderById(\n _options: GetReminderByIdOptions,\n ): Promise<{ result: Reminder | null }> {\n return this.throwUnimplemented(this.getReminderById.name);\n }\n\n public getRemindersFromLists(\n _options: GetRemindersFromListsOptions,\n ): Promise<{ result: Reminder[] }> {\n return this.throwUnimplemented(this.getRemindersFromLists.name);\n }\n\n public deleteEventsById(_options: DeleteEventsByIdOptions): Promise<{\n result: DeleteEventsByIdResult;\n }> {\n return this.throwUnimplemented(this.deleteEventsById.name);\n }\n\n public deleteEvent(_options: DeleteEventOptions): Promise<void> {\n return this.throwUnimplemented(this.deleteEvent.name);\n }\n\n public deleteEventWithPrompt(\n _options: DeleteEventWithPromptOptions,\n ): Promise<{ deleted: boolean }> {\n return this.throwUnimplemented(this.deleteEventWithPrompt.name);\n }\n\n public listEventsInRange(\n _options: ListEventsInRangeOptions,\n ): Promise<{ result: CalendarEvent[] }> {\n return this.throwUnimplemented(this.listEventsInRange.name);\n }\n\n public modifyCalendar(_options: ModifyCalendarOptions): Promise<void> {\n return this.throwUnimplemented(this.modifyCalendar.name);\n }\n\n public deleteReminderWithPrompt(\n _options: DeleteReminderWithPromptOptions,\n ): Promise<{ deleted: boolean }> {\n return this.throwUnimplemented(this.deleteReminderWithPrompt.name);\n }\n\n private throwUnimplemented<T>(methodName: string): Promise<T> {\n return Promise.reject(\n this.unimplemented(`${method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AI,CAAC,kBAAkB,CAAC,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC;IAC7D,CAAC;IAEM,WAAW,CAAC,QAA4B;QAC7C,OAAO,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;IACxD,CAAC;IAEM,qBAAqB,CAAC,QAAsC;QACjE,OAAO,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAAC;IAClE,CAAC;IAEM,iBAAiB,CAAC,QAAkC;QACzD,OAAO,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;IAC9D,CAAC;IAEM,cAAc,CAAC,QAA+B;QACnD,OAAO,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;IAC3D,CAAC;IAEM,wBAAwB,CAAC,QAAyC;QACvE,OAAO,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,wBAAwB,CAAC,IAAI,CAAC,CAAC;IACrE,CAAC;IAEO,kBAAkB,CAAI,UAAkB;QAC9C,OAAO,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,GAAG,UAAU,iCAAiC,CAAC,CAAC,CAAC;IAC5F,CAAC;CACF","sourcesContent":["import type { PermissionState } from '@capacitor/core';\nimport { WebPlugin } from '@capacitor/core';\n\nimport type { CapacitorCalendarPlugin } from './definitions';\nimport type { CalendarPermissionScope } from './schemas/enums/calendar-permission-scope';\nimport type { Calendar } from './schemas/interfaces/calendar';\nimport type { CalendarEvent } from './schemas/interfaces/calendar-event';\nimport type { CalendarSource } from './schemas/interfaces/calendar-source';\nimport type { CreateCalendarOptions } from './schemas/interfaces/create-calendar-options';\nimport type { CreateEventOptions } from './schemas/interfaces/create-event-options';\nimport type { CreateEventWithPromptOptions } from './schemas/interfaces/create-event-with-prompt-options';\nimport type { CreateReminderOptions } from './schemas/interfaces/create-reminder-options';\nimport type { DeleteCalendarOptions } from './schemas/interfaces/delete-calendar-options';\nimport type { DeleteEventOptions } from './schemas/interfaces/delete-event-options';\nimport type { DeleteEventWithPromptOptions } from './schemas/interfaces/delete-event-with-prompt-options';\nimport type { DeleteEventsByIdOptions } from './schemas/interfaces/delete-events-by-id-options';\nimport type { DeleteReminderOptions } from './schemas/interfaces/delete-reminder-options';\nimport type { DeleteReminderWithPromptOptions } from './schemas/interfaces/delete-reminder-with-prompt-options';\nimport type { DeleteRemindersByIdOptions } from './schemas/interfaces/delete-reminders-by-id-options';\nimport type { GetReminderByIdOptions } from './schemas/interfaces/get-reminder-by-id-options';\nimport type { GetRemindersFromListsOptions } from './schemas/interfaces/get-reminders-from-lists-options';\nimport type { ListEventsInRangeOptions } from './schemas/interfaces/list-events-in-range-options';\nimport type { ModifyCalendarOptions } from './schemas/interfaces/modify-calendar-options';\nimport type { ModifyEventOptions } from './schemas/interfaces/modify-event-options';\nimport type { ModifyEventWithPromptOptions } from './schemas/interfaces/modify-event-with-prompt-options';\nimport type { ModifyReminderOptions } from './schemas/interfaces/modify-reminder-options';\nimport type { OpenCalendarOptions } from './schemas/interfaces/open-calendar-options';\nimport type { Reminder } from './schemas/interfaces/reminder';\nimport type { RemindersList } from './schemas/interfaces/reminders-list';\nimport type { SelectCalendarsWithPromptOptions } from './schemas/interfaces/select-calendars-with-prompt-options';\nimport type { EventEditAction } from './schemas/types/event-edit-action';\nimport type { CheckAllPermissionsResult, RequestAllPermissionsResult } from './sub-definitions/calendar-access';\nimport type { DeleteEventsByIdResult } from './sub-definitions/event-operations';\nimport type { DeleteRemindersByIdResult } from './sub-definitions/reminders-operations';\n\nexport class CapacitorCalendarWeb extends WebPlugin implements CapacitorCalendarPlugin {\n public checkPermission(_options: { scope: CalendarPermissionScope }): Promise<{ result: PermissionState }> {\n return this.throwUnimplemented(this.checkPermission.name);\n }\n\n public checkAllPermissions(): Promise<{ result: CheckAllPermissionsResult }> {\n return this.throwUnimplemented(this.checkAllPermissions.name);\n }\n\n public requestPermission(_options: { scope: CalendarPermissionScope }): Promise<{ result: PermissionState }> {\n return this.throwUnimplemented(this.requestPermission.name);\n }\n\n public requestAllPermissions(): Promise<{\n result: RequestAllPermissionsResult;\n }> {\n return this.throwUnimplemented(this.requestAllPermissions.name);\n }\n\n public requestWriteOnlyCalendarAccess(): Promise<{\n result: PermissionState;\n }> {\n return this.throwUnimplemented(this.requestWriteOnlyCalendarAccess.name);\n }\n\n public requestReadOnlyCalendarAccess(): Promise<{ result: PermissionState }> {\n return this.throwUnimplemented(this.requestReadOnlyCalendarAccess.name);\n }\n\n public requestFullCalendarAccess(): Promise<{ result: PermissionState }> {\n return this.throwUnimplemented(this.requestFullCalendarAccess.name);\n }\n\n public requestFullRemindersAccess(): Promise<{ result: PermissionState }> {\n return this.throwUnimplemented(this.requestFullRemindersAccess.name);\n }\n\n public createEventWithPrompt(_options: CreateEventWithPromptOptions): Promise<{ id: string | null }> {\n return this.throwUnimplemented(this.createEventWithPrompt.name);\n }\n\n public modifyEventWithPrompt(_options: ModifyEventWithPromptOptions): Promise<{ result: EventEditAction | null }> {\n return this.throwUnimplemented(this.modifyEventWithPrompt.name);\n }\n\n public createEvent(_options: CreateEventOptions): Promise<{\n id: string;\n }> {\n return this.throwUnimplemented(this.createEvent.name);\n }\n\n public commit(): Promise<void> {\n return this.throwUnimplemented(this.commit.name);\n }\n\n public modifyEvent(_options: ModifyEventOptions): Promise<void> {\n return this.throwUnimplemented(this.modifyEvent.name);\n }\n\n public selectCalendarsWithPrompt(_options?: SelectCalendarsWithPromptOptions): Promise<{ result: Calendar[] }> {\n return this.throwUnimplemented(this.selectCalendarsWithPrompt.name);\n }\n\n public fetchAllCalendarSources(): Promise<{ result: CalendarSource[] }> {\n return this.throwUnimplemented(this.fetchAllCalendarSources.name);\n }\n\n public listCalendars(): Promise<{ result: Calendar[] }> {\n return this.throwUnimplemented(this.listCalendars.name);\n }\n\n public fetchAllRemindersSources(): Promise<{ result: CalendarSource[] }> {\n return this.throwUnimplemented(this.fetchAllRemindersSources.name);\n }\n\n public getDefaultCalendar(): Promise<{ result: Calendar | null }> {\n return this.throwUnimplemented(this.getDefaultCalendar.name);\n }\n\n public getDefaultRemindersList(): Promise<{ result: RemindersList | null }> {\n return this.throwUnimplemented(this.getDefaultRemindersList.name);\n }\n\n public openReminders(): Promise<void> {\n return this.throwUnimplemented(this.openReminders.name);\n }\n\n public getRemindersLists(): Promise<{ result: RemindersList[] }> {\n return this.throwUnimplemented(this.getRemindersLists.name);\n }\n\n public openCalendar(_options: OpenCalendarOptions): Promise<void> {\n return this.throwUnimplemented(this.openCalendar.name);\n }\n\n public createCalendar(_options: CreateCalendarOptions): Promise<{ id: string }> {\n return this.throwUnimplemented(this.createCalendar.name);\n }\n\n public deleteCalendar(_options: DeleteCalendarOptions): Promise<void> {\n return this.throwUnimplemented(this.deleteCalendar.name);\n }\n\n public createReminder(_options: CreateReminderOptions): Promise<{ id: string }> {\n return this.throwUnimplemented(this.createReminder.name);\n }\n\n public deleteRemindersById(_options: DeleteRemindersByIdOptions): Promise<{ result: DeleteRemindersByIdResult }> {\n return this.throwUnimplemented(this.deleteRemindersById.name);\n }\n\n public deleteReminder(_options: DeleteReminderOptions): Promise<void> {\n return this.throwUnimplemented(this.deleteReminder.name);\n }\n\n public modifyReminder(_options: ModifyReminderOptions): Promise<void> {\n return this.throwUnimplemented(this.modifyReminder.name);\n }\n\n public getReminderById(_options: GetReminderByIdOptions): Promise<{ result: Reminder | null }> {\n return this.throwUnimplemented(this.getReminderById.name);\n }\n\n public getRemindersFromLists(_options: GetRemindersFromListsOptions): Promise<{ result: Reminder[] }> {\n return this.throwUnimplemented(this.getRemindersFromLists.name);\n }\n\n public deleteEventsById(_options: DeleteEventsByIdOptions): Promise<{\n result: DeleteEventsByIdResult;\n }> {\n return this.throwUnimplemented(this.deleteEventsById.name);\n }\n\n public deleteEvent(_options: DeleteEventOptions): Promise<void> {\n return this.throwUnimplemented(this.deleteEvent.name);\n }\n\n public deleteEventWithPrompt(_options: DeleteEventWithPromptOptions): Promise<{ deleted: boolean }> {\n return this.throwUnimplemented(this.deleteEventWithPrompt.name);\n }\n\n public listEventsInRange(_options: ListEventsInRangeOptions): Promise<{ result: CalendarEvent[] }> {\n return this.throwUnimplemented(this.listEventsInRange.name);\n }\n\n public modifyCalendar(_options: ModifyCalendarOptions): Promise<void> {\n return this.throwUnimplemented(this.modifyCalendar.name);\n }\n\n public deleteReminderWithPrompt(_options: DeleteReminderWithPromptOptions): Promise<{ deleted: boolean }> {\n return this.throwUnimplemented(this.deleteReminderWithPrompt.name);\n }\n\n private throwUnimplemented<T>(methodName: string): Promise<T> {\n return Promise.reject(this.unimplemented(`${methodName} is not implemented on the web.`));\n }\n}\n"]}
@@ -368,29 +368,6 @@ exports.EventStatus = void 0;
368
368
  EventStatus["CANCELED"] = "canceled";
369
369
  })(exports.EventStatus || (exports.EventStatus = {}));
370
370
 
371
- /**
372
- * @since 7.1.0
373
- */
374
- exports.RecurrenceFrequency = void 0;
375
- (function (RecurrenceFrequency) {
376
- /**
377
- * @since 7.1.0
378
- */
379
- RecurrenceFrequency[RecurrenceFrequency["DAILY"] = 0] = "DAILY";
380
- /**
381
- * @since 7.1.0
382
- */
383
- RecurrenceFrequency[RecurrenceFrequency["WEEKLY"] = 1] = "WEEKLY";
384
- /**
385
- * @since 7.1.0
386
- */
387
- RecurrenceFrequency[RecurrenceFrequency["MONTHLY"] = 2] = "MONTHLY";
388
- /**
389
- * @since 7.1.0
390
- */
391
- RecurrenceFrequency[RecurrenceFrequency["YEARLY"] = 3] = "YEARLY";
392
- })(exports.RecurrenceFrequency || (exports.RecurrenceFrequency = {}));
393
-
394
371
  /**
395
372
  * @deprecated Use `RecurrenceFrequency`.
396
373
  */
@@ -414,7 +391,7 @@ exports.ReminderRecurrenceFrequency = void 0;
414
391
  ReminderRecurrenceFrequency[ReminderRecurrenceFrequency["YEARLY"] = 3] = "YEARLY";
415
392
  })(exports.ReminderRecurrenceFrequency || (exports.ReminderRecurrenceFrequency = {}));
416
393
 
417
- const CapacitorCalendar = core.registerPlugin("CapacitorCalendar", {
394
+ const CapacitorCalendar = core.registerPlugin('CapacitorCalendar', {
418
395
  web: () => Promise.resolve().then(function () { return web; }).then((m) => new m.CapacitorCalendarWeb()),
419
396
  });
420
397
 
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.cjs.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":";;;;AAAA;AACA;AACA;AACWA;AACX,CAAC,UAAU,YAAY,EAAE;AACzB;AACA;AACA;AACA;AACA,IAAI,YAAY,CAAC,SAAS,CAAC,GAAG,SAAS;AACvC;AACA;AACA;AACA;AACA,IAAI,YAAY,CAAC,UAAU,CAAC,GAAG,UAAU;AACzC;AACA;AACA;AACA;AACA,IAAI,YAAY,CAAC,UAAU,CAAC,GAAG,UAAU;AACzC;AACA;AACA;AACA;AACA,IAAI,YAAY,CAAC,OAAO,CAAC,GAAG,OAAO;AACnC;AACA;AACA;AACA;AACA,IAAI,YAAY,CAAC,iBAAiB,CAAC,GAAG,gBAAgB;AACtD;AACA;AACA;AACA;AACA,IAAI,YAAY,CAAC,UAAU,CAAC,GAAG,UAAU;AACzC;AACA;AACA;AACA;AACA,IAAI,YAAY,CAAC,WAAW,CAAC,GAAG,WAAW;AAC3C;AACA;AACA;AACA;AACA,IAAI,YAAY,CAAC,WAAW,CAAC,GAAG,WAAW;AAC3C;AACA;AACA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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/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 * @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 { 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';\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, };\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","ReminderRecurrenceFrequency","registerPlugin","WebPlugin"],"mappings":";;;;AAAA;AACA;AACA;AACWA;AACX,CAAC,UAAU,YAAY,EAAE;AACzB;AACA;AACA;AACA;AACA,IAAI,YAAY,CAAC,SAAS,CAAC,GAAG,SAAS;AACvC;AACA;AACA;AACA;AACA,IAAI,YAAY,CAAC,UAAU,CAAC,GAAG,UAAU;AACzC;AACA;AACA;AACA;AACA,IAAI,YAAY,CAAC,UAAU,CAAC,GAAG,UAAU;AACzC;AACA;AACA;AACA;AACA,IAAI,YAAY,CAAC,OAAO,CAAC,GAAG,OAAO;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
  EventStatus["CANCELED"] = "canceled";
368
368
  })(exports.EventStatus || (exports.EventStatus = {}));
369
369
 
370
- /**
371
- * @since 7.1.0
372
- */
373
- exports.RecurrenceFrequency = void 0;
374
- (function (RecurrenceFrequency) {
375
- /**
376
- * @since 7.1.0
377
- */
378
- RecurrenceFrequency[RecurrenceFrequency["DAILY"] = 0] = "DAILY";
379
- /**
380
- * @since 7.1.0
381
- */
382
- RecurrenceFrequency[RecurrenceFrequency["WEEKLY"] = 1] = "WEEKLY";
383
- /**
384
- * @since 7.1.0
385
- */
386
- RecurrenceFrequency[RecurrenceFrequency["MONTHLY"] = 2] = "MONTHLY";
387
- /**
388
- * @since 7.1.0
389
- */
390
- RecurrenceFrequency[RecurrenceFrequency["YEARLY"] = 3] = "YEARLY";
391
- })(exports.RecurrenceFrequency || (exports.RecurrenceFrequency = {}));
392
-
393
370
  /**
394
371
  * @deprecated Use `RecurrenceFrequency`.
395
372
  */
@@ -413,7 +390,7 @@ var capacitorCapacitorCalendar = (function (exports, core) {
413
390
  ReminderRecurrenceFrequency[ReminderRecurrenceFrequency["YEARLY"] = 3] = "YEARLY";
414
391
  })(exports.ReminderRecurrenceFrequency || (exports.ReminderRecurrenceFrequency = {}));
415
392
 
416
- const CapacitorCalendar = core.registerPlugin("CapacitorCalendar", {
393
+ const CapacitorCalendar = core.registerPlugin('CapacitorCalendar', {
417
394
  web: () => Promise.resolve().then(function () { return web; }).then((m) => new m.CapacitorCalendarWeb()),
418
395
  });
419
396