@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,264 @@
|
|
|
1
|
+
/// <reference types="@nativescript/objc-node-api" />
|
|
2
|
+
/// <reference path="./Runtime.d.ts" />
|
|
3
|
+
/// <reference path="./AppKit.d.ts" />
|
|
4
|
+
|
|
5
|
+
declare const IMKCandidatesOpacityAttributeName: string
|
|
6
|
+
|
|
7
|
+
declare const kIMKLocateCandidatesRightHint: number
|
|
8
|
+
|
|
9
|
+
declare const kIMKLocateCandidatesBelowHint: number
|
|
10
|
+
|
|
11
|
+
declare const kIMKLocateCandidatesAboveHint: number
|
|
12
|
+
|
|
13
|
+
declare const kIMKSingleColumnScrollingCandidatePanel: number
|
|
14
|
+
|
|
15
|
+
declare const IMKDelegateClass: string
|
|
16
|
+
|
|
17
|
+
declare const IMKControllerClass: string
|
|
18
|
+
|
|
19
|
+
declare const IMKModeDictionary: string
|
|
20
|
+
|
|
21
|
+
declare const kIMKSingleRowSteppingCandidatePanel: number
|
|
22
|
+
|
|
23
|
+
declare const kIMKAnnotation: number
|
|
24
|
+
|
|
25
|
+
declare const kIMKMain: number
|
|
26
|
+
|
|
27
|
+
declare const IMKCandidatesSendServerKeyEventFirst: string
|
|
28
|
+
|
|
29
|
+
declare const kIMKCommandMenuItemName: string
|
|
30
|
+
|
|
31
|
+
declare const kIMKSubList: number
|
|
32
|
+
|
|
33
|
+
declare const kIMKCommandClientName: string
|
|
34
|
+
|
|
35
|
+
declare const kIMKLocateCandidatesLeftHint: number
|
|
36
|
+
|
|
37
|
+
declare const kIMKScrollingGridCandidatePanel: number
|
|
38
|
+
|
|
39
|
+
declare interface IMKStateSetting {
|
|
40
|
+
activateServer(sender: interop.Object): void
|
|
41
|
+
|
|
42
|
+
deactivateServer(sender: interop.Object): void
|
|
43
|
+
|
|
44
|
+
valueForTagClient(tag: number, sender: interop.Object): interop.Object
|
|
45
|
+
|
|
46
|
+
setValueForTagClient(value: interop.Object, tag: number, sender: interop.Object): void
|
|
47
|
+
|
|
48
|
+
modes(sender: interop.Object): NSDictionary
|
|
49
|
+
|
|
50
|
+
recognizedEvents(sender: interop.Object): number
|
|
51
|
+
|
|
52
|
+
showPreferences(sender: interop.Object): void
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
declare class IMKStateSetting extends NativeObject implements IMKStateSetting {}
|
|
56
|
+
|
|
57
|
+
declare interface IMKMouseHandling {
|
|
58
|
+
mouseDownOnCharacterIndexCoordinateWithModifierContinueTrackingClient(
|
|
59
|
+
index: number,
|
|
60
|
+
point: CGPoint,
|
|
61
|
+
flags: number,
|
|
62
|
+
keepTracking: interop.PointerConvertible,
|
|
63
|
+
sender: interop.Object,
|
|
64
|
+
): boolean
|
|
65
|
+
|
|
66
|
+
mouseUpOnCharacterIndexCoordinateWithModifierClient(
|
|
67
|
+
index: number,
|
|
68
|
+
point: CGPoint,
|
|
69
|
+
flags: number,
|
|
70
|
+
sender: interop.Object,
|
|
71
|
+
): boolean
|
|
72
|
+
|
|
73
|
+
mouseMovedOnCharacterIndexCoordinateWithModifierClient(
|
|
74
|
+
index: number,
|
|
75
|
+
point: CGPoint,
|
|
76
|
+
flags: number,
|
|
77
|
+
sender: interop.Object,
|
|
78
|
+
): boolean
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
declare class IMKMouseHandling extends NativeObject implements IMKMouseHandling {}
|
|
82
|
+
|
|
83
|
+
declare class IMKServer extends NSObject implements IMKServerProxy {
|
|
84
|
+
initWithNameBundleIdentifier(name: string, bundleIdentifier: string): this
|
|
85
|
+
|
|
86
|
+
initWithNameControllerClassDelegateClass(
|
|
87
|
+
name: string,
|
|
88
|
+
controllerClassID: interop.PointerConvertible,
|
|
89
|
+
delegateClassID: interop.PointerConvertible,
|
|
90
|
+
): this
|
|
91
|
+
|
|
92
|
+
bundle(): NSBundle
|
|
93
|
+
|
|
94
|
+
paletteWillTerminate(): boolean
|
|
95
|
+
|
|
96
|
+
lastKeyEventWasDeadKey(): boolean
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
declare class IMKInputController extends NSObject implements IMKStateSetting, IMKMouseHandling {
|
|
100
|
+
initWithServerDelegateClient(
|
|
101
|
+
server: IMKServer,
|
|
102
|
+
delegate: interop.Object,
|
|
103
|
+
inputClient: interop.Object,
|
|
104
|
+
): this
|
|
105
|
+
|
|
106
|
+
updateComposition(): void
|
|
107
|
+
|
|
108
|
+
cancelComposition(): void
|
|
109
|
+
|
|
110
|
+
compositionAttributesAtRange(range: _NSRange): NSMutableDictionary
|
|
111
|
+
|
|
112
|
+
selectionRange(): _NSRange
|
|
113
|
+
|
|
114
|
+
replacementRange(): _NSRange
|
|
115
|
+
|
|
116
|
+
markForStyleAtRange(style: number, range: _NSRange): NSDictionary
|
|
117
|
+
|
|
118
|
+
doCommandBySelectorCommandDictionary(
|
|
119
|
+
aSelector: string,
|
|
120
|
+
infoDictionary:
|
|
121
|
+
| NSDictionary<interop.Object, interop.Object>
|
|
122
|
+
| Record<interop.Object, interop.Object>,
|
|
123
|
+
): void
|
|
124
|
+
|
|
125
|
+
hidePalettes(): void
|
|
126
|
+
|
|
127
|
+
menu(): NSMenu
|
|
128
|
+
|
|
129
|
+
delegate(): interop.Object
|
|
130
|
+
|
|
131
|
+
setDelegate(newDelegate: interop.Object): void
|
|
132
|
+
|
|
133
|
+
server(): IMKServer
|
|
134
|
+
|
|
135
|
+
client(): IMKTextInput
|
|
136
|
+
|
|
137
|
+
inputControllerWillClose(): void
|
|
138
|
+
|
|
139
|
+
annotationSelectedForCandidate(
|
|
140
|
+
annotationString: NSAttributedString,
|
|
141
|
+
candidateString: NSAttributedString,
|
|
142
|
+
): void
|
|
143
|
+
|
|
144
|
+
candidateSelectionChanged(candidateString: NSAttributedString): void
|
|
145
|
+
|
|
146
|
+
candidateSelected(candidateString: NSAttributedString): void
|
|
147
|
+
|
|
148
|
+
activateServer(sender: interop.Object): void
|
|
149
|
+
|
|
150
|
+
deactivateServer(sender: interop.Object): void
|
|
151
|
+
|
|
152
|
+
valueForTagClient(tag: number, sender: interop.Object): interop.Object
|
|
153
|
+
|
|
154
|
+
setValueForTagClient(value: interop.Object, tag: number, sender: interop.Object): void
|
|
155
|
+
|
|
156
|
+
modes(sender: interop.Object): NSDictionary
|
|
157
|
+
|
|
158
|
+
recognizedEvents(sender: interop.Object): number
|
|
159
|
+
|
|
160
|
+
showPreferences(sender: interop.Object): void
|
|
161
|
+
|
|
162
|
+
mouseDownOnCharacterIndexCoordinateWithModifierContinueTrackingClient(
|
|
163
|
+
index: number,
|
|
164
|
+
point: CGPoint,
|
|
165
|
+
flags: number,
|
|
166
|
+
keepTracking: interop.PointerConvertible,
|
|
167
|
+
sender: interop.Object,
|
|
168
|
+
): boolean
|
|
169
|
+
|
|
170
|
+
mouseUpOnCharacterIndexCoordinateWithModifierClient(
|
|
171
|
+
index: number,
|
|
172
|
+
point: CGPoint,
|
|
173
|
+
flags: number,
|
|
174
|
+
sender: interop.Object,
|
|
175
|
+
): boolean
|
|
176
|
+
|
|
177
|
+
mouseMovedOnCharacterIndexCoordinateWithModifierClient(
|
|
178
|
+
index: number,
|
|
179
|
+
point: CGPoint,
|
|
180
|
+
flags: number,
|
|
181
|
+
sender: interop.Object,
|
|
182
|
+
): boolean
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
declare class IMKCandidates extends NSResponder {
|
|
186
|
+
initWithServerPanelType(server: IMKServer, panelType: number): this
|
|
187
|
+
|
|
188
|
+
initWithServerPanelTypeStyleType(server: IMKServer, panelType: number, style: number): this
|
|
189
|
+
|
|
190
|
+
panelType(): number
|
|
191
|
+
|
|
192
|
+
setPanelType(panelType: number): void
|
|
193
|
+
|
|
194
|
+
show(locationHint: number): void
|
|
195
|
+
|
|
196
|
+
hide(): void
|
|
197
|
+
|
|
198
|
+
isVisible(): boolean
|
|
199
|
+
|
|
200
|
+
updateCandidates(): void
|
|
201
|
+
|
|
202
|
+
showAnnotation(annotationString: NSAttributedString): void
|
|
203
|
+
|
|
204
|
+
showSublistSubListDelegate(
|
|
205
|
+
candidates: NSArray<interop.Object> | Array<interop.Object>,
|
|
206
|
+
delegate: interop.Object,
|
|
207
|
+
): void
|
|
208
|
+
|
|
209
|
+
candidateFrame(): CGRect
|
|
210
|
+
|
|
211
|
+
setSelectionKeys(keyCodes: NSArray<interop.Object> | Array<interop.Object>): void
|
|
212
|
+
|
|
213
|
+
selectionKeys(): NSArray
|
|
214
|
+
|
|
215
|
+
setSelectionKeysKeylayout(layout: interop.Object): void
|
|
216
|
+
|
|
217
|
+
selectionKeysKeylayout(): interop.Object
|
|
218
|
+
|
|
219
|
+
setAttributes(
|
|
220
|
+
attributes:
|
|
221
|
+
| NSDictionary<interop.Object, interop.Object>
|
|
222
|
+
| Record<interop.Object, interop.Object>,
|
|
223
|
+
): void
|
|
224
|
+
|
|
225
|
+
attributes(): NSDictionary
|
|
226
|
+
|
|
227
|
+
setDismissesAutomatically(flag: boolean): void
|
|
228
|
+
|
|
229
|
+
dismissesAutomatically(): boolean
|
|
230
|
+
|
|
231
|
+
selectedCandidate(): number
|
|
232
|
+
|
|
233
|
+
setCandidateFrameTopLeft(point: CGPoint): void
|
|
234
|
+
|
|
235
|
+
showChild(): void
|
|
236
|
+
|
|
237
|
+
hideChild(): void
|
|
238
|
+
|
|
239
|
+
attachChildToCandidateType(
|
|
240
|
+
child: IMKCandidates,
|
|
241
|
+
candidateIdentifier: number,
|
|
242
|
+
theType: number,
|
|
243
|
+
): void
|
|
244
|
+
|
|
245
|
+
detachChild(candidateIdentifier: number): void
|
|
246
|
+
|
|
247
|
+
setCandidateData(candidatesArray: NSArray<interop.Object> | Array<interop.Object>): void
|
|
248
|
+
|
|
249
|
+
selectCandidateWithIdentifier(candidateIdentifier: number): boolean
|
|
250
|
+
|
|
251
|
+
selectCandidate(candidateIdentifier: number): void
|
|
252
|
+
|
|
253
|
+
showCandidates(): void
|
|
254
|
+
|
|
255
|
+
candidateStringIdentifier(candidateString: interop.Object): number
|
|
256
|
+
|
|
257
|
+
selectedCandidateString(): NSAttributedString
|
|
258
|
+
|
|
259
|
+
candidateIdentifierAtLineNumber(lineNumber: number): number
|
|
260
|
+
|
|
261
|
+
lineNumberForCandidateWithIdentifier(candidateIdentifier: number): number
|
|
262
|
+
|
|
263
|
+
clearSelection(): void
|
|
264
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
/// <reference types="@nativescript/objc-node-api" />
|
|
2
|
+
/// <reference path="./Runtime.d.ts" />
|
|
3
|
+
|
|
4
|
+
declare const InstallerState_Choice_CustomLocation: string
|
|
5
|
+
|
|
6
|
+
declare const InstallerState_Choice_Identifier: string
|
|
7
|
+
|
|
8
|
+
declare const InstallerState_Choice_Installed: string
|
|
9
|
+
|
|
10
|
+
declare const InstallerSectionDirection: {
|
|
11
|
+
Forward: 0
|
|
12
|
+
Backward: 1
|
|
13
|
+
Undefined: 2
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
declare class InstallerPane_Private {
|
|
17
|
+
constructor(init?: InstallerPane_Private)
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
declare class InstallerState_Private {
|
|
21
|
+
constructor(init?: InstallerState_Private)
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
declare class InstallerSection_Private {
|
|
25
|
+
constructor(init?: InstallerSection_Private)
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
declare class InstallerSection extends NSObject {
|
|
29
|
+
readonly bundle: NSBundle
|
|
30
|
+
|
|
31
|
+
readonly title: string
|
|
32
|
+
|
|
33
|
+
readonly firstPane: InstallerPane
|
|
34
|
+
|
|
35
|
+
readonly shouldLoad: boolean
|
|
36
|
+
|
|
37
|
+
willLoadMainNib(): void
|
|
38
|
+
|
|
39
|
+
didLoadMainNib(): void
|
|
40
|
+
|
|
41
|
+
sharedDictionary(): NSMutableDictionary
|
|
42
|
+
|
|
43
|
+
readonly installerState: InstallerState
|
|
44
|
+
|
|
45
|
+
readonly activePane: InstallerPane
|
|
46
|
+
|
|
47
|
+
gotoPane(pane: InstallerPane): boolean
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
declare class InstallerPane extends NSObject {
|
|
51
|
+
contentView: NSView
|
|
52
|
+
|
|
53
|
+
initialKeyView: NSView
|
|
54
|
+
|
|
55
|
+
firstKeyView: NSView
|
|
56
|
+
|
|
57
|
+
lastKeyView: NSView
|
|
58
|
+
|
|
59
|
+
nextPane: InstallerPane
|
|
60
|
+
|
|
61
|
+
initWithSection(parent: interop.Object): this
|
|
62
|
+
|
|
63
|
+
readonly title: string
|
|
64
|
+
|
|
65
|
+
readonly section: InstallerSection
|
|
66
|
+
|
|
67
|
+
willEnterPane(dir: interop.Enum<typeof InstallerSectionDirection>): void
|
|
68
|
+
|
|
69
|
+
didEnterPane(dir: interop.Enum<typeof InstallerSectionDirection>): void
|
|
70
|
+
|
|
71
|
+
shouldExitPane(dir: interop.Enum<typeof InstallerSectionDirection>): boolean
|
|
72
|
+
|
|
73
|
+
willExitPane(dir: interop.Enum<typeof InstallerSectionDirection>): void
|
|
74
|
+
|
|
75
|
+
didExitPane(dir: interop.Enum<typeof InstallerSectionDirection>): void
|
|
76
|
+
|
|
77
|
+
nextEnabled: boolean
|
|
78
|
+
|
|
79
|
+
previousEnabled: boolean
|
|
80
|
+
|
|
81
|
+
readonly gotoNextPane: boolean
|
|
82
|
+
|
|
83
|
+
readonly gotoPreviousPane: boolean
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
declare class InstallerState extends NSObject {
|
|
87
|
+
readonly licenseAgreed: boolean
|
|
88
|
+
|
|
89
|
+
readonly licenseAgreedLanguage: string
|
|
90
|
+
|
|
91
|
+
readonly targetVolumePath: string
|
|
92
|
+
|
|
93
|
+
readonly targetPath: string
|
|
94
|
+
|
|
95
|
+
readonly choiceDictionaries: NSArray
|
|
96
|
+
|
|
97
|
+
choiceDictionaryForIdentifier(choiceIdentifier: string): NSDictionary
|
|
98
|
+
|
|
99
|
+
readonly installStarted: boolean
|
|
100
|
+
|
|
101
|
+
readonly installSucceeded: boolean
|
|
102
|
+
}
|
|
@@ -0,0 +1,229 @@
|
|
|
1
|
+
/// <reference types="@nativescript/objc-node-api" />
|
|
2
|
+
/// <reference path="./Runtime.d.ts" />
|
|
3
|
+
|
|
4
|
+
declare const IMAVRunning: number
|
|
5
|
+
|
|
6
|
+
declare const IMAVRequested: number
|
|
7
|
+
|
|
8
|
+
declare const IMCapabilityVideoConference: string
|
|
9
|
+
|
|
10
|
+
declare const IMCapabilityAudioConference: string
|
|
11
|
+
|
|
12
|
+
declare const IMCapabilityFileSharing: string
|
|
13
|
+
|
|
14
|
+
declare const IMCapabilityFileTransfer: string
|
|
15
|
+
|
|
16
|
+
declare const IMPersonAVBusyKey: string
|
|
17
|
+
|
|
18
|
+
declare const IMPersonPictureDataKey: string
|
|
19
|
+
|
|
20
|
+
declare const IMPersonEmailKey: string
|
|
21
|
+
|
|
22
|
+
declare const IMPersonLastNameKey: string
|
|
23
|
+
|
|
24
|
+
declare const IMPersonFirstNameKey: string
|
|
25
|
+
|
|
26
|
+
declare const IMPersonIdleSinceKey: string
|
|
27
|
+
|
|
28
|
+
declare const IMPersonStatusMessageKey: string
|
|
29
|
+
|
|
30
|
+
declare const IMPersonStatusKey: string
|
|
31
|
+
|
|
32
|
+
declare const IMPersonScreenNameKey: string
|
|
33
|
+
|
|
34
|
+
declare const IMPersonStatusNoStatus: number
|
|
35
|
+
|
|
36
|
+
declare const IMPersonStatusAway: number
|
|
37
|
+
|
|
38
|
+
declare const IMServiceStatusLoggedIn: number
|
|
39
|
+
|
|
40
|
+
declare const IMServiceStatusLoggingIn: number
|
|
41
|
+
|
|
42
|
+
declare const IMServiceStatusLoggingOut: number
|
|
43
|
+
|
|
44
|
+
declare const IMServiceStatusDisconnected: number
|
|
45
|
+
|
|
46
|
+
declare const IMPersonInfoChangedNotification: string
|
|
47
|
+
|
|
48
|
+
declare const IMPersonStatusChangedNotification: string
|
|
49
|
+
|
|
50
|
+
declare const IMPersonStatusAvailable: number
|
|
51
|
+
|
|
52
|
+
declare const IMAVPending: number
|
|
53
|
+
|
|
54
|
+
declare const IMServiceStatusLoggedOut: number
|
|
55
|
+
|
|
56
|
+
declare const IMServiceStatusChangedNotification: string
|
|
57
|
+
|
|
58
|
+
declare const IMAVShuttingDown: number
|
|
59
|
+
|
|
60
|
+
declare const IMPersonStatusOffline: number
|
|
61
|
+
|
|
62
|
+
declare const IMVideoOptimizationDefault: number
|
|
63
|
+
|
|
64
|
+
declare const IMVideoOptimizationStills: number
|
|
65
|
+
|
|
66
|
+
declare const IMAVInactive: number
|
|
67
|
+
|
|
68
|
+
declare const IMCapabilityDirectIM: string
|
|
69
|
+
|
|
70
|
+
declare const IMStatusImagesChangedAppearanceNotification: string
|
|
71
|
+
|
|
72
|
+
declare const IMPersonStatusIdle: number
|
|
73
|
+
|
|
74
|
+
declare const IMPersonStatusUnknown: number
|
|
75
|
+
|
|
76
|
+
declare const IMAVStartingUp: number
|
|
77
|
+
|
|
78
|
+
declare const IMPersonServiceNameKey: string
|
|
79
|
+
|
|
80
|
+
declare const IMCapabilityText: string
|
|
81
|
+
|
|
82
|
+
declare const IMAVManagerStateChangedNotification: string
|
|
83
|
+
|
|
84
|
+
declare const IMVideoOptimizationReplacement: number
|
|
85
|
+
|
|
86
|
+
declare const IMAVManagerURLToShareChangedNotification: string
|
|
87
|
+
|
|
88
|
+
declare const IMMyStatusChangedNotification: string
|
|
89
|
+
|
|
90
|
+
declare const IMPersonCapabilitiesKey: string
|
|
91
|
+
|
|
92
|
+
declare function IMComparePersonStatus(
|
|
93
|
+
status: number,
|
|
94
|
+
compareTo: number,
|
|
95
|
+
): interop.Enum<typeof NSComparisonResult>
|
|
96
|
+
|
|
97
|
+
declare class IMService extends NSObject {
|
|
98
|
+
static imageNameForStatus(status: number): string
|
|
99
|
+
|
|
100
|
+
static allServices(): NSArray
|
|
101
|
+
|
|
102
|
+
static serviceWithName(name: string): IMService
|
|
103
|
+
|
|
104
|
+
static notificationCenter(): NSNotificationCenter
|
|
105
|
+
|
|
106
|
+
static myStatus(): number
|
|
107
|
+
|
|
108
|
+
static myIdleTime(): NSDate
|
|
109
|
+
|
|
110
|
+
localizedName(): string
|
|
111
|
+
|
|
112
|
+
localizedShortName(): string
|
|
113
|
+
|
|
114
|
+
name(): string
|
|
115
|
+
|
|
116
|
+
status(): number
|
|
117
|
+
|
|
118
|
+
infoForScreenName(screenName: string): NSDictionary
|
|
119
|
+
|
|
120
|
+
infoForAllScreenNames(): NSArray
|
|
121
|
+
|
|
122
|
+
infoForPreferredScreenNames(): NSArray
|
|
123
|
+
|
|
124
|
+
peopleWithScreenName(screenName: string): NSArray
|
|
125
|
+
|
|
126
|
+
screenNamesForPerson(person: ABPerson): NSArray
|
|
127
|
+
|
|
128
|
+
static imageURLForStatus(status: number): NSURL
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
declare class IMAVControlBar extends NSObject {
|
|
132
|
+
controls(): NSArray
|
|
133
|
+
|
|
134
|
+
addControl(control: IMAVControl): void
|
|
135
|
+
|
|
136
|
+
removeControl(control: IMAVControl): void
|
|
137
|
+
|
|
138
|
+
removeAllControls(): void
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
declare class IMAVSlider extends IMAVControl {
|
|
142
|
+
minValue(): number
|
|
143
|
+
|
|
144
|
+
setMinValue(aDouble: number): void
|
|
145
|
+
|
|
146
|
+
maxValue(): number
|
|
147
|
+
|
|
148
|
+
setMaxValue(aDouble: number): void
|
|
149
|
+
|
|
150
|
+
static timeSlider(): IMAVSlider
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
declare class IMAVControl extends NSObject {
|
|
154
|
+
target(): interop.Object
|
|
155
|
+
|
|
156
|
+
setTarget(anObject: interop.Object): void
|
|
157
|
+
|
|
158
|
+
action(): string
|
|
159
|
+
|
|
160
|
+
setAction(aSelector: string): void
|
|
161
|
+
|
|
162
|
+
tag(): number
|
|
163
|
+
|
|
164
|
+
setTag(anInt: number): void
|
|
165
|
+
|
|
166
|
+
isEnabled(): boolean
|
|
167
|
+
|
|
168
|
+
setEnabled(flag: boolean): void
|
|
169
|
+
|
|
170
|
+
integerValue(): number
|
|
171
|
+
|
|
172
|
+
setIntegerValue(anInteger: number): void
|
|
173
|
+
|
|
174
|
+
intValue(): number
|
|
175
|
+
|
|
176
|
+
setIntValue(anInt: number): void
|
|
177
|
+
|
|
178
|
+
floatValue(): number
|
|
179
|
+
|
|
180
|
+
setFloatValue(aFloat: number): void
|
|
181
|
+
|
|
182
|
+
doubleValue(): number
|
|
183
|
+
|
|
184
|
+
setDoubleValue(aDouble: number): void
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
declare class IMAVButton extends IMAVControl {
|
|
188
|
+
state(): number
|
|
189
|
+
|
|
190
|
+
setState(value: number): void
|
|
191
|
+
|
|
192
|
+
static playPauseButton(): IMAVButton
|
|
193
|
+
|
|
194
|
+
static forwardButton(): IMAVButton
|
|
195
|
+
|
|
196
|
+
static backwardButton(): IMAVButton
|
|
197
|
+
|
|
198
|
+
static muteButton(): IMAVButton
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
declare class IMAVManager extends NSObject {
|
|
202
|
+
static sharedAVManager(): IMAVManager
|
|
203
|
+
|
|
204
|
+
state(): number
|
|
205
|
+
|
|
206
|
+
URLToShare(): NSURL
|
|
207
|
+
|
|
208
|
+
setVideoDataSource(dataSource: interop.Object): void
|
|
209
|
+
|
|
210
|
+
videoDataSource(): interop.Object
|
|
211
|
+
|
|
212
|
+
setVideoOptimizationOptions(options: number): void
|
|
213
|
+
|
|
214
|
+
videoOptimizationOptions(): number
|
|
215
|
+
|
|
216
|
+
setNumberOfAudioChannels(count: number): void
|
|
217
|
+
|
|
218
|
+
numberOfAudioChannels(): number
|
|
219
|
+
|
|
220
|
+
audioDeviceUID(): string
|
|
221
|
+
|
|
222
|
+
audioDeviceChannels(): NSArray
|
|
223
|
+
|
|
224
|
+
controlBar(): IMAVControlBar
|
|
225
|
+
|
|
226
|
+
start(): void
|
|
227
|
+
|
|
228
|
+
stop(): void
|
|
229
|
+
}
|