@vmz/core 0.1.32 → 0.2.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.
Files changed (66) hide show
  1. package/dist/{client-nav.d.ts → browser/client-nav.d.ts} +4 -13
  2. package/dist/{client-nav.js → browser/client-nav.js} +16 -74
  3. package/dist/browser/direct-api.types.d.ts +141 -0
  4. package/dist/browser/direct-api.types.js +4 -0
  5. package/dist/browser/direct-host-box.d.ts +11 -0
  6. package/dist/{direct-host-box.js → browser/direct-host-box.js} +2 -18
  7. package/dist/{dom-core.d.ts → browser/dom-core.d.ts} +67 -220
  8. package/dist/browser/dom-core.js +2484 -0
  9. package/dist/browser/dom-core.types.d.ts +127 -0
  10. package/dist/browser/dom-core.types.js +4 -0
  11. package/dist/{position-context.js → browser/position-context.js} +1 -1
  12. package/dist/browser/unknown-component.d.ts +14 -0
  13. package/dist/{unknown-component.js → browser/unknown-component.js} +5 -30
  14. package/dist/{dom.browser.d.ts → faces/dom.browser.d.ts} +2 -2
  15. package/dist/{dom.browser.js → faces/dom.browser.js} +2 -3
  16. package/dist/faces/dom.client.d.ts +4 -0
  17. package/dist/faces/dom.client.js +4 -0
  18. package/dist/faces/dom.d.ts +6 -0
  19. package/dist/faces/dom.js +6 -0
  20. package/dist/faces/http.d.ts +6 -0
  21. package/dist/{http.js → faces/http.js} +0 -1
  22. package/dist/faces/server.d.ts +30 -0
  23. package/dist/{server.js → faces/server.js} +27 -149
  24. package/dist/{vmz-dom.d.ts → faces/vmz-dom.d.ts} +1 -1
  25. package/dist/{vmz-dom.js → faces/vmz-dom.js} +1 -2
  26. package/dist/{vmz-runtime.d.ts → faces/vmz-runtime.d.ts} +1 -1
  27. package/dist/{vmz-runtime.js → faces/vmz-runtime.js} +1 -2
  28. package/dist/host/deployment-registry.d.ts +16 -0
  29. package/dist/{deployment-registry.js → host/deployment-registry.js} +1 -68
  30. package/dist/host/list-client-components.d.ts +14 -0
  31. package/dist/{list-client-components.js → host/list-client-components.js} +0 -37
  32. package/dist/{localize-body-links.js → host/localize-body-links.js} +0 -1
  33. package/dist/host/native-addon.d.ts +6 -0
  34. package/dist/{native-addon.js → host/native-addon.js} +0 -20
  35. package/dist/host/render-host.d.ts +20 -0
  36. package/dist/{render-host.js → host/render-host.js} +1 -17
  37. package/dist/{serve-host.d.ts → host/serve-host.d.ts} +3 -3
  38. package/dist/{serve-host.mjs → host/serve-host.mjs} +45 -168
  39. package/dist/shared/dom-attr-normalize.d.ts +8 -0
  40. package/dist/shared/dom-attr-normalize.js +71 -0
  41. package/dist/shared/host.types.d.ts +113 -0
  42. package/dist/shared/host.types.js +4 -0
  43. package/dist/shared/server.types.d.ts +67 -0
  44. package/dist/shared/server.types.js +4 -0
  45. package/dist/{dom-ssr.d.ts → ssr/dom-ssr.d.ts} +8 -37
  46. package/dist/{dom-ssr.js → ssr/dom-ssr.js} +189 -217
  47. package/package.json +34 -34
  48. package/dist/deployment-registry.d.ts +0 -70
  49. package/dist/direct-host-box.d.ts +0 -26
  50. package/dist/dom-core.js +0 -4815
  51. package/dist/dom.client.d.ts +0 -4
  52. package/dist/dom.client.js +0 -5
  53. package/dist/dom.d.ts +0 -6
  54. package/dist/dom.js +0 -7
  55. package/dist/http.d.ts +0 -6
  56. package/dist/list-client-components.d.ts +0 -62
  57. package/dist/native-addon.d.ts +0 -12
  58. package/dist/render-host.d.ts +0 -32
  59. package/dist/server.d.ts +0 -46
  60. package/dist/unknown-component.d.ts +0 -40
  61. /package/dist/{position-context.d.ts → browser/position-context.d.ts} +0 -0
  62. /package/dist/{index.d.ts → faces/index.d.ts} +0 -0
  63. /package/dist/{index.js → faces/index.js} +0 -0
  64. /package/dist/{localize-body-links.d.ts → host/localize-body-links.d.ts} +0 -0
  65. /package/dist/{route-layout-chain.d.ts → host/route-layout-chain.d.ts} +0 -0
  66. /package/dist/{route-layout-chain.js → host/route-layout-chain.js} +0 -0
@@ -1,30 +1,37 @@
1
1
  /**
2
- * VMZ DOM client runtime — precise patches, no VDOM diff (SSR lives in dom-ssr).
2
+ * VMZ DOM client runtime ??precise patches, no VDOM diff (SSR lives in dom-ssr).
3
3
  *
4
4
  *
5
5
  * Direct components expose `__vmzCreate` / `__vmzSerialize` / `__vmzPlan`.
6
6
  * Mount and client patches run that same schedule (SSR/hydrate/resume in dom-ssr).
7
- * Field writes only run registered dep patches — never re-create structure.
7
+ * Field writes only run registered dep patches ??never re-create structure.
8
8
  */
9
+ import type { BindingId, DirectInstance, PatchFn } from './direct-api.types.js';
10
+ import type { ComponentCtor, EachCtx, ResumeAdoptCtx } from './dom-core.types.js';
11
+ export { mergeClassParts, mergeStyleParts } from '../shared/dom-attr-normalize.js';
9
12
  export { applyDirectHostBox, INLINE_HOST_CONTENTS, resolveDirectHostBox } from './direct-host-box.js';
10
13
  export { createUnknownComponentElement, markUnknownComponentHost, serializeUnknownComponentNode, UNKNOWN_COMPONENT_ERROR, } from './unknown-component.js';
11
- /** @param {boolean} [on] */
12
14
  export declare function __vmzPrecisionEnable(on?: boolean): void;
13
- /** @param {boolean} [on] */
14
15
  export declare function __vmzTraceEnable(on?: boolean): void;
15
16
  export declare function __vmzPrecisionReset(): void;
16
17
  export declare function __vmzTraceReset(): void;
17
18
  /**
18
- * StableId event snapshot (`vmz.dx.trace.v0` shape without schema stamp —
19
- * host may wrap via ingestRuntimeTrace).
20
- * @returns {{ schema: string, events: typeof traceBuf.events, status: string }}
19
+ * StableId event snapshot (`vmz.dx.trace.v0` shape without schema stamp ?? * host may wrap via ingestRuntimeTrace).
21
20
  */
22
21
  export declare function __vmzTraceSnapshot(): {
23
22
  schema: string;
24
- events: any[];
23
+ events: {
24
+ stableId: {
25
+ kind: string;
26
+ id: string;
27
+ };
28
+ kind: string;
29
+ dep?: string;
30
+ t?: number;
31
+ chunkId?: string | null;
32
+ }[];
25
33
  status: string;
26
34
  };
27
- /** @returns {typeof precision} */
28
35
  export declare function __vmzPrecisionSnapshot(): {
29
36
  enabled: boolean;
30
37
  writes: number;
@@ -34,369 +41,209 @@ export declare function __vmzPrecisionSnapshot(): {
34
41
  domMoves: number;
35
42
  domRemoves: number;
36
43
  componentExecs: number;
37
- writesByRoot: any;
38
- bindingEvalsByDep: any;
39
- patchesByDep: any;
40
- bindingEvalsByBinding: any;
41
- patchesByBinding: any;
44
+ writesByRoot: {
45
+ [x: string]: number;
46
+ };
47
+ bindingEvalsByDep: {
48
+ [x: string]: number;
49
+ };
50
+ patchesByDep: {
51
+ [x: string]: number;
52
+ };
53
+ bindingEvalsByBinding: {
54
+ [x: string]: number;
55
+ };
56
+ patchesByBinding: {
57
+ [x: string]: number;
58
+ };
42
59
  };
43
60
  export declare function noteDomCreate(): void;
44
- /** @param {Record<string, any>} map — Prefer createRenderHost().ensureComponents(); process-global registry. */
45
61
  export declare function registerComponents(map: any): void;
46
- /** Sync registry lookup (SSR serialize / client). */
47
- export declare function getRegisteredComponent(name: any): any;
62
+ export declare function getRegisteredComponent(name: any): ComponentCtor;
48
63
  /**
49
64
  * Lazy component loader for EventEntry mixed packs (set by entry-client / entry-event).
50
- * @param {string} name
51
- * @returns {Promise<any>}
52
65
  */
53
- export declare function resolveComponent(name: any): Promise<any>;
66
+ export declare function resolveComponent(name: any): Promise<ComponentCtor>;
54
67
  /**
55
68
  * Mount once; later updates are dep patches only (never re-run structure).
56
- * Requires compiler `__vmzCreate` (production Direct emit — no blueprint fallback).
57
- * @param {new (props?: object) => any} Component
58
- * @param {Element} container
59
- * @param {object} [props]
69
+ * Requires compiler `__vmzCreate` (production Direct emit ??no blueprint fallback).
60
70
  */
61
- export declare function mount(Component: any, container: any, props?: {}): Promise<any>;
71
+ export declare function mount(Component: any, container: any, props?: any): Promise<any>;
62
72
  /**
63
73
  * Nested Direct `component` schedules child onMount asynchronously; drain before return
64
- * so SSR/hydrate callers see post-mount DOM (e.g. UserCard Ada, not Loading…).
65
- * @param {object} inst
74
+ * so SSR/hydrate callers see post-mount DOM (e.g. UserCard Ada, not Loading??.
66
75
  */
67
76
  export declare function settlePendingChildMounts(inst: any): Promise<void>;
68
- /**
69
- * @param {new (props?: object) => any} Component
70
- * @param {object} inst
71
- */
72
77
  export declare function runDirectCreate(Component: any, inst: any): any;
73
- /** Host API for compiler-emitted `__vmzCreate` (direct path, Program IR B). */
74
78
  /**
75
- * First default `<slot>` owned by this component tree — skip nested `[data-vmz]`
79
+ * First default `<slot>` owned by this component tree ??skip nested `[data-vmz]`
76
80
  * hosts (Button/Link/Empty label slots). `querySelector('slot')` steals those and
77
81
  * projects parent siblings into the wrong host (commercial Drawer into Create btn).
78
- * @param {Element | null | undefined} root
79
- * @returns {Element | null}
80
82
  */
81
83
  export declare function findOwnedDefaultSlot(root: any): any;
82
84
  export declare const directApi: {
83
- /** @type {object | null} */
84
- _inst: any;
85
- /** @type {Array<{ deps: string[], fn: => any, bindingId?: number|string|null }> | null} */
86
- _branchBinds: any;
87
- /** @type {Array< => void> | null} */
88
- _itemPatches: any;
89
- /**
90
- * Active keyed-each context (/): item binds + event delegation.
91
- * @type {null | {
92
- * noteItemBind: (bindingId: number|string|null, deps: string[], fn: => void) => void,
93
- * needDelegate: (type: string) => void,
94
- * }}
95
- */
96
- _eachCtx: any;
97
- /** @type {null | {
98
- * el: (tag: string) => Element,
99
- * text: (value?: any) => Text,
100
- * componentHost?: (name: string) => HTMLElement | null,
101
- * enter?: (node: Element) => boolean,
102
- * leave?: () => void,
103
- * scopeDepth?: () => number,
104
- * rewindScope?: (depth: number) => void,
105
- * beginBranchScope?: () => () => void,
106
- * }} */
107
- _resumeAdopt: any;
85
+ _inst: DirectInstance | null;
86
+ _branchBinds: Array<{
87
+ deps: string[];
88
+ fn: PatchFn;
89
+ bindingId?: BindingId;
90
+ }> | null;
91
+ _itemPatches: PatchFn[] | null;
92
+ _eachCtx: EachCtx | null;
93
+ _resumeAdopt: ResumeAdoptCtx | null;
108
94
  el(tag: any): any;
109
- text(value: any): any;
110
- /** Push adopted node's private resume pool for depth-first child create. */
111
- adoptEnter(node: any): any;
95
+ text(value: any): Text;
96
+ adoptEnter(node: any): boolean;
112
97
  adoptLeave(): void;
113
98
  frag(): DocumentFragment;
99
+ comment(value: any): Comment;
100
+ insertBefore(parent: any, node: any, ref: any): void;
101
+ removeNode(node: any): void;
102
+ /**
103
+ * Register a generated per-binding patch (0.2.0). No generic get/cf interpreter.
104
+ */
105
+ trackPatch(inst: any, deps: any, patch: any, bindingId?: any): void;
106
+ untrackPatch(inst: any, deps: any, patch: any, bindingId?: any): void;
107
+ disposeTree(root: any): void;
114
108
  attr(el: any, name: any, value: any): void;
109
+ mergeClass(...parts: any[]): string;
110
+ mergeStyle(...parts: any[]): string;
115
111
  on(el: any, type: any, handler: any): void;
116
112
  /**
117
113
  * Bind a named instance method (no arrow / Function#toString).
118
114
  * Learns `skipFlush` after a sync invocation that schedules no dirty work
119
115
  * (stride / transpose self-apply DOM).
120
- * @param {Element} el
121
- * @param {string} type
122
- * @param {string} methodName
123
- * @param {{ skipFlush?: boolean } | null | undefined} [opts]
124
116
  */
125
117
  onMethod(el: any, type: any, methodName: any, opts: any): void;
126
- /**
127
- * @param {object} inst
128
- * @param {number|string|null} bindingId
129
- * @param {string[]} deps
130
- * @param {() => any} get
131
- * @param {Text} textNode
132
- * @param {{ stable: string[], branches: Array<{ cond?: => any, deps: string[] }> } | null | undefined} [cf]
133
- */
134
- bindText(inst: any, bindingId: any, deps: any, get: any, textNode: any, cf: any): void;
135
- /**
136
- * @param {object} inst
137
- * @param {number|string|null} bindingId
138
- * @param {string[]} deps
139
- * @param {() => any} get
140
- * @param {Element} el
141
- * @param {string} name
142
- * @param {{ stable: string[], branches: Array<{ cond?: => any, deps: string[] }> } | null | undefined} [cf]
143
- */
144
- bindAttr(inst: any, bindingId: any, deps: any, get: any, el: any, name: any, cf: any): void;
145
118
  /**
146
119
  * Specialized single-field attr bind (0.1.29): compile-time field name, no generic get closure in artifact.
147
- * @param {object} inst
148
- * @param {number|string|null} bindingId
149
- * @param {string} fieldName
150
- * @param {Element} el
151
- * @param {string} name
152
120
  */
153
121
  specFieldAttr(inst: any, bindingId: any, fieldName: any, el: any, name: any): void;
154
122
  /**
155
123
  * Specialized single-field text bind (0.1.29): compile-time field name in generated artifact.
156
- * @param {object} inst
157
- * @param {number|string|null} bindingId
158
- * @param {string} fieldName
159
- * @param {Text} textNode
160
124
  */
161
125
  specFieldText(inst: any, bindingId: any, fieldName: any, textNode: any): void;
162
126
  setHtml(el: any, value: any): void;
163
- /**
164
- * Trusted HTML binding (`html={expr}`). Author/plugin responsibility.
165
- * @param {object} inst
166
- * @param {number|string|null} bindingId
167
- * @param {string[]} deps
168
- * @param {() => any} get
169
- * @param {Element} el
170
- * @param {{ stable: string[], branches: Array<{ cond?: => any, deps: string[] }> } | null | undefined} [cf]
171
- */
172
- bindHtml(inst: any, bindingId: any, deps: any, get: any, el: any, cf: any): void;
127
+ bindHtml(inst: any, bindingId: any, deps: any, get: any, el: any): void;
173
128
  /**
174
129
  * Nested component (sync Direct child or island schedule).
175
- * @param {object} hostInst
176
- * @param {string | Function} nameOrCtor — PascalCase tag string, or static Ctor import
177
- * @param {Record<string, any>} props
178
- * @param {string | null} client
179
130
  */
180
131
  component(hostInst: any, nameOrCtor: any, props: any, client: any): any;
181
132
  /**
182
- * Subscribe to a child component event (`@submit` → event name `submit`).
183
- * Orthogonal to function props (`:on-submit` → prop `onSubmit`).
184
- * @param {HTMLElement} hostEl
185
- * @param {string} eventName
186
- * @param {(ev?: any, ...rest: any[]) => any} handler
133
+ * Subscribe to a child component event (`@submit` ??event name `submit`).
134
+ * Orthogonal to function props (`:on-submit` ??prop `onSubmit`).
187
135
  */
188
136
  onComponentEvent(hostEl: any, eventName: any, handler: any): void;
189
137
  /**
190
138
  * Keep nested Direct child props live with parent field writes.
191
- * @param {object} hostInst
192
- * @param {HTMLElement} hostEl
193
- * @param {string} propName
194
- * @param {string[]} deps
195
- * @param {() => any} get
196
139
  */
197
140
  bindComponentProp(hostInst: any, hostEl: any, propName: any, deps: any, get: any): void;
198
141
  /**
199
142
  * Project parent children into nested Direct component default `<slot>`.
200
143
  * Uses {@link findOwnedDefaultSlot} so nested Button/Link slots are not stolen.
201
- * @param {HTMLElement} hostEl
202
- * @param {Node} node
203
144
  */
204
145
  projectDefaultSlot(hostEl: any, node: any): void;
205
- /**
206
- * Direct if/else — comment anchors (no empty `span[data-vmz-if]` layout box).
207
- * @param {object} inst
208
- * @param {number|string|null} bindingId
209
- * @param {string[]} deps
210
- * @param {Array<{ cond?: => any, create: (api: typeof directApi) => Node }>} branches
211
- * @param {number|string|null} [regionId]
212
- */
213
- ifBlock(inst: any, bindingId: any, deps: any, branches: any, regionId?: any): DocumentFragment;
214
- /**
215
- * Direct keyed each — no blueprint `kind: "each"` dispatch.
216
- * /: Set/Map + Fragment batch insert; item-local binds; host field dispatch; event delegate.
217
- * @param {object} inst
218
- * @param {number|string|null} bindingId
219
- * @param {string[]} deps
220
- * @param {{ as?: string, list: => any, key?: (box: {item:any,index:number}) => any, createItem: (api: typeof directApi, box: {item:any,index:number}) => Node }} spec
221
- * @param {number|string|null} [regionId]
222
- */
223
- eachBlock(inst: any, bindingId: any, deps: any, spec: any, regionId?: any): DocumentFragment;
224
146
  };
225
147
  /**
226
148
  * Function prop wire: only `onXxx` camelCase is a handler prop.
227
- * Component `@event` must never normalize here — that channel is `onComponentEvent`.
228
- * @param {unknown} name
229
- * @returns {string | null}
149
+ * Component `@event` must never normalize here ??that channel is `onComponentEvent`.
230
150
  */
231
151
  export declare function eventPropHandlerName(name: any): string;
232
152
  /**
233
153
  * Dispatch a component event to parent subscribers registered via `onComponentEvent`.
234
154
  * Installed on every Direct instance as `inst.emit`.
235
- * @param {object} inst
236
- * @param {string} eventName
237
- * @param {...any} payload
238
155
  */
239
156
  export declare function emitComponentEvent(inst: any, eventName: any, ...payload: any[]): void;
240
157
  export declare function isEventPropName(name: any): boolean;
241
- /** HTML boolean attributes: presence means true; `false`/`null` must remove the attr. */
242
158
  export declare const BOOLEAN_HTML_ATTRS: Set<string>;
243
- /**
244
- * @param {Element} el
245
- * @param {string} name
246
- * @param {any} value
247
- */
248
159
  export declare function applyDomAttr(el: any, name: any, value: any): void;
249
160
  export declare function stripFns(obj: any): {};
250
161
  /**
251
162
  * Snapshot plain state/prop field values for Island HMR (session).
252
- * @param {object} inst
253
- * @returns {Record<string, unknown> | null}
254
163
  */
255
164
  export declare function snapshotInstanceState(inst: any): {};
256
- /**
257
- * @param {object} inst
258
- * @param {Record<string, unknown> | null | undefined} state
259
- */
260
165
  export declare function applyPreservedState(inst: any, state: any): void;
261
166
  /**
262
167
  * Tear down binders and stop patches. Safe to call more than once.
263
168
  * Field writes after destroy no longer update DOM (values may still change).
264
169
  *: also dispose owned DOM trees (child __vmzInst / region __vmzDispose).
265
- * @param {object} inst
266
170
  */
267
171
  export declare function destroy(inst: any): void;
268
172
  /**
269
173
  *: walk a DOM subtree and run lifetime dispose hooks + nested instance destroy.
270
174
  * Does not mark the *calling* parent destroyed; safe from destroy(inst).
271
- * @param {Node | null | undefined} root
272
175
  */
273
176
  export declare function disposeDomTree(root: any): void;
274
177
  export declare function scheduleClient(strategy: any, fn: any): void;
275
- /** @param {string} strategy */
276
178
  export declare function isEventEntryStrategy(strategy: any): boolean;
277
179
  export declare function scheduleClientOn(el: any, strategy: any, fn: any): void;
278
180
  /**
279
181
  * AsyncTask cancel protocol (first slice): keyed generation + AbortSignal.
280
182
  * Superseded runs and `destroy(inst)` abort prior work; stale results must not apply.
281
- * @param {object} inst
282
- * @param {string} key
283
- * @param {(signal: AbortSignal, meta: { generation: number }) => any | Promise<any>} fn
284
- * @returns {Promise<any>}
285
183
  */
286
184
  export declare function __vmzRunTask(inst: any, key: any, fn: any): Promise<any>;
287
- /** Abort all keyed tasks on an instance (also called from destroy). */
288
185
  export declare function __vmzCancelTasks(inst: any): void;
289
- /** @returns {'pending'|'success'|'error'|'cancelled'|null} */
290
186
  export declare function __vmzTaskStatus(inst: any, key: any): any;
291
- export declare function createInstance(Component: any, props?: {}): any;
187
+ export declare function createInstance(Component: any, props?: any): any;
292
188
  /**
293
189
  * Mark a plain object as intentionally shared across ownership boundaries.
294
- * @param {any} value
295
190
  */
296
191
  export declare function __vmzAllowShared(value: any): any;
297
192
  /**
298
193
  * Take exclusive ownership intent: clear multi-owner registry for this object.
299
194
  * Subsequent field assigns re-register from the assigning instance only.
300
- * @param {any} value
301
195
  */
302
196
  export declare function __vmzTakeShared(value: any): any;
303
- /**
304
- * @returns {Array<{ kind: string, message: string }>}
305
- */
306
197
  export declare function __vmzSharedCrossComponentDiagnostics(): any[];
307
198
  export declare function __vmzSharedCrossComponentDiagnosticsReset(): void;
308
199
  /**
309
200
  * Read a nested path under a field root (for compound / update expansion).
310
- * @param {any} inst
311
- * @param {string} root
312
- * @param {string[]} segs
313
201
  */
314
202
  export declare function __vmzReadPath(inst: any, root: any, segs: any): any;
315
203
  /**
316
204
  * Short-circuit logical path assign (`||=` / `&&=` / `??=`).
317
- * @param {any} inst
318
- * @param {string} root
319
- * @param {string[]} segs
320
- * @param {'||'|'&&'|'??'} kind
321
- * @param {any} rhs
322
205
  */
323
206
  export declare function __vmzWritePathLogical(inst: any, root: any, segs: any, kind: any, rhs: any): any;
324
207
  export declare function __vmzWritePath(inst: any, root: any, segs: any, value: any): any;
325
208
  /**
326
209
  * Array-item leaf write without segs array alloc (`rows[i].label = v`).
327
- * @param {any} inst
328
- * @param {string} root
329
- * @param {string|number} idx
330
- * @param {string} leaf
331
- * @param {any} value
332
210
  */
333
211
  export declare function __vmzWritePathItem(inst: any, root: any, idx: any, leaf: any, value: any): any;
334
212
  /**
335
213
  * In-place two-index swap on an owned list field (WriteBarrier Slice 5).
336
214
  * Prefers eachBlock O(1) DOM transpose hook; otherwise schedules a list replace.
337
- * @param {any} inst
338
- * @param {string} root
339
- * @param {number|string} ia
340
- * @param {number|string} ib
341
215
  */
342
216
  export declare function __vmzListTranspose(inst: any, root: any, ia: any, ib: any): void;
343
217
  /**
344
- * Compound leaf write (`rows[i].label += x`) — one item touch, no separate ReadPath.
345
- * @param {any} inst
346
- * @param {string} root
347
- * @param {string[]} segs
348
- * @param {string} op
349
- * @param {any} rhs
218
+ * Compound leaf write (`rows[i].label += x`) ??one item touch, no separate ReadPath.
350
219
  */
351
220
  export declare function __vmzWritePathCompound(inst: any, root: any, segs: any, op: any, rhs: any): any;
352
221
  /**
353
222
  * Array-item compound without segs array alloc (`rows[i].label += x`).
354
- * @param {any} inst
355
- * @param {string} root
356
- * @param {string|number} idx
357
- * @param {string} leaf
358
- * @param {string} op
359
- * @param {any} rhs
360
223
  */
361
224
  export declare function __vmzWritePathCompoundItem(inst: any, root: any, idx: any, leaf: any, op: any, rhs: any): any;
362
225
  /**
363
226
  * Stride compound over an owned array (`for (i=start; i<n; i+=step) arr[i].leaf op= rhs`).
364
227
  * Mutates + applies DOM in one pass when eachBlock leaf hook is installed (update-every-Nth).
365
- * @param {any} inst
366
- * @param {string} root
367
- * @param {string} leaf
368
- * @param {string} op
369
- * @param {any} rhs
370
- * @param {number|string} start
371
- * @param {number|string} step
372
228
  */
373
229
  export declare function __vmzArrayItemCompoundStride(inst: any, root: any, leaf: any, op: any, rhs: any, start: any, step: any): void;
374
230
  /**
375
- * Compiler-inserted array mutator barrier (push/pop/splice/…).
231
+ * Compiler-inserted array mutator barrier (push/pop/splice/??.
376
232
  * Applies the mutator on the plain array and schedules a structural notice
377
- * at `root` + `baseSegs` (empty baseSegs → field replace).
233
+ * at `root` + `baseSegs` (empty baseSegs ??field replace).
378
234
  *
379
- * @param {any} inst
380
- * @param {string} root
381
- * @param {string[]} baseSegs
382
- * @param {string} method
383
- * @param {any[]} args
384
235
  */
385
236
  export declare function __vmzArrayMutate(inst: any, root: any, baseSegs: any, method: any, args: any): any;
386
237
  /**
387
238
  * WriteBarrier: true when value is an owned plain object with path barriers (no Proxy).
388
- * @param {any} value
389
239
  */
390
240
  export declare function __vmzIsWriteBarrierOwned(value: any): boolean;
391
241
  /**
392
242
  * True when value is the Proxy wrapper from array (or residual) reactive wrap.
393
- * @param {any} value
394
243
  */
395
244
  export declare function __vmzIsReactiveProxy(value: any): boolean;
396
- /** @param {object} inst */
397
245
  export declare function flushPending(inst: any): any;
398
246
  /**
399
247
  * True when the container already has meaningful DOM (SSR / resume shell).
400
- * @param {Element} el
401
248
  */
402
249
  export declare function hasMeaningfulChild(el: any): boolean;