elit 3.0.0 → 3.0.2

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.
Files changed (87) hide show
  1. package/dist/build.d.ts +4 -12
  2. package/dist/build.d.ts.map +1 -0
  3. package/dist/chokidar.d.ts +7 -9
  4. package/dist/chokidar.d.ts.map +1 -0
  5. package/dist/cli.d.ts +6 -0
  6. package/dist/cli.d.ts.map +1 -0
  7. package/dist/cli.js +17 -4
  8. package/dist/config.d.ts +29 -0
  9. package/dist/config.d.ts.map +1 -0
  10. package/dist/dom.d.ts +7 -14
  11. package/dist/dom.d.ts.map +1 -0
  12. package/dist/el.d.ts +19 -191
  13. package/dist/el.d.ts.map +1 -0
  14. package/dist/fs.d.ts +35 -35
  15. package/dist/fs.d.ts.map +1 -0
  16. package/dist/hmr.d.ts +3 -3
  17. package/dist/hmr.d.ts.map +1 -0
  18. package/dist/http.d.ts +20 -22
  19. package/dist/http.d.ts.map +1 -0
  20. package/dist/https.d.ts +12 -15
  21. package/dist/https.d.ts.map +1 -0
  22. package/dist/index.d.ts +10 -629
  23. package/dist/index.d.ts.map +1 -0
  24. package/dist/mime-types.d.ts +9 -9
  25. package/dist/mime-types.d.ts.map +1 -0
  26. package/dist/path.d.ts +22 -19
  27. package/dist/path.d.ts.map +1 -0
  28. package/dist/router.d.ts +10 -17
  29. package/dist/router.d.ts.map +1 -0
  30. package/dist/runtime.d.ts +5 -6
  31. package/dist/runtime.d.ts.map +1 -0
  32. package/dist/server.d.ts +105 -7
  33. package/dist/server.d.ts.map +1 -0
  34. package/dist/server.js +14 -2
  35. package/dist/server.mjs +14 -2
  36. package/dist/state.d.ts +21 -27
  37. package/dist/state.d.ts.map +1 -0
  38. package/dist/style.d.ts +14 -55
  39. package/dist/style.d.ts.map +1 -0
  40. package/dist/types.d.ts +26 -240
  41. package/dist/types.d.ts.map +1 -0
  42. package/dist/ws.d.ts +14 -17
  43. package/dist/ws.d.ts.map +1 -0
  44. package/dist/wss.d.ts +16 -16
  45. package/dist/wss.d.ts.map +1 -0
  46. package/package.json +3 -2
  47. package/src/build.ts +337 -0
  48. package/src/chokidar.ts +401 -0
  49. package/src/cli.ts +638 -0
  50. package/src/config.ts +205 -0
  51. package/src/dom.ts +817 -0
  52. package/src/el.ts +164 -0
  53. package/src/fs.ts +727 -0
  54. package/src/hmr.ts +137 -0
  55. package/src/http.ts +775 -0
  56. package/src/https.ts +411 -0
  57. package/src/index.ts +14 -0
  58. package/src/mime-types.ts +222 -0
  59. package/src/path.ts +493 -0
  60. package/src/router.ts +237 -0
  61. package/src/runtime.ts +97 -0
  62. package/src/server.ts +1290 -0
  63. package/src/state.ts +468 -0
  64. package/src/style.ts +524 -0
  65. package/{dist/types-Du6kfwTm.d.ts → src/types.ts} +58 -141
  66. package/src/ws.ts +506 -0
  67. package/src/wss.ts +241 -0
  68. package/dist/build.d.mts +0 -20
  69. package/dist/chokidar.d.mts +0 -134
  70. package/dist/dom.d.mts +0 -87
  71. package/dist/el.d.mts +0 -207
  72. package/dist/fs.d.mts +0 -255
  73. package/dist/hmr.d.mts +0 -38
  74. package/dist/http.d.mts +0 -163
  75. package/dist/https.d.mts +0 -108
  76. package/dist/index.d.mts +0 -629
  77. package/dist/mime-types.d.mts +0 -48
  78. package/dist/path.d.mts +0 -163
  79. package/dist/router.d.mts +0 -47
  80. package/dist/runtime.d.mts +0 -97
  81. package/dist/server.d.mts +0 -7
  82. package/dist/state.d.mts +0 -111
  83. package/dist/style.d.mts +0 -159
  84. package/dist/types-C0nGi6MX.d.mts +0 -346
  85. package/dist/types.d.mts +0 -452
  86. package/dist/ws.d.mts +0 -195
  87. package/dist/wss.d.mts +0 -108
package/dist/build.d.ts CHANGED
@@ -1,11 +1,3 @@
1
- import { B as BuildOptions, j as BuildResult } from './types-Du6kfwTm.js';
2
- import './http.js';
3
- import 'node:events';
4
- import './ws.js';
5
- import 'events';
6
- import 'http';
7
- import 'ws';
8
-
9
1
  /**
10
2
  * Build module for bundling applications
11
3
  * Pure implementation with cross-runtime support
@@ -14,7 +6,7 @@ import 'ws';
14
6
  * - Bun: uses Bun.build
15
7
  * - Deno: uses Deno.emit
16
8
  */
17
-
18
- declare function build(options: BuildOptions): Promise<BuildResult>;
19
-
20
- export { BuildOptions, BuildResult, build };
9
+ import type { BuildOptions, BuildResult } from './types';
10
+ export declare function build(options: BuildOptions): Promise<BuildResult>;
11
+ export type { BuildOptions, BuildResult } from './types';
12
+ //# sourceMappingURL=build.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"build.d.ts","sourceRoot":"","sources":["../src/build.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAKH,OAAO,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AA2EzD,wBAAsB,KAAK,CAAC,OAAO,EAAE,YAAY,GAAG,OAAO,CAAC,WAAW,CAAC,CA+OvE;AAUD,YAAY,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC"}
@@ -1,5 +1,3 @@
1
- import { EventEmitter } from 'events';
2
-
3
1
  /**
4
2
  * File watcher module with unified API across runtimes
5
3
  * Pure implementation without external dependencies
@@ -8,11 +6,11 @@ import { EventEmitter } from 'events';
8
6
  * - Bun: uses native fs.watch with enhancements
9
7
  * - Deno: uses Deno.watchFs
10
8
  */
11
-
9
+ import { EventEmitter } from 'events';
12
10
  /**
13
11
  * Watch options
14
12
  */
15
- interface WatchOptions {
13
+ export interface WatchOptions {
16
14
  /**
17
15
  * Indicates whether the process should continue to run as long as files are being watched.
18
16
  * If set to false, the process will continue running even if the watcher is closed.
@@ -84,7 +82,7 @@ interface WatchOptions {
84
82
  /**
85
83
  * FSWatcher class - Compatible with chokidar
86
84
  */
87
- declare class FSWatcher extends EventEmitter {
85
+ export declare class FSWatcher extends EventEmitter {
88
86
  private _watcher;
89
87
  private _closed;
90
88
  private _watched;
@@ -117,11 +115,11 @@ declare class FSWatcher extends EventEmitter {
117
115
  /**
118
116
  * Watch files and directories
119
117
  */
120
- declare function watch(paths: string | string[], options?: WatchOptions): FSWatcher;
118
+ export declare function watch(paths: string | string[], options?: WatchOptions): FSWatcher;
121
119
  /**
122
120
  * Get current runtime
123
121
  */
124
- declare function getRuntime(): 'node' | 'bun' | 'deno';
122
+ export declare function getRuntime(): 'node' | 'bun' | 'deno';
125
123
  /**
126
124
  * Default export
127
125
  */
@@ -130,5 +128,5 @@ declare const _default: {
130
128
  FSWatcher: typeof FSWatcher;
131
129
  getRuntime: typeof getRuntime;
132
130
  };
133
-
134
- export { FSWatcher, type WatchOptions, _default as default, getRuntime, watch };
131
+ export default _default;
132
+ //# sourceMappingURL=chokidar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chokidar.d.ts","sourceRoot":"","sources":["../src/chokidar.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAyEtC;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB;;OAEG;IACH,sBAAsB,CAAC,EAAE,OAAO,CAAC;IAEjC;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,CAAC,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,CAAC;IAExD;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;OAGG;IACH,gBAAgB,CAAC,EAAE,OAAO,GAAG;QAC3B,kBAAkB,CAAC,EAAE,MAAM,CAAC;QAC5B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ceMappingURL=cli.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";AACA;;GAEG"}
package/dist/cli.js CHANGED
@@ -1412,7 +1412,7 @@ var require_package = __commonJS({
1412
1412
  "package.json"(exports2, module2) {
1413
1413
  module2.exports = {
1414
1414
  name: "elit",
1415
- version: "3.0.0",
1415
+ version: "3.0.2",
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",
@@ -1513,7 +1513,7 @@ var require_package = __commonJS({
1513
1513
  }
1514
1514
  },
1515
1515
  scripts: {
1516
- build: "tsup",
1516
+ build: "tsup && tsc --emitDeclarationOnly",
1517
1517
  dev: "tsup --watch",
1518
1518
  typecheck: "tsc --noEmit",
1519
1519
  benchmark: "node benchmark/server-benchmark.js",
@@ -1574,6 +1574,7 @@ var require_package = __commonJS({
1574
1574
  },
1575
1575
  files: [
1576
1576
  "dist",
1577
+ "src",
1577
1578
  "README.md",
1578
1579
  "LICENSE"
1579
1580
  ]
@@ -3028,9 +3029,21 @@ var send404 = (res, msg = "Not Found") => sendError(res, 404, msg);
3028
3029
  var send403 = (res, msg = "Forbidden") => sendError(res, 403, msg);
3029
3030
  var send500 = (res, msg = "Internal Server Error") => sendError(res, 500, msg);
3030
3031
  var createElitImportMap = (basePath = "", mode = "dev") => {
3031
- const srcPath = mode === "dev" ? basePath ? `${basePath}/node_modules/elit/src` : "/node_modules/elit/src" : basePath ? `${basePath}/dist` : "/dist";
3032
+ const srcPath = mode === "dev" ? basePath ? `${basePath}/node_modules/elit/src` : "/node_modules/elit/src" : basePath ? `${basePath}/node_modules/elit/dist` : "/node_modules/elit/dist";
3032
3033
  const fileExt = mode === "dev" ? ".ts" : ".mjs";
3033
- return `<script type="importmap">{"imports":{"elit":"${srcPath}/index${fileExt}","elit/":"${srcPath}/","elit/dom":"${srcPath}/dom${fileExt}","elit/state":"${srcPath}/state${fileExt}","elit/style":"${srcPath}/style${fileExt}","elit/el":"${srcPath}/el${fileExt}","elit/router":"${srcPath}/router${fileExt}","elit/hmr":"${srcPath}/hmr${fileExt}","elit/types":"${srcPath}/types${fileExt}"}}</script>`;
3034
+ return `<script type="importmap">{
3035
+ "imports": {
3036
+ "elit": "${srcPath}/index${fileExt}",
3037
+ "elit/": "${srcPath}/",
3038
+ "elit/dom": "${srcPath}/dom${fileExt}",
3039
+ "elit/state": "${srcPath}/state${fileExt}",
3040
+ "elit/style": "${srcPath}/style${fileExt}",
3041
+ "elit/el": "${srcPath}/el${fileExt}",
3042
+ "elit/router": "${srcPath}/router${fileExt}",
3043
+ "elit/hmr": "${srcPath}/hmr${fileExt}",
3044
+ "elit/types": "${srcPath}/types${fileExt}"
3045
+ }
3046
+ }</script>`;
3034
3047
  };
3035
3048
  var createHMRScript = (port, wsPath) => `<script>(function(){let ws;let retries=0;let maxRetries=5;function connect(){ws=new WebSocket('ws://'+window.location.hostname+':${port}${wsPath}');ws.onopen=()=>{console.log('[Elit HMR] Connected');retries=0};ws.onmessage=(e)=>{const d=JSON.parse(e.data);if(d.type==='update'){console.log('[Elit HMR] File updated:',d.path);window.location.reload()}else if(d.type==='reload'){console.log('[Elit HMR] Reloading...');window.location.reload()}else if(d.type==='error')console.error('[Elit HMR] Error:',d.error)};ws.onclose=()=>{if(retries<maxRetries){retries++;setTimeout(connect,1000*retries)}else if(retries===maxRetries){console.log('[Elit HMR] Connection closed. Start dev server to reconnect.')}};ws.onerror=()=>{ws.close()}}connect()})();</script>`;
3036
3049
  var rewriteRelativePaths = (html, basePath) => {
@@ -0,0 +1,29 @@
1
+ /**
2
+ * Config loader for elit.config.{ts,js,json}
3
+ */
4
+ import type { DevServerOptions, BuildOptions, PreviewOptions } from './types';
5
+ export interface ElitConfig {
6
+ /** Development server configuration */
7
+ dev?: DevServerOptions;
8
+ /** Build configuration - supports single build or multiple builds */
9
+ build?: BuildOptions | BuildOptions[];
10
+ /** Preview server configuration */
11
+ preview?: PreviewOptions;
12
+ }
13
+ /**
14
+ * Helper function for type-safe config definition
15
+ */
16
+ export declare function defineConfig(config: ElitConfig): ElitConfig;
17
+ /**
18
+ * Load environment variables from .env files
19
+ */
20
+ export declare function loadEnv(mode?: string, cwd?: string): Record<string, string>;
21
+ /**
22
+ * Load elit config from current directory
23
+ */
24
+ export declare function loadConfig(cwd?: string): Promise<ElitConfig | null>;
25
+ /**
26
+ * Merge CLI args with config file
27
+ */
28
+ export declare function mergeConfig<T extends Record<string, any>>(config: T | undefined, cliArgs: Partial<T>): T;
29
+ //# sourceMappingURL=config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH,OAAO,KAAK,EAAE,gBAAgB,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AA2C9E,MAAM,WAAW,UAAU;IACvB,uCAAuC;IACvC,GAAG,CAAC,EAAE,gBAAgB,CAAC;IACvB,qEAAqE;IACrE,KAAK,CAAC,EAAE,YAAY,GAAG,YAAY,EAAE,CAAC;IACtC,mCAAmC;IACnC,OAAO,CAAC,EAAE,cAAc,CAAC;CAC5B;AAED;;GAEG;AACH,wBAAgB,YAAY,CAAC,MAAM,EAAE,UAAU,GAAG,UAAU,CAE3D;AAUD;;GAEG;AACH,wBAAgB,OAAO,CAAC,IAAI,GAAE,MAAsB,EAAE,GAAG,GAAE,MAAsB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAoCzG;AAED;;GAEG;AACH,wBAAsB,UAAU,CAAC,GAAG,GAAE,MAAsB,GAAG,OAAO,CAAC,UAAU,GAAG,IAAI,CAAC,CAgBxF;AAsDD;;GAEG;AACH,wBAAgB,WAAW,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EACrD,MAAM,EAAE,CAAC,GAAG,SAAS,EACrB,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,GACpB,CAAC,CAWH"}
package/dist/dom.d.ts CHANGED
@@ -1,14 +1,8 @@
1
- import { Props, Children, VNode, Child, StateOptions, State, VirtualListController, JsonNode, VNodeJson } from './types.js';
2
- import 'node:events';
3
- import 'events';
4
- import 'http';
5
- import 'ws';
6
-
7
1
  /**
8
2
  * Elit - DomNode Core Class
9
3
  */
10
-
11
- declare class DomNode {
4
+ import type { VNode, Child, Children, Props, State, StateOptions, VirtualListController, JsonNode, VNodeJson } from './types';
5
+ export declare class DomNode {
12
6
  private elementCache;
13
7
  createElement(tagName: string, props?: Props, children?: Children): VNode;
14
8
  renderToDOM(vNode: Child, parent: HTMLElement | SVGElement | DocumentFragment): void;
@@ -76,12 +70,11 @@ declare class DomNode {
76
70
  }): string;
77
71
  getElementCache(): WeakMap<Element, boolean>;
78
72
  }
79
- declare const dom: DomNode;
80
- declare const render: (rootElement: string | HTMLElement, vNode: VNode) => HTMLElement;
81
- declare const renderToString: (vNode: Child, options?: {
73
+ export declare const dom: DomNode;
74
+ export declare const render: (rootElement: string | HTMLElement, vNode: VNode) => HTMLElement;
75
+ export declare const renderToString: (vNode: Child, options?: {
82
76
  pretty?: boolean;
83
77
  indent?: number;
84
78
  }) => string;
85
- declare const mount: (rootElement: string | HTMLElement, vNode: VNode) => HTMLElement;
86
-
87
- export { DomNode, dom, mount, render, renderToString };
79
+ export declare const mount: (rootElement: string | HTMLElement, vNode: VNode) => HTMLElement;
80
+ //# sourceMappingURL=dom.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dom.d.ts","sourceRoot":"","sources":["../src/dom.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,YAAY,EAAE,qBAAqB,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAmC9H,qBAAa,OAAO;IAChB,OAAO,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EAAE,MAAM,CAAC,CAAC;QACnC,MAAM,CAAC,EAAE,OAAO,CAAC;KACf,GAAG,MAAM;IAsDf,eAAe,IAAI,OAAO,CAAC,OAAO,EAAE,OAAO,CAAC;CAG/C;AAED,eAAO,MAAM,GAAG,SAAgB,CAAC;AAGjC,eAAO,MAAM,MAAM,gBAzqBK,MAAM,GAAG,WAAW,SAAS,KAAK,KAAG,WAyqBnB,CAAC;AAC3C,eAAO,MAAM,cAAc,UAvaD,KAAK,YAAW;IAAE,MAAM,CAAC,EAAE,OAAO,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,KAAQ,MAua7B,CAAC;AAC3D,eAAO,MAAM,KAAK,gBA3qBM,MAAM,GAAG,WAAW,SAAS,KAAK,KAAG,WA2qBlC,CAAC"}
package/dist/el.d.ts CHANGED
@@ -1,14 +1,8 @@
1
- import { ElementFactory } from './types.js';
2
- import 'node:events';
3
- import 'events';
4
- import 'http';
5
- import 'ws';
6
-
7
1
  /**
8
2
  * Elit - Element Factories
9
3
  */
10
-
11
- declare const createElementFactory: (tag: string) => ElementFactory;
4
+ import type { ElementFactory } from './types';
5
+ export declare const createElementFactory: (tag: string) => ElementFactory;
12
6
  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
7
  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
8
  declare const mathTags: readonly ["math", "mi", "mn", "mo", "ms", "mtext", "mrow", "mfrac", "msqrt", "mroot", "msub", "msup"];
@@ -22,186 +16,20 @@ type Elements = {
22
16
  varElement: ElementFactory;
23
17
  };
24
18
  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 };
19
+ export declare const html: ElementFactory, head: ElementFactory, body: ElementFactory, title: ElementFactory, base: ElementFactory, link: ElementFactory, meta: ElementFactory, style: ElementFactory, address: ElementFactory, article: ElementFactory, aside: ElementFactory, footer: ElementFactory, header: ElementFactory, h1: ElementFactory, h2: ElementFactory, h3: ElementFactory, h4: ElementFactory, h5: ElementFactory, h6: ElementFactory, main: ElementFactory, nav: ElementFactory, section: ElementFactory, blockquote: ElementFactory, dd: ElementFactory, div: ElementFactory, dl: ElementFactory, dt: ElementFactory, figcaption: ElementFactory, figure: ElementFactory, hr: ElementFactory, li: ElementFactory, ol: ElementFactory, p: ElementFactory, pre: ElementFactory, ul: ElementFactory, a: ElementFactory, abbr: ElementFactory, b: ElementFactory, bdi: ElementFactory, bdo: ElementFactory, br: ElementFactory, cite: ElementFactory, code: ElementFactory, data: ElementFactory, dfn: ElementFactory, em: ElementFactory, i: ElementFactory, kbd: ElementFactory, mark: ElementFactory, q: ElementFactory, rp: ElementFactory, rt: ElementFactory, ruby: ElementFactory, s: ElementFactory, samp: ElementFactory, small: ElementFactory, span: ElementFactory, strong: ElementFactory, sub: ElementFactory, sup: ElementFactory, time: ElementFactory, u: ElementFactory, wbr: ElementFactory, area: ElementFactory, audio: ElementFactory, img: ElementFactory, map: ElementFactory, track: ElementFactory, video: ElementFactory, embed: ElementFactory, iframe: ElementFactory, object: ElementFactory, param: ElementFactory, picture: ElementFactory, portal: ElementFactory, source: ElementFactory, canvas: ElementFactory, noscript: ElementFactory, script: ElementFactory, del: ElementFactory, ins: ElementFactory, caption: ElementFactory, col: ElementFactory, colgroup: ElementFactory, table: ElementFactory, tbody: ElementFactory, td: ElementFactory, tfoot: ElementFactory, th: ElementFactory, thead: ElementFactory, tr: ElementFactory, button: ElementFactory, datalist: ElementFactory, fieldset: ElementFactory, form: ElementFactory, input: ElementFactory, label: ElementFactory, legend: ElementFactory, meter: ElementFactory, optgroup: ElementFactory, option: ElementFactory, output: ElementFactory, progress: ElementFactory, select: ElementFactory, textarea: ElementFactory, details: ElementFactory, dialog: ElementFactory, menu: ElementFactory, summary: ElementFactory, slot: ElementFactory, template: ElementFactory, svgSvg: ElementFactory, svgCircle: ElementFactory, svgRect: ElementFactory, svgPath: ElementFactory, svgLine: ElementFactory, svgPolyline: ElementFactory, svgPolygon: ElementFactory, svgEllipse: ElementFactory, svgG: ElementFactory, svgText: ElementFactory, svgTspan: ElementFactory, svgDefs: ElementFactory, svgLinearGradient: ElementFactory, svgRadialGradient: ElementFactory, svgStop: ElementFactory, svgPattern: ElementFactory, svgMask: ElementFactory, svgClipPath: ElementFactory, svgUse: ElementFactory, svgSymbol: ElementFactory, svgMarker: ElementFactory, svgImage: ElementFactory, svgForeignObject: ElementFactory, svgAnimate: ElementFactory, svgAnimateTransform: ElementFactory, svgAnimateMotion: ElementFactory, svgSet: ElementFactory, svgFilter: ElementFactory, svgFeBlend: ElementFactory, svgFeColorMatrix: ElementFactory, svgFeComponentTransfer: ElementFactory, svgFeComposite: ElementFactory, svgFeConvolveMatrix: ElementFactory, svgFeDiffuseLighting: ElementFactory, svgFeDisplacementMap: ElementFactory, svgFeFlood: ElementFactory, svgFeGaussianBlur: ElementFactory, svgFeMorphology: ElementFactory, svgFeOffset: ElementFactory, svgFeSpecularLighting: ElementFactory, svgFeTile: ElementFactory, svgFeTurbulence: ElementFactory, mathMath: ElementFactory, mathMi: ElementFactory, mathMn: ElementFactory, mathMo: ElementFactory, mathMs: ElementFactory, mathMtext: ElementFactory, mathMrow: ElementFactory, mathMfrac: ElementFactory, mathMsqrt: ElementFactory, mathMroot: ElementFactory, mathMsub: ElementFactory, mathMsup: ElementFactory, varElement: ElementFactory;
20
+ export declare const el: Partial<Elements>;
21
+ export { elements };
22
+ export declare const doc: any;
23
+ export declare const getEl: any;
24
+ export declare const getEls: any;
25
+ export declare const createEl: any;
26
+ export declare const createSvgEl: any;
27
+ export declare const createMathEl: any;
28
+ export declare const fragment: any;
29
+ export declare const textNode: any;
30
+ export declare const commentNode: any;
31
+ export declare const getElId: any;
32
+ export declare const getElClass: any;
33
+ export declare const getElTag: any;
34
+ export declare const getElName: any;
35
+ //# sourceMappingURL=el.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"el.d.ts","sourceRoot":"","sources":["../src/el.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAuB,cAAc,EAAE,MAAM,SAAS,CAAC;AA+BnE,eAAO,MAAM,oBAAoB,GAAI,KAAK,MAAM,KAAG,cA8BlD,CAAC;AAGF,QAAA,MAAM,IAAI,w6BAeA,CAAC;AAGX,QAAA,MAAM,OAAO,8hBAOH,CAAC;AAGX,QAAA,MAAM,QAAQ,uGAEJ,CAAC;AAEX,KAAK,QAAQ,GAAG;KACX,CAAC,IAAI,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,cAAc;CAC7C,GAAG;KACC,CAAC,IAAI,OAAO,OAAO,CAAC,MAAM,CAAC,IAAI,MAAM,UAAU,CAAC,CAAC,CAAC,EAAE,GAAG,cAAc;CACzE,GAAG;KACC,CAAC,IAAI,OAAO,QAAQ,CAAC,MAAM,CAAC,IAAI,OAAO,UAAU,CAAC,CAAC,CAAC,EAAE,GAAG,cAAc;CAC3E,GAAG;IACA,UAAU,EAAE,cAAc,CAAC;CAC9B,CAAC;AAEF,QAAA,M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