incajs 0.0.31 → 0.0.33

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.
@@ -1,421 +0,0 @@
1
- import { A as EventHandler, B as IncaText, C as Overflow, D as TagName, E as StyleProps, F as IncaFragment, G as TextMembers, H as NodeListOf, I as IncaInputElement, L as IncaNode, M as HTMLCollectionOf, N as HtmlMembers, O as Attr, P as IncaElement, R as IncaParent, S as NodeId, T as ScrollAlignment, U as NodeMembers, V as NamedNodeMap, W as TextContentMember, _ as IncaPointerEvent, a as EventListener, b as IncaWindow, c as IncaCompositionEvent, d as IncaEventMap, f as IncaEventTarget, g as IncaMouseEvent, h as IncaKeyboardEvent, i as EventLike, j as EventHandlers, k as CharacterDataMembers, l as IncaDocument, m as IncaInputEvent, n as AttributeValue, o as EventListenerObject, p as IncaFocusEvent, r as CallbackId, s as EventListenerOrObject, t as window, u as IncaEvent, v as IncaUIEvent, w as Px, x as ListenerOptions, y as IncaWheelEvent, z as IncaTemplateElement } from "./window-Bc0a_a9g.js";
2
- /** How {@link IncaNative.linkedNode} names the node to reach from a node. */
3
- type NodeLink = "parent" | "first" | "last" | "previous" | "next";
4
- /** One node of a parsed fragment: id, tag, parent id and the text of a text node or a comment. */
5
- type ParsedEntry = [id: NodeId, tag: string, parentId: NodeId, data: string | null];
6
- /**
7
- * What a parse writes into the tree: the position of the first inserted node among the children of
8
- * its container, and the nodes in pre-order. An entry whose parent is no entry is a root.
9
- */
10
- type Parsed = [position: number, entries: ParsedEntry[]];
11
- /** What a listener or a dispatch names: a node id, or the tag of `window`. */
12
- type EventTargetId = NodeId | "$window";
13
- /**
14
- * The host-injected object every wrapper in this package forwards to. Not part of the public
15
- * surface.
16
- */
17
- interface IncaNative {
18
- rootNodeId(): NodeId;
19
- documentNodeId(): NodeId;
20
- createNode(tag: string): NodeId;
21
- createElement(localName: string): [NodeId, TagName];
22
- appendChild(parentId: NodeId, nodeId: NodeId): number;
23
- insertBefore(parentId: NodeId, nodeId: NodeId, refId: NodeId | null): number;
24
- removeChild(parentId: NodeId, childId: NodeId): void;
25
- replaceChild(parentId: NodeId, nodeId: NodeId, childId: NodeId): number;
26
- cloneNode(nodeId: NodeId, deep: boolean): [NodeId, string][];
27
- templateContent(nodeId: NodeId): NodeId | null;
28
- innerHtml(nodeId: NodeId): string;
29
- outerHtml(nodeId: NodeId): string;
30
- setInnerHtml(nodeId: NodeId, html: string): Parsed;
31
- setOuterHtml(nodeId: NodeId, html: string): Parsed | null;
32
- insertAdjacentHtml(nodeId: NodeId, position: string, html: string): Parsed;
33
- rootOf(nodeId: NodeId): NodeId;
34
- compareNodePosition(nodeId: NodeId, otherId: NodeId): number;
35
- isEqualNode(nodeId: NodeId, otherId: NodeId): boolean;
36
- setAttribute(nodeId: NodeId, key: string, value: AttributeValue): void;
37
- getAttribute(nodeId: NodeId, key: string): AttributeValue | null;
38
- removeAttribute(nodeId: NodeId, key: string): void;
39
- attributeNames(nodeId: NodeId): string[];
40
- linkedNode(nodeId: NodeId, link: NodeLink): NodeId | null;
41
- childNodeIds(nodeId: NodeId): NodeId[];
42
- isConnected(nodeId: NodeId): boolean;
43
- textContent(nodeId: NodeId): string;
44
- wholeText(nodeId: NodeId): string;
45
- substringData(nodeId: NodeId, offset: number, count: number): string;
46
- replaceData(nodeId: NodeId, offset: number, count: number, data: string): void;
47
- splitText(nodeId: NodeId, offset: number): NodeId;
48
- matches(nodeId: NodeId, selector: string): boolean;
49
- closest(nodeId: NodeId, selector: string): NodeId | null;
50
- checkSelector(selector: string): void;
51
- querySelector(nodeId: NodeId, selector: string): NodeId | null;
52
- querySelectorAll(nodeId: NodeId, selector: string): NodeId[];
53
- setStyle(nodeId: NodeId, key: string, value: AttributeValue): void;
54
- removeStyle(nodeId: NodeId, key: string): void;
55
- inputValue(nodeId: NodeId): string;
56
- setInputValue(nodeId: NodeId, value: string): void;
57
- addEventListener(target: EventTargetId, event: string, callback: HostCallback, capture?: boolean, passive?: boolean): CallbackId;
58
- removeEventListener(target: EventTargetId, event: string, callbackId: CallbackId): boolean;
59
- releaseListeners(nodeId: NodeId): CallbackId[];
60
- holdNode(nodeId: NodeId): void;
61
- releaseNode(nodeId: NodeId): void;
62
- focusNode(nodeId: NodeId, preventScroll?: boolean): void;
63
- blurNode(nodeId: NodeId): void;
64
- focusedNode(): NodeId | null;
65
- layoutOf(nodeId: NodeId): readonly [number, number, number, number, number, number, number] | null;
66
- scrollOf(nodeId: NodeId): readonly [number, number, number, number] | null;
67
- scrollNode(nodeId: NodeId, left: number | null, top: number | null): void;
68
- scrollIntoViewNode(nodeId: NodeId, block: ScrollAlignment, inline: ScrollAlignment): void;
69
- dispatchEvent(target: EventTargetId, event: EventLike): boolean;
70
- click(nodeId: NodeId): void;
71
- setPointerCapture(nodeId: NodeId, pointerId: number): void;
72
- releasePointerCapture(nodeId: NodeId, pointerId: number): void;
73
- hasPointerCapture(nodeId: NodeId, pointerId: number): boolean;
74
- }
75
- /** What the host calls: it passes the event object as the first argument. */
76
- type HostCallback = (...args: unknown[]) => void;
77
- declare global {
78
- var __inca_native__: IncaNative;
79
- var __inca_released__: (nodeIds: NodeId[], callbackIds: CallbackId[]) => void;
80
- var __inca_targets__: (targets: EventTargetId[]) => unknown[];
81
- }
82
- /**
83
- * Builds the listener methods of an event target: a node or window.
84
- * @param target - the target id, or a function that resolves it each time a method runs
85
- * @param passiveByDefault - event names whose listeners are passive unless
86
- * their options say `passive: false`
87
- * @returns the target's `addEventListener`, `removeEventListener` and
88
- * `dispatchEvent`
89
- */
90
- declare function createEventTarget(target: EventTargetId | (() => EventTargetId), passiveByDefault?: readonly string[]): IncaEventTarget;
91
- /**
92
- * @returns the `eventId` of the newest event any registered listener has
93
- * received, or 0 before the first. Ids grow with each event, and every
94
- * listener of one event receives the same id.
95
- */
96
- declare function latestEventId(): number;
97
- /**
98
- * Registers `listener` for `event` on the target (node or window).
99
- * Registering the same listener for the same target, event and `capture`
100
- * again changes nothing, and the first registration keeps its other options.
101
- * A `null` listener is ignored.
102
- *
103
- * Any event name is accepted, and it fires when the host dispatches that name.
104
- * `IncaEventMap` gives the event type of each name the host dispatches.
105
- * @param target - the event target (node id or "$window")
106
- * @param event - the event name (e.g. `"click"`)
107
- * @param listener - a function, called with the event's `currentTarget` as
108
- * `this`, or an object whose `handleEvent` method is called with the object
109
- * as `this` when the event fires
110
- * @param options - `capture` listens while the event travels down to the
111
- * target, `passive` ignores `preventDefault()` calls in `listener`, and
112
- * `once` removes the listener before it first runs
113
- * @throws TypeError when `target` is malformed or is an unknown target tag
114
- * @throws TypeError when a node target names no node
115
- * @throws RangeError when the host has issued its last callback id
116
- */
117
- declare function addEventListener(target: EventTargetId, event: string, listener: EventListenerOrObject<never, never> | null, options?: ListenerOptions): void;
118
- /**
119
- * Drops the registration {@link addEventListener} made for `listener` on
120
- * the target with the same `event` and `capture`. A no-op if there is none.
121
- * @param target - the event target (node or window)
122
- * @param event - the event name
123
- * @param listener - the listener that was registered
124
- * @param options - `capture` of the registration to drop
125
- */
126
- declare function removeEventListener(target: EventTargetId, event: string, listener: EventListenerOrObject<never, never> | null, options?: Pick<ListenerOptions, "capture">): void;
127
- /**
128
- * Dispatches `event` at a target along its path. Dispatching at an element
129
- * reaches its ancestors, `document` and `window`. Dispatching at `document`
130
- * reaches `window`, and dispatching at `window` reaches only `window`.
131
- * @param target - the target to dispatch at (node id or "$window")
132
- * @param event - the event to dispatch
133
- * @returns `false` when a listener canceled a cancelable event, else `true`
134
- * @throws TypeError when `target` is malformed or is an unknown target tag
135
- * @throws TypeError when `target` is a node id that names no node
136
- * @throws TypeError when `event` is not an event built with an event constructor
137
- * @throws DOMException named `InvalidStateError` when `event` is being dispatched
138
- */
139
- declare function dispatchEvent(target: EventTargetId, event: EventLike): boolean;
140
- /**
141
- * Fires an untrusted `click` at `nodeId`. A disabled `button` or `input` and a node whose
142
- * own click is still running ignore the call.
143
- * @param nodeId - the node to click
144
- * @throws TypeError when `nodeId` is malformed
145
- * @throws TypeError when `nodeId` names no node
146
- */
147
- declare function click(nodeId: NodeId): void;
148
- /**
149
- * Requests that `nodeId` become focused. Takes effect on the next frame,
150
- * dispatching `"blur"`/`"focus"` for whatever actually changed. The node
151
- * needs a `tabindex` attribute to take focus, and a listener for either event
152
- * is optional. The scroll containers around the node scroll it into view.
153
- * @param nodeId - the node to focus
154
- * @param preventScroll - `true` to leave the scroll containers in place; omitted or `false` scrolls the node into view
155
- * @throws TypeError when `nodeId` is malformed
156
- * @throws TypeError when `nodeId` names no node
157
- */
158
- declare function focus(nodeId: NodeId, preventScroll?: boolean): void;
159
- /**
160
- * Requests that `nodeId` become unfocused, the way `element.blur()` does.
161
- * Takes effect on the next frame; a no-op if `nodeId` isn't the focused node
162
- * when it runs.
163
- * @param nodeId - the node to unfocus
164
- */
165
- declare function blur(nodeId: NodeId): void;
166
- /**
167
- * Returns the host-allocated root container's id, the node an app attaches
168
- * itself under. The host allocates it with the tree, so this resolves from
169
- * the first call and names the same node for the engine's lifetime.
170
- * @returns the root node's id
171
- */
172
- declare function rootNodeId(): NodeId;
173
- /**
174
- * Allocates a new node of kind `tag` in the native tree. The node starts out
175
- * detached. Attach it with {@link appendChild}/{@link insertBefore}. The host
176
- * frees the node at the start of the next frame unless it is inserted or held
177
- * with {@link holdNode} by then.
178
- * @param tag - the node's element kind
179
- * @returns the new node's id
180
- */
181
- declare function createNode(tag: TagName): NodeId;
182
- /**
183
- * Attaches `nodeId` as the last child of `parentId`. A thin wrapper over
184
- * {@link insertBefore} with no anchor.
185
- * @param parentId - the container to attach to
186
- * @param nodeId - the node being attached, or a fragment whose children are attached
187
- * @returns the position of the first attached node among the children of `parentId`
188
- * @throws {DOMException} `HierarchyRequestError` as {@link insertBefore} does
189
- */
190
- declare function appendChild(parentId: NodeId, nodeId: NodeId): number;
191
- /**
192
- * Attaches `nodeId` as a child of `parentId`, positioned before `refId`
193
- * (or at the end, if `refId` is `null`). A fragment attaches its children in order.
194
- * @param parentId - the container to attach to
195
- * @param nodeId - the node being attached, or a fragment whose children are attached
196
- * @param refId - the sibling to insert before, or `null` to append at the end
197
- * @returns the position of the first attached node among the children of `parentId`
198
- * @throws {DOMException} `HierarchyRequestError` when `parentId` is a text node or a comment,
199
- * `nodeId` is `parentId` or an ancestor of it, `nodeId` is the document, or `parentId` is the
200
- * document and the insertion gives it text or a second element;
201
- * `NotFoundError` when `refId` is not a child of `parentId`
202
- * @throws {TypeError} when an id names no node
203
- */
204
- declare function insertBefore(parentId: NodeId, nodeId: NodeId, refId: NodeId | null): number;
205
- /**
206
- * Detaches `childId` from `parentId`. The detached node keeps its own children and its listeners,
207
- * and is freed at the start of the next frame unless it is inserted or held
208
- * with {@link holdNode} by then. An unknown `childId` does nothing.
209
- * @param parentId - the current container
210
- * @param childId - the node being detached
211
- * @throws {DOMException} `NotFoundError` when `childId` is a node that is not a child of `parentId`
212
- * @throws {TypeError} when `parentId` names no node
213
- */
214
- declare function removeChild(parentId: NodeId, childId: NodeId): void;
215
- /**
216
- * Keeps `nodeId` and its subtree alive while it has no parent. The host frees
217
- * a parentless node that is neither held nor inserted by the start of the next
218
- * frame. Holding a held or attached node changes nothing visible.
219
- * @param nodeId - the node to keep
220
- * @throws {TypeError} when `nodeId` names no node
221
- */
222
- declare function holdNode(nodeId: NodeId): void;
223
- /**
224
- * Ends the hold of {@link holdNode}. A node with no parent is freed at the
225
- * start of the next frame. An unknown id does nothing.
226
- * @param nodeId - the node to let go
227
- */
228
- declare function releaseNode(nodeId: NodeId): void;
229
- /**
230
- * Sets a non-style attribute/prop on `nodeId`. See {@link setStyle} for
231
- * layout/paint properties, which live in a separate map.
232
- * @param nodeId - the node to update
233
- * @param key - the attribute name
234
- * @param value - the attribute value
235
- */
236
- declare function setAttribute(nodeId: NodeId, key: string, value: AttributeValue): void;
237
- /**
238
- * Returns the attribute/prop stored on `nodeId` under `key`, or `null` when unset.
239
- * @param nodeId - the node to read
240
- * @param key - the attribute name
241
- * @returns the stored value, or `null`
242
- * @throws {TypeError} when `nodeId` names no node
243
- */
244
- declare function getAttribute(nodeId: NodeId, key: string): AttributeValue | null;
245
- /**
246
- * Returns the box `nodeId` was drawn at in the last frame, in window logical
247
- * pixels, or `null` if the node has no recorded box.
248
- * @param nodeId - the node to read
249
- * @returns `[x, y, width, height, border, scrollX, scrollY]`, or `null`. `border` is one uniform
250
- * width on all sides. `scrollX` and `scrollY` are the positive scroll offset the parent applied
251
- * to the box.
252
- * @throws {TypeError} when `nodeId` names no node
253
- */
254
- declare function layoutOf(nodeId: NodeId): readonly [number, number, number, number, number, number, number] | null;
255
- /**
256
- * Returns the scroll offset of `nodeId` in window logical pixels. A write made
257
- * since the last draw is included, clamped to the maximum of the last drawn
258
- * frame.
259
- * @param nodeId - the node to read
260
- * @returns `[left, top, maxLeft, maxTop]`, or `null` for a node whose `overflow` is
261
- * `visible` or `clip` on both axes. The maxima are the largest offsets the node can take, as
262
- * of the last drawn frame.
263
- * @throws {TypeError} when `nodeId` names no node
264
- */
265
- declare function scrollOf(nodeId: NodeId): readonly [number, number, number, number] | null;
266
- /**
267
- * Sets the scroll offset of `nodeId` on one or both axes. A `null` axis keeps
268
- * its current offset. The host clamps each value to the scrollable range on
269
- * the next frame. A node whose `overflow` is `visible` or `clip` on both axes ignores the call.
270
- * @param nodeId - the node to scroll
271
- * @param left - the horizontal offset, or `null` to keep it
272
- * @param top - the vertical offset, or `null` to keep it
273
- * @throws {TypeError} when `nodeId` names no node
274
- */
275
- declare function scrollNode(nodeId: NodeId, left: number | null, top: number | null): void;
276
- /**
277
- * Scrolls each scroll container around `nodeId` so the node shows.
278
- * @param nodeId - the node to bring into view
279
- * @param block - the vertical alignment: `"start"`, `"center"`, `"end"` or `"nearest"`
280
- * @param inline - the horizontal alignment: `"start"`, `"center"`, `"end"` or `"nearest"`
281
- * @throws {TypeError} when `nodeId` names no node
282
- * @throws {TypeError} when `block` or `inline` is not an alignment name
283
- */
284
- declare function scrollIntoViewNode(nodeId: NodeId, block: ScrollAlignment, inline: ScrollAlignment): void;
285
- /**
286
- * Removes a non-style attribute/prop from `nodeId`. Removing an attribute
287
- * that isn't set does nothing.
288
- * @param nodeId - the node to update
289
- * @param key - the attribute name
290
- */
291
- declare function removeAttribute(nodeId: NodeId, key: string): void;
292
- /**
293
- * Sets a style property on `nodeId`. A key from {@link StyleProps} gets
294
- * compile-time checking on its value's shape. Any other string key, such as a
295
- * camelCase or kebab-case spelling or a property the types do not list,
296
- * forwards as a raw {@link AttributeValue}.
297
- *
298
- * A key takes kebab-case (`flex-direction`) or camelCase (`flexDirection`).
299
- * Both spellings share one slot per property, and the value set most recently
300
- * applies.
301
- * @param nodeId - the node to update
302
- * @param key - the style property name
303
- * @param value - the style property value
304
- */
305
- declare function setStyle<K extends keyof StyleProps>(nodeId: NodeId, key: K, value: NonNullable<StyleProps[K]>): void;
306
- declare function setStyle(nodeId: NodeId, key: string, value: AttributeValue): void;
307
- /**
308
- * Removes a style property from `nodeId`, so it renders as if never set.
309
- * Removing a property that isn't set does nothing. The key takes any spelling
310
- * or CSS name {@link setStyle} accepts, and removes the property whichever
311
- * one set it.
312
- * @param nodeId - the node to update
313
- * @param key - the style property name
314
- */
315
- declare function removeStyle(nodeId: NodeId, key: string): void;
316
- /**
317
- * Returns the id of the focused node.
318
- * @returns the focused node's id, or `null` when no node has focus
319
- */
320
- declare function focusedNode(): NodeId | null;
321
- /**
322
- * Builds the {@link IncaElement} handle for a native node: parentless,
323
- * childless, with `id`, `focus()`, `blur()`, `click()`, the pointer capture
324
- * methods, the listener methods of an event target, `tabIndex`,
325
- * the `value` of an `input`, the layout members, the node members and the event
326
- * handler properties, all driven through the host.
327
- * @param id - the native node's id
328
- * @param kind - whether the node is an element or a comment stand-in
329
- * @param tag - the node's element kind, `div` when omitted; a `button` or `input` defaults to tab
330
- * index `0`, and an `input` has `value`
331
- * @param passiveByDefault - event names whose listeners are passive unless their options say
332
- * `passive: false`
333
- * @returns the new handle
334
- */
335
- declare function createIncaElement(id: NodeId, kind: IncaElement["kind"], tag?: TagName, passiveByDefault?: readonly string[]): IncaElement;
336
- /**
337
- * Allocates a new element node for `tag`.
338
- * @param tag - the node's element kind
339
- * @returns the new, parentless, childless element
340
- */
341
- declare function createElementNode(tag: TagName): IncaElement;
342
- /**
343
- * Creates the hidden container that stands in for a comment node, such as a
344
- * placeholder for conditional content.
345
- * @param text - the data of the comment
346
- * @returns the new hidden element
347
- */
348
- declare function createCommentNode(text?: string): IncaElement;
349
- /**
350
- * Creates a text leaf.
351
- * @param text - the initial text content
352
- * @returns the new text leaf
353
- */
354
- declare function createTextNode(text: string): IncaText;
355
- /**
356
- * Replaces all of `el`'s children with at most a single text child holding
357
- * `text`. The old children keep their listeners. An empty string leaves `el` childless.
358
- * @param el - the element or fragment whose children are replaced
359
- * @param text - the new text content
360
- */
361
- declare function setElementText(el: IncaParent, text: string): void;
362
- /**
363
- * Returns the handle of the host's mount container, which stands between the app's elements and
364
- * `document` in an event path. A live handle is reused, so a mount and an event see one object.
365
- * A `wheel` listener on it is passive unless its options say `passive: false`.
366
- * @returns the mount container's handle
367
- */
368
- declare function rootElement(): IncaElement;
369
- /**
370
- * Whether `node` left the tree for good, removed or freed. A removed node stays in the host and
371
- * its members read real values. Its listeners are gone.
372
- * @param node - the handle to check
373
- * @returns `true` after {@link markRemoved} or {@link markDestroyed} reached `node`
374
- */
375
- declare function isRemoved(node: IncaNode): boolean;
376
- /**
377
- * Attaches `child` to `parent`, before `anchor` or at the end when `anchor` is
378
- * omitted or `null`. If `anchor` is `child` itself and `child` is already in
379
- * `parent`, nothing changes. A `child` attached elsewhere is detached first,
380
- * so a move keeps the node alive.
381
- * @param child - the node being attached
382
- * @param parent - the new container
383
- * @param anchor - the sibling to insert before, or omitted/`null` to append at the end
384
- */
385
- declare function insert(child: IncaNode, parent: IncaElement, anchor?: IncaNode | null): void;
386
- /**
387
- * Removes `child` for good: the native node leaves its parent and keeps its
388
- * subtree, and every event listener registered in the subtree is released. The
389
- * handles stay readable: the root is held until its handle is collected.
390
- *
391
- * A caller that removes a subtree calls this on its root alone.
392
- * @param child - the node being removed
393
- */
394
- declare function remove(child: IncaNode): void;
395
- /**
396
- * Looks up the current parent.
397
- * @param node - the node to query
398
- * @returns the current parent, or `null` if it isn't attached or sits in a fragment
399
- */
400
- declare function parentNode(node: IncaNode): IncaElement | null;
401
- /**
402
- * Looks up the next sibling.
403
- * @param node - the node to query
404
- * @returns the sibling immediately after `node` in its parent's children, or `null` if there is none (or `node` isn't attached)
405
- */
406
- declare function nextSibling(node: IncaNode): IncaNode | null;
407
- /**
408
- * Updates a text leaf's content in place.
409
- * @param node - the text leaf to update
410
- * @param text - the new text content
411
- */
412
- declare function setText(node: IncaText, text: string): void;
413
- declare namespace rendererCore_d_exports {
414
- export { Attr, AttributeValue, CallbackId, CharacterDataMembers, EventHandler, EventHandlers, EventLike, EventListener, EventListenerObject, EventListenerOrObject, HTMLCollectionOf, HtmlMembers, IncaCompositionEvent, IncaCore, IncaDocument, IncaElement, IncaEvent, IncaEventMap, IncaEventTarget, IncaFocusEvent, IncaFragment, IncaInputElement, IncaInputEvent, IncaKeyboardEvent, IncaMouseEvent, IncaNode, IncaParent, IncaPointerEvent, IncaTemplateElement, IncaText, IncaUIEvent, IncaWheelEvent, IncaWindow, ListenerOptions, NamedNodeMap, NodeId, NodeListOf, NodeMembers, Overflow, Px, ScrollAlignment, StyleProps, TagName, TextContentMember, TextMembers, addEventListener, appendChild, blur, click, createCommentNode, createElementNode, createEventTarget, createIncaElement, createNode, createTextNode, dispatchEvent, focus, focusedNode, getAttribute, holdNode, insert, insertBefore, isRemoved, latestEventId, layoutOf, nextSibling, parentNode, releaseNode, remove, removeAttribute, removeChild, removeEventListener, removeStyle, rootElement, rootNodeId, scrollIntoViewNode, scrollNode, scrollOf, setAttribute, setElementText, setStyle, setText, window };
415
- }
416
- /**
417
- * What a custom renderer (`incajs/vue`) drives the host through: the tree and
418
- * event calls, the element handles and the shadow tree.
419
- */
420
- type IncaCore = typeof rendererCore_d_exports;
421
- export { setStyle as A, removeChild as C, scrollNode as D, scrollIntoViewNode as E, focus as F, latestEventId as I, removeEventListener as L, blur as M, click as N, scrollOf as O, dispatchEvent as P, createEventTarget as R, removeAttribute as S, rootNodeId as T, getAttribute as _, parentNode as a, layoutOf as b, createCommentNode as c, createTextNode as d, rootElement as f, focusedNode as g, createNode as h, nextSibling as i, addEventListener as j, setAttribute as k, createElementNode as l, appendChild as m, setText as n, remove as o, setElementText as p, insert as r, isRemoved as s, IncaCore as t, createIncaElement as u, holdNode as v, removeStyle as w, releaseNode as x, insertBefore as y };
@@ -1 +0,0 @@
1
- import{t as e}from"./rolldown-runtime-DK3Fl9T5.js";import{A as t,B as n,C as r,D as i,F as a,G as o,H as s,I as c,K as l,L as u,M as d,N as f,O as p,P as m,R as h,S as g,U as _,V as v,W as y,_ as b,a as x,b as S,c as C,d as w,h as T,i as E,j as D,k as O,l as k,m as A,o as j,p as M,r as N,t as P,u as F,w as I,x as L,y as R,z}from"./hooks-BFw_ohVI.js";var B=/* @__PURE__ */ e({addEventListener:()=>h,appendChild:()=>b,blur:()=>z,click:()=>n,createCommentNode:()=>N,createElementNode:()=>E,createEventTarget:()=>u,createIncaElement:()=>x,createNode:()=>R,createTextNode:()=>j,dispatchEvent:()=>v,focus:()=>s,focusedNode:()=>S,getAttribute:()=>L,holdNode:()=>g,insert:()=>w,insertBefore:()=>r,isRemoved:()=>o,latestEventId:()=>_,layoutOf:()=>I,nextSibling:()=>M,parentNode:()=>A,releaseNode:()=>i,releaseWhenCollected:()=>l,remove:()=>T,removeAttribute:()=>p,removeChild:()=>O,removeEventListener:()=>y,removeStyle:()=>t,rootElement:()=>C,rootNodeId:()=>D,scrollIntoViewNode:()=>d,scrollNode:()=>f,scrollOf:()=>m,setAttribute:()=>a,setElementText:()=>k,setStyle:()=>c,setText:()=>F,window:()=>P});export{B as t};