elit 3.0.8 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/build.d.mts +20 -0
- package/dist/chokidar.d.mts +134 -0
- package/dist/cli.js +17 -1
- package/dist/dom.d.mts +87 -0
- package/dist/el.d.mts +207 -0
- package/dist/fs.d.mts +255 -0
- package/dist/hmr.d.mts +38 -0
- package/dist/http.d.mts +163 -0
- package/dist/https.d.mts +108 -0
- package/dist/index.d.mts +11 -0
- package/dist/index.mjs +0 -2
- package/dist/mime-types.d.mts +48 -0
- package/dist/path.d.mts +163 -0
- package/dist/router.d.mts +47 -0
- package/dist/runtime.d.mts +97 -0
- package/dist/server-BgWmjg9q.d.mts +282 -0
- package/dist/server-CcEBQ7L6.d.ts +282 -0
- package/dist/server.d.mts +7 -0
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +47 -5
- package/dist/server.mjs +47 -5
- package/dist/state.d.mts +111 -0
- package/dist/style.d.mts +159 -0
- package/dist/types.d.mts +446 -0
- package/dist/ws.d.mts +195 -0
- package/dist/wss.d.mts +108 -0
- package/package.json +3 -1
- package/src/server.ts +82 -8
package/dist/build.d.mts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { B as BuildOptions, a as BuildResult } from './server-BgWmjg9q.mjs';
|
|
2
|
+
import './http.mjs';
|
|
3
|
+
import 'node:events';
|
|
4
|
+
import './ws.mjs';
|
|
5
|
+
import 'events';
|
|
6
|
+
import 'http';
|
|
7
|
+
import 'ws';
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Build module for bundling applications
|
|
11
|
+
* Pure implementation with cross-runtime support
|
|
12
|
+
* Compatible with standard build tools API
|
|
13
|
+
* - Node.js: uses esbuild
|
|
14
|
+
* - Bun: uses Bun.build
|
|
15
|
+
* - Deno: uses Deno.emit
|
|
16
|
+
*/
|
|
17
|
+
|
|
18
|
+
declare function build(options: BuildOptions): Promise<BuildResult>;
|
|
19
|
+
|
|
20
|
+
export { BuildOptions, BuildResult, build };
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import { EventEmitter } from 'events';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* File watcher module with unified API across runtimes
|
|
5
|
+
* Pure implementation without external dependencies
|
|
6
|
+
* Compatible with 'chokidar' package API
|
|
7
|
+
* - Node.js: uses native fs.watch
|
|
8
|
+
* - Bun: uses native fs.watch with enhancements
|
|
9
|
+
* - Deno: uses Deno.watchFs
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Watch options
|
|
14
|
+
*/
|
|
15
|
+
interface WatchOptions {
|
|
16
|
+
/**
|
|
17
|
+
* Indicates whether the process should continue to run as long as files are being watched.
|
|
18
|
+
* If set to false, the process will continue running even if the watcher is closed.
|
|
19
|
+
*/
|
|
20
|
+
persistent?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Indicates whether to watch files that don't have read permissions.
|
|
23
|
+
*/
|
|
24
|
+
ignorePermissionErrors?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* A function that takes one parameter (the path of the file/directory)
|
|
27
|
+
* and returns true to ignore or false to watch.
|
|
28
|
+
*/
|
|
29
|
+
ignored?: string | RegExp | ((path: string) => boolean);
|
|
30
|
+
/**
|
|
31
|
+
* If set to false, only the parent directory will be watched for new files.
|
|
32
|
+
*/
|
|
33
|
+
ignoreInitial?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* If set to true, symlinks will be followed.
|
|
36
|
+
*/
|
|
37
|
+
followSymlinks?: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* Interval of file system polling (in milliseconds).
|
|
40
|
+
*/
|
|
41
|
+
interval?: number;
|
|
42
|
+
/**
|
|
43
|
+
* Interval of file system polling for binary files (in milliseconds).
|
|
44
|
+
*/
|
|
45
|
+
binaryInterval?: number;
|
|
46
|
+
/**
|
|
47
|
+
* If set to true, will provide fs.Stats object as second argument
|
|
48
|
+
* in add, addDir, and change events.
|
|
49
|
+
*/
|
|
50
|
+
alwaysStat?: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* If set, limits how many levels of subdirectories will be traversed.
|
|
53
|
+
*/
|
|
54
|
+
depth?: number;
|
|
55
|
+
/**
|
|
56
|
+
* By default, add event fires when a file first appears on disk.
|
|
57
|
+
* Setting this will wait for the write to finish before firing.
|
|
58
|
+
*/
|
|
59
|
+
awaitWriteFinish?: boolean | {
|
|
60
|
+
stabilityThreshold?: number;
|
|
61
|
+
pollInterval?: number;
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* If set to true, will use fs.watchFile() (polling) instead of fs.watch().
|
|
65
|
+
*/
|
|
66
|
+
usePolling?: boolean;
|
|
67
|
+
/**
|
|
68
|
+
* Whether to use fsevents watching on macOS (if available).
|
|
69
|
+
*/
|
|
70
|
+
useFsEvents?: boolean;
|
|
71
|
+
/**
|
|
72
|
+
* The base path to watch.
|
|
73
|
+
*/
|
|
74
|
+
cwd?: string;
|
|
75
|
+
/**
|
|
76
|
+
* Whether to disable globbing.
|
|
77
|
+
*/
|
|
78
|
+
disableGlobbing?: boolean;
|
|
79
|
+
/**
|
|
80
|
+
* Automatically filter out artifacts that occur when using editors.
|
|
81
|
+
*/
|
|
82
|
+
atomic?: boolean | number;
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* FSWatcher class - Compatible with chokidar
|
|
86
|
+
*/
|
|
87
|
+
declare class FSWatcher extends EventEmitter {
|
|
88
|
+
private _watcher;
|
|
89
|
+
private _closed;
|
|
90
|
+
private _watched;
|
|
91
|
+
constructor(options?: WatchOptions);
|
|
92
|
+
options: WatchOptions;
|
|
93
|
+
/**
|
|
94
|
+
* Add paths to be watched
|
|
95
|
+
*/
|
|
96
|
+
add(paths: string | string[]): FSWatcher;
|
|
97
|
+
/**
|
|
98
|
+
* Stop watching paths
|
|
99
|
+
*/
|
|
100
|
+
unwatch(paths: string | string[]): FSWatcher;
|
|
101
|
+
/**
|
|
102
|
+
* Close the watcher
|
|
103
|
+
*/
|
|
104
|
+
close(): Promise<void>;
|
|
105
|
+
/**
|
|
106
|
+
* Get watched paths
|
|
107
|
+
*/
|
|
108
|
+
getWatched(): {
|
|
109
|
+
[directory: string]: string[];
|
|
110
|
+
};
|
|
111
|
+
/**
|
|
112
|
+
* Internal method to set native watcher
|
|
113
|
+
* @internal
|
|
114
|
+
*/
|
|
115
|
+
_setWatcher(watcher: any): void;
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* Watch files and directories
|
|
119
|
+
*/
|
|
120
|
+
declare function watch(paths: string | string[], options?: WatchOptions): FSWatcher;
|
|
121
|
+
/**
|
|
122
|
+
* Get current runtime
|
|
123
|
+
*/
|
|
124
|
+
declare function getRuntime(): 'node' | 'bun' | 'deno';
|
|
125
|
+
/**
|
|
126
|
+
* Default export
|
|
127
|
+
*/
|
|
128
|
+
declare const _default: {
|
|
129
|
+
watch: typeof watch;
|
|
130
|
+
FSWatcher: typeof FSWatcher;
|
|
131
|
+
getRuntime: typeof getRuntime;
|
|
132
|
+
};
|
|
133
|
+
|
|
134
|
+
export { FSWatcher, type WatchOptions, _default as default, getRuntime, watch };
|
package/dist/cli.js
CHANGED
|
@@ -1412,10 +1412,11 @@ var require_package = __commonJS({
|
|
|
1412
1412
|
"package.json"(exports2, module2) {
|
|
1413
1413
|
module2.exports = {
|
|
1414
1414
|
name: "elit",
|
|
1415
|
-
version: "3.0
|
|
1415
|
+
version: "3.1.0",
|
|
1416
1416
|
description: "Optimized lightweight library for creating DOM elements with reactive state",
|
|
1417
1417
|
main: "dist/index.js",
|
|
1418
1418
|
module: "dist/index.mjs",
|
|
1419
|
+
browser: "dist/index.mjs",
|
|
1419
1420
|
types: "dist/index.d.ts",
|
|
1420
1421
|
bin: {
|
|
1421
1422
|
elit: "./dist/cli.js"
|
|
@@ -1423,6 +1424,7 @@ var require_package = __commonJS({
|
|
|
1423
1424
|
exports: {
|
|
1424
1425
|
".": {
|
|
1425
1426
|
types: "./dist/index.d.ts",
|
|
1427
|
+
browser: "./dist/index.mjs",
|
|
1426
1428
|
import: "./dist/index.mjs",
|
|
1427
1429
|
require: "./dist/index.js"
|
|
1428
1430
|
},
|
|
@@ -3073,6 +3075,9 @@ async function findSpecialDir(startDir, targetDir) {
|
|
|
3073
3075
|
return null;
|
|
3074
3076
|
}
|
|
3075
3077
|
var importMapCache = /* @__PURE__ */ new Map();
|
|
3078
|
+
function clearImportMapCache() {
|
|
3079
|
+
importMapCache.clear();
|
|
3080
|
+
}
|
|
3076
3081
|
async function generateExternalImportMaps(rootDir, basePath = "") {
|
|
3077
3082
|
const cacheKey = `${rootDir}:${basePath}`;
|
|
3078
3083
|
if (importMapCache.has(cacheKey)) {
|
|
@@ -3470,6 +3475,9 @@ function createDevServer(options) {
|
|
|
3470
3475
|
const config = { ...defaultOptions, ...options };
|
|
3471
3476
|
const wsClients = /* @__PURE__ */ new Set();
|
|
3472
3477
|
const stateManager = new StateManager();
|
|
3478
|
+
if (config.mode === "dev") {
|
|
3479
|
+
clearImportMapCache();
|
|
3480
|
+
}
|
|
3473
3481
|
const clientsToNormalize = config.clients?.length ? config.clients : config.root ? [{ root: config.root, basePath: config.basePath || "", index: config.index, ssr: config.ssr, api: config.api, proxy: config.proxy, mode: config.mode }] : null;
|
|
3474
3482
|
if (!clientsToNormalize) throw new Error('DevServerOptions must include either "clients" array or "root" directory');
|
|
3475
3483
|
const normalizedClients = clientsToNormalize.map((client) => {
|
|
@@ -3532,6 +3540,14 @@ function createDevServer(options) {
|
|
|
3532
3540
|
const handled = await config.api.handle(req, res);
|
|
3533
3541
|
if (handled) return;
|
|
3534
3542
|
}
|
|
3543
|
+
if (url.startsWith("/api") && ["POST", "PUT", "PATCH", "DELETE"].includes(req.method || "")) {
|
|
3544
|
+
if (!res.headersSent) {
|
|
3545
|
+
if (config.logging) console.log(`[405] ${req.method} ${url} - Method not allowed`);
|
|
3546
|
+
res.writeHead(405, { "Content-Type": "application/json" });
|
|
3547
|
+
res.end(JSON.stringify({ error: "Method Not Allowed", message: "No API route found for this request" }));
|
|
3548
|
+
}
|
|
3549
|
+
return;
|
|
3550
|
+
}
|
|
3535
3551
|
let filePath;
|
|
3536
3552
|
if (url === "/" && matchedClient.ssr && !matchedClient.index) {
|
|
3537
3553
|
return await serveSSR(res, matchedClient);
|
package/dist/dom.d.mts
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { Props, Children, VNode, Child, StateOptions, State, VirtualListController, JsonNode, VNodeJson } from './types.mjs';
|
|
2
|
+
import 'node:events';
|
|
3
|
+
import 'events';
|
|
4
|
+
import 'http';
|
|
5
|
+
import 'ws';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Elit - DomNode Core Class
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
declare class DomNode {
|
|
12
|
+
private elementCache;
|
|
13
|
+
createElement(tagName: string, props?: Props, children?: Children): VNode;
|
|
14
|
+
renderToDOM(vNode: Child, parent: HTMLElement | SVGElement | DocumentFragment): void;
|
|
15
|
+
render(rootElement: string | HTMLElement, vNode: VNode): HTMLElement;
|
|
16
|
+
batchRender(rootElement: string | HTMLElement, vNodes: VNode[]): HTMLElement;
|
|
17
|
+
renderChunked(rootElement: string | HTMLElement, vNodes: VNode[], chunkSize?: number, onProgress?: (current: number, total: number) => void): HTMLElement;
|
|
18
|
+
renderToHead(...vNodes: Array<VNode | VNode[]>): HTMLHeadElement | null;
|
|
19
|
+
addStyle(cssText: string): HTMLStyleElement;
|
|
20
|
+
addMeta(attrs: Record<string, string>): HTMLMetaElement;
|
|
21
|
+
addLink(attrs: Record<string, string>): HTMLLinkElement;
|
|
22
|
+
setTitle(text: string): string;
|
|
23
|
+
createState<T>(initialValue: T, options?: StateOptions): State<T>;
|
|
24
|
+
computed<T extends any[], R>(states: {
|
|
25
|
+
[K in keyof T]: State<T[K]>;
|
|
26
|
+
}, computeFn: (...values: T) => R): State<R>;
|
|
27
|
+
effect(stateFn: () => void): void;
|
|
28
|
+
createVirtualList<T>(container: HTMLElement, items: T[], renderItem: (item: T, index: number) => VNode, itemHeight?: number, bufferSize?: number): VirtualListController;
|
|
29
|
+
lazy<T extends any[], R>(loadFn: () => Promise<(...args: T) => R>): (...args: T) => Promise<R | VNode>;
|
|
30
|
+
cleanupUnusedElements(root: HTMLElement): number;
|
|
31
|
+
renderToString(vNode: Child, options?: {
|
|
32
|
+
pretty?: boolean;
|
|
33
|
+
indent?: number;
|
|
34
|
+
}): string;
|
|
35
|
+
private resolveStateValue;
|
|
36
|
+
private isReactiveWrapper;
|
|
37
|
+
private unwrapReactive;
|
|
38
|
+
private escapeHtml;
|
|
39
|
+
private isSelfClosingTag;
|
|
40
|
+
private propsToAttributes;
|
|
41
|
+
private styleToString;
|
|
42
|
+
private isState;
|
|
43
|
+
private reactiveNodes;
|
|
44
|
+
private createReactiveChild;
|
|
45
|
+
jsonToVNode(json: JsonNode | string | number | boolean | null | undefined | State<any>): Child;
|
|
46
|
+
vNodeJsonToVNode(json: VNodeJson | State<any>): Child;
|
|
47
|
+
renderJson(rootElement: string | HTMLElement, json: JsonNode): HTMLElement;
|
|
48
|
+
renderVNode(rootElement: string | HTMLElement, json: VNodeJson): HTMLElement;
|
|
49
|
+
renderJsonToString(json: JsonNode, options?: {
|
|
50
|
+
pretty?: boolean;
|
|
51
|
+
indent?: number;
|
|
52
|
+
}): string;
|
|
53
|
+
renderVNodeToString(json: VNodeJson, options?: {
|
|
54
|
+
pretty?: boolean;
|
|
55
|
+
indent?: number;
|
|
56
|
+
}): string;
|
|
57
|
+
renderToHTMLDocument(vNode: Child, options?: {
|
|
58
|
+
title?: string;
|
|
59
|
+
meta?: Array<Record<string, string>>;
|
|
60
|
+
links?: Array<Record<string, string>>;
|
|
61
|
+
scripts?: Array<{
|
|
62
|
+
src?: string;
|
|
63
|
+
content?: string;
|
|
64
|
+
async?: boolean;
|
|
65
|
+
defer?: boolean;
|
|
66
|
+
type?: string;
|
|
67
|
+
}>;
|
|
68
|
+
styles?: Array<{
|
|
69
|
+
href?: string;
|
|
70
|
+
content?: string;
|
|
71
|
+
}>;
|
|
72
|
+
lang?: string;
|
|
73
|
+
head?: string;
|
|
74
|
+
bodyAttrs?: Record<string, string>;
|
|
75
|
+
pretty?: boolean;
|
|
76
|
+
}): string;
|
|
77
|
+
getElementCache(): WeakMap<Element, boolean>;
|
|
78
|
+
}
|
|
79
|
+
declare const dom: DomNode;
|
|
80
|
+
declare const render: (rootElement: string | HTMLElement, vNode: VNode) => HTMLElement;
|
|
81
|
+
declare const renderToString: (vNode: Child, options?: {
|
|
82
|
+
pretty?: boolean;
|
|
83
|
+
indent?: number;
|
|
84
|
+
}) => string;
|
|
85
|
+
declare const mount: (rootElement: string | HTMLElement, vNode: VNode) => HTMLElement;
|
|
86
|
+
|
|
87
|
+
export { DomNode, dom, mount, render, renderToString };
|
package/dist/el.d.mts
ADDED
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
import { ElementFactory } from './types.mjs';
|
|
2
|
+
import 'node:events';
|
|
3
|
+
import 'events';
|
|
4
|
+
import 'http';
|
|
5
|
+
import 'ws';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Elit - Element Factories
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
declare const createElementFactory: (tag: string) => ElementFactory;
|
|
12
|
+
declare const tags: readonly ["html", "head", "body", "title", "base", "link", "meta", "style", "address", "article", "aside", "footer", "header", "h1", "h2", "h3", "h4", "h5", "h6", "main", "nav", "section", "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", "wbr", "area", "audio", "img", "map", "track", "video", "embed", "iframe", "object", "param", "picture", "portal", "source", "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", "slot", "template"];
|
|
13
|
+
declare const svgTags: readonly ["svg", "circle", "rect", "path", "line", "polyline", "polygon", "ellipse", "g", "text", "tspan", "defs", "linearGradient", "radialGradient", "stop", "pattern", "mask", "clipPath", "use", "symbol", "marker", "image", "foreignObject", "animate", "animateTransform", "animateMotion", "set", "filter", "feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feFlood", "feGaussianBlur", "feMorphology", "feOffset", "feSpecularLighting", "feTile", "feTurbulence"];
|
|
14
|
+
declare const mathTags: readonly ["math", "mi", "mn", "mo", "ms", "mtext", "mrow", "mfrac", "msqrt", "mroot", "msub", "msup"];
|
|
15
|
+
type Elements = {
|
|
16
|
+
[K in typeof tags[number]]: ElementFactory;
|
|
17
|
+
} & {
|
|
18
|
+
[K in typeof svgTags[number] as `svg${Capitalize<K>}`]: ElementFactory;
|
|
19
|
+
} & {
|
|
20
|
+
[K in typeof mathTags[number] as `math${Capitalize<K>}`]: ElementFactory;
|
|
21
|
+
} & {
|
|
22
|
+
varElement: ElementFactory;
|
|
23
|
+
};
|
|
24
|
+
declare const elements: Partial<Elements>;
|
|
25
|
+
declare const html: ElementFactory;
|
|
26
|
+
declare const head: ElementFactory;
|
|
27
|
+
declare const body: ElementFactory;
|
|
28
|
+
declare const title: ElementFactory;
|
|
29
|
+
declare const base: ElementFactory;
|
|
30
|
+
declare const link: ElementFactory;
|
|
31
|
+
declare const meta: ElementFactory;
|
|
32
|
+
declare const style: ElementFactory;
|
|
33
|
+
declare const address: ElementFactory;
|
|
34
|
+
declare const article: ElementFactory;
|
|
35
|
+
declare const aside: ElementFactory;
|
|
36
|
+
declare const footer: ElementFactory;
|
|
37
|
+
declare const header: ElementFactory;
|
|
38
|
+
declare const h1: ElementFactory;
|
|
39
|
+
declare const h2: ElementFactory;
|
|
40
|
+
declare const h3: ElementFactory;
|
|
41
|
+
declare const h4: ElementFactory;
|
|
42
|
+
declare const h5: ElementFactory;
|
|
43
|
+
declare const h6: ElementFactory;
|
|
44
|
+
declare const main: ElementFactory;
|
|
45
|
+
declare const nav: ElementFactory;
|
|
46
|
+
declare const section: ElementFactory;
|
|
47
|
+
declare const blockquote: ElementFactory;
|
|
48
|
+
declare const dd: ElementFactory;
|
|
49
|
+
declare const div: ElementFactory;
|
|
50
|
+
declare const dl: ElementFactory;
|
|
51
|
+
declare const dt: ElementFactory;
|
|
52
|
+
declare const figcaption: ElementFactory;
|
|
53
|
+
declare const figure: ElementFactory;
|
|
54
|
+
declare const hr: ElementFactory;
|
|
55
|
+
declare const li: ElementFactory;
|
|
56
|
+
declare const ol: ElementFactory;
|
|
57
|
+
declare const p: ElementFactory;
|
|
58
|
+
declare const pre: ElementFactory;
|
|
59
|
+
declare const ul: ElementFactory;
|
|
60
|
+
declare const a: ElementFactory;
|
|
61
|
+
declare const abbr: ElementFactory;
|
|
62
|
+
declare const b: ElementFactory;
|
|
63
|
+
declare const bdi: ElementFactory;
|
|
64
|
+
declare const bdo: ElementFactory;
|
|
65
|
+
declare const br: ElementFactory;
|
|
66
|
+
declare const cite: ElementFactory;
|
|
67
|
+
declare const code: ElementFactory;
|
|
68
|
+
declare const data: ElementFactory;
|
|
69
|
+
declare const dfn: ElementFactory;
|
|
70
|
+
declare const em: ElementFactory;
|
|
71
|
+
declare const i: ElementFactory;
|
|
72
|
+
declare const kbd: ElementFactory;
|
|
73
|
+
declare const mark: ElementFactory;
|
|
74
|
+
declare const q: ElementFactory;
|
|
75
|
+
declare const rp: ElementFactory;
|
|
76
|
+
declare const rt: ElementFactory;
|
|
77
|
+
declare const ruby: ElementFactory;
|
|
78
|
+
declare const s: ElementFactory;
|
|
79
|
+
declare const samp: ElementFactory;
|
|
80
|
+
declare const small: ElementFactory;
|
|
81
|
+
declare const span: ElementFactory;
|
|
82
|
+
declare const strong: ElementFactory;
|
|
83
|
+
declare const sub: ElementFactory;
|
|
84
|
+
declare const sup: ElementFactory;
|
|
85
|
+
declare const time: ElementFactory;
|
|
86
|
+
declare const u: ElementFactory;
|
|
87
|
+
declare const wbr: ElementFactory;
|
|
88
|
+
declare const area: ElementFactory;
|
|
89
|
+
declare const audio: ElementFactory;
|
|
90
|
+
declare const img: ElementFactory;
|
|
91
|
+
declare const map: ElementFactory;
|
|
92
|
+
declare const track: ElementFactory;
|
|
93
|
+
declare const video: ElementFactory;
|
|
94
|
+
declare const embed: ElementFactory;
|
|
95
|
+
declare const iframe: ElementFactory;
|
|
96
|
+
declare const object: ElementFactory;
|
|
97
|
+
declare const param: ElementFactory;
|
|
98
|
+
declare const picture: ElementFactory;
|
|
99
|
+
declare const portal: ElementFactory;
|
|
100
|
+
declare const source: ElementFactory;
|
|
101
|
+
declare const canvas: ElementFactory;
|
|
102
|
+
declare const noscript: ElementFactory;
|
|
103
|
+
declare const script: ElementFactory;
|
|
104
|
+
declare const del: ElementFactory;
|
|
105
|
+
declare const ins: ElementFactory;
|
|
106
|
+
declare const caption: ElementFactory;
|
|
107
|
+
declare const col: ElementFactory;
|
|
108
|
+
declare const colgroup: ElementFactory;
|
|
109
|
+
declare const table: ElementFactory;
|
|
110
|
+
declare const tbody: ElementFactory;
|
|
111
|
+
declare const td: ElementFactory;
|
|
112
|
+
declare const tfoot: ElementFactory;
|
|
113
|
+
declare const th: ElementFactory;
|
|
114
|
+
declare const thead: ElementFactory;
|
|
115
|
+
declare const tr: ElementFactory;
|
|
116
|
+
declare const button: ElementFactory;
|
|
117
|
+
declare const datalist: ElementFactory;
|
|
118
|
+
declare const fieldset: ElementFactory;
|
|
119
|
+
declare const form: ElementFactory;
|
|
120
|
+
declare const input: ElementFactory;
|
|
121
|
+
declare const label: ElementFactory;
|
|
122
|
+
declare const legend: ElementFactory;
|
|
123
|
+
declare const meter: ElementFactory;
|
|
124
|
+
declare const optgroup: ElementFactory;
|
|
125
|
+
declare const option: ElementFactory;
|
|
126
|
+
declare const output: ElementFactory;
|
|
127
|
+
declare const progress: ElementFactory;
|
|
128
|
+
declare const select: ElementFactory;
|
|
129
|
+
declare const textarea: ElementFactory;
|
|
130
|
+
declare const details: ElementFactory;
|
|
131
|
+
declare const dialog: ElementFactory;
|
|
132
|
+
declare const menu: ElementFactory;
|
|
133
|
+
declare const summary: ElementFactory;
|
|
134
|
+
declare const slot: ElementFactory;
|
|
135
|
+
declare const template: ElementFactory;
|
|
136
|
+
declare const svgSvg: ElementFactory;
|
|
137
|
+
declare const svgCircle: ElementFactory;
|
|
138
|
+
declare const svgRect: ElementFactory;
|
|
139
|
+
declare const svgPath: ElementFactory;
|
|
140
|
+
declare const svgLine: ElementFactory;
|
|
141
|
+
declare const svgPolyline: ElementFactory;
|
|
142
|
+
declare const svgPolygon: ElementFactory;
|
|
143
|
+
declare const svgEllipse: ElementFactory;
|
|
144
|
+
declare const svgG: ElementFactory;
|
|
145
|
+
declare const svgText: ElementFactory;
|
|
146
|
+
declare const svgTspan: ElementFactory;
|
|
147
|
+
declare const svgDefs: ElementFactory;
|
|
148
|
+
declare const svgLinearGradient: ElementFactory;
|
|
149
|
+
declare const svgRadialGradient: ElementFactory;
|
|
150
|
+
declare const svgStop: ElementFactory;
|
|
151
|
+
declare const svgPattern: ElementFactory;
|
|
152
|
+
declare const svgMask: ElementFactory;
|
|
153
|
+
declare const svgClipPath: ElementFactory;
|
|
154
|
+
declare const svgUse: ElementFactory;
|
|
155
|
+
declare const svgSymbol: ElementFactory;
|
|
156
|
+
declare const svgMarker: ElementFactory;
|
|
157
|
+
declare const svgImage: ElementFactory;
|
|
158
|
+
declare const svgForeignObject: ElementFactory;
|
|
159
|
+
declare const svgAnimate: ElementFactory;
|
|
160
|
+
declare const svgAnimateTransform: ElementFactory;
|
|
161
|
+
declare const svgAnimateMotion: ElementFactory;
|
|
162
|
+
declare const svgSet: ElementFactory;
|
|
163
|
+
declare const svgFilter: ElementFactory;
|
|
164
|
+
declare const svgFeBlend: ElementFactory;
|
|
165
|
+
declare const svgFeColorMatrix: ElementFactory;
|
|
166
|
+
declare const svgFeComponentTransfer: ElementFactory;
|
|
167
|
+
declare const svgFeComposite: ElementFactory;
|
|
168
|
+
declare const svgFeConvolveMatrix: ElementFactory;
|
|
169
|
+
declare const svgFeDiffuseLighting: ElementFactory;
|
|
170
|
+
declare const svgFeDisplacementMap: ElementFactory;
|
|
171
|
+
declare const svgFeFlood: ElementFactory;
|
|
172
|
+
declare const svgFeGaussianBlur: ElementFactory;
|
|
173
|
+
declare const svgFeMorphology: ElementFactory;
|
|
174
|
+
declare const svgFeOffset: ElementFactory;
|
|
175
|
+
declare const svgFeSpecularLighting: ElementFactory;
|
|
176
|
+
declare const svgFeTile: ElementFactory;
|
|
177
|
+
declare const svgFeTurbulence: ElementFactory;
|
|
178
|
+
declare const mathMath: ElementFactory;
|
|
179
|
+
declare const mathMi: ElementFactory;
|
|
180
|
+
declare const mathMn: ElementFactory;
|
|
181
|
+
declare const mathMo: ElementFactory;
|
|
182
|
+
declare const mathMs: ElementFactory;
|
|
183
|
+
declare const mathMtext: ElementFactory;
|
|
184
|
+
declare const mathMrow: ElementFactory;
|
|
185
|
+
declare const mathMfrac: ElementFactory;
|
|
186
|
+
declare const mathMsqrt: ElementFactory;
|
|
187
|
+
declare const mathMroot: ElementFactory;
|
|
188
|
+
declare const mathMsub: ElementFactory;
|
|
189
|
+
declare const mathMsup: ElementFactory;
|
|
190
|
+
declare const varElement: ElementFactory;
|
|
191
|
+
declare const el: Partial<Elements>;
|
|
192
|
+
|
|
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;
|
|
206
|
+
|
|
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 };
|