@octane-xplat/macos-renderer 0.14.0 → 0.15.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.
- package/README.md +95 -20
- package/package.json +15 -2
- package/src/appearance.ts +2 -0
- package/src/fonts.ts +2 -0
- package/src/formatted-text.ts +147 -0
- package/src/gestures.ts +196 -0
- package/src/host-globals.d.ts +55 -0
- package/src/html-text.ts +88 -0
- package/src/image.ts +91 -16
- package/src/index.d.ts +9 -0
- package/src/index.ts +5030 -678
- package/src/layer.ts +11 -9
- package/src/list-template.ts +266 -0
- package/src/list-view.ts +445 -0
- package/src/portal-components.macos.tsx +86 -0
- package/src/presentation.ts +48 -15
- package/src/scroll-view.ts +124 -0
- package/src/tab-view.ts +512 -0
- package/src/template-props.ts +402 -0
- package/src/vendor/listview/LICENSE +19 -0
- package/src/vendor/listview/README.md +1 -0
- package/src/vendor/listview/binding-options.ts +189 -0
- package/src/vendor/listview/expressions.ts +285 -0
- package/src/webview.ts +36 -7
- package/types/ARKitCore.d.ts +199 -0
- package/types/AVFAudio.d.ts +2304 -0
- package/types/AVFoundation.d.ts +6974 -0
- package/types/AVKit.d.ts +215 -0
- package/types/AVRouting.d.ts +7 -0
- package/types/Accelerate.d.ts +4776 -0
- package/types/Accessibility.d.ts +69 -0
- package/types/Accounts.d.ts +134 -0
- package/types/AdSupport.d.ts +12 -0
- package/types/AddressBook.d.ts +1012 -0
- package/types/AppKit.d.ts +34247 -0
- package/types/AppTrackingTransparency.d.ts +23 -0
- package/types/AppleScriptKit.d.ts +6 -0
- package/types/ApplicationServices.d.ts +6346 -0
- package/types/AudioToolbox.d.ts +7129 -0
- package/types/AudioVideoBridging.d.ts +613 -0
- package/types/AuthenticationServices.d.ts +982 -0
- package/types/AutomaticAssessmentConfiguration.d.ts +46 -0
- package/types/Automator.d.ts +248 -0
- package/types/BackgroundAssets.d.ts +9 -0
- package/types/BrowserEngineKit.d.ts +166 -0
- package/types/BusinessChat.d.ts +29 -0
- package/types/CFNetwork.d.ts +931 -0
- package/types/CalendarStore.d.ts +354 -0
- package/types/CallKit.d.ts +30 -0
- package/types/Carbon.d.ts +16207 -0
- package/types/ClassKit.d.ts +281 -0
- package/types/CloudKit.d.ts +1565 -0
- package/types/Collaboration.d.ts +123 -0
- package/types/ColorSync.d.ts +562 -0
- package/types/CompositorServices.d.ts +60 -0
- package/types/ComputeGraph.d.ts +16 -0
- package/types/Contacts.d.ts +1558 -0
- package/types/ContactsUI.d.ts +39 -0
- package/types/CoreAudio.d.ts +1376 -0
- package/types/CoreAudioKit.d.ts +122 -0
- package/types/CoreAudioTypes.d.ts +1003 -0
- package/types/CoreBluetooth.d.ts +657 -0
- package/types/CoreData.d.ts +2479 -0
- package/types/CoreFoundation.d.ts +5546 -0
- package/types/CoreGraphics.d.ts +3676 -0
- package/types/CoreHaptics.d.ts +361 -0
- package/types/CoreImage.d.ts +4781 -0
- package/types/CoreLocation.d.ts +564 -0
- package/types/CoreMIDI.d.ts +1538 -0
- package/types/CoreML.d.ts +905 -0
- package/types/CoreMedia.d.ts +2615 -0
- package/types/CoreMediaIO.d.ts +1046 -0
- package/types/CoreMotion.d.ts +316 -0
- package/types/CoreServices.d.ts +24810 -0
- package/types/CoreSpotlight.d.ts +789 -0
- package/types/CoreTelephony.d.ts +31 -0
- package/types/CoreText.d.ts +3973 -0
- package/types/CoreTransferable.d.ts +3 -0
- package/types/CoreVideo.d.ts +1162 -0
- package/types/CoreWLAN.d.ts +556 -0
- package/types/CryptoTokenKit.d.ts +548 -0
- package/types/DVDPlayback.d.ts +931 -0
- package/types/DataDetection.d.ts +66 -0
- package/types/DeviceCheck.d.ts +46 -0
- package/types/DeviceDiscoveryExtension.d.ts +142 -0
- package/types/DirectoryService.d.ts +966 -0
- package/types/DiscRecording.d.ts +2345 -0
- package/types/DiscRecordingUI.d.ts +288 -0
- package/types/DiskArbitration.d.ts +366 -0
- package/types/DriverKit.d.ts +639 -0
- package/types/EventKit.d.ts +640 -0
- package/types/ExceptionHandling.d.ts +56 -0
- package/types/ExecutionPolicy.d.ts +30 -0
- package/types/ExternalAccessory.d.ts +98 -0
- package/types/FSKit.d.ts +237 -0
- package/types/FileProvider.d.ts +495 -0
- package/types/FileProviderUI.d.ts +31 -0
- package/types/FinderSync.d.ts +165 -0
- package/types/FocusEngine.d.ts +133 -0
- package/types/ForceFeedback.d.ts +399 -0
- package/types/Foundation.d.ts +18216 -0
- package/types/GLKit.d.ts +937 -0
- package/types/GLUT.d.ts +1018 -0
- package/types/GSS.d.ts +855 -0
- package/types/GameController.d.ts +1394 -0
- package/types/GameKit.d.ts +1958 -0
- package/types/GameSave.d.ts +54 -0
- package/types/GameplayKit.d.ts +1645 -0
- package/types/HealthKit.d.ts +278 -0
- package/types/Hypervisor.d.ts +2079 -0
- package/types/ICADevices.d.ts +1400 -0
- package/types/IOBluetooth.d.ts +6094 -0
- package/types/IOBluetoothUI.d.ts +250 -0
- package/types/IOKit.d.ts +25804 -0
- package/types/IOSurface.d.ts +435 -0
- package/types/IOUSBHost.d.ts +809 -0
- package/types/ImageCaptureCore.d.ts +1104 -0
- package/types/ImageIO.d.ts +1697 -0
- package/types/InputMethodKit.d.ts +264 -0
- package/types/InstallerPlugins.d.ts +102 -0
- package/types/InstantMessage.d.ts +229 -0
- package/types/Intents.d.ts +1833 -0
- package/types/IntentsUI.d.ts +5 -0
- package/types/JavaRuntimeSupport.d.ts +520 -0
- package/types/JavaScriptCore.d.ts +934 -0
- package/types/Kerberos.d.ts +3754 -0
- package/types/Kernel.d.ts +33698 -0
- package/types/KernelManagement.d.ts +5 -0
- package/types/LatentSemanticMapping.d.ts +152 -0
- package/types/LinkPresentation.d.ts +57 -0
- package/types/LocalAuthentication.d.ts +94 -0
- package/types/MLCompute.d.ts +2343 -0
- package/types/MapKit.d.ts +2125 -0
- package/types/Matter.d.ts +151 -0
- package/types/MediaAccessibility.d.ts +137 -0
- package/types/MediaLibrary.d.ts +394 -0
- package/types/MediaPlayer.d.ts +475 -0
- package/types/MediaToolbox.d.ts +70 -0
- package/types/Metal.d.ts +4542 -0
- package/types/MetalFX.d.ts +107 -0
- package/types/MetalKit.d.ts +524 -0
- package/types/MetalPerformanceShaders.d.ts +9306 -0
- package/types/MetalPerformanceShadersGraph.d.ts +1394 -0
- package/types/MetricKit.d.ts +231 -0
- package/types/ModelIO.d.ts +2908 -0
- package/types/MultipeerConnectivity.d.ts +348 -0
- package/types/NaturalLanguage.d.ts +556 -0
- package/types/NearbyInteraction.d.ts +51 -0
- package/types/NetFS.d.ts +99 -0
- package/types/Network.d.ts +1622 -0
- package/types/NetworkExtension.d.ts +1574 -0
- package/types/NotificationCenter.d.ts +103 -0
- package/types/OSAKit.d.ts +260 -0
- package/types/OSLog.d.ts +208 -0
- package/types/OpenAL.d.ts +314 -0
- package/types/OpenCL.d.ts +2489 -0
- package/types/OpenDirectory.d.ts +1919 -0
- package/types/OpenGL.d.ts +11322 -0
- package/types/PCSC.d.ts +534 -0
- package/types/PDFKit.d.ts +1575 -0
- package/types/PHASE.d.ts +166 -0
- package/types/ParavirtualizedGraphics.d.ts +153 -0
- package/types/PassKit.d.ts +1287 -0
- package/types/PencilKit.d.ts +201 -0
- package/types/Photos.d.ts +1125 -0
- package/types/PhotosUI.d.ts +397 -0
- package/types/PreferencePanes.d.ts +68 -0
- package/types/ProximityReaderStub.d.ts +5 -0
- package/types/PushKit.d.ts +45 -0
- package/types/Quartz.d.ts +1642 -0
- package/types/QuartzCore.d.ts +1398 -0
- package/types/QuickLook.d.ts +212 -0
- package/types/QuickLookThumbnailing.d.ts +131 -0
- package/types/QuickLookUI.d.ts +117 -0
- package/types/REVISION.json +5 -0
- package/types/ReplayKit.d.ts +294 -0
- package/types/Runtime.d.ts +51605 -0
- package/types/SafariServices.d.ts +430 -0
- package/types/SafetyKit.d.ts +7 -0
- package/types/SceneKit.d.ts +4996 -0
- package/types/ScreenCaptureKit.d.ts +16 -0
- package/types/ScreenSaver.d.ts +41 -0
- package/types/ScreenTime.d.ts +41 -0
- package/types/ScriptingBridge.d.ts +96 -0
- package/types/Security.d.ts +14336 -0
- package/types/SecurityFoundation.d.ts +53 -0
- package/types/SecurityInterface.d.ts +297 -0
- package/types/SensorKit.d.ts +7 -0
- package/types/ServiceManagement.d.ts +71 -0
- package/types/SharedWithYou.d.ts +9 -0
- package/types/SharedWithYouCore.d.ts +5 -0
- package/types/ShazamKit.d.ts +12 -0
- package/types/Social.d.ts +306 -0
- package/types/SoundAnalysis.d.ts +177 -0
- package/types/Speech.d.ts +246 -0
- package/types/SpriteKit.d.ts +2766 -0
- package/types/StoreKit.d.ts +509 -0
- package/types/SyncServices.d.ts +551 -0
- package/types/SystemConfiguration.d.ts +1415 -0
- package/types/SystemExtensions.d.ts +89 -0
- package/types/TWAIN.d.ts +380 -0
- package/types/Tcl.d.ts +4013 -0
- package/types/ThreadNetwork.d.ts +77 -0
- package/types/Tk.d.ts +3750 -0
- package/types/UIUtilities.d.ts +31 -0
- package/types/UniformTypeIdentifiers.d.ts +358 -0
- package/types/UserNotifications.d.ts +538 -0
- package/types/UserNotificationsUI.d.ts +38 -0
- package/types/VideoDecodeAcceleration.d.ts +50 -0
- package/types/VideoSubscriberAccount.d.ts +139 -0
- package/types/VideoToolbox.d.ts +907 -0
- package/types/Virtualization.d.ts +302 -0
- package/types/Vision.d.ts +1723 -0
- package/types/WebKit.d.ts +5195 -0
- package/types/WidgetKit.d.ts +9 -0
- package/types/_LocationEssentials.d.ts +159 -0
- package/types/_ScreenCaptureKit_SwiftUI.d.ts +5 -0
- package/types/iTunesLibrary.d.ts +528 -0
- package/types/index.d.ts +9 -0
- package/types/vecLib.d.ts +33586 -0
- package/types/vmnet.d.ts +178 -0
- package/src/appkit.d.ts +0 -472
|
@@ -0,0 +1,640 @@
|
|
|
1
|
+
/// <reference types="@nativescript/objc-node-api" />
|
|
2
|
+
/// <reference path="./Runtime.d.ts" />
|
|
3
|
+
|
|
4
|
+
declare const EKErrorDomain: string
|
|
5
|
+
|
|
6
|
+
declare const EKEventStoreChangedNotification: string
|
|
7
|
+
|
|
8
|
+
declare const EKEventStatus: {
|
|
9
|
+
None: 0
|
|
10
|
+
Confirmed: 1
|
|
11
|
+
Tentative: 2
|
|
12
|
+
Canceled: 3
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
declare const EKEntityMask: {
|
|
16
|
+
Event: 1
|
|
17
|
+
Reminder: 2
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
declare const EKEntityType: {
|
|
21
|
+
Event: 0
|
|
22
|
+
Reminder: 1
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
declare const EKCalendarEventAvailabilityMask: {
|
|
26
|
+
None: 0
|
|
27
|
+
Busy: 1
|
|
28
|
+
Free: 2
|
|
29
|
+
Tentative: 4
|
|
30
|
+
Unavailable: 8
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
declare const EKCalendarType: {
|
|
34
|
+
Local: 0
|
|
35
|
+
CalDAV: 1
|
|
36
|
+
Exchange: 2
|
|
37
|
+
Subscription: 3
|
|
38
|
+
Birthday: 4
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
declare const EKParticipantStatus: {
|
|
42
|
+
Unknown: 0
|
|
43
|
+
Pending: 1
|
|
44
|
+
Accepted: 2
|
|
45
|
+
Declined: 3
|
|
46
|
+
Tentative: 4
|
|
47
|
+
Delegated: 5
|
|
48
|
+
Completed: 6
|
|
49
|
+
InProcess: 7
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
declare const EKParticipantScheduleStatus: {
|
|
53
|
+
None: 0
|
|
54
|
+
Pending: 1
|
|
55
|
+
Sent: 2
|
|
56
|
+
Delivered: 3
|
|
57
|
+
RecipientNotRecognized: 4
|
|
58
|
+
NoPrivileges: 5
|
|
59
|
+
DeliveryFailed: 6
|
|
60
|
+
CannotDeliver: 7
|
|
61
|
+
RecipientNotAllowed: 8
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
declare const EKParticipantRole: {
|
|
65
|
+
Unknown: 0
|
|
66
|
+
Required: 1
|
|
67
|
+
Optional: 2
|
|
68
|
+
Chair: 3
|
|
69
|
+
NonParticipant: 4
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
declare const EKParticipantType: {
|
|
73
|
+
Unknown: 0
|
|
74
|
+
Person: 1
|
|
75
|
+
Room: 2
|
|
76
|
+
Resource: 3
|
|
77
|
+
Group: 4
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
declare const EKWeekday: {
|
|
81
|
+
WeekdaySunday: 1
|
|
82
|
+
WeekdayMonday: 2
|
|
83
|
+
WeekdayTuesday: 3
|
|
84
|
+
WeekdayWednesday: 4
|
|
85
|
+
WeekdayThursday: 5
|
|
86
|
+
WeekdayFriday: 6
|
|
87
|
+
WeekdaySaturday: 7
|
|
88
|
+
Sunday: 1
|
|
89
|
+
Monday: 2
|
|
90
|
+
Tuesday: 3
|
|
91
|
+
Wednesday: 4
|
|
92
|
+
Thursday: 5
|
|
93
|
+
Friday: 6
|
|
94
|
+
Saturday: 7
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
declare const EKAlarmType: {
|
|
98
|
+
Display: 0
|
|
99
|
+
Audio: 1
|
|
100
|
+
Procedure: 2
|
|
101
|
+
Email: 3
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
declare const EKErrorCode: {
|
|
105
|
+
EventNotMutable: 0
|
|
106
|
+
NoCalendar: 1
|
|
107
|
+
NoStartDate: 2
|
|
108
|
+
NoEndDate: 3
|
|
109
|
+
DatesInverted: 4
|
|
110
|
+
InternalFailure: 5
|
|
111
|
+
CalendarReadOnly: 6
|
|
112
|
+
DurationGreaterThanRecurrence: 7
|
|
113
|
+
AlarmGreaterThanRecurrence: 8
|
|
114
|
+
StartDateTooFarInFuture: 9
|
|
115
|
+
StartDateCollidesWithOtherOccurrence: 10
|
|
116
|
+
ObjectBelongsToDifferentStore: 11
|
|
117
|
+
InvitesCannotBeMoved: 12
|
|
118
|
+
InvalidSpan: 13
|
|
119
|
+
CalendarHasNoSource: 14
|
|
120
|
+
CalendarSourceCannotBeModified: 15
|
|
121
|
+
CalendarIsImmutable: 16
|
|
122
|
+
SourceDoesNotAllowCalendarAddDelete: 17
|
|
123
|
+
RecurringReminderRequiresDueDate: 18
|
|
124
|
+
StructuredLocationsNotSupported: 19
|
|
125
|
+
ReminderLocationsNotSupported: 20
|
|
126
|
+
AlarmProximityNotSupported: 21
|
|
127
|
+
CalendarDoesNotAllowEvents: 22
|
|
128
|
+
CalendarDoesNotAllowReminders: 23
|
|
129
|
+
SourceDoesNotAllowReminders: 24
|
|
130
|
+
SourceDoesNotAllowEvents: 25
|
|
131
|
+
PriorityIsInvalid: 26
|
|
132
|
+
InvalidEntityType: 27
|
|
133
|
+
ProcedureAlarmsNotMutable: 28
|
|
134
|
+
EventStoreNotAuthorized: 29
|
|
135
|
+
OSNotSupported: 30
|
|
136
|
+
InvalidInviteReplyCalendar: 31
|
|
137
|
+
NotificationsCollectionFlagNotSet: 32
|
|
138
|
+
SourceMismatch: 33
|
|
139
|
+
NotificationCollectionMismatch: 34
|
|
140
|
+
NotificationSavedWithoutCollection: 35
|
|
141
|
+
ReminderAlarmContainsEmailOrUrl: 36
|
|
142
|
+
Last: 37
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
declare const EKReminderPriority: {
|
|
146
|
+
None: 0
|
|
147
|
+
High: 1
|
|
148
|
+
Medium: 5
|
|
149
|
+
Low: 9
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
declare const EKAuthorizationStatus: {
|
|
153
|
+
NotDetermined: 0
|
|
154
|
+
Restricted: 1
|
|
155
|
+
Denied: 2
|
|
156
|
+
Authorized: 3
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
declare const EKSpan: {
|
|
160
|
+
ThisEvent: 0
|
|
161
|
+
FutureEvents: 1
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
declare const EKEventAvailability: {
|
|
165
|
+
NotSupported: -1
|
|
166
|
+
Busy: 0
|
|
167
|
+
Free: 1
|
|
168
|
+
Tentative: 2
|
|
169
|
+
Unavailable: 3
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
declare const EKRecurrenceFrequency: {
|
|
173
|
+
Daily: 0
|
|
174
|
+
Weekly: 1
|
|
175
|
+
Monthly: 2
|
|
176
|
+
Yearly: 3
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
declare const EKSourceType: {
|
|
180
|
+
Local: 0
|
|
181
|
+
Exchange: 1
|
|
182
|
+
CalDAV: 2
|
|
183
|
+
MobileMe: 3
|
|
184
|
+
Subscribed: 4
|
|
185
|
+
Birthdays: 5
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
declare const EKAlarmProximity: {
|
|
189
|
+
None: 0
|
|
190
|
+
Enter: 1
|
|
191
|
+
Leave: 2
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
declare class EKReminder extends EKCalendarItem {
|
|
195
|
+
static reminderWithEventStore(eventStore: EKEventStore): EKReminder
|
|
196
|
+
|
|
197
|
+
startDateComponents: NSDateComponents
|
|
198
|
+
|
|
199
|
+
dueDateComponents: NSDateComponents
|
|
200
|
+
|
|
201
|
+
completed: boolean
|
|
202
|
+
|
|
203
|
+
completionDate: NSDate
|
|
204
|
+
|
|
205
|
+
priority: number
|
|
206
|
+
|
|
207
|
+
isCompleted(): boolean
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
declare class EKParticipant extends EKObject implements NSCopying {
|
|
211
|
+
readonly URL: NSURL
|
|
212
|
+
|
|
213
|
+
readonly name: string
|
|
214
|
+
|
|
215
|
+
readonly participantStatus: interop.Enum<typeof EKParticipantStatus>
|
|
216
|
+
|
|
217
|
+
readonly participantRole: interop.Enum<typeof EKParticipantRole>
|
|
218
|
+
|
|
219
|
+
readonly participantType: interop.Enum<typeof EKParticipantType>
|
|
220
|
+
|
|
221
|
+
readonly currentUser: boolean
|
|
222
|
+
|
|
223
|
+
readonly contactPredicate: NSPredicate
|
|
224
|
+
|
|
225
|
+
ABPersonInAddressBook(addressBook: ABAddressBook): ABPerson
|
|
226
|
+
|
|
227
|
+
isCurrentUser(): boolean
|
|
228
|
+
|
|
229
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
declare class EKCalendarItem extends EKObject {
|
|
233
|
+
calendar: EKCalendar
|
|
234
|
+
|
|
235
|
+
readonly calendarItemIdentifier: string
|
|
236
|
+
|
|
237
|
+
readonly calendarItemExternalIdentifier: string
|
|
238
|
+
|
|
239
|
+
title: string
|
|
240
|
+
|
|
241
|
+
location: string
|
|
242
|
+
|
|
243
|
+
notes: string
|
|
244
|
+
|
|
245
|
+
URL: NSURL
|
|
246
|
+
|
|
247
|
+
readonly lastModifiedDate: NSDate
|
|
248
|
+
|
|
249
|
+
readonly creationDate: NSDate
|
|
250
|
+
|
|
251
|
+
timeZone: NSTimeZone
|
|
252
|
+
|
|
253
|
+
readonly hasAlarms: boolean
|
|
254
|
+
|
|
255
|
+
readonly hasRecurrenceRules: boolean
|
|
256
|
+
|
|
257
|
+
readonly hasAttendees: boolean
|
|
258
|
+
|
|
259
|
+
readonly hasNotes: boolean
|
|
260
|
+
|
|
261
|
+
readonly attendees: NSArray
|
|
262
|
+
|
|
263
|
+
get alarms(): NSArray
|
|
264
|
+
set alarms(value: NSArray<interop.Object> | Array<interop.Object>)
|
|
265
|
+
|
|
266
|
+
addAlarm(alarm: EKAlarm): void
|
|
267
|
+
|
|
268
|
+
removeAlarm(alarm: EKAlarm): void
|
|
269
|
+
|
|
270
|
+
get recurrenceRules(): NSArray
|
|
271
|
+
set recurrenceRules(value: NSArray<interop.Object> | Array<interop.Object>)
|
|
272
|
+
|
|
273
|
+
addRecurrenceRule(rule: EKRecurrenceRule): void
|
|
274
|
+
|
|
275
|
+
removeRecurrenceRule(rule: EKRecurrenceRule): void
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
declare class EKAlarm extends EKObject implements NSCopying {
|
|
279
|
+
static alarmWithAbsoluteDate(date: NSDate): EKAlarm
|
|
280
|
+
|
|
281
|
+
static alarmWithRelativeOffset(offset: number): EKAlarm
|
|
282
|
+
|
|
283
|
+
relativeOffset: number
|
|
284
|
+
|
|
285
|
+
absoluteDate: NSDate
|
|
286
|
+
|
|
287
|
+
structuredLocation: EKStructuredLocation
|
|
288
|
+
|
|
289
|
+
proximity: interop.Enum<typeof EKAlarmProximity>
|
|
290
|
+
|
|
291
|
+
readonly type: interop.Enum<typeof EKAlarmType>
|
|
292
|
+
|
|
293
|
+
emailAddress: string
|
|
294
|
+
|
|
295
|
+
soundName: string
|
|
296
|
+
|
|
297
|
+
url: NSURL
|
|
298
|
+
|
|
299
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
declare class EKObject extends NSObject {
|
|
303
|
+
readonly hasChanges: boolean
|
|
304
|
+
|
|
305
|
+
readonly new: boolean
|
|
306
|
+
|
|
307
|
+
reset(): void
|
|
308
|
+
|
|
309
|
+
rollback(): void
|
|
310
|
+
|
|
311
|
+
refresh(): boolean
|
|
312
|
+
|
|
313
|
+
isNew(): boolean
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
declare class EKRecurrenceDayOfWeek extends NSObject implements NSCopying, NSSecureCoding {
|
|
317
|
+
static dayOfWeek<This extends abstract new (...args: any) => any>(
|
|
318
|
+
this: This,
|
|
319
|
+
dayOfTheWeek: interop.Enum<typeof EKWeekday>,
|
|
320
|
+
): InstanceType<This>
|
|
321
|
+
|
|
322
|
+
static dayOfWeekWeekNumber<This extends abstract new (...args: any) => any>(
|
|
323
|
+
this: This,
|
|
324
|
+
dayOfTheWeek: interop.Enum<typeof EKWeekday>,
|
|
325
|
+
weekNumber: number,
|
|
326
|
+
): InstanceType<This>
|
|
327
|
+
|
|
328
|
+
initWithDayOfTheWeekWeekNumber(
|
|
329
|
+
dayOfTheWeek: interop.Enum<typeof EKWeekday>,
|
|
330
|
+
weekNumber: number,
|
|
331
|
+
): this
|
|
332
|
+
|
|
333
|
+
readonly dayOfTheWeek: interop.Enum<typeof EKWeekday>
|
|
334
|
+
|
|
335
|
+
readonly weekNumber: number
|
|
336
|
+
|
|
337
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
338
|
+
|
|
339
|
+
static readonly supportsSecureCoding: boolean
|
|
340
|
+
|
|
341
|
+
encodeWithCoder(coder: NSCoder): void
|
|
342
|
+
|
|
343
|
+
initWithCoder(coder: NSCoder): this
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
declare class EKRecurrenceRule extends EKObject implements NSCopying {
|
|
347
|
+
initRecurrenceWithFrequencyIntervalEnd(
|
|
348
|
+
type: interop.Enum<typeof EKRecurrenceFrequency>,
|
|
349
|
+
interval: number,
|
|
350
|
+
end: EKRecurrenceEnd | null,
|
|
351
|
+
): this
|
|
352
|
+
|
|
353
|
+
initRecurrenceWithFrequencyIntervalDaysOfTheWeekDaysOfTheMonthMonthsOfTheYearWeeksOfTheYearDaysOfTheYearSetPositionsEnd(
|
|
354
|
+
type: interop.Enum<typeof EKRecurrenceFrequency>,
|
|
355
|
+
interval: number,
|
|
356
|
+
days: NSArray<interop.Object> | Array<interop.Object> | null,
|
|
357
|
+
monthDays: NSArray<interop.Object> | Array<interop.Object> | null,
|
|
358
|
+
months: NSArray<interop.Object> | Array<interop.Object> | null,
|
|
359
|
+
weeksOfTheYear: NSArray<interop.Object> | Array<interop.Object> | null,
|
|
360
|
+
daysOfTheYear: NSArray<interop.Object> | Array<interop.Object> | null,
|
|
361
|
+
setPositions: NSArray<interop.Object> | Array<interop.Object> | null,
|
|
362
|
+
end: EKRecurrenceEnd | null,
|
|
363
|
+
): this
|
|
364
|
+
|
|
365
|
+
readonly calendarIdentifier: string
|
|
366
|
+
|
|
367
|
+
recurrenceEnd: EKRecurrenceEnd
|
|
368
|
+
|
|
369
|
+
readonly frequency: interop.Enum<typeof EKRecurrenceFrequency>
|
|
370
|
+
|
|
371
|
+
readonly interval: number
|
|
372
|
+
|
|
373
|
+
readonly firstDayOfTheWeek: number
|
|
374
|
+
|
|
375
|
+
readonly daysOfTheWeek: NSArray
|
|
376
|
+
|
|
377
|
+
readonly daysOfTheMonth: NSArray
|
|
378
|
+
|
|
379
|
+
readonly daysOfTheYear: NSArray
|
|
380
|
+
|
|
381
|
+
readonly weeksOfTheYear: NSArray
|
|
382
|
+
|
|
383
|
+
readonly monthsOfTheYear: NSArray
|
|
384
|
+
|
|
385
|
+
readonly setPositions: NSArray
|
|
386
|
+
|
|
387
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
declare class EKSource extends EKObject {
|
|
391
|
+
readonly sourceIdentifier: string
|
|
392
|
+
|
|
393
|
+
readonly sourceType: interop.Enum<typeof EKSourceType>
|
|
394
|
+
|
|
395
|
+
readonly title: string
|
|
396
|
+
|
|
397
|
+
calendarsForEntityType(entityType: interop.Enum<typeof EKEntityType>): NSSet
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
declare class EKEvent extends EKCalendarItem {
|
|
401
|
+
static eventWithEventStore(eventStore: EKEventStore): EKEvent
|
|
402
|
+
|
|
403
|
+
readonly eventIdentifier: string
|
|
404
|
+
|
|
405
|
+
allDay: boolean
|
|
406
|
+
|
|
407
|
+
startDate: NSDate
|
|
408
|
+
|
|
409
|
+
endDate: NSDate
|
|
410
|
+
|
|
411
|
+
structuredLocation: EKStructuredLocation
|
|
412
|
+
|
|
413
|
+
compareStartDateWithEvent(other: EKEvent): interop.Enum<typeof NSComparisonResult>
|
|
414
|
+
|
|
415
|
+
readonly organizer: EKParticipant
|
|
416
|
+
|
|
417
|
+
availability: interop.Enum<typeof EKEventAvailability>
|
|
418
|
+
|
|
419
|
+
readonly status: interop.Enum<typeof EKEventStatus>
|
|
420
|
+
|
|
421
|
+
readonly isDetached: boolean
|
|
422
|
+
|
|
423
|
+
readonly occurrenceDate: NSDate
|
|
424
|
+
|
|
425
|
+
refresh(): boolean
|
|
426
|
+
|
|
427
|
+
readonly birthdayContactIdentifier: string
|
|
428
|
+
|
|
429
|
+
readonly birthdayPersonUniqueID: string
|
|
430
|
+
|
|
431
|
+
isAllDay(): boolean
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
declare class EKStructuredLocation extends EKObject implements NSCopying {
|
|
435
|
+
static locationWithTitle<This extends abstract new (...args: any) => any>(
|
|
436
|
+
this: This,
|
|
437
|
+
title: string,
|
|
438
|
+
): InstanceType<This>
|
|
439
|
+
|
|
440
|
+
static locationWithMapItem<This extends abstract new (...args: any) => any>(
|
|
441
|
+
this: This,
|
|
442
|
+
mapItem: MKMapItem,
|
|
443
|
+
): InstanceType<This>
|
|
444
|
+
|
|
445
|
+
title: string
|
|
446
|
+
|
|
447
|
+
geoLocation: CLLocation
|
|
448
|
+
|
|
449
|
+
radius: number
|
|
450
|
+
|
|
451
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
declare class EKCalendar extends EKObject {
|
|
455
|
+
static calendarForEntityTypeEventStore(
|
|
456
|
+
entityType: interop.Enum<typeof EKEntityType>,
|
|
457
|
+
eventStore: EKEventStore,
|
|
458
|
+
): EKCalendar
|
|
459
|
+
|
|
460
|
+
source: EKSource
|
|
461
|
+
|
|
462
|
+
readonly calendarIdentifier: string
|
|
463
|
+
|
|
464
|
+
title: string
|
|
465
|
+
|
|
466
|
+
readonly type: interop.Enum<typeof EKCalendarType>
|
|
467
|
+
|
|
468
|
+
readonly allowsContentModifications: boolean
|
|
469
|
+
|
|
470
|
+
readonly subscribed: boolean
|
|
471
|
+
|
|
472
|
+
readonly immutable: boolean
|
|
473
|
+
|
|
474
|
+
CGColor: interop.Object
|
|
475
|
+
|
|
476
|
+
color: NSColor
|
|
477
|
+
|
|
478
|
+
readonly supportedEventAvailabilities: interop.Enum<typeof EKCalendarEventAvailabilityMask>
|
|
479
|
+
|
|
480
|
+
readonly allowedEntityTypes: interop.Enum<typeof EKEntityMask>
|
|
481
|
+
|
|
482
|
+
isSubscribed(): boolean
|
|
483
|
+
|
|
484
|
+
isImmutable(): boolean
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
declare class EKRecurrenceEnd extends NSObject implements NSCopying, NSSecureCoding {
|
|
488
|
+
static recurrenceEndWithEndDate<This extends abstract new (...args: any) => any>(
|
|
489
|
+
this: This,
|
|
490
|
+
endDate: NSDate,
|
|
491
|
+
): InstanceType<This>
|
|
492
|
+
|
|
493
|
+
static recurrenceEndWithOccurrenceCount<This extends abstract new (...args: any) => any>(
|
|
494
|
+
this: This,
|
|
495
|
+
occurrenceCount: number,
|
|
496
|
+
): InstanceType<This>
|
|
497
|
+
|
|
498
|
+
readonly endDate: NSDate
|
|
499
|
+
|
|
500
|
+
readonly occurrenceCount: number
|
|
501
|
+
|
|
502
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
503
|
+
|
|
504
|
+
static readonly supportsSecureCoding: boolean
|
|
505
|
+
|
|
506
|
+
encodeWithCoder(coder: NSCoder): void
|
|
507
|
+
|
|
508
|
+
initWithCoder(coder: NSCoder): this
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
declare class EKEventStore extends NSObject {
|
|
512
|
+
static authorizationStatusForEntityType(
|
|
513
|
+
entityType: interop.Enum<typeof EKEntityType>,
|
|
514
|
+
): interop.Enum<typeof EKAuthorizationStatus>
|
|
515
|
+
|
|
516
|
+
initWithAccessToEntityTypes(entityTypes: interop.Enum<typeof EKEntityMask>): this
|
|
517
|
+
|
|
518
|
+
init(): this
|
|
519
|
+
|
|
520
|
+
initWithSources(sources: NSArray<interop.Object> | Array<interop.Object>): this
|
|
521
|
+
|
|
522
|
+
requestAccessToEntityTypeCompletion(
|
|
523
|
+
entityType: interop.Enum<typeof EKEntityType>,
|
|
524
|
+
completion: (p1: boolean, p2: NSError) => void,
|
|
525
|
+
): void
|
|
526
|
+
|
|
527
|
+
readonly eventStoreIdentifier: string
|
|
528
|
+
|
|
529
|
+
readonly delegateSources: NSArray
|
|
530
|
+
|
|
531
|
+
readonly sources: NSArray
|
|
532
|
+
|
|
533
|
+
sourceWithIdentifier(identifier: string): EKSource
|
|
534
|
+
|
|
535
|
+
calendarsForEntityType(entityType: interop.Enum<typeof EKEntityType>): NSArray
|
|
536
|
+
|
|
537
|
+
readonly defaultCalendarForNewEvents: EKCalendar
|
|
538
|
+
|
|
539
|
+
defaultCalendarForNewReminders(): EKCalendar
|
|
540
|
+
|
|
541
|
+
calendarWithIdentifier(identifier: string): EKCalendar
|
|
542
|
+
|
|
543
|
+
saveCalendarCommitError(
|
|
544
|
+
calendar: EKCalendar,
|
|
545
|
+
commit: boolean,
|
|
546
|
+
error: interop.PointerConvertible,
|
|
547
|
+
): boolean
|
|
548
|
+
|
|
549
|
+
removeCalendarCommitError(
|
|
550
|
+
calendar: EKCalendar,
|
|
551
|
+
commit: boolean,
|
|
552
|
+
error: interop.PointerConvertible,
|
|
553
|
+
): boolean
|
|
554
|
+
|
|
555
|
+
calendarItemWithIdentifier(identifier: string): EKCalendarItem
|
|
556
|
+
|
|
557
|
+
calendarItemsWithExternalIdentifier(externalIdentifier: string): NSArray
|
|
558
|
+
|
|
559
|
+
saveEventSpanError(
|
|
560
|
+
event: EKEvent,
|
|
561
|
+
span: interop.Enum<typeof EKSpan>,
|
|
562
|
+
error: interop.PointerConvertible,
|
|
563
|
+
): boolean
|
|
564
|
+
|
|
565
|
+
removeEventSpanError(
|
|
566
|
+
event: EKEvent,
|
|
567
|
+
span: interop.Enum<typeof EKSpan>,
|
|
568
|
+
error: interop.PointerConvertible,
|
|
569
|
+
): boolean
|
|
570
|
+
|
|
571
|
+
saveEventSpanCommitError(
|
|
572
|
+
event: EKEvent,
|
|
573
|
+
span: interop.Enum<typeof EKSpan>,
|
|
574
|
+
commit: boolean,
|
|
575
|
+
error: interop.PointerConvertible,
|
|
576
|
+
): boolean
|
|
577
|
+
|
|
578
|
+
removeEventSpanCommitError(
|
|
579
|
+
event: EKEvent,
|
|
580
|
+
span: interop.Enum<typeof EKSpan>,
|
|
581
|
+
commit: boolean,
|
|
582
|
+
error: interop.PointerConvertible,
|
|
583
|
+
): boolean
|
|
584
|
+
|
|
585
|
+
eventWithIdentifier(identifier: string): EKEvent
|
|
586
|
+
|
|
587
|
+
eventsMatchingPredicate(predicate: NSPredicate): NSArray
|
|
588
|
+
|
|
589
|
+
enumerateEventsMatchingPredicateUsingBlock(
|
|
590
|
+
predicate: NSPredicate,
|
|
591
|
+
block: (p1: EKEvent, p2: interop.PointerConvertible) => void,
|
|
592
|
+
): void
|
|
593
|
+
|
|
594
|
+
predicateForEventsWithStartDateEndDateCalendars(
|
|
595
|
+
startDate: NSDate,
|
|
596
|
+
endDate: NSDate,
|
|
597
|
+
calendars: NSArray<interop.Object> | Array<interop.Object> | null,
|
|
598
|
+
): NSPredicate
|
|
599
|
+
|
|
600
|
+
saveReminderCommitError(
|
|
601
|
+
reminder: EKReminder,
|
|
602
|
+
commit: boolean,
|
|
603
|
+
error: interop.PointerConvertible,
|
|
604
|
+
): boolean
|
|
605
|
+
|
|
606
|
+
removeReminderCommitError(
|
|
607
|
+
reminder: EKReminder,
|
|
608
|
+
commit: boolean,
|
|
609
|
+
error: interop.PointerConvertible,
|
|
610
|
+
): boolean
|
|
611
|
+
|
|
612
|
+
fetchRemindersMatchingPredicateCompletion(
|
|
613
|
+
predicate: NSPredicate,
|
|
614
|
+
completion: (p1: NSArray<interop.Object> | Array<interop.Object>) => void | null,
|
|
615
|
+
): interop.Object
|
|
616
|
+
|
|
617
|
+
cancelFetchRequest(fetchIdentifier: interop.Object): void
|
|
618
|
+
|
|
619
|
+
predicateForRemindersInCalendars(
|
|
620
|
+
calendars: NSArray<interop.Object> | Array<interop.Object> | null,
|
|
621
|
+
): NSPredicate
|
|
622
|
+
|
|
623
|
+
predicateForIncompleteRemindersWithDueDateStartingEndingCalendars(
|
|
624
|
+
startDate: NSDate | null,
|
|
625
|
+
endDate: NSDate | null,
|
|
626
|
+
calendars: NSArray<interop.Object> | Array<interop.Object> | null,
|
|
627
|
+
): NSPredicate
|
|
628
|
+
|
|
629
|
+
predicateForCompletedRemindersWithCompletionDateStartingEndingCalendars(
|
|
630
|
+
startDate: NSDate | null,
|
|
631
|
+
endDate: NSDate | null,
|
|
632
|
+
calendars: NSArray<interop.Object> | Array<interop.Object> | null,
|
|
633
|
+
): NSPredicate
|
|
634
|
+
|
|
635
|
+
commit(error: interop.PointerConvertible): boolean
|
|
636
|
+
|
|
637
|
+
reset(): void
|
|
638
|
+
|
|
639
|
+
refreshSourcesIfNecessary(): void
|
|
640
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/// <reference types="@nativescript/objc-node-api" />
|
|
2
|
+
/// <reference path="./Runtime.d.ts" />
|
|
3
|
+
|
|
4
|
+
declare const NSHandleOtherExceptionMask: number
|
|
5
|
+
|
|
6
|
+
declare const NSHandleUncaughtSystemExceptionMask: number
|
|
7
|
+
|
|
8
|
+
declare const NSLogUncaughtSystemExceptionMask: number
|
|
9
|
+
|
|
10
|
+
declare const NSUncaughtRuntimeErrorException: string
|
|
11
|
+
|
|
12
|
+
declare const NSUncaughtSystemExceptionException: string
|
|
13
|
+
|
|
14
|
+
declare const NSLogOtherExceptionMask: number
|
|
15
|
+
|
|
16
|
+
declare const NSHandleUncaughtRuntimeErrorMask: number
|
|
17
|
+
|
|
18
|
+
declare const NSHangOnUncaughtExceptionMask: number
|
|
19
|
+
|
|
20
|
+
declare const NSHangOnTopLevelExceptionMask: number
|
|
21
|
+
|
|
22
|
+
declare const NSStackTraceKey: string
|
|
23
|
+
|
|
24
|
+
declare const NSHangOnOtherExceptionMask: number
|
|
25
|
+
|
|
26
|
+
declare const NSLogTopLevelExceptionMask: number
|
|
27
|
+
|
|
28
|
+
declare const NSHangOnUncaughtRuntimeErrorMask: number
|
|
29
|
+
|
|
30
|
+
declare const NSLogUncaughtRuntimeErrorMask: number
|
|
31
|
+
|
|
32
|
+
declare const NSHandleUncaughtExceptionMask: number
|
|
33
|
+
|
|
34
|
+
declare const NSHandleTopLevelExceptionMask: number
|
|
35
|
+
|
|
36
|
+
declare const NSHangOnUncaughtSystemExceptionMask: number
|
|
37
|
+
|
|
38
|
+
declare const NSLogUncaughtExceptionMask: number
|
|
39
|
+
|
|
40
|
+
declare function NSExceptionHandlerResume(): void
|
|
41
|
+
|
|
42
|
+
declare class NSExceptionHandler extends NSObject {
|
|
43
|
+
static defaultExceptionHandler(): NSExceptionHandler
|
|
44
|
+
|
|
45
|
+
setExceptionHandlingMask(aMask: number): void
|
|
46
|
+
|
|
47
|
+
exceptionHandlingMask(): number
|
|
48
|
+
|
|
49
|
+
setExceptionHangingMask(aMask: number): void
|
|
50
|
+
|
|
51
|
+
exceptionHangingMask(): number
|
|
52
|
+
|
|
53
|
+
setDelegate(anObject: interop.Object): void
|
|
54
|
+
|
|
55
|
+
delegate(): interop.Object
|
|
56
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/// <reference types="@nativescript/objc-node-api" />
|
|
2
|
+
/// <reference path="./Runtime.d.ts" />
|
|
3
|
+
|
|
4
|
+
declare const EPErrorDomain: string
|
|
5
|
+
|
|
6
|
+
declare const EPError: {
|
|
7
|
+
Generic: 1
|
|
8
|
+
NotADeveloperTool: 2
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
declare const EPDeveloperToolStatus: {
|
|
12
|
+
NotDetermined: 0
|
|
13
|
+
Restricted: 1
|
|
14
|
+
Denied: 2
|
|
15
|
+
Authorized: 3
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
declare class EPExecutionPolicy extends NSObject {
|
|
19
|
+
init(): this
|
|
20
|
+
|
|
21
|
+
addPolicyExceptionForURLError(url: NSURL, error: interop.PointerConvertible): boolean
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
declare class EPDeveloperTool extends NSObject {
|
|
25
|
+
init(): this
|
|
26
|
+
|
|
27
|
+
readonly authorizationStatus: interop.Enum<typeof EPDeveloperToolStatus>
|
|
28
|
+
|
|
29
|
+
requestDeveloperToolAccessWithCompletionHandler(handler: (p1: boolean) => void): void
|
|
30
|
+
}
|