elit 2.0.1 → 3.0.1
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 +275 -128
- package/dist/build.d.mts +10 -1
- package/dist/build.d.ts +10 -1
- package/dist/build.js +670 -1
- package/dist/build.mjs +641 -1
- package/dist/chokidar.d.mts +134 -0
- package/dist/chokidar.d.ts +134 -0
- package/dist/chokidar.js +240 -0
- package/dist/chokidar.mjs +221 -0
- package/dist/cli.js +2792 -495
- package/dist/dom.d.mts +10 -3
- package/dist/dom.d.ts +10 -3
- package/dist/dom.js +676 -1
- package/dist/dom.mjs +647 -1
- package/dist/el.d.mts +16 -36
- package/dist/el.d.ts +16 -36
- package/dist/el.js +789 -1
- package/dist/el.mjs +583 -1
- package/dist/fs.d.mts +255 -0
- package/dist/fs.d.ts +255 -0
- package/dist/fs.js +513 -0
- package/dist/fs.mjs +469 -0
- package/dist/hmr.js +112 -1
- package/dist/hmr.mjs +91 -1
- package/dist/http.d.mts +163 -0
- package/dist/http.d.ts +163 -0
- package/dist/http.js +632 -0
- package/dist/http.mjs +605 -0
- package/dist/https.d.mts +108 -0
- package/dist/https.d.ts +108 -0
- package/dist/https.js +907 -0
- package/dist/https.mjs +901 -0
- package/dist/index.d.mts +613 -33
- package/dist/index.d.ts +613 -33
- package/dist/index.js +2589 -1
- package/dist/index.mjs +2312 -1
- package/dist/mime-types.d.mts +48 -0
- package/dist/mime-types.d.ts +48 -0
- package/dist/mime-types.js +197 -0
- package/dist/mime-types.mjs +166 -0
- package/dist/path.d.mts +163 -0
- package/dist/path.d.ts +163 -0
- package/dist/path.js +350 -0
- package/dist/path.mjs +310 -0
- package/dist/router.d.mts +3 -1
- package/dist/router.d.ts +3 -1
- package/dist/router.js +830 -1
- package/dist/router.mjs +801 -1
- package/dist/runtime.d.mts +97 -0
- package/dist/runtime.d.ts +97 -0
- package/dist/runtime.js +43 -0
- package/dist/runtime.mjs +15 -0
- package/dist/server.d.mts +5 -1
- package/dist/server.d.ts +5 -1
- package/dist/server.js +3267 -1
- package/dist/server.mjs +3241 -1
- package/dist/state.d.mts +3 -1
- package/dist/state.d.ts +3 -1
- package/dist/state.js +1036 -1
- package/dist/state.mjs +992 -1
- package/dist/style.d.mts +47 -1
- package/dist/style.d.ts +47 -1
- package/dist/style.js +551 -1
- package/dist/style.mjs +483 -1
- package/dist/{types-DOAdFFJB.d.ts → types-C0nGi6MX.d.mts} +29 -13
- package/dist/{types-DOAdFFJB.d.mts → types-Du6kfwTm.d.ts} +29 -13
- package/dist/types.d.mts +452 -3
- package/dist/types.d.ts +452 -3
- package/dist/types.js +18 -1
- package/dist/ws.d.mts +195 -0
- package/dist/ws.d.ts +195 -0
- package/dist/ws.js +380 -0
- package/dist/ws.mjs +358 -0
- package/dist/wss.d.mts +108 -0
- package/dist/wss.d.ts +108 -0
- package/dist/wss.js +1306 -0
- package/dist/wss.mjs +1300 -0
- package/package.json +53 -6
- package/dist/client.d.mts +0 -9
- package/dist/client.d.ts +0 -9
- package/dist/client.js +0 -1
- package/dist/client.mjs +0 -1
package/dist/el.d.mts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ElementFactory } from './types.mjs';
|
|
2
|
+
import 'node:events';
|
|
3
|
+
import 'events';
|
|
2
4
|
import 'http';
|
|
3
5
|
import 'ws';
|
|
4
6
|
|
|
@@ -188,40 +190,18 @@ declare const mathMsup: ElementFactory;
|
|
|
188
190
|
declare const varElement: ElementFactory;
|
|
189
191
|
declare const el: Partial<Elements>;
|
|
190
192
|
|
|
191
|
-
declare const doc:
|
|
192
|
-
declare const getEl:
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
declare const
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
|
205
|
-
};
|
|
206
|
-
declare const createEl: {
|
|
207
|
-
<K extends keyof HTMLElementTagNameMap>(tagName: K, options?: ElementCreationOptions): HTMLElementTagNameMap[K];
|
|
208
|
-
<K extends keyof HTMLElementDeprecatedTagNameMap>(tagName: K, options?: ElementCreationOptions): HTMLElementDeprecatedTagNameMap[K];
|
|
209
|
-
(tagName: string, options?: ElementCreationOptions): HTMLElement;
|
|
210
|
-
};
|
|
211
|
-
declare const createSvgEl: (qualifiedName: string, options?: string | ElementCreationOptions | undefined) => Element;
|
|
212
|
-
declare const createMathEl: (qualifiedName: string, options?: string | ElementCreationOptions | undefined) => Element;
|
|
213
|
-
declare const fragment: () => DocumentFragment;
|
|
214
|
-
declare const textNode: (data: string) => Text;
|
|
215
|
-
declare const commentNode: (data: string) => Comment;
|
|
216
|
-
declare const getElId: (elementId: string) => HTMLElement | null;
|
|
217
|
-
declare const getElClass: (classNames: string) => HTMLCollectionOf<Element>;
|
|
218
|
-
declare const getElTag: {
|
|
219
|
-
<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
|
|
220
|
-
<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
|
|
221
|
-
<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
|
|
222
|
-
<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
223
|
-
(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
224
|
-
};
|
|
225
|
-
declare const getElName: (elementName: string) => NodeListOf<HTMLElement>;
|
|
193
|
+
declare const doc: any;
|
|
194
|
+
declare const getEl: any;
|
|
195
|
+
declare const getEls: any;
|
|
196
|
+
declare const createEl: any;
|
|
197
|
+
declare const createSvgEl: any;
|
|
198
|
+
declare const createMathEl: any;
|
|
199
|
+
declare const fragment: any;
|
|
200
|
+
declare const textNode: any;
|
|
201
|
+
declare const commentNode: any;
|
|
202
|
+
declare const getElId: any;
|
|
203
|
+
declare const getElClass: any;
|
|
204
|
+
declare const getElTag: any;
|
|
205
|
+
declare const getElName: any;
|
|
226
206
|
|
|
227
207
|
export { a, abbr, address, area, article, aside, audio, b, base, bdi, bdo, blockquote, body, br, button, canvas, caption, cite, code, col, colgroup, commentNode, createEl, createElementFactory, createMathEl, createSvgEl, data, datalist, dd, del, details, dfn, dialog, div, dl, doc, dt, el, elements, em, embed, fieldset, figcaption, figure, footer, form, fragment, getEl, getElClass, getElId, getElName, getElTag, getEls, h1, h2, h3, h4, h5, h6, head, header, hr, html, i, iframe, img, input, ins, kbd, label, legend, li, link, main, map, mark, mathMath, mathMfrac, mathMi, mathMn, mathMo, mathMroot, mathMrow, mathMs, mathMsqrt, mathMsub, mathMsup, mathMtext, menu, meta, meter, nav, noscript, object, ol, optgroup, option, output, p, param, picture, portal, pre, progress, q, rp, rt, ruby, s, samp, script, section, select, slot, small, source, span, strong, style, sub, summary, sup, svgAnimate, svgAnimateMotion, svgAnimateTransform, svgCircle, svgClipPath, svgDefs, svgEllipse, svgFeBlend, svgFeColorMatrix, svgFeComponentTransfer, svgFeComposite, svgFeConvolveMatrix, svgFeDiffuseLighting, svgFeDisplacementMap, svgFeFlood, svgFeGaussianBlur, svgFeMorphology, svgFeOffset, svgFeSpecularLighting, svgFeTile, svgFeTurbulence, svgFilter, svgForeignObject, svgG, svgImage, svgLine, svgLinearGradient, svgMarker, svgMask, svgPath, svgPattern, svgPolygon, svgPolyline, svgRadialGradient, svgRect, svgSet, svgStop, svgSvg, svgSymbol, svgText, svgTspan, svgUse, table, tbody, td, template, textNode, textarea, tfoot, th, thead, time, title, tr, track, u, ul, varElement, video, wbr };
|
package/dist/el.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ElementFactory } from './types.js';
|
|
2
|
+
import 'node:events';
|
|
3
|
+
import 'events';
|
|
2
4
|
import 'http';
|
|
3
5
|
import 'ws';
|
|
4
6
|
|
|
@@ -188,40 +190,18 @@ declare const mathMsup: ElementFactory;
|
|
|
188
190
|
declare const varElement: ElementFactory;
|
|
189
191
|
declare const el: Partial<Elements>;
|
|
190
192
|
|
|
191
|
-
declare const doc:
|
|
192
|
-
declare const getEl:
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
declare const
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
|
205
|
-
};
|
|
206
|
-
declare const createEl: {
|
|
207
|
-
<K extends keyof HTMLElementTagNameMap>(tagName: K, options?: ElementCreationOptions): HTMLElementTagNameMap[K];
|
|
208
|
-
<K extends keyof HTMLElementDeprecatedTagNameMap>(tagName: K, options?: ElementCreationOptions): HTMLElementDeprecatedTagNameMap[K];
|
|
209
|
-
(tagName: string, options?: ElementCreationOptions): HTMLElement;
|
|
210
|
-
};
|
|
211
|
-
declare const createSvgEl: (qualifiedName: string, options?: string | ElementCreationOptions | undefined) => Element;
|
|
212
|
-
declare const createMathEl: (qualifiedName: string, options?: string | ElementCreationOptions | undefined) => Element;
|
|
213
|
-
declare const fragment: () => DocumentFragment;
|
|
214
|
-
declare const textNode: (data: string) => Text;
|
|
215
|
-
declare const commentNode: (data: string) => Comment;
|
|
216
|
-
declare const getElId: (elementId: string) => HTMLElement | null;
|
|
217
|
-
declare const getElClass: (classNames: string) => HTMLCollectionOf<Element>;
|
|
218
|
-
declare const getElTag: {
|
|
219
|
-
<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
|
|
220
|
-
<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
|
|
221
|
-
<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
|
|
222
|
-
<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
223
|
-
(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
224
|
-
};
|
|
225
|
-
declare const getElName: (elementName: string) => NodeListOf<HTMLElement>;
|
|
193
|
+
declare const doc: any;
|
|
194
|
+
declare const getEl: any;
|
|
195
|
+
declare const getEls: any;
|
|
196
|
+
declare const createEl: any;
|
|
197
|
+
declare const createSvgEl: any;
|
|
198
|
+
declare const createMathEl: any;
|
|
199
|
+
declare const fragment: any;
|
|
200
|
+
declare const textNode: any;
|
|
201
|
+
declare const commentNode: any;
|
|
202
|
+
declare const getElId: any;
|
|
203
|
+
declare const getElClass: any;
|
|
204
|
+
declare const getElTag: any;
|
|
205
|
+
declare const getElName: any;
|
|
226
206
|
|
|
227
207
|
export { a, abbr, address, area, article, aside, audio, b, base, bdi, bdo, blockquote, body, br, button, canvas, caption, cite, code, col, colgroup, commentNode, createEl, createElementFactory, createMathEl, createSvgEl, data, datalist, dd, del, details, dfn, dialog, div, dl, doc, dt, el, elements, em, embed, fieldset, figcaption, figure, footer, form, fragment, getEl, getElClass, getElId, getElName, getElTag, getEls, h1, h2, h3, h4, h5, h6, head, header, hr, html, i, iframe, img, input, ins, kbd, label, legend, li, link, main, map, mark, mathMath, mathMfrac, mathMi, mathMn, mathMo, mathMroot, mathMrow, mathMs, mathMsqrt, mathMsub, mathMsup, mathMtext, menu, meta, meter, nav, noscript, object, ol, optgroup, option, output, p, param, picture, portal, pre, progress, q, rp, rt, ruby, s, samp, script, section, select, slot, small, source, span, strong, style, sub, summary, sup, svgAnimate, svgAnimateMotion, svgAnimateTransform, svgCircle, svgClipPath, svgDefs, svgEllipse, svgFeBlend, svgFeColorMatrix, svgFeComponentTransfer, svgFeComposite, svgFeConvolveMatrix, svgFeDiffuseLighting, svgFeDisplacementMap, svgFeFlood, svgFeGaussianBlur, svgFeMorphology, svgFeOffset, svgFeSpecularLighting, svgFeTile, svgFeTurbulence, svgFilter, svgForeignObject, svgG, svgImage, svgLine, svgLinearGradient, svgMarker, svgMask, svgPath, svgPattern, svgPolygon, svgPolyline, svgRadialGradient, svgRect, svgSet, svgStop, svgSvg, svgSymbol, svgText, svgTspan, svgUse, table, tbody, td, template, textNode, textarea, tfoot, th, thead, time, title, tr, track, u, ul, varElement, video, wbr };
|