flexium 0.8.15 → 0.9.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/{DrawText-CeXBL8Ev.d.ts → DrawText-Bvzl40Vi.d.ts} +1 -1
- package/dist/{DrawText-JB58mpQT.d.cts → DrawText-CJikXQjL.d.cts} +1 -1
- package/dist/advanced.d.cts +3 -1
- package/dist/advanced.d.ts +3 -1
- package/dist/advanced.js +1 -1
- package/dist/advanced.mjs +1 -1
- package/dist/advanced.mjs.map +1 -1
- package/dist/canvas.d.cts +5 -3
- package/dist/canvas.d.ts +5 -3
- package/dist/canvas.js +1 -1
- package/dist/canvas.mjs +1 -1
- package/dist/chunk-6RV7ARJT.mjs +3 -0
- package/dist/chunk-6RV7ARJT.mjs.map +1 -0
- package/dist/{chunk-CNY6FPKJ.js → chunk-CBO2X74Q.js} +2 -2
- package/dist/{chunk-CZYIK6FD.mjs.map → chunk-CBO2X74Q.js.map} +1 -1
- package/dist/chunk-GFL4VRAO.mjs +3 -0
- package/dist/chunk-GFL4VRAO.mjs.map +1 -0
- package/dist/{chunk-MLZTCKTH.mjs → chunk-GQKN4NPW.mjs} +2 -2
- package/dist/{chunk-MLZTCKTH.mjs.map → chunk-GQKN4NPW.mjs.map} +1 -1
- package/dist/{chunk-CZYIK6FD.mjs → chunk-JDTJFAXO.mjs} +2 -2
- package/dist/chunk-JDTJFAXO.mjs.map +1 -0
- package/dist/{chunk-ZNPYN2TZ.mjs → chunk-LXXN76HJ.mjs} +2 -2
- package/dist/{chunk-ZNPYN2TZ.mjs.map → chunk-LXXN76HJ.mjs.map} +1 -1
- package/dist/chunk-MKE3KA43.js +3 -0
- package/dist/chunk-MKE3KA43.js.map +1 -0
- package/dist/{chunk-DOGIWSDA.js → chunk-PDOEMOWN.js} +2 -2
- package/dist/{chunk-DOGIWSDA.js.map → chunk-PDOEMOWN.js.map} +1 -1
- package/dist/{chunk-GDBJ322I.js → chunk-RIVNKTUR.js} +2 -2
- package/dist/{chunk-GDBJ322I.js.map → chunk-RIVNKTUR.js.map} +1 -1
- package/dist/chunk-TQLZ7UZX.js +2 -0
- package/dist/chunk-TQLZ7UZX.js.map +1 -0
- package/dist/chunk-WEYAKKNF.js +3 -0
- package/dist/chunk-WEYAKKNF.js.map +1 -0
- package/dist/chunk-WO6NQ3KR.mjs +3 -0
- package/dist/chunk-WO6NQ3KR.mjs.map +1 -0
- package/dist/chunk-Y4DUMNIW.mjs +2 -0
- package/dist/chunk-Y4DUMNIW.mjs.map +1 -0
- package/dist/chunk-ZG3LULLU.js +3 -0
- package/dist/chunk-ZG3LULLU.js.map +1 -0
- package/dist/components-D4WeooPi.d.ts +126 -0
- package/dist/components-DZy2r6m5.d.cts +126 -0
- package/dist/core.d.cts +159 -15
- package/dist/core.d.ts +159 -15
- package/dist/core.js +1 -1
- package/dist/core.mjs +1 -1
- package/dist/dom.d.cts +2 -3
- package/dist/dom.d.ts +2 -3
- package/dist/dom.js +1 -1
- package/dist/dom.js.map +1 -1
- package/dist/dom.mjs +1 -1
- package/dist/dom.mjs.map +1 -1
- package/dist/effect-BlnnM1t5.d.cts +20 -0
- package/dist/effect-BlnnM1t5.d.ts +20 -0
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/interactive.d.cts +1 -1
- package/dist/interactive.d.ts +1 -1
- package/dist/interactive.js +1 -1
- package/dist/interactive.mjs +1 -1
- package/dist/interactive.mjs.map +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/owner-Ce7KCWzi.d.cts +34 -0
- package/dist/owner-Ce7KCWzi.d.ts +34 -0
- package/dist/{portal-DBwz7gD0.d.ts → portal-C3ESJhlv.d.ts} +1 -1
- package/dist/{portal-BpcIlK9y.d.cts → portal-CAEbiMUZ.d.cts} +1 -1
- package/dist/primitives/motion.js +1 -1
- package/dist/primitives/motion.mjs +1 -1
- package/dist/primitives/ui.d.cts +1 -1
- package/dist/primitives/ui.d.ts +1 -1
- package/dist/primitives/ui.js +1 -1
- package/dist/primitives/ui.mjs +1 -1
- package/dist/primitives/ui.mjs.map +1 -1
- package/dist/primitives.d.cts +6 -4
- package/dist/primitives.d.ts +6 -4
- package/dist/primitives.js +1 -1
- package/dist/primitives.mjs +1 -1
- package/dist/router.d.cts +11 -120
- package/dist/router.d.ts +11 -120
- package/dist/router.js +1 -1
- package/dist/router.mjs +1 -1
- package/dist/scheduler-Z4QqUDjF.d.cts +25 -0
- package/dist/scheduler-Z4QqUDjF.d.ts +25 -0
- package/dist/server.js +1 -1
- package/dist/server.mjs +1 -1
- package/dist/signal-AXKUQJVA.js +2 -0
- package/dist/{signal-XZXQ4VYQ.js.map → signal-AXKUQJVA.js.map} +1 -1
- package/dist/signal-Dxh9PsKr.d.cts +69 -0
- package/dist/signal-Dxh9PsKr.d.ts +69 -0
- package/dist/signal-HM2LG5YL.mjs +2 -0
- package/dist/{signal-PWBIM6JV.mjs.map → signal-HM2LG5YL.mjs.map} +1 -1
- package/dist/test-exports.d.cts +29 -8
- package/dist/test-exports.d.ts +29 -8
- package/dist/test-exports.js +1 -1
- package/dist/test-exports.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-2MVKTSFR.mjs +0 -3
- package/dist/chunk-2MVKTSFR.mjs.map +0 -1
- package/dist/chunk-2U4DW375.mjs +0 -2
- package/dist/chunk-2U4DW375.mjs.map +0 -1
- package/dist/chunk-5S3ZQ2LB.mjs +0 -3
- package/dist/chunk-5S3ZQ2LB.mjs.map +0 -1
- package/dist/chunk-CNY6FPKJ.js.map +0 -1
- package/dist/chunk-EX2GURH5.mjs +0 -3
- package/dist/chunk-EX2GURH5.mjs.map +0 -1
- package/dist/chunk-I7UCVARB.js +0 -2
- package/dist/chunk-I7UCVARB.js.map +0 -1
- package/dist/chunk-REETNY2Z.js +0 -3
- package/dist/chunk-REETNY2Z.js.map +0 -1
- package/dist/chunk-ROYFUJN5.js +0 -3
- package/dist/chunk-ROYFUJN5.js.map +0 -1
- package/dist/chunk-V4K6WOXN.js +0 -3
- package/dist/chunk-V4K6WOXN.js.map +0 -1
- package/dist/signal-PWBIM6JV.mjs +0 -2
- package/dist/signal-XZXQ4VYQ.js +0 -2
- package/dist/signal-mNtlF8-v.d.cts +0 -158
- package/dist/signal-mNtlF8-v.d.ts +0 -158
- package/dist/state-kK9sQh9s.d.cts +0 -73
- package/dist/state-kK9sQh9s.d.ts +0 -73
package/dist/router.d.cts
CHANGED
|
@@ -1,126 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { R as RouteDef, a as RouteMatch } from './components-DZy2r6m5.cjs';
|
|
2
|
+
export { h as Link, d as LinkProps, L as Location, O as Outlet, g as Route, c as RouteProps, f as Router, b as RouterContext, e as createLocation, i as isUnsafePath, m as matchPath, r as router, s as sanitizeQueryValue } from './components-DZy2r6m5.cjs';
|
|
3
|
+
import { a as FNodeChild } from './renderer-DSLb-FGg.cjs';
|
|
4
|
+
import './signal-Dxh9PsKr.cjs';
|
|
3
5
|
|
|
4
|
-
interface Location {
|
|
5
|
-
pathname: string;
|
|
6
|
-
search: string;
|
|
7
|
-
hash: string;
|
|
8
|
-
query: Record<string, string>;
|
|
9
|
-
}
|
|
10
|
-
interface RouterContext {
|
|
11
|
-
location: Signal<Location> | Computed<Location>;
|
|
12
|
-
params: Signal<Record<string, string>> | Computed<Record<string, string>>;
|
|
13
|
-
navigate: (path: string) => void;
|
|
14
|
-
matches: Signal<RouteMatch[]> | Computed<RouteMatch[]>;
|
|
15
|
-
}
|
|
16
|
-
interface RouteProps {
|
|
17
|
-
path?: string;
|
|
18
|
-
index?: boolean;
|
|
19
|
-
component: Function;
|
|
20
|
-
children?: FNodeChild;
|
|
21
|
-
beforeEnter?: (params: Record<string, string>) => boolean | Promise<boolean>;
|
|
22
|
-
}
|
|
23
|
-
interface RouteMatch {
|
|
24
|
-
route: RouteDef;
|
|
25
|
-
params: Record<string, string>;
|
|
26
|
-
pathname: string;
|
|
27
|
-
}
|
|
28
|
-
interface RouteDef {
|
|
29
|
-
path: string;
|
|
30
|
-
index: boolean;
|
|
31
|
-
component: Function;
|
|
32
|
-
children: RouteDef[];
|
|
33
|
-
beforeEnter?: (params: Record<string, string>) => boolean | Promise<boolean>;
|
|
34
|
-
}
|
|
35
|
-
interface LinkProps {
|
|
36
|
-
to: string;
|
|
37
|
-
class?: string;
|
|
38
|
-
children?: FNodeChild;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
* Router Core Module
|
|
43
|
-
*
|
|
44
|
-
* Provides core routing functionality including location management,
|
|
45
|
-
* path matching, and navigation.
|
|
46
|
-
*/
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* Creates a reactive location signal and navigate function.
|
|
50
|
-
*
|
|
51
|
-
* The location signal automatically updates when:
|
|
52
|
-
* - navigate() is called
|
|
53
|
-
* - Browser back/forward buttons are used (popstate event)
|
|
54
|
-
*
|
|
55
|
-
* @returns Tuple of [location signal, navigate function, cleanup function]
|
|
56
|
-
*
|
|
57
|
-
* @example
|
|
58
|
-
* ```tsx
|
|
59
|
-
* const [location, navigate, cleanup] = createLocation();
|
|
60
|
-
* // Access current path
|
|
61
|
-
* console.log(location().pathname);
|
|
62
|
-
* // Navigate to new path
|
|
63
|
-
* navigate('/users/123');
|
|
64
|
-
* // Cleanup when done (removes popstate listener)
|
|
65
|
-
* cleanup();
|
|
66
|
-
* ```
|
|
67
|
-
*/
|
|
68
|
-
declare function createLocation(): [Signal<Location>, (path: string) => void, () => void];
|
|
69
|
-
/**
|
|
70
|
-
* Check if a path contains unsafe protocols (XSS prevention)
|
|
71
|
-
* @param path - Path to validate
|
|
72
|
-
* @returns true if path is unsafe
|
|
73
|
-
*/
|
|
74
|
-
declare function isUnsafePath(path: string): boolean;
|
|
75
|
-
/**
|
|
76
|
-
* Sanitize query parameter value to prevent XSS
|
|
77
|
-
* @param value - Query parameter value
|
|
78
|
-
* @returns Sanitized value
|
|
79
|
-
*/
|
|
80
|
-
declare function sanitizeQueryValue(value: string): string;
|
|
81
|
-
/**
|
|
82
|
-
* Matches a pathname against a route pattern.
|
|
83
|
-
*
|
|
84
|
-
* Supports dynamic segments with `:param` syntax.
|
|
85
|
-
*
|
|
86
|
-
* @param pathname - Current URL pathname (e.g., "/users/123")
|
|
87
|
-
* @param routePath - Route pattern (e.g., "/users/:id")
|
|
88
|
-
* @returns Object with `matches` boolean and extracted `params`
|
|
89
|
-
*
|
|
90
|
-
* @example
|
|
91
|
-
* ```tsx
|
|
92
|
-
* const result = matchPath('/users/123', '/users/:id');
|
|
93
|
-
* // { matches: true, params: { id: '123' } }
|
|
94
|
-
* ```
|
|
95
|
-
*/
|
|
96
|
-
declare function matchPath(pathname: string, routePath: string): {
|
|
97
|
-
matches: boolean;
|
|
98
|
-
params: Record<string, string>;
|
|
99
|
-
};
|
|
100
|
-
|
|
101
|
-
/**
|
|
102
|
-
* Get the current router context.
|
|
103
|
-
* Must be called within a <Router> component.
|
|
104
|
-
*
|
|
105
|
-
* @example
|
|
106
|
-
* ```tsx
|
|
107
|
-
* const r = router()
|
|
108
|
-
* r.navigate('/dashboard')
|
|
109
|
-
* ```
|
|
110
|
-
*/
|
|
111
|
-
declare function router(): RouterContext;
|
|
112
|
-
declare function Router(props: {
|
|
113
|
-
children: FNodeChild;
|
|
114
|
-
}): () => FNode;
|
|
115
6
|
/**
|
|
116
|
-
* Route configuration
|
|
117
|
-
*
|
|
7
|
+
* Flatten the children of <Router> or <Route> into a route configuration tree.
|
|
8
|
+
* Note: This assumes `children` are FNodes representing <Route> components.
|
|
118
9
|
*/
|
|
119
|
-
declare function
|
|
10
|
+
declare function createRoutesFromChildren(children: FNodeChild): RouteDef[];
|
|
120
11
|
/**
|
|
121
|
-
*
|
|
12
|
+
* Match a URL against a route tree.
|
|
13
|
+
* Returns an array of matches (from root to leaf).
|
|
122
14
|
*/
|
|
123
|
-
declare function
|
|
124
|
-
declare function Link(props: LinkProps): FNode;
|
|
15
|
+
declare function matchRoutes(routes: RouteDef[], location: string): RouteMatch[] | null;
|
|
125
16
|
|
|
126
|
-
export {
|
|
17
|
+
export { RouteDef, RouteMatch, createRoutesFromChildren, matchRoutes };
|
package/dist/router.d.ts
CHANGED
|
@@ -1,126 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { R as RouteDef, a as RouteMatch } from './components-D4WeooPi.js';
|
|
2
|
+
export { h as Link, d as LinkProps, L as Location, O as Outlet, g as Route, c as RouteProps, f as Router, b as RouterContext, e as createLocation, i as isUnsafePath, m as matchPath, r as router, s as sanitizeQueryValue } from './components-D4WeooPi.js';
|
|
3
|
+
import { a as FNodeChild } from './renderer-DSLb-FGg.js';
|
|
4
|
+
import './signal-Dxh9PsKr.js';
|
|
3
5
|
|
|
4
|
-
interface Location {
|
|
5
|
-
pathname: string;
|
|
6
|
-
search: string;
|
|
7
|
-
hash: string;
|
|
8
|
-
query: Record<string, string>;
|
|
9
|
-
}
|
|
10
|
-
interface RouterContext {
|
|
11
|
-
location: Signal<Location> | Computed<Location>;
|
|
12
|
-
params: Signal<Record<string, string>> | Computed<Record<string, string>>;
|
|
13
|
-
navigate: (path: string) => void;
|
|
14
|
-
matches: Signal<RouteMatch[]> | Computed<RouteMatch[]>;
|
|
15
|
-
}
|
|
16
|
-
interface RouteProps {
|
|
17
|
-
path?: string;
|
|
18
|
-
index?: boolean;
|
|
19
|
-
component: Function;
|
|
20
|
-
children?: FNodeChild;
|
|
21
|
-
beforeEnter?: (params: Record<string, string>) => boolean | Promise<boolean>;
|
|
22
|
-
}
|
|
23
|
-
interface RouteMatch {
|
|
24
|
-
route: RouteDef;
|
|
25
|
-
params: Record<string, string>;
|
|
26
|
-
pathname: string;
|
|
27
|
-
}
|
|
28
|
-
interface RouteDef {
|
|
29
|
-
path: string;
|
|
30
|
-
index: boolean;
|
|
31
|
-
component: Function;
|
|
32
|
-
children: RouteDef[];
|
|
33
|
-
beforeEnter?: (params: Record<string, string>) => boolean | Promise<boolean>;
|
|
34
|
-
}
|
|
35
|
-
interface LinkProps {
|
|
36
|
-
to: string;
|
|
37
|
-
class?: string;
|
|
38
|
-
children?: FNodeChild;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
* Router Core Module
|
|
43
|
-
*
|
|
44
|
-
* Provides core routing functionality including location management,
|
|
45
|
-
* path matching, and navigation.
|
|
46
|
-
*/
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* Creates a reactive location signal and navigate function.
|
|
50
|
-
*
|
|
51
|
-
* The location signal automatically updates when:
|
|
52
|
-
* - navigate() is called
|
|
53
|
-
* - Browser back/forward buttons are used (popstate event)
|
|
54
|
-
*
|
|
55
|
-
* @returns Tuple of [location signal, navigate function, cleanup function]
|
|
56
|
-
*
|
|
57
|
-
* @example
|
|
58
|
-
* ```tsx
|
|
59
|
-
* const [location, navigate, cleanup] = createLocation();
|
|
60
|
-
* // Access current path
|
|
61
|
-
* console.log(location().pathname);
|
|
62
|
-
* // Navigate to new path
|
|
63
|
-
* navigate('/users/123');
|
|
64
|
-
* // Cleanup when done (removes popstate listener)
|
|
65
|
-
* cleanup();
|
|
66
|
-
* ```
|
|
67
|
-
*/
|
|
68
|
-
declare function createLocation(): [Signal<Location>, (path: string) => void, () => void];
|
|
69
|
-
/**
|
|
70
|
-
* Check if a path contains unsafe protocols (XSS prevention)
|
|
71
|
-
* @param path - Path to validate
|
|
72
|
-
* @returns true if path is unsafe
|
|
73
|
-
*/
|
|
74
|
-
declare function isUnsafePath(path: string): boolean;
|
|
75
|
-
/**
|
|
76
|
-
* Sanitize query parameter value to prevent XSS
|
|
77
|
-
* @param value - Query parameter value
|
|
78
|
-
* @returns Sanitized value
|
|
79
|
-
*/
|
|
80
|
-
declare function sanitizeQueryValue(value: string): string;
|
|
81
|
-
/**
|
|
82
|
-
* Matches a pathname against a route pattern.
|
|
83
|
-
*
|
|
84
|
-
* Supports dynamic segments with `:param` syntax.
|
|
85
|
-
*
|
|
86
|
-
* @param pathname - Current URL pathname (e.g., "/users/123")
|
|
87
|
-
* @param routePath - Route pattern (e.g., "/users/:id")
|
|
88
|
-
* @returns Object with `matches` boolean and extracted `params`
|
|
89
|
-
*
|
|
90
|
-
* @example
|
|
91
|
-
* ```tsx
|
|
92
|
-
* const result = matchPath('/users/123', '/users/:id');
|
|
93
|
-
* // { matches: true, params: { id: '123' } }
|
|
94
|
-
* ```
|
|
95
|
-
*/
|
|
96
|
-
declare function matchPath(pathname: string, routePath: string): {
|
|
97
|
-
matches: boolean;
|
|
98
|
-
params: Record<string, string>;
|
|
99
|
-
};
|
|
100
|
-
|
|
101
|
-
/**
|
|
102
|
-
* Get the current router context.
|
|
103
|
-
* Must be called within a <Router> component.
|
|
104
|
-
*
|
|
105
|
-
* @example
|
|
106
|
-
* ```tsx
|
|
107
|
-
* const r = router()
|
|
108
|
-
* r.navigate('/dashboard')
|
|
109
|
-
* ```
|
|
110
|
-
*/
|
|
111
|
-
declare function router(): RouterContext;
|
|
112
|
-
declare function Router(props: {
|
|
113
|
-
children: FNodeChild;
|
|
114
|
-
}): () => FNode;
|
|
115
6
|
/**
|
|
116
|
-
* Route configuration
|
|
117
|
-
*
|
|
7
|
+
* Flatten the children of <Router> or <Route> into a route configuration tree.
|
|
8
|
+
* Note: This assumes `children` are FNodes representing <Route> components.
|
|
118
9
|
*/
|
|
119
|
-
declare function
|
|
10
|
+
declare function createRoutesFromChildren(children: FNodeChild): RouteDef[];
|
|
120
11
|
/**
|
|
121
|
-
*
|
|
12
|
+
* Match a URL against a route tree.
|
|
13
|
+
* Returns an array of matches (from root to leaf).
|
|
122
14
|
*/
|
|
123
|
-
declare function
|
|
124
|
-
declare function Link(props: LinkProps): FNode;
|
|
15
|
+
declare function matchRoutes(routes: RouteDef[], location: string): RouteMatch[] | null;
|
|
125
16
|
|
|
126
|
-
export {
|
|
17
|
+
export { RouteDef, RouteMatch, createRoutesFromChildren, matchRoutes };
|
package/dist/router.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkZG3LULLU_js=require('./chunk-ZG3LULLU.js');require('./chunk-CBO2X74Q.js'),require('./chunk-Q7IWDVJ4.js'),require('./chunk-WQFQO5LK.js'),require('./chunk-MKE3KA43.js');Object.defineProperty(exports,"Link",{enumerable:true,get:function(){return chunkZG3LULLU_js.k}});Object.defineProperty(exports,"Outlet",{enumerable:true,get:function(){return chunkZG3LULLU_js.j}});Object.defineProperty(exports,"Route",{enumerable:true,get:function(){return chunkZG3LULLU_js.i}});Object.defineProperty(exports,"Router",{enumerable:true,get:function(){return chunkZG3LULLU_js.h}});Object.defineProperty(exports,"createLocation",{enumerable:true,get:function(){return chunkZG3LULLU_js.a}});Object.defineProperty(exports,"createRoutesFromChildren",{enumerable:true,get:function(){return chunkZG3LULLU_js.e}});Object.defineProperty(exports,"isUnsafePath",{enumerable:true,get:function(){return chunkZG3LULLU_js.b}});Object.defineProperty(exports,"matchPath",{enumerable:true,get:function(){return chunkZG3LULLU_js.d}});Object.defineProperty(exports,"matchRoutes",{enumerable:true,get:function(){return chunkZG3LULLU_js.f}});Object.defineProperty(exports,"router",{enumerable:true,get:function(){return chunkZG3LULLU_js.g}});Object.defineProperty(exports,"sanitizeQueryValue",{enumerable:true,get:function(){return chunkZG3LULLU_js.c}});//# sourceMappingURL=router.js.map
|
|
2
2
|
//# sourceMappingURL=router.js.map
|
package/dist/router.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{k as Link,j as Outlet,i as Route,h as Router,a as createLocation,e as createRoutesFromChildren,b as isUnsafePath,d as matchPath,f as matchRoutes,g as router,c as sanitizeQueryValue}from'./chunk-6RV7ARJT.mjs';import'./chunk-JDTJFAXO.mjs';import'./chunk-WVEJT7HD.mjs';import'./chunk-KNF5ERPK.mjs';import'./chunk-GFL4VRAO.mjs';//# sourceMappingURL=router.mjs.map
|
|
2
2
|
//# sourceMappingURL=router.mjs.map
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Synchronizes state updates.
|
|
3
|
+
*
|
|
4
|
+
* - `sync()`: Force flushes any pending auto-batched effects.
|
|
5
|
+
* - `sync(fn)`: Batches updates within `fn`, then flushes them and any pending effects synchronously.
|
|
6
|
+
*
|
|
7
|
+
* @param fn - Optional function containing state updates
|
|
8
|
+
* @returns The return value of fn, if provided
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```tsx
|
|
12
|
+
* // 1. Force flush pending effects
|
|
13
|
+
* count.value++
|
|
14
|
+
* sync() // DOM is now updated
|
|
15
|
+
*
|
|
16
|
+
* // 2. Batch updates and flush immediately
|
|
17
|
+
* sync(() => {
|
|
18
|
+
* count.value = 1
|
|
19
|
+
* name.value = 'Bob'
|
|
20
|
+
* }) // Effects run once here, DOM updated
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
declare function sync<T>(fn?: () => T): T | void;
|
|
24
|
+
|
|
25
|
+
export { sync as s };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Synchronizes state updates.
|
|
3
|
+
*
|
|
4
|
+
* - `sync()`: Force flushes any pending auto-batched effects.
|
|
5
|
+
* - `sync(fn)`: Batches updates within `fn`, then flushes them and any pending effects synchronously.
|
|
6
|
+
*
|
|
7
|
+
* @param fn - Optional function containing state updates
|
|
8
|
+
* @returns The return value of fn, if provided
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```tsx
|
|
12
|
+
* // 1. Force flush pending effects
|
|
13
|
+
* count.value++
|
|
14
|
+
* sync() // DOM is now updated
|
|
15
|
+
*
|
|
16
|
+
* // 2. Batch updates and flush immediately
|
|
17
|
+
* sync(() => {
|
|
18
|
+
* count.value = 1
|
|
19
|
+
* name.value = 'Bob'
|
|
20
|
+
* }) // Effects run once here, DOM updated
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
declare function sync<T>(fn?: () => T): T | void;
|
|
24
|
+
|
|
25
|
+
export { sync as s };
|
package/dist/server.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkMKE3KA43_js=require('./chunk-MKE3KA43.js');var g=new Set(["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"]);function s(r){if(r==null||r===false)return "";if(typeof r=="string"||typeof r=="number")return l(String(r));if(Array.isArray(r))return r.map(s).join("");if(chunkMKE3KA43_js.m(r))return s(r.value);if(r.type===null||r.type==="fragment"){let t=r.children||r.props?.children;return t?Array.isArray(t)?t.map(s).join(""):s(t):""}if(typeof r.type=="function"){let t=r.type({...r.props,children:r.children});return s(t)}if(typeof r.type=="string"){let{type:t,props:c,children:a}=r,e=`<${t}`;if(c)for(let i in c){let n=c[i];if(!(i==="children"||i.startsWith("on")||n===null||n===void 0||n===false)&&/^[a-zA-Z0-9-:]+$/.test(i))if(i==="className"||i==="class")e+=` class="${l(n)}"`;else if(i==="style"&&typeof n=="object"){let f=Object.entries(n).map(([u,y])=>`${u.replace(/([A-Z])/g,"-$1").toLowerCase()}:${y}`).join(";");e+=` style="${l(f)}"`;}else e+=` ${i}="${l(String(n))}"`;}return g.has(t)?e+="/>":(e+=">",a&&(e+=Array.isArray(a)?a.map(s).join(""):s(a)),e+=`</${t}>`),e}return ""}function l(r){return r.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}exports.renderToString=s;//# sourceMappingURL=server.js.map
|
|
2
2
|
//# sourceMappingURL=server.js.map
|
package/dist/server.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {m}from'./chunk-GFL4VRAO.mjs';var g=new Set(["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"]);function s(r){if(r==null||r===false)return "";if(typeof r=="string"||typeof r=="number")return l(String(r));if(Array.isArray(r))return r.map(s).join("");if(m(r))return s(r.value);if(r.type===null||r.type==="fragment"){let t=r.children||r.props?.children;return t?Array.isArray(t)?t.map(s).join(""):s(t):""}if(typeof r.type=="function"){let t=r.type({...r.props,children:r.children});return s(t)}if(typeof r.type=="string"){let{type:t,props:c,children:a}=r,e=`<${t}`;if(c)for(let i in c){let n=c[i];if(!(i==="children"||i.startsWith("on")||n===null||n===void 0||n===false)&&/^[a-zA-Z0-9-:]+$/.test(i))if(i==="className"||i==="class")e+=` class="${l(n)}"`;else if(i==="style"&&typeof n=="object"){let f=Object.entries(n).map(([u,y])=>`${u.replace(/([A-Z])/g,"-$1").toLowerCase()}:${y}`).join(";");e+=` style="${l(f)}"`;}else e+=` ${i}="${l(String(n))}"`;}return g.has(t)?e+="/>":(e+=">",a&&(e+=Array.isArray(a)?a.map(s).join(""):s(a)),e+=`</${t}>`),e}return ""}function l(r){return r.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}export{s as renderToString};//# sourceMappingURL=server.mjs.map
|
|
2
2
|
//# sourceMappingURL=server.mjs.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
'use strict';var chunkMKE3KA43_js=require('./chunk-MKE3KA43.js');Object.defineProperty(exports,"computed",{enumerable:true,get:function(){return chunkMKE3KA43_js.l}});Object.defineProperty(exports,"createResource",{enumerable:true,get:function(){return chunkMKE3KA43_js.o}});Object.defineProperty(exports,"effect",{enumerable:true,get:function(){return chunkMKE3KA43_js.i}});Object.defineProperty(exports,"isSignal",{enumerable:true,get:function(){return chunkMKE3KA43_js.m}});Object.defineProperty(exports,"onCleanup",{enumerable:true,get:function(){return chunkMKE3KA43_js.n}});Object.defineProperty(exports,"onMount",{enumerable:true,get:function(){return chunkMKE3KA43_js.g}});Object.defineProperty(exports,"root",{enumerable:true,get:function(){return chunkMKE3KA43_js.f}});Object.defineProperty(exports,"setDevToolsHooks",{enumerable:true,get:function(){return chunkMKE3KA43_js.j}});Object.defineProperty(exports,"signal",{enumerable:true,get:function(){return chunkMKE3KA43_js.k}});Object.defineProperty(exports,"untrack",{enumerable:true,get:function(){return chunkMKE3KA43_js.d}});//# sourceMappingURL=signal-AXKUQJVA.js.map
|
|
2
|
+
//# sourceMappingURL=signal-AXKUQJVA.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"signal-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"signal-AXKUQJVA.js"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Base interface for reactive signals
|
|
3
|
+
* @internal
|
|
4
|
+
*/
|
|
5
|
+
interface Signal<T> {
|
|
6
|
+
value: T;
|
|
7
|
+
(): T;
|
|
8
|
+
set(value: T): void;
|
|
9
|
+
peek(): T;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Computed signal interface (read-only)
|
|
13
|
+
* @internal
|
|
14
|
+
*/
|
|
15
|
+
interface Computed<T> {
|
|
16
|
+
readonly value: T;
|
|
17
|
+
(): T;
|
|
18
|
+
peek(): T;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Creates a reactive signal
|
|
22
|
+
*
|
|
23
|
+
* @param initialValue - The initial value of the signal
|
|
24
|
+
* @returns A signal object with value getter/setter
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* const count = signal(0);
|
|
28
|
+
* count.value++; // triggers subscribers
|
|
29
|
+
* console.log(count()); // alternative getter syntax
|
|
30
|
+
*/
|
|
31
|
+
declare function signal<T>(initialValue: T): Signal<T>;
|
|
32
|
+
/**
|
|
33
|
+
* Creates a computed signal (derived value)
|
|
34
|
+
* @internal Use `state(() => ...)` instead
|
|
35
|
+
*/
|
|
36
|
+
declare function computed<T>(fn: () => T): Computed<T>;
|
|
37
|
+
/**
|
|
38
|
+
* Check if a value is a signal
|
|
39
|
+
* @internal Use state() which handles all reactive patterns
|
|
40
|
+
*/
|
|
41
|
+
declare function isSignal(value: unknown): value is Signal<any> | Computed<any>;
|
|
42
|
+
/**
|
|
43
|
+
* Registers a cleanup function that runs before the current effect re-runs or is disposed
|
|
44
|
+
*
|
|
45
|
+
* @param fn - Cleanup function
|
|
46
|
+
*/
|
|
47
|
+
declare function onCleanup(fn: () => void): void;
|
|
48
|
+
/**
|
|
49
|
+
* Resource interface for async data
|
|
50
|
+
*/
|
|
51
|
+
interface Resource<T> extends Signal<T | undefined> {
|
|
52
|
+
loading: boolean;
|
|
53
|
+
error: any;
|
|
54
|
+
state: 'unresolved' | 'pending' | 'ready' | 'refreshing' | 'errored';
|
|
55
|
+
latest: T | undefined;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Creates a resource for handling async data
|
|
59
|
+
* @internal Use state(async () => ...) instead which returns [data, refetch, status, error]
|
|
60
|
+
*/
|
|
61
|
+
declare function createResource<T, S = any>(source: S | Signal<S> | (() => S), fetcher: (source: S, { value, refetching }: {
|
|
62
|
+
value: T | undefined;
|
|
63
|
+
refetching: any;
|
|
64
|
+
}) => Promise<T>): [Resource<T>, {
|
|
65
|
+
mutate: (v: T | undefined) => void;
|
|
66
|
+
refetch: () => void;
|
|
67
|
+
}];
|
|
68
|
+
|
|
69
|
+
export { type Computed as C, type Signal as S, createResource as a, computed as c, isSignal as i, onCleanup as o, signal as s };
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Base interface for reactive signals
|
|
3
|
+
* @internal
|
|
4
|
+
*/
|
|
5
|
+
interface Signal<T> {
|
|
6
|
+
value: T;
|
|
7
|
+
(): T;
|
|
8
|
+
set(value: T): void;
|
|
9
|
+
peek(): T;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Computed signal interface (read-only)
|
|
13
|
+
* @internal
|
|
14
|
+
*/
|
|
15
|
+
interface Computed<T> {
|
|
16
|
+
readonly value: T;
|
|
17
|
+
(): T;
|
|
18
|
+
peek(): T;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Creates a reactive signal
|
|
22
|
+
*
|
|
23
|
+
* @param initialValue - The initial value of the signal
|
|
24
|
+
* @returns A signal object with value getter/setter
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* const count = signal(0);
|
|
28
|
+
* count.value++; // triggers subscribers
|
|
29
|
+
* console.log(count()); // alternative getter syntax
|
|
30
|
+
*/
|
|
31
|
+
declare function signal<T>(initialValue: T): Signal<T>;
|
|
32
|
+
/**
|
|
33
|
+
* Creates a computed signal (derived value)
|
|
34
|
+
* @internal Use `state(() => ...)` instead
|
|
35
|
+
*/
|
|
36
|
+
declare function computed<T>(fn: () => T): Computed<T>;
|
|
37
|
+
/**
|
|
38
|
+
* Check if a value is a signal
|
|
39
|
+
* @internal Use state() which handles all reactive patterns
|
|
40
|
+
*/
|
|
41
|
+
declare function isSignal(value: unknown): value is Signal<any> | Computed<any>;
|
|
42
|
+
/**
|
|
43
|
+
* Registers a cleanup function that runs before the current effect re-runs or is disposed
|
|
44
|
+
*
|
|
45
|
+
* @param fn - Cleanup function
|
|
46
|
+
*/
|
|
47
|
+
declare function onCleanup(fn: () => void): void;
|
|
48
|
+
/**
|
|
49
|
+
* Resource interface for async data
|
|
50
|
+
*/
|
|
51
|
+
interface Resource<T> extends Signal<T | undefined> {
|
|
52
|
+
loading: boolean;
|
|
53
|
+
error: any;
|
|
54
|
+
state: 'unresolved' | 'pending' | 'ready' | 'refreshing' | 'errored';
|
|
55
|
+
latest: T | undefined;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Creates a resource for handling async data
|
|
59
|
+
* @internal Use state(async () => ...) instead which returns [data, refetch, status, error]
|
|
60
|
+
*/
|
|
61
|
+
declare function createResource<T, S = any>(source: S | Signal<S> | (() => S), fetcher: (source: S, { value, refetching }: {
|
|
62
|
+
value: T | undefined;
|
|
63
|
+
refetching: any;
|
|
64
|
+
}) => Promise<T>): [Resource<T>, {
|
|
65
|
+
mutate: (v: T | undefined) => void;
|
|
66
|
+
refetch: () => void;
|
|
67
|
+
}];
|
|
68
|
+
|
|
69
|
+
export { type Computed as C, type Signal as S, createResource as a, computed as c, isSignal as i, onCleanup as o, signal as s };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"signal-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"signal-HM2LG5YL.mjs"}
|
package/dist/test-exports.d.cts
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
export { c as computed, a as createResource, i as isSignal, o as onCleanup, s as signal } from './signal-Dxh9PsKr.cjs';
|
|
2
|
+
export { s as sync } from './scheduler-Z4QqUDjF.cjs';
|
|
3
|
+
export { state } from './core.cjs';
|
|
4
|
+
import { a as FNodeChild } from './renderer-DSLb-FGg.cjs';
|
|
5
|
+
export { h as Link, O as Outlet, g as Route, f as Router, e as createLocation, m as matchPath, r as router } from './components-DZy2r6m5.cjs';
|
|
6
|
+
import { L as ListComponent } from './portal-CAEbiMUZ.cjs';
|
|
7
|
+
export { P as Portal, a as createReactiveRoot, d as domRenderer, f, r as render } from './portal-CAEbiMUZ.cjs';
|
|
7
8
|
export { c as cleanupMotionState } from './Motion-BrOAJzgH.cjs';
|
|
8
|
-
|
|
9
|
+
export { e as effect } from './effect-BlnnM1t5.cjs';
|
|
10
|
+
export { o as onMount, r as root, u as untrack } from './owner-Ce7KCWzi.cjs';
|
|
9
11
|
|
|
10
12
|
/** Marker symbol for List components */
|
|
11
13
|
declare const LIST_MARKER: unique symbol;
|
|
@@ -14,4 +16,23 @@ declare const LIST_MARKER: unique symbol;
|
|
|
14
16
|
*/
|
|
15
17
|
declare function isListComponent<T>(value: unknown): value is ListComponent<T>;
|
|
16
18
|
|
|
17
|
-
|
|
19
|
+
interface Context<T> {
|
|
20
|
+
id: symbol;
|
|
21
|
+
Provider: (props: {
|
|
22
|
+
value: T;
|
|
23
|
+
children: FNodeChild;
|
|
24
|
+
}) => FNodeChild;
|
|
25
|
+
defaultValue: T;
|
|
26
|
+
}
|
|
27
|
+
declare function createContext<T>(defaultValue: T): Context<T>;
|
|
28
|
+
/**
|
|
29
|
+
* Get the current value from a context.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* ```tsx
|
|
33
|
+
* const theme = context(ThemeContext)
|
|
34
|
+
* ```
|
|
35
|
+
*/
|
|
36
|
+
declare function context<T>(ctx: Context<T>): T;
|
|
37
|
+
|
|
38
|
+
export { LIST_MARKER, context, createContext, isListComponent };
|
package/dist/test-exports.d.ts
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
export { c as computed, a as createResource, i as isSignal, o as onCleanup, s as signal } from './signal-Dxh9PsKr.js';
|
|
2
|
+
export { s as sync } from './scheduler-Z4QqUDjF.js';
|
|
3
|
+
export { state } from './core.js';
|
|
4
|
+
import { a as FNodeChild } from './renderer-DSLb-FGg.js';
|
|
5
|
+
export { h as Link, O as Outlet, g as Route, f as Router, e as createLocation, m as matchPath, r as router } from './components-D4WeooPi.js';
|
|
6
|
+
import { L as ListComponent } from './portal-C3ESJhlv.js';
|
|
7
|
+
export { P as Portal, a as createReactiveRoot, d as domRenderer, f, r as render } from './portal-C3ESJhlv.js';
|
|
7
8
|
export { c as cleanupMotionState } from './Motion-BrOAJzgH.js';
|
|
8
|
-
|
|
9
|
+
export { e as effect } from './effect-BlnnM1t5.js';
|
|
10
|
+
export { o as onMount, r as root, u as untrack } from './owner-Ce7KCWzi.js';
|
|
9
11
|
|
|
10
12
|
/** Marker symbol for List components */
|
|
11
13
|
declare const LIST_MARKER: unique symbol;
|
|
@@ -14,4 +16,23 @@ declare const LIST_MARKER: unique symbol;
|
|
|
14
16
|
*/
|
|
15
17
|
declare function isListComponent<T>(value: unknown): value is ListComponent<T>;
|
|
16
18
|
|
|
17
|
-
|
|
19
|
+
interface Context<T> {
|
|
20
|
+
id: symbol;
|
|
21
|
+
Provider: (props: {
|
|
22
|
+
value: T;
|
|
23
|
+
children: FNodeChild;
|
|
24
|
+
}) => FNodeChild;
|
|
25
|
+
defaultValue: T;
|
|
26
|
+
}
|
|
27
|
+
declare function createContext<T>(defaultValue: T): Context<T>;
|
|
28
|
+
/**
|
|
29
|
+
* Get the current value from a context.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* ```tsx
|
|
33
|
+
* const theme = context(ThemeContext)
|
|
34
|
+
* ```
|
|
35
|
+
*/
|
|
36
|
+
declare function context<T>(ctx: Context<T>): T;
|
|
37
|
+
|
|
38
|
+
export { LIST_MARKER, context, createContext, isListComponent };
|
package/dist/test-exports.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkZG3LULLU_js=require('./chunk-ZG3LULLU.js'),chunkWEYAKKNF_js=require('./chunk-WEYAKKNF.js'),chunkCBO2X74Q_js=require('./chunk-CBO2X74Q.js'),chunkTQLZ7UZX_js=require('./chunk-TQLZ7UZX.js'),chunkPDOEMOWN_js=require('./chunk-PDOEMOWN.js'),chunkQ7IWDVJ4_js=require('./chunk-Q7IWDVJ4.js');require('./chunk-WQFQO5LK.js');var chunkMKE3KA43_js=require('./chunk-MKE3KA43.js');Object.defineProperty(exports,"Link",{enumerable:true,get:function(){return chunkZG3LULLU_js.k}});Object.defineProperty(exports,"Outlet",{enumerable:true,get:function(){return chunkZG3LULLU_js.j}});Object.defineProperty(exports,"Route",{enumerable:true,get:function(){return chunkZG3LULLU_js.i}});Object.defineProperty(exports,"Router",{enumerable:true,get:function(){return chunkZG3LULLU_js.h}});Object.defineProperty(exports,"createLocation",{enumerable:true,get:function(){return chunkZG3LULLU_js.a}});Object.defineProperty(exports,"matchPath",{enumerable:true,get:function(){return chunkZG3LULLU_js.d}});Object.defineProperty(exports,"router",{enumerable:true,get:function(){return chunkZG3LULLU_js.g}});Object.defineProperty(exports,"LIST_MARKER",{enumerable:true,get:function(){return chunkWEYAKKNF_js.c}});Object.defineProperty(exports,"Portal",{enumerable:true,get:function(){return chunkWEYAKKNF_js.i}});Object.defineProperty(exports,"createReactiveRoot",{enumerable:true,get:function(){return chunkWEYAKKNF_js.f}});Object.defineProperty(exports,"domRenderer",{enumerable:true,get:function(){return chunkWEYAKKNF_js.b}});Object.defineProperty(exports,"isListComponent",{enumerable:true,get:function(){return chunkWEYAKKNF_js.d}});Object.defineProperty(exports,"render",{enumerable:true,get:function(){return chunkWEYAKKNF_js.g}});Object.defineProperty(exports,"context",{enumerable:true,get:function(){return chunkCBO2X74Q_js.b}});Object.defineProperty(exports,"createContext",{enumerable:true,get:function(){return chunkCBO2X74Q_js.a}});Object.defineProperty(exports,"state",{enumerable:true,get:function(){return chunkTQLZ7UZX_js.h}});Object.defineProperty(exports,"cleanupMotionState",{enumerable:true,get:function(){return chunkPDOEMOWN_js.a}});Object.defineProperty(exports,"f",{enumerable:true,get:function(){return chunkQ7IWDVJ4_js.a}});Object.defineProperty(exports,"computed",{enumerable:true,get:function(){return chunkMKE3KA43_js.l}});Object.defineProperty(exports,"createResource",{enumerable:true,get:function(){return chunkMKE3KA43_js.o}});Object.defineProperty(exports,"effect",{enumerable:true,get:function(){return chunkMKE3KA43_js.i}});Object.defineProperty(exports,"isSignal",{enumerable:true,get:function(){return chunkMKE3KA43_js.m}});Object.defineProperty(exports,"onCleanup",{enumerable:true,get:function(){return chunkMKE3KA43_js.n}});Object.defineProperty(exports,"onMount",{enumerable:true,get:function(){return chunkMKE3KA43_js.g}});Object.defineProperty(exports,"root",{enumerable:true,get:function(){return chunkMKE3KA43_js.f}});Object.defineProperty(exports,"signal",{enumerable:true,get:function(){return chunkMKE3KA43_js.k}});Object.defineProperty(exports,"sync",{enumerable:true,get:function(){return chunkMKE3KA43_js.h}});Object.defineProperty(exports,"untrack",{enumerable:true,get:function(){return chunkMKE3KA43_js.d}});//# sourceMappingURL=test-exports.js.map
|
|
2
2
|
//# sourceMappingURL=test-exports.js.map
|
package/dist/test-exports.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{k as Link,j as Outlet,i as Route,h as Router,a as createLocation,d as matchPath,g as router}from'./chunk-6RV7ARJT.mjs';export{c as LIST_MARKER,i as Portal,f as createReactiveRoot,b as domRenderer,d as isListComponent,g as render}from'./chunk-WO6NQ3KR.mjs';export{b as context,a as createContext}from'./chunk-JDTJFAXO.mjs';export{h as state}from'./chunk-Y4DUMNIW.mjs';export{a as cleanupMotionState}from'./chunk-GQKN4NPW.mjs';export{a as f}from'./chunk-WVEJT7HD.mjs';import'./chunk-KNF5ERPK.mjs';export{l as computed,o as createResource,i as effect,m as isSignal,n as onCleanup,g as onMount,f as root,k as signal,h as sync,d as untrack}from'./chunk-GFL4VRAO.mjs';//# sourceMappingURL=test-exports.mjs.map
|
|
2
2
|
//# sourceMappingURL=test-exports.mjs.map
|