@ebarooni/capacitor-calendar 8.0.1 → 8.1.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 (27) hide show
  1. package/README.md +206 -15
  2. package/android/src/main/java/dev/barooni/capacitor/calendar/CapacitorCalendarPlugin.kt +5 -0
  3. package/android/src/main/java/dev/barooni/capacitor/calendar/models/inputs/ModifyEvent.kt +1 -1
  4. package/dist/docs.json +168 -0
  5. package/dist/esm/index.d.ts +3 -1
  6. package/dist/esm/index.js.map +1 -1
  7. package/dist/esm/schemas/interfaces/create-reminders-list-options.d.ts +42 -0
  8. package/dist/esm/schemas/interfaces/create-reminders-list-options.js +2 -0
  9. package/dist/esm/schemas/interfaces/create-reminders-list-options.js.map +1 -0
  10. package/dist/esm/schemas/interfaces/create-reminders-list-result.d.ts +13 -0
  11. package/dist/esm/schemas/interfaces/create-reminders-list-result.js +2 -0
  12. package/dist/esm/schemas/interfaces/create-reminders-list-result.js.map +1 -0
  13. package/dist/esm/sub-definitions/reminders-operations.d.ts +9 -0
  14. package/dist/esm/sub-definitions/reminders-operations.js.map +1 -1
  15. package/dist/esm/web.d.ts +3 -0
  16. package/dist/esm/web.js +3 -0
  17. package/dist/esm/web.js.map +1 -1
  18. package/dist/plugin.cjs.js +3 -0
  19. package/dist/plugin.cjs.js.map +1 -1
  20. package/dist/plugin.js +3 -0
  21. package/dist/plugin.js.map +1 -1
  22. package/ios/Plugin/CapacitorCalendarPlugin.swift +15 -0
  23. package/ios/Plugin/Implementation/CapacitorCalendar.swift +24 -0
  24. package/ios/Plugin/Models/Inputs/CreateRemindersListInput.swift +57 -0
  25. package/ios/Plugin/Models/Results/CreateRemindersListResult.swift +15 -0
  26. package/ios/Plugin/PluginConfig.swift +28 -27
  27. package/package.json +3 -2
@@ -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(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"]}
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 { CreateRemindersListOptions } from '../schemas/interfaces/create-reminders-list-options';\nimport type { CreateRemindersListResult } from '../schemas/interfaces/create-reminders-list-result';\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 * Creates a new reminders list.\n *\n * @platform iOS\n * @since 8.1.0\n */\n createRemindersList(options: CreateRemindersListOptions): Promise<CreateRemindersListResult>;\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
@@ -9,6 +9,8 @@ import type { CreateCalendarOptions } from './schemas/interfaces/create-calendar
9
9
  import type { CreateEventOptions } from './schemas/interfaces/create-event-options';
10
10
  import type { CreateEventWithPromptOptions } from './schemas/interfaces/create-event-with-prompt-options';
11
11
  import type { CreateReminderOptions } from './schemas/interfaces/create-reminder-options';
12
+ import type { CreateRemindersListOptions } from './schemas/interfaces/create-reminders-list-options';
13
+ import type { CreateRemindersListResult } from './schemas/interfaces/create-reminders-list-result';
12
14
  import type { DeleteCalendarOptions } from './schemas/interfaces/delete-calendar-options';
13
15
  import type { DeleteEventOptions } from './schemas/interfaces/delete-event-options';
14
16
  import type { DeleteEventWithPromptOptions } from './schemas/interfaces/delete-event-with-prompt-options';
@@ -45,6 +47,7 @@ export declare class CapacitorCalendarWeb extends WebPlugin implements Capacitor
45
47
  }): Promise<{
46
48
  result: PermissionState;
47
49
  }>;
50
+ createRemindersList(_options: CreateRemindersListOptions): Promise<CreateRemindersListResult>;
48
51
  requestAllPermissions(): Promise<{
49
52
  result: RequestAllPermissionsResult;
50
53
  }>;
package/dist/esm/web.js CHANGED
@@ -9,6 +9,9 @@ export class CapacitorCalendarWeb extends WebPlugin {
9
9
  requestPermission(_options) {
10
10
  return this.throwUnimplemented(this.requestPermission.name);
11
11
  }
12
+ createRemindersList(_options) {
13
+ return this.throwUnimplemented(this.createRemindersList.name);
14
+ }
12
15
  requestAllPermissions() {
13
16
  return this.throwUnimplemented(this.requestAllPermissions.name);
14
17
  }
@@ -1 +1 @@
1
- {"version":3,"file":"web.js","sourceRoot":"","sources":["../../src/web.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAkC5C,MAAM,OAAO,oBAAqB,SAAQ,SAAS;IAC1C,eAAe,CAAC,QAA4C;QACjE,OAAO,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,eAAe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AI,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"]}
1
+ {"version":3,"file":"web.js","sourceRoot":"","sources":["../../src/web.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAoC5C,MAAM,OAAO,oBAAqB,SAAQ,SAAS;IAC1C,eAAe,CAAC,QAA4C;QACjE,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,QAA4C;QACnE,OAAO,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;IAC9D,CAAC;IAED,mBAAmB,CAAC,QAAoC;QACtD,OAAO,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,mBAAmB,CAAC,IAAI,CAAC,CAAC;IAChE,CAAC;IAEM,qBAAqB;QAG1B,OAAO,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAAC;IAClE,CAAC;IAEM,8BAA8B;QAGnC,OAAO,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,8BAA8B,CAAC,IAAI,CAAC,CAAC;IAC3E,CAAC;IAEM,6BAA6B;QAClC,OAAO,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,6BAA6B,CAAC,IAAI,CAAC,CAAC;IAC1E,CAAC;IAEM,yBAAyB;QAC9B,OAAO,IAAI,CAAC,kBAAkB,CA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C,CAAC;IAC3D,CAAC;IAEM,eAAe,CAAC,QAAgC;QACrD,OAAO,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC;IAC5D,CAAC;IAEM,qBAAqB,CAAC,QAAsC;QACjE,OAAO,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAAC;IAClE,CAAC;IAEM,gBAAgB,CAAC,QAAiC;QAGvD,OAAO,IAAI,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 { CreateRemindersListOptions } from './schemas/interfaces/create-reminders-list-options';\nimport type { CreateRemindersListResult } from './schemas/interfaces/create-reminders-list-result';\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 createRemindersList(_options: CreateRemindersListOptions): Promise<CreateRemindersListResult> {\n return this.throwUnimplemented(this.createRemindersList.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"]}
@@ -405,6 +405,9 @@ class CapacitorCalendarWeb extends core.WebPlugin {
405
405
  requestPermission(_options) {
406
406
  return this.throwUnimplemented(this.requestPermission.name);
407
407
  }
408
+ createRemindersList(_options) {
409
+ return this.throwUnimplemented(this.createRemindersList.name);
410
+ }
408
411
  requestAllPermissions() {
409
412
  return this.throwUnimplemented(this.requestAllPermissions.name);
410
413
  }
@@ -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/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,YAA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G,IAAI;AACJ;;;;;;;;;"}
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/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 createRemindersList(_options) {\n return this.throwUnimplemented(this.createRemindersList.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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AAkB,CAAC,IAAI,CAAC,wBAAwB,CAAC,IAAI,CAAC;AAC1E,IAAI;AACJ,IAAI,kBAAkB,CAAC,UAAU,EAAE;AACnC,QAAQ,OAAO,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,EAAE,UAAU,CAAC,+BAA+B,CAAC,CAAC,CAAC;AACjG,IAAI;AACJ;;;;;;;;;"}
package/dist/plugin.js CHANGED
@@ -404,6 +404,9 @@ var capacitorCapacitorCalendar = (function (exports, core) {
404
404
  requestPermission(_options) {
405
405
  return this.throwUnimplemented(this.requestPermission.name);
406
406
  }
407
+ createRemindersList(_options) {
408
+ return this.throwUnimplemented(this.createRemindersList.name);
409
+ }
407
410
  requestAllPermissions() {
408
411
  return this.throwUnimplemented(this.requestAllPermissions.name);
409
412
  }
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.js","sources":["esm/schemas/enums/attendee-role.js","esm/schemas/enums/attendee-status.js","esm/schemas/enums/attendee-type.js","esm/schemas/enums/calendar-chooser-display-style.js","esm/schemas/enums/calendar-permission-scope.js","esm/schemas/enums/calendar-source-type.js","esm/schemas/enums/calendar-type.js","esm/schemas/enums/event-availability.js","esm/schemas/enums/event-span.js","esm/schemas/enums/event-status.js","esm/schemas/enums/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":";;;IAAA;IACA;IACA;AACWA;IACX,CAAC,UAAU,YAAY,EAAE;IACzB;IACA;IACA;IACA;IACA,IAAI,YAAY,CAAC,SAAS,CAAC,GAAG,SAAS;IACvC;IACA;IACA;IACA;IACA,IAAI,YAAY,CAAC,UAAU,CAAC,GAAG,UAAU;IACzC;IACA;IACA;IACA;IACA,IAAI,YAAY,CAAC,UAAU,CAAC,GAAG,UAAU;IACzC;IACA;IACA;IACA;IACA,IAAI,YAAY,CAAC,OAAO,CAAC,GAAG,OAAO;IACnC;IACA;IACA;IACA;IACA,IAAI,YAAY,CAAC,iBAAiB,CAAC,GAAG,gBAAgB;IACtD;IACA;IACA;IACA;IACA,IAAI,YAAY,CAAC,UAAU,CAAC,GAAG,UAAU;IACzC;IACA;IACA;IACA;IACA,IAAI,YAAY,CAAC,WAAW,CAAC,GAAG,WAAW;IAC3C;IACA;IACA;IACA;IACA,IAAI,YAAY,CAAC,WAAW,CAAC,GAAG,WAAW;IAC3C;IACA;IACA;IACA;IACA,IAAI,YAAY,CAAC,SAAS,CAAC,GAAG,SAAS;IACvC,CAAC,EAAEA,oBAAY,KAAKA,oBAAY,GAAG,EAAE,CAAC,CAAC;;IClDvC;IACA;IACA;AACWC;IACX,CAAC,UAAU,cAAc,EAAE;IAC3B;IACA;IACA;IACA;IACA,IAAI,cAAc,CAAC,MAAM,CAAC,GAAG,MAAM;IACnC;IACA;IACA;IACA;IACA,IAAI,cAAc,CAAC,UAAU,CAAC,GAAG,UAAU;IAC3C;IAC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AChC,QAAQ,OAAO,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC;IACnE,IAAI;IACJ,IAAI,cAAc,CAAC,QAAQ,EAAE;IAC7B,QAAQ,OAAO,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC;IAChE,IAAI;IACJ,IAAI,wBAAwB,CAAC,QAAQ,EAAE;IACvC,QAAQ,OAAO,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,wBAAwB,CAAC,IAAI,CAAC;IAC1E,IAAI;IACJ,IAAI,kBAAkB,CAAC,UAAU,EAAE;IACnC,QAAQ,OAAO,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,EAAE,UAAU,CAAC,+BAA+B,CAAC,CAAC,CAAC;IACjG,IAAI;IACJ;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"plugin.js","sources":["esm/schemas/enums/attendee-role.js","esm/schemas/enums/attendee-status.js","esm/schemas/enums/attendee-type.js","esm/schemas/enums/calendar-chooser-display-style.js","esm/schemas/enums/calendar-permission-scope.js","esm/schemas/enums/calendar-source-type.js","esm/schemas/enums/calendar-type.js","esm/schemas/enums/event-availability.js","esm/schemas/enums/event-span.js","esm/schemas/enums/event-status.js","esm/schemas/enums/reminder-recurrence-frequency.js","esm/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 createRemindersList(_options) {\n return this.throwUnimplemented(this.createRemindersList.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":";;;IAAA;IACA;IACA;AACWA;IACX,CAAC,UAAU,YAAY,EAAE;IACzB;IACA;IACA;IACA;IACA,IAAI,YAAY,CAAC,SAAS,CAAC,GAAG,SAAS;IACvC;IACA;IACA;IACA;IACA,IAAI,YAAY,CAAC,UAAU,CAAC,GAAG,UAAU;IACzC;IACA;IACA;IACA;IACA,IAAI,YAAY,CAAC,UAAU,CAAC,GAAG,UAAU;IACzC;IACA;IACA;IACA;IACA,IAAI,YAAY,CAAC,OAAO,CAAC,GAAG,OAAO;IACnC;IACA;IACA;IACA;IACA,IAAI,YAAY,CAAC,iBAAiB,CAAC,GAAG,gBAAgB;IACtD;IACA;IACA;IACA;IACA,IAAI,YAAY,CAAC,UAAU,CAAC,GAAG,UAAU;IACzC;IACA;IACA;IACA;IACA,IAAI,YAAY,CAAC,WAAW,CAAC,GAAG,WAAW;IAC3C;IACA;IACA;IACA;IACA,IAAI,YAAY,CAAC,WAAW,CAAC,GAAG,WAAW;IAC3C;IACA;IACA;IACA;IACA,IAAI,YAAY,CAAC,SAAS,CAAC,GAAG,SAAS;IACvC,CAAC,EAAEA,oBAAY,KAAKA,oBAAY,GAAG,EAAE,CAAC,CAAC;;IClDvC;IACA;IACA;AACWC;IACX,CAAC,UAAU,cAAc,EAAE;IAC3B;IACA;IACA;IACA;IACA,IAAI,cAAc,CAAC,MAAM,CAAC,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AAI,CAAC,WAAW,CAAC,IAAI,CAAC;IAC7D,IAAI;IACJ,IAAI,qBAAqB,CAAC,QAAQ,EAAE;IACpC,QAAQ,OAAO,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC;IACvE,IAAI;IACJ,IAAI,iBAAiB,CAAC,QAAQ,EAAE;IAChC,QAAQ,OAAO,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC;IACnE,IAAI;IACJ,IAAI,cAAc,CAAC,QAAQ,EAAE;IAC7B,QAAQ,OAAO,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC;IAChE,IAAI;IACJ,IAAI,wBAAwB,CAAC,QAAQ,EAAE;IACvC,QAAQ,OAAO,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,wBAAwB,CAAC,IAAI,CAAC;IAC1E,IAAI;IACJ,IAAI,kBAAkB,CAAC,UAAU,EAAE;IACnC,QAAQ,OAAO,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,EAAE,UAAU,CAAC,+BAA+B,CAAC,CAAC,CAAC;IACjG,IAAI;IACJ;;;;;;;;;;;;;;;"}
@@ -26,6 +26,21 @@ public class CapacitorCalendarPlugin: CAPPlugin, CAPBridgedPlugin {
26
26
  }
27
27
  }
28
28
 
29
+ @objc public func createRemindersList(_ call: CAPPluginCall) {
30
+ do {
31
+ let input = try CreateRemindersListInput(call: call)
32
+ implementation.createRemindersList(input) { result, error in
33
+ if let error {
34
+ self.rejectCall(call, error)
35
+ return
36
+ }
37
+ self.resolveCall(call, result)
38
+ }
39
+ } catch let error {
40
+ rejectCall(call, error)
41
+ }
42
+ }
43
+
29
44
  @objc public func requestPermission(_ call: CAPPluginCall) {
30
45
  Task {
31
46
  do {
@@ -51,6 +51,30 @@ class CapacitorCalendar: NSObject {
51
51
  return CheckAllPermissionsResult(statesDict: permissionsResult)
52
52
  }
53
53
 
54
+ func createRemindersList(_ input: CreateRemindersListInput, completion: @escaping (CreateRemindersListResult?, Error?) -> Void) {
55
+ let calendar = EKCalendar(for: .reminder, eventStore: eventStore)
56
+ calendar.title = input.getTitle()
57
+ if let color = input.getColor() {
58
+ calendar.cgColor = color
59
+ }
60
+
61
+ let sources = eventStore.sources
62
+ if let sourceId = input.getSourceId(), let customSource = sources.first(where: { $0.sourceIdentifier == sourceId }) {
63
+ calendar.source = customSource
64
+ } else if let iCloudSource = sources.first(where: { $0.sourceType == .calDAV && $0.title == "iCloud" }) {
65
+ calendar.source = iCloudSource
66
+ } else if let localSource = sources.first(where: { $0.sourceType == .local }) {
67
+ calendar.source = localSource
68
+ }
69
+
70
+ do {
71
+ try eventStore.saveCalendar(calendar, commit: input.getCommit())
72
+ completion(CreateRemindersListResult(id: calendar.calendarIdentifier), nil)
73
+ } catch {
74
+ completion(nil, error)
75
+ }
76
+ }
77
+
54
78
  func requestionPermission(input: RequestPermissionInput) async throws -> RequestPermissionResult {
55
79
  let scope = input.getScope()
56
80
  var state: CAPPermissionState
@@ -0,0 +1,57 @@
1
+ import Capacitor
2
+
3
+ struct CreateRemindersListInput {
4
+ private var color: CGColor?
5
+ private let commit: Bool
6
+ private var sourceId: String?
7
+ private let title: String
8
+
9
+ init(call: CAPPluginCall) throws {
10
+ guard let title = call.getString("title") else {
11
+ throw PluginError.titleMissing
12
+ }
13
+ self.title = title
14
+ self.color = CreateRemindersListInput.getListColorFromCall(call)
15
+ self.commit = call.getBool("commit", true)
16
+ if let sourceId = call.getString("sourceId") {
17
+ self.sourceId = sourceId
18
+ }
19
+ }
20
+
21
+ func getColor() -> CGColor? {
22
+ return color
23
+ }
24
+
25
+ func getCommit() -> Bool {
26
+ return commit
27
+ }
28
+
29
+ func getSourceId() -> String? {
30
+ return sourceId
31
+ }
32
+
33
+ func getTitle() -> String {
34
+ return title
35
+ }
36
+
37
+ private static func getListColorFromCall(_ call: CAPPluginCall) -> CGColor? {
38
+ guard let colorName = call.getString("color") else {
39
+ return nil
40
+ }
41
+
42
+ switch colorName.lowercased() {
43
+ case "blue": return UIColor.systemBlue.cgColor
44
+ case "brown": return UIColor.systemBrown.cgColor
45
+ case "gray": return UIColor.systemGray.cgColor
46
+ case "green": return UIColor.systemGreen.cgColor
47
+ case "indigo": return UIColor.systemIndigo.cgColor
48
+ case "orange": return UIColor.systemOrange.cgColor
49
+ case "pink": return UIColor.systemPink.cgColor
50
+ case "purple": return UIColor.systemPurple.cgColor
51
+ case "red": return UIColor.systemRed.cgColor
52
+ case "teal": return UIColor.systemTeal.cgColor
53
+ case "yellow": return UIColor.systemYellow.cgColor
54
+ default: return nil
55
+ }
56
+ }
57
+ }
@@ -0,0 +1,15 @@
1
+ import Capacitor
2
+
3
+ struct CreateRemindersListResult: JSResult {
4
+ private let id: String
5
+
6
+ init(id: String) {
7
+ self.id = id
8
+ }
9
+
10
+ func toJSON() -> JSObject {
11
+ var result = JSObject()
12
+ result["id"] = id
13
+ return result
14
+ }
15
+ }