@g9tm/lynxcontrols-web 0.0.0-stage → 2.4.1

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 CHANGED
@@ -1,3 +1,108 @@
1
- # Temporary Holding Version
1
+ # @g9tm/lynxcontrols-web
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ The web platform layer for **Lynx for Web** (`@lynx-js/web-core`, a `<lynx-view>` in a page): the browser's
4
+ counterpart of [`@g9tm/lynxcontrols-native`](../native/README.md) (Android, iOS) and
5
+ [`@g9tm/lynxcontrols-lynxtron`](../lynxtron/README.md) (desktop). Web is a **declared target** (the owner, 2026-11-19): the web smoke
6
+ proves what the ledger's web rows say (`plan/execution/Native-Validation-Pending.md`, N-090 onwards), and a family
7
+ pending on the web is work to do, as on any other target.
8
+
9
+ It runs in the **host page** (the browser's main thread), never in the Lynx bundle. The page's code keeps reading its
10
+ host with `createNativeHostServices` from `@g9tm/lynxcontrols-native`, unchanged; the clock is foundation's
11
+ `createSystemClock`.
12
+
13
+ ```ts
14
+ import '@lynx-js/web-core/client';
15
+ import { installG9WebHost } from '@g9tm/lynxcontrols-web';
16
+
17
+ const view = document.createElement('lynx-view');
18
+ document.body.appendChild(view);
19
+ const uninstall = installG9WebHost(view); // before the view gets its url
20
+ view.setAttribute('url', '/main.web.bundle');
21
+ ```
22
+
23
+ If a bundler moves the worker module, name it: `installG9WebHost(view, { moduleUrl: new URL('@g9tm/lynxcontrols-web/module', import.meta.url).href })`.
24
+ The reference page is [`apps/atelier/web/index.html`](../../apps/atelier/web/index.html), served by
25
+ `apps/atelier/web/serve.mjs`.
26
+
27
+ ## What the host answers
28
+
29
+ | `G9HostModule` method | On the web |
30
+ | --- | --- |
31
+ | `getPreference` / `setPreference` / `removePreference` / `preferenceEntries` | The page's `localStorage` (memory where there is none), keys under `g9:`, values typed `{ type, value }` like the native stores |
32
+ | `safeInsets` | `env(safe-area-inset-*)` measured on a probe; sent again as `g9:insets` on every window resize |
33
+ | `hapticTick` | `navigator.vibrate(8)` where the browser has it (Android Chrome); nothing elsewhere |
34
+ | `hideKeyboard` | Blurs the focused element |
35
+ | `exit`, `setSoftInputMode`, `appDataDirectory`, SQLite | The typed error `unsupported` (`capabilities()` says so first) |
36
+
37
+ A call the page never answers comes back to the bundle as the typed error `host-unreachable`.
38
+
39
+ ## What the host fixes so a browser draws like the engines
40
+
41
+ Each is a difference between Lynx for Web and the native engines that the web smoke found, fixed in this layer (no
42
+ control changed):
43
+
44
+ - **The layout class follows the view.** web-core fills `SystemInfo` from the screen and sends no resize, so a 390 px
45
+ view in a 1,600 px window reported `desktop`. The host starts the view's `browserConfig` at its own size and reports
46
+ every change of it as `onWindowResize` (a `ResizeObserver`).
47
+ - **Viewport units measure the view.** A native engine measures `vw` / `vh` against the LynxView, a browser against its
48
+ window: lynx-ui's sheet (`width: 100vw`) in a 390 px view was 1,600 px wide. The view is a size container and every
49
+ `vw` / `vh` / `vmin` / `vmax` in its shadow root becomes `cqw` / `cqh` / `cqmin` / `cqmax` (style sheets once, inline
50
+ styles as they are written): `bridgeViewportUnits`.
51
+ - **An input's start text.** Lynx's `<input default-value>` (G9's number, time and tag entries) is unknown to web-core's
52
+ `x-input`; the host copies it to `value` once: `bridgeStartText`.
53
+ - **Text direction from the first strong letter**, as on Android and iOS (`@g9tm/lynxcontrols` in a Persian page keeps its
54
+ `@` in front), and **the system font** instead of the browser's serif: `G9_WEB_STYLE_RULES`, injected into the
55
+ view's shadow root (`styleRules: []` to add none).
56
+
57
+ ## G9AppPilot's watch, read from the page (LC-08)
58
+
59
+ A bundle built with the `observe` profile or up (`@g9tm/lynxcontrols-pilot`) hands its findings to the host page —
60
+ no bridge needed:
61
+
62
+ ```ts
63
+ import { checkG9WebScreen, g9WebFindings, subscribeG9WebFindings } from '@g9tm/lynxcontrols-web';
64
+
65
+ subscribeG9WebFindings(view, ({ findings }) => render(findings)); // every change: js errors, unnamed controls…
66
+ const after = await checkG9WebScreen(view); // run the screen rules now, then read them
67
+ g9WebFindings(view)?.unsupported; // what a browser cannot measure, with the reason
68
+ ```
69
+
70
+ The host forwards the view's runtime errors (its `error` event) to the watch, so an uncaught throw in the page's code is
71
+ a `js.error` finding. Measured in Chromium (the web smoke, step 8): one planted fault of each kind — an uncaught throw,
72
+ a control without a name, a translation key on screen, a control cut by the screen's edge — each read as its finding.
73
+ Unsupported in a browser: `perf.memoryGrowth` and the UI thread's frames (the native host measures them).
74
+
75
+ ## What the web cannot do
76
+
77
+ - Culture digits drawn in a field: the native input draws Persian / Arabic digits for the ASCII it stores (`g9-digits`);
78
+ a browser's `<input>` draws what it holds, so the web shows ASCII digits (the stored value is right).
79
+ - The camera (barcode scanning), the G9AppPilot bridge, SQLite: native modules with no browser counterpart.
80
+ - `@media` queries: Lynx for Web ignores them inside a `<lynx-view>`; no G9 control uses one
81
+ (`scripts/no-media-queries.test.mjs`).
82
+
83
+ ## Static pages that look like the app (LC-11)
84
+
85
+ `@g9tm/lynxcontrols-web/static` is a static-render contract for pages that must be real HTML, such as public pages
86
+ that a search engine reads without JavaScript. It has three parts:
87
+
88
+ - `G9_STATIC_CSS`, one stylesheet;
89
+ - `g9StaticRootStyle(options)`, the variables a `G9Provider` root carries for a theme, a shape and a direction;
90
+ - a class per component: Text, Image, Button, IconButton, Card, ListItem, AppBar, TabBar, Section, Stat, Progress,
91
+ Chip, Badge, Avatar (and a group), Divider.
92
+
93
+ Plain HTML with those classes looks like the Lynx controls. `npm run smoke:web` measures every component against its
94
+ control in Chromium (step 9). The markup of each component is in [docs/static-render.md](docs/static-render.md). The
95
+ module runs anywhere (Node or a browser): it has no DOM and no Lynx.
96
+
97
+ ## Serving
98
+
99
+ The runtime's worker needs cross-origin isolation (`SharedArrayBuffer`): `Cross-Origin-Opener-Policy: same-origin`
100
+ and `Cross-Origin-Embedder-Policy: credentialless` (with `require-corp`, remote images such as map tiles are blocked
101
+ unless their server sends a CORP header).
102
+
103
+ ## Tests
104
+
105
+ `npm test` runs the handler, the worker module and the installer (fakes and jsdom). `npm run smoke:web` (in
106
+ `apps/atelier`, or from the root) opens every Atelier page in a headless Chromium in light, dark, LTR and RTL, checks
107
+ the layout class against the view's size, the host's answers and the start texts, and opens the overlays on a real tap
108
+ in a wide window and a 390 px view; frames land in `apps/atelier/bench-results/web/`.
@@ -0,0 +1,305 @@
1
+ {
2
+ "catalogVersion": 1,
3
+ "package": "@g9tm/lynxcontrols-web",
4
+ "version": "2.4.1",
5
+ "generatedBy": "node scripts/check-docs.mjs --write",
6
+ "components": [],
7
+ "exports": [
8
+ {
9
+ "id": "web.web.bridgeStartText",
10
+ "export": "bridgeStartText",
11
+ "from": "@g9tm/lynxcontrols-web",
12
+ "kind": "function",
13
+ "signature": "(root: Node): () => void",
14
+ "summary": "Lynx's `<input default-value>` / `<textarea default-value>` (the start text, which G9's number, time and tag entries write) on the web: Lynx for Web's `x-input` and `x-textarea` know only `value`, so a time entry started at 08:30 drew an empty box. Every input that appears under `root` with a start text gets it as its `value`, once; later text comes from the control's own `setValue`, as on the native engines. Returns the stop function (nothing to stop without a `MutationObserver`)."
15
+ },
16
+ {
17
+ "id": "web.web.bridgeViewportUnits",
18
+ "export": "bridgeViewportUnits",
19
+ "from": "@g9tm/lynxcontrols-web",
20
+ "kind": "function",
21
+ "signature": "(root: Node & { styleSheets?: StyleSheetList; adoptedStyleSheets?: CSSStyleSheet[]; }): () => void",
22
+ "summary": "Viewport units on the web: a native engine measures `vw` / `vh` against the LynxView, a browser against its window, so lynx-ui's sheet (`width: 100vw`) in a 390 px view inside a 1,600 px window was 1,600 px wide and its text ran out of the view. The view is a size container (`:host { container-type: size }`, `G9_WEB_STYLE_RULES`; it already has `contain: strict`), and every viewport unit under `root` becomes the container's own (`cqw`, `cqh`, `cqmin`, `cqmax`): in each style sheet once, and in each element's inline style as it is written. Returns the stop function."
23
+ },
24
+ {
25
+ "id": "web.web.checkG9WebScreen",
26
+ "export": "checkG9WebScreen",
27
+ "from": "@g9tm/lynxcontrols-web",
28
+ "kind": "function",
29
+ "signature": "(view: G9LynxViewElement, timeoutMs?: number): Promise<G9WebFindings | null>",
30
+ "summary": "Asks the watch to run its screen rules now (`oracle.check`) and resolves with the findings it sends after that check; null when nothing answers within `timeoutMs` (a build without the watch)."
31
+ },
32
+ {
33
+ "id": "web.web.createG9WebHostHandler",
34
+ "export": "createG9WebHostHandler",
35
+ "from": "@g9tm/lynxcontrols-web",
36
+ "kind": "function",
37
+ "signature": "(options?: G9WebHostOptions): (method: string, data: Readonly<Record<string, unknown>>) => G9WebEnvelope<unknown> | undefined",
38
+ "summary": "The handler of `G9HostModule` calls on a web page: `(method, data) → envelope` for the calls that answer, `undefined` for the fire-and-forget ones (moveToBack, hideKeyboard, setSoftInputMode, hapticTick, pilotFindings)."
39
+ },
40
+ {
41
+ "id": "web.web.createMemoryWebStorage",
42
+ "export": "createMemoryWebStorage",
43
+ "from": "@g9tm/lynxcontrols-web",
44
+ "kind": "function",
45
+ "signature": "(): G9WebStorage",
46
+ "summary": "A storage kept in memory: where a browser gives none (a private window that throws on `localStorage`)."
47
+ },
48
+ {
49
+ "id": "web.module.default",
50
+ "export": "default",
51
+ "from": "@g9tm/lynxcontrols-web/module",
52
+ "kind": "function",
53
+ "signature": "(_nativeModules: unknown, call: Call): G9WebHostModule",
54
+ "summary": "The factory Lynx for Web calls with `(nativeModules, nativeModulesCall)`; returns the module."
55
+ },
56
+ {
57
+ "id": "web.static.G9_STATIC_COMPONENTS",
58
+ "export": "G9_STATIC_COMPONENTS",
59
+ "from": "@g9tm/lynxcontrols-web/static",
60
+ "kind": "constant",
61
+ "signature": "readonly G9StaticComponent[]",
62
+ "summary": "The components of the contract (docs/static-render.md has each one's HTML)."
63
+ },
64
+ {
65
+ "id": "web.static.G9_STATIC_CSS",
66
+ "export": "G9_STATIC_CSS",
67
+ "from": "@g9tm/lynxcontrols-web/static",
68
+ "kind": "constant",
69
+ "signature": "string",
70
+ "summary": "`g9StaticStylesheet`, built once."
71
+ },
72
+ {
73
+ "id": "web.web.G9_WEB_STYLE_RULES",
74
+ "export": "G9_WEB_STYLE_RULES",
75
+ "from": "@g9tm/lynxcontrols-web",
76
+ "kind": "constant",
77
+ "signature": "readonly string[]",
78
+ "summary": "The rules the host adds to the view's shadow root so a browser draws text as the native engines do: - the system font: a browser's default is a serif, the native default the system's sans; - each text's direction from its first strong letter (`@g9tm/lynxcontrols` in a Persian page reads as written, as on Android and iOS), where the browser would take it from the CSS `direction` and move the `@` to the end; - the view as a size container, the box the viewport units measure against (`bridgeViewportUnits`)."
79
+ },
80
+ {
81
+ "id": "web.web.G9LynxViewElement",
82
+ "export": "G9LynxViewElement",
83
+ "from": "@g9tm/lynxcontrols-web",
84
+ "kind": "interface",
85
+ "signature": "G9LynxViewElement",
86
+ "summary": "The part of a `<lynx-view>` element (@lynx-js/web-core) the host uses."
87
+ },
88
+ {
89
+ "id": "web.web.G9SizeWatcher",
90
+ "export": "G9SizeWatcher",
91
+ "from": "@g9tm/lynxcontrols-web",
92
+ "kind": "type",
93
+ "signature": "G9SizeWatcher",
94
+ "summary": "Watches an element's size (`ResizeObserver`); tests pass a fake. Returns the stop function."
95
+ },
96
+ {
97
+ "id": "web.static.g9StaticAvatarSizes",
98
+ "export": "g9StaticAvatarSizes",
99
+ "from": "@g9tm/lynxcontrols-web/static",
100
+ "kind": "constant",
101
+ "signature": "Readonly<{ xs: 24; sm: 32; md: 44; lg: 64; xl: 88; }>",
102
+ "summary": "The avatar sizes (`g9s-avatar--<size>`), dp, as `G9Avatar`'s."
103
+ },
104
+ {
105
+ "id": "web.static.g9StaticAvatarTone",
106
+ "export": "g9StaticAvatarTone",
107
+ "from": "@g9tm/lynxcontrols-web/static",
108
+ "kind": "function",
109
+ "signature": "(name: string): G9StaticTone",
110
+ "summary": "The avatar's tone for a name, as `G9Avatar` picks it (the same person always gets the same colour)."
111
+ },
112
+ {
113
+ "id": "web.static.G9StaticComponent",
114
+ "export": "G9StaticComponent",
115
+ "from": "@g9tm/lynxcontrols-web/static",
116
+ "kind": "interface",
117
+ "signature": "G9StaticComponent",
118
+ "summary": "One component of the contract: its name in a design, the control it stands for, its root class."
119
+ },
120
+ {
121
+ "id": "web.static.g9StaticInitials",
122
+ "export": "g9StaticInitials",
123
+ "from": "@g9tm/lynxcontrols-web/static",
124
+ "kind": "function",
125
+ "signature": "(name: string | null | undefined, max?: number): string",
126
+ "summary": "The avatar's initials, as `G9Avatar` draws them (two at most; Persian and Arabic kept apart by a ZWNJ)."
127
+ },
128
+ {
129
+ "id": "web.static.g9StaticRootStyle",
130
+ "export": "g9StaticRootStyle",
131
+ "from": "@g9tm/lynxcontrols-web/static",
132
+ "kind": "function",
133
+ "signature": "(options?: G9StaticVariablesOptions): string",
134
+ "summary": "`g9StaticVariables` as a `style` attribute's text (`--g9-primary:#…;--g9-…`)."
135
+ },
136
+ {
137
+ "id": "web.static.g9StaticStylesheet",
138
+ "export": "g9StaticStylesheet",
139
+ "from": "@g9tm/lynxcontrols-web/static",
140
+ "kind": "function",
141
+ "signature": "(): string",
142
+ "summary": "The stylesheet of the contract (one string; write it to `site.css` or a `<style>`). Every rule is scoped under `.g9s`, uses logical properties (one sheet for both directions) and reads only `--g9-*` / `--g9s-*` variables, so a theme change is a new root style, never new rules."
143
+ },
144
+ {
145
+ "id": "web.static.G9StaticTheme",
146
+ "export": "G9StaticTheme",
147
+ "from": "@g9tm/lynxcontrols-web/static",
148
+ "kind": "interface",
149
+ "signature": "G9StaticTheme",
150
+ "summary": "A theme as the variables need it: what `resolveTheme` returns, or any `{ palette, scheme }`."
151
+ },
152
+ {
153
+ "id": "web.static.G9StaticTone",
154
+ "export": "G9StaticTone",
155
+ "from": "@g9tm/lynxcontrols-web/static",
156
+ "kind": "type",
157
+ "signature": "G9StaticTone",
158
+ "summary": "The meaning of a coloured element (`g9s-tone-<tone>`), as the controls' `G9Tone`."
159
+ },
160
+ {
161
+ "id": "web.static.g9StaticTones",
162
+ "export": "g9StaticTones",
163
+ "from": "@g9tm/lynxcontrols-web/static",
164
+ "kind": "constant",
165
+ "signature": "readonly G9StaticTone[]",
166
+ "summary": "Every tone (`g9s-tone-<tone>`)."
167
+ },
168
+ {
169
+ "id": "web.static.g9StaticVariables",
170
+ "export": "g9StaticVariables",
171
+ "from": "@g9tm/lynxcontrols-web/static",
172
+ "kind": "function",
173
+ "signature": "(options?: G9StaticVariablesOptions): Readonly<Record<string, string>>",
174
+ "summary": "The CSS variables the root of a static page carries (`<body class=\"g9s\" style=\"…\">` or a `.g9s` element): every variable a `G9Provider` root writes (`toRootCssVariables`), plus the progress fills' second stops, which the Lynx control computes from the palette (a colour 24 % lighter: `--g9s-progress-<type>-to`)."
175
+ },
176
+ {
177
+ "id": "web.static.G9StaticVariablesOptions",
178
+ "export": "G9StaticVariablesOptions",
179
+ "from": "@g9tm/lynxcontrols-web/static",
180
+ "kind": "interface",
181
+ "signature": "G9StaticVariablesOptions",
182
+ "summary": "Options of `g9StaticVariables`."
183
+ },
184
+ {
185
+ "id": "web.web.G9WebEnvelope",
186
+ "export": "G9WebEnvelope",
187
+ "from": "@g9tm/lynxcontrols-web",
188
+ "kind": "type",
189
+ "signature": "G9WebEnvelope<T>",
190
+ "summary": "A reply of the host, as the native modules send it."
191
+ },
192
+ {
193
+ "id": "web.web.G9WebFinding",
194
+ "export": "G9WebFinding",
195
+ "from": "@g9tm/lynxcontrols-web",
196
+ "kind": "interface",
197
+ "signature": "G9WebFinding",
198
+ "summary": "One finding of G9AppPilot's watch (`rule`, `severity`, `message`, …;"
199
+ },
200
+ {
201
+ "id": "web.web.g9WebFindings",
202
+ "export": "g9WebFindings",
203
+ "from": "@g9tm/lynxcontrols-web",
204
+ "kind": "function",
205
+ "signature": "(view: object): G9WebFindings | null",
206
+ "summary": "The latest findings of G9AppPilot's watch in `view`'s page (LC-08: the bundle built with the `observe` profile or up, `@g9tm/lynxcontrols-pilot`): js errors, controls without a name, translation keys and controls off screen, and what a browser cannot measure (`unsupported`). Null before the watch has sent anything (or in a build without it)."
207
+ },
208
+ {
209
+ "id": "web.web.G9WebFindings",
210
+ "export": "G9WebFindings",
211
+ "from": "@g9tm/lynxcontrols-web",
212
+ "kind": "interface",
213
+ "signature": "G9WebFindings",
214
+ "summary": "What the page's watch sends: its findings, what this host cannot measure, and how many screen checks ran."
215
+ },
216
+ {
217
+ "id": "web.module.G9WebHostModule",
218
+ "export": "G9WebHostModule",
219
+ "from": "@g9tm/lynxcontrols-web/module",
220
+ "kind": "interface",
221
+ "signature": "G9WebHostModule",
222
+ "summary": "The G9HostModule a web page provides (the same methods as the Android and iOS hosts)."
223
+ },
224
+ {
225
+ "id": "web.web.g9WebHostModuleUrl",
226
+ "export": "g9WebHostModuleUrl",
227
+ "from": "@g9tm/lynxcontrols-web",
228
+ "kind": "function",
229
+ "signature": "(): string",
230
+ "summary": "The default URL of the worker module: `module.js` next to this file in the published package. Plain string work on `import.meta.url`, never `new URL('./module.js', import.meta.url)`: a bundler rewrites that pattern (rslib copied module.ts as an asset, and with a variable it emitted a `require` context that fails in a browser)."
231
+ },
232
+ {
233
+ "id": "web.web.G9WebHostOptions",
234
+ "export": "G9WebHostOptions",
235
+ "from": "@g9tm/lynxcontrols-web",
236
+ "kind": "interface",
237
+ "signature": "G9WebHostOptions",
238
+ "summary": "Options of `createG9WebHostHandler`."
239
+ },
240
+ {
241
+ "id": "web.web.G9WebInsets",
242
+ "export": "G9WebInsets",
243
+ "from": "@g9tm/lynxcontrols-web",
244
+ "kind": "interface",
245
+ "signature": "G9WebInsets",
246
+ "summary": "Safe-area insets in dp (the page's `env(safe-area-inset-*)`, start/end in the reading direction)."
247
+ },
248
+ {
249
+ "id": "web.web.G9WebInstallOptions",
250
+ "export": "G9WebInstallOptions",
251
+ "from": "@g9tm/lynxcontrols-web",
252
+ "kind": "interface",
253
+ "signature": "G9WebInstallOptions",
254
+ "summary": "Options of `installG9WebHost`."
255
+ },
256
+ {
257
+ "id": "web.web.G9WebStorage",
258
+ "export": "G9WebStorage",
259
+ "from": "@g9tm/lynxcontrols-web",
260
+ "kind": "interface",
261
+ "signature": "G9WebStorage",
262
+ "summary": "The browser storage a host keeps preferences in (`localStorage` by default; tests pass a map)."
263
+ },
264
+ {
265
+ "id": "web.web.installG9WebHost",
266
+ "export": "installG9WebHost",
267
+ "from": "@g9tm/lynxcontrols-web",
268
+ "kind": "function",
269
+ "signature": "(view: G9LynxViewElement, options?: G9WebInstallOptions): () => void",
270
+ "summary": "Installs the host on `view`; returns the uninstaller (the previous handler and map come back)."
271
+ },
272
+ {
273
+ "id": "web.web.pageSafeInsets",
274
+ "export": "pageSafeInsets",
275
+ "from": "@g9tm/lynxcontrols-web",
276
+ "kind": "function",
277
+ "signature": "(): G9WebInsets",
278
+ "summary": "The page's safe-area insets in px (= dp on the web), start/end in the document's direction; 0 without `env()`."
279
+ },
280
+ {
281
+ "id": "web.web.pageStorage",
282
+ "export": "pageStorage",
283
+ "from": "@g9tm/lynxcontrols-web",
284
+ "kind": "function",
285
+ "signature": "(): G9WebStorage | null",
286
+ "summary": "The page's `localStorage`, or null where reading it throws (blocked storage, a sandboxed frame)."
287
+ },
288
+ {
289
+ "id": "web.web.subscribeG9WebFindings",
290
+ "export": "subscribeG9WebFindings",
291
+ "from": "@g9tm/lynxcontrols-web",
292
+ "kind": "function",
293
+ "signature": "(view: object, listener: (findings: G9WebFindings) => void): () => void",
294
+ "summary": "Calls `listener` with every set of findings `view`'s watch sends; returns the unsubscribe."
295
+ },
296
+ {
297
+ "id": "web.web.toContainerUnits",
298
+ "export": "toContainerUnits",
299
+ "from": "@g9tm/lynxcontrols-web",
300
+ "kind": "function",
301
+ "signature": "(value: string): string",
302
+ "summary": "`100vw` → `100cqw`, `calc(50vh - 8px)` → `calc(50cqh - 8px)`."
303
+ }
304
+ ]
305
+ }
@@ -0,0 +1,4 @@
1
+ # Catalog index: `@g9tm/lynxcontrols-web` 2.4.1
2
+
3
+ One line per component; the card (`cards/<Export>.md`) has its props and an example.
4
+
@@ -0,0 +1 @@
1
+ {"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../node_modules/@types/react/global.d.ts","../../../node_modules/@types/react/node_modules/csstype/index.d.ts","../../../node_modules/@types/prop-types/index.d.ts","../../../node_modules/@types/react/index.d.ts","../../../node_modules/@lynx-js/types/types/background-thread/animation.d.ts","../../../node_modules/csstype/index.d.ts","../../../node_modules/@lynx-js/types/types/common/csstype.d.ts","../../../node_modules/@lynx-js/types/types/main-thread/animation.d.ts","../../../node_modules/@lynx-js/types/types/main-thread/element.d.ts","../../../node_modules/@lynx-js/types/types/common/events.d.ts","../../../node_modules/@lynx-js/types/types/common/system-info.d.ts","../../../node_modules/@lynx-js/types/types/common/performance.d.ts","../../../node_modules/@lynx-js/types/types/main-thread/lynx.d.ts","../../../node_modules/@lynx-js/types/types/main-thread/events.d.ts","../../../node_modules/@lynx-js/types/types/main-thread/index.d.ts","../../../node_modules/@lynx-js/types/types/common/lynx.d.ts","../../../node_modules/@lynx-js/types/types/common/global.d.ts","../../../node_modules/@lynx-js/types/types/common/props.d.ts","../../../node_modules/@lynx-js/types/types/common/element/component.d.ts","../../../node_modules/@lynx-js/types/types/common/element/filter-image.d.ts","../../../node_modules/@lynx-js/types/types/common/element/image.d.ts","../../../node_modules/@lynx-js/types/types/common/element/common.d.ts","../../../node_modules/@lynx-js/types/types/common/element/inline-image.d.ts","../../../node_modules/@lynx-js/types/types/common/element/list.d.ts","../../../node_modules/@lynx-js/types/types/common/element/list-item.d.ts","../../../node_modules/@lynx-js/types/types/common/element/page.d.ts","../../../node_modules/@lynx-js/types/types/common/element/scroll-view.d.ts","../../../node_modules/@lynx-js/types/types/common/element/text.d.ts","../../../node_modules/@lynx-js/types/types/common/element/view.d.ts","../../../node_modules/@lynx-js/types/types/common/element/input.d.ts","../../../node_modules/@lynx-js/types/types/common/element/textarea.d.ts","../../../node_modules/@lynx-js/types/types/common/element/title-bar-view.d.ts","../../../node_modules/@lynx-js/types/types/common/element/svg.d.ts","../../../node_modules/@lynx-js/types/types/common/element/refresh.d.ts","../../../node_modules/@lynx-js/types/types/common/element/scroll-coordinator.d.ts","../../../node_modules/@lynx-js/types/types/common/element/viewpager.d.ts","../../../node_modules/@lynx-js/types/types/common/element/blur-view.d.ts","../../../node_modules/@lynx-js/types/types/common/element/webview.d.ts","../../../node_modules/@lynx-js/types/types/common/element/markdown.d.ts","../../../node_modules/@lynx-js/types/types/common/element/video.d.ts","../../../node_modules/@lynx-js/types/types/background-thread/lynx-performance-entry.d.ts","../../../node_modules/@lynx-js/types/types/common/element/frame.d.ts","../../../node_modules/@lynx-js/types/types/common/element/overlay.d.ts","../../../node_modules/@lynx-js/types/types/common/element/element.d.ts","../../../node_modules/@lynx-js/types/types/common/element/methods.d.ts","../../../node_modules/@lynx-js/types/types/common/element/attributes.d.ts","../../../node_modules/@lynx-js/types/types/common/element/index.d.ts","../../../node_modules/@lynx-js/types/types/common/console.d.ts","../../../node_modules/@lynx-js/types/types/common/index.d.ts","../../../node_modules/@lynx-js/types/types/background-thread/event.d.ts","../../../node_modules/@lynx-js/types/types/background-thread/nodes-ref.d.ts","../../../node_modules/@lynx-js/types/types/background-thread/app.d.ts","../../../node_modules/@lynx-js/types/types/background-thread/performance.d.ts","../../../node_modules/@lynx-js/types/types/background-thread/fetch.d.ts","../../../node_modules/@lynx-js/types/types/background-thread/lynx.d.ts","../../../node_modules/@lynx-js/types/types/background-thread/native-modules.d.ts","../../../node_modules/@lynx-js/types/types/background-thread/text-encoder-decoder.d.ts","../../../node_modules/@lynx-js/types/types/background-thread/index.d.ts","../../../node_modules/@lynx-js/types/types/index.d.ts","../../../node_modules/@types/react/jsx-runtime.d.ts","../../../node_modules/@lynx-js/react/runtime/jsx-runtime/index.d.ts","../src/font.ts","../src/handler.ts","../src/install.ts","../src/module.ts","../src/index.ts","../../foundation/dist/collections.d.ts","../../foundation/dist/culture/bidi.d.ts","../../foundation/dist/culture/digits.d.ts","../../foundation/dist/culture/culture.d.ts","../../foundation/dist/culture/calendar.d.ts","../../foundation/dist/culture/coordinates.d.ts","../../foundation/dist/culture/date-format.d.ts","../../foundation/dist/culture/duration.d.ts","../../foundation/dist/culture/natural-date.d.ts","../../foundation/dist/culture/numbers.d.ts","../../foundation/dist/culture/strings.d.ts","../../foundation/dist/culture/relative-time.d.ts","../../foundation/dist/culture/text.d.ts","../../foundation/dist/culture/index.d.ts","../../foundation/dist/enums/index.d.ts","../../foundation/dist/errors.d.ts","../../foundation/dist/exec/diagnostics.d.ts","../../foundation/dist/services/abort.d.ts","../../foundation/dist/exec/options.d.ts","../../foundation/dist/services/clock.d.ts","../../foundation/dist/exec/trace.d.ts","../../foundation/dist/exec/safe-executor.d.ts","../../foundation/dist/exec/index.d.ts","../../foundation/dist/icons/generated/glyph-svg.d.ts","../../foundation/dist/icons/glyph.d.ts","../../foundation/dist/icons/icon.d.ts","../../foundation/dist/icons/glyph-slots.d.ts","../../foundation/dist/icons/icon-fonts.d.ts","../../foundation/dist/icons/packs.d.ts","../../foundation/dist/icons/svg.d.ts","../../foundation/dist/icons/index.d.ts","../../foundation/dist/layout/index.d.ts","../../foundation/dist/route/address.d.ts","../../foundation/dist/route/catalogue.d.ts","../../foundation/dist/route/journey.d.ts","../../foundation/dist/route/sink.d.ts","../../foundation/dist/route/resolve.d.ts","../../foundation/dist/route/view.d.ts","../../foundation/dist/route/index.d.ts","../../foundation/dist/services/feedback.d.ts","../../foundation/dist/services/preferences.d.ts","../../foundation/dist/services/contracts.d.ts","../../foundation/dist/services/keys.d.ts","../../foundation/dist/services/motion.d.ts","../../foundation/dist/services/index.d.ts","../../foundation/dist/tokens/generated/palettes.d.ts","../../foundation/dist/theme/aliases.d.ts","../../foundation/dist/tokens/shape.d.ts","../../foundation/dist/theme/color.d.ts","../../foundation/dist/theme/theme.d.ts","../../foundation/dist/theme/brand.d.ts","../../foundation/dist/theme/appearance.d.ts","../../foundation/dist/theme/contrast.d.ts","../../foundation/dist/theme/control-colors.d.ts","../../foundation/dist/theme/css-color.d.ts","../../foundation/dist/theme/design.d.ts","../../foundation/dist/theme/oklch.d.ts","../../foundation/dist/theme/recipe.d.ts","../../foundation/dist/tokens/generated/metrics.d.ts","../../foundation/dist/tokens/layout-metrics.d.ts","../../foundation/dist/tokens/css-vars.d.ts","../../foundation/dist/tokens/derived.d.ts","../../foundation/dist/theme/variants.d.ts","../../foundation/dist/theme/index.d.ts","../../foundation/dist/tokens/root.d.ts","../../foundation/dist/tokens/index.d.ts","../../foundation/dist/index.d.ts","../src/static.ts"],"fileIdsList":[[41,96,97],[42,86,87,88],[53],[42,78,87,88,89,90,92,93,94],[42,86,87,88,90,91],[86,88],[42,86],[49,78],[43],[44],[51,55],[47],[41,51,55,56,57,58,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,79,80],[47,51,55,78],[47,51,55],[56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,79,80,81,82,83],[58,59],[47,51,55,59],[47,61,64],[46],[48,52,53,95],[44,47,48,49,51,53,54,55,84,85],[44,47],[52,86,95],[45,86],[46,47,55],[45,46,50,51],[49,86],[38,39,40],[41],[107],[106],[106,107,108],[105,106,107,108,109,110,111,112,113,114,115,116],[108],[114],[120,122,124,125],[121],[114,120,121,122,123,124],[120,123],[129],[128],[127,128,129,130,131,132,133],[104,117,118,119,126,134,135,142,148,167,169],[119],[119,136],[136,137,138,139,140,141],[137],[136,137,139],[136],[119,121,123,139,143,144],[121,123,143,144,145,146,147],[149],[149,151,153,154],[149,152,153],[152,153],[152],[151,153],[150,152,153,154,155,156,157,158,159,160,161,166],[149,152],[118,149,152,165],[149,162,163],[149,164],[149,151,162,163,164,165,168],[149,151,164],[98],[98,100,101,102],[98,99,100],[98,99,170]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb5b19b86227ace1d29ea4cf81387279d04bb34051e944bc53df69f58914b788","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6fdd3074ba01fc8aff89a11055a33516aff7a42a3599fc0e7dce64047a5e3fd","impliedFormat":1},{"version":"87d9d29dbc745f182683f63187bf3d53fd8673e5fca38ad5eaab69798ed29fbc","impliedFormat":1},{"version":"035312d4945d13efa134ae482f6dc56a1a9346f7ac3be7ccbad5741058ce87f3","affectsGlobalScope":true,"impliedFormat":1},{"version":"07b03f752ae52a7130e06c5a8399d3a0dde07a1a634f8430b80cd6236c56b5c8","impliedFormat":1},{"version":"8a8eb4ebffd85e589a1cc7c178e291626c359543403d58c9cd22b81fab5b1fb9","impliedFormat":1},{"version":"acbac4ca6cd4b2b459debc4a274535775cb6278a8315be383fafa623ab78f18e","impliedFormat":1},{"version":"e421d0b097c78304a2597c1f33da586630e1dc665ae381c0c36e5ebc4aaf4566","impliedFormat":1},{"version":"adf624c89a0d509a789f3c0bf522969d2c47033dbeb50920b37cd89be475a65e","impliedFormat":1},{"version":"f4664d05efc95a0fb8ee228d391e5271a1c8fc9bc3452c7bd760f9ca18b5a837","impliedFormat":1},{"version":"b32b532dcbe0a91d71fd94cb780e94bdfdce10be21608d914c29fb4b8939b24a","impliedFormat":1},{"version":"eb2b64881998b562a4fe9330e55aa2466cd3a41a1a57e93feac6555218cec06f","impliedFormat":1},{"version":"6db1694d205177322d792d924335b046b80607445a45c0d2de1fcffd190b48c0","impliedFormat":1},{"version":"d5465281e0aaffe267f46382c5f014740dc16e7fd8e1c57a0b0ddf8a2eab9be4","impliedFormat":1},{"version":"f7e5c3960dd9df65d83408b9be446f7119fa1db1dd8266dd343349d90c3bf2ce","impliedFormat":1},{"version":"09c6491ed74af89a4155feafedecaf77780f5751c66d4b65b18d30fc0e053a75","impliedFormat":1},{"version":"188b01044640e5ef65f6edf0dd6e6454f02dd19f4ead66b9e03ebe26cc7298ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d34d6de13412a24e8d9252040d972edce68b4db8d8a64a3f7fd63ca1fda3a67f","impliedFormat":1},{"version":"5bf51107315834a209b08395b141e262b7d143d14f6b4e4d403d8e020cef7e32","impliedFormat":1},{"version":"db0dcbe48d5cb38315083b412c8ab6995b0d42dc73b286833e296827feb0e5b4","impliedFormat":1},{"version":"b3e4a49a3ba19463662e7b821544948b953d2f6708370d42406bda558084000c","impliedFormat":1},{"version":"7c5e49b3d96da389b07d4ae3705c9f33a03dadcd04e6c0e76edece6d636f4ce7","impliedFormat":1},{"version":"24e9add3c802e7c9431b2c99edbbda02c1899901fd955dfb2e9ee3e9cdc93c4c","impliedFormat":1},{"version":"cd6611fd8cd9d40de1bdec02a3c5027c968c4aaf7639ee88ee48b2c41edeaddc","impliedFormat":1},{"version":"32d1e153cac16ca3a3f5f6b68fae76cddcda509950fa00d038c465776359db0c","impliedFormat":1},{"version":"0d85d0fa55dd433acf924675d7e976c025c8521c91a76079844cd15e52855ccf","impliedFormat":1},{"version":"89da6ea3ee9735e712691227b0e5ee74381779f9ad8b0f4fb7ced0247b16735a","impliedFormat":1},{"version":"77fbe475cb649a3598aa8f932ab5f6fe011444d94b52d329078c1f6d63c5d3bd","impliedFormat":1},{"version":"7618f7fdf0abf7f712cefe766ac1ab7fcd1f8e753c513e57d3ada9ada3a57257","impliedFormat":1},{"version":"db0441149b37984c225e945a112713d07616b34552d64f814c5cbf8e8c95f165","impliedFormat":1},{"version":"51f5a8fa3de5f13b21ba2604b4de8f0aae3d97acadab981d536a282ea26257af","impliedFormat":1},{"version":"0e323630cbfda771430e2720f6a2f02f257becd8fb9722aa975ae773fb572210","impliedFormat":1},{"version":"56dbc770513baae28f7cfbadeba5078bb13a37a13132a5292e98a8b103312b98","impliedFormat":1},{"version":"84ff906032fe12e816bfb7441cee6726243e5a7316c4f2d6b0a6c149f1a91a16","impliedFormat":1},{"version":"446e9432c63958893f65b4f7eea86fb5b506c2e0e7dd971a1f75e361b333a3db","impliedFormat":1},{"version":"dcbbe1fb0f2c0efc12e29db8bbccb5b82513384d01d7a55342065cb0611da272","impliedFormat":1},{"version":"af209189a194cf5ad1f7b22dd680b52843fec2e30f1283be20b2977872fd4424","impliedFormat":1},{"version":"18e37ffc10db360e66b0af639e55bcc66496830994734f64a97c6751458f7f3a","impliedFormat":1},{"version":"14137199a98201c616a7ee925bfaa9809b659dfbec733f86fa5dc5348a897de6","impliedFormat":1},{"version":"f64cd565aca17df45f4666473da75e4ce51a2610e2ed1c31198e9f9325747a24","impliedFormat":1},{"version":"e415a17ab6a413d6be640457231e045541405eab1f0f370c7dd1e5567aa25999","impliedFormat":1},{"version":"8c03a41d6dc701b6648db83d71a92dc27147d7677ab5d70f32675e7e37b3795a","impliedFormat":1},{"version":"e27b62f2410bb10697800d1c09ae2c48db46cd1eca18ffdd35022b1802bfd6d5","impliedFormat":1},{"version":"2ec0bfa713f313f8b2dc2bf64c5962433722ea7b413f69428106a65584656dc9","impliedFormat":1},{"version":"b2d74af681f440a07e714ae9a33e3ea49c79870b9674058114c0404d2aa2f190","impliedFormat":1},{"version":"24f31e43eb3505e5d2946315e7b8ee8b426dfbe92c3031e435a4eb2d9dd8d69f","affectsGlobalScope":true,"impliedFormat":1},{"version":"5b6a59d1e98f908badf07f243deb42ebd926b4e3d33ec00a5f50cbb8d0464488","impliedFormat":1},{"version":"c669ee7ba01fa6a60b17c3535f96b65fa82dfd2a475a8760364f2f3952f9bcbd","impliedFormat":1},{"version":"a8b121f6a75d603075e62793ff0c109112e882dd6ca2b70bdccbd8d8f753429b","impliedFormat":1},{"version":"f378d7ed5e3ecbe382ade55127a9c98e826c76f786e06effad6fde91a7023d55","impliedFormat":1},{"version":"4e3e9539df72b3bfcc56fa13140070020dac72f1eff39237b11253482cb99847","impliedFormat":1},{"version":"5a47b3a2bbe2c9b015fe356462afe0abe391c592fffbe277126e2415e0811967","impliedFormat":1},{"version":"b1248e5931d2a49c697203e69449c58dacd3d19f12d76bf11d816600a0cf423b","impliedFormat":1},{"version":"0b02aebd8c41453aefd3b1f33b9b9862a57770f8b21e916ecc5b35c0bedcc52b","impliedFormat":1},{"version":"e52840670587e82e129c9bfc6a2f42d9c2f2e1fd6ce176fea998383a8c941ea5","impliedFormat":1},{"version":"31ca1ee726f5d7c7709913b98be76fc40fdfaaca6ad7fafc222108981e11227c","impliedFormat":1},{"version":"556db73da59f5162cdf5c7ea1bc3b063b6ccb758078ef6517ad6f6e4ae7b199a","impliedFormat":1},{"version":"0a2c8ef08611f5a5f711c7b10ba70d10dc1c6af0c9dba8168cbbf34911b74188","impliedFormat":1},{"version":"1d6ef45145a9939a43062fe18188d4f7bdfdf4547978e1f6b7c9089fe53e81e5","impliedFormat":1},{"version":"42c169fb8c2d42f4f668c624a9a11e719d5d07dacbebb63cbcf7ef365b0a75b3","impliedFormat":1},{"version":"509a86836776d5c821901abc16a2d21de674d2c8943ceb8d018049bf324bc56c","impliedFormat":99},{"version":"b1ea7506d20974fb82c053b1d8100e87b9d519b7d84fe4be5ed60e3646a844f7","signature":"38655a9fed08ff0c8bdd6edb268c7dbff4bf4ca10aa583b3f8fa721761291424"},{"version":"823c769e9fcd2cc337bd20d0af86aa132f942f4a32c44d98a8e0cf52961eafc2","signature":"a8bac9ebea903abafa71f7ad6755e74d6328be5780aa29e14b0c77eacdb60cd8"},{"version":"c48fefafe7c862f4be64c211961d97e7222a77ea1969ef80e6ecc4885ba7fb5f","signature":"950ba958a4b43d05272c4be15348bc9a7c079c3289f57f546d4cd83d94353cdd"},{"version":"40b8d769827eb1619f8d4876c54fa6117d3795e15c42df5b25cb9726a35c4e00","signature":"ec22b76e6e74d9e38237af0b260db0b4eb2927c84451f1ffbd9ba9bbef89d5aa"},{"version":"76e32b233f759673b3d4e375370853612bfb7134064bc9575c4598651dc7092f","signature":"f91e1eeeea2a699bcca04edaeb3e4c74136cf881ecca62e1b73a27937aa107bd"},"d533d1fe3018752aa47ee74ae5dbdca34377441b891176ad99bd33366a64372f","577287aa28cdd2976297531706a5baea4ba5171512f500731d3feba37057d851","44b82e4f46178400732ea809a906f7ffb9dd38efab331ca23e7ca4586bf903ef","d3dcff003bac57338c3e60be409d0ff167ec1ff513539a5534c7679332dbc992","16d64c89cec74fa23e8cee7c72acc7549f117dcf7845051870c40366c7522d09","706c787ed201e67534e550d765eecfb18a8c39f46e04fcec600d0bb9d1bb6231","11f9f682c02d51de68eed569f8de1e91c56df296a78f3a6c520b93d52aac2308","28b43630d8d29a300e1e5b0f5efb04c8f994d372fff1b653ce8bb70d4e011e1a","08521f5befe6ec3f1c3a881651321f875ca6fc79db15a6130283d409f5d47d1b","b06c48902c3d127098839c1a6500f41d3e21b2f07f277ba7de23ec730df7275d","946d8fa2088c22a4cbc85875ec7c700c93cf53d7b52057fe4e6730fd613c7925","a7a0e658ca429cfb5268d4bf2e2e6e9fe871ffd06b6588d65424ba4eba35338f","2dbadaab8fa70d9d874b29e23e808b0978fd2dbaf34e3caf8303508e2b88c603","54b8f865e3bea736798e54bc95b49435f472599aea762bd17bb02a18b198c7d1","5e621ae454f5ff6bfea91a558b93eb3dee64eac6f66ad8d6739a4a7c396a42f7","ccd708c3fff99b4ec315e14315dce6b9e85f4c96d10131e9fd219edb6efbdb26","abc924fce33b86b9f8588de3a5be04c609fafa6cb1dc42629b3e9e3e18f7d018","f919e3a8b2d274b631ee4fee0c50eba1d3f39ceaccba04dff915e9f61e9f153c","3ae17ae844491c7326d070c3e70a94a9239394e7a1e84eb203eb1d57470e752e","d1b2970d348eb9f89ef0f0c6730d27e9331067a28f21c8bd667ba1138d5d3e93","b2c4833e6308888c3947953770b3343deaf4276c803bb36148991a3fb90b4f6a","41b7c8204ea79a93e380a228f5c744e9c9a80183133ac62633a4c76e3fdbd7db","d0a441df587b0632c16a813117f110574d903ddd0bc4d28599cc82ff8af7c094","b24ac81f4fcff56ed9827736abcf2f92ea5f86e16d66eb2ee3ccfa0bb8143bc9","068309ff581d08c276c4a772ddf3ab9c8090e591fc9917fdc6cdffc12c95a5bf","5c1d368a451520260ebb6c06121201f18abf86d80540290df6e424d372c5d0ed","bb3ccaacf5c19a7170939b7f735c6a94537fd95ad16b4247a6ad572b23183e74","2c8b86d9d29c4ea62762c3815ffe4fdb0c5dbc0dd096b9703236010f4a17c255","7ec540fd5fb0761576c417b27ea61ec08123412487b020942c893510dce970db","f858a10d167e011155bfe5a3532f599e677bced6727c07366f380c02010650d4","465f5d53f09ac1978002bc264b8a4c0aea749c79dd2bd1917dffe57fddcb9543","cf4ef9c41637cb6995fee096890a0e6113141bcce82cc7d5754c281f03ad889e","40f34f36aba872decb7540030db33dc84f1a53d4778fd8c8ad840d68f2023f3a","10347593c1b262343845f577673e5956217a8a571c859d83e2de50a54729541f","e0a192de84052b553230c5f649307dfb49df6dce54fdc538de15078d895f5f66","228e7d711e429183ddf7fc8c331d00540557ade296fb8132d5bfc48d5c933f89","e8906c76ded4f87db27adfe3e8f9e1a729be51a6a0c2c458f31662c6278b1925","49bca6d49d9c5a525146bba60a48e448e1eabe79be789a7b5238ac10a2f620b3","08fe86bcae8e02f769d215958438d6858dc19aeed2a61c7d7327f052b0db25fc","cd3a9799c8e0996b4d31d5235a8ae105b79a7fa31ba8f660ca35b043048ef757","ee4e73f46ce2f6517e82434bd9fc63c8b6b2179d37d74525899f124a76d06669","773c827d0235c76288ab0092202c357730c5b21314241831b7dd88ef6017818e","ced97526e899f0222df6d805e008cd5bc63fee326838a9002919453f9a2a8c9b","216aa3f63d62f13b158445ff6a3bea8ccfd110f2bf219d607175518c9cc5b29d","be77edbe4d276441584b1c7b297bd8596c78913c22c590dc136d987b82a3976c","faa64d270fa523f80fd31bc7340ee7f6a21632c2ea0cea6535bf5a34bcc6adf7","931d70c96033881193232b90c39210c6cd14865f28b339843c56b5688e7fd10d","3201251d2feaa0eab2de4bd121c563cccf7ff224685c96763262c9c9d3a72064","29e6e980f179ac2981d68954462dfd4a4545f73c021f6a4c8a5f442c0e16e56c","67fe56b931e013e9980dec2a605908d44484c7bbd81d2ee9912872c11bc76515","d4924e2b191fee9b43aaeef651c87a7084281d425a30a9a8cf50de8f92b64f6d","8fc678b640b298b07d4f52a5a4f0b3a57e07e45da7a0ad25f1ffde53a152d3be","a59554ba3751ea9ad27f6948f1c71ef57f1e28bb526a53eacb0dfa76bc1df452","ea5a5d5873c239b97d846fb8c78437e08ffd731924764f746c0ebcb7731d7648","da401323d4c96e3f5b8fa8b7ecd200d47a9e340b09cefbea553d2b2b5a345e60","ead4a7fd25e5e2b756a5e71546bd8eae855c7b0ecbffd891f7fb0b6f7d80c0c1","eaea9f8e5b90d87160a885c2afc4afcd2434e149ae5a5368d4b61eed66a6a597","cc44cf86b3ddb7d61f7de3fd32116089decb662a8b6421013bd4a8ee9a079881","ab7ed47f18899e74299db14911a028a0aaf1acae17f870a64ead7d91953d40b3","298f8d2584216932ea238927177ef343d0b8da735eb40a5ba96b1f92e3675e33","c8082c78975419ed5a9f7daa655643425cdd98fee91bb82fd92d25f908c78465","24a588d942a36d853d18dfe63711e9b180ea0448b956dadce7833f4d6455f0c8","c263cc53a55cc822c360481e94d0fe999acebf92f01f2ca84225a168a182657f","11aba4fbd2d4539d8440169f219974378731ad1e65d4656bd9d8a579b79241e6","25cc1afa8e0c2b54ca3f9f1909a44f5d2dd01d9c2db855e3989aa6cc2150d8b9","5fa66a6dbdf118df539d6cc0750c3cb4271a6e5820d29f5b8b36aceed3e0e966","56cac1d8d4be53381e236d675f43c1b2342161ca45d31dfaaf340b0612d14bc5",{"version":"aa1140a9cd70541000f6756af1f2ffdabdabfa4b4264a9e68ad4b1e2d2d60ff7","signature":"9a9d0049bcc60e89618b9f0b1d2e129b9e29098fdf8aa554d51d37374e279a1e"}],"root":[[99,103],171],"options":{"composite":true,"declaration":true,"declarationDir":"./","declarationMap":true,"emitDeclarationOnly":true,"exactOptionalPropertyTypes":true,"jsx":4,"jsxImportSource":"@lynx-js/react","module":99,"noFallthroughCasesInSwitch":true,"noImplicitOverride":true,"noUncheckedIndexedAccess":true,"outDir":"./","rootDir":"../src","skipLibCheck":true,"strict":true,"target":6,"tsBuildInfoFile":"./.tsbuildinfo","verbatimModuleSyntax":true},"referencedMap":[[98,1],[89,2],[91,3],[95,4],[92,5],[93,6],[88,7],[90,8],[44,9],[83,10],[74,11],[59,12],[56,11],[81,13],[57,11],[79,14],[58,15],[84,16],[60,17],[67,15],[62,11],[61,18],[76,15],[82,19],[80,15],[63,11],[71,15],[72,15],[64,18],[70,15],[65,18],[68,15],[69,11],[77,15],[66,11],[73,15],[75,15],[47,20],[54,21],[86,22],[55,23],[96,24],[45,20],[46,25],[51,26],[52,27],[50,28],[41,29],[97,30],[108,31],[109,32],[107,32],[110,33],[117,34],[112,35],[113,32],[115,36],[114,31],[116,32],[126,37],[122,38],[125,39],[124,40],[130,41],[131,41],[129,42],[134,43],[133,42],[170,44],[136,45],[137,46],[142,47],[138,48],[140,49],[139,50],[145,51],[148,52],[150,53],[155,54],[154,55],[152,45],[156,53],[157,56],[158,57],[159,58],[167,59],[160,57],[161,54],[153,60],[166,61],[164,62],[165,63],[169,64],[168,65],[99,66],[100,66],[103,67],[101,68],[102,66],[171,69]],"latestChangedDtsFile":"./static.d.ts","version":"5.9.3"}
package/dist/font.d.ts ADDED
@@ -0,0 +1,7 @@
1
+ /**
2
+ * The system font stack a browser page uses for G9 text: a browser's default is a serif, the native engines' default
3
+ * is the system's sans. The web host's shadow-root rule ({@link G9_WEB_STYLE_RULES}) and the static-render stylesheet
4
+ * (`@g9tm/lynxcontrols-web/static`) both use it, behind a theme's own `--g9-font-text`.
5
+ */
6
+ export declare const G9_WEB_FONT_STACK = "system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans', 'Noto Sans Arabic', Tahoma, sans-serif";
7
+ //# sourceMappingURL=font.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"font.d.ts","sourceRoot":"","sources":["../src/font.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,sGACuE,CAAC"}
package/dist/font.js ADDED
@@ -0,0 +1,4 @@
1
+ const G9_WEB_FONT_STACK = "system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans', 'Noto Sans Arabic', Tahoma, sans-serif";
2
+ export { G9_WEB_FONT_STACK };
3
+
4
+ //# sourceMappingURL=font.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"font.js","sources":["../src/font.ts"],"sourcesContent":["/**\n * The system font stack a browser page uses for G9 text: a browser's default is a serif, the native engines' default\n * is the system's sans. The web host's shadow-root rule ({@link G9_WEB_STYLE_RULES}) and the static-render stylesheet\n * (`@g9tm/lynxcontrols-web/static`) both use it, behind a theme's own `--g9-font-text`.\n */\nexport const G9_WEB_FONT_STACK =\n \"system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans', 'Noto Sans Arabic', Tahoma, sans-serif\";\n"],"names":["G9_WEB_FONT_STACK"],"mappings":"AAKO,MAAMA,oBACX"}
@@ -0,0 +1,69 @@
1
+ /** A reply of the host, as the native modules send it. */
2
+ export type G9WebEnvelope<T> = {
3
+ readonly ok: true;
4
+ readonly value: T;
5
+ } | {
6
+ readonly ok: false;
7
+ readonly error: {
8
+ readonly code: string;
9
+ readonly message: string;
10
+ };
11
+ };
12
+ /** The browser storage a host keeps preferences in (`localStorage` by default; tests pass a map). */
13
+ export interface G9WebStorage {
14
+ getItem(key: string): string | null;
15
+ setItem(key: string, value: string): void;
16
+ removeItem(key: string): void;
17
+ key(index: number): string | null;
18
+ readonly length: number;
19
+ }
20
+ /** Safe-area insets in dp (the page's `env(safe-area-inset-*)`, start/end in the reading direction). */
21
+ export interface G9WebInsets {
22
+ readonly top: number;
23
+ readonly end: number;
24
+ readonly bottom: number;
25
+ readonly start: number;
26
+ }
27
+ /** Options of {@link createG9WebHostHandler}. */
28
+ export interface G9WebHostOptions {
29
+ /** Where preferences live. Default: the page's `localStorage`; none (a private window that refuses it) = memory. */
30
+ readonly storage?: G9WebStorage | null;
31
+ /** Prefix of every preference key in the storage, so two apps on one origin stay apart. Default `'g9:'`. */
32
+ readonly prefix?: string;
33
+ /** The current safe-area insets. Default: none (0). */
34
+ readonly insets?: () => G9WebInsets;
35
+ /** A short vibration for `hapticTick` (`navigator.vibrate`); absent = haptics unsupported. */
36
+ readonly vibrate?: (ms: number) => boolean;
37
+ /** Blurs whatever has the focus (`hideKeyboard`); absent = a no-op the capabilities report. */
38
+ readonly blur?: () => void;
39
+ /** Resolves an asset path to a URL the page can load (`assetUri`). Default: the path as given. */
40
+ readonly assetUrl?: (path: string) => string;
41
+ /** G9AppPilot's findings as the page's watch sends them (profile `observe` and up; LC-08). */
42
+ readonly onPilotFindings?: (findings: G9WebFindings) => void;
43
+ }
44
+ /** One finding of G9AppPilot's watch (`rule`, `severity`, `message`, …; @g9tm/lynxcontrols-pilot `G9PilotFinding`). */
45
+ export interface G9WebFinding {
46
+ readonly rule: string;
47
+ readonly message?: string;
48
+ readonly severity?: string;
49
+ readonly [field: string]: unknown;
50
+ }
51
+ /** What the page's watch sends: its findings, what this host cannot measure, and how many screen checks ran. */
52
+ export interface G9WebFindings {
53
+ readonly findings: readonly G9WebFinding[];
54
+ readonly unsupported: readonly {
55
+ readonly rule: string;
56
+ readonly reason: string;
57
+ }[];
58
+ readonly checks: number;
59
+ }
60
+ /** A storage kept in memory: where a browser gives none (a private window that throws on `localStorage`). */
61
+ export declare function createMemoryWebStorage(): G9WebStorage;
62
+ /** The page's `localStorage`, or null where reading it throws (blocked storage, a sandboxed frame). */
63
+ export declare function pageStorage(): G9WebStorage | null;
64
+ /**
65
+ * The handler of `G9HostModule` calls on a web page: `(method, data) → envelope` for the calls that answer,
66
+ * `undefined` for the fire-and-forget ones (moveToBack, hideKeyboard, setSoftInputMode, hapticTick, pilotFindings).
67
+ */
68
+ export declare function createG9WebHostHandler(options?: G9WebHostOptions): (method: string, data: Readonly<Record<string, unknown>>) => G9WebEnvelope<unknown> | undefined;
69
+ //# sourceMappingURL=handler.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handler.d.ts","sourceRoot":"","sources":["../src/handler.ts"],"names":[],"mappings":"AAMA,0DAA0D;AAC1D,MAAM,MAAM,aAAa,CAAC,CAAC,IACvB;IAAE,QAAQ,CAAC,EAAE,EAAE,IAAI,CAAC;IAAC,QAAQ,CAAC,KAAK,EAAE,CAAC,CAAA;CAAE,GACxC;IAAE,QAAQ,CAAC,EAAE,EAAE,KAAK,CAAC;IAAC,QAAQ,CAAC,KAAK,EAAE;QAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAA;CAAE,CAAC;AAEhG,qGAAqG;AACrG,MAAM,WAAW,YAAY;IAC3B,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;IACpC,OAAO,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1C,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,GAAG,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;IAClC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CACzB;AAED,wGAAwG;AACxG,MAAM,WAAW,WAAW;IAC1B,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CACxB;AAED,iDAAiD;AACjD,MAAM,WAAW,gBAAgB;IAC/B,oHAAoH;IACpH,QAAQ,CAAC,OAAO,CAAC,EAAE,YAAY,GAAG,IAAI,CAAC;IACvC,4GAA4G;IAC5G,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB,uDAAuD;IACvD,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,WAAW,CAAC;IACpC,8FAA8F;IAC9F,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,OAAO,CAAC;IAC3C,+FAA+F;IAC/F,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,kGAAkG;IAClG,QAAQ,CAAC,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC;IAC7C,8FAA8F;IAC9F,QAAQ,CAAC,eAAe,CAAC,EAAE,CAAC,QAAQ,EAAE,aAAa,KAAK,IAAI,CAAC;CAC9D;AAED,uHAAuH;AACvH,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC;CACnC;AAED,gHAAgH;AAChH,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,QAAQ,EAAE,SAAS,YAAY,EAAE,CAAC;IAC3C,QAAQ,CAAC,WAAW,EAAE,SAAS;QAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IACpF,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CACzB;AAeD,6GAA6G;AAC7G,wBAAgB,sBAAsB,IAAI,YAAY,CAWrD;AAED,uGAAuG;AACvG,wBAAgB,WAAW,IAAI,YAAY,GAAG,IAAI,CAMjD;AAED;;;GAGG;AACH,wBAAgB,sBAAsB,CACpC,OAAO,GAAE,gBAAqB,GAC7B,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,KAAK,aAAa,CAAC,OAAO,CAAC,GAAG,SAAS,CAmHjG"}