what-core 0.14.0 → 0.15.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/LICENSE +21 -0
- package/README.md +64 -38
- package/a11y.d.ts +128 -0
- package/data.d.ts +294 -0
- package/dist/a11y.js +510 -0
- package/dist/a11y.min.js +413 -0
- package/dist/actions.js +158 -0
- package/dist/actions.min.js +112 -0
- package/dist/animation.js +481 -0
- package/dist/animation.min.js +295 -0
- package/dist/async.js +180 -0
- package/dist/async.min.js +134 -0
- package/dist/components.js +577 -0
- package/dist/components.min.js +413 -0
- package/dist/data.js +1212 -0
- package/dist/data.min.js +918 -0
- package/dist/diagnostics.js +187 -0
- package/dist/diagnostics.min.js +134 -0
- package/dist/dom.js +796 -0
- package/dist/dom.min.js +603 -0
- package/dist/entries/a11y.js +43 -0
- package/dist/entries/a11y.min.js +43 -0
- package/dist/entries/data.js +29 -0
- package/dist/entries/data.min.js +29 -0
- package/dist/entries/dom.js +45 -0
- package/dist/entries/dom.min.js +45 -0
- package/dist/entries/form.js +31 -0
- package/dist/entries/form.min.js +31 -0
- package/dist/entries/internal.js +123 -0
- package/dist/entries/internal.min.js +123 -0
- package/dist/entries/motion.js +23 -0
- package/dist/entries/motion.min.js +23 -0
- package/dist/entries/ui.js +25 -0
- package/dist/entries/ui.min.js +25 -0
- package/dist/env.js +5 -0
- package/dist/env.min.js +5 -0
- package/dist/errors.js +1518 -0
- package/dist/errors.min.js +548 -0
- package/dist/form.js +936 -0
- package/dist/form.min.js +703 -0
- package/dist/guardrails.js +84 -0
- package/dist/guardrails.min.js +55 -0
- package/dist/h.js +232 -0
- package/dist/h.min.js +171 -0
- package/dist/head.js +241 -0
- package/dist/head.min.js +207 -0
- package/dist/helpers.js +126 -0
- package/dist/helpers.min.js +98 -0
- package/dist/hooks.js +255 -0
- package/dist/hooks.min.js +153 -0
- package/dist/hot.js +215 -0
- package/dist/hot.min.js +24 -0
- package/dist/hydration-data.js +495 -0
- package/dist/hydration-data.min.js +371 -0
- package/dist/import-changes.js +273 -0
- package/dist/import-changes.min.js +272 -0
- package/dist/index.js +95 -0
- package/dist/index.min.js +95 -227
- package/dist/jsx-dev-runtime.js +10 -0
- package/dist/jsx-dev-runtime.min.js +10 -1
- package/dist/jsx-runtime.js +27 -0
- package/dist/jsx-runtime.min.js +15 -1
- package/dist/live.js +54 -0
- package/dist/live.min.js +49 -0
- package/dist/markup-rules.js +250 -0
- package/dist/markup-rules.min.js +213 -0
- package/dist/reactive.js +3334 -0
- package/dist/reactive.min.js +2033 -0
- package/dist/render.js +4746 -0
- package/dist/render.min.js +2797 -1
- package/dist/scheduler.js +225 -0
- package/dist/scheduler.min.js +162 -0
- package/dist/selector.js +11 -0
- package/dist/selector.min.js +10 -0
- package/dist/server-context.js +148 -0
- package/dist/server-context.min.js +121 -0
- package/dist/skeleton.js +342 -0
- package/dist/skeleton.min.js +310 -0
- package/dist/store.js +72 -0
- package/dist/store.min.js +50 -0
- package/dist/testing.js +720 -0
- package/dist/testing.min.js +458 -1
- package/dist/vnode-adoption.js +19 -0
- package/dist/vnode-adoption.min.js +19 -0
- package/dist/vnode-renderer.js +61 -0
- package/dist/vnode-renderer.min.js +47 -0
- package/dom.d.ts +44 -0
- package/form.d.ts +218 -0
- package/hot.d.ts +35 -0
- package/index.d.ts +421 -736
- package/internal.d.ts +284 -0
- package/jsx-runtime.d.ts +160 -137
- package/markup-rules.d.ts +83 -0
- package/motion.d.ts +156 -0
- package/package.json +117 -3
- package/render.d.ts +278 -29
- package/src/a11y.js +64 -59
- package/src/actions.js +226 -0
- package/src/animation.js +105 -57
- package/src/async.js +259 -0
- package/src/components.js +495 -144
- package/src/data.js +1410 -1159
- package/src/diagnostics.js +263 -0
- package/src/dom.js +1159 -872
- package/src/entries/a11y.js +24 -0
- package/src/entries/data.js +17 -0
- package/src/entries/dom.js +29 -0
- package/src/entries/form.js +16 -0
- package/src/entries/internal.js +63 -0
- package/src/entries/motion.js +13 -0
- package/src/entries/ui.js +13 -0
- package/src/env-development.js +12 -0
- package/src/env.js +33 -0
- package/src/errors.js +1144 -168
- package/src/form.js +723 -225
- package/src/guardrails.js +38 -126
- package/src/h.js +227 -152
- package/src/head.js +189 -19
- package/src/helpers.js +47 -75
- package/src/hooks.js +233 -248
- package/src/hot.js +316 -0
- package/src/hydration-data.js +859 -16
- package/src/import-changes.js +156 -0
- package/src/index.js +38 -188
- package/src/jsx-dev-runtime.js +7 -14
- package/src/jsx-runtime.js +25 -9
- package/src/live.js +80 -0
- package/src/markup-rules.js +387 -0
- package/src/reactive.js +4400 -862
- package/src/render.js +6502 -2570
- package/src/scheduler.js +56 -21
- package/src/selector.js +31 -0
- package/src/server-context.js +252 -22
- package/src/skeleton.js +22 -12
- package/src/store.js +17 -31
- package/src/testing.js +389 -63
- package/src/vnode-adoption.js +48 -0
- package/src/vnode-renderer.js +114 -0
- package/testing.d.ts +81 -1
- package/ui.d.ts +20 -0
- package/dist/chunk-6YOUZ6T4.min.js +0 -1
- package/dist/chunk-FN6HXME3.min.js +0 -11
- package/dist/chunk-VKZY7JPN.min.js +0 -1
- package/src/agent-context.js +0 -127
- package/src/warnings.js +0 -193
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
// src/entries/data.js
|
|
2
|
+
import {
|
|
3
|
+
query,
|
|
4
|
+
useFetch,
|
|
5
|
+
useSWR,
|
|
6
|
+
useQuery,
|
|
7
|
+
useInfiniteQuery,
|
|
8
|
+
invalidateQueries,
|
|
9
|
+
invalidatePath,
|
|
10
|
+
onRevalidate,
|
|
11
|
+
prefetchQuery,
|
|
12
|
+
setQueryData,
|
|
13
|
+
getQueryData,
|
|
14
|
+
clearCache
|
|
15
|
+
} from "../data.js";
|
|
16
|
+
export {
|
|
17
|
+
clearCache,
|
|
18
|
+
getQueryData,
|
|
19
|
+
invalidatePath,
|
|
20
|
+
invalidateQueries,
|
|
21
|
+
onRevalidate,
|
|
22
|
+
prefetchQuery,
|
|
23
|
+
query,
|
|
24
|
+
setQueryData,
|
|
25
|
+
useFetch,
|
|
26
|
+
useInfiniteQuery,
|
|
27
|
+
useQuery,
|
|
28
|
+
useSWR
|
|
29
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
// src/entries/data.js
|
|
2
|
+
import {
|
|
3
|
+
query as t,
|
|
4
|
+
useFetch as r,
|
|
5
|
+
useSWR as u,
|
|
6
|
+
useQuery as i,
|
|
7
|
+
useInfiniteQuery as s,
|
|
8
|
+
invalidateQueries as y,
|
|
9
|
+
invalidatePath as Q,
|
|
10
|
+
onRevalidate as n,
|
|
11
|
+
prefetchQuery as c,
|
|
12
|
+
setQueryData as h,
|
|
13
|
+
getQueryData as l,
|
|
14
|
+
clearCache as d
|
|
15
|
+
} from "../data.min.js";
|
|
16
|
+
export {
|
|
17
|
+
d as clearCache,
|
|
18
|
+
l as getQueryData,
|
|
19
|
+
Q as invalidatePath,
|
|
20
|
+
y as invalidateQueries,
|
|
21
|
+
n as onRevalidate,
|
|
22
|
+
c as prefetchQuery,
|
|
23
|
+
t as query,
|
|
24
|
+
h as setQueryData,
|
|
25
|
+
r as useFetch,
|
|
26
|
+
s as useInfiniteQuery,
|
|
27
|
+
i as useQuery,
|
|
28
|
+
u as useSWR
|
|
29
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
// src/entries/dom.js
|
|
2
|
+
import {
|
|
3
|
+
scheduleRead,
|
|
4
|
+
scheduleWrite,
|
|
5
|
+
flushScheduler,
|
|
6
|
+
measure,
|
|
7
|
+
mutate,
|
|
8
|
+
useScheduledEffect,
|
|
9
|
+
nextFrame,
|
|
10
|
+
raf,
|
|
11
|
+
onResize,
|
|
12
|
+
onIntersect,
|
|
13
|
+
smoothScrollTo
|
|
14
|
+
} from "../scheduler.js";
|
|
15
|
+
import {
|
|
16
|
+
cls,
|
|
17
|
+
style,
|
|
18
|
+
debounce,
|
|
19
|
+
throttle,
|
|
20
|
+
useMediaQuery,
|
|
21
|
+
useLocalStorage,
|
|
22
|
+
useClickOutside
|
|
23
|
+
} from "../helpers.js";
|
|
24
|
+
import { clearHead } from "../head.js";
|
|
25
|
+
export {
|
|
26
|
+
clearHead,
|
|
27
|
+
cls,
|
|
28
|
+
debounce,
|
|
29
|
+
flushScheduler,
|
|
30
|
+
measure,
|
|
31
|
+
mutate,
|
|
32
|
+
nextFrame,
|
|
33
|
+
onIntersect,
|
|
34
|
+
onResize,
|
|
35
|
+
raf,
|
|
36
|
+
scheduleRead,
|
|
37
|
+
scheduleWrite,
|
|
38
|
+
smoothScrollTo,
|
|
39
|
+
style,
|
|
40
|
+
throttle,
|
|
41
|
+
useClickOutside,
|
|
42
|
+
useLocalStorage,
|
|
43
|
+
useMediaQuery,
|
|
44
|
+
useScheduledEffect
|
|
45
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
// src/entries/dom.js
|
|
2
|
+
import {
|
|
3
|
+
scheduleRead as t,
|
|
4
|
+
scheduleWrite as o,
|
|
5
|
+
flushScheduler as s,
|
|
6
|
+
measure as u,
|
|
7
|
+
mutate as l,
|
|
8
|
+
useScheduledEffect as c,
|
|
9
|
+
nextFrame as a,
|
|
10
|
+
raf as d,
|
|
11
|
+
onResize as f,
|
|
12
|
+
onIntersect as h,
|
|
13
|
+
smoothScrollTo as m
|
|
14
|
+
} from "../scheduler.min.js";
|
|
15
|
+
import {
|
|
16
|
+
cls as n,
|
|
17
|
+
style as x,
|
|
18
|
+
debounce as S,
|
|
19
|
+
throttle as p,
|
|
20
|
+
useMediaQuery as y,
|
|
21
|
+
useLocalStorage as R,
|
|
22
|
+
useClickOutside as b
|
|
23
|
+
} from "../helpers.min.js";
|
|
24
|
+
import { clearHead as k } from "../head.min.js";
|
|
25
|
+
export {
|
|
26
|
+
k as clearHead,
|
|
27
|
+
n as cls,
|
|
28
|
+
S as debounce,
|
|
29
|
+
s as flushScheduler,
|
|
30
|
+
u as measure,
|
|
31
|
+
l as mutate,
|
|
32
|
+
a as nextFrame,
|
|
33
|
+
h as onIntersect,
|
|
34
|
+
f as onResize,
|
|
35
|
+
d as raf,
|
|
36
|
+
t as scheduleRead,
|
|
37
|
+
o as scheduleWrite,
|
|
38
|
+
m as smoothScrollTo,
|
|
39
|
+
x as style,
|
|
40
|
+
p as throttle,
|
|
41
|
+
b as useClickOutside,
|
|
42
|
+
R as useLocalStorage,
|
|
43
|
+
y as useMediaQuery,
|
|
44
|
+
c as useScheduledEffect
|
|
45
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// src/entries/form.js
|
|
2
|
+
import {
|
|
3
|
+
useForm,
|
|
4
|
+
useFieldArray,
|
|
5
|
+
useField,
|
|
6
|
+
rules,
|
|
7
|
+
simpleResolver,
|
|
8
|
+
zodResolver,
|
|
9
|
+
yupResolver,
|
|
10
|
+
Input,
|
|
11
|
+
Textarea,
|
|
12
|
+
Select,
|
|
13
|
+
Checkbox,
|
|
14
|
+
Radio,
|
|
15
|
+
ErrorMessage
|
|
16
|
+
} from "../form.js";
|
|
17
|
+
export {
|
|
18
|
+
Checkbox,
|
|
19
|
+
ErrorMessage,
|
|
20
|
+
Input,
|
|
21
|
+
Radio,
|
|
22
|
+
Select,
|
|
23
|
+
Textarea,
|
|
24
|
+
rules,
|
|
25
|
+
simpleResolver,
|
|
26
|
+
useField,
|
|
27
|
+
useFieldArray,
|
|
28
|
+
useForm,
|
|
29
|
+
yupResolver,
|
|
30
|
+
zodResolver
|
|
31
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// src/entries/form.js
|
|
2
|
+
import {
|
|
3
|
+
useForm as o,
|
|
4
|
+
useFieldArray as s,
|
|
5
|
+
useField as l,
|
|
6
|
+
rules as u,
|
|
7
|
+
simpleResolver as a,
|
|
8
|
+
zodResolver as d,
|
|
9
|
+
yupResolver as i,
|
|
10
|
+
Input as p,
|
|
11
|
+
Textarea as t,
|
|
12
|
+
Select as R,
|
|
13
|
+
Checkbox as m,
|
|
14
|
+
Radio as v,
|
|
15
|
+
ErrorMessage as x
|
|
16
|
+
} from "../form.min.js";
|
|
17
|
+
export {
|
|
18
|
+
m as Checkbox,
|
|
19
|
+
x as ErrorMessage,
|
|
20
|
+
p as Input,
|
|
21
|
+
v as Radio,
|
|
22
|
+
R as Select,
|
|
23
|
+
t as Textarea,
|
|
24
|
+
u as rules,
|
|
25
|
+
a as simpleResolver,
|
|
26
|
+
l as useField,
|
|
27
|
+
s as useFieldArray,
|
|
28
|
+
o as useForm,
|
|
29
|
+
i as yupResolver,
|
|
30
|
+
d as zodResolver
|
|
31
|
+
};
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
// src/entries/internal.js
|
|
2
|
+
import { _devAction, __setDevToolsHooks, __drainPreinstallBuffer, __depsOf, __subsOf, __currentEffect, __ownerOf, __ownerPath } from "../reactive.js";
|
|
3
|
+
import { __getCacheSnapshot, __invalidateFromDevtools, _tagQueries, _pathLoaded, _loadedQueries } from "../data.js";
|
|
4
|
+
import { _formStatusContext, _formStatus } from "../actions.js";
|
|
5
|
+
import { _urgent, _currentTransition, _onCommit, _contextOf, _provide, _devHoldsState, _devNewContent, _devDropped } from "../reactive.js";
|
|
6
|
+
import { _hotKeep } from "../render.js";
|
|
7
|
+
import { __DEV__ } from "../reactive.js";
|
|
8
|
+
import { report, subscribe, getDiagnostics, _thrownMessage } from "../diagnostics.js";
|
|
9
|
+
import {
|
|
10
|
+
configureGuardrails,
|
|
11
|
+
getGuardrailConfig,
|
|
12
|
+
validateImports
|
|
13
|
+
} from "../guardrails.js";
|
|
14
|
+
import { ERROR_CODES, createWhatError, classifyError } from "../errors.js";
|
|
15
|
+
import { IMPORT_CHANGES, SUBPATH_ONLY } from "../import-changes.js";
|
|
16
|
+
import {
|
|
17
|
+
getServerContext,
|
|
18
|
+
setServerContext,
|
|
19
|
+
runWithServerContext,
|
|
20
|
+
__installServerContextStorage,
|
|
21
|
+
_runComponentAsync,
|
|
22
|
+
_runComponentSync,
|
|
23
|
+
__markServerProcess,
|
|
24
|
+
_isServerProcess,
|
|
25
|
+
__flushOutsideServerContext,
|
|
26
|
+
__outsideServerContext
|
|
27
|
+
} from "../server-context.js";
|
|
28
|
+
import { _engine } from "../reactive.js";
|
|
29
|
+
import { beginHeadCollection, endHeadCollection } from "../head.js";
|
|
30
|
+
import { escapeHtml } from "../markup-rules.js";
|
|
31
|
+
import { _isAriaAttr, _beginComponentSSR, _endComponentSSR, _runInComponentSSR, _resetForm, _formMember } from "../dom.js";
|
|
32
|
+
import { createPortalDOM } from "../dom.js";
|
|
33
|
+
import { _mapArrayToArray, _rowKeyDigest, isHydrating, _claimRegion, _afterWalk, _signalKeyed } from "../render.js";
|
|
34
|
+
import { _placedNamespace } from "../render.js";
|
|
35
|
+
import { SVG_TAG } from "../vnode-renderer.js";
|
|
36
|
+
import { isVNode } from "../vnode-renderer.js";
|
|
37
|
+
import { _symbolChild, _errorSource } from "../reactive.js";
|
|
38
|
+
import { __readHydrationData, __resetHydrationData, _assignOwnerPath, _ownerCounter, _currentOwnerPath, _actionStateKey, _actionKeySalt, _currentRowPath, _enterRow, _installRowKeys, _leaveRow, _renderSalt, _tracksRows, _errorFromRecord } from "../hydration-data.js";
|
|
39
|
+
export {
|
|
40
|
+
ERROR_CODES,
|
|
41
|
+
IMPORT_CHANGES,
|
|
42
|
+
SUBPATH_ONLY,
|
|
43
|
+
__DEV__,
|
|
44
|
+
__currentEffect,
|
|
45
|
+
__depsOf,
|
|
46
|
+
__drainPreinstallBuffer,
|
|
47
|
+
__flushOutsideServerContext,
|
|
48
|
+
__getCacheSnapshot,
|
|
49
|
+
__installServerContextStorage,
|
|
50
|
+
__invalidateFromDevtools,
|
|
51
|
+
__markServerProcess,
|
|
52
|
+
__outsideServerContext,
|
|
53
|
+
__ownerOf,
|
|
54
|
+
__ownerPath,
|
|
55
|
+
__readHydrationData,
|
|
56
|
+
__resetHydrationData,
|
|
57
|
+
__setDevToolsHooks,
|
|
58
|
+
__subsOf,
|
|
59
|
+
_actionKeySalt,
|
|
60
|
+
_actionStateKey,
|
|
61
|
+
_afterWalk,
|
|
62
|
+
_assignOwnerPath,
|
|
63
|
+
_beginComponentSSR,
|
|
64
|
+
_claimRegion,
|
|
65
|
+
_contextOf,
|
|
66
|
+
_currentOwnerPath,
|
|
67
|
+
_currentRowPath,
|
|
68
|
+
_currentTransition,
|
|
69
|
+
_devAction,
|
|
70
|
+
_devDropped,
|
|
71
|
+
_devHoldsState,
|
|
72
|
+
_devNewContent,
|
|
73
|
+
_endComponentSSR,
|
|
74
|
+
_engine,
|
|
75
|
+
_enterRow,
|
|
76
|
+
_errorFromRecord,
|
|
77
|
+
_errorSource,
|
|
78
|
+
escapeHtml as _escapeHtml,
|
|
79
|
+
_formMember,
|
|
80
|
+
_formStatus,
|
|
81
|
+
_formStatusContext,
|
|
82
|
+
_hotKeep,
|
|
83
|
+
_installRowKeys,
|
|
84
|
+
_isAriaAttr,
|
|
85
|
+
_isServerProcess,
|
|
86
|
+
_leaveRow,
|
|
87
|
+
_loadedQueries,
|
|
88
|
+
_mapArrayToArray,
|
|
89
|
+
createPortalDOM as _mountPortal,
|
|
90
|
+
_onCommit,
|
|
91
|
+
_ownerCounter,
|
|
92
|
+
_pathLoaded,
|
|
93
|
+
_placedNamespace,
|
|
94
|
+
_provide,
|
|
95
|
+
_renderSalt,
|
|
96
|
+
_resetForm,
|
|
97
|
+
_rowKeyDigest,
|
|
98
|
+
_runComponentAsync,
|
|
99
|
+
_runComponentSync,
|
|
100
|
+
_runInComponentSSR,
|
|
101
|
+
_signalKeyed,
|
|
102
|
+
SVG_TAG as _svgOnlyTag,
|
|
103
|
+
_symbolChild,
|
|
104
|
+
_tagQueries,
|
|
105
|
+
_thrownMessage,
|
|
106
|
+
_tracksRows,
|
|
107
|
+
_urgent,
|
|
108
|
+
beginHeadCollection,
|
|
109
|
+
classifyError,
|
|
110
|
+
configureGuardrails,
|
|
111
|
+
createWhatError,
|
|
112
|
+
endHeadCollection,
|
|
113
|
+
getDiagnostics,
|
|
114
|
+
getGuardrailConfig,
|
|
115
|
+
getServerContext,
|
|
116
|
+
isHydrating,
|
|
117
|
+
isVNode,
|
|
118
|
+
report as reportDiagnostic,
|
|
119
|
+
runWithServerContext,
|
|
120
|
+
setServerContext,
|
|
121
|
+
subscribe as subscribeDiagnostics,
|
|
122
|
+
validateImports
|
|
123
|
+
};
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
// src/entries/internal.js
|
|
2
|
+
import { _devAction as o, __setDevToolsHooks as t, __drainPreinstallBuffer as _, __depsOf as a, __subsOf as n, __currentEffect as s, __ownerOf as i, __ownerPath as m } from "../reactive.min.js";
|
|
3
|
+
import { __getCacheSnapshot as f, __invalidateFromDevtools as l, _tagQueries as c, _pathLoaded as d, _loadedQueries as x } from "../data.min.js";
|
|
4
|
+
import { _formStatusContext as u, _formStatus as g } from "../actions.min.js";
|
|
5
|
+
import { _urgent as v, _currentTransition as y, _onCommit as R, _contextOf as h, _provide as w, _devHoldsState as O, _devNewContent as D, _devDropped as H } from "../reactive.min.js";
|
|
6
|
+
import { _hotKeep as b } from "../render.min.js";
|
|
7
|
+
import { __DEV__ as E } from "../reactive.min.js";
|
|
8
|
+
import { report as K, subscribe as G, getDiagnostics as N, _thrownMessage as k } from "../diagnostics.min.js";
|
|
9
|
+
import {
|
|
10
|
+
configureGuardrails as F,
|
|
11
|
+
getGuardrailConfig as I,
|
|
12
|
+
validateImports as V
|
|
13
|
+
} from "../guardrails.min.js";
|
|
14
|
+
import { ERROR_CODES as B, createWhatError as L, classifyError as Q } from "../errors.min.js";
|
|
15
|
+
import { IMPORT_CHANGES as Y, SUBPATH_ONLY as j } from "../import-changes.min.js";
|
|
16
|
+
import {
|
|
17
|
+
getServerContext as z,
|
|
18
|
+
setServerContext as J,
|
|
19
|
+
runWithServerContext as X,
|
|
20
|
+
__installServerContextStorage as Z,
|
|
21
|
+
_runComponentAsync as $,
|
|
22
|
+
_runComponentSync as ee,
|
|
23
|
+
__markServerProcess as re,
|
|
24
|
+
_isServerProcess as oe,
|
|
25
|
+
__flushOutsideServerContext as te,
|
|
26
|
+
__outsideServerContext as _e
|
|
27
|
+
} from "../server-context.min.js";
|
|
28
|
+
import { _engine as ne } from "../reactive.min.js";
|
|
29
|
+
import { beginHeadCollection as ie, endHeadCollection as me } from "../head.min.js";
|
|
30
|
+
import { escapeHtml as fe } from "../markup-rules.min.js";
|
|
31
|
+
import { _isAriaAttr as ce, _beginComponentSSR as de, _endComponentSSR as xe, _runInComponentSSR as Se, _resetForm as ue, _formMember as ge } from "../dom.min.js";
|
|
32
|
+
import { createPortalDOM as ve } from "../dom.min.js";
|
|
33
|
+
import { _mapArrayToArray as Re, _rowKeyDigest as he, isHydrating as we, _claimRegion as Oe, _afterWalk as De, _signalKeyed as He } from "../render.min.js";
|
|
34
|
+
import { _placedNamespace as be } from "../render.min.js";
|
|
35
|
+
import { SVG_TAG as Ee } from "../vnode-renderer.min.js";
|
|
36
|
+
import { isVNode as Ke } from "../vnode-renderer.min.js";
|
|
37
|
+
import { _symbolChild as Ne, _errorSource as ke } from "../reactive.min.js";
|
|
38
|
+
import { __readHydrationData as Fe, __resetHydrationData as Ie, _assignOwnerPath as Ve, _ownerCounter as We, _currentOwnerPath as Be, _actionStateKey as Le, _actionKeySalt as Qe, _currentRowPath as Ue, _enterRow as Ye, _installRowKeys as je, _leaveRow as qe, _renderSalt as ze, _tracksRows as Je, _errorFromRecord as Xe } from "../hydration-data.min.js";
|
|
39
|
+
export {
|
|
40
|
+
B as ERROR_CODES,
|
|
41
|
+
Y as IMPORT_CHANGES,
|
|
42
|
+
j as SUBPATH_ONLY,
|
|
43
|
+
E as __DEV__,
|
|
44
|
+
s as __currentEffect,
|
|
45
|
+
a as __depsOf,
|
|
46
|
+
_ as __drainPreinstallBuffer,
|
|
47
|
+
te as __flushOutsideServerContext,
|
|
48
|
+
f as __getCacheSnapshot,
|
|
49
|
+
Z as __installServerContextStorage,
|
|
50
|
+
l as __invalidateFromDevtools,
|
|
51
|
+
re as __markServerProcess,
|
|
52
|
+
_e as __outsideServerContext,
|
|
53
|
+
i as __ownerOf,
|
|
54
|
+
m as __ownerPath,
|
|
55
|
+
Fe as __readHydrationData,
|
|
56
|
+
Ie as __resetHydrationData,
|
|
57
|
+
t as __setDevToolsHooks,
|
|
58
|
+
n as __subsOf,
|
|
59
|
+
Qe as _actionKeySalt,
|
|
60
|
+
Le as _actionStateKey,
|
|
61
|
+
De as _afterWalk,
|
|
62
|
+
Ve as _assignOwnerPath,
|
|
63
|
+
de as _beginComponentSSR,
|
|
64
|
+
Oe as _claimRegion,
|
|
65
|
+
h as _contextOf,
|
|
66
|
+
Be as _currentOwnerPath,
|
|
67
|
+
Ue as _currentRowPath,
|
|
68
|
+
y as _currentTransition,
|
|
69
|
+
o as _devAction,
|
|
70
|
+
H as _devDropped,
|
|
71
|
+
O as _devHoldsState,
|
|
72
|
+
D as _devNewContent,
|
|
73
|
+
xe as _endComponentSSR,
|
|
74
|
+
ne as _engine,
|
|
75
|
+
Ye as _enterRow,
|
|
76
|
+
Xe as _errorFromRecord,
|
|
77
|
+
ke as _errorSource,
|
|
78
|
+
fe as _escapeHtml,
|
|
79
|
+
ge as _formMember,
|
|
80
|
+
g as _formStatus,
|
|
81
|
+
u as _formStatusContext,
|
|
82
|
+
b as _hotKeep,
|
|
83
|
+
je as _installRowKeys,
|
|
84
|
+
ce as _isAriaAttr,
|
|
85
|
+
oe as _isServerProcess,
|
|
86
|
+
qe as _leaveRow,
|
|
87
|
+
x as _loadedQueries,
|
|
88
|
+
Re as _mapArrayToArray,
|
|
89
|
+
ve as _mountPortal,
|
|
90
|
+
R as _onCommit,
|
|
91
|
+
We as _ownerCounter,
|
|
92
|
+
d as _pathLoaded,
|
|
93
|
+
be as _placedNamespace,
|
|
94
|
+
w as _provide,
|
|
95
|
+
ze as _renderSalt,
|
|
96
|
+
ue as _resetForm,
|
|
97
|
+
he as _rowKeyDigest,
|
|
98
|
+
$ as _runComponentAsync,
|
|
99
|
+
ee as _runComponentSync,
|
|
100
|
+
Se as _runInComponentSSR,
|
|
101
|
+
He as _signalKeyed,
|
|
102
|
+
Ee as _svgOnlyTag,
|
|
103
|
+
Ne as _symbolChild,
|
|
104
|
+
c as _tagQueries,
|
|
105
|
+
k as _thrownMessage,
|
|
106
|
+
Je as _tracksRows,
|
|
107
|
+
v as _urgent,
|
|
108
|
+
ie as beginHeadCollection,
|
|
109
|
+
Q as classifyError,
|
|
110
|
+
F as configureGuardrails,
|
|
111
|
+
L as createWhatError,
|
|
112
|
+
me as endHeadCollection,
|
|
113
|
+
N as getDiagnostics,
|
|
114
|
+
I as getGuardrailConfig,
|
|
115
|
+
z as getServerContext,
|
|
116
|
+
we as isHydrating,
|
|
117
|
+
Ke as isVNode,
|
|
118
|
+
K as reportDiagnostic,
|
|
119
|
+
X as runWithServerContext,
|
|
120
|
+
J as setServerContext,
|
|
121
|
+
G as subscribeDiagnostics,
|
|
122
|
+
V as validateImports
|
|
123
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// src/entries/motion.js
|
|
2
|
+
import {
|
|
3
|
+
spring,
|
|
4
|
+
tween,
|
|
5
|
+
easings,
|
|
6
|
+
useTween,
|
|
7
|
+
useGesture,
|
|
8
|
+
useAnimatedValue,
|
|
9
|
+
createTransitionClasses,
|
|
10
|
+
cssTransition
|
|
11
|
+
} from "../animation.js";
|
|
12
|
+
import { transitionClass } from "../helpers.js";
|
|
13
|
+
export {
|
|
14
|
+
createTransitionClasses,
|
|
15
|
+
cssTransition,
|
|
16
|
+
easings,
|
|
17
|
+
spring,
|
|
18
|
+
transitionClass,
|
|
19
|
+
tween,
|
|
20
|
+
useAnimatedValue,
|
|
21
|
+
useGesture,
|
|
22
|
+
useTween
|
|
23
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// src/entries/motion.js
|
|
2
|
+
import {
|
|
3
|
+
spring as n,
|
|
4
|
+
tween as r,
|
|
5
|
+
easings as t,
|
|
6
|
+
useTween as a,
|
|
7
|
+
useGesture as i,
|
|
8
|
+
useAnimatedValue as o,
|
|
9
|
+
createTransitionClasses as u,
|
|
10
|
+
cssTransition as l
|
|
11
|
+
} from "../animation.min.js";
|
|
12
|
+
import { transitionClass as p } from "../helpers.min.js";
|
|
13
|
+
export {
|
|
14
|
+
u as createTransitionClasses,
|
|
15
|
+
l as cssTransition,
|
|
16
|
+
t as easings,
|
|
17
|
+
n as spring,
|
|
18
|
+
p as transitionClass,
|
|
19
|
+
r as tween,
|
|
20
|
+
o as useAnimatedValue,
|
|
21
|
+
i as useGesture,
|
|
22
|
+
a as useTween
|
|
23
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// src/entries/ui.js
|
|
2
|
+
import {
|
|
3
|
+
Skeleton,
|
|
4
|
+
SkeletonText,
|
|
5
|
+
SkeletonAvatar,
|
|
6
|
+
SkeletonCard,
|
|
7
|
+
SkeletonTable,
|
|
8
|
+
IslandSkeleton,
|
|
9
|
+
useSkeleton,
|
|
10
|
+
Placeholder,
|
|
11
|
+
LoadingDots,
|
|
12
|
+
Spinner
|
|
13
|
+
} from "../skeleton.js";
|
|
14
|
+
export {
|
|
15
|
+
IslandSkeleton,
|
|
16
|
+
LoadingDots,
|
|
17
|
+
Placeholder,
|
|
18
|
+
Skeleton,
|
|
19
|
+
SkeletonAvatar,
|
|
20
|
+
SkeletonCard,
|
|
21
|
+
SkeletonTable,
|
|
22
|
+
SkeletonText,
|
|
23
|
+
Spinner,
|
|
24
|
+
useSkeleton
|
|
25
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// src/entries/ui.js
|
|
2
|
+
import {
|
|
3
|
+
Skeleton as l,
|
|
4
|
+
SkeletonText as n,
|
|
5
|
+
SkeletonAvatar as t,
|
|
6
|
+
SkeletonCard as S,
|
|
7
|
+
SkeletonTable as a,
|
|
8
|
+
IslandSkeleton as k,
|
|
9
|
+
useSkeleton as r,
|
|
10
|
+
Placeholder as d,
|
|
11
|
+
LoadingDots as s,
|
|
12
|
+
Spinner as i
|
|
13
|
+
} from "../skeleton.min.js";
|
|
14
|
+
export {
|
|
15
|
+
k as IslandSkeleton,
|
|
16
|
+
s as LoadingDots,
|
|
17
|
+
d as Placeholder,
|
|
18
|
+
l as Skeleton,
|
|
19
|
+
t as SkeletonAvatar,
|
|
20
|
+
S as SkeletonCard,
|
|
21
|
+
a as SkeletonTable,
|
|
22
|
+
n as SkeletonText,
|
|
23
|
+
i as Spinner,
|
|
24
|
+
r as useSkeleton
|
|
25
|
+
};
|
package/dist/env.js
ADDED