@ebarooni/capacitor-calendar 6.7.1 → 7.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/EbarooniCapacitorCalendar.podspec +2 -2
  2. package/Package.swift +28 -0
  3. package/README.md +690 -98
  4. package/android/build.gradle +15 -11
  5. package/dist/docs.json +47 -22
  6. package/dist/esm/schemas/enums/plugin-permission.js.map +1 -1
  7. package/dist/esm/schemas/interfaces/plugin-permissions-map.d.ts +2 -4
  8. package/dist/esm/schemas/interfaces/plugin-permissions-map.js.map +1 -1
  9. package/dist/esm/schemas/interfaces/reminder-recurrence-rule.d.ts +1 -1
  10. package/dist/esm/schemas/interfaces/reminder-recurrence-rule.js.map +1 -1
  11. package/dist/esm/schemas/interfaces/reminder.d.ts +1 -1
  12. package/dist/esm/schemas/interfaces/reminder.js.map +1 -1
  13. package/dist/esm/schemas/interfaces/reminders-list.d.ts +2 -3
  14. package/dist/esm/schemas/interfaces/reminders-list.js.map +1 -1
  15. package/dist/plugin.cjs.js.map +1 -1
  16. package/dist/plugin.js.map +1 -1
  17. package/ios/{Plugin → Sources/CapacitorCalendarPlugin}/CapacitorCalendarPlugin.swift +35 -6
  18. package/ios/{Plugin → Sources/CapacitorCalendarPlugin}/CapacitorCalendarPluginError.swift +0 -8
  19. package/ios/{Plugin → Sources/CapacitorCalendarPlugin}/CapacitorReminders.swift +0 -8
  20. package/ios/{Plugin → Sources/CapacitorCalendarPlugin}/EventCreationParameters.swift +0 -8
  21. package/ios/Sources/CapacitorCalendarPlugin/EventDeleteResults.swift +6 -0
  22. package/ios/{Plugin → Sources/CapacitorCalendarPlugin}/PermissionState.swift +0 -8
  23. package/ios/Sources/CapacitorCalendarPlugin/RecurrenceParameters.swift +7 -0
  24. package/ios/{Plugin → Sources/CapacitorCalendarPlugin}/ReminderCreationParameters.swift +0 -8
  25. package/ios/{Plugin → Sources/CapacitorCalendarPlugin}/UIColorExtensions.swift +0 -8
  26. package/ios/Tests/CapacitorCalendarPluginTests/CapacitorCalendarPluginTests.swift +15 -0
  27. package/package.json +23 -26
  28. package/assets/images/text-logo.png +0 -0
  29. package/ios/Plugin/CapacitorCalendarPlugin.h +0 -10
  30. package/ios/Plugin/CapacitorCalendarPlugin.m +0 -36
  31. package/ios/Plugin/EventDeleteResults.swift +0 -14
  32. package/ios/Plugin/Info.plist +0 -24
  33. package/ios/Plugin/RecurrenceParameters.swift +0 -15
  34. /package/ios/{Plugin → Sources/CapacitorCalendarPlugin}/CapacitorCalendar.swift +0 -0
@@ -10,8 +10,8 @@ Pod::Spec.new do |s|
10
10
  s.homepage = package['repository']['url']
11
11
  s.author = package['author']
12
12
  s.source = { :git => package['repository']['url'], :tag => s.version.to_s }
13
- s.source_files = 'ios/Plugin/**/*.{swift,h,m,c,cc,mm,cpp}'
14
- s.ios.deployment_target = '13.0'
13
+ s.source_files = 'ios/Sources/**/*.{swift,h,m,c,cc,mm,cpp}'
14
+ s.ios.deployment_target = '14.0'
15
15
  s.dependency 'Capacitor'
16
16
  s.swift_version = '5.1'
17
17
  end
package/Package.swift ADDED
@@ -0,0 +1,28 @@
1
+ // swift-tools-version: 5.9
2
+ import PackageDescription
3
+
4
+ let package = Package(
5
+ name: "EbarooniCapacitorCalendar",
6
+ platforms: [.iOS(.v14)],
7
+ products: [
8
+ .library(
9
+ name: "EbarooniCapacitorCalendar",
10
+ targets: ["CapacitorCalendarPlugin"])
11
+ ],
12
+ dependencies: [
13
+ .package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", from: "7.0.0")
14
+ ],
15
+ targets: [
16
+ .target(
17
+ name: "CapacitorCalendarPlugin",
18
+ dependencies: [
19
+ .product(name: "Capacitor", package: "capacitor-swift-pm"),
20
+ .product(name: "Cordova", package: "capacitor-swift-pm")
21
+ ],
22
+ path: "ios/Sources/CapacitorCalendarPlugin"),
23
+ .testTarget(
24
+ name: "CapacitorCalendarPluginTests",
25
+ dependencies: ["CapacitorCalendarPlugin"],
26
+ path: "ios/Tests/CapacitorCalendarPluginTests")
27
+ ]
28
+ )