@gpuix/native 0.6.0 → 0.7.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/index.d.ts +19 -1
- package/index.js +53 -52
- package/package.json +4 -4
- package/wasm/gpuix-web.d.ts +15 -9
- package/wasm/gpuix-web.js +59 -36
- package/wasm/gpuix-web_bg.wasm +0 -0
- package/wasm/gpuix-web_bg.wasm.d.ts +12 -9
package/index.d.ts
CHANGED
|
@@ -29,7 +29,13 @@ export declare class GpuixRenderer {
|
|
|
29
29
|
/** Pump the native event loop. Returns false after the last window closes. */
|
|
30
30
|
tick(): boolean
|
|
31
31
|
isInitialized(): boolean
|
|
32
|
-
/**
|
|
32
|
+
/**
|
|
33
|
+
* Whether JavaScript must call tick() until it returns false.
|
|
34
|
+
*
|
|
35
|
+
* macOS: tick() pumps AppKit. Windows/Linux: tick() only reports whether
|
|
36
|
+
* the UI thread is still inside `Platform::run`. Both return false after
|
|
37
|
+
* the last window closes so the JS frame loop can exit the process.
|
|
38
|
+
*/
|
|
33
39
|
requiresTick(): boolean
|
|
34
40
|
/**
|
|
35
41
|
* The paintable size of the window in logical pixels, excluding any
|
|
@@ -55,6 +61,12 @@ export declare class GpuixRenderer {
|
|
|
55
61
|
activateWindow(): void
|
|
56
62
|
setWindowTitle(title: string): void
|
|
57
63
|
focusElement(elementId: number): void
|
|
64
|
+
/** Move focus to the next GPUI tab stop. */
|
|
65
|
+
focusNext(): void
|
|
66
|
+
/** Move focus to the previous GPUI tab stop. */
|
|
67
|
+
focusPrevious(): void
|
|
68
|
+
/** Enable the window key events requested by the React renderer. */
|
|
69
|
+
setWindowKeyEvents(keyDown: boolean, keyUp: boolean, eventId: number): void
|
|
58
70
|
blur(): void
|
|
59
71
|
/** The current text selection joined in document order, or null. */
|
|
60
72
|
getSelectedText(): string | null
|
|
@@ -198,6 +210,9 @@ export declare class TestGpuixRenderer {
|
|
|
198
210
|
* Call flush() before this so the element tree and focus handles exist.
|
|
199
211
|
*/
|
|
200
212
|
focusElement(id: number): void
|
|
213
|
+
focusNext(): void
|
|
214
|
+
focusPrevious(): void
|
|
215
|
+
setWindowKeyEvents(keyDown: boolean, keyUp: boolean, eventId: number): void
|
|
201
216
|
/**
|
|
202
217
|
* Simulate a mouse down event at the given window coordinates.
|
|
203
218
|
* Button: 0=left, 1=middle, 2=right. Defaults to left (0).
|
|
@@ -447,6 +462,9 @@ export interface EventPayload {
|
|
|
447
462
|
modifiers?: EventModifiers
|
|
448
463
|
}
|
|
449
464
|
|
|
465
|
+
/** True only when this binary compiled the real GPU test renderer. */
|
|
466
|
+
export declare function hasTestGpuixRenderer(): boolean
|
|
467
|
+
|
|
450
468
|
/**
|
|
451
469
|
* One highlight wash painted in the last frame, with the boxes it drew.
|
|
452
470
|
*
|
package/index.js
CHANGED
|
@@ -77,8 +77,8 @@ function requireNative() {
|
|
|
77
77
|
try {
|
|
78
78
|
const binding = require('@gpuix/native-android-arm64')
|
|
79
79
|
const bindingPackageVersion = require('@gpuix/native-android-arm64/package.json').version
|
|
80
|
-
if (bindingPackageVersion !== '0.
|
|
81
|
-
throw new Error(`Native binding package version mismatch, expected 0.
|
|
80
|
+
if (bindingPackageVersion !== '0.7.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
81
|
+
throw new Error(`Native binding package version mismatch, expected 0.7.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
82
82
|
}
|
|
83
83
|
return binding
|
|
84
84
|
} catch (e) {
|
|
@@ -93,8 +93,8 @@ function requireNative() {
|
|
|
93
93
|
try {
|
|
94
94
|
const binding = require('@gpuix/native-android-arm-eabi')
|
|
95
95
|
const bindingPackageVersion = require('@gpuix/native-android-arm-eabi/package.json').version
|
|
96
|
-
if (bindingPackageVersion !== '0.
|
|
97
|
-
throw new Error(`Native binding package version mismatch, expected 0.
|
|
96
|
+
if (bindingPackageVersion !== '0.7.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
97
|
+
throw new Error(`Native binding package version mismatch, expected 0.7.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
98
98
|
}
|
|
99
99
|
return binding
|
|
100
100
|
} catch (e) {
|
|
@@ -114,8 +114,8 @@ function requireNative() {
|
|
|
114
114
|
try {
|
|
115
115
|
const binding = require('@gpuix/native-win32-x64-gnu')
|
|
116
116
|
const bindingPackageVersion = require('@gpuix/native-win32-x64-gnu/package.json').version
|
|
117
|
-
if (bindingPackageVersion !== '0.
|
|
118
|
-
throw new Error(`Native binding package version mismatch, expected 0.
|
|
117
|
+
if (bindingPackageVersion !== '0.7.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
118
|
+
throw new Error(`Native binding package version mismatch, expected 0.7.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
119
119
|
}
|
|
120
120
|
return binding
|
|
121
121
|
} catch (e) {
|
|
@@ -130,8 +130,8 @@ function requireNative() {
|
|
|
130
130
|
try {
|
|
131
131
|
const binding = require('@gpuix/native-win32-x64-msvc')
|
|
132
132
|
const bindingPackageVersion = require('@gpuix/native-win32-x64-msvc/package.json').version
|
|
133
|
-
if (bindingPackageVersion !== '0.
|
|
134
|
-
throw new Error(`Native binding package version mismatch, expected 0.
|
|
133
|
+
if (bindingPackageVersion !== '0.7.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
134
|
+
throw new Error(`Native binding package version mismatch, expected 0.7.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
135
135
|
}
|
|
136
136
|
return binding
|
|
137
137
|
} catch (e) {
|
|
@@ -147,8 +147,8 @@ function requireNative() {
|
|
|
147
147
|
try {
|
|
148
148
|
const binding = require('@gpuix/native-win32-ia32-msvc')
|
|
149
149
|
const bindingPackageVersion = require('@gpuix/native-win32-ia32-msvc/package.json').version
|
|
150
|
-
if (bindingPackageVersion !== '0.
|
|
151
|
-
throw new Error(`Native binding package version mismatch, expected 0.
|
|
150
|
+
if (bindingPackageVersion !== '0.7.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
151
|
+
throw new Error(`Native binding package version mismatch, expected 0.7.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
152
152
|
}
|
|
153
153
|
return binding
|
|
154
154
|
} catch (e) {
|
|
@@ -163,8 +163,8 @@ function requireNative() {
|
|
|
163
163
|
try {
|
|
164
164
|
const binding = require('@gpuix/native-win32-arm64-msvc')
|
|
165
165
|
const bindingPackageVersion = require('@gpuix/native-win32-arm64-msvc/package.json').version
|
|
166
|
-
if (bindingPackageVersion !== '0.
|
|
167
|
-
throw new Error(`Native binding package version mismatch, expected 0.
|
|
166
|
+
if (bindingPackageVersion !== '0.7.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
167
|
+
throw new Error(`Native binding package version mismatch, expected 0.7.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
168
168
|
}
|
|
169
169
|
return binding
|
|
170
170
|
} catch (e) {
|
|
@@ -182,8 +182,8 @@ function requireNative() {
|
|
|
182
182
|
try {
|
|
183
183
|
const binding = require('@gpuix/native-darwin-universal')
|
|
184
184
|
const bindingPackageVersion = require('@gpuix/native-darwin-universal/package.json').version
|
|
185
|
-
if (bindingPackageVersion !== '0.
|
|
186
|
-
throw new Error(`Native binding package version mismatch, expected 0.
|
|
185
|
+
if (bindingPackageVersion !== '0.7.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
186
|
+
throw new Error(`Native binding package version mismatch, expected 0.7.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
187
187
|
}
|
|
188
188
|
return binding
|
|
189
189
|
} catch (e) {
|
|
@@ -198,8 +198,8 @@ function requireNative() {
|
|
|
198
198
|
try {
|
|
199
199
|
const binding = require('@gpuix/native-darwin-x64')
|
|
200
200
|
const bindingPackageVersion = require('@gpuix/native-darwin-x64/package.json').version
|
|
201
|
-
if (bindingPackageVersion !== '0.
|
|
202
|
-
throw new Error(`Native binding package version mismatch, expected 0.
|
|
201
|
+
if (bindingPackageVersion !== '0.7.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
202
|
+
throw new Error(`Native binding package version mismatch, expected 0.7.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
203
203
|
}
|
|
204
204
|
return binding
|
|
205
205
|
} catch (e) {
|
|
@@ -214,8 +214,8 @@ function requireNative() {
|
|
|
214
214
|
try {
|
|
215
215
|
const binding = require('@gpuix/native-darwin-arm64')
|
|
216
216
|
const bindingPackageVersion = require('@gpuix/native-darwin-arm64/package.json').version
|
|
217
|
-
if (bindingPackageVersion !== '0.
|
|
218
|
-
throw new Error(`Native binding package version mismatch, expected 0.
|
|
217
|
+
if (bindingPackageVersion !== '0.7.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
218
|
+
throw new Error(`Native binding package version mismatch, expected 0.7.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
219
219
|
}
|
|
220
220
|
return binding
|
|
221
221
|
} catch (e) {
|
|
@@ -234,8 +234,8 @@ function requireNative() {
|
|
|
234
234
|
try {
|
|
235
235
|
const binding = require('@gpuix/native-freebsd-x64')
|
|
236
236
|
const bindingPackageVersion = require('@gpuix/native-freebsd-x64/package.json').version
|
|
237
|
-
if (bindingPackageVersion !== '0.
|
|
238
|
-
throw new Error(`Native binding package version mismatch, expected 0.
|
|
237
|
+
if (bindingPackageVersion !== '0.7.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
238
|
+
throw new Error(`Native binding package version mismatch, expected 0.7.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
239
239
|
}
|
|
240
240
|
return binding
|
|
241
241
|
} catch (e) {
|
|
@@ -250,8 +250,8 @@ function requireNative() {
|
|
|
250
250
|
try {
|
|
251
251
|
const binding = require('@gpuix/native-freebsd-arm64')
|
|
252
252
|
const bindingPackageVersion = require('@gpuix/native-freebsd-arm64/package.json').version
|
|
253
|
-
if (bindingPackageVersion !== '0.
|
|
254
|
-
throw new Error(`Native binding package version mismatch, expected 0.
|
|
253
|
+
if (bindingPackageVersion !== '0.7.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
254
|
+
throw new Error(`Native binding package version mismatch, expected 0.7.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
255
255
|
}
|
|
256
256
|
return binding
|
|
257
257
|
} catch (e) {
|
|
@@ -271,8 +271,8 @@ function requireNative() {
|
|
|
271
271
|
try {
|
|
272
272
|
const binding = require('@gpuix/native-linux-x64-musl')
|
|
273
273
|
const bindingPackageVersion = require('@gpuix/native-linux-x64-musl/package.json').version
|
|
274
|
-
if (bindingPackageVersion !== '0.
|
|
275
|
-
throw new Error(`Native binding package version mismatch, expected 0.
|
|
274
|
+
if (bindingPackageVersion !== '0.7.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
275
|
+
throw new Error(`Native binding package version mismatch, expected 0.7.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
276
276
|
}
|
|
277
277
|
return binding
|
|
278
278
|
} catch (e) {
|
|
@@ -287,8 +287,8 @@ function requireNative() {
|
|
|
287
287
|
try {
|
|
288
288
|
const binding = require('@gpuix/native-linux-x64-gnu')
|
|
289
289
|
const bindingPackageVersion = require('@gpuix/native-linux-x64-gnu/package.json').version
|
|
290
|
-
if (bindingPackageVersion !== '0.
|
|
291
|
-
throw new Error(`Native binding package version mismatch, expected 0.
|
|
290
|
+
if (bindingPackageVersion !== '0.7.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
291
|
+
throw new Error(`Native binding package version mismatch, expected 0.7.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
292
292
|
}
|
|
293
293
|
return binding
|
|
294
294
|
} catch (e) {
|
|
@@ -305,8 +305,8 @@ function requireNative() {
|
|
|
305
305
|
try {
|
|
306
306
|
const binding = require('@gpuix/native-linux-arm64-musl')
|
|
307
307
|
const bindingPackageVersion = require('@gpuix/native-linux-arm64-musl/package.json').version
|
|
308
|
-
if (bindingPackageVersion !== '0.
|
|
309
|
-
throw new Error(`Native binding package version mismatch, expected 0.
|
|
308
|
+
if (bindingPackageVersion !== '0.7.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
309
|
+
throw new Error(`Native binding package version mismatch, expected 0.7.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
310
310
|
}
|
|
311
311
|
return binding
|
|
312
312
|
} catch (e) {
|
|
@@ -321,8 +321,8 @@ function requireNative() {
|
|
|
321
321
|
try {
|
|
322
322
|
const binding = require('@gpuix/native-linux-arm64-gnu')
|
|
323
323
|
const bindingPackageVersion = require('@gpuix/native-linux-arm64-gnu/package.json').version
|
|
324
|
-
if (bindingPackageVersion !== '0.
|
|
325
|
-
throw new Error(`Native binding package version mismatch, expected 0.
|
|
324
|
+
if (bindingPackageVersion !== '0.7.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
325
|
+
throw new Error(`Native binding package version mismatch, expected 0.7.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
326
326
|
}
|
|
327
327
|
return binding
|
|
328
328
|
} catch (e) {
|
|
@@ -339,8 +339,8 @@ function requireNative() {
|
|
|
339
339
|
try {
|
|
340
340
|
const binding = require('@gpuix/native-linux-arm-musleabihf')
|
|
341
341
|
const bindingPackageVersion = require('@gpuix/native-linux-arm-musleabihf/package.json').version
|
|
342
|
-
if (bindingPackageVersion !== '0.
|
|
343
|
-
throw new Error(`Native binding package version mismatch, expected 0.
|
|
342
|
+
if (bindingPackageVersion !== '0.7.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
343
|
+
throw new Error(`Native binding package version mismatch, expected 0.7.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
344
344
|
}
|
|
345
345
|
return binding
|
|
346
346
|
} catch (e) {
|
|
@@ -355,8 +355,8 @@ function requireNative() {
|
|
|
355
355
|
try {
|
|
356
356
|
const binding = require('@gpuix/native-linux-arm-gnueabihf')
|
|
357
357
|
const bindingPackageVersion = require('@gpuix/native-linux-arm-gnueabihf/package.json').version
|
|
358
|
-
if (bindingPackageVersion !== '0.
|
|
359
|
-
throw new Error(`Native binding package version mismatch, expected 0.
|
|
358
|
+
if (bindingPackageVersion !== '0.7.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
359
|
+
throw new Error(`Native binding package version mismatch, expected 0.7.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
360
360
|
}
|
|
361
361
|
return binding
|
|
362
362
|
} catch (e) {
|
|
@@ -373,8 +373,8 @@ function requireNative() {
|
|
|
373
373
|
try {
|
|
374
374
|
const binding = require('@gpuix/native-linux-loong64-musl')
|
|
375
375
|
const bindingPackageVersion = require('@gpuix/native-linux-loong64-musl/package.json').version
|
|
376
|
-
if (bindingPackageVersion !== '0.
|
|
377
|
-
throw new Error(`Native binding package version mismatch, expected 0.
|
|
376
|
+
if (bindingPackageVersion !== '0.7.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
377
|
+
throw new Error(`Native binding package version mismatch, expected 0.7.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
378
378
|
}
|
|
379
379
|
return binding
|
|
380
380
|
} catch (e) {
|
|
@@ -389,8 +389,8 @@ function requireNative() {
|
|
|
389
389
|
try {
|
|
390
390
|
const binding = require('@gpuix/native-linux-loong64-gnu')
|
|
391
391
|
const bindingPackageVersion = require('@gpuix/native-linux-loong64-gnu/package.json').version
|
|
392
|
-
if (bindingPackageVersion !== '0.
|
|
393
|
-
throw new Error(`Native binding package version mismatch, expected 0.
|
|
392
|
+
if (bindingPackageVersion !== '0.7.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
393
|
+
throw new Error(`Native binding package version mismatch, expected 0.7.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
394
394
|
}
|
|
395
395
|
return binding
|
|
396
396
|
} catch (e) {
|
|
@@ -407,8 +407,8 @@ function requireNative() {
|
|
|
407
407
|
try {
|
|
408
408
|
const binding = require('@gpuix/native-linux-riscv64-musl')
|
|
409
409
|
const bindingPackageVersion = require('@gpuix/native-linux-riscv64-musl/package.json').version
|
|
410
|
-
if (bindingPackageVersion !== '0.
|
|
411
|
-
throw new Error(`Native binding package version mismatch, expected 0.
|
|
410
|
+
if (bindingPackageVersion !== '0.7.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
411
|
+
throw new Error(`Native binding package version mismatch, expected 0.7.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
412
412
|
}
|
|
413
413
|
return binding
|
|
414
414
|
} catch (e) {
|
|
@@ -423,8 +423,8 @@ function requireNative() {
|
|
|
423
423
|
try {
|
|
424
424
|
const binding = require('@gpuix/native-linux-riscv64-gnu')
|
|
425
425
|
const bindingPackageVersion = require('@gpuix/native-linux-riscv64-gnu/package.json').version
|
|
426
|
-
if (bindingPackageVersion !== '0.
|
|
427
|
-
throw new Error(`Native binding package version mismatch, expected 0.
|
|
426
|
+
if (bindingPackageVersion !== '0.7.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
427
|
+
throw new Error(`Native binding package version mismatch, expected 0.7.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
428
428
|
}
|
|
429
429
|
return binding
|
|
430
430
|
} catch (e) {
|
|
@@ -440,8 +440,8 @@ function requireNative() {
|
|
|
440
440
|
try {
|
|
441
441
|
const binding = require('@gpuix/native-linux-ppc64-gnu')
|
|
442
442
|
const bindingPackageVersion = require('@gpuix/native-linux-ppc64-gnu/package.json').version
|
|
443
|
-
if (bindingPackageVersion !== '0.
|
|
444
|
-
throw new Error(`Native binding package version mismatch, expected 0.
|
|
443
|
+
if (bindingPackageVersion !== '0.7.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
444
|
+
throw new Error(`Native binding package version mismatch, expected 0.7.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
445
445
|
}
|
|
446
446
|
return binding
|
|
447
447
|
} catch (e) {
|
|
@@ -456,8 +456,8 @@ function requireNative() {
|
|
|
456
456
|
try {
|
|
457
457
|
const binding = require('@gpuix/native-linux-s390x-gnu')
|
|
458
458
|
const bindingPackageVersion = require('@gpuix/native-linux-s390x-gnu/package.json').version
|
|
459
|
-
if (bindingPackageVersion !== '0.
|
|
460
|
-
throw new Error(`Native binding package version mismatch, expected 0.
|
|
459
|
+
if (bindingPackageVersion !== '0.7.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
460
|
+
throw new Error(`Native binding package version mismatch, expected 0.7.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
461
461
|
}
|
|
462
462
|
return binding
|
|
463
463
|
} catch (e) {
|
|
@@ -476,8 +476,8 @@ function requireNative() {
|
|
|
476
476
|
try {
|
|
477
477
|
const binding = require('@gpuix/native-openharmony-arm64')
|
|
478
478
|
const bindingPackageVersion = require('@gpuix/native-openharmony-arm64/package.json').version
|
|
479
|
-
if (bindingPackageVersion !== '0.
|
|
480
|
-
throw new Error(`Native binding package version mismatch, expected 0.
|
|
479
|
+
if (bindingPackageVersion !== '0.7.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
480
|
+
throw new Error(`Native binding package version mismatch, expected 0.7.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
481
481
|
}
|
|
482
482
|
return binding
|
|
483
483
|
} catch (e) {
|
|
@@ -492,8 +492,8 @@ function requireNative() {
|
|
|
492
492
|
try {
|
|
493
493
|
const binding = require('@gpuix/native-openharmony-x64')
|
|
494
494
|
const bindingPackageVersion = require('@gpuix/native-openharmony-x64/package.json').version
|
|
495
|
-
if (bindingPackageVersion !== '0.
|
|
496
|
-
throw new Error(`Native binding package version mismatch, expected 0.
|
|
495
|
+
if (bindingPackageVersion !== '0.7.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
496
|
+
throw new Error(`Native binding package version mismatch, expected 0.7.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
497
497
|
}
|
|
498
498
|
return binding
|
|
499
499
|
} catch (e) {
|
|
@@ -508,8 +508,8 @@ function requireNative() {
|
|
|
508
508
|
try {
|
|
509
509
|
const binding = require('@gpuix/native-openharmony-arm')
|
|
510
510
|
const bindingPackageVersion = require('@gpuix/native-openharmony-arm/package.json').version
|
|
511
|
-
if (bindingPackageVersion !== '0.
|
|
512
|
-
throw new Error(`Native binding package version mismatch, expected 0.
|
|
511
|
+
if (bindingPackageVersion !== '0.7.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
512
|
+
throw new Error(`Native binding package version mismatch, expected 0.7.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
513
513
|
}
|
|
514
514
|
return binding
|
|
515
515
|
} catch (e) {
|
|
@@ -578,3 +578,4 @@ if (!nativeBinding) {
|
|
|
578
578
|
module.exports = nativeBinding
|
|
579
579
|
module.exports.GpuixRenderer = nativeBinding.GpuixRenderer
|
|
580
580
|
module.exports.TestGpuixRenderer = nativeBinding.TestGpuixRenderer
|
|
581
|
+
module.exports.hasTestGpuixRenderer = nativeBinding.hasTestGpuixRenderer
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gpuix/native",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
"LICENSE"
|
|
43
43
|
],
|
|
44
44
|
"optionalDependencies": {
|
|
45
|
-
"@gpuix/native-darwin-arm64": "0.
|
|
46
|
-
"@gpuix/native-linux-x64-gnu": "0.
|
|
47
|
-
"@gpuix/native-win32-x64-msvc": "0.
|
|
45
|
+
"@gpuix/native-darwin-arm64": "0.7.0",
|
|
46
|
+
"@gpuix/native-linux-x64-gnu": "0.7.0",
|
|
47
|
+
"@gpuix/native-win32-x64-msvc": "0.7.0"
|
|
48
48
|
}
|
|
49
49
|
}
|
package/wasm/gpuix-web.d.ts
CHANGED
|
@@ -12,6 +12,8 @@ export class GpuixRenderer {
|
|
|
12
12
|
clockResume(): number;
|
|
13
13
|
clockSet(now_ms: number): number;
|
|
14
14
|
focusElement(element_id: number): void;
|
|
15
|
+
focusNext(): void;
|
|
16
|
+
focusPrevious(): void;
|
|
15
17
|
getAllText(): any;
|
|
16
18
|
getAutomationTree(): string;
|
|
17
19
|
getDebugFrameOverlay(): string;
|
|
@@ -37,6 +39,7 @@ export class GpuixRenderer {
|
|
|
37
39
|
scrollTo(element_id: number, x: number, y: number): void;
|
|
38
40
|
scrollToItem(element_id: number, index: number, offset_in_item?: number | null): void;
|
|
39
41
|
setDebugFrameOverlay(mode: string): string;
|
|
42
|
+
setWindowKeyEvents(key_down: boolean, key_up: boolean, event_id: number): void;
|
|
40
43
|
setWindowTitle(title: string): void;
|
|
41
44
|
simulateClick(x: number, y: number, button?: number | null, modifiers?: string | null): void;
|
|
42
45
|
simulateMouseDown(x: number, y: number, button?: number | null, modifiers?: string | null): void;
|
|
@@ -63,6 +66,8 @@ export interface InitOutput {
|
|
|
63
66
|
readonly gpuixrenderer_clockResume: (a: number) => [number, number, number];
|
|
64
67
|
readonly gpuixrenderer_clockSet: (a: number, b: number) => [number, number, number];
|
|
65
68
|
readonly gpuixrenderer_focusElement: (a: number, b: number) => [number, number];
|
|
69
|
+
readonly gpuixrenderer_focusNext: (a: number) => [number, number];
|
|
70
|
+
readonly gpuixrenderer_focusPrevious: (a: number) => [number, number];
|
|
66
71
|
readonly gpuixrenderer_getAllText: (a: number) => any;
|
|
67
72
|
readonly gpuixrenderer_getAutomationTree: (a: number) => [number, number, number, number];
|
|
68
73
|
readonly gpuixrenderer_getDebugFrameOverlay: (a: number) => [number, number, number, number];
|
|
@@ -81,6 +86,7 @@ export interface InitOutput {
|
|
|
81
86
|
readonly gpuixrenderer_scrollTo: (a: number, b: number, c: number, d: number) => [number, number];
|
|
82
87
|
readonly gpuixrenderer_scrollToItem: (a: number, b: number, c: number, d: number, e: number) => [number, number];
|
|
83
88
|
readonly gpuixrenderer_setDebugFrameOverlay: (a: number, b: number, c: number) => [number, number, number, number];
|
|
89
|
+
readonly gpuixrenderer_setWindowKeyEvents: (a: number, b: number, c: number, d: number) => [number, number];
|
|
84
90
|
readonly gpuixrenderer_setWindowTitle: (a: number, b: number, c: number) => [number, number];
|
|
85
91
|
readonly gpuixrenderer_simulateClick: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number];
|
|
86
92
|
readonly gpuixrenderer_simulateMouseDown: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number];
|
|
@@ -89,15 +95,15 @@ export interface InitOutput {
|
|
|
89
95
|
readonly gpuixrenderer_simulateScrollWheel: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => [number, number];
|
|
90
96
|
readonly gpuixrenderer_tick: (a: number) => void;
|
|
91
97
|
readonly wasm_thread_entry_point: (a: number) => void;
|
|
92
|
-
readonly
|
|
93
|
-
readonly
|
|
94
|
-
readonly
|
|
95
|
-
readonly
|
|
96
|
-
readonly
|
|
97
|
-
readonly
|
|
98
|
-
readonly
|
|
99
|
-
readonly
|
|
100
|
-
readonly
|
|
98
|
+
readonly wasm_bindgen_356bb7c03a986b83___convert__closures_____invoke___wasm_bindgen_356bb7c03a986b83___JsValue__core_1ab62019a17c031b___result__Result_____wasm_bindgen_356bb7c03a986b83___JsError___true_: (a: number, b: number, c: any) => [number, number];
|
|
99
|
+
readonly wasm_bindgen_356bb7c03a986b83___convert__closures_____invoke___js_sys_aa1e2272b5242bfb___Function_fn_wasm_bindgen_356bb7c03a986b83___JsValue_____wasm_bindgen_356bb7c03a986b83___sys__Undefined___js_sys_aa1e2272b5242bfb___Function_fn_wasm_bindgen_356bb7c03a986b83___JsValue_____wasm_bindgen_356bb7c03a986b83___sys__Undefined_______true_: (a: number, b: number, c: any, d: any) => void;
|
|
100
|
+
readonly wasm_bindgen_356bb7c03a986b83___convert__closures_____invoke___wasm_bindgen_356bb7c03a986b83___JsValue______true_: (a: number, b: number, c: any) => void;
|
|
101
|
+
readonly wasm_bindgen_356bb7c03a986b83___convert__closures_____invoke___js_sys_aa1e2272b5242bfb___futures__task__wait_async_polyfill__MessageEvent______true_: (a: number, b: number, c: any) => void;
|
|
102
|
+
readonly wasm_bindgen_356bb7c03a986b83___convert__closures_____invoke___js_sys_aa1e2272b5242bfb___Array______true_: (a: number, b: number, c: any) => void;
|
|
103
|
+
readonly wasm_bindgen_356bb7c03a986b83___convert__closures_____invoke___wasm_bindgen_356bb7c03a986b83___JsValue______true__4: (a: number, b: number, c: any) => void;
|
|
104
|
+
readonly wasm_bindgen_356bb7c03a986b83___convert__closures_____invoke___js_sys_aa1e2272b5242bfb___Array______true__5: (a: number, b: number, c: any) => void;
|
|
105
|
+
readonly wasm_bindgen_356bb7c03a986b83___convert__closures________invoke___web_sys_22e09b49796773a8___features__gen_MessageEvent__MessageEvent______true_: (a: number, b: number, c: any) => void;
|
|
106
|
+
readonly wasm_bindgen_356bb7c03a986b83___convert__closures_____invoke_______true_: (a: number, b: number) => void;
|
|
101
107
|
readonly memory: WebAssembly.Memory;
|
|
102
108
|
readonly __wbindgen_malloc_command_export: (a: number, b: number) => number;
|
|
103
109
|
readonly __wbindgen_realloc_command_export: (a: number, b: number, c: number, d: number) => number;
|
package/wasm/gpuix-web.js
CHANGED
|
@@ -84,6 +84,18 @@ export class GpuixRenderer {
|
|
|
84
84
|
throw takeFromExternrefTable0(ret[0]);
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
|
+
focusNext() {
|
|
88
|
+
const ret = wasm.gpuixrenderer_focusNext(this.__wbg_ptr);
|
|
89
|
+
if (ret[1]) {
|
|
90
|
+
throw takeFromExternrefTable0(ret[0]);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
focusPrevious() {
|
|
94
|
+
const ret = wasm.gpuixrenderer_focusPrevious(this.__wbg_ptr);
|
|
95
|
+
if (ret[1]) {
|
|
96
|
+
throw takeFromExternrefTable0(ret[0]);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
87
99
|
/**
|
|
88
100
|
* @returns {any}
|
|
89
101
|
*/
|
|
@@ -290,6 +302,17 @@ export class GpuixRenderer {
|
|
|
290
302
|
wasm.__wbindgen_free_command_export(deferred3_0, deferred3_1, 1);
|
|
291
303
|
}
|
|
292
304
|
}
|
|
305
|
+
/**
|
|
306
|
+
* @param {boolean} key_down
|
|
307
|
+
* @param {boolean} key_up
|
|
308
|
+
* @param {number} event_id
|
|
309
|
+
*/
|
|
310
|
+
setWindowKeyEvents(key_down, key_up, event_id) {
|
|
311
|
+
const ret = wasm.gpuixrenderer_setWindowKeyEvents(this.__wbg_ptr, key_down, key_up, event_id);
|
|
312
|
+
if (ret[1]) {
|
|
313
|
+
throw takeFromExternrefTable0(ret[0]);
|
|
314
|
+
}
|
|
315
|
+
}
|
|
293
316
|
/**
|
|
294
317
|
* @param {string} title
|
|
295
318
|
*/
|
|
@@ -1789,7 +1812,7 @@ function __wbg_get_imports(memory) {
|
|
|
1789
1812
|
const a = state0.a;
|
|
1790
1813
|
state0.a = 0;
|
|
1791
1814
|
try {
|
|
1792
|
-
return
|
|
1815
|
+
return wasm_bindgen_356bb7c03a986b83___convert__closures_____invoke___js_sys_aa1e2272b5242bfb___Function_fn_wasm_bindgen_356bb7c03a986b83___JsValue_____wasm_bindgen_356bb7c03a986b83___sys__Undefined___js_sys_aa1e2272b5242bfb___Function_fn_wasm_bindgen_356bb7c03a986b83___JsValue_____wasm_bindgen_356bb7c03a986b83___sys__Undefined_______true_(a, state0.b, arg0, arg1);
|
|
1793
1816
|
} finally {
|
|
1794
1817
|
state0.a = a;
|
|
1795
1818
|
}
|
|
@@ -3071,43 +3094,43 @@ function __wbg_get_imports(memory) {
|
|
|
3071
3094
|
arg0.writeTexture(arg1, getArrayU8FromWasm0(arg2, arg3), arg4, arg5);
|
|
3072
3095
|
}, arguments); },
|
|
3073
3096
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
3074
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
3075
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3097
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 2216, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3098
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_356bb7c03a986b83___convert__closures_____invoke___wasm_bindgen_356bb7c03a986b83___JsValue______true_);
|
|
3076
3099
|
return ret;
|
|
3077
3100
|
},
|
|
3078
3101
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
3079
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
3080
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3102
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 7016, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
3103
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_356bb7c03a986b83___convert__closures_____invoke___wasm_bindgen_356bb7c03a986b83___JsValue__core_1ab62019a17c031b___result__Result_____wasm_bindgen_356bb7c03a986b83___JsError___true_);
|
|
3081
3104
|
return ret;
|
|
3082
3105
|
},
|
|
3083
3106
|
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
|
3084
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
3085
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3107
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 7038, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3108
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_356bb7c03a986b83___convert__closures_____invoke___js_sys_aa1e2272b5242bfb___futures__task__wait_async_polyfill__MessageEvent______true_);
|
|
3086
3109
|
return ret;
|
|
3087
3110
|
},
|
|
3088
3111
|
__wbindgen_cast_0000000000000004: function(arg0, arg1) {
|
|
3089
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx:
|
|
3090
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3112
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 1358, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3113
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_356bb7c03a986b83___convert__closures_____invoke___js_sys_aa1e2272b5242bfb___Array______true_);
|
|
3091
3114
|
return ret;
|
|
3092
3115
|
},
|
|
3093
3116
|
__wbindgen_cast_0000000000000005: function(arg0, arg1) {
|
|
3094
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPUUncapturedErrorEvent")], shim_idx:
|
|
3095
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3117
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPUUncapturedErrorEvent")], shim_idx: 2216, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3118
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_356bb7c03a986b83___convert__closures_____invoke___wasm_bindgen_356bb7c03a986b83___JsValue______true__4);
|
|
3096
3119
|
return ret;
|
|
3097
3120
|
},
|
|
3098
3121
|
__wbindgen_cast_0000000000000006: function(arg0, arg1) {
|
|
3099
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("IdleDeadline")], shim_idx:
|
|
3100
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3122
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("IdleDeadline")], shim_idx: 1358, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3123
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_356bb7c03a986b83___convert__closures_____invoke___js_sys_aa1e2272b5242bfb___Array______true__5);
|
|
3101
3124
|
return ret;
|
|
3102
3125
|
},
|
|
3103
3126
|
__wbindgen_cast_0000000000000007: function(arg0, arg1) {
|
|
3104
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Ref(NamedExternref("MessageEvent"))], shim_idx:
|
|
3105
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3127
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Ref(NamedExternref("MessageEvent"))], shim_idx: 6984, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3128
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_356bb7c03a986b83___convert__closures________invoke___web_sys_22e09b49796773a8___features__gen_MessageEvent__MessageEvent______true_);
|
|
3106
3129
|
return ret;
|
|
3107
3130
|
},
|
|
3108
3131
|
__wbindgen_cast_0000000000000008: function(arg0, arg1) {
|
|
3109
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
3110
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3132
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 1361, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3133
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_356bb7c03a986b83___convert__closures_____invoke_______true_);
|
|
3111
3134
|
return ret;
|
|
3112
3135
|
},
|
|
3113
3136
|
__wbindgen_cast_0000000000000009: function(arg0) {
|
|
@@ -3178,7 +3201,7 @@ function __wbg_get_imports(memory) {
|
|
|
3178
3201
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3179
3202
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3180
3203
|
},
|
|
3181
|
-
memory: memory || new WebAssembly.Memory({initial:
|
|
3204
|
+
memory: memory || new WebAssembly.Memory({initial:88,maximum:16384,shared:true}),
|
|
3182
3205
|
};
|
|
3183
3206
|
return {
|
|
3184
3207
|
__proto__: null,
|
|
@@ -3186,43 +3209,43 @@ function __wbg_get_imports(memory) {
|
|
|
3186
3209
|
};
|
|
3187
3210
|
}
|
|
3188
3211
|
|
|
3189
|
-
function
|
|
3190
|
-
wasm.
|
|
3212
|
+
function wasm_bindgen_356bb7c03a986b83___convert__closures_____invoke_______true_(arg0, arg1) {
|
|
3213
|
+
wasm.wasm_bindgen_356bb7c03a986b83___convert__closures_____invoke_______true_(arg0, arg1);
|
|
3191
3214
|
}
|
|
3192
3215
|
|
|
3193
|
-
function
|
|
3194
|
-
wasm.
|
|
3216
|
+
function wasm_bindgen_356bb7c03a986b83___convert__closures_____invoke___wasm_bindgen_356bb7c03a986b83___JsValue______true_(arg0, arg1, arg2) {
|
|
3217
|
+
wasm.wasm_bindgen_356bb7c03a986b83___convert__closures_____invoke___wasm_bindgen_356bb7c03a986b83___JsValue______true_(arg0, arg1, arg2);
|
|
3195
3218
|
}
|
|
3196
3219
|
|
|
3197
|
-
function
|
|
3198
|
-
wasm.
|
|
3220
|
+
function wasm_bindgen_356bb7c03a986b83___convert__closures_____invoke___js_sys_aa1e2272b5242bfb___futures__task__wait_async_polyfill__MessageEvent______true_(arg0, arg1, arg2) {
|
|
3221
|
+
wasm.wasm_bindgen_356bb7c03a986b83___convert__closures_____invoke___js_sys_aa1e2272b5242bfb___futures__task__wait_async_polyfill__MessageEvent______true_(arg0, arg1, arg2);
|
|
3199
3222
|
}
|
|
3200
3223
|
|
|
3201
|
-
function
|
|
3202
|
-
wasm.
|
|
3224
|
+
function wasm_bindgen_356bb7c03a986b83___convert__closures_____invoke___js_sys_aa1e2272b5242bfb___Array______true_(arg0, arg1, arg2) {
|
|
3225
|
+
wasm.wasm_bindgen_356bb7c03a986b83___convert__closures_____invoke___js_sys_aa1e2272b5242bfb___Array______true_(arg0, arg1, arg2);
|
|
3203
3226
|
}
|
|
3204
3227
|
|
|
3205
|
-
function
|
|
3206
|
-
wasm.
|
|
3228
|
+
function wasm_bindgen_356bb7c03a986b83___convert__closures_____invoke___wasm_bindgen_356bb7c03a986b83___JsValue______true__4(arg0, arg1, arg2) {
|
|
3229
|
+
wasm.wasm_bindgen_356bb7c03a986b83___convert__closures_____invoke___wasm_bindgen_356bb7c03a986b83___JsValue______true__4(arg0, arg1, arg2);
|
|
3207
3230
|
}
|
|
3208
3231
|
|
|
3209
|
-
function
|
|
3210
|
-
wasm.
|
|
3232
|
+
function wasm_bindgen_356bb7c03a986b83___convert__closures_____invoke___js_sys_aa1e2272b5242bfb___Array______true__5(arg0, arg1, arg2) {
|
|
3233
|
+
wasm.wasm_bindgen_356bb7c03a986b83___convert__closures_____invoke___js_sys_aa1e2272b5242bfb___Array______true__5(arg0, arg1, arg2);
|
|
3211
3234
|
}
|
|
3212
3235
|
|
|
3213
|
-
function
|
|
3214
|
-
wasm.
|
|
3236
|
+
function wasm_bindgen_356bb7c03a986b83___convert__closures________invoke___web_sys_22e09b49796773a8___features__gen_MessageEvent__MessageEvent______true_(arg0, arg1, arg2) {
|
|
3237
|
+
wasm.wasm_bindgen_356bb7c03a986b83___convert__closures________invoke___web_sys_22e09b49796773a8___features__gen_MessageEvent__MessageEvent______true_(arg0, arg1, arg2);
|
|
3215
3238
|
}
|
|
3216
3239
|
|
|
3217
|
-
function
|
|
3218
|
-
const ret = wasm.
|
|
3240
|
+
function wasm_bindgen_356bb7c03a986b83___convert__closures_____invoke___wasm_bindgen_356bb7c03a986b83___JsValue__core_1ab62019a17c031b___result__Result_____wasm_bindgen_356bb7c03a986b83___JsError___true_(arg0, arg1, arg2) {
|
|
3241
|
+
const ret = wasm.wasm_bindgen_356bb7c03a986b83___convert__closures_____invoke___wasm_bindgen_356bb7c03a986b83___JsValue__core_1ab62019a17c031b___result__Result_____wasm_bindgen_356bb7c03a986b83___JsError___true_(arg0, arg1, arg2);
|
|
3219
3242
|
if (ret[1]) {
|
|
3220
3243
|
throw takeFromExternrefTable0(ret[0]);
|
|
3221
3244
|
}
|
|
3222
3245
|
}
|
|
3223
3246
|
|
|
3224
|
-
function
|
|
3225
|
-
wasm.
|
|
3247
|
+
function wasm_bindgen_356bb7c03a986b83___convert__closures_____invoke___js_sys_aa1e2272b5242bfb___Function_fn_wasm_bindgen_356bb7c03a986b83___JsValue_____wasm_bindgen_356bb7c03a986b83___sys__Undefined___js_sys_aa1e2272b5242bfb___Function_fn_wasm_bindgen_356bb7c03a986b83___JsValue_____wasm_bindgen_356bb7c03a986b83___sys__Undefined_______true_(arg0, arg1, arg2, arg3) {
|
|
3248
|
+
wasm.wasm_bindgen_356bb7c03a986b83___convert__closures_____invoke___js_sys_aa1e2272b5242bfb___Function_fn_wasm_bindgen_356bb7c03a986b83___JsValue_____wasm_bindgen_356bb7c03a986b83___sys__Undefined___js_sys_aa1e2272b5242bfb___Function_fn_wasm_bindgen_356bb7c03a986b83___JsValue_____wasm_bindgen_356bb7c03a986b83___sys__Undefined_______true_(arg0, arg1, arg2, arg3);
|
|
3226
3249
|
}
|
|
3227
3250
|
|
|
3228
3251
|
|
package/wasm/gpuix-web_bg.wasm
CHANGED
|
Binary file
|
|
@@ -9,6 +9,8 @@ export const gpuixrenderer_clockPause: (a: number) => [number, number, number];
|
|
|
9
9
|
export const gpuixrenderer_clockResume: (a: number) => [number, number, number];
|
|
10
10
|
export const gpuixrenderer_clockSet: (a: number, b: number) => [number, number, number];
|
|
11
11
|
export const gpuixrenderer_focusElement: (a: number, b: number) => [number, number];
|
|
12
|
+
export const gpuixrenderer_focusNext: (a: number) => [number, number];
|
|
13
|
+
export const gpuixrenderer_focusPrevious: (a: number) => [number, number];
|
|
12
14
|
export const gpuixrenderer_getAllText: (a: number) => any;
|
|
13
15
|
export const gpuixrenderer_getAutomationTree: (a: number) => [number, number, number, number];
|
|
14
16
|
export const gpuixrenderer_getDebugFrameOverlay: (a: number) => [number, number, number, number];
|
|
@@ -27,6 +29,7 @@ export const gpuixrenderer_requiresTick: (a: number) => number;
|
|
|
27
29
|
export const gpuixrenderer_scrollTo: (a: number, b: number, c: number, d: number) => [number, number];
|
|
28
30
|
export const gpuixrenderer_scrollToItem: (a: number, b: number, c: number, d: number, e: number) => [number, number];
|
|
29
31
|
export const gpuixrenderer_setDebugFrameOverlay: (a: number, b: number, c: number) => [number, number, number, number];
|
|
32
|
+
export const gpuixrenderer_setWindowKeyEvents: (a: number, b: number, c: number, d: number) => [number, number];
|
|
30
33
|
export const gpuixrenderer_setWindowTitle: (a: number, b: number, c: number) => [number, number];
|
|
31
34
|
export const gpuixrenderer_simulateClick: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number];
|
|
32
35
|
export const gpuixrenderer_simulateMouseDown: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number];
|
|
@@ -35,15 +38,15 @@ export const gpuixrenderer_simulateMouseUp: (a: number, b: number, c: number, d:
|
|
|
35
38
|
export const gpuixrenderer_simulateScrollWheel: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => [number, number];
|
|
36
39
|
export const gpuixrenderer_tick: (a: number) => void;
|
|
37
40
|
export const wasm_thread_entry_point: (a: number) => void;
|
|
38
|
-
export const
|
|
39
|
-
export const
|
|
40
|
-
export const
|
|
41
|
-
export const
|
|
42
|
-
export const
|
|
43
|
-
export const
|
|
44
|
-
export const
|
|
45
|
-
export const
|
|
46
|
-
export const
|
|
41
|
+
export const wasm_bindgen_356bb7c03a986b83___convert__closures_____invoke___wasm_bindgen_356bb7c03a986b83___JsValue__core_1ab62019a17c031b___result__Result_____wasm_bindgen_356bb7c03a986b83___JsError___true_: (a: number, b: number, c: any) => [number, number];
|
|
42
|
+
export const wasm_bindgen_356bb7c03a986b83___convert__closures_____invoke___js_sys_aa1e2272b5242bfb___Function_fn_wasm_bindgen_356bb7c03a986b83___JsValue_____wasm_bindgen_356bb7c03a986b83___sys__Undefined___js_sys_aa1e2272b5242bfb___Function_fn_wasm_bindgen_356bb7c03a986b83___JsValue_____wasm_bindgen_356bb7c03a986b83___sys__Undefined_______true_: (a: number, b: number, c: any, d: any) => void;
|
|
43
|
+
export const wasm_bindgen_356bb7c03a986b83___convert__closures_____invoke___wasm_bindgen_356bb7c03a986b83___JsValue______true_: (a: number, b: number, c: any) => void;
|
|
44
|
+
export const wasm_bindgen_356bb7c03a986b83___convert__closures_____invoke___js_sys_aa1e2272b5242bfb___futures__task__wait_async_polyfill__MessageEvent______true_: (a: number, b: number, c: any) => void;
|
|
45
|
+
export const wasm_bindgen_356bb7c03a986b83___convert__closures_____invoke___js_sys_aa1e2272b5242bfb___Array______true_: (a: number, b: number, c: any) => void;
|
|
46
|
+
export const wasm_bindgen_356bb7c03a986b83___convert__closures_____invoke___wasm_bindgen_356bb7c03a986b83___JsValue______true__4: (a: number, b: number, c: any) => void;
|
|
47
|
+
export const wasm_bindgen_356bb7c03a986b83___convert__closures_____invoke___js_sys_aa1e2272b5242bfb___Array______true__5: (a: number, b: number, c: any) => void;
|
|
48
|
+
export const wasm_bindgen_356bb7c03a986b83___convert__closures________invoke___web_sys_22e09b49796773a8___features__gen_MessageEvent__MessageEvent______true_: (a: number, b: number, c: any) => void;
|
|
49
|
+
export const wasm_bindgen_356bb7c03a986b83___convert__closures_____invoke_______true_: (a: number, b: number) => void;
|
|
47
50
|
export const memory: WebAssembly.Memory;
|
|
48
51
|
export const __wbindgen_malloc_command_export: (a: number, b: number) => number;
|
|
49
52
|
export const __wbindgen_realloc_command_export: (a: number, b: number, c: number, d: number) => number;
|