@torpor/view 1.3.3 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Effect-Bp-BIDDm.d.cts → Effect-Bi_nt6cx.d.cts} +16 -3
- package/dist/Effect-Bi_nt6cx.d.cts.map +1 -0
- package/dist/{Effect-VsIY2vPx.d.mts → Effect-Bi_nt6cx.d.mts} +16 -3
- package/dist/Effect-Bi_nt6cx.d.mts.map +1 -0
- package/dist/ListItemSpec-DFkYr2TE.d.cts +28 -0
- package/dist/ListItemSpec-DFkYr2TE.d.cts.map +1 -0
- package/dist/ListItemSpec-DFkYr2TE.d.mts +28 -0
- package/dist/ListItemSpec-DFkYr2TE.d.mts.map +1 -0
- package/dist/{AsyncOptions-BDtArmeL.d.mts → WatchOptions--xq-Gn4e.d.cts} +77 -4
- package/dist/WatchOptions--xq-Gn4e.d.cts.map +1 -0
- package/dist/{AsyncOptions-C_7mWR6F.d.cts → WatchOptions-DWF4EqB6.d.mts} +77 -4
- package/dist/WatchOptions-DWF4EqB6.d.mts.map +1 -0
- package/dist/compile.cjs +1299 -401
- package/dist/compile.d.cts +16 -12
- package/dist/compile.d.cts.map +1 -1
- package/dist/compile.d.mts +16 -12
- package/dist/compile.d.mts.map +1 -1
- package/dist/compile.mjs +1299 -401
- package/dist/compile.mjs.map +1 -1
- package/dist/dev.cjs +101 -51
- package/dist/dev.d.cts +33 -2
- package/dist/dev.d.cts.map +1 -1
- package/dist/dev.d.mts +33 -2
- package/dist/dev.d.mts.map +1 -1
- package/dist/dev.mjs +51 -2
- package/dist/dev.mjs.map +1 -1
- package/dist/{fromWebSocket-ERhd9KZR.mjs → fromWebSocket-B22DIys7.mjs} +11 -2
- package/dist/fromWebSocket-B22DIys7.mjs.map +1 -0
- package/dist/{fromWebSocket-Cdoghvmh.cjs → fromWebSocket-C56rkQpZ.cjs} +15 -0
- package/dist/index.cjs +605 -266
- package/dist/index.d.cts +36 -129
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +36 -129
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +593 -255
- package/dist/index.mjs.map +1 -1
- package/dist/runtime.iife.js +1 -1
- package/dist/ssr.cjs +122 -22
- package/dist/ssr.d.cts +46 -12
- package/dist/ssr.d.cts.map +1 -1
- package/dist/ssr.d.mts +46 -12
- package/dist/ssr.d.mts.map +1 -1
- package/dist/ssr.mjs +121 -23
- package/dist/ssr.mjs.map +1 -1
- package/dist/titleWarning-BMjLAXpn.mjs +72 -0
- package/dist/titleWarning-BMjLAXpn.mjs.map +1 -0
- package/dist/titleWarning-DXp4fK7q.cjs +87 -0
- package/package.json +2 -1
- package/dist/AsyncOptions-BDtArmeL.d.mts.map +0 -1
- package/dist/AsyncOptions-C_7mWR6F.d.cts.map +0 -1
- package/dist/Cleanup-D0wvGW5d.d.cts +0 -9
- package/dist/Cleanup-D0wvGW5d.d.cts.map +0 -1
- package/dist/Cleanup-D0wvGW5d.d.mts +0 -9
- package/dist/Cleanup-D0wvGW5d.d.mts.map +0 -1
- package/dist/Effect-Bp-BIDDm.d.cts.map +0 -1
- package/dist/Effect-VsIY2vPx.d.mts.map +0 -1
- package/dist/devContext-BulTn3U5.cjs +0 -27
- package/dist/devContext-ZNsPyOgB.mjs +0 -24
- package/dist/devContext-ZNsPyOgB.mjs.map +0 -1
- package/dist/fromWebSocket-ERhd9KZR.mjs.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as SlotRender, t as Component } from "./Component-0MH0zd-m.cjs";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { a as StreamSource, i as
|
|
2
|
+
import { a as Cleanup, n as Region, t as Effect } from "./Effect-Bi_nt6cx.cjs";
|
|
3
|
+
import { t as ListItemSpec } from "./ListItemSpec-DFkYr2TE.cjs";
|
|
4
|
+
import { a as fromWebSocket, c as StreamSource, d as ClassValue, i as AsyncOptions, l as formatText, n as $refresh, o as fromServer, s as fromElement, t as WatchOptions, u as StyleValue } from "./WatchOptions--xq-Gn4e.cjs";
|
|
5
5
|
//#region src/types/Animation.d.ts
|
|
6
6
|
interface Animation {
|
|
7
7
|
keyframes: Keyframe[] | PropertyIndexedKeyframes;
|
|
@@ -76,9 +76,6 @@ declare function clearLayoutSlot(region: Region): void;
|
|
|
76
76
|
*/
|
|
77
77
|
declare function fillLayoutSlot(component: Component, slot: SlotRender, parent: ParentNode, anchor: Node | null, $props?: Record<PropertyKey, any>, $context?: Record<PropertyKey, any>): Region;
|
|
78
78
|
//#endregion
|
|
79
|
-
//#region src/render/formatText.d.ts
|
|
80
|
-
declare function formatText(value: any): string;
|
|
81
|
-
//#endregion
|
|
82
79
|
//#region src/render/firstInsideNode.d.ts
|
|
83
80
|
/**
|
|
84
81
|
* Gets the first node that was inside the hydration block for the given
|
|
@@ -91,30 +88,6 @@ declare function firstInsideNode(anchor: ChildNode): ChildNode | null | undefine
|
|
|
91
88
|
declare function getFragment(document: Document, array: DocumentFragment[], index: number, html: string, ns?: boolean): DocumentFragment;
|
|
92
89
|
//#endregion
|
|
93
90
|
//#region src/render/getElementFragment.d.ts
|
|
94
|
-
/**
|
|
95
|
-
* Returns a clone of the cached template's single root element, bypassing the
|
|
96
|
-
* `DocumentFragment` wrapper that `getFragment` produces.
|
|
97
|
-
*
|
|
98
|
-
* Used by the compiler-emitted `createListItem` for `@for` bodies (and other
|
|
99
|
-
* fragments) whose template has exactly one rendering root child — e.g.
|
|
100
|
-
* `<tr><td>...</td>...</tr>`. Cloning `template.content.firstElementChild`
|
|
101
|
-
* directly saves the per-row `DocumentFragment` allocation that `getFragment`'s
|
|
102
|
-
* `cloneNode(true)` on the cached template's content would otherwise produce,
|
|
103
|
-
* which dominates the cost of bulk-row creates (`run`/`add`/`runlots`).
|
|
104
|
-
*
|
|
105
|
-
* Contract: the compiler only emits `t_fragment_el` for fragment indices whose
|
|
106
|
-
* template has exactly one rendering root, and that root is an `Element`. The
|
|
107
|
-
* cache array (`t_fragment_els`) is separate from `t_fragments` so each helper
|
|
108
|
-
* only ever sees its own cached type at a given index.
|
|
109
|
-
*
|
|
110
|
-
* @param document The owner document (used to build the cached `<template>`).
|
|
111
|
-
* @param array The per-component `t_fragment_els` cache.
|
|
112
|
-
* @param index The fragment's index in the cache.
|
|
113
|
-
* @param html The fragment's HTML source, with `#` placeholders for reactive
|
|
114
|
-
* text and `<!>` for anchor comments.
|
|
115
|
-
* @param ns When true, the template is created in the SVG namespace (its
|
|
116
|
-
* `firstElementChild` is then an SVG element).
|
|
117
|
-
*/
|
|
118
91
|
declare function getElementFragment(document: Document, array: Element[], index: number, html: string, ns?: boolean): Element;
|
|
119
92
|
//#endregion
|
|
120
93
|
//#region src/render/hydrate.d.ts
|
|
@@ -131,8 +104,12 @@ declare function getElementFragment(document: Document, array: Element[], index:
|
|
|
131
104
|
* @param parent The parent node
|
|
132
105
|
* @param component The component to mount
|
|
133
106
|
* @param props An object containing component props
|
|
107
|
+
* @param slots Slot render functions for the component
|
|
108
|
+
* @param rootContext The root `$context`, which the component and all of its
|
|
109
|
+
* descendants inherit (e.g. app-wide state that a framework provides to
|
|
110
|
+
* every page)
|
|
134
111
|
*/
|
|
135
|
-
declare function hydrate(parent: ParentNode, component: Component, props?: Record<string, any>, slots?: Record<string, SlotRender>): void;
|
|
112
|
+
declare function hydrate(parent: ParentNode, component: Component, props?: Record<string, any>, slots?: Record<string, SlotRender>, rootContext?: Record<PropertyKey, any>): void;
|
|
136
113
|
//#endregion
|
|
137
114
|
//#region src/render/mount.d.ts
|
|
138
115
|
/**
|
|
@@ -153,8 +130,12 @@ declare function hydrate(parent: ParentNode, component: Component, props?: Recor
|
|
|
153
130
|
* child elements
|
|
154
131
|
* @param component The component to mount
|
|
155
132
|
* @param props An object containing component props
|
|
133
|
+
* @param slots Slot render functions for the component
|
|
134
|
+
* @param rootContext The root `$context`, which the component and all of its
|
|
135
|
+
* descendants inherit (e.g. app-wide state that a framework provides to
|
|
136
|
+
* every page)
|
|
156
137
|
*/
|
|
157
|
-
declare function mount(parent: ParentNode, component: Component, props?: Record<string, any>, slots?: Record<string, SlotRender>): void;
|
|
138
|
+
declare function mount(parent: ParentNode, component: Component, props?: Record<string, any>, slots?: Record<string, SlotRender>, rootContext?: Record<PropertyKey, any>): void;
|
|
158
139
|
//#endregion
|
|
159
140
|
//#region src/render/unmount.d.ts
|
|
160
141
|
/**
|
|
@@ -167,6 +148,10 @@ declare function mount(parent: ParentNode, component: Component, props?: Record<
|
|
|
167
148
|
* embed is disposed and the host's render context is left untouched. Any
|
|
168
149
|
* embeds living inside a root container are disposed along with it.
|
|
169
150
|
*
|
|
151
|
+
* When no tree was mounted into `parent`, this is a no-op apart from
|
|
152
|
+
* disposing any embeds living inside it and removing `parent`'s own child
|
|
153
|
+
* nodes — it never touches the running app's root context.
|
|
154
|
+
*
|
|
170
155
|
* Call this before `mount`ing a fresh component tree into the same container
|
|
171
156
|
* (e.g. when client-side navigating to a route whose layout chain differs
|
|
172
157
|
* from the previous one). `mount` refuses to mount into a non-empty parent
|
|
@@ -176,32 +161,6 @@ declare function mount(parent: ParentNode, component: Component, props?: Record<
|
|
|
176
161
|
*/
|
|
177
162
|
declare function unmount(parent: ParentNode): void;
|
|
178
163
|
//#endregion
|
|
179
|
-
//#region src/types/ListItemSpec.d.ts
|
|
180
|
-
/**
|
|
181
|
-
* A lightweight, per-row descriptor emitted by the compiler's `@for`
|
|
182
|
-
* `buildItems` callback: just the key (for reconciliation) and the data bag
|
|
183
|
-
* (the loop variables). Unlike a full {@link ListItem}, a spec carries no DOM
|
|
184
|
-
* nodes, no effects, and no sibling-chain pointers — so allocating one per row
|
|
185
|
-
* on every list update is cheap.
|
|
186
|
-
*
|
|
187
|
-
* The keyed-list reconciler (`runListItems`) maps each spec to either an
|
|
188
|
-
* existing `ListItem` (matched by key, reused wholesale) or a freshly mounted
|
|
189
|
-
* one (for genuinely new keys), keeping the per-update cost proportional to
|
|
190
|
-
* what actually changed instead of to the list size.
|
|
191
|
-
*
|
|
192
|
-
* NOTE: `data` is `any` rather than `Record<string, any>` -- when a `@for`
|
|
193
|
-
* body binds a single loop variable and is proxy-safe, the variable is stored
|
|
194
|
-
* directly (e.g. `data: page` for a number), not as a bag.
|
|
195
|
-
*
|
|
196
|
-
* NOTE: `key` is optional -- the compiler only emits it when the `@for` has
|
|
197
|
-
* an `@key` block; unkeyed loops omit it (a missing key behaves the same as
|
|
198
|
-
* an `undefined` one during reconciliation).
|
|
199
|
-
*/
|
|
200
|
-
interface ListItemSpec {
|
|
201
|
-
key?: any;
|
|
202
|
-
data: any;
|
|
203
|
-
}
|
|
204
|
-
//#endregion
|
|
205
164
|
//#region src/types/ListItem.d.ts
|
|
206
165
|
interface ListItem extends Region, ListItemSpec {}
|
|
207
166
|
//#endregion
|
|
@@ -508,6 +467,15 @@ declare function setAttribute(el: Element, name: string, value: any): void;
|
|
|
508
467
|
//#region src/render/setDynamicElement.d.ts
|
|
509
468
|
declare function setDynamicElement(el: HTMLElement, tag: string): HTMLElement;
|
|
510
469
|
//#endregion
|
|
470
|
+
//#region src/render/urlAttributes.d.ts
|
|
471
|
+
/**
|
|
472
|
+
* Registers a function that rewrites the URLs in `href`, `src` and `action`
|
|
473
|
+
* attributes the client sets -- from dynamic attributes, spread props and
|
|
474
|
+
* client-rendered markup -- or clears it with `undefined`. Fragments already
|
|
475
|
+
* cached are not rewritten again, so register it before the first render.
|
|
476
|
+
*/
|
|
477
|
+
export declare function setUrlRewriter(rewriter: ((url: string) => string) | undefined): void;
|
|
478
|
+
//#endregion
|
|
511
479
|
//#region src/types/Bindable.d.ts
|
|
512
480
|
/**
|
|
513
481
|
* Type-level marker that documents a component prop as supporting two-way
|
|
@@ -675,63 +643,6 @@ declare function $peek<T>(fn: () => T): T;
|
|
|
675
643
|
*/
|
|
676
644
|
declare function $pending(fn: () => any): boolean;
|
|
677
645
|
//#endregion
|
|
678
|
-
//#region src/watch/$refresh.d.ts
|
|
679
|
-
/**
|
|
680
|
-
* Options for `$refresh`.
|
|
681
|
-
*/
|
|
682
|
-
interface RefreshOptions {
|
|
683
|
-
/**
|
|
684
|
-
* Re-fetch silently — stale-while-revalidate. The suspend is *quiet*
|
|
685
|
-
* (`$pending` stays `false`) and subscribers aren't notified until the new
|
|
686
|
-
* promise resolves. For background revalidation: polling, refetch-on-
|
|
687
|
-
* focus. Defaults to `false` — a refresh is loud, so `$pending` reads
|
|
688
|
-
* `true` and inline "updating…" indicators flip on at refresh start.
|
|
689
|
-
*/
|
|
690
|
-
silent?: boolean;
|
|
691
|
-
}
|
|
692
|
-
/**
|
|
693
|
-
* Re-fetches the `$async` getters read inside `fn` without changing a
|
|
694
|
-
* dependency. A companion to `$pending` (ASYNC.md): pull-to-refresh,
|
|
695
|
-
* refresh buttons, refetch-on-focus, polling, retry-after-error.
|
|
696
|
-
*
|
|
697
|
-
* `fn` is run in a tracking context that collects every `$async` computed it
|
|
698
|
-
* reads (`$cache` computeds are ignored). Each collected computed is then
|
|
699
|
-
* re-run with `recalc` left true — a "bare refresh" — so the suspend is
|
|
700
|
-
* *loud*: `$pending(fn)` returns `true` while the re-fetch is in flight and
|
|
701
|
-
* subscribers are notified at suspend *start*, so an inline "updating…"
|
|
702
|
-
* indicator appears immediately. Readers keep displaying the previous
|
|
703
|
-
* resolved value (`Computed.settle.value`) until the new promise resolves and
|
|
704
|
-
* propagates through the reactive graph; an `@await` boundary keeps its
|
|
705
|
-
* content mounted instead of flashing fallback.
|
|
706
|
-
*
|
|
707
|
-
* Pass `{ silent: true }` to re-fetch quietly (stale-while-revalidate):
|
|
708
|
-
* `$pending(fn)` stays `false` and nothing re-runs until the new promise
|
|
709
|
-
* resolves. For background revalidation where feedback would be noise —
|
|
710
|
-
* polling, refetch-on-focus:
|
|
711
|
-
*
|
|
712
|
-
* ```torp
|
|
713
|
-
* // poll quietly every 30s
|
|
714
|
-
* $run(() => {
|
|
715
|
-
* const id = setInterval(() => $refresh(() => $state.data, { silent: true }), 30_000);
|
|
716
|
-
* return () => clearInterval(id);
|
|
717
|
-
* });
|
|
718
|
-
* ```
|
|
719
|
-
*
|
|
720
|
-
* A refresh is loud regardless of `silent` when the computed has never
|
|
721
|
-
* resolved — e.g. retrying after an error that left `didError` set on a first
|
|
722
|
-
* load — or when the re-fetch is triggered by a dependency change, which
|
|
723
|
-
* flows through the normal `recalc` path instead of here.
|
|
724
|
-
*
|
|
725
|
-
* If `fn` reads a getter the UI has never read, the collection read
|
|
726
|
-
* initializes it — and that fetch IS the refresh: the computed is not re-run
|
|
727
|
-
* (a second fetch would be a duplicate whose resolve the generation guard
|
|
728
|
-
* drops). Getters already read (pending, resolved, or errored) are re-run as
|
|
729
|
-
* usual.
|
|
730
|
-
*
|
|
731
|
-
* The returned value of `fn` is ignored; use `fn` to reference the getters.
|
|
732
|
-
*/
|
|
733
|
-
declare function $refresh(fn: () => any, options?: RefreshOptions): void;
|
|
734
|
-
//#endregion
|
|
735
646
|
//#region src/watch/$run.d.ts
|
|
736
647
|
/**
|
|
737
648
|
* Runs and re-runs a function that depends on a watched object
|
|
@@ -792,24 +703,20 @@ declare function $stream<T>(source: StreamSource<T>, handler: (value: T) => void
|
|
|
792
703
|
*/
|
|
793
704
|
declare function $unwrap<T extends Record<PropertyKey, any>>(object: T): T;
|
|
794
705
|
//#endregion
|
|
795
|
-
//#region src/types/WatchOptions.d.ts
|
|
796
|
-
/**
|
|
797
|
-
* Options for $watch.
|
|
798
|
-
*/
|
|
799
|
-
interface WatchOptions {
|
|
800
|
-
/**
|
|
801
|
-
* Only watch top-level properties, don't recursively watch children.
|
|
802
|
-
*/
|
|
803
|
-
shallow?: boolean;
|
|
804
|
-
}
|
|
805
|
-
//#endregion
|
|
806
706
|
//#region src/watch/$watch.d.ts
|
|
807
707
|
/**
|
|
808
708
|
* Watches an object and runs effects when its properties are changed.
|
|
809
709
|
*
|
|
810
|
-
*
|
|
811
|
-
*
|
|
812
|
-
*
|
|
710
|
+
* Only plain objects, plain arrays, and exact Date/Map/Set/URL/
|
|
711
|
+
* URLSearchParams instances are deep-watched. Other values -- class instances,
|
|
712
|
+
* subclasses, RegExp, typed arrays, frozen/non-extensible objects, promises,
|
|
713
|
+
* DOM nodes, ... -- are returned unchanged. Effects still track the property
|
|
714
|
+
* that holds them, so replacing the value is reactive even though mutating it
|
|
715
|
+
* in place isn't.
|
|
716
|
+
*
|
|
717
|
+
* Dates, Maps, Sets, URLs and URLSearchParams are supported: their methods are
|
|
718
|
+
* reactive (reads track, writes notify), so they can be used in watched state
|
|
719
|
+
* directly.
|
|
813
720
|
*
|
|
814
721
|
* @param object The object to watch
|
|
815
722
|
*/
|
package/dist/index.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/types/Animation.ts","../src/render/addAnimation.ts","../src/render/addEvent.ts","../src/render/addElement.ts","../src/render/addFragment.ts","../src/render/applyProps.ts","../src/render/buildClasses.ts","../src/render/buildStyles.ts","../src/render/clearLayoutSlot.ts","../src/render/fillLayoutSlot.ts","../src/render/
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/types/Animation.ts","../src/render/addAnimation.ts","../src/render/addEvent.ts","../src/render/addElement.ts","../src/render/addFragment.ts","../src/render/applyProps.ts","../src/render/buildClasses.ts","../src/render/buildStyles.ts","../src/render/clearLayoutSlot.ts","../src/render/fillLayoutSlot.ts","../src/render/firstInsideNode.ts","../src/render/getFragment.ts","../src/render/getElementFragment.ts","../src/render/hydrate.ts","../src/render/mount.ts","../src/render/unmount.ts","../src/types/ListItem.ts","../src/render/newListItem.ts","../src/render/newRegion.ts","../src/render/nodeAnchor.ts","../src/render/nodeChild.ts","../src/render/nodeNext.ts","../src/render/nodeRootElement.ts","../src/render/nodeRoot.ts","../src/render/nodeSkip.ts","../src/render/popRegion.ts","../src/render/pushRegion.ts","../src/render/rerunRegionEffects.ts","../src/render/restoreHydration.ts","../src/render/runControl.ts","../src/render/runControlBranch.ts","../src/render/runList.ts","../src/render/runAwait.ts","../src/render/runTry.ts","../src/render/saveHydration.ts","../src/render/headElement.ts","../src/render/setAttribute.ts","../src/render/setDynamicElement.ts","../src/render/urlAttributes.ts","../src/types/Bindable.ts","../src/watch/$batch.ts","../src/watch/$async.ts","../src/watch/$bind.ts","../src/watch/$cache.ts","../src/watch/$onmount.ts","../src/watch/$peek.ts","../src/watch/$pending.ts","../src/watch/$run.ts","../src/watch/$stream.ts","../src/watch/$unwrap.ts","../src/watch/$watch.ts"],"mappings":";;;;;UAAyB;EACxB,WAAW,aAAa;EACxB,mBAAmB;;;;iBCEI,aAAa,IAAI,aAAa,QAAQ,WAAW,OAAO;;;iBCFxD,SACvB,IAAI,SACJ,cACA,YAAA,MAAkB,SAAS;;;;;;;;;;;;;;;;;;;;;;iBCkBJ,WAAW,MAAM,SAAS,QAAQ,YAAY,QAAQ;;;iBCnBtD,YACvB,UAAU,kBACV,QAAQ,YACR,QAAQ,aACR,UAAU,WACV,YAAY;;;iBCLW,WACvB,IAAI,SACJ,OAAO,iCACP;;;iBCJuB,aAAa,OAAO,YAAY;;;iBCChC,YAAY,OAAO;;;;;;;;;;iBCQnB,gBAAgB,QAAQ;;;;;;;;;;;;;;;;;;iBC8BxB,eACvB,WAAW,WACX,MAAM,YACN,QAAQ,YACR,QAAQ,aACR,SAAS,OAAO,mBAChB,WAAW,OAAO,oBAChB;;;;;;;;iBC9BqB,gBAAgB,QAAQ,YAAY;;;iBCjBpC,YACvB,UAAU,UACV,OAAO,oBACP,eACA,cACA,eACE;;;iBCkBqB,mBACvB,UAAU,UACV,OAAO,WACP,eACA,cACA,eACE;;;;;;;;;;;;;;;;;;;;;iBCJqB,QACvB,QAAQ,YACR,WAAW,WACX,QAAQ,qBACR,QAAQ,eAAe,aACvB,cAAc,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;iBCCE,MACvB,QAAQ,YACR,WAAW,WACX,QAAQ,qBACR,QAAQ,eAAe,aACvB,cAAc,OAAO;;;;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JhD,aAAa,IAAI,SAAS,cAAc;;;iBCGxC,kBAAkB,IAAI,aAAa,cAAc;;;;;;;;;wBCSzD,eAAe,YAAY;;;;;;;;;;;;;;;;;;;KCEtC,SAAS,KAAK;;;;;;;;;iBCNK,OAAO,GAAG,UAAU,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBC+BxB,OAAO,GAAG,KAAK,cAAc,MAAM,QAAQ,IAAI,WAAW,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBCLzE,MACvB,OAAO,OAAO,mBACd,OAAO,OAAO,kCACX;;;;;;;;iBC7BoB,OAAO,GAAG,UAAU,IAAI;;;;;;;;;;;;;;;;;;;;;;;;iBCcxB,SAAS,UAAU;;;;;;;;;;;iBCdnB,MAAM,GAAG,UAAU,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;iBCcvB,SAAS;;;;;;;;;;iBCLT,KACvB,UAAU,gBACV,eACA,UAAU,KAAK,0CACb;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBCkBqB,QAAQ,GAC/B,QAAQ,aAAa,IACrB,UAAU,OAAO,YACjB;EAAY;;;;;;;;;iBCrCW,QAAQ,UAAU,OAAO,mBAAmB,QAAQ,IAAI;;;;;;;;;;;;;;;;;;;iBCiExD,OAAO,kBAAkB,QAAQ,GAAG,UAAU,eAAe"}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as SlotRender, t as Component } from "./Component-0MH0zd-m.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { a as StreamSource, i as
|
|
2
|
+
import { a as Cleanup, n as Region, t as Effect } from "./Effect-Bi_nt6cx.mjs";
|
|
3
|
+
import { t as ListItemSpec } from "./ListItemSpec-DFkYr2TE.mjs";
|
|
4
|
+
import { a as fromWebSocket, c as StreamSource, d as ClassValue, i as AsyncOptions, l as formatText, n as $refresh, o as fromServer, s as fromElement, t as WatchOptions, u as StyleValue } from "./WatchOptions-DWF4EqB6.mjs";
|
|
5
5
|
//#region src/types/Animation.d.ts
|
|
6
6
|
interface Animation {
|
|
7
7
|
keyframes: Keyframe[] | PropertyIndexedKeyframes;
|
|
@@ -76,9 +76,6 @@ declare function clearLayoutSlot(region: Region): void;
|
|
|
76
76
|
*/
|
|
77
77
|
declare function fillLayoutSlot(component: Component, slot: SlotRender, parent: ParentNode, anchor: Node | null, $props?: Record<PropertyKey, any>, $context?: Record<PropertyKey, any>): Region;
|
|
78
78
|
//#endregion
|
|
79
|
-
//#region src/render/formatText.d.ts
|
|
80
|
-
declare function formatText(value: any): string;
|
|
81
|
-
//#endregion
|
|
82
79
|
//#region src/render/firstInsideNode.d.ts
|
|
83
80
|
/**
|
|
84
81
|
* Gets the first node that was inside the hydration block for the given
|
|
@@ -91,30 +88,6 @@ declare function firstInsideNode(anchor: ChildNode): ChildNode | null | undefine
|
|
|
91
88
|
declare function getFragment(document: Document, array: DocumentFragment[], index: number, html: string, ns?: boolean): DocumentFragment;
|
|
92
89
|
//#endregion
|
|
93
90
|
//#region src/render/getElementFragment.d.ts
|
|
94
|
-
/**
|
|
95
|
-
* Returns a clone of the cached template's single root element, bypassing the
|
|
96
|
-
* `DocumentFragment` wrapper that `getFragment` produces.
|
|
97
|
-
*
|
|
98
|
-
* Used by the compiler-emitted `createListItem` for `@for` bodies (and other
|
|
99
|
-
* fragments) whose template has exactly one rendering root child — e.g.
|
|
100
|
-
* `<tr><td>...</td>...</tr>`. Cloning `template.content.firstElementChild`
|
|
101
|
-
* directly saves the per-row `DocumentFragment` allocation that `getFragment`'s
|
|
102
|
-
* `cloneNode(true)` on the cached template's content would otherwise produce,
|
|
103
|
-
* which dominates the cost of bulk-row creates (`run`/`add`/`runlots`).
|
|
104
|
-
*
|
|
105
|
-
* Contract: the compiler only emits `t_fragment_el` for fragment indices whose
|
|
106
|
-
* template has exactly one rendering root, and that root is an `Element`. The
|
|
107
|
-
* cache array (`t_fragment_els`) is separate from `t_fragments` so each helper
|
|
108
|
-
* only ever sees its own cached type at a given index.
|
|
109
|
-
*
|
|
110
|
-
* @param document The owner document (used to build the cached `<template>`).
|
|
111
|
-
* @param array The per-component `t_fragment_els` cache.
|
|
112
|
-
* @param index The fragment's index in the cache.
|
|
113
|
-
* @param html The fragment's HTML source, with `#` placeholders for reactive
|
|
114
|
-
* text and `<!>` for anchor comments.
|
|
115
|
-
* @param ns When true, the template is created in the SVG namespace (its
|
|
116
|
-
* `firstElementChild` is then an SVG element).
|
|
117
|
-
*/
|
|
118
91
|
declare function getElementFragment(document: Document, array: Element[], index: number, html: string, ns?: boolean): Element;
|
|
119
92
|
//#endregion
|
|
120
93
|
//#region src/render/hydrate.d.ts
|
|
@@ -131,8 +104,12 @@ declare function getElementFragment(document: Document, array: Element[], index:
|
|
|
131
104
|
* @param parent The parent node
|
|
132
105
|
* @param component The component to mount
|
|
133
106
|
* @param props An object containing component props
|
|
107
|
+
* @param slots Slot render functions for the component
|
|
108
|
+
* @param rootContext The root `$context`, which the component and all of its
|
|
109
|
+
* descendants inherit (e.g. app-wide state that a framework provides to
|
|
110
|
+
* every page)
|
|
134
111
|
*/
|
|
135
|
-
declare function hydrate(parent: ParentNode, component: Component, props?: Record<string, any>, slots?: Record<string, SlotRender>): void;
|
|
112
|
+
declare function hydrate(parent: ParentNode, component: Component, props?: Record<string, any>, slots?: Record<string, SlotRender>, rootContext?: Record<PropertyKey, any>): void;
|
|
136
113
|
//#endregion
|
|
137
114
|
//#region src/render/mount.d.ts
|
|
138
115
|
/**
|
|
@@ -153,8 +130,12 @@ declare function hydrate(parent: ParentNode, component: Component, props?: Recor
|
|
|
153
130
|
* child elements
|
|
154
131
|
* @param component The component to mount
|
|
155
132
|
* @param props An object containing component props
|
|
133
|
+
* @param slots Slot render functions for the component
|
|
134
|
+
* @param rootContext The root `$context`, which the component and all of its
|
|
135
|
+
* descendants inherit (e.g. app-wide state that a framework provides to
|
|
136
|
+
* every page)
|
|
156
137
|
*/
|
|
157
|
-
declare function mount(parent: ParentNode, component: Component, props?: Record<string, any>, slots?: Record<string, SlotRender>): void;
|
|
138
|
+
declare function mount(parent: ParentNode, component: Component, props?: Record<string, any>, slots?: Record<string, SlotRender>, rootContext?: Record<PropertyKey, any>): void;
|
|
158
139
|
//#endregion
|
|
159
140
|
//#region src/render/unmount.d.ts
|
|
160
141
|
/**
|
|
@@ -167,6 +148,10 @@ declare function mount(parent: ParentNode, component: Component, props?: Record<
|
|
|
167
148
|
* embed is disposed and the host's render context is left untouched. Any
|
|
168
149
|
* embeds living inside a root container are disposed along with it.
|
|
169
150
|
*
|
|
151
|
+
* When no tree was mounted into `parent`, this is a no-op apart from
|
|
152
|
+
* disposing any embeds living inside it and removing `parent`'s own child
|
|
153
|
+
* nodes — it never touches the running app's root context.
|
|
154
|
+
*
|
|
170
155
|
* Call this before `mount`ing a fresh component tree into the same container
|
|
171
156
|
* (e.g. when client-side navigating to a route whose layout chain differs
|
|
172
157
|
* from the previous one). `mount` refuses to mount into a non-empty parent
|
|
@@ -176,32 +161,6 @@ declare function mount(parent: ParentNode, component: Component, props?: Record<
|
|
|
176
161
|
*/
|
|
177
162
|
declare function unmount(parent: ParentNode): void;
|
|
178
163
|
//#endregion
|
|
179
|
-
//#region src/types/ListItemSpec.d.ts
|
|
180
|
-
/**
|
|
181
|
-
* A lightweight, per-row descriptor emitted by the compiler's `@for`
|
|
182
|
-
* `buildItems` callback: just the key (for reconciliation) and the data bag
|
|
183
|
-
* (the loop variables). Unlike a full {@link ListItem}, a spec carries no DOM
|
|
184
|
-
* nodes, no effects, and no sibling-chain pointers — so allocating one per row
|
|
185
|
-
* on every list update is cheap.
|
|
186
|
-
*
|
|
187
|
-
* The keyed-list reconciler (`runListItems`) maps each spec to either an
|
|
188
|
-
* existing `ListItem` (matched by key, reused wholesale) or a freshly mounted
|
|
189
|
-
* one (for genuinely new keys), keeping the per-update cost proportional to
|
|
190
|
-
* what actually changed instead of to the list size.
|
|
191
|
-
*
|
|
192
|
-
* NOTE: `data` is `any` rather than `Record<string, any>` -- when a `@for`
|
|
193
|
-
* body binds a single loop variable and is proxy-safe, the variable is stored
|
|
194
|
-
* directly (e.g. `data: page` for a number), not as a bag.
|
|
195
|
-
*
|
|
196
|
-
* NOTE: `key` is optional -- the compiler only emits it when the `@for` has
|
|
197
|
-
* an `@key` block; unkeyed loops omit it (a missing key behaves the same as
|
|
198
|
-
* an `undefined` one during reconciliation).
|
|
199
|
-
*/
|
|
200
|
-
interface ListItemSpec {
|
|
201
|
-
key?: any;
|
|
202
|
-
data: any;
|
|
203
|
-
}
|
|
204
|
-
//#endregion
|
|
205
164
|
//#region src/types/ListItem.d.ts
|
|
206
165
|
interface ListItem extends Region, ListItemSpec {}
|
|
207
166
|
//#endregion
|
|
@@ -508,6 +467,15 @@ declare function setAttribute(el: Element, name: string, value: any): void;
|
|
|
508
467
|
//#region src/render/setDynamicElement.d.ts
|
|
509
468
|
declare function setDynamicElement(el: HTMLElement, tag: string): HTMLElement;
|
|
510
469
|
//#endregion
|
|
470
|
+
//#region src/render/urlAttributes.d.ts
|
|
471
|
+
/**
|
|
472
|
+
* Registers a function that rewrites the URLs in `href`, `src` and `action`
|
|
473
|
+
* attributes the client sets -- from dynamic attributes, spread props and
|
|
474
|
+
* client-rendered markup -- or clears it with `undefined`. Fragments already
|
|
475
|
+
* cached are not rewritten again, so register it before the first render.
|
|
476
|
+
*/
|
|
477
|
+
export declare function setUrlRewriter(rewriter: ((url: string) => string) | undefined): void;
|
|
478
|
+
//#endregion
|
|
511
479
|
//#region src/types/Bindable.d.ts
|
|
512
480
|
/**
|
|
513
481
|
* Type-level marker that documents a component prop as supporting two-way
|
|
@@ -675,63 +643,6 @@ declare function $peek<T>(fn: () => T): T;
|
|
|
675
643
|
*/
|
|
676
644
|
declare function $pending(fn: () => any): boolean;
|
|
677
645
|
//#endregion
|
|
678
|
-
//#region src/watch/$refresh.d.ts
|
|
679
|
-
/**
|
|
680
|
-
* Options for `$refresh`.
|
|
681
|
-
*/
|
|
682
|
-
interface RefreshOptions {
|
|
683
|
-
/**
|
|
684
|
-
* Re-fetch silently — stale-while-revalidate. The suspend is *quiet*
|
|
685
|
-
* (`$pending` stays `false`) and subscribers aren't notified until the new
|
|
686
|
-
* promise resolves. For background revalidation: polling, refetch-on-
|
|
687
|
-
* focus. Defaults to `false` — a refresh is loud, so `$pending` reads
|
|
688
|
-
* `true` and inline "updating…" indicators flip on at refresh start.
|
|
689
|
-
*/
|
|
690
|
-
silent?: boolean;
|
|
691
|
-
}
|
|
692
|
-
/**
|
|
693
|
-
* Re-fetches the `$async` getters read inside `fn` without changing a
|
|
694
|
-
* dependency. A companion to `$pending` (ASYNC.md): pull-to-refresh,
|
|
695
|
-
* refresh buttons, refetch-on-focus, polling, retry-after-error.
|
|
696
|
-
*
|
|
697
|
-
* `fn` is run in a tracking context that collects every `$async` computed it
|
|
698
|
-
* reads (`$cache` computeds are ignored). Each collected computed is then
|
|
699
|
-
* re-run with `recalc` left true — a "bare refresh" — so the suspend is
|
|
700
|
-
* *loud*: `$pending(fn)` returns `true` while the re-fetch is in flight and
|
|
701
|
-
* subscribers are notified at suspend *start*, so an inline "updating…"
|
|
702
|
-
* indicator appears immediately. Readers keep displaying the previous
|
|
703
|
-
* resolved value (`Computed.settle.value`) until the new promise resolves and
|
|
704
|
-
* propagates through the reactive graph; an `@await` boundary keeps its
|
|
705
|
-
* content mounted instead of flashing fallback.
|
|
706
|
-
*
|
|
707
|
-
* Pass `{ silent: true }` to re-fetch quietly (stale-while-revalidate):
|
|
708
|
-
* `$pending(fn)` stays `false` and nothing re-runs until the new promise
|
|
709
|
-
* resolves. For background revalidation where feedback would be noise —
|
|
710
|
-
* polling, refetch-on-focus:
|
|
711
|
-
*
|
|
712
|
-
* ```torp
|
|
713
|
-
* // poll quietly every 30s
|
|
714
|
-
* $run(() => {
|
|
715
|
-
* const id = setInterval(() => $refresh(() => $state.data, { silent: true }), 30_000);
|
|
716
|
-
* return () => clearInterval(id);
|
|
717
|
-
* });
|
|
718
|
-
* ```
|
|
719
|
-
*
|
|
720
|
-
* A refresh is loud regardless of `silent` when the computed has never
|
|
721
|
-
* resolved — e.g. retrying after an error that left `didError` set on a first
|
|
722
|
-
* load — or when the re-fetch is triggered by a dependency change, which
|
|
723
|
-
* flows through the normal `recalc` path instead of here.
|
|
724
|
-
*
|
|
725
|
-
* If `fn` reads a getter the UI has never read, the collection read
|
|
726
|
-
* initializes it — and that fetch IS the refresh: the computed is not re-run
|
|
727
|
-
* (a second fetch would be a duplicate whose resolve the generation guard
|
|
728
|
-
* drops). Getters already read (pending, resolved, or errored) are re-run as
|
|
729
|
-
* usual.
|
|
730
|
-
*
|
|
731
|
-
* The returned value of `fn` is ignored; use `fn` to reference the getters.
|
|
732
|
-
*/
|
|
733
|
-
declare function $refresh(fn: () => any, options?: RefreshOptions): void;
|
|
734
|
-
//#endregion
|
|
735
646
|
//#region src/watch/$run.d.ts
|
|
736
647
|
/**
|
|
737
648
|
* Runs and re-runs a function that depends on a watched object
|
|
@@ -792,24 +703,20 @@ declare function $stream<T>(source: StreamSource<T>, handler: (value: T) => void
|
|
|
792
703
|
*/
|
|
793
704
|
declare function $unwrap<T extends Record<PropertyKey, any>>(object: T): T;
|
|
794
705
|
//#endregion
|
|
795
|
-
//#region src/types/WatchOptions.d.ts
|
|
796
|
-
/**
|
|
797
|
-
* Options for $watch.
|
|
798
|
-
*/
|
|
799
|
-
interface WatchOptions {
|
|
800
|
-
/**
|
|
801
|
-
* Only watch top-level properties, don't recursively watch children.
|
|
802
|
-
*/
|
|
803
|
-
shallow?: boolean;
|
|
804
|
-
}
|
|
805
|
-
//#endregion
|
|
806
706
|
//#region src/watch/$watch.d.ts
|
|
807
707
|
/**
|
|
808
708
|
* Watches an object and runs effects when its properties are changed.
|
|
809
709
|
*
|
|
810
|
-
*
|
|
811
|
-
*
|
|
812
|
-
*
|
|
710
|
+
* Only plain objects, plain arrays, and exact Date/Map/Set/URL/
|
|
711
|
+
* URLSearchParams instances are deep-watched. Other values -- class instances,
|
|
712
|
+
* subclasses, RegExp, typed arrays, frozen/non-extensible objects, promises,
|
|
713
|
+
* DOM nodes, ... -- are returned unchanged. Effects still track the property
|
|
714
|
+
* that holds them, so replacing the value is reactive even though mutating it
|
|
715
|
+
* in place isn't.
|
|
716
|
+
*
|
|
717
|
+
* Dates, Maps, Sets, URLs and URLSearchParams are supported: their methods are
|
|
718
|
+
* reactive (reads track, writes notify), so they can be used in watched state
|
|
719
|
+
* directly.
|
|
813
720
|
*
|
|
814
721
|
* @param object The object to watch
|
|
815
722
|
*/
|
package/dist/index.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/types/Animation.ts","../src/render/addAnimation.ts","../src/render/addEvent.ts","../src/render/addElement.ts","../src/render/addFragment.ts","../src/render/applyProps.ts","../src/render/buildClasses.ts","../src/render/buildStyles.ts","../src/render/clearLayoutSlot.ts","../src/render/fillLayoutSlot.ts","../src/render/
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/types/Animation.ts","../src/render/addAnimation.ts","../src/render/addEvent.ts","../src/render/addElement.ts","../src/render/addFragment.ts","../src/render/applyProps.ts","../src/render/buildClasses.ts","../src/render/buildStyles.ts","../src/render/clearLayoutSlot.ts","../src/render/fillLayoutSlot.ts","../src/render/firstInsideNode.ts","../src/render/getFragment.ts","../src/render/getElementFragment.ts","../src/render/hydrate.ts","../src/render/mount.ts","../src/render/unmount.ts","../src/types/ListItem.ts","../src/render/newListItem.ts","../src/render/newRegion.ts","../src/render/nodeAnchor.ts","../src/render/nodeChild.ts","../src/render/nodeNext.ts","../src/render/nodeRootElement.ts","../src/render/nodeRoot.ts","../src/render/nodeSkip.ts","../src/render/popRegion.ts","../src/render/pushRegion.ts","../src/render/rerunRegionEffects.ts","../src/render/restoreHydration.ts","../src/render/runControl.ts","../src/render/runControlBranch.ts","../src/render/runList.ts","../src/render/runAwait.ts","../src/render/runTry.ts","../src/render/saveHydration.ts","../src/render/headElement.ts","../src/render/setAttribute.ts","../src/render/setDynamicElement.ts","../src/render/urlAttributes.ts","../src/types/Bindable.ts","../src/watch/$batch.ts","../src/watch/$async.ts","../src/watch/$bind.ts","../src/watch/$cache.ts","../src/watch/$onmount.ts","../src/watch/$peek.ts","../src/watch/$pending.ts","../src/watch/$run.ts","../src/watch/$stream.ts","../src/watch/$unwrap.ts","../src/watch/$watch.ts"],"mappings":";;;;;UAAyB;EACxB,WAAW,aAAa;EACxB,mBAAmB;;;;iBCEI,aAAa,IAAI,aAAa,QAAQ,WAAW,OAAO;;;iBCFxD,SACvB,IAAI,SACJ,cACA,YAAA,MAAkB,SAAS;;;;;;;;;;;;;;;;;;;;;;iBCkBJ,WAAW,MAAM,SAAS,QAAQ,YAAY,QAAQ;;;iBCnBtD,YACvB,UAAU,kBACV,QAAQ,YACR,QAAQ,aACR,UAAU,WACV,YAAY;;;iBCLW,WACvB,IAAI,SACJ,OAAO,iCACP;;;iBCJuB,aAAa,OAAO,YAAY;;;iBCChC,YAAY,OAAO;;;;;;;;;;iBCQnB,gBAAgB,QAAQ;;;;;;;;;;;;;;;;;;iBC8BxB,eACvB,WAAW,WACX,MAAM,YACN,QAAQ,YACR,QAAQ,aACR,SAAS,OAAO,mBAChB,WAAW,OAAO,oBAChB;;;;;;;;iBC9BqB,gBAAgB,QAAQ,YAAY;;;iBCjBpC,YACvB,UAAU,UACV,OAAO,oBACP,eACA,cACA,eACE;;;iBCkBqB,mBACvB,UAAU,UACV,OAAO,WACP,eACA,cACA,eACE;;;;;;;;;;;;;;;;;;;;;iBCJqB,QACvB,QAAQ,YACR,WAAW,WACX,QAAQ,qBACR,QAAQ,eAAe,aACvB,cAAc,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;iBCCE,MACvB,QAAQ,YACR,WAAW,WACX,QAAQ,qBACR,QAAQ,eAAe,aACvB,cAAc,OAAO;;;;;;;;;;;;;;;;;;;;;;;;i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