solid-js 1.8.7 → 1.8.8
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/dev.cjs +30 -20
- package/dist/dev.js +327 -552
- package/dist/server.js +75 -170
- package/dist/solid.cjs +30 -20
- package/dist/solid.js +285 -479
- package/h/dist/h.js +8 -34
- package/h/jsx-runtime/dist/jsx.js +1 -1
- package/h/jsx-runtime/types/index.d.ts +8 -11
- package/h/jsx-runtime/types/jsx.d.ts +15 -1
- package/h/types/hyperscript.d.ts +11 -11
- package/html/dist/html.js +94 -216
- package/html/types/lit.d.ts +33 -47
- package/package.json +2 -2
- package/store/dist/dev.cjs +3 -2
- package/store/dist/dev.js +44 -115
- package/store/dist/server.js +8 -19
- package/store/dist/store.cjs +3 -2
- package/store/dist/store.js +41 -106
- package/store/types/index.d.ts +7 -21
- package/store/types/modifiers.d.ts +3 -6
- package/store/types/mutable.d.ts +2 -5
- package/store/types/server.d.ts +4 -12
- package/store/types/store.d.ts +61 -218
- package/types/index.d.ts +10 -75
- package/types/jsx.d.ts +15 -1
- package/types/reactive/array.d.ts +4 -12
- package/types/reactive/observable.d.ts +17 -25
- package/types/reactive/scheduler.d.ts +6 -9
- package/types/reactive/signal.d.ts +142 -231
- package/types/render/Suspense.d.ts +5 -5
- package/types/render/component.d.ts +33 -62
- package/types/render/flow.d.ts +31 -43
- package/types/render/hydration.d.ts +13 -13
- package/types/server/index.d.ts +2 -57
- package/types/server/reactive.d.ts +42 -73
- package/types/server/rendering.d.ts +96 -167
- package/universal/dist/dev.js +12 -28
- package/universal/dist/universal.js +12 -28
- package/universal/types/index.d.ts +1 -3
- package/universal/types/universal.d.ts +1 -0
- package/web/dist/dev.js +81 -620
- package/web/dist/server.cjs +7 -2
- package/web/dist/server.js +102 -179
- package/web/dist/storage.js +3 -3
- package/web/dist/web.js +80 -614
- package/web/types/client.d.ts +2 -2
- package/web/types/core.d.ts +1 -10
- package/web/types/index.d.ts +10 -27
- package/web/types/server-mock.d.ts +32 -47
package/web/dist/dev.js
CHANGED
|
@@ -1,83 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
sharedConfig,
|
|
4
|
-
createRenderEffect,
|
|
5
|
-
untrack,
|
|
6
|
-
enableHydration,
|
|
7
|
-
getOwner,
|
|
8
|
-
createEffect,
|
|
9
|
-
runWithOwner,
|
|
10
|
-
createMemo,
|
|
11
|
-
createSignal,
|
|
12
|
-
onCleanup,
|
|
13
|
-
splitProps,
|
|
14
|
-
$DEVCOMP
|
|
15
|
-
} from "solid-js";
|
|
16
|
-
export {
|
|
17
|
-
ErrorBoundary,
|
|
18
|
-
For,
|
|
19
|
-
Index,
|
|
20
|
-
Match,
|
|
21
|
-
Show,
|
|
22
|
-
Suspense,
|
|
23
|
-
SuspenseList,
|
|
24
|
-
Switch,
|
|
25
|
-
createComponent,
|
|
26
|
-
createRenderEffect as effect,
|
|
27
|
-
getOwner,
|
|
28
|
-
createMemo as memo,
|
|
29
|
-
mergeProps,
|
|
30
|
-
untrack
|
|
31
|
-
} from "solid-js";
|
|
1
|
+
import { createRoot, sharedConfig, createRenderEffect, untrack, enableHydration, getOwner, createEffect, runWithOwner, createMemo, createSignal, onCleanup, splitProps, $DEVCOMP } from 'solid-js';
|
|
2
|
+
export { ErrorBoundary, For, Index, Match, Show, Suspense, SuspenseList, Switch, createComponent, createRenderEffect as effect, getOwner, createMemo as memo, mergeProps, untrack } from 'solid-js';
|
|
32
3
|
|
|
33
|
-
const booleans = [
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
"autoplay",
|
|
38
|
-
"checked",
|
|
39
|
-
"controls",
|
|
40
|
-
"default",
|
|
41
|
-
"disabled",
|
|
42
|
-
"formnovalidate",
|
|
43
|
-
"hidden",
|
|
44
|
-
"indeterminate",
|
|
45
|
-
"inert",
|
|
46
|
-
"ismap",
|
|
47
|
-
"loop",
|
|
48
|
-
"multiple",
|
|
49
|
-
"muted",
|
|
50
|
-
"nomodule",
|
|
51
|
-
"novalidate",
|
|
52
|
-
"open",
|
|
53
|
-
"playsinline",
|
|
54
|
-
"readonly",
|
|
55
|
-
"required",
|
|
56
|
-
"reversed",
|
|
57
|
-
"seamless",
|
|
58
|
-
"selected"
|
|
59
|
-
];
|
|
60
|
-
const Properties = /*#__PURE__*/ new Set([
|
|
61
|
-
"className",
|
|
62
|
-
"value",
|
|
63
|
-
"readOnly",
|
|
64
|
-
"formNoValidate",
|
|
65
|
-
"isMap",
|
|
66
|
-
"noModule",
|
|
67
|
-
"playsInline",
|
|
68
|
-
...booleans
|
|
69
|
-
]);
|
|
70
|
-
const ChildProperties = /*#__PURE__*/ new Set([
|
|
71
|
-
"innerHTML",
|
|
72
|
-
"textContent",
|
|
73
|
-
"innerText",
|
|
74
|
-
"children"
|
|
75
|
-
]);
|
|
76
|
-
const Aliases = /*#__PURE__*/ Object.assign(Object.create(null), {
|
|
4
|
+
const booleans = ["allowfullscreen", "async", "autofocus", "autoplay", "checked", "controls", "default", "disabled", "formnovalidate", "hidden", "indeterminate", "inert", "ismap", "loop", "multiple", "muted", "nomodule", "novalidate", "open", "playsinline", "readonly", "required", "reversed", "seamless", "selected"];
|
|
5
|
+
const Properties = /*#__PURE__*/new Set(["className", "value", "readOnly", "formNoValidate", "isMap", "noModule", "playsInline", ...booleans]);
|
|
6
|
+
const ChildProperties = /*#__PURE__*/new Set(["innerHTML", "textContent", "innerText", "children"]);
|
|
7
|
+
const Aliases = /*#__PURE__*/Object.assign(Object.create(null), {
|
|
77
8
|
className: "class",
|
|
78
9
|
htmlFor: "for"
|
|
79
10
|
});
|
|
80
|
-
const PropAliases = /*#__PURE__*/
|
|
11
|
+
const PropAliases = /*#__PURE__*/Object.assign(Object.create(null), {
|
|
81
12
|
class: "className",
|
|
82
13
|
formnovalidate: {
|
|
83
14
|
$: "formNoValidate",
|
|
@@ -104,395 +35,19 @@ const PropAliases = /*#__PURE__*/ Object.assign(Object.create(null), {
|
|
|
104
35
|
});
|
|
105
36
|
function getPropAlias(prop, tagName) {
|
|
106
37
|
const a = PropAliases[prop];
|
|
107
|
-
return typeof a === "object" ?
|
|
108
|
-
}
|
|
109
|
-
const DelegatedEvents = /*#__PURE__*/
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
"focusout",
|
|
116
|
-
"input",
|
|
117
|
-
"keydown",
|
|
118
|
-
"keyup",
|
|
119
|
-
"mousedown",
|
|
120
|
-
"mousemove",
|
|
121
|
-
"mouseout",
|
|
122
|
-
"mouseover",
|
|
123
|
-
"mouseup",
|
|
124
|
-
"pointerdown",
|
|
125
|
-
"pointermove",
|
|
126
|
-
"pointerout",
|
|
127
|
-
"pointerover",
|
|
128
|
-
"pointerup",
|
|
129
|
-
"touchend",
|
|
130
|
-
"touchmove",
|
|
131
|
-
"touchstart"
|
|
132
|
-
]);
|
|
133
|
-
const SVGElements = /*#__PURE__*/ new Set([
|
|
134
|
-
"altGlyph",
|
|
135
|
-
"altGlyphDef",
|
|
136
|
-
"altGlyphItem",
|
|
137
|
-
"animate",
|
|
138
|
-
"animateColor",
|
|
139
|
-
"animateMotion",
|
|
140
|
-
"animateTransform",
|
|
141
|
-
"circle",
|
|
142
|
-
"clipPath",
|
|
143
|
-
"color-profile",
|
|
144
|
-
"cursor",
|
|
145
|
-
"defs",
|
|
146
|
-
"desc",
|
|
147
|
-
"ellipse",
|
|
148
|
-
"feBlend",
|
|
149
|
-
"feColorMatrix",
|
|
150
|
-
"feComponentTransfer",
|
|
151
|
-
"feComposite",
|
|
152
|
-
"feConvolveMatrix",
|
|
153
|
-
"feDiffuseLighting",
|
|
154
|
-
"feDisplacementMap",
|
|
155
|
-
"feDistantLight",
|
|
156
|
-
"feFlood",
|
|
157
|
-
"feFuncA",
|
|
158
|
-
"feFuncB",
|
|
159
|
-
"feFuncG",
|
|
160
|
-
"feFuncR",
|
|
161
|
-
"feGaussianBlur",
|
|
162
|
-
"feImage",
|
|
163
|
-
"feMerge",
|
|
164
|
-
"feMergeNode",
|
|
165
|
-
"feMorphology",
|
|
166
|
-
"feOffset",
|
|
167
|
-
"fePointLight",
|
|
168
|
-
"feSpecularLighting",
|
|
169
|
-
"feSpotLight",
|
|
170
|
-
"feTile",
|
|
171
|
-
"feTurbulence",
|
|
172
|
-
"filter",
|
|
173
|
-
"font",
|
|
174
|
-
"font-face",
|
|
175
|
-
"font-face-format",
|
|
176
|
-
"font-face-name",
|
|
177
|
-
"font-face-src",
|
|
178
|
-
"font-face-uri",
|
|
179
|
-
"foreignObject",
|
|
180
|
-
"g",
|
|
181
|
-
"glyph",
|
|
182
|
-
"glyphRef",
|
|
183
|
-
"hkern",
|
|
184
|
-
"image",
|
|
185
|
-
"line",
|
|
186
|
-
"linearGradient",
|
|
187
|
-
"marker",
|
|
188
|
-
"mask",
|
|
189
|
-
"metadata",
|
|
190
|
-
"missing-glyph",
|
|
191
|
-
"mpath",
|
|
192
|
-
"path",
|
|
193
|
-
"pattern",
|
|
194
|
-
"polygon",
|
|
195
|
-
"polyline",
|
|
196
|
-
"radialGradient",
|
|
197
|
-
"rect",
|
|
198
|
-
"set",
|
|
199
|
-
"stop",
|
|
200
|
-
"svg",
|
|
201
|
-
"switch",
|
|
202
|
-
"symbol",
|
|
203
|
-
"text",
|
|
204
|
-
"textPath",
|
|
205
|
-
"tref",
|
|
206
|
-
"tspan",
|
|
207
|
-
"use",
|
|
208
|
-
"view",
|
|
209
|
-
"vkern"
|
|
210
|
-
]);
|
|
38
|
+
return typeof a === "object" ? a[tagName] ? a["$"] : undefined : a;
|
|
39
|
+
}
|
|
40
|
+
const DelegatedEvents = /*#__PURE__*/new Set(["beforeinput", "click", "dblclick", "contextmenu", "focusin", "focusout", "input", "keydown", "keyup", "mousedown", "mousemove", "mouseout", "mouseover", "mouseup", "pointerdown", "pointermove", "pointerout", "pointerover", "pointerup", "touchend", "touchmove", "touchstart"]);
|
|
41
|
+
const SVGElements = /*#__PURE__*/new Set([
|
|
42
|
+
"altGlyph", "altGlyphDef", "altGlyphItem", "animate", "animateColor", "animateMotion", "animateTransform", "circle", "clipPath", "color-profile", "cursor", "defs", "desc", "ellipse", "feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence", "filter", "font", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignObject", "g", "glyph", "glyphRef", "hkern", "image", "line", "linearGradient", "marker", "mask", "metadata", "missing-glyph", "mpath", "path", "pattern", "polygon", "polyline", "radialGradient", "rect",
|
|
43
|
+
"set", "stop",
|
|
44
|
+
"svg", "switch", "symbol", "text", "textPath",
|
|
45
|
+
"tref", "tspan", "use", "view", "vkern"]);
|
|
211
46
|
const SVGNamespace = {
|
|
212
47
|
xlink: "http://www.w3.org/1999/xlink",
|
|
213
48
|
xml: "http://www.w3.org/XML/1998/namespace"
|
|
214
49
|
};
|
|
215
|
-
const DOMElements = /*#__PURE__*/
|
|
216
|
-
"html",
|
|
217
|
-
"base",
|
|
218
|
-
"head",
|
|
219
|
-
"link",
|
|
220
|
-
"meta",
|
|
221
|
-
"style",
|
|
222
|
-
"title",
|
|
223
|
-
"body",
|
|
224
|
-
"address",
|
|
225
|
-
"article",
|
|
226
|
-
"aside",
|
|
227
|
-
"footer",
|
|
228
|
-
"header",
|
|
229
|
-
"main",
|
|
230
|
-
"nav",
|
|
231
|
-
"section",
|
|
232
|
-
"body",
|
|
233
|
-
"blockquote",
|
|
234
|
-
"dd",
|
|
235
|
-
"div",
|
|
236
|
-
"dl",
|
|
237
|
-
"dt",
|
|
238
|
-
"figcaption",
|
|
239
|
-
"figure",
|
|
240
|
-
"hr",
|
|
241
|
-
"li",
|
|
242
|
-
"ol",
|
|
243
|
-
"p",
|
|
244
|
-
"pre",
|
|
245
|
-
"ul",
|
|
246
|
-
"a",
|
|
247
|
-
"abbr",
|
|
248
|
-
"b",
|
|
249
|
-
"bdi",
|
|
250
|
-
"bdo",
|
|
251
|
-
"br",
|
|
252
|
-
"cite",
|
|
253
|
-
"code",
|
|
254
|
-
"data",
|
|
255
|
-
"dfn",
|
|
256
|
-
"em",
|
|
257
|
-
"i",
|
|
258
|
-
"kbd",
|
|
259
|
-
"mark",
|
|
260
|
-
"q",
|
|
261
|
-
"rp",
|
|
262
|
-
"rt",
|
|
263
|
-
"ruby",
|
|
264
|
-
"s",
|
|
265
|
-
"samp",
|
|
266
|
-
"small",
|
|
267
|
-
"span",
|
|
268
|
-
"strong",
|
|
269
|
-
"sub",
|
|
270
|
-
"sup",
|
|
271
|
-
"time",
|
|
272
|
-
"u",
|
|
273
|
-
"var",
|
|
274
|
-
"wbr",
|
|
275
|
-
"area",
|
|
276
|
-
"audio",
|
|
277
|
-
"img",
|
|
278
|
-
"map",
|
|
279
|
-
"track",
|
|
280
|
-
"video",
|
|
281
|
-
"embed",
|
|
282
|
-
"iframe",
|
|
283
|
-
"object",
|
|
284
|
-
"param",
|
|
285
|
-
"picture",
|
|
286
|
-
"portal",
|
|
287
|
-
"source",
|
|
288
|
-
"svg",
|
|
289
|
-
"math",
|
|
290
|
-
"canvas",
|
|
291
|
-
"noscript",
|
|
292
|
-
"script",
|
|
293
|
-
"del",
|
|
294
|
-
"ins",
|
|
295
|
-
"caption",
|
|
296
|
-
"col",
|
|
297
|
-
"colgroup",
|
|
298
|
-
"table",
|
|
299
|
-
"tbody",
|
|
300
|
-
"td",
|
|
301
|
-
"tfoot",
|
|
302
|
-
"th",
|
|
303
|
-
"thead",
|
|
304
|
-
"tr",
|
|
305
|
-
"button",
|
|
306
|
-
"datalist",
|
|
307
|
-
"fieldset",
|
|
308
|
-
"form",
|
|
309
|
-
"input",
|
|
310
|
-
"label",
|
|
311
|
-
"legend",
|
|
312
|
-
"meter",
|
|
313
|
-
"optgroup",
|
|
314
|
-
"option",
|
|
315
|
-
"output",
|
|
316
|
-
"progress",
|
|
317
|
-
"select",
|
|
318
|
-
"textarea",
|
|
319
|
-
"details",
|
|
320
|
-
"dialog",
|
|
321
|
-
"menu",
|
|
322
|
-
"summary",
|
|
323
|
-
"details",
|
|
324
|
-
"slot",
|
|
325
|
-
"template",
|
|
326
|
-
"acronym",
|
|
327
|
-
"applet",
|
|
328
|
-
"basefont",
|
|
329
|
-
"bgsound",
|
|
330
|
-
"big",
|
|
331
|
-
"blink",
|
|
332
|
-
"center",
|
|
333
|
-
"content",
|
|
334
|
-
"dir",
|
|
335
|
-
"font",
|
|
336
|
-
"frame",
|
|
337
|
-
"frameset",
|
|
338
|
-
"hgroup",
|
|
339
|
-
"image",
|
|
340
|
-
"keygen",
|
|
341
|
-
"marquee",
|
|
342
|
-
"menuitem",
|
|
343
|
-
"nobr",
|
|
344
|
-
"noembed",
|
|
345
|
-
"noframes",
|
|
346
|
-
"plaintext",
|
|
347
|
-
"rb",
|
|
348
|
-
"rtc",
|
|
349
|
-
"shadow",
|
|
350
|
-
"spacer",
|
|
351
|
-
"strike",
|
|
352
|
-
"tt",
|
|
353
|
-
"xmp",
|
|
354
|
-
"a",
|
|
355
|
-
"abbr",
|
|
356
|
-
"acronym",
|
|
357
|
-
"address",
|
|
358
|
-
"applet",
|
|
359
|
-
"area",
|
|
360
|
-
"article",
|
|
361
|
-
"aside",
|
|
362
|
-
"audio",
|
|
363
|
-
"b",
|
|
364
|
-
"base",
|
|
365
|
-
"basefont",
|
|
366
|
-
"bdi",
|
|
367
|
-
"bdo",
|
|
368
|
-
"bgsound",
|
|
369
|
-
"big",
|
|
370
|
-
"blink",
|
|
371
|
-
"blockquote",
|
|
372
|
-
"body",
|
|
373
|
-
"br",
|
|
374
|
-
"button",
|
|
375
|
-
"canvas",
|
|
376
|
-
"caption",
|
|
377
|
-
"center",
|
|
378
|
-
"cite",
|
|
379
|
-
"code",
|
|
380
|
-
"col",
|
|
381
|
-
"colgroup",
|
|
382
|
-
"content",
|
|
383
|
-
"data",
|
|
384
|
-
"datalist",
|
|
385
|
-
"dd",
|
|
386
|
-
"del",
|
|
387
|
-
"details",
|
|
388
|
-
"dfn",
|
|
389
|
-
"dialog",
|
|
390
|
-
"dir",
|
|
391
|
-
"div",
|
|
392
|
-
"dl",
|
|
393
|
-
"dt",
|
|
394
|
-
"em",
|
|
395
|
-
"embed",
|
|
396
|
-
"fieldset",
|
|
397
|
-
"figcaption",
|
|
398
|
-
"figure",
|
|
399
|
-
"font",
|
|
400
|
-
"footer",
|
|
401
|
-
"form",
|
|
402
|
-
"frame",
|
|
403
|
-
"frameset",
|
|
404
|
-
"head",
|
|
405
|
-
"header",
|
|
406
|
-
"hgroup",
|
|
407
|
-
"hr",
|
|
408
|
-
"html",
|
|
409
|
-
"i",
|
|
410
|
-
"iframe",
|
|
411
|
-
"image",
|
|
412
|
-
"img",
|
|
413
|
-
"input",
|
|
414
|
-
"ins",
|
|
415
|
-
"kbd",
|
|
416
|
-
"keygen",
|
|
417
|
-
"label",
|
|
418
|
-
"legend",
|
|
419
|
-
"li",
|
|
420
|
-
"link",
|
|
421
|
-
"main",
|
|
422
|
-
"map",
|
|
423
|
-
"mark",
|
|
424
|
-
"marquee",
|
|
425
|
-
"menu",
|
|
426
|
-
"menuitem",
|
|
427
|
-
"meta",
|
|
428
|
-
"meter",
|
|
429
|
-
"nav",
|
|
430
|
-
"nobr",
|
|
431
|
-
"noembed",
|
|
432
|
-
"noframes",
|
|
433
|
-
"noscript",
|
|
434
|
-
"object",
|
|
435
|
-
"ol",
|
|
436
|
-
"optgroup",
|
|
437
|
-
"option",
|
|
438
|
-
"output",
|
|
439
|
-
"p",
|
|
440
|
-
"param",
|
|
441
|
-
"picture",
|
|
442
|
-
"plaintext",
|
|
443
|
-
"portal",
|
|
444
|
-
"pre",
|
|
445
|
-
"progress",
|
|
446
|
-
"q",
|
|
447
|
-
"rb",
|
|
448
|
-
"rp",
|
|
449
|
-
"rt",
|
|
450
|
-
"rtc",
|
|
451
|
-
"ruby",
|
|
452
|
-
"s",
|
|
453
|
-
"samp",
|
|
454
|
-
"script",
|
|
455
|
-
"section",
|
|
456
|
-
"select",
|
|
457
|
-
"shadow",
|
|
458
|
-
"slot",
|
|
459
|
-
"small",
|
|
460
|
-
"source",
|
|
461
|
-
"spacer",
|
|
462
|
-
"span",
|
|
463
|
-
"strike",
|
|
464
|
-
"strong",
|
|
465
|
-
"style",
|
|
466
|
-
"sub",
|
|
467
|
-
"summary",
|
|
468
|
-
"sup",
|
|
469
|
-
"table",
|
|
470
|
-
"tbody",
|
|
471
|
-
"td",
|
|
472
|
-
"template",
|
|
473
|
-
"textarea",
|
|
474
|
-
"tfoot",
|
|
475
|
-
"th",
|
|
476
|
-
"thead",
|
|
477
|
-
"time",
|
|
478
|
-
"title",
|
|
479
|
-
"tr",
|
|
480
|
-
"track",
|
|
481
|
-
"tt",
|
|
482
|
-
"u",
|
|
483
|
-
"ul",
|
|
484
|
-
"var",
|
|
485
|
-
"video",
|
|
486
|
-
"wbr",
|
|
487
|
-
"xmp",
|
|
488
|
-
"input",
|
|
489
|
-
"h1",
|
|
490
|
-
"h2",
|
|
491
|
-
"h3",
|
|
492
|
-
"h4",
|
|
493
|
-
"h5",
|
|
494
|
-
"h6"
|
|
495
|
-
]);
|
|
50
|
+
const DOMElements = /*#__PURE__*/new Set(["html", "base", "head", "link", "meta", "style", "title", "body", "address", "article", "aside", "footer", "header", "main", "nav", "section", "body", "blockquote", "dd", "div", "dl", "dt", "figcaption", "figure", "hr", "li", "ol", "p", "pre", "ul", "a", "abbr", "b", "bdi", "bdo", "br", "cite", "code", "data", "dfn", "em", "i", "kbd", "mark", "q", "rp", "rt", "ruby", "s", "samp", "small", "span", "strong", "sub", "sup", "time", "u", "var", "wbr", "area", "audio", "img", "map", "track", "video", "embed", "iframe", "object", "param", "picture", "portal", "source", "svg", "math", "canvas", "noscript", "script", "del", "ins", "caption", "col", "colgroup", "table", "tbody", "td", "tfoot", "th", "thead", "tr", "button", "datalist", "fieldset", "form", "input", "label", "legend", "meter", "optgroup", "option", "output", "progress", "select", "textarea", "details", "dialog", "menu", "summary", "details", "slot", "template", "acronym", "applet", "basefont", "bgsound", "big", "blink", "center", "content", "dir", "font", "frame", "frameset", "hgroup", "image", "keygen", "marquee", "menuitem", "nobr", "noembed", "noframes", "plaintext", "rb", "rtc", "shadow", "spacer", "strike", "tt", "xmp", "a", "abbr", "acronym", "address", "applet", "area", "article", "aside", "audio", "b", "base", "basefont", "bdi", "bdo", "bgsound", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "em", "embed", "fieldset", "figcaption", "figure", "font", "footer", "form", "frame", "frameset", "head", "header", "hgroup", "hr", "html", "i", "iframe", "image", "img", "input", "ins", "kbd", "keygen", "label", "legend", "li", "link", "main", "map", "mark", "marquee", "menu", "menuitem", "meta", "meter", "nav", "nobr", "noembed", "noframes", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "plaintext", "portal", "pre", "progress", "q", "rb", "rp", "rt", "rtc", "ruby", "s", "samp", "script", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "title", "tr", "track", "tt", "u", "ul", "var", "video", "wbr", "xmp", "input", "h1", "h2", "h3", "h4", "h5", "h6"]);
|
|
496
51
|
|
|
497
52
|
function reconcileArrays(parentNode, a, b) {
|
|
498
53
|
let bLength = b.length,
|
|
@@ -513,7 +68,7 @@ function reconcileArrays(parentNode, a, b) {
|
|
|
513
68
|
bEnd--;
|
|
514
69
|
}
|
|
515
70
|
if (aEnd === aStart) {
|
|
516
|
-
const node = bEnd < bLength ?
|
|
71
|
+
const node = bEnd < bLength ? bStart ? b[bStart - 1].nextSibling : b[bEnd - bStart] : after;
|
|
517
72
|
while (bStart < bEnd) parentNode.insertBefore(b[bStart++], node);
|
|
518
73
|
} else if (bEnd === bStart) {
|
|
519
74
|
while (aStart < aEnd) {
|
|
@@ -556,9 +111,7 @@ function render(code, element, init, options = {}) {
|
|
|
556
111
|
let disposer;
|
|
557
112
|
createRoot(dispose => {
|
|
558
113
|
disposer = dispose;
|
|
559
|
-
element === document
|
|
560
|
-
? code()
|
|
561
|
-
: insert(element, code(), element.firstChild ? null : undefined, init);
|
|
114
|
+
element === document ? code() : insert(element, code(), element.firstChild ? null : undefined, init);
|
|
562
115
|
}, options.owner);
|
|
563
116
|
return () => {
|
|
564
117
|
disposer();
|
|
@@ -568,17 +121,12 @@ function render(code, element, init, options = {}) {
|
|
|
568
121
|
function template(html, isCE, isSVG) {
|
|
569
122
|
let node;
|
|
570
123
|
const create = () => {
|
|
571
|
-
if (sharedConfig.context)
|
|
572
|
-
throw new Error(
|
|
573
|
-
"Failed attempt to create new DOM elements during hydration. Check that the libraries you are using support hydration."
|
|
574
|
-
);
|
|
124
|
+
if (sharedConfig.context) throw new Error("Failed attempt to create new DOM elements during hydration. Check that the libraries you are using support hydration.");
|
|
575
125
|
const t = document.createElement("template");
|
|
576
126
|
t.innerHTML = html;
|
|
577
127
|
return isSVG ? t.content.firstChild.firstChild : t.content.firstChild;
|
|
578
128
|
};
|
|
579
|
-
const fn = isCE
|
|
580
|
-
? () => untrack(() => document.importNode(node || (node = create()), true))
|
|
581
|
-
: () => (node || (node = create())).cloneNode(true);
|
|
129
|
+
const fn = isCE ? () => untrack(() => document.importNode(node || (node = create()), true)) : () => (node || (node = create())).cloneNode(true);
|
|
582
130
|
fn.cloneNode = fn;
|
|
583
131
|
return fn;
|
|
584
132
|
}
|
|
@@ -603,18 +151,15 @@ function setProperty(node, name, value) {
|
|
|
603
151
|
}
|
|
604
152
|
function setAttribute(node, name, value) {
|
|
605
153
|
if (sharedConfig.context) return;
|
|
606
|
-
if (value == null) node.removeAttribute(name);
|
|
607
|
-
else node.setAttribute(name, value);
|
|
154
|
+
if (value == null) node.removeAttribute(name);else node.setAttribute(name, value);
|
|
608
155
|
}
|
|
609
156
|
function setAttributeNS(node, namespace, name, value) {
|
|
610
157
|
if (sharedConfig.context) return;
|
|
611
|
-
if (value == null) node.removeAttributeNS(namespace, name);
|
|
612
|
-
else node.setAttributeNS(namespace, name, value);
|
|
158
|
+
if (value == null) node.removeAttributeNS(namespace, name);else node.setAttributeNS(namespace, name, value);
|
|
613
159
|
}
|
|
614
160
|
function className(node, value) {
|
|
615
161
|
if (sharedConfig.context) return;
|
|
616
|
-
if (value == null) node.removeAttribute("class");
|
|
617
|
-
else node.className = value;
|
|
162
|
+
if (value == null) node.removeAttribute("class");else node.className = value;
|
|
618
163
|
}
|
|
619
164
|
function addEventListener(node, name, handler, delegate) {
|
|
620
165
|
if (delegate) {
|
|
@@ -624,7 +169,7 @@ function addEventListener(node, name, handler, delegate) {
|
|
|
624
169
|
} else node[`$$${name}`] = handler;
|
|
625
170
|
} else if (Array.isArray(handler)) {
|
|
626
171
|
const handlerFn = handler[0];
|
|
627
|
-
node.addEventListener(name,
|
|
172
|
+
node.addEventListener(name, handler[0] = e => handlerFn.call(node, handler[1], e));
|
|
628
173
|
} else node.addEventListener(name, handler);
|
|
629
174
|
}
|
|
630
175
|
function classList(node, value, prev = {}) {
|
|
@@ -649,7 +194,7 @@ function classList(node, value, prev = {}) {
|
|
|
649
194
|
function style(node, value, prev) {
|
|
650
195
|
if (!value) return prev ? setAttribute(node, "style") : value;
|
|
651
196
|
const nodeStyle = node.style;
|
|
652
|
-
if (typeof value === "string") return
|
|
197
|
+
if (typeof value === "string") return nodeStyle.cssText = value;
|
|
653
198
|
typeof prev === "string" && (nodeStyle.cssText = prev = undefined);
|
|
654
199
|
prev || (prev = {});
|
|
655
200
|
value || (value = {});
|
|
@@ -670,9 +215,7 @@ function style(node, value, prev) {
|
|
|
670
215
|
function spread(node, props = {}, isSVG, skipChildren) {
|
|
671
216
|
const prevProps = {};
|
|
672
217
|
if (!skipChildren) {
|
|
673
|
-
createRenderEffect(
|
|
674
|
-
() => (prevProps.children = insertExpression(node, props.children, prevProps.children))
|
|
675
|
-
);
|
|
218
|
+
createRenderEffect(() => prevProps.children = insertExpression(node, props.children, prevProps.children));
|
|
676
219
|
}
|
|
677
220
|
createRenderEffect(() => props.ref && props.ref(node));
|
|
678
221
|
createRenderEffect(() => assign(node, props, isSVG, true, prevProps, true));
|
|
@@ -731,9 +274,8 @@ function hydrate$1(code, element, options = {}) {
|
|
|
731
274
|
}
|
|
732
275
|
function getNextElement(template) {
|
|
733
276
|
let node, key;
|
|
734
|
-
if (!sharedConfig.context || !(node = sharedConfig.registry.get(
|
|
735
|
-
if (sharedConfig.context)
|
|
736
|
-
throw new Error(`Hydration Mismatch. Unable to find DOM nodes for hydration key: ${key}`);
|
|
277
|
+
if (!sharedConfig.context || !(node = sharedConfig.registry.get(key = getHydrationKey()))) {
|
|
278
|
+
if (sharedConfig.context) throw new Error(`Hydration Mismatch. Unable to find DOM nodes for hydration key: ${key}`);
|
|
737
279
|
return template();
|
|
738
280
|
}
|
|
739
281
|
if (sharedConfig.completed) sharedConfig.completed.add(node);
|
|
@@ -752,8 +294,7 @@ function getNextMarker(start) {
|
|
|
752
294
|
while (end) {
|
|
753
295
|
if (end.nodeType === 8) {
|
|
754
296
|
const v = end.nodeValue;
|
|
755
|
-
if (v === "$") count++;
|
|
756
|
-
else if (v === "/") {
|
|
297
|
+
if (v === "$") count++;else if (v === "/") {
|
|
757
298
|
if (count === 0) return [end, current];
|
|
758
299
|
count--;
|
|
759
300
|
}
|
|
@@ -767,7 +308,10 @@ function getNextMarker(start) {
|
|
|
767
308
|
function runHydrationEvents() {
|
|
768
309
|
if (sharedConfig.events && !sharedConfig.events.queued) {
|
|
769
310
|
queueMicrotask(() => {
|
|
770
|
-
const {
|
|
311
|
+
const {
|
|
312
|
+
completed,
|
|
313
|
+
events
|
|
314
|
+
} = sharedConfig;
|
|
771
315
|
events.queued = false;
|
|
772
316
|
while (events.length) {
|
|
773
317
|
const [el, e] = events[0];
|
|
@@ -784,8 +328,7 @@ function toPropertyName(name) {
|
|
|
784
328
|
}
|
|
785
329
|
function toggleClassKey(node, key, value) {
|
|
786
330
|
const classNames = key.trim().split(/\s+/);
|
|
787
|
-
for (let i = 0, nameLen = classNames.length; i < nameLen; i++)
|
|
788
|
-
node.classList.toggle(classNames[i], value);
|
|
331
|
+
for (let i = 0, nameLen = classNames.length; i < nameLen; i++) node.classList.toggle(classNames[i], value);
|
|
789
332
|
}
|
|
790
333
|
function assignProp(node, prop, value, prev, isSVG, skipRef) {
|
|
791
334
|
let isCE, isProp, isChildProp, propAlias, forceProp;
|
|
@@ -815,30 +358,21 @@ function assignProp(node, prop, value, prev, isSVG, skipRef) {
|
|
|
815
358
|
}
|
|
816
359
|
} else if (prop.slice(0, 5) === "attr:") {
|
|
817
360
|
setAttribute(node, prop.slice(5), value);
|
|
818
|
-
} else if (
|
|
819
|
-
(forceProp = prop.slice(0, 5) === "prop:") ||
|
|
820
|
-
(isChildProp = ChildProperties.has(prop)) ||
|
|
821
|
-
(!isSVG &&
|
|
822
|
-
((propAlias = getPropAlias(prop, node.tagName)) || (isProp = Properties.has(prop)))) ||
|
|
823
|
-
(isCE = node.nodeName.includes("-"))
|
|
824
|
-
) {
|
|
361
|
+
} else if ((forceProp = prop.slice(0, 5) === "prop:") || (isChildProp = ChildProperties.has(prop)) || !isSVG && ((propAlias = getPropAlias(prop, node.tagName)) || (isProp = Properties.has(prop))) || (isCE = node.nodeName.includes("-"))) {
|
|
825
362
|
if (forceProp) {
|
|
826
363
|
prop = prop.slice(5);
|
|
827
364
|
isProp = true;
|
|
828
365
|
} else if (sharedConfig.context) return value;
|
|
829
|
-
if (prop === "class" || prop === "className") className(node, value);
|
|
830
|
-
else if (isCE && !isProp && !isChildProp) node[toPropertyName(prop)] = value;
|
|
831
|
-
else node[propAlias || prop] = value;
|
|
366
|
+
if (prop === "class" || prop === "className") className(node, value);else if (isCE && !isProp && !isChildProp) node[toPropertyName(prop)] = value;else node[propAlias || prop] = value;
|
|
832
367
|
} else {
|
|
833
368
|
const ns = isSVG && prop.indexOf(":") > -1 && SVGNamespace[prop.split(":")[0]];
|
|
834
|
-
if (ns) setAttributeNS(node, ns, prop, value);
|
|
835
|
-
else setAttribute(node, Aliases[prop] || prop, value);
|
|
369
|
+
if (ns) setAttributeNS(node, ns, prop, value);else setAttribute(node, Aliases[prop] || prop, value);
|
|
836
370
|
}
|
|
837
371
|
return value;
|
|
838
372
|
}
|
|
839
373
|
function eventHandler(e) {
|
|
840
374
|
const key = `$$${e.type}`;
|
|
841
|
-
let node =
|
|
375
|
+
let node = e.composedPath && e.composedPath()[0] || e.target;
|
|
842
376
|
if (e.target !== node) {
|
|
843
377
|
Object.defineProperty(e, "target", {
|
|
844
378
|
configurable: true,
|
|
@@ -868,8 +402,7 @@ function insertExpression(parent, value, current, marker, unwrapArray) {
|
|
|
868
402
|
let cleaned = [];
|
|
869
403
|
for (let i = 0; i < current.length; i++) {
|
|
870
404
|
const node = current[i];
|
|
871
|
-
if (node.nodeType === 8 && node.data.slice(0, 2) === "!$") node.remove();
|
|
872
|
-
else cleaned.push(node);
|
|
405
|
+
if (node.nodeType === 8 && node.data.slice(0, 2) === "!$") node.remove();else cleaned.push(node);
|
|
873
406
|
}
|
|
874
407
|
current = cleaned;
|
|
875
408
|
}
|
|
@@ -877,7 +410,7 @@ function insertExpression(parent, value, current, marker, unwrapArray) {
|
|
|
877
410
|
if (value === current) return current;
|
|
878
411
|
const t = typeof value,
|
|
879
412
|
multi = marker !== undefined;
|
|
880
|
-
parent =
|
|
413
|
+
parent = multi && current[0] && current[0].parentNode || parent;
|
|
881
414
|
if (t === "string" || t === "number") {
|
|
882
415
|
if (sharedConfig.context) return current;
|
|
883
416
|
if (t === "number") value = value.toString();
|
|
@@ -906,7 +439,7 @@ function insertExpression(parent, value, current, marker, unwrapArray) {
|
|
|
906
439
|
const array = [];
|
|
907
440
|
const currentArray = current && Array.isArray(current);
|
|
908
441
|
if (normalizeIncomingArray(array, value, current, unwrapArray)) {
|
|
909
|
-
createRenderEffect(() =>
|
|
442
|
+
createRenderEffect(() => current = insertExpression(parent, array, current, marker, true));
|
|
910
443
|
return () => current;
|
|
911
444
|
}
|
|
912
445
|
if (sharedConfig.context) {
|
|
@@ -915,7 +448,7 @@ function insertExpression(parent, value, current, marker, unwrapArray) {
|
|
|
915
448
|
let node = array[0];
|
|
916
449
|
let nodes = [node];
|
|
917
450
|
while ((node = node.nextSibling) !== marker) nodes.push(node);
|
|
918
|
-
return
|
|
451
|
+
return current = nodes;
|
|
919
452
|
}
|
|
920
453
|
if (array.length === 0) {
|
|
921
454
|
current = cleanChildren(parent, current, marker);
|
|
@@ -930,9 +463,9 @@ function insertExpression(parent, value, current, marker, unwrapArray) {
|
|
|
930
463
|
}
|
|
931
464
|
current = array;
|
|
932
465
|
} else if (value.nodeType) {
|
|
933
|
-
if (sharedConfig.context && value.parentNode) return
|
|
466
|
+
if (sharedConfig.context && value.parentNode) return current = multi ? [value] : value;
|
|
934
467
|
if (Array.isArray(current)) {
|
|
935
|
-
if (multi) return
|
|
468
|
+
if (multi) return current = cleanChildren(parent, current, marker, value);
|
|
936
469
|
cleanChildren(parent, current, null, value);
|
|
937
470
|
} else if (current == null || current === "" || !parent.firstChild) {
|
|
938
471
|
parent.appendChild(value);
|
|
@@ -947,28 +480,21 @@ function normalizeIncomingArray(normalized, array, current, unwrap) {
|
|
|
947
480
|
let item = array[i],
|
|
948
481
|
prev = current && current[i],
|
|
949
482
|
t;
|
|
950
|
-
if (item == null || item === true || item === false);
|
|
951
|
-
else if ((t = typeof item) === "object" && item.nodeType) {
|
|
483
|
+
if (item == null || item === true || item === false) ; else if ((t = typeof item) === "object" && item.nodeType) {
|
|
952
484
|
normalized.push(item);
|
|
953
485
|
} else if (Array.isArray(item)) {
|
|
954
486
|
dynamic = normalizeIncomingArray(normalized, item, prev) || dynamic;
|
|
955
487
|
} else if (t === "function") {
|
|
956
488
|
if (unwrap) {
|
|
957
489
|
while (typeof item === "function") item = item();
|
|
958
|
-
dynamic =
|
|
959
|
-
normalizeIncomingArray(
|
|
960
|
-
normalized,
|
|
961
|
-
Array.isArray(item) ? item : [item],
|
|
962
|
-
Array.isArray(prev) ? prev : [prev]
|
|
963
|
-
) || dynamic;
|
|
490
|
+
dynamic = normalizeIncomingArray(normalized, Array.isArray(item) ? item : [item], Array.isArray(prev) ? prev : [prev]) || dynamic;
|
|
964
491
|
} else {
|
|
965
492
|
normalized.push(item);
|
|
966
493
|
dynamic = true;
|
|
967
494
|
}
|
|
968
495
|
} else {
|
|
969
496
|
const value = String(item);
|
|
970
|
-
if (prev && prev.nodeType === 3 && prev.data === value) normalized.push(prev);
|
|
971
|
-
else normalized.push(document.createTextNode(value));
|
|
497
|
+
if (prev && prev.nodeType === 3 && prev.data === value) normalized.push(prev);else normalized.push(document.createTextNode(value));
|
|
972
498
|
}
|
|
973
499
|
}
|
|
974
500
|
return dynamic;
|
|
@@ -977,7 +503,7 @@ function appendNodes(parent, array, marker = null) {
|
|
|
977
503
|
for (let i = 0, len = array.length; i < len; i++) parent.insertBefore(array[i], marker);
|
|
978
504
|
}
|
|
979
505
|
function cleanChildren(parent, current, marker, replacement) {
|
|
980
|
-
if (marker === undefined) return
|
|
506
|
+
if (marker === undefined) return parent.textContent = "";
|
|
981
507
|
const node = replacement || document.createTextNode("");
|
|
982
508
|
if (current.length) {
|
|
983
509
|
let inserted = false;
|
|
@@ -985,9 +511,7 @@ function cleanChildren(parent, current, marker, replacement) {
|
|
|
985
511
|
const el = current[i];
|
|
986
512
|
if (node !== el) {
|
|
987
513
|
const isParent = el.parentNode === parent;
|
|
988
|
-
if (!inserted && !i)
|
|
989
|
-
isParent ? parent.replaceChild(node, el) : parent.insertBefore(node, marker);
|
|
990
|
-
else isParent && el.remove();
|
|
514
|
+
if (!inserted && !i) isParent ? parent.replaceChild(node, el) : parent.insertBefore(node, marker);else isParent && el.remove();
|
|
991
515
|
} else inserted = true;
|
|
992
516
|
}
|
|
993
517
|
} else parent.insertBefore(node, marker);
|
|
@@ -998,8 +522,7 @@ function gatherHydratable(element, root) {
|
|
|
998
522
|
for (let i = 0; i < templates.length; i++) {
|
|
999
523
|
const node = templates[i];
|
|
1000
524
|
const key = node.getAttribute("data-hk");
|
|
1001
|
-
if ((!root || key.startsWith(root)) && !sharedConfig.registry.has(key))
|
|
1002
|
-
sharedConfig.registry.set(key, node);
|
|
525
|
+
if ((!root || key.startsWith(root)) && !sharedConfig.registry.has(key)) sharedConfig.registry.set(key, node);
|
|
1003
526
|
}
|
|
1004
527
|
}
|
|
1005
528
|
function getHydrationKey() {
|
|
@@ -1052,47 +575,42 @@ const hydrate = (...args) => {
|
|
|
1052
575
|
return hydrate$1(...args);
|
|
1053
576
|
};
|
|
1054
577
|
function Portal(props) {
|
|
1055
|
-
const {
|
|
578
|
+
const {
|
|
579
|
+
useShadow
|
|
580
|
+
} = props,
|
|
1056
581
|
marker = document.createTextNode(""),
|
|
1057
582
|
mount = () => props.mount || document.body,
|
|
1058
583
|
owner = getOwner();
|
|
1059
584
|
let content;
|
|
1060
585
|
let hydrating = !!sharedConfig.context;
|
|
1061
|
-
createEffect(
|
|
1062
|
-
()
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
insert(renderRoot, content);
|
|
1086
|
-
el.appendChild(container);
|
|
1087
|
-
props.ref && props.ref(container);
|
|
1088
|
-
onCleanup(() => el.removeChild(container));
|
|
1089
|
-
}
|
|
1090
|
-
},
|
|
1091
|
-
undefined,
|
|
1092
|
-
{
|
|
1093
|
-
render: !hydrating
|
|
586
|
+
createEffect(() => {
|
|
587
|
+
if (hydrating) getOwner().user = hydrating = false;
|
|
588
|
+
content || (content = runWithOwner(owner, () => createMemo(() => props.children)));
|
|
589
|
+
const el = mount();
|
|
590
|
+
if (el instanceof HTMLHeadElement) {
|
|
591
|
+
const [clean, setClean] = createSignal(false);
|
|
592
|
+
const cleanup = () => setClean(true);
|
|
593
|
+
createRoot(dispose => insert(el, () => !clean() ? content() : dispose(), null));
|
|
594
|
+
onCleanup(cleanup);
|
|
595
|
+
} else {
|
|
596
|
+
const container = createElement(props.isSVG ? "g" : "div", props.isSVG),
|
|
597
|
+
renderRoot = useShadow && container.attachShadow ? container.attachShadow({
|
|
598
|
+
mode: "open"
|
|
599
|
+
}) : container;
|
|
600
|
+
Object.defineProperty(container, "_$host", {
|
|
601
|
+
get() {
|
|
602
|
+
return marker.parentNode;
|
|
603
|
+
},
|
|
604
|
+
configurable: true
|
|
605
|
+
});
|
|
606
|
+
insert(renderRoot, content);
|
|
607
|
+
el.appendChild(container);
|
|
608
|
+
props.ref && props.ref(container);
|
|
609
|
+
onCleanup(() => el.removeChild(container));
|
|
1094
610
|
}
|
|
1095
|
-
|
|
611
|
+
}, undefined, {
|
|
612
|
+
render: !hydrating
|
|
613
|
+
});
|
|
1096
614
|
return marker;
|
|
1097
615
|
}
|
|
1098
616
|
function Dynamic(props) {
|
|
@@ -1115,61 +633,4 @@ function Dynamic(props) {
|
|
|
1115
633
|
});
|
|
1116
634
|
}
|
|
1117
635
|
|
|
1118
|
-
export {
|
|
1119
|
-
Aliases,
|
|
1120
|
-
voidFn as Assets,
|
|
1121
|
-
ChildProperties,
|
|
1122
|
-
DOMElements,
|
|
1123
|
-
DelegatedEvents,
|
|
1124
|
-
Dynamic,
|
|
1125
|
-
Hydration,
|
|
1126
|
-
voidFn as HydrationScript,
|
|
1127
|
-
NoHydration,
|
|
1128
|
-
Portal,
|
|
1129
|
-
Properties,
|
|
1130
|
-
RequestContext,
|
|
1131
|
-
SVGElements,
|
|
1132
|
-
SVGNamespace,
|
|
1133
|
-
addEventListener,
|
|
1134
|
-
assign,
|
|
1135
|
-
classList,
|
|
1136
|
-
className,
|
|
1137
|
-
clearDelegatedEvents,
|
|
1138
|
-
delegateEvents,
|
|
1139
|
-
dynamicProperty,
|
|
1140
|
-
escape,
|
|
1141
|
-
voidFn as generateHydrationScript,
|
|
1142
|
-
voidFn as getAssets,
|
|
1143
|
-
getHydrationKey,
|
|
1144
|
-
getNextElement,
|
|
1145
|
-
getNextMarker,
|
|
1146
|
-
getNextMatch,
|
|
1147
|
-
getPropAlias,
|
|
1148
|
-
voidFn as getRequestEvent,
|
|
1149
|
-
hydrate,
|
|
1150
|
-
innerHTML,
|
|
1151
|
-
insert,
|
|
1152
|
-
isDev,
|
|
1153
|
-
isServer,
|
|
1154
|
-
render,
|
|
1155
|
-
renderToStream,
|
|
1156
|
-
renderToString,
|
|
1157
|
-
renderToStringAsync,
|
|
1158
|
-
resolveSSRNode,
|
|
1159
|
-
runHydrationEvents,
|
|
1160
|
-
setAttribute,
|
|
1161
|
-
setAttributeNS,
|
|
1162
|
-
setProperty,
|
|
1163
|
-
spread,
|
|
1164
|
-
ssr,
|
|
1165
|
-
ssrAttribute,
|
|
1166
|
-
ssrClassList,
|
|
1167
|
-
ssrElement,
|
|
1168
|
-
ssrHydrationKey,
|
|
1169
|
-
ssrSpread,
|
|
1170
|
-
ssrStyle,
|
|
1171
|
-
style,
|
|
1172
|
-
template,
|
|
1173
|
-
use,
|
|
1174
|
-
voidFn as useAssets
|
|
1175
|
-
};
|
|
636
|
+
export { Aliases, voidFn as Assets, ChildProperties, DOMElements, DelegatedEvents, Dynamic, Hydration, voidFn as HydrationScript, NoHydration, Portal, Properties, RequestContext, SVGElements, SVGNamespace, addEventListener, assign, classList, className, clearDelegatedEvents, delegateEvents, dynamicProperty, escape, voidFn as generateHydrationScript, voidFn as getAssets, getHydrationKey, getNextElement, getNextMarker, getNextMatch, getPropAlias, voidFn as getRequestEvent, hydrate, innerHTML, insert, isDev, isServer, render, renderToStream, renderToString, renderToStringAsync, resolveSSRNode, runHydrationEvents, setAttribute, setAttributeNS, setProperty, spread, ssr, ssrAttribute, ssrClassList, ssrElement, ssrHydrationKey, ssrSpread, ssrStyle, style, template, use, voidFn as useAssets };
|