eclipsa 0.1.4 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{action-CgM3EJUS.mjs → action-DqgkV3zb.mjs} +1584 -996
- package/action-DqgkV3zb.mjs.map +1 -0
- package/{client-COjBNTyt.mjs → client-DKPmN-wJ.mjs} +126 -40
- package/client-DKPmN-wJ.mjs.map +1 -0
- package/{component-D_nEtZ69.d.mts → component-yvTtnI00.d.mts} +2 -2
- package/core/client/mod.d.mts +2 -2
- package/core/client/mod.mjs +3 -3
- package/core/dev-client/mod.d.mts +1 -1
- package/core/dev-client/mod.mjs +10 -5
- package/core/dev-client/mod.mjs.map +1 -1
- package/core/internal.d.mts +2 -2
- package/core/internal.mjs +2 -2
- package/core/prod-client/mod.d.mts +3 -3
- package/core/prod-client/mod.mjs +4 -4
- package/{internal-Csbm0Qnv.d.mts → internal-CHYAJznU.d.mts} +116 -72
- package/jsx/jsx-dev-runtime.d.mts +8 -2
- package/jsx/jsx-dev-runtime.mjs +2 -2
- package/jsx/jsx-runtime.d.mts +1 -1
- package/jsx/mod.d.mts +1 -1
- package/jsx/mod.mjs +1 -1
- package/{jsx-dev-runtime-CY60yQJY.mjs → jsx-dev-runtime-DpbWQ4Q0.mjs} +8 -3
- package/jsx-dev-runtime-DpbWQ4Q0.mjs.map +1 -0
- package/{mod-DLb8ple9.d.mts → mod-aLmFvMYF.d.mts} +4 -4
- package/mod.d.mts +20 -38
- package/mod.mjs +19 -145
- package/mod.mjs.map +1 -1
- package/package.json +6 -2
- package/{signal-B7AfIKrr.d.mts → signal-CosyYdtA.d.mts} +1 -1
- package/{signal-CJtquEfo.mjs → signal-DBzloBrN.mjs} +2 -2
- package/{signal-CJtquEfo.mjs.map → signal-DBzloBrN.mjs.map} +1 -1
- package/ssr-CRg57Wn2.mjs +157 -0
- package/ssr-CRg57Wn2.mjs.map +1 -0
- package/ssr-D8F-DtCv.d.mts +37 -0
- package/{types-BCEY9lGp.d.mts → types-Cu9gFlEY.d.mts} +6 -2
- package/{types-DKpefD_u.d.mts → types-DDeNM8UH.d.mts} +1 -1
- package/vite/build/runtime.d.mts +4 -0
- package/vite/build/runtime.mjs +4 -0
- package/vite/mod.mjs +272 -50
- package/vite/mod.mjs.map +1 -1
- package/web-utils/mod.d.mts +1 -1
- package/web-utils/mod.mjs +2 -2
- package/action-CgM3EJUS.mjs.map +0 -1
- package/client-COjBNTyt.mjs.map +0 -1
- package/jsx-dev-runtime-CY60yQJY.mjs.map +0 -1
- /package/{jsx-runtime-BFDPoxFn.d.mts → jsx-runtime-QIK6ADiK.d.mts} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as JSX } from "./types-
|
|
2
|
-
import { n as EURL, t as Component } from "./component-
|
|
1
|
+
import { i as JSX } from "./types-Cu9gFlEY.mjs";
|
|
2
|
+
import { n as EURL, t as Component } from "./component-yvTtnI00.mjs";
|
|
3
3
|
import { Context } from "hono";
|
|
4
4
|
import { Env, MiddlewareHandler } from "hono/types";
|
|
5
5
|
|
|
@@ -194,9 +194,18 @@ declare const resolveRouteMetadata: (value: RouteMetadataExport, ctx: MetadataCo
|
|
|
194
194
|
declare const composeRouteMetadata: (values: RouteMetadataExport[], ctx: MetadataContext) => RouteMetadata | null;
|
|
195
195
|
declare const renderRouteMetadataHead: (metadata: RouteMetadata | null) => JSX.Element[];
|
|
196
196
|
//#endregion
|
|
197
|
-
//#region core/runtime.d.ts
|
|
197
|
+
//#region core/runtime/constants.d.ts
|
|
198
198
|
declare const RESUME_FINAL_STATE_ELEMENT_ID = "eclipsa-resume-final";
|
|
199
|
+
//#endregion
|
|
200
|
+
//#region core/runtime/types.d.ts
|
|
201
|
+
type CleanupCallback = () => void;
|
|
202
|
+
type RuntimeContextToken<T = unknown> = symbol & {
|
|
203
|
+
__eclipsa_context_type__?: T;
|
|
204
|
+
};
|
|
205
|
+
type WatchMode = 'dynamic' | 'explicit';
|
|
206
|
+
type RouteRenderer = (props: unknown) => unknown;
|
|
199
207
|
interface ResumeComponentPayload {
|
|
208
|
+
external?: ExternalComponentDescriptor;
|
|
200
209
|
optimizedRoot?: boolean;
|
|
201
210
|
props: SerializedValue;
|
|
202
211
|
projectionSlots?: Record<string, number>;
|
|
@@ -244,6 +253,10 @@ interface ResumePayload {
|
|
|
244
253
|
visibles: Record<string, ResumeVisiblePayload>;
|
|
245
254
|
watches: Record<string, ResumeWatchPayload>;
|
|
246
255
|
}
|
|
256
|
+
interface ReactiveEffect {
|
|
257
|
+
fn: () => void;
|
|
258
|
+
signals: Set<SignalRecord>;
|
|
259
|
+
}
|
|
247
260
|
interface SignalRecord<T = unknown> {
|
|
248
261
|
effects: Set<ReactiveEffect>;
|
|
249
262
|
handle: {
|
|
@@ -253,10 +266,6 @@ interface SignalRecord<T = unknown> {
|
|
|
253
266
|
subscribers: Set<string>;
|
|
254
267
|
value: T;
|
|
255
268
|
}
|
|
256
|
-
type CleanupCallback = () => void;
|
|
257
|
-
type RuntimeContextToken<T = unknown> = symbol & {
|
|
258
|
-
__eclipsa_context_type__?: T;
|
|
259
|
-
};
|
|
260
269
|
interface CleanupSlot {
|
|
261
270
|
callbacks: CleanupCallback[];
|
|
262
271
|
}
|
|
@@ -265,6 +274,11 @@ interface ComponentState {
|
|
|
265
274
|
activateModeOnFlush?: 'patch' | 'replace';
|
|
266
275
|
didMount: boolean;
|
|
267
276
|
end?: Comment;
|
|
277
|
+
external?: ExternalComponentDescriptor;
|
|
278
|
+
externalSlotHtml?: Map<string, string> | null;
|
|
279
|
+
externalSlotDom?: Map<string, Node[]> | null;
|
|
280
|
+
externalInstance?: unknown;
|
|
281
|
+
externalMeta?: ExternalComponentMeta | null;
|
|
268
282
|
id: string;
|
|
269
283
|
mountCleanupSlots: CleanupSlot[];
|
|
270
284
|
optimizedRoot?: boolean;
|
|
@@ -284,6 +298,64 @@ interface ComponentState {
|
|
|
284
298
|
visibleCount: number;
|
|
285
299
|
watchCount: number;
|
|
286
300
|
}
|
|
301
|
+
interface RuntimeSymbolModule {
|
|
302
|
+
default: (scope: unknown[], propsOrArg?: unknown, ...args: unknown[]) => unknown;
|
|
303
|
+
}
|
|
304
|
+
interface LoadedRouteModule {
|
|
305
|
+
metadata: RouteMetadataExport | null;
|
|
306
|
+
renderer: RouteRenderer;
|
|
307
|
+
symbol: string | null;
|
|
308
|
+
url: string;
|
|
309
|
+
}
|
|
310
|
+
interface LoadedRoute {
|
|
311
|
+
entry: RouteModuleManifest;
|
|
312
|
+
error: unknown;
|
|
313
|
+
layouts: LoadedRouteModule[];
|
|
314
|
+
params: RouteParams;
|
|
315
|
+
pathname: string;
|
|
316
|
+
page: LoadedRouteModule;
|
|
317
|
+
render: RouteRenderer;
|
|
318
|
+
}
|
|
319
|
+
interface RouteDataSuccess {
|
|
320
|
+
finalHref: string;
|
|
321
|
+
finalPathname: string;
|
|
322
|
+
kind: 'page' | 'not-found';
|
|
323
|
+
loaders: Record<string, ResumeLoaderPayload>;
|
|
324
|
+
ok: true;
|
|
325
|
+
}
|
|
326
|
+
interface RouteDataRedirect {
|
|
327
|
+
location: string;
|
|
328
|
+
ok: false;
|
|
329
|
+
}
|
|
330
|
+
interface RouteDataDocumentFallback {
|
|
331
|
+
document: true;
|
|
332
|
+
ok: false;
|
|
333
|
+
}
|
|
334
|
+
type RouteDataResponse = RouteDataSuccess | RouteDataRedirect | RouteDataDocumentFallback;
|
|
335
|
+
type RoutePrefetchResult = RouteDataResponse;
|
|
336
|
+
interface WatchState {
|
|
337
|
+
cleanupSlot: CleanupSlot;
|
|
338
|
+
componentId: string;
|
|
339
|
+
effect: ReactiveEffect;
|
|
340
|
+
id: string;
|
|
341
|
+
mode: WatchMode;
|
|
342
|
+
pending: Promise<void> | null;
|
|
343
|
+
resumed: boolean;
|
|
344
|
+
run: (() => void) | null;
|
|
345
|
+
scopeId: string;
|
|
346
|
+
symbol: string;
|
|
347
|
+
track: (() => void) | null;
|
|
348
|
+
}
|
|
349
|
+
interface VisibleState {
|
|
350
|
+
cleanupSlot: CleanupSlot;
|
|
351
|
+
componentId: string;
|
|
352
|
+
done: boolean;
|
|
353
|
+
id: string;
|
|
354
|
+
pending: Promise<void> | null;
|
|
355
|
+
run: (() => void | Promise<void>) | null;
|
|
356
|
+
scopeId: string;
|
|
357
|
+
symbol: string;
|
|
358
|
+
}
|
|
287
359
|
interface RouterState {
|
|
288
360
|
currentPath: {
|
|
289
361
|
value: string;
|
|
@@ -317,6 +389,12 @@ interface RuntimeContainer {
|
|
|
317
389
|
dirtyFlushQueued: boolean;
|
|
318
390
|
doc?: Document;
|
|
319
391
|
eventDispatchPromise: Promise<void> | null;
|
|
392
|
+
externalRenderCache: Map<string, {
|
|
393
|
+
error?: unknown;
|
|
394
|
+
html?: string;
|
|
395
|
+
pending?: Promise<string>;
|
|
396
|
+
status: 'pending' | 'rejected' | 'resolved';
|
|
397
|
+
}>;
|
|
320
398
|
id: string;
|
|
321
399
|
imports: Map<string, Promise<RuntimeSymbolModule>>;
|
|
322
400
|
interactivePrefetchCheckQueued: boolean;
|
|
@@ -347,69 +425,16 @@ interface RuntimeContainer {
|
|
|
347
425
|
visibles: Map<string, VisibleState>;
|
|
348
426
|
watches: Map<string, WatchState>;
|
|
349
427
|
}
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
metadata: RouteMetadataExport | null;
|
|
361
|
-
renderer: RouteRenderer;
|
|
362
|
-
symbol: string | null;
|
|
363
|
-
url: string;
|
|
364
|
-
}
|
|
365
|
-
interface LoadedRoute {
|
|
366
|
-
entry: RouteModuleManifest;
|
|
367
|
-
error: unknown;
|
|
368
|
-
layouts: LoadedRouteModule[];
|
|
369
|
-
params: RouteParams;
|
|
370
|
-
pathname: string;
|
|
371
|
-
page: LoadedRouteModule;
|
|
372
|
-
render: RouteRenderer;
|
|
373
|
-
}
|
|
374
|
-
interface RouteDataSuccess {
|
|
375
|
-
finalHref: string;
|
|
376
|
-
finalPathname: string;
|
|
377
|
-
kind: 'page' | 'not-found';
|
|
378
|
-
loaders: Record<string, ResumeLoaderPayload>;
|
|
379
|
-
ok: true;
|
|
380
|
-
}
|
|
381
|
-
interface RouteDataRedirect {
|
|
382
|
-
location: string;
|
|
383
|
-
ok: false;
|
|
384
|
-
}
|
|
385
|
-
interface RouteDataDocumentFallback {
|
|
386
|
-
document: true;
|
|
387
|
-
ok: false;
|
|
388
|
-
}
|
|
389
|
-
type RouteDataResponse = RouteDataSuccess | RouteDataRedirect | RouteDataDocumentFallback;
|
|
390
|
-
type RoutePrefetchResult = RouteDataResponse;
|
|
391
|
-
interface WatchState {
|
|
392
|
-
cleanupSlot: CleanupSlot;
|
|
393
|
-
componentId: string;
|
|
394
|
-
effect: ReactiveEffect;
|
|
395
|
-
id: string;
|
|
396
|
-
mode: WatchMode;
|
|
397
|
-
pending: Promise<void> | null;
|
|
398
|
-
run: (() => void) | null;
|
|
399
|
-
scopeId: string;
|
|
400
|
-
symbol: string;
|
|
401
|
-
track: (() => void) | null;
|
|
402
|
-
}
|
|
403
|
-
interface VisibleState {
|
|
404
|
-
cleanupSlot: CleanupSlot;
|
|
405
|
-
componentId: string;
|
|
406
|
-
done: boolean;
|
|
407
|
-
id: string;
|
|
408
|
-
pending: Promise<void> | null;
|
|
409
|
-
run: (() => void | Promise<void>) | null;
|
|
410
|
-
scopeId: string;
|
|
411
|
-
symbol: string;
|
|
412
|
-
}
|
|
428
|
+
//#endregion
|
|
429
|
+
//#region core/runtime.d.ts
|
|
430
|
+
declare const primeLocationState: (container: RuntimeContainer, href: string | URL) => void;
|
|
431
|
+
declare const renderSSRAttr: (name: string, value: unknown) => string;
|
|
432
|
+
declare const renderSSRValue: (value: unknown) => string;
|
|
433
|
+
declare const renderSSRMap: <T>(value: readonly T[] | {
|
|
434
|
+
map: (callback: (item: T, index: number) => string) => {
|
|
435
|
+
join: (separator: string) => string;
|
|
436
|
+
};
|
|
437
|
+
}, renderItem: (item: T, index: number) => string) => string;
|
|
413
438
|
declare const getRuntimeComponentId: () => string | null;
|
|
414
439
|
//#endregion
|
|
415
440
|
//#region core/action.d.ts
|
|
@@ -582,17 +607,30 @@ declare const resolvePendingLoaders: (container: RuntimeContainer, c: AppContext
|
|
|
582
607
|
declare const __eclipsaLoader: <const Middlewares extends readonly LoaderMiddleware<any>[], Output>(id: string, middlewares: readonly [...Middlewares], handler: LoaderHandler<LoaderEnv<Middlewares>, Output>) => () => LoaderHandle<Output>;
|
|
583
608
|
//#endregion
|
|
584
609
|
//#region core/internal.d.ts
|
|
610
|
+
declare const EXTERNAL_COMPONENT_META_KEY: unique symbol;
|
|
585
611
|
declare const LAZY_META_KEY: unique symbol;
|
|
586
612
|
declare const WATCH_META_KEY: unique symbol;
|
|
587
613
|
interface ComponentMeta {
|
|
588
614
|
captures: () => unknown[];
|
|
615
|
+
external?: ExternalComponentDescriptor;
|
|
589
616
|
optimizedRoot?: boolean;
|
|
590
617
|
projectionSlots?: Record<string, number>;
|
|
591
618
|
symbol: string;
|
|
592
619
|
}
|
|
593
620
|
interface ComponentOptions {
|
|
621
|
+
external?: ExternalComponentDescriptor;
|
|
594
622
|
optimizedRoot?: boolean;
|
|
595
623
|
}
|
|
624
|
+
interface ExternalComponentDescriptor {
|
|
625
|
+
kind: 'react' | 'vue';
|
|
626
|
+
slots: string[];
|
|
627
|
+
}
|
|
628
|
+
interface ExternalComponentMeta extends ExternalComponentDescriptor {
|
|
629
|
+
hydrate(host: HTMLElement, props: Record<string, unknown>): unknown | Promise<unknown>;
|
|
630
|
+
renderToString(props: Record<string, unknown>): Promise<string> | string;
|
|
631
|
+
unmount(instance: unknown): void | Promise<void>;
|
|
632
|
+
update(instance: unknown, host: HTMLElement, props: Record<string, unknown>): unknown | Promise<unknown>;
|
|
633
|
+
}
|
|
596
634
|
interface LazyMeta {
|
|
597
635
|
captures: () => unknown[];
|
|
598
636
|
eventName?: string;
|
|
@@ -639,12 +677,18 @@ interface WatchReference<T extends (...args: any[]) => unknown = (...args: any[]
|
|
|
639
677
|
(...args: Parameters<T>): ReturnType<T>;
|
|
640
678
|
[WATCH_META_KEY]?: WatchMeta;
|
|
641
679
|
}
|
|
680
|
+
interface ExternalComponentReference<T = unknown> extends Function {
|
|
681
|
+
(...args: any[]): T;
|
|
682
|
+
[EXTERNAL_COMPONENT_META_KEY]?: ExternalComponentMeta;
|
|
683
|
+
}
|
|
642
684
|
declare const __eclipsaComponent: <T>(component: Component<T>, symbol: string, captures: () => unknown[], projectionSlots?: Record<string, number>, options?: ComponentOptions) => Component<T>;
|
|
643
685
|
declare const __eclipsaLazy: <T extends (...args: any[]) => unknown>(symbol: string, fn: T, captures: () => unknown[]) => EURL<T>;
|
|
644
686
|
declare const __eclipsaWatch: <T extends (...args: any[]) => unknown>(symbol: string, fn: T, captures: () => unknown[]) => T;
|
|
645
687
|
declare const __eclipsaEvent: (eventName: string, symbol: string, captures: () => unknown[]) => EventDescriptor;
|
|
646
688
|
declare const getComponentMeta: (value: unknown) => ComponentMeta | null;
|
|
647
689
|
declare const getLazyMeta: (value: unknown) => LazyMeta | null;
|
|
690
|
+
declare const setExternalComponentMeta: <T extends Component<any>>(target: T, meta: ExternalComponentMeta) => T;
|
|
691
|
+
declare const getExternalComponentMeta: (value: unknown) => ExternalComponentMeta | null;
|
|
648
692
|
declare const setNavigateMeta: <T extends Navigate>(target: T) => T;
|
|
649
693
|
declare const getNavigateMeta: (value: unknown) => NavigateMeta | null;
|
|
650
694
|
declare const setActionHookMeta: <T extends Function>(target: T, id: string) => T;
|
|
@@ -670,5 +714,5 @@ declare const setSignalMeta: <T>(target: {
|
|
|
670
714
|
};
|
|
671
715
|
declare const getSignalMeta: <T>(value: unknown) => SignalMeta<T> | null;
|
|
672
716
|
//#endregion
|
|
673
|
-
export {
|
|
674
|
-
//# sourceMappingURL=internal-
|
|
717
|
+
export { isPendingSsrLoaderError as $, NavigateOptions as $n, APP_HOOKS_ELEMENT_ID as $t, getRegisteredActionHook as A, resolveReroute as An, primeActionState as At, setExternalComponentMeta as B, SerializedReference as Bn, RuntimeContextToken as Bt, getComponentMeta as C, createRequestFetch as Cn, __eclipsaAction as Ct, getLoaderHandleMeta as D, markPublicError as Dn, getActionFormSubmissionId as Dt, getLazyMeta as E, getCurrentServerRequestContext as En, executeActionSubmission as Et, getWatchMeta as F, withServerRequestContext as Fn, renderSSRAttr as Ft, LoaderFactory as G, escapeInlineScriptText as Gn, RouteMetadata as Gt, setLoaderHookMeta as H, SerializedUndefined as Hn, MetadataContext as Ht, registerActionHook as I, DeserializeValueOptions as In, renderSSRMap as It, LoaderMiddleware as J, serializeJSONScriptContent as Jn, RouteMetadataValue as Jt, LoaderHandle as K, escapeJSONScriptText as Kn, RouteMetadataExport as Kt, registerLoaderHook as L, SerializeValueOptions as Ln, renderSSRValue as Lt, getRegisteredLoaderHook as M, serializePublicValue as Mn, validator as Mt, getRegisteredLoaderHookIds as N, toPublicError as Nn, getRuntimeComponentId as Nt, getLoaderHookMeta as O, registerClientHooks as On, getNormalizedActionInput as Ot, getSignalMeta as P, transformCurrentPublicError as Pn, primeLocationState as Pt, hasLoader as Q, Navigate as Qn, resolveRouteMetadata as Qt, setActionHandleMeta as R, SerializedMap as Rn, ResumePayload as Rt, getActionHookMeta as S, attachRequestFetch as Sn, StandardSchemaV1 as St, getExternalComponentMeta as T, getClientHooks as Tn, executeAction as Tt, setNavigateMeta as U, SerializedValue as Un, OpenGraphMetadata as Ut, setLoaderHandleMeta as V, SerializedSet as Vn, RESUME_FINAL_STATE_ELEMENT_ID as Vt, setSignalMeta as W, deserializeValue as Wn, ROUTE_METADATA_HEAD_ATTR as Wt, consumePendingSsrLoaderIds as X, GetStaticPaths as Xn, composeRouteMetadata as Xt, __eclipsaLoader as Y, serializeValue as Yn, TwitterMetadata as Yt, executeLoader as Z, LinkPrefetchMode as Zn, renderRouteMetadataHead as Zt, __eclipsaComponent as _, ServerHooksModule as _n, InferStandardSchemaOutput as _t, EventDescriptor as a, BaseAppVariables as an, ACTION_CONTENT_TYPE as at, __eclipsaWatch as b, TransportHook as bn, StandardSchemaIssue as bt, ExternalComponentReference as c, HandleErrorInput as cn, ActionFactory as ct, LoaderHandleMeta as d, HandleResolveOptions as dn, ActionHandler as dt, AppContext as en, RouteLocation as er, loader as et, LoaderHookMeta as f, PublicError as fn, ActionMiddleware as ft, WatchReference as g, ResolvedHooks as gn, InferStandardSchemaInput as gt, WatchMeta as h, Reroute as hn, ActionValidatorMiddleware as ht, ComponentOptions as i, AppVariables as in, resolvePendingLoaders as it, getRegisteredActionHookIds as j, runHandleError as jn, registerAction as jt, getNavigateMeta as k, resetClientHooks as kn, hasAction as kt, LazyMeta as l, HandleFetch as ln, ActionFormProps as lt, SignalMeta as m, RequestFetch as mn, ActionSubmission as mt, ActionHookMeta as n, AppHooksManifest as nn, StaticPath as nr, primeLoaderState as nt, ExternalComponentDescriptor as o, Handle as on, ACTION_FORM_ATTR as ot, NavigateMeta as p, PublicErrorShape as pn, ActionOpaqueRef as pt, LoaderHandler as q, parseSerializedJSON as qn, RouteMetadataResolver as qt, ComponentMeta as r, AppHooksModule as rn, registerLoader as rt, ExternalComponentMeta as s, HandleError as sn, ACTION_FORM_FIELD as st, ActionHandleMeta as t, AppEnv as tn, RouteParams as tr, markPendingSsrLoader as tt, LazyReference as u, HandleResolve as un, ActionHandle as ut, __eclipsaEvent as v, ServerInit as vn, OpaqueDomRef as vt, getEventMeta as w, deserializePublicValue as wn, action as wt, getActionHandleMeta as x, WithAppEnv as xn, StandardSchemaResult as xt, __eclipsaLazy as y, Transport as yn, OpaqueSignalRef as yt, setActionHookMeta as z, SerializedObject as zn, RuntimeContainer as zt };
|
|
718
|
+
//# sourceMappingURL=internal-CHYAJznU.d.mts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as JSX } from "../types-
|
|
1
|
+
import { i as JSX } from "../types-Cu9gFlEY.mjs";
|
|
2
2
|
|
|
3
3
|
//#region jsx/jsx-dev-runtime.d.ts
|
|
4
4
|
interface SSRAttrValue {
|
|
@@ -6,12 +6,18 @@ interface SSRAttrValue {
|
|
|
6
6
|
name: string;
|
|
7
7
|
value: unknown;
|
|
8
8
|
}
|
|
9
|
+
interface SSRRawValue {
|
|
10
|
+
__e_ssr_raw: true;
|
|
11
|
+
value: string;
|
|
12
|
+
}
|
|
9
13
|
declare const jsxDEV: (type: JSX.Type, props: Record<string, unknown>, key: string | number | symbol | null | undefined, isStatic: boolean, metadata: JSX.Metadata) => JSX.Element;
|
|
10
14
|
declare const ssrAttr: (name: string, value: unknown) => SSRAttrValue;
|
|
11
15
|
declare const isSSRAttrValue: (value: unknown) => value is SSRAttrValue;
|
|
16
|
+
declare const ssrRaw: (value: string) => JSX.SSRRaw;
|
|
17
|
+
declare const isSSRRawValue: (value: unknown) => value is SSRRawValue;
|
|
12
18
|
declare const ssrTemplate: (strings: readonly string[], ...values: unknown[]) => JSX.SSRTemplate;
|
|
13
19
|
declare const isSSRTemplate: (value: unknown) => value is JSX.SSRTemplate;
|
|
14
20
|
declare const Fragment = "__ECLIPSA_FRAGMENT";
|
|
15
21
|
//#endregion
|
|
16
|
-
export { Fragment, SSRAttrValue, isSSRAttrValue, isSSRTemplate, jsxDEV, ssrAttr, ssrTemplate };
|
|
22
|
+
export { Fragment, SSRAttrValue, SSRRawValue, isSSRAttrValue, isSSRRawValue, isSSRTemplate, jsxDEV, ssrAttr, ssrRaw, ssrTemplate };
|
|
17
23
|
//# sourceMappingURL=jsx-dev-runtime.d.mts.map
|
package/jsx/jsx-dev-runtime.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
export { Fragment, isSSRAttrValue, isSSRTemplate, jsxDEV, ssrAttr, ssrTemplate };
|
|
1
|
+
import { a as jsxDEV, c as ssrTemplate, i as isSSRTemplate, n as isSSRAttrValue, o as ssrAttr, r as isSSRRawValue, s as ssrRaw, t as Fragment } from "../jsx-dev-runtime-DpbWQ4Q0.mjs";
|
|
2
|
+
export { Fragment, isSSRAttrValue, isSSRRawValue, isSSRTemplate, jsxDEV, ssrAttr, ssrRaw, ssrTemplate };
|
package/jsx/jsx-runtime.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as JSX } from "../types-
|
|
1
|
+
import { i as JSX } from "../types-Cu9gFlEY.mjs";
|
|
2
2
|
export { JSX };
|
package/jsx/mod.d.mts
CHANGED
package/jsx/mod.mjs
CHANGED
|
@@ -15,14 +15,19 @@ const ssrAttr = (name, value) => ({
|
|
|
15
15
|
value
|
|
16
16
|
});
|
|
17
17
|
const isSSRAttrValue = (value) => !!value && typeof value === "object" && value.__e_ssr_attr === true;
|
|
18
|
+
const ssrRaw = (value) => ({
|
|
19
|
+
__e_ssr_raw: true,
|
|
20
|
+
value
|
|
21
|
+
});
|
|
22
|
+
const isSSRRawValue = (value) => !!value && typeof value === "object" && value.__e_ssr_raw === true;
|
|
18
23
|
const ssrTemplate = (strings, ...values) => ({
|
|
19
24
|
__e_ssr_template: true,
|
|
20
|
-
strings
|
|
25
|
+
strings,
|
|
21
26
|
values
|
|
22
27
|
});
|
|
23
28
|
const isSSRTemplate = (value) => !!value && typeof value === "object" && value.__e_ssr_template === true;
|
|
24
29
|
const Fragment = FRAGMENT;
|
|
25
30
|
//#endregion
|
|
26
|
-
export {
|
|
31
|
+
export { jsxDEV as a, ssrTemplate as c, isSSRTemplate as i, FRAGMENT as l, isSSRAttrValue as n, ssrAttr as o, isSSRRawValue as r, ssrRaw as s, Fragment as t };
|
|
27
32
|
|
|
28
|
-
//# sourceMappingURL=jsx-dev-runtime-
|
|
33
|
+
//# sourceMappingURL=jsx-dev-runtime-DpbWQ4Q0.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"jsx-dev-runtime-DpbWQ4Q0.mjs","names":[],"sources":["../jsx/shared.ts","../jsx/jsx-dev-runtime.ts"],"sourcesContent":["export const FRAGMENT = '__ECLIPSA_FRAGMENT'\n","import { FRAGMENT } from './shared.ts'\nimport type { JSX } from './types.ts'\n\nexport interface SSRAttrValue {\n __e_ssr_attr: true\n name: string\n value: unknown\n}\n\nexport interface SSRRawValue {\n __e_ssr_raw: true\n value: string\n}\n\nexport const jsxDEV = (\n type: JSX.Type,\n props: Record<string, unknown>,\n key: string | number | symbol | null | undefined,\n isStatic: boolean,\n metadata: JSX.Metadata,\n): JSX.Element => ({\n type,\n props,\n key,\n isStatic,\n metadata,\n})\n\nexport const ssrAttr = (name: string, value: unknown): SSRAttrValue => ({\n __e_ssr_attr: true,\n name,\n value,\n})\n\nexport const isSSRAttrValue = (value: unknown): value is SSRAttrValue =>\n !!value && typeof value === 'object' && (value as SSRAttrValue).__e_ssr_attr === true\n\nexport const ssrRaw = (value: string): JSX.SSRRaw => ({\n __e_ssr_raw: true,\n value,\n})\n\nexport const isSSRRawValue = (value: unknown): value is SSRRawValue =>\n !!value && typeof value === 'object' && (value as SSRRawValue).__e_ssr_raw === true\n\nexport const ssrTemplate = (strings: readonly string[], ...values: unknown[]): JSX.SSRTemplate => ({\n __e_ssr_template: true,\n strings,\n values,\n})\n\nexport const isSSRTemplate = (value: unknown): value is JSX.SSRTemplate =>\n !!value && typeof value === 'object' && (value as JSX.SSRTemplate).__e_ssr_template === true\n\nexport const Fragment = FRAGMENT\n"],"mappings":";AAAA,MAAa,WAAW;;;ACcxB,MAAa,UACX,MACA,OACA,KACA,UACA,cACiB;CACjB;CACA;CACA;CACA;CACA;CACD;AAED,MAAa,WAAW,MAAc,WAAkC;CACtE,cAAc;CACd;CACA;CACD;AAED,MAAa,kBAAkB,UAC7B,CAAC,CAAC,SAAS,OAAO,UAAU,YAAa,MAAuB,iBAAiB;AAEnF,MAAa,UAAU,WAA+B;CACpD,aAAa;CACb;CACD;AAED,MAAa,iBAAiB,UAC5B,CAAC,CAAC,SAAS,OAAO,UAAU,YAAa,MAAsB,gBAAgB;AAEjF,MAAa,eAAe,SAA4B,GAAG,YAAwC;CACjG,kBAAkB;CAClB;CACA;CACD;AAED,MAAa,iBAAiB,UAC5B,CAAC,CAAC,SAAS,OAAO,UAAU,YAAa,MAA0B,qBAAqB;AAE1F,MAAa,WAAW"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as JSX } from "./types-
|
|
2
|
-
import { t as Component } from "./component-
|
|
3
|
-
import { n as Insertable, t as ClientElementLike } from "./types-
|
|
1
|
+
import { i as JSX } from "./types-Cu9gFlEY.mjs";
|
|
2
|
+
import { t as Component } from "./component-yvTtnI00.mjs";
|
|
3
|
+
import { n as Insertable, t as ClientElementLike } from "./types-DDeNM8UH.mjs";
|
|
4
4
|
|
|
5
5
|
//#region core/client/dom.d.ts
|
|
6
6
|
declare const createTemplate: (html: string) => (() => Node);
|
|
@@ -15,4 +15,4 @@ declare const createComponent: (Component: Component, props: unknown) => (() =>
|
|
|
15
15
|
declare const effect: (fn: () => void) => void;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { hydrate as a, createTemplate as i, attr as n, insert as o, createComponent as r, effect as t };
|
|
18
|
-
//# sourceMappingURL=mod-
|
|
18
|
+
//# sourceMappingURL=mod-aLmFvMYF.d.mts.map
|
package/mod.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { i as JSX, n as DelegatedEvent, r as EventHandler, t as BindTarget } from "./types-
|
|
2
|
-
import { n as EURL, t as Component } from "./component-
|
|
3
|
-
import { $ as
|
|
4
|
-
import { a as onMount, c as useComputed, d as useWatch, i as onCleanup, l as useComputed$, n as WatchDependency, o as onVisible, r as effect, s as signal, t as Signal, u as useSignal } from "./signal-
|
|
5
|
-
import {
|
|
1
|
+
import { i as JSX, n as DelegatedEvent, r as EventHandler, t as BindTarget } from "./types-Cu9gFlEY.mjs";
|
|
2
|
+
import { n as EURL, t as Component } from "./component-yvTtnI00.mjs";
|
|
3
|
+
import { $ as isPendingSsrLoaderError, $n as NavigateOptions, $t as APP_HOOKS_ELEMENT_ID, An as resolveReroute, At as primeActionState, Bn as SerializedReference, Bt as RuntimeContextToken, Cn as createRequestFetch, Ct as __eclipsaAction, Dn as markPublicError, Dt as getActionFormSubmissionId, En as getCurrentServerRequestContext, Et as executeActionSubmission, Fn as withServerRequestContext, Ft as renderSSRAttr, G as LoaderFactory, Gn as escapeInlineScriptText, Gt as RouteMetadata, Hn as SerializedUndefined, Ht as MetadataContext, In as DeserializeValueOptions, It as renderSSRMap, J as LoaderMiddleware, Jn as serializeJSONScriptContent, Jt as RouteMetadataValue, K as LoaderHandle, Kn as escapeJSONScriptText, Kt as RouteMetadataExport, Ln as SerializeValueOptions, Lt as renderSSRValue, Mn as serializePublicValue, Mt as validator, Nn as toPublicError, On as registerClientHooks, Ot as getNormalizedActionInput, Pn as transformCurrentPublicError, Q as hasLoader, Qn as Navigate, Qt as resolveRouteMetadata, Rn as SerializedMap, Sn as attachRequestFetch, St as StandardSchemaV1, Tn as getClientHooks, Tt as executeAction, Un as SerializedValue, Ut as OpenGraphMetadata, Vn as SerializedSet, Vt as RESUME_FINAL_STATE_ELEMENT_ID, Wn as deserializeValue, Wt as ROUTE_METADATA_HEAD_ATTR, X as consumePendingSsrLoaderIds, Xn as GetStaticPaths, Xt as composeRouteMetadata, Y as __eclipsaLoader, Yn as serializeValue, Yt as TwitterMetadata, Z as executeLoader, Zn as LinkPrefetchMode, Zt as renderRouteMetadataHead, _n as ServerHooksModule, _t as InferStandardSchemaOutput, an as BaseAppVariables, at as ACTION_CONTENT_TYPE, bn as TransportHook, bt as StandardSchemaIssue, cn as HandleErrorInput, ct as ActionFactory, dn as HandleResolveOptions, dt as ActionHandler, en as AppContext, er as RouteLocation, et as loader, fn as PublicError, ft as ActionMiddleware, gn as ResolvedHooks, gt as InferStandardSchemaInput, hn as Reroute, ht as ActionValidatorMiddleware, in as AppVariables, it as resolvePendingLoaders, jn as runHandleError, jt as registerAction, kn as resetClientHooks, kt as hasAction, ln as HandleFetch, lt as ActionFormProps, mn as RequestFetch, mt as ActionSubmission, nn as AppHooksManifest, nr as StaticPath, nt as primeLoaderState, on as Handle, ot as ACTION_FORM_ATTR, pn as PublicErrorShape, pt as ActionOpaqueRef, q as LoaderHandler, qn as parseSerializedJSON, qt as RouteMetadataResolver, rn as AppHooksModule, rt as registerLoader, sn as HandleError, st as ACTION_FORM_FIELD, tn as AppEnv, tr as RouteParams, tt as markPendingSsrLoader, un as HandleResolve, ut as ActionHandle, vn as ServerInit, vt as OpaqueDomRef, wn as deserializePublicValue, wt as action, xn as WithAppEnv, xt as StandardSchemaResult, yn as Transport, yt as OpaqueSignalRef, zn as SerializedObject } from "./internal-CHYAJznU.mjs";
|
|
4
|
+
import { a as onMount, c as useComputed, d as useWatch, i as onCleanup, l as useComputed$, n as WatchDependency, o as onVisible, r as effect, s as signal, t as Signal, u as useSignal } from "./signal-CosyYdtA.mjs";
|
|
5
|
+
import { a as renderSSR, c as serializeResumePayload, i as getStreamingResumeBootstrapScriptContent, n as SSRStreamChunk, o as renderSSRAsync, r as SSRStreamRenderResult, s as renderSSRStream, t as SSRRenderResult } from "./ssr-D8F-DtCv.mjs";
|
|
6
6
|
import { Env, MiddlewareHandler } from "hono/types";
|
|
7
7
|
|
|
8
8
|
//#region core/context.d.ts
|
|
@@ -39,7 +39,20 @@ declare const materializeRuntimeContext: <T>(descriptor: SerializedContextDescri
|
|
|
39
39
|
declare const materializeRuntimeContextProvider: <T>(descriptor: SerializedContextDescriptor<T>) => Component<ContextProviderProps<T>>;
|
|
40
40
|
declare const useContext: <T>(context: Context<T>) => T;
|
|
41
41
|
//#endregion
|
|
42
|
-
//#region core/
|
|
42
|
+
//#region core/dynamic.d.ts
|
|
43
|
+
type DynamicRenderable = keyof JSX.IntrinsicElements | Component<any>;
|
|
44
|
+
type DynamicRenderableProps<TRenderable extends DynamicRenderable> = TRenderable extends keyof JSX.IntrinsicElements ? JSX.IntrinsicElements[TRenderable] : TRenderable extends Component<infer TProps> ? TProps : never;
|
|
45
|
+
type DynamicProps<TRenderable extends DynamicRenderable> = {
|
|
46
|
+
component: TRenderable | null | undefined;
|
|
47
|
+
} & DynamicRenderableProps<TRenderable>;
|
|
48
|
+
type DynamicIntrinsicProps = { [TRenderable in keyof JSX.IntrinsicElements]: DynamicProps<TRenderable> }[keyof JSX.IntrinsicElements];
|
|
49
|
+
interface DynamicComponentFn {
|
|
50
|
+
(props: DynamicIntrinsicProps): JSX.Element;
|
|
51
|
+
<TRenderable extends Component<any>>(props: DynamicProps<TRenderable>): JSX.Element;
|
|
52
|
+
}
|
|
53
|
+
declare const Dynamic: DynamicComponentFn;
|
|
54
|
+
//#endregion
|
|
55
|
+
//#region core/shared.d.ts
|
|
43
56
|
declare const IS_BROWSER: boolean;
|
|
44
57
|
declare const IS_SSR: boolean;
|
|
45
58
|
//#endregion
|
|
@@ -86,37 +99,6 @@ declare const withSignalSnapshot: <T>(values: unknown[] | null, fn: () => T) =>
|
|
|
86
99
|
declare const consumeSnapshotValue: <T>(fallback: T) => T;
|
|
87
100
|
declare const registerSnapshotSignal: (reader: SignalReader) => void;
|
|
88
101
|
//#endregion
|
|
89
|
-
//#region core/ssr.d.ts
|
|
90
|
-
interface SSRRenderResult {
|
|
91
|
-
html: string;
|
|
92
|
-
payload: ResumePayload;
|
|
93
|
-
}
|
|
94
|
-
interface SSRStreamChunk {
|
|
95
|
-
boundaryId: string;
|
|
96
|
-
html: string;
|
|
97
|
-
payload: ResumePayload;
|
|
98
|
-
}
|
|
99
|
-
interface SSRStreamRenderResult extends SSRRenderResult {
|
|
100
|
-
chunks: AsyncIterable<SSRStreamChunk>;
|
|
101
|
-
}
|
|
102
|
-
declare const renderSSR: (render: () => JSX.Element | JSX.Element[], options?: {
|
|
103
|
-
symbols?: Record<string, string>;
|
|
104
|
-
}) => SSRRenderResult;
|
|
105
|
-
declare const renderSSRAsync: (render: () => JSX.Element | JSX.Element[], options?: {
|
|
106
|
-
context?: Context$1<any>;
|
|
107
|
-
prepare?: (container: RuntimeContainer) => void | Promise<void>;
|
|
108
|
-
resolvePendingLoaders?: (container: RuntimeContainer) => void | Promise<boolean>;
|
|
109
|
-
symbols?: Record<string, string>;
|
|
110
|
-
}) => Promise<SSRRenderResult>;
|
|
111
|
-
declare const renderSSRStream: (render: () => JSX.Element | JSX.Element[], options?: {
|
|
112
|
-
context?: Context$1<any>;
|
|
113
|
-
prepare?: (container: RuntimeContainer) => void | Promise<void>;
|
|
114
|
-
resolvePendingLoaders?: (container: RuntimeContainer) => void | Promise<boolean>;
|
|
115
|
-
symbols?: Record<string, string>;
|
|
116
|
-
}) => Promise<SSRStreamRenderResult>;
|
|
117
|
-
declare const serializeResumePayload: (payload: ResumePayload) => string;
|
|
118
|
-
declare const getStreamingResumeBootstrapScriptContent: () => string;
|
|
119
|
-
//#endregion
|
|
120
102
|
//#region core/style.d.ts
|
|
121
103
|
declare function useStyleScoped(strings: TemplateStringsArray, ...values: unknown[]): void;
|
|
122
104
|
declare function useStyleScoped(value: JSX.Element | string): void;
|
|
@@ -160,5 +142,5 @@ declare const Show: <T>(props: {
|
|
|
160
142
|
when: T;
|
|
161
143
|
}) => JSX.Element;
|
|
162
144
|
//#endregion
|
|
163
|
-
export { ACTION_CONTENT_TYPE, ACTION_FORM_ATTR, ACTION_FORM_FIELD, APP_HOOKS_ELEMENT_ID, ActionFactory, ActionFormProps, ActionHandle, ActionHandler, ActionMiddleware, ActionOpaqueRef, ActionSubmission, ActionValidatorMiddleware, AppContext, AppEnv, AppHooksManifest, AppHooksModule, AppVariables, BaseAppVariables, BindTarget, Component, Context, ContextProviderProps, DelegatedEvent, DeserializeValueOptions, EURL, EventHandler, For, type GetStaticPaths, Handle, HandleError, HandleErrorInput, HandleFetch, HandleResolve, HandleResolveOptions, IS_BROWSER, IS_SSR, InferStandardSchemaInput, InferStandardSchemaOutput, JSX, Link, type LinkPrefetchMode, type LinkProps, LoaderFactory, LoaderHandle, LoaderHandler, LoaderMiddleware, MetadataContext, type Navigate, type NavigateOptions, NoSerialize, OpaqueDomRef, OpaqueSignalRef, OpenGraphMetadata, PendingSignalError, PublicError, PublicErrorShape, RESUME_FINAL_STATE_ELEMENT_ID, ROUTE_METADATA_HEAD_ATTR, RequestFetch, Reroute, ResolvedHooks, type RouteLocation, RouteMetadata, RouteMetadataExport, RouteMetadataResolver, RouteMetadataValue, RouteMiddleware, SSRRenderResult, SSRRootProps, SSRStreamChunk, SSRStreamRenderResult, SerializeValueOptions, SerializedMap, SerializedObject, SerializedReference, SerializedSet, SerializedUndefined, SerializedValue, ServerHooksModule, ServerInit, Show, Signal, StandardSchemaIssue, StandardSchemaResult, StandardSchemaV1, type StaticPath, Suspense, SuspenseProps, Transport, TransportHook, TwitterMetadata, WatchDependency, WithAppEnv, __eclipsaAction, __eclipsaLoader, action, attachRequestFetch, composeRouteMetadata, consumePendingSsrLoaderIds, consumeSnapshotValue, createContext, createPendingSignalError, createRequestFetch, deserializePublicValue, deserializeValue, effect, escapeInlineScriptText, escapeJSONScriptText, executeAction, executeActionSubmission, executeLoader, getActionFormSubmissionId, getClientHooks, getContextProviderMeta, getCurrentServerRequestContext, getNormalizedActionInput, getRuntimeContextReference, getStreamingResumeBootstrapScriptContent, hasAction, hasLoader, isNoSerialize, isPendingSignalError, isPendingSsrLoaderError, isSuspenseType, loader, markPendingSsrLoader, markPublicError, materializeRuntimeContext, materializeRuntimeContextProvider, noSerialize, notFound, onCleanup, onMount, onVisible, parseSerializedJSON, primeActionState, primeLoaderState, registerAction, registerClientHooks, registerLoader, registerSnapshotSignal, renderRouteMetadataHead, renderSSR, renderSSRAsync, renderSSRStream, resetClientHooks, resolvePendingLoaders, resolveReroute, resolveRouteMetadata, resumeContainer, runHandleError, serializeJSONScriptContent, serializePublicValue, serializeResumePayload, serializeValue, signal, toPublicError, transformCurrentPublicError, useComputed, useComputed$, useContext, useLocation, useNavigate, useRouteError, useRouteParams, useSignal, useStyleScoped, useWatch, validator, withServerRequestContext, withSignalSnapshot };
|
|
145
|
+
export { ACTION_CONTENT_TYPE, ACTION_FORM_ATTR, ACTION_FORM_FIELD, APP_HOOKS_ELEMENT_ID, ActionFactory, ActionFormProps, ActionHandle, ActionHandler, ActionMiddleware, ActionOpaqueRef, ActionSubmission, ActionValidatorMiddleware, AppContext, AppEnv, AppHooksManifest, AppHooksModule, AppVariables, BaseAppVariables, BindTarget, Component, Context, ContextProviderProps, DelegatedEvent, DeserializeValueOptions, Dynamic, DynamicProps, DynamicRenderable, EURL, EventHandler, For, type GetStaticPaths, Handle, HandleError, HandleErrorInput, HandleFetch, HandleResolve, HandleResolveOptions, IS_BROWSER, IS_SSR, InferStandardSchemaInput, InferStandardSchemaOutput, JSX, Link, type LinkPrefetchMode, type LinkProps, LoaderFactory, LoaderHandle, LoaderHandler, LoaderMiddleware, MetadataContext, type Navigate, type NavigateOptions, NoSerialize, OpaqueDomRef, OpaqueSignalRef, OpenGraphMetadata, PendingSignalError, PublicError, PublicErrorShape, RESUME_FINAL_STATE_ELEMENT_ID, ROUTE_METADATA_HEAD_ATTR, RequestFetch, Reroute, ResolvedHooks, type RouteLocation, RouteMetadata, RouteMetadataExport, RouteMetadataResolver, RouteMetadataValue, RouteMiddleware, SSRRenderResult, SSRRootProps, SSRStreamChunk, SSRStreamRenderResult, SerializeValueOptions, SerializedMap, SerializedObject, SerializedReference, SerializedSet, SerializedUndefined, SerializedValue, ServerHooksModule, ServerInit, Show, Signal, StandardSchemaIssue, StandardSchemaResult, StandardSchemaV1, type StaticPath, Suspense, SuspenseProps, Transport, TransportHook, TwitterMetadata, WatchDependency, WithAppEnv, __eclipsaAction, __eclipsaLoader, action, attachRequestFetch, composeRouteMetadata, consumePendingSsrLoaderIds, consumeSnapshotValue, createContext, createPendingSignalError, createRequestFetch, deserializePublicValue, deserializeValue, effect, escapeInlineScriptText, escapeJSONScriptText, executeAction, executeActionSubmission, executeLoader, getActionFormSubmissionId, getClientHooks, getContextProviderMeta, getCurrentServerRequestContext, getNormalizedActionInput, getRuntimeContextReference, getStreamingResumeBootstrapScriptContent, hasAction, hasLoader, isNoSerialize, isPendingSignalError, isPendingSsrLoaderError, isSuspenseType, loader, markPendingSsrLoader, markPublicError, materializeRuntimeContext, materializeRuntimeContextProvider, noSerialize, notFound, onCleanup, onMount, onVisible, parseSerializedJSON, primeActionState, primeLoaderState, registerAction, registerClientHooks, registerLoader, registerSnapshotSignal, renderRouteMetadataHead, renderSSR, renderSSRAsync, renderSSRAttr, renderSSRMap, renderSSRStream, renderSSRValue, resetClientHooks, resolvePendingLoaders, resolveReroute, resolveRouteMetadata, resumeContainer, runHandleError, serializeJSONScriptContent, serializePublicValue, serializeResumePayload, serializeValue, signal, toPublicError, transformCurrentPublicError, useComputed, useComputed$, useContext, useLocation, useNavigate, useRouteError, useRouteParams, useSignal, useStyleScoped, useWatch, validator, withServerRequestContext, withSignalSnapshot };
|
|
164
146
|
//# sourceMappingURL=mod.d.mts.map
|