@octane-xplat/macos-renderer 0.13.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,1012 @@
|
|
|
1
|
+
/// <reference types="@nativescript/objc-node-api" />
|
|
2
|
+
/// <reference path="./Runtime.d.ts" />
|
|
3
|
+
/// <reference path="./AppKit.d.ts" />
|
|
4
|
+
|
|
5
|
+
declare const kEventParamABPickerRef: number
|
|
6
|
+
|
|
7
|
+
declare const kEventABPeoplePickerGroupDoubleClicked: number
|
|
8
|
+
|
|
9
|
+
declare const kEventABPeoplePickerValueSelectionChanged: number
|
|
10
|
+
|
|
11
|
+
declare const kEventABPeoplePickerNameSelectionChanged: number
|
|
12
|
+
|
|
13
|
+
declare const kEventABPeoplePickerGroupSelectionChanged: number
|
|
14
|
+
|
|
15
|
+
declare const kEventClassABPeoplePicker: number
|
|
16
|
+
|
|
17
|
+
declare const kABPickerAllowGroupSelection: number
|
|
18
|
+
|
|
19
|
+
declare const ABPeoplePickerDisplayedPropertyDidChangeNotification: string
|
|
20
|
+
|
|
21
|
+
declare const ABPeoplePickerGroupSelectionDidChangeNotification: string
|
|
22
|
+
|
|
23
|
+
declare const ABAddressBookErrorDomain: string
|
|
24
|
+
|
|
25
|
+
declare const ABPropertyReadOnlyError: number
|
|
26
|
+
|
|
27
|
+
declare const ABPropertyValueValidationError: number
|
|
28
|
+
|
|
29
|
+
declare const ABAddRecordsError: number
|
|
30
|
+
|
|
31
|
+
declare const kABDeletedRecords: string
|
|
32
|
+
|
|
33
|
+
declare const kABDatabaseChangedExternallyNotification: string
|
|
34
|
+
|
|
35
|
+
declare const kABOtherLabel: string
|
|
36
|
+
|
|
37
|
+
declare const kABGroupNameProperty: string
|
|
38
|
+
|
|
39
|
+
declare const kABSuffixProperty: string
|
|
40
|
+
|
|
41
|
+
declare const kABTitleProperty: string
|
|
42
|
+
|
|
43
|
+
declare const kABSocialProfileServiceMySpace: string
|
|
44
|
+
|
|
45
|
+
declare const kABSocialProfileServiceFlickr: string
|
|
46
|
+
|
|
47
|
+
declare const kABSocialProfileServiceLinkedIn: string
|
|
48
|
+
|
|
49
|
+
declare const kABSocialProfileServiceFacebook: string
|
|
50
|
+
|
|
51
|
+
declare const kABSocialProfileServiceTwitter: string
|
|
52
|
+
|
|
53
|
+
declare const kABSocialProfileServiceKey: string
|
|
54
|
+
|
|
55
|
+
declare const kABInstantMessageServiceJabber: string
|
|
56
|
+
|
|
57
|
+
declare const kABInstantMessageServiceICQ: string
|
|
58
|
+
|
|
59
|
+
declare const kABInstantMessageServiceGoogleTalk: string
|
|
60
|
+
|
|
61
|
+
declare const kABInstantMessageServiceGaduGadu: string
|
|
62
|
+
|
|
63
|
+
declare const kABInstantMessageServiceFacebook: string
|
|
64
|
+
|
|
65
|
+
declare const kABInstantMessageServiceKey: string
|
|
66
|
+
|
|
67
|
+
declare const kABYahooHomeLabel: string
|
|
68
|
+
|
|
69
|
+
declare const kABYahooWorkLabel: string
|
|
70
|
+
|
|
71
|
+
declare const kABMSNWorkLabel: string
|
|
72
|
+
|
|
73
|
+
declare const kABMSNInstantProperty: string
|
|
74
|
+
|
|
75
|
+
declare const kABJabberHomeLabel: string
|
|
76
|
+
|
|
77
|
+
declare const kABJabberWorkLabel: string
|
|
78
|
+
|
|
79
|
+
declare const kABAIMMobileMeLabel: string
|
|
80
|
+
|
|
81
|
+
declare const kABPhonePagerLabel: string
|
|
82
|
+
|
|
83
|
+
declare const kABPhoneMainLabel: string
|
|
84
|
+
|
|
85
|
+
declare const kABPhoneProperty: string
|
|
86
|
+
|
|
87
|
+
declare const kABPersonFlags: string
|
|
88
|
+
|
|
89
|
+
declare const kABPartnerLabel: string
|
|
90
|
+
|
|
91
|
+
declare const kABSpouseLabel: string
|
|
92
|
+
|
|
93
|
+
declare const kABChildLabel: string
|
|
94
|
+
|
|
95
|
+
declare const kABBrotherLabel: string
|
|
96
|
+
|
|
97
|
+
declare const kABFatherLabel: string
|
|
98
|
+
|
|
99
|
+
declare const kABRelatedNamesProperty: string
|
|
100
|
+
|
|
101
|
+
declare const kABAddressHomeLabel: string
|
|
102
|
+
|
|
103
|
+
declare const kABAddressZIPKey: string
|
|
104
|
+
|
|
105
|
+
declare const kABAddressStateKey: string
|
|
106
|
+
|
|
107
|
+
declare const kABAddressCityKey: string
|
|
108
|
+
|
|
109
|
+
declare const kABAddressStreetKey: string
|
|
110
|
+
|
|
111
|
+
declare const kABEmailHomeLabel: string
|
|
112
|
+
|
|
113
|
+
declare const kABURLsProperty: string
|
|
114
|
+
|
|
115
|
+
declare const kABJobTitleProperty: string
|
|
116
|
+
|
|
117
|
+
declare const kABOrganizationPhoneticProperty: string
|
|
118
|
+
|
|
119
|
+
declare const kABAlternateBirthdayComponentsProperty: string
|
|
120
|
+
|
|
121
|
+
declare const kABMaidenNameProperty: string
|
|
122
|
+
|
|
123
|
+
declare const kABNicknameProperty: string
|
|
124
|
+
|
|
125
|
+
declare const kABLastNamePhoneticProperty: string
|
|
126
|
+
|
|
127
|
+
declare const kABFirstNameProperty: string
|
|
128
|
+
|
|
129
|
+
declare const kABCreationDateProperty: string
|
|
130
|
+
|
|
131
|
+
declare const kABAnniversaryLabel: string
|
|
132
|
+
|
|
133
|
+
declare const kABMiddleNameProperty: string
|
|
134
|
+
|
|
135
|
+
declare const kABInstantMessageServiceMSN: string
|
|
136
|
+
|
|
137
|
+
declare const kABDatabaseChangedNotification: string
|
|
138
|
+
|
|
139
|
+
declare const kABSocialProfileUsernameKey: string
|
|
140
|
+
|
|
141
|
+
declare const kABUpdatedRecords: string
|
|
142
|
+
|
|
143
|
+
declare const kABAIMInstantProperty: string
|
|
144
|
+
|
|
145
|
+
declare const kABPhoneHomeLabel: string
|
|
146
|
+
|
|
147
|
+
declare const kABInstantMessageProperty: string
|
|
148
|
+
|
|
149
|
+
declare const kABUIDProperty: string
|
|
150
|
+
|
|
151
|
+
declare const kABICQWorkLabel: string
|
|
152
|
+
|
|
153
|
+
declare const kABPickerAllowMultipleSelection: number
|
|
154
|
+
|
|
155
|
+
declare const kABLastNameProperty: string
|
|
156
|
+
|
|
157
|
+
declare const kABDepartmentProperty: string
|
|
158
|
+
|
|
159
|
+
declare const kABHomePageLabel: string
|
|
160
|
+
|
|
161
|
+
declare const kABICQHomeLabel: string
|
|
162
|
+
|
|
163
|
+
declare const kABAddressProperty: string
|
|
164
|
+
|
|
165
|
+
declare const kABSocialProfileURLKey: string
|
|
166
|
+
|
|
167
|
+
declare const kABSocialProfileServiceSinaWeibo: string
|
|
168
|
+
|
|
169
|
+
declare const kABICQInstantProperty: string
|
|
170
|
+
|
|
171
|
+
declare const kABPhoneHomeFAXLabel: string
|
|
172
|
+
|
|
173
|
+
declare const kEventABPeoplePickerNameDoubleClicked: number
|
|
174
|
+
|
|
175
|
+
declare const kABSocialProfileUserIdentifierKey: string
|
|
176
|
+
|
|
177
|
+
declare const kABHomeLabel: string
|
|
178
|
+
|
|
179
|
+
declare const kABAssistantLabel: string
|
|
180
|
+
|
|
181
|
+
declare const kABBirthdayComponentsProperty: string
|
|
182
|
+
|
|
183
|
+
declare const ABRemoveRecordsError: number
|
|
184
|
+
|
|
185
|
+
declare const kABSocialProfileProperty: string
|
|
186
|
+
|
|
187
|
+
declare const kABPickerSingleValueSelection: number
|
|
188
|
+
|
|
189
|
+
declare const kABPhoneWorkLabel: string
|
|
190
|
+
|
|
191
|
+
declare const kABYahooInstantProperty: string
|
|
192
|
+
|
|
193
|
+
declare const kABWorkLabel: string
|
|
194
|
+
|
|
195
|
+
declare const kABInstantMessageServiceYahoo: string
|
|
196
|
+
|
|
197
|
+
declare const kABFriendLabel: string
|
|
198
|
+
|
|
199
|
+
declare const ABPropertyUnsupportedBySourceError: number
|
|
200
|
+
|
|
201
|
+
declare const kABOrganizationProperty: string
|
|
202
|
+
|
|
203
|
+
declare const kABPhoneiPhoneLabel: string
|
|
204
|
+
|
|
205
|
+
declare const kABFirstNamePhoneticProperty: string
|
|
206
|
+
|
|
207
|
+
declare const kABParentLabel: string
|
|
208
|
+
|
|
209
|
+
declare const kABModificationDateProperty: string
|
|
210
|
+
|
|
211
|
+
declare const kABEmailMobileMeLabel: string
|
|
212
|
+
|
|
213
|
+
declare const kABInstantMessageServiceAIM: string
|
|
214
|
+
|
|
215
|
+
declare const kABNoteProperty: string
|
|
216
|
+
|
|
217
|
+
declare const kABAIMHomeLabel: string
|
|
218
|
+
|
|
219
|
+
declare const kABAIMWorkLabel: string
|
|
220
|
+
|
|
221
|
+
declare const kABAddressCountryCodeKey: string
|
|
222
|
+
|
|
223
|
+
declare const kABInstantMessageServiceQQ: string
|
|
224
|
+
|
|
225
|
+
declare const kABInstantMessageUsernameKey: string
|
|
226
|
+
|
|
227
|
+
declare const kABOtherDateComponentsProperty: string
|
|
228
|
+
|
|
229
|
+
declare const kABMotherLabel: string
|
|
230
|
+
|
|
231
|
+
declare const ABPeoplePickerNameSelectionDidChangeNotification: string
|
|
232
|
+
|
|
233
|
+
declare const kABAddressCountryKey: string
|
|
234
|
+
|
|
235
|
+
declare const kABSisterLabel: string
|
|
236
|
+
|
|
237
|
+
declare const kABPhoneMobileLabel: string
|
|
238
|
+
|
|
239
|
+
declare const kABMSNHomeLabel: string
|
|
240
|
+
|
|
241
|
+
declare const kABMiddleNamePhoneticProperty: string
|
|
242
|
+
|
|
243
|
+
declare const kABOtherDatesProperty: string
|
|
244
|
+
|
|
245
|
+
declare const ABPeoplePickerValueSelectionDidChangeNotification: string
|
|
246
|
+
|
|
247
|
+
declare const kABAddressWorkLabel: string
|
|
248
|
+
|
|
249
|
+
declare const kABPhoneWorkFAXLabel: string
|
|
250
|
+
|
|
251
|
+
declare const kABHomePageProperty: string
|
|
252
|
+
|
|
253
|
+
declare const kABSocialProfileServiceYelp: string
|
|
254
|
+
|
|
255
|
+
declare const kABBirthdayProperty: string
|
|
256
|
+
|
|
257
|
+
declare const kABSocialProfileServiceTencentWeibo: string
|
|
258
|
+
|
|
259
|
+
declare const kABManagerLabel: string
|
|
260
|
+
|
|
261
|
+
declare const kABPickerMultipleValueSelection: number
|
|
262
|
+
|
|
263
|
+
declare const kABCalendarURIsProperty: string
|
|
264
|
+
|
|
265
|
+
declare const kABJabberInstantProperty: string
|
|
266
|
+
|
|
267
|
+
declare const kABInsertedRecords: string
|
|
268
|
+
|
|
269
|
+
declare const kABEmailWorkLabel: string
|
|
270
|
+
|
|
271
|
+
declare const kABMobileMeLabel: string
|
|
272
|
+
|
|
273
|
+
declare const ABMultiValueIdentifiersErrorKey: string
|
|
274
|
+
|
|
275
|
+
declare const kABEmailProperty: string
|
|
276
|
+
|
|
277
|
+
declare const kEventABPeoplePickerDisplayedPropertyChanged: number
|
|
278
|
+
|
|
279
|
+
declare const kABInstantMessageServiceSkype: string
|
|
280
|
+
|
|
281
|
+
declare const _ABSearchComparison: {
|
|
282
|
+
Equal: 0
|
|
283
|
+
NotEqual: 1
|
|
284
|
+
LessThan: 2
|
|
285
|
+
LessThanOrEqual: 3
|
|
286
|
+
GreaterThan: 4
|
|
287
|
+
GreaterThanOrEqual: 5
|
|
288
|
+
EqualCaseInsensitive: 6
|
|
289
|
+
ContainsSubString: 7
|
|
290
|
+
ContainsSubStringCaseInsensitive: 8
|
|
291
|
+
PrefixMatch: 9
|
|
292
|
+
PrefixMatchCaseInsensitive: 10
|
|
293
|
+
BitsInBitFieldMatch: 11
|
|
294
|
+
DoesNotContainSubString: 12
|
|
295
|
+
DoesNotContainSubStringCaseInsensitive: 13
|
|
296
|
+
NotEqualCaseInsensitive: 14
|
|
297
|
+
SuffixMatch: 15
|
|
298
|
+
SuffixMatchCaseInsensitive: 16
|
|
299
|
+
WithinIntervalAroundToday: 17
|
|
300
|
+
WithinIntervalAroundTodayYearless: 18
|
|
301
|
+
NotWithinIntervalAroundToday: 19
|
|
302
|
+
NotWithinIntervalAroundTodayYearless: 20
|
|
303
|
+
WithinIntervalFromToday: 21
|
|
304
|
+
WithinIntervalFromTodayYearless: 22
|
|
305
|
+
NotWithinIntervalFromToday: 23
|
|
306
|
+
NotWithinIntervalFromTodayYearless: 24
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
declare const ABPeoplePickerSelectionBehavior: {
|
|
310
|
+
No: 0
|
|
311
|
+
Single: 1
|
|
312
|
+
Multiple: 2
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
declare const _ABSearchConjunction: {
|
|
316
|
+
And: 0
|
|
317
|
+
Or: 1
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
declare const _ABPropertyType: {
|
|
321
|
+
ErrorIn: 0
|
|
322
|
+
String: 1
|
|
323
|
+
Integer: 2
|
|
324
|
+
Real: 3
|
|
325
|
+
Date: 4
|
|
326
|
+
Array: 5
|
|
327
|
+
Dictionary: 6
|
|
328
|
+
Data: 7
|
|
329
|
+
DateComponents: 8
|
|
330
|
+
MultiString: 257
|
|
331
|
+
MultiInteger: 258
|
|
332
|
+
MultiReal: 259
|
|
333
|
+
MultiDate: 260
|
|
334
|
+
MultiArray: 261
|
|
335
|
+
MultiDictionary: 262
|
|
336
|
+
MultiData: 263
|
|
337
|
+
MultiDateComponents: 264
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
declare class OpaqueABPicker {
|
|
341
|
+
constructor(init?: OpaqueABPicker)
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
declare class ABActionCallbacks {
|
|
345
|
+
constructor(init?: ABActionCallbacks)
|
|
346
|
+
version: number
|
|
347
|
+
property: () => interop.Pointer | null
|
|
348
|
+
title: (p1: interop.PointerConvertible, p2: interop.PointerConvertible) => interop.Pointer | null
|
|
349
|
+
enabled: (p1: interop.PointerConvertible, p2: interop.PointerConvertible) => number | null
|
|
350
|
+
selected: (p1: interop.PointerConvertible, p2: interop.PointerConvertible) => void | null
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
declare class __ABMultiValue {
|
|
354
|
+
constructor(init?: __ABMultiValue)
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
declare class __ABAddressBookRef {
|
|
358
|
+
constructor(init?: __ABAddressBookRef)
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
declare class __ABSearchElementRef {
|
|
362
|
+
constructor(init?: __ABSearchElementRef)
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
declare class __ABGroup {
|
|
366
|
+
constructor(init?: __ABGroup)
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
declare class __ABPerson {
|
|
370
|
+
constructor(init?: __ABPerson)
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
declare function ABLocalizedPropertyOrLabel(propertyOrLabel: string): string
|
|
374
|
+
|
|
375
|
+
declare function ABGetSharedAddressBook(): interop.Object
|
|
376
|
+
|
|
377
|
+
declare function ABCopyArrayOfMatchingRecords(
|
|
378
|
+
addressBook: interop.Object,
|
|
379
|
+
search: interop.Object,
|
|
380
|
+
): interop.Object
|
|
381
|
+
|
|
382
|
+
declare function ABSave(addressBook: interop.Object): boolean
|
|
383
|
+
|
|
384
|
+
declare function ABHasUnsavedChanges(addressBook: interop.Object): boolean
|
|
385
|
+
|
|
386
|
+
declare function ABGetMe(addressBook: interop.Object): interop.Object
|
|
387
|
+
|
|
388
|
+
declare function ABSetMe(addressBook: interop.Object, moi: interop.Object): void
|
|
389
|
+
|
|
390
|
+
declare function ABCopyRecordTypeFromUniqueId(
|
|
391
|
+
addressBook: interop.Object,
|
|
392
|
+
uniqueId: interop.Object,
|
|
393
|
+
): interop.Object
|
|
394
|
+
|
|
395
|
+
declare function ABAddPropertiesAndTypes(
|
|
396
|
+
addressBook: interop.Object,
|
|
397
|
+
recordType: interop.Object,
|
|
398
|
+
propertiesAndTypes: interop.Object,
|
|
399
|
+
): number
|
|
400
|
+
|
|
401
|
+
declare function ABRemoveProperties(
|
|
402
|
+
addressBook: interop.Object,
|
|
403
|
+
recordType: interop.Object,
|
|
404
|
+
properties: interop.Object,
|
|
405
|
+
): number
|
|
406
|
+
|
|
407
|
+
declare function ABCopyArrayOfPropertiesForRecordType(
|
|
408
|
+
addressBook: interop.Object,
|
|
409
|
+
recordType: interop.Object,
|
|
410
|
+
): interop.Object
|
|
411
|
+
|
|
412
|
+
declare function ABTypeOfProperty(
|
|
413
|
+
addressBook: interop.Object,
|
|
414
|
+
recordType: interop.Object,
|
|
415
|
+
property: interop.Object,
|
|
416
|
+
): number
|
|
417
|
+
|
|
418
|
+
declare function ABCopyRecordForUniqueId(
|
|
419
|
+
addressBook: interop.Object,
|
|
420
|
+
uniqueId: interop.Object,
|
|
421
|
+
): interop.Object
|
|
422
|
+
|
|
423
|
+
declare function ABAddRecord(addressBook: interop.Object, record: interop.Object): boolean
|
|
424
|
+
|
|
425
|
+
declare function ABRemoveRecord(addressBook: interop.Object, record: interop.Object): boolean
|
|
426
|
+
|
|
427
|
+
declare function ABCopyArrayOfAllPeople(addressBook: interop.Object): interop.Object
|
|
428
|
+
|
|
429
|
+
declare function ABCopyArrayOfAllGroups(addressBook: interop.Object): interop.Object
|
|
430
|
+
|
|
431
|
+
declare function ABRecordCreateCopy(record: interop.Object): interop.Object
|
|
432
|
+
|
|
433
|
+
declare function ABRecordCopyRecordType(record: interop.Object): interop.Object
|
|
434
|
+
|
|
435
|
+
declare function ABRecordCopyValue(record: interop.Object, property: interop.Object): interop.Object
|
|
436
|
+
|
|
437
|
+
declare function ABRecordSetValue(
|
|
438
|
+
record: interop.Object,
|
|
439
|
+
property: interop.Object,
|
|
440
|
+
value: interop.Object,
|
|
441
|
+
): boolean
|
|
442
|
+
|
|
443
|
+
declare function ABRecordRemoveValue(record: interop.Object, property: interop.Object): boolean
|
|
444
|
+
|
|
445
|
+
declare function ABRecordIsReadOnly(record: interop.Object): boolean
|
|
446
|
+
|
|
447
|
+
declare function ABRecordCopyUniqueId(record: interop.Object): interop.Object
|
|
448
|
+
|
|
449
|
+
declare function ABPersonCreate(): interop.Object
|
|
450
|
+
|
|
451
|
+
declare function ABPersonCreateWithVCardRepresentation(vCard: interop.Object): interop.Object
|
|
452
|
+
|
|
453
|
+
declare function ABPersonCopyVCardRepresentation(person: interop.Object): interop.Object
|
|
454
|
+
|
|
455
|
+
declare function ABPersonCopyParentGroups(person: interop.Object): interop.Object
|
|
456
|
+
|
|
457
|
+
declare function ABPersonCreateSearchElement(
|
|
458
|
+
property: interop.Object,
|
|
459
|
+
label: interop.Object,
|
|
460
|
+
key: interop.Object,
|
|
461
|
+
value: interop.Object,
|
|
462
|
+
comparison: number,
|
|
463
|
+
): interop.Object
|
|
464
|
+
|
|
465
|
+
declare function ABGroupCreate(): interop.Object
|
|
466
|
+
|
|
467
|
+
declare function ABGroupCopyArrayOfAllMembers(group: interop.Object): interop.Object
|
|
468
|
+
|
|
469
|
+
declare function ABGroupAddMember(group: interop.Object, personToAdd: interop.Object): boolean
|
|
470
|
+
|
|
471
|
+
declare function ABGroupRemoveMember(group: interop.Object, personToRemove: interop.Object): boolean
|
|
472
|
+
|
|
473
|
+
declare function ABGroupCopyArrayOfAllSubgroups(group: interop.Object): interop.Object
|
|
474
|
+
|
|
475
|
+
declare function ABGroupAddGroup(group: interop.Object, groupToAdd: interop.Object): boolean
|
|
476
|
+
|
|
477
|
+
declare function ABGroupRemoveGroup(group: interop.Object, groupToRemove: interop.Object): boolean
|
|
478
|
+
|
|
479
|
+
declare function ABGroupCopyParentGroups(group: interop.Object): interop.Object
|
|
480
|
+
|
|
481
|
+
declare function ABGroupSetDistributionIdentifier(
|
|
482
|
+
group: interop.Object,
|
|
483
|
+
person: interop.Object,
|
|
484
|
+
property: interop.Object,
|
|
485
|
+
identifier: interop.Object,
|
|
486
|
+
): boolean
|
|
487
|
+
|
|
488
|
+
declare function ABGroupCopyDistributionIdentifier(
|
|
489
|
+
group: interop.Object,
|
|
490
|
+
person: interop.Object,
|
|
491
|
+
property: interop.Object,
|
|
492
|
+
): interop.Object
|
|
493
|
+
|
|
494
|
+
declare function ABGroupCreateSearchElement(
|
|
495
|
+
property: interop.Object,
|
|
496
|
+
label: interop.Object,
|
|
497
|
+
key: interop.Object,
|
|
498
|
+
value: interop.Object,
|
|
499
|
+
comparison: number,
|
|
500
|
+
): interop.Object
|
|
501
|
+
|
|
502
|
+
declare function ABSearchElementCreateWithConjunction(
|
|
503
|
+
conjunction: number,
|
|
504
|
+
childrenSearchElement: interop.Object,
|
|
505
|
+
): interop.Object
|
|
506
|
+
|
|
507
|
+
declare function ABSearchElementMatchesRecord(
|
|
508
|
+
searchElement: interop.Object,
|
|
509
|
+
record: interop.Object,
|
|
510
|
+
): boolean
|
|
511
|
+
|
|
512
|
+
declare function ABMultiValueCreate(): interop.Object
|
|
513
|
+
|
|
514
|
+
declare function ABMultiValueCount(multiValue: interop.Object): number
|
|
515
|
+
|
|
516
|
+
declare function ABMultiValueCopyValueAtIndex(
|
|
517
|
+
multiValue: interop.Object,
|
|
518
|
+
index: number,
|
|
519
|
+
): interop.Object
|
|
520
|
+
|
|
521
|
+
declare function ABMultiValueCopyLabelAtIndex(
|
|
522
|
+
multiValue: interop.Object,
|
|
523
|
+
index: number,
|
|
524
|
+
): interop.Object
|
|
525
|
+
|
|
526
|
+
declare function ABMultiValueCopyPrimaryIdentifier(multiValue: interop.Object): interop.Object
|
|
527
|
+
|
|
528
|
+
declare function ABMultiValueIndexForIdentifier(
|
|
529
|
+
multiValue: interop.Object,
|
|
530
|
+
identifier: interop.Object,
|
|
531
|
+
): number
|
|
532
|
+
|
|
533
|
+
declare function ABMultiValueCopyIdentifierAtIndex(
|
|
534
|
+
multiValue: interop.Object,
|
|
535
|
+
index: number,
|
|
536
|
+
): interop.Object
|
|
537
|
+
|
|
538
|
+
declare function ABMultiValuePropertyType(multiValue: interop.Object): number
|
|
539
|
+
|
|
540
|
+
declare function ABMultiValueCreateCopy(multiValue: interop.Object): interop.Object
|
|
541
|
+
|
|
542
|
+
declare function ABMultiValueCreateMutable(): interop.Object
|
|
543
|
+
|
|
544
|
+
declare function ABMultiValueAdd(
|
|
545
|
+
multiValue: interop.Object,
|
|
546
|
+
value: interop.Object,
|
|
547
|
+
label: interop.Object,
|
|
548
|
+
outIdentifier: interop.PointerConvertible,
|
|
549
|
+
): boolean
|
|
550
|
+
|
|
551
|
+
declare function ABMultiValueInsert(
|
|
552
|
+
multiValue: interop.Object,
|
|
553
|
+
value: interop.Object,
|
|
554
|
+
label: interop.Object,
|
|
555
|
+
index: number,
|
|
556
|
+
outIdentifier: interop.PointerConvertible,
|
|
557
|
+
): boolean
|
|
558
|
+
|
|
559
|
+
declare function ABMultiValueRemove(multiValue: interop.Object, index: number): boolean
|
|
560
|
+
|
|
561
|
+
declare function ABMultiValueReplaceValue(
|
|
562
|
+
multiValue: interop.Object,
|
|
563
|
+
value: interop.Object,
|
|
564
|
+
index: number,
|
|
565
|
+
): boolean
|
|
566
|
+
|
|
567
|
+
declare function ABMultiValueReplaceLabel(
|
|
568
|
+
multiValue: interop.Object,
|
|
569
|
+
label: interop.Object,
|
|
570
|
+
index: number,
|
|
571
|
+
): boolean
|
|
572
|
+
|
|
573
|
+
declare function ABMultiValueSetPrimaryIdentifier(
|
|
574
|
+
multiValue: interop.Object,
|
|
575
|
+
identifier: interop.Object,
|
|
576
|
+
): boolean
|
|
577
|
+
|
|
578
|
+
declare function ABMultiValueCreateMutableCopy(multiValue: interop.Object): interop.Object
|
|
579
|
+
|
|
580
|
+
declare function ABCopyLocalizedPropertyOrLabel(labelOrProperty: interop.Object): interop.Object
|
|
581
|
+
|
|
582
|
+
declare function ABCreateFormattedAddressFromDictionary(
|
|
583
|
+
addressBook: interop.Object,
|
|
584
|
+
address: interop.Object,
|
|
585
|
+
): interop.Object
|
|
586
|
+
|
|
587
|
+
declare function ABCopyDefaultCountryCode(addressBook: interop.Object): interop.Object
|
|
588
|
+
|
|
589
|
+
declare function ABPersonSetImageData(person: interop.Object, imageData: interop.Object): boolean
|
|
590
|
+
|
|
591
|
+
declare function ABPersonCopyImageData(person: interop.Object): interop.Object
|
|
592
|
+
|
|
593
|
+
declare function ABBeginLoadingImageDataForClient(
|
|
594
|
+
person: interop.Object,
|
|
595
|
+
callback: (p1: interop.PointerConvertible, p2: number, p3: interop.PointerConvertible) => void,
|
|
596
|
+
refcon: interop.PointerConvertible,
|
|
597
|
+
): number
|
|
598
|
+
|
|
599
|
+
declare function ABCancelLoadingImageDataForTag(tag: number): void
|
|
600
|
+
|
|
601
|
+
declare function ABPickerCreate(): interop.Object
|
|
602
|
+
|
|
603
|
+
declare function ABPickerSetFrame(
|
|
604
|
+
inPicker: interop.Object,
|
|
605
|
+
inFrame: interop.PointerConvertible,
|
|
606
|
+
): void
|
|
607
|
+
|
|
608
|
+
declare function ABPickerGetFrame(
|
|
609
|
+
inPicker: interop.Object,
|
|
610
|
+
outFrame: interop.PointerConvertible,
|
|
611
|
+
): void
|
|
612
|
+
|
|
613
|
+
declare function ABPickerSetVisibility(inPicker: interop.Object, visible: boolean): void
|
|
614
|
+
|
|
615
|
+
declare function ABPickerIsVisible(inPicker: interop.Object): boolean
|
|
616
|
+
|
|
617
|
+
declare function ABPickerGetAttributes(inPicker: interop.Object): number
|
|
618
|
+
|
|
619
|
+
declare function ABPickerChangeAttributes(
|
|
620
|
+
inPicker: interop.Object,
|
|
621
|
+
inAttributesToSet: number,
|
|
622
|
+
inAttributesToClear: number,
|
|
623
|
+
): void
|
|
624
|
+
|
|
625
|
+
declare function ABPickerAddProperty(inPicker: interop.Object, inProperty: interop.Object): void
|
|
626
|
+
|
|
627
|
+
declare function ABPickerRemoveProperty(inPicker: interop.Object, inProperty: interop.Object): void
|
|
628
|
+
|
|
629
|
+
declare function ABPickerCopyProperties(inPicker: interop.Object): interop.Object
|
|
630
|
+
|
|
631
|
+
declare function ABPickerSetColumnTitle(
|
|
632
|
+
inPicker: interop.Object,
|
|
633
|
+
inTitle: interop.Object,
|
|
634
|
+
inProperty: interop.Object,
|
|
635
|
+
): void
|
|
636
|
+
|
|
637
|
+
declare function ABPickerCopyColumnTitle(
|
|
638
|
+
inPicker: interop.Object,
|
|
639
|
+
inProperty: interop.Object,
|
|
640
|
+
): interop.Object
|
|
641
|
+
|
|
642
|
+
declare function ABPickerSetDisplayedProperty(
|
|
643
|
+
inPicker: interop.Object,
|
|
644
|
+
inProperty: interop.Object,
|
|
645
|
+
): void
|
|
646
|
+
|
|
647
|
+
declare function ABPickerCopyDisplayedProperty(inPicker: interop.Object): interop.Object
|
|
648
|
+
|
|
649
|
+
declare function ABPickerCopySelectedGroups(inPicker: interop.Object): interop.Object
|
|
650
|
+
|
|
651
|
+
declare function ABPickerCopySelectedRecords(inPicker: interop.Object): interop.Object
|
|
652
|
+
|
|
653
|
+
declare function ABPickerCopySelectedIdentifiers(
|
|
654
|
+
inPicker: interop.Object,
|
|
655
|
+
inPerson: interop.Object,
|
|
656
|
+
): interop.Object
|
|
657
|
+
|
|
658
|
+
declare function ABPickerCopySelectedValues(inPicker: interop.Object): interop.Object
|
|
659
|
+
|
|
660
|
+
declare function ABPickerSelectGroup(
|
|
661
|
+
inPicker: interop.Object,
|
|
662
|
+
inGroup: interop.Object,
|
|
663
|
+
inExtendSelection: boolean,
|
|
664
|
+
): void
|
|
665
|
+
|
|
666
|
+
declare function ABPickerSelectRecord(
|
|
667
|
+
inPicker: interop.Object,
|
|
668
|
+
inRecord: interop.Object,
|
|
669
|
+
inExtendSelection: boolean,
|
|
670
|
+
): void
|
|
671
|
+
|
|
672
|
+
declare function ABPickerSelectIdentifier(
|
|
673
|
+
inPicker: interop.Object,
|
|
674
|
+
inPerson: interop.Object,
|
|
675
|
+
inIdentifier: interop.Object,
|
|
676
|
+
inExtendSelection: boolean,
|
|
677
|
+
): void
|
|
678
|
+
|
|
679
|
+
declare function ABPickerDeselectGroup(inPicker: interop.Object, inGroup: interop.Object): void
|
|
680
|
+
|
|
681
|
+
declare function ABPickerDeselectRecord(inPicker: interop.Object, inRecord: interop.Object): void
|
|
682
|
+
|
|
683
|
+
declare function ABPickerDeselectIdentifier(
|
|
684
|
+
inPicker: interop.Object,
|
|
685
|
+
inPerson: interop.Object,
|
|
686
|
+
inIdentifier: interop.Object,
|
|
687
|
+
): void
|
|
688
|
+
|
|
689
|
+
declare function ABPickerDeselectAll(inPicker: interop.Object): void
|
|
690
|
+
|
|
691
|
+
declare function ABPickerSetDelegate(
|
|
692
|
+
inPicker: interop.Object,
|
|
693
|
+
inDelegate: interop.PointerConvertible,
|
|
694
|
+
): void
|
|
695
|
+
|
|
696
|
+
declare function ABPickerGetDelegate(inPicker: interop.Object): interop.Pointer
|
|
697
|
+
|
|
698
|
+
declare function ABPickerClearSearchField(inPicker: interop.Object): void
|
|
699
|
+
|
|
700
|
+
declare function ABPickerEditInAddressBook(inPicker: interop.Object): void
|
|
701
|
+
|
|
702
|
+
declare function ABPickerSelectInAddressBook(inPicker: interop.Object): void
|
|
703
|
+
|
|
704
|
+
declare interface ABImageClient extends NSObjectProtocol {
|
|
705
|
+
consumeImageDataForTag(data: NSData, tag: number): void
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
declare class ABImageClient extends NativeObject implements ABImageClient {}
|
|
709
|
+
|
|
710
|
+
declare interface ABPersonPickerDelegate extends NSObjectProtocol {
|
|
711
|
+
personPickerDidChoosePersonPropertyIdentifier(
|
|
712
|
+
picker: ABPersonPicker,
|
|
713
|
+
person: ABPerson,
|
|
714
|
+
property: string,
|
|
715
|
+
identifier: string,
|
|
716
|
+
): void
|
|
717
|
+
|
|
718
|
+
personPickerDidClose?(picker: ABPersonPicker): void
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
declare class ABPersonPickerDelegate extends NativeObject implements ABPersonPickerDelegate {}
|
|
722
|
+
|
|
723
|
+
declare class ABPersonPicker extends NSObject {
|
|
724
|
+
get properties(): NSArray
|
|
725
|
+
set properties(value: NSArray<interop.Object> | Array<interop.Object>)
|
|
726
|
+
|
|
727
|
+
delegate: ABPersonPickerDelegate
|
|
728
|
+
|
|
729
|
+
showRelativeToRectOfViewPreferredEdge(
|
|
730
|
+
positioningRect: CGRect,
|
|
731
|
+
positioningView: NSView,
|
|
732
|
+
preferredEdge: interop.Enum<typeof NSRectEdge>,
|
|
733
|
+
): void
|
|
734
|
+
|
|
735
|
+
close(): void
|
|
736
|
+
}
|
|
737
|
+
|
|
738
|
+
declare class ABPeoplePickerView extends NSView {
|
|
739
|
+
accessoryView: NSView
|
|
740
|
+
|
|
741
|
+
valueSelectionBehavior: interop.Enum<typeof ABPeoplePickerSelectionBehavior>
|
|
742
|
+
|
|
743
|
+
allowsGroupSelection: boolean
|
|
744
|
+
|
|
745
|
+
allowsMultipleSelection: boolean
|
|
746
|
+
|
|
747
|
+
addProperty(property: string): void
|
|
748
|
+
|
|
749
|
+
removeProperty(property: string): void
|
|
750
|
+
|
|
751
|
+
properties(): NSArray
|
|
752
|
+
|
|
753
|
+
setColumnTitleForProperty(title: string, property: string): void
|
|
754
|
+
|
|
755
|
+
columnTitleForProperty(property: string): string
|
|
756
|
+
|
|
757
|
+
displayedProperty: string
|
|
758
|
+
|
|
759
|
+
autosaveName: string
|
|
760
|
+
|
|
761
|
+
readonly selectedGroups: NSArray
|
|
762
|
+
|
|
763
|
+
readonly selectedRecords: NSArray
|
|
764
|
+
|
|
765
|
+
selectedIdentifiersForPerson(person: ABPerson): NSArray
|
|
766
|
+
|
|
767
|
+
selectGroupByExtendingSelection(group: ABGroup, extend: boolean): void
|
|
768
|
+
|
|
769
|
+
selectRecordByExtendingSelection(record: ABRecord, extend: boolean): void
|
|
770
|
+
|
|
771
|
+
selectIdentifierForPersonByExtendingSelection(
|
|
772
|
+
identifier: string,
|
|
773
|
+
person: ABPerson,
|
|
774
|
+
extend: boolean,
|
|
775
|
+
): void
|
|
776
|
+
|
|
777
|
+
deselectGroup(group: ABGroup): void
|
|
778
|
+
|
|
779
|
+
deselectRecord(record: ABRecord): void
|
|
780
|
+
|
|
781
|
+
deselectIdentifierForPerson(identifier: string, person: ABPerson): void
|
|
782
|
+
|
|
783
|
+
deselectAll(sender: interop.Object): void
|
|
784
|
+
|
|
785
|
+
clearSearchField(sender: interop.Object): void
|
|
786
|
+
|
|
787
|
+
target: interop.Object
|
|
788
|
+
|
|
789
|
+
groupDoubleAction: string
|
|
790
|
+
|
|
791
|
+
nameDoubleAction: string
|
|
792
|
+
|
|
793
|
+
selectedValues(): NSArray
|
|
794
|
+
|
|
795
|
+
editInAddressBook(sender: interop.Object): void
|
|
796
|
+
|
|
797
|
+
selectInAddressBook(sender: interop.Object): void
|
|
798
|
+
}
|
|
799
|
+
|
|
800
|
+
declare class ABSearchElement extends NSObject {
|
|
801
|
+
static searchElementForConjunctionChildren(
|
|
802
|
+
conjuction: number,
|
|
803
|
+
children: NSArray<interop.Object> | Array<interop.Object>,
|
|
804
|
+
): ABSearchElement
|
|
805
|
+
|
|
806
|
+
matchesRecord(record: ABRecord): boolean
|
|
807
|
+
}
|
|
808
|
+
|
|
809
|
+
declare class ABMutableMultiValue extends ABMultiValue {
|
|
810
|
+
addValueWithLabel(value: interop.Object, label: string): string
|
|
811
|
+
|
|
812
|
+
insertValueWithLabelAtIndex(value: interop.Object, label: string, index: number): string
|
|
813
|
+
|
|
814
|
+
removeValueAndLabelAtIndex(index: number): boolean
|
|
815
|
+
|
|
816
|
+
replaceValueAtIndexWithValue(index: number, value: interop.Object): boolean
|
|
817
|
+
|
|
818
|
+
replaceLabelAtIndexWithLabel(index: number, label: string): boolean
|
|
819
|
+
|
|
820
|
+
setPrimaryIdentifier(identifier: string): boolean
|
|
821
|
+
}
|
|
822
|
+
|
|
823
|
+
declare class ABAddressBook extends NSObject {
|
|
824
|
+
static sharedAddressBook(): ABAddressBook
|
|
825
|
+
|
|
826
|
+
static addressBook(): ABAddressBook
|
|
827
|
+
|
|
828
|
+
recordsMatchingSearchElement(search: ABSearchElement): NSArray
|
|
829
|
+
|
|
830
|
+
save(): boolean
|
|
831
|
+
|
|
832
|
+
saveAndReturnError(error: interop.PointerConvertible): boolean
|
|
833
|
+
|
|
834
|
+
hasUnsavedChanges(): boolean
|
|
835
|
+
|
|
836
|
+
me(): ABPerson
|
|
837
|
+
|
|
838
|
+
setMe(moi: ABPerson): void
|
|
839
|
+
|
|
840
|
+
recordForUniqueId(uniqueId: string): ABRecord
|
|
841
|
+
|
|
842
|
+
addRecordError(record: ABRecord, error: interop.PointerConvertible): boolean
|
|
843
|
+
|
|
844
|
+
addRecord(record: ABRecord): boolean
|
|
845
|
+
|
|
846
|
+
removeRecordError(record: ABRecord, error: interop.PointerConvertible): boolean
|
|
847
|
+
|
|
848
|
+
removeRecord(record: ABRecord): boolean
|
|
849
|
+
|
|
850
|
+
people(): NSArray
|
|
851
|
+
|
|
852
|
+
groups(): NSArray
|
|
853
|
+
|
|
854
|
+
recordClassFromUniqueId(uniqueId: string): string
|
|
855
|
+
|
|
856
|
+
formattedAddressFromDictionary(
|
|
857
|
+
address: NSDictionary<interop.Object, interop.Object> | Record<interop.Object, interop.Object>,
|
|
858
|
+
): NSAttributedString
|
|
859
|
+
|
|
860
|
+
defaultCountryCode(): string
|
|
861
|
+
|
|
862
|
+
defaultNameOrdering(): number
|
|
863
|
+
}
|
|
864
|
+
|
|
865
|
+
declare class ABPerson extends ABRecord {
|
|
866
|
+
parentGroups(): NSArray
|
|
867
|
+
|
|
868
|
+
linkedPeople(): NSArray
|
|
869
|
+
|
|
870
|
+
static addPropertiesAndTypes(
|
|
871
|
+
properties:
|
|
872
|
+
| NSDictionary<interop.Object, interop.Object>
|
|
873
|
+
| Record<interop.Object, interop.Object>,
|
|
874
|
+
): number
|
|
875
|
+
|
|
876
|
+
static removeProperties(properties: NSArray<interop.Object> | Array<interop.Object>): number
|
|
877
|
+
|
|
878
|
+
static properties(): NSArray
|
|
879
|
+
|
|
880
|
+
static typeOfProperty(property: string): number
|
|
881
|
+
|
|
882
|
+
static searchElementForPropertyLabelKeyValueComparison(
|
|
883
|
+
property: string,
|
|
884
|
+
label: string,
|
|
885
|
+
key: string,
|
|
886
|
+
value: interop.Object,
|
|
887
|
+
comparison: number,
|
|
888
|
+
): ABSearchElement
|
|
889
|
+
|
|
890
|
+
initWithVCardRepresentation(vCardData: NSData): this
|
|
891
|
+
|
|
892
|
+
vCardRepresentation(): NSData
|
|
893
|
+
|
|
894
|
+
setImageData(data: NSData): boolean
|
|
895
|
+
|
|
896
|
+
imageData(): NSData
|
|
897
|
+
|
|
898
|
+
beginLoadingImageDataForClient(client: ABImageClient): number
|
|
899
|
+
|
|
900
|
+
static cancelLoadingImageDataForTag(tag: number): void
|
|
901
|
+
}
|
|
902
|
+
|
|
903
|
+
declare class ABMultiValue
|
|
904
|
+
extends NSObject
|
|
905
|
+
implements NSCopying, NSMutableCopying, NSFastEnumeration
|
|
906
|
+
{
|
|
907
|
+
count(): number
|
|
908
|
+
|
|
909
|
+
valueAtIndex(index: number): interop.Object
|
|
910
|
+
|
|
911
|
+
labelAtIndex(index: number): string
|
|
912
|
+
|
|
913
|
+
identifierAtIndex(index: number): string
|
|
914
|
+
|
|
915
|
+
indexForIdentifier(identifier: string): number
|
|
916
|
+
|
|
917
|
+
primaryIdentifier(): string
|
|
918
|
+
|
|
919
|
+
propertyType(): number
|
|
920
|
+
|
|
921
|
+
valueForIdentifier(identifier: string): interop.Object
|
|
922
|
+
|
|
923
|
+
labelForIdentifier(identifier: string): interop.Object
|
|
924
|
+
|
|
925
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
926
|
+
|
|
927
|
+
mutableCopyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
928
|
+
|
|
929
|
+
countByEnumeratingWithStateObjectsCount(
|
|
930
|
+
state: interop.PointerConvertible,
|
|
931
|
+
buffer: interop.PointerConvertible,
|
|
932
|
+
len: number,
|
|
933
|
+
): number
|
|
934
|
+
|
|
935
|
+
readonly [Symbol.iterator]: () => Iterator<any>
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
declare class ABGroup extends ABRecord {
|
|
939
|
+
members(): NSArray
|
|
940
|
+
|
|
941
|
+
addMember(person: ABPerson): boolean
|
|
942
|
+
|
|
943
|
+
removeMember(person: ABPerson): boolean
|
|
944
|
+
|
|
945
|
+
subgroups(): NSArray
|
|
946
|
+
|
|
947
|
+
addSubgroup(group: ABGroup): boolean
|
|
948
|
+
|
|
949
|
+
removeSubgroup(group: ABGroup): boolean
|
|
950
|
+
|
|
951
|
+
parentGroups(): NSArray
|
|
952
|
+
|
|
953
|
+
setDistributionIdentifierForPropertyPerson(
|
|
954
|
+
identifier: string,
|
|
955
|
+
property: string,
|
|
956
|
+
person: ABPerson,
|
|
957
|
+
): boolean
|
|
958
|
+
|
|
959
|
+
distributionIdentifierForPropertyPerson(property: string, person: ABPerson): string
|
|
960
|
+
|
|
961
|
+
static addPropertiesAndTypes(
|
|
962
|
+
properties:
|
|
963
|
+
| NSDictionary<interop.Object, interop.Object>
|
|
964
|
+
| Record<interop.Object, interop.Object>,
|
|
965
|
+
): number
|
|
966
|
+
|
|
967
|
+
static removeProperties(properties: NSArray<interop.Object> | Array<interop.Object>): number
|
|
968
|
+
|
|
969
|
+
static properties(): NSArray
|
|
970
|
+
|
|
971
|
+
static typeOfProperty(property: string): number
|
|
972
|
+
|
|
973
|
+
static searchElementForPropertyLabelKeyValueComparison(
|
|
974
|
+
property: string,
|
|
975
|
+
label: string,
|
|
976
|
+
key: string,
|
|
977
|
+
value: interop.Object,
|
|
978
|
+
comparison: number,
|
|
979
|
+
): ABSearchElement
|
|
980
|
+
}
|
|
981
|
+
|
|
982
|
+
declare class ABPersonView extends NSView {
|
|
983
|
+
editing: boolean
|
|
984
|
+
|
|
985
|
+
person: ABPerson
|
|
986
|
+
|
|
987
|
+
shouldShowLinkedPeople: boolean
|
|
988
|
+
}
|
|
989
|
+
|
|
990
|
+
declare class ABRecord extends NSObject {
|
|
991
|
+
init(): this
|
|
992
|
+
|
|
993
|
+
initWithAddressBook(addressBook: ABAddressBook): this
|
|
994
|
+
|
|
995
|
+
valueForProperty(property: string): interop.Object
|
|
996
|
+
|
|
997
|
+
setValueForPropertyError(
|
|
998
|
+
value: interop.Object,
|
|
999
|
+
property: string,
|
|
1000
|
+
error: interop.PointerConvertible,
|
|
1001
|
+
): boolean
|
|
1002
|
+
|
|
1003
|
+
setValueForProperty(value: interop.Object, property: string): boolean
|
|
1004
|
+
|
|
1005
|
+
removeValueForProperty(property: string): boolean
|
|
1006
|
+
|
|
1007
|
+
isReadOnly(): boolean
|
|
1008
|
+
|
|
1009
|
+
readonly uniqueId: string
|
|
1010
|
+
|
|
1011
|
+
readonly displayName: string
|
|
1012
|
+
}
|