@geastack/geatsc-plugin-gea 0.1.6
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/LICENSE +202 -0
- package/README.md +37 -0
- package/dist/analyze.d.ts +4 -0
- package/dist/analyze.js +195 -0
- package/dist/cpp-canvas-colors.d.ts +4 -0
- package/dist/cpp-canvas-colors.js +226 -0
- package/dist/cpp-field-access.d.ts +49 -0
- package/dist/cpp-field-access.js +144 -0
- package/dist/cpp-ir-dom-style.d.ts +1 -0
- package/dist/cpp-ir-dom-style.js +49 -0
- package/dist/cpp-ir.d.ts +30 -0
- package/dist/cpp-ir.js +2426 -0
- package/dist/cpp-keyed-component-diagnostics.d.ts +8 -0
- package/dist/cpp-keyed-component-diagnostics.js +74 -0
- package/dist/cpp-keyed-list-diagnostics.d.ts +17 -0
- package/dist/cpp-keyed-list-diagnostics.js +84 -0
- package/dist/cpp-mounted-lowering.d.ts +81 -0
- package/dist/cpp-mounted-lowering.js +2235 -0
- package/dist/cpp-mounted.d.ts +25 -0
- package/dist/cpp-mounted.js +1376 -0
- package/dist/cpp-reactive-component-diagnostics.d.ts +2 -0
- package/dist/cpp-reactive-component-diagnostics.js +76 -0
- package/dist/cpp-reactive-component.d.ts +14 -0
- package/dist/cpp-reactive-component.js +349 -0
- package/dist/cpp-replacements.d.ts +14 -0
- package/dist/cpp-replacements.js +787 -0
- package/dist/cpp-source-replacements.d.ts +11 -0
- package/dist/cpp-source-replacements.js +257 -0
- package/dist/cpp-store-hub.d.ts +7 -0
- package/dist/cpp-store-hub.js +160 -0
- package/dist/cpp-store-method-body-parser.d.ts +2 -0
- package/dist/cpp-store-method-body-parser.js +392 -0
- package/dist/cpp-store-method-context.d.ts +48 -0
- package/dist/cpp-store-method-context.js +114 -0
- package/dist/cpp-store-method-expressions.d.ts +12 -0
- package/dist/cpp-store-method-expressions.js +1263 -0
- package/dist/cpp-store-method-replacements.d.ts +5 -0
- package/dist/cpp-store-method-replacements.js +1521 -0
- package/dist/cpp-store-method-targets.d.ts +19 -0
- package/dist/cpp-store-method-targets.js +296 -0
- package/dist/cpp-store-typed-arrays.d.ts +2 -0
- package/dist/cpp-store-typed-arrays.js +655 -0
- package/dist/cpp-stores.d.ts +73 -0
- package/dist/cpp-stores.js +1739 -0
- package/dist/cpp-template-renderer.d.ts +23 -0
- package/dist/cpp-template-renderer.js +3530 -0
- package/dist/css-style-declaration-shims.d.ts +3 -0
- package/dist/css-style-declaration-shims.js +47 -0
- package/dist/host-declarations.d.ts +11 -0
- package/dist/host-declarations.js +320 -0
- package/dist/host-shims.d.ts +3 -0
- package/dist/host-shims.js +3217 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +1239 -0
- package/dist/load-ir.d.ts +7 -0
- package/dist/load-ir.js +40 -0
- package/dist/types.d.ts +604 -0
- package/dist/types.js +1 -0
- package/dist/utils.d.ts +26 -0
- package/dist/utils.js +723 -0
- package/dist/validate.d.ts +3 -0
- package/dist/validate.js +226 -0
- package/package.json +57 -0
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { HostShimDefinitions } from './types.js';
|
|
2
|
+
export declare const CSS_STYLE_DECLARATION_NATIVE_TYPES: NonNullable<HostShimDefinitions['nativeTypes']>;
|
|
3
|
+
export declare const CSS_STYLE_DECLARATION_NATIVE_MEMBER_METHODS: NonNullable<HostShimDefinitions['nativeMemberMethods']>;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
// CSSStyleDeclaration / Element.style native-handle mapping. The embedded
|
|
2
|
+
// backend already returns a concrete `gea::embedded::ui::Style` handle from
|
|
3
|
+
// `NodeHandle::style()` (see the `style` getter in host-shims.ts's
|
|
4
|
+
// `nativeMemberPropertyGetters`), but a CAPTURED `const style = el.style`
|
|
5
|
+
// local — exactly the shape gea's own `reactiveStyle`/`reactiveStyleProp`
|
|
6
|
+
// runtime helpers use (packages/gea/src/runtime/reactive-style.ts) — carries
|
|
7
|
+
// the DOM-declared `CSSStyleDeclaration` type for ITS OWN storage, and that
|
|
8
|
+
// type had no entry in `nativeTypes`. Without one, the captured variable
|
|
9
|
+
// resolved to a boxed `gea_cpp_value` record instead of the concrete `Style`
|
|
10
|
+
// handle the getter already hands back, so `style.setProperty(...)` /
|
|
11
|
+
// `style.removeProperty(...)` on the STORED variable (as opposed to a
|
|
12
|
+
// one-shot `el.style.setProperty(...)`) found no native call target and
|
|
13
|
+
// declined to a dynamic ABI bridge. See
|
|
14
|
+
// docs/campaign/findings/consolidated-census-and-tails-20260818.md, "(B)
|
|
15
|
+
// Missing DOM/host-shim native type — 2 of 60."
|
|
16
|
+
export const CSS_STYLE_DECLARATION_NATIVE_TYPES = {
|
|
17
|
+
CSSStyleDeclaration: 'gea::embedded::ui::Style',
|
|
18
|
+
};
|
|
19
|
+
// A `Style` receiver needs BOTH names covered: geatsc probes a member-call
|
|
20
|
+
// binding with either the resolved TS type display name or the C++ storage
|
|
21
|
+
// type (the same dual-listing pattern `NODE_HANDLE_RECEIVER_TYPES` documents
|
|
22
|
+
// in host-shims.ts for node receivers).
|
|
23
|
+
const STYLE_RECEIVER_TYPES = ['gea::embedded::ui::Style', 'CSSStyleDeclaration'];
|
|
24
|
+
// `packages/engine/ui/style.h`'s `Style` class exposes fixed named setters
|
|
25
|
+
// (width/height/backgroundColor/…) for the compiler's own static style
|
|
26
|
+
// authoring, plus a generic string-keyed `setProperty`/`removeProperty` pair
|
|
27
|
+
// added alongside this shim (see style.h/style.cpp) that delegates to
|
|
28
|
+
// `StyleSheet::instance().applyProperty`/`removeProperty` — the same
|
|
29
|
+
// inline-style path the CSS parser itself already feeds. This is exactly
|
|
30
|
+
// the shape gea's `reactiveStyle`/`reactiveStyleProp` runtime helpers use: a
|
|
31
|
+
// kebab-cased CSS property name plus a stringified value.
|
|
32
|
+
//
|
|
33
|
+
// The emit templates below call the FLAT `gea_ir::domStyleSetProperty`/
|
|
34
|
+
// `domStyleRemoveProperty` free functions (`cpp-ir-dom-style.ts`), not
|
|
35
|
+
// `Style::setProperty`/`removeProperty` directly as a dot-call: this
|
|
36
|
+
// package's receiver-carrying host member CALL producer
|
|
37
|
+
// (`driver/host-member-calls.ts`'s `callSymbolFromReceiverTemplate`) only
|
|
38
|
+
// plans the flat shape `symbol({receiver}, {arg0}, ...)` and declines a
|
|
39
|
+
// dot-call template outright — see that function's own doc comment.
|
|
40
|
+
export const CSS_STYLE_DECLARATION_NATIVE_MEMBER_METHODS = {
|
|
41
|
+
setProperty: [
|
|
42
|
+
{ receiverTypes: STYLE_RECEIVER_TYPES, emit: 'gea_ir::domStyleSetProperty({receiver}, {arg0}, {arg1})', returnType: 'void' },
|
|
43
|
+
],
|
|
44
|
+
removeProperty: [
|
|
45
|
+
{ receiverTypes: STYLE_RECEIVER_TYPES, emit: 'gea_ir::domStyleRemoveProperty({receiver}, {arg0})', returnType: 'bool' },
|
|
46
|
+
],
|
|
47
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The `<virtual-list>` row-height getter's template, stated once.
|
|
3
|
+
*
|
|
4
|
+
* A preamble is keyed by the very text of the member template it belongs to,
|
|
5
|
+
* so the row and its include have to spell that text identically. Exporting
|
|
6
|
+
* the string and using it in both places is what makes that true by
|
|
7
|
+
* construction instead of by matching two literals by eye.
|
|
8
|
+
*/
|
|
9
|
+
export declare const geaVirtualListRowHeightEmit = "static_cast<double>(gea::embedded::ui::VirtualListRenderer::rowHeight(({receiver}).id()))";
|
|
10
|
+
export declare const geaHostHeaderDeclarationToken = "__gea_cpp_api_header";
|
|
11
|
+
export declare const geaHostExternDeclarations: Record<string, string[]>;
|
|
@@ -0,0 +1,320 @@
|
|
|
1
|
+
const geaHostDeclarations = [
|
|
2
|
+
'#ifndef GEA_HOST_DECLARED',
|
|
3
|
+
'#define GEA_HOST_DECLARED 1',
|
|
4
|
+
'#include "gea/embedded.h"',
|
|
5
|
+
'#endif',
|
|
6
|
+
];
|
|
7
|
+
// The `nativeBench` global is backed by an app-owned native translation unit
|
|
8
|
+
// (examples/apps/gea-bench/native/native_bench.{h,cpp}), not by the core
|
|
9
|
+
// embedded runtime. Its declarations live in "native_bench.h", which the app's
|
|
10
|
+
// build wires onto the include path — pull it in wherever a native_bench.* call
|
|
11
|
+
// is emitted so the generated module sees the prototypes.
|
|
12
|
+
const geaNativeBenchDeclarations = [...geaHostDeclarations, '#include "native_bench.h"'];
|
|
13
|
+
// App-owned EPUB ZIP/DEFLATE implementation. The e-reader contributes this
|
|
14
|
+
// header and translation unit through gea.nativeSources.
|
|
15
|
+
const geaEpubArchiveDeclarations = [...geaHostDeclarations, '#include "epub_archive.h"'];
|
|
16
|
+
// App-owned device-info facade. The diagnostics app contributes this header and
|
|
17
|
+
// translation unit through gea.nativeSources (portable, per-platform backends).
|
|
18
|
+
const geaDeviceInfoDeclarations = [...geaHostDeclarations, '#include "device_info.h"'];
|
|
19
|
+
// `<virtual-list>`'s measured row height is `VirtualListRenderer::rowHeight`,
|
|
20
|
+
// declared in the engine's own "ui/internal.h" rather than re-exported by
|
|
21
|
+
// "gea/embedded.h" -- the same header this plugin's DOM runtime
|
|
22
|
+
// (host_document_gea.cpp) already includes to read it. The scroll offsets
|
|
23
|
+
// beside it need nothing extra: `Tree::instance().scrollTop` IS reachable
|
|
24
|
+
// through the public header.
|
|
25
|
+
const geaVirtualListDeclarations = [...geaHostDeclarations, '#include "ui/internal.h"'];
|
|
26
|
+
/**
|
|
27
|
+
* The `<virtual-list>` row-height getter's template, stated once.
|
|
28
|
+
*
|
|
29
|
+
* A preamble is keyed by the very text of the member template it belongs to,
|
|
30
|
+
* so the row and its include have to spell that text identically. Exporting
|
|
31
|
+
* the string and using it in both places is what makes that true by
|
|
32
|
+
* construction instead of by matching two literals by eye.
|
|
33
|
+
*/
|
|
34
|
+
export const geaVirtualListRowHeightEmit = 'static_cast<double>(gea::embedded::ui::VirtualListRenderer::rowHeight(({receiver}).id()))';
|
|
35
|
+
export const geaHostHeaderDeclarationToken = '__gea_cpp_api_header';
|
|
36
|
+
const geaImageHostMethods = [
|
|
37
|
+
'loadBytes',
|
|
38
|
+
'loadBytesOpaque',
|
|
39
|
+
'draw',
|
|
40
|
+
'width',
|
|
41
|
+
'height',
|
|
42
|
+
'frameCount',
|
|
43
|
+
'isAnimated',
|
|
44
|
+
'setPlaying',
|
|
45
|
+
'seek',
|
|
46
|
+
'advance',
|
|
47
|
+
'dispose',
|
|
48
|
+
];
|
|
49
|
+
const geaTouchHostMethods = ['read'];
|
|
50
|
+
const geaGeolocationHostMethods = [
|
|
51
|
+
'hasFix',
|
|
52
|
+
'currentPosition',
|
|
53
|
+
'coords',
|
|
54
|
+
'latitude',
|
|
55
|
+
'longitude',
|
|
56
|
+
'accuracy',
|
|
57
|
+
'getCurrentPosition',
|
|
58
|
+
'watchPosition',
|
|
59
|
+
'clearWatch',
|
|
60
|
+
];
|
|
61
|
+
const geaInputHostMethods = ['consumeBackButton'];
|
|
62
|
+
const geaGpioHostMethods = ['configureOutput', 'configureInput', 'write', 'read'];
|
|
63
|
+
const geaLedHostMethods = ['set', 'off', 'attach', 'setPixel', 'show', 'detach'];
|
|
64
|
+
const geaClockHostMethods = ['epochMs'];
|
|
65
|
+
const geaProfilerHostMethods = ['nowUs', 'nowCycles'];
|
|
66
|
+
const geaStorageHostMethods = ['getItem', 'setItem', 'removeItem', 'clear', 'key'];
|
|
67
|
+
const geaBatteryHostMethods = ['level'];
|
|
68
|
+
const geaNotifyHostMethods = ['text', 'seq'];
|
|
69
|
+
const geaDeviceControlHostMethods = ['exec'];
|
|
70
|
+
const geaNativeBenchHostMethods = [
|
|
71
|
+
'loopOverhead', 'arrayRead', 'arrayWrite', 'closure', 'methodCalls', 'mathIntensive',
|
|
72
|
+
'modulo', 'factorial', 'fibonacci', 'nestedLoops', 'matrixMultiply', 'mandelbrot',
|
|
73
|
+
'binaryTrees', 'primeSieve', 'stringConcat', 'objectCreate', 'jsonStringify', 'jsonParse',
|
|
74
|
+
'ttfFontReady', 'ttfFontBytes', 'ttfCMalloc64', 'ttfScaleForSize', 'ttfGlyphIndex',
|
|
75
|
+
'ttfGlyphAdvance', 'ttfGlyphWidth', 'ttfGlyphHeight', 'ttfShapeCount', 'ttfShapeChecksum',
|
|
76
|
+
'ttfFlattenGlyph', 'ttfRasterEmptyStatic', 'ttfManualBoxStatic', 'ttfSortEdgesStatic',
|
|
77
|
+
'ttfScanEdgesStatic', 'ttfRasterBoxSimple', 'ttfRasterBoxStatic', 'ttfRasterGlyphStatic',
|
|
78
|
+
'ttfSpecimenWidth', 'ttfSpecimenHeight', 'ttfSpecimenReady', 'ttfSpecimenColumnBits',
|
|
79
|
+
'ttfColdGlyph', 'ttfColdRun', 'ttfCachedRun',
|
|
80
|
+
];
|
|
81
|
+
const geaEpubArchiveHostMethods = ['inflateRaw', 'parse', 'meta', 'chapter', 'readTextFile', 'writeTextFile', 'coverBytes', 'cacheCover', 'thumbnailCover', 'imageBytes'];
|
|
82
|
+
const geaDeviceInfoHostMethods = ['deviceId', 'platform', 'chipModel', 'chipArch', 'chipRevision', 'cores', 'cpuMhz', 'flashSizeBytes', 'ramSizeBytes', 'uniqueId', 'osVersion', 'resetReason', 'uptimeMs', 'dieTemperatureC'];
|
|
83
|
+
// The `gea3dNative` global is backed by the gea3d library's native engine
|
|
84
|
+
// (gea3d/src/native/gea3d_native.{h,cpp}, vendored into apps under
|
|
85
|
+
// src/gea3d/native/ and wired via the app's `gea.nativeSources`).
|
|
86
|
+
const geaGea3dHostMethods = [
|
|
87
|
+
'createBuffer', 'bufferDataF32', 'bufferDataU32', 'beginFrame',
|
|
88
|
+
'ambientLight', 'directionalLight', 'drawElements', 'endFrame', 'stat',
|
|
89
|
+
];
|
|
90
|
+
const geaGea3dDeclarations = [...geaHostDeclarations, '#include "gea3d_native.h"'];
|
|
91
|
+
const geaMemoryHostMethods = [
|
|
92
|
+
'internalFree',
|
|
93
|
+
'internalLargestFreeBlock',
|
|
94
|
+
'internalMinimumFree',
|
|
95
|
+
'psramFree',
|
|
96
|
+
'currentTaskStackHighWaterMark',
|
|
97
|
+
'geaMainStackBytes',
|
|
98
|
+
'geaInitStackBytes',
|
|
99
|
+
'appFrameStackWords',
|
|
100
|
+
'appFrameStackBytes',
|
|
101
|
+
'displayFlushConfiguredRows',
|
|
102
|
+
'displayFlushConfiguredDepth',
|
|
103
|
+
'displayFlushBufferMaxBytes',
|
|
104
|
+
'displayFlushRows',
|
|
105
|
+
'displayFlushDepth',
|
|
106
|
+
'displayFlushBufferBytes',
|
|
107
|
+
'allocationSramCount',
|
|
108
|
+
'allocationPsramCount',
|
|
109
|
+
'allocationSramBytes',
|
|
110
|
+
'allocationPsramBytes',
|
|
111
|
+
'allocationSramPeakBytes',
|
|
112
|
+
'allocationPsramPeakBytes',
|
|
113
|
+
];
|
|
114
|
+
const rawGeaHostExternDeclarations = Object.fromEntries([
|
|
115
|
+
[geaHostHeaderDeclarationToken, geaHostDeclarations],
|
|
116
|
+
['gea::host::navigator', geaHostDeclarations],
|
|
117
|
+
['gea::host::window', geaHostDeclarations],
|
|
118
|
+
// The `localStorage` global resolves to this facade object; the bare-object
|
|
119
|
+
// decl ensures `localStorage.length` (a member read) pulls in the header.
|
|
120
|
+
['gea::host::Storage', geaHostDeclarations],
|
|
121
|
+
['gea::host::window.innerWidth', geaHostDeclarations],
|
|
122
|
+
['gea::host::window.innerHeight', geaHostDeclarations],
|
|
123
|
+
['gea::host::navigator.userAgent', geaHostDeclarations],
|
|
124
|
+
['gea::host::navigator.language', geaHostDeclarations],
|
|
125
|
+
['gea::host::navigator.platform', geaHostDeclarations],
|
|
126
|
+
['gea::host::navigator.onLine', geaHostDeclarations],
|
|
127
|
+
...geaImageHostMethods.map((method) => [`gea::host::image.${method}`, geaHostDeclarations]),
|
|
128
|
+
...geaTouchHostMethods.map((method) => [`gea::host::touch.${method}`, geaHostDeclarations]),
|
|
129
|
+
...geaMemoryHostMethods.map((method) => [`gea::host::Memory.${method}`, geaHostDeclarations]),
|
|
130
|
+
...geaInputHostMethods.map((method) => [`gea::host::Input.${method}`, geaHostDeclarations]),
|
|
131
|
+
...geaGpioHostMethods.map((method) => [`gea::host::Gpio.${method}`, geaHostDeclarations]),
|
|
132
|
+
...geaLedHostMethods.map((method) => [`gea::host::Led.${method}`, geaHostDeclarations]),
|
|
133
|
+
...geaClockHostMethods.map((method) => [`gea::host::Clock.${method}`, geaHostDeclarations]),
|
|
134
|
+
...geaProfilerHostMethods.map((method) => [`gea::host::Profiler.${method}`, geaHostDeclarations]),
|
|
135
|
+
...geaStorageHostMethods.map((method) => [`gea::host::Storage.${method}`, geaHostDeclarations]),
|
|
136
|
+
...geaBatteryHostMethods.map((method) => [`gea::host::Battery.${method}`, geaHostDeclarations]),
|
|
137
|
+
...geaNotifyHostMethods.map((method) => [`gea::host::Notify.${method}`, geaHostDeclarations]),
|
|
138
|
+
...geaDeviceControlHostMethods.map((method) => [`gea::host::DeviceControl.${method}`, geaHostDeclarations]),
|
|
139
|
+
...geaNativeBenchHostMethods.map((method) => [`gea::host::native_bench::${method}`, geaNativeBenchDeclarations]),
|
|
140
|
+
...geaEpubArchiveHostMethods.map((method) => [`gea::host::epub_archive::${method}`, geaEpubArchiveDeclarations]),
|
|
141
|
+
...geaDeviceInfoHostMethods.map((method) => [`gea::host::device_info::${method}`, geaDeviceInfoDeclarations]),
|
|
142
|
+
...geaGea3dHostMethods.map((method) => [`gea::host::gea3d::${method}`, geaGea3dDeclarations]),
|
|
143
|
+
[geaVirtualListRowHeightEmit, geaVirtualListDeclarations],
|
|
144
|
+
['gea::host::requestAnimationFrame', geaHostDeclarations],
|
|
145
|
+
['gea::host::fetch', geaHostDeclarations],
|
|
146
|
+
['gea::host::fetchAsync', geaHostDeclarations],
|
|
147
|
+
['gea::host::fetchUploadFileAsync', geaHostDeclarations],
|
|
148
|
+
['gea::host::fetchDownloadFileAsync', geaHostDeclarations],
|
|
149
|
+
['gea::host::fetchUploadProgress', geaHostDeclarations],
|
|
150
|
+
['gea::host::fetchUploadSent', geaHostDeclarations],
|
|
151
|
+
['gea::host::fetchUploadTotal', geaHostDeclarations],
|
|
152
|
+
['gea::host::fetchReady', geaHostDeclarations],
|
|
153
|
+
['gea::host::fetchResult', geaHostDeclarations],
|
|
154
|
+
['gea::host::fetchRelease', geaHostDeclarations],
|
|
155
|
+
['gea::host::websocket::create_handle', geaHostDeclarations],
|
|
156
|
+
['gea::host::WebSocket', geaHostDeclarations],
|
|
157
|
+
['gea::host::http::create_server', geaHostDeclarations],
|
|
158
|
+
['gea::host::HttpServer', geaHostDeclarations],
|
|
159
|
+
['gea::host::media::get_user_media_audio', geaHostDeclarations],
|
|
160
|
+
...geaGeolocationHostMethods.map((method) => [`gea::host::navigator.geolocation.${method}`, geaHostDeclarations]),
|
|
161
|
+
['gea::host::MediaStream', geaHostDeclarations],
|
|
162
|
+
['gea::host::MediaStreamTrack', geaHostDeclarations],
|
|
163
|
+
['gea::host::MediaRecorder', geaHostDeclarations],
|
|
164
|
+
['gea::host::MediaRecorderDataEvent', geaHostDeclarations],
|
|
165
|
+
['gea::host::GeaAudioBlob', geaHostDeclarations],
|
|
166
|
+
['gea::host::AudioContext', geaHostDeclarations],
|
|
167
|
+
['gea::host::AudioDestinationNode', geaHostDeclarations],
|
|
168
|
+
['gea::host::AudioBuffer', geaHostDeclarations],
|
|
169
|
+
['gea::host::AudioBufferSourceNode', geaHostDeclarations],
|
|
170
|
+
['gea::host::AudioParam', geaHostDeclarations],
|
|
171
|
+
['gea::host::OscillatorNode', geaHostDeclarations],
|
|
172
|
+
['gea::host::rtc::create_handle', geaHostDeclarations],
|
|
173
|
+
['gea::host::RTCPeerConnection', geaHostDeclarations],
|
|
174
|
+
['gea::host::Math.random', geaHostDeclarations],
|
|
175
|
+
['gea::host::HTMLAudioElement', geaHostDeclarations],
|
|
176
|
+
['gea::host::audioContext', geaHostDeclarations],
|
|
177
|
+
['gea::host::audioContext.createOscillator', geaHostDeclarations],
|
|
178
|
+
['gea::host::audioContext.createBufferSource', geaHostDeclarations],
|
|
179
|
+
['gea::host::audioContext.decodeAudioData', geaHostDeclarations],
|
|
180
|
+
['gea::host::audioContext.currentTime', geaHostDeclarations],
|
|
181
|
+
['gea::host::audioContext.destination', geaHostDeclarations],
|
|
182
|
+
['gea::host::apps.launch', geaHostDeclarations],
|
|
183
|
+
['gea::host::Audio.getVolume', geaHostDeclarations],
|
|
184
|
+
['gea::host::Audio.setVolume', geaHostDeclarations],
|
|
185
|
+
['gea::host::Display.ctx', geaHostDeclarations],
|
|
186
|
+
['gea::host::Display.width', geaHostDeclarations],
|
|
187
|
+
['gea::host::Display.height', geaHostDeclarations],
|
|
188
|
+
['gea::host::Display.nativeWidth', geaHostDeclarations],
|
|
189
|
+
['gea::host::Display.nativeHeight', geaHostDeclarations],
|
|
190
|
+
['gea::host::Display.getBrightness', geaHostDeclarations],
|
|
191
|
+
['gea::host::Display.setBrightness', geaHostDeclarations],
|
|
192
|
+
['gea::host::Display.getDevicePixelRatio', geaHostDeclarations],
|
|
193
|
+
['gea::host::Display.setDevicePixelRatio', geaHostDeclarations],
|
|
194
|
+
['gea::host::Display.getFrameIntervalMs', geaHostDeclarations],
|
|
195
|
+
['gea::host::Display.setFrameIntervalMs', geaHostDeclarations],
|
|
196
|
+
['gea::host::Display.getFrameRate', geaHostDeclarations],
|
|
197
|
+
['gea::host::Display.setFrameRate', geaHostDeclarations],
|
|
198
|
+
['gea::host::Display.orientation', geaHostDeclarations],
|
|
199
|
+
['gea::host::Display.getOrientation', geaHostDeclarations],
|
|
200
|
+
['gea::host::Display.setOrientation', geaHostDeclarations],
|
|
201
|
+
['gea::host::Display.supportedOrientations', geaHostDeclarations],
|
|
202
|
+
['gea::host::Display.getSupportedOrientations', geaHostDeclarations],
|
|
203
|
+
['gea::host::Display.setSupportedOrientations', geaHostDeclarations],
|
|
204
|
+
['gea::host::Display.autoRotate', geaHostDeclarations],
|
|
205
|
+
['gea::host::Display.getAutoRotate', geaHostDeclarations],
|
|
206
|
+
['gea::host::Display.setAutoRotate', geaHostDeclarations],
|
|
207
|
+
['gea::host::Display.setVSync', geaHostDeclarations],
|
|
208
|
+
['gea::host::Display.setTextRasterCache', geaHostDeclarations],
|
|
209
|
+
['gea::host::Display.invalidate', geaHostDeclarations],
|
|
210
|
+
['gea::host::Display.pixelFormat', geaHostDeclarations],
|
|
211
|
+
['gea::host::Display.getPixelFormat', geaHostDeclarations],
|
|
212
|
+
['gea::host::Display.setPixelFormat', geaHostDeclarations],
|
|
213
|
+
['gea::host::Display.panelPixelFormat', geaHostDeclarations],
|
|
214
|
+
['gea::host::Display.getPanelPixelFormat', geaHostDeclarations],
|
|
215
|
+
['gea::host::Display.supportedPixelFormats', geaHostDeclarations],
|
|
216
|
+
['gea::host::Display.getSupportedPixelFormats', geaHostDeclarations],
|
|
217
|
+
['gea::host::Display.setAA', geaHostDeclarations],
|
|
218
|
+
['gea::host::Display.setFlushConfig', geaHostDeclarations],
|
|
219
|
+
['gea::host::Display.setMemoryConfig', geaHostDeclarations],
|
|
220
|
+
['gea::host::navigator.bluetooth.init', geaHostDeclarations],
|
|
221
|
+
['gea::host::navigator.bluetooth.enabled', geaHostDeclarations],
|
|
222
|
+
['gea::host::navigator.bluetooth.setEnabled', geaHostDeclarations],
|
|
223
|
+
['gea::host::navigator.bluetooth.startAdvertising', geaHostDeclarations],
|
|
224
|
+
['gea::host::navigator.bluetooth.stopAdvertising', geaHostDeclarations],
|
|
225
|
+
['gea::host::navigator.bluetooth.connected', geaHostDeclarations],
|
|
226
|
+
['gea::host::navigator.bluetooth.bound', geaHostDeclarations],
|
|
227
|
+
['gea::host::navigator.bluetooth.batteryLevel', geaHostDeclarations],
|
|
228
|
+
['gea::host::navigator.bluetooth.mac', geaHostDeclarations],
|
|
229
|
+
['gea::host::navigator.bluetooth.deviceName', geaHostDeclarations],
|
|
230
|
+
['gea::host::navigator.bluetooth.keyboard.tap', geaHostDeclarations],
|
|
231
|
+
['gea::host::navigator.bluetooth.keyboard.down', geaHostDeclarations],
|
|
232
|
+
['gea::host::navigator.bluetooth.keyboard.up', geaHostDeclarations],
|
|
233
|
+
['gea::host::navigator.bluetooth.mouse.move', geaHostDeclarations],
|
|
234
|
+
['gea::host::navigator.bluetooth.mouse.click', geaHostDeclarations],
|
|
235
|
+
['gea::host::navigator.bluetooth.midi.enable', geaHostDeclarations],
|
|
236
|
+
['gea::host::navigator.bluetooth.midi.bound', geaHostDeclarations],
|
|
237
|
+
['gea::host::navigator.bluetooth.midi.send', geaHostDeclarations],
|
|
238
|
+
['gea::host::navigator.bluetooth.midi.startScan', geaHostDeclarations],
|
|
239
|
+
['gea::host::navigator.bluetooth.midi.stopScan', geaHostDeclarations],
|
|
240
|
+
['gea::host::navigator.bluetooth.midi.scanning', geaHostDeclarations],
|
|
241
|
+
['gea::host::navigator.bluetooth.midi.scanCount', geaHostDeclarations],
|
|
242
|
+
['gea::host::navigator.bluetooth.midi.scanNameAt', geaHostDeclarations],
|
|
243
|
+
['gea::host::navigator.bluetooth.midi.connect', geaHostDeclarations],
|
|
244
|
+
['gea::host::navigator.bluetooth.midi.disconnect', geaHostDeclarations],
|
|
245
|
+
['gea::host::navigator.bluetooth.hidHost.startScan', geaHostDeclarations],
|
|
246
|
+
['gea::host::navigator.bluetooth.hidHost.stopScan', geaHostDeclarations],
|
|
247
|
+
['gea::host::navigator.bluetooth.hidHost.scanning', geaHostDeclarations],
|
|
248
|
+
['gea::host::navigator.bluetooth.hidHost.scanCount', geaHostDeclarations],
|
|
249
|
+
['gea::host::navigator.bluetooth.hidHost.scanNameAt', geaHostDeclarations],
|
|
250
|
+
['gea::host::navigator.bluetooth.hidHost.connect', geaHostDeclarations],
|
|
251
|
+
['gea::host::navigator.bluetooth.hidHost.disconnect', geaHostDeclarations],
|
|
252
|
+
['gea::host::navigator.bluetooth.hidHost.bound', geaHostDeclarations],
|
|
253
|
+
['gea::host::navigator.bluetooth.hidHost.reportCount', geaHostDeclarations],
|
|
254
|
+
['gea::host::navigator.bluetooth.hidHost.reportIdAt', geaHostDeclarations],
|
|
255
|
+
['gea::host::navigator.bluetooth.hidHost.reportLenAt', geaHostDeclarations],
|
|
256
|
+
['gea::host::navigator.bluetooth.hidHost.reportByteAt', geaHostDeclarations],
|
|
257
|
+
['gea::host::navigator.bluetooth.hidHost.clearReports', geaHostDeclarations],
|
|
258
|
+
['gea::host::navigator.bluetooth.connections.count', geaHostDeclarations],
|
|
259
|
+
['gea::host::navigator.bluetooth.connections.kindAt', geaHostDeclarations],
|
|
260
|
+
['gea::host::navigator.bluetooth.connections.nameAt', geaHostDeclarations],
|
|
261
|
+
['gea::host::navigator.bluetooth.config.setDocument', geaHostDeclarations],
|
|
262
|
+
['gea::host::navigator.bluetooth.config.pendingLength', geaHostDeclarations],
|
|
263
|
+
['gea::host::navigator.bluetooth.config.pendingByteAt', geaHostDeclarations],
|
|
264
|
+
['gea::host::navigator.bluetooth.config.consumePending', geaHostDeclarations],
|
|
265
|
+
['gea::host::navigator.bluetooth.config.pairing', geaHostDeclarations],
|
|
266
|
+
['gea::host::navigator.bluetooth.config.pairCode', geaHostDeclarations],
|
|
267
|
+
['gea::host::navigator.bluetooth.config.dismissPairing', geaHostDeclarations],
|
|
268
|
+
['gea::host::navigator.bluetooth.config.pushActivity', geaHostDeclarations],
|
|
269
|
+
['gea::host::navigator.wifi.enabled', geaHostDeclarations],
|
|
270
|
+
['gea::host::navigator.wifi.setEnabled', geaHostDeclarations],
|
|
271
|
+
['gea::host::navigator.wifi.connected', geaHostDeclarations],
|
|
272
|
+
['gea::host::navigator.wifi.rssi', geaHostDeclarations],
|
|
273
|
+
['gea::host::navigator.wifi.ssid', geaHostDeclarations],
|
|
274
|
+
['gea::host::navigator.wifi.ip', geaHostDeclarations],
|
|
275
|
+
['gea::host::navigator.wifi.mac', geaHostDeclarations],
|
|
276
|
+
['gea::host::navigator.wifi.configure', geaHostDeclarations],
|
|
277
|
+
['gea::host::navigator.wifi.waitForConnection', geaHostDeclarations],
|
|
278
|
+
['gea::host::navigator.wifi.startScan', geaHostDeclarations],
|
|
279
|
+
['gea::host::navigator.wifi.scanning', geaHostDeclarations],
|
|
280
|
+
['gea::host::navigator.wifi.scanCount', geaHostDeclarations],
|
|
281
|
+
['gea::host::navigator.wifi.network', geaHostDeclarations],
|
|
282
|
+
['gea::host::navigator.wifi.scanSsidAt', geaHostDeclarations],
|
|
283
|
+
['gea::host::navigator.wifi.scanRssiAt', geaHostDeclarations],
|
|
284
|
+
['gea::host::navigator.wifi.scanSecuredAt', geaHostDeclarations],
|
|
285
|
+
['gea::host::Accelerometer.start', geaHostDeclarations],
|
|
286
|
+
['gea::host::Accelerometer.init', geaHostDeclarations],
|
|
287
|
+
['gea::host::Accelerometer.close', geaHostDeclarations],
|
|
288
|
+
['gea::host::Accelerometer.calibrateBias', geaHostDeclarations],
|
|
289
|
+
['gea::host::Accelerometer.tiltX', geaHostDeclarations],
|
|
290
|
+
['gea::host::Accelerometer.tiltY', geaHostDeclarations],
|
|
291
|
+
['gea::host::Accelerometer.x', geaHostDeclarations],
|
|
292
|
+
['gea::host::Accelerometer.y', geaHostDeclarations],
|
|
293
|
+
['gea::host::Accelerometer.z', geaHostDeclarations],
|
|
294
|
+
['gea::host::Accelerometer.accelerationX', geaHostDeclarations],
|
|
295
|
+
['gea::host::Accelerometer.accelerationY', geaHostDeclarations],
|
|
296
|
+
['gea::host::Accelerometer.accelerationZ', geaHostDeclarations],
|
|
297
|
+
['gea::host::Accelerometer.gyroscopeX', geaHostDeclarations],
|
|
298
|
+
['gea::host::Accelerometer.gyroscopeY', geaHostDeclarations],
|
|
299
|
+
['gea::host::Accelerometer.gyroscopeZ', geaHostDeclarations],
|
|
300
|
+
['gea::host::Camera.isAvailable', geaHostDeclarations],
|
|
301
|
+
['gea::host::Camera.hasPermission', geaHostDeclarations],
|
|
302
|
+
['gea::host::Camera.requestPermission', geaHostDeclarations],
|
|
303
|
+
['gea::host::Camera.open', geaHostDeclarations],
|
|
304
|
+
['gea::host::Camera.close', geaHostDeclarations],
|
|
305
|
+
['gea::host::Camera.isOpen', geaHostDeclarations],
|
|
306
|
+
['gea::host::Camera.width', geaHostDeclarations],
|
|
307
|
+
['gea::host::Camera.height', geaHostDeclarations],
|
|
308
|
+
['gea::host::Camera.orientation', geaHostDeclarations],
|
|
309
|
+
['gea::host::Camera.facing', geaHostDeclarations],
|
|
310
|
+
['gea::host::Camera.deviceCount', geaHostDeclarations],
|
|
311
|
+
['gea::host::Camera.deviceIdAt', geaHostDeclarations],
|
|
312
|
+
['gea::host::Camera.deviceFacingAt', geaHostDeclarations],
|
|
313
|
+
['gea::host::Camera.draw', geaHostDeclarations],
|
|
314
|
+
['gea::host::Camera.capture', geaHostDeclarations],
|
|
315
|
+
['gea::host::Camera.captureMirrored', geaHostDeclarations],
|
|
316
|
+
['gea::host::Camera.setFlash', geaHostDeclarations],
|
|
317
|
+
['gea::host::Camera.setZoom', geaHostDeclarations],
|
|
318
|
+
['gea::host::Camera.setMirror', geaHostDeclarations]
|
|
319
|
+
]);
|
|
320
|
+
export const geaHostExternDeclarations = rawGeaHostExternDeclarations;
|