@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,46 @@
|
|
|
1
|
+
/// <reference types="@nativescript/objc-node-api" />
|
|
2
|
+
/// <reference path="./Runtime.d.ts" />
|
|
3
|
+
|
|
4
|
+
declare const AEAssessmentErrorDomain: string
|
|
5
|
+
|
|
6
|
+
declare const AEAutocorrectMode: {
|
|
7
|
+
None: 0
|
|
8
|
+
Spelling: 1
|
|
9
|
+
Punctuation: 2
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
declare const AEAssessmentErrorCode: {
|
|
13
|
+
AEAssessmentErrorUnknown: 1
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
declare interface AEAssessmentSessionDelegate extends NSObjectProtocol {
|
|
17
|
+
assessmentSessionDidBegin?(session: AEAssessmentSession): void
|
|
18
|
+
|
|
19
|
+
assessmentSessionFailedToBeginWithError?(session: AEAssessmentSession, error: NSError): void
|
|
20
|
+
|
|
21
|
+
assessmentSessionWasInterruptedWithError?(session: AEAssessmentSession, error: NSError): void
|
|
22
|
+
|
|
23
|
+
assessmentSessionDidEnd?(session: AEAssessmentSession): void
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
declare class AEAssessmentSessionDelegate
|
|
27
|
+
extends NativeObject
|
|
28
|
+
implements AEAssessmentSessionDelegate {}
|
|
29
|
+
|
|
30
|
+
declare class AEAssessmentConfiguration extends NSObject implements NSCopying {
|
|
31
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
declare class AEAssessmentSession extends NSObject {
|
|
35
|
+
delegate: AEAssessmentSessionDelegate
|
|
36
|
+
|
|
37
|
+
readonly active: boolean
|
|
38
|
+
|
|
39
|
+
initWithConfiguration(configuration: AEAssessmentConfiguration): this
|
|
40
|
+
|
|
41
|
+
begin(): void
|
|
42
|
+
|
|
43
|
+
end(): void
|
|
44
|
+
|
|
45
|
+
isActive(): boolean
|
|
46
|
+
}
|
|
@@ -0,0 +1,248 @@
|
|
|
1
|
+
/// <reference types="@nativescript/objc-node-api" />
|
|
2
|
+
/// <reference path="./AppKit.d.ts" />
|
|
3
|
+
/// <reference path="./Runtime.d.ts" />
|
|
4
|
+
|
|
5
|
+
declare const AMLogLevel: {
|
|
6
|
+
Debug: 0
|
|
7
|
+
Info: 1
|
|
8
|
+
Warn: 2
|
|
9
|
+
Error: 3
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
declare const AMErrorCode: {
|
|
13
|
+
WorkflowNewerVersion: -100
|
|
14
|
+
WorkflowPropertyListInvalid: -101
|
|
15
|
+
WorkflowNewerActionVersion: -111
|
|
16
|
+
WorkflowOlderActionVersion: -112
|
|
17
|
+
WorkflowActionsNotLoaded: -113
|
|
18
|
+
WorkflowNoEnabledActions: -114
|
|
19
|
+
UserCanceled: -128
|
|
20
|
+
NoSuchAction: -200
|
|
21
|
+
ActionNotLoadable: -201
|
|
22
|
+
ActionArchitectureMismatch: -202
|
|
23
|
+
ActionRuntimeMismatch: -203
|
|
24
|
+
ActionLoad: -204
|
|
25
|
+
ActionLink: -205
|
|
26
|
+
ActionApplicationResource: -206
|
|
27
|
+
ActionApplicationVersionResource: -207
|
|
28
|
+
ActionFileResource: -208
|
|
29
|
+
ActionLicenseResource: -209
|
|
30
|
+
ActionRequiredActionResource: -210
|
|
31
|
+
ActionInitialization: -211
|
|
32
|
+
ActionExecution: -212
|
|
33
|
+
ActionException: -213
|
|
34
|
+
ActionPropertyListInvalid: -214
|
|
35
|
+
ActionInsufficientData: -215
|
|
36
|
+
ActionIsDeprecated: -216
|
|
37
|
+
ActionFailedGatekeeper: -217
|
|
38
|
+
ActionSignatureCorrupt: -218
|
|
39
|
+
ActionQuarantine: -219
|
|
40
|
+
ActionXProtect: -220
|
|
41
|
+
ActionMalware: -221
|
|
42
|
+
ActionThirdPartyActionsNotAllowed: -222
|
|
43
|
+
ActionXPC: -223
|
|
44
|
+
ConversionNotPossible: -300
|
|
45
|
+
ConversionNoData: -301
|
|
46
|
+
ConversionFailed: -302
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
declare interface AMWorkflowControllerDelegate extends NSObjectProtocol {
|
|
50
|
+
workflowControllerWillRun?(controller: AMWorkflowController): void
|
|
51
|
+
|
|
52
|
+
workflowControllerWillStop?(controller: AMWorkflowController): void
|
|
53
|
+
|
|
54
|
+
workflowControllerDidRun?(controller: AMWorkflowController): void
|
|
55
|
+
|
|
56
|
+
workflowControllerDidStop?(controller: AMWorkflowController): void
|
|
57
|
+
|
|
58
|
+
workflowControllerWillRunAction?(controller: AMWorkflowController, action: AMAction): void
|
|
59
|
+
|
|
60
|
+
workflowControllerDidRunAction?(controller: AMWorkflowController, action: AMAction): void
|
|
61
|
+
|
|
62
|
+
workflowControllerDidError?(controller: AMWorkflowController, error: NSError): void
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
declare class AMWorkflowControllerDelegate
|
|
66
|
+
extends NativeObject
|
|
67
|
+
implements AMWorkflowControllerDelegate {}
|
|
68
|
+
|
|
69
|
+
declare class AMWorkflowView extends NSView {
|
|
70
|
+
editable: boolean
|
|
71
|
+
|
|
72
|
+
workflowController: AMWorkflowController
|
|
73
|
+
|
|
74
|
+
isEditable(): boolean
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
declare class AMWorkflowController extends NSController {
|
|
78
|
+
workflow: AMWorkflow
|
|
79
|
+
|
|
80
|
+
workflowView: AMWorkflowView
|
|
81
|
+
|
|
82
|
+
delegate: AMWorkflowControllerDelegate
|
|
83
|
+
|
|
84
|
+
readonly canRun: boolean
|
|
85
|
+
|
|
86
|
+
readonly running: boolean
|
|
87
|
+
|
|
88
|
+
readonly paused: boolean
|
|
89
|
+
|
|
90
|
+
run(sender: interop.Object): void
|
|
91
|
+
|
|
92
|
+
stop(sender: interop.Object): void
|
|
93
|
+
|
|
94
|
+
pause(sender: interop.Object): void
|
|
95
|
+
|
|
96
|
+
step(sender: interop.Object): void
|
|
97
|
+
|
|
98
|
+
reset(sender: interop.Object): void
|
|
99
|
+
|
|
100
|
+
isRunning(): boolean
|
|
101
|
+
|
|
102
|
+
isPaused(): boolean
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
declare class AMWorkflow extends NSObject implements NSCopying {
|
|
106
|
+
static runWorkflowAtURLWithInputError(
|
|
107
|
+
fileURL: NSURL,
|
|
108
|
+
input: interop.Object | null,
|
|
109
|
+
error: interop.PointerConvertible,
|
|
110
|
+
): interop.Object
|
|
111
|
+
|
|
112
|
+
init(): this
|
|
113
|
+
|
|
114
|
+
initWithContentsOfURLError(fileURL: NSURL, outError: interop.PointerConvertible): this
|
|
115
|
+
|
|
116
|
+
writeToURLError(fileURL: NSURL, outError: interop.PointerConvertible): boolean
|
|
117
|
+
|
|
118
|
+
setValueForVariableWithName(value: interop.Object | null, variableName: string): boolean
|
|
119
|
+
|
|
120
|
+
valueForVariableWithName(variableName: string): interop.Object
|
|
121
|
+
|
|
122
|
+
addAction(action: AMAction): void
|
|
123
|
+
|
|
124
|
+
removeAction(action: AMAction): void
|
|
125
|
+
|
|
126
|
+
insertActionAtIndex(action: AMAction, index: number): void
|
|
127
|
+
|
|
128
|
+
moveActionAtIndexToIndex(startIndex: number, endIndex: number): void
|
|
129
|
+
|
|
130
|
+
readonly fileURL: NSURL
|
|
131
|
+
|
|
132
|
+
readonly actions: NSArray
|
|
133
|
+
|
|
134
|
+
input: interop.Object
|
|
135
|
+
|
|
136
|
+
readonly output: interop.Object
|
|
137
|
+
|
|
138
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
declare class AMShellScriptAction extends AMBundleAction {
|
|
142
|
+
readonly remapLineEndings: boolean
|
|
143
|
+
|
|
144
|
+
readonly inputFieldSeparator: string
|
|
145
|
+
|
|
146
|
+
readonly outputFieldSeparator: string
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
declare class AMBundleAction extends AMAction implements NSCopying, NSSecureCoding {
|
|
150
|
+
awakeFromBundle(): void
|
|
151
|
+
|
|
152
|
+
readonly hasView: boolean
|
|
153
|
+
|
|
154
|
+
readonly view: NSView
|
|
155
|
+
|
|
156
|
+
readonly bundle: NSBundle
|
|
157
|
+
|
|
158
|
+
parameters: NSMutableDictionary
|
|
159
|
+
|
|
160
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
161
|
+
|
|
162
|
+
static readonly supportsSecureCoding: boolean
|
|
163
|
+
|
|
164
|
+
encodeWithCoder(coder: NSCoder): void
|
|
165
|
+
|
|
166
|
+
initWithCoder(coder: NSCoder): this
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
declare class AMAction extends NSObject {
|
|
170
|
+
initWithDefinitionFromArchive(
|
|
171
|
+
dict:
|
|
172
|
+
| NSDictionary<interop.Object, interop.Object>
|
|
173
|
+
| Record<interop.Object, interop.Object>
|
|
174
|
+
| null,
|
|
175
|
+
archived: boolean,
|
|
176
|
+
): this
|
|
177
|
+
|
|
178
|
+
initWithContentsOfURLError(fileURL: NSURL, outError: interop.PointerConvertible): this
|
|
179
|
+
|
|
180
|
+
readonly name: string
|
|
181
|
+
|
|
182
|
+
readonly ignoresInput: boolean
|
|
183
|
+
|
|
184
|
+
selectedInputType: string
|
|
185
|
+
|
|
186
|
+
selectedOutputType: string
|
|
187
|
+
|
|
188
|
+
progressValue: number
|
|
189
|
+
|
|
190
|
+
runWithInputFromActionError(
|
|
191
|
+
input: interop.Object | null,
|
|
192
|
+
anAction: AMAction | null,
|
|
193
|
+
errorInfo: interop.PointerConvertible,
|
|
194
|
+
): interop.Object
|
|
195
|
+
|
|
196
|
+
runWithInputError(input: interop.Object | null, error: interop.PointerConvertible): interop.Object
|
|
197
|
+
|
|
198
|
+
runAsynchronouslyWithInput(input: interop.Object | null): void
|
|
199
|
+
|
|
200
|
+
willFinishRunning(): void
|
|
201
|
+
|
|
202
|
+
didFinishRunningWithError(
|
|
203
|
+
errorInfo:
|
|
204
|
+
| NSDictionary<interop.Object, interop.Object>
|
|
205
|
+
| Record<interop.Object, interop.Object>
|
|
206
|
+
| null,
|
|
207
|
+
): void
|
|
208
|
+
|
|
209
|
+
finishRunningWithError(error: NSError | null): void
|
|
210
|
+
|
|
211
|
+
output: interop.Object
|
|
212
|
+
|
|
213
|
+
stop(): void
|
|
214
|
+
|
|
215
|
+
reset(): void
|
|
216
|
+
|
|
217
|
+
writeToDictionary(dictionary: NSMutableDictionary): void
|
|
218
|
+
|
|
219
|
+
opened(): void
|
|
220
|
+
|
|
221
|
+
activated(): void
|
|
222
|
+
|
|
223
|
+
closed(): void
|
|
224
|
+
|
|
225
|
+
updateParameters(): void
|
|
226
|
+
|
|
227
|
+
parametersUpdated(): void
|
|
228
|
+
|
|
229
|
+
logMessageWithLevelFormat(level: interop.Enum<typeof AMLogLevel>, format: string): void
|
|
230
|
+
|
|
231
|
+
readonly stopped: boolean
|
|
232
|
+
|
|
233
|
+
isStopped(): boolean
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
declare class AMAppleScriptAction extends AMBundleAction {
|
|
237
|
+
script: OSAScript
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
declare class AMWorkspace extends NSObject {
|
|
241
|
+
static readonly sharedWorkspace: AMWorkspace
|
|
242
|
+
|
|
243
|
+
runWorkflowAtPathWithInputError(
|
|
244
|
+
path: string,
|
|
245
|
+
input: interop.Object,
|
|
246
|
+
error: interop.PointerConvertible,
|
|
247
|
+
): interop.Object
|
|
248
|
+
}
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
/// <reference types="@nativescript/objc-node-api" />
|
|
2
|
+
/// <reference path="./Runtime.d.ts" />
|
|
3
|
+
|
|
4
|
+
declare const BEAccessibilityOrientation: {
|
|
5
|
+
Unknown: 0
|
|
6
|
+
Vertical: 1
|
|
7
|
+
Horizontal: 2
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
declare const BEAccessibilityPressedState: {
|
|
11
|
+
Undefined: 0
|
|
12
|
+
False: 1
|
|
13
|
+
True: 2
|
|
14
|
+
Mixed: 3
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
declare const BEGestureType: {
|
|
18
|
+
Loupe: 0
|
|
19
|
+
OneFingerTap: 1
|
|
20
|
+
DoubleTapAndHold: 2
|
|
21
|
+
DoubleTap: 3
|
|
22
|
+
OneFingerDoubleTap: 8
|
|
23
|
+
OneFingerTripleTap: 9
|
|
24
|
+
TwoFingerSingleTap: 10
|
|
25
|
+
TwoFingerRangedSelectGesture: 11
|
|
26
|
+
IMPhraseBoundaryDrag: 14
|
|
27
|
+
ForceTouch: 15
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
declare const BEAccessibilityContainerType: {
|
|
31
|
+
None: 0
|
|
32
|
+
Landmark: 1
|
|
33
|
+
Table: 2
|
|
34
|
+
List: 4
|
|
35
|
+
Fieldset: 8
|
|
36
|
+
Dialog: 16
|
|
37
|
+
Tree: 32
|
|
38
|
+
Frame: 64
|
|
39
|
+
Article: 128
|
|
40
|
+
SemanticGroup: 256
|
|
41
|
+
ScrollArea: 512
|
|
42
|
+
Alert: 1024
|
|
43
|
+
DescriptionList: 2048
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
declare const BESelectionTouchPhase: {
|
|
47
|
+
Started: 0
|
|
48
|
+
Moved: 1
|
|
49
|
+
Ended: 2
|
|
50
|
+
EndedMovingForward: 3
|
|
51
|
+
EndedMovingBackward: 4
|
|
52
|
+
EndedNotMoving: 5
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
declare const BESelectionFlags: {
|
|
56
|
+
SelectionFlagsNone: 0
|
|
57
|
+
WordIsNearTap: 1
|
|
58
|
+
SelectionFlipped: 2
|
|
59
|
+
PhraseBoundaryChanged: 4
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
declare interface BETextInputDelegate {
|
|
63
|
+
shouldDeferEventHandlingToSystemForTextInputContext(
|
|
64
|
+
textInput: BETextInput,
|
|
65
|
+
keyEventContext: interop.Object,
|
|
66
|
+
): boolean
|
|
67
|
+
|
|
68
|
+
textInputSetCandidateSuggestions(
|
|
69
|
+
textInput: BETextInput,
|
|
70
|
+
suggestions: NSArray<interop.Object> | Array<interop.Object> | null,
|
|
71
|
+
): void
|
|
72
|
+
|
|
73
|
+
selectionWillChangeForTextInput(textInput: BETextInput): void
|
|
74
|
+
|
|
75
|
+
selectionDidChangeForTextInput(textInput: BETextInput): void
|
|
76
|
+
|
|
77
|
+
textInputDeferReplaceTextActionToSystem(textInput: BETextInput, sender: interop.Object): void
|
|
78
|
+
|
|
79
|
+
invalidateTextEntryContextForTextInput(textInput: BETextInput): void
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
declare class BETextInputDelegate extends NativeObject implements BETextInputDelegate {}
|
|
83
|
+
|
|
84
|
+
declare interface BETextInteractionDelegate {
|
|
85
|
+
systemWillChangeSelectionForInteraction(textInteraction: interop.Object): void
|
|
86
|
+
|
|
87
|
+
systemDidChangeSelectionForInteraction(textInteraction: interop.Object): void
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
declare class BETextInteractionDelegate extends NativeObject implements BETextInteractionDelegate {}
|
|
91
|
+
|
|
92
|
+
declare interface BEAccessibilityTextMarkerSupport extends NSObjectProtocol {
|
|
93
|
+
accessibilityBoundsForTextMarkerRange(range: BEAccessibilityTextMarkerRange): CGRect
|
|
94
|
+
|
|
95
|
+
accessibilityContentForTextMarkerRange(range: BEAccessibilityTextMarkerRange): string
|
|
96
|
+
|
|
97
|
+
accessibilityTextMarkerRangeForCurrentSelection(): BEAccessibilityTextMarkerRange
|
|
98
|
+
|
|
99
|
+
accessibilityTextMarkerRange(): BEAccessibilityTextMarkerRange
|
|
100
|
+
|
|
101
|
+
accessibilityNextTextMarker(marker: BEAccessibilityTextMarker): BEAccessibilityTextMarker
|
|
102
|
+
|
|
103
|
+
accessibilityPreviousTextMarker(marker: BEAccessibilityTextMarker): BEAccessibilityTextMarker
|
|
104
|
+
|
|
105
|
+
accessibilityLineEndMarkerForMarker(marker: BEAccessibilityTextMarker): BEAccessibilityTextMarker
|
|
106
|
+
|
|
107
|
+
accessibilityLineStartMarkerForMarker(
|
|
108
|
+
marker: BEAccessibilityTextMarker,
|
|
109
|
+
): BEAccessibilityTextMarker
|
|
110
|
+
|
|
111
|
+
accessibilityMarkerForPoint(point: CGPoint): BEAccessibilityTextMarker
|
|
112
|
+
|
|
113
|
+
accessibilityTextMarkerForPosition(position: number): BEAccessibilityTextMarker
|
|
114
|
+
|
|
115
|
+
accessibilityTextMarkerRangeForRange(range: _NSRange): BEAccessibilityTextMarkerRange
|
|
116
|
+
|
|
117
|
+
accessibilityRangeForTextMarkerRange(range: BEAccessibilityTextMarkerRange): _NSRange
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
declare class BEAccessibilityTextMarkerSupport
|
|
121
|
+
extends NativeObject
|
|
122
|
+
implements BEAccessibilityTextMarkerSupport {}
|
|
123
|
+
|
|
124
|
+
declare class BEAccessibilityTextMarker extends NSObject implements NSCopying, NSSecureCoding {
|
|
125
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
126
|
+
|
|
127
|
+
static readonly supportsSecureCoding: boolean
|
|
128
|
+
|
|
129
|
+
encodeWithCoder(coder: NSCoder): void
|
|
130
|
+
|
|
131
|
+
initWithCoder(coder: NSCoder): this
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
declare class BEWebAppManifest extends NSObject {
|
|
135
|
+
initWithJSONDataManifestURL(jsonData: NSData, manifestURL: NSURL): this
|
|
136
|
+
|
|
137
|
+
readonly jsonData: NSData
|
|
138
|
+
|
|
139
|
+
readonly manifestURL: NSURL
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
declare class BETextSuggestion extends NSObject {
|
|
143
|
+
initWithInputText(inputText: string): this
|
|
144
|
+
|
|
145
|
+
readonly inputText: string
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
declare class BETextAlternatives extends NSObject {
|
|
149
|
+
readonly primaryString: string
|
|
150
|
+
|
|
151
|
+
readonly alternativeStrings: NSArray
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
declare class BEAccessibilityTextMarkerRange extends NSObject implements NSCopying, NSSecureCoding {
|
|
155
|
+
startMarker: BEAccessibilityTextMarker
|
|
156
|
+
|
|
157
|
+
endMarker: BEAccessibilityTextMarker
|
|
158
|
+
|
|
159
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
160
|
+
|
|
161
|
+
static readonly supportsSecureCoding: boolean
|
|
162
|
+
|
|
163
|
+
encodeWithCoder(coder: NSCoder): void
|
|
164
|
+
|
|
165
|
+
initWithCoder(coder: NSCoder): this
|
|
166
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/// <reference types="@nativescript/objc-node-api" />
|
|
2
|
+
/// <reference path="./AppKit.d.ts" />
|
|
3
|
+
/// <reference path="./Runtime.d.ts" />
|
|
4
|
+
|
|
5
|
+
declare const BCParameterNameBody: string
|
|
6
|
+
|
|
7
|
+
declare const BCParameterNameGroup: string
|
|
8
|
+
|
|
9
|
+
declare const BCParameterNameIntent: string
|
|
10
|
+
|
|
11
|
+
declare const BCChatButtonStyle: {
|
|
12
|
+
Light: 0
|
|
13
|
+
Dark: 1
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
declare class BCChatButton extends NSControl {
|
|
17
|
+
initWithStyle(style: interop.Enum<typeof BCChatButtonStyle>): this
|
|
18
|
+
|
|
19
|
+
initWithCoder(coder: NSCoder): this
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
declare class BCChatAction extends NSObject {
|
|
23
|
+
static openTranscriptIntentParameters(
|
|
24
|
+
businessIdentifier: string,
|
|
25
|
+
intentParameters:
|
|
26
|
+
| NSDictionary<interop.Object, interop.Object>
|
|
27
|
+
| Record<interop.Object, interop.Object>,
|
|
28
|
+
): void
|
|
29
|
+
}
|