sibujs 4.13.0 → 4.14.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/README.md +1 -1
- package/dist/browser.cjs +15 -2
- package/dist/browser.js +9 -7
- package/dist/build.cjs +880 -281
- package/dist/build.d.cts +68 -3
- package/dist/build.d.ts +68 -3
- package/dist/build.js +88 -30
- package/dist/cdn.dev.global.js +12 -12
- package/dist/cdn.full.dev.global.js +13 -13
- package/dist/cdn.full.global.js +12 -12
- package/dist/cdn.global.js +12 -12
- package/dist/{chunk-7K7W4AA5.js → chunk-2TTRW2TE.js} +6 -6
- package/dist/{chunk-J6FW5TV6.js → chunk-3HEX6QJQ.js} +5 -3
- package/dist/chunk-3HZOSMPX.js +90 -0
- package/dist/{chunk-GNSRXK34.js → chunk-4FJSAUKB.js} +11 -3
- package/dist/{chunk-IV74C2YX.js → chunk-4TQDTWWN.js} +6 -5
- package/dist/{chunk-L3QHS4O4.js → chunk-7ILEHTVX.js} +1 -1
- package/dist/{chunk-CK5F2IR5.js → chunk-A454RAEK.js} +4 -4
- package/dist/{chunk-BRRRVLHQ.js → chunk-AE32RGWX.js} +10 -6
- package/dist/{chunk-EXXSN3BW.js → chunk-B3HOT4TK.js} +1 -1
- package/dist/{chunk-F4W7WYXY.js → chunk-BKZ5N6NK.js} +8 -6
- package/dist/{chunk-MNEITZ27.js → chunk-BNXRWZZV.js} +49 -8
- package/dist/chunk-BOYKGGVD.js +2015 -0
- package/dist/{chunk-G6366I2A.js → chunk-CCKUNHVU.js} +2 -2
- package/dist/{chunk-346BYZL2.js → chunk-CJ7KS3DF.js} +16 -10
- package/dist/chunk-CNPT6NKV.js +1859 -0
- package/dist/{chunk-ENFRHCMK.js → chunk-F67F77IA.js} +2 -2
- package/dist/{chunk-TUCPL2HB.js → chunk-GIJ33UJZ.js} +1 -1
- package/dist/chunk-GVAMIU6K.js +195 -0
- package/dist/{chunk-HDKDBC6V.js → chunk-HQIAL7F2.js} +8 -6
- package/dist/{chunk-ZE5LF44R.js → chunk-JTFQ7IL4.js} +8 -8
- package/dist/{chunk-AM6DZLBM.js → chunk-LJMX4SQ7.js} +2 -2
- package/dist/{chunk-HVVRXRGO.js → chunk-MIRKTVH4.js} +7 -14
- package/dist/{chunk-YJ57VR6Y.js → chunk-N7A6FKWW.js} +5 -3
- package/dist/chunk-NT3ZYB5S.js +167 -0
- package/dist/{chunk-Z3EZX6DZ.js → chunk-QS6GMWDD.js} +151 -86
- package/dist/chunk-R5U7XKVJ.js +16 -0
- package/dist/{chunk-3C56VNCK.js → chunk-RVR5NPFL.js} +3 -3
- package/dist/{chunk-F2UWOZ6J.js → chunk-RVWJGWCL.js} +2 -2
- package/dist/{chunk-NYNYSPK7.js → chunk-S37PZD6I.js} +30 -45
- package/dist/{chunk-QV5WEOFD.js → chunk-SVULV7O4.js} +119 -26
- package/dist/{chunk-C2FAO6VQ.js → chunk-TLS4NVIB.js} +5 -5
- package/dist/{chunk-M25RIH6Y.js → chunk-UUIKJJIK.js} +10 -8
- package/dist/chunk-UYTYNCMZ.js +199 -0
- package/dist/chunk-VM2U5LEL.js +2596 -0
- package/dist/{chunk-24L5RDPS.js → chunk-Y4LUM2XS.js} +8 -6
- package/dist/data.cjs +265 -35
- package/dist/data.d.cts +31 -1
- package/dist/data.d.ts +31 -1
- package/dist/data.js +16 -10
- package/dist/devtools.cjs +15 -2
- package/dist/devtools.js +9 -7
- package/dist/{dispose-GEIG2KOF.js → dispose-EIHHHDC7.js} +3 -1
- package/dist/ecosystem.cjs +62 -23
- package/dist/ecosystem.js +14 -12
- package/dist/extras.cjs +3520 -270
- package/dist/extras.d.cts +3 -3
- package/dist/extras.d.ts +3 -3
- package/dist/extras.js +39 -29
- package/dist/index.cjs +442 -253
- package/dist/index.d.cts +93 -283
- package/dist/index.d.ts +93 -283
- package/dist/index.js +26 -16
- package/dist/motion.cjs +12 -1
- package/dist/motion.js +6 -4
- package/dist/patterns.cjs +15 -2
- package/dist/patterns.js +10 -8
- package/dist/performance.cjs +36 -2
- package/dist/performance.d.cts +2 -2
- package/dist/performance.d.ts +2 -2
- package/dist/performance.js +14 -10
- package/dist/plugins.cjs +5225 -1807
- package/dist/plugins.d.cts +8 -834
- package/dist/plugins.d.ts +8 -834
- package/dist/plugins.js +64 -2329
- package/dist/prerenderServer-MXJEVWA3.js +350 -0
- package/dist/renderRoute-DP20XwMS.d.cts +86 -0
- package/dist/renderRoute-fxgsm2Ir.d.ts +86 -0
- package/dist/routeHead-CE9SV-cH.d.cts +995 -0
- package/dist/routeHead-DzVxPviY.d.ts +995 -0
- package/dist/{routeMiddleware-B1sp4P7a.d.ts → routeMiddleware-BySbueoE.d.ts} +0 -25
- package/dist/{routeMiddleware-CedQTsLK.d.cts → routeMiddleware-CijZD5eW.d.cts} +0 -25
- package/dist/ssr-JpGpHnpC.d.cts +841 -0
- package/dist/ssr-JpGpHnpC.d.ts +841 -0
- package/dist/{ssr-VBM6J5SJ.js → ssr-NECEU4X4.js} +15 -6
- package/dist/ssr-dom.cjs +1862 -0
- package/dist/ssr-dom.d.cts +341 -0
- package/dist/ssr-dom.d.ts +341 -0
- package/dist/ssr-dom.js +19 -0
- package/dist/ssr.cjs +7630 -2064
- package/dist/ssr.d.cts +63 -5
- package/dist/ssr.d.ts +63 -5
- package/dist/ssr.js +136 -14
- package/dist/testing.cjs +6543 -87
- package/dist/testing.d.cts +80 -1
- package/dist/testing.d.ts +80 -1
- package/dist/testing.js +117 -4
- package/dist/ui.cjs +36 -2
- package/dist/ui.js +17 -14
- package/dist/widgets.cjs +14 -1
- package/dist/widgets.js +11 -9
- package/package.json +9 -2
- package/dist/chunk-2F4PSJ5Z.js +0 -765
- package/dist/chunk-7XHATCIH.js +0 -121
- package/dist/chunk-B36ADEIR.js +0 -21
- package/dist/ssr-Db0Sgdu3.d.cts +0 -245
- package/dist/ssr-Db0Sgdu3.d.ts +0 -245
|
@@ -0,0 +1,341 @@
|
|
|
1
|
+
/** `NodeList`-shaped array: index access, `length`, `item()`, iteration. */
|
|
2
|
+
declare class ServerNodeList<T> extends Array<T> {
|
|
3
|
+
static get [Symbol.species](): ArrayConstructor;
|
|
4
|
+
item(index: number): T | null;
|
|
5
|
+
}
|
|
6
|
+
type Listener = {
|
|
7
|
+
fn: EventListenerOrEventListenerObject;
|
|
8
|
+
capture: boolean;
|
|
9
|
+
once: boolean;
|
|
10
|
+
};
|
|
11
|
+
declare class ServerNode {
|
|
12
|
+
readonly ownerDocument: ServerDocument | null;
|
|
13
|
+
static readonly ELEMENT_NODE = 1;
|
|
14
|
+
static readonly ATTRIBUTE_NODE = 2;
|
|
15
|
+
static readonly TEXT_NODE = 3;
|
|
16
|
+
static readonly COMMENT_NODE = 8;
|
|
17
|
+
static readonly DOCUMENT_NODE = 9;
|
|
18
|
+
static readonly DOCUMENT_FRAGMENT_NODE = 11;
|
|
19
|
+
static readonly DOCUMENT_POSITION_DISCONNECTED = 1;
|
|
20
|
+
static readonly DOCUMENT_POSITION_PRECEDING = 2;
|
|
21
|
+
static readonly DOCUMENT_POSITION_FOLLOWING = 4;
|
|
22
|
+
static readonly DOCUMENT_POSITION_CONTAINS = 8;
|
|
23
|
+
static readonly DOCUMENT_POSITION_CONTAINED_BY = 16;
|
|
24
|
+
/** @internal */ _parent: ServerNode | null;
|
|
25
|
+
/** @internal */ _prev: ServerNode | null;
|
|
26
|
+
/** @internal */ _next: ServerNode | null;
|
|
27
|
+
/** @internal */ _first: ServerNode | null;
|
|
28
|
+
/** @internal */ _last: ServerNode | null;
|
|
29
|
+
/** @internal */ _count: number;
|
|
30
|
+
/** @internal */ _list: ServerNodeList<ServerNode> | null;
|
|
31
|
+
/** @internal */ _listeners: Map<string, Listener[]> | null;
|
|
32
|
+
constructor(ownerDocument: ServerDocument | null);
|
|
33
|
+
get nodeType(): number;
|
|
34
|
+
get nodeName(): string;
|
|
35
|
+
get nodeValue(): string | null;
|
|
36
|
+
set nodeValue(_value: string | null);
|
|
37
|
+
get parentNode(): ServerNode | null;
|
|
38
|
+
get parentElement(): ServerElement | null;
|
|
39
|
+
get firstChild(): ServerNode | null;
|
|
40
|
+
get lastChild(): ServerNode | null;
|
|
41
|
+
get nextSibling(): ServerNode | null;
|
|
42
|
+
get previousSibling(): ServerNode | null;
|
|
43
|
+
get childNodes(): ServerNodeList<ServerNode>;
|
|
44
|
+
hasChildNodes(): boolean;
|
|
45
|
+
get isConnected(): boolean;
|
|
46
|
+
getRootNode(): ServerNode;
|
|
47
|
+
get textContent(): string | null;
|
|
48
|
+
set textContent(value: string | null);
|
|
49
|
+
contains(other: ServerNode | null): boolean;
|
|
50
|
+
compareDocumentPosition(other: ServerNode): number;
|
|
51
|
+
/** @internal */
|
|
52
|
+
_assertParentOf(node: ServerNode): void;
|
|
53
|
+
insertBefore<T extends ServerNode>(node: T, ref: ServerNode | null): T;
|
|
54
|
+
appendChild<T extends ServerNode>(node: T): T;
|
|
55
|
+
removeChild<T extends ServerNode>(node: T): T;
|
|
56
|
+
replaceChild<T extends ServerNode>(node: ServerNode, old: T): T;
|
|
57
|
+
/** @internal */
|
|
58
|
+
_link(node: ServerNode, ref: ServerNode | null, quiet: boolean): void;
|
|
59
|
+
/** @internal */
|
|
60
|
+
_unlink(node: ServerNode, quiet: boolean): void;
|
|
61
|
+
/** @internal */
|
|
62
|
+
_recordChildList(added: ServerNode[], removed: ServerNode[], prev: ServerNode | null, next: ServerNode | null): void;
|
|
63
|
+
remove(): void;
|
|
64
|
+
replaceWith(...nodes: Array<ServerNode | string>): void;
|
|
65
|
+
before(...nodes: Array<ServerNode | string>): void;
|
|
66
|
+
after(...nodes: Array<ServerNode | string>): void;
|
|
67
|
+
append(...nodes: Array<ServerNode | string>): void;
|
|
68
|
+
prepend(...nodes: Array<ServerNode | string>): void;
|
|
69
|
+
replaceChildren(...nodes: Array<ServerNode | string>): void;
|
|
70
|
+
get children(): ServerNodeList<ServerElement>;
|
|
71
|
+
get childElementCount(): number;
|
|
72
|
+
get firstElementChild(): ServerElement | null;
|
|
73
|
+
get lastElementChild(): ServerElement | null;
|
|
74
|
+
get nextElementSibling(): ServerElement | null;
|
|
75
|
+
get previousElementSibling(): ServerElement | null;
|
|
76
|
+
querySelector(selector: string): ServerElement | null;
|
|
77
|
+
querySelectorAll(selector: string): ServerNodeList<ServerElement>;
|
|
78
|
+
getElementsByTagName(name: string): ServerNodeList<ServerElement>;
|
|
79
|
+
getElementsByClassName(names: string): ServerNodeList<ServerElement>;
|
|
80
|
+
cloneNode(deep?: boolean): ServerNode;
|
|
81
|
+
/** @internal */
|
|
82
|
+
_shallowClone(): ServerNode;
|
|
83
|
+
isEqualNode(other: ServerNode | null): boolean;
|
|
84
|
+
isSameNode(other: ServerNode | null): boolean;
|
|
85
|
+
normalize(): void;
|
|
86
|
+
addEventListener(type: string, fn: EventListenerOrEventListenerObject | null, options?: boolean | AddEventListenerOptions): void;
|
|
87
|
+
removeEventListener(type: string, fn: EventListenerOrEventListenerObject | null, options?: boolean | EventListenerOptions): void;
|
|
88
|
+
dispatchEvent(event: Event): boolean;
|
|
89
|
+
}
|
|
90
|
+
declare class ServerCharacterData extends ServerNode {
|
|
91
|
+
/** @internal */ _data: string;
|
|
92
|
+
constructor(doc: ServerDocument | null, data: string);
|
|
93
|
+
get data(): string;
|
|
94
|
+
set data(value: string);
|
|
95
|
+
get length(): number;
|
|
96
|
+
get nodeValue(): string;
|
|
97
|
+
set nodeValue(value: string | null);
|
|
98
|
+
get textContent(): string;
|
|
99
|
+
set textContent(value: string | null);
|
|
100
|
+
appendChild<T extends ServerNode>(_node: T): T;
|
|
101
|
+
insertBefore<T extends ServerNode>(_node: T, _ref: ServerNode | null): T;
|
|
102
|
+
}
|
|
103
|
+
declare class ServerText extends ServerCharacterData {
|
|
104
|
+
get nodeType(): number;
|
|
105
|
+
get nodeName(): string;
|
|
106
|
+
get wholeText(): string;
|
|
107
|
+
splitText(offset: number): ServerText;
|
|
108
|
+
_shallowClone(): ServerNode;
|
|
109
|
+
}
|
|
110
|
+
declare class ServerComment extends ServerCharacterData {
|
|
111
|
+
get nodeType(): number;
|
|
112
|
+
get nodeName(): string;
|
|
113
|
+
_shallowClone(): ServerNode;
|
|
114
|
+
}
|
|
115
|
+
declare class ServerDocumentFragment extends ServerNode {
|
|
116
|
+
get nodeType(): number;
|
|
117
|
+
get nodeName(): string;
|
|
118
|
+
getElementById(id: string): ServerElement | null;
|
|
119
|
+
_shallowClone(): ServerNode;
|
|
120
|
+
}
|
|
121
|
+
declare class ServerAttr {
|
|
122
|
+
readonly ownerElement: ServerElement | null;
|
|
123
|
+
readonly namespaceURI: string | null;
|
|
124
|
+
readonly prefix: string | null;
|
|
125
|
+
readonly localName: string;
|
|
126
|
+
readonly nodeType = 2;
|
|
127
|
+
readonly specified = true;
|
|
128
|
+
/** @internal */ _value: string;
|
|
129
|
+
constructor(ownerElement: ServerElement | null, namespaceURI: string | null, prefix: string | null, localName: string, value: string);
|
|
130
|
+
get name(): string;
|
|
131
|
+
get nodeName(): string;
|
|
132
|
+
get value(): string;
|
|
133
|
+
set value(v: string);
|
|
134
|
+
get nodeValue(): string;
|
|
135
|
+
get textContent(): string;
|
|
136
|
+
}
|
|
137
|
+
declare class ServerNamedNodeMap extends Array<ServerAttr> {
|
|
138
|
+
static get [Symbol.species](): ArrayConstructor;
|
|
139
|
+
item(index: number): ServerAttr | null;
|
|
140
|
+
getNamedItem(name: string): ServerAttr | null;
|
|
141
|
+
getNamedItemNS(ns: string | null, localName: string): ServerAttr | null;
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* `CSSStyleDeclaration` as a declaration map. Values are kept as written
|
|
145
|
+
* (trimmed), not normalized: a full CSSOM rewrites some values (jsdom turns
|
|
146
|
+
* `#fff` into `rgb(255, 255, 255)`), this one does not. Serialized the way
|
|
147
|
+
* browsers serialize `style`: `prop: value;` joined by spaces.
|
|
148
|
+
*/
|
|
149
|
+
declare class ServerStyle {
|
|
150
|
+
private readonly el;
|
|
151
|
+
/** @internal */ _decls: Map<string, {
|
|
152
|
+
value: string;
|
|
153
|
+
priority: string;
|
|
154
|
+
}>;
|
|
155
|
+
/** @internal */ _parsedFrom: string | null;
|
|
156
|
+
constructor(el: ServerElement);
|
|
157
|
+
/** @internal */
|
|
158
|
+
_sync(): void;
|
|
159
|
+
/** @internal */
|
|
160
|
+
_commit(): void;
|
|
161
|
+
get cssText(): string;
|
|
162
|
+
set cssText(text: string);
|
|
163
|
+
get length(): number;
|
|
164
|
+
item(index: number): string;
|
|
165
|
+
getPropertyValue(name: string): string;
|
|
166
|
+
getPropertyPriority(name: string): string;
|
|
167
|
+
setProperty(name: string, value: string | null, priority?: string): void;
|
|
168
|
+
removeProperty(name: string): string;
|
|
169
|
+
[Symbol.iterator](): IterableIterator<string>;
|
|
170
|
+
}
|
|
171
|
+
declare class ServerTokenList {
|
|
172
|
+
private readonly el;
|
|
173
|
+
private readonly attr;
|
|
174
|
+
constructor(el: ServerElement, attr: string);
|
|
175
|
+
private tokens;
|
|
176
|
+
private write;
|
|
177
|
+
get length(): number;
|
|
178
|
+
get value(): string;
|
|
179
|
+
set value(v: string);
|
|
180
|
+
item(i: number): string | null;
|
|
181
|
+
contains(token: string): boolean;
|
|
182
|
+
add(...tokens: string[]): void;
|
|
183
|
+
remove(...tokens: string[]): void;
|
|
184
|
+
toggle(token: string, force?: boolean): boolean;
|
|
185
|
+
replace(oldToken: string, newToken: string): boolean;
|
|
186
|
+
forEach(fn: (token: string, index: number) => void): void;
|
|
187
|
+
[Symbol.iterator](): IterableIterator<string>;
|
|
188
|
+
toString(): string;
|
|
189
|
+
}
|
|
190
|
+
declare class ServerElement extends ServerNode {
|
|
191
|
+
readonly localName: string;
|
|
192
|
+
readonly namespaceURI: string | null;
|
|
193
|
+
readonly prefix: string | null;
|
|
194
|
+
/** @internal */ _attrs: ServerNamedNodeMap;
|
|
195
|
+
/** @internal */ _style: ServerStyle | null;
|
|
196
|
+
/** @internal */ _classList: ServerTokenList | null;
|
|
197
|
+
constructor(doc: ServerDocument | null, localName: string, namespaceURI: string | null, prefix?: string | null);
|
|
198
|
+
get nodeType(): number;
|
|
199
|
+
private get isHtml();
|
|
200
|
+
get tagName(): string;
|
|
201
|
+
get nodeName(): string;
|
|
202
|
+
get attributes(): ServerNamedNodeMap;
|
|
203
|
+
private findAttr;
|
|
204
|
+
getAttribute(name: string): string | null;
|
|
205
|
+
getAttributeNames(): string[];
|
|
206
|
+
hasAttribute(name: string): boolean;
|
|
207
|
+
hasAttributes(): boolean;
|
|
208
|
+
setAttribute(name: string, value: unknown): void;
|
|
209
|
+
removeAttribute(name: string): void;
|
|
210
|
+
toggleAttribute(name: string, force?: boolean): boolean;
|
|
211
|
+
getAttributeNS(ns: string | null, localName: string): string | null;
|
|
212
|
+
hasAttributeNS(ns: string | null, localName: string): boolean;
|
|
213
|
+
setAttributeNS(ns: string | null, qualifiedName: string, value: unknown): void;
|
|
214
|
+
removeAttributeNS(ns: string | null, localName: string): void;
|
|
215
|
+
getAttributeNode(name: string): ServerAttr | null;
|
|
216
|
+
/** @internal */
|
|
217
|
+
_recordAttr(name: string, ns: string | null, oldValue: string | null): void;
|
|
218
|
+
get id(): string;
|
|
219
|
+
set id(v: string);
|
|
220
|
+
get className(): string;
|
|
221
|
+
set className(v: string);
|
|
222
|
+
get classList(): ServerTokenList;
|
|
223
|
+
get style(): ServerStyle;
|
|
224
|
+
set style(v: string);
|
|
225
|
+
get dataset(): Record<string, string | undefined>;
|
|
226
|
+
get innerHTML(): string;
|
|
227
|
+
set innerHTML(_value: string);
|
|
228
|
+
get outerHTML(): string;
|
|
229
|
+
insertAdjacentHTML(): void;
|
|
230
|
+
matches(selector: string): boolean;
|
|
231
|
+
closest(selector: string): ServerElement | null;
|
|
232
|
+
focus(): void;
|
|
233
|
+
blur(): void;
|
|
234
|
+
click(): void;
|
|
235
|
+
scrollIntoView(): void;
|
|
236
|
+
scrollTo(): void;
|
|
237
|
+
scrollBy(): void;
|
|
238
|
+
getBoundingClientRect(): DOMRect;
|
|
239
|
+
getClientRects(): DOMRect[];
|
|
240
|
+
get offsetWidth(): number;
|
|
241
|
+
get offsetHeight(): number;
|
|
242
|
+
get offsetTop(): number;
|
|
243
|
+
get offsetLeft(): number;
|
|
244
|
+
get offsetParent(): ServerElement | null;
|
|
245
|
+
get clientWidth(): number;
|
|
246
|
+
get clientHeight(): number;
|
|
247
|
+
get scrollWidth(): number;
|
|
248
|
+
get scrollHeight(): number;
|
|
249
|
+
scrollTop: number;
|
|
250
|
+
scrollLeft: number;
|
|
251
|
+
animate(): never;
|
|
252
|
+
getAnimations(): never;
|
|
253
|
+
attachShadow(): never;
|
|
254
|
+
requestFullscreen(): never;
|
|
255
|
+
requestPointerLock(): never;
|
|
256
|
+
setPointerCapture(): never;
|
|
257
|
+
_shallowClone(): ServerNode;
|
|
258
|
+
}
|
|
259
|
+
declare class ServerHTMLElement extends ServerElement {
|
|
260
|
+
get hidden(): boolean;
|
|
261
|
+
set hidden(v: boolean);
|
|
262
|
+
get title(): string;
|
|
263
|
+
set title(v: string);
|
|
264
|
+
get lang(): string;
|
|
265
|
+
set lang(v: string);
|
|
266
|
+
get dir(): string;
|
|
267
|
+
set dir(v: string);
|
|
268
|
+
get tabIndex(): number;
|
|
269
|
+
set tabIndex(v: number);
|
|
270
|
+
get innerText(): string;
|
|
271
|
+
set innerText(v: string);
|
|
272
|
+
}
|
|
273
|
+
declare class ServerTreeWalker {
|
|
274
|
+
readonly root: ServerNode;
|
|
275
|
+
readonly whatToShow: number;
|
|
276
|
+
readonly filter: ((node: ServerNode) => number) | {
|
|
277
|
+
acceptNode(node: ServerNode): number;
|
|
278
|
+
} | null;
|
|
279
|
+
currentNode: ServerNode;
|
|
280
|
+
constructor(root: ServerNode, whatToShow: number, filter: ((node: ServerNode) => number) | {
|
|
281
|
+
acceptNode(node: ServerNode): number;
|
|
282
|
+
} | null);
|
|
283
|
+
private accept;
|
|
284
|
+
nextNode(): ServerNode | null;
|
|
285
|
+
firstChild(): ServerNode | null;
|
|
286
|
+
nextSibling(): ServerNode | null;
|
|
287
|
+
parentNode(): ServerNode | null;
|
|
288
|
+
}
|
|
289
|
+
declare class ServerDocument extends ServerNode {
|
|
290
|
+
readonly documentElement: ServerHTMLElement;
|
|
291
|
+
readonly head: ServerHTMLElement;
|
|
292
|
+
readonly body: ServerHTMLElement;
|
|
293
|
+
readonly defaultView: null;
|
|
294
|
+
readonly readyState = "complete";
|
|
295
|
+
readonly contentType = "text/html";
|
|
296
|
+
readonly characterSet = "UTF-8";
|
|
297
|
+
readonly compatMode = "CSS1Compat";
|
|
298
|
+
readonly visibilityState = "visible";
|
|
299
|
+
readonly hidden = false;
|
|
300
|
+
cookie: string;
|
|
301
|
+
constructor();
|
|
302
|
+
get nodeType(): number;
|
|
303
|
+
get nodeName(): string;
|
|
304
|
+
get activeElement(): ServerElement;
|
|
305
|
+
get title(): string;
|
|
306
|
+
set title(v: string);
|
|
307
|
+
/** Font loading does not exist on a server: recorded as a browser-only read, answers `undefined`. */
|
|
308
|
+
get fonts(): undefined;
|
|
309
|
+
createElement(name: string): ServerElement;
|
|
310
|
+
createElementNS(ns: string | null, qualifiedName: string): ServerElement;
|
|
311
|
+
createTextNode(data: string): ServerText;
|
|
312
|
+
createComment(data: string): ServerComment;
|
|
313
|
+
createDocumentFragment(): ServerDocumentFragment;
|
|
314
|
+
createTreeWalker(root: ServerNode, whatToShow?: number, filter?: ServerTreeWalker["filter"]): ServerTreeWalker;
|
|
315
|
+
createEvent(): never;
|
|
316
|
+
getElementById(id: string): ServerElement | null;
|
|
317
|
+
hasFocus(): boolean;
|
|
318
|
+
getSelection(): null;
|
|
319
|
+
elementFromPoint(): null;
|
|
320
|
+
execCommand(): never;
|
|
321
|
+
}
|
|
322
|
+
/** Create a standalone server document (nothing global is touched). */
|
|
323
|
+
declare function createServerDocument(): ServerDocument;
|
|
324
|
+
/** True when the global `document` is a SibuJS server document. */
|
|
325
|
+
declare function isServerDom(): boolean;
|
|
326
|
+
/**
|
|
327
|
+
* Register the server DOM as the global DOM (`document`, `Node`, `Element`,
|
|
328
|
+
* `HTMLElement`, `SVGElement`, `Text`, `Comment`, `DocumentFragment`,
|
|
329
|
+
* `MutationObserver`, `NodeFilter`, and the form-control element classes).
|
|
330
|
+
*
|
|
331
|
+
* Does nothing when a DOM is already registered — happy-dom and jsdom keep
|
|
332
|
+
* working, and win — unless `force` is set. `window` is NOT defined.
|
|
333
|
+
*
|
|
334
|
+
* @param options `force` replaces an existing DOM.
|
|
335
|
+
* @returns A function that restores the previous globals.
|
|
336
|
+
*/
|
|
337
|
+
declare function installServerDom(options?: {
|
|
338
|
+
force?: boolean;
|
|
339
|
+
}): () => void;
|
|
340
|
+
|
|
341
|
+
export { ServerDocument, ServerElement, ServerNode, createServerDocument, installServerDom, isServerDom };
|
|
@@ -0,0 +1,341 @@
|
|
|
1
|
+
/** `NodeList`-shaped array: index access, `length`, `item()`, iteration. */
|
|
2
|
+
declare class ServerNodeList<T> extends Array<T> {
|
|
3
|
+
static get [Symbol.species](): ArrayConstructor;
|
|
4
|
+
item(index: number): T | null;
|
|
5
|
+
}
|
|
6
|
+
type Listener = {
|
|
7
|
+
fn: EventListenerOrEventListenerObject;
|
|
8
|
+
capture: boolean;
|
|
9
|
+
once: boolean;
|
|
10
|
+
};
|
|
11
|
+
declare class ServerNode {
|
|
12
|
+
readonly ownerDocument: ServerDocument | null;
|
|
13
|
+
static readonly ELEMENT_NODE = 1;
|
|
14
|
+
static readonly ATTRIBUTE_NODE = 2;
|
|
15
|
+
static readonly TEXT_NODE = 3;
|
|
16
|
+
static readonly COMMENT_NODE = 8;
|
|
17
|
+
static readonly DOCUMENT_NODE = 9;
|
|
18
|
+
static readonly DOCUMENT_FRAGMENT_NODE = 11;
|
|
19
|
+
static readonly DOCUMENT_POSITION_DISCONNECTED = 1;
|
|
20
|
+
static readonly DOCUMENT_POSITION_PRECEDING = 2;
|
|
21
|
+
static readonly DOCUMENT_POSITION_FOLLOWING = 4;
|
|
22
|
+
static readonly DOCUMENT_POSITION_CONTAINS = 8;
|
|
23
|
+
static readonly DOCUMENT_POSITION_CONTAINED_BY = 16;
|
|
24
|
+
/** @internal */ _parent: ServerNode | null;
|
|
25
|
+
/** @internal */ _prev: ServerNode | null;
|
|
26
|
+
/** @internal */ _next: ServerNode | null;
|
|
27
|
+
/** @internal */ _first: ServerNode | null;
|
|
28
|
+
/** @internal */ _last: ServerNode | null;
|
|
29
|
+
/** @internal */ _count: number;
|
|
30
|
+
/** @internal */ _list: ServerNodeList<ServerNode> | null;
|
|
31
|
+
/** @internal */ _listeners: Map<string, Listener[]> | null;
|
|
32
|
+
constructor(ownerDocument: ServerDocument | null);
|
|
33
|
+
get nodeType(): number;
|
|
34
|
+
get nodeName(): string;
|
|
35
|
+
get nodeValue(): string | null;
|
|
36
|
+
set nodeValue(_value: string | null);
|
|
37
|
+
get parentNode(): ServerNode | null;
|
|
38
|
+
get parentElement(): ServerElement | null;
|
|
39
|
+
get firstChild(): ServerNode | null;
|
|
40
|
+
get lastChild(): ServerNode | null;
|
|
41
|
+
get nextSibling(): ServerNode | null;
|
|
42
|
+
get previousSibling(): ServerNode | null;
|
|
43
|
+
get childNodes(): ServerNodeList<ServerNode>;
|
|
44
|
+
hasChildNodes(): boolean;
|
|
45
|
+
get isConnected(): boolean;
|
|
46
|
+
getRootNode(): ServerNode;
|
|
47
|
+
get textContent(): string | null;
|
|
48
|
+
set textContent(value: string | null);
|
|
49
|
+
contains(other: ServerNode | null): boolean;
|
|
50
|
+
compareDocumentPosition(other: ServerNode): number;
|
|
51
|
+
/** @internal */
|
|
52
|
+
_assertParentOf(node: ServerNode): void;
|
|
53
|
+
insertBefore<T extends ServerNode>(node: T, ref: ServerNode | null): T;
|
|
54
|
+
appendChild<T extends ServerNode>(node: T): T;
|
|
55
|
+
removeChild<T extends ServerNode>(node: T): T;
|
|
56
|
+
replaceChild<T extends ServerNode>(node: ServerNode, old: T): T;
|
|
57
|
+
/** @internal */
|
|
58
|
+
_link(node: ServerNode, ref: ServerNode | null, quiet: boolean): void;
|
|
59
|
+
/** @internal */
|
|
60
|
+
_unlink(node: ServerNode, quiet: boolean): void;
|
|
61
|
+
/** @internal */
|
|
62
|
+
_recordChildList(added: ServerNode[], removed: ServerNode[], prev: ServerNode | null, next: ServerNode | null): void;
|
|
63
|
+
remove(): void;
|
|
64
|
+
replaceWith(...nodes: Array<ServerNode | string>): void;
|
|
65
|
+
before(...nodes: Array<ServerNode | string>): void;
|
|
66
|
+
after(...nodes: Array<ServerNode | string>): void;
|
|
67
|
+
append(...nodes: Array<ServerNode | string>): void;
|
|
68
|
+
prepend(...nodes: Array<ServerNode | string>): void;
|
|
69
|
+
replaceChildren(...nodes: Array<ServerNode | string>): void;
|
|
70
|
+
get children(): ServerNodeList<ServerElement>;
|
|
71
|
+
get childElementCount(): number;
|
|
72
|
+
get firstElementChild(): ServerElement | null;
|
|
73
|
+
get lastElementChild(): ServerElement | null;
|
|
74
|
+
get nextElementSibling(): ServerElement | null;
|
|
75
|
+
get previousElementSibling(): ServerElement | null;
|
|
76
|
+
querySelector(selector: string): ServerElement | null;
|
|
77
|
+
querySelectorAll(selector: string): ServerNodeList<ServerElement>;
|
|
78
|
+
getElementsByTagName(name: string): ServerNodeList<ServerElement>;
|
|
79
|
+
getElementsByClassName(names: string): ServerNodeList<ServerElement>;
|
|
80
|
+
cloneNode(deep?: boolean): ServerNode;
|
|
81
|
+
/** @internal */
|
|
82
|
+
_shallowClone(): ServerNode;
|
|
83
|
+
isEqualNode(other: ServerNode | null): boolean;
|
|
84
|
+
isSameNode(other: ServerNode | null): boolean;
|
|
85
|
+
normalize(): void;
|
|
86
|
+
addEventListener(type: string, fn: EventListenerOrEventListenerObject | null, options?: boolean | AddEventListenerOptions): void;
|
|
87
|
+
removeEventListener(type: string, fn: EventListenerOrEventListenerObject | null, options?: boolean | EventListenerOptions): void;
|
|
88
|
+
dispatchEvent(event: Event): boolean;
|
|
89
|
+
}
|
|
90
|
+
declare class ServerCharacterData extends ServerNode {
|
|
91
|
+
/** @internal */ _data: string;
|
|
92
|
+
constructor(doc: ServerDocument | null, data: string);
|
|
93
|
+
get data(): string;
|
|
94
|
+
set data(value: string);
|
|
95
|
+
get length(): number;
|
|
96
|
+
get nodeValue(): string;
|
|
97
|
+
set nodeValue(value: string | null);
|
|
98
|
+
get textContent(): string;
|
|
99
|
+
set textContent(value: string | null);
|
|
100
|
+
appendChild<T extends ServerNode>(_node: T): T;
|
|
101
|
+
insertBefore<T extends ServerNode>(_node: T, _ref: ServerNode | null): T;
|
|
102
|
+
}
|
|
103
|
+
declare class ServerText extends ServerCharacterData {
|
|
104
|
+
get nodeType(): number;
|
|
105
|
+
get nodeName(): string;
|
|
106
|
+
get wholeText(): string;
|
|
107
|
+
splitText(offset: number): ServerText;
|
|
108
|
+
_shallowClone(): ServerNode;
|
|
109
|
+
}
|
|
110
|
+
declare class ServerComment extends ServerCharacterData {
|
|
111
|
+
get nodeType(): number;
|
|
112
|
+
get nodeName(): string;
|
|
113
|
+
_shallowClone(): ServerNode;
|
|
114
|
+
}
|
|
115
|
+
declare class ServerDocumentFragment extends ServerNode {
|
|
116
|
+
get nodeType(): number;
|
|
117
|
+
get nodeName(): string;
|
|
118
|
+
getElementById(id: string): ServerElement | null;
|
|
119
|
+
_shallowClone(): ServerNode;
|
|
120
|
+
}
|
|
121
|
+
declare class ServerAttr {
|
|
122
|
+
readonly ownerElement: ServerElement | null;
|
|
123
|
+
readonly namespaceURI: string | null;
|
|
124
|
+
readonly prefix: string | null;
|
|
125
|
+
readonly localName: string;
|
|
126
|
+
readonly nodeType = 2;
|
|
127
|
+
readonly specified = true;
|
|
128
|
+
/** @internal */ _value: string;
|
|
129
|
+
constructor(ownerElement: ServerElement | null, namespaceURI: string | null, prefix: string | null, localName: string, value: string);
|
|
130
|
+
get name(): string;
|
|
131
|
+
get nodeName(): string;
|
|
132
|
+
get value(): string;
|
|
133
|
+
set value(v: string);
|
|
134
|
+
get nodeValue(): string;
|
|
135
|
+
get textContent(): string;
|
|
136
|
+
}
|
|
137
|
+
declare class ServerNamedNodeMap extends Array<ServerAttr> {
|
|
138
|
+
static get [Symbol.species](): ArrayConstructor;
|
|
139
|
+
item(index: number): ServerAttr | null;
|
|
140
|
+
getNamedItem(name: string): ServerAttr | null;
|
|
141
|
+
getNamedItemNS(ns: string | null, localName: string): ServerAttr | null;
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* `CSSStyleDeclaration` as a declaration map. Values are kept as written
|
|
145
|
+
* (trimmed), not normalized: a full CSSOM rewrites some values (jsdom turns
|
|
146
|
+
* `#fff` into `rgb(255, 255, 255)`), this one does not. Serialized the way
|
|
147
|
+
* browsers serialize `style`: `prop: value;` joined by spaces.
|
|
148
|
+
*/
|
|
149
|
+
declare class ServerStyle {
|
|
150
|
+
private readonly el;
|
|
151
|
+
/** @internal */ _decls: Map<string, {
|
|
152
|
+
value: string;
|
|
153
|
+
priority: string;
|
|
154
|
+
}>;
|
|
155
|
+
/** @internal */ _parsedFrom: string | null;
|
|
156
|
+
constructor(el: ServerElement);
|
|
157
|
+
/** @internal */
|
|
158
|
+
_sync(): void;
|
|
159
|
+
/** @internal */
|
|
160
|
+
_commit(): void;
|
|
161
|
+
get cssText(): string;
|
|
162
|
+
set cssText(text: string);
|
|
163
|
+
get length(): number;
|
|
164
|
+
item(index: number): string;
|
|
165
|
+
getPropertyValue(name: string): string;
|
|
166
|
+
getPropertyPriority(name: string): string;
|
|
167
|
+
setProperty(name: string, value: string | null, priority?: string): void;
|
|
168
|
+
removeProperty(name: string): string;
|
|
169
|
+
[Symbol.iterator](): IterableIterator<string>;
|
|
170
|
+
}
|
|
171
|
+
declare class ServerTokenList {
|
|
172
|
+
private readonly el;
|
|
173
|
+
private readonly attr;
|
|
174
|
+
constructor(el: ServerElement, attr: string);
|
|
175
|
+
private tokens;
|
|
176
|
+
private write;
|
|
177
|
+
get length(): number;
|
|
178
|
+
get value(): string;
|
|
179
|
+
set value(v: string);
|
|
180
|
+
item(i: number): string | null;
|
|
181
|
+
contains(token: string): boolean;
|
|
182
|
+
add(...tokens: string[]): void;
|
|
183
|
+
remove(...tokens: string[]): void;
|
|
184
|
+
toggle(token: string, force?: boolean): boolean;
|
|
185
|
+
replace(oldToken: string, newToken: string): boolean;
|
|
186
|
+
forEach(fn: (token: string, index: number) => void): void;
|
|
187
|
+
[Symbol.iterator](): IterableIterator<string>;
|
|
188
|
+
toString(): string;
|
|
189
|
+
}
|
|
190
|
+
declare class ServerElement extends ServerNode {
|
|
191
|
+
readonly localName: string;
|
|
192
|
+
readonly namespaceURI: string | null;
|
|
193
|
+
readonly prefix: string | null;
|
|
194
|
+
/** @internal */ _attrs: ServerNamedNodeMap;
|
|
195
|
+
/** @internal */ _style: ServerStyle | null;
|
|
196
|
+
/** @internal */ _classList: ServerTokenList | null;
|
|
197
|
+
constructor(doc: ServerDocument | null, localName: string, namespaceURI: string | null, prefix?: string | null);
|
|
198
|
+
get nodeType(): number;
|
|
199
|
+
private get isHtml();
|
|
200
|
+
get tagName(): string;
|
|
201
|
+
get nodeName(): string;
|
|
202
|
+
get attributes(): ServerNamedNodeMap;
|
|
203
|
+
private findAttr;
|
|
204
|
+
getAttribute(name: string): string | null;
|
|
205
|
+
getAttributeNames(): string[];
|
|
206
|
+
hasAttribute(name: string): boolean;
|
|
207
|
+
hasAttributes(): boolean;
|
|
208
|
+
setAttribute(name: string, value: unknown): void;
|
|
209
|
+
removeAttribute(name: string): void;
|
|
210
|
+
toggleAttribute(name: string, force?: boolean): boolean;
|
|
211
|
+
getAttributeNS(ns: string | null, localName: string): string | null;
|
|
212
|
+
hasAttributeNS(ns: string | null, localName: string): boolean;
|
|
213
|
+
setAttributeNS(ns: string | null, qualifiedName: string, value: unknown): void;
|
|
214
|
+
removeAttributeNS(ns: string | null, localName: string): void;
|
|
215
|
+
getAttributeNode(name: string): ServerAttr | null;
|
|
216
|
+
/** @internal */
|
|
217
|
+
_recordAttr(name: string, ns: string | null, oldValue: string | null): void;
|
|
218
|
+
get id(): string;
|
|
219
|
+
set id(v: string);
|
|
220
|
+
get className(): string;
|
|
221
|
+
set className(v: string);
|
|
222
|
+
get classList(): ServerTokenList;
|
|
223
|
+
get style(): ServerStyle;
|
|
224
|
+
set style(v: string);
|
|
225
|
+
get dataset(): Record<string, string | undefined>;
|
|
226
|
+
get innerHTML(): string;
|
|
227
|
+
set innerHTML(_value: string);
|
|
228
|
+
get outerHTML(): string;
|
|
229
|
+
insertAdjacentHTML(): void;
|
|
230
|
+
matches(selector: string): boolean;
|
|
231
|
+
closest(selector: string): ServerElement | null;
|
|
232
|
+
focus(): void;
|
|
233
|
+
blur(): void;
|
|
234
|
+
click(): void;
|
|
235
|
+
scrollIntoView(): void;
|
|
236
|
+
scrollTo(): void;
|
|
237
|
+
scrollBy(): void;
|
|
238
|
+
getBoundingClientRect(): DOMRect;
|
|
239
|
+
getClientRects(): DOMRect[];
|
|
240
|
+
get offsetWidth(): number;
|
|
241
|
+
get offsetHeight(): number;
|
|
242
|
+
get offsetTop(): number;
|
|
243
|
+
get offsetLeft(): number;
|
|
244
|
+
get offsetParent(): ServerElement | null;
|
|
245
|
+
get clientWidth(): number;
|
|
246
|
+
get clientHeight(): number;
|
|
247
|
+
get scrollWidth(): number;
|
|
248
|
+
get scrollHeight(): number;
|
|
249
|
+
scrollTop: number;
|
|
250
|
+
scrollLeft: number;
|
|
251
|
+
animate(): never;
|
|
252
|
+
getAnimations(): never;
|
|
253
|
+
attachShadow(): never;
|
|
254
|
+
requestFullscreen(): never;
|
|
255
|
+
requestPointerLock(): never;
|
|
256
|
+
setPointerCapture(): never;
|
|
257
|
+
_shallowClone(): ServerNode;
|
|
258
|
+
}
|
|
259
|
+
declare class ServerHTMLElement extends ServerElement {
|
|
260
|
+
get hidden(): boolean;
|
|
261
|
+
set hidden(v: boolean);
|
|
262
|
+
get title(): string;
|
|
263
|
+
set title(v: string);
|
|
264
|
+
get lang(): string;
|
|
265
|
+
set lang(v: string);
|
|
266
|
+
get dir(): string;
|
|
267
|
+
set dir(v: string);
|
|
268
|
+
get tabIndex(): number;
|
|
269
|
+
set tabIndex(v: number);
|
|
270
|
+
get innerText(): string;
|
|
271
|
+
set innerText(v: string);
|
|
272
|
+
}
|
|
273
|
+
declare class ServerTreeWalker {
|
|
274
|
+
readonly root: ServerNode;
|
|
275
|
+
readonly whatToShow: number;
|
|
276
|
+
readonly filter: ((node: ServerNode) => number) | {
|
|
277
|
+
acceptNode(node: ServerNode): number;
|
|
278
|
+
} | null;
|
|
279
|
+
currentNode: ServerNode;
|
|
280
|
+
constructor(root: ServerNode, whatToShow: number, filter: ((node: ServerNode) => number) | {
|
|
281
|
+
acceptNode(node: ServerNode): number;
|
|
282
|
+
} | null);
|
|
283
|
+
private accept;
|
|
284
|
+
nextNode(): ServerNode | null;
|
|
285
|
+
firstChild(): ServerNode | null;
|
|
286
|
+
nextSibling(): ServerNode | null;
|
|
287
|
+
parentNode(): ServerNode | null;
|
|
288
|
+
}
|
|
289
|
+
declare class ServerDocument extends ServerNode {
|
|
290
|
+
readonly documentElement: ServerHTMLElement;
|
|
291
|
+
readonly head: ServerHTMLElement;
|
|
292
|
+
readonly body: ServerHTMLElement;
|
|
293
|
+
readonly defaultView: null;
|
|
294
|
+
readonly readyState = "complete";
|
|
295
|
+
readonly contentType = "text/html";
|
|
296
|
+
readonly characterSet = "UTF-8";
|
|
297
|
+
readonly compatMode = "CSS1Compat";
|
|
298
|
+
readonly visibilityState = "visible";
|
|
299
|
+
readonly hidden = false;
|
|
300
|
+
cookie: string;
|
|
301
|
+
constructor();
|
|
302
|
+
get nodeType(): number;
|
|
303
|
+
get nodeName(): string;
|
|
304
|
+
get activeElement(): ServerElement;
|
|
305
|
+
get title(): string;
|
|
306
|
+
set title(v: string);
|
|
307
|
+
/** Font loading does not exist on a server: recorded as a browser-only read, answers `undefined`. */
|
|
308
|
+
get fonts(): undefined;
|
|
309
|
+
createElement(name: string): ServerElement;
|
|
310
|
+
createElementNS(ns: string | null, qualifiedName: string): ServerElement;
|
|
311
|
+
createTextNode(data: string): ServerText;
|
|
312
|
+
createComment(data: string): ServerComment;
|
|
313
|
+
createDocumentFragment(): ServerDocumentFragment;
|
|
314
|
+
createTreeWalker(root: ServerNode, whatToShow?: number, filter?: ServerTreeWalker["filter"]): ServerTreeWalker;
|
|
315
|
+
createEvent(): never;
|
|
316
|
+
getElementById(id: string): ServerElement | null;
|
|
317
|
+
hasFocus(): boolean;
|
|
318
|
+
getSelection(): null;
|
|
319
|
+
elementFromPoint(): null;
|
|
320
|
+
execCommand(): never;
|
|
321
|
+
}
|
|
322
|
+
/** Create a standalone server document (nothing global is touched). */
|
|
323
|
+
declare function createServerDocument(): ServerDocument;
|
|
324
|
+
/** True when the global `document` is a SibuJS server document. */
|
|
325
|
+
declare function isServerDom(): boolean;
|
|
326
|
+
/**
|
|
327
|
+
* Register the server DOM as the global DOM (`document`, `Node`, `Element`,
|
|
328
|
+
* `HTMLElement`, `SVGElement`, `Text`, `Comment`, `DocumentFragment`,
|
|
329
|
+
* `MutationObserver`, `NodeFilter`, and the form-control element classes).
|
|
330
|
+
*
|
|
331
|
+
* Does nothing when a DOM is already registered — happy-dom and jsdom keep
|
|
332
|
+
* working, and win — unless `force` is set. `window` is NOT defined.
|
|
333
|
+
*
|
|
334
|
+
* @param options `force` replaces an existing DOM.
|
|
335
|
+
* @returns A function that restores the previous globals.
|
|
336
|
+
*/
|
|
337
|
+
declare function installServerDom(options?: {
|
|
338
|
+
force?: boolean;
|
|
339
|
+
}): () => void;
|
|
340
|
+
|
|
341
|
+
export { ServerDocument, ServerElement, ServerNode, createServerDocument, installServerDom, isServerDom };
|
package/dist/ssr-dom.js
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ServerDocument,
|
|
3
|
+
ServerElement,
|
|
4
|
+
ServerNode,
|
|
5
|
+
createServerDocument,
|
|
6
|
+
installServerDom,
|
|
7
|
+
isServerDom
|
|
8
|
+
} from "./chunk-CNPT6NKV.js";
|
|
9
|
+
import "./chunk-UYTYNCMZ.js";
|
|
10
|
+
import "./chunk-NT3ZYB5S.js";
|
|
11
|
+
import "./chunk-R5U7XKVJ.js";
|
|
12
|
+
export {
|
|
13
|
+
ServerDocument,
|
|
14
|
+
ServerElement,
|
|
15
|
+
ServerNode,
|
|
16
|
+
createServerDocument,
|
|
17
|
+
installServerDom,
|
|
18
|
+
isServerDom
|
|
19
|
+
};
|